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 |
|---|---|---|---|---|
source/math/multiply.asm | mega65dev/rom-assembler | 0 | 91099 | <reponame>mega65dev/rom-assembler
; ********************************************************************************************
; ********************************************************************************************
;
; Name : multiply.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan ... |
oeis/026/A026049.asm | neoneye/loda-programs | 11 | 29933 | <reponame>neoneye/loda-programs
; A026049: a(n) = dot_product(1,2,...,n)*(7,8,...,n,1,2,3,4,5,6).
; 119,156,204,265,341,434,546,679,835,1016,1224,1461,1729,2030,2366,2739,3151,3604,4100,4641,5229,5866,6554,7295,8091,8944,9856,10829,11865,12966,14134,15371,16679,18060,19516,21049,22661,24354,26130,27991,29939,31976,3410... |
test/Succeed/SingletonInstance.agda | alhassy/agda | 3 | 14258 | <filename>test/Succeed/SingletonInstance.agda
module _ where
record ⊤ : Set where
constructor tt
f : {{u : ⊤}} → ⊤
f = _
foo : (x : ⊤) → ⊤
foo x = f
|
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca.log_21829_915.asm | ljhsiun2/medusa | 9 | 26033 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x9992, %rbp
nop
nop
xor $63305, %r15
mov (%rbp), %r12d
nop
xor $51698, %rsi
lea addresses_normal_ht+0x15870, %rsi
lea addresses_D_ht+0x1d38d, %rdi
clflush (%rsi)
clflush (%rdi... |
Lab/exp1/Sources/main.asm | asheemchhetri/ECE362 | 0 | 99509 | org $800
adda 2,PC |
data/pokemon/base_stats/lickilicky.asm | AtmaBuster/pokeplat-gen2 | 6 | 81607 | <reponame>AtmaBuster/pokeplat-gen2
db 0 ; species ID placeholder
db 110, 85, 95, 50, 80, 95
; hp atk def spd sat sdf
db NORMAL, NORMAL ; type
db 30 ; catch rate
db 180 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/lickilicky/... |
src/queryparser/adql/ADQLParser.g4 | aipescience/queryparser | 8 | 5076 | parser grammar ADQLParser;
options
{ tokenVocab = ADQLLexer; }
approximate_numeric_literal: REAL ;
area: AREA LPAREN geometry_value_expression RPAREN ;
as_clause: ( AS )? column_name ;
between_predicate: value_expression ( NOT )? BETWEEN value_expressi... |
programs/oeis/085/A085801.asm | neoneye/loda | 22 | 26805 | ; A085801: Maximum number of nonattacking queens on an n X n toroidal board.
; 1,1,1,2,5,4,7,6,7,9,11,10,13,13,13,14,17,16,19,18,19,21,23,22,25,25,25,26,29,28,31,30,31,33,35,34,37,37,37,38,41,40,43,42,43,45,47,46,49,49,49,50,53,52,55,54,55,57,59,58,61,61,61,62,65,64,67,66,67,69,71,70,73,73,73,74,77,76,79,78,79,81,83,82... |
src/SecondOrder/Term.agda | cilinder/formaltt | 21 | 4690 | <filename>src/SecondOrder/Term.agda
open import Agda.Primitive using (lzero; lsuc; _⊔_)
open import Relation.Binary.PropositionalEquality
open import Relation.Binary using (Setoid)
import SecondOrder.Arity
import SecondOrder.Signature
import SecondOrder.Metavariable
module SecondOrder.Term
{ℓ}
{𝔸 : SecondOrder.A... |
testcas.asm | reutz19/xv6_ass2 | 1 | 8575 |
_testcas: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char **argv)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 20 ... |
oeis/002/A002496.asm | neoneye/loda-programs | 11 | 242199 | ; A002496: Primes of the form k^2 + 1.
; Submitted by <NAME>
; 2,5,17,37,101,197,257,401,577,677,1297,1601,2917,3137,4357,5477,7057,8101,8837,12101,13457,14401,15377,15877,16901,17957,21317,22501,24337,25601,28901,30977,32401,33857,41617,42437,44101,50177,52901,55697,57601,62501,65537,67601,69697,72901,78401,80657,9000... |
bb-runtimes/arm/smartfusion2/s-sf2gpi.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 22752 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1214.asm | ljhsiun2/medusa | 9 | 1563 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1a62b, %r13
nop
nop
nop
nop
nop
dec %rsi
movw $0x6162, (%r13)
nop
nop
nop
inc %r8
lea addresses_WC_ht+0x18f6b, %r9
nop
nop
nop
nop
nop
and %r15, %r15
m... |
listPid.asm | mignipunn/xv6 | 2 | 175481 | <filename>listPid.asm
_listPid: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "user.h"
#include "stat.h"
#include "pstat.h"
int main()
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4... |
CODE/ZUMPUS/zumpus_funcs.asm | mspeculatrix/Zolatron64 | 0 | 4219 | ; zumpus_funcs.asm
\ ------------------------------------------------------------------------------
\ --- get_decimal_input
\ --- Read a decimal number from STDIN_BUF
\ ------------------------------------------------------------------------------
\ ON EXIT : - 16-bit unsigned integer in MATH_TMP16, MATH_TMP16+1
\ ... |
programs/oeis/133/A133016.asm | jmorken/loda | 1 | 380 | ; A133016: Even imperfect numbers, divided by 2.
; 1,2,4,5,6,7,8,9,10,11,12,13,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64
mov $1,3
add $1,$0
mov $2,8
lpb $2
add $1,1
sub $2,$1
sub $1,2
lpe
|
libsrc/target/sms/standard_font.asm | dikdom/z88dk | 1 | 179028 | <gh_stars>1-10
SECTION rodata_clib
PUBLIC standard_font
PUBLIC _standard_font
standard_font:
_standard_font:
BINARY "target/sms/FONT8.BIN"
|
HDMA4.asm | nesdoug/SNES_11 | 3 | 173696 | ;hdma effect 4
;change the mosaic register
;standard single hdma
.segment "CODE"
Set_F4:
A8
XY16
stz $4300 ;1 register, write once
lda #$06 ;mosaic
sta $4301 ;destination
ldx #.loword(H_TABLE6)
stx $4302 ;address
lda #^H_TABLE6
sta $4304 ;address
lda #1 ;channel 1
sta HDMAEN ;$420c
rts
H_TAB... |
programs/oeis/266/A266769.asm | neoneye/loda | 22 | 27854 | ; A266769: Expansion of 1/((1-x)*(1-x^2)^2*(1-x^3)).
; 1,1,3,4,7,9,14,17,24,29,38,45,57,66,81,93,111,126,148,166,192,214,244,270,305,335,375,410,455,495,546,591,648,699,762,819,889,952,1029,1099,1183,1260,1352,1436,1536,1628,1736,1836,1953,2061,2187,2304,2439,2565,2710,2845,3000,3145,3310,3465,3641,3806,3993,4169,4367,... |
src/main.adb | docandrew/YOTROC | 4 | 5235 | <reponame>docandrew/YOTROC<filename>src/main.adb
--with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Text_IO;
--with Ada.Text_IO.Unbounded_IO; use Ada.Text_IO.Unbounded_IO;
--with Interfaces; use Interfaces;
--with assembler; use assembler;
--with callbacks; ... |
experiments/tests/ctree.als | kaiyuanw/ASketch | 1 | 4371 | <filename>experiments/tests/ctree.als
pred test1 {
some disj Red0: Red {some disj Blue0: Blue {some disj Red0, Blue0: Color {some disj Node0, Node1: Node {
Red = Red0
Blue = Blue0
Color = Red0 + Blue0
Node = Node0 + Node1
neighbors = Node0->Node1
color = Node0->Blue0 + Node1->Red0
!undirected[]
}}}}
}
run test1
pred te... |
Assembly/eecs_388.asm | maxxxxxdlp/code_share | 0 | 89219 | <gh_stars>0
// BASICS
x0 // ref to 0
add x1, x2, x3 // x1=x2+x3 // sub
// memory addresses like offset(base) // 4(x0) // sp(x2)
// THEORY
// Big Endian - MSB first
// Little Endian - LSB first
// CONVENTION
// add `i` if last param is const
addi x1, x2, 3 // x1=x2+3
// -i for const
// -u for unsigned
// -z for ... |
tools-src/gnu/binutils/gas/testsuite/gasp/crash1.asm | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 13217 | <gh_stars>10-100
.MACRO foo a b c=a
\a \b \c \d
.ENDM
foo 1 2
foo 1 2 3 4
foo 1
foo
.END
|
test/Compiler/simple/CompileNumbers.agda | cruhland/agda | 1,989 | 12534 | {-# OPTIONS -v treeless.opt:20 #-}
module _ where
open import Agda.Builtin.Nat using (_<_)
open import Common.Prelude
open import Common.Integer
-- Should compile to
-- λ a b → case a of
-- "neg" → 0 - b
-- _ → b
match-on-lit : String → Integer → Integer
match-on-lit "neg" x with x
...... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_fixd.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 530 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_fixd.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
oeis/321/A321175.asm | neoneye/loda-programs | 11 | 171969 | <filename>oeis/321/A321175.asm
; A321175: a(n) = -a(n-1) + 2*a(n-2) + a(n-3), a(0) = -1, a(1) = -2, a(2) = 3.
; Submitted by <NAME>
; -1,-2,3,-8,12,-25,41,-79,136,-253,446,-816,1455,-2641,4735,-8562,15391,-27780,50000,-90169,162389,-292727,527336,-950401,1712346,-3085812,5560103,-10019381,18053775,-32532434,58620603,-1... |
libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/puts_unlocked_fastcall.asm | meesokim/z88dk | 0 | 104864 |
; int puts_unlocked_fastcall(const char *s)
SECTION code_stdio
PUBLIC _puts_unlocked_fastcall
EXTERN asm_puts_unlocked
_puts_unlocked_fastcall:
push ix
call asm_puts_unlocked
pop ix
ret
|
src/Categories/Category/Equivalence/Preserves.agda | Trebor-Huang/agda-categories | 279 | 6458 | {-# OPTIONS --without-K --safe #-}
-- Categorical equivalences preserve various structures
module Categories.Category.Equivalence.Preserves where
open import Level
open import Categories.Adjoint.Equivalence using (⊣Equivalence)
open import Categories.Category.Core
open import Categories.Category.Equivalence using (... |
oeis/188/A188554.asm | neoneye/loda-programs | 11 | 10669 | <reponame>neoneye/loda-programs
; A188554: Number of 3Xn binary arrays without the pattern 0 1 diagonally, vertically, antidiagonally or horizontally
; 4,7,12,20,32,49,72,102,140,187,244,312,392,485,592,714,852,1007,1180,1372,1584,1817,2072,2350,2652,2979,3332,3712,4120,4557,5024,5522,6052,6615,7212,7844,8512,9217,9960... |
examples/NotLinearPat.agda | andreasabel/miniagda | 85 | 14547 | module NotLinearPat where
data Nat : Set where
zero : Nat
succ : Nat -> Nat
bad : Nat -> Nat -> Nat
bad x x = zero
bad x y = succ zero
|
MSDOS/Virus.MSDOS.Unknown.andropin.asm | fengjixuchui/Family | 3 | 243324 | <reponame>fengjixuchui/Family
;******************************************************************************
;
; Virus name : Andropinis
; Author : Rajaat
; Origin : United Kingdom, March 1995
; Compiling : Using TASM | Using A86
; |
; ... |
upperCaseChange.asm | ILZM/mips_examples | 0 | 167806 | .data
mystring: .asciiz "0 LIKE to program in MIPS ZzZ"
.text
j main
is_upper:
add $v0, $zero, $zero
slti $t1, $a0, 65
bne $t1, 0, notUpperCase
sleu $t1, $a0, 90
bne $t1, 1, notUpperCase
add $v0, $zero, 1
notUpperCase:
jr $ra
main:
la $t0, mystring
whileNotEOS:
lbu $a0, 0($t0)
jal is_upper
bn... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_12_557.asm | ljhsiun2/medusa | 9 | 169553 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x135f8, %rbp
sub %r10, %r10
mov (%rbp), %bx
nop
nop
nop
nop
nop
and %rbp, %rbp
lea addresses_A_ht+0x153f2, %rsi
nop
nop
cmp %rdx, %rdx
mov $0x6162636465666768, %... |
Transynther/x86/_processed/NONE/_st_zr_/i7-8650U_0xd2.log_18926_1232.asm | ljhsiun2/medusa | 9 | 98049 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x19022, %r14
nop
add %rsi, %rsi
movw $0x6162, (%r14)
nop
nop
nop
nop
nop
xor %r9, %r9
lea addresses_WT_ht+0xe58c, %rcx
nop
nop
nop
nop
sub %r10, %r10
movb $0x61, (%rcx)
nop
no... |
Transynther/x86/_processed/NC/_ht_/i9-9900K_12_0xa0_notsx.log_1_1436.asm | ljhsiun2/medusa | 9 | 175751 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x5e47, %rsi
lea addresses_WT_ht+0x1c1c7, %rdi
nop
nop
dec %rbp
mov $67, %rcx
rep movsq
nop
nop
nop
nop
nop
and $40202, %rdi
lea addresses_WC_ht+0x1e6ca, %r13
nop
nop
dec %rax
mov (%r13... |
kernel.asm | indu-rallabhandi/WEEK-8 | 0 | 99235 |
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)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# E... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack22_pkg.adb | best08618/asylo | 0 | 22295 | package body Pack22_Pkg is
package body Bit_Map_Generic is
function "xor" (L, R : List) return List is
Temp : List;
for Temp'address use Temp_buffer'address;
begin
Temp.Bits := L.Bits xor R.Bits;
Temp.Counter.Counter := 0;
return Temp;
end;
... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1275.asm | ljhsiun2/medusa | 9 | 96868 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x9a87, %rbx
nop
nop
nop
and %rbp, %rbp
mov $0x6162636465666768, %r10
movq %r10, %xmm1
vmovups %ymm1, (%rbx)
nop
nop
nop
nop
cmp %r8, %r8
lea addresses_normal_ht+0xe9ed, %rdi
nop
nop
nop... |
tools/scitools/conf/understand/ada/ada95/a-finali.ads | brucegua/moocos | 1 | 13327 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
unittests/ASM/TwoByte/0F_F6.asm | cobalt2727/FEX | 628 | 4555 | %ifdef CONFIG
{
"RegData": {
"MM0": "0x0000000000000080",
"MM1": "0x0000000000000083",
"MM2": "0x0000000000000134",
"MM3": "0x0000000000000156",
"MM4": "0x0000000000000140",
"MM5": "0x000000000000013F",
"MM6": "0x000000000000008F",
"MM7": "0x00000000000000D1"
},
"MemoryRegions": {
... |
Transynther/x86/_processed/NONE/_ht_zr_/i7-7700_9_0x48.log_21829_2281.asm | ljhsiun2/medusa | 9 | 25566 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x16f80, %rdx
dec %r8
mov (%rdx), %di
nop
nop
and %r8, %r8
lea addresses_UC_ht+0x7770, %r8
cmp %rax, %rax
and $0xffffffffffffffc0, %r8
movntd... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/noinline1.ads | best08618/asylo | 7 | 5395 | -- { dg-do compile }
package Noinline1 is
procedure Proc1;
pragma Inline (Proc1);
pragma No_Inline (Proc1); -- { dg-warning "both specified" }
procedure Proc2;
pragma No_Inline (Proc2);
pragma Inline (Proc2); -- { dg-warning "both specified" }
procedure Proc3;
pragma Inline_Always (Proc3);
pragma ... |
archive/agda-2/Oscar/Class/Reflexive.agda | m0davis/oscar | 0 | 6122 |
module Oscar.Class.Reflexive where
open import Oscar.Level
open import Oscar.Property.IsReflexive
record Reflexive {𝔬} (⋆ : Set 𝔬) ℓ : Set (𝔬 ⊔ lsuc ℓ) where
field
_≣_ : ⋆ → ⋆ → Set ℓ
isReflexive : IsReflexive ⋆ _≣_
open IsReflexive isReflexive public
|
etude/etude19.als | nishio/learning_alloy | 1 | 3272 | sig X{
r1: X
r2: X
}
run {
all x: X | x != x.r
} for exactly 3 X
|
oeis/245/A245329.asm | neoneye/loda-programs | 11 | 16708 | <filename>oeis/245/A245329.asm
; A245329: a(n) = sum_{k=0..n}C(n,k)^3*(-8)^k with C(n,k) = n!/(k!(n-k)!).
; Submitted by <NAME>(w4)
; 1,-7,1,1001,-15359,30233,3126529,-61392247,259448833,11970181433,-287815672319,1854020654633,48800262650881,-1443188813338279,12410505050039041,198977188596692681,-7472188661349285887,80... |
oeis/025/A025558.asm | neoneye/loda-programs | 11 | 24849 | ; A025558: ((n-1)/n)*LCM{1,2,...,n}.
; Submitted by <NAME>
; 1,4,9,48,50,360,735,2240,2268,25200,25410,332640,334620,336336,675675,11531520,11571560,220540320,221152932,221707200,222211080,5121436320,5131136010,25700298624,25741485000,77338861600,77445096300,2248776129600
add $0,1
mov $1,$0
seq $0,2944 ; a(n) = LCM(1,... |
source/textio/a-tiunio.ads | ytomino/drake | 33 | 15375 | <filename>source/textio/a-tiunio.ads
pragma License (Unrestricted);
-- with Ada.Strings.Unbounded;
with Ada.Strings.Unbounded_Strings;
with Ada.Text_IO.Generic_Unbounded_IO;
package Ada.Text_IO.Unbounded_IO is
new Generic_Unbounded_IO (
Strings.Unbounded_Strings,
Put => Put,
Put_Line => Put_Line,
... |
programs/oeis/084/A084247.asm | karttu/loda | 1 | 176741 | <gh_stars>1-10
; A084247: a(n) = -a(n-1) + 2a(n-2), a(0)=1, a(1)=2.
; 1,2,0,4,-4,12,-20,44,-84,172,-340,684,-1364,2732,-5460,10924,-21844,43692,-87380,174764,-349524,699052,-1398100,2796204,-5592404,11184812,-22369620,44739244,-89478484,178956972,-357913940,715827884,-1431655764,2863311532,-5726623060,11453246124,-2290... |
oeis/000/A000541.asm | neoneye/loda-programs | 11 | 171289 | <gh_stars>10-100
; A000541: Sum of 7th powers: 1^7 + 2^7 + ... + n^7.
; 0,1,129,2316,18700,96825,376761,1200304,3297456,8080425,18080425,37567596,73399404,136147921,241561425,412420800,680856256,1091194929,1703414961,2597286700,3877286700,5678375241,8172733129,11577558576,16164030000,22267545625,30299355801,40759709004... |
fox32rom/overlay.asm | ry755/fox32 | 6 | 160387 | <filename>fox32rom/overlay.asm
; overlay routines
; fill a whole overlay with a color
; inputs:
; r0: color
; r1: overlay number
; outputs:
; none
fill_overlay:
push r1
push r2
push r3
push r31
mov r2, r1
or r2, 0x80000100 ; bitwise or the overlay number with the command to get the over... |
oeis/240/A240876.asm | neoneye/loda-programs | 11 | 173835 | ; A240876: Expansion of (1 + x)^11 / (1 - x)^12.
; Submitted by <NAME>
; 1,23,265,2047,11969,56695,227305,795455,2485825,7059735,18474633,45046719,103274625,224298231,464387817,921406335,1759885185,3248227095,5812626185,10113604735,17152640321,28418229623,46082942185,73265596607,114375683009,175560601111,265280226953,3... |
Sources/Graphics/graphics_structures.ads | ForYouEyesOnly/Space-Convoy | 1 | 16848 | --
-- Jan & <NAME>, Australia, July 2011
--
with GLOBE_3D;
with Real_Type; use Real_Type;
with Rotations; use Rotations;
with Vectors_2D_N; use Vectors_2D_N;
with Vectors_3D; use Vectors_3D;
package Graphics_Structures is
type RGB is (Red, Green, Blue);
type RGBA is... |
travis/test/br3392637.asm | johannkoenig/nasm | 1,052 | 172304 | ; -----------------------------------------------------------------------------
; A 64-bit Linux application that writes the first 90 Fibonacci numbers. To
; assemble and run:
;
; nasm -felf64 fib.asm && gcc fib.o && ./a.out
; -----------------------------------------------------------------------------
gl... |
src/Sym_Expr/regexp_readers-generic_readers.ads | fintatarta/eugen | 0 | 13904 | <gh_stars>0
----------------------------------------
-- Symbolic_Expressions.Regexp_Reader --
----------------------------------------
generic
type Result_Type is private;
Regexp : Regexp_Spec;
with function Convert (X : String) return Result_Type;
package Regexp_Readers.Generic_Readers is
procedure Read... |
c_asm/19-passing_and_return_value/math_func.asm | karng87/nasm_game | 0 | 10832 | <gh_stars>0
section .data
section .bss
section .text
global add
add:
add rdi, rsi
mov rax, rdi
ret
global sub
sub:
sub rdi, rsi
mov rax, rdi
ret
global mul
mul:
mov rax, rdi
mul rsi
ret
global div_i
div_i:
... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_21829_1308.asm | ljhsiun2/medusa | 9 | 169862 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1d081, %rbp
nop
nop
and %r8, %r8
mov (%rbp), %r9
nop
nop
nop
nop
nop
add %rax, %rax
lea addresses_WC_ht+0x19081, %r11
nop
nop
nop
nop
add %r13, %r13
mov (%r11), ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1240.asm | ljhsiun2/medusa | 9 | 24747 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xad59, %rsi
lea addresses_WC_ht+0x3273, %rdi
clflush (%rsi)
clflush (%rdi)
sub %r12, %r12
mov $27, %rcx
rep movsl
nop
nop
nop
nop
xor $9646, %r11
lea addresses_UC_ht+0xa... |
my_computer/06/Mult.asm | kippesp/Nand2Tetris | 0 | 86230 | <filename>my_computer/06/Mult.asm
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME> Schocken, MIT Press.
// File name: projects/04/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.)
... |
programs/oeis/089/A089927.asm | jmorken/loda | 1 | 161087 | <reponame>jmorken/loda<gh_stars>1-10
; A089927: Expansion of 1/((1-x^2)(1-5x+x^2)).
; 1,5,25,120,576,2760,13225,63365,303601,1454640,6969600,33393360,159997201,766592645,3672966025,17598237480,84318221376,403992869400,1935646125625,9274237758725,44435542668001,212903475581280
add $0,2
cal $0,3501 ; a(n) = 5*a(n-1) - a... |
src/Categories/Enriched/Over/One.agda | Trebor-Huang/agda-categories | 279 | 13957 | {-# OPTIONS --without-K --safe #-}
module Categories.Enriched.Over.One where
open import Level
open import Categories.Category.Monoidal.Instance.One
open import Categories.Enriched.Category
TruthValue : (o ℓ e t : Level) → Set (o ⊔ ℓ ⊔ e ⊔ suc t)
TruthValue o ℓ e t = Category (One-Monoidal {o} {ℓ} {e}) t
|
BootloaderCommonPkg/Library/LinuxLib/X64/JumpToKernel.nasm | kokweich/slimbootloader | 1 | 162307 | ;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>
;
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;------------------------------------------------------------------------------
SECTION .text
;---------------... |
src/lang/stemmer-swedish.adb | stcarrez/ada-stemmer | 3 | 8780 | <filename>src/lang/stemmer-swedish.adb
-- Generated by Snowball 2.2.0 - https://snowballstem.org/
package body Stemmer.Swedish is
pragma Style_Checks ("-mr");
pragma Warnings (Off, "*variable*is never read and never assigned*");
pragma Warnings (Off, "*mode could be*instead of*");
pragma Warnings (Off, "... |
external/openssl/src/ms/uptable.asm | phixion/l0phtcrack | 2 | 102326 | default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
EXTERN OPENSSL_Uplink
global OPENSSL_UplinkTable
ALIGN 16
_lazy1:
DB 0x48,0x83,0xEC,0x28
mov QWORD[48+rsp],rcx
mov QWORD[56+rsp],rdx
mov QWORD[64+rsp],r8
mov QWORD[72+rsp],r9
lea rcx,[OPENSSL_UplinkTable]
mo... |
day19/day19.adb | thorstel/Advent-of-Code-2018 | 2 | 22541 | with Ada.Text_IO; use Ada.Text_IO;
with Interfaces; use Interfaces;
with Ada.Containers.Vectors;
with Opcode_Helper;
procedure Day19 is
package OH is new Opcode_Helper (Register_Size => 6);
use OH;
subtype Op_String is String (1 .. 4);
type Instruction is record
Op : Op_String;
A : Unsigne... |
tools/SPARK2005/packages/polypaver/pp_f_exact.ads | michalkonecny/polypaver | 1 | 3388 | <gh_stars>1-10
package PP_F_Exact is
-- Various SPARK functions for use in SPARK assertions.
-- These functions are then featured in VCs and PolyPaver will
-- understand their meaning. For each of these functions,
-- its semantics is the exact real interpretation of its name.
--
-- The F in the packa... |
source/nodes/program-nodes-task_definitions.ads | reznikmm/gela | 0 | 29338 | <reponame>reznikmm/gela
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Lexical_Elements;
with Program.Elements.Identifiers;
with Program.Elements.Task_Definitions;
with Progra... |
src/Categories/Category/Construction/Properties/EilenbergMoore.agda | MirceaS/agda-categories | 0 | 6496 | {-# OPTIONS --without-K --safe #-}
module Categories.Category.Construction.Properties.EilenbergMoore where
open import Level
import Relation.Binary.PropositionalEquality as ≡
open import Categories.Adjoint
open import Categories.Adjoint.Properties
open import Categories.Category
open import Categories.Functor using (... |
unittests/ASM/Secondary/08_XX_06_2.asm | woachk/FEX | 0 | 18813 | %ifdef CONFIG
{
"RegData": {
"R15": "0x20"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
%macro cfmerge 0
; Get CF
sbb r14, r14
and r14, 1
; Merge in to results
shl r15, 1
or r15, r14
%endmacro
mov rdx, 0xe0000000
mov rax, 0xFFFFFFFF80000002
mov [rdx + 8 * 0], rax
mov [rdx + 8 * 1], rax
m... |
special_inserts.asm | SPMoo66/dpe | 0 | 83271 | <filename>special_inserts.asm
.text
.align 2
.thumb
.equ NUM_SPECIES, 1286
.equ EVOS_PER_MON, 16
.equ FINAL_DEX_ENTRY, 905
@;.equ SEEN_DEX_FLAGS, 0x202583C
@;.equ CAUGHT_DEX_FLAGS, (SEEN_DEX_FLAGS + (FINAL_DEX_ENTRY / 8) + 1)
@@Fix Num Evolutions@@
.org 0x4598A, 0xFF
mov r5, #EVOS_PER_MON * 8
mov r3, r12
add r3, #EV... |
tests/tests/device/device_descriptor/main.adb | JeremyGrosser/usb_embedded | 0 | 11189 | <filename>tests/tests/device/device_descriptor/main.adb
with USB_Testing; use USB_Testing;
with USB_Testing.UDC_Stub;
with USB_Testing.UDC_Scenarios;
with HAL; use HAL;
with USB;
procedure Main is
Scenario : aliased constant UDC_Stub.Stub_Scenario :=
UDC_Scenarios.Enumeration (Verbose => True)... |
src/Prelude.agda | lclem/agda-prelude | 0 | 13730 | <gh_stars>0
module Prelude where
open import Agda.Primitive public
open import Prelude.Unit public
open import Prelude.Empty public
open import Prelude.Function public
open import Prelude.Char public
open import Prelude.String public
open import Prelude.Bool public
open import... |
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_21829_3098.asm | ljhsiun2/medusa | 9 | 175887 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xe3c3, %rax
nop
cmp %r12, %r12
movl $0x61626364, (%rax)
nop
nop
sub $60756, %r14
lea addresses_D_ht+0x7c73, %rbx
sub $32693, %r9
movb $0x61, (%rbx)
and... |
bb-runtimes/src/i-cache__armv7.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 28717 | <filename>bb-runtimes/src/i-cache__armv7.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
test/filters-cases/gcc-sum.asm | OfekShilon/compiler-explorer | 4,668 | 91222 | <reponame>OfekShilon/compiler-explorer
.file "example.cpp"
.text
.Ltext0:
.globl _Z12testFunctionPii
.type _Z12testFunctionPii, @function
_Z12testFunctionPii:
.LFB0:
.file 1 "/tmp/example.cpp"
.loc 1 1 0
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_registe... |
programs/oeis/134/A134824.asm | karttu/loda | 1 | 169558 | <gh_stars>1-10
; A134824: Generated by reverse of Schroeder II o.g.f.
; 0,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-... |
libsrc/games/sam/beeper.asm | meesokim/z88dk | 0 | 242732 | <filename>libsrc/games/sam/beeper.asm<gh_stars>0
; $Id: beeper.asm,v 1.3 2015/01/19 01:32:45 pauloscustodio Exp $
;
; SAM Coupe 1 bit sound functions
;
; <NAME> - 28/9/2001
;
PUBLIC beeper
EXTERN bit_open_di
EXTERN bit_close_ei
.beeper
call bit_open_di
call $016F
di
call ... |
oeis/004/A004991.asm | neoneye/loda-programs | 11 | 104166 | <reponame>neoneye/loda-programs
; A004991: a(n) = (3^n/n!) * Product_{k=0..n-1} (3*k + 4).
; Submitted by <NAME>
; 1,12,126,1260,12285,117936,1120392,10563696,99034650,924323400,8596207620,79710288840,737320171770,6806032354800,62712726697800,576957085619760,5300793224131545,48642573115560060,445890253559300550,4083416... |
agda-stdlib/src/Data/List/Relation/Pointwise.agda | DreamLinuxer/popl21-artifact | 5 | 3110 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use
-- Data.List.Relation.Binary.Pointwise directly.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Lis... |
Fields/CauchyCompletion/Addition.agda | Smaug123/agdaproofs | 4 | 9483 | <reponame>Smaug123/agdaproofs<gh_stars>1-10
{-# OPTIONS --safe --warning=error --without-K --guardedness #-}
open import Setoids.Setoids
open import Rings.Definition
open import Rings.Orders.Partial.Definition
open import Rings.Orders.Total.Definition
open import Groups.Definition
open import Groups.Lemmas
open import... |
Capture One Scripts/select_next_capture.applescript | chis-chipz/CaptureOneScripts | 17 | 1104 | <filename>Capture One Scripts/select_next_capture.applescript
(*
Moves the capture directory down the list of favorites
relative to the current capture directory.
Created by <NAME>
*)
tell front document of application "Capture One 12"
set theFolder to captures
set captureCollection to item 1 of (collection... |
programs/oeis/078/A078904.asm | karttu/loda | 1 | 174962 | <gh_stars>1-10
; A078904: a(n) = 4a(n-1) + 3n with a(0) = 0.
; 0,3,18,81,336,1359,5454,21837,87372,349515,1398090,5592393,22369608,89478471,357913926,1431655749,5726623044,22906492227,91625968962,366503875905,1466015503680,5864062014783,23456248059198,93824992236861
mov $1,4
pow $1,$0
sub $0,$1
mul $0,3
sub $1,$0
div ... |
sorting_exercise.adb | thieryw/sorting_algo | 0 | 11178 | with ada.text_io,ada.integer_text_io,ada.numerics.discrete_random ;
use ada.text_io ;
procedure sorting_exercise is
type t_tableau is array(integer range <>) of integer ;
t : t_tableau(1..50) ;
function init_tab return t_tableau is
subtype intervall is integer range 1..100 ;... |
src/Projects/eu_projects-nodes.ads | fintatarta/eugen | 0 | 25757 | <reponame>fintatarta/eugen<gh_stars>0
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Strings.Fixed;
with Ada.Finalization;
with Ada.Containers.Indefinite_Ordered_Maps;
with Ada.Containers.Vectors;
with EU_Projects.Times.Time_Expressions.Parsing;
-- Most of the entities in a project (WPs, tasks, de... |
oeis/017/A017999.asm | neoneye/loda-programs | 11 | 20544 | <filename>oeis/017/A017999.asm
; A017999: Expansion of 1/((1-3x)(1-7x)(1-10x)).
; Submitted by <NAME>
; 1,20,279,3370,37841,407640,4281739,44256950,452652981,4597133860,46465625999,468116448930,4705386343321,47223418005680,473421066847059,4742518890351310,47483346499724861,475240568299871100,4755255406504488919,4757250... |
Scrolls/sys.asm | TerminalCursor/LogOS | 0 | 161023 | <gh_stars>0
; Shutdown definition
shutdown:
mov dx, 0x604 ; Write to 0x604
mov ax, 0x2000 ; Write 0x2000
out dx, ax ; Send shutdown
ret ; Return if shutdown failed
; Clear screen definition
clear_screen:
pusha
mov edx, VIDEO_MEMORY ; Get the start address of the video memory buffer
mov al, 0x20 ; Space chara... |
sugar.asm | raphnet/rc201804 | 0 | 94638 | %ifndef _sugar_asm
%define _sugar_asm
section .text
%macro shift_div_8 1
; On later CPUs, this could be replaced by shr %1, 3
shr %1, 1
shr %1, 1
shr %1, 1
%endmacro
%macro shift_div_16 1
; On later CPUs, this could be replaced by shr %1, 4
shr %1, 1
shr %1, 1
shr %1, 1
shr %1, 1
%endmacro
%macro shift_div_3... |
libsrc/_DEVELOPMENT/arch/ts2068/display/z80/asm_tshc_aaddr2saddr.asm | jpoikela/z88dk | 640 | 105130 | <filename>libsrc/_DEVELOPMENT/arch/ts2068/display/z80/asm_tshc_aaddr2saddr.asm
; ===============================================================
; May 2017
; ===============================================================
;
; uchar *tshc_aaddr2saddr(void *aaddr)
;
; Attribute address to screen address.
;
; ============... |
src/main/grammar/com/devoxx/GrandMere.g4 | framiere/devoxx-grand-mere | 1 | 1049 | grammar GrandMere;
parse
: expr
;
expr
: '(' expr ')' # subExpr
| '-' expr # unaryMinusExpr
| '+' expr # unaryPlusExpr
| expr high_priority_operation expr # highPriorityOperationExpr
| expr low_priori... |
tools/gen/gen.ads | reznikmm/ada_lsp | 11 | 26270 | <reponame>reznikmm/ada_lsp<filename>tools/gen/gen.ads
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package Gen is
pragma Pure;
end Gen;
|
programs/oeis/190/A190843.asm | neoneye/loda | 22 | 162006 | ; A190843: [2ne]-2[ne], where [ ]=floor.
; 1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1
mul $0,2
add $0,1
seq $0,210 ; A Beatty sequence: floor(n*(e-1)).
mod $0,2
|
Projetos/F-Assembly/src/nasm/examples/Linha.nasm | juanjorgegarcia/Z01 | 0 | 10834 | <filename>Projetos/F-Assembly/src/nasm/examples/Linha.nasm
; carrega x"FF" em S (todos pxs em '1')
leaw $0, %A
movw %A, %S
notw %S
; linha 1
leaw $17389, %A ;16384
movw %S, (%A)
incw %A
movw %S, (%A)
incw %A
movw %S, (%A)
incw %A
movw %S, (%A)
leaw $17409, %A
movw %S, (%A)
... |
Semirings/Definition.agda | Smaug123/agdaproofs | 4 | 13128 | <reponame>Smaug123/agdaproofs
{-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Monoids.Definition
module Semirings.Definition where
record Semiring {a : _} {A : Set a} (Zero One : A) (_+_ : A → A → A) (_*_ : A → A → A) : Set a where
field
monoid : Monoid Zero _+_
c... |
mp-ui.ads | jrcarter/MP | 1 | 2444 | -- MP: a Music Player
-- Copyright (C) 2020 by PragmAda Software Engineering. All rights reserved.
-- Released under the terms of the BSD 3-Clause license; see https://opensource.org/licenses
--
-- 2020-09-15 Initial version
--
package MP.UI is
pragma Elaborate_Body;
end MP.UI;
|
oeis/106/A106034.asm | neoneye/loda-programs | 0 | 104029 | <reponame>neoneye/loda-programs
; A106034: a(n) is the least number such that n*prime(n)+a(n) is a perfect cube.
; Submitted by <NAME>(w3)
; 6,2,12,36,9,47,6,64,9,53,2,68,196,127,24,152,328,233,58,308,195,459,288,61,319,118,594,379,214,706,159,721,392,187,617,396,23,665,346,1080,661,398,1048,769,396,107,731,1463,1044,7... |
dino/lcs/123p/E5.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 81321 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
0324B0 addq.b #1, ($e5,A2)
0324B4 move.w ($8,A2), D1 [123p+ E5]
copyright zengfr site:http://github.com/zengfr/romhack
|
agda/Data/Pi/Base.agda | oisdk/combinatorics-paper | 4 | 4335 | {-# OPTIONS --safe --cubical #-}
module Data.Pi.Base where
open import Level
Π : (A : Type a) (B : A → Type b) → Type _
Π A B = (x : A) → B x
∀′ : {A : Type a} (B : A → Type b) → Type _
∀′ {A = A} B = Π A B
infixr 4.5 ∀-syntax
∀-syntax : ∀ {a b} {A : Type a} (B : A → Type b) → Type (a ℓ⊔ b)
∀-syntax = ∀′
syntax ∀... |
library/fmGUI_ManageDatabase/fmGUI_ManageDB_Save.applescript | NYHTC/applescript-fm-helper | 1 | 4503 | -- fmGUI_ManageDB_Save({notInManageDbIsError:""})
-- <NAME>, NYHTC
-- Close ( and save ) FileMaker's 'Manage Database' window.
(*
HISTORY:
1.6 - 2020-05-20 ( dshockley ): removed an incorrect requires-sub-handler comment.
1.5 - 2017-10-30 ( eshagdar ): FM interactions are done via sub-handlers.
1.4 - 2016-06-29 (... |
testdata/test.asm | crgimenes/vm | 1 | 161461 | org 100h
section .text
mov ah, 40h
mov bx, 1
mov cx, 11
mov dx, msg
int 21h
mov al, 1
mov ah, 4Ch
int 21h
section .data
msg db "hello world"
|
test/Fail/Issue1209-5.agda | cruhland/agda | 1,989 | 501 | <reponame>cruhland/agda
{-# OPTIONS --safe --no-guardedness #-}
record Stream (A : Set) : Set where
coinductive
field
head : A
tail : Stream A
open Stream
repeat : ∀ {A} → A → Stream A
repeat x .head = x
repeat x .tail = repeat x
|
courses/fundamentals_of_ada/labs/prompts/110_private_types/flags.adb | AdaCore/training_material | 15 | 6575 | package body Flags is
procedure Add
(Map : in out Map_T;
Key : Key_T;
Description : Colors.Color_Set_T;
Success : out Boolean) is
begin
Success := False;
-- If the key is not already in the map then
-- Create a map element and add i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.