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 |
|---|---|---|---|---|
first.asm | jacmba/nerdy-nights | 0 | 87098 | .inesprg 1
.ineschr 1
.inesmap 0
.inesmir 1
.bank 0
.org $8000
RESET:
sei
cld
lda #%10000000
sta $2001
FOREVER:
jmp FOREVER
.bank 1
.org $FFFA
.dw 0, RESET, 0
|
deBruijn/Substitution/Function/Simple.agda | nad/dependently-typed-syntax | 5 | 6789 | ------------------------------------------------------------------------
-- Some simple substitution combinators
------------------------------------------------------------------------
-- Given a term type which supports weakening and transformation of
-- variables to terms various substitutions are defined and vario... |
src/main/antlr4/cz/martinendler/chess/pgn/antlr4/PGN.g4 | pokusew/chess | 0 | 5182 | /*
* The MIT License (MIT)
*
* Copyright (c) 2013-2014 by <NAME>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to us... |
lib/core/conv/_long.asm | locodarwin/xc-basic3 | 11 | 169970 | <gh_stars>10-100
PROCESSOR 6502
; Convert long int on stack to byte
MAC F_cbyte_long
pla
pla
ENDM
; Convert long int on stack to word
MAC F_cword_long
pla
ENDM
; Convert long int on stack to int
MAC F_cint_long
pla
ENDM
; Convert long int on stack to float
MAC F_cfloat_long ; @pull @push
IF !FP... |
programs/oeis/287/A287803.asm | neoneye/loda | 22 | 167849 | ; A287803: Positions of 1 in A287801; complement of A287802.
; 1,6,7,10,15,16,21,22,25,30,31,34,39,40,45,46,49,54,55,60,61,64,69,70,73,78,79,84,85,88,93,94,97,102,103,108,109,112,117,118,123,124,127,132,133,136,141,142,147,148,151,156,157,162,163,166,171,172,175,180,181,186,187,190,195,196,199,204,205,210,211,214,219,2... |
source/nodes/program-relative_access_types.adb | reznikmm/gela | 0 | 7453 | <filename>source/nodes/program-relative_access_types.adb
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with System.Storage_Elements;
with System.Address_To_Access_Conversions;
package body Program.Relative_Access_Typ... |
oeis/254/A254474.asm | neoneye/loda-programs | 11 | 245871 | ; A254474: 30-gonal numbers: a(n) = n*(14*n-13).
; 0,1,30,87,172,285,426,595,792,1017,1270,1551,1860,2197,2562,2955,3376,3825,4302,4807,5340,5901,6490,7107,7752,8425,9126,9855,10612,11397,12210,13051,13920,14817,15742,16695,17676,18685,19722,20787,21880,23001,24150,25327,26532,27765,29026,30315,31632,32977,34350,35751,... |
agda/Midi.agda | halfaya/MusicTools | 28 | 3586 | <gh_stars>10-100
{-# OPTIONS --erased-cubical #-}
module Midi where
open import Agda.Builtin.String using (String)
open import Data.Fin using (toℕ)
open import Data.Nat using (ℕ)
open import Data.List using (List; []; _∷_; concatMap)
open import Data.Product using (_,_)
open import Data.Unit using (⊤)
open import Mi... |
src/inline_print.asm | pmwasson/apple2 | 4 | 707 | <reponame>pmwasson/apple2<gh_stars>1-10
;-----------------------------------------------------------------------------
; <NAME> - 2021
;-----------------------------------------------------------------------------
; inline_print - display following string to COUT
;-------------------------------------------------------... |
src/any/ppu_timing/statcount.asm | Hacktix/TixTest-GB | 5 | 246754 | <gh_stars>1-10
; ===== Makefile Headers =====
; MBC 0x00
; RAM 0x00
INCLUDE "hardware.inc"
INCLUDE "font.inc"
INCLUDE "common.inc"
SCROLL_INIT_COOLDOWN EQU 20
SCROLL_ITER_COOLDOWN EQU 3
SECTION "Header", ROM0[0]
ds $40 - @
VBlank:
jp HandleVBlank
ds $100 - @
SECTION "Test", ROM0[$100]
EntryPoint::
... |
programs/oeis/096/A096946.asm | neoneye/loda | 22 | 6951 | ; A096946: Ninth column of (1,5)-Pascal triangle A096940.
; 5,41,189,645,1815,4455,9867,20163,38610,70070,121550,202878,327522,513570,784890,1172490,1716099,2465991,3485075,4851275,6660225,9028305,12096045,16031925,21036600,27347580,35244396,45054284,57158420
lpb $0
mov $2,$0
sub $0,1
seq $2,96945 ; Eighth colum... |
source/amf/mofext/amf-internals-mof_tags.ads | svn2github/matreshka | 24 | 20771 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
sound/sfxasm/95.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 25393 | <gh_stars>1-10
95_Header:
sHeaderInit ; Z80 offset is $D0E4
sHeaderPatch 95_Patches
sHeaderTick $01
sHeaderCh $02
sHeaderSFX $80, $05, 95_FM5, $CC, $00
sHeaderSFX $80, $C0, 95_PSG3, $00, $02
95_FM5:
sPatFM $00
ssModZ80 $02, $01, $99, $E1
dc.b nCs0, $18
saVolFM $0E
sLoop $00, $03, 95_FM5
sStop
95_P... |
src/loader_main.asm | LittleFox94/Nyanix | 23 | 18359 |
; Copyright (c) 2019, k4m1 <<EMAIL>>
; All rights reserved. See /LICENSE for full license agreement.
;
; This code is responsible of loading the kernel from boot device, and
; then relocating it to 0x100000.
;
%include "src/consoles.asm"
%include "src/bioscall.asm"
USED_SECTORS equ (SECTOR_CNT + 1)
kernel_sectors_l... |
programs/oeis/322/A322489.asm | neoneye/loda | 22 | 98720 | <reponame>neoneye/loda
; A322489: Numbers k such that k^k ends with 4.
; 2,18,22,38,42,58,62,78,82,98,102,118,122,138,142,158,162,178,182,198,202,218,222,238,242,258,262,278,282,298,302,318,322,338,342,358,362,378,382,398,402,418,422,438,442,458,462,478,482,498,502,518,522,538,542,558,562,578,582,598,602,618,622,638,64... |
testsuite/ubivm/output/attr_real_1.asm | alexgarzao/UOP | 0 | 174411 | <reponame>alexgarzao/UOP
.constant_pool
.const 0 string [start]
.const 1 string [constructor]
.const 2 string [var1]
.const 3 real [10.990000]
.end
.entity start
.valid_context_when (always)
.method constructor
.var 0 real var1
ldconst 3 --> [10.990000]
stvar 0 --... |
3-mid/impact/source/2d/dynamics/joints/impact-d2-joint-distance.ads | charlie5/lace | 20 | 11237 | package impact.d2.Joint.distance
--
-- A distance joint constrains two points on two bodies
-- to remain at a fixed distance from each other. You can view
-- this as a massless, rigid rod.
--
is
type b2DistanceJoint is new b2Joint with private;
-- Distance joint definition.
-- This requires defining a... |
src/net-dns.adb | stcarrez/ada-enet | 16 | 20893 | <gh_stars>10-100
-----------------------------------------------------------------------
-- net-dns -- DNS Network utilities
-- Copyright (C) 2016, 2017 <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... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-cgideb.adb | orb-zhuchen/Orb | 0 | 29359 | <filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-cgideb.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
oeis/278/A278692.asm | neoneye/loda-programs | 11 | 15437 | ; A278692: Pisot sequence T(4,14).
; Submitted by <NAME>
; 4,14,49,171,596,2077,7238,25223,87897,306303,1067403,3719680,12962320,45171020,157411717,548547468,1911575138,6661446313,23213770727,80895217952,281903201529,982374694626,3423373822671,11929753885009,41572739387791,144872448909191,504850696923520,17593008753784... |
4-high/gel/source/concrete/gel-mouse-local.adb | charlie5/lace | 20 | 26993 | with
ada.unchecked_Deallocation;
package body gel.Mouse.local
is
package body Forge
is
function to_Mouse (of_Name : in String) return Item
is
begin
return Self : constant Item := (lace.Subject.local.Forge.to_Subject (of_Name)
with null rec... |
external/source/shellcode/windows/msf2/win32_stage_uploadexec.asm | madhavarao-yejarla/VoIP | 35 | 21118 | ; Title: Win32 Network Shell
; Platforms: Windows NT 4.0, Windows 2000, Windows XP, Windows 2003
; Author: <EMAIL>[<EMAIL>
[BITS 32]
%ifndef FN_RECV
%define FN_RECV [ebp + 24]
%endif
%define BLOCKSZ 32
; [ebp + 0] = kernel32.dll base
; [ebp + 4] = LGetProcAddress
; [ebp + 8] ... |
_build/dispatcher/jmp_ippsECCPGetSizeStd128r2_5e98172d.asm | zyktrcn/ippcp | 1 | 24539 | <reponame>zyktrcn/ippcp
extern m7_ippsECCPGetSizeStd128r2:function
extern n8_ippsECCPGetSizeStd128r2:function
extern y8_ippsECCPGetSizeStd128r2:function
extern e9_ippsECCPGetSizeStd128r2:function
extern l9_ippsECCPGetSizeStd128r2:function
extern n0_ippsECCPGetSizeStd128r2:function
extern k0_ippsECCPGetSizeStd128r2:func... |
alloy4fun_models/trashltl/models/5/wMuQiqnKJru8rqRJ3.als | Kaixi26/org.alloytools.alloy | 0 | 9 | <gh_stars>0
open main
pred idwMuQiqnKJru8rqRJ3_prop6 {
once File in Trash since File in Trash
}
pred __repair { idwMuQiqnKJru8rqRJ3_prop6 }
check __repair { idwMuQiqnKJru8rqRJ3_prop6 <=> prop6o } |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_482.asm | ljhsiun2/medusa | 9 | 23471 | <filename>Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_482.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xcc65, %rsi
lea addresses_UC_ht+0x106a5, %rdi
nop
nop
cmp %r11, %r11
mov $81, %rcx
rep mov... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_186.asm | ljhsiun2/medusa | 9 | 179671 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x11d88, %rsi
lea addresses_WT_ht+0x1a7e8, %rdi
add %r13, %r13
mov $11, %rcx
rep movsl
sub $3631, %r9
lea addresses_UC_ht+0xc3a8, %rbx
add $4352, %rdx
movups (%rbx), %xmm5
vpextrq $0, %xm... |
programs/oeis/100/A100156.asm | neoneye/loda | 22 | 9407 | <filename>programs/oeis/100/A100156.asm<gh_stars>10-100
; A100156: Structured truncated tetrahedral numbers.
; 1,12,44,108,215,376,602,904,1293,1780,2376,3092,3939,4928,6070,7376,8857,10524,12388,14460,16751,19272,22034,25048,28325,31876,35712,39844,44283,49040,54126,59552,65329,71468,77980,84876,92167,99864,107978,116... |
y2s2/csa/tutorials/t9-code/t9q6.asm | ouldevloper/university | 8 | 97158 | .MODEL SMALL
.STACK 100
.DATA
INPROMPT DB "Please enter 5 decimal digits >> $"
OUTPROMPT DB "The largest value in the list is >> $"
NL DB 13,10,'$'
DIGITS LABEL BYTE
MAXN DB 6
ACTN DB ?
ACTSTR DB 20 DUP('$')
LARGEST DB ?
.CODE
MAIN PROC
... |
programs/oeis/047/A047283.asm | karttu/loda | 0 | 83711 | <reponame>karttu/loda
; A047283: Numbers that are congruent to {0, 1, 3, 6} mod 7.
; 0,1,3,6,7,8,10,13,14,15,17,20,21,22,24,27,28,29,31,34,35,36,38,41,42,43,45,48,49,50,52,55,56,57,59,62,63,64,66,69,70,71,73,76,77,78,80,83,84,85,87,90,91,92,94,97,98,99,101,104,105,106,108,111
add $0,5
mov $1,$0
div $1,4
mul $1,2
mov $... |
Exam/2017-08/P2.agda | nicolabotta/DSLsofMath | 248 | 10126 | -- Problem 2: Multiplication for matrices (from the matrix algebra DSL).
module P2 where
-- 2a: Type the variables in the text.
-- (This answer uses Agda syntax, but that is not required.)
postulate Nat : Set
postulate V : Nat -> Set -> Set
postulate Fin : Nat -> Set
Op : Set -> Set
Op a = a -> a -> a
postulate su... |
nasm assembly/assgnment 3/qs_5.asm | AI-Factor-y/NASM-library | 0 | 89505 | section .data
msg2 : db 'enter a string : '
l2 : equ $-msg2
msg3 : db 'number of spaces is : '
l3 : equ $-msg3
space:db ' '
newline:db '',10
nwl :db ' ',10
nwl_l : equ $-nwl
section .bss
string_len : resd 1
string_1: resb 50
num: resd 1
strlen: resd 1
temp : resb 1
section .text
global _sta... |
source/oasis/program-elements-incomplete_type_definitions.ads | optikos/oasis | 0 | 28663 | <gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Definitions;
with Program.Lexical_Elements;
package Program.Elements.Incomplete_Type_Definitions is
pragma Pure ... |
oeis/017/A017766.asm | neoneye/loda-programs | 11 | 105509 | <reponame>neoneye/loda-programs
; A017766: Binomial coefficients C(50,n).
; 1,50,1225,19600,230300,2118760,15890700,99884400,536878650,2505433700,10272278170,37353738800,121399651100,354860518600,937845656300,2250829575120,4923689695575,9847379391150,18053528883775,30405943383200,47129212243960,67327446062800,887498152... |
1-base/lace/source/environ/lace-environ-paths.adb | charlie5/lace | 20 | 27848 | with
lace.Environ.OS_Commands,
lace.Text.utility,
posix.file_Status,
posix.Calendar,
shell.Directory_Iteration,
lace.Text.all_Tokens,
ada.Strings.fixed,
ada.Characters.handling,
ada.Directories,
ada.Direct_IO,
ada.Tags,
ada.Text_IO,
ada.IO_Exceptions;
... |
Library/Kernel/FSD/fsdManager.asm | steakknife/pcgeos | 504 | 17977 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC/GEOS
MODULE: Kernel -- FSD
FILE: fsdManager.asm
AUTHOR: <NAME>, July 18, 1991
REVISION HISTORY:
Name Date Description
---- ----... |
programs/oeis/225/A225539.asm | neoneye/loda | 22 | 7576 | <reponame>neoneye/loda
; A225539: Numbers n where 2^n and n have the same digital root.
; 5,16,23,34,41,52,59,70,77,88,95,106,113,124,131,142,149,160,167,178,185,196,203,214,221,232,239,250,257,268,275,286,293,304,311,322,329,340,347,358,365,376,383,394,401,412,419,430,437,448
add $0,3
mul $0,9
mov $1,-1
bin $1,$0
add... |
ch5.agda | asajeffrey/tapl | 3 | 16402 | <filename>ch5.agda
open import prelude renaming (_≟String_ to _≟_)
infixl 5 _$_
-- Copied pretty much verbatim
Var = String
data Term : Set where
var : Var → Term
fun : Var → Term → Term
_$_ : Term → Term → Term
data Value : Term → Set where
fun : (x : Var) → (t : Term) → Value(fun x t)
-- Free variables ... |
awa/plugins/awa-images/src/awa-images-services.adb | Letractively/ada-awa | 0 | 9807 | -----------------------------------------------------------------------
-- awa-images-services -- Image service
-- Copyright (C) 2012, 2013 <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 Li... |
Algebra/Group/Group.agda | esoeylemez/agda-simple | 1 | 2148 | <reponame>esoeylemez/agda-simple
-- Copyright: (c) 2016 <NAME>
-- License: BSD3
-- Maintainer: <NAME> <<EMAIL>>
module Algebra.Group.Group where
open import Algebra.Category
open import Algebra.Group.Monoid
open import Algebra.Group.Semigroup
open import Core
-- A group is a monoid where every element has an in... |
archive/agda-3/src/Test/ConfusionAboutExtension.agda | m0davis/oscar | 0 | 12357 | <gh_stars>0
import Oscar.Class.Transextensionality.Proposequality -- FIXME why not use the instance here?
open import Oscar.Class
open import Oscar.Class.IsPrecategory
open import Oscar.Class.Transextensionality
open import Oscar.Class.Transitivity
open import Oscar.Data.Proposequality
open import Oscar.Prelude
open i... |
boot.asm | AtieP/bareos | 3 | 163074 | <reponame>AtieP/bareos
org 0x7c00
bits 16
cpu 8086
main:
cli
xor ax, ax
mov ds, ax
mov es, ax
mov ss, ax
mov sp, 0x7c00
mov bp, sp
test al, 0x70
je read_sectors
mov al, 0x80 ; Reject floppy, embrace hard disk
read_sectors:
; Load 512-byte kernel right after the bootloader
mov ah, 0x41
mov bx, 0x55AA
... |
src/Categories/Object/Subobject/Properties.agda | bblfish/agda-categories | 5 | 9545 | <gh_stars>1-10
{-# OPTIONS --without-K --safe #-}
module Categories.Object.Subobject.Properties where
open import Level
open import Data.Product
open import Data.Unit
open import Function using (_$_)
open import Relation.Binary using (_=[_]⇒_)
open import Relation.Binary.Bundles
open import Relation.Binary.OrderMor... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2197.asm | ljhsiun2/medusa | 9 | 173621 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xc8c2, %rbp
nop
nop
xor %rdx, %rdx
movups (%rbp), %xmm7
vpextrq $1, %xmm7, %r12
nop
nop
add $16685, %r15
lea addresses_WT_ht+0xd742, %rsi
lea address... |
source/runtime/pb_support-memory_streams.ads | mgrojo/protobuf | 12 | 24210 | <reponame>mgrojo/protobuf
-- MIT License
--
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and associated documentation files (the "Software"),
-- to deal in the Software without restriction, including without limitation
-- the r... |
oeis/002/A002472.asm | neoneye/loda-programs | 11 | 97894 | <filename>oeis/002/A002472.asm
; A002472: Number of pairs x,y such that y-x=2, (x,n)=1, (y,n)=1 and 1 <= x <= n.
; Submitted by <NAME>
; 1,1,1,2,3,1,5,4,3,3,9,2,11,5,3,8,15,3,17,6,5,9,21,4,15,11,9,10,27,3,29,16,9,15,15,6,35,17,11,12,39,5,41,18,9,21,45,8,35,15,15,22,51,9,27,20,17,27,57,6,59,29,15,32,33,9,65,30,21,15,69,... |
smsq/qxl/comm/messpr.asm | olifink/smsqe | 0 | 240009 | ; SMS (QXL) Message Processing 1998 <NAME>
; 2005.01.10 1.01 added QXL restart (BC)
; 2006.10.01 1.02 added led updates, creates qmp_kbd_llck & uses it (BC)
; 2006.10.20 1.03 BLAT macro definitions commented out - macro wasn't used (wl)
section comm
xdef qxl_mess_pr
xdef qxl_mess_prnext
xdef qmp_updt_led
x... |
antlr/src/main/antlr/xyz/chph/toy/antlr/Toy.g4 | QQ876684433/ToyLang | 1 | 5415 | //header
grammar Toy;
@header {
package xyz.chph.toy.antlr;
}
//RULES
compilationUnit
: importDeclaration* classDeclaration
EOF
;
importDeclaration
: 'import' importList 'from' qualifiedName
;
importList
: importReference (',' importReference)*
| '{' importReference (',' impo... |
old/old.adb | twinbee/lamportsBakery | 0 | 30026 | <reponame>twinbee/lamportsBakery<gh_stars>0
----------------------------csc410/prog5/as5.adb----------------------------
-- Author: <NAME>
-- Class: CSC410 Burgess
-- Date: 11-01-04 Modified: 11-01-04
-- Due: 11-7-04
-- Desc: Assignment 5: LAMPORT'S ALGORITHM FOR VIRTUAL TOPOLOGY NETWORKS
--
-- a nonproduct... |
programs/oeis/256/A256302.asm | neoneye/loda | 22 | 3290 | <reponame>neoneye/loda<gh_stars>10-100
; A256302: Least prime p such that p+3*k*(k+1) is prime for all k=0,...,n.
; 2,5,5,5,11,11,11,11,11,11,23,23,23,23,23,23,23,23,23,23,23,23
mov $1,3
lpb $0
trn $0,$1
mul $1,2
lpe
sub $1,1
mov $0,$1
|
include/sf-window-input.ads | danva994/ASFML-1.6 | 1 | 14860 | <filename>include/sf-window-input.ads
-- ////////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 <NAME> (<EMAIL>)
-- //
-- // This software is provided 'as-is', without any express or implied warranty.
-- // In no event will the au... |
Lab0/lab0.adb | albinjal/ada_basic | 3 | 30493 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Float_Text_IO; use Ada.Float_Text_IO;
procedure Lab0 is
I: Integer;
F: Float;
C: Character;
S: String(1..5);
begin
Put("Skriv in ett heltal: "); Get(I);
Put("Du skrev in talet: "); Put(I,2);
New_Lin... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_interfaces_mixer_h.ads | persan/A-gst | 1 | 12544 | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
with glib;
with System;
-- limited with GStreamer.GST_Low_Level.glib_2_0_glib_glist_h;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_interfaces_mixertrack_h;
limi... |
examples/grammars/HTMLParser.g4 | vglavnyy/grammarinator | 1 | 3885 | <reponame>vglavnyy/grammarinator
/*
[The "BSD licence"]
Copyright (c) 2013 <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
... |
OCR-PDFpen.applescript | MirkoLenz/DEVONthink-Scripts | 3 | 15 | <filename>OCR-PDFpen.applescript
on run
tell application id "DNtp"
set _records to selection
repeat with _record in _records
set _file to path of _record
tell application "PDFpenPro"
open (POSIX file _file) as alias
tell document 1
if needs ocr then
ocr
repeat while performing ocr
... |
poom-services-domain/src/main/antlr4/org/codingmatters/poom/services/domain/property/query/parsers/PropertyFilter.g4 | nelt/poom-services | 0 | 7630 | grammar PropertyFilter;
/* Lexical rules */
NOT : '!' ;
AND : '&&' ;
OR : '||' ;
LPAR : '(';
RPAR : ')';
COMMA : ',';
TRUE : T R U E ;
FALSE : F A L S E ;
NULL : N U L L ;
IS_EMPTY : I S ' ' E M P T Y;
IS_NOT_EMPTY : I S ' ' N O T ' ' E M P T Y;
GT : '>' ;
GTE : '>=' ;
LT : '<' ;
LTE : '<=' ;
EQ : '==' ;
NEQ :... |
P6/P6Judger - 100 testpoints/testpoint/testpoint60.asm | flyinglandlord/BUAA-CO-2021 | 5 | 84106 | <reponame>flyinglandlord/BUAA-CO-2021<gh_stars>1-10
ori $1, $0, 3
ori $2, $0, 9
ori $3, $0, 7
ori $4, $0, 9
sw $2, 0($0)
sw $4, 4($0)
sw $3, 8($0)
sw $2, 12($0)
sw $2, 16($0)
sw $3, 20($0)
sw $1, 24($0)
sw $3, 28($0)
sw $4, 32($0)
sw $1, 36($0)
sw $4, 40($0)
sw $1, 44($0)
sw $3, 48($0)
sw $3, 52($0)
sw $3, 56($0)
sw $1... |
grammar/VSL.g4 | VegaLib/VSL | 0 | 3551 | <gh_stars>0
///
/// Microsoft Public License (Ms-PL) - Copyright (c) 2020-2021 <NAME>
/// This file is subject to the terms and conditions of the Microsoft Public License, the text of which can be found in
/// the 'LICENSE' file at the root of this repository, or online at <https://opensource.org/licenses/MS-PL>.
///
... |
operating_sys/usertests.asm | jasper-lov/waterville_os | 0 | 26603 |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return randstate;
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc push -0x4(%ecx)
a: 55... |
src/NTypes/Coproduct.agda | vituscze/HoTT-lectures | 0 | 9880 | <reponame>vituscze/HoTT-lectures<gh_stars>0
{-# OPTIONS --without-K #-}
module NTypes.Coproduct where
open import NTypes
open import PathOperations
open import PathStructure.Coproduct
open import Types
⊎-isSet : ∀ {A : Set} {B : Set} →
isSet A → isSet B → isSet (A ⊎ B)
⊎-isSet {A = A} {B = B} A-set B-set x y p q =
... |
oeis/123/A123672.asm | neoneye/loda-programs | 11 | 164520 | <filename>oeis/123/A123672.asm
; A123672: a(1) = 1; for n > 1, a(n) = (2^n-1)*a(n-1) + (-1)^n.
; Submitted by <NAME>
; 1,4,27,406,12585,792856,100692711,25676641306,13120763707365,13422541272634396,27475941985082608611,112513982428913282262046,921602030075228695008418785,15098606058722471710322924954656,494736024726159... |
src/8088/payload/init.asm | TheStingray8088/cbm2-pc-emulator | 0 | 162966 | <reponame>TheStingray8088/cbm2-pc-emulator
; -----------------------------------------------------------------
; Init interrupt vectors
; -----------------------------------------------------------------
Init_INT:
cld
; Write interrupt vectors
mov ax, cs
mov ds, ax
xor bx, bx
mov es, bx
... |
include/bits_types_struct_u_jmp_buf_tag_h.ads | docandrew/troodon | 5 | 25007 | <filename>include/bits_types_struct_u_jmp_buf_tag_h.ads
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with bits_setjmp_h;
with bits_types_u_sigset_t_h;
package bits_types_struct_u_jmp_buf_tag_h is
-- Define struct __jmp_buf_tag.
-- Copyright (C) 1991-2021 Free Software Founda... |
test/asm/error-recovery.asm | michealccc/rgbds | 522 | 176489 | println "begin"
println 42, 1 2 3 4
for n, 5
println "start {d:n}"
println syntax error
println "finish {d:n}"
endr
println "end {d:n}"
|
langs/pm/src/main/antlr/quasylab/sibilla/langs/pm/PopulationModel.g4 | LucaLorenz/sibilla | 1 | 1021 | <filename>langs/pm/src/main/antlr/quasylab/sibilla/langs/pm/PopulationModel.g4<gh_stars>1-10
grammar PopulationModel;
@header {
package quasylab.sibilla.langs.pm;
}
model : element*;
element : const_declaration | species_declaration | rule_declaration | param_declaration | measure_declaration | system_declaration ... |
source/nodes/program-nodes-case_paths.adb | reznikmm/gela | 0 | 5445 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Case_Paths is
function Create
(When_Token : not null Program.Lexical_Elements.Lexical_Element_Access;
Choices : not null Progr... |
src/servlet-sessions.ads | jquorning/ada-servlet | 6 | 16240 | -----------------------------------------------------------------------
-- servlet-sessions -- Servlet Sessions
-- Copyright (C) 2010, 2011, 2018, 2021 <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 ... |
proofs/AKS/Nat/WellFounded.agda | mckeankylej/thesis | 1 | 16614 | <reponame>mckeankylej/thesis
open import Relation.Binary.PropositionalEquality using (_≡_; refl; sym)
module AKS.Nat.WellFounded where
open import AKS.Nat.Base using (ℕ; _+_; _∸_; _≤_; _<_; lte)
open ℕ
open import AKS.Nat.Properties using (+-identityʳ; +-suc; ∸-mono-<ˡ; ∸-mono-<ʳ; suc-injective)
data Acc {A : Set} (... |
substruction.asm | arfat01850/Assembly_Program | 1 | 16092 | <gh_stars>1-10
.MODEL COMPACT
.STACK 100H
.DATA
A DB ?
b DB ?
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
MOV AH,1
INT 21H
MOV A,AL
INT 21H
MOV B,AL
MOV BL,A
MOV CL,B
SUB BL,CL ; BL = BL- CL
ADD BL,48
MOV AH,2
MOV DL,BL
... |
scripts/CeruleanPokecenter.asm | AmateurPanda92/pokemon-rby-dx | 9 | 93786 | CeruleanPokecenter_Script:
call Serial_TryEstablishingExternallyClockedConnection
jp EnableAutoTextBoxDrawing
CeruleanPokecenter_TextPointers:
dw CeruleanHealNurseText
dw CeruleanPokecenterText2
dw CeruleanPokecenterText3
dw CeruleanTradeNurseText
CeruleanTradeNurseText:
TX_CABLE_CLUB_RECEPTIONIST
CeruleanHea... |
msquic/msvc/evercrypt/amd64/poly1305-x86_64-msvc.asm | ThadHouse/everest-dist | 1 | 176091 | <reponame>ThadHouse/everest-dist<filename>msquic/msvc/evercrypt/amd64/poly1305-x86_64-msvc.asm
.code
ALIGN 16
x64_poly1305 proc
mov rax, rdi
mov r11, rsi
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov qword ptr [rdi + 184], rcx
push rbx
push rbp
push rax
push r11
push r12
... |
google-reverser-image-search.scpt | oblitorum/google-reverse-image-search-quick-action | 0 | 3258 | <reponame>oblitorum/google-reverse-image-search-quick-action
tell application "Finder" to set theFile to POSIX path of (selection as alias)
set link to do shell script "curl -s -i -F sch=sch -F encoded_image=@" & quoted form of theFile & " https://www.google.com/searchbyimage/upload | grep -Fi location | cut -d ' ' -f2... |
src/sparknacl-sign-utils.ads | yannickmoy/SPARKNaCl | 76 | 19172 | <gh_stars>10-100
package SPARKNaCl.Sign.Utils
with Pure,
SPARK_Mode => On
is
procedure Construct (X : in Bytes_64;
Y : out Signing_SK);
end SPARKNaCl.Sign.Utils;
|
antlr/java/11-history/CmdLine.g4 | flange/drift-dev | 2 | 5206 | <filename>antlr/java/11-history/CmdLine.g4
grammar CmdLine;
script
: cmd
| query
| ls
| cd
| rm
;
cd
: 'cd ' namespace
| 'cd ' up
;
up
: UP ('/')?
| UP ('/'UP('/')?)*
;
ls
: 'ls'
| 'ls ' namespace
;
rm
: 'rm ' targetName
| 'rm ' targetNamespace
;
query
: '$'targetName
| '$'... |
source/progaid/renumapp.asm | zellyn/goapple2 | 9 | 4226 | **************************************************
* *
* APPLE-][ BASIC RENUMBER / APPEND SUBROUTINES *
* *
* VERSION TWO *
* RENUMBER *
* >CLR *
* >START= *
* >STEP= *
* >CALL -10531 *
* *
* OPTIONAL *
* >FROM= *
*... |
src/test/ref/function-as-array.asm | jbrandwood/kickc | 2 | 2752 | <reponame>jbrandwood/kickc
// Tests treating a function like an array
// Should produce an error
// https://gitlab.com/camelot/kickc/issues/276
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
main: {
jsr new_ball
rts
}
new_ball: {
inc BALLS
rts
}
BALLS: .fill $10, 0
|
Applications/Terminal/window/iterate.applescript | looking-for-a-job/applescript-examples | 1 | 2929 | <filename>Applications/Terminal/window/iterate.applescript
#!/usr/bin/osascript
tell application "Terminal"
repeat with w in every window
get properties of w
tell w
name
end tell
end repeat
end tell |
test/Fail/Issue3480.agda | cruhland/agda | 1,989 | 3061 | <filename>test/Fail/Issue3480.agda
-- Andreas, 2018-12-30, issue #3480
-- Parse error should be reported close to the incomplete "module _"
-- rather than at the end of the file, which is miles away.
module _
{- A long comment:
<NAME>
ON THE MEANINGS OF THE LOGICAL
CONSTANTS AND THE JUSTIFICATIONS
OF THE LOGICAL L... |
1-base/math/source/precision/short/short_math.ads | charlie5/lace | 20 | 4594 | <reponame>charlie5/lace
with
any_Math;
package short_Math is new any_Math (Real_t => short_Float);
pragma Pure (short_Math);
|
src/Categories/Diagram/Coequalizer.agda | maxsnew/agda-categories | 0 | 13638 | <gh_stars>0
{-# OPTIONS --without-K --safe #-}
open import Categories.Category.Core using (Category)
module Categories.Diagram.Coequalizer {o ℓ e} (𝒞 : Category o ℓ e) where
open Category 𝒞
open HomReasoning
open Equiv
open import Categories.Morphism 𝒞
open import Categories.Morphism.Reasoning 𝒞
open import Le... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_692_795.asm | ljhsiun2/medusa | 9 | 177794 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x816d, %rcx
sub $51094, %r10
mov (%rcx), %di
nop
nop
nop
inc %r13
lea addresses_UC_ht+0x43d, %r12
nop
nop
nop
nop
nop
inc %r9
movb (%r12), %bl
inc %r9
lea a... |
oeis/096/A096617.asm | neoneye/loda-programs | 11 | 246834 | ; A096617: Numerator of n*HarmonicNumber(n).
; Submitted by <NAME>(w1)
; 1,3,11,25,137,147,363,761,7129,7381,83711,86021,1145993,1171733,1195757,2436559,42142223,42822903,275295799,279175675,56574159,19093197,444316699,1347822955,34052522467,34395742267,312536252003,315404588903,9227046511387,9304682830147,290774257297... |
oeis/256/A256539.asm | neoneye/loda-programs | 11 | 169770 | <gh_stars>10-100
; A256539: Number of partitions of 4n into at most 5 parts.
; Submitted by <NAME>(s2)
; 1,5,18,47,101,192,333,540,831,1226,1747,2418,3266,4319,5608,7166,9027,11229,13811,16814,20282,24260,28796,33940,39744,46262,53550,61667,70673,80631,91606,103664,116875,131310,147042,164147,182702,202787,224484,24787... |
src/Parse/TreeConvert.agda | WhatisRT/meta-cedille | 35 | 10449 | --------------------------------------------------------------------------------
-- This file contains functions to turn the tree of parse results into the agda
-- data structures they represent.
--------------------------------------------------------------------------------
{-# OPTIONS --type-in-type #-}
module Par... |
x86/src/64/frames.asm | sneakin/north | 2 | 242961 | <gh_stars>1-10
defop current_frame
pop rax
push fp
push rax
ret
defop begin_frame
pop rax
push fp
mov fp, rsp
jmp rax
defop drop_frame
pop rax
mov rsp, fp
pop fp
jmp rax
defop end_frame
mov fp, [fp]
ret
defalias pop_frame,end_frame
;;;
;;; Returns
;;;
defop drop_locals
pop rax
... |
grammars/src/main/antlr/cadl_primitives.g4 | serefarikan/archie | 1 | 159 | //
// description: Antlr4 grammar for cADL primitives sub-syntax of Archetype Definition Language (ADL2)
// author: <NAME> <<EMAIL>>
// support: openEHR Specifications PR tracker <https://openehr.atlassian.net/projects/SPECPR/issues>
// copyright: Copyright (c) 2015 openEHR Foundation
// license: Apache ... |
monitor/vga_library.asm | mfkiwl/QNICE-FPGA-hyperRAM | 53 | 5287 | <reponame>mfkiwl/QNICE-FPGA-hyperRAM<filename>monitor/vga_library.asm<gh_stars>10-100
;
;;=======================================================================================
;; The collection of VGA related function starts here
;;======================================================================================... |
src/util-beans-objects-enums.ads | Letractively/ada-util | 60 | 4612 | -----------------------------------------------------------------------
-- Util.Beans.Objects.Enums -- Helper conversion for discrete types
-- Copyright (C) 2010 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compli... |
dv3/fd/rsect.asm | olifink/smsqe | 0 | 7689 | <reponame>olifink/smsqe
; DV3 Standard Floppy Disk Read Sector 1998 <NAME>
section dv3
xdef fd_rdirect ; direct sector read
xdef fd_rsint ; read sector (internal)
xdef fd_ckroot ; internal check root sector
xdef fd_rroot ; internal read root sector
xref fd_hold ; reserve the controller
xref fd_... |
antigo/ap1/grammars/Exp.g4 | natalisso/compilers-cin | 24 | 332 | grammar Exp;
s : e;
e : e '*' e
| e '+' e
| INT
;
INT : [0-9]+;
WS : [ \t\r\n]+ -> skip; |
src/ada/src/services/atbb/assignment_tree_branch_bound.ads | VVCAS-Sean/OpenUxAS | 88 | 28157 | with Ada.Containers.Formal_Hashed_Maps;
with Ada.Containers.Functional_Maps;
with Ada.Containers; use Ada.Containers;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Assignment_Tree_Branch_Bound_Communication; use Assignment_Tree_Branch_Bound_Communication;
w... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1986.asm | ljhsiun2/medusa | 9 | 165686 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1986.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r8
push %r9
push %rbx
push %rcx
push %rdi
// Store
lea addresses_D+0x1f29, %rcx
clflush (%rcx)
and $37960, %r... |
oeis/034/A034699.asm | neoneye/loda-programs | 11 | 164327 | <reponame>neoneye/loda-programs
; A034699: Largest prime power factor of n.
; Submitted by <NAME>
; 1,2,3,4,5,3,7,8,9,5,11,4,13,7,5,16,17,9,19,5,7,11,23,8,25,13,27,7,29,5,31,32,11,17,7,9,37,19,13,8,41,7,43,11,9,23,47,16,49,25,17,13,53,27,11,8,19,29,59,5,61,31,9,64,13,11,67,17,23,7,71,9,73,37,25,19,11,13,79,16,81,41,83,... |
programs/oeis/037/A037547.asm | karttu/loda | 1 | 93580 | ; A037547: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,2.
; 1,8,50,301,1808,10850,65101,390608,2343650,14061901,84371408,506228450,3037370701,18224224208,109345345250,656072071501,3936432429008,23618594574050,141711567444301,850269404665808,5101616427994850
cal $0,33... |
tests/tcl-strings-test_data-tests.adb | thindil/tashy2 | 2 | 29316 | -- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to set up and tear down the t... |
src/ctree_d.asm | mdennehy/PICRat | 0 | 100897 | <filename>src/ctree_d.asm
;--------------------LIBRARY SPECIFICATION-------------------
;
; NAME : CTree_D.asm
;
; FUNCTIONS : Digital Command Tree
;
; NOTES :
;
;------------------------------------------------------------
; REVISION HISTORY :
; 9/1/98 First Draft
;
;------------------------------... |
Exemplos ADA/BuscaBinaria/BuscaBinaria.adb | wildeee/safADA | 0 | 24442 | With Ada.Text_IO; Use Ada.Text_IO;
Procedure BuscaBinaria is
numeros: array(1..15) of Integer;
target : Integer;
L : Integer;
R : Integer;
mid : Integer;
found: Integer;
-- Leitura String
function Get_String return String is
Line : String (1 .. 1_000);
Last : Natural;
begin
Get_Line (Line, Last);
ret... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i9-9900K_12_0xa0_notsx.log_21829_1932.asm | ljhsiun2/medusa | 9 | 100154 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i9-9900K_12_0xa0_notsx.log_21829_1932.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1425f, %rsi
lea addresses_WC_ht+0x2f5f, %rdi
clfl... |
oeis/055/A055478.asm | neoneye/loda-programs | 11 | 87262 | ; A055478: Powers of ten written in base 7.
; Submitted by <NAME>(s2)
; 1,13,202,2626,41104,564355,11333311,150666343,2322662122,33531600616,502544411644,10140043655335,132150634516021,2051322215344303,30030522136142242,420430421136212506,6066226105140066214,115260305403151260115,1535044306544330041531,2362164232504262... |
old/Metalogic/Metalogic/Classical/Propositional/TruthSemanticsModel.agda | Lolirofle/stuff-in-agda | 6 | 8530 | <reponame>Lolirofle/stuff-in-agda
module Metalogic.Classical.Propositional.TruthSemanticsModel {ℓ} (Proposition : Set(ℓ)) where
import Lvl
open import Data.Boolean
open import Data
open import Data.Tuple as Tuple using (_⨯_ ; _,_)
open import Functional
open import Metalogic.Classical.Propositional.Syntax{ℓ} (Pro... |
oeis/196/A196537.asm | neoneye/loda-programs | 11 | 95540 | ; A196537: Number of nX1 0..4 arrays with each element equal to the number its horizontal and vertical neighbors less than or equal to itself
; Submitted by <NAME>
; 1,3,2,7,19,35,77,176,377,819,1801,3927,8562,18711,40855,89179,194729,425184,928305,2026855,4425441,9662395,21096706,46062279,100571611,219586403,479441557... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.