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
Mid-Term/Solution/4.asm
AhnafNSU/CSE331L-Section-1-Fall20-NSU
0
13279
<filename>Mid-Term/Solution/4.asm .MODEL SMALL .STACK 100H .CODE MAIN PROC MOV BX,4 MOV CX,3 L1: PUSH CX MOV AH,2 L2: INT 21H LOOP L2 MOV CX,BX MOV DL,'*' L3: INT 21H LOOP L3 MOV AH,2 MOV DL,10 INT 21H MOV DL,13 INT 21H ...
components/src/touch_panel/ft5336/ft5336.adb
rocher/Ada_Drivers_Library
192
22492
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
Project/stackmachine/MVaP.g4
hanzopgp/CalcANTLR
0
2915
grammar MVaP; @header { import java.util.HashMap; } @members { /** La map pour mémoriser les addresses des étiquettes */ private HashMap<String, Integer> labels = new HashMap<String, Integer>(); /** adresse instruction */ private int instrAddress = 0; /** Récupère le dictionnaire des étiquett...
tests/simpleOO/src/dds-request_reply-tests-simple-driver.adb
persan/dds-requestreply
0
5572
------------------------------------------------------------------------------- -- -- This file is only for conviniece to be able to build and run with -- one click -- ------------------------------------------------------------------------------- with GNAT.OS_Lib; with Ada.Text_IO; use Ada.Text_IO; procedure DDS.Re...
programs/oeis/010/A010711.asm
neoneye/loda
22
25676
<filename>programs/oeis/010/A010711.asm ; A010711: Period 2: repeat (4,6). ; 4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4,6,4 mul $0,2 mod $0,4 add $0,4
models/mondex/b.als
transclosure/Amalgam
4
3581
<filename>models/mondex/b.als module mondex/b open mondex/cw as mondexCW open mondex/c as mondexC open mondex/common as mondexCOMMON fun allLogs (c : ConWorld) : ConPurse -> PayDetails { c.archive + (c.conAuthPurse <: exLog.c) } fun authenticFrom (c : ConWorld) : set TransferDetails { from.(c.conAuthPurse) }...
examples/BUG-THINGOUTOFCXT.agda
andreasabel/miniagda
85
1215
module Acc where data Acc ( A : Set ) ( Lt : A -> A -> Set) : A -> Set where acc : ( b : A ) -> ( ( a : A ) -> Lt a b -> Acc A Lt a ) -> ( Acc A Lt b ) data Nat : Set where zero : Nat succ : Nat -> Nat data Lt : Nat -> Nat -> Set where ltzero : ( x : Nat ) -> Lt zero (succ x) ltsucc...
examples/src/psenvpub.adb
sonneveld/adazmq
0
17634
-- Pubsub envelope publisher with Ada.Command_Line; with Ada.Text_IO; with GNAT.Formatted_String; with ZMQ; use type GNAT.Formatted_String.Formatted_String; procedure PSEnvPub is function Main return Ada.Command_Line.Exit_Status is -- Prepare our context and publisher Context : ZMQ.Context_Type...
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_805.asm
ljhsiun2/medusa
9
168990
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_805.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_A_ht+0x1d7d2, %rdi nop dec %r10 mov $0x6162636465666768, %rsi movq %rsi, %xmm0 movu...
oeis/106/A106515.asm
neoneye/loda-programs
11
243616
<gh_stars>10-100 ; A106515: A Fibonacci-Pell convolution. ; Submitted by <NAME> ; 1,2,6,15,38,94,231,564,1372,3329,8064,19512,47177,114010,275430,665247,1606534,3879302,9366735,22615356,54601628,131825377,318263328,768369744,1855031473,4478479058,10812064614,26102729679,63017720390,152138488270,367295211159,88672974262...
programs/oeis/157/A157652.asm
neoneye/loda
22
23069
; A157652: a(n) = 40*(200*n - 49). ; 6040,14040,22040,30040,38040,46040,54040,62040,70040,78040,86040,94040,102040,110040,118040,126040,134040,142040,150040,158040,166040,174040,182040,190040,198040,206040,214040,222040,230040,238040,246040,254040,262040,270040,278040,286040,294040,302040,310040,318040,326040,334040,34...
programs/oeis/286/A286584.asm
neoneye/loda
22
100012
; A286584: a(n) = A048673(n) mod 4. ; 1,2,3,1,0,0,2,2,1,3,3,3,1,1,2,1,2,2,0,0,0,0,3,0,1,2,3,2,0,1,3,2,1,1,3,1,1,3,3,3,2,3,0,3,0,0,3,3,1,2,0,1,2,0,2,1,2,3,3,2,2,0,2,1,0,2,0,2,1,0,1,2,0,2,3,0,0,0,2,0,1,1,1,0,3,3,2,0,1,3,2,3,1,0,1,0,3,2,3,1 seq $0,3961 ; Completely multiplicative with a(prime(k)) = prime(k+1). add $0,1 m...
zombie.asm
Ankitchan/xv6OS
0
96051
<gh_stars>0 _zombie: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(void) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 ...
core/src/main/antlr4/NumericExpression.g4
pantheon/pantheon
1
4709
grammar NumericExpression; fragment DIGIT : [0-9] ; NUMBER: MINUS? (DIGIT+('.' DIGIT+)?| DIGIT* '.' DIGIT+); PLUS:'+'; MINUS:'-'; DIVIDE: '/'; MULTIPLY: '*'; fragment LETTER : [a-zA-Z$_] // these are the "java letters" below 0x7F | ~[\u0000-\u007F\uD800-\uDBFF] // covers all characters above 0x7F which are ...
libsrc/_DEVELOPMENT/adt/b_vector/c/sdcc_iy/b_vector_clear.asm
meesokim/z88dk
0
177729
; void b_vector_clear(b_vector_t *v) SECTION code_adt_b_vector PUBLIC _b_vector_clear EXTERN _b_array_clear defc _b_vector_clear = _b_array_clear
libsrc/msx/msx_vread.asm
andydansby/z88dk-mk2
1
9091
; ; MSX specific routines ; ; GFX - a small graphics library ; Copyright (C) 2004 <NAME> ; ; extern void vread(unsigned int source, void* dest, unsigned int count); ; ; Transfer count bytes from VRAM to RAM ; ; $Id: msx_vread.asm,v 1.5 2009/06/22 21:44:17 dom Exp $ ; XLIB msx_vread LIB msxbios IF FORmsx ...
MP-CSE 4th Sem/10a.asm
MyCollegeForums/4thSemISE
0
94782
<reponame>MyCollegeForums/4thSemISE<filename>MP-CSE 4th Sem/10a.asm<gh_stars>0 PRESERVE8 THUMB AREA |.text|,CODE,READONLY EXPORT __main __main LDR R0,=0x20000000 LDR R1,=0x20000200 MOV R2,#0 swap LDRB R3,[R0,R2] STRB R3,[R1,R2] ADD R2,R2,#1 CMP R2,#10 BLT swap stop B stop END
U9200/CardFiles/Source/dp_test.asm
sboydlns/univacemulators
2
13403
*********************************************************** * * EXEC-1 tester * *********************************************************** E1TS START 0 USING *,0 DS 0H STRT EQU * * * Ask user for test number * LOOP MSG X'001',REPLY ...
source/adam-exception_handler.adb
charlie5/aIDE
3
27773
<reponame>charlie5/aIDE<gh_stars>1-10 with AdaM.Block, AdaM.Factory; package body AdaM.exception_Handler is -- Storage Pool -- record_Version : constant := 1; max_Exceptions : constant := 5_000; package Pool is new AdaM.Factory.Pools (".adam-store", ...
Pactor.g4
kstrempel/pactor
1
7777
grammar Pactor; program : using* create_words* (statement|quote|array|dictionary)* EOF ; using : 'USING:' packages+=WORD* ';' # createUsing ; create_words : ':' name=WORD '(' params_in+=WORD* '--' params_out+=WORD* ')' block ';' # createWord | '::' name=WORD '(' params_in+=WORD* '--' params_out+=WORD* ')' block...
core/lib/PathFunctor.agda
AntoineAllioux/HoTT-Agda
294
11188
{-# OPTIONS --without-K --rewriting #-} open import lib.Base open import lib.PathGroupoid module lib.PathFunctor where {- Nondependent stuff -} module _ {i j} {A : Type i} {B : Type j} (f : A → B) where !-ap : {x y : A} (p : x == y) → ! (ap f p) == ap f (! p) !-ap idp = idp ap-! : {x y : A} (p : x == y) ...
TP2/fun:average.asm
kuoa/assembly-misc
0
160257
<filename>TP2/fun:average.asm .data tab: .word 10, 20, 10, 10, -1 .text main: #prolog addiu $29, $29, -12 sw $31, 8($29) #body la $4, tab #&tab jal arimean or $4, $2, $0 #res ori $2, $0, 1 syscall #print rez ori $2, $0, 10 syscall #epilog lw $31, 8($29) addiu $29, $29, 12 jr $31 #########...
division.asm
SuiGeneris01/emu8086
3
81572
<filename>division.asm org 100h INCLUDE "EMU8086.INC" MOV DX, OFFSET MAIN MOV AH, 9 INT 21H MOV DX, OFFSET MSG1 MOV AH, 9 INT 21H CALL SCAN_NUM MOV RADIUS, CX MOV AX, NUM MUL RADIUS MUL RADIUS MUL RADIUS MOV DX, 0 DIV DEN ; ax = (dx ax) / DEN. LEA SI, MSG3 CALL PRINT_STRING CALL PRINT_NUM MOV AH, 0 CMP DX, ...
src/Polynomial/NormalForm/Operations.agda
mckeankylej/agda-ring-solver
36
849
{-# OPTIONS --without-K --safe #-} open import Polynomial.Parameters open import Algebra module Polynomial.NormalForm.Operations {a ℓ} (coeffs : RawCoeff a ℓ) where open import Polynomial.Exponentiation (RawCoeff.coeffs coeffs) open import Data.Nat as ℕ using (ℕ; suc; zero; compare) open import Data....
Driver/Printer/Fax/FaxPrint/faxprintDeviceInfo.asm
steakknife/pcgeos
504
175300
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994. All rights reserved. GEOWORKS CONFIDENTIAL PROJECT: Tiramisu MODULE: Fax 2.2 FILE: faxprintDeviceInfo.asm AUTHOR: <NAME>, Mar 10, 1993 ROUTINES: Name Description ---- ----------- ...
oeis/164/A164412.asm
neoneye/loda-programs
11
10241
; A164412: Number of binary strings of length n with no substrings equal to 0000 0001 or 0111. ; Submitted by <NAME>(s2) ; 13,22,37,60,98,160,259,420,681,1102,1784,2888,4673,7562,12237,19800,32038,51840,83879,135720,219601,355322,574924,930248,1505173,2435422,3940597,6376020,10316618,16692640,27009259,43701900,70711161...
Task/Variables/AppleScript/variables-4.applescript
LaudateCorpus1/RosettaCodeData
1
1197
<reponame>LaudateCorpus1/RosettaCodeData property x : 1
src/boot.asm
Qunapi/YesOS
6
9049
use16 org 0x7C00 LOAD_SEGMENT = 0x1010 FAT_SEGMENT = 0x0EE0 FAT_DATA_SEGMENT = 0x07E0 KERNEL_SEGMENT = 0x0900 main: jmp start bootsector: iOEM: db "YesOS " iSectSize: dw 0x200 iClustSize: db 1 iResSect: dw 1 iFatCnt: db 2 iRootSize: dw 224 iTotalSect: dw 2880 iMedia: ...
mc-sema/validator/x86_64/tests/UCOMISSrm.asm
randolphwong/mcsema
2
175866
BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; put 2 into ecx for future load into xmm0 mov ecx, 2 cvtsi2ss xmm0, ecx mov ecx, 0 cvtsi2ss xmm1, ecx ;TEST_BEGIN_RECORDING lea rcx, [rsp-4] movss [rcx], xmm1 ucomiss xmm0, [rcx] mov ecx, 0 ;TEST_END_RECORDING cvtsi2ss xmm0, ecx cv...
src/tests/bintoasc_suite-base16_tests.ads
jhumphry/Ada_BinToAsc
0
17071
<gh_stars>0 -- BinToAsc_Suite.Base16_Tests -- Unit tests for BinToAsc -- Copyright (c) 2015, <NAME> - see LICENSE file for details with AUnit; use AUnit; with AUnit.Test_Cases; use AUnit.Test_Cases; with RFC4648; with BinToAsc_Suite.Utils; package BinToAsc_Suite.Base16_Tests is Base16_Test_Vectors : constant T...
base/mvdm/wow16/kernel31/enable.asm
npocmaka/Windows-Server-2003
17
84177
<gh_stars>10-100 .xlist include kernel.inc include pdb.inc include tdb.inc include newexe.inc ifdef WOW include vint.inc endif .list externFP KillLibraries ifndef WOW externFP WriteOutProfiles endif DataBegin externB PhantArray externB kernel_flags externB fBreak externB fInt21 ifndef WOW e...
sources/webgl/opengl-renderbuffers.adb
godunko/adagl
6
19859
<filename>sources/webgl/opengl-renderbuffers.adb ------------------------------------------------------------------------------ -- -- -- Ada binding for OpenGL/WebGL -- -- ...
alloy4fun_models/trashltl/models/10/gERX6QizjaKwqZMCJ.als
Kaixi26/org.alloytools.alloy
0
3545
<reponame>Kaixi26/org.alloytools.alloy open main pred idgERX6QizjaKwqZMCJ_prop11 { after File in Protected' } pred __repair { idgERX6QizjaKwqZMCJ_prop11 } check __repair { idgERX6QizjaKwqZMCJ_prop11 <=> prop11o }
oeis/066/A066294.asm
neoneye/loda-programs
11
25006
; A066294: a(n) = A000203(n)^2 - A001157(n) - 2n = sigma(n)^2 - sigma_2(n) - 2n. ; Submitted by <NAME>(s3) ; -2,0,0,20,0,82,0,124,60,174,0,550,0,298,286,588,0,1030,0,1178,482,642,0,2702,260,862,726,2030,0,3824,0,2540,1018,1398,934,6298,0,1714,1358,5810,0,6632,0,4406,3628,2442,0,11870,700,5294,2182,5930,0,10192,1902,100...
src/test/resources/PolymorphicDslMinimalParser.g4
google/polymorphicDSL
3
3495
parser grammar PolymorphicDslMinimalParser; options {tokenVocab=MinimalLexer;} import MinimalParser; polymorphicDslAllRules: minimal ;
Transynther/x86/_processed/AVXALIGN/_ht_/i7-8650U_0xd2_notsx.log_21829_427.asm
ljhsiun2/medusa
9
26065
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x197e9, %r9 nop nop add %r11, %r11 mov (%r9), %ebp nop nop and %rcx, %rcx lea addresses_WC_ht+0x1cee9, %r15 nop nop nop inc %rdi mov $0x6162636465666768, %r12 movq %r12, %xmm0...
parser/src/main/antlr/com/github/bjansen/pebble/parser/PebbleParser.g4
lb321/pebble-intellij
0
6669
parser grammar PebbleParser; @header { package com.github.bjansen.pebble.parser; } @members { private void ideRecover(int ttype, String message) { CommonToken t = new CommonToken(ttype, message); _ctx.addErrorNode(t); } } // Use this when working with the IntelliJ plugin //options { tokenVocab=PebbleLexer;...
src/MLib/Finite.agda
bch29/agda-matrices
0
94
module MLib.Finite where open import MLib.Prelude import MLib.Fin.Parts as P import MLib.Fin.Parts.Simple as PS open import MLib.Prelude.RelProps open import Data.List.All as All using (All; []; _∷_) hiding (module All) open import Data.List.Any as Any using (Any; here; there) hiding (module Any) import Data.List.Mem...
programs/oeis/030/A030503.asm
karttu/loda
0
104129
; A030503: Graham-Sloane-type lower bound on the size of a ternary (n,3,3) constant-weight code. ; 2,4,8,13,19,27,36,46,58,71,85,101,118,136,156,177,199,223,248,274,302,331,361,393,426,460,496,533,571,611,652,694,738,783,829,877,926,976,1028,1081,1135,1191,1248,1306,1366,1427,1489,1553,1618 mov $1,$0 add $0,3 add $1,$...
Levels/Misc/Object pointers - SK Set 2.asm
NatsumiFox/AMPS-Sonic-3-Knuckles
5
98539
dc.l Obj_Ring ; 0 dc.l Obj_Monitor ; 1 dc.l Obj_PathSwap ; 2 dc.l Obj_03_2 ; 3 dc.l Obj_CollapsingPlatform ; 4 dc.l Obj_AIZLRZEMZRock ; 5 dc.l Obj_MHZPulleyLift ; 6 dc.l Obj_Spring ; 7 dc.l Obj_Spikes ; 8 dc.l Obj_MHZCurledVine ; 9 dc.l Obj_MHZStickyVine ; 10 dc.l Obj_MH...
src/main/antlr4/com/brennaswitzer/cookbook/antlr/Number.g4
switzerb/cookbook
0
5267
grammar Number; start : d=DASH? a=atom (AND b=atom)* ; atom : number | name | fraction ; number : i=integer (AND? f=fraction)? | d=decimal ; integer : INTEGER ; decimal : DECIMAL ; fraction : n=integer SLASH d=integer | ...
src/fot/FOTC/Relation/Binary/Bisimilarity/Consistency/Axioms.agda
asr/fotc
11
10002
------------------------------------------------------------------------------ -- Test the consistency of FOTC.Relation.Binary.Bisimilarity.Type ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIO...
TD6/Bool.agda
erwinkn/program-eq-proof
0
3458
<reponame>erwinkn/program-eq-proof {- 1. Booleans -} data Bool : Set where true : Bool false : Bool not : Bool → Bool not true = false not false = true _∧_ : Bool → Bool → Bool true ∧ true = true true ∧ false = false false ∧ true = false false ∧ false = false _∨_ : Bool → Bool → Bool true ∨ true = true true ∨ f...
src/test/resources/cpuTests/asmsrc/sub.asm
Sophos06/spice86
46
5470
use16 start: mov sp,160 ; sub word tests mov ax,00001h mov bx,00002h sub ax,bx mov word[0],ax mov word[2],bx pushf mov dx,0ffffh mov word[4],0ffffh sub word[4],dx mov word[6],dx pushf mov cx,0ffffh mov word[8],00001h sub cx,word[8] mov word[10],cx pushf mov ax,08000h sub ax,00001h mov word[12],ax pushf mov bp,080...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c54a42a.ada
best08618/asylo
7
9504
-- C54A42A.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...
test-code/tmp/GrammarProgram.g4
miho/VMF-Text-Tests
9
5167
grammar GrammarProgram; program: functions+=function* EOF; function: returnType=type name=IDENTIFIER '(' (arguments+=argument (',' arguments+=argument)*)? ')' '{' controlFlow=controlFlowScope '}' ; invocation: name=IDENTIFIER '(' ')' # methodInvocation | 'for' '(' condition=forC...
src/dnscatcher/dns/processor/packet/dnscatcher-dns-processor-packet.adb
DNSCatcher/DNSCatcher
4
9617
-- Copyright 2019 <NAME> <<EMAIL>> -- -- 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, including without limitation the -- rights to use, copy, modify, merge, publish, ...
shardingsphere-rdl-parser/shardingsphere-rdl-parser-sql/src/main/antlr4/imports/RDLStatement.g4
meiavy/sharding-jdbc
0
6165
<reponame>meiavy/sharding-jdbc<gh_stars>0 /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License...
libsrc/stdio/rcmx000/getk.asm
meesokim/z88dk
0
9398
<filename>libsrc/stdio/rcmx000/getk.asm ; ; RCM2/3000 Stdio ; ; $Id: getk.asm,v 1.2 2015/01/21 08:09:27 stefano Exp $ ; PUBLIC getk EXTERN rcmx000_cnvtab EXTERN __recvchar .getk ; extern int __LIB__ fgetc(FILE *fp); ; return result in HL, when done ; We ignore FILE* fp (in BC) for now call __recvchar ld...
projects/batfish/src/main/antlr4/org/batfish/grammar/arista/Arista_vlan.g4
ton31337/batfish
763
4769
<reponame>ton31337/batfish parser grammar Arista_vlan; import Legacy_common; options { tokenVocab = AristaLexer; } no_vlan: VLAN eos_vlan_id NEWLINE; s_vlan : VLAN eos_vlan_id NEWLINE vlan_inner* ; vlan_inner : vlan_default | vlan_name | vlan_no | vlan_state | vlan_trunk ; vlan_default : DEFA...
PIM/TD4_Constructeurs_de_Types/robot_type_1.adb
Hathoute/ENSEEIHT
1
25747
-- Score PIXAL le 07/10/2020 à 14:33 : 100% with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; procedure Robot_Type_1 is -- Direction type T_Direction is (NORD, EST, SUD, OUEST); -- Robot type 1 type T_Robot_1 is record Absc: Integer; ...
base/crts/fpw32/tran/i386/87ctrigh.asm
npocmaka/Windows-Server-2003
17
24971
page ,132 title 87ctrigh - C interfaces - sinh, cosh, tanh ;*** ;87ctrigh.asm - hyperbolic trig functions (8087/emulator version) ; ; Copyright (c) 1984-2001, Microsoft Corporation. All rights reserved. ; ;Purpose: ; C interfaces for sinh, cosh, tanh functions (8087/emulator version) ; ;Revision History...
tools/scitools/conf/understand/ada/ada05/a-cihama.ads
brucegua/moocos
1
4
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
jvm_demo/java/expression/antlr/practice_myself/src/main/java/com/hwloser/simple/predicate/SimplePredicate.g4
Hwloser/untitled
0
2912
<gh_stars>0 grammar SimplePredicate; expression : LPAREN expression RPAREN #parenExpression | NOT expression #notExpression | left=expression op=operator right=expression #operatorExpression | left=expression op=comparator right=expression #comparatorExpr...
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshr_py2saddr_fastcall.asm
jpoikela/z88dk
640
85516
; void *tshr_py2saddr(uchar y) SECTION code_clib SECTION code_arch PUBLIC _tshr_py2saddr_fastcall EXTERN _zx_py2saddr_fastcall defc _tshr_py2saddr_fastcall = _zx_py2saddr_fastcall
src/osascripts/messages-conversations.applescript
jokajak/ki
83
3815
<filename>src/osascripts/messages-conversations.applescript<gh_stars>10-100 -- AppleScript to fetch a list of Messages conversations -- The return value is a list of strings, each of the contact's name, last message, and time last sent tell application "System Events" set conversations to {} tell table 1 of scroll a...
src/unix/system_random.adb
AntonMeep/system_random
0
3479
<filename>src/unix/system_random.adb<gh_stars>0 pragma Ada_2012; package body System_Random is -- Underlying libc function function getentropy (buffer : out Element_Array; length : size_t) return int with Import => True, Convention => C, External_Name => "getentropy"; proced...
programs/oeis/094/A094977.asm
neoneye/loda
22
98248
; A094977: a(n) = floor(10^n/3^n). ; 1,3,11,37,123,411,1371,4572,15241,50805,169350,564502,1881676,6272254,20907515,69691719,232305731,774352437,2581174791,8603915972,28679719907,95599066359,318663554532,1062211848441,3540706161472,11802353871573,39341179571912,131137265239709,437124217465697,1457080724885658,485693574...
programs/oeis/094/A094988.asm
neoneye/loda
22
102297
; A094988: a(n) = floor(7^n/6^n). ; 1,1,1,1,1,2,2,2,3,4,4,5,6,7,8,10,11,13,16,18,21,25,29,34,40,47,55,64,74,87,101,118,138,161,188,220,257,299,349,408,476,555,648,756,882,1029,1201,1401,1634,1907,2225,2595,3028,3533,4122,4809,5610,6545,7636,8909,10394,12127,14148,16506,19257,22466,26211,30579,35676,41622,48559,56652,66...
Ada/challenge_399_easy.adb
PyllrNL/Dailyprogrammer_Solutions
0
3888
<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; procedure Challenge_399_Easy is function Letter_Sum( A : String ) return Integer is Base : constant Integer := (Character'pos('a') - 1); Sum : Integer := 0; begin for I in A'Range loop Sum := Sum + Character'pos(A(I)) - Base; ...
Data/List/Relation/Sublist/Proofs.agda
Lolirofle/stuff-in-agda
6
9210
import Lvl open import Type module Data.List.Relation.Sublist.Proofs {ℓ} {T : Type{ℓ}} where open import Data.Boolean import Data.Either as Either open import Data.List as List open import Data.List.Functions as List hiding (skip) open import Data.List.Proofs open import Data.List.Relation.Sublist open impo...
tools/uaflex/read_unicode.adb
faelys/gela-asis
4
29619
<gh_stars>1-10 ------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org ...
mac/app-scripts/url of Camino.scpt
albertz/foreground_app_info
2
4086
<filename>mac/app-scripts/url of Camino.scpt tell application "Camino" return URL of current tab of front browser window as text end tell
src/main/resources/Expr.g4
ghillert/antlr-demo
0
4965
grammar Expr; /* the grammar name and file name must match */ @header { package com.hillert.calculator.antlr; } // Start Variable prog: (decl | expr)+ EOF # Program ; decl: ID ':' INT_TYPE '=' NUM # Declaration ; /* ANTLR resolves ambiguities in favor of the alternative given first */ expr: expr '...
programs/oeis/099/A099921.asm
karttu/loda
0
168320
<reponame>karttu/loda ; A099921: a(n) = 5*Fibonacci(n)^2. ; 5,5,20,45,125,320,845,2205,5780,15125,39605,103680,271445,710645,1860500,4870845,12752045,33385280,87403805,228826125,599074580,1568397605,4106118245,10749957120,28143753125,73681302245,192900153620,505019158605,1322157322205,3461452808000,9062201101805,237251...
oeis/093/A093275.asm
neoneye/loda-programs
11
23073
; A093275: a(n) is the largest number such that all of a(n)'s length-n substrings are distinct and divisible by 75. ; Submitted by <NAME>(s2) ; 0,75,9750,997500,99975000,9999750000,999997500000,99999975000000,9999999750000000,999999997500000000,99999999975000000000,9999999999750000000000,999999999997500000000000,999999...
ShExDoc.g4
shexSpec/grammar
3
4874
// ANTLR4 Equivalent of accompanying bnf, developed in // http://www.w3.org/2005/01/yacker/uploads/ShEx3 // Updated to Jul 27 AM ShEx3 // Updated to Aug 23 AM ShEx3 (last change was EGP 20150820) // Sept 21 AM disallow single internal unary (e.g. {(:p .{2}){3}} // Change (non-standard) "codeLabel" to "produc...
src/Parsers/XML/project_processor-parsers-xml_parsers-basic_parsers.ads
fintatarta/eugen
0
15421
<filename>src/Parsers/XML/project_processor-parsers-xml_parsers-basic_parsers.ads with DOM.Core; private package Project_Processor.Parsers.XML_Parsers.Basic_Parsers is function Expect_ID (N : DOM.Core.Node; Name : String := "label") return EU_Projects.Dotted_Identif...
8086/3conver/bcd2hex.asm
iamvk1437k/mpmc
1
169601
<gh_stars>1-10 org 100h MOV AL, [1200] ; initialize AL with memory offset 1200 MOV AL,30h ; load the value in AL MOV AH,AL ; move the content of al to ah AND AH,0Fh ; AND 0Fh with AH MOV BL, AH ; move the content of AH to BL AND AL,0F0h ; AND F0h with AL MOV CL,04 ; load CL with 4...
test/Succeed/Lambda.agda
redfish64/autonomic-agda
3
9356
{-# OPTIONS --no-termination-check #-} module Lambda where module Prelude where data Bool : Set where true : Bool false : Bool if_then_else_ : {A : Set} -> Bool -> A -> A -> A if true then x else y = x if false then x else y = y _∧_ : Bool -> Bool -> Bool true ∧ y = y false ∧ y = false ...
flame32-libs/unit-tests/test-mul-1.asm
drako0812/flame32
2
90889
#include "../../flame32.asm" ; Tests MUL lod 2 ldl B, 3 mul A, B
programs/oeis/176/A176631.asm
neoneye/loda
22
8003
; A176631: Triangle T(n, k) = 22^(k*(n-k)), read by rows. ; 1,1,1,1,22,1,1,484,484,1,1,10648,234256,10648,1,1,234256,113379904,113379904,234256,1,1,5153632,54875873536,1207269217792,54875873536,5153632,1,1,113379904,26559922791424,12855002631049216,12855002631049216,26559922791424,113379904,1 seq $0,4247 ; Multiplicat...
src/fot/FOTC/Program/Collatz/PropertiesATP.agda
asr/fotc
11
6895
<gh_stars>10-100 ------------------------------------------------------------------------------ -- Properties of the Collatz function ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-uni...
src/_for_debug_purposes/apsepp-debug_trace_class-output.ads
thierr26/ada-apsepp
0
28353
<filename>src/_for_debug_purposes/apsepp-debug_trace_class-output.ads -- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Apsepp.Debug_Trace_Class.Stub; use Apsepp.Debug_Trace_Class.Stub; package Apsepp.Debug_Trace_Class.Output is -- TODOC: Not implemented as a protected ...
2011400_NguyenTuanKiet_Lab1/bt3.asm
alumica/KTMT
0
163311
<reponame>alumica/KTMT .model small .stack 100h .data tb1 db "Hay nhap mot ky tu: $" tb2 db 0Dh, 0Ah, "Ky tu dung truoc: $" tb3 db 0Dh, 0Ah, "Ky tu dung sau: $" kt db ? .code main proc mov ax, @data mov ds, ax lea dx, tb1 mov ah, 9 int ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_oconst.adb
best08618/asylo
7
13545
<reponame>best08618/asylo -- { dg-do run } with OCONST1, OCONST2, OCONST3, OCONST4, OCONST5; procedure Test_Oconst is begin OCONST1.check (OCONST1.My_R); OCONST2.check (OCONST2.My_R); OCONST3.check (OCONST3.My_R); OCONST4.check (OCONST4.My_R); OCONST5.check (OCONST5.My_R0, 0); OCONST5.check (OCONST5.My_R...
src/tcg-tilesets.ads
Fabien-Chouteau/tiled-code-gen
1
18835
<filename>src/tcg-tilesets.ads<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- tiled-code-gen -- -- ...
src/test_led_rt.adb
JCGobbi/Nucleo-STM32G474RE
0
1361
with Ada.Real_Time; use Ada.Real_Time; with STM_Board; use STM_Board; procedure Test_LED_RT is -- This demonstration program only initializes the GPIOs and flash a LED -- with Ada.Real_Time. There is no initialization for PWM, ADC and timer. begin -- Initialize GPIO ports Initialize_GPIO; -- E...
programs/oeis/169/A169831.asm
neoneye/loda
22
170158
; A169831: a(n) = 5*2^(n+1) - 3*(n+3). ; 1,8,25,62,139,296,613,1250,2527,5084,10201,20438,40915,81872,163789,327626,655303,1310660,2621377,5242814,10485691,20971448,41942965,83886002,167772079,335544236,671088553,1342177190,2684354467,5368709024,10737418141,21474836378,42949672855,85899345812,171798691729,343597383566,...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_626.asm
ljhsiun2/medusa
9
165279
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r14 push %r8 push %r9 push %rcx push %rdi push %rsi // Store lea addresses_UC+0x11bcb, %rdi nop nop nop xor $22035, %r14 movl $0x51525354, (%rdi) add %rdi, %rdi // Faulty Load lea addresses_UC+0x129cb, %r9 nop n...
src/matharray.adb
kevinrosalesdev/MathArray-FormalVerification
2
27137
<reponame>kevinrosalesdev/MathArray-FormalVerification<filename>src/matharray.adb with Ada.Text_IO; use Ada.Text_IO; with Ada.Numerics.Elementary_Functions; package body MathArray with SPARK_Mode => On is function midpoint (point1 : vec; point2 : vec) return vec is result:vec (point1'Range):= (others => 0); ...
12_8BitMultiplication.asm
furkanisitan/ExampleProgramsFor8085Microprocessor
0
99604
MVI B, 14 ; B=14 MVI C, 9 ; C=9 LXI H, 0 ; HL=0 MOV E, B ; DE=B(14) LOOP: DAD D ; HL+=DE DCR C ; C-=1 JNZ LOOP ; 0 değilse atla HLT ; B ve C deki iki sayıyı çarpar, sonucu HL de tutar
kernel/kernel_entry.asm
sreejithnt/os
0
177959
<reponame>sreejithnt/os [bits 32] ; by the time we reach here it will be in 32-bit protected mode [extern main] ; define the external symbol (main here) to look for call main ; make a call to main, thus landing in the correct ; place in kernel jmp $
gfx/pokemon/krabby/anim.asm
Dev727/ancientplatinum
28
244113
<gh_stars>10-100 frame 5, 18 frame 0, 06 setrepeat 2 frame 0, 06 frame 1, 04 frame 2, 03 frame 3, 04 frame 4, 03 dorepeat 3 endanim
src/frontend/Experimental_Ada_ROSE_Connection/parser/lal_adapter/source/lal_adapter-context.adb
ouankou/rose
488
13209
<filename>src/frontend/Experimental_Ada_ROSE_Connection/parser/lal_adapter/source/lal_adapter-context.adb with GNAT.Directory_Operations; with GNATCOLL.Projects; with GNATCOLL.VFS; with Libadalang.Project_Provider; with Generic_Logging; with Lal_Adapter.Unit; package body Lal_Adapter.Context is -- Raises Interna...
x86_assembly/tests/protect.asm
erhu666/computer
117
170831
[bits 32] extern exit section .text global main main: ; mov eax, cr0; 寄存器的保护 ; in al, 0x92; push 0 call exit
UNIT_TESTS/global_001.adb
io7m/coreland-openal-ada
1
7514
with Ada.Text_IO; with OpenAL.Context.Error; with OpenAL.Error; with OpenAL.Context; with OpenAL.Global; with Test; procedure global_001 is package ALC renames OpenAL.Context; package ALC_Error renames OpenAL.Context.Error; package AL_Error renames OpenAL.Error; Device : ALC.Device_t; Context : ALC....
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0xca.log_21829_460.asm
ljhsiun2/medusa
9
86143
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x165b9, %rsi lea addresses_A_ht+0x13195, %rdi nop nop nop nop nop inc %rbp mov $123, %rcx rep movsw nop nop sub $3315, %r8 lea addresses_UC_ht+0x6b43, %rbx sub $52022, %r9 vmovu...
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_size.asm
teknoplop/z88dk
8
91137
; size_t p_forward_list_size(p_forward_list_t *list) SECTION code_clib SECTION code_adt_p_forward_list PUBLIC p_forward_list_size EXTERN asm_p_forward_list_size defc p_forward_list_size = asm_p_forward_list_size
mc-sema/validator/x86/tests/FCHS.asm
randolphwong/mcsema
2
90413
<reponame>randolphwong/mcsema<filename>mc-sema/validator/x86/tests/FCHS.asm BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END FLDPI ;TEST_BEGIN_RECORDING FCHS ;TEST_END_RECORDING
Driver/Printer/HP/Dj500c/dj500cDriverInfo.asm
steakknife/pcgeos
504
16642
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Deskjet CMY printer driver FILE: dj500cDriverInfo.asm AUTHOR: <NAME>, 27 Feb 1990 REVISION HISTORY: Name Date Description ---- --...
src/ada/src/common_formal_containers.ads
pat-rogers/OpenUxAS
0
6856
<filename>src/ada/src/common_formal_containers.ads with Ada.Containers.Formal_Vectors; -- with Ada.Containers.Formal_Hashed_Sets; with Ada.Containers.Formal_Ordered_Sets; with AVTAS.LMCP.Types; use AVTAS.LMCP.Types; package Common_Formal_Containers with SPARK_Mode is package Int64_Vects is new Ada.Containers.For...
gwnum/hyperhlp.asm
Kasual/GIMPS
0
170671
; Copyright 2018 Mersenne Research, Inc. All rights reserved ; Author: <NAME> ; Email: <EMAIL> ; ; Helper routines for hyperthread prefetching ; TITLE hyperhlp IFNDEF X86_64 .686 .XMM .MODEL FLAT ENDIF INCLUDE unravel.mac _TEXT SEGMENT ;; Utility routines to help with hyperthread prefetching ; prefetchL2 ...
agda/course/2017-conor_mcbride_cs410/CS410-17-master/lectures/Lec1Done.agda
haroldcarr/learn-haskell-coq-ml-etc
36
3384
module Lec1Done where -- the -- mark introduces a "comment to end of line" ------------------------------------------------------------------------------ -- some basic "logical" types ------------------------------------------------------------------------------ data Zero : Set where -- to give a value in a data,...
programs/oeis/083/A083585.asm
jmorken/loda
1
171144
<reponame>jmorken/loda ; A083585: (8*5^n - 5*2^n)/3. ; 1,10,60,320,1640,8280,41560,208120,1041240,5207480,26039960,130204920,651034840,3255194680,16276014360,81380153720,406900932440,2034504989880,10172525604760,50862629334520,254313149294040 mov $1,1 mov $2,1 lpb $0 sub $0,1 mov $3,$1 add $1,3 sub $1,$2 mul...
libsrc/_DEVELOPMENT/adt/w_array/c/sccz80/w_array_at_callee.asm
teknoplop/z88dk
8
19152
<reponame>teknoplop/z88dk<filename>libsrc/_DEVELOPMENT/adt/w_array/c/sccz80/w_array_at_callee.asm ; void *w_array_at(w_array_t *a, size_t idx) SECTION code_clib SECTION code_adt_w_array PUBLIC w_array_at_callee EXTERN asm_w_array_at w_array_at_callee: pop hl pop bc ex (sp),hl jp asm_w_array_at
9 Division.asm
jpsxlr8/Microprocessor-Lab
0
8705
; Division of two 8-bit numbers ; can be done by repeated subtraction ; First Number: HL : 0250H = 125 = 0111 1101 ; Second Number: BC : 0251H = 004 = 0000 0100 ; result : 0260H = 031 = 0001 1111 ; 0261H = 001 = 0000 0001 MVI C, 00H ;initialise quotient LDA 0251H MOV B, A ;taking divisor...
agda/book/Programming_Language_Foundations_in_Agda/x03relations.agda
haroldcarr/learn-haskell-coq-ml-etc
36
14356
<reponame>haroldcarr/learn-haskell-coq-ml-etc<gh_stars>10-100 module x03relations where import Relation.Binary.PropositionalEquality as Eq open Eq using (_≡_; refl; cong; sym) open import Data.Nat using (ℕ; zero; suc; _+_; _*_) open import Data.Nat.Properties using (+-comm; +-id...
programs/oeis/083/A083076.asm
neoneye/loda
22
93456
; A083076: Third row of number array A083075. ; 1,5,33,229,1601,11205,78433,549029,3843201,26902405,188316833,1318217829,9227524801,64592673605,452148715233,3165041006629,22155287046401,155087009324805,1085609065273633,7599263456915429,53194844198408001,372363909388856005,2606547365721992033,18245831560053944229,127720...
MD407/Kap2/uppgift2.8.asm
konglobemeralt/DAT017
0
102322
<filename>MD407/Kap2/uppgift2.8.asm<gh_stars>0 @ @ mom7.asm @ start: @init port D och E som utportar LDR R6, =0X55555555 LDR R5, =0X40020C00 STR R6, [R5] LDR R5, =0X40021000 STR R6, [R5] @Adressen till port Ds ut data register till R5 LDR R5, =0X40020C14 @Adressen till port Es ut data register till R6 LDR R6,...