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 |
|---|---|---|---|---|
lab2/example_d_1.asm | 0000Blaze/Microprocess | 0 | 23240 | # ORG 8000
MVI B,00
MVI C,45
MOV A,B
INR A
MOV B,A
MOV A,C
DCR A
MOV C,A
HLT
|
oeis/064/A064733.asm | neoneye/loda-programs | 11 | 20360 | <gh_stars>10-100
; A064733: Final digits of A005165(2n) for large n, read from right.
; Submitted by <NAME>
; 9,1,0,7,7,5,5,3,6,1,6,1,2,6,3,9,3,5,6,4,4,1,2,8,8,5,7,6,3,2,6,8,6,5,5,0,1,6,0,4,8,5,9,1,6,9,4,6,3,4,0,7,3,8,1,7,6,8,1,3,1,6,8,8,1,1,9,8,9,2,8,8,8,6,0,2,9,5,3,9,9,6,6,3,2,9,9,3,6,3,4,2,4,7,9,0,7,7,4,5
mov $3,$0... |
oeis/140/A140787.asm | neoneye/loda-programs | 11 | 164292 | ; A140787: Expansion of 1 / ( (1+x)*(2*x+1)*(-1+2*x)^2 ).
; Submitted by <NAME>
; 1,1,7,9,39,57,199,313,967,1593,4551,7737,20935,36409,94663,167481,422343,757305,1864135,3378745,8155591,14913081,35418567,65244729,152859079,283348537,656175559,1222872633,2803659207,5249404473,11930464711,22429273657,50585170375,95443717... |
theorems/stash/CubicalTypes.agda | timjb/HoTT-Agda | 294 | 856 | <gh_stars>100-1000
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
module experimental.CubicalTypes where
data access : ℕ → ℕ → Type₀ where
[] : access O O
_#up : ∀ {n} {k} → access n k → access (S n) k
_#down : ∀ {n} {k} → access n k → access (S n) k
_#keep : ∀ {n} {k} → access n k → access (S n) (... |
test/Succeed/Issue1194l.agda | shlevy/agda | 1,989 | 3764 | module _ where
module A where
postulate C : Set → Set → Set
syntax C X Y = X , Y
module B where
postulate C : Set
open A
open B
Foo : Set → Set
Foo X = X , X
|
src/file_operations-heap.adb | kraileth/ravenadm | 18 | 10187 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Ada.Text_IO.Text_Streams;
package body File_Operations.Heap is
package TIO renames Ada.Text_IO;
package STR renames Ada.Text_IO.Text_Streams;
procedure slurp_file (dossier : String) is
begin
... |
Cubical/Structures/Group.agda | RobertHarper/cubical | 0 | 9242 | <reponame>RobertHarper/cubical
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Group where
open import Cubical.Structures.Group.Base public
open import Cubical.Structures.Group.Properties public
open import Cubical.Structures.Group.Morphism public
open import Cubical.Structures.Group.Morph... |
oeis/252/A252482.asm | neoneye/loda-programs | 11 | 244077 | ; A252482: Exponents n such that the decimal expansion of the power 12^n contains no zeros.
; Submitted by <NAME>
; 0,1,2,3,5,6,8,10,14,20,26
add $0,2
mov $2,20
mov $3,1
lpb $0
add $3,$0
mul $0,$3
div $0,$2
trn $0,1
lpe
mov $0,$3
sub $0,3
|
library/02_functions_batch1/unknown_1000a290.asm | SamantazFox/dds140-reverse-engineering | 1 | 12078 | 1000a290: 55 push ebp
1000a291: 8b ec mov ebp,esp
1000a293: 83 ec 18 sub esp,0x18
1000a296: 53 push ebx
1000a297: ff 75 10 push DWORD PTR [ebp+0x10]
1000a29a: 8d 4d e8 lea ecx,[ebp-0x18]
1000a29d: e8 78 9b ff ff ... |
lab4/branch_3_equal/branch3equal.asm | samdsk/lab_arch2 | 0 | 21289 | <gh_stars>0
#Input: tre valori interi, due indirizzi del segmento testo
#Output: nessuno
#$a0, $a1, $a2 <- 3 interi
#$s3 primo addr stack secondo addr
.data
.text
.globl branch3equal
branch3equal:
add $t0 $0 $0
add $v0 $0 $0
bne $a0 $a1 second
addi $t0 $t0 1
second: bne $a0 $a2 third
addi $t0 $t0 ... |
Cubical/Algebra/AbGroup.agda | thomas-lamiaux/cubical | 1 | 14531 | {-# OPTIONS --safe #-}
module Cubical.Algebra.AbGroup where
open import Cubical.Algebra.AbGroup.Base public
open import Cubical.Algebra.AbGroup.Properties public
|
palacios/src/palacios/vmm_symbol.asm | tsinghua-os-spring-2013/palacios | 1 | 162141 | ; -*- fundamental -*-
;;
;; Symbol mangling macros
;; Copyright (c) 2001, <NAME> <<EMAIL>>
;;
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
;; files (the "Software"), to deal in the Software without restriction,
;; including without lim... |
Task/Memory-allocation/Ada/memory-allocation-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 26893 | declare
type Integer_Ptr is access Integer;
procedure Free is new Ada.Unchecked_Deallocation (Integer, Integer_Ptr)
Ptr : Integer_Ptr := new Integer; -- Allocated in the heap
begin
Free (Ptr); -- Explicit deallocation
...
end;
|
fe/fe-core/src/main/java/com/starrocks/sql/parser/StarRocksLex.g4 | happut/starrocks | 0 | 103 | <reponame>happut/starrocks<gh_stars>0
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
lexer grammar StarRocksLex;
@parser::members {public static long sqlMode;}
tokens {
CONCAT
}
ADD: 'ADD';
ADMIN: 'ADMIN';
ALL: 'ALL';
ALTER: 'ALTER';
AND: 'AND';
ANTI: 'ANTI';
AR... |
Common/array.asm | Martin-H1/6502 | 3 | 170404 | <reponame>Martin-H1/6502
; -----------------------------------------------------------------------------
; Array abstract data type.
; Note: Array's are not cells, they are not managed by the garbage collector.
; But they can be wrapped by a vector cell which acts as a smart pointer.
; <NAME> <<EMAIL>>
; --------------... |
task.asm | Klaus073/Assembly-language | 0 | 86967 | [org 0x01000]
mov ax,6
add ax,6
add ax,6
add ax,6
add ax,6
add ax,6
add ax,6
mov ax, 0x4c00 ; leave it for upcoming labs
int 0x21 |
Add Two Numbers Using Stack.asm | juancstlm/Assembly-Programming | 0 | 96626 | <reponame>juancstlm/Assembly-Programming<gh_stars>0
; Add Two Numbers using stack
.386
.model flat,stdcall
.stack 4096
INCLUDE Irvine32.inc
ExitProcess proto,dwExitCode:dword
.data
val1 DWORD ?
val2 DWORD ?
.code
main proc
mov val1, 3
mov val2, 4
push val2
push val1
y_param EQU [ebp+12]
x_par... |
ASM/src/debug.asm | deralex/Better-OoT | 289 | 90427 | <reponame>deralex/Better-OoT
.macro debug_print,reg
addi sp, sp, -0x20
sw t0, 0x04(sp)
sw t1, 0x08(sp)
sw t2, 0x0C(sp)
sw t3, 0x10(sp)
sw at, 0x14(sp)
ori t3, reg, 0
li t0, DebugOutput
lw t1, 0x00(t0)
add t2, t0, t1
sw t3, 0x04(t2)
addi t1, t1, 4
sw t1, 0x00(t0)
lw t0, 0x04(sp)
... |
avx2/zuc_avx2.asm | kevintraynor/intel-ipsec-mb | 0 | 244616 | <filename>avx2/zuc_avx2.asm
;;
;; Copyright (c) 2020, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this... |
test/Succeed/Issue204.agda | cruhland/agda | 1,989 | 3940 | <filename>test/Succeed/Issue204.agda
{-# OPTIONS --universe-polymorphism #-}
module Issue204 where
open import Issue204.Dependency
postulate
ℓ : Level
r : R ℓ
d : D ℓ
open R r
open M d
|
programs/oeis/048/A048071.asm | neoneye/loda | 22 | 11494 | <gh_stars>10-100
; A048071: Number of nonempty subsets of {1,2,...,n} in which exactly 1/2 of the elements are <= (n+2)/3.
; 0,1,2,5,9,14,34,55,83,209,329,494,1286,2001,3002,8007,12375,18563,50387,77519,116279,319769,490313,735470,2042974,3124549,4686824,13123109,20030009,30045014,84672314,129024479,193536719
add $0,3... |
sk/music/Chaos Emerald.asm | Cancer52/flamedriver | 9 | 18358 | Snd_Emerald_Header:
smpsHeaderStartSong 3, 1
smpsHeaderVoice Snd_Emerald_Voices
smpsHeaderChan $07, $03
smpsHeaderTempo $01, $35
smpsHeaderDAC Snd_Emerald_DAC
smpsHeaderFM Snd_Emerald_FM1, $F4, $08
smpsHeaderFM Snd_Emerald_FM2, $F4, $08
smpsHeaderFM Snd_Emerald_FM3, $F4,... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-suenco.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 28036 | <reponame>JCGobbi/Nucleo-STM32G474RE<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
backend/src/main/antlr4/org/str/backend/lifeparser.g4 | sjrtuxkjvch/gameofdalife | 0 | 6588 | <gh_stars>0
/**
* Define a grammar called lifeparser
*/
grammar lifeparser;
file:
// identify_statement
// description_statements
// rule_statement
pattern_statements
EOF
;
identify_statement: HASH LIFE_ID NL;
description_statements: description_statement*;
description_statement: HASH D NL;
rule_statement: HA... |
_build/dispatcher/jmp_ippsGFpScratchBufferSize_666fc8cb.asm | zyktrcn/ippcp | 1 | 27406 | extern m7_ippsGFpScratchBufferSize:function
extern n8_ippsGFpScratchBufferSize:function
extern y8_ippsGFpScratchBufferSize:function
extern e9_ippsGFpScratchBufferSize:function
extern l9_ippsGFpScratchBufferSize:function
extern n0_ippsGFpScratchBufferSize:function
extern k0_ippsGFpScratchBufferSize:function
extern ippcp... |
GParse/Lexing/Composable/regex.g4 | GGG-KILLER/GParse | 1 | 5982 | main
: alternation
| sequence
;
alternation
: main '|' sequence
;
sequence
: suffixed*
;
suffixed
: repetition
| expression
;
repetition
: expression ('?' | '*' | '+' | '{' NUMBER '}' | '{' NUMBER? ',' NUMBER? '}') '?'?
;
expression
: alternation_set
| lookahead
| non_capturing_group
| named_captu... |
old/EquivalenceLemmas.agda | UlrikBuchholtz/HoTT-Agda | 294 | 1736 | <gh_stars>100-1000
{-# OPTIONS --without-K #-}
{-
This file lists some basic facts about equivalences
that have to be put in a separate file due to dependency.
-}
open import Types
open import Functions
open import Paths
open import HLevel
open import Equivalences
open import Univalence
open import HLevelBis
mod... |
programs/oeis/086/A086580.asm | neoneye/loda | 22 | 89502 | ; A086580: a(n) = 9*(10^n - 1).
; 0,81,891,8991,89991,899991,8999991,89999991,899999991,8999999991,89999999991,899999999991,8999999999991,89999999999991,899999999999991,8999999999999991,89999999999999991,899999999999999991,8999999999999999991,89999999999999999991,899999999999999999991
mov $1,10
pow $1,$0
sub $1,1
mul ... |
Task/Cholesky-decomposition/Ada/cholesky-decomposition-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 3411 | <reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10
with Ada.Numerics.Generic_Real_Arrays;
generic
with package Matrix is new Ada.Numerics.Generic_Real_Arrays (<>);
package Decomposition is
-- decompose a square matrix A by A = L * Transpose (L)
procedure Decompose (A : Matrix.Real_Matrix; L : out Matrix.R... |
arch/ARM/STM32/svd/stm32f7x9/stm32_svd-flash.ads | rocher/Ada_Drivers_Library | 192 | 29064 | -- This spec has been automatically generated from STM32F7x9.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.FLASH is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype ACR_LATENCY_Field is... |
src/main/antlr/FreezeTag.g4 | Hyperparticle/FreezeTag | 3 | 4104 | grammar FreezeTag;
start: statement (SEP_S statement)* SEP_S?;
statement: WS? subject (WS? predicate)? WS?;
subject: node;
predicate: relation WS? node;
node: (nodeType WS?)? nodeProperty (WS? nodeProperty)* | nodeType;
nodeType: TYPE_S ID;
nodeProperty: PROP_S ID (WS string)?;
// TODO: request individual properties
... |
programs/oeis/109/A109678.asm | karttu/loda | 1 | 175611 | <reponame>karttu/loda
; A109678: Sequence and first differences include all square numbers exactly once.
; 1,5,14,30,55,91,140,204,285,385,506,650,819,1015,1240,1496,1785,2109,2470,2870,3311,3795,4324,4900,5525,6201,6930,7714,8555,9455,10416,11440,12529,13685,14910,16206,17575,19019,20540,22140,23821,25585
add $0,2
mu... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_1_1434.asm | ljhsiun2/medusa | 9 | 15089 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_1_1434.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1d64b, %rax
nop
nop
sub %rdi, %rdi
mov $0x6162636465666768, %r8
movq %r8, %xmm5
movups %xmm5, (%rax)
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_331.asm | ljhsiun2/medusa | 9 | 9559 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xd3f2, %r14
nop
add %r13, %r13
movl $0x61626364, (%r14)
nop
nop
nop
nop
xor $64197, %r11
lea addresses_A_ht+0x5eea, %rdi
nop
nop
nop
nop
nop
dec %rs... |
Ada/gnat/ptask.adb | egustafson/sandbox | 2 | 27667 | with text_io, task_control;
use text_io, task_control;
procedure ptask is
-- y : duration := 0.0005;
package int_io is new integer_io (integer);
use int_io;
task looper is
end;
task body looper is
begin
for j in 1 .. 100 loop
put (j);
new_line;
end loop;
new_line;
put_... |
002-assembly/common-string-len.asm | dingjingmaster/learn-kernel | 0 | 1651 | .macro pushaq
push %rax
push %rcx
push %rdx
push %rbx
push %rbp
push %rsi
push %rdi
.endm # pushaq
.macro popaq
pop %rdi
pop %rsi
pop %rbp
pop %rbx
pop %rdx
pop %rcx
pop %rax
.endm # popaq
.extern print_int
.data
string: .ascii "This string has\na line break in... |
a51test/(38)ADDC_A_Rn.a51 | Aimini/51cpu | 0 | 1624 |
MOV 0xD0,#0x00
MOV R0,#0x00
MOV R1,#0x01
MOV R2,#0x02
MOV R3,#0x03
MOV R4,#0x04
MOV R5,#0x05
MOV R6,#0x06
MOV R7,#0x07
MOV 0xD0,#0x08
MOV R0,#0x08
MOV R1,#0x09
MOV R2,#0x0A
MOV R3,#0x0B
MOV R4,#0x0C
MOV R5,#0x0D
MOV R6,#0x0E
MOV R7,#0x0F
MOV 0xD0,#0x10
MOV R0,#0x10
MOV R1,#0x11
MOV R2,#0x12
MOV R3,#0x13
MOV R4,#0x14... |
programs/oeis/134/A134567.asm | neoneye/loda | 22 | 90544 | ; A134567: a(n) = least m such that {-m*tau} < {n*tau}, where { } denotes fractional part and tau = (1 + sqrt(5))/2.
; 1,3,1,1,8,1,3,1,1,3,1,1,21,1,3,1,1,8,1,3,1,1,3,1,1,8,1,3,1,1,3,1,1,55,1,3,1,1,8,1,3,1,1,3,1,1,21,1,3,1,1,8,1,3,1,1,3,1,1,8,1,3,1,1,3,1,1,21,1,3,1,1,8,1,3,1,1,3,1,1,8,1,3,1,1,3,1,1,144,1,3,1,1,8,1,3,1,1... |
test/full_isa_demo_with_fp.asm | yashadhikari/ELISA | 0 | 25043 | .text
main:
j alu_tester
alu_tester:
########## ADDITION ###########
# Store immediates so we can do some math
addi $r1 $r0 1 # r1 = 1
addi $r1 $r1 2 # r1 = r1 + 2
add $r1 $r1 $r1 # r1 = r1 + r1
lw $r2 expected_add
# If the branch is taken, something went... |
oeis/293/A293561.asm | neoneye/loda-programs | 11 | 3461 | <reponame>neoneye/loda-programs
; A293561: Column 3 of A142249.
; Submitted by <NAME>
; 3,19,80,286,945,2997,9294,28456,86471,261559,788892,2375010,7141581,21457705,64438874,193447948,580606275,1742343435,5228079240,15686335270,47063200553,141197990749,423610749990,1270865804976,3812664524415,11438127791647,34314651811... |
_incObj/43 Roller.asm | kodishmediacenter/msu-md-sonic | 9 | 12676 | <filename>_incObj/43 Roller.asm
; ---------------------------------------------------------------------------
; Object 43 - Roller enemy (SYZ)
; ---------------------------------------------------------------------------
Roller:
moveq #0,d0
move.b obRoutine(a0),d0
move.w Roll_Index(pc,d0.w),d1
jmp Roll_Index(p... |
src/SlimShader.Tests/Shaders/Sdk/Direct3D11/BasicCompute11/BasicCompute11_Structured.asm | tgjones/slimshader | 125 | 160215 | <filename>src/SlimShader.Tests/Shaders/Sdk/Direct3D11/BasicCompute11/BasicCompute11_Structured.asm
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714
//
//
///
// Buffer Definitions:
//
// Resource bind info for Buffer0
// {
//
// struct BufType
// {
//
// int i; ... |
test/container/test_container-write.ads | skill-lang/skillAdaTestSuite | 1 | 29517 | with Ada.Directories;
with Ahven.Framework;
with Container.Api;
with Ada.Text_IO;
package Test_Container.Write is
package Skill renames Container.Api;
use Container;
use Container.Api;
type Test is new Ahven.Framework.Test_Case with null record;
procedure Initialize (T : in out Test);
procedure ... |
asm/hello2.asm | yoshitsugu/hariboteos_in_rust | 29 | 242661 | [BITS 32]
MOV EDX,2
MOV EBX,msg
INT 0x40
MOV EDX,4
INT 0x40
msg:
DB "hello",0
|
source/types/adam-a_type-access_type.adb | charlie5/aIDE | 3 | 15055 | with
AdaM.Factory;
package body AdaM.a_Type.access_type
is
-- Storage Pool
--
record_Version : constant := 1;
pool_Size : constant := 5_000;
package Pool is new AdaM.Factory.Pools (storage_Folder => ".adam-store",
poo... |
oeis/220/A220694.asm | neoneye/loda-programs | 11 | 173885 | <reponame>neoneye/loda-programs<filename>oeis/220/A220694.asm
; A220694: Irregular table: row n (n>=1) consists of numbers 1..A084556(n).
; Submitted by <NAME>(s3)
; 1,1,2,1,2,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,3,4,1,2,... |
Ada/src/Problem_25.adb | Tim-Tom/project-euler | 0 | 380 | <reponame>Tim-Tom/project-euler<filename>Ada/src/Problem_25.adb<gh_stars>0
with Ada.Text_IO;
with BigInteger; use BigInteger;
package body Problem_25 is
package IO renames Ada.Text_IO;
procedure Solve is
term : Positive := 3;
n : BigInt := BigInteger.Create(2);
n_1 : BigInt := BigInteger.Creat... |
test/interaction/Issue3095-fail.agda | alhassy/agda | 1 | 7655 | <filename>test/interaction/Issue3095-fail.agda
-- Andreas, 2018-05-28, issue #3095, fail on attempt to make hidden parent variable visible
data Nat : Set where
suc : {n : Nat} → Nat
data IsSuc : Nat → Set where
isSuc : ∀{n} → IsSuc (suc {n})
test : ∀{m} → IsSuc m → Set
test p = aux p
where
aux : ∀{n} → IsSuc... |
oeis/165/A165186.asm | neoneye/loda-programs | 11 | 1828 | <reponame>neoneye/loda-programs<filename>oeis/165/A165186.asm
; A165186: a(n) = Sum_{k=1..n} (k*(n-k) mod n).
; Submitted by <NAME>(s4)
; 0,1,4,6,10,17,28,36,30,45,66,82,78,105,140,136,136,141,190,230,238,253,322,380,250,325,360,434,406,505,558,592,572,561,700,678,666,741,910,980,820,917,946,1122,1050,1173,1316,1432,10... |
Task/Linear-congruential-generator/Ada/linear-congruential-generator-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 7599 | <gh_stars>1-10
package body LCG is
State: Base_Type := Base_Type'First;
procedure Initialize(Seed: Base_Type) is
begin
State := Seed;
end Initialize;
function Random return Base_Type is
begin
State := State * Multiplyer + Adder;
return State / Output_Divisor;
end Random;
end L... |
ioq3/build/release-js-js/baseq3/game/g_session.asm | RawTechnique/quake-port | 1 | 89048 | export G_WriteClientSessionData
code
proc G_WriteClientSessionData 20 32
ADDRFP4 0
ADDRFP4 0
INDIRP4
ASGNP4
ADDRGP4 $54
ARGP4
ADDRFP4 0
INDIRP4
CNSTI4 616
ADDP4
INDIRI4
ARGI4
ADDRFP4 0
INDIRP4
CNSTI4 620
ADDP4
INDIRI4
ARGI4
ADDRFP4 0
INDIRP4
CNSTI4 624
ADDP4
INDIRI4
ARGI4
ADDRFP4 0
INDIRP4
CNSTI4 628
ADDP4
INDIRI4
ARGI... |
bootdict/tc/search.asm | ikysil/ikforth | 8 | 15212 | ;******************************************************************************
;
; search.asm
; IKForth
;
; Unlicense since 1999 by <NAME>
;
;******************************************************************************
; Words search
;******************************************************************************... |
source/tasking/required/s-tpoben.ads | ytomino/drake | 33 | 27519 | <reponame>ytomino/drake<gh_stars>10-100
pragma License (Unrestricted);
-- implementation unit required by compiler
with Ada.Exceptions;
with Ada.Finalization;
with Ada.Unchecked_Conversion;
package System.Tasking.Protected_Objects.Entries is
type Node is limited record
Super : aliased Synchronous_Objects.Que... |
code/6502/invaders/shield.asm | visrealm/hbc-56 | 65 | 161086 | <filename>code/6502/invaders/shield.asm
; Troy's HBC-56 - 6502 - Invaders - Shields
;
; Copyright (c) 2021 <NAME>
;
; This code is licensed under the MIT license
;
; https://github.com/visrealm/hbc-56
;
;
COLOR_SHIELD = TMS_WHITE << 4 | TMS_BLACK
shieldLayout:
!byte 8,9,10,0,0,0,14,15,16,0,0,0,0,20,21,22,0,0,0,26,27... |
libsrc/math/genmath/c/sccz80/cos.asm | jpoikela/z88dk | 640 | 27778 | <reponame>jpoikela/z88dk
; Small C+ Maths Routines
;
; transcendental floating point routines
;
SECTION code_fp
PUBLIC cos
EXTERN sin
EXTERN hladd
EXTERN __halfpi
;double cos(double val)
;Looks odd, but don't worry..value is already in FA - no need for stack
;
; ... |
Transynther/x86/_processed/NONE/_st_/i7-8650U_0xd2.log_4569_455.asm | ljhsiun2/medusa | 9 | 89418 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x18ac1, %r14
dec %rbx
mov (%r14), %r15d
nop
cmp $14704, %r12
lea addresses_WC_ht+0x8479, %rbx
nop
nop
nop
nop
and $63250, %r12
movw $0x6162... |
programs/oeis/084/A084631.asm | neoneye/loda | 22 | 4617 | <reponame>neoneye/loda
; A084631: Floor(C(n+8,8)/C(n+2,2)).
; 1,3,7,16,33,61,107,178,286,442,663,969,1384,1938,2664,3605,4807,6325,8222,10571,13455,16965,21206,26295,32364,39556,48032,57970,69564,83028,98595,116522,137085,160585,187349,217730,252109,290895,334529,383484
add $0,8
bin $0,6
mul $0,2
div $0,56
|
programs/oeis/117/A117366.asm | neoneye/loda | 22 | 27297 | <filename>programs/oeis/117/A117366.asm<gh_stars>10-100
; A117366: a(n) = smallest prime greater than the largest prime dividing n.
; 2,3,5,3,7,5,11,3,5,7,13,5,17,11,7,3,19,5,23,7,11,13,29,5,7,17,5,11,31,7,37,3,13,19,11,5,41,23,17,7,43,11,47,13,7,29,53,5,11,7,19,17,59,5,13,11,23,31,61,7,67,37,11,3,17,13,71,19,29,11,73,... |
Transynther/x86/_processed/NONE/_un_xt_sm_/i9-9900K_12_0xca.log_21829_352.asm | ljhsiun2/medusa | 9 | 244833 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1c27a, %rsi
lea addresses_normal_ht+0x162aa, %rdi
nop
nop
cmp %r13, %r13
mov $37, %rcx
rep movsq
nop
xor %r9, %r9
lea addresses_A_ht+0x443a, %r12
nop
nop
nop
nop
nop
xor %rsi, %rsi
mov ... |
src/sys/serialize/util-serialize-tools.ads | RREE/ada-util | 60 | 24550 | <filename>src/sys/serialize/util-serialize-tools.ads<gh_stars>10-100
-----------------------------------------------------------------------
-- util-serialize-tools -- Tools to Serialize objects in various formats
-- Copyright (C) 2012, 2016 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache Lice... |
_tests/trconvert/antlr2/python.g4 | SKalt/Domemtech.Trash | 16 | 6419 | /*
[The "BSD licence"]
Copyright (c) 2004 <NAME> and <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list ... |
tests/crew-member_data_test_data-member_data_tests.ads | thindil/steamsky | 80 | 22949 | <filename>tests/crew-member_data_test_data-member_data_tests.ads
-- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with GNATtest_Generated;
package Crew.Member_Data_Test_Data.Member_Data_Tests is
type Tes... |
src/test/resources/data/generationtests/glass-labels.asm | cpcitor/mdlz80optimizer | 36 | 88943 | ; Test to check labels are parsed like in Glass (reported by Torihino)
DI ds 1 ; this should parse "DI" as a label |
unittests/arch/x86/insn/bswap64.asm | path64/assembler | 1 | 246297 | [bits 64]
bswap r8 ; 49 0f c8
bswap rax ; 48 0f c8
|
mos/test-data/build/include.asm | RoyJacobs/mosdev | 15 | 162694 | <filename>mos/test-data/build/include.asm
ldx #$00
loop:
lda data, x
beq end
sta $0400, x
inx
jmp loop
end:
rts
data:
.file "include.bin"
.byte 0
|
_anim/Flapping Door.asm | kodishmediacenter/msu-md-sonic | 9 | 92791 | <reponame>kodishmediacenter/msu-md-sonic
; ---------------------------------------------------------------------------
; Animation script - flapping door (LZ)
; ---------------------------------------------------------------------------
Ani_Flap: dc.w @opening-Ani_Flap
dc.w @closing-Ani_Flap
@opening: dc.b 3, 0, 1, 2... |
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_sinh.asm | dikdom/z88dk | 1 | 16186 |
SECTION code_fp_am9511
PUBLIC cam32_sdcc_sinh
EXTERN asm_sdcc_read1, _am9511_sinh
.cam32_sdcc_sinh
call asm_sdcc_read1
jp _am9511_sinh
|
kernel/libarch/x86/src/longjmp.asm | CarboSauce/Gloxor | 4 | 94684 | bits 64
section .text
global _gloxAsmLongJump
_gloxAsmLongJump:
mov rax, rsp
push 0x10
push rax
pushf
push 0x8
push .1
iretq
.1:
mov eax, 0x10
mov ds,eax;
mov es,eax;
mov fs,eax;
mov gs,eax
mov ss,eax
ret |
tools-src/gnu/gcc/gcc/ada/s-exngen.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 498 | ------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
Driver/Printer/PScript/qmsColorScriptf35Info.asm | steakknife/pcgeos | 504 | 242580 |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: PostScript driver
FILE: qmsColorScriptf35Info.asm
AUTHOR: <NAME> 13 April 1993
REVISION HISTORY:
Name Date Description
---- ---- ... |
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx_tty_z88dk/zx_01_output_fzx_tty_z88dk_02_font_address.asm | jpoikela/z88dk | 640 | 1734 |
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC zx_01_output_fzx_tty_z88dk_02_font_address
zx_01_output_fzx_tty_z88dk_02_font_address:
; de = parameters *
ld a,(de) ; a = MSB font address
inc de
ld (ix+34),a
ld a,(de) ; a = LSB of font addre... |
test/Succeed/Issue3662.agda | cruhland/agda | 1,989 | 9946 | <filename>test/Succeed/Issue3662.agda
-- Andreas, 2018-04-10, issue #3662.
-- Regression in the termination checker introduced together
-- with collecting function calls also in the type signatures
-- (fix of #1556).
record T : Set₂ where
field
Carr : Set₁
op : Carr → Carr
test : T
T.Carr test = Set
T.... |
echo.asm | yonigev/OSAssignment2 | 0 | 172057 |
_echo: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.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 fc pushl -0x4(%ecx)
a: 55 ... |
source/oasis/program-elements-derived_types.ads | reznikmm/gela | 0 | 16534 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Type_Definitions;
with Program.Lexical_Elements;
with Program.Elements.Subtype_Indications;
package Program.Elements.Derived_Types is
pragma Pur... |
software/minol/minol.asm | paulscottrobson/retrochallenge-jan-2016 | 0 | 94818 | ; ****************************************************************************************************************
; ****************************************************************************************************************
;
; Minol ROM Image
;
; *******************************************************... |
src/sprites/ball11.asm | bitshifters/teletextr | 8 | 95854 | <gh_stars>1-10
\\ Input file 'ball11.png'
\\ Image size=12x15 pixels=12x15
.ball11
EQUB 6, 5 ;char width, char height
.ball11_data
.ball11_data_00 ; x_offset=0, y_offset=0
EQUB 32,120,124,124,48,32
EQUB 106,127,127,116,123,32
EQUB 42,127,127,127,63,32
EQUB 32,34,35,35,32,32
EQUB 32,32,32,32,32,32
.ball11_data_10 ; x_of... |
archive/agda-1/UnifyWith.agda | m0davis/oscar | 0 | 16848 | <filename>archive/agda-1/UnifyWith.agda
open import Relation.Binary using (IsDecEquivalence)
open import Agda.Builtin.Equality
module UnifyWith (FunctionName : Set) ⦃ isDecEquivalenceA : IsDecEquivalence (_≡_ {A = FunctionName}) ⦄ where
open import UnifyTermF FunctionName
open import UnifyMguF FunctionName
open impo... |
src/frontend/Experimental_Ada_ROSE_Connection/dot_asis/research/ada_main.adb | sourceryinstitute/rose-sourcery-institute | 0 | 30518 | <reponame>sourceryinstitute/rose-sourcery-institute<filename>src/frontend/Experimental_Ada_ROSE_Connection/dot_asis/research/ada_main.adb
with Ada.Text_IO;
procedure Ada_Main is
procedure C_Func;
pragma Import (C, C_Func);
package ATI renames Ada.Text_Io;
begin
ATI.Put_Line ("Ada_Main: Calling C_Func");
... |
oeis/280/A280344.asm | neoneye/loda-programs | 11 | 167938 | ; A280344: Number of 2 X 2 matrices with all elements in {0,...,n} with determinant = permanent^n.
; 0,12,30,56,90,132,182,240,306,380,462,552,650,756,870,992,1122,1260,1406,1560,1722,1892,2070,2256,2450,2652,2862,3080,3306,3540,3782,4032,4290,4556,4830,5112,5402,5700,6006,6320,6642,6972,7310,7656,8010,8372,8742,9120,9... |
3-mid/impact/source/2d/dynamics/joints/impact-d2-joint-mouse.adb | charlie5/lace | 20 | 21042 | package body impact.d2.Joint.mouse
is
procedure dummy is begin null; end dummy;
-- #include <Box2D/Dynamics/Joints/b2MouseJoint.h>
-- #include <Box2D/Dynamics/b2Body.h>
-- #include <Box2D/Dynamics/b2TimeStep.h>
--
-- // p = attached point, m = mouse point
-- // C = p - m
-- // Cdot = v
-- // = v + c... |
Application Support/BBEdit/Packages/dStyle.bbpackage/Contents/Scripts/Editor action/New Line Below Current Line.applescript | bhdicaire/bbeditSetup | 0 | 2563 | <filename>Application Support/BBEdit/Packages/dStyle.bbpackage/Contents/Scripts/Editor action/New Line Below Current Line.applescript
-- <NAME> (@olivertaylor, http://olivertaylor.net) - June 2012
tell application "BBEdit"
tell text of front text window
set lineOfInsertionPoint to line (startLine of selection)
se... |
Type/Properties/Singleton/Proofs.agda | Lolirofle/stuff-in-agda | 6 | 13230 | <gh_stars>1-10
module Type.Properties.Singleton.Proofs where
import Data.Tuple as Tuple
open import Data.Proofs
open import Function.Axioms
open import Logic.Classical
open import Logic
import Lvl
open import Type.Properties.Empty
open import Type.Properties.Inhabited
open import Type.Properties.MereProposit... |
demo/adainclude/memory_move.ads | e3l6/SSMDev | 0 | 23231 | <filename>demo/adainclude/memory_move.ads
--
-- Copyright (C) 2006-2013, AdaCore
--
-- This package provides a general block copy mechanism analogous to that
-- provided by the C routine memmove allowing for copies with overlap.
with System; use System;
with Interfaces.C; use Interfaces.C;
package Memory_Move is
... |
KRLangGrammar.g4 | sharkich/kr-editor | 0 | 1389 | grammar KRLangGrammar;
todoExpressions : (addExpression)* (completeExpression)*;
addExpression : ADD TODO STRING;
completeExpression : COMPLETE TODO STRING;
ADD : 'ADD';
TODO : 'TODO';
COMPLETE: 'COMPLETE';
STRING: '"' ~ ["]* '"';
EOL: [\r\n] + -> skip;
WS: [ \t] -> skip;
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1247.asm | ljhsiun2/medusa | 9 | 28179 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %rdi
push %rsi
lea addresses_A_ht+0x83, %r8
nop
nop
add $56075, %rdi
movb (%r8), %r14b
nop
nop
inc %rsi
pop %rsi
pop %rdi
pop %r8
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %... |
python-ada/unit.ads | octonion/recursion | 8 | 1877 | <reponame>octonion/recursion
with Interfaces.C; use Interfaces;
package unit is
type stack is array (0..9) of integer;
function partitions (cards: out stack; subtotal: integer) return integer;
pragma export (C, partitions, "partitions");
end unit;
|
_anim/Buzz Bomber Missile.asm | kodishmediacenter/msu-md-sonic | 9 | 171958 | ; ---------------------------------------------------------------------------
; Animation script - missile that Buzz Bomber throws
; ---------------------------------------------------------------------------
Ani_Missile: dc.w @flare-Ani_Missile
dc.w @missile-Ani_Missile
@flare: dc.b 7, 0, 1, afRoutine
@missile: dc.... |
Task/Exceptions/AppleScript/exceptions-2.applescript | LaudateCorpus1/RosettaCodeData | 1 | 687 | try
set num to 1 / 0
--do something that might throw an error
on error errMess number errNum
--errMess and number errNum are optional
display alert "Error # " & errNum & return & errMess
end try
|
src/keystore-containers.adb | thierr26/ada-keystore | 0 | 20004 | -----------------------------------------------------------------------
-- keystore-containers -- Container protected keystore
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the... |
programs/oeis/131/A131762.asm | jmorken/loda | 1 | 175725 | ; A131762: Number of 1s in the 1's complement of the 32-bit binary representation of n.
; 32,31,31,30,31,30,30,29,31,30,30,29,30,29,29,28,31,30,30,29,30,29,29,28,30,29,29,28,29,28,28,27,31,30,30,29,30,29,29,28,30,29,29,28,29,28,28,27,30,29,29,28,29,28,28,27,29,28,28,27,28,27,27,26,31,30,30,29,30,29,29,28,30,29,29,28,29... |
awa/plugins/awa-changelogs/src/awa-changelogs-modules.ads | fuzzysloth/ada-awa | 81 | 8246 | <reponame>fuzzysloth/ada-awa
-----------------------------------------------------------------------
-- awa-changelogs-modules -- Module changelogs
-- Copyright (C) 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except i... |
src/mappers/MMC1.asm | freem/nes_corelib | 16 | 25445 | ; File: mappers/MMC1.asm
; MMC1 mapper code and defines.
;==============================================================================;
; Variables: MMC1 zero page variables ($E0-$EF)
;
; mmc1Data - Data to write to MMC1 register.
; int_mmc1Ctrl - Last full value written to MMC1 control register.
; curPrgBank - Curre... |
src/Data/QuadTree/LensProofs/Valid-LensLeaf.agda | JonathanBrouwer/research-project | 1 | 4432 | module Data.QuadTree.LensProofs.Valid-LensLeaf where
open import Haskell.Prelude renaming (zero to Z; suc to S)
open import Data.Lens.Lens
open import Data.Logic
open import Agda.Primitive
open import Data.Lens.Proofs.LensLaws
open import Data.Lens.Proofs.LensPostulates
open import Data.Lens.Proofs.LensComposition
ope... |
HoTT/NaturalNumber.agda | michaelforney/hott | 0 | 7311 | <filename>HoTT/NaturalNumber.agda
{-# OPTIONS --without-K #-}
module HoTT.NaturalNumber where
open import HoTT.Base renaming (_+_ to _⊎_)
open import HoTT.Identity
private variable n m : ℕ
_+_ : ℕ → ℕ → ℕ
0 + m = m
succ n + m = succ (n + m)
+-comm : (n m : ℕ) → n + m == m + n
+-comm zero zero = refl
+-comm zero (su... |
MEMZ/NyanMBR/Source/Stage2/Animation/countNyan.asm | johnmelodyme/viruses | 4 | 18691 | nyanTimeString: db "You've Nyaned for 00000.0 seconds!"
nyanTimeStringLen: equ $-nyanTimeString
nyanTimeVideoStart: equ 3840
nyanTimeBin dw 0
countNyan:
; Set the extra segment to video memory
push es
push 0xb800
pop es
mov di, 0
inc word [nyanTimeBin]
mov bx, nyanTimeStringLen*2
.loop:
sub bx, 2
... |
libsrc/_DEVELOPMENT/fcntl/c/sccz80/dup2.asm | jpoikela/z88dk | 640 | 164989 |
; int dup2(int fd, int fd2)
SECTION code_clib
SECTION code_fcntl
PUBLIC dup2
EXTERN asm_dup2
dup2:
pop af
pop de
pop hl
push hl
push de
push af
jp asm_dup2
|
crt/bigshr.asm | malxau/minicrt | 27 | 166792 | <gh_stars>10-100
;
; BIGSHR.ASM
;
; Implementation for for signed and unsigned right shift of a 64 bit integer.
;
; Copyright (c) 2017 <NAME>
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software... |
Task2/Task2_PF_GCD_LCM.asm | raniaelhagin/Microprocessor-Tasks | 0 | 172835 |
;This code is used to get the prime factors of 2 unsigned numbers and then calculating their gcd and lcm
; It's devided into 4 parts, the first part is to take the inputs from the user
; the second part is to calculate the prime factors for each number
; the third part is to calculate the gcd for each number
;... |
test/asset/agda-stdlib-1.0/Data/Product/Categorical/Examples.agda | omega12345/agda-mode | 5 | 11157 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Universe-sensitive functor and monad instances for the Product type.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Algebra
module Data.... |
programs/oeis/099/A099761.asm | karttu/loda | 0 | 179780 | <reponame>karttu/loda
; A099761: a(n) = ( n*(n+2) )^2.
; 0,9,64,225,576,1225,2304,3969,6400,9801,14400,20449,28224,38025,50176,65025,82944,104329,129600,159201,193600,233289,278784,330625,389376,455625,529984,613089,705600,808201,921600,1046529,1183744,1334025
mov $1,2
add $1,$0
mul $1,$0
pow $1,2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.