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/199/A199553.asm | neoneye/loda | 22 | 20815 | <filename>programs/oeis/199/A199553.asm
; A199553: 5*8^n+1.
; 6,41,321,2561,20481,163841,1310721,10485761,83886081,671088641,5368709121,42949672961,343597383681,2748779069441,21990232555521,175921860444161,1407374883553281,11258999068426241,90071992547409921,720575940379279361,5764607523034234881,46116860184273879041,3... |
src/lexing.asm | POBIX/asm-lang | 1 | 179768 | dataseg
curr_line dw 1
codeseg
struc Lex
tok db ? ; Token
source dw ? ; string
line dw ? ; int
ends
; Lex* get_token(string word)
proc get_token
push bp
mov bp, sp
push di
push bx
push cx
push si
mov di, [bp + 4] ; word
; create a Lex, address stored in si
push ... |
libsrc/_DEVELOPMENT/adt/bv_stack/c/sccz80/bv_stack_init.asm | jpoikela/z88dk | 640 | 86931 | <filename>libsrc/_DEVELOPMENT/adt/bv_stack/c/sccz80/bv_stack_init.asm
; bv_stack_t *bv_stack_init(void *p, size_t capacity, size_t max_size)
SECTION code_clib
SECTION code_adt_bv_stack
PUBLIC bv_stack_init
EXTERN b_vector_init
defc bv_stack_init = b_vector_init
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _bv_st... |
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/sin.asm | ahjelm/z88dk | 640 | 241763 | <filename>libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/sin.asm
SECTION code_fp_am9511
PUBLIC _sin
EXTERN cam32_sdcc_sin
defc _sin = cam32_sdcc_sin
|
programs/oeis/006/A006062.asm | neoneye/loda | 22 | 244476 | ; A006062: Star-hex numbers.
; 1,37,1261,42841,1455337,49438621,1679457781,57052125937,1938092824081,65838103892821,2236557439531837,75977114840189641,2580985347126915961,87677524687474953037,2978454854027021487301,101179787512231255615201
seq $0,2315 ; NSW numbers: a(n) = 6*a(n-1) - a(n-2); also a(n)^2 - 2*b(n)^2 = -... |
test/mouse.adb | Fabien-Chouteau/sdlada | 1 | 17603 | with SDL;
with SDL.Error;
with SDL.Events.Events;
with SDL.Events.Keyboards;
with SDL.Inputs.Mice;
with SDL.Log;
with SDL.Video.Palettes;
with SDL.Video.Pixel_Formats;
with SDL.Video.Renderers.Makers;
with SDL.Video.Textures.Makers;
with SDL.Video.Windows.Makers;
with SDL.Versions;
procedure Mouse is
use type SDL.D... |
oeis/017/A017118.asm | neoneye/loda-programs | 11 | 8577 | <filename>oeis/017/A017118.asm
; A017118: a(n) = (8*n + 4)^6.
; 4096,2985984,64000000,481890304,2176782336,7256313856,19770609664,46656000000,98867482624,192699928576,351298031616,606355001344,1000000000000,1586874322944,2436396322816,3635215077376,5289852801024,7529536000000,10509215371264,14412774445056,1945642697113... |
src/ada/src/services/example_spark_service/uxas-comms-lmcp_net_client-service-example_spark_service.adb | VVCAS-Sean/OpenUxAS | 88 | 10465 | <gh_stars>10-100
with AFRL.CMASI.AutomationResponse.SPARK_Boundary; use AFRL.CMASI.AutomationResponse.SPARK_Boundary;
with AFRL.CMASI.MissionCommand; use AFRL.CMASI.MissionCommand;
with AVTAS.LMCP.Object.SPARK_Boundary; use AVTAS.LMCP.Object.SPARK_Boundary;
with UxAS.Comms.LMCP_Net_Clien... |
test/Succeed/Issue1890.agda | cruhland/agda | 1,989 | 10038 | <reponame>cruhland/agda<gh_stars>1000+
open import Common.Reflection
macro
round-trip : Term → Tactic
round-trip v hole = unify v hole
module M (A : Set) where
data D : Set where
test : Set
test = round-trip D
|
_maps/SSUPblock.asm | NatsumiFox/AMPS-Sonic-1-2005 | 2 | 165000 | <filename>_maps/SSUPblock.asm
; ---------------------------------------------------------------------------
; Sprite mappings - special stage "UP" block
; ---------------------------------------------------------------------------
dc.w byte_1B944-Map_SS_Up
dc.w byte_1B94A-Map_SS_Up
byte_1B944: dc.b 1
dc.b $F4, $A... |
test.asm | byteManiak/POKEY-Player | 0 | 171030 |
org $2000
instrument_length .byte $06
instrument_property .byte $aa, $a8, $a6, $a4, $a2, $a2
instrument_envelope .byte $38, $38, $38, $38, $38, $38
instrument_property_2 .byte $a0, $a0, $a0, $a0, $a8, $a2
instrument_envelope_2 .byte $38, $38, $38, $38, $38, $38
current_length .byte $00
ticks .byte $02
current_t... |
Categories/Category/Construction/EnrichedFunctors.agda | Taneb/agda-categories | 0 | 8239 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category using () renaming (Category to Setoid-Category)
open import Categories.Category.Monoidal
module Categories.Category.Construction.EnrichedFunctors
{o ℓ e} {V : Setoid-Category o ℓ e} (M : Monoidal V) where
-- The (enriched) functor category for a gi... |
audio/sfx/battle_16.asm | adhi-thirumala/EvoYellow | 16 | 97968 | SFX_Battle_16_Ch1:
unknownnoise0x20 1, 148, 35
unknownnoise0x20 1, 180, 34
unknownnoise0x20 8, 241, 68
endchannel
|
jm-illuminance/main.asm | KittenBot/jacdac-padauk | 4 | 177053 | .CHIP PMS171B
//{{PADAUK_CODE_OPTION
.Code_Option Security Disable
.Code_Option Bootup_Time Fast
.Code_Option LVR 3.0V
.Code_Option Comparator_Edge All_Edge
.Code_Option GPC_PWM Disable
.Code_Option TM2_Out1 PB2
.Code_Option TMx_Bit 6BIT
.Code_Option TMx_Source 16MHz
.Code_Option Interrupt_Src1 ... |
oeis/203/A203829.asm | neoneye/loda-programs | 11 | 10764 | ; A203829: Number of (n+1) X 3 0..2 arrays with every 2 X 2 subblock having equal diagonal elements or equal antidiagonal elements.
; Submitted by <NAME>(s2)
; 225,1971,17289,151659,1330353,11669859,102368025,897972507,7877016513,69097203603,606120799401,5316892787403,46639793487825,409124355815619,3588839615364921,314... |
src/include/transfer_from_computer.asm | rondnelson99/sram-39sf-flasher | 0 | 167379 | INIT_TOKEN = 42;sent by the GB
RECIEVED_TOKEN = 43;recieved by the gb 2nd
START_TOKEN = 44;sent by the GB 2nd
WAIT_TOKEN = 45;sent by the computer instead of RECIEVED_TOKEN when it needs more time to download stuff from the computer.
CopyRom:: ; this needs to be called during Vblank
call ClearLowerScreen... |
src/yaml/text-pool.adb | My-Colaborations/dynamo | 15 | 21848 | -- part of ParserTools, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
package body Text.Pool is
procedure Create (P : in out Reference'Class;
Initial_Size : Pool_Offset := Default_Size)
is
Initial_Chunk : constant Chunk := new Pool_Array
... |
kv-avm-messages.ads | davidkristola/vole | 4 | 26236 | with Ada.Streams;
with Ada.Finalization;
with Interfaces;
with kv.avm.Actor_References;
with kv.avm.Actor_References.Sets;
with kv.avm.Registers;
with kv.avm.Tuples;
package kv.avm.Messages is
use Interfaces;
use kv.avm.Registers;
use kv.avm.Tuples;
type Message_Type is tagged private;
procedure Ini... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1307b.ada | best08618/asylo | 7 | 15380 | -- CC1307B.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 documentation contained herein.
-- Unlimit... |
alloy4fun_models/trainstlt/models/13/o7sNEfGK2ow78R8tu.als | Kaixi26/org.alloytools.alloy | 0 | 2228 | <gh_stars>0
open main
pred ido7sNEfGK2ow78R8tu_prop14 {
always ( all t:Train | (some t.pos and one (t.pos.signal :>Green) )implies (t.pos'.signal in Signal-Green) )
}
pred __repair { ido7sNEfGK2ow78R8tu_prop14 }
check __repair { ido7sNEfGK2ow78R8tu_prop14 <=> prop14o } |
core/lib/groups/CommutingSquare.agda | mikeshulman/HoTT-Agda | 0 | 12286 | {-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.types.Group
open import lib.types.CommutingSquare
open import lib.groups.Homomorphism
open import lib.groups.Isomorphism
module lib.groups.CommutingSquare where
-- A new type to keep the parameters.
record CommSquareᴳ {i₀ i₁ j₀ j₁}
{G₀ ... |
msutest.asm | RobertTheSable/fe3-voice-poc | 0 | 240192 | <reponame>RobertTheSable/fe3-voice-poc
lorom
!INDEX_FLAG = $10
!MEMORY_FLAG = $20
MSU_STATUS = $2000
MSU_READ = $2001
MSU_ID = $2002
MSU_SEEK = $2000
MSU_TRACK = $2004
MSU_VOLUME = $2006
MSU_CONTROL = $2007
MSU_STATE_NOT_FOUND = %00001000
MSU_STATE_PLAYING = %00010000
MSU_STATE_BUSY = %01... |
libsrc/stdio/ansi/sharp-mz/f_ansi_char.asm | jpoikela/z88dk | 640 | 164819 | <reponame>jpoikela/z88dk<filename>libsrc/stdio/ansi/sharp-mz/f_ansi_char.asm
;
; ANSI Video handling for the SHARP MZ
;
; set it up with:
; .__console_w = max columns
; .__console_h = max rows
;
; Display a char in location (__console_y),(__console_x)
; A=char to display
;
;
; $Id: f_ansi_char.asm,v 1.6 2016-06-12 16:... |
theorems/groups/ExactSequence.agda | timjb/HoTT-Agda | 294 | 5566 | <filename>theorems/groups/ExactSequence.agda<gh_stars>100-1000
open import HoTT
open import groups.Exactness
open import groups.HomSequence
module groups.ExactSequence where
is-exact-seq : ∀ {i} {G H : Group i}
→ HomSequence G H → Type i
is-exact-seq (_ ⊣|ᴳ) = Lift ⊤
is-exact-seq (_ →⟨ φ ⟩ᴳ _ ⊣|ᴳ) = Lift ⊤
is-exact... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_814.asm | ljhsiun2/medusa | 9 | 243881 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r9
push %rbx
push %rdx
lea addresses_A_ht+0x165a9, %r9
clflush (%r9)
nop
nop
nop
nop
cmp $33149, %r11
movl $0x61626364, (%r9)
nop
nop
cmp %r12, %r12
lea addresses_WT_ht+0xcba9, %r15
nop
nop... |
bootdict/x86/rstack.asm | ikysil/ikforth | 8 | 244670 | ;******************************************************************************
;
; rstack.asm
; IKForth
;
; Unlicense since 1999 by <NAME>
;
;******************************************************************************
; Return stack manipulation
;*****************************************************************... |
oeis/025/A025958.asm | neoneye/loda-programs | 11 | 24815 | <reponame>neoneye/loda-programs
; A025958: Expansion of 1/((1-2x)(1-4x)(1-5x)(1-6x)).
; Submitted by <NAME>
; 1,17,185,1645,13041,96117,674185,4565165,30122081,194911717,1242462585,7828123485,48869031121,302849847317,1865814241385,11440608686605,69880858180161,425505538990917,2584272622186585,15662382429614525,94760227... |
src/notify.adb | VitalijBondarenko/notifyada | 0 | 27723 | ------------------------------------------------------------------------------
-- --
-- Copyright (c) 2014-2021 <NAME> <<EMAIL>> --
-- --
----------------------------... |
source/asis/asis-ada_environments-containers.ads | faelys/gela-asis | 4 | 12838 | ------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
llvm-gcc-4.2-2.9/gcc/ada/a-dirval-mingw.adb | vidkidz/crossbridge | 1 | 19685 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
src/Similarity/General.agda | nad/up-to | 0 | 16194 | <gh_stars>0
------------------------------------------------------------------------
-- A parametrised coinductive definition that can be used to define
-- various forms of similarity
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
open import Prelude
open impor... |
Library/Text/TextLine/tlLargeDraw.asm | steakknife/pcgeos | 504 | 171817 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: tlLargeDraw.asm
AUTHOR: <NAME>, Dec 26, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
... |
programs/oeis/008/A008233.asm | karttu/loda | 0 | 90011 | ; A008233: a(n) = floor(n/4)*floor((n+1)/4)*floor((n+2)/4)*floor((n+3)/4).
; 0,0,0,0,1,2,4,8,16,24,36,54,81,108,144,192,256,320,400,500,625,750,900,1080,1296,1512,1764,2058,2401,2744,3136,3584,4096,4608,5184,5832,6561,7290,8100,9000,10000,11000,12100,13310,14641,15972,17424,19008,20736,22464,24336,26364,28561,30758,331... |
projects/batfish/src/main/antlr4/org/batfish/grammar/arista/Arista_common.g4 | jeffkala/batfish | 0 | 1946 | <filename>projects/batfish/src/main/antlr4/org/batfish/grammar/arista/Arista_common.g4
parser grammar Arista_common;
options {
tokenVocab = AristaLexer;
}
bgp_local_pref
:
// full range of values: 0-4294967295
p = uint32
;
interface_address
:
ip = IP_ADDRESS subnet = IP_ADDRESS
| prefix = IP_PREFIX
;
ip_... |
windowResizeHeightMinus.applescript | rcmdnk/AppleScript | 11 | 1965 | <reponame>rcmdnk/AppleScript<filename>windowResizeHeightMinus.applescript<gh_stars>10-100
set scriptPath to ((path to me as text) & "::")
set windowResizeScpt to scriptPath & "windowResize.scpt"
set windowResize to load script file windowResizeScpt
windowResize's windowResize(0, -1)
|
libsrc/_DEVELOPMENT/arch/zx/ulaplus/c/sdcc/ulap_attr_from_pentp_penti.asm | jpoikela/z88dk | 640 | 3894 | ; unsigned char ulap_attr_from_pentp_penti(unsigned char pentp,unsigned char penti)
SECTION code_clib
SECTION code_arch
PUBLIC _ulap_attr_from_pentp_penti
EXTERN asm_ulap_attr_from_pentp_penti
_ulap_attr_from_pentp_penti:
pop af
pop hl
push hl
push af
jp asm_ulap_attr_from_pentp_penti
|
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-8650U_0xd2_notsx.log_899_519.asm | ljhsiun2/medusa | 9 | 21023 | <filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-8650U_0xd2_notsx.log_899_519.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x10d76, %rsi
lea addresses_normal_ht+0x4c0f, %rdi
nop
nop
nop
nop
nop
sub $28197, %r15
mov $23, %rcx... |
source/containers/a-cbtrsi.ads | ytomino/drake | 33 | 567 | <filename>source/containers/a-cbtrsi.ads<gh_stars>10-100
pragma License (Unrestricted);
-- implementation unit
package Ada.Containers.Binary_Trees.Simple is
pragma Preelaborate;
Node_Size : constant := Standard'Address_Size * 3;
type Node is new Binary_Trees.Node;
for Node'Size use Node_Size;
proced... |
oeis/016/A016298.asm | neoneye/loda-programs | 11 | 89182 | ; A016298: Expansion of 1/((1-2x)(1-5x)(1-9x)).
; Submitted by <NAME>
; 1,16,183,1850,17681,164316,1504843,13673710,123714261,1116683216,10066424303,90679197570,816519676441,7350711587716,66166576804563,595550053849430,5360204797752221,48243114745437816
mov $1,1
mov $3,2
lpb $0
sub $0,1
mul $1,5
div $3,2
mul $... |
Applications/Finder/open/open (path to home folder).applescript | looking-for-a-job/applescript-examples | 1 | 3717 | <filename>Applications/Finder/open/open (path to home folder).applescript<gh_stars>1-10
#!/usr/bin/osascript
tell application "Finder"
open (path to home folder)
activate
end tell |
gramaticaSin.g4 | adgaol/PruebaANTLRDesc | 0 | 3287 | <reponame>adgaol/PruebaANTLRDesc
grammar gramaticaSin;
exp returns [Integer expO]
:{
//Node node=writer.addPasoNoTerminalDes("EXP", expO, false, null, null, false, null, null);
}
bO=b[true] aO=a[((ExpContext)_localctx).bO.bO,true,false] PuntoComa {
//writer.... |
test/Fail/ModuleArityMismatchEmptyTel.agda | cruhland/agda | 1,989 | 1669 | <filename>test/Fail/ModuleArityMismatchEmptyTel.agda
-- Andreas, 2015-12-01, test case to trigger error ModuleArityMismatch EmptyTel
module _ where
module M where
module M′ = M Set
|
Application Support/BBEdit/AppleScript/Copy Line Down.applescript | bhdicaire/bbeditSetup | 0 | 304 | <filename>Application Support/BBEdit/AppleScript/Copy Line Down.applescript
# Copies selected lines down and moves selection to the new lines.
tell application "BBEdit"
set start_line to startLine of selection
set end_line to endLine of selection
tell window 1
set line_data to contents of lines start_line thru end... |
test/Fail/Issue4189.agda | shlevy/agda | 1,989 | 5082 | -- Andreas, 2019-11-11, issue #4189, reported by nad.
-- Record constructors living in the record module are problematic
-- as the record module is parameterized over the record value,
-- but the constructor not.
-- Thus, a record constructor does not live in the record module
-- any more.
-- {-# OPTIONS -v tc.mod.a... |
experiments/test-suite/mutation-based/20/2/sll.als | kaiyuanw/AlloyFLCore | 1 | 1613 | pred test4 {
some disj List0: List {some disj Node0, Node1, Node2: Node {
List = List0
header = List0->Node0 + List0->Node1 + List0->Node2
Node = Node0 + Node1 + Node2
link = Node0->Node2 + Node1->Node1 + Node2->Node0
}}
}
run test4 for 3 expect 0
pred test3 {
some disj Node0: Node {
no List
no header
Node = Node0
no l... |
tools-src/gnu/gcc/gcc/ada/sem_ch10.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 26112 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
3-mid/opengl/source/lean/opengl-frame_buffer.adb | charlie5/lace | 20 | 25821 | <filename>3-mid/opengl/source/lean/opengl-frame_buffer.adb
with
GL.lean,
GL.Binding,
openGL.Tasks,
openGL.Errors;
package body openGL.Frame_Buffer
is
package body Forge
is
function to_Frame_Buffer (Width,
Height : in Positive) return Item
is
... |
iod/con2/atmono/spray.asm | olifink/smsqe | 0 | 160390 | * Spray pixels in blob v0.00 Oct 1987 J.R.Oakley QJUMP
*
* Registers:
* Entry Exit
* D1 x,y position
* D2 number of pixels to spray
* A1 pointer to blob smashed
* A2 pointer to pattern
*
section driver
*
include 'dev8_keys_qdos_pt'
include 'dev8_keys_qdos_sms'
include 'dev8_keys_con'
*
xref pt_chkbp
... |
test/Fail/ModuleInMutual.agda | cruhland/agda | 1,989 | 6929 | <reponame>cruhland/agda
-- Currently modules are not allowed in mutual blocks.
-- This might change.
module ModuleInMutual where
mutual
module A where
T : Set -> Set
T A = A
module B where
U : Set -> Set
U B = B
|
programs/oeis/051/A051801.asm | neoneye/loda | 22 | 100738 | ; A051801: Product of the nonzero digits of n.
; 1,1,2,3,4,5,6,7,8,9,1,1,2,3,4,5,6,7,8,9,2,2,4,6,8,10,12,14,16,18,3,3,6,9,12,15,18,21,24,27,4,4,8,12,16,20,24,28,32,36,5,5,10,15,20,25,30,35,40,45,6,6,12,18,24,30,36,42,48,54,7,7,14,21,28,35,42,49,56,63,8,8,16,24,32,40,48,56,64,72,9,9,18,27,36,45,54,63,72,81
mov $1,8
lpb... |
programs/oeis/189/A189574.asm | neoneye/loda | 22 | 10654 | ; A189574: Partial sums of A189572.
; 0,1,1,1,2,2,3,3,4,4,4,5,5,6,6,6,7,7,8,8,8,9,9,10,10,11,11,11,12,12,13,13,13,14,14,15,15,16,16,16,17,17,18,18,18,19,19,20,20,21,21,21,22,22,23,23,23,24,24,25,25,25,26,26,27,27,28,28,28,29,29,30,30,30,31,31,32,32,33,33,33,34,34
mov $1,$0
seq $0,1953 ; a(n) = floor((n + 1/2) * sqrt(2... |
out/UTLC/Syntax.agda | JoeyEremondi/agda-soas | 39 | 10123 | {-
This second-order term syntax was created from the following second-order syntax description:
syntax UTLC | Λ
type
* : 0-ary
term
app : * * -> * | _$_ l20
lam : *.* -> * | ƛ_ r10
theory
(ƛβ) b : *.* a : * |> app (lam (x.b[x]), a) = b[a]
(ƛη) f : * |> lam (x.app (f, x)) = f
(lβ) b ... |
cohomology/ProductRepr.agda | danbornside/HoTT-Agda | 0 | 14062 | {-# OPTIONS --without-K #-}
open import HoTT
open import cohomology.Exactness
open import cohomology.FunctionOver
module cohomology.ProductRepr where
{- Given the following commutative diagram of homomorphisms,
H₁ i₁ i₂ H₂
↘ ↙
id ↓ G ↓ id
↙ ↘
H₁ j₁ j₂ H₂
... |
src/main/java/org/shaneking/book/isbn9787111566489/s4c4two/Data.g4 | ShaneKingStudy/org.shaenking.study.book.isbn9787111566489 | 0 | 1086 | <gh_stars>0
grammar Data ;
file : group+ ;
group : INT sequence[$INT.int] ;
sequence[int n]
locals [int i = 1;] : ( {$i <= $n}? INT {$i++;} )* ; // match n integer
INT : [0-9]+ ;
WS: [ \t\r\n]+ -> skip;
|
programs/oeis/022/A022368.asm | neoneye/loda | 22 | 5059 | <reponame>neoneye/loda
; A022368: Fibonacci sequence beginning 2, 12.
; 2,12,14,26,40,66,106,172,278,450,728,1178,1906,3084,4990,8074,13064,21138,34202,55340,89542,144882,234424,379306,613730,993036,1606766,2599802,4206568,6806370,11012938,17819308,28832246,46651554,75483800,122135354,197619154,319754508,517373662,8371... |
src/coreclr/vm/amd64/thunktemplates.asm | berkansasmaz/runtime | 8 | 241226 | ; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
include <AsmMacros.inc>
include AsmConstants.inc
PAGE_SIZE = 4096
DATA_SLOT macro stub, field
exitm @CatStr(stub, <Code + PAGE_SIZE + >, stub, <Data__>, field)
endm
LEAF_ENTRY S... |
Screen Rotation Toggle.applescript | matatk/ScreenRotationToggle | 3 | 4661 | <gh_stars>1-10
-- Thanks to https://github.com/pykler/applescripts/blob/master/rotate_screen/RotateScreen.applescript
-- Had to add the "first" for the dropdown menu to work on 10.9
on assistive_access_check()
tell application "System Events"
if not (UI elements enabled) then
return false
else
return true
... |
utils/render.ads | Fabien-Chouteau/GESTE-examples | 1 | 23368 | <reponame>Fabien-Chouteau/GESTE-examples
with GESTE;
with GESTE_Config;
package Render is
procedure Push_Pixels (Buffer : GESTE.Output_Buffer);
procedure Set_Drawing_Area (Area : GESTE.Pix_Rect);
procedure Set_Screen_Offset (Pt : GESTE.Pix_Point);
procedure Render_All (Background : GESTE_Config.Output_... |
tools/ada-larl/writers.adb | optikos/oasis | 0 | 12535 | ------------------------------------------------------------------------------
-- <NAME> <NAME> --
-- Library for dealing with grammars for Gela project, --
-- a portable Ada compiler --
-- ... |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_IterateUpdateSpr_callee.asm | jpoikela/z88dk | 640 | 169850 | <filename>libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_IterateUpdateSpr_callee.asm
; void __CALLEE__ sp1_IterateUpdateSpr_callee(struct sp1_ss *s, void *hook2)
; 11.2006 aralbrec, Sprite Pack v3.0
; sinclair zx version
SECTION code_clib
SECTION code_temp_sp1
PUBLIC sp1_IterateUpdateSpr_callee
EXTERN asm_sp1_IterateU... |
contrib/libs/openssl/asm/windows/engines/e_padlock-x86_64.asm | ZhekehZ/catboost | 4 | 23548 | <reponame>ZhekehZ/catboost
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
global padlock_capability
ALIGN 16
padlock_capability:
mov r8,rbx
xor eax,eax
cpuid
xor eax,eax
cmp ebx,0x746e6543
jne NEAR $L$zhaoxin
cmp edx,0x48727561
jne NEAR $L$noluck
cmp... |
binutils-2.21.1/gcc-4.5.1/libgcc/config/ia64/_fixtfdi.asm | cberner12/xv6 | 51 | 80976 | #ifdef SHARED
#define __fixtfti __fixtfti_compat
#endif
#define L_fixtfdi
#include "config/ia64/lib1funcs.asm"
#ifdef SHARED
#undef __fixtfti
.symver __fixtfti_compat, __fixtfti@GCC_3.0
#endif
|
oeis/142/A142286.asm | neoneye/loda-programs | 11 | 91299 | ; A142286: Primes congruent to 37 mod 43.
; Submitted by <NAME>(w2)
; 37,467,811,983,1069,1327,1499,2273,2531,2617,2789,3391,3821,3907,4079,4337,4423,5197,6143,6229,6659,6917,7433,7691,7949,8293,9067,9239,9497,10099,10271,10357,10529,11131,12163,12421,13109,13367,13711,13883,14657,15173,15259,16033,16979,17581,17839,18... |
src/gl/implementation/gl-blending.adb | Roldak/OpenGLAda | 79 | 29455 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with GL.API;
with GL.Enums.Getter;
package body GL.Blending is
procedure Set_Blend_Func (Src_Factor, Dst_Factor : Blend_Factor) is
begin
API.Blend_Func (Src_Factor, Dst_Factor);
Raise_Exce... |
projects/batfish/src/main/antlr4/org/batfish/grammar/palo_alto/PaloAlto_deviceconfig.g4 | anubhavnidhi/batfish | 10 | 811 | parser grammar PaloAlto_deviceconfig;
import PaloAlto_common;
options {
tokenVocab = PaloAltoLexer;
}
s_deviceconfig
:
DEVICECONFIG
(
sd_system
)
;
sd_system
:
SYSTEM
(
sds_dns_setting
| sds_hostname
| sds_ntp_servers
)
;
sds_dns_setting
:
DNS_SETTING... |
oeis/131/A131951.asm | neoneye/loda-programs | 11 | 9802 | ; A131951: 2^n+n*(n+3).
; Submitted by <NAME>(s3.)
; 1,6,14,26,44,72,118,198,344,620,1154,2202,4276,8400,16622,33038,65840,131412,262522,524706,1049036,2097656,4194854,8389206,16777864,33555132,67109618
mov $1,2
pow $1,$0
add $1,$0
add $0,1
pow $0,2
add $1,$0
mov $0,$1
sub $0,1
|
Data/ships/Moray.asm | ped7g/EliteNext | 0 | 26465 | <filename>Data/ships/Moray.asm
Moray: DB $01, $03, $84
DW MorayEdges
DB MorayEdgesSize
DB $00, $1A
DB MorayVertSize
DB MorayEdgesCnt
DB $00, $32
... |
oeis/158/A158488.asm | neoneye/loda-programs | 11 | 19639 | <gh_stars>10-100
; A158488: a(n) = 64*n^2 + 8.
; Submitted by <NAME>
; 72,264,584,1032,1608,2312,3144,4104,5192,6408,7752,9224,10824,12552,14408,16392,18504,20744,23112,25608,28232,30984,33864,36872,40008,43272,46664,50184,53832,57608,61512,65544,69704,73992,78408,82952,87624,92424,97352,102408,107592,112904,118344,123... |
oeis/255/A255634.asm | neoneye/loda-programs | 11 | 247449 | ; A255634: Numbers n such that 1 + 16n^2 is prime.
; Submitted by <NAME>
; 1,4,5,6,9,10,14,21,29,30,31,39,40,44,45,46,51,56,59,60,64,65,66,70,71,75,85,96,99,100,105,109,110,111,116,124,134,136,139,144,146,159,161,170,174,175,176,179,185,190,191,195,196,204,215,216,230,234,240,251,259,265,270,274,281
mov $2,$0
add $2,1... |
programs/oeis/188/A188501.asm | neoneye/loda | 22 | 81066 | ; A188501: Number of n X 2 binary arrays without the pattern 0 1 0 diagonally, vertically or horizontally.
; 4,16,49,144,441,1369,4225,12996,40000,123201,379456,1168561,3598609,11082241,34128964,105103504,323676081,996791184,3069714025,9453478441,29112890625,89655929476,276104007936,850288696321,2618545348864,806406079... |
test/table-test/test_tabelle.adb | fintatarta/protypo | 0 | 2261 | <reponame>fintatarta/protypo<gh_stars>0
with Protypo.Api.Interpreters;
with Protypo.Api.Consumers.File_Writer;
with Protypo.Api.Engine_Values.Basic_Array_Wrappers;
-- with User_Records;
with Integer_Arrays;
with Ada.Command_Line;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Exceptions;
with Protypo.Api.Engine_Values.T... |
src/test/resources/ada-sources/delimiters.adb | WinterAlexander/Ada-IntelliJ | 17 | 2048 | <filename>src/test/resources/ada-sources/delimiters.adb
-- Single Delimiters
& ' ( ) * + , - . / : ; < = > |
-- Compound Delimiters
=> .. ** := /= >= <= << >> <>
-- Special cases
=>=
<=>
<<>
<<>>
<>>
character_literal('a')
apostrophe'delimiter
Variable'Access
Character'('a')
|
tools/tape_turbo_save_load.asm | alexanderbazhenoff/zx-spectrum-various | 0 | 81637 | <filename>tools/tape_turbo_save_load.asm
; This Source Code Form is subject to the terms of the MIT
; hLicense. If a copy of the MPL was not distributed with
; this file, You can obtain one at https://github.com/aws/mit-0
; ----------------------------------------------------
; TURBO TAPE SAVE/LOAD ROUTINES
; You can... |
kernel/arch/x86_shared/sse.asm | feliwir/benny | 3 | 8045 | .code32
.global setup_SSE
.section .text
setup_SSE:
# check for SSE
movl $0x1, %eax
cpuid
test $(1<<25), %edx
jz .no_SSE
# enable SSE
movl %cr0, %eax
and $0xFFFB, %ax # clear coprocessor emulation CR0.EM
or $0x2, %ax # set coprocessor monitoring CR0.MP
mov %eax, %cr0
... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2779.asm | ljhsiun2/medusa | 9 | 13396 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2779.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x190dc, %rsi
lea addresses_WT_ht+0xc4, %rdi
nop
nop
nop
and %r11, %r11
mov $93, %rcx
rep movsl
no... |
programs/oeis/243/A243581.asm | karttu/loda | 1 | 85142 | <filename>programs/oeis/243/A243581.asm
; A243581: Integers of the form 8k + 7 that can be written as a sum of four distinct squares of the form m, m + 2, m + 3, m + 4, where m == 2 (mod 4).
; 119,351,711,1199,1815,2559,3431,4431,5559,6815,8199,9711,11351,13119,15015,17039,19191,21471,23879,26415,29079,31871,34791,3783... |
4.5.ReverseArray.asm | souzaitor/Assembly | 0 | 29167 | <filename>4.5.ReverseArray.asm
TITLE Reverse Array
;--------------------
; Autor: <NAME>
; Data: 15/07/2021
;
; Capítulo 4 Exercício 5
; Descrição: Este programa inverte um vetor sem usar outra outro array para tal.
;--------------------
INCLUDE Irvine32.inc
.data
array1 DWORD 10d,20d,30d,40d,50d,60... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2616.asm | ljhsiun2/medusa | 9 | 169126 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x12c52, %rcx
nop
nop
nop
nop
nop
sub %rax, %rax
mov (%rcx), %rbx
xor %rbx, %rbx
lea addresses_A_ht+0x18e64, %rsi
lea addresses_A_ht+0xdc72, %rdi
sub %r11, %r1... |
src/graphics.adb | JeremyGrosser/the_grid | 0 | 25594 | --
-- Copyright (C) 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
package body Graphics is
type Buffer_Index is mod 2;
Buffers : array (Buffer_Index) of aliased Picosystem.Screen.Scanline;
Swap : Buffer_Index := Buffer_Index'First;
procedure Initialize is
Default... |
src/Microsoft Outlook/Attach Selected from DEVONthink.applescript | kotfu/DEVONthink-scripts | 16 | 2991 | -- Attach the selected files from DEVONthink to the current Outlook draft
-- Tested with Outlook 15.33, i.e. Outlook 2016 for Mac
-- get the posix paths of the currently selected records in DEVONthink
tell application id "DNtp"
-- go find the first viewer window
-- this doesn't seem to select the topmost viewer wind... |
alloy4fun_models/trainstlt/models/8/n2KhQaTMvtqih9apa.als | Kaixi26/org.alloytools.alloy | 0 | 3454 | open main
pred idn2KhQaTMvtqih9apa_prop9 {
all t:Train | some tk:Entry | (t.pos not in Entry) implies eventually (t->tk in pos and before no t.pos)
}
pred __repair { idn2KhQaTMvtqih9apa_prop9 }
check __repair { idn2KhQaTMvtqih9apa_prop9 <=> prop9o } |
tests/String/hello_world_string.asm | ZubinGou/8086-emulator | 39 | 161015 | <reponame>ZubinGou/8086-emulator
; Hello world!
NAME String
TITLE hello_world_string
assume cs:code,ds:data
data segment
msg db "Hello,World!$"
data ends
code segment
start: mov ax,data ;intialize DS to address
mov ds,ax ;of data segment
lea dx,msg ;loa... |
1-source-files/main-sources/elite-loader.asm | markmoxon/elite-beebasm | 251 | 102946 | \ ******************************************************************************
\
\ ELITE LOADER SOURCE
\
\ Elite was written by <NAME> and <NAME> and is copyright Acornsoft 1984
\
\ The code on this site is identical to the source discs released on Ian Bell's
\ personal website at http://www.elitehomepage.org/ (it's ... |
mc-sema/validator/x86_64/tests/PEXTRWmr.asm | randolphwong/mcsema | 2 | 162565 | <gh_stars>1-10
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_SF|FLAG_PF
;TEST_FILE_META_END
mov eax, 0
mov ecx, 0
;TEST_BEGIN_RECORDING
lea rbx, [rsp-4]
mov dword [rbx], 0
lea rcx, [rsp-0x30]
and rcx, 0xFFFFFFFFFFFFFFF0
mov dword [rcx+0x00], 0xAAAAAAAA
mov dword [rcx+0x04], 0xBBBBBBBB
mov dw... |
task.asm | tristanred/micros | 4 | 170882 | global ks_suspend
global ks_get_stacked_registers
global ks_do_activate
extern Debugger
extern ks_suspend_stage2
; Pushes all registers on the stack, this must be done early in the process so
; we can save all register values before they are changed by the following code.
; We get the ESP, EBP and EIP from the previo... |
test/Fail/DontPrune.agda | cruhland/agda | 1,989 | 6741 | <gh_stars>1000+
-- Andreas, 2012-05-09
module DontPrune where
open import Common.Equality
open import Common.Product
data Bool : Set where
true false : Bool
test : (A : Set) →
let IF : Bool → A → A → A
IF = _
in (a b : A) →
(IF true a b ≡ a) × (IF false a b ≡ b)
test A a b = refl , refl
-- Expect... |
programs/oeis/051/A051340.asm | neoneye/loda | 22 | 88579 | ; A051340: A simple 2-dimensional array, read by antidiagonals: T[i,j] = 1 for j>0, T[i,0] = i+1; i,j = 0,1,2,3,...
; 1,1,2,1,1,3,1,1,1,4,1,1,1,1,5,1,1,1,1,1,6,1,1,1,1,1,1,7,1,1,1,1,1,1,1,8,1,1,1,1,1,1,1,1,9,1,1,1,1,1,1,1,1,1,10,1,1,1,1,1,1,1,1,1,1,11,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,13,1,1,1,1,1,1
mov... |
scripts/astro.applescript | djl/rio | 0 | 2142 | --
-- astro
--
set path_ to "" & (path to home folder) & ".config:astro:config"
on lower(this_text)
set the comparison_string to "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
set the source_string to "abcdefghijklmnopqrstuvwxyz"
set the new_text to ""
repeat with thisChar in this_text
set x to the offset of thi... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr16_cont.ads | best08618/asylo | 7 | 11644 | with Discr16_Pkg; use Discr16_Pkg;
package Discr16_Cont is
type ES6a is new ET3a range E2..E4;
end;
|
oeis/138/A138976.asm | neoneye/loda-programs | 11 | 10332 | ; A138976: The discriminant of the characteristic polynomial of the O+ and O- submatrix for spin 3 of the nuclear electric quadrupole Hamiltonian is a perfect square for these values.
; Submitted by <NAME>
; 0,-3,-18,-45,-192,-459,-1914,-4557,-18960,-45123,-187698,-446685,-1858032,-4421739,-18392634,-43770717,-18206832... |
libsrc/_DEVELOPMENT/input/basic/z80/asm_in_inkey.asm | ahjelm/z88dk | 640 | 87972 |
; ===============================================================
; feilipu Sept 2020
; ===============================================================
;
; int in_inkey(void)
;
; Read instantaneous state of the keyboard and return ascii code
; if only one key is pressed.
;
; Note: Limited by basic here as it can only... |
src/sdl-cpus.ads | treggit/sdlada | 89 | 17329 | <filename>src/sdl-cpus.ads
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any d... |
Tests/base/Z80N/UIcode.i.asm | MrKWatkins/ZXSpectrumNextTests | 23 | 8387 | ; symbols to be defined externally:
; -- main data --
; TEST_OPT_BIT_FULL - option "full" bit number
; TestOptions - currently selected options by user
; HelpTxt - chain of strings (will be printed per line), empty string marks total end
; MachineInfoLabels - top line labels (two, first is "machineID", second "core")
;... |
test/Succeed/RewritingNat.agda | alhassy/agda | 3 | 11227 | <filename>test/Succeed/RewritingNat.agda
{-# OPTIONS --rewriting #-}
module RewritingNat where
open import Common.Equality
{-# BUILTIN REWRITE _≡_ #-}
data Nat : Set where
zero : Nat
suc : Nat → Nat
_+_ : Nat → Nat → Nat
zero + n = n
(suc m) + n = suc (m + n)
plusAssoc : ∀ x {y z : Nat} → ((x + y) + z) ≡ (x ... |
dropin/src/lexer-source-c_handler.ads | robdaemon/AdaYaml | 32 | 9750 | -- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with System;
with Yaml.C;
package Lexer.Source.C_Handler is
type Instance is new Source.Instance with private;
overriding procedure Read_Data (S : in out Instance; Buffer : out String;
... |
programs/oeis/342/A342482.asm | neoneye/loda | 22 | 245716 | <gh_stars>10-100
; A342482: a(n) = n*(2^(n-1) - n - 1).
; 0,12,50,150,392,952,2214,5010,11132,24420,53066,114478,245520,524016,1113806,2358954,4980356,10485340,22019634,46136838,96468440,201325992,419429750,872414530,1811938572,3758095572,7784627354,16106126430,33285995552,68719475680
add $0,3
mov $1,2
pow $1,$0
mul $... |
programs/oeis/287/A287893.asm | neoneye/loda | 22 | 163986 | <filename>programs/oeis/287/A287893.asm
; A287893: a(n) = floor(n*(n+2)/9).
; 0,0,0,1,2,3,5,7,8,11,13,15,18,21,24,28,32,35,40,44,48,53,58,63,69,75,80,87,93,99,106,113,120,128,136,143,152,160,168,177,186,195,205,215,224,235,245,255,266,277,288,300,312,323,336,348,360,373,386,399,413,427,440,455,469,483,498,513,528,544,5... |
programs/oeis/193/A193433.asm | jmorken/loda | 1 | 8752 | <gh_stars>1-10
; A193433: Sum of the divisors of n^2+1.
; 1,3,6,18,18,42,38,93,84,126,102,186,180,324,198,342,258,540,434,546,402,756,588,972,578,942,678,1332,948,1266,972,1596,1302,1980,1260,1842,1298,2484,1842,2286,1602,2613,2124,3534,2100,3042,2220,4536,2772,3606,2604,3906,3252,5076,2918,4860,3138,6552,4044,5226,389... |
dino/lcs/123p/53.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 11101 | <filename>dino/lcs/123p/53.asm<gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
006080 tst.b ($53,A6)
006084 ble $60e0 [123p+ 53, enemy+53]
0060E2 tst.b ($53,A6)
0060E6 ble $6146 [123p+ 53]
009C0C tst.b ($53,A6)
009C10 bge $9c20 [123p+ 53]
01302C move.b ($a,A0), ($53,A6)... |
mat/src/frames/mat-frames.ads | stcarrez/mat | 7 | 9488 | <reponame>stcarrez/mat
-----------------------------------------------------------------------
-- mat-frames - Representation of stack frames
-- Copyright (C) 2014, 2015, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ex... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.