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 |
|---|---|---|---|---|
grep.asm | Vignesh-Nadar/xv6 | 0 | 10990 |
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <grep>:
char buf[1024];
int match(char*, char*);
void
grep(char *pattern, int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 28 sub $0x28,%esp
int n, m;
char *p, *q;
... |
programs/oeis/122/A122958.asm | neoneye/loda | 22 | 88444 | ; A122958: a(0)=1, a(n) = 2 - 2^(n-1) for n>0.
; 1,1,0,-2,-6,-14,-30,-62,-126,-254,-510,-1022,-2046,-4094,-8190,-16382,-32766,-65534,-131070,-262142,-524286,-1048574,-2097150,-4194302,-8388606,-16777214,-33554430,-67108862,-134217726,-268435454,-536870910,-1073741822,-2147483646,-4294967294,-8589934590,-17179869182,-34... |
programs/oeis/286/A286997.asm | karttu/loda | 0 | 88807 | <gh_stars>0
; A286997: Positions of 0 in A286996; complement of A188383.
; 1,2,3,4,5,6,8,9,10,11,12,13,15,16,17,18,19,20,21,22,23,25,26,27,28,29,30,32,33,34,35,36,37,38,39,40,42,43,44,45,46,47,49,50,51,52,53,54,56,57,58,59,60,61,62,63,64,66,67,68,69,70,71,73,74,75,76,77,78,79,80,81,83,84,85,86,87,88,90,91,92,93,94,95,9... |
kernel.asm | JacobPoole/CS153_Lab | 0 | 6264 | <reponame>JacobPoole/CS153_Lab<filename>kernel.asm<gh_stars>0
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010... |
programs/oeis/014/A014263.asm | neoneye/loda | 22 | 20734 | <gh_stars>10-100
; A014263: Numbers that contain even digits only.
; 0,2,4,6,8,20,22,24,26,28,40,42,44,46,48,60,62,64,66,68,80,82,84,86,88,200,202,204,206,208,220,222,224,226,228,240,242,244,246,248,260,262,264,266,268,280,282,284,286,288,400,402,404,406,408,420,422,424,426,428,440,442,444,446,448,460,462,464,466,468,4... |
Appl/Art/Decks/GeoDeck/LMSpade3.asm | steakknife/pcgeos | 504 | 10059 | <reponame>steakknife/pcgeos
LMSpade3 label byte
word C_BLACK
Bitmap <71,100,BMC_PACKBITS,BMF_MONO>
db 0xf8, 0x00
db 0xf8, 0x00
db 0xf8, 0x00
db 0xf8, 0x00
db 0x01, 0x0f, 0xf8, 0xfa, 0x00
db 0x01, 0x0f, 0xf8, 0xfc, 0x00, 0x01, 0x04, 0x00
db 0x01, 0x0c, 0x38, 0xfc, 0x00, 0x01, 0x0e, 0x00
db 0x01, 0x0c... |
programs/oeis/008/A008966.asm | neoneye/loda | 22 | 84851 | <reponame>neoneye/loda
; A008966: 1 if n is squarefree, else 0.
; 1,1,1,0,1,1,1,0,0,1,1,0,1,1,1,0,1,0,1,0,1,1,1,0,0,1,0,0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0,0,0,1,0,1,0,1,0,1,1,1,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,0,0,1,1,1,0,0,1,1,0,1,1,1,0,1,0,1,0,1,1,1,0,1,0,0,0
seq $0,8833 ; Largest square dividing n.
min $0,2
mod... |
source/setup.ads | jquorning/Gauss | 4 | 10115 | <reponame>jquorning/Gauss
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
package Setup is... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/islessequal_callee.asm | jpoikela/z88dk | 640 | 164127 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC _islessequal_callee
EXTERN cm48_sdccix_islessequal_callee
defc _islessequal_callee = cm48_sdccix_islessequal_callee
|
programs/oeis/214/A214698.asm | neoneye/loda | 22 | 87041 | ; A214698: (n^n - n^2)/2.
; 0,0,9,120,1550,23310,411747,8388576,193710204,4999999950,142655835245,4458050224056,151437553296042,5556003412778910,218946945190429575,9223372036854775680,413620130943168381944,19673204037648268787550,989209827830156794561809,52428799999999999999999800
mov $2,$0
add $0,1
mov $1,$0
add $2,1... |
Data/Either/Proofs.agda | Lolirofle/stuff-in-agda | 6 | 17343 | <gh_stars>1-10
module Data.Either.Proofs where
import Lvl
open import Data
open import Data.Either as Either
open import Data.Either.Equiv
open import Function.Equals
open import Functional
open import Logic.Propositional
open import Logic.Predicate
open import Structure.Setoid
open import Structure.Function
open... |
Categories/Discrete.agda | copumpkin/categories | 98 | 17087 | <filename>Categories/Discrete.agda
{-# OPTIONS --universe-polymorphism #-}
module Categories.Discrete where
open import Level
open import Data.Unit using (⊤)
open import Function using (flip)
open import Categories.Category
open import Categories.Support.PropositionalEquality
Discrete : ∀ {o} (A : Set o) → Category ... |
src/PJ/picdrive/pict2/bytecopy.asm | AnimatorPro/Animator-Pro | 119 | 178223 | <filename>src/PJ/picdrive/pict2/bytecopy.asm
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
;stuff_bytes(UBYTE data, UBYTE *buf, unsigned count)
;careful about passing a zero count. It will be interpreted as 4 Gigabytes.
public stuff_bytes
stuff_bytes proc near
push edi
push e... |
samples/foobar/foobar/dsl/Foo.g4 | baniuk/setuptools-antlr | 1 | 3262 | <filename>samples/foobar/foobar/dsl/Foo.g4<gh_stars>1-10
// Define a grammar called Foo
grammar Foo;
import Terminals;
r : 'foo' ID ; // match keyword foo followed by an identifier
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt61_pkg.ads | best08618/asylo | 7 | 6509 | with Interfaces;
package Opt61_Pkg is
subtype Int64 is Interfaces.Integer_64;
procedure Double_Divide
(X, Y, Z : Int64;
Q, R : out Int64;
Round : Boolean);
end Opt61_Pkg;
|
source/nodes/program-nodes-formal_signed_integer_type_definitions.adb | reznikmm/gela | 0 | 20849 | <filename>source/nodes/program-nodes-formal_signed_integer_type_definitions.adb
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Formal_Signed_Integer_Type_Definitions is
function Create
... |
programs/oeis/332/A332056.asm | neoneye/loda | 22 | 163081 | <filename>programs/oeis/332/A332056.asm
; A332056: a(1) = 1, then a(n+1) = a(n) - (-1)^a(n) Sum_{k=1..n} a(k): if a(n) is odd, add the partial sum, else subtract.
; 1,2,-1,1,4,-3,1,6,-5,1,8,-7,1,10,-9,1,12,-11,1,14,-13,1,16,-15,1,18,-17,1,20,-19,1,22,-21,1,24,-23,1,26,-25,1,28,-27,1,30,-29,1,32,-31,1,34,-33,1,36,-35,1,... |
Ports/RL78/GNURL78/os_cpu_a.asm | Qetu107/uC-OS2 | 169 | 243380 | ;********************************************************************************************************
; uC/OS-II
; The Real-Time Kernel
;
; Copyright 1992-2021 Silicon Laboratories Inc. www.silabs.com
;
; ... |
_inc/Start Location Array - Special Stages.asm | kodishmediacenter/msu-md-sonic | 9 | 85368 | <filename>_inc/Start Location Array - Special Stages.asm
; ---------------------------------------------------------------------------
; Special stage start locations
; ---------------------------------------------------------------------------
incbin "startpos\ss1.bin"
incbin "startpos\ss2.bin"
incbin "startpos... |
dsl/src/main/antlr4/MetaModel.g4 | kevoree-modeling/kmf | 1 | 160 | <filename>dsl/src/main/antlr4/MetaModel.g4
grammar MetaModel;
fragment ESC : '\\' (["\\/bfnrt] | UNICODE) ;
fragment UNICODE : 'u' HEX HEX HEX HEX ;
fragment HEX : [0-9a-fA-F] ;
STRING : '"' (ESC | ~["\\])* '"' | '\'' (ESC | ~["\\])* '\'' ;
IDENT : [a-zA-Z_][a-zA-Z_0-9]*;
TYPE_NAME : [a-zA-Z_][.a-zA-Z_0-9]*;
NUMBE... |
third_party/virtualbox/src/VBox/Disassembler/testcase/tstAsmPush-1.asm | Fimbure/icebox-1 | 521 | 86961 | <filename>third_party/virtualbox/src/VBox/Disassembler/testcase/tstAsmPush-1.asm<gh_stars>100-1000
; $Id: tstAsmPush-1.asm $
;; @file
; Disassembly testcase - Valid push sequences and related instructions.
;
; This is a build test, that means it will be assembled, disassembled,
; then the disassembly output will be ass... |
programs/oeis/126/A126605.asm | neoneye/loda | 22 | 10737 | ; A126605: Final three digits of 2^n.
; 1,2,4,8,16,32,64,128,256,512,24,48,96,192,384,768,536,72,144,288,576,152,304,608,216,432,864,728,456,912,824,648,296,592,184,368,736,472,944,888,776,552,104,208,416,832,664,328,656,312,624,248,496,992,984,968,936,872,744,488,976,952,904,808,616,232,464,928,856,712,424,848,696,392... |
thirdparty/glut/progs/ada/teapots_procs.adb | ShiroixD/pag_zad_2 | 1 | 12727 | --
-- (c) Copyright 1993,1994,1995,1996 Silicon Graphics, Inc.
-- ALL RIGHTS RESERVED
-- Permission to use, copy, modify, and distribute this software for
-- any purpose and without fee is hereby granted, provided that the above
-- copyright notice appear in all copies and that both the copyright notice
-- and th... |
oeis/160/A160065.asm | neoneye/loda-programs | 11 | 91014 | <filename>oeis/160/A160065.asm
; A160065: Numerator of Hermite(n, 21/25).
; Submitted by <NAME>
; 1,42,514,-83412,-5430804,188966232,41879106744,341675743248,-352091802793584,-18204613149810528,3196439029135777824,361808103596334268608,-28755096299570905798464,-6634835598526992072655488,188607219729893552173509504,1240... |
programs/oeis/158/A158630.asm | karttu/loda | 1 | 179910 | ; A158630: a(n) = 44*n^2+1.
; 1,45,177,397,705,1101,1585,2157,2817,3565,4401,5325,6337,7437,8625,9901,11265,12717,14257,15885,17601,19405,21297,23277,25345,27501,29745,32077,34497,37005,39601,42285,45057,47917,50865,53901,57025,60237,63537,66925,70401,73965,77617,81357,85185,89101,93105,97197,101377,105645,110001,11444... |
src/unit_tests/ut_commands.asm | maziac/dezogif | 2 | 80364 | <gh_stars>1-10
;========================================================
; ut_commands.asm
;
; Unit tests for the different UART commands.
;========================================================
MODULE ut_commands
test_memory_payload:
defs 1024
.end
defb 0 ; WPMEM
.length:
defw 0
; Helper function that i... |
_build/dispatcher/jmp_ippsGcd_BN_2c7e49f3.asm | zyktrcn/ippcp | 1 | 10178 | extern m7_ippsGcd_BN:function
extern n8_ippsGcd_BN:function
extern y8_ippsGcd_BN:function
extern e9_ippsGcd_BN:function
extern l9_ippsGcd_BN:function
extern n0_ippsGcd_BN:function
extern k0_ippsGcd_BN:function
extern ippcpJumpIndexForMergedLibs
extern ippcpSafeInit:function
segment .data
align 8
dq .Lin_ippsGcd_BN
.... |
oeis/079/A079884.asm | neoneye/loda-programs | 11 | 177786 | <filename>oeis/079/A079884.asm<gh_stars>10-100
; A079884: Number of comparisons required to create all permutations of n distinct elements using the "streamlined" version of Algorithm L (lexicographic permutation generation) from Knuth's The Art of Computer Programming, Vol. 4, chapter 7.2.1.2.
; Submitted by <NAME>
; ... |
oeis/349/A349847.asm | neoneye/loda-programs | 11 | 27497 | <gh_stars>10-100
; A349847: Expansion of (1 + 8*x) / sqrt(1 - 4*x).
; Submitted by <NAME>
; 1,10,22,68,230,812,2940,10824,40326,151580,573716,2183480,8347612,32033848,123321400,476050320,1842020550,7142249340,27743985060,107946346200,420608639220,1641030105000,6410161959240,25066222437360,98115049503900,384391435902552... |
Sources/swarm.adb | ForYouEyesOnly/Space-Convoy | 1 | 9128 | --
-- Jan & <NAME>, Australia, July 2011
--
with Callback_Procedures; use Callback_Procedures;
with Graphics_Setup; use Graphics_Setup;
with Exceptions; use Exceptions;
with GLUT;
procedure Swarm is
begin
Initialize_Graphics (Main_Operations'Access);
GLUT.MainLoop;
exception
when E : others =>... |
asm/string.asm | tylerdmace/lc3vm | 1 | 5713 | <reponame>tylerdmace/lc3vm<filename>asm/string.asm
.ORIG x3000 ; Address where program is loaded
LEA R0, TEST_STR ; Load the address of TEST_STR into R0
PUTs ; Ouput the string pointed to by R0 to STDOUT
HALT ; Halt... |
praks1/praks/praks5.asm | Leonid-98/AVR_ASM | 0 | 104162 | ldi r16, 0xFF
out 0x04, r16 // DDRB
ldi r17, 0b01000000
ldi r18, 0b01000000 // XOR (eor) mask
out 0x05, r17 // PORTB
.macro wait_2000_tact
ldi r21, 60
// ~60*33
loop1:
ldi r22, 10
// ~33
loop2:
dec r22
brne loop2
dec r21
brne loop1
.endmacro
main:
eor r17, r18
out 0x05, r17
start: wait_2000_t... |
data/player_names.asm | Trap-Master/spacworld97-thingy | 0 | 3184 | ChrisNameMenuHeader:
db MENU_BACKUP_TILES ; flags
menu_coords 0, 0, 10, TEXTBOX_Y - 1
dw .MaleNames
db 1 ; ????
db 0 ; default option
.MaleNames:
db STATICMENU_CURSOR | STATICMENU_PLACE_TITLE | STATICMENU_DISABLE_B ; flags
db 5 ; items
db "New Name@"
MalePlayerNameArray:
db "Mat@"
db "Purple@"
db "Allan@"
... |
programs/oeis/006/A006450.asm | neoneye/loda | 22 | 23948 | <filename>programs/oeis/006/A006450.asm
; A006450: Prime-indexed primes: primes with prime subscripts.
; 3,5,11,17,31,41,59,67,83,109,127,157,179,191,211,241,277,283,331,353,367,401,431,461,509,547,563,587,599,617,709,739,773,797,859,877,919,967,991,1031,1063,1087,1153,1171,1201,1217,1297,1409,1433,1447,1471,1499,1523,... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_pbutils_install_plugins_h.ads | persan/A-gst | 1 | 5707 | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with System;
with glib;
with glib.Values;
with System;
with glib;
package GStreamer.GST_Low_Level.gstreamer_0_10_gst_pbutils_install_plugins_h is
-- unsupported macro: GST_TYPE_INSTALL_PLUGINS_CONTEXT (gst_ins... |
source/strings/a-snmcma.adb | ytomino/drake | 33 | 20588 | pragma Check_Policy (Validate => Disable);
-- with Ada.Strings.Naked_Maps.Debug;
with Ada.UCD.Simple_Case_Mapping;
with System.Once;
with System.Reference_Counting;
package body Ada.Strings.Naked_Maps.Case_Mapping is
use type UCD.Difference_Base;
use type UCD.UCS_4;
procedure Decode (
Mapping : in out ... |
ada/string_int.ads | procrastiraptor/euler | 1 | 6739 | <gh_stars>1-10
package String_Int is
type Digit is new Character range '0' .. '9';
subtype Index is Positive;
type Number is array (Index range <>) of Digit;
function From_String(S: String) return Number;
function To_String(N: Number) return String;
function "+"(A, B: Number) return Number;
end Str... |
Scratch/print_hex.asm | SwordYork/slef | 8 | 5231 | print_hex:
pusha
cmp dx,0xface
jne _return
mov bx, HEX_OUT
call print_string
popa
ret
_return:
mov bx,HEX_OUT2
call print_string
popa
ret
HEX_OUT: db '0xface',0
HEX_OUT2: db '0xdada',0
|
test/backend/Expr.g4 | uwx/vscode-antlr4 | 8 | 2423 | <reponame>uwx/vscode-antlr4
grammar Expr;
prog: (formula NEWLINE)* ;
formula: expr (LOGICAL expr)*;
expr : expr_real
| '(' expr_real ')';
expr_real : 'A' OPERATOR A_value
| 'A' IN '(' A_value (',' A_value )* ')'
'B' OPERATOR B_value
| 'B' IN '(' B_value (',' B_value )* ')'
'C' OPERATOR C_value
... |
Task/Reverse-words-in-a-string/Ada/reverse-words-in-a-string-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 15674 | <reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10
package body Simple_Parse is
function Next_Word(S: String; Point: in out Positive) return String is
Start: Positive := Point;
Stop: Natural;
begin
while Start <= S'Last and then S(Start) = ' ' loop
Start := Start + 1;
end loop; -- n... |
examples/outdated-and-incorrect/tait/Lambda.agda | asr/agda-kanso | 1 | 1878 |
module Lambda where
open import Prelude
-- Simply typed λ-calculus
infixr 70 _⟶_
data Type : Set where
ι : Type
_⟶_ : Type -> Type -> Type
Ctx : Set
Ctx = List Type
infixl 80 _•_
infix 20 ƛ_
data Term : Ctx -> Type -> Set where
vz : forall {Γ τ } -> Term (Γ , τ) τ
wk : forall {Γ σ τ} -> Term Γ τ ... |
programs/oeis/013/A013712.asm | neoneye/loda | 22 | 169160 | <filename>programs/oeis/013/A013712.asm
; A013712: a(n) = 7^(2*n + 1).
; 7,343,16807,823543,40353607,1977326743,96889010407,4747561509943,232630513987207,11398895185373143,558545864083284007,27368747340080916343,1341068619663964900807,65712362363534280139543,3219905755813179726837607,157775382034845806615042743,7730993... |
programs/oeis/100/A100119.asm | karttu/loda | 1 | 243963 | ; A100119: a(n) = n-th centered n-gonal number.
; 1,2,7,19,41,76,127,197,289,406,551,727,937,1184,1471,1801,2177,2602,3079,3611,4201,4852,5567,6349,7201,8126,9127,10207,11369,12616,13951,15377,16897,18514,20231,22051,23977,26012,28159,30421,32801,35302,37927,40679,43561,46576,49727,53017,56449,60026,63751,67627,71657,7... |
llvm-gcc-4.2-2.9/gcc/ada/lib-util.ads | vidkidz/crossbridge | 1 | 23890 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
alloy4fun_models/trashltl/models/19/tY828XP9MGeYBa4X7.als | Kaixi26/org.alloytools.alloy | 0 | 5010 | <gh_stars>0
open main
pred idtY828XP9MGeYBa4X7_prop20 {
always (all f : Trash | f in Protected since f not in Trash)
}
pred __repair { idtY828XP9MGeYBa4X7_prop20 }
check __repair { idtY828XP9MGeYBa4X7_prop20 <=> prop20o } |
time.asm | dhruv410/Customized-Xv6 | 0 | 12919 | <reponame>dhruv410/Customized-Xv6
_time: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
#include "fs.h"
int main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71... |
models/logic/philosophers.als | c-luu/alloy-specs | 89 | 4840 |
open util/ordering[Table]
sig Table {
setting : P -> Fork
}
sig Fork {}
sig P {
next : P,
left, right : Fork
} {
right = next.@left
}
let update[table',settings'] = no table' or table'.setting=settings'
let take[ philosopher, fork, table, table'] {
no table.setting.fork
table'.update[ table.setting + p... |
test/interaction/Issue5250/Issue5250.agda | cagix/agda | 1,989 | 4789 |
F : (A A : Set) → Set
F A _ = A
|
Appl/GeoDex/Misc/miscMiddleColorBitmapPizza.asm | steakknife/pcgeos | 504 | 161762 | <reponame>steakknife/pcgeos<filename>Appl/GeoDex/Misc/miscMiddleColorBitmapPizza.asm<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT: GeoDex
MODULE: Misc
FILE: miscMiddleColorBitmapPizza.asm
AUTHOR:... |
programs/oeis/059/A059532.asm | karttu/loda | 0 | 22367 | <gh_stars>0
; A059532: Beatty sequence for 1 + Pi.
; 4,8,12,16,20,24,28,33,37,41,45,49,53,57,62,66,70,74,78,82,86,91,95,99,103,107,111,115,120,124,128,132,136,140,144,149,153,157,161,165,169,173,178,182,186,190,194,198,202,207,211,215,219,223,227,231,236,240,244,248,252,256,260,265,269,273,277,281,285,289,294,298,302,3... |
alloy4fun_models/trashltl/models/4/NjxK9raWaNr8YjYqd.als | Kaixi26/org.alloytools.alloy | 0 | 1058 | open main
pred idNjxK9raWaNr8YjYqd_prop5 {
some f:File |eventually f not in File
}
pred __repair { idNjxK9raWaNr8YjYqd_prop5 }
check __repair { idNjxK9raWaNr8YjYqd_prop5 <=> prop5o } |
programs/oeis/193/A193738.asm | karttu/loda | 0 | 5376 | ; A193738: Triangular array: the fusion of polynomial sequences P and Q given by p(n,x)=q(n,x)=x^n+x^(n-1)+...+x+1.
; 1,1,1,1,2,2,1,2,3,3,1,2,3,4,4,1,2,3,4,5,5,1,2,3,4,5,6,6,1,2,3,4,5,6,7,7,1,2,3,4,5,6,7,8,8,1,2,3,4,5,6,7,8,9,9,1,2,3,4,5,6,7,8,9,10,10,1,2,3,4,5,6,7,8,9,10,11,11,1,2,3,4,5,6,7,8,9,10,11,12,12,1,2,3,4,5,... |
source/web/tools/a2js/properties-declarations-package_instantiation.adb | svn2github/matreshka | 24 | 22330 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
src/base/properties/util-properties-discrete.ads | RREE/ada-util | 60 | 18997 | <reponame>RREE/ada-util<gh_stars>10-100
-----------------------------------------------------------------------
-- util-properties-discrete -- Generic package for get/set of discrete properties
-- Copyright (C) 2001, 2002, 2003, 2006, 2008, 2009, 2010, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under... |
_anim/obj2D.asm | vladjester2020/Sonic1TMR | 0 | 177431 | ; ---------------------------------------------------------------------------
; Animation script - Burrobot enemy
; ---------------------------------------------------------------------------
dc.w byte_AE4C-Ani_obj2D
dc.w byte_AE50-Ani_obj2D
dc.w byte_AE54-Ani_obj2D
dc.w byte_AE58-Ani_obj2D
byte_AE4C: dc... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-tporft.adb | orb-zhuchen/Orb | 0 | 12538 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
alloy4fun_models/trashltl/models/7/8m7zW8vfchkXxudvu.als | Kaixi26/org.alloytools.alloy | 0 | 3223 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id8m7zW8vfchkXxudvu_prop8 {
eventually (all f1,f2:File | eventually (f1->f2 in link implies f1 in Trash))
}
pred __repair { id8m7zW8vfchkXxudvu_prop8 }
check __repair { id8m7zW8vfchkXxudvu_prop8 <=> prop8o } |
Laboratorio/Relatorio_08/mips3.asm | 0Augusto/hello-world | 1 | 20903 | # x mapeado em $s1
.text
.globl teste
teste:
addi $16, $zero, 1 # x=1
addi $8, $zero, 0x1001
sll $8, $8, 16 # valor do adress para acessar a memória armazenado em $t0
lw $17, 0($t0) # load de x1 para $s1
lw $18, 4($t0) # load de x1 para $s2
lw $19, 8($t0) # load de x1 para $s3
lw $20, 12($t0) # load de x1 para $s4
... |
Lab4/lab4_1_2.asm | richardhyy/AssemblyLab | 3 | 4177 | assume cs:code
code segment
mov ax,0020h ;1
mov ds,ax ;2
mov bx,0040h ;3
s: sub bl,1 ;4
mov [bx],bl ;5
loop s ;6
mov ax,4c00h ;7
int 21h ;8
code ends
end
|
target/cos_117/disasm/iop_overlay1/START1.asm | jrrk2/cray-sim | 49 | 28573 | <reponame>jrrk2/cray-sim<gh_stars>10-100
0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0001 (0x000002) 0x291B- f:00024 d: 283 | OR[283] = A
0x0002 (0x000004) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0003 (0x000006) 0x291C- f:00024... |
oeis/249/A249453.asm | neoneye/loda-programs | 11 | 86590 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A249453: a(0) = 4; for n>0, a(n) = a(n-1) + 2^n - 3.
; 4,3,4,9,22,51,112,237,490,999,2020,4065,8158,16347,32728,65493,131026,262095,524236,1048521,2097094,4194243,8388544,16777149,33554362,67108791,134217652,268435377,536870830,1073741739,2147483560,4294967205,858993449... |
ClearLogbook.applescript | GitBruno/Things_Scripts | 1 | 3220 | # <NAME> 2013
# ClearLogbook.scpt - clears the log by deleting all containing entries.
tell application "Things" to activate
tell application "Things"
log completed now
empty trash
set loggedTodos to to dos of list "Logbook"
repeat with entry in loggedTodos
delete entry
end repeat
end tell
|
llvm-gcc-4.2-2.9/gcc/ada/g-speche.adb | vidkidz/crossbridge | 1 | 13204 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_308.asm | ljhsiun2/medusa | 9 | 175619 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rbp
push %rsi
lea addresses_UC_ht+0x12227, %r8
nop
nop
sub %r11, %r11
movb (%r8), %r13b
nop
nop
nop
nop
nop
sub $13719, %rsi
pop %rsi
pop %rbp
pop %r8
pop %r13
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push ... |
tools/spt-generator/src/com/ibm/ai4code/parser/c_multi/C11.g4 | yingkitw/Project_CodeNet | 1,156 | 4768 | <reponame>yingkitw/Project_CodeNet<filename>tools/spt-generator/src/com/ibm/ai4code/parser/c_multi/C11.g4<gh_stars>1000+
/*
[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 ... |
programs/oeis/266/A266957.asm | neoneye/loda | 22 | 102551 | ; A266957: Numbers m such that 9*m+10 is a square.
; -1,6,10,31,39,74,86,135,151,214,234,311,335,426,454,559,591,710,746,879,919,1066,1110,1271,1319,1494,1546,1735,1791,1994,2054,2271,2335,2566,2634,2879,2951,3210,3286,3559,3639,3926,4010,4311,4399,4714,4806,5135,5231,5574
seq $0,132355 ; Numbers of the form 9*h^2 + 2... |
programs/oeis/330/A330298.asm | neoneye/loda | 22 | 25579 | ; A330298: a(n) is the number of subsets of {1..n} that contain exactly 1 odd and 2 even numbers.
; 0,0,0,0,2,3,9,12,24,30,50,60,90,105,147,168,224,252,324,360,450,495,605,660,792,858,1014,1092,1274,1365,1575,1680,1920,2040,2312,2448,2754,2907,3249,3420,3800,3990,4410,4620,5082,5313,5819,6072,6624,6900,7500,7800,8450,8... |
src/main/antlr4/com/nibado/example/antlr4/query/Query.g4 | LingboTang/example-antlr4 | 1 | 3372 | <reponame>LingboTang/example-antlr4<gh_stars>1-10
grammar Query;
query: column_list EOF;
column_list: column ( ','+ column )*;
column: key OP value;
key: IDENTIFIER;
value: NUMBER | STRING;
IDENTIFIER: [a-zA-Z] [a-zA-Z0-9]*;
OP: EQ | GT | LT | GTE | LTE |NEQ;
EQ: '=';
GT: '>';
LT: '<';
GTE: '>=';
LTE: '<=';
NEQ... |
agda-stdlib/src/Data/List/Relation/Sublist/Propositional.agda | DreamLinuxer/popl21-artifact | 5 | 11067 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use
-- Data.List.Relation.Binary.Sublist.Propositional directly.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
mod... |
awa/plugins/awa-jobs/src/model/awa-jobs-models.adb | twdroeger/ada-awa | 0 | 12104 | -----------------------------------------------------------------------
-- AWA.Jobs.Models -- AWA.Jobs.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-body.xhtml
-- Ada Generator: https://ada-gen.goog... |
extras/overwrite_virus.asm | roguematter/malware-csg513 | 0 | 13448 | section .data
dir_name db '.',0
section .bss
self_len resd 1
st_buf resb 64
self_buf resb 1024
dir_buf resb 4096
section .text
global _start
_start:
;openself
pop ebx
pop ebx
mov eax,5
xor ecx,ecx
int 80h
;fstatself
mov ebx,eax
mov ecx,st_buf
mov eax,108
int 80h
;readlen
mov edx,dword[st_buf+20]
... |
data/evos_moves_original.asm | adhi-thirumala/EvoYellow | 16 | 171725 | <reponame>adhi-thirumala/EvoYellow
EvosMovesPointerTable:
dw Mon112_EvosMoves
dw Mon115_EvosMoves
dw Mon032_EvosMoves
dw Mon035_EvosMoves
dw Mon021_EvosMoves
dw Mon100_EvosMoves
dw Mon034_EvosMoves
dw Mon080_EvosMoves
dw Mon002_EvosMoves
dw Mon103_EvosMoves
dw Mon108_EvosMoves
dw Mon102_EvosMoves
dw Mon088... |
test/test.math.log2.asm | richRemer/atlatl | 0 | 23992 | global test_case
extern math.log2
extern sys.error
section .text
test_case:
mov rax, 1 ; argument
call math.log2 ; calculate
cmp rax, 0 ; should return 0
jnz .error ; failed test
mov rax, 2 ; argument
call math.log2 ; calcu... |
old/Structure/Logic/Classical/SetTheory/ZFC/FunctionSet.agda | Lolirofle/stuff-in-agda | 6 | 8529 | <reponame>Lolirofle/stuff-in-agda
open import Functional hiding (Domain)
import Structure.Logic.Classical.NaturalDeduction
import Structure.Logic.Classical.SetTheory.ZFC
module Structure.Logic.Classical.SetTheory.ZFC.FunctionSet {ℓₗ} {Formula} {ℓₘₗ} {Proof} {ℓₒ} {Domain} ⦃ classicLogic : _ ⦄ (_∈_ : Domain → ... |
solutions/31 - Checkerboard Organization/size-7_speed-90.asm | michaelgundlach/7billionhumans | 45 | 18687 | <gh_stars>10-100
-- 7 Billion Humans (2053) --
-- 31: Checkerboard Organization --
-- Author: soerface
-- Size: 7
-- Speed: 90
mem1 = nearest printer
a:
if c == nothing:
drop
takefrom mem1
step w,e
endif
step nw,sw,ne,se
jump a |
ConfluenceParallel.agda | iwilare/church-rosser | 5 | 10904 | <filename>ConfluenceParallel.agda
open import Data.Product using (∃; ∃-syntax; _×_; _,_)
open import DeBruijn
open import Parallel
open import Beta
par-diamond : ∀ {n} {M N N′ : Term n}
→ M ⇉ N → M ⇉ N′
-----------------------
→ ∃[ L ] (N ⇉ L × N′ ⇉ L)
par-diamond (⇉-c {x = x}) ⇉-c = # x , ⇉-c , ⇉-... |
src/coreclr/nativeaot/Runtime/arm64/ThunkPoolThunks.asm | pyracanda/runtime | 9,402 | 245688 | ;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
#include "ksarm64.h"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; STUBS & DATA SECTIONS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
THUNK_CODESIZE equ 0x10 ... |
programs/oeis/173/A173322.asm | neoneye/loda | 22 | 170615 | <gh_stars>10-100
; A173322: 4*n! + 1.
; 5,5,9,25,97,481,2881,20161,161281,1451521,14515201,159667201,1916006401,24908083201,348713164801,5230697472001,83691159552001,1422749712384001,25609494822912001,486580401635328001,9731608032706560001,204363768686837760001,4496002911110430720001,103408066955539906560001,2481793606... |
programs/oeis/168/A168636.asm | neoneye/loda | 22 | 169457 | ; A168636: a(n) = n^7*(n^2 + 1)/2.
; 0,1,320,10935,139264,1015625,5178816,20588575,68157440,196101729,505000000,1188717431,2597806080,5333623945,10383230144,19307109375,34493956096,59499107585,99485755200,161790784759,256640000000,398040567561,604881787840,902278743455,1323197005824,1910400390625,2718767744576,38180289... |
engine/pokemon/bills_pc.asm | opiter09/ASM-Machina | 1 | 165723 | <reponame>opiter09/ASM-Machina
DisplayPCMainMenu::
xor a
ldh [hAutoBGTransferEnabled], a
call SaveScreenTilesToBuffer2
ld a, [wNumHoFTeams]
and a
jr nz, .leaguePCAvailable
CheckEvent EVENT_GOT_POKEDEX
jr z, .noOaksPC
ld a, [wNumHoFTeams]
and a
jr nz, .leaguePCAvailable
hlcoord 0, 0
ld b, 8
ld c, 14
jr .n... |
src/Categories/Adjoint/Instance/0-Truncation.agda | Trebor-Huang/agda-categories | 279 | 15923 | {-# OPTIONS --without-K --safe #-}
module Categories.Adjoint.Instance.0-Truncation where
-- The adjunction between 0-truncation and the inclusion functor from
-- Setoids to Categories/Groupoids.
open import Level using (Lift)
open import Data.Unit using (⊤)
import Function
open import Relation.Binary using (Setoid)
... |
programs/oeis/155/A155450.asm | karttu/loda | 1 | 104352 | ; A155450: Numbers equal to 5 or 18 mod 23.
; 5,18,28,41,51,64,74,87,97,110,120,133,143,156,166,179,189,202,212,225,235,248,258,271,281,294,304,317,327,340,350,363,373,386,396,409,419,432,442,455,465,478,488,501,511,524,534,547,557,570,580,593,603,616,626,639,649,662,672,685,695,708,718,731,741,754,764,777,787,800,810,... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c38006a.ada | best08618/asylo | 7 | 24307 | -- C38006A.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... |
legend-pure-m3-core/src/main/antlr4/org/finos/legend/pure/m3/serialization/grammar/top/antlr/TopAntlrLexer.g4 | hausea/legend-pure | 37 | 3662 | lexer grammar TopAntlrLexer;
import M4Fragment;
CODE_BLOCK_START: Separator ValidString;
CODE : ~[];
fragment Separator : '\n###'; |
test/fail/Issue481.agda | np/agda-git-experiment | 1 | 3980 | <gh_stars>1-10
-- Andreas, 2012-10-18
module Issue481 where
as = Set
open import Common.Issue481ParametrizedModule as as -- as clause
open import Common.Issue481ParametrizedModule as as as -- as clause, duplicate def.
|
source/contexts/plain/program-symbols-tables.adb | optikos/oasis | 0 | 8334 | <reponame>optikos/oasis
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Strings.Wide_Wide_Hash;
with Ada.Wide_Wide_Characters.Handling;
package body Program.Symbols.Tables is
----------... |
zMIPS/reverseString.asm | MattPhilpot/RandomHomework | 0 | 26142 | <reponame>MattPhilpot/RandomHomework<filename>zMIPS/reverseString.asm
#Program 1 - Takes a string and reverses the string
#
#
# Cosc 300
.data
prompt: .asciiz " Given String is = "
str: .asciiz "aaaaBBBBccccDDDD"
newline: .asciiz "\n"
compare: .ascii "\0"
ans: .asciiz " The String reversed is = "
.text
.globl... |
ThueMorseLeq.agda | nad/codata | 1 | 9803 | ------------------------------------------------------------------------
-- An implementation of the Thue-Morse sequence
------------------------------------------------------------------------
-- This module is a variant of ThueMorse. The difference is that, in
-- this module, the cast operation takes an inequality i... |
projects/batfish/src/main/antlr4/org/batfish/vendor/check_point_gateway/grammar/CheckPointGateway_common.g4 | ton31337/batfish | 763 | 4155 | parser grammar CheckPointGateway_common;
options {
tokenVocab = CheckPointGatewayLexer;
}
quoted_text: QUOTED_TEXT;
double_quoted_string: DOUBLE_QUOTE text = quoted_text? DOUBLE_QUOTE;
single_quoted_string: SINGLE_QUOTE text = quoted_text? SINGLE_QUOTE;
word_content: (double_quoted_string | single_quoted_string |... |
1_real_mode_example.asm | y0s30b/mp17_x86 | 2 | 175702 | [org 0x7c00] ; Assembly command
; Let NASM compiler know starting address of memory
; BIOS reads 1st sector and copied it on memory address 0x7c00
[bits 16] ; Assembly command
; Let NASM compiler know that this code consists of 16its
[SECTION .text] ; Text section
START: ; Boot loader(1st secto... |
math/addsub.asm | FolkertVanVerseveld/c64 | 1 | 91542 | // Assembler: KickAssembler 4.4
// source: http://codebase64.org/doku.php?id=base:16bit_addition_and_subtraction
.var num1lo = $62
.var num1hi = $63
.var num2lo = $64
.var num2hi = $65
.var reslo = $66
.var reshi = $67
.var delta = $68
// 16-bit addition zero page
add16:
clc
lda num1lo
adc num2lo
sta reslo
lda ... |
src/spans.agda | ice1k/cedille | 0 | 7200 | <filename>src/spans.agda
import cedille-options
open import general-util
module spans (options : cedille-options.options) {mF : Set → Set} {{mFm : monad mF}} where
open import cedille-types
open import constants
open import conversion
open import ctxt
open import free-vars
open import syntax-util
open import type-util... |
bb-runtimes/runtimes/zfp-stm32g474/gnat/s-imageu.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 5666 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
examples/shared/common/gui/hershey_fonts-futural.ads | rocher/Ada_Drivers_Library | 192 | 15248 | <filename>examples/shared/common/gui/hershey_fonts-futural.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- ... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_7949_1661.asm | ljhsiun2/medusa | 9 | 243850 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x11764, %rcx
nop
cmp %rdx, %rdx
movw $0x6162, (%rcx)
nop
nop
and %rdi, %rdi
lea addresses_A_ht+0x1c1c4, %r8
nop
nop
nop
cmp $25756, %r14
movw $0x6162, (%r8)
nop
xor $62045, %rd... |
src/SQE.Grammar/SQE.g4 | larais/SQE | 1 | 7424 | grammar SQE;
expression : (mainExpr EOF) | EOF;
mainExpr : '(' mainExpr ')' #parenthesisExp
| mainExpr AND mainExpr #andExp
| mainExpr OR mainExpr #orExp
| PROPERTY OPERATOR NUMBER #compareNumberE... |
examples/GUIgeneric/loadAllRepository.agda | stephanadls/state-dependent-gui | 2 | 6053 | <reponame>stephanadls/state-dependent-gui
module GUIgeneric.loadAllRepository where
open import GUIgeneric.GUI
open import GUIgeneric.GUIDefinitions
open import GUIgeneric.GUIExample
open import GUIgeneric.GUIExampleBankAccount
open import GUIgeneric.GUIExampleLib
open import GUIgeneric.GUIFeatures
open import GUIgene... |
136/ada/check_positive2.adb | notdb/LC-Practice | 0 | 6942 | <gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure Check_Positive2 is
N : Integer;
begin
Put ("Enter an integer value: "); -- Put a String
Get (N); -- Reads in an integer value
Put (N); -- Put an Integer
declare
S : String :=
(if N >... |
3-mid/opengl/source/platform/glx/private/thin/glx-pointers.ads | charlie5/lace | 20 | 20845 | <filename>3-mid/opengl/source/platform/glx/private/thin/glx-pointers.ads<gh_stars>10-100
package GLX.Pointers
is
-- VisualID_Pointer
--
type VisualID_Pointer is access all VisualID;
type VisualID_Pointers is array (C.size_t range <>) of aliased VisualID_Pointer;
-- XVisualInfo_Pointer
--
type X... |
libsrc/_DEVELOPMENT/math/float/math48/z80/am48_derror_erange_longc.asm | jpoikela/z88dk | 640 | 240680 | <gh_stars>100-1000
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48_derror_erange_longc
EXTERN error_erange_zc
am48_derror_erange_longc:
; return LONG_MIN or LONG_MAX
call error_erange_zc
ld e,l
ld d,$80
bit 7,b
ret nz ; if negative
dec de
dec hl
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.