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
programs/oeis/133/A133825.asm
neoneye/loda
22
171502
<reponame>neoneye/loda ; A133825: Triangle whose rows are sequences of increasing and decreasing triangular numbers: 1; 1,3,1; 1,3,6,3,1; ... . ; 1,1,3,1,1,3,6,3,1,1,3,6,10,6,3,1,1,3,6,10,15,10,6,3,1,1,3,6,10,15,21,15,10,6,3,1,1,3,6,10,15,21,28,21,15,10,6,3,1,1,3,6,10,15,21,28,36,28,21,15,10,6,3,1,1,3,6,10,15,21,28,36,...
programs/oeis/077/A077430.asm
karttu/loda
1
171096
<gh_stars>1-10 ; A077430: a(n) = floor(log_10(2*n^2)) + 1. ; 1,1,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,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,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5 add $0,1 pow $0,2 mov $1,$0 mul $1,2 log $1,10 a...
examples/song/play-song.asm
toshipiazza/iCreate-Assembler
0
88235
song 0 ; note, you don't need to include the size of the song! ; song start 60 64 67
projects/08/ProgramFlow/FibonacciSeries/FibonacciSeries.asm
nadavWeisler/Nand2Tetris
0
245424
<reponame>nadavWeisler/Nand2Tetris<gh_stars>0 @1 D=A @ARG A=M+D D=M @SP A=M M=D @SP M=M+1 @1 D=A @THIS D=D+A @13 M=D @SP M=M-1 A=M D=M @13 A=M M=D @0 D=A @SP A=M M=D @SP M=M+1 @0 D=A @THAT D=D+M @13 M=D @SP M=M-1 A=M D=M @13 A=M M=D @1 D=A @SP A=M M=D @SP M=M+1 @1 D=A @THAT D=D+M @13 M=D @SP M=M-1 A=M D=M @13 A=M M=D @...
data/jpred4/jp_batch_1613899824__OtwSqMq/jp_batch_1613899824__OtwSqMq.als
jonriege/predict-protein-structure
0
4275
SILENT_MODE BLOCK_FILE jp_batch_1613899824__OtwSqMq.concise.blc MAX_NSEQ 50 MAX_INPUT_LEN 50 OUTPUT_FILE jp_batch_1613899824__OtwSqMq.concise.ps PORTRAIT POINTSIZE 8 IDENT_WIDTH 12 X_OFFSET 2 Y_OFFSET 2 DEFINE_FONT 0 Helvetica DEFAULT DEFINE_FONT 1 Helvetica REL 0.75 DEFINE_FONT 7 Helvetica REL 0.6 DEFINE_FONT...
programs/oeis/268/A268615.asm
neoneye/loda
22
80963
; A268615: Lucas numbers mod 40. ; 2,1,3,4,7,11,18,29,7,36,3,39,2,1,3,4,7,11,18,29,7,36,3,39,2,1,3,4,7,11,18,29,7,36,3,39,2,1,3,4,7,11,18,29,7,36,3,39,2,1,3,4,7,11,18,29,7,36,3,39,2,1,3,4,7,11,18,29,7,36,3,39,2,1,3,4,7,11,18,29,7,36,3,39,2,1,3,4,7,11,18,29,7,36,3,39,2,1,3,4 seq $0,32 ; Lucas numbers beginning at 2: L(...
Task/Knapsack-problem-Continuous/Ada/knapsack-problem-continuous.ada
djgoku/RosettaCodeData
1
28705
<filename>Task/Knapsack-problem-Continuous/Ada/knapsack-problem-continuous.ada with Ada.Text_IO; with Ada.Strings.Unbounded; procedure Knapsack_Continuous is package US renames Ada.Strings.Unbounded; type Item is record Name : US.Unbounded_String; Weight : Float; Value : Positive; Tak...
source/streams/a-ststio.ads
ytomino/drake
33
9897
<filename>source/streams/a-ststio.ads<gh_stars>10-100 pragma License (Unrestricted); with Ada.IO_Exceptions; with Ada.IO_Modes; private with Ada.Finalization; private with Ada.Streams.Naked_Stream_IO; package Ada.Streams.Stream_IO is pragma Preelaborate; type Stream_Access is access all Root_Stream_Type'Class; ...
source/nodes/program-nodes-variant_vectors.ads
reznikmm/gela
0
23833
<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Nodes.Generic_Vectors; with Program.Elements.Variants; package Program.Nodes.Variant_Vectors is new Program.Nodes.Generic_Vectors (Program.Elem...
oeis/126/A126986.asm
neoneye/loda-programs
11
244424
; A126986: Expansion of 1/(1+4*x*c(x)), c(x) the g.f. of Catalan numbers A000108. ; Submitted by <NAME> ; 1,-4,12,-40,124,-408,1272,-4176,13020,-42808,133096,-439344,1358872,-4514800,13853040,-46469280,140945820,-479312760,1430085000,-4958382960,14453014920,-51500944080,145230007440,-537922074720,1446902948184,-5662012...
test/Succeed/Issue3666.agda
cruhland/agda
1,989
12004
<gh_stars>1000+ data Unit : Set where unit : Unit F : Unit → Set₁ F unit = Set data D (u : Unit) (f : F u) : Set where variable u : Unit f : F u d : D u f postulate P : {u : Unit} {f : F u} → D u f → Set p : P d p' : (u : Unit) (f : F u) (d : D u f) → P d p' u f d = p {u} {f} {d}
Driver/Socket/IRLAP/irlapStrings.asm
steakknife/pcgeos
504
14801
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994 -- All Rights Reserved PROJECT: MODULE: FILE: irlapStrings.asm AUTHOR: <NAME>, Sep 29, 1994 REVISION HISTORY: Name Date Description ---- ---- ----------- SJ 9/29/94 Initial revision ...
week_08/ProgramFlow/FibonacciSeries/FibonacciSeries.asm
DaviNakamuraCardoso/nand2tetris
0
164387
<gh_stars>0 @256 D=A @SP M=D @300 D=A @LCL M=D @400 D=A @ARG M=D @3000 D=A @THIS M=D @3010 D=A @THAT M=D // // This file is part of www.nand2tetris.org // // and the book "The Elements of Computing Systems" // // by <NAME> Schocken, MIT Press. // // File name: projects/08/ProgramFlow/FibonacciSeries/FibonacciSer...
test/Compiler/simple/ModuleArgs.agda
shlevy/agda
7
4322
<filename>test/Compiler/simple/ModuleArgs.agda module ModuleArgs where open import Common.Nat open import Common.IO open import Common.Unit module X (y : Nat) where addTo : Nat -> Nat addTo x = y + x open X 23 -- should return 35 main : IO Unit main = printNat (addTo 12)
ExtendedGCD/main.adb
oddek/DCS3101-1_Cybersecurity
0
4131
<filename>ExtendedGCD/main.adb with Ada.Text_IO; use ADA.Text_IO; procedure main is procedure extended_gcd(a : Integer; b : Integer) is old_r : Integer := a; r : Integer := b; old_s : Integer := 1; s : Integer := 0; old_t : Integer := 0; t : Integer := 1; quotient : Integer; temp : Integer; begin while r...
arch/ARM/Nordic/svd/nrf51/nrf51_svd-aar.ads
bosepchuk/Ada_Drivers_Library
6
19988
<reponame>bosepchuk/Ada_Drivers_Library -- 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 ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/assert1.adb
best08618/asylo
7
6805
<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/assert1.adb -- { dg-do run } -- { dg-options "-gnatws" } pragma Assertion_Policy (Check); with Text_IO; use Text_IO; procedure assert1 is type p1 is array (1 .. 113) of Boolean; pragma Pack (p1); type p2 is array (1 .. 13) of Boolean; pragma Pack (p2)...
programs/oeis/288/A288998.asm
neoneye/loda
22
167918
<filename>programs/oeis/288/A288998.asm<gh_stars>10-100 ; A288998: Positions of 0 in A288997; complement of A288999. ; 1,2,4,5,6,8,9,11,12,13,15,16,18,19,21,22,23,25,26,28,29,30,32,33,35,36,38,39,40,42,43,45,46,47,49,50,52,53,54,56,57,59,60,62,63,64,66,67,69,70,71,73,74,76,77,79,80,81,83,84,86,87,88,90,91,93,94,95,97,9...
programs/oeis/302/A302405.asm
karttu/loda
0
176310
<reponame>karttu/loda ; A302405: Total domination number of the n-prism graph. ; 0,1,2,2,4,4,4,5,6,6,8,8,8,9,10,10,12,12,12,13,14,14,16,16,16,17,18,18,20,20,20,21,22,22,24,24,24,25,26,26,28,28,28,29,30,30,32,32,32,33,34,34,36,36,36,37,38,38,40,40,40,41,42,42,44,44,44,45,46,46,48,48,48,49,50,50,52,52,52,53,54,54,56,56,5...
oeis/070/A070333.asm
neoneye/loda-programs
11
25602
; A070333: Expansion of (1+x)*(1-x+x^2)/( (1-x)^4*(1+x+x^2) ). ; 1,3,6,12,21,33,50,72,99,133,174,222,279,345,420,506,603,711,832,966,1113,1275,1452,1644,1853,2079,2322,2584,2865,3165,3486,3828,4191,4577,4986,5418,5875,6357,6864,7398,7959,8547,9164,9810,10485,11191,11928,12696,13497,14331,15198,16100,17037,18009,19018,2...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1029.asm
ljhsiun2/medusa
9
178651
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1cf51, %rsi nop nop inc %r13 mov $0x6162636465666768, %r11 movq %r11, (%rsi) nop nop nop nop nop xor %r13, %r13 lea addresses_WT_ht+0x17e9, %rdx clflush (%rdx) add $48050, %r...
arbitrary/extended_real.adb
jscparker/math_packages
30
16183
<gh_stars>10-100 ----------------------------------------------------------------------- -- package body Extended_Real, extended precision floating point arithmetic -- Copyright (C) 2008-2018 <NAME> -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby ...
regtests/wiki-parsers-tests.adb
jquorning/ada-wiki
18
24201
----------------------------------------------------------------------- -- wiki-parsers-tests -- Unit tests for wiki parsing -- Copyright (C) 2011, 2012, 2013, 2015, 2016, 2017, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this ...
scripts/.unmute.applescript
looking-for-a-job/mac-volume
1
567
#!/usr/bin/osascript set volume without output muted
xx-web/src/test/java/com/fantasy/xxtest/antlr4/demo02/ArrayInit.g4
xxhome/xx-fanstansy
0
1992
// {1, 2, 3,{5, 8}, 4} grammar ArrayInit; init : '{' value (',' value)* '}'; value : init | INT ; INT : [0-9]+; WS : [ \n\r\t]+ -> skip;
alloy4fun_models/trashltl/models/9/AHQWgfyRCv75CbNNs.als
Kaixi26/org.alloytools.alloy
0
1812
open main pred idAHQWgfyRCv75CbNNs_prop10 { (all f:File | f in Protected implies( always f in Protected)) } pred __repair { idAHQWgfyRCv75CbNNs_prop10 } check __repair { idAHQWgfyRCv75CbNNs_prop10 <=> prop10o }
Cubical/Categories/Constructions/Free.agda
thomas-lamiaux/cubical
1
1902
-- Free category over a directed graph/quiver {-# OPTIONS --safe #-} module Cubical.Categories.Constructions.Free where open import Cubical.Categories.Category.Base open import Cubical.Data.Graph.Base open import Cubical.Data.Graph.Path open import Cubical.Foundations.Prelude hiding (Path) module _ {ℓv ℓe : Level} w...
LCD Slave/Sources/main.asm
Mammothskier/EELE465
0
88564
;Main.s by <NAME>, <NAME> ;1/30/19 ;Slave_LCD INCLUDE 'derivative.inc' XDEF _Startup, main, _Viic XREF __SEG_END_SSTACK ; symbol defined by the linker for the end of the stack ORG $0060 ;----I2C-VARIBLES----------------------------- IIC_addr: DS.B 1 IIC_msg: DS.B 6 ; enable 32 bit transmission msgLen...
asm/integerArithmetic/sportCourt.main.asm
IronHeart7334/AssemblyPrograms
0
21663
; general comments ; Assignment: ; Write a console32 Assembly Language program to calculate the perimeter of a rectangular sports court in meters. ; Assume the largest size will be a regulation Bundesliga (German professional league) soccer field. ; Justify the size and unsigned/signed you choose fo...
tools/aflex/src/scanner-dfa.ads
svn2github/matreshka
24
144
package scanner.DFA is Aflex_Debug : Boolean := False; YYText_Ptr : Integer; -- points to start of yytext in buffer -- yy_ch_buf has to be 2 characters longer than YY_BUF_SIZE because we -- need to put in 2 end-of-buffer characters (this is explained where -- it is done) at the end of yy_ch_buf YY_R...
misc/mul_div.asm
a1393323447/x86-Assambely
3
16219
; 8 位乘法 ; 结果储存在 ax mov al, 0xf0 mov ah, 0x02 mul ah ; 16 位乘法 ; 结果储存在 dx:ax mov ax, 0xf000 mov bx, 0x0002 mul bx ; 16 位除法 ; 商存在 al 里, 余数存在 ah 里 mov ax, 0x0004 mov bl, 0x02 div bl ; 32 位除法 ; 商存在 ax 里, 余数存在 mov dx, 0x0008 mov ax, 0x0006 mov cx, 0x0002 div cx jmp $ times 510-($-$$) db 0 db 0x55, 0xaa
Engine Hacks/Poison Rework/Hooks.asm
sme23/Christmas2
0
3743
.macro SET_FUNC name, value .global \name .type \name, %function .set \name, \value .endm SET_FUNC SetPoisonWeapon, (0x080178D8+1) SET_FUNC SetPoisonDamage, (0x08025A2C+1)
src/lv-objx-keyboard.ads
Fabien-Chouteau/ada-lvlg
3
20463
<filename>src/lv-objx-keyboard.ads<gh_stars>1-10 with System; with Lv.Style; with Lv.Objx.Textarea; package Lv.Objx.Keyboard is subtype Instance is Obj_T; type Mode_T is (Mode_Text, Mode_Num); type Style_T is (Style_Bg, Style_Btn_Rel, Style_Btn_Pr, Style_Btn_Tgl_Rel, Style_Btn...
tests/asm/02-headers1.asm
earwig/crater
16
18812
;; Copyright (C) 2016 <NAME> <<EMAIL>> ;; Released under the terms of the MIT License. See LICENSE for details. ; ----- CRATER UNIT TESTING SUITE --------------------------------------------- ; 02-headers1.asm ; Basic test for headers and other directives, mostly using default values .rom_size auto .rom_header auto ...
src/x86writer.adb
patrickf2000/ada-asm
0
11843
with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Parser; use Parser; package body X86Writer is -- The main X86 assembly function procedure assemble(instr_list : Instr_Vector.Vector; writer : Stream_Access) is -- Our types type Byte is mod 2 *...
oeis/335/A335334.asm
neoneye/loda-programs
11
84746
<gh_stars>10-100 ; A335334: Sum of the integers in the reduced residue system of A002110(n). ; Submitted by <NAME>(m3a) ; 1,6,120,5040,554400,86486400,23524300800,8045310873600,4070927302041600,3305592969257779200,3074201461409734656000,4094836346597766561792000,6715531608420337161338880000,1212825008480712891337801728...
src/main/fragment/mega45gs02-common/vdum1=vdum1_plus_vdum2.asm
jbrandwood/kickc
2
175802
<filename>src/main/fragment/mega45gs02-common/vdum1=vdum1_plus_vdum2.asm clc ldq {m1} adcq {m2} stq {m1}
assembler/test5.asm
dpolad/dlx
1
168904
myloop: addi r1, r0, 4 lw r2, 4(r1) sb 20(r1), r2 ; should forward lh r3, 8(r1) addi r4, r3, 15 ; should stall addi r7, r0, myloop ;move label into r7 jalr r7 ;jump
libsrc/_DEVELOPMENT/arch/zx/misc/z80/asm_zx_scroll_wc_up_noexx.asm
meesokim/z88dk
0
15069
SECTION code_arch PUBLIC asm_zx_scroll_wc_up_noexx EXTERN asm_zx_scroll_wc_up asm_zx_scroll_wc_up_noexx: ; alternate entry point to asm_zx_scroll_up_wc that does ; not alter the exx set ; ; enter : de = number of rows to scroll upward by ; l = attr ; ix = rect * ; ; uses :...
agda/Function/Isomorphism.agda
oisdk/combinatorics-paper
0
11593
<filename>agda/Function/Isomorphism.agda {-# OPTIONS --cubical --safe #-} module Function.Isomorphism where open import Cubical.Foundations.Equiv using (isoToEquiv) public open import Cubical.Foundations.Isomorphism using (Iso; section; retract; isoToPath; iso) public open import Level open import Path open import Fu...
archive/agda-2/Oscar/Instance.agda
m0davis/oscar
0
6483
module Oscar.Instance where open import Oscar.Class.Associativity open import Oscar.Class.Congruity open import Oscar.Class.Equivalence open import Oscar.Class.Extensionality open import Oscar.Class.Injectivity open import Oscar.Class.Preservativity open import Oscar.Class.Reflexivity open import Oscar.Class.Semifunc...
examples/version.adb
ytomino/boehmgc-ada
3
29115
with Ada.Text_IO; with GC; procedure version is begin Ada.Text_IO.Put_Line (GC.Version); end version;
Lab05/Task01.asm
PrabalChowdhury/CSE-341-MICROPROCESSOR
0
179769
.MODEL SMALL .STACK 100H .DATA .CODE MAIN PROC mov AX,@DATA mov DS,AX mov ah,1 int 21H mov cl,al SUB cl,30H mov ch,0 mov ah,2 mov dl,0DH int 21H mov dl,0ah int 21H mov ah,1 int 21H mov bl,al sub bl,30H...
examples/intf.adb
ytomino/drake
33
24503
with Ada; with Interfaces.C.Char_Pointers; with Interfaces.C.Pointers; with Interfaces.C.Strings; with Interfaces.C.Wide_WStrings; procedure intf is begin -- Import declare type Unsigned_Long_Long is mod 2 ** Long_Long_Integer'Size; type P is access all Character; function strtoll (str : String; endptr : access...
Userland/SampleCodeModule/asm/lib64.asm
pdomins/2020Q2_Arqui_TPE
3
99819
<reponame>pdomins/2020Q2_Arqui_TPE GLOBAL sysTime GLOBAL sysRead GLOBAL sysWrite GLOBAL _syscall GLOBAL invalidOpCode ;------------------------------------------------------------ ; USERLAND ;------------------------------------------------------------ section .text ;----------------------------...
test/Fail/Issue2906.agda
cruhland/agda
1,989
15148
<reponame>cruhland/agda data D : Set where zero : D suc : D → D postulate f : D → D {-# COMPILE GHC f = \ x -> x #-}
sycadas/src/main/antlr/org/genevaers/sycadas/grammar/FormatFilter.g4
venkateshprasad123/wb
3
4331
<filename>sycadas/src/main/antlr/org/genevaers/sycadas/grammar/FormatFilter.g4<gh_stars>1-10 grammar FormatFilter; /* * Copyright Contributors to the GenevaERS Project. * (c) Copyright IBM Corporation 2020. * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License");...
exercises/practice/isogram/isogram.asm
jonboland/x86-64-assembly
21
178741
section .text global is_isogram is_isogram: ; Provide your implementation here ret
source/receiver/main/locations.adb
reznikmm/gps-tracker
0
18743
<filename>source/receiver/main/locations.adb -- SPDX-FileCopyrightText: 2022 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Locations is task body Bluetooth_Runner is Supported : constant := Location_Supported + UTC_Time_Suppor...
src/compiling/ANTLR/grammar/ProgramItems.g4
jecassis/VSCode-SystemVerilog
75
3776
grammar ProgramItems; import CheckerItems; program_item : port_declaration ';' | non_port_program_item ; non_port_program_item : ( attribute_instance )* continuous_assign | ( attribute_instance )* module_or_generate_item_declaration | ( attribute_instance )* initial_construct | ( attribute_instance )* final_co...
Tests/BTTest.applescript
VulcanRobotics/VulcanScoutingApp2018
0
3539
<gh_stars>0 activate application "SystemUIServer" tell application "System Events" tell process "SystemUIServer" -- Working CONNECT Script. Goes through the following: -- Clicks on Bluetooth Menu (OSX Top Menu Bar) -- => Clicks on jliu-2018 Item -- => Clicks on Connect Item set btMenu to ...
test/Succeed/Issue1039.agda
cruhland/agda
1,989
16190
<reponame>cruhland/agda module Issue1039 where open import Common.Level Test : ∀ {a b} → Set a → Set (a ⊔ b) → Set a Test X Y = X test : Set (lsuc lzero) test = Test Set (Set (lsuc lzero)) test₂ : ∀ {l} → Set (lsuc l) test₂ {l} = Test (Set l) (Set (lsuc l))
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1755.asm
ljhsiun2/medusa
9
174327
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1e402, %rsi lea addresses_UC_ht+0x16982, %rdi nop nop nop nop nop sub $65080, %r11 mov $84, %rcx rep movsw nop add $20838, %r11 lea addresses_normal_ht+0xafe, %r9 nop nop nop...
test/Fail/Issue719.agda
shlevy/agda
2
14691
-- Andreas, 2012-10-19 issue #719 blame correct module -- Andreas, 2017-07-28 point to correct binding site ("as A") module Issue719 where import Common.Size as A module M where private open module A = M -- WAS: -- Duplicate definition of module A. Previous definition of module A -- at .../Common/Size.agda:7,...
sharding-core/src/main/antlr4/imports/MySQLDropIndex.g4
chuanandongxu/sharding-sphere
0
4856
<reponame>chuanandongxu/sharding-sphere grammar MySQLDropIndex; import MySQLKeyword, Keyword, BaseRule; dropIndex : DROP INDEX (ONLINE | OFFLINE)? indexName ON tableName ;
lib/macros.asm
stoneface86/tbengine
6
99918
<reponame>stoneface86/tbengine<filename>lib/macros.asm ; 2's complement negation neg: MACRO cpl inc a ENDM ; negate word _negw: MACRO ld a, HIGH(\1) cpl ld HIGH(\1), a ld a, LOW(\1) cpl ld LOW(\1), a inc \1 ENDM ; add sign-extended byte to word. the val...
loader_wsock32_proxy/wsock32.asm
r-ex/NorthstarLauncher
186
172308
.data extern PA : qword .code RunASM proc jmp qword ptr [PA] RunASM endp end
08/FunctionCalls_tests/NestedCall/NestedCall.asm
ashiroji/Nand2Tetris
0
100815
@256 D=A //D = 256 @SP M=D //M[SP] = 256 //push returnAddress @returnAddress0 D=A //D=returnAddress0 @SP A=M //A = @SP M=D //M[A] = value to push @SP M=M+1 //sp+1 //push LCL @LCL D=M //D=LCL @SP A=M //A = @SP M=D //M[A] = value to push @SP M=M+1 //sp+1 //push ARG @ARG D=M //D=ARG @SP A=M //A = @SP...
src/audio-wavefiles.adb
Ada-Audio/wavefiles
10
1806
<filename>src/audio-wavefiles.adb ------------------------------------------------------------------------------ -- -- -- WAVEFILES -- -- ...
Miei-sorgenti/old/Settima lezione/pop.asm
DigiOhhh/LabArchitettura2-2017-2018
1
100108
<filename>Miei-sorgenti/old/Settima lezione/pop.asm # Si implementi una struttura dati di tipo stack (LIFO) che permetta di salvare in memoria dinamicamente strutture del tipo: # struct { # int x; # int y; # int angle; # int *next; # } # # Si implementino in particolare le funzioni: # stack_push(x,y,angle) che ins...
programs/oeis/340/A340084.asm
neoneye/loda
22
94151
<reponame>neoneye/loda ; A340084: a(n) = gcd(n-1, A336466(n)); Odd part of A340081(n). ; 1,1,1,1,1,1,3,1,1,1,5,1,3,1,1,1,1,1,9,1,1,1,11,1,1,1,1,3,7,1,15,1,1,1,1,1,9,1,1,1,5,1,21,1,1,1,23,1,3,1,1,3,13,1,1,1,1,1,29,1,15,1,1,1,1,5,33,1,1,3,35,1,9,1,1,3,1,1,39,1,1,1,41,1,1,1,1,1,11,1,9,1,1,1,1,1,3,1,1,1 seq $0,340081 ; a(...
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver1/chip/Gdefchr.asm
prismotizm/gigaleak
0
83151
Name: Gdefchr.asm Type: file Size: 7232 Last-Modified: '2016-05-13T04:51:15Z' SHA-1: 457E3DC57EF4CCCB514540D39808F0CD672DB75F Description: null
theorems/cw/cohomology/grid/LongExactSequence.agda
timjb/HoTT-Agda
0
7021
<filename>theorems/cw/cohomology/grid/LongExactSequence.agda {-# OPTIONS --without-K --rewriting #-} open import HoTT open import cohomology.Theory open import groups.ExactSequence open import groups.HomSequence module cw.cohomology.grid.LongExactSequence {i} (CT : CohomologyTheory i) {X Y Z : Ptd i} (n : ℤ) (f : X...
oeis/017/A017158.asm
neoneye/loda-programs
11
24035
<reponame>neoneye/loda-programs ; A017158: a(n) = (8*n + 7)^10. ; 282475249,576650390625,41426511213649,819628286980801,8140406085191601,52599132235830049,253295162119140625,984930291881790849,3255243551009881201,9468276082626847201,24842341419143568849,59873693923837890625,134391637934412192049,283942098606901565601,5...
programs/oeis/074/A074400.asm
neoneye/loda
22
16206
; A074400: Sum of the even divisors of 2n. ; 2,6,8,14,12,24,16,30,26,36,24,56,28,48,48,62,36,78,40,84,64,72,48,120,62,84,80,112,60,144,64,126,96,108,96,182,76,120,112,180,84,192,88,168,156,144,96,248,114,186,144,196,108,240,144,240,160,180,120,336,124,192,208,254,168,288,136,252,192,288,144,390,148,228,248,280,192,336,...
3-mid/impact/source/3d/collision/dispatch/impact-d3-union_find.adb
charlie5/lace
20
18511
package body impact.d3.union_Find is --- Forge -- procedure destruct (Self : in out Item) is begin Self.Free; end destruct; --- Attributes -- function getNumElements (Self : in Item) return Natural is begin return Natural (Self.m_elements.Length); end getNu...
oeis/040/A040766.asm
neoneye/loda-programs
11
171066
<reponame>neoneye/loda-programs ; A040766: Continued fraction for sqrt(795). ; 28,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5,56,5,9,5 seq $0,40204 ; Continued fraction for sqrt(219). ad...
setoid-cats/Equality/Eq.agda
heades/AUGL
0
16273
--------------------------------------------------------------------- -- This file contains the definition of heterogenous equality and -- -- related facts. A lot of this code is old, and could be written -- -- better. This equality is mainly used for object equivalence. -- -- ...
tests/covered/ImplArg.agda
andrejtokarcik/agda-semantics
3
12129
-- https://github.com/bitonic/tog/wiki/Implicit-Arguments -- aj s popisom checkingu od <NAME> module ImplArg where data Nat : Set where zero : Nat suc : Nat -> Nat data Vec (A : Set) : Nat -> Set where vnil : Vec A zero vcons : {n : Nat} -> A -> Vec A n -> Vec A (suc n) Cons = {A : Set} (a : A) {n : Nat} -...
utils/puts.asm
pchynoweth/cx16-utils
0
240391
<reponame>pchynoweth/cx16-utils .export puts .include "cx16.inc" .include "cbm_kernal.inc" .include "utils/reg.inc" .code ; invalidates a,y .proc puts ldy #0 @loop: lda (REG::r0), y beq @done jsr CHROUT iny bra @loop @done: rts .endproc
src/wavefiles_gtk-wavefile_manager.adb
silentTeee/ada_wavefiles_gtk_app
0
303
------------------------------------------------------------------------------- -- -- WAVEFILES GTK APPLICATION -- -- Wavefile Manager -- -- The MIT License (MIT) -- -- Copyright (c) 2017 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtainin...
test/demangle-cases/bug-978.asm
OfekShilon/compiler-explorer
4,668
25795
<filename>test/demangle-cases/bug-978.asm _ZN1D1aEv: push rbp mov rbp, rsp mov QWORD PTR [rbp-8], rdi mov eax, 1 pop rbp ret _ZN1D3abcEv: push rbp mov rbp, rsp mov QWORD PTR [rbp-8], rdi mov eax, 1 pop rbp ret _ZN1C1aEv: push rbp mov rbp, rsp mov QWORD PTR [rbp-8], rdi mov eax, 1 pop r...
monitor/sd_library.asm
mfkiwl/QNICE-FPGA-hyperRAM
53
25532
; ;;============================================================================= ;; The collection of SD Card related functions starts here ;;============================================================================= ; ; ;***************************************************************************** ;* SD$RESET rese...
examples/tactics/ac/Logic.agda
cruhland/agda
1,989
12874
<filename>examples/tactics/ac/Logic.agda module Logic where data True : Set where tt : True data False : Set where
src/base/dates/util-dates-formats.adb
RREE/ada-util
60
20897
----------------------------------------------------------------------- -- util-dates-formats -- Date Format ala strftime -- Copyright (C) 2011, 2018, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance w...
alloy4fun_models/trainstlt/models/13/vGQFaMi6ZL2bpxv6d.als
Kaixi26/org.alloytools.alloy
0
4867
open main pred idvGQFaMi6ZL2bpxv6d_prop14 { always ( all t:Train | ( one (t.pos.signal :>Green) )implies (t.pos.signal in Signal-Green) ) } pred __repair { idvGQFaMi6ZL2bpxv6d_prop14 } check __repair { idvGQFaMi6ZL2bpxv6d_prop14 <=> prop14o }
Task/Walk-a-directory-Non-recursively/AppleScript/walk-a-directory-non-recursively-4.applescript
LaudateCorpus1/RosettaCodeData
1
3323
<gh_stars>1-10 tell application "Finder" to return name of every item in entire contents of (path to documents folder from user domain) whose name ends with "pdf"
1-base/lace/source/text/lace-text.ads
charlie5/lace-alire
1
23432
with ada.Containers, ada.Streams; package lace.Text -- -- Models a string of text characters. -- is pragma Pure; type Item (Capacity : Natural) is private; function Image (Self : in Item) return String; Error : exception; -------------- -- Stock Items -- subtype Item_2 is Ite...
src/spat-gpr_support.ads
yannickmoy/spat
0
492
<gh_stars>0 ------------------------------------------------------------------------------ -- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>) -- -- This work is free. You can redistribute it and/or modify it under the -- terms of the Do What The Fuck You Want To Public License, Version 2, -- as published by Sam Hoce...
tasks/arithmetic/dec.asm
yds12/x86-roadmap
15
80760
<gh_stars>10-100 ; This program makes some decrements and returns. global asm_func section .text asm_func: xor rax, rax ; zeroes RAX inc rax ; increments RAX 4 times inc rax inc rax inc rax dec rax ; decrements RAX 2 times dec rax ret
patches/koala/code/disasm/koala_fix_magnifier.asm
fcatrin/a8tools
3
89066
<gh_stars>1-10 ; fix magnifier coordinates calculation when using a joystick org $51F2 nop nop nop nop nop nop nop nop
src/ada/src/services/route_aggregator/route_aggregator.adb
VVCAS-Sean/OpenUxAS
88
4501
<gh_stars>10-100 with Ada.Text_IO; use Ada.Text_IO; package body Route_Aggregator with SPARK_Mode is pragma Unevaluated_Use_Of_Old (Allow); pragma Assertion_Policy (Ignore); -- Lemmas used to factor out reasonning about the redefined model of -- Int64_Formal_Set_Maps ------------------- -- Model...
data/expression/WithApp.agda
msuperdock/agda-unused
6
1313
<gh_stars>1-10 module WithApp where f : {A : Set} → A → A f x with x ... | y = y g : {A : Set} → A → A → A g x y with x ... | _ with y ... | _ = x
data/baseStats/caterpie.asm
AmateurPanda92/pokemon-rby-dx
9
80716
db DEX_CATERPIE ; pokedex id db 45 ; base hp db 30 ; base attack db 35 ; base defense db 45 ; base speed db 20 ; base special db BUG ; species type 1 db BUG ; species type 2 db 255 ; catch rate db 53 ; base exp yield INCBIN "pic/bmon/caterpie.pic",0,1 ; 55, sprite dimensions dw CaterpiePicFront dw CaterpiePicBack ; att...
examples/tty_key.adb
ytomino/drake
33
17667
with Ada.Text_IO; procedure tty_key is use type Ada.Text_IO.Count; C, D : Character; Avail : Boolean; Line_Length : Ada.Text_IO.Count := Ada.Text_IO.Line_Length; Start_Col, Current_Col : Ada.Text_IO.Count; begin Ada.Text_IO.New_Page; -- clear screen Ada.Text_IO.Put ("push any key:"); Ada.Text_IO.Get_Immediate (...
theorems/groups/Cokernel.agda
mikeshulman/HoTT-Agda
0
10849
{-# OPTIONS --without-K --rewriting #-} open import HoTT -- an attempt to speed up [QuotGroup (im-nprop ...)] -- which removes most intermediate constructions module groups.Cokernel {i j} {G : Group i} {H : Group j} (φ : G →ᴳ H) (H-ab : is-abelian H) where -- G ---φ--→ᴳ H private module G = Group G ...
RecursiveTypes/Subtyping/Example.agda
nad/codata
1
2063
------------------------------------------------------------------------ -- An example ------------------------------------------------------------------------ module RecursiveTypes.Subtyping.Example where open import Codata.Musical.Notation open import Data.Fin open import Data.Nat open import RecursiveTypes.Syntax...
snippets/comparisons.i.asm
ped7g/ZXSpectrumNextMisc
15
2689
; examples of basic arithmetic comparisons for simple types int/uint 8/16 bit ; ; each example consist of two parts: ; - comparison itself (setting flag registers) ; - branching per condition ; ; In the branching part all possible variants are shown, but in your code you need to ; use only the particular condition whic...
unittests/ASM/OpSize/66_6E.asm
woachk/FEX
1
8467
%ifdef CONFIG { "RegData": { "XMM0": ["0x45464748", "0x0"], "XMM1": ["0x5152535455565758", "0x0"] }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0x4142434445464748 mov [rdx + 8 * 0], rax mov rax, 0x5152535455565758 mov [rdx + 8 * 1], rax mov rax, 0x61626364656...
math-and-functional-programming/1999-Type_Theory_and_Functional_Programming-Simon_Thompson/x.agda
haroldcarr/learn-haskell-coq-ml-etc
36
5296
module x where open import Level private variable a b c d e f ℓ p q r : Level A : Set a B : Set b C : Set c D : Set d E : Set e F : Set f ------------------------------------------------------------------------------ infixr 4 _,_ infixr 2 _^_ record _^_ (A : Set a) (B : Set b) : Set ...
test/src/yaml-lexer-buffering_test.adb
robdaemon/AdaYaml
32
11301
-- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with AUnit.Assertions; use AUnit.Assertions; with Yaml.Source.File; with Utils; package body Yaml.Lexer.Buffering_Test is procedure Register_Tests (T : in out TC) is use AUnit.Test_Cases.Registr...
cat.asm
dylsugar/cs461_hw5
0
87981
<reponame>dylsugar/cs461_hw5 _cat: file format elf64-x86-64 Disassembly of section .text: 0000000000001000 <cat>: char buf[512]; void cat(int fd) { 1000: f3 0f 1e fa endbr64 1004: 55 push %rbp 1005: 48 89 e5 mov %rsp,%rbp 1008: 48 83 ec 20 ...
src/MLib/Matrix/Pow.agda
bch29/agda-matrices
0
12372
<reponame>bch29/agda-matrices open import MLib.Algebra.PropertyCode open import MLib.Algebra.PropertyCode.Structures module MLib.Matrix.Pow {c ℓ} (struct : Struct bimonoidCode c ℓ) where open import MLib.Prelude open import MLib.Matrix.Core open import MLib.Matrix.Equality struct open import MLib.Matrix.Mul struct op...
oeis/020/A020764.asm
neoneye/loda-programs
11
243435
<filename>oeis/020/A020764.asm ; A020764: Decimal expansion of 1/sqrt(7). ; Submitted by <NAME> ; 3,7,7,9,6,4,4,7,3,0,0,9,2,2,7,2,2,7,2,1,4,5,1,6,5,3,6,2,3,4,1,8,0,0,6,0,8,1,5,7,5,1,3,1,1,8,6,8,9,2,1,4,5,4,3,3,8,3,3,3,4,9,4,1,7,1,5,8,1,2,6,0,4,6,1,4,6,9,0,8,9,6,8,0,0,5,6,1,2,6,6,3,9,2,2,0,5,1,5,8 add $0,1 mov $3,$0 mu...
ada-synchronous_task_control-edf.ads
mgrojo/adalib
15
11780
<reponame>mgrojo/adalib<filename>ada-synchronous_task_control-edf.ads -- Standard Ada library specification -- Copyright (c) 2004-2016 AXE Consultants -- Copyright (c) 2004, 2005, 2006 Ada-Europe -- Copyright (c) 2000 The MITRE Corporation, Inc. -- Copyright (c) 1992, 1993, 1994, 1995 Intermetric...
archive/agda-3/src/Test/Thickandthin.agda
m0davis/oscar
0
9858
<reponame>m0davis/oscar open import Everything module Test.Thickandthin where module _ {x a b ℓb c ℓc} ⦃ _ : Thickandthin x a b ℓb c ℓc ⦄ where open Thickandthin ⦃ … ⦄ test-thin : 𝓽hin A B test-thin = thin test-check/thin=1 : 𝓬heck/thin=1 A B C _≈C_ test-check/thin=1 = check/thin=1 test-injectivity ...
libsrc/_DEVELOPMENT/alloc/obstack/c/sdcc_iy/obstack_int_grow_callee.asm
meesokim/z88dk
0
247716
; void *obstack_int_grow_callee(struct obstack *ob, int data) SECTION code_alloc_obstack PUBLIC _obstack_int_grow_callee _obstack_int_grow_callee: pop af pop hl pop bc push af INCLUDE "alloc/obstack/z80/asm_obstack_int_grow.asm"
programs/oeis/168/A168300.asm
neoneye/loda
22
93231
<filename>programs/oeis/168/A168300.asm ; A168300: a(n) = 6*n - a(n-1) - 2 with a(1)=5. ; 5,5,11,11,17,17,23,23,29,29,35,35,41,41,47,47,53,53,59,59,65,65,71,71,77,77,83,83,89,89,95,95,101,101,107,107,113,113,119,119,125,125,131,131,137,137,143,143,149,149,155,155,161,161,167,167,173,173,179,179,185,185,191,191,197,197,...
programs/oeis/035/A035340.asm
neoneye/loda
22
86419
<reponame>neoneye/loda ; A035340: 6th column of Wythoff array. ; 13,47,68,102,136,157,191,212,246,280,301,335,369,390,424,445,479,513,534,568,589,623,657,678,712,746,767,801,822,856,890,911,945,979,1000,1034,1055,1089,1123,1144,1178,1199,1233,1267,1288,1322,1356,1377,1411,1432,1466,1500,1521,1555,1576,1610,1644,1665,16...
tlsf/src/proof/model/tlsf-proof-model-context.adb
vasil-sd/ada-tlsf
3
28753
<filename>tlsf/src/proof/model/tlsf-proof-model-context.adb with System.Storage_Elements; with Ada.Containers.Formal_Hashed_Maps; package body TLSF.Proof.Model.Context With SPARK_Mode, Refined_State => (State => Block_Models) is package SSE renames System.Storage_Elements; package AC renames Ada.Containers; ...