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
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/src/main/antlr4/imports/sqlserver/BaseRule.g4
yy2so/shardingsphere
0
3634
<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, Version 2.0 * (the "License...
formalization/preservation.agda
ivoysey/Obsidian
79
5316
<reponame>ivoysey/Obsidian open import Silica open import HeapProperties import Context open TypeEnvContext open import Data.Nat open import Relation.Nullary using (¬_; Dec; yes; no) open import Data.Empty import Relation.Binary.PropositionalEquality as Eq data Preservation : Expr → Set where pres : ∀ {e e' : Ex...
sound/sfxasm/C2.asm
NatsumiFox/Sonic-3-93-Nov-03
7
105408
C2_Header: sHeaderInit ; Z80 offset is $D98E sHeaderPatch C2_Patches sHeaderTick $01 sHeaderCh $01 sHeaderSFX $80, $05, C2_FM5, $E5, $06 C2_FM5: sPatFM $00 ssModZ80 $02, $01, $06, $D7 dc.b nD0, $64 sStop C2_Patches: ; Patch $00 ; $EB ; $1F, $77, $D0, $11, $1C, $0B, $0F, $0F ; $00, $00, $00, $00, $...
tools/akt-commands.ads
thierr26/ada-keystore
0
22903
<reponame>thierr26/ada-keystore ----------------------------------------------------------------------- -- akt-commands -- Ada Keystore Tool commands -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except...
core/src/main/java/com/dnt/itl/grammar/LiteralVars.g4
deepnighttwo/inmem-transfer-language
5
7353
lexer grammar LiteralVars; EQUALS : '='; BIGGER : '>'; SMALLER : '<'; BIGGEROREQ : '>='; SMALLEROREQ : '<='; NOTEQUAL : '!='; NOT : 'not'; AND : 'and'; OR : 'or'; SELECT : 'select' ; COMMA : ',' ; FROM : 'from' ; WHERE : 'where' ; AS : 'as' ...
fasm/count.asm
Kharacternyk/ceto19
0
16679
; The number of arguments to proccess. count=1000000 ; Put the start of the arguments chunk into rax. sub rax, 1 imul rax, count ; The lowest x that should be checked. mov r9, 1 ; Fill `cubes` array. cubes=buffer zer rdi cubesLoop: inc rdi mov rbx, rdi imul rbx, rdi; ^2 imul r...
theorems/homotopy/SuspSmash.agda
cmknapp/HoTT-Agda
0
7387
<filename>theorems/homotopy/SuspSmash.agda {-# OPTIONS --without-K #-} open import HoTT open import homotopy.elims.SuspSmash open import homotopy.elims.CofPushoutSection -- Σ(X∧Y) ≃ X * Y module homotopy.SuspSmash {i j} (X : Ptd i) (Y : Ptd j) where private {- path lemmas -} private reduce-x : ∀ {i} {A : T...
user/crashtest.asm
joshiamey/xv6-riscv-fall19
1
85991
user/_crashtest: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <test0>: test0(); exit(); } void test0() { 0: 7179 addi sp,sp,-48 2: f406 sd ra,40(sp) 4: f022 sd s0,32(sp) 6: 1800 addi s0,sp,48 struc...
src/Data/FingerTree/View.agda
oisdk/agda-indexed-fingertree
1
10592
{-# OPTIONS --without-K --safe #-} open import Algebra module Data.FingerTree.View {r m} (ℳ : Monoid r m) where open import Level using (_⊔_) open import Data.Product open import Function open import Data.List as List using (List; _∷_; []) open import Data.FingerTree.Structures ℳ open import Data.FingerTree....
libsrc/graphics/ticalc/closegfx.asm
meesokim/z88dk
0
1278
; ; Graphics for the TI82 ; By <NAME> - Dec. 2000 ; ; CLOSEGFX - wait for keypress ; ; ; $Id: closegfx.asm,v 1.4 2015/01/23 07:07:31 stefano Exp $ ; PUBLIC closegfx .closegfx IF FORti82 ; This is called before scrolling: we wait for any keypress .kloop ;halt ; Power saving (?? maybe. It worked on ti86) ld hl,...
src/scenic/simulators/webots/WBT.g4
HaoranBai17/Scenic
1
3335
<reponame>HaoranBai17/Scenic<gh_stars>1-10 grammar WBT; world : (node | defn)* ; defn : 'DEF' Identifier node; node : Identifier ' {' Newline nodeBody '}' Newline? ; nodeBody : (attribute Newline)* ; attribute : 'hidden' Identifier value | Identifier value ; value : vector | string | array | node | boolean ; v...
XMLParser.g4
AILab-FOI/APi
0
4348
/* [The "BSD licence"] Copyright (c) 2013 <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 conditio...
bench/conv_eval.agda
int-index/smalltt
377
14815
{-# OPTIONS --type-in-type #-} data IBool : Set where itrue ifalse : IBool Bool : Set; Bool = (B : Set) → B → B → B toIBool : Bool → IBool toIBool b = b _ itrue ifalse true : Bool; true = λ B t f → t and : Bool → Bool → Bool; and = λ a b B t f → a B (b B t f) f Nat : Set; Nat = (n : Set) → (n → n) → n → n ...
apps/rfm69_modem/host_message.ads
ekoeppen/STM32_Generic_Ada_Drivers
1
5044
with Interfaces; use Interfaces; with STM32GD.Board; use STM32GD.Board; package Host_Message is type Packet_Type is array (Unsigned_8 range <>) of Unsigned_8; procedure Send_Hello; procedure Send_Packet (Packet: Packet_Type; Length: Unsigned_8); procedure Send_Heartbeat; procedure Send_Error_Message (...
libsrc/ctype/isbdigit.asm
andydansby/z88dk-mk2
1
169915
; isbdigit XLIB isbdigit LIB asm_isbdigit ; FASTCALL .isbdigit ld a,l call asm_isbdigit ld hl,0 ret c inc l ret
srcs/fuzzers/pdf.asm
gamozolabs/falkervisor_beta
69
13534
[bits 64] corrupt_pdf: push rax push rbx push rcx push rdx push rsi push rdi push rbp push r8 push r9 push r10 push r11 push r12 push r13 push r14 push r15 XMMPUSH xmm5 call start_log ; Pick a random base PDF input call rand_pdf mov [gs:thread_local.fuzz_input_len], rcx mov rdi, [gs:thread_l...
Source/Assembly/stdlib.asm
vitorfeliper/GGOS
0
177674
<gh_stars>0 itoa: %define num [bp + 4] %define outstr [bp + 6] %define tmp [bp - 8] push bp mov bp, sp push word 0 push word "00" push word "00" push word 0 mov di, bp sub di, 2 std mov ax, num .decloop: cwd mov bx, 10 div bx mov tmp, ax add dx, 48 ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array24.adb
best08618/asylo
7
1785
-- { dg-do compile } -- { dg-options "-fdump-tree-optimized" } procedure Array24 (N : Natural) is S : String (1 .. N); pragma Volatile (S); begin S := (others => '0'); end; -- { dg-final { scan-tree-dump-not "builtin_unwind_resume" "optimized" } }
oeis/094/A094373.asm
neoneye/loda-programs
11
175415
; A094373: Expansion of (1-x-x^2)/((1-x)*(1-2*x)). ; Submitted by <NAME> ; 1,2,3,5,9,17,33,65,129,257,513,1025,2049,4097,8193,16385,32769,65537,131073,262145,524289,1048577,2097153,4194305,8388609,16777217,33554433,67108865,134217729,268435457,536870913,1073741825,2147483649,4294967297,8589934593,17179869185,3435973836...
src/sdl-log.ads
Fabien-Chouteau/sdlada
1
30339
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, <NAME> -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising from the...
programs/oeis/304/A304205.asm
karttu/loda
1
161726
; A304205: Numbers k such that 24*k + 6 is congruent to 0 (mod 49). ; 12,61,110,159,208,257,306,355,404,453,502,551,600,649,698,747,796,845,894,943,992,1041,1090,1139,1188,1237,1286,1335,1384,1433,1482,1531,1580,1629,1678,1727,1776,1825,1874,1923,1972,2021,2070,2119,2168,2217,2266,2315,2364,2413,2462,2511,2560,2609,265...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/iface2.ads
best08618/asylo
7
16263
<gh_stars>1-10 with Iface1; generic with package Prot is new Iface1 (<>); package Iface2 is procedure change (This, That : Prot.Any_Future); end Iface2;
programs/oeis/010/A010857.asm
neoneye/loda
22
86620
<gh_stars>10-100 ; A010857: Constant sequence: a(n) = 18. ; 18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18 mov $0,18
ruby-antlr-hash-2-json/raw/Pred.g4
msangel/playground
0
3593
// antlr4 Pred.g4 // javac -cp ".:$(realpath ~/soft/antlr4/antlr-4.7.2-complete.jar):$CLASSPATH" Pred*.java // grun Pred assign grammar Pred; assign : ID '=' v=INT {$v.int>0}? ';' {System.out.println("assign "+$ID.text+" to ");} ; INT : [0-9]+ ; ID : [a-zA-Z]+ ; WS : [ \t\r\n]+ -> skip ;
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd3015g.ada
best08618/asylo
7
4533
-- CD3015G.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...
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver1/sfc/ys_w15.asm
prismotizm/gigaleak
0
166622
Name: ys_w15.asm Type: file Size: 6153 Last-Modified: '2016-05-13T04:51:15Z' SHA-1: F82A00A10134F37BFA9CAE9AF8EE47D438956679 Description: null
rev/large_prime.asm
Masrt200/asm-disasm
0
87467
; Masrt ; 22-05-21 ; finding lasrgest prime factor of a given number SECTION .data SYS_EXIT equ 60 EXIT_SUCCESS equ 0 NUM dq 87984 greatest dq 0 SECTION .text global _start _start: mov rbx,0 ;counter for factors func1: inc rbx cmp rbx,qword [NUM] ...
boot/stage2/func16.asm
arushsharma24/KSOS
87
91332
[bits 16] print_si_16: pusha mov ah,0x0e ;This is the higher byte of the ax register print_16_loop: ; mov al,[si] ; inc si lodsb ;Performs the function of the previous two shits cmp al,0 je print_16_end ...
src/_test/harness/apsepp_test_harness.adb
thierr26/ada-apsepp
0
20981
-- Copyright (C) 2019 <NAME> <<EMAIL>> -- MIT license. Please refer to the LICENSE file. with Ada.Command_Line, Apsepp.Test_Node_Class.Runner_Sequential.Create; package body Apsepp_Test_Harness is ---------------------------------------------------------------------------- procedure Apsepp_Test_Procedure...
Projetos/F-Assembly/src/nasm/letra.nasm
mariaeduardabicalho/Z01
2
29647
; carrega x"FF" em S (todos pxs em '1') leaw $0, %A movw %A, %S notw %S leaw $16426, %A movw %S, (%A) incw %A movw %S, (%A) incw %A movw %S, (%A) leaw $16446, %A movw %S, (%A) incw %A movw %S, (%A) incw %A movw %S, (%A) leaw $16466, %A movw %S, (%A) incw %A movw %S, (%A)...
third_party/spirv-cross/shaders-other/aliased-entry-point-names.asm
Alan-love/filament
13,885
91348
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 3 ; Bound: 20 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Vertex %main "main" %_ OpEntryPoint Vertex %main2 "...
oeis/245/A245833.asm
neoneye/loda-programs
11
81062
; A245833: The Szeged index of the triangle-shaped benzenoid T_k (see Fig. 5.7 of the Diudea et al. reference). ; Submitted by <NAME>(s1.) ; 54,540,2610,8820,23940,55944,117180,225720,406890,694980,1135134,1785420,2719080,4026960,5820120,8232624,11424510,15584940,20935530,27733860,36277164,46906200,60009300,76026600,95...
programs/oeis/264/A264446.asm
karttu/loda
1
168077
; A264446: a(n) = n*(n + 5)*(n + 10)*(n + 15)/24. ; 0,44,119,234,399,625,924,1309,1794,2394,3125,4004,5049,6279,7714,9375,11284,13464,15939,18734,21875,25389,29304,33649,38454,43750,49569,55944,62909,70499,78750,87699,97384,107844,119119,131250,144279,158249,173204,189189,206250 mov $1,$0 mov $4,48 lpb $2,4 mod $4,2...
test/Succeed/Issue5579.agda
cagix/agda
1,989
8296
{-# OPTIONS --cubical --allow-unsolved-metas #-} open import Agda.Builtin.Cubical.Path open import Agda.Primitive.Cubical open import Agda.Builtin.Bool postulate Index : Set i : Index data D : Index → Set where c : D i cong : {A B : Set} (x y : A) (f : A → B) → x ≡ y → f x ≡ f y cong _ _ f x≡y = λ i → f ...
programs/oeis/071/A071190.asm
neoneye/loda
22
29728
<gh_stars>10-100 ; A071190: Greatest prime factor of sum of divisors of n, for n >= 2; a(1) = 1. ; 1,3,2,7,3,3,2,5,13,3,3,7,7,3,3,31,3,13,5,7,2,3,3,5,31,7,5,7,5,3,2,7,3,3,3,13,19,5,7,5,7,3,11,7,13,3,3,31,19,31,3,7,3,5,3,5,5,5,5,7,31,3,13,127,7,3,17,7,3,3,3,13,37,19,31,7,3,7,5,31,11,7,7,7,3,11,5,5,5,13,7,7,2,3,5,7,7,19,...
data/maps/headers/VictoryRoad1F.asm
opiter09/ASM-Machina
1
83054
map_header VictoryRoad1F, VICTORY_ROAD_1F, CAVERN, 0 end_map_header
alloy4fun_models/trashltl/models/7/jEBS8kzBdSu44kmpE.als
Kaixi26/org.alloytools.alloy
0
4646
<filename>alloy4fun_models/trashltl/models/7/jEBS8kzBdSu44kmpE.als open main pred idjEBS8kzBdSu44kmpE_prop8 { some f : File | eventually f.link + link.f in Trash } pred __repair { idjEBS8kzBdSu44kmpE_prop8 } check __repair { idjEBS8kzBdSu44kmpE_prop8 <=> prop8o }
oeis/190/A190038.asm
neoneye/loda-programs
11
12067
; A190038: Number of nondecreasing arrangements of n+2 numbers in 0..6 with the last equal to 6 and each after the second equal to the sum of one or two of the preceding three. ; 10,18,30,47,72,107,151,203,263,331,407,491,583,683,791,907,1031,1163,1303,1451,1607,1771,1943,2123,2311,2507,2711,2923,3143,3371,3607,3851,41...
app/hack/bad_buffer.asm
USN484259/COFUOS
1
86919
[bits 64] exit_process equ 0x0210 stream_write equ 0x050C section .text mov edx,2 mov r8,0xFFFF8000_00001000 mov r9d,0x10 mov eax,stream_write syscall mov edx,eax mov eax,exit_process syscall
gb_03/src/lists-fixed.ads
gerr135/gnat_bugs
6
18723
<filename>gb_03/src/lists-fixed.ads -- -- This is a "fixed" implementation, as a straight (discriminated) array, no memory management. -- -- Copyright (C) 2018 <NAME> <<EMAIL>> -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERC...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_1688.asm
ljhsiun2/medusa
9
173403
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rbx lea addresses_A_ht+0x1eef1, %r14 nop nop xor %r10, %r10 movups (%r14), %xmm0 vpextrq $1, %xmm0, %r12 nop nop nop nop nop dec %rbx pop %rbx pop %r14 pop %r12 pop %r10 ret .global s_faulty_load s_faulty_load: push %r1...
kv-avm-control.ads
davidkristola/vole
4
29095
<gh_stars>1-10 with Interfaces; with kv.avm.Actor_References; with kv.avm.Tuples; with kv.avm.Registers; with kv.avm.Messages; package kv.avm.Control is NO_FUTURE : constant Interfaces.Unsigned_32 := 0; type Status_Type is (Active, Blocked, Deferred, Idle, Error); subtype Running_Status_Type is Status_Type...
source/amf/dd/amf-internals-dg_canvases.ads
svn2github/matreshka
24
18878
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
mc-sema/validator/x86_64/tests/ADD_F32m.asm
randolphwong/mcsema
2
161734
<reponame>randolphwong/mcsema BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; set up st0 to be 3.141593 lea rdi, [rsp-0x8] mov qword [rdi], 0x40490fdb fld qword [rdi] ;TEST_BEGIN_RECORDING lea rdi, [rsp-0x8] mov qword [rdi], 0x40490fdb FADD qword [rdi] mov rdi, 0 ;TEST_END_RECO...
oeis/177/A177870.asm
neoneye/loda-programs
11
97013
; A177870: Decimal expansion of 3*Pi/4. ; Submitted by <NAME> ; 2,3,5,6,1,9,4,4,9,0,1,9,2,3,4,4,9,2,8,8,4,6,9,8,2,5,3,7,4,5,9,6,2,7,1,6,3,1,4,7,8,7,7,0,4,9,5,3,1,3,2,9,3,6,5,7,3,1,2,0,8,4,4,4,2,3,0,8,6,2,3,0,4,7,1,4,6,5,6,7,4,8,9,7,1,0,2,6,1,1,9,0,0,6,5,8,7,8,0,0 mov $1,1 mov $2,1 mov $3,$0 mul $3,5 lpb $3 mul $1,$3...
oeis/017/A017048.asm
neoneye/loda-programs
11
25550
<gh_stars>10-100 ; A017048: a(n) = (7*n + 5)^8. ; 390625,429981696,16983563041,208827064576,1406408618241,6553600000000,23811286661761,72301961339136,191707312997281,457163239653376,1001129150390625,2044140858654976,3936588805702081,7213895789838336,12667700813876161,21435888100000000,35114532758015841,5589506702973337...
Appl/GeoWrite/Article/articleArticle.asm
steakknife/pcgeos
504
164696
COMMENT @---------------------------------------------------------------------- Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: GeoWrite FILE: articleArticle.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 3/92 Initial version DESCRI...
old/tst7ram.asm
Jaxartes/vtj1
0
241077
<gh_stars>0 ; Copyright (c) 2015 <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 ...
alloy4fun_models/trashltl/models/14/YnY9Mmpq6T9TnYZkT.als
Kaixi26/org.alloytools.alloy
0
2765
<reponame>Kaixi26/org.alloytools.alloy<filename>alloy4fun_models/trashltl/models/14/YnY9Mmpq6T9TnYZkT.als open main pred idYnY9Mmpq6T9TnYZkT_prop15 { eventually File in Trash } pred __repair { idYnY9Mmpq6T9TnYZkT_prop15 } check __repair { idYnY9Mmpq6T9TnYZkT_prop15 <=> prop15o }
practica.asm
lichobaron/MIPSMARS
0
1724
<reponame>lichobaron/MIPSMARS .data num1: .word 4 texto: .asciiz "Cantidad de unos: " .text main: la $t2,num1 lw $s0,0($t2) li $v0,5 syscall add $s1,$v0,$s0 addi $s2,$zero,1 division: beq $s1,1,imprimirMensaje add $s4,$s1,$zero div $s1,$s1,2, resto: mul $s3,$s1,2 sub $s5,$s4,$s3 beq $s5,1,su...
programs/oeis/004/A004354.asm
neoneye/loda
22
161088
; A004354: Binomial coefficient C(5n, n-12). ; 1,65,2415,67525,1581580,32801517,622614630,11050084695,186087894300,3005047770725,46897636623981,711521944864290,10542859559688820,153121753939078375,2186185620108204000,30756373941461374800,427193415484608717000,5867530676298843674265 mov $1,$0 add $0,12 mul $0,5 bin $0,...
examples/common/tlv.ads
ekoeppen/STM32_Generic_Ada_Drivers
1
7219
with STM32_SVD; use STM32_SVD; with Interfaces; use Interfaces; generic type Buffer_Size_Type is range <>; type Buffer_Type is array (Buffer_Size_Type) of Byte; type Tag_Type is (<>); package TLV is -- type Data_Types is (False, True, Byte, Short, Long, Float, Double, -- String, Timestamp, Durat...
Task/Stack/Ada/stack-2.ada
LaudateCorpus1/RosettaCodeData
1
4842
with Ada.Unchecked_Deallocation; package body Generic_Stack is ------------ -- Create -- ------------ function Create return Stack is begin return (null); end Create; ---------- -- Push -- ---------- procedure Push(Item : Element_Type; Onto : in out Stack) is Temp : Stack ...
software/hal/boards/stm32f7_discovery/hal-audio.adb
TUM-EI-RCS/StratoX
12
1512
<reponame>TUM-EI-RCS/StratoX with STM32_SVD.RCC; use STM32_SVD.RCC; with STM32_SVD.SAI; use STM32_SVD.SAI; with STM32.Device; use STM32.Device; with STM32.Board; use STM32.Board; with STM32.GPIO; use STM32.GPIO; with STM32.DMA; use STM32.DMA; with STM32.I2C; ...
audio/music/magnettrain.asm
Dev727/ancientplatinum
28
22794
<filename>audio/music/magnettrain.asm Music_MagnetTrain: musicheader 4, 1, Music_MagnetTrain_Ch1 musicheader 1, 2, Music_MagnetTrain_Ch2 musicheader 1, 3, Music_MagnetTrain_Ch3 musicheader 1, 4, Music_MagnetTrain_Ch4 Music_MagnetTrain_Ch1: tempo 110 volume $77 stereopanning $f vibrato $14, $23 dutycycle $2 n...
src/lzma-block.ads
stcarrez/ada-lzma
4
24020
pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; with Ada.Streams; with Lzma.Check; with Lzma.Vli; limited with Lzma.Filter; with System; with Lzma.Base; package Lzma.Block is LZMA_BLOCK_HEADER_SIZE_MIN : constant := 8; -- /usr/include/lzma/block.h:68 LZMA_BLOCK_HEADER_SIZE_MAX : constant := ...
programs/oeis/131/A131937.asm
neoneye/loda
22
102378
; A131937: a(1)=1; a(2)=4. a(n) = a(n-1) + (n-th positive integer which does not occur in sequence A131938). ; 1,4,8,14,21,29,38,49,61,74,88,103,120,138,157,177,198,220,244,269,295,322,350,379,409,440,473,507,542,578,615,653,692,732,773,816,860,905,951,998,1046,1095,1145,1196,1248,1302,1357,1413,1470,1528,1587,1647 lp...
src/Structure/SRAM.asm
stoneface86/GameboyBoilerplateProj
25
241219
section "SRAM Bank 0 Setup", sram[$A000],bank[0] sBank0No:: ds 1 ; If the RAM has been formatted then it will have the proper signature ; "CAFE BABE F1EE DECF FEED" sSignature:: ds 10 ; Keep track of version differences and incompatibilities sVersion:: ds 2 ; Bank #1 is a Non-Persistent Data Bank section...
source/webdriver-remote.adb
reznikmm/webdriver
2
21996
-- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with AWS.Client; with League.JSON.Objects; with League.JSON.Values; with League.String_Vectors; with WebDriver.Elements; with WebDriver.Sessions; pa...
test/js/TestNat.agda
redfish64/autonomic-agda
1
7495
open import Common.Prelude open import TestHarness open import TestBool using ( not; _∧_ ; _↔_ ) module TestNat where _*_ : Nat → Nat → Nat zero * n = zero suc m * n = n + (m * n) {-# COMPILED_JS _*_ function (x) { return function (y) { return x*y; }; } #-} fact : Nat → Nat fact zero = 1 fact (suc x) = suc x * ...
tests/test.asm
nirkog/6800-emulator
0
176278
nam test_program org $0 * The entry point of the program l_start jmp l_test_aba_adc * Test the ABA and ADC instructions l_test_aba_adc adcb #$f0 adcb #$10 adcb #$00 cmpb #$01 bne l_aba_adc_error aba cmpb #$01 bne l_aba_adc_error bra l_aba_adc_end l_aba_adc_error jmp l_error l_aba_adc_end jmp l_test_a...
regtests/gen-testsuite.adb
My-Colaborations/dynamo
0
22282
<gh_stars>0 ----------------------------------------------------------------------- -- gen-testsuite -- Testsuite for gen -- Copyright (C) 2012, 2018 <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 th...
test/asset/agda-stdlib-1.0/Relation/Binary/Reasoning/Base/Triple.agda
omega12345/agda-mode
0
10241
------------------------------------------------------------------------ -- The Agda standard library -- -- The basic code for equational reasoning with three relations: -- equality, strict ordering and non-strict ordering. ------------------------------------------------------------------------ -- -- See `Data.Nat.Pro...
src/ui/table.ads
thindil/steamsky
80
2694
<filename>src/ui/table.ads -- Copyright (c) 2021 <NAME> <<EMAIL>> -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version....
src/Vi/Ip.agda
mietek/formal-logic
26
9722
-- Intuitionistic propositional logic, vector-based de Bruijn approach, initial encoding module Vi.Ip where open import Lib using (Nat; suc; _+_; Fin; fin; Vec; _,_; proj; VMem; mem) -- Types infixl 2 _&&_ infixl 1 _||_ infixr 0 _=>_ data Ty : Set where UNIT : Ty _=>_ : Ty -> Ty -> Ty _&&_ : T...
arch/RISC-V/SiFive/drivers/fe310.adb
rocher/Ada_Drivers_Library
192
13322
<filename>arch/RISC-V/SiFive/drivers/fe310.adb ------------------------------------------------------------------------------ -- -- -- Copyright (C) 2017-2018, AdaCore and other contributors -- -- ...
base/ntdll/amd64/ldrthunk.asm
npocmaka/Windows-Server-2003
17
86925
<filename>base/ntdll/amd64/ldrthunk.asm title "LdrInitializeThunk" ;++ ; ; Copyright (c) 1989 Microsoft Corporation ; ; Module Name: ; ; ldrthunk.s ; ; Abstract: ; ; This module implements the thunk for the loader staetup APC routine. ; ; Author: ; ; <NAME> (davec) 25-Jun-2000 ; ; Env...
src/z80flags.asm
SHARPENTIERS/z80test
2
96594
; Z80 test - flags only version. ; ; Copyright (C) 2012 <NAME> (<EMAIL>) ; ; This source code is released under the MIT license, see included license.txt. macro testname db "FLAGS" endm maskflags equ 0 onlyflags equ 1 postccf equ 0 mem...
llvm-gcc-4.2-2.9/gcc/ada/mlib-tgt-vms-ia64.adb
vidkidz/crossbridge
1
17044
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
datetime/datetime.g4
ChristianWulf/grammars-v4
127
133
<reponame>ChristianWulf/grammars-v4 /* BSD License Copyright (c) 2013, <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, t...
validation-vsd_orders.adb
annexi-strayline/AURA
13
19822
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation ...
go/interface-internal/main.asm
so61pi/examples
4
172466
<reponame>so61pi/examples<gh_stars>1-10 __go_td_I19_AnotherLongFunctionFe20_VeryLongFunctionNameFee$gc: .quad 16 .quad 9 .quad 0 .quad 0 .LC0: .ascii "\tmain\tmain.XInterface" .zero 1 C0: .quad .LC0 .quad 21 .LC1: .ascii "XInterface...
src/keystore-passwords.adb
ALPHA-60/ada-keystore
0
10554
<reponame>ALPHA-60/ada-keystore<filename>src/keystore-passwords.adb ----------------------------------------------------------------------- -- keystore-passwords -- Password provider -- Copyright (C) 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- ...
display.applescript
Rolias/applescripts
1
3133
tell application "System Preferences" activate set the current pane to pane "com.apple.preference.displays" end tell tell application "System Events" tell process "System Preferences" set frontmost to true repeat until exists tab group 1 of window "ASUS PB278 (1)" end repeat tell tab group 1 of window "A...
programs/oeis/135/A135231.asm
karttu/loda
0
245972
<reponame>karttu/loda ; A135231: Row sums of triangle A135230. ; 1,2,4,6,12,22,44,86,172,342,684,1366,2732,5462,10924,21846,43692,87382,174764,349526,699052,1398102,2796204,5592406,11184812,22369622,44739244,89478486,178956972,357913942,715827884,1431655766,2863311532,5726623062,11453246124,22906492246,45812984492,9162...
src/grammar/GpslLexer.g4
morioka22/gpsl
0
4842
<filename>src/grammar/GpslLexer.g4 lexer grammar GpslLexer; WS : [ \t\r\n] -> skip ; ADD: '+' ; SUB: '-' ; MUL: '*' ; DIV: '/' ; CONJ: '&&' ; AND: '&' ; EQ: '=' ; EQEQ: '==' ; NE: '!=' ; BE: '>=' ; LE: '<=' ; BT: '>' ; LT: '<' ; SEMICOLON: ';' ; COLON: ':' ; COMMA: ',' ; DOT: '.' ; QUOTE: '"' ; ADD_ASSI...
programs/oeis/057/A057721.asm
jmorken/loda
1
176520
; A057721: a(n) = n^4 + 3*n^2 + 1. ; 1,5,29,109,305,701,1405,2549,4289,6805,10301,15005,21169,29069,39005,51301,66305,84389,105949,131405,161201,195805,235709,281429,333505,392501,459005,533629,617009,709805,812701,926405,1051649,1189189,1339805,1504301,1683505,1878269,2089469,2318005,2564801,2830805,3116989,3424349,37...
Code/CustomControl/SpreadSheet/SprShtDLL/SprCompile.asm
CherryDT/FbEditMOD
11
179624
.data Function db TPE_SUMFUNCTION, 'Sum(',0 db TPE_CNTFUNCTION, 'Cnt(',0 db TPE_AVGFUNCTION, 'Avg(',0 db TPE_MINFUNCTION, 'Min(',0 db TPE_MAXFUNCTION, 'Max(',0 db TPE_VARFUNCTION, 'Var(',0 db TPE_STDFUNCTION, 'Std(',0 db TPE_SQTFUNCTION, 'Sqt(',0 db TPE_SINFUNCTION, ...
src/runtime.asm
jvns/puddle
122
170750
<reponame>jvns/puddle<filename>src/runtime.asm use32 global _GLOBAL_OFFSET_TABLE_ global __morestack global abort global memcmp global memcpy global malloc global free global start extern main start: ; rust functions compare esp against [gs:0x30] as a sort of stack guard thing ; as long as we set [gs:0x30] t...
A6 - Sub-Rotinas parte 1/e1b.asm
ZePaiva/ACI
0
89363
<reponame>ZePaiva/ACI .data string: .asciiz "Arquitetura de computadores I" str0: .asciiz "String: " str1: .asciiz "String length: " str2: .asciiz "\n" .eqv print_int10, 1 .eqv print_string, 4 .eqv func, $v0 .eqv arg0, $a0 .eqv arg1, $a1 .eqv len, $t0 .eqv strp, $t1 .eqv char, $t2 .eqv .text .globl main ma...
src/CF/Syntax/Hoisted.agda
ajrouvoet/jvm.agda
6
14274
{-# OPTIONS --safe #-} module CF.Syntax.Hoisted where open import Level open import Data.List open import Relation.Unary hiding (_⊢_) open import Relation.Ternary.Core open import Relation.Ternary.Structures open import Relation.Ternary.Structures.Syntax open import CF.Types open import CF.Contexts.Lexical open impo...
Categories/Object/Exponentiating.agda
copumpkin/categories
98
1574
<reponame>copumpkin/categories<gh_stars>10-100 {-# OPTIONS --universe-polymorphism #-} open import Categories.Category open import Categories.Object.BinaryProducts module Categories.Object.Exponentiating {o ℓ e} (C : Category o ℓ e) (binary : BinaryProducts C) where open Category C open BinaryProducts binary...
Transynther/x86/_processed/US/_ht_st_zr_un_/i7-8650U_0xd2.log_3944_1527.asm
ljhsiun2/medusa
9
86826
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x133, %rdi nop add $23918, %rbx mov (%rdi), %si nop nop nop and $50419, %rdi lea addresses_normal_ht+0x807, %r9 add %rbp, %rbp movw $0x6162, (%r9) nop nop nop add $53860, %rdi...
ordinary/runge_pc_2.adb
jscparker/math_packages
30
20165
<filename>ordinary/runge_pc_2.adb ----------------------------------------------------------------------- -- package body Runge_pc_2, Runge-Kutta integrator. -- Copyright (C) 2008-2018 <NAME>. -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby grante...
Variables and Properties/set var to value as type/as type.applescript
looking-for-a-job/applescript-examples
1
4633
#!/usr/bin/osascript set intVal to "123" as integer
hudi-spark-datasource/hudi-spark/src/main/antlr4/org/apache/hudi/spark/sql/parser/HoodieSqlCommon.g4
huberylee/hudi
0
7266
/* * 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, Version 2.0 * (the "License"); you may ...
Benchmark/gcd2.asm
DW0RKiN/M4_FORTH
2
86280
<reponame>DW0RKiN/M4_FORTH<gh_stars>1-10 ORG 32768 ; === b e g i n === ld (Stop+1), SP ; 4:20 init storing the original SP value when the "bye" word is used ld L, 0x1A ; 2:7 init Upper screen call 0x1605 ; 3:17 init Open channel ld HL, 60000 ...
ibm_8b_10b_encoder.ads
silentTeee/IBM-8b-10b-encoder
0
7849
--Copyright (c) 2019 <NAME> under the MIT License package IBM_8b_10b_Encoder is type Byte is mod 2**8; type Ten_Bits is mod 2**10; type Running_Disp is (Neg_1, Pos_1); procedure Encode( B: in Byte; T: out Ten_Bits; RD: in out Running_Disp); --T...
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_18186_1381.asm
ljhsiun2/medusa
9
89113
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x8c2a, %rsi nop nop nop inc %rdx mov (%rsi), %r12d nop nop nop nop add %rdx, %rdx lea addresses_A_ht+0x15f0a, %r9 nop nop nop cmp %rsi, %rsi vmovups (%r9), %ymm5 vextracti128 $1, %ymm5, %...
models/amalgam/tests/test_sb_both_ways.als
transclosure/Amalgam
4
5323
<reponame>transclosure/Amalgam<gh_stars>1-10 sig Node { edges: set Node } // no immediate self loops run { no edges & iden } for exactly 2 Node expect 0 run { no edges & iden } for exactly 2 Node expect 1
aai-traversal/src/main/resources/antlr4/org/onap/aai/dsl/v2/AAIDsl.g4
onap/aai-traversal
3
2862
/** * Define a parser grammar called AAIDsl */ grammar AAIDsl; aaiquery: startStatement limit?; startStatement: (vertex|unionVertex ) (traversal)* ; nestedStatement: (traversal)+ ; vertex: label store? (filter)?; //traversal: ( vertex|unionVertex edge); traversal: (edge* (vertex|unionVertex)); filter: (sel...
stage2/graphics_line_test_boundaries.asm
amrwc/8086-graphics
5
86495
; Prevent drawing beyond boundaries. ; ; Input: ; x0: [bp + 12] -> [bp + x0] ; y0: [bp + 10] -> [bp + y0] ; x1: [bp + 8] -> [bp + x1] ; y1: [bp + 6] -> [bp + y1] Graphics_Line_Test_Boundaries: ;is_x0_negative: cmp [bp + x0], word 0 jg is_x0_over_319 je is_x1_negative mov ...
alloy4fun_models/trashltl/models/17/ybAk2MjKGwJzJ9ZYL.als
Kaixi26/org.alloytools.alloy
0
559
<gh_stars>0 open main pred idybAk2MjKGwJzJ9ZYL_prop18 { always ( all f : File | f in Protected and f not in Protected' implies f in Trash' ) } pred __repair { idybAk2MjKGwJzJ9ZYL_prop18 } check __repair { idybAk2MjKGwJzJ9ZYL_prop18 <=> prop18o }
oeis/333/A333991.asm
neoneye/loda-programs
11
4778
; A333991: a(n) = Sum_{k=0..n} (-n)^k * binomial(2*n,2*k). ; Submitted by <NAME> ; 1,0,-7,64,-527,3776,-7199,-712704,28545857,-881543168,25615822601,-733594255360,20859188600881,-580152163418112,15048530008948913,-311489672222081024,713562283940993281,511135051171610230784,-48010258775057340355559,343941241184917692560...
savefile/maps/1F7A_Deliria.asm
stranck/fools2018-1
35
163150
<filename>savefile/maps/1F7A_Deliria.asm SECTION "Map_1F7A", ROM0[$B800] Map_1F7A_Header: hdr_tileset 8 hdr_dimensions 4, 4 hdr_pointers_a Map_1F7A_Blocks, Map_1F7A_TextPointers hdr_pointers_b Map_1F7A_Script, Map_1F7A_Objects hdr_pointers_c Map_1F7A_InitScript, Map_1F7A...
src/README.asm
rahlk/MAPGen
18
26380
# -*- mode: org -*- #+Title: Automated Evolutionary repair of ASM 1. install oprofile and gdb using your package manager, these are used to sample execution traces 2. follow the general instillation instructions in README.txt to install OCaml CIL etc... 3. build the .s assembly file with something like : gc...
scripts/repeatOff.scpt
BMFirman/j-tunes
2
188
<filename>scripts/repeatOff.scpt tell application "iTunes" set song repeat to off end
Transynther/x86/_processed/NONE/_ht_zr_/i9-9900K_12_0xa0_notsx.log_7_1246.asm
ljhsiun2/medusa
9
173917
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1cf0c, %rsi lea addresses_D_ht+0x163ec, %rdi clflush (%rdi) nop nop and $57071, %rdx mov $46, %rcx rep movsw nop nop nop inc %rsi lea addresses_UC_ht+0x16424, %r10 nop nop add $52889,...
programs/oeis/051/A051201.asm
neoneye/loda
22
173542
<filename>programs/oeis/051/A051201.asm ; A051201: Sum of elements of the set { [ n/k ] : 1 <= k <= n }. ; 1,3,4,7,8,12,13,15,19,21,22,28,29,31,33,39,40,43,44,51,53,55,56,60,66,68,70,73,74,83,84,87,89,91,93,103,104,106,108,112,113,123,124,127,130,132,133,138,146,149,151,154,155,159,161,172,174,176,177,183,184,186 add ...
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-wchstw.ads
orb-zhuchen/Orb
0
12239
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...