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/021/A021203.asm | neoneye/loda-programs | 11 | 11735 | <reponame>neoneye/loda-programs
; A021203: Decimal expansion of 1/199.
; Submitted by <NAME>iga
; 0,0,5,0,2,5,1,2,5,6,2,8,1,4,0,7,0,3,5,1,7,5,8,7,9,3,9,6,9,8,4,9,2,4,6,2,3,1,1,5,5,7,7,8,8,9,4,4,7,2,3,6,1,8,0,9,0,4,5,2,2,6,1,3,0,6,5,3,2,6,6,3,3,1,6,5,8,2,9,1,4,5,7,2,8,6,4,3,2,1,6,0,8,0,4,0,2,0,1
add $0,1
mov $3,1
lpb $... |
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-ctimer.ads | morbos/Ada_Drivers_Library | 2 | 9939 | -- Copyright 2016-2019 NXP
-- All rights reserved.SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from LPC55S6x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NXP_SVD.CTIMER is
pragma Preelaborate;
... |
programs/oeis/085/A085279.asm | neoneye/loda | 22 | 13514 | <filename>programs/oeis/085/A085279.asm
; A085279: Expansion of (1 - 2*x - 2*x^2)/((1 - 2*x)*(1 - 3*x)).
; 1,3,7,17,43,113,307,857,2443,7073,20707,61097,181243,539633,1610707,4815737,14414443,43177793,129402307,387944777,1163310043,3488881553,10464547507,31389448217,94159956043,282463090913,847355718307,2542000046057,7... |
source/code/error.asm | paulscottrobson/rpl-c | 1 | 177162 | ; *****************************************************************************
; *****************************************************************************
;
; Name : error.asm
; Purpose : Error Reporting
; Author : <NAME> (<EMAIL>)
; Date : 14th January 2020
;
; *********************************************... |
oeis/233/A233078.asm | neoneye/loda-programs | 11 | 178587 | <reponame>neoneye/loda-programs
; A233078: Number of n X 4 0..3 arrays with no element x(i,j) adjacent to value 3-x(i,j) horizontally or antidiagonally, top left element zero, and 1 appearing before 2 in row major order.
; 14,662,32414,1588262,77824814,3813415862,186857377214,9156011483462,448644562689614,2198358357179... |
Beta.agda | iwilare/church-rosser | 5 | 2325 | <filename>Beta.agda<gh_stars>1-10
open import Data.Nat using (suc)
open import Substitution using (rename-subst-commute; subst-commute)
open import DeBruijn
infix 3 _—→_
data _—→_ : ∀ {n} → Term n → Term n → Set where
—→-ξₗ : ∀ {n} {M M′ N : Term n}
→ M —→ M′
---------------
→ M · N —→ M′ · N
—→... |
Data/Nat/Even.agda | LaudateCorpus1/aaosl-agda | 9 | 6208 | <reponame>LaudateCorpus1/aaosl-agda<filename>Data/Nat/Even.agda
{- Formal verification of authenticated append-only skiplists in Agda, version 1.0.
Copyright (c) 2020 Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open... |
3-mid/impact/source/3d/math/impact-d3-convex_hull_computer.adb | charlie5/lace | 20 | 11166 | <reponame>charlie5/lace<gh_stars>10-100
with interfaces.c.Pointers,
Swig.Pointers,
ada.Unchecked_Deallocation,
system.Address_to_Access_Conversions;
with Ada.Unchecked_Conversion;
with impact.d3.Vector;
-- with math.algebra.linear.d3;
with ada.containers.Generic_Array_Sort;
with impact.d3.Scalar;
p... |
vp8/encoder/x86/fwalsh_sse2.asm | mrchapp/libvpx | 1 | 88759 | ;
; Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing projec... |
src/dql/DqlLexer.g4 | guneysus/predicate-builder | 1 | 5631 | lexer grammar DqlLexer;
SELECT : 'select' ;
ALL : '*' ;
SEMI_COLON : ';' ;
FROM : 'from' ;
TABLE_NAME :
([A-Z][A-Za-z]+)
;
WS: [\n\t\r]+ -> skip;
|
helloworld.asm | sidav/ASM-testing-ground | 0 | 161814 | <reponame>sidav/ASM-testing-ground
global _start
_start:
call _print_msg
mov eax, 1
mov ebx, 0
int 0x80
_print_chr: ; doesn't work
mov eax, 4
mov ebx, 1
mov edx, 1
int 0x80
ret
_print_msg: ; SPOILS eax, ebx, ecx, edx REGISTERS!
mov eax, 4; <- 4 means "WRITE" for syscall
mov ebx, 1; <- file descripto... |
engine/events/map_name_sign.asm | zavytar/pokecolorless | 0 | 87187 | MAP_NAME_SIGN_START EQU $60
ReturnFromMapSetupScript::
xor a
ldh [hBGMapMode], a
farcall .inefficient_farcall ; this is a waste of 6 ROM bytes and 6 stack bytes
ret
; should have just been a fallthrough
.inefficient_farcall
ld a, [wMapGroup]
ld b, a
ld a, [wMapNumber]
ld c, a
call GetWorldMapLocation
ld [wC... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_21829_644.asm | ljhsiun2/medusa | 9 | 172528 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xc9bb, %rsi
lea addresses_normal_ht+0x199eb, %rdi
nop
nop
add %rdx, %rdx
mov $47, %rcx
rep movsq
nop
nop
nop
nop
add %rdx, %rdx
lea addresses_UC_ht+0x1b93b, %r... |
archive/agda-3/src/Test/Test2.agda | m0davis/oscar | 0 | 4397 | <gh_stars>0
{-# OPTIONS --allow-unsolved-metas #-} -- FIXME
open import Everything
module Test.Test2 where
failed-test test-functor-transextensionality test-the-test : ∀
{𝔬₁} {𝔒₁ : Ø 𝔬₁}
{𝔯₁} {_∼₁_ : 𝔒₁ → 𝔒₁ → Ø 𝔯₁}
{ℓ₁} {_∼̇₁_ : ∀ {x y} → x ∼₁ y → x ∼₁ y → Ø ℓ₁}
{ε₁ : Reflexivity.type _∼₁_}... |
oeis/315/A315398.asm | neoneye/loda-programs | 11 | 85264 | ; A315398: Coordination sequence Gal.5.100.5 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.
; Submitted by <NAME>
; 1,6,11,15,19,23,27,31,36,42,48,53,57,61,65,69,73,78,84,90,95,99,103,107,111,115,120,126,132,137,141,145,149,153,157,16... |
ds/nw/nw16/drv/dllentry.asm | npocmaka/Windows-Server-2003 | 17 | 161271 | PAGE,132
;***************************************************************************
;*
;* DLLENTRY.ASM
;*
;* VER.DLL Entry code
;*
;* This module generates a code segment called INIT_TEXT.
;* It initializes the local heap if one exists and then calls
;* the C routine LibMain() which should have the form:
... |
oeis/228/A228920.asm | neoneye/loda-programs | 11 | 10804 | <reponame>neoneye/loda-programs<filename>oeis/228/A228920.asm
; A228920: Number of solutions to Sum_{i=1..n} x_i^2 == 0 (mod 4) with x_i in 0..3.
; Submitted by <NAME>
; 2,4,8,32,192,1024,4608,18432,69632,262144,1015808,4063232,16515072,67108864,270532608,1082130432,4311744512,17179869184,68585259008,274341036032,10984... |
libvpxbuild/vpx_config.asm | mearaj/libvpx | 1 | 95721 | <filename>libvpxbuild/vpx_config.asm
VPX_ARCH_ARM equ 0
VPX_ARCH_MIPS equ 0
VPX_ARCH_X86 equ 0
VPX_ARCH_X86_64 equ 1
VPX_ARCH_PPC equ 0
VPX_ARCH_LOONGARCH equ 0
HAVE_NEON equ 0
HAVE_NEON_ASM equ 0
HAVE_MIPS32 equ 0
HAVE_DSPR2 equ 0
HAVE_MSA equ 0
HAVE_MIPS64 equ 0
HAVE_MMX equ 1
HAVE_SSE equ 1
HAVE_SSE2 equ 1
HAVE_SSE3... |
Agda/coinductive-types.agda | tmoux/HoTT-Intro | 0 | 4817 | {-# OPTIONS --cubical #-}
open import 17-number-theory public
{- streams -}
record stream (A : Set) : Set where
coinductive
field
hd : A
tl : stream A
open stream public
from : ℕ → stream ℕ
hd (from n) = n
tl (from n) = from (succ-ℕ n)
map-stream : {A B : Set} → (A → B) → stream A → stream B
hd (map-s... |
other.7z/SFC.7z/SFC/ソースデータ/MarioKart/BGunit_set-d.asm | prismotizm/gigaleak | 0 | 87739 | <gh_stars>0
Name: BGunit_set-d.asm
Type: file
Size: 7032
Last-Modified: '1992-07-26T15:00:00Z'
SHA-1: 3EBD837C2D4DEF45C912C4313B754186AF936F83
Description: null
|
programs/oeis/157/A157622.asm | neoneye/loda | 22 | 15250 | <gh_stars>10-100
; A157622: 31250n - 9100.
; 22150,53400,84650,115900,147150,178400,209650,240900,272150,303400,334650,365900,397150,428400,459650,490900,522150,553400,584650,615900,647150,678400,709650,740900,772150,803400,834650,865900,897150,928400,959650,990900,1022150,1053400,1084650,1115900,1147150,1178400,120965... |
src/brackelib-queues.ads | bracke/brackelib | 1 | 12293 | <filename>src/brackelib-queues.ads
with Ada.Containers.Doubly_Linked_Lists;
use Ada.Containers;
generic
type T is private;
package Brackelib.Queues is
-- @summary
-- Implementation of the queue abstract data type
type Queue is limited private;
procedure Enqueue (Self : in out Queue; Item : T);
-- Adds ... |
EjemplosASMs/leeint.asm | daxadal/programing-102 | 0 | 161801 | ; Codigo ASM para TPMV
; Tecnología de la Programación - FDI (UCM)
; <NAME>
;
; Pide al usuario que teclee un número y lo escribe
; por pantalla.
;
; El código es generado por un pequeño compilador de terceros.
;
JUMP 1
PUSH 3
STORE 1
PUSH 5
STORE 0
JUMP 325
LOAD 0
PUSH 2
ADD
LOAD 2
STOREIND
LOAD 0
PUSH 3
ADD
STORE 2
L... |
oeis/332/A332176.asm | neoneye/loda-programs | 11 | 23098 | <reponame>neoneye/loda-programs<filename>oeis/332/A332176.asm
; A332176: a(n) = 7*(10^(2n+1)-1)/9 - 10^n.
; Submitted by <NAME>
; 6,767,77677,7776777,777767777,77777677777,7777776777777,777777767777777,77777777677777777,7777777776777777777,777777777767777777777,77777777777677777777777,7777777777776777777777777,77777777... |
data/animated_objects_3e_2.asm | adhi-thirumala/EvoYellow | 16 | 21539 | YellowIntro_AnimatedObjectFramesData:
dw Unkn_fa100
dw Unkn_fa103
dw Unkn_fa10a
dw Unkn_fa111
dw Unkn_fa118
dw Unkn_fa11b
dw Unkn_fa11e
dw Unkn_fa121
dw Unkn_fa124
dw Unkn_fa127
dw Unkn_fa138
Unkn_fa100:
frame $00, 32
endanim
Unkn_fa103:
frame $01, 4
frame $02, 4
frame $03, 4
dorestart
Unkn_fa10a:
... |
exercises/23_recursion.asm | Catherine22/Assembly | 0 | 166650 | ;Fact (n) = n * fact (n-1) for n > 0
STDIN equ 0
STDOUT equ 1
SYS_EXIT equ 1
SYS_READ equ 3
SYS_WRITE equ 4
section .data
msg db "Factorial 3 is: ", 0xA, 0xD
len equ $- msg
section .bss
fact resb 1
section .text
global main
main:
mov bx, 3 ;for calculating factorial 3
ca... |
Cubical/Foundations/Everything.agda | cj-xu/cubical | 0 | 7628 | <reponame>cj-xu/cubical
{-# OPTIONS --cubical --safe #-}
module Cubical.Foundations.Everything where
-- Basic cubical prelude
open import Cubical.Foundations.Prelude public
-- Definition of Identity types and definitions of J, funExt,
-- univalence and propositional truncation using Id instead of Path
open import Cub... |
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx_tty_z88dk/zx_01_output_fzx_tty_z88dk_30_up.asm | jpoikela/z88dk | 640 | 247468 |
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC zx_01_output_fzx_tty_z88dk_30_up
EXTERN zx_01_output_fzx_proc_move_up
defc zx_01_output_fzx_tty_z88dk_30_up = zx_01_output_fzx_proc_move_up
|
Cubical/Data/Unit/Base.agda | knrafto/cubical | 0 | 16940 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.Unit.Base where
-- Obtain Unit
open import Agda.Builtin.Unit public
renaming ( ⊤ to Unit )
|
shellcode/guardian.asm | rxOred/emp3r0r | 728 | 166146 | <reponame>rxOred/emp3r0r
BITS 64
section .text
global _start
_start:
;; fork
xor rax, rax
xor rdi, rdi
mov al, 0x39; syscall fork
syscall
cmp rax, 0x0; check return value
jg pause; int3 if in parent
watchdog:
;; fork to exec agent
xor rax, rax
xor rdi, rdi
mov al, 0x39; syscall fork
syscall
cmp ... |
programs/oeis/106/A106352.asm | jmorken/loda | 1 | 101783 | ; A106352: Number of compositions of n into 3 parts such that no two adjacent parts are equal.
; 1,2,7,9,15,21,28,35,46,54,66,78,91,104,121,135,153,171,190,209,232,252,276,300,325,350,379,405,435,465,496,527,562,594,630,666,703,740,781,819,861,903,946,989,1036,1080,1128,1176,1225,1274,1327,1377,1431
mov $3,$0
add $3,1... |
programs/oeis/031/A031994.asm | karttu/loda | 0 | 8181 | ; A031994: Duplicate of A023751.
; 0,1,2,3,4,5,6,7,8,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,30,31,32,33,34,35,40,41,42,43
mov $2,$0
mov $0,0
mov $1,$2
mov $4,$2
lpb $2,1
lpb $4,1
add $3,$1
sub $4,$3
lpe
sub $2,3
add $2,$0
add $5,1
lpb $5,1
trn $5,$3
lpe
mov $0,$5
add $1,$5
trn $2,... |
notes/FOT/FOTC/Program/Mirror/TreeR/Induction/Acc/WellFoundedInduction.agda | asr/fotc | 11 | 15909 | ------------------------------------------------------------------------------
-- Well-founded induction on the relation TreeT
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-p... |
templates/amd64-386/structs.asm | going-digital/sointu | 76 | 165520 | <gh_stars>10-100
;-------------------------------------------------------------------------------
; unit struct
;-------------------------------------------------------------------------------
struc su_unit
.state resd 8
.ports resd 8
.size:
endstruc
;-------------------------------------... |
programs/oeis/017/A017199.asm | neoneye/loda | 22 | 2133 | ; A017199: a(n) = (9*n + 3)^3.
; 27,1728,9261,27000,59319,110592,185193,287496,421875,592704,804357,1061208,1367631,1728000,2146689,2628072,3176523,3796416,4492125,5268024,6128487,7077888,8120601,9261000,10503459,11852352,13312053,14886936,16581375,18399744,20346417,22425768,24642171,27000000,29503629,32157432,34965783... |
src/hestia-ports.adb | stcarrez/hestia | 2 | 11212 | -----------------------------------------------------------------------
-- hestia-ports -- Heat port control
-- Copyright (C) 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
--... |
ruby-antlr-hash-2-json/raw/Vec.g4 | msangel/playground | 0 | 270 | // antlr4 Vec.g4
// javac -cp ".:$(realpath ~/soft/antlr4/antlr-4.7.2-complete.jar):$CLASSPATH" Vec*.java
// grun Vec vec4
grammar Vec;
vec4: '[' ints[4] ']' ;
ints[int max]
locals [int i=1]
: INT ( ',' {$i++;} {$i<=$max}? INT )*
;
INT : [0-9]+ ;
WS : [ \t\r\n]+ -> skip ;
|
libsrc/osca/check_volume_format.asm | grancier/z180 | 0 | 165068 | ;
; Old School Computer Architecture - interfacing FLOS
; <NAME>, 2011
;
; $Id: check_volume_format.asm,v 1.3 2016/06/22 22:13:09 dom Exp $
;
INCLUDE "flos.def"
SECTION code_clib
PUBLIC check_volume_format
PUBLIC _check_volume_format
EXTERN flos_err
check_volume_format:
_check_volume_format:
cal... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_1179.asm | ljhsiun2/medusa | 9 | 80960 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x9d1c, %rdi
nop
nop
nop
sub %r14, %r14
mov (%rdi), %r11
inc %r13
lea addresses_WT_ht+0x779c, %rsi
lea addresses_UC_ht+0x15714, %rdi
clflush (%rsi)
clflush (%rdi)
nop
cmp %r9, ... |
source/math.asm | evanbowman/Red | 5 | 168791 | ;;; $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
;;;
;;; ASM Source code for Red GBC, by <NAME>, 2021
;;;
;;;
;;; The following licence covers the source code included in this file. The
;;; game's characters and artwork belong to <NAME>, and should not be used
;;; without permission.
;;;... |
examples/windController/agdaProof/AbstractRationals.agda | vehicle-lang/vehicle | 9 | 13691 |
module AbstractRationals where
open import Algebra
open import Data.Integer.Base using (+0)
open import Data.Maybe.Base using (just; nothing; decToMaybe)
open import Data.Rational.Base as ℚ public hiding (_+_; _*_; _-_)
open import Data.Rational.Properties as ℚ public
using (module ≤-Reasoning; <⇒≤)
open import Re... |
mpmclab/week 1/apj4.asm | apurvjain9999/Microprocessor-8085 | 0 | 11679 | <gh_stars>0
LDA 5000H
MOV B,A
LDA 5002H
;ADD B
STA 5004H
LDA 5001H
MOV C,A
LDA 5003H
ADC C
;STA 5005H
hlt |
programs/oeis/040/A040387.asm | jmorken/loda | 1 | 29424 | ; A040387: Continued fraction for sqrt(408).
; 20,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40,5,40
pow $0,4
mov $1,$0
trn $0,4
sub $0,4
gcd $1,$0
mul $1,5
|
oeis/157/A157881.asm | neoneye/loda-programs | 11 | 179260 | ; A157881: Expansion of 152*x^2 / (-x^3+1443*x^2-1443*x+1).
; Submitted by <NAME>
; 0,152,219336,316282512,456079163120,657665836936680,948353680783529592,1367525350024012735136,1971970606380945580536672,2843580246875973503121146040,4100440744024547410555112053160,5912832709303150490046968459510832,85263006663743989821... |
src/glfw/v3/glfw-api.ads | Roldak/OpenGLAda | 0 | 17558 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Interfaces.C.Strings;
with Interfaces.C.Pointers;
with System;
with Glfw.Input.Keys;
with Glfw.Input.Mouse;
with Glfw.Input.Joysticks;
with Glfw.Monitors;
with Glfw.Errors;
with Glfw.Enums;
with Glfw.Wi... |
test/Succeed/Issue3655.agda | cruhland/agda | 1,989 | 9755 | <filename>test/Succeed/Issue3655.agda
open import Agda.Primitive
postulate
F : (a : Level) → Set a → Set a
P : (a : Level) (A : Set a) → F a A → Set a
p : (a : Level) (A : Set a) (x : F a A) → P a A x
Q : (a : Level) (A : Set a) → A → Set a
variable
a : Level
A : Set a
postulate
q : (x : F _ A) → Q a ... |
programs/oeis/131/A131403.asm | neoneye/loda | 22 | 173333 | <reponame>neoneye/loda<filename>programs/oeis/131/A131403.asm
; A131403: Row sums of triangle A131402.
; 1,2,5,10,21,44,93,196,411,856,1771,3642,7451,15178,30809,62358,125921,253800,510777,1026704,2061751,4137012,8295895,16627190,33311671,66716054,133582133,267407026,535206861,1071049316,2143127061,4287918172,857852885... |
programs/oeis/298/A298032.asm | karttu/loda | 0 | 166543 | <reponame>karttu/loda
; A298032: Partial sums of A298031.
; 1,5,15,31,61,97,145,199,265,337,421,511,613,721,841,967,1105,1249,1405,1567,1741,1921,2113,2311,2521,2737,2965,3199,3445,3697,3961,4231,4513,4801,5101,5407,5725,6049,6385,6727,7081,7441,7813,8191,8581,8977,9385,9799,10225,10657,11101,11551,12013,12481,12961,13... |
special_inserts.asm | msikma/Complete-Fire-Red-Upgrade | 0 | 18396 | <reponame>msikma/Complete-Fire-Red-Upgrade<gh_stars>0
.text
.align 2
.thumb
.include "../asm_defines.s"
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ Game Speed Up
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
.org 0x890, 0xFF
main:
ldr r2, .SuperBits
ldrh r3, [r2]
mov r0, #1
bic r3, r0
strh r3, [r2]
loop_label:
swi #... |
DeepLPro.popclipext/deepl.applescript | rizumita/deepl_popclip_extension | 6 | 646 | set the clipboard to "{popclip text}"
tell application "DeepL"
activate
delay 0.2
tell application "System Events"
keystroke "0" using {command down}
keystroke "v" using {command down}
end tell
end tell
|
gcc-gcc-7_3_0-release/gcc/ada/exp_spark.adb | best08618/asylo | 7 | 26366 | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
usertests.asm | ShwetiMahajan/xv6_schedulersOS | 0 | 25219 |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <validateint>:
printf(stdout, "sbrk test OK\n");
}
void
validateint(int *p)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
"int %2\n\t"
"mov %%ebx, %%esp" :
"=a" (res) :... |
libsrc/osca/erase_file.asm | meesokim/z88dk | 0 | 162344 | <filename>libsrc/osca/erase_file.asm
;
; Old School Computer Architecture - interfacing FLOS
; <NAME>, 2011
;
; Like 'remove' but with a FLOS style error handling
;
; $Id: erase_file.asm,v 1.2 2015/01/19 01:33:00 pauloscustodio Exp $
;
INCLUDE "flos.def"
PUBLIC erase_file
EXTERN flos_err
erase_file:
; __F... |
src/main/antlr4/imports/words.g4 | pcoppens/graphviz-antlr-compiler | 1 | 1523 | lexer grammar words;
// lexer rules
// Comments -> ignored
COMMENTS : ('/*' .*? '*/' | '//' ~'\n'* '\n' ) -> skip;
// Whitespaces -> ignored
NEWLINE: '\r'? '\n' -> skip ;
WS: [ \t]+ -> skip;
STRICT : 'strict';
GRAPH: 'graph';
DIGRAPH: 'digraph';
SUBGRAPH: 'subgraph';
NODE: 'node';
EDGE: 'edge';
UNDERSCORE: '_... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2148.asm | ljhsiun2/medusa | 9 | 81102 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1d7e6, %rax
nop
nop
nop
nop
nop
sub %r8, %r8
movl $0x61626364, (%rax)
and %r9, %r9
lea addresses_WC_ht+0x195a8, %rsi
lea addresses_D_ht+0xb7d6, %rdi
nop
nop
nop
nop
nop
and %r... |
lib/target/cpc/classic/loader.asm | ahjelm/z88dk | 4 | 244463 | <reponame>ahjelm/z88dk<filename>lib/target/cpc/classic/loader.asm
;
; CPC bank loader, after @iratahack
;
EXTERN __DATA_END_tail
EXTERN __BANK_0_END_tail
EXTERN __BANK_1_END_tail
EXTERN __BANK_2_END_tail
EXTERN __BANK_3_END_tail
EXTERN __BANK_4_END_tail
EXTERN __BANK_5_END_tail
E... |
oeis/034/A034738.asm | neoneye/loda-programs | 11 | 240495 | <gh_stars>10-100
; A034738: Dirichlet convolution of b_n = 2^(n-1) with phi(n).
; Submitted by <NAME>(w3)
; 1,3,6,12,20,42,70,144,270,540,1034,2112,4108,8274,16440,32928,65552,131418,262162,524880,1048740,2098206,4194326,8391024,16777300,33558564,67109418,134226120,268435484,536888520,1073741854,2147516736,4294969404,8... |
src/SizedIO/coIOIOObject.agda | agda/ooAgda | 23 | 1280 | module SizedIO.coIOIOObject where
open import Data.Unit.Base
open import Data.Product
open import Data.String.Base
open import Size
open import SizedIO.Object
open import SizedIO.Base
open import SizedIO.Console
open import SizedIO.coIOIO
-- open import SizedIO.IOObject
record IOObject' (i : Size) (iface : Interf... |
libsrc/_DEVELOPMENT/threads/mutex/c/sdcc_iy/spinlock_release.asm | jpoikela/z88dk | 640 | 1007 |
; void spinlock_release(char *spinlock)
SECTION code_clib
SECTION code_threads_mutex
PUBLIC _spinlock_release
EXTERN asm_spinlock_release
_spinlock_release:
pop af
pop hl
push hl
push af
jp asm_spinlock_release
|
3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-detector-discrete-gjk_pair.adb | charlie5/lace | 20 | 16154 | with impact.d3.Transform;
with impact.d3.Vector;
with impact.d3.Scalar;
-- #include "impact.d3.collision.Detector.discrete.gjk_pair.h"
-- #include "BulletCollision/CollisionShapes/impact.d3.Shape.convex.h"
-- #include "BulletCollision/NarrowPhaseCollision/impact.d3.collision.simplex_Solver.h"
-- #include "BulletCo... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0xca_notsx.log_21829_1609.asm | ljhsiun2/medusa | 9 | 28595 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NC/_zr_/i3-7100_9_0xca_notsx.log_21829_1609.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1667b, %r12
nop
sub $12293, %r10
mov $0x61626364656667... |
library/fmGUI_ManageDatabase/namesOfTOsOfWindowName.applescript | NYHTC/applescript-fm-helper | 1 | 2798 | <reponame>NYHTC/applescript-fm-helper<filename>library/fmGUI_ManageDatabase/namesOfTOsOfWindowName.applescript<gh_stars>1-10
-- namesOfTOsOfWindowName(someWindowName)
-- <NAME>, NYHTC
-- return the name of every table occurence of the specified window
(*
HISTORY:
1.2 - 2018-09-20 ( eshagdar ): FileMaker 17 has only ... |
mobile/fixed_words.asm | genterz/pokecross | 28 | 105396 | <gh_stars>10-100
; These functions seem to be related to the selection of preset phrases
; for use in mobile communications. Annoyingly, they separate the
; Battle Tower function above from the data it references.
Function11c05d:
ld a, e
or d
jr z, .error
ld a, e
and d
cp $ff
jr z, .error
push hl
call CopyMob... |
firmware/bsl/lib-qpc/ports/ucos2/watcom/ucos2.86/os_cpu_a.asm | AmuletGroup/amulet-project | 20 | 18688 | ;********************************************************************************************************
; uC/OS-II
; The Real-Time Kernel
;
; (c) Copyright 1992-2002, <NAME>, Weston, FL
; ... |
oeis/020/A020111.asm | neoneye/loda-programs | 11 | 105448 | <filename>oeis/020/A020111.asm
; A020111: Ceiling of GAMMA(n+5/9)/GAMMA(5/9).
; Submitted by <NAME>
; 1,1,1,3,8,36,199,1303,9844,84217,804739,8494461,98158214,1232430909,16706285647,243169268857,3782633071104,62623591954943,1099391947653438,20399828362013788,398929976857158504
mov $1,1
mov $3,1
lpb $0
mov $2,$0
su... |
tests/test-1-simpleloops.86.asm | sporiyano/rgat | 381 | 101779 | <gh_stars>100-1000
;basic sanity check with a few external calls
global main
section .text
main:
mov ecx, 100
loop1:
mov eax, 20
mov ebx, 10
xchg eax, ebx
dec ecx
jnz loop1
mov ecx, 1000
jmp loop2
loop2:
mov eax, 20
mov ebx, 10
xchg eax, ebx
dec ecx
jnz loop2
mov ecx, 10000
jmp ... |
Semester 5/Microprocessors/exp3-B.asm | atharva8300/Engineering-Practical-Experiments | 7 | 162866 | ;HEX to BCD
.model small
.data
m1 db 10, 13, "Equivalent BCD no. is: $"
no dw 0ffffh
.code
Disp macro xx
mov ah, 09
lea dx, xx
int 21h
endm
.startup
Disp m1
mov cl, 0
mov ax, no
mov bx, 0ah
back:
mov dx, 0... |
data/formal/express.g4 | w0rm/steputils | 16 | 657 | /*
Created: 2020-01-13
Copyright (c) 2020 <NAME>
License: MIT License
Based on: iso-10303-11--2004.bnf
Author: mozman <<EMAIL>>
*/
grammar express;
attribute_ref :
attribute_id ;
constant_ref :
constant_id ;
entity_ref :
entity_id ;
enumeration_ref :
enumeration_id ;
function_ref :
function_i... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0x48_notsx.log_21829_648.asm | ljhsiun2/medusa | 9 | 82407 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x3c08, %rsi
lea addresses_normal_ht+0x193fb, %rdi
nop
add %r15, %r15
mov $64, %rcx
rep movsl
nop
nop
nop
nop
dec %rdx
lea addresses_A_ht+0x49c3, %rsi
lea addresses_WT_ht+0x105... |
examples/outdated-and-incorrect/iird/IIRD.agda | asr/agda-kanso | 1 | 12133 | <filename>examples/outdated-and-incorrect/iird/IIRD.agda
module IIRD where
open import LF
-- A code for an IIRD (captures both general and restricted IIRDs)
-- I - index set
-- D - return type of the recursive component
-- E - generalised return type of the recursive component (including the index)
-- for restri... |
Task/Balanced-brackets/Ada/balanced-brackets.ada | LaudateCorpus1/RosettaCodeData | 1 | 19413 | with Ada.Numerics.Discrete_Random;
with Ada.Text_IO;
with Ada.Strings.Fixed;
procedure Brackets is
package Random_Positive is new Ada.Numerics.Discrete_Random (Positive);
Positive_Generator : Random_Positive.Generator;
procedure Swap (Left, Right : in out Character) is
Temp : constant Character := Left;
... |
good morning/good morning.asm | SREEHARIR/POV-Clock | 0 | 88721 | <reponame>SREEHARIR/POV-Clock<gh_stars>0
_elay_us:
;good morning.c,51 :: void elay_us(int n) //Delay function for variable time delay
;good morning.c,53 :: while (n--)
L_elay_us0:
MOVF FARG_elay_us_n+0, 0
MOVWF R0
MOVF FARG_elay_us_n+1, 0
MOVWF R1
MOVLW 1
SUBWF ... |
src/Internals/protypo-code_trees-interpreter-compiled_functions.ads | fintatarta/protypo | 0 | 22851 | <reponame>fintatarta/protypo
with Protypo.Api.Engine_Values.Handlers;
with Protypo.Api.Engine_Values.Parameter_Lists;
private package Protypo.Code_Trees.Interpreter.Compiled_Functions is
-- type Compiled_Function is
-- new Api.Engine_Values.Function_Interface
-- with
-- private;
type... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/wide_boolean_pkg.adb | best08618/asylo | 7 | 281 | <reponame>best08618/asylo
package body Wide_Boolean_Pkg is
procedure Modify (LH : in out TUINT32; LB : in out TBOOL) is
begin
LH := 16#12345678#;
LB := TRUE;
end;
end Wide_Boolean_Pkg;
|
core/lib/groups/Isomorphism.agda | timjb/HoTT-Agda | 0 | 7207 | <reponame>timjb/HoTT-Agda
{-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.Equivalence2
open import lib.Function2
open import lib.NType2
open import lib.types.Group
open import lib.types.Pi
open import lib.types.Subtype
open import lib.types.Truncation
open import lib.groups.Homomorphism
... |
programs/oeis/159/A159915.asm | neoneye/loda | 22 | 177313 | <filename>programs/oeis/159/A159915.asm
; A159915: a(n) = floor((n+1)/4)*floor(n/2).
; 0,0,0,1,2,2,3,6,8,8,10,15,18,18,21,28,32,32,36,45,50,50,55,66,72,72,78,91,98,98,105,120,128,128,136,153,162,162,171,190,200,200,210,231,242,242,253,276,288,288,300,325,338,338,351,378,392,392,406,435,450,450
mov $1,$0
div $0,2
add $... |
src/dbgviewhook/gateway.asm | VollRagm/DiscordDbg | 12 | 96633 | <filename>src/dbgviewhook/gateway.asm<gh_stars>10-100
.model flat, C
Hook PROTO stdcall :DWORD
PUBLIC gateway
.code
gateway PROC C
push ecx
push eax
push esi ; esi contains the text and should be the arg
call Hook ; call our hook
pop eax
pop ecx
mov [ebp-120h], word ptr 5 ; original opcodes
ret ... |
alloy4fun_models/trainstlt/models/3/xE5DyyN2EH4B9vJcv.als | Kaixi26/org.alloytools.alloy | 0 | 2154 | open main
pred idxE5DyyN2EH4B9vJcv_prop4 {
always all t: Train | always lone Train.pos
}
pred __repair { idxE5DyyN2EH4B9vJcv_prop4 }
check __repair { idxE5DyyN2EH4B9vJcv_prop4 <=> prop4o } |
programs/oeis/156/A156331.asm | neoneye/loda | 22 | 162862 | ; A156331: a(n)=8*A154811(n).
; 8,16,40,32,56,64,64,56,32,40,16,8,8,16,40,32,56,64,64,56,32,40,16,8,8,16,40,32,56,64,64,56,32,40,16,8,8,16,40,32,56,64,64,56,32,40,16,8,8,16,40,32,56,64,64,56,32,40,16,8,8,16,40,32,56,64,64,56,32,40,16,8,8,16,40
seq $0,154811 ; a(n) = Fibonacci(2n+1) mod 9.
mul $0,8
|
code/ValiantRefinement.agda | DSLsofMath/ValiantAgda | 3 | 5149 | open import Relation.Binary.PropositionalEquality using (_≡_; refl)
import Relation.Binary.EqReasoning as EqReasoning
open import Algebra.FunctionProperties using (LeftZero; RightZero)
open import Algebra.Structures using (module IsCommutativeMonoid;
IsCommutativeMonoid)
ope... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/init13.ads | best08618/asylo | 7 | 25852 | <reponame>best08618/asylo<gh_stars>1-10
with Ada.Numerics; use Ada.Numerics;
with System;
package Init13 is
type Complex is record
R : Float;
I : Float;
end record;
pragma Complex_Representation (Complex);
type R1 is record
F : Complex;
end record;
for R1'Bit_Order use System.Low_Order_First;... |
programs/oeis/248/A248825.asm | neoneye/loda | 22 | 29955 | ; A248825: n^2 + 1 - (-1)^n.
; 0,3,4,11,16,27,36,51,64,83,100,123,144,171,196,227,256,291,324,363,400,443,484,531,576,627,676,731,784,843,900,963,1024,1091,1156,1227,1296,1371,1444,1523,1600,1683,1764,1851,1936,2027,2116
mov $1,$0
pow $0,2
mod $1,2
add $0,$1
add $0,$1
|
src/drivers/adabase-driver-base-sqlite.adb | jrmarino/AdaBase | 30 | 20685 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
package body AdaBase.Driver.Base.SQLite is
---------------
-- execute --
---------------
overriding
function execute (driver : SQLite_Driver; sql : String)
return Affected_... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_xr/CiscoXr_community_set.g4 | adiapel/batfish | 1 | 3411 | <reponame>adiapel/batfish
parser grammar CiscoXr_community_set;
import CiscoXr_common;
options {
tokenVocab = CiscoXrLexer;
}
community_set_stanza
:
COMMUNITY_SET name = community_set_name NEWLINE
community_set_elem_list END_SET NEWLINE
;
community_set_elem_list
:
// no elements
| elems += community_... |
Class Exercises/Problem 11.a51 | pronoym99/Microcontrollers-and-Applications | 1 | 165960 | <filename>Class Exercises/Problem 11.a51
;program to load the accumulator with 55h and complememt the accumulator 700 times
org 0000h
mov a,#55h ;required content moved to accumulator
mov r0,#46h ;counter 1=70d
next:mov r1,#0ah ;counter 2=10d
here:cpl a ;complementation
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/derived_type4.adb | best08618/asylo | 7 | 27379 | <gh_stars>1-10
-- { dg-do compile }
procedure Derived_Type4 is
type Root (D : Positive) is record
S : String (1 .. D);
end record;
subtype Short is Positive range 1 .. 10;
type Derived (N : Short := 1) is new Root (D => N);
Obj : Derived;
begin
Obj := (N => 5, S => "Hello");
end;
|
libsrc/_DEVELOPMENT/stdio/z80/input_helpers/__stdio_scanf_number_tail_long.asm | meesokim/z88dk | 0 | 24005 |
SECTION code_stdio
PUBLIC __stdio_scanf_number_tail_long
__stdio_scanf_number_tail_long:
; enter : bc = long *p
; dehl = long
;
; carry flag state set by strtol / strtoul
;
; carry reset, number is valid
;
; carry set, number valid only if dehl != 0
... |
src/generateInputList.asm | NEPETAISCUTE/simon-gameboy | 1 | 5623 |
TIMER_DISPLAY_MAX EQU $0050
SECTION "input generator", ROM0
generateInputList::
ld a, [wInputLength]
ld c, a
ld de, wInputList
ld a, [wLevel]
cp a, 4
jr nc, .generationLoopHard
.generationLoopEasy:
push bc
call rand
pop bc
ld b, a
swap a
add a, b
adc a, 1
swap a
and %00000011
ld b,... |
MdePkg/Library/BaseLib/X64/FlushCacheLine.nasm | nicklela/edk2 | 3,861 | 13663 | ;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; FlushCacheLine.Asm
;
; Abstract:
;
; AsmFlushCacheLine function
;
; Notes:
;
;-------... |
msx/apps/libraries/msxdos/msxdos_set_time.asm | zoggins/yellow-msx-series-for-rc2014 | 19 | 246315 | include "msxdos.inc"
; extern uint8_t msxdosSetTime(uint8_t hour, uint8_t minutes, uint8_t seconds, uint8_t centiseconds);
PUBLIC _msxdosSetTime
_msxdosSetTime:
PUSH IX
LD IX, 0
ADD IX, SP
LD H, (IX+4) ; HOUR
LD L, (IX+5) ; MINUTES
LD D, (IX+6) ; SECONDS
LD E, (IX+7) ; CENTI-SECONDS
ld c, $2D
CALL BD... |
tmp1/c55x-sim2/foo/Debug/i2s.asm | jwestmoreland/eZdsp-DBG-sim | 1 | 173594 | ;*******************************************************************************
;* TMS320C55x C/C++ Codegen PC v4.4.1 *
;* Date/Time created: Sat Oct 06 06:37:14 2018 *
;****************************************************************************... |
programs/oeis/189/A189749.asm | karttu/loda | 0 | 102706 | ; A189749: a(1)=5, a(2)=5, a(n)=5*a(n-1) + 5*a(n-2).
; 5,5,50,275,1625,9500,55625,325625,1906250,11159375,65328125,382437500,2238828125,13106328125,76725781250,449160546875,2629431640625,15392960937500,90111962890625,527524619140625,3088182910156250,18078537646484375
mul $0,2
mov $1,2
mov $2,2
lpb $0,1
sub $0,2
a... |
Cubical/Algebra/CommRing/QuotientRing.agda | thomas-lamiaux/cubical | 1 | 7060 | {-# OPTIONS --safe #-}
module Cubical.Algebra.CommRing.QuotientRing where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Structure
open import Cubical.Foundations.Powerset
open import Cubical.Data.Nat
open import Cubical.Data.FinData
open import Cubical.HITs.SetQuotients using ([_]; squash/;... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1407.asm | ljhsiun2/medusa | 9 | 81955 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %rax
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xc71f, %r8
nop
nop
nop
nop
nop
sub $29027, %r13
movb (%r8), %r10b
cmp $34170, %rdi
lea addresses_normal_ht+0xdefb, %rax
nop
nop
nop
nop
xor $41336, %rdx
and $0x... |
testsuite/ubivm/output/group_8.asm | alexgarzao/UOP | 0 | 2445 | <reponame>alexgarzao/UOP
.constant_pool
.const 0 string [start]
.const 1 string [constructor]
.const 2 string [Inserindo informacoes]
.const 3 int [1]
.const 4 string [io.writeln]
.const 5 string [MeuContexto]
.const 6 string [key 1]
.const 7 string [key 2]
.const 8 string ... |
libsrc/_DEVELOPMENT/arch/zx/bifrost_l/c/sdcc/BIFROSTL_showTilePosL.asm | jpoikela/z88dk | 640 | 26564 | <reponame>jpoikela/z88dk
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_l.h" for further details
; ----------------------------------------------------------------
; void BIFROSTL_showTilePosL(unsigned char row, unsi... |
dosshell/shell/winidle.asm | minblock/msdos | 0 | 4549 | ;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;
; Tell forces greater than ourselves that we are idle so we
; don't pig up system time doing nothing. 1680 call is for
; Windows 3.0+ and OS/2, i... |
kill.asm | niknikniknik/nunix | 0 | 103746 |
_kill: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char **argv)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... |
ANTLR/JSONLDGraphGenerator/fuente/GrammarjsonldParser.g4 | Alvarohf/University-work | 0 | 3206 | <reponame>Alvarohf/University-work<gh_stars>0
parser grammar GrammarjsonldParser;
options {
tokenVocab = GrammarjsonldLexer;
language=Java;
}
@header{
package fuente;
}
//Root node for json parsing
json: OPENBRACKET (context COMMA)? graphs CLOSEBRACKET;
//-----------------------CONTEXT---------------------------
//... |
quit-iterm.scpt | JonathanBuchh/AppleScripts | 0 | 2792 | <filename>quit-iterm.scpt
tell application "iTerm"
quit
end tell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.