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 |
|---|---|---|---|---|
Dave/Algebra/Naturals/Excercises.agda | DavidStahl97/formal-proofs | 0 | 3350 | <filename>Dave/Algebra/Naturals/Excercises.agda
module Dave.Algebra.Naturals.Excercises where
open import Dave.Algebra.Naturals.Addition
+-rearrange : ∀ (m n p q : ℕ) → (m + n) + (p + q) ≡ m + (n + p) + q
+-rearrange m n p q = begin
(m + n) + (p + q) ≡⟨ IsSemigroup.assoc ℕ-+-IsSemigroup m n (p + q) ⟩
m +... |
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_atan_fastcall.asm | meesokim/z88dk | 0 | 101371 |
; float atan(float x) __z88dk_fastcall
SECTION code_fp_math48
PUBLIC cm48_sdccix_atan_fastcall
EXTERN cm48_sdccixp_dx2m48, am48_atan, cm48_sdccixp_m482d
cm48_sdccix_atan_fastcall:
call cm48_sdccixp_dx2m48
call am48_atan
jp cm48_sdccixp_m482d
|
src/q_bingo-q_gtk-q_intl.adb | jfuica/bingada | 4 | 6553 | <gh_stars>1-10
--*****************************************************************************
--*
--* PROJECT: Bingada
--*
--* FILE: q_bingo-q_gtk-q_intl.adb
--*
--* AUTHOR: <NAME>
--*
--*****************************************************************************
with Gtkada.Intl... |
exercises/exercise11/eg_CMOS_date.asm | Dark15/assembly | 1 | 175133 | <gh_stars>1-10
;功能:显示CMOS的年月日
;环境:NASM,Windows
;命令:in、out、shr
;版本:V1.0,2018-6-6本末终始
;设置显示区
mov ax,0xb800
mov es,ax
xor bx,bx
;从CMOS读“年的前两位”,并显示。如:20
mov al,0x32
out 0x70,al
in al,0x71
mov ah,al ;将两位BCD码分别处理和显示
shr al,4 ;高位
and ah,0x0F ;低位
add al,0x30
mov [es:bx],al
inc b... |
tb/tprog/asm/test.sra.asm | mshaklunov/mips_onemore | 0 | 7300 | <filename>tb/tprog/asm/test.sra.asm
#SRA INSTRUCTION
#RUN ALL SHIFTING MODES (0-31) WITH DIFFERENT SIGNED BIT OF THE SHIFTED NUMBER
#EACH RESULT'S BIT GO THROUGH 0 AND 1
#1 SIGNED BIT IS ZERO
lui $1 0x7FFF
ori $1 0xFFFF
lui $2 0x7FFF
ori $2 0xFFFF
sra $3 $1 0
bne $3 $2 fail
lui $2 0x3FFF
ori $2 0x... |
oeis/194/A194730.asm | neoneye/loda-programs | 11 | 85498 | <gh_stars>10-100
; A194730: Number of 10-ary words either empty or beginning with the first character of the alphabet, that can be built by inserting n doublets into the initially empty word.
; Submitted by <NAME>
; 1,1,19,442,11395,312814,8960878,264735892,8006545891,246643289830,7711583225338,244082045341036,78053018... |
kernel/arch/i386/cpu/gdt/gdt_load.asm | qookei/quack | 16 | 246041 | bits 32
global gdt_load
gdtr:
dw 0
dd 0
gdt_load:
mov [gdtr + 2], ecx
mov [gdtr], dx
lgdt [gdtr]
jmp 0x08:.reload_cs
.reload_cs:
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
mov ax, 0x28
ltr ax
ret
|
Klient/klient_assets_package.ads | albinjal/Ada_Project | 4 | 3346 | <gh_stars>1-10
with TJa.Sockets; use TJa.Sockets;
package klient_assets_package is
type Arr is array (1..5) of Integer;
type Protocoll_Type is array (1..15) of Integer;
type Rolls_Type is private;
DATATYPE_ERROR: exception;
---------------------------------------------------------------------------------... |
source/amf/utp/amf-internals-factories-utp_factories.adb | svn2github/matreshka | 24 | 453 | <filename>source/amf/utp/amf-internals-factories-utp_factories.adb<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_2021.asm | ljhsiun2/medusa | 9 | 18490 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_2021.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1bb7d, %r14
nop
nop
xor $40682, %rdi
mov (%r14), %r8w
nop
cmp %r10, %r10... |
programs/oeis/188/A188072.asm | neoneye/loda | 22 | 173081 | ; A188072: Positions of 0 in A188071; complement of A188073.
; 1,2,4,5,8,9,12,13,15,16,19,20,23,24,27,28,30,31,34,35,38,39,42,43,45,46,49,50,53,54,56,57,60,61,64,65,68,69,71,72,75,76,79,80,83,84,86,87,90,91,94,95,98,99,101,102,105,106,109,110,112,113,116,117,120,121,124,125,127,128,131,132,135,136,139,140,142,143
mov ... |
Tools/Product.agda | loic-p/logrel-mltt | 0 | 4486 | -- Σ type (also used as existential) and
-- cartesian product (also used as conjunction).
{-# OPTIONS --without-K --safe #-}
module Tools.Product where
open import Agda.Primitive
infixr 4 _,_
infixr 2 _×_
-- Dependent pair type (aka dependent sum, Σ type).
record Σ {ℓ ℓ′ : Level} (A : Set ℓ) (B : A → Set ℓ′) : Se... |
Transynther/x86/_processed/NONE/_zr_xt_/i7-8650U_0xd2_notsx.log_9905_1406.asm | ljhsiun2/medusa | 9 | 173826 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x16b40, %rdx
clflush (%rdx)
nop
nop
nop
nop
xor $40086, %rdi
mov (%rdx), %si
nop
add %r10, %r10
lea addresses_WT_ht+0x1e5fc, %r11
nop
nop
add $38234, %r15
mov $0x616263646566... |
oscomp/build/asm/sleep.asm | wei-huan/MyOS | 2 | 100471 | <gh_stars>1-10
/home/weihuan/Documents/testsuits-for-oskernel-preliminary/riscv-syscalls-testing/user/build/riscv64/sleep: file format elf64-littleriscv
Disassembly of section .text:
0000000000001000 <_start>:
.section .text.entry
.globl _start
_start:
mv a0, sp
1000: 850a mv a0,sp
t... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/entry_call.adb | ouankou/rose | 488 | 9494 | with Entry_Declaration;
procedure Entry_Call is
The_Task : Entry_Declaration.Task_With_Entry;
begin
The_Task.First_Entry;
end Entry_Call;
|
oeis/328/A328286.asm | neoneye/loda-programs | 11 | 243818 | ; A328286: Expansion of e.g.f. -log(1 - x - x^2/2).
; Submitted by <NAME>
; 1,2,5,21,114,780,6390,61110,667800,8210160,112152600,1685237400,27624920400,490572482400,9381882510000,192238348302000,4201639474032000,97572286427616000,2399151995223984000,62268748888378032000,1701213856860117600000
mov $2,$0
add $2,1
mov $4... |
iod/con2/sprite/cf3.asm | olifink/smsqe | 0 | 13998 | * Sprite cf3
*
* Mode 4
* +|----------+
* | gg ggg gg |
* |g g g g|
* |g g g|
* |g gg gg |
* |g g g|
* |g g g g|
* | gg g gg |
* +|----------+
*
section sprite
xdef sp_cf3
xref sp_zero
sp_cf3
dc.w $0100,$0000
dc.w 11,7,0,0
dc.l sc4_cf3-*
dc.l sp_zero-*
dc.l 0
sc4_cf3
dc.w $6e00,$c000
dc.w ... |
Transynther/x86/_processed/P/_zr_/i3-7100_9_0x84_notsx.log_7170_329.asm | ljhsiun2/medusa | 9 | 85747 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xff76, %r14
nop
nop
nop
and $8853, %r8
mov $0x6162636465666768, %r10
movq %r10, %xmm0
movups %xmm0, (%r14)
nop
nop
... |
non_regression/switch_x64_macosx_2.o.asm | LRGH/plasmasm | 1 | 171298 | <gh_stars>1-10
.macosx_version_min 10, 11
.section __TEXT,__text,regular,pure_instructions
.align 4, 0x90
.globl _PyToken_OneChar
_PyToken_OneChar:
pushq %rbp
movq %rsp, %rbp
movl %edi, -8(%rbp)
movl %edi, %eax
subl $93, %edi
movl %eax, -12(%rbp)
movl %edi, -16(%rbp)
... |
data/pokemon/dex_entries/magneton.asm | AtmaBuster/pokeplat-gen2 | 6 | 178161 | db "MAGNET@" ; species name
db "When many"
next "MAGNETON gather"
next "together, the"
page "resulting magnetic"
next "storm disrupts"
next "radio waves.@"
|
test/Succeed/fol-theorems/DataConstructorsAxioms.agda | asr/apia | 10 | 8847 | <filename>test/Succeed/fol-theorems/DataConstructorsAxioms.agda
------------------------------------------------------------------------------
-- Testing the use of ATP axioms with data constructors
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-... |
oeis/040/A040506.asm | neoneye/loda-programs | 11 | 10285 | <filename>oeis/040/A040506.asm
; A040506: Continued fraction for sqrt(530).
; Submitted by <NAME>
; 23,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46,46
min $0,1
add $0,1
mul $0,23
|
test/Succeed/UnquoteDef.agda | redfish64/autonomic-agda | 0 | 1260 |
module UnquoteDef where
open import Common.Reflection
open import Common.Prelude
module Target where
mutual
even : Nat → Bool
even zero = true
even (suc n) = odd n
odd : Nat → Bool
odd zero = false
odd (suc n) = even n
pattern `false = con (quote false) []
pattern `true = con (quot... |
boards/host/stm32gd-usart-peripheral.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 30758 | package body Console is
procedure Transmit (Data : in Byte) is
begin
null;
end Transmit;
end Console;
|
oeis/042/A042986.asm | neoneye/loda-programs | 11 | 172647 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A042986: Primes congruent to {0, 1, 2, 3} mod 5.
; Submitted by <NAME>
; 2,3,5,7,11,13,17,23,31,37,41,43,47,53,61,67,71,73,83,97,101,103,107,113,127,131,137,151,157,163,167,173,181,191,193,197,211,223,227,233,241,251,257,263,271,277,281,283,293,307,311,313,317,331,337,3... |
tests/mobs-test_data-tests-mobinventory_container-test_data-tests.ads | thindil/steamsky | 80 | 1811 | <reponame>thindil/steamsky<gh_stars>10-100
-- 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 Mobs.Test_Data.Tests.MobInventory_Container.Test_Data.Tests is
type Test is ne... |
src/os-none/util-processes-os.ads | Letractively/ada-util | 0 | 21631 | <filename>src/os-none/util-processes-os.ads
-----------------------------------------------------------------------
-- util-processes-os -- Dummy system specific and low level operations
-- Copyright (C) 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "Lice... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_6_1017.asm | ljhsiun2/medusa | 9 | 240999 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xfb67, %rsi
lea addresses_normal_ht+0xb81f, %rdi
nop
nop
nop
nop
dec %rax
mov $35, %rcx
rep movsw
nop
xor $1386, %r10
lea addresses_UC_ht+0x19c7f, %r15
nop
nop... |
Contexts.agda | msullivan/godels-t | 4 | 3648 | <reponame>msullivan/godels-t<filename>Contexts.agda
module Contexts where
open import Prelude
open import T
open import SubstTheory
module Contexts where
infix 60 _e$_ _$e_
-- Has a hole of type (Γ ⊢ A), produces a term of type (Γ' ⊢ A')
data TCtx (Γ : Ctx) (A : TTp) : (Γ' : Ctx) → (A' : TTp) → Set where
∘... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_73_1071.asm | ljhsiun2/medusa | 9 | 102843 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1b39, %rbp
nop
nop
nop
cmp $41711, %r9
mov $0x6162636465666768, %r13
movq %r13, %xmm5
movups %xmm5, (%rbp)
nop
sub $49267, %r14
lea addresses_D_ht+0x1abfb, %rsi
lea addresses... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_7062_187.asm | ljhsiun2/medusa | 9 | 27515 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
// Store
lea addresses_PSE+0x1ee6d, %rax
nop
nop
add %rbx, %rbx
movw $0x5152, (%rax)
inc %r12
// REPMOV
lea addresses_D+0x6aab, %rsi... |
kernel.asm | inesane/Modified-xv6-OS | 0 | 101864 | <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)
8010000b: e4 .byte 0xe4
8010000c <... |
Cubical/Algebra/CommRing/Instances/Polynomials/UnivariatePolyHIT.agda | thomas-lamiaux/cubical | 0 | 3268 | {-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Algebra.CommRing.Instances.Polynomials.UnivariatePolyHIT where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Empty as ⊥
open import Cubical.Data.Nat hiding (_·_) renaming (_+_ to _+n_)
open import Cubical.Data.Nat.Order
open imp... |
Task/Strip-control-codes-and-extended-characters-from-a-string/Ada/strip-control-codes-and-extended-characters-from-a-string.ada | LaudateCorpus1/RosettaCodeData | 1 | 26349 | with Ada.Text_IO;
procedure Strip_ASCII is
Full: String := 'a' & Character'Val(11) & 'b' & Character'Val(166) &
'c' & Character'Val(127) & Character'Val(203) &
Character'Val(202) & "de";
-- 5 ordinary characters ('a' .. 'e')
-- 2 control characters (11, 127); note that 1... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_698.asm | ljhsiun2/medusa | 9 | 175983 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1b3a9, %r8
nop
nop
nop
cmp $46377, %r15
vmovups (%r8), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $1, %xmm3, %r11
nop
nop
nop
add %r14, %r14
lea addr... |
src/tilda/grammar/TildaComposition.g4 | generaldevelopers/Tilda | 0 | 7305 | /* ===========================================================================
* Copyright (C) 2016 CapsicoHealth Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_128.asm | ljhsiun2/medusa | 9 | 20674 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1747d, %rsi
lea addresses_D_ht+0x1b47d, %rdi
nop
inc %r9
mov $115, %rcx
rep movsl
nop
nop
nop
nop
nop
add %r9, %r9
lea addresses_UC_ht+0x1a43d, %r11... |
src/clic-subcommand.adb | reznikmm/clic | 0 | 13899 | <reponame>reznikmm/clic
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package body CLIC.Subcommand is
-------------------
-- Define_Switch --
-------------------
procedure Define_Switch
(Config : in out Switches_Configuration;
Switch : String := "";
Long_Switch : Strin... |
org.alloytools.alloy.extra/extra/models/book/appendixA/properties.als | Kaixi26/org.alloytools.alloy | 527 | 777 | <reponame>Kaixi26/org.alloytools.alloy
module appendixA/properties
pred show {
some r: univ->univ {
some r -- nonempty
r.r in r -- transitive
no iden & r -- irreflexive
~r in r -- symmetric
~r.r in iden -- functional
r.~r in iden -- injective
univ in r.univ -- total
univ in univ.r -- onto
}... |
clients/ada-server/generated/src/server/-skeletons.adb | shinesolutions/cloudmanager-api-clients | 3 | 13840 | -- Cloud Manager API
-- This API allows access to Cloud Manager programs, pipelines, and environments by an authorized technical account created through the Adobe I/O Console. The base url for this API is https://cloudmanager.adobe.io, e.g. to get the list of programs for an organization, you would make a GET request... |
oeis/250/A250613.asm | neoneye/loda-programs | 11 | 162779 | ; A250613: Number of (n+1)X(1+1) 0..2 arrays with nondecreasing maximum of every two consecutive values in every row and column
; Submitted by <NAME>
; 81,484,2704,13456,64009,290521,1283689,5541316,23541904,98724096,410022001,1689785449,6922406401,28223328004,114636416400,464224195600,1875379608025,7561592527225,30441... |
libsrc/_DEVELOPMENT/stdio/c/sccz80/fopen_callee.asm | meesokim/z88dk | 0 | 176694 | <gh_stars>0
; FILE *fopen(const char *filename, const char *mode)
SECTION code_stdio
PUBLIC fopen_callee
EXTERN asm_fopen
fopen_callee:
pop hl
pop de
ex (sp),hl
jp asm_fopen
|
data/jpred4/jp_batch_1613899824__zJBvGNA/jp_batch_1613899824__zJBvGNA.als | jonriege/predict-protein-structure | 0 | 3877 | <gh_stars>0
SILENT_MODE
BLOCK_FILE jp_batch_1613899824__zJBvGNA.concise.blc
MAX_NSEQ 668
MAX_INPUT_LEN 670
OUTPUT_FILE jp_batch_1613899824__zJBvGNA.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0... |
programs/oeis/059/A059018.asm | karttu/loda | 0 | 172779 | ; A059018: Write 10*n in base 4; a(n) = sum of digits mod 4.
; 0,0,2,2,0,1,2,0,2,2,0,0,2,0,1,2,0,0,2,2,1,2,3,0,2,2,2,2,0,1,2,3,2,2,0,0,2,3,0,2,0,0,2,2,0,2,3,0,2,2,0,0,0,1,2,3,1,1,0,0,2,3,0,1,0,0,2,2,0,1,2,0,2,2,0,0,2,1,2,3,1,1,3,3,2,3,0,1,3,3,2,2,0,1,2,3,2,2,0,0
mul $0,10
lpb $0,1
add $1,$0
div $0,4
lpe
lpb $1,1
... |
testsuite/league/TN-104/test_104.adb | svn2github/matreshka | 24 | 7139 | <filename>testsuite/league/TN-104/test_104.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
ChannelIO/Source/Frameworks/ANTLR/TextBlockLexer.g4 | konifar/channel-plugin-ios | 12 | 3500 | <gh_stars>10-100
lexer grammar TextBlockLexer;
LT: '<' -> pushMode(TAG);
VAR_BEG: '${' -> pushMode(VAR);
ESCAPED: Escaped;
EMOJI: ':' [-+_0-9a-zA-Z]+ ':';
CHAR: [0-9a-zA-Z\u0080-\uFFFF]+;
WS: Ws+;
ANY: .;
// Tag
mode TAG;
GT: '>' -> popMode;
SLASH: '/';
EQUALS: '=';
TAG_NAME: [a-zA-Z]+;
STR_BEG: '"' -> pushMod... |
oeis/226/A226561.asm | neoneye/loda-programs | 11 | 96243 | ; A226561: a(n) = Sum_{d|n} d^n * phi(d), where phi(n) is the Euler totient function A000010(n).
; Submitted by <NAME>
; 1,5,55,529,12501,94835,4941259,67240193,2324562301,40039063525,2853116706111,35668789979107,3634501279107037,66676110291801575,3503151245145885315,147575078498173255681,13235844190181388226833,236079... |
test/interaction/Issue889.agda | shlevy/agda | 1,989 | 3763 | <reponame>shlevy/agda
-- Andreas, 2013-09-17 catches a bug in constraint solving
-- with meta-variables applied to underapplied record constructors
-- {-# OPTIONS --show-implicit -v tc.meta.assign:50 -v tc.conv.elim:30 #-}
module Issue889 where
record Monad (M : Set → Set) : Set₁ where
field
return : ∀ {A} → A →... |
src/interface/yaml-events-store.ads | persan/AdaYaml | 32 | 24170 | -- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
private with Ada.Containers.Hashed_Maps;
package Yaml.Events.Store is
type Instance is limited new Refcount_Base with private;
type Instance_Access is access all Instance;
type Reference is tagged... |
libsrc/target/micro8085/drv/uart_txbuf.asm | UnivEngineer/z88dk | 4 | 179352 | ;-------------------------------------------------------------------------
; Native terminal i/o functionality for micro8085_cilb
; Functions below assumes support for INTEL 8085 "undocumented" opcodes
SECTION code_clib
EXTERN puartd
EXTERN puartc
PUBLIC _uart_txput
;-------------... |
src/basic_math_functions_h.ads | JeremyGrosser/arm_cmsis_dsp | 0 | 27052 | pragma Ada_2012;
pragma Style_Checks (Off);
pragma Warnings ("U");
with Interfaces.C; use Interfaces.C;
with arm_math_types_h;
with sys_ustdint_h;
package basic_math_functions_h is
procedure arm_mult_q7
(pSrcA : access arm_math_types_h.q7_t;
pSrcB : access arm_math_types_h.q7_t;
pDst : access arm... |
gfx/pokemon/magikarp/anim.asm | Dev727/ancientplatinum | 28 | 28994 | <gh_stars>10-100
frame 0, 12
setrepeat 3
frame 1, 09
frame 2, 07
dorepeat 2
endanim
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_17_711.asm | ljhsiun2/medusa | 9 | 96536 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_D+0x8429, %rsi
mov $0x6fd, %rdi
nop
sub $53925, %rbp
mov $122, %rcx
rep movsw
nop
nop
nop
nop
nop
inc %rsi
// Faulty Load
lea address... |
Data/Binary/Tests/Addition.agda | oisdk/agda-binary | 1 | 15174 | <reponame>oisdk/agda-binary
{-# OPTIONS --without-K --safe #-}
module Data.Binary.Tests.Addition where
import Data.Binary.Operations.Addition as 𝔹
open import Data.Binary.Tests.Helpers
open import Relation.Binary.PropositionalEquality
import Data.Nat as ℕ
_ : 𝔹._+_ ≡⌈ 60 ⌉₂≡ ℕ._+_
_ = refl
|
alloy4fun_models/trashltl/models/14/BAymGgHYXnBk4NENn.als | Kaixi26/org.alloytools.alloy | 0 | 2850 | open main
pred idBAymGgHYXnBk4NENn_prop15 {
all f : File | eventually f in Trash
}
pred __repair { idBAymGgHYXnBk4NENn_prop15 }
check __repair { idBAymGgHYXnBk4NENn_prop15 <=> prop15o } |
src/JEWL/jewl-simple_windows.ads | leomlr/sudoku_ada-jewl | 0 | 6425 | ------------------------------------------------------------------------------
-- --
-- J E W L . S I M P L E _ W I N D O W S --
-- --
... |
src/SlimShader.Tests/Shaders/Sdk/Direct3D11/SimpleBezier11/SimpleBezier11_VS.asm | tgjones/slimshader | 125 | 23388 | <filename>src/SlimShader.Tests/Shaders/Sdk/Direct3D11/SimpleBezier11/SimpleBezier11_VS.asm<gh_stars>100-1000
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714
//
//
///
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- -----... |
libsrc/_DEVELOPMENT/math/integer/l_mulu_16_8x8.asm | Frodevan/z88dk | 1 | 170381 |
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_math
PUBLIC l_mulu_16_8x8
; compute: hl = l * e
; alters : af, bc, de, hl
IF __CPU_Z180__ && ((__CLIB_OPT_IMATH = 0) || (__CLIB_OPT_IMATH = 100))
l_mulu_16_8x8:
ld h,e
mlt hl
ret
ELSE
IF __CPU_Z80N__ && ((__CLIB_OPT_IMATH = 0) || (__C... |
src/sys/http/aws/aws-client-ext.adb | My-Colaborations/ada-util | 0 | 9711 | ------------------------------------------------------------------------------
-- Ada Web Server --
-- --
-- Copyright (C) 2005-2018, 2020, AdaCore -... |
Appl/GeoDraw/Document/documentConvert.asm | steakknife/pcgeos | 504 | 82675 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Document
FILE: documentConvert.asm
AUTHOR: <NAME>, September 2, 1992
REVISION HISTORY:
Name Date Description
---- ---- -----------
jon 2... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0xca_notsx.log_21829_364.asm | ljhsiun2/medusa | 9 | 23366 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x6cc, %rsi
lea addresses_D_ht+0x1dfea, %rdi
nop
nop
nop
cmp %r10, %r10
mov $40, %rcx
rep movsl
nop
nop
nop
nop
add %r10, %r10
lea addresses_D_ht+0x556c, %rcx
nop
nop
nop
nop
n... |
test/bitwidth-within-default.asm | kspalaiologos/asmbf | 67 | 179536 | <filename>test/bitwidth-within-default.asm
org 60000
&f
mov r1, *f
|
Test/Cases/6.Go.g4 | studentmain/SempredTranslation | 0 | 6680 | <reponame>studentmain/SempredTranslation
grammar g;
L: 'L' {p.L(1, 2.3, 'a', "\u86E4", nil, true, false)};
p: L; |
src/lab-code/spark_depends/diff.adb | hannesb0/rtpl18 | 0 | 23249 | procedure Diff (X, Y : in Natural; Z : out Natural) with
SPARK_Mode,
Depends => (Z => (X, Y))
is
begin
Z := X + X;
end Diff;
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_345.asm | ljhsiun2/medusa | 9 | 23033 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x11ffb, %r12
nop
nop
xor %rsi, %rsi
movw $0x6162, (%r12)
nop
nop
nop
sub %rax, %rax
lea addresses_normal_ht+0x987b, %r13
nop
nop
sub %r11, %r11
mov $0x6162636465666768, %rcx
m... |
source/amf/ocl/amf-internals-tables-ocl_metamodel-objects.adb | svn2github/matreshka | 24 | 9243 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
libtool/src/gmp-6.1.2/mpn/sparc64/ultrasparct3/addmul_1.asm | kroggen/aergo | 1,602 | 88014 | <filename>libtool/src/gmp-6.1.2/mpn/sparc64/ultrasparct3/addmul_1.asm
dnl SPARC v9 mpn_addmul_1 for T3/T4/T5.
dnl Contributed to the GNU project by <NAME> and <NAME>.
dnl Copyright 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you c... |
oeis/313/A313869.asm | neoneye/loda-programs | 11 | 102880 | <gh_stars>10-100
; A313869: Coordination sequence Gal.6.206.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>(s3)
; 1,5,10,16,21,26,30,35,40,46,51,56,61,66,72,77,82,86,91,96,102,107,112,117,122,128,133,138,142,147... |
SystemsProgramming/p12.asm | aaiijmrtt/JUCSE | 6 | 9042 | %include "util.mac"
extern buffer, array, inprompt, newline, arraysize, inpromptsize, newlinesize, outprompt, outpromptsize, inputarray, printarray
section .bss
index: resb 4
section .text
global _start
_start:
call inputarray
write inprompt, inpromptsize
write newline, newlinesize
call printarray
write newli... |
maps/OlivineGym.asm | Karkino/KarkCrystal16 | 0 | 92080 | <reponame>Karkino/KarkCrystal16
object_const_def ; object_event constants
const OLIVINEGYM_JASMINE
const OLIVINEGYM_GYM_GUY
OlivineGym_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
OlivineGymJasmineScript:
faceplayer
opentext
checkevent EVENT_BEAT_JASMINE
iftrue .FightDone
writetext Jasmine_SteelTypeIn... |
LabFinal_CPU2/Common/F2837xD_DBGIER.asm | BSpwr/BS-Equalizer | 0 | 20196 | ;//###########################################################################
;//
;// FILE: F2837xD_DBGIER.asm
;//
;// TITLE: Set the DBGIER register
;//
;// DESCRIPTION:
;//
;// Function to set the DBGIER register (for realtime emulation).
;// Function Prototype: void SetDBGIER(Uint16)
;// Usage: SetDBGIER(value)... |
programs/oeis/160/A160428.asm | neoneye/loda | 22 | 99137 | ; A160428: Number of ON cells at n-th stage of three-dimensional version of the cellular automaton A160410, using cubes.
; 0,8,64,120,512,568,960,1352,4096,4152,4544,4936,7680,8072,10816,13560,32768,32824,33216,33608,36352,36744,39488,42232,61440,61832,64576,67320,86528,89272,108480,127688,262144
lpb $0
sub $0,1
m... |
gtkada_backend/example/rpm_widget.ads | Fabien-Chouteau/Giza | 7 | 10774 | with Giza.Widgets.Frame; use Giza.Widgets.Frame;
with Giza.Graphics; use Giza.Graphics;
with Giza.Events; use Giza.Events;
package RPM_Widget is
subtype RPM_Range is Natural range 0 .. 9999;
type RPM is new Gframe with private;
overriding
procedure Draw (This : in out RPM;
Ctx : in o... |
hello_world.asm | bellcorreia/machine-code | 1 | 165117 | ;
; Source code written by <NAME>
;
%define SYS_exit 60
%define SYS_write 1
%define STDOUT 1
global _start
section .text
_start:
mov rdx, 12
mov rsi, hello_world
mov rdi, STDOUT
mov rax, SYS_write
syscall
xor rdi, rdi
mov rax, SYS_exit
syscall
section .data
hello_world: db "Hello... |
alloy4fun_models/trashltl/models/4/g59yQxfy48FxcmEXE.als | Kaixi26/org.alloytools.alloy | 0 | 3825 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idg59yQxfy48FxcmEXE_prop5 {
all f : File | always eventually f not in File
}
pred __repair { idg59yQxfy48FxcmEXE_prop5 }
check __repair { idg59yQxfy48FxcmEXE_prop5 <=> prop5o } |
4_CountNumberInAnArrayOfData.asm | furkanisitan/ExampleProgramsFor8085Microprocessor | 0 | 98437 | <gh_stars>0
LXI H, 0200H ; HL ye 0200H verisini yükle
MVI A, 0FFH ; A ya FFH(255) verisini yükle
LXI B, 0064H ; B => 0, C => 100
LOOP: CMP M ; M ile A yı karşılaştır.
JNZ NO ; Z biti sıfır değilse atla
INR B ; B yi 1 arttır
NO: INX H ; M yi 1 arttır
DCR C ; C yi bir azalt
JNZ LOOP ; Z biti sıfır değilse atla
MOV A... |
Transynther/x86/_processed/US/_ht_zr_/i3-7100_9_0xca_notsx.log_21829_1793.asm | ljhsiun2/medusa | 9 | 176890 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %r9
push %rax
push %rdi
lea addresses_normal_ht+0x184ba, %r8
nop
nop
and %r12, %r12
movups (%r8), %xmm6
vpextrq $1, %xmm6, %rdi
nop
sub %r10, %r10
lea addresses_WT_ht+0x2c34, %rax
nop
nop
nop
nop
add %r8, %r8
movups (%rax), %xmm4
vpextrq $0,... |
SOURCE/base/Kernel/Native/arm/Crt/memcpy.asm | pmache/singularityrdk | 3 | 5542 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Microsoft Research Singularity
;;;
;;; Copyright (c) Microsoft Corporation. All rights reserved.
;;;
;;; This file contains ARM-specific assembly code.
;;;
;*****************************************************... |
programs/oeis/102/A102039.asm | jmorken/loda | 1 | 17164 | ; A102039: a(n) = a(n-1) + last digit of a(n-1), starting at 1.
; 1,2,4,8,16,22,24,28,36,42,44,48,56,62,64,68,76,82,84,88,96,102,104,108,116,122,124,128,136,142,144,148,156,162,164,168,176,182,184,188,196,202,204,208,216,222,224,228,236,242,244,248,256,262,264,268,276,282,284,288,296,302,304,308,316,322,324,328,336,342... |
oeis/344/A344496.asm | neoneye/loda-programs | 11 | 14747 | ; A344496: a(0)=0; for n > 0, a(n) = a(n-1)*n + n if n is odd, (a(n-1) + n)*n otherwise.
; Submitted by <NAME>
; 0,1,6,21,100,505,3066,21469,171816,1546353,15463630,170099941,2041199436,26535592681,371498297730,5572474465965,89159591455696,1515713054746849,27282834985443606,518373864723428533,10367477294468571060,21771... |
libsrc/enterprise/set_exos_variable.asm | andydansby/z88dk-mk2 | 1 | 9956 | <gh_stars>1-10
;
; Enterprise 64/128 specific routines
; by <NAME>, 2011
;
; set_exos_variable(unsigned char variable, unsigned char value);
;
;
; $Id: set_exos_variable.asm,v 1.2 2011/03/15 14:34:08 stefano Exp $
;
XLIB set_exos_variable
LIB set_exos_variable_callee
XREF ASMDISP_SET_EXOS_VARIABLE_CALLEE
set_exos... |
awa/src/awa-events-queues.adb | fuzzysloth/ada-awa | 0 | 25754 | -----------------------------------------------------------------------
-- awa-events-queues -- AWA Event Queues
-- Copyright (C) 2012 <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 License.
-- ... |
alloy4fun_models/trashltl/models/7/ETXLZf2j57A9NBx88.als | Kaixi26/org.alloytools.alloy | 0 | 456 | open main
pred idETXLZf2j57A9NBx88_prop8 {
all f1,f2:File | f1->f2 in link implies eventually f1 in Trash
}
pred __repair { idETXLZf2j57A9NBx88_prop8 }
check __repair { idETXLZf2j57A9NBx88_prop8 <=> prop8o } |
oeis/042/A042762.asm | neoneye/loda-programs | 11 | 246349 | ; A042762: Numerators of continued fraction convergents to sqrt(912).
; Submitted by <NAME>
; 30,151,9090,45601,2745150,13771351,829026210,4158902401,250363170270,1255974753751,75608848395330,379300216730401,22833621852219390,114547409477827351,6895678190521860450,34592938362087129601,2082471979915749636510,10446952837... |
libsrc/spectrum/zxmmc/mmc_fastpage.asm | meesokim/z88dk | 0 | 97902 | <filename>libsrc/spectrum/zxmmc/mmc_fastpage.asm<gh_stars>0
;
; ZX Spectrum ZXMMC specific routines
; code by <NAME>
; ported to z88dk by <NAME> - Feb 2010
;
; $Id: mmc_fastpage.asm,v 1.3 2015/01/19 01:33:11 pauloscustodio Exp $
;
;------------------------------------------------------------------------------------... |
p2-2/prog2.asm | gregschmit/ece469 | 0 | 29250 | config_L 1001101;
init_L 00111000;
run_L;
Init_addr 01010101;
st_M_L;
run_L;
run_L;
add_addr 10011011
st_M_L;
halt;
|
ucb-logo/UCBLogo.g4 | augustand/grammars-v4 | 0 | 3561 | <reponame>augustand/grammars-v4
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 by <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 without
* restriction, including without ... |
oeis/109/A109165.asm | neoneye/loda-programs | 11 | 86713 | ; A109165: a(n) = 5*a(n-2) - 2*a(n-4), n >= 4; a(n) = (1/6)*(-1)^n + 4/3)*2^n - 1/2.
; Submitted by <NAME>
; 1,2,5,10,23,46,105,210,479,958,2185,4370,9967,19934,45465,90930,207391,414782,946025,1892050,4315343,8630686,19684665,39369330,89792639,179585278,409593865,819187730,1868384047,3736768094,8522732505
mov $1,1
mo... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_458.asm | ljhsiun2/medusa | 9 | 7740 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1314f, %rcx
nop
nop
nop
nop
cmp $19301, %r11
movb $0x61, (%rcx)
nop
nop
nop
inc %rdi
lea addresses_UC_ht+0xca51, %r11
nop
nop
nop
nop
nop
xor $12290, %rax
vmovups (%r11), %ymm... |
source/adam-a_pragma.ads | charlie5/aIDE | 3 | 609 | with
AdaM.Entity,
Ada.Containers.Vectors,
Ada.Streams;
package AdaM.a_Pragma
is
type Item is new Entity.item with private;
-- View
--
type View is access all Item'Class;
procedure View_write (Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Sel... |
oeis/174/A174026.asm | neoneye/loda-programs | 11 | 83994 | ; A174026: Convolved with its aerated variant = (1, 2, 3,...)
; Submitted by <NAME>
; 1,2,1,0,2,4,2,0,1,2,1,0,0,0,0,0,2,4,2,0,4,8,4,0,2,4,2,0,0,0,0,0,1,2,1,0,2,4,2,0,1,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,4,2,0,4,8,4,0,2,4,2,0,0,0,0,0,4,8,4,0,8,16,8,0,4,8,4,0,0,0,0,0,2,4
mov $3,1
lpb $0
mov $2,$0
div $0... |
oeis/293/A293553.asm | neoneye/loda-programs | 11 | 22819 | ; A293553: a(n) is the integer k that minimizes |k/Fibonacci(n) - 1/4|.
; 0,0,0,0,1,1,2,3,5,8,14,22,36,58,94,152,247,399,646,1045,1691,2736,4428,7164,11592,18756,30348,49104,79453,128557,208010,336567,544577,881144,1425722,2306866,3732588,6039454,9772042,15811496,25583539,41395035,66978574,108373609,175352183,283725792... |
test/Succeed/Issue1087.agda | shlevy/agda | 1,989 | 7004 | -- Andreas, 2014-04-12, Order of declaration mattered in the presence
-- of meta variables involving sizes
-- {-# OPTIONS -v tc.meta:10 -v tc.meta.assign:10 #-}
-- Error persists without option sized-types
{-# OPTIONS --sized-types #-}
module _ where
open import Common.Size
-- different error if we do not use the bui... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c38107b.ada | best08618/asylo | 7 | 11225 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c38107b.ada
-- C38107B.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
-- unlimi... |
src/Colist.agda | Zalastax/thesis | 1 | 13085 | <reponame>Zalastax/thesis
module Colist where
open import Size using (Size ; Size<_)
data Colist (i : Size) {a} (A : Set a) : Set a
record ∞Colist (i : Size) {a} (A : Set a) : Set a where
coinductive
constructor delay_
field force : ∀ {j : Size< i} → Colist j A
data Colist (i : Size) {a} (A : Set a... |
samples/auth_demo.adb | Letractively/ada-security | 0 | 961 | -----------------------------------------------------------------------
-- auth_cb -- Authentication callback examples
-- Copyright (C) 2013 <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 License... |
ffight/lcs/weapon/56.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 162724 | <filename>ffight/lcs/weapon/56.asm
copyright zengfr site:http://github.com/zengfr/romhack
0039FA movem.l D0-D3, -(A6)
0039FE movem.l D0-D3, -(A6)
009ACA dbra D5, $9ac8
03C690 move.w #$68, ($56,A1) [weapon+54]
03C696 move.b #$8, ($36,A1) [weapon+56]
057C5E move.w #$48, ($56,A6) [weapon+54]
057C64 tst.b ... |
arch/ARM/Nordic/drivers/nrf_common/nrf-radio.adb | rocher/Ada_Drivers_Library | 192 | 23945 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016-2020, AdaCore --
-- --
-- ... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_21829_284.asm | ljhsiun2/medusa | 9 | 133 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xf95a, %rsi
lea addresses_D_ht+0x1e972, %rdi
nop
nop
nop
nop
nop
inc %r15
mov $80, %rcx
rep movsw
and %rax, %rax
lea addresses_D_ht+0x1cffa, %rdx
clflush (%rdx)
nop
nop
nop
xo... |
code/8/tt.asm | GeekHades1/AssemblyCode | 1 | 177025 | <filename>code/8/tt.asm
assume cs:code
;7C 47 05
code segment
mov dx, 5H
mov ax, 477cH
mov bx, 2258
div bx
mov ax, 4c00H
int 21H
code ends
end
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.