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 |
|---|---|---|---|---|
3-mid/impact/source/3d/dynamics/joints/impact-d3-solver_constraint.ads | charlie5/lace | 20 | 19406 | <filename>3-mid/impact/source/3d/dynamics/joints/impact-d3-solver_constraint.ads
limited
with impact.d3.Object.rigid;
with ada.Containers.Vectors;
package impact.d3.solver_Constraint
--
-- 1D constraint along a normal axis between bodyA and bodyB. It can be combined to solve contact and friction constraints.
--
i... |
libsrc/_DEVELOPMENT/string/c/sccz80/strcasecmp.asm | Frodevan/z88dk | 640 | 173629 | <filename>libsrc/_DEVELOPMENT/string/c/sccz80/strcasecmp.asm
; int strcasecmp(const char *s1, const char *s2)
SECTION code_clib
SECTION code_string
PUBLIC strcasecmp
EXTERN asm_strcasecmp
strcasecmp:
pop bc
pop hl
pop de
push de
push hl
push bc
IF __CLASSIC && __CPU_GBZ80__
call asm_strca... |
oeis/220/A220094.asm | neoneye/loda-programs | 11 | 25117 | <reponame>neoneye/loda-programs
; A220094: Sum of the n-digit base-ten numbers whose digits are nonzero.
; Submitted by <NAME>
; 45,4455,404595,36446355,3280467195,295244704755,26572047342795,2391484476085155,215233604784766395,19371024448062897555,1743392200482566077995,156905298044843094701955,14121476824048587852317... |
src/main-draw_control_points.adb | alkhimey/Ada_Curve | 5 | 25634 | <reponame>alkhimey/Ada_Curve
-- The MIT License (MIT)
--
-- Copyright (c) 2016 <EMAIL>
--
-- 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 limita... |
src/gfx/FillRectangle.asm | beckadamtheinventor/BOSos | 1 | 247235 | ;@DOES draws a filled rectangle to the back buffer
;@INPUT BC rectangle width
;@INPUT HL rectangle X coordinate
;@INPUT E rectangle Y coordinate
;@INPUT A rectangle height
;@DESTROYS HL,DE,BC,AF
gfx_FillRectangle:
ld d,LCD_WIDTH / 2
mlt de
add hl,de
add hl,de
ex de,hl
.computed:
ld (ScrapWord),bc
ld hl,LCD_BUFF... |
Assignments/03 - Egg Hunter/testegg.asm | reubensammut/SLAE32 | 1 | 84199 | <filename>Assignments/03 - Egg Hunter/testegg.asm
; Filename: testegg.asm
; Author: <NAME>
; SLAE ID: 510
global _start
section .text
_start:
xor eax, eax
mov ebx, eax
cdq
mov al, 0x4
mov bl, 0x1
push 0x0a
push word 0x293a
push 0x2021656d
push 0x20646e75
push 0x6f662075
push 0x6f59202e
push 0x65746... |
projects/08/FunctionCalls/FibonacciElement/FibonacciElement.asm | WuShaoa/Nand2Tetris | 0 | 244703 | <reponame>WuShaoa/Nand2Tetris
@256
D=A
@SP
M=D
@__Sys.init$return1__
D=A
@SP
A=M
M=D
@SP
M=M+1
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1
@ARG
D=M
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@SP
A=M
M=D
@SP
M=M+1
@SP
D=M
@0
D=D-A
@5
D=D-A
@ARG
M=D
@SP
D=M
@LCL
M=D
@Sys.init
0;JMP
(__Sys.init$return1__)
(Main.fi... |
alloy4fun_models/trashltl/models/15/XMozpKHKDYoz9gqgi.als | Kaixi26/org.alloytools.alloy | 0 | 2637 | open main
pred idXMozpKHKDYoz9gqgi_prop16 {
all f : Protected | historically f in Protected
}
pred __repair { idXMozpKHKDYoz9gqgi_prop16 }
check __repair { idXMozpKHKDYoz9gqgi_prop16 <=> prop16o } |
programs/oeis/174/A174339.asm | neoneye/loda | 22 | 92316 | ; A174339: a(n) = 109*n^2.
; 0,109,436,981,1744,2725,3924,5341,6976,8829,10900,13189,15696,18421,21364,24525,27904,31501,35316,39349,43600,48069,52756,57661,62784,68125,73684,79461,85456,91669,98100,104749,111616,118701,126004,133525,141264,149221,157396,165789,174400,183229,192276,201541,211024,220725,230644,240781,25... |
tests/renderwindow/main.adb | danva994/ASFML-1.6 | 1 | 23507 | with Ada.Text_IO; use Ada.Text_IO;
with Sf.Config; use Sf.Config;
with Sf.Window.Types; use Sf.Window.Types;
with Sf.Window.Window; use Sf.Window.Window;
with Sf.Window.VideoMode; use Sf.Window.VideoMode;
with Sf.Window.Event; use Sf.Window.Event;
with Sf.Window.Input; use Sf.Window.Inp... |
sort.asm | GkHabib/OS_Lab_project3 | 0 | 3606 | <reponame>GkHabib/OS_Lab_project3
_sort: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return str;
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ec... |
src/fx/creditscroll.asm | bitshifters/teletextr | 8 | 173183 |
; vertical credits scroller
; somewhat generalised so will scroll all MODE 7 characters up by one pixel at a time
; then adds new row of pixels at the bottom from a fixed array
; separate routine fills the new line buffer with font data from an array of text
.start_fx_creditscroll
\\ Change these to adjust window t... |
src/test/resources/cpuTests/asmsrc/div.asm | Sophos06/spice86 | 46 | 169025 | <filename>src/test/resources/cpuTests/asmsrc/div.asm<gh_stars>10-100
use16
start:
mov sp,208
; Exception 0 handler
mov word[0],01000h
mov word[2],0f000h
mov bp,208
; div word tests
; easy test
mov dx,00h
mov ax,014h
mov bx,05h
mov word[bp],02h
div bx
add bp,02h
mov word[128],ax
mov word[130],bx
mov word[4],dx
push... |
programs/oeis/084/A084967.asm | karttu/loda | 0 | 168596 | <reponame>karttu/loda<filename>programs/oeis/084/A084967.asm<gh_stars>0
; A084967: Multiples of 5 whose GCD with 6 is 1.
; 5,25,35,55,65,85,95,115,125,145,155,175,185,205,215,235,245,265,275,295,305,325,335,355,365,385,395,415,425,445,455,475,485,505,515,535,545,565,575,595,605,625,635,655,665,685,695,715,725,745,755,7... |
oeis/098/A098358.asm | neoneye/loda-programs | 11 | 95728 | <reponame>neoneye/loda-programs
; A098358: Multiplication table of the triangular numbers read by antidiagonals.
; Submitted by <NAME>
; 1,3,3,6,9,6,10,18,18,10,15,30,36,30,15,21,45,60,60,45,21,28,63,90,100,90,63,28,36,84,126,150,150,126,84,36,45,108,168,210,225,210,168,108,45,55,135,216,280,315,315,280,216,135,55,66,1... |
oeis/017/A017470.asm | neoneye/loda-programs | 11 | 85123 | <gh_stars>10-100
; A017470: a(n) = (11*n + 6)^10.
; 60466176,2015993900449,296196766695424,8140406085191601,97656250000000000,713342911662882601,3743906242624487424,15516041187205853449,53861511409489970176,162889462677744140625,441143507864991563776,1091533853073393531649,2504902718110474036224,5393400662063408511001,... |
Dave/Logic/Bool.agda | DavidStahl97/formal-proofs | 0 | 2912 | <filename>Dave/Logic/Bool.agda
module Dave.Logic.Bool where
data Bool : Set where
false : Bool
true : Bool
¬_ : Bool → Bool
¬ true = false
¬ false = true
_∧_ : Bool → Bool → Bool
a ∧ true = a
a ∧ false = false
if_then_else_ : {A : Set} → Bool → A → A → A
i... |
programs/oeis/120/A120207.asm | neoneye/loda | 22 | 89764 | ; A120207: a(1)=6; a(n)=floor((59+sum(a(1) to a(n-1)))/9).
; 6,7,8,8,9,10,11,13,14,16,17,19,21,24,26,29,33,36,40,45,50,55,61,68,76,84,93,104,115,128,142,158,176,195,217,241,268,298,331,367
mov $2,3
lpb $0
sub $0,1
add $2,$1
mov $1,8
add $1,$2
div $1,9
add $2,6
lpe
add $1,6
mov $0,$1
|
oeis/327/A327629.asm | neoneye/loda-programs | 11 | 7544 | <filename>oeis/327/A327629.asm
; A327629: Expansion of Sum_{k>=1} x^(k*(k + 1)/2) / (1 - x^(k*(k + 1)/2))^2.
; Submitted by <NAME>
; 1,2,4,4,5,9,7,8,12,11,11,18,13,14,21,16,17,27,19,22,29,22,23,36,25,26,36,29,29,50,31,32,44,34,35,55,37,38,52,44,41,65,43,44,64,46,47,72,49,55,68,52,53,81,56,58,76,58,59,100,61,62,87,64,65... |
oeis/014/A014901.asm | neoneye/loda-programs | 11 | 21450 | ; A014901: a(1)=1, a(n) = 18*a(n-1) + n.
; 1,20,363,6538,117689,2118408,38131351,686364326,12354557877,222382041796,4002876752339,72051781542114,1296932067758065,23344777219645184,420205989953613327,7563707819165039902,136146740744970718253,2450641333409472928572,44111544001370512714315,794007792024669228857690,1429214... |
tpantlr2-code/code/reference/Hi.g4 | cgonul/antlr-poc | 10 | 7905 | grammar Hi;
a : 'hi' ;
|
model/mcada/templates/package/t.range_span.ada | cortlandstarrett/mcada | 0 | 16455 | range ${self.minimum} .. ${self.maximum};
|
final practice/f_2017/question5/question5.asm | ConstantinCezB/Computer-Architecture-assembly | 0 | 240972 | <reponame>ConstantinCezB/Computer-Architecture-assembly
include Irvine32.inc
.data
lVar DWORD 3
mVar DWORD 3
nVar DWORD 2
iVar DWORD 1
jVar DWORD 1
kVar DWORD 1
.code
main proc
MOV eax, 1
MOV edx, iVar
do_while_1:
CMP edx, lVar
je end_do_while_1
MOV ebx, jVar
;statment for do_while_1
do_while_2:
... |
code/6502/invaders/audio.asm | visrealm/hbc-56 | 65 | 245265 | <filename>code/6502/invaders/audio.asm
; Troy's HBC-56 - 6502 - Invaders audio
;
; Copyright (c) 2021 <NAME>
;
; This code is licensed under the MIT license
;
; https://github.com/visrealm/hbc-56
;
;
audioInit:
jsr ayInit
+ayWrite AY_PSG0, AY_CHA_AMPL, $0a
+ayWrite AY_PSG0, AY_CHB_AMPL, $0a
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt28.ads | best08618/asylo | 7 | 29724 | -- { dg-do compile }
-- { dg-options "-O2" }
package Opt28 is
function Full_Filename (Filename : String) return String;
end Opt28;
|
src/main/antlr/com/mypalmike/retraction/RetrAction.g4 | mypalmike/RetrAction | 0 | 2445 | grammar RetrAction;
@header {
package com.mypalmike.retraction;
}
DecNum : [0-9]+;
HexNum : '$'[0-9A-F]+;
CharLit : '\''.;
Identifier : [A-Z][A-Z_0-9]*;
DblQuote : '"';
String : '"'.*'"';
And : 'AND';
Or : 'OR';
Xor : 'XOR';
Lsh : 'LSH';
Rsh : 'RSH';
Ampersand : ... |
alloy4fun_models/trashltl/models/11/xrsG4CkM2mzYi2gdz.als | Kaixi26/org.alloytools.alloy | 0 | 174 | <filename>alloy4fun_models/trashltl/models/11/xrsG4CkM2mzYi2gdz.als<gh_stars>0
open main
pred idxrsG4CkM2mzYi2gdz_prop12 {
eventually always all f:File | f not in Trash implies f in Trash'
}
pred __repair { idxrsG4CkM2mzYi2gdz_prop12 }
check __repair { idxrsG4CkM2mzYi2gdz_prop12 <=> prop12o } |
src/Fiery_Hell.asm | Garuflax/FieryHell | 1 | 2085 | ; Integrating the memory architecture of the NES system. This defines the later structure of the NES-ROM
.INCLUDE "nes_memory.inc"
.INCLUDE "nes.inc"
* Fill all unused data with $ 00.
.EMPTYFILL $00
; We now switch to address $ 00 (absolute: $ 00) from BANK 0 to SLOT 0. HEADER
.BANK 0 SLOT 0
.ORG $0000
* Byte 0-Byt... |
sim/func_level/bin/irq_utim64.asm | cpulabs/mist1032isa | 3 | 26969 | <reponame>cpulabs/mist1032isa
./out/irq_utim64.out: file format elf32-mist32
Disassembly of section .text:
00000000 <_start>:
0: 0d 40 00 00 wl16 r0,0x0
4: 0d 60 00 0f wh16 r0,0xf
8: 1c 00 00 00 srspw r0
c: 14 30 00 1a br 74 <target>,#al
00000010 <mem_print>:
10: 0d 40 02 08 wl16 r16,0x8
1... |
Data/Nat/Properties/Extra.agda | banacorn/numeral | 1 | 11224 | module Data.Nat.Properties.Extra where
open import Data.Nat
open import Data.Product
open import Data.Nat.Properties
open import Data.Nat.Properties.Simple
open import Function
open import Level using ()
open import Relation.Binary
open import Relation.Binary.Core
open import Relation.Nullary.Negation
open import Rela... |
CSE3030: Assembly Programming/Lecture Notes and Codes From Text/Ch3 - Assembly Language Fundamentals/3.2.3_Template.asm | yoonBot/Sogang-CSE | 1 | 8499 | ; Program template (Template.asm)
.386
.model flat, stdcall
.stack 4096
ExitProcess PROTO, dwExitCode:DWORD
.data
; declare variables here
.code
main PROC
; write your code here
INVOKE ExitProcess, 0
main ENDP
END main |
libsrc/_DEVELOPMENT/math/float/math16/z80/asm_f16_ldexp.asm | Frodevan/z88dk | 640 | 241002 | <gh_stars>100-1000
;
; feilipu, 2019 May
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
;-----------------------------------------------------------------------... |
text/maps/silph_co_9f.asm | adhi-thirumala/EvoYellow | 16 | 171119 | _SilphCo9Text_5d8e5::
text "You look tired!"
line "You should take a"
cont "quick nap!"
prompt
_SilphCo9Text_5d8ea::
text "Don't give up!"
done
_SilphCo9Text_5d8ef::
text "Thank you so"
line "much!"
done
_SilphCo9BattleText1::
text "Your #MON seem"
line "to adore you, kid!"
done
_SilphCo9EndBattleText1:... |
Test/SDCC/test1.asm | sparks-c16/zasm | 43 | 81724 | ;
; Example C project for use with zasm
; (c) 2014 - 2017 <EMAIL>
;
; NOTE:
; this file is not included in the zasm self test
; because SDCC generates different code every time.
;
; declare target:
;
#target rom
; setup SDCC:
;
#cpath "sdcc"
#cflags $CFLAGS --nostdinc -Iinclude --reserve-regs-iy
; define rom... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-poosiz.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 25226 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Kernel/asm/lock.asm | tsoracco/gatOS.v2 | 0 | 243178 | <gh_stars>0
;lock.asm
GLOBAL _testAndSet
GLOBAL _unlocked
; returns 1 if lock acquired, else 0
_testAndSet:
push rbp
mov rbp, rsp
xor edx, edx
xor eax, eax
xor ecx, ecx
xor ebx, ebx
inc ebx
lock CMPXCHG8B [rdi]
jnz .lockNotAcquired
mov rax, 1
mo... |
source/tasking/required/s-taasde.adb | ytomino/drake | 33 | 7087 | package body System.Tasking.Async_Delays is
function Enqueue_Duration (
T : Duration;
D : not null access Delay_Block)
return Boolean is
begin
raise Program_Error; -- unimplemented
return Enqueue_Duration (T, D);
end Enqueue_Duration;
procedure Cancel_Async_Delay (D : not nul... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca.log_21829_517.asm | ljhsiun2/medusa | 9 | 171952 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x7c89, %rsi
lea addresses_D_ht+0xec89, %rdi
add $33627, %rbp
mov $34, %rcx
rep movsb
nop
nop
nop
nop
xor $48708, %r13
lea addresses_normal_ht+0xba39, %rsi
nop
sub $13071, %r1... |
rando/src/asm/no-downgrade.asm | konkers/neutopia | 1 | 160426 | arch pce.cpu
macro seek(variable offset) {
origin (offset - $6000)
base offset
}
seek($ddf1);
get_sword_handler:
dw handle_upgradeable_item
dw handle_upgradeable_item
dw handle_upgradeable_item
seek($df52);
handle_upgradeable_item:
ldx $35d0 // chest item id
lda $35d1 // chest arg
// ... |
oeis/201/A201774.asm | neoneye/loda-programs | 11 | 97323 | <reponame>neoneye/loda-programs
; A201774: Decimal expansion of 1/(Pi + 1).
; Submitted by <NAME>(m2)
; 2,4,1,4,5,3,0,0,7,0,0,5,2,2,3,8,5,4,6,5,5,5,6,9,3,1,0,9,5,5,1,0,7,1,3,5,8,6,1,5,7,3,6,3,4,3,5,9,4,6,9,0,0,3,3,3,1,0,1,1,7,8,6,2,1,7,4,5,1,8,6,2,8,9,9,0,4,2,6,2,3,6,7,9,3,6,6,8,2,5,9,8,4,6,4,4,2,2,7,5
seq $0,197726 ;... |
Task/Loops-Break/AppleScript/loops-break.applescript | mullikine/RosettaCodeData | 1 | 135 | <filename>Task/Loops-Break/AppleScript/loops-break.applescript
repeat
set a to random number from 0 to 19
if a is 10 then
log a
exit repeat
end if
set b to random number from 0 to 19
log a & b
end repeat
|
tools/files/applib/src/32bit/scheck.asm | nehalem501/gendev | 2,662 | 164338 | ;;
;; aPLib compression library - the smaller the better :)
;;
;; fasm safe assembler crc checker
;;
;; Copyright (c) 1998-2014 <NAME>
;; All Rights Reserved
;;
;; http://www.ibsensoftware.com/
;;
format MS COFF
public aPsafe_check as '_aPsafe_check'
extrn '_aP_crc32' as aP_crc32
; ==============... |
setoid-cats/Basics.agda | heades/AUGL | 0 | 15074 | -------------------------------------------
-- This file contains basic definitions. --
-------------------------------------------
module Basics where
open import Level
data ⊥-poly {l : Level} : Set l where
⊥-poly-elim : ∀ {l w} {Whatever : Set w} → ⊥-poly {l} → Whatever
⊥-poly-elim ()
|
programs/oeis/092/A092263.asm | jmorken/loda | 1 | 87347 | <filename>programs/oeis/092/A092263.asm<gh_stars>1-10
; A092263: a(1)=1, a(n+1)=ceiling(phi*a(n))+1 if a(n) is odd, a(n+1)=ceiling(phi*a(n)) if a(n) is even, where phi=(1+sqrt(5))/2.
; 1,3,6,10,17,29,48,78,127,207,336,544,881,1427,2310,3738,6049,9789,15840,25630,41471,67103,108576,175680,284257,459939,744198,1204138,19... |
ffight/lcs/enemy/AA.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 16810 | copyright zengfr site:http://github.com/zengfr/romhack
0073F4 bsr $7ad2
009ACA dbra D5, $9ac8
02705A tst.b ($40,A6)
02A31E move.b D0, ($aa,A6)
02A322 move.b D0, ($ab,A6)
02AF22 move.w D1, ($1a,A6)
02AF56 rts [enemy+AA]
02AF6E rts [enemy+AA]
copyright zengfr site:http://github.com/zengfr/romha... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca.log_21829_647.asm | ljhsiun2/medusa | 9 | 240982 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x18b5a, %rsi
lea addresses_WT_ht+0x1c4a, %rdi
nop
nop
nop
nop
nop
and %rbx, %rbx
mov $75, %rcx
rep movsq
nop
add %r11, %r11
lea addresses_WT_ht+0x9ee9, %r9
clflush (%r9)
nop
x... |
alloy4fun_models/trashltl/models/7/AfCFTqJFRfu8uDK9p.als | Kaixi26/org.alloytools.alloy | 0 | 2263 | open main
pred idAfCFTqJFRfu8uDK9p_prop8 {
eventually always File.link in Trash
}
pred __repair { idAfCFTqJFRfu8uDK9p_prop8 }
check __repair { idAfCFTqJFRfu8uDK9p_prop8 <=> prop8o } |
ugbc/src/hw/ef936x/put_image.asm | spotlessmind1975/ugbasic | 10 | 1691 | <filename>ugbc/src/hw/ef936x/put_image.asm
; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 <NAME> (<... |
test/Succeed/Issue263b.agda | cruhland/agda | 1,989 | 15938 | <filename>test/Succeed/Issue263b.agda
-- Datatype modules weren't added as sections properly.
module Issue263b where
module M (A : Set) where
data D : Set where
postulate A : Set
open M.D A
-- The module M.D is not parameterized, but is being applied to
-- arguments
-- when checking the module application module ... |
programs/oeis/324/A324772.asm | karttu/loda | 1 | 5516 | <filename>programs/oeis/324/A324772.asm<gh_stars>1-10
; A324772: The "Octanacci" sequence: Trajectory of 0 under the morphism 0->{0,1,0}, 1->{0}.
; 0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,... |
tsr22.asm | Dhananjay8/MIT_lab | 0 | 81393 | .model tiny
.stack 100
.code ;start of code segment
org 100h
jmp init
resident_part:
push ax
push bx
push cx
push dx
push es
push di
mov ax,0b800h ;start of DOS display RAM.
mov es,ax ;position on screen.
mov di,3660
mov ah,02h ;gives RTC time
int 1ah
mov al,ch ... |
src/Categories/Object/Zero.agda | MirceaS/agda-categories | 0 | 10586 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
-- a zero object is both terminal and initial.
module Categories.Object.Zero {o ℓ e} (C : Category o ℓ e) where
open import Level using (_⊔_)
open import Categories.Object.Terminal C
open import Categories.Object.Initial C
open Category C
record Z... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/z00_mut1.asm | prismotizm/gigaleak | 0 | 11195 | <filename>other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/z00_mut1.asm
Name: z00_mut1.asm
Type: file
Size: 149479
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: 53F22F18712BA63430F58695F8C3A20A4916B395
Description: null
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/capture_value.adb | best08618/asylo | 7 | 14572 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/capture_value.adb
-- { dg-do run }
procedure capture_value is
x : integer := 0;
begin
declare
z : integer renames x;
begin
z := 3;
x := 5;
z := z + 1;
if z /= 6 then
raise Program_Error;
end if;
end;
end;
|
libsrc/oz/ozserial/ozserialout.asm | jpoikela/z88dk | 640 | 172593 | <gh_stars>100-1000
;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by <NAME>
; by <NAME> - Oct. 2003
;
; Serial libraries
;
;
; ------
; $Id: ozserialout.asm,v 1.3 2016-06-27 21:25:36 dom Exp $
;
SECTION code_clib
PUBLIC ozserialout
PUBLIC _ozserialout
ozserialout:
_ozserialout:
ld ... |
oeis/070/A070951.asm | neoneye/loda-programs | 11 | 10814 | <reponame>neoneye/loda-programs
; A070951: Number of 0's in n-th row of triangle in A070950.
; Submitted by <NAME>
; 0,0,2,1,5,2,8,3,10,7,10,9,13,8,16,9,18,16,17,15,20,20,22,19,23,24,27,22,27,25,30,24,39,28,40,25,41,31,39,34,34,42,40,38,51,36,51,44,53,46,58,44,53,47,60,46,56,55,61,50,60,53,66,49,65,75,68,66,68,72,64,65... |
programs/oeis/224/A224999.asm | karttu/loda | 1 | 27814 | ; A224999: Duplicate of A001651.
; 1,2,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,107,109,110,112,113,115,116,118,119,121,122,124,125,127,128,130,131,133,1... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48_notsx.log_4_1676.asm | ljhsiun2/medusa | 9 | 166346 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xa0a6, %rsi
lea addresses_D_ht+0x13ea6, %rdi
nop
nop
nop
nop
sub %r8, %r8
mov $59, %rcx
rep movsq
nop
nop
nop
add $28957, %r12
lea addresses_WC_ht+0x44a6, %rdx
nop
and $42... |
2-low/collada/source/collada-libraries.ads | charlie5/lace | 20 | 2894 | <reponame>charlie5/lace
with
collada.Library.geometries,
collada.Library.controllers,
collada.Library.animations,
collada.Library.visual_scenes;
package collada.Libraries
--
-- Provides a container for the specific collada library packages.
--
is
type Item is
record
Geometries ... |
Conditional Program/AddSubDivMultiply.asm | MINHDUC1996/AssemblyFundamental | 1 | 89986 | ; EX5_ADD_SUB_MUL_DIV
;
;--------------------------------------
include \masm32\include\masm32rt.inc
;--------------------------------------
.code
start:
call main
exit
;-------------------------------------
main proc
LOCAL var1: DWORD
LOCAL var2: DWORD
LOCAL sumint:DWORD
LOCAL subint:DWOR... |
src/syscalls/ewok-syscalls-exiting.adb | vdh-anssi/ewok-kernel | 65 | 30177 | <reponame>vdh-anssi/ewok-kernel<filename>src/syscalls/ewok-syscalls-exiting.adb<gh_stars>10-100
--
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ... |
libsrc/_DEVELOPMENT/arch/zx/ulaplus/c/sccz80/ulap_read_color.asm | jpoikela/z88dk | 640 | 102334 | <filename>libsrc/_DEVELOPMENT/arch/zx/ulaplus/c/sccz80/ulap_read_color.asm
; unsigned char ulap_read_color(unsigned char pent)
SECTION code_clib
SECTION code_arch
PUBLIC ulap_read_color
EXTERN asm_ulap_read_color
defc ulap_read_color = asm_ulap_read_color
|
src/pletter.asm | santiontanon/triton | 41 | 165396 | ;-----------------------------------------------
; pletter v0.5c msx unpacker
; call unpack with hl pointing to some pletter5 data, and de pointing to the destination.
; changes all registers
; code from: https://github.com/uniabis/z80depacker/blob/master/unpletter_180.asm
GETBIT: MACRO
add a,a
call z,getbit
E... |
third_party/boringssl-with-bazel/win-x86/crypto/fipsmodule/x86-mont.asm | Crazycuo/grpc | 91 | 162235 | %ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
%ifdef __YASM_VERSION_ID__
%if __YASM_VERSION_ID__ < 01010000h
%error yasm version 1.1.0 or later needed.
%endif
; Yasm automatically includes .00 and complains about redefining it.
; https://www.tortall.net/projects/ya... |
2IMA/SystemesConcurrents/tp6/gtk-builder.adb | LagOussama/enseeiht | 1 | 23971 | -----------------------------------------------------------------------
-- GtkAda - Ada95 binding for Gtk+/Gnome --
-- --
-- Copyright (C) 2010, AdaCore --
-- ... |
libsrc/_DEVELOPMENT/arch/sms/globals/z80/_GLOBAL_SMS_VRAM_SPRITE_ATTRIBUTE_TABLE_ADDRESS.asm | jpoikela/z88dk | 640 | 96837 | INCLUDE "config_private.inc"
SECTION data_arch
PUBLIC _GLOBAL_SMS_VRAM_SPRITE_ATTRIBUTE_TABLE_ADDRESS
_GLOBAL_SMS_VRAM_SPRITE_ATTRIBUTE_TABLE_ADDRESS:
defw __SMS_VRAM_SPRITE_ATTRIBUTE_TABLE_ADDRESS
|
Parser_Tools/test/src/text-chunk_test.adb | robdaemon/AdaYaml | 32 | 25816 | -- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with Ada.Text_IO;
with AUnit.Assertions; use AUnit.Assertions;
package body Text.Chunk_Test is
procedure Register_Tests (T : in out TC) is
use AUnit.Test_Cases.Registration;
begin
Registe... |
oeis/017/A017997.asm | neoneye/loda-programs | 11 | 166262 | ; A017997: Expansion of 1/((1-3x)(1-7x)(1-8x)).
; Submitted by <NAME>
; 1,18,223,2364,23053,213654,1914571,16756128,144132505,1223664090,10283600119,85728989892,710053773157,5849984757726,47986764852067,392202340697256,3195776321789809,25973313876940962,210636234521305615,1705037941873151820,13779939998390947261,111216... |
_anim/Lava Geyser.asm | kodishmediacenter/msu-md-sonic | 9 | 92647 | <filename>_anim/Lava Geyser.asm
; ---------------------------------------------------------------------------
; Animation script - geyser of lava (MZ)
; ---------------------------------------------------------------------------
Ani_Geyser: dc.w @bubble1-Ani_Geyser
dc.w @bubble2-Ani_Geyser
dc.w @end-Ani_Geyser
dc... |
out/euler32.adb | FardaleM/metalang | 22 | 27322 |
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure euler32 is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
String'Write (Text_Streams.S... |
oeis/032/A032812.asm | neoneye/loda-programs | 11 | 178341 | ; A032812: Numbers whose set of base-12 digits is {2,3}.
; Submitted by <NAME>(s3)
; 2,3,26,27,38,39,314,315,326,327,458,459,470,471,3770,3771,3782,3783,3914,3915,3926,3927,5498,5499,5510,5511,5642,5643,5654,5655,45242,45243,45254,45255,45386,45387,45398,45399,46970,46971,46982,46983,47114,47115,47126,47127,65978,65979... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_146.asm | ljhsiun2/medusa | 9 | 100539 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x18c71, %r12
nop
nop
nop
nop
inc %rcx
movl $0x61626364, (%r12)
nop
nop
dec %r15
lea addresses_UC_ht+0x3e99, %rcx
nop
cmp $31632, %r8
mov $0x6162636465666768, %r12
movq %r12, %... |
programs/oeis/001/A001816.asm | jmorken/loda | 1 | 17367 | <filename>programs/oeis/001/A001816.asm
; A001816: Coefficients of x^n in Hermite polynomial H_{n+4}
; 12,120,720,3360,13440,48384,161280,506880,1520640,4392960,12300288,33546240,89456640,233963520,601620480,1524105216,3810263040,9413591040,23011000320,55710842880,133706022912,318347673600,752458137600,1766640844800,41... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_28_2436.asm | ljhsiun2/medusa | 9 | 81863 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_28_2436.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x276c, %r14
nop
nop
nop
cmp %rsi, %rsi
mov (%r14), %r8w
nop
nop
nop
and %... |
programs/oeis/136/A136298.asm | neoneye/loda | 22 | 26479 | ; A136298: a(n) = 3*a(n-1) - 4*a(n-3), with a(0)=1, a(1)=2, a(2)=4, a(3)=9.
; 1,2,4,9,19,41,87,185,391,825,1735,3641,7623,15929,33223,69177,143815,298553,618951,1281593,2650567,5475897,11301319,23301689,48001479,98799161,203190727,417566265,857502151,1759743545,3608965575,7396888121,15151690183,31019208249,63470072263,... |
Cubical/Experiments/Combinatorics.agda | FernandoLarrain/cubical | 1 | 3502 | {-
Computable stuff constructed from the Combinatorics of Finite Sets
-}
{-# OPTIONS --safe #-}
module Cubical.Experiments.Combinatorics where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Data.Nat
open import Cubical.Data.Sum
open import Cubical.Data.Sigma
open... |
libsrc/target/gb/gbdk/y_table.asm | Frodevan/z88dk | 640 | 22757 | <gh_stars>100-1000
SECTION rodata_driver
PUBLIC y_table
y_table:
defw 0x8100,0x8102,0x8104,0x8106,0x8108,0x810A,0x810C,0x810E
defw 0x8240,0x8242,0x8244,0x8246,0x8248,0x824A,0x824C,0x824E
defw 0x8380,0x8382,0x8384,0x8386,0x8388,0x838A,0x838C,0x838E
defw 0x84C0,0x84C2,0x84C4,0... |
oeis/017/A017714.asm | neoneye/loda-programs | 11 | 24500 | <reponame>neoneye/loda-programs
; A017714: Binomial coefficients C(n,50).
; 1,51,1326,23426,316251,3478761,32468436,264385836,1916797311,12565671261,75394027566,418094152866,2160153123141,10468434365991,47855699958816,207374699821536,855420636763836,3371363686069236,12736262814039336,46252743903616536,16188460366265787... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/stack_usage3_pkg.ads | best08618/asylo | 7 | 9918 | package Stack_Usage3_Pkg is
subtype Small_String is String (1..80);
function Diag (S : String) return Small_String;
end Stack_Usage3_Pkg;
|
oeis/157/A157795.asm | neoneye/loda-programs | 11 | 25864 | ; A157795: Largest subset of the discrete triangular grid { (a,b,c): a+b+c = n, a,b,c >= 0 } that does not contain any upward-pointing triangles (i.e., triples (a+r,b,c), (a,b+r,c), (a,b,c+r) with r positive).
; 1,2,4,6,9,12,15,18,22,26,31,35,40
add $0,8
mov $2,4
add $2,$0
bin $0,3
add $2,2
div $0,$2
sub $0,3
|
testbed/conversion.g4 | wroldwiedbwe/vfp2py | 36 | 5513 | parser grammar conversion;
options { tokenVocab=conversionLexer; }
conversionTests: conversionTest*;
conversionTest: FoxStart FoxLine* FoxEnd PyStart PyLine* PyEnd;
|
Transynther/x86/_processed/AVXALIGN/_st_4k_/i3-7100_9_0xca_notsx.log_21829_177.asm | ljhsiun2/medusa | 9 | 19457 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x139f8, %rsi
lea addresses_WC_ht+0x4204, %rdi
add %r10, %r10
mov $69, %rcx
rep movsq
nop
nop
nop
and %r15, %r15
lea addresses_D_ht+0x11509, %rsi
lea addresses_A_ht+0x1df04... |
src/bintoasc.adb | jhumphry/Ada_BinToAsc | 0 | 27167 | <filename>src/bintoasc.adb
-- BinToAsc
-- Binary data to ASCII codecs
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
with Ada.Characters.Handling;
package body BinToAsc is
use Ada.Characters.Handling;
function To_String (Input : in Bin_Array) return String is
C : Codec;
Buffer_Lengt... |
Assembly/textures/selectWindow_return.asm | WildGenie/Ninokuni | 14 | 29627 | <filename>Assembly/textures/selectWindow_return.asm<gh_stars>10-100
;; Modify the subimages position of the texture battles images.
;
; Arguments of v3d_setSubImage function:
; + R0: Sprite struct
; + R1: Frame index
; + R2: Layer index
; + R3: X Start
; + SP+00: Y Start
; + SP+04: X End
; + SP+08: Y End... |
Categories/Power.agda | copumpkin/categories | 98 | 2181 | <reponame>copumpkin/categories
{-# OPTIONS --universe-polymorphism #-}
open import Level hiding (suc; zero)
open import Categories.Category
module Categories.Power {o ℓ e : Level} (C : Category o ℓ e) where
open import Function using () renaming (id to idf)
open import Data.Nat using (ℕ; _+_; zero; suc; _≤?_)
open imp... |
SCS3211/Excercises/ex08.asm | UdeshUK/UCSC-CS | 6 | 246961 | .text
li $t0,0
start:
beq $t0,10,exit
la $a0,prompt
li $v0,4
syscall
li $v0,5
syscall
mulu $t1,$t0,4
la $t2,arr
addu $t2,$t2,$t1
sw $v0,($t2)
addiu $t0,$t0,1
j start
exit:
li $v0,10
syscall
.data
prompt: .asciiz "Enter number: "
arr: .word 0:10 |
gfx/pokemon/kirlia/anim_idle.asm | Ebernacher90/pokecrystal-allworld | 0 | 166354 | frame 4, 06
frame 0, 06
frame 4, 06
endanim
|
bb-runtimes/src/a-intnam__8321e.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 10471 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
Project-Einstein/src/E-Assembly/src/StringTrim.nasm | FelixLuciano/Elements-of-Computing-Systems | 0 | 163745 | ; Arquivo: trim.nasm
; Curso: Elementos de Sistemas
; Criado por: <NAME>
; Data: 28/03/2018
; Log :
; - <NAME> portado para Z01
;
; Assuma que temos uma string salva
|
courses/spark_for_ada_programmers/labs/answers/150_crossing_the_spark_boundary/crypto.adb | AdaCore/training_material | 15 | 27638 | <filename>courses/spark_for_ada_programmers/labs/answers/150_crossing_the_spark_boundary/crypto.adb<gh_stars>10-100
pragma Ada_2012;
with Interfaces.C;
use type Interfaces.C.int;
package body Crypto with
SPARK_Mode,
Refined_State => (key_store => null)
is
-------------
-- loadkey --
-------------
pr... |
Control/Monad/HeapT/Sized.agda | oisdk/agda-playground | 6 | 16801 | {-# OPTIONS --cubical --no-positivity-check --no-termination-check --allow-unsolved-metas #-}
open import Prelude
open import Algebra
open import Algebra.Monus
open import Relation.Binary
open import Data.Maybe
open import Data.List using (List; _∷_; []; foldr)
module Control.Monad.HeapT.Sized
{ℓ}
(mon : CTMAPOM ... |
adium/ASUnitTests/GetAdiumsName.applescript | sin-ivan/AdiumPipeEvent | 0 | 66 | <filename>adium/ASUnitTests/GetAdiumsName.applescript
global HandyAdiumScripts
on run
tell application "Adium"
if (get name) is not "Adium" then error
end tell
end run |
awa/plugins/awa-images/regtests/awa-images-services-tests.adb | Letractively/ada-awa | 0 | 13419 | <filename>awa/plugins/awa-images/regtests/awa-images-services-tests.adb
-----------------------------------------------------------------------
-- awa-storages-services-tests -- Unit tests for storage service
-- Copyright (C) 2012, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache Lice... |
src/fot/FOTC/Data/Bool/PropertiesATP.agda | asr/fotc | 11 | 11798 | ------------------------------------------------------------------------------
-- The Booleans properties
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# O... |
oeis/222/A222716.asm | neoneye/loda-programs | 11 | 97715 | <filename>oeis/222/A222716.asm<gh_stars>10-100
; A222716: Numbers which are both the sum of n+1 consecutive triangular numbers and the sum of the n-1 immediately following triangular numbers.
; Submitted by <NAME>
; 0,10,100,460,1460,3710,8120,15960,28920,49170,79420,122980,183820,266630,376880,520880,705840,939930,123... |
libsrc/target/sms/stdio/fputc_cons.asm | dikdom/z88dk | 1 | 98460 | SECTION code_clib
PUBLIC fputc_cons_native
EXTERN l_tms9918_disable_interrupts
EXTERN l_tms9918_enable_interrupts_jp
INCLUDE "target/sms/sms.hdr"
EXTERN CONSOLE_YOFFSET
EXTERN CONSOLE_XOFFSET
PUBLIC fputc_vdp_offs
.fputc_cons_native
call l_tms9918_disable_interrupts
ld a, (fputc_vdp_off... |
tests/src/tc.adb | persan/AUnit-addons | 0 | 19829 | <gh_stars>0
package body Tc is
use Aunit;
function Name (Test : Test_Case) return AUnit.Message_String is
begin
return Format ("test");
end Name;
procedure Test_Routine (Tc : in out AUnit.Test_Cases.Test_Case'Class) is
begin
null;
end;
procedure Register_Tests (Test : in out Test_Cas... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1118.asm | ljhsiun2/medusa | 9 | 99619 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x16a98, %rsi
nop
nop
xor $30170, %r9
movw $0x6162, (%rsi)
nop
add $44198, %r11
lea addresses_D_ht+0xab38, %r11
nop
nop
nop
nop
nop
and %rdi, %rdi
vmovups (%r11... |
courses/fundamentals_of_ada/labs/solar_system/190_exceptions/answers/solar_system.adb | AdaCore/training_material | 15 | 8321 | <filename>courses/fundamentals_of_ada/labs/solar_system/190_exceptions/answers/solar_system.adb<gh_stars>10-100
-----------------------------------------------------------------------
-- Ada Labs --
-- ... |
HW2-MIPS Assembly Language/source/hw2.asm | akifkartal03/CSE331-Computer-Organization | 1 | 335 | <reponame>akifkartal03/CSE331-Computer-Organization
.data
#int arr[MAX_SIZE];
arr: .space 400 # MAX_SIZE is 100, it can be modified.(400=100*4).
subset: .space 400 #for bonus part
pos: .asciiz "Possible!"
notPos: .asciiz "Not possible!"
msg1: .asciiz "Enter size of Array:"
msg2: .asciiz "Enter target sum numbe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.