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 |
|---|---|---|---|---|
src/clic-config-info.adb | alire-project/clic | 9 | 14788 | with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with GNAT.Regpat;
package body CLIC.Config.Info is
----------
-- List --
----------
function List (This : CLIC.Config.Instance;
Filter : String := ".*";
Show_Origin : Boolean := False)
... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_311.asm | ljhsiun2/medusa | 9 | 9835 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rbp
push %rcx
lea addresses_normal_ht+0x53b2, %r14
add $61244, %r13
movb $0x61, (%r14)
nop
nop
nop
nop
nop
cmp $26583, %rbp
pop %rcx
pop %rbp
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r15
push %r9
push... |
src/svd/sam_svd-itm.ads | Fabien-Chouteau/samd51-hal | 1 | 20961 | pragma Style_Checks (Off);
-- This spec has been automatically generated from ATSAMD51G19A.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package SAM_SVD.ITM is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- ITM Stimulus Port Registers
-- ITM S... |
hilo.adb | Entomy/letscode-cards | 4 | 12872 | <reponame>Entomy/letscode-cards<filename>hilo.adb
with Ada.Text_IO, Cards, Deck;
use Ada.Text_IO, Cards, Deck;
procedure HiLo is
Old_Card : Card;
New_Card : Card;
First_Draw : Boolean := True;
type Choice_Type is (Higher, Lower);
Choice : Choice_Type;
Input : Character;
begin
Old_Card := Deck.Draw;
loop
... |
bank0.asm | sanderzegers/PlantBoy | 0 | 28519 | <filename>bank0.asm<gh_stars>0
;-------------
; PlantBoy - bank0.asm
;-------------
; Includes
;-------------
INCLUDE "hardware.asm"
INCLUDE "header.asm"
INCLUDE "tiles.asm"
INCLUDE "map.asm"
;-------------
; Start
;-------------
; Section syntax: Section name, type [start addr]
SECTION "Program Start",ROM0[$1... |
libsrc/graphics/zx81/hr/invhrg_arx.asm | jpoikela/z88dk | 640 | 80937 | ;--------------------------------------------------------------
; ARX816 style Graphics
; for the ZX81
;--------------------------------------------------------------
;
; Invert screen output
;
; Stefano - Oct 2011
;
;
; $Id: invhrg_arx.asm,v 1.3 2016-06-27 20:26:33 dom Exp $
;
SECTION code_clib
... |
oeis/201/A201203.asm | neoneye/loda-programs | 11 | 179519 | <filename>oeis/201/A201203.asm
; A201203: Alternating row sums of triangle A201201: first associated monic Laguerre-Sonin(e) polynomials with parameter alpha=1 evaluated at x=-1.
; Submitted by <NAME>
; 1,-5,29,-201,1631,-15173,159093,-1854893,23788271,-332613321,5033396573,-81929955953,1426898945343,-26468817431501,52... |
oeis/152/A152873.asm | neoneye/loda-programs | 11 | 80277 | ; A152873: Number of permutations of {1,2,...,n} (n>=2) having a single run of even entries. For example, the permutation 513284679 has a single run of even entries: 2846.
; Submitted by <NAME>(m3)
; 2,6,12,48,144,720,2880,17280,86400,604800,3628800,29030400,203212800,1828915200,14631321600,146313216000,1316818944000,1... |
source/environment/a-envvar.adb | ytomino/drake | 33 | 22048 | <filename>source/environment/a-envvar.adb<gh_stars>10-100
package body Ada.Environment_Variables is
procedure Start (Object : out Iterator);
procedure Start (Object : out Iterator) is
begin
Object.Block := System.Native_Environment_Variables.Get_Block;
end Start;
-- implementation
procedure ... |
tasks/extern/malloc.asm | yds12/x86-roadmap | 15 | 12144 | ; This program will call functions from the C library (glibc), in this case
; malloc and exit.
; Build with:
;
; $ nasm -felf64 tasks/extern/malloc.asm -o bin/malloc.o
; $ ld bin/malloc.o -lc -I /lib64/ld-linux-x86-64.so.2 -o bin/malloc
;
; The -lc option tells ld to link with the C library, and the -I option i... |
oeis/133/A133985.asm | neoneye/loda-programs | 11 | 25583 | ; A133985: Expansion of f(-x, x^2) in powers of x where f(, ) is Ramanujan's general theta function.
; Submitted by <NAME>(s1.)
; 1,-1,1,0,0,-1,0,-1,0,0,0,0,1,0,0,-1,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_216.asm | ljhsiun2/medusa | 9 | 8009 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x164ae, %r11
nop
nop
nop
nop
nop
sub %rsi, %rsi
mov $0x6162636465666768, %r10
movq %r10, %xmm5
movups %xmm5, (%r11)
cmp $49463, %rax
lea addresses_WC_ht+0xfa92, %rsi
lea ... |
Assignment1/initial/src/main/mp/parser/MP.g4 | jimcbl/ppl_hcmut_assignment | 1 | 6095 | grammar MP;
@lexer::header {
from lexererr import *
}
options{
language=Python3;
}
program : mptype 'main' LB RB LP body? RP EOF ;
mptype: INTTYPE | VOIDTYPE ;
body: funcall SEMI;
exp: funcall | INTLIT ;
funcall: ID LB exp? RB ;
INTTYPE: 'int' ;
VOIDTYPE: 'void' ;
ID: [a-zA-Z]+ ;
INTLIT: [0-9]+;
LB: '(' ... |
agda-stdlib/src/Data/Bool/Properties.agda | DreamLinuxer/popl21-artifact | 5 | 4332 | <reponame>DreamLinuxer/popl21-artifact
------------------------------------------------------------------------
-- The Agda standard library
--
-- A bunch of properties
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Bool.Properties where
open i... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1100.asm | ljhsiun2/medusa | 9 | 19382 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1e9ba, %r9
clflush (%r9)
nop
nop
nop
nop
nop
and %r11, %r11
vmovups (%r9), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $0, %xmm3, %r10
sub $40710, %rdx
lea addr... |
src/Container.agda | nad/equality | 3 | 11888 | ------------------------------------------------------------------------
-- Containers, including a definition of bag equivalence
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Equality
module Container {c⁺} (eq : ∀ {a p} → Equality-with-J a p ... |
src/Categories/NaturalTransformation/Monoidal.agda | Trebor-Huang/agda-categories | 279 | 5237 | <filename>src/Categories/NaturalTransformation/Monoidal.agda
{-# OPTIONS --without-K --safe #-}
open import Categories.Category.Monoidal
-- Monoidal natural transformations between lax and strong monoidal functors.
--
-- See
-- * <NAME>, Some definitions everyone should know,
-- https://math.ucr.edu/home/baez/qg-... |
Library/Chart/CComp/ccompPosition.asm | steakknife/pcgeos | 504 | 83280 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE:
AUTHOR: <NAME>
METHODS:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- -----------
... |
source/uaflex/matreshka-internals-graphs.adb | svn2github/matreshka | 24 | 24626 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
grammar/src/main/antlr/KotlinParser.g4 | Egorand/kotlin-spec | 0 | 4117 | /**
* Kotlin syntax grammar in ANTLR4 notation
*/
parser grammar KotlinParser;
options { tokenVocab = KotlinLexer; }
// SECTION: general
kotlinFile
: shebangLine? NL* fileAnnotation* packageHeader importList topLevelObject* EOF
;
script
: shebangLine? NL* fileAnnotation* packageHeader importList (sta... |
chap18/ex8/mce_avx512.asm | JamesType/optimization-manual | 374 | 5636 | <gh_stars>100-1000
;
; Copyright (C) 2021 by Intel Corporation
;
; Permission to use, copy, modify, and/or distribute this software for any
; purpose with or without fee is hereby granted.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED W... |
scripts/.finder-reveal.applescript | looking-for-a-job/mac-finder.py | 7 | 2915 | <reponame>looking-for-a-job/mac-finder.py
#!/usr/bin/osascript
on run argv
set _posix_file to POSIX file (item 1 of argv) as text
tell application "Finder"
set theWindowList to every Finder window
repeat with i from 1 to number of items in theWindowList
set w to item i of theWindowList
set _tar... |
oeis/015/A015533.asm | neoneye/loda-programs | 11 | 83671 | <reponame>neoneye/loda-programs<filename>oeis/015/A015533.asm
; A015533: a(n) = 4*a(n-1) + 9*a(n-2).
; Submitted by <NAME>
; 0,1,4,25,136,769,4300,24121,135184,757825,4247956,23812249,133480600,748232641,4194255964,23511117625,131792774176,738771155329,4141219588900,23213818753561,130126251314344,729429374039425,408885... |
experiments/realbugs/fsm9.als | kaiyuanw/AlloyFLCore | 1 | 4398 | <gh_stars>1-10
one sig FSM {
start: set State,
stop: set State
}
sig State {
transition: set State
}
// Part (a)
fact OneStartAndStop {
// FSM only has one start state.
-- TODO: Your code starts here.
one s:State| s in FSM.start
// FSM only has one stop state.
-- TODO: Your code starts here.
one s:S... |
libsrc/z80_crt0s/crt0/l_cmp.asm | meesokim/z88dk | 0 | 6477 | ;
; Z80 Runtime Library
;
; Signed integer compare
;
; $Id: l_cmp.asm,v 1.8 2015/01/19 01:33:25 pauloscustodio Exp $:
PUBLIC l_cmp
; signed compare of DE and HL
; carry is sign of difference [set => DE < HL]
; zero is zero/non-zero
.l_cmp
ld a,h
add $80
ld b,a
ld a,d
add $80
cp b
ret nz... |
collision1/main.asm | emutyworks/Learning-GB-Programming | 9 | 241071 | ;
; I used this Website/Document as a reference to create "main.asm".
;
; GB ASM Programming Tutorial: Hello World!
; https://eldred.fr/gb-asm-tutorial/hello-world.html
;
; The Cycle-Accurate Game Boy Docs (p25: 7. Joypad)
; https://github.com/AntonioND/giibiiadvance/blob/master/docs/TCAGBD.pdf
;
; Pan Docs: Memory Map... |
src/main/antlr4/imports/mysql_idents.g4 | HieuMinh0609/kafka-maxwell | 0 | 5816 | <gh_stars>0
grammar mysql_idents;
import mysql_literal_tokens;
db_name: name;
table_name: (db_name '.' name)
| name
;
user: user_token ('@' user_token)?;
user_token: (IDENT | QUOTED_IDENT | STRING_LITERAL);
name: ( id | tokens_available_for_names | INTEGER_LITERAL);
id: ( IDENT | QUOTED_IDEN... |
programs/oeis/307/A307163.asm | neoneye/loda | 22 | 14380 | ; A307163: Minimum number of intercalates in a diagonal Latin square of order n.
; 0,0,0,12,0,9,0,0,0,0,0,0,0
mov $2,2
lpb $0
mov $1,22
add $2,$0
add $0,$2
div $1,$2
dif $0,$1
lpe
mul $1,3
mov $0,$1
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37404a.ada | best08618/asylo | 7 | 29006 | --C37404A.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.
-- Unlimite... |
sbsext/ext/alarm.asm | olifink/smsqe | 0 | 170676 | * Resident alarm program 1985 T.Tebby QJUMP
*
section exten
*
xdef alarm
*
xref ut_gxin2 get two integers
xref ut_crjob create Job
xref ut_ajob activate Job
xref ut_rjbme suicide
xref tm_susrc suspend and read clock
*
include dev8_sbsext_ext_keys
*
al_jmp equ $00 jmp al_job
al_flag equ $06 $4a... |
src/shaders/h264/ildb/loadNV12_16x16T.asm | tizenorg/platform.upstream.libva-intel-driver | 0 | 176618 | /*
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
// Module name: loadNV12_16x16T.asm
//
// Load and trans... |
oeis/151/A151668.asm | neoneye/loda-programs | 11 | 81516 | <reponame>neoneye/loda-programs<filename>oeis/151/A151668.asm
; A151668: G.f.: Product_{k>=0} (1 + 2*x^(3^k)).
; Submitted by <NAME>
; 1,2,0,2,4,0,0,0,0,2,4,0,4,8,0,0,0,0,0,0,0,0,0,0,0,0,0,2,4,0,4,8,0,0,0,0,4,8,0,8,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,4,0,4,8,0,0,0,0,4,8,... |
libsrc/graphics/cpc/undrawr.asm | grancier/z180 | 0 | 25042 | ;
; Amstrad CPC Graphics Functions
;
; by <NAME> - Jul 2004
;
;
; $Id: undrawr.asm,v 1.5 2016/06/19 21:10:08 dom Exp $
;
SECTION code_clib
PUBLIC undrawr
PUBLIC _undrawr
EXTERN drawr
INCLUDE "cpcfirm.def"
INCLUDE "graphics/grafix.inc"
.u... |
Vba.Language/Vba.Grammars/VbaParser.g4 | rossknudsen/Vba.Language | 20 | 7028 | parser grammar VbaParser;
//import Common;
options {
tokenVocab=VbaLexer;
}
// Specification: [MS-VBAL] VBA Language Specification
// 3.3.5.2 Reserved Identifiers and IDENTIFIER
identifier
: Access
| Alias
| Append
| Base
| Binary
| Class_Initialize
| Class_Termin... |
src/gl/interface/gl-objects-framebuffers.ads | Roldak/OpenGLAda | 79 | 22288 | <filename>src/gl/interface/gl-objects-framebuffers.ads
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with GL.Buffers;
with GL.Objects.Renderbuffers;
with GL.Objects.Textures;
private with GL.Low_Level.Enums;
package GL.Objects.Framebuffers is
pragma... |
sound/main.asm | raphnet/super_sudoku | 6 | 95582 | <gh_stars>1-10
.memorymap
slotsize $7000
defaultslot 0
slot 0 $200
.endme
.rombankmap
bankstotal 1
banksize $7000
banks 1
.endro
.emptyfill 0
;;;;;;;;;;; SPC700 CPU registers / IO locations ;;;;;;;;;;;;;;;;;;;;
.define TEST $00F0 ; Testing functions
.define CONTROL $00F1 ; Timer, I/O and ROM Control
.define DS... |
unittests/arch/x86/insn/avxcc.asm | path64/assembler | 1 | 25405 | ; Exhaustive test of AVX condition code aliases
; Also includes based-upon SSE instructions for comparison
;
; Copyright (C) 2008 <NAME>
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; 1. Redistributions of source... |
test/Fail/SubjectReduction.agda | alhassy/agda | 3 | 13642 | -- Based on an example due to <NAME>. See "Recursion with
-- boxes", http://sneezy.cs.nott.ac.uk/fplunch/weblog/?p=104.
module SubjectReduction where
open import Common.Coinduction
Eq : {A : Set} → A → A → Set1
Eq {A} x y = (P : A → Set) → P x → P y
refl : ∀ {A} (x : A) → Eq x x
refl x P Px = Px
data Stream : Set ... |
Cubical/Algebra/Base.agda | bijan2005/univalent-foundations | 0 | 10067 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.Base where
open import Cubical.Core.Everything
------------------------------------------------------------------------
-- Unary and binary operations
Op₁ : ∀ {ℓ} → Type ℓ → Type ℓ
Op₁ A = A → A
Op₂ : ∀ {ℓ} → Type ℓ → Type ℓ
Op₂ A = A → A → A... |
oeis/276/A276275.asm | neoneye/loda-programs | 11 | 165790 | ; A276275: Padovan like sequence: a(n) = a(n-2) + a(n-3) for n>3, a(1)=2, a(2)=2, a(3)=0.
; Submitted by <NAME>
; 2,2,0,4,2,4,6,6,10,12,16,22,28,38,50,66,88,116,154,204,270,358,474,628,832,1102,1460,1934,2562,3394,4496,5956,7890,10452,13846,18342,24298,32188,42640,56486,74828,99126,131314,173954,230440,305268,404394,53... |
projects/04/Rectangle.asm | mottosso/from-nand-to-tetris-I | 2 | 95263 | <reponame>mottosso/from-nand-to-tetris-I
// Usage: Put a non-negative value in RAM[0]
@SCREEN
D=A
@addr
M=D // addr = 16384
// (screen's base address)
@0
D=M
@n
M=D // n = RAM[0]
@i
M=0 // i = 0
(LOOP)
@i
D=M
@n
D=D-M
@END
D;JGT // if i>n goto END
@addr
A=M
M=-1 // RAM[addr]=111111...
... |
oeis/140/A140682.asm | neoneye/loda-programs | 11 | 163301 | <filename>oeis/140/A140682.asm
; A140682: Triangle T(n,k) = gcd(n,k)-binomial(n,k), 0<=k<=n.
; Submitted by <NAME>
; -1,0,0,1,-1,1,2,-2,-2,2,3,-3,-4,-3,3,4,-4,-9,-9,-4,4,5,-5,-13,-17,-13,-5,5,6,-6,-20,-34,-34,-20,-6,6,7,-7,-26,-55,-66,-55,-26,-7,7,8,-8,-35,-81,-125,-125,-81,-35,-8,8,9,-9,-43,-119,-208,-247,-208,-119,-4... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3602b.ada | best08618/asylo | 7 | 4891 | -- CE3602B.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... |
smsq/q68/driver/most.asm | olifink/smsqe | 0 | 246135 | <reponame>olifink/smsqe
; base area SMSQ Q68 Drivers 0.00 (C) <NAME> 2016
; 2020-03-27 1.01 check whether kbd read via interrutps is possible
section header
xref smsq_end
header_base
dc.l gl_most-header_base ; length of header
dc.l 0 ; module length unknown
dc.l smsq_end-gl_most ; loaded length
dc.l 0 ... |
w8_timeout.adb | M1nified/Ada-Samples | 0 | 28169 | <filename>w8_timeout.adb
select
A.Z;
or
delay 5.0;
Put("Komunikat");
end select; |
Appl/Games/Amateur/amateurClown.asm | steakknife/pcgeos | 504 | 167407 | COMMENT @---------------------------------------------------------------------
Copyright (c) GeoWorks 1991 -- All rights reserved
PROJECT: Amateur Night
MODULE: Clowns
FILE: amateurClown.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descripti... |
programs/oeis/066/A066097.asm | jmorken/loda | 1 | 171427 | <filename>programs/oeis/066/A066097.asm<gh_stars>1-10
; A066097: Duplicate of A035336.
; 2,7,10,15,20,23,28,31,36,41,44,49,54,57,62,65,70,75,78,83,86,91,96,99
mov $6,$0
add $0,3
mov $1,$0
mov $2,$0
add $0,1
mov $3,4
mov $4,$1
lpb $2
lpb $4
trn $4,$3
mov $5,$2
add $5,$3
add $3,1
lpe
lpb $5
mov... |
programs/oeis/074/A074601.asm | neoneye/loda | 22 | 166089 | <filename>programs/oeis/074/A074601.asm
; A074601: a(n) = 2^n + 6^n.
; 2,8,40,224,1312,7808,46720,280064,1679872,10078208,60467200,362799104,2176786432,13060702208,78364180480,470185017344,2821109972992,16926659575808,101559956930560,609359740534784,3656158441111552,21936950642475008,131621703846461440,7897302230619914... |
Working Disassembly/General/Sprites/Bubbles/Anim - Bubbler.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 169825 | dc.w byte_2FC90-Ani_Bubbler
dc.w byte_2FC95-Ani_Bubbler
dc.w byte_2FC9B-Ani_Bubbler
dc.w byte_2FCA2-Ani_Bubbler
dc.w byte_2FCA6-Ani_Bubbler
dc.w byte_2FCA6-Ani_Bubbler
dc.w byte_2FCA8-Ani_Bubbler
dc.w byte_2FCA8-Ani_Bubbler
dc.w byte_2FCAC-Ani_Bubbler
byte_2FC90: dc.b $E, 0, 1, 2, $FC
byte_2F... |
oeis/186/A186681.asm | neoneye/loda-programs | 11 | 6037 | <reponame>neoneye/loda-programs<filename>oeis/186/A186681.asm
; A186681: Total number of n-digit numbers requiring 17 positive biquadrates in their representation as sum of biquadrates.
; Submitted by <NAME>
; 0,3,30,30,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,... |
Sandbox/W.agda | banacorn/numeral | 1 | 8246 | module W where
open import Function using (_∘_)
open import Data.Bool using (Bool; true; false)
open import Data.Product
open import Data.Unit using (⊤; tt)
open import Data.Empty using (⊥; ⊥-elim)
data W (S : Set) (P : S → Set) : Set where
max : (s : S) → (f : P s → W S P) → W S P
-- data ℕ : Set where
-- z... |
sw/modules/dlog/src/32b/f28x/f2806x/dlog4chc.asm | Hao878/Toaero_ESC | 3 | 170303 | ; --COPYRIGHT--,BSD
; Copyright (c) 2012, Texas Instruments Incorporated
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
;
; * Redistributions of source code must retain the above copyr... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_pbutils_gstdiscoverer_h.ads | persan/A-gst | 1 | 8074 | <reponame>persan/A-gst
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstminiobject_h;
with glib;
with System;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcaps_h;
limited with GStreamer.GST_Low_Level... |
alloy4fun_models/trainstlt/models/6/kwNi58SGbu9f9BogJ.als | Kaixi26/org.alloytools.alloy | 0 | 4651 | <filename>alloy4fun_models/trainstlt/models/6/kwNi58SGbu9f9BogJ.als
open main
pred idkwNi58SGbu9f9BogJ_prop7 {
all t : Train | eventually t.pos in Entry
}
pred __repair { idkwNi58SGbu9f9BogJ_prop7 }
check __repair { idkwNi58SGbu9f9BogJ_prop7 <=> prop7o } |
src/nnclassifier.ads | sebsgit/textproc | 0 | 23922 | <reponame>sebsgit/textproc
with Ada.Containers.Vectors; use Ada.Containers;
with NeuralNet;
with DataBatch;
with MathUtils;
package NNClassifier is
pragma Assertion_Policy (Pre => Check,
Post => Check,
Type_Invariant => Check);
package LabelVecPkg is new ... |
source/amf/mof/cmof/amf-internals-tables-cmof_metamodel-properties.adb | svn2github/matreshka | 24 | 15187 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
versions/1.0/parsers/antlr4/WdlLexer.g4 | jdidion/wdl | 0 | 1939 | lexer grammar WdlLexer;
channels { WdlComments, SkipChannel }
// Keywords
VERSION: 'version' -> pushMode(Version);
IMPORT: 'import';
WORKFLOW: 'workflow';
TASK: 'task';
STRUCT: 'struct';
SCATTER: 'scatter';
CALL: 'call';
IF: 'if';
THEN: 'then';
ELSE: 'else';
ALIAS: 'alias';
AS: 'as';
In: 'in';
INPUT: 'input';
OUTPUT:... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_651.asm | ljhsiun2/medusa | 9 | 244238 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1495d, %r15
add $35703, %r12
movups (%r15), %xmm1
vpextrq $0, %xmm1, %rdx
nop
nop
nop
nop
dec %rdi
lea addresses_normal_ht+0x1e85d, %rsi
lea addresses_A_h... |
programs/oeis/013/A013836.asm | neoneye/loda | 22 | 102904 | ; A013836: a(n) = 5^(5*n + 3).
; 125,390625,1220703125,3814697265625,11920928955078125,37252902984619140625,116415321826934814453125,363797880709171295166015625,1136868377216160297393798828125,3552713678800500929355621337890625
mul $0,5
mov $1,5
pow $1,$0
mul $1,125
mov $0,$1
|
programs/oeis/112/A112930.asm | neoneye/loda | 22 | 162242 | <filename>programs/oeis/112/A112930.asm<gh_stars>10-100
; A112930: a(n) = order of n-th term of A112926 among squarefree integers.
; 3,4,5,7,9,10,13,14,17,19,21,25,28,30,32,34,38,39,43,46,47,51,53,57,62,63,65,68,69,72,79,82,85,87,93,94,97,101,104,106,110,111,118,119,122,123,131,140,142,143,146,150,151,155,159,163,167,1... |
src/cm_config.asm | spannerisms/lttphack | 6 | 240085 | <gh_stars>1-10
CONFIG_SUBMENU:
%menu_header("CONFIGURATION", 5)
;===================================================================================================
%toggle_onoff("Rerandomize", !config_rerandomize_toggle)
;===============================================================================================... |
src/interface/yaml-events-queue.ads | persan/AdaYaml | 32 | 6545 | <gh_stars>10-100
-- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
private with Ada.Finalization;
package Yaml.Events.Queue is
type Instance is limited new Refcount_Base with private;
type Instance_Access is access all Instance;
type Reference is... |
data/games/mining_obstacles.asm | AtmaBuster/pokeplat-gen2 | 6 | 11060 | MiningObstacleList:
dw .v_1x4
dw .v_2x4
dw .h_4x1
dw .h_4x2
dw .s_2x2
dw .s_3x3
dw .z_2x3_1
dw .z_2x3_2
dw .z_3x2_1
dw .z_3x2_2
dw .t_1
dw .t_2
dw .t_3
dw .t_4
.v_1x4
db 1, 4
db $0a
db $1a
db $1a
db $12
.v_2x4
db 2, 4
db $0b, $0c
db $1b, $1c
db $1b, $1c
db $13, $14
.h_4x1
db 4, 1
db $07, $0... |
extra/ASM 8086/flat386.asm | jfitz/code-stat | 0 | 247339 | <filename>extra/ASM 8086/flat386.asm
; flatmode.asm
;
; This program demonstrates flat real mode, which is simply real mode
; with 4G descriptors for some segments. In this code it's done by
; going into protected mode, setting the FS register to a descriptor
; with 4G limits and then returning to real mode. The ... |
scripts/Route10.asm | AmateurPanda92/pokemon-rby-dx | 9 | 178136 | Route10_Script:
call EnableAutoTextBoxDrawing
ld hl, Route10TrainerHeader0
ld de, Route10_ScriptPointers
ld a, [wRoute10CurScript]
call ExecuteCurMapScriptInTable
ld [wRoute10CurScript], a
ret
Route10_ScriptPointers:
dw CheckFightingMapTrainers
dw DisplayEnemyTrainerTextAndStartBattle
dw EndTrainerBattle
Ro... |
programs/oeis/202/A202195.asm | karttu/loda | 0 | 13438 | <filename>programs/oeis/202/A202195.asm
; A202195: Number of (n+2) X 3 binary arrays avoiding patterns 001 and 101 in rows and columns.
; 108,240,450,756,1176,1728,2430,3300,4356,5616,7098,8820,10800,13056,15606,18468,21660,25200,29106,33396,38088,43200,48750,54756,61236,68208,75690,83700,92256,101376,111078,121380,132... |
src/apsepp-test_node_class-abstract_simu_case.ads | thierr26/ada-apsepp | 0 | 9513 | -- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Apsepp.Test_Node_Class.Case_Stub; use Apsepp.Test_Node_Class.Case_Stub;
package Apsepp.Test_Node_Class.Abstract_Simu_Case is
type Test_Routine_Destiny_Kind is (No_Failure,
Access_Fai... |
ScrollModus/_code/GlobalCode/gameobjects.asm | kosmonautdnb/TheLandsOfZador | 0 | 104117 | GAMEOBJECTCOUNT = SPRITECOUNT
PERSISTENTITEMCOUNT = 1
COLLECTABLESFROM = 0
COLLECTABLESTO = 5
NORMALENEMIESSTARTINDEX = 5
NORMALENEMIESENDINDEX = 9
PLAYERGAMEOBJECT = 9
ENEMYSHOTSFROM = 10
ENEMYSHOTSTO = 12
PLAYERSHOTSFROM = 12
PLAYERSHOTSTO = 13
STATUSBARENERGYGAMEOBJECT = 13
DUSTGAMEOBJECT ... |
programs/oeis/263/A263919.asm | karttu/loda | 0 | 245663 | ; A263919: Triangle read by rows giving successive states of cellular automaton generated by "Rule 163" initiated with a single ON (black) cell.
; 1,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,1,0,1... |
source/RASCAL-UserMessages.adb | bracke/Meaning | 0 | 5953 | <gh_stars>0
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
II-sem/Microprocessor/Assembly Language Programs/loop-1.asm | ASHD27/JMI-MCA | 3 | 246086 | .model small
.stack 100h
.data
str db 'HELLO WORLD$'
.code
main proc
mov ax, @data
mov ds, ax
mov cx, 10
loop1:
lea dx, str
mov ah, 09h
int 21h
mov dl, 10
mov ah, 02h
int 21h
mov dl, 13
mov ah, 02h
int 21h
lo... |
coreboot/src/vendorcode/amd/agesa/f14/Lib/IA32/amdlib32.asm | leetobin/firebrick | 9 | 24895 | ;/**
; * @file
; *
; * Agesa library 32bit
; *
; * Contains AMD AGESA Library
; *
; * @xrefitem bom "File Content Label" "Release Content"
; * @e project: AGESA
; * @e sub-project: Lib
; * @e \$Revision: 17071 $ @e \$Date: 2009-07-30 10:13:11 -0700 (Thu, 30 Jul 2009) $
; */
;************************************... |
chp04/src/main/antlr/CommonLexerRules.g4 | zhhe-me/book-antlr4 | 1 | 857 | <reponame>zhhe-me/book-antlr4
lexer grammar CommonLexerRules ;
ID : [a-zA-Z_]+ ; // match identifiers
INT : [0-9]+ ; // match integers
NEWLINE:'\r'? '\n' ; // return newlines to parser (is end-statement signal)
WS : [ \t]+ -> skip ; // toss out whitespace |
Cubical/Structures/Group/MorphismProperties.agda | RobertHarper/cubical | 0 | 2459 | <gh_stars>0
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Group.MorphismProperties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.HalfAdjoint
open import Cubical.Foundat... |
Monads.agda | jmchapman/Relative-Monads | 21 | 1970 | module Monads where
open import Library
open import Categories
record Monad {a}{b}(C : Cat {a}{b}) : Set (a ⊔ b) where
constructor monad
open Cat C
field T : Obj → Obj
η : ∀ {X} → Hom X (T X)
bind : ∀{X Y} → Hom X (T Y) → Hom (T X) (T Y)
law1 : ∀{X} → bind (η {X}) ≅ iden {T X}
... |
tests/src/testsuite-encode-basic_tests.ads | Fabien-Chouteau/COBS | 0 | 10609 | <gh_stars>0
private
package Testsuite.Encode.Basic_Tests is
procedure Add_Tests (Suite : in out AUnit.Test_Suites.Test_Suite'Class);
end Testsuite.Encode.Basic_Tests;
|
oeis/120/A120882.asm | neoneye/loda-programs | 11 | 17149 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A120882: a(n) is the number of k's, for 1 <= k <= n, where gcd(k,floor(n/k)) = 1.
; Submitted by <NAME>
; 1,2,3,3,4,6,7,6,6,8,9,10,11,13,14,12,13,14,15,15,17,19,20,19,19,21,20,20,21,27,28,25,26,28,29,28,29,31,33,31,32,36,37,37,36,38,39,37,37,38,39,39,40,40,42,41,43,45,4... |
Import FB BG.applescript | AlexanderGalen/applescripts | 3 | 2454 | <reponame>AlexanderGalen/applescripts
tell application "Keyboard Maestro Engine"
set tempvar to make new variable with properties {name:"Job Number"}
set currentJob to value of tempvar
set tempvar to make variable with properties {name:"Previous Job Number"}
set OldJN to value of tempvar
end tell
tell application ... |
models/hol/sygus/let_benchmarks/logcount.als | johnwickerson/alloystar | 2 | 2806 | <filename>models/hol/sygus/let_benchmarks/logcount.als<gh_stars>1-10
module logcount
open util/integer as b
/**
* https://github.com/rishabhs/sygus-comp14/blob/master/benchmarks/let-benchmarks/logcount.sl
*/
--------------------------------------------------------------------------------
-- AST Nodes
-------------... |
snapshot/Ada/model-spec.ada | daemonl/openapi-codegen | 0 | 7572 | -- 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.
--
-- OpenAPI spec vers... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/integer_value.ads | best08618/asylo | 7 | 934 | -- { dg-do compile }
package Integer_Value is
X : constant Integer :=
Integer'Integer_Value (12.8); -- { dg-error "fixed-point type" "" }
end Integer_Value;
|
spectranet/libspectranet/setpageb.asm | speccytools/spectranet-gdbserver | 40 | 11038 | ; void setpageb(unsigned char page);
PUBLIC setpageb
EXTERN libspectranet
include "spectranet.asm"
.setpageb
ld a, l
call SETPAGEB_ROM
ret
|
data/pokemon/base_stats/swalot.asm | AtmaBuster/pokeplat-gen2 | 6 | 96247 | db 0 ; species ID placeholder
db 100, 73, 83, 55, 73, 83
; hp atk def spd sat sdf
db POISON, POISON ; type
db 75 ; catch rate
db 168 ; base exp
db NO_ITEM, BIG_PEARL ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/swalot/front.dimensions"
db GROWTH_FLUCTUAT... |
Data/Tuple/Equiv.agda | Lolirofle/stuff-in-agda | 6 | 2254 | module Data.Tuple.Equiv where
import Lvl
open import Data.Tuple as Tuple using (_⨯_ ; _,_)
open import Structure.Function
open import Structure.Operator
open import Structure.Setoid
open import Type
private variable ℓ ℓₑ ℓₑ₁ ℓₑ₂ : Lvl.Level
private variable A B : Type{ℓ}
record Extensionality ⦃ equiv-A : Equiv{... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_7884_775.asm | ljhsiun2/medusa | 9 | 100802 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1aaf9, %rsi
lea addresses_normal_ht+0xa965, %rdi
nop
nop
nop
nop
nop
xor %r9, %r9
mov $60, %rcx
rep movsw
nop
nop
nop
and $9616, %rdx
lea addresses_UC_ht+0x15b65, %rbx
c... |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48.log_21829_565.asm | ljhsiun2/medusa | 9 | 87138 | <filename>Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48.log_21829_565.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1bccb, %rsi
lea addresses_D_ht+0x15b3f, %rdi
nop
nop
nop
nop
cmp %r8, %r8
mov $65, %rcx
rep mo... |
orka/src/orka/interface/orka-cameras-rotate_around_cameras.ads | onox/orka | 52 | 6518 | <reponame>onox/orka<gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 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
--
-- http://w... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_12_709.asm | ljhsiun2/medusa | 9 | 105514 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xabc3, %rsi
lea addresses_WT_ht+0x15da1, %rdi
nop
nop
nop
nop
nop
add $25845, %r12
mov $22, %rcx
rep movsw
nop
nop
nop
nop
xor $18556, %r8
lea addresses_D_... |
programs/oeis/048/A048027.asm | neoneye/loda | 22 | 18994 | <gh_stars>10-100
; A048027: Number of nonempty subsets of {1,2,...,n} in which exactly 1/2 of the elements are <= (n-3)/3.
; 0,0,0,0,0,5,6,7,35,44,54,219,285,363,1364,1819,2379,8567,11627,15503,54263,74612,100946,346103,480699,657799,2220074,3108104,4292144,14307149,20160074,28048799,92561039,131128139,183579395
mov $... |
src/sdl-inputs-mice.ads | alire-project/sdlada | 0 | 30712 | <reponame>alire-project/sdlada
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2018 <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for an... |
clafer/src/Language/Clafer/Generator/stateTrace.als | benjaminselfridge/clafer | 26 | 3766 | /* Definition of timed traces (input independent) */
sig State {}
private one sig Ord {
First: set State,
Next: State -> State
} {
pred/totalOrder[State,First,Next]
}
lone sig back in State {}
fun loop : State -> State {
last -> back
}
fun first: one State { Ord.First }
fun last: one State { State - ((... |
Source/HBIOS/bqrtc.asm | vipoo/RomWBW | 1 | 22719 |
;==================================================================================================
; Benchmark BQ4845P RTC Driver
;==================================================================================================
; Register Addresses (HEX / BCD):
; +---+-----+--------------+-------------... |
archive/a/ada/hello-world.adb | Ayush7-BIT/sample-programs | 422 | 13880 | <gh_stars>100-1000
with Text_IO;
procedure Hello_World is
begin
Text_IO.Put_Line("Hello, World!");
end Hello_World;
|
Cubical/Homotopy/BlakersMassey.agda | ecavallo/cubical | 0 | 12456 | <reponame>ecavallo/cubical<gh_stars>0
{-
A Cubical proof of Blakers-Massey Theorem (KANG Rongji, Oct. 2021)
Based on the previous type-theoretic proof described in
Kuen-Bang Hou (Favonia), <NAME>, <NAME>, <NAME>,
"A Mechanization of the Blakers–Massey Connectivity Theorem in Homotopy Type Theory"
(https://arxiv... |
vera.asm | yignoth/x16-pminer | 2 | 13109 | ;
; VERA Library
;
bpoke: .macro
lda #\1
sta \2
.endm
wpoke: .macro
lda #<\1
sta \2
lda #>\1
sta \2 + 1
.endm
lpoke: .macro
lda #<\1
sta \2
lda #>\1
sta \2 + 1
lda #`\1
sta \2 + 2
.endm
vaddr: .macro ; increment, 20bit addr
lda #<(\2)
sta Vera.IO_VERA.addrL
lda #>(\2)
sta Vera.IO_VERA.... |
src/atmosphere_types-objects.adb | onox/orka-demo | 3 | 25091 | with Ada.Numerics.Generic_Elementary_Functions;
with Ada.Text_IO;
with GL.Types;
with Orka.Transforms.Doubles.Matrices;
with Orka.Transforms.Doubles.Quaternions;
with Planets.Earth;
package body Atmosphere_Types.Objects is
use type GL.Types.Double;
Gravity_Earth : constant := 9.81;
-- TODO Gravity should... |
programs/oeis/116/A116138.asm | neoneye/loda | 22 | 166899 | <filename>programs/oeis/116/A116138.asm
; A116138: a(n) = 3^n * n*(n + 1).
; 0,6,54,324,1620,7290,30618,122472,472392,1771470,6495390,23383404,82904796,290166786,1004423490,3443737680,11708708112,39516889878,132497807238,441659357460,1464449448420,4832683179786,15878816162154,51967034712504,169457721888600,550737596137... |
library/fmGUI_Database/fmGUI_fullAccessToggle.applescript | NYHTC/applescript-fm-helper | 1 | 3347 | <filename>library/fmGUI_Database/fmGUI_fullAccessToggle.applescript
-- fmGUI_fullAccessToggle({ensureMode:null, script_enterFullAccess: null, script_leaveFullAccess: null, scriptFolderName:null, fullAccessAccountName:null, fullAccessPassword:null, userAccountName:null, userPassword:null})
-- toggles ( or ensures ) the ... |
programs/oeis/122/A122264.asm | jmorken/loda | 1 | 178250 | ; A122264: 2 X 2 vector matrix Markov of a Prime gap affine type.
; 2,7,12,25,30,43,48,61,82,87,108,121,126,139,160,181,186,207,220,225,246,259,280,309,322,327,340,345,358,411,424,445,450,487,492,513,534,547,568,589,594,631,636,649,654,699,744,757,762,775
mov $2,2
mov $3,$0
add $0,2
mul $2,$0
cal $0,77017 ; a(1) = 2, ... |
src/rejuvenation-factory.adb | TNO/Rejuvenation-Ada | 1 | 5720 | with GNATCOLL.Projects; use GNATCOLL.Projects;
with GNATCOLL.VFS; use GNATCOLL.VFS;
with Libadalang.Project_Provider; use Libadalang.Project_Provider;
package body Rejuvenation.Factory is
-- Project methods --------
function Create_Context return Project_Context is
(Context => Cre... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.