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
loop_test.adb
kylelk/ada-examples
1
12030
with Ada.Text_IO, Ada.Integer_Text_IO; use Ada; procedure loop_test is begin for number in 0..10 loop Integer_Text_IO.put(number); Text_IO.New_Line; end loop; end loop_test;
mudpack_obfu/plugins/aplib/depacks.asm
layerfsd/mupack
1
172762
;; ;; aPLib compression library - the smaller the better :) ;; ;; TASM / MASM / WASM safe assembler depacker ;; ;; Copyright (c) 1998-2008 by <NAME> / Jibz ;; All Rights Reserved ;; ;; http://www.ibsensoftware.com/ ;; .386p .MODEL flat .CODE option prologue:none option epilogue:none get_unpackersize proc export ...
programs/oeis/195/A195142.asm
jmorken/loda
1
89690
<gh_stars>1-10 ; A195142: Concentric 10-gonal numbers. ; 0,1,10,21,40,61,90,121,160,201,250,301,360,421,490,561,640,721,810,901,1000,1101,1210,1321,1440,1561,1690,1821,1960,2101,2250,2401,2560,2721,2890,3061,3240,3421,3610,3801,4000,4201,4410,4621,4840,5061,5290,5521,5760,6001,6250,6501,6760,7021,7290,7561,7840,8121,84...
libsrc/graphics/getmaxx.asm
meesokim/z88dk
0
86664
<reponame>meesokim/z88dk ; ; Z88 Graphics Functions ; ; Written around the Interlogic Standard Library ; ; $Id: getmaxx.asm,v 1.3 2015/01/19 01:32:46 pauloscustodio Exp $ ; INCLUDE "graphics/grafix.inc" PUBLIC getmaxx .getmaxx ld hl,maxx-1 ret
src/gl/implementation/gl-matrices.adb
Roldak/OpenGLAda
79
7480
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" package body GL.Matrices is function "+" (Left, Right : Matrix) return Matrix is Return_Matrix : Matrix; begin for Column in Index_Type loop for Row in Index_Type loop R...
programs/oeis/219/A219282.asm
neoneye/loda
22
166534
; A219282: Number of superdiagonal bargraphs with area n. ; 1,1,1,2,3,4,6,9,13,18,25,35,49,68,93,126,170,229,308,413,551,731,965,1269,1664,2177,2842,3701,4806,6222,8031,10337,13272,17003,21740,27745,35343,44936,57021,72213,91274,115149,145010,182309,228841,286819,358964,448614,559857,697694,868239,1078964,1338998,16594...
tools/aflex/src/scanner-dfa.adb
svn2github/matreshka
24
3477
<filename>tools/aflex/src/scanner-dfa.adb package body scanner.DFA is function YYText return Wide_Wide_String is Aux : constant Wide_Wide_String (1 .. YY_CP - YY_BP) := Wide_Wide_String (YY_Ch_Buf.Data (YY_BP .. YY_CP - 1)); begin return Aux; end YYText; -- returns the length of the ...
game-projects/Zedda/Objects/SFX/PaletteFade/PaletteFade.asm
wide-dot/thomson-to8-game-engine
11
13852
; --------------------------------------------------------------------------- ; Object - PaletteFade ; ; input REG : [u] pointeur sur l'objet (SST) ; ; -------------------------------------- ; ; Colors ; ------ ; Genesis/Megadrive: 8 values for each component (BGR) 0, 2, 4, 6, 8, A, C, E ; RGB space values: 0, 0x24, 0x...
languages/ada/hello.adb
sergev/vak-opensource
34
10589
<gh_stars>10-100 with Text_Io; procedure Hello is begin Text_Io.Put_Line ("Hello, World!"); end Hello;
programs/oeis/231/A231303.asm
jmorken/loda
1
241196
<reponame>jmorken/loda ; A231303: Recurrence a(n) = a(n-2) + n^M for M=4, starting with a(0)=0, a(1)=1. ; 0,1,16,82,272,707,1568,3108,5664,9669,15664,24310,36400,52871,74816,103496,140352,187017,245328,317338,405328,511819,639584,791660,971360,1182285,1428336,1713726,2042992,2421007,2852992,3344528,3901568,4530449,5237...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1331.asm
ljhsiun2/medusa
9
171362
.global s_prepare_buffers s_prepare_buffers: push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x120fd, %rsi lea addresses_WC_ht+0x1193d, %rdi nop nop nop nop nop and $37913, %rdx mov $77, %rcx rep movsl nop nop and $62799, %r15 lea addresses_UC_ht+0x112ed, %rsi nop nop nop inc %r...
programs/oeis/212/A212415.asm
jmorken/loda
1
89382
<gh_stars>1-10 ; A212415: Number of (w,x,y,z) with all terms in {1,...,n} and w<x>=y<=z. ; 0,0,3,17,55,135,280,518,882,1410,2145,3135,4433,6097,8190,10780,13940,17748,22287,27645,33915,41195,49588,59202,70150,82550,96525,112203,129717,149205,170810,194680,220968,249832,281435,315945,353535,394383,438672,486590,538330,5...
oeis/021/A021072.asm
neoneye/loda-programs
11
80458
; A021072: Decimal expansion of 1/68. ; 0,1,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4 seq $0,83811 ; Numbers n such that 2n+1 is the digit reversal of n+1. div $0,272 ...
src/main/fragment/mos6502-common/pwsm1_derefidx_vbuyy=pwsm1_derefidx_vbuyy_minus_vwsc1.asm
jbrandwood/kickc
2
178659
<filename>src/main/fragment/mos6502-common/pwsm1_derefidx_vbuyy=pwsm1_derefidx_vbuyy_minus_vwsc1.asm lda {m1} sta $fe lda {m1}+1 sta $ff sec lda ($fe),y sbc #<{c1} sta ($fe),y iny lda ($fe),y sbc #>{c1} sta ($fe),y
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_21829_640.asm
ljhsiun2/medusa
9
18082
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x14d44, %r13 nop nop nop nop nop cmp %r11, %r11 movw $0x6162, (%r13) nop sub $17308, %r12 lea addresses_D_ht+0x13724, %rsi lea addresses_D_ht+0x3724, %rdi sub %rbx, %rbx mov $7...
Application Support/BBEdit/Packages/dStyle.bbpackage/Contents/Scripts/Window/Close with Saving.applescript
bhdicaire/bbeditSetup
0
1752
<filename>Application Support/BBEdit/Packages/dStyle.bbpackage/Contents/Scripts/Window/Close with Saving.applescript -- by <NAME>, in the Public Domain tell application "BBEdit" tell document 1 close with saving end tell end tell
oeis/228/A228178.asm
neoneye/loda-programs
11
98884
; A228178: The number of boundary edges for all ordered trees with n edges. ; Submitted by <NAME> ; 1,4,14,47,157,529,1805,6238,21812,77062,274738,987276,3572568,13007398,47617798,175171543,647227453,2400843823,8937670603,33380986153,125045165773,469700405533,1768752809221,6676088636479,25252913322299,95712549267151,36...
Working Disassembly/General/Sprites/Shields/Anim - Fire Shield.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
81485
<filename>Working Disassembly/General/Sprites/Shields/Anim - Fire Shield.asm dc.w byte_19A06-Ani_FireShield dc.w byte_19A1A-Ani_FireShield byte_19A06: dc.b 1, 0, $F, 1, $10, 2, $11, 3, $12, 4, $13, 5, $14, 6, $15, 7, $16, 8, $17, $FF byte_19A1A: dc.b 1, 9, $A, $B, $C, $D, $E, 9, $A, ...
Light/Library/Data/These.agda
zamfofex/lightlib
1
8935
<filename>Light/Library/Data/These.agda {-# OPTIONS --omega-in-omega --no-termination-check --overlapping-instances #-} module Light.Library.Data.These where open import Light.Level using (Setω ; Level) open import Light.Variable.Levels open import Light.Variable.Sets record Dependencies : Setω where record Library...
loadingstripes_data.asm
gasman/kisskill
2
27373
org 0xc000 poster_scr incbin "assets/poster.scr" rept 0x300 db 0x01 endm
pwnlib/shellcraft/templates/thumb/linux/findpeer.asm
DrKeineLust/pwntools
8,966
11229
<% from pwnlib.shellcraft.thumb import mov %> <% from socket import htons %> <%page args="port = None"/> <%docstring> findpeer(port) Finds a connected socket. If port is specified it is checked against the peer port. Resulting socket is left in r6. Example: >>> enhex(asm(shellcraft.findpeer(13...
sound/sfxasm/CC.asm
NatsumiFox/Sonic-3-93-Nov-03
7
95890
CC_Header: sHeaderInit ; Z80 offset is $DB52 sHeaderPatch CC_Patches sHeaderTick $01 sHeaderCh $01 sHeaderSFX $80, $05, CC_FM5, $00, $00 CC_FM5: sPatFM $00 ssModZ80 $00, $01, $20, $F6 dc.b nG5, $20 sModOff sPatFM $01 dc.b nG6, $25, sHold CC_Jump1: dc.b $03, sHold sJump CC_Jump1 dc.b $F2 ; Unused...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vfa1_4.adb
best08618/asylo
7
23239
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vfa1_4.adb -- { dg-do compile } -- { dg-options "-fdump-tree-gimple" } with VFA1_Pkg; use VFA1_Pkg; procedure VFA1_4 is Temp : Int8_t; function F (I : Int8_t) return Int8_t is begin return I; end; function F2 return Int8_t is begin return In...
oeis/084/A084329.asm
neoneye/loda-programs
11
257
; A084329: a(0)=0, a(1)=1, a(n)=20a(n-1)-20a(n-2). ; 0,1,20,380,7200,136400,2584000,48952000,927360000,17568160000,332816000000,6304956800000,119442816000000,2262757184000000,42866287360000000,812070603520000000,15384086323200000000 mov $1,1 lpb $0 sub $0,1 mul $1,4 sub $1,$2 add $2,$1 mul $1,5 lpe mov $0,$2...
Task/Map-range/Ada/map-range.ada
LaudateCorpus1/RosettaCodeData
1
24844
with Ada.Text_IO; procedure Map is type First_Range is new Float range 0.0 .. 10.0; type Second_Range is new Float range -1.0 .. 0.0; function Translate (Value : First_Range) return Second_Range is B1 : Float := Float (Second_Range'First); B2 : Float := Float (Second_Range'Last); A1 : Float ...
source/streams/a-sustio.ads
ytomino/drake
33
16778
<gh_stars>10-100 pragma License (Unrestricted); -- extended unit with Ada.IO_Exceptions; with System.Storage_Elements; private with Ada.Finalization; private with System.Reference_Counting; package Ada.Streams.Unbounded_Storage_IO is -- Temporary stream on memory. pragma Preelaborate; type Buffer_Type is pr...
fracGC/Singleton.agda
JacquesCarette/pi-dual
14
5629
{-# OPTIONS --without-K --safe #-} -- Singleton type and its 'inverse' module Singleton where open import Data.Unit using (⊤; tt) open import Data.Sum open import Data.Product open import Relation.Binary.PropositionalEquality using (_≡_; refl; sym; trans; subst; cong ; cong₂ ; inspect ; [_]) -- open import Level -...
libsrc/_DEVELOPMENT/adt/w_array/c/sccz80/w_array_resize.asm
meesokim/z88dk
0
86753
; int w_array_resize(w_array_t *a, size_t n) SECTION code_adt_w_array PUBLIC w_array_resize EXTERN asm_w_array_resize w_array_resize: pop af pop de pop hl push hl push de push af jp asm_w_array_resize
Task/The-Twelve-Days-of-Christmas/AppleScript/the-twelve-days-of-christmas-1.applescript
LaudateCorpus1/RosettaCodeData
1
643
set gifts to {"A partridge in a pear tree.", "Two turtle doves, and", ¬ "Three French hens,", "Four calling birds,", ¬ "Five gold rings,", "Six geese a-laying,", ¬ "Seven swans a-swimming,", "Eight maids a-milking,", ¬ "Nine ladies dancing,", "Ten lords a-leaping,", ¬ "Eleven pipers piping,", "Twelve drummers drum...
arch/ARM/STM32/svd/stm32f7x9/stm32_svd-dfsdm.ads
rocher/Ada_Drivers_Library
192
11414
-- This spec has been automatically generated from STM32F7x9.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.DFSDM is pragma Preelaborate; --------------- -- Registers -- --------------- subtype DFSDM_CHCFG0R1_SITP_...
programs/cube.asm
lucaspiller/dcpu16-ide
1
80428
dat 7680,35043,7712,31794,29513,31762,62997 dat 8129,47,31794,12495,31762,29702,8129,49 dat 31794,4816,31762,46082,8129,48,34035 dat 35713,32641,50,6913,7937,225,2241,66 dat 41162,32964,42178,7042,1534,1534,1534 dat 1534,1534,1534,1534,1534,2291,44931 dat 24801,24769,25473,0,0,0,7937,6913,5889 dat 4865,3841,32611,1589,...
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/gef.asm
gb-archive/really-old-stuff
10
168731
<reponame>gb-archive/really-old-stuff<gh_stars>1-10 #include once <u32tofreg.asm> #include once <ftou32reg.asm> #include once <stackf.asm> ; ------------------------------------------------------------- ; Floating point library using the FP ROM Calculator (ZX 48K) ; All of them uses A EDCB registers as 1st paramter. ...
3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-algorithm-empty.adb
charlie5/lace
20
5606
package body impact.d3.collision.Algorithm.empty is function to_empty_Algorithm (ci : in AlgorithmConstructionInfo) return Item'Class is Self : Item; begin define (self, ci); return Self; end to_empty_Algorithm; overriding procedure destruct (Self : in ...
src/Data/Fin/Subset/Disjoint.agda
metaborg/mj.agda
10
8186
<filename>src/Data/Fin/Subset/Disjoint.agda module Data.Fin.Subset.Disjoint where open import Data.Nat open import Data.Vec hiding (_∈_) open import Data.Fin open import Data.List as List hiding (zipWith) open import Data.Fin.Subset -- disjointness and relational specifiation of disjoint union module _ {n} where _...
src/shaders/h264/mc/writeRecon_YC.asm
tizenorg/platform.upstream.libva-intel-driver
0
3038
<filename>src/shaders/h264/mc/writeRecon_YC.asm /* * Copyright © <2010>, Intel Corporation. * * This program is licensed under the terms and conditions of the * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at * http://www.opensource.org/licenses/eclipse-1.0.php. * */ // Kernel ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/renaming10.adb
best08618/asylo
7
28543
-- { dg-do compile } package body Renaming10 is function F (Input : Rec) return Natural is Position : Natural renames Input.Position; Index : Natural renames Natural'Succ(Position); begin return Index; end; end Renaming10;
sys_prog/lab_7/test_8.asm
vimikeva/s
0
247363
<filename>sys_prog/lab_7/test_8.asm .386p descriptor struc limit_1 dw 0 ; Limit (0 - 15). base_1 dw 0 ; Base (0 - 15). base_2 db 0 ; Base (16 - 23). attr db 0 ; Attributes. bt6 db 0 ; Limit_2 (0 - 3), Attributes (4 - 7). base_3 db 0 ; Base (24 - 31). descriptor ends ;-------------------...
src/modengine/ext/profiling/profiler_trampoline.asm
Johnsel/ModEngine2
21
29931
<reponame>Johnsel/ModEngine2 ; zone_ctx* __profiler_zone_begin(char* name) EXTERN __profiler_begin:PROC ; void __profiler_zone_end(zone_ctx* ctx); EXTERN __profiler_end:PROC EXTERN __imp_TlsGetValue:PROC EXTERN __imp_TlsSetValue:PROC EXTERN __imp_GlobalAlloc:PROC .code profiler_zone PROC ; save argument regis...
alloy4fun_models/trashltl/models/12/bbYyvogCGuG3dyj59.als
Kaixi26/org.alloytools.alloy
0
2986
<gh_stars>0 open main pred idbbYyvogCGuG3dyj59_prop13 { always all f : File | (f in Trash) until (f not in Trash) } pred __repair { idbbYyvogCGuG3dyj59_prop13 } check __repair { idbbYyvogCGuG3dyj59_prop13 <=> prop13o }
grammars/antlr/SCADLexer.g4
DataDriven-CAM/cam-io
0
2284
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ lexer grammar SCADLexer; Children : 'children'; Sphere : 'sphere'; Cube : 'cube'; Cylinder : 'cylinder'; Circle : 'circle'; Square : '...
ada/original_2008/ada-gui/agar-gui-widget-fixed.ads
auzkok/libagar
286
13411
<reponame>auzkok/libagar<filename>ada/original_2008/ada-gui/agar-gui-widget-fixed.ads<gh_stars>100-1000 generic type child_type is limited private; type child_access_type is access child_type; package agar.gui.widget.fixed is use type c.unsigned; type flags_t is new c.unsigned; FIXED_HFILL : constant f...
lab6/HelloWorld.asm
mochisvelas/Microprogramming
0
2452
<reponame>mochisvelas/Microprogramming<filename>lab6/HelloWorld.asm .386 .model flat,stdcall option casemap:none INCLUDE \masm32\include\windows.inc INCLUDE \masm32\include\masm32.inc INCLUDE \masm32\include\masm32rt.inc INCLUDE \masm32\include\kernel32.inc .data o_hello db "Hola ",0 o_id db " su carnet es ",0...
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_7310_1605.asm
ljhsiun2/medusa
9
92715
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x670d, %rsi lea addresses_normal_ht+0xb01d, %rdi clflush (%rsi) nop nop nop nop nop dec %rdx mov $78, %rcx rep movsq nop nop nop cmp %r8, %r8 lea addresses_UC_ht...
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_isless_callee.asm
meesokim/z88dk
0
20631
; int isless(float x, float y) __z88dk_callee SECTION code_fp_math48 PUBLIC cm48_sdcciy_isless_callee EXTERN am48_isless, cm48_sdcciyp_dcallee2 cm48_sdcciy_isless_callee: call cm48_sdcciyp_dcallee2 ; AC'= y ; AC = x jp am48_isless
src/Free-variables.agda
nad/chi
2
16711
<filename>src/Free-variables.agda ------------------------------------------------------------------------ -- Definitions of "free in" and "closed", along with some properties ------------------------------------------------------------------------ open import Atom module Free-variables (atoms : χ-atoms) where open ...
Ada95/samples/sample-header_handler.adb
CandyROM/external_libncurses
1,167
29568
<filename>Ada95/samples/sample-header_handler.adb<gh_stars>1000+ ------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- ...
libsrc/target/c128/setpixvdc.asm
jpoikela/z88dk
640
177717
; ;Based on the SG C Tools 1.7 ;(C) 1993 <NAME> ; ;$Id: setpixvdc.asm,v 1.3 2016-06-16 21:13:07 dom Exp $ ; ;set pixel in 640 x 200 bit map mode. math and local vdc i/o optimized ;for speed. SECTION code_clib PUBLIC setpixvdc PUBLIC _setpixvdc EXTERN _vdcDispMem EXTERN vdcset EXTERN vdcget ;fast pixe...
1998-fall/mp3/mp3.asm
ece291/machine-problems
3
29170
<gh_stars>1-10 TITLE ECE291:MP3-LiteCycles - Your Name - Date COMMENT % TRON LiteCycle Game with AI players. ECE291: Machine Problem 3 Prof. <NAME> Guest Author: <NAME> University of Illinois Dept. of Electrical & Computer Engineering Fall 1998 ...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/aa2010a.ada
best08618/asylo
7
11540
-- AA2010A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
WangShuang_book/p234.asm
SmirnovKol/Learning_x86_assembly_language
1
179973
assume cs:code code segment start: mov ax, 0 push ax popf mov ax, 0fff0h add ax, 0010h pushf pop ax and al, 11000101B and ah, 00001000B mov ax, 4c00h int 21h code ends end start
h2o.asm
tphan022/AssignmentTestCases
0
86336
_h2o: file format elf32-i386 Disassembly of section .text: 00001000 <sem_init>: int value; // increment/decrement value struct queue q; // waiting queue }; void sem_init(struct Semaphore * s, int a) { 1000: 55 push %ebp 1001: 89 e5 mov %esp,%ebp 1003: ...
Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i7-7700_9_0x48_notsx.log_21829_658.asm
ljhsiun2/medusa
9
25947
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x5629, %rbx nop nop and %r8, %r8 mov (%rbx), %di nop nop inc %r13 lea addresses_WC_ht+0x12b2b, %r10 and %rbp, %rbp movups (%r10), %xmm6 vpextrq $1, %xmm6, %rdx nop n...
examples/shared/hello_world_blinky/src/serial.adb
webgeeks/Ada_Drivers_Library
0
14489
<reponame>webgeeks/Ada_Drivers_Library<gh_stars>0 package body serial is procedure Initialize_UART_GPIO is begin Enable_Clock (USART_1); Enable_Clock (RX_Pin & TX_Pin); Configure_IO (RX_Pin & TX_Pin, (Mode => Mode_AF, AF => GPIO_AF_USART1_7, ...
src/lib/video.asm
laamella-gad/moon-train
1
4165
.include "c64.asm" colormem_start = $D800 vic_spr_img = [ videomem_start + $03F8 + 0, videomem_start + $03F8 + 1, videomem_start + $03F8 + 2, videomem_start + $03F8 + 3, videomem_start + $03F8 + 4, videomem_start + $03F8 + 5,videomem_start + $03F8 + 6, videomem_start + $03F8 + 7] ;videomem_start = $4000 ...
programs/oeis/217/A217947.asm
karttu/loda
0
20329
<reponame>karttu/loda<gh_stars>0 ; A217947: a(n) = (n+1)*(n^3+15*n^2+74*n+132)/12. ; 11,37,87,172,305,501,777,1152,1647,2285,3091,4092,5317,6797,8565,10656,13107,15957,19247,23020,27321,32197,37697,43872,50775,58461,66987,76412,86797,98205,110701,124352,139227,155397,172935,191916,212417,234517,258297,283840,311231,340...
oeis/005/A005370.asm
neoneye/loda-programs
11
21719
<reponame>neoneye/loda-programs ; A005370: a(n) = Fibonacci(Fibonacci(n+1)+1). ; 1,1,2,3,8,34,377,17711,9227465,225851433717,2880067194370816120,898923707008479989274290850145,3577855662560905981638959513147239988861837901112,4444705723234237498833973519982908519933430818636409166351397897095281987215864,21976735970058...
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_py2saddr.asm
Frodevan/z88dk
640
177649
; void *zx_py2saddr(uchar y) SECTION code_clib SECTION code_arch PUBLIC zx_py2saddr EXTERN asm_zx_py2saddr defc zx_py2saddr = asm_zx_py2saddr ; SDCC bridge for Classic IF __CLASSIC PUBLIC _zx_py2saddr defc _zx_py2saddr = zx_py2saddr ENDIF
SMT-Extension/examples/ordering.als
CVC4/org.alloytools.alloy
1
3057
<reponame>CVC4/org.alloytools.alloy open util/ordering[A] as ordA sig A {} one sig A0, A1, A2 extends A{} fact {nexts [A0] = A1 + A2}
programs/oeis/077/A077802.asm
karttu/loda
0
90758
; A077802: Sum of products of parts increased by 1 in hook partitions of n, where hook partitions are of the form h*1^(n-h). ; 1,2,7,18,41,88,183,374,757,1524,3059,6130,12273,24560,49135,98286,196589,393196,786411,1572842,3145705,6291432,12582887,25165798,50331621,100663268,201326563,402653154,805306337,1610612704 mov...
out/PDiff/Signature.agda
JoeyEremondi/agda-soas
39
6557
<reponame>JoeyEremondi/agda-soas {- This second-order signature was created from the following second-order syntax description: syntax PDiff | PD type * : 0-ary term zero : * | 𝟘 add : * * -> * | _⊕_ l20 one : * | 𝟙 mult : * * -> * | _⊗_ l20 neg : * -> * | ⊖_ r50 pd : *.* * -> * | ...
libsrc/osca/dir_get_entry_name.asm
jpoikela/z88dk
640
11249
<reponame>jpoikela/z88dk<gh_stars>100-1000 ; ; Old School Computer Architecture - interfacing FLOS ; <NAME>, 2011 ; ; Get filename associated to current directory entry ; ; $Id: dir_get_entry_name.asm,v 1.3 2016-06-22 22:13:09 dom Exp $ ; INCLUDE "target/osca/def/flos.def" SECTION code_clib PUBLIC dir_g...
theorems/groups/SuspAdjointLoop.agda
timjb/HoTT-Agda
0
3252
{-# OPTIONS --without-K --rewriting #-} open import HoTT open import homotopy.PtdAdjoint open import groups.FromSusp open import groups.ToOmega module groups.SuspAdjointLoop {i} where import homotopy.SuspAdjointLoop {i} as A module _ (X Y : Ptd i) where private pres-comp : preserves-comp (Gro...
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_nxos/CiscoNxos_dhcp.g4
pranavbj-amzn/batfish
763
7260
parser grammar CiscoNxos_dhcp; import CiscoNxos_common; options { tokenVocab = CiscoNxosLexer; } // TODO: flesh out. ip_dhcp: DHCP RELAY NEWLINE; ipv6_dhcp: DHCP RELAY NEWLINE;
gnat-sockets-connection_state_machine-http_server.adb
jrcarter/Ada_GUI
19
753
<reponame>jrcarter/Ada_GUI -- -- -- package Copyright (c) <NAME> -- -- GNAT.Sockets.Connection_State_Machine. Luebeck -- -- HTTP_Server Winter, 2013 -- -- Impl...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd1009i.ada
best08618/asylo
7
12418
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd1009i.ada -- CD1009I.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...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/small_alignment.adb
best08618/asylo
7
13067
<gh_stars>1-10 -- { dg-do run } -- { dg-options "-gnatws" } procedure Small_Alignment is type My_Integer is new Integer; for My_Integer'Alignment use 1; function Set_A return My_Integer is begin return 12; end; function Set_B return My_Integer is begin return 6; end; C : Character; A : ...
tests/src/tests.adb
Fabien-Chouteau/littlefs-ada
1
23697
<gh_stars>1-10 pragma Assertion_Policy (Check); with Ada.Text_IO; use Ada.Text_IO; with Littlefs; use Littlefs; with RAM_BD; with Interfaces; use Interfaces; with Interfaces.C; use Interfaces.C; with System.Storage_Elements; use System.Storage_Elements; procedure Tests is FS : aliased LFS_T; Block : cons...
src/include/print.asm
badcf00d/UEFI-snake
1
173248
; Contains functions for printing data printNumber: mov rax, [rsp + 8] ; skip over the return pointer mov r12, rsp ; save the stack pointer, r12 is considered non-volatile push __utf16__ `\r\n\0` ; carriage return, new line, null terminator printNumberLoop: xor rdx, rdx ...
runtime/ravenscar-sfp-stm32f427/bsp/i-stm32-syscfg.ads
TUM-EI-RCS/StratoX
12
8992
-- -- Copyright (C) 2016, AdaCore -- -- This spec has been automatically generated from STM32F429x.svd pragma Ada_2012; with Interfaces.Bit_Types; with System; package Interfaces.STM32.SYSCFG is pragma Preelaborate; pragma No_Elaboration_Code_All; --------------- -- Registers -- --------------- ...
src/agda/FRP/JS/Main.agda
agda/agda-frp-js
63
14721
<filename>src/agda/FRP/JS/Main.agda open import FRP.JS.RSet using ( ⟦_⟧ ) open import FRP.JS.Behaviour using ( Beh ) open import FRP.JS.DOM using ( DOM ) module FRP.JS.Main where postulate Main : Set reactimate : ⟦ Beh DOM ⟧ → Main {-# COMPILED_JS reactimate require("agda.frp").reactimate #-}
tests/tk-button-test_data-tests.adb
thindil/tashy2
2
21462
-- This package has been generated automatically by GNATtest. -- You are allowed to add your code to the bodies of test routines. -- Such changes will be kept during further regeneration of this file. -- All code placed outside of test routine bodies will be lost. The -- code intended to set up and tear down the t...
2021-2022-sem1/lab05/0-walkthrough/ex1.asm
adinasm/iocla-demos
0
26041
%include "../io.mac" section .text global main extern printf main: mov eax, 7 ; incarca in registrul eax valoarea 7 mov ebx, 8 ; incarca in registrul ebx valoarea 8 add eax, ebx ; aduna valoarea ce se afla in registrul eax ...
src/Prelude/Int/Properties.agda
L-TChen/agda-prelude
111
2611
module Prelude.Int.Properties where open import Prelude.Unit open import Prelude.Nat open import Prelude.Nat.Properties open import Prelude.Number open import Prelude.Equality open import Prelude.Int.Core open import Prelude.Smashed open import Prelude.Ord open import Prelude.Semiring open import Prelude.Function --...
src/Parsers/Simple/project_processor-parsers-simple_format.ads
fintatarta/eugen
0
26671
with Project_Processor.Parsers.Abstract_Parsers; with EU_Projects.Projects; package Project_Processor.Parsers.Simple_Format is type Parser_Type is new Abstract_Parsers.Abstract_Parser with private; overriding function Create (Params : not null access Plugins.Parameter_Maps.Map) ...
tests/src/test_navigation.adb
TNO/Rejuvenation-Ada
1
25637
<reponame>TNO/Rejuvenation-Ada with AUnit.Assertions; use AUnit.Assertions; with Libadalang.Analysis; use Libadalang.Analysis; with Libadalang.Common; use Libadalang.Common; with Rejuvenation; use Rejuvenation; with Rejuvenation.Finder; use Rejuvenation.Finder; with R...
Transynther/x86/_processed/AVXALIGN/_zr_un_/i3-7100_9_0x84_notsx.log_61_2182.asm
ljhsiun2/medusa
9
88956
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %r9 push %rax push %rbp push %rdi lea addresses_A_ht+0x18783, %r13 dec %rdi movw $0x6162, (%r13) nop xor %r11, %r11 lea addresses_D_ht+0xe707, %r9 nop sub $27314, %rbp movl $0x61626364, (%r9) nop nop nop nop nop cmp %r8, %r8 lea addresses_A_...
main.adb
thieryw/labyrinth
0
14539
with ada.text_io,ada.integer_text_io,laby_functions,ada.command_line ; use ada.text_io ; procedure main is m : laby_functions.tree ; w : integer ; h : integer ; argu_count : integer := ada.command_line.argument_count ; procedure get_width_and_height(w,h : out in...
programs/oeis/160/A160749.asm
karttu/loda
1
247328
<reponame>karttu/loda ; A160749: a(n) = (11*n^2 + 19*n + 10)/2. ; 5,20,46,83,131,190,260,341,433,536,650,775,911,1058,1216,1385,1565,1756,1958,2171,2395,2630,2876,3133,3401,3680,3970,4271,4583,4906,5240,5585,5941,6308,6686,7075,7475,7886,8308,8741,9185,9640,10106,10583,11071,11570,12080,12601,13133,13676,14230,14795,15...
test/Test/Factorial.agda
yanok/normalize-via-instances
0
16294
<reponame>yanok/normalize-via-instances module Test.Factorial where open import Data.Nat factorial : ℕ -> ℕ factorial zero = 1 factorial n@(suc n') = n * factorial n'
programs/oeis/269/A269468.asm
neoneye/loda
22
4507
; A269468: Number of length-4 0..n arrays with no repeated value equal to the previous repeated value. ; 10,66,228,580,1230,2310,3976,6408,9810,14410,20460,28236,38038,50190,65040,82960,104346,129618,159220,193620,233310,278806,330648,389400,455650,530010,613116,705628,808230,921630,1046560,1183776,1334058,1498210,1677...
arch/RISC-V/SiFive/drivers/fe310-uart.adb
rocher/Ada_Drivers_Library
192
5359
<filename>arch/RISC-V/SiFive/drivers/fe310-uart.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017, AdaCore -- -- ...
Validation/pyFrame3DD-master/gcc-master/gcc/ada/osint.ads
djamal2727/Main-Bearing-Analytical-Model
0
23222
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
demos/utils/demos.ads
stcarrez/ada-enet
16
9806
<gh_stars>10-100 ----------------------------------------------------------------------- -- demos -- Utility package for the demos -- Copyright (C) 2016, 2017 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complianc...
org.alloytools.alloy.extra/extra/models/examples/temporal/leader.als
Kaixi26/org.alloytools.alloy
527
3518
<reponame>Kaixi26/org.alloytools.alloy open util/ordering[Id] sig Node { id : one Id, succ : one Node, var inbox : set Id, var outbox : set Id } sig Id {} fact ring { all i : Id | lone id.i all n : Node | Node in n.^succ } fun elected : set Node { {n : Node | once (n.id in n.inbox)} } pred send [n : Node] {...
theorems/cw/cohomology/GridMap.agda
mikeshulman/HoTT-Agda
0
5342
<filename>theorems/cw/cohomology/GridMap.agda {-# OPTIONS --without-K --rewriting #-} open import HoTT module cw.cohomology.GridMap {i j k} {A : Type i} {B : Type j} {C : Type k} (f : A → B) (g : B → C) where B/A = Cofiber f C/A = Cofiber (g ∘ f) C/B = Cofiber g B/A-to-C/A-span-map : SpanMap (cofiber-sp...
programs/oeis/259/A259555.asm
karttu/loda
1
8312
; A259555: a(n) = 2*n^2 - 2*n + 17. ; 17,21,29,41,57,77,101,129,161,197,237,281,329,381,437,497,561,629,701,777,857,941,1029,1121,1217,1317,1421,1529,1641,1757,1877,2001,2129,2261,2397,2537,2681,2829,2981,3137,3297,3461,3629,3801,3977,4157,4341,4529,4721,4917,5117,5321,5529,5741,5957,6177,6401,6629,6861,7097,7337,7581,...
oeis/020/A020726.asm
neoneye/loda-programs
11
165390
<filename>oeis/020/A020726.asm ; A020726: Expansion of 1/((1-6*x)*(1-10*x)*(1-11*x)). ; Submitted by <NAME> ; 1,27,493,7599,106645,1411431,17955757,222093423,2690508229,32080473975,377794514461,4405195463487,50953884924853,585473143132359,6690087028209805,76090252032830991,861988540696279717 add $0,2 lpb $0 sub $0,1...
bin/showpreview.scpt
plandes/zenbuild
2
2602
<reponame>plandes/zenbuild<filename>bin/showpreview.scpt<gh_stars>1-10 on showPreview(filename, x, y, width, height) log "update preview" tell application "Preview" -- disable for now since command line open is faster under Mojave -- log "opening file: " & filename -- open filename ...
programs/oeis/266/A266298.asm
neoneye/loda
22
98017
; A266298: Triangle read by rows giving successive states of cellular automaton generated by "Rule 14" initiated with a single ON (black) cell. ; 1,1,1,0,1,1,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,...
infra/axiom/src/main/antlr4/com/evolveum/axiom/lang/antlr/query/AxiomQuery.g4
Evolveum/prism
0
1177
<reponame>Evolveum/prism<gh_stars>0 grammar AxiomQuery; nullLiteral: 'null'; booleanLiteral: 'true' | 'false'; intLiteral: INT; floatLiteral: FLOAT; stringLiteral : STRING_SINGLEQUOTE #singleQuoteString | STRING_DOUBLEQUOTE #doubleQuoteString | STRING_MULTILINE_START (~('"""'))*'"""' # multilineString; li...
oeis/007/A007585.asm
neoneye/loda-programs
11
160661
; A007585: 10-gonal (or decagonal) pyramidal numbers: a(n) = n*(n + 1)*(8*n - 5)/6. ; 0,1,11,38,90,175,301,476,708,1005,1375,1826,2366,3003,3745,4600,5576,6681,7923,9310,10850,12551,14421,16468,18700,21125,23751,26586,29638,32915,36425,40176,44176,48433,52955,57750,62826,68191,73853,79820,86100,92701,99631,106898,11451...
Definition/Typed/Consequences/Injectivity.agda
CoqHott/logrel-mltt
2
6082
<reponame>CoqHott/logrel-mltt {-# OPTIONS --safe #-} module Definition.Typed.Consequences.Injectivity where open import Definition.Untyped hiding (wk) import Definition.Untyped as U open import Definition.Untyped.Properties open import Definition.Typed open import Definition.Typed.Weakening open import Definition.Ty...
3-mid/opengl/source/lean/text/opengl-glyph.ads
charlie5/lace
20
10161
with freeType_c.FT_GlyphSlot, openGL.GlyphImpl; package openGL.Glyph -- -- Glyph is the base class for openGL glyphs. -- -- It provides the interface between Freetype glyphs and their openGL -- renderable counterparts. -- -- This is an abstract class and derived classes must implement the 'Render' functi...
src/asis/a4g-contt-ut.ads
My-Colaborations/dynamo
15
4144
<reponame>My-Colaborations/dynamo ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
ejercicios4/lluvia.ads
iyan22/AprendeAda
0
8296
package lluvia is TYPE T_Mes IS (Enero, Febrero, Marzo, Abril, Mayo, Junio, Julio, Agosto, Septiembre, Octubre, Noviembre, Diciembre); subtype T_Cantidad is Integer range 0 .. integer'Last; type T_Lluvias is array (T_Mes) of T_Cantidad; type T_Pais is (EEUU, Mejico,Canada); type T_Lluvias_por_Pais ...
programs/oeis/262/A262140.asm
neoneye/loda
22
162650
<reponame>neoneye/loda ; A262140: The first of nine consecutive positive integers the sum of the squares of which is equal to the sum of the squares of eight consecutive positive integers. ; 20,136,812,4752,27716,161560,941660,5488416,31988852,186444712,1086679436,6333631920,36915112100,215157040696,1254027132092,73090...
Cubical/HITs/FreeGroupoid/Base.agda
thomas-lamiaux/cubical
1
5467
<filename>Cubical/HITs/FreeGroupoid/Base.agda {- This file contains: - An implementation of the free groupoid (a free group that has no limitiations over the high dimensional path structure). An intermediate construction used to calculate the fundamental group of a Bouquet. -} {-# OPTIONS --safe #-} module Cubi...
oeis/040/A040507.asm
neoneye/loda-programs
11
20534
; A040507: Continued fraction for sqrt(531). ; Submitted by <NAME> ; 23,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46,23,46 trn $0,1 mod $0,2 mul $0,23 add $0,23
out/aaa_10stringsarray.adb
Melyodas/metalang
22
17228
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_10stringsarray is type stringptr is access all char_array; procedure PString(s : stringptr) is begin String'Write (Tex...
programs/oeis/273/A273791.asm
karttu/loda
0
1384
<reponame>karttu/loda ; A273791: First differences of number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 931", based on the 5-celled von Neumann neighborhood. ; 4,20,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,22...