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
2004-summer/mp2/mp2.asm
ece291/machine-problems
3
94569
<filename>2004-summer/mp2/mp2.asm ; MP2 - Sorting Algorithm Analysis ; Your Name ; Today's Date ; ; <NAME>, Summer 2004 ; University of Illinois, Urbana-Champaign ; Dept. of Electrical and Computer Engineering ; ; Version 1.0 BITS 16 ;====== SECTION 1: Define constants ======================================= ; De...
test/asset/agda-stdlib-1.0/Data/List/Zipper.agda
omega12345/agda-mode
5
10185
------------------------------------------------------------------------ -- The Agda standard library -- -- List Zippers, basic types and operations ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.List.Zipper where open import Data.Nat.Base open...
fiba.asm
sidshas03/My-Personal-Blog
0
83662
<filename>fiba.asm .MODEL SMALL .DATA RES DB ? CNT DB 0AH ; Initialize the counter for the no of Fibonacci No needed .CODE START: MOV AX,@DATA MOV DS,AX LEA SI,RES MOV CL,CNT ; Load the count value for CL for looping MOV AX,00H ; Default No MOV BX,01H ; Default No ;Fibonacci Part L1:ADD AX,BX M...
boot/loader.asm
Twometer/nekosys
1
97043
<gh_stars>1-10 bits 16 ; 16-bit org 0x8000 ; Stage 2 Loader offset ;;;;;;;;;;;;;;;;;;; ;; Configuration ;; ;;;;;;;;;;;;;;;;;;; %define debug_log 0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Memory location definitions ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; %define boot_sector 0x7C00 %define sector_cache 0x4000 %...
components/src/audio/CS43L22/cs43l22.ads
rocher/Ada_Drivers_Library
192
9270
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
programs/oeis/122/A122656.asm
neoneye/loda
22
174660
<gh_stars>10-100 ; A122656: n*floor(n/2)^2. ; 0,0,2,3,16,20,54,63,128,144,250,275,432,468,686,735,1024,1088,1458,1539,2000,2100,2662,2783,3456,3600,4394,4563,5488,5684,6750,6975,8192,8448,9826,10115,11664,11988,13718,14079,16000,16400,18522,18963,21296,21780,24334,24863,27648,28224,31250,31875,35152,35828,39366,40095,4...
data/baseStats_original/poliwag.asm
adhi-thirumala/EvoYellow
16
27664
<gh_stars>10-100 db DEX_POLIWAG ; pokedex id db 40 ; base hp db 50 ; base attack db 40 ; base defense db 90 ; base speed db 40 ; base special db WATER ; species type 1 db WATER ; species type 2 db 255 ; catch rate db 77 ; base exp yield INCBIN "pic/ymon/poliwag.pic",0,1 ; 55, sprite dimensions dw PoliwagPicFront dw Pol...
src/controller.asm
bberak/6502-flappy-bird
0
105190
<filename>src/controller.asm !to "build/timer.bin" PORTB = $6000 PORTA = $6001 DDRB = $6002 DDRA = $6003 T1_LC = $6004 T1_HC = $6005 ACR = $600b PCR = $600c IFR = $600d IER = $600e DISABLED = %00010000 DATA = %00100000 COMMAND = %00000000 HIGH = %01000000 LOW = %00000000 TICK = %1000000...
test/Fail/Issue829.agda
shlevy/agda
1,989
4722
<filename>test/Fail/Issue829.agda -- {-# OPTIONS -v tc.cover.splittree:10 -v tc.cc:30 #-} module Issue829 where record ⊤ : Set where constructor tt data ⊥ : Set where postulate P : ⊥ → Set data D : (A : Set) → A → Set where c : ⊥ → (x : ⊤) → D ⊤ x f : {A : Set} {x : A} → D A x → ⊥ f (c () .tt) g : (x : ⊥) →...
oeis/267/A267649.asm
neoneye/loda-programs
11
87928
<gh_stars>10-100 ; A267649: a(1) = a(2) = 2 then a(n) = 4 for n>2. ; Submitted by <NAME> ; 2,2,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 div $0,2 cmp $0,0 gcd $0,3 a...
aux/2600/red_line/source.asm
6502ts/6502.ts
49
80831
; thin red line by <NAME> processor 6502 include ../vcs.h org $F000 Start SEI CLD LDX #$FF TXS LDA #0 ClearMem STA 0,X DEX BNE ClearMem LDA #$00 STA COLUBK LDA #33 STA COLUP0 MainLoop LDA #2 STA VSYNC STA WSYNC STA WSYNC STA WSYNC LDA #43 STA TIM64T LDA #0 STA ...
agda-stdlib-0.9/src/Data/String/Core.agda
qwe2/try-agda
1
11231
------------------------------------------------------------------------ -- The Agda standard library -- -- Core definitions for Strings ------------------------------------------------------------------------ module Data.String.Core where open import Data.List using (List) open import Data.Bool using (Bool; true; fa...
arch/ARM/Nordic/svd/nrf51/nrf_svd-ccm.ads
rocher/Ada_Drivers_Library
192
3672
-- 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: -- -- * Redistributions of source code must retain the above copyright notice, this -- lis...
day03/nasmfunc.asm
itiB/hariboteOS_30days
1
82365
<gh_stars>1-10 ; nasmfunc GLOBAL io_hlt section .text ;オブジェクトファイルではこれを書いてからプログラムを書く io_hlt: ;void io_hlt(void); HLT RET
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_19.asm
ljhsiun2/medusa
9
89396
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x15952, %rsi lea addresses_normal_ht+0x4d02, %rdi clflush (%rsi) clflush (%rdi) nop nop nop sub %r11, %r11 mov $55, %rcx rep movsb nop nop inc %r12 lea ad...
programs/oeis/028/A028346.asm
jmorken/loda
1
101466
; A028346: Expansion of 1/((1-x)^4*(1-x^2)^2). ; 1,4,12,28,58,108,188,308,483,728,1064,1512,2100,2856,3816,5016,6501,8316,10516,13156,16302,20020,24388,29484,35399,42224,50064,59024,69224,80784,93840,108528,125001,143412,163932,186732,212002,239932,270732,304612,341803 mov $15,$0 mov $17,$0 add $17,1 lpb $17 clr $0,...
oeis/062/A062882.asm
neoneye/loda-programs
11
177696
; A062882: a(n) = (1 - 2*cos(Pi/9))^n + (1 + 2*cos(Pi*2/9))^n + (1 + 2*cos(Pi*4/9))^n. ; Submitted by <NAME> ; 3,9,18,45,108,270,675,1701,4293,10854,27459,69498,175932,445419,1127763,2855493,7230222,18307377,46355652,117376290,297206739,752553261,1905530913,4824972522,12217257783,30935180610,78330624264,198340099443,50...
oeis/315/A315470.asm
neoneye/loda-programs
11
240172
<reponame>neoneye/loda-programs<filename>oeis/315/A315470.asm ; A315470: Coordination sequence Gal.6.253.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; Submitted by <NAME>(s1) ; 1,6,11,16,21,26,32,37,42,47,52,58,64,69,74,79,84,90,...
agda/TreeSort/Impl1/Correctness/Permutation.agda
bgbianchi/sorting
6
6972
open import Relation.Binary.Core module TreeSort.Impl1.Correctness.Permutation {A : Set} (_≤_ : A → A → Set) (tot≤ : Total _≤_) where open import BTree {A} open import Data.List open import Data.Sum open import List.Permutation.Base A open import List.Permutation.Base.Concatenati...
CDROOT/COBALT/SOURCE/SYSLINUX/sample/comecho.asm
Michael2626/Cobalt
35
98332
; ; Simple COMBOOT program that just prints out its own command line. ; This also works in DOS. ; org 100h _start: xor cx,cx mov cl,[80h] ; Command line len mov si,81h ; Command line mov dl,"<" mov ah,02h int 21h .writechar: lodsb mov dl,al mov ah,02h int 21h loop .writechar mov dx,end_str mov a...
astro_ship_shield_data.asm
nealvis/astroblast
0
86402
<gh_stars>0 ////////////////////////////////////////////////////////////////////////////// // astro_ship_shield_data.asm // Copyright(c) 2021 <NAME>. // License: MIT. See LICENSE file in root directory. ////////////////////////////////////////////////////////////////////////////// // contains the data that is needed b...
Categories/Pushout.agda
copumpkin/categories
98
6811
module Categories.Pushout where
programs/oeis/077/A077262.asm
neoneye/loda
22
244048
; A077262: Second member of the Diophantine pair (m,k) that satisfies 5*(m^2 + m) = k^2 + k; a(n) = k. ; 0,5,14,99,260,1785,4674,32039,83880,574925,1505174,10316619,27009260,185124225,484661514,3321919439,8696898000,59609425685,156059502494,1069647742899,2800374146900,19194049946505,50250675141714,344423251294199,90171...
Task/Continued-fraction/Ada/continued-fraction-4.ada
LaudateCorpus1/RosettaCodeData
1
4430
<reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Continued-fraction/Ada/continued-fraction-4.ada<gh_stars>1-10 generic type Scalar is digits <>; with function A (N : in Natural) return Natural; with function B (N : in Positive) return Natural; function Continued_Fraction_Ada95 (Steps : in Natural) retu...
src/stars/examples/basics/hello_world1.asm
kevintmcdonnell/stars
9
86704
# Hello world program .data Greeting: .asciiz "Hello world!\n" .text main: # Prints a string on the screen li $v0, 4 la $a0, Greeting syscall # Terminates the program li $v0, 10 syscall
programs/oeis/006/A006288.asm
neoneye/loda
22
11741
; A006288: Loxton-van der Poorten sequence: base-4 representation contains only -1, 0, +1. ; 0,1,3,4,5,11,12,13,15,16,17,19,20,21,43,44,45,47,48,49,51,52,53,59,60,61,63,64,65,67,68,69,75,76,77,79,80,81,83,84,85,171,172,173,175,176,177,179,180,181,187,188,189,191,192,193,195,196,197,203,204,205,207,208,209 mov $2,$0 ad...
src/main/antlr/adl/odin_values.g4
openEHR/adl-antlr
1
6319
// // grammar defining ODIN terminal value types, including atoms, lists and intervals // author: <NAME> <<EMAIL>> // support: openEHR Specifications PR tracker <https://openehr.atlassian.net/projects/SPECPR/issues> // copyright: Copyright (c) 2018- openEHR Foundation <http://www.openEHR.org> // grammar odi...
oeis/290/A290999.asm
neoneye/loda-programs
11
165694
; A290999: p-INVERT of (1,1,1,1,1,...), where p(S) = 1 - 6*S^2. ; Submitted by <NAME> ; 0,6,12,54,168,606,2052,7134,24528,84726,292092,1007814,3476088,11991246,41362932,142682094,492178848,1697768166,5856430572,20201701974,69685556808,240379623486,829187031012,2860272179454,9866479513968,34034319925206,117401037420252,...
code/vendor/openssl/asm/crypto/x86_64cpuid.asm
thorium-cfx/fivem
5,411
89472
<filename>code/vendor/openssl/asm/crypto/x86_64cpuid.asm<gh_stars>1000+ OPTION DOTNAME EXTERN OPENSSL_cpuid_setup:NEAR .CRT$XCU SEGMENT READONLY ALIGN(8) DQ OPENSSL_cpuid_setup .CRT$XCU ENDS _DATA SEGMENT COMM OPENSSL_ia32cap_P:DWORD:4 _DATA ENDS .text$ SEGMENT ALIGN(256) 'CODE' PUBLIC OPENSSL_atomic_add ALIGN ...
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_f_getcwd_drive.asm
jpoikela/z88dk
640
102746
<gh_stars>100-1000 ; unsigned char esx_f_getcwd_drive(unsigned char drive, char *buf) SECTION code_esxdos PUBLIC _esx_f_getcwd_drive EXTERN l_esx_f_getcwd_drive_callee _esx_f_getcwd_drive: pop de dec sp pop af pop hl push hl push af inc sp push de jp l_esx_f_getcwd_drive_callee
ada/original_2008/ada-gui/agar-gui-widget.ads
auzkok/libagar
286
13447
with agar.core.object; with agar.core.slist; with agar.core.threads; with agar.core.types; with agar.gui.colors; with agar.gui.rect; with agar.gui.surface; with interfaces.c.strings; package agar.gui.widget is package cs renames interfaces.c.strings; -- -- forward declarations -- type widget_t; type widg...
state.asm
AleffCorrea/BrickBreaker
4
163977
;State.asm ;Defines a state machine interpreter ;used mostly for non-interactive parts of the game and ;PPU draw scheduling State_Table: .dw _OPC_Halt - 1 .dw _OPC_Error - 1 .dw _OPC_Delay - 1 .dw _OPC_DrawRLE - 1 .dw _OPC_DrawSquare - 1 .dw _OPC_DrawNumber100 - 1 .dw _OPC_DrawString - 1 .dw _OPC_DrawMetatileR...
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_45_631.asm
ljhsiun2/medusa
9
241267
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1d96, %rcx sub %rdx, %rdx mov (%rcx), %eax nop nop cmp $19683, %rdx lea addresses_normal_ht+0x3112, %rsi lea addresses_WC_ht+0xce94, %rdi nop nop nop nop nop cmp $19947, %r14 mov $39,...
oeis/005/A005061.asm
neoneye/loda-programs
11
173201
; 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...
oeis/284/A284458.asm
neoneye/loda-programs
11
28634
<reponame>neoneye/loda-programs ; A284458: Number of pairs (f,g) of endofunctions on [n] such that the composite function gf has no fixed point. ; Submitted by <NAME> ; 1,0,2,156,16920,2764880,650696400,210105425628,89425255439744,48588905856409920,32845298636854828800,27047610425293718239100,26664178085975252011318272...
Working Disassembly/Levels/MHZ/Misc Object Data/Map - Miniboss.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
166233
Map_186168: dc.w word_1861A2-Map_186168 dc.w word_18623A-Map_186168 dc.w word_1862D2-Map_186168 dc.w word_18636A-Map_186168 dc.w word_186402-Map_186168 dc.w word_18646A-Map_186168 dc.w word_1864D2-Map_186168 dc.w word_18653A-Map_186168 dc.w word_18659C-Map_186168 dc.w word_1865FE-Map_186168 dc.w wo...
07_packages/Practica1.adb
hbarrientosg/cs-mp
0
17666
<gh_stars>0 Package body Numeros_racionales is function "/"(A,B:integer)return Racional is R1:Racional; D:integer; Begin if B/=0 then R1.Num := A/Max(abs(a),abs(B)); R1.Dem:= B/Max(abs(a),abs(B)); else raise Denominador_cero; end if; Return r1; End "/"; Function "+"(X,Y:Racional)return Racional i...
programs/oeis/194/A194599.asm
neoneye/loda
22
242352
; A194599: Units' digits of the nonzero hexagonal numbers. ; 1,6,5,8,5,6,1,0,3,0,1,6,5,8,5,6,1,0,3,0,1,6,5,8,5,6,1,0,3,0,1,6,5,8,5,6,1,0,3,0,1,6,5,8,5,6,1,0,3,0,1,6,5,8,5,6,1,0,3,0,1,6,5,8,5,6,1,0,3,0,1,6,5,8,5,6,1,0,3,0,1,6,5,8,5,6,1,0,3,0,1,6,5,8,5,6,1,0,3,0 mov $2,8 mul $2,$0 sub $2,1 add $0,$2 mul $0,$2 mod $0,10
libsrc/psg/saa1099/etracker/etracker.asm
ahjelm/z88dk
640
9829
<reponame>ahjelm/z88dk ; Disassembly of the compiled E-Tracker player ; ; (C) 2020-2021 <NAME> ; ; Object code (C) 1992 ESI ;---------------------------------------------- ; row as shown in E-Tracker editor: ; ; | 000 | --- 0000 | --- 0000 | --- 0000 ; row |/| ||command + parameter ; | | |+- ornament ; ...
presentationsAndExampleCode/agdaImplementorsMeetingGlasgow22April2016AntonSetzer/stateDependentIO.agda
agda/ooAgda
23
9463
module stateDependentIO where open import Level using (_⊔_ ) renaming (suc to lsuc; zero to lzero) open import Size renaming (Size to AgdaSize) open import NativeIO open import Function module _ {γ ρ μ} where record IOInterfaceˢ : Set (lsuc (γ ⊔ ρ ⊔ μ )) where field StateIOˢ : Set γ Commandˢ ...
assignment6/shutdownv2.asm
gkweb76/SLAE
15
242131
; Polymorphic version of http://shell-storm.org/shellcode/files/shellcode-876.php ; 83 bytes (original 56 bytes) ; <NAME> ; SLAE-681 global _start section .text _start: ;int execve(const char *filename, char *const argv[], char *const envp[] xor eax, eax ; zero out eax push eax ; push NULL terminating string...
llvm-gcc-4.2-2.9/gcc/ada/g-tasloc.ads
vidkidz/crossbridge
1
30842
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
oeis/004/A004692.asm
neoneye/loda-programs
11
94925
<reponame>neoneye/loda-programs<filename>oeis/004/A004692.asm ; A004692: Fibonacci numbers written in base 9. ; 0,1,1,2,3,5,8,14,23,37,61,108,170,278,458,747,1316,2164,3481,5655,10246,16012,26258,43271,70540,123821,204461,328382,533853,863345,1507308,2471654,4080063,6561727,11651801,18323628,31075530,50410258,81485788,...
programs/oeis/062/A062069.asm
jmorken/loda
1
27023
<filename>programs/oeis/062/A062069.asm ; A062069: a(n) = sigma(d(n)), where d(k) is the number of divisors function (A000005) and sigma(k) is the sum of divisors function (A000203). ; 1,3,3,4,3,7,3,7,4,7,3,12,3,7,7,6,3,12,3,12,7,7,3,15,4,7,7,12,3,15,3,12,7,7,7,13,3,7,7,15,3,15,3,12,12,7,3,18,4,12,7,12,3,15,7,15,7,7,3,...
kv-ref_counting_mixin.adb
davidkristola/vole
4
18650
with Ada.Unchecked_Deallocation; package body kv.Ref_Counting_Mixin is procedure Free is new Ada.Unchecked_Deallocation(Data_Type, Data_Access); procedure Free is new Ada.Unchecked_Deallocation(Control_Type, Control_Access); ----------------------------------------------------------------------------- p...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1937.asm
ljhsiun2/medusa
9
89848
<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1937.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1513e, %r9 nop nop and %r8, %r8 mov $0x6162636465666768, %r11 movq %r11, (%r9) nop nop n...
tools/css-analysis-rules-types.adb
stcarrez/ada-css
3
5487
<filename>tools/css-analysis-rules-types.adb ----------------------------------------------------------------------- -- css-analysis-rules-types -- Rules for CSS pre-defined value types -- Copyright (C) 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); ...
test/Succeed/Issue4944.agda
shlevy/agda
0
773
<reponame>shlevy/agda -- Andreas, 2020-09-26, issue #4944. -- Size solver got stuck on projected variables which are left over -- in some size constraints by the generalization feature. -- {-# OPTIONS --sized-types #-} -- {-# OPTIONS --show-implicit #-} -- {-# OPTIONS -v tc.conv.size:60 -v tc.size:30 -v tc.meta.assign...
src/pe/loadpe.asm
amindlost/wdosx
7
90286
; ############################################################################ ; ## WDOSX DOS Extender Copyright (c) 1996, 2002, <NAME> ## ; ## ## ; ## Released under the terms of the WDOSX license agreement. ## ; ###########...
programs/oeis/215/A215580.asm
jmorken/loda
1
88702
; A215580: Partial sums of A215602. ; 2,5,17,45,122,320,842,2205,5777,15125,39602,103680,271442,710645,1860497,4870845,12752042,33385280,87403802,228826125,599074577,1568397605,4106118242,10749957120,28143753122,73681302245,192900153617,505019158605,1322157322202,3461452808000,9062201101802,23725150497405,6211325039041...
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/g-sehash.adb
JCGobbi/Nucleo-STM32G474RE
0
1582
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
init.asm
sloanetj/Xv6-Container-Support
0
245908
<filename>init.asm _init: file format elf32-i386 Disassembly of section .text: 00000000 <main>: char *argv[] = {"sh", 0}; int main(void) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 ...
oeis/011/A011101.asm
neoneye/loda-programs
11
28434
; A011101: Decimal expansion of 5th root of 16. ; Submitted by <NAME> ; 1,7,4,1,1,0,1,1,2,6,5,9,2,2,4,8,2,7,8,2,7,2,5,4,0,0,3,4,9,5,9,4,9,2,1,9,7,9,5,8,2,5,0,8,4,8,6,9,6,0,0,6,0,9,6,4,8,3,7,1,9,1,3,7,0,1,3,5,0,0,0,3,5,5,0,4,9,5,6,0,2,0,3,7,6,7,5,7,5,2,9,7,4,3,3,4,0,8,3,5 mov $3,$0 mul $3,3 mov $7,10 lpb $3 mul $1,2 ...
examples/vfl/Typechecker.agda
asr/agda-kanso
1
12919
<gh_stars>1-10 module Typechecker where data Nat : Set where zero : Nat suc : Nat -> Nat {-# BUILTIN NATURAL Nat #-} {-# BUILTIN ZERO zero #-} {-# BUILTIN SUC suc #-} _+_ : Nat -> Nat -> Nat zero + m = m suc n + m = suc (n + m) data Fin : Nat -> Set where f0 : {n : Nat} -> Fin (suc n) fs : {n : Nat} -> ...
out/aaa_11arrayconst.adb
FardaleM/metalang
22
8278
<gh_stars>10-100 with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; procedure aaa_11arrayconst is type stringptr is access all char_array; procedure PString(s : stringptr) is begin St...
programs/oeis/208/A208901.asm
neoneye/loda
22
243976
; A208901: Number of bitstrings of length n (with at least two runs) where the last two runs have different lengths. ; 0,0,4,8,24,48,112,224,480,960,1984,3968,8064,16128,32512,65024,130560,261120,523264,1046528,2095104,4190208,8384512,16769024,33546240,67092480,134201344,268402688,536838144,1073676288,2147418112,429483...
src/notcurses.ads
JeremyGrosser/notcursesada
5
249
<filename>src/notcurses.ads<gh_stars>1-10 -- -- Copyright 2021 (C) <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: Apache-2.0 -- with Ada.Unchecked_Conversion; with Interfaces; with Interfaces.C.Strings; with Interfaces.C_Streams; with Interfaces.C; with Notcurses_Thin; package Notcurses is type Notcurses_Context...
source/server/ada_lsp-handlers.adb
reznikmm/ada_lsp
11
8197
-- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.Strings; with LSP.Types; with Ada_LSP.Completions; with Ada_LSP.Documents; package body Ada_LSP.Handlers is function "+" (Text : Wid...
oeis/335/A335612.asm
neoneye/loda-programs
11
162062
; A335612: Number of sets (in the Hausdorff metric geometry) at each location between two sets defined by a complete bipartite graph K(3,n) (with n at least 3) missing two edges, where the removed edges are incident to the same vertex in the three point part. ; Submitted by <NAME> ; 32,344,2792,20720,148592,1050824,738...
45/beef/drv/csd/src/vectra.asm
minblock/msdos
0
168793
;* ;* CW : Character Windows Drivers ;* ;* Vectra.asm : HP Vectra CSD ;* ;***************************************************************************** include csd_head.inc include csd_data.inc ;***************************************************************************** include csd_code.asm ;* first part of c...
src/Fragment/Equational/Theory/Combinators.agda
yallop/agda-fragment
18
842
<reponame>yallop/agda-fragment<gh_stars>10-100 {-# OPTIONS --without-K --exact-split --safe #-} open import Fragment.Equational.Theory.Base module Fragment.Equational.Theory.Combinators (Θ : Theory) where open import Fragment.Algebra.Signature open import Fragment.Algebra.Properties open import Fragment.Equational.M...
Experiment/Ord.agda
rei1024/agda-misc
3
10879
<reponame>rei1024/agda-misc<gh_stars>1-10 -- "Ordinal notations via simultaneous definitions" module Experiment.Ord where open import Level renaming (zero to lzero; suc to lsuc) open import Relation.Binary open import Relation.Binary.PropositionalEquality open import Data.Sum data Ord : Set data _<_ : Rel Ord lzero ...
core/src/main/antlr4/FieldPath.g4
kcheng-mr/ojai
0
4926
grammar FieldPath; options { language=Java; } @header { /** * Copyright (c) 2015 MapR, Inc. * * 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/LIC...
tests/typing/bad/testfile-record-1.adb
xuedong/mini-ada
0
21458
with Ada.Text_IO; use Ada.Text_IO; procedure Test is type t is record a, a: integer; end record; begin new_line; end;
Galaga on FPGA/MIPS port/SimpleGame_01.asm
Interestle/Misc
0
8064
<reponame>Interestle/Misc .data ### Bitmap Display ### # There are 2048 pixels that are each a word in length, # but expects a 24-bit color value. # There are 32 columns and 64 rows. # # Settings to use: (small display) (big display) # Unit Width in Pixels: 8 (16) # ...
test-fasm/hello-nasm.asm
AverageAssemblyProgrammer/Hustle
1
17225
BITS 64 %define SYS_exit 60 %define SYS_write 1 %define STDOUT 1 global _start section .text _start: mov rax, SYS_write mov rdi, STDOUT mov rsi, hello mov rdx, 13 syscall mov rax, SYS_write mov rdi, STDOUT mov rsi, hello2 mov rdx, 17 syscall section .data hello: db "Hello, World", 10 hello2: db ...
hooks/setendoffilehook.asm
kun1z/ksmod
1
240822
; Copyright © 2005 - 2021 by <NAME>. All rights reserved. SetEndOfFileHook proto :dword .data? SetEndOfFileOrig dd ? .code ; ########################################################################## SetEndOfFileHook proc hFile:dword .if hFile != 0 .if DidWeCreateTheDAT == FALSE ...
parser/src/main/antlr4/smef/parser/SmefLexer.g4
aricov/smef
2
2614
lexer grammar SmefLexer; MessageName: [A-Z] NAME_INSIDE; SNAME: [a-z] NAME_INSIDE; QNAME: SNAME DOT MessageName; fragment NAME_INSIDE: [a-zA-Z0-9_$]*; DOMAIN: '#domain'; INCLUDE: '#include'; MESSAGE: '#message'; TRAIT: '#trait'; UNION_BEGIN: '#union'; UNION_END: '/union'; COMMENT_START: '##' -> pushMode(COMMENT_LI...
changeWallpaper.applescript
kimonoki/tools
0
1604
<filename>changeWallpaper.applescript tell application "System Events" tell current desktop set picture to "PathToWallpaper" end tell end tell
oeis/157/A157820.asm
neoneye/loda-programs
11
241582
<gh_stars>10-100 ; A157820: 27225n^2 + 2n. ; 27227,108904,245031,435608,680635,980112,1334039,1742416,2205243,2722520,3294247,3920424,4601051,5336128,6125655,6969632,7868059,8820936,9828263,10890040,12006267,13176944,14402071,15681648,17015675,18404152,19847079,21344456,22896283,24502560,26163287,27878464,29648091,3147...
strings_edit-text_edit.adb
jrcarter/Ada_GUI
19
19792
<reponame>jrcarter/Ada_GUI -- -- -- package Strings_Edit Copyright (c) <NAME> -- -- Implementation Luebeck -- -- Strings_Edit.Text_Edit Spring, 2000 -- -- ...
original/28 - Tutorial Twenty Eight - Paranoid.asm
rodoherty1/6502-Examples
0
101857
<filename>original/28 - Tutorial Twenty Eight - Paranoid.asm ;******************************************************************************* ;* Tutorial Twenty-Eight Paranoid Coversion * ;* * ;* Written By <N...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_7_856.asm
ljhsiun2/medusa
9
167985
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x19434, %r15 clflush (%r15) nop nop nop nop nop sub %rsi, %rsi mov $0x6162636465666768, %rbp movq %rbp, %xmm0 movups %xmm0, (%r15) nop nop nop add $4782, %r13 lea addresses_A_ht+0xd634,...
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-forrea.adb
JCGobbi/Nucleo-STM32G474RE
0
15090
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
programs/oeis/074/A074522.asm
neoneye/loda
22
171184
<reponame>neoneye/loda ; A074522: a(n) = 1^n + 6^n + 9^n. ; 3,16,118,946,7858,66826,578098,5062906,44726338,397498186,3547250578,31743856666,284606318818,2554926522346,22955156619058,206361317079226,1855841298759298,16694108359111306,150196195253667538 mov $1,6 pow $1,$0 mov $2,9 pow $2,$0 add $1,$2 mov $0,$1 add $0,1...
src/debug.adb
Hamster-Furtif/JeremyPlusPlus
0
6262
with ada.text_io, ada.Float_Text_IO, ada.Integer_Text_IO, utils, ada.Strings.Unbounded, montecarlo, botIO, opstrat, Mastermind; use ada.text_io, ada.Float_Text_IO, ada.Integer_Text_IO, utils, ada.Strings.Unbounded, montecarlo, botIO, opstrat, Mastermind; with read_preflop; use read_preflop; with Ada.Numerics; with Ada....
programs/oeis/092/A092896.asm
karttu/loda
1
28688
<reponame>karttu/loda ; A092896: Related to random walks on the 4-cube. ; 1,1,5,17,65,257,1025,4097,16385,65537,262145,1048577,4194305,16777217,67108865,268435457,1073741825,4294967297,17179869185,68719476737,274877906945,1099511627777,4398046511105,17592186044417,70368744177665,281474976710657,1125899906842625,4503599...
tools-src/gnu/gcc/gcc/ada/sem_case.adb
enfoTek/tomato.linksys.e2000.nvram-mod
80
23783
<filename>tools-src/gnu/gcc/gcc/ada/sem_case.adb ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt7.ads
best08618/asylo
7
25125
<gh_stars>1-10 with Ada.Calendar; use Ada.Calendar; package Opt7 is type time_t is (Absolute_Time, Delta_Time); procedure Parse (Str : String; Time_Type : out time_t; Abs_Time : out Time; Delt_Time : out Duration); end Opt7;
programs/oeis/133/A133585.asm
jmorken/loda
1
16299
<reponame>jmorken/loda ; A133585: Expansion of x - x^2*(2*x+1)*(x^2-2) / ( (x^2-x-1)*(x^2+x-1) ). ; 1,2,4,5,10,13,26,34,68,89,178,233,466,610,1220,1597,3194,4181,8362,10946,21892,28657,57314,75025,150050,196418,392836,514229,1028458,1346269,2692538,3524578,7049156,9227465,18454930,24157817 mov $31,$0 mov $33,$0 add $3...
src/signal_storage.ads
Blady-Com/Gate3
1
22830
<reponame>Blady-Com/Gate3 with Glib.Xml_Int; use Glib.Xml_Int; package Signal_Storage is -- Bad_Identifier : exception; -- raised when any signal name gives a bad Ada identifier -- type Window_Record is record Node : Node_Ptr; Signumber : Natural := 0; end record; -- For each wi...
35-speed.asm
yuwanzeon/human-resource-machine-solutions
1
2093
<reponame>yuwanzeon/human-resource-machine-solutions -- HUMAN RESOURCE MACHINE PROGRAM -- COPYFROM 14 COPYTO 13 INBOX COPYTO 0 OUTBOX INBOX COPYTO 1 SUB 0 JUMPZ c COPYFROM 1 OUTBOX BUMPUP 13 INBOX COPYTO 2 SUB 0 JUMPZ ...
20-speed.asm
yuwanzeon/human-resource-machine-solutions
1
29480
-- HUMAN RESOURCE MACHINE PROGRAM -- a: b: c: d: e: f: g: h: i: j: INBOX JUMPZ k COPYTO 0 BUMPDN 0 JUMPZ l BUMPDN 0 JUMPZ m BUMPDN 0 JUMPZ n BUMPDN 0 JUMPZ o BUMPDN 0 JUMPZ p BUMPDN 0 JUMPZ q BUMPDN 0 JUMPZ r...
sources/md/markdown-parsers.adb
reznikmm/markdown
0
17159
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ---------------------------------------------------------------- with Ada.Tags.Generic_Dispatching_Constructor; with League.Regexps; with Markdown.Link_Reference_Definitions; with Markdown.List_Items; with Markdown.Lists; package b...
arm_32bit/execve_setreuid.asm
japkettu/shellcode
0
12875
.section .text .global _start _start: @ enter thumbmode (avoid null bytes) .code 32 add r6, pc, #1 bx r6 .code 16 @ uid_t geteuid(void) @ r7: 49 mov r7, #49 @ geteuid svc 1 @ execute syscall (no null bytes) @ int setreuid(uid_t ruid, uid_t euid) @ r0: r0 (geteuid return value) @ r1: r0 @ r7: 70 m...
Transynther/x86/_processed/US/_st_/i7-8650U_0xd2_notsx.log_2_94.asm
ljhsiun2/medusa
9
95997
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xaca3, %rsi lea addresses_A_ht+0x3fb3, %rdi nop cmp $52388, %r13 mov $98, %rcx rep movsq nop xor %r12, %r12 lea addresses_WT_ht+0x11ea3, %rsi lea addresses_normal_ht+0x144a3, %rdi nop ...
Transynther/x86/_processed/NONE/_zr_xt_/i7-7700_9_0x48_notsx.log_21829_384.asm
ljhsiun2/medusa
9
95463
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_zr_xt_/i7-7700_9_0x48_notsx.log_21829_384.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x3d5c, %r12 nop nop add %r11, %r11 mov (%r12), %rbx nop nop ...
arch/ARM/STM32/svd/stm32l4x6/stm32_svd.ads
morbos/Ada_Drivers_Library
2
26261
-- This spec has been automatically generated from STM32L4x6.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; -- STM32L4x6 package STM32_SVD is pragma Preelaborate; -------------------- -- Base addresses -- -------------------- DAC_Base : cons...
alloy4fun_models/trainstlt/models/5/kvsZSk8t6whPTDrff.als
Kaixi26/org.alloytools.alloy
0
3098
<gh_stars>0 open main pred idkvsZSk8t6whPTDrff_prop6 { always (all s : Signal | s in Green implies eventually s not in Green or s not in Green implies eventually s in Green) } pred __repair { idkvsZSk8t6whPTDrff_prop6 } check __repair { idkvsZSk8t6whPTDrff_prop6 <=> prop6o }
MIPS/matrices_multiplication.asm
DLZaan/public
0
169875
<gh_stars>0 #matrices multiplication, can be easily optimised #s0->number of rows of first matrix in bytes (4*size of ints) #s1->number of columns of first matrix in bytes #s2->number of rows of second matrix in bytes #s3->number of columns of second matrix in bytes #s4->size of first matrix in bytes #s5->size of seco...
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_PrintString_callee.asm
jpoikela/z88dk
640
17994
; void __CALLEE__ sp1_PrintString_callee(struct sp1_pss *ps, uchar *s) ; 02.2008 aralbrec, Sprite Pack v3.0 ; zxz81 hi-res version SECTION code_clib SECTION code_temp_sp1 PUBLIC sp1_PrintString_callee EXTERN asm_sp1_PrintString sp1_PrintString_callee: pop hl pop de ex (sp),hl jp asm_sp1_PrintString
alloy4fun_models/trashltl/models/9/JDq85JQySFYLScu3m.als
Kaixi26/org.alloytools.alloy
0
1963
<filename>alloy4fun_models/trashltl/models/9/JDq85JQySFYLScu3m.als open main pred idJDq85JQySFYLScu3m_prop10 { (all f:File&Protected | always after f in Protected) } pred __repair { idJDq85JQySFYLScu3m_prop10 } check __repair { idJDq85JQySFYLScu3m_prop10 <=> prop10o }
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c91004b.ada
best08618/asylo
7
8319
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c91004b.ada -- C91004B.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 -- unlimi...
A4/xmm_xor_decoder.nasm
mshaneck/SLAE32
0
13928
<filename>A4/xmm_xor_decoder.nasm ; Title: XMM decoder shellcode ; Filename: xmm_xor_decoder.nasm ; Author: <NAME> ; Website: http://markshaneck.com ; ; A more detailed description of this code can be found at ; http://markshaneck.com/SLAE32/slae32-assignment4 ; ; Purpose: Decode shellcode that has been encoded throu...
alloy4fun_models/trashltl/models/7/557bzMwP6hzjLzjis.als
Kaixi26/org.alloytools.alloy
0
1331
<filename>alloy4fun_models/trashltl/models/7/557bzMwP6hzjLzjis.als<gh_stars>0 open main pred id557bzMwP6hzjLzjis_prop8 { all f1:File , f2:File | f1->f2 in link implies eventually f1 in Trash } pred __repair { id557bzMwP6hzjLzjis_prop8 } check __repair { id557bzMwP6hzjLzjis_prop8 <=> prop8o }
ada-server/src/-servers.ads
mindviser/keepaSDK
3
11052
-- Keepa API -- The Keepa API offers numerous endpoints. Every request requires your API access key as a parameter. You can find and change your key in the keepa portal. All requests must be issued as a HTTPS GET and accept gzip encoding. If possible, use a Keep_Alive connection. Multiple requests can be made in pa...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_5895_1523.asm
ljhsiun2/medusa
9
82973
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x2cdc, %r13 nop nop nop nop nop add $26745, %rbx movups (%r13), %xmm4 vpextrq $0, %xmm4, %rsi nop nop nop sub $46594, %r13 lea addresses_WT_ht+0x54dc, %r13 clflush (%r13) nop ...
Assembly/Wi-Fi/nossl_18.asm
WildGenie/Ninokuni
14
20649
;;----------------------------------------------------------------------------;; ;; Force to use HTTP (without SSL encryption layer) easier to capture packets ;; Copyright 2015 <NAME> (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in complianc...
oeis/080/A080940.asm
neoneye/loda-programs
11
29537
<reponame>neoneye/loda-programs ; A080940: Smallest proper divisor of n which is a suffix of n in binary representation; a(n) = 0 if no such divisor exists. ; 0,0,1,0,1,2,1,0,1,2,1,4,1,2,1,0,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,0,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,16,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,0,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,16...
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_saddr2px.asm
teknoplop/z88dk
0
84771
; uint zx_saddr2px(void *saddr) SECTION code_clib SECTION code_arch PUBLIC zx_saddr2px EXTERN asm_zx_saddr2px defc zx_saddr2px = asm_zx_saddr2px