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 |
|---|---|---|---|---|
wof/lcs/123p/A8.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 28123 | copyright zengfr site:http://github.com/zengfr/romhack
01A74C dbra D7, $1a74a
01A75E dbra D4, $1a75c
01AA8E tst.b ($a8,A0) [123p+ 78]
01AA92 beq $1aa98
0214AA bne $214f0
copyright zengfr site:http://github.com/zengfr/romhack
|
fastmodel-parser/src/main/antlr4/imports/QueryParser.g4 | alibaba/fast-modeling-language | 9 | 382 | <reponame>alibaba/fast-modeling-language
parser grammar QueryParser;
queryOrInsertStatements:
query
| insertInto
| delete
;
query
: with? queryNoWith
;
insertInto
: KW_INSERT (KW_INTO | KW_OVERWRITE) tableName
partitionSpec? columnParenthesesList? query
;
delete:
KW_DELETE... |
programs/oeis/153/A153388.asm | karttu/loda | 0 | 1446 | ; A153388: Second bisection of A153382.
; 8,18,48,128,338,888,2328,6098,15968,41808,109458,286568,750248,1964178,5142288,13462688,35245778,92274648,241578168,632459858,1655801408,4334944368,11349031698,29712150728,77787420488,203650110738,533162911728,1395838624448,3654352961618,9567220260408,25047307819608,65574703198... |
Alfred.alfredpreferences/workflows/user.workflow.57AC4A4C-4014-4999-9DE4-B0A065844E60/Helper.applescript | maxrothman/config | 0 | 67 | property WHITE_SPACES : { character id 9, character id 10, character id 11, character id 12, ¬
character id 13, character id 32, character id 133, character id 160 }
on strip(s)
if s is equal to "" then
return s
end if
repeat while first character of s is in WHITE_SPACE... |
programs/oeis/196/A196226.asm | jmorken/loda | 1 | 9832 | ; A196226: m such that A054024(m) (sum of divisors of m reduced modulo m) is 3 + m/2.
; 8,10,14,22,26,34,38,46,58,62,74,82,86,94,106,118,122,134,142,146,158,166,178,194,202,206,214,218,226,254,262,274,278,298,302,314,326,334,346,358,362,382,386,394,398,422,446,454,458,466,478,482,502,514
add $0,1
cal $0,140777 ; a(n) ... |
lib/crt/classic/crt_section.asm | Toysoft/z88dk | 0 | 245791 | ; Memory map and section setup
;
; Contains the generic variables + features
;
; crt_model = 0 ; everything in RAM
; crt_model = 1 ; ROM model, data section copied
; crt_model = 2 ; ROM model, data section compressed
SECTION CODE
SECTION code_crt_init
crt0_init_bss:
EXTERN __BSS_head
EXTERN ... |
programs/oeis/179/A179645.asm | neoneye/loda | 22 | 24421 | <filename>programs/oeis/179/A179645.asm
; A179645: a(n) = prime(n)^8.
; 256,6561,390625,5764801,214358881,815730721,6975757441,16983563041,78310985281,500246412961,852891037441,3512479453921,7984925229121,11688200277601,23811286661761,62259690411361,146830437604321,191707312997281,406067677556641,645753531245761,806460... |
test/Succeed/Issue5565.agda | cagix/agda | 1,989 | 10304 | variable
ℓ : _
A : Set ℓ
|
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sccz80/tshc_cls_wc_pix.asm | Frodevan/z88dk | 640 | 86225 | ; void tshc_cls_wc_pix(struct r_Rect8 *r, uchar pix)
SECTION code_clib
SECTION code_arch
PUBLIC tshc_cls_wc_pix
EXTERN asm_tshc_cls_wc_pix
tshc_cls_wc_pix:
pop af
pop hl
pop ix
push hl
push hl
push af
jp asm_tshc_cls_wc_pix
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _tshc_cls_wc_pi... |
programs/oeis/017/A017524.asm | neoneye/loda | 22 | 6570 | ; A017524: (12n)^4.
; 0,20736,331776,1679616,5308416,12960000,26873856,49787136,84934656,136048896,207360000,303595776,429981696,592240896,796594176,1049760000,1358954496,1731891456,2176782336
pow $0,4
mul $0,20736
|
programs/oeis/145/A145027.asm | neoneye/loda | 22 | 173813 | <reponame>neoneye/loda<gh_stars>10-100
; A145027: a(n) = a(n-1) + a(n-2) + a(n-3) with a(1) = 2, a(2) = 3, a(3) = 4.
; 2,3,4,9,16,29,54,99,182,335,616,1133,2084,3833,7050,12967,23850,43867,80684,148401,272952,502037,923390,1698379,3123806,5745575,10567760,19437141,35750476,65755377,120942994,222448847,409147218,7525390... |
Assembly/Microprocessor/CombinedPattern_02-All.asm | TashreefMuhammad/University_Miscellaneous_Codes | 3 | 91868 | <gh_stars>1-10
CODE SEGMENT
ASSUME CS:CODE,DS:CODE,ES:CODE,SS:CODE
PPIC_C EQU 1EH
PPIC EQU 1CH
PPIB EQU 1AH
PPIA EQU 18H
PPIC_C1 EQU 1FH
PPIC1 EQU 1DH
PPIB1 EQU 1BH
PPIA1 EQU 19H
ORG 1000H
MOV AL,10000000B
OUT PPIC_C,AL
OUT PPIC_C1,AL
MOV AL, 11111111B
OUT PPIC,AL
OUT PPIB,AL
OUT PPIA1... |
src/main/kotlin/convergence/command.g4 | moomoomoo309/convergenceBot | 1 | 6450 | grammar command;
// Parser Rules
command: commandName Whitespace* (argument (Whitespace+ | EOF))* EOF;
argument: quoteArgument | nonQuoteArgument;
nonQuoteArgument: (Alnum | RegularEscape | UnicodeEscape | OctalEscape | InvalidEscape | NotWhitespaceOrQuote)+;
quoteArgument: Quote notQuote* Quote;
notQuote: RegularEsc... |
programs/oeis/000/A000210.asm | karttu/loda | 0 | 175418 | ; A000210: A Beatty sequence: floor(n*(e-1)).
; 1,3,5,6,8,10,12,13,15,17,18,20,22,24,25,27,29,30,32,34,36,37,39,41,42,44,46,48,49,51,53,54,56,58,60,61,63,65,67,68,70,72,73,75,77,79,80,82,84,85,87,89,91,92,94,96,97,99,101,103,104,106,108,109,111,113,115,116,118,120,121,123,125,127,128,130,132,134,135,137,139,140,142,144... |
programs/oeis/189/A189316.asm | neoneye/loda | 22 | 22993 | ; A189316: Expansion of 5*(1-x-x^2)/((1+x)*(1-3*x+x^2))
; 5,5,15,35,95,245,645,1685,4415,11555,30255,79205,207365,542885,1421295,3720995,9741695,25504085,66770565,174807605,457652255,1198149155,3136795215,8212236485,21499914245,56287506245,147362604495,385800307235,1010038317215
trn $0,1
seq $0,127546 ; a(n) = F(n)^2 ... |
macscripts/App-Load.scpt | danielscholl/dotfiles | 1 | 3324 | tell application "Terminal"
-- this will close terminals if already opened
try
quit
end try
delay 1
activate
-- initial prompt
display dialog "Installation Started... Do not close Terminals. Press OK to continue"
-- sudo for initial authentication, if user does not have admin rights
do script "sudo echo Doc... |
alloy4fun_models/trashltl/models/15/qJPBWpRT8PtatjuTm.als | Kaixi26/org.alloytools.alloy | 0 | 4364 | <filename>alloy4fun_models/trashltl/models/15/qJPBWpRT8PtatjuTm.als
open main
pred idqJPBWpRT8PtatjuTm_prop16 {
always all f:File | f in Protected implies always f in Protected
}
pred __repair { idqJPBWpRT8PtatjuTm_prop16 }
check __repair { idqJPBWpRT8PtatjuTm_prop16 <=> prop16o } |
Applications/Finder/set visible/run.applescript | looking-for-a-job/applescript-examples | 1 | 1972 | #!/usr/bin/osascript
tell application "Finder"
set visible of every process to false
end tell
tell application "Finder"
set visible of every process ¬
whose visible is true and name is not "Finder" to false
end tell
delay 1
--repeat for sure
tell application "Finder"
set visible of every process ¬
whose visible i... |
Task/Fork/Ada/fork.ada | LaudateCorpus1/RosettaCodeData | 1 | 30064 | with Ada.Text_IO,
POSIX.Process_Identification,
POSIX.Unsafe_Process_Primitives;
procedure Fork is
use Ada.Text_IO,
POSIX.Process_Identification,
POSIX.Unsafe_Process_Primitives;
begin
if Fork = Null_Process_ID then
Put_Line ("This is the new process.");
else
Put_Line ("Thi... |
libsrc/_DEVELOPMENT/adt/b_vector/c/sccz80/b_vector_append_callee.asm | jpoikela/z88dk | 640 | 83606 | <reponame>jpoikela/z88dk
; size_t b_vector_append(b_vector_t *v, int c)
SECTION code_clib
SECTION code_adt_b_vector
PUBLIC b_vector_append_callee
EXTERN asm_b_vector_append
b_vector_append_callee:
pop hl
pop bc
ex (sp),hl
jp asm_b_vector_append
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _b_vec... |
Assignments/Assignment3/assn3.asm | ptr2578/CS61 | 1 | 6221 | ;=================================================
; Name: <NAME>
; Email: <EMAIL>
;
; Assignment name: Assignment 3
; Lab section: B21
;
; I hereby certify that I have not received assistance on this assignment,
; or used code, from ANY outside source other than the instruction team.
;
;=============================... |
Transynther/x86/_processed/NC/_st_zr_un_sm_/i7-7700_9_0x48.log_21829_1442.asm | ljhsiun2/medusa | 9 | 2215 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1a09b, %r8
nop
nop
nop
cmp %r13, %r13
mov (%r8), %rcx
nop
nop
and $53009, %r15
lea addresses_A_ht+0x17b57, %r8
nop
nop
nop
nop
nop
cmp $28771, %r11
movb (%r8), %bl
n... |
mips/example20.asm | ping58972/Computer-Organization-Architecture | 0 | 176398 | <filename>mips/example20.asm
## addIntArray.asm
##
## Sum all integers, the positive integers,
## and the negative integers in an array.
## Registers:
## $8 -- count
## $9 -- pointer to the array entry
## $10 -- current array entry
## $11 -- sum of all integers
## $12 -- sum of negative integers
## $13 -- sum of pos... |
programs/oeis/193/A193008.asm | jmorken/loda | 1 | 178959 | ; A193008: Constant term of the reduction by x^2->x+1 of the polynomial p(n,x) defined at Comments.
; 1,2,10,31,78,170,339,636,1144,1997,3412,5740,9549,15758,25854,42243,68818,111878,181615,294520,477276,773057,1251720,2026296,3279673,5307770,8589394,13899271,22490934,36392642,58886187,95281620,154170784
mov $12,$0
mo... |
data/pokemon/base_stats/tyrogue.asm | Karkino/KarkCrystal16 | 0 | 101635 | db 0 ; species ID placeholder
db 35, 35, 35, 35, 35, 35
; hp atk def spd sat sdf
db FIGHTING, FIGHTING ; type
db 75 ; catch rate
db 91 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F0 ; gender ratio
db 100 ; unknown 1
db 25 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/tyrogu... |
src/main/antlr4/com/api/jsonata4java/expressions/path/generated/PathExpressionLexer.g4 | markmelville/JSONata4Java | 1 | 5823 | /**
* (c) Copyright 2018, 2019 IBM Corporation
* 1 New Orchard Road,
* Armonk, New York, 10504-1722
* United States
* +1 914 499 1900
* support: <NAME> <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 obta... |
tlsf/src/proof/test/relation/tlsf-proof-test-relation.ads | vasil-sd/ada-tlsf | 3 | 18199 | package TLSF.Proof.Test.Relation with SPARK_Mode is
procedure Test_Find;
end TLSF.Proof.Test.Relation;
|
source/amf/uml/amf-internals-holders-uml_holders.adb | svn2github/matreshka | 24 | 8561 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
Transynther/x86/_processed/AVXALIGN/_st_zr_/i7-7700_9_0x48.log_21829_953.asm | ljhsiun2/medusa | 9 | 14556 | <filename>Transynther/x86/_processed/AVXALIGN/_st_zr_/i7-7700_9_0x48.log_21829_953.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rdi
lea addresses_D_ht+0x15aa6, %r11
nop
nop
nop
nop
and %r13, %r13
mov (%r11), %r15d
nop
nop
nop
dec %rdi
pop %rdi
pop %r15
pop %r13
pop ... |
programs/oeis/046/A046951.asm | neoneye/loda | 22 | 73 | ; A046951: a(n) is the number of squares dividing n.
; 1,1,1,2,1,1,1,2,2,1,1,2,1,1,1,3,1,2,1,2,1,1,1,2,2,1,2,2,1,1,1,3,1,1,1,4,1,1,1,2,1,1,1,2,2,1,1,3,2,2,1,2,1,2,1,2,1,1,1,2,1,1,2,4,1,1,1,2,1,1,1,4,1,1,2,2,1,1,1,3,3,1,1,2,1,1,1,2,1,2,1,2,1,1,1,3,1,2,2,4
seq $0,57918 ; Number of pairs of numbers (a,b) each less than n... |
external/mp/base/6502/cpu6502_shortint.asm | polluks/effectus | 7 | 82907 | <filename>external/mp/base/6502/cpu6502_shortint.asm
/*
mulSHORTINT
divmulSHORTINT
*/
.proc mulSHORTINT
jsr imulBYTE
lda :STACKORIGIN-1,x
bpl @+
sec
lda eax+1
sbc :STACKORIGIN,x
sta eax+1
@
lda :STACKORIGIN,x
bpl @+
sec
lda eax+1
sbc :STACKORIGIN-1,x
sta eax+1
@
jmp movaBX_EAX
.endp
.proc... |
oeis/041/A041401.asm | neoneye/loda-programs | 11 | 28520 | ; A041401: Denominators of continued fraction convergents to sqrt(215).
; Submitted by <NAME>
; 1,1,2,3,86,89,175,264,7567,7831,15398,23229,665810,689039,1354849,2043888,58583713,60627601,119211314,179838915,5154700934,5334539849,10489240783,15823780632,453555098479,469378879111,922933977590,1392312856701,3990769396521... |
old/Metalogic/OLD_Propositional.agda | Lolirofle/stuff-in-agda | 6 | 10112 | <filename>old/Metalogic/OLD_Propositional.agda
module Logic.Classical.Propositional where
open import Boolean
open import Data
open import Functional
import Lvl
-- Propositional logic. Working with propositions and their truth (whether they are true or false).
module ProofSystems {ℓ₁} {ℓ₂} {Proposition : Set(... |
exercises/exercise12/test12-2.asm | Dark15/assembly | 1 | 176592 | hello_sector equ 100
mov si, 0x7c0
mov ds, si
xor si, si
mov dx, 0x1f2
mov al, 1
out dx, al
inc dx
mov al, hello_sector
out dx, al
inc dx
xor al, al
out dx, al
inc dx
out dx, al
inc dx
mov al, 0xe0
out dx, al
inc dx
mov al, 0x30
out dx, al
waits:
in al, dx
and al, 0b1000_1000
cmp al, 0x08
jnz waits
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_484.asm | ljhsiun2/medusa | 9 | 86484 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x5779, %r12
nop
nop
cmp %r11, %r11
movb (%r12), %cl
and $25694, %rax
lea addresses_UC_ht+0x2d61, %r8
add %r12, %r12
movb (%r8), %r11b
nop
nop
nop
nop
dec %rcx
lea addresses_UC_... |
programs/oeis/025/A025810.asm | karttu/loda | 1 | 94224 | ; A025810: Expansion of 1/((1-x^2)(1-x^5)(1-x^10)) in powers of x.
; 1,0,1,0,1,1,1,1,1,1,3,1,3,1,3,3,3,3,3,3,6,3,6,3,6,6,6,6,6,6,10,6,10,6,10,10,10,10,10,10,15,10,15,10,15,15,15,15,15,15,21,15,21,15,21,21,21,21,21,21,28,21,28,21,28,28,28,28,28,28,36,28,36,28,36,36,36,36,36,36
mul $0,2
cal $0,165190 ; G.f.: 1/((1-x^4)*... |
arch/z80/src/ez80/ez80f91_init.asm | davids5/incubator-nuttx | 1 | 84544 | ;**************************************************************************
; arch/z80/src/ez80/ez80f91_init.asm
;
; Copyright (C) 2008 <NAME>. All rights reserved.
; Author: <NAME> <<EMAIL>>
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the follo... |
llvm-gcc-4.2-2.9/gcc/ada/bcheck.adb | vidkidz/crossbridge | 1 | 9031 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
programs/oeis/119/A119281.asm | neoneye/loda | 22 | 168933 | <reponame>neoneye/loda
; A119281: Number of counting rods to represent n in the ancient Chinese rod numeral system.
; 0,1,2,3,4,5,2,3,4,5,1,2,3,4,5,6,3,4,5,6,2,3,4,5,6,7,4,5,6,7,3,4,5,6,7,8,5,6,7,8,4,5,6,7,8,9,6,7,8,9,5,6,7,8,9,10,7,8,9,10,2,3,4,5,6,7,4,5,6,7,3,4,5,6,7,8,5,6,7,8,4,5,6,7,8,9,6,7,8,9,5,6,7,8,9,10,7,8,9,1... |
src/covidsim.adb | mgrojo/COVID-19_Simulator | 6 | 14726 | with Qt; use Qt;
with Qt.QApplication; use Qt.QApplication;
with Qt.QWidget; use Qt.QWidget;
with CovidSimForm; use CovidSimForm;
procedure covidsim is
begin
covidsim_form_init;
QWidget_show(covidsim_form);
QApplication_invoke;
end;
|
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_21829_1457.asm | ljhsiun2/medusa | 9 | 4922 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_21829_1457.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xaf94, %rsi
lea addresses_WT_ht+0x19fd4, %rdi
nop
nop
nop
nop
nop
inc %r... |
source/function/rmouse.asm | mega65dev/rom-assembler | 0 | 101670 | <gh_stars>0
; ********************************************************************************************
; ********************************************************************************************
;
; Name : rmouse.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : <NAME... |
src/main/antlr/LightJass.g4 | Cokemonkey11/wc3libs | 22 | 7586 | <filename>src/main/antlr/LightJass.g4<gh_stars>10-100
// Define a grammar called Jass
grammar LightJass;
options {
language = Java;
}
@header {
package net.moonlightflower.wc3libs.antlr;
}
BOOL_LITERAL:
'true' | 'false' ;
int_literal:
ID_INT_LITERAL
|
DEC_INT_LITERAL
|
OCT_INT_LITERAL
|
HEX_INT_LITERAL... |
extern/game_support/stm32f4/src/numerics.ads | AdaCore/training_material | 15 | 21343 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
src/Quasigroup.agda | Akshobhya1234/agda-NonAssociativeAlgebra | 2 | 2670 | <reponame>Akshobhya1234/agda-NonAssociativeAlgebra
{-# OPTIONS --without-K --safe #-}
module Quasigroup where
open import Quasigroup.Bundles public
open import Quasigroup.Definitions public
open import Quasigroup.Structures public
|
programs/oeis/273/A273782.asm | neoneye/loda | 22 | 16232 | ; A273782: First differences of number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 929", based on the 5-celled von Neumann neighborhood.
; 3,17,27,33,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256,264,... |
Transynther/x86/_processed/NONE/_st_zr_/i9-9900K_12_0xa0_notsx.log_3009_929.asm | ljhsiun2/medusa | 9 | 9159 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1e6ec, %r10
nop
xor $35071, %r9
mov (%r10), %r14d
nop
nop
nop
cmp %rbx, %rbx
lea addresses_D_ht+0x9ec, %rsi
lea addresses_WT_ht+0xef2c, %rdi
nop
nop
nop
nop
sub $5364, %rbx
mov... |
source/nls/a-envenc.ads | ytomino/drake | 33 | 11016 | pragma License (Unrestricted);
-- extended unit
with Ada.IO_Exceptions;
with Ada.Streams;
private with Ada.Finalization;
private with System.Native_Environment_Encoding;
package Ada.Environment_Encoding is
-- Platform-depended text encoding.
pragma Preelaborate;
-- encoding identifier
type Encoding_Id ... |
level.agda | rfindler/ial | 29 | 2867 | <filename>level.agda
-- mostly adapted from Agda stdlib
module level where
import Agda.Primitive
open Agda.Primitive public
using (Level ; _⊔_ ; lsuc ; lzero)
level = Level
lone : level
lone = lsuc lzero
record Lift {a ℓ} (A : Set a) : Set (a ⊔ ℓ) where
constructor lift
field lower : A
open Lift public... |
alloy4fun_models/trashltl/models/4/psnnLqWssMDi2RzLs.als | Kaixi26/org.alloytools.alloy | 0 | 5022 | open main
pred idpsnnLqWssMDi2RzLs_prop5 {
no Trash and eventually some Trash
}
pred __repair { idpsnnLqWssMDi2RzLs_prop5 }
check __repair { idpsnnLqWssMDi2RzLs_prop5 <=> prop5o } |
oeis/227/A227234.asm | neoneye/loda-programs | 11 | 170970 | ; A227234: G.f.: Sum_{n>=1} x^n * (1+x)^prime(n).
; Submitted by <NAME>
; 1,3,5,9,19,43,109,297,793,2059,5382,14319,38897,110525,335225,1067923,3449922,11058922,35087589,110642516,346605981,1072833978,3270252617,9869924183,29933522269,92890564700,298225920323,987831491085,3330591758612,11254395868044,37691422431130,124... |
src/main/fragment/mos6502-common/vwum1_gt_vbuyy_then_la1.asm | jbrandwood/kickc | 2 | 7126 | lda {m1}+1
bne {la1}
cpy {m1}
bcc {la1}
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35502c.ada | best08618/asylo | 7 | 13007 | -- C35502C.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... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_477.asm | ljhsiun2/medusa | 9 | 103207 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x81e6, %rsi
nop
add %r11, %r11
mov $0x6162636465666768, %r12
movq %r12, (%rsi)
nop
nop
nop
nop
cmp %rcx, %rcx
lea addresses_A_ht+0xafe, %rsi
lea addresses_WT_ht+0xdc06, %rdi
nop
nop
nop... |
app/predicate-parser/Predicates.g4 | killer-nyasha/verifiable-tests | 0 | 5146 | grammar Predicates;
predicate : NEGATION? (TRUE | FALSE) # bool_const_expr
| NEGATION? '(' predicate ')' # paret_predicate
| NEGATION? shorthand # shorthand_pred
| int_expr comparison_o... |
oeis/158/A158735.asm | neoneye/loda-programs | 11 | 85111 | ; A158735: a(n) = 1225*n^2 - 35.
; 1190,4865,10990,19565,30590,44065,59990,78365,99190,122465,148190,176365,206990,240065,275590,313565,353990,396865,442190,489965,540190,592865,647990,705565,765590,828065,892990,960365,1030190,1102465,1177190,1254365,1333990,1416065,1500590,1587565,1676990,1768865,1863190,1959965,2059... |
oeis/042/A042748.asm | neoneye/loda-programs | 11 | 89095 | <filename>oeis/042/A042748.asm
; A042748: Numerators of continued fraction convergents to sqrt(905).
; Submitted by <NAME>
; 30,361,21690,260641,15660150,188182441,11306606610,135867461761,8163354312270,98096119209001,5893930506852330,70825262201436961,4255409662593069990,51135741213318276841,3072399882461689680450,369... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_928.asm | ljhsiun2/medusa | 9 | 24609 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x10e4, %r10
nop
nop
add $10430, %r8
mov $0x6162636465666768, %rax
movq %rax, %xmm1
vmovups %ymm1, (%r10)
nop
nop
nop
dec %r9
lea addresses_D_ht+0x17a32, %rcx
nop
... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cumulus_frr/CumulusFrr_ip_prefix_list.g4 | nickgian/batfish | 0 | 4845 | parser grammar CumulusFrr_ip_prefix_list;
import CumulusFrr_common;
options {
tokenVocab = CumulusFrrLexer;
}
ip_prefix_list
:
PREFIX_LIST name = ip_prefix_list_name pl_line
;
pl_line
:
SEQ num = ip_prefix_list_line_number
action = line_action ip_prefix = prefix
(GE ge = ip_prefix_list_line_prefix_length)... |
programs/oeis/126/A126184.asm | jmorken/loda | 1 | 26516 | ; A126184: Number of hex trees with n edges and having no nonroot nodes of outdegree 2.
; 1,3,10,33,108,351,1134,3645,11664,37179,118098,373977,1180980,3720087,11691702,36669429,114791256,358722675,1119214746,3486784401,10847773692,33705582543,104603532030,324270949293,1004193907488
mov $1,1
mov $3,2
mov $4,$0
lpb $0
... |
programs/oeis/155/A155096.asm | neoneye/loda | 22 | 14990 | <gh_stars>10-100
; A155096: Numbers k such that k^2 == -1 (mod 29).
; 12,17,41,46,70,75,99,104,128,133,157,162,186,191,215,220,244,249,273,278,302,307,331,336,360,365,389,394,418,423,447,452,476,481,505,510,534,539,563,568,592,597,621,626,650,655,679,684,708,713,737,742,766,771,795,800,824,829,853,858,882,887,911,916,9... |
game/logic/game_states/character_selection_screen.asm | sgadrat/super-tilt-bro | 91 | 92456 | init_character_selection_screen:
.(
; Initialize C stack
jsr reinit_c_stack
; Call C init routine
SWITCH_BANK(#CHAR_SELECT_SCREEN_EXTRA_BANK_NUMBER)
jmp init_character_selection_screen_extra
;rts ; useless, jump to subroutine
.)
character_selection_screen_tick:
.(
; Call C tick routine
SWITCH_BANK(#CHAR_SELE... |
Sec2.agda | amal029/agda-tutorial-dybjer | 1 | 11411 | <reponame>amal029/agda-tutorial-dybjer
module Sec2 where
open import Sec4
data Bool : Set where
T : Bool
F : Bool
_∣∣_ : Bool → Bool → Bool
_ ∣∣ F = F
_ ∣∣ T = T
_&_ : Bool → Bool → Bool
_ & F = F
F & T = F
T & T = T
_==>_ : Bool → Bool → Bool
F ==> _ = T
T ==> F = F
T ==> T = T
not : Bool -> Bool
not T = F... |
tools/scitools/conf/understand/ada/ada12/a-crbtgo.ads | brucegua/moocos | 1 | 16705 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
oeis/037/A037624.asm | neoneye/loda-programs | 11 | 25914 | ; A037624: Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 2,0,3.
; Submitted by <NAME>
; 2,20,203,2032,20320,203203,2032032,20320320,203203203,2032032032,20320320320,203203203203,2032032032032,20320320320320,203203203203203,2032032032032032,20320320320320320,2032032... |
BetaCode/CodeExamples/BNO055 example code/MPU_IMU_I2C.asm | dbazor/BB_Slug | 3 | 160440 | <filename>BetaCode/CodeExamples/BNO055 example code/MPU_IMU_I2C.asm
_MPU_I2C_Write:
;MPU_IMU_I2C.c,3 :: void MPU_I2C_Write(unsigned char s_addr, unsigned char r_addr, unsigned char len, unsigned char *dat) {
ADDIU SP, SP, -12
SW RA, 0(SP)
;MPU_IMU_I2C.c,6 :: I2C2_Start(); // issue I2C start ... |
mat/regtests/mat-testsuite.adb | stcarrez/mat | 7 | 14714 | -----------------------------------------------------------------------
-- mat-testsuite - MAT Testsuite
-- Copyright (C) 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may ... |
src/pp/block1/cc/antlr/Musical.g4 | Pieterjaninfo/PP | 0 | 6475 | lexer grammar Musical;
LA: La;
LALA: La La;
LALALALI: La La La Li;
fragment La: 'L' 'a'+ ' '*;
fragment Li: 'Li' ' '*;
|
ioctl/IokSetHotKey.asm | osfree-project/FamilyAPI | 1 | 161588 | <reponame>osfree-project/FamilyAPI
;--------------------------------------------------------
; Category 4 Function 56H Set Session Manager Hot Key
;--------------------------------------------------------
;
;
;
IOKSETHOTKEY PROC NEAR
RET
IOKSETHOTKEY ENDP
|
lab07/src/dataoperations.ads | evgenijaZ/PP-labs | 0 | 15456 | generic
N : in Natural;
package DataOperations is
subtype Index is Positive range 1 .. N;
type Vector is array (Index) of Integer;
type Matrix is array (Index) of Vector;
procedure Input (a : out Integer);
procedure Generate (a : out Integer);
procedure FillWithOne (a : out Integer);
proce... |
x86_64/FloatingPointArithmetic/FloatingPointArithmetic_.asm | brucexia1/x86assembly | 1 | 176856 | <reponame>brucexia1/x86assembly
;========================================================================================
; --Register-----|--Callee Save--|----------------------------Description----------------
; | %rax | | 函数返回值寄存器;也用于idiv and imul指令
; | %rbx | yes |
; | ... |
theorems/stash/modalities/Reflective.agda | timjb/HoTT-Agda | 294 | 1123 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
module Reflective where
record ReflectiveSubuniverse {ℓ} : Type (lsucc ℓ) where
field
P : Type ℓ → Type ℓ
R : Type ℓ → Type ℓ
η : (A : Type ℓ) → A → R A
-- replete : (A B : Type ℓ) → P A → A ≃ B → P B
|
programs/oeis/033/A033292.asm | karttu/loda | 0 | 178861 | ; A033292: A Connell-like sequence: take 1 number = 1 (mod Q), 2 numbers = 2 (mod Q), 3 numbers = 3 (mod Q), etc., where Q = 3.
; 1,2,5,6,9,12,13,16,19,22,23,26,29,32,35,36,39,42,45,48,51,52,55,58,61,64,67,70,71,74,77,80,83,86,89,92,93,96,99,102,105,108,111,114,117,118,121,124,127,130,133,136,139,142,145,146,149,152,15... |
source/amf/uml/amf-internals-tables-umldi_metamodel.adb | svn2github/matreshka | 24 | 16192 | <reponame>svn2github/matreshka<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
tools-src/gnu/gcc/gcc/ada/5qparame.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 11880 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
lab5/loadknl.asm | wkcn/OSLabs | 73 | 246738 | <filename>lab5/loadknl.asm<gh_stars>10-100
;汇编程序源代码(bootOS.asm)
;%define _BOOT_DEBUG_ ;用于生成.COM文件易于调试
%ifdef _BOOT_DEBUG_
org 100h ; 调试状态,做成 .COM 文件, 可调试
%else
org 7c00h ; BIOS将把引导扇区加载到0:7C00处,并开始执行
%endif
;==============================================================
%ifdef _BOOT_DEBUG_
BaseOfSta... |
libsrc/_DEVELOPMENT/adt/bv_priority_queue/z80/asm_bv_priority_queue_push.asm | meesokim/z88dk | 0 | 28005 |
; ===============================================================
; Mar 2014
; ===============================================================
;
; int bv_priority_queue_push(bv_priority_queue_t *q, int c)
;
; Push item into the priority queue.
;
; ===============================================================
SECTI... |
linear_algebra/banded_lu.adb | jscparker/math_packages | 30 | 25061 |
---------------------------------------------------------------------------------
-- package body Banded_LU, LU decomposition, equation solving for banded matrices
-- Copyright (C) 1995-2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby... |
source/strings/a-secain.ads | ytomino/drake | 33 | 19783 | pragma License (Unrestricted);
-- Ada 2012
with Ada.Characters.Conversions;
with Ada.Strings.Generic_Equal_Case_Insensitive;
function Ada.Strings.Equal_Case_Insensitive is
new Generic_Equal_Case_Insensitive (
Character,
String,
Characters.Conversions.Get);
-- pragma Pure (Ada.Strings.Equal_Case_I... |
src/ini-section_vector.ads | SSOCsoft/Log_Reporter | 0 | 17891 | <gh_stars>0
With
NSO.Types;
-- Section_Vector returns the names of the sections; empty-name excluded.
Function INI.Section_Vector( Object : in Instance )
return NSO.Types.String_Vector.Vector;
|
oeis/021/A021838.asm | neoneye/loda-programs | 11 | 247482 | ; A021838: Decimal expansion of 1/834.
; Submitted by Jon Maiga
; 0,0,1,1,9,9,0,4,0,7,6,7,3,8,6,0,9,1,1,2,7,0,9,8,3,2,1,3,4,2,9,2,5,6,5,9,4,7,2,4,2,2,0,6,2,3,5,0,1,1,9,9,0,4,0,7,6,7,3,8,6,0,9,1,1,2,7,0,9,8,3,2,1,3,4,2,9,2,5,6,5,9,4,7,2,4,2,2,0,6,2,3,5,0,1,1,9,9,0
seq $0,199685 ; a(n) = 5*10^n+1.
div $0,417
mod $0,10
|
bb-runtimes/src/a-intnam__x86_64.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 8411 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
src/geste-text.ads | Fabien-Chouteau/GESTE | 13 | 30403 | ------------------------------------------------------------------------------
-- --
-- GESTE --
-- --
-- ... |
libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc_iy/zx_aaddr2cy_fastcall.asm | meesokim/z88dk | 0 | 91809 | <filename>libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc_iy/zx_aaddr2cy_fastcall.asm
; uint zx_aaddr2cy_fastcall(void *attraddr)
SECTION code_arch
PUBLIC _zx_aaddr2cy_fastcall
_zx_aaddr2cy_fastcall:
INCLUDE "arch/zx/display/z80/asm_zx_aaddr2cy.asm"
|
Sources/Swarm/swarm_control.adb | ForYouEyesOnly/Space-Convoy | 1 | 22159 | <filename>Sources/Swarm/swarm_control.adb
--
-- Jan & <NAME>, Australia, 2013
--
with Ada.Containers; use Ada.Containers;
with Ada.Numerics; use Ada.Numerics;
with Ada.Numerics.Float_Random; use Ada.Numerics.Float_Random;
with Ada.Real_Time; use Ada.R... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_1652.asm | ljhsiun2/medusa | 9 | 87642 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_1652.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x19ca6, %rbp
nop
nop
nop
dec %rsi
movl $0x61626364, (%rbp)
nop
nop
nop
nop
nop
a... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/fe_inlining_helper.adb | best08618/asylo | 7 | 24363 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/fe_inlining_helper.adb
procedure FE_Inlining_Helper is
begin
null;
end FE_Inlining_Helper;
|
src/Bisimilarity/CCS.agda | nad/up-to | 0 | 13887 | ------------------------------------------------------------------------
-- Lemmas related to bisimilarity and CCS, implemented using the
-- coinductive definition of bisimilarity
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
open import Prelude
module Bisimil... |
1-base/lace/source/events/interface/lace-response.ads | charlie5/lace | 20 | 29256 | <reponame>charlie5/lace
with
lace.Event;
package lace.Response
--
-- Provides a base class for all derived event 'response' classes.
--
is
pragma remote_Types;
type Item is abstract tagged limited private;
type View is access all Item'class;
-- Attributes
--
function Name (Self : in Item) r... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt4.adb | best08618/asylo | 7 | 24841 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt4.adb
-- { dg-do run }
-- { dg-options "-O2" }
procedure Opt4 is
type Rec (D : Natural) is record
S : String (1..D);
end record;
procedure Test (R : Rec) is
begin
if R.D /= 9 then
raise Program_Error;
end if;
end;
R : Rec(9);
be... |
Delay.agda | jmchapman/Relative-Monads | 21 | 1100 | {-# OPTIONS --copatterns --sized-types #-}
-- {-# OPTIONS --show-implicit #-}
-- {-# OPTIONS -v tc.conv:10 -v tc.conv.size:15 #-}
module Delay where
--open import Library
open import Size
open import Category.Monad
open import Level renaming (zero to lzero; suc to lsuc)
open import Relation.Binary public
import Relati... |
test.asm | jedbrooke/RISCV-CPU | 0 | 18530 | <reponame>jedbrooke/RISCV-CPU
addi x9, x0, 0
addi x10, x0, 800
addi x11, x0, 1600
addi x1, x0, 100
beq x1, x0, 44
lw x2, 0(x9)
lw x3, 0(x10)
addi x9, x9, 8
addi x10, x10, 8
add x4, x2, x3
slli x4, x4, 4
sw x4,0(x11)
addi x11, x11, 8
addi x1, x1, -1
jal x0, -40
addi x20, x0, 100
|
sh.asm | tphan022/CS153assn2_p1 | 0 | 90643 |
_sh: file format elf32-i386
Disassembly of section .text:
00000000 <runcmd>:
struct cmd *parsecmd(char*);
// Execute cmd. Never returns.
void
runcmd(struct cmd *cmd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 38 sub $0x38,%esp... |
model-sets/2021-05-06-10-28-11-watform/FeatureInteraction_nancy.als | WatForm/catalyst | 0 | 4156 | /* Authors: <NAME>, <NAME>, <NAME>, <NAME>
* Date: October 1, 2017
*/
open ctl[State]
open util/boolean
//***********************STATE SPACE*************************//
// Feature={CW,CF} is the set of features.
abstract sig Feature{}
one sig CW,CF extends Feature{}
// Each phone number can have some features.
//... |
programs/tests/loadstore.asm | rj45/rj32 | 28 | 242080 | <reponame>rj45/rj32
#include "../cpudef.asm"
move r0, 2
move r1, 5
; memory doesn't have 5
load r2, [r0,0]
if.eq r2, 5
error
; store and check it does have 5
store [r0,0], r1
load r2, [r0,0]
if.ne r2, 5
error
; check max offset of 15
move r1, 7
store [r0,15], r1
load r2, [r0,15]
if.ne r2, 7
error
; check base equi... |
alloy4fun_models/trainstlt/models/1/qhtBkv9bdfagSMngP.als | Kaixi26/org.alloytools.alloy | 0 | 4714 | <reponame>Kaixi26/org.alloytools.alloy<gh_stars>0
open main
pred idqhtBkv9bdfagSMngP_prop2 {
eventually Green = Signal
}
pred __repair { idqhtBkv9bdfagSMngP_prop2 }
check __repair { idqhtBkv9bdfagSMngP_prop2 <=> prop2o } |
programs/oeis/031/A031393.asm | neoneye/loda | 22 | 18379 | ; A031393: a(n) = prime(6*n - 4).
; 3,19,43,71,101,131,163,193,229,263,293,337,373,409,443,479,521,569,601,641,673,719,757,809,839,881,929,971,1013,1049,1091,1123,1181,1223,1277,1301,1361,1423,1451,1487,1531,1571,1609,1657,1699,1747,1789,1861,1889,1949,1997,2029,2083,2129,2161,2237,2273,2311,2357,2393,2441,2503,2551,26... |
tests/tests.asm | spencerwooo/single-cycle-processor | 9 | 176195 | # ALU operation tests
addiu $1, $0, 0x0050
addiu $2, $0, 0x0090
subu $3, $2, $1
add $4, $1, $2
# LUI
LUI $5, 0x0153
LUI $6, 0x0153
# SW to dm
SW $3, 0($0)
SW $4, 4($0)
# JUMP
BEQ $5, $6, target
LUI $7, 0x0007
target: LUI $8, 0x0008
# LW from dm
LW $9, 4($0)
|
source/boot/boot.asm | alexanderghurst/operating_system | 0 | 87935 | use16
org 7C00h
; Boot the operating system.
boot: cli
cld
; Clear the segment registers.
xor ax, ax
mov ds, ax
mov es, ax
mov ss, ax
mov sp, 7BFEh ; Set up the stack.
sti ; Now that the stack is setup, restore
; interrupts.
; Prevents the system from executing past here.
hang: hlt
jmp hang ; If ... |
alloy4fun_models/trainstlt/models/7/m8FbpfaAhHHe6MQ3R.als | Kaixi26/org.alloytools.alloy | 0 | 4058 | open main
pred idm8FbpfaAhHHe6MQ3R_prop8 {
always (all t:Train |(some t.pos and some t.pos.signal and some t.pos.prox) and (t.pos.signal) in (Signal-Green) implies(some t.pos') since ((t.pos'.signal) in Green))
}
pred __repair { idm8FbpfaAhHHe6MQ3R_prop8 }
check __repair { idm8FbpfaAhHHe6MQ3R_prop8 <=> prop8o } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.