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 |
|---|---|---|---|---|
Project/Client/Client/Debug/List/clientcode_2.asm | hosseindehghanipour1998/micro-processor-lab-2019 | 1 | 176549 | <reponame>hosseindehghanipour1998/micro-processor-lab-2019
;CodeVisionAVR C Compiler V3.12 Advanced
;(C) Copyright 1998-2014 <NAME>, HP InfoTech s.r.l.
;http://www.hpinfotech.com
;Build configuration : Debug
;Chip type : ATmega32
;Program type : Application
;Clock frequency : ... |
src/console/ConsoleInit.asm | jhm-ciberman/calculator-asm | 2 | 169338 | ;;;
; Inits the console log system
;;;
proc ConsoleInit
fastcall InputBufferClear
fastcall OutputBufferClear
; Create two parallel lists for storing the input log and the output log
fastcall ArrayListCreate, 16
mov [_gr_log_input], rax
fastcall ArrayListCreate, 16
mov [_gr_lo... |
oeis/142/A142033.asm | neoneye/loda-programs | 11 | 243692 | ; A142033: Primes congruent to 29 mod 31.
; Submitted by <NAME>
; 29,277,401,463,587,773,1021,1579,1889,1951,2137,2447,2633,2819,3067,3191,3253,4493,4679,5051,5113,5237,5857,5981,6043,6229,6353,6911,7159,7283,7717,7841,8089,8461,8647,9391,9887,9949,10259,10321,10631,11003,11251,11437,11933,12119,12491,12553,12739,13049... |
Code examples/Interrupts+LCD/blink11.asm | tocache/Intel-8085 | 0 | 244622 | ;Interrupciones habilitadas con visualizacion en LCD de la fuente de interrupcion
.CR 8085 To load the 8085 cross overlay
.TF blink11.hex,INT,32
.OR $0800 ;Zona de EEPROM, datos constantes
MSG1: .DB "i8085 Example 11"
MSG3: .DB "Int7.5 received!"
MSG4: .DB "Int6.5 received!"
MSG5: .DB "Int5.5 received!"
... |
src/dnscatcher/dnscatcher-datasets.adb | DNSCatcher/DNSCatcher | 4 | 22051 | <filename>src/dnscatcher/dnscatcher-datasets.adb
-- Copyright 2019 <NAME> <<EMAIL>>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to
-- deal in the Software without restriction, including without limitation the... |
driver/src/clawfc/depscan/FortranDepScanner.g4 | clementval/claw-compiler | 29 | 6424 | <gh_stars>10-100
/*
* This file is released under terms of BSD license
* See LICENSE file for more information
* @author <NAME>
*/
/**
* ANTLR 4 Grammar file for the Fortran File Info scanner. Extracts information about program units and dependencies.
*/
grammar FortranDepScanner;
root : (module_open_stmt | modul... |
examples/ATPAxiomDataConstructors.agda | asr/apia | 10 | 624 | -- The ATP pragma with the role <axiom> can be used with data constructors.
module ATPAxiomDataConstructors where
postulate
D : Set
zero : D
succ : D → D
data N : D → Set where
zN : N zero
sN : ∀ {n} → N n → N (succ n)
{-# ATP axiom zN #-}
|
oeis/005/A005970.asm | neoneye/loda-programs | 11 | 100563 | ; A005970: Partial sums of squares of Lucas numbers.
; Submitted by <NAME>(s2.)
; 1,10,26,75,196,520,1361,3570,9346,24475,64076,167760,439201,1149850,3010346,7881195,20633236,54018520,141422321,370248450,969323026,2537720635,6643838876,17393796000,45537549121,119218851370,312119004986,817138163595,2139295485796,5600748... |
Transynther/x86/_processed/AVXALIGN/_st_zr_4k_sm_/i7-7700_9_0x48.log_205_1573.asm | ljhsiun2/medusa | 9 | 246621 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rdi
push %rsi
lea addresses_WT_ht+0x1b733, %r14
nop
nop
cmp %rdi, %rdi
mov $0x6162636465666768, %r13
movq %r13, (%r14)
nop
nop
nop
nop
nop
and $61322, %rsi
pop %rsi
pop %rdi
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r10
p... |
src/main/antlr4/com/flair/bi/grammar/FQLLexer.g4 | DX26-io/flair-query-language | 0 | 2179 | lexer grammar FQLLexer;
SCOL : ';';
DOT : '.';
OPEN_PAR : '(';
CLOSE_PAR : ')';
COMMA : ',';
ASSIGN : '=';
STAR : '*';
PLUS : '+';
MINUS : '-';
TILDE : '~';
PIPE2 : '||';
DIV : '/';
MOD : '%';
LT2 : '<<';
GT2 : '>>';
AMP : '&';
PIPE : '|';
LT : '<';
LT_EQ : '<=';
GT : '>';
GT_EQ : '>=';
EQ : '==';
NOT_EQ1 : '!=';
NOT_... |
source/nodes/program-nodes-private_extension_definitions.ads | optikos/oasis | 0 | 7795 | <filename>source/nodes/program-nodes-private_extension_definitions.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Subtype_Indications;
with P... |
libsrc/_DEVELOPMENT/adt/bv_stack/c/sccz80/bv_stack_size.asm | jpoikela/z88dk | 640 | 26873 |
; size_t bv_stack_size(bv_stack_t *s)
SECTION code_clib
SECTION code_adt_bv_stack
PUBLIC bv_stack_size
EXTERN asm_bv_stack_size
defc bv_stack_size = asm_bv_stack_size
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _bv_stack_size
defc _bv_stack_size = bv_stack_size
ENDIF
|
libsrc/_DEVELOPMENT/adt/bv_stack/c/sdcc_iy/bv_stack_size_fastcall.asm | meesokim/z88dk | 0 | 85731 | <reponame>meesokim/z88dk<filename>libsrc/_DEVELOPMENT/adt/bv_stack/c/sdcc_iy/bv_stack_size_fastcall.asm
; size_t bv_stack_size_fastcall(bv_stack_t *s)
SECTION code_adt_bv_stack
PUBLIC _bv_stack_size_fastcall
defc _bv_stack_size_fastcall = asm_bv_stack_size
INCLUDE "adt/bv_stack/z80/asm_bv_stack_size.asm"
|
Task/Amicable-pairs/AppleScript/amicable-pairs-2.applescript | LaudateCorpus1/RosettaCodeData | 1 | 3242 | {{220, 284}, {1184, 1210}, {2620, 2924}, {5020, 5564},
{6232, 6368}, {10744, 10856}, {12285, 14595}, {17296, 18416}}
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_1_617.asm | ljhsiun2/medusa | 9 | 954 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x153b7, %rsi
lea addresses_UC_ht+0x1c017, %rdi
nop
nop
nop
nop
nop
xor %r12, %r12
mov $121, %rcx
rep movsb
nop
nop
xor $34089, %rcx
pop %rsi
pop %rdi
pop %rcx
pop %r12
ret
.global s_faulty_load
s... |
projects/batfish/src/main/antlr4/org/batfish/grammar/palo_alto/PaloAltoLexer.g4 | anubhavnidhi/batfish | 10 | 2665 | lexer grammar PaloAltoLexer;
options {
superClass = 'org.batfish.grammar.BatfishLexer';
}
@members {
// Java code to end up in PaloAltoLexer.java goes here
}
// Keywords
ACTION
:
'action'
;
ADMIN_DIST
:
'admin-dist'
;
ALLOW
:
'allow'
;
ANY
:
'any'
;
APPLICATION
:
'application'
;
AUTHENTI... |
oeis/277/A277094.asm | neoneye/loda-programs | 11 | 173002 | <gh_stars>10-100
; A277094: Numbers k such that sin(k) > 0 and sin(k+2) < 0.
; Submitted by <NAME>
; 2,3,8,9,14,15,20,21,27,28,33,34,39,40,46,47,52,53,58,59,64,65,71,72,77,78,83,84,90,91,96,97,102,103,108,109,115,116,121,122,127,128,134,135,140,141,146,147,152,153,159,160,165,166,171,172,178,179,184,185,190,191,196,197... |
programs/oeis/172/A172229.asm | karttu/loda | 1 | 5577 | <reponame>karttu/loda
; A172229: Number of ways to place 3 nonattacking wazirs on a 3 X n board.
; 0,2,22,84,215,442,792,1292,1969,2850,3962,5332,6987,8954,11260,13932,16997,20482,24414,28820,33727,39162,45152,51724,58905,66722,75202,84372,94259,104890,116292,128492,141517,155394,170150,185812,202407,219962,238504,2580... |
Transynther/x86/_processed/NC/_st_zr_4k_sm_/i3-7100_9_0xca_notsx.log_21829_1502.asm | ljhsiun2/medusa | 9 | 10155 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x11f04, %rsi
nop
nop
nop
nop
dec %rax
mov (%rsi), %r12
nop
nop
nop
nop
nop
mfence
lea addresses_UC_ht+0x1a0c4, %rdi
nop
and $20393, %r13
mov $0x6162636465666768, %rbx
movq %rb... |
examples/src/mspoller.adb | sonneveld/adazmq | 0 | 5492 | <filename>examples/src/mspoller.adb
-- Reading from multiple sockets
-- This version uses zmq_poll()
with Ada.Command_Line;
with Ada.Text_IO;
with GNAT.Formatted_String;
with Ada.Calendar;
with ZMQ;
procedure MSPoller is
use type Ada.Calendar.Time;
use type GNAT.Formatted_String.Formatted_String;
functi... |
programs/oeis/201/A201243.asm | jmorken/loda | 1 | 172794 | ; A201243: Number of ways to place 2 non-attacking ferses on an n X n board.
; 0,4,28,102,268,580,1104,1918,3112,4788,7060,10054,13908,18772,24808,32190,41104,51748,64332,79078,96220,116004,138688,164542,193848,226900,264004,305478,351652,402868,459480,521854,590368,665412,747388,836710,933804,1039108,1153072,1276158,1... |
source/league/ucd/matreshka-internals-unicode-ucd-core_0116.ads | svn2github/matreshka | 24 | 21579 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
oeis/192/A192460.asm | neoneye/loda-programs | 11 | 105517 | ; A192460: Constant term of the reduction by x^2->x+1 of the polynomial p(n,x) defined below in Comments.
; Submitted by <NAME>(w1)
; 0,2,13,123,1487,21871,378942,7557722,170519635,4293742365,119359055585,3630473717035,119930672906880,4275825418586810,163638018718726915,6690920298998362845,291099044600505086165,1342683... |
src/Nat/Wrapper/Cubical.agda | nad/equality | 3 | 14193 | ------------------------------------------------------------------------
-- Some examples related to Nat.Wrapper, defined in Cubical Agda
------------------------------------------------------------------------
{-# OPTIONS --cubical --safe #-}
open import Equality.Path as P
open import Prelude hiding (zero; suc; _+_)... |
Task/XML-Input/Ada/xml-input-5.ada | LaudateCorpus1/RosettaCodeData | 1 | 12887 | <filename>Task/XML-Input/Ada/xml-input-5.ada
with League.Application;
with XML.SAX.Input_Sources.Streams.Files;
with XML.SAX.Simple_Readers;
with Handlers;
procedure Main is
Handler : aliased Handlers.Handler;
Input : aliased XML.SAX.Input_Sources.Streams.Files.File_Input_Source;
Reader : aliased XML.SAX.... |
tests/misc/includebin/incbin_tooshort.asm | NEO-SPECTRUMAN/sjasmplus | 0 | 169366 | <filename>tests/misc/includebin/incbin_tooshort.asm
; this was changed from fatal error to regular error by request of Neo-spectruman
; although this seems not very practical, as the internal address will be derailed,
; probably causing extra errors later, but whatever, you should fix errors in your code
... |
programs/oeis/231/A231712.asm | neoneye/loda | 22 | 97966 | <reponame>neoneye/loda<gh_stars>10-100
; A231712: a(n) = n^n + n - 1.
; 0,1,5,29,259,3129,46661,823549,16777223,387420497,10000000009,285311670621,8916100448267,302875106592265,11112006825558029,437893890380859389,18446744073709551631,827240261886336764193,39346408075296537575441,1978419655660313589123997,1048576000000... |
tools/scitools/conf/understand/ada/ada12/a-cfhama.ads | brucegua/moocos | 1 | 27175 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
alloy4fun_models/trainstlt/models/4/d3jMeE6cZiRiqDsRx.als | Kaixi26/org.alloytools.alloy | 0 | 527 | open main
pred idd3jMeE6cZiRiqDsRx_prop5 {
always all t : Train | t.pos' in t.pos.prox || t.pos' in Exit
}
pred __repair { idd3jMeE6cZiRiqDsRx_prop5 }
check __repair { idd3jMeE6cZiRiqDsRx_prop5 <=> prop5o } |
examples/Termination/Sized/DeBruijnExSubstSized.agda | larrytheliquid/agda | 0 | 11307 | <gh_stars>0
{-# OPTIONS --sized-types #-} -- --no-coverage-check #-}
module DeBruijnExSubstSized where
open import Data.Function -- using (_∘_) -- composition, identity
open import Data.Nat
open import Data.Maybe
open import Relation.Binary.PropositionalEquality
open ≡-Reasoning
open import Size
open import D... |
test/Succeed/Issue2372ImportInst.agda | cruhland/agda | 1,989 | 5748 | -- Andreas, 2017-01-01, issue 2372, reported by m0davis
open import Issue2372Inst
f : r → Set₁
f _ = Set
-- WAS: No instance of type R was found in scope.
-- Should succeed
|
core/lib/types/GroupSet.agda | mikeshulman/HoTT-Agda | 0 | 7897 | <gh_stars>0
{-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.NType2
open import lib.types.Pi
open import lib.types.Group
{-
The definition of G-sets. Thanks to <NAME>.
-}
module lib.types.GroupSet {i} where
-- The right group action with respect to the group [grp].
record Grou... |
oeis/218/A218476.asm | neoneye/loda-programs | 11 | 96559 | <reponame>neoneye/loda-programs
; A218476: Number of 3n-length 6-ary words, either empty or beginning with the first letter of the alphabet, that can be built by repeatedly inserting triples of identical letters into the initially empty word.
; Submitted by <NAME>
; 1,1,16,331,7746,195011,5153626,140995716,3958980906,1... |
alloy4fun_models/trashltl/models/5/uGhdyCPZqoQYjtk2g.als | Kaixi26/org.alloytools.alloy | 0 | 3410 | open main
pred iduGhdyCPZqoQYjtk2g_prop6 {
always ( some f : File | f in Trash implies always f in Trash)
}
pred __repair { iduGhdyCPZqoQYjtk2g_prop6 }
check __repair { iduGhdyCPZqoQYjtk2g_prop6 <=> prop6o } |
libsrc/_DEVELOPMENT/adt/b_vector/z80/asm_b_vector_reserve.asm | meesokim/z88dk | 0 | 100339 | <reponame>meesokim/z88dk
; ===============================================================
; Feb 2014
; ===============================================================
;
; int b_vector_reserve(b_vector_t *v, size_t n)
;
; Allocate at least n bytes for the vector's array.
;
; If the array is already larger, do nothing... |
mystery.als | nishio/learning_alloy | 1 | 4426 | open util/ordering[Time]
enum Person {A, B, C}
sig Place {}
one sig Nowhere extends Place {}
sig Time {
visit: Person -> Place
}
fact {
all t: Time, p: Person {
one t.visit[p] // 人は一度に一箇所にしかいない
}
}
enum Bool {T, F}
enum BoolBool {TT, TF, FT, FF}
abstract sig Constrain{
by: one Person,
who: one Pe... |
src/interfaces/adabase-interfaces-driver.ads | jrmarino/AdaBase | 30 | 28159 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with AdaBase.Statement.Base;
with AdaBase.Logger.Facility;
package AdaBase.Interfaces.Driver is
type iDriver is interface;
package ASB renames AdaBase.Statement.Base;
package ALF renames AdaBase.Logg... |
internal/well-typed-syntax-eq-dec.agda | JasonGross/lob | 19 | 10190 | <reponame>JasonGross/lob<filename>internal/well-typed-syntax-eq-dec.agda
{-# OPTIONS --without-K #-}
module well-typed-syntax-eq-dec where
open import well-typed-syntax
open import common
context-pick-if : ∀ {ℓ} {P : Context → Set ℓ}
{Γ : Context}
(dummy : P (ε ▻ ‘Σ’ ‘Co... |
libsrc/target/tiki100/stdio/generic_console_get_mode.asm | ahjelm/z88dk | 640 | 13540 |
SECTION code_graphics ;So himem
PUBLIC generic_console_get_mode
INCLUDE "target/cpm/def/tiki100.def"
generic_console_get_mode:
ld a,(PORT_0C_COPY)
rrca
rrca
rrca
rrca
and 3
ret
|
src/aco-utils.ads | jonashaggstrom/ada-canopen | 6 | 3362 | package ACO.Utils is
pragma Pure;
end ACO.Utils;
|
src/parameters.ads | Fabien-Chouteau/motherlode | 2 | 21715 | -- Motherlode
-- Copyright (c) 2020 <NAME>
with World;
package Parameters is
FPS : constant := 30;
Frame_Period : constant := 1000 / FPS;
type Equipment is (Engine, Cargo, Tank, Drill);
type Equipment_Level is range 1 .. 7;
Price : constant array (Equipment, Equipment_Level) of Natural :=
(E... |
src/Data/Char/Classifier/Primitive.agda | agda/agda-system-io | 10 | 15837 | <reponame>agda/agda-system-io
open import Data.Char using ( Char )
open import Data.Bool using ( Bool )
module Data.Char.Classifier.Primitive where
postulate
isAscii : Char → Bool
isLatin1 : Char → Bool
isControl : Char → Bool
isSpace : Char → Bool
isLower : Char → Bool
isUpper : Char → Bool
isAlpha : ... |
llvm-gcc-4.2-2.9/gcc/ada/lib-xref.adb | vidkidz/crossbridge | 1 | 26148 | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Cubical/Data/DescendingList.agda | limemloh/cubical | 0 | 7 | {-# OPTIONS --cubical --safe #-}
module Cubical.Data.DescendingList where
open import Cubical.Data.DescendingList.Base public
open import Cubical.Data.DescendingList.Properties public
|
test/or.asm | CrackerCat/AssemblyLine | 0 | 16374 | SECTION .text
GLOBAL test
test:
or rsp, 0x39a8
or r10, r11
or r10, r12
or r10, r13
or r10, r14
or r10, r15
or r10, r8
or r10, r9
or r10, rax
or r10, rbp
or r10, rbx
or r10, rcx
or r10, rdi
or r10, rdx
or r10, rsi
or r10, [ rsp + 0x11f0 ]
or r10, [ rsp + 0x19f0 ]
or r10, [ rsp + 0x1b10 ]
or r10, [ rsp + 0x1c10 ]
or r10... |
test/Fail/Issue1976.agda | cruhland/agda | 1,989 | 3850 | -- Andreas, 2016-12-31, issue #1976 raised by nad
-- Check for correct parameters in projection pattern
-- {-# OPTIONS -v tc.lhs.split:40 #-}
postulate
A B : Set
module M (_ : Set) where
record R : Set₂ where
field
F : Set₁
open R public
open M A
wrong : M.R B
F wrong = Set
-- Expected error:
--... |
alloy4fun_models/trashltl/models/6/9dZ2znCXXNabgWg3s.als | Kaixi26/org.alloytools.alloy | 0 | 3449 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id9dZ2znCXXNabgWg3s_prop7 {
some Protected
}
pred __repair { id9dZ2znCXXNabgWg3s_prop7 }
check __repair { id9dZ2znCXXNabgWg3s_prop7 <=> prop7o } |
processor/processor-eagle_pc_p.adb | SMerrony/dgemua | 2 | 14640 | <reponame>SMerrony/dgemua
-- MIT License
-- Copyright (c) 2021 <NAME>
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to u... |
3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-convex_raycast-gjk.adb | charlie5/lace | 20 | 549 | with impact.d3.Transform;
with impact.d3.collision.point_Collector;
with impact.d3.collision.Detector.discrete.gjk_pair;
with impact.d3.collision.Detector.discrete;
with impact.d3.Vector;
-- #include "impact.d3.collision.convex_Raycast.gjk.h"
-- #include "BulletCollision/CollisionShapes/impact.d3.Shape.convex.interna... |
programs/oeis/324/A324908.asm | neoneye/loda | 22 | 176870 | ; A324908: a(n) = 1 if n is an odd number which is not a square, 0 otherwise.
; 0,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0
lpb $0
mod $0,2
sub $0,1
lpe
seq $0... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34018a.ada | best08618/asylo | 7 | 21137 | -- C34018A.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... |
PSET VRAM.asm | fleseriutiberiu/PC-G850V | 7 | 80968 | <gh_stars>1-10
10 ORG 100H
20 JP MAIN
30RPTCHR EQU 0BFEEH
40GPF EQU 0BFD0H
50AOUT EQU 0BD09H
60PUTSTR EQU 0BFF1H
70WAITK EQU 0BFCDH
80LDPSTR EQU 0BD00H
90REGOUT EQU 0BD03H
100MAIN: CALL CLS
110 LD HL,DPSET
120 CALL STRLN
130 LD DE,0
140 CALL PUTSTR
150 CALL GTVRAM ; get copy of vram
160 LD A,12
170 LD (POSY),A
180 LD ... |
Transynther/x86/_processed/NONE/_ht_zr_/i7-7700_9_0xca.log_21829_1800.asm | ljhsiun2/medusa | 9 | 27257 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xa53b, %rsi
lea addresses_UC_ht+0x653b, %rdi
add %r8, %r8
mov $97, %rcx
rep movsb
nop
nop
nop
nop
nop
sub $61711, %r8
lea addresses_A_ht+0x1483d, %r1... |
libsrc/_DEVELOPMENT/string/c/sdcc_iy/memset_callee.asm | meesokim/z88dk | 0 | 10983 | <gh_stars>0
; void *memset_callee(void *s, int c, size_t n)
SECTION code_string
PUBLIC _memset_callee
EXTERN asm_memset
_memset_callee:
pop af
pop hl
pop de
pop bc
push af
jp asm_memset
|
src/test/resources/code_samples/asm/ParsingTestData.asm | matozoid/Intellij6502 | 4 | 175708 | <reponame>matozoid/Intellij6502
* = $0801
.word (+), 2005 ;pointer, line number
.null $9e, format("%d", start);will be sys 4096
+ .word 0 ;basic line end
* = $1000
abc := 5
start rts
jumpcmd lda hibytes,x ; selected routine in X register
pha
lda lobytes... |
lib/why3cpp/antlr4/WhyML.g4 | sellamiy/GPiD-Framework | 8 | 3993 | /* ----------------------------------------------------- */
/* ----------------------- WhyML ----------------------- */
/* ----------------------------------------------------- */
grammar WhyML;
/* ----------------------------------------------------- */
/* ----------------------- Parser ---------------------- */
/* --... |
projects/batfish/src/org/batfish/grammar/question/QuestionParametersLexer.g4 | Alexia23/batfish | 1 | 3088 | lexer grammar QuestionParametersLexer;
options {
superClass = 'org.batfish.grammar.BatfishLexer';
}
@header {
package org.batfish.grammar.question;
}
tokens {
DEC,
IP_ADDRESS,
IP_PREFIX,
MINUS,
REGEX,
STRING_LITERAL
}
// Simple tokens
// Complex tokens
HASH
:
'#' -> channel ( HIDDEN ) , pu... |
kernel/input/fkey.asm | paulscottrobson/eris | 13 | 93380 | <gh_stars>10-100
; *****************************************************************************
; *****************************************************************************
;
; Name: fkey.asm
; Purpose: Function Key code
; Created: 29h March 2020
; Reviewed: TODO
; Author: <NAME> (<EMAIL>)
;
; *************... |
Light/Library/Relation/Binary/Equality/Decidable.agda | zamfofex/lightlib | 1 | 15560 | {-# OPTIONS --omega-in-omega --no-termination-check --overlapping-instances #-}
module Light.Library.Relation.Binary.Equality.Decidable where
open import Light.Library.Relation using (Base)
open import Light.Library.Relation.Binary.Equality using (Equality)
open import Light.Level using (Setω)
import Light.Library.Re... |
alloy4fun_models/trainstlt/models/8/ndfWpGRKNLedPt2A2.als | Kaixi26/org.alloytools.alloy | 0 | 461 | <gh_stars>0
open main
pred idndfWpGRKNLedPt2A2_prop9 {
always(all t:Train| eventually ( no t.pos and after ( one t.pos:>Entry)) )
}
pred __repair { idndfWpGRKNLedPt2A2_prop9 }
check __repair { idndfWpGRKNLedPt2A2_prop9 <=> prop9o } |
oeis/077/A077118.asm | neoneye/loda-programs | 11 | 21022 | <filename>oeis/077/A077118.asm
; A077118: Nearest integer square to n^3.
; 0,1,9,25,64,121,225,361,529,729,1024,1296,1764,2209,2704,3364,4096,4900,5776,6889,7921,9216,10609,12100,13924,15625,17689,19600,21904,24336,26896,29929,32761,36100,39204,42849,46656,50625,54756,59536
seq $0,2821 ; a(n) = nearest integer to n^(3... |
oeis/020/A020650.asm | neoneye/loda-programs | 11 | 169680 | ; A020650: Numerators in recursive bijection from positive integers to positive rationals (the bijection is f(1) = 1, f(2n) = f(n)+1, f(2n+1) = 1/(f(n)+1)).
; Submitted by <NAME>
; 1,2,1,3,1,3,2,4,1,4,3,5,2,5,3,5,1,5,4,7,3,7,4,7,2,7,5,8,3,8,5,6,1,6,5,9,4,9,5,10,3,10,7,11,4,11,7,9,2,9,7,12,5,12,7,11,3,11,8,13,5,13,8,7,1... |
Categories/Functor/Representable.agda | copumpkin/categories | 98 | 15124 | <filename>Categories/Functor/Representable.agda
{-# OPTIONS --universe-polymorphism #-}
module Categories.Functor.Representable where
open import Level
open import Categories.Category
open import Categories.Agda
open import Categories.Functor using (Functor)
open import Categories.Functor.Hom
open import Categories.N... |
bootdict/x86/call-comma.asm | ikysil/ikforth | 8 | 167631 | <reponame>ikysil/ikforth
; CALL,
; ( addr -- )
; Compile CPU specific CALL instruction to call a procedure at specified address.
$COLON 'CALL,'
CCLIT 0E8h
CW $BCOMMA,$HERE,$MINUS
CCLIT 4
CW $MINUS,$COMM... |
programs/oeis/070/A070572.asm | neoneye/loda | 22 | 21603 | ; A070572: n^4 mod 29.
; 0,1,16,23,24,16,20,23,7,7,24,25,1,25,20,20,25,1,25,24,7,7,23,20,16,24,23,16,1,0,1,16,23,24,16,20,23,7,7,24,25,1,25,20,20,25,1,25,24,7,7,23,20,16,24,23,16,1,0,1,16,23,24,16,20,23,7,7,24,25,1,25,20,20,25,1,25
pow $0,4
mod $0,29
|
test/Succeed/ReflectionRunSpeculative.agda | shlevy/agda | 1,989 | 10391 |
open import Agda.Builtin.Unit
open import Agda.Builtin.Bool
open import Agda.Builtin.Sigma
open import Agda.Builtin.List
open import Agda.Builtin.Equality
open import Agda.Builtin.Reflection renaming (returnTC to return; bindTC to _>>=_)
_>>_ : ∀ {a} {b} {A : Set a} {B : Set b}
→ TC A → TC B → TC B
x >> y = x >>... |
subtractingInt.asm | mehedi432/assembly | 0 | 177694 | <gh_stars>0
.data
num1: .word 30
num2: .word 20
.text
lw $t0, num1 # 3
lw $t1, num2 # 2
# Subtraction - two integer
sub $t2, $t1, $t0
li $v0, 1
sub $a0, $zero, $t2
syscall
|
Task/Variables/AppleScript/variables-2.applescript | LaudateCorpus1/RosettaCodeData | 1 | 2981 | global x
set x to 1
local y
set y to 2
|
AD_src/forward_ad.ads | sciencylab/lagrangian-solver | 0 | 29708 | with Numerics, Numerics.Sparse_Matrices;
use Numerics, Numerics.Sparse_Matrices;
package Forward_AD is
type AD_Type is tagged private;
type AD_Vector is array (Nat range <>) of AD_Type;
function Var (X : in Real;
I, N : in Nat;
Dx : in Real := 1.0) return AD_Type;
function Zero (N :... |
test/Fail/Issue3582.agda | cruhland/agda | 1,989 | 13055 | {-# OPTIONS --prop #-}
postulate
f : Prop → Prop
P : Prop₁
x : Prop
x = f P
-- WAS:
-- Set₁ != Set
-- when checking that the expression P has type Prop
-- SHOULD BE:
-- Prop₁ != Prop
-- when checking that the expression P has type Prop
|
models/hol/sygus/hackers_del/hd_03.als | johnwickerson/alloystar | 2 | 2615 | /**
* NOTE: make sure to set "Options -> Prevent overflows" to "No"
*
* Isolate the right most one bit
*/
module hd_03
open hd[hd03]
--------------------------------------------------------------------------------
-- Helpers
--------------------------------------------------------------------------------
fun hd0... |
programs/oeis/140/A140236.asm | neoneye/loda | 22 | 1101 | ; A140236: Double tetrahedral numbers (or double pyramidal numbers): a(n) = k(k+1)(k+2)/6 where k = n(n+1)(n+2)/6.
; 0,1,20,220,1540,7770,30856,102340,295240,762355,1798940,3939936,8104460,15803060,29426320,52636760,90889616,152112005,247574180,392991060,609896980,927341646,1383960600,2030479100,2932714200,4175145975,5... |
LAB 4/Lab4Rename.asm | smellycattt/Microprocessor-Programming | 1 | 160776 | <gh_stars>1-10
.Model Tiny
.386
.DATA
FILE DB 'ABCD2.txt',0
FILE2 DB 'ABCD3.txt',0
.CODE
.Startup
MOV AH, 56H
LEA DX, FILE
LEA DI, FILE2
INT 21H
.EXIT
END
|
HW4/calcg.asm | edgarnet/MIPS | 0 | 89384 | <reponame>edgarnet/MIPS
#<NAME>
#Homework 4
#CS_260
.data
randOne: .word 0
randTwo: .word 0
operation: .word 0
msgOne: .asciiz "\nEnter the first number: "
msgTwo: .asciiz "\nEnter the second number: "
msgThree: .asciiz "\nEnter an operation (0 :: +, 1 :: -, 2 :: *): "
msgFour: .asciiz "\nThe result is: "
... |
src/demo.ads | onox/orka-demo | 3 | 4905 | <filename>src/demo.ads
with Orka.Jobs.System;
package Demo is
package Job_System is new Orka.Jobs.System
(Maximum_Queued_Jobs => 16,
Maximum_Job_Graphs => 4);
end Demo;
|
libsrc/_DEVELOPMENT/adt/b_vector/c/sccz80/b_vector_erase_range.asm | jpoikela/z88dk | 640 | 164773 |
; size_t b_vector_erase_range(b_vector_t *v, size_t idx_first, size_t idx_last)
SECTION code_clib
SECTION code_adt_b_vector
PUBLIC b_vector_erase_range
EXTERN b_array_erase_range
defc b_vector_erase_range = b_array_erase_range
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _b_vector_erase_range
defc _b_vector_eras... |
extern/gnat_sdl/gnat_sdl2/src/sdl_scancode_h.ads | AdaCore/training_material | 15 | 11744 | <filename>extern/gnat_sdl/gnat_sdl2/src/sdl_scancode_h.ads<gh_stars>10-100
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package SDL_scancode_h is
-- Simple DirectMedia Layer
-- Copyright (C) 1997-2018 <NAME> <<EMAIL>>
-- This software is provided 'as-is', without any expr... |
test/Succeed/NonvariantPolarity.agda | redfish64/autonomic-agda | 1 | 9366 | <reponame>redfish64/autonomic-agda
-- Andreas, 2012-09-15
-- Positive effects of making Agda recognize constant functions.
-- Arguments to constant functions are ignored in definitional equality.
{-# OPTIONS --copatterns #-}
module NonvariantPolarity where
open import Common.Equality
data ⊥ : Set where
record ⊤ : Set... |
FadeRoutines.asm | DevEd2/HokeyPokey-GB | 0 | 12021 | INCLUDE "RGBGRAFX.INC"
INCLUDE "HARDWARE.INC"
INCLUDE "INCDEC.INC"
;INCLUDE "DEBUGMSG.INC"
SECTION "RGBG_SimpleFadeOut_RAM",WRAM0
RGBG_fade_to_color:: DS 1
SECTION "RGBG_SimpleFadeOut",ROM0
RGBG_MakeLighter::
cp 31
adc 0
ld d,a
ld a,l ;a
cp 31
adc 0
ld l,a
ld a,h
cp 31
adc 0
ld ... |
programs/oeis/010/A010805.asm | neoneye/loda | 22 | 90772 | <filename>programs/oeis/010/A010805.asm
; A010805: 17th powers: a(n) = n^17.
; 0,1,131072,129140163,17179869184,762939453125,16926659444736,232630513987207,2251799813685248,16677181699666569,100000000000000000,505447028499293771,2218611106740436992,8650415919381337933,30491346729331195904,98526125335693359375,295147905... |
lib/target/trs80/classic/trs80_crt0.asm | jpoikela/z88dk | 0 | 164749 | ;
; TRS 80 Program boot
;
; <NAME> 2008
;
; $Id: trs80_crt0.asm $
;
;
; There are a couple of #pragma commands which affect this file:
;
; #pragma output nostreams - No stdio disc files
; #pragma output nofileio - No fileio at all, use in conjunction to "-lndos"
; #pragma output noredir - do not... |
programs/oeis/190/A190336.asm | neoneye/loda | 22 | 24706 | <gh_stars>10-100
; A190336: a(n) = n + [n*r/s] + [n*t/s]; r=2, s=sqrt(2), t=1/s.
; 2,5,8,11,14,17,19,23,25,29,31,34,37,40,43,46,49,52,54,58,60,64,66,69,72,75,78,81,84,87,89,93,95,99,101,104,107,110,113,116,118,122,124,128,130,134,136,139,142,145,148,151,153,157,159,163,165,169,171,174,177,180,183,186,188,192,194,198,2... |
Cubical/HITs/FreeGroup.agda | thomas-lamiaux/cubical | 1 | 2074 | {-# OPTIONS --safe #-}
module Cubical.HITs.FreeGroup where
open import Cubical.HITs.FreeGroup.Base public
open import Cubical.HITs.FreeGroup.Properties public
|
programs/oeis/099/A099425.asm | neoneye/loda | 22 | 95828 | ; A099425: Expansion of (1+x^2)/(1-2*x-x^2).
; 1,2,6,14,34,82,198,478,1154,2786,6726,16238,39202,94642,228486,551614,1331714,3215042,7761798,18738638,45239074,109216786,263672646,636562078,1536796802,3710155682,8957108166,21624372014,52205852194,126036076402,304278004998,734592086398,1773462177794,4281516441986,1033649... |
alloy4fun_models/trashltl/models/2/uQuMmJEzt49Y4o95g.als | Kaixi26/org.alloytools.alloy | 0 | 4162 | <gh_stars>0
open main
pred iduQuMmJEzt49Y4o95g_prop3 {
always some File'
}
pred __repair { iduQuMmJEzt49Y4o95g_prop3 }
check __repair { iduQuMmJEzt49Y4o95g_prop3 <=> prop3o } |
Appl/Art/Decks/GeoDeck/LCClubJ.asm | steakknife/pcgeos | 504 | 88716 | LCClubJ label byte
word C_BLACK
Bitmap <71,100,BMC_PACKBITS,BMF_4BIT or mask BMT_MASK>
db 0x00, 0x1f, 0xfa, 0xff, 0x00, 0xf0
db 0x01, 0xdd, 0xd0, 0xe1, 0x00, 0x01, 0xdd, 0xd0
db 0x00, 0x7f, 0xfa, 0xff, 0x00, 0xfc
db 0x01, 0xd0, 0x0f, 0xe1, 0xff, 0x01, 0x00, 0xd0
db 0x00, 0x7f, 0xfa, 0xff, 0x00, 0xfc
db ... |
Data/ListSized/Proofs.agda | Lolirofle/stuff-in-agda | 6 | 3410 | <filename>Data/ListSized/Proofs.agda
module Data.ListSized.Proofs where
import Lvl
open import Data.ListSized
open import Data.ListSized.Functions
open import Functional
open import Function.Equals
open import Numeral.Finite
open import Numeral.Natural
open import Numeral.Natural.Function
open import Numeral.Natu... |
src/Viewer.Query/QueryLexer.g4 | trylock/viewer | 1 | 3645 | lexer grammar QueryLexer;
SELECT: S E L E C T;
WHERE: W H E R E;
ORDER: O R D E R;
GROUP: G R O U P;
BY: B Y;
AND: A N D;
OR: O R;
NOT: N O T;
DIRECTION: (D E S C | A S C);
INTERSECT: I N T E R S E C T;
UNION_EXCEPT: (U N I O N | E X C E P T);
ID: [\p{Alpha}_][\p{Alpha}0-9_]*;
INT: [0-9]+;
REAL: [0-9]+'.'... |
Data/Data.g4 | liuwenzhuang/learn-antlr | 0 | 2849 | <reponame>liuwenzhuang/learn-antlr
grammar Data;
file
: group+
;
group
: INT sequence[$INT.int]
;
sequence[number n]
locals [number i = 1;]
: ( {$i<=$n}? INT {$i++;} )* // match n integers
;
INT
: [0-9]+
;
WS
: [ \t\r\n]+ -> skip
;
|
build/win64/sha256-x86_64.asm | michaelsproul/blst | 1 | 244073 | <gh_stars>1-10
OPTION DOTNAME
.text$ SEGMENT ALIGN(256) 'CODE'
ALIGN 64
K256::
DD 0428a2f98h,071374491h,0b5c0fbcfh,0e9b5dba5h
DD 03956c25bh,059f111f1h,0923f82a4h,0ab1c5ed5h
DD 0d807aa98h,012835b01h,0243185beh,0550c7dc3h
DD 072be5d74h,080deb1feh,09bdc06a7h,0c19bf174h
DD 0e49b69c1h,0efbe4786h,00fc19dc6h,0240ca1cch... |
src/API/protypo-api-engine_values-indefinite_vector_wrappers.adb | fintatarta/protypo | 0 | 26260 | pragma Ada_2012;
package body Protypo.Api.Engine_Values.Indefinite_Vector_Wrappers is
------------------
-- Make_Wrapper --
------------------
function Make_Wrapper
(Init : Element_Vectors.Vector)
return Handlers.Ambivalent_Interface_Access
is
Val : Engine_Value_Vectors.Vector;
beg... |
test/14-incoming-star.g4 | nsumner/antlr2pnf | 3 | 2382 |
grammar test14;
entry : 'a' b* ;
b : 'b';
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1536.asm | ljhsiun2/medusa | 9 | 4401 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r8
push %rbp
push %rbx
push %rsi
lea addresses_WT_ht+0x1b7e6, %r12
nop
nop
nop
nop
nop
add $53146, %rbp
movb $0x61, (%r12)
nop
nop
nop
inc %rbp
lea addresses_UC_ht+0x1d362, %r14
nop
sub $43564, %r10
movw $0x6162, (%r14)
nop
... |
oeis/000/A000392.asm | neoneye/loda-programs | 11 | 93014 | ; A000392: Stirling numbers of second kind S(n,3).
; 0,0,0,1,6,25,90,301,966,3025,9330,28501,86526,261625,788970,2375101,7141686,21457825,64439010,193448101,580606446,1742343625,5228079450,15686335501,47063200806,141197991025,423610750290,1270865805301,3812664524766,11438127792025,34314651811530,102944492305501,3088345... |
Cubical/Data/Queue.agda | dan-iel-lee/cubical | 0 | 6491 |
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.Queue where
open import Cubical.Data.Queue.Base public
open import Cubical.Data.Queue.Finite public
|
lib/xcode_metrics_automation.applescript | phbgomes22/XCMetricsAggregator | 56 | 637 | use AppleScript version "2.4"
use scripting additions
use framework "Foundation"
use framework "ApplicationServices"
use framework "Quartz"
tell application "Xcode"
activate
tell application "System Events"
tell process "Xcode"
my displayOrganizer()
delay 1
my arrangePositionOfWindow()
my clickRad... |
Assignment 4/recursive_factorial.asm | sidarthshahri/Computer-Architecture-and-Design | 0 | 246261 | <gh_stars>0
# $a0 = array base address
# $a1 = n
# $s0 = n!
Main:
addi $a0, $0, 0x100 # array base address = 0x100
addi $a1, $0, 0 # i = 0
addi $t0, $0, 3 # store 3 for use in for loop
addi $t1, $0, 50 # $t1 = 50
CreateArray_Loop:
slt $t2, $a1, $t1 # i < 50?
beq $t2, $0, Exit_Loop # if not th... |
libtool/src/gmp-6.1.2/mpn/x86_64/bobcat/mul_basecase.asm | kroggen/aergo | 1,602 | 174577 | dnl AMD64 mpn_mul_basecase optimised for AMD bobcat.
dnl Copyright 2003-2005, 2007, 2008, 2011, 2012 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GN... |
test/Fail/TerminationWithMerge.agda | redfish64/autonomic-agda | 0 | 10957 | <filename>test/Fail/TerminationWithMerge.agda
{-# OPTIONS --termination-depth=2 #-}
module TerminationWithMerge where
data List (a : Set) : Set where
[] : List a
_∷_ : a -> List a -> List a
-- infix
postulate
a : Set
Bool : Set
_≤?_ : a -> a -> Bool
merge : List a -> List a -> List a
merge xs ... |
src/aco.ads | jonashaggstrom/ada-canopen | 6 | 1161 | <reponame>jonashaggstrom/ada-canopen
package ACO is
pragma Pure;
end ACO;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.