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
oeis/067/A067707.asm
neoneye/loda-programs
11
3643
<gh_stars>10-100 ; A067707: a(n) = 3*n^2 + 12*n. ; Submitted by <NAME> ; 15,36,63,96,135,180,231,288,351,420,495,576,663,756,855,960,1071,1188,1311,1440,1575,1716,1863,2016,2175,2340,2511,2688,2871,3060,3255,3456,3663,3876,4095,4320,4551,4788,5031,5280,5535,5796,6063,6336,6615,6900,7191,7488,7791,8100,8415,8736,9063,93...
src/main/resources/project-templates/aws_simple_web_server/src/@_project_name_@-main.adb
WinterAlexander/Ada-IntelliJ
17
23714
<gh_stars>10-100 with AWS.Config.Set; with AWS.Server; with @_Project_Name_@.Callbacks; procedure @_Project_Name_@.Main is use AWS; Web_Server : Server.HTTP; Web_Config : Config.Object; begin -- Setup Config.Set.Server_Host (Web_Config, Host); Config.Set.Server_Port (Web_Config, Port); -- ...
programs/oeis/061/A061578.asm
karttu/loda
0
81990
<filename>programs/oeis/061/A061578.asm<gh_stars>0 ; A061578: First differences of A061577. ; 1,4,5,6,8,9,10,11,13,14,15,16,17,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,36,37,38,39,40,41,42,43,44,46,47,48,49,50,51,52,53,54,55,57,58,59,60,61,62,63,64,65,66,67,68,70,71,72,73,74,75,76,77,78,79,80,81 mov $27,$0 mov $29...
cohesion/david_jaz_261/Conaturals.agda
glangmead/formalization
6
15856
<filename>cohesion/david_jaz_261/Conaturals.agda {-# OPTIONS --without-K --rewriting #-} module Conaturals where open import Basics open import Bool open import lib.Basics open import lib.types.Nat open import lib.types.Bool {- _is-increasing-b : (ℕ → Bool) → Type _ P is-increasing-b = (n m : ℕ) → n ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_7_300.asm
ljhsiun2/medusa
9
160944
<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_7_300.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %rbp push %rsi lea addresses_normal_ht+0x1e6, %r11 nop nop nop nop add $23259, %rsi movb $0x61, (%r11) nop nop nop cmp %rbp, %rbp pop %rsi pop %rbp pop %r11 ret .global s_...
Transynther/x86/_processed/AVXALIGN/_st_sm_/i3-7100_9_0x84_notsx.log_21829_205.asm
ljhsiun2/medusa
9
14064
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r14 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x92, %rdx clflush (%rdx) nop nop sub $38406, %r10 movb $0x61, (%rdx) nop nop nop sub %r15, %r15 lea addresses_A_ht+0x7eba, %r14 nop sub %r13, %r13 mov $0x61626364656...
bootloader/BootFAT12.asm
TieNan2019/ImplementationOfA64-bitOS
0
95973
<filename>bootloader/BootFAT12.asm org 0x7c00 BaseOfStack equ 0x7c00 ; BaseOfLoader 和 OffsetOfLoader 组合成了 Loader 程序的起始 ; 物理地址, 需要经过实模式的地址变换才能生成物理地址 ; 即 : BaseOfLoader << 4 + OffsetOfLoader = 0x1000 BaseOfLoader equ 0x1000 OffsetOfLoader equ 0x00 ; RootDirSectors 定义了根目录占用的扇区数 RootDirSectors equ ...
experiments/test-suite/mutation-based/10/2/dll.als
kaiyuanw/AlloyFLCore
1
781
<filename>experiments/test-suite/mutation-based/10/2/dll.als pred test35 { some disj DLL0: DLL {some disj Node0, Node1: Node { DLL = DLL0 header = DLL0->Node1 Node = Node0 + Node1 pre = Node0->Node1 + Node1->Node0 nxt = Node1->Node0 elem = Node0->-7 + Node1->-8 ConsistentPreAndNxt[] }} } run test35 for 3 expect 0 pred ...
cc4x86/tests/regressive/asm_listings/switch__optimize_noregalloc.asm
artyompal/C-compiler
4
20081
.686 .model flat .xmm .code _test_case proc create_stack_frame mov dword17,3 cmp dword17,1 je label0001 cmp dword17,2 je label0002 cmp dword17,3 je label0003 jmp label0004 label0001: label0002...
Platform/C64/src/includes/drawText.asm
martinhaye/lawless-legends
51
25994
drawText stx textPointer+1 sty textPointer+2 stx preTextPointer+1 sty preTextPointer+2 lda #$FF sta textCursor sta outputCursor ldx #0 ;x is for pre-drawing calculation if each word will fit in currently drawn line stx ignoreNextCharacterFlag ;Check if the next word fits in current line preDrawTextInit s...
45/qb5/ir/varutil.asm
minblock/msdos
0
99811
<gh_stars>0 TITLE VarUtil.asm - Variable Management utilities in native code ;*** ;VarUtil.asm - Variable Management utilities in native code ; ; Copyright (C) 1986-1989, Microsoft Corporation ; ;Purpose: ; Provide utility functions for the variable manager in native code ; ; ;**************************************...
oeis/010/A010582.asm
neoneye/loda-programs
11
93636
<reponame>neoneye/loda-programs ; A010582: Decimal expansion of cube root of 10. ; Submitted by <NAME> ; 2,1,5,4,4,3,4,6,9,0,0,3,1,8,8,3,7,2,1,7,5,9,2,9,3,5,6,6,5,1,9,3,5,0,4,9,5,2,5,9,3,4,4,9,4,2,1,9,2,1,0,8,5,8,2,4,8,9,2,3,5,5,0,6,3,4,6,4,1,1,1,0,6,6,4,8,3,4,0,8,0,0,1,8,5,4,4,1,5,0,3,5,4,3,2,4,3,2,7,6 mov $2,1 mov $...
oeis/179/A179896.asm
neoneye/loda-programs
11
101428
; A179896: Sum of the numbers between k := n-th nonprime and 2k (like a jump in a Sieve of Eratosthenes). ; 0,18,45,84,108,135,198,273,315,360,459,570,630,693,828,900,975,1053,1134,1305,1488,1584,1683,1785,1890,2109,2223,2340,2583,2838,2970,3105,3384,3528,3675,3825,3978,4293,4455,4620,4788,4959,5310,5673,5859,6048,6240...
oeis/015/A015260.asm
neoneye/loda-programs
11
247825
<filename>oeis/015/A015260.asm ; A015260: Gaussian binomial coefficient [ n,2 ] for q = -9. ; Submitted by <NAME>(s1) ; 1,73,5986,484210,39226915,3177326971,257363962948,20846476694116,1688564650965445,136773736379522605,11078672649879436966,897372484611991440598,72687171253825493271271,5887660871557577275727455,476900...
programs/oeis/231/A231504.asm
neoneye/loda
22
2506
; A231504: a(n) = Sum_{i=0..n} digsum_3(i)^3, where digsum_3(i) = A053735(i). ; 0,1,9,10,18,45,53,80,144,145,153,180,188,215,279,306,370,495,503,530,594,621,685,810,874,999,1215,1216,1224,1251,1259,1286,1350,1377,1441,1566,1574,1601,1665,1692,1756,1881,1945,2070,2286,2313,2377,2502,2566,2691,2907,3032,3248,3591,3599,36...
test/interaction/Issue1523.agda
shlevy/agda
3
6335
<filename>test/interaction/Issue1523.agda -- Andreas, 2015-07-22 Fixed bug in test for empty type of sizes {-# OPTIONS --copatterns #-} open import Common.Size record U (i : Size) : Set where coinductive field out : (j : Size< i) → U j open U fixU : {A : Size → Set} (let C = λ i → A i → U i) → ∀ i (f : ∀ i →...
programs/oeis/139/A139130.asm
jmorken/loda
1
27570
; A139130: a(n) = sum{k=1 to n} d(d(k)), where d(k) = number of divisors of k. ; 1,3,5,7,9,12,14,17,19,22,24,28,30,33,36,38,40,44,46,50,53,56,58,62,64,67,70,74,76,80,82,86,89,92,95,98,100,103,106,110,112,116,118,122,126,129,131,135,137,141,144,148,150,154,157,161,164,167,169,175,177,180,184,186,189,193,195,199,202,206,...
courses/fundamentals_of_ada/labs/solar_system/060_record_types/src/main.adb
AdaCore/training_material
15
10052
<filename>courses/fundamentals_of_ada/labs/solar_system/060_record_types/src/main.adb ----------------------------------------------------------------------- -- Ada Labs -- -- -- -- ...
examples/mfield.g4
ironmeld/Grammlex
0
6510
S: document*; document: BOM? HEADER value+ TRAILER; value: map; map: ID COLON STRING NL;
alloy4fun_models/trashltl/models/3/PYQEcJusydYbcK3xe.als
Kaixi26/org.alloytools.alloy
0
2285
open main pred idPYQEcJusydYbcK3xe_prop4 { some f : File | eventually always f in Trash } pred __repair { idPYQEcJusydYbcK3xe_prop4 } check __repair { idPYQEcJusydYbcK3xe_prop4 <=> prop4o }
qpu/simple3.asm
doctorseus/rpi-opengl-sandbox
2
91938
.include "vc4.qinc" #.set vpm_setup(num, stride, dma) (num & 0xf) << 20 | (stride & 0x3f) << 12 | (dma & 0xfff) #.set v32(y, x) 0x200 | (y & 0x30) | (x & 0xf) mov r1, unif mov r3, unif # Read element i from VPM #ldi vr_setup, vpm_setup(16, 0, h32(0, 0)) #vdr_setup_0(0, 0, 1, dma_h32(0, 0)) # 1 000 0000 0001 0000 0...
alloy4fun_models/trashltl/models/4/cdhMzf7NpkZgGPq6h.als
Kaixi26/org.alloytools.alloy
0
3664
open main pred idcdhMzf7NpkZgGPq6h_prop5 { some File eventually File in Trash } pred __repair { idcdhMzf7NpkZgGPq6h_prop5 } check __repair { idcdhMzf7NpkZgGPq6h_prop5 <=> prop5o }
programs/oeis/190/A190693.asm
jmorken/loda
1
28649
<gh_stars>1-10 ; A190693: [(bn+c)r]-b[nr]-[cr], where (r,b,c)=(sqrt(3),4,0) and [ ]=floor. ; 2,1,0,3,2,1,0,3,2,1,0,3,2,0,3,2,1,0,3,2,1,0,3,2,1,0,3,1,0,3,2,1,0,3,2,1,0,3,2,1,0,2,1,0,3,2,1,0,3,2,1,0,3,2,1,3,2,1,0,3,2,1,0,3,2,1,0,3,2,0,3,2,1,0,3,2,1,0,3,2,1,0,3,1,0,3,2,1,0,3,2,1,0,3,2,1,0,2,1,0,3,2,1,0,3,2,1,0,3,2,1,3,2,1...
src/rover.adb
kisom/rover-mk1
0
9830
pragma Profile (Ravenscar); with AVR; use AVR; with AVR.Serial, AVR.Wait; with Hardware, Hardware.Beacon, Hardware.DriveTrain; with Hardware.PWM; pragma Unreferenced (Hardware.PWM); procedure Rover is ticks : Integer := 0; procedure Wait_1ms is new Wait.Generic_Wait_Usecs (16_000_000, 1000); begin Har...
oeis/023/A023834.asm
neoneye/loda-programs
11
13153
<filename>oeis/023/A023834.asm ; A023834: Sum of exponents in prime-power factorization of C(4n,2n). ; Submitted by <NAME> ; 2,3,5,6,6,7,11,9,11,12,12,13,15,14,15,15,16,15,18,17,20,22,22,22,23,22,23,22,23,25,28,25,25,29,28,28,32,30,32,31,30,31,34,34,34,34,36,35,37,34,36,38,38,38,40,38,41,42,42,40,44,46,44,43,43,44,46,4...
bugs/bug16.ada
daveshields/AdaEd
3
6619
<gh_stars>1-10 -- gen_.ada with TEXT_IO; use TEXT_IO; generic MAX_STRING_LENGTH: in POSITIVE; package DYNAMIC_STRING is subtype STRING_LENGTHS is INTEGER range 0 .. MAX_STRING_LENGTH; subtype STRING_INDICES is STRING_LENGTHS; type DYNAMIC_STRINGS(LENGTH: STRING_LENGTHS := 0) is private; function LENGTH (PAS...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack22.adb
best08618/asylo
0
18357
-- { dg-do compile } -- { dg-options "-O -gnatws" } with Pack22_Pkg; use Pack22_Pkg; procedure Pack22 is package Role_Map is new Bit_Map_Generic; type Role_List is new Role_Map.List; Roles_1 : Role_List; Roles_2 : Role_List; Roles_3 : Role_List; begin Temp_buffer := (others => 1); ...
programs/oeis/241/A241271.asm
karttu/loda
0
9473
<reponame>karttu/loda ; A241271: a(n) = 6*a(n-1) + 3*(2^(n-2)-1) for n > 2, a(0)=a(1)=a(2)=0. ; 0,0,0,3,27,183,1143,6951,41895,251751,1511271,9069159,54418023,326514279,1959097959,11754612327,70527723111,423166436967,2538998818407,15233993303655,91403960608359,548423765223015,3290542594483815,19743255573194343 mov $2,...
IV Semester/Microprocessor_Lab/3A_Prime_Or_Not/3A.asm
ckraju/CSE-Lab-Manual
2
6169
<gh_stars>1-10 .model small .data msg_1 db 10,13,'Enter a 8 bit number: $' num db ? msg_prime db 10,13,'This number is prime!$' msg_nprime db 10,13,'This number is not a prime$' .code mov AX,@data mov DS,AX lea dx,msg_1 ;Display message call printf call read_8bit ;reading 8 bit number mov cl,num ;counter as num-1 d...
csie/08asm/toy/Toyasm/multest.asm
dk00/old-stuff
0
3905
A DW 3 B DW 4 C DW 5 ; calculate A*B*C main ld RA, A ld RB, B ld RC, C jl RF, mul3 st RD, 0xFF hlt ; RD=RA*RB*RC ; return address is in RF mul3 jl RE, push ; push return address lda RD, 0 ; RD=0 add RD, RC, R0 ; RD=RC jl RF, mul ; RC=RA*RB add RA, RC, R0 ; RA=RC=RA*RB add RB, RD, R0 ; RB=RD=RC jl RF,...
src/asis/a4g-get_unit.ads
My-Colaborations/dynamo
15
18110
<filename>src/asis/a4g-get_unit.ads<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
oeis/025/A025754.asm
neoneye/loda-programs
11
6731
<filename>oeis/025/A025754.asm ; A025754: 9th-order Patalan numbers (generalization of Catalan numbers). ; Submitted by <NAME> ; 1,1,36,1836,107406,6766578,446594148,30432201228,2122646035653,150707868531363,10850966534258136,790147653994615176,58075852568604215436,4302080463351219958836,320812285981333831216056,240609...
src/main/antlr/Equation.g4
OMMHOA/json-schema-compiler
0
601
<reponame>OMMHOA/json-schema-compiler<gh_stars>0 /* BSD License Copyright (c) 2013, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyri...
decreasoner.macosx/software/relsat-dist/gmp-3.1/mpn/x86/diveby3.asm
problem-frames/openpf
1
177518
dnl x86 mpn_divexact_by3 -- mpn division by 3, expecting no remainder. dnl Copyright (C) 2000 Free Software Foundation, Inc. dnl 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 dnl modify it under the terms of the GNU Lesser General Publi...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/overflow_fixed.adb
best08618/asylo
7
10590
-- { dg-do run } -- { dg-options "-gnato -O" } procedure Overflow_Fixed is type Unsigned_8_Bit is mod 2**8; procedure Fixed_To_Eight (Value : Duration) is Item : Unsigned_8_Bit; begin Item := Unsigned_8_Bit(Value); raise Program_Error; exception when Constraint_Error => null; -- expected case...
test/Succeed/Issue4292.agda
shlevy/agda
1,989
7185
open import Agda.Primitive variable a : Level A : Set a P : A → Set a x : A open import Agda.Builtin.Equality data Box (A : Set a) : Set a where [_] : A → Box A postulate _ : P (λ (_ : x ≡ x) → [ x ])
oeis/100/A100008.asm
neoneye/loda-programs
11
85140
<gh_stars>10-100 ; A100008: Number of unitary divisors of 2n. ; Submitted by <NAME> ; 2,2,4,2,4,4,4,2,4,4,4,4,4,4,8,2,4,4,4,4,8,4,4,4,4,4,4,4,4,8,4,2,8,4,8,4,4,4,8,4,4,8,4,4,8,4,4,4,4,4,8,4,4,4,8,4,8,4,4,8,4,4,8,2,8,8,4,4,8,8,4,4,4,4,8,4,8,8,4,4,4,4,4,8,8,4,8,4,4,8,8,4,8,4,8,4,4,4,8,4 seq $0,68068 ; Number of odd unit...
src/log.adb
thindil/steamsky
80
21261
<gh_stars>10-100 -- 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 -- (...
NandToTetris/projects/04/rectangle/Rectangle.asm
davejlin/coursera
0
242893
// Rectangle.asm // Draw a filled rectangle at the screen's top left corner. // The rectangle's width is 16 pixels, and its height is RAM[0]. // Usage: put a non-negative number (rectangle's height) in RAM[0] // for (i=0; i < n; i++) P // draw 16 black pixels at the beginning of row i // } // addr = SCREEN // n = ...
programs/oeis/081/A081219.asm
neoneye/loda
22
81374
; A081219: One sixtieth the product of primitive Pythagorean triangles' sides whose odd values differ by 2. ; 1,34,259,1092,3333,8294,17927,34952,62985,106666,171787,265420,396045,573678,809999,1118480,1514513,2015538,2641171,3413332,4356373,5497206,6865431,8493464,10416665,12673466,15305499,18357724,21878557,25919998 ...
untested/ARM/m32lib.asm
GabrielRavier/Generic-Assembly-Samples
0
29191
include 'macros.inc' code32 format ELF public _a2dw public _arr2mem public _arr2text public _arr_add public _arrcnt public _arrget public _arrlen public _arr_mul public _arr_sub public _arrtotal public _atodw public _atol public _byt2bin_ex public _BMBinSearch public _BinSearch public _Cmpi...
chapter09/ex9.asm
bgst009/AssemblyLanguage
0
8921
assume cs:code,ds:data,ss:stack stack segment db 128 dup(0) stack ends data segment db 'welcome to masm!' db 00001010B db 00101100B db 01111001B data ends code segment start: mov ax,data mov ds,ax mov ax,0b800h mov es,ax mov si,0 mov bx,16 mov di,160*10+2*30 mov cx,3 ...
src/spread/help_english.asm
olifink/qspread
0
14248
<gh_stars>0 section language xdef tab_explanation msg macro text [.lab] dc.w [.len(text)] dc.b '[text]' endm tab_explanation dc.l 0 dc.l loose-* dc.l 0 loose dc.w 33 dc.w i0-* dc.w i1-* dc.w i2-* dc.w i3-* dc.w i4-* dc.w i5-* dc.w i6-* dc.w i7-* dc.w i8-* dc.w i9-* dc.w 0 dc.w i11-* dc.w i12-* ...
run_gro.scpt
pankace/Dia-Bacterhea_Gro_simulation_for_Logic_gates
0
754
<filename>run_gro.scpt tell application "Finder" set current_path to container of (path to me) as alias end tell set dir to (POSIX path of current_path) do shell script "cd \"" & dir & "\" && gro.app/Contents/MacOS/gro > /dev/null 2>&1 &"
test/asset/agda-stdlib-1.0/Data/List/Relation/Binary/Permutation/Inductive.agda
omega12345/agda-mode
0
3963
------------------------------------------------------------------------ -- The Agda standard library -- -- An inductive definition for the permutation relation ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.List.Relation.Binary.Permutation.Indu...
source/asis/asis-gela-normalizer.adb
faelys/gela-asis
4
25541
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
source/league/codecs/matreshka-internals-text_codecs-iso88591.adb
svn2github/matreshka
24
2451
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
source/asis/xasis/xasis-integers.adb
faelys/gela-asis
4
24205
<filename>source/asis/xasis/xasis-integers.adb ------------------------------------------------------------------------------ -- G E L A X A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://g...
libsrc/_DEVELOPMENT/arch/hbios/c/sdcc/hbios_e_de.asm
Frodevan/z88dk
640
27585
; uint8_t hbios_e_de(uint16_t func_device, uint16_t arg) SECTION code_clib SECTION code_arch PUBLIC _hbios_e_de EXTERN asm_hbios_e ._hbios_e_de pop af pop bc pop de push de push bc push af jp asm_hbios_e
alloy4fun_models/trashltl/models/11/4gGDFQEpLY4hogd6A.als
Kaixi26/org.alloytools.alloy
0
3481
<gh_stars>0 open main pred id4gGDFQEpLY4hogd6A_prop12 { eventually some Trash } pred __repair { id4gGDFQEpLY4hogd6A_prop12 } check __repair { id4gGDFQEpLY4hogd6A_prop12 <=> prop12o }
programs/oeis/058/A058809.asm
neoneye/loda
22
9381
; A058809: The sequence lambda(3,n), where lambda is defined in A055203. Number of ways of placing n identifiable positive intervals with a total of exactly three starting and/or finishing points. ; 0,0,6,24,78,240,726,2184,6558,19680,59046,177144,531438,1594320,4782966,14348904,43046718,129140160,387420486,1162261464,...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_930.asm
ljhsiun2/medusa
9
25919
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r8 push %rcx push %rdi // Faulty Load lea addresses_A+0x1e62a, %r13 nop nop nop nop xor $46943, %rdi mov (%r13), %r8w lea oracles, %r11 and $0xff, %r8 shlq $12, %r8 mov (%r11,%r8,1), %r8 ...
test/Succeed/Issue1550a.agda
alhassy/agda
3
10343
-- Andreas, 2015-08-27 use imported rewrite rule {-# OPTIONS --rewriting #-} open import Common.Nat open import Common.Equality open import Issue1550 x+0+0+0 : ∀{x} → ((x + 0) + 0) + 0 ≡ x x+0+0+0 = refl
basics/calculator/functions.asm
wzslr321/asm_learning_tour
5
29400
<filename>basics/calculator/functions.asm section .code _addValues: add eax, edx add eax, 30h mov [result], eax ret _subValues: sub eax, edx add eax,30h mov [result], eax ret ; Multiply and Divide doesn't work the same way as add and sub...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt1.ads
best08618/asylo
7
20444
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt1.ads package Opt1 is type Dimention_Length is array (1 .. 16) of Natural; type Dimension_Indexes is array (Positive range <>) of Positive; function De_Linear_Index (Index : Natural; D : Natural; Ind_Lengths : Dimentio...
sd_notary.applescript
doekman/Pashua-Runner
0
4278
<filename>sd_notary.applescript use AppleScript version "2.4" -- Yosemite (10.10) or later use scripting additions property NSData : a reference to current application's NSData property NSJSONSerialization : a reference to current application's NSJSONSerialization on read_json(file_posix_path) local jsonData, readDi...
src/frontend/asm_grammar.g4
uscope-platform/fCore_toolchain
0
6632
<reponame>uscope-platform/fCore_toolchain // Copyright 2021 University of Nottingham Ningbo China // Author: <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 // // htt...
libsrc/_DEVELOPMENT/input/zx/c/sccz80/in_mouse_kempston_init.asm
meesokim/z88dk
0
178150
; void in_mouse_kempston_init(void) SECTION code_input PUBLIC in_mouse_kempston_init EXTERN asm_in_mouse_kempston_init defc in_mouse_kempston_init = asm_in_mouse_kempston_init
oeis/155/A155198.asm
neoneye/loda-programs
11
1623
<reponame>neoneye/loda-programs ; A155198: a(n)=9*a(n-1)+a(n-2), n>2 ; a(0)=1, a(1)=8, a(2)=72 . ; Submitted by <NAME> ; 1,8,72,656,5976,54440,495936,4517864,41156712,374928272,3415511160,31114528712,283446269568,2582130954824,23522624862984,214285754721680,1952094417358104,17783135510944616,162000314015859648 mov $3,...
Light/Library/Relation/Decidable.agda
zamfofex/lightlib
1
5354
<filename>Light/Library/Relation/Decidable.agda {-# OPTIONS --omega-in-omega --no-termination-check --overlapping-instances #-} module Light.Library.Relation.Decidable where open import Light.Level using (Setω ; Level) open import Light.Variable.Levels open import Light.Variable.Sets open import Light.Library.Relatio...
ADL/Assemble/Update/1/R~HR_sort_dec.asm
MaxMorning/LinkedListVisualization
3
95152
<gh_stars>1-10 aLine 0 gBne Root, null, 3 aLine 1 Halt aLine 3 nNew headNode, -1 aLine 4 nMoveRelOut headNode, Root, 150 pSetNext headNode, Root aLine 5 pSetNext Rear, headNode aLine 6 gMove Root, headNode aStd aLine 7 gNew basePtr gMoveNext basePtr, Root gNewVPtr minNext gNewVPtr rootNext gMoveNext rootNext, Roo...
source/amf/uml/amf-uml-deployment_targets.ads
svn2github/matreshka
24
13638
<filename>source/amf/uml/amf-uml-deployment_targets.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
NopLoop.asm
YannickTurcotte/GPSDO-Counter
2
167510
<filename>NopLoop.asm loop: nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop n...
programs/oeis/028/A028291.asm
neoneye/loda
22
6771
; A028291: Expansion of 1/((1-x)^2(1-x^2)(1-x^3)(1-x^5)) in powers of x. ; 1,2,4,7,11,17,25,35,48,64,84,108,137,171,211,258,312,374,445,525,616,718,832,959,1100,1256,1428,1617,1824,2050,2297,2565,2856,3171,3511,3878,4273,4697,5152,5639,6160,6716,7309,7940,8611,9324,10080,10881,11729 lpb $0 mov $2,$0 sub $0,1 seq...
Cubical/Displayed/Function.agda
jespercockx/cubical
0
6848
<filename>Cubical/Displayed/Function.agda {- Functions building UARels and DUARels on function types -} {-# OPTIONS --no-exact-split --safe #-} module Cubical.Displayed.Function where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.Function open import ...
2/2.asm
kamrul-s/MicroLab
0
23468
<reponame>kamrul-s/MicroLab .MODEL SMALL .STACK 100H .DATA CR EQU 0DH LF EQU 0AH A DB 0 B DB 0 C DB 0 X DB 0 INP DB ? MSG1 DB 'ENTER PASSWORD: $' MSG2 DB CR,LF,'Valid password$' MSG3 DB CR,LF,'Invalid password$' .CODE MAIN PROC ;DATA SEGMENT INITIALIZATION MOV AX, @DA...
3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex-internal-polyhedral.ads
charlie5/lace
20
12533
with impact.d3.Shape.convex.internal, impact.d3.convex_Polyhedron; package impact.d3.Shape.convex.internal.polyhedral -- -- The impact.d3.Shape.convex.internal.polyhedral is an internal interface class for polyhedral convex shapes. -- is type Item is abstract new impact.d3.Shape.convex.internal.item wit...
programs/oeis/005/A005061.asm
neoneye/loda
22
168407
; A005061: a(n) = 4^n - 3^n. ; 0,1,7,37,175,781,3367,14197,58975,242461,989527,4017157,16245775,65514541,263652487,1059392917,4251920575,17050729021,68332056247,273715645477,1096024843375,4387586157901,17560804984807,70274600998837,281192547174175,1125052618233181,4501057761542167,18006772911996997,72034717245472975,28...
ejercicios2/posicion.adb
iyan22/AprendeAda
0
12693
with vectores; use vectores; function Posicion (n: in Integer; V: in Vector_De_Enteros) return Integer is -- pre: V contiene al menos un elemento (V'Length >= 1) -- los elementos no siguen ningun orden. el elemento que se busca no tiene por que estar en V -- post: posicion en la que se encuentra N y, si no esta, -1 ...
alloy4fun_models/trashltl/models/9/cRBBJFx6jREpNF4vN.als
Kaixi26/org.alloytools.alloy
0
839
<gh_stars>0 open main pred idcRBBJFx6jREpNF4vN_prop10 { always all f:Protected | always f in Protected } pred __repair { idcRBBJFx6jREpNF4vN_prop10 } check __repair { idcRBBJFx6jREpNF4vN_prop10 <=> prop10o }
old/Univalence.agda
timjb/HoTT-Agda
294
12951
{-# OPTIONS --without-K #-} open import Types open import Functions open import Paths open import HLevel open import Equivalences module Univalence {i} where postulate -- Univalence axiom univalence : (A B : Set i) → is-equiv (path-to-eq {i} {A} {B}) path-to-eq-equiv : {A B : Set i} → ((A ≡ B) ≃ (A ≃ B)) path-to...
ROM/include/funcs_VIAA.asm
mspeculatrix/Zolatron64
0
102948
<reponame>mspeculatrix/Zolatron64 \ --- funcs_VIAA.asm \ ------------------------------------------------------------------------------ \ --- DELAY \ ------------------------------------------------------------------------------ \ General-purpose delay function. \ ON ENTRY: Assumes a 16-bit value in VIAA_TIMER_INTVL...
feo3boy/tests/fibonacci16.asm
zstewar1/feo3boy
0
100274
<filename>feo3boy/tests/fibonacci16.asm<gh_stars>0 ;; Compute all 8 bit fibonacci numbers. SECTION "Main", ROM0 Fibonacci: ld hl, Output ld de, 0 ld bc, 1 .loop: ld [hl], e inc hl ld [hl], d inc hl jr c, .overflow ld a, e add a, c ld e, c ld c, a ld a, d adc a, b ld d, b ld b, a jr .loop .overflow...
src/main/java/com/agh/a2f/generated/GYOO.g4
stefanik36/antlr4-fortran
0
6714
<reponame>stefanik36/antlr4-fortran grammar GYOO; program : 'begin' statement+ 'end'; statement : assign | add | print ; assign : 'let' ID 'be' (NUMBER | ID) ; print : 'print' (NUMBER | ID) ; add : 'add' (NUMBER | ID) 'to' ID ; ID : [a-z]+ ; NUMBER : [0-9]+ ; WS : [ \n\t]+ -> skip;
prg/string.asm
Hato6502/mycom
0
170596
read #str write #128 read #1024 write #129 *loop read 128 add #read 0 write #rr_1 *rr_1 nop eq #0 branch #break read 128 add #read 0 write #rr_2 *rr_2 nop write 129 read 128 add #1 write #128 read 129 add #1 write #129 read #loop write #0 *break *end read #end write #0 *str "Orange C...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_66_837.asm
ljhsiun2/medusa
9
3706
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x308c, %rsi lea addresses_UC_ht+0xbb6c, %rdi clflush (%rsi) nop nop nop cmp %rbx, %rbx mov $10, %rcx rep movsl nop and $11822, %r12 lea addresses_normal_ht+0x7d5c, %r10 clflus...
nexload2/nexload2.test.progress.i.asm
ped7g/ZXSpectrumNextMisc
15
164907
; hard-wired test harness for trying out routines drawing the progress bars ; to switch between modes, comment/uncomment all marked lines and change the screenBlock ; CSPECT_BREAK ld sp,charsetCopy+$300 ; put stack into this memory page ; switch gfx mode through regular "load scree...
src/TemporalOps/Diamond/Join.agda
DimaSamoz/temporal-type-systems
4
10628
<reponame>DimaSamoz/temporal-type-systems {- Definition of join for ◇ and associated lemmas. -} module TemporalOps.Diamond.Join where open import CategoryTheory.Categories open import CategoryTheory.Instances.Reactive open import CategoryTheory.Functor open import CategoryTheory.NatTrans open import CategoryTheory.Mo...
programs/oeis/021/A021186.asm
karttu/loda
0
4860
<reponame>karttu/loda ; A021186: Decimal expansion of 1/182. ; 0,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5,4,9,4,5,0,5 mov $1,$0 pow $0,2 mul $0,2 sub $0,$1 cal $0,21158 ; Decim...
programs/oeis/190/A190002.asm
karttu/loda
0
169356
; A190002: a(n) = n + [n*s/r] + [n*t/r]; r=1, s=(sinh(1))^2, t=(cosh(1))^2. ; 4,8,14,18,22,28,32,38,42,46,52,56,60,66,70,76,80,84,90,94,100,104,108,114,118,122,128,132,138,142,146,152,156,160,166,170,176,180,184,190,194,200,204,208,214,218,222,228,232,238,242,246,252,256,260,266,270,276,280,284,290,294,300,304,308,314,...
src/util/spat-stop_watch.adb
HeisenbugLtd/spat
20
25220
------------------------------------------------------------------------------ -- 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 Hocevar. See the...
apu/channel_2/channel_2_nrx2_glitch.asm
endrift/SameSuite
21
87132
<reponame>endrift/SameSuite RESULTS_START EQU $c000 RESULTS_N_ROWS EQU 2 include "base.inc" ; This tests the NRx2 write glitch ("Zombie Mode"). It appears to ; be different across revisions CorrectResults: db $20, $10, $20, $30, $D0, $F0, $C0, $F0 db $20, $10, $10, $20, $D0, $E0, $C0, $D0 SubTest: MACRO ld [r...
software/unittest/estimator/src/simulation.ads
TUM-EI-RCS/StratoX
12
9769
with CSV; with Ada.Text_IO; use Ada.Text_IO; package Simulation is package CSV_here is new CSV (filename => "../rawdata.csv"); have_data : Boolean := False; csv_file : File_Type; Finished : Boolean := False; procedure init; procedure update; procedure close; end Simulation;
src/type-util.agda
zmthy/cedille
0
10836
module type-util where open import cedille-types open import general-util open import syntax-util tmtp-to-arg : erased? → tmtp → arg tmtp-to-arg ff (inj₁ t) = Arg t tmtp-to-arg me = ArgE tmtps-to-args : erased? → 𝕃 tmtp → args tmtps-to-args = map ∘ tmtp-to-arg tmtps-to-args-for-params : (keep-extra : maybe erased?)...
antlr/ConfigReferenceLexer.g4
bechtleav360/Maverick.ConfigService
0
3211
lexer grammar ConfigReferenceLexer; WHITESPACE : ('\t' | ' ' | '\r' | '\r")') -> skip; // curly-braces not included in FLUFF because otherwise it would also match references as FLUFF FLUFF: ( VALUE | COLON | SEMICOLON | QUOTES | NEWLINE | ' ' | '\t' )+; SING...
libsrc/_DEVELOPMENT/string/c/sccz80/rindex_callee.asm
meesokim/z88dk
0
247206
; BSD ; char *rindex(const char *s, int c) SECTION code_string PUBLIC rindex_callee EXTERN strrchr_callee defc rindex_callee = strrchr_callee
alloy4fun_models/trashltl/models/3/wFYFXCnPpHcmnqffH.als
Kaixi26/org.alloytools.alloy
0
55
<gh_stars>0 open main pred idwFYFXCnPpHcmnqffH_prop4 { some f:File | eventually f in Trash } pred __repair { idwFYFXCnPpHcmnqffH_prop4 } check __repair { idwFYFXCnPpHcmnqffH_prop4 <=> prop4o }
Compiler/FeelParser.g4
kulics/lite-csharp
5
3100
parser grammar FeelParser; options { tokenVocab=FeelLexer; } program: statement+; statement: New_Line* (annotationSupport)? exportStatement end? New_Line* (namespaceSupportStatement end|New_Line)* (namespaceSupportStatement end?)? New_Line* ; // 导出命名空间 exportStatement: Sharp nameSpaceItem; namespaceSupportStatem...
programs/oeis/126/A126560.asm
karttu/loda
1
160164
; A126560: a(n) = gcd(4(n+1)(n+2), n(n+3)), periodic with 8-cycle 4,2,2,4,8,2,2,8. ; 4,2,2,4,8,2,2,8,4,2,2,4,8,2,2,8,4,2,2,4,8,2,2,8,4,2,2,4,8,2,2,8,4,2,2,4,8,2,2,8,4,2,2,4,8,2,2,8,4,2,2,4,8,2,2,8,4,2,2,4,8,2,2,8,4,2,2,4,8,2,2,8,4,2,2,4,8,2,2,8,4,2,2,4,8,2,2,8,4,2,2,4,8,2,2,8,4,2,2,4,8,2,2,8,4,2,2,4,8,2,2,8,4,2,2,4,8,2...
alloy4fun_models/trashltl/models/5/8rwJ2pw5aNpusgToz.als
Kaixi26/org.alloytools.alloy
0
2577
<gh_stars>0 open main pred id8rwJ2pw5aNpusgToz_prop6 { some f:File | always f in Trash implies after f in Trash } pred __repair { id8rwJ2pw5aNpusgToz_prop6 } check __repair { id8rwJ2pw5aNpusgToz_prop6 <=> prop6o }
mem.asm
thomasj/HoustonTracker2
190
105242
<reponame>thomasj/HoustonTracker2<filename>mem.asm ;memory related subroutines ;************************************************************************************ stateSelect ;prompt user to select a savestate (slot) number ld a,(CScrType) cp 2 call z,delCsr2 jr _skip call delCsr _skip jp inputSlotNr ;***...
Driver/IFS/GEOS/Common/gfsInitExit.asm
steakknife/pcgeos
504
8663
<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1993 -- All Rights Reserved PROJECT: MODULE: FILE: gfsInitExit.asm AUTHOR: <NAME>, Apr 13, 1993 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name ...
Agda/16-sets.agda
UlrikBuchholtz/HoTT-Intro
333
10809
<reponame>UlrikBuchholtz/HoTT-Intro<gh_stars>100-1000 {-# OPTIONS --without-K --exact-split #-} module 16-sets where import 15-groups open 15-groups public {- Equivalence relations -} Rel-Prop : (l : Level) {l1 : Level} (A : UU l1) → UU ((lsuc l) ⊔ l1) Rel-Prop l A = A → (A → UU-Prop l) type-Rel-Prop : {l1 l2 ...
asm/6502/test/memopad.asm
rampa069/clc88
1
243467
icl '../os/symbols.asm' POS_BASE = 22*40+9 POS_CAPS = POS_BASE POS_SHIFT = POS_CAPS + 6 POS_CTRL = POS_SHIFT + 7 POS_ALT = POS_CTRL + 6 org BOOTADDR lda #0 ldy #0 ldx #OS_SET_VIDEO_MODE jsr OS_CALL jsr calc_screen_offset next_frame: lda FRAMECOUNT wait: cmp FRAMECOUNT beq wa...
boards/native/src/posix.ads
Sawchord/Ada_Drivers_Library
0
19601
<reponame>Sawchord/Ada_Drivers_Library ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2018, Adacore -- -- ...
src/portscan.adb
Qrbaker/synth
263
13255
<reponame>Qrbaker/synth -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with Ada.Strings.Hash; with Ada.Calendar.Formatting; with GNAT.Regpat; with GNAT.String_Split; with Signals; with Unix; package body PortScan is package ACF renames Ada.Calendar.Formatt...
libsrc/_DEVELOPMENT/adt/ba_priority_queue/c/sccz80/ba_priority_queue_destroy.asm
teknoplop/z88dk
8
28803
; void ba_priority_queue_destroy(ba_priority_queue_t *q) SECTION code_clib SECTION code_adt_ba_priority_queue PUBLIC ba_priority_queue_destroy EXTERN asm_ba_priority_queue_destroy defc ba_priority_queue_destroy = asm_ba_priority_queue_destroy
programs/oeis/081/A081842.asm
karttu/loda
1
243311
; A081842: a(1)=0, a(n)=a(n-1)+4 if n is already in the sequence, a(n)=a(n-1)+3 otherwise. ; 0,3,7,10,13,16,20,23,26,30,33,36,40,43,46,50,53,56,59,63,66,69,73,76,79,83,86,89,92,96,99,102,106,109,112,116,119,122,125,129,132,135,139,142,145,149,152,155,158,162,165,168,172,175,178,182,185,188,192,195 mov $2,$0 mul $0,10 ...
grammar/AlteryxFormulas.g4
tlarsen7572/alteryx_formulas
0
6629
grammar AlteryxFormulas; expr : '(' expr ')' # parenthesis | left=expr '*' right=expr # multiply | left=expr '/' right=expr # divide | left=expr '+' right=expr ...
oeis/094/A094256.asm
neoneye/loda-programs
11
243991
; A094256: Expansion of x / ( (x-1)*(x^3 - 9*x^2 + 6*x - 1) ). ; Submitted by <NAME> ; 1,7,34,143,560,2108,7752,28101,100947,360526,1282735,4552624,16131656,57099056,201962057,714012495,2523515514,8916942687,31504028992,111295205284,393151913464,1388758662221,4905479957435,17327203698086,61202661233823,216176614077600,...