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 |
|---|---|---|---|---|
data/pokemon/base_stats/raikou.asm | Karkino/KarkCrystal16 | 0 | 27796 | db 0 ; species ID placeholder
db 90, 85, 75, 115, 115, 100
; hp atk def spd sat sdf
db ELECTRIC, ELECTRIC ; type
db 3 ; catch rate
db 216 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_UNKNOWN ; gender ratio
db 100 ; unknown 1
db 80 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/r... |
alloy4fun_models/trainstlt/models/2/Qaeeo7tdinLSHMZp5.als | Kaixi26/org.alloytools.alloy | 0 | 3670 | <gh_stars>0
open main
pred idQaeeo7tdinLSHMZp5_prop3 {
always(no Track.prox)
}
pred __repair { idQaeeo7tdinLSHMZp5_prop3 }
check __repair { idQaeeo7tdinLSHMZp5_prop3 <=> prop3o } |
alloy4fun_models/trashltl/models/10/rA8WY5TumaphNTK3s.als | Kaixi26/org.alloytools.alloy | 0 | 3253 | open main
pred idrA8WY5TumaphNTK3s_prop11 {
all f : File | f not in Protected => after f in Protected
}
pred __repair { idrA8WY5TumaphNTK3s_prop11 }
check __repair { idrA8WY5TumaphNTK3s_prop11 <=> prop11o } |
oeis/021/A021322.asm | neoneye/loda-programs | 11 | 13497 | <filename>oeis/021/A021322.asm
; A021322: Decimal expansion of 1/318.
; 0,0,3,1,4,4,6,5,4,0,8,8,0,5,0,3,1,4,4,6,5,4,0,8,8,0,5,0,3,1,4,4,6,5,4,0,8,8,0,5,0,3,1,4,4,6,5,4,0,8,8,0,5,0,3,1,4,4,6,5,4,0,8,8,0,5,0,3,1,4,4,6,5,4,0,8,8,0,5,0,3,1,4,4,6,5,4,0,8,8,0,5,0,3,1,4,4,6,5
seq $0,173833 ; 10^n - 3.
div $0,318
mod $0,10
|
amon.g4 | 4bcx/amon | 0 | 2628 | grammar amon;
TAB: '\t';
SP: ' ';
NUM: '#';
PLUS: '+';
AST: '*';
DOLLAR: '$';
GT: '>';
TILDE: '~';
COMMA: ',';
MINUS: '-';
COLON: ':';
DOT: '.';
SOL: '/';
BSOL: '\\';
GRAVE: '`';
HAT: '^';
LBRACK: '[';
RBRACK: ']';
LOWBAR: '_';
LPAR: '(';
RPAR: ')';
QUEST: '?';
COMMAT: '@';
EXCL: '!';
LF: '\n';
CR: '\r';
DIGIT: [0-9]... |
cpu/interrupt.asm | pikobyte/pikos | 1 | 81822 | <reponame>pikobyte/pikos
;
; PikOS
; interrupt.asm
;
; Defines the general interrupt routines and provides an implementation for
; each. Every interrupt is passed to a common function where the CPU is saved,
; its data sent to the C handling function, and then restored. Not all of the
; interrupts send an error code, s... |
oeis/021/A021750.asm | neoneye/loda-programs | 11 | 160784 | <reponame>neoneye/loda-programs<filename>oeis/021/A021750.asm
; A021750: Decimal expansion of 1/746.
; Submitted by Jon Maiga
; 0,0,1,3,4,0,4,8,2,5,7,3,7,2,6,5,4,1,5,5,4,9,5,9,7,8,5,5,2,2,7,8,8,2,0,3,7,5,3,3,5,1,2,0,6,4,3,4,3,1,6,3,5,3,8,8,7,3,9,9,4,6,3,8,0,6,9,7,0,5,0,9,3,8,3,3,7,8,0,1,6,0,8,5,7,9,0,8,8,4,7,1,8,4,9,8,... |
examples/GUIgeneric/GUIExampleLib.agda | stephanadls/state-dependent-gui | 2 | 17411 |
module GUIgeneric.GUIExampleLib where
open import GUIgeneric.Prelude hiding (addButton)
open import GUIgeneric.GUIDefinitions renaming (add to add'; add' to add)
open import GUIgeneric.GUI
executeChangeGui : ∀{i} → (fr : FFIFrame)(mvar : MVar StateAndGuiObj)
(mvarFFI : MVar StateAndFFI... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1998.asm | ljhsiun2/medusa | 9 | 24952 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1998.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x56dd, %rsi
lea addresses_normal_ht+0x143e2, %rdi
clflush (%rsi)
nop
nop
cmp $61409, %r11
... |
src/gen/sensors-libsensors-sensors_error_h.ads | Ada-bindings-project/a-lmsensors | 0 | 1581 | <reponame>Ada-bindings-project/a-lmsensors
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
package Sensors.libSensors.sensors_error_h is
SENSORS_ERR_WILDCARDS : constant := 1; -- /usr/include/sensors/error.h:25
SENSORS_ERR_NO_ENTRY : constant := 2; ... |
_incObj/8C Try Again Emeralds.asm | kodishmediacenter/msu-md-sonic | 9 | 89341 | <reponame>kodishmediacenter/msu-md-sonic<filename>_incObj/8C Try Again Emeralds.asm<gh_stars>1-10
; ---------------------------------------------------------------------------
; Object 8C - chaos emeralds on the "TRY AGAIN" screen
; ---------------------------------------------------------------------------
TryChaos:
... |
Cats/Category/Fun/Facts/Product.agda | JLimperg/cats | 24 | 14357 | {-# OPTIONS --without-K --safe #-}
module Cats.Category.Fun.Facts.Product where
open import Data.Product using (_,_)
open import Cats.Category
open import Cats.Category.Fun as Fun using (_↝_)
open import Cats.Category.Constructions.Product using (HasBinaryProducts)
open import Cats.Functor using (Functor)
open import... |
src/sound/song041restored.asm | MusicTheorist/Mother2GbaTranslation | 1 | 23013 | <reponame>MusicTheorist/Mother2GbaTranslation<gh_stars>1-10
song041restored_pri equ 0
song041restored_rev equ 0
song041restored_mvl equ 127
song041restored_key equ 0
song041restored_tbs equ 1
song041restored_exg equ 0
song041restored_cmp equ 1
.align 4
;**************** Track 1 (Midi-Chn.1) ****************... |
asm/CPUID/RDRAND/rdrand.asm | BoKoIsMe/J1900_FreeBSD | 0 | 169864 | <filename>asm/CPUID/RDRAND/rdrand.asm
;随机数生成范例
;幻数设置
FREAD EQU 0x00000001
FWRITE EQU 0x00000002
FILE_OPEN_FAILURE EQU -1
AUE_EXIT EQU 1
AUE_WRITE EQU 4
AUE_OPEN_RWTC EQU 5 ;STD { int open(char *path, int flags, int mode); })
AUE_CLOSE EQU 6 ;STD { int close(int fd); })
STDOUT EQU 1
CPUID_STATUS_... |
programs/oeis/155/A155136.asm | karttu/loda | 1 | 104300 | ; A155136: Integers n such that n+28 is a square.
; -28,-27,-24,-19,-12,-3,8,21,36,53,72,93,116,141,168,197,228,261,296,333,372,413,456,501,548,597,648,701,756,813,872,933,996,1061,1128,1197,1268,1341,1416,1493,1572,1653,1736,1821,1908,1997,2088,2181,2276,2373
pow $0,2
mov $1,$0
sub $1,28
|
llvm-gcc-4.2-2.9/gcc/ada/s-widenu.adb | vidkidz/crossbridge | 1 | 2161 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
Data/BitVector/Properties.agda | copumpkin/bitvector | 3 | 3659 | {-# OPTIONS --universe-polymorphism #-}
module Data.BitVector.Properties where
open import Algebra using (CommutativeRing)
open import Data.Bool using (_∧_; _∨_; _xor_)
renaming (Bool to Bit; false to 0#; true to 1#)
open import Data.Nat using (ℕ) renaming (zero to Nzero; suc to Nsuc)
open import Da... |
learnCode/hello/Hello.g4 | Alex-Beng/qcc | 4 | 5428 | grammar Hello;
r : 'hello' ID;
ID : [a-z]+;
WS : [ \t\n\r] -> skip; |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/async_transfer_select.adb | ouankou/rose | 488 | 10062 | <reponame>ouankou/rose<gh_stars>100-1000
procedure Async_Transfer_Select is
begin
select
delay 5.0;
null;
then abort
null;
end select;
null;
end Async_Transfer_Select;
|
Install Monitoring Client.scpt | spokanemac/Streamlined-Client-Install | 0 | 1760 | <gh_stars>0
-- Install Latest Monitoring Client.
-- Created 2013.07.29 by <NAME>.
-- 2013.07.29 - Initial Configuration
-- 2019.03.18 - Subdomain settings
-- Portions (C)opyright 2008-2019 J-D Strong Consulting, Inc.
-- Variable settings:
property MyTitle : "Our Remote Support Installer"
property Subdomain : "ors"
p... |
c/03-bootstrap/01-hello/build/main.rgbds.adb | willbr/gameboy-tests | 0 | 17066 | M:main
F:G$main$0_0$0({2}DF,SV:S),C,0,0,0,0,0
S:G$tiles$0_0$0({1}SC:U),E,0,0
S:G$bgmap$0_0$0({1}SC:U),E,0,0
S:G$NR52$0_0$0({1}SC:U),I,0,0
S:G$LCDC$0_0$0({1}SC:U),I,0,0
S:G$STAT$0_0$0({1}SC:U),I,0,0
S:G$SCY$0_0$0({1}SC:U),I,0,0
S:G$SCX$0_0$0({1}SC:U),I,0,0
S:G$LY$0_0$0({1}SC:U),I,0,0
S:G$LYC$0_0$0({1}SC:U),I,0,0
S:G$BGP... |
source/calendar/a-calfor.ads | ytomino/drake | 33 | 5325 | pragma License (Unrestricted);
with Ada.Calendar.Time_Zones;
package Ada.Calendar.Formatting is
-- Day of the week:
type Day_Name is (
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday,
Sunday);
-- modified
-- function Day_of_Week (Date : Time) return Day_Na... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xa0_notsx.log_21829_1394.asm | ljhsiun2/medusa | 9 | 84132 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xb696, %rsi
lea addresses_WC_ht+0x1c06e, %rdi
nop
nop
sub $43808, %r15
mov $118, %rcx
rep movsq
nop
nop
nop
nop
inc %r8
lea addresses_WT_ht+0x1439a, %r... |
oeis/183/A183895.asm | neoneye/loda-programs | 11 | 102257 | ; A183895: Real part of a (-4,-4) Gaussian integer Somos-4 sequence.
; 1,-1,-2,8,32,-128,-1024,16384,262144,-4194304,-134217728,8589934592,549755813888,-35184372088832,-4503599627370496,1152921504606846976,295147905179352825856,-75557863725914323419136,-38685626227668133590597632,39614081257132168796771975168,405648192... |
src/Construct/DirectProduct.agda | Akshobhya1234/agda-NonAssociativeAlgebra | 2 | 2945 | <gh_stars>1-10
{-# OPTIONS --without-K --safe #-}
open import Algebra.Construct.DirectProduct
module Construct.DirectProduct where
open import Algebra
import Algebra.Construct.DirectProduct as DirectProduct
open import Data.Product
open import Data.Product.Relation.Binary.Pointwise.NonDependent
open import Level usi... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_250_511.asm | ljhsiun2/medusa | 9 | 19855 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %rax
lea addresses_A_ht+0x1792f, %rax
nop
nop
nop
add %r13, %r13
vmovups (%rax), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $0, %xmm7, %r8
nop
nop
cmp %r14, %r14
pop %rax
pop %r8
pop %r14
pop %r13
ret
.global ... |
source/slim-messages-grfs.ads | reznikmm/slimp | 0 | 24314 | <gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package Slim.Messages.grfs is
type Grfs_Message is new Message with private;
-- Sends a bitmap to the client to scroll.
not over... |
src/Util/HoTT/Univalence/ContrFormulation.agda | JLimperg/msc-thesis-code | 5 | 8946 | -- This module closely follows a section of <NAME>'s HoTT lecture notes:
-- https://www.cs.bham.ac.uk/~mhe/HoTT-UF-in-Agda-Lecture-Notes/HoTT-UF-Agda.html#unicharac
{-# OPTIONS --without-K #-}
module Util.HoTT.Univalence.ContrFormulation where
open import Util.Data.Product using (map₂)
open import Util.Prelude
open im... |
Appl/Bindery/Main/mainApp.asm | steakknife/pcgeos | 504 | 87243 | COMMENT @----------------------------------------------------------------------
Copyright (c) Geoworks 1992-1994 -- All Rights Reserved
PROJECT: GEOS
MODULE: Studio
FILE: mainApp.asm
ROUTINES:
Name Description
---- -----------
INT UpdateUI Update the given UI objects
INT SetEnabledIfZ... |
source/tasking/a-dispat.ads | ytomino/drake | 33 | 21229 | pragma License (Unrestricted);
private with System.Synchronous_Control;
package Ada.Dispatching is
pragma Preelaborate;
procedure Yield;
pragma Inline (Yield); -- renamed
Dispatching_Policy_Error : exception;
private
procedure Yield
renames System.Synchronous_Control.Yield;
end Ada.Dispatching... |
pi.asm | msiemens/rust-tinyasm | 14 | 9403 | ; Approximate PI
; --------------
;
; by <NAME> <<EMAIL>>
; Define constants
$max_rand_square = 144 ; (RAND_MAX/2) ** 2
; Approximate PI
$pi_iterations = 100 ; Iteration count
$pi_rand_divider = 2 ; Divide the RANDOM numbers by this, so we don't overflow
$pi_counter = [_]... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1970.asm | ljhsiun2/medusa | 9 | 14680 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1970.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1deb4, %rsi
lea addresses_A_ht+0x197fc, %rdi
nop
nop
add $21876, %rdx
mov $51, %rcx
re... |
src/spawner/spectators.asm | tomsons26/ts-patches | 33 | 14356 | <filename>src/spawner/spectators.asm<gh_stars>10-100
%include "macros/patch.inc"
%include "macros/datatypes.inc"
%include "TiberianSun.inc"
%include "ini.inc"
cglobal IsSpectatorArray
cglobal SpectatorStuffInit
cglobal Load_Spectators_Spawner
cextern INIClass_SPAWN
cextern SpawnerActive
section .bss
IsSpectatorA... |
helloworld/macros_video.asm | yevgeniy-logachev/nesdev | 1 | 91746 | <filename>helloworld/macros_video.asm<gh_stars>1-10
; Load 32 bytes (background and spite, 1st background) of palette from address
; PARAM1 - address of palette data
; Example: Loadpalette palette
LoadPalette .macro
LDA #$3F ; set PPU working address 3F00 - palette
STA $2006
LDA #$00
... |
programs/oeis/195/A195032.asm | karttu/loda | 0 | 9515 | ; A195032: Vertex number of a square spiral in which the length of the first two edges are the legs of the primitive Pythagorean triple [5, 12, 13]. The edges of the spiral have length A195031.
; 0,5,17,27,51,66,102,122,170,195,255,285,357,392,476,516,612,657,765,815,935,990,1122,1182,1326,1391,1547,1617,1785,1860,2040... |
Thesis/SIRelBigStep/IlcSILR.agda | inc-lc/ilc-agda | 10 | 727 | <reponame>inc-lc/ilc-agda
module Thesis.SIRelBigStep.IlcSILR where
open import Data.Unit.Base hiding (_≤_)
open import Data.Product
open import Relation.Nullary
open import Relation.Binary.PropositionalEquality
open import Thesis.SIRelBigStep.Lang public
open import Thesis.SIRelBigStep.DLang public
open import Thesi... |
test/Succeed/Issue2434.agda | shlevy/agda | 1,989 | 15497 | {-# OPTIONS --exact-split -v tc.cover.cover:100 #-}
open import Common.Bool
open import Common.Equality
record Unit : Set where
eta-equality
constructor unit
f : Unit → Bool → Bool
f unit true = true
f u false = false -- passes without --exact-split
-- All equations pass do hold definitionally:
test-1 : f... |
oeis/073/A073388.asm | neoneye/loda-programs | 11 | 105320 | <reponame>neoneye/loda-programs<filename>oeis/073/A073388.asm
; A073388: Convolution of A002605(n) (generalized (2,2)-Fibonacci), n >= 0, with itself.
; 1,4,16,56,188,608,1920,5952,18192,54976,164608,489088,1443776,4238336,12382208,36022272,104407296,301618176,868765696,2495715328,7152286720,20452548608,58369409024,166... |
source/regions/regions-shared_hashed_maps.ads | reznikmm/declarative-regions | 0 | 8677 | <gh_stars>0
with Ada.Finalization;
with Ada.Iterator_Interfaces;
generic
type Key_Type is private;
type Element_Type is private;
type Hash_Type is mod <>;
type Change_Count is mod <>;
with function Hash (Key : Key_Type) return Hash_Type;
with function Equivalent_Keys (Left, Right : Key_Type) return ... |
assembly/asmsbs3e/chapter8/uppercaser1/uppercaser1.asm | ash1247/DocumentsWindows | 5 | 240294 | <filename>assembly/asmsbs3e/chapter8/uppercaser1/uppercaser1.asm
section .bss
Buff resb 1
section .data
section .text
global _start
_start:
nop ; This no-op keeps the debugger happy
Read: mov eax,3 ; Specify sys_read call
mov ebx,0 ; Specify File Descriptor 0: Standard Input
mov ecx,Buff ... |
alloy4fun_models/trashltl/models/5/J9oJpTuxFRpj3eMvt.als | Kaixi26/org.alloytools.alloy | 0 | 4847 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idJ9oJpTuxFRpj3eMvt_prop6 {
some f:File | f in Trash implies after f in Trash
}
pred __repair { idJ9oJpTuxFRpj3eMvt_prop6 }
check __repair { idJ9oJpTuxFRpj3eMvt_prop6 <=> prop6o } |
programs/oeis/176/A176710.asm | jmorken/loda | 1 | 81443 | ; A176710: Mix A001021, 2*A001021.
; 1,2,12,24,144,288,1728,3456,20736,41472,248832,497664,2985984,5971968,35831808,71663616,429981696,859963392,5159780352,10319560704,61917364224
mov $1,1
mov $2,$0
lpb $2
mul $1,2
div $0,$1
lpb $0
sub $0,1
mul $1,3
lpe
sub $2,1
lpe
|
data/maps/headers/CeladonChiefHouse.asm | opiter09/ASM-Machina | 1 | 102759 |
map_header CeladonChiefHouse, CELADON_CHIEF_HOUSE, MANSION, 0
end_map_header
|
libsrc/_DEVELOPMENT/target/yaz180/driver/ide/ide_hard_reset.asm | jpoikela/z88dk | 640 | 21627 | <filename>libsrc/_DEVELOPMENT/target/yaz180/driver/ide/ide_hard_reset.asm
SECTION code_driver
PUBLIC ide_hard_reset
EXTERN __IO_PIO_IDE_CTL, __IO_PIO_IDE_CONFIG
EXTERN __IO_PIO_IDE_RD
EXTERN __IO_IDE_RST_LINE
EXTERN ide_wait_ready
;------------------------------------------------------------------------------
; ... |
source/asis/asis-gela-base_lists-primary.adb | faelys/gela-asis | 4 | 12774 | ------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
tema1-bonus/src/main/antlr4/ro/tirzuman/iulian/fmse/bonust1/antlr/Bonus.g4 | iuliant88/fmse | 0 | 5523 | grammar Bonus;
/*
* Parser Rules
*/
exp
: (Int | Bool) WHITESPACE id';'
| exp aritRelOp exp
;
bexp
: exp boolRelOp exp
| NOT exp
;
assertt
: bexp
| exp IMPL exp
| ANY DOT exp
| EXISTS DOT exp
;
id
: WORD
;
Int
: 'int'
;
Bool
: 'bool'
;
boolRelOp
: EQ
|... |
middleware/src/filesystems/virtual_file_system.adb | morbos/Ada_Drivers_Library | 2 | 23191 | <filename>middleware/src/filesystems/virtual_file_system.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- ... |
oeis/098/A098304.asm | neoneye/loda-programs | 11 | 24477 | ; A098304: Member r=19 of the family of Chebyshev sequences S_r(n) defined in A092184.
; Submitted by <NAME>
; 0,1,19,324,5491,93025,1575936,26697889,452288179,7662201156,129805131475,2199025033921,37253620445184,631112522534209,10691659262636371,181127094942284100,3068468954756193331,51982845135913002529,8806398983557... |
code/printf.asm | nodiz/projectMatrix | 0 | 94121 | ; file printf.asm target ATmega128L-4MHz-STK300
; purpose library, formatted output generation
; author (c) R.Holzer (adapted MICRO210/EE208 A.Schmid)
; === description ===
;
; The program "printf" interprets and prints formatted strings.
; The special formatting characters regognized are:
;
; FDEC decimal... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_348.asm | ljhsiun2/medusa | 9 | 161409 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x4e5a, %rsi
lea addresses_WC_ht+0xd82, %rdi
nop
nop
nop
and $63433, %r13
mov $100, %rcx
rep movsq
nop
nop
and $52868, %r15
lea addresses_D_ht+0x13352, %rsi
lea ... |
libsrc/stdio/sprinter/puts_cons.asm | grancier/z180 | 0 | 243653 | ;
; Small C+ Z88 Internal Routine
; Puts a string to the console - mapping \n to \n\l as we
; go and appending \n\l to the end of the line
;
; Non standard (for short programs)
;
; djm 2/4/99
;
;
; $Id: puts_cons.asm,v 1.5 2016/05/15 20:15:46 dom Exp $
;
SECTION code_clib
... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_xr/CiscoXr_logging.g4 | adiapel/batfish | 0 | 2878 | parser grammar CiscoXr_logging;
import CiscoXr_common;
options {
tokenVocab = CiscoXrLexer;
}
logging_address
:
hostname =
(
IP_ADDRESS
| IPV6_ADDRESS
)
(
DISCRIMINATOR descr = variable
| FACILITY facility = variable
|
(
PORT
(
DEFAULT
... |
notes/thesis/report/LogicalFramework/AdequacyTheorems.agda | asr/fotc | 11 | 17170 | {-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
module LogicalFramework.AdequacyTheorems where
module Example5 where
-- First-order logic with equality.
open import Common.FOL.FOL-Eq public... |
8_kyu/Count_the_Monkeys.asm | UlrichBerntien/Codewars-Katas | 0 | 179743 | global monkcnt
extern malloc
section .text
; <--- size_t *monkcnt(size_t n) --->
monkcnt:
push rdi ; save number of items
sal rdi, 3 ; rdi = size of array, 8 bytes per item
call malloc
pop rcx ; rcx = number of items
or rax,rax
jz return ; malloc failed, returned null... |
bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/s-bbprot.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 22404 | <filename>bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/s-bbprot.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
test/Succeed/Issue917.agda | cruhland/agda | 1,989 | 8394 | <reponame>cruhland/agda
open import Agda.Builtin.Nat
record _×_ (A B : Set) : Set where
constructor _,_
field fst : A
snd : B
open _×_
Δ : ∀ {A} → A → A × A
Δ x = x , x
foo : Nat → Nat
foo n = let x , y = Δ n in x + y
bar : Nat → Nat
bar n = let _!_ : Nat → Nat → Nat
x ! y = 2 * x + y
... |
test/fail/ATPBadAxiom.agda | asr/eagda | 1 | 13557 | <reponame>asr/eagda<gh_stars>1-10
-- An ATP axiom must be used with postulates or data constructors.
-- This error is detected by TypeChecking.Rules.Decl.
module ATPBadAxiom where
foo : Set → Set
foo A = A
{-# ATP axiom foo #-}
|
programs/oeis/046/A046233.asm | karttu/loda | 0 | 83283 | ; A046233: Numbers n such that n^3 is palindromic in base 5.
; 0,1,6,26,126,626,3126,15626,78126,390626,1953126,9765626,48828126,244140626,1220703126,6103515626,30517578126,152587890626,762939453126,3814697265626,19073486328126,95367431640626,476837158203126
lpb $0,1
sub $0,1
add $3,5
gcd $1,$3
pow $1,$0
mod... |
lib/rle.asm | AleffCorrea/BrickBreaker | 4 | 99411 | ;RLE decompressor by Shiru (NESASM version)
;uses 4 bytes in zero page
;decompress data from an address in X/Y to PPU_DATA
RLE_LOW equ $00
RLE_HIGH equ RLE_LOW+1
RLE_TAG equ RLE_HIGH+1
RLE_BYTE equ RLE_TAG+1
;0 - ready
;1 - partial sequential write
;2 - clean pause
RLE_STAT equ RLE_BYTE+1
RLE_COUNT equ RLE_STAT+1 ;... |
data/mapHeaders/Route1.asm | AmateurPanda92/pokemon-rby-dx | 9 | 162129 | <gh_stars>1-10
Route1_h:
db OVERWORLD ; tileset
db ROUTE_1_HEIGHT, ROUTE_1_WIDTH ; dimensions (y, x)
dw Route1_Blocks ; blocks
dw Route1_TextPointers ; texts
dw Route1_Script ; scripts
db NORTH | SOUTH ; connections
NORTH_MAP_CONNECTION ROUTE_1, VIRIDIAN_CITY, -3, 2, ViridianCity_Blocks
SOUTH_MAP_CONNECTION ROU... |
3-mid/opengl/source/lean/opengl-palette.adb | charlie5/lace | 20 | 2653 | with
ada.Numerics.discrete_Random;
package body openGL.Palette
is
package random_Colors is new ada.Numerics.discrete_Random (Color_Value);
use random_Colors;
the_Generator : random_Colors.Generator;
function random_Color return Color
is
begin
return (random (the_Generator),
... |
macos/window-resize.applescript | earaujoassis/dotfiles | 2 | 385 | <filename>macos/window-resize.applescript
set theApplication to (path to frontmost application as Unicode text)
set appWidth to 1620 as integer
set appHeight to 980 as integer
set xAxisDefault to 300 as integer
set yAxisDefault to 300 as integer
tell application theApplication
set currentDimension to bounds of the... |
scripts/SafariZoneCenter.asm | opiter09/ASM-Machina | 1 | 87450 | <gh_stars>1-10
SafariZoneCenter_Script:
jp EnableAutoTextBoxDrawing
SafariZoneCenter_TextPointers:
dw PickUpItemText
dw SafariZoneCenterText2
dw SafariZoneCenterText3
SafariZoneCenterText2:
text_far _SafariZoneCenterText2
text_end
SafariZoneCenterText3:
text_far _SafariZoneCenterText3
text_end
|
src/grammars/bigquery/BigQueryLexer.g4 | Attsun1031/antlr4ts-sql | 0 | 2019 | <reponame>Attsun1031/antlr4ts-sql
/*
BigQuery grammar. The MIT License (MIT). Copyright (c) 2017, <NAME> (<EMAIL>)
Copyright (c) 2015-2017, <NAME> (<EMAIL>), Positive Technologies. Copyright (c)
2016, <NAME> (<EMAIL>). Copyright (c) 2016, <NAME>
(<EMAIL>). Copyright (c) 2016, <NAME> (<EMAIL>). Permission
is hereby... |
resources/grammar/Vega.g4 | philippwiesner/compiler | 0 | 965 | <reponame>philippwiesner/compiler<gh_stars>0
grammar Vega;
block
: (FUNC ID LBRACKET functionParameterDeclaration? RBRACKET RETURN_TYPE functionReturnType scopeStatement)+ EOF
;
functionParameterDeclaration
: functionParameterDefinition (COMMA functionParameterDefinition)*
;
functionParameterDefinit... |
analyzer/src/main/antlr4/nl/basjes/parse/useragent/parser/UserAgentTreeWalker.g4 | tywo45/yauaa | 0 | 6699 | /*
* Yet Another UserAgent Analyzer
* Copyright (C) 2013-2017 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... |
_tests/trconvert/antlr2/DotParser.g4 | SKalt/Domemtech.Trash | 16 | 1345 |
parser grammar DotParser;
options
{
importVocab=Dot;
}
graph
: (STRICT_LITERAL)?
(GRAPH_LITERAL | DIGRAPH_LITERAL) (ID)?
O_BRACKET stmt_list C_BRACKET
; stmt_list
: ( stmt SEMI_COLON stmt_list)?
; stmt
: (ID
( EQUAL ID
| node_or_edge_stmt)
| attr_... |
uebung4/u4a10.asm | Sebb767/rechnerarchitektur | 1 | 163186 | section .text
global main
main:
mov eax, 1 ; counter
mov ebx, 0 ; exit code
adder:
add ebx, eax
inc eax
cmp eax, 11
jne adder
call end
end:
mov eax, 1 ; sys_exit
;mov ebx, 0 ; error-code = 1
int 80h ; invoke kernel again
|
src/agda/FRP/JS/Behaviour.agda | agda/agda-frp-js | 63 | 13324 | open import FRP.JS.Bool using ( Bool ; not )
open import FRP.JS.Event using ( Evt ; accumBy )
open import FRP.JS.RSet using ( RSet ; _⇒_ ; ⟦_⟧ ; ⟨_⟩ )
module FRP.JS.Behaviour where
postulate
Beh : RSet → RSet
map : ∀ {A B} → ⟦ A ⇒ B ⟧ → ⟦ Beh A ⇒ Beh B ⟧
map2 : ∀ {A B C} → ⟦ A ⇒ B ⇒ C ⟧ → ⟦ Beh A ⇒ Beh B ⇒ Beh ... |
demo/adainclude/memory_compare.ads | e3l6/SSMDev | 0 | 11068 | <filename>demo/adainclude/memory_compare.ads
with System; use System;
with Interfaces.C; use Interfaces.C;
package Memory_Compare is
pragma Preelaborate;
function memcmp (S1 : Address; S2 : Address; N : size_t) return int;
pragma Export (C, memcmp, "memcmp");
-- compares the first n bytes of the memory area... |
programs/oeis/063/A063914.asm | karttu/loda | 0 | 11442 | ; A063914: Odd numbers interlaced with numbers 3m+2.
; 1,2,3,5,5,8,7,11,9,14,11,17,13,20,15,23,17,26,19,29,21,32,23,35,25,38,27,41,29,44,31,47,33,50,35,53,37,56,39,59,41,62,43,65,45,68,47,71,49,74,51,77,53,80,55,83,57,86,59,89,61,92,63,95,65,98,67,101,69,104,71,107,73,110,75,113,77,116,79,119,81,122,83,125,85,128,87,13... |
src/firmware-tests/SunriseSunset/SunriseSunsetDummies.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 26630 | <gh_stars>1-10
#include "Platform.inc"
radix decimal
SunriseSunsetRam udata
global latitudeOffset
global longitudeOffset
global sunriseAdjustmentMinutes
global sunsetAdjustmentMinutes
global sunriseHourBcd
global sunriseMinuteBcd
global sunsetHourBcd
global sunsetMinuteBcd
latitudeOffset res 1
longitudeOff... |
alloy4fun_models/trainstlt/models/1/tjZBDFfbC3745atFJ.als | Kaixi26/org.alloytools.alloy | 0 | 3095 | open main
pred idtjZBDFfbC3745atFJ_prop2 {
eventually (all s : Signal | s in Green)
}
pred __repair { idtjZBDFfbC3745atFJ_prop2 }
check __repair { idtjZBDFfbC3745atFJ_prop2 <=> prop2o } |
indra/newview/installers/darwin/dmg-cleanup.applescript | humbletim/archived-casviewer | 1 | 3925 | <reponame>humbletim/archived-casviewer<filename>indra/newview/installers/darwin/dmg-cleanup.applescript<gh_stars>1-10
-- First, convert the disk image to "read-write" format with Disk Utility or hdiutil
-- Mount the image, open the disk image window in the Finder and make it frontmost, then run this script from inside ... |
dcm/DCM_2_0_grammar.g4 | augustand/grammars-v4 | 0 | 5357 |
// Parser
grammar DCM_2_0_grammar;
konservierung
: ( '\n' )* 'KONSERVIERUNG_FORMAT 2.0' ( '\n' )+ kons_kopf kons_rumpf
;
kons_kopf
: ( modulkopf_info )? ( funktionsdef )? ( variantendef )?
;
modulkopf_info
: ( mod_zeile )+
;
mod_zeile
: mod_anf_zeile ( mod_fort_zeile )*
;
mod_anf_zeile
... |
programs/oeis/100/A100833.asm | karttu/loda | 0 | 11312 | ; A100833: Smallest positive palindrome-free and squarefree sequence.
; 1,2,3,1,2,4,1,2,3,1,2,5,1,2,3,1,2,4,1,2,3,1,2,6,1,2,3,1,2,4,1,2,3,1,2,5,1,2,3,1,2,4,1,2,3,1,2,7,1,2,3,1,2,4,1,2,3,1,2,5,1,2,3,1,2,4,1,2,3,1,2,6,1,2,3,1,2,4,1,2,3,1,2,5,1,2,3,1,2,4,1,2,3,1,2,8,1,2,3,1,2,4,1,2,3,1,2,5,1,2,3,1,2,4,1,2,3,1,2,6,1,2,3,1,... |
oeis/322/A322534.asm | neoneye/loda-programs | 11 | 243050 | <filename>oeis/322/A322534.asm
; A322534: Position of 2/3^n in the sequence of all numbers 1/2^m, 1/3^m, 2/3^m arranged in decreasing order.
; Submitted by <NAME>
; 1,5,8,12,15,19,23,26,30,33,37,41,44,48,51,55,58,62,66,69,73,76,80,84,87,91,94,98,101,105,109,112,116,119,123,127,130,134,137,141,144,148,152,155,159,162,16... |
programs/oeis/070/A070960.asm | neoneye/loda | 22 | 247556 | <gh_stars>10-100
; A070960: a(1) = 1; a(n) = n!*(3/2) for n>=2.
; 1,3,9,36,180,1080,7560,60480,544320,5443200,59875200,718502400,9340531200,130767436800,1961511552000,31384184832000,533531142144000,9603560558592000,182467650613248000,3649353012264960000,76636413257564160000,1686001091666411520000,3877802510832746496000... |
src/util/sprite/help.asm | olifink/qspread | 0 | 163840 | <filename>src/util/sprite/help.asm
* Sprite help
*
* Mode 4
* +|----------------+
* - www ggg www-
* |w ggggggg w |
* |w gg gg w |
* | ww gg gg ww |
* | w gg gg w|
* | w ggggggg w|
* |www ggg www |
* +|----------------+
*
section sprite
xdef mes_help
xref mes_zero
mes_help
dc.w $0100,$... |
Transynther/x86/_processed/US/_ht_un_/i9-9900K_12_0xa0.log_21829_565.asm | ljhsiun2/medusa | 9 | 844 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x14422, %rsi
lea addresses_UC_ht+0x136a0, %rdi
clflush (%rsi)
nop
nop
nop
sub %r8, %r8
mov $66, %rcx
rep movsq
nop
nop
nop
nop
nop
and %rsi, %rsi
... |
programs/oeis/166/A166873.asm | karttu/loda | 1 | 29743 | ; A166873: a(n) = a(n-1) + 12*n for n > 1; a(1) = 1.
; 1,25,61,109,169,241,325,421,529,649,781,925,1081,1249,1429,1621,1825,2041,2269,2509,2761,3025,3301,3589,3889,4201,4525,4861,5209,5569,5941,6325,6721,7129,7549,7981,8425,8881,9349,9829,10321,10825,11341,11869,12409,12961,13525,14101,14689,15289,15901,16525,17161,178... |
spoof360.applescript | yomed/spoof360 | 1 | 3317 | tell application "System Preferences"
activate
reveal (pane id "com.mice.driver.360Controller.Prefs")
delay 0.3
end tell
tell application "System Events" to tell application process "System Preferences"
click radio button "Advanced" of radio group 1 of window "XBox 360 Controllers"
set theCheckbox to checkbox "P... |
libsrc/_DEVELOPMENT/math/float/math32/z80/d32_fsadd.asm | Frodevan/z88dk | 4 | 29236 | <filename>libsrc/_DEVELOPMENT/math/float/math32/z80/d32_fsadd.asm
;
; Copyright (c) 2015 Digi International Inc.
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
... |
oeis/138/A138967.asm | neoneye/loda-programs | 11 | 163432 | <filename>oeis/138/A138967.asm<gh_stars>10-100
; A138967: Infinite Fibonacci word on the alphabet {1,2,3,4}.
; Submitted by <NAME>
; 1,2,3,1,4,1,2,3,1,2,3,1,4,1,2,3,1,4,1,2,3,1,2,3,1,4,1,2,3,1,2,3,1,4,1,2,3,1,4,1,2,3,1,2,3,1,4,1,2,3,1,4,1,2,3,1,2,3,1,4,1,2,3,1,2,3,1,4,1,2,3,1,4,1,2,3,1,2,3,1,4,1,2,3,1,2,3,1,4,1,2,3,1,4... |
oeis/273/A273860.asm | neoneye/loda-programs | 11 | 85973 | <reponame>neoneye/loda-programs
; A273860: Number of active (ON,black) cells at stage 2^n-1 of the two-dimensional cellular automaton defined by "Rule 1006", based on the 5-celled von Neumann neighborhood.
; Submitted by <NAME>
; 1,5,21,89,377,1569,6425,26033,104841,420833,1686329,6751377,27017705,108095297,432430233,1... |
oeis/143/A143800.asm | neoneye/loda-programs | 11 | 168637 | ; A143800: In acoustics, using 12-tone equal temperament, the rounded number of semitones in the interval perceived when a vibrating string is divided into n congruent segments.
; Submitted by <NAME>(s1)
; 0,12,19,24,28,31,34,36,38,40,42,43,44,46,47,48,49,50,51,52,53,54,54,55,56,56,57,58,58,59,59,60,61,61,62,62,63,63,6... |
tests/src/container_suite.ads | bracke/brackelib | 1 | 22453 |
with AUnit.Test_Suites; use AUnit.Test_Suites;
package Container_Suite is
function Suite return Access_Test_Suite;
end Container_Suite;
|
oeis/020/A020992.asm | neoneye/loda-programs | 11 | 12295 | ; A020992: a(n) = a(n-1) + a(n-2) + a(n-3).
; Submitted by <NAME>
; 0,2,1,3,6,10,19,35,64,118,217,399,734,1350,2483,4567,8400,15450,28417,52267,96134,176818,325219,598171,1100208,2023598,3721977,6845783,12591358,23159118,42596259,78346735,144102112,265045106,487493953,896641171,1649180230,3033315354,5579136755,10261632... |
Expr.g4 | rwibawa/antlr_01 | 0 | 4735 | <reponame>rwibawa/antlr_01
grammar Expr;
prog: (expr NEWLINE)* ;
expr: expr ('*'|'/') expr
| expr ('+'|'-') expr
| INT
| '(' expr ')'
;
NEWLINE : [\r\n]+ ;
INT : [0-9]+ ;
|
length_vec3.asm | EdTheBass/asm_tutorial | 97 | 83709 | <reponame>EdTheBass/asm_tutorial
default rel
bits 64
segment .data
format_length db 'length is %lf', 0xa, 0 ; lf for double in c99
format_distance db 'distance is %lf', 0xa, 0
format_inner db 'dot product is %lf', 0xa, 0
v1x dd 5.0
v1y dd 6.0
v1z dd 7.0
v2x dd 8.0
v2y dd 9.0
v2z d... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt15_pkg.adb | best08618/asylo | 7 | 16855 | package body Opt15_Pkg is
procedure Trace_Non_Inlined is
begin
raise Program_Error;
end;
procedure Trace_Inlined is
begin
Trace_Non_Inlined;
end;
end Opt15_Pkg;
|
src/firmware-tests/Platform/Motor/EnableDisable/IsEnabledTest.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 17456 | <reponame>pete-restall/Cluck2Sesame-Prototype
#include "Platform.inc"
#include "FarCalls.inc"
#include "Motor.inc"
#include "../../Smps/IsSmpsEnabledStub.inc"
#include "TestFixture.inc"
radix decimal
udata
global stubIsSmpsEnabled
global numberOfEnableCalls
global numberOfDisableCalls
global expectedIsMoto... |
test/fail/WrongMetaLeft.agda | asr/agda-kanso | 1 | 13569 | <gh_stars>1-10
{-# OPTIONS --universe-polymorphism #-}
module WrongMetaLeft where
open import Imports.Level
postulate
∃₂ : ∀ {a c : Level} {A : Set a} {B : Set}
(C : A → B → Set c) → Set (a ⊔ c)
proj₂ : ∀ {a c}{A : Set a}{B : Set}{C : A → B → Set c} → ∃₂ {a}{c}{A}{B} C → B
postulate
Position : Set
R... |
alloy4fun_models/trashltl/models/11/TbvGBEeKzyoogzadd.als | Kaixi26/org.alloytools.alloy | 0 | 528 | open main
pred idTbvGBEeKzyoogzadd_prop12 {
always all f : File | eventually f in Trash => eventually f in Trash
}
pred __repair { idTbvGBEeKzyoogzadd_prop12 }
check __repair { idTbvGBEeKzyoogzadd_prop12 <=> prop12o } |
programs/oeis/265/A265412.asm | neoneye/loda | 22 | 82147 | ; A265412: Partial sums of A265411.
; 1,8,11,14,15,18,19,22,23,24,27,28,29,32,33,34,35,38,39,40,41,44,45,46,47,48,51,52,53,54,55,58,59,60,61,62,63,66,67,68,69,70,71,74,75,76,77,78,79,80,83,84,85,86,87,88,89,92,93,94,95,96,97,98,99,102,103,104,105,106,107,108,109,112,113,114,115,116,117,118,119,120,123,124,125,126,127,1... |
src/el-expressions.adb | My-Colaborations/ada-el | 0 | 23084 | -----------------------------------------------------------------------
-- EL.Expressions -- Expression Language
-- Copyright (C) 2009, 2010, 2011, 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in com... |
librfxcodec/src/amd64/cpuid_amd64.asm | abm-osing/xrdp | 0 | 166522 | <gh_stars>0
%include "common.asm"
;The first six integer or pointer arguments are passed in registers
;RDI, RSI, RDX, RCX, R8, and R9
;int
;cpuid_amd64(int eax_in, int ecx_in, int *eax, int *ebx, int *ecx, int *edx)
PROC cpuid_amd64
; save registers
push rbx
push rdx
push rcx
push r8
push r9... |
src/zxtrans_receiver_inf1.asm | xelalexv/zxtrans4l | 1 | 243523 | ;; ZX-Trans Receiver (+3 Version)
;;
;; Load ZX Spectrum snapshot, via RS232 serial port, based
;; on output from zxtrans_sender application.
;;
;;
;; Copyright 2015 <NAME>, All Rights Reserved
;;
;; Redistribution and use in source and binary forms,
;; with or without modification, are permitted ... |
oeis/074/A074528.asm | neoneye/loda-programs | 11 | 8547 | ; A074528: a(n) = 2^n + 3^n + 6^n.
; Submitted by <NAME>
; 3,11,49,251,1393,8051,47449,282251,1686433,10097891,60526249,362976251,2177317873,13062296531,78368963449,470199366251,2821153019713,16926788715971,101560344351049,609360902796251,3656161927895953,21936961102828211,131621735227521049,789730317205170251,47383816... |
example/interpreter.g4 | jarberg/Coco02 | 0 | 7402 | <filename>example/interpreter.g4
grammar interpreter;
start : p=prog e=expr EOF ;
prog : s=stmt # Single
| '{' s+=stmt* '}' # Sequence
;
stmt : x=ID '=' e=expr ';' # Assignment
| 'if' '(' c=cond ')' p1=prog 'else' p2=prog # Conditional
| 'while' '(' c=cond ')' ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.