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
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3016f.ada
best08618/asylo
7
28550
<reponame>best08618/asylo -- CC3016F.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 contai...
src/dql/DqlParser.g4
guneysus/predicate-builder
1
239
parser grammar DqlParser ; options { tokenVocab=DqlLexer; } startRule : selectAllFromTable ; selectAllFromTable: SELECT ALL FROM TABLE_NAME SEMI_COLON ;
examples/simulator/src/gdb_remote.ads
Fabien-Chouteau/libriscv
0
26102
with Interfaces; use Interfaces; private with ESF; package GDB_Remote is type Packet_Kind is (Bad_Packet, Unknown_Packet, General_Query, Must_Reply_Empty, Set_Thread, Question_Halt, Read_General...
Assembly/mimic_fixes.asm
CaitSith2/Enemizer
2
84883
<filename>Assembly/mimic_fixes.asm ; replace SpritePrep_Eyegore if flag is on SpritePrep_EyegoreNew: { LDA !ENABLE_MIMIC_OVERRIDE : BNE .new ; old JSL SpritePrep_Eyegore RTL .new LDA $0E20, X : CMP.b #$B8 : BEQ .mimic ;If sprite id == debugger sprite JSL $1EC71A ; 0xF471A se...
kv-avm-executable_lists.ads
davidkristola/vole
4
29814
with kv.avm.Control; with kv.avm.Executables; with kv.avm.Actor_References; package kv.avm.Executable_Lists is type Cursor_Type is new Natural; subtype Index_Type is Cursor_Type range 1 .. Cursor_Type'LAST; type Executable_Handle_Type is tagged private; type Executable_Handle_Access is access Executable...
examples/utils/keyboard.adb
Fabien-Chouteau/GESTE
13
6323
<gh_stars>10-100 with Interfaces.C; use Interfaces.C; with SDL_SDL_events_h; use SDL_SDL_events_h; with SDL_SDL_keysym_h; use SDL_SDL_keysym_h; package body Keyboard is Is_Pressed : array (Key_Kind) of Boolean := (others => False); ------------ -- Update -- ------------ procedure Update is ...
third_party/antlr_grammars_v4/oberon/oberon.g4
mikhan808/rsyntaxtextarea-antlr4-extension
2
650
/* BSD License Copyright (c) 2020, <NAME> 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. Redistributions of source code must retain the above copyright notice, this list of conditions and the fo...
programs/oeis/184/A184583.asm
neoneye/loda
22
171295
<filename>programs/oeis/184/A184583.asm ; A184583: floor[(n-1/5)(1+r)], where r=(1+sqrt(5))/2; complement of A184582. ; 2,4,7,9,12,15,17,20,23,25,28,30,33,36,38,41,43,46,49,51,54,57,59,62,64,67,70,72,75,78,80,83,85,88,91,93,96,98,101,104,106,109,112,114,117,119,122,125,127,130,132,135,138,140,143,146,148,151,153,156,15...
src/Data/List/Prefix.agda
metaborg/mj.agda
10
17331
module Data.List.Prefix where open import Level open import Data.Nat open import Data.List open import Data.List.At open import Data.List.Membership.Propositional open import Data.List.Relation.Unary.Any hiding (map) open import Data.List.Relation.Binary.Pointwise as P hiding (refl; map) open import Relation.Binary op...
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_74_2320.asm
ljhsiun2/medusa
9
244633
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %rdx lea addresses_normal_ht+0x88de, %rdx nop nop nop nop nop sub $16173, %r10 mov $0x6162636465666768, %r11 movq %r11, %xmm6 vmovups %ymm6, (%rdx) xor $6048, %r8 pop %rdx pop %r8 pop %r11 pop %r10 ret .global ...
Scripts Pack Source Items/Scripts Pack/Core Components/Switch User (Login Window).applescript
Phorofor/ScriptsPack.macOS
1
3741
# Scripts Pack - Tweak various preference variables in macOS # <Phorofor, https://github.com/Phorofor/> -- Allows the user to switch user accounts without having to close running applications. -- Fast User Switching -- For best performance on computers without very powerful hardware please make sure that you close pr...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt18.adb
best08618/asylo
7
20310
<reponame>best08618/asylo -- { dg-do compile } -- { dg-options "-O3" } with Opt18_Pkg; use Opt18_Pkg; package body Opt18 is function Mag (Item : in Cart_Vector_Type) return Float is begin return Sqrt (Item (X) * Item (X) + Item (Y) * Item (Y) + Item (Z) * Item (Z)); end; functio...
modules/simpleRender/SimpleRender.asm
jaredwhitney/os3
5
9723
<filename>modules/simpleRender/SimpleRender.asm Point2D_x equ 0 Point2D_y equ 4 Point_x equ 0 Point_y equ 4 Point_z equ 8 SimpleRender.init : pusha push dword SimpleRender.COMMAND_RUN call iConsole2.RegisterCommand popa ret SimpleRender.trinumber : dd 0x8 SimpleRender.tridata : dd -100, -100, 500 ; tr...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/taft_type2.adb
best08618/asylo
7
26145
-- { dg-do compile } -- { dg-options "-g" } with Taft_Type2_Pkg; use Taft_Type2_Pkg; package body Taft_Type2 is procedure Proc is A : T; function F return T is My_T : T; begin My_T := Open; return My_T; end; begin A := F; end; end Taft_Type2;
dsl/antlr/Examples/CSV.g4
y2ghost/study
0
7263
<reponame>y2ghost/study<gh_stars>0 grammar CSV; file: hdr row+; hdr: row; row: field (',' field)* '\r'? '\n'; field : TEXT | STRING | ; TEXT: ~[,\n\r"]+ ; STRING: '"' ('""'|~'"')* '"';
euler13.adb
kimtg/euler-ada
7
25942
<filename>euler13.adb with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; procedure Euler13 is function To_Integer(C : Character) return Integer is (Character'Pos(C) - Character'Pos('0')); function Digit(A : String; D : Positive) return Natural is begin if D in ...
src/main/antlr4/naipmoro/gramm/MM.g4
naipmoro/gramm
0
4887
<gh_stars>0 grammar MM ; db : stat* EOF ; stat : (axiom | theorem | comment | constStat | varStat | disjointStat | varTypeHyp | logicalHyp | scopeStat | includeStat) ; scopeStat : '${' stat* '$}' ; includeStat : '$[' comment* includeFile comment* '$]' ; includeFile : L...
test/Succeed/Issue1821.agda
shlevy/agda
3
807
-- Andreas, 2016-04-14 Issue 1821 -- pts rule for SizeUniv not implemented properly open import Common.Size open import Common.Equality record Reveal_·_is_ {A : Set} {B : A → Set} (f : (x : A) → B x) (x : A) (y : B x) : Set where constructor [_] field eq : f x ≡ y inspect...
tests/src/test_string_utils.adb
TNO/Rejuvenation-Ada
0
15288
with Ada.Strings.Fixed; use Ada.Strings.Fixed; with AUnit.Assertions; use AUnit.Assertions; with Rejuvenation.String_Utils; use Rejuvenation.String_Utils; package body Test_String_Utils is Prefix : constant String := "Prefix"; New_Prefix : constant String := "New_Prefix"; Remainder : co...
test/interaction/Issue2493.agda
cruhland/agda
1,989
12961
<filename>test/interaction/Issue2493.agda -- Andreas, 2017-03-10, issue #2493, reported by nad -- {-# OPTIONS -v tc.meta.assign:10 -v tc.size:90 -v tc:30 #-} A : Set A = {!!} P : A → Set P = {!λ _ → ?!} -- give -- Giving this made Agda loop as it solved ?0 := A. -- Solution: don't assign metas during CheckInternal!...
programs/oeis/069/A069403.asm
neoneye/loda
22
97133
<filename>programs/oeis/069/A069403.asm ; A069403: a(n) = 2*Fibonacci(2*n+1) - 1. ; 1,3,9,25,67,177,465,1219,3193,8361,21891,57313,150049,392835,1028457,2692537,7049155,18454929,48315633,126491971,331160281,866988873,2269806339,5942430145,15557484097,40730022147,106632582345,279167724889,730870592323,1913444052081,5009...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_653.asm
ljhsiun2/medusa
9
174828
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_653.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xbea6, %rsi lea addresses_WT_ht+0x17a3e, %rdi nop nop nop nop and $27892, %r12 mov $97, %...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_975.asm
ljhsiun2/medusa
9
5116
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x194b2, %rsi lea addresses_normal_ht+0x1ee1e, %rdi cmp %r13, %r13 mov $103, %rcx rep movsq nop nop sub %r10, %r10 lea addresses_normal_ht+0x18f32, %r14 nop nop nop nop su...
regtests/el-expressions-tests.adb
Letractively/ada-el
0
27347
----------------------------------------------------------------------- -- EL testsuite - EL Testsuite -- Copyright (C) 2009, 2010, 2011, 2012, 2013 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the...
programs/oeis/192/A192976.asm
karttu/loda
0
176562
<gh_stars>0 ; A192976: Coefficient of x in the reduction by x^2 -> x+1 of the polynomial p(n,x) defined at Comments. ; 0,1,2,10,29,70,148,289,534,950,1645,2794,4680,7761,12778,20930,34157,55598,90332,146577,237630,385006,623517,1009490,1634064,2644705,4280018,6926074,11207549,18135190,29344420,47481409,76827750,1243112...
oeis/184/A184044.asm
neoneye/loda-programs
11
104997
; A184044: 1/9 the number of (n+1) X 6 0..2 arrays with all 2 X 2 subblocks having the same four values. ; Submitted by <NAME> ; 81,87,97,117,153,225,361,633,1161,2217,4297,8457,16713,33225,66121,131913,263241,525897,1050697,2100297,4198473,8394825,16785481,33566793,67125321,134242377,268468297,536920137,1073807433,214...
llvm/test/tools/llvm-ml/feat00.asm
mkinsner/llvm
2,338
1892
; RUN: llvm-ml -m32 %s /Fo - | llvm-readobj --syms - | FileCheck %s --check-prefix=CHECK-OBJ --check-prefix=CHECK-OBJ-NOSAFESEH ; RUN: llvm-ml -m64 %s /Fo - | llvm-readobj --syms - | FileCheck %s --check-prefix=CHECK-OBJ --check-prefix=CHECK-OBJ-NOSAFESEH ; RUN: llvm-ml -m32 -safeseh %s /Fo - | llvm-readobj --syms - |...
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-exstat.adb
JCGobbi/Nucleo-STM32G474RE
0
23414
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
day17/src/day.adb
jwarwick/aoc_2020
3
18828
<filename>day17/src/day.adb<gh_stars>1-10 -- AoC 2020, Day 17 with Ada.Text_IO; package body Day is package TIO renames Ada.Text_IO; function location_hash(key : in Location) return Hash_Type is begin return Hash_Type(abs((key.x * 137) + (key.y * 149) + (key.z * 163) + (key.w * 13))); end location_hash; ...
data/github.com/xorpd/asm_prog_ex/90cd6c43921349330b6b44ae19e162b08524c1c1/4_basic_assembly/0_branching/4_structured_branching/answers/2_write_code/0.asm
ajnavarro/language-dataset
9
241141
<gh_stars>1-10 ; 0. Write a program that takes the number n as input. Then it prints all the ; numbers x below n that have exactly 2 different integral divisors (Besides 1 ; and x). ; ; For example: 15 is such a number. It is divisible by 1,3,5,15. (Here 3 and 5 ; are the two different divisiors, besides 1 ...
rom0/reportz.asm
nagydani/zx-rom-mods
15
25070
REPORT: CP MAX_ERR JR C,REPORTZ SUB $81 LD (ERR_NR),A EX DE,HL REPORTL:LD A,(DE) ; Find end of command line INC DE CP $80 JR Z,MESSAGE CP $0E JR NZ,REPORTL INC DE INC DE INC DE INC DE INC DE JR REPORTL STDERR_MSG: XOR A PUSH DE RST $30 DEFW L1601 POP DE JR MESSAGE REPORTZ:SUB $1C LD B,A INC B ...
Framework/trackmo/framework/partlauncher.asm
kosmonautdnb/TheLandsOfZador
0
4751
launchpart SUBROUTINE ; ; ; quelle ; clc ; lda load_start ; sta .reloc_addr1+1 ; sta .reloc_addr2+1 ; adc #$02 ; sta .copysrc+1 ; lda load_start+1 ; sta .reloc_addr1+2 ; sta .reloc_addr2+2 ; adc #$00 ; sta .copysrc+2 ; ; ; ziel mit "safety-offset", exomizer will das so ; ldx #$00 ; sec ;.reloc_addr1 ; lda $1234,x ;...
examples/uptodate/C.agda
cruhland/agda
1,989
10651
<gh_stars>1000+ -- This module contains various line-ending characters in order -- to test that they don't affect module source hash calculation. module C where -- CR -- -- -- LF -- -- -- CRLF -- -- -- LFCR -- -- -- FF -- -- -- NEXT LINE --…-- -- LINE SEPARATOR --
-- -- PARAGRAPH SEPARATOR --
--
oeis/024/A024903.asm
neoneye/loda-programs
11
14346
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A024903: Numbers k such that 7*k - 4 is prime. ; Submitted by <NAME>(s4) ; 1,3,5,9,11,15,23,29,33,35,39,41,45,51,53,59,69,75,81,83,89,93,95,111,113,119,123,135,141,143,149,159,161,165,171,179,183,185,189,195,209,213,221,225,231,233,239,243,251,261,269,273,279,299,305,32...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35a05d.ada
best08618/asylo
7
14057
-- C35A05D.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...
src/Control/Monad/State.agda
L-TChen/agda-prelude
111
6095
<filename>src/Control/Monad/State.agda module Control.Monad.State where open import Prelude open import Control.Monad.Zero open import Control.Monad.Identity open import Control.Monad.Transformer record StateT {a} (S : Set a) (M : Set a → Set a) (A : Set a) : Set a where no-eta-equality constructor stateT fiel...
alloy4fun_models/trashltl/models/17/qibeEAzYyikrNrE5s.als
Kaixi26/org.alloytools.alloy
0
4495
open main pred idqibeEAzYyikrNrE5s_prop18 { all f : Protected | always (f not in Protected since f in Trash) } pred __repair { idqibeEAzYyikrNrE5s_prop18 } check __repair { idqibeEAzYyikrNrE5s_prop18 <=> prop18o }
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-memory.adb
JCGobbi/Nucleo-STM32G474RE
0
10162
<gh_stars>0 ------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- ...
programs/oeis/206/A206373.asm
karttu/loda
1
92036
<reponame>karttu/loda ; A206373: (14*4^n + 1)/3. ; 5,19,75,299,1195,4779,19115,76459,305835,1223339,4893355,19573419,78293675,313174699,1252698795,5010795179,20043180715,80172722859,320690891435,1282763565739,5131054262955,20524217051819,82096868207275,328387472829099,1313549891316395 mov $1,4 pow $1,$0 div $1,3 mul $...
programs/oeis/036/A036918.asm
neoneye/loda
22
21670
; A036918: a(n) = floor(e*(n-1)*(n-1)!)). ; 0,2,10,48,260,1630,11742,95900,876808,8877690,98641010,1193556232,15624736140,220048367318,3317652307270,53319412081140,909984632851472,16436597430879730,313262209859119578,6282647653285676000 sub $1,$0 mov $2,$0 lpb $2 mul $1,$2 sub $0,$1 sub $2,1 lpe
Cubical/Algebra/Group/Action.agda
Schippmunk/cubical
0
327
<gh_stars>0 {-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Algebra.Group.Action where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.HLevels open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.Structure open impo...
programs/oeis/066/A066665.asm
neoneye/loda
22
178086
; A066665: a(n) = #{(x,y) | 0<=y<=x<=n and x+y is prime}. ; 1,3,5,7,9,11,14,16,19,23,27,31,35,38,42,47,52,56,61,65,70,76,82,88,94,100,107,114,121,128,136,143,150,158,166,175,185,194,203,213,223,233,243,252,262,272,282,291,301,311,322,334,346 mov $2,$0 add $2,1 mov $3,$0 lpb $2 mov $0,$3 sub $2,1 sub $0,$2 seq ...
src/tests/norx_check_padding.adb
jhumphry/SPARK_NORX
9
27521
<filename>src/tests/norx_check_padding.adb -- NORX_Check_Padding -- Ensure that headers and trailers of different lengths are accepted -- and messages of different lengths correctly decrypted (to check padding) -- Copyright (c) 2016, <NAME> - see LICENSE file for details with Ada.Text_IO; use Ada.Text_IO; with Test...
source/lexer/webidl-tokens.ads
reznikmm/webidl
0
11789
-- SPDX-FileCopyrightText: 2010-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with League.Strings; package WebIDL.Tokens is pragma Preelaborate; type Token_Kind is ('(', ')', ',', '-', '.', ':', ';', '<', '=', '>', ...
tests/src/reference_qoi.adb
joffreyhuguet/qoi-ada
7
23545
with System; use System; with Interfaces.C; use Interfaces.C; with Ada.Text_IO; use Ada.Text_IO; package body Reference_QOI is ------------------ -- Check_Encode -- ------------------ function Check_Encode (Pix : Storage_Array; Desc : QOI.QOI_Desc; ...
examples/outdated-and-incorrect/Alonzo/PreludeShow.agda
asr/agda-kanso
1
14002
module PreludeShow where import RTP -- magic module import AlonzoPrelude as Prelude open import PreludeNat open import PreludeString import PreludeList open import PreludeBool open Prelude -- open Data.Integer, using (Int, pos, neg) open PreludeList hiding (_++_) showInt : Int -> String showInt = RTP.primShowInt ...
oeis/115/A115048.asm
neoneye/loda-programs
11
95753
<reponame>neoneye/loda-programs ; A115048: Count backwards from 100 in steps modulo n. ; Submitted by <NAME> ; 100,100,99,96,95,90,84,80,72,70,66,60,52,42,30,16,0 mov $1,100 mov $2,1 lpb $0 mov $3,$2 add $2,1 lpb $3 gcd $4,$2 div $1,$4 mov $3,$5 lpe sub $0,1 mul $1,$2 cmp $4,$5 lpe mov $0,$1
stage2/graphics_line_bresenham.asm
amrwc/8086-graphics
5
86857
<filename>stage2/graphics_line_bresenham.asm ; 8086 Assembly Bresenham’s line drawing algorithm implementation. ; Pseudo-code: ; ; function drawLine(x0, y0, x1, y1, colour) ; dx = abs(x1 - x0) ; dy = abs(y1 - y0) ; (x0 < x1) ? sx = 1 : sx = -1 ; (y0 < y1) ? sx = 1 : sx = -1 ; err = dx - dy ; loop ...
test/Succeed/Issue2629.agda
cruhland/agda
1,989
1833
<filename>test/Succeed/Issue2629.agda {-# OPTIONS --exact-split #-} open import Agda.Builtin.Nat data IsZero : Nat → Set where isZero : IsZero 0 test : (n m : Nat) → IsZero n → IsZero m → Nat test zero zero _ _ = zero test (suc _) _ () _ test _ (suc _) _ ()
oeis/235/A235282.asm
neoneye/loda-programs
11
12981
; A235282: Number of (n+1) X (1+1) 0..3 arrays with every 2 X 2 subblock having its diagonal sum differing from its antidiagonal sum by 4 (constant stress 1 X 1 tilings). ; Submitted by <NAME> ; 20,40,68,136,236,472,836,1672,3020,6040,11108,22216,41516,83032,157316,314632,603020,1206040,2333348,4666696,9097196,18194392...
draw.asm
rodolfovalentim/sistemb2016-1
0
22240
segment code ..start: mov ax,data mov ds,ax mov ax,stack mov ss,ax mov sp,stacktop ; salvar modo corrente de video(vendo como esta o modo de video da maquina) mov ah, 0Fh int 10h mov [modo_anterior], al ; alterar modo de video para grafico 640x480 16 cores ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt61.adb
best08618/asylo
7
11160
-- { dg-do run } -- { dg-options "-O2" } with Interfaces; with Opt61_Pkg; use Opt61_Pkg; procedure Opt61 is use type Interfaces.Integer_64; X : constant Int64 := 3125; Y : constant Int64 := 5; Z : constant Int64 := 10; Q, R: Int64; begin Double_Divide (X, Y, Z, Q, R, False); if R /= 25 then ...
Light/system_changes.applescript
tomas-ramos21/macOS-Themes
0
3823
on run argv tell application "System Events" tell appearance preferences set dark mode to false set highlight color to blue end tell tell current desktop set p to item 1 of argv ...
P6/data_P6_2/cal_R_test32.asm
alxzzhou/BUAA_CO_2020
1
14967
<reponame>alxzzhou/BUAA_CO_2020 lui $1,65327 ori $1,$1,35829 lui $2,32538 ori $2,$2,56991 lui $3,56670 ori $3,$3,36131 lui $4,26785 ori $4,$4,33803 lui $5,56277 ori $5,$5,10749 lui $6,60796 ori $6,$6,29939 mthi $1 mtlo $2 sec0: nop nop nop addu $5,$6,$2 sec1: nop nop nor $6,$2,$5 addu $3,$6,$2 sec2: nop nop ...
Levels/LBZ/Misc Object Data/Map - Unused Unknown 2.asm
NatsumiFox/AMPS-Sonic-3-Knuckles
5
27828
dc.w word_26A04-Map_LBZUnusedUnknown_2 dc.w word_26A1E-Map_LBZUnusedUnknown_2 dc.w word_26A38-Map_LBZUnusedUnknown_2 dc.w word_26A58-Map_LBZUnusedUnknown_2 dc.w word_26A72-Map_LBZUnusedUnknown_2 word_26A04: dc.w 4 dc.b $E8, 7, 0, $10, $FF, $F0 dc.b $E8, 7, 8, $10, 0, 0 dc.b 8, 4, 0,...
libsrc/msx/msx_type.asm
dex4er/deb-z88dk
1
173792
<reponame>dex4er/deb-z88dk ; ; MSX specific routines ; by <NAME>, 08/11/2007 ; ; int msx_type(); ; ; The int result is 1 or two, depending on the MSX hardware being used ; ; $Id: msx_type.asm,v 1.2 2007/12/03 07:29:40 stefano Exp $ ; XLIB msx_type msx_type: ld a,($FAF8) ; running on MSX1? and a ...
bead/bead2/2/Garden_Pkg.adb
balintsoos/LearnAda
0
20360
with Ada.Text_IO, tools; use Ada.Text_IO; package body Garden_Pkg is package Position_Generator is new tools.Random_Generator(Position); function GetRandPos return Position is begin return Position_Generator.GetRandom; end GetRandPos; function GetField(pos : Position) return Boolean is begin ret...
programs/oeis/276/A276087.asm
neoneye/loda
22
84318
; A276087: a(n) = A276086(A276086(n)). ; 2,3,6,5,30,125,18,45,150,7,1050,343,1250,2625,7350,16807,1650,847,43218,3465,27731550,3195731,1183724850,435930295269007,17794411250,7105308412125,3782866198615350,2709490941157,6237907125450,161696170950365051,10,75,750,175,294,12005,126,2205,51450,11,565950,1331,21008750,99041...
programs/oeis/033/A033423.asm
karttu/loda
1
27094
; A033423: [ 10^9/n ]. ; 1000000000,500000000,333333333,250000000,200000000,166666666,142857142,125000000,111111111,100000000,90909090,83333333,76923076,71428571,66666666,62500000,58823529,55555555,52631578,50000000 add $0,1 mov $1,1000000000 div $1,$0
src/Fragment/Equational/Model.agda
yallop/agda-fragment
18
17531
<reponame>yallop/agda-fragment {-# OPTIONS --without-K --exact-split --safe #-} open import Fragment.Equational.Theory module Fragment.Equational.Model (Θ : Theory) where open import Fragment.Equational.Model.Base Θ public open import Fragment.Equational.Model.Synthetic Θ public open import Fragment.Equational.Model...
Transynther/x86/_processed/NC/_st_sm_/i7-8650U_0xd2_notsx.log_7_232.asm
ljhsiun2/medusa
9
166463
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1a0b1, %rcx nop xor $8908, %rbp mov (%rcx), %r9d add %rax, %rax lea addresses_A_ht+0x2171, %r10 clflush (%r10) nop nop nop and %r8, %r8 movl $0x61626...
oeis/145/A145718.asm
neoneye/loda-programs
11
244181
; A145718: Numbers x such that there exists n in N with (x+127)^3-x^3=n^2. ; Submitted by <NAME>(s1) ; 762,1676527,3403477826,6909058439031,14025385227883882,28471525103545970207,57797181934813091765106,117328250856145472737323751,238176291440793374843675578202,483497754296559694787188686555087,981500203045724739624618...
antlr/TestExpr.g4
zhaoweilong007/freedao
1
1660
grammar TestExpr; stat: expr EOF; expr : simpleExpr | '(' expr ')' | expr LOGICAL_OP expr ; // (a.g == b ) && c > 1L && (b && d && e <= -1.2) && (f == null) && g || true && (c.1."uaoe-_u".c.2424 > 1) // (a.g == b ) and c > 1L and (b and d and e <= -1.2) and (f == null) and g or true and (c.1."uaoe-_u".c.2424 > 1) ...
asm/doorrando.asm
oobitydoo/ALttPDoorRandomizer
0
240936
<reponame>oobitydoo/ALttPDoorRandomizer !add = "clc : adc" !sub = "sec : sbc" !bge = "bcs" !blt = "bcc" ; Free RAM notes ; Normal doors use $AB-AC for scrolling indicator ; Normal doors use $FE to store the trap door indicator ; Spiral doors use $045e to store stair type ; Gfx uses $b1 to for sub-sub-sub-module thing ...
alloy4fun_models/trashltl/models/7/queSmDyZsr8DrmiKD.als
Kaixi26/org.alloytools.alloy
0
4851
<reponame>Kaixi26/org.alloytools.alloy open main pred idqueSmDyZsr8DrmiKD_prop8 { eventually all f:File | f in f.link implies f in Trash } pred __repair { idqueSmDyZsr8DrmiKD_prop8 } check __repair { idqueSmDyZsr8DrmiKD_prop8 <=> prop8o }
32.asm
aroxby/mbr-code
0
22664
org 0x7C00 use16 cli mov bp, sp jmp boot my_gdtr: dw 24 dd my_gdt my_gdt: dq 0 dw 0ffffh dw 0 db 0 db 10011010b db 0cfh db 0 dw 0ffffh dw 0 db 0 db 10010010b db 0cfh db 0 boot: lgdt [my_gdtr] mov eax, cr0 or eax, 1 mov cr0, eax jmp 8:Boot32 use32 Boot32: mov al, '*' mov ah, 7 mov...
oeis/325/A325401.asm
neoneye/loda-programs
11
9795
<gh_stars>10-100 ; A325401: minflip(n) = min(n, r(n)) where r(n) is the binary reverse of n. ; 0,1,1,3,1,5,3,7,1,9,5,11,3,11,7,15,1,17,9,19,5,21,13,23,3,19,11,27,7,23,15,31,1,33,17,35,9,37,25,39,5,37,21,43,13,45,29,47,3,35,19,51,11,43,27,55,7,39,23,55,15,47,31,63,1,65,33,67,17,69,49,71,9,73,41,75,25,77,57,79,5,69,37,83...
data/mapObjects/ViridianForestSouthGate.asm
AmateurPanda92/pokemon-rby-dx
9
89712
<filename>data/mapObjects/ViridianForestSouthGate.asm ViridianForestSouthGate_Object: db $a ; border block db 4 ; warps warp 4, 0, 3, VIRIDIAN_FOREST warp 5, 0, 4, VIRIDIAN_FOREST warp 4, 7, 5, -1 warp 5, 7, 5, -1 db 0 ; signs db 2 ; objects object SPRITE_GIRL, 8, 4, STAY, LEFT, 1 ; person object SPRITE_LI...
krakensvm/ia32e/segment_intrins.asm
fengjixuchui/krakensvm-mg
45
19096
; got this Semantics idea from Daax & XEROXZ ; XEROXZ - (https://githacks.org/_xeroxz/bluepill/-/blob/master/segment_intrin.asm) ; Daax - 7 Days virtualization .code __reades proc mov rax, es ret __reades endp __readcs proc mov rax, cs ret __readcs endp __readss proc mov rax, ss ret __readss...
kernel.asm
Roflcoffel/AnzuOS
0
245093
<gh_stars>0 BITS 16 start: mov ax, 07C0h ; 4K stack space after bootloader add ax, 288 ; (4096 + 512) / 16 bytes per paragraph mov ss, ax mov sp, 4096 mov ax, 07C0h ; set data segment mov ds, ax mov si, my_text call clear call print_string call prompt call...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_725.asm
ljhsiun2/medusa
9
246569
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0xa414, %r13 nop nop xor %rbx, %rbx movw $0x6162, (%r13) nop nop nop xor %r8, %r8 lea addresses_normal_ht+0xf964, %r13 xor %r12, %r12 movb $0x61, (%r13)...
libsrc/target/trs80/graphics_eg2000/cpoint_callee.asm
ahjelm/z88dk
640
83088
;***************************************************** ; ; EG2000 colour graphics library library for z88dk ; ; <NAME> - May 2018 ; ;***************************************************** ; ----- int __CALLEE__ cpoint_callee(int x, int y) SECTION code_clib PUBLIC cpoint_callee PUBLIC _cpoint_callee PUBLIC asm_cpoint ...
src/gl/implementation/gl-enums-indexes.ads
Roldak/OpenGLAda
79
25538
-- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with GL.Types; with GL.Enums.Getter; generic Min_Representation : Types.Int; Getter_Param : Enums.Getter.Parameter; package GL.Enums.Indexes is pragma Preelaborate; use GL.Types; Max : const...
sholan/Language/SLang.g4
redxdev/shogun
0
502
<gh_stars>0 grammar SLang; @parser::header { #pragma warning disable 3021 using System; using System.Diagnostics; using System.Threading; using sholan.Compiler; using sholan.Compiler.Nodes; } @parser::members { protected const int EOF = Eof; } @lexer::header { #pragma warning disable 3021 } @lexer::members...
libsrc/target/homelab2/input/in_Inkey.asm
Frodevan/z88dk
640
178767
; uint in_Inkey(void) ; Read current state of keyboard SECTION code_clib PUBLIC in_Inkey PUBLIC _in_Inkey EXTERN in_keytranstbl ; exit : carry set and HL = 0 for no keys registered ; else HL = ASCII character code ; uses : AF,BC,DE,HL .in_Inkey ._in_Inkey ld c,0 ld hl,$38fd loop: ld a,(hl) xor 255 jr n...
samples/client/petstore/ada/src/model/samples-petstore-models.adb
derBiggi/swagger-codegen
7
26899
<gh_stars>1-10 -- Swagger Petstore -- This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special_key` to test the authorization filters. -- -- Op...
oeis/022/A022783.asm
neoneye/loda-programs
11
89800
<gh_stars>10-100 ; A022783: Place where n-th 1 occurs in A023121. ; Submitted by <NAME>(s2) ; 1,2,4,7,11,16,21,27,34,42,51,60,70,81,93,106,120,134,149,165,182,200,218,237,257,278,300,323,346,370,395,421,448,475,503,532,562,593,625,657,690,724,759,795,831,868,906,945,985,1026,1067,1109 mov $1,9 mul $1,$0 add $1,19 mul ...
regtests/ado-queries-tests.adb
My-Colaborations/ada-ado
0
710
<filename>regtests/ado-queries-tests.adb ----------------------------------------------------------------------- -- ado-queries-tests -- Test loading of database queries -- Copyright (C) 2011, 2012, 2013, 2014, 2015, 2017, 2018, 2019, 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache Licens...
timers/tac_set_disabled/main.asm
AntonioND/gbc-hw-tests
6
1366
INCLUDE "hardware.inc" INCLUDE "header.inc" SECTION "var",BSS repeat_loop: DS 1 current_test: DS 1 SECTION "Main",HOME ;-------------------------------------------------------------------------- ;- Main() - ;------------------------------------...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48_notsx.log_5_1697.asm
ljhsiun2/medusa
9
172205
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r14 push %rax push %rdx push %rsi // Faulty Load lea addresses_US+0x9c81, %r11 nop cmp %rax, %rax mov (%r11), %rsi lea oracles, %r14 and $0xff, %rsi shlq $12, %rsi mov (%r14,%rsi,1), %rs...
alice1/rom1.asm
lkesteloot/alice
63
3449
OB1 EQU 0C0H OB2 EQU 00DH OB3 EQU 0DEH OB4 EQU 0E1H OB5 EQU 015H OB6 EQU 05CH OB7 EQU 0C0H OB8 EQU 00DH OB9 EQU 0DEH LD A, OB1 OUT (0), A LD A, OB2 OUT (0), A LD A, OB3 OUT (0), A LD A, OB4 OUT (0), A LD A, OB5 OUT (0), A LD A, OB6 OUT (0), A LD A, OB7 OUT (0), A LD A, OB8 OUT (0), A LD A, OB9 OUT (0...
BTA3.agda
luminousfennell/polybta
1
14081
<reponame>luminousfennell/polybta module BTA3 where open import Data.Nat open import Data.Bool open import Data.List -- Binding times data BT : Set where S : BT D : BT -- defining a data type [BT],where two members are -- [S] standing for "static" and [D] standing for dynamic. -- ``subsumption'' binding times; ...
test/Succeed/Issue1227.agda
hborum/agda
3
10174
<gh_stars>1-10 open import Common.Prelude hiding (pred) open import Common.Reflection open import Common.Equality un-function : Definition → FunDef un-function (funDef cs) = funDef unknown cs un-function _ = funDef unknown [] data Is-suc : Nat → Set where is-suc : ∀ n → Is-suc (suc n) pred : (n : Nat) →...
libsrc/_DEVELOPMENT/arch/zx/display/z80/asm_zx_aaddrcleft.asm
jpoikela/z88dk
640
95366
; =============================================================== ; Jun 2007 ; =============================================================== ; ; void *zx_aaddrcleft(void *attraddr) ; ; Modify attribute address to move left one character square. ; Movement wraps from column 0 to column 31 of previous row. ; ; =======...
alloy4fun_models/trashltl/models/12/BkvemgeCjLk8XcY8m.als
Kaixi26/org.alloytools.alloy
0
2903
open main pred idBkvemgeCjLk8XcY8m_prop13 { always all f: File | f not in Trash until f in Trash } pred __repair { idBkvemgeCjLk8XcY8m_prop13 } check __repair { idBkvemgeCjLk8XcY8m_prop13 <=> prop13o }
test/Fail/Cumulativity-bad-meta-solution.agda
cruhland/agda
1,989
10652
<filename>test/Fail/Cumulativity-bad-meta-solution.agda {-# OPTIONS --cumulativity #-} postulate F : (X : Set) → X → Set X : Set₁ a : X shouldfail : F _ a
FormalAnalyzer/models/meta/cap_odorSensor.als
Mohannadcse/IoTCOM_BehavioralRuleExtractor
0
4838
<gh_stars>0 // filename: cap_odorSensor.als module cap_odorSensor open IoTBottomUp one sig cap_odorSensor extends Capability {} { attributes = cap_odorSensor_attr } abstract sig cap_odorSensor_attr extends Attribute {} one sig cap_odorSensor_attr_odorLevel extends cap_odorSensor_attr {} { values = cap_odorSens...
source/function/graphics/pixel.asm
mega65dev/rom-assembler
0
18778
<reponame>mega65dev/rom-assembler ; ******************************************************************************************** ; ******************************************************************************************** ; ; Name : pixel.asm ; Purpose : .. ; Created : 15th Nov 1991 ; Updated : 4th Jan 202...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack6.adb
best08618/asylo
7
26354
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack6.adb -- { dg-do compile } -- { dg-options "-gnatws" } procedure Pack6 is type R is record I : Integer; a, b, c, d, e : Character; end record; type Ar1 is array (1..4) of R; type Ar2 is array (1..4) of R; pragma Pa...
test/Succeed/PiInSet.agda
shlevy/agda
1,989
7368
module PiInSet where Rel : Set -> Set1 Rel A = A -> A -> Set Reflexive : {A : Set} -> Rel A -> Set Reflexive {A} _R_ = forall x -> x R x Symmetric : {A : Set} -> Rel A -> Set Symmetric {A} _R_ = forall x y -> x R y -> y R x data True : Set where tt : True data False : Set where data Nat : Set where zero : Na...
programs/oeis/070/A070441.asm
neoneye/loda
22
160219
; A070441: n^2 mod 19. ; 0,1,4,9,16,6,17,11,7,5,5,7,11,17,6,16,9,4,1,0,1,4,9,16,6,17,11,7,5,5,7,11,17,6,16,9,4,1,0,1,4,9,16,6,17,11,7,5,5,7,11,17,6,16,9,4,1,0,1,4,9,16,6,17,11,7,5,5,7,11,17,6,16,9,4,1,0,1,4,9,16,6,17,11,7,5,5,7,11,17,6,16,9,4,1,0,1,4,9,16 pow $0,2 mod $0,19
Engines/Win32/badf00d.asm
Mingzhi5/MalwareRepository
0
5196
<reponame>Mingzhi5/MalwareRepository<gh_stars>0 M0_EAX equ 0 M0_ECX equ 1 M0_EDX equ 2 M0_EBX equ 3 M0_ESI equ 4 M0_EDI equ 5 M1_EAX equ 0 M1_ECX equ 1 M1_EDX equ 2 M1_EBX equ 3 M1_ESI equ 6 M1_EDI equ 7 M2_EAX equ 0 shl 3 M2_ECX equ 1 shl 3 M2_EDX equ 2 shl 3 M2_EBX equ 3 shl 3 M2_ES...
autovectorization-tests/results/msvc19.28.29333-avx512/replace.asm
clayne/toys
0
13494
<gh_stars>0 _v$ = 8 ; size = 4 void replace_epi32(std::vector<int,std::allocator<int> > &) PROC ; replace_epi32, COMDAT mov eax, DWORD PTR _v$[esp-4] mov ecx, DWORD PTR [eax+4] mov eax, DWORD PTR [eax] cmp eax, ecx je SHO...
libsrc/target/radio86/stdio/getk.asm
ahjelm/z88dk
640
164869
SECTION code_clib PUBLIC getk PUBLIC _getk INCLUDE "target/radio86/def/monitor.def" getk: _getk: call QUERYKEY ld hl,0 and a ret z call WAITKEY ld l,a ret
pwnlib/shellcraft/templates/aarch64/linux/linkat.asm
IMULMUL/python3-pwntools
325
96512
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="fromfd, from_, tofd, to, flags"/> <%docstring> Invokes the syscall linkat. See 'man 2 linkat' for more information. Arguments: fromfd(int): fromfd from(char): from tofd(int): tofd to(char): to flags(int): flags </%docstring...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_12_1569.asm
ljhsiun2/medusa
9
166976
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0xe84f, %rsi lea addresses_normal_ht+0x24f, %rdi clflush (%rdi) nop nop cmp %r12, %r12 mov $27, %rcx rep movsl sub %r14, %r14 lea addresses_WC_ht+0xfe57, %rsi lea addresses_D_ht+0x1b6cf,...
arpserv.asm
jahzielv/xv6-net
0
99080
_arpserv: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "types.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 ...
3-mid/impact/source/3d/collision/shapes/impact-d3-striding_mesh.ads
charlie5/lace
20
22052
with interfaces.c; with impact.d3.triangle_Callback; with swig.Pointers; with impact.d3.Containers; -- #include "LinearMath/impact.d3.Vector.h" -- #include "impact.d3.triangle_Callback.h" -- #include "impact.d3.Shape.concave.h" package impact.d3.striding_Mesh -- -- The impact.d3.striding_Mesh is the interface ...
TotalParserCombinators/AsymmetricChoice.agda
nad/parser-combinators
1
6517
<reponame>nad/parser-combinators ------------------------------------------------------------------------ -- Asymmetric choice ------------------------------------------------------------------------ module TotalParserCombinators.AsymmetricChoice where open import Data.Bool open import Data.Empty open import Data.Lis...
programs/oeis/069/A069513.asm
neoneye/loda
22
242916
; A069513: Characteristic function of the prime powers p^k, k >= 1. ; 0,1,1,1,1,0,1,1,1,0,1,0,1,0,0,1,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,1,0,0,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,1,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0 mov $2,1 max $2,$0 seq $0,28233 ; If n = p_1^e_1 ...