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 |
|---|---|---|---|---|
message/generation/swift-mt-definition/format/SwiftMtComponentFormat.g4 | Yanick-Salzmann/message-converter-c | 0 | 6759 | grammar SwiftMtComponentFormat;
@lexer::header {
#include "../proto/SwiftMtMessageDefinition.pb.h"
#include <vector>
#include <string>
#include "BaseErrorListener.h"
}
@parser::header {
#include "../proto/SwiftMtMessageDefinition.pb.h"
#include <vector>
#include <string>
#include "BaseErrorListener.h"
#include "Swift... |
oeis/131/A131326.asm | neoneye/loda-programs | 11 | 95652 | <gh_stars>10-100
; A131326: Row sums of A131325.
; 1,3,4,9,13,24,37,63,100,165,265,432,697,1131,1828,2961,4789,7752,12541,20295,32836,53133,85969,139104,225073,364179,589252,953433,1542685,2496120,4038805,6534927,10573732,17108661,27682393,44791056,72473449,117264507,189737956,307002465,496740421,803742888,1300483309,2... |
antler-ver/grammer/emlg.g4 | Dillnot/emoticon-lang | 0 | 2085 | //the gramer of the emoticon lang
grammar emlg;
program
: seq_com EOF # prog
;
//Declarations
//var_decl
// : type ID ASSN expr # var
// ;
//type
// : BOOL # bool
// | INT # int
// ;
//comands
com
: ID ASSN expr EOE ... |
arch/ARM/STM32/svd/stm32l5x2/stm32_svd-nvic.ads | morbos/Ada_Drivers_Library | 2 | 12648 | -- This spec has been automatically generated from STM32L5x2.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.NVIC is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- IPR_IPR_N array element
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr16.adb | best08618/asylo | 7 | 3740 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr16.adb<gh_stars>1-10
-- { dg-do compile }
with Discr16_G;
with Discr16_Cont; use Discr16_Cont;
procedure Discr16 is
generic
type T is (<>);
function MAX_ADD_G(X : T; I : INTEGER) return T;
function MAX_ADD_G(X : T; I : INT... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-tasinf__mingw.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 11900 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
snapshot/Ada/server-spec.ada | daemonl/openapi-codegen | 0 | 30153 | -- Swagger Petstore
-- This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
-- ------------ EDIT NO... |
programs/oeis/327/A327672.asm | neoneye/loda | 22 | 65 | ; A327672: a(n) = Sum_{k=0..n} ceiling(sqrt(k)).
; 0,1,3,5,7,10,13,16,19,22,26,30,34,38,42,46,50,55,60,65,70,75,80,85,90,95,101,107,113,119,125,131,137,143,149,155,161,168,175,182,189,196,203,210,217,224,231,238,245,252,260,268,276,284,292,300,308,316,324,332,340,348,356,364,372,381,390,399,408,417,426,435,444,453,462,... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2212.asm | ljhsiun2/medusa | 9 | 171930 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1462c, %rcx
nop
nop
nop
nop
cmp $25733, %r12
mov (%rcx), %rdi
nop
sub %rsi, %rsi
lea addresses_A_ht+0xc2c, %rsi
nop
nop
cmp %rbx, %rbx
movl $0x61626364, (%rsi)
nop
xor %rcx,... |
src/colors/Colors.g4 | mnjy/androidxmlparser | 0 | 3943 | grammar Colors;
@header {
package colors;
}
/* Lexical rules */
/* example: <color name="tab_title">#a5a1a2</color> */
HEX : '#'[A-Za-z0-9][A-Za-z0-9]* ;
NAME : [A-Za-z_][A-Za-z_]* ;
EQUALS : '=' ;
QUOTE : '"' ;
OPENBRACKET : '<' ;
CLOSEBRACKET : '>' ;
SLASH : '/' ;
COMMENT : '<!--' .*? [\r\n] -> skip ;
NEWLINE... |
Examples.agda | msullivan/godels-t | 4 | 10609 | <reponame>msullivan/godels-t
module Examples where
open import Prelude
open import T
---- some example programs
-- boy, de bruijn indexes are unreadable
w = weaken-closed
one : TNat
one = suc zero
two = suc one
three = suc two
t-plus : TCExp (nat ⇒ nat ⇒ nat)
t-plus = Λ (Λ (rec (var (S Z)) (var Z) (suc (var Z))))
t-... |
source/league/league-holders.adb | svn2github/matreshka | 24 | 12002 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
old/Graph.agda | Lolirofle/stuff-in-agda | 6 | 845 | <filename>old/Graph.agda
module Graph where
import Lvl
open import Data.Tuple as Tuple using (_⨯_ ; _,_)
open import Functional
open import Data.List
open import Logic.Propositional{Lvl.𝟎}
open import Logic.Predicate{Lvl.𝟎}{Lvl.𝟎}
open import Relator.Equals{Lvl.𝟎}
open import Data.List.Relation.Membership{Lvl... |
programs/oeis/017/A017056.asm | karttu/loda | 1 | 15688 | ; A017056: a(n) = (7*n + 6)^4.
; 1296,28561,160000,531441,1336336,2825761,5308416,9150625,14776336,22667121,33362176,47458321,65610000,88529281,116985856,151807041,193877776,244140625,303595776,373301041,454371856,547981281,655360000,777796321,916636176,1073283121,1249198336,1445900625,1664966416,1908029761,2176782336,... |
23_fullomega/fullomega.g4 | AkiraHakuta/antlr4_TAPL | 0 | 4406 | <reponame>AkiraHakuta/antlr4_TAPL<gh_stars>0
grammar fullomega;
toplevel
: (command ';')+
;
command
: term # c_term
| var ':' ty # c_var_ty
| var '=' term # c_var_term
| u_var ... |
project-2.als | pasadinhas/es-project | 9 | 853 | <gh_stars>1-10
open util/ordering[Time] as TO
sig Time{}
//Defined Sets
sig USERS {}
enum UTYPES {BASIC, PREMIUM}
sig UEMAILS {}
sig FILES {}
enum MODES {REGULAR, SECURE, READONLY} //R29
//===========================================================
//==================== OUR WONDER THINGS ====================
//====... |
oeis/243/A243953.asm | neoneye/loda-programs | 11 | 15171 | <filename>oeis/243/A243953.asm<gh_stars>10-100
; A243953: E.g.f.: exp( Sum_{n>=1} A000108(n-1)*x^n/n ), where A000108(n) = binomial(2*n,n)/(n+1) forms the Catalan numbers.
; Submitted by <NAME>
; 1,1,2,8,56,592,8512,155584,3456896,90501632,2728876544,93143809024,3550380249088,149488545697792,6890674623094784,3451316853... |
libsrc/sdcard/sd_init_main.asm | meesokim/z88dk | 0 | 174248 | ;
; Old School Computer Architecture - SD Card driver
; Taken from the OSCA Bootcode by <NAME> 2011
;
; Ported by <NAME>, 2012
;
; Init SD card communications
; On entry: A=card slot number
;
; $Id: sd_init_main.asm,v 1.6 2015/01/19 01:33:07 pauloscustodio Exp $
;
PUBLIC sd_init_main
EXTERN pause_4ms
EXTERN sd... |
src/common/trendy_terminal-lines.adb | pyjarrett/archaic_terminal | 3 | 3731 | <reponame>pyjarrett/archaic_terminal<filename>src/common/trendy_terminal-lines.adb
-------------------------------------------------------------------------------
-- Copyright 2021, The Trendy Terminal Developers (see AUTHORS file)
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use t... |
oeis/135/A135756.asm | neoneye/loda-programs | 11 | 6604 | <reponame>neoneye/loda-programs
; A135756: a(n) = Sum_{k=0..n} C(n,k) * 2^(k*(k-1)).
; Submitted by <NAME>
; 1,2,7,80,4381,1069742,1080096067,4405584869660,72092808533798521,4723015159635987920282,1237987266193328694390243007,1298087832233881093828346620725800,5444533447707296101446012633157149337621,913439231120150020... |
loaders_patches_etc/screen_put_miami.asm | alexanderbazhenoff/zx-spectrum-various | 0 | 97974 | <gh_stars>0
ORG #8000
BORDER EQU 5
DI
EXX
PUSH HL
EXX
LD BC,#7FFD
LD HL,#C010
LD E,#17
OUT (C),L
LD (HL),L
OUT (C),E
LD (HL),E
OUT (C),L
LD A,(HL)
CP E
JP Z,MOD48
LD A,#17
... |
source/MicroBenchX.Ipc/IpcTests/sub_avx256_float.asm | clayne/MicroBenchX | 15 | 85079 | [BITS 64]
%include "parameters.inc"
extern exit
global sub_avx256_float
section .text
sub_avx256_float:
push rbp
mov rax, ITERATIONS_sub_avx256f
lea rbx, [rel avx_iv]
vmovdqa ymm0, [rbx]
vmovdqa ymm1, [rbx]
vmovdqa ymm2, [rbx]
vmovdqa ymm3, [rbx]
vmovdqa ymm4, [rbx]
vmovdqa ymm5, [rbx]
vmovdqa ymm6... |
TankBot_Code_Dev/TankBotTest/asm/src/range_ir_service.asm | CmdrZin/chips_avr_examples | 5 | 91807 | <reponame>CmdrZin/chips_avr_examples
/*
* Optocal IR Range Sensor Service
*
* org: 10/20/2014
* auth: Nels "Chip" Pearson
*
* Target: Tank Bot Demo Board, 20MHz, ATmega164P
*
* This service supports four IR 2D04 range sensors.
* The sensors use power control to help reduce power use which is 35ma per sensor.
... |
Projetos/I-VM/bin/nasm/SimplePushAdd.nasm | juanjorgegarcia/Z01 | 2 | 161601 | <reponame>juanjorgegarcia/Z01<gh_stars>1-10
; 0 - PUSH constant 5
leaw $5,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 1 - PUSH constant 9
leaw $9,%A
movw %A,%D
leaw $SP,%A
movw (%A),%A
movw %D,(%A)
leaw $SP,%A
movw (%A),%D
incw %D
movw %D,(%A)
; 2 - ADD
leaw $SP,%... |
oeis/212/A212681.asm | neoneye/loda-programs | 11 | 103767 | <gh_stars>10-100
; A212681: Number of (w,x,y,z) with all terms in {1,...,n} and |x-y|<|y-z|.
; Submitted by <NAME>
; 0,0,4,24,88,230,504,966,1696,2772,4300,6380,9144,12714,17248,22890,29824,38216,48276,60192,74200,90510,109384,131054,155808,183900,215644,251316,291256,335762,385200,439890,500224,566544,639268
mul $0,2... |
Library/Mailbox/Media/mediaC.asm | steakknife/pcgeos | 504 | 4697 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT: Clavin
MODULE: Media
FILE: mediaC.asm
AUTHOR: <NAME>, Nov 22, 1994
ROUTINES:
Name Description
---- -----------
MAILBOXCHECKMEDIUMAVAILABLE
MAILBOXCHECK... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_34_460.asm | ljhsiun2/medusa | 9 | 246652 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x134fd, %rsi
lea addresses_WT_ht+0x6f8d, %rdi
nop
nop
nop
sub $33591, %r14
mov $73, %rcx
rep movsl
nop
nop
and $18756, %rbx
lea addresses_normal_ht+0x176cd, %rsi
lea addresses_normal_h... |
programs/oeis/098/A098547.asm | karttu/loda | 1 | 179143 | <gh_stars>1-10
; A098547: a(n) = n^3 + n^2 + 1.
; 1,3,13,37,81,151,253,393,577,811,1101,1453,1873,2367,2941,3601,4353,5203,6157,7221,8401,9703,11133,12697,14401,16251,18253,20413,22737,25231,27901,30753,33793,37027,40461,44101,47953,52023,56317,60841,65601,70603,75853,81357,87121,93151,99453,106033,112897,120051,127501... |
aflex/src/vaxvms/handle_foreign_command.ada | irion7/aflex-ayacc-mirror | 1 | 12204 | <reponame>irion7/aflex-ayacc-mirror
-- Handle Foreign Command
--
-- 2.9.92 sjw; orig
with Lib;
with Condition_Handling;
with System;
procedure Handle_Foreign_Command is
function Get_Foreign return String;
function To_Lower (C : Character) return Character;
function Get_Foreign return String is
Status : Co... |
lib/Haskell/RangedSetsProp/RangedSetProperties.agda | ioanasv/agda2hs | 1 | 9997 | <filename>lib/Haskell/RangedSetsProp/RangedSetProperties.agda
module Haskell.RangedSetsProp.RangedSetProperties where
open import Haskell.RangedSetsProp.library
open import Haskell.RangedSetsProp.RangesProperties
open import Agda.Builtin.Equality
open import Agda.Builtin.Bool
open import Haskell.Prim
open import Hask... |
alloy4fun_models/trashltl/models/3/M8HEkB3ty3qdc5QSi.als | Kaixi26/org.alloytools.alloy | 0 | 3062 | open main
pred idM8HEkB3ty3qdc5QSi_prop4 {
some f: File | eventually f in Trash
}
pred __repair { idM8HEkB3ty3qdc5QSi_prop4 }
check __repair { idM8HEkB3ty3qdc5QSi_prop4 <=> prop4o } |
oeis/000/A000037.asm | neoneye/loda-programs | 11 | 172619 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A000037: Numbers that are not squares (or, the nonsquares).
; Submitted by <NAME>(m2)
; 2,3,5,6,7,8,10,11,12,13,14,15,17,18,19,20,21,22,23,24,26,27,28,29,30,31,32,33,34,35,37,38,39,40,41,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,59,60,61,62,63,65,66,67,68,69,70,71... |
programs/oeis/016/A016794.asm | neoneye/loda | 22 | 88343 | ; A016794: (3n+2)^6.
; 64,15625,262144,1771561,7529536,24137569,64000000,148035889,308915776,594823321,1073741824,1838265625,3010936384,4750104241,7256313856,10779215329,15625000000,22164361129,30840979456
mul $0,3
add $0,2
pow $0,6
|
MSDOS/Virus.MSDOS.Unknown.highland.asm | fengjixuchui/Family | 3 | 18274 | <reponame>fengjixuchui/Family
;HIGHLAND.COM
;This is the HIGHLANDER Virus version 1.0.
;This virus is a generic, parasitic, resident COM infector. It will not
;infect command.com however. It is not destructive but can be irritating.
;Interrupt 21 is hooked.
;This virus is to be assembled under TASM 2.0 with the ... |
programs/oeis/290/A290074.asm | jmorken/loda | 1 | 5892 | <gh_stars>1-10
; A290074: Decimal representation of the diagonal from the origin to the corner of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 641", based on the 5-celled von Neumann neighborhood.
; 1,1,5,3,23,15,95,63,383,255,1535,1023,6143,4095,24575,16383,98303,65535,393215,262... |
shell/src/main/antlr/it/unicam/quasylab/sibilla/shell/SibillaScript.g4 | nicdelgUnicam/sibilla | 0 | 1590 | grammar SibillaScript;
@header {
package it.unicam.quasylab.sibilla.shell;
}
script : (command)* EOF;
command : module_command
| seed_command
| load_command
| seed_command
| load_command
| environment_command
| set_command
| clear_command
| reset_com... |
oeis/127/A127357.asm | neoneye/loda-programs | 11 | 165513 | ; A127357: Expansion of 1/(1 - 2*x + 9*x^2).
; Submitted by <NAME>
; 1,2,-5,-28,-11,230,559,-952,-6935,-5302,51811,151340,-163619,-1689298,-1906025,11391632,39937489,-22649710,-404736821,-605626252,2431378885,10313394038,-1255621889,-95331790120,-179362983239,499260144602,2612787138355,732232975292,-22050618294611,-506... |
lab02/lab2/stressfs.asm | ahchu1993/opsys | 0 | 95564 | <reponame>ahchu1993/opsys
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%e... |
Universe/Trunc/Basics.agda | sattlerc/HoTT-Agda | 0 | 1248 | <reponame>sattlerc/HoTT-Agda<gh_stars>0
{-# OPTIONS --without-K #-}
{- Here, truncations with propositional computational behaviour are defined.
This lack of a definitional β-rule enabled us to talk about this notion
inside type theory without truncations, albeit complicating setup and proofs.
After definiti... |
output/main.asm | Progressive-Learning-Platform/plp-grinder | 1 | 89116 | .org 0x10000000
.equ true 1
.equ false 0
li $sp, 0x10fffffc
call BasicArithmatic_static_init
nop
call init_heap
nop
call BasicArithmatic_main
nop
j end
nop
call_buffer:
.word 0
caller:
.word 0
arg_stack:
.word 0
|
list-merge-sort.agda | rfindler/ial | 29 | 7171 | <filename>list-merge-sort.agda
open import bool
module list-merge-sort (A : Set) (_<A_ : A → A → 𝔹) where
open import braun-tree A _<A_
open import eq
open import list
open import nat
open import nat-thms
merge : (l1 l2 : 𝕃 A) → 𝕃 A
merge [] ys = ys
merge xs [] = xs
merge (x :: xs) (y :: ys) with x <A y
merge (x ... |
test/Succeed/TranspComputing.agda | cruhland/agda | 1,989 | 8795 | {-# OPTIONS --cubical #-}
module TranspComputing where
open import Agda.Builtin.Cubical.Path
open import Agda.Primitive.Cubical
open import Agda.Builtin.List
transpList : ∀ (φ : I) (A : Set) x xs → primTransp (λ _ → List A) φ (x ∷ xs) ≡ (primTransp (λ i → A) φ x ∷ primTransp (λ i → List A) φ xs)
transpList φ A x xs ... |
opengl-matrix.ads | io7m/coreland-opengl-ada | 1 | 12299 | with OpenGL.Types;
with OpenGL.Thin;
package OpenGL.Matrix is
type Matrix_4x4f_t is new Types.Float_Arrays.Real_Matrix (1 .. 4, 1 .. 4);
type Matrix_4x4d_t is new Types.Double_Arrays.Real_Matrix (1 .. 4, 1 .. 4);
type Mode_t is (Texture, Modelview, Color, Projection);
-- proc_map : glMatrixMode
procedure... |
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i7-7700_9_0x48.log_21829_362.asm | ljhsiun2/medusa | 9 | 20541 | <filename>Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i7-7700_9_0x48.log_21829_362.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x36a5, %r13
xor %r15, %r15
movb $0x61, (%r13)
nop
nop
nop
xor %rbx, %rbx
lea addr... |
lang/src/main/antlr4/org/kaazing/k3po/lang/parser/v2/Robot.g4 | jfallows/k3po | 0 | 6030 | /**
* Copyright (c) 2007-2014, Kaazing Corporation. All rights reserved.
*/
grammar Robot;
/* Parser rules */
// A robot script is comprised of a list of commands, events and barriers for
// each stream. Note that we deliberately allow empty scripts, in order to
// handle scripts which are comprised of nothing but ... |
rolling-deployments/rolling-deployment.als | experimental-dustbin/alloy-models | 9 | 2751 | open util/ordering[State]
// We'll be working with machines
some sig Machine { }
// State is defined by the aggregate state of the machines
sig State {
old: set Machine,
new: set Machine,
undefined: set Machine
} {
// Machines can't randomly disappear
Machine = old + new + undefined
// There must always b... |
src/LKS/old/OAM.asm | Kannagi/LKS | 6 | 160217 |
LKS_OAM4_Clear:
sta LKS_BUF_OAML + 1,x
sta LKS_BUF_OAML + 5,x
sta LKS_BUF_OAML + 9,x
sta LKS_BUF_OAML + 13,x
rtl
LKS_OAM_ClearH
;Clear OAM
lda #0
rep #$20
sta LKS_BUF_OAMH +$10
sta LKS_BUF_OAMH +$12
sta LKS_BUF_OAMH +$14
sta LKS_BUF_OAMH +$16
sta LKS_BUF_OAMH +$18
sta LKS_BUF_OAMH +$1A
sta LKS_BU... |
oeis/142/A142065.asm | neoneye/loda-programs | 11 | 245284 | <filename>oeis/142/A142065.asm
; A142065: Primes congruent to 28 mod 33.
; Submitted by <NAME>
; 61,127,193,457,523,787,853,919,1051,1117,1249,1381,1447,1579,1777,2239,2371,2437,2503,2767,2833,3163,3229,3361,3559,3691,3823,3889,4021,4153,4219,4483,4549,4813,5011,5077,5209,5407,5737,5869,6067,6133,6199,6397,6529,6661,67... |
Maps/.asm | adkennan/BurgerMayhem | 0 | 163611 | BYTE TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, $FF
MAP_
BYTE ,
BYTE TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, TILE_VOID, $FF
|
app/pseudocode-parser/default/Pseudocode.g4 | killer-nyasha/verifiable-tests | 0 | 7572 | <gh_stars>0
grammar Pseudocode;
program : /* nothing */ # p_nothing
| statements # p_statements
| proc * # p_proc
;
proc : 'proc' NAME statements ;
statements : statement (';' statement)* ;
statement : 'abort' # abort
| 'skip' # skip
| assignment ... |
agda-stdlib-0.9/src/Relation/Binary/StrictPartialOrderReasoning.agda | qwe2/try-agda | 1 | 2827 | <reponame>qwe2/try-agda<gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- Convenient syntax for "equational reasoning" using a strict partial
-- order
------------------------------------------------------------------------
open import Relation.Bi... |
Aurora/Aurora/x64/Debug/svga_screen.asm | manaskamal/aurora-xeneva | 8 | 16923 | <reponame>manaskamal/aurora-xeneva
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG5427 DB '[VMware SVGA]: Virtual Device does not have screen objec'
DB 't enabled', 0aH, 00H
CONST ENDS
PUBLIC ?svga_screen_ini... |
Microsoft Word for Windows Version 1.1a/Word 1.1a CHM Distribution/Opus/asm/disptbn2.asm | lborgav/Historical-Source-Codes | 7 | 2113 | <gh_stars>1-10
include w2.inc
include noxport.inc
include consts.inc
include structs.inc
createSeg disptbl_PCODE,disptbn2,byte,public,CODE
; DEBUGGING DECLARATIONS
ifdef DEBUG
midDisptbn2 equ 31 ; module ID, for native asserts
NatPause equ 1
endif
ifdef NatPause
PAUSE MACRO
int 3
ENDM... |
programs/oeis/033/A033067.asm | karttu/loda | 1 | 1946 | <filename>programs/oeis/033/A033067.asm
; A033067: Numbers whose base-16 representation Sum_{i=0..m} d(i)*16^i has odd d(i) for all odd i.
; 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,1... |
konz/konz2/swap/swap.ads | balintsoos/LearnAda | 0 | 3079 | <filename>konz/konz2/swap/swap.ads
procedure swap(a: in out integer; b: in out integer); |
test/Succeed/RewritingNat.agda | redfish64/autonomic-agda | 0 | 9970 | <reponame>redfish64/autonomic-agda
{-# OPTIONS --rewriting #-}
module RewritingNat where
open import Common.Equality
{-# BUILTIN REWRITE _≡_ #-}
data Nat : Set where
zero : Nat
suc : Nat → Nat
_+_ : Nat → Nat → Nat
zero + n = n
(suc m) + n = suc (m + n)
plus0T : Set
plus0T = ∀{x} → (x + zero) ≡ x
plusSucT :... |
Ada/DataStructures/List/int_list.adb | egustafson/sandbox | 2 | 27368 | <reponame>egustafson/sandbox<filename>Ada/DataStructures/List/int_list.adb
with Generic_List;
procedure Int_List is
Number : Integer;
begin
for I in 1 .. 100000000 loop
Number := I;
end loop;
end Int_List;
|
src/common/sp-filters.adb | jquorning/septum | 236 | 23103 | <filename>src/common/sp-filters.adb
-------------------------------------------------------------------------------
-- Copyright 2021, The Septum Developers (see AUTHORS file)
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You m... |
lib/target/pacman/classic/pacman_crt0.asm | jpoikela/z88dk | 38 | 23825 | <filename>lib/target/pacman/classic/pacman_crt0.asm
; Startup Code for pacman machine
;
; <NAME> 2012
;
; -startup=2 --> provide an IRQ handler (now required for the Tetris game)
;
; $Id:$
;
DEFC ROM_Start = $0000
DEFC INT_Start = $0038
DEFC NMI_Start = $0066
DEFC CODE_Start = $0100
DEFC VRAM_... |
programs/oeis/036/A036562.asm | jmorken/loda | 1 | 14478 | <filename>programs/oeis/036/A036562.asm
; A036562: a(n) = 4^(n+1) + 3*2^n + 1.
; 1,8,23,77,281,1073,4193,16577,65921,262913,1050113,4197377,16783361,67121153,268460033,1073790977,4295065601,17180065793,68719869953,274878693377,1099513200641,4398049656833,17592192335873,70368756760577,281475001876481,1125899957174273,45... |
src/bb_pico_bsp-keyboard.ads | Fabien-Chouteau/bb_pico_bsp | 0 | 1303 | with HAL;
with BBQ10KBD;
package BB_Pico_Bsp.Keyboard is
function Key_FIFO_Pop return BBQ10KBD.Key_State;
-- When the FIFO is empty a Key_State with Kind = Error is returned
function Status return BBQ10KBD.KBD_Status;
procedure Set_Backlight (Lvl : HAL.UInt8);
function Version return HAL.UInt8;
... |
programs/oeis/237/A237274.asm | neoneye/loda | 22 | 3702 | ; A237274: a(n) = A236283(n) mod 9.
; 2,1,4,5,1,4,2,7,7,5,7,7,2,4,1,5,4,1,2,1,4,5,1,4,2,7,7,5,7,7,2,4,1,5,4,1,2,1,4,5,1,4,2,7,7,5,7,7,2,4,1,5,4,1,2,1,4,5,1,4,2,7,7,5,7,7,2,4,1,5,4,1
pow $0,2
mov $2,3
add $2,$0
mov $0,-1
sub $2,1
pow $0,$2
add $0,2
mov $3,$2
div $3,2
add $0,$3
add $0,$3
mod $0,18
sub $0,3
div $0,2
add ... |
digger/dospc.asm | pdpdds/DOSDev | 92 | 241997 | ; Digger Remastered
; Copyright (c) <NAME> 1998-2004
PUBLIC _olddelay,_getkips,_inittimer,_gethrt,_getlrt
PUBLIC _s0initint8,_s0restoreint8,_s0soundoff,_s0setspkrt2,_s0settimer0
PUBLIC _s0timer0,_s0settimer2,_s0timer2,_s0soundinitglob,_s0soundkillglob
PUBLIC _s1initint8,_s1restoreint8,_setsounddevice,_initsounddevice
... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_1164_2295.asm | ljhsiun2/medusa | 9 | 9408 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_1164_2295.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x82e0, %rsi
lea addresses_normal_ht+0x33d0, %rdi
clflush ... |
test/Compiler/simple/Lib/Vec.agda | cruhland/agda | 1,989 | 13052 | module Lib.Vec where
open import Common.Nat
open import Lib.Fin
open import Common.Unit
import Common.List as List; open List using (List ; [] ; _∷_)
data Vec (A : Set) : Nat → Set where
_∷_ : {n : Nat} → A → Vec A n → Vec A (suc n)
[] : Vec A zero
infixr 30 _++_
_++_ : {A : Set}{m n : Nat} → Vec A m → Vec A ... |
tools-src/gnu/gcc/gcc/ada/sem_res.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 27448 | <filename>tools-src/gnu/gcc/gcc/ada/sem_res.adb<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
source/nodes/program-nodes-entry_index_specifications.adb | optikos/oasis | 0 | 12221 | <reponame>optikos/oasis
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Entry_Index_Specifications is
function Create
(For_Token : not null Program.Lexica... |
Task/Read-a-configuration-file/Ada/read-a-configuration-file-1.ada | djgoku/RosettaCodeData | 0 | 1920 | <gh_stars>0
with Ada.Strings.Unbounded;
with Config_File_Parser;
pragma Elaborate_All (Config_File_Parser);
package Config is
function TUS (S : String) return Ada.Strings.Unbounded.Unbounded_String
renames Ada.Strings.Unbounded.To_Unbounded_String;
-- Convenience rename. TUS is much shorter than To_Unbou... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_402.asm | ljhsiun2/medusa | 9 | 102161 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_402.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x34ea, %rax
nop
nop
dec %r13
and $0xffffffffffffffc0, %rax
movaps (%rax), %xmm7
vpextrq... |
Log.applescript | mikegrb/p5-Misc-MacLoggerDX | 3 | 1908 | tell application "MacLoggerDX"
setRSTS (system attribute "FLDIGI_LOG_RST_OUT")
setRSTR (system attribute "FLDIGI_LOG_RST_IN")
setNOTE (system attribute "FLDIGI_LOG_NOTES")
log
end tell
|
memsim-master/src/memory-dram.ads | strenkml/EE368 | 0 | 30811 |
package Memory.DRAM is
type DRAM_Type is new Memory_Type with private;
type DRAM_Pointer is access all DRAM_Type'Class;
function Create_DRAM(cas_cycles : Time_Type; -- CAS latency
rcd_cycles : Time_Type; -- RCD latency
rp_cycles : Time_Type; ... |
test/fail/CoinductiveBuiltinNatural.agda | asr/agda-kanso | 1 | 3472 | <reponame>asr/agda-kanso
module CoinductiveBuiltinNatural where
open import Imports.Coinduction
data ℕ : Set where
zero : ℕ
suc : (n : ∞ ℕ) → ℕ
{-# BUILTIN NATURAL ℕ #-}
{-# BUILTIN ZERO zero #-}
{-# BUILTIN SUC suc #-}
|
Cubical/HITs/ListedFiniteSet/Base.agda | limemloh/cubical | 0 | 13824 | {-# OPTIONS --cubical --safe #-}
module Cubical.HITs.ListedFiniteSet.Base where
open import Cubical.Core.Everything
open import Cubical.Foundations.Logic
open import Cubical.Foundations.Everything
private
variable
A : Type₀
infixr 20 _∷_
infix 30 _∈_
data LFSet (A : Type₀) : Type₀ where
[] : LFSet A
_... |
oeis/214/A214040.asm | neoneye/loda-programs | 11 | 22966 | ; A214040: a(n)=a(n-1)+floor((a(n-2)+a(n-3))/2), with a(n)=n for n<3.
; Submitted by <NAME>(s4.)
; 0,1,2,2,3,5,7,11,17,26,40,61,94,144,221,340,522,802,1233,1895,2912,4476,6879,10573,16250,24976,38387,59000,90681,139374,214214,329241,506035,777762,1195400,1837298,2823879,4340228,6670816,10252869,15758391,24220233
mov $... |
oeis/185/A185438.asm | neoneye/loda-programs | 11 | 167727 | ; A185438: a(n) = 8*n^2 - 2*n + 1.
; 1,7,29,67,121,191,277,379,497,631,781,947,1129,1327,1541,1771,2017,2279,2557,2851,3161,3487,3829,4187,4561,4951,5357,5779,6217,6671,7141,7627,8129,8647,9181,9731,10297,10879,11477,12091,12721,13367,14029,14707,15401,16111,16837,17579,18337,19111,19901,20707,21529,22367,23221,24091,2... |
lib/webradio.applescript | eiGelbGeek/itunes-api | 2 | 1058 | on run argv
set webradio_list to {}
set webradio_config_Path to POSIX path of ((path to home folder as text) & "Music:iTunes:webradio_stations.txt")
set webradio to paragraphs of (read POSIX file webradio_config_Path)
repeat with nextLine in webradio
if length of nextLine is greater than 0 then
copy nextLine t... |
oeis/191/A191475.asm | neoneye/loda-programs | 11 | 172806 | ; A191475: Values of i of the numbers 2^i*3^j (A033845).
; Submitted by <NAME>
; 1,2,1,3,2,4,1,3,5,2,4,1,6,3,5,2,7,4,1,6,3,8,5,2,7,4,1,9,6,3,8,5,2,10,7,4,1,9,6,3,11,8,5,2,10,7,4,12,1,9,6,3,11,8,5,13,2,10,7,4,12,1,9,6,14,3,11,8,5,13,2,10,7,15,4,12,1,9,6,14,3,11,8,16,5,13,2,10,7,15,4,12,1,9,17,6,14,3,11,8
seq $0,65119 ;... |
src/ada-core/src/linted-abas.adb | mstewartgallus/linted | 0 | 16587 | <gh_stars>0
-- Copyright 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 required by applicable law or agreed... |
sw/552tests/inst_tests/xori_10.asm | JPShen-UWM/ThreadKraken | 1 | 165495 | <filename>sw/552tests/inst_tests/xori_10.asm
// Original test: ./shojaei/hw4/problem6/xori_3.asm
// Author: shojaei
// Test source code follows
lbi r1, 224
xori r1, r1, 31
halt
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt64_pkg.ads | best08618/asylo | 7 | 2042 | <gh_stars>1-10
package Opt64_PKG is
type Hash is new string (1 .. 1);
Last_Hash : Hash;
procedure Encode (X : Integer);
end;
|
Working Disassembly/Levels/SSZ/Misc Object Data/Map - GHZ Misc.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 22306 | <reponame>TeamASM-Blur/Sonic-3-Blue-Balls-Edition
Map_186E7C: dc.w word_186E84-Map_186E7C
dc.w word_186E9E-Map_186E7C
dc.w word_186EB8-Map_186E7C
dc.w word_186EC0-Map_186E7C
word_186E84: dc.w 4
dc.b $E8, $A, 0, 0, $FF, $E8
dc.b $E8, $A, 0, 9, 0, 0
dc.b 0, $A, 0, $12, $FF, $E8
dc.b 0,... |
programs/oeis/329/A329962.asm | neoneye/loda | 22 | 22714 | <gh_stars>10-100
; A329962: Beatty sequence for 2 + cos x, where x = least positive solution of 1/(2 + sin x) + 1/(2 + cos x) = 1.
; 1,3,4,6,7,9,10,12,13,15,16,18,19,21,22,24,26,27,29,30,32,33,35,36,38,39,41,42,44,45,47,48,50,52,53,55,56,58,59,61,62,64,65,67,68,70,71,73,75,76,78,79,81,82,84,85,87,88,90,91,93,94,96,97,9... |
src/CF/Syntax/DeBruijn.agda | ajrouvoet/jvm.agda | 6 | 10092 | <gh_stars>1-10
{-# OPTIONS --safe #-}
module CF.Syntax.DeBruijn where
open import Level
open import Data.Bool
open import Data.Product
open import Data.Integer
open import Data.List hiding (null)
open import Data.List.Relation.Unary.All
open import Relation.Unary.PredicateTransformer using (Pt)
open import Relation.U... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c96008a.ada | best08618/asylo | 7 | 21181 | -- C96008A.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... |
11window/pm/print_string_pm.asm | SwordYork/slef | 8 | 101194 | <reponame>SwordYork/slef
[bits 32]
VIDEO_MEMORY equ 0xa0000
WHITE_ON_BLACK equ 0x0f
print_string_pm:
pusha
mov edx,VIDEO_MEMORY
print_string_pm_loop:
mov al,[ebx]
mov ah, WHITE_ON_BLACK ;color
cmp al,0
je print_string_pm_done ;end
mov [edx],ax
add ebx,1
add edx,2 ;two bytes
jmp print_string_... |
src/Partiality-monad/Inductive/Eliminators.agda | nad/partiality-monad | 2 | 2230 | <filename>src/Partiality-monad/Inductive/Eliminators.agda
------------------------------------------------------------------------
-- Specialised eliminators
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --safe #-}
module Partiality-monad.Inductive.Eliminators w... |
test/Succeed/InstanceEta.agda | cruhland/agda | 1,989 | 3432 |
module _ where
record ⊤ : Set where
instance
constructor tt
data Nat : Set where
suc : Nat → Nat
NZ : Nat → Set
NZ (suc _) = ⊤
postulate
A : ∀ n → {{_ : NZ n}} → Set
B : ∀ n (nz : NZ n) → Set
B (suc n) nz = A (suc n)
|
oeis/169/A169803.asm | neoneye/loda-programs | 11 | 6628 | <gh_stars>10-100
; A169803: Triangle read by rows: T(n,k) = binomial(n+1-k,k) (n >= 0, 0 <= k <= n).
; Submitted by <NAME>
; 1,1,1,1,2,0,1,3,1,0,1,4,3,0,0,1,5,6,1,0,0,1,6,10,4,0,0,0,1,7,15,10,1,0,0,0,1,8,21,20,5,0,0,0,0,1,9,28,35,15,1,0,0,0,0,1,10,36,56,35,6,0,0,0,0,0,1,11,45,84,70,21,1,0,0,0,0,0,1,12,55,120,126,56,7,0... |
oeis/241/A241682.asm | neoneye/loda-programs | 11 | 103388 | <filename>oeis/241/A241682.asm<gh_stars>10-100
; A241682: Total number of unit squares appearing in the Thue-Morse sequence logical matrices after n stages.
; Submitted by <NAME>
; 0,2,0,8,16,72,240,968,3696,14792,58480,233928,932976,3731912,14916720,59666888,238623856,954495432,3817806960,15271227848,61084212336,24433... |
src/test/resources/test0.asm | LunarCoffee/Nexi | 0 | 91909 | global main
main:
global func
func: |
to_lower_1.adb | ne-oss/urban-os | 0 | 27977 | <gh_stars>0
-- {{Ada/Sourceforge|to_lower_1.adb}}
pragma License (Gpl);
pragma Ada_95;
with Ada.Text_IO;
with Ada.Command_Line;
with Ada.Characters.Handling;
procedure To_Lower_1 is
package CL renames Ada.Command_Line;
package T_IO renames Ada.Text_IO;
function To_Lower (Str : String) return String;
... |
alloy4fun_models/trainstlt/models/5/2BaxL5ecmBNfq6BBd.als | Kaixi26/org.alloytools.alloy | 0 | 3671 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id2BaxL5ecmBNfq6BBd_prop6 {
always (all s:Signal | always (s in Green) implies eventually (s not in Green ) or
always s not in Green implies eventually (s in Green) )
}
pred __repair { id2BaxL5ecmBNfq6BBd_prop6 }
check __repair { id2BaxL5ecmBNfq6BBd_pro... |
monster.asm | mariahassan54/Super-Mario-Game-in-Assembly-Language | 0 | 15193 | <filename>monster.asm<gh_stars>0
.model small
.stack 120h
.data
Mcolor1 byte 2d ;green
Mcolor2 byte 1d ;black ;blue instead of white
Mcolor3 byte 4d ;brownn
Mcolor4 byte 15d ;white
unique byte 13d
.code
main proc
mov AX, @data
mov DS, AX
mov AX, 0
... |
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/___fsadd_callee.asm | ahjelm/z88dk | 640 | 174089 | <filename>libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/___fsadd_callee.asm
SECTION code_fp_am9511
PUBLIC ___fsadd_callee
EXTERN cam32_sdcc_fadd_callee
defc ___fsadd_callee = cam32_sdcc_fadd_callee
|
assignment6/shellcode-893-modified.nasm | tdmathison/SLAE32 | 0 | 224 | ; Modified version of shellcode-893
; This was created as part of the SecurityTube Linux Assembly Expert
; course at http://securitytube-training.com/online-courses/securitytube-linux-assembly-expert/
;
; <NAME>
;
; The MIT License (MIT)
;
; Copyright (c) 2018 <NAME>
;
; Permission is hereby granted, free of charge, t... |
source/amf/uml/amf-uml-states.ads | svn2github/matreshka | 24 | 23685 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
Task/Determine-if-only-one-instance-is-running/Ada/determine-if-only-one-instance-is-running.ada | LaudateCorpus1/RosettaCodeData | 1 | 3878 | <reponame>LaudateCorpus1/RosettaCodeData
with Ada.Text_IO;
procedure Single_Instance is
package IO renames Ada.Text_IO;
Lock_File: IO.File_Type;
Lock_File_Name: String := "single_instance.magic_lock";
begin
begin
IO.Open(File => Lock_File, Mode=> IO.In_File, Name => Lock_File_Name);
IO.Close(... |
models/tests/test77c.als | transclosure/Amalgam | 4 | 966 | module tests/test
open util/relation as a
open util/graph as a // should give syntax error
run { }
|
cards/bn6/ModCards/137-A016 Spidey.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 165275 | .include "defaults_mod.asm"
table_file_jp equ "exe6-utf8.tbl"
table_file_en equ "bn6-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252354A // BR5J
game_code_2 equ 0x42523545 // BR5E
game_code_3 equ 0x42523550 // BR5P
card_type equ 1
card_id equ 16
card_no equ "016"
card_sub equ "Mod Card 016"
card_sub_x ... |
data/wild/johto_water.asm | genterz/pokecross | 28 | 165416 | ; Johto Pokémon in water
JohtoWaterWildMons:
map_id RUINS_OF_ALPH_OUTSIDE
db 2 percent ; encounter rate
db 15, WOOPER
db 20, QUAGSIRE
db 15, QUAGSIRE
map_id UNION_CAVE_1F
db 2 percent ; encounter rate
db 15, WOOPER
db 20, QUAGSIRE
db 15, QUAGSIRE
map_id UNION_CAVE_B1F
db 2 percent ; encounter rate
db 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.