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 |
|---|---|---|---|---|
malban/Release/VRelease/Release.History/VRelease_2017_04_23/Song/track_0A_08.asm | mikepea/vectrex-playground | 5 | 4481 | <reponame>mikepea/vectrex-playground
dw $0040
track_0A_08:
db $FF, $18, $97, $DE, $63, $FE, $1A, $7E, $E6, $34
db $ED, $FC, $70, $30, $FF, $BC, $9E, $3F, $18, $F9
db $DE, $8E, $3D, $6F, $27, $8F, $FD, $E8, $E9, $C4
db $BE, $EA, $A3, $EE, $FD, $2F, $3F, $A8, $F6, $8C
db $4B, $AC, $E1, $D3, $48, $F5, $3C, $86, $F7,... |
10 Adapted from others/11 Rich Walsh/03 Files/Reveal target audio file in finder.applescript | streth11/Qlab-Scripts | 0 | 2691 | <gh_stars>0
-- @description Reveal target audio file in finder
-- @author <NAME>
-- @link bensmithsound.uk
-- @source <NAME>
-- @version 1.0
-- @testedmacos 10.13.6
-- @testedqlab 4.6.9
-- @about Reveals the target audio file of the selected cue in finder
-- @separateprocess FALSE
-- @changelog
-- v1.0 + init
set... |
huffman/huffman-types.agda | heades/AUGL | 0 | 10148 | ----------------------------------------------------------------------------------
-- Types for parse trees
----------------------------------------------------------------------------------
module huffman-types where
open import lib
open import parse-tree
posinfo = string
character = string
character-bar-3 = string... |
programs/oeis/332/A332056.asm | jmorken/loda | 1 | 16559 | ; A332056: a(1) = 1, then a(n+1) = a(n) - (-1)^a(n) Sum_{k=1..n} a(k): if a(n) is odd, add the partial sum, else subtract.
; 1,2,-1,1,4,-3,1,6,-5,1,8,-7,1,10,-9,1,12,-11,1,14,-13,1,16,-15,1,18,-17,1,20,-19,1,22,-21,1,24,-23,1,26,-25,1,28,-27,1,30,-29,1,32,-31,1,34,-33,1,36,-35,1,38,-37,1,40,-39
mul $0,4
mov $1,4
lpb $... |
common/dlists/playfieldDlist.asm | laoo/TimePilot | 24 | 174119 |
org dataPlayfieldDlist
dta b($50),b($c7),a(bufScreenTxt)
dta b($45)
adrBufScreen0 equ *+1
dta a(bufScreen0),b($5),b($85),b($5),b($5),b($85),b($5),b($5),b($85),b($5),b($5)
dta b($85),b($10)
dta b($4d),a(bufProgressBar),b($d),b($d),b($d),b($d),b($d),b($d),b($d)
dta b($41),a(dataPlayfieldDlist)
org da... |
sh.asm | mur1ll0/xv6-stride | 0 | 240141 |
_sh: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return 0;
}
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %ebp
... |
oeis/192/A192355.asm | neoneye/loda-programs | 11 | 4637 | <filename>oeis/192/A192355.asm
; A192355: Constant term of the reduction of the polynomial p(n,x)=(1/2)((x+2)^n+(x-2)^n) by x^2->x+2.
; Submitted by <NAME>
; 1,0,6,2,70,90,926,2002,13110,37130,194446,640002,2973350,10653370,46333566,174174002,730176790,2820264810,11582386286,45425564002,184414199430,729520967450,294249... |
Groups/FreeGroup/Definition.agda | Smaug123/agdaproofs | 4 | 15917 | {-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Setoids.Setoids
open import Functions.Definition
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import Numbers.Naturals.Semiring
open import Numbers.Naturals.Order
open import Sets.FinSet.Definition
open import ... |
oeis/239/A239171.asm | neoneye/loda-programs | 11 | 173759 | ; A239171: Number of (n+1) X (1+1) 0..2 arrays with no element greater than all horizontal neighbors or equal to all vertical neighbors.
; Submitted by <NAME>
; 6,12,36,96,264,720,1968,5376,14688,40128,109632,299520,818304,2235648,6107904,16687104,45590016,124554240,340288512,929685504,2539948032,6939267072,18958430208... |
org.alloytools.alloy.diff/misc/inheritance/subset1.als | jringert/alloy-diff | 1 | 215 | sig A {
a : some A
}
sig C {
c : some C
}
sig B in A + C {
b : some A
}
sig D in B {
d : some C
}
run {no B}
|
source/variable/variable/create.asm | paulscottrobson/6502-basic | 3 | 5637 | <filename>source/variable/variable/create.asm
; ************************************************************************************************
; ************************************************************************************************
;
; Name: create.asm
; Purpose: Create a new variable.
; Created: 1st Ma... |
fileManagement/unlink.asm | slowy07/learnAsm | 1 | 80943 | <gh_stars>1-10
section .text
global _start
section .data
fileName 'impFile.txt', 0h
_start:
mov ebx, fileName
mov eax, 10
int 80h
call quit |
grammars/BigDataScriptLexerRules.g4 | augustand/BigDataScript | 0 | 6712 | <filename>grammars/BigDataScriptLexerRules.g4<gh_stars>0
lexer grammar BigDataScriptLexerRules;
//------------------------------------------------------------------------------
// Lexer
//------------------------------------------------------------------------------
//---
// Lexer Fragments
//---
fragment IntegerNum... |
test/Succeed/Issue3256.agda | shlevy/agda | 1,989 | 14220 | <filename>test/Succeed/Issue3256.agda<gh_stars>1000+
-- Jesper, 2018-11-23: Unsolved metas are turned into postulates
-- when --allow-unsolved-metas is enabled, but there was no internal
-- representation of postulated sorts.
module Issue3256 where
open import Issue3256.B
-- WAS:
-- An internal error has occurred. P... |
programs/oeis/267/A267882.asm | neoneye/loda | 22 | 93574 | ; A267882: Total number of ON (black) cells after n iterations of the "Rule 233" elementary cellular automaton starting with a single ON (black) cell.
; 1,1,4,10,19,30,43,58,75,94,115,138,163,190,219,250,283,318,355,394,435,478,523,570,619,670,723,778,835,894,955,1018,1083,1150,1219,1290,1363,1438,1515,1594,1675,1758,1... |
source/lean/extract.asm | paulscottrobson/lean | 2 | 20539 | ; ******************************************************************************
; ******************************************************************************
;
; Name : extract.asm
; Purpose : Extract elements from the translated buffer
; Author : <NAME> (<EMAIL>)
; Created : 27th October 2019
;
; ********... |
programs/oeis/038/A038213.asm | karttu/loda | 0 | 83372 | ; A038213: Top line of 3-wave sequence A038196, also bisection of A006356.
; 1,3,14,70,353,1782,8997,45425,229347,1157954,5846414,29518061,149034250,752461609,3799116465,19181424995,96845429254,488964567014,2468741680809,12464472679038,62932092237197,317738931708801
mov $1,1
lpb $0,1
sub $0,1
add $2,$1
add $3,$2... |
solutions/32-inventory report/compare and count.asm | Ernesto-Alvarez/HRM-Puzzles | 0 | 86765 | -- HUMAN RESOURCE MACHINE PROGRAM --
a:
COPYFROM 14
COPYTO 16
COPYTO 17
INBOX
COPYTO 15
b:
COPYFROM [16]
JUMPZ d
SUB 15
JUMPZ c
BUMPDN 17
c:
BUMPUP 17
BUMPUP 16
JUMP b
d:
COPYFROM 17
OUTBOX
JUMP a
DEFINE LABEL 15
<KEY... |
oeis/239/A239443.asm | neoneye/loda-programs | 11 | 95045 | ; A239443: a(n) = phi(n^9), where phi = A000010.
; 1,256,13122,131072,1562500,3359232,34588806,67108864,258280326,400000000,2143588810,1719926784,9788768652,8854734336,20503125000,34359738368,111612119056,66119763456,305704134738,204800000000,453874312332,548758735360,1722841676182,880602513408,3051757812500,2505924774... |
alloy4fun_models/trainstlt/models/8/TGT45vnmwpFfdotNj.als | Kaixi26/org.alloytools.alloy | 0 | 3201 | <gh_stars>0
open main
pred idTGT45vnmwpFfdotNj_prop9 {
(all t:Train| eventually (no t.pos and after one t.pos:>Entry))
}
pred __repair { idTGT45vnmwpFfdotNj_prop9 }
check __repair { idTGT45vnmwpFfdotNj_prop9 <=> prop9o } |
test/Succeed/AbsurdPattern.agda | shlevy/agda | 1,989 | 12703 | <filename>test/Succeed/AbsurdPattern.agda<gh_stars>1000+
-- Pattern matching on a (decidably) empty type allows you to omit the
-- right-hand side.
module AbsurdPattern where
data Empty : Set where
elim-Empty : {A : Set} -> Empty -> A
elim-Empty ()
|
programs/oeis/326/A326354.asm | jmorken/loda | 1 | 91861 | <filename>programs/oeis/326/A326354.asm<gh_stars>1-10
; A326354: a(n) is the number of fractions reduced to lowest terms with numerator and denominator less than or equal to n in absolute value.
; 1,3,7,15,23,39,47,71,87,111,127,167,183,231,255,287,319,383,407,479,511,559,599,687,719,799,847,919,967,1079,1111,1231,1295... |
grad/programming-languages/ada-programming-assignment/Matrix_Mult.adb | positivevaib/nyu-archive | 0 | 18475 | package body Matrix_Mult is
procedure Mat_Mult(A: in Mat; B: in Mat; C: out Mat) is
task type Dot_Product is
entry Dot(Row_Index: Integer; Col_Index: Integer);
entry Dot_Done;
end Dot_Product;
task body Dot_Product is
Row: Integer;
Col: Integer;
begin
accept... |
testsuite/utils/src/wire_simulation.adb | rocher/Ada_Drivers_Library | 192 | 20901 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017-2018, AdaCore --
-- --
-- ... |
src/code/init.asm | Hacktix/gb-tictactoe | 8 | 21988 | <gh_stars>1-10
SECTION "Initialization", ROM0
;==============================================================
; Initializes all registers to a playable state after
; initial startup of the game.
;==============================================================
BaseInit::
; Check if running on CGB
xor BOOTUP_A_CGB... |
agda/Prelude.agda | anqurvanillapy/fpl | 1 | 15555 | <filename>agda/Prelude.agda
{-
- Prelude: Play with some basic theorems...
-}
{-# OPTIONS --rewriting #-}
module Prelude where
open import Agda.Builtin.Equality public
open import Agda.Builtin.Nat renaming (Nat to ℕ) public
{-# BUILTIN REWRITE _≡_ #-}
-- Identity function
id : ∀ {ℓ} {A : Set ℓ} → A → A
id x = x
... |
tmp/sample/a.asm | fishyoukun/dshell | 1 | 103405 |
a.out: file format elf64-x86-64
Disassembly of section .interp:
0000000000400238 <.interp>:
400238: 2f (bad)
400239: 6c insb (%dx),%es:(%rdi)
40023a: 69 62 36 34 2f 6c 64 imul $0x646c2f34,0x36(%rdx),%esp
400241: 2d 6c 69 6e 75 sub $0x756e696c,%eax
... |
kernel/src/loader.asm | e-wiki/jsos | 834 | 21811 | global loader
global end_of_image
global kstack_max
extern kmain
section .text
align 4
MultiBootHeader:
FLAGS equ 3
MAGIC equ 0x1BADB002
CHECKSUM equ -(MAGIC + FLAGS)
dd MAGIC
dd FLAGS
dd CHECKSUM
STACKSIZE equ 1024*1024 ; 1 MiB
loader:
mov esp, kstack_max+STACKSIZE
... |
source/image/required/s-widcha.ads | ytomino/drake | 33 | 15118 | <reponame>ytomino/drake
pragma License (Unrestricted);
-- implementation unit required by compiler
package System.Wid_Char is
pragma Pure;
-- required for Character'Width by compiler (s-widboo.ads)
function Width_Character (Lo, Hi : Character) return Natural;
-- compiler return 12 ("Reserved_153") for ... |
Commands/Miscellaneous Commands suite/system info/CPU type of (get system info).applescript | looking-for-a-job/applescript-examples | 1 | 3312 | <filename>Commands/Miscellaneous Commands suite/system info/CPU type of (get system info).applescript
#!/usr/bin/osascript
CPU type of (get system info) |
dv3/q40/fd/wait.asm | olifink/smsqe | 0 | 2594 | ; DV3 Q40 Wait for Ticks 1994 <NAME>
section fd
xdef fd_wait
include 'dev8_keys_sys'
include 'dev8_keys_q40'
;+++
; Wait for ticks
;
; d0 c r number of ticks / 0
;
;---
fd_wait
move.l d1,-(sp)
move.w sr,d1 ; are interrupts disabled?
and.w #$0700,d1
beq.s fdw_mpoll ; ... no, count missing pol... |
Cubical/Structures/Queue.agda | borsiemir/cubical | 0 | 7812 | {-# OPTIONS --cubical --no-exact-split --safe #-}
module Cubical.Structures.Queue where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.FunExtEquiv
open import Cubical.Foundations.Equiv
open import Cubical.Foundati... |
programs/oeis/004/A004347.asm | neoneye/loda | 22 | 88885 | ; A004347: Binomial coefficient C(5n,n-5).
; 1,30,595,9880,148995,2118760,28989675,386206920,5047381560,65033528560,828931106355,10477677064400,131567066917650,1643385429346680,20439879147794485,253338471349988640,3130921572628162950,38601232498698200100,474959279180489235825,5834104414094383310520,71559315489039423215... |
oeis/337/A337728.asm | neoneye/loda-programs | 11 | 18721 | ; A337728: a(n) = (4*n+1)! * Sum_{k=0..n} 1 / (4*k+1)!.
; Submitted by <NAME>
; 1,121,365905,6278929801,358652470233121,51516840824285500441,15640512874253077933887601,8915467710633236496186345872425,8755702529258688898174686554391144001,13878488965077362598718732163634314533105081,3373138985984122824893390414906992878... |
oeis/094/A094052.asm | neoneye/loda-programs | 11 | 88980 | ; A094052: Number of walks of length n between two adjacent nodes in the cycle graph C_7.
; Submitted by <NAME>
; 0,1,0,3,0,10,1,35,9,126,55,462,286,1717,1365,6451,6188,24463,27132,93518,116281,360031,490337,1394582,2043275,5430530,8439210,21242341,34621041,83411715,141290436,328589491,574274008,1297937234,2326683921
... |
leader_election.als | septract/alloy-ring-election | 0 | 3706 | <reponame>septract/alloy-ring-election<gh_stars>0
module leaderElection
open util/ordering[Time]
abstract sig Msg {}
one sig Request, Vote extends Msg {}
sig Node {}
sig Time {
msg: Node -> Msg -> Node,
alreadyvoted: set Node,
leader: set Node,
voters: Node -> Node,
}
pred init (t: Time) {... |
repsych.asm | juliusdedekind/REpsych | 733 | 246600 | <reponame>juliusdedekind/REpsych
; REpsych
; domas @xoreaxeaxeax
USE32
%include "gen/gen.asm"
%include "gfx/image.asm"
%include "code/code.asm"
global _start
_start:
call code
call main
mov eax, 1
mov edx, 0
int 0x80
; Tie nodes together, or use the newer switch opening,
; which avoids the need for tight tying.
%if... |
src/setup.asm | freem/freem_pong | 1 | 244398 | <gh_stars>1-10
; Program Setup
;==============================================================================;
ProgramSetup:
; lots of this will differ for PCE/NES.
;==============================================================================;
; NES-specific section
;===============================================... |
libtool/src/gmp-6.1.2/mpn/x86/atom/rshift.asm | kroggen/aergo | 1,602 | 167891 | dnl Intel Atom mpn_rshift -- mpn right shift.
dnl Copyright 2011 Free Software Foundation, Inc.
dnl Converted from AMD64 by <NAME>.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the ... |
src/foundation/HispanoAO/FoundationValues.asm | Dunkansdk/AoW | 2 | 243496 | ;//////////////////////////////////////////////////////////////////////
;/// This file is subject to the terms and conditions defined in ///
;/// file 'LICENSE.txt', which is part of this source code package. ///
;//////////////////////////////////////////////////////////////////////
[SEGMENT .text]
;//////////////... |
src/tom/library/sl/ada/allsstrategy.ads | rewriting/tom | 36 | 15568 | with ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage;
use ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage;
package AllsStrategy is
ARG : constant Integer := 0;
type Alls is new AbstractStrategyCombinator and Object with null record;
---------... |
imeoffesc.applescript | rcmdnk/AppleScript | 11 | 2836 | property DEBUG : false
property LOG_FILE : "~/imeoffesc.log"
property JP_LIST : {"ひらがな"}
on echo(txt)
if DEBUG then
do shell script "echo \"" & txt & "\" >> " & LOG_FILE
end if
end echo
echo("imeoffsec")
echo("Check IME")
set imeOn to false
tell application "System Events"
tell process "SystemUIServer"
set ime... |
src/nso-json-gnoga_object.ads | SSOCsoft/Log_Reporter | 0 | 23752 | Pragma Ada_2012;
With
Gnoga.Gui.Base
;
Package NSO.JSON.Gnoga_Object is --with Elaborate_Body is
Use Gnoga.Gui.Base;
Subtype JSON_Class is NSO.JSON.Instance'Class;
-- Returns the JSON format of the form parameters from the given object.
-- NOTE: This method does NOT work with multi-select selections... |
oeis/170/A170203.asm | neoneye/loda-programs | 11 | 84356 | ; A170203: Number of reduced words of length n in Coxeter group on 50 generators S_i with relations (S_i)^2 = (S_i S_j)^39 = I.
; 1,50,2450,120050,5882450,288240050,14123762450,692064360050,33911153642450,1661646528480050,81420679895522450,3989613314880600050,195491052429149402450,9579061569028320720050,469374016882387... |
MIPS/Pre/1.asm | JJLeo/BUAA-CO-2020 | 9 | 9149 | .data
str: .asciiz "Hello World"
.text
la $a0,str
li $v0,4
syscall
li $v0,10
syscall |
tests/src/orka_tests.adb | onox/orka | 52 | 25440 | <gh_stars>10-100
with AUnit.Reporter.Text;
with AUnit.Run;
with AUnit.Test_Suites;
with Test_SIMD_SSE_Arithmetic;
with Test_SIMD_SSE_Compare;
with Test_SIMD_SSE_Logical;
with Test_SIMD_SSE_Math;
with Test_SIMD_SSE_Swizzle;
with Test_SIMD_SSE4_1_Math;
with Test_SIMD_AVX_Arithmetic;
with Test_SIMD_AVX_Compare;
with Test... |
Ada/inc/Problem_52.ads | Tim-Tom/project-euler | 0 | 24711 | <filename>Ada/inc/Problem_52.ads
package Problem_52 is
procedure Solve;
end Problem_52;
|
src/test/resources/test/hello2.g4 | prs1022/antlr_query | 1 | 930 | grammar hello2;
STRING : [a-zA-Z ]+;
HW:'hello world';
root:STRING #h1
|HW #h2
; |
Ada/finalize/object.ads | egustafson/sandbox | 2 | 6983 | with Ada.Finalization;
package Object is
type Object is new Ada.Finalization.Controlled with private;
function New_Object( X : in Integer ) return Object;
procedure Put( O : Object );
private
type Object is new Ada.Finalization.Controlled with
record
X : Integer := 0;
end record;
|
test/succeed/builtinInModule.agda | asr/agda-kanso | 1 | 1450 | <reponame>asr/agda-kanso<filename>test/succeed/builtinInModule.agda
module builtinInModule where
module Int where
postulate I : Set
{-# BUILTIN INTEGER I #-}
primitive primIntegerPlus : I -> I -> I
|
programs/oeis/204/A204095.asm | karttu/loda | 0 | 3523 | ; A204095: Numbers whose base 10 digits are a subset of {0, 8}.
; 0,8,80,88,800,808,880,888,8000,8008,8080,8088,8800,8808,8880,8888,80000,80008,80080,80088,80800,80808,80880,80888,88000,88008,88080,88088,88800,88808,88880,88888,800000,800008,800080,800088,800800,800808,800880,800888,808000,808008,808080,808088,808800,8... |
src/fltk-widgets-clocks-updated.ads | micahwelf/FLTK-Ada | 1 | 27160 |
package FLTK.Widgets.Clocks.Updated is
type Updated_Clock is new Clock with private;
type Updated_Clock_Reference (Data : not null access Updated_Clock'Class) is
limited null record with Implicit_Dereference => Data;
package Forge is
function Create
(X, Y, W, H : in ... |
Assembly/textbox/casino_slotMachine.asm | WildGenie/Ninokuni | 14 | 23050 | <gh_stars>10-100
;;----------------------------------------------------------------------------;;
;; Align the position of the numbers in slot machines of casino.
;; Copyright 2015 <NAME> (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compl... |
programs/oeis/273/A273678.asm | karttu/loda | 0 | 171589 | <gh_stars>0
; A273678: First differences of number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 833", based on the 5-celled von Neumann neighborhood.
; 3,13,16,23,29,35,41,47,53,59,65,71,77,83,89,95,101,107,113,119,125,131,137,143,149,155,161,167,173,179,185,... |
programs/oeis/158/A158121.asm | karttu/loda | 1 | 93319 | ; A158121: Given n points in the complex plane, let M(n) the number of distinct Moebius transformations that take 3 distinct points to 3 distinct points. Note that the triples may have some or all of the points in common.
; 6,93,591,2381,7316,18761,42253,86281,163186,290181,490491,794613,1241696,1881041,2773721,3994321... |
oeis/012/A012814.asm | neoneye/loda-programs | 11 | 17264 | ; A012814: Take every 5th term of Padovan sequence A000931, beginning with the third term.
; Submitted by <NAME>
; 0,1,5,21,86,351,1432,5842,23833,97229,396655,1618192,6601569,26931732,109870576,448227521,1828587033,7459895657,30433357674,124155792775,506505428836,2066337330754,8429820731201,34390259761825,140298353215... |
programming/fpu/lab6/source.asm | tonykozlovsky/bsu | 113 | 80637 | <reponame>tonykozlovsky/bsu<gh_stars>100-1000
.386
.model flat
.data
res dq 10 dup (?)
.code
_func@8 proc
finit
push ebp
mov ebp, esp
fld qword ptr [ebp+8]
lea ebx,res
fld1
fadd st(0),st(1)
fstp qword ptr [ebx]
fld st(0)
fsin
fstp qword ptr [ebx+8]
fld1
fxch
... |
programs/oeis/323/A323239.asm | neoneye/loda | 22 | 84563 | ; A323239: a(n) = 1 if n is odd and squarefree, otherwise a(n) = 0.
; 0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0
mov $1,$0
trn $1,1
seq $1,7913 ; Squarefree part ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1278.asm | ljhsiun2/medusa | 9 | 5476 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xe5ac, %rsi
lea addresses_WC_ht+0x82fc, %rdi
nop
nop
nop
xor %rbx, %rbx
mov $47, %rcx
rep movsl
add $39422, %r11
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r11
ret
.global s_faulty_load
s_faulty_load:
p... |
common/c32slr.asm | DigitalMars/optlink | 28 | 15878 | <filename>common/c32slr.asm
TITLE SLR-SUBS Copyright (c) SLR Systems, Inc 1990
INCLUDE MACROS
INCLUDE SLR32
PUBLIC FLUSHSTUFF_SLR32,PUTSTUFF_SMALL_SLR32,PUTSTUFF_SLR32,FIX_BUFFERS_SLR32
PACK_SLR SEGMENT PARA PUBLIC 'UNPACK_DATA'
SOFT EXTB POS_TABLE
SOFT EXTA POS_TABLE_LEN
PACK_SLR ENDS
.DATA
SOFT E... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce2401c.ada | best08618/asylo | 7 | 4103 | -- CE2401C.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... |
grammer/Peaze.g4 | pzque/peaze | 8 | 248 | grammar Peaze;
program : topunit+;
topunit
: define # DefineTopunit
| apply # ApplyTopunit
;
define
: '(' DEFINE '(' ID paramList ')' sequence ')' # ProcDefine
| '(' DEFINE ID lambda ')' # LambdaDefine
| '(' DEFINE ID expr ')' # VarDefine
... |
RADWIMPS.adb | Clapp-project/RADWIMPS | 262 | 19067 | with Ada.Text_IO;
use Ada.Text_IO;
procedure RADWIMPS is
package Rad_Package is
type Rad is tagged null record;
procedure se(Self: in Rad);
function t_hen(Self: in Rad) return Rad;
end Rad_Package;
package body Rad_Package is
procedure se(Self: in Rad) is
begin
put_li... |
asm/globals.asm | hansbonini/smd_castlevania_bloodlines | 1 | 101118 |
// ********************************************************
// * DEBUG FLAGS: *
// * *
// * - DEBUG_STAGE(INT STAGE_NUM): *
// * Enable Stage Select *
// * ... |
target/cos_117/disasm/iop_overlay1/DKSTAT.asm | jrrk2/cray-sim | 49 | 244194 | 0x0000 (0x000000) 0x2104- f:00020 d: 260 | A = OR[260]
0x0001 (0x000002) 0x290D- f:00024 d: 269 | OR[269] = A
0x0002 (0x000004) 0x2104- f:00020 d: 260 | A = OR[260]
0x0003 (0x000006) 0x1403- f:00012 d: 3 | A = A + 3 (0x0003)
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_559.asm | ljhsiun2/medusa | 9 | 26786 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1e5ab, %rsi
lea addresses_A_ht+0x10fd3, %rdi
nop
nop
nop
nop
sub $41139, %r10
mov $95, %rcx
rep movsw
nop
add %r14, %r14
lea addresses_WT_ht+0x10c2b, %rdx
nop
nop
n... |
CS35101/mzrimsek/Project 2/average.asm | mzrimsek/school | 0 | 91480 | #Computer Architecture
#Project 2
#<NAME>
.data
prompt: .asciiz "\nEnter number: " #Prompt to get user input of number
.align 2
numPrompt: .asciiz "\nHow many numbers: " #Prompt to determine how many numbers to enter
.align 2
currentVal: .asciiz "\nValue of numbers entered: " #String to display after each ti... |
libsrc/_DEVELOPMENT/adt/wv_stack/c/sccz80/wv_stack_capacity.asm | jpoikela/z88dk | 640 | 168490 |
; size_t wv_stack_capacity(wv_stack_t *s)
SECTION code_clib
SECTION code_adt_wv_stack
PUBLIC wv_stack_capacity
EXTERN asm_wv_stack_capacity
defc wv_stack_capacity = asm_wv_stack_capacity
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _wv_stack_capacity
defc _wv_stack_capacity = wv_stack_capacity
ENDIF
|
src/x86_16/setjmp.asm | dargueta/metalc | 0 | 648 | bits 16
%include "metalc/setjmp.inc"
global mclib_setjmp
global mclib_longjmp
mclib_setjmp:
mov cx, bp
mov bp, sp
; Save return address in AX because we won't be able to access it after we
; make bp point at the jmp_buf struct.
mov ax, [bp]
mov bp, [bp + 2]
mov [bp ... |
oeis/065/A065995.asm | neoneye/loda-programs | 11 | 90114 | <reponame>neoneye/loda-programs
; A065995: a(n) = prime(prime(n) + n).
; Submitted by <NAME>
; 5,11,19,31,53,67,89,103,131,167,181,227,251,269,293,347,383,401,443,467,491,547,577,617,673,709,733,761,787,823,929,967,1013,1031,1097,1117,1181,1229,1277,1303,1373,1409,1481,1489,1531,1553,1627,1741,1783,1801,1861,1901,1931,... |
Default Firmware/Ocelot_Unmanaged-1.0.1_SourceCode/Ocelot_Unmanaged-1.0.1/src/switch/pidrv.a51 | botblox/GigaBlox-Rugged-FW | 1 | 11254 | <gh_stars>1-10
;*
;*
;* Copyright (c) 2017 Microsemi Corporation "Microsemi".
;*
;* Permission is hereby granted, free of charge, to any person obtaining a copy
;* of this software and associated documentation files (the "Software"), to deal
;* in the Software without restriction, including without limitation the right... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1095.asm | ljhsiun2/medusa | 9 | 9823 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %rbp
push %rcx
push %rdx
lea addresses_D_ht+0xc561, %r12
clflush (%r12)
xor $14721, %r14
mov (%r12), %r15d
nop
nop
nop
cmp %rbp, %rbp
lea addresses_normal_ht+0xa9b1, %rcx
xor %r11, %r11
mov $0x6162636465666768, %rdx
movq %rdx, %xm... |
src/nes/input.asm | apvilkko/jane8-musicdisk | 0 | 246058 | <filename>src/nes/input.asm<gh_stars>0
ReadJoy:
lda #$01
sta JOY1
sta buttons
lsr a
sta JOY1
joyloop:
lda JOY1
lsr a
rol buttons
bcc joyloop
rts
|
notes/fixed-points/LFPs/N.agda | asr/fotc | 11 | 15382 | <reponame>asr/fotc<gh_stars>10-100
------------------------------------------------------------------------------
-- Equivalence: N as the least fixed-point and N using Agda's data constructor
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# ... |
songdata.asm | enthusi/VBeat | 6 | 102654 | <filename>songdata.asm
;all sources Licensed under the 3-Clause BSD License
;Copyright 2021, Martin 'enthusi' Wendt / PriorArt
;-----------------------------------------------------------
;Demo tune VBDemo01.s3m is Licensed under the 3-Clause BSD License
;Copyright 2021, Kamil 'jammer' Wolnikowski
begin_instruments
... |
Chrome2safari.applescript | vacnex/ChromePassword2Safari | 0 | 3686 | <gh_stars>0
set theFile to (choose file with prompt "Select the CSV file")
set f to read theFile
set recs to paragraphs of f
tell application "System Events"
tell application process "Safari"
set frontmost to true
keystroke "," using command down
tell window 1
click button "Passwords" of toolbar 1 of it ... |
src/gfx/InitStdPalette.asm | beckadamtheinventor/BOSos | 1 | 94142 |
;@DOES Initialise the standard (8bpp) XLibC palette
;@DESTROYS DE,BC,AF
gfx_InitStdPalette:
; setup common items
ld a,$27
ld (LCD_CTRL),a
ld de,LCD_PAL ; address of mmio palette
ld b,e ; b = 0
.loop:
ld a,b
rrca
xor a,b
and a,224
xor a,b
ld (de),a
inc de
ld a,b
rla
rla
rla
ld a,b
rra
ld (de)... |
oeis/219/A219259.asm | neoneye/loda-programs | 11 | 7245 | <gh_stars>10-100
; A219259: Numbers k such that 25*k+1 is a square.
; 0,23,27,96,104,219,231,392,408,615,635,888,912,1211,1239,1584,1616,2007,2043,2480,2520,3003,3047,3576,3624,4199,4251,4872,4928,5595,5655,6368,6432,7191,7259,8064,8136,8987,9063,9960,10040,10983,11067,12056,12144,13179,13271,14352,14448,15575,15675,16... |
Lambda.agda | bens/hwlc | 0 | 11657 | module Lambda where
open import Data.Bool using (true; false)
open import Data.Nat renaming (_≟_ to _≟N_)
import Data.Stream as S
open import Data.Vec using ([]; _∷_)
open import Relation.Binary.PropositionalEquality
open import Check
open import Eval
open import Operations.Combinatorial
open impor... |
test/Fail/LostTypeError.agda | shlevy/agda | 1,989 | 1318 | <gh_stars>1000+
-- There was a bug with the new constraint machinery
-- where a type error could be ignored and checking
-- continued.
module LostTypeError where
postulate
Wrap : (A : Set) (P : A → Set) → A → Set
wrap : ∀ A (P : A → Set) (x : A) → P x → Wrap A P x
A : Set
data Box : Set where
box : A → Box... |
src/firmware-tests/Platform/PowerManagement/ClockSwitching/ClockSwitchingTest.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 98710 | #include "Platform.inc"
#include "FarCalls.inc"
#include "PowerManagement.inc"
#include "TestFixture.inc"
radix decimal
udata
global numberOfEnsureFastClockCalls
global numberOfAllowSlowClockCalls
global expectedOsccon
numberOfEnsureFastClockCalls res 1
numberOfAllowSlowClockCalls res 1
expectedOsccon res 1... |
programs/oeis/135/A135416.asm | jmorken/loda | 1 | 244620 | <reponame>jmorken/loda<filename>programs/oeis/135/A135416.asm<gh_stars>1-10
; A135416: a(n) = A036987(n)*(n+1)/2.
; 1,0,2,0,0,0,4,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,... |
S-F200VX_20180920_WithFactory/WIFI_SmartCfg.asm | xcwk/8-Pads-WiFi-Fat-Scale | 1 | 83899 | ;========================================================================
;======= WIFI_SmartCfg.ASM
;========================================================================
F_WIFI_SmartCfg:
BTFSS Wifi_SmartCfg,B_Wifi_SmartCfg_EN
GOTO F_WIFI_SmartCfg_END
F_WIFI_SmartCfg_ChkAck:
BTFSS SysFlag1,B_SysF... |
projects/batfish/src/main/antlr4/org/batfish/grammar/palo_alto/PaloAlto_tag.g4 | zabrewer/batfish | 763 | 6732 | parser grammar PaloAlto_tag;
import PaloAlto_common;
options {
tokenVocab = PaloAltoLexer;
}
s_tag
:
TAG name = variable
(
st_color
| st_comments
)?
;
st_comments
:
COMMENTS comments = variable
;
st_color
:
COLOR null_rest_of_line
;
|
models/hol/sygus/hackers_del/hd_09.als | johnwickerson/alloystar | 2 | 2337 | <filename>models/hol/sygus/hackers_del/hd_09.als
/**
* NOTE: make sure to set "Options -> Prevent overflows" to "No"
*
* Absolute value function
*/
module hd_09
open ../synth2[spec]
--------------------------------------------------------------------------------
-- Variables
--------------------------------------... |
programs/oeis/033/A033364.asm | karttu/loda | 1 | 97376 | <reponame>karttu/loda
; A033364: [ 44/n ].
; 44,22,14,11,8,7,6,5,4,4,4,3,3,3,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
add $0,1
mov $1,44
div $1,$0
|
programs/oeis/066/A066014.asm | karttu/loda | 1 | 10333 | ; A066014: Highest minimal Euclidean norm of any Type 4^Z self-dual code of length n over Z/4Z which does not have all Euclidean norms divisible by 8, that is, is strictly Type I. Compare A105682.
; 4,4,4,4,4,4,4,4,4,4,4,8,4,8,8,8,8,8,8,8,8,8,12,12
mov $1,$0
gcd $0,3
sub $1,$0
div $1,10
mul $1,4
add $1,4
|
3-mid/opengl/source/opengl-server.ads | charlie5/lace | 20 | 15494 | package openGL.Server
--
-- Provides functions to query the GL server.
--
is
type a_Version is
record
Major : Integer;
Minor : Integer;
end record;
function Version return a_Version;
function Version return String;
end openGL.Server;
|
intf/src/main/antlr4/imports/MonsoonPrimitivesLexer.g4 | groupon/monsoon | 32 | 2359 | <reponame>groupon/monsoon<filename>intf/src/main/antlr4/imports/MonsoonPrimitivesLexer.g4
/*
* Copyright (c) 2016, 2017, Groupon, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
*... |
boards/OpenMV2/src/openmv.adb | rocher/Ada_Drivers_Library | 192 | 3608 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2018, AdaCore --
-- --
-- ... |
data/pokemon/base_stats/raitora.asm | AtmaBuster/pokeplat-gen2 | 6 | 169787 | db 0 ; species ID placeholder
db 115, 85, 65, 70, 85, 80
; hp atk def spd sat sdf
db ELECTRIC, ELECTRIC ; type
db 45 ; catch rate
db 179 ; base exp
db PRZCUREBERRY, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/raitora/front.dimensions"
db GROWTH_M... |
oeis/313/A313614.asm | neoneye/loda-programs | 11 | 168048 | ; A313614: Coordination sequence Gal.5.129.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>(s2)
; 1,5,10,14,20,24,30,34,39,44,49,54,58,64,68,74,78,83,88,93,98,102,108,112,118,122,127,132,137,142,146,152,156,162,1... |
OSDev/Try-12/boot/16/disk.asm | Ashwin-Paudel/Tries | 0 | 7235 | <filename>OSDev/Try-12/boot/16/disk.asm
;
; disk.asm
; KripayaOS Project
; Author(s): [Ashwin: <EMAIL>]
;
[bits 16]
disk_load:
; Save the registers
push ax
push bx
push cx
push dx
push cx
; Allow Reading the disk
mov ah, 0x02
; Configure a few registers for BIOS interrupt
mov al, cl
mov cl, bl
mov bx... |
etude.asm | shepheb/hork | 0 | 29327 | <reponame>shepheb/hork<filename>etude.asm
Resident data ends at 61c, program starts at 61c, file ends at 4a0c
Starting analysis pass at address 61c
End of analysis pass, low address = 61c, high address = 20b6
[Start of code at 61c]
Main routine 61c, 0 locals
61d: e0 3f 05 6b ff CALL_VS 15ac -> ... |
Transynther/x86/_processed/US/_ht_/i3-7100_9_0x84_notsx.log_63_2655.asm | ljhsiun2/medusa | 9 | 241806 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1a3ad, %r14
nop
nop
nop
nop
lfence
mov $0x6162636465666768, %r11
movq %r11, %xmm6
movups %xmm6, (%r14)
nop
nop
nop
nop
nop
inc %rcx
lea addresses_A_ht+0x1ac1f, %rsi
lea addre... |
src/svd/sam_svd.ads | Fabien-Chouteau/samd51-hal | 1 | 8800 | <reponame>Fabien-Chouteau/samd51-hal<filename>src/svd/sam_svd.ads<gh_stars>1-10
pragma Style_Checks (Off);
-- This spec has been automatically generated from ATSAMD51G19A.svd
pragma Restrictions (No_Elaboration_Code);
with System;
-- Microchip ATSAMD51G19A Microcontroller
package SAM_SVD is
pragma Preelaborate... |
parser-examples/antlr-examples/antlr-visitor-example1/src/main/antlr4/com/arjunsk/parser/antlr/Calculator.g4 | arjunsk/codekrypt-compiler | 11 | 33 | grammar Calculator;
operation : left=NUMBER operator='+' right=NUMBER
| left=NUMBER operator='-' right=NUMBER
| left=NUMBER operator='*' right=NUMBER
| left=NUMBER operator='/' right=NUMBER;
NUMBER
: ('0' .. '9') + ('.' ('0' .. '9') +)? ;
WS : (' ' | '\t')+ -> channel(HIDDEN); |
libsrc/_DEVELOPMENT/target/yaz180/device/8255/8255_read_byte.asm | jpoikela/z88dk | 640 | 100670 | <reponame>jpoikela/z88dk
INCLUDE "config_private.inc"
SECTION code_driver
PUBLIC ide_read_byte
;Do a read bus cycle to the drive, using the 8255.
;input A = ide register address
;output A = lower byte read from IDE drive
ide_read_byte:
push bc
push de
ld d, a ;copy address to... |
programs/oeis/193/A193337.asm | neoneye/loda | 22 | 175827 | ; A193337: Sum of odd divisors of sigma(n).
; 1,4,1,8,4,4,1,24,14,13,4,8,8,4,4,32,13,56,6,32,1,13,4,24,32,32,6,8,24,13,1,104,4,40,4,112,20,24,8,78,32,4,12,32,56,13,4,32,80,128,13,57,40,24,13,24,6,78,24,32,32,4,14,128,32,13,18,104,4,13,13,336,38,80,32,48,4,32,6,128,133,104,32,8,40,48,24,78,78,182,8,32,1,13,24,104,57,260... |
oeis/199/A199042.asm | neoneye/loda-programs | 11 | 173504 | ; A199042: Expansion of e.g.f. exp(arctan(1+2*x) - Pi/4).
; Submitted by <NAME>
; 1,1,-1,-1,17,-95,175,3775,-63775,533825,108575,-98151425,2037293425,-20945772575,-111991234225,10648024541375,-261756393325375,3003396413226625,43283396332525375,-3352997476533082625,94455063540276700625,-1135469395905648529375,-327880081... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.