max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
test/Fail/Issue87.agda | redfish64/autonomic-agda | 1 | 17144 | <filename>test/Fail/Issue87.agda
module Issue87 where
data I : Set where
data D : I -> Set where
d : forall {i} (x : D i) -> D i
bar : forall {i} -> D i -> D i -> D i
bar (d x) (d y) with y
bar (d x) (d {i} y) | z = d {i} y
-- Panic: unbound variable i
-- when checking that the expression i has type I
|
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/pow_callee.asm | ahjelm/z88dk | 4 | 19974 | <gh_stars>1-10
SECTION code_fp_math16
PUBLIC powf16_callee
EXTERN cm16_sccz80_pow_callee
defc powf16_callee = cm16_sccz80_pow_callee
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _powf16_callee
defc _powf16_callee = powf16_callee
ENDIF
|
host/stm32gd-gpio.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 4372 | <filename>host/stm32gd-gpio.ads
with STM32_SVD; use STM32_SVD;
package STM32GD.GPIO is
pragma Preelaborate;
type GPIO_Pin is
(Pin_0, Pin_1, Pin_2, Pin_3, Pin_4, Pin_5, Pin_6, Pin_7,
Pin_8, Pin_9, Pin_10, Pin_11, Pin_12, Pin_13, Pin_14, Pin_15);
type GPIO_Pins is array (Positive range <>) of... |
Rings/Isomorphisms/Definition.agda | Smaug123/agdaproofs | 4 | 2961 | <reponame>Smaug123/agdaproofs
{-# OPTIONS --safe --warning=error --without-K #-}
open import Setoids.Setoids
open import Rings.Definition
open import Rings.Homomorphisms.Definition
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
module Rings.Isomorphisms.Definition {a b c d : _} {A : Set a} {S : Setoid {a... |
tests/src/testsuite-decode.ads | Fabien-Chouteau/COBS | 0 | 20963 | with Test_Utils.Abstract_Decoder;
with AUnit.Test_Suites;
with AUnit.Test_Fixtures;
private with AUnit.Test_Caller;
package Testsuite.Decode is
type Decoder_Kind is (Simple, Simple_In_Place, Stream);
procedure Set_Decoder_Kind (K : Decoder_Kind);
procedure Add_Tests (Suite : in out AUnit.Test_Suites.Test_... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1863.asm | ljhsiun2/medusa | 9 | 14049 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rdi
lea addresses_normal_ht+0x9a79, %r13
nop
nop
nop
sub $39873, %r12
vmovups (%r13), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $1, %xmm1, %r11
nop
nop
cmp %rdi, %rdi
pop %rdi
pop %r13
pop %r12
pop... |
oeis/104/A104192.asm | neoneye/loda-programs | 11 | 173832 | ; A104192: a(n) = prime(n) - phi(n).
; Submitted by <NAME>
; 1,2,3,5,7,11,11,15,17,25,21,33,29,37,39,45,43,55,49,63,61,69,61,81,77,89,85,95,81,105,97,115,117,123,125,139,121,145,143,157,139,169,149,173,173,177,165,207,185,209,201,215,189,233,217,239,233,243,219,265,223
mov $2,$0
seq $0,40 ; The prime numbers.
seq $2,1... |
Sources/Swarm/swarm_data.ads | ForYouEyesOnly/Space-Convoy | 1 | 30071 | <gh_stars>1-10
--
-- Jan & <NAME>, Australia, July 2011
--
with Swarm_Configuration; use Swarm_Configuration;
with Swarm_Configurations; use Swarm_Configurations; pragma Elaborate_All (Swarm_Configurations);
with Swarm_Structures; use Swarm_Structures;
with Swarm_Structures_Base; use Swarm_Structures_Base;
pa... |
_tests/trrup/t1.g4 | SKalt/Domemtech.Trash | 16 | 3069 | grammar t1;
foo: (bar)?; // <- can be safely replaced with `bar?`
bar: 'baz';
|
examples/StateSized/GUI/SpaceShipSimpleVar.agda | agda/ooAgda | 23 | 8435 | <gh_stars>10-100
module StateSized.GUI.SpaceShipSimpleVar where
open import SizedIO.Base
open import StateSizedIO.GUI.BaseStateDependent
open import Data.Bool.Base
open import Data.List.Base
open import Data.Integer
open import Data.Product hiding (map)
open import SizedIO.Object
open import SizedIO.IOObject
open i... |
alloy4fun_models/trashltl/models/1/jxn6dnieLwrT6JjR9.als | Kaixi26/org.alloytools.alloy | 0 | 2165 | open main
pred idjxn6dnieLwrT6JjR9_prop2 {
no File releases some File
}
pred __repair { idjxn6dnieLwrT6JjR9_prop2 }
check __repair { idjxn6dnieLwrT6JjR9_prop2 <=> prop2o } |
agda-stdlib/src/Induction/Nat.agda | DreamLinuxer/popl21-artifact | 5 | 8259 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use the Data.(Nat/Fin).Induction
-- modules directly.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Inducti... |
rex/lib/scandrv.adb | cocolab8/cocktail | 0 | 1164 | <filename>rex/lib/scandrv.adb
-- $Id: scandrv.adb,v 1.2 1997/05/27 21:44:35 grosch rel $
$@ with @, Text_Io, Position, Strings;
$@ use @, Text_Io, Position, Strings;
$@ procedure @Drv is
package Int_Io is new Text_Io.Integer_IO (Integer); use Int_Io;
Token : Integer := 1;
Word : tString;
Debug : Boole... |
projects/batfish/src/main/antlr4/org/batfish/grammar/palo_alto/PaloAlto_shared.g4 | nickgian/batfish | 0 | 7510 | parser grammar PaloAlto_shared;
import PaloAlto_application, PaloAlto_common, PaloAlto_service, PaloAlto_service_group;
options {
tokenVocab = PaloAltoLexer;
}
s_shared
:
SHARED
(
ss_common
| ss_null
)
;
// Common syntax between vsys, panorama, and other shared contexts
ss_common
:
... |
Lists/Map/Map.agda | Smaug123/agdaproofs | 4 | 2253 | {-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Functions.Definition
open import Lists.Definition
open import Lists.Fold.Fold
open import Lists.Length
module Lists.Map.Map where
map : {a b : _} {A : Set a} {B : Set b} (f : A → B) → List A → List B
map f [] = []
map f (x :: ... |
libsrc/_DEVELOPMENT/alloc/balloc/c/sccz80/balloc_firstfit_callee.asm | teknoplop/z88dk | 0 | 22029 | <gh_stars>0
; void *balloc_firstfit(unsigned int queue, unsigned char num)
SECTION code_clib
SECTION code_alloc_balloc
PUBLIC balloc_firstfit_callee, l0_balloc_firstfit_callee
EXTERN asm_balloc_firstfit
balloc_firstfit_callee:
pop hl
pop bc
ex (sp),hl
l0_balloc_firstfit_callee:
ld a,c
jp asm_... |
programs/oeis/093/A093995.asm | jmorken/loda | 1 | 93028 | ; A093995: n^2 repeated n times, triangle read by rows.
; 1,4,4,9,9,9,16,16,16,16,25,25,25,25,25,36,36,36,36,36,36,49,49,49,49,49,49,49,64,64,64,64,64,64,64,64,81,81,81,81,81,81,81,81,81,100,100,100,100,100,100,100,100,100,100,121,121,121,121,121,121,121,121,121,121,121,144,144,144,144,144,144,144,144,144,144,144,144,1... |
src/native/third_party/isa-l_crypto/sha512_mb/sha512_mb_mgr_flush_avx512.asm | guptsanj/noobaa-core | 0 | 172352 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... |
masm/2_loop.asm | oceanwavechina/assembly | 0 | 104912 | ; 这段代码是演示loop循环的使用,用到了那些寄存器
; 用debug查看loop执行后,如何影响cx(减一),cs,ip(二者重新指向s处)的
assume cs:pow
pow segment
start:
mov ax, 2 ; 要计算的数据
mov cx, 0bh ; 计数器, 11 是计算2^12, 汇编中数据不能以字母开头,前边要加0
s: add ax, ax ; 要循环的代码块
loop s ; 循环完一次后,检查有没有下次循环,对应 [ (cx) = (cx)-1; if (cx) > 0 goto s else pass;]
mov ax, 4c0... |
generated/natools-static_maps-s_expressions-templates-dates.adb | faelys/natools | 0 | 26960 | <reponame>faelys/natools
-- Generated at 2015-06-24 18:19:13 +0000 by Natools.Static_Hash_Maps
-- from src/natools-s_expressions-templates-dates-maps.sx
with Natools.Static_Maps.S_Expressions.Templates.Dates.Cmds;
with Natools.Static_Maps.S_Expressions.Templates.Dates.Zones;
package body Natools.Static_Maps.S_Expre... |
lib/Haskell/Prim/Eq.agda | dxts/agda2hs | 0 | 244 |
module Haskell.Prim.Eq where
open import Agda.Builtin.Nat as Nat hiding (_==_)
open import Agda.Builtin.Char
open import Agda.Builtin.Unit
open import Agda.Builtin.List
open import Haskell.Prim
open import Haskell.Prim.Bool
open import Haskell.Prim.Integer
open import Haskell.Prim.Int
open import Haskell.Prim.Word
o... |
src/natools-time_io-rfc_3339.ads | faelys/natools | 0 | 18230 | <reponame>faelys/natools
------------------------------------------------------------------------------
-- Copyright (c) 2014, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software ... |
tools-src/gnu/gcc/gcc/ada/sem_dist.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 17502 | <filename>tools-src/gnu/gcc/gcc/ada/sem_dist.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
MSDOS/Virus.MSDOS.Unknown.proto_t.asm | fengjixuchui/Family | 3 | 175602 | ;PROTO-T virus: a simple, memory resident .COM infector for
;Crypt newsletter 9. Assemble with any MASM/TASM compatible assembler.
;
;On call, PROTO-T will manipulate the interrupt table directly, hooking
;int 21h and decreasing the amount of memory by a little over 1k.
;It will infect COMMAND.COM
;if a shell is insta... |
maps/TeamRocketBaseB1F.asm | Dev727/ancientplatinum | 28 | 11179 | <filename>maps/TeamRocketBaseB1F.asm
object_const_def ; object_event constants
const TEAMROCKETBASEB1F_ROCKET1
const TEAMROCKETBASEB1F_ROCKET2
const TEAMROCKETBASEB1F_SCIENTIST
const TEAMROCKETBASEB1F_POKE_BALL1
const TEAMROCKETBASEB1F_POKE_BALL2
const TEAMROCKETBASEB1F_POKE_BALL3
TeamRocketBaseB1F_MapScripts:
... |
vdocs/vdocs.g4 | odinhaus/vdocs | 0 | 6736 | <reponame>odinhaus/vdocs<filename>vdocs/vdocs.g4<gh_stars>0
grammar vdocs;
/*
* Parser Rules
*/
variables
: (variable SEMICOLON)*
;
variable
: namedElement COLON stringValue
;
stringValue
: STRING
;
namedElement
: NAMEDELEMENT
;
compileUnit
: EOF
;
/*
* Lexer Rules
*/
NAMEDELEMENT
: [a-zA-Z_@... |
programs/oeis/176/A176003.asm | jmorken/loda | 1 | 6631 | <gh_stars>1-10
; A176003: a(n) = 3*(n-th noncomposite number) - 2.
; 1,4,7,13,19,31,37,49,55,67,85,91,109,121,127,139,157,175,181,199,211,217,235,247,265,289,301,307,319,325,337,379,391,409,415,445,451,469,487,499,517,535,541,571,577,589,595,631,667,679,685,697,715,721,751
sub $0,1
cal $0,40 ; The prime numbers.
mov $... |
firmware/coreboot/3rdparty/libgfxinit/common/skylake/hw-gfx-gma-plls.ads | fabiojna02/OpenCellular | 1 | 6524 | <filename>firmware/coreboot/3rdparty/libgfxinit/common/skylake/hw-gfx-gma-plls.ads
--
-- Copyright (C) 2015-2016 secunet Security Networks AG
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation... |
lib/src/xr/x86/os2/xrnmexp.asm | zanud/xds-2.60 | 53 | 88009 | <reponame>zanud/xds-2.60<filename>lib/src/xr/x86/os2/xrnmexp.asm<gh_stars>10-100
.386p
.387
; COPYRIGHT (c) 1995,99 XDS. All Rights Reserved.
; Implementation for exp & expl functions
ifdef OS2
.model FLAT
endif
DGROUP group _DATA
_DATA ... |
alloy4fun_models/trashltl/models/17/pnLYeJ4W8RDdcXut7.als | Kaixi26/org.alloytools.alloy | 0 | 2990 | <gh_stars>0
open main
pred idpnLYeJ4W8RDdcXut7_prop18 {
always all f: File | f not in Protected releases f in Trash
}
pred __repair { idpnLYeJ4W8RDdcXut7_prop18 }
check __repair { idpnLYeJ4W8RDdcXut7_prop18 <=> prop18o } |
Library/Text/UI/uiTextCount.asm | steakknife/pcgeos | 504 | 92745 | <gh_stars>100-1000
COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Text Library
FILE: uiTextCountControl.asm
ROUTINES:
Name Description
---- -----------
GLB TextCountControlClass Style ... |
bug-reports/incorrect-pre-proof/src/main.adb | TUM-EI-RCS/StratoX | 12 | 262 | <reponame>TUM-EI-RCS/StratoX
with foo; use foo;
with Interfaces; use Interfaces;
-- GNATprove GPL 2016 seems to miss a failed precondition check
-- in the call at line 18. Reason is insufficient knowledge on
-- others=>, causing a false negative there, which in turn hides
-- a serious bug.
-- Fixed in GNATprove P... |
dino/lcs/base/6B99.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 80990 | <gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
01689E move.b D0, ($1,A6)
0168A2 move.b D0, ($2,A6)
copyright zengfr site:http://github.com/zengfr/romhack
|
alloy4fun_models/trainstlt/models/0/x77W9AQ8iSTxu8ZNi.als | Kaixi26/org.alloytools.alloy | 0 | 2509 | open main
pred idx77W9AQ8iSTxu8ZNi_prop1 {
always (all t:Track&Entry | always Green not in t.signal)
}
pred __repair { idx77W9AQ8iSTxu8ZNi_prop1 }
check __repair { idx77W9AQ8iSTxu8ZNi_prop1 <=> prop1o } |
programs/oeis/073/A073675.asm | neoneye/loda | 22 | 161733 | <filename>programs/oeis/073/A073675.asm
; A073675: Rearrangement of natural numbers such that a(n) is the smallest proper divisor of n not included earlier but if no such divisor exists then a(n) is the smallest proper multiple of n not included earlier, subject always to the condition that a(n) is not equal to n.
; 2,... |
programs/oeis/166/A166805.asm | karttu/loda | 1 | 497 | <reponame>karttu/loda
; A166805: Number of n X 4 1..2 arrays containing at least one of each value, all equal values connected, rows considered as a single number in nondecreasing order, and columns considered as a single number in nondecreasing order.
; 3,13,33,68,124,208,328,493,713,999,1363,1818,2378,3058,3874,4843,... |
legend-engine-language-pure-store-relational/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/connection/postProcessor/PostProcessorLexerGrammar.g4 | dave-wathen/legend-engine | 32 | 4802 | lexer grammar PostProcessorLexerGrammar;
import CoreLexerGrammar;
TABLE: 'table';
SCHEMA: 'schema';
FROM: 'from';
TO: 'to';
SCHEMA_FROM: 'schemaFrom';
SCHEMA_TO: 'schemaTo';
MAPPERS: 'mappers'; |
am9511a.asm | feilipu/LLL-Floating-Point | 8 | 95465 | <reponame>feilipu/LLL-Floating-Point
;==================================================================================
; Contents of this file are copyright <NAME>
;
; You have permission to use this for NON COMMERCIAL USE ONLY
; If you wish to use it elsewhere, please include an acknowledgement to myself.
;
; Conver... |
Categories/Category/Construction/Classifying.agda | elpinal/exsub-ccc | 3 | 17268 | open import Theory
module Categories.Category.Construction.Classifying {ℓ₁ ℓ₂ ℓ₃} (Th : Theory ℓ₁ ℓ₂ ℓ₃) where
open import Relation.Binary using (Rel)
open import Data.List using ([]; _∷_)
open import Data.Fin using () renaming (zero to fzero; suc to fsuc)
open import Level using (_⊔_)
open import Categories.Categor... |
programs/oeis/115/A115180.asm | jmorken/loda | 1 | 25485 | <reponame>jmorken/loda
; A115180: Beatty sequence for (Champernowne constant)*10 = 1.234567891011121314....
; 1,2,3,4,6,7,8,9,11,12,13,14,16,17,18,19,20,22,23,24,25,27,28,29,30,32,33,34,35,37,38,39,40,41,43,44,45,46,48,49,50,51,53,54,55,56,58,59,60,61,62,64,65,66,67,69,70,71,72,74,75,76,77,79,80,81,82,83,85,86,87,88
m... |
alloy4fun_models/trashltl/models/17/JcT2idqdmHby5jbnx.als | Kaixi26/org.alloytools.alloy | 0 | 3679 | open main
pred idJcT2idqdmHby5jbnx_prop18 {
all f : Protected | always (f in Protected until f in Trash)
}
pred __repair { idJcT2idqdmHby5jbnx_prop18 }
check __repair { idJcT2idqdmHby5jbnx_prop18 <=> prop18o } |
programs/oeis/052/A052619.asm | karttu/loda | 0 | 165354 | ; A052619: E.g.f. 3x^3/(1-x).
; 0,0,0,18,72,360,2160,15120,120960,1088640,10886400,119750400,1437004800,18681062400,261534873600,3923023104000,62768369664000,1067062284288000
mov $1,$0
fac $1
div $1,6
mul $1,18
|
2018-11/retardedAO/AO-TP-EXOs/TP-EXO6.asm | djalilhebal/shit | 3 | 26247 | <filename>2018-11/retardedAO/AO-TP-EXOs/TP-EXO6.asm
; TP-EXO6: Reads a four-digit integer and prints the sum of its digits.
pile segment para stack 'pile'
db 256 dup(0)
pile ends
data segment
buf db 4+1, ?, 4 dup(?) ; maxLength+1 + actualLength + data
msg db 'Entrez un nombre: $'
sum db 13, 10, 'La ... |
programs/oeis/016/A016878.asm | neoneye/loda | 22 | 175764 | <filename>programs/oeis/016/A016878.asm
; A016878: (5n+2)^6.
; 64,117649,2985984,24137569,113379904,387420489,1073741824,2565726409,5489031744,10779215329,19770609664,34296447249,56800235584,90458382169,139314069504,208422380089,304006671424
mul $0,5
add $0,2
pow $0,6
|
oeis/024/A024892.asm | neoneye/loda-programs | 11 | 96449 | ; A024892: Numbers k such that 3*k+1 is prime.
; Submitted by <NAME>
; 2,4,6,10,12,14,20,22,24,26,32,34,36,42,46,50,52,54,60,64,66,70,74,76,80,90,92,94,102,104,110,112,116,122,124,126,132,136,140,144,146,152,154,162,166,174,180,182,190,192,200,202,204,206,210,214,220,224,230,236,242,244,246,250,252,256,262,270,274,276,... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_95.asm | ljhsiun2/medusa | 9 | 86373 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rsi
lea addresses_UC_ht+0x13fc, %rsi
sub $27130, %r14
and $0xffffffffffffffc0, %rsi
vmovaps (%rsi), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $1, %xmm0, %r15
nop
nop
nop
nop
nop
and $63614, %rsi
pop %rsi
pop %r15
pop %r14
ret
.global s_faulty... |
libsrc/_DEVELOPMENT/math/float/math16/c/sccz80/cm16_sccz80_mul.asm | Frodevan/z88dk | 640 | 170057 | <reponame>Frodevan/z88dk
; half __mul (half left, half right)
SECTION code_fp_math16
PUBLIC cm16_sccz80_mul
EXTERN asm_f24_f16
EXTERN asm_f16_f24
EXTERN asm_f24_mul_f24
.cm16_sccz80_mul
; multiply two sccz80 halfs
;
; enter : stack = sccz80_half left, sccz80_half right, ret
;
; exit : HL ... |
ASS4/mean_median_var (q6).asm | rahulkumawat1/NASM | 0 | 82219 | <filename>ASS4/mean_median_var (q6).asm
section .bss
farr: resq 200
n: resw 1
i: resb 1
mean1: resq 1
mean: resq 1
var: resq 1
tmp: resq 1
section .data
format3: db "%ld",0
format1: db "%lf",0
format2: db "%lf",10
section .text
global main
extern scanf
extern printf
main:
fldz
fld qword[var]
fstp qword[var]
... |
list3/task1/src/mult.ads | luk9400/nsi | 0 | 23469 | <gh_stars>0
package Mult with SPARK_Mode is
function Mult (A : Natural; B : Natural) return Natural with
SPARK_Mode,
Pre => A < 32768 and B < 32768,
Post => Mult'Result = A * B;
end Mult;
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_356.asm | ljhsiun2/medusa | 9 | 84087 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x3d0f, %rsi
lea addresses_WT_ht+0x140b5, %rdi
clflush (%rsi)
cmp %r8, %r8
mov $89, %rcx
rep movsq
nop
nop
inc %rsi
lea addresses_WT_ht+0x7eb5, %rsi
lea addresses_WC_ht+0x39a8,... |
oeis/018/A018908.asm | neoneye/loda-programs | 0 | 25731 | <filename>oeis/018/A018908.asm
; A018908: Define sequence S(a_0,a_1) by a_{n+2} is least integer such that a_{n+2}/a_{n+1}>a_{n+1}/a_n for n >= 0. This is S(3,4).
; Submitted by <NAME>(w4)
; 3,4,6,10,17,29,50,87,152,266,466,817,1433,2514,4411,7740,13582,23834,41825,73397,128802,226031,396656,696082,1221538,2143649,3761... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_10642_502.asm | ljhsiun2/medusa | 9 | 15061 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1db36, %rsi
lea addresses_D_ht+0xef6, %rdi
nop
nop
lfence
mov $21, %rcx
rep movsl
nop
nop
nop
dec %rax
lea addresses_normal_ht+0x1b35a, %rbp
nop
nop
nop
add %r9, %r9
movups (... |
src/static/antlr4/grammars/LineTerminator.g4 | jlenoble/ecmascript-parser | 0 | 1190 | /* Source: ECMAScript® 2018 Language Specification - Annex A-1 */
lexer grammar LineTerminator;
// LineTerminator::
// <LF> U+000A LINE FEED 

// <CR> U+000D CARRIAGE RETURN
// <LS> U+2028 LINE SEPARATOR
// <PS> U+2029 PARAGRAPH SEPARATOR
LineTerminator
... |
m-types.agda | HoTT/M-types | 27 | 5727 | <gh_stars>10-100
module m-types where
-- Basic definitions
import container.core
-- Construction of M-types as limits
import container.m.from-nat
-- M-types via Agda coinduction
import container.m.core
|
ntio/openread.asm | DigitalMars/optlink | 28 | 724 | <filename>ntio/openread.asm<gh_stars>10-100
TITLE OPENREAD - Copyright (c) 1994 SLR Systems
INCLUDE MACROS
INCLUDE IO_STRUC
; PUBLIC OPEN_READING
.DATA
EXTERNDEF MODULE_NAME:BYTE
EXTERNDEF OBJ_DEVICE:DWORD,CURN_FILE_LIST_GINDEX:DWORD
EXTERNDEF STUBPATH_LIST:FILE_LISTS,OBJPATH_LIST:FILE_LISTS,LIBPA... |
CS 224 - Spring 2018/Lab1/Program2.asm | ybalcanci/bilkent-assignments-labs-projects | 2 | 18671 | ##
## Program2.asm asks user for temperature in Celsius,
## converts to Fahrenheit, prints the result.
##
## v0 - reads in Celsius
## t0 - holds Fahrenheit result
## a0 - points to output strings
##
#################################
# #
# text segment #
# #
#################################
... |
LibraBFT/Impl/Properties/VotesOnce.agda | lisandrasilva/bft-consensus-agda-1 | 0 | 8491 | <filename>LibraBFT/Impl/Properties/VotesOnce.agda
{- 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
-}
{-# OPTIONS --allow-unsolved-... |
src/Data/Tilemaps/Main/Main.tilemap.asm | stoneface86/GameboyBoilerplateProj | 25 | 16616 | include "./src/Includes.inc"
include "./src/General/Charmap.inc"
section "ScreenMain", romx,bank[1]
ScreenMain::
db 126,126,126,126,125,125,125,125,125,125,125,125,125,124,124,124,124,124,124,124,GSTOP
db 126, 94,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113, 94,124,GSTOP
db 126,116,120,120,... |
Cubical/HITs/Ints/DeltaInt/Properties.agda | dan-iel-lee/cubical | 0 | 5937 | <filename>Cubical/HITs/Ints/DeltaInt/Properties.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
{-
This file defines
deltaIntSec : ∀ b → toInt (fromInt b) ≡ b
succPred : ∀ n → succ (pred n) ≡ n
predSucc : ∀ n → pred (succ n) ≡ n
and proved DeltaInt ≡ DeltaInt by the above functions
succPredEq : DeltaInt ≡ ... |
Source/Levels/L0313.asm | AbePralle/FGB | 0 | 2995 | ; L0313.asm ba ships quarters
; Generated 07.28.2000 by mlevel
; Modified 07.28.2000 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level0313Section",ROMX
;----------------------------------------------------------------... |
try2/untyped.g4 | steinwaywhw/ats-learn-lambda | 0 | 2850 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
grammar untyped;
|
kernel.asm | phylchen/SPRINGCS153 | 0 | 245471 |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
8010... |
src/main/antlr4/br/ufscar/dc/compiladores/la/LaLexer.g4 | 18argon/enpe-2-compiladores-linguagem-algoritmica | 0 | 5546 | <gh_stars>0
lexer grammar LaLexer;
// Palavras chave (não podem serem usadas como identificador)
PALAVRA_CHAVE
: 'algoritmo'
| 'fim_algoritmo'
| 'declare'
| 'constante'
| 'tipo'
| 'literal'
| 'inteiro'
| 'real'
| 'logico'
| 'verdadeiro'
| 'falso'
| 'registro'
| 'fim_... |
_maps/SLZ Circling Platform.asm | kodishmediacenter/msu-md-sonic | 9 | 241253 | ; ---------------------------------------------------------------------------
; Sprite mappings - platforms that move in circles (SLZ)
; ---------------------------------------------------------------------------
Map_Circ_internal:
dc.w @platform-Map_Circ_internal
@platform: dc.b 2
dc.b $F8, 9, 0, $51, $E8
dc.b $... |
test/asm/uninit02.asm | nigelperks/BasicAssembler | 0 | 175454 | IDEAL
; initialised data in UNINIT segment
SEGMENT SEG1 UNINIT
ASSUME CS:SEG1,DS:SEG1
start:
int 20h
db 0FAh,0CEh
_count dw 1234h
dd 0DEADFACEh
dq 1234567812345678h
dt 0
jmp start
ENDS SEG1
; uninitialised data in non-UNINIT segment
SEGMENT SEG2
ASSUME CS:SEG2,DS:SEG2
db 2 dup (?)
dw ?
dd ?
dq... |
oeis/144/A144901.asm | neoneye/loda-programs | 11 | 163363 | ; A144901: Expansion of x/((1-x-x^3)*(1-x)^7).
; Submitted by <NAME>
; 0,1,8,36,121,339,837,1882,3937,7777,14664,26609,46762,79990,133731,219253,353507,561851,882051,1370154,2109105,3221386,4887550,7373395,11069801,16551126,24660802,36636795,54295489,80301195,118561150,174804431,257430410,378752241,556819295,818088085,... |
workflow/start.applescript | thepratik/alfred4-youtube-control | 13 | 3055 | on run {}
# Prepare loader
set Loader to init(path to me as text) of (load script POSIX path of ((path to me as text) & "::") & "loader.scpt")
set menu_list to create() of load("filter-factory.scpt") of Loader
tell application "System Events" to set chrome_running to (name of processes contains "Google Chrome... |
alloy4fun_models/trainstlt/models/2/pQ4DpwdrDfbMXz7XH.als | Kaixi26/org.alloytools.alloy | 0 | 2352 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idpQ4DpwdrDfbMXz7XH_prop3 {
always all t: Train | one tr: Track | always t in pos.tr implies t' in pos.tr
}
pred __repair { idpQ4DpwdrDfbMXz7XH_prop3 }
check __repair { idpQ4DpwdrDfbMXz7XH_prop3 <=> prop3o } |
Source/SystemQOR/MSWindows/WinCmpSupQORVC/src/Exceptions/SEH/safeseh.asm | mfaithfull/QOR | 9 | 11739 |
.486
.MODEL flat
EXTRN ?CatchGuardHandler@GuardDescriptor@EH@nsCompiler@@CA?AW4_EXCEPTION_DISPOSITION@nsWin32@@PAVExceptionRecord@23@PAVCatchGuardRN@123@PAUCONTEXT@5@PAX@Z:NEAR
EXTRN ?UnwindHandler@SEH@nsCompiler@@YA?AW4_EXCEPTION_DISPOSITION@@PAVExceptionRecord@12@PAVExceptionFrame@12@PAUCONTEXT@nsWin32@@PAX@Z:NEA... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_2159.asm | ljhsiun2/medusa | 9 | 89662 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x19cfe, %r10
nop
nop
nop
nop
nop
inc %rax
mov (%r10), %edi
nop
nop
and $25033, %r12
lea addresses_WT_ht+0x1b99e, %r10
nop
nop
sub $53286, %r15
mov $0x616263646... |
asm/title_screen.asm | unknownbrackets/tomatotrans | 14 | 80780 | ; Adjust the button sprite definitions so there's no reuse.
.org 0x0845B750
.region 0x0845B89C-.,0x00
@NewButtonSprite:
dh 6
dh 0x4000, 0x41E0, 0x0000
dh 0x4000, 0x4000, 0x0004
dh 0x4008, 0x41E0, 0x0008
dh 0x4008, 0x4000, 0x000C
dh 0x4010, 0x41E0, 0x0010
dh 0x4010, 0x4000, 0x0014
@LoadButtonSprite:
dh 6
dh 0x400... |
oeis/110/A110272.asm | neoneye/loda-programs | 11 | 19985 | ; A110272: a(n) = Pell(n)^3.
; Submitted by <NAME>
; 0,1,8,125,1728,24389,343000,4826809,67917312,955671625,13447314152,189218084021,2662500456000,37464224551181,527161643971768,7417727240640625,104375343011770368,1468672529408250769
seq $0,129 ; Pell numbers: a(0) = 0, a(1) = 1; for n > 1, a(n) = 2*a(n-1) + a(n-2).
p... |
devenv/xwjoy/xwjoy.asm | pagej97/xwjoy-redux | 1 | 161994 | <gh_stars>1-10
;* xwjoy.asm - A simple memory-resident program that simulates keyboard
;* input when throttle movement occurs. After installing, it terminates
;* through the Terminate-and-Stay-Resident function (function 31h).
.MODEL tiny
.486P
.STACK
.CODE
.STARTUP
PORT_JOYSTICK EQU 0201h
JOY_BUTTON_... |
source/oasis/program-elements-entry_index_specifications.ads | optikos/oasis | 0 | 3028 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Declarations;
with Program.Lexical_Elements;
with Program.Elements.Defining_Identifiers;
with Program.Elements.Discrete_Ranges;
... |
arch/x86-64/src/isrs.asm | circutrider21/Night | 4 | 246300 | <gh_stars>1-10
%macro INTERRUPT_NAME 1
dq __interrupt%1
%endmacro
%macro INTERRUPT_ERR 1
__interrupt%1:
push %1
jmp __interrupt_common
%endmacro
%macro INTERRUPT_NOERR 1
__interrupt%1:
push 0
push %1
jmp __interrupt_common
%endmacro
%macro __pusha 0
push rax
push rbx
push rcx
push rdx
push rsi... |
install.applescript | OscarBarrett/sidekick-plugin-installer | 1 | 2421 | # Version 1.0.0
# Find compatibility uuid for the current version of Mail
set uuid to do shell script "defaults read /Applications/Mail.app/Contents/Info.plist PluginCompatibilityUUID"
set macOSMajorVersion to do shell script "sw_vers -productVersion | cut -d . -f 1"
set macOSMinorVersion to do shell script "sw_vers ... |
alloy4fun_models/trashltl/models/5/FaKftHpsxqwhdEL8w.als | Kaixi26/org.alloytools.alloy | 0 | 2344 | open main
pred idFaKftHpsxqwhdEL8w_prop6 {
}
pred __repair { idFaKftHpsxqwhdEL8w_prop6 }
check __repair { idFaKftHpsxqwhdEL8w_prop6 <=> prop6o } |
asm/examples/sprite.asm | majacQ/retroputer | 58 | 100245 | .namespace sprite-demo {
.const WHICH_SPRITE 0
.const SPRITE_WIDTH 1
.const SPRITE_HEIGHT 1
.const SPRITE_TILE_PAGE 28
.const SPRITE_DATA_PAGE 5
.const SPRITE_DATA_IDX 0
.const SPRITE_TILE 0x01 # face; full block is 0xDB
.const SPRITE_BG_COLOR 0x00
.const SPRITE_FG_... |
libsrc/target/pc88/pc88_breakon.asm | ahjelm/z88dk | 640 | 173305 | ;
; PC-8801 specific routines
; by <NAME>, 2018
;
; void pc88_breakon();
;
; Restore disabled BREAK
; At the moment only the results of pc88_break() are affected: ROM services will still react to BREAK
;
; $Id: pc88_breakon.asm $
;
SECTION code_clib
PUBLIC pc88_breakon
PUBLIC _pc88_breakon
EXTERN __brksa... |
src/asm/load_gdt.asm | theobori/drunkOS | 74 | 19604 | <reponame>theobori/drunkOS
section .text
global load_gdt
load_gdt:
mov eax, [esp + 4] ; get gdt pointer
lgdt [eax] ; load gdt
mov ax, 0x10 ; kernel data segment
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
cli ; clear interrupts
mov eax, ... |
includes/2600basicfooter.asm | thinkyhead/batari-Basic | 1 | 84462 | ; Provided under the CC0 license. See the included LICENSE.txt for details.
ifconst bankswitch
if bankswitch == 8
ORG $2FFC
RORG $FFFC
endif
if bankswitch == 16
ORG $4FFC
RORG $FFFC
endif
if bankswitch == 32
ORG $8FFC
RORG $FFFC
endif
if bankswitch == ... |
models/tests/test63a.als | transclosure/Amalgam | 4 | 4216 | module tests/test
sig sa { fa: Int, private fb: Int }
private sig sb { ga: Int, private gb: Int }
run { some sa && some sb && some fa && some fb && some ga && some gb } expect 1
|
data/maps/headers/Route8.asm | opiter09/ASM-Machina | 1 | 96412 | <filename>data/maps/headers/Route8.asm
map_header Route8, ROUTE_8, OVERWORLD, WEST | EAST
connection west, SaffronCity, SAFFRON_CITY, -4
connection east, LavenderTown, LAVENDER_TOWN, 0
end_map_header
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_16045_297.asm | ljhsiun2/medusa | 9 | 171742 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rax
push %rbp
push %rbx
push %rdx
lea addresses_UC_ht+0x7324, %r11
nop
nop
nop
nop
and $19756, %rdx
mov $0x6162636465666768, %rbp
movq %rbp, %xmm6
vmovups %ymm6, (%r11)
nop
nop
nop
nop
nop
add %rax, %rax
lea addres... |
arch/ARM/STM32/drivers/dsi/stm32-dsi.ads | rocher/Ada_Drivers_Library | 192 | 26754 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
Kernel/asm/semaphore.asm | lvittor/kernel-pure64 | 0 | 22553 | <gh_stars>0
GLOBAL _acquire, _release
section .text
; void _acquire(char *lock)
_acquire:
push rax
mov al, 1
xchg al, [rdi]
cmp al, 0
jne _acquire
pop rax
ret
; void _release(char *lock)
_release:
mov byte [rdi], 0
ret |
src/32bit_functions.asm | ChrisColahan/os | 0 | 28977 | ;
; functions in 32-bit protected mode
;
[bits 32]
VIDEO_MEMORY equ 0xB8000
WHITE_ON_BLACK equ 0x0F
;print a string using video memory
print_string_32:
pusha
mov edx, VIDEO_MEMORY ;set edx to the start of video memory
print_string_pm_loop:
mov al, [esi] ;store char at EBX in AL
mov ah, WHITE_ON_BLACK ... |
Task/Sorting-algorithms-Shell-sort/Ada/sorting-algorithms-shell-sort-1.ada | mullikine/RosettaCodeData | 1 | 17614 | generic
type Element_Type is digits <>;
type Index_Type is (<>);
type Array_Type is array(Index_Type range <>) of Element_Type;
package Shell_Sort is
procedure Sort(Item : in out Array_Type);
end Shell_Sort;
|
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2.log_29_1819.asm | ljhsiun2/medusa | 9 | 10840 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %rbx
push %rcx
push %rdx
lea addresses_normal_ht+0x1ea3d, %r14
nop
nop
xor $39430, %rdx
mov $0x6162636465666768, %rbx
movq %rbx, %xmm2
vmovups %ymm2, (%r14)
nop
xor %r11, %r11
lea addresses_normal_ht+... |
lib/target/svi/classic/rom.asm | dikdom/z88dk | 1 | 167437 | <reponame>dikdom/z88dk<filename>lib/target/svi/classic/rom.asm
;
; ROM Startup for SVI
;
IF !DEFINED_CRT_ORG_BSS
defc CRT_ORG_BSS = 0x8000
ENDIF
defc CRT_ORG_CODE = 0x0000
EXTERN im1_vectors
EXTERN asm_interrupt_handler
defc TAR__clib_exit_stack_size = 0
defc TAR__register_sp =... |
src/frontend/Experimental_Ada_ROSE_Connection/parser/asis_adapter/source/asis_adapter-element-definitions.ads | matzke1/rose | 0 | 12279 | <gh_stars>0
package Asis_Adapter.Element.Definitions is
procedure Do_Pre_Child_Processing
(Element : in Asis.Element;
State : in out Class);
private
-- For debuggng:
Parent_Name : constant String := Module_Name;
Module_Name : constant String := Parent_Name & "Definitions";
end Asis_Adap... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1794.asm | ljhsiun2/medusa | 9 | 160367 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1794.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x17aeb, %r11
nop
nop
nop
nop
nop
sub %rdx, %rdx
mov $0x6162636465666768, %rdi
movq %rdi, (%r1... |
programs/oeis/027/A027781.asm | neoneye/loda | 22 | 22272 | ; A027781: 4*(n+1)*C(n+2,8).
; 28,288,1620,6600,21780,61776,156156,360360,772200,1555840,2975544,5441904,9573720,16279200,26860680,43147632,67663332,103831200,156227500,230887800,335675340,480720240,678939300
mov $1,$0
add $0,8
bin $0,$1
add $1,7
mul $0,$1
mul $0,4
|
aunit/aunit.adb | btmalone/alog | 0 | 6172 | <filename>aunit/aunit.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Aula05.X/build/default/production/led.asm | yuricristhian/ECOP14-Laboratorio-programacao-embarcada | 0 | 100129 | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.5.0 #9253 (Jun 20 2015) (MINGW64)
; This file was generated Thu Sep 15 09:41:18 2016
;--------------------------------------------------------
; PIC16 port for the Microchip 16-bit core micros... |
AD_src/forward_ad.adb | sciencylab/lagrangian-solver | 0 | 4347 | with Ada.Text_IO;
package body Forward_AD is
procedure Print (X : in AD_Type) is
use Ada.Text_IO;
begin
Put_Line (" value: " & Real'Image (X.Val));
Print (X.Grad);
New_Line;
end Print;
function Var (X : in Real;
I, N : in Nat;
Dx : in Real := 1.0) return A... |
favorites.applescript | nlemoine/transmit-2-ssh-config | 7 | 876 | <reponame>nlemoine/transmit-2-ssh-config<filename>favorites.applescript
tell application "Transmit"
set the_list to {}
set listSize to count of favorites
repeat with counter from 1 to listSize
set fav to {}
set end of fav to name of item counter of favorites
set end of fav to address of item counter of favorit... |
server/src/main/antlr4/org/eclipse/lsp/cobol/core/parser/CobolPreprocessor.g4 | Nurkambay/che-che4z-lsp-for-cobol | 0 | 1659 |
/*
* Copyright (C) 2017, <NAME> <<EMAIL>>
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
parser grammar CobolPreprocessor;
options {tokenVocab = CobolPreprocessorLexer;}
startRule
: .*? ((includeStatement | copyS... |
core/src/main/resources/applescript/itunes/rate.applescript | duester/command-center | 87 | 2993 | <reponame>duester/command-center
tell application "System Events"
if (name of processes) contains "iTunes" then
set iTunesRunning to true
else
set iTunesRunning to false
end if
end tell
if iTunesRunning then
tell application "iTunes"
set rating of current track to {0} * 20
end tell
end if |
tests/data/src/add2.asm | protoCall7/PZ80emu | 1 | 89027 | <reponame>protoCall7/PZ80emu<gh_stars>1-10
ld bc,0x0FFF
ld hl,0x0FFF
add hl,bc
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.