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 |
|---|---|---|---|---|
ANTLRTestProjects/antbased/GlobalActions/grammar/GlobalParserActions1.g4 | timboudreau/ANTLR4-Plugins-for-NetBeans | 1 | 4986 | parser grammar GlobalParserActions1;
options { tokenVocab=GlobalLexerActions1; }
@parser::header {
/**
* this is a Javadoc comment that will be added in the header of Java generated
* class.
*/
}
@parser::members {
protected int anAttributeAddedToParser = 0;
public int getAnAttributeAddedToParser() {
return... |
source/adam-assist.ads | charlie5/aIDE | 3 | 17598 |
package AdaM.Assist
is
function Tail_of (the_full_Name : in Identifier) return Identifier;
function strip_Tail_of (the_full_Name : in Identifier) return Identifier;
function type_button_Name_of (the_full_Name : in Identifier) return String;
-- function Split (the_Text : in String) ... |
include/constant.asm | Hiroshi123/bin_tools | 0 | 8630 |
;;; eflags carry flag
%define eflags_cf 0x0001
;;; eflags parity flag
%define eflags_pf 0x0004
;;; eflags adjust flag
%define eflags_af 0x0010
;;; eflags zero flag
%define eflags_zf 0x0040
;;; eflags sign flag
%define eflags_sf 0x0080
;;; eflags trap flag
%define eflags_tf 0x0100
;;; eflags interrupt enable flag
%def... |
source/vampire-r3-index_page.ads | ytomino/vampire | 1 | 17490 | -- The Village of Vampire by YT, このソースコードはNYSLです
procedure Vampire.R3.Index_Page (
Output : not null access Ada.Streams.Root_Stream_Type'Class;
Form : in Forms.Root_Form_Type'Class;
Template : in String;
HTML_Directory : in String;
Summaries : in out Tabula.Villages.Lists.Summary_Maps.Map;
Muramura : in Natural;
... |
libsrc/_DEVELOPMENT/adt/w_vector/c/sdcc_iy/w_vector_back_fastcall.asm | jpoikela/z88dk | 640 | 172957 | <gh_stars>100-1000
; void *w_vector_back_fastcall(b_vector_t *v)
SECTION code_clib
SECTION code_adt_w_vector
PUBLIC _w_vector_back_fastcall
EXTERN asm_w_vector_back
defc _w_vector_back_fastcall = asm_w_vector_back
|
dice/src/main/antlr4/org/gnube/dice/generated/DiceNotation.g4 | patriot1burke/nemesis-dnd | 0 | 1829 | /**
* Copyright 2014-2019 the original author or 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 appl... |
agda/Number/Instances/QuoIntFromIntSIP.agda | mchristianl/synthetic-reals | 3 | 10293 | {-# OPTIONS --cubical --no-import-sorts #-}
module Number.Instances.QuoIntFromIntSIP where
open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero)
open import Cubical.Foundations.Everything hiding (⋆) renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc)
open import Cubical.Foundations.Logic renaming (i... |
programs/oeis/157/A157448.asm | karttu/loda | 1 | 244558 | ; A157448: a(n) = 2048*n^2 - 128*n + 1.
; 1921,7937,18049,32257,50561,72961,99457,130049,164737,203521,246401,293377,344449,399617,458881,522241,589697,661249,736897,816641,900481,988417,1080449,1176577,1276801,1381121,1489537,1602049,1718657,1839361,1964161,2093057,2226049,2363137,2504321,2649601,2798977,2952449,31100... |
components/src/environment/lps25h-spi.adb | RREE/Ada_Drivers_Library | 0 | 14332 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2021, AdaCore --
-- ... |
data/mapObjects/lavenderhouse1.asm | adhi-thirumala/EvoYellow | 16 | 179763 | LavenderHouse1Object:
db $a ; border block
db $2 ; warps
db $7, $2, $2, $ff
db $7, $3, $2, $ff
db $0 ; signs
db $6 ; objects
object SPRITE_BLACK_HAIR_BOY_2, $3, $5, STAY, NONE, $1 ; person
object SPRITE_LITTLE_GIRL, $6, $3, STAY, DOWN, $2 ; person
object SPRITE_SLOWBRO, $6, $4, STAY, UP, $3 ; person
object... |
src/lithium-line_parsers.adb | faelys/lithium3 | 1 | 22286 | ------------------------------------------------------------------------------
-- Copyright (c) 2015-2017, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
libsrc/stdio/ansi/px4/f_ansi_scrollup.asm | teknoplop/z88dk | 0 | 86046 | <reponame>teknoplop/z88dk<gh_stars>0
;
; ANSI Video handling for the Epson PX4
; By <NAME> - Nov 2014
;
; Scrollup
;
;
; $Id: f_ansi_scrollup.asm,v 1.1 2015/11/05 16:08:04 stefano Exp $
;
PUBLIC ansi_SCROLLUP
EXTERN ansi_del_line
.ansi_SCROLLUP
ld hl,8*32
ld de,$e000
add hl,de
ld bc,32*8*7
ldir
ld a... |
spec/ics-024-host-requirements/HostRequirements.agda | dogemos/ics | 7 | 12134 | <filename>spec/ics-024-host-requirements/HostRequirements.agda
module HostRequirements where
open import Agda.Builtin.Unit
open import Data.String as String using (String)
open import Category.Applicative
open import Category.Monad
open import Category.Monad.State
data Path : Set where
MkPath : String -> Path
data... |
programs/oeis/070/A070824.asm | neoneye/loda | 22 | 169017 | <filename>programs/oeis/070/A070824.asm
; A070824: Number of divisors of n which are > 1 and < n (nontrivial divisors).
; 0,0,0,1,0,2,0,2,1,2,0,4,0,2,2,3,0,4,0,4,2,2,0,6,1,2,2,4,0,6,0,4,2,2,2,7,0,2,2,6,0,6,0,4,4,2,0,8,1,4,2,4,0,6,2,6,2,2,0,10,0,2,4,5,2,6,0,4,2,6,0,10,0,2,4,4,2,6,0,8,3,2,0,10,2,2,2,6,0,10,2,4,2,2,2,10,0... |
src/LibraBFT/Impl/Consensus/BlockStorage/Properties/BlockStore.agda | LaudateCorpus1/bft-consensus-agda | 0 | 15546 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Base.Types
open import LibraBFT.Concrete.System.Paramete... |
Serial/Code/ACIA.asm | Gonzo-XIII/Southern-Cross-Computer-z80 | 11 | 97792 | ;---------------------------
; Southern Cross 6850 Serial
;---------------------------
;
; <NAME> August 2021
; Version 1
;
; SC-Serial Add-on board for Southern Cross Z80 SBC
; using Southern Cross Monitor SCM V1.5
;
; $2000 blink
; The blink routine at $2000 toggles the RTS output of... |
programs/oeis/129/A129839.asm | neoneye/loda | 22 | 24987 | ; A129839: a(n) = Stirling_2(n,3)^2.
; 0,0,0,1,36,625,8100,90601,933156,9150625,87048900,812307001,7486748676,68447640625,622473660900,5641104760201,51003678922596,460438253730625,4152386009780100,37422167780506201,337103845136750916,3035761307578140625,27332814735512302500
seq $0,392 ; Stirling numbers of second kind... |
verify/alfy/6_function/definition_variables.alfy.asm | alexandruradovici/alf-alfy-asm-public | 0 | 160118 | <reponame>alexandruradovici/alf-alfy-asm-public
; script
start:
; asm
; run sum
; push used regsters
; value int 3
set r2 3
push r2
; value int 7
set r2 7
push r2
run sum
; pop parameters
set r2 16
... |
Transynther/x86/_processed/NC/_ht_zr_/i7-8650U_0xd2_notsx.log_1264_966.asm | ljhsiun2/medusa | 9 | 22666 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1ee1, %r12
nop
nop
nop
nop
nop
xor $24432, %rax
mov $0x6162636465666768, %r15
movq %r15, %xmm0
vmovups %ymm0, (%r12)
sub $26894, %rsi
lea addres... |
hetu-sql-migration-tool/src/main/antlr4/io/hetu/core/migration/source/impala/ImpalaSql.g4 | ufolr/hetu-core | 0 | 341 | /*
* Copyright (C) 2018-2020. Huawei Technologies Co., Ltd. All rights reserved.
* 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
*
* U... |
sdk-6.5.20/tools/led/example/sdk5675.asm | copslock/broadcom_cpri | 0 | 100378 | <gh_stars>0
;
; $Id: sdk5675.asm,v 1.3 2011/05/22 23:38:43 iakramov Exp $
;
; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
;
; Copyright 2007-2020 Broadcom Inc. All rights reserved.
;
;
; Adapted from sdk5670.asm
; February 27, 200... |
src/c_resources/unique_c_resources.adb | jhumphry/auto_counters | 5 | 14315 | -- unique_c_resources.adb
-- A convenience package to wrap a C type that requires initialization and
-- finalization.
-- Copyright (c) 2016, <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notic... |
sw/552tests/rand_mem/t_5_mem.asm | JPShen-UWM/ThreadKraken | 1 | 24665 | // seed 5
lbi r0, 128 // icount 0
slbi r0, 0 // icount 1
lbi r1, 128 // icount 2
slbi r1, 0 // icount 3
lbi r2, 128 // icount 4
slbi r2, 0 // icount 5
lbi r3, 128 // icount 6
slbi r3, 0 // icount 7
lbi r4, 128 // icount 8
slbi r4, 0 // icount 9
lbi r5, 128 // icount 10
slbi r5, 0 // icount 11
lbi r6, 128 // icount 12
s... |
libsrc/oz/ozgfx/ozscrollclear.asm | dex4er/deb-z88dk | 1 | 82462 | <filename>libsrc/oz/ozgfx/ozscrollclear.asm
;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by <NAME>
; by <NAME> - Oct. 2003
;
; void ozscrollclear();
;
; ------
; $Id: ozscrollclear.asm,v 1.1 2003/10/21 17:15:20 stefano Exp $
;
XLIB ozscrollclear
XREF ozactivepage
ozscrollclea... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1017.asm | ljhsiun2/medusa | 9 | 27007 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1017.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %rax
lea addresses_D_ht+0x14038, %r14
clflush (%r14)
nop
nop
inc %r8
mov (%r14), %r13d
nop
nop
nop
nop
inc %rax
pop %rax
pop %r8
pop %r14
pop %r13
ret
... |
tests/tk-image-bitmap-test_data-tests.ads | thindil/tashy2 | 2 | 14917 | <gh_stars>1-10
-- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with Gnattest_Generated;
package Tk.Image.Bitmap.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Tk.Image.Bitmap
... |
src/fot/FOTC/Program/Division/Specification.agda | asr/fotc | 11 | 4441 | ------------------------------------------------------------------------------
-- The division specification
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-... |
programs/oeis/110/A110749.asm | neoneye/loda | 22 | 84212 | ; A110749: Triangle read by rows with the n-th row containing the first n multiples of n with digits reversed.
; 1,2,4,3,6,9,4,8,21,61,5,1,51,2,52,6,21,81,42,3,63,7,41,12,82,53,24,94,8,61,42,23,4,84,65,46,9,81,72,63,54,45,36,27,18,1,2,3,4,5,6,7,8,9,1,11,22,33,44,55,66,77,88,99,11,121,21,42,63,84,6,27,48,69,801,21,231,4... |
src/glfw/v3/glfw-input.ads | Roldak/OpenGLAda | 79 | 19417 | <filename>src/glfw/v3/glfw-input.ads
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
package Glfw.Input is
type Button_State is (Released, Pressed);
type Sticky_Toggle is (Sticky_Keys, Sticky_Mouse_Buttons);
procedure Poll_Events;
procedure W... |
cohomology/SpectrumModel.agda | danbornside/HoTT-Agda | 0 | 794 | {-# OPTIONS --without-K #-}
open import HoTT
open import cohomology.SuspAdjointLoopIso
open import cohomology.WithCoefficients
open import cohomology.Theory
open import cohomology.Exactness
open import cohomology.Choice
module cohomology.SpectrumModel
{i} (E : ℤ → Ptd i) (spectrum : (n : ℤ) → ⊙Ω (E (succ n)) == E n... |
programs/oeis/173/A173073.asm | jmorken/loda | 1 | 243334 | ; A173073: (n-th nonnegative nonprime) minus (n-1).
; 0,0,2,3,4,4,4,5,6,6,6,7,8,8,8,9,9,9,9,9,10,11,11,11,11,11,12,12,12,13,14,14,14,15,15,15,15,15,16,16,16,16,16,17,18,18,18,18,18,19,19,19,20,21,21,21,21,21,22,22,22,23,23,23,23,23,24,24,24,24,24,24,24,25,25,25
sub $1,$0
add $1,1
lpb $0
sub $0,$1
mov $2,$1
cal $... |
algorithms/base64.asm | ratedali/assembly-exercises | 1 | 105046 | <filename>algorithms/base64.asm<gh_stars>1-10
section .data
table db "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789/+",0
prompt db "Please enter a string of at most 1024 characters:",0x0a,0
nullprompt db "Input not given, using default string: '%s'... |
Hangman/Hangman.asm | Rafid013/Hangman--ASM- | 4 | 179079 | .MODEL SMALL
.STACK 100h
.DATA
HEADING DB 'HANGMAN'
TYPED_LETTERS DB 'PRESSED LETTERS: '
HIGHSCORE_MSG DB 'HIGHSCORE'
SCORE DB 'SCORE: '
QUESTION DB 'QUESTION: '
ANSWER DB 'ANSWER: '
LOSE DB 'YOU LOSE!!!'
WIN DB 'YOU WIN!!!'
EXIT_MSG DB 'PRESS ANY KEY TO EXIT'
QUESTION_F DB 120 DUP (0)
ANSWER_F DB 120 DUP (0)
FILENA... |
OpenOutlookCalendar.applescript | coyotwill/scripts | 0 | 4068 | tell application "Microsoft Outlook"
-- Bring app to FG if it was already open.
activate
if exists window "Calendar" then
-- Unminimize, open default window
reopen
-- Set Calendar to foremost
set index of window "Calendar" to 1
else
tell application "System Events"
-- Open new window, then navigate to ... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_43_1345.asm | ljhsiun2/medusa | 9 | 5188 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x19d99, %r14
add $29630, %rbp
mov $0x6162636465666768, %r8
movq %r8, %xmm4
movups %xmm4, (%r14)
nop
nop
nop
nop
nop
add %rdi, %rdi
lea addresses_D_ht+0x3a79, %rsi
nop
nop
xor $52786... |
src/MmLexer.g4 | anterokangas/mmjs | 0 | 7040 | <filename>src/MmLexer.g4<gh_stars>0
lexer grammar Mm;
Comment : '(*' .*? '*)' -> skip ;
CommandStart : LPAREN -> pushMode(CommandMode) ;
StringStart : ~RPAREN -> pushMode(StringMode) ;
mode DefinitionsMode ;
LPAREN : '(' ;
RPAREN : ')' ;
WS : [ \t\r\n]+ ;
Q : ['] ;
QQ : ["] ;
ID : ~(WS | Q | QQ | LPAREN | QPAREN) ;
... |
kv-avm-registers.adb | davidkristola/vole | 4 | 28564 | <gh_stars>1-10
with Ada.Streams.Stream_IO;
with Ada.Strings.Maps;
with Ada.Text_IO;
with String_Ops;
with kv.avm.Tuples;
package body kv.avm.Registers is
function "+"(S : String) return String_Type renames Ada.Strings.Unbounded.To_Unbounded_String;
function "+"(U : String_Type) return String renames Ada.Stri... |
programs/oeis/144/A144604.asm | neoneye/loda | 22 | 91409 | ; A144604: Christoffel word of slope 6/11.
; 0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1
add $0,1
mod $0,17
gcd $0,3
div $0,2
|
programs/oeis/084/A084902.asm | neoneye/loda | 22 | 243475 | <filename>programs/oeis/084/A084902.asm<gh_stars>10-100
; A084902: a(n) = 5^(n-1)*n*(n+1)/2.
; 0,1,15,150,1250,9375,65625,437500,2812500,17578125,107421875,644531250,3808593750,22216796875,128173828125,732421875000,4150390625000,23345947265625,130462646484375,724792480468750,4005432128906250
mov $2,5
pow $2,$0
mul $2,... |
my-bool-test.agda | logicshan/IAL | 0 | 5176 | module my-bool-test where
open import bool
open import eq
open import level
~~tt : ~ ~ tt ≡ tt
~~tt = refl
~~ff : ~ ~ ff ≡ ff
~~ff = refl
{-
~~-elim : ∀ (b : 𝔹) → ~ ~ b ≡ b
~~-elim tt = refl
~~-elim ff = refl
-}
~~-elim2 : ∀ (b : 𝔹) → ~ ~ b ≡ b
~~-elim2 tt = ~~tt
~~-elim2 ff = ~~ff
~~tt' : ~ ~ tt ≡ tt
~~tt' = ref... |
alloy4fun_models/trainstlt/models/1/uwAocRi2ujFTcqLev.als | Kaixi26/org.alloytools.alloy | 0 | 3887 | open main
pred iduwAocRi2ujFTcqLev_prop2 {
eventually Signal in (Signal&Green)
}
pred __repair { iduwAocRi2ujFTcqLev_prop2 }
check __repair { iduwAocRi2ujFTcqLev_prop2 <=> prop2o } |
src/ls.asm | dalegebit/DamnOS-DamnFS | 2 | 92070 | <reponame>dalegebit/DamnOS-DamnFS
ls: file format elf32-i386
Disassembly of section .text:
80001020 <_start>:
;// starts us running when we are initially loaded into a new environment.
.text
.globl _start
_start:
;// See if we were started with arguments on the stack
cmpl $USTACKTOP, %esp
80001020: 81 fc 00 e... |
src/q_bingada.adb | mgrojo/bingada | 2 | 19152 | --*****************************************************************************
--*
--* PROJECT: BINGADA
--*
--* FILE: q_bingada.adb
--*
--* AUTHOR: <NAME>
--*
--*****************************************************************************
with TEXT_IO;
with ADA.STRINGS.FIXED;
wi... |
regtests/search-positions-tests.adb | stcarrez/ada-search | 9 | 12951 | -----------------------------------------------------------------------
-- search-positions-tests -- Tests for positions
-- Copyright (C) 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the Licen... |
misc/tests/test2.asm | SimonFJ20/jdh-8 | 911 | 21070 | <gh_stars>100-1000
@org 0x0000
@include "os/arch.asm"
@define SEED 0x8000
@define OFFSET 0x8001
sw [ADDR_MB], 0x01
lda a, b, [0x0000]
loop:
lda [image]
add16 h, l, a, b
lw c
lda [ADDR_BANK]
add16 h, l, a, b
sw c
add16 a, b, 0x01
eq16 a, b, (SCANLINE_WIDTH_BYTES * SCREEN_HEIGHT)
jne [loop]
; fib... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b27a.ada | best08618/asylo | 7 | 7592 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b27a.ada
-- C87B27A.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
-- unlimi... |
ch02/2_power_4.asm | zzb610/asm-learn | 0 | 18984 | data SEGMENT
hello DB 'Hello World!$' ;注意要以$结束
data ENDS
code SEGMENT
ASSUME CS:CODE,DS:DATA
start:
mov ax, 2;
mov ax, ax;
mov ax, ax;
mov ax, ax
int 21h ;调用4C00h号功能,结束程序
code ENDS
END start
|
invokes_plsql/src/main/antlr4/dev/evolution/plsql/PlSqlComment.g4 | victoryw/LADE_Analysis | 12 | 6938 | grammar PlSqlComment;
swallow_to_semi
: ~( ';' )+
;
compilation_unit
: unit_statement* EOF
;
unit_statement
: comment
;
comment
: SINGLE_LINE_COMMENT
| MULTI_LINE_COMMENT
;
//{ Rule #097 <COMMENT>
SINGLE_LINE_COMMENT
: '--' ( ~('\r' | '\n') )* (NEWLINE|EOF) -> channel(2)
... |
dev/smartdrv/doubleb/badpart.asm | minblock/msdos | 0 | 86005 | <reponame>minblock/msdos
;
; Microsoft Confidential
; Copyright (C) Microsoft Corporation 1991
; All Rights Reserved.
;
vseg segment byte public 'CODE'
assume cs:vseg,ds:vseg,es:NOTHING
PUBLIC check_for_dangerous_disk_partitions
PUBLIC last_safe_byte
_PartitionEntry struc
PartBoot db ? ; Boot indicator
PartBe... |
loaders_patches_etc/screen_plasm_fade.asm | alexanderbazhenoff/zx-spectrum-various | 0 | 86742 | ORG 25500
ATRBUF EQU #8400
ADRBUF EQU #BA00
PHASES EQU 32
DI
LD HL,#BE00
LD B,L
LD A,H
LD I,A
INC A
INT_IL LD (HL),A
INC HL
DJNZ INT_IL
LD (HL),A
LD HL,#5800
LD BC,#300
LD D,B
LD E,C
CHA_L LD A,(HL)
... |
src/arch/i686/int_routines/keyboard_irq_wrapper.asm | miklhh/os4 | 3 | 23328 | global keyboard_irq_wrapper:function (keyboard_irq_wrapper.end - keyboard_irq_wrapper)
keyboard_irq_wrapper:
pusha
extern keyboard_irq
call keyboard_irq
popa
iret
.end:
|
src/DTGP.agda | larrytheliquid/dtgp | 9 | 12432 | <reponame>larrytheliquid/dtgp<filename>src/DTGP.agda
open import Relation.Nullary
open import Relation.Binary.PropositionalEquality
module DTGP
{Domain Word : Set}
(pre post : Word → Domain → Domain)
(_≟_ : (x y : Domain) → Dec (x ≡ y))
where
open import Function
open import Relation.Binary
open import Data.Bool ... |
src/keystore-tools.adb | thierr26/ada-keystore | 25 | 8723 | <reponame>thierr26/ada-keystore
-----------------------------------------------------------------------
-- keystore-tools -- Tools for the keystore
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except i... |
Definition/LogicalRelation/Substitution/Introductions/Universe.agda | loic-p/logrel-mltt | 0 | 13069 | <filename>Definition/LogicalRelation/Substitution/Introductions/Universe.agda<gh_stars>0
{-# OPTIONS --without-K --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Substitution.Introductions.Universe {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyp... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_549.asm | ljhsiun2/medusa | 9 | 93909 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_549.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x11c7f, %rsi
lea addresses_normal_ht+0x19a7f, %rdi
nop
nop
nop
sub $46914, ... |
src/arch/Ada/types.ads | vdh-anssi/ewok-kernel | 65 | 26196 | <filename>src/arch/Ada/types.ads
pragma restrictions (no_secondary_stack);
pragma restrictions (no_elaboration_code);
pragma restrictions (no_finalization);
pragma restrictions (no_exception_handlers);
pragma restrictions (no_recursion);
pragma restrictions (no_wide_characters);
with system;
with ada.unchecked_convers... |
alloy4fun_models/trashltl/models/9/S4kqo6K7jPpdsmZjf.als | Kaixi26/org.alloytools.alloy | 0 | 623 | open main
pred idS4kqo6K7jPpdsmZjf_prop10 {
always Protected in Protected'
}
pred __repair { idS4kqo6K7jPpdsmZjf_prop10 }
check __repair { idS4kqo6K7jPpdsmZjf_prop10 <=> prop10o } |
src/LibraBFT/Impl/Properties/Common.agda | LaudateCorpus1/bft-consensus-agda | 0 | 13081 | <reponame>LaudateCorpus1/bft-consensus-agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Concrete.Sys... |
programs/oeis/038/A038048.asm | neoneye/loda | 22 | 84427 | <gh_stars>10-100
; A038048: a(n) = (n-1)! * sigma(n).
; 1,3,8,42,144,1440,5760,75600,524160,6531840,43545600,1117670400,6706022400,149448499200,2092278988800,40537905408000,376610217984000,13871809695744000,128047474114560000,5109094217170944000,77852864261652480000,1839273918181539840000,26976017466662584320000,155112... |
lib/types/Lift.agda | UlrikBuchholtz/HoTT-Agda | 1 | 8268 | <reponame>UlrikBuchholtz/HoTT-Agda
{-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Pointed
module lib.types.Lift where
⊙Lift : ∀ {i j} → Ptd i → Ptd (lmax i j)
⊙Lift {j = j} (A , a) = ⊙[ Lift {j = j} A , lift a ]
⊙lift : ∀ {i j} {X : Ptd i} → fst (X ⊙→ ⊙Lift {j = j} X)
⊙lift = (lift , idp)... |
programs/oeis/100/A100637.asm | jmorken/loda | 1 | 94785 | ; A100637: Trisection of A000720.
; 2,3,4,5,6,7,8,9,9,10,11,11,12,13,14,15,15,16,16,17,18,18,19,20,21,21,22,23,23,24,24,24,25,26,27,28,29,30,30,30,30,30,31,32,32,33,34,34,34,35,36,36,37,37,38,39,39,40,40,41,42,42,42,43,44,45,46,46,46,46,47,47,47,47,48,49,50,51,51,52,53,53,53,54,54,55,55,56,56,57,58,58,59,60,61,61,61,62... |
deps/gmp.js/mpn/x86_64/aorrlsh2_n.asm | 6un9-h0-Dan/cobaul | 184 | 7849 | <gh_stars>100-1000
dnl AMD64 mpn_addlsh2_n and mpn_rsblsh2_n. R = 2*V +- U.
dnl ("rsb" means reversed subtract, name mandated by mpn_sublsh2_n which
dnl subtacts the shifted operand from the unshifted operand.)
dnl Copyright 2009 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl ... |
llvm-gcc-4.2-2.9/gcc/ada/g-excact.ads | vidkidz/crossbridge | 1 | 16096 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Algorithms/List/Sort/IsSort.agda | rei1024/agda-misc | 3 | 17319 | <filename>Algorithms/List/Sort/IsSort.agda<gh_stars>1-10
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module Algorithms.List.Sort.IsSort {c l₁ l₂} (DTO : DecTotalOrder c l₁ l₂) where
-- agda-stdlib
open import Level
import Relation.Binary.Reasoning.Setoid as SetoidReasoning
open import Data.List
im... |
src/main/fragment/mos6502-common/vbuyy_lt_vbuaa_then_la1.asm | jbrandwood/kickc | 2 | 96824 | <filename>src/main/fragment/mos6502-common/vbuyy_lt_vbuaa_then_la1.asm
sta $ff
cpy $ff
bcc {la1} |
src/sys/encoders/util-encoders-base64.adb | RREE/ada-util | 60 | 29598 | -----------------------------------------------------------------------
-- util-encoders-base64 -- Encode/Decode a stream in base64
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2016, 2017, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may ... |
oeis/071/A071005.asm | neoneye/loda-programs | 11 | 88995 | <gh_stars>10-100
; A071005: Binary expansion of Pi/3, A019670.
; Submitted by <NAME>
; 1,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,1,0,0,1,0,0,0,1,1,1,0,0,0,0,0,1,0,1,1,0,1,0,1,1,1,0,0,1,1,0,1,1,0,0,1,0,1,1,0,0,0,0,1,0,0,0,1,1,0,0,1,0,1,1,0,1,1,1,0,1,1,0,0,1,1,0,0,1,0,1,1,1,0,0,0,0,0,1,1,1,1,0,1,0
add $0,1
mov $2,1
mov $3,$0
mul ... |
src/main.asm | Gegel85/RunnerGB | 0 | 93422 | include "src/constants.asm"
include "src/macro.asm"
SECTION "Main", ROM0
notCGB::
call waitVBLANK
reset LCD_CONTROL
reg BGP, $E4
ld hl, NoCGBScreen
ld de, VRAM_START
ld bc, NoCGBScreenMap - NoCGBScreen
call copyMemory
ld b, 18
push hl
ld hl, VRAM_BG_START
pop de
.loop:
ld c, 20
.miniLoop:
ld a, [de]
ld... |
test/p9.asm | slcz/hummingbird | 0 | 22905 | <gh_stars>0
#include "hi.asm"
lh H(0xa5)
addi L(0xa5)
add 2f
addi 1
addic 1
// a = 2
hlt
2:
0x5a
|
test/succeed/Rose.agda | larrytheliquid/agda | 0 | 16682 | <filename>test/succeed/Rose.agda
{-# OPTIONS --sized-types #-}
module Rose where
postulate
Size : Set
_^ : Size -> Size
∞ : Size
{-# BUILTIN SIZE Size #-}
{-# BUILTIN SIZESUC _^ #-}
{-# BUILTIN SIZEINF ∞ #-}
data List (A : Set) : {_ : Size} -> Set where
[] : {size : Size} -> List A {size ^}
_::_ ... |
chapter_1/page_35/exercise_4/strlen.asm | assaflevy/practical_reverse_engineering | 0 | 104796 | global _main
extern _printf
section .data
hello_str: db 'Hello world!', 0
format: db 'my_strlen() returned %d', 10, 0
section .text
my_strlen:
push ebp
mov ebp, esp
mov edi, [ebp+8]
xor al, al
or ecx, 0xFFFFFFFF
repnz scasb
add ecx, 2
neg ecx
mov eax, ecx
mov esp, ebp
pop ebp
ret
_main:
push he... |
_anim/obj16.asm | vladjester2020/Sonic1TMR | 0 | 160754 | <reponame>vladjester2020/Sonic1TMR<gh_stars>0
; ---------------------------------------------------------------------------
; Animation script - harpoon (LZ)
; ---------------------------------------------------------------------------
dc.w byte_11F8A-Ani_obj16
dc.w byte_11F8E-Ani_obj16
dc.w byte_11F92-Ani_o... |
programs/oeis/005/A005910.asm | karttu/loda | 1 | 25041 | <gh_stars>1-10
; A005910: Truncated octahedral numbers: 16*n^3 - 33*n^2 + 24*n - 6.
; 1,38,201,586,1289,2406,4033,6266,9201,12934,17561,23178,29881,37766,46929,57466,69473,83046,98281,115274,134121,154918,177761,202746,229969,259526,291513,326026,363161,403014,445681,491258,539841,591526,646409,704586,766153,831206,899... |
programs/oeis/011/A011848.asm | karttu/loda | 1 | 10947 | <reponame>karttu/loda<filename>programs/oeis/011/A011848.asm<gh_stars>1-10
; A011848: a(n) = floor(binomial(n,2)/2).
; 0,0,0,1,3,5,7,10,14,18,22,27,33,39,45,52,60,68,76,85,95,105,115,126,138,150,162,175,189,203,217,232,248,264,280,297,315,333,351,370,390,410,430,451,473,495,517,540,564,588,612,637,663,689,715,742,770,7... |
alloy4fun_models/trashltl/models/17/REmKkFiPJWmQJbzX8.als | Kaixi26/org.alloytools.alloy | 0 | 4723 | open main
pred idREmKkFiPJWmQJbzX8_prop18 {
all f : File | always (f in Trash' => f not in Protected')
}
pred __repair { idREmKkFiPJWmQJbzX8_prop18 }
check __repair { idREmKkFiPJWmQJbzX8_prop18 <=> prop18o } |
llvm-gcc-4.2-2.9/gcc/ada/a-textio.ads | vidkidz/crossbridge | 1 | 10497 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
Completeness.agda | fangyi-zhou/mpst-in-agda | 1 | 17328 | open import Data.Empty using (⊥-elim)
open import Data.Fin using (Fin; _≟_)
open import Data.Nat using (suc; zero)
open import Data.Nat.Properties using (suc-injective; 0≢1+n)
open import Data.Product using (∃-syntax; _×_; _,_; proj₁; proj₂)
open import Data.Sum using (inj₁; inj₂)
open import Data.Vec using (lookup; _[... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/mak.lzh/mak/kart-bg-j.asm | prismotizm/gigaleak | 0 | 172399 | <reponame>prismotizm/gigaleak
Name: kart-bg-j.asm
Type: file
Size: 17571
Last-Modified: '1992-08-06T07:16:30Z'
SHA-1: A834631CD7DE9ABF5E8162AD31EB5C2B6B99C68E
Description: null
|
QuantitativeAlloy/models/alloy/bayesianNetwork/bayesContract.als | pf7/QAlloy | 0 | 4155 | <reponame>pf7/QAlloy
one sig Unit{
rain : one R,
-- input distribution to measure the contract [[grass_wet <- f <- raining]]
delta : one R
}
abstract sig R{
sprinkler : one S,
-- Helper relation to store: sprinkler ▿ iden
spID : one RS,
-- System that reacts to rain: sprinkler ▿ ((sprinkler ▿ iden).grass)
... |
programs/oeis/135/A135947.asm | neoneye/loda | 22 | 241409 | <filename>programs/oeis/135/A135947.asm
; A135947: a(n)=(floor(3*S2(n)/2)) mod 2, where S2(n) is the binary weight of n.
; 0,1,1,1,1,1,1,0,1,1,1,0,1,0,0,0,1,1,1,0,1,0,0,0,1,0,0,0,0,0,0,1,1,1,1,0,1,0,0,0,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,0,0,0,1,0,1,1,1,1,1,1,0,1,0,0,0,1,0,0,0,0,0,0,1,1,0,0,0
seq $0,324467 ; Three times ... |
ZeroMQ/filecode/examples/Ada/zmq-examples.ads | JailbreakFox/LightWeightRepository | 2 | 18035 | package ZMQ.Examples is
END_MESSAGE : constant String := "<END>";
end ZMQ.Examples;
|
source/oasis/program-elements-defining_names.ads | reznikmm/gela | 0 | 17080 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package Program.Elements.Defining_Names is
pragma Pure (Program.Elements.Defining_Names);
type Defining_Name is limited interface and Program.Elements.Element;
... |
programs/oeis/206/A206909.asm | karttu/loda | 1 | 166564 | ; A206909: Position of 2n+cos(n) when the sets {2k+cos(k)} and {2k+sin(k)} are jointly ranked.
; 1,3,5,8,10,12,14,15,17,19,22,24,26,27,29,31,34,36,38,39,41,43,46,48,50,51,53,55,57,60,62,64,65,67,69,72,74,76,77,79,81,84,86,88,89,91,93,96,98,100,102,103,105,107,110,112,114,115,117,119,122,124,126
mov $3,$0
add $3,1
mov ... |
programs/oeis/027/A027937.asm | karttu/loda | 0 | 94078 | ; A027937: a(n) = T(2*n, n+1), T given by A027935.
; 1,7,26,79,221,596,1581,4163,10926,28635,75001,196392,514201,1346239,3524546,9227431,24157781,63245948,165580101,433494395,1134903126,2971215027,7778742001,20365011024,53316291121
lpb $0,1
sub $0,1
add $1,1
add $3,2
add $1,$3
add $2,$1
add $1,$2
lpe
add $... |
src/EntityLanguage/EntityLanguage.g4 | cyberlect/entity-language | 0 | 3443 | grammar EntityLanguage;
start : 'module' ID definition* ;
definition : 'entity' ID '{' property* '}' ;
property : ID ':' type ;
type : ID ;
ID : [a-zA-Z_\-][a-zA-Z0-9_\-]* ;
WS : [ \t\r\n]+ -> skip ; |
alloy4fun_models/trashltl/models/4/MeE3DFfqNyDGofdZC.als | Kaixi26/org.alloytools.alloy | 0 | 2498 | open main
pred idMeE3DFfqNyDGofdZC_prop5 {
eventually (some f : File | f in Trash)
}
pred __repair { idMeE3DFfqNyDGofdZC_prop5 }
check __repair { idMeE3DFfqNyDGofdZC_prop5 <=> prop5o } |
src/game_level/level_data.asm | TypeDefinition/NautiBuoy | 2 | 99126 |
INCLUDE "./src/definitions/definitions.inc"
/* Stores the data on where and what type of enemy should be place on the level
Data for enemies:
- Enemy type
- Grid pos y * 8 pixels
- Grid pos x * 8 pixels
- Direction of movement and shoot direction
- health
- veloc... |
_anim/obj0E.asm | NatsumiFox/AMPS-Sonic-1-2005 | 2 | 241656 | ; ---------------------------------------------------------------------------
; Animation script - Sonic on the title screen
; ---------------------------------------------------------------------------
dc.w byte_A706-Ani_obj0E
byte_A706: dc.b 7, 0, 1, 2, 3, 4, 5, 6, 7, $FE, 2, 0
even |
03/1/src/main.adb | Heziode/aoc-ada-2021 | 3 | 19086 | with Ada.Containers.Vectors,
Ada.Exceptions,
Ada.Integer_Text_IO,
Ada.Text_IO;
with Utils;
procedure Main is
use Ada.Containers, Ada.Text_IO;
use Utils;
type Binary_Rate is record
Zero : Natural;
One : Natural;
end record;
type Binary is mod 2;
package Binary_R... |
src/Data/Bindings/Examples/HelloFour.agda | agda/agda-data-bindings | 2 | 14082 | <filename>src/Data/Bindings/Examples/HelloFour.agda
open import IO using ( run ; putStrLn )
open import Data.String using ( _++_ )
open import Data.Natural using ( # ; _+_ ; toString )
module Data.Bindings.Examples.HelloFour where
main = run (putStrLn ("Hello, " ++ toString (#(2) + #(2)) ++ ".")) |
routines.asm | brian-kelley/Mandelbrot | 1 | 172032 | <filename>routines.asm
; Notes on System V ABI:
; pointer/int argument passing order:
; rdi, rsi, rdx, rccx, r8, r9
; pointer/int returning order:
; rax, rdx
; free registers (no need to push/pop):
; rax, rcx, rdx, rsi, rdi, r8, r9, r10, r11
global _bimul ; void bimul(BigInt* dst, BigInt* lhs, BigInt* rhs... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2026.asm | ljhsiun2/medusa | 9 | 19202 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x2d51, %rsi
lea addresses_UC_ht+0x1ca81, %rdi
nop
nop
nop
nop
add $41195, %rbx
mov $67, %rcx
rep movsw
nop
nop
nop
and %rdx, %rdx
lea addresses_A_ht+0x8f01, %r9
nop
cmp $20166, %rdi
mov... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37211b.ada | best08618/asylo | 7 | 1862 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37211b.ada
-- C37211B.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
-- unlimi... |
libsrc/_DEVELOPMENT/target/zxn/driver/terminal/tshr_01_output_char_64/tshr_01_output_char_64_oterm_msg_printc.asm | jpoikela/z88dk | 640 | 18642 | SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC tshr_01_output_char_64_oterm_msg_printc
EXTERN asm_tshr_cxy2saddr
tshr_01_output_char_64_oterm_msg_printc:
; enter : c = ascii code
; l = absolute x coordinate
; h = absolute y coordinate
; can use: af, bc, de,... |
basic_associations/composite_foreign_keys.als | nowavailable/alloy_als_study | 0 | 2676 | <gh_stars>0
module composite_foreign_keys
/**
* 複合ユニーク外部キー(および複合ユニーク制約)の表現。
*/
sig Actor {
charactors: set Charactor
}
sig Movie {
charactors: set Charactor
}
sig Charactor {
actor: lone Actor,
movie: lone Movie,
novelty_items: set NoveltyItem
}
sig NoveltyItem {
charactor: one Charactor
}
fact {
Actor... |
Games/CMonster (Breakout)/Source/ti84cse.asm | CiaranGruber/Ti-84-Calculator | 1 | 12070 | ;############## CMonster by <NAME> - TI-84 Plus CSE main program
#include ti84pcse.inc
#define WORDLEN 2
#include data.asm
#define rscount $4024
Search_Levels rs(3)
Read_Ext_Level rs(3)
Draw_String rs(3)
Draw_Char ... |
src/LibraBFT/Impl/IO/OBM/GenKeyFile.agda | LaudateCorpus1/bft-consensus-agda | 0 | 8581 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
import LibraBFT.Impl.OBM.Genesis as Genesis
open im... |
getFrame.applescript | rcmdnk/AppleScript | 11 | 4665 | <reponame>rcmdnk/AppleScript<filename>getFrame.applescript
use framework "AppKit"
on sysv()
return current application's NSProcessInfo's processInfo()'s operatingSystemVersion()
end sysv
on highSierra()
set v to sysv()
return (majorVersion of v > 10 or (majorVersion of v is 10 and minorVersion of v ≥ 13))
end high... |
Irvine/Examples/ch11/TestReadkey.asm | alieonsido/ASM_TESTING | 0 | 105333 | <gh_stars>0
; Testing ReadKey (TestReadkey.asm)
INCLUDE Irvine32.inc
INCLUDE Macros.inc
.code
main PROC
L1: mov eax,10 ; delay for msg processing
call Delay
call ReadKey ; wait for a keypress
jz L1
test ebx,CAPSLOCK_ON
jz L2
mWrite <"CapsLock is ON",0dh,0ah>
jmp L3
L2: mWrite <"CapsLock is OFF... |
oeis/272/A272706.asm | neoneye/loda-programs | 11 | 177992 | ; A272706: Number of active (ON,black) cells at stage 2^n-1 of the two-dimensional cellular automaton defined by "Rule 515", based on the 5-celled von Neumann neighborhood.
; Submitted by <NAME>
; 1,5,25,137,649,2825,11785,48137,194569,782345,3137545,12566537,50298889,201261065,805175305,3220963337
mov $1,2
pow $1,$0
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.