max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
oeis/022/A022232.asm | neoneye/loda-programs | 0 | 84003 | ; A022232: Gaussian binomial coefficients [ n,3 ] for q = 7.
; Submitted by <NAME>(w4)
; 1,400,140050,48177200,16531644851,5670690600800,1945063360640100,667157540444234400,228835075951868449701,78490432990886231801200,26922218610904350161500150,9234320988196680367732171600,3167372099179629291002826414551,1086408630029... |
test/Fail/Issue690.agda | cruhland/agda | 1,989 | 2189 | {-# OPTIONS --type-in-type #-}
-- {-# OPTIONS -v tc.pos:10 -v tc.polarity:10 #-}
-- Andreas, 2012-09-06, message on Agda list "Forget Hurken's paradox..."
module Issue690 where
infix 4 _≡_
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
data ⊥ : Set where
data D : Set where
abs : ∀ {E : Set} → D ≡ E → ... |
test/Fail/UselessAbstractField.agda | pthariensflame/agda | 3 | 4935 | -- Andreas, 2016-07-17
record R : Set₁ where
abstract
field T : Set
-- Expected error:
--
-- Using abstract here has no effect. Abstract applies only
-- definitions like data definitions, record type definitions and
-- function clauses.
|
Graphics/3GXlib/ClearImage.asm | jaredwhitney/os3 | 5 | 29982 | <reponame>jaredwhitney/os3
L3gx.clearImage : ; L3gxImage image, int color
methodTraceEnter
pop dword [clearImage.retval]
pop dword [clearImage.color]
pop dword [clearImage.image]
pusha
mov ebx, [clearImage.image]
mov eax, [ebx+L3gxImage_data]
mov edx, [ebx+L3gxImage_w]
imul edx, [ebx+L3gxImage_h]
shl edx... |
MakeOsMyself/day01/hello_os.asm | tomoyuki-nakabayashi/MyPlayGround | 0 | 19128 | <gh_stars>0
; hello-os
; TAB=4
DB 0xeb, 0x4e, 0x90
DB "HELLOIPL" ; ブートセレクタの名前を自由にかいていよい (8Byte)
DW 512 ; 1セクタの大きさ (512にしなければならない)
DB 1 ; クラスタの大きさ (1セクタにしなければならない)
DW 1 ; FATがどこか... |
Library/Text/Text/textMethodSet.asm | steakknife/pcgeos | 504 | 81224 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: textMethodSet.asm
AUTHOR: <NAME>, Nov 21, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
... |
3-mid/impact/source/3d/dynamics/joints/impact-d3-constraint_solver.ads | charlie5/lace | 20 | 25433 | <gh_stars>10-100
with impact.d3.Object,
impact.d3.Manifold,
impact.d3.Joint,
impact.d3.contact_solver_Info,
impact.d3.Dispatcher;
package impact.d3.constraint_Solver
--
-- impact.d3.constraint_Solver provides solver interface.
--
is
type Item is abstract tagged private;
type View is acces... |
Irvine/Examples/ch04/64 bit/SumArray_64.asm | alieonsido/ASM_TESTING | 0 | 168353 | <reponame>alieonsido/ASM_TESTING
; Summing an Array (SumArray_64.asm)
; This program sums an array of words.
; The LOOP instruction requires the /LARGEADDRESSAWARE linker switch to equal NO.
ExitProcess proto
.data
intarray QWORD 1000000000000h,2000000000000h
QWORD 3000000000000h,4000000000000h
.code
main proc
... |
mc-sema/validator/x86_64/tests/AND32mr.asm | randolphwong/mcsema | 2 | 13339 | <reponame>randolphwong/mcsema
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_AF
;TEST_FILE_META_END
; AND32mr
;TEST_BEGIN_RECORDING
lea rax, [rsp-0x4]
mov DWORD [rax], 0x55555
mov ebx, 0x77777
and DWORD [rax], ebx
mov eax, 0x0
;TEST_END_RECORDING
|
oeis/157/A157863.asm | neoneye/loda-programs | 11 | 163325 | <gh_stars>10-100
; A157863: a(n) = 103680000*n^2 + 28800*n + 1.
; 103708801,414777601,933206401,1658995201,2592144001,3732652801,5080521601,6635750401,8398339201,10368288001,12545596801,14930265601,17522294401,20321683201,23328432001,26542540801,29964009601,33592838401,37429027201,41472576001,45723484801,50181753601,54... |
notes/papers/implicit/examples/Dangerous-Agda1.agda | shlevy/agda | 1,989 | 5081 |
data N : Set = zero | suc (n:N)
data B : Set = true | false
data False : Set =
data True : Set = tt
F : B -> Set
F true = N
F false = B
G : (x:B) -> F x -> Set
G false _ = N
G true zero = B
G true (suc n) = N
(==) : B -> B -> Set
true == true = True
false == false = True
_ == _ = False
data Equal (x,y:B... |
libsrc/_DEVELOPMENT/adt/bv_stack/c/sccz80/bv_stack_destroy.asm | teknoplop/z88dk | 8 | 169828 | <gh_stars>1-10
; void bv_stack_destroy(bv_stack_t *s)
SECTION code_clib
SECTION code_adt_bv_stack
PUBLIC bv_stack_destroy
EXTERN asm_bv_stack_destroy
defc bv_stack_destroy = asm_bv_stack_destroy
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1786.asm | ljhsiun2/medusa | 9 | 20403 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xc04a, %rsi
lea addresses_A_ht+0x173ca, %rdi
nop
nop
nop
nop
nop
cmp $24131, %r12
mov $61, %rcx
rep movsq
cmp %r15, %r15
pop %rsi
pop %rdi
pop %rcx
pop %r15
pop %r12
ret
.global s_faulty_load
s_faulty... |
Chapter2/#1.agda | CodaFi/HoTT-Exercises | 0 | 15880 | {-# OPTIONS --without-K #-}
module #1 where
open import Relation.Binary.PropositionalEquality
{-
Exercise 2.1. Show that the three obvious proofs of Lemma 2.1.2 are pairwise equal.
-}
ind₌ : ∀{a b}{A : Set a} → (C : (x y : A) → (x ≡ y) → Set b) → ((x : A) → C x x refl) → {x y : A} → (p : x ≡ y) → C x y p
ind₌ C c {... |
sensibility.agda | hazelgrove/agda-popl17 | 14 | 12740 | <filename>sensibility.agda
open import Nat
open import Prelude
open import core
open import judgemental-erase
open import moveerase
module sensibility where
mutual
-- if an action transforms a ê in a synthetic posistion to another ê,
-- they have the same type up erasure of the cursor
actsense-synth : ... |
source/gmp-z.adb | ytomino/gmp-ada | 4 | 14843 | with System.Storage_Elements;
with C.stdint;
with C.string;
package body GMP.Z is
use type System.Storage_Elements.Storage_Element;
use type System.Storage_Elements.Storage_Offset;
use type C.signed_int;
use type C.size_t;
use type C.gmp.mp_size_t;
procedure memcpy (dst, src : System.Address; n : C.size_t)
wi... |
test/testdata_vm/002 add_imm_too_large2.asm | onlyafly/oakblue | 0 | 176666 | <filename>test/testdata_vm/002 add_imm_too_large2.asm
ADD R0 R0 #-17
ADD R0 R0 #15
ADD R0 R0 #2
HALT |
NonReflectiveZ.agda | z-murray/AnalysisAgda | 0 | 4041 | <reponame>z-murray/AnalysisAgda<gh_stars>0
{-# OPTIONS --without-K --safe #-}
open import Agda.Builtin.Bool
open import Data.Maybe.Base using (just; nothing)
open import Relation.Binary.PropositionalEquality
open import Relation.Nullary
open import Data.Integer.Base
open import Data.Integer.Properties using (+-*-commu... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2.log_6278_20.asm | ljhsiun2/medusa | 9 | 98589 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xf8fc, %r12
nop
nop
nop
cmp $33243, %rsi
mov $0x6162636465666768, %rbx
movq %rbx, (%r12)
nop
nop
nop
dec %rbx
lea addresses_WC_ht+0x1add4, %rcx
sub %r15, %r15
mov $0x616263646... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1974.asm | ljhsiun2/medusa | 9 | 1270 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1974.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rbp
push %rdi
push %rdx
lea addresses_normal_ht+0x1a9ce, %r13
nop
nop
nop
nop
nop
cmp %rdi, %rdi
and $0xffffffffffffffc0, %r13
vmovaps (%r... |
src/statements/adabase-statement-base-mysql.ads | jrmarino/AdaBase | 30 | 16212 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with AdaBase.Connection.Base.MySQL;
with AdaBase.Bindings.MySQL;
with Ada.Containers.Vectors;
package AdaBase.Statement.Base.MySQL is
package ACM renames AdaBase.Connection.Base.MySQL;
package ABM rename... |
src/main/antlr/com/thore/L2SMT/L2SMT.g4 | diasalvatore/l2smt | 0 | 3245 | <reponame>diasalvatore/l2smt
grammar L2SMT;
@header {
package com.thore.L2SMT;
import com.thore.language.*;
import java.util.*;
import java.util.regex.*;
import org.apache.commons.lang3.math.*;
}
@parser::members {
private List<String> currentLabel;
private String currentLabelId;
priv... |
src/main/antlr/JsonPath.g4 | amazinglzy/NRA4JsonStore | 0 | 6825 | grammar JsonPath;
jsonBasicPathExpr: jsonAbsolutePathExpr | jsonRelativePathExpr ;
jsonAbsolutePathExpr: '$' jsonSteps ;
jsonRelativePathExpr: '@' jsonSteps ;
jsonSteps: jsonStep * ;
jsonStep: (jsonObjectStep | jsonArrayStep | jsonDescendentStep ) jsonFilterExpr ?;
jsonFilterExpr: FILTER_BEGIN jsonCond FILTER_END ;
... |
Numeral/Integer.agda | Lolirofle/stuff-in-agda | 6 | 4451 | module Numeral.Integer where
import Lvl
open import Numeral.Natural as ℕ using (ℕ)
import Numeral.Natural.Oper as ℕ
open import Syntax.Number
open import Type
-- Integers
data ℤ : Type{Lvl.𝟎} where
+ₙ_ : ℕ → ℤ -- Positive integers including zero from the naturals (0,1,..).
−𝐒ₙ_ : ℕ → ℤ -- Negati... |
Retreet.g4 | purdue-cap/Retreet | 2 | 6932 | grammar Retreet;
prog
: (function)+
| (relation)+
;
relation
: 'unfused' ':' INT '->' 'fused' ':' INT
;
id
: IDENTIFIER
;
function
: main
| func
;
main
: 'main' '('... |
eurasia/codegen/pds/pds_mte_state_copy.asm | shaqfu786/GFX_Linux_DDK | 3 | 90348 | /******************************************************************************
* Name : pds_mte_state_copy.asm
*
* Copyright : 2006-2008 by Imagination Technologies Limited.
* : All rights reserved. No part of this software, either
* : material or conceptual may be copied or d... |
data/mapHeaders/PokemonTower4F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 90660 | PokemonTower4F_h:
db CEMETERY ; tileset
db POKEMON_TOWER_4F_HEIGHT, POKEMON_TOWER_4F_WIDTH ; dimensions (y, x)
dw PokemonTower4F_Blocks ; blocks
dw PokemonTower4F_TextPointers ; texts
dw PokemonTower4F_Script ; scripts
db 0 ; connections
dw PokemonTower4F_Object ; objects
|
utils/disk-tools/split/starter.asm | vbmacher/qsOS | 1 | 12509 | ;
; STARTER.ASM
;
; (c) Copyright 2002, <NAME>.
;
;
;
.model compact
.stack 16384
.386p
.code
extrn _main: near
.startup
call _main
xor ax,ax
.exit
... |
ada-out-string-param/main.adb | dksmiffs/gnatmake-examples | 0 | 19426 | <reponame>dksmiffs/gnatmake-examples<filename>ada-out-string-param/main.adb<gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Unbounded;
procedure Main is
package SU renames Ada.Strings.Unbounded;
procedure I_Return_String(Sun : out SU.Unbounded_String) is
begin
Sun := SU.To_Unbounded_String("H... |
programs/oeis/021/A021069.asm | neoneye/loda | 22 | 245585 | <gh_stars>10-100
; A021069: Decimal expansion of 1/65.
; 0,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3,8,4,6,1,5,3
mov $1,10
pow $1,$0
mul $1,9
add $1,10
div $1,9
mul $1,9
div $... |
src/main/antlr/me/wollemat/sake/v2/parser/Sake.g4 | wollemat/sake | 2 | 2346 | <filename>src/main/antlr/me/wollemat/sake/v2/parser/Sake.g4<gh_stars>1-10
grammar Sake;
@header { package me.wollemat.sake.v2.parser; }
start : function+ EOF
;
function : FUN ID OPEN CLOSE ARROW expr # NoParamFunction
| FUN ID OPEN ID (COMMA I... |
other.7z/SFC.7z/SFC/ソースデータ/MarioKart/Missile.asm | prismotizm/gigaleak | 0 | 16259 | Name: Missile.asm
Type: file
Size: 4086
Last-Modified: '1992-07-01T15:00:00Z'
SHA-1: D86D4BC3036302A3E9BBAF6CB246DDCC08222DC6
Description: null
|
libsrc/_DEVELOPMENT/l/z80/ascii/l_eat_hdigits.asm | jpoikela/z88dk | 640 | 80504 |
SECTION code_clib
SECTION code_l
PUBLIC l_eat_hdigits
EXTERN asm_isxdigit
l_eat_hdigits:
; advance buffer pointer past decimal digits
;
; enter : hl = char *
;
; exit : hl = char * (points past digits)
; a = non-matching char
;
; uses : af, hl
ld a,(hl)
call asm_isx... |
programs/oeis/333/A333813.asm | jmorken/loda | 1 | 14810 | ; A333813: a(n) = 2^(1 + floor(n*log_2(3))) - (3^n + 1).
; 0,0,6,4,46,12,294,1908,1630,13084,6486,84996,517134,502828,3605638,2428308,24062142,5077564,149450422,985222180,808182894,6719515980,2978678758,43295774644,267326277406,252223018332,1856180682774,1170495537220
mul $0,2
cal $0,117855 ; Number of nonzero palindr... |
src/httpd-main.adb | aheijde/httpd | 1 | 13323 | with Ada.Text_IO;
with Ada.Strings.Fixed;
with AWS.Config.Set;
with AWS.Server;
with HTTPd.Callbacks;
procedure HTTPd.Main is
Web_Server : AWS.Server.HTTP;
Web_Config : AWS.Config.Object;
begin
-- Show header
Ada.Text_IO.New_Line;
Ada.Text_IO.Put_Line(" HH HH TTTTTTT TTTTTTT PPPPPP dd ");
... |
src/entropy-none/siphash-entropy.adb | jhumphry/SPARK_SipHash | 5 | 12879 | <reponame>jhumphry/SPARK_SipHash<gh_stars>1-10
-- SipHash.Entropy
-- A child package that attempts to set the key from an entropy source on the
-- system.
-- This implementation is for systems where no entropy is available.
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
package body SipHash.Entropy
with... |
programs/oeis/000/A000292.asm | karttu/loda | 1 | 84302 | <reponame>karttu/loda<gh_stars>1-10
; A000292: Tetrahedral (or triangular pyramidal) numbers: a(n) = C(n+2,3) = n*(n+1)*(n+2)/6.
; 0,1,4,10,20,35,56,84,120,165,220,286,364,455,560,680,816,969,1140,1330,1540,1771,2024,2300,2600,2925,3276,3654,4060,4495,4960,5456,5984,6545,7140,7770,8436,9139,9880,10660,11480,12341,13244... |
programs/oeis/314/A314754.asm | karttu/loda | 0 | 172990 | <gh_stars>0
; A314754: Coordination sequence Gal.5.82.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,9,13,19,23,27,33,37,41,46,51,55,59,65,69,73,79,83,87,92,97,101,105,111,115,119,125,129,133,138,143,147,151,157,161,165,171,17... |
oeis/097/A097896.asm | neoneye/loda-programs | 11 | 15395 | <reponame>neoneye/loda-programs
; A097896: Number of compositions of n with either all parts odd or all parts even.
; Submitted by <NAME>
; 1,2,2,5,5,12,13,29,34,71,89,176,233,441,610,1115,1597,2840,4181,7277,10946,18735,28657,48416,75025,125489,196418,326003,514229,848424,1346269,2211077,3524578,5768423,9227465,150614... |
list_combo/src/lists-dynamic.ads | gerr135/ada_gems | 6 | 28628 | --
-- This implementation encapsulates Ada.Containers.Vectors.Vector as a record entry.
-- This is a common way to compose enveloping type, requiring glue code to implement all
-- declared methods. SImple to understand, but only explicitly declared methods are available.
--
-- Copyright (C) 2018 <NAME> <<EMAIL>>
--
-- ... |
font/text_ui.asm | speccytools/spectranet-index-module | 0 | 13047 | <gh_stars>0
EXTERN asm_zx_cxy2saddr
EXTERN asm_zx_cxy2aaddr
include "../include/spectranet.inc"
include "../include/defs.inc"
include "../include/stdmodules.inc"
include "../include/fcntl.inc"
include "../include/zxrom.inc"
include "../include/sysvars.inc"
include "../include/zxsysvars.inc"
include "../src/memory.inc"... |
test/Fail/Erasure-Lambda-Wrong-Attribute.agda | cruhland/agda | 1,989 | 1321 | -- Andreas, 2018-10-16, wrong quantity in lambda-abstraction
applyErased : {@0 A B : Set} → (@0 A → B) → @0 A → B
applyErased f x = f x
test : {A : Set} → A → A
test x = applyErased (λ (@ω y) → y) x
-- Expected error:
--
-- Wrong quantity annotation in lambda abstraction.
--
-- Current error (because @ω as default q... |
programs/oeis/030/A030495.asm | karttu/loda | 0 | 93734 | ; A030495: a(n) = (n+1)!+ n.
; 1,3,8,27,124,725,5046,40327,362888,3628809,39916810,479001611,6227020812,87178291213,1307674368014,20922789888015,355687428096016,6402373705728017
mov $1,$0
add $1,1
fac $1
add $1,$0
|
sfx_engine/TABs-Play.asm | GSoftwareDevelopment/sfx-tracker | 9 | 25003 | ; TAB - PLAY NOTE
sty _regTemp ; store current TAB offset
; get SFX settings
cmp #FN_NOTE_FREQ ; check type of note (Note numer or Frequency Divider Set)
; Carry flag determine SFX_PLAY_NOTE mode
... |
programs/oeis/134/A134024.asm | neoneye/loda | 22 | 100609 | <gh_stars>10-100
; A134024: Number of positive trits in balanced ternary representation of n.
; 0,1,1,1,2,1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,2,2,3,2,2,3,3,3,4,1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,2,2,3,2,2,3,3,3,4,1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,2,2,3,2,2,3,3,3,4,2,2,3,2,2
lpb $0
add $0,1
mov... |
prole_art/wobble.asm | FolkertVanVerseveld/c64 | 1 | 172416 | <filename>prole_art/wobble.asm
// Assembler: KickAssembler v4.19
BasicUpstart2(main)
#import "../pseudo.lib"
// https://dustlayer.com/vic-ii/2013/4/25/vic-ii-for-beginners-beyond-the-screen-rasters-cycle
//
// 50 is net iets voor het begin van 25 rijenscherm
.var irq_line_top = (312 - 284) / 2
.var irq_line_scree... |
alloy4fun_models/trashltl/models/14/sPg8udPdwF3z3pTzg.als | Kaixi26/org.alloytools.alloy | 0 | 605 | open main
pred idsPg8udPdwF3z3pTzg_prop15 {
eventually (all f:File | f in Trash)
}
pred __repair { idsPg8udPdwF3z3pTzg_prop15 }
check __repair { idsPg8udPdwF3z3pTzg_prop15 <=> prop15o } |
lib/sprites.asm | cppchriscpp/waddles-the-duck | 0 | 8940 | <reponame>cppchriscpp/waddles-the-duck<gh_stars>0
; Definitions for all sprites used by our app, and some useful constants.
SPRITE_TYPE_COLLECTIBLE = 0
SPRITE_TYPE_JUMPABLE_ENEMY = 1
SPRITE_TYPE_INVULN_ENEMY = 2
SPRITE_TYPE_DIMENSIONER = 3
SPRITE_TYPE_FIREBALL = 4
SPRITE_TYPE_SHARK = 5
SPRITE_TYPE_PROFESSOR... |
src/timers/TurboRTimer.asm | sharksym/vgmplay-sharksym | 6 | 162298 | <reponame>sharksym/vgmplay-sharksym
;
; Turbo R high res timer
;
; 4000 Hz resolution
;
; There is a slight deviation of +1 second every 5 minutes (+0.35%).
;
TurboRTimer_SAMPLES: equ 11 ; every 64 timer cycles = 11 samples
TurboRTimer: MACRO
super: Timer TurboRTimer_Start, TurboRTimer_Stop, TurboRTimer_Reset, Updat... |
tools-src/gnu/gcc/gcc/ada/7sosinte.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 4523 | <filename>tools-src/gnu/gcc/gcc/ada/7sosinte.adb
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
programs/oeis/021/A021263.asm | karttu/loda | 1 | 172297 | <gh_stars>1-10
; A021263: Decimal expansion of 1/259.
; 0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3,8,6,1,0,0,3
cal $0,21067 ; Decimal expansion of 1/63.
add $1,$0
pow $1,2
div ... |
check file creator.applescript | AlexanderGalen/applescripts | 3 | 4511 | tell application "Finder"
--set myFile to "Macintosh HD:Users:maggie:Desktop:vector-test.eps" as alias
set myFile to "Macintosh HD:Users:maggie:Desktop:raster-test.eps" as alias
open for access myFile
set FileContents to read myFile
close access myFile
end tell
if FileContents contains "%%Creator: Adobe Illustra... |
programs/oeis/314/A314894.asm | neoneye/loda | 22 | 1460 | ; A314894: Coordination sequence Gal.6.194.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,9,14,19,24,28,33,38,43,47,52,57,61,66,71,76,80,85,90,95,99,104,109,113,118,123,128,132,137,142,147,151,156,161,165,170,175,180,184,189,1... |
programs/oeis/033/A033132.asm | neoneye/loda | 22 | 162720 | <reponame>neoneye/loda
; A033132: Base-5 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,0.
; 1,6,30,151,756,3780,18901,94506,472530,2362651,11813256,59066280,295331401,1476657006,7383285030,36916425151,184582125756,922910628780,4614553143901,23072765719506,115363828597530,57681... |
oeis/109/A109338.asm | neoneye/loda-programs | 11 | 162604 | ; A109338: Triangle read by rows: T(n,k) = number of inequivalent binary sequences of length n and weight k, where two sequences are said to be equivalent if they have the same set of phrases in their Ziv-Lempel encodings (the phrases can appear in a different order in the two sequences).
; Submitted by <NAME>(s3)
; 1,... |
boot/screen.asm | DriesCode/bootloaders | 6 | 178947 | section .text
clear_screen:
pusha
mov ah, 06h
mov al, 0x0
mov bh, 0x0
xor cx, cx
mov dh, 25
mov dl, 80
int 10h
popa
ret
print_str:
pusha
mov ah, 0Ah
xor bx, bx
mov cx, 1
.print_ch:
mov al, [si]
cmp al, 0
je .end
cmp al, 13
je .nwln
int 10h
call .move_cursor
inc si
jmp .print_ch
.end:
popa
ret
.move_cursor:
push... |
programs/oeis/134/A134986.asm | karttu/loda | 0 | 241900 | <gh_stars>0
; A134986: a(n) = smallest integer m not equal to n such that n = (floor(n^2/m) + m)/2.
; 2,3,2,3,4,5,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,21,22,23,24,25,26,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,47,48,49,50,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,65,66,67,68,6... |
src/lambda_dll.asm | amalchuk/lambda_core | 0 | 100414 | <filename>src/lambda_dll.asm
; Copyright 2020-2021 <NAME>. All rights reserved.
; This project is licensed under the terms of the MIT License.
format PE DLL
entry DllMain
include 'win32a.inc'
; +--------------------------------------------+
; | MACRO DEFINITIONS SECTION |
; +------------------------... |
unix/inet-internal-os_constants.adb | annexi-strayline/ASAP-INET | 0 | 17187 | ------------------------------------------------------------------------------
-- --
-- Internet Protocol Suite Package --
-- --
-- -... |
programs/oeis/173/A173855.asm | neoneye/loda | 22 | 4931 | ; A173855: a(n) = A173039(n+4) - A173039(n+1).
; 8,4,24,40,12,56,72,20,88,104,28,120,136,36,152,168,44,184,200,52,216,232,60,248,264,68,280,296,76,312,328,84,344,360,92,376,392,100,408,424,108,440,456,116,472,488,124,504,520,132,536,552,140,568,584,148,600,616,156,632,648,164,664,680,172,696,712,180,728,744,188,760,776... |
sound/sfxasm/9C.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 99786 | 9C_Header:
sHeaderInit ; Z80 offset is $D258
sHeaderPatch 9C_Patches
sHeaderTick $01
sHeaderCh $01
sHeaderSFX $80, $05, 9C_FM5, $00, $05
9C_FM5:
sPatFM $00
ssModZ80 $01, $01, $C1, $8E
dc.b nC0, $04, $04, $04, $04
sStop
9C_Patches:
; Patch $00
; $F9
; $22, $30, $20, $30, $10, $09, $1F, $1F
; $00, $... |
programs/oeis/329/A329193.asm | karttu/loda | 0 | 20942 | ; A329193: a(n) = floor(log_2(n^3)) = floor(3 log_2(n))
; 0,3,4,6,6,7,8,9,9,9,10,10,11,11,11,12,12,12,12,12,13,13,13,13,13,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,18,18
add $0,1
pow $0,3
log $0,2
mov $1,$0
|
Asn1/parser/src/grammar/CoolParser.g4 | abhinavg97/Compilers-2 | 0 | 2919 | <gh_stars>0
parser grammar CoolParser;
options {
tokenVocab = CoolLexer;
}
@header{
import cool.AST;
import java.util.List;
}
@members{
String filename;
public void setFilename(String f){
filename = f;
}
/*
DO NOT EDIT THE FILE ABOVE THIS LINE
Add member functions, variables below.
*/
}
/*
Add Grammar ... |
data/pokemon/base_stats/breloom.asm | AtmaBuster/pokeplat-gen2 | 6 | 174649 | <filename>data/pokemon/base_stats/breloom.asm<gh_stars>1-10
db 0 ; species ID placeholder
db 60, 130, 80, 70, 60, 60
; hp atk def spd sat sdf
db GRASS, FIGHTING ; type
db 90 ; catch rate
db 165 ; base exp
db NO_ITEM, BERRY ; items
db GENDER_F12_5 ; gender ratio
db 15 ; step cycles to hatch
INCBI... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_129.asm | ljhsiun2/medusa | 9 | 242134 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %rcx
push %rdx
push %rsi
// Faulty Load
lea addresses_D+0x31b8, %rdx
nop
nop
nop
nop
nop
cmp $18579, %rcx
mov (%rdx), %si
lea oracles, %r13
and $0xff, %rsi
shlq $12, %rsi
mov (%r13,%rsi,1)... |
externals/mpir-3.0.0/mpn/sparc32/v9/udiv.asm | JaminChan/eos_win | 12 | 95422 | <filename>externals/mpir-3.0.0/mpn/sparc32/v9/udiv.asm
dnl SPARC v9 32-bit mpn_udiv_qrnnd - division support for longlong.h.
dnl Copyright 2002, 2003 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it ... |
scripts/CaptureOne/Geotag from GPS.applescript | bezineb5/gps-toolchain | 0 | 1281 | <filename>scripts/CaptureOne/Geotag from GPS.applescript
set backupPath to ""
set parentImageFile to ""
-- Retrieve the current image selected in Capture One
tell application "Capture One 12"
repeat with variantItem in (get selected variants)
set parentImageFile to (get path of (get parent image of variantItem))
... |
win32/VC10/Win32/libxml2_Release/xmlreader.asm | txwizard/libxml2_x64_and_ARM | 0 | 10574 | <reponame>txwizard/libxml2_x64_and_ARM<filename>win32/VC10/Win32/libxml2_Release/xmlreader.asm
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1
TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\xmlreader.c
.686P
.XMM
include listing.... |
test/Compiler/simple/Cubical-primitives-are-not-supported.agda | cruhland/agda | 1,989 | 14303 | <gh_stars>1000+
{-# OPTIONS --cubical #-}
open import Agda.Primitive.Cubical
|
src/shared/generic/lsc-internal-sha1.adb | Componolit/libsparkcrypto | 30 | 20863 | -------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2011, <NAME>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following c... |
oeis/262/A262414.asm | neoneye/loda-programs | 11 | 84103 | <gh_stars>10-100
; A262414: Number of (n+1) X (2+1) 0..1 arrays with each row divisible by 3 and column not divisible by 3, read as a binary number with top and left being the most significant bits.
; Submitted by <NAME>
; 0,4,12,48,144,468,1404,4320,12960,39204,117612,353808,1061424,3187188,9561564,28693440,86080320,2... |
src/Numeric/Nat/Divide.agda | L-TChen/agda-prelude | 111 | 5232 | <reponame>L-TChen/agda-prelude
module Numeric.Nat.Divide where
open import Prelude
open import Control.WellFounded
open import Numeric.Nat.Properties
open import Numeric.Nat.DivMod
open import Tactic.Nat
--- Divides predicate ---
data _Divides_ (a b : Nat) : Set where
factor : ∀ q (eq : q * a ≡ b) → a Divides b
... |
src/interface/yaml-dom-loading.ads | robdaemon/AdaYaml | 32 | 25577 | <reponame>robdaemon/AdaYaml
-- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with Yaml.Dom.Vectors;
with Yaml.Source;
with Yaml.Stream_Concept;
package Yaml.Dom.Loading is
-- equivalent to the composition of the "Parse" and "Compose" steps in the
... |
oeis/175/A175659.asm | neoneye/loda-programs | 11 | 27435 | <gh_stars>10-100
; A175659: Eight bishops and one elephant on a 3 X 3 chessboard: a(n)= (3^(n+1)-Jacobsthal(n+1))-(3^n-Jacobsthal(n)), with Jacobsthal=A001045.
; Submitted by <NAME>
; 1,6,16,52,156,476,1436,4332,13036,39196,117756,353612,1061516,3185916,9560476,28686892,86071596,258236636,774753596,2324348172,697321927... |
oeis/287/A287723.asm | neoneye/loda-programs | 11 | 174030 | <filename>oeis/287/A287723.asm
; A287723: Positions of 0 in A287722; complement of A287724.
; Submitted by <NAME>
; 2,4,7,9,11,13,16,18,21,23,25,27,30,32,34,36,39,41,44,46,48,50,53,55,58,60,62,64,67,69,71,73,76,78,81,83,85,87,90,92,94,96,99,101,104,106,108,110,113,115,118,120,122,124,127,129,131,133,136,138,141,143,145... |
third-party/gmp/gmp-src/mpn/x86_64/bt1/aorsmul_1.asm | jhh67/chapel | 1,602 | 245136 | <gh_stars>1000+
dnl AMD64 mpn_addmul_1 and mpn_submul_1 optimised for AMD bt1/bt2.
dnl Copyright 2003-2005, 2007, 2008, 2011, 2012, 2018-2019 Free Software
dnl Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it ... |
strlen.asm | akruman/low-level-programming-c | 0 | 21445 | global _start
section .data
message: db 'asdc', 0
section .text
strlen:
xor rax,rax
.loop:
cmp byte[rdi + rax], 0
je .end
inc rax
jmp .loop
.end
ret
_start:
mov rdi, message
call strlen
mov rdi, rax ; mov ret, to prog retcode
mov rax,60
syscall |
c7612/a1/switch.asm | DimitryRakhlei/BTECH | 0 | 175748 | <reponame>DimitryRakhlei/BTECH
; Author: <NAME>
; Compile with:
; nasm -f elf switch.asm
; ld -m elf_i386 switch.o -o switch
; ALTERNATIVELY:
; make
;
%define SYS_EXIT 1
%define SYS_READ 3
%define SYS_WRITE 4
%define STDIN 0
%define STDOUT 1
%define STDERR... |
Perm.agda | pigworker/InteriorDesign | 6 | 15809 | module Perm where
open import Basics
open import All
open import Splitting
data _~_ {X : Set} : List X -> List X -> Set where
[] : [] ~ []
_,-_ : forall {x xs ys zs} -> (x ,- []) <[ ys ]> zs -> xs ~ zs -> (x ,- xs) ~ ys
permute : {X : Set}{xs ys : List X} -> xs ~ ys ->
{P : X -> Set} -> All P xs -> All... |
firmware/freertos/semaphore/lib/FreeRTOSV8.2.3/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/CCS_Only/RegTest.asm | NCTU-AUV/stm32_write_data_to_rpi | 0 | 85408 | <gh_stars>0
;
;/*
; FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
;
;
; ***************************************************************************
; * *
; * FreeRTOS tutorial books are available in pdf and pa... |
testall.asm | MrGlockenspiel/sfxasm | 1 | 29762 | adc $0E
adc# $0E
add $0E
add# $0E
alt1
alt2
alt3
and $0E
and# $0E
asr
bcc 12
bcs 12
beq 12
bge 12
bic $0E
bic# $0E
blt 12
bmi 12
bne 12
bpl 12
bra 12
bvc 12
bvs 12
cache
cmode
cmp $0E
color
dec $0E
div2
fmult
from $0E
getb
getbh
getbl
getbs
getc
hib
ibt $03,$67
inc $0E
iwt $0E,$1234
jmp $0E
ldb $0E
ldw $0E
lea $0E,$123... |
theorems/cohomology/SuspAdjointLoopIso.agda | mikeshulman/HoTT-Agda | 0 | 6130 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import homotopy.PtdAdjoint
open import homotopy.SuspAdjointLoop
open import cohomology.WithCoefficients
module cohomology.SuspAdjointLoopIso where
module SuspAdjointLoopIso {i} where
private
hadj : HomAdjoint {i} {i} Σ⊣Ω.SuspFunctor Σ⊣Ω.LoopFunctor... |
Common/ASM/Timer1_ASM.asm | anton-qiu/QuickRTOS | 0 | 95038 |
$INCLUDE (.\Common\ASM\include.asm)
AREA Timer_ASM_Code, CODE // READONLY, ALIGN=4
RSEG Timer_ASM_Code
; ENTRY
EXTERN DATA (vpTimer1Counter0_ISR)
EXTERN DATA (vpTimer1Counter1_ISR)
EXTERN DATA (vpTimer1Counter2_ISR)
EXTERN DATA (vpTimer1Counter3_ISR)
T1_INT_EN_MASK EQU 0x... |
Data/Nat/DM.agda | banacorn/numeral | 1 | 10070 | <gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- Integer division
------------------------------------------------------------------------
module Data.Nat.DM where
open import Data.Fin as Fin using (Fin; toℕ)
import Data.Fin.Properties as FinP
... |
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_round.asm | dikdom/z88dk | 1 | 171644 |
SECTION code_fp_am9511
PUBLIC cam32_sdcc_round
EXTERN asm_sdcc_read1, _am9511_round
defc cam32_sdcc_round = _am9511_round
|
src/LibraBFT/Impl/Properties/Util.agda | LaudateCorpus1/bft-consensus-agda | 0 | 12732 | <reponame>LaudateCorpus1/bft-consensus-agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
-- This module contains definitio... |
test/Succeed/Issue203.agda | shlevy/agda | 1,989 | 4473 | <filename>test/Succeed/Issue203.agda
{-# OPTIONS --allow-unsolved-metas #-}
module Issue203 where
open import Common.Level
-- Should work but give unsolved metas (type of b)
data ↓ {a b} (A : Set a) : Set a where
[_] : (x : A) → ↓ A
mutual -- avoid freezing
-- Shouldn't instantiate the level of Σ to a
data Σ... |
oeis/099/A099909.asm | neoneye/loda-programs | 11 | 29553 | ; A099909: (prime(n)*(prime(n+1)-1) + (prime(n)-1)*prime(n+1)) / 2.
; Submitted by <NAME>
; 11,29,68,131,206,305,416,641,869,1113,1478,1721,1976,2441,3071,3539,4023,4688,5111,5691,6476,7301,8540,9698,10301,10916,11555,12206,14231,16508,17813,18905,20567,22349,23553,25431,27056,28721,30791,32219,34385,36671,37826,39005,... |
array/MaxInArray.asm | gmarciani/assimply | 1 | 163665 | # @Name: MaxInArray
# @Description: The program computes (recursively) the maximum in an array A of size 10.
#
# @Author: <NAME> <<EMAIL>>
.data
msg_welcome: .asciiz "Il programma determina ricorsivamente l'elemento massimo di un array 10-dimensionale.\n\n"
msg_result: .asciiz "\nElemento maggiore: "
A: .word 2,4,6,8... |
examples/Termination/Ord.agda | shlevy/agda | 1,989 | 1131 | <reponame>shlevy/agda
module Ord where
data Nat : Set where
Z : Nat
S : Nat -> Nat
data Ord : Set where
z : Ord
lim : (Nat -> Ord) -> Ord
zp : Ord -> Ord
zp z = z
zp (lim f) = lim (\x -> zp (f x))
|
utils/outputbuffer.asm | peter-mount/departures8bit | 0 | 16702 | <gh_stars>0
; **********************************************************************
; Output buffer
; **********************************************************************
; outputReset - reset output buffer
;
; on exit:
; A undefined
; X preserved
; Y current buffer size
.outputReset
LDA #0 ... |
RecursiveTypes/Syntax/UnfoldedOrFixpoint.agda | nad/codata | 1 | 14697 | ------------------------------------------------------------------------
-- A view of the syntax
------------------------------------------------------------------------
module RecursiveTypes.Syntax.UnfoldedOrFixpoint where
open import RecursiveTypes.Syntax
open import RecursiveTypes.Substitution
-- Unfolded types, ... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_rmdt19.asm | prismotizm/gigaleak | 0 | 173460 | <filename>other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_rmdt19.asm
Name: zel_rmdt19.asm
Type: file
Size: 64599
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: F97B65D081A462754186D025E999DB7418759049
Description: null
|
source/web/servlet/http/servlet-http_responses.ads | reznikmm/matreshka | 24 | 27273 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
src/Categories/Functor/Construction/Zero.agda | Trebor-Huang/agda-categories | 279 | 14125 | <filename>src/Categories/Functor/Construction/Zero.agda
{-# OPTIONS --without-K --safe #-}
module Categories.Functor.Construction.Zero where
-- The Zero functor maps everything to the initial object of a
-- category (when it exists). Note quite const.
open import Level
open import Categories.Category
open import Cat... |
assembler/test.asm | jbchouinard/eight | 2 | 103374 | ; Multiply a 16 bit int by an 8 bit int
begin: lod a,[result + 1]
add a,[num1 + 1] ; Add low-order byte
sto [result + 1],a
lod a,[result]
adc a,[num1] ; Add high-order byte
sto [result],a
lod a,[num2 + 1]
sub a, one ; Decrement second number
sto [num2 + 1]
jnz begin
hlt
one: 01h
num1: 00h, a7h
num2: 00... |
oeis/214/A214282.asm | neoneye/loda-programs | 11 | 26634 | ; A214282: Largest Euler characteristic of a downset on an n-dimensional cube.
; 1,1,1,3,6,10,15,35,70,126,210,462,924,1716,3003,6435,12870,24310,43758,92378,184756,352716,646646,1352078,2704156,5200300,9657700,20058300,40116600,77558760,145422675,300540195,601080390,1166803110,2203961430,4537567650,9075135300,17672631... |
gcc-gcc-7_3_0-release/gcc/ada/exp_util.adb | best08618/asylo | 7 | 11008 | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr12.adb | best08618/asylo | 7 | 3204 | <reponame>best08618/asylo<gh_stars>1-10
-- { dg-do compile }
-- { dg-options "-fdump-tree-original" }
package body Aggr12 is
procedure Print (Data : String) is
begin
null;
end;
procedure Test is
begin
Print (Hair_Color_Type'Image (A.I1));
Print (Hair_Color_Type'Image (A.I2));
end;
end Aggr12... |
source/nodes/program-nodes-function_body_stubs.adb | optikos/oasis | 0 | 30005 | <filename>source/nodes/program-nodes-function_body_stubs.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Function_Body_Stubs is
function Create
(Not_Token ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.