Result:
found 687 distributions and 1334 files matching your query ! ( run in 0.642 )


Qgoda

 view release on metacpan or  search on metacpan

lib/Qgoda/Command/Javascript.pm  view on Meta::CPAN

are accepted by Duktape!

Qgoda, however, implements a module resolver so that you can use constructs
like:

    const _ = require('lodash');

The module is resolved in the same way that NodeJS would resolve it.
See the option I<--global> below for more information.

=head1 OPTIONS

 view all matches for this distribution


Reflex

 view release on metacpan or  search on metacpan

bench.pl  view on Meta::CPAN

	foreach(@files) {
		my %test = ( file => $_ ); 	
	
		logger("loading $_... ");
	
		$test{cb} = require $_; 
		
		logger("done\n");
		
		push(@buf, \%test); 
	}

 view all matches for this distribution


Regexp-Grammars-Common-String

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

;version_rel_month = 12
;version_rel_day   = 25
;version_rel_hour  = 13
;version_rel_time_zone = Pacific/Auckland
-phase = develop
-relationship = requires
Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING = 0.001003
Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes = 0.004002
Dist::Zilla::Plugin::Author::KENTNL::TravisCI = 0.001002
Dist::Zilla::Plugin::Authority = 1.006
Dist::Zilla::Plugin::AutoPrereqs = 0

 view all matches for this distribution


Repo-RPM

 view release on metacpan or  search on metacpan

