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 |
|---|---|---|---|---|
source/amf/uml/amf-uml-regions.ads | svn2github/matreshka | 24 | 14865 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
kernel/gdt.asm | iocoder/upcr | 0 | 98480 | ;###############################################################################
;# FILE NAME: KERNEL/GDT.ASM
;# DESCRIPTION: KERNEL GLOBAL DESCRIPTOR TABLE
;# AUTHOR: <NAME>.
;###############################################################################
;#
;# UPCR OPERATING SYSTEM FOR X86_64 ARCHITECTURE
;... |
install/lib/hdisk/partboot.asm | minblock/msdos | 0 | 18544 | ;========================================================
COMMENT #
PARTBOOT.ASM
Copyright (c) 1991 - Microsoft Corp.
All rights reserved.
Microsoft Confidential
=================================================
Reads in the first sector (boot record) of a hard
disk partition.
int ReadPartBootRec( struct P... |
VirtualMachine/Win32/UnitTests/Conditionals/test6_and_Boolean.asm | ObjectPascalInterpreter/BookPart_3 | 8 | 23149 | # Test6 - AND Test
pushb true
pushb false
and
halt
|
agda/BBHeap/Subtyping.agda | bgbianchi/sorting | 6 | 4159 | <filename>agda/BBHeap/Subtyping.agda
open import Relation.Binary.Core
module BBHeap.Subtyping {A : Set}
(_≤_ : A → A → Set)
(trans≤ : Transitive _≤_) where
open import BBHeap _≤_
open import Bound.Lower A
open import Bound.Lower.Order _≤_
open import Bound.Lower.Order.Properties ... |
oeis/084/A084472.asm | neoneye/loda-programs | 11 | 93238 | <reponame>neoneye/loda-programs
; A084472: Write n in binary and replace 0 with 00.
; Submitted by <NAME>
; 1,100,11,10000,1001,1100,111,1000000,100001,100100,10011,110000,11001,11100,1111,100000000,10000001,10000100,1000011,10010000,1001001,1001100,100111,11000000,1100001,1100100,110011,1110000
seq $0,84471 ; Change ... |
examples/substr.asm | mossx-dev/Mycore | 0 | 161267 | ;; Author: <NAME>
;; Date: 20-Oct-21
%include "std/sys.asm"
%include "std/args.asm"
%include "std/str.asm"
global _start
section .data
arg1: db "<string> <split start> <split end>", 0
section .text
_start:
mov r15, rsp
call main
mov eax, esi ; exit code
call sys~e... |
repl/libmarkab/strings.nasm | samblenny/markab-lab | 0 | 164876 | ; Copyright (c) 2022 <NAME>
; SPDX-License-Identifier: MIT
;
; MarkabForth string words (meant to be included in ../libmarkab.nasm)
; This include path is relative to the working directory that will be in effect
; when running the Makefile in the parent directory of this file. So the
; include path is relative to ../M... |
src/interface/cl-events.ads | flyx/OpenCLAda | 8 | 713 | <reponame>flyx/OpenCLAda<filename>src/interface/cl-events.ads
--------------------------------------------------------------------------------
-- Copyright (c) 2013, <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided... |
DiceScript2.0/DiceScript20Lexer.g4 | wiredwiz/Edgerunner.Dice | 0 | 7194 | <reponame>wiredwiz/Edgerunner.Dice<gh_stars>0
lexer grammar DiceScript20Lexer;
channels { COMMENTS_CHANNEL }
/*
* Lexer Rules
*/
SINGLE_LINE_COMMENT
: '//' INPUT_CHARACTER* -> channel(COMMENTS_CHANNEL);
DELIMITED_COMMENT
: '/*' .*? '*/' -> channel(COMMENTS_CHANNEL);
WS
: [ \t\r\n] -> channel(HIDDEN)
;
COMMA... |
src/pql/Query.g4 | Hexaae/picotorrent | 0 | 782 | <reponame>Hexaae/picotorrent<filename>src/pql/Query.g4
grammar Query;
AND : 'and';
OR : 'or';
// comparison operators
EQ : '=';
CONTAINS : '~';
GT : '>';
GTE : '>=';
LT : '<';
LTE : '<=';
WS : [ \t\r\n]+ -> skip ;
INT : '-'? ... |
programs/oeis/085/A085405.asm | jmorken/loda | 1 | 13719 | ; A085405: Common residues of binomial(3n+2,n+1)/(3n+2) modulo 2.
; 1,0,1,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,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,... |
oeis/080/A080957.asm | neoneye/loda-programs | 11 | 5450 | ; A080957: Expansion of (5 - 9*x + 6*x^2)/(1-x)^4.
; 5,11,20,34,55,85,126,180,249,335,440,566,715,889,1090,1320,1581,1875,2204,2570,2975,3421,3910,4444,5025,5655,6336,7070,7859,8705,9610,10576,11605,12699,13860,15090,16391,17765,19214,20740,22345,24031,25800,27654,29595,31625,33746,35960,38269,40675,43180,45786,48495,5... |
programs/oeis/061/A061249.asm | neoneye/loda | 22 | 83843 | ; A061249: Smallest number with digit sum = Fibonacci(n).
; 0,1,1,2,3,5,8,49,399,7999,1999999,8999999999,9999999999999999,89999999999999999999999999
seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
seq $0,51885 ; Smallest number whose sum of digits is n.
|
GIOVANNI/gambatte/test/hwtests/halt/lycirq_scy_during_m3_2.asm | ReallyEvilFish/1234 | 9 | 16196 | .size 8000
.text@100
jp lbegin
.text@150
lbegin:
ld c, 44
ld b, 90
lbegin_waitvblank:
ldff a, (c)
cmp a, b
jrnz lbegin_waitvblank
ld hl, 8010
ld a, ff
ld(hl++), a
ld(hl++), a
ld a, 01
ld b, 32
ld hl, 9a40
lbegin_settilemap:
ld(hl++), a
dec b
jrnz lbegin_settilemap
ld a, c0
ldff(47), a
ld c, 41
ld ... |
test/Succeed/Issue1544.agda | cruhland/agda | 1,989 | 7092 | -- Andreas, 2015-07-16 issue reported by G.Allais
-- This ought to pass, ideally, but the lack of positivity polymorphism
-- does not allow for a precise analysis of the composition operator.
--
-- Subsequently, the positivity analysis for tabulate returns no
-- positivity info for all arguments, leading to a rejectio... |
programs/oeis/064/A064437.asm | karttu/loda | 0 | 175337 | <filename>programs/oeis/064/A064437.asm
; A064437: a(1)=1, a(n)=a(n-1)+3 if n is already in the sequence, a(n)=a(n-1)+2 otherwise.
; 1,3,6,8,10,13,15,18,20,23,25,27,30,32,35,37,39,42,44,47,49,51,54,56,59,61,64,66,68,71,73,76,78,80,83,85,88,90,93,95,97,100,102,105,107,109,112,114,117,119,122,124,126,129,131,134,136,138,... |
Sources/Globe_3d/objects/globe_3d-sprite.ads | ForYouEyesOnly/Space-Convoy | 1 | 16590 | -------------------------------------------------------------------------
-- GLOBE_3D - GL - based, real - time, 3D engine
--
-- Copyright (c) <NAME>/<NAME> 2007
-- CH - 8810 Horgen
-- SWITZERLAND
-- Permission granted to use this software, without any warranty,
-- for any purpose, provided this cop... |
programs/oeis/231/A231677.asm | karttu/loda | 0 | 94165 | ; A231677: a(n) = Sum_{i=0..n} digsum_7(i)^2, where digsum_7(i) = A053828(i).
; 0,1,5,14,30,55,91,92,96,105,121,146,182,231,235,244,260,285,321,370,434,443,459,484,520,569,633,714,730,755,791,840,904,985,1085,1110,1146,1195,1259,1340,1440,1561,1597,1646,1710,1791,1891,2012,2156,2157,2161,2170,2186,2211,2247,2296,2300,2... |
source/amf/uml/amf-factories-uml_factories.ads | svn2github/matreshka | 24 | 18048 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37211d.ada | best08618/asylo | 7 | 9758 | -- C37211D.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... |
programs/oeis/108/A108976.asm | neoneye/loda | 22 | 21874 | ; A108976: Numbers n such that 17*n + 19 is prime.
; 0,2,12,14,20,26,32,36,42,54,56,60,74,84,86,90,92,102,104,110,126,134,140,144,156,170,176,180,186,212,216,222,230,240,242,246,254,264,272,282,296,300,302,312,324,344,354,362,372,384,386,414,420,422,440,450
seq $0,142072 ; Primes congruent to 19 mod 34.
div $0,34
mul ... |
source/features/keyboard.asm | feliposz/FelipOS | 0 | 82840 | <reponame>feliposz/FelipOS
; os_wait_for_key -- Waits for keypress and returns key
; IN: Nothing
; OUT: AX = key pressed, other regs preserved
os_wait_for_key:
mov ah, 11h ; check key buffer
int 16h
jnz .keypress
hlt ; no key press, wait for interrupt and loop
jmp os_wait_for_key
.k... |
src/main/antlr/cymbol/CymbolCFG.g4 | courses-at-nju-by-hfwei/compilers-antlr | 7 | 617 | grammar CymbolCFG;
prog : prog decl
| decl
;
decl : varDecl
| funcDecl
;
varDecl : ' ' ; // just for placeholder
funcDecl : ' ' ; // just for placeholder |
oeis/303/A303991.asm | neoneye/loda-programs | 11 | 166977 | <filename>oeis/303/A303991.asm<gh_stars>10-100
; A303991: Row sums of triangle A303990.
; Submitted by <NAME>(s4)
; 1,18,804,70980,10436805,2303750526,712510404592,294018013725192,156070751204023425,103597044789173411410,84072367255899882570876,81892130447332894817380044,94289343231845338982163322837,126676207083751543... |
Cubical/Relation/Binary/Reasoning/PartialEquivalence.agda | bijan2005/univalent-foundations | 0 | 14333 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Convenient syntax for reasoning with a partial setoid
------------------------------------------------------------------------
{-# OPTIONS --cubical --no-import-sorts --safe #-}
open import Cubical.Core.Everyth... |
src/norx.adb | jhumphry/SPARK_NORX | 9 | 21624 | -- NORX
-- an Ada implementation of the NORX Authenticated Encryption Algorithm
-- created by <NAME>, <NAME> and <NAME>
-- Copyright (c) 2016-2017, <NAME> - see LICENSE file for details
pragma Restrictions(No_Implementation_Attributes,
No_Implementation_Units,
No_Obsolescent_Fe... |
src/ada-libc/src/libc-sys-types.ads | mstewartgallus/linted | 0 | 26615 | -- Copyright 2015 <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writi... |
src/asf-servlets-measures.ads | jquorning/ada-asf | 12 | 8398 | -----------------------------------------------------------------------
-- asf-servlets-measures -- Performance measurement servlet
-- Copyright (C) 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance wit... |
LAB_4.asm | skinan/Assembly-Basics-8086 | 0 | 179168 | <gh_stars>0
.MODEL SMALL
.STACK
.DATA
.CODE
MOV AX, 10
MOV BX, 4
MOV CX, 6
MOV DX, 4
XOR AX, BX
AND BX, CX
OR CX, DX
HLT ; HAULT |
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_1_1350.asm | ljhsiun2/medusa | 9 | 28451 | <filename>Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_1_1350.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x452f, %rsi
lea addresses_UC_ht+0xaf5, %rdi
nop
cmp $48711, %r11
mov $107, %rcx
rep movsb
nop... |
programs/oeis/077/A077259.asm | jmorken/loda | 1 | 12186 | <reponame>jmorken/loda
; A077259: First member of the Diophantine pair (m,k) that satisfies 5*(m^2 + m) = k^2 + k; a(n) = m.
; 0,2,6,44,116,798,2090,14328,37512,257114,673134,4613732,12078908,82790070,216747218,1485607536,3889371024,26658145586,69791931222,478361013020,1252365390980,8583840088782,22472785106426,1540307... |
src/dsp-generic_functions.adb | fintatarta/generic-dsp | 0 | 12044 | <filename>src/dsp-generic_functions.adb
pragma Ada_2012;
with Ada.Numerics.Elementary_Functions;
package body DSP.Generic_Functions is
function Complexify (X : Real_Filters.Coefficient_Array)
return Complex_Filters.Coefficient_Array
is
Result : Complex_Filters.Coefficient_Array (X'... |
boot/paging.asm | theaarushgupta/smolOS | 1 | 25926 | <filename>boot/paging.asm
global setupPageTables, enablePaging, stackTop
section .text
bits 32
setupPageTables:
mov eax, pageTableL3
or eax, 0b11 ; writeable entries
mov [pageTableL4], eax ; move flags to first entry in L4
mov eax, pageTableL2
or eax, 0b11
mov [pageTableL3], eax
mov ecx, 0 ; counter
.loop:
mo... |
scripts/generate_coverage.applescript | Son-Le-Goog/nimbus | 2,787 | 3911 | <gh_stars>1000+
on run argv
tell application "/Applications/CoverStory.app"
quit
activate
set x to open (item 1 of argv)
tell x to export to HTML in (item 2 of argv)
quit
end tell
return item 1 of argv & "|" & item 2 of argv
end run |
programs/oeis/014/A014983.asm | neoneye/loda | 22 | 178817 | ; A014983: a(n) = (1 - (-3)^n)/4.
; 0,1,-2,7,-20,61,-182,547,-1640,4921,-14762,44287,-132860,398581,-1195742,3587227,-10761680,32285041,-96855122,290565367,-871696100,2615088301,-7845264902,23535794707,-70607384120,211822152361,-635466457082,1906399371247,-5719198113740,17157594341221,-51472783023662,154418349070987,-4... |
programs/oeis/256/A256077.asm | jmorken/loda | 1 | 241844 | <reponame>jmorken/loda
; A256077: Repeat 2^d times the repunit A002275(d); d = 1, 2, 3...
; 1,1,11,11,11,11,111,111,111,111,111,111,111,111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,1111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,11111,1111... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_xr/CiscoXr_qos.g4 | adiapel/batfish | 0 | 1902 | parser grammar CiscoXr_qos;
import CiscoXr_common;
options {
tokenVocab = CiscoXrLexer;
}
cm_end_class_map
:
END_CLASS_MAP NEWLINE
;
cm_match
:
num = uint_legacy? MATCH NOT?
(
cmm_access_group
| cmm_access_list
| cmm_activated_service_template
| cmm_any
| cmm_authorization_... |
lib/random.asm | alastairhm/beebasm | 1 | 26901 | <gh_stars>1-10
lda seed+1
tay
lsr A
lsr A
lsr A
sta seed+1
lsr A
eor seed+1
lsr A
eor seed+1
eor seed+0
sta seed+1
tya
sta seed+0
asl A
eor seed+0
asl A
eor seed+0
asl A
asl A
asl A
eor seed+0
sta seed+0
rts
|
oeis/094/A094874.asm | neoneye/loda-programs | 11 | 240260 | ; A094874: Decimal expansion of (5-sqrt(5))/2.
; 1,3,8,1,9,6,6,0,1,1,2,5,0,1,0,5,1,5,1,7,9,5,4,1,3,1,6,5,6,3,4,3,6,1,8,8,2,2,7,9,6,9,0,8,2,0,1,9,4,2,3,7,1,3,7,8,6,4,5,5,1,3,7,7,2,9,4,7,3,9,5,3,7,1,8,1,0,9,7,5,5,0,2,9,2,7,9,2,7,9,5,8,1,0,6,0,8,8,6,2
mov $2,1
lpb $0
mov $2,$0
seq $2,109866 ; 9's complement of the di... |
engine/events/kurt.asm | AtmaBuster/pokeplat-gen2 | 6 | 12387 | <reponame>AtmaBuster/pokeplat-gen2
Kurt_PrintTextWhichApricorn:
ld hl, .Text
call PrintText
ret
.Text:
; Which APRICORN should I use?
text_far _WhichApricornText
text_end
Kurt_PrintTextHowMany:
ld hl, .Text
call PrintText
ret
.Text:
; How many should I make?
text_far _HowManyShouldIMakeText
text_end
Sel... |
asm/ooe_fix_lighthouse_other_entrances.asm | Iemnur/DSVEdit | 70 | 172514 | <reponame>Iemnur/DSVEdit
.nds
.relativeinclude on
.erroronwarning on
; If the player enters the lighthouse from one of the top doors while Brachyura is still alive, they would normally get softlocked.
; This patch teleports the player to the bottom of the room in that case so they can fight Brachyura as normal.
; Also... |
programs/oeis/021/A021180.asm | karttu/loda | 0 | 29306 | <reponame>karttu/loda
; A021180: Decimal expansion of 1/176.
; 0,0,5,6,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8
mov $3,2
mov $9,$0
lpb $3,1
mov $0,$9
sub $3,1
add $... |
programs/oeis/001/A001737.asm | karttu/loda | 0 | 97369 | ; A001737: Squares written in base 2.
; 0,1,100,1001,10000,11001,100100,110001,1000000,1010001,1100100,1111001,10010000,10101001,11000100,11100001,100000000,100100001,101000100,101101001,110010000,110111001,111100100,1000010001,1001000000,1001110001,1010100100,1011011001,1100010000,1101001001,1110000100,1111000001,1000... |
Pad Printfiles.applescript | AlexanderGalen/applescripts | 3 | 2482 | <reponame>AlexanderGalen/applescripts<filename>Pad Printfiles.applescript
--checks to make sure quark is open and a document is open and something is selected and provides user feedback
set documentOpen to false
set validSelection to false
set quarkRunning to false
on is_running(appName)
tell application "System Eve... |
kartnamereferencelist.asm | szymbar15/Mario-Kart-DS-ASM-hacks-from-YouTube-Videos | 1 | 12079 | ;0x21532DC
KartNameReferenceList:
dcd 0x6, 0x7, 0x8, 0x15, 0x16, 0x17, 0x12, 0x13, 0x14, 0x1B,\
0x1C, 0x1D, 0xC, 0xD, 0xE, 0x18, 0x19, 0x1A, 0xF, 0x10,\
0x11, 0x9, 0xA, 0xB, 0x21, 0x22, 0x23, 0x1E, 0x1F, 0x20,\
0x24, 0x25, 0x26, 0x27, 0x28, 0x29,\
0x2A |
lambda/lambda.g4 | mooseman/miniHope | 1 | 7130 | grammar lambda;
import lambdaTokens;
stmt
: LPAREN lambda_stmt arrow expr RPAREN
;
LPAREN
: '('
;
lambda_stmt
: (BACKSLASH || LETTER) ( LETTER )*
;
BACKSLASH
: '\\'
;
RPAREN
: ')'
;
arrow
: '->'
;
expr
: LETTER
| NUMBER
| expr OP expr
;
OP : '+'
| ... |
spc.asm | KScl/z3rasm | 26 | 176608 | MSUCode = $00277E
;@ pushpc
; Change track 15 (unused) to point to 13 (Death Mountain) so dark woods can be track 15
; Bank 1
org $1A9F15 ; PC 0x0D1F15 ; SPC $D01C
dw $2B00 ; Set track 15 pointer to track 13's data
pullpc
;-------------------------------------------------------------------------------... |
runtime/ravenscar-sfp-stm32f427/gnarl-common/a-sytaco.ads | TUM-EI-RCS/StratoX | 12 | 18282 | <reponame>TUM-EI-RCS/StratoX<filename>runtime/ravenscar-sfp-stm32f427/gnarl-common/a-sytaco.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS ... |
programs/oeis/315/A315511.asm | karttu/loda | 0 | 179495 | <reponame>karttu/loda
; A315511: Coordination sequence Gal.4.139.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.
; 1,6,11,17,21,27,32,38,44,49,55,59,65,70,76,82,87,93,97,103,108,114,120,125,131,135,141,146,152,158,163,169,173,179,184... |
programs/oeis/081/A081674.asm | neoneye/loda | 22 | 171428 | ; A081674: Generalized Poly-Bernoulli numbers.
; 0,1,6,29,130,561,2366,9829,40410,164921,669526,2707629,10919090,43942081,176565486,708653429,2841788170,11388676041,45619274246,182670807229,731264359650,2926800830801,11712433499806,46865424529029,187508769705530,750176293590361,3001128818666166,12005786207578829,480269... |
programs/oeis/332/A332161.asm | neoneye/loda | 22 | 246525 | ; A332161: a(n) = 6*(10^(2*n+1)-1)/9 - 5*10^n.
; 1,616,66166,6661666,666616666,66666166666,6666661666666,666666616666666,66666666166666666,6666666661666666666,666666666616666666666,66666666666166666666666,6666666666661666666666666,666666666666616666666666666,66666666666666166666666666666,6666666666666661666666666666666... |
oeis/022/A022781.asm | neoneye/loda-programs | 11 | 164150 | ; A022781: Place where n-th 1 occurs in A023119.
; Submitted by <NAME>(s2)
; 1,4,10,18,29,43,59,78,100,124,151,181,213,248,286,326,369,414,462,513,566,622,681,742,806,873,942,1014,1089,1166,1246,1329,1414,1502,1592,1685,1781,1879,1980,2084,2190,2299,2411,2525,2642,2762,2884
lpb $0
mov $2,$0
sub $0,1
seq $2,19808... |
test/Fail/AmbiguousModule.agda | cruhland/agda | 1,989 | 4478 | module AmbiguousModule where
module A where
module B where
module A where
open B
open A
|
alloy4fun_models/trashltl/models/5/BjYi8Wi3xBi2pvPAR.als | Kaixi26/org.alloytools.alloy | 0 | 4587 | open main
pred idBjYi8Wi3xBi2pvPAR_prop6 {
eventually some f:File | f not in File' and always f not in File'
}
pred __repair { idBjYi8Wi3xBi2pvPAR_prop6 }
check __repair { idBjYi8Wi3xBi2pvPAR_prop6 <=> prop6o } |
oeis/062/A062800.asm | neoneye/loda-programs | 11 | 92651 | <reponame>neoneye/loda-programs
; A062800: Primes of form 100k + 1.
; Submitted by <NAME>
; 101,401,601,701,1201,1301,1601,1801,1901,2801,3001,3301,3701,4001,4201,4801,5101,5501,5701,5801,6101,6301,6701,7001,7901,8101,8501,9001,9601,9901,10301,10501,10601,11701,11801,12101,12301,12401,12601,13001,13901,14401,15101,1540... |
src/metadslx.soal.runtime/src/generated/resources/SoalLexer.g4 | balazssimon/soal-java | 0 | 6747 | lexer grammar SoalLexer;
KNamespace : 'namespace';
KEnum : 'enum';
KException : 'exception';
KStruct : 'struct';
KInterface : 'interface';
KThrows : 'throws';
KOneway : 'oneway';
KReturn : 'return';
KBinding : 'binding';
KTransport : 'transport';
KEncoding... |
alloy4fun_models/trainstlt/models/3/L88LDZm4e6LjvixXd.als | Kaixi26/org.alloytools.alloy | 0 | 42 | <filename>alloy4fun_models/trainstlt/models/3/L88LDZm4e6LjvixXd.als
open main
pred idL88LDZm4e6LjvixXd_prop4 {
all disj s1, s2 : (Signal-(Entry+Exit)) | always s1.pos != s2.pos
}
pred __repair { idL88LDZm4e6LjvixXd_prop4 }
check __repair { idL88LDZm4e6LjvixXd_prop4 <=> prop4o } |
ffight/lcs/boss/62.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 175413 | copyright zengfr site:http://github.com/zengfr/romhack
006222 move.b ($b,A3), ($62,A4) [boss+36, container+36, enemy+36]
006228 move.b ($c,A3), ($60,A4)
copyright zengfr site:http://github.com/zengfr/romhack
|
Cubical/ZCohomology/Groups/Wedge.agda | ayberkt/cubical | 0 | 12888 | {-# OPTIONS --cubical --no-import-sorts --safe --experimental-lossy-unification #-}
module Cubical.ZCohomology.Groups.Wedge where
open import Cubical.ZCohomology.Base
open import Cubical.ZCohomology.Properties
open import Cubical.ZCohomology.MayerVietorisUnreduced
open import Cubical.Foundations.HLevels
open import Cu... |
test/Succeed/Issue1038.agda | shlevy/agda | 1,989 | 10022 | {-# OPTIONS --copatterns --sized-types #-}
open import Common.Size
module Issue1038 (A : Set) where
record S (i : Size) : Set where
field
force : ∀ (j : Size< i) → A
head : ∀ i → S i → (j : Size< i) → A
head i s j = S.force s _
-- Problem was:
-- Cannot solve size constraints
-- (↑ _9 A i s j) =< (_i_8 A i s... |
School Directory Project/test_data/ann.asm | AriaPahlavan/Fall-2014-EE-306-Projects-Assembly-Binary | 1 | 247393 | <gh_stars>1-10
.ORIG x4300
.STRINGZ "ANN"
.END
|
test/sas/scc-self.asm | mras0/scc | 87 | 22554 | <filename>test/sas/scc-self.asm
cpu 8086
org 0x100
Start:
XOR BP, BP
MOV WORD [_HeapStart], ProgramEnd
MOV AX, 0x81
PUSH AX
MOV AL, [0x80]
PUSH AX
PUSH AX
JMP _CallMain
_DosCall:
PUSH BP
MOV BP, SP
MOV BX, [BP+4]
MOV AX, [BX]
MOV BX, [BP+6]
MOV CX, [BP+8]
MOV DX, [BP+10]
INT 0x21
MOV BX, [BP+4]
MOV... |
Task/Doubly-linked-list-Element-definition/Ada/doubly-linked-list-element-definition-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 13528 | generic
type Element_Type is private;
package Linked_List is
type List_Type is limited private;
...
private
type List_Element;
type List_Element_Ptr is access list_element;
type List_Element is
record
Prev : List_Element_Ptr;
Data : Element_Type;
Next : List_Element_Ptr;
end record;
... |
Cores/Mednafen/mednafen/tests/apple2/decimal/decimal.asm | ianclawson/Provenance | 3,459 | 24913 | ;
; xa -o decimal.bin decimal.asm && ../bintodsk decimal.bin decimal.dsk
;
PRBYTE = $FDDA
HOME = $FC58
CROUT = $FD8E
* = $800
.byte $10
entry:
jsr HOME
instr_loop:
jsr init_crc
;
;
;
instridx: ldx #$01
lda instrtab, X
sta instr+0
lda #$07
sta flags+1
flags_loop:
arg_loop:
accum_loop:
flags: ldx #$00
... |
libsrc/_DEVELOPMENT/adt/p_list/c/sdcc_iy/p_list_prev_fastcall.asm | meesokim/z88dk | 0 | 89670 |
; void *p_list_prev_fastcall(void *item)
SECTION code_adt_p_list
PUBLIC _p_list_prev_fastcall
_p_list_prev_fastcall:
INCLUDE "adt/p_list/z80/asm_p_list_prev.asm"
|
libsrc/_DEVELOPMENT/stdlib/c/sccz80/at_quick_exit.asm | jpoikela/z88dk | 640 | 241351 |
; int at_quick_exit(void (*func)(void))
SECTION code_clib
SECTION code_stdlib
PUBLIC at_quick_exit
EXTERN asm_at_quick_exit
defc at_quick_exit = asm_at_quick_exit
|
formalization/agda/Spire/Hybrid.agda | spire/spire | 43 | 4976 | <filename>formalization/agda/Spire/Hybrid.agda
open import Spire.Type
module Spire.Hybrid where
----------------------------------------------------------------------
data Context : Set₁
Environment : Context → Set
ScopedType : Context → Set₁
ScopedType Γ = Environment Γ → Set
data Context where
∅ : Context
_,_... |
programs/oeis/083/A083423.asm | neoneye/loda | 22 | 164473 | <reponame>neoneye/loda<gh_stars>10-100
; A083423: a(n) = (5*3^n + (-3)^n)/6.
; 1,2,9,18,81,162,729,1458,6561,13122,59049,118098,531441,1062882,4782969,9565938,43046721,86093442,387420489,774840978,3486784401,6973568802,31381059609,62762119218,282429536481,564859072962
mov $1,1
sub $1,$0
gcd $1,2
lpb $0
sub $0,2
mu... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37312a.ada | best08618/asylo | 7 | 21105 | -- C37312A.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... |
oMiser/mockups/antlr4/Miser.g4 | rnd0101/miser | 1 | 7426 | grammar Miser;
program : ob '.';
ob : i | '(' ob ')' | pair | enclosure;
pair : '(' ob C ob ')';
enclosure : D ob;
i : individual | primitive | lindy | evbinop | evunop | evref;
individual : I;
primitive : P;
evref : EVREF;
evbinop : EVBINOP;
evunop : EVUNOP;
EVBINOP : 'C' | 'D';
EVUNOP : 'EV';
EVREF : 'SELF' | 'ARG' ;... |
src/main/antlr4/imports/mysql_literal_tokens.g4 | HieuMinh0609/kafka-maxwell | 0 | 5450 | <reponame>HieuMinh0609/kafka-maxwell
// This file is automatically generated by src/main/antlr4/imports/generate_tokens.rb
grammar mysql_literal_tokens;
tokens_available_for_names: (ACTION | AFTER | ALGORITHM | AUTO_INCREMENT | AVG_ROW_LENGTH | BEGIN | BIT | BOOL | BOOLEAN | BTREE | CHARSET | CHECKSUM | COLUMN_FORMAT ... |
icfp2014/Lib.agda | luminousfennell/polybta | 1 | 4662 | module Lib where
open import Data.Nat public hiding (_<_)
open import Function public using (_∘_)
open import Data.List public
open import Data.Product public using (_×_ ; _,_ ; proj₁ ; proj₂ ; Σ ; ∃)
open import Data.Sum public using (_⊎_ ; [_,_]′ ; inj₁ ; inj₂)
open import Relation.Nullary public
open import Relat... |
test/Succeed/Issue229.agda | cruhland/agda | 1,989 | 15787 | {-# OPTIONS --universe-polymorphism #-}
module Issue229 where
open import Common.Level
data Works a b : Set (lsuc a ⊔ lsuc b) where
w : (A : Set a)(B : Set b) → Works a b
record Doesn'tWork a b : Set (lsuc a ⊔ lsuc b) where
field
A : Set a
B : Set b
-- An internal error has occurred. Please report this... |
antlr-grammars/dlvhex/DLVHEXLexer.g4 | DomenicoIngrati/EmbASP | 1 | 5281 | lexer grammar DLVHEXLexer;
HEADER : 'DLVHEX '.*?NL-> skip;
WHITE_SPACE: (NL|WS)-> skip;
COLON : ':';
COMMA : ',';
COST_BEGIN : '<';
COST_END : '>';
INTEGER : '0'|[1-9][0-9]*;
LEVEL_BEGIN: '[';
LEVEL_END : ']';
GROUND_QUERY_BEGIN: ' is '-> mode(IN_GROUND_QUERY);
ANSWER_SET_BEGIN: '{';
ANSWER_SET_... |
src/firmware/Platform/Lcd/Poll.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 26184 | <reponame>pete-restall/Cluck2Sesame-Prototype
#define __CLUCK2SESAME_PLATFORM_LCD_POLL_ASM
#include "Platform.inc"
#include "TailCalls.inc"
#include "TableJumps.inc"
#include "PollChain.inc"
#include "States.inc"
radix decimal
extern POLL_AFTER_LCD
Lcd code
global pollLcd
global pollNextInChainAfterLcd
p... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_488.asm | ljhsiun2/medusa | 9 | 16866 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xfd6d, %rsi
lea addresses_normal_ht+0x10f6d, %rdi
nop
nop
nop
nop
and $52899, %r11
mov $43, %rcx
rep movsq
nop
sub $22078, %r15
lea addresses_normal_ht+0xc56d, %rsi
lea addre... |
zipdcf/src/zipdcf.adb | onox/dcf-ada | 5 | 10752 | <gh_stars>1-10
-- SPDX-License-Identifier: MIT
--
-- Copyright (c) 2019 onox <<EMAIL>>
--
-- 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 limita... |
kernel/src/init.asm | anchovieshat/cathode-old | 0 | 167713 | <gh_stars>0
bits 64
extern main
global _start
section .boot
_start:
mov rsp, rsi
call load_gdt
call main
.loop:
cli
hlt
jmp .loop
default rel
section .text
load_gdt:
lea rax, [gdt.null_seg]
mov [gdt.gdtloc], rax
lgdt [gdt]
lea rax, [.newcs]
mov [.offset], rax
mov dword [.selector], 0x08
jmp [.offset]... |
programs/oeis/072/A072078.asm | neoneye/loda | 22 | 242309 | ; A072078: Number of 3-smooth divisors of n.
; 1,2,2,3,1,4,1,4,3,2,1,6,1,2,2,5,1,6,1,3,2,2,1,8,1,2,4,3,1,4,1,6,2,2,1,9,1,2,2,4,1,4,1,3,3,2,1,10,1,2,2,3,1,8,1,4,2,2,1,6,1,2,3,7,1,4,1,3,2,2,1,12,1,2,2,3,1,4,1,5,5,2,1,6,1,2,2,4,1,6,1,3,2,2,1,12,1,2,3,3
add $0,1
mov $2,2
mov $3,$0
mov $4,$0
mov $11,1
mov $12,1
lpb $3
mo... |
Miei-sorgenti/new/Simulazione/BranchY/branchy.asm | DigiOhhh/LabArchitettura2-2017-2018 | 1 | 1002 | <reponame>DigiOhhh/LabArchitettura2-2017-2018
# (A) Si implementi, senza fare uso di pseudo-istruzioni, una procedura chiamata ``branchy'' così definita:
# Input: due valori interi a e b, due indirizzi del segmento testo T1 e T2.
# Output: un indirizzo del segmento testo.
# La procedura restituisce un indirizzo deter... |
oeis/338/A338227.asm | neoneye/loda-programs | 11 | 94734 | ; A338227: a(n) = x(n) mod floor(sqrt(x(n))), where x(n) = floor((n^2)/2).
; Submitted by <NAME>
; 0,0,0,0,2,0,2,4,1,4,0,3,8,2,7,0,6,11,4,10,2,8,0,6,14,3,12,0,9,18,6,15,2,12,23,8,20,4,16,0,12,24,7,20,2,15,30,10,25,4,20,35,14,30,8,24,1,18,36,11,30,4,23,42,16,35,8,28,0,20,42,12,34,3
add $0,2
seq $0,7590 ; a(n) = floor(n... |
programs/oeis/016/A016758.asm | karttu/loda | 1 | 96664 | <filename>programs/oeis/016/A016758.asm
; A016758: a(n) = (2*n+1)^6.
; 1,729,15625,117649,531441,1771561,4826809,11390625,24137569,47045881,85766121,148035889,244140625,387420489,594823321,887503681,1291467969,1838265625,2565726409,3518743761,4750104241,6321363049,8303765625,10779215329,13841287201,17596287801,22164361... |
oeis/141/A141845.asm | neoneye/loda-programs | 11 | 9526 | ; A141845: a(n) = 5*a(n-1) + A047201(n), a(1) = 1. A047201 = numbers not divisible by 5: (1, 2, 3, 4, 6, 7, 8, 9, 11,...).
; Submitted by <NAME>
; 1,7,38,194,976,4887,24443,122224,611131,3055667,15278348,76391754,381958786,1909793947,9548969753,47744848784,238724243941,1193621219727,5968106098658,29840530493314,1492026... |
dino/lcs/enemy/A8.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 12776 | copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D3C move.l D0, (A4)+
004D3E move.l D0, (A4)+
034314 move.b ($22,PC,D0.w), ($a8,A6)
03431A moveq #$0, D0 [enemy+A8]
03431C move.b ($a8,A6), D0
034320 add.w D0, D0 [enemy+A8]
03B2C8 move.b #$... |
base/boot/startup/i386/exp.asm | npocmaka/Windows-Server-2003 | 17 | 177376 | ;++
;
; Module name
;
; exp.asm
;
; Author
;
; <NAME> (tomp) Feb-26-91
;
; Description
;
; Entry points exported to OS loader by SU module. Exported
; routines provide basic machine dependent i/o funtions needed
; by the OS loader. Providing these routines decouples the
; ... |
oeis/282/A282601.asm | neoneye/loda-programs | 11 | 241091 | <reponame>neoneye/loda-programs
; A282601: a(n) = Sum_(k=1..phi(n)/2) floor(d_k/2) where d_k are the totatives of n.
; Submitted by <NAME>(w1)
; 0,0,0,0,1,0,2,1,3,1,6,2,9,3,6,6,16,5,20,8,14,10,30,10,29,15,28,18,49,14,56,28,38,28,48,24,81,36,54,36,100,30,110,50,64,55,132,44,124,57,96,72,169,56,130,78,122,91,210,56,225,1... |
Categories/Categories/Products.agda | copumpkin/categories | 98 | 11093 | <filename>Categories/Categories/Products.agda
{-# OPTIONS --universe-polymorphism #-}
open import Level
module Categories.Categories.Products (o ℓ e : Level) where
open import Categories.Category
open import Categories.Categories
import Categories.Object.Products
open Categories.Object.Products (Categories o ℓ e)
... |
pwnlib/shellcraft/templates/amd64/linux/time.asm | zaratec/pwntools | 5 | 6359 |
<%
from pwnlib.shellcraft.amd64.linux import syscall
%>
<%page args="timer"/>
<%docstring>
Invokes the syscall time. See 'man 2 time' for more information.
Arguments:
timer(time_t): timer
</%docstring>
${syscall('SYS_time', timer)}
|
programs/oeis/315/A315207.asm | karttu/loda | 0 | 3098 | ; A315207: Coordination sequence Gal.5.140.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,6,10,14,20,24,30,34,38,44,50,54,58,64,68,74,78,82,88,94,98,102,108,112,118,122,126,132,138,142,146,152,156,162,166,170,176,182,186,190,196... |
tools/utils.adb | Fabien-Chouteau/sdlada | 1 | 18222 | --------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from th... |
generic_vector_math.adb | FROL256/ada-ray-tracer | 3 | 9060 | <filename>generic_vector_math.adb
with Ada.Numerics.Generic_Elementary_Functions;
with Ada.Unchecked_Conversion;
use Ada.Numerics;
--use Ada.Numerics.Aux;
package body Generic_Vector_Math is
package Float_Functions is new Generic_Elementary_Functions (float);
use Float_Functions;
function BitCopyToTypeT is ne... |
core/src/main/c/share/asmlib/libad64.asm | terasum/questdb | 8,451 | 241135 | ; ----------------------------- LIBAD64.ASM ---------------------------
; DLL entry function for LIBAD64.DLL
default rel
global DllEntry
SECTION .text align=16
DllEntry:
mov eax, 1
ret
;DllMain endp
|
programs/oeis/123/A123290.asm | karttu/loda | 1 | 246081 | ; A123290: Number of distinct binomial(n,2)-tuples of zeros and ones that are obtained as the collection of all 2 X 2 minor determinants of a 2 X n matrix over GF(2).
; 2,8,36,156,652,2668,10796,43436,174252,698028,2794156,11180716,44731052,178940588,715795116,2863245996,11453115052,45812722348,183251413676,73300670327... |
test/asset/agda-stdlib-1.0/Codata/Colist/Categorical.agda | omega12345/agda-mode | 5 | 5888 | <gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- A categorical view of Colist
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe --sized-types #-}
module Codata.Colist.Categorical where
open... |
programs/oeis/167/A167545.asm | neoneye/loda | 22 | 89146 | <reponame>neoneye/loda
; A167545: n^6 mod 16.
; 0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9,0,9,0,1,0,1,0,9
pow $0,6
mod $0,16
|
libsrc/_DEVELOPMENT/adt/b_array/c/sdcc_iy/b_array_size_fastcall.asm | jpoikela/z88dk | 640 | 85984 |
; size_t b_array_size_fastcall(b_array_t *a)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC _b_array_size_fastcall
EXTERN asm_b_array_size
defc _b_array_size_fastcall = asm_b_array_size
|
libsrc/_DEVELOPMENT/adt/bv_stack/z80/asm_bv_stack_capacity.asm | jpoikela/z88dk | 640 | 84739 | <reponame>jpoikela/z88dk<filename>libsrc/_DEVELOPMENT/adt/bv_stack/z80/asm_bv_stack_capacity.asm
; ===============================================================
; Mar 2014
; ===============================================================
;
; size_t bv_stack_capacity(bv_stack_t *s)
;
; Return current capacity of the... |
Task/String-matching/Ada/string-matching.ada | LaudateCorpus1/RosettaCodeData | 1 | 10564 | with Ada.Strings.Fixed; use Ada.Strings.Fixed;
with Ada.Text_IO; use Ada.Text_IO;
procedure Match_Strings is
S1 : constant String := "abcd";
S2 : constant String := "abab";
S3 : constant String := "ab";
begin
if S1'Length >= S3'Length and then S1 (S1'First..S1'First + S3'Length - 1) = S3 then
... |
source/asis/spec/annex_c/ada-task_termination.ads | faelys/gela-asis | 4 | 18459 | <gh_stars>1-10
------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.