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 |
|---|---|---|---|---|
alloy4fun_models/trashltl/models/9/pR4pffvuBhke5mZD6.als | Kaixi26/org.alloytools.alloy | 0 | 2789 | open main
pred idpR4pffvuBhke5mZD6_prop10 {
all p: Protected | always p in Protected
}
pred __repair { idpR4pffvuBhke5mZD6_prop10 }
check __repair { idpR4pffvuBhke5mZD6_prop10 <=> prop10o } |
oeis/289/A289438.asm | neoneye/loda-programs | 11 | 81966 | <reponame>neoneye/loda-programs
; A289438: The arithmetic function v_4(n,4).
; Submitted by <NAME>
; 0,1,0,1,2,2,1,3,2,3,4,3,4,5,3,4,6,5,4,7,6,6,8,6,6,9,8,7,10,8,7,11,8,10,12,9,10,13,9,10,14,11,12,15,12,12,16,14,12,17,12,13,18,15,16,19,14,15,20,15,16,21,15,16,22,17,16,23,20
add $0,1
mov $1,$0
lpb $1
sub $1,1
mul $... |
3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-algorithm-activating-convex_concave.ads | charlie5/lace | 20 | 2198 | <reponame>charlie5/lace<gh_stars>10-100
with impact.d3.collision.Algorithm.activating,
impact.d3.Manifold,
impact.d3.collision.manifold_Result,
impact.d3.Dispatcher,
impact.d3.Object,
impact.d3.collision.create_Func,
impact.d3.collision.Algorithm,
impact.d3.triangle_Callback;
pac... |
tests/src/Safe_Alloc/sa_definite_tests.ads | mhatzl/spark_unbound | 8 | 23511 | <gh_stars>1-10
with AUnit;
with AUnit.Test_Fixtures;
package SA_Definite_Tests is
type Test_Fixture is new AUnit.Test_Fixtures.Test_Fixture with null record;
procedure TestAlloc_WithForcingStorageError_ResultNullReturned(T : in out Test_Fixture);
end SA_Definite_Tests;
|
day_template/src/day.adb | jwarwick/aoc_2020 | 3 | 15476 | -- AoC 2020, Day X
with Ada.Text_IO;
-- with Ada.Containers.Indefinite_Hashed_Maps;
-- with Ada.Containers.Ordered_Sets;
-- with Ada.Strings.Hash;
-- with Ada.Strings.Fixed; use Ada.Strings.Fixed;
-- with GNAT.String_Split;
-- with Ada.Characters.Latin_1;
package body Day is
package TIO renames Ada.Text_IO;
-- pa... |
data/pokemon/base_stats/tangrowth.asm | AtmaBuster/pokeplat-gen2 | 6 | 246031 | <reponame>AtmaBuster/pokeplat-gen2<filename>data/pokemon/base_stats/tangrowth.asm
db 0 ; species ID placeholder
db 100, 100, 125, 50, 110, 50
; hp atk def spd sat sdf
db GRASS, GRASS ; type
db 30 ; catch rate
db 187 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cyc... |
src/main/antlr4/com/kunalanand/ksql/KSQL.g4 | anandkunal/ksql | 0 | 3780 | grammar KSQL;
expr : deleteExpr | selectExpr ;
deleteExpr : DELETE FROM tableName ;
selectExpr : SELECT columnList FROM tableName (WHERE whereExpr)? (SEMICOLON)? ;
columnList : wildcard | columnName ( COMMA columnName )* ;
columnName : ID ( ID )? ;
whereExpr : dynamicComparison | staticComparison ;
dynamicComparison... |
src/Control/Lens.agda | andreasabel/cubical | 0 | 16204 | {-# OPTIONS --allow-unsolved-metas #-}
module Control.Lens where
open import Function using (id; _∘_; const; flip)
open import Relation.Binary.PropositionalEquality
open ≡-Reasoning
open import Axiom.FunctionExtensionality
open import Util.Equality
open import Control.Functor renaming (Comp to _•_)
open import Cont... |
Applications/Google-Chrome/examples/vk.com/pause.applescript | looking-for-a-job/applescript-examples | 1 | 6 | <filename>Applications/Google-Chrome/examples/vk.com/pause.applescript<gh_stars>1-10
#!/usr/bin.osascript
tell application "Google Chrome"
repeat with w in every window
repeat with t in every tab in w
if "vk.com" is in (get URL of t) then
set js to "//Set up jQuery
var scr... |
src/giza-widget-text.adb | Fabien-Chouteau/Giza | 7 | 18906 | ------------------------------------------------------------------------------
-- --
-- Giza --
-- --
-- ... |
raid/Setup/list/Mirror.asm | OS2World/DRV-VRAID | 0 | 21725 | <filename>raid/Setup/list/Mirror.asm
title Mirror.cpp
.386
.387
includelib CPPOM30.LIB
includelib OS2386.LIB
CODE32 segment dword use32 public 'CODE'
CODE32 ends
DATA32 segment dword use32 public 'DATA'
DATA32 ends
CONST32_RO segment dword use32 public 'CONST'
CONST32_RO ends
BSS32 segment dword use32 public 'BSS'... |
source/streams/machine-apple-darwin/s-naiona.adb | ytomino/drake | 33 | 3194 | with Ada.Exception_Identification.From_Here;
with System.Address_To_Named_Access_Conversions;
with System.Zero_Terminated_Strings;
with C.fcntl;
with C.stdlib;
with C.sys.param;
package body System.Native_IO.Names is
use Ada.Exception_Identification.From_Here;
use type C.char_ptr;
use type C.size_t;
functi... |
oeis/042/A042993.asm | neoneye/loda-programs | 11 | 27759 | ; A042993: Primes congruent to {0, 2, 3} mod 5.
; Submitted by <NAME>
; 2,3,5,7,13,17,23,37,43,47,53,67,73,83,97,103,107,113,127,137,157,163,167,173,193,197,223,227,233,257,263,277,283,293,307,313,317,337,347,353,367,373,383,397,433,443,457,463,467,487,503,523,547,557,563,577,587,593,607,613,617,643,647,653,673,677,683... |
src/toggle/toggle-fn.applescript | JinnLynn/alfred-workflows | 76 | 323 | <reponame>JinnLynn/alfred-workflows
-- FROM: http://www.alfredforum.com/topic/1849-toggle-fn-key-behavior/
tell application "System Preferences"
set current pane to pane id "com.apple.preference.keyboard"
tell application "System Events"
tell process "System Preferences"
click checkbox "Use ... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_432_893.asm | ljhsiun2/medusa | 9 | 176363 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x8977, %rbp
clflush (%rbp)
nop
nop
nop
cmp $28153, %r10
movl $0x61626364, (%rbp)
nop
sub %r9, %r9
lea addresses_WT_ht+0x10f17, %rdx
nop
nop
dec %r12
mov $0x6162636465... |
src/main/java/org/shan/grammar/Simple.g4 | Kigamba/Simple-Intellij-Plugin | 12 | 1377 | <reponame>Kigamba/Simple-Intellij-Plugin<filename>src/main/java/org/shan/grammar/Simple.g4<gh_stars>10-100
grammar Simple;
//*************************
//****** Lexer rules ******
//*************************
IDENTIFIER
: [A-Za-z] [A-Za-z0-9]*
;
WHITESPACE
: [ \n] -> skip
;
//**********************... |
src/third_party/nasm/test/br2003451.asm | Mr-Sheep/naiveproxy | 2,219 | 82490 | ;Testname=optimized; Arguments=-Ox -fbin -obr2003451.bin; Files=stdout stderr br2003451.bin
cpu 8086
org 0
; MOV r/m16,imm16
; (imm16 given as number)
mov word [bx], 10h
; MOV r/m16,imm16
; (imm16 given as label)
mov word [bx], label
align 10h
; This label is at address 10h
label:
|
MSDOS/Virus.MSDOS.Unknown.timer.asm | fengjixuchui/Family | 3 | 104928 | PAGE ,132
title \asm_sour\timer.asm HIGH ACCURACY TIMER
subttl <NAME>
.MODEL MEDIUM
name timer
.cref
.lall
;
; High resolution timer, returns a 32 bit high resolution
; value which is the amount of elapsed time since the function
; was last called. The counts are 838.2ns each (1.19318 MHz)
; time_int... |
tools-src/gnu/gcc/gcc/ada/sem_attr.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 16015 | <filename>tools-src/gnu/gcc/gcc/ada/sem_attr.ads<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
grammars/org/antlr/codebuff/Quorum.g4 | antlr/groom | 408 | 7222 | grammar Quorum;
start :
(package_rule reference+
| reference+ package_rule
| package_rule
| reference+
| )
class_declaration EOF
;
package_rule : PACKAGE_NAME name=qualified_name;
reference : USE name=qualified_name ;
class_... |
libsrc/_DEVELOPMENT/math/float/math48/z80/am48_pow.asm | meesokim/z88dk | 0 | 14758 | <filename>libsrc/_DEVELOPMENT/math/float/math48/z80/am48_pow.asm
; double pow(double x, double y)
SECTION code_fp_math48
PUBLIC am48_pow
EXTERN mm48_pwr
; compute (AC')^(AC)
;
; enter : AC' = double x
; AC = double y
;
; exit : success
;
; AC' = x^y
; carry ... |
Experiment/Induction.agda | rei1024/agda-misc | 3 | 15031 | {-# OPTIONS --without-K --safe #-}
-- Quicksort
module Experiment.Induction where
-- agda-stdlib
open import Level
open import Data.List
open import Data.Product
open import Data.Nat as ℕ
open import Data.Nat.Induction as Ind
open import Relation.Binary as B
open import Relation.Unary as U
import Relation.Unary... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/access_constant.ads | best08618/asylo | 7 | 29010 | -- { dg-do compile }
package Access_Constant is
c: aliased constant integer := 3;
type const_ptr is access constant integer;
cp : const_ptr := c'access;
procedure inc (var_ptr: access integer :=
cp) -- { dg-error "access-to-constant" }
is abstract;
end Access_Constant;
|
oeis/027/A027383.asm | neoneye/loda-programs | 11 | 4249 | <filename>oeis/027/A027383.asm
; A027383: Number of balanced strings of length n: let d(S) = #(1's) - #(0's), # == count in S, then S is balanced if every substring T of S has -2 <= d(T) <= 2.
; 1,2,4,6,10,14,22,30,46,62,94,126,190,254,382,510,766,1022,1534,2046,3070,4094,6142,8190,12286,16382,24574,32766,49150,65534,9... |
source/web/soap/web_services-soap-clients.adb | svn2github/matreshka | 24 | 6145 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
programs/oeis/065/A065151.asm | neoneye/loda | 22 | 95697 | <gh_stars>10-100
; A065151: a(n) = prime(1 + A064722(n)).
; 2,2,3,2,3,2,3,5,7,2,3,2,3,5,7,2,3,2,3,5,7,2,3,5,7,11,13,2,3,2,3,5,7,11,13,2,3,5,7,2,3,2,3,5,7,2,3,5,7,11,13,2,3,5,7,11,13,2,3,2,3,5,7,11,13,2,3,5,7,2,3,2,3,5,7,11,13,2,3,5,7,2,3,5,7,11,13,2,3,5,7,11,13,17,19,2,3,5,7,2
seq $0,49711 ; a(n) = n - prevprime(n).
s... |
src/fot/FOTC/Data/Conat/PropertiesATP.agda | asr/fotc | 11 | 13217 | <reponame>asr/fotc
------------------------------------------------------------------------------
-- Conat properties
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphi... |
06/full_auto_tests/tests/Rect.asm | yairfine/nand-to-tetris | 1 | 168662 | <reponame>yairfine/nand-to-tetris<gh_stars>1-10
// This file is part of the materials accompanying the book
// "The Elements of Computing Systems" by <NAME>,
// MIT Press 2004. Book site: http://www.idc.ac.il/tecs
// File name: projects/06/rect/Rect.asm. Version: beta 1.4.
// Draws a rectangle at the top left corne... |
data/wildPokemon/safarizone2.asm | AmateurPanda92/pokemon-rby-dx | 9 | 102606 | ZoneMons2:
db $1E
IF DEF(_RED)
db 22,NIDORAN_M
ENDC
IF DEF(_BLUE)
db 22,NIDORAN_F
ENDC
db 26,RHYHORN
db 23,PARAS
db 25,EXEGGCUTE
IF DEF(_RED)
db 30,NIDORINO
ENDC
IF DEF(_BLUE)
db 30,NIDORINA
ENDC
db 27,EXEGGCUTE
IF DEF(_RED)
db 30,NIDORINA
ENDC
IF DEF(_BLUE)
db 30,NIDORINO
ENDC
db 32,VENOM... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_294.asm | ljhsiun2/medusa | 9 | 97574 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x394e, %r9
and %rdx, %rdx
mov $0x6162636465666768, %r12
movq %r12, (%r9)
nop
nop
nop
nop
cmp $25329, %rsi
lea addresses_A_ht+0x4a36, %rsi
lea addresses_WT_ht+0xe156, %rdi
nop
add $31195,... |
alert.applescript | emanuelbesliu/applescripts | 0 | 472 | <gh_stars>0
set larmtime to display dialog "Time you want to be alerted?" default answer ""
set larmtime to text returned of larmtime
repeat
set datte to current date
set hower to get hours of datte
set minits to get minutes of datte
if (hower > 12) then
set hower to (hower - 12)
set tiime to hower & minits
s... |
programs/oeis/236/A236305.asm | neoneye/loda | 22 | 166873 | ; A236305: The number of P-positions in the game of Nim with up to 3 piles, allowing for piles of zero, such that the number of objects in each pile does not exceed n.
; 1,4,7,16,19,28,43,64,67,76,91,112,139,172,211,256,259,268,283,304,331,364,403,448,499,556,619,688,763,844,931,1024,1027,1036,1051,1072,1099,1132,1171,... |
libsrc/target/multi8/psg/set_psg.asm | jpoikela/z88dk | 38 | 101358 | ;
; TRS-80 (EG2000+HT1080) specific routines
; by <NAME>, Fall 2015
;
; int set_psg(int reg, int val);
;
; Play a sound by PSG
;
;
; $Id: set_psg.asm,v 1.2 2016-06-10 21:13:58 dom Exp $
;
SECTION code_clib
PUBLIC set_psg
PUBLIC _set_psg
EXTERN set_psg_callee
EXTERN ASMDISP_SET_PSG_CALLEE
set_psg:
_set... |
antlr-basics/src/main/java/com/poc/chapter_08_part01/CSVLoaderMap.g4 | cgonul/antlr-poc | 0 | 6387 | grammar CSVLoaderMap;
file : header row+;
header: row ;
row: field (',' field)* '\r'? '\n' ;
field : TEXT # text
| STRING # string
| # empty
;
TEXT : ~[,\n\r"]+ ;
STRING : '"' ('""'|~'"')* '"' ; |
agda/Pi-reasoning.agda | JacquesCarette/pi-dual | 14 | 5548 | {-# OPTIONS --no-termination-check #-}
module Pi-reasoning where
open import Data.Empty
open import Data.Unit hiding (_≟_)
open import Data.Bool hiding (_≟_)
open import Data.Nat
open import Data.List
open import Data.Sum hiding (map)
open import Data.Product hiding (map)
open import Level hiding (suc)
o... |
gcc-gcc-7_3_0-release/gcc/ada/par-ch13.adb | best08618/asylo | 7 | 22438 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
asm/final1.asm | IronHeart7334/AssemblyPrograms | 0 | 1294 | ; general comments
; Register Dictionary:
; - EAX contains the index where the character was found (-1 if not found)
; - EBX contains the cString address
; - ECX contains the current index
; preprocessor directives
.586
.MODEL FLAT
; external files to link with
; stack configuration
.STACK 4096
; named memory all... |
ls.asm | hprem991/System-Call | 1 | 11014 |
_ls: file format elf32-i386
Disassembly of section .text:
00000000 <fmtname>:
#include "user.h"
#include "fs.h"
char*
fmtname(char *path)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 53 push %ebx
4: 83 ec 14 su... |
Groups/FreeGroup/Lemmas.agda | Smaug123/agdaproofs | 4 | 10715 | {-# OPTIONS --safe --warning=error #-}
open import Sets.Cardinality.Infinite.Definition
open import Sets.EquivalenceRelations
open import Setoids.Setoids
open import Groups.FreeGroup.Definition
open import Groups.Homomorphisms.Definition
open import Groups.Definition
open import Decidable.Sets
open import Numbers.Natu... |
oeis/036/A036711.asm | neoneye/loda-programs | 11 | 3681 | <reponame>neoneye/loda-programs<filename>oeis/036/A036711.asm<gh_stars>10-100
; A036711: a(n)=number of Gaussian integers z=a+bi satisfying |z|<=n+1/2, a>0, b>=0.
; Submitted by <NAME>
; 0,2,5,9,17,24,34,44,56,73,87,105,122,144,166,187,215,243,271,300,328,364,399,435,471,513,554,594,640,683,733,781,828,880,936,992,1049... |
4-high/gel/source/gel-rig.adb | charlie5/lace | 20 | 11278 | with
gel.Forge,
gel.Conversions,
physics.Model,
openGL.Model.any,
opengl.Palette,
opengl.Program .lit_colored_textured_skinned,
opengl.Geometry.lit_colored_textured_skinned,
collada.Document,
collada.Library,
collada.Library.controllers,
collada.Library.animation... |
dino/lcs/etc/5.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 101756 | <filename>dino/lcs/etc/5.asm<gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
0141F8 cmpi.b #$4, ($5,A0)
0141FE bne $14226 [123p+ 5, enemy+ 5, etc+ 5, item+ 5]
0577B0 move.b ($5,A3), D0 [enemy+A6]
0577B4 cmp.b ($a2,A6), D0 [etc+ 5]
057B58 move.b ($5,A3), D0 [enemy+A6]
057B5C cmp.b ... |
src/Category.agda | mietek/coquand-kovacs | 0 | 7478 | <reponame>mietek/coquand-kovacs
module Category where
open import Prelude
--------------------------------------------------------------------------------
record Category {ℓ ℓ′}
(𝒪 : Set ℓ) (_▹_ : 𝒪 → 𝒪 → Set ℓ′)
: Set (ℓ ⊔ ℓ′) where
field
idₓ : ∀ {x} → x ▹ x
_⋄_ :... |
audio/sfx/intro_crash.asm | AmateurPanda92/pokemon-rby-dx | 9 | 6781 | <gh_stars>1-10
SFX_Intro_Crash_Ch7:
noisenote 2, 13, 2, 50
noisenote 15, 15, 2, 67
endchannel
|
assembler/tests/data/symbol.asm | dalloriam/slang | 0 | 164347 | <filename>assembler/tests/data/symbol.asm<gh_stars>0
.data
.text
ld $0 100
ld $1 1
ld $2 0
test: inc $0
neq $0 $2
jeq @test
|
programs/oeis/256/A256455.asm | neoneye/loda | 22 | 96472 | <filename>programs/oeis/256/A256455.asm<gh_stars>10-100
; A256455: Numbers that appear at least once in a Pythagorean triple (a, b, b+1).
; 3,4,5,7,9,11,12,13,15,17,19,21,23,24,25,27,29,31,33,35,37,39,40,41,43,45,47,49,51,53,55,57,59,60,61,63,65,67,69,71,73,75,77,79,81,83,84,85,87,89,91,93,95,97,99,101,103,105,107,109,... |
private/ntos/ex/i386/tickcnt.asm | King0987654/windows2000 | 11 | 10090 | title "NtGetTickCount"
;++
;
; Copyright (c) 1989 Microsoft Corporation
;
; Module Name:
;
; tickcnt.asm
;
; Abstract:
;
;
; This module contains the implementation for the fast NtGetTickCount service
;
;
; Author:
;
; <NAME> (markl) 19-Oct-1996
;
; Environment:
;
; Kernel mod... |
Task/Perfect-numbers/AppleScript/perfect-numbers-2.applescript | LaudateCorpus1/RosettaCodeData | 1 | 759 | <filename>Task/Perfect-numbers/AppleScript/perfect-numbers-2.applescript<gh_stars>1-10
{6, 28, 496, 8128}
|
programs/oeis/340/A340761.asm | karttu/loda | 0 | 179111 | ; A340761: Number of partitions of n into 4 parts whose 'middle' two parts have the same parity.
; 0,0,0,0,1,1,1,2,4,4,5,7,10,11,13,16,21,23,26,31,38,41,46,53,62,67,74,83,95,102,111,123,138,147,159,174,192,204,219,237,259,274,292,314,340,358,380,406,436,458,484,514,549,575,605,640,680,710,745,785,830,865,905,950,1001
... |
oeis/285/A285795.asm | neoneye/loda-programs | 11 | 172287 | ; A285795: Sum of the second entries in all cycles of all permutations of [n].
; Submitted by <NAME>
; 0,0,2,13,83,582,4554,39672,382248,4044240,46663920,583554240,7865622720,113711230080,1755484617600,28828769356800,501858148377600,9232213174732800,178968924600883200,3646603415927808000,77916767838981120000,1742147265... |
src/main/antlr/DemoExpression.g4 | tomasz-herman/Evaluate | 0 | 3480 | <filename>src/main/antlr/DemoExpression.g4
grammar DemoExpression;
@header {
package com.hermant.generated;
}
// grammar:
expression
: additive EOF
;
additive
: multiplicative # MULTIPLICATIVE
| additive '+' multiplicative # Add
| additive '-' multiplicative # Subtract
;
mu... |
programs/oeis/047/A047464.asm | neoneye/loda | 22 | 175177 | ; A047464: Numbers that are congruent to {0, 2, 4} mod 8.
; 0,2,4,8,10,12,16,18,20,24,26,28,32,34,36,40,42,44,48,50,52,56,58,60,64,66,68,72,74,76,80,82,84,88,90,92,96,98,100,104,106,108,112,114,116,120,122,124,128,130,132,136,138,140,144,146,148,152,154,156
mov $1,$0
div $1,3
add $0,$1
mul $0,2
|
tests/natools-time_keys-tests.adb | faelys/natools | 0 | 18193 | <gh_stars>0
------------------------------------------------------------------------------
-- Copyright (c) 2015-2016, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --... |
util/gut/smul.asm | olifink/smsqe | 0 | 243652 | ; General IO utility: send multiple bytes V2.00 1988 <NAME>
section gen_util
xdef gu_smul
xref gu_iowp
include 'dev8_keys_qdos_io'
;+++
; This routine sends multiple bytes
;
; d2 c p number of bytes to send
; a0 c p channel ID
; a1 c p pointer to byt... |
oeis/201/A201003.asm | neoneye/loda-programs | 11 | 6217 | <gh_stars>10-100
; A201003: Triangular numbers, T(m), that are four-fifths of another triangular number: T(m) such that 5*T(m) = 4*T(k) for some k.
; Submitted by <NAME>
; 0,36,11628,3744216,1205625960,388207814940,125001710784756,40250162664876528,12960427376379457296,4173217365031520372820,1343763031112773180590780,4... |
agda/Cardinality/Finite/SplitEnumerable/Instances.agda | oisdk/combinatorics-paper | 4 | 8691 | {-# OPTIONS --cubical --safe #-}
module Cardinality.Finite.SplitEnumerable.Instances where
open import Cardinality.Finite.SplitEnumerable
open import Cardinality.Finite.SplitEnumerable.Inductive
open import Cardinality.Finite.ManifestBishop using (_|Π|_)
open import Data.Fin
open import Prelude
open import Data.List.... |
Everything/WithK.agda | Smaug123/agdaproofs | 4 | 10540 | <gh_stars>1-10
{-# OPTIONS --warning=error --safe #-}
open import Everything.Safe
-- This file contains everything that is --safe, but uses K.
open import Logic.PropositionalLogic
open import Logic.PropositionalLogicExamples
open import Logic.PropositionalAxiomsTautology
open import Sets.FinSetWithK
open import Gro... |
examples/uptodate/A.agda | cruhland/agda | 1,989 | 7622 | module A where
import B
import C
|
oeis/054/A054851.asm | neoneye/loda-programs | 11 | 9295 | ; A054851: a(n) = 2^(n-7)*binomial(n,7). Number of 7D hypercubes in an n-dimensional hypercube.
; 1,16,144,960,5280,25344,109824,439296,1647360,5857280,19914752,65175552,206389248,635043840,1905131520,5588385792,16066609152,45364543488,126012620800,344876646400,931166945280,2483111854080,6546385797120,17077528166400,44... |
test/Compiler/simple/CompilingCoinduction.agda | pthariensflame/agda | 0 | 6407 |
module CompilingCoinduction where
open import Common.Coinduction
open import Common.Char
open import Common.String
data Unit : Set where
unit : Unit
{-# COMPILED_DATA Unit () () #-}
postulate
IO : Set → Set
{-# COMPILED_TYPE IO IO #-}
{-# BUILTIN IO IO #-}
{-# IMPORT Data.Text.IO #-}
postulate
putStrLn : ... |
oeis/223/A223212.asm | neoneye/loda-programs | 11 | 100843 | ; A223212: 3X3X3 triangular graph coloring a rectangular array: number of nX2 0..5 arrays where 0..5 label nodes of a graph with edges 0,1 0,2 1,2 1,3 1,4 2,4 3,4 2,5 4,5 and every array movement to a horizontal or vertical neighbor moves along an edge of this graph
; Submitted by <NAME>
; 18,126,918,6642,48114,348462,... |
project/ntstub/i386/6_1_7601_sp1_ssdt_sysenter.asm | rmusser01/windows-syscall-table | 6 | 98814 | <reponame>rmusser01/windows-syscall-table
; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; ssdt asm stub for 6.1.7601-sp1-windows-7 i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtAcceptConnectPort( ULONG arg_01 , ULONG arg... |
src/util/util-refs.adb | jquorning/ada-wiki | 18 | 27286 | -----------------------------------------------------------------------
-- util-refs -- Reference Counting
-- Copyright (C) 2010, 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- ... |
programs/oeis/288/A288604.asm | neoneye/loda | 22 | 92073 | ; A288604: a(n) = (n^9 - n)/10.
; 0,51,1968,26214,195312,1007769,4035360,13421772,38742048,99999999,235794768,515978034,1060449936,2066104677,3844335936,6871947672,11858787648,19835929035,32268769776,51199999998,79428004656,120726921777,180115266144,264180754020,381469726560,542950367895,762559748496,1057845595338,1450... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_123_537.asm | ljhsiun2/medusa | 9 | 19629 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r15
push %r8
push %rbx
push %rdx
lea addresses_A_ht+0x18075, %r10
nop
nop
nop
cmp %r14, %r14
mov (%r10), %r8
nop
xor $39994, %rbx
lea addresses_A_ht+0xde, %r12
nop
nop
nop
xor $49045, %rdx
mov (%r12), %r15
nop
nop... |
Mixfix/Acyclic/Example.agda | nad/parser-combinators | 1 | 16071 | ------------------------------------------------------------------------
-- An example
------------------------------------------------------------------------
module Mixfix.Acyclic.Example where
open import Codata.Musical.Notation
open import Data.Vec using ([]; _∷_; [_])
open import Data.List as List
using (List;... |
ts2060/main.asm | nagydani/zx-rom-mods | 15 | 175670 | INCLUDE "../labels.asm"
ORG $0000
; Cold reset
RST00: DI
LD BC, $692B
RST00L: DEC BC
LD A,B
OR C
JR NZ,RST00L ; No instruction fetch from 0008, for IF1 compatibility
JP RESET
DEFS $10 - $
; Return to ROM1
RST10: INC SP
INC SP
JP SWAP1
DEFS $18 - $
; Collect a character
RST18: LD HL,(CH_ADD)
LD A,(HL)
TES... |
programs/oeis/054/A054603.asm | neoneye/loda | 22 | 178918 | ; A054603: a(n) = Sum_{d|4} phi(d)*n^(4/d).
; 0,4,24,96,280,660,1344,2464,4176,6660,10120,14784,20904,28756,38640,50880,65824,83844,105336,130720,160440,194964,234784,280416,332400,391300,457704,532224,615496,708180,810960,924544,1049664
mov $1,$0
bin $1,2
add $0,$1
mov $2,$1
add $2,1
mul $0,$2
mul $0,4
|
tests/z80.asm | dimitrit/uz80as | 8 | 20320 | <gh_stars>1-10
; ===========================================================================
; uz80as, an assembler for the Zilog Z80 and several other microprocessors.
;
; Zilog Z80.
; ===========================================================================
#define equ .equ
#define end .end
n: equ 20h
nn... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_93_73.asm | ljhsiun2/medusa | 9 | 93759 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r9
push %rax
push %rdi
push %rsi
// Faulty Load
lea addresses_US+0x8d91, %rdi
xor $22240, %rax
movb (%rdi), %r9b
lea oracles, %rax
and $0xff, %r9
shlq $12, %r9
mov (%rax,%r9,1), %r9
pop %rsi
pop %rdi
pop %rax
pop... |
Relatorios/Tarefa 07/Resolucao/codigo/programa16.asm | RafaelAmauri/Arquitetura-de-Computadores-2 | 0 | 86045 | <reponame>RafaelAmauri/Arquitetura-de-Computadores-2<filename>Relatorios/Tarefa 07/Resolucao/codigo/programa16.asm
.text
.globl main
main:
lui $t0, 0x1001
addi $t0, $t0, 0x0000 #|1001|0000|
lw $s0, 0($t0) #s0 = x
lw $s1, 4($t0) #s1 = y
lw $s2, 8($t0) #s2 = z
div $s0, $s2 #x/z
mflo ... |
programs/oeis/056/A056487.asm | neoneye/loda | 22 | 98683 | <filename>programs/oeis/056/A056487.asm
; A056487: a(n) = 5^(n/2) for n even, a(n) = 3*5^((n-1)/2) for n odd.
; 1,3,5,15,25,75,125,375,625,1875,3125,9375,15625,46875,78125,234375,390625,1171875,1953125,5859375,9765625,29296875,48828125,146484375,244140625,732421875,1220703125,3662109375,6103515625,18310546875,305175781... |
Library/SpecUI/CommonUI/CView/cviewScrollbarSelect.asm | steakknife/pcgeos | 504 | 92726 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
GEOWORKS CONFIDENTIAL
PROJECT: GEOS
MODULE: CommonUI/CView
FILE: cviewScrollbarSelect.asm
ROUTINES:
Name Description
---- -----------
?? INT OLScrollbarStartPress ... |
src/c64/j8md.asm | apvilkko/jane8-musicdisk | 0 | 103613 | ;================================
; LOADER
;================================
org $07ff
db $01,$08 ; prg header (BASIC program memory start $0801)
; BASIC loader
db $0c,$08 ; pointer to next BASIC line
db $0a,$00 ; line number (10)
db $9e ; SYS token
text "11904" ; program start in decimal
db $00 ; ... |
examples/stm32f0/rfm69_moter/modem/main.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 22640 | with System; use System;
with Ada.Real_Time; use Ada.Real_Time;
with Ada.Synchronous_Task_Control; use Ada.Synchronous_Task_Control;
with Ada.Unchecked_Conversion;
with Last_Chance_Handler;
with STM32GD.Board;
with STM32GD.USART;
with Peripherals;
with Modem;
with Controller;
pro... |
Expr.g4 | triblatron/dftu | 0 | 4930 | // Define a grammar called Expr
grammar Expr;
expr : ID '=' Floatingliteral unit? ;
ID : [a-z]+ ; // match lower-case identifiers
WS : [ \t\r\n]+ -> skip ; // skip spaces, tabs, newlines
Floatingliteral
: Fractionalconstant Exponentpart?
| Digitsequence Exponentpart
;
unit
: length
| ve... |
src/Sym_Expr/test/test_report.ads | fintatarta/eugen | 0 | 14809 | <reponame>fintatarta/eugen<gh_stars>0
-----------------------------------------------------------------------------
-- Symbolic Expressions (symexpr)
--
-- Copyright (C) 2012, <NAME>
--
-- This file is part of symexpr.
--
-- symexpr is free software: you can redistribute it and/or mod... |
ps.asm | TRamirez97/CSE460-HW02 | 0 | 11590 |
_ps: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "user.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,%esp
cps();
6: e8 28 03 00 ... |
test/Succeed/Issue5765.agda | KDr2/agda | 1 | 4459 | <filename>test/Succeed/Issue5765.agda
{-# OPTIONS --allow-unsolved-metas #-}
open import Agda.Builtin.Equality
postulate @0 A : Set
@0 f : (X : Set) → A ≡ X → Set
f X refl = {!!}
|
grammar/ApiFilter.g4 | fattureincloud/api-filter | 1 | 2929 | grammar ApiFilter;
/*
* Parser Rules
*/
filter: expression EOF;
expression:
condition # conditionExp
| pattern # patternExp
| OPEN_PAR expression CLOSE_PAR # parenthesisExp
| expression AND expression # conjunctionExp
| expression OR expression # disjunctionExp;
condition:
comparison # comparis... |
oeis/016/A016975.asm | neoneye/loda-programs | 11 | 101299 | ; A016975: a(n) = (6*n + 5)^7.
; 78125,19487171,410338673,3404825447,17249876309,64339296875,194754273881,506623120463,1174711139837,2488651484819,4902227890625,9095120158391,16048523266853,27136050989627,44231334895529,69833729609375,107213535210701,160578147647843,235260548044817,337931541778439,476837158203125,66206... |
programs/oeis/285/A285076.asm | karttu/loda | 0 | 18937 | <reponame>karttu/loda
; A285076: 1-limiting word of the morphism 0->10, 1-> 010.
; 1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0... |
Ada/inc/Problem_06.ads | Tim-Tom/project-euler | 0 | 10357 | <reponame>Tim-Tom/project-euler
package Problem_06 is
procedure Solve;
end Problem_06;
|
Seagull/Grammar/SeagullLexer.g4 | pacojq/Seagull | 5 | 3845 | lexer grammar SeagullLexer;
channels { DIRECTIVE }
// Fragments
fragment DIGIT: [0-9] ;
fragment LETTER: [a-zA-Z] ;
fragment
REAL: INT_CONSTANT? '.' DIGIT+
| INT_CONSTANT '.' DIGIT*
;
fragment NL: ('\n' | '\r' | '\r\n') ;
fragment TRUE: 'true' ;
fragment FALSE: 'false' ;
// Compiler directives
SHARP: ... |
source/league/matreshka-internals-regexps.ads | svn2github/matreshka | 0 | 12193 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
hello.adb | jacksonchen07/HelloAda | 0 | 1638 | <reponame>jacksonchen07/HelloAda<gh_stars>0
with Ada.Text_IO;
with Ada.Strings.Unbounded;
with Ada.Text_IO.Unbounded_IO;
procedure Hello is
use Ada.Text_IO;
use Ada.Strings.Unbounded;
use Ada.Text_IO.Unbounded_IO;
Name : Unbounded_String;
begin
-- Using full package name because it would be ambigou... |
picross/isr2p.asm | msliczniak/octo | 0 | 20869 | <gh_stars>0
; Origin set to 00200H, EOF = 00250H
ORG 00200H
; CPU Type:
CPU 1805
; Labels:
R0203 EQU 0203H
R0204 EQU 0204H
R0215 EQU 0215H
R021C EQU 021CH
R0229 EQU 0229H
R0238 EQU 0238H
; Unused or indirect labels:
; S0230
; S0245
; Register Definitions:
R0 EQU 0
R1 EQU 1
R2 EQU 2
R3 EQU 3
R4 EQU 4
R5 E... |
Dump/hybos/src/kernel/kstart.asm | cwolsen7905/UbixOS | 0 | 165419 | <filename>Dump/hybos/src/kernel/kstart.asm<gh_stars>0
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 32-bit kernel startup code
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
%include "asm.inc"
SECTION .text
;SEGMENT _TEXT USE32 CLASS=CODE
;BITS 32
;;... |
pmd-kotlin/src/main/antlr4/KotlinLexer.g4 | NileshVirkar/pmd | 0 | 1437 | /**
* Kotlin Grammar for ANTLR v4
*
* Based on:
* http://jetbrains.github.io/kotlin-spec/#_grammars_and_parsing
* and
* http://kotlinlang.org/docs/reference/grammar.html
*
* Tested on
* https://github.com/JetBrains/kotlin/tree/master/compiler/testData/psi
*/
lexer grammar KotlinLexer;
import UnicodeClasses;... |
parser/Sql.g4 | xitongsys/guery | 74 | 182 | <reponame>xitongsys/guery
grammar Sql;
tokens {
DELIMITER
}
singleStatement
: statement EOF
;
singleExpression
: expression EOF
;
statement
: query
| USE schema=identifier
| USE catalog=identifier '.' schema=identifier
| SHOW TABLES ((FROM | IN) qualifiedName)?
(LI... |
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/derror_onc.asm | jpoikela/z88dk | 640 | 162417 | <filename>libsrc/_DEVELOPMENT/math/float/math48/lm/z80/derror_onc.asm
SECTION code_clib
SECTION code_fp_math48
PUBLIC derror_onc
EXTERN am48_derror_onc
defc derror_onc = am48_derror_onc
|
ga_ref_impl/src/multivector_type.ads | rogermc2/GA_Ada | 3 | 23780 |
with GA_Maths;
with Metric;
with Multivectors;
package Multivector_Type is
type MV_Type is (Unspecified_MV_Type, Multivector_Type, Versor_MV, Blade_MV);
type Parity_Type is (Odd_Parity, Even_Parity, No_Parity);
type MV_Type_Record is private;
function Grade_Use (MV : MV_Type_Record) return GA_Maths.Grad... |
programs/oeis/099/A099150.asm | neoneye/loda | 22 | 241330 | <gh_stars>10-100
; A099150: Positive integers k such that f(k)+f(k)=concatenation of k and k, where f(k)=k(k+3)/2 (A000096).
; 8,98,998,9998,99998,999998,9999998,99999998,999999998,9999999998,99999999998,999999999998,9999999999998,99999999999998,999999999999998,9999999999999998,99999999999999998,999999999999999998,9999... |
oeis/225/A225009.asm | neoneye/loda-programs | 11 | 169238 | ; A225009: Number of n X 7 0..1 arrays with rows unimodal and columns nondecreasing.
; 29,239,1163,4166,12174,30738,69498,144111,278707,508937,885677,1479452,2385644,3730548,5678340,8439021,12277401,17523187,24582239,33949058,46220570,62111270,82469790,108296955,140765391,181240749,231304609,292779128,367753496,4586122... |
oeis/141/A141891.asm | neoneye/loda-programs | 11 | 104455 | <reponame>neoneye/loda-programs
; A141891: Primes congruent to 8 mod 21.
; Submitted by <NAME>
; 29,71,113,197,239,281,449,491,617,659,701,743,827,911,953,1163,1289,1373,1499,1583,1667,1709,1877,2003,2087,2129,2213,2297,2339,2381,2423,2549,2591,2633,2801,2843,2927,2969,3011,3137,3221,3347,3389,3557,3767,3851,4019,4229,... |
2021/day09/part1.adb | noeppi-noeppi/aoc | 2 | 26023 | <filename>2021/day09/part1.adb
with Ada.Text_IO;
procedure part1 is
type Index is range 0 .. 200;
type Cell is range 0 .. 9;
type Row is array (Index) of Cell;
type Grid is array (Index) of Row;
type RowResult is record
parsedRow: Row;
width: Integer;
end record;
type GridResu... |
src/00/libraries.asm | Willem3141/kernel | 251 | 102098 | ; TODO:
; Unload libraries
; Allocate space to track usage; use maxThreads so that all threads may
; use it at once.
;; loadLibrary [System]
;; Loads a library into memory, or references one that may already be loaded.
;; Inputs:
;; DE: Pointer to full path of library
;; Z: Set on success, reset on failure
loadLibr... |
parsers-generic_source-get_cpp_blank.adb | jrcarter/Ada_GUI | 19 | 19723 | <reponame>jrcarter/Ada_GUI<gh_stars>10-100
-- --
-- procedure Copyright (c) <NAME> --
-- Parsers.Generic_Source. Luebeck --
-- Get_Cpp_Blank Winter, 2004 ... |
ffmpegHelper/runScript.scpt | digital-pers0n/ffmpegHelper | 1 | 3480 | tell application "iTerm"
activate
tell front window
tell current session
write text "\"%script%\""
end tell
end tell
end tell |
oeis/337/A337500.asm | neoneye/loda-programs | 11 | 98787 | <filename>oeis/337/A337500.asm
; A337500: a(n) is the number of ballot sequences of length n tied or won by at most 3 votes.
; Submitted by <NAME>(s4)
; 1,2,4,8,14,30,50,112,182,420,672,1584,2508,6006,9438,22880,35750,87516,136136,335920,520676,1293292,1998724,4992288,7696444,19315400,29716000,74884320,115000920,290845... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.