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/test.ads | skill-lang/skillAdaTestSuite | 1 | 6891 | <filename>test/test.ads
package Test is
end Test;
|
oeis/140/A140146.asm | neoneye/loda-programs | 11 | 27371 | ; A140146: a(1)=1, a(n)=a(n-1)+n^1 if n odd, a(n)=a(n-1)+ n^4 if n is even.
; Submitted by <NAME>
; 1,17,20,276,281,1577,1584,5680,5689,15689,15700,36436,36449,74865,74880,140416,140433,245409,245428,405428,405449,639705,639728,971504,971529,1428505,1428532,2043188,2043217,2853217,2853248,3901824,3901857,5238193,523822... |
test/succeed/ProjectionLikeRecursive.agda | np/agda-git-experiment | 1 | 16146 | -- Andreas, 2012-09-26 disable projection-likeness for recursive functions
-- {-# OPTIONS -v tc.proj.like:100 #-}
module ProjectionLikeRecursive where
open import Common.Prelude
open import Common.Equality
if_then_else_ : {A : Set} → Bool → A → A → A
if true then t else e = t
if false then t else e = e
infixr 5 _∷_ ... |
programs/oeis/337/A337566.asm | karttu/loda | 1 | 3315 | <filename>programs/oeis/337/A337566.asm
; A337566: a(n) is the number of possible decompositions of the polynomial n * (x + x^2 + ... + x^q), where q>1, into a sum of k polynomials, not necessarily all different; each of these polynomials is to be of the form b_1 * x + b_2 * x^2 + ... + b_q * x^q where each b_i is one ... |
Groups/Homomorphisms/Image.agda | Smaug123/agdaproofs | 4 | 2507 | {-# OPTIONS --safe --warning=error --without-K #-}
open import Groups.Definition
open import Setoids.Setoids
open import Setoids.Subset
open import LogicalFormulae
open import Sets.EquivalenceRelations
open import Groups.Homomorphisms.Definition
open import Groups.Homomorphisms.Lemmas
open import Groups.Subgroups.Defi... |
FirstBurnCode.asm | igormiktor/ASM_Playground | 0 | 87433 | ; ***********************************************************************************
;
; Blink LED PB0 on an ATmega328p at 1 Hz using timer-triggered interrupts
; to toggle the LED. Assume ATmega328p runs at 16 MHz.
;
; The MIT License (MIT)
;
; Copyright (c) 2020 <NAME>
;
; Permission is hereby grante... |
tests/covered/Fin.agda | andrejtokarcik/agda-semantics | 3 | 7662 | <filename>tests/covered/Fin.agda
module Fin where
data Nat : Set where
zero : Nat
succ : Nat -> Nat
data Fin : Nat -> Set where
fzero : {n : Nat} -> Fin (succ n)
fsucc : {n : Nat} -> Fin n -> Fin (succ n)
|
programs/oeis/212/A212761.asm | neoneye/loda | 22 | 81895 | <gh_stars>10-100
; A212761: Number of (w,x,y,z) with all terms in {0,...,n}, w odd, x and y even.
; 0,2,12,32,90,162,336,512,900,1250,1980,2592,3822,4802,6720,8192,11016,13122,17100,20000,25410,29282,36432,41472,50700,57122,68796,76832,91350,101250,119040,131072,152592,167042,192780,209952,240426
mov $1,$0
seq $0,2104... |
test/common_utils_test.ads | psyomn/ash | 11 | 12029 | <gh_stars>10-100
-- Copyright 2019 <NAME> (psyomn)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applic... |
libsrc/_DEVELOPMENT/input/zx/z80/asm_in_stick_sinclair2.asm | jpoikela/z88dk | 640 | 100877 |
; ===============================================================
; 2002
; ===============================================================
;
; uint16_t in_stick_sinclair2(void)
;
; Return joystick state in byte FGHIRLDU active high. The
; FGHI bits are fire buttons with "F" being primary.
;
; =======================... |
tools/SPARK2005/preprocessor/src/fp_translation.adb | michalkonecny/polypaver | 1 | 26184 | with Ada.Wide_Text_IO; use Ada.Wide_Text_IO;
with Ada.Characters;
with Ada.Characters.Handling;
use Ada.Characters.Handling;
with Ada.Exceptions;
with Asis;
with Asis.Implementation;
with Asis.Exceptions;
with Asis.Errors;
with Asis.Iterator;
with Asis.Expressions;
with Asis.Declarations;
with Asis.Text;
with FP_Dete... |
src/minizip/contrib/ada/zlib.ads | bitcrystal/temp | 16,989 | 13852 | ------------------------------------------------------------------------------
-- ZLib for Ada thick binding. --
-- --
-- Copyright (C) 2002-2004 <NAME> --
-- ... |
source/resolver/program-complete_contexts.ads | reznikmm/gela | 0 | 9416 | <filename>source/resolver/program-complete_contexts.ads<gh_stars>0
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Cross_Reference_Updaters;
with Program.Elements.Discrete_Ranges;
with Program.Elements.Expr... |
procedureGeneriche/lettura da file e calcolo della lunghezza.asm | Scodellz/ProgettoArchitetture-1819 | 0 | 2302 | <reponame>Scodellz/ProgettoArchitetture-1819
.data
buffer: .space 255
inputfile: .asciiz ".marSETUP/messaggio.txt"
cripted: .asciiz " cripted content:"
.align 2
.text
main:
open: li $v0, 13 # apri il file
la $a0, inputfile
li $a1, 0
li $a2, 0
syscall
move $t0, $v0 # slaviamo il percorso del file
... |
assembly_tests/testBss.asm | znjRoLS/ss | 0 | 240146 | <reponame>znjRoLS/ss
.public main
.data
a: .word 0x12345678
.text
main:
ldch r1, 0
ldcl r1, 0
add r1, 0x1234
sub r1, 0x1230
call r4, 0
add r1, 345
halt
.bss
aa: .skip 4
bb: .skip 2
.align |
projects/batfish/src/main/antlr4/org/batfish/grammar/f5_bigip_structured/F5BigipStructured_sys.g4 | loftwah/batfish | 1 | 1707 | parser grammar F5BigipStructured_sys;
import F5BigipStructured_common;
options {
tokenVocab = F5BigipStructuredLexer;
}
sgs_hostname
:
HOSTNAME hostname = word NEWLINE
;
sys_global_settings
:
GLOBAL_SETTINGS BRACE_LEFT
(
NEWLINE
(
sgs_hostname
| unrecognized
)*
)? BRACE_RIGHT NEWLI... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1954.asm | ljhsiun2/medusa | 9 | 1644 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xe761, %r11
nop
nop
add %rdx, %rdx
mov $0x6162636465666768, %r15
movq %r15, %xmm5
vmovups %ymm5, (%r11)
nop
nop
xor %r11, %r11
lea addresses_normal_ht+0x3d11, %rsi
lea addresses_D_ht+0... |
llvm-gcc-4.2-2.9/gcc/ada/exp_util.adb | vidkidz/crossbridge | 1 | 21421 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
test/Succeed/Issue3364.agda | phadej/agda | 0 | 3438 | <gh_stars>0
-- Andreas, 2018-11-03, issue #3364
--
-- Better error when trying to import with new qualified module name.
open import Agda.Builtin.Nat as Builtin.Nat
-- WAS: Error:
-- Not in scope:
-- as at ...
-- when scope checking as
-- NOW: Warning
-- `as' must be followed by an unqualified name
-- when scope c... |
project/src/avr-adc.ads | pvrego/adaino | 8 | 30038 | <reponame>pvrego/adaino<gh_stars>1-10
-- =============================================================================
-- Package AVR.ADC
--
-- Handles the Analog Comparator and the Analog-To-Digital Converter.
-- =============================================================================
package AVR.ADC is
type ... |
oeis/142/A142881.asm | neoneye/loda-programs | 11 | 6068 | <gh_stars>10-100
; A142881: a(0) = 0, a(1) = 1, after which, if n=3k: a(n) = 2*a(n-1) - a(n-2), if n=3k+1: a(n) = a(n-1) + a(n-2), if n=3k+2: a(n) = 2*a(n-1) + a(n-2).
; Submitted by <NAME>(s1)
; 0,1,2,3,5,13,21,34,89,144,233,610,987,1597,4181,6765,10946,28657,46368,75025,196418,317811,514229,1346269,2178309,3524578,92... |
source/league/matreshka-json_types.adb | svn2github/matreshka | 0 | 1724 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
oeis/021/A021352.asm | neoneye/loda-programs | 11 | 170964 | ; A021352: Decimal expansion of 1/348.
; 0,0,2,8,7,3,5,6,3,2,1,8,3,9,0,8,0,4,5,9,7,7,0,1,1,4,9,4,2,5,2,8,7,3,5,6,3,2,1,8,3,9,0,8,0,4,5,9,7,7,0,1,1,4,9,4,2,5,2,8,7,3,5,6,3,2,1,8,3,9,0,8,0,4,5,9,7,7,0,1,1,4,9,4,2,5,2,8,7,3,5,6,3,2,1,8,3,9,0
seq $0,173833 ; 10^n - 3.
div $0,348
mod $0,10
|
src/main/fragment/mos6502-common/_deref_qvoz1=vbuaa.asm | jbrandwood/kickc | 2 | 245770 | <reponame>jbrandwood/kickc
ldy #0
sta ({z1}),y
lda #0
iny
sta ({z1}),y |
1_antlr_hello_world/Hello.g4 | tkin91e55/antlr-mega-tutorial | 0 | 2408 | grammar Hello;
//??What are the parser and lexer rules? !! they are two separated .g4 files, starting with lexer grammar/parser grammar...
//Here is an example of combined grammar rule
/*
r : 'hello' ID ;
ID : [a-z]+ ;
WS : [ \t\r\n]+ -> skip ; // skip spaces, tabs, newlines, \r (Windows)
*/
/*
* Parser Rules
*/... |
libsrc/_DEVELOPMENT/arch/zx/misc/c/sccz80/zx_visit_wc_pix.asm | jpoikela/z88dk | 640 | 89668 | <gh_stars>100-1000
; void zx_visit_wc_pix(struct r_Rect8 *r, void *function)
SECTION code_clib
SECTION code_arch
PUBLIC zx_visit_wc_pix
EXTERN asm_zx_visit_wc_pix
zx_visit_wc_pix:
pop af
pop de
pop ix
push de
push de
push af
jp asm_zx_visit_wc_pix
|
oeis/145/A145123.asm | neoneye/loda-programs | 11 | 94788 | ; A145123: Numbers n such that there exists x in N : (x+1)^3-x^3=19*n^2.
; Submitted by <NAME>
; 1,301,90901,27451801,8290353001,2503659154501,756096774306301,228338722181348401,68957538001992910801,20824948137879677713501,6289065380101660676566501,1899276919842563644645369801,573575340727074119022225113401,17321785362... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64109k.ada | best08618/asylo | 7 | 25238 | <reponame>best08618/asylo
-- C64109K.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 contai... |
programs/oeis/144/A144855.asm | neoneye/loda | 22 | 6360 | ; A144855: Number of paths from (1,1) to (n,n) in an n X n grid using only the steps +(1,0), -(1,0), +(0,1) and -(0,1) which do not self-intersect and which avoid any point (p,q) satisfying "(p-1)*n + q is prime".
; 1,0,0,0,0,0,0,254,0,0,0,0,0
mul $0,2
lpb $0
mov $1,$0
dif $0,7
mov $2,10
lpe
sub $1,$2
pow $1,$1
... |
Library/Kernel/Heap/heapManager.asm | steakknife/pcgeos | 504 | 164504 | <gh_stars>100-1000
COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Heap
FILE: heapManager.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
GLB MemAlloc Allocate mem... |
oeis/123/A123189.asm | neoneye/loda-programs | 11 | 90338 | ; A123189: a(1)=1; a(2)=1; a(3)=6; a(n)=3a(n-1)+3a(n-2)-4a(n-3) for n >=4.
; Submitted by <NAME>
; 1,1,6,17,65,222,793,2785,9846,34721,122561,432462,1526185,5385697,19005798,67069745,236683841,835237566,2947485241,10401433057,36705804630,129531772097,457106997953,1613093091630,5692473180361
mov $3,2
lpb $0
sub $0,1
... |
Lenguajes de interfaz/prac06.asm | Abel-RM/materias-tec | 0 | 87864 | title prac06
.model small
.data
ne1 db 56h,43h,21h
ne2 db 45h,68h,54h
res db 0h,0h,0h,0h
.code
main proc near
.startup
mov al,ne1+2
add al, ne2+2
daa
mov res+3,al
mov al,ne1+1
adc al, ne2+1
daa
mov res+2,al
mov al,ne1
adc al,ne2
daa
mov res+1,al
adc res,0
;imprimir el resultado
mov bx,0001h
mov ah,02h
;imprecion 0... |
old/Structure/LinearAlgebra.agda | Lolirofle/stuff-in-agda | 6 | 4544 | <reponame>Lolirofle/stuff-in-agda
module Structure.LinearAlgebra where
import Lvl
open import Data
open import Data.Tuple
open import Functional hiding (id)
open import Function.Equals
open import Function.Proofs
open import Logic
open import Logic.Propositional
open import Logic.Propositional.Theorems
open impor... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_481.asm | ljhsiun2/medusa | 9 | 14819 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xff13, %rbp
nop
nop
nop
nop
and $29722, %r8
mov $0x6162636465666768, %r9
movq %r9, (%rbp)
nop
and %rax, %rax
lea addresses_WT_ht+0x1957b, %r9
nop
nop
nop
nop
xor $38316, %rdi
mo... |
examples/software/string/memcpy.asm | StevenMcLeod/vm8080 | 0 | 95147 | ; void *memcpy(void *dest, void *src, size_t len) {
; void *ret = dest;
; while(len != 0) {
; *dest = *src;
; ++dest;
; ++src;
; --len;
; }
; }
;
; +6: len
; +4: src
; +2: dest
; +0: return addr
PUBLIC memcpy
memcpy:
; size_t len
ld hl,... |
bb-runtimes/src/s-macres__tms570.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 25505 | <filename>bb-runtimes/src/s-macres__tms570.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
oeis/054/A054602.asm | neoneye/loda-programs | 11 | 9899 | ; A054602: a(n) = Sum_{d|3} phi(d)*n^(3/d).
; 0,3,12,33,72,135,228,357,528,747,1020,1353,1752,2223,2772,3405,4128,4947,5868,6897,8040,9303,10692,12213,13872,15675,17628,19737,22008,24447,27060,29853,32832,36003,39372,42945,46728,50727,54948,59397,64080,69003,74172,79593,85272,91215,97428,103917,110688,117747,125100,132... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_801.asm | ljhsiun2/medusa | 9 | 85889 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xfb9b, %rsi
lea addresses_normal_ht+0x13c9b, %rdi
nop
sub $39663, %rbp
mov $11, %rcx
rep movsl
add $27050, %rsi
lea addresses_UC_ht+0x629b, %rsi
lea addresses_... |
programs/oeis/131/A131378.asm | karttu/loda | 1 | 25357 | ; A131378: Starting with 0, the sequence a(n) changes from 0 to 1 or back when the next number n is a prime.
; 0,0,1,0,0,1,1,0,0,0,0,1,1,0,0,0,0,1,1,0,0,0,0,1,1,1,1,1,1,0,0,1,1,1,1,1,1,0,0,0,0,1,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,1,1,0,0,0,0,0,0,1,1,1,1,0,0,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1
cal $0... |
sharding-core/src/main/antlr4/imports/OracleTableBase.g4 | FloodDragon/sharding-sphere | 0 | 2286 | grammar OracleTableBase;
import OracleKeyword, Keyword, Symbol, OracleBase, BaseRule, DataType;
columnDefinition
: columnName dataType SORT?
(DEFAULT (ON NULL)? expr | identityClause)?
(ENCRYPT encryptionSpec)?
(inlineConstraint+ | inlineRefConstraint)?
;
identityClause
: GENERATED (ALWAY... |
demo/adainclude/s-taskin.ads | e3l6/SSMDev | 0 | 12214 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
libsrc/_DEVELOPMENT/l/z80/long/l_decu_dehl.asm | jpoikela/z88dk | 640 | 179333 | <gh_stars>100-1000
SECTION code_clib
SECTION code_l
PUBLIC l_decu_dehl
l_decu_dehl:
; unsigned decrement of ulong
;
; enter : dehl = unsigned long
;
; exit : dehl = dehl - 1, min at 0
; z flag set underflow
;
; uses : af, de, hl
ld a,h
or l
jr z, msw
dec hl
ret
... |
oeis/220/A220182.asm | neoneye/loda-programs | 11 | 5855 | ; A220182: Number of changes of parity in the Collatz trajectory of n.
; Submitted by <NAME>
; 0,1,4,1,2,5,10,1,12,3,8,5,4,11,10,1,6,13,12,3,2,9,8,5,14,5,82,11,10,11,78,1,16,7,6,13,12,13,22,3,80,3,18,9,8,9,76,5,14,15,14,5,4,83,82,11,20,11,20,11,10,79,78,1,16,17,16,7,6,7,74,13,84,13,6,13,12,23,22,3,12,81,80,3,2,19,18,9,... |
Library/Spline/Spline/splineKeyboard.asm | steakknife/pcgeos | 504 | 93208 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: splineKeyboard.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descripti... |
examples/hello.asm | tonysparks/lita-vm | 0 | 22777 | .text "Hello World"
ldca $a .text
pushi $a ;; push the address on the stack, so that print_string can use it
call :print_string ;; call the print_string subroutine
jmp :exit ; exit out of the program
printi #11 ; shouldn't get invoked, because we are jumping to the :exit label
;;
;... |
Testers.agda | oisdk/agda-playground | 6 | 1979 | {-# OPTIONS --cubical --safe #-}
module Testers where
open import Prelude
open import Data.List using (List; map; _⋯_)
open import Data.List.Sugar using (liftA2)
testIso : (fns : A ↔ B) → List A → Type _
testIso (to iff fro) xs = xs ≡ map (fro ∘ to) xs
testIsoℕ : (fns : ℕ ↔ A) → ℕ → Type _
testIsoℕ fns n = testIso ... |
src/vulkan-math/vulkan-math-trig.ads | zrmyers/VulkanAda | 1 | 28205 | <gh_stars>1-10
--------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Sof... |
Math/Googology/Function.agda | rei1024/agda-misc | 3 | 13924 | <gh_stars>1-10
-- Functions used in googology
{-# OPTIONS --without-K --safe --exact-split #-}
module Math.Googology.Function where
-- agda-stdlib
open import Data.Nat
open import Data.Nat.GeneralisedArithmetic
open import Function
-- Ackermann function.
-- ack m n = Ack(m, n)
ack : ℕ → ℕ → ℕ
ack 0 n = ... |
src/test/cpp/raw/fpu/build/fpu.asm | cbrune/VexRiscv | 1,524 | 178842 |
build/fpu.elf: file format elf32-littleriscv
Disassembly of section .crt_section:
80000000 <_start>:
80000000: 00100e13 li t3,1
80000004: 00000013 nop
80000008: 00000013 nop
8000000c: 00000013 nop
80000010: 00000013 nop
80000014: 00107153 fadd.s ft2,ft... |
oeis/128/A128893.asm | neoneye/loda-programs | 11 | 100261 | <filename>oeis/128/A128893.asm<gh_stars>10-100
; A128893: (1/p)*(binomial(2*p,p)+2*(p-1)), where p = n-th prime.
; 4,8,52,492,64132,800048,137270956,1860277044,357975249028,1036802293087624,15013817846943908,47192717955016924592,10360599532897359064120,154361699651715243559788,34589385964790856394651396,118349529407778... |
aunit/aunit-simple_test_cases.adb | btmalone/alog | 0 | 19042 | <filename>aunit/aunit-simple_test_cases.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Task/Rename-a-file/Ada/rename-a-file.ada | LaudateCorpus1/RosettaCodeData | 1 | 27475 | <gh_stars>1-10
with Ada.Directories; use Ada.Directories;
...
Rename ("input.txt", "output.txt");
Rename ("docs", "mydocs");
Rename ("/input.txt", "/output.txt");
Rename ("/docs", "/mydocs");
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c41322a.ada | best08618/asylo | 7 | 4609 | -- C41322A.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... |
test/Fail/Issue4534.agda | cruhland/agda | 1,989 | 16742 | -- Andreas, 2020-03-27, issue #4534
-- Better error message for quote.
open import Agda.Builtin.Reflection
quote₀ : Set → Name
quote₀ X = quote X
-- Cannot quote a variable X
-- when checking that the expression quote X has type Name
|
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-8650U_0xd2_notsx.log_14251_1558.asm | ljhsiun2/medusa | 9 | 29228 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1611c, %rsi
lea addresses_WT_ht+0x13d9c, %rdi
nop
nop
dec %rdx
mov $3, %rcx
rep movsl
nop
and %r14, %r14
lea addresses_WC_ht+0x1b61c, %rsi
lea addres... |
oeis/080/A080566.asm | neoneye/loda-programs | 11 | 7669 | ; A080566: Partial sums of A079000.
; Submitted by <NAME>
; 1,5,11,18,26,35,46,59,74,90,107,125,144,164,185,208,233,260,289,320,353,387,422,458,495,533,572,612,653,695,738,782,827,874,923,974,1027,1082,1139,1198,1259,1322,1387,1454,1523,1593,1664,1736,1809,1883,1958
lpb $0
mov $2,$0
sub $0,1
seq $2,79000 ; a(n) ... |
alloy4fun_models/trashltl/models/10/Xg2SPmPnxmp6SvK7m.als | Kaixi26/org.alloytools.alloy | 0 | 4292 | open main
pred idXg2SPmPnxmp6SvK7m_prop11 {
File - Protected in Protected'
}
pred __repair { idXg2SPmPnxmp6SvK7m_prop11 }
check __repair { idXg2SPmPnxmp6SvK7m_prop11 <=> prop11o } |
samples/BYTE_WORD_LONG.asm | taisukef/asm15 | 3 | 10242 | R2=#80
R2=R2<<4
R1=R1+R2
R0=[R1+R0] W
'R0=[R1+R0] B
'R0=[R1+R0] L
RET
'[1]=100
'?usr(#700,1*2)
|
tools/scripts/LaunchHelper.scpt | depinette/backtoweb | 3 | 4289 | on run argv
tell application "System Events"
if not (exists process "CopyHelper") then
set shellScript to item 1 of argv & " > /dev/null 2>&1 &"
do shell script shellScript with administrator privileges
--repeat 3 times
-- if not (exists process "CopyHelper") then
-- delay ... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_10_1509.asm | ljhsiun2/medusa | 9 | 14760 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1bc19, %r14
nop
inc %r9
mov (%r14), %r8w
nop
nop
xor %r8, %r8
lea addresses_WT_ht+0x3619, %rsi
lea addresses_normal_ht+0x7c99, %rdi
and %r12, %r12
mov $106, %rcx
rep movsl
nop... |
v2/Assembler/AntlrZxBasicParserGenerator/AntlrZxBasicParserGenerator/ZxBasic.g4 | Toysoft/spectnetide | 0 | 3713 | grammar ZxBasic;
compileUnit
: (label? (asm_section | line | NEWL))* EOF
;
label
: DECNUM
| IDENTIFIER NEWL
| IDENTIFIER COLON NEWL?
;
line
: line_item* LINE_END
| line_item+
;
line_item
: console
| preproc
| control_flow
| statement
| function
| operator
| type
| number
| identifier
| string
| ... |
oeis/030/A030426.asm | neoneye/loda-programs | 11 | 16989 | ; A030426: a(n) = Fibonacci(prime(n)).
; Submitted by <NAME>
; 1,2,5,13,89,233,1597,4181,28657,514229,1346269,24157817,165580141,433494437,2971215073,53316291173,956722026041,2504730781961,44945570212853,308061521170129,806515533049393,14472334024676221,99194853094755497,1779979416004714189,83621143489848422977,5731478... |
01. 8051/03. Arithmetic Operations/Act1.asm | nitrece/microprocessor-laboratory | 0 | 243817 | org 0h
mov r0, #40h
mov r1, #10
mov r2, #0
mov r3, #0
loop:
mov a, r2
add a, @r0
mov r2, a
mov a, r3
addc a, #0
mov r3, a
inc r0
djnz r1, loop
end
|
libtool/src/gmp-6.1.2/mpn/x86_64/coreisbr/mul_2.asm | kroggen/aergo | 278 | 101468 | dnl AMD64 mpn_mul_2 optimised for Intel Sandy Bridge.
dnl Contributed to the GNU project by <NAME>.
dnl Copyright 2003-2005, 2007, 2008, 2011-2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl i... |
prototyping/Utility/Bool.agda | TheGreatSageEqualToHeaven/luau | 1 | 17432 | module Utility.Bool where
open import Agda.Builtin.Bool using (Bool; true; false)
not : Bool → Bool
not false = true
not true = false
_or_ : Bool → Bool → Bool
true or _ = true
_ or true = true
_ or _ = false
_and_ : Bool → Bool → Bool
true and true = true
_ and _ = false
|
oeis/119/A119401.asm | neoneye/loda-programs | 11 | 91351 | ; A119401: a(n) = Sum_{k=0..n} (-1)^(n-k)*(n!/k!)^2*binomial(n,k).
; Submitted by <NAME>
; 1,0,-3,46,-927,25476,-922715,42240402,-2337537279,147901509928,-9689806983699,464655683171670,44744831894861857,-27559636076854374804,9449663596631181414933,-3046842389019074859527174,1013788651063121586526459905
mov $1,1
mov $3... |
source/navigate.adb | jquorning/WeDo | 1 | 21310 | <gh_stars>1-10
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
----------------------------... |
6e01.asm | sqph/td-micl | 0 | 83818 | ; 6e01.asm
global main
section .bss
bufferSave RESB 1 ; mémoire tampon stdin/out
section .text
main:
nop
_while:
mov eax, 3 ; read
mov ebx, 0 ; stdin
mov ecx, bufferSave ; adresse du buffer
mov edx, 1 ; nombre de bytes
int 0... |
programs/oeis/136/A136521.asm | jmorken/loda | 1 | 242715 | <gh_stars>1-10
; A136521: Triangle read by rows: (1, 2, 2, 2,...) on the main diagonal and the rest zeros.
; 1,0,2,0,0,2,0,0,0,2,0,0,0,0,2,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2
mov $1,2
lpb $0
add $1,1
add $2,1
sub $0,$2
sub $0,1
lpe
lpb $1
mov $1,3
lpe
lpb $0
div $0,5
mov $1,1
lpe
sub $1,1
|
misc.asm | kun1z/ksmod | 1 | 171681 | ; Copyright © 2005 - 2021 by <NAME>. All rights reserved.
IsHandleTheDAT proto :dword
CheckAndUnlockTheDAT proto :dword
CheckForSwap proto :dword
.data?
UniqueFileID dd 3 dup(?)
OldGlobalHandle dd ?
NewGlobalHandle dd ?
.code
; #######################################################... |
source/xml/dom/matreshka-dom_elements.adb | reznikmm/matreshka | 24 | 28762 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
src/tiny_text.adb | JeremyGrosser/tiny_text | 1 | 29041 | <filename>src/tiny_text.adb
-- Tiny Text
-- Copyright 2020 <NAME>
-- See LICENSE for details
with Interfaces; use Interfaces;
package body Tiny_Text is
procedure Initialize
(This : in out Text_Buffer;
Bitmap : Any_Bitmap_Buffer;
Width : Natural;
Height : Natural) is
begin
... |
non-destructive-payload32.asm | fiercebrute/d0zer | 137 | 244483 | <gh_stars>100-1000
global _start
section .text
_start:
jmp message
message:
call shellcode
db "hello -- this is a non-destructive payload", 0xa
shellcode:
pop ecx
mov ebx, 1
mov edx, 0x2a
mov eax, 4
int 0x80
;mov eax, 1
;mov ebx, 0
;int 0x80 |
libsrc/video/tms9918/stdio/generic_console/generic_console.asm | jpoikela/z88dk | 0 | 173760 |
MODULE tms9918_generic_console
SECTION code_clib
EXTERN __tms9918_cls
PUBLIC __tms9918_scrollup
PUBLIC __tms9918_printc
PUBLIC __tms9918_set_ink
PUBLIC __tms9918_set_paper
PUBLIC __tms9918_set_inverse
EXTERN __tms9918_attribute
EXTERN __... |
Univalence/OldUnivalence/NatSimple.agda | JacquesCarette/pi-dual | 14 | 12672 | <filename>Univalence/OldUnivalence/NatSimple.agda
-- Very simple facts about natural numbers
module NatSimple where
import Data.Fin as F
open import Data.Empty
open import Data.Unit
open import Data.Unit.Core
open import Data.Nat renaming (_⊔_ to _⊔ℕ_)
open import Data.Sum renaming (map to _⊎→_)
open import Data.Prod... |
agda/Bound/Total/Order.agda | bgbianchi/sorting | 6 | 15193 | <gh_stars>1-10
module Bound.Total.Order {A : Set}(_≤_ : A → A → Set) where
open import Bound.Total A
data LeB : Bound → Bound → Set where
lebx : {b : Bound}
→ LeB bot b
lexy : {x y : A}
→ x ≤ y
→ LeB (val x) (val y)
lext : {b : Bound}
... |
source/tabula-casts.adb | ytomino/vampire | 1 | 15414 | -- The Village of Vampire by YT, このソースコードはNYSLです
package body Tabula.Casts is
use type Ada.Strings.Unbounded.Unbounded_String;
function Find (Container : Groups.Vector; Group : Integer)
return Groups.Cursor is
begin
for I in Container.First_Index .. Container.Last_Index loop
if Container.Constant_Reference ... |
test/interaction/Issue2749-2.agda | cruhland/agda | 1,989 | 2446 | <filename>test/interaction/Issue2749-2.agda
module Issue2749-2 where
-- testing unicode lambda and arrow
id : {A : Set} -> A -> A
id = {!!}
-- testing unicode double braces
it : {A : Set} {{a : A}} → A → A
it = {!!}
data B : Set where
mkB : B → B → B
-- testing unicode suffixes
left : B → B
left b₁ = {!!}
open i... |
oeis/314/A314244.asm | neoneye/loda-programs | 11 | 5238 | ; A314244: Coordination sequence Gal.6.644.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>(s1)
; 1,5,11,17,23,29,33,39,45,51,57,62,67,73,79,85,91,95,101,107,113,119,124,129,135,141,147,153,157,163,169,175,181,18... |
Library/Kernel/VMem/vmemChain.asm | steakknife/pcgeos | 504 | 23035 | <filename>Library/Kernel/VMem/vmemChain.asm
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Kernel VM Manager -- High-level interface routines
FILE: vmemHigh.asm
AUTHOR: <NAME>
ROUTINES:
Name ... |
agda/Esterel/Context.agda | florence/esterel-calculus | 3 | 10884 | module Esterel.Context where
open import Esterel.Lang
open import Esterel.Environment
using (Env)
open import Esterel.Variable.Signal as Signal
using (Signal ; _ₛ) renaming (_≟ₛₜ_ to _≟ₛₜₛ_)
open import Esterel.Variable.Shared as SharedVar
using (SharedVar ; _ₛₕ) renaming (_≟ₛₜ_ to _≟ₛₜₛₕ_)
open import Esterel.V... |
test/Fail/Issue1465-record.agda | shlevy/agda | 1,989 | 5488 | <reponame>shlevy/agda<gh_stars>1000+
record _ : Set where
|
programs/oeis/262/A262882.asm | karttu/loda | 0 | 81156 | <filename>programs/oeis/262/A262882.asm<gh_stars>0
; A262882: Right diagonal of A262881.
; 0,1,2,3,3,5,6,7,7,7,7,11,11,13,14,15,15,15,15,15,15,15,15,23,23,23,23,27,27,29,30,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,47,47,47,47,47,47,47,47,55,55,55,55,59,59,61,62,63,63,63,63,63
lpb $0,1
mov $1,$0
cal $1,37834... |
agda/Cham/Inference.agda | riz0id/chemical-abstract-machine | 0 | 10505 | {-# OPTIONS --without-K --safe #-}
module Cham.Inference where
|
libsrc/_DEVELOPMENT/arch/zx/misc/c/sccz80/zx_cls_wc.asm | meesokim/z88dk | 0 | 1487 | <filename>libsrc/_DEVELOPMENT/arch/zx/misc/c/sccz80/zx_cls_wc.asm<gh_stars>0
; void zx_cls_wc(struct r_Rect8 *r, uchar attr)
SECTION code_arch
PUBLIC zx_cls_wc
EXTERN asm_zx_cls_wc
zx_cls_wc:
pop af
pop hl
pop ix
push hl
push hl
push af
jp asm_zx_cls_wc
|
helloos/Bootloader/loader.fat32.16GB.asm | kbu1564/HelloOS | 15 | 165481 | OEM_ID: db "HELLOOS "
BytesPerSector: dw 0x0200
SectorsPerCluster: db 0x08
ReservedSectors: dw 0x11B2
TotalFATs: db 0x02
MaxRootEntries: dw 0x0000
NumberOfSectors: dw 0x0000
MediaDescriptor: db 0xF8
SectorsPerFAT: dw 0x0000
SectorsPerTrack: dw 0x003F
SectorsPerHead: dw... |
ports/c#-std/test/Antlr4CodeCompletion.CoreUnitTest/Grammar/XParser.g4 | kaby76/antlr4-c3 | 0 | 905 | <reponame>kaby76/antlr4-c3
parser grammar XParser;
options { tokenVocab = XLexer; }
a : A b c d e f g EOF ;
b : B? X? ;
c : C? Y? ;
d : D? Z? ;
e : E? M? h ;
f : F? N? ;
g : G ;
h : H? ;
|
libsrc/target/vz/vz_soundcopy_callee.asm | Frodevan/z88dk | 38 | 5215 | <gh_stars>10-100
;*****************************************************
;
; Video Technology library for small C compiler
;
; <NAME>
;
;*****************************************************
; ----- void __CALLEE__ vz_soundcopy_callee(char *dst, char *src, int size, int sound1, int sound2);
SECTION code_clib
PUBLIC v... |
Identity_matrix.asm | mohammadekhosravi/assembly | 2 | 171672 | ; --------------IDENTITY MATRIX----------------
; THIS PROGRAM GET A ONE DIGIT NUMBER FROM USER AND MAKE A N * N IDENTITY MATRIX.
.MODEL SMALL
.DATA
INPUT DB ? ; CONTAIN INPUT NUMBER
COUNTER DB 00H ; USING FOR PRINT 1's
ROW_COUNTER DB 00H ; COUNT THE NUMBER OF ROWS PRINTED SO FAR.
MSG1 DB... |
deBruijn/Substitution/Data/Map.agda | nad/dependently-typed-syntax | 5 | 3987 | <gh_stars>1-10
------------------------------------------------------------------------
-- A map function for the substitutions
------------------------------------------------------------------------
open import Data.Universe.Indexed
module deBruijn.Substitution.Data.Map
{i u e} {Uni : IndexedUniverse i u e} where... |
src/Relation/Binary/Indexed/EqReasoning.agda | banacorn/categories | 1 | 15254 | open import Relation.Binary.Indexed
module Relation.Binary.Indexed.EqReasoning {𝒾} {I : Set 𝒾} {𝒸 ℓ} (S : Setoid I 𝒸 ℓ) where
open Setoid S
import Relation.Binary.Indexed.PreorderReasoning as PreR
open import Relation.Binary.Indexed.Extra using (Setoid⇒Preorder)
open PreR (Setoid⇒Preorder S) public
renamin... |
thirdparty/ffmpeg/libavcodec/x86/exrdsp.asm | yashrajsingh1998/ApraPipes1 | 2,151 | 90066 | <filename>thirdparty/ffmpeg/libavcodec/x86/exrdsp.asm
;******************************************************************************
;* X86 Optimized functions for Open Exr Decoder
;* Copyright (c) 2006 Industrial Light & Magic, a division of Lucas Digital Ltd. LLC
;*
;* reorder_pixels, predictor based on patch by <NA... |
3-mid/physics/interface/source/private/box2d/box2d_physics-space.ads | charlie5/lace | 20 | 20542 | <gh_stars>10-100
with
physics.Space;
private
with
box2d_Physics.Object,
box2d_c.joint_Cursor,
box2d_c.Pointers,
physics.Model,
physics.Shape,
physics.Object,
physics.Joint.ball,
physics.Joint.slider,
physics.Joint.hinge,
physics.Joint.cone_twist,
physics.Joi... |
grammars/cs652/j/parser/J.g4 | nehabandal/codegentest | 0 | 3123 | <reponame>nehabandal/codegentest<gh_stars>0
grammar J;
@header {
import cs652.j.semantics.*; // You will need these for stuff in "returns" clauses
import org.antlr.symbols.*;
}
file returns [GlobalScope scope] // this allows us to annotate trees with symtab info
: ... EOF
;
expression returns [Type type] /... |
tools/ucd_data.adb | svn2github/matreshka | 24 | 30757 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
src/main/antlr4/com/cbrew/fstruct/notation/FeatureTerms.g4 | cbrew/quadruplet | 0 | 6431 |
grammar FeatureTerms;
/*
* Parse a feature structure expression.
*/
LINE_COMMENT
: '#' ~( '\r' | '\n' )*
-> skip;
WS
: [ \t\r\n]+
-> skip;
Equals
: '='
;
FstructVariable
: [?@][a-z0-9]+
;
Category
: [A-Z][a-z0-9]*
;
Fname
: [a-z0-9]+
;
Lparen
: '('
;
Rparen
... |
data/jpred4/jp_batch_1613899824__OTb1hTc/jp_batch_1613899824__OTb1hTc.als | jonriege/predict-protein-structure | 0 | 1508 | <filename>data/jpred4/jp_batch_1613899824__OTb1hTc/jp_batch_1613899824__OTb1hTc.als
SILENT_MODE
BLOCK_FILE jp_batch_1613899824__OTb1hTc.concise.blc
MAX_NSEQ 793
MAX_INPUT_LEN 795
OUTPUT_FILE jp_batch_1613899824__OTb1hTc.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAUL... |
programs/oeis/136/A136326.asm | jmorken/loda | 1 | 89335 | ; A136326: a(n) = a(n-1) + 4a(n-2) - 4a(n-3).
; 1,2,4,9,17,37,69,149,277,597,1109,2389,4437,9557,17749,38229,70997,152917,283989,611669,1135957,2446677,4543829,9786709,18175317,39146837,72701269,156587349,290805077,626349397,1163220309,2505397589,4652881237,10021590357,18611524949,40086361429,74446099797,160345445717,2... |
videocodec/libvpx_internal/libvpx/vp9/common/x86/vp9_postproc_sse2.asm | Omegaphora/hardware_intel_common_omx-components | 49 | 25137 | <filename>videocodec/libvpx_internal/libvpx/vp9/common/x86/vp9_postproc_sse2.asm
;
; Copyright (c) 2010 The WebM 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 p... |
programs/oeis/144/A144194.asm | neoneye/loda | 22 | 416 | <reponame>neoneye/loda<filename>programs/oeis/144/A144194.asm
; A144194: Square array (6 X 6) read by rows.
; 0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,0
mul $0,-2
pow $0,4
div $0,5
mul $0,12345679
mod $0,-7
mod $0,2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.