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 |
|---|---|---|---|---|
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0x48.log_12487_2096.asm | ljhsiun2/medusa | 9 | 164488 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x16a4c, %rsi
lea addresses_D_ht+0x2d44, %rdi
nop
xor %r8, %r8
mov $74, %rcx
rep movsw
nop
sub $33780, %r12
lea addresses_A_ht+0x7480, %r8
nop
nop
nop
add $61142, %r15
movl $0x6... |
experiments/beep/beep.asm | daltonmatos/avrgcc-mixed-with-avrasm2 | 2 | 18666 | .include "../m644Pdef.inc"
.def treg =r14 ;temp reg for ISR
.def SregSaver =r15 ;Storage of the SREG, used in ISR
.def t =r16 ;Main temporary register
;R17-R24 is the local variables pool
.def tt =r25 ;Temp reg for ISR
WaitXms:
ldi yl, 10
rcall wms
sbiw x, 1
brne WaitXms
ret
wms:
ldi ... |
runtime/ravenscar-sfp-stm32f427/common/s-memmov.adb | TUM-EI-RCS/StratoX | 12 | 1111 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
src/lumen-program.adb | darkestkhan/lumen | 8 | 9094 | <filename>src/lumen-program.adb<gh_stars>1-10
-- Lumen.Program -- Helper routines fr working with shader programs.
--
-- darkestkhan, Winter 2014
-- This code is covered by the ISC License:
--
-- Copyright © 2014, darkestkhan
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose wi... |
programs/oeis/102/A102042.asm | jmorken/loda | 1 | 100311 | ; A102042: a(n) = a(n-1) + last digit of a(n-1), starting at 9.
; 9,18,26,32,34,38,46,52,54,58,66,72,74,78,86,92,94,98,106,112,114,118,126,132,134,138,146,152,154,158,166,172,174,178,186,192,194,198,206,212,214,218,226,232,234,238,246,252,254,258,266,272,274,278,286,292,294,298,306,312,314,318,326,332,334,338,346,352,3... |
Transynther/x86/_processed/US/_st_/i7-7700_9_0x48.log_1_2510.asm | ljhsiun2/medusa | 9 | 101903 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r14
push %r15
push %r8
push %rbx
push %rdx
// Store
lea addresses_US+0xa626, %r12
nop
nop
nop
nop
add %r8, %r8
movw $0x5152, (%r12)
nop
nop
nop
cmp %r13, %r13
// Load
lea addresses_RW+0xadbe, %r14
clfl... |
test/fail/AmbiguousParseForApplication.agda | asr/agda-kanso | 1 | 6258 | <filename>test/fail/AmbiguousParseForApplication.agda
-- Occurs there are several ways to parse an operator application.
module AmbiguousParseForApplication where
postulate
X : Set
if_then_else_ : X -> X -> X -> X
if_then_ : X -> X -> X
bad : X -> X
bad x = if x then if x then x else x
|
oeis/153/A153088.asm | neoneye/loda-programs | 11 | 80403 | <filename>oeis/153/A153088.asm<gh_stars>10-100
; A153088: Numbers k such that 5*k - 1 is not prime.
; Submitted by <NAME>(s4)
; 1,2,3,5,7,8,9,10,11,13,14,15,17,19,20,21,23,24,25,26,27,29,31,32,33,34,35,37,38,39,41,42,43,44,45,47,49,50,51,52,53,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,71,73,74,75,77,79,80,81,83,85,8... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/layered_abstraction.adb | best08618/asylo | 7 | 6361 | package body Layered_Abstraction is
Z : P1.T := P2.Obj; -- Both P1.T and P2.Obj are visible because
-- they were not specified in the formal package.
-- Note that P2.T is not visible since it
-- is required to match P1.T
use P1; ... |
libsrc/graphics/gray/cpc/grpage.asm | andydansby/z88dk-mk2 | 1 | 242383 | <reponame>andydansby/z88dk-mk2<gh_stars>1-10
;
; Amstrad CPC pseudo-Gray Library Functions
;
; Written by <NAME> - June 2004
;
; $Id: grpage.asm,v 1.1 2004/06/30 12:50:57 stefano Exp $
;
;
; A trick to be used with the dafault graph functions
;
; IN: A=Page Number (0/1)
; all registers are saved
XLIB g... |
tests/unit_tests/jsa-tests-intermediate_backups.ads | sparre/JSA | 1 | 21832 | with
Ahven.Framework;
package JSA.Tests.Intermediate_Backups is
type Test is new Ahven.Framework.Test_Case with null record;
overriding
procedure Initialize (T : in out Test);
private
procedure Run;
end JSA.Tests.Intermediate_Backups;
|
agda/book/Programming_Language_Foundations_in_Agda/x05isomorphism.agda | haroldcarr/learn-haskell-coq-ml-etc | 36 | 16411 | <reponame>haroldcarr/learn-haskell-coq-ml-etc
module x05isomorphism where
{-
------------------------------------------------------------------------------
Isomorphism: Isomorphism and Embedding
isomorphism
- way of asserting two types are equal
embedding
- way of asserting that one type is smaller than another
app... |
models/aleks/ints4.als | transclosure/Amalgam | 4 | 4900 | <reponame>transclosure/Amalgam
one sig S {
a : one Int,
b : one Int
}{
a >= 0
}
run {
} for 1
|
libsrc/_DEVELOPMENT/string/c/sccz80/memchr_callee.asm | Frodevan/z88dk | 640 | 5013 | <gh_stars>100-1000
; void *memchr(const void *s, int c, size_t n)
SECTION code_clib
SECTION code_string
PUBLIC memchr_callee, l0_memchr_callee
EXTERN asm_memchr
memchr_callee:
pop hl
pop bc
pop de
ex (sp),hl
l0_memchr_callee:
ld a,e
jp asm_memchr
; SDCC bridge for Classic
IF __CLASSIC
PUBL... |
grammars/LTLfFormulaParser.g4 | RiccardoDeMasellis/FLLOAT | 9 | 1029 | grammar LTLfFormulaParser;
import PropFormulaParser;
start
: expression EOF
;
expression
: doubleImplicationTemp
;
doubleImplicationTemp
: implicationTemp (DOUBLEIMPLY implicationTemp)*
;
implicationTemp
: orTemp (IMPLY orTemp)*
;
orTemp
: andTemp... |
programs/oeis/279/A279077.asm | neoneye/loda | 22 | 244267 | <reponame>neoneye/loda
; A279077: Maximum starting value of X such that repeated replacement of X with X-ceiling(X/7) requires n steps to reach 0.
; 0,1,2,3,4,5,6,8,10,12,15,18,22,26,31,37,44,52,61,72,85,100,117,137,160,187,219,256,299,349,408,477,557,650,759,886,1034,1207,1409,1644,1919,2239,2613,3049,3558,4152,4845,5... |
oeis/213/A213826.asm | neoneye/loda-programs | 11 | 8808 | <gh_stars>10-100
; A213826: Principal diagonal of the convolution array A213825.
; Submitted by <NAME>
; 2,34,132,332,670,1182,1904,2872,4122,5690,7612,9924,12662,15862,19560,23792,28594,34002,40052,46780,54222,62414,71392,81192,91850,103402,115884,129332,143782,159270,175832,193504,212322,232322,253540,276012,299774,3... |
gcc-gcc-7_3_0-release/gcc/ada/mdll-fil.adb | best08618/asylo | 7 | 27698 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
audio/music/celadoncity.asm | Dev727/ancientplatinum | 28 | 95284 | Music_CeladonCity:
musicheader 3, 1, Music_CeladonCity_Ch1
musicheader 1, 2, Music_CeladonCity_Ch2
musicheader 1, 3, Music_CeladonCity_Ch3
Music_CeladonCity_Ch1:
tempo 146
volume $77
tone $0001
Music_CeladonCity_branch_f436c:
stereopanning $f
notetype $c, $a6
octave 3
note A_, 7
intensity $a1
note G#, 1
n... |
src/pp/block5/cc/antlr/NumWordGroup.g4 | Pieterjaninfo/PP | 0 | 4084 | grammar NumWordGroup;
//@header{package pp.block5.cc.antlr;}
sentence
: (group* penultimateGroup)? lastGroup EOF;
group
: number word;
penultimateGroup
: number word;
lastGroup
: number word;
number: NUMBER;
word: WORD;
fragment DIGIT: [0-9];
fragment LETTER: [a-zA-Z];
WORD: LETTER+;
... |
src/test/ref/array-16bit-lookup.asm | jbrandwood/kickc | 2 | 8381 | // Test KickC performance for 16-bit array lookup function from article "Optimizing C array lookups for the 6502"
// http://8bitworkshop.com/blog/compilers/2019/03/17/cc65-optimization.html
// Commodore 64 PRG executable file
.file [name="array-16bit-lookup.prg", type="prg", segments="Program"]
.segmentdef Program [s... |
smsq/mem/atpa.asm | olifink/smsqe | 0 | 28344 | ; Allocate in transient program area V2.01 1986 <NAME> QJUMP
section mem
xdef mem_atpa ; allocate in tpa
xref mem_ruch ; round up common heap allocation
xref mem_altd ; allocate from top down
xref mem_xtpa ; extend the TPA
xref mem_rehp ; add to TPA
include 'dev8_ke... |
src/asmmath.asm | johschmitz/TI-84-CE-Raytracing | 298 | 242626 | <gh_stars>100-1000
public _fp_mul
public _fp_sqr
; Multiplies two Fixed24 values and returns the new value in HL
_fp_mul:
push ix
push bc
push iy
ld iy, $0
; Align ix to below the stack. Zero-fill 48 bits
ld ix, $FFFFFA
add ix, sp
ld (ix), iy
ld (ix + $3), iy
; Align iy to the a... |
Source/Levels/L1312.asm | AbePralle/FGB | 0 | 15430 | <reponame>AbePralle/FGB
; L1312.asm Crouton Homeworld 2
; Generated 04.19.2001 by mlevel
; Modified 04.19.2001 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level1312Section",ROMX
;--------------------------------------... |
llvm-gcc-4.2-2.9/gcc/ada/err_vars.ads | vidkidz/crossbridge | 1 | 12864 | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
TEA-MIR/tea_x86.asm | ab300819/applied-cryptography | 1 | 12253 | <filename>TEA-MIR/tea_x86.asm
; Tiny Encryption Algorithm
; A public domain block cipher by <NAME> and <NAME>
; 80386 assembly implementation by <NAME>
; TEA uses a 128 bit key and operates on 64 bit data blocks
.model tiny
.code
.386
org 100h
Start:
mov si,offset Key... |
source/interaction/cold.asm | paulscottrobson/6502-basic | 3 | 100270 | ; ************************************************************************************************
; ************************************************************************************************
;
; Name: cold.asm
; Purpose: Cold start
; Created: 10th March 2021
; Reviewed: 16th March 2021
; Author: <NAME> (... |
programs/oeis/168/A168398.asm | neoneye/loda | 22 | 169745 | <filename>programs/oeis/168/A168398.asm
; A168398: a(n) = 4 + 8*floor((n-1)/2).
; 4,4,12,12,20,20,28,28,36,36,44,44,52,52,60,60,68,68,76,76,84,84,92,92,100,100,108,108,116,116,124,124,132,132,140,140,148,148,156,156,164,164,172,172,180,180,188,188,196,196,204,204,212,212,220,220,228,228,236,236,244,244,252,252,260,260,... |
src/inittiles.asm | furrtek/GB303 | 90 | 244188 | <reponame>furrtek/GB303<gh_stars>10-100
.DEFINE T_ALPHA 0
.DEFINE T_ALPHAI 64
.DEFINE T_GRIDNOTE 128
.DEFINE T_NOTE 128+1
.DEFINE T_NOTEUP 128+1+1
.DEFINE T_NOTEDN 128+1+1+1
.DEFINE T_NOTEOFF 128+1+1+1+1
.DEFINE T_WINGRAD 128+1+1+1+1+1
.DEFINE T_CURSEQ 128+1+1+1+1+1+1
.DEFINE T_CURNOTE 128+1+1+1+1+1+1+1
... |
out/euler42.adb | FardaleM/metalang | 22 | 19138 |
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
with Ada.Numerics.Elementary_Functions;
procedure euler42 is
type stringptr is access all char_array;
procedure PString(s : stringptr) ... |
lab1/example_a_2.asm | 0000Blaze/Microprocess | 0 | 94530 | # ORG 8000
LXI B,2464
HLT |
oeis/101/A101630.asm | neoneye/loda-programs | 11 | 161497 | <reponame>neoneye/loda-programs
; A101630: Denominator of partial sums of a certain series.
; Submitted by <NAME>
; 1,42,6006,204204,3879876,446185740,38818159380,2406725881560,89048857617720,3651003162326520,156993135980040360,51650741737433278440,2737489312083963757320,2737489312083963757320
add $0,1
mul $0,4
seq $0... |
t/knowhow.asm | cygx/moar-assembler | 2 | 86483 | <gh_stars>1-10
.hll asm
.frame main
.local int
exit %0
.frame create_knowhow_type
checkarity 1 1
.param str name 0
.var str repr "KnowHOWREPR"
.var obj rv
.var obj how
.var obj method
knowhow $how
findmeth $method $how :new_type
.flags obj :str :str
.result $rv
.cal... |
test/Compiler/simple/Floats.agda | hborum/agda | 7 | 7238 |
module _ where
open import Common.Prelude
print : Float → IO Unit
print x = putStrLn (primShowFloat x)
printB : Bool → IO Unit
printB true = putStrLn "true"
printB false = putStrLn "false"
_/_ = primFloatDiv
_==_ = primFloatEquality
_=N=_ = primFloatNumericalEquality
_<N_ = primFloatNumericalLess
_<_ = prim... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-dwalin.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 26739 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
test/Fail/Issue314.agda | cruhland/agda | 1,989 | 10823 | <filename>test/Fail/Issue314.agda
module Issue314 where
postulate A : Set
data _≡_ (x : A) : A → Set where
refl : x ≡ x
postulate lemma : (x y : A) → x ≡ y
Foo : A → Set₁
Foo x with lemma x _
Foo x | refl = Set
-- Bug.agda:12,9-13
-- Failed to solve the following constraints:
-- x == _23 x : A
-- when checkin... |
src/asf-lifecycles.adb | jquorning/ada-asf | 12 | 10507 | <reponame>jquorning/ada-asf<gh_stars>10-100
-----------------------------------------------------------------------
-- asf-lifecycles -- Lifecycle
-- Copyright (C) 2010, 2011, 2012, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use t... |
ffight/lcs/1p/86.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 175992 | <filename>ffight/lcs/1p/86.asm
copyright zengfr site:http://github.com/zengfr/romhack
001AD6 abcd -(A3), -(A1) [1p+87]
001AD8 abcd -(A3), -(A1) [1p+86]
00A14A rts [1p+84, 1p+86]
00A2C6 dbra D0, $a2c0
copyright zengfr site:http://github.com/zengfr/romhack
|
Assignment 2 submission/assign2a.asm | vridhid/CPSC355 | 0 | 176703 | <reponame>vridhid/CPSC355
//Assignment 2a
//This program implements a integer multiplication program
//Defining the strings
initialv: .string "multiplier = 0x%08x (%d) multiplicand = 0x%08x (%d) \n\n"
productp: .string "product = 0x%08x multiplier = 0x%08x\n"
resultp: .string "64-bit result = ... |
orka/src/gl/implementation/gl-runtime_loading.ads | onox/orka | 52 | 18817 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2013 <NAME> <<EMAIL>>
--
-- 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.apache.org/licenses/LICENSE-2.0... |
alloy4fun_models/trainstlt/models/3/j3D8FYWD9pgMNjKKr.als | Kaixi26/org.alloytools.alloy | 0 | 5283 | <filename>alloy4fun_models/trainstlt/models/3/j3D8FYWD9pgMNjKKr.als
open main
pred idj3D8FYWD9pgMNjKKr_prop4 {
all t1,t2 : Train | always no (t1.pos & t2.pos)
}
pred __repair { idj3D8FYWD9pgMNjKKr_prop4 }
check __repair { idj3D8FYWD9pgMNjKKr_prop4 <=> prop4o } |
oeis/041/A041066.asm | neoneye/loda-programs | 11 | 174889 | ; A041066: Numerators of continued fraction convergents to sqrt(40).
; Submitted by <NAME>
; 6,19,234,721,8886,27379,337434,1039681,12813606,39480499,486579594,1499219281,18477210966,56930852179,701647437114,2161873163521,26644125399366,82094249361619,1011775117738794,3117419602578001,38420810348674806,1183798506486024... |
oeis/141/A141930.asm | neoneye/loda-programs | 11 | 25252 | <filename>oeis/141/A141930.asm
; A141930: Primes congruent to 4 mod 25.
; Submitted by <NAME>
; 29,79,179,229,379,479,829,929,1129,1229,1279,1429,1579,1879,1979,2029,2129,2179,2579,2729,2879,3079,3229,3329,3529,3779,3929,4079,4129,4229,4679,4729,5179,5279,5479,5779,5879,6029,6079,6229,6329,6379,6529,6679,6779,6829,7079... |
oeis/061/A061162.asm | neoneye/loda-programs | 11 | 19411 | <reponame>neoneye/loda-programs<filename>oeis/061/A061162.asm
; A061162: a(n) = (6n)!n!/((3n)!(2n)!^2).
; Submitted by <NAME>
; 1,30,2310,204204,19122246,1848483780,182327718300,18236779032600,1842826521244230,187679234340049620,19232182592635611060,1980665038436368775400,204826599735691440534300,2125532893134132161064... |
8088/demo/infinite_bobs/draw.asm | reenigne/reenigne | 92 | 13813 | <reponame>reenigne/reenigne<filename>8088/demo/infinite_bobs/draw.asm
mov si,9999
; Start on odd nybble
mov al,[es:di]
and al,0xf0
or al,0x09
stosb
mov cx,9999
rep movsw
; End with one byte
movsb
; End with one nybble
mov al,[es:di]
and al,0x0f
or al,0x90
stosb
... |
arch/ARM/STM32/devices/stm32wl5x/stm32-device.adb | morbos/Ada_Drivers_Library | 2 | 5478 | <reponame>morbos/Ada_Drivers_Library
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- ... |
source/tasking/machine-apple-darwin/s-nainve.ads | ytomino/drake | 33 | 15662 | pragma License (Unrestricted);
-- implementation unit specialized for POSIX (Darwin, FreeBSD, or Linux)
with Ada.Interrupts;
package System.Native_Interrupts.Vector is
subtype Parameterless_Handler is Ada.Interrupts.Parameterless_Handler;
function Current_Handler (Interrupt : Interrupt_Id)
return Paramet... |
test/asset/agda-stdlib-1.0/Relation/Binary/Construct/Constant.agda | omega12345/agda-mode | 5 | 4516 | <gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- The binary relation defined by a constant
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Relation.Binary.Construct.Constant whe... |
3-mid/opengl/source/platform/egl/private/thin/egl-binding.ads | charlie5/lace | 20 | 4729 | <filename>3-mid/opengl/source/platform/egl/private/thin/egl-binding.ads
with
eGL.Pointers,
eGL.NativeDisplayType,
Interfaces.C.Strings,
System;
package eGL.Binding
is
function eglGetError return eGL.EGLint;
function eglGetDisplay
(display_id : in eGL.Nativ... |
libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_fmod.asm | jpoikela/z88dk | 640 | 80031 | <reponame>jpoikela/z88dk
; double fmod(double x, double y)
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sccz80_fmod
EXTERN am48_fmod, cm48_sccz80p_dread2
cm48_sccz80_fmod:
call cm48_sccz80p_dread2
; AC'= y
; AC = x
exx
jp am48_fmod
|
llvm-gcc-4.2-2.9/gcc/ada/memroot.ads | vidkidz/crossbridge | 1 | 27989 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
antlr-basics/src/main/java/com/poc/chapter_06_part01_CSV/JSON.g4 | cgonul/antlr-poc | 0 | 5527 | grammar JSON;
json : object | array ;
object : LCP pair (COL pair)* RCP
| LCP RCP // empty object
;
pair: STRING SC value ;
array : LSP value (COL value)* RSP
| LSP RSP // empty array
;
value : STRING
| NUMBER
| object // recursion
| array // recursion
| TRUE /... |
oeis/160/A160906.asm | neoneye/loda-programs | 11 | 29963 | <filename>oeis/160/A160906.asm
; A160906: Row sums of A159841.
; Submitted by <NAME>(s4)
; 1,5,29,176,1093,6885,43796,280600,1807781,11698223,75973189,494889092,3231947596,21153123932,138712176296,911137377456,5993760282021,39481335979779,260377117268087,1719026098532296,11360252318843933,75141910203168229,497431016774... |
src/config.adb | SSOCsoft/Log_Reporter | 0 | 28787 | <reponame>SSOCsoft/Log_Reporter
Package Body Config is
-- Return the slice (1..Item.LENGTH).
Function "+"( Item : Pascal_String ) return String is
Begin
Return Result : Constant String := (Item.Text(1..Natural(Item.Length)));
End "+";
-- Return Item concatenated with the padding to make th... |
FlameOS 2.0/FS/Terminal.asm | Th3Matt/FlameOS | 0 | 98222 | <reponame>Th3Matt/FlameOS
Terminal:
jmp $
|
src/test/ref/loop-while-sideeffect.asm | jbrandwood/kickc | 2 | 12521 | // Test a while()-loop where the condition has a side-effect
// Commodore 64 PRG executable file
.file [name="loop-while-sideeffect.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"... |
src/proxy.ads | dshadrin/AProxy | 1 | 2481 | <reponame>dshadrin/AProxy
----------------------------------------
-- Copyright (C) 2019 <NAME> --
-- All rights reserved. --
----------------------------------------
with Pal; use Pal;
with Ada.Finalization;
with ConfigTree;
with Logging;
----------------------------------------------------------------... |
client/arch/zx/text_ui_routines.asm | the-channels/channels | 40 | 89093 | EXTERN _text_x
EXTERN _text_y
EXTERN asm_zx_cxy2saddr
PUBLIC _text_ui_write
EXTERN font_even_index
EXTERN font_odd_index
; stack: string to write
; stack: amount to write
; registers used:
; iyl - number of characters left to write
; de - current screen address
; bc - current characted A data address
; ... |
libsrc/_DEVELOPMENT/adt/wv_stack/c/sdcc_iy/wv_stack_destroy.asm | jpoikela/z88dk | 640 | 93293 |
; void wv_stack_destroy(wv_stack_t *s)
SECTION code_clib
SECTION code_adt_wv_stack
PUBLIC _wv_stack_destroy
EXTERN _w_vector_destroy
defc _wv_stack_destroy = _w_vector_destroy
|
benchmark/Syntacticosmos/Pr.agda | cruhland/agda | 1,989 | 2626 | <filename>benchmark/Syntacticosmos/Pr.agda
module Pr where
data FF : Set where
magic : {X : Set} -> FF -> X
magic ()
record TT : Set where
data Id {S : Set}(s : S) : S -> Set where
refl : Id s s
data Pr : Set1 where
tt : Pr
ff : Pr
_/\_ : Pr -> Pr -> Pr
all : (S : Set) -> (S -> Pr) -> Pr
_eq_ : {S : Se... |
oeis/161/A161582.asm | neoneye/loda-programs | 11 | 83158 | ; A161582: The list of the k values in the common solutions to the 2 equations 5*k+1=A^2, 9*k+1=B^2.
; Submitted by <NAME>
; 0,7,336,15792,741895,34853280,1637362272,76921173511,3613657792752,169764995085840,7975341111241735,374671267233275712,17601574218852716736,826899317018844410887,38846666325666834594960,182496641... |
ProbeTarget/Communication/Generic/RS-232/Ports/Freescale/Coldfire/5275/IAR/probe_rs232a.asm | cos12a/GPUTFT | 0 | 86934 | /*
*********************************************************************************************************
* uC/Probe Communication
*
* (c) Copyright 2007; Micrium, Inc.; Weston, FL
*
* All rights reserved. Protected by international copyri... |
Examples/basics/printenv.asm | agguro/linux-nasm | 6 | 173131 | ;name: printenv.asm
;
;description: Another Linux printenv program.
; Shows the environment params on stdout.
;
;build: nasm -felf64 printenv.asm -o printenv.o
; ld -melf_x86_64 printenv.o -o printenv
bits 64
%include "unistd.inc"
global _start
section .bss
buffer: resb 1
buffe... |
tools-src/gnu/gcc/gcc/ada/gnatmem.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 4104 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod<filename>tools-src/gnu/gcc/gcc/ada/gnatmem.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS ... |
src/Ethambda/Position.agda | fredefox/ethambda-agda | 0 | 15437 | <filename>src/Ethambda/Position.agda
module Ethambda.Position
import Eth.Prelude -- using (bool)
import Prelude.Bool -- using (bool)
import Data.List -- using (intercalate)
import Prelude.Monad -- using ((>=>))
import Control.Monad.Identity
import Control.Monad.Writer -- using
-- (MonadWriter, WriterT, Writer, execWr... |
test/Fail/Issue2642.agda | shlevy/agda | 1,989 | 14907 | <gh_stars>1000+
-- Andreas, 2017-07-13, issue #2642
record R : Set₁ where
field
F : Set
F : Set -- duplicate field, should be rejected
-- Otherwise, this gives an internal error:
test : Set → R
test A = record{ F = A }
|
oeis/158/A158614.asm | neoneye/loda-programs | 11 | 89805 | <reponame>neoneye/loda-programs
; A158614: Numbers n such that 30*n + 11 is prime.
; Submitted by <NAME>
; 0,1,2,3,4,6,8,9,10,13,14,15,16,17,21,23,25,27,29,30,31,32,34,35,36,38,39,43,45,48,49,50,52,53,57,60,62,63,64,69,70,71,78,79,80,81,84,86,87,90,91,93,95,100,101,106,107,108,112,115,116,119,122,123,125,127,128,129,13... |
alloy4fun_models/trashltl/models/5/g2FgN24jtyoKenGmS.als | Kaixi26/org.alloytools.alloy | 0 | 1131 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idg2FgN24jtyoKenGmS_prop6 {
all t:Trash | always t in Trash
}
pred __repair { idg2FgN24jtyoKenGmS_prop6 }
check __repair { idg2FgN24jtyoKenGmS_prop6 <=> prop6o } |
test/asset/agda-stdlib-1.0/Relation/Nullary/Product.agda | omega12345/agda-mode | 0 | 3265 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Products of nullary relations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Relation.Nullary.Product where
open import Data.Product
open imp... |
OutsideIn/TypeSchema.agda | liamoc/outside-in | 2 | 10361 | <gh_stars>1-10
open import OutsideIn.Prelude
open import OutsideIn.X
module OutsideIn.TypeSchema(x : X) where
open X(x)
open import Data.Vec hiding (_>>=_)
data NameType : Set where
Regular : NameType
Datacon : ℕ → NameType
data TypeSchema ( n : Set) : NameType → Set where
∀′_·_⇒_ : (v : ℕ) → QCo... |
source/amf/uml/amf-visitors-generic_uml_containment.ads | svn2github/matreshka | 24 | 15618 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
libsrc/_DEVELOPMENT/input/zx/c/sdcc_iy/in_mouse_amx_setpos.asm | meesokim/z88dk | 0 | 93240 | <gh_stars>0
; void in_mouse_amx_setpos(uint16_t x, uint16_t y)
SECTION code_input
PUBLIC _in_mouse_amx_setpos
EXTERN asm_in_mouse_amx_setpos
_in_mouse_amx_setpos:
pop af
pop de
pop bc
push bc
push de
push af
jp asm_in_mouse_amx_setpos
|
oeis/010/A010990.asm | neoneye/loda-programs | 11 | 7222 | <reponame>neoneye/loda-programs
; A010990: Binomial coefficient C(n,37).
; 1,38,741,9880,101270,850668,6096454,38320568,215553195,1101716330,5178066751,22595200368,92263734836,354860518600,1292706174900,4481381406320,14844575908435,47153358767970,144079707346575,424655979547800,1210269541711230,3342649210440540,8964377... |
libsrc/_DEVELOPMENT/input/sms/c/sdcc/in_stick_2.asm | jpoikela/z88dk | 640 | 245491 |
; uint16_t in_stick_2(void)
SECTION code_clib
SECTION code_input
PUBLIC _in_stick_2
EXTERN asm_in_stick_2
defc _in_stick_2 = asm_in_stick_2
|
UnitTestProject1/ANTLRv2.g4 | studentmain/AntlrVSIX | 67 | 6147 |
/* ANTLR Translator Generator
* Project led by <NAME> at http://www.cs.usfca.edu
* Software rights: http://www.antlr.org/license.html
*
* $Id: //depot/code/org.antlr/release/antlr-2.7.7/antlr/antlr.g#2 $
*/
grammar ANTLRParser;
options {
defaultErrorHandler=false;
}
tokens {
"tokens";
}
{
private static fi... |
os/keyboard.asm | Sebazzz/sdos | 1 | 17360 | ; keyboard.asm
; Keyboard control routines
[bits 32]
%include "../hwport.incl.asm"
section .text
; get_scancode
; Get a single scan code from the keyboard
;
; Input: nothing
; Output: char
global get_scancode
get_scancode:
.loop:
in al, KDB_PS2_ADDR ; store key code in eax
cmp al, 0xFE
jz .loop ; Essential... |
oeis/060/A060735.asm | neoneye/loda-programs | 11 | 14055 | ; A060735: Numbers k at which k / (phi(k) + 1) increases.
; Submitted by <NAME>
; 1,2,4,6,12,18,24,30,60,90,120,150,180,210,420,630,840,1050,1260,1470,1680,1890,2100,2310,4620,6930,9240,11550,13860,16170,18480,20790,23100,25410,27720,30030,60060,90090,120120,150150,180180,210210,240240,270270,300300,330330,360360,39039... |
QueryParser/src/main/antlr/QueryLexer.g4 | samuylov/CodeSamples | 0 | 5926 | <filename>QueryParser/src/main/antlr/QueryLexer.g4
lexer grammar QueryLexer;
/////////////////////////////////////////////////// LEXER //////////////////////////////////////////////////////////////
Identifier
: ESCAPED_WITH_OPERATOR? (Digit | Letter | SPECIAL_CHAR | ESCAPED_CHAR)+
(MINUS | PLUS | Digit | Letter ... |
Definition/LogicalRelation/Substitution/Introductions/Fst.agda | Vtec234/logrel-mltt | 0 | 8660 | {-# OPTIONS --without-K --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Substitution.Introductions.Fst {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped as U hiding (wk)
open import Definition.Untyped.Properties
open import Definition.Typed
ope... |
test/Fail/Sections-4.agda | cruhland/agda | 1,989 | 8389 | postulate
F : Set → Set → Set
syntax F X Y = X ! Y
test : Set → Set → Set
test X = _! X
|
LiftGet.agda | jvoigtlaender/bidiragda | 0 | 14671 | module LiftGet where
open import Data.Unit using (⊤ ; tt)
open import Data.Nat using (ℕ ; suc)
open import Data.Vec using (Vec ; toList ; fromList) renaming ([] to []V ; _∷_ to _∷V_ ; map to mapV)
open import Data.List using (List ; [] ; _∷_ ; length ; replicate ; map)
open import Data.List.Properties using (length-ma... |
07/StackArithmetic/SimpleAdd/SimpleAdd/SimpleAdd.asm | benkoo/nand2tetris | 0 | 100545 | (_1)
@_1
0;JMP
|
Assembly/8086/stack.asm | silence0201/iOS-Reverse | 15 | 161940 | <reponame>silence0201/iOS-Reverse<filename>Assembly/8086/stack.asm
assume cs:code, ds:data, ss:stack
; 栈段
stack segment
db 10 dup(8)
stack ends
; 数据段
data segment
db 20 dup(9)
data ends
; 代码段
code segment
start:
; 手动设置栈段和数据段
mov ax, stack
mov ss, ax
mov ax, data
mov ds, ax
... |
programs/oeis/004/A004639.asm | neoneye/loda | 22 | 87165 | ; A004639: Cubes written in base 9.
; 1,8,30,71,148,260,421,628,1000,1331,1738,2330,3011,3678,4560,5551,6658,8000,10361,11868,13630,15541,17618,20860,23381,26088,30000,33101,36408,41030,44771,48848,54260,58821,64728,71000,76431,83238,100330,106711,114478,122560,131051,138758,148000,157461,167368,177630,188341,210418,22... |
preface.adb | ddugovic/words | 4 | 18215 | with CONFIG;
package body PREFACE is
procedure PUT(S : STRING) is
begin
if not CONFIG.SUPPRESS_PREFACE then
TEXT_IO.PUT(TEXT_IO.CURRENT_OUTPUT, S);
end if;
end PUT;
procedure SET_COL(PC : TEXT_IO.POSITIVE_COUNT) is
begin
if not CONFIG.SUPPRESS_PREFACE then
TEXT_IO.SET_... |
other.7z/SFC.7z/SFC/ソースデータ/MarioKart/Pole-j.asm | prismotizm/gigaleak | 0 | 246164 | <gh_stars>0
Name: Pole-j.asm
Type: file
Size: 33723
Last-Modified: '1992-07-14T15:00:00Z'
SHA-1: F0FF4BC701ECD5D7A232591817745F66121D4E59
Description: null
|
src/zmq_constants.ads | sonneveld/adazmq | 0 | 16903 | <filename>src/zmq_constants.ads<gh_stars>0
with Interfaces.C;
package ZMQ_Constants is
-- Errors
ENOTSUP : constant Interfaces.C.int := 45;
EPROTONOSUPPORT : constant Interfaces.C.int := 43;
ENOBUFS : constant Interfaces.C.int := 55;
ENETDOWN : constant Interfaces.C.int := 50;
EADDRINUSE : constant... |
src/LightCommandLanguage/LightCommand.g4 | tillig/PiLights | 1 | 1273 | // https://github.com/tom-2015/rpi-ws2812-server
grammar LightCommand;
script : setup init instructions? EOF ;
setup : WS* 'setup' WS+ DIGIT ',' DIGIT+ (',' DIGIT (',' DIGIT (',' DIGIT+ (',' DIGIT+)?)?)?)? SEMI;
init : WS* 'init' SEMI ;
instructions : threaded | body ;
threaded : WS* 'thread_start' SEMI body WS* '... |
examples/tms.asm | jblang/TMS9918A | 86 | 160572 | ; TMS9918A graphics subroutines
; Copyright 2018-2020 <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 limitation
; the rights to use, ... |
software/lib/ulog/test/hil.ads | TUM-EI-RCS/StratoX | 12 | 70 | <reponame>TUM-EI-RCS/StratoX<gh_stars>10-100
with Interfaces; use Interfaces;
-- @summary
-- dummy file replacing hil.ads (because we don't want
-- its additional dependencies here)
package HIL with
SPARK_Mode
is
pragma Preelaborate;
-- procedure configure_Hardware;
type Byte is mod 2**8 with Size => ... |
programs/oeis/099/A099561.asm | neoneye/loda | 22 | 13456 | <reponame>neoneye/loda
; A099561: Sum C(n-3k,k-1), k=0..floor(n/4).
; 0,0,0,0,1,1,1,1,3,4,5,6,10,14,19,25,36,50,69,94,131,181,250,344,476,657,907,1251,1728,2385,3292,4543,6272,8657,11949,16492,22765,31422,43371,59863,82629,114051,157422,217285,299915,413966,571388,788673
lpb $0
mov $2,$0
sub $0,4
seq $2,17898 ; ... |
boards/stm32f051x8/stm32gd-board.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 30629 | with STM32GD.Startup;
package body STM32GD.Board is
procedure Init is
begin
null;
end Init;
end STM32GD.Board;
|
asm/patches/reveal_sea_chart.asm | Crain-32/wwrando | 284 | 87897 | <filename>asm/patches/reveal_sea_chart.asm
; Changes the function that initializes the sea chart when starting a new game so that the whole chart has been drawn out.
.open "sys/main.dol"
.org 0x8005B2CC
li r4, 1
.close
|
tools-src/gnu/gcc/gcc/ada/sem_ch4.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 14432 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
data/pokemon/base_stats/cheep.asm | TastySnax12/pokecrystal16-493-plus | 2 | 24517 | <gh_stars>1-10
db 0 ; species ID placeholder
db 50, 55, 35, 75, 75, 60
; hp atk def spd sat sdf
db WATER, FLYING ; type
db 180 ; catch rate
db 88 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/po... |
Glaux.asm | hexagonix/Fontes | 0 | 11359 | ;; Fonte derivada do projeto GlauxOS (projeto descontinuado)
assinatura: db "HFNT"
unicode_0000:
times 16 db 0
unicode_0033:
db 00000000b
db 00001000b
db 00001000b
db 00001000b
db 00001000b
db 00001000b
db 00001000b
db 00000000b
db 00000000b
db 00001000b
db 000010... |
common/stm32gd-startup.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 28846 | <reponame>ekoeppen/STM32_Generic_Ada_Drivers<filename>common/stm32gd-startup.ads
package STM32GD.Startup is
pragma Preelaborate;
procedure Reset_Handler with Export => True, External_Name => "_start_rom";
pragma Machine_Attribute (Reset_Handler, "naked");
pragma Weak_External (Reset_Handler);
end S... |
programs/oeis/277/A277108.asm | karttu/loda | 1 | 3112 | ; A277108: a(n) = 4n*(n+5).
; 24,56,96,144,200,264,336,416,504,600,704,816,936,1064,1200,1344,1496,1656,1824,2000,2184,2376,2576,2784,3000,3224,3456,3696,3944,4200,4464,4736,5016,5304,5600,5904,6216,6536,6864,7200,7544,7896,8256,8624,9000,9384,9776,10176,10584,11000,11424,11856,12296,12744,13200,13664,14136,14616,15104... |
memsim-master/src/test-dram.ads | strenkml/EE368 | 0 | 434 | <reponame>strenkml/EE368
package Test.DRAM is
procedure Run_Tests;
end Test.DRAM;
|
components/eth/stm32-eth.adb | morbos/Ada_Drivers_Library | 2 | 5309 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.