max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
src/test/ref/function-pointer-noarg-call-11.asm | jbrandwood/kickc | 2 | 174288 | <filename>src/test/ref/function-pointer-noarg-call-11.asm
// Tests calling through pointers to non-args no-return functions
// Commodore 64 PRG executable file
.file [name="function-pointer-noarg-call-11.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=... |
operand_writer/operand_writer.asm | dkozyr/brainfuck | 1 | 247776 | <filename>operand_writer/operand_writer.asm
global OperandWriterRet
global OperandWriterProlog
global OperandWriterInc
global OperandWriterAdd
global OperandWriterDec
global OperandWriterSub
global OperandWriterAssign
global OperandWriterMul
global OperandWriterMulWithOffset
global OperandWriterMulShiftWithOffset
gl... |
programs/oeis/131/A131189.asm | karttu/loda | 1 | 27578 | ; A131189: Numbers n>=0 such that d(n) = (n^1 + 1) (n^2 + 2) ... (n^14 + 14) / 14!, e(n) = (n^1 + 1) (n^2 + 2) ... (n^15 + 15) / 15!, and f(n) = (n^1 + 1) (n^2 + 2) ... (n^16 + 16) / 16! take nonintegral values.
; 2,9,16,23,30,37,51,58,65,72,79,86,100,107,114,121,128,135,149,156,163,170,177,184,198,205,212,219,226,233,... |
alloy4fun_models/trashltl/models/11/9C7u46fpgR7AvwbsX.als | Kaixi26/org.alloytools.alloy | 0 | 4465 | <filename>alloy4fun_models/trashltl/models/11/9C7u46fpgR7AvwbsX.als
open main
pred id9C7u46fpgR7AvwbsX_prop12 {
always (some f: File | eventually f in Trash and always f in Trash)
}
pred __repair { id9C7u46fpgR7AvwbsX_prop12 }
check __repair { id9C7u46fpgR7AvwbsX_prop12 <=> prop12o } |
implementation/Assembly/Yield.asm | Nyufu/TaskScheduler | 0 | 99840 | PUBLIC Yield
extern StowCurrentFiberAndGiveNew:PROC
.code
Yield PROC
mov rax,qword ptr gs:[30h] ; save the current TEB's address to rax
mov rcx,qword ptr [rax+20h] ; save the current fiber's address to rcx
mov r8,qword ptr [rsp]
mov qword ptr [rcx+8],rbx
mov qword ptr [rcx+10h],rsp
mov qword ... |
Modules/Module4/InputOutput/read_string.asm | hackettccp/CSCI213 | 0 | 14112 | <filename>Modules/Module4/InputOutput/read_string.asm<gh_stars>0
#Demonstrates reading a string
.text
la $a0, prompt #Loads starting address of prompt string to $a0
li $v0, 4 #Sets the syscall code for printing a string
syscall
la $a0, entry #Loads starting address of entry to $a0
li $a1, 1001 #Maximum string l... |
alloy4fun_models/trainstlt/models/2/TZRC9ZCkxcBHEGEjA.als | Kaixi26/org.alloytools.alloy | 0 | 2897 | <filename>alloy4fun_models/trainstlt/models/2/TZRC9ZCkxcBHEGEjA.als
open main
pred idTZRC9ZCkxcBHEGEjA_prop3 {
all t: Train, tt: Track | t->tt in pos implies always t->tt in pos
}
pred __repair { idTZRC9ZCkxcBHEGEjA_prop3 }
check __repair { idTZRC9ZCkxcBHEGEjA_prop3 <=> prop3o } |
test/LibSucceed/Issue846.agda | shlevy/agda | 1,989 | 9748 | {-# OPTIONS --allow-unsolved-metas #-}
-- {-# OPTIONS -v tc.record.eta:20 -v tc.eta:100 -v tc.constr:50 #-}
-- Andreas, 2013-05-15 reported by nomeata
module Issue846 where
open import Issue846.Imports
opt-is-opt2 : ∀ n s → n mod 7 ≡ 1' → winner n s opt ≡ false
opt-is-opt2 0 s ()
opt-is-opt2 (suc n) s eq =
let (... |
regtests/jason-testsuite.adb | stcarrez/jason | 2 | 612 | <reponame>stcarrez/jason
-----------------------------------------------------------------------
-- jason-testsuite -- Testsuite for jason
-- Copyright (C) 2016 Stephane.Carrez
-- Written by Stephane.Carrez (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/multidimensional_array.ads | ouankou/rose | 488 | 25128 | <gh_stars>100-1000
package Multidimensional_Array is
subtype WorkWeek is Natural range 1 .. 5;
subtype WorkHours is Natural range 1 .. 8;
type FullTime is array(WorkWeek, WorkHours) of Boolean;
type PartTime is array(WorkWeek range<>, WorkHours range<>) of Boolean;
type Afternoons is new PartTime(1... |
src/skill-field_types-builtin-string_type_p.ads | skill-lang/adaCommon | 0 | 29731 | <gh_stars>0
-- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ implementation of builtin field types --
-- |___/_|\_\_|_|____| by: <NAME> ... |
StructurallyRecursiveDescentParsing/Memoised.agda | yurrriq/parser-combinators | 7 | 10365 | ------------------------------------------------------------------------
-- A memoising backend
------------------------------------------------------------------------
-- This code has bitrotted.
-- Following Frost/Szydlowski and Frost/Hafiz/Callaghan (but without
-- the left recursion fix). An improvement has been ... |
st/src/stm32f4-gpio.ads | MatrixMike/AdaDemo1 | 1 | 18451 | <filename>st/src/stm32f4-gpio.ads
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- ... |
Kernel/libasm/keyboardDriverAsm.asm | glpecile/2020Q2_ARQ_TPE | 0 | 173472 | GLOBAL keyboardActivated
GLOBAL getKeyboardScancode
section .text
; -----------------------------------
; Detecta si hay un codigo de teclado en el buffer.
; Retorna 1 de haber, 0 si no.
; -----------------------------------
keyboardActivated:
mov rax, 0
in al, 64h
and al, 01h
ret
; ------------------... |
oeis/181/A181270.asm | neoneye/loda-programs | 11 | 240507 | <reponame>neoneye/loda-programs
; A181270: Number of 2 X n binary matrices M with rows in strictly increasing order and rows of M*Mtranspose (mod 2) in strictly increasing order.
; Submitted by <NAME>
; 1,2,11,44,188,752,3056,12224,49088,196352,786176,3144704,12581888,50327552,201322496,805289984,3221209088,12884836352... |
programs/oeis/011/A011000.asm | neoneye/loda | 22 | 95539 | ; A011000: a(n) = binomial coefficient C(n,47).
; 1,48,1176,19600,249900,2598960,22957480,177100560,1217566350,7575968400,43183019880,227692286640,1119487075980,5166863427600,22512762077400,93052749919920,366395202809685,1379370175283520,4981058966301600,17302625882942400,57963796707857040,187692294101632320,5886712860... |
src/main.asm | Didstopia/c64-project-template | 0 | 240557 | <filename>src/main.asm
;==========================================================
; 6502 assembly template for VSCode
; Originally created in 2019 by <NAME> // awsm of Mayday
;==========================================================
;==========================================================
; LABELS
;=============... |
asm/tests/7seg.asm | mlndz28/selector-623 | 0 | 90029 | <reponame>mlndz28/selector-623
;start=0x3000
#include ../registers.inc
#include ../init.asm
#include ../isr.asm
#include ../utilities.asm
org UserTimerCh4
dw #OC4_ISR ; set user routine for timer
org $3000
bset DDRB,$FF ; set port b for output
bset DDRJ,$02 ; enable leds
bclr DDRK,$FF ; disable LCD... |
Cubical/Data/NatPlusOne.agda | dan-iel-lee/cubical | 0 | 3340 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.NatPlusOne where
open import Cubical.Data.NatPlusOne.Base public
open import Cubical.Data.NatPlusOne.Properties public
|
ada/file_io.adb | samuell/gcfrac-benchmark | 44 | 16340 | package body File_IO with SPARK_Mode => Off is
use all type Ada.Text_IO.File_Type;
function Open_Status (File : File_Type) return Open_Result is
begin
if Is_Open (File.Value) then
return File_Open;
else
return File_Closed;
end if;
exception
when others =>
... |
src/templates/ada/series_object.ads | joffreyhuguet/LmcpGen | 6 | 17505 | with -<full_parent_datatype_package>-; use -<full_parent_datatype_package>-;
with -<full_series_name_dots>-.enumerations; use -<full_series_name_dots>-.enumerations;
with avtas.lmcp.byteBuffers; use avtas.lmcp.byteBuffers;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Streams;
with Ada.Containers.Inde... |
lib/cryptlib/crypt/r4-win32.asm | mtatton/qodem | 131 | 177661 | ; Don't even think of reading this code
; It was automatically generated by rc4-586.pl
; Which is a perl program used to generate the x86 assember for
; any of elf, a.out, BSDI, Win32, gaswin (for GNU as on Win32) or Solaris
; eric <<EMAIL>>
;
segment .text
global _RC4
_RC4:
;
push ebp
push ebx
mov ebp, [1... |
libtool/src/gmp-6.1.2/mpn/pa64/sqr_diagonal.asm | kroggen/aergo | 1,602 | 163049 | dnl HP-PA 2.0 64-bit mpn_sqr_diagonal.
dnl Copyright 2001-2003 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... |
tutorials/01_string_operations/02_reverse_string.asm | codenamenadja/c-libs-libasm | 0 | 21055 | <reponame>codenamenadja/c-libs-libasm
section .data
SYS_WRITE equ 1
STDOUT_FILENO equ 1
SYS_EXIT equ 60
EXIT_CODE equ 0
NEW_LINE db 0xa
INPUT db "Hello world!" ; ascii 72=H/33=!
section .bss
OUTPUT resb 12 ... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca.log_21829_717.asm | ljhsiun2/medusa | 9 | 80783 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xb551, %rsi
lea addresses_D_ht+0x5d51, %rdi
cmp %rbx, %rbx
mov $100, %rcx
rep movsb
nop
nop
nop
nop
nop
sub $49197, %r13
lea addresses_WT_ht+0x6b51, %r9
nop
xor %rax, %rax
mov (%r9), %eb... |
00 Retrieve metadata headers.applescript | bsmith96/Qlab-Scripts | 1 | 117 | -- @description Import scripts to cues
-- @author <NAME>
-- @link bensmithsound.uk
-- @version 1.2
-- @about Module to retrieve metadata headers
property util : script "Applescript Utilities"
global headerOptions, lineUndefined
set headerOptions to {¬
"Description", ¬
"Author", ¬
"Link", ¬
"Version", ¬
"Changelo... |
templates/args.asm | RV8V/asm-code | 1 | 101062 | <filename>templates/args.asm
.global _start
.data
.text
_start:
pop %rax
pop %rax
mov %rax, %r8
add $7, %r8
mov $1, %rax
mov $1, %rdi
mov %r8, %rsi
mov $5, %rdx
syscall
mov $60, %rax
mov $0, %rdi
syscall
|
host/sgx/windows/host_context.asm | thomasten/openenclave | 0 | 6348 | ;; Copyright (c) Open Enclave SDK contributors.
;; Licensed under the MIT License.
OE_CONTEXT_FLAGS EQU 00
OE_CONTEXT_RBX EQU 08
OE_CONTEXT_RDI EQU 16
OE_CONTEXT_RSI EQU 24
OE_CONTEXT_R12 EQU 32
OE_CONTEXT_R13 EQU 40
OE_CONTEXT_R14 EQU 48
OE_CONTEXT_R15 EQU 56
OE_CONTEXT_FLOAT ... |
bssn/code/src/bssnbase-coords.adb | leo-brewin/adm-bssn-numerical | 1 | 25379 | <filename>bssn/code/src/bssnbase-coords.adb
package body BSSNBase.Coords is
function x_coord (i : Integer) return Real is
begin
return Real(i-1)*dx;
end x_coord;
function y_coord (j : Integer) return Real is
begin
return Real(j-1)*dy;
end y_coord;
function z_coord (k : Integer) retur... |
source/gmp-q.ads | ytomino/gmp-ada | 4 | 5087 | with GMP.Z;
private with Ada.Finalization;
private with Ada.Streams;
package GMP.Q is
pragma Preelaborate;
type MP_Rational is private;
function Num (X : MP_Rational) return Z.MP_Integer;
function Den (X : MP_Rational) return Z.MP_Integer;
-- formatting
function Image (Value : MP_Rational; Base : Number_B... |
includes/z180intr.asm | grancier/z180_basic | 1 | 179320 | <gh_stars>1-10
;==============================================================================
; Contents of this file are copyright <NAME>
;
; You have permission to use this for NON COMMERCIAL USE ONLY
; If you wish to use it elsewhere, please include an acknowledgement to myself.
;
; https://github.com/feilipu/
;
; ... |
45/runtime/rt/iotty.asm | minblock/msdos | 0 | 1890 | TITLE IOTTY - Console driver for BASCOM-86
;***
; IOTTY - Console driver for BASCOM-86
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
;
; BASIC Syntax mapping to included runtime entry points:
;
; - BEEP Statement:
;
; BEEP
; |
; B$BEEP
;
; - WIDTH Statement:
;
; WIDTH size
; |
; B$WIDT... |
kernel/source/arch/x86_64/amd/svm_low.asm | thomtl/Sigma | 46 | 82972 | [bits 64]
section .text
global _vmrun
_vmrun:
push rax
push rbx
push rcx
push rdx
push rdi
push rbp
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
push rsi
; Restore guest GPR state
mov rbx, qword [rdi + 0x0]
mov rcx, qwor... |
programs/oeis/039/A039305.asm | jmorken/loda | 1 | 95525 | <filename>programs/oeis/039/A039305.asm<gh_stars>1-10
; A039305: Number of distinct quadratic residues mod 8^n.
; 1,3,12,87,684,5463,43692,349527,2796204,22369623,178956972,1431655767,11453246124,91625968983,733007751852,5864062014807,46912496118444,375299968947543,3002399751580332,24019198012642647
mov $3,$0
mov $5,$... |
8086_Reading_Count_Crypt.asm | SDibla/8086-Reading_Text_Count_Occurrences_Apply_Cryptographic | 4 | 10999 | .MODEL small
.STACK
.DATA
first_line DB 50 DUP(?)
second_line DB 50 DUP(?)
third_line DB 50 DUP(?)
fourth_line DB 50 DUP(?)
occurence_first DB 52 DUP (?)
occurence_second DB 52 DUP (?)
occurence_third DB 52 DUP (?)
occurence_fourth DB 52 DUP (?)
max_msg DB "Max character: A (01)",13,10,"Max/2 characte... |
programs/oeis/332/A332113.asm | neoneye/loda | 22 | 98543 | ; A332113: a(n) = (10^(2n+1)-1)/9 + 2*10^n.
; 3,131,11311,1113111,111131111,11111311111,1111113111111,111111131111111,11111111311111111,1111111113111111111,111111111131111111111,11111111111311111111111,1111111111113111111111111,111111111111131111111111111,11111111111111311111111111111,1111111111111113111111111111111
m... |
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sccz80/tshc_saddrcleft.asm | Frodevan/z88dk | 640 | 21098 | ; void *tshc_saddrcleft(void *saddr)
SECTION code_clib
SECTION code_arch
PUBLIC tshc_saddrcleft
EXTERN zx_saddrcleft
defc tshc_saddrcleft = zx_saddrcleft
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _tshc_saddrcleft
defc _tshc_saddrcleft = tshc_saddrcleft
ENDIF
|
I2C_Slave_Code_Dev/I2C_Logger/asm/src/main.asm | CmdrZin/chips_avr_examples | 5 | 693 | /*
* I2C Slave Library Project
*
* org: 10/03/2014
* auth: Nels "Chip" Pearson
*
* Target: R2 Link Board (ATmega164P) or LCD CDM-16100 Display (ATmega328P)
*
*
* Slave Adrs: 0x57
*
*/
.nolist
;;;.include "m164pdef.inc"
.include "m328pdef.inc"
.list
.ORG $0000
rjmp RESET
.ORG OC0Aaddr ; 0x1c TimerCou... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1770.asm | ljhsiun2/medusa | 9 | 167842 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x16963, %rsi
lea addresses_WT_ht+0x1704f, %rdi
nop
nop
nop
sub %r11, %r11
mov $47, %rcx
rep movsb
nop
xor $54936, %rdi
lea addresses_A_ht+0x80a3, %r8
cmp %r12, ... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/p3dos_dosname_from_catname.asm | jpoikela/z88dk | 640 | 21558 | ; char *p3dos_dosname_from_catname(char *dosname, char *catname)
SECTION code_esxdos
PUBLIC _p3dos_dosname_from_catname
EXTERN asm_p3dos_dosname_from_catname
_p3dos_dosname_from_catname:
pop af
pop hl
pop de
push de
push hl
push af
jp asm_p3dos_dosname_from_catname
|
engine/battle/check_battle_scene.asm | Dev727/ancientplatinum | 28 | 21828 | <gh_stars>10-100
CheckBattleScene:
; Return carry if battle scene is turned off.
ld a, BANK(wLinkMode)
ld hl, wLinkMode
call GetFarWRAMByte
cp LINK_MOBILE
jr z, .mobile
ld a, [wOptions]
bit BATTLE_SCENE, a
jr nz, .off
and a
ret
.mobile
ld a, [wcd2f]
and a
jr nz, .from_wram
ld a, 4 ; MBC30 bank used b... |
src/Category/Monad/Either.agda | metaborg/mj.agda | 10 | 16416 | <filename>src/Category/Monad/Either.agda
module Category.Monad.Either {i}(Exc : Set i)(I : Set i) where
open import Level hiding (lift)
open import Data.Sum
open import Category.Monad
open import Category.Monad.Predicate
open import Relation.Unary
open import Relation.Unary.PredicateTransformer
pattern left x = inj... |
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc___fs2sint.asm | ahjelm/z88dk | 640 | 169593 | <gh_stars>100-1000
SECTION code_fp_am9511
PUBLIC cam32_sdcc___fs2sint
PUBLIC cam32_sdcc___fs2schar
EXTERN asm_am9511_f2sint
EXTERN cam32_sdcc_read1
.cam32_sdcc___fs2sint
.cam32_sdcc___fs2schar
call cam32_sdcc_read1
jp asm_am9511_f2sint
|
src/headers.ads | psyomn/afile | 2 | 13398 | <reponame>psyomn/afile
-- Copyright 2017-2019 <NAME> (psyomn)
--
-- 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
--
-- Unless require... |
programs/oeis/238/A238477.asm | karttu/loda | 1 | 173781 | ; A238477: a(n) = 32*n - 27 for n >= 1. Second column of triangle A238475.
; 5,37,69,101,133,165,197,229,261,293,325,357,389,421,453,485,517,549,581,613,645,677,709,741,773,805,837,869,901,933,965,997,1029,1061,1093,1125,1157,1189,1221,1253,1285,1317,1349,1381,1413,1445,1477,1509,1541,1573,1605,1637,1669,1701,1733,1765... |
test/Succeed/Issue3900.agda | cruhland/agda | 1,989 | 9225 | -- Andreas, 2019-07-09, issue #3900
-- Regression introduced by the fix of #3434
-- {-# OPTIONS -v tc.inj:100 #-}
data Bool : Set where
true false : Bool
abstract
data Unit : Set where
unit : Unit
f : Unit
f with true
... | true = unit
... | false = unit
-- Error WAS:
-- Not in Scope: unit
-- Sh... |
puzzle_04/src/puzzle_04.adb | AdaForge/Advent_of_Code_2020 | 0 | 12771 | <filename>puzzle_04/src/puzzle_04.adb
procedure Puzzle_04 is
begin
null;
end Puzzle_04;
|
99bottles/99bottles.asm | adrian-castravete/gb-tests | 1 | 163436 | <reponame>adrian-castravete/gb-tests
SECTION "Beginning", ROM0
INCLUDE "../common/gameboy.inc"
FRAMES_TO_SKIP EQU $10
SECTION "High Ram", HRAM
RSSET $FF80
beers RB 1
controlByte RB 1
skipByte RB 1
scrollStep RB 1
SECTION "VBlank Interrupt", ROM0[$40]
nop
reti
SECTION "START", ROM0[$100]
nop
jp main
INCL... |
cat.asm | vlnvv/xv6-os | 0 | 20336 | <filename>cat.asm<gh_stars>0
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 28 sub $0x28,%esp
int n;
while((n = read(fd, buf, size... |
programs/oeis/183/A183425.asm | jmorken/loda | 1 | 11250 | ; A183425: Half the number of n X 2 0..2 arrays with no element equal its row sum plus its column sum mod 3.
; 3,9,32,129,513,2048,8193,32769,131072,524289,2097153,8388608,33554433,134217729,536870912,2147483649,8589934593,34359738368,137438953473,549755813889,2199023255552,8796093022209,35184372088833,140737488355328,... |
libsrc/_DEVELOPMENT/adt/bv_stack/c/sccz80/bv_stack_clear.asm | teknoplop/z88dk | 8 | 87717 |
; void bv_stack_clear(bv_stack_t *s)
SECTION code_clib
SECTION code_adt_bv_stack
PUBLIC bv_stack_clear
EXTERN asm_bv_stack_clear
defc bv_stack_clear = asm_bv_stack_clear
|
test/Fail/PatternShadowsConstructor2.agda | cruhland/agda | 1,989 | 15308 | module PatternShadowsConstructor2 where
module A where
data A (X : Set) : Set where
c : A X → A X
x : A X
open A using (A; c)
f : ∀ {X} → A X → A X → A X
f (c y) x = x
f A.x _ = A.x
|
alloy4fun_models/trainstlt/models/4/kZt9niN8mptzNBoSB.als | Kaixi26/org.alloytools.alloy | 0 | 5181 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idkZt9niN8mptzNBoSB_prop5 {
all t : Train | t.pos' != t.pos and no (t.pos & Exit) implies (t.pos' in t.pos.prox)
}
pred __repair { idkZt9niN8mptzNBoSB_prop5 }
check __repair { idkZt9niN8mptzNBoSB_prop5 <=> prop5o } |
Ada/server/src/corbacbsg-cbsg-impl.ads | FredPraca/distributed_cbsg | 4 | 11519 | pragma Style_Checks ("NM32766");
pragma Wide_Character_Encoding (Brackets);
---------------------------------------------------
-- This file has been generated automatically from
-- cbsg.idl
-- by IAC (IDL to Ada Compiler) 19.0w (rev. e4bac8d9).
with PortableServer;
with CORBA;
pragma Elaborate_All (CORBA);
packa... |
libsrc/math/genmath/ddiv.asm | grancier/z180 | 0 | 176509 | ;
; Z88dk Generic Floating Point Math Library
;
;
;
; $Id: ddiv.asm,v 1.3 2016/06/21 21:16:49 dom Exp $:
SECTION code_fp
PUBLIC ddiv
EXTERN fdiv
.ddiv
pop hl ;ret address
pop de
pop ix
pop bc
push hl
jp fdiv
|
arch/ARM/Nordic/drivers/nrf51-interrupts.adb | MonadnockSystems/Ada_Drivers_Library | 0 | 3259 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016-2019, AdaCore --
-- --
-- ... |
programs/oeis/184/A184516.asm | jmorken/loda | 1 | 169874 | ; A184516: Lower s-Wythoff sequence, where s=4n-2. Complement of A184517.
; 1,2,4,5,6,7,9,10,11,12,13,15,16,17,18,20,21,22,23,25,26,27,28,30,31,32,33,34,36,37,38,39,41,42,43,44,46,47,48,49,51,52,53,54,56,57,58,59,60,62,63,64,65,67,68,69,70,72,73,74,75,77,78,79,80,81,83,84,85,86,88,89,90,91,93,94,95,96,98,99,100,101,10... |
linking_real_mode/a.asm | ilya101010/asm_studies | 1 | 83235 | format ELF
Use16
org 0x7C00
macro push [arg] { push arg }
macro pop [arg] { pop arg }
start:
cli ; disabling interrupts
mov ax, cs ; segment registers' init
mov ds, ax
mov es, ax
mov ss, ax
mov sp, 0x7C00 ; stack backwards => ok
shl eax,4 ;умножаем на 16
mov ebx,eax... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/z00_title.asm | prismotizm/gigaleak | 0 | 172481 | Name: z00_title.asm
Type: file
Size: 150111
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: CE6AB1AA0765567874F8B23196EB7F17E6659175
Description: null
|
user/mkdir.asm | siyuanhu98/6.S081-xv | 0 | 90383 | <reponame>siyuanhu98/6.S081-xv
user/_mkdir: 文件格式 elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/stat.h"
#include "user/user.h"
int
main(int argc, char *argv[])
{
0: 7179 addi sp,sp,-48
2: f406 sd ra,40(sp)
4: f022 ... |
Mips/Studies/pseudoBranch.asm | otavreis/-Computer-Architecture-and-Organization | 1 | 21309 | <filename>Mips/Studies/pseudoBranch.asm
.data
message: .asciiz "Hi, how are you?"
.text
main:
addi $s0, $zero, 10
#addi $s1, $zero, 14
bgtz $s0, displayHi
#blt $s0, $s1, displayHi # Sudo instruction
# End of main
li $v0, 10
syscall
displayHi:
li $v0, 4
la $a0,... |
ada/original_2008/ada-gui/agar-gui-widget-progress_bar.ads | auzkok/libagar | 286 | 843 | <filename>ada/original_2008/ada-gui/agar-gui-widget-progress_bar.ads
with agar.core.types;
package agar.gui.widget.progress_bar is
use type c.unsigned;
type type_t is (PROGRESS_BAR_HORIZ, PROGRESS_BAR_VERT);
for type_t use (PROGRESS_BAR_HORIZ => 0, PROGRESS_BAR_VERT => 1);
for type_t'size use c.unsigned'si... |
sendmessage.applescript | yadavshubhanshu/bashSpotifyForMac | 0 | 974 | on run {targetBuddy, targetMessage}
tell application "Messages"
set targetService to 1st service whose service type = Jabber
set myid to id of targetService
set myrecipient to buddy targetBuddy of targetService
set mytext to targetMessage
send mytext to myrecipient
--... |
Cubical/Papers/Synthetic.agda | dan-iel-lee/cubical | 0 | 15005 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Papers.Synthetic where
-- Cubical synthetic homotopy theory
-- Mörtberg and Pujet, „Cubical synthetic homotopy theory“.
-- https://dl.acm.org/doi/abs/10.1145/3372885.3373825
-- 2.1
import Agda.Builtin.Cubical.Path as Path
import Cubical.Fo... |
src/main/ada/2019/aoc-aoc_2019-day06.adb | wooky/aoc.kt | 0 | 682 | <gh_stars>0
with Ada.Containers.Hashed_Maps;
with Ada.Containers.Ordered_Sets;
with Ada.Containers.Vectors;
with Ada.Strings.Hash;
with Ada.Text_IO;
with GNAT.String_Split;
package body AOC.AOC_2019.Day06 is
type Planet is new String (1..3);
function Orbit_Maps_Hash (Key : Planet) return Ada.Containers.Hash_... |
Etapa 01/Aula 07 - Controle de Fluxo/codes/a07e04.asm | bellorini/unioeste | 6 | 243985 | ; Aula 07 - Controle de Fluxo de Execucao
; arquivo: a07e04.asm
; objetivo: the evil lowercase papagali code!
; verifica entrada
; se length < 25
; converte string de entrada para lowercase
; apresenta conversao
; senao
; msg de erro e encerra... |
test/Succeed/InstanceArgumentsBraces.agda | cruhland/agda | 1,989 | 5490 | module InstanceArgumentsBraces where
record T' : Set where
record T'' : Set where
field a : T'
testT'' : T''
testT'' = record { a = record {}}
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_70.asm | ljhsiun2/medusa | 9 | 23420 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x88d2, %r9
dec %r13
vmovups (%r9), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rsi
nop
add $45257, %r8
lea addresses_normal_ht+0x11e88, %rsi
lea addresses_WC_ht+0xf87a, %rdi
n... |
Pi/Examples.agda | DreamLinuxer/popl21-artifact | 5 | 17245 | <filename>Pi/Examples.agda
module Pi.Examples where
open import Data.Empty
open import Data.Unit
open import Data.Sum
open import Data.Product
open import Relation.Binary.PropositionalEquality
open import Data.Nat
open import Data.Vec as V hiding (map)
open import Pi.Syntax
open import Pi.Opsem
open import Pi.Eval
pat... |
alloy4fun_models/trashltl/models/9/vvgL6AtLQE4o3LWyW.als | Kaixi26/org.alloytools.alloy | 0 | 5329 | open main
pred idvvgL6AtLQE4o3LWyW_prop10 {
all f:File | f in Protected implies f in Protected'
}
pred __repair { idvvgL6AtLQE4o3LWyW_prop10 }
check __repair { idvvgL6AtLQE4o3LWyW_prop10 <=> prop10o } |
puzzle_18/src/puzzle_18.adb | AdaForge/Advent_of_Code_2020 | 0 | 20392 | <reponame>AdaForge/Advent_of_Code_2020<filename>puzzle_18/src/puzzle_18.adb<gh_stars>0
procedure Puzzle_18 is
begin
null;
end Puzzle_18;
|
oeis/139/A139617.asm | neoneye/loda-programs | 11 | 176365 | ; A139617: a(n) = 136*n + 17.
; 17,153,289,425,561,697,833,969,1105,1241,1377,1513,1649,1785,1921,2057,2193,2329,2465,2601,2737,2873,3009,3145,3281,3417,3553,3689,3825,3961,4097,4233,4369,4505,4641,4777,4913,5049,5185,5321,5457,5593,5729,5865,6001,6137,6273,6409,6545,6681,6817,6953,7089,7225,7361,7497,7633,7769,7905,80... |
tests/inputs/test_dep_inst/test_mult_d_dep_inst/mult_d_dep.asm | danielstumpp/tomasulo-simulator | 0 | 244139 | mult.d, F10, F1, F3
mult.d, F1, F10, F10 |
OldBasicILP/UntypedSyntax/Common.agda | mietek/hilbert-gentzen | 29 | 6980 | <filename>OldBasicILP/UntypedSyntax/Common.agda
module OldBasicILP.UntypedSyntax.Common where
open import Common.UntypedContext public
-- Types parametrised by closed, untyped representations.
module ClosedSyntax
(Proof : Set)
where
infixr 10 _⦂_
infixl 9 _∧_
infixr 7 _▻_
data Ty : Set where
α_ ... |
library/02_functions_batch1/unknown_1000bf47.asm | SamantazFox/dds140-reverse-engineering | 1 | 23619 | <filename>library/02_functions_batch1/unknown_1000bf47.asm
1000bf47: 55 push ebp
1000bf48: 8b ec mov ebp,esp
1000bf4a: 83 ec 10 sub esp,0x10
1000bf4d: 89 7d fc mov DWORD PTR [ebp-0x4],edi
1000bf50: 8b 45 08 mov eax,DWORD PTR [ebp+0x... |
programs/oeis/077/A077447.asm | karttu/loda | 0 | 80922 | ; A077447: Numbers n such that (n^2 - 14)/2 is a square.
; 4,8,16,44,92,256,536,1492,3124,8696,18208,50684,106124,295408,618536,1721764,3605092,10035176,21012016,58489292,122467004,340900576,713790008,1986914164,4160273044,11580584408,24247848256,67496592284
mov $12,$0
mov $14,$0
add $14,1
lpb $14,1
clr $0,12
mov ... |
oeis/146/A146980.asm | neoneye/loda-programs | 11 | 10031 | ; A146980: Nonsquarefree numbers such that n-1 is prime and n+1 is square.
; Submitted by <NAME>
; 8,24,48,80,168,224,360,440,728,840,1088,1224,1368,1848,2208,2400,3024,3720,3968,4760,5040,5624,5928,7920,8648,10608,11448,13688,14160,14640,16128,17160,18224,19320,21024,24024,25920,28560,29928,31328,33488,36480,42024,445... |
test/Fail/Issue543a.agda | KDr2/agda | 0 | 6753 | -- Andreas, bug found 2011-12-31
{-# OPTIONS --irrelevant-projections #-}
module Issue543a where
open import Common.Equality
data ⊥ : Set where
record ⊤ : Set where
constructor tt
data Bool : Set where
true false : Bool
record Squash (A : Set) : Set where
constructor squash
field
.unsquash : A
open ... |
code/6-S-4.asm | gdzhang2012/Assembly-Language-by-Wangshuang | 0 | 103741 | <gh_stars>0
assume cs:code
data segment
dw 0123h,0456h,0789h,0abch,0defh,0fedh,0cbah,0987h
data ends
stack segment
dw 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
stack ends
code segment
start: mov ax,stack
mov ss,ax
mov sp,20h
mov ax,data
mov ds,ax
mov bx,0
mov cx,8
s: push [bx]
add bx,2
loop s
mov bx,0... |
st/src/button.adb | MatrixMike/AdaDemo1 | 1 | 3752 | ------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
programs/oeis/133/A133223.asm | neoneye/loda | 22 | 80335 | <reponame>neoneye/loda
; A133223: Sum of digits of primes (A007605), sorted and with duplicates removed.
; 2,3,4,5,7,8,10,11,13,14,16,17,19,20,22,23,25,26,28,29,31,32,34,35,37,38,40,41,43,44,46,47,49,50,52,53,55,56,58,59,61,62,64,65,67,68,70,71,73,74,76,77,79,80,82,83,85,86,88,89,91,92,94,95,97,98,100,101,103,104,106,1... |
test/Succeed/Issue1833.agda | hborum/agda | 3 | 4578 | <filename>test/Succeed/Issue1833.agda
module _ where
open import Common.Prelude hiding (_>>=_)
open import Common.Reflection
infix -100 This:_ this:_
data This:_ {a} {A : Set a} : A → Set where
this:_ : ∀ x → This: x
macro
runT : Tactic → Tactic
runT m = m
evalT : ∀ {a} {A : Set a} → TC A → Tactic
evalT ... |
tier-1/xcb/source/thin/xcb-xcb_setup_t.ads | charlie5/cBound | 2 | 1369 | -- This file is generated by SWIG. Please do not modify by hand.
--
with Interfaces;
with swig;
with Interfaces.C;
with Interfaces.C.Pointers;
package xcb.xcb_setup_t is
-- Item
--
type Item is record
status : aliased Interfaces.Unsigned_8;
pad0 : alia... |
smsq/sbas/procs/prot.asm | olifink/smsqe | 0 | 89237 | ; SBAS_PROCS_PROT - SBASIC Prot/Slug bits V2.00 1994 <NAME>
section exten
xdef prot_date
xdef prot_mem
xdef slug
xref ut_gxin1
include 'dev8_keys_qdos_sms'
include 'dev8_keys_sys'
;+++
; SLUG n
;---
slug
lea sys_slug+1,a0 (slug 0 to 255 only)
bra.s prot
;+++
; PROT_DATE 0 or 1
;---
prot_date
lea ... |
sk/sfx/63.asm | Cancer52/flamedriver | 9 | 172467 | Sound_63_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Sound_63_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM5, Sound_63_FM5, $00, $01
; FM5 Data
Sound_63_FM5:
smpsSetvoice $00
dc.b nC5, $06, nA4, $16
smpsStop
Sound_63_Voices:
; Voice $00
; $3C
; $05, $01, $0A, $0... |
P6/P6_L0_weak.asm | OliverDu8-24/BUAA-CO-2021 | 1 | 97703 | init:
addu $28,$0,$0
addu $29,$0,$0
addu $30,$0,$0
addu $31,$0,$0
ori $28,$28,4
nop
nop
nop
block_0:
lui $1,0xffff
ori $1,$1,0xaa99
lui $2,0x0000
ori $2,$2,0x787f
nop
nop
nop
addu $26,$1,$2
nop
nop
nop
sw $26,0($29)
addu $29,$29,$28
... |
source/sql/oci/matreshka-internals-sql_drivers-oracle-plug_in.ads | svn2github/matreshka | 24 | 794 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
test/succeed/Parity.agda | asr/agda-kanso | 1 | 1795 |
module Parity where
data ℕ : Set where
zero : ℕ
suc : ℕ -> ℕ
infixl 60 _+_
infixl 70 _*_
_+_ : ℕ -> ℕ -> ℕ
n + zero = n
n + suc m = suc (n + m)
_*_ : ℕ -> ℕ -> ℕ
n * zero = zero
n * suc m = n * m + n
{-# BUILTIN NATURAL ℕ #-}
{-# BUILTIN ZERO zero #-}
{-# BUILTIN SUC suc #-}
{-# BUILTIN NATPLUS _+_ #-}
{-#... |
wof/lcs/base/322.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 26712 | copyright zengfr site:http://github.com/zengfr/romhack
00167E addq.w #1, ($322,A5) [base+32E]
001682 rts [base+322]
008832 beq $8848
008CAC beq $8cca [base+322]
00902A beq $9048 [base+322]
00917A beq $9198 [base+322]
0092B0 beq $92c6 [base+322]
009724 beq $9742 [base+322]
0098F0 beq ... |
Definition/Typed/RedSteps.agda | CoqHott/logrel-mltt | 2 | 7162 | {-# OPTIONS --safe #-}
module Definition.Typed.RedSteps where
open import Definition.Untyped
open import Definition.Typed
-- Concatenation of type reduction closures
_⇨*_ : ∀ {Γ A B C r} → Γ ⊢ A ⇒* B ^ r → Γ ⊢ B ⇒* C ^ r → Γ ⊢ A ⇒* C ^ r
id ⊢B ⇨* B⇒C = B⇒C
(A⇒A′ ⇨ A′⇒B) ⇨* B⇒C = A⇒A′ ⇨ (A′⇒B ⇨* B⇒C)
-- Concatenati... |
models/tests/test41.als | transclosure/Amalgam | 4 | 4672 | module tests/test
open util/ordering[Time] as timeorder
sig PhoneNum{ }
sig emergencyNum extends PhoneNum{}
sig Time {}
abstract sig Event { pre,post: Time }
sig Device {
connectedTo: Device->Time,
num: PhoneNum
}
sig Connect extends Event {
from, to: Device
} {
// Precondition: different device
fr... |
programs/oeis/055/A055328.asm | karttu/loda | 0 | 179183 | ; A055328: Number of rooted identity trees with n nodes and 3 leaves.
; 1,5,13,28,53,91,146,223,326,461,634,851,1119,1446,1839,2307,2859,3504,4252,5114,6100,7222,8492,9922,11525,13315,15305,17510,19945,22625,25566,28785,32298,36123,40278,44781,49651,54908,60571,66661,73199,80206,87704,95716,104264,113372,123064,133364,... |
src/main/antlr4/basic/LittleBasic.g4 | aldidoanta/interpreter | 12 | 5433 | grammar LittleBasic;
import LBExpression, LBTokens;
prog: block EOF;
statement
: letstmt
| printstmt
| inputstmt
| ifstmt
| forstmt
| whilestmt
| repeatstmt
| continuestmt
| exitstmt
| COMMENT;
block
: (statement (NEWLINE+ | EOF))*
;
letstmt
: LET? vardecl EQ expr... |
oeis/247/A247353.asm | neoneye/loda-programs | 11 | 162163 | <filename>oeis/247/A247353.asm
; A247353: Number of paths from (0,1) to the line x = n, each consisting of segments given by the vectors (1,1), (1,2), (1,-1), with vertices (i,k) satisfying 0 <= k <= 3.
; Submitted by <NAME>
; 1,3,5,11,20,40,77,149,291,561,1094,2116,4113,7975,15477,30035,58268,113084,219397,425753,8260... |
programs/oeis/123/A123635.asm | neoneye/loda | 22 | 105032 | ; A123635: Residue mod 3 of average of n-th and (n+1)st odd primes.
; 1,0,0,0,0,0,0,2,0,1,0,0,0,2,2,0,1,0,0,1,0,2,0,0,0,0,0,0,0,0,2,0,0,0,1,1,0,2,2,0,0,0,0,0,1,1,0,0,0,2,0,0,2,2,2,0,1,0,0,0,0,0,0,0,0,1,0,0,0,2,0,1,1,0,2,0,0,0,0,0,0,0,1,0,2,0,0,0,0,2,0,0,0,0,2,2,0,1,1,0
seq $0,24675 ; Average of two consecutive odd pri... |
programs/oeis/071/A071061.asm | neoneye/loda | 22 | 177512 | ; A071061: Abjad values of the Arabic letters in the traditional order for abjad calculations.
; 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100,200,300,400,500,600,700,800,900,1000
mov $3,$0
mov $4,$0
add $4,1
lpb $4
mov $0,$3
sub $4,1
sub $0,$4
mov $2,$0
sub $2,1
div $2,9
mov $5,10
pow $5,$2
add $... |
crypto/bn/x86-gf2m.asm | commshare/openssl-1.1.1k | 0 | 95930 | <gh_stars>0
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
$@feat.00 equ 1
section .text code align=64
%else
section .text code
%endif
;extern _OPENSSL_ia32cap_P
align 16
__mul_1x1_mmx:
sub esp,36
mov ecx,eax
lea edx,[eax*1+eax]
and ecx,1073741823
... |
programs/oeis/111/A111927.asm | neoneye/loda | 22 | 14224 | <gh_stars>10-100
; A111927: Expansion of x^3 / ((x-1)*(2*x-1)*(x^2-x+1)).
; 0,0,0,1,4,10,21,42,84,169,340,682,1365,2730,5460,10921,21844,43690,87381,174762,349524,699049,1398100,2796202,5592405,11184810,22369620,44739241,89478484,178956970,357913941,715827882,1431655764,2863311529,5726623060,11453246122,22906492245,458... |
oeis/016/A016972.asm | neoneye/loda-programs | 11 | 82960 | ; A016972: a(n) = (6*n + 5)^4.
; 625,14641,83521,279841,707281,1500625,2825761,4879681,7890481,12117361,17850625,25411681,35153041,47458321,62742241,81450625,104060401,131079601,163047361,200533921,244140625,294499921,352275361,418161601,492884401,577200625,671898241,777796321,895745041,1026625681,1171350625,1330863361... |
examples/properties/callbacks.ads | glencornell/ada-object-framework | 0 | 23794 | <reponame>glencornell/ada-object-framework
package Callbacks is
procedure On_Change (Value : in Integer);
end Callbacks;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.