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 |
|---|---|---|---|---|
test/Succeed/Issue286.agda | bennn/agda | 0 | 1754 | <filename>test/Succeed/Issue286.agda
{-# OPTIONS --universe-polymorphism #-}
module Issue286 where
open import Common.Level
data Bool : Set where
true false : Bool
{-# BUILTIN BOOL Bool #-}
{-# BUILTIN TRUE true #-}
{-# BUILTIN FALSE false #-}
data _≡_ {ℓ : Level} {A : Set ℓ} : A → A → Set ℓ where
refl : {... |
Mail2Reminders.applescript | gorla/mail2reminders | 2 | 1791 | tell application "Mail"
# check if the user selected an email. If not exit
if selection = {} then
display dialog "mail2reminders: You should select an email" buttons {"OK"}
return
end if
# get URL and subject of selected mail
set selected_mails to selection
set selected_mail to item 1 of selected_mails
s... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/simple_hello_world_with_renamed.adb | ouankou/rose | 488 | 18412 | <gh_stars>100-1000
with IO;
procedure Simple_Hello_World_With_Renamed is
begin
IO.Put_Line("Hello, world!");
end Simple_Hello_World_With_Renamed;
|
oeis/111/A111911.asm | neoneye/loda-programs | 11 | 90322 | <reponame>neoneye/loda-programs
; A111911: a(n) = (4*n+1)!/( (2*n+1)! * ((n+1)!)^2 ).
; Submitted by <NAME>
; 1,5,84,2145,68068,2469012,98062800,4159088505,185392049700,8592433629780,410935420867920,20167102448028900,1011343194858833424,51656474975499371600,2680436673901084633920,141007991981718802584105,75077108281930... |
examples/outdated-and-incorrect/clowns/Isomorphism.agda | asr/agda-kanso | 1 | 12395 | <filename>examples/outdated-and-incorrect/clowns/Isomorphism.agda
module Isomorphism where
import Sets
open Sets
infix 20 _≅_
data _≅_ (A B : Set) : Set where
iso : (i : A -> B)(j : B -> A) ->
(forall x -> j (i x) == x) ->
(forall y -> i (j y) == y) ->
A ≅ B
refl-≅ : (A : Set) -> A ≅ A
ref... |
oeis/198/A198404.asm | neoneye/loda-programs | 11 | 161496 | ; A198404: 8^n*n^8.
; 0,8,16384,3359232,268435456,12800000000,440301256704,12089663946752,281474976710656,5777633090469888,107374182400000000,1841328767004311552,29548117155177824256,448452706436800053248,6490588908866265677824,90173697372979200000000,1208925819614629174706176,15708009305957282367930368,198517961374844... |
programs/oeis/122/A122657.asm | karttu/loda | 0 | 20738 | <filename>programs/oeis/122/A122657.asm
; A122657: a(n) = if n mod 2 = 1 then (n^2-1)*n^3/4 else n^5/4.
; 0,0,8,54,256,750,1944,4116,8192,14580,25000,39930,62208,92274,134456,189000,262144,353736,472392,617310,800000,1018710,1288408,1606044,1990656,2437500,2970344,3582306,4302592,5121690,6075000,7149840,8388608,9774864... |
linux/int.asm | seanmabli/assemblyfun | 1 | 82619 | section .text
global _start ; call
_start:
mov eax, [data] ; move data into eax
add eax, 0x30 ; add 0
mov [data], eax ; move eax into data
mov eax, 4 ; print command
mov ecx, data ; print data
mov edx, len ; print length
int 0x80 ; run in kernel
mov eax, 1 ... |
alloy4fun_models/trashltl/models/3/tRDzp7vDNnPepbprn.als | Kaixi26/org.alloytools.alloy | 0 | 344 | open main
pred idtRDzp7vDNnPepbprn_prop4 {
some f:File | eventually f in Trash
}
pred __repair { idtRDzp7vDNnPepbprn_prop4 }
check __repair { idtRDzp7vDNnPepbprn_prop4 <=> prop4o } |
ASM/src/skulltula_hud.asm | ThomasJRyan/OoT-Randomizer | 0 | 171509 | <filename>ASM/src/skulltula_hud.asm
skulltula_draw_count:
addiu sp, sp, -0x10
sw ra, 0(sp)
jal draw_skulltula_count
nop
lw t6, 0x1C44(s6)
lui t8, 0xDB06
lw ra, 0(sp)
jr ra
addiu sp,sp, 0x10 |
legend-engine-language-pure-grammar/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/CodeLexerGrammar.g4 | dave-wathen/legend-engine | 32 | 3072 | lexer grammar CodeLexerGrammar;
import CoreFragmentGrammar;
fragment ParserPrefix: '\n###';
SECTION_START: ParserPrefix ValidString;
NON_HASH: ~[#];
HASH: '#';
// --------------------------------------- INVALID ---------------... |
oslab6/obj/user/faultdie.asm | jasha64/OperatingSystems-lab | 0 | 16991 | <reponame>jasha64/OperatingSystems-lab
obj/user/faultdie.debug: 文件格式 elf32-i386
Disassembly of section .text:
00800020 <_start>:
// starts us running when we are initially loaded into a new environment.
.text
.globl _start
_start:
// See if we were started with arguments on the stack
cmpl $USTACKTOP, %esp
8... |
Cubical/Foundations/HLevels'.agda | Schippmunk/cubical | 0 | 6227 | <gh_stars>0
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Foundations.HLevels' where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Data.Nat
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Univalence
open import Cubica... |
llvm-gcc-4.2-2.9/gcc/ada/debug.adb | vidkidz/crossbridge | 1 | 9109 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
potter_tongue_libs/io/accio_bombarda.nasm | tralf-strues/potter-tongue-x86 | 4 | 83322 | ;------------------------------------------------------------------------------
; Standard potter-tongue function, that reads decimal number from STDIN.
;
; Expects: [RBP + 16] = precision
; [RBP + 24] = i/o buffer address
;
; Returns: RAX = read number
;
; Changes: RAX, RBX, RCX, RDI, RSI, R12
;-----------... |
plutus-core/generators/PlutusCore/Generators/NEAT/Type.agda | kk-anlm/plutus | 0 | 15946 | <reponame>kk-anlm/plutus<filename>plutus-core/generators/PlutusCore/Generators/NEAT/Type.agda
-- This file is the source Agda file
-- Edit this file not Type.hs
-- The warning below will be written to Type.hs
module PlutusCore.Generators.NEAT.Type where
-- warning to be written to Haskell file:
{-# FOREIGN AGDA2HS
{-... |
basics/double-precision/main.asm | rodrigocam/assembly-mips | 0 | 98218 | .# ------------------- harmonic series -----------------
.data
counter: .double 1
constant: .double 1
initial_result: .double 0
message: .asciiz "The harmonic series sum is: "
.text
# -- input number of terms --
li $v0, 7
syscall
l.d $f2, counter # loop counter i = 1
l.d $f4, constant # constant 1
l.d $f8, ... |
wram.asm | chaos-lord/CryEd | 1 | 21213 | <filename>wram.asm
section "Variables",wram0[$c000]
SpriteBuffer: ds 40*4 ; 40 sprites, 4 bytes each
sys_GBType: ds 1
sys_Errno: ds 1
sys_CurrentFrame: ds 1
sys_ResetTimer: ds 1
sys_btnPress: ds 1
sys_btnHold: ds 1
sys_VBlankFlag: ds 1
sys_TimerFlag: ds 1
sys_LCDCFlag: ds 1
sys_MenuPos: ds 1
sy... |
out/Sum/Equality.agda | JoeyEremondi/agda-soas | 39 | 13138 | <reponame>JoeyEremondi/agda-soas
{-
This second-order equational theory was created from the following second-order syntax description:
syntax Sum | S
type
_⊕_ : 2-ary | l30
term
inl : α -> α ⊕ β
inr : β -> α ⊕ β
case : α ⊕ β α.γ β.γ -> γ
theory
(lβ) a : α f : α.γ g : β.γ |> case (inl(a), x.f... |
_tests/trkleene/Gold/t3.g4 | SKalt/Domemtech.Trash | 0 | 1588 | grammar t3;
xx : yy * ;
yy: 'b' ;
|
test/Succeed/Issue3960b.agda | shlevy/agda | 1,989 | 5485 | <reponame>shlevy/agda
open import Agda.Builtin.Equality
open import Agda.Builtin.Sigma
data Unit : Set where
unit : Unit
record _∼_ (From To : Set) : Set where
field
to : From → To
from : To → From
to-from : ∀ {x} → to (from x) ≡ x
postulate
P : {A : Set} → A → Set
f : {A B : Set} (A∼B :... |
Structure/Operator/Proofs/Util.agda | Lolirofle/stuff-in-agda | 6 | 5813 | module Structure.Operator.Proofs.Util where
import Lvl
open import Data
open import Data.Tuple
open import Functional hiding (id)
open import Function.Equals
import Function.Names as Names
import Lang.Vars.Structure.Operator
open Lang.Vars.Structure.Operator.Select
open import Logic.IntroInstances
ope... |
VC2010Samples/Compiler/MASM/PrimesStep3/sieve.asm | alonmm/VCSamples | 300 | 173529 | <filename>VC2010Samples/Compiler/MASM/PrimesStep3/sieve.asm<gh_stars>100-1000
; Copyright (c) Microsoft Corporation. All rights reserved.
.386
.model flat, c
INCLUDE sieve.inc
; Custom Build Step (for sieve.asm/sieve.obj), including a listing file placed in intermediate directory
; but without Source Browser inform... |
Main-script.scpt | chris1111/Terminal-Profiler | 2 | 2529 | # Apple Script by chris1111
# Copyright (c) 2021 chris1111 All rights reserved.
set Term to choose from list {"Pro", "Homebrew", "Basic", "Grass", "Man Page", "Novel", "Ocean", "Red Sands", "Silver Aerogel", "Solid Colors"} with title "Setup Terminal Profiles" with prompt "Which profiles do you want to uses?" default ... |
programs/oeis/165/A165972.asm | neoneye/loda | 22 | 240542 | <gh_stars>10-100
; A165972: Nonprimes k such that the sum of the smallest and largest divisor of k is prime.
; 1,4,6,10,12,16,18,22,28,30,36,40,42,46,52,58,60,66,70,72,78,82,88,96,100,102,106,108,112,126,130,136,138,148,150,156,162,166,172,178,180,190,192,196,198,210,222,226,228,232,238,240,250,256,262,268,270,276
seq... |
sylph-parser/src/main/antlr/ideal/sylph/parser/antlr4/SqlBase.g4 | yabola/sylph | 0 | 185 | <filename>sylph-parser/src/main/antlr/ideal/sylph/parser/antlr4/SqlBase.g4
/*
* Copyright (C) 2018 The Sylph Authors
*
* 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... |
inet-aura.ads | annexi-strayline/ASAP-INET | 0 | 15673 | <filename>inet-aura.ads
-- INET AURA Configuration Manifest
package INET.AURA is
package Configuration is
Enable_TLS: constant Boolean := False;
end Configuration;
package Build is
package External_Libraries is
LibreSSL_libtls: constant String
:= (if Configuration.Ena... |
solutions/38 - Seek and Destroy 3/size-16_speed-31.asm | michaelgundlach/7billionhumans | 45 | 84841 | -- 7 Billion Humans (2212:2214M) --
-- 38: Seek and Destroy 3 --
-- Author: DeepAQ
-- Size: 16
-- Speed: 31
-- Speed Tests: 29, 30, 32, 32, 31, 29, 32, 31, 31, 33, 31, 30, 32
mem2 = nearest hole
mem3 = nearest shredder
a:
step n
if n == wall:
pickup mem1
b:
mem4 = nearest worker
if mem4 == nothing:
giveto mem3
... |
src/main/fragment/mos6502-undoc/_stackpullpadding_7.asm | jbrandwood/kickc | 2 | 21998 | <reponame>jbrandwood/kickc<gh_stars>1-10
tsx
txa
axs #-7
txs |
Brick_Breaker.asm | mrizwan18/Brick-Breaker-game-in-Assembly-8086 | 0 | 247756 | [org 0x0100]
jmp start
old_kbisr: dd 0
old_timer: dd 0
bar_col: dw 30
ball_row: dw 22
ball_col: dw 37
bricks_arr: dw 1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1
; up_0,down_2,r_up_4,r_d_6,l_u_8,l_d_10
ball_dir: dw 1, 0, 0 , 0, 0, 0
life: dw 10
starter: dw 0
score: dw 0
lives_str: db 'lives: ' ;... |
ada-strings-wide_wide_fixed.ads | mgrojo/adalib | 15 | 9085 | -- Standard Ada library specification
-- Copyright (c) 2003-2018 <NAME> <<EMAIL>>
-- 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-... |
src/dsl/Elsa.Dsl/Dsl/ElsaParser.g4 | elsa-workflows/experimental | 4 | 3099 | parser grammar ElsaParser;
options { tokenVocab = ElsaLexer; }
program
: (stat | LINE_COMMENT)*
;
trigger
: TRIGGER object
;
object
: ID objectInitializer?
;
newObject
: NEW ID ('<' type '>')? '(' args? ')'
;
varDecl
: VARIABLE... |
oeis/346/A346759.asm | neoneye/loda-programs | 11 | 95660 | <filename>oeis/346/A346759.asm
; A346759: a(n) = Sum_{d|n} floor(d^2/4).
; 0,1,2,5,6,12,12,21,22,32,30,52,42,62,64,85,72,113,90,136,124,152,132,212,162,212,204,262,210,324,240,341,304,362,324,477,342,452,424,552,420,624,462,640,590,662,552,852,612,813,724,892,702,1024,792,1062,904,1052,870,1364
add $0,1
mov $2,$0
lpb ... |
Testing/test_while.asm | DW0RKiN/M4_FORTH | 2 | 29092 | ; vvvvv
; ^^^^^
ORG 0x8000
; === b e g i n ===
ld (Stop+1), SP ; 4:20 init storing the original SP value when the "bye" word is used
ld L, 0x1A ; 2:7 init Upper screen
call 0x1605 ; 3:17 init Open channel
ld HL, 60000 ; 3:10 init Init Ret... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_21829_700.asm | ljhsiun2/medusa | 9 | 28332 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_21829_700.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1017c, %rsi
lea addresses_A_ht+0x1ae7c, %rdi
nop
add %r8, %r8
mov $60, %rcx
rep movsb... |
programs/oeis/269/A269642.asm | jmorken/loda | 1 | 82559 | <filename>programs/oeis/269/A269642.asm
; A269642: Number of length-5 0..n arrays with no repeated value differing from the previous repeated value by other than plus two or minus 1.
; 12,159,796,2637,6876,15307,30444,55641,95212,154551,240252,360229,523836,741987,1027276,1394097,1858764,2439631,3157212,4034301,5096092... |
maps/RuinsOfAlphOmanyteItemRoom.asm | Dev727/ancientplatinum | 28 | 91926 | <reponame>Dev727/ancientplatinum
object_const_def ; object_event constants
const RUINSOFALPHOMANYTEITEMROOM_POKE_BALL1
const RUINSOFALPHOMANYTEITEMROOM_POKE_BALL2
const RUINSOFALPHOMANYTEITEMROOM_POKE_BALL3
const RUINSOFALPHOMANYTEITEMROOM_POKE_BALL4
RuinsOfAlphOmanyteItemRoom_MapScripts:
db 0 ; scene scripts
... |
a2.agda | felixwellen/adventOfCode | 0 | 8577 | <reponame>felixwellen/adventOfCode
{-
Day 2 task of https://adventofcode.com/
-}
module a2 where
open import Agda.Builtin.IO using (IO)
open import Agda.Builtin.Unit using (⊤)
open import Agda.Builtin.String using (String; primShowNat; primStringAppend)
open import Agda.Builtin.Equality
open import Data.Nat
open im... |
out/GroupAction/Equality.agda | JoeyEremondi/agda-soas | 39 | 16736 | <reponame>JoeyEremondi/agda-soas
{-
This second-order equational theory was created from the following second-order syntax description:
syntax GroupAction | GA
type
* : 0-ary
X : 0-ary
term
unit : * | ε
add : * * -> * | _⊕_ l20
neg : * -> * | ⊖_ r40
act : * X -> X | _⊙_ r30
theory
(εU⊕ᴸ) a ... |
programs/oeis/172/A172968.asm | karttu/loda | 0 | 240943 | <filename>programs/oeis/172/A172968.asm
; A172968: a(n) = 7*a(n-1) - a(n-2) for n>1, a(0)=1, a(1)=2.
; 1,2,13,89,610,4181,28657,196418,1346269,9227465,63245986,433494437,2971215073,20365011074,139583862445,956722026041,6557470319842,44945570212853,308061521170129,2111485077978050,14472334024676221
mul $0,2
sub $0,1
mo... |
src/common/trendy_terminal-maps.adb | pyjarrett/archaic_terminal | 3 | 23870 | -------------------------------------------------------------------------------
-- Copyright 2021, The Trendy Terminal Developers (see AUTHORS file)
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the Lic... |
source/vampire-unlock.adb | ytomino/vampire | 1 | 6175 | <reponame>ytomino/vampire
-- The Village of Vampire by YT, このソースコードはNYSLです
with Tabula.Unlock;
with Vampire.Configurations;
procedure Vampire.Unlock is
begin
Tabula.Unlock (
Lock_Name => Configurations.Lock_Name'Access,
Debug_Log_File_Name => Configurations.Debug_Log_File_Name'Access);
end Vampire.Unlock;
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1323.asm | ljhsiun2/medusa | 9 | 175221 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x38d9, %rsi
lea addresses_UC_ht+0x16499, %rdi
nop
nop
nop
xor $39771, %r14
mov $20, %rcx
rep movsb
cmp %r15, %r15
lea addresses_WC_ht+0x4714, %r13
nop
nop
nop
nop
nop
cmp ... |
programs/oeis/013/A013708.asm | neoneye/loda | 22 | 95817 | <reponame>neoneye/loda<gh_stars>10-100
; A013708: a(n) = 3^(2n+1).
; 3,27,243,2187,19683,177147,1594323,14348907,129140163,1162261467,10460353203,94143178827,847288609443,7625597484987,68630377364883,617673396283947,5559060566555523,50031545098999707
mov $1,9
pow $1,$0
mul $1,3
mov $0,$1
|
system/systemLanguage.applescript | adriannier/applescript-functions | 7 | 3440 | <reponame>adriannier/applescript-functions<filename>system/systemLanguage.applescript
(*
Returns the default language.
*)
systemLanguage()
on systemLanguage()
try
return first word of (do shell script "defaults read NSGlobalDomain AppleLanguages")
on error
return "en"
end try
end systemLanguage |
alloy4fun_models/trashltl/models/4/Tb6FmsLdjZh9AfKvR.als | Kaixi26/org.alloytools.alloy | 0 | 83 | <gh_stars>0
open main
pred idTb6FmsLdjZh9AfKvR_prop5 {
always (some f: File | f not in Trash implies after f in Trash)
}
pred __repair { idTb6FmsLdjZh9AfKvR_prop5 }
check __repair { idTb6FmsLdjZh9AfKvR_prop5 <=> prop5o } |
alloy4fun_models/trashltl/models/9/R7Zhx7hoDvWNEfCLN.als | Kaixi26/org.alloytools.alloy | 0 | 886 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idR7Zhx7hoDvWNEfCLN_prop10 {
always (all f:Protected | always after f in Protected)
}
pred __repair { idR7Zhx7hoDvWNEfCLN_prop10 }
check __repair { idR7Zhx7hoDvWNEfCLN_prop10 <=> prop10o } |
src/FRP/LTL/RSet/Stateless.agda | agda/agda-frp-ltl | 21 | 17149 | open import FRP.LTL.RSet.Core using ( RSet )
module FRP.LTL.RSet.Stateless where
infixr 1 _⇒_
_⇒_ : RSet → RSet → RSet
(A ⇒ B) t = A t → B t
|
programs/oeis/304/A304159.asm | karttu/loda | 1 | 9954 | ; A304159: a(n) = 2*n^3 - 4*n^2 + 6*n - 2 (n>=1).
; 2,10,34,86,178,322,530,814,1186,1658,2242,2950,3794,4786,5938,7262,8770,10474,12386,14518,16882,19490,22354,25486,28898,32602,36610,40934,45586,50578,55922,61630,67714,74186,81058,88342,96050,104194,112786,121838,131362,141370,151874,162886,174418,186482,199090,212254... |
CNN.agda | ashinkarov/agda-array | 6 | 641 | <reponame>ashinkarov/agda-array
open import Array
open import Array.APL
open import Data.Nat
open import Data.Nat.Properties
open import Data.Nat.DivMod hiding (_/_)
open import Data.Fin hiding (_≤_; _<_; _+_) --using (Fin; zero; suc; toℕ)
open import Data.Vec
open import Data.Vec.Properties
open import Relation.Bina... |
9LAB/test3.asm | RustyRaptor/compilers | 0 | 84473 | <reponame>RustyRaptor/compilers
# Package foo
.data # start of the DATA section, strings first
_NL: .asciiz "\n "# New line
.align 2 # start all of global variable aligned
y: .word 7 # define a global variable with initial value
Z: .space 4 # define a global variable
A: .space 400 # define a global variable
x:... |
oeis/159/A159480.asm | neoneye/loda-programs | 11 | 171370 | <filename>oeis/159/A159480.asm
; A159480: Numerator of Hermite(n, 5/12).
; Submitted by <NAME>
; 1,5,-47,-955,5377,301925,-426095,-132562075,-448058495,74115462725,660919218385,-50058537070075,-773740706311295,39381872496988325,921130663592313745,-35091274159002662875,-1170277487474712158975,34573760393797506837125,160... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/bindo-units.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 788 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
org.alloytools.alloy.diff/misc/inheritance/extends1_flattened_direct.als | jringert/alloy-diff | 1 | 1076 | module extends1_flattened_direct
sig A {children : A + B + C+ D}
sig B {children : A + B + C+ D}
sig C {children : A + B + C+ D}
sig D {children : A + B + C+ D}
run {}
|
source/ada83/sequenio.ads | ytomino/drake | 33 | 30915 | pragma License (Unrestricted);
with Ada.Sequential_IO;
generic package Sequential_IO renames Ada.Sequential_IO;
|
3-mid/opengl/source/lean/shader/opengl-program-lit.ads | charlie5/lace-alire | 1 | 316 | with
openGL.Palette,
openGL.Light;
package openGL.Program.lit
--
-- Models an openGL program which uses lighting.
--
is
type Item is new openGL.Program.item with private;
type View is access all Item'Class;
------------
-- Uniforms
--
overriding
procedure camera_Site_is (Self : in... |
source/xml/sax/xml-sax-attributes.ads | svn2github/matreshka | 24 | 18071 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
tools/shiftjis/gen_shiftjis.adb | svn2github/matreshka | 24 | 14831 | <filename>tools/shiftjis/gen_shiftjis.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
part1/lists/foldr-monoid-foldl.agda | akiomik/plfa-solutions | 1 | 11699 | <reponame>akiomik/plfa-solutions<gh_stars>1-10
module foldr-monoid-foldl where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; sym; trans; cong)
open Eq.≡-Reasoning
open import lists using (List; []; _∷_; [_]; [_,_]; [_,_,_]; foldr; IsMonoid)
open IsMonoid
open import foldl using (foldl)
... |
Task/Polymorphism/Ada/polymorphism-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 29515 | <filename>Task/Polymorphism/Ada/polymorphism-2.ada
with Ada.Text_Io; use Ada.Text_Io;
package body Shapes is
-----------
-- Print --
-----------
procedure Print (Item : in Point) is
begin
Put_line("Point");
end Print;
----------
-- Setx --
----------
function Setx (Item : in Poi... |
tools-src/gnu/gcc/gcc/ada/5omastop.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 23510 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/019/A019445.asm | neoneye/loda-programs | 11 | 177184 | ; A019445: Form a permutation of the positive integers, p_1, p_2, ..., such that the average of each initial segment is an integer, using the greedy algorithm to define p_n; sequence gives p_1+..+p_n.
; Submitted by <NAME>
; 1,4,6,12,20,24,35,40,54,70,77,96,117,126,150,160,187,216,228,260,273,308,345,360,400,442,459,50... |
oeis/086/A086726.asm | neoneye/loda-programs | 11 | 85490 | <filename>oeis/086/A086726.asm
; A086726: Decimal expansion of sum(1/(6*m)^2,m=1..infinity).
; Submitted by <NAME>
; 0,4,5,6,9,2,6,1,2,9,6,8,0,0,6,2,8,9,9,0,2,0,1,1,5,3,2,4,0,6,8,3,4,0,3,3,0,3,3,8,5,9,7,1,9,4,7,7,9,6,6,6,2,3,2,7,0,4,3,2,1,7,3,0,3,8,0,5,5,7,6,3,0,6,6,7,5,5,5,7,9,8,2,8,7,1,1,9,1,3,9,0,6,1,0,4,4,0,8
add ... |
Mockingbird/Forest/Combination/Vec.agda | splintah/combinatory-logic | 1 | 1402 | <filename>Mockingbird/Forest/Combination/Vec.agda
open import Mockingbird.Forest using (Forest)
module Mockingbird.Forest.Combination.Vec {b ℓ} (forest : Forest {b} {ℓ}) where
open import Mockingbird.Forest.Combination.Vec.Base forest public
|
programs/oeis/220/A220657.asm | neoneye/loda | 22 | 162074 | ; A220657: Partial sums of A084558+1.
; 0,1,3,6,9,12,15,19,23,27,31,35,39,43,47,51,55,59,63,67,71,75,79,83,87,92,97,102,107,112,117,122,127,132,137,142,147,152,157,162,167,172,177,182,187,192,197,202,207,212,217,222,227,232,237,242,247,252,257
mov $1,$0
mov $2,$0
mov $3,$0
lpb $1
add $2,1
trn $4,$1
sub $1,1
ad... |
tools/akt-commands-password-remove.adb | thierr26/ada-keystore | 0 | 6526 | -----------------------------------------------------------------------
-- akt-commands-password-remove -- Remove a wallet password
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance wit... |
oeis/152/A152885.asm | neoneye/loda-programs | 11 | 13894 | ; A152885: Number of descents beginning and ending with an odd number in all permutations of {1,2,...,n}.
; Submitted by <NAME>(s2)
; 0,0,2,6,72,360,4320,30240,403200,3628800,54432000,598752000,10059033600,130767436800,2440992153600,36614882304000,753220435968000,12804747411456000,288106816757760000,5474029518397440000... |
oeis/021/A021731.asm | neoneye/loda-programs | 11 | 4579 | ; A021731: Decimal expansion of 1/727.
; Submitted by <NAME>(s4.)
; 0,0,1,3,7,5,5,1,5,8,1,8,4,3,1,9,1,1,9,6,6,9,8,7,6,2,0,3,5,7,6,3,4,1,1,2,7,9,2,2,9,7,1,1,1,4,1,6,7,8,1,2,9,2,9,8,4,8,6,9,3,2,5,9,9,7,2,4,8,9,6,8,3,6,3,1,3,6,1,7,6,0,6,6,0,2,4,7,5,9,2,8,4,7,3,1,7,7,4
add $0,1
mov $2,10
pow $2,$0
mov $0,$2
div $0,727
mod... |
src/audio-player-noirq.asm | SvenMichaelKlose/nipkow | 4 | 176577 | ; Minus half of VIA CA1 status bit test loop cycles and instructions to reinit.
restart_delay = @(+ (half (+ 4 3)) 8)
timer = @(- (* 8 (nipkow-longest-pulse)) restart_delay)
tape_audio_player:
if @*nipkow-disable-interrupts?*
sei
lda #$7f
sta $911d
sta $911e
sta $912d
sta $912e
end
; Boost... |
alloy4fun_models/trainstlt/models/5/A4q9oSZEEwCCBH7aT.als | Kaixi26/org.alloytools.alloy | 0 | 948 | <filename>alloy4fun_models/trainstlt/models/5/A4q9oSZEEwCCBH7aT.als
open main
pred idA4q9oSZEEwCCBH7aT_prop6 {
always ( all s : Signal | (s in Green implies s' not in Green) or (s not in Green implies s' in Green) )
}
pred __repair { idA4q9oSZEEwCCBH7aT_prop6 }
check __repair { idA4q9oSZEEwCCBH7aT_prop6 <=> prop6o } |
src/classes/intro-systems/assembly2/prework/fib.asm | ggilmore/csi | 1 | 104220 | <gh_stars>1-10
section .text
global fib
fib:
push rbx ; backup 'rbx'
push rbp ; backup 'rbp'
mov ebx, edi; push 'n' to saved ebx register
cmp ebx, 1 ; n <= 1?
jle done
lea edi, [ ebx - 1 ] ; prepare 'n -1' arg for first rec call
call fib ; fib(n-1)
mov ebp, eax ; save r... |
helpers/fact_1_2_1.als | Alan32Liu/SWEN90010A2Marking | 0 | 707 | <reponame>Alan32Liu/SWEN90010A2Marking
fact {
all s, s' : State |
(ord/next[s] = s') => ((no s.last_called) or (s.last_called = s'.last_called))
}
check no_bad_states for 8 expect 1
|
tmp1/c55x-sim2/foo/Debug/ezdsp5535.asm | jwestmoreland/eZdsp-DBG-sim | 1 | 162008 | <filename>tmp1/c55x-sim2/foo/Debug/ezdsp5535.asm
;*******************************************************************************
;* TMS320C55x C/C++ Codegen PC v4.4.1 *
;* Date/Time created: Sat Oct 06 06:37:16 2018 *
;***************************... |
src/game.adb | JeremyGrosser/the_grid | 0 | 27107 | <filename>src/game.adb
--
-- Copyright (C) 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
with Random;
with Sound;
package body Game is
function To_Screen_Coordinate
(Y : Grid_Row;
X : Grid_Column)
return Screen_Coordinate
is (Y => Graphics.Row'First + (Y - Grid_Row'Fi... |
core/lib/types/Span.agda | timjb/HoTT-Agda | 294 | 2616 | <gh_stars>100-1000
{-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.types.Pi
open import lib.types.Sigma
open import lib.types.CommutingSquare
module lib.types.Span where
record Span {i j k : ULevel} : Type (lsucc (lmax (lmax i j) k)) where
constructor span
field
A : Type i
... |
oeis/350/A350389.asm | neoneye/loda-programs | 11 | 9349 | ; A350389: a(n) is the largest unitary divisor of n that is an exponentially odd number (A268335).
; Submitted by <NAME>
; 1,2,3,1,5,6,7,8,1,10,11,3,13,14,15,1,17,2,19,5,21,22,23,24,1,26,27,7,29,30,31,32,33,34,35,1,37,38,39,40,41,42,43,11,5,46,47,3,1,2,51,13,53,54,55,56,57,58,59,15,61,62,7,1,65,66,67,17,69,70,71,8,73,7... |
canonical-indeterminate-forms.agda | hazelgrove/hazel-palette-agda | 4 | 13122 | <filename>canonical-indeterminate-forms.agda<gh_stars>1-10
open import Nat
open import Prelude
open import contexts
open import core
open import type-assignment-unicity
module canonical-indeterminate-forms where
-- this type gives somewhat nicer syntax for the output of the canonical
-- forms lemma for indetermin... |
src/InjectionScript/Parsing/injection.g4 | uoinfusion/InjectionScript | 3 | 208 | grammar injection;
file: fileSection*?;
fileSection: emptyLine | subrutine | globalVar;
globalVar: var;
emptyLine: NEWLINE;
subrutine: SUB subrutineName '(' parameters? ')' NEWLINE codeBlock? END_SUB (NEWLINE | EOF);
subrutineName: SYMBOL;
parameters: parameterName (',' parameterName)*;
parameterName: SYMBOL;
codeB... |
include/reg_sizes.asm | kingwelx/intel-ipsec-mb | 17 | 22821 | <reponame>kingwelx/intel-ipsec-mb
;;
;; Copyright (c) 2012-2018, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;;... |
_z80/minibios.asm | koron-go/z80 | 14 | 24909 | aseg
org fe06h
ld a, c
cp 2
jr z, putchar
cp 9
jr z, putstr
halt
putchar:
ld a, e
out (0), a
ret
putstr:
ld a, (de)
cp '$'
ret z
out (0), a
inc de
jr putstr
|
test/Succeed/Issue947.agda | shlevy/agda | 1,989 | 4285 | <filename>test/Succeed/Issue947.agda<gh_stars>1000+
module Issue947 where
A : Set₁
A = Set
where
B : Set₁
B = Set
module _ where
C : Set₁
C = Set
module M where
-- Andreas, 2020-04-25, #4623
-- These empty `where` blocks now generate warnings.
|
main.asm | OleksiyTokarchuk/ATiny12-AVR-Software-Shift-Register-7Segmet-Indicators | 0 | 240620 | <gh_stars>0
;Author: <NAME>
;<EMAIL>
.def data = r16 ;Software shift register
.def i = r17 ;Register that stores cycle iterator
.def p = r18 ;Pointer to data in table for 7-segment indicators
.def dataout = r19 ;Register that outputs data from shift into IO sp... |
src/askconfig.scpt | jiangfengbing/pic2alioss | 1 | 1290 | <reponame>jiangfengbing/pic2alioss
#!/usr/bin/osascript
set bucket to the text returned of (display dialog "Bucket?" default answer "" with title "alioss-config")
if bucket is not "" then
set endpoint to the text returned of (display dialog "Endpoint?" default answer "" with title "alioss-config")
if endpoint is n... |
src/test/resources/data/searchtests/opt-test10.asm | cpcitor/mdlz80optimizer | 0 | 94453 | <reponame>cpcitor/mdlz80optimizer
org #4000
execute:
ld ix, v1
ld (ix), 5
ld iy, v2
ld (iy+0), 1
ld (iy+1), 2
ld (iy+2), 3
ld (iy+3), 4
ld hl, v3
ld (hl), 11
ld hl, v3 + 1
ld (hl), 12
loop:
jr loop
org #c000
v1: ds virtual 1
v2: ds virtual 4
v3: ds virtual 2
|
part1/lists/map-is-fold-Tree.agda | akiomik/plfa-solutions | 1 | 6881 | <reponame>akiomik/plfa-solutions<gh_stars>1-10
module map-is-fold-Tree where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; sym; trans; cong)
open Eq.≡-Reasoning
open import map-Tree using (Tree; leaf; node; map-Tree)
open import fold-Tree using (fold-Tree)
postulate
-- 外延性の公理
exten... |
theorems/cohomology/SphereProduct.agda | cmknapp/HoTT-Agda | 0 | 16465 | <filename>theorems/cohomology/SphereProduct.agda
{-# OPTIONS --without-K #-}
open import HoTT
open import homotopy.SuspProduct
open import homotopy.SuspSmash
open import homotopy.JoinSusp
open import cohomology.Theory
module cohomology.SphereProduct {i} (CT : CohomologyTheory i) where
open CohomologyTheory CT
open i... |
src/Nat/Binary.agda | iblech/agda-quotients | 1 | 10524 | <filename>src/Nat/Binary.agda
module Nat.Binary where
open import Data.Bool hiding (_≤_; _<_; _<?_)
open import Data.Empty
open import Data.List
open import Data.List.Properties
open import Data.Maybe
open import Data.Product
open import Data.Sum
open import Function
open import Nat.Class
open import Nat.Unary
using... |
Task/Man-or-boy-test/Ada/man-or-boy-test-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 7396 | with Ada.Text_IO; use Ada.Text_IO;
procedure Man_Or_Boy is
function Zero return Integer is begin return 0; end Zero;
function One return Integer is begin return 1; end One;
function Neg return Integer is begin return -1; end Neg;
function A
( K : Integer;
X1, X2, X3, X4, X... |
Transynther/x86/_processed/NC/_ht_st_zr_/i9-9900K_12_0xa0.log_21829_1867.asm | ljhsiun2/medusa | 9 | 12139 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x19cb5, %rsi
lea addresses_normal_ht+0x1b8ab, %rdi
nop
nop
nop
xor %r8, %r8
mov $113, %rcx
rep movsl
and $14986, %r12
lea addresses_A_ht+0xa9e7, %r11
nop
nop
nop
nop
nop
and %... |
x86/BitBoard_Init.asm | lucabrivio/asmFish-fasmg | 1 | 85489 |
BitBoard_Init:
push rbp rbx rsi rdi r11 r12 r13 r14 r15
call Init_AdjacentFilesBB
call Init_InFrontBB
call Init_ForwardBB_PawnAttackSpan_PassedPawnMask
call Init_SquareDistance_DistanceRingBB
call Init_BetweenBB_LineBB
pop r15 r14 r13 r12 r11 rdi rsi rb... |
1-base/lace/applet/demo/event/distributed/source/chat-client.ads | charlie5/lace | 20 | 17371 | <gh_stars>10-100
with
lace.Event,
lace.Subject,
lace.Observer;
package chat.Client
--
-- Provides an interface to a chat client.
--
is
pragma remote_Types;
type Item is limited interface
and lace.Subject .item
and lace.Observer.item;
type View is access all Item'Cl... |
libsrc/_DEVELOPMENT/font/fzx/fonts/ao/Lettera/_ff_ao_Lettera.asm | jpoikela/z88dk | 640 | 8218 |
SECTION rodata_font
SECTION rodata_font_fzx
PUBLIC _ff_ao_Lettera
_ff_ao_Lettera:
BINARY "font/fzx/fonts/ao/Lettera/Lettera.fzx"
|
libsrc/fcntl/zxvgs/write.asm | jpoikela/z88dk | 640 | 12548 | <reponame>jpoikela/z88dk<filename>libsrc/fcntl/zxvgs/write.asm
;size_t write(int fd, void *ptr, size_t len)
;returns number of written bytes
;
; $Id: write.asm,v 1.3 2016-06-23 20:31:34 dom Exp $
;
SECTION code_clib
PUBLIC write
PUBLIC _write
.write
._write
push ix ;save callers
LD IX,4
ADD IX,SP
LD C,(IX+0) ... |
orka_plugin_gltf/src/orka-gltf-scenes.ads | onox/orka | 52 | 3983 | <reponame>onox/orka
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/li... |
hammerspoon/togglevpn.applescript | thombaynes/dotfiles | 1 | 3646 | tell application "System Events"
tell current location of network preferences
set myVPN to the service "RewardStream"
if myVPN is not null then
if current configuration of myVPN is not connected then
connect myVPN
else
disconnect myVPN
... |
libsrc/_DEVELOPMENT/inttypes/c/sdcc_iy/imaxabs_fastcall.asm | meesokim/z88dk | 0 | 244925 |
; intmax_t imaxabs_fastcall(intmax_t j)
SECTION code_inttypes
PUBLIC _imaxabs_fastcall
EXTERN _labs_fastcall
defc _imaxabs = _labs_fastcall
|
oeis/066/A066713.asm | neoneye/loda-programs | 11 | 18763 | ; A066713: RATS(2^n): Reverse Add the digits of 2^n, Then Sort: a(n) = A036839(2^n).
; Submitted by <NAME>(s3)
; 2,4,8,16,77,55,11,499,89,277,2255,145,11,1111,44567,111499,12299,1234,3467,113467,677789,144556,1222889,14445667,4577789,55669999,1134899,11356999,12237899,445557799,1223555555,11113366,1122222266,1133444455... |
src/third_party/nasm/travis/test/pushseg.asm | Mr-Sheep/naiveproxy | 2,219 | 10614 | <reponame>Mr-Sheep/naiveproxy
;Testname=test; Arguments=-fbin -opushseg.bin; Files=stdout stderr pushseg.bin
bits 16
push cs
push ds
push es
push ss
push fs
push gs
pop gs
pop fs
pop ss
pop es
pop ds
pop cs ; 8086 only, does not disassemble
|
Cubical/HITs/Join.agda | loic-p/cubical | 0 | 12632 | <gh_stars>0
{-# OPTIONS --cubical --safe #-}
module Cubical.HITs.Join where
open import Cubical.HITs.Join.Base public
-- open import Cubical.HITs.Join.Properties public
|
data/github.com/dataduke/mac-taskpaper/47a3c1362274156596c7cdaf4c65295c3d842660/Scripts/Due in next 3 Days.scpt | ajnavarro/language-dataset | 58 | 2536 | <filename>data/github.com/dataduke/mac-taskpaper/47a3c1362274156596c7cdaf4c65295c3d842660/Scripts/Due in next 3 Days.scpt
on getShortDate(now)
set {day:d, year:y, time:t} to now
-- Calculate the month number.
copy now to b
set b's month to January
set m to (b - 2500000 - now) div -2500000
-- S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.