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 |
|---|---|---|---|---|
q2.asm | tatticoder/Simple-Code | 0 | 20247 | .MODE SMALL
.CODE
.386
.STARTUP
MOV AX,3H
MOV BX,4H
ADD [BX],AX
.EXIT
END
|
programs/oeis/241/A241520.asm | neoneye/loda | 22 | 104782 | ; A241520: Numbers n such that n^2 == -1 (mod 89).
; 34,55,123,144,212,233,301,322,390,411,479,500,568,589,657,678,746,767,835,856,924,945,1013,1034,1102,1123,1191,1212,1280,1301,1369,1390,1458,1479,1547,1568,1636,1657,1725,1746,1814,1835,1903,1924,1992,2013,2081,2102,2170,2191,2259,2280,2348,2369,2437,2458,2526,2547,2... |
src/test/kc/complex/borderline_pacman/byteboozer_decrunch.asm | jbrandwood/kickc | 2 | 19383 | // ByteBoozer Decruncher /HCL May.2003
// B2 Decruncher December 2014
.importonce
.filenamespace b2
// You must set .const B2_ZP_BASE prior the import of this file
.if (B2_ZP_BASE > $ff) {
.error "B2_ZP_BASE must be in zeropage. Was $" + toHexString(B2_ZP_BASE,4)
}
.label zp_base = B2_ZP_BASE
.la... |
src/002/separated.ads | xeenta/learning-ada | 0 | 12904 | <reponame>xeenta/learning-ada
package Separated is
procedure Watch_Me;
function Look_Out return Float;
end Separated;
|
programs/oeis/070/A070321.asm | jmorken/loda | 1 | 101144 | ; A070321: Greatest squarefree number <= n.
; 1,2,3,3,5,6,7,7,7,10,11,11,13,14,15,15,17,17,19,19,21,22,23,23,23,26,26,26,29,30,31,31,33,34,35,35,37,38,39,39,41,42,43,43,43,46,47,47,47,47,51,51,53,53,55,55,57,58,59,59,61,62,62,62,65,66,67,67,69,70,71,71,73,74,74,74,77,78,79,79,79,82,83,83,85,86,87,87,89,89,91,91,93,94,9... |
kernel/dev/flash.asm | TheMachine02/Sorcery | 14 | 247375 | <filename>kernel/dev/flash.asm
define KERNEL_FLASH_MAPPING $E00003
define KERNEL_FLASH_CTRL $E00005
define KERNEL_FLASH_SIZE $400000
flash:
.init:
ld hl, .phy_program
ld de, flash_program
ld bc, .phy_program_size
ldir
ld hl, .FLASH_DEV
ld c, KERNEL_VFS_PERMISSION_RW or KERNEL_VFS_TYPE_BLOCK_DEVICE
ld de, .ph... |
nat-to-string.agda | heades/AUGL | 0 | 13157 | <reponame>heades/AUGL
module nat-to-string where
open import bool
open import char
open import eq
open import list
open import maybe
open import nat
open import nat-division
open import nat-thms
open import product
open import string
open import termination
ℕ-to-digitsh : (base : ℕ) → 1 < base ≡ tt → (x : ℕ) → ↓𝔹 _>... |
lib/Haskell/Prim/Monad.agda | flupe/agda2hs | 0 | 15719 | <filename>lib/Haskell/Prim/Monad.agda
module Haskell.Prim.Monad where
open import Haskell.Prim
open import Haskell.Prim.Applicative
open import Haskell.Prim.Either
open import Haskell.Prim.Foldable
open import Haskell.Prim.Functor
open import Haskell.Prim.List
open import Haskell.Prim.Maybe
open import Haskell.Prim.M... |
test/Succeed/Issue59b.agda | cruhland/agda | 1,989 | 6828 | {-# OPTIONS --sized-types #-}
open import Common.Size
data Heap : (i j : Size) → Set where
node : (i j : Size) → Heap (↑ i) (↑ j)
postulate
_∪_ : Heap ∞ ∞ → Heap ∞ ∞ → Heap ∞ ∞
mkH : ∀ i j → Heap i j
merge : (i j : Size) → Heap i j → Heap ∞ ∞
merge .(↑ i) .(↑ j) (node i j) with Set
merge .(↑ i) .(↑ j) (node i... |
programs/oeis/167/A167808.asm | jmorken/loda | 1 | 160212 | <reponame>jmorken/loda
; A167808: Numerator of x(n) = x(n-1) + x(n-2), x(0)=0, x(1)=1/2.
; 0,1,1,1,3,5,4,13,21,17,55,89,72,233,377,305,987,1597,1292,4181,6765,5473,17711,28657,23184,75025,121393,98209,317811,514229,416020,1346269,2178309,1762289,5702887,9227465,7465176,24157817,39088169,31622993,102334155,165580141,133... |
maps/MountMoonB2F.asm | zavytar/pokecolorless | 0 | 168061 | <reponame>zavytar/pokecolorless<gh_stars>0
object_const_def ; object_event constants
const MOUNTMOONB2F_SUPERNERD
const MOUNTMOONB2F_TM
const MOUNTMOONB2F_ITEMBALL1
const MOUNTMOONB2F_ROCK1
const MOUNTMOONB2F_ROCK2
const MOUNTMOONB2F_ROCK3
const MOUNTMOONB2F_ROCK4
MountMoonB2F_MapScripts:
db 0 ; scene scripts... |
Tests/NetNewsWireTests/ScriptingTests/scripts/testURLsOfCurrentArticle.applescript | bubudrc/NetNewsWire | 3,016 | 3530 | -- this script tests that it is possible to get the url property of the current article
-- it uses system event accessibility scripting to set up the main window
-- one needs to authorize scripting accessibility control in the System Preferences'
-- Privacy and security pane
try
tell application "NetNewsWire"
... |
programs/oeis/098/A098723.asm | neoneye/loda | 22 | 93340 | <gh_stars>10-100
; A098723: a(n) = C(n, 4)^(n-5).
; 1,1,15,1225,343000,252047376,408410100000,1291467969000000,7281760530523359375,68304345527688750390625,1009036084126126084036009001,22455695662847780324059072265625,725747031014354499889356800000000000
mov $1,-5
bin $1,$0
sub $0,1
pow $1,$0
mov $0,$1
|
oeis/107/A107384.asm | neoneye/loda-programs | 11 | 15642 | ; A107384: a(n)= a(n-1) +3*a(n-2) -3*a(n-4).
; Submitted by <NAME>
; 0,1,1,2,5,8,20,38,83,173,362,767,1604,3386,7112,14969,31493,66242,139385,293204,616880,1297766,2730251,5743937,12084050,25422563,53483960,112519838,236719568,498011393,1047718217,2204192882
lpb $0
sub $0,1
mul $1,3
add $2,2
mov $3,$1
mov $1... |
libsrc/target/zx/stdio/__zx_printc_attr.asm | ahjelm/z88dk | 640 | 29139 | <gh_stars>100-1000
MODULE __zx_printc_attr
SECTION code_driver
PUBLIC __zx_printc_attr
EXTERN __zx_screenmode
EXTERN __zx_console_attr
IF FORsam
EXTERN SCREEN_BASE
EXTERN __sam_graphics_pageout
ENDIF
; Set the attributes for the character that has just been printed
;
; Entry: de =... |
programs/oeis/311/A311344.asm | karttu/loda | 0 | 25159 | <reponame>karttu/loda
; A311344: Coordination sequence Gal.5.95.1 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,4,8,12,16,22,26,30,34,38,42,46,50,54,60,64,68,72,76,80,84,88,92,98,102,106,110,114,118,122,126,130,136,140,144,148,15... |
programs/oeis/168/A168096.asm | karttu/loda | 1 | 101956 | ; A168096: a(n) = number of natural numbers m such that n - 6 <= m <= n + 6.
; 6,7,8,9,10,11,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13
mov $1,$0
trn $0,7
sub $1,$0
add $1,6
|
programs/oeis/213/A213046.asm | karttu/loda | 1 | 14937 | ; A213046: Convolution of Lucas numbers and positive integers repeated (A000032 and A008619).
; 2,3,8,13,25,41,71,116,193,314,514,834,1356,2197,3562,5767,9339,15115,24465,39590,64067,103668,167748,271428,439190,710631,1149836,1860481,3010333,4870829,7881179,12752024,20633221,33385262,54018502,87403782,141422304,2288261... |
s-taprop.adb | ytomino/gnat4drake | 0 | 18155 | <filename>s-taprop.adb
with System.Address_To_Named_Access_Conversions;
with System.Tasks;
package body System.Task_Primitives.Operations is
package Task_Id_Conv is
new Address_To_Named_Access_Conversions (
Tasks.Task_Record,
Tasks.Task_Id);
procedure Abort_Task (T : System.Tasking.Task_... |
programs/oeis/204/A204897.asm | neoneye/loda | 22 | 28207 | ; A204897: a(n) = (p(n)-q(n))/n, where (p(n), q(n)) is the least pair of primes for which n divides p(n)-q(n).
; 1,1,1,1,1,1,2,1,1,1,1,1,2,1,1,1,1,1,2,1,1,1,2,1,2,1,1,1,1,1,2,1,2,1,1,1,2,1,1,1,1,1,2,1,1,1,2,1,2,1,1,1,2,1,2,1,1,1,1,1,2,1,2,1,1,1,2,1,1,1,1,1,2,1,2,1,1,1,2,1,1,1,2,1,2,1,1,1,2,1,2,1,2,1,1,1,2,1,1,1
add $0... |
U9200/Tests/CpuTest.asm | sboydlns/univacemulators | 2 | 11008 | START
DS CL5
*
* TEST1 - load, store and add half word
* TEST2 - subtract half word
* TEST3 - compare half word
* TEST4 - logical instructions TM, NI, OI
* TEST5 - logical instructions CLI, MVI, AI
* TEST6 - character instructions MVC, CLC, TR, MVN
* TEST7 - character instructins NC, OC
* ... |
archive/agda-3/src/Oscar/Class/Reflexivity/Function.agda | m0davis/oscar | 0 | 6017 |
open import Oscar.Prelude
open import Oscar.Class
open import Oscar.Class.Reflexivity
module Oscar.Class.Reflexivity.Function where
module _
{a}
where
instance
𝓡eflexivityFunction : Reflexivity.class Function⟦ a ⟧
𝓡eflexivityFunction .⋆ = ¡
|
programs/oeis/037/A037165.asm | neoneye/loda | 22 | 88593 | ; A037165: a(n) = prime(n)*prime(n+1) - prime(n) - prime(n+1).
; 1,7,23,59,119,191,287,395,615,839,1079,1439,1679,1931,2391,3015,3479,3959,4619,5039,5615,6395,7215,8447,9599,10199,10811,11447,12095,14111,16379,17679,18767,20423,22199,23399,25271,26891,28551,30615,32039,34199,36479,37631,38807,41579,46619,50171,51527,52... |
programs/oeis/050/A050407.asm | karttu/loda | 1 | 865 | <filename>programs/oeis/050/A050407.asm<gh_stars>1-10
; A050407: a(n) = n*(n^2 - 6*n + 11)/6.
; 0,1,1,1,2,5,11,21,36,57,85,121,166,221,287,365,456,561,681,817,970,1141,1331,1541,1772,2025,2301,2601,2926,3277,3655,4061,4496,4961,5457,5985,6546,7141,7771,8437,9140,9881,10661,11481,12342,13245,14191,15181,16216,17297,1842... |
lists/listsummation.asm | ihasdapie/AssemblyLearning | 1 | 25213 | section .data
; standard constants
LF equ 10
NULL equ 0
TRUE equ 1
FALSE equ 0
EXIT_SUCCESS equ 0
STDIN equ 0
STDOUT equ 1
STDERR equ 2
SYS_read equ 0
SYS_write equ 1
SYS_open equ 2
SYS_close equ 3
SYS_fork equ 57
SYS_exit equ 60
SYS_create equ 85
SYS_time equ 201
; my variables
myList dd 1,2,... |
gcc-gcc-7_3_0-release/gcc/ada/exp_ch12.adb | best08618/asylo | 7 | 30260 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/ada/exp_ch12.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
orka/src/gl/implementation/gl-api-uniforms-doubles.ads | onox/orka | 52 | 9760 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2016 onox <<EMAIL>>
--
-- 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
-... |
oeis/001/A001526.asm | neoneye/loda-programs | 11 | 19308 | <reponame>neoneye/loda-programs
; A001526: (7n+1)(7n+6).
; 6,104,300,594,986,1476,2064,2750,3534,4416,5396,6474,7650,8924,10296,11766,13334,15000,16764,18626,20586,22644,24800,27054,29406,31856,34404,37050,39794,42636,45576,48614,51750,54984,58316,61746,65274,68900,72624,76446,80366,84384,88500,92714,97026,101436,10594... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_video_gstbasevideodecoder_h.ads | persan/A-gst | 1 | 5140 | <gh_stars>1-10
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with System;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_video_gstbasevideocodec_h;
with glib;
with glib.Values;
with System;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_base_gstadapte... |
GoodLang/src/com/itmo/obobrov/GoodLang.g4 | olegggatttor/MT | 0 | 6946 | grammar GoodLang;
program : NL* (entities (NL+ | EOF))* EOF ;
entities : function ;
function : AT NAME (LPAR argument (COMMA argument)* RPAR)? LSCOPE body? RSCOPE ;
argument : NAME ;
body : ((loop | assigment | ret | call | read | write | when | ) NL)* ;
when : WHEN LSCOPE whenBody RSCOPE ;
whenBody : whenCond* ... |
1A/S5/PIM/tps/tp8generique/frequences_caracteres.adb | MOUDDENEHamza/ENSEEIHT | 4 | 8810 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with ABR;
-- Afficher la fréquence absolue des caractères d'une chaîne de caractère.
procedure Frequences_Caracteres is
package ABR_String_Integer is
new ABR (T_Cle => Character, T_Donnee => Integer, "<" => "<");
use ... |
Structure/Category.agda | Lolirofle/stuff-in-agda | 6 | 16344 | <filename>Structure/Category.agda
import Lvl
module Structure.Category {ℓₒ ℓₘ ℓₑ : Lvl.Level} where
open import Functional using (swap)
open import Logic
open import Logic.Propositional
import Structure.Categorical.Names as Names
open import Structure.Categorical.Properties
open import Structure.Semicategor... |
experiments/test-suite/mutation-based/10/4/balancedBST.als | kaiyuanw/AlloyFLCore | 1 | 1198 | <gh_stars>1-10
pred test70 {
some disj BinaryTree0: BinaryTree {some disj Node0, Node1, Node2, Node3: Node {
BinaryTree = BinaryTree0
root = BinaryTree0->Node3
Node = Node0 + Node1 + Node2 + Node3
left = Node2->Node1 + Node3->Node2
right = Node3->Node0
elem = Node0->7 + Node1->7 + Node2->-5 + Node3->-8
Balanced[]
}}
}
... |
Irvine/Examples/ch05/32 bit/InputLoop.asm | alieonsido/ASM_TESTING | 0 | 81639 | ; Library Test #1: Integer I/O (InputLoop.asm)
; Tests the Clrscr, Crlf, DumpMem, ReadInt, SetTextColor,
; WaitMsg, WriteBin, WriteHex, and WriteString procedures.
INCLUDE Irvine32.inc
.data
COUNT = 4
BlueTextOnGray = blue + (lightGray * 16)
DefaultColor = lightGray + (black * 16)
arrayD SDWORD 12345678h,1A4B200... |
programs/oeis/036/A036141.asm | karttu/loda | 0 | 166215 | ; A036141: a(n) = 6^n mod 109.
; 1,6,36,107,97,37,4,24,35,101,61,39,16,96,31,77,26,47,64,57,15,90,104,79,38,10,60,33,89,98,43,40,22,23,29,65,63,51,88,92,7,42,34,95,25,41,28,59,27,53,100,55,3,18,108,103,73,2,12,72,105,85,74,8,48,70,93,13,78,32,83,62,45,52,94,19,5,30,71,99,49,76,20,11,66,69,87,86,80,44,46,58,21,17,102,67... |
home.asm | opiter09/ASM-Machina | 1 | 99081 | INCLUDE "constants.asm"
SECTION "NULL", ROM0
NULL::
INCLUDE "home/header.asm"
SECTION "High Home", ROM0
INCLUDE "home/lcd.asm"
INCLUDE "home/clear_sprites.asm"
INCLUDE "home/copy.asm"
SECTION "Home", ROM0
INCLUDE "home/start.asm"
INCLUDE "home/joypad.asm"
INCLUDE "data/maps/map_header_pointers.asm"
INCLUDE "... |
Userland/dummy/asm/stdioASM.asm | fsammart/SistemasOperativos | 0 | 3810 |
GLOBAL readC
GLOBAL writeC
GLOBAL sys_call
section .text
readC:
push rbp
mov rbp, rsp
mov rdx, rdi
mov rcx, rsi
mov rdi, 3
mov rsi, 0
int 80h
mov rsp, rbp
pop rbp
ret
writeC:
push rbp
mov rbp, rsp
mov rcx, rsi
mov rdx, rdi
mov rdi, 4
mov rsi, 0
int 80h
mov rsp, rbp
pop rbp
ret
sys_call:
push rbp... |
oeis/270/A270607.asm | neoneye/loda-programs | 11 | 243167 | ; A270607: Number of 2X2X2 triangular 0..n arrays with some element plus some adjacent element totalling n+1 or n-1 exactly once.
; 6,0,36,36,96,120,204,252,360,432,564,660,816,936,1116,1260,1464,1632,1860,2052,2304,2520,2796,3036,3336,3600,3924,4212,4560,4872,5244,5580,5976,6336,6756,7140,7584,7992,8460,8892,9384,9840... |
proofs/AKS/Algebra/Structures.agda | mckeankylej/thesis | 1 | 11514 | <reponame>mckeankylej/thesis
open import Level using (_⊔_; suc; Lift; lift)
open import Function using (_$_; _∘_; _⤖_)
open import Relation.Nullary using (¬_)
open import Relation.Nullary.Decidable using (False)
open import Relation.Binary using (Rel; Decidable; Setoid; DecSetoid; IsEquivalence; IsDecEquivalence)
open... |
test/Succeed/Issue493.agda | cruhland/agda | 1,989 | 17200 | <filename>test/Succeed/Issue493.agda
module Issue493 where
module M where
postulate A B C : Set
module M₁ = M renaming (B to Y) hiding (A)
module M₂ = M using (A) using (B)
module M₃ = M hiding (A) hiding (B)
open M using (A) public
|
source/web/tools/a2js/webapi/html/webapi-html-option_elements.ads | svn2github/matreshka | 24 | 7769 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
programs/oeis/033/A033425.asm | karttu/loda | 1 | 176403 | <gh_stars>1-10
; A033425: [ 10^7/n ].
; 10000000,5000000,3333333,2500000,2000000,1666666,1428571,1250000,1111111,1000000,909090,833333,769230,714285,666666,625000,588235,555555,526315,500000,476190,454545,434782,416666,400000,384615
mov $1,5
mov $3,$0
cmp $3,$0
add $3,4
add $1,$3
pow $1,7
mov $2,$0
add $2,1
div $1,$2
|
test/Fail/Issue1609d.agda | cruhland/agda | 1,989 | 9226 | <filename>test/Fail/Issue1609d.agda<gh_stars>1000+
-- Andreas, 2015-07-13 Better parse errors for illegal type signatures
A with B : Set
|
6502EMU/Instructions/CLC.asm | austinbentley/6502toAVR | 0 | 243585 | <gh_stars>0
/*
* CLC.asm
*
* Created: 5/13/2018 2:52:01 PM
* Author: ROTP
*/
CLC_implied:
swapPCwithTEMPPC
CBR SR, CARRY_FLAG
ADIW ZH:ZL, 1
RET |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_563.asm | ljhsiun2/medusa | 9 | 83134 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x67f9, %r8
nop
sub $55510, %rsi
movw $0x6162, (%r8)
nop
nop
and $45579, %r14
lea addresses_D_ht+0xaaca, %rsi
lea addresses_WC_ht+0x7f9, %rdi
nop
nop
nop
add %r15, %r15
mov $43,... |
src/antlr/com/gmalmquist/gs/GerbilScript.g4 | gmalmquist/gerbil | 0 | 5442 | grammar GerbilScript;
start : stat+ ;
stat : declarationStat ';'
| functionDeclaration
| expr ';'
| ';'
| block
| returnStatement
| breakStatement
| yieldStatement
| controlBlock
| classDefinition
;
block : '{' stat* '}' ;
declarationStat : ('var' | type) multiAssig... |
oeis/301/A301717.asm | neoneye/loda-programs | 11 | 92267 | ; A301717: Partial sums of A301716.
; Submitted by <NAME>(s4)
; 1,7,19,37,55,85,121,157,205,253,307,373,439,511,589,673,763,859,961,1063,1177,1297,1417,1549,1681,1819,1969,2119,2275,2437,2605,2779,2959,3145,3331,3529,3733,3937,4153,4369,4591,4825,5059,5299,5545,5797,6055,6319,6589,6859,7141,7429,7717,8017,8317,8623
ad... |
src/scripts/front_app.applescript | brianm/deeplinker | 0 | 2403 |
tell application "System Events"
set frontApp to first application process whose frontmost is true
set frontAppName to name of frontApp
tell process frontAppName
tell (1st window whose value of attribute "AXMain" is true)
set windowTitle to value of attribute "AXTitle"
end ... |
archs/fences_as_relations/exec_ppc.als | mpardalos/memalloy | 20 | 1052 | <gh_stars>10-100
module exec_ppc[E]
open exec_H[E]
sig Exec_PPC extends Exec_H {
sync, lwsync, isync:E->E
}{
is_fence_rel[isync, sb]
is_fence_rel[sync, sb]
is_fence_rel[lwsync, sb]
// the full fence implies the lightweight fence
sync in lwsync
}
one sig rm_isync extends PTag {}
one sig rm_sync extends P... |
src/semantica-gci.ads | alvaromb/Compilemon | 1 | 5828 | <reponame>alvaromb/Compilemon
with Semantica.Declsc3a,
Pilas,
Decls.Dgenerals;
use Semantica.Declsc3a;
package Semantica.gci is
Camp_Nul : constant Camp := (Const, Var_Nul);
type T_Param is record
Base, Despl : num_Var;
end record;
procedure Genera
(Instr : in tInstruccio;
C1 : ... |
constants.asm | chaos-lord/CryEd | 1 | 26228 | <reponame>chaos-lord/CryEd
include "constants/misc_constants.asm"
include "constants/sfx_constants.asm"
include "constants/gfx_constants.asm"
include "constants/text_constants.asm"
include "constants/battle_constants.asm"
include "constants/audio_constants.asm"
include "constants/cry_constants.asm"
include "constants/m... |
programs/oeis/106/A106505.asm | jmorken/loda | 1 | 2649 | ; A106505: Ordered and uniqued length of side common to the two angles, one being the double of the other, of a primitive integer-sided triangle.
; 5,7,9,11,13,15,16,17,19,21,23,24,25,27,29,31,32,33,35,37,39,40,41,43,45,47,48,49,51,53,55,56,57,59,61,63,64,65,67,69,71,72,73,75,77,79,80,81,83,85,87,88,89,91,93,95,96,97,9... |
agda-stdlib/src/Algebra/FunctionProperties/Consequences/Core.agda | DreamLinuxer/popl21-artifact | 5 | 17242 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Algebra.FunctionProperties.Consequences.Core
{a} {A : Set a} where... |
fiat-amd64/144.28_ratio10700_seed380019983455042_mul_p521.asm | dderjoel/fiat-crypto | 491 | 1225 | <filename>fiat-amd64/144.28_ratio10700_seed380019983455042_mul_p521.asm
SECTION .text
GLOBAL mul_p521
mul_p521:
sub rsp, 0x2d8 ; last 0x30 (6) for Caller - save regs
mov [ rsp + 0x2a8 ], rbx; saving to stack
mov [ rsp + 0x2b0 ], rbp; saving to stack
mov [ rsp + 0x2b8 ], r12; saving to stack
mov [ rsp + 0x2c0 ], r13; ... |
sw/552tests/inst_tests/jalr_1.asm | JPShen-UWM/ThreadKraken | 1 | 96298 | // Original test: ./bolanows/hw4/problem6/jalr_1.asm
// Author: bolanows
// Test source code follows
// Tests to jump to registers other than r7
LBI r3 26
Nop
Nop
JALR r3, 0 // Should jump to Target, PC = 26
Nop
Nop
Nop
Halt
Nop
Nop
Nop
Nop
Nop
Nop // PC = 26 Target
Nop
Halt
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_657.asm | ljhsiun2/medusa | 9 | 4186 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1aa1d, %r15
nop
cmp $33091, %rdx
mov $0x6162636465666768, %r9
movq %r9, (%r15)
nop
nop
nop
nop
nop
dec %r8
lea addresses_normal_ht+0x7e1d, %rsi
c... |
oeis/269/A269745.asm | neoneye/loda-programs | 11 | 96258 | <filename>oeis/269/A269745.asm
; A269745: Maximal number of 1's in an n X n {0,1} Toeplitz matrix with property that no four 1's form a square with sides parallel to the edges of the matrix.
; Submitted by <NAME>
; 1,3,6,10,14,18,23,29,36,44,52,60,68,76
mov $2,$0
mov $4,$0
lpb $2
mov $0,$4
sub $2,1
sub $0,$2
m... |
src/dll/BugslayerUtil.asm | szapp/Ninja | 17 | 92341 | <reponame>szapp/Ninja
; DLL loader for Ninja
%include "inc/stackops.inc"
bits 32
extern LoadLibraryA
extern GetProcAddress
extern SetUnhandledExceptionFilter
extern Ninja
export DllMain
section .data
DLLhndl dd 0x0
_GetFaultReason dd GetFaultReason.init
... |
src/Categories/Category/Construction/MonoidalFunctors.agda | TOTBWF/agda-categories | 0 | 11590 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category.Monoidal.Structure using (MonoidalCategory)
module Categories.Category.Construction.MonoidalFunctors {o ℓ e o′ ℓ′ e′}
(C : MonoidalCategory o ℓ e) (D : MonoidalCategory o′ ℓ′ e′) where
-- The functor category for a given pair of monoidal categories... |
pkgs/tools/yasm/src/modules/arch/x86/tests/sse5-err.asm | manggoguy/parsec-modified | 64 | 11013 | fmaddpd xmm1, xmm2, xmm1, xmm3 ; illegal
fmaddpd xmm1, xmm2, xmm3, xmm3 ; illegal
fmaddpd xmm1, xmm2, xmm2, xmm3 ; illegal
fmaddps xmm1, xmm2, xmm1, xmm3 ; illegal
fmaddps xmm1, xmm2, xmm3, xmm3 ; illegal
fmaddps xmm1, xmm2, xmm2, xmm3 ; illegal
fmaddsd xmm1, xmm2, xmm1, xmm3 ; illegal
fmaddsd xmm1, xmm2, xmm3... |
oeis/054/A054442.asm | neoneye/loda-programs | 11 | 247345 | <reponame>neoneye/loda-programs
; A054442: Second convolution of A001405 (central binomial numbers).
; Submitted by <NAME>
; 1,3,9,22,54,123,281,618,1362,2934,6330,13452,28620,60243,126921,265282,554874,1153506,2399390,4966740,10286196,21219038,43790154,90076452,185353204,380364108,780786516,1599015192,3275589144
mov ... |
programs/oeis/057/A057902.asm | neoneye/loda | 22 | 88590 | <gh_stars>10-100
; A057902: a(n) = 5^prime(n).
; 25,125,3125,78125,48828125,1220703125,762939453125,19073486328125,11920928955078125,186264514923095703125,4656612873077392578125,72759576141834259033203125,45474735088646411895751953125,1136868377216160297393798828125,710542735760100185871124267578125
seq $0,40 ; The pr... |
test/Succeed/GeneralizeIssue1.agda | shlevy/agda | 1,989 | 2881 | <filename>test/Succeed/GeneralizeIssue1.agda
variable
S : Set
data D (A : Set) : Set1 where
d : S → D A
|
1-source-files/main-sources/elite-disc.asm | markmoxon/elite-beebasm | 251 | 173098 | \ ******************************************************************************
\
\ ELITE DISC IMAGE SCRIPT
\
\ Elite was written by <NAME> and <NAME> and is copyright Acornsoft 1984
\
\ The code on this site is identical to the source discs released on Ian Bell's
\ personal website at http://www.elitehomepage.org/ (i... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43204e.ada | best08618/asylo | 7 | 11211 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43204e.ada
-- C43204E.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
-- unlimi... |
programs/oeis/250/A250655.asm | neoneye/loda | 22 | 3153 | ; A250655: Number of (n+1) X (7+1) 0..1 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing min(x(i,j),x(i-1,j)) in the j direction.
; 81,169,345,697,1401,2809,5625,11257,22521,45049,90105,180217,360441,720889,1441785,2883577,5767161,11534329,23068665,46137337,92274681,184549369,369098745,738... |
fiat-amd64/63.88_ratio13929_seed3975821006667828_mul_p256.asm | dderjoel/fiat-crypto | 491 | 22937 | SECTION .text
GLOBAL mul_p256
mul_p256:
sub rsp, 0x80 ; last 0x30 (6) for Caller - save regs
mov [ rsp + 0x50 ], rbx; saving to stack
mov [ rsp + 0x58 ], rbp; saving to stack
mov [ rsp + 0x60 ], r12; saving to stack
mov [ rsp + 0x68 ], r13; saving to stack
mov [ rsp + 0x70 ], r14; saving to stack
mov [ rsp + 0x78 ], ... |
src/startup.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 17949 | <filename>src/startup.adb
with Ada.Real_Time; use Ada.Real_Time;
with STM_Board; use STM_Board;
with Inverter_ADC; use Inverter_ADC;
with Inverter_PWM; use Inverter_PWM;
package body Startup is
-- procedure Wait_Until_V_Battery;
-- Wait until battery voltage is between minimum and maximum.
-- Enabl... |
helpers/fact_2_3_1_0.als | Alan32Liu/SWEN90010A2Marking | 0 | 2396 | <gh_stars>0
pred did_not_call {all s: State | no s.last_called}
pred did_not_connect {all s: State | no s.audio}
fact {did_not_call or did_not_connect}
// fact {all s, s': State | not no s.last_called or no s'.audio}
|
alloy4fun_models/trashltl/models/12/stAeeMZLb3SKfAaQr.als | Kaixi26/org.alloytools.alloy | 0 | 1119 | <gh_stars>0
open main
pred idstAeeMZLb3SKfAaQr_prop13 {
always some f:File | f in Trash implies always once f in File-Trash
}
pred __repair { idstAeeMZLb3SKfAaQr_prop13 }
check __repair { idstAeeMZLb3SKfAaQr_prop13 <=> prop13o } |
programs/oeis/066/A066373.asm | neoneye/loda | 22 | 100056 | ; A066373: a(n) = (3*n-2)*2^(n-3).
; 2,7,20,52,128,304,704,1600,3584,7936,17408,37888,81920,176128,376832,802816,1703936,3604480,7602176,15990784,33554432,70254592,146800640,306184192,637534208,1325400064,2751463424,5704253440,11811160064,24427626496,50465865728,104152956928,214748364800,442381631488,910533066752,18726... |
mc-sema/validator/x86_64/tests/ADC8rr.asm | randolphwong/mcsema | 2 | 92433 | <reponame>randolphwong/mcsema
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; ADC8rr
mov ch, 0xc
mov dh, 0x10
;TEST_BEGIN_RECORDING
adc ch, dh
;TEST_END_RECORDING
|
include/mpir-3.0.0/mpn/add_err2_n.asm | theprogrammermachine/EogenVirtualMachine | 0 | 3954 | dnl AMD64 mpn_add_err2_n
dnl Copyright (C) 2009, <NAME>
dnl All rights reserved.
dnl Redistribution and use in source and binary forms, with or without
dnl modification, are permitted provided that the following conditions are
dnl met:
dnl 1. Redistributions of source code must retain the above copyright not... |
test/Fail/Issue5079.agda | cagix/agda | 1,989 | 3594 | open import Agda.Builtin.Bool
data D : Set where
c : Bool → D
f : @0 D → Bool
f (c true) = true
f (c false) = false
|
mc-sema/validator/x86_64/tests/SUBR_F32m.asm | randolphwong/mcsema | 2 | 87231 | <reponame>randolphwong/mcsema
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_FPU_PE|FLAG_FPU_C1
;TEST_FILE_META_END
FLDPI
;TEST_BEGIN_RECORDING
lea rdi, [rsp-0xc]
FST dword [rdi]
FSUBR dword [rdi]
mov edi, 0
;TEST_END_RECORDING
|
untested/ARM/bmiStuff.asm | GabrielRavier/Generic-Assembly-Samples | 0 | 246466 |
code32
format ELF
public _andn
public _blsi
public _blsr
public _andn64
public _blsi64
public _blsr64
section '.text' executable align 16
_andn:
bic r0, r1, r0
bx lr
_blsi:
rsb r3, r0, #0
and r0, r0, r3
bx lr
_blsr:
sub r3, r0, #1
and r0, r0, r3
bx lr
_an... |
test/Succeed/Issue1592a.agda | shlevy/agda | 3 | 106 | -- Andreas 2015-01-07 fixing polarity of projection-like functions
-- {-# OPTIONS -v tc.polarity:20 -v tc.proj.like:10 #-}
-- {-# OPTIONS -v tc.conv.elim:25 --show-implicit #-}
open import Common.Size
-- List covariant covariant
data List (i : Size) (A : Set) : Set where
[] : List i A
cons : ∀{j : Size< i} → A →... |
src/databases-sqlite.adb | skordal/databases | 0 | 13043 | <gh_stars>0
-- Databases - A simple database library for Ada applications
-- (c) <NAME> 2019 <<EMAIL>>
-- Report bugs and issues on <https://github.com/skordal/databases/issues>
-- vim:ts=3:sw=3:et:si:sta
with Ada.Text_IO;
with Interfaces.C.Pointers;
package body Databases.Sqlite is
function Get_Value (This :... |
scripts/music/en/previousTrack.applescript | dnedry2/vscode-itunes | 16 | 833 | tell application "Music"
back track
end tell
|
prototyping/Properties/TypeCheck.agda | MeltzDev/luau | 0 | 5673 | {-# OPTIONS --rewriting #-}
module Properties.TypeCheck where
open import Agda.Builtin.Equality using (_≡_; refl)
open import Agda.Builtin.Bool using (Bool; true; false)
open import FFI.Data.Maybe using (Maybe; just; nothing)
open import FFI.Data.Either using (Either)
open import Luau.TypeCheck using (_⊢ᴱ_∈_; _⊢ᴮ_∈_;... |
boot/16bit-print_hex.asm | Soptq/sim-osv2 | 0 | 18179 | print_hex:
pusha
mov cx, 0
; to print hex 0x1234, we need to convert it to string 0x1234 and then call print function
; for 0-9, we will just add 0x30 to them so that 0x0 could be 0x30
; for A-F, we will add to them so that 0xA could be 0x41
hex_loop:
cmp cx, 4 ; iterate 4 times as each register cu... |
Transynther/x86/_processed/AVXALIGN/_st_zr_4k_sm_/i3-7100_9_0x84_notsx.log_21829_908.asm | ljhsiun2/medusa | 9 | 94935 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r9
push %rbp
push %rbx
push %rcx
lea addresses_A_ht+0x16573, %r11
xor %r9, %r9
mov (%r11), %r10d
nop
add $21056, %rbp
lea addresses_WT_ht+0x14f3, %rbx
nop
nop
sub $9454, %r13
mov (%rbx), %cx
nop
xor %rcx, %rcx
lea addresses_UC_ht+0xe9f3, %... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1068.asm | ljhsiun2/medusa | 9 | 173342 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xb8fe, %r12
clflush (%r12)
nop
nop
xor $31792, %r9
movw $0x6162, (%r12)
dec %r13
lea addresses_D_ht+0x1e2fe, %rsi
lea addresses_A_ht+0x109fe, %rdi
nop... |
util/thg/nthu.asm | olifink/smsqe | 0 | 7902 | * Find the next Job using a Thing v0.00 Feb 1988 J.R.Oakley QJUMP
* (It's just one Job after another)
section thing
*
include 'dev8_mac_assert'
include 'dev8_keys_err'
include 'dev8_keys_sys'
include 'dev8_keys_thg'
*
xref th_find
xref th_nxtu
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/named_test.adb | best08618/asylo | 7 | 21480 | <gh_stars>1-10
-- { dg-do run }
with Text_IO; use Text_IO;
procedure Named_Test is
type Base is tagged limited record
Flag : boolean;
Value : integer;
end record;
--
function Build (X : Integer; Y : Integer) return Base is
begin
return Result : Base do
Result.Flag := (X = Y);
... |
src/macros.asm | Q-Bert-Reynolds/gun-hockey-gb | 1 | 169108 | TRAMPOLINE: MACRO ;\1 = jump address
ld b, BANK(\1)
ld hl, \1
call Trampoline
ENDM
PUSH_VAR: MACRO ;\1 = WRAM address
ld a, [\1]
push af
ENDM
POP_VAR: MACRO ;\1 = WRAM address
pop af
ld [\1], a
ENDM
;Debug messages can contain expressions between %%.
;When enabled in the settings, whenever a debug mes... |
tools-src/gnu/gcc/gcc/ada/exp_code.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 4863 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/083/A083305.asm | neoneye/loda-programs | 11 | 173087 | ; A083305: (4*(n+10)^n+n^n)/5.
; Submitted by <NAME>
; 1,9,116,1763,30784,608125,13431104,328435647,8819323904,258227642321,8194000000000,280279062767899,10285785324929024,403289664570492357,16830798499899981824,745145638470458984375,34890683668357841158144,1723120618512823480401433,89530853568169585920966656,488300468... |
contrib/ayacc/src/string_pkg.ads | faelys/gela-asis | 4 | 29348 | <filename>contrib/ayacc/src/string_pkg.ads
-- Module : string_pkg_.ada
-- Component of : common_library
-- Version : 1.2
-- Date : 11/21/86 16:35:52
-- SCCS File : disk21~/rschm/hasee/sccs/common_library/sccs/sxstring_pkg_.ada
-- $Source: /nosc/work/abstractions/string/RCS/string.spc,v $
-- $Re... |
src/main/antlr4/KuduSql.g4 | gnawoal/kudu-shell | 0 | 2522 | grammar KuduSql;
|
testsuite/tests-parser_data-xml_reader.ads | reznikmm/increment | 5 | 21017 | <filename>testsuite/tests-parser_data-xml_reader.ads
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with League.Strings;
with XML.SAX.Attributes;
with XML.SAX.Content_Handlers;
with XML.Templa... |
Control Statements/try/on error/on error errorMessage number errorNumber.applescript | looking-for-a-job/applescript-examples | 1 | 2360 | #!/usr/bin/osascript
try
er
on error errorMessage number errorNumber
set err to errorMessage & return & "errorNumber: " & errorNumber
display alert (err)
end try |
examples/src/examples.ads | TNO/Rejuvenation-Ada | 1 | 15525 | package Examples is
end Examples;
|
programs/oeis/249/A249674.asm | neoneye/loda | 22 | 100003 | ; A249674: a(n) = 30*n.
; 0,30,60,90,120,150,180,210,240,270,300,330,360,390,420,450,480,510,540,570,600,630,660,690,720,750,780,810,840,870,900,930,960,990,1020,1050,1080,1110,1140,1170,1200,1230,1260,1290,1320,1350,1380,1410,1440,1470,1500,1530,1560,1590,1620,1650,1680,1710,1740,1770,1800,1830,1860,1890,1920,1950,198... |
programs/oeis/044/A044941.asm | karttu/loda | 0 | 170542 | <reponame>karttu/loda
; A044941: Number of runs of even length in base 10 representation of n.
; 0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0
mod $0,11
bin $0,10
mov $1,$0
|
DecisionModel/src/main/antlr/DeciLan.g4 | OuHangKresnik/Ninja | 0 | 1796 | /**
* Define a grammar called OuhangFirst
* this grammar is similar to Java while much simpler
*/
grammar DeciLan;
/**
* Package.
*/
packageDeclaration
: 'package' Identifier (DOT Identifier)* ';'
;
/**
* Import model.
*/
importModelDeclaration
: 'import-model' Identifier (DOT Identifier)* (... |
SmmBackdoor/x64_locate.asm | L0czek/SmmBackdoor | 0 | 245567 | [bits 64]
[org 0]
.section .text
global get_rip
global OriginalEntryPoint_offset
extern BackdoorMain
get_rip:
call _next
_next:
pop rax
ret
.section .data
[align 8]
OriginalEntryPoint_offset: dq 0x1234567890abcdef
BackdoorEntrypoint: dq BackdoorMain
|
hello_world/hello_world.asm | swapravo/AA-and-me | 0 | 81401 | <filename>hello_world/hello_world.asm
; tested on 32bit Ubuntu lts 12.04
global _start
; text section of the program
; This section is supposed to have hold instructions
section .text
; _start is the assembly equivalent of the main() of java or C
_start:
; we'll use systemcalls to print to the screen
; unistd_32.... |
boot/isoboot.asm | semahawk/kernel | 0 | 173746 | org 0x7c00
bits 16
start:
jmp 0x0000:boot
; pad with zeroes so the BIT starts at byte 8
times 8-($-$$) db 0
; BIT = Boot Information Table
BIT_PrimaryVolumeDescriptor dd 0 ; LBA of the Primary Volume Descriptor
BIT_BootFileLocation dd 0 ; LBA of the Boot File
BIT_BootFileLength dd 0 ;... |
testc/keyboard/keyio.asm | krismuad/TOWNSEMU | 124 | 84369 | <reponame>krismuad/TOWNSEMU
ASSUME CS:CODE
PUBLIC CLEAR_IF
PUBLIC SET_IF
PUBLIC RESETKEYBIOS
PUBLIC A0A1
PUBLIC A1A1
PUBLIC A1
PUBLIC A0
PUBLIC A1TODATA
PUBLIC A2TODATA
CODE SEGMENT
CLEAR_IF PROC
CLI
RET
CLEAR_IF ENDP
SET_IF PROC
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.