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 |
|---|---|---|---|---|
examples/mtask.asm | Benderx2/FVM | 2 | 97311 | <filename>examples/mtask.asm
;; Simple test. Compile with FASM.
;; macros for fasm
include 'a32.inc'
_start:
;; Register Interrupt Handler
LOAD_R0 0x01 ;; Register ISR 1
LOAD_R1 int1a ;; Load ISR Handler Address
LOAD_INTERRUPT ;; Load Interrupt!
;; Task 0 Infinite Loop!
SUBLEQ _data.d2, _data.d1, troll
VM_DEBUG
dead_en... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1441.asm | ljhsiun2/medusa | 9 | 177656 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1ad10, %rdi
nop
nop
nop
nop
cmp $6570, %r11
vmovups (%rdi), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $0, %xmm0, %r13
nop
nop
nop
nop
inc %r14
lea addresses_normal_ht+0xee... |
libsrc/fcntl/newbrain/readbyte.asm | andydansby/z88dk-mk2 | 1 | 22087 | ;
; Grundy Newbrain Specific libraries
;
; <NAME> - 30/05/2007
;
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;
; fcntl input function
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;
; int __LIB__ __FASTCALL__ readbyte(int handle);
;
; - - - - - - - - - - - - - - - - - - - - - ... |
tests/issue88/1.asm | NullMember/customasm | 414 | 245364 | #subruledef reg {
ax => 0x0
bx => 0x1
cx => 0x2
}
#subruledef memaccess {
{o: s8}(%{r: reg}) => 0x00 @ r @ o
}
#subruledef arg {
{m: memaccess} => 0x00 @ m
%{r: reg} => 0x01 @ r
}
#ruledef {
mov {a: arg}, {a2: arg} => 0x10 @ a @ a2
}
mov (%ax), %bx ; error: no match |
alloy4fun_models/trainstlt/models/3/zwgmKQQYks3wNLPLn.als | Kaixi26/org.alloytools.alloy | 0 | 2668 | open main
pred idzwgmKQQYks3wNLPLn_prop4 {
always (all disj t1,t2:Train | t1.pos != t2.pos)
}
pred __repair { idzwgmKQQYks3wNLPLn_prop4 }
check __repair { idzwgmKQQYks3wNLPLn_prop4 <=> prop4o } |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1616.asm | ljhsiun2/medusa | 9 | 162707 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1616.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x13c11, %rsi
lea addresses_UC_ht+0x1e9ff, %rdi
nop
nop
nop
nop
nop
add $15848, %r13
mov $98, ... |
tests/resources/INILexer.g4 | akosthekiss/picireny | 41 | 1063 | /*
* Copyright (c) 2017-2021 <NAME>, <NAME>.
*
* Licensed under the BSD 3-Clause License
* <LICENSE.rst or https://opensource.org/licenses/BSD-3-Clause>.
* This file may not be copied, modified, or distributed except
* according to those terms.
*/
lexer grammar INILexer;
HEADER_OPEN
: '[' -> pushMode(HEADE... |
oeis/298/A298802.asm | neoneye/loda-programs | 11 | 93992 | ; A298802: Growth series for group with presentation < S, T : S^4 = T^4 = (S*T)^4 = 1 >.
; Submitted by <NAME>
; 1,4,10,24,56,128,294,676,1552,3564,8186,18800,43176,99160,227734,523020,1201184,2758676,6335658,14550664,33417496,76747632,176260934,404806196,929690160,2135154556,4903660570,11261895264,25864409480,59400985... |
arch/ARM/STM32/svd/stm32f46_79x/stm32_svd-usart.ads | rocher/Ada_Drivers_Library | 192 | 22738 | <reponame>rocher/Ada_Drivers_Library
-- This spec has been automatically generated from STM32F46_79x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.USART is
pragma Preelaborate;
---------------
-- Registers --
--------... |
macros/optimizations.asm | dougmasten/coco_libraries | 2 | 162856 | <reponame>dougmasten/coco_libraries
; optimizations.asm
*pragmapush list ; Save state of list pragma
pragma nolist ; Turn off assembly listing and exclude from symbol list
ifndef MACROS_OPTIMIZE_DEFS ; Load macros only once
; space savings ... |
examples/outdated-and-incorrect/Warshall.agda | asr/agda-kanso | 1 | 14425 | <filename>examples/outdated-and-incorrect/Warshall.agda
module Warshall
(X : Set)
((≤) : X -> X -> Prop)
-- and axioms...
where
id : {A:Set} -> A -> A
id x = x
(∘) : {A B C:Set} -> (B -> C) -> (A -> B) -> A -> C
f ∘ g = \x -> f (g x)
-- Natural numbers -----------------------------------------------------... |
writeonly/main.asm | TrevCan/unOctet-computer | 0 | 9895 | ; data address for PORT B IO (8 pins)
PORTA = $6001
; data address for PORT B IO (8 pins)
PORTB = $6000
; register addresses to set to either Input
; or Output
DDRA = $6003
DDRB = $6002
; literal 11111111 binary
; all outputs in IO W65C22
IOSETOUTS = $ff
.org $8000
reset:
nop
; set PORTB output pins
; to ... |
src/fot/FOTC/Data/Nat/Inequalities/EliminationPropertiesI.agda | asr/fotc | 11 | 14017 | <gh_stars>10-100
------------------------------------------------------------------------------
-- Elimination properties for the inequalities
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS... |
LearnAssembly/chap5/test.asm | wisemountain/wise.learn | 3 | 10972 | segment .data
a dq 175
b dq 4097
segment .text
global _start
_start:
mov rax, [a] ; mov a into rax
add rax, [b] ; add b to rax
xor rax, rax
mov rax, 60
mov rdi, 0
syscall
|
awa/plugins/awa-comments/src/awa-comments-beans.adb | fuzzysloth/ada-awa | 81 | 15817 | -----------------------------------------------------------------------
-- awa-comments-beans -- Beans for the comments module
-- Copyright (C) 2014, 2015, 2016, 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in c... |
alloy4fun_models/trashltl/models/7/whJKWtjtw2wNQNLiD.als | Kaixi26/org.alloytools.alloy | 0 | 1134 | open main
pred idwhJKWtjtw2wNQNLiD_prop8 {
always (all f : File | some f.link implies (eventually f.link in Trash))
}
pred __repair { idwhJKWtjtw2wNQNLiD_prop8 }
check __repair { idwhJKWtjtw2wNQNLiD_prop8 <=> prop8o } |
src/world.asm | AmFobes/MineAssemble | 479 | 161584 | ;
; This file contains all functions related to the state of the world
;
[bits 32]
%include "constants.asm"
global init_world, set_block, get_block
global world, worldSX, worldSY, worldSZ
global sunDir
extern init_player, set_pos, set_view
extern zero, playerHeight
section .data
; World block dimensions
... |
test/epic/tests/Forcing2.agda | larrytheliquid/agda | 0 | 1770 | <reponame>larrytheliquid/agda
module tests.Forcing2 where
open import Prelude.Nat
open import Prelude.IO
open import Prelude.Unit
data _**_ (A B : Set) : Set where
_,_ : A -> B -> A ** B
data P {A B : Set} : A ** B -> Set where
_,_ : (x : A)(y : B) -> P (x , y)
data Q {A : Set} : A ** A -> Set where
[_] : (x ... |
programs/oeis/264/A264447.asm | neoneye/loda | 22 | 242637 | ; A264447: a(n) = n*(n + 7)*(n + 14)*(n + 21)/24.
; 0,110,276,510,825,1235,1755,2401,3190,4140,5270,6600,8151,9945,12005,14355,17020,20026,23400,27170,31365,36015,41151,46805,53010,59800,67210,75276,84035,93525,103785,114855,126776,139590,153340,168070,183825,200651,218595,237705,258030
mov $2,$0
mov $5,$0
mov $8,$0
m... |
alloy4fun_models/trashltl/models/5/2u3JjLAqANNhYCr6j.als | Kaixi26/org.alloytools.alloy | 0 | 252 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id2u3JjLAqANNhYCr6j_prop6 {
all f:File | f in Trash implies (always f in Trash)
}
pred __repair { id2u3JjLAqANNhYCr6j_prop6 }
check __repair { id2u3JjLAqANNhYCr6j_prop6 <=> prop6o } |
win32/VC10/Win32/libxml2_Release/error.asm | txwizard/libxml2_x64_and_ARM | 0 | 7267 | ; 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\error.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM _xmlMalloc:DWORD
COMM _... |
oeis/222/A222963.asm | neoneye/loda-programs | 11 | 11880 | <reponame>neoneye/loda-programs
; A222963: a(n) = (p-3)*(p+3)/4 where p is the n-th prime.
; Submitted by <NAME>
; 0,4,10,28,40,70,88,130,208,238,340,418,460,550,700,868,928,1120,1258,1330,1558,1720,1978,2350,2548,2650,2860,2968,3190,4030,4288,4690,4828,5548,5698,6160,6640,6970,7480,8008,8188,9118,9310,9700,9898,11128,... |
demos/dns/dns.adb | stcarrez/ada-enet | 16 | 18250 | <reponame>stcarrez/ada-enet<gh_stars>10-100
-----------------------------------------------------------------------
-- dns -- DNS Example
-- Copyright (C) 2016, 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... |
oeis/060/A060896.asm | neoneye/loda-programs | 11 | 165778 | <reponame>neoneye/loda-programs
; A060896: n^12 - n^6 + 1.
; 1,1,4033,530713,16773121,244125001,2176735681,13841169553,68719214593,282429005041,999999000001,3138426605161,8916097462273,23298080295673,56693904845761,129746326500001,281474959933441,582622213092193,1156831347413953,2213314872020281,4095999936000001,735582... |
src/Examples/Sorting/Sequential/InsertionSort.agda | jonsterling/agda-calf | 29 | 6816 | <filename>src/Examples/Sorting/Sequential/InsertionSort.agda
{-# OPTIONS --prop --rewriting #-}
open import Examples.Sorting.Sequential.Comparable
module Examples.Sorting.Sequential.InsertionSort (M : Comparable) where
open Comparable M
open import Examples.Sorting.Sequential.Core M
open import Calf costMonoid
open... |
ffight/lcs/enemy/44.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 90222 | <filename>ffight/lcs/enemy/44.asm<gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
0039FE movem.l D0-D3, -(A6)
003A02 movem.l D0-D3, -(A6)
007520 move.w A1, ($44,A3) [boss+40, enemy+40]
007524 rts [boss+44, enemy+44]
009ACA dbra D5, $9ac8
copyright zengfr site:http://github.com/zengfr/r... |
Cubical/Categories/Limits/Pullback.agda | thomas-lamiaux/cubical | 1 | 8356 | <filename>Cubical/Categories/Limits/Pullback.agda
{-# OPTIONS --safe #-}
module Cubical.Categories.Limits.Pullback where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.HITs.PropositionalTruncation.Base
open import Cubical.Data.Sigma
open import Cubical.Data.Unit
o... |
alloy4fun_models/trashltl/models/13/QyyqNz9mvoxHq23Xi.als | Kaixi26/org.alloytools.alloy | 0 | 4985 | open main
pred idQyyqNz9mvoxHq23Xi_prop14 {
all f : File | (f in (Trash & Protected)) implies f not in Protected'
}
pred __repair { idQyyqNz9mvoxHq23Xi_prop14 }
check __repair { idQyyqNz9mvoxHq23Xi_prop14 <=> prop14o } |
src/fot/FOTC/Program/ABP/Lemma2I.agda | asr/fotc | 11 | 7857 | <reponame>asr/fotc<filename>src/fot/FOTC/Program/ABP/Lemma2I.agda
------------------------------------------------------------------------------
-- ABP Lemma 2
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types ... |
src/Categories/Functor/Construction/ObjectRestriction.agda | Trebor-Huang/agda-categories | 279 | 762 | <reponame>Trebor-Huang/agda-categories<filename>src/Categories/Functor/Construction/ObjectRestriction.agda
{-# OPTIONS --without-K --safe #-}
-- The category build from ObjectRestriction can be done so Functorially
module Categories.Functor.Construction.ObjectRestriction where
open import Level
open import Data.Prod... |
EjerciciosClase/BNp01a.asm | adeandak/OPC | 0 | 176948 | <reponame>adeandak/OPC
TITLE Ejercicio Suma de arreglo
; Descripcion:
; Ejemplo de uso de direccionamiento indirecto con operandos indirectos,
; en la suma de elementos de un arreglo.
; Todas las impresiones enteras se haran en Hexadecimal.
; Irvine Library procedures and functions
INCLUDE \masm32\Irvine\Irvi... |
oeis/024/A024816.asm | neoneye/loda-programs | 11 | 26767 | ; A024816: Antisigma(n): Sum of the numbers less than n that do not divide n.
; Submitted by <NAME>
; 0,0,2,3,9,9,20,21,32,37,54,50,77,81,96,105,135,132,170,168,199,217,252,240,294,309,338,350,405,393,464,465,513,541,582,575,665,681,724,730,819,807,902,906,957,1009,1080,1052,1168,1182,1254,1280,1377,1365,1468,1476,1573... |
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_aaddr2cx.asm | meesokim/z88dk | 0 | 102265 |
; uint zx_aaddr2cx(void *attraddr)
SECTION code_arch
PUBLIC zx_aaddr2cx
zx_aaddr2cx:
INCLUDE "arch/zx/display/z80/asm_zx_aaddr2cx.asm"
|
alloy4fun_models/trashltl/models/15/7iKEdQRHo4MFEtZQD.als | Kaixi26/org.alloytools.alloy | 0 | 4148 | open main
pred id7iKEdQRHo4MFEtZQD_prop16 {
all f:Protected | always some (f & Protected)
}
pred __repair { id7iKEdQRHo4MFEtZQD_prop16 }
check __repair { id7iKEdQRHo4MFEtZQD_prop16 <=> prop16o } |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/trampoline3.adb | best08618/asylo | 7 | 30666 | -- { dg-do compile { target *-*-linux* } }
-- { dg-options "-gnatws" }
procedure Trampoline3 is
A : Integer;
type FuncPtr is access function (I : Integer) return Integer;
function F (I : Integer) return Integer is
begin
return A + I;
end F;
P : FuncPtr := F'Access;
I : Integer;
begin
I := P(0)... |
unittests/ASM/Primary/Primary_A6_REP_down_Equal.asm | cobalt2727/FEX | 628 | 20356 | <gh_stars>100-1000
%ifdef CONFIG
{
"RegData": {
"RAX": "0x4600",
"RCX": "0x0",
"RDX": "0x1",
"RDI": "0xDFFFFFFF",
"RSI": "0xE000000F"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
%macro copy 3
; Dest, Src, Size
mov rdi, %1
mov rsi, %2
mov rcx, %3
cld
rep movsb
%en... |
msp430x2/msp430g2553/svd/msp430_svd-usci_b0_i2c_mode.ads | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 29889 | <filename>msp430x2/msp430g2553/svd/msp430_svd-usci_b0_i2c_mode.ads<gh_stars>0
-- This spec has been automatically generated from msp430g2553.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- USCI_B0 I2C Mode
package MSP430_SVD.USCI_B0_I2C_MODE is
pragma ... |
sources/ippcp/asm_ia32/pcprij128encryptofbg9as.asm | ntyukaev/ipp-crypto | 30 | 91386 | <gh_stars>10-100
;===============================================================================
; Copyright 2014-2020 Intel Corporation
;
; 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
;
; ... |
tests/expr_asm_tokens.asm | jonfoster/customasm | 0 | 177625 | <filename>tests/expr_asm_tokens.asm
; ::: include
#ruledef reg
{
a => 0xaa
b => 0xbb
}
#ruledef
{
emit {r: reg} => r`8
test {r: reg} => asm { emit {r} }
}
; :::
emit a ; = 0xaa
emit b ; = 0xbb
test a ; = 0xaa
test b ; = 0xbb
; :::
test c ; error: no match
; :::
test 0x12 ; error: no match
; :::... |
user/sh.asm | Hasnain62/xv6-Procject | 0 | 17115 |
user/_sh: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <getcmd>:
exit(0);
}
int
getcmd(char *buf, int nbuf)
{
0: 1101 addi sp,sp,-32
2: ec06 sd ra,24(sp)
4: e822 sd s0,16(sp)
6: e426 sd... |
Cubical/HITs/Ints/DiffInt/Properties.agda | Edlyr/cubical | 0 | 4899 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.Ints.DiffInt.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Univalence
open import Cubical.HITs.Ints.DiffInt.Base
open import Cubical.Data.Nat
open import Cubical.Data.Sigma
open import Cubical.Data.Bool
... |
oeis/100/A100689.asm | neoneye/loda-programs | 11 | 241401 | ; A100689: a(n) = prime(n) * 4^prime(n) - 1.
; Submitted by <NAME>(l1)
; 31,191,5119,114687,46137343,872415231,292057776127,5222680231935,1618481116086271,8358680908399640575,142962266571249025023,698910239464707491627007,198263834416799184651812863,3326963855579459488791396351,930930909542605966724141416447
seq $0,60... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_6040_597.asm | ljhsiun2/medusa | 9 | 81858 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r8
push %rax
push %rdx
lea addresses_UC_ht+0x1d89f, %rax
cmp $31623, %r8
mov $0x6162636465666768, %r11
movq %r11, %xmm2
vmovups %ymm2, (%rax)
sub %rdx, %rdx
lea addresses_WT_ht+0xfedf, %r10
nop
nop
nop
xor $12083, %r8
movb $0x61,... |
oeis/053/A053091.asm | neoneye/loda-programs | 11 | 26536 | <reponame>neoneye/loda-programs
; A053091: F^3-convex polyominoes on the honeycomb lattice by number of cells.
; Submitted by <NAME>
; 1,3,5,6,9,11,10,15,18,14,21,23,18,30,29,21,33,35,31,39,41,30,42,54,35,51,53,38,66,54,42,63,65,60,69,70,43,75,90,54,81,83,63,93,89,62,90,95,84,99,90,77,105,126,74,111,113,60,138,119,91,1... |
stm32l0/stm32l0x1/svd/stm32_svd-firewall.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 30475 | -- This spec has been automatically generated from STM32L0x1.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.Firewall is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Code segment start address
t... |
resources/patches/vars.asm | Yoshimaster96/Superstar-Editor-YI | 2 | 81117 | <reponame>Yoshimaster96/Superstar-Editor-YI
LevelID = $FE
SRAMCopySrcLo = $DC
SRAMCopySrcHi = $D8
SRAMCopyDstLo = $DE
SRAMCopyDstHi = $DA
SRAMCopySize = $FC
SRAMCopyRt = $DC
ExObjTemps = $D8
ExGFXBG1Base = $E0
ExGFXBG2Base = $E6
ExGFXBG3Base = $EA
ExGFXOBJBase = $EE
ExTMBG2 = $D0
ExTMBG3 = $D2
ExPAL = $D4
ExANIM =... |
programs/oeis/158/A158551.asm | karttu/loda | 1 | 168842 | <reponame>karttu/loda<gh_stars>1-10
; A158551: a(n) = 26*n^2 - 1.
; 25,103,233,415,649,935,1273,1663,2105,2599,3145,3743,4393,5095,5849,6655,7513,8423,9385,10399,11465,12583,13753,14975,16249,17575,18953,20383,21865,23399,24985,26623,28313,30055,31849,33695,35593,37543,39545,41599,43705,45863,48073,50335,52649,55015,57... |
oeis/161/A161202.asm | neoneye/loda-programs | 11 | 165646 | <filename>oeis/161/A161202.asm
; A161202: Numerators in expansion of (1-x)^(5/2)
; Submitted by <NAME>
; 1,-5,15,-5,-5,-3,-5,-5,-45,-55,-143,-195,-1105,-1615,-4845,-7429,-185725,-294975,-950475,-1550775,-10235115,-17058525,-57378675,-97294275,-1329688425,-2287064091,-7916760315,-13781027215
mov $1,1
mov $3,1
lpb $0
... |
test/Succeed/Issue4528.agda | shlevy/agda | 1,989 | 397 | {-# OPTIONS --allow-unsolved-metas #-}
open import Agda.Builtin.Equality
open import Agda.Builtin.List
postulate
A : Set
nilA : A
consA : A → List A → A
w/e : {x y : A} → x ≡ y
data D : List A → Set where
nil : D []
cons : (x : A) (xs : List A) → D (x ∷ xs)
foo : ∀ {xs} (d : D xs)
(let f : D xs → ... |
src/main/antlr/Galileo.g4 | ftsrg/StoATT | 0 | 7596 | <gh_stars>0
/*
*
* Copyright 2021 Budapest University of Technology and Economics
*
* 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/LICEN... |
vendor/stdlib/src/Data/AVL/Sets.agda | isabella232/Lemmachine | 56 | 16162 | <filename>vendor/stdlib/src/Data/AVL/Sets.agda
------------------------------------------------------------------------
-- Finite sets, based on AVL trees
------------------------------------------------------------------------
open import Relation.Binary
module Data.AVL.Sets (OrderedKeySet : StrictTotalOrder) where
... |
lib/Univalence.agda | sattlerc/HoTT-Agda | 0 | 13355 | <reponame>sattlerc/HoTT-Agda
{-# OPTIONS --without-K #-}
open import lib.Base
open import lib.PathGroupoid
open import lib.PathFunctor
open import lib.Equivalences
module lib.Univalence where
{-
The map [coe-equiv] is the map which is supposed to be an equivalence according
to the univalence axiom. We do not define ... |
user/strace.asm | Vidhi1109/Modified-XV6 | 0 | 85176 | <reponame>Vidhi1109/Modified-XV6
user/_strace: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/stat.h"
#include "user/user.h"
int
main(int argc, char *argv[])
{
0: 712d addi sp,sp,-288
2: ee06 sd ra,280(sp)
4: ea22 ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37008b.ada | best08618/asylo | 7 | 16000 | -- C37008B.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
PointersAndTypeDef/PointersAndTypeDef/Main.asm | pratik088/AssemblyCodes | 0 | 244286 | <reponame>pratik088/AssemblyCodes<gh_stars>0
.386
.model flat
PBYTE TYPEDEF PTR BYTE
PWORD TYPEDEF PTR WORD
PDWORD TYPEDEF PTR DWORD
.data
arrayB BYTE 10h,20h,30h
arrayW WORD 1,2,3
arrayD DWORD 4,5,6
pt_1 PBYTE arrayB
pt_2 PWORD arrayW
pt_3 PDWORD arrayD
.code
start proc
mov esi,pt_1
mov al,[esi]
mov esi,pt_2
... |
install/lib/disk/dsk_rset.asm | minblock/msdos | 0 | 93398 | <reponame>minblock/msdos
;========================================================
COMMENT #
DSK_RSET.ASM
Copyright (c) 1991 - Microsoft Corp.
All rights reserved.
Microsoft Confidential
=================================================
Instructs DOS to do a reset of all it's disk buffers.
int _dos_dskreset(... |
src/Tactic/Reflection/Reright.agda | lclem/agda-prelude | 0 | 8730 | <filename>src/Tactic/Reflection/Reright.agda<gh_stars>0
module Tactic.Reflection.Reright where
open import Prelude hiding (abs)
open import Container.Traversable
open import Tactic.Reflection
open import Tactic.Reflection.Match
open import Tactic.Reflection.Replace
open import Tactic.Reflection.Quote
p... |
models/tests/test73.als | transclosure/Amalgam | 4 | 216 | module tests/test
one sig A { }
fun B : univ { sig$ }
run { } for 7 expect 1
|
agda-stdlib/src/Data/Unit/Polymorphic/Base.agda | DreamLinuxer/popl21-artifact | 5 | 8688 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- The universe polymorphic unit type and ordering relation
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Unit.Polymorphic.Base where
open... |
programs/oeis/062/A062875.asm | neoneye/loda | 22 | 91813 | ; A062875: Records in A046112 (or A006339).
; 1,5,25,125,3125,15625,390625,1953125,48828125,6103515625,30517578125,3814697265625,95367431640625,476837158203125,11920928955078125,1490116119384765625,186264514923095703125,931322574615478515625,116415321826934814453125,2910383045673370361328125,14551915228366851806640625,... |
llvm-2.9/test/FrontendAda/field_order.ads | DependableSystemsLab/Trident | 5 | 7399 | -- RUN: %llvmgcc -S %s
package Field_Order is
type Tagged_Type is abstract tagged null record;
type With_Discriminant (L : Positive) is new Tagged_Type with record
S : String (1 .. L);
end record;
end;
|
programs/oeis/114/A114964.asm | karttu/loda | 1 | 9762 | <gh_stars>1-10
; A114964: a(n) = n^2 + 30.
; 30,31,34,39,46,55,66,79,94,111,130,151,174,199,226,255,286,319,354,391,430,471,514,559,606,655,706,759,814,871,930,991,1054,1119,1186,1255,1326,1399,1474,1551,1630,1711,1794,1879,1966,2055,2146,2239,2334,2431,2530,2631,2734,2839,2946,3055,3166,3279,3394,3511,3630,3751,3874,3... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_21829_1542.asm | ljhsiun2/medusa | 9 | 9377 | .global s_prepare_buffers
s_prepare_buffers:
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x305b, %rsi
lea addresses_WT_ht+0xf1af, %rdi
nop
inc %r8
mov $55, %rcx
rep movsb
nop
nop
nop
nop
nop
add %rdi, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %r8
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r1... |
src/coreclr/nativeaot/Runtime/arm64/StubDispatch.asm | pyracanda/runtime | 9,402 | 246428 | ;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
#include "AsmMacros.h"
TEXTAREA
#ifdef FEATURE_CACHED_INTERFACE_DISPATCH
EXTERN RhpCidResolve
EXTERN RhpUniversalTransition_DebugStepTailCall
;; Macro that genera... |
libsrc/_DEVELOPMENT/threads/mutex/c/sdcc_iy/mtx_unlock_fastcall.asm | jpoikela/z88dk | 640 | 167171 | <filename>libsrc/_DEVELOPMENT/threads/mutex/c/sdcc_iy/mtx_unlock_fastcall.asm
; int mtx_unlock_fastcall(mtx_t *m)
SECTION code_clib
SECTION code_threads_mutex
PUBLIC _mtx_unlock_fastcall
EXTERN asm_mtx_unlock
defc _mtx_unlock_fastcall = asm_mtx_unlock
|
oeis/176/A176338.asm | neoneye/loda-programs | 11 | 99774 | <reponame>neoneye/loda-programs<filename>oeis/176/A176338.asm
; A176338: a(n) = 1 + (1-3^n)*a(n-1) for n >=1, a(0) = 0.
; 0,1,-7,183,-14639,3542639,-2579041191,5637784043527,-36983863325537119,727916397973221576159,-42982007467522787629036631,7614090694841791737333323035127,-4046432358866721800888421193787892879,645131... |
programs/oeis/239/A239462.asm | karttu/loda | 0 | 160975 | ; A239462: A239459(n) / n.
; 11,41,91,161,251,361,491,641,811,10001,12101,14401,16901,19601,22501,25601,28901,32401,36101,40001,44101,48401,52901,57601,62501,67601,72901,78401,84101,90001,96101,102401,108901,115601,122501,129601,136901,144401,152101,160001,168101,176401,184901,193601,202501,211601,220901,230401,240101,... |
processing/src/asm/intra_pred.asm | TechSmith/openh264 | 1 | 84089 | ;*!
;* \copy
;* Copyright (c) 2009-2013, Cisco Systems
;* 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 source code must retain the abo... |
utils/mesh.ads | Lucretia/old_nehe_ada95 | 0 | 2764 | ---------------------------------------------------------------------------------
-- Copyright 2004-2005 © <NAME>
--
-- This code is to be used for tutorial purposes only.
-- You may not redistribute this code in any form without my express permission.
-------------------------------------------------------------------... |
Assembly/HW4/symTab.asm | DulceWRLD/College | 2 | 2324 | <reponame>DulceWRLD/College
.data
inArr: .word 0:40
symTab: .word 0:40
prompt: .asciiz "Enter new set of tokens and types"
LOC: .word 0
.text
main:
li $t0,0x0400
sw $t0, LOC
inLoop:
jal ... |
projects/batfish/src/main/antlr4/org/batfish/vendor/a10/grammar/A10Parser.g4 | jeffkala/batfish | 0 | 1616 | parser grammar A10Parser;
import
A10_access_list,
A10_common,
A10_floating_ip,
A10_ha,
A10_health_monitor,
A10_interface,
A10_ip_access_list,
A10_ip_nat,
A10_ip_route,
A10_lacp_trunk,
A10_rba,
A10_router_bgp,
A10_slb_server,
A10_slb_service_group,
A10_slb_template,
A10_slb_virtual_serve... |
oeis/037/A037140.asm | neoneye/loda-programs | 11 | 23491 | <filename>oeis/037/A037140.asm
; A037140: Convolution of natural numbers n >= 1 with Fibonacci numbers F(k), for k >= 5.
; 5,18,44,91,172,308,533,902,1504,2483,4072,6648,10821,17578,28516,46219,74868,121228,196245,317630,514040,831843,1346064,2178096,3524357,5702658,9227228,14930107,24157564,39087908,63245717,102333878... |
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/sinh.asm | ahjelm/z88dk | 640 | 27493 | <reponame>ahjelm/z88dk<filename>libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/sinh.asm
SECTION code_fp_am9511
PUBLIC _sinh
EXTERN cam32_sdcc_sinh
defc _sinh = cam32_sdcc_sinh
|
programs/oeis/215/A215004.asm | karttu/loda | 1 | 19384 | <filename>programs/oeis/215/A215004.asm
; A215004: a(0) = a(1) = 1; for n>1, a(n) = a(n-1) + a(n-2) + floor(n/2).
; 1,1,3,5,10,17,30,50,84,138,227,370,603,979,1589,2575,4172,6755,10936,17700,28646,46356,75013,121380,196405,317797,514215,832025,1346254,2178293,3524562,5702870,9227448,14930334,24157799,39088150,63245967,... |
learn-lex-yacc-antlr4/src/main/antlr4/io/github/learnlexyacc/antlr4/recursive/LeftRecursiveCalc.g4 | mpuening/learn-lex-yacc | 2 | 1239 | <filename>learn-lex-yacc-antlr4/src/main/antlr4/io/github/learnlexyacc/antlr4/recursive/LeftRecursiveCalc.g4
grammar LeftRecursiveCalc;
statement
: (variable '=' expression ';')+
;
variable
: VARIABLE
;
expression
: lhs=expression op=('*'|'/') rhs=expression #operation
| lhs=expression op=('+'|'-') rhs=express... |
utils/vector3.ads | Lucretia/old_nehe_ada95 | 0 | 15059 | ---------------------------------------------------------------------------------
-- Copyright 2004-2005 © <NAME>
--
-- This code is to be used for tutorial purposes only.
-- You may not redistribute this code in any form without my express permission.
-------------------------------------------------------------------... |
ADL/Assemble/Delete/2/B~HR_delete_middle.asm | MaxMorning/LinkedListVisualization | 3 | 242978 | aLine 0
sInit sTemp, {0:D}
sBge sTemp, 1, 20
aLine 1
gNew delPtr
gMove delPtr, Root
aLine 2
gBne Root, null, 3
aLine 3
Exception NOT_FOUND
aLine 5
gMoveNext Root, Root
aLine 6
pDeletePrev Root
aLine 7
pDeleteNext delPtr
pDeletePrev delPtr
nDelete delPtr
gDelete delPtr
aLine 8
aStd
Halt
aLine 10
gNew delPtr
gMo... |
07_basic_calculator.asm | v3ree/learning_asm | 0 | 86025 | <gh_stars>0
; nasm -f elf -F dwarf -g 07_basic_calculator.asm && ld -m elf_i386 07_basic_calculator.o -o 07_basic_calculator && ./07_basic_calculator 2 pow 32
%include "str_lib0.asm"
%include "math_lib0.asm"
SECTION .data
usage_msg db "Usage (as program argument): (-)<integer> <operation (+ -... |
archive/agda-2/Oscar/Class/Associativity.agda | m0davis/oscar | 0 | 12269 |
module Oscar.Class.Associativity where
open import Oscar.Class.Preservativity
open import Oscar.Function
open import Oscar.Level
open import Oscar.Relation
record Associativity
{𝔞} {𝔄 : Set 𝔞} {𝔰} {_►_ : 𝔄 → 𝔄 → Set 𝔰}
(_◅_ : ∀ {m n} → m ► n → ∀ {l} → m ⟨ l ►_ ⟩→ n)
{ℓ}
(_≤_ : ∀ {m n} → m ► n → m ... |
drivers/landscape.adb | sciencylab/lagrangian-solver | 0 | 3082 | with Numerics, Ada.Text_IO;
use Numerics, Ada.Text_IO;
procedure Landscape is
use Real_IO, Int_IO, Real_Functions;
α : Real := 1.0e3;
function Phi (R : in Real) return Real is
begin
return 0.5 * (1.0 + Tanh (50.0 * (R - 0.5)));
end Phi;
function PE (Q : in Real_Vector) return Real is
... |
oeis/203/A203148.asm | neoneye/loda-programs | 11 | 98935 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A203148: (n-1)-st elementary symmetric function of {3,9,...,3^n}.
; Submitted by <NAME>(s2)
; 1,12,351,29160,7144929,5223002148,11433166050879,75035879252272080,1477081305957768349761,87223128348206814118735932,15451489966710801620870785316511,82115861825531377568095529... |
oeis/128/A128715.asm | neoneye/loda-programs | 11 | 6372 | ; A128715: A131830 + A103451 - A000012 as infinite lower triangular matrices.
; Submitted by <NAME>
; 1,2,2,3,1,3,4,2,2,4,5,3,5,3,5,6,4,9,9,4,6,7,5,14,19,14,5,7,8,6,20,34,34,20,6,8,9,7,27,55,69,55,27,7,9,10,8,35,83,125,125,83,35,8,10
mov $2,1
lpb $0
add $1,1
sub $0,$1
add $2,1
lpe
bin $1,$0
div $2,$1
div $2,$1
a... |
programs/oeis/194/A194584.asm | karttu/loda | 0 | 93524 | ; A194584: Differences of A035336.
; 5,3,5,5,3,5,3,5,5,3,5,5,3,5,3,5,5,3,5,3,5,5,3,5,5,3,5,3,5,5,3,5,5,3,5,3,5,5,3,5,3,5,5,3,5,5,3,5,3,5,5,3,5,3,5,5,3,5,5,3,5,3,5,5,3,5,5,3,5,3,5,5,3,5,3,5,5,3,5,5,3,5,3,5,5,3
mov $5,$0
mov $7,2
lpb $7,1
mov $0,$5
sub $7,1
add $0,$7
sub $0,1
mov $6,$0
mov $0,4
mov $2,32
... |
src/Web/Semantic/DL/Category/Properties/Composition/LeftUnit.agda | agda/agda-web-semantic | 9 | 15264 | <filename>src/Web/Semantic/DL/Category/Properties/Composition/LeftUnit.agda<gh_stars>1-10
open import Relation.Binary.PropositionalEquality using ( refl )
open import Web.Semantic.DL.ABox.Interp using ( _*_ ; ⌊_⌋ ; ind )
open import Web.Semantic.DL.ABox.Interp.Morphism using ( _,_ )
open import Web.Semantic.DL.ABox.Mod... |
oeis/268/A268088.asm | neoneye/loda-programs | 11 | 16713 | <filename>oeis/268/A268088.asm
; A268088: Number of nX3 0..2 arrays with every repeated value in every row not one larger and in every column one larger mod 3 than the previous repeated value, and upper left element zero.
; Submitted by <NAME>
; 9,243,4608,83349,1339893,20699712,303284403,4320438183,59802048000,8119510... |
Univalence/TypeEquivCat.agda | JacquesCarette/pi-dual | 14 | 10610 | <reponame>JacquesCarette/pi-dual
{-# OPTIONS --without-K #-}
module TypeEquivCat where
-- We will define a rig category whose objects are types and whose
-- morphisms are type equivalences; and where the equivalence of
-- morphisms ≋ is extensional
open import Level renaming (zero to lzero; suc to lsuc)
o... |
src/usb-device-hid-keyboard.adb | Fabien-Chouteau/usb_embedded | 14 | 24358 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018-2021, AdaCore --
-- ... |
src/bootloader/stage2.asm | FranchuFranchu/fran-os | 1 | 5144 | <reponame>FranchuFranchu/fran-os<filename>src/bootloader/stage2.asm
BITS 16
[org 0x7e00]
abs_start:
jmp start
db "Stage 2: Loaded", 0
%include "modules/a20.asm"
%include "modules/unrealmode.asm"
%include "modules/ext2.asm"
%include "modules/misc.asm"
%include "modules/protectedmode.asm"
BITS 32
%include "stage3.asm"... |
hetro_stack_elems.ads | tyudosen/HeterogeneousStack | 0 | 15511 | <filename>hetro_stack_elems.ads
with hetro_stack;
with Ada.Text_IO; use Ada.Text_IO;
package hetro_stack_elems is
type CarString is new String(1..5); -- Holds Car Type.
type PlaneString is new String(1..8); -- Holds Plane Type.
type Vehicles is (Car, Plane);
package VehiclesIO is new Ada.Text_... |
bdshemu_test/basic/test_64_basic05.asm | andreaswimmer/bddisasm | 1 | 10884 |
bits 64
_xxx:
lea rbp, [rel _xxx]
sub rbp, 1
jmp rbp
|
exit.asm | qbbd/Algorithm_List | 0 | 100583 | section .text ; 섹션 시작
global _start ;
_start:; ; 링커로 하여금 오류나 추측 방지
xor eax, eax ; eax 레지스터 0으로 채우기(safe)
xor ebx, ebx ; ebx 레지스터 0으로 채우기(노트 참고)
mov al, 0x01 ; 한 바이트에만 영향을 줌. 다른 24비트의 패딩은 중지
int 0x80 ; syscall을 실행하고자 커널호출 |
test/Compiler/simple/Issue728.agda | cruhland/agda | 1,989 | 7884 | <reponame>cruhland/agda<gh_stars>1000+
{-# OPTIONS --guardedness #-}
module Issue728 where
open import Common.MAlonzo using () renaming (main to mainDefault)
main = mainDefault
|
alloy4fun_models/trainstlt/models/4/CCtwQfbBSvDHgtTtM.als | Kaixi26/org.alloytools.alloy | 0 | 4436 | open main
pred idCCtwQfbBSvDHgtTtM_prop5 {
all t:Train {
t.pos in Exit => no t.pos'
t.pos in (Track - Exit) => {
one tk:((t.pos).prox) | t.pos' = tk
}
}
}
pred __repair { idCCtwQfbBSvDHgtTtM_prop5 }
check __repair { idCCtwQfbBSvDHgtTtM_prop5 <=> prop5o } |
oeis/195/A195622.asm | neoneye/loda-programs | 11 | 90417 | <filename>oeis/195/A195622.asm
; A195622: Denominators a(n) of Pythagorean approximations b(n)/a(n) to 5.
; Submitted by <NAME>(s4)
; 20,2020,206040,21014040,2143226060,218588044060,22293837268080,2273752813300080,231900493119340100,23651576545359390100,2412228907133538450120,246023696951075562522120,250920048601025738... |
Program.asm | winggar/BrainFudge | 0 | 21260 | <reponame>winggar/BrainFudge
segment .data
enter_code_str db "Enter BrainFudge code: (press enter twice to run)",10,0
nl db 10,0
d_fmt db "%d ",0
c_fmt db "%c",0
start_curly db "{ ",0
end_curly db "}",10,0
segment .bss
buffer resb 1024
current resq 1 ; the stack wasn't working ok
left_anchor r... |
aunit/aunit-reporter-text.adb | btmalone/alog | 0 | 1657 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
core/kernel_linux/simple_tests/eflags_asm.asm | DynamoRIO/drk | 40 | 21616 | <reponame>DynamoRIO/drk
#include "asm_defines.asm"
START_FILE
DECL_EXTERN(test_flag)
#define FUNCNAME test_eflags_pos
DECLARE_FUNC(FUNCNAME)
GLOBAL_LABEL(FUNCNAME:)
/* We don't bother w/ SEH64 directives, though we're an illegal leaf routine! */
mov REG_XCX, ARG1
push REG_XCX ... |
src/util-concurrent-fifos.ads | Letractively/ada-util | 0 | 12639 | <reponame>Letractively/ada-util<gh_stars>0
-----------------------------------------------------------------------
-- Util.Concurrent.Fifos -- Concurrent Fifo Queues
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use ... |
Lib/Platform/Windows/Win64.asm | PiotrSikora/WAVM | 22 | 89774 | .code
EXECUTION_CONTEXT_RIP EQU 0
EXECUTION_CONTEXT_CS EQU 8
EXECUTION_CONTEXT_RFLAGS EQU 16
EXECUTION_CONTEXT_RSP EQU 24
EXECUTION_CONTEXT_SS EQU 32
EXECUTION_CONTEXT_R12 EQU 40
EXECUTION_CONTEXT_R13 EQU 48
EXECUTION_CONTEXT_R14 EQU 56
EXECUTION_CONTEXT_R15 EQU 64
... |
lab_7/asm/sad.asm | MarkoN95/DDC-Labs | 0 | 94758 | #
# Sum of Absolute Differences Algorithm
#
# Authors:
# <NAME>
# <NAME>
#
.text
main:
lui $s0, 0x0000 # base address located in $s0
ori $s0, 0x0000
addi $t0, $0, 5 # left_image[0]
sw $t0, 0($s0)
addi $t0, $0, 16 # left_image[1]
sw $t0, 4($s0)
addi $t0, $0, 7 # left_image[2]
sw $t0, 8($s0)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.