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/main/antlr4/MySQLParser.g4 | stream-iori/antlr4-mysql | 0 | 5659 | parser grammar MySQLParser;
options { tokenVocab = MySQLLexer; }
// expression statement ------- http://dev.mysql.com/doc/refman/5.6/en/expressions.html -------------
expression: exp_factor1 ( OR_SYM exp_factor1 )* ;
exp_factor1: exp_factor2 ( XOR exp_factor2 )* ;
exp_factor2: exp_factor3 ( AND_SYM exp_factor3 )* ;... |
Packaging/DS_Store.scpt | ValentinCamus/SparkEngine | 0 | 197 | <reponame>ValentinCamus/SparkEngine
on run argv
-- Constants
set X_POS to 400
set Y_POS to 100
set BG_W to 650
set BG_H to 400
set TITLE_BAR_H to 15
set diskImage to item 1 of argv
tell application "Finder"
tell disk diskImage
-- Setup background and icon arrangement
open
set current view of contai... |
source/jni/u2/visu/adata.asm | Falken42/SecondReality | 9 | 176257 | <filename>source/jni/u2/visu/adata.asm
;/****************************************************************************
;** MODULE: adata.asm
;** AUTHOR: <NAME> / Fennosoftec OY
;** DOCUMENT: ?
;** VERSION: 1.0
;** REFERENCE: -
;** REVISED BY: -
;********************************************************************... |
agda/book/2015-Verified_Functional_programming_in_Agda-Stump/ial/z05-00-internal-verification.agda | haroldcarr/learn-haskell-coq-ml-etc | 36 | 16234 | <filename>agda/book/2015-Verified_Functional_programming_in_Agda-Stump/ial/z05-00-internal-verification.agda
module z05-00-internal-verification where
open import bool
open import eq
open import nat
open import nat-thms
open import product
open import sum
{-
-----------------------------------------------------------... |
Source/Levels/L0315.asm | AbePralle/FGB | 0 | 4804 | <gh_stars>0
; L0315.asm
; Generated 07.30.2000 by mlevel
; Modified 07.30.2000 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level0315Section",ROMX
;---------------------------------------------------------------------
... |
model-sets/2021-05-06-10-28-11-watform/ctlfc.als | WatForm/catalyst | 0 | 3905 | <filename>model-sets/2021-05-06-10-28-11-watform/ctlfc.als
/*
* Copyright (c) 2017, <NAME>, <NAME>, <NAME>, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistribut... |
Cubical/Algebra/Group/Subgroup.agda | bijan2005/univalent-foundations | 0 | 15162 | <reponame>bijan2005/univalent-foundations<gh_stars>0
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.Group.Subgroup where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Data.Sigma
open import Cubical.Alg... |
.build/ada/asis.ads | faelys/gela-asis | 4 | 16426 | ------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
pkgs/tools/yasm/src/libyasm/tests/opt-circular2-err.asm | manggoguy/parsec-modified | 2,151 | 4542 | <filename>pkgs/tools/yasm/src/libyasm/tests/opt-circular2-err.asm
times (label-$+1) db 0
label: db 'NOW where am I?'
|
src/gnat/fname.ads | My-Colaborations/dynamo | 15 | 1381 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver1/sfc/ys_w48.asm | prismotizm/gigaleak | 0 | 245049 | <reponame>prismotizm/gigaleak
Name: ys_w48.asm
Type: file
Size: 26780
Last-Modified: '2016-05-13T04:51:15Z'
SHA-1: 35D6FA96CBE4A48AEB8640FEA97AE91568735771
Description: null
|
Agda/Copattern.agda | Brethland/LEARNING-STUFF | 2 | 2305 | <gh_stars>1-10
{-# OPTIONS --copattern --safe --no-sized-types --guardedness #-}
module Copattern where
open import Data.Nat
open import Relation.Binary.PropositionalEquality
record Stream (A : Set) : Set where
coinductive
field
head : A
tail : Stream A
open Stream public
-- | Bisimulation as equality
re... |
tools/spt-generator/src/com/ibm/ai4code/parser/c_multi/C11_lexer_common.g4 | yingkitw/Project_CodeNet | 1,156 | 5684 | /*
[The "BSD licence"]
Copyright (c) 2013 <NAME>
All rights reserved.
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 code must retain the above copyright
notice, this list of conditio... |
3-mid/opengl/source/lean/renderer/opengl-impostorer.adb | charlie5/lace | 20 | 24183 | with
openGL.Camera,
openGL.Impostor.simple,
openGL.Impostor.terrain,
ada.Containers.generic_Array_sort,
ada.unchecked_Deallocation;
package body openGL.Impostorer
is
---------
--- Forge
--
procedure define (Self : in out Item)
is
begin
Self.impostor_size_Min.Value_is ... |
oeis/117/A117968.asm | neoneye/loda-programs | 11 | 23112 | <filename>oeis/117/A117968.asm<gh_stars>10-100
; A117968: Negative part of inverse of A117966; write -n in balanced ternary and then replace (-1)'s with 2's.
; Submitted by <NAME>
; 2,7,6,8,22,21,23,19,18,20,25,24,26,67,66,68,64,63,65,70,69,71,58,57,59,55,54,56,61,60,62,76,75,77,73,72,74,79,78,80,202,201,203,199,198,20... |
programs/oeis/010/A010914.asm | jmorken/loda | 1 | 89293 | <filename>programs/oeis/010/A010914.asm
; A010914: Pisot sequence E(5,17), a(n) = floor(a(n-1)^2 / a(n-2) + 1/2).
; 5,17,58,198,676,2308,7880,26904,91856,313616,1070752,3655776,12481600,42614848,145496192,496755072,1696027904,5790601472,19770350080,67500197376,230460089344,786839962624,2686439671808,9172078761984,31315... |
alloy4fun_models/trashltl/models/4/YxR5GzJfGKbg8Jee2.als | Kaixi26/org.alloytools.alloy | 0 | 220 | <filename>alloy4fun_models/trashltl/models/4/YxR5GzJfGKbg8Jee2.als
open main
pred idYxR5GzJfGKbg8Jee2_prop5 {
some f : File | eventually f not in File
}
pred __repair { idYxR5GzJfGKbg8Jee2_prop5 }
check __repair { idYxR5GzJfGKbg8Jee2_prop5 <=> prop5o } |
src/Categories/Functor/Power.agda | MirceaS/agda-categories | 0 | 2725 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
-- Power Functors, Exponentials over a Category C
-- Mainly categories where the objects are functions (Fin n -> Obj) considered pointwise
-- and then upgraded to Functors.
module Categories.Functor.Power {o ℓ e} (C : Category o ℓ e) where
open Ca... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_9_1809.asm | ljhsiun2/medusa | 9 | 178776 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xa881, %rsi
lea addresses_WC_ht+0xe0c1, %rdi
nop
nop
xor %r12, %r12
mov $51, %rcx
rep movsl
nop
nop
dec %rdx
lea addresses_UC_ht+0x10ac1, %rsi
lea addresses_UC_ht+0xae41,... |
src/crew-inventory.ads | thindil/steamsky | 80 | 13909 | -- Copyright 2017-2021 <NAME>
--
-- This file is part of Steam Sky.
--
-- Steam Sky is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) a... |
lab02/ex02/SuffixCalculator.g4 | BlasphemyCoder/Compilers | 3 | 1092 | /*
* grammar to identify and compute the result of mathematical expressions in Reverse Polish Notation
*/
grammar SuffixCalculator;
program: stat* EOF;
/*
* code to identify a new entry each new entry can either be an expression or an empty line if it is
* an expression, its result is presented
*/
stat:
expr NE... |
programs/oeis/027/A027943.asm | karttu/loda | 1 | 102307 | ; A027943: a(n) = T(2*n+1, n+3), T given by A027935.
; 1,22,155,709,2587,8273,24416,68595,187030,500950,1327986,3499982,9195035,24115804,63192397,165512723,433410661,1134800215,2971089810,7778591025,20364830496,53316076892,139583609940,365435000524,956721681957,2504730383698,6557469861231,17167679651985,44945569613215,... |
programs/oeis/064/A064806.asm | neoneye/loda | 22 | 15690 | ; A064806: a(n) = n + digital root of n.
; 2,4,6,8,10,12,14,16,18,11,13,15,17,19,21,23,25,27,20,22,24,26,28,30,32,34,36,29,31,33,35,37,39,41,43,45,38,40,42,44,46,48,50,52,54,47,49,51,53,55,57,59,61,63,56,58,60,62,64,66,68,70,72,65,67,69,71,73,75,77,79,81,74,76,78,80,82,84,86,88,90,83,85,87,89,91,93,95,97,99,92,94,96,98... |
source/zcx/s-unbase.adb | ytomino/drake | 33 | 9171 | <filename>source/zcx/s-unbase.adb
-- for ZCX
pragma Check_Policy (Trace => Ignore);
with C.unwind;
separate (System.Unwind.Backtrace)
package body Separated is
pragma Suppress (All_Checks);
type Data is record
Item : not null access Tracebacks_Array;
Last : Natural;
Exclude_Min : Address;
... |
fiat-amd64/33.71_ratio16752_seed267833281830466_square_poly1305.asm | dderjoel/fiat-crypto | 491 | 162048 | <reponame>dderjoel/fiat-crypto
SECTION .text
GLOBAL square_poly1305
square_poly1305:
sub rsp, 0x30 ; last 0x30 (6) for Caller - save regs
mov [ rsp + 0x0 ], rbx; saving to stack
mov [ rsp + 0x8 ], rbp; saving to stack
mov [ rsp + 0x10 ], r12; saving to stack
mov [ rsp + 0x18 ], r13; saving to stack
mov [ rsp + 0x20 ]... |
oeis/203/A203848.asm | neoneye/loda-programs | 11 | 12470 | ; A203848: a(n) = sigma(n)*Fibonacci(n), where sigma(n) = A000203(n), the sum of divisors of n.
; Submitted by <NAME>
; 1,3,8,21,30,96,104,315,442,990,1068,4032,3262,9048,14640,30597,28746,100776,83620,284130,350272,637596,687768,2782080,2325775,5098506,7856720,17797416,15426870,59906880,43080608,137233467,169179744,30... |
vrml.g4 | ingowald/antlr-vrml | 0 | 1182 | <reponame>ingowald/antlr-vrml<gh_stars>0
grammar vrml;
world: header ( node ) * EOF ;
header
: '#VRML' 'V2.0' 'utf8' ( 'CosmoWorlds' 'V1.0' )?
;
node
: ( worldInfoNode
| navigationInfoNode
| transformNode
| viewPointNode
| pointLightNode
| groupNode
| shapeNode
| collisionNod... |
src/day-19/adventofcode-day_19.ads | persan/advent-of-code-2020 | 0 | 22634 | <reponame>persan/advent-of-code-2020
package Adventofcode.Day_19 is
end Adventofcode.Day_19;
|
h2o.asm | jhsie007/xv6 | 0 | 164615 |
_h2o: file format elf32-i386
Disassembly of section .text:
00001000 <init_qs>:
void init_qs(struct queues *);
void add_qs(struct queues *, int);
int empty_qs(struct queues *);
int pop_qs(struct queues *);
void init_qs(struct queues *q){
1000: 55 push %ebp
1001: 89 e5 ... |
universal-poset/universal-poset.als | cdstanford/curiosities | 1 | 108 | <filename>universal-poset/universal-poset.als
/*
What is the smallest poset containing all posets of size n?
This code uses the Alloy language (https://alloytools.org/) to get the
answer by encoding the problem as a SAT instance.
Spoiler: the encoding is expensive, and only tractable for n <= 4.
I... |
src/framework/sintable.asm | Scorpion-Illuminati/ControllerTest | 1 | 81836 | <gh_stars>1-10
;==============================================================
; BIG EVIL CORPORATION .co.uk
;==============================================================
; SEGA Genesis Framework (c) <NAME> 2014
;==============================================================
; sintable.asm - Sine wave
;========... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_5_104.asm | ljhsiun2/medusa | 9 | 100359 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %rbp
push %rsi
lea addresses_A_ht+0x18888, %r14
nop
nop
xor $58524, %rsi
and $0xffffffffffffffc0, %r14
movntdqa (%r14), %xmm4
vpextrq $0, %xmm4, %rbp
cmp %r8, %r8
pop %rsi
pop %rbp
pop %r8
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r... |
test/Fail/NoEtaPatterns.agda | hborum/agda | 3 | 1871 | <reponame>hborum/agda
record _×_ (A B : Set) : Set where
no-eta-equality
constructor _,_
field
fst : A
snd : B
open _×_
swap : ∀ {A B} → A × B → B × A
swap (x , y) = y , x
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
-- This should fail since we don't have eta for _×_.
fails : ∀ {A B} (p... |
archive/agda-3/src/Oscar/Property/Setoid/Proposequality.agda | m0davis/oscar | 0 | 11756 | <filename>archive/agda-3/src/Oscar/Property/Setoid/Proposequality.agda
open import Oscar.Prelude
open import Oscar.Class
open import Oscar.Class.Reflexivity
open import Oscar.Class.Symmetry
open import Oscar.Class.Transitivity
open import Oscar.Class.IsEquivalence
open import Oscar.Class.Setoid
open import Oscar.Data.... |
programs/oeis/092/A092283.asm | neoneye/loda | 22 | 174333 | ; A092283: Triangular array read by rows: T(n,k)=n+k^2, 1<=k<=n.
; 2,3,6,4,7,12,5,8,13,20,6,9,14,21,30,7,10,15,22,31,42,8,11,16,23,32,43,56,9,12,17,24,33,44,57,72,10,13,18,25,34,45,58,73,90,11,14,19,26,35,46,59,74,91,110,12,15,20,27,36,47,60,75,92,111,132,13,16,21,28,37,48,61,76,93,112,133,156,14,17,22,29,38,49,62,77,9... |
00 Import all to library.applescript | bsmith96/Qlab-Scripts | 1 | 1993 | <reponame>bsmith96/Qlab-Scripts<filename>00 Import all to library.applescript
-- @description Import all script to user library
-- @author <NAME>
-- @link bensmithsound.uk
-- @version 2.1
-- @testedmacos 10.14.6
-- @testedqlab 4.6.10
-- @about Run this script in MacOS's "Script Editor" to import all scripts in a folder... |
oeis/017/A017508.asm | neoneye/loda-programs | 11 | 87527 | ; A017508: a(n) = (11*n + 9)^12.
; 282429536481,4096000000000000,787662783788549761,30129469486639681536,491258904256726154641,4722366482869645213696,31676352024078369140625,163674647745587512938496,693842360995438000295041,2518170116818978404827136,8064241715186276625588961,23298085122481000000000000,61748917974902741... |
assemblyCode/test_basedIndexAddress.asm | lschiavini/Hypothetical-Assembler-Loader | 0 | 168569 |
global _start
section .data
ROWS EQU 10
COLS EQU 10
array1 db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
db 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_6_1019.asm | ljhsiun2/medusa | 9 | 241293 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_6_1019.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_A+0x1e7b5, %rsi
clflush (%rsi)
dec %r10
mo... |
oeis/142/A142852.asm | neoneye/loda-programs | 11 | 94392 | <filename>oeis/142/A142852.asm
; A142852: Primes congruent to 54 mod 61.
; Submitted by <NAME>
; 359,1091,1213,1579,1823,2311,2677,4019,4507,4751,5483,5849,6337,6581,6703,6947,7069,8167,9631,10607,10729,10973,11827,12071,12437,13291,13901,14389,14633,15121,15731,16097,16829,17317,17683,18049,19391,20123,20611,21221,215... |
bb-runtimes/src/s-bbbosu__erc32.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 27798 | <reponame>JCGobbi/Nucleo-STM32G474RE<filename>bb-runtimes/src/s-bbbosu__erc32.adb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS ... |
inmemantlr-api/src/test/resources/inmemantlr/LexerGrammar.g4 | dafei1288/inmemantlr | 0 | 5490 | lexer grammar LexerGrammar;
RULE : [a-z] DIGIT;
DIGIT: [0-9]+;
WS: [ \t\r\n\u000C]+ -> skip
;
|
libsrc/graphics/g800/xorpixel.asm | rdacomp/z88dk | 0 | 177580 | <reponame>rdacomp/z88dk
SECTION code_clib
PUBLIC xorpixel
EXTERN sety
EXTERN setx
EXTERN getpat
EXTERN last_pos
; in: hl=(x,y)
xorpixel:
push af
push bc
push hl
ld (last_pos),hl
call sety
call getpat
call setx
in a,(0x41) ;read data... |
oeis/071/A071178.asm | neoneye/loda-programs | 11 | 101892 | <gh_stars>10-100
; A071178: Exponent of the largest prime factor of n.
; Submitted by <NAME>
; 0,1,1,2,1,1,1,3,2,1,1,1,1,1,1,4,1,2,1,1,1,1,1,1,2,1,3,1,1,1,1,5,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,2,2,1,1,1,3,1,1,1,1,1,1,1,1,1,6,1,1,1,1,1,1,1,2,1,1,2,1,1,1,1,1,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2
add $0,1
pow $0,6
lpb $0... |
libsrc/_DEVELOPMENT/font/font_4x8/_font_4x8_64_omni2.asm | jpoikela/z88dk | 640 | 101653 | <gh_stars>100-1000
;
; Font extracted from 64-4.tap
;
; Tap file downloaded from: http://mdfs.net/Software/Spectrum/Coding/Printout/
SECTION rodata_font
SECTION rodata_font_4x8
PUBLIC _font_4x8_64_omni2
PUBLIC _font_4x8_64_omni2_end
_font_4x8_64_omni2:
BINARY "font_4x8_64_omni2.bin"
_font_4x8_64_omni2_end:
|
test/Fail/Issue719.agda | redfish64/autonomic-agda | 3 | 9978 | <gh_stars>1-10
module Issue719 where
import Common.Size as A
module M where
private open module A = M
-- NOT NICE:
-- Duplicate definition of module A. Previous definition of module A
-- at /Users/abel/cover/alfa/Agda2-clean/test/Common/Size.agda:7,15-19
-- when scope checking the declaration
-- open module ... |
src/gnat/prj-strt.ads | My-Colaborations/dynamo | 15 | 15438 | <reponame>My-Colaborations/dynamo
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
programs/oeis/001/A001014.asm | neoneye/loda | 22 | 93726 | <gh_stars>10-100
; A001014: Sixth powers: a(n) = n^6.
; 0,1,64,729,4096,15625,46656,117649,262144,531441,1000000,1771561,2985984,4826809,7529536,11390625,16777216,24137569,34012224,47045881,64000000,85766121,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729000000,887503681,1073741824,1... |
alloy4fun_models/trashltl/models/7/eEwbFYSWiAwiSXMoz.als | Kaixi26/org.alloytools.alloy | 0 | 1062 | <filename>alloy4fun_models/trashltl/models/7/eEwbFYSWiAwiSXMoz.als
open main
pred ideEwbFYSWiAwiSXMoz_prop8 {
eventually File.link in Trash
}
pred __repair { ideEwbFYSWiAwiSXMoz_prop8 }
check __repair { ideEwbFYSWiAwiSXMoz_prop8 <=> prop8o } |
libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_fdim.asm | jpoikela/z88dk | 640 | 92729 |
; double fdim(double x, double y)
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sccz80_fdim
EXTERN am48_fdim, cm48_sccz80p_dread2
cm48_sccz80_fdim:
call cm48_sccz80p_dread2
; AC = x
; AC'= y
exx
jp am48_fdim
|
libsrc/rs232/cpc/sti/rs232_get.asm | grancier/z180 | 0 | 245745 | <filename>libsrc/rs232/cpc/sti/rs232_get.asm
;
; z88dk RS232 Function
;
; Amstrad CPC (STI) version
;
; unsigned char rs232_get(char *)
;
; $Id: rs232_get.asm,v 1.4 2016/06/23 20:15:37 dom Exp $
; fastcall so implicit push
SECTION code_clib
PUBLIC rs232_get
... |
oeis/067/A067046.asm | neoneye/loda-programs | 11 | 91955 | ; A067046: a(n) = lcm(n, n+1, n+2)/6.
; 1,2,10,10,35,28,84,60,165,110,286,182,455,280,680,408,969,570,1330,770,1771,1012,2300,1300,2925,1638,3654,2030,4495,2480,5456,2992,6545,3570,7770,4218,9139,4940,10660,5740,12341,6622,14190,7590,16215,8648,18424,9800,20825,11050,23426,12402,26235,13860,29260,15428,32509,17110,3599... |
Task/Benfords-law/Ada/benfords-law-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 19958 | -- N_IO.Get(Counter);
|
test/interaction/InferIrrelevant.agda | asr/agda-kanso | 1 | 8587 | <reponame>asr/agda-kanso<filename>test/interaction/InferIrrelevant.agda
-- Andreas, 2011-10-04
-- I'd like to infer the type of a even though it is irrelevant
-- E.g. when pressing C-c C-.
module InferIrrelevant where
f : (A : Set)(g : .A → A).(a : A) → A
f A g a = {!a!} |
oeis/193/A193421.asm | neoneye/loda-programs | 11 | 246662 | <filename>oeis/193/A193421.asm
; A193421: E.g.f.: Sum_{n>=0} x^n * exp(n^2*x).
; Submitted by <NAME>
; 1,1,4,33,436,8185,206046,6622945,263313688,12627149265,716160702970,47284266221401,3587061106583604,309251317536586633,30017652739792964806,3254137305364883664945,391238883136463492841136,51846176797206158144925985
m... |
programs/oeis/173/A173691.asm | jmorken/loda | 1 | 175566 | <reponame>jmorken/loda
; A173691: Partial sums of round(n^2/6).
; 0,0,1,3,6,10,16,24,35,49,66,86,110,138,171,209,252,300,354,414,481,555,636,724,820,924,1037,1159,1290,1430,1580,1740,1911,2093,2286,2490,2706,2934,3175,3429,3696,3976,4270,4578,4901,5239,5592,5960,6344,6744,7161,7595,8046,8514,9000,9504,10027,10569,11130... |
src/main/fragment/mos6502-common/pbuc1_derefidx_vbuxx=_dec_pbuc1_derefidx_vbuxx.asm | jbrandwood/kickc | 2 | 96076 | <reponame>jbrandwood/kickc
dec {c1},x |
alloy4fun_models/trainstlt/models/7/YEDHYsNR2oypmMmnj.als | Kaixi26/org.alloytools.alloy | 0 | 4752 | open main
pred idYEDHYsNR2oypmMmnj_prop8 {
always ( all t:Train | some t.pos.prox.signal implies (t.pos.prox.signal in Green) releases (t.pos' = t.pos) )
}
pred __repair { idYEDHYsNR2oypmMmnj_prop8 }
check __repair { idYEDHYsNR2oypmMmnj_prop8 <=> prop8o } |
Groups/Polynomials/Examples.agda | Smaug123/agdaproofs | 4 | 471 | <reponame>Smaug123/agdaproofs
{-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Numbers.Integers.Integers
open import Numbers.Integers.Definition
open import Lists.Lists
open import Maybe
module Groups.Polynomials.Examples where
open import Groups.Polynomials.Definition ℤGro... |
grammars/src/main/antlr/Adl14.g4 | SkidderDuck/archie | 1 | 1872 | <filename>grammars/src/main/antlr/Adl14.g4
//
// description: Antlr4 grammar for Archetype Definition Language (ADL2)
// author: <NAME> <<EMAIL>>
// support: openEHR Specifications PR tracker <https://openehr.atlassian.net/projects/SPECPR/issues>
// copyright: Copyright (c) 2015 openEHR Foundation
// li... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/self.adb | best08618/asylo | 7 | 14309 | package body Self is
function G (X : Integer) return Lim is
begin
return R : Lim := (Comp => X, others => <>);
end G;
procedure Change (X : in out Lim; Incr : Integer) is
begin
X.Comp := X.Comp + Incr;
X.Self_Default.Comp := X.Comp + Incr;
X.Self_Anon_Default.Comp := ... |
arch/ARM/cortex_m/src/cm7/cortex_m_svd-cache.ads | rocher/Ada_Drivers_Library | 192 | 5783 | <reponame>rocher/Ada_Drivers_Library<filename>arch/ARM/cortex_m/src/cm7/cortex_m_svd-cache.ads
-- This spec has been automatically generated from cm7.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
-- Cache maintenance operations
package Cortex_M_SV... |
src/palette_streamer.asm | ISSOtm/gb-open-world | 8 | 245635 | <reponame>ISSOtm/gb-open-world
NB_BG_PALETTES equ 128
NB_OBJ_PALETTES equ 128
NB_HW_PALS equ 8
; There currently only 1 small routine, it's not worth moving into ROMX for now
SECTION "Palette streamer routine", ROM0
; Inits a palette streamer struct
; @param hl Pointer to the base of the palette streamer
InitPalet... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_19_1347.asm | ljhsiun2/medusa | 9 | 246471 | <filename>Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_19_1347.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rbx
push %rcx
push %rsi
lea addresses_normal_ht+0x1d0b2, %rcx
cmp $61829, %r14
movw $0x6162, (%rcx)
nop
and %r14, %r14
lea addresses_normal_ht+0xcc32, %rbx
n... |
source/directories/a-creden.ads | ytomino/drake | 33 | 8281 | <reponame>ytomino/drake<filename>source/directories/a-creden.ads<gh_stars>10-100
pragma License (Unrestricted);
-- extended unit
package Ada.Credentials is
-- There is a function to get user information.
pragma Preelaborate;
function User_Name return String;
end Ada.Credentials;
|
src/CategoryTheory/Adjunction.agda | DimaSamoz/temporal-type-systems | 4 | 9727 | <gh_stars>1-10
{- Type class for adjoint functors -}
module CategoryTheory.Adjunction where
open import CategoryTheory.Categories
open import CategoryTheory.Functor
open import CategoryTheory.NatTrans
open import CategoryTheory.Monad
open import CategoryTheory.Comonad
-- Adjunction between two functors
record _⊣_ {n... |
Groups/Polynomials/Group.agda | Smaug123/agdaproofs | 4 | 4874 | <filename>Groups/Polynomials/Group.agda
{-# OPTIONS --safe --warning=error --without-K #-}
open import Groups.Abelian.Definition
open import Groups.Definition
open import Setoids.Setoids
open import Sets.EquivalenceRelations
open import Lists.Lists
module Groups.Polynomials.Group {a b : _} {A : Set a} {S : Setoid {a... |
ada-containers-bounded_synchronized_queues.ads | mgrojo/adalib | 15 | 19626 | <reponame>mgrojo/adalib
-- Standard Ada library specification
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
-- SPDX-License-Identifier: BSD-3-Cla... |
src/fot/FOTC/Base/List.agda | asr/fotc | 11 | 9472 | ------------------------------------------------------------------------------
-- FOTC combinators for lists, colists, streams, etc.
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-univ... |
query/src/main/resources/antlr4/ca/phon/query/pql/PQL.g4 | ghedlund/phon | 3 | 4949 | /*
* A query langauge for Phon projects/sessions
*
*/
parser grammar PQL;
options { tokenVocab=PQLTokens; }
start
: query includes EOF
;
query
: find_query
| select_query
;
find_query
: FIND expr IN select_query
;
select_query
: SELECT tier_list search_by? FROM session_or_record_list (INCLUDE ... |
Source code/sound.asm | madztheo/piano-assembly | 5 | 161310 | name "kernel"
; directive to create bin file
#make_bin#
;where our kernel is located, to help our bootloader to load it properly
#load_segment=0800#
#load_offset=0000#
;We define default values for the registers
#al=0b#
#ah=00#
#bh=00#
#bl=00#
#ch=00#
#cl=02... |
firmware/coreboot/3rdparty/libhwbase/common/hw-pci.ads | fabiojna02/OpenCellular | 1 | 26101 | <filename>firmware/coreboot/3rdparty/libhwbase/common/hw-pci.ads
--
-- Copyright (C) 2017 <NAME> <<EMAIL>>
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3908a.ada | best08618/asylo | 7 | 22821 | <reponame>best08618/asylo
-- CE3908A.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 contai... |
oeis/331/A331419.asm | neoneye/loda-programs | 11 | 178643 | <reponame>neoneye/loda-programs
; A331419: a(n) is the number of subsets of {1..n} that contain 4 odd numbers.
; Submitted by <NAME>
; 0,0,0,0,0,0,8,16,80,160,480,960,2240,4480,8960,17920,32256,64512,107520,215040,337920,675840,1013760,2027520,2928640,5857280,8200192,16400384,22364160,44728320,59637760,119275520,155975... |
programs/oeis/146/A146076.asm | neoneye/loda | 22 | 175596 | <reponame>neoneye/loda<filename>programs/oeis/146/A146076.asm<gh_stars>10-100
; A146076: Sum of even divisors of n.
; 0,2,0,6,0,8,0,14,0,12,0,24,0,16,0,30,0,26,0,36,0,24,0,56,0,28,0,48,0,48,0,62,0,36,0,78,0,40,0,84,0,64,0,72,0,48,0,120,0,62,0,84,0,80,0,112,0,60,0,144,0,64,0,126,0,96,0,108,0,96,0,182,0,76,0,120,0,112,0,... |
source/league/league-character_sets.adb | svn2github/matreshka | 24 | 25362 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
test/Succeed/UncurryMeta.agda | redfish64/autonomic-agda | 3 | 1265 | <filename>test/Succeed/UncurryMeta.agda
-- It would be nice if this worked. The constraint we can't solve is
-- P x y = ? (x, y)
-- Solution: extend the notion of Miller patterns to include record
-- constructions.
--
-- Andreas, 2012-02-27 works now! (see issues 376 and 456)
module UncurryMeta where
data Unit : Set... |
Cubical/Homotopy/Group/S3.agda | lpw25/cubical | 0 | 8805 | <reponame>lpw25/cubical<filename>Cubical/Homotopy/Group/S3.agda
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Homotopy.Group.S3 where
{-
This file contains a summary of what remains for π₄S³≅ℤ/2 to be proved.
See the module π₄S³ at the end of this file.
-}
open import Cubical.Foundations.Prel... |
src/third_party/nasm/travis/test/br3028880.asm | Mr-Sheep/naiveproxy | 2,219 | 172276 | <reponame>Mr-Sheep/naiveproxy<filename>src/third_party/nasm/travis/test/br3028880.asm
;Testname=br3028880; Arguments=-Ox -fbin -obr3028880.o; Files=stdout stderr br3028880.o
%macro import 1
%defstr %%incfile %!PROJECTBASEDIR/%{1}.inc
%defstr %%decfile %!'PROJECTBASEDIR'/%{1}.dec
db %%incfile, `\n`
db %%decfile, `\... |
GO_OEP.tpl.asm | moldabekov/PyloadAdder | 2 | 6191 | <reponame>moldabekov/PyloadAdder
use32
pushad
pushfd
push 0
push 0
push 0
push {{ offset_payload }}
push 0
push 0
call dword [{{ imports["CreateThread"] }}]
popfd
popad
push {{ go }}
ret |
libsrc/_DEVELOPMENT/arch/zx/display/z80/asm_zx_saddrcright.asm | UnivEngineer/z88dk | 4 | 22855 | <filename>libsrc/_DEVELOPMENT/arch/zx/display/z80/asm_zx_saddrcright.asm
; ===============================================================
; Jun 2007
; ===============================================================
;
; void *zx_saddrcright(void *saddr)
;
; Modify screen address to move right one character (eight pixe... |
programs/oeis/070/A070376.asm | neoneye/loda | 22 | 15104 | ; A070376: a(n) = 5^n mod 26.
; 1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21,1,5,25,21
mov $1,1
mov $2,$0
lpb $2
mul $1,5
... |
font_zx.asm | jorgicor/altair | 0 | 83878 | <reponame>jorgicor/altair<gh_stars>0
; ----------------------------------------------------------------------------
; Altair, CIDLESA's 1981 arcade game remade for the ZX Spectrum and
; Amstrad CPC.
; ----------------------------------------------------------------------------
; ---------------------------------------... |
libsrc/_DEVELOPMENT/sound/bit/z80/asm_bit_beepfx/_bfx_12.asm | jpoikela/z88dk | 640 | 7823 |
; BeepFX sound effect by shiru
; http://shiru.untergrund.net
SECTION rodata_clib
SECTION rodata_sound_bit
PUBLIC _bfx_12
_bfx_12:
; Harsh_beep_1
defb 1 ;tone
defw 100,100,1000,0,32896
defb 0
|
3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex-internal-sphere.adb | charlie5/lace | 20 | 30043 | <filename>3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex-internal-sphere.adb
with impact.d3.collision.Proxy;
with impact.d3.Vector;
with impact.d3.Scalar;
package body impact.d3.Shape.convex.internal.sphere
is
function to_sphere_Shape (radius : in math.Real) return Item
is
use impact.d... |
src/test/resources/EQL.g4 | mrmx/ebean | 0 | 4479 | grammar EQL;
select_statement
: select_clause? fetch_clause* where_clause? orderby_clause? limit_clause? EOF
;
select_properties
: '(' fetch_property_group ')'
| fetch_property_group
;
select_clause
: 'select' distinct? select_properties
;
distinct
: 'distinct'
;
fetch_clause
: fetch_... |
examples/keyboard-input.asm | KCreate/stackvm | 45 | 13778 | <filename>examples/keyboard-input.asm
; Instructions:
;
; ./stackvm build keyboard-input.asm -o out.bc
; ./stackvm run out.bc
; ./stackvm monitor machine.memory -s 2
;
; Focus the window opened by the monitor command
; and press some keys on your keyboard. You should now
; see some stuff popping up in the terminal off ... |
courses/fundamentals_of_ada/labs/prompts/160_genericity/data_type.adb | AdaCore/training_material | 15 | 23926 | package body Data_Type is
function "<"
(L, R : Record_T)
return Boolean is
begin
return False;
end "<";
function Image
(Element : Record_T)
return String is
begin
return "";
end Image;
end Data_Type;
|
s3/music-optimized/Continue.asm | Cancer52/flamedriver | 9 | 241923 | <reponame>Cancer52/flamedriver
Snd_Continue_Header:
smpsHeaderStartSong 3
smpsHeaderVoiceUVB
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $43
smpsHeaderDAC Snd_Continue_DAC
smpsHeaderFM Snd_Continue_FM1, $18, $12
smpsHeaderFM Snd_Continue_FM2, $18, $10
smpsHeaderFM Snd_Conti... |
src/firmware-tests/TestDoubles.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 25332 | <reponame>pete-restall/Cluck2Sesame-Prototype
#include "Mcu.inc"
radix decimal
udata
global mockCallCounter
mockCallCounter res 1
TestDoubles code
global initialiseTestDoubles
initialiseTestDoubles:
banksel mockCallCounter
clrf mockCallCounter
return
end
|
lab1/bootloader.asm | wannaphongcom/os-dev | 1 | 243339 | bits 16
jmp bootloader
message db 'Hello World',0
printMessage:
push ax
.loop:
lodsb
or al,al
jz .quitLoop
mov ah,0x0e
int 0x10
jmp .loop
.quitLoop:
pop ax
ret
bootloader:
cli
mov ax,0x07c0
mov ds,ax
mov gs,ax
mov fs,ax... |
software/hal/boards/stm32f429_discovery/stm32-board.adb | TUM-EI-RCS/StratoX | 12 | 25552 | <filename>software/hal/boards/stm32f429_discovery/stm32-board.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- ... |
DRUNKEN.asm | LutzGrosshennig/amiga-drunken-coder-intro | 0 | 166085 | <reponame>LutzGrosshennig/amiga-drunken-coder-intro
INTENA = $9A
DMACON = $96
DMACONR = $02
VHPOSR = $06
BLTCON0 = $40
BLTCON1 = $42
BLTCPTH = $48
BLTBPTH = $4C
BLTAPTH = $50
BLTAPTL = $52
BLTDPTH = $54
BLTCMOD = $60
BLTBMOD ... |
oeis/142/A142832.asm | neoneye/loda-programs | 11 | 164464 | <reponame>neoneye/loda-programs
; A142832: Primes congruent to 34 mod 61.
; Submitted by <NAME>
; 461,827,1193,1559,2657,3023,3389,3511,3877,4243,6073,6317,7537,8147,8269,8513,9001,9733,10099,10343,10709,10831,11197,11807,12539,13759,14369,15101,15467,16931,17053,17419,18517,19249,20347,21323,22543,22787,24007,24251,24... |
oeis/197/A197910.asm | neoneye/loda-programs | 11 | 94243 | ; A197910: Ceiling((n+1/2)^n).
; Submitted by <NAME>(s4)
; 2,7,43,411,5033,75419,1334839,27249053,630249410,16288946268,465239139607,14551915228367,494696673952512,18161513224841276,716102966059713316,30181658957863752410,1354087807629298185930,64430442087414935111822,3240840189607299761533536,1718213872493943495779322... |
experiments/realbugs/student2.als | saiema/ARepair | 5 | 702 | <gh_stars>1-10
sig List {
header: set Node
}
sig Node {
link: set Node,
elem: set Int
}
// Correct
fact CardinalityConstraints {
all l : List | lone l.header
all n : Node | lone n.link
all n : Node | one n.elem
}
// Correct
pred Loop ( This : List ) {
no This.header || one n : This.header... |
grammar/HexaCParser.g4 | tbourvon/HexaC | 0 | 6658 | parser grammar HexaCParser;
options {
tokenVocab = HexaCLexer;
}
// Rules
program
: toplevel_item*
;
toplevel_item
: preproc_dir
| decl
;
preproc_dir
: HASH INCLUDE LT ID DOT ID GT
;
decl
: func_decl
| var_decl
;
func_decl
: type ID OPEN_PAR param_list CLOSE_PAR block
;
type
: type_id... |
Task/Program-termination/Ada/program-termination-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 17585 | procedure Main is
-- Create as many task objects as your program needs
begin
-- whatever logic is required in your Main procedure
if some_condition then
-- for each task created by the Main procedure
The_task.Stop;
-- end the Main procedure
return; -- actually, this is not needed
en... |
Working Disassembly/General/Ending/Map - Sonic and Knuckles Pose Banner.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 4940 | <reponame>TeamASM-Blur/Sonic-3-Blue-Balls-Edition<filename>Working Disassembly/General/Ending/Map - Sonic and Knuckles Pose Banner.asm
Map_60644: dc.w word_60646-Map_60644
word_60646: dc.w 7
dc.b $EC, $D, 0, 0, $FF, $C8
dc.b $EC, $D, 0, 8, $FF, $E8
dc.b $EC, $D, 0, $10, 0, 8
dc.b $FC, $... |
programs/oeis/116/A116729.asm | karttu/loda | 1 | 6163 | ; A116729: Duplicate of A048840.
; 1,2,5,12,22,34,48,64,82,102,124,148,174,202,232,264,298,334,372,412,454,498,544,592,642,694,748,804,862,922
mov $2,$0
mul $0,3
trn $0,7
add $0,1
mov $1,$0
mov $3,$2
mul $3,$2
add $1,$3
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.