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
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_log10.asm
meesokim/z88dk
0
22086
<reponame>meesokim/z88dk<gh_stars>0 ; float log10(float x) SECTION code_fp_math48 PUBLIC cm48_sdccix_log10 EXTERN cm48_sdccix_log10_fastcall cm48_sdccix_log10: pop af pop hl pop de push de push hl push af jp cm48_sdccix_log10_fastcall
oeis/180/A180969.asm
neoneye/loda-programs
11
162127
<filename>oeis/180/A180969.asm<gh_stars>10-100 ; A180969: Array read by antidiagonals: a(k,n) = natural numbers each repeated 2^k times. ; Submitted by <NAME>(s2) ; 0,1,0,2,0,0,3,1,0,0,4,1,0,0,0,5,2,0,0,0,0,6,2,1,0,0,0,0,7,3,1,0,0,0,0,0,8,3,1,0,0,0,0,0,0,9,4,1,0,0,0,0,0,0,0,10,4,2,0,0,0,0,0,0,0,0,11,5,2,1,0,0,0,0,0,0,0...
theorems/cw/cohomology/TipGrid.agda
mikeshulman/HoTT-Agda
0
2211
<reponame>mikeshulman/HoTT-Agda<gh_stars>0 {-# OPTIONS --without-K --rewriting #-} open import HoTT open import cohomology.Theory open import groups.Cokernel open import groups.Exactness open import groups.HomSequence open import groups.ExactSequence open import cw.CW module cw.cohomology.TipGrid {i} (OT : OrdinaryT...
src/vms_fortran/parser/FortranParser.g4
GitMensch/vms-ide
0
1351
<reponame>GitMensch/vms-ide<filename>src/vms_fortran/parser/FortranParser.g4<gh_stars>0 parser grammar FortranParser; options { tokenVocab = FortranLexer; } program : eos? programUnit+ ; programUnit : mainProgram | functionSubprogram | subroutineSubprogram | moduleBlock | blockDataSubprogramB...
Kernel/src/Arch/x86_64/Lock.asm
adi-g15/LemonOS
685
242334
global acquireLock global releaseLock acquireLock: lock bts dword [rdi], 0 ; Acquire lock jc .spin ret .spin: ; If lock not available, spin pause test dword [rdi], 1 jnz .spin jmp acquireLock releaseLock: mov dword [rdi], 0 ret
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/interface3.adb
best08618/asylo
7
18497
-- { dg-do run } procedure interface3 is -- package Pkg is type Foo is interface; subtype Element_Type is Foo'Class; -- type Element_Access is access Element_Type; type Elements_Type is array (1 .. 1) of Element_Access; type Elements_Access is access Elements_Type; -- ...
programs/oeis/033/A033691.asm
neoneye/loda
22
19835
<reponame>neoneye/loda<filename>programs/oeis/033/A033691.asm<gh_stars>10-100 ; A033691: Minimal number of vertices in 1-1 deficient regular graph where minimal degree is 1 and maximal degree is n. ; 4,8,12,20,24,32,40,52,60,72,84,100,112,128,144,164,180,200,220,244,264,288,312,340,364,392,420,452,480,512,544,580,612,6...
Agda/AML.agda
Brethland/LEARNING-STUFF
2
17146
module AML where open import Level open import Data.Product data satisfied (a : Set) (m : Set → Set) : Set where s : m a → satisfied a m data reachability (m₀ : Set → Set) (m : Set → Set) : Set where tt : reachability m₀ m data necessarity (m₀ : Set → Set) (a : Set) : Set₁ where n : ∀ m → (reachability m₀ m) ...
_anim/Plasma Balls.asm
kodishmediacenter/msu-md-sonic
9
104270
<reponame>kodishmediacenter/msu-md-sonic ; --------------------------------------------------------------------------- ; Animation script - energy balls (FZ) ; --------------------------------------------------------------------------- Ani_Plasma: dc.w @full-Ani_Plasma dc.w @short-Ani_Plasma @full: dc.b 1, 0, $A, 8,...
AP1/kernel.asm
KilnerJhow/ihs
1
4582
org 0x7e00 jmp start buffer: times 64 db 0 memory: times 240 db 0 tableOccuped: times 5 db 0 cheio: db 'Banco de dados cheio', 0xA, 0xD, 0 poslivre: db 'Pos livre achada', 0xA, 0xD, 0 chamada: db 'func chamada', 0xA, 0xD, 0 insertNumConta: db 'Insira o num da conta: ', 0xA, 0xD, 0 noAcc: db '...
programs/oeis/113/A113805.asm
neoneye/loda
22
18118
<filename>programs/oeis/113/A113805.asm ; A113805: Numbers that are congruent to {5, 9} mod 14. ; 5,9,19,23,33,37,47,51,61,65,75,79,89,93,103,107,117,121,131,135,145,149,159,163,173,177,187,191,201,205,215,219,229,233,243,247,257,261,271,275,285,289,299,303,313,317,327,331,341,345,355,359,369 mul $0,3 div $0,2 mul $0,...
notes/FOT/FOTC/Data/Nat/PredTotality.agda
asr/fotc
11
4772
<reponame>asr/fotc ------------------------------------------------------------------------------ -- Totality of predecessor function ------------------------------------------------------------------------------ {-# OPTIONS --allow-unsolved-metas #-} {-# OPTIONS --exact-split #-} {-# OPTIONS --no-siz...
solutions/52 - The Mode Code/size-32-speed-110.asm
michaelgundlach/7billionhumans
45
18281
<gh_stars>10-100 -- 7 Billion Humans (2053) -- -- 52: The Mode Code -- -- Author: Tiza59 -- Size: 32 -- Speed: 110 mem4 = nearest datacube a: if w == worker: mem1 = calc mem1 + 1 step w jump a endif step nw step n b: c: if c == mem1 or e == mem1: if c == mem1 and e == mem1: mem2 = calc mem2 + 2 else: mem2...
Base/Rel.agda
DDOtten/M-types
0
11118
{-# OPTIONS --without-K #-} open import M-types.Base.Core open import M-types.Base.Sum open import M-types.Base.Prod open import M-types.Base.Eq open import M-types.Base.Equi open import M-types.Base.Axiom module M-types.Base.Rel where SpanRel : Ty ℓ → Ty (ℓ-suc ℓ) SpanRel {ℓ} X = ∑[ ty ∈ Ty ℓ ] (ty → X) × ...
Typinator/typinator/Includes/Scripts/SafariURL.applescript
mbroski/config
0
4652
-- Version 1.0, (C) <NAME>, 2012-01-19 -- Feel free to modify the script for your own use, but leave the copyright notice intact. tell application "System Events" if (name of processes) does not contain "Safari" then return "--" end tell tell application "Safari" try return URL of document 1 on error return "-...
oeis/081/A081267.asm
neoneye/loda-programs
11
11401
; A081267: Diagonal of triangular spiral in A051682. ; 1,9,26,52,87,131,184,246,317,397,486,584,691,807,932,1066,1209,1361,1522,1692,1871,2059,2256,2462,2677,2901,3134,3376,3627,3887,4156,4434,4721,5017,5322,5636,5959,6291,6632,6982,7341,7709,8086,8472,8867,9271,9684,10106,10537,10977,11426,11884,12351,12827,13312,1380...
source/program_structure/adam-library_unit-renaming_declaration.ads
charlie5/aIDE
3
23844
with Ada.Containers.Vectors, Ada.Streams; private with AdaM.Declaration.of_renaming.a_subprogram, AdaM.Declaration.of_renaming.a_package, AdaM.Declaration.of_renaming.a_generic; package AdaM.library_Unit.renaming_declaration is type Item is new library_Unit.item with private; -- Vie...
Task/Sorting-algorithms-Heapsort/Ada/sorting-algorithms-heapsort-1.ada
LaudateCorpus1/RosettaCodeData
1
30841
generic type Element_Type is private; type Index_Type is (<>); type Collection is array(Index_Type range <>) of Element_Type; with function "<" (Left, right : element_type) return boolean is <>; procedure Generic_Heapsort(Item : in out Collection);
sw/552tests/inst_tests/xori_0.asm
JPShen-UWM/ThreadKraken
1
170000
// Original test: ./rbatterm/hw4/problem6/xori_0.asm // Author: rbatterm // Test source code follows // test all zero's lbi r2, 0 //00000 xori r1, r2, 0 //00000 halt //= 00000
chap15/ex19/vblendps_transpose.asm
JamesType/optimization-manual
374
177194
<reponame>JamesType/optimization-manual<filename>chap15/ex19/vblendps_transpose.asm ; ; Copyright (C) 2021 by Intel Corporation ; ; Permission to use, copy, modify, and/or distribute this software for any ; purpose with or without fee is hereby granted. ; ; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL ...
src/clear_screen.asm
I8087/libm
13
417
global _clear_screen _clear_screen: push bp mov bp, sp call os_clear_screen pop bp ret
de.peeeq.wurstscript/parserspec/Jurst.g4
Crigges/WurstScript
0
4892
grammar Jurst; compilationUnit : NL* decls+=topLevelDeclaration*; topLevelDeclaration: wpackage | jassTopLevelDeclaration ; jassTopLevelDeclaration: jassGlobalsBlock | jassFuncDef | jassTypeDecl | jassNativeDecl ; jassGlobalsBlock: 'globals' NL vars+=ja...
examples/utils/sdl/guiddef_h.ads
Fabien-Chouteau/GESTE
13
24081
<reponame>Fabien-Chouteau/GESTE<filename>examples/utils/sdl/guiddef_h.ads<gh_stars>10-100 pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with System; package guiddef_h is -- unsupported macro: IID_NULL GUID_NULL -- unsupported macro: CLSID_NULL GUID_NULL -- uns...
Test/test02.asm
KennardWang/Single-Cycle-Processor
1
16776
add $t0, $zero, $zero addi $t1, $zero, 5 loop: beq $t0, $t1, quit addi $t0, $t0, 1 j loop quit: addi $t1, $t1, 1
Languages/Comb.agda
hbasold/Sandbox
0
7105
<filename>Languages/Comb.agda {-# OPTIONS --copatterns --sized-types #-} open import Level open import Algebra.Structures open import Relation.Binary open import Algebra.FunctionProperties module Comb (K : Set) (_≈_ : Rel K zero) (_+_ _⋆_ : Op₂ K) (-_ : Op₁ K) (0# 1# : K) (isRing : IsRing _≈_ _+_ _⋆...
oeis/042/A042511.asm
neoneye/loda-programs
11
162487
<reponame>neoneye/loda-programs ; A042511: Denominators of continued fraction convergents to sqrt(783). ; Submitted by <NAME> ; 1,1,55,56,3079,3135,172369,175504,9649585,9825089,540204391,550029480,30241796311,30791825791,1693000389025,1723792214816,94777779989089,96501572203905,5305862678999959,5402364251203864,297033...
Math/NumberTheory/Summation/Generic/Properties/Lemma.agda
rei1024/agda-misc
3
22
<filename>Math/NumberTheory/Summation/Generic/Properties/Lemma.agda {-# OPTIONS --without-K --safe #-} module Math.NumberTheory.Summation.Generic.Properties.Lemma where -- agda-stdlib open import Data.Nat open import Data.Nat.Properties open import Data.Nat.Solver open import Relation.Binary.PropositionalEquality ope...
src/sdl-versions.ads
Fabien-Chouteau/sdlada
1
30682
<reponame>Fabien-Chouteau/sdlada<gh_stars>1-10 -------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, <NAME> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be h...
base/agda/Base/Free/Instance/Maybe.agda
FreeProving/free-compiler
36
9715
<gh_stars>10-100 module Base.Free.Instance.Maybe where open import Data.Unit using (⊤; tt) open import Data.Empty using (⊥) open import Base.Free using (Free; pure; impure) open import Base.Partial using (Partial) open Partial -- Representation of the `Maybe` monad using Free. Shape : Set Shape = ⊤ ...
oeis/262/A262183.asm
neoneye/loda-programs
11
1271
<filename>oeis/262/A262183.asm ; A262183: a(0) = 0, a(n) = 10*a(n-1) + n*(n+1)*(n+2)/6. ; 0,1,14,150,1520,15235,152406,1524144,15241560,152415765,1524157870,15241578986,152415790224,1524157902695,15241579027510,152415790275780,1524157902758616,15241579027587129,152415790275872430,1524157902758725630,1524157902758725784...
test/asset/agda-stdlib-1.0/Data/List/Relation/Unary/First.agda
omega12345/agda-mode
0
9602
------------------------------------------------------------------------ -- The Agda standard library -- -- First generalizes the idea that an element is the first in a list to -- satisfy a predicate. ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Da...
source/distributed/required/s-shasto.adb
ytomino/drake
33
30784
<filename>source/distributed/required/s-shasto.adb pragma Check_Policy (Trace => Ignore); package body System.Shared_Storage is procedure Shared_Var_Lock (Var : String) is begin pragma Check (Trace, Ada.Debug.Put (Var)); Lock_Hook (Var); end Shared_Var_Lock; procedure Shared_Var_Unlock (Var : ...
asm/echo.asm
mjan-cea/lipsi
1
81926
# # Echo IO # read input, add 1, write to output # loop: io 0x0 addi 0x01 br loop
source/asis/spec/ada-strings-wide_unbounded.ads
faelys/gela-asis
4
14637
------------------------------------------------------------------------------ -- A d a r u n - t i m e s p e c i f i c a t i o n -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm_mul2f.asm
jpoikela/z88dk
0
90796
<gh_stars>0 ; float _mul2f (float number) __z88dk_fastcall SECTION code_clib SECTION code_fp_math32 PUBLIC asm_mul2f EXTERN m32_mul2_fastcall ; Multiply a float by 2 ; ; enter : stack = ret ; DEHL = sccz80_float number ; ; exit : DEHL = |sccz80_float| ; ; uses : de, hl...
llvm-gcc-4.2-2.9/gcc/ada/s-exnllf.adb
vidkidz/crossbridge
1
2865
<reponame>vidkidz/crossbridge ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
src/adabots_lua_dispatcher.ads
TamaMcGlinn/AdaBots
5
17424
<reponame>TamaMcGlinn/AdaBots with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Finalization; package Adabots_Lua_Dispatcher is type Lua_Dispatcher is new Ada.Finalization.Limited_Controlled with private; function Create_Lua_Dispatcher return Lua_Dispatcher; function Create_Lua_Dispatcher (Por...
src/005/animals-humans.ads
xeenta/learning-ada
0
10964
with Ada.Strings.Unbounded; package Animals.Humans is type Human is new Animals.Animal with private; type Sex_Type is (Male, Female); function Make (Name : String; Sex : Sex_Type) return Human; function Get_Name (H : Human) return Ada.Strings.Unbounded.Unbounded_String; ...
src/numerics-sparse_matrices-direct_sum.adb
sciencylab/lagrangian-solver
0
28969
<reponame>sciencylab/lagrangian-solver separate (Numerics.Sparse_Matrices) function Direct_Sum (A, B : in Sparse_Matrix) return Sparse_Matrix is C : Sparse_Matrix; NRow : constant Pos := A.N_Row; NP : constant Pos := A.P (A.N_Col + 1); use Ada.Containers; begin pragma Assert (A.Format = CSC and B.F...
programs/oeis/195/A195042.asm
karttu/loda
0
2818
<reponame>karttu/loda ; A195042: Concentric 9-gonal numbers. ; 0,1,9,19,36,55,81,109,144,181,225,271,324,379,441,505,576,649,729,811,900,991,1089,1189,1296,1405,1521,1639,1764,1891,2025,2161,2304,2449,2601,2755,2916,3079,3249,3421,3600,3781,3969,4159,4356,4555,4761,4969,5184,5401,5625,5851,6084,6319,6561,6805,7056,7309...
agda/Categories/Pushout.agda
oisdk/combinatorics-paper
6
7773
{-# OPTIONS --cubical --safe #-} open import Prelude hiding (A; B) open import Categories module Categories.Pushout {ℓ₁ ℓ₂} (C : Category ℓ₁ ℓ₂) where open Category C private variable A B : Ob h₁ h₂ j : A ⟶ B record Pushout (f : X ⟶ Y) (g : X ⟶ Z) : Type (ℓ₁ ℓ⊔ ℓ₂) where field {Q} : Ob i₁ : Y ⟶...
Working Disassembly/Levels/HCZ/Misc Object Data/Map - Water Rush.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
97856
Map_22E60C_: dc.w Frame_22E684-Map_22E60C_ dc.w Frame_22E6F8-Map_22E60C_ dc.w Frame_22E614-Map_22E60C_ dc.w Frame_22E646-Map_22E60C_ Frame_22E614: dc.w 8 dc.b $E0, 7, 0,$20,$FF,$E0 dc.b $E0, $F, 0,$18,$FF,$F0 dc.b $E0, $F, 0,$18, 0,$10 dc.b $E0, $F, 0,$18, 0,$30 dc.b 0, $F, 0,$30,$FF,$E0 dc....
src/annotation_processor/implementation/yaml-transformator-annotation-for_loop.ads
robdaemon/AdaYaml
32
24817
<filename>src/annotation_processor/implementation/yaml-transformator-annotation-for_loop.ads -- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" private with Yaml.Events.Store; package Yaml.Transformator.Annotation.For_Loop is type Instance is limited ne...
oeis/026/A026616.asm
neoneye/loda-programs
11
165453
; A026616: T(2n,n), T given by A026615. ; Submitted by <NAME> ; 1,3,10,34,120,434,1596,5940,22308,84370,320892,1226108,4702880,18097044,69832600,270118440,1047043260,4066132050,15816664380,61615392300,240347793840,938669220060,3669940053000 mov $3,2 mov $5,$0 lpb $3 sub $3,1 add $0,$3 sub $0,1 mov $6,2 lpb $...
tests/tk-ttkwidget-ttk_widget_options_test_data.ads
thindil/tashy2
2
22932
<filename>tests/tk-ttkwidget-ttk_widget_options_test_data.ads -- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'r...
oeis/037/A037711.asm
neoneye/loda-programs
11
165420
<reponame>neoneye/loda-programs ; A037711: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,2,0. ; Submitted by <NAME>(s1.) ; 1,9,56,336,2017,12105,72632,435792,2614753,15688521,94131128,564786768,3388720609,20332323657,121993941944,731963651664,4391781909985,2635069145991...
src/execute-leds.adb
hgrodriguez/embedded-dashboard-console
0
4556
-- -- Copyright 2021 (C) <NAME> -- -- SPDX-License-Identifier: BSD-3-Clause -- with LED_Control; package body Execute.LEDs is -------------------------------------------------------------------------- -- definition of the look up table for the procedures to execute -- based on the command given ------...
Pure64 v0.5.0 Distribution/src/fat16.asm
svilerino/intel_multicore
1
18726
; ============================================================================= ; Pure64 -- a 64-bit OS loader written in Assembly for x86-64 systems ; Copyright (C) 2008-2012 Return Infinity -- see LICENSE.TXT ; ; FAT16 functions ; ============================================================================= ...
libsrc/target/zx/if1/if1_checksum.asm
jpoikela/z88dk
38
242605
<gh_stars>10-100 ; ; ZX IF1 & Microdrive functions ; ; if1_checksum (internal routine) ; ; check BC bytes starting from HL ; and compare with the following byte ; ; $Id: if1_checksum.asm,v 1.3 2016-07-01 22:08:20 dom Exp $ ; SECTION code_clib PUBLIC if1_checksum if1_checksum: push hl ld e,0 nxt_byte: ld a,e...
3-mid/opengl/source/platform/egl/opengl-display.adb
charlie5/lace
20
22908
<filename>3-mid/opengl/source/platform/egl/opengl-display.adb with eGL.Binding, eGL.Pointers, System; package body openGL.Display is use eGL, eGL.Binding, eGL.Pointers; function Default return Item is use type System.Address, eGL.EGLBoolean; the_Display : Display.item...
course-project/course-project-PSpiceFiles/SCHEMATIC3/SCHEMATIC3.als
nikolaystanishev/tu-te
0
4190
<reponame>nikolaystanishev/tu-te .ALIASES R_R R(1=N04353 2=N04365 ) CN @COURSE-PROJECT.SCHEMATIC3(sch_1):INS4331@ANALOG.R.Normal(chips) V_E1 E1(+=N04353 -=0 ) CN @COURSE-PROJECT.SCHEMATIC3(sch_1):<EMAIL>(chips) C_C C(1=0 2=N04369 ) CN @COURSE-PROJECT.SCHEMATIC3(sch_1):INS440<EMAIL>...
_build/dispatcher/jmp_ippsSub_BN_b126ef33.asm
zyktrcn/ippcp
1
20684
<filename>_build/dispatcher/jmp_ippsSub_BN_b126ef33.asm extern m7_ippsSub_BN:function extern n8_ippsSub_BN:function extern y8_ippsSub_BN:function extern e9_ippsSub_BN:function extern l9_ippsSub_BN:function extern n0_ippsSub_BN:function extern k0_ippsSub_BN:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeIni...
src/paradrop.asm
mvdhout1992/ts-patches
33
27180
%include "TiberianSun.inc" %include "macros/patch.inc" %include "macros/datatypes.inc" ;; Dropships need to have ammo in order to paradrop their cargo ;; This sets ammo count to cargo/5 rounded up. hack 0x00408A1F, 0x00408A25 push ebx mov eax, [esi+0xA0] ; Cargo Count add eax, 4 ;...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/access3.ads
best08618/asylo
7
26452
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/access3.ads package access3 is type IT is limited interface; type T is limited new IT with null record; type T2 is tagged limited null record; procedure Op (Obj_T2 : in out T2; Obj_IT : not null access IT'Class); end access3;
test/succeed/Issue423.agda
asr/agda-kanso
1
9117
<reponame>asr/agda-kanso<gh_stars>1-10 -- submitted by Nisse, 2011-06-21 module Issue423 where ------------------------------------------------------------------------ -- Prelude data _≡_ {A : Set} (x : A) : A → Set where refl : x ≡ x record Σ (A : Set) (B : A → Set) : Set where constructor _,_ field proj₁...
Source Codes Testing/sub2.asm
aravindvnair99/emu8086
11
16252
;Adding N single byte numbers stored as a array with num as starting memory location .MODEL small .STACK .DATA ; variable declaration section N db 4h num db 5h,3h,2h,4h ; code section .CODE .STARTUP mov cx,00h mov cl,N mov bx, offset num addition: sub al,[bx] inc bx l...
beep.asm
arfat01850/Assembly_Program
1
85836
<reponame>arfat01850/Assembly_Program .MODEL SMALL .STACK 100H .CODE MAIN PROC MOV AH,2 MOV DL,07 INT 21H
src/play/backdrop.asm
endstation/golf
1
247340
; Top-hole Golf ; Copyright 2020-2021 <NAME> bdrop_c_BEGIN = * ; ***************** ; *** CONSTANTS *** ; ***************** bdrop_c_MAX_TILES = 48 bdrop_c_MAX_DISTANT_OBJECTS = 5 bdrop_c_PATTERN_BLOCK_SIZE = 288 bdrop_c_MAX_VISIBLE_DISTANT_OBJECTS = 3 ; NOTE: assume object is 1000yds away. ; Rotate vector by PI/32 ...
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_net_gstnettimepacket_h.ads
persan/A-gst
1
23967
<reponame>persan/A-gst pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstclock_h; with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h; with glib; with glib.Values; with System; -- with GStreamer.GST_Low_Level...
src/006/steps_5.adb
xeenta/learning-ada
0
27092
<filename>src/006/steps_5.adb with Ada.Text_IO; use Ada.Text_IO; procedure Steps_5 is task Step_By_Step is entry Step_One; entry Step_Two; end Step_By_Step; task body Step_By_Step is begin loop select accept Step_One do Put_Line ("1"); ...
src/even.agda
shinji-kono/automaton-in-agda
0
2468
<gh_stars>0 module even where open import Data.Nat open import Data.Nat.Properties open import Data.Empty open import Data.Unit using (⊤ ; tt) open import Relation.Nullary open import Relation.Binary.PropositionalEquality open import Relation.Binary.Definitions open import nat open import logic even : (n : ℕ ) → Set...
child_processes-platform.adb
annexi-strayline/AURA
13
9796
<filename>child_processes-platform.adb<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STR...
Ada95/samples/sample-text_io_demo.adb
arc-aosp/external_libncurses
35
19183
<reponame>arc-aosp/external_libncurses ------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- ...
problems/040/a040.adb
melwyncarlo/ProjectEuler
0
5307
<gh_stars>0 with Ada.Strings.Fixed; with Ada.Integer_Text_IO; -- Copyright 2021 <NAME> procedure A040 is use Ada.Strings.Fixed; use Ada.Integer_Text_IO; Max_E : constant Integer := 7; -- 1E+x N : constant array (Integer range 1 .. Max_E) of Integer := (1, 10, 100, 1000...
data/baseStats_original/togetic.asm
adhi-thirumala/EvoYellow
16
14602
;TogeticBaseStats: ; 38582 (e:4582) db DEX_TOGETIC ; pokedex id db 55 ; base hp db 40 ; base attack db 85 ; base defense db 40 ; base speed db 105 ; base special db FAIRY ; species type 1 db FLYING ; species type 2 db 58 ; catch rate, dire hit item db 114 ; base exp yield INCBIN "pic/ymon/togetic.pic",0,1 ; 55, sprite ...
Blob_Lib/assimp-5.2.3/assimp/contrib/zlib/contrib/ada/zlib-streams.adb
antholuo/Blob_Traffic
0
30607
<filename>Blob_Lib/assimp-5.2.3/assimp/contrib/zlib/contrib/ada/zlib-streams.adb version https://git-lfs.github.com/spec/v1 oid sha256:f45988e2bac76eb25a0dc981f46576e7432c35dde1790bbc2b650f0090b7fa72 size 5996
aom_ports/emms.asm
hanbing204/aom
4
88683
; ; Copyright (c) 2016, Alliance for Open Media. All rights reserved ; ; This source code is subject to the terms of the BSD 2 Clause License and ; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License ; was not distributed with this source code in the LICENSE file, you can ; obtain it at www.aome...
Assignement4.97521441/Assignment4/AssignmentStAss4.g4
fc79/IUSTCompiler
0
2083
<reponame>fc79/IUSTCompiler grammar AssignmentStAss4; program returns [value_attr = str(), type_attr = str()]: mainClass ( classDeclare )* EOF ; mainClass returns [value_attr = str(), type_attr = str()]: 'class' mainClassDeclare ; mainClassDeclare returns [value_attr = str(), type_attr = str()]: identifi...
src/compiler-parser.adb
GLADORG/template-compiler
0
1769
pragma Ada_2012; with Brackelib.Stacks; with Ada.Characters.Conversions; package body Compiler.Parser is type State is (State_Start, State_Inside_Handlebars, State_Inside_Component_Declaration, State_Inside_Complex_Comment, State_Inside_Simple_Comment); package State_Stacks is new Brackelib.Stacks (T => ...
Take Home Test/Kamal_Faheem_Code/Kamal_Faheem_2.32.asm
FaheemAKamal/CS342Projects
0
92802
.data h: .word 25 A: .word 0-100 size: .word 100 .text lw $s2, h #initializing A[8] to 200 li $t1, 200 la $s3, A sw $t1, 32($s3) #A[12] = h + A[8] lw $t0, 32($s3) add $t0, $s2, $t0 sw $t0, 48($s3)
Transynther/x86/_processed/AVXALIGN/_st_4k_/i3-7100_9_0x84_notsx.log_3528_1717.asm
ljhsiun2/medusa
9
178927
<filename>Transynther/x86/_processed/AVXALIGN/_st_4k_/i3-7100_9_0x84_notsx.log_3528_1717.asm .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r15 push %rbx push %rdi push %rdx push %rsi // Store lea addresses_normal+0x16aff, %r10 xor %rdx, %rdx mov $0...
user/wc.asm
zhangxu0329/6.S081
0
26418
<gh_stars>0 user/_wc: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <wc>: char buf[512]; void wc(int fd, char *name) { 0: 7119 addi sp,sp,-128 2: fc86 sd ra,120(sp) 4: f8a2 sd s0,112(sp) 6: f4a6 sd s1,10...
polynomial/spline/tridiag_tst_1.adb
jscparker/math_packages
30
983
<reponame>jscparker/math_packages with Tridiagonal_LU; With Text_IO; use Text_IO; procedure tridiag_tst_1 is type Real is digits 15; package rio is new Text_IO.Float_IO(Real); use rio; Type Index is range 1..40; Package Tri is new Tridiagonal_LU (Real, Index); use Tri; SolutionVector : Co...
3-mid/opengl/source/lean/opengl-camera.adb
charlie5/lace
20
14041
<filename>3-mid/opengl/source/lean/opengl-camera.adb with ada.Text_IO, ada.Exceptions; package body openGL.Camera is use math.Algebra.linear, math.Algebra.linear.d3, ada.Text_IO; --------- -- Forge -- procedure define (Self : in out Item) is begin Self.Culler .d...
src/Internals/protypo-tokens.adb
fintatarta/protypo
0
12170
<gh_stars>0 package body Protypo.Tokens is ---------------- -- Make_Token -- ---------------- function Make_Token (Builder : in out Token_Builder; Class : Valued_Token; Value : String) return Token is Result : constant To...
src/asm/define_music.asm
h1romas4/z88dk-msx-template
5
28
<reponame>h1romas4/z88dk-msx-template<gh_stars>1-10 ; license:MIT License ; copyright-holders:<NAME> ; rodata_user ; https://github.com/z88dk/z88dk/blob/master/doc/overview.md#a-quick-note-for-asm-code ; rodata_user if for constant data ; kept in rom if program is in rom SECTION rodata_user PUBLIC _music_title, _music...
libsrc/_DEVELOPMENT/ctype/c/sccz80/isdigit.asm
teknoplop/z88dk
8
2637
<filename>libsrc/_DEVELOPMENT/ctype/c/sccz80/isdigit.asm ; int isdigit(int c) SECTION code_clib SECTION code_ctype PUBLIC isdigit EXTERN asm_isdigit, error_zc isdigit: inc h dec h jp nz, error_zc ld a,l call asm_isdigit ld l,h ret c inc l ret
day08/src/main.adb
jwarwick/aoc_2020
3
20387
<reponame>jwarwick/aoc_2020 -- AOC 2020, Day 8 with Ada.Text_IO; use Ada.Text_IO; with Day; use Day; procedure main is acc : constant Integer := acc_before_repeat("input.txt"); h : constant Integer := acc_after_terminate("input.txt"); begin put_line("Part 1: " & Integer'Image(acc)); put_line("Part 2: " & Integ...
Z80tests/tape1.asm
rickard-von-essen/QtSpecem
2
98384
<filename>Z80tests/tape1.asm ; EXAMPLE SAVE AND LOAD ; BLOCKS WITHOUT HEADERS ORG 50000 LD A,2 ; upper screen CALL 5633 ; open channel LD IX,TAPE_TXT1 CALL PRINT_STRING CALL WAIT_KEY CALL FILL_SCREEN CALL SAVE_SCREEN CALL CLEAR_SCREEN LD I...
Transynther/x86/_processed/P/_zr_/i7-7700_9_0x48_notsx.log_1_553.asm
ljhsiun2/medusa
9
242965
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %rax push %rbx push %rdx push %rsi lea addresses_WC_ht+0x1cb76, %rsi nop nop nop cmp $8707, %r13 mov (%rsi), %rbx nop nop nop sub %rax, %rax lea addresses_UC_ht+0xa9f6, %r12 nop nop sub %rdx, %rdx mov $0x6162636465666768, %r11 movq %r11, %x...
smsq/ioa/frmt.asm
olifink/smsqe
0
1255
; SMSQ Format device V2.00  1986 <NAME> QJUMP section ioa xdef ioa_frmt xref ioa_ffsd ; find filing system device xref sms_rte include dev8_keys_iod ;+++ ; d0 r error return 0, or not found ; a0 c s device_medium name ; a6 c p base of system variables ; ; all other registers preserved ;--- ioa_frmt r...
Maths/Utilities/MoveShip5-MVS5.asm
ped7g/EliteNext
9
3625
; T = x hi usigned /2 ; RS = inwkx (strip sign) ; so RS -= (xhi /2) ;PA = unkxhi[y] (strip sign) ; T = sign bit inkxhy[y] MoveShip5: ld bc,(regX) ; b = regY, c = regX MoveShip5regBC: MVS5: ; Moveship5, small rotation in matrix (1-1/2/256 = cos 1/16 = sine) ld hl,UBnKxhi ; hl - INW...
alloy4fun_models/trashltl/models/7/sFjrHB2xfpyT9oGKd.als
Kaixi26/org.alloytools.alloy
0
620
open main pred idsFjrHB2xfpyT9oGKd_prop8 { all f:File| eventually f.^link in Trash } pred __repair { idsFjrHB2xfpyT9oGKd_prop8 } check __repair { idsFjrHB2xfpyT9oGKd_prop8 <=> prop8o }
src/ada/AeonFlux/Parser/TokenValue.ads
marcello-s/AeonFlux
0
5698
<filename>src/ada/AeonFlux/Parser/TokenValue.ads -- Copyright (c) 2015-2019 <NAME> -- for details see License.txt with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Position; use Position; with Tokens; use Tokens; package TokenValue is type Object is record SourcePosition : Position.Object; T...
MIPS/DeleteLetters.asm
WorkingFen/ExamplesARKO
1
81959
<reponame>WorkingFen/ExamplesARKO .data #data segment prompt: .asciiz "Enter string with numbers: \n" #string buf: .space 100 #buffer for user string .text #text segment .globl main #visible outside main: li $v0, 4 #print string la $a0, prompt #from this syscall li $v0, 8 #read str...
ada/original_2008/ada-gui/agar-gui-style.ads
auzkok/libagar
286
12738
<gh_stars>100-1000 with agar.core.types; with agar.gui.rect; with agar.gui.widget; with agar.gui.window; with interfaces.c.strings; package agar.gui.style is package cs renames interfaces.c.strings; type version_t is record major : c.int; minor : c.int; end record; type version_access_t is access all ...
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sccz80/SMS_VRAMmemcpy_brief_callee.asm
jpoikela/z88dk
640
244766
; void SMS_VRAMmemcpy_brief(unsigned int dst,void *src,unsigned char size) SECTION code_clib SECTION code_SMSlib PUBLIC SMS_VRAMmemcpy_brief_callee EXTERN asm_SMSlib_VRAMmemcpy_brief SMS_VRAMmemcpy_brief_callee: pop hl pop bc pop de ex (sp),hl ld b,c jp asm_SMSlib_VRAMmemcpy_brief
src/fmt-generic_float_argument.ads
likai3g/afmt
0
30418
<reponame>likai3g/afmt generic type Float_Type is digits <>; package Fmt.Generic_Float_Argument is -- float to string -- https://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/printf.pdf -- https://github.com/jk-jeon/dragonbox/blob/master/other_files/Dragonbox.pdf -- Edit format -- "w=" width -...
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshc_py2saddr.asm
jpoikela/z88dk
640
15839
<gh_stars>100-1000 ; void *tshc_py2saddr(uchar y) SECTION code_clib SECTION code_arch PUBLIC _tshc_py2saddr EXTERN _zx_py2saddr defc _tshc_py2saddr = _zx_py2saddr
Thesis/ANormalUntyped.agda
inc-lc/ilc-agda
10
4846
<reponame>inc-lc/ilc-agda {-# OPTIONS --allow-unsolved-metas #-} module Thesis.ANormalUntyped where open import Agda.Primitive open import Data.Empty open import Data.Unit using (⊤) open import Data.Product open import Data.Nat import Data.Integer.Base as I open I using (ℤ) open import Data.Integer.Base using (ℤ) open...
ga_ref_impl/src/metric.adb
rogermc2/GA_Ada
3
13473
<filename>ga_ref_impl/src/metric.adb<gh_stars>1-10 with Ada.Text_IO; use Ada.Text_IO; package body Metric is C3_M : constant GA_Maths.Float_Matrix (1 .. 5, 1 .. 5) := ((0.0, 0.0, 0.0, 0.0, -1.0), (0.0, 1.0, 0.0, 0.0, 0.0), (0.0, 0.0, 1.0, 0.0, 0.0), (0.0, 0.0, 0....
Borland/CBuilder5/Source/RTL/source/math/ctrl87.asm
TrevorDArcyEvans/DivingMagpieSoftware
1
10747
;[]-----------------------------------------------------------------[] ;| CTRL87.ASM -- access floating-point control word | ;[]-----------------------------------------------------------------[] ; ; C/C++ Run Time Library - Version 10.0 ; ; Copyright (c) 1991, 2000 by Inprise Corporation...
com/netfx/src/clr/vbhelper/vbhelper.asm
npocmaka/Windows-Server-2003
17
15014
; ==++== ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ; ==--== .namespace System .class VBHelper ###################################################################### #This method will take in a RefAny and return a Variant... .staticmethod value class System.Variant TypedByRefToVar...
FormalAnalyzer/models/apps/AEONPowerStripBinder.als
Mohannadcse/IoTCOM_BehavioralRuleExtractor
0
3401
<filename>FormalAnalyzer/models/apps/AEONPowerStripBinder.als module app_AEONPowerStripBinder open IoTBottomUp as base open cap_runIn open cap_now open cap_switch open cap_switch open cap_switch open cap_switch open cap_switch one sig app_AEONPowerStripBinder extends IoTApp { strip : one cap_switch, switc...
third_party/antlr_grammars_v4/edif300/EDIF300.g4
mikhan808/rsyntaxtextarea-antlr4-extension
4
3139
<reponame>mikhan808/rsyntaxtextarea-antlr4-extension /* * [The "BSD license"] * * Copyright (c) 2014-2017 THALES GLOBAL SERVICES. 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. Redistr...
src/dw1000-ranging.ads
SALLYPEMDAS/DW1000
9
12886
------------------------------------------------------------------------------- -- Copyright (c) 2016 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software"), -- to deal in the Software without restriction, inc...
oeis/328/A328352.asm
neoneye/loda-programs
11
18091
<gh_stars>10-100 ; A328352: Similar to A328350, but for 5 digits rather then 3. ; 0,1,56,2831,141706,7086081,354307956,17715417331,885770964206,44288548698581,2214427437370456,110721371880729831,5536068594097526706,276803429705181511081,13840171485260601432956,692008574263037701042331,34600428713151923199089206,1730021...
Labs/Lab8_C-Assembly-Interaction/9-max-assembly-calls/main.asm
CristianCotovanu/IOCLA
0
83279
BITS 64 extern printf extern get_max section .data arr: dd 19, 7, 129, 87, 54, 218, 67, 12, 19, 99 len: equ $-arr print_format: db "max: %u", 13, 10, 0 section .text global main main: push rbp mov rbp, rsp ; Compute length in eax. ; Divide by 4 (we are using integer data type of 4 byte...
courses/fundamentals_of_ada/labs/prompts/135_visibility/types-strings.adb
AdaCore/training_material
15
14977
<gh_stars>10-100 with Ada.Text_IO; use Ada.Text_IO; package body Types.Strings is package Io is new Ada.Text_IO.Float_IO (Float); function To_String (Value : Float) return String is begin -- Use IO package to convert number to a string -- Use global objects from spec to control formatti...
oeis/022/A022395.asm
neoneye/loda-programs
11
91047
; A022395: Fibonacci sequence beginning 1, 25. ; Submitted by <NAME>(s4) ; 1,25,26,51,77,128,205,333,538,871,1409,2280,3689,5969,9658,15627,25285,40912,66197,107109,173306,280415,453721,734136,1187857,1921993,3109850,5031843,8141693,13173536,21315229,34488765,55803994,90292759,146096753,236389512,382486265,618875777,10...