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 |
|---|---|---|---|---|
printf.asm | imneme/spectrum-minilib | 1 | 92782 | INCLUDE "romdefs.inc"
SECTION code_clib
GLOBAL _printf
EXTERN _putstr
EXTERN putchar_a
_printf:
pop bc
pop hl
print_loop:
ld a, (hl)
or a
jr z, printf_done
inc hl
cp '%'
jr nz, printf_printchar
ld a, (hl)
inc hl
cp '%'
jr z, print_percent
pop ... |
currypp/.cpm/packages/verify/examples/PROOF-odddoublecoin.agda | phlummox/curry-tools | 0 | 15957 | <reponame>phlummox/curry-tools
-- Agda program using the Iowa Agda library
open import bool
module PROOF-odddoublecoin
(Choice : Set)
(choose : Choice → 𝔹)
(lchoice : Choice → Choice)
(rchoice : Choice → Choice)
where
open import eq
open import nat
open import list
open import maybe
---------------------... |
sprites/vic_regs.asm | cainex/c64_playground | 0 | 14272 | // VIC-II Base Address
.const VIC_BASE=$d000
.const VIC_BANK0=$0000
.const SPR_PTR_BASE=$07f8
// Sprite Co-ordinate Registers
.const SPR_M0X=VIC_BASE
.const SPR_M0Y=VIC_BASE+1
.const SPR_M1X=VIC_BASE+2
.const SPR_M1Y=VIC_BASE+3
.const SPR_M2X=VIC_BASE+4
.const SPR_M2Y=VIC_BASE+5
.const SPR_M3X=VIC_BASE+6
.const SPR_M... |
oeis/171/A171539.asm | neoneye/loda-programs | 11 | 105263 | <reponame>neoneye/loda-programs
; A171539: Decimal expansion of sqrt(6/35).
; Submitted by <NAME>(s4)
; 4,1,4,0,3,9,3,3,5,6,0,5,4,1,2,5,3,0,6,7,7,6,7,6,1,1,8,7,7,6,2,7,9,1,9,2,0,8,9,7,1,8,0,8,2,1,3,5,9,7,0,6,5,9,6,7,7,0,2,6,4,2,3,0,6,0,5,1,8,4,1,0,6,4,7,2,4,8,0,1,2,0,4,8,9,3,0,3,7,6,9,1,4,3,8,9,0,7,1,3
mov $2,1
mov $3... |
src/main/java/com/PlusCal/grammar/PlusCalLexer.g4 | hengxin/pluscal-compiler-in-antlr4 | 0 | 151 | <reponame>hengxin/pluscal-compiler-in-antlr4
lexer grammar PlusCalLexer;
// PlusCal Keywords
Algorithm: 'algorithm';
While: 'while';
Variables: 'variables';
Variable: 'variable';
Assert: 'assert';
If: 'if';
Else: 'else';
ElseIf: ... |
old/Coinduction.agda | timjb/HoTT-Agda | 294 | 10465 | <filename>old/Coinduction.agda
{-# OPTIONS --without-K #-}
module Coinduction where
infix 1000 ♯_
postulate
∞ : ∀ {i} (A : Set i) → Set i
♯_ : ∀ {i} {A : Set i} → A → ∞ A
♭ : ∀ {i} {A : Set i} → ∞ A → A
{-# BUILTIN INFINITY ∞ #-}
{-# BUILTIN SHARP ♯_ #-}
{-# BUILTIN FLAT ♭ #-}
|
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_net_gstnettimeprovider_h.ads | persan/A-gst | 1 | 17691 | <reponame>persan/A-gst
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;
-- limited -- with GStreamer.GST_Low_Level.glib_2_0_glib_gthread_h;
limited with GStrea... |
spec/assert_xy_equal_spec.asm | andrzejsliwa/64spec | 53 | 164844 | .import source "64spec.asm"
.eval config_64spec("print_immediate_result", false)
sfspec: :init_spec()
:describe("assert_xy_equal")
:it("works for all values of X and Y register")
{
.var x = floor(random()*256)
.print "x = " + x + " in assert_xy_equal works for all values of y test"
ldx #x
.for... |
test/Fail/Unsolved-meta-in-postulate.agda | cruhland/agda | 1,989 | 2537 | <reponame>cruhland/agda
module Unsolved-meta-in-postulate where
postulate P : _
|
source/nodes/program-nodes-element_iterator_specifications.adb | reznikmm/gela | 0 | 29590 | <reponame>reznikmm/gela
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Element_Iterator_Specifications is
function Create
(Name : not null Program.Elements.Defining_Iden... |
Programs/kraken/provide_key/provide_key-0.asm | tilenmarc/SCALE-MAMBA | 0 | 103270 | # provide_key-0--0
ldint r0, 0 # 0
pushint r0 # 1
# provide_key-0-begin-loop-1
popint r1 # 2
private_input s0, 0, 0 # 3
ldint r2, 8192 # 4
addint r3, r1, r2 # 5
stmsi s0, r3 # 6
ldint r4, 1 # 7
addint r5, r1, r4 # 8
pushint r5 # 9
ldint r6, 32 # 10
ltint r7, r5, r6 # 11
jmpnz r7, -11 # 12
# provide_key-0-end-loop-2
pop... |
oeis/081/A081183.asm | neoneye/loda-programs | 11 | 170296 | ; A081183: 6th binomial transform of (0,1,0,2,0,4,0,8,0,16,...).
; Submitted by <NAME>
; 0,1,12,110,912,7204,55440,420344,3159168,23618320,176008128,1309074656,9724619520,72186895936,535605687552,3972913788800,29464372088832,218493396246784,1620132103941120,12012809774902784,89069225764835328,660395176831329280,4896388... |
awa/src/awa-services-contexts.ads | fuzzysloth/ada-awa | 81 | 25910 | <reponame>fuzzysloth/ada-awa
-----------------------------------------------------------------------
-- awa-services -- Services
-- Copyright (C) 2011, 2012, 2013, 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in... |
source/web/soap/web_services-soap-messages.adb | svn2github/matreshka | 24 | 10354 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
MP/add.asm | pratikpc/Pracs-Sem-V | 0 | 98591 | <gh_stars>0
.8086
.model small
.stack 100h
.data
num1 db 03h
num2 db 05h
result db ? ; Store Result here
.code
start:
mov ax, @data
mov ds, ax
mov ah, 00h
mov al, num1
add al, num2 ; Stores result in al itself
mov result, al
mov ah, 4ch
int 21h ; End Program
end start |
src/Categories/Diagram/Limit/Properties.agda | Trebor-Huang/agda-categories | 279 | 4712 | <gh_stars>100-1000
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
open import Categories.Functor
module Categories.Diagram.Limit.Properties
{o ℓ e} {o′ ℓ′ e′} {C : Category o ℓ e} {J : Category o′ ℓ′ e′} where
open import Categories.Diagram.Cone.Properties
open import Categories.NaturalTr... |
oeis/078/A078879.asm | neoneye/loda-programs | 11 | 175555 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A078879: Triangle read by rows: T(n,k) = ceiling(k^2 / n), 0 < k <= n.
; Submitted by <NAME>
; 0,1,0,1,2,0,1,1,3,0,1,1,2,4,0,1,1,2,3,5,0,1,1,2,3,4,6,0,1,1,2,2,4,5,7,0,1,1,1,2,3,4,6,8,0,1,1,1,2,3,4,5,7,9,0,1,1,1,2,3,4,5,6,8,10,0,1,1,1,2,3,3,5,6,7,9,11,0,1,1,1,2,2,3,4,5,7... |
Sem4/AEIE_LAB/Scrolling leds.asm | SOUMEE2000/Heritage-CSE-Codes | 0 | 166609 | <filename>Sem4/AEIE_LAB/Scrolling leds.asm<gh_stars>0
ORG 2000H
MVI A, 82H
OUT 83H
MVI A, 00H
L1: OUT 80H
NOP
NOP
NOP
NOP
NOP
CMA
NOP
NOP
NOP
NOP
NOP
JMP L1
END |
src/digital.ads | Asier98/Control_IO_STM32F446 | 0 | 22087 | <gh_stars>0
with STM32.GPIO;
use STM32.GPIO;
with HAL.GPIO;
package Digital is
type Digital_Mode is (Input, Output);
-- Input or Output
type Signal_Mode is (HIGH,LOW);
-- HIGH or LOW
procedure Configure_Pin(Pin : GPIO_Point; Mode : Digital_Mode);
-- Configure a channel as Output or Input
proce... |
Cubical/Algebra/Polynomials/UnivariateHIT/Polyn-nPoly.agda | thomas-lamiaux/cubical | 0 | 12031 | <filename>Cubical/Algebra/Polynomials/UnivariateHIT/Polyn-nPoly.agda
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Algebra.Polynomials.UnivariateHIT.Polyn-nPoly where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open ... |
programs/oeis/100/A100821.asm | neoneye/loda | 22 | 86595 | <filename>programs/oeis/100/A100821.asm<gh_stars>10-100
; A100821: a(n) = 1 if prime(n) + 2 = prime(n+1), otherwise 0.
; 0,1,1,0,1,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,1,0,0,0,1,0,0,1,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0... |
oeis/249/A249736.asm | neoneye/loda-programs | 11 | 100429 | ; A249736: Triangular numbers modulo 30.
; Submitted by <NAME>
; 0,1,3,6,10,15,21,28,6,15,25,6,18,1,15,0,16,3,21,10,0,21,13,6,0,25,21,18,16,15,15,16,18,21,25,0,6,13,21,0,10,21,3,16,0,15,1,18,6,25,15,6,28,21,15,10,6,3,1,0,0,1,3,6,10,15,21,28,6,15,25,6,18,1,15,0,16,3,21,10,0,21,13,6,0
add $0,1
bin $0,2
mod $0,30
|
src/Selective/Runtime.agda | Zalastax/thesis | 1 | 13369 | <filename>src/Selective/Runtime.agda
module Selective.Runtime where
open import Selective.Simulate
open import Selective.SimulationEnvironment
open import Prelude
open import Data.Nat.Show using (show)
open import Codata.Musical.Notation using ( ♯_ ; ♭)
import IO
open ∞Trace
record BlockedCount : Set₂ where
field
... |
source/string.asm | re0ah/nameless-OS16 | 0 | 24283 | ;This is free and unencumbered software released into the public domain.
;Anyone is free to copy, modify, publish, use, compile, sell, or
;distribute this software, either in source code form or as a compiled
;binary, for any purpose, commercial or non-commercial, and by any
;means.
;In jurisdictions that recognize c... |
agda-stdlib/src/Data/Word.agda | DreamLinuxer/popl21-artifact | 5 | 1707 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Machine words
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Word where
----------------------------------------------------------------... |
iota-loader/src/main/antlr4/org/doxu/iota/board/Board.g4 | rbedia/iota | 0 | 3317 | grammar Board;
board:
(row NL)*
row
NL?
EOF;
row:
SS?
(cell SS)*
cell;
cell:
Card;
Card: Color Shape Count;
Color: 'R' | 'G' | 'B' | 'Y' | '.';
Shape: 'O' | 'S' | 'T' | '+' | '.';
Count: '1' | '2' | '3' | '4' | '.';
SS: ' ';
NL: '\r'? '\n';
|
src/notcurses_direct_thin.ads | JeremyGrosser/notcursesada | 5 | 1798 | --
-- Copyright 2021 (C) <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: Apache-2.0
--
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces; use Interfaces;
with Interfaces.C_Streams;
with Notcurses_Thin;
with Interfaces.C.Strings;
with Interfaces.C.Extensions;
with System... |
oeis/133/A133682.asm | neoneye/loda-programs | 11 | 163022 | <reponame>neoneye/loda-programs<filename>oeis/133/A133682.asm<gh_stars>10-100
; A133682: Number of regular complex polytopes in n-dimensional unitary complex space.
; Submitted by <NAME>
; 1,22,8,7,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
mov $3,$0
mul $3,4
sub $3,1
lpb $3
mov $1,3
mov $4,$0
cmp $4,0
add $0... |
data/baseStats/dodrio.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 243632 | <reponame>etdv-thevoid/pokemon-rgb-enhanced
db DODRIO ; pokedex id
db 60 ; base hp
db 110 ; base attack
db 70 ; base defense
db 110 ; base speed
db 60 ; base special
db NORMAL ; species type 1
db FLYING ; species type 2
db 45 ; catch rate
db 158 ; base exp yield
INCBIN "pic/gsmon/dodrio.pic",0,1 ; 77, sprite dimensions... |
programs/oeis/059/A059169.asm | karttu/loda | 1 | 808 | ; A059169: Number of partitions of n into 3 parts which form the sides of a nondegenerate isosceles triangle.
; 0,0,1,0,1,1,2,1,2,2,3,2,3,3,4,3,4,4,5,4,5,5,6,5,6,6,7,6,7,7,8,7,8,8,9,8,9,9,10,9,10,10,11,10,11,11,12,11,12,12,13,12,13,13,14,13,14,14,15,14,15,15,16,15,16,16,17,16,17,17,18,17,18,18,19,18,19,19,20,19,20,20,2... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_NES/N_F_asm/zel_dsub.asm | prismotizm/gigaleak | 0 | 1221 | Name: zel_dsub.asm
Type: file
Size: 7813
Last-Modified: '2016-05-13T04:22:15Z'
SHA-1: 27E3F4DB72D39DD427FF5E5606661EEC403F6F42
Description: null
|
test/Succeed/RelevanceSubtyping.agda | hborum/agda | 3 | 13915 | -- Andreas, 2012-09-13
module RelevanceSubtyping where
-- this naturally type-checks:
one : {A B : Set} → (.A → B) → A → B
one f x = f x
-- this type-checks because of subtyping
one' : {A B : Set} → (.A → B) → A → B
one' f = f
|
src/JVM/Syntax/Instructions/Show.agda | ajrouvoet/jvm.agda | 6 | 11884 | module JVM.Defaults.Syntax.Instructions.Show where
open import Data.String as String hiding (show)
open import Data.Nat.Show as Nat hiding (show)
open import Relation.Binary.PropositionalEquality
open import Relation.Ternary.Structures.Syntax
open import Relation.Ternary.Monad.Weakening
open import Relation.Ternary.Da... |
source/a-refere.ads | ytomino/drake | 33 | 27267 | <filename>source/a-refere.ads
pragma License (Unrestricted);
-- extended unit
package Ada.References is
-- Returning access values to sliced arrays from functions.
pragma Pure;
-- magic to carry out ARRAY (F .. L)'Access to out of subprogram
generic
type Index_Type is range <>;
type Element_... |
demo_os/src/boot/base.asm | mmarkle/DecentOS | 0 | 27205 | ; Dummy boot page to get emulators to boot the OS
jr _
.fill 0x0F - $
.db "n.nn", 0 ; Boot code version number
_:
#ifdef TI84p
in a, (0x21)
res 0, a
out (0x21), a
#else
in a, (0x21)
set 0, a
out (0x21), a
#endif
jp 0x4000
|
examples/outdated-and-incorrect/syntax/ModuleA.agda | asr/agda-kanso | 1 | 13650 | <reponame>asr/agda-kanso
-- This module is used to illustrate how to import a non-parameterised module.
module examples.syntax.ModuleA where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
plus : Nat -> Nat -> Nat
eval : Nat -> Nat
eval zero = zero
eval (suc x) = suc (eval x)
eva... |
programs/oeis/105/A105397.asm | karttu/loda | 1 | 92043 | ; A105397: Periodic with period 2: repeat [4,2].
; 4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2,4,2
gcd $0,2
mov $1,$0
mul $1,2
|
examples/ada/trees/arraytree/launch.adb | rewriting/tom | 36 | 10502 | <reponame>rewriting/tom
with ATree;
procedure launch is
begin
ATree.main;
end launch;
|
tools/ayacc/src/source_file.adb | svn2github/matreshka | 24 | 13362 | <filename>tools/ayacc/src/source_file.adb
-- $Header: /cf/ua/arcadia/alex-ayacc/ayacc/src/RCS/source_file_body.a,v 1.1 88/08/08 14:29:03 arcadia Exp $
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- The primary authors of ayacc were <NAME> and <NAME>.
-- Enhancements... |
WellTypedTerms.agda | jmchapman/Relative-Monads | 21 | 5968 | <reponame>jmchapman/Relative-Monads
module WellTypedTerms where
open import Library
open import Categories
open import Functors
open import RMonads
open import FunctorCat
open import Categories.Sets
open import Categories.Families
data Ty : Set where
ι : Ty
_⇒_ : Ty → Ty → Ty
data Con : Set where
ε : Con
... |
source/amf/uml/amf-internals-uml_redefinable_template_signatures.adb | svn2github/matreshka | 24 | 16086 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
src/gen-commands.ads | My-Colaborations/dynamo | 15 | 17752 | -----------------------------------------------------------------------
-- gen-commands -- Commands for dynamo
-- Copyright (C) 2011, 2012, 2017, 2018 <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 t... |
src/extraction-references_of_decls.adb | TNO/Dependency_Graph_Extractor-Ada | 0 | 16157 | <filename>src/extraction-references_of_decls.adb
with Extraction.Node_Edge_Types;
with Extraction.Utilities;
package body Extraction.References_Of_Decls is
use type LAL.Analysis_Unit;
use type LALCO.Ada_Node_Kind_Type;
function Is_Node_In_End_Name (Node : LAL.Ada_Node'Class) return Boolean;
function Is_N... |
programs/oeis/145/A145389.asm | neoneye/loda | 22 | 28403 | <gh_stars>10-100
; A145389: Digital roots of triangular numbers.
; 0,1,3,6,1,6,3,1,9,9,1,3,6,1,6,3,1,9,9,1,3,6,1,6,3,1,9,9,1,3,6,1,6,3,1,9,9,1,3,6,1,6,3,1,9,9,1,3,6,1,6,3,1,9,9,1,3,6,1,6,3,1,9,9,1,3,6,1,6,3,1,9,9,1,3,6,1,6,3,1,9,9,1,3,6,1,6
lpb $0
add $2,$0
sub $0,1
lpe
lpb $2
mov $1,$2
sub $2,5
trn $2,4
lpe... |
programs/oeis/044/A044251.asm | karttu/loda | 1 | 172426 | ; A044251: Numbers n such that string 0,0 occurs in the base 9 representation of n but not of n-1.
; 81,162,243,324,405,486,567,648,729,810,891,972,1053,1134,1215,1296,1377,1458,1539,1620,1701,1782,1863,1944,2025,2106,2187,2268,2349,2430,2511,2592,2673,2754,2835,2916,2997,3078,3159
mov $1,$0
mul $1,81
add $1,81
|
Library/Chart/CBody/cbodyGrObj.asm | steakknife/pcgeos | 504 | 96113 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: cbodyGrObj.asm
AUTHOR: <NAME>
METHODS:
Name Description
---- -----------
FUNCTIONS:
Scope Name Description
-----... |
oeis/275/A275574.asm | neoneye/loda-programs | 11 | 8964 | ; A275574: ((-1)^n - 1 + 2*(n^floor((n + 1)/2)))/4
; 0,1,4,8,62,108,1200,2048,29524,50000,885780,1492992,31374258,52706752,1281445312,2147483648,59293938248,99179645184,3065533128900,5120000000000,175138750271110,292159150705664,10957312216010160,18260173718028288,745058059692382812,1240576436601868288,5470949456575617... |
PRG/levels/Giant/4-1Bonus.asm | narfman0/smb3_pp1 | 0 | 27053 | ; Original address was $B952
; 4-1 bonus
.word W401L ; Alternate level layout
.word W401O ; Alternate object layout
.byte LEVEL1_SIZE_03 | LEVEL1_YSTART_170
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 | LEVEL2_UNUSEDFLAG
.byte LEVEL3_TILESET_11 | LEVEL3_VSCROLL_LOCKED | LEVEL3_PIPENOTEXIT
.byte LE... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca3011a4.ada | best08618/asylo | 7 | 7143 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca3011a4.ada
-- CA3011A4M.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
-- unli... |
alloy4fun_models/trashltl/models/11/vTuToM7QEade5RqgX.als | Kaixi26/org.alloytools.alloy | 0 | 3979 | <filename>alloy4fun_models/trashltl/models/11/vTuToM7QEade5RqgX.als
open main
pred idvTuToM7QEade5RqgX_prop12 {
eventually (some f:File | (eventually f in Trash) implies (always f in Trash))
}
pred __repair { idvTuToM7QEade5RqgX_prop12 }
check __repair { idvTuToM7QEade5RqgX_prop12 <=> prop12o } |
programs/oeis/244/A244048.asm | karttu/loda | 0 | 635 | ; A244048: Antisigma(n) minus the sum of remainders of n mod k, for k = 1,2,3,...,n.
; 0,0,1,2,5,6,12,13,20,24,32,33,49,50,60,69,84,85,106,107,129,140,154,155,191,197,213,226,254,255,297,298,329,344,364,377,432,433,455,472,522,523,577,578,618,651,677,678,754,762,805,826
mov $2,$0
lpb $2,1
lpb $4,1
add $1,$3
... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-retide.adb | orb-zhuchen/Orb | 0 | 5909 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
yes.adb | NotWearingPants/yes | 88 | 10070 | with Ada.Command_line; use Ada.Command_line;
with Ada.Text_IO; use Ada.Text_IO;
procedure Yes is
begin
if Argument_Count >= 1 then
while (True) loop
Put_Line(Argument(1));
end loop;
else
while (True) loop
Put_Line("y");
end loop;
end if;
end Yes;
|
Transynther/x86/_processed/NONE/_st_zr_un_/i7-7700_9_0x48.log_21829_2344.asm | ljhsiun2/medusa | 9 | 11333 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %r9
push %rax
push %rdi
push %rdx
lea addresses_WT_ht+0x18823, %r11
nop
nop
nop
nop
nop
sub %r8, %r8
movl $0x61626364, (%r11)
nop
nop
and $64073, %r9
lea addresses_normal_ht+0x6c23, %rax
nop
nop
nop
nop
nop
cmp %r9,... |
programs/oeis/024/A024053.asm | karttu/loda | 1 | 16877 | ; A024053: a(n) = 5^n - n^4.
; 1,4,9,44,369,2500,14329,75724,386529,1946564,9755625,48813484,244119889,1220674564,6103477209,30517527500,152587825089,762939369604,3814697160649,19073486197804,95367431480625,476837158008644,2384185790781369
mov $1,5
pow $1,$0
pow $0,4
sub $1,$0
|
programs/oeis/006/A006497.asm | jmorken/loda | 1 | 163900 | <filename>programs/oeis/006/A006497.asm
; A006497: a(n) = 3*a(n-1) + a(n-2) with a(0) = 2, a(1) = 3.
; 2,3,11,36,119,393,1298,4287,14159,46764,154451,510117,1684802,5564523,18378371,60699636,200477279,662131473,2186871698,7222746567,23855111399,78788080764,260219353691,859446141837,2838557779202,9375119479443,309639162... |
dialectica-cats/Dial2Sets.agda | heades/AUGL | 0 | 242 | -----------------------------------------------------------------------
-- This file defines Dial₂(Sets) and its SMC structure. --
-----------------------------------------------------------------------
module Dial2Sets where
open import prelude
-- The objects:
Obj : Set₁
Obj = Σ[ U ∈ Set ] (Σ[ X ∈ Set ]... |
Applications/Terminal/window/selected tab.applescript | looking-for-a-job/applescript-examples | 1 | 931 | <filename>Applications/Terminal/window/selected tab.applescript
tell application "Terminal"
tell front window
selected tab
set selected tab to tab 3
end tell
end tell |
data/mcp/asm/prog_06_02.asm | colinw7/CZ80 | 0 | 97165 | <filename>data/mcp/asm/prog_06_02.asm
0D00 0E CC
0D02 16 DD
0D04 21 00 0E
0D07 7E
0D08 21 08 0E
0D0B 46
0D0C 21 20 0E
0D0F 71
0D10 21 18 0E
0D13 72
0D14 76
0E00 19
0E08 27
0E18 00
0E20 00
|
src/main/antlr/Stupid.g4 | s4s0l/stupid | 0 | 3807 | grammar Stupid;
prog: statements EOF;
statements: expr ';' statements
| expr ';'?;
expr: BANG center=expr
| MINUS center=expr
| LPAREN center=expr RPAREN
| var
| left=expr DOT var
| call
| left=expr DOT call
| left=expr DOT LPAREN argslist? RPAREN
| left=expr STAR right=expr
... |
oeis/276/A276599.asm | neoneye/loda-programs | 11 | 175251 | ; A276599: Values of n such that n^2 + 5 is a triangular number (A000217).
; Submitted by <NAME>(s1)
; 1,4,10,25,59,146,344,851,2005,4960,11686,28909,68111,168494,396980,982055,2313769,5723836,13485634,33360961,78600035,194441930,458114576,1133290619,2670087421,6605301784,15562409950,38498520085,90704372279,22438581872... |
data/mapObjects/fightingdojo.asm | adhi-thirumala/EvoYellow | 16 | 80962 | FightingDojoObject:
db $3 ; border block
db $2 ; warps
db $b, $4, $1, $ff
db $b, $5, $1, $ff
db $0 ; signs
db $7 ; objects
object SPRITE_HIKER, $5, $3, STAY, DOWN, $1, OPP_BLACKBELT, $1
object SPRITE_HIKER, $3, $4, STAY, RIGHT, $2, OPP_BLACKBELT, $2
object SPRITE_HIKER, $3, $6, STAY, RIGHT, $3, OPP_BLACKBEL... |
mc-sema/validator/x86/tests/ST_PF64m.asm | randolphwong/mcsema | 2 | 12489 | <filename>mc-sema/validator/x86/tests/ST_PF64m.asm
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_FPU_IE
;TEST_FILE_META_END
FLD1
;TEST_BEGIN_RECORDING
lea edi, [esp-0xc]
mov dword [edi], 0
fstp qword [edi]
mov eax, dword [edi+00]
mov ebx, dword [edi+04]
mov edi, ... |
.emacs.d/elpa/wisi-3.0.1/wisitoken-lexer-re2c.adb | caqg/linux-home | 0 | 3794 | <filename>.emacs.d/elpa/wisi-3.0.1/wisitoken-lexer-re2c.adb
-- Abstract:
--
-- see spec.
--
-- Copyright (C) 2017 - 2019 Free Software Foundation, Inc.
--
-- This file is part of the WisiToken package.
--
-- The WisiToken package is free software; you can redistribute it
-- and/or modify it under the terms of the... |
Task/Loops-For-with-a-specified-step/Ada/loops-for-with-a-specified-step-1.ada | djgoku/RosettaCodeData | 0 | 19470 | <reponame>djgoku/RosettaCodeData
type Loop_Steps is (2, 4, 6, 8);
|
archive/agda-1/UnifyMguPair.agda | m0davis/oscar | 0 | 2801 | <filename>archive/agda-1/UnifyMguPair.agda
module UnifyMguPair where
open import UnifyTerm
open import UnifyMgu
open import UnifyMguCorrect
open import Data.Fin using (Fin; suc; zero)
open import Data.Nat hiding (_≤_)
open import Relation.Binary.PropositionalEquality renaming ([_] to [[_]])
open import Function usin... |
oeis/020/A020830.asm | neoneye/loda-programs | 11 | 92600 | <filename>oeis/020/A020830.asm
; A020830: Decimal expansion of 1/sqrt(73).
; Submitted by <NAME>(s3)
; 1,1,7,0,4,1,1,4,7,1,9,6,1,3,0,5,6,3,9,4,3,4,4,7,2,3,7,3,4,5,7,4,9,4,0,3,2,1,3,6,2,2,6,7,5,7,4,7,0,3,1,2,6,3,5,8,7,7,8,9,7,4,3,2,0,2,3,5,1,3,5,3,6,8,9,4,1,5,0,4,6,3,1,6,1,7,7,6,9,9,0,4,2,5,6,1,7,7,3,0
mov $1,1
mov $2,... |
FormalAnalyzer/models/meta/IoTBottomUp.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 987 | <reponame>Mohannadcse/IoTCOM_BehavioralRuleExtractor
module IoTBottomUp
abstract sig Capability {
attributes : set Attribute,
}
abstract sig Attribute {
values : set AttrValue
}
abstract sig AttrValue {}
abstract sig IoTApp {
rules : set Rule
}
abstract sig Rule {
triggers : set Trigger,
conditions ... |
src/PosNat.agda | ice1k/Theorems | 1 | 13096 | <reponame>ice1k/Theorems
module PosNat where
open import Nats
open import Data.Product
open import Equality
data ℕ⁺ : Set where
psuc : ℕ → ℕ⁺
_→ℕ : ℕ⁺ → ℕ
psuc zero →ℕ = suc zero
psuc (suc x) →ℕ = suc (psuc x →ℕ)
_⟨_⟩→ℕ⁺ : (a : ℕ) → ∃ (λ x → a ≡ suc x) → ℕ⁺
.(suc x) ⟨ x , refl ⟩→ℕ⁺ = psuc x
|
Library/User/Vis/visContentClass.asm | steakknife/pcgeos | 504 | 84577 | <reponame>steakknife/pcgeos
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: UserInterface/Vis
FILE: visContentClass.asm
ROUTINES:
Name Description
---- -----------
GLB VisContentClass T... |
Groups/Examples/ExampleSheet1.agda | Smaug123/agdaproofs | 4 | 15600 | {-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Setoids.Setoids
open import Functions.Definition
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import Numbers.Naturals.Naturals
open import Numbers.Integers.Integers
open import Groups.Definition
open import Gr... |
gfx/pokemon/shellder/anim.asm | Dev727/ancientplatinum | 28 | 27361 | setrepeat 3
frame 0, 07
frame 1, 07
dorepeat 1
endanim
|
agda-stdlib/src/Algebra/Module/Construct/Zero.agda | DreamLinuxer/popl21-artifact | 5 | 15570 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- This module constructs the zero R-module, and similar for weaker
-- module-like structures.
-- The intended universal property is that, given any R-module M, there
-- is a unique map into and a unique map out of ... |
04/fill/Fill.asm | Giako/nand2tetris | 1 | 16026 | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME>, MIT Press.
// File name: projects/04/Fill.asm
// Runs an infinite loop that listens to the keyboard input.
// When a key is pressed (any key), the program blackens the screen,
// i.e. writes "black" in ... |
CS61/cs61_labs/lab-3-Kuzame/lab03_ex4.asm | Kuzame/CS61 | 1 | 102587 | <gh_stars>1-10
;=================================================
; Name: <NAME>
; Email: <EMAIL>
;
; Lab: lab 3
; Lab section: 24
; TA: <NAME>
;
;=================================================
.orig x3000
;------------
;Instruction
;------------
LD R0, HEX_61
LD R1, HEX_1A
DO_WHILE_LOOP
OUT
A... |
libsrc/_DEVELOPMENT/adt/b_array/c/sdcc_iy/b_array_capacity.asm | meesokim/z88dk | 0 | 27988 |
; size_t b_array_capacity(b_array_t *a)
SECTION code_adt_b_array
PUBLIC _b_array_capacity
EXTERN asm_b_array_capacity
_b_array_capacity:
pop af
pop hl
push hl
push af
jp asm_b_array_capacity
|
src/ODC.agda | shinji-kono/zf-in-agda | 5 | 9799 | {-# OPTIONS --allow-unsolved-metas #-}
open import Level
open import Ordinals
module ODC {n : Level } (O : Ordinals {n} ) where
open import zf
open import Data.Nat renaming ( zero to Zero ; suc to Suc ; ℕ to Nat ; _⊔_ to _n⊔_ )
open import Relation.Binary.PropositionalEquality
open import Data.Nat.Properties
open ... |
oeis/130/A130675.asm | neoneye/loda-programs | 11 | 104783 | ; A130675: Factorial of bigomega(n).
; 1,1,1,2,1,2,1,6,2,2,1,6,1,2,2,24,1,6,1,6,2,2,1,24,2,2,6,6,1,6,1,120,2,2,2,24,1,2,2,24,1,6,1,6,6,2,1,120,2,6,2,6,1,24,2,24,2,2,1,24,1,2,6,720,2,6,1,6,2,6,1,120,1,2,6,6,2,6,1,120,24,2,1,24,2,2,2,24,1,24,2,6,2,2,2,720,1,6,6,24
seq $0,1222 ; Number of prime divisors of n counted with... |
programs/oeis/141/A141962.asm | neoneye/loda | 22 | 10980 | ; A141962: Primes congruent to 22 mod 27.
; 103,157,211,373,643,751,859,967,1021,1129,1237,1291,1399,1453,1669,1723,1777,1831,1993,2371,2749,2803,2857,3019,3181,3343,3559,3613,4099,4153,4261,4423,4639,4801,4909,5179,5233,5449,5503,5557,5827,5881,6043,6151,6367,6421,6529,6637,6691,6907,6961,7069,7177,7393,7717,7879,7933... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_455.asm | ljhsiun2/medusa | 9 | 85001 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x14976, %rax
nop
nop
nop
nop
and %rcx, %rcx
mov (%rax), %r12d
nop
nop
nop
nop
add %rbx, %rbx
lea addresses_A_ht+0x37ca, %rsi
lea addresses_WC_ht+0x1398a, %rdi
nop
nop
sub $96... |
Errors.asm | zk2013/newborn | 0 | 85812 | ; ********************************************
; Name: Errors
; Autor: <NAME>
; Version: 1.00
; Date: 26.11.2005
; last Update: 26.11.2005
; see document: ToasterOS.pdf
; ********************************************
%ifndef Errors
%define Errors
; public errors
%define Unknown_Error 00h
%de... |
tests/tcl-test_data-tests.adb | thindil/tashy2 | 2 | 8801 | <gh_stars>1-10
-- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to set up and ... |
src/ada-core/src/linted-atomics.adb | mstewartgallus/linted | 0 | 5302 | -- Copyright 2017 <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writi... |
MIPS-5 CPU/notice/FiveStage-MIPS-CPU/Verilog/testfile/test-ext4.asm | Ar-cheng/hust-lab | 0 | 90702 | <filename>MIPS-5 CPU/notice/FiveStage-MIPS-CPU/Verilog/testfile/test-ext4.asm
addi $a0, $zero, 0x8
addi $t0, $zero, 0x8
addi $s0, $zero, 0x4
addi $s1, $zero, 0x6
addi $v0, $zero, 0x1
syscall
loop1:
sllv $a0, $a0, $s0
add $a0, $a0, $t0
syscall
addi $s1, $s1, -1
bgez $s1, loop1
add $s2, $zero, $a0
sw $a0, ($v0)
lh $a0,... |
date_based_trial_launcher.applescript | Galeas/Trial_Launcher | 2 | 121 | <reponame>Galeas/Trial_Launcher<filename>date_based_trial_launcher.applescript<gh_stars>1-10
set app_name to "<#app_name#>"
set app_path to POSIX path of (path to applications folder) & app_name & ".app"
tell application "Finder" to set is_exists to exists application file app_path as POSIX file
if is_exists is false ... |
oeis/080/A080737.asm | neoneye/loda-programs | 11 | 177802 | ; A080737: a(1) = a(2) = 0; for n > 2, the least dimension of a lattice possessing a symmetry of order n.
; Submitted by <NAME>
; 0,0,2,2,4,2,6,4,6,4,10,4,12,6,6,8,16,6,18,6,8,10,22,6,20,12,18,8,28,6,30,16,12,16,10,8,36,18,14,8,40,8,42,12,10,22,46,10,42,20,18,14,52,18,14,10,20,28,58,8,60,30,12,32,16,12,66,18,24,10,70,1... |
bead/bead2/3/Garden_Pkg.ads | balintsoos/LearnAda | 0 | 18968 | generic
type Position is (<>);
package Garden_Pkg is
function GetRandPos return Position;
function GetField(pos : Position) return Boolean;
procedure Start;
task type Gardener;
task type Mantis;
type Mantis_Access is access Mantis;
type Mantis_Array is array (Integer range <>) of Mantis_Access;
n... |
programs/oeis/030/A030053.asm | neoneye/loda | 22 | 19719 | ; A030053: a(n) = binomial(2n+1,n-3).
; 1,9,55,286,1365,6188,27132,116280,490314,2042975,8436285,34597290,141120525,573166440,2319959400,9364199760,37711260990,151584480450,608359048206,2438362177020,9762479679106,39049918716424,156077261327400,623404249591760,2488589544741300,9929472283517787,39602161018878633,1578909... |
libsrc/target/smc777/stdio/generic_console_ioctl.asm | Frodevan/z88dk | 640 | 92257 | <reponame>Frodevan/z88dk
MODULE generic_console_ioctl
PUBLIC generic_console_ioctl
SECTION code_clib
INCLUDE "ioctl.def"
EXTERN generic_console_cls
EXTERN generic_console_font32
EXTERN generic_console_udg32
EXTERN __smc777_mode
EXTERN __console_h
EXTERN __console_w
EXTERN copy_font_8x8
PUBLIC CL... |
model-sets/2021-05-06-10-28-11-watform/Mutex_nancy.als | WatForm/catalyst | 0 | 2471 | open util/boolean[]
open util/steps[Snapshot]
open util/ordering[Snapshot]
open util/boolean
// Snapshot definition
sig Snapshot extends BaseSnapshot {
stable: one Bool,
Mutex_semaphore_free : one Bool
}
/***************************** STATE SPACE ************************************/
abs... |
oeis/115/A115378.asm | neoneye/loda-programs | 11 | 28124 | <gh_stars>10-100
; A115378: a(n) = number of positive integers k < n such that n XOR k = (n+k).
; Submitted by <NAME>
; 0,1,0,3,1,1,0,7,3,3,1,3,1,1,0,15,7,7,3,7,3,3,1,7,3,3,1,3,1,1,0,31,15,15,7,15,7,7,3,15,7,7,3,7,3,3,1,15,7,7,3,7,3,3,1,7,3,3,1,3,1,1,0,63,31,31,15,31,15,15,7,31,15,15,7,15,7,7,3,31,15,15,7,15,7,7,3,15,7... |
src/STLC1/Kovacs/Substitution.agda | mietek/coquand-kovacs | 0 | 333 | <reponame>mietek/coquand-kovacs<gh_stars>0
module STLC1.Kovacs.Substitution where
open import STLC1.Kovacs.Embedding public
open import Category
--------------------------------------------------------------------------------
-- Substitutions (Sub ; ∙ ; _,_)
infix 3 _⊢⋆_
data _⊢⋆_ : 𝒞 → 𝒞 → Set
where
∅ :... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/acosh.asm | jpoikela/z88dk | 640 | 28880 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC _acosh
EXTERN cm48_sdcciy_acosh
defc _acosh = cm48_sdcciy_acosh
|
tools-src/gnu/gcc/gcc/ada/g-exctra.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 10623 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
oeis/204/A204623.asm | neoneye/loda-programs | 11 | 5454 | ; A204623: Number of (n+1)X2 0..2 arrays with every 2X2 subblock having unequal diagonal elements or unequal antidiagonal elements, and new values 0..2 introduced in row major order
; 12,96,768,6144,49152,393216,3145728,25165824,201326592,1610612736,12884901888,103079215104,824633720832,6597069766656,52776558133248,422... |
week_7/dataset/Assembly/056604.asm | Dumebi35/DumebiCSC102 | 0 | 92661 | <gh_stars>0
title finite state machine example
;string must begin with 'x' and end with 'z'
;any number of letters 'a' through 'y' may intervene
;there may be 0 intervening letters
;continues to accept chars until 'z' or invalid char entered
.model small
.stack 100h
.data
msg1 db 0dh,0ah,"Invalid string",'$'
msg2 ... |
test/hack_programs/fill.asm | mbalestrini/hack_soc | 1 | 10512 | @0
D=A
@R3
M=D
(LOOP)
@SCREEN
D=A
@R3
D=D+M
@R4
M=D
@21845
D=0
@R4
A=M
M=D
@R3
D=M
MD=D+1
@8192
D=A-D
@FINISH
D;JEQ
@LOOP
0;JMP
(FINISH)
@FINISH
0;JMP
@0
@0
@0
@0 |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/modf.asm | meesokim/z88dk | 0 | 21994 |
SECTION code_fp_math48
PUBLIC _modf
EXTERN cm48_sdccix_modf
defc _modf = cm48_sdccix_modf
|
scripts/route12gate.asm | adhi-thirumala/EvoYellow | 16 | 175440 | <reponame>adhi-thirumala/EvoYellow<filename>scripts/route12gate.asm
Route12GateScript:
jp EnableAutoTextBoxDrawing
Route12GateTextPointers:
dw Route12GateText1
Route12GateText1:
TX_FAR _Route12GateText1
db "@"
|
src/servlet-routes-servlets.adb | My-Colaborations/ada-servlet | 6 | 18052 | -----------------------------------------------------------------------
-- servlet-routes -- Request routing
-- Copyright (C) 2015, 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 with the License.
--... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.