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 |
|---|---|---|---|---|
kernel/kernel.asm | noyaviv/ass3 | 0 | 161765 |
kernel/kernel: file format elf64-littleriscv
Disassembly of section .text:
0000000080000000 <_entry>:
80000000: 0000a117 auipc sp,0xa
80000004: 18010113 addi sp,sp,384 # 8000a180 <stack0>
80000008: 6505 lui a0,0x1
8000000a: f14025f3 csrr a1,mhartid
... |
tso_perturbed.als | NVlabs/litmustestgen | 6 | 1898 | // Automated Synthesis of Comprehensive Memory Model Litmus Test Suites
// <NAME>, <NAME>, <NAME>, <NAME>
// ASPLOS 2017
//
// Copyright (c) 2017, NVIDIA Corporation. All rights reserved.
//
// This file is licensed under the BSD-3 license. See LICENSE for details.
// Total Store Ordering (TSO)
////////////////////... |
oeis/214/A214439.asm | neoneye/loda-programs | 11 | 20368 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A214439: Denominators of correlation kernels arising in adding a list of numbers in base 3 considering the distribution of number of carries.
; Submitted by <NAME>
; 3,3,9,9,27,1,81,81,243,243,729,1,2187,2187,6561,6561,19683,1,59049,59049,177147,177147,531441,1,1594323,... |
Base.agda | DDOtten/M-types | 0 | 10748 | <filename>Base.agda
{-# OPTIONS --without-K #-}
module M-types.Base where
open import M-types.Base.Core public
open import M-types.Base.Sum public
open import M-types.Base.Prod public
open import M-types.Base.Eq public
open import M-types.Base.Equi public
open import M-types.Base.Rel public
... |
programs/oeis/081/A081407.asm | neoneye/loda | 22 | 243503 | ; A081407: 4th-order non-linear ("factorial") recursion: a(0)=a(1)=a(2)=a(3)=1, a(n) = (n+1)*a(n-4).
; 1,1,1,1,5,6,7,8,45,60,77,96,585,840,1155,1536,9945,15120,21945,30720,208845,332640,504735,737280,5221125,8648640,13627845,20643840,151412625,259459200,422463195,660602880,4996616625,8821612800,14786211825,23781703680,... |
src/main/antlr/com/github/rafaelsilvestri/filterdsl/Filter.g4 | rafaelsilvestri/filterdsl | 2 | 6097 | grammar Filter;
// Reference: https://github.com/microsoft/api-guidelines/blob/vNext/Guidelines.md#97-filtering
@header {
package com.github.rafaelsilvestri.filterdsl;
}
// PARSER RULES
expr: attribute EOF;
attribute
: attribute logicalOperator attribute
| OpenParen attribute CloseParen
| operand op... |
P6/data_P6/testpoint/testpoint72.asm | alxzzhou/BUAA_CO_2020 | 1 | 23806 | <filename>P6/data_P6/testpoint/testpoint72.asm
ori $1, $0, 0
ori $2, $0, 7
ori $3, $0, 12
ori $4, $0, 3
sw $2, 0($0)
sw $4, 4($0)
sw $3, 8($0)
sw $1, 12($0)
sw $3, 16($0)
sw $3, 20($0)
sw $3, 24($0)
sw $1, 28($0)
sw $3, 32($0)
sw $4, 36($0)
sw $1, 40($0)
sw $1, 44($0)
sw $3, 48($0)
sw $1, 52($0)
sw $4... |
programs/oeis/023/A023888.asm | neoneye/loda | 22 | 98241 | ; A023888: Sum of prime power divisors of n (1 included).
; 1,3,4,7,6,6,8,15,13,8,12,10,14,10,9,31,18,15,20,12,11,14,24,18,31,16,40,14,30,11,32,63,15,20,13,19,38,22,17,20,42,13,44,18,18,26,48,34,57,33,21,20,54,42,17,22,23,32,60,15,62,34,20,127,19,17,68,24,27,15,72,27,74,40,34,26,19,19,80,36,121,44,84,17,23,46,33,26,90,... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_540.asm | ljhsiun2/medusa | 9 | 26504 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
lea addresses_normal_ht+0x16236, %r10
nop
add %r15, %r15
mov (%r10), %cx
cmp $51952, %rdx
lea addresses_normal_ht+0x1aaf6, %rbx
nop
nop
nop
nop
xor $1125, %r13
mov $0x6162636465666768, %r15
... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_264.asm | ljhsiun2/medusa | 9 | 94454 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x19d10, %r15
nop
nop
nop
nop
nop
xor $15055, %r14
vmovups (%r15), %ymm0
vextracti128 $0, %ymm0, %xmm0
vpextrq $1, %xmm0, %rdx
nop
nop
nop
sub %rbp, %... |
src/Web/Semantic/DL/Category/Properties/Equivalence.agda | agda/agda-web-semantic | 9 | 13202 | <filename>src/Web/Semantic/DL/Category/Properties/Equivalence.agda
open import Relation.Binary.PropositionalEquality using ( refl )
open import Web.Semantic.DL.ABox.Interp using ( Interp ; ⌊_⌋ ; ind ; _*_ )
open import Web.Semantic.DL.ABox.Model using
( _⊨a_ ; ⊨a-resp-≡³ ; ⊨a-impl-⊨b ; ⊨b-impl-⊨a
; _,_ ; inb ; on-b... |
oeis/118/A118719.asm | neoneye/loda-programs | 11 | 97042 | ; A118719: Cubes for which the digital root is also a cube.
; 0,1,8,64,125,343,512,1000,1331,2197,2744,4096,4913,6859,8000,10648,12167,15625,17576,21952,24389,29791,32768,39304,42875,50653,54872,64000,68921,79507,85184,97336,103823,117649,125000,140608,148877,166375,175616,195112,205379,226981,238328,262144,274625,3007... |
Src/xmodem.adb | SMerrony/dashera | 23 | 10733 | <gh_stars>10-100
-- Copyright ©2022 <NAME>
-- This file is a part of DasherA.
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights... |
libsrc/math/genmath/c/sccz80/float.asm | jpoikela/z88dk | 640 | 20093 | <reponame>jpoikela/z88dk
; Generic Z80 Floating point routines
; For Small C+ compiler
SECTION code_fp
PUBLIC float
EXTERN norm
EXTERN l_long_neg
PUBLIC float1
EXTERN fasign
EXTERN fa
;
; convert the integer in hl to
; ... |
legend-engine-language-pure-dsl-service/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/ServiceLexerGrammar.g4 | agpooja/legend-engine | 0 | 2525 | <reponame>agpooja/legend-engine<filename>legend-engine-language-pure-dsl-service/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/ServiceLexerGrammar.g4
lexer grammar ServiceLexerGrammar;
import M3LexerGrammar;
// -------------------------------------- KEYWORD -------------------------------... |
oeis/151/A151607.asm | neoneye/loda-programs | 11 | 174290 | ; A151607: Number of permutations of 6 indistinguishable copies of 1..n arranged in a circle with exactly 2 adjacent element pairs in decreasing order.
; Submitted by <NAME>
; 0,150,2763,28236,251205,2116386,17292639,138352920,1089544473,8474253870,65251778163,498286334052,3778671399789,28485369052602,213640267939335,1... |
test/Succeed/ReifyConstructorParametersForWith.agda | cruhland/agda | 1,989 | 1834 | -- Andreas, 2012-09-17
{-# OPTIONS --show-implicit #-}
-- {-# OPTIONS -v tc.with.type:15 -v syntax.reify.con:30 #-}
module ReifyConstructorParametersForWith where
import Common.Level
module M {i} {I : Set i} where
data D : Set i where
c : {i : I} → D -- danger of confusion for c {i = ...}
data P : D → Set ... |
benchmark/ac/Fin.agda | shlevy/agda | 1,989 | 12864 | <gh_stars>1000+
module Fin where
import Nat
import Bool
open Nat hiding (_==_; _<_)
open Bool
data FZero : Set where
data FSuc (A : Set) : Set where
fz : FSuc A
fs : A -> FSuc A
mutual
Fin' : Nat -> Set
Fin' zero = FZero
Fin' (suc n) = FSuc (Fin n)
data Fin (n : Nat) : Set where
fin : Fin' n ... |
boards/host/stm32gd-board.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 4969 | <gh_stars>1-10
with STM32_SVD; use STM32_SVD;
package body STM32GD.Board is
procedure Init is
begin
USART.Init;
end Init;
end STM32GD.Board;
|
src/Extensions/ListFirst.agda | metaborg/ts.agda | 4 | 12838 | <gh_stars>1-10
module Extensions.ListFirst where
open import Prelude hiding (_⊔_)
open import Data.Product
open import Data.List
open import Data.List.Any
open Membership-≡ hiding (find)
open import Level
-- proof that an element is the first in a vector to satisfy the predicate B
data First {a b} {A : Set a} (B : A... |
src/main/fragment/mos6502-common/vwum1_gt_pwuc1_derefidx_vbuyy_then_la1.asm | jbrandwood/kickc | 2 | 82889 | lda {c1}+1,y
cmp {m1}+1
bcc {la1}
bne !+
lda {c1},y
cmp {m1}
bcc {la1}
!:
|
common/44binit.asm | MarcosCM/reversi-S3CEV40 | 0 | 88103 | # *******************************************************
# * NAME : 44BINIT.S *
# * Version : 10.April.2000 *
# * Description: *
# * C start up codes *
# * Configure memory, Initialize ISR ,stacks *
# * Initialize C-variables *
# * Fill zeros into zero-initialized C-variable... |
include/mon09/sbug.asm | eyalabraham/dragon | 0 | 89998 | * NAM SBUG18 MP-09 MONITOR
* OPT PAG
* PAG
* MONITOR PROGRAM FOR THE SOUTHWEST TECHNICAL
* PRODUCTS MP-09 CPU BOARD AS COMMENTED BY....
* <NAME> <NAME>
* 2502 REGAL OAKS LANE 4815 EAST 97th AVE.
* LUTZ, FLA. 33549 TEMPLE TERRACE, FLA. 33617
* PH. 813-977-0347 PH. 813-985-1359
* MODIFIED TO S... |
programs/oeis/047/A047572.asm | neoneye/loda | 22 | 7491 | <filename>programs/oeis/047/A047572.asm
; A047572: Numbers that are congruent to {1, 2, 4, 5, 6, 7} mod 8.
; 1,2,4,5,6,7,9,10,12,13,14,15,17,18,20,21,22,23,25,26,28,29,30,31,33,34,36,37,38,39,41,42,44,45,46,47,49,50,52,53,54,55,57,58,60,61,62,63,65,66,68,69,70,71,73,74,76,77,78,79,81,82,84,85,86,87
mov $1,4
add $1,$0
... |
alloy4fun_models/trainstlt/models/4/w2bzeCeiAztymnAqn.als | Kaixi26/org.alloytools.alloy | 0 | 2177 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idw2bzeCeiAztymnAqn_prop5 {
always all t : Train | t.pos' in t.pos.prox or t.pos in Exit
}
pred __repair { idw2bzeCeiAztymnAqn_prop5 }
check __repair { idw2bzeCeiAztymnAqn_prop5 <=> prop5o } |
pkgs/tools/yasm/src/modules/objfmts/bin/tests/multisect/follows-loop1-err.asm | manggoguy/parsec-modified | 2,151 | 19999 | section sect1 follows=sect2
section sect2 follows=sect1
|
src/graphe.ads | GauBen/Arbre-Genealogique | 1 | 11329 | <filename>src/graphe.ads
-- Package Graphe
-- Gère le stockage et la manipulation de graphes orientés.
-- Généricité :
-- Les sommets et les arêtes sont étiquetés par les éléments des types
-- T_Etiquette_Sommet et T_Etiquette_Arete
generic
type T_Etiquette_Sommet is private;
type T_Etiquette_Arete is private;
p... |
programs/oeis/295/A295773.asm | neoneye/loda | 22 | 9962 | <reponame>neoneye/loda
; A295773: a(n) = Sum_{k=0..n} binomial(k^2, k).
; 1,2,8,92,1912,55042,2002834,87903418,4514068786,265401903136,17575711359576,1294325676386112,104913619501093500,9281271920245432932,889811788303594625412,91895379599481072720852,10170646981621794947354052,1200909691326112843842751962,150683402025... |
src/aco-states.ads | jonashaggstrom/ada-canopen | 6 | 14829 | <filename>src/aco-states.ads
package ACO.States is
pragma Preelaborate;
type State is
(Initializing,
Pre_Operational,
Operational,
Stopped,
Unknown_State);
type State_Transition is record
Previous : State := Unknown_State;
Current : State := Unknown_State;
end re... |
reuse/ada/stringmd.adb | cocolab8/cocktail | 0 | 3751 | -- $Id: StringM.mi,v 1.5 1993/08/18 15:06:51 grosch rel $
-- $Log: StringM.mi,v $
-- Ich, <NAME>, Informatiker, Sept. 1994
with StringM, Strings, Text_Io;
use StringM, Strings, Text_Io;
procedure StringMD is
procedure do_it is
s : tString;
r : tStringRef;
begin
Put ("enter strings, one per line, - termin... |
tests/daid/ppu_scanline_bgp.asm | OFFTKP/GameboyTKP | 0 | 92869 | INCLUDE "common.inc"
SECTION "vblankInt", ROM0[$040]
jp vblankInt
SECTION "statInt", ROM0[$048]
jp statInt
SECTION "main", ROM0
start:
ld a, [rLY]
cp 145
jr nz, start
ld a, 1
ld hl, $9000
REPT 7
ld [hl+], a
inc hl
ENDR
ld a, $ff
ld [hl+], a
ld a, LCDCF_BGON | LCDCF_ON
ld [rLCDC], a
ld a,... |
programs/oeis/165/A165676.asm | neoneye/loda | 22 | 13538 | <gh_stars>10-100
; A165676: Fourth right hand column of triangle A165674
; 50,154,342,638,1066,1650,2414,3382,4578,6026,7750,9774,12122,14818,17886,21350,25234,29562,34358,39646,45450,51794,58702,66198,74306,83050,92454,102542,113338,124866,137150,150214,164082,178778
add $0,2
mul $0,2
mov $2,-3
bin $2,$0
sub $2,2
mul... |
PMOO/ADA/LAB2/PARTE_2/es_abundante.adb | usainzg/EHU | 0 | 18703 | with Suma_Divisores_Propios;
function Es_Abundante(N: Integer) return Boolean is
begin
if Suma_Divisores_Propios(N) > N then
return True;
end if;
return False;
end Es_Abundante; |
08 - Virtual Machine Program Control/FunctionCalls/NestedCall/NestedCall.asm | AmrDeveloper/Nand2Tetris | 2 | 82815 | <reponame>AmrDeveloper/Nand2Tetris
//Bootstrap code
@256
D=A
@SP
M=D
//Call command for Sys.init
@return_address_Sys.init_0_0
D=A
@SP
A=M
M=D
@SP
M=M+1
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1
@ARG
D=M
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@SP
A=M
M=D
@SP
M=M+1
@5
D=A
@0
D=D+A
@SP
D=M-D
@ARG
M=D
@SP
D=M... |
oeis/321/A321178.asm | neoneye/loda-programs | 11 | 169563 | <reponame>neoneye/loda-programs
; A321178: One-half the sum of the first 2n + 1 primes.
; 1,5,14,29,50,80,119,164,220,284,356,437,530,632,740,860,994,1138,1292,1457,1633,1819,2014,2219,2444,2675,2915,3169,3435,3709,3991,4291,4603,4927,5269,5620,5983,6359,6745,7144,7558,7984,8420,8866,9325,9790,10273,10768,11274,11796,1... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3905l.ada | best08618/asylo | 7 | 12084 | -- CE3905L.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
source/types/adam-access_definition.adb | charlie5/aIDE | 3 | 12232 | with
AdaM.Factory;
package body AdaM.access_Definition
is
-- Storage Pool
--
record_Version : constant := 1;
pool_Size : constant := 5_000;
package Pool is new AdaM.Factory.Pools (storage_Folder => ".adam-store",
pool... |
src/Parsers/project_processor-parsers-parser_tables.ads | fintatarta/eugen | 0 | 13438 | with Project_Processor.Parsers.Abstract_Parsers;
with Plugins.Tables;
package Project_Processor.Parsers.Parser_Tables is
new Plugins.Tables (Root_Plugin_Type => Abstract_Parsers.Abstract_Parser,
Plugin_Parameters => Plugins.Parameter_Maps.Map,
Plugin_ID => Parser... |
programs/oeis/092/A092270.asm | neoneye/loda | 22 | 93718 | ; A092270: If n mod 2 == 0 then 3^n else 2^n.
; 1,2,9,8,81,32,729,128,6561,512,59049,2048,531441,8192,4782969,32768,43046721,131072,387420489,524288,3486784401,2097152,31381059609,8388608,282429536481,33554432,2541865828329,134217728,22876792454961,536870912,205891132094649
mov $1,$0
gcd $0,2
add $0,1
pow $0,$1
|
Classes/text/characters of/test.applescript | looking-for-a-job/applescript-examples | 1 | 382 |
get characters of "tic-tac-toe"
--> {"t", "i", "c", "-", "t", "a", "c", "-", "t", "o", "e"}
every character of "tic-tac-toe"
--> {"t", "i", "c", "-", "t", "a", "c", "-", "t", "o", "e"}
# Substring
characters 1 thru 4 of "tic-tac-toe"
--> {"t", "i", "c", "-"}
characters 3 thru -3 of "tic-tac-toe"
--> {"c", "-", "t",... |
examples/empty/main.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 3051 | with STM32GD.Board;
procedure Main is
begin
STM32GD.Board.Init;
loop
null;
end loop;
end Main;
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1232.asm | ljhsiun2/medusa | 9 | 245264 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x117c7, %rsi
lea addresses_WT_ht+0x1d68e, %rdi
inc %r12
mov $55, %rcx
rep movsl
nop
nop
nop
add %r14, %r14
pop %rsi
pop %rdi
pop %rcx
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %... |
oeis/231/A231642.asm | neoneye/loda-programs | 11 | 95349 | ; A231642: Triangle read by rows, t(n,k) = binomial(n,k) mod n, k <= n.
; Submitted by <NAME>(s2)
; 0,0,1,0,0,1,0,2,0,1,0,0,0,0,1,0,3,2,3,0,1,0,0,0,0,0,0,1,0,4,0,6,0,4,0,1,0,0,3,0,0,3,0,0,1,0,5,0,0,2,0,0,5,0,1,0,0,0,0,0,0,0,0,0,0,1,0,6,4,3,0,0,0,3,4,6,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,7,0,7,0,7,2,7,0
mov $2,2
lpb $0
a... |
Transynther/x86/_processed/NC/_ht_zr_/i3-7100_9_0x84_notsx.log_21829_3138.asm | ljhsiun2/medusa | 9 | 242843 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1074c, %rsi
lea addresses_UC_ht+0x1253c, %rdi
nop
nop
nop
nop
cmp $63174, %r10
mov $55, %rcx
rep movsw
nop
nop
xor $3440, %rdx
lea addresses_D_ht+0x4e3c, %rax
and $51843, %r8
mov (... |
alloy4fun_models/trashltl/models/1/PcZzh35TDYtucLKWw.als | Kaixi26/org.alloytools.alloy | 0 | 2731 | <filename>alloy4fun_models/trashltl/models/1/PcZzh35TDYtucLKWw.als<gh_stars>0
open main
pred idPcZzh35TDYtucLKWw_prop2 {
no File
}
pred __repair { idPcZzh35TDYtucLKWw_prop2 }
check __repair { idPcZzh35TDYtucLKWw_prop2 <=> prop2o } |
malban/Release/VRelease/VTK_TitleMusicAKS.asm | mikepea/vectrex-playground | 5 | 102747 | <filename>malban/Release/VRelease/VTK_TitleMusicAKS.asm
; this file is part of Release, written by Malban in 2017
;
; This file was build using VIDE - Vectrex Integrated Development Environment
; Original bin file was: projects/VRelease/VTK_TitleMusic.bin
;
; offset for AKS file assumed: $0000 guessed by accessing by... |
programs/oeis/099/A099776.asm | neoneye/loda | 22 | 170759 | <reponame>neoneye/loda
; A099776: Length of the hypotenuse of an integer right triangle with the hypotenuse being one more than the longer side. The shorter sides are just consecutive odd numbers 3, 5, 7, ...
; 5,13,25,41,61,85,113,145,181,221,265,313,365,421,481,545,613,685,761,841,925,1013,1105,1201,1301,1405,1513,16... |
data/mapObjects/CeladonMart4F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 19947 | CeladonMart4F_Object:
db $f ; border block
db 3 ; warps
warp 12, 1, 0, CELADON_MART_3F
warp 16, 1, 1, CELADON_MART_5F
warp 1, 1, 0, CELADON_MART_ELEVATOR
db 1 ; signs
sign 14, 1, 4 ; CeladonMart4Text4
db 3 ; objects
object SPRITE_MART_GUY, 5, 7, STAY, NONE, 1 ; person
object SPRITE_BLACK_HAIR_BOY_2, 15, 5,... |
src/load_store_le/norx_load_store.ads | jhumphry/SPARK_NORX | 9 | 7919 | <gh_stars>1-10
-- NORX_Load_Store
-- A collection of functions to load and store words of different sizes from
-- Storage_Array in Little Endian format. This version assumes that the machine
-- is Little Endian and does unchecked conversions to convert the types.
-- Copyright (c) 2016, <NAME> - see LICENSE file for de... |
src/hello.adb | alire-project/hello | 1 | 13527 | with Libhello;
procedure Hello is
begin
Libhello.Hello_World;
end Hello;
|
verify/alfy/5_loop/numbers_down.alfy.asm | alexandruradovici/alf-alfy-asm-public | 0 | 241329 |
; script
start:
; for
; from
; value int 6
set r2 6
; to
; value int 1
set r3 1
; step
; value int 1
set r4 1
; variable
; i: r5
set r5 0
mov r6 r2
store r5 r6
for_0:
test r6 r3
jl endfor_0
; asm
; i... |
makeewds.adb | ddugovic/words | 4 | 17925 | with TEXT_IO;
with STRINGS_PACKAGE; use STRINGS_PACKAGE;
with LATIN_FILE_NAMES; use LATIN_FILE_NAMES;
with INFLECTIONS_PACKAGE; use INFLECTIONS_PACKAGE;
with DICTIONARY_PACKAGE; use DICTIONARY_PACKAGE;
with LINE_STUFF; use LINE_STUFF;
with ENGLISH_SUPPORT_PACKAGE; use ENGLISH_SUPPORT_PACKA... |
examples/SizedPoly/Console.agda | agda/ooAgda | 23 | 14179 | <reponame>agda/ooAgda
module SizedPoly.Console where
open import SizedPolyIO.Base
open import SizedPolyIO.Console hiding (main)
open import NativePolyIO
open import Level using () renaming (zero to lzero)
{-# TERMINATING #-}
myProgram : ∀{i} → IOConsole i (Unit {lzero})
myProgram = exec getLine λ lin... |
Finder/Go-to-Custom-Folder.applescript | boisy/AppleScripts | 116 | 2375 | <reponame>boisy/AppleScripts<filename>Finder/Go-to-Custom-Folder.applescript
-- Set t to any folder you like, this script is set to `~/Library/Application Support/` but I the same script set up for:
--
-- ~/Dropbox, ~/Dropbox/School, ~/Dropbox/Library, ~/Dropbox/Library/Scripts, and many others
--
set t to ((path to ap... |
programs/oeis/051/A051879.asm | jmorken/loda | 1 | 13697 | ; A051879: Partial sums of A051798.
; 1,14,69,224,574,1260,2478,4488,7623,12298,19019,28392,41132,58072,80172,108528,144381,189126,244321,311696,393162,490820,606970,744120,904995,1092546,1309959,1560664
mov $1,1
lpb $0
mov $2,1
mul $2,$0
cal $2,51798 ; a(n) = (n+1)*(n+2)*(n+3)*(9n+4)/24.
sub $0,1
add $1,$2
... |
tests/example04.adb | leo-brewin/ada-lapack | 5 | 6069 | <filename>tests/example04.adb
with Ada.Text_IO;
with Ada.Text_IO.Complex_IO;
with Ada.Numerics.Generic_Real_Arrays;
with Ada.Numerics.Generic_Complex_Types;
with Ada.Numerics.Generic_Complex_Arrays;
with Ada.Numerics.Generic_Elementary_Functions;
with Ada.Numerics.Generic_Complex_Elementary_Functions;
with Ada_Lapack... |
Cubical/Homotopy/Group/Pi4S3/Summary.agda | thomas-lamiaux/cubical | 1 | 3829 | <reponame>thomas-lamiaux/cubical<filename>Cubical/Homotopy/Group/Pi4S3/Summary.agda
{-
This file contains a summary of the proofs that π₄(S³) ≡ ℤ/2ℤ
- The first proof "π₄S³≃ℤ/2ℤ" closely follows Brunerie's thesis.
- The second proof "π₄S³≃ℤ/2ℤ-direct" is much more direct and avoids
all of the more advanced constru... |
lib/sisyphus-grpc/src/main/antlr/com/bybutter/sisyphus/api/filtering/grammar/Filter.g4 | z2058550226/sisyphus | 0 | 6311 | grammar Filter;
@header {
package com.bybutter.sisyphus.api.filtering.grammar;
}
filter
: e=expression? EOF
;
// Expressions may either be a conjunction (AND) of sequences or a simple
// sequence.
//
// Note, the AND is case-sensitive.
//
// Example: `a b AND c AND d`
//
// The expression `(a b) AND c AND d`... |
Cubical/Data/FinData/Base.agda | bijan2005/univalent-foundations | 0 | 7829 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.FinData.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Data.Nat
open import Cubical.Data.Bool.Base
open import Cubical.Relation.Nullary
private
variable
ℓ : Level
A B : Typ... |
libsrc/_DEVELOPMENT/z80/c/sdcc/z80_set_int_state_fastcall.asm | jpoikela/z88dk | 640 | 246389 |
; void z80_set_int_state_fastcall(uint state)
SECTION code_clib
SECTION code_z80
PUBLIC _z80_set_int_state_fastcall
EXTERN asm_z80_set_int_state
defc _z80_set_int_state_fastcall = asm_z80_set_int_state
|
programs/oeis/005/A005879.asm | karttu/loda | 1 | 99147 | ; A005879: Theta series of D_4 lattice with respect to deep hole.
; 8,32,48,64,104,96,112,192,144,160,256,192,248,320,240,256,384,384,304,448,336,352,624,384,456,576,432,576,640,480,496,832,672,544,768,576,592,992,768,640,968,672,864,960,720,896,1024,960,784,1248,816,832,1536,864,880,1216,912,1152,1456,1152,1064,1344,1... |
projects/07/MemoryAccess/StaticTest/StaticTest.asm | skatsuta/nand2tetris | 1 | 100516 | // ../MemoryAccess/StaticTest/StaticTest.vm
@111
D=A
@SP
A=M
M=D
@SP
AM=M+1
@333
D=A
@SP
A=M
M=D
@SP
AM=M+1
@888
D=A
@SP
A=M
M=D
@SP
AM=M+1
@SP
AM=M-1
D=M
@StaticTest.8
M=D
@SP
AM=M-1
D=M
@StaticTest.3
M=D
@SP
AM=M-1
D=M
@StaticTest.1
M=D
@StaticTest.3
D=M
@SP
A=M
M=D
@SP
AM=M+1
@StaticTest.1
D=M
@SP
A=M
M=D
@SP
AM=M+1... |
src/stm32-usb_otg.ads | damaki/EVB1000 | 0 | 20485 | <reponame>damaki/EVB1000
-- This spec has been automatically generated from STM32F105xx.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
with System;
package STM32.USB_OTG is
pragma Preelaborate;
---------------
-- Registers --
---------------
-------------------------
-- FS_GOTGC... |
programs/oeis/098/A098924.asm | neoneye/loda | 22 | 84243 | ; A098924: 45-gonal numbers: n*(43*n-41)/2.
; 1,45,132,262,435,651,910,1212,1557,1945,2376,2850,3367,3927,4530,5176,5865,6597,7372,8190,9051,9955,10902,11892,12925,14001,15120,16282,17487,18735,20026,21360,22737,24157,25620,27126,28675,30267,31902,33580,35301,37065,38872,40722,42615,44551,46530,48552,50617,52725,54876,... |
regtests/keystore-tests.ads | My-Colaborations/ada-keystore | 0 | 2674 | -----------------------------------------------------------------------
-- keystore-tests -- Tests for akt command
-- Copyright (C) 2019, 2020 <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 Licen... |
docs/matching-rule-definition.g4 | pact-foundation/pact-plugins | 5 | 3892 | <reponame>pact-foundation/pact-plugins
grammar MatchingRuleDefinition;
/**
* Parse a matcher expression into a MatchingRuleDefinition containing the example value, matching rules and any generator.
* The following are examples of matching rule definitions:
* * `matching(type,'Name')` - type matcher
* * `matching(numbe... |
src/events.ads | aeszter/sharepoint2ics | 0 | 30821 | <reponame>aeszter/sharepoint2ics<filename>src/events.ads<gh_stars>0
with Ada.Containers.Doubly_Linked_Lists;
with Ada.Text_IO;
with Ada.Calendar;
with Ada.Strings;
with Ada.Strings.Unbounded;
with DOM.Core;
package Events is
type Event_Type is (None, Normal, Reserved, Deleted, Excepted);
type Interval is (daily... |
Tests/yasm-regression/xop-basic.asm | 13xforever/x86-assembly-textmate-bundle | 69 | 26369 | <filename>Tests/yasm-regression/xop-basic.asm
[bits 64]
vfrczpd ymm9, ymm10 ; out: 8F 49 7C 81 312
vfrczpd ymm9, [0] ; out: 8F 69 7C 81 0C 25 00 00 00 00
vfrczpd ymm9, yword [0] ; out: 8F 69 7C 81 0C 25 00 00 00 00
vfrczpd ymm9, [r8*4] ; out: 8F 29 7C 81 0C 85 00 00 00 00
vfrczpd ymm9, [r8*4+r9] ; out: 8F 09 ... |
oeis/013/A013954.asm | neoneye/loda-programs | 11 | 28784 | <reponame>neoneye/loda-programs
; A013954: a(n) = sigma_6(n), the sum of the 6th powers of the divisors of n.
; 1,65,730,4161,15626,47450,117650,266305,532171,1015690,1771562,3037530,4826810,7647250,11406980,17043521,24137570,34591115,47045882,65019786,85884500,115151530,148035890,194402650,244156251,313742650,38795266... |
oeis/275/A275651.asm | neoneye/loda-programs | 11 | 92704 | ; A275651: a(n) = (2*n)!*Sum_{k = 0..n} (-1)^k/(2*k)!.
; Submitted by <NAME>(w3)
; 1,1,13,389,21785,1960649,258805669,47102631757,11304631621681,3459217276234385,1314502564969066301,607300185015708631061,335229702128671164345673,217899306383636256824687449,164731875626029010159463711445,14331673179464523883873342895714... |
3-mid/opengl/source/lean/io/opengl-io.ads | charlie5/lace | 20 | 26201 | <filename>3-mid/opengl/source/lean/io/opengl-io.ads
with
openGL.Texture,
ada.Strings.unbounded,
ada.Streams.Stream_IO,
ada.unchecked_Deallocation;
package openGL.IO
--
-- Provides I/O functions for openGL.
--
is
subtype Text is ada.Strings.unbounded.unbounded_String;
------------------
... |
test/bugs/SizedTypesMergeSort.agda | alhassy/agda | 3 | 3886 | <reponame>alhassy/agda
{-# OPTIONS --sized-types #-}
module SizedTypesMergeSort where
postulate
Size : Set
_^ : Size -> Size
∞ : Size
{-# BUILTIN SIZE Size #-}
{-# BUILTIN SIZESUC _^ #-}
{-# BUILTIN SIZEINF ∞ #-}
-- sized lists
data List (A : Set) : {_ : Size} -> Set where
[] : {size : Size} -> Li... |
oeis/014/A014009.asm | neoneye/loda-programs | 11 | 173493 | <filename>oeis/014/A014009.asm
; A014009: First differences of Shallit sequence S(3,7) (A020730).
; Submitted by <NAME>(s4)
; 3,4,10,25,62,154,383,952,2366,5881,14618,36335,90315,224489,557995,1386965,3447471,8569111,21299574,52942697,131595551,327096843,813039224,2020908468,5023215259,12485816125,31035023639,771413484... |
Chapter_4/Program 4.1/x86:64/Program_4.1_MASM.asm | chen150182055/Assembly | 272 | 26639 | ; Program 4.1
; Addition and Subtraction - MASM (64-bit)
; Copyright (c) 2019 <NAME>
extrn ExitProcess : proc
.data
sum DWORD 0
val DWORD 25
.code
_main PROC
mov eax, 0
inc eax
add eax, 200
sub eax, val
mov sum, eax
dec sum
neg sum
xor rcx, rcx
call ExitProcess
_main ENDP
END
|
Task/First-class-functions/AppleScript/first-class-functions-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 341 | -- Compose two functions, where each function is
-- a script object with a call(x) handler.
on compose(f, g)
script
on call(x)
f's call(g's call(x))
end call
end script
end compose
script increment
on call(n)
n + 1
end call
end script
script decrement
on call(n)... |
Task/Rep-string/AppleScript/rep-string.applescript | LaudateCorpus1/RosettaCodeData | 1 | 2280 | -- REP-CYCLES ----------------------------------------------------------------
-- repCycles :: String -> [String]
on repCycles(xs)
set n to length of xs
script isCycle
on |λ|(cs)
xs = takeCycle(n, cs)
end |λ|
end script
filter(isCycle, tail(inits(take(quot(n, 2), xs))))
en... |
Univalence/Obsolete/FinEquiv.agda | JacquesCarette/pi-dual | 14 | 3113 | {-# OPTIONS --without-K #-}
module FinEquiv where
-- The goal is to establish that finite sets and equivalences form a
-- commutative semiring.
import Level using (zero)
open import Data.Empty using (⊥; ⊥-elim)
open import Data.Unit using (⊤; tt)
open import Data.Sum using (_⊎_; inj₁; inj₂)
open import Data.Produc... |
specs/ada/server/ees/tkmrpc-dispatchers-ees.adb | DrenfongWong/tkm-rpc | 0 | 2099 | with Tkmrpc.Operations.Ees;
with Tkmrpc.Operation_Handlers.Ees.Esa_Acquire;
with Tkmrpc.Operation_Handlers.Ees.Esa_Expire;
package body Tkmrpc.Dispatchers.Ees is
-------------------------------------------------------------------------
procedure Dispatch
(Req : Request.Data_Type;
Res : out Response.... |
llvm-gcc-4.2-2.9/gcc/ada/erroutc.adb | vidkidz/crossbridge | 1 | 24477 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
src/arch/socs/stm32f429/soc-layout.ads | vdh-anssi/ewok-kernel | 0 | 21871 | with m4.mpu;
with types;
package soc.layout
with spark_mode => on
is
FLASH_BASE : constant system_address := 16#0800_0000#;
FLASH_SIZE : constant := 1 * MBYTE;
SRAM_BASE : constant system_address := 16#1000_0000#;
SRAM_SIZE : constant := 64 * KBYTE;
BOOT_ROM_BASE ... |
alloy4fun_models/trainstlt/models/2/FAJYgJrWG6wkKkRxd.als | Kaixi26/org.alloytools.alloy | 0 | 3914 | open main
pred idFAJYgJrWG6wkKkRxd_prop3 {
always no Train
}
pred __repair { idFAJYgJrWG6wkKkRxd_prop3 }
check __repair { idFAJYgJrWG6wkKkRxd_prop3 <=> prop3o } |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_put_image.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 13480 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_185.asm | ljhsiun2/medusa | 9 | 160741 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x130bb, %rbx
nop
nop
sub $53226, %rbp
movb (%rbx), %r13b
cmp $11689, %r11
lea addresses_UC_ht+0x1a7b, %r9
nop
cmp $13044, %r12
movups (%r9), %xmm3
vpextrq $1, %xmm3, ... |
vendor/stdlib/src/Induction1/Nat.agda | isabella232/Lemmachine | 56 | 6542 | <gh_stars>10-100
------------------------------------------------------------------------
-- One form of induction for natural numbers
------------------------------------------------------------------------
-- I want universe polymorphism.
module Induction1.Nat where
open import Data.Nat
import Induction1.WellFound... |
projects/removeme.asm | danibachar/Nand2Tetris | 0 | 80327 | @5
A=M
D=M
@6
M=D
|
examples/ucd_simplecasemapping.adb | ytomino/drake | 33 | 2322 | <gh_stars>10-100
-- convert UCD/UnicodeData.txt (13, 14)
-- bin/ucd_simplecasemapping $UCD/UnicodeData.txt > ../source/strings/a-uscama.ads
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Containers.Ordered_Maps;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Text_IO; use Ada.Text_IO;
procedure ucd_s... |
src/nl/tvandijk/aoc/year2020/day6/Input.g4 | trolando/aoc2020 | 1 | 7278 | grammar Input;
root : group (NL group)*;
group : (person NL)* ;
person : CHAR+
;
CHAR : [a-zA-Z];
WS : [ \t\r]+ -> skip ;
NL : '\n'; |
oeis/341/A341397.asm | neoneye/loda-programs | 11 | 161214 | <gh_stars>10-100
; A341397: Number of integer solutions to (x_1)^2 + (x_2)^2 + ... + (x_8)^2 <= n.
; Submitted by <NAME>
; 1,17,129,577,1713,3729,6865,12369,21697,33809,47921,69233,101041,136209,174737,231185,306049,384673,469457,579217,722353,876465,1025649,1220337,1481521,1733537,1979713,2306753,2697537,3087777,34829... |
node-model/src/main/antlr/Node.g4 | adrobisch/rest-modeling-framework | 4 | 7022 | <gh_stars>1-10
grammar Node;
@header {
package io.vrap.rmf.nodes.antlr;
}
tokens {
MAP_START, MAP_END, LIST_START, LIST_END,
STRING, INT, FLOAT, BOOL, NULL
}
node:
arrayNode | objectNode | valueNode;
arrayNode:
LIST_START
elements += node*
LIST_END;
valueNode:
STRING | INT | FLOAT ... |
asm/name_long.asm | unknownbrackets/tomatotrans | 14 | 96510 | <reponame>unknownbrackets/tomatotrans<filename>asm/name_long.asm
.definelabel NameMaxLength,7
.definelabel NameMaxTiles,5
; Check up to 7 chars on the naming screen for a duplicate.
.org 0x0802DD04
mov r0,NameMaxLength
; This function is called on game startup to initialize character data.
; We modify it to allow a l... |
src/pmode/pmode.asm | devcfei/bootstrap-x86 | 0 | 103566 | org 0x7C00
jmp start
;******************************************************************************
; GDT MANUAL
;******************************************************************************
; GDT is an 8 byte QWORD value that describes properties for the descriptor.
; They are of the format:
;
; B... |
cmd/diskcopy/copyinit.asm | minblock/msdos | 0 | 163297 | <filename>cmd/diskcopy/copyinit.asm
PAGE 90,132 ;A2
TITLE COPYINIT -- DISKCOPY INITIALIZATION PROGRAM
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;******... |
3-mid/impact/source/2d/impact-d2.adb | charlie5/lace | 20 | 2250 | <gh_stars>10-100
package body Impact.d2
--
-- A port of the Box2D physics engine.
--
is
function b2MixFriction (Friction1, Friction2 : float32) return float32
is
use float_math.Functions;
begin
return SqRt (friction1 * friction2);
end b2MixFriction;
function b2MixRestitution (restituti... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0xca_notsx.log_21829_1779.asm | ljhsiun2/medusa | 9 | 179881 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1dd9, %rcx
nop
nop
nop
nop
cmp $34961, %rdi
movw $0x6162, (%rcx)
nop
nop
add $3660, %r9
lea addresses_UC_ht+0x59, %r9
clflush (%r9)
nop
nop
nop
nop
s... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto13.adb | best08618/asylo | 7 | 22225 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto13.adb
-- { dg-do link }
-- { dg-options "-g -flto" { target lto } }
with Lto13_Pkg; use Lto13_Pkg;
procedure Lto13 is
begin
Proc;
end;
|
programs/oeis/024/A024163.asm | neoneye/loda | 22 | 22571 | <filename>programs/oeis/024/A024163.asm
; A024163: Number of integer-sided triangles with sides a,b,c, a<b<c, a+b+c=n such that c - b < b - a.
; 0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,3,1,3,3,3,3,6,3,6,6,6,6,10,6,10,10,10,10,15,10,15,15,15,15,21,15,21,21,21,21,28,21,28,28,28,28,36,28,36,36,36,36,45,36,45,45,45,45,55,45,55,55,... |
src/Lambda/Interpreter.agda | nad/definitional-interpreters | 0 | 16955 | <filename>src/Lambda/Interpreter.agda<gh_stars>0
------------------------------------------------------------------------
-- A definitional interpreter
------------------------------------------------------------------------
open import Prelude
import Lambda.Syntax
module Lambda.Interpreter
{Name : Type}
(open L... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_1646.asm | ljhsiun2/medusa | 9 | 92416 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x13c67, %rsi
lea addresses_UC_ht+0x16dbb, %rdi
clflush (%rsi)
nop
nop
nop
nop
and $60024, %r11
mov $123, %rcx
rep movsw
nop
nop
nop
nop
cmp $36873, %r12
lea addresses_WT_ht+0x... |
Time and Date/Get Current Day.applescript | rogues-gallery/applescript | 360 | 1405 | <filename>Time and Date/Get Current Day.applescript
get weekday of (current date)
|
agda-stdlib/src/Relation/Binary/Indexed/Heterogeneous.agda | DreamLinuxer/popl21-artifact | 5 | 3642 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Heterogeneously-indexed binary relations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Relation.Binary.Indexed.Heterogeneous where
---------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.