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
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_xr/CiscoXr_lldp.g4
pranavbj-amzn/batfish
763
5039
parser grammar CiscoXr_lldp; import CiscoXr_common; options { tokenVocab = CiscoXrLexer; } s_lldp: LLDP NEWLINE lldp_inner*; lldp_inner : lldp_null | lldp_tlv_select ; lldp_null : ( EXTENDED_SHOW_WIDTH | HOLDTIME | REINIT | SUBINTERFACES | TIMER ) null_rest_of_line ; lldp_tlv_select...
mc-sema/validator/x86_64/tests/FIADDm32.asm
randolphwong/mcsema
2
87957
BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_FPU_PE|FLAG_FPU_C1 ;TEST_FILE_META_END ; set up st0 to be PI FLDPI ;TEST_BEGIN_RECORDING lea rdi, [rsp-08] mov dword [rdi], 0x10000 FIADD dword [rdi] mov edi, 0x0 ;TEST_END_RECORDING
src/main/resources/adder.asm
kleinesfilmroellchen/ToyCpuEmulator
0
87550
<filename>src/main/resources/adder.asm load 30,a load 50,b add b out halt
src/are-installer-merges.adb
stcarrez/resource-embedder
7
3776
----------------------------------------------------------------------- -- are-installer-merges -- Web file merge -- Copyright (C) 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 Licens...
wof/lcs/123p/99.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
243547
<gh_stars>1-10 copyright zengfr site:http://github.com/zengfr/romhack 0079B0 move.b ($1a,PC,D0.w), ($99,A0) [123p+ 28, 123p+ 2A, enemy+28, enemy+2A] 0079B6 move.w ($8,A1), D1 [123p+ 99, enemy+99] 007E98 moveq #$0, D0 [123p+ 99, enemy+99] 007ECC bra $7ea4 007F2E move.b D0, ($99,A1) 007F32 bra $7ea2 ...
Project4/Sandbox/testmain3.asm
orrinjelo/virtual-machine
0
163646
<reponame>orrinjelo/virtual-machine<gh_stars>0 ; GLOBALS =========================================================== SIZE .INT 7 cnt .INT 7 tenth .INT 0 c .BYT 0 .BYT 0 .BYT 0 .BYT 0 .BYT 0 .BYT 0 ...
src/main/antlr4/imports/Directions.g4
Yucukof/edu-antlr4-toy-parser-to-nbc
0
155
lexer grammar Directions; NORTH: 'north'|'NORTH'; SOUTH: 'south'|'SOUTH'; EAST: 'east'|'EAST'; WEST: 'west'|'WEST';
programs/oeis/092/A092352.asm
neoneye/loda
22
99867
<reponame>neoneye/loda<filename>programs/oeis/092/A092352.asm ; A092352: G.f.: (1+3*x^3)/((1-x)^2*(1-x^3)^2). ; 1,2,3,9,15,21,36,51,66,94,122,150,195,240,285,351,417,483,574,665,756,876,996,1116,1269,1422,1575,1765,1955,2145,2376,2607,2838,3114,3390,3666,3991,4316,4641,5019,5397,5775,6210,6645,7080,7576,8072,8568,9129,...
kernel/compiler/dictionary.asm
paulscottrobson/color-forth-old-next
1
102379
<gh_stars>1-10 ; *************************************************************************************** ; *************************************************************************************** ; ; Name : dictionary.asm ; Author : <NAME> (<EMAIL>) ; Date : 7th December 2018 ; Purpose : Dictionary handler. ; ; ...
oeis/248/A248105.asm
neoneye/loda-programs
11
24468
<reponame>neoneye/loda-programs ; A248105: Positions of 1,0,1 in the Thue-Morse sequence (A010060). ; Submitted by <NAME> ; 3,12,15,20,27,36,43,48,51,60,63,68,75,80,83,92,99,108,111,116,123,132,139,144,147,156,163,172,175,180,187,192,195,204,207,212,219,228,235,240,243,252,255,260,267,272,275,284,291,300,303,308,315,32...
oeis/016/A016748.asm
neoneye/loda-programs
11
14249
; A016748: a(n) = (2*n)^8. ; 0,256,65536,1679616,16777216,100000000,429981696,1475789056,4294967296,11019960576,25600000000,54875873536,110075314176,208827064576,377801998336,656100000000,1099511627776,1785793904896,2821109907456,4347792138496,6553600000000,9682651996416,14048223625216,20047612231936,28179280429056,390...
testsuite/league/arguments_environment_test.adb
svn2github/matreshka
24
17915
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
libsrc/_DEVELOPMENT/stdlib/c/sccz80/atoll_callee.asm
ahjelm/z88dk
640
4719
; long long atoll(const char *buf) SECTION code_clib SECTION code_stdlib PUBLIC atoll_callee EXTERN asm_atoll, l_store_64_dehldehl_mbc atoll_callee: pop hl pop bc ex (sp),hl push ix push bc ; save result * call asm_atoll pop bc ; bc = result *...
ironman_reactor.asm
mike-bourgeous/led_reactor
1
25669
<filename>ironman_reactor.asm ; ----------------------------------------------------------------------- ; Iron Man-style reactor LED controller ; (C)2010 <NAME> #include <p12f508.inc> ; ----------------------------------------------------------------------- ; Configuration bits: adapt to your setup and needs _...
tools-src/gnu/gcc/gcc/ada/widechar.adb
enfoTek/tomato.linksys.e2000.nvram-mod
80
27733
<reponame>enfoTek/tomato.linksys.e2000.nvram-mod ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
programs/oeis/030/A030101.asm
karttu/loda
0
90644
<filename>programs/oeis/030/A030101.asm ; A030101: a(n) is the number produced when n is converted to binary digits, the binary digits are reversed and then converted back into a decimal number. ; 0,1,1,3,1,5,3,7,1,9,5,13,3,11,7,15,1,17,9,25,5,21,13,29,3,19,11,27,7,23,15,31,1,33,17,49,9,41,25,57,5,37,21,53,13,45,29,61,...
oeis/007/A007160.asm
neoneye/loda-programs
11
246390
<gh_stars>10-100 ; A007160: Number of diagonal dissections of a convex (n+6)-gon into n regions. ; Submitted by <NAME>(s2) ; 1,20,225,1925,14014,91728,556920,3197700,17587350,93486536,483367885,2442687975,12109051500,59053512000,283963030560,1348824395160,6338392712550,29503515951000,136173391604250,623760137794794,283...
src/commands-generate.adb
GLADORG/glad-cli
0
10079
<filename>src/commands-generate.adb with Ada.Containers; use Ada.Containers; with Ada.Directories; use Ada.Directories; with Blueprint; use Blueprint; with AAA.Strings; use AAA.Strings; with Ada.Text_IO; with Ada.Command_Line; with Templates_Parser; with CLIC.TTY; with Filesystem; with Commands; package bod...
Library/Kernel/Graphics/graphicsFontDriver.asm
steakknife/pcgeos
504
21749
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC/GEOS MODULE: graphicsFontDriver.asm FILE: graphicsFontDriver.asm AUTHOR: <NAME>, Mar 3, 1992 ROUTINES: Name Description ---- ----------- GLB GrCal...
Data/Tuple/Equiv/Id.agda
Lolirofle/stuff-in-agda
6
16427
<filename>Data/Tuple/Equiv/Id.agda module Data.Tuple.Equiv.Id where import Lvl open import Data.Tuple as Tuple using (_⨯_ ; _,_) open import Data.Tuple.Equiv open import Relator.Equals open import Relator.Equals.Proofs.Equiv open import Structure.Function open import Structure.Function.Domain open import Structur...
IceCube/IceCube.help/Contents/Resources/scripts/RunBuildAll.scpt
algi/icecube
1
4073
<gh_stars>1-10 on «event helphdhp» tell application "IceCube" repeat with projectItem in every project run project projectItem end repeat end tell end «event helphdhp»
data/mapObjects/pokemontower6.asm
etdv-thevoid/pokemon-rgb-enhanced
1
16500
PokemonTower6Object: db $1 ; border block db $2 ; warps db $9, $12, $1, POKEMONTOWER_5 db $10, $9, $0, POKEMONTOWER_7 db $0 ; signs db $5 ; objects object SPRITE_MEDIUM, $c, $a, STAY, RIGHT, $1, OPP_CHANNELER, $b object SPRITE_MEDIUM, $9, $5, STAY, DOWN, $2, OPP_CHANNELER, $c object SPRITE_MEDIUM, $10, $5, ...
theorems/experimental/TwoConstancy.agda
cmknapp/HoTT-Agda
0
14749
<gh_stars>0 {-# OPTIONS --without-K #-} open import HoTT open import experimental.TwoConstancyHIT module experimental.TwoConstancy {i j} {A : Type i} {B : Type j} (B-is-gpd : is-gpd B) (f : A → B) (f-is-const₀ : ∀ a₁ a₂ → f a₁ == f a₂) (f-is-const₁ : ∀ a₁ a₂ a₃ → f-is-const₀ a₁ a₂ ∙' f-is-const₀ a₂ a₃ == ...
programs/oeis/213/A213036.asm
neoneye/loda
22
162229
<filename>programs/oeis/213/A213036.asm ; A213036: n^2-[2n/3]^2, where [] = floor. ; 0,1,3,5,12,16,20,33,39,45,64,72,80,105,115,125,156,168,180,217,231,245,288,304,320,369,387,405,460,480,500,561,583,605,672,696,720,793,819,845,924,952,980,1065,1095,1125,1216,1248,1280,1377,1411 mov $2,$0 lpb $2 add $1,$0 sub $0,1...
src/el-methods-proc_2.adb
My-Colaborations/ada-el
0
13674
<reponame>My-Colaborations/ada-el ----------------------------------------------------------------------- -- EL.Methods.Proc_2 -- Procedure Binding with 2 arguments -- Copyright (C) 2010, 2011, 2012, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
mailsendtotodoist.applescript
markgrovs/MailSendToTodoist
2
3166
property apiToken : "INSERT TODOIST API TOKEN HERE" property allProjects : {} property defaultProjectName : "Inbox" property appName : "Send to Todoist from Mac Mail" property appDomain : "us.markgroves" on alfred_script(q) set date_string to "" if q contains "d:" then -- pull out due date string set date_str...
Python/C5 - MIPS/T2 - binary.asm
mrbinx/mrbinx_python
0
1982
#FIT1008 Prac 5 Task 2 - <NAME> 25461257, <NAME> 25216384 .data prompt_input: .asciiz "Please input a positive integer: " prompt_error: .asciiz "Please enter a valid positive integer greater than zero." .text main: #copy $sp into $fp add $fp, $0, $sp j binary binary: #print input prompt la $a0, prompt_input ...
SOAS/Metatheory/SecondOrder/Unit.agda
JoeyEremondi/agda-soas
39
222
open import SOAS.Metatheory.Syntax -- Unit law of metasubstitution module SOAS.Metatheory.SecondOrder.Unit {T : Set}(Syn : Syntax {T}) where open Syntax Syn open import SOAS.Metatheory.FreeMonoid Syn open import SOAS.Metatheory.SecondOrder.Metasubstitution Syn open import SOAS.Families.Core {T} open import SOAS.C...
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_ch11.ads
djamal2727/Main-Bearing-Analytical-Model
0
13559
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
Appl/Preferences/PrefMgr/prefmgrApplication.asm
steakknife/pcgeos
504
86297
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: prefmgrApplication.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- ...
src/test/ref/struct-38.asm
jbrandwood/kickc
2
82333
<reponame>jbrandwood/kickc<filename>src/test/ref/struct-38.asm // Complex C-struct - copying a sub-struct with 2-byte members from C-standard layout to Unwound layout // Commodore 64 PRG executable file .file [name="struct-38.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .se...
src/ada/src/utils/bounded_dynamic_arrays.ads
VVCAS-Sean/OpenUxAS
88
6255
generic type Component is private; type List_Index is range <>; type List is array (List_Index range <>) of Component; Default_Value : Component; with function "=" (Left, Right : List) return Boolean is <>; package Bounded_Dynamic_Arrays is pragma Pure; Maximum_Length : constant List_Index := List...
orka/src/gl/interface/gl-rasterization.ads
onox/orka
52
25607
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2013 - 2014 <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/LICE...
test/interaction/Issue3264.agda
cruhland/agda
1,989
315
-- Andreas, 2018-10-15, issue #3264 reported by <NAME> -- Refine should not say "cannot refine" just because of a termination error. f : Set → Set f A = {!f!} -- C-c C-r -- EXPECTED ANSWER: -- -- ?1 : Set -- ———— Errors ———————————————————————————————————————————————— -- Termination checking failed for the followin...
src/Internals/protypo-code_trees-interpreter.ads
fintatarta/protypo
0
26106
<reponame>fintatarta/protypo with Protypo.Api.Symbols; with Protypo.Api.Consumers; with Protypo.Api.Engine_Values.Engine_Value_Vectors; with Ada.Containers.Doubly_Linked_Lists; package Protypo.Code_Trees.Interpreter is use Protypo.Api.Engine_Values; procedure Run (Program : Parsed_Code; ...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_368.asm
ljhsiun2/medusa
9
244593
<filename>Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_368.asm .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x2679, %r15 xor %rsi, %rsi and $0xffffffffffffffc0, %r15 movntdqa (%...
source/league/league-strings-debug.adb
svn2github/matreshka
24
24888
<reponame>svn2github/matreshka ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
programs/oeis/040/A040881.asm
karttu/loda
1
92301
; A040881: Continued fraction for sqrt(912). ; 30,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60,5,60 sub $0,1 mod $0,2 mul $0,11 add $0,2 pow $0,2 mov $1,$0 div $1,15 mul $1,5 add $1,5
template.asm
harshboi/Assembly-and-Computer-Architecture
0
347
<reponame>harshboi/Assembly-and-Computer-Architecture TITLE Program Template (template.asm) ; Author: <NAME> ; Course / Project ID: CS 271 Date: 1/26/2018 ; Description: Program 2 INCLUDE Irvine32.inc ;.386 ;.model flat,stdcall ;.stack 4096 ExitProcess proto,dwExitCode:dword _...
3-mid/opengl/source/lean/text/private/opengl-fontimpl.ads
charlie5/lace
20
8938
<reponame>charlie5/lace<gh_stars>10-100 with openGL.Glyph.Container, freetype.Face, freetype.charMap, Freetype_C, interfaces.C.Pointers; limited with openGL.Font; private with freetype.face_Size; package openGL.FontImpl -- -- Implements an openGL font. -- is type Item is tagged...
case-studies/performance/verification/alloy/ppc/tests/aclwdrr017.als
uwplse/memsynth
19
3793
<filename>case-studies/performance/verification/alloy/ppc/tests/aclwdrr017.als module tests/aclwdrr017 open program open model /** PPC aclwdrr017 "Fre SyncdWR Fre Rfe LwSyncdRR" Cycle=Fre SyncdWR Fre Rfe LwSyncdRR Relax=ACLwSyncdRR Safe=Fre SyncdWR { 0:r2=y; 0:r4=x; 1:r2=x; 2:r2=x; 2:r4=y; } P0 | P1 ...
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-rwops.ads
Lucretia/old_nehe_ada95
0
14754
-- ----------------------------------------------------------------- -- -- AdaSDL -- -- Binding to Simple Direct Media Layer -- -- Copyright (C) 2001 A.M.F.Vargas -- -- <NAME> ...
src/planets.adb
onox/orka-demo
3
11282
<gh_stars>1-10 with Ada.Numerics.Generic_Elementary_Functions; package body Planets is package EF is new Ada.Numerics.Generic_Elementary_Functions (Orka.Float_64); function Get_Vector (Latitude, Longitude : Orka.Float_64) return Matrices.Vectors.Vector4 is Lon_Rad : constant Orka.Float_64 := Matr...
libsrc/_DEVELOPMENT/adt/p_list/c/sdcc_iy/p_list_push_back_callee.asm
meesokim/z88dk
0
87392
; void *p_list_push_back_callee(p_list_t *list, void *item) SECTION code_adt_p_list PUBLIC _p_list_push_back_callee _p_list_push_back_callee: pop af pop hl pop de push af INCLUDE "adt/p_list/z80/asm_p_list_push_back.asm"
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_362_1970.asm
ljhsiun2/medusa
9
174759
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1c00d, %rcx nop nop sub $46784, %r14 movb $0x61, (%rcx) nop inc %r12 lea addresses_WT_ht+0x13a0d, %r14 nop nop and %rax, %rax movb (%r14), %r8b nop nop nop nop nop sub $15349...
test/asset/agda-stdlib-1.0/Data/Vec/Relation/Binary/Equality/Setoid.agda
omega12345/agda-mode
0
12724
<filename>test/asset/agda-stdlib-1.0/Data/Vec/Relation/Binary/Equality/Setoid.agda ------------------------------------------------------------------------ -- The Agda standard library -- -- Semi-heterogeneous vector equality over setoids ------------------------------------------------------------------------ {-# OPT...
polynomial/clenshaw/chebychev_quadrature.ads
jscparker/math_packages
30
10885
-- -- PACKAGE Chebychev_Quadrature -- -- The package provides tables and procedures for Gaussian quadrature -- based on Chebychev polynomials (Gaussian-Chebychev quadrature). -- The number of points used in the quadrature (callocation points) -- is the generic formal parameter: No_Of_Gauss_Points. -- -- Usually not the...
libsrc/osca/get_driver_list.asm
andydansby/z88dk-mk2
1
83245
; ; Old School Computer Architecture - interfacing FLOS ; <NAME>, 2011 ; ; Get pointer to driver table ; ; $Id: get_driver_list.asm,v 1.1 2011/08/03 08:13:40 stefano Exp $ ; INCLUDE "flos.def" XLIB get_driver_list get_driver_list: call kjt_get_device_info ld h,d ld l,e ret
src/Fragment/Equational/Model/Base.agda
yallop/agda-fragment
18
3746
{-# OPTIONS --without-K --exact-split --safe #-} open import Fragment.Equational.Theory module Fragment.Equational.Model.Base (Θ : Theory) where open import Fragment.Equational.Model.Satisfaction {Σ Θ} open import Fragment.Algebra.Algebra (Σ Θ) hiding (∥_∥/≈) open import Fragment.Algebra.Free (Σ Θ) open import Leve...
programs/oeis/005/A005881.asm
neoneye/loda
22
243247
<reponame>neoneye/loda<gh_stars>10-100 ; A005881: Theta series of planar hexagonal lattice (A2) with respect to edge. ; 2,2,0,4,2,0,4,0,0,4,4,0,2,2,0,4,0,0,4,4,0,4,0,0,6,0,0,0,4,0,4,4,0,4,0,0,4,2,0,4,2,0,0,0,0,8,4,0,4,0,0,4,0,0,4,4,0,0,4,0,2,0,0,4,4,0,8,0,0,4,0,0,0,6,0,4,0,0,4,0,0,4,0,0,6,4,0,4,0,0,4,4,0,0,4,0,4,0,0,4 ...
src/GUI/clock_window.ads
Fabien-Chouteau/coffee-clock
7
16690
<filename>src/GUI/clock_window.ads<gh_stars>1-10 ------------------------------------------------------------------------------- -- -- -- Coffee Clock -- -- ...
libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_frexp_callee.asm
jpoikela/z88dk
640
247836
; double __CALLEE__ frexp(double value, int *exp) SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sccz80_frexp_callee EXTERN cm48_sccz80p_dcallee1, am48_frexp cm48_sccz80_frexp_callee: pop af pop hl ; hl = *exp push af call cm48_sccz80p_dcallee1 ; AC'= value jp am...
programs/oeis/253/A253210.asm
neoneye/loda
22
167692
; A253210: a(n) = 7^n + 6. ; 7,13,55,349,2407,16813,117655,823549,5764807,40353613,282475255,1977326749,13841287207,96889010413,678223072855,4747561509949,33232930569607,232630513987213,1628413597910455,11398895185373149,79792266297612007,558545864083284013 mov $1,7 pow $1,$0 add $1,6 mov $0,$1
_build/dispatcher/jmp_ippsGFpMethod_p224r1_ab5583aa.asm
zyktrcn/ippcp
1
95642
<gh_stars>1-10 extern m7_ippsGFpMethod_p224r1:function extern n8_ippsGFpMethod_p224r1:function extern y8_ippsGFpMethod_p224r1:function extern e9_ippsGFpMethod_p224r1:function extern l9_ippsGFpMethod_p224r1:function extern n0_ippsGFpMethod_p224r1:function extern k0_ippsGFpMethod_p224r1:function extern ippcpJumpIndexForM...
src/fot/FOTC/Data/Stream/PropertiesATP.agda
asr/fotc
11
17075
<filename>src/fot/FOTC/Data/Stream/PropertiesATP.agda ------------------------------------------------------------------------------ -- Streams properties ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-}...
alloy4fun_models/trashltl/models/11/95B2JdMEtdyb44wYH.als
Kaixi26/org.alloytools.alloy
0
3339
<reponame>Kaixi26/org.alloytools.alloy open main pred id95B2JdMEtdyb44wYH_prop12 { eventually (some f : File | f in Trash) } pred __repair { id95B2JdMEtdyb44wYH_prop12 } check __repair { id95B2JdMEtdyb44wYH_prop12 <=> prop12o }
experiments/litmus/amd/3/thread.1.asm
phlo/concubine
0
17204
<filename>experiments/litmus/amd/3/thread.1.asm ADDI 1 STORE 1 ADDI 1 STORE 1 LOAD 0
oeis/041/A041057.asm
neoneye/loda-programs
11
80184
<reponame>neoneye/loda-programs ; A041057: Denominators of continued fraction convergents to sqrt(34). ; Submitted by <NAME> ; 1,1,5,6,65,71,349,420,4549,4969,24425,29394,318365,347759,1709401,2057160,22281001,24338161,119633645,143971806,1559351705,1703323511,8372645749,10075969260,109132338349,119208307609,5859655687...
.emacs.d/elpa/wisi-2.1.1/sal-gen_bounded_definite_vectors-gen_sorted.adb
caqg/linux-home
0
26389
<reponame>caqg/linux-home -- Abstract : -- -- See spec. -- -- Copyright (C) 2018 - 2019 Free Software Foundation, Inc. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; either...
src/gl/interface/gl-objects-lists.ads
Roldak/OpenGLAda
79
14894
<filename>src/gl/interface/gl-objects-lists.ads -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" generic type Object_Type (<>) is new GL_Object with private; with function Generate_From_Id (Id : UInt) return Object_Type; package GL.Objects.Lists is ...
programs/oeis/188/A188045.asm
jmorken/loda
1
173348
<filename>programs/oeis/188/A188045.asm<gh_stars>1-10 ; A188045: Positions of 0 in A188044; complement of A188046. ; 2,4,7,9,12,14,19,21,24,26,31,33,36,38,41,43,48,50,53,55,60,62,65,67,70,72,77,79,82,84,89,91,94,96,101,103,106,108,111,113,118,120,123,125,130,132,135,137,140,142,147,149,152,154,159,161,164,166,171,173,1...
engine/events/checksave.asm
Dev727/ancientplatinum
28
161550
<filename>engine/events/checksave.asm CheckSave:: ld a, BANK(sCheckValue1) ; aka BANK(sCheckValue2) call GetSRAMBank ld a, [sCheckValue1] ld b, a ld a, [sCheckValue2] ld c, a call CloseSRAM ld a, b cp SAVE_CHECK_VALUE_1 jr nz, .ok ld a, c cp SAVE_CHECK_VALUE_2 jr nz, .ok ld c, $1 ret .ok ld c, $0 ret
Engine/Irq/IrqSmpsRaster.asm
wide-dot/thomson-to8-game-engine
11
97135
<reponame>wide-dot/thomson-to8-game-engine * --------------------------------------------------------------------------- * IrqSmpsRaster/IrqSmps * ------ * IRQ Subroutine to play sound with SN76489/YM2413 and render some Raster lines * * input REG : [dp] with value E7 (from Monitor ROM) * reset REG : none * * IrqOn * r...
gyak/gyak1-2/faktor.adb
balintsoos/LearnAda
0
8908
<reponame>balintsoos/LearnAda with Ada.Integer_Text_IO; procedure Faktor is N : Integer; Fakt : Integer := 1; begin Ada.Integer_Text_IO.Get( N ); for I in 1..N loop Fakt := Fakt * I; end loop; Ada.Integer_Text_IO.Put( Fakt ); end Faktor;
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1004.asm
ljhsiun2/medusa
9
8039
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x165a7, %rsi lea addresses_UC_ht+0x82fb, %rdi nop nop nop nop add %rdx, %rdx mov $46, %rcx rep movsb nop nop nop nop nop xor %rcx, %rcx lea addresse...
programs/oeis/173/A173950.asm
neoneye/loda
22
22773
<gh_stars>10-100 ; A173950: a(n) = 1 if 6 divides (prime(n) + 1), a(n) = -1 if 6 divides (prime(n) - 1), a(n) = 0 otherwise. ; 0,0,1,-1,1,-1,1,-1,1,1,-1,-1,1,-1,1,1,1,-1,-1,1,-1,-1,1,1,-1,1,-1,1,-1,1,-1,1,1,-1,1,-1,-1,-1,1,1,1,-1,1,-1,1,-1,-1,-1,1,-1,1,1,-1,1,1,1,1,-1,-1,1,-1,1,-1,1,-1,1,-1,-1,1,-1,1,1,-1,-1,-1,1,1,-1,...
programs/oeis/063/A063497.asm
karttu/loda
1
246436
<gh_stars>1-10 ; A063497: Number of atoms in first n shells of type I hyperfullerene. ; 0,60,300,840,1800,3300,5460,8400,12240,17100,23100,30360,39000,49140,60900,74400,89760,107100,126540,148200,172200,198660,227700,259440,294000,331500,372060,415800,462840,513300,567300,624960,686400,751740,821100,894600,972360,10545...
lib/mmc1_macros.asm
cppchriscpp/do-sheep-dream-of-velcro
9
89717
MMC1_CTRL =$8000 MMC1_CHR0 =$a000 MMC1_CHR1 =$c000 MMC1_PRG =$e000 ; MMC1 needs a reset stub in every bank that will put us into a known state. This defines it for all banks. .macro resetstub_in segname .segment segname .scope resetstub_entry: sei ldx #$FF txs stx MMC1_CTRL ; Writing $80-$FF...
Appl/Calendar/DayPlan/dayplanPreference.asm
steakknife/pcgeos
504
243824
<reponame>steakknife/pcgeos COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Calendar/DayPlan FILE: dayplanPreference.asm AUTHOR: <NAME>, May 31, 1990 ROUTINES: Name Description ---- -----...
arch/ARM/Nordic/svd/nrf51/nrf51_svd-lpcomp.ads
bosepchuk/Ada_Drivers_Library
6
25275
<filename>arch/ARM/Nordic/svd/nrf51/nrf51_svd-lpcomp.ads<gh_stars>1-10 -- Copyright (c) 2013, Nordic Semiconductor ASA -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributi...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_3044_531.asm
ljhsiun2/medusa
9
168621
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x2d05, %rdx nop nop nop nop cmp %rcx, %rcx mov (%rdx), %rbx nop nop and $34092, %r15 lea addresses_WC_ht+0x11bf1, %rsi lea addresses_UC_ht+0x15c05, %rdi nop dec...
test/interaction/Issue3829-2.agda
cruhland/agda
1,989
16114
<gh_stars>1000+ open import Agda.Builtin.Nat -- split on m -- WAS: m = zero or m = suc m -- WANT: m = suc m because 2nd clause already covers m = zero f : Nat -> Nat -> Nat f m zero = {!!} f zero zero = zero f _ _ = zero -- However for g, we still get m = zero or m = suc m -- because the other splits are orthogonal...
Cubical/Categories/Instances/Functors.agda
mzeuner/cubical
0
4400
{-# OPTIONS --safe #-} module Cubical.Categories.Instances.Functors where open import Cubical.Categories.Category open import Cubical.Categories.Functor.Base open import Cubical.Categories.NaturalTransformation.Base open import Cubical.Categories.NaturalTransformation.Properties open import Cubical.Categories.Morphis...
macsudo.scpt
dorukgezici/bash-scripts
1
1874
#!/usr/bin/osascript on run argv set |command| to "" repeat with parameter in argv set |command| to |command| & " " & parameter end repeat do shell script |command| with administrator privileges end run
extern/game_support/stm32f4/src/drawing.ads
AdaCore/training_material
15
22786
with Screen_interface; use Screen_Interface; package Drawing is procedure Line (Start, Stop : Point; Col : Color; Thickness : Natural := 1); procedure Rect (Start, Stop : Point; Col : Color; Thickness : Natural := 1); procedure Rect_Fill (S...
Task/Function-prototype/Ada/function-prototype-2.ada
LaudateCorpus1/RosettaCodeData
1
25639
<filename>Task/Function-prototype/Ada/function-prototype-2.ada type Box; -- tell Ada a box exists (undefined yet) type accBox is access Box; -- define a pointer to a box type Box is record -- later define what a box is next : accBox; -- including that a box holds access to other boxes end record;
test/succeed/Issue1184.agda
larrytheliquid/agda
1
903
<reponame>larrytheliquid/agda<filename>test/succeed/Issue1184.agda postulate T : Set → Set X : Set Class : Set → Set member : ∀ {A} {{C : Class A}} → A → A iX : Class X iT : ∀ {A} {{CA : Class A}} → Class (T A) -- Should get type Class (T X), -- not {{_ : Class X}} → Class (T X) iTX = iT {A = X} -- Fai...
src/arch/socs/stm32f439/soc-dma.ads
vdh-anssi/ewok-kernel
65
25223
<gh_stars>10-100 -- -- Copyright 2018 The wookey project team <<EMAIL>> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- - <NAME> -- -- 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 ...
src/sha-process_data.adb
mgrojo/AdaID
16
19235
<filename>src/sha-process_data.adb<gh_stars>10-100 -- (C) Copyright 1999 by <NAME>,All rights reserved. -- Basic Transformation functions of NSA's Secure Hash Algorithm -- This is part of a project at http://www.cc.utah.edu/~nahaj/ package body SHA.Process_Data is Default_Context : Context; -- Standard contex...
libsrc/_DEVELOPMENT/sound/bit/z80/asm_bit_beepfx/_bfx_31.asm
jpoikela/z88dk
640
240187
; BeepFX sound effect by shiru ; http://shiru.untergrund.net SECTION rodata_clib SECTION rodata_sound_bit PUBLIC _bfx_31 _bfx_31: ; Item_4 defb 1 ;tone defw 4,1000,1000,65136,128 defb 0
src/main/fragment/mos6502-common/pbuz1_derefidx_vbuyy=pbuz2_derefidx_vbuyy.asm
jbrandwood/kickc
2
175406
lda ({z2}),y sta ({z1}),y
src/NTypes/Product.agda
vituscze/HoTT-lectures
0
2038
{-# OPTIONS --without-K #-} module NTypes.Product where open import NTypes open import PathOperations open import PathStructure.Product open import Types ×-isSet : ∀ {a b} {A : Set a} {B : Set b} → isSet A → isSet B → isSet (A × B) ×-isSet A-set B-set x y p q = split-eq p ⁻¹ · ap (λ y → ap₂ _,_ y (ap π₂ p)) ...
src/Data/PropFormula/Theorems/Implication.agda
jonaprieto/agda-prop
13
4777
<reponame>jonaprieto/agda-prop ------------------------------------------------------------------------------ -- Agda-Prop Library. -- Theorems of ⊃ connective. ------------------------------------------------------------------------------ open import Data.Nat using ( ℕ ) module Data.PropFormula.Theorems.Implication ...
test/Fail/Issue481InstantiatedImportOnly.agda
redfish64/autonomic-agda
3
986
module Issue481InstantiatedImportOnly where import Common.Issue481ParametrizedModule Set -- pointless, should yield error
SquareWaveGenerator.asm
MuhammadZubairSC/Square-Wave-Generator
0
240763
<filename>SquareWaveGenerator.asm HERE: SETB P1.0 LCALL DELAY CLR P1.0 LCALL DELAY SJMP HERE DELAY: MOV R3, #250 LAST: NOP NOP NOP NOP DJNZ R3, HERE RET
formalization/agda/Spire/Examples/PropositionalLevDesc.agda
spire/spire
43
9577
{-# OPTIONS --type-in-type #-} open import Data.Unit open import Data.Product hiding ( curry ; uncurry ) open import Data.List hiding ( concat ) open import Data.String open import Relation.Binary.PropositionalEquality module Spire.Examples.PropositionalLevDesc where ---------------------------------------------------...
test/epic/tests/Nat.agda
redfish64/autonomic-agda
0
14760
-- Moved from the successfull test-suite. See Issue 1481. module tests.Nat where data Nat : Set where Z : Nat S : Nat → Nat {-# BUILTIN NATURAL Nat #-} _+_ : Nat → Nat → Nat Z + m = m S n + m = S (n + m) {-# BUILTIN NATPLUS _+_ #-} _*_ : Nat → Nat → Nat Z * m = Z S n * m = m + (n * m) {-# BUILTIN NATTIME...
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_21829_1190.asm
ljhsiun2/medusa
9
97411
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xa419, %r13 nop nop nop cmp %r9, %r9 movl $0x61626364, (%r13) nop nop nop sub $31057, %r8 lea addresses_WC_ht+0x1bf79, %r12 nop nop nop nop nop sub $48677, %rbp mov (...
pwnlib/shellcraft/templates/amd64/pushstr_array.asm
DrKeineLust/pwntools
7
8753
<% from pwnlib.shellcraft import amd64 %> <%docstring> Pushes an array/envp-style array of pointers onto the stack. Arguments: reg(str): Destination register to hold the pointer. array(str,list): Single argument or list of arguments to push. NULL termination is normalized so that each a...
kernel/temp/__words.asm
paulscottrobson/m7
0
82163
<gh_stars>0 ; ********************************************************************************* ; ********************************************************************************* ; ; File: con.raw.asm ; Purpose: con.raw words. ; Date : 5th January 2019 ; Author: <EMAIL> ; ; ************************************...
linear_algebra/golub_svd_tst_2.adb
jscparker/math_packages
30
5075
with Golub_SVD; with Rectangular_Test_Matrices; with Ada.Text_IO; use Ada.Text_IO; -- Demonstrates use of SVD when No_of_Rows > No_of_Cols. -- So you have more equations than unknowns in equation solving. -- (Can't have No_of_Rows < No_of_Cols.) procedure golub_svd_tst_2 is type Real is digits 15; Start ...
src/Native/Runtime/arm/GetThread.asm
ZZHGit/corert
0
90186
<filename>src/Native/Runtime/arm/GetThread.asm<gh_stars>0 ;; ;; Copyright (c) Microsoft. All rights reserved. ;; Licensed under the MIT license. See LICENSE file in the project root for full license information. ;; #include "AsmMacros.h" TEXTAREA ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;...
oeis/304/A304168.asm
neoneye/loda-programs
11
161602
; A304168: a(n) = 2*3^n - 2^(n-1) (n>=1). ; Submitted by <NAME> ; 5,16,50,154,470,1426,4310,12994,39110,117586,353270,1060834,3184550,9557746,28681430,86060674,258214790,774709906,2324260790,6973044514,20919657830,62760022066,188282163350,564850684354,1694560441670,5083698102226,15251127861110,45753450692194,1372604862...
tests/006_MOV_to_and_from_memory__32_and_64_bit.asm
tpisto/pasm
103
173753
<filename>tests/006_MOV_to_and_from_memory__32_and_64_bit.asm ; name: MOV to and from memory. 32 and 64 bit ; code: "8B0D99887766890D99887766668B4877668B8888770000668B4889668B887888FFFF6689487766898888770000668948896689887888FFFF8B1189118B51778B91887700008B51898B917888FFFF89527789928877000089528989927888FFFF8B1289128B5...
courses/spark_for_ada_programmers/labs/source/030_spark_language_and_tools/side_effects.adb
AdaCore/training_material
15
13394
with Simple_IO; package body Side_Effects with SPARK_Mode => On is X, Y, Z, R : Integer; function F (X : Integer) return Integer is begin Z := 0; -- Side effect return X + 1; end F; procedure Test is begin X := 10; Y := 20; Z := 10; R := Y / Z + F (X); -- pos...
programs/oeis/014/A014143.asm
jmorken/loda
1
161504
; A014143: Partial sums of A014138. ; 1,4,12,34,98,294,919,2974,9891,33604,116103,406614,1440025,5147876,18550572,67310938,245716094,901759950,3325066996,12312494462,45766188948,170702447074,638698318850,2396598337950,9016444758502,34003644251206,128524394659914,486793096818982,1847304015629418,7022801436532158 mov $1...
src/grammarEPN.g4
NorbiRm/EPN_XML
0
391
<filename>src/grammarEPN.g4 grammar grammarEPN; expr: | statement ; statement: | if_statement ('and' if_statement)* | if_statement ; if_statement: | 'if' condition | 'if' condition (( 'and' | 'or') condition)* | 'if' condition (( 'and' | 'or') if_statement)* ; condition: | ('any ...
kernel/arch/i386/ports.asm
lochnessdragon/exokernel
1
7873
<filename>kernel/arch/i386/ports.asm<gh_stars>1-10 bits 32 ; asm subroutinues with a C ABI global outportb global inportb ; sends a byte (second argument) to the port (first argument) ; stack: [esp + 8] the data byte ; [esp + 4] the I/O port ; [esp ] return address outportb: mov dx, word [esp+4] ...
antlr4cs/Arithmetic.g4
kaby76/so71536562
0
3154
// Template generated code from trgen 0.15.0 grammar Arithmetic; file_ : expression (SEMI expression)* EOF; expression : expression POW expression | expression (TIMES | DIV) expression | expression (PLUS | MINUS) expression | LPAREN expression RPAREN | (PLUS | MINUS)* atom ; atom : scientific | variable ; scientific ...
alfred-wunderlist-workflow-master/source/wunderlist.applescript
bleen/alfred-workflows
1
3943
<reponame>bleen/alfred-workflows<filename>alfred-wunderlist-workflow-master/source/wunderlist.applescript (*! @framework Wunderlist for Alfred @abstract Control Wunderlist 2 from Alfred @discussion This AppleScript provides a means to control the Wunderlist 2 Mac app from Alfred. As Wunderlist 2 does...