lib/Repo/html/requires_tree_html.template  view on Meta::CPAN

  var div = d3.select(document.getElementById( 'front_wrapper' )).append("div")
      .attr("class", "tree-tooltip")
      .style("opacity", 0);

  d3.json("@JSON_DATA_FILE@", function(error, requires) {
    root = requires;
    root.x0 = height / 2;
    root.y0 = 0;

    function collapse(d) {
      if (d.children) {

 view all matches for this distribution


Require-Util

 view release on metacpan or  search on metacpan

lib/Require/Util.pm  view on Meta::CPAN


 if (try_require "Foo::Bar") {
     # use Foo::Bar's function
 }

 my $modname = require_any "Foo::Bar", "Baz/Qux.pm", "Quux";

=head1 DESCRIPTION

B<EXPERIMENTAL.>

lib/Require/Util.pm  view on Meta::CPAN


=head2 require_any

Usage:

 my $res = require_any $modname1, $modname2, ...;

Example:

 my $res = require_any "Foo::Bar", "Baz/Qux.pm";

Require modules listed as arguments, stopping after the first success. If all
modules cannot be loaded, will die. Module name can be specified as C<Foo::Bar>
syntax or as C<Foo/Bar.pm> syntax. Unlike C<require()> which just returns true,
upon success the function will return the module name that gets loaded.

 view all matches for this distribution


ReturnValue

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN


But, it's more interesting than that. You can load it with C<require>
and call C<arguments> to get the data structure it passes to
C<WriteMakefile>:

	my $package = require '/path/to/Makefile.PL';
	my $arguments = $package->arguments;

Note that C<require>-ing a file makes an entry in C<%INC> for exactly
that name. If you try to C<require> another file with the same name,
even from a different path, C<require> thinks it has already loaded

 view all matches for this distribution


Rewire

 view release on metacpan or  search on metacpan

lib/Rewire/Engine.pm  view on Meta::CPAN

# FUNCTIONS

# returns the json-schema-based engine ruleset
fun ruleset() {

  state $ruleset = require Rewire::Ruleset;
}

# returns context closure
fun context() {
  my $cache = {};

 view all matches for this distribution


Robots-Validate

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

remove = strict
remove = warnings

[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends

[GitHub::Meta]
repo = git://github.com/robrwo/Robots-Validate.git

 view all matches for this distribution


RocksDB

 view release on metacpan or  search on metacpan

vendor/rocksdb/tools/rdb/rdb  view on Meta::CPAN

#!/usr/bin/env bash

node -e "RDB = require('./build/Release/rdb').DBWrapper; console.log('Loaded rocksdb in variable RDB'); repl = require('repl').start('> ');"

 view all matches for this distribution


Roman-Unicode

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN


But, it's more interesting than that. You can load it with C<require>
and call C<arguments> to get the data structure it passes to
C<WriteMakefile>:

	my $package = require '/path/to/Makefile.PL';
	my $arguments = $package->arguments;

Note that C<require>-ing a file makes an entry in C<%INC> for exactly
that name. If you try to C<require> another file with the same name,
even from a different path, C<require> thinks it has already loaded

 view all matches for this distribution


SPVM-Resource-Eigen

 view release on metacpan or  search on metacpan

lib/SPVM/Resource/Eigen.native/include/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h  view on Meta::CPAN

    typename pointerMap_t::iterator retVal;
    bool reuse = false;
    if (!m_freeList.empty()) {
      // try to re-use an existing block
      for (auto freeElem : m_freeList) {
        if (freeElem->second.m_size >= requiredSize) {
          retVal = freeElem;
          reuse = true;
          // Element is not going to be free anymore
          m_freeList.erase(freeElem);
          break;

 view all matches for this distribution


SPVM-Resource-Libpng

 view release on metacpan or  search on metacpan

.tmp/libpng/scripts/options.awk  view on Meta::CPAN

               }
            }
         } else if (val == "requires" || val == "if" || val == "enables" || val =="sets") {
            key = val
         } else if (key == "requires") {
            requires[opt] = requires[opt] " " val
         } else if (key == "if") {
            iffs[opt] = iffs[opt] " " val
         } else if (key == "enables") {
            enabledby[val] = enabledby[val] " " opt
         } else if (key == "sets") {

 view all matches for this distribution


SPVM-Resource-RE2

 view release on metacpan or  search on metacpan

lib/SPVM/Resource/RE2.native/src/.github/workflows/pr.yml  view on Meta::CPAN

    steps:
      - uses: actions/checkout@v3
      - uses: actions/github-script@v6
        with:
          script: |
            const fs = require('fs');
            console.log(await github.rest.issues.createComment({
              owner: context.repo.owner,
              repo: context.repo.repo,
              issue_number: context.issue.number,
              body: fs.readFileSync('CONTRIBUTING.md', { encoding: 'utf8', }),

 view all matches for this distribution


SPVM

 view release on metacpan or  search on metacpan

lib/SPVM/Builder/src/spvm_op.c  view on Meta::CPAN

        }
      }
      args_length++;
    }
    method->args_length = args_length;
    method->required_args_length = required_args_length;
  }
  
  // Variable declarations of arguments
  SPVM_OP* op_arg = op_args->first;
  while ((op_arg = SPVM_OP_sibling(compiler, op_arg))) {

 view all matches for this distribution


SQL-Admin

 view release on metacpan or  search on metacpan

lib/SQL/Admin/Driver/DB2/Parser.pm  view on Meta::CPAN


use SQL::Admin::Utils qw( refhash refarray );

######################################################################

my $grammar = require SQL::Admin::Driver::DB2::Grammar;
my $cached;

######################################################################
######################################################################
sub new {                                # ;

 view all matches for this distribution


SVGPDF

 view release on metacpan or  search on metacpan

t/900_regtest.t  view on Meta::CPAN

      if ( $@ ) {
	  diag "$api not installed";
	  skip "$api not installed, skipping tests", $tests = 1;
      }
      -d "t" && chdir "t";
      $tests = require "./900_regtest.pl";
}

done_testing($tests);

 view all matches for this distribution


Scope-Escape

 view release on metacpan or  search on metacpan

t/eval_barrier.t  view on Meta::CPAN

	push @events, ["b0"];
	@value = sub {
		push @events, ["c0"];
		$cont = current_escape_function;
		push @events, ["c1"];
		@value = require("t/eval_barrier_req.pl");
		push @events, ["c3", [@value]];
		("c4a", "c4b");
	}->();
	push @events, ["b1", [@value]];
	("b2a", "b2b");

 view all matches for this distribution


Search-GIN-Extract-ClassMap

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

;version_rel_month = 8
;version_rel_day = 26
;version_rel_hour = 00
;version_rel_time_zone = Pacific/Auckland
-phase = develop
-relationship = requires
Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING = 0.001003
Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes = 0.004002
Dist::Zilla::Plugin::Author::KENTNL::TravisCI = 0.001002
Dist::Zilla::Plugin::Authority = 1.006
Dist::Zilla::Plugin::AutoPrereqs = 0

 view all matches for this distribution


Selenium-Remote-Driver

 view release on metacpan or  search on metacpan

t/Firefox-Profile.t  view on Meta::CPAN


        # This extension rewrites any page url to a single <h1>. The
        # following javascript is in redisplay.xpi's
        # resources/gempesaw/lib/main.js:

        # var pageMod = require("sdk/page-mod");
        # pageMod.PageMod({
        #     include: "*",
        #     contentScript: 'document.body.innerHTML = ' +
        #         ' "<h1>Page matches ruleset</h1>";'
        # });

 view all matches for this distribution


SemanticWeb-Schema

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

remove = warnings
remove = utf8

[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends

[GitHub::Meta]
repo = git@github.com:robrwo/SemanticWeb-Schema.git

 view all matches for this distribution


Set-Associate

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

; version_rel_day   = 24
; version_rel_hour  = 16
; version_rel_time_zone = Pacific/Auckland
; auto_prereqs_skip = File::Find
-phase = develop
-relationship = requires
Dist::Zilla::Plugin::Author::KENTNL::CONTRIBUTING = 0.001003
Dist::Zilla::Plugin::Author::KENTNL::RecommendFixes = 0.004002
Dist::Zilla::Plugin::Author::KENTNL::TravisCI = 0.001002
Dist::Zilla::Plugin::Authority = 1.006
Dist::Zilla::Plugin::AutoPrereqs = 0

 view all matches for this distribution


Set-CrossProduct

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN


But, it's more interesting than that. You can load it with C<require>
and call C<arguments> to get the data structure it passes to
C<WriteMakefile>:

	my $package = require '/path/to/Makefile.PL';
	my $arguments = $package->arguments;

Note that C<require>-ing a file makes an entry in C<%INC> for exactly
that name. If you try to C<require> another file with the same name,
even from a different path, C<require> thinks it has already loaded

 view all matches for this distribution


Set-Light

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN

[Prereqs / TestRequires]
Test::More = 0.62

[EnsurePrereqsInstalled]
:version = 0.003
type = requires
type = recommends

[GitHub::Meta]
repo = git://github.com/robrwo/Set-Light.git

 view all matches for this distribution


Shell-Guess

 view release on metacpan or  search on metacpan

dist.ini  view on Meta::CPAN


[Meta::Dynamic::Config]

[DynamicPrereqs / DynamicPrereqsUnixWithoutProc]
-condition = ($^O ne 'dos' && $^O ne 'VMS' && $^O ne 'MSWin32' && eval { my $ppid = getppid; 1 }) && ! do { require File::Spec; -e File::Spec->catfile('', 'proc', getppid, 'cmdline') }
-body      = requires('Unix::Process');

[DynamicPrereqs / DynamicPrereqsWinblows]
-condition = $^O eq 'MSWin32'
-body      = requires('Win32::Getppid');
-body      = requires('Win32::Process::List');

 view all matches for this distribution


Sidef

 view release on metacpan or  search on metacpan

lib/Sidef.pm  view on Meta::CPAN

                $self->{$lang}{_time_hash}{$md5} = time;
            }

            my $compressed_code = $self->{$lang}{_code_hash}{$md5};

            state $_x = require IO::Uncompress::RawInflate;
            IO::Uncompress::RawInflate::rawinflate(\$compressed_code => \my $decompressed_code)
              or die "rawinflate failed: $IO::Uncompress::RawInflate::RawInflateError";

            return Encode::decode_utf8($decompressed_code);
        }

lib/Sidef.pm  view on Meta::CPAN

                delete @{$self->{$lang}{_time_hash}}{@delete_keys};
                delete @{$self->{$lang}{_code_hash}}{@delete_keys};
            }
        }

        state $_x = require IO::Compress::RawDeflate;
        IO::Compress::RawDeflate::rawdeflate(\$code => \my $compressed_code)
          or die "rawdeflate failed: $IO::Compress::RawDeflate::RawDeflateError";

        $self->{$lang}{_time_hash}{$md5} = time;
        $self->{$lang}{_code_hash}{$md5} = $compressed_code;

 view all matches for this distribution


Simd-Avx512

 view release on metacpan or  search on metacpan

lib/Simd/Avx512.pm  view on Meta::CPAN

  confess "128|256|512 required for operand" unless $n == 128 or $n == 256 or $n == 512;
 }

sub flipBitsUnderMask($$)                                                       # Flip the bits in a string where the corresponding  mask bit is 1 else leave the bit as is
 {my ($string, $mask) = @_;                                                     # Bit string, mask
  my $l = requireSameLength $string, $mask;
  my $f = '';
  for my $i(0..$l-1)                                                            # Each character in the string and mask
   {my $s = substr($string, $i, 1);
    $f .= substr($mask, $i, 1) eq '0' ? $s : $s eq '0' ? '1' : '0'
   }
  $f
 }

sub compareTwosComplement($$)                                                   # Compare two numbers in two's complement formats and return -1 if the first number is less than the second, 0 if they are equal, else +1
 {my ($a, $b) = @_;                                                             # First, second
  my $n = requireSameLength $a, $b;

  return -1 if substr($a, 0, 1) eq '1' and substr($b, 0, 1) eq '0';             # Leading sign bit
  return +1 if substr($a, 0, 1) eq '0' and substr($b, 0, 1) eq '1';

  for(1..$n)                                                                    # Non sign bits

lib/Simd/Avx512.pm  view on Meta::CPAN

#D1 VPTEST                                                                      # Packed TEST
#D2 VPTESTM                                                                     # Packed TEST MASK

sub andAndTest($$)                                                              #P And two bit strings of the same length and return 0 if the result is 0 else 1
 {my ($a, $b) = @_;                                                             # Element, element
  my $N = requireSameLength $a, $b;                                             # Check that the two elements have the same length
  for(0..$N-1)                                                                  # Look for match
   {return 1 if substr($a, $_, 1) eq '1' and substr($b, $_, 1) eq '1';
   }
  0
 }

lib/Simd/Avx512.pm  view on Meta::CPAN

#D2 VPCOMPRESS                                                                  # Packed COMPRESS

sub vpcompress($$$$$)                                                           #P Packed COMPRESS
 {my ($size, $xmm1, $k2, $z, $xmm2) = @_;                                       # Size of each element in bits, Compression target, compression mask, clear upper elements, source to compress
  require64 $k2;
  my $n = require128or256or512 $xmm1, $xmm2;
  my $N = $n / $size;                                                           # Number of elements
  $xmm1 = '0' x length $xmm1 if $z;                                             # Clear target if requested
  my $p = 0;                                                                    # Position in target
  for(1..$N)                                                                    # Compress selected elements
   {if (substr($k2, -$_, 1) eq '1')

lib/Simd/Avx512.pm  view on Meta::CPAN

#D2 VPEXPAND                                                                    # Packed EXPAND

sub vpexpand($$$$$)                                                             #P Packed EXPAND
 {my ($size, $xmm1, $k2, $z, $xmm2) = @_;                                       # Size of each element in bits, Compression target, expansion mask, clear upper elements, source to expand
  require64 $k2;
  my $n = require128or256or512 $xmm1, $xmm2;
  my $N = $n / $size;                                                           # Number of elements
  $xmm1 = '0' x length $xmm1 if $z;                                             # Clear target if requested
  my $p = 0;                                                                    # Position in target
  for(1..$N)                                                                    # Compress selected elements
   {if (substr($k2, -$_, 1) eq '1')

 view all matches for this distribution


Slovo

 view release on metacpan or  search on metacpan

lib/Slovo/resources/public/js/editormd/languages/en.js  view on Meta::CPAN

                factory(editormd);
            });

		} else { // for Sea.js
			define(function(require) {
                var editormd = require("../editormd");
                factory(editormd);
            });
		}
	} 
	else

 view all matches for this distribution


Socket-Class

 view release on metacpan or  search on metacpan

xs/sc_ssl/openssl/source/crypto/ec/ec2_smpl.c  view on Meta::CPAN

			}
		return 1;
		}


	/* ret := required output buffer length */
	field_len = (EC_GROUP_get_degree(group) + 7) / 8;
	ret = (form == POINT_CONVERSION_COMPRESSED) ? 1 + field_len : 1 + 2*field_len;

	/* if 'buf' is NULL, just return required length */
	if (buf != NULL)

 view all matches for this distribution


Sort-Fields

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN


But, it's more interesting than that. You can load it with C<require>
and call C<arguments> to get the data structure it passes to
C<WriteMakefile>:

	my $package = require '/path/to/Makefile.PL';
	my $arguments = $package->arguments;

Note that C<require>-ing a file makes an entry in C<%INC> for exactly
that name. If you try to C<require> another file with the same name,
even from a different path, C<require> thinks it has already loaded

 view all matches for this distribution


SourceCode-LineCounter-Perl

 view release on metacpan or  search on metacpan

Makefile.PL  view on Meta::CPAN


But, it's more interesting than that. You can load it with C<require>
and call C<arguments> to get the data structure it passes to
C<WriteMakefile>:

	my $package = require '/path/to/Makefile.PL';
	my $arguments = $package->arguments;

Note that C<require>-ing a file makes an entry in C<%INC> for exactly
that name. If you try to C<require> another file with the same name,
even from a different path, C<require> thinks it has already loaded

 view all matches for this distribution


( run in 0.642 second using v1.01-cache-2.11-cpan-0d8aa00de5b )