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 |
|---|---|---|---|---|
projects/batfish/src/main/antlr4/org/batfish/grammar/f5_bigip_imish/F5BigipImish_bgp.g4 | adrianliaw/batfish | 16 | 6567 | parser grammar F5BigipImish_bgp;
import F5BigipImish_common;
options {
tokenVocab = F5BigipImishLexer;
}
rb_bgp_always_compare_med
:
ALWAYS_COMPARE_MED NEWLINE
;
rb_bgp_deterministic_med
:
DETERMINISTIC_MED NEWLINE
;
rb_bgp_null
:
(
GRACEFUL_RESTART
| LOG_NEIGHBOR_CHANGES
) null_rest_of_line
;
r... |
programs/oeis/087/A087737.asm | neoneye/loda | 22 | 167546 | <filename>programs/oeis/087/A087737.asm
; A087737: Value of (n,n+1) concatenated in binary representation.
; 6,11,28,37,46,55,120,137,154,171,188,205,222,239,496,529,562,595,628,661,694,727,760,793,826,859,892,925,958,991,2016,2081,2146,2211,2276,2341,2406,2471,2536,2601,2666,2731,2796,2861,2926,2991,3056,3121,3186,325... |
Task/The-Twelve-Days-of-Christmas/Ada/the-twelve-days-of-christmas.ada | LaudateCorpus1/RosettaCodeData | 1 | 10943 | <gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
procedure Twelve_Days_Of_Christmas is
type Days is (First, Second, Third, Fourth, Fifth, Sixth,
Seventh, Eighth, Ninth, Tenth, Eleventh, Twelfth);
package E_IO is new Ada.Text_IO.Enumeration_IO(... |
Notational Velocity/NV-OpenTopBookmark.applescript | rogues-gallery/applescript | 360 | 611 | --- Opens the top bookmark in NV
tell application "nvALT"
activate
tell application "System Events"
key code 18 using command down
end tell
end tell
--- http://www.github.com/unforswearing
|
include/xcb_atom.ads | docandrew/troodon | 5 | 27439 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
with bits_stdint_uintn_h;
package xcb_atom is
function xcb_atom_name_by_screen (base : Interfaces.C.Strings.chars_ptr; screen : bits_stdint_uintn_h.uint8_t) return Interfaces.C.Strings.chars_ptr -- /usr/in... |
oeis/045/A045737.asm | neoneye/loda-programs | 11 | 95517 | ; A045737: Number of nonroot branch nodes in all noncrossing rooted trees on n nodes on a circle.
; Submitted by <NAME>(s4)
; 0,0,3,28,210,1470,9996,67032,446292,2960100,19594575,129585456,856703848,5663913528,37454912040,247778648880,1639890119016,10858731869160,71939098633185,476841658085100,3162310375905450,20982206... |
Evernote Sed.applescript | thomasleplus/macosx | 4 | 1007 | <gh_stars>1-10
on run argv
tell application "Evernote"
synchronize
set theNotes to find notes
repeat with aNote in theNotes
set oldTitle to title of aNote as string
-- let's escape single quotes
set delim to AppleScript's text item delimiters
set AppleScript's text item delimiters to "'"
set the p... |
text/maps/rock_tunnel_pokecenter.asm | adhi-thirumala/EvoYellow | 16 | 93021 | _RockTunnelPokecenterText2::
text "The element types"
line "of #MON make"
cont "them stronger"
cont "than some types"
cont "and weaker than"
cont "others!"
done
_RockTunnelPokecenterText3::
text "I sold a useless"
line "NUGGET for ¥5000!"
done
|
data/baseStats/eevee.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 6460 | db EEVEE ; pokedex id
db 55 ; base hp
db 55 ; base attack
db 55 ; base defense
db 55 ; base speed
db 55 ; base special
db NORMAL ; species type 1
db NORMAL ; species type 2
db 45 ; catch rate
db 92 ; base exp yield
INCBIN "pic/gsmon/eevee.pic",0,1 ; 55, sprite dimensions
dw EeveePicFront
dw EeveePicBack
; attacks known... |
src/sparknacl-utils.adb | rod-chapman/SPARKNaCl | 76 | 14984 | <filename>src/sparknacl-utils.adb
with Ada.Unchecked_Conversion;
package body SPARKNaCl.Utils
with SPARK_Mode => On
is
pragma Warnings (GNATProve, Off, "pragma * ignored (not yet supported)");
function To_U32 is new Ada.Unchecked_Conversion (I32, U32);
function To_I32 is new Ada.Unchecked_Conversion (U32, I... |
src/kernel.asm | jasonmel/jasonmel-os | 0 | 167622 | [BITS 16]
;;;;; segment .text ;;;;;
segment .text
_start:
; set stack from 0x9000:0000 to 0x9000:FFFF
mov ax, 0x9000
mov ss, ax
mov sp, 0xFFFF
; show welcome
push welcome
call print_str
pop cx
push ds
; copy table here from 0x0080:0000 to 0x0100:label0
mov ax, 0x0080
mov ds, ax
mov ax, 0x0100
mov es, ... |
programs/oeis/240/A240877.asm | neoneye/loda | 22 | 175421 | <reponame>neoneye/loda
; A240877: Sum of the denominators of the Farey series of order n (A006843).
; 1,2,4,10,18,38,50,92,124,178,218,328,376,532,616,736,864,1136,1244,1586,1746,1998,2218,2724,2916,3416,3728,4214,4550,5362,5602,6532,7044,7704,8248,9088,9520,10852,11536,12472,13112,14752,15256,17062,17942,19022,20034,2... |
Task/Function-definition/Ada/function-definition-5.ada | LaudateCorpus1/RosettaCodeData | 1 | 18960 | <reponame>LaudateCorpus1/RosettaCodeData
function Multiply (A, B : Number) return Number is
begin
return A * B;
end Multiply;
|
libsrc/_DEVELOPMENT/font/fzx/fonts/ao/SpecDings/_ff_ao_SpecDings.asm | jpoikela/z88dk | 640 | 176872 | <gh_stars>100-1000
SECTION rodata_font
SECTION rodata_font_fzx
PUBLIC _ff_ao_SpecDings
_ff_ao_SpecDings:
BINARY "font/fzx/fonts/ao/SpecDings/SpecDings.fzx"
|
Driver/Printer/PrintCom/Text/Font/fontEpsonFXInfo.asm | steakknife/pcgeos | 504 | 178327 | <filename>Driver/Printer/PrintCom/Text/Font/fontEpsonFXInfo.asm<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Epson model 9-pin drivers
FILE: fontEpsonFXInfo.asm
AUTHO... |
programs/oeis/100/A100057.asm | karttu/loda | 0 | 82112 | <reponame>karttu/loda
; A100057: Sum of absolute differences of p(n) defined in A054065, oriented around a clock.
; 2,4,8,12,18,24,30,40,50,60,70,80,96,112,128,144,160,176,192,208,234,260,286,312,338,364,390,416,442,468,494,520,546,588,630,672,714,756,798,840,882,924,966,1008,1050,1092,1134,1176,1218,1260,1302,1344,138... |
swap.asm | shaochenren/Assembly-swap | 0 | 98786 | ;shaochenren
extern printf
extern scanf
global swap
section .data
section .bss
section .text
swap:
push rbp ;Backup rbp
mov rbp,rsp ;The base pointer now points to top of stack
push rdi ... |
Categories/Families.agda | jmchapman/Relative-Monads | 21 | 16714 | <reponame>jmchapman/Relative-Monads
module Categories.Families where
open import Library
open import Categories
open Cat
Fam : Set → Cat
Fam I = record {
Obj = I → Set;
Hom = λ A B → ∀ {i} → A i → B i;
iden = id;
comp = λ f g → f ∘ g;
idl = refl;
idr = refl;
ass = refl}
|
alloy4fun_models/trashltl/models/8/b6XnWtBTrYvKjxNGs.als | Kaixi26/org.alloytools.alloy | 0 | 165 | <filename>alloy4fun_models/trashltl/models/8/b6XnWtBTrYvKjxNGs.als
open main
pred idb6XnWtBTrYvKjxNGs_prop9 {
always Protected not in Trash
}
pred __repair { idb6XnWtBTrYvKjxNGs_prop9 }
check __repair { idb6XnWtBTrYvKjxNGs_prop9 <=> prop9o } |
examples/rdrand_edx.asm | dd86k/ddcput | 1 | 169901 | <filename>examples/rdrand_edx.asm
; Compile with: NASM -fbin cpuid_1.asm
BITS 64 ; Avoids nasm putting the OPCODE prefix (66h)
RDRAND EDX |
Test/Assembler/Test01.asm | CharlesCarley/HackComputer | 0 | 241484 | // -- 01 --
@0 M=-1 // == -1
// -- 02 --
@256 D=A
@1 M=D // == 256
// -- 03 --
@123 MD=A
@2 M=D // == 123
// -- 04 --
@123 D=M // == 123
@3 M=D // == 123
// -- 05 --
@15 M=0
@15 M=M+1 D=M
@16384 A=D+A M=!M
D=M
@4 M=D
@15 M=M+1 D=M
@16384 A=D+A M=!M
D=M
@5 M=D
@... |
assembler/tests/t_cpualias/t_cpualias.asm | paulscottrobson/RCA-Cosmac-VIP-III | 0 | 93012 | cpu ATMEGAPRIVATE
ldi r16,5
loop: subi r16,1
brne loop
|
libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc/zx_pxy2saddr_callee.asm | jpoikela/z88dk | 640 | 21542 |
; void *zx_pxy2saddr_callee(uchar x, uchar y)
SECTION code_clib
SECTION code_arch
PUBLIC _zx_pxy2saddr_callee
EXTERN asm_zx_pxy2saddr
_zx_pxy2saddr_callee:
pop hl
ex (sp),hl
jp asm_zx_pxy2saddr
|
asm/dos_reveal_map.asm | Iemnur/DSVEdit | 70 | 28136 | .nds
.relativeinclude on
.erroronwarning on
; Makes the entire map visible but greyed out from the start.
.open "ftc/arm9.bin", 02000000h
.org 0x020220C4
; Make the game not care if you have the map items and just always draw unvisited tiles.
mov r1, r8
nop
.org 0x02024BE8
; Makes rooms never be counted as ... |
source/amf/uml/amf-internals-uml_actors.ads | svn2github/matreshka | 24 | 29057 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
libsrc/_DEVELOPMENT/fcntl/z80/__fcntl_fdstruct_from_fd_2.asm | jpoikela/z88dk | 640 | 169545 |
SECTION code_clib
SECTION code_fcntl
PUBLIC __fcntl_fdstruct_from_fd_2
EXTERN __fcntl_fdstruct_from_fd_1, error_ebdfd_zc
__fcntl_fdstruct_from_fd_2:
; return FDSTRUCT* at index fd
;
; enter : hl = int fd
;
; exit : success
;
; ix = de = FDSTRUCT *
; hl = & fdtbl[fd] + 1... |
alloy4fun_models/trashltl/models/6/L3nQrfm4qjoLmLDEb.als | Kaixi26/org.alloytools.alloy | 0 | 2623 | open main
pred idL3nQrfm4qjoLmLDEb_prop7 {
always all f : File | f in Protected
}
pred __repair { idL3nQrfm4qjoLmLDEb_prop7 }
check __repair { idL3nQrfm4qjoLmLDEb_prop7 <=> prop7o } |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_1_1335.asm | ljhsiun2/medusa | 9 | 98377 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %rax
push %rbx
push %rcx
push %rdi
// Store
lea addresses_A+0x14fe9, %rcx
mfence
movl $0x51525354, (%rcx)
nop
nop
nop
nop
cmp %r10, %r10
// Faulty Load
lea addresses_RW+0x18989, %r10
nop
nop
nop
nop
nop... |
kernel/asm.asm | Littledarren/os_exp | 0 | 245314 | <reponame>Littledarren/os_exp
[global TEMP_EAX]
[global TEMP_EBX]
[global TEMP_ECX]
[global TEMP_EDX]
[global TEMP_ESI]
[global TEMP_EBP]
[global TEMP_EDI]
[global TEMP_ESP]
[global TEMP_SS]
[global TEMP_DS]
[global TEMP_ES]
[global TEMP_FS]
[global TEMP_GS]
[global TEMP_CS]
[global TEMP_EIP]
[global... |
STEP/ANTLR gens/STEP.g4 | KarmaKamikaze/STEP | 1 | 6360 | grammar STEP;
// Parser Rules
// Program
program
: NL* variables? setuploop functions?
;
setuploop
: setup NL*
| loop NL*
| setup NL* loop NL*
;
setup
: SETUP stmt* ENDSETUP
;
loop
: LOOP stmt* ENDLOOP
... |
pkgs/tools/yasm/src/modules/objfmts/bin/tests/integer-warn.asm | manggoguy/parsec-modified | 2,151 | 245644 | <reponame>manggoguy/parsec-modified
; Tests warnings with integer constant handling (for output, not parsing)
db 0x51a
dw 0x3875bc
dd 0x35783134affff
dq 0xABCDEF012345678989abb
dt 0xa907bc890d0e907f0134afb8adee
|
src/main/antlr/Nottex.g4 | NoTTeX/NoTTeX | 1 | 3369 | <reponame>NoTTeX/NoTTeX<filename>src/main/antlr/Nottex.g4<gh_stars>1-10
grammar Nottex;
markupText : (functionCall
| tagUse
| text)+
;
functionCall : FUNCTION_MARKER name+=ALPHA(ALPHA|NUMBER)* ws LPAREN ws argumentsNode=funcArgs? ws RPAREN
;
tagUse : TAG_MARKER namesNode=tagIde... |
agda-stdlib/src/Data/Sum/Base.agda | DreamLinuxer/popl21-artifact | 5 | 2662 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Sums (disjoint unions)
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Sum.Base where
open import Data.Bool.Base using (true; false)
open... |
Lab1-1/lab1-1.adb | gabemgem/LITEC | 0 | 5447 | <gh_stars>0
M:lab1_1
F:G$SYSCLK_Init$0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$UART0_Init$0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$Sys_Init$0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$putchar$0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$getchar$0$0({2}DF,SC:U),C,0,0,0,0,0
F:G$getchar_nw$0$0({2}DF,SC:U),C,0,0,0,0,0
F:G$main$0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$Port_In... |
src/main/antlr/WebbyParser.g4 | ftomassetti/webby | 0 | 4962 | <filename>src/main/antlr/WebbyParser.g4<gh_stars>0
parser grammar WebbyParser;
options { tokenVocab=WebbyLexer; }
webbyFile : (elements=topLevelElement)* EOF
;
newlines : NEWLINE+
;
topLevelElement : constant
| variable
| route
;
constant : CONST n... |
oeis/045/A045309.asm | neoneye/loda-programs | 11 | 7158 | ; A045309: Primes congruent to {0, 2} mod 3.
; Submitted by <NAME>
; 2,3,5,11,17,23,29,41,47,53,59,71,83,89,101,107,113,131,137,149,167,173,179,191,197,227,233,239,251,257,263,269,281,293,311,317,347,353,359,383,389,401,419,431,443,449,461,467,479,491,503,509,521,557,563,569,587,593,599,617,641,647,653,659,677,683,701,... |
game1/globals.asm | w84death/arm-assembly | 3 | 94604 | @ ---------------------------------------------------
@
@ Raspberry Pi Assembly GAME#1 by KJ/P1X
@
@ http://p1x.in | http://krzysztofjankowski.com
@ https://github.com/w84death/arm-assembly
@
@ ---------------------------------------------------
.arm
.data
@ text styles
.equ welcome_style, 32 @ clear screen +... |
programs/oeis/220/A220073.asm | neoneye/loda | 22 | 104729 | <filename>programs/oeis/220/A220073.asm
; A220073: Mirror of the triangle A130517.
; 1,1,2,2,1,3,3,1,2,4,4,2,1,3,5,5,3,1,2,4,6,6,4,2,1,3,5,7,7,5,3,1,2,4,6,8,8,6,4,2,1,3,5,7,9,9,7,5,3,1,2,4,6,8,10,10,8,6,4,2,1,3,5,7,9,11,11,9,7,5,3,1,2,4,6,8,10,12,12,10,8,6,4,2,1,3,5,7,9,11,13,13,11,9,7,5,3,1,2,4
mul $0,2
add $0,1
seq ... |
test/asset/agda-stdlib-1.0/Relation/Nullary/Implication.agda | omega12345/agda-mode | 0 | 14584 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Implications of nullary relations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Relation.Nullary.Implication where
open import Relation.Null... |
src/main/antlr/jsonsql/Sql.g4 | tim-patterson/jsonsql | 3 | 1925 | <reponame>tim-patterson/jsonsql
grammar Sql;
@header {
package jsonsql;
}
stmt
: select_stmt ';'
| describe_stmt ';'
| EXPLAIN select_stmt ';'
| insert_stmt ';'
;
insert_stmt
: INSERT INTO? table select_stmt
;
select_stmt
: SELECT named_expr ( ',' named_expr )* FROM source predicate? group_by? orde... |
beacon/stager/syscalls64.asm | paralax/shad0w | 3 | 81106 | <reponame>paralax/shad0w
section .text
; Windows 10 definitions
global NtAllocateVirtualMemory10
global NtProtectVirtualMemory10
; Windows 8.1 definitions
global NtAllocateVirtualMemory81
global NtProtectVirtualMemory81
; Windows 10
; ----------------------------------------
NtAllocateVirtualMemory10:
mov r10, rcx
... |
Cubical/Algebra/CommRing/Localisation/Base.agda | dolio/cubical | 0 | 6479 | -- We define the localisation of a commutative ring
-- at a multiplicatively closed subset and show that it
-- has a commutative ring structure.
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Algebra.CommRing.Localisation.Base where
open import Cubical.Foundations.Prelude
open import Cubical.F... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_83_412.asm | ljhsiun2/medusa | 9 | 91227 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_83_412.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xc920, %rbx
nop
nop
cmp %rdx, %rdx
mov (%rbx), %ecx
nop
xor %r11, %r11
lea add... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/controlled2.adb | best08618/asylo | 7 | 29011 | -- { dg-do compile }
with controlled1; use controlled1;
package body controlled2 is
procedure Test_Suite is
begin
Add_Test
(new Test_Case'(Test_Case1 with Link_Under_Test => 300));
end Test_Suite;
end controlled2;
|
programs/oeis/296/A296200.asm | neoneye/loda | 22 | 164649 | ; A296200: Harary index of the n X n white bishop graph.
; 1,5,21,47,104,182,318,490,755,1075,1531,2065,2786,3612,4684,5892,7413,9105,11185,13475,16236,19250,22826,26702,31239,36127,41783,47845,54790,62200,70616,79560,89641,100317,112269,124887,138928,153710,170070,187250
mov $2,$0
add $2,1
mov $6,$0
lpb $2
mov $0,$... |
gtkada_backend/example/engine_control_ui.ads | Fabien-Chouteau/Giza | 7 | 28902 | <reponame>Fabien-Chouteau/Giza<gh_stars>1-10
with Giza.Windows;
with Giza.Widgets.Tabs; use Giza.Widgets.Tabs;
with Giza.Widgets.Composite; use Giza.Widgets.Composite;
with RPM_Widget; use RPM_Widget;
with Power_Phase_Widget; use Power_Phase_Widget;
with Giza.Widgets.Number_Selection; use Giza.Widgets.Number_Selection... |
libsrc/_DEVELOPMENT/string/c/sccz80/strtok_r.asm | teknoplop/z88dk | 8 | 6239 |
; char *strtok_r(char * restrict s, const char * restrict sep, char ** restrict lasts)
SECTION code_clib
SECTION code_string
PUBLIC strtok_r
EXTERN asm_strtok_r
strtok_r:
pop af
pop bc
pop de
pop hl
push hl
push de
push bc
push af
jp asm_strtok_r
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_21829_125.asm | ljhsiun2/medusa | 9 | 88617 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r8
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x19062, %r9
nop
nop
add %rbp, %rbp
mov $0x6162636465666768, %rax
movq %rax, %xmm3
vmovups %ymm3, (%r9)
nop
nop
xor %r8, %r8
lea addresses_WT_ht+0x173e2, %rsi
lea... |
jraphql-parser-antlr/src/main/antlr4/me/wener/jraphql/parser/antlr/GraphQL.g4 | wenerme/jraphql | 4 | 2617 | // GraphQL Grammer
// ==============
// https://github.com/wenerme/wener/tree/master/tricks/languages/antlr/GraphQL.g4
//
// Appendix B -- Grammar Summary.md https://github.com/facebook/graphql/blob/master/spec/Appendix%20B%20--%20Grammar%20Summary.md
//
// Changes - search `//extension` in grammer to find out where ha... |
programs/main.asm | poeticAndroid/cyberbit | 1 | 4691 | ;; z28r asm
jump main
ext printStr 0x5020 2
ext readLn 0x5024 2
ext open 0x503c 3
ext read 0x5040 2
data prompt_str "\nProgram: \0"
end
fn main args
vars len
let len = true
while len
let len = open 0x20726964 buffer 0
read buffer len
printStr buffer -1
printStr prompt_str -1
store buffer 0
... |
oeis/306/A306863.asm | neoneye/loda-programs | 11 | 22323 | ; A306863: a(n) is the number of primes between the n-th and (n+1)-st odd composite numbers.
; Submitted by <NAME>
; 2,2,1,0,2,0,1,2,1,0,1,0,2,0,1,2,0,1,1,0,1,0,0,1,2,2,1,0,0,0,0,0,1,1,0,2,0,0,0,2,0,1,0,1,1,0,1,0,2,0,0,0,2,2,0,0,0,0,1,0,0,0,0,1,2,1,0,2,0,0,0,1,0,1,0,1,0,2,0,1,2,0,0,0,1,0,0
add $0,1
seq $0,196274 ; Hal... |
programs/oeis/047/A047264.asm | karttu/loda | 1 | 165947 | ; A047264: Numbers that are congruent to 0 or 5 mod 6.
; 0,5,6,11,12,17,18,23,24,29,30,35,36,41,42,47,48,53,54,59,60,65,66,71,72,77,78,83,84,89,90,95,96,101,102,107,108,113,114,119,120,125,126,131,132,137,138,143,144,149,150,155,156,161,162,167,168,173,174,179,180,185,186,191,192,197,198,203,204,209,210,215,216,221,222... |
functions.asm | gaozihang/learning-asm | 0 | 4277 | atoi:
push ebx
push ecx
push edx
push esi
mov esi, eax
mov eax, 0
mov ecx, 0
.multiplyLoop:
xor ebx, ebx
mov bl, [esi + ecx]
cmp bl, 48
jl .finished
cmp bl, 57
jg .finished
sub bl, 48
add eax, ebx
mov ebx, 10
mul ebx
inc ecx
jmp .multiplyLoop
.finished:
cmp ecx, 0
je .rest... |
flame32-libs/unit-tests/test-and-1.asm | drako0812/flame32 | 2 | 4399 | <reponame>drako0812/flame32
#include "../../flame32.asm"
; Tests AND
lod 0x12345678
ldl B, 0x0x0000FFFF
and A, B
; 0x00005678
|
res/06.collatz.asm | francesquini/minips | 4 | 105530 | .data
prompt: .asciiz "Digite o n para calcular o comprimento da sequencia de collatz(n). 0 (zero) finaliza a execução: " # String com \0 no final
prompt2: .asciiz "Collatz(n) = "
.text
inicio:
la $a0, prompt # coloca em a0 o parâmetro da chamada a syscall
li $v0, 4 # 4 é o código para imprimir... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-strmap.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 12249 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
oeis/268/A268358.asm | neoneye/loda-programs | 11 | 246490 | ; A268358: Number of n-digit numbers in base ten having at least five different digits with no leading zeros allowed.
; Submitted by <NAME>
; 27216,544320,7212240,81648000,862774416,8839212480,89320326480,897169996800,8988342579216,89952351128640,899806333018320,8999216089718400,89996836576073616,899987262844420800,899... |
userland/test/syscall.asm | Narasimha1997/r3 | 65 | 99188 | [bits 64]
section .data
msg: db "Hello, World!", 10
t_sec: dq 4
t_usec: dq 0
global _start
_fork:
mov rax, 11
int 0x80
ret
section .text
_start:
call _fork
call _fork
call _fork
LOOP_START:
mov rax, 1
mov rdi, 1
mov rsi, msg
mov rdx, 14
int 0x80
mov rdi, t_sec
mov rax, 46
int 0x80
jmp LOOP_START
|
rom/dos/errors.asm | hisahi/ellipse1100 | 0 | 7820 | <filename>rom/dos/errors.asm<gh_stars>0
; Ellipse Workstation 1100 (fictitious computer)
; Ellipse DOS error codes
;
; Copyright (c) 2020 <NAME> (hisahi)
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to de... |
iTunesScreenshotMaker.applescript | 1234224576/iTunesConnectScreenshotMaker | 0 | 817 | set filePaths to get (choose file of type {"png"} with multiple selections allowed)
set sizes_width to {750, 1242, 640, 640, 750, 2048}
set sizes_height to {1334, 2208, 1136, 960, 1024, 2732}
repeat with filePath in filePaths
set imagePath to get POSIX path of filePath
tell application "Finder"
set saveDirectory ... |
data/pokemon/dex_entries/stunky.asm | AtmaBuster/pokeplat-gen2 | 6 | 102282 | db "SKUNK@" ; species name
db "The foul fluid"
next "from its rear is"
next "so revolting that"
page "it can make people"
next "feel queasy up to"
next "1.25 miles away.@"
|
game/data/stages/plateau/screen.asm | benoitryder/super-tilt-bro | 91 | 102894 | stage_plateau_palette_data:
; Background
.byt $21,$0f,$00,$10, $21,$0f,$00,$31, $21,$09,$19,$31, $21,$07,$17,$27
; Sprites
.byt $21,$08,$1a,$20, $21,$08,$10,$37, $21,$08,$16,$10, $21,$08,$28,$37
; Temporary 3 char alias for tiles
#define TFP TILE_CHAR_PCT
nametable_flatland:
.byt ZIPNT_ZEROS(148)
.byt
.byt
.byt
; ... |
Numbers/Rationals/Definition.agda | Smaug123/agdaproofs | 4 | 14802 | {-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Numbers.Naturals.Definition
open import Numbers.Naturals.Naturals
open import Numbers.Integers.Integers
open import Groups.Groups
open import Groups.Definition
open import Groups.Lemmas
open import Rings.Definition
open import R... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_rational_arithmetic.adb | best08618/asylo | 7 | 12685 | -- { dg-do compile }
with Rational_Arithmetic;
use Rational_Arithmetic;
procedure Test_Rational_Arithmetic is
R: Rational := 10/2;
B: Boolean := R = 5/1; -- RHS cannot be a Whole
-- ("/" has been "undefined")
C: Boolean := R = Rational' (5/1);
D: Boolean := (6/3) = R;
E: Boole... |
Lab4/code/kernel/syscall.asm | Software-Knowledge/2020-OS-Lab | 0 | 179999 |
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; syscall.asm
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
; <NAME>, 2005
; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++... |
test/blink.asm | DJAndries/gpio2pic | 0 | 174268 | LIST p=16f876
INCLUDE "p16f876.inc"
CBLOCK 0x20
CNT1
CNT2
CNT3
ENDC
ORG 0x00
GOTO main
ORG 0x04
GOTO main
main BCF STATUS, RP0
BCF STATUS, RP1
CLRF PORTC
BSF STATUS, RP0
CLRF TRISC ; all pins are outputs
BCF STATUS, RP0
GOTO loop
setcnt MOVLW 0xFF
MOVWF CNT1
MOVLW 0xFF
MOVWF CNT2
MOVLW 0x01
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/taft_type1_pkg1.adb | best08618/asylo | 7 | 24077 | with Taft_Type1_Pkg2;
package body Taft_Type1_Pkg1 is
type TAMT1 is new Taft_Type1_Pkg2.Priv (X => 1);
type TAMT2 is new Taft_Type1_Pkg2.Priv;
procedure Check is
Ptr1 : TAMT1_Access := new TAMT1;
Ptr2 : TAMT2_Access := new TAMT2 (X => 2);
begin
if Ptr1.all.X /= 1 then
raise Prog... |
OS Term Project/assemblyInput7.asm | bubblecounter/OS-Simulation | 0 | 247674 | <gh_stars>0
LUI S4 0000000000000001
ORI S4 S4 0000000000000001
SYSCALL
ADD S1 V $0
SUB S2 S4 S1
BEQ S2 $0 0000000000101000
ADDI V $0 0000000000000001
ADD S0 $0 V
SYSCALL
ADD S3 $0 $0 |
kernel.asm | ggml1/Bootloader | 0 | 9404 | <filename>kernel.asm
org 0x7e00
jmp 0x0000:START
%macro random 1
mov word [modulo], %1
call RAND
%endmacro
modulo dw 0
RAND:
mov ah, 00h ; interrupt to get system time
int 1ah ; CX:DX has number of clock ticks since midnight (00:00)
mov ax, dx
xor dx, dx
mov cx, word [modulo]
div ... |
Classes.agda | esoeylemez/agda-simple | 1 | 7132 | <reponame>esoeylemez/agda-simple
-- Copyright: (c) 2016 <NAME>
-- License: BSD3
-- Maintainer: <NAME> <<EMAIL>>
module Classes where
record Plus {a} (A : Set a) : Set a where
field
_+_ : A → A → A
infixl 6 _+_
open Plus {{...}} public
record Times {a} (A : Set a) : Set a where
field
{{plus}} : ... |
oeis/074/A074877.asm | neoneye/loda-programs | 11 | 27093 | <filename>oeis/074/A074877.asm
; A074877: Number of function calls required to compute ack(3,n), where ack denotes the Ackermann function.
; Submitted by <NAME>
; 15,106,541,2432,10307,42438,172233,693964,2785999,11164370,44698325,178875096,715664091,2862983902,11452590817,45811673828,183249316583,733002509034,29320205... |
Cubical/Data/Sum/Base.agda | limemloh/cubical | 0 | 1761 | {-# OPTIONS --cubical --safe #-}
module Cubical.Data.Sum.Base where
open import Cubical.Core.Everything
private
variable
ℓ ℓ' : Level
A B C D : Type ℓ
data _⊎_ (A : Type ℓ)(B : Type ℓ') : Type (ℓ-max ℓ ℓ') where
inl : A → A ⊎ B
inr : B → A ⊎ B
elim-⊎ : {C : A ⊎ B → Type ℓ} → ((a : A) → C (inl a)) → (... |
examples/nonce/demo_ada.adb | jrmarino/libsodium-ada | 10 | 448 | with Sodium.Functions; use Sodium.Functions;
with Ada.Text_IO; use Ada.Text_IO;
procedure Demo_Ada
is
FF : constant Character := Character'Val (255);
n1 : String (1 .. 3) := (others => ASCII.NUL);
n2 : String (1 .. 3) := (others => FF);
n3 : String (1 .. 3) := (3 => Character'Val (254), others => ASCII.NUL... |
oeis/099/A099273.asm | neoneye/loda-programs | 11 | 87907 | ; A099273: Unsigned member r=-15 of the family of Chebyshev sequences S_r(n) defined in A092184.
; Submitted by <NAME>
; 0,1,15,256,4335,73441,1244160,21077281,357069615,6049106176,102477735375,1736072395201,29410752983040,498246728316481,8440783628397135,142995074954434816,2422475490596994735
mov $2,1
lpb $0
sub $0... |
oeis/250/A250754.asm | neoneye/loda-programs | 11 | 102330 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A250754: Number of (n+1) X (7+1) 0..2 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing x(i,j)+x(i-1,j) in the j direction.
; Submitted by <NAME>(s3)
; 527,1707,5471,17211,53327,163467,497471,1506651,4548527,13702827,41223071,123898491,37215... |
Mockingbird/Problems/Chapter12.agda | splintah/combinatory-logic | 1 | 2090 | <filename>Mockingbird/Problems/Chapter12.agda
open import Mockingbird.Forest using (Forest)
-- Mockingbirds, Warblers, and Starlings
module Mockingbird.Problems.Chapter12 {b ℓ} (forest : Forest {b} {ℓ}) where
open import Data.Product using (_×_; _,_; proj₁; ∃-syntax)
open import Function using (_$_)
open import Mock... |
test/Fail/Issue4606.agda | shlevy/agda | 1,989 | 1491 | <gh_stars>1000+
{-# OPTIONS --cubical #-}
module Issue4606 where
open import Agda.Builtin.Cubical.Path
open import Agda.Primitive.Cubical
-- Test case from <NAME>.
----------------------------------------------------------------------
-- Well-Founded Recursion
--------------------------------------------------------... |
programs/oeis/171/A171476.asm | karttu/loda | 1 | 172664 | ; A171476: a(n) = 6*a(n-1)-8*a(n-2) for n>1, a(0)=1, a(1)=6.
; 1,6,28,120,496,2016,8128,32640,130816,523776,2096128,8386560,33550336,134209536,536854528,2147450880,8589869056,34359607296,137438691328,549755289600,2199022206976,8796090925056,35184367894528,140737479966720,562949936644096,2251799780130816,900719918763212... |
src/Calf/Types/BigO.agda | jonsterling/agda-calf | 29 | 17354 | <reponame>jonsterling/agda-calf
{-# OPTIONS --prop --without-K --rewriting #-}
-- Big-O bound on the cost of a computation.
open import Calf.CostMonoid
module Calf.Types.BigO (costMonoid : CostMonoid) where
open CostMonoid costMonoid
open import Calf.Prelude
open import Calf.Metalanguage
open import Calf.Step cost... |
tests/src/sha2_streams_tests.ads | AntonMeep/sha2 | 0 | 21183 | <reponame>AntonMeep/sha2<filename>tests/src/sha2_streams_tests.ads<gh_stars>0
with AUnit.Test_Fixtures;
with AUnit.Test_Suites;
package SHA2_Streams_Tests is
function Suite return AUnit.Test_Suites.Access_Test_Suite;
private
type Fixture is new AUnit.Test_Fixtures.Test_Fixture with null record;
procedure SHA... |
sharding-core/sharding-core-parse/sharding-core-parse-oracle/src/main/antlr4/imports/oracle/DCLStatement.g4 | minli04g/incubator-shardingsphere | 0 | 6443 | <reponame>minli04g/incubator-shardingsphere<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 A... |
tests/src/NewThis.asm | meghanto/tiny_vm | 2 | 85045 | <filename>tests/src/NewThis.asm
# Allocating a new object of the current class
# Class wraps a single Int
.class NewThis:Obj
.field x
.method $constructor
.args initial
enter
load initial
load $
store_field $:x
const "Creating a NewThis object, value "
call String:print
pop
load $
... |
libpal/intel_64bit_ms64_masm/read_cr2.asm | mars-research/pal | 26 | 161632 | .code
pal_execute_read_cr2 proc
mov rax, cr2;
ret;
pal_execute_read_cr2 endp
end
|
examples/shared/common/gui/lcd_std_out.ads | rocher/Ada_Drivers_Library | 192 | 15604 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
Assembly/keyboard/textbox_longNames.asm | WildGenie/Ninokuni | 14 | 164683 | ;;----------------------------------------------------------------------------;;
;; Fix the position of the textboxes
;; Copyright 2015 <NAME> (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a ... |
Transynther/x86/_processed/NC/_st_zr_sm_/i7-8650U_0xd2.log_1089_343.asm | ljhsiun2/medusa | 9 | 924 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x171e5, %r11
nop
nop
add $49417, %r8
mov (%r11), %edi
nop
nop
sub $23453, %r14
lea addresses_D_ht+0x10539, %r14
nop
nop
add %rax, %rax
movb (%r14... |
include/bits_types_struct_timespec_h.ads | docandrew/troodon | 5 | 9560 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with bits_types_h;
package bits_types_struct_timespec_h is
-- NB: Include guard matches what <linux/time.h> uses.
-- POSIX.1b structure for a time value. This is like a `struct timeval' but
-- has nanoseconds instead of micr... |
P6/data_P6_2/cal_R_same_test41.asm | alxzzhou/BUAA_CO_2020 | 1 | 99706 | lui $1,46731
ori $1,$1,13362
lui $2,16861
ori $2,$2,42828
lui $3,64629
ori $3,$3,4562
lui $4,22312
ori $4,$4,3598
lui $5,47778
ori $5,$5,46211
lui $6,44910
ori $6,$6,21931
mthi $1
mtlo $2
sec0:
nop
nop
nop
subu $3,$6,$6
sec1:
nop
nop
and $6,$3,$2
subu $2,$6,$6
sec2:
nop
nop
sltiu $6,$2,9872
subu $4,$6,$6
se... |
programs/fontedit.asm | shoaib-jamal/MichalOS | 0 | 176352 | ; ------------------------------------------------------------------
; MichalOS Font Editor
; ------------------------------------------------------------------
%INCLUDE "michalos.inc"
start:
call .draw_background
push ds
mov ax, 800h
mov ds, ax
mov cx, 4096 / 4
mov si, 0
mov di, 16384
rep movsd
pop... |
汇编语言/第12章/t12.asm | jckling/only-python | 1 | 245789 | ;编写0号中断的处理程序
;在屏幕中间显示字符串,然后返回DOS
assume cs:code
code segment
start:
mov ax,cs
mov ds,ax
mov si,offset do0
mov ax,0 ;设置ds:si指向源地址
mov es,ax
mov di,200h ;设置es:di指向目的地址
mov cx,offset do0end-offset do0 ;设置cx为传输长度
cld ;设置传输方向为正
rep movsb
mov ax,0 ;设置中断向量表
mov es,ax
mov word ptr es:[0*4],2... |
45/qb/ir/exstmisc.asm | minblock/msdos | 0 | 89019 | page 49,132
TITLE exstmisc.asm - misc. statement executors
;***
;exstmisc.asm - statement executors for QBI
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
;
;
;****************************************************************************
.xlist
include version.inc
EXSTMISC_ASM = ON
IncludeOnce architec
... |
common/sgx/rand.asm | ichetty/openenclave | 1 | 171218 | ;; Copyright (c) Microsoft Corporation. All rights reserved.
;; Licensed under the MIT License.
.CODE
PUBLIC oe_rdrand
oe_rdrand PROC
_rdrand_retry:
rdrand rax
jc _rdrand_epilogue
pause
jmp _rdrand_retry
_rdrand_epilogue:
ret
oe_rdrand ENDP
PUBLIC oe_rdseed
oe_rdseed PROC
_rdseed_retry:
rd... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_157.asm | ljhsiun2/medusa | 9 | 174428 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x2ae, %rsi
nop
nop
nop
nop
and $43331, %r9
movb $0x61, (%rsi)
nop
nop
cmp %r13, %r13
lea addresses_normal_ht+0x156e, %rsi
nop
nop
nop
and %rbp, %rbp
mov $0x6162636465666768, %... |
Definition/Conversion/Conversion.agda | CoqHott/logrel-mltt | 2 | 2505 | {-# OPTIONS --safe #-}
module Definition.Conversion.Conversion where
open import Definition.Untyped
open import Definition.Typed
open import Definition.Typed.RedSteps
open import Definition.Typed.Properties
open import Definition.Conversion
open import Definition.Conversion.Stability
open import Definition.Typed.Cons... |
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sccz80/cosh.asm | ahjelm/z88dk | 640 | 161995 | <reponame>ahjelm/z88dk<gh_stars>100-1000
SECTION code_fp_am9511
PUBLIC cosh
EXTERN cam32_sccz80_cosh
defc cosh = cam32_sccz80_cosh
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _cosh
EXTERN cam32_sdcc_dcc_cosh
defc _cosh = cam32_sdcc_dcc_cosh
ENDIF
|
oeis/056/A056525.asm | neoneye/loda-programs | 11 | 246068 | <gh_stars>10-100
; A056525: Palindromes with odd number of digits.
; Submitted by <NAME>(s2)
; 1,2,3,4,5,6,7,8,9,101,111,121,131,141,151,161,171,181,191,202,212,222,232,242,252,262,272,282,292,303,313,323,333,343,353,363,373,383,393,404,414,424,434,444,454,464,474,484,494,505,515,525,535,545,555,565,575,585,595,606,616... |
test/Fail/Issue1436-17.agda | cruhland/agda | 1,989 | 16665 | <reponame>cruhland/agda<filename>test/Fail/Issue1436-17.agda
module _ where
module A where
postulate
_∷_ _∙_ bind : Set
infixr 5 _∷_
infixr 5 _∙_
infix 1 bind
syntax bind c (λ x → d) = x ← c , d
module B where
postulate
_∷_ _∙_ bind : Set
infix 5 _∷_
infixr 4 _∙_
infixl 2 bind
synt... |
src/main/antlr4/empire/lang/Empire.g4 | srydberg/empire | 0 | 6783 | <gh_stars>0
grammar Empire;
prog
: binding*
statement*
EOF
;
binding
: 'bind' Identifier '=' Identifier
;
statement
: '(' condition* ')' outputBlock
;
condition
: Identifier '=' literal
;
literal
: Identifier
| RegexLiteral
;
outputBlock
: OutputBlock
;
Identifier
: Letter (Letter|... |
oeis/067/A067897.asm | neoneye/loda-programs | 11 | 100895 | ; A067897: a(n) = A000085(n) - (1 + Sum_{j=1..n-1} A000085(j)).
; Submitted by <NAME>(s1)
; 0,0,0,0,2,8,32,112,412,1504,5760,22464,91224,379424,1632896,7201472,32709136,152094976,725810176,3540883968,17680145184,90115509888,469094763008,2489169367808,13465672180160,74161734785536
mov $3,1
lpb $0
sub $0,1
sub $1,1
... |
alloy4fun_models/trainstlt/models/8/qKEGgQZCP6zM2oGTC.als | Kaixi26/org.alloytools.alloy | 0 | 2126 | <filename>alloy4fun_models/trainstlt/models/8/qKEGgQZCP6zM2oGTC.als
open main
pred idqKEGgQZCP6zM2oGTC_prop9 {
eventually Train.pos in Entry
}
pred __repair { idqKEGgQZCP6zM2oGTC_prop9 }
check __repair { idqKEGgQZCP6zM2oGTC_prop9 <=> prop9o } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.