max_stars_repo_path
stringlengths
4
261
max_stars_repo_name
stringlengths
6
106
max_stars_count
int64
0
38.8k
id
stringlengths
1
6
text
stringlengths
7
1.05M
Transynther/x86/_processed/NONE/_zr_un_xt_sm_/i7-7700_9_0x48.log_21829_2105.asm
ljhsiun2/medusa
9
94305
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xe982, %rsi lea addresses_A_ht+0x32d2, %rdi nop nop nop and $32574, %rbp mov $95, %rcx rep movsq nop nop nop nop xor %r13, %r13 lea addresses_UC_ht+0x1c9ba, %r13 sub %r15, %r1...
src/brackelib-stacks.ads
bracke/brackelib
1
7455
with Ada.Containers.Doubly_Linked_Lists; use Ada.Containers; generic type T is private; package Brackelib.Stacks is -- @summary -- Implementation of the stack abstract data type type Stack is limited private; procedure Push (Self : in out Stack; Item : T); -- Adds an item to the top of the stack making...
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-8650U_0xd2.log_2_308.asm
ljhsiun2/medusa
9
11800
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r9 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xdf6c, %r9 nop nop cmp $21125, %r10 movb (%r9), %r12b sub %rbp, %rbp lea addresses_WC_ht+0x196c, %rbx and $34595, %r10 movups (%rbx), %xmm6 vpextrq $0, %xm...
programs/oeis/029/A029113.asm
neoneye/loda
22
5557
<reponame>neoneye/loda ; A029113: Expansion of 1/((1-x)(1-x^6)(1-x^9)(1-x^10)). ; 1,1,1,1,1,1,2,2,2,3,4,4,5,5,5,6,7,7,9,10,11,12,13,13,15,16,17,19,21,22,25,26,27,29,31,32,36,38,40,43,46,47,51,53,55,59,63,65,70,73,76,80,84,86,92,96,100,105,110,113 lpb $0 mov $2,$0 sub $0,6 seq $2,25791 ; Expansion of 1/((1-x)(1-x...
programs/oeis/220/A220212.asm
jmorken/loda
1
19235
; A220212: Convolution of natural numbers (A000027) with tetradecagonal numbers (A051866). ; 0,1,16,70,200,455,896,1596,2640,4125,6160,8866,12376,16835,22400,29240,37536,47481,59280,73150,89320,108031,129536,154100,182000,213525,248976,288666,332920,382075,436480,496496,562496,634865,714000,800310,894216,996151,1106560...
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/p3dos_copy_cstr_to_pstr.asm
jpoikela/z88dk
640
241304
; unsigned char *p3dos_copy_cstr_to_pstr(char *pdst, const char *csrc) SECTION code_esxdos PUBLIC p3dos_copy_cstr_to_pstr EXTERN asm_p3dos_copy_cstr_to_pstr p3dos_copy_cstr_to_pstr: pop af pop hl pop de push de push hl push af jp asm_p3dos_copy_cstr_to_pstr
smalltalk/Smalltalk.g4
ChristianWulf/grammars-v4
4
5752
<reponame>ChristianWulf/grammars-v4<filename>smalltalk/Smalltalk.g4<gh_stars>1-10 /* Converted to ANTLR 4 by <NAME> (Redline Smalltalk Project http://redline.st). Adapted from the Amber Smalltalk grammar parser.pegjs 2015/01/18 <NAME> (<EMAIL>) */ grammar Smalltalk; script : sequence EOF; sequence : temps ws...
modules/shapepath/src/main/antlr4/SchemaMappingsDoc.g4
scala-steward/shex-s
4
2834
grammar SchemaMappingsDoc; schemaMappingsDoc : directive* mappings EOF; // leading CODE directive : baseDecl | prefixDecl | importDecl ; baseDecl : KW_BASE IRIREF ; prefixDecl : KW_PREFIX PNAME_NS IRIREF ; importDecl : KW_IMPORT iri ; mappings : mapping (';' mapping ) * ; mapping : shapePathExpr...
Driver/Printer/PrintCom/Buffer/bufferDestroy.asm
steakknife/pcgeos
504
80838
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: common buffer routines FILE: bufferDestroy.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name D...
test/Fail/Issue2436.agda
shlevy/agda
1,989
7960
-- Andreas, 2017-01-26, issue #2436 -- Outlaw coinductive records with eta-equality record U : Set where coinductive eta-equality field f : U -- Infinite eta-expansion would make Agda loop test : U test = _
Read dialog box/read_dialogbox_int.asm
berkcetinsaya/MIPSLanguageExamples
0
88042
<gh_stars>0 .data message: .asciiz "This is a message\n" .text la $a0, message # general message to print will be loaded to $a0 # user input will be stored in $a0 # user selection will be stored in $a1 # $a1 = 0:OK, -1:Wrong input, -2:Cancel, -3:OK but no data. addi $v0, $zero, 51 # service 51 to displa...
programs/oeis/087/A087734.asm
jmorken/loda
1
97513
; A087734: a(n) = f(f(n)), where f() = A035327(). ; 0,0,0,0,0,1,0,0,0,1,2,3,0,1,0,0,0,1,2,3,4,5,6,7,0,1,2,3,0,1,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,5,6,7,0,1,2,3,0,1,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,...
message/generation/swift-mt-generation/repository/SR2018/grammars/SwiftMtParser_MT538.g4
Yanick-Salzmann/message-converter-c
0
7853
grammar SwiftMtParser_MT538; @lexer::header { #include "repository/ISwiftMtParser.h" #include "SwiftMtMessage.pb.h" #include <vector> #include <string> #include "BaseErrorListener.h" } @parser::header { #include "repository/ISwiftMtParser.h" #include "SwiftMtMessage.pb.h" #include <vector> #include <string> #include ...
autogen/multibootdefs.nasm
fengjixuchui/napoca
170
4523
%define MULTIBOOT_NAMES_COUNT 7 strCommandLine: db "commandLine", 0 strExceptions: db "exceptions", 0 strGuestLoader: db "guestLoader", 0 strIntro: db "intro", 0 strKernel: db "kernel", 0 strLiveintroupd: db "liveintroupd", 0 strSettings: db "settings", 0 MultibootModuleNameToModId: dd RVA(strC...
programs/oeis/021/A021865.asm
neoneye/loda
22
243099
<filename>programs/oeis/021/A021865.asm ; A021865: Decimal expansion of 1/861. ; 0,0,1,1,6,1,4,4,0,1,8,5,8,3,0,4,2,9,7,3,2,8,6,8,7,5,7,2,5,9,0,0,1,1,6,1,4,4,0,1,8,5,8,3,0,4,2,9,7,3,2,8,6,8,7,5,7,2,5,9,0,0,1,1,6,1,4,4,0,1,8,5,8,3,0,4,2,9,7,3,2,8,6,8,7,5,7,2,5,9,0,0,1,1,6,1,4,4,0 add $0,1 mov $1,10 pow $1,$0 mul $1,7 di...
library/sas_cxv.asm
mparnaudeau/clib2
8
29772
<reponame>mparnaudeau/clib2 * * $Id: sas_cxv.asm,v 1.1.1.1 2004-07-26 16:31:04 obarthel Exp $ * * :ts=8 * * Adapted from reassembled SAS/C runtime library code. * * Portable ISO 'C' (1994) runtime library for the Amiga computer * Copyright (c) 2002-2015 by <NAME> <obarthel (at) gmx.net> * All rights reserved. * * Redis...
samples/render.adb
jquorning/ada-asf
12
5771
----------------------------------------------------------------------- -- render -- XHTML Rendering example -- Copyright (C) 2010, 2017, 2020, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the...
Transynther/x86/_processed/NONE/_ht_st_zr_/i9-9900K_12_0xa0_notsx.log_21829_1014.asm
ljhsiun2/medusa
9
18962
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_UC_ht+0x106db, %rsi lea addresses_normal_ht+0x1379b, %rdi nop nop inc %r11 mov $24, %rcx rep movsw nop cmp %rdi, %rdi lea addresses_A_ht+0x1ae89, %rsi lea addresses_D_ht+0x1b09b, %rd...
Task/Variadic-function/Ada/variadic-function.ada
LaudateCorpus1/RosettaCodeData
1
7826
with Ada.Strings.Unbounded, Ada.Text_IO; procedure Variadic is subtype U_String is Ada.Strings.Unbounded.Unbounded_String; use type U_String; function "+"(S: String) return U_String renames Ada.Strings.Unbounded.To_Unbounded_String; function "-"(U: U_String) return String renames Ada.Strings.U...
data/mapHeaders/PokemonMansion1F.asm
AmateurPanda92/pokemon-rby-dx
9
162591
PokemonMansion1F_h: db FACILITY ; tileset db POKEMON_MANSION_1F_HEIGHT, POKEMON_MANSION_1F_WIDTH ; dimensions (y, x) dw PokemonMansion1F_Blocks ; blocks dw PokemonMansion1F_TextPointers ; texts dw PokemonMansion1F_Script ; scripts db 0 ; connections dw PokemonMansion1F_Object ; objects
programs/oeis/096/A096365.asm
neoneye/loda
22
163329
<gh_stars>10-100 ; A096365: Maximum number of iterations of the RUNS transform needed to reduce any binary sequence of length n to a sequence of length 1. ; 0,2,3,4,5,5,6,6,6,7,7,7,7,8,8,8,8,8,8,8,9 mul $0,4 add $0,2 div $0,3 pow $0,4 lpb $0 sub $0,1 div $0,5 add $1,64 lpe div $1,64 mov $0,$1
archive/agda-1/UnifyProof2.agda
m0davis/oscar
0
15521
<filename>archive/agda-1/UnifyProof2.agda {- https://lists.chalmers.se/pipermail/agda/2013/006033.html http://code.haskell.org/~Saizan/unification/ 18-Nov-2013 <NAME> -} module UnifyProof2 where open import Data.Fin using (Fin; suc; zero) open import Data.Nat hiding (_≤_) open import Relation.Binary.PropositionalEqual...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1178.asm
ljhsiun2/medusa
9
99192
<filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1178.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x19667, %rdx nop nop nop sub $11850, %r11 mov $0x6162636465666768, %rbp movq %rbp, %xmm2 vmovups %ymm2...
programs/oeis/234/A234787.asm
neoneye/loda
22
80713
<filename>programs/oeis/234/A234787.asm ; A234787: Cubes (with at least two digits) that become squares when their rightmost digit is removed. ; 1000,64000,729000,4096000,15625000,46656000,117649000,262144000,531441000,1000000000,1771561000,2985984000,4826809000,7529536000,11390625000,16777216000,24137569000,3401222400...
src/lumen-image-bmp.adb
darkestkhan/lumen
8
16027
-- Lumen.Image.BMP -- Load and save Microsoft BMP image data -- This code is covered by the ISC License: -- -- Copyright © 2010, <NAME> <<EMAIL>> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice...
src/model/ado-model.ads
My-Colaborations/ada-ado
0
21747
<gh_stars>0 ----------------------------------------------------------------------- -- ADO.Model -- ADO.Model ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generator: https://ada-gen.goog...
BibTeXLexer.g4
yepengding/BibTeX-Grammar
0
360
lexer grammar BibTeXLexer; // Keywords ARTICLE: '@article' ; BOOK: '@book' ; BOOKLET: '@booklet' ; INBOOK: '@inbook' ; INCOLLECTION: '@incollection' ; INPROCEEDINGS: '@inproceedings' ; PROCEEDINGS: '@proceedings' ; MANUAL: '@manual' ; MASTERTHESIS...
alloy4fun_models/trashltl/models/17/NsppY3vXdgfgDKvgg.als
Kaixi26/org.alloytools.alloy
0
3486
open main pred idNsppY3vXdgfgDKvgg_prop18 { always all p: Protected |always p in Trash releases p not in Protected } pred __repair { idNsppY3vXdgfgDKvgg_prop18 } check __repair { idNsppY3vXdgfgDKvgg_prop18 <=> prop18o }
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_971.asm
ljhsiun2/medusa
9
160779
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x48bf, %rsi lea addresses_WC_ht+0x593f, %rdi xor $48937, %rdx mov $1, %rcx rep movsl nop cmp $42707, %r12 lea addresses_WC_ht+0x1b07f, %r10 nop nop ...
agda-stdlib/src/Algebra/Properties/Semilattice.agda
DreamLinuxer/popl21-artifact
5
26
<filename>agda-stdlib/src/Algebra/Properties/Semilattice.agda ------------------------------------------------------------------------ -- The Agda standard library -- -- Some derivable properties ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Al...
programs/oeis/101/A101553.asm
neoneye/loda
22
171988
; A101553: A modular recurrence. ; 1,5,15,75,225,1125,3375,16875,50625,253125,759375,3796875,11390625,56953125,170859375,854296875,2562890625,12814453125,38443359375,192216796875,576650390625,2883251953125,8649755859375,43248779296875,129746337890625,648731689453125,1946195068359375,9730975341796875,29192926025390625,1...
programs/oeis/013/A013632.asm
jmorken/loda
1
20364
; A013632: Difference between n and the next prime greater than n. ; 2,1,1,2,1,2,1,4,3,2,1,2,1,4,3,2,1,2,1,4,3,2,1,6,5,4,3,2,1,2,1,6,5,4,3,2,1,4,3,2,1,2,1,4,3,2,1,6,5,4,3,2,1,6,5,4,3,2,1,2,1,6,5,4,3,2,1,4,3,2,1,2,1,6,5,4,3,2,1,4,3,2,1,6,5,4,3,2,1,8,7,6,5,4,3,2,1,4,3,2,1,2,1,4,3,2,1,2,1,4,3,2,1,14,13,12,11,10,9,8,7,6,5,...
libsrc/strings/strcmp.asm
dex4er/deb-z88dk
1
96878
<reponame>dex4er/deb-z88dk ; CALLER linkage for function pointers XLIB strcmp LIB strcmp_callee XREF ASMDISP_STRCMP_CALLEE .strcmp pop bc pop de pop hl push hl push de push bc jp strcmp_callee + ASMDISP_STRCMP_CALLEE
libsrc/cpc/cpc_EnableFirmware.asm
jpoikela/z88dk
640
177716
<gh_stars>100-1000 ; ; Amstrad CPC library ; ****************************************************** ; ** Librería de rutinas para Amstrad CPC ** ; ** <NAME>, Artaburu 2009 ** ; ****************************************************** ; ; $Id: cpc_EnableFirmware.asm $ ; SEC...
Application Support/BBEdit/Scripts/Pandoc/Pandoc to PDF.applescript
bhdicaire/bbeditSetup
0
4099
<reponame>bhdicaire/bbeditSetup<filename>Application Support/BBEdit/Scripts/Pandoc/Pandoc to PDF.applescript -- Pandoc to PDF -- <NAME> (<EMAIL>) local theText, theFile set theFile to "/tmp/pandocMe.txt" try do shell script "rm ~/tmp/PandocOut.pdf" end try tell application "BBEdit" set theText to contents of text ...
src/core.asm
gb-archive/waveform-gb
0
164791
INCLUDE "constants.asm" INCLUDE "code/int.asm" INCLUDE "code/rst.asm" INCLUDE "code/header.asm" INCLUDE "code/init.asm" INCLUDE "code/alias.asm" INCLUDE "code/joypad.asm" INCLUDE "code/video/copy.asm" INCLUDE "code/task.asm" INCLUDE "code/lcd.asm" INCLUDE "code/oam.asm" INCLUDE "code/math.asm" INCLUDE "code/sound.asm"...
arch/x86/src/cpu/isr/prehandler.asm
0x1C1B/jatos
1
104411
<filename>arch/x86/src/cpu/isr/prehandler.asm bits 32 section .text global isr_prehandler extern isr_handler ; First stage ISR interrupt handler responsible for saving current processor state isr_prehandler: ; Save the current processor state pusha mov ax, ds push eax mov ax, 0x10 ; Load kernel dat...
library/fmGUI_ManageSecurity/fmGUI_ManageSecurity_PrivSet_DeleteEmpty.applescript
NYHTC/applescript-fm-helper
1
2957
-- fmGUI_ManageSecurity_PrivSet_DeleteEmpty({fullAccessAccountName:"", fullAccessPassword:"", skipDeleteList:{}}) -- <NAME>, NYHTC -- delete privSets that do not have any accounts. (* HISTORY: 2020-03-04 ( dshockley ): Standardized version. 1.1 - 2017-07-12 ( eshagdar ): obj clicking done via cliClick 1.0 - 2017-...
8086/9sort/movdatablock.asm
iamvk1437k/mpmc
1
241774
ASSUME CS:CODE,DS:DATA DATA SEGMENT X DB 01H,02H,03H,04H,05H ; initializes data segments memory locations DATA ENDS CODE SEGMENT START:MOV AX,DATA ; initialize ds to start of the memory MOV DS,AX ; set aside for storing of data MOV CX,05H ; load counter LEA SI,X+04 ...
source/strings/a-stmaco.ads
ytomino/drake
33
12917
pragma License (Unrestricted); private with Ada.Strings.Maps.Naked; private with Ada.Strings.Naked_Maps.Basic; private with Ada.Strings.Naked_Maps.Canonical_Composites; private with Ada.Strings.Naked_Maps.Case_Folding; private with Ada.Strings.Naked_Maps.Case_Mapping; private with Ada.Strings.Naked_Maps.General_Categor...
test/Succeed/SizedTypesLeqInfty.agda
shlevy/agda
3
13552
<filename>test/Succeed/SizedTypesLeqInfty.agda -- {-# OPTIONS --sized-types #-} Option obsolete since 2014-04-12. module SizedTypesLeqInfty where open import Common.Size data Nat : {size : Size} -> Set where zero : {size : Size} -> Nat {↑ size} suc : {size : Size} -> Nat {size} -> Nat {↑ size} weak : {i : Size}...
benchmark/Syntacticosmos/Syntacticosmos.agda
cruhland/agda
1,989
14306
<gh_stars>1000+ module Syntacticosmos (Gnd : Set)(U : Set)(El : U -> Set) where open import Basics open import Pr open import Nom import Kind open Kind Gnd U El public import Cxt open Cxt Kind public import Loc open Loc Kind public import Term open Term Gnd U El public import Shift open Shift Gnd U El public import Et...
9.asm
rashidulhasanhridoy/Assembly-Programming
1
172284
<reponame>rashidulhasanhridoy/Assembly-Programming .MODEL SMALL .STACK 100H .CODE .DATA MSG0 DB 'ENTER A NUMBER : $' MSG1 DB 'IT IS GRATER THAN 5.$' MSG2 DB 'IT IS SMALLER THAN 5.$' MSG3 DB 'IT IS EQUAL TO 5.$' MAIN PROC MOV AX, @DATA MOV DS, AX LEA DX, MSG0 MOV AH, 9 INT 21H ...
laborator/lab-08/1-memset/memset.asm
Matei-Iordache/IOCLA-labs
0
93041
<gh_stars>0 %include "../utils/printf32.asm" %DEFINE LENGTH 20 section .data string db "Nunc tristique ante maximus, dictum nunc in, ultricies dui.", 0 char db 'a' section .text extern printf global main main: push ebp mov ebp, esp ; TODO: set al to the char to memset with; ; TODO: set edi ...
programs/oeis/138/A138099.asm
karttu/loda
0
166396
; A138099: Irregular triangle read by rows: T(n,k) = k + floor(n/2), 1 <= k <= ceiling(n/2). ; 1,2,2,3,3,4,3,4,5,4,5,6,4,5,6,7,5,6,7,8,5,6,7,8,9,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,12,7,8,9,10,11,12,13,8,9,10,11,12,13,14,8,9,10,11,12,13,14,15,9,10,11,12,13,14,15,16,9,10,11,12,13 mov $1,1 mov $2,1 mov $3,$0 lpb $0,1 ...
libsrc/_DEVELOPMENT/math/float/am9511/asm/z80/am32_popl.asm
ped7g/z88dk
1
2844
<filename>libsrc/_DEVELOPMENT/math/float/am9511/asm/z80/am32_popl.asm ; ; Copyright (c) 2020 <NAME> ; ; 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/. ; ; feilipu, A...
src/libriscv-csr.adb
Fabien-Chouteau/libriscv
0
25602
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, <NAME> -- -- -- -...
test/Succeed/PostponeRecordExpr.agda
cruhland/agda
1,989
8799
<reponame>cruhland/agda<gh_stars>1000+ -- Andreas, 2015-07-18 -- Postpone checking of record expressions when type is blocked. -- Guess type of record expressions when type is blocked. open import Common.Product open import Common.Prelude open import Common.Equality T : Bool → Set T true = Bool × Nat T false = ⊥ wo...
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-ahb_secure_ctrl.ads
morbos/Ada_Drivers_Library
2
16928
<reponame>morbos/Ada_Drivers_Library -- Copyright 2016-2019 NXP -- All rights reserved.SPDX-License-Identifier: BSD-3-Clause -- This spec has been automatically generated from LPC55S6x.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package NXP_S...
libsrc/target/z1013/stdio/generic_console_MODE1.asm
dikdom/z88dk
1
28601
<gh_stars>1-10 PUBLIC cls_MODE1 PUBLIC printc_MODE1 PUBLIC vpeek_MODE1 PUBLIC scrollup_MODE1 EXTERN __krt_cls EXTERN __krt_printc EXTERN __krt_vpeek EXTERN __krt_scrollup defc cls_MODE1 = __krt_cls defc printc_MODE1 = __krt_printc defc vpeek_MODE1 = __krt...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/enclosing_record_reference.adb
best08618/asylo
7
10652
-- { dg-do compile } package body Enclosing_Record_Reference is R: aliased T; function F1 (x: integer) return T is begin return R; end; function F2 (x: T) return integer is begin return 0; end; function F3 (x: T) return T is begin return R; end; function F4 (x: intege...
src/annotation_processor/implementation/yaml-transformator-annotation-identity.adb
robdaemon/AdaYaml
32
6431
-- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" package body Yaml.Transformator.Annotation.Identity is procedure Put (Object : in out Instance; E : Event) is begin if Object.Current_Exists then raise Constraint_Error with ...
agda-stdlib/src/Algebra/Bundles.agda
DreamLinuxer/popl21-artifact
5
8174
<filename>agda-stdlib/src/Algebra/Bundles.agda ------------------------------------------------------------------------ -- The Agda standard library -- -- Definitions of algebraic structures like monoids and rings -- (packed in records together with sets, operations, etc.) ----------------------------------------------...
oeis/090/A090592.asm
neoneye/loda-programs
11
247282
; A090592: (1,1) entry of powers of the orthogonal design shown below. ; Submitted by <NAME> ; 1,-5,-17,1,121,235,-377,-2399,-2159,12475,40063,-7199,-294839,-539285,985303,5745601,4594081,-31031045,-94220657,28776001,717096601,1232761195,-2554153817,-13737635999,-9596195279,76971061435,221115489823,-96566450399,-174094...
scripts/Route7Gate.asm
AmateurPanda92/pokemon-rby-dx
9
1716
<filename>scripts/Route7Gate.asm Route7Gate_Script: call EnableAutoTextBoxDrawing ld a, [wRoute7GateCurScript] ld hl, Route7Gate_ScriptPointers call CallFunctionInTable ret Route7Gate_ScriptPointers: dw Route7GateScript0 dw Route7GateScript1 Route7GateScript_1e111: ld hl, wd730 set 7, [hl] ld a, $20 ld [wS...
oeis/024/A024187.asm
neoneye/loda-programs
11
10007
; A024187: n-th elementary symmetric function of 3,4,...,n+3. ; Submitted by <NAME> ; 7,47,342,2754,24552,241128,2592720,30334320,383970240,5231113920,76349105280,1188825724800,19675048780800 add $0,2 seq $0,122057 ; a(n) = (n+1)! * (H(n+1) - H(2)), where H(n) are the harmonic numbers. div $0,2
lib/applescript/iTunes/nowplaying.scpt
fossabot/CatalinaScrobbler
0
311
on run set info to "" tell application id "com.apple.systemevents" set num to count (every process whose bundle identifier is "com.apple.iTunes") end tell if num > 0 then tell application id "com.apple.iTunes" if player state is playing then set track_name to name of current track set track_artist to...
software-abstractions/addressBook.als
naiduarvind/learning-alloy
0
4348
module tour/addressBook1 sig Name, Addr {} sig Book {addr: Name -> lone Addr} pred show (b: Book) { #b.addr > 1 #Name.(b.addr) > 1 } run show for 3 but 1 Book pred add (b, b': Book, n: Name, a: Addr) {b'.addr = b.addr + n -> a} pred del (b, b': Book, n: Name) {b'.addr = b.addr - n -> Addr} fun lookup (b: Book,...
src/main/antlr/TestKeywords.g4
JetBrains/teamcity-search-ql
2
5827
lexer grammar TestKeywords; fragment DIGIT: [0-9] ; fragment LLET: [a-z] ; fragment ULET: [A-Z] ; fragment LET: ULET | LLET ; fragment WSP: [ \t\r\n] ; OR : 'or' ; AND: 'and'; NOT: 'not'; ID : 'id' ; PROJECT : 'project' ; TEMPLATE : 'template' ; BUILD_CONFIGURATION : 'buildConfiguration' ; VCS_ROOT : 'vcsRoot' ; PA...
bootloader/x86_64/bootsector.asm
hyperswine/Redox2
43
15284
<reponame>hyperswine/Redox2 ORG 0x7C00 SECTION .text USE16 boot: ; dl comes with disk ; initialize segment registers xor ax, ax mov ds, ax mov es, ax mov ss, ax ; initialize stack mov sp, 0x7C00 ; initialize CS push ax push word .set_cs retf .set_cs: ; save disk numb...
Transynther/x86/_processed/NONE/_ht_zr_/i9-9900K_12_0xca.log_21829_1621.asm
ljhsiun2/medusa
9
161636
<filename>Transynther/x86/_processed/NONE/_ht_zr_/i9-9900K_12_0xca.log_21829_1621.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x17890, %rcx nop nop nop nop nop and $9346, %r9 mov $0x6162636465666768, %r13 movq %r13, ...
0x0001-hello_world-x64/main.asm
TheTexasGamer/Reverse-Engineering
2
179288
<gh_stars>1-10 extrn MessageBoxA: proc extrn ExitProcess: proc .data msg_txt db 'Hello World', 0 msg_caption db 'Hello World App', 0 .code main proc sub rsp, 20h ;shadow stack mov r9, rax ;UINT uType lea r8, msg_caption ;LPCSTR lpCaption lea rdx, msg_txt ;LPCSTR lpText xor rcx, rcx ;HWND ...
scripts/Route8.asm
opiter09/ASM-Machina
1
96059
<reponame>opiter09/ASM-Machina Route8_Script: call EnableAutoTextBoxDrawing ld hl, Route8TrainerHeaders ld de, Route8_ScriptPointers ld a, [wRoute8CurScript] call ExecuteCurMapScriptInTable ld [wRoute8CurScript], a ret Route8_ScriptPointers: dw CheckFightingMapTrainers dw DisplayEnemyTrainerTextAndStartBattle...
UDG.g4
TheWrightGuy/UDG_YHack_2019
0
7372
/* @desc Parser file to create universal documation. Currently only parses c-family code @author <NAME> @date Today @ref ANTLR parser and lexer */ grammar UDG; // Lexer Rules COMCODE : '\t@'; PARAM : 'param'; NAME : 'name'; AUTHOR : 'author'; RET : 'returns'; DATE : 'date'; FUNC : 'function'; CLA...
java/SubduceLanguage/out/production/SubduceLanguage/SubduceParser.g4
quasarbright/Subduce
1
2826
<gh_stars>1-10 parser grammar SubduceParser; options { tokenVocab = 'SubduceLexer'; } program : statement*; statement // doesn't include return statements : variableAssignment | functionDefinition | structDefinition | printStatement | expression ; variableAssignment : IDENTIFIER EQ expre...
audio/sfx/level_up.asm
opiter09/ASM-Machina
1
8766
SFX_Level_Up_Ch5: execute_music tempo 256 volume 7, 7 duty_cycle 2 toggle_perfect_pitch note_type 6, 11, 4 octave 4 note F_, 4 note_type 4, 11, 2 note C_, 2 note F_, 2 note C_, 2 note_type 6, 11, 3 note D#, 2 note D#, 2 note E_, 2 note_type 6, 11, 4 note F_, 8 sound_ret SFX_Level_Up_Ch6: execute_m...
src/lyrics/Lyrics.g4
zekedroid/ABC-Music-Player
0
1509
<reponame>zekedroid/ABC-Music-Player<gh_stars>0 /** * This file is the grammar file used by ANTLR. * * In order to compile this file, navigate to this directory * (<src/lyrics>) and run the following command: * * java -jar ../../antlr.jar Lyrics.g4 */ grammar Lyrics; /* * This puts "package lyric...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce2109b.ada
best08618/asylo
7
2344
<gh_stars>1-10 -- CE2109B.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein....
data/wildPokemon/seafoamislandb3.asm
adhi-thirumala/EvoYellow
16
102694
<reponame>adhi-thirumala/EvoYellow IslandMonsB3: db $0A db 27,GOLBAT db 36,ZUBAT db 29,KRABBY db 27,HITMONLEE db 30,KINGLER db 26,HITMONCHAN db 31,KRABBY db 30,SEEL db 28,DEWGONG db 32,DEWGONG db $05 db 25,CHINCHOU db 30,SEEL db 20,CHINCHOU db 30,STARYU db 35,TENTACOOL db 30,STARYU db 20,CHINCHOU d...
registrar-registration-unchecked_deregister_unit.adb
annexi-strayline/AURA
13
1978
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
source/math/trigonometry.asm
mega65dev/rom-assembler
0
1783
<filename>source/math/trigonometry.asm ; ******************************************************************************************** ; ******************************************************************************************** ; ; Name : trigonometry.asm ; Purpose : .. ; Created : 15th Nov 1991 ; Updated : ...
Trabalho3.asm
LSantos06/AssemblerRAWImages
0
2508
<reponame>LSantos06/AssemblerRAWImages ## Trabalho 3 - Organizacao e Arquitetura de Computadores ## <NAME> - 14/0151010 ## Configuracao do MARS # Memoria: default # Unidade de largura em pixels: 4 # Unidade de altura em pixels: 4 # Largura do display: 256 # Altura do display: 256 # Endereco base do display: 0x1...
source/tasking/machine-apple-darwin/s-nattas.ads
ytomino/drake
33
2999
<filename>source/tasking/machine-apple-darwin/s-nattas.ads pragma License (Unrestricted); -- implementation unit specialized for POSIX (Darwin, FreeBSD, or Linux) with System.Synchronous_Objects; with C.pthread; package System.Native_Tasks is pragma Preelaborate; -- thread subtype Handle_Type is C.pthread....
ejerciciosdeclase/02-pila-C/resuelto/src/suma.asm
ignaciolebrero/Orga2
0
91539
<filename>ejerciciosdeclase/02-pila-C/resuelto/src/suma.asm global suma2Enteros section .text suma2Enteros: ; Esto es un comentario ; int suma2Enteros(int a, int b); ; a-> RDI ; b-> RSI ; Armo stack frame SALVANDO TODOS los registros push RBP mov RBP, RSP push RBX push R12 push R13 push R14 push...
programs/oeis/079/A079057.asm
jmorken/loda
1
243186
; A079057: a(n)=sum(k=1,n,bigomega(tau(k))). ; 0,1,2,3,4,6,7,9,10,12,13,15,16,18,20,21,22,24,25,27,29,31,32,35,36,38,40,42,43,46,47,49,51,53,55,57,58,60,62,65,66,69,70,72,74,76,77,79,80,82,84,86,87,90,92,95,97,99,100,103,104,106,108,109,111,114,115,117,119,122,123,126,127,129,131,133,135,138,139,141,142,144,145,148,150...
tests/test build script and options/opt version/option version.asm
fengjixuchui/sjasmplus
220
99198
; empty ASM file just to trigger the version option test ; The test itself is written in the CLI file as bash script
bodhi.asm
Antoniii/primal_not_trivial
0
24869
; программа просто завершается с кодом выхода 2 (c ошибкой) ; 0 -- без ошибок ; начало текстового сегмента section .text global _start ; точка входа в программу _start: ; передача кода системного вызова mov eax, 1 ; возвращаемое значение mov ebx, 2 ; вызов ОС int 80h
scripts/ceruleanhouse1.asm
adhi-thirumala/EvoYellow
16
86219
<filename>scripts/ceruleanhouse1.asm CeruleanHouse1Script: call EnableAutoTextBoxDrawing ret CeruleanHouse1TextPointers: dw CeruleanHouse1Text1 dw CeruleanHouse1Text2 dw CeruleanHouse1Text3 dw CeruleanHouse1Text4 CeruleanHouse1Text1: TX_ASM ld a, $1 ld [wDoNotWaitForButtonPressAfterDisplayingText], a CheckE...
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/英語_PAL/pal_asm/zel_sut0.asm
prismotizm/gigaleak
0
247273
Name: zel_sut0.asm Type: file Size: 67184 Last-Modified: '2016-05-13T04:25:37Z' SHA-1: 7A98AFD843DDFAC2C5A32CC838ADE8E6BF28174A Description: null
examples/adventure_game/src/adventure.adb
persan/gdnative_ada
10
13310
with GDNative.Console; use GDNative.Console; package body Adventure is procedure Process (Self : in out Player; Delta_Time : in Long_Float) is begin Self.Health := Self.Health - 1; if Self.Health = 0 then Put ("Player Died!"); Put ("Player Respawn"); Self.Health := 100; end if; end; ...
libsrc/_DEVELOPMENT/string/c/sccz80/strrcspn_callee.asm
teknoplop/z88dk
8
166318
; size_t strrcspn(const char *str, const char *cset) SECTION code_clib SECTION code_string PUBLIC strrcspn_callee EXTERN asm_strrcspn strrcspn_callee: pop hl pop de ex (sp),hl jp asm_strrcspn
source/xml/templates/xml-sax-html5_writers.ads
svn2github/matreshka
24
11957
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
audio/sfx/psychic_m.asm
AmateurPanda92/pokemon-rby-dx
9
13805
<reponame>AmateurPanda92/pokemon-rby-dx SFX_Psychic_M_Ch4: duty 2 pitchenvelope 15, 7 squarenote 8, 12, 4, 1981 squarenote 8, 12, 4, 1982 squarenote 8, 12, 4, 1983 squarenote 8, 12, 4, 1984 squarenote 15, 12, 4, 1985 squarenote 15, 15, 2, 1984 pitchenvelope 0, 0 endchannel SFX_Psychic_M_Ch5: duty 2 square...
testProgram.asm
davidsene/pep-assembler
0
11817
;============================================================= ;Here is a test program ;It determine the max between two initialized variables A and B ;And store it into another variable MAX ;============================================================= .data A: .word 0xf B: .word 0x2 MAX: .word 0x0 .end .text LDR...
libsrc/_DEVELOPMENT/math/float/math16/c/sccz80/cm16_sccz80_poly.asm
ahjelm/z88dk
640
102560
; half_t __poly (const half_t x, const float_t d[], uint16_t n) SECTION code_fp_math16 PUBLIC cm16_sccz80_poly EXTERN asm_f16_poly .cm16_sccz80_poly ; evaluation of a polynomial function ; ; enter : stack = half_t x, float_t d[], uint16_t n, ret ; ; exit : hl = 16-bit product ; ...
oeis/100/A100178.asm
neoneye/loda-programs
11
244366
<reponame>neoneye/loda-programs ; A100178: Structured hexagonal diamond numbers (vertex structure 5). ; 1,8,29,72,145,256,413,624,897,1240,1661,2168,2769,3472,4285,5216,6273,7464,8797,10280,11921,13728,15709,17872,20225,22776,25533,28504,31697,35120,38781,42688,46849,51272,55965,60936,66193,71744,77597,83760,90241,9704...
x86/console/console.asm
januwA/nasm-scaffold
0
162560
<gh_stars>0 ; https://docs.microsoft.com/en-us/windows/console/getstdhandle STD_OUTPUT_HANDLE equ -11 NULL equ 0 extern GetStdHandle extern WriteFile extern ExitProcess global main section .data msg db "hello world",0dh,0ah, msgSize equ $ - msg section .bss lpNumberOfBytesWritten resd 1 section .text main: ...
src/L/Base/Nat/Properties.agda
borszag/smallib
0
7979
<reponame>borszag/smallib<gh_stars>0 module L.Base.Nat.Properties where open import L.Base.Nat open import L.Base.Id.Core open import L.Base.Id.Properties using (ap;sym;transport) -- Properties of + +-idl : ∀{x} → zero + x ≡ x +-idl = refl +-idr : ∀{x} → x + zero ≡ x +-idr {x} = ind (λ n → n + zero ≡ n) refl (λ _ p ...
1571/64tass/system.asm
silverdr/assembly
23
176471
<reponame>silverdr/assembly killp ; kill protection ; pha ; lda #1 ; sta cflg2 ;tell contoller ;killp2 ; lda cflg2 ;wait until he's got it ; bne killp2 ; ; pla rts
oeis/347/A347871.asm
neoneye/loda-programs
11
163475
<gh_stars>10-100 ; A347871: a(n) = (n+A003415(sigma(n))) mod 2, where A003415 gives the arithmetic derivative of its argument. ; Submitted by <NAME>iga ; 1,1,1,1,0,0,1,0,0,1,1,0,0,0,1,1,0,0,1,1,1,0,1,0,0,1,1,0,0,0,1,1,1,1,1,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,1,1,0,0,1,0,1,1,1,0,0,0,1,1,1,0,1,1,1,0,1,1,0,1,1,0,1,0,1,1,1,1,1,...
Keyboard-Maestro/Collapse-All-[Pause|Type|Execute|Cancel|Paste|Delete|Menu]-Actions.applescript
boisy/AppleScripts
116
3608
<reponame>boisy/AppleScripts use AppleScript version "2.4" -- Yosemite (10.10) or later use scripting additions global allActions set allActions to {} tell application "Keyboard Maestro" set m to first macro whose selected is true set acts to a reference to m's actions my getAllActions(m's actions) repeat with a...
maps_g_dyn/maps_g.ads
cborao/Ada-P3
0
5752
<gh_stars>0 --PRÁCTICA 3: <NAME> (Maps_G_Dyn.ads) with Ada.Text_IO; generic type Key_Type is private; type Value_Type is private; Max_Clients: Natural; with function "=" (K1, K2: Key_Type) return Boolean; package Maps_G is type Map is limited private; procedure Get (M: Map; Key: in Key_Type; Value:...
unittests/ASM/H0F38/XX_06.asm
cobalt2727/FEX
628
16495
%ifdef CONFIG { "RegData": { "MM0": "0x0404040404040404", "MM1": "0x0404040404040404" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx + 8 * 0], rax mov rax, 0x5152535455565758 mov [rdx + 8 * 1], rax movq mm0, [rdx + 8 * 0] movq mm1, [rdx + 8 * 1] phsubd mm0, [rdx + 8 * 1] phsubd mm1,...
vole_lex_io.adb
davidkristola/vole
4
3785
package body vole_lex_io is -- gets input and stuffs it into 'buf'. number of characters read, or YY_NULL, -- is returned in 'result'. procedure YY_INPUT(buf: out unbounded_character_array; result: out integer; max_size: in integer) is c : character; i : integer := 1; loc : integer := buf'first; begin ...
src/lang/stemmer-arabic.ads
stcarrez/ada-stemmer
3
2852
<reponame>stcarrez/ada-stemmer -- Generated by Snowball 2.2.0 - https://snowballstem.org/ package Stemmer.Arabic with SPARK_Mode is type Context_Type is new Stemmer.Context_Type with private; procedure Stem (Z : in out Context_Type; Result : out Boolean); private type Context_Type is new Stemmer.Context_Type...
lemmas-disjointness.agda
hazelgrove/hazelnut-agda
0
4924
<reponame>hazelgrove/hazelnut-agda open import Prelude open import Nat open import dynamics-core open import contexts module lemmas-disjointness where -- disjointness is commutative ##-comm : {A : Set} {Δ1 Δ2 : A ctx} → Δ1 ## Δ2 → Δ2 ## Δ1 ##-comm (π1 , π2) = π2 , π1 -- the empty context is disjoint from any ...
1_ALTERNATE.asm
TashinAhmed/ASSEMBLY-LANGUAGE
0
163936
; PROGRAM WORKS ONLY FOR 0<=N<=9 , N IS THE INPUT .MODEL SMALL ORG 100H ; IT RESOLVE TO A 2-BYTE NUMBER .DATA ;NEWLINE DB 0AH,0DH,'$' ;VAR DB ? .CODE MAIN PROC CALL FIBONACCHI RET MAIN ENDP FIBONACCHI PROC INPUT: MOV AH, 1 ...
oeis/213/A213685.asm
neoneye/loda-programs
11
174150
; A213685: Arises in enumerating maximal antichains of minimum size. ; Submitted by <NAME> ; 1,3,6,9,12,17,22,28,33,41,48,57,64 mov $4,$0 add $4,1 mov $6,$0 lpb $4 mov $0,$6 sub $4,1 sub $0,$4 mov $1,0 mov $2,$0 mov $12,0 lpb $0 sub $0,1 mov $3,$2 sub $3,$0 mov $7,0 mov $13,$0 mov...
notes/fomega/gadts/Expr.agda
AriFordsham/plutus
1,299
11189
<filename>notes/fomega/gadts/Expr.agda {-# OPTIONS --type-in-type #-} open import Function open import Data.Nat.Base open import Data.Bool.Base open import Data.Product {-# NO_POSITIVITY_CHECK #-} record IFix {I : Set} (F : (I -> Set) -> I -> Set) (i : I) : Set where constructor wrap field unwrap : F (IFix F) i o...
tests/testcases/zmq-tests-testcases.ads
persan/zeromq-Ada
33
27376
package ZMQ.Tests.TestCases is pragma Preelaborate; end ZMQ.Tests.TestCases;