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 |
|---|---|---|---|---|
programs/oeis/294/A294790.asm | karttu/loda | 1 | 80904 | <reponame>karttu/loda
; A294790: Subtract n from partial sums of partial sums of Catalan numbers.
; 1,2,5,13,35,99,295,920,2975,9892,33605,116104,406615,1440026,5147877,18550573,67310939,245716095,901759951,3325066997,12312494463,45766188949,170702447075,638698318851,2396598337951,9016444758503,34003644251207,128524394... |
3-mid/impact/source/3d/collision/broadphase/impact-d3-collision-broadphase-bounding_volume_tree.adb | charlie5/lace | 20 | 19407 | <filename>3-mid/impact/source/3d/collision/broadphase/impact-d3-collision-broadphase-bounding_volume_tree.adb
with ada.unchecked_Deallocation;
with impact.d3.collision.bounding_volume_Tree;
with impact.d3.collision.Proxy;
package body impact.d3.collision.Broadphase.bounding_volume_Tree
is
-- Helpers
--
... |
src/main/antlr/quova.antlr/QuovaLexer.g4 | FauxKiwi/QuovaLanguage | 0 | 6912 | lexer grammar QuovaLexer;
ShebangLine: '#!' .*? NL;
LineComment: '//' .*? (NL|EOF) -> channel(HIDDEN);
DelimitedComment: '/*' (DelimitedComment | .)*? '*/' -> channel(HIDDEN);
NL: [\n\r] -> channel(HIDDEN);
Space: [ \t\f] -> channel(HIDDEN);
//Keywords
AT_FILE: '@file:';
PACKAGE: 'package';
IMPORT: 'import';
FROM:... |
Syntax/Function.agda | Lolirofle/stuff-in-agda | 6 | 5559 | module Syntax.Function where
import Lvl
open import Type
open import Syntax.Type
private variable ℓ : Lvl.Level
private variable T A B C : Type{ℓ}
infix 2 [↦] [⤠] [⤇]
-- Custom syntax for an anonymous function
-- Example:
-- f : A → A
-- f = a ↦ a
--
-- g : (A → A → A) → (A → A → A)
-- g(_▫_) = a₁ ↦ a₂... |
test/sreg.asm | bitwiseworks/nasm-os2 | 3 | 17926 | <filename>test/sreg.asm
bits 64
mov es,rax
mov ss,rax
mov ds,rax
mov fs,rax
mov gs,rax
mov es,eax
mov ss,eax
mov ds,eax
mov fs,eax
mov gs,eax
mov es,ax
mov ss,ax
mov ds,ax
mov fs,ax
mov gs,ax
mov es,[rsi]
mov ss,[rsi]
mov ds,[rsi]
mov fs,[rsi]
mov gs,[rsi]
mov es,word [rsi]
... |
Library/Trans/Graphics/Bitmap/Tif/Export/cpt.asm | steakknife/pcgeos | 504 | 84696 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: cpt.asm
AUTHOR: <NAME>, May 28, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
... |
programs/oeis/282/A282622.asm | karttu/loda | 1 | 12237 | <gh_stars>1-10
; A282622: Number of digits of the representation of n in the alternating sexagesimal-decimal number system.
; 1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,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,3,3,3,3,3,3,3,3,... |
queryparser/src/main/antlr/QueryLanguage.g4 | RemmargorP/bsse-2020-graph-db | 1 | 6216 | grammar QueryLanguage;
script : (statement SEMICOLON)* EOF ;
statement : stmt_connect
| stmt_list
| stmt_select
| stmt_pattern_decl
;
stmt_connect : KW_CONNECT KW_TO STRING_DESC ;
stmt_list : KW_LIST KW_GRAPHS STRING_DESC?
| KW_LIST KW_LABELS STRING_DESC
;
... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca.log_1_1600.asm | ljhsiun2/medusa | 9 | 4575 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1106c, %rsi
nop
nop
nop
nop
nop
inc %r8
movl $0x61626364, (%rsi)
nop
nop
nop
add %rbx, %rbx
lea addresses_A_ht+0x12eec, %rsi
lea addresses_WC_ht+0x1d224, %rdi
xor $49363, %rax
mov $0, ... |
examples/native/coloroid.asm | jamieleecho/mcbasic | 0 | 23858 | ; Assembly for coloroid.bas
; compiled with mcbasic -native
; Equates for MC-10 MICROCOLOR BASIC 1.0
;
; Direct page equates
DP_LNUM .equ $E2 ; current line in BASIC
DP_TABW .equ $E4 ; current tab width on console
DP_LPOS .equ $E6 ; current line position on console
DP_LWID .equ $E7 ; current line width of console
;
... |
programs/oeis/006/A006859.asm | neoneye/loda | 22 | 85840 | <gh_stars>10-100
; A006859: From paths in the plane.
; 1,30,330,2145,10010,37128,116280,319770,793155,1808950,3848130,7719075,14725620,26898080,47303520,80454132,132835365,213578430,335304970,515175045,776173134,1148670600,1672307000,2398236750,3391791975,4735616886,6533333730,8913805255
mov $1,$0
add $0,1
add $1,2
mo... |
Appl/Art/Decks/GeoDeck/LMHeartJ.asm | steakknife/pcgeos | 504 | 175420 | <filename>Appl/Art/Decks/GeoDeck/LMHeartJ.asm<gh_stars>100-1000
LMHeartJ label byte
word C_BLACK
Bitmap <71,100,0,BMF_MONO>
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00
db 0... |
disorderly/gamma_tst_1.adb | jscparker/math_packages | 30 | 5391 |
-- gamma(1+x) = x! for x=0,1,2 ...
-- gamma(0.5) = sqrt(pi)
-- ln (sqrt(pi)) = 0.57236494292470008707171367567652935582354993281988
-- sqrt(pi) = 1.77245385090551602729816748334114518279737668859774
with Gamma;
with text_io; use text_io;
with ada.numerics.generic_elementary_functions;
procedure gamma_tst_1 is
... |
mc-sema/validator/x86/tests/Lea32R1.asm | randolphwong/mcsema | 2 | 246017 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; Lea32R1
mov eax, 0x21
mov edi, 0x8
;TEST_BEGIN_RECORDING
lea eax, [eax+edi+0x1]
;TEST_END_RECORDING
|
programs/oeis/033/A033880.asm | neoneye/loda | 22 | 173895 | ; A033880: Abundance of n, or (sum of divisors of n) - 2n.
; -1,-1,-2,-1,-4,0,-6,-1,-5,-2,-10,4,-12,-4,-6,-1,-16,3,-18,2,-10,-8,-22,12,-19,-10,-14,0,-28,12,-30,-1,-18,-14,-22,19,-36,-16,-22,10,-40,12,-42,-4,-12,-20,-46,28,-41,-7,-30,-6,-52,12,-38,8,-34,-26,-58,48,-60,-28,-22,-1,-46,12,-66,-10,-42,4,-70,51,-72,-34,-26,-... |
src/Web/Semantic/Util.agda | agda/agda-web-semantic | 9 | 6514 | <gh_stars>1-10
{-# OPTIONS --universe-polymorphism #-}
open import Data.Bool using ( Bool ; true ; false ; _∧_ )
open import Data.Empty using ()
open import Data.List using ( List ; [] ; _∷_ ; _++_ ; map )
open import Data.List.Any using ( here ; there )
open import Data.List.Membership.Propositional using ()
open imp... |
programs/oeis/283/A283980.asm | neoneye/loda | 22 | 3979 | ; A283980: a(n) = A003961(n)*A006519(n).
; 1,6,5,36,7,30,11,216,25,42,13,180,17,66,35,1296,19,150,23,252,55,78,29,1080,49,102,125,396,31,210,37,7776,65,114,77,900,41,138,85,1512,43,330,47,468,175,174,53,6480,121,294,95,612,59,750,91,2376,115,186,61,1260,67,222,275,46656,119,390,71,684,145,462,73,5400,79,246,245,828,143... |
bools.agda | DTMcNamara/CS3820-ProgrammingLanguageConcepts-Workout6 | 0 | 4931 | <reponame>DTMcNamara/CS3820-ProgrammingLanguageConcepts-Workout6
module bools where
open import lib
----------------------------------------------------------------------
-- these problems are about the nand operator, also known as the Scheffer stroke
------------------------------------------------------------... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca_notsx.log_21829_655.asm | ljhsiun2/medusa | 9 | 12796 | <filename>Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca_notsx.log_21829_655.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x100b4, %rsi
lea addresses_D_ht+0x3be4, %rdi
nop
nop
nop
cmp $23796, %rbx
mov $99, %rcx
r... |
Categories/Comonad.agda | copumpkin/categories | 98 | 2615 | module Categories.Comonad where
open import Level using (_⊔_)
open import Categories.Category using (Category)
open import Categories.Functor hiding (_≡_; assoc; identityˡ; identityʳ)
open import Categories.NaturalTransformation renaming (id to idN)
record Comonad {o ℓ e} (C : Category o ℓ e) : Set (o ⊔ ℓ ⊔ e) where... |
test/Fail/Issue705-record.agda | shlevy/agda | 1,989 | 230 | <filename>test/Fail/Issue705-record.agda
-- Andreas, 2017-07-27
module _ where
module A where
record A : Set where
open A
open A
-- ERROR WAS:
-- Ambiguous module name A. It could refer to any one of
-- A.A
-- Issue705.A
-- EXPECTED:
-- Ambiguous module name A. It could refer to any one of
-- A.A (record ... |
test/Succeed/Issue4170.agda | cruhland/agda | 1,989 | 5244 | open import Agda.Builtin.Reflection
open import Agda.Builtin.List
open import Agda.Builtin.Unit
data World : Set where
ww : World
test : Term → TC ⊤
test hole
= unify (con (quote ww) []) hole
HVet : Set₁
HVet = {@(tactic test) w : World} → Set
a : {HQ : HVet} → HQ → ⊤
a = _
|
oeis/270/A270935.asm | neoneye/loda-programs | 11 | 86899 | ; A270935: Number of active (ON,black) cells at stage 2^n-1 of the two-dimensional cellular automaton defined by "Rule 221", based on the 5-celled von Neumann neighborhood.
; Submitted by <NAME>
; 1,8,44,220,956,3964,16124,65020,261116,1046524,4190204,16769020,67092476,268402684,1073676284,4294836220
lpb $0
mov $2,$... |
extern/gnat_sdl/gnat_sdl2/src/stdlib_h.ads | AdaCore/training_material | 15 | 8104 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with umingw_h;
with Interfaces.C.Strings;
with System;
with stddef_h;
with Interfaces.C.Extensions;
package stdlib_h is
EXIT_SUCCESS : constant := 0; -- d:\install\gpl2018\x86_64-pc-mingw32\include\stdlib.h:34
EXIT_FAILURE : con... |
source/nodes/program-nodes-anonymous_access_to_procedures.adb | reznikmm/gela | 0 | 20245 | <reponame>reznikmm/gela
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Anonymous_Access_To_Procedures is
function Create
(Not_Token : Program.Lexical_Elements.Lexical_Elemen... |
gcc-gcc-7_3_0-release/gcc/ada/s-tasuti.adb | best08618/asylo | 7 | 9073 | <filename>gcc-gcc-7_3_0-release/gcc/ada/s-tasuti.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
custom_warp_script.applescript | DavidMChan/custom-alfred-warp-scripts | 2 | 1421 | <reponame>DavidMChan/custom-alfred-warp-scripts<filename>custom_warp_script.applescript<gh_stars>1-10
-- For the latest version:
-- https://github.com/DavidMChan/custom-alfred-warp-scripts
-- Set this property to true to always open in a new window
property open_in_new_window : true
-- Handlers
on new_window()
tell ... |
alloy4fun_models/trashltl/models/4/6cEaA7w8P7BTgYgEC.als | Kaixi26/org.alloytools.alloy | 0 | 4133 | open main
pred id6cEaA7w8P7BTgYgEC_prop5 {
always all f : File | eventually f in Trash
}
pred __repair { id6cEaA7w8P7BTgYgEC_prop5 }
check __repair { id6cEaA7w8P7BTgYgEC_prop5 <=> prop5o } |
programs/oeis/084/A084184.asm | karttu/loda | 0 | 178730 | ; A084184: Partial sums of a Jacobsthal related sequence.
; 0,1,2,7,10,31,42,127,170,511,682,2047,2730,8191,10922,32767,43690,131071,174762,524287,699050,2097151,2796202,8388607,11184810,33554431,44739242,134217727,178956970,536870911,715827882,2147483647,2863311530,8589934591,11453246122,34359738367,45812984490,137438... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_409.asm | ljhsiun2/medusa | 9 | 18198 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1726d, %r9
nop
nop
nop
inc %r11
vmovups (%r9), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $0, %xmm3, %r13
nop
nop
nop
nop
nop
inc %r14
lea addresses_WT_ht+0x39fd, %... |
oeis/131/A131682.asm | neoneye/loda-programs | 11 | 105094 | <reponame>neoneye/loda-programs
; A131682: a(n) = (n^1 + 1!)*(n^2 + 2!)*(n^3 + 3!)/3!.
; Submitted by <NAME>(s3)
; 2,7,42,242,1050,3537,9842,23732,51282,101675,188122,328902,548522,878997,1361250,2046632,2998562,4294287,6026762,8306650,11264442,15052697,19848402,25855452,33307250,42469427,53642682,67165742,83418442,102... |
src/Generic/Test/Eq.agda | turion/Generic | 30 | 3412 | <filename>src/Generic/Test/Eq.agda
module Generic.Test.Eq where
open import Generic.Main hiding (List; []; _∷_)
open import Generic.Test.Data.Fin
open import Generic.Test.Data.List
open import Generic.Test.Data.Vec
xs : Vec (List (Fin 4)) 3
xs = (fsuc fzero ∷ fzero ∷ [])
∷ᵥ (fsuc (fsuc fzero) ∷ [])
∷ᵥ (fzero ∷ ... |
q1.asm | daniyalmarofi/assembly | 0 | 83311 | <reponame>daniyalmarofi/assembly
.ORIG x3000
cint LD R3,b15 ; R3 is -32768, the least possible negative number
LD R1, a
LD R2, b
NOT R4, R1 ; NOT(a)
NOT R5, R2 ; NOT(b)
AND R4, R4, R2 ; AND(NOT(a),b)
AND R5, R5, R1 ; AND(NOT(b),a)
ADD... |
oeis/118/A118944.asm | neoneye/loda-programs | 11 | 246462 | <gh_stars>10-100
; A118944: n-th (starting from the right) decimal digit of 11^n.
; Submitted by <NAME>
; 1,2,3,4,6,7,9,1,3,5,8,1,4,7,1,5,0,5,1,7,4,1,9,8,8,9,1,4,8,4,1,1,2,5,1,9,0,4,1,2,7,7,2,2,8,1,1,0,7,3,1,0,2,8,0,9,7,6,8,4,9,4,2,7,3,4,3,6,9,7,7,5,1,2,8,0,9,8,1,4,2,5,4,0,9,8,7,9,0,0,3,7,6,7,6,3,5,9,8,6
mov $1,10
pow... |
Transynther/x86/_processed/US/_un_/i7-7700_9_0xca_notsx.log_21829_82.asm | ljhsiun2/medusa | 9 | 99050 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r9
lea addresses_WT_ht+0x5179, %r9
nop
nop
nop
nop
nop
xor %r13, %r13
mov $0x6162636465666768, %r12
movq %r12, %xmm7
and $0xffffffffffffffc0, %r9
vmovaps %ymm7, (%r9)
inc %r9
pop %r9
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
pu... |
android/android_23/frameworks/base/media/libstagefright/codecs/mp3dec/src/asm/pvmp3_polyphase_filter_window_wm.asm | yakuizhao/intel-vaapi-driver | 0 | 25081 | <gh_stars>0
; ------------------------------------------------------------------
; Copyright (C) 1998-2009 PacketVideo
;
; 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.apac... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1373.asm | ljhsiun2/medusa | 9 | 162412 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x17ddc, %rcx
clflush (%rcx)
nop
nop
nop
nop
cmp %r13, %r13
mov $0x6162636465666768, %rdx
movq %rdx, (%rcx)
nop
nop
cmp %r10, %r10
lea addresses_WC_ht+0xee7c, %rsi
lea addr... |
source/required/s-casi64.ads | ytomino/drake | 33 | 10216 | <reponame>ytomino/drake
pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Packed_Arrays;
package System.Compare_Array_Signed_64 is
pragma Preelaborate;
-- It can not be Pure, subprograms would become __attribute__((const)).
type Integer_64 is range -(2 ** 63) .. 2 ** ... |
oeis/002/A002625.asm | neoneye/loda-programs | 11 | 82502 | ; A002625: Expansion of 1/((1-x)^3*(1-x^2)^2*(1-x^3)).
; 1,3,8,17,33,58,97,153,233,342,489,681,930,1245,1641,2130,2730,3456,4330,5370,6602,8048,9738,11698,13963,16563,19538,22923,26763,31098,35979,41451,47571,54390,61971,70371,79660,89901,101171,113540,127092,141904,158068,175668,194804,215568,238068,262404,288693,3170... |
data/maps/objects/ViridianForestSouthGate.asm | opiter09/ASM-Machina | 1 | 4559 | ViridianForestSouthGate_Object:
db $a ; border block
def_warps
warp 4, 0, 3, VIRIDIAN_FOREST
warp 5, 0, 4, VIRIDIAN_FOREST
warp 4, 7, 5, LAST_MAP
warp 5, 7, 5, LAST_MAP
def_signs
def_objects
object SPRITE_GIRL, 8, 4, STAY, LEFT, 1 ; person
object SPRITE_LITTLE_GIRL, 2, 4, WALK, UP_DOWN, 2 ; person
... |
antlr/JSONCall.g4 | tqma113/json | 4 | 7319 | grammar JSONCall;
// Start json expand
callDefinition: 'call' callName ':' type '=>' type;
callName: name;
defiveDefinition: 'derive' typeName 'from' name;
importStatement: 'import' moduleItems 'from' path;
path: STRING;
moduleItems
: '{' (typeName ',')* (typeName ','?)? '}'
;
// Start json base
typeDef... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c57004b.ada | best08618/asylo | 7 | 7967 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c57004b.ada
-- C57004B.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... |
examples/stats.ads | jorge-real/TTS | 1 | 14290 | <reponame>jorge-real/TTS
with Ada.Real_Time; use Ada.Real_Time;
generic
NTasks: Positive;
package Stats is
subtype StatId is Natural range 1..NTasks*2;
procedure Register_Time(Id: in StatId; Time: Time_Span);
procedure Print_Stats;
private
Histogram_Last : constant Natural := 46;
type Histogram_T... |
tests/nasm/lea-nop.asm | brenden7158/v86 | 12,700 | 240015 | global _start
%include "header.inc"
; nops
lea edx, [edx]
db 8Dh, 40h, 00h
db 8Dh, 0B6h, 00h, 00h, 00h, 00h
db 8Dh, 0BCh, 27h, 00h, 00h, 00h, 00h
; non-nops, but similar encodings
lea eax, [bx+si]
lea cx, [bx+di]
lea edx, [edx+42]
lea ebp, [ebp*2]
%include "footer.inc"
|
oeis/118/A118747.asm | loda-lang/loda-programs | 11 | 15238 | ; A118747: a(n) = product[k=1..n] P(k), where P(k) is the largest prime <= 2*k. a(n) = product[k=1..n] A060308(k).
; Submitted by <NAME>
; 2,6,30,210,1470,16170,210210,2732730,46456410,882671790,16770764010,385727572230,8871734161290,204049885709670,5917446685580430,183440847252993330,5686666264842793230,17628665421012... |
week3/loop_for.adb | adammw/rtp_labs | 0 | 21468 | with Ada.Text_Io;
use Ada.Text_Io;
procedure Loop_For is
type Day_Type is (Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday);
Day : Day_Type := Day_Type'First;
begin
loop
Put_Line(Day'Img);
if Day = Day_Type'Last then
exit;
else
Day := Day_Type'Succ(Day);
end if;
end lo... |
LibraBFT/Abstract/Types/EpochConfig.agda | cwjnkins/bft-consensus-agda | 0 | 260 | <filename>LibraBFT/Abstract/Types/EpochConfig.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.Prelud... |
Lab Assessment Submission/Lab Assessment 1/LA1_1731301042.asm | MehreenAfree/CSE331L-Section-1-Fall20-NSU | 0 | 166193 |
org 100h ;starting add - 0000, ending - FFFF; prog start, assembler, return
MOV AX, 04
ADD AX, 02; add your code here
ADD AX, 06;
ret
|
src/sh1107.ads | hgrodriguez/sh1107 | 1 | 28418 | <filename>src/sh1107.ads
--===========================================================================
--
-- This package is the interface to the SH1107 OLED controller
--
--===========================================================================
--
-- Copyright 2022 (C) <NAME>
--
-- SPDX-License-Identifier: BSD-... |
src/verhoeff.ads | damaki/Verhoeff | 0 | 18169 | -------------------------------------------------------------------------------
-- Copyright (c) 2016 <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, includi... |
Lambda/Closure/Relational.agda | nad/codata | 1 | 11337 | <filename>Lambda/Closure/Relational.agda
------------------------------------------------------------------------
-- A relational semantics which uses closures and environments
------------------------------------------------------------------------
module Lambda.Closure.Relational where
open import Codata.Musical.No... |
_maps/Eggman2.asm | NatsumiFox/AMPS-Sonic-1-2005 | 2 | 82636 | ; ---------------------------------------------------------------------------
; Sprite mappings - Eggman (FZ)
; ---------------------------------------------------------------------------
dc.w byte_1A3DE-Map_Eggman2
dc.w byte_1A3FD-Map_Eggman2
byte_1A3DE: dc.b 6
dc.b $E4, 8, 0, $20, $F4
dc.b $EC, $D, 0, $23, $E... |
samples/evaluate.adb | jquorning/ada-el | 6 | 20139 | -----------------------------------------------------------------------
-- el -- Evaluate an EL expression
-- Copyright (C) 2009, 2010, 2011 <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 L... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/英語_PAL/pal_asm/zel_djdt.asm | prismotizm/gigaleak | 0 | 240298 | Name: zel_djdt.asm
Type: file
Size: 88141
Last-Modified: '2016-05-13T04:25:37Z'
SHA-1: 5CC265AB61A234FDA101C6BC251F097633926952
Description: null
|
alloy4fun_models/trashltl/models/10/3jChJg9gBidjQ47wu.als | Kaixi26/org.alloytools.alloy | 0 | 602 | <filename>alloy4fun_models/trashltl/models/10/3jChJg9gBidjQ47wu.als
open main
pred id3jChJg9gBidjQ47wu_prop11 {
all f : File | f not in Protected => f in Protected'
}
pred __repair { id3jChJg9gBidjQ47wu_prop11 }
check __repair { id3jChJg9gBidjQ47wu_prop11 <=> prop11o } |
programs/oeis/099/A099018.asm | karttu/loda | 1 | 3254 | ; A099018: Duplicate of A033484.
; 1,4,10,22,46,94,190,382,766,1534,3070,6142,12286,24574,49150,98302,196606,393214,786430,1572862,3145726,6291454,12582910,25165822
mov $1,2
pow $1,$0
mul $1,3
sub $1,2
|
libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/heap_init_callee.asm | meesokim/z88dk | 0 | 164779 |
; void *heap_init_callee(void *heap, size_t size)
SECTION code_alloc_malloc
PUBLIC _heap_init_callee
_heap_init_callee:
pop af
pop hl
pop bc
push af
INCLUDE "alloc/malloc/z80/asm_heap_init.asm"
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c96005a.ada | best08618/asylo | 7 | 4908 | <reponame>best08618/asylo<gh_stars>1-10
-- C96005A.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
-- unlimited rights in the software and docume... |
programs/oeis/093/A093230.asm | neoneye/loda | 22 | 91284 | ; A093230: a(n) is the largest number such that all of a(n)'s length-n substrings are distinct and divisible by 30.
; 0,900,99000,9990000,999900000,99999000000,9999990000000,999999900000000,99999999000000000,9999999990000000000,999999999900000000000,99999999999000000000000,9999999999990000000000000,99999999999990000000... |
source/league/codecs/matreshka-internals-text_codecs-windows1250.adb | svn2github/matreshka | 24 | 15144 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
oeis/000/A000912.asm | neoneye/loda-programs | 11 | 18446 | <filename>oeis/000/A000912.asm
; A000912: Expansion of (sqrt(1-4x^2) - sqrt(1-4x))/(2x).
; Submitted by <NAME>
; 1,0,2,4,14,40,132,424,1430,4848,16796,58744,208012,742768,2674440,9694416,35357670,129643360,477638700,1767258328,6564120420,24466250224,91482563640,343059554864,1289904147324,4861946193440,18367353072152,69... |
test/Fail/Issue62.agda | shlevy/agda | 1,989 | 11648 |
module Issue62 where
module A where
data A : Set where
a : A
module B where
open A
data B : Set where
a : B
open B
-- Note that a : A.A is not in scope here, so the following should not
-- type check.
foo : A.A -> A.A
foo a = a
|
g-casuti.ads | ytomino/gnat4drake | 0 | 2450 | pragma License (Unrestricted);
with Ada.Characters.Handling;
package GNAT.Case_Util is
pragma Preelaborate; -- Ada.Characters.Handling is not pure.
function To_Lower (A : Character) return Character
renames Ada.Characters.Handling.To_Lower;
procedure To_Lower (A : in out String);
end GNAT.Case_Util;
|
tools/akt-commands-drivers.adb | thierr26/ada-keystore | 25 | 22328 | -----------------------------------------------------------------------
-- akt-commands-drivers -- Ada Keystore command driver
-- 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 in compliance with the... |
test/Fail/CoinductiveBuiltinList.agda | shlevy/agda | 3 | 2731 | <reponame>shlevy/agda<filename>test/Fail/CoinductiveBuiltinList.agda
module CoinductiveBuiltinList where
open import Common.Coinduction
data List (A : Set) : Set where
[] : List A
_∷_ : (x : A) (xs : ∞ (List A)) → List A
{-# BUILTIN LIST List #-}
{-# BUILTIN NIL [] #-}
{-# BUILTIN CONS _∷_ #-}
|
source/function/stringmisc.asm | mega65dev/rom-assembler | 0 | 8441 | <gh_stars>0
; ********************************************************************************************
; ********************************************************************************************
;
; Name : stringmisc.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : <... |
s_lander.asm | yignoth/x16-pminer | 2 | 88874 | ;
; Template
;
StageLander: .block
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Definitions
;
L0_MAP_BASE = $00000
L1_MAP_BASE = $04000
SPRITE_START = $1E000
SPRITE_LANDER = SPRITE_START
SPRITE_LANDER_FLAME = (SPRITE_LANDER+512)
SPRITE_LANDER_FLAME_L = (SPRITE_LANDER_FLAME+512)
SPRITE_LANDER_FL... |
programs/oeis/319/A319622.asm | neoneye/loda | 22 | 89989 | ; A319622: Number of non-isomorphic connected weight-n antichains of distinct sets whose dual is also an antichain of (not necessarily distinct) sets.
; 1,1,1,1,1,1,2,1,3,2,7
sub $0,4
lpb $0
mov $2,$0
div $0,28
pow $0,2
max $2,0
seq $2,191529 ; Number of dispersed Dyck paths of length n (i.e., Motzkin paths ... |
3-mid/opengl/source/lean/model/opengl-model.adb | charlie5/lace-alire | 1 | 15607 | <filename>3-mid/opengl/source/lean/model/opengl-model.adb
with
ada.unchecked_Deallocation;
package body openGL.Model
is
---------
--- Forge
--
procedure define (Self : out Item) is null;
procedure deallocate is new ada.unchecked_Deallocation (Geometry.views,
... |
lab_07/7_3/main.asm | yakubauskaitemarianna/DOS-ASSEMBLER | 0 | 80828 | <filename>lab_07/7_3/main.asm
Stack SEGMENT STACK 'STACK'
DW 128h DUP (0)
Stack ENDS
EXTRN PR_menu : NEAR
EXTRN PR_input : NEAR
EXTRN PR_print2 : NEAR
EXTRN PR_print2_signed : NEAR
EXTRN PR_print10 : NEAR
EXTRN PR_print10_signed : NEAR
EXTRN PR_print16 : NEAR
EXTRN PR... |
Appl/Art/Decks/GeoDeck/CGADiamondJ.asm | steakknife/pcgeos | 504 | 16448 | <reponame>steakknife/pcgeos<gh_stars>100-1000
CGADiamondJ label byte
word C_BLACK
Bitmap <67,41,0,BMF_MONO>
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00
db 0x07, 0xe0, 0x00, 0x3b, 0x76, 0xd0, 0x00, 0x0e,
0x00
db 0x01, 0x80, 0x00,... |
source/iTunesMusic.popclipext/musicsearch.applescript | cnstntn-kndrtv/PopClip-Extensions | 1,262 | 2262 | -- activate itunes and bring music section to the front
tell application "iTunes"
activate
windows
reveal (some playlist whose special kind is Music)
end tell
-- poke it into submission
tell application "System Events"
tell process "iTunes"
-- wait for application to be frontmost
repeat 100 times
if frontmo... |
programs/oeis/305/A305497.asm | neoneye/loda | 22 | 29317 | <filename>programs/oeis/305/A305497.asm
; A305497: The largest positive even integer that can be represented with n digits in base 3/2.
; 2,4,8,14,22,34,52,80,122,184,278,418,628,944,1418,2128,3194,4792,7190,10786,16180,24272,36410,54616,81926,122890,184336,276506,414760,622142,933214,1399822,2099734,3149602,4724404,70... |
7e02.asm | sqph/td-micl | 0 | 3565 | ; 7e02.asm
; échange le contenu de deux variables déclarées dans la
; section .data en utilisant une variable créée sur la pile.
global main
section .data
var1 DW 42
var2 DW 1337
section .text
main:
nop
;échange
push word [var1] ; on met 42 sur la pile (2 bytes)
push word [var2] ... |
potions.asm | Catobat/z3randomizer | 31 | 84174 | ;--------------------------------------------------------------------------------
; $7F5092 - Potion Animation Busy Flags (Health)
; $7F5093 - Potion Animation Busy Flags (Magic)
;--------------------------------------------------------------------------------
!BUSY_HEALTH = $7F5092
RefillHealth:
REP #$20 ; set 16-bit... |
start.asm | tsu-iscd/lyapas-os | 0 | 4454 | extern kernel
global _idt
global _idtr
[BITS 16]
jmp 0x0:beginning
beginning:
cli
lgdt [_gdtr]
; turn to protected mode
mov eax, cr0
or eax, 1
mov cr0, eax
jmp 0x8:protected
[BITS 32]
protected:
mov ax, 2 * 8
mov ds, ax
mov es, ax
mov ss, ax
mov esp, 0x400000
mov eax, 0x100000
pu... |
programs/oeis/263/A263689.asm | neoneye/loda | 22 | 176232 | <reponame>neoneye/loda
; A263689: a(n) = (2*n^6 - 6*n^5 + 5*n^4 - n^2 + 12)/12.
; 1,1,2,34,277,1301,4426,12202,29009,61777,120826,220826,381877,630709,1002002,1539826,2299201,3347777,4767634,6657202,9133301,12333301,16417402,21571034,28007377,35970001,45735626,57617002,71965909,89176277,109687426,133987426,162616577,19... |
PIM/TD3_Sous_Programmes/lire_entier.adb | Hathoute/ENSEEIHT | 1 | 16831 | <filename>PIM/TD3_Sous_Programmes/lire_entier.adb
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure Lire_Entier is
-- Lire un entier au clavier.
-- Paramètres :
-- Nombre : l'entier à lire
-- Nécessite : ---
-- Assure : -- Nombre est l'entier lu
procedu... |
programs/oeis/132/A132753.asm | neoneye/loda | 22 | 167910 | <reponame>neoneye/loda
; A132753: a(n) = 2^(n+1) - n + 1.
; 3,4,7,14,29,60,123,250,505,1016,2039,4086,8181,16372,32755,65522,131057,262128,524271,1048558,2097133,4194284,8388587,16777194,33554409,67108840,134217703,268435430,536870885,1073741796,2147483619,4294967266,8589934561,17179869152,34359738335,68719476702,13743... |
src/Dodo/Binary/Equality.agda | sourcedennis/agda-dodo | 0 | 6770 | {-# OPTIONS --without-K --safe #-}
module Dodo.Binary.Equality where
-- Stdlib imports
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl)
open import Level using (Level; _⊔_)
open import Function using (_∘_)
open import Relation.Unary using (Pred)
open import Relation.Binary using ... |
source/cherry_program.adb | jquorning/CELLE | 0 | 15870 | <reponame>jquorning/CELLE<gh_stars>0
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
with ... |
sys/boot/file.asm | olifink/smsqe | 0 | 100685 | ; Create or add to bootloader type file
; ex boot_file, list of files, output file; 'ID'
; If the first file is only four bytes long, it is used to set hdr_xtra.
; The file header is copied from the first (host module) file, the trailer is
; removed and subsequent files are concantenated (after calculation of length
... |
lib/test/sources/conditions.asm | MircoT/js-pdp8 | 12 | 241667 | ORG 100
LDA X
SNA
HLT
INC
SZA
HLT
INC
SPA
HLT
FINE, HLT
X, DEC -1
END |
etude/etude21.als | nishio/learning_alloy | 1 | 4703 | <gh_stars>1-10
one sig Dummy {
map: Int -> Int -> Int
}{
all m: map{
}
}
fun get_1st(r: Int->Int->Int): Int{
r.univ.univ
}
fun get_2nd(r: Int->Int->Int): Int{
univ.r.univ
}
fun get_3rd(r: Int->Int->Int): Int{
univ.(univ.r)
}
run {
some x: Int {
x in Int
}
} for 5 Int
|
programs/oeis/047/A047415.asm | jmorken/loda | 1 | 93875 | <reponame>jmorken/loda
; A047415: Numbers that are congruent to {1, 3, 4, 6} mod 8.
; 1,3,4,6,9,11,12,14,17,19,20,22,25,27,28,30,33,35,36,38,41,43,44,46,49,51,52,54,57,59,60,62,65,67,68,70,73,75,76,78,81,83,84,86,89,91,92,94,97,99,100,102,105,107,108,110,113,115,116,118,121,123,124,126,129,131,132,134,137,139,140,142,1... |
util/cv/d1asc.asm | olifink/smsqe | 0 | 11238 | * Convert D1 to ASCII v0.00 May 1988 J.R.Oakley QJUMP
*
section cv
*
xref cv_uldiv
*
xdef cv_d1asc
*+++
* Convert a number of up to 8 digits into ASCII: the number is assumed
* to be unsigned.
*
* Registers:
* Entry Exit
... |
library/fm Dictionary/SFR_Unescape.applescript | NYHTC/applescript-fm-helper | 1 | 2062 | <reponame>NYHTC/applescript-fm-helper
-- SFR_Unescape(someString)
-- <NAME>, NYHTC
-- Unescapes strings from a SixFriedRice.com-style dictionary string for use in FileMaker.
(*
HISTORY:
1.0 - created
REQUIRES:
replaceSimple
*)
on run
SFR_Unescape("/</:foo/:/=bar/:/>")
end run
--------------------
-- START OF ... |
src/gen-commands-model.adb | Letractively/ada-gen | 0 | 7889 | <gh_stars>0
-----------------------------------------------------------------------
-- gen-commands-model -- Model creation command for dynamo
-- Copyright (C) 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except ... |
programs/oeis/289/A289877.asm | neoneye/loda | 22 | 21915 | ; A289877: Number of maximal cliques in the n-triangular honeycomb queen graph.
; 1,8,19,36,60,93,136,191,259,342,441,558,694,851,1030,1233,1461,1716,1999,2312,2656,3033,3444,3891,4375,4898,5461,6066,6714,7407,8146,8933,9769,10656,11595,12588,13636,14741,15904,17127
mov $2,$0
add $2,1
mov $5,$0
lpb $2
mov $0,$5
su... |
projects/batfish/src/main/antlr4/org/batfish/grammar/palo_alto/PaloAlto_redist_profile.g4 | zabrewer/batfish | 763 | 7552 | parser grammar PaloAlto_redist_profile;
import PaloAlto_common;
options {
tokenVocab = PaloAltoLexer;
}
redist_profile_priority
:
// 1-255
uint8
;
vrp_redist_profile
:
REDIST_PROFILE name = variable
(
vrprp_action
| vrprp_filter
| vrprp_priority
)?
;
vrprp_action
:
AC... |
assembler/tests/t_hcs08/t_hcs08.asm | paulscottrobson/RCA-Cosmac-VIP-III | 1 | 209 | <filename>assembler/tests/t_hcs08/t_hcs08.asm<gh_stars>1-10
cpu 68HCS08
page 0
bgnd
cphx #$55aa
cphx $20
cphx $2030
cphx $40,sp
ldhx #$55aa
ldhx $20
ldhx $2030
ldhx ,x
ldhx ... |
emulators/minivmac/files/readalias.applescript | telotortium/macports-ports | 0 | 3933 | <reponame>telotortium/macports-ports
-- $Id$
on run argv
tell application "Finder"
set the_path to item 1 of argv
try
-- Will throw an error if the_path does not exist.
set the_item to POSIX file the_path as alias
-- Will throw an error if the_item is not an alias.
return POSIX path of (original item ... |
libsrc/_DEVELOPMENT/string/c/sdcc_iy/strchrnul_callee.asm | meesokim/z88dk | 0 | 163667 |
; char *strchrnul_callee(const char *s, int c)
SECTION code_string
PUBLIC _strchrnul_callee
EXTERN asm_strchrnul
_strchrnul_callee:
pop af
pop hl
pop bc
push af
jp asm_strchrnul
|
oeis/005/A005554.asm | neoneye/loda-programs | 11 | 103117 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A005554: Sums of successive Motzkin numbers.
; Submitted by <NAME>
; 1,2,3,6,13,30,72,178,450,1158,3023,7986,21309,57346,155469,424206,1164039,3210246,8893161,24735666,69051303,193399578,543310782,1530523638,4322488212,12236130298,34713220977,98677591278,281031051011,80... |
commands/remote-control/denon-avr/configure.applescript | rashed-imam/script-commands | 1 | 1287 | #!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Configure
# @raycast.mode compact
# Optional parameters:
# @raycast.icon images/denon_logo.png
# @raycast.argument1 { "type": "text", "placeholder": "Denon AVR IP" }
# @raycast.argument2 { "type": "text", "placeholder": "Method (C... |
problems/007/a007.adb | melwyncarlo/ProjectEuler | 0 | 22994 | <filename>problems/007/a007.adb
with Ada.Integer_Text_IO;
-- Copyright 2021 <NAME>
procedure A007 is
use Ada.Integer_Text_IO;
Nth : constant Integer := 10001;
N : constant Integer := 1E+6;
Primes_N : Integer := 0;
I, J, Result : Integer;
type Large_Array_Bool is ... |
programs/oeis/246/A246443.asm | karttu/loda | 0 | 23767 | ; A246443: Nonnegative integers k satisfying cos(k)*sin(k+1) > 0.
; 0,1,3,4,6,7,9,10,12,13,14,15,16,17,18,19,20,21,22,23,25,26,28,29,31,32,34,35,36,37,38,39,40,41,42,43,44,45,47,48,50,51,53,54,56,57,58,59,60,61,62,63,64,65,66,67,69,70,72,73,75,76,78,79,80,81,82,83,84,85,86,87,88,89,91,92,94,95,97,98,100,101,102,103,104... |
dcf/src/dcf-streams.ads | onox/dcf-ada | 5 | 17897 | <gh_stars>1-10
-- SPDX-License-Identifier: MIT
--
-- Contributed by ITEC - NXP Semiconductors
-- June 2008
--
-- Copyright (c) 2008 - 2018 <NAME> (maintainer)
-- SWITZERLAND
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (... |
programs/oeis/154/A154599.asm | karttu/loda | 1 | 5832 | <gh_stars>1-10
; A154599: a(n) = 2*n^2 + 20*n + 8.
; 30,56,86,120,158,200,246,296,350,408,470,536,606,680,758,840,926,1016,1110,1208,1310,1416,1526,1640,1758,1880,2006,2136,2270,2408,2550,2696,2846,3000,3158,3320,3486,3656,3830,4008,4190,4376,4566,4760,4958,5160,5366,5576,5790,6008,6230,6456,6686,6920,7158,7400,7646,78... |
source/coroutines-timeouts.adb | reznikmm/coroutines | 3 | 30281 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Containers.Ordered_Sets;
with Ada.Containers.Vectors;
package body Coroutines.Timeouts is
type Timeout_Manager;
type Timeout_Manager_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.