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 |
|---|---|---|---|---|
src/SingleSorted/Model.agda | cilinder/formaltt | 21 | 52 | open import Agda.Primitive using (_⊔_)
import Categories.Category as Category
import Categories.Category.Cartesian as Cartesian
import SingleSorted.Interpretation as Interpretation
open import SingleSorted.AlgebraicTheory
open import SingleSorted.Substitution
import SingleSorted.Power as Power
module SingleSorted.Mo... |
Testing/PropEqTest.agda | VictorCMiraldo/agda-rw | 16 | 11503 | open import Prelude
open import Relation.Binary.PropositionalEquality
open import RW.Language.RTerm using (Name)
open import RW.Strategy.PropEq
open import RW.RW (≡-strat ∷ [])
open import Data.Nat.Properties.Simple
using (+-comm; +-right-identity; +-assoc)
module PropEqTest where
++-assoc : ∀{a}{A : Set a}(... |
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-spi.ads | morbos/Ada_Drivers_Library | 2 | 16527 | <gh_stars>1-10
-- Copyright 2016-2019 NXP
-- All rights reserved.SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from LPC55S6x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NXP_SVD.SPI is
pragma Pr... |
jpl_string.asm | JacobLaney/x86-Assembly-Practice | 0 | 162347 | ; <NAME>
; January 2016
;
; 32 Bit NASM x86 for macOS Sierra
;
; Objective: Write a library in NASM x86 similar to the
; C library string.h
global _jpl_strcmp
section .data
section .text
syscall:
int 80h
ret
; int jpl_strcmp(const char * str1, const char * str2);
_jpl_strcmp:
pus... |
test/succeed/Issue292.agda | asr/agda-kanso | 1 | 6783 | <reponame>asr/agda-kanso<gh_stars>1-10
-- Fixed on AIM XIV 2011-09-09 AA, UN
-- {-# OPTIONS -v tc.lhs.unify:50 #-}
module Issue292 where
data ⊥ : Set where
infix 3 ¬_
¬_ : Set → Set
¬ P = P → ⊥
infix 4 _≅_
data _≅_ {A : Set} (x : A) : ∀ {B : Set} → B → Set where
refl : x ≅ x
record Σ (A : Set) (B : A → Set) : S... |
src/Sigma/Subst/Base.agda | johnyob/agda-sigma | 0 | 7023 | -- ----------------------------------------------------------------------
-- The Agda σ-library
--
-- Substitutions
-- ----------------------------------------------------------------------
-- A substitution on T is defined as a mapping from
-- indices to T (w/ explicit bounds).
--
-- Since the domain is bounded, we... |
oeis/349/A349191.asm | neoneye/loda-programs | 11 | 104941 | ; A349191: a(n) = A000720(A348907(n+1)).
; Submitted by <NAME>
; 1,2,1,3,2,4,1,3,2,5,4,6,1,3,2,7,5,8,4,6,1,9,3,2,7,5,8,10,4,11,6,1,9,3,2,12,7,5,8,13,10,14,4,11,6,15,1,9,3,2,12,16,7,5,8,13,10,17,14,18,4,11,6,15,1,19,9,3,2,20,12,21,16,7,5,8,13,22,10,17,14,23,18,4,11,6,15,24,1,19,9,3,2,20,12,25,21,16,7,26
seq $0,348907 ;... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2438.asm | ljhsiun2/medusa | 9 | 89428 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2438.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1d519, %rsi
lea addresses_A_ht+0x879, %rdi
nop
nop
add $10861, %rbp
mov $3... |
setup.asm | RevolutionSoftware/Juego | 1 | 7643 | di
ld hl,12000
bcall(_EnoughMem)
jr nc,$+5
bjump(_JForceCmdNoChar) ;chau!
ex de,hl ;hl = RAM to insert
ld de,$9D95
bcall(_InsertMem)
ld h,d
ld l,e
inc de
ld (hl),0
ld bc,11999
ldir
ld hl,salirDelPrograma
push hl ;el último ret nos mandará a salirDelPrograma
;cargar rutinas en RAM
ld hl,copy... |
alloy4fun_models/trashltl/models/5/rouvA4qTCLEKGqAv5.als | Kaixi26/org.alloytools.alloy | 0 | 2066 | open main
pred idrouvA4qTCLEKGqAv5_prop6 {
some f:File | f in Trash implies always f in Trash
}
pred __repair { idrouvA4qTCLEKGqAv5_prop6 }
check __repair { idrouvA4qTCLEKGqAv5_prop6 <=> prop6o } |
src/tests/bintoasc_suite-base64_tests.ads | jhumphry/Ada_BinToAsc | 0 | 1352 | <filename>src/tests/bintoasc_suite-base64_tests.ads
-- BinToAsc_Suite.Base64_Tests
-- Unit tests for BinToAsc
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
with AUnit; use AUnit;
with AUnit.Test_Cases; use AUnit.Test_Cases;
with RFC4648;
with BinToAsc_Suite.Utils;
package BinToAsc_Suite.Base64_Tests... |
source/league/ucd/matreshka-internals-unicode-ucd-core_0030.ads | svn2github/matreshka | 24 | 14759 | <filename>source/league/ucd/matreshka-internals-unicode-ucd-core_0030.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
src/giza-colors.ads | Fabien-Chouteau/Giza | 7 | 5218 | ------------------------------------------------------------------------------
-- --
-- Giza --
-- --
-- ... |
target/cos_117/disasm/iop_overlay1/STOP.asm | jrrk2/cray-sim | 49 | 18572 | 0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0001 (0x000002) 0x291B- f:00024 d: 283 | OR[283] = A
0x0002 (0x000004) 0x1800-0x004C f:00014 d: 0 | A = 76 (0x004C)
0x0004 (0x000008) 0x2403- f:00022 d: 3 | A = A + OR[3]
... |
disorderly/gcd_6bytes_2.adb | jscparker/math_packages | 30 | 23600 | <reponame>jscparker/math_packages
with Disorderly.Basic_Rand; use Disorderly.Basic_Rand;
with Disorderly.Basic_Rand.Clock_Entropy;
with Ada.Numerics.Discrete_Random;
with Chi_Gaussian_CDF;
with text_io; use text_io;
-- translated from Marsaglia, Tsang diehard suite.
procedure gcd_6bytes_2 is
Bits_per... |
source/adam-raw_source.ads | charlie5/aIDE | 3 | 16055 | <filename>source/adam-raw_source.ads
with
AdaM.Entity,
Ada.Streams;
package AdaM.raw_source
is
type Item is new Entity.item with private;
type View is access all Item'Class;
-- Forge
--
function new_Source return raw_Source.view;
procedure free (Self : in out raw_Source... |
old/Structure/Logic/Classical/SetTheory/Structure/Relator.agda | Lolirofle/stuff-in-agda | 6 | 4449 |
module Structure where
-- Structures in meta-functions.
module Function' where -- TODO: Temporary naming fix with tick
module Properties ⦃ signature : Signature ⦄ where
Type : Domain → Domain → Function → Formula
Type(X)(Y)(f) = ∀ₛ(X)(x ↦ f(x) ∈ Y)
Closed : Domain → Function → Formula
... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_21829_768.asm | ljhsiun2/medusa | 9 | 247865 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1ad3a, %rax
nop
nop
nop
nop
xor $2891, %r8
mov $0x6162636465666768, %r14
movq %r14, %xmm0
vmovups %ymm0, (%rax)
nop
nop
nop
nop
dec %r11
lea addresses_D_ht+0x893a, ... |
non_regression/other_x64_linux_13.o.asm | LRGH/plasmasm | 1 | 14098 | .file "b0.c"
.section .text.startup,"ax",@progbits
.globl main
.type main, @function
main:
rep; ret
.size main, .-main
# ----------------------
.text
.globl I
.type I, @function
I:
jmp .LTHUNK7
.size I, .-I
# ----------------------
.L00000002:
.p2align 4
# ----------------------
.globl H... |
oeis/328/A328353.asm | neoneye/loda-programs | 11 | 19442 | <reponame>neoneye/loda-programs<filename>oeis/328/A328353.asm
; A328353: a(n)*S is the sum of all positive integers whose decimal expansion is up to n digits and uses six distinct nonzero digits d1,d2,d3,d4,d5,d6 such that d1+d2+d3+d4+d5+d6=S.
; 0,1,67,4063,244039,14643895,878643031,52718637847,3163118606743,1897871184... |
apps/hbios/hbios.asm | vipoo/RomWBW-Env | 1 | 9969 | <reponame>vipoo/RomWBW-Env<filename>apps/hbios/hbios.asm
;===============================================================================
; Util to invoke a HBIOS function
; Usage B C ....
;
stksiz .equ $200 ; Working stack size
restart .equ $0000 ; CP/M restart vector
bdos .equ $0005 ; BDOS invocation vector
#DEF... |
programs/oeis/033/A033116.asm | neoneye/loda | 22 | 8959 | ; A033116: Base-6 digits are, in order, the first n terms of the periodic sequence with initial period 1,0.
; 1,6,37,222,1333,7998,47989,287934,1727605,10365630,62193781,373162686,2238976117,13433856702,80603140213,483618841278,2901713047669,17410278286014,104461669716085,626770018296510,3760620109779061,22563720658674... |
alloy4fun_models/trashltl/models/19/XS52JDeBZCebX9EN6.als | Kaixi26/org.alloytools.alloy | 0 | 4659 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idXS52JDeBZCebX9EN6_prop20 {
always all t: Trash | t not in Protected since t in Protected
}
pred __repair { idXS52JDeBZCebX9EN6_prop20 }
check __repair { idXS52JDeBZCebX9EN6_prop20 <=> prop20o } |
programs/oeis/233/A233036.asm | neoneye/loda | 22 | 101387 | <reponame>neoneye/loda
; A233036: The maximum number of I-tetrominoes that can be packed into an n X n array of squares when rotation is allowed.
; 0,0,0,4,6,8,12,16,20,24,30,36,42,48,56,64,72,80,90,100,110,120,132,144,156,168,182,196,210,224,240,256,272,288,306,324,342,360,380,400,420,440,462,484,506,528,552,576,600,6... |
libsrc/_DEVELOPMENT/stdlib/c/sccz80/ftog.asm | meesokim/z88dk | 0 | 170119 | <filename>libsrc/_DEVELOPMENT/stdlib/c/sccz80/ftog.asm
; size_t ftog(float x, char *buf, uint16_t prec, uint16_t flag)
SECTION code_stdlib
PUBLIC ftog
EXTERN dtog
defc ftog = dtog
|
ada/src/cameras.adb | alkalinin/raytracer | 45 | 27664 | <reponame>alkalinin/raytracer
--
-- Raytracer implementation in Ada
-- by <NAME> (github: johnperry-math)
-- 2021
--
-- implementation for Cameras, that view the scene
--
-- local packages
with RayTracing_Constants; use RayTracing_Constants;
package body Cameras is
function Create_Camera(Position, Target: Vector... |
programs/oeis/028/A028566.asm | karttu/loda | 1 | 166021 | ; A028566: a(n) = n*(n+8).
; 0,9,20,33,48,65,84,105,128,153,180,209,240,273,308,345,384,425,468,513,560,609,660,713,768,825,884,945,1008,1073,1140,1209,1280,1353,1428,1505,1584,1665,1748,1833,1920,2009,2100,2193,2288,2385,2484,2585,2688,2793,2900,3009,3120,3233,3348,3465,3584,3705,3828,3953,4080,4209,4340,4473,4608,474... |
Task/Averages-Mean-angle/Ada/averages-mean-angle.ada | LaudateCorpus1/RosettaCodeData | 1 | 722 | with Ada.Text_IO, Ada.Numerics.Generic_Elementary_Functions;
procedure Mean_Angles is
type X_Real is digits 4; -- or more digits for improved precision
subtype Real is X_Real range 0.0 .. 360.0; -- the range of interest
type Angles is array(Positive range <>) of Real;
procedure Put(R: Real) is
... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_dbug.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 22120 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
test/Fail/Issue2927.agda | shlevy/agda | 2 | 6056 | <gh_stars>1-10
open import Agda.Builtin.Equality
open import Agda.Builtin.Size
postulate
P : (A : Set₁) → A → Set₁
p : (i : Size) (f : {_ : Size< i} → Set) (x : _) →
P ({_ : Size< i} → Set) f
|
PJ Grammar/Literals.g4 | Diolor/PJ | 0 | 4728 | lexer grammar Literals;
// Literals
// NULL LITERAL
NullLiteral
: 'null'
;
// BOOLEAN LITERALS
BooleanLiteral
: 'true'
| 'false'
;
// CHARACTER LITERALS
CharacterLiteral
: '\'' SingleCharacter '\''
| '\'' EscapeSequence '\''
;
fragment
SingleCharacter
: ~['\\]
... |
Exploit-Dev/reverse_engineering/Reverse Engineering and Exploit Development - Working Files/Chapter 4/simple32.asm | bbhunter/Security-Guide | 98 | 174007 | <filename>Exploit-Dev/reverse_engineering/Reverse Engineering and Exploit Development - Working Files/Chapter 4/simple32.asm
; hello world in 32-bit assembly for Linux
global _start
section .text
_start:
; write is system call 4
mov eax, 4 ; system call 4 is write
... |
alloy4fun_models/trashltl/models/9/KM9jNZWwMywpGYES7.als | Kaixi26/org.alloytools.alloy | 0 | 1136 | open main
pred idKM9jNZWwMywpGYES7_prop10 {
Protected in Protected'
}
pred __repair { idKM9jNZWwMywpGYES7_prop10 }
check __repair { idKM9jNZWwMywpGYES7_prop10 <=> prop10o } |
bin/JWASM/Samples/owfc16.asm | Abd-Beltaji/ASMEMU | 3 | 104890 |
;--- 16-bit sample: using Open Watcom's register calling convention
;--- assemble: jwasm -zf1 owfc16.asm
;--- link DOS: wlink sys dos file owfc16.obj
;--- link OS/2: wlink sys os2 file owfc16.obj
.286
.model compact, fastcall
include owfchlp.inc ;defines macro @StoreArg
includelib clibc.lib
in... |
test/fail/Issue818.agda | larrytheliquid/agda | 1 | 273 | -- {-# OPTIONS -v tc.with:100 #-}
module Issue818 where
data ⊤ : Set where
tt : ⊤
Foo : {x : ⊤} → Set₁
Foo with tt
Foo {x = _} | tt = Set
-- Panic: wrong number of arguments in with clause: given 1, expected
-- 0
-- when checking that the clause
-- Foo with tt
-- Foo {x = _} | tt = Set
-- has type {⊤} → Set₁
-- T... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35507o.ada | best08618/asylo | 7 | 5334 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35507o.ada
-- C35507O.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. Governmen... |
programs/oeis/198/A198586.asm | neoneye/loda | 22 | 241430 | <reponame>neoneye/loda<filename>programs/oeis/198/A198586.asm<gh_stars>10-100
; A198586: a(n) = (4^A001651(n+1) - 1)/3: numbers (4^k-1)/3 for k > 1, not multiples of 3.
; 5,85,341,5461,21845,349525,1398101,22369621,89478485,1431655765,5726623061,91625968981,366503875925,5864062014805,23456248059221,375299968947541,1501... |
formalization/agda/Spire/Examples/PropLev.agda | spire/spire | 43 | 7360 | {-# OPTIONS --type-in-type #-}
open import Data.Unit
open import Data.Product hiding ( curry ; uncurry )
open import Data.List hiding ( concat )
open import Data.String
open import Relation.Binary.PropositionalEquality
open import Function
module Spire.Examples.PropLev where
-------------------------------------------... |
support/template.applescript | Benitoite/rt-create-dmg | 0 | 2646 | <filename>support/template.applescript
on run (volumeName)
tell application "Finder"
tell disk (volumeName as string)
open
set theXOrigin to WINX
set theYOrigin to WINY
set theWidth to WINW
set theHeight to WINH
set theBottomRightX to (theXOrigin + theWidth)
set theBottomRightY to (theYOrigin + theHeight)
set dsStore... |
src/main/antlr/org/clyze/jimple/Jimple.g4 | mkotyk/doop | 0 | 2242 | grammar Jimple;
@header {
package org.clyze.jimple;
}
program
: klass ;
klass
: modifier* ('class'|'interface') IDENTIFIER ('extends' IDENTIFIER)? ('implements' identifierList)? '{' (field|method)* '}' ;
modifier
: 'public'
| 'protected'
| 'private'
| 'static'
| 'abstract'
| 'final'
| 'transient'
| 'synch... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_21829_1534.asm | ljhsiun2/medusa | 9 | 97427 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x7240, %rsi
lea addresses_normal_ht+0x64b8, %rdi
nop
nop
add %rax, %rax
mov $30, %rcx
rep movsl
nop
nop
sub $56373, %r10
lea addresses_WC_ht+0x1630, %r9
and %rb... |
3-mid/impact/source/2d/collision/shapes/impact-d2-shape.adb | charlie5/lace | 20 | 10637 |
package body impact.d2.Shape
is
function getKind (Self : in b2Shape'Class) return shape.Kind
is
begin
return self.m_Kind;
end getKind;
end impact.d2.Shape;
|
programs/oeis/040/A040858.asm | neoneye/loda | 22 | 169451 | <gh_stars>10-100
; A040858: Continued fraction for sqrt(888).
; 29,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1,58,1,3,1
seq $0,40867 ; Continued fraction for sqrt(897).
dif $0,6
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/packed_subtype.adb | best08618/asylo | 7 | 22021 | <gh_stars>1-10
-- { dg-do run }
procedure Packed_Subtype is
subtype Ubyte is Integer range 0 .. 255;
type Packet (Id : Ubyte) is record
A, B : Ubyte;
end record;
pragma Pack (Packet);
subtype My_Packet is Packet (Id => 1);
MP : My_Packet;
begin
MP.A := 1;
MP.B := 2;
if MP.A /= 1 or... |
Kernel/src/Arch/x86_64/SMPTrampoline.asm | adi-g15/LemonOS | 685 | 8708 | <reponame>adi-g15/LemonOS
BITS 16
%include "smpdefines.inc"
cli
cld
mov ax, SMP_MAGIC
mov word [SMP_TRAMPOLINE_DATA_START_FLAG], ax
mov eax, cr4
or eax, 1 << 5 ; Set PAE bit
mov cr4, eax
mov eax, dword [SMP_TRAMPOLINE_CR3]
mov cr3, eax
mov ecx, 0xC0000080 ; EFER Model Specific Register
rdmsr ; Read... |
programs/oeis/025/A025839.asm | neoneye/loda | 22 | 4821 | ; A025839: Expansion of 1/((1-x^3)(1-x^5)(1-x^11)).
; 1,0,0,1,0,1,1,0,1,1,1,2,1,1,2,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5,5,5,6,5,6,7,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,13,13,13,14,14,15,15,15,16,16,17,18,17,18,19
mov $3,2
mov $5,$0
lpb $3
sub $3,1
add $0,$3
sub $0,1
mov $2,$3
mov $4,$0
max $4,0
seq $... |
a/assembler_6502.asm | zackarhino/hello-world | 3 | 9433 | ; goodbyeworld.s for C= 8-bit machines, ca65 assembler format.
; String printing limited to strings of 256 characters or less.
a_cr = $0d ; Carriage return.
bsout = $ffd2 ; KERNAL ROM, output a character to current device.
.code
ldx #0 ; Starting index 0 in X register.
printnext:
lda text,x ; Get character ... |
eurasia/eurasiacon/android/graphicshal/blitops.asm | shaqfu786/GFX_Linux_DDK | 3 | 10001 | /*!****************************************************************************
@File blitops.use
@Title Hardware Composer (hwcomposer) HAL component (blit USE)
@Author Imagination Technologies
@Date 2011/06/03
@Copyright Copyright (C) Imagination Technologies Limited.
... |
libsrc/_DEVELOPMENT/adt/b_vector/c/sccz80/b_vector_init.asm | jpoikela/z88dk | 640 | 7812 | <reponame>jpoikela/z88dk
; void *b_vector_init(void *p, size_t capacity, size_t max_size)
SECTION code_clib
SECTION code_adt_b_vector
PUBLIC b_vector_init
EXTERN asm_b_vector_init
b_vector_init:
pop af
pop hl
pop bc
pop de
push de
push bc
push hl
push af
jp asm_b_vector_init
; ... |
compiler/find_zero.asm | vanashimko/microprogram-control-devices | 2 | 161788 | <reponame>vanashimko/microprogram-control-devices
LOAD 000001
JNZ 000101
LOAD 000110
INC
STORE 000110
LOAD 000010
JNZ 001010
LOAD 000110
INC
STORE 000110
LOAD 000011
JNZ 001111
LOAD 000110
INC
STORE 000110
LOAD 000100
JNZ 010100
LOAD 000110
INC
STORE 000110
LOAD 000101
JNZ 011001
LOAD 000110
INC
STORE 000110
HALT |
oeis/348/A348132.asm | neoneye/loda-programs | 11 | 2053 | ; A348132: a(n) is the denominator of the relativistic sum of n velocities of 1/n, in units where the speed of light is 1.
; Submitted by <NAME>(s2)
; 1,5,9,353,275,66637,18571,24405761,2215269,14712104501,411625181,13218256749601,109949704423,16565151205544957,39931933598775,27614800115689879553,18928981513351817,5909... |
Categories/Adjoint.agda | Taneb/agda-categories | 0 | 5261 | <gh_stars>0
{-# OPTIONS --without-K --safe #-}
module Categories.Adjoint where
-- Adjoints
open import Level
open import Data.Product using (_,_; _×_)
open import Function using (_$_) renaming (_∘_ to _∙_)
open import Function.Equality using (Π; _⟶_)
import Function.Inverse as FI
open import Relation.Binary using (R... |
src/natools-web-backends-filesystem.ads | faelys/natools-web | 1 | 18480 | <gh_stars>1-10
------------------------------------------------------------------------------
-- Copyright (c) 2015, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any ... |
source/league/ucd/matreshka-internals-unicode-ucd-core_0000.ads | svn2github/matreshka | 24 | 1117 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
005.BootSectorFuncStrings/main.asm | mukeshmike9/AssemblyBootSector | 1 | 5904 | [org 0x7c00]
mov bx, OS_NAME
call print
call print_nl
mov bx, AUTHOR_NAME
call print
call print_nl
mov dx, 0x12fe
call print_hex
call print_nl
jmp $
; Subroutines inclusion
%include "boot_sect_print.asm"
%include "boot_sect_print_hex.asm"
; Data Segment
OS_NAME:
db 'TindaOS', 0
AUTHOR_NAME:
db '<NAME>', 0
... |
Univalence/OldUnivalence/UnivalenceFiniteTypes.agda | JacquesCarette/pi-dual | 14 | 13310 | <filename>Univalence/OldUnivalence/UnivalenceFiniteTypes.agda
{-# OPTIONS --without-K #-}
module UnivalenceFiniteTypes where
open import Data.Empty
open import Data.Unit
open import Data.Unit.Core
open import Data.Nat renaming (_⊔_ to _⊔ℕ_)
open import Data.Sum renaming (map to _⊎→_)
open import Data.Product renaming ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_56.asm | ljhsiun2/medusa | 9 | 242928 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x2aa4, %rsi
lea addresses_UC_ht+0x199a4, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
mfence
mov $75, %rcx
rep movsq
sub $11239, %r9
lea addresses_D_ht+0x22a4, %r12
xor %rdi, %rdi
mov (%r12), %ecx
nop... |
libsrc/graphics/ticalc/bksave.asm | meesokim/z88dk | 0 | 103806 | ;
; Fast background save
;
; TI calculators version
;
;
; $Id: bksave.asm,v 1.6 2015/01/19 01:32:51 pauloscustodio Exp $
;
PUBLIC bksave
EXTERN pixeladdress
INCLUDE "graphics/grafix.inc"
.bksave
ld hl,2
add hl,sp
ld e,(hl)
inc hl
ld d,(hl) ;spr... |
wc.asm | shahendahamdy/xv6 | 0 | 23102 | <reponame>shahendahamdy/xv6
_wc: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
printf(1, "%d %d %d %s\n", l, w, c, name);
}
int
main(int argc, char *argv[])
{
1000: f3 0f 1e fb endbr32
1004: 8d 4c 24 04 lea 0x4(%esp),%ecx
1008: 83 e4 f0 ... |
programs/oeis/320/A320429.asm | neoneye/loda | 22 | 165987 | <gh_stars>10-100
; A320429: The length of the shortest prefix of the Thue-Morse word decomposable to not less than n palindromes.
; 1,2,6,10,26,90,154,410,1434,2458,6554,22938,39322,104858,367002,629146,1677722,5872026,10066330,26843546,93952410,161061274,429496730,1503238554,2576980378,6871947674,24051816858,412316860... |
scripts/Yamaha Scenes/Yamaha 300 Generator.applescript | samschloegel/qlab-scripts | 8 | 4248 | -- For help, bug reports, or feature suggestions, please visit https://github.com/samschloegel/qlab-scripts
-- Built for QLab 4. v211121-01
set userPrefix to "y"
set userNamePrefix to "Yamaha Scene"
set showMIDIInfo to true
tell application id "com.figure53.QLab.4" to tell front workspace
set i to 0
set scene to 1
... |
space-antlr/src/main/antlr4/org/jkcsoft/space/antlr/g4/SpaceParser.g4 | jimcoles/space | 0 | 6111 | <reponame>jimcoles/space
/*------------------------------------------------------------------------------
The Antlr grammar for Space if I can get it to work
------------------------------------------------------------------------------*/
parser grammar SpaceParser;
options {
tokenVocab = SpaceLexer;
}
/*
Meta... |
vimfiles/bundle/vim-lisp/ftplugin/iterm.applescript | BHills15/vimrc | 1 | 3432 | #! /usr/bin/osascript
-- joinList from <NAME> @ bit.ly/1gRPYbH
-- toDo push new terminal to background after creation
to joinList(aList, delimiter)
set retVal to ""
set prevDelimiter to AppleScript's text item delimiters
set AppleScript's text item delimiters to delimiter
set retVal to aList as string
... |
8_kyu/Keep_Hydrated.asm | UlrichBerntien/Codewars-Katas | 0 | 244683 | SECTION .text
global litres
; int litres(double);
litres:
cvttsd2si rax, xmm0 ; truncate hours to int
sar rax,1 ; 1 liter per 2 hours
ret |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_64.asm | ljhsiun2/medusa | 9 | 170171 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_64.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xbd63, %r13
clflush (%r13)
nop
add %r11, %r11
movw $0x6162, (%r13)
xor %rdx, %rdx
lea add... |
PRG/objects/1-1.asm | narfman0/smb3_pp1 | 0 | 98588 | .byte $01 ; Unknown purpose
.byte OBJ_GOOMBA, $0E, $19
.byte OBJ_VENUSFIRETRAP, $16, $17
.byte OBJ_GOOMBA, $21, $19
.byte OBJ_REDTROOPA, $24, $16
.byte OBJ_GOOMBA, $34, $18
.byte OBJ_GOOMBA, $37, $18
.byte OBJ_PARAGOOMBA, $3B, $18
.byte OBJ_PARATROOPAGREENHOP, $53, $13
.byte OBJ_PARATROOPAGREENHOP, $56, $13
... |
projects/06/instructions/MOperations.asm | chapnitsky/Nand2Tetris | 0 | 91502 | // Copyright <NAME>, January 2018.
// Free for educational use.
// Exercises all computations using memory as a source.
// This is not a program and cannot be tested by running the resulting
// .hack file. Instead, compare to the .hack file produced by the
// given assembler.
D=M
D=!M
D=-1
D=M+1
D=M-1
D=D+M
D=D-M
D... |
programs/oeis/131/A131739.asm | neoneye/loda | 22 | 86296 | ; A131739: a(4n) = a(4n+1) = n, a(4n+2) = 3n+2, a(4n+3) = 3n+3.
; 0,0,2,3,1,1,5,6,2,2,8,9,3,3,11,12,4,4,14,15,5,5,17,18,6,6,20,21,7,7,23,24,8,8,26,27,9,9,29,30,10,10,32,33,11,11,35,36,12,12,38,39,13,13,41,42,14,14,44,45,15,15,47,48,16,16,50,51,17,17,53,54,18,18,56,57,19,19,59
mov $2,$0
mul $2,2
add $0,$2
div $0,4
mov ... |
binary/cpu_kernel_x86_fma.asm | R3tr074/oh_my_cpu | 23 | 10659 | .globl cpu_kernel_x86_fma_fp32
.globl cpu_kernel_x86_fma_fp64
cpu_kernel_x86_fma_fp32:
mov $0x40000000, %rax
vxorps %ymm0, %ymm0, %ymm0
vxorps %ymm1, %ymm1, %ymm1
vxorps %ymm2, %ymm2, %ymm2
vxorps %ymm3, %ymm3, %ymm3
vxorps %ymm4, %ymm4, %ymm4
vxorps %ymm5, %ymm5, %ymm5
vxorps %ymm6, %y... |
agda/Homotopy.agda | JacquesCarette/pi-dual | 14 | 8755 | module Homotopy where
infixr 20 _◎_
open import Data.Product
------------------------------------------------------------------------------
-- Level 0
-- Start with this set and its elements
data B : Set where
ZERO : B
ONE : B
PLUS : B → B → B
TIMES : B → B → B
-----------------------------------------... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_890.asm | ljhsiun2/medusa | 9 | 9324 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x19b5b, %r14
sub %rbx, %rbx
mov (%r14), %edi
nop
nop
xor $43834, %r10
lea addresses_D_ht+0xc06b, %rsi
clflush (%rsi)
nop
nop
nop
cmp $47888, %r13... |
source/nodes/program-nodes-exception_handlers.ads | optikos/oasis | 0 | 21456 | <reponame>optikos/oasis
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Choice_Parameter_Specifications;
with Program.Element_Vectors;
with Progra... |
vbox/src/VBox/Runtime/common/asm/ASMCpuId.asm | Nurzamal/rest_api_docker | 0 | 24378 | <reponame>Nurzamal/rest_api_docker
; $Id: ASMCpuId.asm 69111 2017-10-17 14:26:02Z vboxsync $
;; @file
; IPRT - ASMCpuIdExSlow().
;
;
; Copyright (C) 2012-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; y... |
source/directories/machine-pc-linux-gnu/s-nadico.adb | ytomino/drake | 33 | 17447 | <filename>source/directories/machine-pc-linux-gnu/s-nadico.adb
with Ada.Exception_Identification.From_Here;
with System.Zero_Terminated_Strings;
with C.errno;
with C.fcntl;
with C.stdio; -- rename(2)
with C.sys.sendfile;
with C.unistd;
package body System.Native_Directories.Copying is
use Ada.Exception_Identificatio... |
src/bitmap_fonts/giza-bitmap_fonts.ads | Fabien-Chouteau/Giza | 7 | 17922 | ------------------------------------------------------------------------------
-- --
-- Giza --
-- --
-- ... |
PRG/objects/4-1Bonus.asm | narfman0/smb3_pp1 | 0 | 95626 | .byte $01 ; Unknown purpose
.byte OBJ_BIGBERTHABIRTHER, $0F, $13
.byte OBJ_BIGBERTHABIRTHER, $17, $17
.byte $FF ; Terminator
|
experiments/test-suite/mutation-based/10/2/binaryTree.als | kaiyuanw/AlloyFLCore | 1 | 4476 | <filename>experiments/test-suite/mutation-based/10/2/binaryTree.als
pred test7 {
some disj Node0, Node1: Node {
Node = Node0 + Node1
left = Node1->Node1
no right
}
}
run test7 for 3 expect 1
pred test21 {
some disj Node0, Node1, Node2: Node {
Node = Node0 + Node1 + Node2
left = Node0->Node2 + Node1->Node0
no right
Acyc... |
tools/fuse/akt-commands-mount.adb | My-Colaborations/ada-keystore | 0 | 27393 | <filename>tools/fuse/akt-commands-mount.adb
-----------------------------------------------------------------------
-- akt-commands-mount -- Mount the keystore on the filesystem for direct access
-- Copyright (C) 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (... |
programs/oeis/107/A107008.asm | neoneye/loda | 22 | 3550 | ; A107008: Primes of the form x^2 + 24*y^2.
; 73,97,193,241,313,337,409,433,457,577,601,673,769,937,1009,1033,1129,1153,1201,1249,1297,1321,1489,1609,1657,1753,1777,1801,1873,1993,2017,2089,2113,2137,2161,2281,2377,2473,2521,2593,2617,2689,2713,2833,2857,2953,3001,3049,3121,3169,3217,3313,3361,3433,3457,3529,3673,3697,... |
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_113_106.asm | ljhsiun2/medusa | 9 | 935 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rdx
lea addresses_normal_ht+0x3151, %r15
nop
nop
nop
nop
and %r12, %r12
mov $0x6162636465666768, %rdi
movq %rdi, (%r15)
nop
cmp $64342, %r13
lea addresses_WT_ht+0x110f1, %r8
nop
nop
nop
nop
nop
a... |
src/load.asm | dikdom/tapecart-browser | 5 | 176919 | <gh_stars>1-10
block load -- @ 0x0200
var lohi end @zp
var lohi ptr @zp
inline byte raster_pos = 60
var lohi progress @zp
run:
// load address (lo only)
ldy ptr.lo
// clear lo part of ptr
lda 0
sta ptr.lo
lda 0
sta progress.lo
lda 220
sta progress.hi
loop:
jsr getbyte.run
sta [ptr], y
... |
programs/oeis/195/A195028.asm | karttu/loda | 1 | 13052 | <reponame>karttu/loda<filename>programs/oeis/195/A195028.asm
; A195028: a(n) = n*(14*n + 13).
; 0,27,82,165,276,415,582,777,1000,1251,1530,1837,2172,2535,2926,3345,3792,4267,4770,5301,5860,6447,7062,7705,8376,9075,9802,10557,11340,12151,12990,13857,14752,15675,16626,17605,18612,19647,20710,21801,22920,24067,25242,26445... |
src/Get Certbot Keys.applescript | x7fff/Certbot-certificate-copier | 0 | 2673 | use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
(*
Some useful references
• https://developer.apple.com/library/content/documentation/AppleScript/Conceptual/AppleScriptLangGuide/conceptual/ASLR_about_handlers.html
• https://stackoverflow.com/questions/33035959/optional-parameters-... |
programs/oeis/057/A057661.asm | neoneye/loda | 22 | 7454 | ; A057661: a(n) = Sum_{k=1..n} lcm(n,k)/n.
; 1,2,4,6,11,11,22,22,31,32,56,39,79,65,74,86,137,92,172,116,151,167,254,151,261,236,274,237,407,221,466,342,389,410,452,336,667,515,550,452,821,452,904,611,641,761,1082,599,1051,782,956,864,1379,821,1166,925,1201,1220,1712,809,1831,1397,1312,1366,1649,1166,2212,1502,1775,1355... |
test/Succeed/Issue5922.agda | KDr2/agda | 0 | 4029 | <filename>test/Succeed/Issue5922.agda
-- Andreas, 2022-06-10, issue #5922, reported by j-towns.
-- Lack of normalization of data projections against data constructors
-- breaks termination checker applied to extended lambda gone through
-- forcing translation and reflection.
-- The workaround was to turn off the forci... |
patches/vwf_dialogues/vwfframes.asm | RPGHacker/SMW-Workspace | 9 | 28269 | ; This is the palette table that contains the headers and colours for each frame.
; Format:
;db %--------,%-------- ; Frame header (currently all zeroes, intended for future expansion)
;dw $COL1,$COL2,$COL3 ; Frame palette
; Frame $00
db %00000000,%00000000
dw $0000,$FFFF,$0000
; Frame $01
db %00000000,%00000000
dw ... |
Projetos/J-VMTranslator/bin/nasm/SimplePushAdd.nasm | mariaeduardabicalho/Z01 | 2 | 166093 | <gh_stars>1-10
; 0 - PUSH constant 5
leaw $5, %A
movw %A, %S
leaw $SP, %A
movw (%A), %D
movw %D, %A
movw %S, (%A)
leaw $SP, %A
movw (%A), %A
incw %A
movw %A, %S
leaw $SP, %A
movw %S, (%A)
; 1 - PUSH constant 9
leaw $9, %A
movw %A, %S
leaw $SP, %A
movw (%A), %D
movw %D, %A
movw %S, (%A)
leaw $SP, %A
movw (%A), %A
incw %... |
oeis/026/A026165.asm | neoneye/loda-programs | 11 | 170108 | <filename>oeis/026/A026165.asm
; A026165: Number of (s(0), s(1), ..., s(n)) such that every s(i) is a nonnegative integer, s(0) = 2, |s(1) - s(0)| = 1, |s(i) - s(i-1)| <= 1 for i >= 2. Also sum of numbers in row n+1 of the array T in A026148.
; Submitted by <NAME>
; 1,2,6,17,49,141,407,1177,3411,9904,28808,83931,244895... |
HC6502/PS2_Keyboard/stm8/software/stm8s-sdcc/src/stm8s_exti.asm | wuxx/HC6502 | 16 | 105105 | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.8.0 #10562 (Linux)
;--------------------------------------------------------
.module stm8s_exti
.optsdcc -mstm8
;--------------------------------------------------------
; Public variables... |
testsuite/ubivm/expected/repeat_until_1.asm | alexgarzao/UOP | 0 | 246174 | <reponame>alexgarzao/UOP
Entity start
No options
Constants
0 S start
1 S x
2 I 1
3 S x=
4 I 2
5 S io.writeln
6 I 10
End
Valid context (always)
No properties
Def start
No parameters
Local variables
0 int x
End
No results
ldconst 2 --> [1]
stvar 0 --> [x]
2: ldconst 3 --> [x=]
ldvar ... |
src/Ada/syscalls/ewok-syscalls-init.adb | wookey-project/ewok-legacy | 0 | 17753 | <gh_stars>0
--
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
--
-- 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
--... |
grammar/antlr4/synthesis/skip_top/py/SkipTop.g4 | sthagen/odata-url-parser | 2 | 5509 | <reponame>sthagen/odata-url-parser<gh_stars>1-10
grammar SkipTop;
skip_top : skip
| top
;
skip : '$'? Skip '=' INTEGER;
top : '$'? Top '=' INTEGER;
Skip : S K I P;
Top : T O P;
INTEGER: DIGIT
| NON_ZERO DIGIT+
;
fragment I : [iI];
fragment K : [kK];
fragment O : [oO];
fragment P ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/limited_with2_pkg1.ads | best08618/asylo | 7 | 23605 | limited with Limited_With2_Pkg2;
package Limited_With2_Pkg1 is
type Rec2 is record
F : access Limited_With2_Pkg2.Rec3;
end record;
end Limited_With2_Pkg1;
|
main.scpt | Fornost461/JavaDowngrader | 0 | 1230 | (*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
Please refer to <http://unli... |
cdc-160-replica/OSAP/demo2.asm | paulscottrobson/assorted-archives | 0 | 241072 | rem hello world !
// flx Hello./
// flr 12Hello./
tty 01Hello./
|
source/nodes/program-nodes-null_literals.adb | optikos/oasis | 0 | 7590 | <reponame>optikos/oasis
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Null_Literals is
function Create
(Null_Literal_Token : not null Program.Lexical_Elements
... |
programs/oeis/272/A272975.asm | neoneye/loda | 22 | 245694 | ; A272975: Numbers that are congruent to {0,7} mod 12.
; 0,7,12,19,24,31,36,43,48,55,60,67,72,79,84,91,96,103,108,115,120,127,132,139,144,151,156,163,168,175,180,187,192,199,204,211,216,223,228,235,240,247,252,259,264,271,276,283,288,295,300,307,312,319,324
mov $1,$0
mul $0,6
mod $1,2
add $0,$1
|
Miei-sorgenti/new/Seconda lezione/Versione 1/rwmemoria.asm | DigiOhhh/LabArchitettura2-2017-2018 | 1 | 168107 | <reponame>DigiOhhh/LabArchitettura2-2017-2018
# Si scriva il codice Assembly che effettui:
# A[99] = 5 + B[i] + C
# Inizializzazione dei registri indirizzi:
# i vettori A e B contengono 100 elementi, ogni elemento è un intero a 32 bit;
# variabili C e i sono interi a 32 bit.
# Inizializzazione dei valori dati in ... |
example/map_scroll/program.asm | suzukiplan/fcs80 | 2 | 27694 | <reponame>suzukiplan/fcs80
org $0000
.main
; 割り込み関連の初期化
IM 1
DI
; VBLANKを待機
call wait_vblank
; パレットを初期化
ld bc, 12
ld hl, palette0_data
ld de, $9400
ldir
; Bank 1 を Character Pattern Table ($A000) に転送 (DMA)
ld a, $01
out ($c0), a
; マップの初期状態を描画
ld bc, 800
... |
syntaxes/vein.g4 | 0xF6/vscode.mana | 0 | 7761 | <reponame>0xF6/vscode.mana
grammar wave;
INTEGER
: '-'? ('0'..'9')+
;
FLOAT
: '-'? ('0'..'9')+ '.' ('0'..'9')+
;
STRING
: '\'' (~ '\'' )* '\''
;
BOOLEAN
: 'true'
| 'false'
;
r : 'hello' ID ; // match keyword hello followed by an identifier
ID : [a-z]+ ; ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.