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 |
|---|---|---|---|---|
oeis/131/A131569.asm | neoneye/loda-programs | 11 | 244834 | ; A131569: a(n) = (1/2)*(F(n+2)-1)*(F(n+2)-2) + F(n), where F() are the Fibonacci numbers.
; Submitted by <NAME>
; 1,2,8,24,71,198,541,1452,3862,10208,26885,70644,185369,485982,1273420,3335640,8735707,22875050,59895221,156819960,410579786,1074943872,2814291433,7367994504,19289795761,50501560538,132215157296,34614435055... |
src/main/java/com/talentica/dsl/antlr/Calculator.g4 | Talentica/antlrDemo | 0 | 2686 | grammar Calculator;
@header{
package com.talentica.dsl.antlr;
}
// PARSER
program
: statement* expression;
expression
: '(' expression ')' # parenExpression
| expression ('*'|'/') expression # multOrDiv
| expression ('+'|'-') expression # addOrSubtract
|... |
sw/552tests/rand_simple/t_4_slli.asm | JPShen-UWM/ThreadKraken | 1 | 288 | // seed 4
lbi r0, 246 // icount 0
slbi r0, 223 // icount 1
lbi r1, 105 // icount 2
slbi r1, 105 // icount 3
lbi r2, 23 // icount 4
slbi r2, 20 // icount 5
lbi r3, 164 // icount 6
slbi r3, 222 // icount 7
lbi r4, 176 // icount 8
slbi r4, 66 // icount 9
lbi r5, 203 // icount 10
slbi r5, 226 // icount 11
lbi r6, 165 // ic... |
src/tk/tk-image-photo.adb | thindil/tashy2 | 2 | 14129 | <gh_stars>1-10
-- Copyright (c) 2021 <NAME> <<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://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applica... |
src/main/antlr/SlateParser.g4 | agmcc/slate-lang | 1 | 2699 | parser grammar SlateParser;
options { tokenVocab=SlateLexer; }
compilationUnit: methodDeclaration* EOF;
methodDeclaration: ID (L_PAREN parameter (COMMA parameter)* R_PAREN)? (COLON returnType=type)? statement;
parameter: type ID;
type: (INT|DEC|STRING|BOOL)(ARRAY)?;
statement: expression # expressionStatement
... |
.build/ada/asis-gela-elements-expr.ads | faelys/gela-asis | 4 | 390 | <reponame>faelys/gela-asis<filename>.build/ada/asis-gela-elements-expr.ads
------------------------------------------------------------------------------
-- Copyright (c) 2006-2013, <NAME>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitte... |
legend-engine-language-pure-grammar/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/mapping/operationClassMapping/OperationClassMappingLexerGrammar.g4 | dave-wathen/legend-engine | 32 | 1814 | lexer grammar OperationClassMappingLexerGrammar;
import CoreLexerGrammar;
|
oeis/176/A176054.asm | neoneye/loda-programs | 11 | 27455 | <gh_stars>10-100
; A176054: Decimal expansion of (7+3*sqrt(7))/7.
; Submitted by <NAME>
; 2,1,3,3,8,9,3,4,1,9,0,2,7,6,8,1,6,8,1,6,4,3,5,4,9,6,0,8,7,0,2,5,4,0,1,8,2,4,4,7,2,5,3,9,3,5,6,0,6,7,6,4,3,6,3,0,1,5,0,0,0,4,8,2,5,1,4,7,4,3,7,8,1,3,8,4,4,0,7,2,6,9,0,4,0,1,6,8,3,7,9,9,1,7,6,6,1,5,4,7
mov $2,1
mov $3,$0
mul $3,4
l... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt8.ads | best08618/asylo | 7 | 13031 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt8.ads
package Opt8 is
type Value_Number_Kind is
(Int_Literal_VN,
Selected_Address_VN,
Membership_VN,
Initial_External_Kappa_VN,
Aliased_Kappa_VN,
Phi_As_Kappa_VN,
Multi_Target_Call_Kappa_VN,
Final_Value_... |
T4P2/AssemblyT4P2.asm | cggewehr/Projeto-De-Processadores | 0 | 23058 |
; PROJETO DE PROCESSADORES - ELC 1094 - PROF. CARARA
; PROCESSADOR R8
; <NAME> E <NAME>
; DESCRIÇÃO:
; PROCESSADOR R8 COM SUPORTE A INTERRUPÇÕES DE I/O VIA PIC
; APLICAÇÃO ATUAL:
; COMUNICAÇAO COM MULTIPLOS PERIFERICOS "CRYPTOMESSAGE" VIA INTERRUPÇÃO COM PRIORIDADES
; CHANGELOG:
; - Emilio - Adicionado a ma... |
source/adam-entity.adb | charlie5/aIDE | 3 | 22594 | with
Ada.Tags,
AdaM.Factory;
package body AdaM.Entity
is
-- Entities
--
function to_spec_Source (the_Entities : in Entities) return text_Vectors.Vector
is
the_Source : text_Vectors.Vector;
begin
for Each of the_Entities
loop
the_Source.append (Each.to_Source);
... |
src/firmware-tests/Platform/Buttons/InitialiseAfterButtonsDummy.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 96955 | #include "Platform.inc"
#include "InitialisationChain.inc"
radix decimal
InitialiseAfterButtonsDummy code
global INITIALISE_AFTER_BUTTONS
INITIALISE_AFTER_BUTTONS:
return
end
|
SingletonChunks.agda | nad/codata | 1 | 15371 | ------------------------------------------------------------------------
-- An implementation of the Fibonacci sequence using tail
------------------------------------------------------------------------
module SingletonChunks where
open import Codata.Musical.Notation
open import Codata.Musical.Stream as S using (Str... |
oeis/029/A029653.asm | neoneye/loda-programs | 11 | 179370 | ; A029653: Numbers in (2,1)-Pascal triangle (by row).
; Submitted by <NAME>
; 1,2,1,2,3,1,2,5,4,1,2,7,9,5,1,2,9,16,14,6,1,2,11,25,30,20,7,1,2,13,36,55,50,27,8,1,2,15,49,91,105,77,35,9,1,2,17,64,140,196,182,112,44,10,1,2,19,81,204,336,378,294,156,54,11,1,2,21,100,285,540,714,672,450,210,65,12,1,2,23,121,385,825,1254,138... |
container/w/core.agda | HoTT/M-types | 27 | 14449 | module container.w.core where
open import level
open import sum
open import equality
open import function.extensionality
open import function.isomorphism
open import function.isomorphism.properties
open import function.overloading
open import sets.empty
open import sets.nat.core using (suc)
open import sets.unit
open ... |
oeis/206/A206047.asm | neoneye/loda-programs | 11 | 16212 | ; A206047: Number of (n+1) X 2 0..2 arrays with the number of clockwise edge increases in every 2 X 2 subblock equal to one.
; Submitted by <NAME>
; 48,255,1338,7041,37020,194691,1023822,5384085,28313712,148895799,783011010,4117687209,21654034308,113873925675,598838568438,3149163684861,16560776867160,87089576125791,457... |
imprimir.asm | jeremylive/Shared_Code | 0 | 19577 | <reponame>jeremylive/Shared_Code
;falta agregar signos
;imprime en binario ----------------------------------------------------
%macro PutBin 1
push eax
push ebx
push ecx
push edx
mov eax,%1
xor ecx, ecx
dec ecx
%%zero_loop:
inc ecx
rol eax,1
mov ebx, eax
and ebx, 00000001h
cmp ecx, 31 ;condicion de para... |
programs/oeis/184/A184389.asm | karttu/loda | 1 | 96127 | ; A184389: a(n) = Sum_{k=1..tau(n)} k, where tau is the number of divisors of n (A000005).
; 1,3,3,6,3,10,3,10,6,10,3,21,3,10,10,15,3,21,3,21,10,10,3,36,6,10,10,21,3,36,3,21,10,10,10,45,3,10,10,36,3,36,3,21,21,10,3,55,6,21,10,21,3,36,10,36,10,10,3,78,3,10,21,28,10,36,3,21,10,36,3,78,3,10,21,21,10,36,3,55,15,10,3,78,10,... |
data/mapObjects/fuchsiahouse3.asm | adhi-thirumala/EvoYellow | 16 | 102982 | <filename>data/mapObjects/fuchsiahouse3.asm
FuchsiaHouse3Object:
db $c ; border block
db $3 ; warps
db $0, $2, $8, $ff
db $7, $2, $7, $ff
db $7, $3, $7, $ff
db $0 ; signs
db $1 ; objects
object SPRITE_FISHER, $5, $3, STAY, RIGHT, $1 ; person
; warp-to
EVENT_DISP FUCHSIA_HOUSE_3_WIDTH, $0, $2
EVENT_DISP F... |
src/lib/Generic_Symbol_Table/symbol_tables-generic_symbol_table.ads | fintatarta/protypo | 0 | 10290 | with Ada.Containers.Indefinite_Hashed_Maps;
-- with Ada.Containers.Indefinite_Holders;
with Ada.Containers.Indefinite_Vectors;
with Ada.Containers.Vectors;
with Ada.Finalization;
use Ada;
--
-- ## What is this?
--
-- This package implements a generic "symbol table," that is a structure that
-- maps symbol "names" (a... |
agda-stdlib-0.9/src/Relation/Binary/On.agda | qwe2/try-agda | 1 | 6044 | <gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- Many properties which hold for _∼_ also hold for _∼_ on f
------------------------------------------------------------------------
open import Relation.Binary
module Relation.Binary.On where
ope... |
UniBank.asm | Cancer52/flamedriver | 9 | 1631 | <filename>UniBank.asm
; ===========================================================================
; FM Universial Voice Bank
; ===========================================================================
SourceSMPS2ASM set 0
SourceDriver set 3
; Synth Bass 2
; Voice $00
; $3C
; $01, $00, $00, $00, $1F, $1F, $15, $1... |
oeis/028/A028161.asm | neoneye/loda-programs | 11 | 93653 | ; A028161: Expansion of 1/((1-4*x)*(1-9*x)*(1-10*x)*(1-11*x)).
; Submitted by <NAME>
; 1,34,737,12998,203493,2949042,40498969,534679966,6850824365,85749662570,1053427606881,12745999413654,152297310673717,1800758893450018,21104410600012073,245479747499528462
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
sub $2,1
... |
programs/oeis/082/A082413.asm | karttu/loda | 1 | 102646 | ; A082413: a(n) = (2*9^n + 3^n)/3.
; 1,7,57,495,4401,39447,354537,3189375,28700001,258286887,2324542617,20920765455,188286534801,1694577750327,15251196564297,137260759512735,1235346806916801,11118121176157767
mov $2,3
pow $2,$0
mov $1,$2
pow $2,2
div $1,2
add $1,$2
div $1,3
mul $1,2
add $1,1
|
data/mapObjects/unknowndungeon2.asm | adhi-thirumala/EvoYellow | 16 | 91978 | UnknownDungeon2Object:
db $7d ; border block
db $6 ; warps
db $1, $1d, $2, UNKNOWN_DUNGEON_1
db $6, $16, $3, UNKNOWN_DUNGEON_1
db $7, $13, $4, UNKNOWN_DUNGEON_1
db $1, $9, $5, UNKNOWN_DUNGEON_1
db $3, $1, $6, UNKNOWN_DUNGEON_1
db $b, $3, $7, UNKNOWN_DUNGEON_1
db $0 ; signs
db $4 ; objects
object SPRITE_BA... |
School Directory Project/test_data/ben.asm | AriaPahlavan/Fall-2014-EE-306-Projects-Assembly-Binary | 1 | 246596 | <reponame>AriaPahlavan/Fall-2014-EE-306-Projects-Assembly-Binary<filename>School Directory Project/test_data/ben.asm<gh_stars>1-10
.ORIG x4050
.STRINGZ "BEN"
.END
|
agda/sn-calculus-props.agda | florence/esterel-calculus | 3 | 13301 | <reponame>florence/esterel-calculus<filename>agda/sn-calculus-props.agda
module _ where
open import Data.Nat using (ℕ ; _+_ ; _≤′_ ; suc)
open import Induction.Nat using (<′-rec)
open import Esterel.Lang.CanFunction
open import Function using (_∋_ ; _∘_ ; id ; _$_)
open import Data.Nat.Properties.Simple using ( +-com... |
Working Disassembly/General/Sprites/Robotnik/Map - Dragonfly.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 18152 | ; Dragonfly mappings
dc.w word_8DFEE-Map_Dragonfly
dc.w word_8E008-Map_Dragonfly
dc.w word_8E022-Map_Dragonfly
dc.w word_8E03C-Map_Dragonfly
dc.w word_8E056-Map_Dragonfly
dc.w word_8E070-Map_Dragonfly
dc.w word_8E078-Map_Dragonfly
dc.w word_8E080-Map_Dragonfly
dc.w word_8E08E-Map_Dragonfly
dc.w word... |
oeis/239/A239426.asm | neoneye/loda-programs | 11 | 29674 | ; A239426: 21*n^4 - 36*n^3 + 25*n^2 - 8*n + 1.
; Submitted by <NAME>
; 1,3,133,931,3441,9211,20293,39243,69121,113491,176421,262483,376753,524811,712741,947131,1235073,1584163,2002501,2498691,3081841,3761563,4547973,5451691,6483841,7656051,8980453,10469683,12136881,13995691,16060261,18345243,20865793,23637571,26676741,... |
Task/Address-of-a-variable/Ada/address-of-a-variable-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 2412 | <gh_stars>1-10
I : Integer;
for I'Address use 16#A100#;
|
Applications/Reminders/delete/delete lists/test.applescript | looking-for-a-job/applescript-examples | 1 | 3371 | <filename>Applications/Reminders/delete/delete lists/test.applescript<gh_stars>1-10
#!/usr/bin/env osascript
tell application "Reminders"
repeat with l in every list
tell l
if count of reminders is 0 then
delete list (name of l)
end if
end tell
end repeat
end tell
|
oeis/209/A209427.asm | neoneye/loda-programs | 11 | 95450 | <filename>oeis/209/A209427.asm<gh_stars>10-100
; A209427: T(n,k) = binomial(n,k)^n.
; 1,1,1,1,4,1,1,27,27,1,1,256,1296,256,1,1,3125,100000,100000,3125,1,1,46656,11390625,64000000,11390625,46656,1,1,823543,1801088541,64339296875,64339296875,1801088541,823543,1,1,16777216,377801998336,96717311574016,576480100000000,96717... |
audio/sfx/teleport_enter1_1.asm | adhi-thirumala/EvoYellow | 16 | 82517 | <filename>audio/sfx/teleport_enter1_1.asm<gh_stars>10-100
SFX_Teleport_Enter1_1_Ch1:
duty 1
unknownsfx0x10 23
unknownsfx0x20 15, 215, 0, 7
unknownsfx0x20 15, 183, 128, 6
unknownsfx0x20 15, 135, 0, 6
unknownsfx0x20 15, 71, 128, 5
unknownsfx0x20 15, 23, 0, 5
unknownsfx0x10 8
endchannel
|
src/Algebra/Linear/Space/Product.agda | felko/linear-algebra | 15 | 5291 | <filename>src/Algebra/Linear/Space/Product.agda
{-# OPTIONS --without-K --safe #-}
open import Algebra.Structures.Bundles.Field
open import Algebra.Linear.Structures.Bundles
module Algebra.Linear.Space.Product
{k ℓ} (K : Field k ℓ)
{a₁ ℓ₁} (V₁-space : VectorSpace K a₁ ℓ₁)
{a₂ ℓ₂} (V₂-space : VectorSpace K a₂ ℓ₂... |
i2c_periph.asm | conoror/picmicro | 1 | 6279 | ; This is code to show how to implement an I2C Peripheral on a midrange
; PIC (eg: PIC16F88). The enhanced midrange have more registers to solve
; some of the difficulties presented by the older I2C implementations.
; It is way harder than it looks to create a robust I2C Peripheral
; on these. (Note: "Peripheral" ... |
oeis/081/A081915.asm | neoneye/loda-programs | 11 | 161929 | <filename>oeis/081/A081915.asm
; A081915: a(n) = 4^n*(n^3 - 3n^2 + 2n + 384)/384.
; Submitted by <NAME>(s2)
; 1,4,16,65,272,1184,5376,25344,122880,606208,3014656,15007744,74448896,367001600,1795162112,8707375104,41875931136,199715979264,944892805120,4436701216768,20684562497536,95794950569984,440904162738176,2017603836... |
oeis/074/A074538.asm | neoneye/loda-programs | 11 | 16761 | ; A074538: a(n) = 2^n + 5^n + 7^n.
; Submitted by <NAME>(s1.)
; 3,14,78,476,3042,19964,133338,901796,6155682,42307244,292241898,2026156916,14085431922,98109721724,684326604858,4778079120836,33385518525762,233393453571404,1632228295438218,11417968672225556,79887633730301202,559022701243584284,3912205234378197978,2738066... |
src/test_repeat/test2.asm | hra1129/zma | 8 | 178438 |
org 0x0000
dw end_address
include "test2_inc.asm"
end_address:
|
src/day-19/adventofcode-day_19-main.adb | persan/advent-of-code-2020 | 0 | 14734 | <reponame>persan/advent-of-code-2020<gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
procedure Adventofcode.Day_19.Main is
begin
Put_Line ("Day-19");
end Adventofcode.Day_19.Main;
|
Plugins/DocumentationParserPlugin/src/main/antlr/JavadocParser.g4 | MagicalAsh/Weasel | 0 | 5612 | /*
[The "BSD licence"]
Copyright (c) 2016 <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... |
sk/sfx/BC.asm | Cancer52/flamedriver | 9 | 96699 | <reponame>Cancer52/flamedriver
Sound_BC_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Sound_BC_C8_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM3, Sound_BC_C8_FM3, $00, $10
; FM3 Data
Sound_BC_C8_FM3:
smpsSetvoice $00
Sound_BC_C8_Loop00:
dc.b nBb6, $16
smpsContinuo... |
prototyping/Properties.agda | gideros/luau | 1 | 10121 | <filename>prototyping/Properties.agda
{-# OPTIONS --rewriting #-}
module Properties where
import Properties.Contradiction
import Properties.Dec
import Properties.Equality
import Properties.Remember
import Properties.Step
import Properties.StrictMode
import Properties.TypeCheck
|
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_xr/CiscoXr_common.g4 | adiapel/batfish | 0 | 5123 | parser grammar CiscoXr_common;
options {
tokenVocab = CiscoXrLexer;
}
access_list_action
:
PERMIT
| DENY
;
address_family_footer
:
(
(
EXIT_ADDRESS_FAMILY
| EXIT
) NEWLINE
)?
;
asn_dotted
:
uint_legacy PERIOD uint_legacy
;
bgp_asn
:
asn = uint_legacy
| asn4b =... |
test/Succeed/ImplicitlyDottedVariable.agda | shlevy/agda | 1,989 | 9219 | open import Agda.Builtin.Nat
data Vec (A : Set) : Nat → Set where
[] : Vec A 0
cons : (n : Nat) → A → Vec A n → Vec A (suc n)
tail : {A : Set} (n : Nat) → Vec A (suc n) → Vec A n
tail n (cons n x xs) = xs
tail' : {A : Set} (n : Nat) → Vec A (suc n) → Vec A n
tail' 0 (cons 0 x []) = []
tail' (suc n) (cons (suc n)... |
src/mathutil.adb | Kurinkitos/Twizy-Security | 1 | 1244 | with Ada.Numerics.Generic_Elementary_Functions;
package body Mathutil with SPARK_Mode => Off is
package FloatingMath is
new Ada.Numerics.Generic_Elementary_Functions(FloatingNumber);
function ArcTan(Y : FloatingNumber; X : FloatingNumber) return FloatingNumber
is
begin
return FloatingMath.ArcTan(Y / X, 1.0... |
archive/agda-3/src/Oscar/Class/Leftunit.agda | m0davis/oscar | 0 | 599 |
open import Oscar.Prelude
open import Oscar.Class
open import Oscar.Class.Unit
module Oscar.Class.Leftunit where
module Leftunit
{𝔞 𝔟} {𝔄 : Ø 𝔞} {𝔅 : Ø 𝔟}
{𝔢} {𝔈 : Ø 𝔢}
{𝔞𝔟}
(_↤_ : 𝔅 → 𝔄 → Ø 𝔞𝔟) (let _↤_ = _↤_; infix 4 _↤_)
(ε : 𝔈)
(_◃_ : 𝔈 → 𝔄 → 𝔅) (let _◃_ = _◃_; infix 16 _◃_)
(x :... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_14_1406.asm | ljhsiun2/medusa | 9 | 165821 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x17d0, %rsi
lea addresses_A_ht+0xb6a0, %rdi
and $26565, %rdx
mov $108, %rcx
rep movsw
nop
nop
dec %rbp
lea addresses_WT_ht+0xc59a, %rsi
lea addresses_normal_ht+0x2030, %rdi
clflush (%rdi)
nop
nop... |
alloy4fun_models/trashltl/models/3/mc5XA7uwkev8rsKxi.als | Kaixi26/org.alloytools.alloy | 0 | 407 | open main
pred idmc5XA7uwkev8rsKxi_prop4 {
some f: File | eventually always f in Trash
}
pred __repair { idmc5XA7uwkev8rsKxi_prop4 }
check __repair { idmc5XA7uwkev8rsKxi_prop4 <=> prop4o } |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_405.asm | ljhsiun2/medusa | 9 | 242954 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x19935, %rax
clflush (%rax)
nop
nop
nop
sub %r15, %r15
vmovups (%rax), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $0, %xmm4, %r14
nop
nop
... |
src/clic-tty.ads | reznikmm/clic | 9 | 1567 | with ANSI;
package CLIC.TTY
with Preelaborate
is
-- Color/Formatting related subprograms. These won't have any
-- effect if a redirection of output is detected, or if global
-- flag Simple_Logging.Is_TTY is false.
-- Re-expose for clients
package ANSI renames Standard.ANSI;
function Is_TTY ret... |
main.asm | szymbar15/Mario-Kart-DS-ASM-hacks-from-YouTube-Videos | 1 | 18876 | <gh_stars>1-10
.nds
CustomStuffRegion equ 0x21DA340
Offset equ CustomStuffRegion-DefaultCustomDataStart
DefaultCustomDataStart equ 0x21773C0
KartCount equ #0x25
.open "arm9.bin",0x02000000
.thumb
; List of hooks
.org 0x2025EA8
dcd DefaultKartOrder
.org 0x2025E30
dcd MenuKartIDOrder
.org 0x2025E5C
dcd M... |
BasicIS4/Syntax/Common.agda | mietek/hilbert-gentzen | 29 | 8768 | <filename>BasicIS4/Syntax/Common.agda
-- Basic intuitionistic modal logic S4, without ∨, ⊥, or ◇.
-- Common syntax.
module BasicIS4.Syntax.Common where
open import Common.ContextPair public
-- Types, or propositions.
infixr 10 □_
infixl 9 _∧_
infixr 7 _▻_
data Ty : Set where
α_ : Atom → Ty
_▻_ : Ty → Ty → Ty
... |
test/bugs/LongList.agda | alhassy/agda | 3 | 10508 | <filename>test/bugs/LongList.agda
module LongList where
infixr 6 _∷_
data List (A : Set) : Set where
[] : List A
_∷_ : A -> List A -> List A
postulate
Bool : Set
t : Bool
long : List Bool
long =
t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷
t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ∷ t ... |
packages/hullrepl/HullReplProtocol/HullReplProtocol.scpt | fossabot/hull-connectors | 0 | 776 | <reponame>fossabot/hull-connectors<filename>packages/hullrepl/HullReplProtocol/HullReplProtocol.scpt
on open location hullReplURL
tell application "iTerm"
tell current window
create tab with default profile
tell current session
write text "hullrepl --url \"" & hullReplURL & "\""
end tell... |
programs/oeis/194/A194386.asm | neoneye/loda | 22 | 2972 | <gh_stars>10-100
; A194386: Numbers m such that Sum_{k=1..m} (<1/2 + k*r> - <k*r>) > 0, where r=sqrt(10) and < > denotes fractional part.
; 1,2,3,4,5,7,8,9,10,11,13,14,15,16,17,19,20,21,22,23,25,26,27,28,29,31,32,33,34,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69... |
grammars/BigDataScript.g4 | augustand/BigDataScript | 0 | 916 | grammar BigDataScript;
import BigDataScriptLexerRules;
//------------------------------------------------------------------------------
// Parser
//------------------------------------------------------------------------------
// Main program
programUnit : eol* statement+;
// End of line (semicolons are option... |
Coffeisseur/Like/SafariLikeBot-5-30.applescript | TylerKuster/Automator | 0 | 2900 | <reponame>TylerKuster/Automator<filename>Coffeisseur/Like/SafariLikeBot-5-30.applescript
on run {}
-- Initial delay to allow images to load
delay 5.332081
-- Set hashtag count to number of tabs to cycle through
-- 5 * 30 = 150, don't exceed 350/hour
set hashtagCount to 5
set likeCount to 30
set tabsToMostRe... |
oeis/052/A052106.asm | neoneye/loda-programs | 11 | 244157 | ; A052106: a(n) = lcm(n, n - phi(n)).
; Submitted by <NAME>
; 0,2,3,4,5,12,7,8,9,30,11,24,13,56,105,16,17,36,19,60,63,132,23,48,25,182,27,112,29,330,31,32,429,306,385,72,37,380,195,120,41,210,43,264,315,552,47,96,49,150,969,364,53,108,165,224,399,870,59,660,61,992,189,64,1105,1518,67,612,1725,1610,71,144,73,1406,525,76... |
Examples/ch15/Colorstr.asm | satadriver/LiunuxOS | 0 | 88331 | <filename>Examples/ch15/Colorstr.asm
TITLE Color String Example (ColorStr.asm)
; This program writes a multicolor string on the display.
; Last update: 8/21/01
INCLUDE Irvine16.inc
.data
ATTRIB_HI = 10000000b
string BYTE "ABCDEFGHIJKLMOP"
color BYTE 1
.code
main PROC
mov ax,@data
mov... |
Ada95/samples/ncurses2-genericputs.ads | CandyROM/external_libncurses | 1,167 | 22730 | ------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- ... |
src/main/antlr/com/manymobi/esdsl/antlr4/EsdslParser.g4 | manymobi/esdsl-core | 9 | 6188 | <reponame>manymobi/esdsl-core
parser grammar EsdslParser;
options { tokenVocab=EsdslLexer; }
esdslarray
: esdsl*
;
esdsl
: '==>' ID LINE_SKIPPING? request? json? (LINE_SKIPPING)?
;
request
: REQUEST_METHOD uri
;
uri
: '/'? path? query? WS?
;
path
: string*
;
query
: '?' se... |
computer-architecture/labs/seminar_6.asm | vampy/university | 6 | 82164 | <filename>computer-architecture/labs/seminar_6.asm<gh_stars>1-10
=== Seminary 6. 8086 Interrupts. ===
Interrupt - is an electrical signal sent through the control bus of
the cumputing system which signalises the occurence of an event
Interrupts can be generated by :
- hardware components: keyboard(when the user pres... |
tools/EmoMemory Code Gen.applescript | aureliojargas/emomemory | 1 | 1494 | -- Copy the email to the clipboard and run
on split(theText, theSeparator)
if theText is "" then return {}
set AppleScript's text item delimiters to theSeparator
set theList to text items of theText
set AppleScript's text item delimiters to ""
return theList
end split
on gen_code(email)
set magic to 84 -- D. ce... |
oeis/133/A133645.asm | neoneye/loda-programs | 11 | 21303 | ; A133645: Integers arising in A133677.
; Submitted by <NAME>
; 2,5,15,77,187,345,551,1107,1457,1855,2301,3337,4565,5251,6767,7597,8475,11397,12467,14751,18537,19895,21301,24257,25807,34277,36115,38001,41917,43947,46025,48151,52547,57135,64377,66887,80157,82955,85801
seq $0,45309 ; Primes congruent to {0, 2} mod 3.
mu... |
so/overlay/src/overlay6.asm | bmnascimento/von-neumann-simulator | 0 | 88738 | <filename>so/overlay/src/overlay6.asm
@ 600
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k... |
FactorialByFucntion.asm | ARBII-xD/AssemblyCodes | 0 | 23460 | <filename>FactorialByFucntion.asm<gh_stars>0
.data
msg1: .asciiz "Enter the num: "
out1: .asciiz "The result of factorial is: "
.text
.globl main
.ent main
main:
#print Enter the num
li $v0, 4
la $a0, msg1
syscall
#input the num
li $v0, 5
syscall
#$t0 <- num
move $t0, $v0
#pas... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1565.asm | ljhsiun2/medusa | 9 | 101885 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x13750, %r14
clflush (%r14)
and $31790, %rbp
movups (%r14), %xmm3
vpextrq $1, %xmm3, %rbx
nop
nop
nop
nop
nop
and $20254, %rsi
lea addresses_UC_ht+0xbb1, %r10
nop
nop
nop
nop
add $911, ... |
programs/oeis/257/A257113.asm | neoneye/loda | 22 | 103191 | <filename>programs/oeis/257/A257113.asm
; A257113: a(1) = 2, a(2) = 3; thereafter a(n) is the sum of all the previous terms.
; 2,3,5,10,20,40,80,160,320,640,1280,2560,5120,10240,20480,40960,81920,163840,327680,655360,1310720,2621440,5242880,10485760,20971520,41943040,83886080,167772160,335544320,671088640,1342177280,26... |
llvm-gcc-4.2-2.9/gcc/ada/a-dirval.adb | vidkidz/crossbridge | 1 | 13316 | <filename>llvm-gcc-4.2-2.9/gcc/ada/a-dirval.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
programs/oeis/229/A229279.asm | karttu/loda | 0 | 6561 | <reponame>karttu/loda
; A229279: Number of ascending runs in {1,...,5}^n.
; 0,5,40,275,1750,10625,62500,359375,2031250,11328125,62500000,341796875,1855468750,10009765625,53710937500,286865234375,1525878906250,8087158203125,42724609375000,225067138671875,1182556152343750,6198883056640625,32424926757812500
mov $1,$0
mov... |
1A/S6/Architecture/TPs/TP3_4/sieve_eratosthenes.asm | MOUDDENEHamza/ENSEEIHT | 4 | 25152 | <filename>1A/S6/Architecture/TPs/TP3_4/sieve_eratosthenes.asm
//-----------------------------------------------------------------------------------------
// Implement the sieve of eratosthenes, the purpose of this program is to eliminate from an
// array of n items all the items which are multile of another
//
// @aut... |
Function/Equals/Proofs.agda | Lolirofle/stuff-in-agda | 6 | 11277 | module Function.Equals.Proofs where
import Lvl
open import Data
import Functional
import Function.Equals
open import Logic.Predicate
open import Logic.Propositional
open import Structure.Setoid
open import Structure.Function
import Structure.Operator.Names as Names
open import Structure.Operator.Pr... |
Lab4/lab4d.adb | albinjal/ada_basic | 3 | 17414 | with Date_Package; use Date_Package;
with Ada.Text_IO; use Ada.Text_IO;
procedure Lab4d is
type Dates is array (1..10) of Date_Type;
procedure Test_Get(Date: out Date_Type) is
begin
loop
begin
Get(Date);
exit;
exception
when YEAR_ERROR => Put_Line("FEL: YEAR_ERROR");
when MONTH_ERR... |
oeis/268/A268730.asm | neoneye/loda-programs | 11 | 97303 | ; A268730: a(n) = Product_{k = 0..n} 2*(8*k + 5).
; Submitted by <NAME>(s1.)
; 10,260,10920,633360,46868640,4218177600,447126825600,54549472723200,7527827235801600,1159285394313446400,197078517033285888000,36656604168191175168000,7404634041974617383936000,1614210221150466589698048000,377725191749209181989343232000,9443... |
Palmtree.Math.Core.Implements/vs_build/x64_Debug/pmc_parse.asm | rougemeilland/Palmtree.Math.Core.Implements | 0 | 17855 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
msvcjmc SEGMENT
__7B7A869E_ctype@h DB 01H
__457DD326_basetsd@h DB 01H
__4384A2D9_corecrt_memcpy_s@h DB 01H
__4E51A221_corecrt_wstring@h DB 01H
__2140C079_string@h DB 01H
__1887E5... |
oeis/329/A329943.asm | neoneye/loda-programs | 11 | 83522 | ; A329943: Square array read by antidiagonals: T(n,k) is the number of right total relations between set A with n elements and set B with k elements.
; Submitted by <NAME>
; 1,3,1,7,9,1,15,49,27,1,31,225,343,81,1,63,961,3375,2401,243,1,127,3969,29791,50625,16807,729,1,255,16129,250047,923521,759375,117649,2187,1,511,65... |
1-source-files/original-sources/converted_source_files/a.tcode_3.asm | markmoxon/elite-a-beebasm | 16 | 82059 | <gh_stars>10-100
.msg_1
EQUB &00
EQUS &09, &0B, &01, &08, " ", &F1, "SK AC", &E9, "SS ME", &E1, &D7, &0A, &02, "1. ", &95, &D7, "2. SA", &FA
EQUS " ", &9A, " ", &04, &D7, "3. C", &F5, "A", &E0, "GUE", &D7, "4. DEL", &DD, "E", &D0, "FI", &E5, &D7, "5. E"
EQUS "X", &DB, &D7
EQUB &00
EQUS &0C, "WHICH ", &97, "?"
... |
Lab_6/C_Task_1.a51 | DeeptimaanB/8051_Programs | 0 | 87008 | <gh_stars>0
;Write an 8051 assembly language program to toggle all the bits of P1 for every 1 Seconds.
;Assume the crystal frequency as 11.0592 MHz. Verify the output using ESA 8051 Microcontroller kit.
ORG 0000H
MOV P1,#00H ;o/p
BACK: MOV A,#55H
MOV P1,A
ACALL DELAY
MOV A, #0AAH
MOV P1,A
... |
Monoids.agda | jmchapman/Relative-Monads | 21 | 11521 | module Monoids where
open import Library
record Monoid {a} : Set (lsuc a) where
field S : Set a
ε : S
_•_ : S → S → S
lid : ∀{m} → ε • m ≅ m
rid : ∀{m} → m • ε ≅ m
ass : ∀{m n o} → (m • n) • o ≅ m • (n • o)
infix 10 _•_
Nat+Mon : Monoid
Nat+Mon = record {
S = ℕ;... |
_anim/SBZ Spin Platform Conveyor.asm | kodishmediacenter/msu-md-sonic | 9 | 240137 | <reponame>kodishmediacenter/msu-md-sonic
; ---------------------------------------------------------------------------
; Animation script - platform on conveyor belt (SBZ)
; ---------------------------------------------------------------------------
Ani_SpinConvey: dc.w @spin-Ani_SpinConvey
dc.w @still-Ani_SpinConvey... |
oeis/293/A293163.asm | neoneye/loda-programs | 11 | 167408 | <filename>oeis/293/A293163.asm<gh_stars>10-100
; A293163: a(n) = A010060(3n+1).
; 1,1,1,0,1,1,1,1,1,1,1,0,1,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,0,0,0,1,1,1,0,1,0,0,0,0,0,0,0,1,0,0,0,1,1,1,0,1,1,1,1,1,1,1,0,1,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0
mul $0,3
add $0,1
seq $0,120 ; 1's-co... |
lib/chibiakumas/SrcALL/V1_Functions.asm | gilbertfrancois/msx | 0 | 16062 | <reponame>gilbertfrancois/msx
ifdef BuildCPC
read "..\SrcCPC\CPC_V1_Functions.asm"
endif
ifdef BuildMSX
read "..\SrcMSX\MSX_V1_Functions.asm"
endif
ifdef BuildTI8
read "..\SrcTI\TI_V1_Functions.asm"
endif
ifdef BuildZX8 ;ZX81
read "..\SrcZX8\ZX8_V1_Functions.asm"
endif
ifdef BuildZXS
... |
linux64/lesson03.asm | mashingan/notes-asmtutor | 1 | 165331 | format ELF64 executable 3
entry start
include 'procs.inc'
segment readable writeable
msg db 'Hello the new brave isekai!', 0Ah, 0
segment readable executable
start:
mov rbx, msg
mov rax, rbx
.nextchar:
cmp byte [rax], 0
jz .finished
inc rax
jmp .nextchar
.finish... |
other.7z/SFC.7z/SFC/ソースデータ/MarioKart/demo-j.asm | prismotizm/gigaleak | 0 | 99795 | Name: demo-j.asm
Type: file
Size: 7315
Last-Modified: '1992-07-14T15:00:00Z'
SHA-1: 86F098FD765C15CC649E9B0916088A95FEA07BDC
Description: null
|
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/mak.lzh/mak/condrv.asm | prismotizm/gigaleak | 0 | 23447 | Name: condrv.asm
Type: file
Size: 24663
Last-Modified: '1992-02-13T07:47:49Z'
SHA-1: E68699AAFD7EF40093A9107450CB2D4C9B565BD1
Description: null
|
Task/Calendar/Ada/calendar-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 30749 | <filename>Task/Calendar/Ada/calendar-1.ada<gh_stars>1-10
with Ada.Calendar.Formatting;
package Printable_Calendar is
subtype String20 is String(1 .. 20);
type Month_Rep_Type is array (Ada.Calendar.Month_Number) of String20;
type Description is record
Weekday_Rep: String20;
Month_Rep: Month_Rep_T... |
antlr/expr/Expr.g4 | kajigor/study | 0 | 7708 | <filename>antlr/expr/Expr.g4
// Expressions
grammar Expr;
start : e WS EOF;
e : e '*' e
| e '+' e
| NUM
;
NUM : [1-9][0-9]*
| '0'
;
WS : [ \t\n\r]*;
|
programs/oeis/228/A228219.asm | jmorken/loda | 1 | 97096 | <reponame>jmorken/loda
; A228219: Number of second differences of arrays of length 4 of numbers in 0..n.
; 15,49,103,177,271,385,519,673,847,1041,1255,1489,1743,2017,2311,2625,2959,3313,3687,4081,4495,4929,5383,5857,6351,6865,7399,7953,8527,9121,9735,10369,11023,11697,12391,13105,13839,14593,15367,16161,16975,17809
mo... |
Scripts/fmClip - Clipboard FM Objects to XML.applescript | jwillinghalpern/FmClipTools | 12 | 2606 | <reponame>jwillinghalpern/FmClipTools<filename>Scripts/fmClip - Clipboard FM Objects to XML.applescript
-- fmClip - Clipboard FM Objects to XML
-- version 4.0.1, <NAME>, <NAME>
-- 4.0.1 - 2018-04-20 ( dshockley/eshagdar ): if layout objects, no modification. Others default to prettify.
-- 4.0 - 2018-04-04 ( dshockley... |
programs/oeis/186/A186438.asm | jmorken/loda | 1 | 20705 | <filename>programs/oeis/186/A186438.asm
; A186438: Positive numbers whose squares end in two identical digits.
; 10,12,20,30,38,40,50,60,62,70,80,88,90,100,110,112,120,130,138,140,150,160,162,170,180,188,190,200,210,212,220,230,238,240,250,260,262,270,280,288,290,300,310,312,320,330,338,340,350,360,362,370,380,388,390,... |
engine/items/itemfinder.asm | adhi-thirumala/EvoYellow | 16 | 240632 | HiddenItemNear:
ld hl, HiddenItemCoords
ld b, 0
.loop
ld de, 3
ld a, [wCurMap]
call IsInRestOfArray
ret nc ; return if current map has no hidden items
push bc
push hl
ld hl, wObtainedHiddenItemsFlags
ld c, b
ld b, FLAG_TEST
predef FlagActionPredef
ld a, c
pop hl
pop bc
inc b
and a
inc hl
ld d, [hl]
... |
kv-avm-tree_rewrite.ads | davidkristola/vole | 4 | 5011 | <reponame>davidkristola/vole<filename>kv-avm-tree_rewrite.ads
with Ada.Text_IO;
with kv.avm.vole_tree; use kv.avm.vole_tree;
with kv.avm.Tree_Visitors; use kv.avm.Tree_Visitors;
package kv.avm.Tree_Rewrite is
type Rewriter_Class is limited new Visitor_Class with
record
Temp : Natural := 0;
... |
test/interaction/Issue2769.agda | shlevy/agda | 2 | 540 | <filename>test/interaction/Issue2769.agda
-- Andreas, 2017-10-11, issue #2769
-- Patch https://github.com/agda/agda/commit/7fc73607703e0373beaf65ba05fb1911b6d84a5e
--
-- Re #2495: make mutual info safer by distinguishing Nothing and Just []
--
-- Nothing means: never computed.
-- Just [] means: computed, but non... |
oeis/190/A190002.asm | neoneye/loda-programs | 11 | 979 | ; A190002: a(n) = n + [n*s/r] + [n*t/r]; r=1, s=(sinh(1))^2, t=(cosh(1))^2.
; Submitted by <NAME>
; 4,8,14,18,22,28,32,38,42,46,52,56,60,66,70,76,80,84,90,94,100,104,108,114,118,122,128,132,138,142,146,152,156,160,166,170,176,180,184,190,194,200,204,208,214,218,222,228,232,238,242,246,252,256,260,266,270,276,280,284,29... |
test/asset/agda-stdlib-1.0/Data/Integer/Divisibility.agda | omega12345/agda-mode | 0 | 1606 | <reponame>omega12345/agda-mode
------------------------------------------------------------------------
-- The Agda standard library
--
-- Unsigned divisibility
------------------------------------------------------------------------
-- For signed divisibility see `Data.Integer.Divisibility.Signed`
{-# OPTIONS --witho... |
y2s2/csa/practicals/prac-5/8-loop-ex-6.asm | ouldevloper/university | 8 | 23908 | ; Display "9" to "1", jump 1 numbers every time.
.MODEL SMALL
.STACK 100
.DATA
CHAR DB "9"
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
MOV CX, 5
L1:
MOV AH, 02H
MOV DL, CHAR
INT 21H
DEC CHAR
DEC CHAR
LOOP L1
MOV AX,4C00H
INT 21H
MAIN END... |
data/pokedex_order.asm | longlostsoul/EvoYellow | 16 | 98008 | PokedexOrder: ;order shown in game is decided by constants instead elsewhere
db DEX_KANGASKHAN
db DEX_NIDORAN_M
db DEX_CLEFAIRY
db DEX_SPEAROW
db DEX_VOLTORB
db DEX_NIDOKING
db DEX_SLOWBRO
db DEX_LICKITUNG
db DEX_EXEGGCUTE
db DEX_GRIMER
db DEX_GENGAR
db DEX_NIDORAN_F
db DEX_NIDOQUEEN
db DEX_CUBONE
db DEX... |
src/Data/PropFormula/ExperimentalSyntax.agda | jonaprieto/agda-prop | 13 | 2409 | <reponame>jonaprieto/agda-prop<filename>src/Data/PropFormula/ExperimentalSyntax.agda
------------------------------------------------------------------------------
-- Agda-Prop Library.
-- Syntax Experiment definitions.
------------------------------------------------------------------------------
open import Data.Nat... |
Palmtree.Math.Core.Implements/vs_build/x64_Debug/pmc_tostring.asm | rougemeilland/Palmtree.Math.Core.Implements | 0 | 245423 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
msvcjmc SEGMENT
__7B7A869E_ctype@h DB 01H
__457DD326_basetsd@h DB 01H
__4384A2D9_corecrt_memcpy_s@h DB 01H
__4E51A221_corecrt_wstring@h DB 01H
__2140C079_string@h DB 01H
__1887E5... |
notes/setoids/LeibnizEquality.agda | asr/fotc | 11 | 15198 | <filename>notes/setoids/LeibnizEquality.agda
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
module LeibnizEquality where
------------------------------------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.