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 |
|---|---|---|---|---|
audio/music/meetrival.asm | adhi-thirumala/EvoYellow | 16 | 83023 | Music_MeetRival_branch_b119::
tempo 100
loopchannel 0, Music_MeetRival_branch_b123
Music_MeetRival_Ch1::
tempo 112
Music_MeetRival_branch_b123::
volume 7, 7
duty 3
vibrato 6, 3, 4
toggleperfectpitch
notetype 12, 11, 3
octave 4
D_ 1
C# 1
C_ 1
octave 3
B_ 1
A# 2
A_ 1
G# 1
G_ 1
F# 1
F_ 6
D_ 1
rest ... |
zxn_rom3call.asm | imneme/specnext-p3call-z88dk | 0 | 168549 | <gh_stars>0
SECTION code_compiler
GLOBAL _zxn_rom3call
zxn_rom3call_adjstack:
;; stack: retaddr, af, bc, de, hl, ix
exx
ld hl, 10
add hl, sp
ld sp, hl
exx
;; stack: retaddr
ret
;; on entry, the we have pushed
;; continuation, romaddr, hl', af, bc, de, hl, ix, retaddr
_zxn_rom3call:
;; stack: con... |
src/libav/libavcodec/x86/dsputil_yasm.asm | fillest/rtmp_load | 10 | 246783 | ;******************************************************************************
;* MMX optimized DSP utils
;* Copyright (c) 2008 <NAME>
;*
;* This file is part of Libav.
;*
;* Libav is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Lesser General Public
;* License as published by ... |
Chapter1/#7.agda | CodaFi/HoTT-Exercises | 0 | 16685 | <reponame>CodaFi/HoTT-Exercises
module #7 where
{-
Exercise 1.7. Give an alternative derivation of ind′=A from ind=A which avoids the use of universes.
(This is easiest using concepts from later chapters.)
-}
open import Relation.Binary.PropositionalEquality
ind'₌A : ∀{a}{A : Set a} → (C : (x y : A) → (x ≡ y) → Set... |
tools/SPARK2005/packages/polypaver/pp_lf_rounded.ads | michalkonecny/polypaver | 1 | 20195 | <reponame>michalkonecny/polypaver<filename>tools/SPARK2005/packages/polypaver/pp_lf_rounded.ads<gh_stars>1-10
package PP_LF_Rounded is
-- Operations whose semantics is the same as the corresponding
-- operations on type Long_Float. These operations can appear both in
-- Ada expressions and in SPARK assertions... |
src/lexer/antlr/com/arakelian/graphql/parser/GraphqlLexer.g4 | arakelian/graphql-parser | 0 | 792 | lexer grammar GraphqlLexer;
@header {
// @formatter:off
package com.arakelian.graphql.parser;
}
channels {
WHITESPACE_CHANNEL
}
//
// Token
//
BooleanValue: 'true' | 'false';
FRAGMENT : 'fragment';
QUERY : 'query';
MUTATION : 'mutation';
SCHEMA : 'schema';
SCALAR : 'scalar';
TYPE : 'type';
INTERFACE : 'interface... |
Math/NumberTheory/Summation/Nat/Properties.agda | rei1024/agda-misc | 3 | 13003 | <filename>Math/NumberTheory/Summation/Nat/Properties.agda
{-# OPTIONS --without-K --safe #-}
module Math.NumberTheory.Summation.Nat.Properties where
-- agda-stdlib
open import Algebra
import Algebra.Operations.CommutativeMonoid as CommutativeMonoidOperations
open import Data.Nat
open import Data.Nat.Properties
open i... |
alloy4fun_models/trashltl/models/11/QDgDtZbouQb5uoRSw.als | Kaixi26/org.alloytools.alloy | 0 | 2464 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idQDgDtZbouQb5uoRSw_prop12 {
}
pred __repair { idQDgDtZbouQb5uoRSw_prop12 }
check __repair { idQDgDtZbouQb5uoRSw_prop12 <=> prop12o } |
libc/setjmp/longjmp.asm | greck2908/LudOS | 44 | 17722 | <reponame>greck2908/LudOS
global _longjmp
global longjmp
_longjmp:
longjmp:
mov edx, [esp+4]
mov eax, [esp+8]
test eax,eax
jnz lbl
inc eax
lbl:
mov ebx, [edx]
mov esi, [edx+4]
mov edi, [edx+8]
mov ebp, [edx+12]
mov ecx, ... |
unit_tests.asm | lmartorella/z80-sample-program | 14 | 173613 | ;========================================================
; unit_tests.asm
;
; Collects and executes all unit tests.
;========================================================
include "unit_tests.inc"
; Initialization routine called before all unit tests are
; started.
UNITTEST_INITIALIZE
; Do your initia... |
projects/06/symbols/Variables.asm | chapnitsky/Nand2Tetris | 0 | 98003 | <reponame>chapnitsky/Nand2Tetris
// Copyright <NAME>, January 2018.
// Free for educational use.
// Tests the use of variables, or user-defined symbols,
// through this somewhat creative infinite counting loop.
@foo
M=-1
@bar
M=1
@count
M=1
@count
M=M+1
@foo
D=M+1
D=D+1
@bar
D=D-M
@6
D;JEQ
|
packages/luis/src/parser/lufile/LUFileLexer.g4 | Fortschritt69/botframework-cli | 0 | 3983 | <reponame>Fortschritt69/botframework-cli<gh_stars>0
lexer grammar LUFileLexer;
@lexer::members {
this.ignoreWS = true; // usually we ignore whitespace, but inside template, whitespace is significant
}
fragment LETTER: 'a'..'z' | 'A'..'Z';
fragment NUMBER: '0'..'9';
fragment WHITESPACE
: ' '|'\t'|'\uf... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/z80/asm_esx_f_chmod.asm | jpoikela/z88dk | 640 | 173341 | ; unsigned char esx_f_chmod(unsigned char *filename, uint8_t attr_mask, uint8_t attr)
INCLUDE "config_private.inc"
SECTION code_esxdos
PUBLIC asm_esx_f_chmod
EXTERN error_znc
EXTERN __esxdos_error_mc
asm_esx_f_chmod:
; enter : hl = char *filename
; c = attr bits to change
; b = attr
... |
programs/oeis/053/A053193.asm | jmorken/loda | 1 | 173947 | ; A053193: Cototient of odd numbers.
; 1,1,1,3,1,1,7,1,1,9,1,5,9,1,1,13,11,1,15,1,1,21,1,7,19,1,15,21,1,1,27,17,1,25,1,1,35,17,1,27,1,21,31,1,19,33,23,1,39,1,1,57,1,1,39,1,27,45,23,11,43,25,1,45,1,25,63,1,1,49,23,33,63,1,1,57,35,1,55,29,1,85,1,13,63,1,55,61,1,1,63,41,27,81,1,1,99,1,1,69,35,45,75,29,1,73,47,37,75,29,1,1... |
oeis/246/A246607.asm | neoneye/loda-programs | 11 | 178362 | <filename>oeis/246/A246607.asm<gh_stars>10-100
; A246607: E.g.f.: exp(x - x^3).
; Submitted by <NAME>
; 1,1,1,-5,-23,-59,241,2311,9745,-30743,-529919,-3161069,6984121,216832045,1696212337,-2117117729,-138721306079,-1359994188719,367573878145,127713732858667,1523067770484361,1104033549399061,-159815269852521359,-2270787... |
test/Succeed/Issue874.agda | shlevy/agda | 1,989 | 3321 | <gh_stars>1000+
-- Andreas, 2013-06-22, bug reported by evancavallo
{-# OPTIONS --allow-unsolved-metas #-}
-- {-# OPTIONS -v tc.conv:20 -v impossible:100 #-}
module Issue874 where
record Σ (A : Set) (B : A → Set) : Set where
constructor _,_
field
fst : A
snd : B fst
module _ {A : Set} where
postulate
... |
src/coolc/src/coolc/Grammar/Cool.g4 | matcom-compilers-2019/cool-compiler-mf | 0 | 1017 | grammar Cool;
import CoolLexerRules; // includes all rules from CommonLexerRules.g4
@actionName
{
auto-parse-tree=off; //this isn't doing anything
}
@header {
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
#pragma warning disable CS3021 // Type or member does not need ... |
test/Fail/Issue2679a.agda | shlevy/agda | 1,989 | 3846 | <filename>test/Fail/Issue2679a.agda
postulate
A : Set
data B (a : A) : Set where
conB : B a → B a → B a
data C (a : A) : B a → Set where
conC : {bl br : B a} → C a bl → C a br → C a (conB bl br)
-- First bug.
{-
a !=<
"An internal error has occurred. Please report this as a bug.\nLocation of the error: src/ful... |
Driver/Power/Common/powerCode.asm | steakknife/pcgeos | 504 | 4439 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Common power management code
FILE: powerCode.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name ... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0x48_notsx.log_21829_1943.asm | ljhsiun2/medusa | 9 | 85257 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x14b37, %rsi
cmp %rdx, %rdx
mov (%rsi), %r12d
nop
nop
nop
dec %rdx
lea addresses_D_ht+0x191f7, %r9
nop
nop
nop
nop
nop
sub $11846, %r15
mov (%r9), %di
nop
nop
nop
nop
nop
xor ... |
programs/oeis/195/A195172.asm | neoneye/loda | 22 | 163561 | ; A195172: a(n) = 4*n - floor(2*n*r), where r=(1+sqrt(5))/2 (the golden ratio).
; 0,1,2,3,4,4,5,6,7,7,8,9,10,10,11,12,13,13,14,15,16,17,17,18,19,20,20,21,22,23,23,24,25,26,26,27,28,29,30,30,31,32,33,33,34,35,36,36,37,38,39,39,40,41,42,43,43,44,45,46,46,47,48,49,49,50,51,52,52,53,54,55,56,56,57,58,59,59,60,61,62,62,63,6... |
oeis/048/A048481.asm | neoneye/loda-programs | 11 | 92140 | ; A048481: a(n) = T(0,n)+T(1,n-1)+...+T(n,0), array T given by A048472.
; 1,3,9,27,77,207,529,1299,3093,7191,16409,36891,81949,180255,393249,852003,1835045,3932199,8388649,17825835,37748781,79691823,167772209,352321587,738197557,1543503927,3221225529,6710886459,13958643773,28991029311,60129542209,124554051651,257698037... |
utils/dump_photo_info.applescript | scanner/osxphotos | 656 | 3150 | -- Dumps UUID and other info about every photo in Photos.app to a tet file (see theFile below)
-- Use output of this script with check_uuid.py to help with debugging differences in Photos and osxphoto
tell application "Photos"
activate
set theDelimiter to ";"
set theBackup to AppleScript's text item delimiters
... |
CLICK_DRUMS/noise/noise.asm | bushy555/ZX-Spectrum-1-Bit-Routines | 59 | 20079 | ;;; zx beeper noise generator click drum
;;; by utz 09'2019 * irrlichtproject.de
;;; based on el cheapo PRNG with improvements by Shiru
;;;
;;; USAGE: 1) Define DRUM_RETURN_ADDRESS
;;; 2) Set up the stack: SP+0 - 0, SP+1 - volume ((1..7)<<4)
;;; SP+2 - pitch (1..0xff, 1 is highest)
;;... |
UNIT_TESTS/efx_001.adb | io7m/coreland-openal-ada | 1 | 6957 | <reponame>io7m/coreland-openal-ada
with OpenAL.Context.Error;
with OpenAL.Context;
with OpenAL.Extension.EFX;
with Test;
procedure efx_001 is
package ALC renames OpenAL.Context;
package ALC_Error renames OpenAL.Context.Error;
package AL_EFX renames OpenAL.Extension.EFX;
Device : ALC.Device_t;
Cont... |
orka_transforms/src/orka-integrators.adb | onox/orka | 52 | 8741 | <filename>orka_transforms/src/orka-integrators.adb
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 onox <<EMAIL>>
--
-- 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
--
-... |
non_regression/p2align_x86_linux.att.s.asm | LRGH/plasmasm | 1 | 160295 | .file "a02.c"
.text
.p2align 4,,15
# ----------------------
.globl toto
.type toto, @function
toto:
.cfi_startproc
movl 4(%esp), %eax
addl $1, (%eax)
ret
.cfi_endproc
.size toto, .-toto
# ----------------------
.p2align 4,,15
# ----------------------
.globl tata
.type tata, @function
tata... |
old/Homotopy/PathTruncation.agda | timjb/HoTT-Agda | 294 | 11007 | <gh_stars>100-1000
{-# OPTIONS --without-K #-}
{-
Now it only has specialized constructs and lemmas for π₀ (x ≡ y)
Should be rewritten with something like Algebra.Groupoids
-}
open import Base
module Homotopy.PathTruncation where
open import HLevel
open import HLevelBis
open import Homotopy.Truncation
_≡₀_ : ... |
src/jsa-debugged.adb | sparre/JSA | 1 | 3688 | ------------------------------------------------------------------------------
--
-- package Debugged (body)
--
------------------------------------------------------------------------------
-- Update information:
--
-- 1996.07.26 (<NAME>)
-- Copied from Debugging (1996.07.26).
--
-- (Insert additional update in... |
books_and_notes/professional_courses/Assembly_language_and_programming/sources/汇编语言程序设计教程第四版/codes/5_4.asm | gxw1/review_the_national_post-graduate_entrance_examination | 640 | 177910 | DATA SEGMENT
X1 DB 63H
X2 DB 31H
X3 DB 91H
X4 DB 78H
Y DB ?
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START: MOV AX,DATA
MOV DS,AX
MOV AL,X1
ADD AL,X2
MOV BL,X3
ADD BL,X4
SUB AL,BL
... |
programs/oeis/144/A144600.asm | neoneye/loda | 22 | 174758 | ; A144600: Christoffel word of slope 2/11.
; 0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0
add $0,1
mul $0,2
mod $0,13
div $0,2
cmp $0,0
|
oeis/100/A100859.asm | neoneye/loda-programs | 11 | 98862 | <reponame>neoneye/loda-programs
; A100859: Beginning with 3, increasing primes such that no two adjacent terms are congruent mod 4.
; Submitted by <NAME>
; 3,5,7,13,19,29,31,37,43,53,59,61,67,73,79,89,103,109,127,137,139,149,151,157,163,173,179,181,191,193,199,229,239,241,251,257,263,269,271,277,283,293,307,313,331,337... |
src/asis/a4g-span_beginning.ads | My-Colaborations/dynamo | 15 | 20049 | <reponame>My-Colaborations/dynamo<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
programs/oeis/078/A078881.asm | jmorken/loda | 1 | 24656 | ; A078881: Size of the largest subset S of {1,2,3,...,n} with the property that if i and j are distinct elements of S then i XOR j is not in S, where XOR is the bitwise exclusive-OR operator.
; 1,2,2,3,4,4,4,5,6,7,8,8,8,8,8,9,10,11,12,13,14,15,16,16,16,16,16,16,16,16,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,3... |
libsrc/gfx/narrow/draw_callee.asm | ahjelm/z88dk | 640 | 168005 | <reponame>ahjelm/z88dk<filename>libsrc/gfx/narrow/draw_callee.asm
; ----- void __CALLEE__ draw(int x, int y, int x2, int y2)
IF !__CPU_INTEL__ & !__CPU_GBZ80__
SECTION code_graphics
PUBLIC draw_callee
PUBLIC _draw_callee
PUBLIC asm_draw
EXTERN swapgfxbk
EXTERN __graphics_end
... |
alloy4fun_models/trashltl/models/9/MeB5vT3eAZEfxzNWe.als | Kaixi26/org.alloytools.alloy | 0 | 4055 | open main
pred idMeB5vT3eAZEfxzNWe_prop10 {
always (all f:File | always f in Protected)
}
pred __repair { idMeB5vT3eAZEfxzNWe_prop10 }
check __repair { idMeB5vT3eAZEfxzNWe_prop10 <=> prop10o } |
textformats/Base64Decode.asm | FloydZ/Crypto-Hash | 11 | 18653 | <gh_stars>10-100
.data
align 4
b64table label byte
db 0,42 dup (-1)
db 62; + ; [02Bh]
db 3 dup(-1)
db 63; / ; [02Fh]
db 52,53,54,55,56,57,58,59,60,61; 0..9 ;30-39
db 3 dup(-1)
db 0 ; = ; [03Dh]
db 3 dup(-1)
db 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25; A..Z
db 6 dup(-1)
db 26,27,28,29,30,31,... |
tests/data_unsized/7.asm | NullMember/customasm | 414 | 24327 | #d 0x12, 0x345, 0x6, 0x789a ; = 0x123456789a |
oeis/235/A235118.asm | neoneye/loda-programs | 11 | 25384 | ; A235118: Number of independent vertex subsets of the graph obtained by attaching two pendant edges to each vertex of the ladder graph L_n (L_n is the 2 X n grid graph; see A235117).
; Submitted by <NAME>
; 1,24,544,12416,283136,6457344,147267584,3358621696,76597559296,1746902974464,39840303284224,908607856050176,2072... |
asm/krusader.test.asm | rhoem1/65co2 | 0 | 105009 | <gh_stars>0
N
ECHO .= $FFEF
PRHEX .= $FFDC
RNG .= $D01F
I .= $03
MAIN .M $300
LDX #$60
.LOOP LDA RNG
PHA
STX I
TXA
LSR
LSR
LSR
CLC
ASL
ASL
ASL
CMP I
BNE .SPACE
LDA #$0D
JSR ECHO
JMP .TELL
.SPACE LDA #$20
JSR ECHO
.TELL PLA
JSR PRHEX
LDX I
DEX
BNE .LOOP
RTS
|
script/filler.applescript | Kymer/Filler | 1 | 4637 | <reponame>Kymer/Filler
// The goal of this script is to automate setting a certain value in the commit field of Applications such as Tower or SourceTree.
// This script will extract a ticket name from the currently active branch and insert it in the commit field.
// Current supported applications
const applications ... |
test/Fail/Issue1408a.agda | KDr2/agda | 0 | 4806 | {-# OPTIONS --cubical-compatible #-}
-- {-# OPTIONS -v tc.lhs.unify:15 #-}
open import Common.Equality
open import Common.Prelude
data Fin : (n : Nat) → Set where
zero : {n : Nat} → Fin (suc n)
suc : {n : Nat} (i : Fin n) → Fin (suc n)
data _≅_ {A : Set} (a : A) : {B : Set} (b : B) → Set1 where
refl : a ≅ a
... |
boot/gdt.asm | TehcJS/KettleKernel | 0 | 243318 | ; GDT
gdt_start:
dd 0x0
dd 0x0
gdt_code:
dw 0xffff
dw 0x0
db 0x0
db 10011010b
db 11001111b
db 0x0
gdt_data:
dw 0xffff
dw 0x0
db 0x0
db 10010010b
db 11001111b
db 0x0
gdt_end:
gdt_descriptor:
dw gdt_end - gdt_start - 1
dd gdt_start
CODE_SEG equ gdt_code - gdt_start
DATA_SEG equ gdt_data - gdt_start
[bi... |
g-dynhta.adb | ytomino/gnat4drake | 0 | 17844 | package body GNAT.Dynamic_HTables is
package body Simple_HTable is
function R (Position : Maps.Cursor) return Element;
function R (Position : Maps.Cursor) return Element is
begin
if Maps.Has_Element (Position) then
return Maps.Element (Position);
else
ret... |
agda/Bound/Lower/Order/Properties.agda | bgbianchi/sorting | 6 | 6166 | open import Relation.Binary.Core
module Bound.Lower.Order.Properties {A : Set}
(_≤_ : A → A → Set)
(trans≤ : Transitive _≤_) where
open import Bound.Lower A
open import Bound.Lower.Order _≤_
transLeB : {a b c : Bound} → LeB a b → LeB b c → LeB a c
transLeB lebx _ = lebx
transLeB ... |
FormalAnalyzer/models/apps/DoorOpenWarningLight.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 4872 | <reponame>Mohannadcse/IoTCOM_BehavioralRuleExtractor
module app_DoorOpenWarningLight
open IoTBottomUp as base
open cap_motionSensor
open cap_switch
open cap_contactSensor
one sig app_DoorOpenWarningLight extends IoTApp {
sensors : some cap_motionSensor,
switch1 : one cap_switch,
state : one cap_state... |
Cubical/HITs/Sn.agda | dan-iel-lee/cubical | 0 | 2023 | <filename>Cubical/HITs/Sn.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.Sn where
open import Cubical.HITs.Sn.Base public
open import Cubical.HITs.Sn.Properties public
|
compiler/src/grammar/Spice.g4 | chillibits/spice | 13 | 6566 | grammar Spice;
// Control structures
entry: (mainFunctionDef | functionDef | procedureDef | structDef | globalVarDef | importStmt | extDecl)*;
mainFunctionDef: F LESS TYPE_INT GREATER MAIN LPAREN paramLstDef? RPAREN LBRACE stmtLst RBRACE;
functionDef: F LESS dataType GREATER (IDENTIFIER DOT)? IDENTIFIER LPAREN paramLs... |
src/aco-drivers.ads | jonashaggstrom/ada-canopen | 6 | 12440 | <reponame>jonashaggstrom/ada-canopen
with ACO.Messages;
with Ada.Real_Time;
package ACO.Drivers is
type Driver is abstract tagged limited null record;
type Driver_Access is access all Driver'Class;
procedure Receive_Message_Blocking
(This : in out Driver;
Msg : out ACO.Messages.Message) is... |
src/main/antlr/RSQL.g4 | ettoreleandrotognoli/py-storage | 0 | 3881 | grammar RSQL;
options {
language = Python37;
}
statement
: left=statement op=AND_OPERATOR right=statement
| left=statement op=OR_OPERATOR right=statement
| '(' wrapped=statement ')'
| node=comparison
;
comparison
: left=expression cmp=comparator right=expression
;
expression
:... |
programs/oeis/109/A109065.asm | neoneye/loda | 22 | 90726 | <gh_stars>10-100
; A109065: Numerator of the fraction due in month n of the total interest for a one-year installment loan based on the Rule of 78s (each denominator is 78).
; 12,11,10,9,8,7,6,5,4,3,2,1
mov $1,12
sub $1,$0
mov $0,$1
|
Transynther/x86/_processed/P/_ht_/i9-9900K_12_0xa0.log_289_554.asm | ljhsiun2/medusa | 9 | 94694 | <filename>Transynther/x86/_processed/P/_ht_/i9-9900K_12_0xa0.log_289_554.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x15832, %rdx
nop
nop
nop
nop
sub $62717, %r10
movb (%rdx), %r13b
nop
nop
dec %... |
tools-src/gnu/gcc/gcc/ada/i-c.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 25836 | -----------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
examples/3rd-party/JiveTurkey/J.asm | brickpool/hp35s | 3 | 86392 | <filename>examples/3rd-party/JiveTurkey/J.asm
; Jive Turkey for the HP-35s
; This program is from <NAME> and is used here by permission.
; http://ftp.whtech.com/hexbus_cc40_ti74/a-collection-of-information-on-the-ti-cc40-computer.pdf
MODEL P35S
SEGMENT JiveTurkey CODE
LBL J
;100 DISPLAY AT(6)"* JI... |
tools/ayacc/src/ayacc_file_names.adb | svn2github/matreshka | 24 | 30892 |
with Ada.Characters.Handling;
with Ada.Directories;
with Ada.Strings.Unbounded;
with String_Pkg;
package body Ayacc_File_Names is
use Ada.Characters.Handling;
use Ada.Strings.Unbounded;
function "+" (Item : String) return Unbounded_String
renames To_Unbounded_String;
function "+" (Item : Unbounde... |
libsrc/stdlib/wpoke.asm | jpoikela/z88dk | 38 | 166162 | ; CALLER linkage for function pointers
SECTION code_clib
PUBLIC wpoke
PUBLIC _wpoke
EXTERN wpoke_callee
EXTERN ASMDISP_WPOKE_CALLEE
.wpoke
._wpoke
pop af
pop de
pop hl
push hl
push de
push af
jp wpoke_callee + ASMDISP_WPOKE_CALLEE
|
docs/build/Pygments/tests/examplefiles/output/test.adb | mjtamlyn/django-braces | 1 | 5413 | (lp1
(ccopy_reg
_reconstructor
p2
(cpygments.token
_TokenType
p3
c__builtin__
tuple
p4
(S'Comment'
p5
S'Single'
p6
ttRp7
(dp8
S'subtypes'
p9
c__builtin__
set
p10
((ltRp11
sS'parent'
p12
g2
(g3
g4
(g5
ttRp13
(dp14
g12
g2
(g3
g4
(ttRp15
(dp16
g5
g13
sS'Name'
p17
g2
(g3
g4
(g17
ttRp18
(dp19
S'Function'
p20
g2
(g3
g4
(g17
... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_573_1020.asm | ljhsiun2/medusa | 9 | 84762 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1edb6, %rdx
nop
nop
nop
nop
nop
add $27210, %r13
movw $0x6162, (%rdx)
nop
cmp $53378, %rbx
lea addresses_A_ht+0xa176, %rbp
nop
nop
nop
nop
and $60089, %r10
mov ... |
src/FormulaCS.Parser/Formula.g4 | floradu88/FormulaCS | 0 | 1471 | grammar Formula;
/* Parser rules */
main : '=' expr EOF;
expr : expr ':' expr #Range
| sign=('+'|'-') expr #Unary
| expr '%' #Percentage
| expr '^' expr #Pow
| expr op=('*'|'/') expr #MulDi... |
programs/oeis/187/A187468.asm | karttu/loda | 1 | 19505 | <filename>programs/oeis/187/A187468.asm
; A187468: Sum of the squares modulo 2^n of the odd numbers less than 2^n.
; 1,2,4,40,208,928,3904,16000,64768,260608,1045504,4188160,16764928,67084288,268386304,1073643520,4294770688,17179475968,68718690304,274876334080,1099508482048,4398040219648,17592173461504,70368719011840,2... |
host/stm32gd-gpio-irq.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 18834 | <filename>host/stm32gd-gpio-irq.adb
with STM32_SVD.GPIO; use STM32_SVD.GPIO;
with STM32_SVD.SYSCFG; use STM32_SVD.SYSCFG;
with STM32GD.GPIO.Port;
package body STM32GD.GPIO.IRQ is
Index : constant Natural := GPIO_Pin'Pos (Pin.Pin);
Pin_Mask : constant UInt16 := GPIO_Pin'Enum_Rep (Pin.Pin);
procedure Connect_... |
antlr/arms--newline.g4 | ARMS/arms.github.io | 1 | 3336 | <reponame>ARMS/arms.github.io
grammar arms;
// templates first?
program : modelBlock NEWLINE (declaration NEWLINE)+;
modelBlock : NAME '=' 'Model' '{' 'units' '=' UNITS NEWLINE '}';
declaration : block | assignment | template;
block : '{' declaration NEWLINE '}';
assignment : NAME '=' expression;
expression : mat... |
examples/getopt.adb | ytomino/drake | 33 | 22787 | -- Demonstration of the extended units: Ada.Command_Line.Generic_Parsing
-- Use Ada.Command_Line.Parsing for actual command line.
with Ada.Command_Line.Generic_Parsing;
with Ada.Containers.Indefinite_Doubly_Linked_Lists;
with Ada.Strings.Unbounded;
procedure getopt is
use type Ada.Containers.Count_Type;
use type Ada.... |
src/002/my_pack.ads | xeenta/learning-ada | 0 | 23620 | <filename>src/002/my_pack.ads
package My_Pack is
function Get return Integer;
function Get_Count return Integer;
procedure Set (V : in Integer);
end My_Pack;
|
source/asis/asis-compilation_units.adb | faelys/gela-asis | 4 | 24620 | ------------------------------------------------------------------------------
-- <NAME> A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
ga_ref_impl/test_left_contraction/src/lc_test.adb | rogermc2/GA_Ada | 3 | 22841 | <gh_stars>1-10
with Ada.Strings.Unbounded;
with Ada.Text_IO; use Ada.Text_IO;
with Blade;
with Blade_Types;
with GA_Maths;
with GA_Utilities;
with Metric; use Metric;
with Multivectors; use Multivectors;
with Multivector_Type;
procedure LC_Test is
use Blade_Types;
BV_Names : Basis_Vector_Names;
no_bv... |
school2/8B/3Alab.asm | momomeomo/School | 0 | 81217 | INCLUDE asmlib.inc
.data
.code
main PROC
cls
endl
mov eax, 171
call writeint
endl
mov eax, 32
call writehex
endl
mov eax, 20o
call writeint
endl
main ENDP
END main
|
tests/testapp.adb | skordal/databases | 0 | 25110 | -- Databases - A simple database library for Ada applications
-- (c) <NAME> 2019 <<EMAIL>>
-- Report bugs and issues on <https://github.com/skordal/databases/issues>
-- vim:ts=3:sw=3:et:si:sta
with Databases;
with Databases.Sqlite;
with Ada.Numerics.Discrete_Random;
with Ada.Text_IO;
procedure Testapp is
use ... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_111_1792.asm | ljhsiun2/medusa | 9 | 23958 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x175c7, %rsi
nop
nop
nop
nop
nop
sub %rcx, %rcx
movb (%rsi), %r11b
nop
nop
add $51407, %rdi
lea addresses_WT_ht+0x169fb, %rsi
lea addresses_normal_ht+0x122cb, %rdi
nop
nop
sub %r12, %r12
mov $23... |
Kernel/src/video.asm | royprocell/GoldOS16 | 4 | 242400 | ;==============================
;GoldElfOS: Mk II
;
;<NAME>
;21 April 2015
;
;Updated 7/14/2015 for GoldOS Mk IV
;
;Video System Calls
;Video.asm
;
;Features:
;Video:
;os_set_video_mode (done!)
;os_move_cursor (done!)
;os_get_cursor (done!)
;os_set_cursor_visible (done!)
;os_set_cursor_invisible (done!)
;os_clear_scree... |
agda-stdlib-0.9/src/Relation/Nullary/Core.agda | qwe2/try-agda | 1 | 17402 | <reponame>qwe2/try-agda<filename>agda-stdlib-0.9/src/Relation/Nullary/Core.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Nullary relations (some core definitions)
------------------------------------------------------------------------
-- The definitio... |
programs/oeis/131/A131649.asm | jmorken/loda | 1 | 104179 | ; A131649: Number of distinct improper 2-coloring of edges for odd-order cyclic graphs.
; 4,8,16,32,54,82,116,156,202,254,312,376,446,522,604,692,786,886,992,1104,1222,1346,1476,1612,1754,1902,2056,2216,2382,2554,2732,2916,3106,3302,3504,3712,3926,4146,4372,4604,4842,5086,5336,5592,5854
mul $0,3
mov $2,$0
pow $0,2
sub... |
oeis/111/A111575.asm | neoneye/loda-programs | 11 | 176544 | ; A111575: Powers of 3 repeated four times.
; 1,1,1,1,3,3,3,3,9,9,9,9,27,27,27,27,81,81,81,81,243,243,243,243,729,729,729,729,2187,2187,2187,2187,6561,6561,6561,6561,19683,19683,19683,19683,59049,59049,59049,59049,177147,177147,177147,177147,531441,531441,531441,531441,1594323,1594323,1594323,1594323,4782969,4782969,47... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/support/lencheck.ada | best08618/asylo | 7 | 22415 | -- THIS GENERIC PROCEDURE IS INTENDED FOR USE IN CONJUNCTION WITH THE
-- ACVC CHAPTER 13 C TESTS. IT IS INSTANTIATED FOR A TYPE WHOSE
-- REPRESENTATION IS TO BE CHECKED, AND THEN THE PROCEDURE REP_CHECK
-- IS CALLED WITH TWO ARGUMENTS, THE FIRST IS A VALUE OF THE TYPE TO
-- BE CHECKED, AND THE SECOND IS A STRING DE... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/self_aggregate_with_pointer.adb | best08618/asylo | 7 | 14164 | -- { dg-do run }
procedure self_aggregate_with_pointer is
type Arr is array (Natural range <>) of Integer;
type Rec (N : Natural) is record
A : Arr (1..N);
end record;
type Acc_Rec is access all Rec;
type SRec is record
A : Acc_Rec;
I1, I2, I3, I4, I5, I6, I7: Integer;
end record;
R : al... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2879.asm | ljhsiun2/medusa | 9 | 29490 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r9
push %rax
push %rbp
push %rbx
push %rdi
push %rdx
// Store
mov $0xe74, %r14
add %rbx, %rbx
mov $0x5152535455565758, %rdi
movq %rdi, %xmm1
vmovups %ymm1, (%r14)
nop
nop
add %r9, %r9
// Faulty Load
lea addresse... |
compiler/out/production/src/com/company/Mx_Lex.g4 | TimerChen/MxCompiler | 2 | 4189 | lexer grammar Mx_Lex;
Type
: 'void'
| 'int'
| 'string'
| 'bool'
;
Auto : 'auto';
Break : 'break';
Case : 'case';
Char : 'char';
Constant : 'const';
Continue : 'continue';
Default : 'default';
Do : 'do';
Double : 'double';
Else : 'else';
Enum : 'enum';
Extern : 'extern';
Float : 'float';
For : 'for';
Goto :... |
src/compiling/ANTLR/grammar/SpecifyBlockTerminals.g4 | jecassis/VSCode-SystemVerilog | 75 | 5082 | <reponame>jecassis/VSCode-SystemVerilog<filename>src/compiling/ANTLR/grammar/SpecifyBlockTerminals.g4
grammar SpecifyBlockTerminals;
import SpecifyPathDelays;
specify_input_terminal_descriptor : input_identifier ( '[' constant_range_expression ']' )? ;
specify_output_terminal_descriptor : output_identifier ( '[' const... |
programs/oeis/275/A275015.asm | jmorken/loda | 1 | 9365 | <gh_stars>1-10
; A275015: Number of neighbors of each new term in an isosceles triangle read by rows.
; 0,1,2,1,3,2,1,3,3,2,1,3,3,3,2,1,3,3,3,3,2,1,3,3,3,3,3,2,1,3,3,3,3,3,3,2,1,3,3,3,3,3,3,3,2,1,3,3,3,3,3,3,3,3,2,1,3,3,3,3,3,3,3,3,3,2,1,3,3,3,3,3,3,3,3,3,3,2,1,3,3,3,3,3,3,3,3,3,3,3,2,1,3,3,3,3,3,3,3,3,3,3,3,3,2
lpb $... |
oeis/208/A208633.asm | neoneye/loda-programs | 11 | 162353 | ; A208633: Number of n X 4 0..1 arrays with new values 0..1 introduced in row major order and no element equal to more than one of its immediate leftward or upward or right-upward antidiagonal neighbors.
; Submitted by <NAME>
; 8,23,71,225,722,2331,7548,24476,79423,257807,836973,2717446,8823199,28648292,93019712,302032... |
ex8.asm | robjpar/nasm-sasm | 0 | 100754 | <reponame>robjpar/nasm-sasm
; nasm -f elf32 ex8.asm -o ex8.o
; gcc -m32 ex8.o -o ex8.out
; ./ex8.out
; echo $?
global main
section .text
main:
mov ebp, esp; for correct debugging
call func ; jump to func
mov eax, 1 ; exit call
mov ebx, 0 ; exit status
int 0... |
oeis/014/A014897.asm | neoneye/loda-programs | 11 | 27961 | <filename>oeis/014/A014897.asm
; A014897: a(1)=1, a(n) = 14*a(n-1) + n.
; 1,16,227,3182,44553,623748,8732479,122254714,1711566005,23961924080,335466937131,4696537119846,65751519677857,920521275490012,12887297856860183,180422169996042578,2525910379944596109,35362745319224345544,495078434469140837635,69310980825679717269... |
projects/batfish/src/main/antlr4/org/batfish/grammar/flatjuniper/FlatJuniper_switch_options.g4 | jeffkala/batfish | 0 | 4446 | parser grammar FlatJuniper_switch_options;
import FlatJuniper_common;
options {
tokenVocab = FlatJuniperLexer;
}
s_switch_options
:
SWITCH_OPTIONS
(
so_vtep_source_interface
| so_route_distinguisher
| so_vrf_target
| so_vrf_export
| so_vrf_import
)
;
so_vtep_source_interfa... |
x265/source/common/x86/h-ipfilter8.asm | xu5343/ffmpegtoolkit_CentOS7 | 14 | 86519 | ;*****************************************************************************
;* Copyright (C) 2013-2017 MulticoreWare, Inc
;*
;* Authors: <NAME> <<EMAIL>>
;* <NAME> <<EMAIL>>
;* <NAME> <<EMAIL>>
;*
;* This program is free software; you can redistribute it and/or modify
;* it under the terms of the G... |
dasm/mkarg.asm | ceharris/sbz80 | 0 | 90522 | <reponame>ceharris/sbz80<gh_stars>0
name mkarg
include defs.asm
extern flag_table
extern reg_r_table
extern reg_qq_table
extern reg_ss_table
cseg
;---------------------------------------------------------------
; mkflag:
;
; Makes an argument structure for flag `f`.
;
; On entry:
; IX -> tar... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2382.asm | ljhsiun2/medusa | 9 | 246431 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x143b4, %r8
nop
nop
cmp %rbp, %rbp
mov (%r8), %rax
nop
nop
nop
nop
xor $18273, %rdx
lea addresses_UC_ht+0x12c14, %rsi
lea addresses_WC_ht+0xa1d4, %rdi... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1433.asm | ljhsiun2/medusa | 9 | 3313 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_UC+0x12dd, %r14
nop
nop
xor %rcx, %rcx
mov $0x5152535455565758, %r9
movq %r9, %xmm2
and $0xffffffffffffffc0, %r14
vmovaps %ymm... |
45/beef/drv/csd/src/update1.asm | minblock/msdos | 0 | 244053 | ;* included in:
;* tandy, ibmcvt
NonStandard FvmGetCur
NonStandard ModeGetCur
NonStandard FInitCsd
NonStandard DoUpdateCsd
;********** FvmGetCur **********
;* entry: DS:DI => driver data
;* * if first time called, identify the current screen and set fvmCur
;* * subsequent calls will return fvmCur
;* * After this ... |
test/Succeed/Issue5434.agda | KDr2/agda | 0 | 15150 | <gh_stars>0
{-# OPTIONS --two-level --cubical-compatible #-}
open import Agda.Primitive
data D₁ : SSet → SSet (lsuc lzero) where
c : (@0 A : SSet) → A → D₁ A
data D₂ : Set → SSet (lsuc lzero) where
c : (@0 A : Set) → A → D₂ A
|
models/hol/sygus/integer_benchmarks/max-5.als | johnwickerson/alloystar | 2 | 4072 | open max
--------------------------------------------------------------------------------
-- Variables
--------------------------------------------------------------------------------
one sig X, Y, Z, U, V extends IntVar {}
--------------------------------------------------------------------------------
-- Commands
-... |
oeis/141/A141187.asm | neoneye/loda-programs | 11 | 99222 | <reponame>neoneye/loda-programs
; A141187: Primes of the form -x^2+6*x*y+3*y^2 (as well as of the form 8*x^2+12*x*y+3*y^2).
; Submitted by <NAME>
; 3,11,23,47,59,71,83,107,131,167,179,191,227,239,251,263,311,347,359,383,419,431,443,467,479,491,503,563,587,599,647,659,683,719,743,827,839,863,887,911,947,971,983,1019,103... |
test/Fail/TypeConstructorsWhichPreserveGuardedness1.agda | hborum/agda | 3 | 344 | -- Note that the flag --guardedness-preserving-type-constructors is
-- not (should not be) enabled in this module.
module TypeConstructorsWhichPreserveGuardedness1 where
open import Common.Coinduction
record ⊤ : Set where
data _⊎_ (A B : Set) : Set where
inj₁ : A → A ⊎ B
inj₂ : B → A ⊎ B
record ∃ {A : Set} (B ... |
T4/E4T1.asm | abphilip-vit/College3 | 2 | 22747 | ORG 0000H
HERE: MOV P0, #55H
MOV P1, #55H
MOV P2, #55H
ACALL DELAY
MOV P0, #0AAH
MOV P1, #0AAH
MOV P2, #0AAH
ACALL DELAY
SJMP HERE
DELAY: MOV R1, #200
BACK: MOV R2, #200
AGAIN: DJNZ R2, AGAIN
DJNZ R1, BACK
RET
END |
FormalAnalyzer/models/apps/Outdoorlights.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 4184 | module app_Outdoorlights
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_contactSensor
open cap_switch
open cap_illuminanceMeasurement
open cap_userInput
one sig app_Outdoorlights extends IoTApp {
contact1 : some cap_contactSensor,
switches : some cap_switch,
lightSensor : one cap_illum... |
puzzle_13/src/puzzle_13.adb | AdaForge/Advent_of_Code_2020 | 0 | 2936 | procedure Puzzle_13 is
begin
null;
end Puzzle_13;
|
programs/oeis/161/A161345.asm | neoneye/loda | 22 | 167195 | <reponame>neoneye/loda
; A161345: Numbers k whose largest divisor <= sqrt(k) is 3.
; 9,12,15,18,21,27,33,39,51,57,69,87,93,111,123,129,141,159,177,183,201,213,219,237,249,267,291,303,309,321,327,339,381,393,411,417,447,453,471,489,501,519,537,543,573,579,591,597,633,669,681,687,699,717,723
seq $0,161346 ; a(n) = A1613... |
test/Succeed/Issue1324.agda | redfish64/autonomic-agda | 3 | 8925 | ------------------------------------------------------------------------
-- Library stuff
data ⊥ : Set where
record ⊤ : Set where
constructor tt
data Bool : Set where
true false : Bool
if_then_else_ : ∀ {A : Set} → Bool → A → A → A
if true then t else f = t
if false then t else f = f
data ℕ : Set where
zer... |
Sources/Interfaces/screenshots.ads | ForYouEyesOnly/Space-Convoy | 1 | 23639 | <reponame>ForYouEyesOnly/Space-Convoy
--
-- Jan & <NAME>, Australia, July 2011
--
package Screenshots is
procedure Take_Shot;
end Screenshots;
|
oeis/021/A021914.asm | neoneye/loda-programs | 11 | 172790 | ; A021914: Expansion of 1/((1-x)(1-4x)(1-8x)(1-10x)).
; Submitted by <NAME>
; 1,23,355,4635,55371,627243,6866155,73433195,772592491,8032358763,82776456555,847393109355,8630981813611,87566313375083,885715453576555,8937574526027115,90019110908986731,905338057186084203,9094556248256546155,91274968260234970475,915384930289... |
oeis/291/A291000.asm | neoneye/loda-programs | 11 | 24512 | ; A291000: p-INVERT of (1,1,1,1,1,...), where p(S) = 1 - S - S^2 - S^3.
; Submitted by <NAME>(w2)
; 1,3,9,26,74,210,596,1692,4804,13640,38728,109960,312208,886448,2516880,7146144,20289952,57608992,163568448,464417728,1318615104,3743926400,10630080640,30181847168,85694918912,243312448256,690833811712,1961475291648,55691... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.