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 |
|---|---|---|---|---|
software/driver/ublox8-protocol.ads | TUM-EI-RCS/StratoX | 12 | 21414 | -- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME> (<EMAIL>)
--
-- Description: U-Blox protocol definition. Following u-blox 6/7/8 Receiver Description
-- @author <NAME> <<EMAIL>>
-- @author <NAME> <<EMAIL>>
-- @author <NAME> <<EMAIL... |
prototype/command-response/Sodium.agda | stevana/haarss | 1 | 721 | module Sodium where
open import Category.Functor
open import Category.Applicative
open import Category.Monad
open import Data.Unit
open import Data.Bool
open import Data.Maybe
open import Data.Product
open import IO.Primitive
postulate
-- Core.
Reactive : Set → Set
sync : ∀ {A} → Reactive A → IO A
Even... |
src/btt_channel_four.asm | Gegel85/BTTGB | 1 | 95033 | <filename>src/btt_channel_four.asm
;channel 4
bttIntroFour::
db $00, $00, $00, $C0, QUAVER * 2 ; NO SOUND
db $00, $00, $00, $C0, $FF ; NO SOUND
bttChannelFour::
;mesure 1
db $00, $00, $00, $C0, QUAVER ; NO SOUND
db $00, $64, $02, $C0, QUAVER ; HiHat
db $00, $00, $00, $C0, QUAVER ; NO SOUND
db $... |
source/nodes/program-nodes-discrete_simple_expression_ranges.ads | optikos/oasis | 0 | 21264 | <gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Expressions;
with Program.Lexical_Elements;
with Program.Elements.Discrete_Simple_Expression_Ranges;
with Program.Ele... |
maybe-thms.agda | rfindler/ial | 29 | 4367 | <reponame>rfindler/ial
module maybe-thms where
open import eq
open import level
open import maybe
open import product
open import sum
maybe-dec : ∀ {ℓ}{A : Set ℓ}(x : maybe A) → x ≡ nothing ∨ Σ A (λ a → x ≡ just a)
maybe-dec nothing = inj₁ refl
maybe-dec (just a) = inj₂ (a , refl) |
mkbiosimg/bootsecs/boot32.asm | zylon-internet/BooterMicro | 18 | 95900 | <reponame>zylon-internet/BooterMicro
; +--------+
; | |
; | |
; |--------| 4000:0000
; | |
; | FAT |
; | |
; |--------| 2000:0000
; |BOOT SEC|
; |RELOCATE|
; |--------| 1FE0:0000
; | |
; | |
; | |
; | |
; |--------|
; |BOOT SEC|
; |ORIGIN | 07... |
programs/oeis/095/A095815.asm | karttu/loda | 0 | 96771 | <gh_stars>0
; A095815: n + largest digit of n.
; 2,4,6,8,10,12,14,16,18,11,12,14,16,18,20,22,24,26,28,22,23,24,26,28,30,32,34,36,38,33,34,35,36,38,40,42,44,46,48,44,45,46,47,48,50,52,54,56,58,55,56,57,58,59,60,62,64,66,68,66,67,68,69,70,71,72,74,76,78,77,78,79,80,81,82,83,84,86,88,88,89,90,91,92,93,94,95,96,98,99,100,1... |
libsrc/_DEVELOPMENT/target/rc2014/driver/ram/c/sdcc/shadow_relocate_fastcall.asm | ahjelm/z88dk | 4 | 12777 | <filename>libsrc/_DEVELOPMENT/target/rc2014/driver/ram/c/sdcc/shadow_relocate_fastcall.asm<gh_stars>1-10
; void shadow_relocate(void * address) __z88dk_fastcall
SECTION smc_lib
PUBLIC _shadow_relocate_fastcall
EXTERN asm_push_di
EXTERN asm_pop_ei_jp
EXTERN asm_shadow_relocate
._shadow_relocate_fastcall
call as... |
oeis/040/A040955.asm | neoneye/loda-programs | 11 | 244148 | ; A040955: Continued fraction for sqrt(987).
; Submitted by <NAME>
; 31,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2,62,2,2,2
gcd $0,262156
mul $0,42
mod $0,13
mov $1,$0
sub $1,2
div $1,5... |
PIM/TD1_Algorithmique/pour_tantque.adb | Hathoute/ENSEEIHT | 1 | 8163 | <reponame>Hathoute/ENSEEIHT<gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure Pour_TantQue is
Debut: Integer;
Fin: Integer;
begin
-- Demander les valeurs de Debut et Fin
Get (Debut);
Get (Fin);
-- Afficher les entiers de Début à Fin
... |
scripts/SMS/models_20210203/sat_34_20_6_3_3_2.als | eskang/alloy-maxsat-benchmark | 0 | 1448 |
abstract sig Task {
frags: set Frag,
r: Int,
d: Int,
first: Frag,
final: Frag,
deps: set Task
}
sig Completed in Task {}
one sig T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33 extends Task {}
fact {
frags =
T0 -> T0_0 + T... |
third_party/antlr_grammars_v4/databank/databank.g4 | mikhan808/rsyntaxtextarea-antlr4-extension | 127 | 542 | /*
BSD License
Copyright (c) 2018, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the fo... |
programs/oeis/037/A037236.asm | neoneye/loda | 22 | 179543 | ; A037236: Expansion of (3+2*x^2)/(1-x)^4.
; 3,12,32,68,125,208,322,472,663,900,1188,1532,1937,2408,2950,3568,4267,5052,5928,6900,7973,9152,10442,11848,13375,15028,16812,18732,20793,23000,25358,27872,30547,33388
mov $4,$0
add $0,1
mov $1,$0
mul $0,2
add $4,1
mov $3,$4
lpb $1
sub $1,1
add $2,$3
add $0,$2
add $3... |
4 - array indexado (com tipagem opcional)/TParser.g4 | melchisedech333/antlr4-experiments | 1 | 2539 | <reponame>melchisedech333/antlr4-experiments<filename>4 - array indexado (com tipagem opcional)/TParser.g4<gh_stars>1-10
parser grammar TParser;
options {
tokenVocab = TLexer;
}
@parser::postinclude {
#ifndef _WIN32
#pragma GCC diagnostic ignored "-Wunused-parameter"
#endif
}
// Gramática.
main
: sentence ... |
oeis/040/A040700.asm | neoneye/loda-programs | 11 | 171058 | <gh_stars>10-100
; A040700: Continued fraction for sqrt(727).
; Submitted by <NAME>(s1)
; 26,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25,1,52,1,25
gcd $0,262156
mul $0,42
mod $0,13
mov $1,... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/valid1.adb | best08618/asylo | 7 | 26983 | <reponame>best08618/asylo
-- { dg-do run }
-- { dg-options "-gnatVi" }
procedure valid1 is
type m is range 0 .. 10;
for m'size use 8;
type r is record
a, b : m;
c, d, e, f : boolean;
end record;
pragma Pack (r);
for R'size use 20;
type G is array (1 .. 3, 1 .. 3) of R;
pra... |
stdlib-exts/Data/String/Instance.agda | WhatisRT/meta-cedille | 35 | 9555 | module Data.String.Instance where
open import Agda.Builtin.String
open import Class.Equality
open import Class.Monoid
open import Class.Show
open import Data.String renaming (_≟_ to _≟S_)
instance
String-Eq : Eq String
String-Eq = record { _≟_ = _≟S_ }
String-EqB : EqB String
String-EqB = record { _≣_ = prim... |
externals/mpir-3.0.0/mpn/x86_64w/mulmid_basecase.asm | JaminChan/eos_win | 12 | 240077 | ; PROLOGUE(mpn_mulmid_basecase)
;
; AMD64 mpn_mulmid_basecase
;
; Based on mul_basecase.asm from GMP 4.3.1, modifications are copyright
; (C) 2009, <NAME>. The original mul_basecase.asm was released under
; LGPLv3+, license terms reproduced below. These modifications are hereby
; released under the same terms.
;
;... |
ASM/src/mask_deequip.asm | kr3z/OoT-Randomizer | 0 | 170378 | <filename>ASM/src/mask_deequip.asm
; Check if equipped mask = item in child trade slot before de-equipping mask.
mask_check_trade_slot:
lui v1, 0x8012 ; Save Context pt. 1
lbu t7, 0x014F(t0) ; Equipped Mask Param
addiu v1, v1, 0xA5D0 ; Save Context pt. 2
addiu t7, t7, 0x23... |
oeis/163/A163605.asm | neoneye/loda-programs | 11 | 24986 | <reponame>neoneye/loda-programs
; A163605: a(n) = ((3+2*sqrt(2))*(5+sqrt(2))^n + (3-2*sqrt(2))*(5-sqrt(2))^n)/2.
; Submitted by <NAME>
; 3,19,121,773,4947,31691,203129,1302397,8352003,53564899,343552921,2203536533,14133648147,90655141211,581477504729,3729706799437,23923085385603,153447597468979,984245010820921,63131553... |
ScrollModus/_code/GlobalCode/enemyLogikLevelGlobal.asm | kosmonautdnb/TheLandsOfZador | 0 | 14054 | COLLECTABLE_DISAPPEAR_VELOCITY = $24
COLLECTABLE_TYPE_HEART = $00
COLLECTABLE_TYPE_DIAMOND = $01
COLLECTABLE_TYPE_STONE = $02
COLLECTABLE_TYPE_ITEM = $03
spritePointersForCollectables
dc.b SPRITEFRAMES_HEART
dc.b SPRITEFRAMES_DIAMOND
dc.b SPRITEFRAMES_SPARKLES
dc.b SPRITEFRAMES_ITEM
PLAYERSHOOT1_JU... |
programs/oeis/056/A056864.asm | neoneye/loda | 22 | 105468 | <gh_stars>10-100
; A056864: Nearest integer to n^2/10.
; 0,0,0,1,2,3,4,5,6,8,10,12,14,17,20,23,26,29,32,36,40,44,48,53,58,63,68,73,78,84,90,96,102,109,116,123,130,137,144,152,160,168,176,185,194,203,212,221,230,240,250,260,270,281,292,303,314,325
pow $0,2
add $0,5
div $0,10
|
oeis/109/A109630.asm | neoneye/loda-programs | 11 | 98254 | ; A109630: The winning position when playing the "eeny meeny miny moe" game with n players and eliminating every 8th player.
; 1,1,3,3,1,3,4,4,3,1,9,5,13,7,15,7,15,5,13,1,9,17,2,10,18,26,7,15,23,1,9,17,25,33,6,14,22,30,38,6,14,22,30,38,1,9,17,25,33,41,49,5,13,21,29,37,45,53,2,10,18,26,34,42,50,58,66,6,14,22,30,38,46,54... |
samples/prime.asm | SohamMalakar/Intel-8085 | 0 | 178040 | <reponame>SohamMalakar/Intel-8085
MVI A, 00
STA f200
LDA f100 // input
MOV L, A
RRC
ANI 7f
MOV D, A
MVI E, 00 // flag
MVI B, 01 // iterator
MVI C, 00 // counter
LOOP:
CMP B
JC OUT // if A < B, jump out
MOV A, L
CALL REM
MOV A, D
INR B
JMP LOOP
OUT: MOV A, C
CPI 01
JNZ NOT
INR E
MOV A, ... |
day22/day22.adb | thorstel/Advent-of-Code-2018 | 2 | 14009 | <gh_stars>1-10
with Ada.Assertions; use Ada.Assertions;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Containers.Synchronized_Queue_Interfaces;
with Ada.Containers.Unbounded_Priority_Queues;
procedure Day22 is
Max_Dim : constant Natural := 800;
Grid : array
(Natural range 0 .. Max_Dim, Natural range 0 ..... |
oldstuff/tigcc/PolySnd/sources/statique/_Ptridle_voice1.asm | bcherry/bcherry | 3 | 16876 | <reponame>bcherry/bcherry<filename>oldstuff/tigcc/PolySnd/sources/statique/_Ptridle_voice1.asm
section ".data"
xdef pSnd_Ptridle_voice1
pSnd_Ptridle_voice1:
move.l a0,d0
tst.l d0
beq.s return_ptr_voice1
move.l d0,ptridle_voice1
bsr pSnd_SkipData_voice1
suba.l a0,a0
rts
return_ptr_voice1:
move.l ptridle_vo... |
programs/oeis/209/A209116.asm | jmorken/loda | 1 | 29599 | <reponame>jmorken/loda<gh_stars>1-10
; A209116: Number of 4-bead necklaces labeled with numbers -n..n not allowing reversal, with sum zero and avoiding the patterns z z+1 z+2 and z z-1 z-2.
; 5,22,55,120,221,362,559,816,1137,1538,2023,2596,3273,4058,4955,5980,7137,8430,9875,11476,13237,15174,17291,19592,22093,24798,277... |
code/5-S-6.asm | gdzhang2012/Assembly-Language-by-Wangshuang | 0 | 4899 | assume cs:code
code segment
mov ax,0ffffh
mov ds,ax
mov bx,0
mov dx,0
mov cx,12
s: mov al,[bx]
mov ah,0
add dx,ax
inc bx
loop s
mov ax,4c00h
int 21h
code ends
end
|
Student/examples/Correct/Subprograms/Hanoi.asm | SoftMoore/CPRL-Kt | 6 | 162659 | PROGRAM 4
BR L5
L0:
PROC 0
LDLADDR -10
LOADW
LDCINT 0
CMP
BLE L3
LDLADDR -10
LOADW
LDCINT 1
SUB
LDLADDR -6
LOAD2B
LDLADDR -2
LOAD2B
LDLADDR -4
LOAD2B
CALL L0
LDCSTR "Move a disk from "
PUTSTR
LDLADDR -6
LOAD2B
PUTCH
LDCSTR " to "
PUTSTR
LD... |
Lambda/Closure/Functional.agda | nad/codata | 1 | 12313 | ------------------------------------------------------------------------
-- Functional semantics for an untyped λ-calculus with constants
------------------------------------------------------------------------
module Lambda.Closure.Functional where
open import Category.Monad
open import Category.Monad.Partiality as ... |
alloy4fun_models/trashltl/models/17/436HghZxBWMFo2ERm.als | Kaixi26/org.alloytools.alloy | 0 | 3013 | open main
pred id436HghZxBWMFo2ERm_prop18 {
all p: Protected | always p not in Protected implies p in Trash
}
pred __repair { id436HghZxBWMFo2ERm_prop18 }
check __repair { id436HghZxBWMFo2ERm_prop18 <=> prop18o } |
Cubical/ZCohomology/Groups/Connected.agda | thomas-lamiaux/cubical | 1 | 16337 | {-# OPTIONS --safe #-}
module Cubical.ZCohomology.Groups.Connected where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.GroupoidLaws
open import Cubical.Foundations.HLevels
open import Cubical.Data.Nat
open impo... |
oeis/018/A018749.asm | neoneye/loda-programs | 11 | 90303 | ; A018749: Divisors of 968.
; Submitted by <NAME>
; 1,2,4,8,11,22,44,88,121,242,484,968
mov $1,1
lpb $0
sub $0,4
mul $1,11
lpe
lpb $0
sub $0,1
mul $1,2
lpe
mov $0,$1
|
oeis/028/A028057.asm | neoneye/loda-programs | 11 | 244016 | <reponame>neoneye/loda-programs
; A028057: Expansion of 1/((1-3x)(1-5x)(1-6x)(1-11x)).
; Submitted by <NAME>
; 1,25,408,5558,68999,813603,9315286,104854096,1168677477,12952000061,143075613044,1577575222314,17376397872835,191281848531799,2104964417048082,23159869359140612,254790508985373473,2802889182202991217,308329520... |
programs/oeis/024/A024142.asm | neoneye/loda | 22 | 4070 | <filename>programs/oeis/024/A024142.asm<gh_stars>10-100
; A024142: 12^n-n^2.
; 1,11,140,1719,20720,248807,2985948,35831759,429981632,5159780271,61917364124,743008370567,8916100448112,106993205378903,1283918464548668,15407021574586143,184884258895036160,2218611106740436703,26623333280885243580,319479999370622926487,3833... |
lab3/checkCondizioni.asm | samdsk/lab_arch2 | 0 | 81731 | <gh_stars>0
.data
msg_in: .asciiz "Inserisci un numero: "
msg_err: .asciiz "Errore"
.text
.globl main
main:
#A
la $a0 msg_in
li $v0 4
syscall
li $v0 5
syscall
add $s0 $zero $v0
#B
la $a0 msg_in
li $v0 4
syscall
li $v0 5
syscall
add $s1 $zero $v0
#C
la $a0 msg_in
li $v0 4
syscall
li $v0 ... |
programs/oeis/281/A281814.asm | jmorken/loda | 1 | 162551 | <filename>programs/oeis/281/A281814.asm
; A281814: Expansion of f(x, x^8) in powers of x where f(, ) is Ramanujan's general theta function.
; 1,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_324_1316.asm | ljhsiun2/medusa | 9 | 241928 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r14
push %r9
push %rax
push %rbx
push %rdx
// Store
lea addresses_A+0x1cb69, %rax
nop
nop
nop
and %r11, %r11
mov $0x5152535455565758, %r9
movq %r9, (%rax)
nop
sub $52975, %rdx
// Faulty Load
lea addres... |
STLC/Operational.agda | TypesLogicsCats/STLC | 1 | 13652 | <reponame>TypesLogicsCats/STLC<gh_stars>1-10
{-# OPTIONS --safe --sized-types #-}
module STLC.Operational where
open import STLC.Operational.Base
|
tier-1/xcb/applet/demo/simple/simple.adb | charlie5/cBound | 2 | 11766 | <gh_stars>1-10
with xcb.Binding; use xcb.Binding;
with xcb.Pointers; use xcb.Pointers;
with xcb.xcb_Screen_t;
with xcb.xcb_screen_Iterator_t;
with xcb.xcb_void_cookie_t;
with xcb.xcb_generic_event_t;
with Swig; use Swig;
with Swig.Pointers;
with interfaces.C.String... |
source/web-html.adb | ytomino/web-ada | 2 | 27578 | <gh_stars>1-10
with System;
package body Web.HTML is
use type String_Maps.Cursor;
procedure By_Stream (Item : in String; Params : in System.Address) is
function To_Pointer (Value : System.Address)
return access Ada.Streams.Root_Stream_Type'Class
with Import, Convention => Intrinsic;
begin
String'Write (T... |
oeis/104/A104643.asm | neoneye/loda-programs | 11 | 101615 | ; A104643: Number of arrangements that can be formed by taking n distinct things out of 25.
; 1,25,600,13800,303600,6375600,127512000,2422728000,43609104000,741354768000,11861676288000,177925144320000,2490952020480000,32382376266240000,388588515194880000,4274473667143680000,42744736671436800000,384702630042931200000,30... |
oeis/121/A121627.asm | neoneye/loda-programs | 11 | 178046 | <filename>oeis/121/A121627.asm
; A121627: Real part of a complex operation analogous to the factorials.
; Submitted by <NAME>
; 1,0,-12,-96,-480,0,40320,645120,5806080,0,-1277337600,-30656102400,-398529331200,0,167382319104000,5356234211328000,91055981592576000,0,-62282291409321984000,-2491291656372879360000,-523171247... |
minibrainfuck.asm | DevAlone/BrainfuckMBR | 1 | 177588 | org 0x7C00; смещение, по которому будет лежать программа в оперативной памяти
; константы, описывающее место в памяти, куда пихаем данные для интерпретатора
bf_mem_seg equ 0x100
bf_mem_offset equ 0x0
bf_code_pos equ 0
bf_code_size equ 10000
bf_data_pos equ bf_code_size
bf_data_size equ 10000
VIDEO_PAGE equ 0
sectio... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-tasren.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 25543 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
third-party/gmp/gmp-src/mpn/arm64/bdiv_dbm1c.asm | jhh67/chapel | 1,602 | 492 | dnl ARM64 mpn_bdiv_dbm1c.
dnl Copyright 2008, 2011, 2012, 2014 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License as pub... |
libsrc/_DEVELOPMENT/stdio/c/sccz80/vsnprintf_callee.asm | meesokim/z88dk | 0 | 95795 | <filename>libsrc/_DEVELOPMENT/stdio/c/sccz80/vsnprintf_callee.asm
; int vsnprintf(char *s, size_t n, const char *format, void *arg)
SECTION code_stdio
PUBLIC vsnprintf_callee
EXTERN asm_vsnprintf
vsnprintf_callee:
pop af
pop bc
pop de
exx
pop bc
pop de
exx
push af
jp asm_vsnprintf
|
libsrc/_DEVELOPMENT/adt/b_vector/c/sccz80/b_vector_capacity.asm | teknoplop/z88dk | 8 | 25490 | <gh_stars>1-10
; size_t b_vector_capacity(b_vector_t *v)
SECTION code_clib
SECTION code_adt_b_vector
PUBLIC b_vector_capacity
EXTERN asm_b_vector_capacity
defc b_vector_capacity = asm_b_vector_capacity
|
data/baseStats/venomoth.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 177673 | db VENOMOTH ; pokedex id
db 70 ; base hp
db 65 ; base attack
db 60 ; base defense
db 90 ; base speed
db 90 ; base special
db BUG ; species type 1
db POISON ; species type 2
db 75 ; catch rate
db 138 ; base exp yield
INCBIN "pic/gsmon/venomoth.pic",0,1 ; 77, sprite dimensions
dw VenomothPicFront
dw VenomothPicBack
; att... |
source/amf/mof/cmof/amf-internals-cmof_packages.ads | svn2github/matreshka | 24 | 1145 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
source/tasking/required/s-parame.ads | ytomino/drake | 33 | 24807 | pragma License (Unrestricted);
-- implementation unit required by compiler
package System.Parameters is
pragma Pure;
-- required for task by compiler (s-parame.ads)
type Size_Type is new Integer;
Unspecified_Size : constant := Size_Type'First;
-- required for 'Storage_Size by compiler (s-parame.ads)... |
libsrc/_DEVELOPMENT/font/fzx/fonts/dkud1/Edice13/_ff_dkud1_Edice13.asm | jpoikela/z88dk | 640 | 101633 |
SECTION rodata_font
SECTION rodata_font_fzx
PUBLIC _ff_dkud1_Edice13
_ff_dkud1_Edice13:
BINARY "font/fzx/fonts/dkud1/Edice13/edice13.fzx"
|
samples/beans/countries.adb | jquorning/ada-asf | 12 | 2589 | -----------------------------------------------------------------------
-- countries - A simple bean example
-- 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.
-- You ... |
Transynther/x86/_processed/NC/_ht_/i7-8650U_0xd2.log_254_816.asm | ljhsiun2/medusa | 9 | 171759 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xc381, %rsi
nop
xor $43178, %r13
movw $0x6162, (%rsi)
nop
nop
nop
nop
nop
and %r15, %r15
lea addresses_D_ht+0x58f1, %rsi
lea addresses_WC_ht+0x109, %rdi
c... |
programs/oeis/021/A021841.asm | neoneye/loda | 22 | 23138 | ; A021841: Decimal expansion of 1/837.
; 0,0,1,1,9,4,7,4,3,1,3,0,2,2,7,0,0,1,1,9,4,7,4,3,1,3,0,2,2,7,0,0,1,1,9,4,7,4,3,1,3,0,2,2,7,0,0,1,1,9,4,7,4,3,1,3,0,2,2,7,0,0,1,1,9,4,7,4,3,1,3,0,2,2,7,0,0,1,1,9,4,7,4,3,1,3,0,2,2,7,0,0,1,1,9,4,7,4,3
add $0,1
mov $1,10
pow $1,$0
mul $1,4
div $1,3348
mod $1,10
mov $0,$1
|
Task/Pangram-checker/AppleScript/pangram-checker-2.applescript | LaudateCorpus1/RosettaCodeData | 1 | 217 | {false, true}
|
oeis/110/A110517.asm | neoneye/loda-programs | 11 | 98610 | <filename>oeis/110/A110517.asm
; A110517: Riordan array (1,x(1-3x)).
; Submitted by <NAME>
; 1,0,1,0,-3,1,0,0,-6,1,0,0,9,-9,1,0,0,0,27,-12,1,0,0,0,-27,54,-15,1,0,0,0,0,-108,90,-18,1,0,0,0,0,81,-270,135,-21,1,0,0,0,0,0,405,-540,189,-24,1,0,0,0,0,0,-243,1215,-945,252,-27,1,0,0,0,0,0,0,-1458,2835,-1512,324,-30,1,0,0,0,0,0... |
programs/oeis/025/A025727.asm | neoneye/loda | 22 | 170031 | <reponame>neoneye/loda
; A025727: Index of 7^n within sequence of numbers of form 7^i*10^j.
; 1,2,4,7,11,16,22,28,35,43,52,62,73,84,96,109,123,138,154,171,188,206,225,245,266,288,310,333,357,382,408,435,463,491,520,550,581,613,646,679,713,748,784,821,859,898,937,977,1018,1060,1103,1147,1191,1236,1282,1329
lpb $0
mov... |
commands/apps/amphetamine/amphetamine-on.applescript | tanaynistala/script-commands | 5 | 1708 | <filename>commands/apps/amphetamine/amphetamine-on.applescript<gh_stars>1-10
#!/usr/bin/osascript
# @raycast.title Start Default Session
# @raycast.author <NAME>
# @raycast.authorURL https://github.com/jamesjlyons
# @raycast.description Start Default Amphetamine Session
# @raycast.icon images/amphetamine.png
# @rayca... |
regtests/util-streams-buffered-lzma-tests.adb | RREE/ada-util | 60 | 1406 | <filename>regtests/util-streams-buffered-lzma-tests.adb<gh_stars>10-100
-----------------------------------------------------------------------
-- util-streams-buffered-lzma-tests -- Unit tests for encoding buffered streams
-- Copyright (C) 2018, 2019, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_19218_1420.asm | ljhsiun2/medusa | 9 | 92449 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xde7, %rsi
lea addresses_WC_ht+0x12ae7, %rdi
nop
nop
nop
nop
nop
sub $8898, %r10
mov $48, %rcx
rep movsb
nop
nop
nop
nop
nop
add %r13, %r13
lea addresses_A_ht+... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_f_trunc.asm | Toysoft/z88dk | 0 | 246229 | ; unsigned char esx_f_trunc(unsigned char *filename,uint32_t size)
SECTION code_esxdos
PUBLIC esx_f_trunc
EXTERN asm_esx_f_trunc
esx_f_trunc:
pop af
pop de
pop bc
pop hl
push hl
push bc
push de
push af
jp asm_esx_f_trunc
|
src/day-4/adventofcode-day_4.adb | persan/advent-of-code-2020 | 0 | 24651 | pragma Ada_2012;
with Ada.Strings.Fixed;
with Adventofcode.File_Line_Readers;
with GNAT.String_Split;
package body Adventofcode.Day_4 is
use Ada.Strings.Fixed;
------------
-- Adjust --
------------
overriding procedure Adjust (P : in out Passport) is
begin
P.Hair_Color := (if P.Hair_Color /= n... |
F0xC_i8086/include/util/sleep.asm | Pusty/F0xC | 0 | 24716 | %ifndef SLEEP
%define SLEEP
sleep:; input si: delay in 1.024*ms
xor ax,ax ;clear eax for using it as nanosec storeage
mov ax,si
push cx
mov cl, 10
shl ax, cl
pop cx
;shl eax,10
;eax=2^10*si
mov dx,ax
;shr eax,16
push cx
mov cl, 16
shr ax, cl
pop cx
mov cx,ax
;dx,cx=eax
mov ah, 86h
int 15... |
coverage/IN_CTS/0490-COVERAGE-nir-split-vars-1199/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 0 | 82693 | ; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 112
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %93
OpExecutionMode %4 OriginU... |
programs/oeis/006/A006130.asm | karttu/loda | 0 | 6280 | ; A006130: a(n) = a(n-1) + 3*a(n-2) for n > 1, a(0) = a(1) = 1.
; 1,1,4,7,19,40,97,217,508,1159,2683,6160,14209,32689,75316,173383,399331,919480,2117473,4875913,11228332,25856071,59541067,137109280,315732481,727060321,1674257764,3855438727,8878212019,20444528200,47079164257,108412748857,249650241628,574888488199,132383... |
alloy4fun_models/trashltl/models/8/PgyjBLWpjQWYhHnzC.als | Kaixi26/org.alloytools.alloy | 0 | 1628 | open main
pred idPgyjBLWpjQWYhHnzC_prop9 {
always Protected not in Trash
}
pred __repair { idPgyjBLWpjQWYhHnzC_prop9 }
check __repair { idPgyjBLWpjQWYhHnzC_prop9 <=> prop9o } |
data/mapObjects/CopycatsHouse1F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 22200 | CopycatsHouse1F_Object:
db $a ; border block
db 3 ; warps
warp 2, 7, 0, -1
warp 3, 7, 0, -1
warp 7, 1, 0, COPYCATS_HOUSE_2F
db 0 ; signs
db 3 ; objects
object SPRITE_MOM_GEISHA, 2, 2, STAY, DOWN, 1 ; person
object SPRITE_FAT_BALD_GUY, 5, 4, STAY, LEFT, 2 ; person
object SPRITE_CLEFAIRY, 1, 4, WALK, 1, 3 ; ... |
src/ay3.asm | howprice/specnext-invaders | 17 | 90270 | ; http://www.cpcwiki.eu/index.php/Datasheet_AY-8913
; The AY-3-8912 Programmable Sound Generator was first featured in the 128K Spectrums.
; Unlike the Beeper, the AY-3 can continue to produce sound independently of the CPU.
; It has three channel output with 4-bit amplitude (16 levels of loudness)
; - 3 Tone Generator... |
oeis/348/A348044.asm | neoneye/loda-programs | 11 | 244442 | ; A348044: The nearest common ancestor of n and n^2 in the Doudna tree (A005940).
; Submitted by <NAME>
; 1,2,2,4,2,2,2,8,4,2,2,2,2,2,2,16,2,4,2,2,2,2,2,2,4,2,8,2,2,2,2,32,2,2,2,4,2,2,2,2,2,2,2,2,2,2,2,2,4,4,2,2,2,8,2,2,2,2,2,2,2,2,2,64,2,2,2,2,2,2,2,4,2,2,4,2,2,2,2,2,16,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,4,2,4
seq $0,71... |
dv3/dv3/sbloc.asm | olifink/smsqe | 0 | 160501 | <reponame>olifink/smsqe
; DV3 Locate Slave Block V3.00 1992 <NAME>
section dv3
xdef dv3_sbloc
include 'dev8_keys_sys'
include 'dev8_keys_err'
include 'dev8_dv3_keys'
include 'dev8_mac_assert'
;+++
; DV3 Locate slave block
;
; d0 r 0, positive (not found) or err.nc (awaiting read)
; d5 c p sector requ... |
src/minimap_crash.asm | mvdhout1992/ts-patches | 33 | 243000 | ; Minimap crash because of stale pointer
; For some yet unknown reason, infantry sometimes enters harvesters. When this
; happens, the infantry is removed from the map, unlinking itself from the
; radar. Before being destroyed, it might be added back again, but it's not
; removed when actually destroyed later on. This... |
simh_tapes.adb | SMerrony/dgemua | 2 | 147 | -- MIT License
-- Copyright (c) 2021 <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, copy, modify, merge, p... |
test/Fail/MatchingOnCoinductiveRecord.agda | alhassy/agda | 3 | 14257 | <reponame>alhassy/agda
{-# OPTIONS --copatterns #-}
-- 2013-05-30 Andreas, Oury's counterexample to subject reduction in Coq
-- 2014-11-04 Andreas: simplified (removed force)
module MatchingOnCoinductiveRecord where
open import Common.Equality
record U : Set where
coinductive
constructor inn
field
out : U... |
src/results/adabase-results-generic_converters.adb | jrmarino/AdaBase | 30 | 11763 | <filename>src/results/adabase-results-generic_converters.adb
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with Ada.Strings.Fixed;
with Ada.Strings.Wide_Fixed;
with Ada.Strings.Wide_Wide_Fixed;
with Ada.Characters.Conversions;
with Ada.Strings.UTF_Encoding.... |
src/natools-time_keys.adb | faelys/natools | 0 | 8391 | <filename>src/natools-time_keys.adb
------------------------------------------------------------------------------
-- Copyright (c) 2015, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute thi... |
software/hal/boards/common/tools/generic_types.adb | TUM-EI-RCS/StratoX | 12 | 19919 | <filename>software/hal/boards/common/tools/generic_types.adb
package body Generic_Types with SPARK_Mode is
------------------------
-- Saturated_Cast_Int
------------------------
function Saturated_Cast_Int (f : Float) return T is
ret : T;
ff : constant Float := Float'Floor (f);
begin
... |
programs/oeis/118/A118417.asm | neoneye/loda | 22 | 171886 | <reponame>neoneye/loda
; A118417: a(n) = (2*n + 1) * 2^(n + 1).
; 2,12,40,112,288,704,1664,3840,8704,19456,43008,94208,204800,442368,950272,2031616,4325376,9175040,19398656,40894464,85983232,180355072,377487360,788529152,1644167168,3422552064,7113539584,14763950080,30601641984,63350767616,130996502528,270582939648,5583... |
samples/sms/tilemap_render/multidir_scroll/data/sprite/image.asm | 0x8BitDev/MAPeD-SPReD | 23 | 82073 | ;#######################################################
;
; Generated by SPReD-SMS Copyright 2017-2020 0x8BitDev
;
;#######################################################
.define SPR_MODE_8X16 0
.define SPR_CHR_BPP 4
.define SPR_CHRS_OFFSET 0 ; first CHR index in a CHR bank
;chr0: .incbin "image_chr0.bin" ; ... |
extern/gnat_sdl/gnat_sdl/src/sdl_sdl_timer_h.ads | AdaCore/training_material | 15 | 13965 | <filename>extern/gnat_sdl/gnat_sdl/src/sdl_sdl_timer_h.ads
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with SDL_SDL_stdinc_h;
with System;
package SDL_SDL_timer_h is
SDL_TIMESLICE : constant := 10; -- ../include/SDL/SDL_timer.h:40
TIMER_RESOLUTION : constant := 10; -- ... |
Task/Generic-swap/Ada/generic-swap-1.ada | djgoku/RosettaCodeData | 0 | 18368 | generic
type Swap_Type is private; -- Generic parameter
procedure Generic_Swap(Left : in out Swap_Type; Right : in out Swap_Type);
procedure Generic_Swap(Left : in out Swap_Type; Right : in out Swap_Type) is
Temp : Swap_Type := Left;
begin
Left := Right;
Right := Temp;
end Generic_Swap;
|
base/mvdm/wow16/kernel31/lacheck.asm | npocmaka/Windows-Server-2003 | 17 | 165410 |
.xlist
include kernel.inc
include gpfix.inc
.list
externW pLocalHeap
DataBegin
externB kernel_flags
;externW MyCSDS
DataEnd
sBegin CODE
assumes CS,CODE
if KDEBUG
;-----------------------------------------------------------------------;
; CheckLocalHeap ;
; ;
; ;
... |
tests/beyond/DataByRecursion.agda | andrejtokarcik/agda-semantics | 3 | 1958 |
-- When defining types by recursion it is sometimes difficult to infer implicit
-- arguments. This module illustrates the problem and shows how to get around
-- it for the example of vectors of a given length.
module DataByRecursion where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
data Nil : Set where
... |
resources/lw-test.asm | GeorgeBernard/350assembler | 1 | 81669 | <reponame>GeorgeBernard/350assembler
# Set up while
addi $1 $0 0 # v_addr = 0;
addi $10 $0 5000 # limit = 5000;
addi $4 $0 44
lw $3 3($0) # addr_44 = vmem(3);
nop
nop
bne $3 $4 1 # if ($4 != $5) print to screen
jump end
while: nop
nop
lp $2 0($... |
src/asis/asis-ada_environments.adb | My-Colaborations/dynamo | 15 | 24315 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
MacPaint 1.3 Source/MyTools.asm | Computer-history-Museum/MacPaint | 2 | 82948 | <reponame>Computer-history-Museum/MacPaint
;MyTools.text, subset of ToolTraps.Text sufficient for MacPaint
;--------------------------------------------------------------------
;
; ToolTraps is the Pascal/QuickDraw-ToolBox trap interface.
; It defines all the names declared external in the interface
; code, and i... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/varsize3_pkg2.ads | best08618/asylo | 7 | 6748 | package Varsize3_Pkg2 is
function Last_Index return Positive;
end Varsize3_Pkg2;
|
programs/oeis/130/A130723.asm | neoneye/loda | 22 | 242665 | <filename>programs/oeis/130/A130723.asm
; A130723: Least common multiple of 3 and n^2+n+1.
; 3,3,21,39,21,93,129,57,219,273,111,399,471,183,633,723,273,921,1029,381,1263,1389,507,1659,1803,651,2109,2271,813,2613,2793,993,3171,3369,1191,3783,3999,1407,4449,4683,1641,5169,5421,1893,5943,6213,2163,6771,7059,2451,7653,7959... |
oeis/000/A000005.asm | neoneye/loda-programs | 11 | 6119 | <filename>oeis/000/A000005.asm
; A000005: d(n) (also called tau(n) or sigma_0(n)), the number of divisors of n.
; Submitted by <NAME>
; 1,2,2,3,2,4,2,4,3,4,2,6,2,4,4,5,2,6,2,6,4,4,2,8,3,4,4,6,2,8,2,6,4,4,4,9,2,4,4,8,2,8,2,6,6,4,2,10,3,6,4,6,2,8,4,8,4,4,2,12,2,4,6,7,4,8,2,6,4,8,2,12,2,4,6,6,4,8,2,10,5,4,2,12,4,4,4,8,2,1... |
programs/oeis/025/A025719.asm | karttu/loda | 1 | 84682 | <filename>programs/oeis/025/A025719.asm
; A025719: Index of 6^n within sequence of numbers of form 6^i*10^j.
; 1,2,4,7,11,15,20,26,33,41,49,58,68,79,90,102,115,129,144,159,175,192,210,228,247,267,288,310,332,355,379,404,429,455,482,510,539,568,598,629,661,693,726,760,795,831,867,904,942,981,1020,1060,1101,1143,1186,122... |
SimpleExpressionInterpreter/AntlrDefine/Expr.g4 | whoisfpc/SimpleExpressionInterpreter | 0 | 1269 | grammar Expr;
prog: expr EOF ;
expr:
ID LP exprList? RP # funcExpr
| expr (MUL | DIV) expr # binaryExpr
| expr (ADD | SUB) expr # binaryExpr
| term # termExpr
| LP expr RP #singleExpr
;
exprList: expr (COMMA expr)* ;
term:
NUM
| PREVAR
;
fragment DIGIT: [0-9] ... |
BasicIS4/Syntax/Translation.agda | mietek/hilbert-gentzen | 29 | 17257 | <filename>BasicIS4/Syntax/Translation.agda
-- Basic intuitionistic modal logic S4, without ∨, ⊥, or ◇.
-- Translation between different formalisations of syntax.
module BasicIS4.Syntax.Translation where
open import BasicIS4.Syntax.Common public
import BasicIS4.Syntax.ClosedHilbertSequential as CHS
import BasicIS4.Sy... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_710.asm | ljhsiun2/medusa | 9 | 89836 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_710.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x2218, %rbx
nop
nop
nop
nop
nop
add %r9, %r9
movups (%rbx), %xmm3
vpextrq $0, %xmm3, ... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/Pole-p.asm | prismotizm/gigaleak | 0 | 23377 | Name: Pole-p.asm
Type: file
Size: 33015
Last-Modified: '1992-07-30T05:00:33Z'
SHA-1: 28EF0BDB667690289B858E9BAFC8B572ED0426C7
Description: null
|
oeis/018/A018904.asm | neoneye/loda-programs | 11 | 3092 | <gh_stars>10-100
; A018904: Define the sequence S(a(0),a(1)) by a(n+2) is the least integer such that a(n+2)/a(n+1) > a(n+1)/a(n) for n >= 0. This is S(1,6).
; 1,6,37,229,1418,8781,54377,336734,2085253,12913101,79965442,495192589,3066520913,18989683446,117595179557,728217839669,4509548979898,27925753660941,172932530727... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_850.asm | ljhsiun2/medusa | 9 | 105503 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xdbc1, %rsi
lea addresses_normal_ht+0x5e49, %rdi
nop
nop
add $40194, %r14
mov $116, %rcx
rep movsq
xor %r15, %r15
lea addresses_normal_ht+0x7b51, %rsi
lea addresses_normal_ht+0x1ac61, %rdi
nop
no... |
src/phrases.adb | zdimension/tdinfo302 | 0 | 3593 | with Ada.Text_IO; use Ada.Text_IO;
procedure phrases is
function Maju (c : Character) return Character is
begin
if c in 'a'..'z' then
return Character'Val(Character'Pos(c) - 32);
else
return c;
end if;
end Maju;
ch : Character;
nb_a, nb_ne :... |
Data/ships/Cougar.asm | TinfoilAsteroid/EliteNext | 9 | 174946 | <gh_stars>1-10
Cougar: DB $03
DW $1324
DW CougarEdges
DB CougarEdgesSize
DB $00, $2A
DB CougarVertSize /6
DB CougarVertSize
DB CougarEd... |
oeis/006/A006633.asm | neoneye/loda-programs | 11 | 168922 | <gh_stars>10-100
; A006633: From generalized Catalan numbers.
; Submitted by <NAME>
; 1,6,39,272,1995,15180,118755,949344,7721604,63698830,531697881,4482448656,38111876530,326439471960,2814095259675,24397023508416,212579132600076
mov $2,$0
mul $2,3
add $2,5
add $0,$2
bin $0,$2
mul $0,12
mov $1,$2
add $1,1
div $0,$1
di... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_854.asm | ljhsiun2/medusa | 9 | 2381 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x5e08, %rsi
lea addresses_WC_ht+0x71c7, %rdi
nop
nop
nop
nop
nop
inc %r13
mov $97, %rcx
rep movsq
nop
xor %rsi, %rsi
lea addresses_UC_ht+0x10808, %rsi
lea addre... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.