code
stringlengths
2
1.05M
repo_name
stringlengths
5
101
path
stringlengths
4
991
language
stringclasses
3 values
license
stringclasses
5 values
size
int64
2
1.05M
#!/usr/local/ActivePerl-5.8/bin/perl # Gather Host Info use CGI::Carp qw(carpout); use POSIX qw(uname); use Fcntl qw(:flock); # Slurp in path to Perfhome #my $perfhome=&PATH; #$perfhome =~ s/\/bin//; $perfhome="/perfstat/dev/1.52/server"; # Slurp in Configuration my %conf = (); &GetConfiguration(\%conf); # Se...
ktenzer/perfstat
scripts/experimental/info.pl
Perl
apache-2.0
4,402
=pod =head1 NAME errstr - lookup error codes =head1 SYNOPSIS B<openssl errstr error_code> =head1 DESCRIPTION Sometimes an application will not load error message and only numerical forms will be available. The B<errstr> utility can be used to display the meaning of the hex code. The hex code is the hex digits aft...
GaloisInc/hacrypto
src/C/libssl/HEAD/src/doc/apps/errstr.pod
Perl
bsd-3-clause
736
#!/usr/bin/env perl use strict; use warnings; use Carp; use Data::Dumper; my $usage = "\n\tusage: $0 chimJ_file star-fusion_outdir\n\n"; my $chimJ_file = $ARGV[0] or die $usage; my $star_fusion_outdir = $ARGV[1] or die $usage; my $count_sub = sub { my ($file) = @_; print STDERR "count_FFPM_filtered() ...
STAR-Fusion/STAR-Fusion
util/misc/audit_read_and_fusion_filtering.pl
Perl
bsd-3-clause
13,823
#!/usr/bin/perl #use warnings 'all'; #use strict; #use FindBin; #use Math::Round; use verilog::gen; my $scriptInfo = "/*------------------------------------------------------------------------------\n" . " * This code was generated by Spiral IIR Filter Generator, www.spiral.net\n" . " * Copyright (c) 20...
UGent-HES/ConnectionRouter
vtr_flow/benchmarks/arithmetic/multless_consts/verilog/firgen/iirGen.pl
Perl
mit
29,378
package Google::Ads::AdWords::v201406::Location; use strict; use warnings; __PACKAGE__->_set_element_form_qualified(1); sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201406' }; our $XML_ATTRIBUTE_CLASS; undef $XML_ATTRIBUTE_CLASS; sub __get_attr_class { return $XML_ATTRIBUTE_CLASS; } use base q...
gitpan/GOOGLE-ADWORDS-PERL-CLIENT
lib/Google/Ads/AdWords/v201406/Location.pm
Perl
apache-2.0
2,900
package Bio::Phylo::TreeBASE::Result::Taxonlink; # Created by DBIx::Class::Schema::Loader # DO NOT MODIFY THE FIRST PART OF THIS FILE use strict; use warnings; use base 'DBIx::Class::Core'; =head1 NAME Bio::Phylo::TreeBASE::Result::Taxonlink =cut __PACKAGE__->table("taxonlink"); =head1 ACCESSORS =head2 linkty...
TreeBASE/treebasetest
treebase-core/src/main/perl/lib/Bio/Phylo/TreeBASE/Result/Taxonlink.pm
Perl
bsd-3-clause
2,291
# Copyright (C) 2003, 2004, 2006 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is di...
racker/omnibus
source/automake-1.10.3/lib/Automake/VarDef.pm
Perl
apache-2.0
9,203
# # Copyright 2017 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
nichols-356/centreon-plugins
centreon/common/dell/powerconnect3000/mode/globalstatus.pm
Perl
apache-2.0
3,990
package DDG::Spice::Maps::Maps; # ABSTRACT: Map of current cocation use strict; use Text::Trim; use DDG::Spice; use Data::Dumper; spice to => 'http://api.mapbox.com/v4/geocode/mapbox.places/$1.json?access_token={{ENV{DDG_SPICE_MAPBOX_KEY}}}'; spice is_cached => 0; spice proxy_cache_valid => "418 1d"; spice wrap_jsonp...
imwally/zeroclickinfo-spice
lib/DDG/Spice/Maps/Maps.pm
Perl
apache-2.0
1,872
package Perun::AuthzResolverAgent; use strict; use warnings; use Perun::Common; my $manager = 'authzResolver'; use fields qw(_agent _manager); sub new { my $self = fields::new(shift); $self->{_agent} = shift; $self->{_manager} = $manager; return $self; } sub getPrincipalRoleNames { return Perun::Common::cal...
Holdo/perun
perun-rpc/src/main/perl/Perun/AuthzResolverAgent.pm
Perl
bsd-2-clause
888
package API::Job; # # Copyright 2015 Comcast Cable Communications Management, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
dneuman64/traffic_control
traffic_ops/app/lib/API/Job.pm
Perl
apache-2.0
7,129
# ----------------------------------------------------------------- # catcoregen.pl # Usage: # $ cat <header files> | catcoregen.pl > catcoretable.c # # This script parses the special CATALOG, DECLARE_INDEX etc. lines, # like genbki.sh does, and generates CatCore C definitions from them. # The structure looks like: #...
rubikloud/gpdb
src/backend/catalog/core/catcoregen.pl
Perl
apache-2.0
11,789
package API::Division; # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "...
alficles/incubator-trafficcontrol
traffic_ops/app/lib/API/Division.pm
Perl
apache-2.0
5,329
#!/usr/bin/perl # SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com> # SPDX-License-Identifier: MIT use warnings; use strict; package Languages::php; use parent 'Languages::_default'; sub initialize { my ($self, %conf) = @_; $self->{sourcefile} = 'prog.php'; $self->{execfile} = ...
pragma-/pbot
applets/pbot-vm/host/lib/Languages/php.pm
Perl
mit
428
=pod =head1 NAME EC_KEY_new, EC_KEY_get_flags, EC_KEY_set_flags, EC_KEY_clear_flags, EC_KEY_new_by_curve_name, EC_KEY_free, EC_KEY_copy, EC_KEY_dup, EC_KEY_up_ref, EC_KEY_get0_group, EC_KEY_set_group, EC_KEY_get0_private_key, EC_KEY_set_private_key, EC_KEY_get0_public_key, EC_KEY_set_public_key, EC_KEY_get_enc_flags,...
vbloodv/blood
extern/openssl.orig/doc/crypto/EC_KEY_new.pod
Perl
mit
6,829
# solve a sudoku using backtrack use strict; use warnings; use Scalar::Util qw( looks_like_number ); use Time::HiRes qw( time ); use constant ROW_SIZE => 9; sub solve { sub next_empty { my $sudoku = shift; for my $row (0 .. ROW_SIZE-1) { for my $col (0 .. ROW_SIZE-1) { ...
humbhenri/Sudoku_Poliglota
sudoku.pl
Perl
mit
2,941
package MIP::Recipes::Download::Get_reference; use 5.026; use Carp; use charnames qw{ :full :short }; use English qw{ -no_match_vars }; use File::Spec::Functions qw{ catfile }; use open qw{ :encoding(UTF-8) :std }; use Params::Check qw{ allow check last_error }; use utf8; use warnings; use warnings qw{ FATAL utf8 }; ...
henrikstranneheim/MIP
lib/MIP/Recipes/Download/Get_reference.pm
Perl
mit
4,881
# # $Header: svn://svn/SWM/trunk/web/RegoFormObj.pm 11494 2014-05-06 05:56:45Z sliu $ # package RegoFormObj; use lib '..'; use BaseObject2; our @ISA = qw(BaseObject2); use strict; use Defs; use Utils; use RegoFormSQL; sub _getTableName { return 'tblRegoForm'; } sub _getKeyName { return 'intRegoFormID'; }...
facascante/slimerp
fifs/web/RegoFormBuilder/RegoFormObj.pm
Perl
mit
3,593
#!/usr/bin/perl package SYNDICATION::SHOPPINGCOM; use strict; use lib "/backend/lib"; use DBINFO; use ZOOVY; use NAVCAT; use NAVCAT::FEED; use ZTOOLKIT; use SYNDICATION; sub new { my ($class, $so) = @_; my ($self) = {}; $self->{'_SO'} = $so; tie my %s, 'SYNDICATION', THIS=>$so; my $USERNAME = $so->username(...
CommerceRack/backend
lib/SYNDICATION/SHOPPINGCOM.pm
Perl
mit
5,324
package Perl6ish; use strict; use warnings; our $VERSION = '0.02'; sub import { my $caller = caller; eval <<CODI; package $caller; use Perl6::Perl 'perl'; use Perl6::Slurp; use Perl6::Caller; use Perl6::Take; use Perl6::Say; use Perl6::Contexts; use Perl6::Junction qw/all any one none/; use Perl6ish::Syntax:...
gitpan/Perl6ish
lib/Perl6ish.pm
Perl
mit
3,134
#!/usr/bin/env perl # -*- mode: perl -*- # Author: Creative Commons Corporation, 2016. # License: CC0. http://creativecommons.org/publicdomain/zero/1.0/ # To the extent possible under law, Creative Commons Corporation # has waived all copyright and related or neighboring rights to ccexif. # # ccexif i...
creativecommons/exif
ccexif.pl
Perl
cc0-1.0
8,519
use strict; use Bio::EnsEMBL::Registry; my $registry = 'Bio::EnsEMBL::Registry'; $registry->load_registry_from_db ( -host => 'ensembldb.ensembl.org', -user => 'anonymous', ); #Grab the adaptors my $efg_db = $registry->get_DBAdaptor('Human', 'funcgen'); my $probe_adaptor = $efg_db->get_ProbeAd...
adamsardar/perl-libs-custom
EnsemblAPI/ensembl-functgenomics/scripts/examples/probe_example.pl
Perl
apache-2.0
934
package Web::Summarizer::Graph2; use Moose; use Web::Summarizer::Graph2::Definitions; use Web::Summarizer::Graph2::GistGraph; use Digest::MD5 qw/md5_hex/; use Encode qw(encode_utf8); use JSON; use List::MoreUtils; my $DEBUG = 0; has 'graph' => (is => 'ro', isa => 'Graph', required => 1); has 'edge2edgeFeatures' =>...
ypetinot/web-summarization
summarizers/graph-summarizer-2/src/Web/Summarizer/Graph2.pm
Perl
apache-2.0
5,811
# Copyright 2020, Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
googleads/google-ads-perl
lib/Google/Ads/GoogleAds/V8/Enums/FeedItemTargetStatusEnum.pm
Perl
apache-2.0
826
# Copyright 2020, Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
googleads/google-ads-perl
lib/Google/Ads/GoogleAds/V10/Services/ReachPlanService.pm
Perl
apache-2.0
2,276
#!/usr/bin/perl # Copyright 2014 Lana Garmire, lgarmire@cc.hawaii.edu use strict; use warnings; my $resDir = shift(); opendir(DIR, $resDir) or die $!; print("NumFeatures,TPRate_P,FPRate_P,Prec_P,Rec_P,F_P,"); print("AUC_P,TPRate_N,FPRate_N,Prec_N,Rec_N,F_N,AUC_N,"); print("TP,FN,FP,TN\n"); while (my $file = readd...
lanagarmire/MirMark
Core/parseWekaResults.pl
Perl
apache-2.0
2,032
package Google::Ads::AdWords::v201402::AdGroupAdService::getResponse; use strict; use warnings; { # BLOCK to scope variables sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' } __PACKAGE__->__set_name('getResponse'); __PACKAGE__->__set_nillable(); __PACKAGE__->__set_minOccurs(); __PACKAGE__->__set...
gitpan/GOOGLE-ADWORDS-PERL-CLIENT
lib/Google/Ads/AdWords/v201402/AdGroupAdService/getResponse.pm
Perl
apache-2.0
1,763
#! /usr/bin/perl -w use strict; my %strokes; sub or_vectors { my ($vec1, @vecs) = @_; my @result = @$vec1; for my $vec2 (@vecs) { for my $i (0 ... $#$vec2) { $result[$i] = 0 unless defined $result[$i]; $result[$i] |= $vec2->[$i]; } } return wantarray ? @result : \@result; } sub handle ...
digwuren/pixitie
compose-glyphs.pl
Perl
apache-2.0
1,660
package Forge::Model::R::Oos::MarketPlaceState; use strict; use base qw(Forge::Model::R::Oos); __PACKAGE__->meta->setup( table => 'market_place_state', columns => [ id => { type => 'bigint', not_null => 1 }, version => { type => 'bigint', not_null => 1 }, code => { type => ...
ant-i/db-crud
lib/Forge/Model/R/Oos/MarketPlaceState.pm
Perl
apache-2.0
884
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2021] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obta...
Ensembl/ensembl
modules/Bio/EnsEMBL/IdMapping/StableIdGenerator/AedesAegypti.pm
Perl
apache-2.0
2,239
=head1 LICENSE See the NOTICE file distributed with this work for additional information regarding copyright ownership. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/l...
Ensembl/ensembl-compara
modules/Bio/EnsEMBL/Compara/RunnableDB/StableIdMapper.pm
Perl
apache-2.0
3,613
# # Copyright 2022 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
centreon/centreon-plugins
network/perle/ids/snmp/mode/systemusage.pm
Perl
apache-2.0
3,960
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2018] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obta...
kiwiroy/ensembl-analysis
modules/Bio/EnsEMBL/Analysis/Hive/Config/HiveRNASeq_conf.pm
Perl
apache-2.0
55,943
package App::Wubot::Reactor::HashLookup; use Moose; our $VERSION = '0.3.4'; # VERSION use App::Wubot::Logger; sub react { my ( $self, $message, $config ) = @_; my $key = $message->{ $config->{source_field} }; return $message unless $key; if ( exists $config->{lookup}->{ $key } ) { $message...
gitpan/wubot
lib/App/Wubot/Reactor/HashLookup.pm
Perl
bsd-3-clause
1,133
package DBIx::Class::ResultSet::BitField; our $VERSION = '0.13'; use strict; use warnings; use base 'DBIx::Class::ResultSet'; use Carp; sub search_bitfield { my ($self, $search) = @_; my $source = $self->result_source; my $row = $self->new_result({}); my %search = ref $search eq 'ARRAY' ? @{$search} ...
gitpan/DBIx-Class-BitField
lib/DBIx/Class/ResultSet/BitField.pm
Perl
bsd-3-clause
2,173
# # Copyright 2016 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
bcournaud/centreon-plugins
centreon/common/jvm/mode/memorydetailed.pm
Perl
apache-2.0
7,561
#!/usr/bin/perl # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. use strict; use CGI::Request; use CGI::Carp qw(fatalsToBrowser); use Time::HiRes qw(gettimeofday tv_in...
sergecodd/FireFox-OS
B2G/gecko/tools/page-loader/loader.pl
Perl
apache-2.0
19,294
#!/usr/bin/perl # This script generates the character table for 'special' lookups # use strict; use warnings; use Getopt::Long; ################################################################################ ################################################################################ ### Character Table Definitio...
snej/jsonsl
srcutil/genchartables.pl
Perl
mit
7,204
package DDG::Goodie::SHA3; # ABSTRACT: Computes the SHA-3 cryptographic hash function use strict; use DDG::Goodie; use Digest::SHA3; zci answer_type => "sha3"; zci is_cached => 1; my @triggers = qw(sha3 sha3sum sha3-224 sha3-256 sha3-384 sha3-512 shake128 shake-128 shake256 shake-256); triggers ...
Midhun-Jo-Antony/zeroclickinfo-goodies
lib/DDG/Goodie/SHA3.pm
Perl
apache-2.0
1,903
#!/usr/bin/perl =pod =head1 Tests for the globus gsi proxy_ssl code Tests that exercise the functionality of creating an ASN1 DER encoded PROXYCERTINFO extension to be placed in an X509 certificate. =cut use strict; use File::Basename; use File::Compare; use Test::More; $ENV{PATH} = dirname($0) . ":.:" . $ENV{PAT...
gridcf/gct
gsi/proxy/proxy_ssl/source/test/test_pci.pl
Perl
apache-2.0
2,125
#----------------------------------------------------------- # officedocs.pl # Plugin for Registry Ripper # # Change history # # # References # # # copyright 2008 H. Carvey #----------------------------------------------------------- package officedocs; use strict; my %config = (hive => "NTUSER\.DAT", ...
mhmdfy/autopsy
RecentActivity/release/rr-full/plugins/officedocs.pl
Perl
apache-2.0
4,291
#------------------------------------------------------------------------------ # File: DNG.pm # # Description: Read DNG-specific information # # Revisions: 01/09/2006 - P. Harvey Created # # References: 1) http://www.adobe.com/products/dng/ #-------------------------------------------------------...
opf-attic/ref
tools/fits/0.6.1/tools/exiftool/perl/lib/Image/ExifTool/DNG.pm
Perl
apache-2.0
32,990
package Mouse::Meta::Role; use Mouse::Util qw(:meta); # enables strict and warnings use Mouse::Meta::Module; our @ISA = qw(Mouse::Meta::Module); sub method_metaclass; sub _construct_meta { my $class = shift; my %args = @_; $args{methods} = {}; $args{attributes} = {}; $args{requi...
takashabe/isucon3-qual
perl/local/lib/perl5/x86_64-linux/Mouse/Meta/Role.pm
Perl
mit
3,429
package MooseX::Declare::Syntax::Keyword::Namespace; BEGIN { $MooseX::Declare::Syntax::Keyword::Namespace::AUTHORITY = 'cpan:FLORA'; } { $MooseX::Declare::Syntax::Keyword::Namespace::VERSION = '0.35'; } # ABSTRACT: Declare outer namespace use Moose; use Carp qw( confess ); use MooseX::Declare::Util qw( outer_stac...
Dokaponteam/ITF_Project
xampp/perl/vendor/lib/MooseX/Declare/Syntax/Keyword/Namespace.pm
Perl
mit
2,963
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! # This file is built by mktables from e.g. UnicodeData.txt. # Any changes made here will be lost! # # Linebreak category 'Close_Punctuation' # return <<'END'; 0029 005D 007D 0F3B 0F3D 169C 2046 207E 208E 232A 2769 276B 276D 276F 2771 2773 277...
leighpauls/k2cro4
third_party/cygwin/lib/perl5/5.10/unicore/lib/lb/CL.pl
Perl
bsd-3-clause
761
#============================================================= -*-perl-*- # # Template::Modules # # DESCRIPTION # # AUTHOR # Andy Wardley <abw@wardley.org> # # COPYRIGHT # Copyright (C) 1996-2007 Andy Wardley. All Rights Reserved. # # This module is free software; you can redistribute it and/or # modify it un...
Dokaponteam/ITF_Project
xampp/perl/vendor/lib/Template/Modules.pod
Perl
mit
5,503
#!/usr/bin/perl -w # # The MIT License (MIT) # # Copyright (c) 2015 Michael J. Wouters # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation th...
openttp/openttp
software/gpscv/common/bin/xrnxobs.pl
Perl
mit
4,036
#!/usr/bin/perl use ZOOM; use MARC::Record; #use MARC::File::XML; use MARC::File::XML ( BinaryEncoding => 'utf8', RecordFormat => 'UNIMARC' ); use MARC::File::USMARC; use YAML qw(LoadFile); use Data::Dumper; use Mojolicious::Lite; use Switch; # read config my $config = YAML::LoadFile('config.yaml'); #z3950 queries u...
digibib/api4marc
api4marc.pl
Perl
mit
3,282
package Devel::NYTProf::SubInfo; # sub_subinfo use strict; use warnings; use Carp; use List::Util qw(sum min max); use Data::Dumper; use Devel::NYTProf::Util qw( trace_level ); use Devel::NYTProf::Constants qw( NYTP_SIi_FID NYTP_SIi_FIRST_LINE NYTP_SIi_LAST_LINE NYTP_SIi_CALL_COUNT NYTP_SIi_INCL_RTIME...
amidoimidazol/bio_info
Beginning Perl for Bioinformatics/lib/Devel/NYTProf/SubInfo.pm
Perl
mit
13,101
package ExtUtils::MM_NW5; =head1 NAME ExtUtils::MM_NW5 - methods to override UN*X behaviour in ExtUtils::MakeMaker =head1 SYNOPSIS use ExtUtils::MM_NW5; # Done internally by ExtUtils::MakeMaker if needed =head1 DESCRIPTION See ExtUtils::MM_Unix for a documentation of the methods provided there. This package over...
amidoimidazol/bio_info
Beginning Perl for Bioinformatics/lib/ExtUtils/MM_NW5.pm
Perl
mit
6,571
# Copyright (c) 2008 ToI-Planning, All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify,...
usualoma/movable-type-plugin-preload-template
lib/PreloadTemplate.pm
Perl
mit
7,634
use bytes; #===================================================================================== # Lisp.pm # by Shinsuke MORI # Last change : 27 December 1996 #================================================================================...
tkd53/KKConv
lib/perl/Lisp.pm
Perl
mit
1,643
use utf8; package Chinook::Schema; # Created by DBIx::Class::Schema::Loader # DO NOT MODIFY THE FIRST PART OF THIS FILE use strict; use warnings; use base 'DBIx::Class::Schema'; __PACKAGE__->load_namespaces; # Created by DBIx::Class::Schema::Loader v0.07035 @ 2013-04-19 13:38:48 # DO NOT MODIFY THIS OR ANYTHING A...
rpillar/Chinook
lib/Chinook/Schema.pm
Perl
mit
460
%query: log2(i,o). /* author: Michael Codish date: March 2003 log2(X,Y) :- Y equals the integer log base 2 of X. Namely, the largest integer smaller or equal to the log base 2 of X */ log2(X,Y) :- log2(X,0,s(0),Y). % log2(X,H,A,Y) :- computes Y equals the integer log base 2 of X. % H accumulates "half" ...
ComputationWithBoundedResources/ara-inference
doc/tpdb_trs/Logic_Programming/lpexamples/log2b.pl
Perl
mit
705
# # Autogenerated by Thrift Compiler (0.9.1) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # require 5.6.0; use strict; use warnings; use Thrift; use Recomm::Types; use Facebook::FB303::FacebookService; # HELPER FUNCTIONS AND STRUCTURES package Recomm::RecommEngine_query_args; use base qw(Clas...
enyun/misc
idl/gen-perl/Recomm/RecommEngine.pm
Perl
mit
6,448
:-[readFile, parseProblem, parseDomain, common]. :-['wa-star', forward, h_add].
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_ec/test/pddl_tests/orig_pddl_parser/forward-wa-star-h_add.pl
Perl
mit
80
:-consult('../../Game'). addPlayers :- addPlayer(marco), addPlayer(anthony). addShips :- assertz(ships(marco, 1, 1, 0, battleship)), assertz(ships(marco, 1, 2, 0, battleship)), assertz(ships(marco, 1, 3, 0, battleship)), assertz(ships(marco, 1, 4, 0, battleship)), assertz(ships(anthony, 1, 1, 0, battleship)), assert...
H4305/battleship
Game/Tests/5. Victory/VictoryMessage.pl
Perl
mit
595
#!/usr/bin/env perl #=============================================================================== # # FILE: list-stack.pl # # DESCRIPTION: example matching stack braces # # AUTHOR: stelf # ORGANIZATION: Practical Perl Programing at FMI/Sofia University # VERSION: 1.0 # CREATED: 03/13/2015 10:2...
stelf/fmi-perl
examples/02-list/list-stack.pl
Perl
cc0-1.0
1,184
package Google::Ads::AdWords::v201809::FeedItemService::get; use strict; use warnings; { # BLOCK to scope variables sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' } __PACKAGE__->__set_name('get'); __PACKAGE__->__set_nillable(); __PACKAGE__->__set_minOccurs(); __PACKAGE__->__set_maxOccurs(); __P...
googleads/googleads-perl-lib
lib/Google/Ads/AdWords/v201809/FeedItemService/get.pm
Perl
apache-2.0
2,000
# # Copyright 2019 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
Sims24/centreon-plugins
apps/protocols/udp/mode/connection.pm
Perl
apache-2.0
4,025
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2021] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obta...
Ensembl/public-plugins
tools/modules/EnsEMBL/Web/Component/Tools/NewJobButton.pm
Perl
apache-2.0
1,207
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % This file is part of VivoMind Prolog Unicode Resources % SPDX-License-Identifier: CC0-1.0 % % VivoMind Prolog Unicode Resources is free software distributed using the % Creative Commons CC0 1.0 Universal (CC0 1.0) - Public Domain Ded...
LogtalkDotOrg/logtalk3
library/unicode_data/unicode_categories/unicode_category_cf_other_format.pl
Perl
apache-2.0
5,148
% (c) 1996-2016 Michael Leuschel % see https://github.com/leuschel/logen for more details :- module(tools, [string_concatenate/3, print_error/1, print_message/1, same_len/2, is_list_skel/1, convert_cli_into_atom/2, get_modulename_filename/2, get_tail_filename/2]). is_list_skel(X) :- nonvar(X), (X=[]...
leuschel/logen
tools/tools.pl
Perl
apache-2.0
1,844
package Dancer::Introduction # ABSTRACT: A gentle introduction to Dancer =head1 DESCRIPTION Dancer is a free and open source micro web application framework written in Perl. =head1 INSTALL Installation of Dancer is simple: perl -MCPAN -e 'install Dancer' Thanks to the magic of cpanminus, if you do not have CP...
sonar-perl/sonar-perl
perl/Dancer/lib/Dancer/Introduction.pod
Perl
apache-2.0
17,813
# # Copyright 2016 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
bcournaud/centreon-plugins
apps/lmsensors/mode/voltage.pm
Perl
apache-2.0
7,233
# Copyright [1999-2014] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/license...
dbolser-ebi/ensembl-compara
docs/workshop/API_workshop_exercises/MethodLinkSpeciesSet_2.pl
Perl
apache-2.0
1,407
#!/usr/bin/perl -w # # Copyright 2012, Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
gitpan/GOOGLE-ADWORDS-PERL-CLIENT
examples/v201402/campaign_management/validate_text_ad.pl
Perl
apache-2.0
2,932
package Paws::KMS::ListRetirableGrants; use Moose; has Limit => (is => 'ro', isa => 'Int'); has Marker => (is => 'ro', isa => 'Str'); has RetiringPrincipal => (is => 'ro', isa => 'Str', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListRetirable...
ioanrogers/aws-sdk-perl
auto-lib/Paws/KMS/ListRetirableGrants.pm
Perl
apache-2.0
2,674
package Mojolicious::Plugin::ID::OAuth::Mailru; use Mojo::Base 'Mojolicious::Plugin'; use Mojo::Parameters; use Mojo::ByteStream; use Mojo::UserAgent; use JSON::XS; use Data::Dumper; our $VERSION = '0.01'; # Documentaion # http://api.mail.ru/docs/guides/oauth/sites/ # http://api.mail.ru/docs/reference/rest/users-getin...
kostya-ten/Mojolicious-Plugin-ID
lib/Mojolicious/Plugin/ID/OAuth/Mailru.pm
Perl
apache-2.0
7,137
package OpenXPKI::Test::QA::Role::WorkflowCreateCert; use Moose::Role; =head1 NAME OpenXPKI::Test::QA::Role::WorkflowCreateCert - Moose role that extends L<OpenXPKI::Test> with a quick way to create certificates =head1 DESCRIPTION Please note that this role requires two other roles to be applied: L<OpenXPKI::Test::...
oliwel/openxpki
qatest/lib/OpenXPKI/Test/QA/Role/WorkflowCreateCert.pm
Perl
apache-2.0
7,067
#!/usr/bin/perl -w ########################################################################### ## ## ## Carnegie Mellon University ## ## Copyright (c) 2005 ...
saikrishnarallabandi/Festival-Speech-Synthesis-System
flite/tools/a2bin.pl
Perl
apache-2.0
2,911
sub Mojo::Webqq::_send_friend_message{ my($self,$msg) = @_; my $callback = sub{ my $json = shift; $msg->parse_send_status_msg( $json ); if(!$msg->is_success and $msg->ttl > 0){ $self->debug("消息[ " .$msg->id . " ]发送失败,尝试重新发送,当前TTL: " . $msg->ttl); $self->message_qu...
sjdy521/Mojo-Webqq
lib/Mojo/Webqq/Message/Remote/_send_friend_message.pm
Perl
bsd-2-clause
1,830
#!/usr/bin/perl # sortfrags2.pl fragments.fa stem -- splits reading frame labeled data into # files each with known reading frames die "Usage: sortfrags2.pl <labeled fragments> \n" unless $#ARGV +1 == 1; $filename = $ARGV[0] ; $stem = $filename; $stem =~ s/.fasta$//; $stem =~ s/.fna$//; $stem =~ s/.fa$//; open ...
wltrimbl/genecall_test
src/sortfrags2.pl
Perl
bsd-2-clause
1,510
########################################################################### # # This file is partially auto-generated by the DateTime::Locale generator # tools (v0.10). This code generator comes with the DateTime::Locale # distribution in the tools/ directory, and is called generate-modules. # # This file was generated...
jkb78/extrajnm
local/lib/perl5/DateTime/Locale/rm.pod
Perl
mit
10,595
:- use_module(library(jpl)). jpl_versions_demo :- jpl_call('org.jpl7.JPL', version_string, [], Vj), jpl_c_lib_version(Vc), jpl_pl_lib_version(Vp), nl, write('prolog library version: '), write( Vp), nl, write(' java library version: '), write( Vj), nl, write(' c library version: '), wri...
TeamSPoon/logicmoo_workspace
docker/rootfs/usr/local/share/swipl/doc/packages/examples/jpl/prolog/jpl_versions_demo.pl
Perl
mit
647
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use ...
rbevers/lucy
perl/lib/LucyX/Search/MockMatcher.pm
Perl
apache-2.0
2,119
package Google::Ads::AdWords::v201409::AppConversion::AppConversionType; use strict; use warnings; sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409'}; # derivation by restriction use base qw( SOAP::WSDL::XSD::Typelib::Builtin::string); 1; __END__ =pod =head1 NAME =head1 DESCRIPTION Per...
gitpan/GOOGLE-ADWORDS-PERL-CLIENT
lib/Google/Ads/AdWords/v201409/AppConversion/AppConversionType.pm
Perl
apache-2.0
1,101
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use ...
rectang/lucy
perl/lib/Lucy/Search/RangeQuery.pm
Perl
apache-2.0
894
package AsposeSlidesCloud::Object::SlideComments; require 5.6.0; use strict; use warnings; use utf8; use JSON qw(decode_json); use Data::Dumper; use Module::Runtime qw(use_module); use Log::Any qw($log); use Date::Parse; use DateTime; use base "AsposeSlidesCloud::Object::BaseObject"; # # # #NOTE: This class is auto ...
aspose-slides/Aspose.Slides-for-Cloud
SDKs/Aspose.Slides-Cloud-SDK-for-Perl/lib/AsposeSlidesCloud/Object/SlideComments.pm
Perl
mit
1,215
# Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. # # Licensed under the OpenSSL license (the "License"). You may not use # this file except in compliance with the License. You can obtain a copy # in the file LICENSE in the source distribution or at # https://www.openssl.org/source/license.html use ...
openweave/openweave-core
third_party/openssl/openssl/util/TLSProxy/ServerKeyExchange.pm
Perl
apache-2.0
2,739
#line 1 package Module::Install::Makefile; use strict 'vars'; use ExtUtils::MakeMaker (); use Module::Install::Base (); use Fcntl qw/:flock :seek/; use vars qw{$VERSION @ISA $ISCORE}; BEGIN { $VERSION = '1.00'; @ISA = 'Module::Install::Base'; $ISCORE = 1; } sub Makefile { $_[0] } my %seen = (); sub promp...
dpaneda/nginx
syslog_patch/test/inc/Module/Install/Makefile.pm
Perl
bsd-2-clause
11,802
package DDG::Goodie::TwelveOclock; # ABSTRACT: Determine whether 12:00 is midnight or noon. use strict; use DDG::Goodie; zci answer_type => "twelve_oclock"; zci is_cached => 1; primary_example_queries "is 12:00am noon?", "is 1200pm midnight?"; secondary_example_queries "when is noon?", "when is midnight?"; descrip...
digit4lfa1l/zeroclickinfo-goodies
lib/DDG/Goodie/TwelveOclock.pm
Perl
apache-2.0
2,151
use Win32::OLE 'in'; use Win32::OLE::Const 'Microsoft WMI Scripting'; my $ComputerName = "."; my $NameSpace = "root/cimv2"; my $Locator=Win32::OLE->new("WbemScripting.SWbemLocator"); my $WbemServices = $Locator->ConnectServer($ComputerName, $NameSpace); #maakt een hashmap met de value - waarde koppels van het attribu...
VDBBjorn/Besturingssystemen-III
Labo/reeks4/Reeks4_34.pl
Perl
mit
4,414
package Bio::KBase::NexusEmulation::TokenManager; use strict; use Errno; use Data::UUID; use File::Slurp; use Crypt::OpenSSL::RSA; use DB_File; use URI; use Data::Dumper; use LWP::UserAgent; use JSON::XS; use base 'Class::Accessor'; __PACKAGE__->mk_accessors(qw(token_lifetime dir db tied db_hash key_length url_base)...
kbase/nexus_emulation
lib/Bio/KBase/NexusEmulation/TokenManager.pm
Perl
mit
8,758
=begin comment OEML - REST API This section will provide necessary information about the `CoinAPI OEML REST API` protocol. <br/> This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> <br/><br/> Implemented Standards: * ...
coinapi/coinapi-sdk
oeml-sdk/perl/lib/WWW/OpenAPIClient/Role.pm
Perl
mit
11,320
#!/usr/bin/perl # ******************************************************************** # * Copyright (C) 2016 and later: Unicode, Inc. and others. # * License & terms of use: http://www.unicode.org/copyright.html#License # ******************************************************************** # *********************...
quyse/flaw
flaw-font-icu/src/icu/source/test/perf/convperf/convperf_ansi.pl
Perl
mit
2,529
Puszka szparagów, 73 gołębi, Niektórzy żyją amunicji i zamarzniętym daquiri !! -- Bob Violence % Krasnolud przechodzi gdzieś w Detroit! -- Bob Violence % A zgrabna KATOLICKI uczennica wiercić w moim stroju .. -- Bob Violence % Szeroki oczach, niewinny UNICORN, delikatnie gotowy na łące wypełnionyz bzu...
kevingnet/fortunes_translated
fortunes/pl/zippy.pl
Perl
mit
53,737
:- consult('configuration'). :- consult('iem_parser'). :- consult('normal_form'). :- consult('export_domain'). :- consult('export_problem'). :- consult('dates'). :- consult('profile'). :- consult('world_knowledge'). :- consult('atTime'). :- consult('baseKB'). :- consult('flp_convert_pl_to_verb'). :- consult('generate_g...
TeamSPoon/logicmoo_workspace
packs_sys/logicmoo_ec/ext/flp/loader.pl
Perl
mit
362
# This file is auto-generated by the Perl DateTime Suite time zone # code generator (0.07) This code generator comes with the # DateTime::TimeZone module distribution in the tools/ directory # # Generated from /tmp/BU3Xn7v6Kb/africa. Olson data version 2015g # # Do not edit this file directly. # package DateTime::Tim...
rosiro/wasarabi
local/lib/perl5/DateTime/TimeZone/Indian/Reunion.pm
Perl
mit
1,224
#!/bin/sh . $(perl -e'print((getpwnam"interiot")[7])')/oraenv # source ~interiot/oraenv exec ${ORAPERL:-$ORACLE_HOME/perl/bin/perl} -x "$0" "$@"; exit #!/usr/bin/perl #line 6 ## This is a "Hello World"-level example of running a query via Oracle, within Perl. ## The first three lines ensure that it works...
DeeNewcum/individual_scripts
oracle/basic_oracle_example.pl
Perl
mit
1,156
package Google::Ads::AdWords::v201809::ProductCanonicalCondition; use strict; use warnings; __PACKAGE__->_set_element_form_qualified(1); sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201809' }; our $XML_ATTRIBUTE_CLASS; undef $XML_ATTRIBUTE_CLASS; sub __get_attr_class { return $XML_ATTRIBUTE_CLAS...
googleads/googleads-perl-lib
lib/Google/Ads/AdWords/v201809/ProductCanonicalCondition.pm
Perl
apache-2.0
1,834
:- module('prolog_to_xml_swi', [sort_highlights/2, output_file_as_xml_element/3, output_string_as_xml_element/3, output_xml_decl/1, my_html_quoted_chars/3, output_file_as_html_no_ann/1, output_file_as_html/3]). :- use_module('matcher_swi.pl'). :- use_module('pillow/pillo...
leuschel/logen
weblogen/backend/prolog_to_xml_swi.pl
Perl
apache-2.0
6,252
package OpenXPKI::Server::Workflow::Activity::Tools::Datapool::SetEntry; use strict; use English; use base qw( OpenXPKI::Server::Workflow::Activity ); use OpenXPKI::Server::Context qw( CTX ); use OpenXPKI::Exception; use OpenXPKI::Debug; use OpenXPKI::Serialization::Simple; use OpenXPKI::DateTime; use DateTime; use T...
stefanomarty/openxpki
core/server/OpenXPKI/Server/Workflow/Activity/Tools/Datapool/SetEntry.pm
Perl
apache-2.0
6,045
# # Copyright 2019 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
Sims24/centreon-plugins
hardware/ups/mge/snmp/mode/outputlines.pm
Perl
apache-2.0
6,224
# Copyright 2020, Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
googleads/google-ads-perl
lib/Google/Ads/GoogleAds/V9/Common/VideoResponsiveAdInfo.pm
Perl
apache-2.0
1,274
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2021] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obta...
Ensembl/ensembl-webcode
modules/EnsEMBL/Web/ZMenu/Idhistory/Node.pm
Perl
apache-2.0
1,580
%% --------------------------------------------- %% db.pl - database module - conditional assert %% --------------------------------------------- :- module(db, [cond_assert_size/1, fact/1, get_prev_fact/2]). :- use_module(constraints, [more_general_constraints/2, equ...
leuschel/logen
old_logen/convex/db.pl
Perl
apache-2.0
2,121
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2021] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obta...
Ensembl/ensembl-webcode
modules/EnsEMBL/Web/QueryStore/Cache/PrecacheFile.pm
Perl
apache-2.0
7,867
# # Copyright 2018 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
wilfriedcomte/centreon-plugins
network/h3c/snmp/mode/components/default.pm
Perl
apache-2.0
3,363
package DocSet::Source::POD; use strict; use warnings; use DocSet::Util; use DocSet::RunTime; use vars qw(@ISA); require DocSet::Doc; @ISA = qw(DocSet::Doc); use constant HEAD_MAX_LEVEL => 4; use constant MAX_DESC_LENGTH => 500; # META: we are presenting too early, or this code should be moved to # POD2HTML specif...
Distrotech/mod_perl
docs/lib/DocSet/Source/POD.pm
Perl
apache-2.0
9,508