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
; Identical to lesson 13's boot sector, but the %included files have new paths [org 0x7c00] KERNEL_OFFSET equ 0x1000 ; The same one we used when linking the kernel mov [BOOT_DRIVE], dl ; Remember that the BIOS sets us the boot drive in 'dl' on boot mov bp, 0x9000 mov sp, bp mov bx, MSG_REAL_MODE ...
geekskool/WriteYourOwnOS
src/kernelVideoPorts/boot/bootsect.asm
Assembly
mit
1,436
; Copyright (c) 2004, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. The full text of the license may be found at ...
google/google-ctf
third_party/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/X64/CpuBreakpoint.asm
Assembly
apache-2.0
1,192
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Copyright (c) 2013 Manolis Agkopian ; ;See the file LICENCE for copying permission. ; ; ; ;THIS IS JUST SOME TEST CODE THA USES THE LCD DRIVER TO PRINT ; ;THE NUMBERS FROM 0 TO 9 TO THE LCD WITH A DELAY ; ;;;;;;;;;;...
magkopian/pic-asm-lcd-driver
LCD_DRIVER_TEST.asm
Assembly
mit
1,278
segment .text [global OpHLT] [global OpCLI] [global OpSTI] [global OpSTIHLT] [global OpIn8] [global OpIn16] [global OpIn32] [global OpOut8] [global OpOut16] [global OpOut32] [global LoadEFlags] [global StoreEFlags] [global LoadGDTR] [global LoadIDTR] ; void OpHlt(void); OpHLT: hlt ret ; void OpCLI(void) OpCLI: ...
hashiohiro/Hex
arch/x86/lib/hex32corelib.asm
Assembly
mit
1,230
;----------------------------------------------------- ; x tells if it should be activated or deactivated ;----------------------------------------------------- LAYER0FUNC SUBROUTINE rts LAYER1FUNC SUBROUTINE rts LAYER2FUNC SUBROUTINE rts LAYER3FUNC SUBROUTINE rts LAYER4FUNC SUBROUTINE rts LAYER5FUNC SUBROUTI...
kosmonautdnb/TheLandsOfZador
ScrollModus/_code/World0Code/layerCodeLevel.asm
Assembly
mit
871
//====================================================================== // // bwt_decode_6502.asm // -------------------- // Space efficient implementation of Burrows-Wheeler Transform // decoder. The decoder uses REU for temporary storage. // The decoder will destroy any contents in two banks (BANK and // BANK...
secworks/fltbwt
asm/bwt_decode_6502.asm
Assembly
bsd-2-clause
8,800
; a PE with a resource in the header, and shuffled resource structure ; Ange Albertini, BSD LICENCE 2009-2013 %include 'consts.inc' IMAGEBASE equ 400000h SOME_TYPE equ 315h org IMAGEBASE bits 32 SECTIONALIGN equ 1000h FILEALIGN equ 200h istruc IMAGE_DOS_HEADER at IMAGE_DOS_HEADER.e_magic, db ...
angea/corkami
src/PE/reshdr.asm
Assembly
bsd-2-clause
3,299
.code safe_address proc ; rcx = size_t nmemb ; rdx = size_t size ; r8 = offset ; r9 = int *overflow mov rax,rdx mul rcx jo ofl add rax,r8 jo ofl nofl: mov r10,0 mov [r9],r10 jmp done ofl: xor rax,rax mov r10,1 mov [r9],r10 done: ret safe_address endp end
weltling/ml64_exercise
poly_simple/poly.asm
Assembly
bsd-2-clause
300
LDI R20, 140 LDI R21, 110 ADD R20, R21 INC R20
andresarmento/avrsim
avrsh/bin/Release/test3.asm
Assembly
bsd-3-clause
46
; Copyright (c) 2004, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. The full text of the license may be found at ...
google/google-ctf
third_party/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/X64/ReadEflags.asm
Assembly
apache-2.0
1,207
; ===================================================== ; VSTUP: ; cte porty pro KEMPSTON joystick ; VYSTUP: ; A = podvrzeny ascii kod stisknute klavesy ; zero flag kdyz nic nenacetl TEST_KEMPSTON: xor A ; A = novy stav joysticku ld H, A ; H = pu...
DW0RKiN/3D-Dungeon
Source/input.asm
Assembly
mit
6,055
DELAY: // Label for delay function .equ COUNT = 9999 // Each unit represents 0.5us for 8MHz clock .equ PRESCALER = 200 // Multiplies the counter ldi r23, PRESCALER // r23 off time count L1: ldi r24, COUNT%256 // r24 off time count ldi r25, COUNT/256 // r25 off time count L2: subi r24, 1 // Decremen...
audihurrr/micro
delay_1s.asm
Assembly
mit
514
ORG 200 / Converte il numero intero A nella sua rappresentazione modulo e segno LDA A SNA HLT CIL CMA CIR INC STA A HLT A, DEC 5 END
MircoT/py-pdp8-tk
ESEMPI/04 PROGRAMMA INTERO TO MS.asm
Assembly
mit
133
; Using exceptions to control the execution flow ; this is a simple fibonacci number calculator, in which ; the flow instructions have been overwritten to trigger exceptions, ; and an exception handler has been added to manually handle the flow and/or restore the jumps ; consequently, correct execution can't ha...
angea/corkami
wip/Exceptions/flow.asm
Assembly
bsd-2-clause
3,063
;; /sbin/init SYS_WRITE = 1 stdout = 1 use64 org 2000000h start: xchg bx, bx mov rdi, stdout mov rsi, txt mov rdx, txt.length mov rax, SYS_WRITE syscall .loop: rep nop jmp .loop txt: db '"Hello, world!" from luserspace!', 10 txt.length = $ - txt ; vim: ts=8 sw=8 syn=fasm
lodvaer/YHBT
initramfs/src/init/main.asm
Assembly
bsd-3-clause
283
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright (c) 2015, Intel Corporation ; ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are ; met: ; ; * Redistribu...
lukego/intel-ipsec
code/avx2/mb_mgr_hmac_sha_512_flush_avx2.asm
Assembly
bsd-3-clause
7,734
processor 6502 include ../vcs.h SwitchPeriod = 121 SEG.U VARS ORG $80 CtrlpfContents ds 1 FrameCounter ds 1 SEG CODE org $F000 Start SEI CLD LDX #$FF TXS LDA #0 ClearMem STA 0,X DEX BNE ClearMem MainLoop ; line 1 LDA #2 STA VBLANK STA VSYNC STA WSYNC ; line 2 STA WSYNC ; line 3 STA W...
6502ts/6502.ts
aux/2600/blnktest_ext/blnktest_ext.asm
Assembly
mit
1,368
0: kd> uf CmpInitCallbacks nt!InitializeSListHead: fffff800`11cb4760 4883ec28 sub rsp,28h fffff800`11cb4764 f6c10f test cl,0Fh fffff800`11cb4767 750e jne nt!InitializeSListHead+0x17 (fffff800`11cb4777) nt!InitializeSListHead+0x9: fffff800`11cb4769 33c0 xor eax,eax ...
shxdow/practical-reverse-engineering
practical-reverse-engineering/chapter_03/page123/exercise01/CmpInitCallbacks.asm
Assembly
mit
18,402
; ; jccolext.asm - colorspace conversion (SSE2) ; ; Copyright (C) 2016, D. R. Commander. ; ; Based on the x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimdext.inc ; ; This file should be assembled with NASM (Netwid...
endlessm/chromium-browser
third_party/libjpeg_turbo/simd/i386/jccolext-sse2.asm
Assembly
bsd-3-clause
19,300
; ; jfdctint.asm - accurate integer FDCT (MMX) ; ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB ; Copyright (C) 2016, 2020, D. R. Commander. ; ; Based on the x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notic...
youtube/cobalt
third_party/libjpeg-turbo/simd/i386/jfdctint-mmx.asm
Assembly
bsd-3-clause
24,569
# Università di Pavia, Facoltà di Ingegneria, 2014 # MIPS I '85 32-bit R3000A compatible SPIM/MARS IO SYSCALL (AT&T SYNTAX) # # Luca Zanussi [410841] <luca.z@outlook.com> # # FIPS-197 / NIST Advanced Encryption Standard (Rijndael) # http://csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf # http://csrc.nist.go...
lczx/rijndael-mips
asm/aes-tables.asm
Assembly
mit
14,638
EXTERN HookEnabled:DB EXTERN ArgTble:DB EXTERN HookTable:DQ EXTERN KiSystemCall64Ptr:DQ EXTERN KiServiceCopyEndPtr:DQ USERMD_STACK_GS = 10h KERNEL_STACK_GS = 1A8h MAX_SYSCALL_INDEX = 1000h .CODE ; ********************************************************* ; ; Determine if the specific syscall should be hooked ; ; i...
DarthTon/HyperBone
src/Hooks/Syscall.asm
Assembly
mit
4,514
#MFHI MTHI INSTRUCTIONS #EACH BIT OF INPUT/OUTPUT GO THROUGH 0 AND 1 lui $2 0x0000 ori $2 0x0000 lui $1 0xAAAA ori $1 0x5555 mthi $1 mfhi $2 bne $1 $2 fail lui $1 0x5555 ori $1 0xAAAA mthi $1 mfhi $2 bne $1 $2 fail sll $0 $0 0
mshaklunov/mips_onemore
tb/tprog/asm/test.mfhi.mthi.asm
Assembly
mit
258
;--------------------------------------- ; CLi² (Command Line Interface) API ; 2013,2016 © breeze/fishbone crew ;--------------------------------------- ; MODULE: #62 long2str ;--------------------------------------- ; long2str перевод long (4 байта) в текст (десятичное число) ; (C) BUDDER/MGN ;----------------...
LessNick/cli2
src/system/api/long2str.asm
Assembly
bsd-3-clause
2,196
.nds .relativeinclude on .erroronwarning on ; Makes the entire map visible but greyed out from the start. .open "ftc/arm9.bin", 02000000h .org 0x020220C4 ; Make the game not care if you have the map items and just always draw unvisited tiles. mov r1, r8 nop .org 0x02024BE8 ; Makes rooms never be counted as ...
LagoLunatic/DSVEdit
asm/dos_reveal_map.asm
Assembly
mit
453
#!/usr/bin/perl -w use strict; use Getopt::Long; use FindBin qw($Bin $Script); use File::Basename qw(basename dirname); use Data::Dumper; use lib "/home/zhoujj/my_lib/pm"; use bioinfo; &usage if @ARGV<1; #open IN,"" ||die "Can't open the file:$\n"; #open OUT,"" ||die "Can't open the file:$\n"; sub usage { m...
zhoujj2013/lncfuntk
bin/NetworkConstruction/bk/CalcConfidentScore.pl
Perl
mit
2,170
# # $Header: svn://svn/SWM/trunk/web/Reports/ReportAdvanced_TXSold.pm 8251 2013-04-08 09:00:53Z rlee $ # package Reports::ReportAdvanced_TXSold; use strict; use lib "."; use ReportAdvanced_Common; use Reports::ReportAdvanced; our @ISA =qw(Reports::ReportAdvanced); use strict; sub _getConfiguration { my $self = sh...
facascante/slimerp
fifs/web/Reports/ReportAdvanced_TXSold.pm
Perl
mit
5,822
#BEGIN_HEADER # # Copyright (C) 2020 Mahdi Safsafi. # # https://github.com/MahdiSafsafi/opcodesDB # # See licence file 'LICENCE' for use and distribution rights. # #END_HEADER use strict; use warnings; # BNDCL-Check Lower Bound. T['BNDCL REG:r=$BNDr AGEN:r=$agen ', 'MODE=64 ', 'BNDCL_ro ', '']; T['BNDCL REG...
MahdiSafsafi/opcodesDB
db/x86/system/templates.pl
Perl
mit
11,362
#!usr/bin/perl; use strict; my $blastFile = $ARGV[0]; open (BFILE,$blastFile); open (ANIT,">blastANIT"); open (ANIS,">blastANIS"); open (ANIU,">blastANIU"); my $counter=0; while (my $line=<BFILE>){ #print $line; if ($line =~ m/(ANIS)/){ print ANIS $line; } elsif ($line =~ m/(ANIT)/){ print ANIT $line; } e...
sanjuroj/bioscripts
probation/splitBlast.pl
Perl
mit
426
/** specified=*(N): you have had a specifier added to you (internal). 0 = no, new ones have to score higher than old specifier=[_]: you are capable of being used in situation where we need to know what to do with you (external). bare noun: has no specifier added, but if it *were* to be used as an NP then the va...
AllanRamsay/dgParser
agree.pl
Perl
mit
1,345
package Rakudobrew::ShellHook::Sh; use strict; use warnings; use 5.010; use File::Spec::Functions qw(catdir splitpath); use FindBin qw($RealBin $RealScript); use Rakudobrew::Variables; use Rakudobrew::Tools; use Rakudobrew::VersionHandling; use Rakudobrew::ShellHook; use Rakudobrew::Build; sub get_init_code { my ...
tadzik/rakudobrew
lib/Rakudobrew/ShellHook/Sh.pm
Perl
mit
1,246
%"Èíòåëëåêòóàëüíûå" êðåñòèêè-íîëèêè íà Java Internet Prolog %êîìïüþòåð óìååò èãðàòü è çà êðåñòèêè, è çà 0 % (Ñ) À.À. Òþãàøåâ 2014 %Êëåòêè ïîëÿ çàäàþòñÿ êîîðäèíàòàìè, íàïèìåð, [3,1] - ïðàâûé âåðõíèé óãîë %ñíà÷àëà íîìåð âåðòèêàëè! % 1 2 3 %1 | | %--------------------- %2 | | %----...
petruchcho/Android-JIProlog-XO
Java+Prolog/assets/tyugashov.pl
Perl
mit
3,018
:- module( jwt_enc, [ jwt_enc/4 % +Header, +Payload, ?Key, -Token ] ). /** <module> JSON Web Tokens (JWT): Encoding @author Wouter Beek @version 2015/06 */ :- use_module(library(apply)). :- use_module(library(base64)). :- use_module(library(sha)). :- use_module(library(jwt/jwt_util)). %! jwt_enc(+Hea...
wouterbeek/plJwt
prolog/jwt/jwt_enc.pl
Perl
mit
1,547
#!/usr/bin/perl package GrabzItPDFOptions; use GrabzIt::GrabzItBaseOptions; @ISA = qw(GrabzItBaseOptions); sub new { my $class = shift; my $self = GrabzItBaseOptions->new(@_); $self->{"browserWidth"} = 0; $self->{"includeBackground"} = 1; $self->{"pagesize"} = "A4"; $self->{...
GrabzIt/grabzit
perl/GrabzIt/GrabzItPDFOptions.pm
Perl
mit
11,627
#!/usr/bin/env perl # 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...
Ensembl/ensembl
misc-scripts/xref_mapping/xref_data_analysis.pl
Perl
apache-2.0
7,089
package Paws::CloudWatchEvents::RemoveTargets; use Moose; has Ids => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); has Rule => (is => 'ro', isa => 'Str', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'RemoveTargets'); class_has _retu...
ioanrogers/aws-sdk-perl
auto-lib/Paws/CloudWatchEvents/RemoveTargets.pm
Perl
apache-2.0
1,783
package OpenXPKI::Server::Workflow::Activity::Tools::SetAttribute; use strict; use base qw( OpenXPKI::Server::Workflow::Activity ); use OpenXPKI::Server::Context qw( CTX ); use OpenXPKI::Exception; use OpenXPKI::Debug; use OpenXPKI::Serialization::Simple; use Data::Dumper; sub execute { my $self = shift; ...
openxpki/openxpki
core/server/OpenXPKI/Server/Workflow/Activity/Tools/SetAttribute.pm
Perl
apache-2.0
1,490
=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/PipeConfig/EPO_conf.pm
Perl
apache-2.0
7,494
# # Copyright 2021 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...
Tpo76/centreon-plugins
database/oracle/mode/dictionarycacheusage.pm
Perl
apache-2.0
3,358
# # Copyright 2021 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...
Tpo76/centreon-plugins
network/cisco/wlc/snmp/plugin.pm
Perl
apache-2.0
2,575
package Paws::EC2::DhcpConfiguration; use Moose; has Key => (is => 'ro', isa => 'Str', request_name => 'key', traits => ['NameInRequest']); has Values => (is => 'ro', isa => 'ArrayRef[Paws::EC2::AttributeValue]', request_name => 'valueSet', traits => ['NameInRequest']); 1; ### main pod documentation begin ### =...
ioanrogers/aws-sdk-perl
auto-lib/Paws/EC2/DhcpConfiguration.pm
Perl
apache-2.0
1,512
package Paws::CloudDirectory::BatchDetachFromIndex; use Moose; has IndexReference => (is => 'ro', isa => 'Paws::CloudDirectory::ObjectReference', required => 1); has TargetReference => (is => 'ro', isa => 'Paws::CloudDirectory::ObjectReference', required => 1); 1; ### main pod documentation begin ### =head1 NAM...
ioanrogers/aws-sdk-perl
auto-lib/Paws/CloudDirectory/BatchDetachFromIndex.pm
Perl
apache-2.0
1,824
#!/usr/bin/env perl # Copyright [1999-2015] 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://ww...
dbolser/ensembl-variation
scripts/import/quality_check.pl
Perl
apache-2.0
40,355
# 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/Enums/BudgetDeliveryMethodEnum.pm
Perl
apache-2.0
831
# # 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/server/hp/proliant/snmp/mode/components/daldrive.pm
Perl
apache-2.0
4,072
#!/usr/bin/env perl use warnings; use strict; use POSIX; # convert a set of numbers to a distribution my $bin = shift @ARGV; my $col = shift @ARGV; $bin or die "usage: $0 <bin size> <column number (0 based)> <table (on STDIN)>\n"; my $delim = "\t"; my $n=0; my $sum=0; my $min=1000000000; my $max = -999999999; my %dist...
warelab/misc
set2dist.pl
Perl
apache-2.0
2,168
=head1 LICENSE 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/licen...
andrewyatz/public-plugins
sge_blast/modules/Bio/Tools/Run/Search/sge_wublastp.pm
Perl
apache-2.0
1,709
package Zoe::Runtime::Database; use Mojo::Base 'Zoe::Runtime'; sub new { my $class = shift; my %arg = @_; my $self = { type => undef, #database type (mysql | sqlite| perl DBD driver name]) dbfile => undef, #path to database # required if type is ...
chubbz327/Zoe
lib/Zoe/Runtime/Database.pm
Perl
apache-2.0
2,612
#!/usr/bin/perl # # Adduser script # Rootnode, http://rootnode.net # # Copyright (C) 2012 Marcin Hlybin # All rights reserved. # # Get user data from signup database # Create PAM+Satan user # Insert user data into adduser database # Assign servers to user # Create containers with lxc-add remote script use warnings; u...
ingeniarius/lxc-rootnodes
adduser/adduser.pl
Perl
bsd-2-clause
9,109
# # Autogenerated by Thrift Compiler (0.8.0) # # 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 EDAMUserStore::Types; # HELPER FUNCTIONS AND STRUCTURES package EDAMUserStore::UserStore_checkVersion_args; use base qw(Class::Accessor); EDAMUs...
nobuoka/evernote-sdk-perl
lib/EDAMUserStore/UserStore.pm
Perl
bsd-2-clause
58,040
#!/usr/bin/perl # start in the directory with all the files $argc = @ARGV; # get the number of arguments if ($argc == 0 ) { print "msl_Vic2ODL-PDDS-jpg.pl dir multi vic2odl_xsl odl2pds_xsl max \n"; print "prints a set of transcoder (jConvertIIO) commands to test .DAT and .VIC files \n"; print "Output goes...
marrocamp/nasa-VICAR
vos/java/jpl/mipl/io/xsl/test/msl_Vic2ODL-PDS-jpg.pl
Perl
bsd-3-clause
5,855
% File: api.pl % Purpose: prolog api for elf application % Author: Roger Evans % Version: 1.0 % Date: 21/12/2013 % % (c) Copyright 2013, University of Brighton % application api from prolog nimrodel(Model, Title, String) :- nimrodel(['-model', Model, '-title', Title, Stri...
rogerevansbrighton/nimrodel
nimrodel/api.pl
Perl
bsd-3-clause
604
#! /usr/bin/perl # # configure.pl (bootstrap cgixx) # Use on *nix platforms. # # cgixx CGI C++ Class Library # Copyright (C) 2002-2004 Isaac W. Foraker (isaac at noscience dot net) # All Rights Reserved # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that t...
codemer/cgixx
configure.pl
Perl
bsd-3-clause
5,698
#!/usr/bin/env perl use strict; use warnings; use LWP::UserAgent; use JSON::PP; my $base = "http://gameai.skullspace.ca/api/"; sub failure { print("!! " . shift(@_) . "\n"); exit(1); } sub info { print("** " . shift(@_) . "\n"); } sub parse_card { my $abbr = shift(@_); my ...
mogigoma/gameai-2014-09
sdk/perl/GameAI.pl
Perl
bsd-3-clause
8,313
#!/usr/bin/env perl use strict; use warnings; # Author: lh3 # # This script is literally translated from the C version. It has two funtionalities: # # a) compute the length of the reference sequence contained in an alignment; # b) collapse backward overlaps and generate consensus sequence and quality # # During the c...
AngieHinrichs/samtabix
examples/removeB.pl
Perl
mit
6,126
#!/usr/bin/env perl # $Source: /cvsroot/ensembl/ensembl-personal/genebuilders/ccds/scripts/store_ccds_xrefs.pl,v $ # $Revision: 1.13 $ =pod =head1 NAME store_ccds_xrefs.pl =head1 SYNOPSIS Make CCDS Xrefs. =head1 DESCRIPTION Will store the Ensembl transcript stable_id that matches the ccds structure. Ori...
danstaines/ensembl
misc-scripts/xref_mapping/store_ccds_xrefs.pl
Perl
apache-2.0
11,327
#-------------------------------------------------------------------- #----- GRNOC TSDS Aggregation DataService Library #----- #----- Copyright(C) 2015 The Trustees of Indiana University #-------------------------------------------------------------------- #----- $HeadURL: svn+ssh://svn.grnoc.iu.edu/grnoc/tsds/services...
daldoyle/tsds-services
lib/GRNOC/TSDS/DataService/Aggregation.pm
Perl
apache-2.0
26,631
# please insert nothing before this line: -*- mode: cperl; cperl-indent-level: 4; cperl-continued-statement-offset: 4; indent-tabs-mode: nil -*- package TestApache::scanhdrs2; use strict; use warnings FATAL => 'all'; use Apache::Test; use Apache2::Const -compile => 'OK'; sub handler { my $r = shift; my $lo...
dreamhost/dpkg-ndn-perl-mod-perl
t/response/TestApache/scanhdrs2.pm
Perl
apache-2.0
465
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! # This file is machine-generated by lib/unicore/mktables from the Unicode # database, Version 6.2.0. Any changes made here will be lost! # !!!!!!! INTERNAL PERL USE ONLY !!!!!!! # This file is for internal use by core Perl only. The format and even the # name or existe...
Bjay1435/capstone
rootfs/usr/share/perl/5.18.2/unicore/lib/Blk/Syriac.pl
Perl
mit
433
# # 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...
maksimatveev/centreon-plugins
storage/hp/lefthand/snmp/mode/components/device.pm
Perl
apache-2.0
6,350
# # 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...
Shini31/centreon-plugins
apps/protocols/dns/lib/dns.pm
Perl
apache-2.0
3,088
package VCP::DB_File::sdbm; =head1 NAME VCP::DB_File::sdbm - Subclass providing SDBM_File storage =head1 SYNOPSIS use VCP::DB_File; VCP::DB_File->new; =head1 DESCRIPTION To write your own DB_File filetype, copy this file and alter it. Then ask us to add an option to the .vcp file parsing to enable it. =...
gitpan/VCP-autrijus-snapshot
lib/VCP/DB_File/sdbm.pm
Perl
bsd-3-clause
5,516
# Copyright 1999-2010 University of Chicago # # 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 t...
gridcf/gct
common/source/scripts/Config.pm
Perl
apache-2.0
1,744
# 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/rnClxBLdxJ/northamerica. Olson data version 2013a # # Do not edit this file directly. # package DateTim...
Dokaponteam/ITF_Project
xampp/perl/vendor/lib/DateTime/TimeZone/America/St_Lucia.pm
Perl
mit
1,498
% ---------------------------------------------------------------------- % System: ECLiPSe Constraint Logic Programming System % Version: $Id: heaps.pl,v 1.1 2008/06/30 17:43:46 jschimpf Exp $ % % Copyright: This library has been adapted from code from the Edinburgh % DEC-10 Prolog Library, whose copyright notice says...
linusyang/barrelfish
usr/skb/eclipse_kernel/lib/heaps.pl
Perl
mit
9,599
# # $Id: UTF7.pm,v 2.4 2006/06/03 20:28:48 dankogai Exp $ # package Encode::Unicode::UTF7; use strict; use warnings; no warnings 'redefine'; use base qw(Encode::Encoding); __PACKAGE__->Define('UTF-7'); our $VERSION = do { my @r = ( q$Revision: 2.4 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r }; use MIME::Base64; use...
leighpauls/k2cro4
third_party/cygwin/lib/perl5/5.10/i686-cygwin/Encode/Unicode/UTF7.pm
Perl
bsd-3-clause
3,618
use strict; use warnings; use Repo; use User; use Lang; use Result; use Utils; use constant { DEL_N => 5000 }; $|=1; { print "$0: loading ..\r"; my $repo = new Repo("./download/repos.txt"); my $lang = new Lang("./download/lang.txt", $repo); my $user = new User("./download/contest_data.txt", $lang);...
ultraist/github-contest2009
test_trainset.pl
Perl
mit
1,197
use strict; use Data::Dumper; use Carp; # # This is a SAS Component # =head1 NAME get_relationship_IsContainedIn =head1 SYNOPSIS get_relationship_IsContainedIn [-c N] [-a] [--fields field-list] < ids > table.with.fields.added =head1 DESCRIPTION This relationship connects a subsystem spreadsheet cell to the featu...
kbase/kb_seed
scripts/get_relationship_IsContainedIn.pl
Perl
mit
6,112
#!/usr/bin/perl use warnings; use strict; use Data::Dumper; use GD::Graph::lines; my $request_fields = ["id", "us", "sy", "wa"]; my $fields = { r => 0, b => 1, swpd => 2, free => 3, buff => 4, cache => 5, si => 6, so => 7, bi => 8, bo ...
posohin/vmstat_graph
scripts/vmstat_graph.pl
Perl
mit
1,735
fib(0, A, _, A). fib(N, A, B, F) :- N1 is N - 1, Sum is A + B, fib(N1, B, Sum, F). fib(N, F) :- fib(N, 0, 1, F).
MartinThoma/LaTeX-examples
documents/Programmierparadigmen/scripts/prolog/fibonacci.pl
Perl
mit
152
#!/usr/bin/perl use strict 'vars'; use warnings; use diagnostics; # Author: Rauan Sagit # Beginning Date: 5 June 2013 # Name: tag_pgn_file.pl # Purpose: take a PGN file containing one or more games as input. # Write one material balance sheet per game as output. Use a new # field called "Key = " to connect the PGN fil...
testviking/chess-material-search
bin/tag_pgn_file.pl
Perl
mit
95,418
use File::Find; use File::Basename; use Win32::TieRegistry 0.20 ( KEY_READ ); # Gloabal registry access options my $registry_options = { Delimiter => '/', Access => KEY_READ(), }; # First, let's get location of ActivePerl my $active_key = "LMachine/Software/ActiveState/ActivePerl"; my $perl_binary = get_pe...
uddhab/swish-e
swish-e-2.4.7/src/win32/fixperl.pl
Perl
mit
3,234
package taxonomy_service::taxonomy_serviceClient; use JSON::RPC::Client; use POSIX; use strict; use Data::Dumper; use URI; use Bio::KBase::Exceptions; my $get_time = sub { time, 0 }; eval { require Time::HiRes; $get_time = sub { Time::HiRes::gettimeofday() }; }; use Bio::KBase::AuthToken; # Client version sh...
janakagithub/taxonomy_service
lib/taxonomy_service/taxonomy_serviceClient.pm
Perl
mit
39,662
# wakautils.pl v9 use strict; use Time::Local; use Socket; use Net::SMTP; my $has_md5=0; eval 'use Digest::MD5 qw(md5)'; $has_md5=1 unless $@; my $has_encode=0; eval 'use Encode qw(decode)'; $has_encode=1 unless $@; use constant MAX_UNICODE => 1114111; # # HTML utilities # my $protocol_re=qr{(?:http://|https://...
marlencrabapple/Glaukaba
wakautils.pl
Perl
mit
39,034
package Eldhelm::Server::Logger; use strict; use threads; use threads::shared; use Data::Dumper; use Time::HiRes qw(usleep); use Date::Format; use Carp; use base qw(Eldhelm::Server::Child); sub create { my (%args) = @_; Eldhelm::Server::Logger->new(%args); } sub new { my ($class, %args) = @_; my $self = Eldhelm...
wastedabuser/eldhelm-platform
lib/Eldhelm/Server/Logger.pm
Perl
mit
2,645
#!/usr/bin/perl use strict; use warnings; use Getopt::Std; our $VERSION = "v0.1"; my $X = "\e[0m"; my $R = "\e[0;31m"; my $G = "\e[0;32m"; my $Y = "\e[0;33m"; my $B = "\e[0;34m"; my $P = "\e[0;35m"; my $IR = "\e[0;91m"; my $IG = "\e[0;92m"; my $IY = "\e[0;93m"; my $IB = "\e[0;94m"; my $IP = "\e[0;95m"; my %opt...
Gioyik/Kexploiter
Kexploiter.pl
Perl
mit
18,059
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!! # This file is machine-generated by lib/unicore/mktables from the Unicode # database, Version 12.1.0. Any changes made here will be lost! # !!!!!!! INTERNAL PERL USE ONLY !!!!!!! # This file is for internal use by core Perl only. The format and even the # name or exist...
operepo/ope
client_tools/svc/rc/usr/share/perl5/core_perl/unicore/lib/NFDQC/N.pl
Perl
mit
2,886
#!/usr/bin/perl -w # # refactor_csp.pl # # Refactor for CSP v2 # 実行時引数のディレクトリ内の全てのHTMLファイルに対して、 # HTMLソース内部のタグ<script>を外部jsファイル読み込み形式に変更する # 生成されるファイルの命名規則は Chrome Dev Editor に従い、以下のようにした # # index.html -> index.html.pre_csp (初回のみ生成されるコピーファイル) # index.html # index.html.0.js, index.html.1....
daiz713/RefactorForCSP
refactor_csp.pl
Perl
mit
4,050
use Win32::OLE::Const; my $excelAppl = Win32::OLE->GetActiveObject('Excel.Application') || Win32::OLE->new('Excel.Application', 'Quit'); my $fso = Win32::OLE->new("Scripting.FileSystemObject"); my $naam = "testbook.xlsx"; my $book; if ($fso->FileExists($naam)) { my $padnaam = $fso->GetAbsolutePathName($naam); $...
VDBBjorn/Besturingssystemen-III
Labo/reeks2/Reeks2_06.pl
Perl
mit
1,025
package Paws::ResourceTagging::FailureInfo; use Moose; has ErrorCode => (is => 'ro', isa => 'Str'); has ErrorMessage => (is => 'ro', isa => 'Str'); has StatusCode => (is => 'ro', isa => 'Int'); 1; ### main pod documentation begin ### =head1 NAME Paws::ResourceTagging::FailureInfo =head1 USAGE This class re...
ioanrogers/aws-sdk-perl
auto-lib/Paws/ResourceTagging/FailureInfo.pm
Perl
apache-2.0
1,732
=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
users/modules/EnsEMBL/Users/Command/Account/User/Consent.pm
Perl
apache-2.0
1,664
solve([]). solve([A|T]) :- solve_atom(A), solve(T). solve_atom(A) :- my_clause(A,B), solve(B). my_clause(app([],L,L),[]). my_clause(app([H|X],Y,[H|Z]),[app(X,Y,Z)]). my_clause(p,[p]).
leuschel/logen
old_logen/testcases/bta/vanilla_list.pl
Perl
apache-2.0
189
# # 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, software # distributed under ...
delphix/dxtoolkit
lib/Source_obj.pm
Perl
apache-2.0
7,467
# # 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
cloud/aws/ec2/mode/network.pm
Perl
apache-2.0
13,379
=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/Attributes.pm
Perl
apache-2.0
4,554
#!/usr/bin/env perl =head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute Copyright [2016-2020] 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 ...
Ensembl/ensembl-funcgen
scripts/examples/solutions/regulatory_features_2.pl
Perl
apache-2.0
4,562
package UI::ConfigFiles; # # # 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, s...
amiryesh/incubator-trafficcontrol
traffic_ops/app/lib/UI/ConfigFiles.pm
Perl
apache-2.0
53,460
#!/usr/bin/perl require "/perfstat/build/serialize/create/ServiceConfig.pl"; #create new service $service = Service->new( RRA => "RRA:AVERAGE:0.5:1:288 RRA:AVERAGE:0.5:7:288 RRA:AVERAGE:0.5:30:288 RRA:AVERAGE:0.5:365:288", rrdStep => "300", serviceName => "mem", ); #add metric 0 $obj = Metric-...
ktenzer/perfstat
misc/serialize/create/Linux/63004/mem.pl
Perl
apache-2.0
10,344
package Google::Ads::AdWords::v201402::DisplayType; use strict; use warnings; __PACKAGE__->_set_element_form_qualified(1); sub get_xmlns { 'https://adwords.google.com/api/adwords/o/v201402' }; our $XML_ATTRIBUTE_CLASS; undef $XML_ATTRIBUTE_CLASS; sub __get_attr_class { return $XML_ATTRIBUTE_CLASS; } use Class...
gitpan/GOOGLE-ADWORDS-PERL-CLIENT
lib/Google/Ads/AdWords/v201402/DisplayType.pm
Perl
apache-2.0
1,963
# # 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...
golgoth31/centreon-plugins
centreon/plugins/misc.pm
Perl
apache-2.0
12,667
=head1 LICENSE Copyright [1999-2016] 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/licen...
Ensembl/ensembl-webcode
modules/EnsEMBL/Web/Component/Location/StrainTable.pm
Perl
apache-2.0
11,157
# # (c) Jan Gehring <jan.gehring@gmail.com> # # vim: set ts=2 sw=2 tw=0: # vim: set expandtab: =head1 NAME Rex::Commands - All the basic commands =head1 DESCRIPTION This module is the core commands module. =head1 SYNOPSIS desc "Task description"; task "taskname", sub { ... }; task "taskname", "server1", ..., ...
gitpan/Rex
lib/Rex/Commands.pm
Perl
apache-2.0
38,844
=head1 LICENSE # Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute # Copyright [2016-2020] 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. # ...
Ensembl/ensembl-pipeline
modules/Bio/EnsEMBL/Pipeline/BatchSubmission/LSF.pm
Perl
apache-2.0
14,618
package VMOMI::ClusterGroupSpec; use parent 'VMOMI::ArrayUpdateSpec'; use strict; use warnings; our @class_ancestors = ( 'ArrayUpdateSpec', 'DynamicData', ); our @class_members = ( ['info', 'ClusterGroupInfo', 0, 1], ); sub get_class_ancestors { return @class_ancestors; } sub get_class_members { ...
stumpr/p5-vmomi
lib/VMOMI/ClusterGroupSpec.pm
Perl
apache-2.0
454
use vars qw( $frog $toad ); sub wear_bunny_costume { my $bunny = shift; $frog = $bunny; print "\$bunny is $bunny\n\$frog is $frog\n\$toad is $toad"; }
jmcveigh/komodo-tools
scripts/perl/find_all_global_variables/wear_bunny_costume.pl
Perl
bsd-2-clause
168
#!/usr/bin/perl ######################################################################### # # # Author : Gabo Moreno-Hagelsieb # # Date of first draft: Dec 18, 2015 # # # ######################################################################### use strict; use Getopt::Long; ...
SaierLaboratory/TCDBtools
scripts/famXpander.pl
Perl
bsd-3-clause
23,532
package App::KADR::Path::Entity; # ABSTRACT: Path::Class::Entity for KADR, faster use common::sense; use Encode; use Params::Util qw(_INSTANCE); use Scalar::Util qw(refaddr); use overload '<=>' => 'abs_cmp', fallback => 1; sub abs_cmp { return 1 unless defined $_[1]; # Same object. # Use refaddr since this metho...
Kulag/KADR
lib/App/KADR/Path/Entity.pm
Perl
mit
1,506
'xs:nonNegativeInteger': {|xml|| <num>1234</num> |}. 'Out of bounds'(fail): {|xml|| <num>-32769</num> |}.
jonakalkus/xml-validate
test/validation/simpleType_nonNegativeInteger.pl
Perl
mit
109
############################################################################## # # Copyright (C) 2013 Contributor # # 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...
quattor/pkgtree
lib/perl5/IPS/Package.pm
Perl
apache-2.0
7,343
use 5.10.0; use strict; use warnings; package Seq::Tracks::Region; use Mouse 2; our $VERSION = '0.001'; #Finish if needed __PACKAGE__->meta->make_immutable; 1;
akotlar/bystro
lib/Seq/Tracks/Region.pm
Perl
apache-2.0
164