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
src/main/antlr/IgnoredTokensLexer.g4
AmartC/shr-grammar
0
49
<reponame>AmartC/shr-grammar<filename>src/main/antlr/IgnoredTokensLexer.g4<gh_stars>0 lexer grammar IgnoredTokensLexer; // Common Lexer Definitions for tokens we generally ignore // Used by SHRDataElementLexer, SHRMapLexer, and SHRValueSetLexer WS: [ \r\t] -> channel(HIDDEN); NEWLINE: '\n' -...
source/image/required/s-widlli.ads
ytomino/drake
33
15319
<reponame>ytomino/drake pragma License (Unrestricted); -- implementation unit required by compiler package System.Wid_LLI is pragma Pure; -- required for Long_Long_Integer'Width by compiler (s-widlli.ads) function Width_Long_Long_Integer (Lo, Hi : Long_Long_Integer) return Natural; end System.Wid_LLI...
orka/src/orka/implementation/orka-resources-loader.adb
onox/orka
52
8073
<filename>orka/src/orka/implementation/orka-resources-loader.adb -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2018 onox <<EMAIL>> -- -- 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 L...
projects/pngoptimizer/win/trick-vs10.asm
hadrien-psydk/pngoptimizer
90
104021
; This file is a trick to redirect EncodePointer and DecodePointer functions ; that are available only since WinXP SP2. This way we stay compatible with ; older Windows version. This trick does not apply to x64 builds. .model flat .data __imp__EncodePointer@4 dd dummy __imp__DecodePointer@4 dd dummy EXTERNDE...
src/tools/attilaASM/input/red_cube.asm
Lycheus/GLSL-ATTILA
0
95396
<filename>src/tools/attilaASM/input/red_cube.asm add r0, r1, 102 stv r0, r1, 102 add r0, r1, 20 mov r1, c0 stv r0, r1, 0 ldv r3, r0, 0 add r0, r3, 9 stv r0, c0, 100 ldv r0, r1, 109 dp4 r0.x, i0, c0 dp4 r0.y, i0, c1 dp4 r0.z, i0, c2 dp4 r0.w, i0, c3 dp4 o0.x, r0, c4 dp4 o0.y, r0, c5 dp4 o0.z, r0, c6 dp4 o0.w, r0, c7
gcc-gcc-7_3_0-release/gcc/ada/gnatname.adb
best08618/asylo
7
7475
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
oeis/118/A118680.asm
neoneye/loda-programs
11
82536
; A118680: Numerator of determinant of n X n matrix with M(i,j) = (i+1)/i if i=j otherwise 1. ; Submitted by <NAME> ; 2,2,7,11,2,11,29,37,23,1,67,79,23,53,11,137,1,43,191,211,29,127,277,43,163,1,379,37,109,233,71,23,281,149,631,1,1,53,71,821,431,113,947,991,1,541,1129,107,613,1,1327,197,179,743,67,1597,827,107,1,1831,1...
music.asm
aerinon/z3randomizer
0
21432
;-------------------------------------------------------------------------------- PreOverworld_LoadProperties_ChooseMusic: ; A: scratch space (value never used) ; Y: set to overworld animated tileset ; X: set to music track/command id JSL.l FixFrogSmith ; Just a convenient spot to install this hook ...
Task/Bitmap/Ada/bitmap-3.ada
LaudateCorpus1/RosettaCodeData
1
4772
<reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Bitmap/Ada/bitmap-3.ada use Bitmap_Store; with Bitmap_Store; ... X : Image (1..64, 1..64); begin Fill (X, (255, 255, 255)); X (1, 2) := (R => 255, others => 0); X (3, 4) := X (1, 2);
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2290.asm
ljhsiun2/medusa
9
7199
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x92b3, %r12 and $26543, %rdi mov (%r12), %r15d nop nop nop add %r15, %r15 lea addresses_WC_ht+0x14d73, %rsi lea addresses_UC_ht+0xc773, %rdi nop nop nop nop nop add %...
programs/oeis/186/A186636.asm
karttu/loda
1
88321
; A186636: a(n) = n*(n^3+n^2+2*n+1). ; 0,5,34,129,356,805,1590,2849,4744,7461,11210,16225,22764,31109,41566,54465,70160,89029,111474,137921,168820,204645,245894,293089,346776,407525,475930,552609,638204,733381,838830,955265,1083424,1224069,1377986,1545985,1728900,1927589,2142934,2375841,2627240 mov $1,$0 mov $2,$0 add...
oeis/076/A076561.asm
neoneye/loda-programs
11
104671
<filename>oeis/076/A076561.asm ; A076561: a(1)=2; a(n>1)= greatest prime divisor of a(n-1) + n. ; Submitted by <NAME> ; 2,2,5,3,2,2,3,11,5,5,2,7,5,19,17,11,7,5,3,23,11,11,17,41,11,37,2,5,17,47,13,5,19,53,11,47,7,5,11,17,29,71,19,7,13,59,53,101,5,11,31,83,17,71,7,7,2,5,2,31,23,17,5,23,11,11,13,3,3,73,3,5,13,29,13,89,83,...
omingraffleFlexibleMagnets.applescript
LaurenceScotford/OmnigraffleFlexibleMagnets
0
1915
<reponame>LaurenceScotford/OmnigraffleFlexibleMagnets -- Add magnets to sides of rectangle -- <NAME> - October 2013 property num_mags : 6 -- number of magnets per side set {North, East, South, West} to {1, 2, 3, 4} -- Enumerator for identifying the sides set the_sides_list to {"North", "East", "South", "West"} -- List...
05_arraylistvsarray/SeqArrayAccess.asm
arnaudroger/blog_samples
0
4382
# JMH version: 1.19 # VM version: JDK 1.8.0_131, VM 25.131-b11 # VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java # VM options: <none> # Warmup: 20 iterations, 1 s each # Measurement: 20 iterations, 1 s each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Throughput...
agda/Heapsort/Impl1/Correctness/Permutation.agda
bgbianchi/sorting
6
17426
<gh_stars>1-10 {-# OPTIONS --sized-types #-} open import Relation.Binary.Core module Heapsort.Impl1.Correctness.Permutation {A : Set} (_≤_ : A → A → Set) (tot≤ : Total _≤_) (trans≤ : Transitive _≤_) where open import BBHeap _≤_ hiding (forget ; flatten) open imp...
tools/yasm/tests/nasm/global.asm
fasttr-org/ftr
0
14258
<filename>tools/yasm/tests/nasm/global.asm [common a 4] [global a] a:
core/lib/types/PushoutFmap.agda
timjb/HoTT-Agda
294
3926
{-# OPTIONS --without-K --rewriting #-} open import lib.Basics open import lib.cubical.Square open import lib.types.CommutingSquare open import lib.types.Paths open import lib.types.Pushout open import lib.types.Sigma open import lib.types.Span module lib.types.PushoutFmap where module PushoutFmap {i₀ j₀ k₀ i₁ j₁ k₁...
src/exprs-store.adb
aeszter/lox-spark
6
1320
separate (Exprs) procedure Store (The_Expr : Expr'Class; Result : out Expr_Handle; Success : out Boolean) is use Ada.Containers; use Storage; begin if Length (Container) >= Container.Capacity then Success := False; Result := 1; return; end if; Appen...
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/sqrt_fastcall.asm
Frodevan/z88dk
640
26700
SECTION code_fp_math32 PUBLIC _sqrt_fastcall EXTERN m32_fssqrt_fastcall defc _sqrt_fastcall = m32_fssqrt_fastcall
src/Generics/Mu/NoConfusion.agda
flupe/generics
11
10292
{-# OPTIONS --safe #-} open import Generics.Prelude open import Generics.Telescope open import Generics.Desc open import Generics.Mu open import Generics.Mu.All open import Data.Fin.Properties as Fin open import Data.Product.Properties open import Data.Empty open import Relation.Nullary module Generics.Mu.NoConfusio...
src/plfa/part1/Bin.agda
abolotina/plfa.github.io
0
3705
<filename>src/plfa/part1/Bin.agda module plfa.part1.Bin where import Relation.Binary.PropositionalEquality as Eq open Eq using (_≡_; refl; cong) open import Data.Nat using (ℕ; zero; suc; _*_; _+_) open import Data.Nat.Properties using (+-suc) data Bin : Set where ⟨⟩ : Bin _O : Bin → Bin _I : Bin → Bin inc : Bi...
macros.asm
tevoran/x86-Pong
0
175483
;macros ;definitions %define YELLOW 0x0E %define BLACK 0x00 %define RES_X 320 %define RES_Y 200 %define PLAYER1_X 20 %define PLAYER2_X 290 %define PLAYER_WIDTH 0x06 %define PLAYER_WIDTH_HALF 0x03 %define PLAYER_HEIGHT 0x20 %define PLAYER_LOWEST 168 %define PLAYER_HIGHEST 0xFFFF %define BALL_WIDTH 3 %define BALL_HEIGH...
test/interaction/Positivity-once.agda
shlevy/agda
1,989
12090
<reponame>shlevy/agda<gh_stars>1000+ -- The positivity checker should not be run twice for the same mutual -- block. (If we decide to turn Agda into a total program, then we may -- want to revise this decision.) {-# OPTIONS -vtc.pos.graph:5 #-} module Positivity-once where A : Set₁ module M where B : Set₁ B = ...
src/toml-file_io.adb
pmderodat/ada-toml
19
2644
<filename>src/toml-file_io.adb with Ada.Exceptions; with TOML.Generic_Dump; with TOML.Generic_Parse; package body TOML.File_IO is procedure Get (Stream : in out Ada.Text_IO.File_Type; EOF : out Boolean; Byte : out Character); -- Callback for Parse_File function Parse_File is new TOML...
examples/instance-arguments/01-arguments.agda
asr/agda-kanso
1
12397
<filename>examples/instance-arguments/01-arguments.agda -- {-# OPTIONS --verbose tc.constr.findInScope:15 #-} module 01-arguments where data T : Set where tt : T data A : Set where mkA : A mkA2 : T → A giveA : ⦃ a : A ⦄ → A giveA {{a}} = a test : A → T test a = tt test2 : T test2 = test giveA id : {A : Set...
ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibV7Support.asm
nicklela/edk2
3,012
19076
//------------------------------------------------------------------------------ // // Copyright (c) 2016, Linaro Limited. All rights reserved. // // SPDX-License-Identifier: BSD-2-Clause-Patent // //------------------------------------------------------------------------------ INCLUDE AsmMacroExport.i...
bb-runtimes/src/s-bbbosu__leon.adb
JCGobbi/Nucleo-STM32G474RE
0
7128
<filename>bb-runtimes/src/s-bbbosu__leon.adb ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- ...
vasm/test.asm
Braxoia/Altair
1
173202
lddma $3[r58],$5[r62] stdma $0[r58],$F[r62]
libtool/src/gmp-6.1.2/mpn/x86/k6/mmx/lshift.asm
kroggen/aergo
1,602
161093
<reponame>kroggen/aergo<gh_stars>1000+ dnl AMD K6 mpn_lshift -- mpn left shift. dnl Copyright 1999, 2000, 2002 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl ...
Driver/Font/FontCom/fontcomUtils.asm
steakknife/pcgeos
504
28731
<filename>Driver/Font/FontCom/fontcomUtils.asm<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC/GEOS MODULE: fontcomUtils.asm FILE: fontcomUtils.asm AUTHOR: <NAME>, Feb 5, 1992 ROUTINES: N...
arch/ARM/STM32/drivers/stm32-pwm.adb
bosepchuk/Ada_Drivers_Library
6
12201
<filename>arch/ARM/STM32/drivers/stm32-pwm.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- ...
sandbox.asm
joshuadhowe/z3randomizer
0
83438
;-------------------------------------------------------------------------------- ;Dungeon Music ;org $02D592 ; PC 0x15592 ;11 - Pendant Dungeon ;16 - Crystal Dungeon ; ;org $02D592+$08 ;Music_Eastern: ;db $11 ; ;org $02D592+$09 ;Music_Desert: ;db $16, $16, $16, $16 ; ;org $02D592+$33 ;Music_Hera: ;db $16 ;org $02907A ...
libsrc/_DEVELOPMENT/fcntl/c/sdcc_ix/vioctl_callee.asm
jpoikela/z88dk
640
98929
; int vioctl_callee(int fd, uint16_t request, void *arg) SECTION code_clib SECTION code_fcntl PUBLIC _vioctl_callee, l0_vioctl_callee EXTERN asm_vioctl _vioctl_callee: pop af pop hl pop bc pop de push af l0_vioctl_callee: push ix call asm_vioctl pop ix ret
24Oct2019/task4.asm
candh/8086-programs
0
6224
.model small .stack 100h .data row db "**********",0Dh,0Ah,"$" .code main proc mov ax, @data mov ds, ax mov ah, 9 mov cx, 10 loop: lea dx, row int 21h dec cx jnz loop mov ax, 4C00h int 21h main endp end main
Lens/Pair.agda
oisdk/agda-playground
6
9562
{-# OPTIONS --cubical --safe --postfix-projections #-} module Lens.Pair where open import Prelude open import Lens.Definition ⦅fst⦆ : Lens (A × B) A ⦅fst⦆ .fst (x , y) = lens-part x (_, y) ⦅fst⦆ .snd .get-set s v i = v ⦅fst⦆ .snd .set-get s i = s ⦅fst⦆ .snd .set-set s v₁ v₂ i = v₂ , s .snd ⦅snd⦆ : Lens (A × B) B ⦅s...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1349.asm
ljhsiun2/medusa
9
19738
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x888e, %rsi lea addresses_UC_ht+0x37ef, %rdi nop inc %r14 mov $100, %rcx rep movsw nop nop and $28437, %rdx lea addresses_D_ht+0x134c5, %r10 nop sub...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca.log_21829_933.asm
ljhsiun2/medusa
9
11527
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x73f2, %rsi lea addresses_WC_ht+0x791c, %rdi nop nop nop add $62815, %r12 mov $25, %rcx rep movsb nop nop cmp %r11, %r11 lea addresses_A_ht+0x17a4a, %r10 nop nop cmp %r9, %r9 ...
Task2_v1.1.asm
OliverHeib/Assembaly-code
0
29945
.text addi $s0, $zero, 2 #initiating division number #inputting ID li $v0, 5 #syscall number for inputting an integer syscall add $s1, $v0, $zero #copying the input to another register #dividing by 2 div $s1, $s0 #dividing input by 2 #outputting ID mflo $a0 # moving the quotient to anothere register li $v0, 1 #sysca...
oeis/087/A087463.asm
neoneye/loda-programs
11
9732
; A087463: Generalized multiplicative Jacobsthal sequence. ; Submitted by <NAME> ; 0,1,1,0,5,11,0,43,85,0,341,683,0,2731,5461,0,21845,43691,0,174763,349525,0,1398101,2796203,0,11184811,22369621,0,89478485,178956971,0,715827883,1431655765,0,5726623061,11453246123,0,45812984491,91625968981,0,366503875925,733007751851,0,2...
src/caches.ads
HeisenbugLtd/cache-sim
0
12386
<reponame>HeisenbugLtd/cache-sim ------------------------------------------------------------------------------ -- Copyright (C) 2012-2020 by Heisenbug Ltd. -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as publi...
src/keystore-files.adb
My-Colaborations/ada-keystore
25
9233
<filename>src/keystore-files.adb ----------------------------------------------------------------------- -- keystore-files -- Ada keystore files -- Copyright (C) 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file excep...
test/Fail/Issue1194m.agda
cruhland/agda
1,989
1752
<reponame>cruhland/agda module _ where postulate D : Set module A where infixr 5 _∷_ postulate _∷_ : Set₁ → D → D module B where infix 5 _∷_ postulate _∷_ : Set₁ → Set₁ → D open A open B foo : D foo = Set ∷ Set -- Expected error: -- -- <preciseErrorLocation> -- Ambiguous name _∷_. It could ref...
agda-stdlib/README/Data/Nat.agda
DreamLinuxer/popl21-artifact
5
15824
------------------------------------------------------------------------ -- The Agda standard library -- -- Some examples showing where the natural numbers and some related -- operations and properties are defined, and how they can be used ------------------------------------------------------------------------ {-# OP...
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-awk.ads
djamal2727/Main-Bearing-Analytical-Model
0
10786
<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-awk.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
LegacyWindows/Win98/Win98.Yobe.24576.asm
slowy07/malwareCode
3
3329
?????????????????????????????????????????????????????????????????[yobe.asm]??? ; ??????? ??????? ??????? ; ??? ??? ??? ??? ??? ??? ; Win98.Yobe.24576 ?????? ??????? ??????? ; by Benny/29A ...
libsrc/_DEVELOPMENT/compress/zx0/c/sdcc/dzx0_standard.asm
ahjelm/z88dk
640
90295
; void dzx0_standard(void *src, void *dst) SECTION code_clib SECTION code_compress_zx0 PUBLIC _dzx0_standard EXTERN asm_dzx0_standard _dzx0_standard: pop af pop hl pop de push de push hl push af jp asm_dzx0_standard
src/tk/tk-wm.adb
thindil/tashy2
2
1705
-- Copyright (c) 2021 <NAME> <<EMAIL>> -- -- 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 agre...
Antlr/test1.g4
knoxaramav2/KCC
0
1000
<gh_stars>0 grammar test1; /* * Lexer Rules */ /* IF : 'if' ; THEN : 'then'; AND : 'and' ; OR : 'or' ; TRUE : 'true' ; FALSE : 'false' ; MULT : '*' ; DIV : '/' ; PLUS : '+' ; MINUS : '-' ; GT : '>' ; GE : '>=' ; LT : '<' ; LE : '<=' ; EQ : '=' ; LPAREN : '(' ; RPAREN : ')' ; ...
programs/oeis/153/A153814.asm
neoneye/loda
22
103277
; A153814: a(n) = 1001*n. ; 1001,2002,3003,4004,5005,6006,7007,8008,9009,10010,11011,12012,13013,14014,15015,16016,17017,18018,19019,20020,21021,22022,23023,24024,25025,26026,27027,28028,29029,30030,31031,32032,33033,34034,35035,36036,37037,38038,39039,40040,41041,42042,43043,44044,45045,46046,47047,48048,49049,50050,5...
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_sm_/i3-7100_9_0x84_notsx.log_21829_342.asm
ljhsiun2/medusa
9
241372
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1e11, %rsi lea addresses_WT_ht+0x11f1, %rdi nop and %r11, %r11 mov $15, %rcx rep movsl nop nop nop nop nop mfence lea addresses_A_ht+0x2b40, %rsi nop nop nop add $4784, %rbp and $0xffffffff...
src/drivers/emulations/OPN2OnOPNATurboRPCM.asm
sharksym/vgmplay-sharksym
6
104614
<filename>src/drivers/emulations/OPN2OnOPNATurboRPCM.asm ; ; OPN2 on OPNA + turboR PCM driver ; OPN2OnOPNATurboRPCM_CLOCK: equ 7670453 OPN2OnOPNATurboRPCM: MACRO super: Driver Device_noName, OPN2OnOPNATurboRPCM_CLOCK, OPN2OnOPNATurboRPCM_PrintInfoImpl opnaDriver: dw 0 turboRPCMDriver: dw 0 frequencyMSBs: ds ...
source/streams/a-iomode.ads
ytomino/drake
33
18185
pragma License (Unrestricted); -- extended unit package Ada.IO_Modes is -- Root types of File_Mode and for the parameters Form. pragma Pure; type File_Mode is (In_File, Out_File, Append_File); type Inout_File_Mode is (In_File, Inout_File, Out_File); -- Direct_IO -- the types for the parameters Form ...
util/menus/getexts.asm
olifink/smsqe
0
15575
<filename>util/menus/getexts.asm ; Read all extensions into table 1994 <NAME> section utility include dev8_mac_xref include dev8_keys_thg xdef mu_getexts ; get pre-defined extensions ;+++ ; Reads all eight pre-defined extensions into a table. The table has to be ; 64 bytes long, every entry containing a word l...
test/Fail/Erased-cubical-Module-application/Cubical.agda
cagix/agda
1,989
8204
<reponame>cagix/agda {-# OPTIONS --cubical #-} module Erased-cubical-Module-application.Cubical (_ : Set₁) where open import Agda.Builtin.Cubical.Path data ∥_∥ (A : Set) : Set where ∣_∣ : A → ∥ A ∥ trivial : (x y : ∥ A ∥) → x ≡ y
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm1/zel_label.asm
prismotizm/gigaleak
0
242432
Name: zel_label.asm Type: file Size: 17565 Last-Modified: '2016-05-13T04:23:03Z' SHA-1: FDFF0FAEEAEDAEF1B8F50542B10EAE94E961A17B Description: null
Task/Arithmetic-Integer/Ada/arithmetic-integer.ada
LaudateCorpus1/RosettaCodeData
1
11243
<filename>Task/Arithmetic-Integer/Ada/arithmetic-integer.ada with Ada.Text_Io; with Ada.Integer_Text_IO; procedure Integer_Arithmetic is use Ada.Text_IO; use Ada.Integer_Text_Io; A, B : Integer; begin Get(A); Get(B); Put_Line("a+b = " & Integer'Image(A + B)); Put_Line("a-b = " & Integer'Image(A -...
source/nodes/program-nodes-modular_types.adb
reznikmm/gela
0
13134
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Modular_Types is function Create (Mod_Token : not null Program.Lexical_Elements.Lexical_Element_Access; Modulus : not null Progra...
tests/testAssembler/testCases/prog2.asm
1sand0s/Lc3B-Assembler
0
11445
<reponame>1sand0s/Lc3B-Assembler<gh_stars>0 .ORIG x4000 MAIN LEA R2,L0 JSRR R2 JSR L1 HALT L0 ADD R0,R0,#5 RET L1 ADD R1,R1,#5 RET .END
src/main/antlr/GraphqlOperation.g4
juhovh/graphql-java
1
2055
grammar GraphqlOperation; import GraphqlCommon; operationDefinition: selectionSet | operationType name? variableDefinitions? directives? selectionSet; variableDefinitions : '(' variableDefinition+ ')'; variableDefinition : variable ':' type defaultValue?; selectionSet : '{' selection+ '}'; selection : field | f...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c97301a.ada
best08618/asylo
7
16018
-- C97301A.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. -- Unlimit...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_219.asm
ljhsiun2/medusa
9
95748
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x2272, %rsi lea addresses_UC_ht+0x187dc, %rdi nop nop nop nop nop sub %r12, %r12 mov $40, %rcx rep movsb nop nop nop nop nop add %rsi, %rsi lea addresses_WT_ht+0x19fdc, %rbp nop...
src/gdnative-console.ads
persan/gdnative_ada
10
25968
<gh_stars>1-10 package GDNative.Console is --------- -- Put -- --------- procedure Put (Item : in Wide_String); end;
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_9616_1742.asm
ljhsiun2/medusa
9
240899
<filename>Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_9616_1742.asm .global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0xff64, %rsi lea addresses_D_ht+0x18954, %rdi nop cmp %r15, %r15 mov $68, %rcx rep movsq nop nop cmp $51803...
source/amf/uml/amf-internals-uml_package_imports.ads
svn2github/matreshka
24
14234
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
arch/lib/string/string_reverse.asm
Mosseridan/Compiler-Principles
0
176970
/* string_reverse.asm * Takes a pointer to a null-terminated string, * and reverses it in place. * * Programmer: <NAME>, 2010 */ STRING_REVERSE: MOV(R1, STARG(0)); PUSH(R1); CALL(STRLEN); POP(R2); DECR(R0); ADD(R0, STARG(0)); MOV(R1, STARG(0)); L_STRING_REVERSE_0: CMP(R1, R0); JUMP_GE(L_STRI...
TimeSpace.agda
JacquesCarette/pi-dual
14
1105
module TimeSpace where open import Prelude as P hiding ( [_] ; id ; _∘_ ; _***_ ) open import Container.List open import Pi.Util {- A universe of finite types. -} data U : Set where 𝟘 𝟙 : U _⊕_ _⊗_ : U → U → U infixr 6 _⊕_ infixr 7 _⊗_ {- A collection of "primi...
Task/Count-the-coins/Ada/count-the-coins.ada
LaudateCorpus1/RosettaCodeData
1
617
with Ada.Text_IO; procedure Count_The_Coins is type Counter_Type is range 0 .. 2**63-1; -- works with gnat type Coin_List is array(Positive range <>) of Positive; function Count(Goal: Natural; Coins: Coin_List) return Counter_Type is Cnt: array(0 .. Goal) of Counter_Type := (0 => 1, others => 0); ...
data/pokemon/unown_pic_pointers.asm
Dev727/ancientplatinum
28
29440
<reponame>Dev727/ancientplatinum<filename>data/pokemon/unown_pic_pointers.asm UnownPicPointers:: ; entries correspond to Unown letters, two apiece dba UnownAFrontpic dba UnownABackpic dba UnownBFrontpic dba UnownBBackpic dba UnownCFrontpic dba UnownCBackpic dba UnownDFrontpic dba UnownDBackpic dba UnownEFrontp...
oeis/138/A138674.asm
neoneye/loda-programs
11
175874
<reponame>neoneye/loda-programs ; A138674: Prime(n)^5 mod prime(n-1). ; Submitted by <NAME> ; 1,2,2,2,10,10,15,17,2,3,26,25,32,35,21,38,32,29,19,32,38,76,57,16,54,32,97,32,43,57,8,47,32,59,32,75,83,46,94,164,32,88,32,59,32,82,63,132,32 mov $2,$0 add $0,1 seq $0,40 ; The prime numbers. pow $0,5 seq $2,40 ; The prime nu...
3° Período/Arquiterura-e-Organiza-o-de-Computadores/Operações Básicas MIPS 1.asm
sullyvan15/UVV
0
244341
.data out_string: .ascii "\nHello, World!\n" .text main: li $v0, 4 la $a0, out_string syscall
src/tcg-maps-render.adb
Fabien-Chouteau/tiled-code-gen
1
14868
------------------------------------------------------------------------------ -- -- -- tiled-code-gen -- -- -- -- ...
test/Fail/Issue5434-4.agda
KDr2/agda
0
10658
<filename>test/Fail/Issue5434-4.agda {-# OPTIONS --cubical-compatible #-} mutual record R : Set₁ where constructor c field @0 A : Set x : _ _ : (@0 A : Set) → A → R _ = c
Transynther/x86/_processed/AVXALIGN/_st_zr_/i7-7700_9_0xca_notsx.log_12_74.asm
ljhsiun2/medusa
9
8570
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_st_zr_/i7-7700_9_0xca_notsx.log_12_74.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xc2b8, %r11 add $16230, %rbp movb (%r11), %r13b nop...
programs/oeis/007/A007997.asm
karttu/loda
1
6133
; A007997: a(n) = ceiling((n-3)(n-4)/6). ; 0,0,1,1,2,4,5,7,10,12,15,19,22,26,31,35,40,46,51,57,64,70,77,85,92,100,109,117,126,136,145,155,166,176,187,199,210,222,235,247,260,274,287,301,316,330,345,361,376,392,409,425,442,460,477,495,514,532,551,571,590,610,631,651,672,694,715,737,760,782,805,829,852,876,901,925,950,97...
base/mvdm/wow16/mmsystem/stack.asm
npocmaka/Windows-Server-2003
17
24296
page 80,132 ;***************************************************************************; ; ; STACK.ASM ; ; Copyright (c) Microsoft Corporation 1989, 1990. All rights reserved. ; ; This module contains a routine that calls a callback function on a ; internal stack. This is designed to be used by MM...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_1725.asm
ljhsiun2/medusa
9
13943
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x34e1, %rsi lea addresses_WT_ht+0xf21, %rdi nop nop nop and %rbp, %rbp mov $55, %rcx rep movsl nop xor $34287, %r10 lea addresses_normal_ht+0x1d275, %rdx nop nop...
src/spat-flow_item.ads
yannickmoy/spat
0
3046
<gh_stars>0 ------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hoce...
test/Fail/Issue1362.agda
shlevy/agda
1,989
12530
module Issue1362 where open import Common.Prelude open import Common.Equality open import Common.Reflection module M₁ (A₁ : Set) where data D (B : Set) : Set where type₁ : TC Type type₁ = getType (quote D) module M₂ (A₂ : Set) where open M₁ A₂ type₂ : TC Type type₂ = getType (quote D) open M₁ Nat op...
alloy4fun_models/trashltl/models/3/5iit2ZNkjmLF5W6kF.als
Kaixi26/org.alloytools.alloy
0
5053
open main pred id5iit2ZNkjmLF5W6kF_prop4 { some File && no Trash eventually some Trash } pred __repair { id5iit2ZNkjmLF5W6kF_prop4 } check __repair { id5iit2ZNkjmLF5W6kF_prop4 <=> prop4o }
programs/oeis/263/A263537.asm
jmorken/loda
1
100235
; A263537: Integers k such that A098531(k) is divisible by A000071(k+2). ; 1,2,13,25,31,43,55,61,73,85,91,103,115,121,133,145,151,163,175,181,193,205,211,223,235,241,253,265,271,283,295,301,313,325,331,343,355,361,373,385,391,403,415,421,433,445,451,463,475,481,493,505,511,523,535,541,553,565,571,583,595,601,613,625,63...
libpok/ada/arinc653/apex-queuing_ports.ads
samueltardieu/pok
1
27911
<filename>libpok/ada/arinc653/apex-queuing_ports.ads -- POK header -- -- The following file is a part of the POK project. Any modification should -- be made according to the POK licence. You CANNOT use this file or a part -- of a file for your own project. -- -- For more information on the...
Library/SpecUI/CommonUI/CItem/citemScrollableItem.asm
steakknife/pcgeos
504
244246
<reponame>steakknife/pcgeos COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: CommonUI/COpen (common code for several specific UIs) FILE: copenScrollableItem.asm ROUTINES: Name Description ---- ...
alloy4fun_models/trainstlt/models/0/xNPKutuphbHiqrHQW.als
Kaixi26/org.alloytools.alloy
0
946
open main pred idxNPKutuphbHiqrHQW_prop1 { always (all t:Entry | Green not in signal.t) } pred __repair { idxNPKutuphbHiqrHQW_prop1 } check __repair { idxNPKutuphbHiqrHQW_prop1 <=> prop1o }
source/nodes/program-nodes-string_literals.ads
reznikmm/gela
0
23837
<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.String_Literals; with Program.Element_Visitors; package Program.Nodes.String_Literals is pragma Preel...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/ext1.ads
best08618/asylo
7
12255
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/ext1.ads package ext1 is type I_Smiley is interface; procedure Set_Mood (Obj : out I_Smiley) is abstract; -- type Smiley (Max : Positive) is abstract new I_Smiley with record S : String (1 .. Max); end record; -- type Regular_...
oeis/048/A048918.asm
neoneye/loda-programs
11
97635
; A048918: 9-gonal hexagonal numbers. ; Submitted by <NAME> ; 1,325,5330229625,1353857339341,22184715227362706161,5634830324997758086741,92334031424171069457850940521,23452480456295952079681300143325,384299427405961840930468013697980089825,97610541547790513644729906482502335077221,15994758121856368324799630883063838086...
oeis/188/A188468.asm
neoneye/loda-programs
11
176044
<reponame>neoneye/loda-programs ; A188468: Positions of 0 in A188467. ; Submitted by <NAME> ; 2,4,5,7,10,12,13,15,18,20,23,25,26,28,31,33,34,36,39,41,44,46,47,49,52,54,57,59,60,62,65,67,68,70,73,75,78,80,81,83,86,88,89,91,94,96,99,101,102,104,107,109,112,114,115,117,120,122,123,125,128,130,133,135,136,138,141,143,146,1...
libsrc/math/zxmath/sinh.asm
andydansby/z88dk-mk2
1
8262
; ; ; ZX Maths Routines ; ; 21/03/03 - <NAME> ; ; $Id: sinh.asm,v 1.2 2009/06/22 21:44:17 dom Exp $ ; ;double sinh(double) ; e = exp(x) ; ; return ((e-1.0/e)/2) ; IF FORzx INCLUDE "zxfp.def" ELSE INCLUDE "81fp.def" ENDIF XLIB sinh LIB fsetup1 ...
programs/oeis/257/A257055.asm
karttu/loda
1
165793
<gh_stars>1-10 ; A257055: a(n) = n*(n + 1)*(n^2 - n + 3)/6. ; 0,1,5,18,50,115,231,420,708,1125,1705,2486,3510,4823,6475,8520,11016,14025,17613,21850,26810,32571,39215,46828,55500,65325,76401,88830,102718,118175,135315,154256,175120,198033,223125,250530,280386,312835,348023,386100,427220,471541,519225,570438,625350,6841...
Assembler/lib/term.asm
Rohansi/LoonyVM
1
243925
<reponame>Rohansi/LoonyVM ; print a character to the terminal ; void printChar(byte c) printChar: push bp mov bp, sp push r0 push r1 push r2 push r3 mov r0, byte [bp + 8] mov r1, [termX] mov r2, [termY] .backspaceCheck: cmp r0, 8 ; \b jne .xCheck dec r1 cmp r1, 0 ...
projects/batfish/src/main/antlr4/org/batfish/grammar/palo_alto/PaloAlto_profiles.g4
jeffkala/batfish
0
7458
parser grammar PaloAlto_profiles; import PaloAlto_common; options { tokenVocab = PaloAltoLexer; } s_profiles: PROFILES sp; sp : sp_custom_url_category | sp_data_filtering | sp_data_objects | sp_decryption | sp_dos_protection | sp_file_blocking | sp_gtp | sp_hip_objects | sp_h...
Source/ALL/Languages/ILL/TypeSyntax.agda
heades/Agda-LLS
3
7328
module Languages.ILL.TypeSyntax where open import bool open import Utils.HaskellTypes {-# IMPORT Languages.ILL.TypeSyntax #-} data Type : Set where TVar : String → Type Top : Type Imp : Type → Type → Type Tensor : Type → Type → Type Bang : Type → Type {-# COMPILED_DATA Type Languages.ILL.TypeSyntax.Type ...
programs/oeis/053/A053733.asm
karttu/loda
1
163118
<filename>programs/oeis/053/A053733.asm ; A053733: a(n) = ceiling(binomial(n,9)/n). ; 0,0,0,0,0,0,0,0,1,1,5,19,55,143,334,715,1430,2702,4862,8398,13997,22610,35530,54480,81719,120175,173587,246675,345345,476905,650325,876525,1168700,1542684,2017356,2615092,3362260,4289780,5433722,6835972,8544965,10616472,13114465,16112...
programs/oeis/010/A010020.asm
neoneye/loda
22
83152
; A010020: a(0) = 1, a(n) = 31*n^2 + 2 for n>0. ; 1,33,126,281,498,777,1118,1521,1986,2513,3102,3753,4466,5241,6078,6977,7938,8961,10046,11193,12402,13673,15006,16401,17858,19377,20958,22601,24306,26073,27902,29793,31746,33761,35838,37977,40178,42441,44766,47153,49602,52113,54686,57321,60018,62777,65598,68481,71426,744...
Software/rom/01_first_prg/first_program.asm
dbuchwald/Z80DevBoard
2
175422
<filename>Software/rom/01_first_prg/first_program.asm org 0x0000 start: include "init.inc" ld HL, 0x0200 loop: ld (HL), 0x55 ld (HL), 0xaa jp loop
programs/oeis/155/A155645.asm
neoneye/loda
22
100298
; A155645: 7^n+6^n-1. ; 1,12,84,558,3696,24582,164304,1103478,7444416,50431302,342941424,2340123798,16018069536,109949704422,756587236944,5217746494518,36054040477056,249557173431942,1729973554578864,12008254925383638 mov $1,6 pow $1,$0 mov $2,7 pow $2,$0 add $1,$2 sub $1,1 mov $0,$1
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-cofuse.adb
orb-zhuchen/Orb
0
13911
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_206_1648.asm
ljhsiun2/medusa
9
2595
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r8 push %rbx push %rdi lea addresses_normal_ht+0x10772, %r12 nop xor $17279, %r10 movb (%r12), %r14b nop nop nop inc %r10 lea addresses_WC_ht+0xfa0, %r8 clflush (%r8) nop nop nop nop dec %rdi mov $0x61626364656667...
programs/oeis/203/A203232.asm
neoneye/loda
22
27403
; A203232: (n-1)-st elementary symmetric function of the first n terms of the periodic sequence (2,3,2,3,2,3,...). ; 1,5,16,60,156,540,1296,4320,9936,32400,72576,233280,513216,1632960,3545856,11197440,24074496,75582720,161243136,503884800,1068235776,3325639680,7014076416,21767823360,45712429056,141490851840 add $0,1 s...
src/game-saveload.adb
thindil/steamsky
80
7121
-- Copyright 2017-2021 <NAME> -- -- This file is part of Steam Sky. -- -- Steam Sky 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 3 of the License, or -- (at your option) a...