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 |
|---|---|---|---|---|
test/src/test_tiles_window.adb | Fabien-Chouteau/Giza | 7 | 16793 | with Giza.Colors; use Giza.Colors;
with Giza.Widget;
with Giza.Widget.Button;
with Giza.Types; use Giza.Types;
use Giza;
package body Test_Tiles_Window is
-------------
-- On_Init --
-------------
overriding procedure On_Init
(This : in out Tiles_Window)
is
function New_Text (Str : String) ... |
programs/oeis/256/A256737.asm | neoneye/loda | 22 | 105124 | ; A256737: Number of composites lying between successive pairs of primes, beginning with pair (2,3). Bisection of A046933.
; 0,1,1,1,5,5,1,5,1,3,5,5,3,3,3,3,1,1,5,5,1,1,1,11,1,5,9,5,1,3,9,3,3,5,1,5,5,3,7,7,1,1,3,7,1,11,3,3,11,17,9,5,5,5,1,5,1,9,3,5,11,5,9,9,5,3,5,7,13,11,9,3,9,3,3,3,3,3,9,3,5,3,5,5,3,1,1,9,9,5,3,3,5,5,... |
wof/lcs/enemy/29.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 167222 | copyright zengfr site:http://github.com/zengfr/romhack
002A44 cmpi.b #$4, ($29,A1) [base+2A6, base+2C6, base+2E6]
002A4A bne $2a84 [123p+ 29, enemy+29]
002A52 bne $2a84 [123p+ 29, enemy+29]
0042C6 bne $42da [enemy+29]
0042D6 st ($188,A5) [enemy+29]
004340 bne $437a [enemy+29]
004372 addq.b ... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_251.asm | ljhsiun2/medusa | 9 | 171763 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xa4ef, %rdi
nop
nop
nop
nop
cmp $17827, %r13
mov (%rdi), %r8w
nop
nop
nop
sub %r9, %r9
lea addresses_normal_ht+0x2cdf, %r10
nop
and $37886, %rdi
movb (%r10), %r13b
nop
and %r9, ... |
src/arch/socs/stm32f439/soc-devmap.adb | PThierry/ewok-kernel | 65 | 10005 | <filename>src/arch/socs/stm32f439/soc-devmap.adb
with soc.dma; use soc.dma;
package body soc.devmap
with spark_mode => off
is
function find_periph
(addr : system_address;
size : unsigned_32)
return t_periph_id
is
begin
for id in periphs'range loop
if periphs(id).add... |
ADL/Assemble/Insert/1/R~H~R_insert_rear.asm | MaxMorning/LinkedListVisualization | 3 | 29305 | aLine 0
nNew newNodePtr, {0:D}
aLine 1
gBne Root, null, 9
aLine 2
gMove Root, newNodePtr
aLine 3
pSetNext newNodePtr, newNodePtr
aLine 4
gDelete newNodePtr
aStd
Halt
aLine 6
gNew currentPtr
gMove currentPtr, Root
gNewVPtr currentNext
gMoveNext currentNext, currentPtr
aLine 7
gBeq currentNext, Root, 5
aLine 8
gMo... |
oeis/350/A350387.asm | neoneye/loda-programs | 11 | 244951 | ; A350387: a(n) is the sum of the odd exponents in the prime factorization of n.
; Submitted by <NAME>
; 0,1,1,0,1,2,1,3,0,2,1,1,1,2,2,0,1,1,1,1,2,2,1,4,0,2,3,1,1,3,1,5,2,2,2,0,1,2,2,4,1,3,1,1,1,2,1,1,0,1,2,1,1,4,2,4,2,2,1,2,1,2,1,0,2,3,1,1,2,3,1,3,1,2,1,1,2,3,1,1,0,2,1,2,2,2,2,4,1,2,2,1,2,2,2,6,1,1,1,0
seq $0,350389 ... |
dino/lcs/enemy/B5.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 13665 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
03B89C move.b D0, ($b5,A6) [enemy+72]
03B8A0 jsr $32032.l
03BBCE subq.b #1, ($b5,A6)
03BBD2 bne $3bbe6 [enemy+B5]
03BBD4 move.b #$c8, ($b5,A6)
03BBDA btst #$7, ($50,A6) [enem... |
Transynther/x86/_processed/P/_zr_/i3-7100_9_0x84_notsx.log_1_2532.asm | ljhsiun2/medusa | 9 | 161003 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rdx
// Store
lea addresses_normal+0x2837, %rcx
nop
nop
nop
inc %r14
movw $0x5152, (%rcx)
nop
nop
nop
cmp %r9, %r9
// Faulty Load
mov $0x437, %r12
no... |
Universe/Trunc/ConnectednessAlt.agda | sattlerc/HoTT-Agda | 0 | 4489 | <filename>Universe/Trunc/ConnectednessAlt.agda
{-# OPTIONS --without-K #-}
{- This brief section introduces an alternative definition
of n-connectedness defined purely using propositional truncation,
in contrast to the standard one using n-truncations
(The below observation has resulted in Exercise 7.6 of
... |
Cubical/Algebra/IntegerMatrix/Smith/NormalForm.agda | howsiyu/cubical | 0 | 7106 | <reponame>howsiyu/cubical
{-
Definition of and facts about Smith normal form
-}
{-# OPTIONS --safe #-}
module Cubical.Algebra.IntegerMatrix.Smith.NormalForm where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Data.Nat
hiding (_·_)
renaming (_+_ to _+ℕ_ ; +... |
src/latin_utils/latin_utils-inflections_package.ads | spr93/whitakers-words | 204 | 19522 | -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-- (c). Permission i... |
oeis/041/A041015.asm | neoneye/loda-programs | 11 | 86505 | ; A041015: Denominators of continued fraction convergents to sqrt(11).
; Submitted by <NAME>
; 1,3,19,60,379,1197,7561,23880,150841,476403,3009259,9504180,60034339,189607197,1197677521,3782639760,23893516081,75463188003,476672644099,1505481120300,9509559365899,30034159217997,189714514673881,599177703239640,378478073411... |
programs/oeis/139/A139038.asm | neoneye/loda | 22 | 179341 | ; A139038: Centrally symmetric triangle read by rows: t(n,m) = A000931(m+1) if m <= floor(n/2), A000931(n - m+1) otherwise.
; 1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,2,2,1,1,1,1,2,2,2,1,1,1,1,2,2,2,2,1,1,1,1,2,2,3,2,2,1,1,1,1,2,2,3,3,2,2,1,1,1,1,2,2,3,4,3,2,2,1
seq $0,3983 ; Array read by antidiagonals with T(n,k) = min(n,k... |
Cubical/Data/FinData/Base.agda | RobertHarper/cubical | 0 | 8736 | <reponame>RobertHarper/cubical
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.FinData.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Nat
open import Cubical.Relation.Nullary
data Fin : ℕ → Type₀ where
zero : {n : ℕ} → Fin (suc n)
suc : {n : ℕ} (i : Fin n) → Fi... |
source/slim-messages-resp.adb | reznikmm/slimp | 0 | 24022 | <filename>source/slim-messages-resp.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Characters.Wide_Wide_Latin_1;
with Ada.Wide_Wide_Text_IO;
with League.Text_Codecs;
with Slim.Message... |
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i9-9900K_12_0xa0.log_21829_311.asm | ljhsiun2/medusa | 9 | 28950 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1af63, %r15
nop
add %rdx, %rdx
and $0xffffffffffffffc0, %r15
movaps (%r15), %xmm0
vpextrq $1, %xmm0, %r10
nop
dec %rdx
lea addresses_A_ht+0x12754, %... |
src/Data/ByteString/Primitive/Lazy.agda | semenov-vladyslav/bytes-agda | 0 | 7993 | <gh_stars>0
{-# OPTIONS --without-K #-}
module Data.ByteString.Primitive.Lazy where
open import Data.Word8.Primitive using (Word8)
open import Agda.Builtin.Nat using (Nat)
open import Data.Colist using (Colist)
open import Agda.Builtin.String using (String)
open import Agda.Builtin.Bool using (Bool)
open import Agda.... |
maps/BluesHouse.asm | zavytar/pokecolorless | 0 | 173200 | <reponame>zavytar/pokecolorless<gh_stars>0
object_const_def ; object_event constants
const BLUESHOUSE_DAISY
BluesHouse_MapScripts:
db 3 ; scene scripts
scene_script .DaisyTM27Scene ; SCENE_BLUESHOUSE_DAISY_TM27
scene_script .PokegearScene ; SCENE_BLUESHOUSE_DAISY_POKEGEAR
scene_script .DummyScene1 ; SCENE_BLU... |
oeis/024/A024496.asm | neoneye/loda-programs | 11 | 12027 | <filename>oeis/024/A024496.asm
; A024496: a(n) = (3/(8n-4))*C(4n,n).
; Submitted by <NAME>
; 3,7,33,195,1292,9177,68310,525915,4153380,33460284,273904969,2271800037,19050406788,161242554550,1375709203260,11819200090635,102162535941492,887830494976788,7752586858050900,67986848888695660,598522586288243760,528755989363823... |
Transynther/x86/_processed/US/_ht_zr_/i9-9900K_12_0xa0_notsx.log_87_718.asm | ljhsiun2/medusa | 9 | 89299 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1e65b, %r15
add %rsi, %rsi
movl $0x61626364, (%r15)
nop
nop
nop
xor %rbp, %rbp
lea addresses_WT_ht+0xf05b, %r8
nop
nop
nop
and %rbp, %rbp
movw $0x6162, (%r8)
nop
no... |
pytamil/தமிழ்/resources/மாத்திரை.g4 | srix/pytamil | 45 | 4438 | grammar மாத்திரை;
// start: மாத்திரை ;
மாத்திரை : ஒர்_எழுத்து_ஒரு_மொழி
| ஈர்_எழுத்து_ஒரு_மொழி
| பொதுமொழி;
// இரண்டு மாத்திரைக்கு மிகாத சொல்
ஒர்_எழுத்து_ஒரு_மொழி : ஒரெழுத்து;
// இரண்டு மாத்திரைக்கு மிகாத சொல்
ஈர்_எழுத்து_ஒரு_மொழி : ஈர்_மொழிமுதல் ஈர்_மொழியிறுதி;
// இரண்டு மாத்திர... |
server/src/YmlToBdl.g4 | agueguen-yseop/vscode-yseopml | 0 | 198 | grammar YmlToBdl;
//Lexer part
//Keywords
INTERFACE : 'interface';
IMPLEMENTATION : 'implementation';
EXTENDS : 'extends';
FUNCTION : 'function';
METHOD : 'method';
TEXT_METHOD: 'textMethod';
FIELD : 'field';
CLASSPROPERTIES: 'classProperties';
EXTERN : 'extern';
COMPLETE : 'complete';
SYNONYM : 'sy... |
Task/Number-names/Ada/number-names.ada | LaudateCorpus1/RosettaCodeData | 1 | 8935 | <filename>Task/Number-names/Ada/number-names.ada
with Ada.Text_IO;
procedure Integers_In_English is
type Spellable is range -999_999_999_999_999_999..999_999_999_999_999_999;
function Spell (N : Spellable) return String is
function Twenty (N : Spellable) return String is
begin
case N mod 20... |
Benchmark/decomp.asm | DW0RKiN/M4_FORTH | 2 | 242761 | ORG 0x8000
; === b e g i n ===
ld (Stop+1), SP ; 4:20 not need
ld L, 0x1A ; 2:7 Upper screen
call 0x1605 ; 3:17 Open channel
ld HL, 60000 ; 3:10 Init Return address stack
exx ; 1:4
call _bench ; 3:17 scall
Stop:... |
MSDOS/Virus.MSDOS.Unknown.vir1.asm | fengjixuchui/Family | 3 | 82480 | <gh_stars>1-10
;=============================================================================
;
; C*P*I
;
; CORRUPTED PROGRAMMING INTERNATIONAL
; -----------------------------------
; p r e s e n t s
;
; ... |
pwnlib/shellcraft/templates/i386/cgc/terminate.asm | DrKeineLust/pwntools | 8,966 | 102283 | <gh_stars>1000+
<%
from pwnlib.shellcraft.i386.cgc import syscall
%>
<%page args="status"/>
<%docstring>
Invokes the syscall terminate.
For more information, see:
https://github.com/CyberGrandChallenge/libcgc/blob/master/_terminate.md
Arguments:
status(int): status
</%docstring>
${syscall('SYS_terminate'... |
src/quaternions.ads | simonjwright/Quaternions | 1 | 7647 | <filename>src/quaternions.ads
with Generic_Quaternions;
package Quaternions is new Generic_Quaternions (Float);
|
programs/oeis/102/A102741.asm | neoneye/loda | 22 | 25692 | ; A102741: a(n) = 3^4 * binomial(n+3, 4).
; 81,405,1215,2835,5670,10206,17010,26730,40095,57915,81081,110565,147420,192780,247860,313956,392445,484785,592515,717255,860706,1024650,1210950,1421550,1658475,1923831,2219805
add $0,4
bin $0,4
mul $0,81
|
corner64/prodotto_18.nasm | tassoneroberto/harris-corner-detection | 0 | 81846 | <gh_stars>0
%include "init.nasm"
%include "sseutils64.nasm"
extern printf
section .data
f equ 8 ; matrice f ->rdi
g equ 16 ; matrice g ->rsi
n equ 24 ; rows->rdx
m equ 32 ; cols->rcx
ris equ 40 ; matrice ris -> r8
dim equ 8 ; dimensione ogni locazione
p equ 4 ; parallel
pdim equ 32
pdim2 equ 64
pdim3 equ 96... |
programs/oeis/122/A122027.asm | neoneye/loda | 22 | 82782 | ; A122027: Largest integer m such that every n-tournament contains a transitive (i.e., acyclic) sub-tournament with at least m vertices.
; 1,2,2,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6
add $0,1
pow $0,4
mov $1,-1
lpb $0
div $0,14
add $1,1
lpe
add $1,1
mov $0,$1
|
programs/oeis/080/A080755.asm | neoneye/loda | 22 | 99463 | <filename>programs/oeis/080/A080755.asm
; A080755: a(n) = ceiling(n*(1+1/sqrt(2))).
; 2,4,6,7,9,11,12,14,16,18,19,21,23,24,26,28,30,31,33,35,36,38,40,41,43,45,47,48,50,52,53,55,57,59,60,62,64,65,67,69,70,72,74,76,77,79,81,82,84,86,88,89,91,93,94,96,98,100,101,103,105,106,108,110,111,113,115,117,118,120,122,123,125,127,... |
programs/oeis/131/A131844.asm | jmorken/loda | 1 | 243640 | ; A131844: 3*A131821 - 2*A000012.
; 1,4,4,7,1,7,10,1,1,10,13,1,1,1,13,16,1,1,1,1,16,19,1,1,1,1,1,19,22,1,1,1,1,1,1,22,25,1,1,1,1,1,1,1,25,28,1,1,1,1,1,1,1,1,28
mov $3,$0
mov $5,2
lpb $5
mov $0,$3
sub $5,1
add $0,$5
sub $0,1
mov $4,1
lpb $0
add $4,1
sub $0,$4
trn $0,$4
add $0,$4
lpe
mul ... |
src/vinifera_unhardcode.asm | mvdhout1992/ts-patches | 33 | 177462 | <filename>src/vinifera_unhardcode.asm
%include "macros/patch.inc"
%include "macros/datatypes.inc"
; hard-coded power=17 for Vinifera at 0x00644DCA
hack 0x00644DCA, 0x00644DD4
cmp dword[esi+0x84], 100
je .hardcode
jmp hackend
.hardcode:
mov dword[esi+0x84], 17
jmp hackend
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/stack_check3.adb | best08618/asylo | 7 | 4357 | <gh_stars>1-10
-- { dg-do compile }
-- { dg-options "-O -fstack-check" }
package body Stack_Check3 is
type Int_Arr is array (1 .. 34) of Integer;
type Rec (D : Boolean := False) is
record
case D is
when True => IA : Int_Arr;
when False => null;
end case;
end record;
type R... |
programs/oeis/034/A034943.asm | jmorken/loda | 1 | 17544 | ; A034943: Binomial transform of Padovan sequence A000931.
; 1,1,1,2,5,12,28,65,151,351,816,1897,4410,10252,23833,55405,128801,299426,696081,1618192,3761840,8745217,20330163,47261895,109870576,255418101,593775046,1380359512,3208946545,7459895657,17342153393,40315615410,93722435101,217878227876,506505428836,117748226585... |
src/generated/lex_h.ads | csb6/libtcod-ada | 0 | 19536 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
with Interfaces.C.Extensions;
with System;
package lex_h is
TCOD_LEX_FLAG_NOCASE : constant := 1; -- lex.h:45
TCOD_LEX_FLAG_NESTING_COMMENT : constant := 2; -- lex.h:46
TCOD_LEX_FLAG_TOKENIZE_COMM... |
parsergenerator/rdsquery.g4 | PrediktorAS/RDSdsl | 1 | 4549 | //Copyright 2021 <NAME>
//
//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 required by applicable law or agreed to in writ... |
src/Parse/MarkedString.agda | WhatisRT/meta-cedille | 35 | 9384 | --------------------------------------------------------------------------------
-- Strings with markers, used for parsing
--------------------------------------------------------------------------------
{-# OPTIONS --type-in-type #-}
module Parse.MarkedString where
open import Data.String using (fromList; fromChar;... |
Desk Control/CustomFaderAssign.applescript | streth11/Qlab-Scripts | 1 | 867 | -- Creates a midi sysex cue to assign any fader to a specific custom fader
-- Yamaha LS9-32
-- change to preamble will change desk type, should work for modern desks
-- but to be vereified
--
-- Example string inputs:
-- ch 7 to custom 3 -- channel 7 to -20db
-- x to custom 10
-- mono to custom 1
-- accepted chan v... |
programs/oeis/173/A173197.asm | jmorken/loda | 1 | 83758 | <filename>programs/oeis/173/A173197.asm
; A173197: a(0)=1, a(n)= 2+2^n/6+4*(-1)^n/3, n>0.
; 1,1,4,2,6,6,14,22,46,86,174,342,686,1366,2734,5462,10926,21846,43694,87382,174766,349526,699054,1398102,2796206,5592406,11184814,22369622,44739246,89478486,178956974,357913942,715827886,1431655766,2863311534,5726623062,114532461... |
programs/oeis/257/A257846.asm | neoneye/loda | 22 | 81582 | ; A257846: a(n) = floor(n/6) * (n mod 6).
; 0,0,0,0,0,0,0,1,2,3,4,5,0,2,4,6,8,10,0,3,6,9,12,15,0,4,8,12,16,20,0,5,10,15,20,25,0,6,12,18,24,30,0,7,14,21,28,35,0,8,16,24,32,40,0,9,18,27,36,45,0,10,20,30,40,50,0,11,22,33,44,55,0,12,24,36,48,60,0,13,26,39,52,65,0,14,28,42,56,70,0,15,30,45,60,75,0,16,32,48
mov $1,$0
mod $0... |
cards/bn6/ModCards/137-B045 ColdMan.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 15455 | <gh_stars>1-10
.include "defaults_mod.asm"
table_file_jp equ "exe6-utf8.tbl"
table_file_en equ "bn6-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252354A // BR5J
game_code_2 equ 0x42523545 // BR5E
game_code_3 equ 0x42523550 // BR5P
card_type equ 1
card_id equ 98
card_no equ "098"
card_sub equ "Mod Card 0... |
libsrc/_DEVELOPMENT/alloc/malloc/c/sccz80/free.asm | meesokim/z88dk | 0 | 7256 |
; void free(void *p)
INCLUDE "clib_cfg.asm"
SECTION code_alloc_malloc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $01
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC free
free:
INCLUDE "alloc/malloc/z80/asm_free.asm"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ELSE
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC free
EX... |
src/main/fragment/mos6502-common/qvoz1_derefidx_vbuyy=_deref_qvoc2.asm | jbrandwood/kickc | 2 | 18616 | <reponame>jbrandwood/kickc
lda {c2}
sta ({z1}),y
iny
lda {c2}+1
sta ({z1}),y
|
programs/oeis/198/A198850.asm | neoneye/loda | 22 | 170462 | ; A198850: 2*8^n-1
; 1,15,127,1023,8191,65535,524287,4194303,33554431,268435455,2147483647,17179869183,137438953471,1099511627775,8796093022207,70368744177663,562949953421311,4503599627370495,36028797018963967,288230376151711743,2305843009213693951,18446744073709551615,147573952589676412927,1180591620717411303423,94447... |
Tac.g4 | gdaguilarc/TAC-interpreter | 0 | 2088 | grammar Tac;
prog: instruction+;
instruction : (label)? assign NEWLINE
| (label)? go NEWLINE
| (label)? iffalse NEWLINE
| (label)? iftrue NEWLINE
| (label)? array NEWLINE
| (label)? print NEWLINE
| NEWLINE
;
label : ID ':';
va... |
source/a-excfin.ads | ytomino/drake | 33 | 23312 | <gh_stars>10-100
pragma License (Unrestricted);
-- extended unit
package Ada.Exceptions.Finally is
-- Scope guard.
pragma Preelaborate;
generic
type Parameters is limited private;
with procedure Handler (Params : in out Parameters);
package Scoped_Holder is
procedure Assign (Params : a... |
cbm_prgstudio/Looptap/bak/Main.asm | moonorongo/looptap64 | 0 | 84853 | 1000 DATA 255,255,255,255,255,255,31,0
1010 DATA 255,255,255,255,63,3,0,0
1020 DATA 255,63,15,3,0,0,0,0
1030 DATA 255,255,255,255,255,255,127,15
1040 DATA 255,127,63,15,7,1,0,0
|
8088/xtserver/testcases/retr.asm | reenigne/reenigne | 92 | 174009 | org 0
cpu 8086
mov dl,0
mov cx,0xffff
mov ax,cs
mov ds,ax
mov si,0
int 0x66
int 0x67
|
m8cc/libraries/xsprites/_mgr.asm | paulscottrobson/cerberus-2080 | 1 | 166884 | <reponame>paulscottrobson/cerberus-2080
org $202
;
; Defining SPRLowSprite sets the lowest UDG used by sprites. This is a constant
; so if this is $A0, then $00-$9F are background, and $A0-$FF are used for sprites.
;
SPRLowSprite = $80
SpriteCount = 8
jp start
.include "spritemanager.asm"
.i... |
agda-stdlib/src/Data/ReflexiveClosure.agda | DreamLinuxer/popl21-artifact | 5 | 17500 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use the
-- Relation.Binary.Construct.Closure.Reflexive module directly.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #... |
src/main/antlr4/com/flair/bi/grammar/FQLParser.g4 | DX26-io/flair-query-language | 0 | 6398 | parser grammar FQLParser;
options { tokenVocab=FQLLexer; }
parse:
( statement_list | error) * EOF;
error
: UNEXPECTED_CHAR
{
throw new RuntimeException("UNEXPECTED_CHAR=" + $UNEXPECTED_CHAR.text);
}
;
statement_list:
';'* statement ( ';'+ statement )* ';'*
;
statement:
simple_select... |
src/fot/FOTC/Data/Bool/PropertiesI.agda | asr/fotc | 11 | 1718 | ------------------------------------------------------------------------------
-- The Booleans properties
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# O... |
test/interaction/Issue2416.agda | shlevy/agda | 3 | 2567 | <gh_stars>1-10
-- Andreas, 2017-01-19, issue #2416, probably regression
-- Give failed for constrained size
-- {-# OPTIONS -v interaction.give:40 #-}
-- {-# OPTIONS -v tc.conv:10 #-}
-- {-# OPTIONS -v tc.conv.coerce:70 #-}
-- {-# OPTIONS -v tc.size:40 #-}
-- {-# OPTIONS -v tc.check.internal:40 #-}
open import Common.... |
src/controls.asm | clach04/Chopper-Command-C64 | 36 | 17035 |
//we don't use 2 complement math in this game, but rather the num + sign format.
//it wastes one byte for each variable and it's slower for adc and sbc, but it's much faster when it comes to translating results to screen coordinates
//We need few macros and functions to handle this weird format though
//
//add... |
LM/Aula5/Lista3/ex3_a.asm | Kw-Vinicius/Linguagem-de-Montagem- | 0 | 1004 | ;--------------------------------------------------------------------------------------------
;3. Escreva um programa em Assembly que: inicialize duas posições de memória com
;conteúdo bytes, rótulos “base” e “expo” e retorne o resultado de base expo
;a.) Utilizando apenas somas
;b.) Utilizando multiplicações
; <NAME... |
src/include/rgbds-structs/examples/correct.asm | shuttler76/gbdev | 7 | 13910 |
INCLUDE "../structs.asm"
; Struct declarations (ideally in a separate file, but grouped here for simplicity)
; Note that everything is happening outside of a `SECTION`
; Defines a sprite as it is in OAM
struct Sprite
bytes 1, YPos ; Indenting is optional, but recommended
bytes 1, XPos
by... |
oeis/144/A144899.asm | neoneye/loda-programs | 11 | 162795 | <reponame>neoneye/loda-programs
; A144899: Expansion of x/((1-x-x^3)*(1-x)^5).
; Submitted by <NAME>
; 0,1,6,21,57,133,280,547,1010,1785,3047,5058,8208,13075,20513,31781,48732,74090,111856,167903,250848,373330,553883,819681,1210561,1784919,2628351,3866317,5682701,8347012,12254249,17983326,26382698,38695852,56745223,832... |
src/generator-frontmatter.ads | bracke/websitegenerator | 1 | 22966 | with Generator;
with GNATCOLL.Config;
package Generator.Frontmatter is
use GNATCOLL.Config;
function Read_Excerpt (
Content : String;
Excerpt_Separator : String) return String;
function Read_CreateDate (Filename : String) return String;
function Read (Filepath : String;
Ta... |
u7bg/eop-feed.asm | JohnGlassmyer/UltimaHacks | 68 | 97294 | %include "include/u7bg-all-includes.asm"
[bits 16]
startPatch EXE_LENGTH, eop-feed
startBlockAt addr_eop_feed
push bp
mov bp, sp
; bp-based stack frame:
%assign ____callerIp 0x02
%assign ____callerBp 0x00
push si
push di
; use a food item from a party member's i... |
agda-stdlib/src/Algebra/Module/Structures.agda | DreamLinuxer/popl21-artifact | 5 | 16784 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Some algebraic structures defined over some other structure
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary using (Rel; Se... |
r_lib_cpc.asm | jorgicor/altair | 0 | 103190 | <filename>r_lib_cpc.asm
; ----------------------------------------------------------------------------
; Altair, CIDLESA's 1981 arcade game remade for the ZX Spectrum and
; Amstrad CPC.
; ----------------------------------------------------------------------------
; Back buffer.
bbuf .equ LIB_RAM_START
BBUFSZ .equ BBU... |
PIC/mikroC/Projects/PIC18F4550/SPI.asm | UdayanSinha/Code_Blocks | 3 | 16791 |
_main:
;SPI.c,3 :: void main(void)
;SPI.c,5 :: ADCON1=0x0F; //all pins are digital IO
MOVLW 15
MOVWF ADCON1+0
;SPI.c,8 :: TRISB&=0xFB;
MOVLW 251
ANDWF TRISB+0, 1
;SPI.c,9 :: ss=1;
BSF PORTB+0, 2
;SPI.c,11 :: SPI1_Init_Advanced(_SPI_MASTER_OSC_... |
src/natools-web-fallback_render.adb | faelys/natools-web | 1 | 6647 | <reponame>faelys/natools-web<filename>src/natools-web-fallback_render.adb<gh_stars>1-10
------------------------------------------------------------------------------
-- Copyright (c) 2015-2017, <NAME> --
-- --
--... |
test/Sample/Calculator/Antlr/CalculatorParser.g4 | SetBased/antlr-php-runtime | 1 | 2610 | <filename>test/Sample/Calculator/Antlr/CalculatorParser.g4
parser grammar CalculatorParser;
options { tokenVocab=CalculatorLexer; }
input
: setVar NL input # ToSetVar
| plusOrMinus NL? EOF # Calculate
;
setVar
: ID EQUAL plusOrMinus # SetVariable
;
plusOrMinus
: plusOrMinus PLUS multOrDi... |
programs/oeis/131/A131885.asm | neoneye/loda | 22 | 87507 | ; A131885: a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) for n >= 4 starting with a(0) = 1, a(1) = 2, a(2) = 4, and a(3) = 6.
; 1,2,4,6,8,12,24,56,128,272,544,1056,2048,4032,8064,16256,32768,65792,131584,262656,524288,1047552,2095104,4192256,8388608,16781312,33562624,67117056,134217728,268419072,536838144,1073709056,2147483648... |
archive/agda-3/src/Oscar/Class/Transrightidentity.agda | m0davis/oscar | 0 | 4298 | <gh_stars>0
open import Oscar.Prelude
open import Oscar.Class
open import Oscar.Class.Leftunit
open import Oscar.Class.Reflexivity
open import Oscar.Class.Transitivity
module Oscar.Class.Transrightidentity where
module Transrightidentity
{𝔬} {𝔒 : Ø 𝔬}
{𝔯} (_∼_ : 𝔒 → 𝔒 → Ø 𝔯)
{ℓ} (_∼̇_ : ∀ {x y} → x ∼ y ... |
programs/oeis/204/A204562.asm | neoneye/loda | 22 | 170929 | ; A204562: Symmetric matrix: f(i,j) = floor((2i+2j+6)/4)-floor((i+j+3)/4), by (constant) antidiagonals.
; 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5
mov $1,1
lpb $0... |
alloy4fun_models/trashltl/models/15/ZbwdPPfG35oKYcDAz.als | Kaixi26/org.alloytools.alloy | 0 | 4295 | open main
pred idZbwdPPfG35oKYcDAz_prop16 {
all f : Protected | historically f in Protected
}
pred __repair { idZbwdPPfG35oKYcDAz_prop16 }
check __repair { idZbwdPPfG35oKYcDAz_prop16 <=> prop16o } |
tool/playground/R.g4 | metadave/antlr4 | 0 | 2277 | /**
derived from http://svn.r-project.org/R/trunk/src/main/gram.y
http://cran.r-project.org/doc/manuals/R-lang.html#Parser
*/
grammar R;
// ambig upon a(i)<- (delayed a bit since ';' could follow--really ambig on "a(i)")
/** ambig since stacks are exact as it loops around; no way to distinguish
I tried tracking... |
src/Pointwise-equality.agda | nad/chi | 2 | 15669 | ------------------------------------------------------------------------
-- A theorem related to pointwise equality
------------------------------------------------------------------------
-- To simplify the development, let's work with actual natural numbers
-- as variables and constants (see
-- Atom.one-can-restrict... |
oeis/238/A238236.asm | neoneye/loda-programs | 11 | 177250 | <filename>oeis/238/A238236.asm
; A238236: Expansion of (1-x-x^2)/((x-1)*(x^3+3*x^2+2*x-1)).
; Submitted by <NAME>
; 1,2,6,18,55,169,520,1601,4930,15182,46754,143983,443409,1365520,4205249,12950466,39882198,122821042,378239143,1164823609,3587185688,11047081345,34020543362,104769516446,322647744322,993624581343,305996191... |
third_party/universal-ctags/ctags/Units/parser-ada.r/ada-entry.d/input_1.adb | f110/wing | 1 | 28706 | <filename>third_party/universal-ctags/ctags/Units/parser-ada.r/ada-entry.d/input_1.adb
-- package body Mes_Tasches_P is
package body Input_1 is
---------------------------------------------------------------------------
task body Ma_Tasche is
Var_Continuer : Boolean := False;
begin
Boucle_Principal... |
AppleScript/read Property List.applescript | scriptingosx/PR3ForAppleAdmins | 20 | 4322 | <reponame>scriptingosx/PR3ForAppleAdmins<filename>AppleScript/read Property List.applescript
tell application "System Events"
set sample_file to file "sample.plist" of container of (path to me)
set sample_plist to property list file (path of sample_file)
get kind of property list item "colors" of sample_plist
set t... |
oeis/107/A107371.asm | neoneye/loda-programs | 11 | 16908 | <gh_stars>10-100
; A107371: Numbers k such that 101*k - 103 is prime.
; Submitted by <NAME>
; 6,10,12,30,34,36,42,54,64,66,70,76,82,94,114,124,132,136,154,160,174,180,184,190,192,210,216,234,240,250,252,264,276,292,300,306,324,342,346,352,402,406,426,436,444,454,456,462,472,484,496,502,510,532,534,540,556,562,570,576,5... |
SVD2ada/svd/stm32_svd-mpu.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 1206 | pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32G474xx.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.MPU is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype TYPER_DREGION_Field is HAL.UInt8;
... |
test/Test2.agda | mchristianl/synthetic-reals | 3 | 2612 | {-# OPTIONS --cubical #-} --no-import-sorts
module Test2 where
-- open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero)
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc)
open import Cubical.Relation.Nullary.Base -- ¬_
open import Cubical.Data.Empty ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a33003a.ada | best08618/asylo | 7 | 21983 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a33003a.ada
-- A33003A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimit... |
oeis/199/A199929.asm | neoneye/loda-programs | 11 | 87668 | ; A199929: Trisection 2 of A199802.
; Submitted by <NAME>
; 2,-4,-5,27,-8,-128,200,405,-1525,-172,8002,-9072,-29585,83119,47732,-483840,357884,2025929,-4346921,-4941000,28343650,-10011500,-132300829,215642979,407506016,-1608010240,-81576032,8313490269,-9921126365,-30119890772,88120588898,44244248328,-505045957225,40206... |
src/Experimental/Finite.agda | cilinder/formaltt | 21 | 1470 | <gh_stars>10-100
module Experimental.Finite where
data ℕ : Set where
Z : ℕ
S : ℕ → ℕ
data Fin : ℕ → Set where
Fin-S : ∀ {n} → Fin n → Fin (S n)
Fin-Z : ∀ {n} → Fin (S n)
|
test/succeed/IndexInference.agda | asr/agda-kanso | 0 | 3954 | <reponame>asr/agda-kanso
module IndexInference where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
data Vec (A : Set) : Nat -> Set where
[] : Vec A zero
_::_ : {n : Nat} -> A -> Vec A n -> Vec A (suc n)
infixr 40 _::_
-- The length of the vector can be inferred from the pattern.
foo : Vec Nat _ -> Na... |
resources/alumbra/GraphQLSchema.g4 | xsc/alumbra.parser | 16 | 5798 | /*
The MIT License (MIT)
Copyright (c) 2016 <NAME>
Copyright (c) 2015 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation th... |
disasm-msvc.asm | Const-me/MemoryAccessCosts | 13 | 174589 | ; Random number generation
loc_1400016F0:
mov eax, r10d
mov edx, r11d
shl eax, 10h
xor eax, r10d
mov r10d, r11d
mov ecx, eax
mov r11d, r9d
shr ecx, 5
xor ecx, eax
lea eax, [rcx+rcx]
xor eax, ecx
xor eax, edx
xor r9d, eax
mov ecx, r9d
and ecx, 0FFFFFFFh
shl ... |
oeis/008/A008507.asm | neoneye/loda-programs | 11 | 10843 | <filename>oeis/008/A008507.asm<gh_stars>10-100
; A008507: Number of odd composite numbers less than n-th odd prime.
; 0,0,0,1,1,2,2,3,5,5,7,8,8,9,11,13,13,15,16,16,18,19,21,24,25,25,26,26,27,33,34,36,36,40,40,42,44,45,47,49,49,53,53,54,54,59,64,65,65,66,68,68,72,74,76,78,78,80,81,81,85,91,92,92,93,99,101,105,105,106,10... |
programs/oeis/292/A292059.asm | neoneye/loda | 22 | 24936 | <reponame>neoneye/loda
; A292059: Wiener index of the n X n white bishop graph.
; 1,8,42,104,251,464,852,1360,2165,3160,4606,6328,8687,11424,15016,19104,24297,30120,37330,45320,55011,65648,78332,92144,108381,125944,146342,168280,193495,220480,251216,283968,320977,360264,404346,450984,502987,557840,618660,682640
mov $3... |
source/s-unwfor.ads | ytomino/drake | 33 | 7078 | <gh_stars>10-100
pragma License (Unrestricted);
-- runtime unit
package System.Unwind.Foreign is
pragma Preelaborate;
-- This is the substitute name of any exceptions propagated from any other
-- runtimes. (s-except.ads)
Foreign_Exception : exception
with Export,
Convention => Ada,
... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca.log_21_1229.asm | ljhsiun2/medusa | 9 | 162446 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rax
push %rdi
lea addresses_normal_ht+0x12d2e, %r15
nop
nop
nop
nop
nop
add $63933, %rax
mov $0x6162636465666768, %rdi
movq %rdi, %xmm2
movups %xmm2, (%r15)
nop
nop
nop
nop
add $61821, %r11
lea addresses_normal_ht+0x1c4d1, %r12
nop
dec %r1... |
src/gen-utils.ads | jquorning/dynamo | 15 | 9333 | <gh_stars>10-100
-----------------------------------------------------------------------
-- gen-utils -- Utilities for model generator
-- Copyright (C) 2010, 2011, 2012, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exc... |
programs/oeis/025/A025718.asm | neoneye/loda | 22 | 169134 | <filename>programs/oeis/025/A025718.asm
; A025718: Index of 6^n within sequence of numbers of form 6^i*9^j.
; 1,2,4,7,11,16,21,27,34,42,51,60,70,81,93,106,120,134,149,165,182,200,218,237,257,278,300,323,346,370,395,421,448,475,503,532,562,593,624,656,689,723,758,794,830,867,905,944,984,1024,1065,1107,1150,1194,1239,128... |
src/antlr/FasmParser.g4 | common-config-bot/fasm | 6 | 2803 | // Copyright 2017-2022 F4PGA Authors
//
// 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 required by applicable law or agreed... |
programs/oeis/324/A324920.asm | neoneye/loda | 22 | 165935 | <filename>programs/oeis/324/A324920.asm
; A324920: a(n) is the number of iterations of the integer splitting function (A056737) necessary to reach zero.
; 0,1,2,3,1,2,2,3,3,1,4,5,2,3,3,3,1,2,4,5,2,2,2,3,3,1,6,3,4,5,2,3,2,4,4,3,1,2,3,5,4,5,2,3,4,2,3,4,3,1,3,4,2,3,4,3,2,2,4,5,2,3,6,3,1,4,3,4,4,3,4,5,2,3,4,5,4,2,4,5,3,1,6... |
data/text/text_6.asm | opiter09/ASM-Machina | 1 | 29232 | <reponame>opiter09/ASM-Machina
_ItemUseBallText00::
text "It dodged the"
line "thrown BALL!"
para "This #MON"
line "can't be caught!"
prompt
_ItemUseBallText01::
text "You missed the"
line "#MON!"
prompt
_ItemUseBallText02::
text "Darn! The #MON"
line "broke free!"
prompt
_ItemUseBallText03::
text "Aww!... |
university/language-concepts-labs/9/ada/rendezvous.adb | honno/code-solutions | 0 | 19153 | <filename>university/language-concepts-labs/9/ada/rendezvous.adb
-- Author: mik
with Ada.Text_IO;
use Ada.Text_IO;
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
procedure rendezvous is
task A is
entry Add(N : in Integer; R : out Integer);
end A;
task body A is
Sum : Integer := 0;... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_1683_50.asm | ljhsiun2/medusa | 9 | 170554 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_1683_50.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x3190, %rsi
lea addresses_D_ht+0x1584c, %rdi
nop
nop
nop
nop
nop
add %r... |
cralinkr/grammar/src/main/antlr4/com/soebes/cralinkr/assembler/asm8085/asm8080.g4 | khmarbaise/jacem | 3 | 2460 | /*
BSD License
Copyright (c) 2018, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the fo... |
software/unittest/units/src/main.adb | TUM-EI-RCS/StratoX | 12 | 5385 | <filename>software/unittest/units/src/main.adb
with Units; use Units;
with Units.Navigation; use Units.Navigation;
with Ada.Text_IO; use Ada.Text_IO;
procedure main is
generic
type T is digits <>;
procedure Test_Wrap (STEP : T);
-- adds all combinations of type T and prints the result to stdout
pr... |
dartagnan/src/main/antlr4/Cat.g4 | 3dik/Dat3M | 36 | 3143 | grammar Cat;
@header{
import com.dat3m.dartagnan.wmm.axiom.*;
}
mcm
: (NAME)? definition+ EOF
;
definition
: axiomDefinition
| letDefinition
| letRecDefinition
;
axiomDefinition locals [Class<?> cls]
: (negate = NOT)? ACYCLIC { $cls = Acyclic.class; } e = expression (AS NAME)?
... |
test/Fail/Issue543.agda | KDr2/agda | 0 | 17104 | <gh_stars>0
-- Andreas, bug found 2011-12-31
{-# OPTIONS --irrelevant-projections #-}
module Issue543 where
open import Common.Equality
data ⊥ : Set where
record ⊤ : Set where
constructor tt
data Bool : Set where
true false : Bool
T : Bool → Set
T true = ⊤
T false = ⊥
record Squash {ℓ}(A : Set ℓ) : Set ℓ ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1212.asm | ljhsiun2/medusa | 9 | 246356 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x278b, %rdi
nop
nop
xor $34403, %rdx
movb (%rdi), %r13b
nop
nop
nop
nop
nop
xor $52188, %rbx
lea addresses_UC_ht+0x8a8b, %rcx
clflush (%rcx)
nop
nop
xor %r10, %r10
vmovups (%r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.