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 |
|---|---|---|---|---|
u7-common/patch-eop-cycleInventoryDialogs.asm | JohnGlassmyer/UltimaHacks | 68 | 103592 | <reponame>JohnGlassmyer/UltimaHacks
[bits 16]
startPatch EXE_LENGTH, eop-cycleInventoryDialogs
startBlockAt addr_eop_cycleInventoryDialogs
push bp
mov bp, sp
; bp-based stack frame:
%assign arg_direction 0x04
%assign ____callerIp 0x02
%assign ____callerBp 0x00
push ... |
FormalAnalyzer/models/meta/cap_location.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 5367 | <filename>FormalAnalyzer/models/meta/cap_location.als
// filename: cap_location.als
module cap_location
open IoTBottomUp
one sig cap_location extends Capability{}
{
attributes = cap_location_attr
}
abstract sig cap_location_attr extends Attribute {}
one sig cap_location_attr_mode extends cap_location_attr {}
{
... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_1414.asm | ljhsiun2/medusa | 9 | 176729 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1bd19, %rsi
lea addresses_normal_ht+0x15c3d, %rdi
nop
nop
nop
nop
nop
sub $24960, %rax
mov $41, %rcx
rep movsw
nop
nop
add %rax, %rax
lea addresses_D_ht+0x1e269, %rsi
lea add... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_194.asm | ljhsiun2/medusa | 9 | 174065 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_194.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1ac4e, %r11
nop
nop
nop
nop
nop
add %rsi, %rsi
mov (%r11), %r13w
nop
nop
nop
nop
cmp %r11... |
programs/oeis/017/A017361.asm | neoneye/loda | 22 | 160646 | ; A017361: a(n) = (10*n + 7)^9.
; 40353607,118587876497,7625597484987,129961739795077,1119130473102767,6351461955384057,27206534396294947,95151694449171437,285544154243029527,760231058654565217,1838459212420154507,4108400332687853397,8594754748609397887,17001416405572203977,32052064847671367667,57955795548021664957,101... |
other.7z/SFC.7z/SFC/ソースデータ/MarioKart/TITLE.asm | prismotizm/gigaleak | 0 | 29971 | Name: TITLE.asm
Type: file
Size: 58830
Last-Modified: '1992-04-27T15:00:00Z'
SHA-1: 7363A47D8E3BC60C2BDDA4BDD8DA0750D5E0A86F
Description: null
|
oeis/105/A105198.asm | neoneye/loda-programs | 11 | 12763 | ; A105198: a(n) = n(n+1)/2 mod 4.
; Submitted by <NAME>
; 0,1,3,2,2,3,1,0,0,1,3,2,2,3,1,0,0,1,3,2,2,3,1,0,0,1,3,2,2,3,1,0,0,1,3,2,2,3,1,0,0,1,3,2,2,3,1,0,0,1,3,2,2,3,1,0,0,1,3,2,2,3,1,0,0,1,3,2,2,3,1,0,0,1,3,2,2,3,1,0,0,1,3,2,2,3,1,0,0,1,3,2,2,3,1,0,0,1,3,2
add $0,1
bin $0,2
mod $0,4
|
src/STLC/Term.agda | johnyob/agda-types | 0 | 9517 | module STLC.Term where
open import Data.Fin using (Fin)
open import Data.Fin.Substitution
open import Data.Nat using (ℕ; _+_)
open import Relation.Binary.Construct.Closure.ReflexiveTransitive
using (Star; ε; _◅_)
open import Data.Vec using (Vec; []; _∷_; lookup)
open import Relation.Binary.PropositionalEquality
... |
Transynther/x86/_processed/NC/_ht_zr_un_/i9-9900K_12_0xa0_notsx.log_21829_184.asm | ljhsiun2/medusa | 9 | 246877 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x2256, %rsi
lea addresses_UC_ht+0x549e, %rdi
dec %r13
mov $67, %rcx
rep movsb
nop
nop
and $15331, %rdx
lea addresses_D_ht+0xa6b6, %rsi
lea addresses_WC_ht+0xe256, %rdi
... |
Tests/IO/Cast.e.asm | Gabidal/GAC | 5 | 88883 | <reponame>Gabidal/GAC
.intel_syntax noprefix
.global _Z4mainv
.global _Z10Start_Testv
.section .text #.text
_Z10Start_Testv:
sub rsp, 16 #.STACK, 16
Return_Here_123:
lea rcx, qword ptr [rsp + 0 ] #m_REG0, .STACK_0
mov rcx, rcx #m_TMP_2242033719216, m_REG0
add qword ptr [rcx + 0 ], 1 #m_TMP_2242033719216_0... |
src/install.asm | speccytools/spectranet-gdbserver | 0 | 246519 | <reponame>speccytools/spectranet-gdbserver
include "../include/spectranet.inc"
include "../include/sysvars.inc"
include "vars.inc"
# this is just a blob of data, this is never called directly
# when it is executed, it is located at 0x3B02
rst8h_handler_src:
ld hl, v_rst8_handler
ld (hl), 1
# restore af u... |
8.asm | AsadKhalil/Assembly_x86 | 0 | 88283 | [org 0x0100]
jmp start
gcd:
push bp
mov bp, sp
push ax
push bx
push cx
push dx
mov ax, [bp + 6] ;ax contains num1
mov bx, [bp + 4] ;bx contains num2
cmp ax, bx
jz basecase
cmp ax, bx
jb skip
mov cx, ax
sub cx, bx
sub sp, 2
push cx
push bx
call gcd
pop ... |
verify/alfy/5_loop/prime_numbers.alfy.asm | alexandruradovici/alf-alfy-asm-public | 0 | 243386 |
; script
start:
; attribution
; value logic false
set r2 0
; s: r3
set r3 8
store r3 r2
; while
while_0:
; expression not
; s: r3
set r3 8
load r3 r3
set r4 0x0000000000000001
xor r2 r3 r4
set r3 1
... |
BitEpicness/TestAssembly3.asm | davidov541/BitEpicness | 0 | 23643 | main: ldi $a0, -100
jal abs
addi $v, 50
ldi $a0, 500
jal abs
addi $v, -50
j exit
abs: la $t1, return
move $v, $a0
bgt $a0, $0, $t1
neg $v, $a0
return: jr $ra
exit: nop |
Cubical/Data/FinType.agda | thomas-lamiaux/cubical | 1 | 13397 | <filename>Cubical/Data/FinType.agda
{-# OPTIONS --safe #-}
module Cubical.Data.FinType where
open import Cubical.Data.FinType.Base public
open import Cubical.Data.FinType.Properties public
|
Headset/Firmware/lib/CMSIS/Device/ST/STM32L1xx/Source/Templates/TASKING/cstart_thumb2.asm | vrmad1/RiftDK2-Archive | 207 | 12428 |
;; NOTE: To allow the use of this file for both ARMv6M and ARMv7M,
;; we will only use 16-bit Thumb intructions.
.extern _lc_ub_stack ; usr/sys mode stack pointer
.extern _lc_ue_stack ; symbol required by debugger
.extern _lc_ub_table ; ROM to RAM copy... |
audio/sfx/pokedex_rating_3.asm | etdv-thevoid/pokemon-rgb-enhanced | 9 | 1331 | <reponame>etdv-thevoid/pokemon-rgb-enhanced<gh_stars>1-10
SFX_Pokedex_Rating_3_Ch4:
executemusic
tempo 256
volume 7, 7
duty 2
notetype 5, 11, 1
octave 3
A_ 2
A_ 2
G_ 2
G_ 2
F_ 2
E_ 2
F_ 2
A_ 2
octave 4
C_ 4
E_ 4
octave 3
F_ 4
endchannel
SFX_Pokedex_Rating_3_Ch5:
executemusic
duty 2
notetype 5, ... |
Layer2Graphics/asm_l2_plot_vertical.asm | ped7g/EliteNext | 9 | 28736 | ; ">l2_draw_vert_segment"
; ">hl = bank adjusted pixel poke address d = length, e = color"
; ">will always clip once h = 64 even if length > 64 destroys a and hl, d = resudual length not plotted"
l2_draw_vert_segment: ld a,d
.emptylinecheck: cp 0
ret z
.justonepixel cp 1... |
third_party/virtualbox/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-SwitchHlpConvRealModeRetfPopBpDecBpAndReturn.asm | Fimbure/icebox-1 | 521 | 94470 | ; $Id: bs3-cmn-SwitchHlpConvRealModeRetfPopBpDecBpAndReturn.asm $
;; @file
; BS3Kit - SwitchHlpConvRealModeRetfPopBpDecBpAndReturn
;
;
; Copyright (C) 2007-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
;... |
src/main/fragment/mos6502-common/vwum1=pwuc1_derefidx_vbuyy_ror_8.asm | jbrandwood/kickc | 2 | 26360 | <reponame>jbrandwood/kickc
lda #0
sta {m1}+1
lda {c1}+1,y
sta {m1} |
CrabVMS/Demo/Build/EX07_Api_Demo.asm | aleyn/MiCO_Demo | 0 | 18524 | <reponame>aleyn/MiCO_Demo<gh_stars>0
;Generate by CrabScript v3.0
;Compile Mode: 3
;main
{$D 333, 337}
::main::
{$N 'main', 'P', 0}
{$N 'main', 'L', 1}
{$V 'Value1', $000000, 'N', 4, 0}
FUNC <main>
VAR #P, 0
VAR #L, 4
{$A True}
;PrintLn('=== Custom API Demo ===')
{$D 360, 394}
VAR #F, 5
TYPE #W, (S:01)
A... |
tests/simpleOO/src/dds-request_reply-tests-simple-server-main.adb | persan/dds-requestreply | 0 | 1108 | <gh_stars>0
with DDS.Request_Reply.Tests.Simple.String_Replier;
with DDS.Request_Reply.Tests.Simple.Octets_Replier;
procedure DDS.Request_Reply.Tests.Simple.Server.Main is
Listner : aliased Ref;
Octets_Replier : Simple.Octets_Replier.Ref_Access := Simple.Octets_Replier.Create
(Participant => Parti... |
maps/OreburghGym.asm | AtmaBuster/pokeplat-gen2 | 6 | 95995 | <reponame>AtmaBuster/pokeplat-gen2
object_const_def ; object_event constants
const OREBURGHGYM_ROARK
const OREBURGHGYM_YOUNGSTER1
const OREBURGHGYM_YOUNGSTER2
const OREBURGHGYM_GYM_GUY
OreburghGym_MapScripts:
db 2 ; scene scripts
scene_script .Dummy ; SCENE_DEFAULT
scene_script .Dummy ; SCENE_FINISHED
db 0 ;... |
matlab/sprites/linktest_frm_coll_wind.asm | pvmm/SDCC-msx-2-scrolling-test | 3 | 96515 | linktest_coll_wind:
defb 1,15,10,31
defb 1,15,10,31
defb 1,15,10,31
defb 1,15,10,31
defb 2,14,9,31
defb 2,14,9,31
defb 2,14,8,31
defb 2,14,9,31
defb 3,13,8,31
defb 3,13,8,31
defb 3,13,8,31
defb 3,13,8,31
|
src/main/tests/data/basics.asm | Triceraprog/8008-assembler | 0 | 19297 | <reponame>Triceraprog/8008-assembler<gh_stars>0
VALUE: EQU 012
LONG: EQU 050#050
; Comment
ORG 000#000
; Index Register Instructions
LAA
LMB
LCM
LDI 030
LEI 0xFF
LHI \HB\SOMEDATA
LLI \LB\SOMEDATA
LMI 123
IND
DCE
; Accumulator group
ADC
ADM
ADI 0x... |
tests/natools-time_statistics-tests.adb | faelys/natools | 0 | 7925 | ------------------------------------------------------------------------------
-- Copyright (c) 2014, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
programs/oeis/212/A212089.asm | neoneye/loda | 22 | 178892 | <filename>programs/oeis/212/A212089.asm
; A212089: Number of (w,x,y,z) with all terms in {1,...,n} and w>=average{x,y,z}.
; 0,1,9,45,139,333,684,1258,2133,3402,5167,7542,10656,14647,19665,25875,33451,42579,53460,66304,81333,98784,118903,141948,168192,197917,231417,269001,310987,357705,409500,466726,529749,598950,674719... |
idrougge-applescript/day_01_1.applescript | tomasskare/advent_of_code_2019 | 9 | 1998 | <filename>idrougge-applescript/day_01_1.applescript
set the_file to choose file
set sum to 0
repeat with mass in paragraphs of (read the_file)
set fuel to mass div 3 - 2
set sum to sum + fuel
end repeat
return sum |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43204g.ada | best08618/asylo | 7 | 16782 | -- C43204G.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... |
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshr_bitmask2px.asm | jpoikela/z88dk | 640 | 81155 | <gh_stars>100-1000
; uchar tshr_bitmask2px(uchar bitmask)
SECTION code_clib
SECTION code_arch
PUBLIC _tshr_bitmask2px
EXTERN _zx_bitmask2px
defc _tshr_bitmask2px = _zx_bitmask2px
|
libsrc/_DEVELOPMENT/math/float/am9511/z80/am32_stack/am32_1_pushl.asm | ahjelm/z88dk | 640 | 164143 | <reponame>ahjelm/z88dk
;
; Copyright (c) 2020 <NAME>
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; feilipu, August 2020
;
;---------------------------------... |
oeis/036/A036360.asm | neoneye/loda-programs | 11 | 83622 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A036360: Number of labeled connected functional digraphs.
; Submitted by <NAME>
; 1,12,153,2272,39225,776736,17398969,435538944,12058401393,366021568000,12090393761721,431832459644928,16585599200808937,681703972229640192,29858718555221585625,1388451967046195347456,68316... |
os9.asm | tonypdmtr/emu6809 | 1 | 161243 | ;*******************************************************************************
; Include: OS9
; Version: 1.00
; Written: August 13, 1990
; Updated: September 1, 1990
; Author : <NAME>
; Purpose: This is an include file with code necessary to emulate the OS-9
; operating system (Level One, Ver. 2.00.00)
; Not... |
Classes/integer/as <type>/as number.applescript | looking-for-a-job/applescript-examples | 1 | 3985 | #!/usr/bin/osascript
88 as number |
src/main/fragment/mos6502-common/vwum1_eq_vwum2_then_la1.asm | jbrandwood/kickc | 2 | 168563 | <filename>src/main/fragment/mos6502-common/vwum1_eq_vwum2_then_la1.asm<gh_stars>1-10
lda {m1}
cmp {m2}
bne !+
lda {m1}+1
cmp {m2}+1
beq {la1}
!:
|
programs/oeis/055/A055250.asm | karttu/loda | 0 | 162377 | ; A055250: Seventh column of triangle A055249.
; 1,9,47,187,630,1898,5282,13866,34831,84575,199977,462973,1053804,2365704,5250660,11543700,25177005,54539205,117456115,251676495,536892146,1140875254,2415947382,5100306062,10737455195,22548620283
lpb $0,1
mov $2,$0
cal $2,34009 ; Convolution of A000295(n+2) (n>=0) wi... |
audio/music/johtotrainerbattle.asm | Dev727/ancientplatinum | 28 | 621 | Music_JohtoTrainerBattle:
musicheader 3, 1, Music_JohtoTrainerBattle_Ch1
musicheader 1, 2, Music_JohtoTrainerBattle_Ch2
musicheader 1, 3, Music_JohtoTrainerBattle_Ch3
Music_JohtoTrainerBattle_Ch1:
tempo 102
volume $77
dutycycle $3
tone $0002
vibrato $12, $15
notetype $c, $92
note __, 8
octave 3
note A_, 1
... |
src/cpnd1/nodcap/NF/Contract.agda | wenkokke/nodcap | 4 | 13759 | <filename>src/cpnd1/nodcap/NF/Contract.agda
module nodcap.NF.Contract where
open import Function using (_$_)
open import Data.Nat as ℕ using (ℕ; suc; zero)
open import Data.Pos as ℕ⁺
open import Data.List as L using (List; []; _∷_; _++_)
open import Data.Environment
open import nodcap.Base
open import nodcap.NF.Typing... |
audio/music/healpokemon.asm | Dev727/ancientplatinum | 28 | 103036 | Music_HealPokemon:
musicheader 3, 1, Music_HealPokemon_Ch1
musicheader 1, 2, Music_HealPokemon_Ch2
musicheader 1, 3, Music_HealPokemon_Ch3
Music_HealPokemon_Ch1:
tempo 144
volume $77
dutycycle $2
tone $0001
notetype $c, $81
note __, 2
slidepitchto 1, 4, __
note B_, 2
slidepitchto 1, 5, E_
note B_, 2
slid... |
alloy4fun_models/trainstlt/models/14/HKjEvhgPxeFHWrhTE.als | Kaixi26/org.alloytools.alloy | 0 | 1588 | open main
pred idHKjEvhgPxeFHWrhTE_prop15 {
eventually always (some t: Train| t.pos != t.pos')
}
pred __repair { idHKjEvhgPxeFHWrhTE_prop15 }
check __repair { idHKjEvhgPxeFHWrhTE_prop15 <=> prop15o } |
source/asm/cpuid.nasm | BradleyChatha/bcstd | 6 | 97621 | ; This file is generated by tools/cpuidgen.d
SECTION .text
global cpuidPopulateStore
struc cpustore
.idString: resb 12
.maxLeaf: resb 4
.eax1_eax: resb 4
.eax1_ebx: resb 4
.eax1_ecx: resb 4
.eax1_edx: resb 4
.eax7ecx0_ebx: resb 4
.eax7ecx0_ecx: resb 4
.eax7ecx0_edx: resb 4
endstruc
c... |
oeis/036/A036134.asm | neoneye/loda-programs | 11 | 25601 | ; A036134: a(n) = 3^n mod 79.
; Submitted by Jon Maiga
; 1,3,9,27,2,6,18,54,4,12,36,29,8,24,72,58,16,48,65,37,32,17,51,74,64,34,23,69,49,68,46,59,19,57,13,39,38,35,26,78,76,70,52,77,73,61,25,75,67,43,50,71,55,7,21,63,31,14,42,47,62,28,5,15,45,56,10,30,11,33,20,60,22,66,40,41,44,53,1,3,9,27,2,6,18,54,4,12,36,29,8,24,72,... |
llvm-gcc-4.2-2.9/gcc/ada/g-io.adb | vidkidz/crossbridge | 1 | 9577 | <filename>llvm-gcc-4.2-2.9/gcc/ada/g-io.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
sw/552tests/inst_tests/ror_2.asm | JPShen-UWM/ThreadKraken | 1 | 14847 | <reponame>JPShen-UWM/ThreadKraken
// Test provided by Karu
//ror with
lbi r1, 240
lbi r2, 14
ror r3, r1, r2
halt // added by Karu
|
Source/chess.adb | bkold/Terminal-Chess | 0 | 5493 | <reponame>bkold/Terminal-Chess
with NCurses; use NCurses;
with Board; use Board;
with Ada.exceptions;
with Ada.Text_IO;
with Ada.Strings.Fixed; use Ada.Strings.Fixed;
with GNAT.Command_Line; use GNAT.Command_Line;
with GNAT.Sockets; use GNAT.Sockets;
procedure Chess is
-- pragma Suppress(All_Checks);
type Game_Opti... |
app/grammar/ReactiveExpressions.g4 | inferno1988/ReactiveBinding | 1 | 7780 | <reponame>inferno1988/ReactiveBinding
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
grammar ReactiveExpressions;
evaluationUnit
: OPEN action (Identifier|bindExpress... |
InitFile/InitFileParser.g4 | opendragon/IF | 0 | 3431 | //===========================================================================
// Parser definitions:
parser grammar InitFileParser;
options
{
tokenVocab=InitFileLexer;
}
configuration : object EOF
| array EOF
;
object : OPEN_CURLY pair ( COMMA pair )* COMMA? CLOSE_CURLY... |
programs/oeis/164/A164897.asm | karttu/loda | 1 | 90994 | ; A164897: a(n) = 4*n*(n+1) + 3.
; 3,11,27,51,83,123,171,227,291,363,443,531,627,731,843,963,1091,1227,1371,1523,1683,1851,2027,2211,2403,2603,2811,3027,3251,3483,3723,3971,4227,4491,4763,5043,5331,5627,5931,6243,6563,6891,7227,7571,7923,8283,8651,9027,9411,9803,10203,10611,11027,11451,11883,12323,12771,13227,13691,141... |
programs/oeis/028/A028243.asm | neoneye/loda | 22 | 88032 | <reponame>neoneye/loda<gh_stars>10-100
; A028243: a(n) = 3^(n-1) - 2*2^(n-1) + 1 (essentially Stirling numbers of second kind).
; 0,0,2,12,50,180,602,1932,6050,18660,57002,173052,523250,1577940,4750202,14283372,42915650,128878020,386896202,1161212892,3484687250,10456158900,31372671002,94126401612,282395982050,847221500... |
Task/Bitwise-IO/Ada/bitwise-io-1.ada | mullikine/RosettaCodeData | 1 | 26616 | with Ada.Streams; use Ada.Streams;
with Ada.Finalization;
package Bit_Streams is
type Bit is range 0..1;
type Bit_Array is array (Positive range <>) of Bit;
type Bit_Stream (Channel : not null access Root_Stream_Type'Class) is limited private;
procedure Read (Stream : in out Bit_Stream; Data : out Bit_Arr... |
src/net_times.adb | Lucretia/net_time | 0 | 9226 | ------------------------------------------------------------------------------------------------------------------------
-- Copyright © 2019, <NAME>
--
-- See LICENCE file.
------------------------------------------------------------------------------------------------------------------------
with Ada.Strings;
with A... |
src/freedreno/computerator/examples/invocationid.asm | SoftReaper/Mesa-Renoir-deb | 0 | 178344 | <gh_stars>0
@localsize 32, 1, 1
@buf 32 ; g[0]
@const(c0.x) 0.0, 0.0, 0.0, 0.0
@const(c1.x) 1.0, 2.0, 3.0, 4.0
@wgid(r48.x) ; r48.xyz
@invocationid(r0.x) ; r0.xyz
@numwg(c2.x) ; c2.xyz
mov.u32u32 r0.y, r0.x
(rpt5)nop
stib.b.untyped.1d.u32.1.imm r0.x, r0.y, 0
end
nop
|
Optimal Delivery Route Finder/jgrapht-1.0.1/source/jgrapht-ext/src/main/antlr4/org/jgrapht/ext/CSV.g4 | samgermain/ArtificialIntelligence | 0 | 1806 | /*
* (C) Copyright 2016-2016, by <NAME> and Contributors.
*
* JGraphT : a free Java graph-theory library
*
* This program and the accompanying materials are dual-licensed under
* either
*
* (a) the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundation, or (at... |
libs/pgwire/src/main/antlr/PgArray.g4 | HoussemNasri/crate | 1 | 6682 | <filename>libs/pgwire/src/main/antlr/PgArray.g4
grammar PgArray;
/**
The grammar is used to parse PG array text
representations. E.g.:
numeric PG arrays:
{10, NULL, NULL, 20, 30}
{"10", NULL, NULL, "20", "30"}
multi-dimentsional PG arrays:
{{"10", "20"}, {"30", NULL, "40"}}
json PG arrays:
{"{... |
spectrum-stuff/experiments/runtime.asm | paulscottrobson/white-plasma | 0 | 175476 | ; This is where your program starts in RAM.
org 8000h
runTimeStart equ 8100h ; must be odd page so core on even page
org runTimeStart + 40h
di
;
; Set up registers.
;
ld bc,runTimeStart + 040h ; BC is predecrementing stack for return addresses
ld sp,runTimeStart + 0FEh ; SP is the data... |
sbsext/ext/iod1.asm | olifink/smsqe | 0 | 92511 | ; IO Calls D1 V2.01 1990 <NAME> QJUMP
;
; 2016-04-16 2.01 Added ALPHA_BLEND (MK)
;
; CLS #channel, area
; PAN #channel, number, area
; SCROLL #channel, number, area
; OVER #channel, key
; UNDER #channel, key
; FLASH #channel, key
; FILL #channel, key
; ALPHA_BLEND #channel, weight
;
section exten
xdef ... |
oeis/103/A103318.asm | neoneye/loda-programs | 11 | 172038 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A103318: Number of solutions i in range [0,n-1] to i == 0 mod 2^(n-i).
; Submitted by <NAME>
; 1,1,2,1,2,2,2,1,2,2,3,1,2,2,2,1,2,2,3,2,2,2,2,1,2,2,3,1,2,2,2,1,2,2,3,2,3,2,2,1,2,2,3,1,2,2,2,1,2,2,3,2,2,2,2,1,2,2,3,1,2,2,2,1,2,2,3,2,3,3,2,1,2,2,3,1,2,2,2,1,2,2,3,2,2,2,2,1... |
data/mapObjects/beach_house.asm | adhi-thirumala/EvoYellow | 16 | 10255 | <reponame>adhi-thirumala/EvoYellow
BeachHouseObjects:
db $a ; border block
db 2 ; warps
db 7,2,0,$ff
db 7,3,0,$ff
db 4 ; signs
db 0,3,3
db 0,7,4
db 0,$b,5
db 1,$d,6
db 2 ; objects
object SPRITE_FISHER, 2, 3, STAY, DOWN, 1 ; surfin' dude
object SPRITE_PIKACHU, 5, 3, WALK, $01, 2 ; sprite_pikachu was refer... |
software/extrom2/file.asm | AtomicRoland/AtomFpga | 25 | 28906 | <reponame>AtomicRoland/AtomFpga
open_file_read:
lda #CMD_FILE_OPEN_READ
jsr open_file
jmp expect64orless
open_file_write:
lda #CMD_FILE_OPEN_WRITE
; Falls through to
;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~
;
; Open file
;
; $c9/ca = name
; a = read/writ... |
test/Succeed/Issue242.agda | cruhland/agda | 1,989 | 2788 | <reponame>cruhland/agda
{-# OPTIONS --allow-unsolved-metas #-}
module Issue242 where
postulate Y : Set
module Inner (X : Set) where
module M (A : Set) where
postulate R : Set
module R (r : R) where
postulate C : Set
open module MX = M Y
module M' (r : R) where
open module Rr = R r
c :... |
1-base/xml/source/xml-reader.adb | charlie5/lace | 20 | 16798 | with
ada.unchecked_Conversion,
ada.unchecked_Deallocation,
interfaces.C.Strings,
system.Storage_Elements;
package body XML.Reader
is
package C renames Interfaces.C;
package S renames Interfaces.C.Strings;
type XML_Char is new C.unsigned_short;
type XML_Char_Ptr is access all XML... |
tests/reg_call_tail.asm | notaz/ia32rtools | 55 | 13517 |
_text segment para public 'CODE' use32
sub_test proc near
mov ebx, 1
jmp fastcall_func
sub_test endp
_text ends
; vim:expandtab
|
oeis/120/A120188.asm | neoneye/loda-programs | 11 | 88481 | ; A120188: a(1)=3; a(n)=floor((23+sum(a(1) to a(n-1)))/7).
; Submitted by <NAME>
; 3,3,4,4,5,6,6,7,8,9,11,12,14,16,18,21,24,27,31,36,41,47,53,61,70,80,91,104,119,136,155,177,203,232,265,303,346,395,452,516
lpb $0
sub $0,1
add $2,$1
mov $1,6
sub $2,1
add $1,$2
div $1,7
add $2,4
lpe
mov $0,$1
add $0,3
|
Transynther/x86/_processed/NONE/_st_/i3-7100_9_0xca_notsx.log_21829_77.asm | ljhsiun2/medusa | 9 | 1427 | <filename>Transynther/x86/_processed/NONE/_st_/i3-7100_9_0xca_notsx.log_21829_77.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %r15
push %r8
push %rbx
lea addresses_A_ht+0xaf0d, %r8
nop
nop
nop
nop
nop
cmp $49251, %r13
vmovups (%r8), %ymm2
vextracti128 $0, %ymm2, %xmm2
vp... |
programs/oeis/326/A326690.asm | neoneye/loda | 22 | 9626 | <reponame>neoneye/loda
; A326690: Denominator of the fraction (Sum_{prime p | n} 1/p - 1/n).
; 1,1,1,4,1,3,1,8,9,5,1,4,1,7,15,16,1,9,1,20,7,11,1,24,25,13,27,28,1,1,1,32,33,17,35,36,1,19,13,40,1,21,1,44,45,23,1,16,49,25,51,52,1,27,11,8,19,29,1,60,1,31,63,64,65,11,1,68,69,35,1,72,1,37,25,76,77,39,1,16,81,41,1,28,85,43,87... |
oeis/267/A267722.asm | neoneye/loda-programs | 11 | 173962 | ; A267722: Number of nX5 arrays of permutations of 5 copies of 0..n-1 with every element equal to at least one horizontal neighbor and the top left element equal to 0.
; Submitted by <NAME>
; 1,5,58,1398,55896,3353880,281725200,31553227440,4543664711040,817859648350080
mov $1,2
mov $3,1
lpb $0
mul $1,$0
add $3,$1
... |
src/words_engine/words_engine-tricks.adb | spr93/whitakers-words | 204 | 1408 | <gh_stars>100-1000
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-... |
4-periodo/arquitetura-e-organizacao-de-computadores-2/inverte-array.asm | lucasmc64/the-graduation-journey | 0 | 801 | # 2)
# Escreva um programa que leia um array de 10 posicoes e armazene seus valores na memória.
# A seguir inverta os elementos do array. v[0]<-> v[9], v[1]<-> v[8] ....
# Imprima o vetor invertido de maneira formatada [a,b,c,d,e.....]
.macro printStr(%str)
la $a0, %str
addi $v0, $zero, 4
syscall
.end_macro
.... |
ee.taltech.cs.mbt.tdl.commons.test.sexpr.s-expression-grammar/src/main/resources/grammar-source/SExpressionLanguage.g4 | tanelprikk/ee.taltech.cs.mbt.tdl.interpreter | 0 | 6965 | grammar SExpressionLanguage;
sExpr : sequence ; // Root production.
sequence : LPAREN item (SEQ_SEP item)* RPAREN #NonEmptySequence
| LPAREN RPAREN #EmptySequence
;
item : sequence #SequenceItem
| string #StringItem
;
string : DELIMITED_STRING ... |
CPU/functions/memory/mips1.asm | SilenceX12138/MIPS-Microsystems | 55 | 14368 | <reponame>SilenceX12138/MIPS-Microsystems
#cal_set={add,sub,or,and,sll,sllv,srl,srlv}
#Timer 0x7f00-0x7f0b
#UART 0x7f10-0x7f2b
#Switch 0x7f2c-0x7f33
#LED 0x7f34-0x7f37
#Tube 0x7f38-0x7f3f
#Key <KEY>
.text
initial:
li $t0 0xfc01
mtc0 $t0, $12
wait_data:
j wait_data
nop
.ktext 0x4180
lw $k0,0... |
src/main/antlr4/org/almibe/stroll/parser/ModalStrollLexer.g4 | almibe/stroll-grammar | 0 | 6482 | lexer grammar ModalStrollLexer;
VARIABLE
: '$' NAME
;
USER_VARIABLE
: '?' NAME
;
EQUAL_SIGN
: '='
;
INT
: ('0' .. '9')+
;
LONG
: INT 'L'
;
DOUBLE
: INT '.' INT
;
START_BRACKET
: '['
;
END_BRACKET
: ']'
;
START_BRACE
: '{'
;
END_BRACE
: '}'
;
OPEN_PARENTHESIS
: '('
;
CLOSE_PARENTHESIS
... |
Numeral/Finite/Functions.agda | Lolirofle/stuff-in-agda | 6 | 15392 | <filename>Numeral/Finite/Functions.agda
module Numeral.Finite.Functions where
import Lvl
open import Syntax.Number
open import Lang.Instance
open import Logic.Propositional
open import Logic.Predicate
open import Numeral.Finite
open import Numeral.Finite.Bound
open import Numeral.Natural hiding (𝐏)
import Numera... |
agda/InsertSort/Impl1.agda | bgbianchi/sorting | 6 | 10095 | <reponame>bgbianchi/sorting<filename>agda/InsertSort/Impl1.agda
open import Relation.Binary.Core
module InsertSort.Impl1 {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_) where
open import Bound.Lower A
open import Bound.Lower.Order _≤_
open import Data.List
open import Data.Sum
i... |
programs/oeis/072/A072703.asm | karttu/loda | 1 | 14479 | <reponame>karttu/loda
; A072703: Indices of Fibonacci numbers whose last digit is 5.
; 5,10,20,25,35,40,50,55,65,70,80,85,95,100,110,115,125,130,140,145,155,160,170,175,185,190,200,205,215,220,230,235,245,250,260,265,275,280,290,295,305,310,320,325,335,340,350,355,365,370,380
mul $0,6
mov $1,$0
div $1,4
mul $1,5
add $... |
Transynther/x86/_processed/US/_st_4k_sm_/i3-7100_9_0x84_notsx.log_73_518.asm | ljhsiun2/medusa | 9 | 81331 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x5761, %rsi
lea addresses_D_ht+0x15361, %rdi
nop
nop
nop
and %r11, %r11
mov $21, %rcx
rep movsb
nop
add $16275, %rbx
lea addresses_normal_ht+0x8361, ... |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/ceil_fastcall.asm | ahjelm/z88dk | 640 | 90364 |
SECTION code_fp_math16
PUBLIC _ceilf16_fastcall
EXTERN asm_f16_ceil
defc _ceilf16_fastcall = asm_f16_ceil
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0_notsx.log_1_1754.asm | ljhsiun2/medusa | 9 | 178908 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xa0cb, %r10
dec %r12
mov $0x6162636465666768, %r15
movq %r15, %xmm7
movups %xmm7, (%r10)
nop
nop
xor $46738, %r9
lea addresses_D_ht+0x9d4b, %rsi
lea ... |
software/modules/sdlog.adb | TUM-EI-RCS/StratoX | 12 | 26404 | -- Project: StratoX
-- System: Stratosphere Balloon Flight Controller
-- Author: <NAME> (<EMAIL>)
with FAT_Filesystem; use FAT_Filesystem;
with FAT_Filesystem.Directories; use FAT_Filesystem.Directories;
with FAT_Filesystem.Directories.Files; use FAT_Filesystem.Directories.Files;
with Media... |
programs/oeis/131/A131422.asm | neoneye/loda | 22 | 169540 | ; A131422: (A000012 * A127773) + (A127773 * A000012) - A000012.
; 1,3,5,6,8,11,10,12,15,19,15,17,20,24,29,21,23,26,30,35,41,28,30,33,37,42,48,55,36,38,41,45,50,56,63,71,45,47,50,54,59,65,72,80,89,55,57,60,64,69,75,82,90,99,109
mov $2,$0
add $2,1
lpb $0
add $1,1
sub $0,$1
lpe
lpb $0
add $1,$0
sub $0,1
lpe
add $... |
src/ada/src/comms/uxas-comms-transport-receiver-zeromq.adb | VVCAS-Sean/OpenUxAS | 88 | 8089 | with UxAS.Comms.Transport.ZeroMQ_Fabric; use UxAS.Comms.Transport;
with String_Utils; use String_Utils;
package body UxAS.Comms.Transport.Receiver.ZeroMQ is
----------------
-- Initialize --
----------------
procedure Initialize
(This : in out ZeroMq_Receiver_... |
oeis/109/A109367.asm | neoneye/loda-programs | 11 | 1059 | <gh_stars>10-100
; A109367: Squares of the form 2*p + 3, where p is a prime.
; Submitted by <NAME>
; 9,25,49,121,169,361,529,625,841,961,1369,1681,2209,3025,4225,4489,5329,5929,6241,8281,9409,10201,10609,11881,14161,20449,22801,24025,24649,25921,34969,38809,42025,43681,44521,48841,51529,54289,55225,57121,60025,64009,66... |
libsrc/_DEVELOPMENT/arch/zx/esxdos/z80/asm_esxdos_f_opendir.asm | jpoikela/z88dk | 640 | 3446 | ; uchar esxdos_f_opendir(char *path)
; uchar esxdos_f_opendir_p3(char *path)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_esxdos
PUBLIC asm_esxdos_f_opendir
EXTERN __esxdos_error_mc
asm_esxdos_f_opendir:
; F_OPENDIR:
; Open dir.
;
; A=drive
; HL=Pointer to null-terminated string cont... |
src/main/fragment/mos6502-common/vdum1=_makelong4_(vbuxx)_(vbuyy)_(vbuaa)_(vbum2).asm | jbrandwood/kickc | 2 | 166771 | stx {m1}
sty {m1}+1
sta {m1}+2
lda {m2}
sta {m1}+3
|
EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ia32/SupportItpDebug.asm | CEOALT1/RefindPlusUDK | 2,757 | 114 | <reponame>CEOALT1/RefindPlusUDK<gh_stars>1000+
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms... |
oeis/016/A016964.asm | neoneye/loda-programs | 11 | 17909 | ; A016964: a(n) = (6*n + 4)^8.
; 65536,100000000,4294967296,54875873536,377801998336,1785793904896,6553600000000,20047612231936,53459728531456,128063081718016,281474976710656,576480100000000,1113034787454976,2044140858654976,3596345248055296,6095689385410816,10000000000000000,15938480745308416,24759631762948096,3758859... |
bb-runtimes/examples/hello-m1agl/src/irq.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 12821 | <filename>bb-runtimes/examples/hello-m1agl/src/irq.adb
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- ... |
programs/oeis/145/A145216.asm | jmorken/loda | 1 | 82908 | ; A145216: Self-convolution of (1^3, 2^3, 3^3, 4^3, ... ).
; 1,16,118,560,2003,5888,14988,34176,71445,139216,255970,448240,752999,1220480,1917464,2931072,4373097,6384912,9142990,12865072,17817019,24320384,32760740,43596800,57370365,74717136,96378426,123213808,156214735,196519168,245427248,304418048,375167441,459567120,... |
macro.asm | pkali/no_internet | 0 | 22645 | <gh_stars>0
;-------------------------------------
.MACRO ROLW
ROL :1
ROL :1+1
.ENDM
;-------------------------------------
.MACRO ASLW
ASL :1
ROL :1+1
.ENDM
;-------------------------------------
.MACRO RORW
ROR :1+1
ROR :1
.ENDM
;-------------------------------------
.MACRO LSR... |
agda/ScaleDegree.agda | halfaya/MusicTools | 28 | 2693 | <reponame>halfaya/MusicTools
{-# OPTIONS --cubical --safe #-}
module ScaleDegree where
open import Data.Fin using (Fin; toℕ; #_)
open import Data.Nat using (ℕ; suc; _+_)
open import Data.Nat.DivMod using (_mod_; _div_)
open import Data.Product using (_×_; _,_)
open import Data.Vec using (looku... |
programs/oeis/046/A046630.asm | neoneye/loda | 22 | 83734 | <gh_stars>10-100
; A046630: Number of cubic residues mod 2^n.
; 1,2,3,5,10,19,37,74,147,293,586,1171,2341,4682,9363,18725,37450,74899,149797,299594,599187,1198373,2396746,4793491,9586981,19173962,38347923,76695845,153391690,306783379,613566757,1227133514,2454267027
mov $1,2
pow $1,$0
mul $1,32
div $1,56
add $1,1
mov $... |
Virus.Win32.Bi-Perm/src/disasm.asm | TheWover/Vx-Engines | 4 | 16479 |
;===============================================================================
;Length-disassembler engine virxasm32 v1.5
;===============================================================================
include virxasm32b.inc
;===============================================================================
... |
MySource/25-function.asm | mdabdullahibnaharun/Assembly-Language | 0 | 161681 | org 100h
include "emu8086.inc"
.model small
.stack 100h
.data
.code
main proc
call hello_world
print "i am main function "
mov ah,4ch
int 21h
main endp
DEFINE_SCAN_NUM
DEFINE_PRINT_NUM
DEFINE_PRINT_NUM_UNS
DEFINE_PR... |
SVD2ada/svd/stm32_svd-mdios.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 25862 | pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32H743x.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.MDIOS is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR_PORT_ADDRESS_Field is HAL.UInt5;... |
FlaxVM/bin/Debug/Rem.asm | DreamVB/FlaxVM | 0 | 162579 | # Use REM to find remainder
PUSH 3
STA A
PUSH 2
STA B
PUSH 0
STA C
LDA A
LDA B
REM
STA C
# Print out value
LDA C
SYS 3
HLT
|
utils.asm | NikitaIvanovV/snake-asm | 197 | 176593 | <filename>utils.asm<gh_stars>100-1000
section .text
global memcpy
global rand
; rax: destination
; rdx: source
; rcx: size
memcpy:
mov rsi, rdx
mov rdi, rax
cld ; increment in rep
; copy [rsi] to [rdi]
; increment rsi and rdi
; repeat rcx times
rep movsb
ret
; rax: upper limit
; returns: random num in rax... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_738.asm | ljhsiun2/medusa | 9 | 170842 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1e4bc, %rsi
lea addresses_WC_ht+0xc1dc, %rdi
nop
nop
nop
nop
sub $26095, %r12
mov $104, %rcx
rep movsw
nop
nop
add $10361, %rcx
lea addresses_WT_ht+0x100e4, %rbx
nop
nop
nop
... |
generated/natools-smaz_original_hash.ads | faelys/natools | 0 | 2603 | <reponame>faelys/natools
package Natools.Smaz_Original_Hash is
pragma Pure;
function Hash (S : String) return Natural;
end Natools.Smaz_Original_Hash;
|
tools/openBrowser/openChrome.applescript | mbluemer/CTSkills-2016 | 1 | 1492 | (*
Copyright (c) 2015-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
*)
on run argv
set theURL t... |
ADL/devices/stm32-device.adb | JCGobbi/Nucleo-STM32F334R8 | 0 | 11569 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
alloy4fun_models/trashltl/models/16/TZc5FPNbDTzsKfovv.als | Kaixi26/org.alloytools.alloy | 0 | 1534 | <gh_stars>0
open main
pred idTZc5FPNbDTzsKfovv_prop17 {
always (Trash&Trash' not in File')
}
pred __repair { idTZc5FPNbDTzsKfovv_prop17 }
check __repair { idTZc5FPNbDTzsKfovv_prop17 <=> prop17o } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.