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 |
|---|---|---|---|---|
experiments/test-suite/fsm.als | saiema/ARepair | 5 | 301 | <reponame>saiema/ARepair<filename>experiments/test-suite/fsm.als
-- Automatically generated tests.
pred test3 {
some disj FSM0: FSM {some disj State0, State1: State {
FSM = FSM0
start = FSM0->State1
stop = FSM0->State0
State = State0 + State1
transition = State1->State0
}}
}
run test3 for 3 expect 1
pred test7 {
some ... |
notes-import.scpt | panicsteve/notes-import | 59 | 811 | //
// notes-import.scpt
// <NAME> <<EMAIL>>
//
// Import a folder full of HTML or text files into Notes.app.
// Crude, but better than nothing. Maybe?
//
// Usage:
// - Open this file in Script Editor
// - Change Script Editor language popup from AppleScript to JavaScript
// - Run
// - Select folder containing... |
demo/src/main/java/org/antlr4gwt/demo/shared/grammar/SimpleG.g4 | Rikkola/antlr4-gwt | 7 | 4072 | /**
*
* @author <NAME>
*
*/
grammar SimpleG;
@lexer::header {
package org.antlr4gwt.demo.shared.grammar;
//This file had been generated by Antlr4.4 the desktop version
}
@parser::header {
package org.antlr4gwt.demo.shared.grammar;
//This file had been generated by Antlr4.4 the desktop version
}
root : expr+;
... |
Chapter1/#15.agda | CodaFi/HoTT-Exercises | 0 | 14248 | module #15 where
{-
Show that indiscernability of identicals follows from path induction
-}
open import Data.Product
open import Relation.Binary.PropositionalEquality
id : ∀{x}{A : Set x} → A → A
id x = x
ind₌ : ∀{a}{A : Set a} → (C : (x y : A) → (x ≡ y) → Set) → ((x : A) → C x x refl) → (x y : A) → (p : x ≡ y) →... |
Altair101/asm/programsUntested/opMoveData.asm | tigerfarm/arduino | 2 | 164645 | ; --------------------------------------
; Test moving data around.
;
; --------------------------------------
jmp Start ; Jump to Start test section.... |
programs/oeis/227/A227177.asm | jmorken/loda | 1 | 169316 | ; A227177: n occurs n^2 - n + 1 times.
; 0,1,2,2,2,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8... |
programs/oeis/066/A066211.asm | neoneye/loda | 22 | 11003 | <filename>programs/oeis/066/A066211.asm
; A066211: a(n) = Sum_{j=0..n} (2*n)!/(2*n-j)!.
; 1,3,17,157,2081,36101,773665,19726085,582913217,19582414021,736891600001,30699450566885,1402556105125345,69719685409234277,3745929254826233441,216310377722912693701,13359435408855851031425,878701820865582786218885,6132095711904258... |
LibraBFT/Concrete/Properties/VotesOnce.agda | lisandrasilva/bft-consensus-agda-1 | 0 | 14417 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020 Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import Optics.All
open import LibraBFT.Prelude
open import LibraBFT.Hash
o... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/t1.adb | best08618/asylo | 7 | 2367 | <gh_stars>1-10
-- { dg-do run }
with Init1; use Init1;
with Text_IO; use Text_IO;
with Dump;
procedure T1 is
Local_R1 : R1;
Local_R2 : R2;
begin
Local_R1.I := My_R1.I + 1;
Put ("Local_R1 :");
Dump (Local_R1'Address, R1'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "Local_R1 : 79 56 34 12.*\... |
electrum/src/main/resources/models/util/time.als | haslab/Electrum | 29 | 4278 | <gh_stars>10-100
open util/ordering[Time]
sig Time { }
let dynamic[x] = x one-> Time
let dynamicSet[x] = x -> Time
let then [a, b, t, t2] {
some x:Time | a[t,x] && b[x,t2]
}
let while = while3
let while9 [cond, body, t, t2] {
some x:Time | (cond[t] => body[t,x] else t=x) && while8[cond,body,x,t2]
}
let w... |
StandardHandlesLab/StandardHandlesLab/Debug/StandardHandleState.asm | txwizard/DLLServices2 | 1 | 241827 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 18.00.31101.0
TITLE C:\Users\DAVE\Documents\Visual Studio 2013\Projects\WizardWrx_Libs\DLLServices2\StandardHandlesLab\StandardHandlesLab\StandardHandleState.C
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DAT... |
gfx/pokemon/wurmple/anim.asm | Ebernacher90/pokecrystal-allworld | 0 | 243161 | setrepeat 2
frame 1, 12
frame 2, 08
frame 3, 08
dorepeat 1
endanim
|
Library/Config/Toc/tocManager.asm | steakknife/pcgeos | 504 | 2200 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: tocManager.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Desc... |
libsrc/_DEVELOPMENT/alloc/obstack/c/sdcc_iy/obstack_1grow_fast_callee.asm | jpoikela/z88dk | 640 | 102410 | <reponame>jpoikela/z88dk
; void *obstack_1grow_fast_callee(struct obstack *ob, char c)
SECTION code_clib
SECTION code_alloc_obstack
PUBLIC _obstack_1grow_fast_callee, l0_obstack_1grow_fast_callee
EXTERN asm_obstack_1grow_fast
_obstack_1grow_fast_callee:
pop af
pop hl
pop de
push af
l0_obstack_1grow_f... |
oeis/049/A049626.asm | neoneye/loda-programs | 11 | 170775 | <reponame>neoneye/loda-programs
; A049626: a(n) = T(n,4), array T as in A049615.
; Submitted by <NAME>(s3)
; 3,3,6,8,11,12,16,17,20,22,25,26,30,31,34,36,39,40,44,45,48,50,53,54,58,59,62,64,67,68,72,73,76,78,81,82,86,87,90,92,95,96,100,101,104,106,109,110,114,115,118,120,123,124,128,129,132,134,137,138,142
mul $0,3
div... |
src/Control/Functor/Product.agda | andreasabel/cubical | 0 | 13828 | <reponame>andreasabel/cubical
-- Product of functors
module Control.Functor.Product where
open import Function using (id) renaming (_∘′_ to _∘_)
open import Data.Product using (_×_; _,_; proj₁; proj₂; <_,_>)
open import Relation.Binary.PropositionalEquality
open ≡-Reasoning
open import Control.Functor
_×̂_ : Funct... |
src/cedille-options.agda | ice1k/cedille | 0 | 16750 | module cedille-options where
open import general-util
open import options-types public
open import cedille-types
record options : Set where
constructor mk-options
field include-path : 𝕃 string × stringset
use-cede-files : 𝔹
make-rkt-files : 𝔹
generate-logs : 𝔹
show-qualified-var... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1131.asm | ljhsiun2/medusa | 9 | 14768 | <filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1131.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x643, %rsi
lea addresses_A_ht+0x1b4c3, %rdi
nop
cmp %r11, %r11
mov $0, %rcx
rep movsq
nop
nop
nop
nop
and %rbp, %rbp
pop %... |
Ada/client/src/corbacbsg.ads | FredPraca/distributed_cbsg | 4 | 13077 | pragma Style_Checks ("NM32766");
pragma Wide_Character_Encoding (Brackets);
---------------------------------------------------
-- This file has been generated automatically from
-- cbsg.idl
-- by IAC (IDL to Ada Compiler) 20.0w (rev. 90136cd4).
---------------------------------------------------
-- NOTE: If you m... |
src/NetCoreCompiler/NetCoreCompiler/Cool.g4 | matcom-compilers-2019/cool-compiler-ricardo-gilbert | 0 | 2412 | grammar Cool;
options{
language = CSharp;
}
program: (classDefine ';')+ EOF
;
classDefine: CLASS TYPE (INHERITS TYPE)? '{' (feature ';')* '}'
;
feature: method
| property
;
method: ID '(' (formal (',' formal)*)* ')' ':' TYPE '{' expr '}'
;
property: formal (ASSIGNMENT... |
Task/Web-scraping/Ada/web-scraping.ada | LaudateCorpus1/RosettaCodeData | 1 | 20288 | <gh_stars>1-10
with AWS.Client, AWS.Response, AWS.Resources, AWS.Messages;
with Ada.Text_IO, Ada.Strings.Fixed;
use Ada, AWS, AWS.Resources, AWS.Messages;
procedure Get_UTC_Time is
Page : Response.Data;
File : Resources.File_Type;
Buffer : String (1 .. 1024);
Position, Last : ... |
microcode/microcode.asm | rj45/rj32 | 28 | 9107 | <filename>microcode/microcode.asm
#bits 32
HALT = 1 << 0
ERROR = 1 << 1
JUMP = 1 << 2
; alu ops
ADD = 0 << 3
SUB = 1 << 3
SHR = 2 << 3
SHL = 3 << 3
ASR = 4 << 3
XOR = 5 << 3
AND = 6 << 3
OR = 7 << 3
; mem ops
MEM = 1 << 6
STORE = 1 << 7
; reg write
WRITE = 1 << 8
; wrmux -- wri... |
cia.asm | b3lial/c64-demo1 | 0 | 95955 | /*
Constants for the C64's 2 Complex Interface Adapters (CIA)
*/
.namespace cia {
.label VIC_BANK_MASK = %00000011
.label VIC_BANK_REVERSE_MASK = %11111100
.label BANK_0_MASK = %11
.label BANK_1_MASK = %10
.label BANK_2_MASK = %01
.label BANK_3_MASK = %00
.label CIAPRA = $dc00
.label CIAPRB ... |
src/lab-code/calendar_package/src/mycalendar.ads | hannesb0/rtpl18 | 0 | 14622 | <filename>src/lab-code/calendar_package/src/mycalendar.ads
package mycalendar is
type daynum is range 1 .. 31;
type monthnum is range 1 .. 12;
type monthname is (Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec);
type weekday is (Mon, Tue, Wed, Thu, Fri, Sat, Sun);
procedure makecal(w: in week... |
src/fixed_types-long.ads | gusthoff/fixed_types | 0 | 22611 | -------------------------------------------------------------------------------
--
-- FIXED TYPES
--
-- Fixed_Long & Fixed_Sat_Long definitions
--
-- The MIT License (MIT)
--
-- Copyright (c) 2015 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obt... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_609.asm | ljhsiun2/medusa | 9 | 84091 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xf6ae, %r9
nop
nop
nop
nop
add $13654, %rdx
mov $0x6162636465666768, %rbx
movq %rbx, (%r9)
nop
sub $17569, %r9
lea addresses_D_ht+0xfbae, %rsi
lea addresses_D_ht+0x87ae, %rdi
c... |
Practica5/Practica5/main.asm | Pedejeca135/ELECTRONICA-B_UASLP | 1 | 91321 | <reponame>Pedejeca135/ELECTRONICA-B_UASLP<gh_stars>1-10
;
; Practica5.asm
;
; Created: 2/26/2020 1:27:22 PM
; Author : pjco9
;
; Replace with your application code
start:
inc r16
rjmp start
|
src/main/antlr4/tl/antlr4/TL.g4 | RieqyNS13/AtLanguage2 | 0 | 3437 | grammar TL;
parse
: AtBegin block AtEnd EOF
;
block
: ( statement | functionDecl )* ( Return expression ';' )?
;
statement
: assignment ';'
| functionCall ';'
| ifStatement
| forStatement
| whileStatement
;
assignment
: Identifier indexes? '=' expression
;
functionCall
: Identifier '(' exprList? ')' #... |
programs/oeis/070/A070940.asm | neoneye/loda | 22 | 240878 | ; A070940: Number of digits that must be counted from left to right to reach the last 1 in the binary representation of n.
; 1,1,2,1,3,2,3,1,4,3,4,2,4,3,4,1,5,4,5,3,5,4,5,2,5,4,5,3,5,4,5,1,6,5,6,4,6,5,6,3,6,5,6,4,6,5,6,2,6,5,6,4,6,5,6,3,6,5,6,4,6,5,6,1,7,6,7,5,7,6,7,4,7,6,7,5,7,6,7,3,7,6,7,5,7,6,7,4,7,6,7,5,7,6,7,2,7,6... |
src/main/fragment/mos6502-common/vdsm1_le_vdsm2_then_la1.asm | jbrandwood/kickc | 2 | 92801 | lda {m1}
cmp {m2}
lda {m1}+1
sbc {m2}+1
lda {m1}+2
sbc {m2}+2
lda {m1}+3
sbc {m2}+3
bvc !+
eor #$80
bmi {la1}
!: |
core/src/main/antlr4/edp.moonbox.core.parser/CMD.g4 | gnawoal/moonbox | 523 | 6937 | <gh_stars>100-1000
grammar CMD;
tokens {
DELIMITER
}
singleCmd
: cmd EOF
;
cmd
: MOUNT DATASOURCE identifier OPTIONS tablePropertyList #mountDataSource
| UNMOUNT DATASOURCE identifier #unmountDataSource
| MOUNT D... |
test/Succeed/Issue4267/A1.agda | cruhland/agda | 1,989 | 14468 | module Issue4267.A1 where
record RA1 : Set₁ where
field
A : Set
|
src/test/resources/data/searchtests/test-min-expected.asm | cpcitor/mdlz80optimizer | 36 | 162145 | <gh_stars>10-100
sub h
ld b, a
sbc a, a
and b
add a, h
----
sub h
ld b, a
sbc a, b
and b
add a, h |
source/asis/asis-gela-classes.ads | faelys/gela-asis | 4 | 21371 | <filename>source/asis/asis-gela-classes.ads
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela... |
factorial_nomult.asm | danielzy95/MIPS-Random | 0 | 28563 | <reponame>danielzy95/MIPS-Random
.text
main:
li $a0, 12
jal factorial
move $a0, $v0
jal print_int
li $v0, 10
syscall
factorial:
addiu $sp, $sp, -8
sw $ra, 0($sp)
sw $s0, 4($sp)
slti $t0, $a0, 2
beq $t0, $zero, recurs
return1:
li $v0, 1
j end_funct
recurs:
move $s0, $a0
addiu $a0, $a0... |
LibraBFT/Concrete/Properties/VotesOnce.agda | cwjnkins/bft-consensus-agda | 0 | 15015 | <reponame>cwjnkins/bft-consensus-agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import Optics.All
open import... |
programs/oeis/071/A071919.asm | neoneye/loda | 22 | 12794 | <filename>programs/oeis/071/A071919.asm
; A071919: Number of monotone nondecreasing functions [n]->[m] for n>=0, m>=0, read by antidiagonals.
; 1,1,0,1,1,0,1,2,1,0,1,3,3,1,0,1,4,6,4,1,0,1,5,10,10,5,1,0,1,6,15,20,15,6,1,0,1,7,21,35,35,21,7,1,0,1,8,28,56,70,56,28,8,1,0,1,9,36,84,126,126,84,36,9,1,0,1,10,45,120,210,252,21... |
oeis/020/A020572.asm | neoneye/loda-programs | 11 | 242474 | <filename>oeis/020/A020572.asm
; A020572: Expansion of 1/((1-6x)(1-7x)(1-10x)).
; Submitted by <NAME>(s2)
; 1,23,357,4675,55781,628803,6831637,72401555,754291461,7764923683,79263766517,804302170035,8126850016741,81868359076163,822960967286997,8260021493532115,82815918789863621,829686041539878243,8307649950844145077,831... |
src/main/fragment/mos6502-common/vbuaa=pbuz1_derefidx_vbuyy_minus_vbuc1.asm | jbrandwood/kickc | 2 | 167476 | <reponame>jbrandwood/kickc
sec
lda ({z1}),y
sbc #{c1} |
src/Utilities/config_string_parsers.ads | fintatarta/eugen | 0 | 16110 | <reponame>fintatarta/eugen
with Ada.Containers.Indefinite_Ordered_Maps;
with Ada.Containers.Indefinite_Holders;
with Ada.Strings.Maps.Constants; use Ada.Strings.Maps.Constants, Ada.Strings.Maps;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
--
--
-- Syntax:
--
-- line = [header] parameter ("... |
Classes/alias/info for/file type/smaft folder.applescript | looking-for-a-job/applescript-examples | 1 | 3575 | <reponame>looking-for-a-job/applescript-examples
#!/usr/bin/osascript
set home to POSIX path of (path to home folder)
set smart to home & "/git/Smart Folders.gist/python.savedSearch"
file type of smart
|
install/lib/disk/dos_seek.asm | minblock/msdos | 0 | 29661 | <reponame>minblock/msdos<gh_stars>0
;========================================================
COMMENT #
DOS_SEEK.ASM
Copyright (c) 1991 - Microsoft Corp.
All rights reserved.
Microsoft Confidential
=================================================
Seeks to the specified offset in an open disk
disk file.
lon... |
gcc-gcc-7_3_0-release/gcc/ada/s-intman-mingw.adb | best08618/asylo | 7 | 23218 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
plugins/notify/resources/fails-on-iterm-nightly.applescript | jamesob/oh-my-zsh | 1 | 730 | tell application id "com.googlecode.iterm2"
current terminal
end tell
|
Ada/src/fakelib/utilities-hybrid_files.adb | fintatarta/fakedsp | 0 | 11910 | pragma Ada_2012;
package body Utilities.Hybrid_Files is
--------------
-- Put_Line --
--------------
procedure Put_Line (To : Hybrid_File; Item : String) is
begin
if To.Standard_IO then
Text_IO.Put_Line (Item);
else
Text_IO.Put_Line (To.File, Item);
end if;
end P... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstpadtemplate_h.ads | persan/A-gst | 1 | 19744 | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstobject_h;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstpad_h;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstcap... |
bb-runtimes/src/i-raspberry_pi.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 2857 | <filename>bb-runtimes/src/i-raspberry_pi.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
applescript/show_app.applescript | jtraver/dev | 0 | 4082 | <filename>applescript/show_app.applescript
display dialog (get name of current application)
|
examples/nrf24/main.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 12181 | with Ada.Real_Time; use Ada.Real_Time;
with STM32GD.Board;
with STM32GD.GPIO;
with STM32GD.GPIO.Pin;
with Peripherals; use Peripherals;
procedure Main is
package GPIO renames STM32GD.GPIO;
package Board renames STM32GD.Board;
package Text_IO renames Board.Text_IO;
procedure Print_Registers is new Perip... |
formalization/agda/Spire/Denotational.agda | spire/spire | 43 | 15697 | <reponame>spire/spire
open import Spire.Type
module Spire.Denotational where
----------------------------------------------------------------------
data Term : Set → Set₁
eval : {A : Set} → Term A → A
----------------------------------------------------------------------
data Term where
{- Type introduction -}
... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2315.asm | ljhsiun2/medusa | 9 | 14637 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x14538, %r13
nop
add $24977, %rbx
mov (%r13), %r14
nop
nop
nop
xor %rdi, %rdi
lea addresses_A_ht+0x16020, %rbx
nop
nop
nop
nop
and $58241, %rdi
movb (%... |
test/Succeed/Issue133.agda | cruhland/agda | 1,989 | 2437 |
module Issue133 where
data Nat : Set where
zz : Nat
ss : Nat → Nat
data _==_ {X : Set}(x : X) : X → Set where
refl : x == x
data Zero : Set where
data Eq? (x : Nat) : Nat → Set where
same : Eq? x x
diff : {y : Nat} → (x == y → Zero) → Eq? x y
-- This failed before due to absurd lambda checking not getti... |
alloy4fun_models/trainstlt/models/5/wuCDCiTwZyhEezyC4.als | Kaixi26/org.alloytools.alloy | 0 | 3672 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idwuCDCiTwZyhEezyC4_prop6 {
always all s : Signal | eventually s' != s
}
pred __repair { idwuCDCiTwZyhEezyC4_prop6 }
check __repair { idwuCDCiTwZyhEezyC4_prop6 <=> prop6o } |
tests/fn_le/6.asm | NullMember/customasm | 414 | 167823 | <filename>tests/fn_le/6.asm<gh_stars>100-1000
#d le(0x0000ff) ; = 0xff0000 |
src/posix/l10n-langinfo.ads | VitalijBondarenko/AdaNLS | 0 | 21106 | ------------------------------------------------------------------------------
-- --
-- Copyright (c) 2014-2016 <NAME> <<EMAIL>> --
-- --
----------------------------... |
testsuite/ubivm/output/method_4.asm | alexgarzao/UOP | 0 | 4806 | .constant_pool
.const 0 string [start]
.const 1 string [constructor]
.const 2 string [oi]
.const 3 string [oi de novo !!!]
.const 4 string [x]
.const 5 string [msg1]
.const 6 string [msg2]
.const 7 string [msg1=]
.const 8 int [2]
.const 9 string [io.writeln]
.const ... |
src/Implicits/Semantics/RewriteContext.agda | metaborg/ts.agda | 4 | 16715 | open import Prelude
module Implicits.Semantics.RewriteContext where
open import Implicits.Syntax
open import Implicits.Substitutions
open import Implicits.Substitutions.Lemmas
open import Data.Vec
open import Data.List.All as All
open import Extensions.Vec
-- rewrite context (relation between implicit and explicit ... |
oeis/172/A172244.asm | neoneye/loda-programs | 11 | 21288 | ; A172244: Integers (up to a sign) that are not representable in the form 2x^2 + xy + 3y^2 + z^3 - z for integer x,y,z.
; Submitted by <NAME>
; 1,599,14951,9314449,232488049,144839681351,3615189146999,2252257035693601,56216191003346401,35022596760195814199,874161766486847388551,544601377368787875100849,1359321541265428... |
oeis/059/A059145.asm | neoneye/loda-programs | 11 | 178203 | ; A059145: A hierarchical sequence (S(W3{2,2}*cc) - see A059126).
; 15,54,141,324,699,1458,2985,6048,12183,24462,49029,98172,196467,393066,786273
add $0,2
mov $1,2
pow $1,$0
sub $0,$1
mul $0,3
sub $1,$0
sub $1,5
mov $0,$1
mul $0,3
|
tests/_g_00/_g_00.asm | RL-Bin/RLBin | 0 | 92216 | global _main
extern _printf ; Uncomment under Windows
section .data
fmtStr: db 'hello, world',0xA,0
section .text
_main:
sub esp, 4 ; Allocate space on the stack for one 4 byte parameter
lea eax, [fmtStr]
mov [esp], eax ; Arg1: point... |
src/tcl-lists.adb | thindil/tashy2 | 2 | 28797 | <reponame>thindil/tashy2
-- 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 ... |
programs/oeis/185/A185907.asm | neoneye/loda | 22 | 6397 | <gh_stars>10-100
; A185907: Weight array of A185908, by antidiagonals.
; 1,0,1,0,1,1,0,0,0,1,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0
mul $0,2
mov $1,1
lpb $0
cmp $2,0
add $1,$... |
src/sys/serialize/util-beans-objects-readers.adb | RREE/ada-util | 60 | 13839 | -----------------------------------------------------------------------
-- util-beans-objects-readers -- Datasets
-- Copyright (C) 2017, 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 Licens... |
libsrc/stdio_new/fd/open.asm | andydansby/z88dk-mk2 | 1 | 97227 | ; CALLER linkage for function pointers
XLIB open
LIB open_callee
XREF ASMDISP_OPEN_CALLEE
.open
pop hl
pop bc
pop de
push de
push bc
push hl
jp open_callee + ASMDISP_OPEN_CALLEE
|
Palmtree.Math.Core.Sint/vs_build/x86_Debug/TEST_op_Equals.asm | rougemeilland/Palmtree.Math.Core.Sint | 0 | 29307 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
TITLE Z:\Sources\Lunor\Repos\rougemeilland\Palmtree.Math.Core.Sint\Palmtree.Math.Core.Sint\TEST_op_Equals.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM _uint_number_zero:DWORD... |
src/mods/reveal_crate_reshroud.asm | mvdhout1992/ts-patches | 33 | 90861 | <filename>src/mods/reveal_crate_reshroud.asm
%include "macros/patch.inc"
; Picking up a second "map reveal" crate normally unshrouds the map - this fixes it
@CLEAR 0x00458104, 0x90, 0x00458109
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack13_pkg.ads | best08618/asylo | 7 | 4175 | <reponame>best08618/asylo<gh_stars>1-10
generic
Size : Positive;
package Pack13_Pkg is
type Object is private;
private
type Bit is range 0 .. 1;
for Bit'size use 1;
type Object is array (1 .. Size) of Bit;
pragma Pack (Object);
end Pack13_Pkg;
|
programs/oeis/228/A228871.asm | neoneye/loda | 22 | 18415 | ; A228871: Odd numbers producing 3 out-of-order odd numbers in the Collatz (3x+1) iteration.
; 3,227,14563,932067,59652323,3817748707,244335917283,15637498706147,1000799917193443,64051194700380387,4099276460824344803,262353693492758067427,16790636383536516315363,1074600728546337044183267,68774446626965570827729123
mov... |
FindReplaceText-Helper Adobe Photoshop CC 2017/PSTestDocumentsSetup.applescript | ErikTollefsrud/FindReplaceText-Helper | 0 | 614 | <reponame>ErikTollefsrud/FindReplaceText-Helper
use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
property testFileName1 : "FindReplaceTestDoc1"
property testFileName2 : "FindReplaceTestDoc2"
property saveFolder : missing value
-- Set save path (it's the path to the folder this script... |
oeis/206/A206912.asm | neoneye/loda-programs | 11 | 98766 | <gh_stars>10-100
; A206912: Position of log(n+1) when the partial sums of the harmonic series are jointly ranked with the set {log(k+1)}; complement of A206911.
; 1,3,4,6,7,9,10,12,14,15,17,18,20,21,23,25,26,28,29,31,32,34,35,37,39,40,42,43,45,46,48,50,51,53,54,56,57,59,60,62,64,65,67,68,70,71,73,75,76,78,79,81,82,84,8... |
main/pdata.asm | zlatkok/swospp | 12 | 29909 | <reponame>zlatkok/swospp
[list -]
%include "swos.inc"
%include "pdata.inc"
%include "version.inc"
[list +]
bits 32
; additional externs
extern int2str
extern LoadSWPPMenu
extern WriteYULetters
extern FixGetTextSize
extern OpenReplayFile
extern CloseReplayFile
extern MyHilPtrIncrement
extern MyHilPtrAdd
extern PrintSm... |
bb-runtimes/arm/stm32/stm32f401/svd/i-stm32-rcc.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 7256 | <filename>bb-runtimes/arm/stm32/stm32f401/svd/i-stm32-rcc.ads
--
-- Copyright (C) 2020, AdaCore
--
-- This spec has been automatically generated from STM32F401.svd
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package Interfaces.STM32.RCC is
pragma Preelaborate;
pragma No_Elaboration_Code_All;
... |
2ndSemester/Operating Systems/Lab2/Lab2.asm | xairaven/kpi_labs | 0 | 82789 | title Lab2.asm
.model SMALL
text segment
assume CS:text, DS:data
begin: mov AX, data
mov DS, AX
mov AH, 09h
mov DX, offset mesg
int 21h
mov AH, 4Ch
mov Al, 0
int 21h
text ends
data segment
mesg db "NACHINAEM ! $"
data ends
end begin |
src/classify.agda | ice1k/cedille | 0 | 11469 | <reponame>ice1k/cedille
import cedille-options
open import general-util
module classify (options : cedille-options.options)
{mF : Set → Set} ⦃ mFm : monad mF ⦄ (write-to-log : string → mF ⊤) where
open import cedille-types
open import constants
open import conversion
open import ctxt
open import dataty... |
tools/SPARK2005/examples/erfRiemann/tutorial-steps/01-noSPARK/riemann.ads | michalkonecny/polypaver | 1 | 3725 | <filename>tools/SPARK2005/examples/erfRiemann/tutorial-steps/01-noSPARK/riemann.ads
package Riemann is
-- An approximation of the function erf(x)*pi/2, which is equal
-- to the integral \int_0^x(e^(-t^2))dt. This integral does not
-- have a closed algebraic solution. This function uses a simple
-- Riema... |
src/asm/pre.asm | GeekJoystick/mmagedit | 9 | 241995 | <reponame>GeekJoystick/mmagedit
ifdef USEBASE
INCLUDE "inc-base.asm"
else
INCNES "base.nes"
endif
; ignore the base while generating the patch.
CLEARPATCH
; macros
SEEK EQU SEEKABS
SKIP EQU SKIPREL
MACRO SUPPRESS
ENUM $
ENDM
ENDSUPPRESS EQU ENDE
MACRO SKIPTO pos
if ($ >= 0)
SKIP pos - $
... |
libpal/intel_64bit_systemv_nasm/rdmsr.asm | mars-research/pal | 26 | 168110 | bits 64
default rel
section .text
global pal_execute_rdmsr
pal_execute_rdmsr :
mov rcx, rdi
rdmsr
shl rdx, 32
or rax, rdx
ret
|
RecursiveTypes/Subtyping/Axiomatic/Incorrect.agda | nad/codata | 1 | 15273 | <filename>RecursiveTypes/Subtyping/Axiomatic/Incorrect.agda
------------------------------------------------------------------------
-- Incorrect coinductive axiomatisation of subtyping
------------------------------------------------------------------------
-- This module shows that if we remove transitivity from
-- ... |
alloy4fun_models/trashltl/models/11/EkaLQCSo8DyREZ5j8.als | Kaixi26/org.alloytools.alloy | 0 | 1772 | open main
pred idEkaLQCSo8DyREZ5j8_prop12 {
all f : File | eventually f in Trash implies always f in Trash
}
pred __repair { idEkaLQCSo8DyREZ5j8_prop12 }
check __repair { idEkaLQCSo8DyREZ5j8_prop12 <=> prop12o } |
software/obsolete/new-rom/stream.asm | Noah1989/micro-21 | 1 | 247292 | <filename>software/obsolete/new-rom/stream.asm<gh_stars>1-10
public stream_IX_seek_BCDE
public stream_IX_get_byte_A
public stream_IX_put_byte_A
public stream_IX_read_block_DE_len_BC
public stream_IX_read_block_DE_len_BC_bytewise
public stream_IX_write_block_DE_len_BC
public stream_IX_write_block_DE_len_BC_bytewise
publ... |
Engine/WLE_Decode.asm | gbcompo21/ReboundGB | 2 | 10440 | <filename>Engine/WLE_Decode.asm
DecodeWLE:
; Walle Length Encoding decoder
ld c,0
DecodeWLELoop:
ld a,[hl+]
ld b,a
and $c0
jr z,.literal
cp $40
jr z,.repeat
cp $80
jr z,.increment
.copy
ld a,b
inc b
ret z
and $3f
inc a
ld b,a
... |
courses/spark_for_ada_programmers/labs/answers/160_interfacing/counter.adb | AdaCore/training_material | 15 | 10777 | <filename>courses/spark_for_ada_programmers/labs/answers/160_interfacing/counter.adb
with System.Storage_Elements;
package body Counter
with SPARK_Mode
is
procedure Bump_And_Monitor (Alarm : out Boolean)
is
Calc : Integer;
begin
Calc := Port;
Alarm := Limit < Calc;
end Bump_And_Monitor... |
ArmPkg/Library/ArmLib/Arm/ArmV7ArchTimerSupport.asm | KaoTuz/edk2-stable202108 | 9 | 84582 | //------------------------------------------------------------------------------
//
// Copyright (c) 2011, ARM Limited. All rights reserved.
//
// SPDX-License-Identifier: BSD-2-Clause-Patent
//
//------------------------------------------------------------------------------
INCLUDE AsmMacroExport.inc
PRESERV... |
drivers/forward_ad-dynamics.adb | sciencylab/lagrangian-solver | 0 | 14527 | with Numerics, Ada.Text_IO, Forward_AD.Integrator;
use Numerics, Ada.Text_IO, Forward_AD.Integrator;
procedure Forward_AD.Dynamics is
use Real_IO, Int_IO;
-- Set Up Parameters -----------------
N : constant Nat := 2;
Control : Control_Type (N => N);
-------------------------------
--- Set... |
msx/tools/xmodem.retired/sio.asm | zoggins/yellow-msx-series-for-rc2014 | 19 | 86588 | <reponame>zoggins/yellow-msx-series-for-rc2014<gh_stars>10-100
SIO_RCBBYT:
LD HL, SIO_RCVBUF ; SET HL TO
DI ; AVOID COLLISION WITH INT HANDLER
LD A, (HL) ; GET COUNT
DEC A ; DECREMENT COUNT
LD (HL), A ; SAVE UPDATED COUNT
CP 0 ; BUFFER LOW THRESHOLD
JR NZ, SIO_IN1 ; IF NOT, BYPASS SETTING RTS
L... |
Sets/CantorBijection/Order.agda | Smaug123/agdaproofs | 4 | 1645 | <reponame>Smaug123/agdaproofs<gh_stars>1-10
{-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Functions.Definition
open import Numbers.Naturals.Semiring
open import Numbers.Naturals.Order
open import Numbers.Naturals.Order.WellFounded
open import Semirings.Definition
open impo... |
oeis/028/A028399.asm | neoneye/loda-programs | 11 | 164054 | <gh_stars>10-100
; A028399: a(n) = 2^n - 4.
; 0,4,12,28,60,124,252,508,1020,2044,4092,8188,16380,32764,65532,131068,262140,524284,1048572,2097148,4194300,8388604,16777212,33554428,67108860,134217724,268435452,536870908,1073741820,2147483644,4294967292,8589934588,17179869180,34359738364,68719476732,137438953468,27487790... |
programs/oeis/065/A065883.asm | karttu/loda | 0 | 160168 | ; A065883: Remove factors of 4 from n (i.e., write n in base 4, drop final zeros, then rewrite in decimal).
; 1,2,3,1,5,6,7,2,9,10,11,3,13,14,15,1,17,18,19,5,21,22,23,6,25,26,27,7,29,30,31,2,33,34,35,9,37,38,39,10,41,42,43,11,45,46,47,3,49,50,51,13,53,54,55,14,57,58,59,15,61,62,63,1,65,66,67,17,69,70,71,18,73,74,75,19,... |
lib/types/GroupSet.agda | UlrikBuchholtz/HoTT-Agda | 1 | 11166 | <filename>lib/types/GroupSet.agda
{-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.NType2
open import lib.types.Pi
open import lib.types.Group
{-
The definition of G-sets. Thanks to <NAME>.
-}
module lib.types.GroupSet {i} where
-- The right group action with respect to the group [grp].
r... |
problems/025/a025.adb | melwyncarlo/ProjectEuler | 0 | 9684 | <reponame>melwyncarlo/ProjectEuler
with Ada.Strings.Fixed;
with Ada.Integer_Text_IO;
with Ada.Numerics.Long_Elementary_Functions;
-- Copyright 2021 <NAME>
procedure A025 is
use Ada.Strings.Fixed;
use Ada.Integer_Text_IO;
use Ada.Numerics.Long_Elementary_Functions;
Fibonacci_Val : array (Integer ... |
oeis/309/A309391.asm | neoneye/loda-programs | 11 | 102263 | <filename>oeis/309/A309391.asm
; A309391: a(n) = gcd(n, A064169(n-2)) for n > 2.
; Submitted by <NAME>
; 3,1,5,1,7,1,1,1,11,1,13,1,1,1,17,1,19,1,1,1,23,1,5,1,1,1,29,1,31,1,1,1,1,1,37,1,1,1,41,1,43,1,1,1,47,1,7,1,1,1,53,1,1,1,1,1,59,1,61,1,1,1,1,1,67,1,1,1,71,1,73,1,1,1,1,1,79,1,1,1,83,1,1,1,1,11,89,1,1,1,1,1,1,1,97,1,1... |
PSW TO REGISTER.asm | vkmanojk/Simulation-8051 | 1 | 103226 | ORG 0H
MOV R0, #95
MOV R7, #20H
MOV A, R0
DIVISION:
MOV B, #16
DIV AB
MOV @R7,B
JZ DIVISION
END |
programs/oeis/157/A157953.asm | karttu/loda | 1 | 166301 | <filename>programs/oeis/157/A157953.asm
; A157953: a(n) = 81n^2 - n.
; 80,322,726,1292,2020,2910,3962,5176,6552,8090,9790,11652,13676,15862,18210,20720,23392,26226,29222,32380,35700,39182,42826,46632,50600,54730,59022,63476,68092,72870,77810,82912,88176,93602,99190,104940,110852,116926,123162,129560,136120,142842,14972... |
Type/Cubical/Equiv.agda | Lolirofle/stuff-in-agda | 6 | 6179 | {-# OPTIONS --cubical #-}
module Type.Cubical.Equiv where
import Lvl
open import Type.Cubical
open import Type.Cubical.Path.Equality
import Type.Equiv as Type
open import Type
private variable ℓ₁ ℓ₂ : Lvl.Level
-- `Type.Equiv._≍_` specialized to Path.
_≍_ : (A : Type{ℓ₁}) → (B : Type{ℓ₂}) → Type
A ≍ B = A... |
boards/native/src/native-filesystem.adb | morbos/Ada_Drivers_Library | 2 | 7443 | with Ada.Directories;
with Ada.Unchecked_Deallocation;
package body Native.Filesystem is
-- ??? There are a bunch of 'Unrestricted_Access here because the
-- HAL.Filesystem API embeds implicit references to filesystems. It
-- woudl be good to make these references explicit at some point to
-- avoid kl... |
src/autogenerated/textBank3.asm | jannone/westen | 49 | 91459 | <gh_stars>10-100
; line: 'I need to find the other half.'
; size in bytes: 31
line_0:
db #1e,#3b,#00,#82,#71,#71,#6f,#00,#8e,#84,#00,#73,#79,#82,#6f,#00
db #8e,#77,#71,#00,#84,#8e,#77,#71,#8a,#00,#77,#69,#7e,#73,#14
end_line_0:
; line: 'is not alone. But I have a plan. I know how'
; size in bytes: 44
line_1:
... |
Archive/Rev2/snes/journey/src/data.asm | mupfelofen-de/SNESoIP | 59 | 27046 | .include "hdr.asm"
.section ".rodata1" superfree
snesfont:
.incbin "res/font/font.pic"
finn:
.incbin "res/finn.pic"
.ends
|
Retired/Assemblearning_Modulo.asm | UlrichBerntien/Codewars-Katas | 0 | 14682 | <filename>Retired/Assemblearning_Modulo.asm
section .text
global mod
; uint64_t mod(uint64_t a, uint64_t n)
; input:
; rdi - value a
; rsi - value n
; return:
; ryx - a mod n
mod:
mov rax,rdi
xor rdx,rdx ; rdx:rax = value a, unsigned expanded
div rsi ; rax = quotient, rdx = remainded
... |
test/asset/agda-stdlib-1.0/Data/Sum/Relation/Binary/Pointwise.agda | omega12345/agda-mode | 0 | 3455 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Pointwise sum
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Sum.Relation.Binary.Pointwise where
open import Data.Product using (_,_)
op... |
sample_input/testcase3.ada | hajin-kim/PLS_TinyAda_Compiler | 0 | 13408 | procedure Test is
I : INTEGER;
begin
I := 0;
if J <= 15 then
I := 0;
end if;
End Test;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.