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 |
|---|---|---|---|---|
source/nodes/program-nodes-package_body_declarations.ads | reznikmm/gela | 0 | 10638 | <gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Defining_Names;
with Program.Elements.Aspect_Specifications;
with Program.Element_Vectors;
with Program.El... |
data/jpred4/jp_batch_1613899824__TsdHwEx/jp_batch_1613899824__TsdHwEx.als | jonriege/predict-protein-structure | 0 | 2645 | <gh_stars>0
SILENT_MODE
BLOCK_FILE jp_batch_1613899824__TsdHwEx.concise.blc
MAX_NSEQ 803
MAX_INPUT_LEN 805
OUTPUT_FILE jp_batch_1613899824__TsdHwEx.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0... |
scripts/itunes/en/unmute.applescript | dnedry2/vscode-itunes | 16 | 4032 | if application "iTunes" is running then
tell application "iTunes"
set the sound volume to 100
end tell
end if |
boot_sect_main.asm | HazemGabr232/boot_loader | 0 | 97594 | <filename>boot_sect_main.asm<gh_stars>0
[org 0x7c00]
mov bp, 0x8000 ;set stack location
mov sp, bp
mov bx, 0x9000 ; es:bx = 0x0000:0x9000 makes our buffer starting from 0x9000
mov dh, 2 ; read 2 sectors
; the bios sets 'dl' for our boot disk number
; we provide it as a flag when on using qemu... |
oeis/037/A037122.asm | neoneye/loda-programs | 11 | 4377 | <gh_stars>10-100
; A037122: Trajectory of 3 under map n->49n+1 if n odd, n->n/2 if n even
; Submitted by <NAME>
; 3,148,74,37,1814,907,44444,22222,11111,544440,272220,136110,68055,3334696,1667348,833674,416837,20425014,10212507,500412844,250206422,125103211,6130057340,3065028670,1532514335
add $0,1
mov $1,$0
mov $0,3
... |
ee/wman/drobj.asm | olifink/smsqe | 0 | 24091 | * Draw menu object or loose menu item V1.05 1986 <NAME> QJUMP
* 2003-01-24 1.02 draws sprites according to item status (wl)
* 2003-05-06 1.03 uses pto..blk to check for sprite block (wl)
* 2003-05-20 1.04 calls pv_fsprt before checking on object data (mk)
* 2003-06-15 1.05 yet more bugfixes for statuts items (wl)
... |
programs/oeis/112/A112926.asm | neoneye/loda | 22 | 21079 | ; A112926: Smallest squarefree integer > the n-th prime.
; 3,5,6,10,13,14,19,21,26,30,33,38,42,46,51,55,61,62,69,73,74,82,85,91,101,102,105,109,110,114,129,133,138,141,151,154,158,165,170,174,181,182,193,194,199,201,213,226,229,230,235,241,246,253,258,265,271,273,278,282,285,295,309,313,314,318,334,339,349,353,354,362,... |
generator/src/main/java/net/matthoyt/database/generator/DbGen.g4 | mrh0057/mrh-database | 0 | 785 | grammar DbGen;
prog:
module
name
database
(
sqlBlock
| table
)
(
|
additionalOptions+
)
;
Identifier:
[a-zA-Z0-9_]+
;
module:
'$module' qualifiedName END
;
table:
'$table' qualifiedName END
;
name:
'$name' Identifier END
;
database:
'... |
1. MIPS Programming/mips1.asm | richardchien/computer-organization-pku | 1 | 160354 | <gh_stars>1-10
.text
.globl main
main:
# read char
li $v0, 12
syscall
move $s0, $v0
beq $s0, 63, exit # char is '?', so exit
jal printnewline
# test whether in A-Z
li $t6, 65 # lower limit 'A'
li $t7, 90 # higher limit 'Z'
sge $t6, $s0, $t6 # $t6 = whether $s0 >= 'A'
s... |
arch/ARM/RP/svd/rp2040/rp_svd-rosc.ads | morbos/Ada_Drivers_Library | 2 | 29035 | <filename>arch/ARM/RP/svd/rp2040/rp_svd-rosc.ads
-- Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
--
-- SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from rp2040.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;... |
programs/oeis/227/A227043.asm | karttu/loda | 1 | 101548 | ; A227043: Numerator of harmonic mean H(n,2), n>= 0.
; 0,4,2,12,8,20,3,28,16,36,10,44,24,52,7,60,32,68,18,76,40,84,11,92,48,100,26,108,56,116,15,124,64,132,34,140,72,148,19,156,80,164,42,172,88,180,23,188,96,196,50,204,104,212,27,220,112,228,58,236,120
mov $2,$0
mul $0,8
mov $3,$2
add $3,2
gcd $3,8
div $0,$3
mov $1,$0... |
src/soundfx.asm | QuinnPainter/CrossConnect | 0 | 92530 | INCLUDE "sdk/hardware.inc"
; http://www.devrs.com/gb/files/sndtab.html
DEF NOTE_C_3 EQU 44
DEF NOTE_Cs3 EQU 156
DEF NOTE_D_3 EQU 262
DEF NOTE_Ds3 EQU 363
DEF NOTE_E_3 EQU 457
DEF NOTE_F_3 EQU 547
DEF NOTE_Fs3 EQU 631
DEF NOTE_G_3 EQU 710
DEF NOTE_Gs3 EQU 786
DEF NOTE_A_3 EQU 854
DEF NOTE_As3 EQU 923
DEF NOTE_B_3 EQU 9... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/package_with_body.ads | ouankou/rose | 488 | 20801 | <gh_stars>100-1000
package Package_With_Body is
procedure Procedure_To_Require_Body;
end Package_With_Body;
|
agdt.asm | tristanred/micros | 4 | 4558 | extern gdtPointer
global loadGdt
loadGdt:
lgdt[gdtPointer]
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
jmp 0x08:fload
fload:
ret ; was ret.asm
|
kernel/components/console/drivers/screen_lores.asm | paulscottrobson/flat | 0 | 100763 | ; *********************************************************************************
; *********************************************************************************
;
; File: screen_lores.asm
; Purpose: LowRes console interface, sprites enabled.
; Date : 12th March 2019
; Author: <EMAIL>
;
; ********... |
oeis/142/A142285.asm | neoneye/loda-programs | 11 | 10467 | <reponame>neoneye/loda-programs<filename>oeis/142/A142285.asm
; A142285: Primes congruent to 36 mod 43.
; Submitted by <NAME>
; 79,251,337,509,853,1283,1627,2143,2659,2917,3089,3347,3433,3691,3863,4637,4723,5153,5669,5927,6271,6529,6701,6959,7561,9109,9281,9539,9883,10141,10313,10399,10657,11087,11173,11689,12119,12377... |
source/oasis/program-library_items.ads | reznikmm/gela | 0 | 21822 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Compilation_Units;
with Program.Compilation_Unit_Vectors;
limited with Program.Library_Unit_Declarations;
package Program.Library_Items is
pragma Pure;
... |
third_party/heif_decoder/src/main/cpp/libx265/common/x86/h4-ipfilter16.asm | vy12021/glide_webp | 1 | 16853 | ;*****************************************************************************
;* Copyright (C) 2013-2017 MulticoreWare, Inc
;*
;* Authors: <NAME> <<EMAIL>>
;* <NAME> <<EMAIL>>
;* <NAME> <<EMAIL>>
;*
;* This program is free software; you can redistribute it and/or modify
;* it under the terms of the G... |
zombie.asm | tnsc4502/xv6_net | 0 | 167110 | <reponame>tnsc4502/xv6_net
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1837.asm | ljhsiun2/medusa | 9 | 28570 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x5075, %rdx
clflush (%rdx)
nop
nop
nop
nop
nop
dec %r14
movw $0x6162, (%rdx)
nop
nop
nop
nop
nop
sub %rbp, %rbp
lea addresses_normal_ht+0x1b63d, %rsi
lea addresses_UC_ht+0xdb5... |
cc4x86/tests/regressive/asm_listings/div_bug__optimize_noregalloc.asm | artyompal/C-compiler | 4 | 99967 | <gh_stars>1-10
.686
.model flat
.xmm
.code
_test proc
create_stack_frame
mov dword21,2
mov dword ptr [ebp-12],1
mov dword11,4
cdq dword12,dword11
idiv dword11,dword21
add dword11,[ebp-12]
mov dword18,dword11
... |
libsrc/fcntl/spectrum/zxbasdrv/creat.asm | meesokim/z88dk | 0 | 173042 | ;
; Create a file by the BASIC driver (open then close)
;
; Stefano - 5/7/2006
;
; int creat(far char *name, mode_t mode);
;
; $Id: creat.asm,v 1.2 2015/01/21 08:09:27 stefano Exp $
PUBLIC creat
EXTERN open
EXTERN close
.creat
pop bc
pop hl
push hl
push bc
push bc
push bc
push hl
call open
pop bc
po... |
misc/RecursiveDescent/InductiveWithFix/Internal.agda | yurrriq/parser-combinators | 7 | 4953 | <reponame>yurrriq/parser-combinators<gh_stars>1-10
------------------------------------------------------------------------
-- A terminating parser data type and the accompanying interpreter
------------------------------------------------------------------------
module RecursiveDescent.InductiveWithFix.Internal where... |
src/Web/Semantic/DL/Sequent.agda | agda/agda-web-semantic | 9 | 1453 | open import Data.Product using ( _×_ ; _,_ )
open import Relation.Nullary using ( ¬_ )
open import Relation.Unary using ( _∈_ ; ∅ ; _∪_ )
open import Web.Semantic.DL.ABox using
( ABox ; Assertions ; ε ; _,_ ; _∼_ ; _∈₁_ ; _∈₂_ )
open import Web.Semantic.DL.ABox.Interp using ( Interp ; ⌊_⌋ ; ind )
open import Web.Sema... |
Python/examples/subtract.asm | tomxp411/8080Asm | 0 | 1678 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; NAME: subtract.asm
; AUTHOR: <NAME> ("The Ubuntourist") <<EMAIL>>
; LASTMOD: 2020.11.13 (kjc)
;
; DESCRIPTION:
;
; A demonstration of subtracting and conditional branching. And
; an opportunity to investigate 2's-complement a... |
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i3-7100_9_0x84_notsx.log_3469_379.asm | ljhsiun2/medusa | 9 | 101809 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1059d, %r10
nop
nop
nop
cmp %rbp, %rbp
movups (%r10), %xmm2
vpextrq $0, %xmm2, %rdi
nop
nop
cmp $11287, %rbp
lea addresses_A_ht+0x97ad, %r15
nop
nop
add %r8, %r8
movb $0x61, ... |
tests/covered/MetaId.agda | andrejtokarcik/agda-semantics | 3 | 4225 | <gh_stars>1-10
module MetaId where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
expr = (\ (a : Set) (x : a) -> x) _ zero
|
waifu.asm | hwreverse/PC-G850V | 7 | 2143 | <filename>waifu.asm
10 ORG 100H
20 JP MAIN
30GPF EQU 0BFD0H
40WAITK EQU 0BFCDH
50RPTCHR EQU 0BFEEH
60MAIN: CALL CLS
60 LD HL, L0
70 LD B, 144
80 LD DE, 0000H
90 CALL GPF
100 LD HL, L1
110 LD B, 144
120 LD DE, 0100H
130 CALL GPF
140 LD HL, L2
150 LD B, 144
160 LD DE, 0200H
170 CALL GPF
180 LD HL, L3
190 LD B, 144
200 LD... |
programs/oeis/059/A059545.asm | jmorken/loda | 1 | 19223 | ; A059545: Beatty sequence for log(10).
; 2,4,6,9,11,13,16,18,20,23,25,27,29,32,34,36,39,41,43,46,48,50,52,55,57,59,62,64,66,69,71,73,75,78,80,82,85,87,89,92,94,96,99,101,103,105,108,110,112,115,117,119,122,124,126,128,131,133,135,138,140,142,145,147,149,151,154,156,158,161,163,165,168,170,172,174,177,179,181,184,186,1... |
programs/oeis/120/A120848.asm | neoneye/loda | 22 | 85394 | <filename>programs/oeis/120/A120848.asm<gh_stars>10-100
; A120848: 2^n+3^n-n.
; 2,4,11,32,93,270,787,2308,6809,20186,60063,179184,535525,1602502,4799339,14381660,43112241,129271218,387682615,1162785736,3487832957,10462450334,31385253891,94151567412,282446313673,847322163850,2541932937167,7625731702688,22877060890389,68... |
oeis/269/A269446.asm | neoneye/loda-programs | 11 | 90466 | <filename>oeis/269/A269446.asm<gh_stars>10-100
; A269446: a(n) = n*(n^6 + n^3 + 1)*(n^6 - n^3 + 1)*(n^2 + n + 1)*(n^2 - n + 1)*(n + 1) + 1.
; 1,19,524287,581130733,91625968981,4768371582031,121871948002099,1899815864228857,20587884010836553,168856464709124011,1111111111111111111,6115909044841454629,29043636306420266077... |
oeis/077/A077841.asm | neoneye/loda-programs | 11 | 242541 | <gh_stars>10-100
; A077841: Expansion of (1-x)/(1-2*x-3*x^2-2*x^3).
; Submitted by <NAME>
; 1,1,5,15,47,149,469,1479,4663,14701,46349,146127,460703,1452485,4579333,14437527,45518023,143507293,452443709,1426445343,4497236399,14178696245,44701992373,140934546279,444332462167,1400872547917,4416611574893,13924505717871
lp... |
oeis/040/A040397.asm | neoneye/loda-programs | 11 | 104749 | <reponame>neoneye/loda-programs
; A040397: Continued fraction for sqrt(418).
; 20,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4,20,4,2,40,2,4
seq $0,10144 ; Continued fraction for sqrt(59).
mul... |
src/simple_webapps-upload_servers-backend.adb | faelys/simple-webapps | 1 | 2968 | <gh_stars>1-10
------------------------------------------------------------------------------
-- Copyright (c) 2014, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any ... |
asm/long_mode_init.asm | eggveloper/BoltOS | 0 | 176511 | global long_mode_start
extern kmain
section .text
bits 64
long_mode_start:
; Load 0 into all data segment registers
mov ax, 0
mov ss, ax
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
call kmain
; Should not be reached
hlt
|
Transynther/x86/_processed/NONE/_zr_xt_/i9-9900K_12_0xa0_notsx.log_21829_669.asm | ljhsiun2/medusa | 9 | 163538 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xc647, %rbx
nop
nop
nop
nop
nop
xor $18037, %rbp
mov $0x6162636465666768, %rcx
movq %rcx, %xmm7
movups %xmm7, (%rbx)
nop
nop
add $27996, %r9
lea addresses_WT_ht+0x1e637, %rsi
... |
llvm-gcc-4.2-2.9/gcc/ada/switch-c.adb | vidkidz/crossbridge | 1 | 15938 | <filename>llvm-gcc-4.2-2.9/gcc/ada/switch-c.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
test/Succeed/Issue3122.agda | cruhland/agda | 1,989 | 11654 | <reponame>cruhland/agda<filename>test/Succeed/Issue3122.agda
-- Andreas, 2019-03-18, issue #3122, AIM XXIX
-- Also pick up hidden record fields from a module.
record R : Set₂ where
field {f} : Set₁
module M where
f : Set₁
f = Set
r : R
r = record { M }
-- WAS: yellow
-- Should check.
|
oeis/053/A053485.asm | neoneye/loda-programs | 11 | 178257 | ; A053485: Denominators in expansion of exp(2x)/(1-x).
; Submitted by <NAME>
; 1,1,1,3,1,15,45,21,315,2835,4725,22275,93555,2027025,42567525,638512875,212837625,2170943775,13956067125,618718975875,9280784638125,14992036723125,7522320180375,49308808782358125,147926426347074375,176102888508421875,48076088562799171875,259... |
source/interfaces/i-cgestr.ads | ytomino/drake | 33 | 16598 | pragma License (Unrestricted);
-- generalized unit of Interfaces.C.Strings
with Interfaces.C.Pointers;
generic
type Character_Type is (<>);
type String_Type is array (Positive range <>) of Character_Type;
type Element is (<>);
type Element_Array is array (size_t range <>) of aliased Element;
with packag... |
src/x86/handlers.asm | xiaobfly/ucxxrt | 1 | 7027 | ;/*
; * PROJECT: Universal C++ RunTime (UCXXRT)
; * FILE: handlers.asm
; * DATA: 2020/02/28
; *
; * PURPOSE: Universal C++ RunTime
; *
; * LICENSE: Relicensed under The MIT License from The CC BY 4.0 License
; *
; * DEVELOPER: MiroKaku (miro.kaku AT Outlook.com)
; */
;***
;lowhelpr.asm
;
; Copyright... |
Driver/Video/VGAlike/VGA16/vga16Pointer.asm | steakknife/pcgeos | 504 | 1284 | <filename>Driver/Video/VGAlike/VGA16/vga16Pointer.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GlobalPC 1998 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Video Drivers
FILE: vga16Pointer.asm
AUTHOR: <NAME>, Oct 8, 1992
ROUTINES:
Name Descrip... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 24340 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/174/A174766.asm | neoneye/loda-programs | 11 | 100138 | ; A174766: y-values in the solution to x^2 - 22*y^2 = 1.
; Submitted by <NAME>
; 0,42,16548,6519870,2568812232,1012105499538,398766998005740,157113185108762022,61902196165854230928,24389308176161458223610,9609325519211448685871412,3786049865261134620775112718,1491694037587367829136708539480,587723664759557663545242389... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline6.adb | best08618/asylo | 7 | 4214 | -- { dg-do compile }
-- { dg-options "-O -gnatn -Winline" }
with Inline6_Pkg; use Inline6_Pkg;
procedure Inline6 is
begin
Test (0);
end;
|
software/obsolete/new-rom/fat32.asm | Noah1989/micro-21 | 1 | 241436 | public fat32_init
public fat32_working_directory
public fat32_fat_begin_lba
public fat32_fat_number_of_sectors
public fat32_chain_IX_get_byte_A
public fat32_chain_IX_put_byte_A
public fat32_chain_IX_skip_bytes_BC
public fat32_chain_IX_seek_BCDE
extern sdcard_read_block_DEHL_lazy
extern sdcard_block_buffer
extern sdca... |
oeis/040/A040633.asm | neoneye/loda-programs | 11 | 1016 | <filename>oeis/040/A040633.asm
; A040633: Continued fraction for sqrt(659).
; Submitted by <NAME>
; 25,1,2,25,2,1,50,1,2,25,2,1,50,1,2,25,2,1,50,1,2,25,2,1,50,1,2,25,2,1,50,1,2,25,2,1,50,1,2,25,2,1,50,1,2,25,2,1,50,1,2,25,2,1,50,1,2,25,2,1,50,1,2,25,2,1,50,1,2,25,2,1,50,1,2,25,2,1,50,1,2
seq $0,10144 ; Continued fract... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_1889.asm | ljhsiun2/medusa | 9 | 100983 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x11688, %r14
nop
nop
nop
add %r13, %r13
mov $0x6162636465666768, %rdi
movq %rdi, %xmm3
vmovups %ymm3, (%r14)
dec %r14
lea addresses_UC_ht+0xd10, %rsi
lea addresses_normal_ht+0... |
src/Core/RSTHandlers.asm | stoneface86/GameboyBoilerplateProj | 25 | 9543 | <gh_stars>10-100
include "./src/Includes.inc"
section "RST Handlers", rom0
rst00::
rst $38
rst08::
rst $38
rst10::
rst $38
rst18::
rst $38
rst20::
rst $38
rst28::
rst $38
rst30::
rst $38
rst38::
rst $38
|
oeis/133/A133080.asm | neoneye/loda-programs | 11 | 23594 | ; A133080: Interpolation operator: Triangle with an even number of zeros in each line followed by 1 or 2 ones.
; Submitted by <NAME>
; 1,1,1,0,0,1,0,0,1,1,0,0,0,0,1,0,0,0,0,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0... |
src/adaid-generate.adb | mgrojo/AdaID | 16 | 13099 | <filename>src/adaid-generate.adb
-- File: adaid-generate.adb
-- Description: UUID Generation
-- Author: <NAME>
-- License: Simplified BSD License (see LICENSE)
with SHA.Process_Data; -- For From_Name
with Ada.Numerics.Discrete_Random; -- For RNG
with Ada.Streams.Stream_IO; -- For reading from /dev/random
use Ada.Stre... |
libsrc/zx81/zx_break.asm | andydansby/z88dk-mk2 | 1 | 160845 | ;
; ZX81 libraries
;
; $Id: zx_break.asm,v 1.2 2012/01/09 16:02:36 stefano Exp $
;
;----------------------------------------------------------------
;
; Check if the CAPS-SPACE (BREAK) key is being pressed
; ( 1 = pressed; 0 = not pressed )
;
;----------------------------------------------------------... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-ststbo.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 5177 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
test/interaction/Issue1434.agda | shlevy/agda | 1,989 | 9222 | -- Andreas, 2015-02-24, issue reported by g.x.allais
-- {-# OPTIONS -v interaction.give:100 #-}
record R : Set1 where
field
-v : Set
goal : R
goal = {!!}
-- refine here
-- WAS: error due to rendering or record as
-- record {-v = ?}
|
agda-aplas14/Library.agda | ryanakca/strong-normalization | 32 | 15275 | -- Imports from the standard library
module Library where
-- open import Level using () renaming (suc to lsuc) public
open import Data.Fin using (Fin; zero; suc) public
open import Data.List using (List; []; _∷_; map) public
open import Data.Nat
using (ℕ; zero; suc; z≤n; s≤s; pred; _≤′_; ≤′-refl; ≤′-step )
re... |
src/gen/cups-cups_dir_h.ads | persan/a-cups | 0 | 30740 | <reponame>persan/a-cups
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with CUPS.bits_stat_h;
with System;
with Interfaces.C.Strings;
private package CUPS.cups_dir_h is
-- * "$Id: dir.h 10996 2013-05-29 11:51:34Z msweet $"
-- *
-- * Public directory definitions for CUPS.
-... |
_build/dispatcher/jmp_ippsECCPInitStd128r2_85bc9447.asm | zyktrcn/ippcp | 1 | 162004 | extern m7_ippsECCPInitStd128r2:function
extern n8_ippsECCPInitStd128r2:function
extern y8_ippsECCPInitStd128r2:function
extern e9_ippsECCPInitStd128r2:function
extern l9_ippsECCPInitStd128r2:function
extern n0_ippsECCPInitStd128r2:function
extern k0_ippsECCPInitStd128r2:function
extern ippcpJumpIndexForMergedLibs
exter... |
data/mapHeaders/indigoplateaulobby.asm | adhi-thirumala/EvoYellow | 16 | 175690 | IndigoPlateauLobby_h:
db MART ; tileset
db INDIGO_PLATEAU_LOBBY_HEIGHT, INDIGO_PLATEAU_LOBBY_WIDTH ; dimensions (y, x)
dw IndigoPlateauLobbyBlocks, IndigoPlateauLobbyTextPointers, IndigoPlateauLobbyScript ; blocks, texts, scripts
db $00 ; connections
dw IndigoPlateauLobbyObject ; objects
|
programs/oeis/119/A119690.asm | karttu/loda | 1 | 240365 | <gh_stars>1-10
; A119690: n! mod n*(n+1)/2.
; 0,2,0,4,0,6,0,0,0,10,0,12,0,0,0,16,0,18,0,0,0,22,0,0,0,0,0,28,0,30,0,0,0,0,0,36,0,0,0,40,0,42,0,0,0,46,0,0,0,0,0,52,0,0,0,0,0,58,0,60,0,0,0,0,0,66,0,0,0,70,0,72,0,0,0,0,0,78,0,0,0,82,0,0,0,0,0,88,0,0,0,0,0,0
mov $2,1
add $2,$0
mov $0,$2
mov $3,1
cmp $3,$2
sub $0,$3
mov $1,... |
examples/labels.asm | oltdaniel/clap | 2 | 24135 | <gh_stars>1-10
.nam hello
move r00 #1
jump end
; Will not be executed
move r00 #100
.nam end
move r01 #2
halt
|
examples/att_syntax.asm | clayne/asm2cfg | 24 | 86053 | <gh_stars>10-100
Dump of assembler code for function main:
0x000000000002ebd0 <+0>: endbr64
0x000000000002ebd4 <+4>: push %r15
0x000000000002ebd6 <+6>: push %r14
0x000000000002ebd8 <+8>: push %r13
0x000000000002ebda <+10>: push %r12
0x000000000002ebdc <+12>: push %rbp
0x000000000002ebdd ... |
Sistemi e reti/Assembly/decr.asm | Gabri3445/EquazioneSecondoGrado | 0 | 97097 | input: INP
STA [num]
loop: LDA [num]
JIZ [end]
OUT
LDB #1
SUB
STA [num]
JMP [loop]
end: HLT
== VARS ==
num: NOP
|
tests/scalarmult5.adb | yannickmoy/SPARKNaCl | 76 | 27953 | with SPARKNaCl; use SPARKNaCl;
with SPARKNaCl.Debug; use SPARKNaCl.Debug;
with SPARKNaCl.Scalar; use SPARKNaCl.Scalar;
procedure Scalarmult5
is
AliceSK : constant Bytes_32 :=
(16#77#, 16#07#, 16#6d#, 16#0a#, 16#73#, 16#18#, 16#a5#, 16#7d#,
16#3c#, 16#16#, 16#c1#, 16#72#, 16#51#, 16#b2#, 16#66#, 16... |
gyak/gyak1-2/eukl.adb | balintsoos/LearnAda | 0 | 27896 | <reponame>balintsoos/LearnAda
with Ada.Integer_Text_IO;
procedure Eukl is
A, B : Natural;
Tmp: Natural;
begin
Ada.Integer_Text_IO.Get( A );
Ada.Integer_Text_IO.Get( B );
while B /= 0 loop
Tmp := A mod B;
A := B;
B := Tmp;
end loop;
Ada.Integer_Text_IO.Put( A );
end Eukl;
|
oeis/105/A105968.asm | neoneye/loda-programs | 11 | 29669 | <gh_stars>10-100
; A105968: a(n) = 4*a(n-1) - a(n-2) - 2*(-1)^n, a(0) = 1, a(1) = 4.
; 1,4,13,50,185,692,2581,9634,35953,134180,500765,1868882,6974761,26030164,97145893,362553410,1353067745,5049717572,18845802541,70333492594,262488167833,979619178740,3655988547125,13644335009762,50921351491921,190041070957924,709242932... |
src/Calf/Types/BoundedFunction.agda | jonsterling/agda-calf | 29 | 5826 | <gh_stars>10-100
{-# OPTIONS --prop --rewriting #-}
open import Calf.CostMonoid
module Calf.Types.BoundedFunction (costMonoid : CostMonoid) where
open CostMonoid costMonoid
open import Calf.Prelude
open import Calf.Metalanguage
open import Calf.Step costMonoid
open import Calf.Types.Bounded costMonoid
open import ... |
libsrc/math/mbf32/z80/mulval.asm | ahjelm/z88dk | 640 | 175991 | <reponame>ahjelm/z88dk
SECTION bss_fp_mbf32
PUBLIC MULVAL
MULVAL:
defb 0,0,0
|
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/acos.asm | meesokim/z88dk | 0 | 164921 |
SECTION code_fp_math48
PUBLIC _acos
EXTERN cm48_sdcciy_acos
defc _acos = cm48_sdcciy_acos
|
lz49decrunch_v001.asm | uniabis/z80depacker | 25 | 103557 | ;
; LZ49 decrunch
; input
; hl compressed data adress
; de output adress of data
;
; output
; hl last adress of compressed data read (you must inc once for LZ49 stream)
; de last adress of decrunched data write +1
; bc always 3
; a always zero
; ixl undetermined
; flags (inc a -> 0)
;org... |
src/GBA.BIOS.Memset.adb | 98devin/ada-gba-dev | 7 | 15923 | -- Copyright (c) 2021 <NAME>
-- zlib License -- see LICENSE for details.
with System;
use System;
with Interfaces.C;
use Interfaces;
with GBA.BIOS.Arm;
use GBA.BIOS.Arm;
with Ada.Unchecked_Conversion;
use type Interfaces.C.size_t;
function GBA.BIOS.Memset
( Dest : in Address; Value : Integer; Num_Bytes : C... |
org.alloytools.alloy.diff/misc/multiplicities/b1.als | jringert/alloy-diff | 1 | 3292 | <gh_stars>1-10
module b1
sig Object{}
sig Branch {}
sig Bank{
branches: some (Branch + Bank)
}
pred xxx {
all b : Bank | #b.branches > 0
}
//fact {Branch + Bank = Object}
run xxx for 4
|
src/main/antlr/parserll/SFa.g4 | courses-at-nju-by-hfwei/compilers-antlr | 7 | 7581 | grammar SFa;
@header {
package parserll;
}
s : f
| '(' s '+' f ')'
;
f : 'a' ;
LPAREN : '(' ;
ADD : '+' ;
RPAREN : ')' ;
WS : [ \t\n\r]+ -> skip ; |
snippets/bit_fun.test.i.asm | ped7g/ZXSpectrumNextMisc | 15 | 14620 | MODULE bit_fun
test:
ld b,0 ; value to test and loop through
.loop:
ld a,b
call nibrrca_z80n ; call my variant of the routine
ld e,a ; preserve result in E
ld a,b
call twitter_post ; call original twitter post
... |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0xca_notsx.log_21829_1078.asm | ljhsiun2/medusa | 9 | 17970 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1e4e5, %rax
xor $59149, %rbx
mov (%rax), %rdx
nop
nop
cmp $61928, %r14
lea addresses_UC_ht+0x4060, %rsi
lea addresses_D_ht+0x17775, %rdi
nop
no... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-excach.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 2811 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
memsim-master/src/parser-parse_register.adb | strenkml/EE368 | 0 | 20494 | <gh_stars>0
with Memory.Register;
separate (Parser)
procedure Parse_Register(parser : in out Parser_Type;
result : out Memory_Pointer) is
mem : Memory_Pointer := null;
begin
while Get_Type(parser) = Open loop
Match(parser, Open);
declare
name : constant String ... |
programs/oeis/097/A097063.asm | neoneye/loda | 22 | 174173 | <gh_stars>10-100
; A097063: Expansion of (1-2*x+3*x^2)/((1+x)*(1-x)^3).
; 1,0,3,4,9,12,19,24,33,40,51,60,73,84,99,112,129,144,163,180,201,220,243,264,289,312,339,364,393,420,451,480,513,544,579,612,649,684,723,760,801,840,883,924,969,1012,1059,1104,1153,1200,1251,1300,1353,1404
pow $0,2
mov $1,$0
gcd $0,4
add $0,$1
su... |
data/mapObjects/BluesHouse.asm | AmateurPanda92/pokemon-rby-dx | 9 | 164119 | <gh_stars>1-10
BluesHouse_Object:
db $a ; border block
db 2 ; warps
warp 2, 7, 1, -1
warp 3, 7, 1, -1
db 0 ; signs
db 3 ; objects
object SPRITE_DAISY, 2, 3, STAY, RIGHT, 1 ; Daisy, sitting by map
object SPRITE_DAISY, 6, 4, WALK, 1, 2, 0 ; Daisy, walking around
object SPRITE_BOOK_MAP_DEX, 3, 3, STAY, NONE, 3... |
Lab1/EminKartci_S014877_lab1.asm | eminkartci/MicroController-Assembly | 1 | 246074 | //Assume that the number at *100 is maximum number
0: CP 110 100
// To compare the numbers initialize *50
1: CP 50 100
// Check if first number is less than 101
2: LT 50 101
// if Location 50 is false jump tp *20 -> 5 line
3: BZJ 20 50
// otherwise set max number as *101
4: CP 110 101
// To check *102 and *110 initiali... |
programs/oeis/301/A301694.asm | karttu/loda | 1 | 19403 | <filename>programs/oeis/301/A301694.asm
; A301694: Expansion of (1 + 5*x + 4*x^2 + 5*x^3 + x^4)/((1 - x)*(1 - x^3)).
; 1,6,10,16,22,26,32,38,42,48,54,58,64,70,74,80,86,90,96,102,106,112,118,122,128,134,138,144,150,154,160,166,170,176,182,186,192,198,202,208,214,218,224,230,234,240,246,250,256,262,266,272,278,282,288,29... |
Utils/boot.asm | SavagePencil/SMSFramework | 0 | 240762 | .RAMSECTION "Initialization State Variables" SLOT 3
SMSFrameWork_Initialized DB
.ENDS
.BANK 0 SLOT 0
.ORG $0000
.SECTION "SMSFramework Boot" FORCE
;==============================================================================
; SMSFramework_Boot
; Our very first instructions. Gets to the bootstrap quick... |
LadderParser.g4 | Yodoken/ANTLR_LadderExec | 0 | 4540 | parser grammar LadderParser;
options { tokenVocab=LadderLexer; }
// Entry
mnemonicList
: endl* mnm+=mnemonic*
;
// Mnemonic
mnemonic
: inst=INSTRUCTION sfx=SUFFIX? op+=operand* endl
;
operand
: op=number #opNumber
| op=string #opString
| op=device ... |
Driver/Mailbox/Transport/SpoolTD/spooltdAddress.asm | steakknife/pcgeos | 504 | 246377 | <filename>Driver/Mailbox/Transport/SpoolTD/spooltdAddress.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT:
MODULE:
FILE: spooltdAddress.asm
AUTHOR: <NAME>, Oct 26, 1994
ROUTINES:
Name Description
----... |
Data/List/Relation.agda | Lolirofle/stuff-in-agda | 6 | 11811 | module Data.List.Relation where
import Lvl
import Data
open import Data.List
open import Logic
open import Logic.Propositional
open import Structure.Setoid
open import Type
private variable ℓ ℓₑ ℓₑ₁ ℓₑ₂ : Lvl.Level
private variable T : Type{ℓ}
data Empty {ℓ}{T : Type{ℓ}} : List(T) → Stmt{Lvl.𝐒(ℓ)} where
... |
src/Gen/X4Parse.g4 | roflcopter4/x4c-cxx | 0 | 7156 | <filename>src/Gen/X4Parse.g4
parser grammar X4Parse;
@header {
//import (
//)
//@members {
//var x int
//}
#include <iostream>
}
/*
* NOTE MUST BE IN THE SAME ORDER AS LISTED IN THE LEXER!!!!!!
* Look. You're lazy. Yes, you. You know it, I know it, and you know I know it.
* Here's a one liner to extract the thin... |
programs/oeis/184/A184901.asm | karttu/loda | 1 | 103351 | ; A184901: n+floor(ns/r)+floor(nt/r), where r=(1+sqrt(5))/2, s=r+1, t=r+2.
; 4,9,13,18,24,28,33,37,43,48,52,57,63,67,72,76,82,87,91,96,100,106,111,115,120,126,130,135,139,145,150,154,159,165,169,174,178,183,189,193,198,202,208,213,217,222,228,232,237,241,247,252,256,261,265
mul $0,2
cal $0,26273 ; a(n) = least k such ... |
src/logic_daylight_savings.asm | grantperry/elec342-alarm-clock | 0 | 91019 | <filename>src/logic_daylight_savings.asm<gh_stars>0
; return a non zero value in r16 if daylight savings changes were made
logic_daylight_savings:
logic_daylight_savings_april:
rcall getMonth
cpi r16, 4
brne logic_daylight_savings_october
rcall getDay
cpi r16, 1
brne logic_daylight_savings_end_no_change
rcall g... |
qbob/formatter/QSharpLexer.g4 | quantum-experiments/qbob | 0 | 4743 | lexer grammar QSharpLexer;
// Keywords
Adj : 'Adj';
AdjointFunctor : 'Adjoint';
AdjointGenerator : 'adjoint';
And : 'and';
Apply : 'apply';
As : 'as';
Auto : 'auto';
BigInt : 'BigInt';
Body : 'body';
Bool : 'Bool';
Borrowing : 'borrowing';
ControlledFunctor : 'Controlled';
ControlledGenerator : 'controlled';
Ctl : 'C... |
oeis/097/A097472.asm | neoneye/loda-programs | 11 | 90052 | ; A097472: Number of different candle trees having a total of m edges.
; Submitted by <NAME>
; 1,3,10,31,96,296,912,2809,8651,26642,82047,252672,778128,2396320,7379697,22726483,69988378,215535903,663763424,2044122936,6295072048,19386276329,59701891739,183857684514,566207320575,1743689586432,5369858819104,16536993718080... |
Task/Hello-world-Text/Ada/hello-world-text.ada | djgoku/RosettaCodeData | 0 | 2774 | with Ada.Text_IO; use Ada.Text_IO;
procedure Main is
begin
Put_Line ("Goodbye, World!");
end Main;
|
MPI/Lab-3/indirect_register_5_problem.asm | vishwas1101/Misc | 0 | 6910 |
org 100h
; Register indexed addressing mode
MOV AX, 3000H
MOV DS, AX
MOV AH, 78H
MOV BX, 1234H
MOV [BX + 0012H], AH
; address = 30000H + 1246H contains 78H
ret
|
data/mapObjects/BillsHouse.asm | AmateurPanda92/pokemon-rby-dx | 9 | 103312 | BillsHouse_Object:
db $d ; border block
db 2 ; warps
warp 2, 7, 0, -1
warp 3, 7, 0, -1
db 0 ; signs
db 3 ; objects
object SPRITE_SLOWBRO, 6, 5, STAY, NONE, 1 ; person
object SPRITE_BLACK_HAIR_BOY_2, 4, 4, STAY, NONE, 2 ; person
object SPRITE_BLACK_HAIR_BOY_2, 6, 5, STAY, NONE, 3 ; person
; warp-to
warp_t... |
src/pycropml/transpiler/antlr_py/grammars/Fortran90Parser.g4 | AgriculturalModelExchangeInitiative/PyCropML | 3 | 7019 | <gh_stars>1-10
/*
* Fortran 90 grammar for ANTLR 4.8
* Adadpted from Fortran 90 PCCTS grammar by <NAME>
* Original PCCTS grammar by <NAME>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundatio... |
oeis/073/A073219.asm | neoneye/loda-programs | 11 | 4354 | <filename>oeis/073/A073219.asm<gh_stars>10-100
; A073219: The terms of A073211 (sums of two powers of 11) divided by 2.
; 1,6,11,61,66,121,666,671,726,1331,7321,7326,7381,7986,14641,80526,80531,80586,81191,87846,161051,885781,885786,885841,886446,893101,966306,1771561,9743586,9743591,9743646,9744251,9750906,9824111,106... |
oeis/026/A026185.asm | neoneye/loda-programs | 11 | 26226 | ; A026185: If n even, then 2n. If n odd, then nearest integer to 2n/3.
; Submitted by <NAME>(s1)
; 0,1,4,2,8,3,12,5,16,6,20,7,24,9,28,10,32,11,36,13,40,14,44,15,48,17,52,18,56,19,60,21,64,22,68,23,72,25,76,26,80,27,84,29,88,30,92,31,96,33,100,34,104,35,108,37,112,38,116,39,120,41
mul $0,2
add $0,1
mov $1,$0
mod $0,4
d... |
KCC/CodeTranslator/KCC.g4 | knoxaramav2/KCC | 0 | 2677 | grammar KCC;
options{
language= CSharp;
}
/*
high : '*'|'/';
low : '+'|'-';
test : test high test
| test low test
| '(' test ')'
| integer
;*/
rules : assem... |
Cubical/Data/Strict2Group/Explicit/Base.agda | Schippmunk/cubical | 0 | 2120 | <filename>Cubical/Data/Strict2Group/Explicit/Base.agda
{-# OPTIONS --cubical --safe #-}
module Cubical.Data.Strict2Group.Explicit.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Group.Base
open import Cubical.Data.Strict2Group.Explicit.Notation
record Strict2GroupExp ℓ : Type (ℓ-suc ℓ) w... |
src/are-main.adb | stcarrez/resource-embedder | 7 | 20806 | <reponame>stcarrez/resource-embedder
-----------------------------------------------------------------------
-- are-main -- Main tool program
-- Copyright (C) 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in comp... |
source/base/incr-nodes-tokens.adb | reznikmm/increment | 5 | 30873 | <gh_stars>1-10
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Incr.Nodes.Tokens is
------------------
-- Constructors --
------------------
package body Constructors ... |
orka/src/orka/interface/orka-resources-managers.ads | onox/orka | 52 | 16022 | <reponame>onox/orka<gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 onox <<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://w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.