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 |
|---|---|---|---|---|
src/test/resources/framework_specifications/PdslCommonLexer.g4 | google/polymorphicDSL | 3 | 3304 | lexer grammar PdslCommonLexer ;
import GherkinCommonLexer;
WHEN_THE_TEST_RESOURCE_IS_PROCESSED_BY_A_FACTORY : GHERKIN_STEP_KEYWORD 'the test resource is processed by ' ('the ' | 'a ') '"Test Specification Factory"' END ;
TEST_SPECIFICATION_IS_PRODUCED : GHERKIN_STEP_KEYWORD 'a "Test Specification" is produced' END ;
... |
tools/goctl/api/parser/g4/ApiParser.g4 | almas1992/go-zero | 0 | 4574 | <filename>tools/goctl/api/parser/g4/ApiParser.g4
grammar ApiParser;
import ApiLexer;
@lexer::members{
const COMEMNTS = 88
}
api: spec*;
spec: syntaxLit
|importSpec
|infoSpec
|typeSpec
|serviceSpec
;
// syntax
sy... |
Data/Binary/Testers.agda | oisdk/agda-playground | 6 | 8514 | <gh_stars>1-10
{-# OPTIONS --cubical --safe #-}
module Data.Binary.Testers where
open import Prelude
open import Data.Binary.Conversion.Fast.Strict
open import Data.Binary.Definition
open import Data.List using (List; _⋯_)
open import Data.List.Sugar using (liftA2)
test : (𝔹 → 𝔹 → 𝔹) →
(ℕ → ℕ → ℕ) →
... |
kernel.asm | ericong18/lab2-f17 | 0 | 5141 | <filename>kernel.asm
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8... |
Transynther/x86/_processed/NONE/_st_/i7-8650U_0xd2.log_2583_55.asm | ljhsiun2/medusa | 9 | 162952 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x16333, %r10
nop
nop
nop
nop
add %rcx, %rcx
mov $0x6162636465666768, %rbp
movq %rbp, %xmm3
vmovups %ymm3, (%r10)
nop
nop
nop
dec %rsi
lea addresses_WT_ht+0x12673, %rbx
nop
nop... |
agda-stdlib-0.9/src/Relation/Binary/StrictToNonStrict.agda | qwe2/try-agda | 1 | 271 | <reponame>qwe2/try-agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Conversion of < to ≤, along with a number of properties
------------------------------------------------------------------------
-- Possible TODO: Prove that a conversion ≤ → < → ≤ return... |
source/calendar/a-calari.ads | ytomino/drake | 33 | 1766 | <gh_stars>10-100
pragma License (Unrestricted);
package Ada.Calendar.Arithmetic is
-- Arithmetic on days:
type Day_Count is range
-366 * (1 + Year_Number'Last - Year_Number'First) ..
+366 * (1 + Year_Number'Last - Year_Number'First);
subtype Leap_Seconds_Count is Integer range -2047 .. 2047;
... |
Categories/Category/Monoidal/Closed/IsClosed/Pentagon.agda | Taneb/agda-categories | 0 | 15157 | <filename>Categories/Category/Monoidal/Closed/IsClosed/Pentagon.agda
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
open import Categories.Category.Monoidal
open import Categories.Category.Monoidal.Closed
module Categories.Category.Monoidal.Closed.IsClosed.Pentagon
{o ℓ e} {C : Category o ℓ e} {... |
env/zx/esxdos48/page2page.asm | pjshumphreys/querycsv | 18 | 99218 | include "../common/equs.inc"
DIVMMC equ 0xe3
org 0xbce0
;---------------------------------------
; mypager2 - switch to the low bank specified in the accumulator.
; Interupts must be disabled before this function is called
mypager2:
push bc
ld c, DIVMMC ; port used for switching low rom banks
out (c), a ; d... |
oeis/274/A274969.asm | neoneye/loda-programs | 11 | 90190 | <gh_stars>10-100
; A274969: Number of walks in the first quadrant starting and ending at (0,0) consisting of 3n steps taken from {E=(1, 0), D=(-1, 1), S=(0, -1)}, no S step occurring before the final E step.
; Submitted by <NAME>
; 1,1,4,21,121,728,4488,28101,177859,1134705,7283640,46981740,304253964,1976886616,1288088... |
oeis/123/A123490.asm | neoneye/loda-programs | 11 | 164674 | <filename>oeis/123/A123490.asm
; A123490: Triangle whose k-th column satisfies a(n) = (k+3)*a(n-1)-(k+2)*a(n-2).
; Submitted by <NAME>
; 1,2,1,4,2,1,8,5,2,1,16,14,6,2,1,32,41,22,7,2,1,64,122,86,32,8,2,1,128,365,342,157,44,9,2,1,256,1094,1366,782,260,58,10,2,1,512,3281,5462,3907,1556,401,74,11,2,1,1024,9842,21846,19532,... |
StopTemplates.g4 | stop-lang/stop-templates | 3 | 2934 | grammar StopTemplates;
tokens { INDENT, DEDENT }
@lexer::members {
// A queue where extra tokens are pushed on (see the NEWLINE lexer rule).
private java.util.LinkedList<Token> tokens = new java.util.LinkedList<>();
// The stack that keeps track of the indentation level.
private java.util.Stack<Integer> inden... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt51_pkg.ads | best08618/asylo | 7 | 17519 | <gh_stars>1-10
package Opt51_Pkg is
type Enum is (One, Two, Three);
end Opt51_Pkg;
|
programs/oeis/338/A338996.asm | neoneye/loda | 22 | 16462 | <gh_stars>10-100
; A338996: Numbers of squares and rectangles of all sizes in 3*n*(n+1)/2-ominoes in form of three-quarters of Aztec diamonds.
; 0,5,27,85,205,420,770,1302,2070,3135,4565,6435,8827,11830,15540,20060,25500,31977,39615,48545,58905,70840,84502,100050,117650,137475,159705,184527,212135,242730,276520
lpb $0... |
base/hals/halacpi/i386/pmtimer.asm | npocmaka/Windows-Server-2003 | 17 | 84188 | <filename>base/hals/halacpi/i386/pmtimer.asm
title "ACPI Timer Functions"
;++
;
; Copyright (c) 1989 Microsoft Corporation
;
; Module Name:
;
; pmtimer.asm
;
; Abstract:
;
; This module implements the code for ACPI-related timer
; functions.
;
; Author:
;
; <NAME> (jakeo) March 2... |
utils/grammar/ClickHouseParser.g4 | dcastanier/ClickHouse | 0 | 2167 | parser grammar ClickHouseParser;
options {
tokenVocab=ClickHouseLexer;
}
// эта грамматика написана по сорсам парсеров, имена правил примерно соответствуют парсерам в cpp.
// известные расхождения
// 1. скобки не обязательно сразу идут после имени функции.
// 2. многословные токены поделены на самостоятельные слова
... |
src/asf-validators-numbers.adb | jquorning/ada-asf | 12 | 28185 | <filename>src/asf-validators-numbers.adb
-----------------------------------------------------------------------
-- asf-validators-numbers -- ASF Number Validators
-- Copyright (C) 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not ... |
src/gnat/sinfo.adb | My-Colaborations/dynamo | 15 | 3761 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
src/Categories/Diagram/Coend/Properties.agda | Trebor-Huang/agda-categories | 279 | 2978 | {-# OPTIONS --without-K --safe #-}
module Categories.Diagram.Coend.Properties where
open import Categories.Category.Core using (Category)
open import Categories.Category.Product
import Categories.Category.Construction.Cowedges as Cowedges
open import Categories.Category.Construction.Functors
open import Categories.Ca... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_449.asm | ljhsiun2/medusa | 9 | 171412 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1c3ba, %rsi
lea addresses_normal_ht+0x1cefa, %rdi
nop
nop
xor %rax, %rax
mov $9, %rcx
rep movsw
nop
nop
nop
nop
and %r10, %r10
lea addresses_A_ht+0xbafa, %rbp
nop
nop
cmp %r10... |
src/words_engine/words_engine-trick_tables.ads | spr93/whitakers-words | 204 | 9443 | <gh_stars>100-1000
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-... |
programs/oeis/171/A171477.asm | karttu/loda | 1 | 167433 | <reponame>karttu/loda
; A171477: a(n) = 6*a(n-1) - 8*a(n-2) + 1 for n > 1; a(0) = 1, a(1) = 7.
; 1,7,35,155,651,2667,10795,43435,174251,698027,2794155,11180715,44731051,178940587,715795115,2863245995,11453115051,45812722347,183251413675,733006703275,2932028910251,11728119835307,46912487729835,187649967696555,7505999043... |
Mockingbird/Forest/Extensionality.agda | splintah/combinatory-logic | 1 | 6554 | open import Mockingbird.Forest using (Forest)
module Mockingbird.Forest.Extensionality {b ℓ} (forest : Forest {b} {ℓ}) where
open import Algebra using (RightCongruent)
open import Relation.Binary using (Rel; IsEquivalence; Setoid)
open import Level using (_⊔_)
open Forest forest
-- TODO: if the arguments to the pre... |
Ex1.agda | poscat0x04/CS410 | 0 | 16852 | <filename>Ex1.agda
{-# OPTIONS --allow-unsolved-metas #-}
------------------------------------------------------------------------------
------------------------------------------------------------------------------
-- CS410 2017/18 Exercise 1 VECTORS AND FRIENDS (worth 25%)
-------------------------------------------... |
UniDB/Subst/Reg.agda | skeuchel/unidb-agda | 0 | 10239 | <filename>UniDB/Subst/Reg.agda
module UniDB.Subst.Reg where
open import UniDB.Spec
open import UniDB.Subst.Core
open import UniDB.Morph.Reg
open import UniDB.Morph.WeakenPrime
module _ {T : STX} {{vrT : Vr T}} {{wkT : Wk T}} {{apTT : Ap T T}} where
instance
iCompReg : Comp (Reg T)
_⊙_ {{iCompReg}} (baseR ... |
tests/src/testsuite-encode_decode-random.ads | Fabien-Chouteau/COBS | 0 | 19111 | <reponame>Fabien-Chouteau/COBS<gh_stars>0
private
package Testsuite.Encode_Decode.Random is
procedure Add_Tests (Suite : in out AUnit.Test_Suites.Test_Suite'Class);
end Testsuite.Encode_Decode.Random;
|
language/alloy/human_life2.als | pogin503/vbautil | 0 | 3818 | <reponame>pogin503/vbautil<gh_stars>0
abstract sig Person {
father: lone Man,
mother: lone Woman,
sibling: set Person
}
sig Man extends Person {
wife: lone Woman
}
sig Woman extends Person {
husband: lone Man,
}
fun siblings (p: Person) : set Person {
}
pred sibling (p, p': Person) {
sibling = p.mothe... |
programs/oeis/185/A185456.asm | neoneye/loda | 22 | 87643 | ; A185456: Payphone packing sequence.
; 1,3,5,8,9,14,15,16,17,26,27,28,29,30,31,32,33,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124
mov $1,$0
seq $0,4760 ; List of numbers whose binary expansion does not begin 1... |
programs/oeis/068/A068379.asm | karttu/loda | 1 | 85570 | ; A068379: Engel expansion of sinh(1/2).
; 2,24,80,168,288,440,624,840,1088,1368,1680,2024,2400,2808,3248,3720,4224,4760,5328,5928,6560,7224,7920,8648,9408,10200,11024,11880,12768,13688,14640,15624,16640,17688,18768,19880,21024,22200,23408,24648,25920,27224,28560,29928,31328,32760,34224,35720,37248,38808,40400,42024,43... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/press/Gdefchr4.asm | prismotizm/gigaleak | 0 | 7428 | Name: Gdefchr4.asm
Type: file
Size: 5091
Last-Modified: '2016-05-13T04:52:55Z'
SHA-1: 707CE5F699AB03EC61A75F6A23117281400E01C1
Description: null
|
hello_world_1/hello_world.asm | NrdyBhu1/learning-assembly-lang | 1 | 85250 | <reponame>NrdyBhu1/learning-assembly-lang
segment .data ; defining data segment
text db "Hello, World!",10 ; defining text = Hello, World!,10 where 10 is \n escape char
textLn equ $-text ; setting textln equal to len of text
segment .text ; text segment
global _start ; setting global to start
_exit: ; ... |
KitsuneServer/AntlrLibrary/KitsuneGrammer.g4 | gone63/application-development-kit | 12 | 5111 | grammar KitsuneGrammer;
/*
* Parser Rules
*/
prog: expr+ ;
expr : '-' expr #NegativeNumber
| '(' expr ')' #Parens
| expr '.' op=('length'|'substr'|'replace' | 'urlencode' | 'distinct' | 'tolower' | 'toupper' | 'split' | 'indexof' | 'contains' | 'SubStr' | 'Length' | 'de... |
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-usart.ads | morbos/Ada_Drivers_Library | 2 | 24507 | -- Copyright 2016-2019 NXP
-- All rights reserved.SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from LPC55S6x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NXP_SVD.USART is
pragma Preelaborate;
... |
alloy4fun_models/trashltl/models/9/9HZAeqnh5fj7h3tXB.als | Kaixi26/org.alloytools.alloy | 0 | 166 | <filename>alloy4fun_models/trashltl/models/9/9HZAeqnh5fj7h3tXB.als
open main
pred id9HZAeqnh5fj7h3tXB_prop10 {
always(all f:File | f in Protected implies( always f in Protected))
}
pred __repair { id9HZAeqnh5fj7h3tXB_prop10 }
check __repair { id9HZAeqnh5fj7h3tXB_prop10 <=> prop10o } |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstpad_h.ads | persan/A-gst | 1 | 26568 | <gh_stars>1-10
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
with System;
-- with GStreamer.GST_Low_Level.glib_2_0_glib_gquark_h;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h;
with GLIB; -- with... |
programs/oeis/022/A022355.asm | karttu/loda | 0 | 164431 | <reponame>karttu/loda<filename>programs/oeis/022/A022355.asm
; A022355: Fibonacci sequence beginning 0, 21.
; 0,21,21,42,63,105,168,273,441,714,1155,1869,3024,4893,7917,12810,20727,33537,54264,87801,142065,229866,371931,601797,973728,1575525,2549253,4124778,6674031,10798809,17472840,28271649,45744489,74016138,119760627... |
libsrc/_DEVELOPMENT/string/c/sccz80/strerror.asm | teknoplop/z88dk | 8 | 84654 | <reponame>teknoplop/z88dk<gh_stars>1-10
; char *strerror(int errnum)
SECTION code_clib
SECTION code_string
PUBLIC strerror
EXTERN asm_strerror
defc strerror = asm_strerror
|
oeis/074/A074597.asm | neoneye/loda-programs | 11 | 170697 | <filename>oeis/074/A074597.asm
; A074597: Numerator of 3 * H(n,3,2), a generalized harmonic number. See A075135.
; Submitted by <NAME>
; 3,21,99,1209,9123,164331,34437,823467,11066355,330317679,1355321733,990324351,19205317149,802205873349,815985479709,38957620226163,197637723726063,10617280487243739,75264900895382073
... |
ioq3/build/release-js-js/missionpack/game/ai_dmnet.asm | RawTechnique/quake-port | 1 | 29358 | export BotResetNodeSwitches
code
proc BotResetNodeSwitches 0 0
ADDRGP4 numnodeswitches
CNSTI4 0
ASGNI4
LABELV $54
endproc BotResetNodeSwitches 0 0
export BotDumpNodeSwitches
proc BotDumpNodeSwitches 40 20
ADDRFP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
ARGI4
ADDRLP4 4
ARGP4
CNSTI4 36
ARGI4
ADDRGP4 ClientName
CALLP4
pop
CNSTI4... |
src/security-auth-openid.adb | Letractively/ada-security | 0 | 23865 | -----------------------------------------------------------------------
-- security-openid -- OpenID 2.0 Support
-- Copyright (C) 2009, 2010, 2011, 2012 <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... |
src/parser/TPKB.g4 | mniepert/TPKB | 3 | 324 | <reponame>mniepert/TPKB
//http://stackoverflow.com/questions/15610183/if-else-statements-in-antlr-using-listeners
grammar TPKB;
tpkb
: tpkb_class+
;
tpkb_class
: CLASS ID OBRACE
tpkb_class_subclass
tpkb_class_subpart
tpkb_class_attribute
CBRACE
;
tpkb_class_subclass
: (SUBCLASSES (ID FLOAT COMMA)* ID FLO... |
airhvctrl/vmintrin.asm | CKWindowsProject/airhv | 71 | 94020 | .CODE
__vm_call proc
mov rax,0CDAEFAEDBBAEBEEFh
vmcall
ret
__vm_call endp
__vm_call_ex proc
mov rax,0CDAEFAEDBBAEBEE... |
test/Succeed/MatchIrrelevant.agda | redfish64/autonomic-agda | 3 | 9258 | <reponame>redfish64/autonomic-agda
-- Andreas, 2011-10-03
-- allow matching on irrelevant data as long as there is at most one
-- matching constructor
{-# OPTIONS --experimental-irrelevance #-}
module MatchIrrelevant where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
data NAT : Nat -> Set where
Zero : NAT ... |
Lab2April/exam2.asm | forkkr/Assembly-Lab | 0 | 177638 | segment .data
scfmt: dq "%s",0
prr: dq "",10,0
fmt: dq "%lld",10,0
chk: dq "checked",10,0
balanced: dq "Color Balanced", 10 , 0
notbalanced: dq "Not Balanced",10,0
segment .bss
B: resq 1
G: resq 1
R: resq 1
Y: resq 1
str: resb 111
segment .text
global main
extern scanf
extern printf
main:
push RBP
... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/Pause.asm | prismotizm/gigaleak | 0 | 1049 | Name: Pause.asm
Type: file
Size: 43998
Last-Modified: '1992-11-18T01:48:24Z'
SHA-1: 5EF37873932D83415B1BC750E16A6AE0DE882E18
Description: null
|
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_7_1479.asm | ljhsiun2/medusa | 9 | 399 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x182d, %r9
nop
inc %r14
movb $0x61, (%r9)
nop
nop
nop
nop
nop
cmp $54974, %rbx
lea addresses_A_ht+0x10d, %rax
nop
no... |
oeis/030/A030240.asm | neoneye/loda-programs | 11 | 90945 | ; A030240: Scaled Chebyshev U-polynomials evaluated at sqrt(7)/2.
; 1,7,42,245,1421,8232,47677,276115,1599066,9260657,53631137,310593360,1798735561,10416995407,60327818922,349375764605,2023335619781,11717718986232,67860683565157,393000752052475,2275980479411226,13180858091511257,76334143284700217,442072996352322720,256... |
programs/oeis/161/A161703.asm | karttu/loda | 1 | 172119 | ; A161703: a(n) = (4*n^3 - 12*n^2 + 14*n + 3)/3.
; 1,3,5,15,41,91,173,295,465,691,981,1343,1785,2315,2941,3671,4513,5475,6565,7791,9161,10683,12365,14215,16241,18451,20853,23455,26265,29291,32541,36023,39745,43715,47941,52431,57193,62235,67565,73191,79121,85363,91925,98815,106041,113611,121533,129815,138465,147491,1569... |
libsrc/_DEVELOPMENT/z180/z180/__Unhandled_Trap.asm | jpoikela/z88dk | 640 | 86125 | SECTION code_crt_common
PUBLIC __Unhandled_Trap
EXTERN asm_abort
defc __Unhandled_Trap = asm_abort
|
source/league/matreshka-json_types.ads | svn2github/matreshka | 24 | 20347 | <filename>source/league/matreshka-json_types.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
15multitask/kernel_entry.asm | SwordYork/slef | 8 | 22079 | [bits 32]
[extern main]
call main
jmp $
|
Setoids/Intersection/Lemmas.agda | Smaug123/agdaproofs | 4 | 8451 | <reponame>Smaug123/agdaproofs
{-# OPTIONS --safe --warning=error --without-K #-}
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import LogicalFormulae
open import Sets.EquivalenceRelations
open import Setoids.Setoids
open import Setoids.Subset
module Setoids.Intersection.Lemmas {a b : _} {A : Set a} ... |
Miscellaneous/Chip16-Emulator/roms/Sources/ASCII.asm | ghivert/Student-Projects | 2 | 87819 | <gh_stars>1-10
;Ascii support for Chip16 ver 0.5
;Shendo 2010 - 2011
;
;Registers ra-rf are reserved for printing strings.
;Registers r0-r9 are free to use.
;
cls ;Start clean
spr #0F05 ;10x15 px sprites
:start ;Start of the program
ldi ra,10 ;X coordinate
ldi rb,10 ;Y coordinate
ldi rc,#AAAA ;... |
masm(msdos)/cadeasiguales.asm | GioProyects/ensamblador | 0 | 20759 | PAGE 60,132
TITLE ESCANECADENAS cadenas iguales .exe
.model small
.stack 64
.data
cad1 db "h<NAME>undo$"
cad2 db "hola mundo$"
msg db "son iguales$"
msg2 db "no son iguales$"
conta dw 0
.code
begin proc far
mov ax,@data
mov ds,ax
comienzo:
mov si,conta
mov al,cad2[si]
cmp cad... |
libsrc/_DEVELOPMENT/l/sdcc/____sdcc_ll_add_deix_hlix.asm | jpoikela/z88dk | 640 | 15208 |
SECTION code_clib
SECTION code_l_sdcc
PUBLIC ____sdcc_ll_add_deix_hlix
EXTERN l_add_64_mde_mhl
____sdcc_ll_add_deix_hlix:
; deix = deix + hlix
push de ; save deix
IFDEF __SDCC_IX
push ix
pop de ; de = ix
ELSE
push iy
pop de
ENDIF
add ... |
scripts/Route15.asm | opiter09/ASM-Machina | 1 | 26754 | Route15_Script:
call EnableAutoTextBoxDrawing
ld hl, Route15TrainerHeaders
ld de, Route15_ScriptPointers
ld a, [wRoute15CurScript]
call ExecuteCurMapScriptInTable
ld [wRoute15CurScript], a
ret
Route15_ScriptPointers:
dw CheckFightingMapTrainers
dw DisplayEnemyTrainerTextAndStartBattle
dw EndTrainerBattle
Ro... |
Task/String-length/Ada/string-length-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 7024 | <filename>Task/String-length/Ada/string-length-1.ada
Str : String := "<NAME>";
Length : constant Natural := Str'Size / 8;
|
oeis/208/A208724.asm | neoneye/loda-programs | 11 | 167999 | ; A208724: Number of 2n-bead necklaces labeled with numbers 1..5 not allowing reversal, with neighbors differing by exactly 1.
; Submitted by <NAME>
; 4,7,12,25,52,131,316,835,2196,5935,16108,44369,122644,341803,956636,2690845,7596484,21524543,61171660,174342217,498112276,1426419859,4093181692,11767920119,33891544420,9... |
programs/oeis/074/A074150.asm | karttu/loda | 1 | 172406 | <gh_stars>1-10
; A074150: Duplicate of A061925.
; 1,2,3,6,9,14,19,26,33,42,51,62,73,86,99,114,129,146,163,182,201,222
pow $0,2
mov $1,$0
add $1,3
div $1,2
|
src/words_engine/words_engine-list_package.ads | spr93/whitakers-words | 204 | 1596 | -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-- (c). Permission i... |
formalization/agda/Spire/DarkwingDuck/Primitive.agda | spire/spire | 43 | 15492 | <filename>formalization/agda/Spire/DarkwingDuck/Primitive.agda
{-# OPTIONS --type-in-type #-}
module Spire.DarkwingDuck.Primitive where
----------------------------------------------------------------------
infixr 4 _,_
infixr 5 _∷_
----------------------------------------------------------------------
postulate St... |
oeis/342/A342040.asm | neoneye/loda-programs | 11 | 83547 | ; A342040: Binary palindromes of odd length.
; Submitted by <NAME>(s4)
; 1,101,111,10001,10101,11011,11111,1000001,1001001,1010101,1011101,1100011,1101011,1110111,1111111,100000001,100010001,100101001,100111001,101000101,101010101,101101101,101111101,110000011,110010011,110101011
seq $0,48700 ; Binary palindromes of o... |
orka/src/orka/implementation/orka-inputs-joysticks-chords.adb | onox/orka | 52 | 13266 | <gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2019 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licen... |
codigo/capitulo 39/archivo_apertura.asm | codeneomatrix/ENSAMBLADOR-x86-ACEVEDO | 1 | 27750 | segment .data
MsgError db "se produjo un error",0xA,0xD ;mensaje en caso de
; existir un error al crear el archivo los numeros
; hexadecimales son equivalentes a los numeros decimales
; 10 y 13 los cuales permiten el salto de linea
lon equ $ -MsgError
MsgExito db "archivo abierto con ... |
libsrc/_DEVELOPMENT/l/sdcc/__mulint_callee.asm | jpoikela/z88dk | 640 | 90605 | <filename>libsrc/_DEVELOPMENT/l/sdcc/__mulint_callee.asm
SECTION code_clib
SECTION code_l_sdcc
PUBLIC __mulint_callee
EXTERN l_mulu_16_16x16
__mulint_callee:
; 16-bit multiplication, LSW 16-bit result
;
; enter : stack = multiplicand, multiplicand, ret
;
; exit : hl = product
pop af
pop h... |
vendor/stdlib/src/Data/Bool/Properties.agda | isabella232/Lemmachine | 56 | 6281 | ------------------------------------------------------------------------
-- A bunch of properties
------------------------------------------------------------------------
module Data.Bool.Properties where
open import Data.Bool as Bool
open import Data.Fin
open import Data.Function
open import Algebra
open import Alge... |
parse_clipboard.applescript | teake/pasterrr | 3 | 84 | <filename>parse_clipboard.applescript
on run argv
set theQuery to item 1 of argv
set textItemList to splitString(theQuery)
if textItemList is {} then
return
end if
set skipPrefix to (system attribute "skip_prefix")
set firstOk to false
repeat while not firstOk and textItemList is not {}
set firstText... |
programs/oeis/147/A147612.asm | jmorken/loda | 1 | 83408 | ; A147612: If n is a Jacobsthal number then 1 else 0.
; 1,1,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,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,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,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,... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_85_1401.asm | ljhsiun2/medusa | 9 | 245325 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1d222, %r12
nop
xor $2520, %rax
mov (%r12), %si
nop
xor $37008, %rbx
lea addresses_D_ht+0x1622, %rcx
nop
nop
nop
and %r11, %r11
vmovups (%rcx), %ymm0
vextracti128 $0, %y... |
core/lib/types/Int.agda | cmknapp/HoTT-Agda | 0 | 782 | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Nat
open import lib.types.Group
open import lib.types.TLevel
module lib.types.Int where
data ℤ : Type₀ where
pos : (n : ℕ) → ℤ
negsucc : (n : ℕ) → ℤ
Int = ℤ
{-# BUILTIN INTEGER Int #-}
{-# BUILTIN INTEGERPOS pos #-}
{-# BUILTIN INTEGERNEG... |
src/aco-utils-ds-generic_protected_queue.ads | jonashaggstrom/ada-canopen | 6 | 22377 | <filename>src/aco-utils-ds-generic_protected_queue.ads<gh_stars>1-10
with System;
private with Ada.Synchronous_Task_Control;
private with ACO.Utils.DS.Generic_Queue;
generic
type Item_Type is private;
Maximum_Nof_Items : Positive;
package ACO.Utils.DS.Generic_Protected_Queue is
-- A protected queue
pra... |
oeis/314/A314239.asm | neoneye/loda-programs | 11 | 17298 | ; A314239: Coordination sequence Gal.6.642.2 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>(s3)
; 1,5,11,17,23,28,34,39,45,51,57,62,67,73,79,85,90,96,101,107,113,119,124,129,135,141,147,152,158,163,169,175,181,18... |
FoldingText.lbaction/Contents/Scripts/next.scpt | raguay/MyLaunchBarActions | 29 | 2186 | property pTitle : "Move the @next tag along, leaving @done in its wake"
property pVer : "0.5" -- DRAFT ...
property pAuthor : "RobTrew"
property pblnDebug : false
-- ROUGH DRAFT:
-- **MOVE** THE @NEXT OR @NOW TAG (edit pstrTag below) ON TO THE NEXT UNCOMPLETED ITEM IN THE PROJECT
-- [Marking the current line as @done... |
programs/oeis/276/A276881.asm | neoneye/loda | 22 | 18303 | ; A276881: Sums-complement of the Beatty sequence for 1 + sqrt(5).
; 1,2,5,8,11,14,15,18,21,24,27,28,31,34,37,40,41,44,47,50,53,54,57,60,63,66,69,70,73,76,79,82,83,86,89,92,95,96,99,102,105,108,109,112,115,118,121,124,125,128,131,134,137,138,141,144,147,150,151,154
mov $1,17
mul $1,$0
sub $1,1
div $1,21
add $1,1
mul $... |
oeis/086/A086273.asm | neoneye/loda-programs | 11 | 171591 | <reponame>neoneye/loda-programs
; A086273: Rectangular array T(n,k) of central polygonal numbers, by antidiagonals.
; Submitted by <NAME>
; 1,1,3,1,4,7,1,5,10,13,1,6,13,19,21,1,7,16,25,31,31,1,8,19,31,41,46,43,1,9,22,37,51,61,64,57,1,10,25,43,61,76,85,85,73,1,11,28,49,71,91,106,113,109,91,1,12,31,55,81,106,127,141,145,... |
programs/oeis/063/A063099.asm | karttu/loda | 1 | 15927 | ; A063099: Dimension of the space of weight 2n cusp forms for Gamma_0( 31 ).
; 2,7,13,17,23,29,33,39,45,49,55,61,65,71,77,81,87,93,97,103,109,113,119,125,129,135,141,145,151,157,161,167,173,177,183,189,193,199,205,209,215,221,225,231,237,241,247,253,257,263
mov $3,$0
add $3,$0
mov $0,$3
mov $1,1
lpb $2,$0
add $0,1
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/deques.ads | best08618/asylo | 7 | 12922 | package Deques is
type Deque (<>) is tagged limited private;
function Create return Deque;
procedure Pop (D : access Deque);
type Sequence is limited interface;
type P_Deque is new Deque and Sequence with private;
function Create return P_Deque;
private
type Deque is tagged limited null r... |
C51/RtxTiny2/SourceCode/os_create.a51 | AllRoundeer/Keil | 0 | 171877 | ;------------------------------------------------------------------------------
; This file is part of the RTX-51 TINY Real-Time Operating System Package
; Copyright KEIL ELEKTRONIK GmbH and Keil Software, Inc. 1991 - 2002
;------------------------------------------------------------------------------
;
; OS_CREATE... |
src/asis/a4g-contt-sd.ads | My-Colaborations/dynamo | 15 | 2598 | <reponame>My-Colaborations/dynamo
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
programs/oeis/114/A114647.asm | jmorken/loda | 1 | 176132 | <reponame>jmorken/loda<gh_stars>1-10
; A114647: Expansion of (-3+4*x+3*x^2)/((1-x)*(x+1)*(x^2+2*x-1)); a Pellian-related sequence.
; 3,2,7,12,31,70,171,408,987,2378,5743,13860,33463,80782,195027,470832,1136691,2744210,6625111,15994428,38613967,93222358,225058683,543339720,1311738123,3166815962,7645370047,18457556052,44... |
固件源码/三代控A12-带模型命名源码-易深工程/List/main.adb | wooddoor/Loli3 | 47 | 22591 | M:main
F:G$Delay1ms$0_0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$delay_ms$0_0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$EEPROM_read$0_0$0({2}DF,SC:U),C,0,0,0,0,0
F:G$EEPROM_write$0_0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$EEPROM_clean$0_0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$Data_change$0_0$0({2}DF,SV:S),C,0,0,0,0,0
F:G$DATA_read1$0_0$0({2}DF,SV:S),C,0,0,0,... |
host/stm32gd-gpio-pin.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 17409 | <reponame>ekoeppen/STM32_Generic_Ada_Drivers
package body STM32GD.GPIO.Pin is
procedure Init is
begin
null;
end Init;
procedure Set_Mode (Mode : Pin_IO_Modes) is
begin
null;
end Set_Mode;
procedure Set_Type (Pin_Type : Pin_Output_Types) is
begin
null;
end Set_Type;
fu... |
tests/hello.asm | ntrupin/navmv | 8 | 160575 | section .data:
.dec HELLO Hello, world!
_start:
mov ax, 1
mov bx, 1
mov cx, [HELLO]
syscall |
text/maps/rocket_hideout_b4f.asm | etdv-thevoid/pokemon-rgb-enhanced | 9 | 88703 | _RocketHideout4Text_4557a::
text "So! I must say, I"
line "am impressed you"
cont "got here!"
done
_RocketHideout4Text_4557f::
text "WHAT!"
line "This cannot be!"
prompt
_RocketHideout4Text_45584::
text "I see that you"
line "raise #MON"
cont "with utmost care."
para "A child like you"
line "would never"... |
gcc-gcc-7_3_0-release/gcc/ada/sem_ch5.adb | best08618/asylo | 7 | 4332 | <filename>gcc-gcc-7_3_0-release/gcc/ada/sem_ch5.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
uw1/eop-enqueueGridCoords.asm | JohnGlassmyer/UltimaHacks | 68 | 9134 | <reponame>JohnGlassmyer/UltimaHacks
%ifndef EXE_LENGTH
%include "../UltimaPatcher.asm"
%include "include/uw1.asm"
%include "include/uw1-eop.asm"
%endif
[bits 16]
startPatch EXE_LENGTH, \
expanded overlay procedure: enqueueGridCoords
startBlockAt addr_eop_enqueueGridCoords
push bp
mov bp, sp
; bp-bas... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect13.ads | best08618/asylo | 7 | 4219 | package Vect13 is
-- Constrained array types are vectorizable
type Sarray is array (1 .. 4) of Float;
for Sarray'Alignment use 16;
function "+" (X, Y : Sarray) return Sarray;
procedure Add (X, Y : Sarray; R : out Sarray);
end Vect13;
|
src/led_control.adb | hgrodriguez/embedded-dashboard-console | 0 | 30893 | <reponame>hgrodriguez/embedded-dashboard-console
.-- Copyright 2021 (C) <NAME>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
with RP.Device;
with RP.GPIO;
with ItsyBitsy;
package body LED_Control is
subtype LED_Type is RP.GPIO.GPIO_Point;
----------------------------------------------------------------------... |
src/Typed/LTLC.agda | laMudri/linear.agda | 34 | 13930 | <filename>src/Typed/LTLC.agda
module Typed.LTLC where
open import Prelude
open import Function
open import Level
open import Category.Monad
open import Relation.Unary.PredicateTransformer using (PT; Pt)
open import Relation.Ternary.Separation.Construct.Unit
open import Relation.Ternary.Separation.Allstar
open import ... |
programs/oeis/003/A003769.asm | neoneye/loda | 22 | 24056 | ; A003769: Number of perfect matchings (or domino tilings) in K_4 X P_n.
; 3,16,75,361,1728,8281,39675,190096,910803,4363921,20908800,100180081,479991603,2299777936,11018898075,52794712441,252954664128,1211978608201,5806938376875,27822713276176,133306628004003,638710426743841,3060245505715200,14662517101832161,70252340... |
oeis/097/A097131.asm | neoneye/loda-programs | 11 | 169824 | <gh_stars>10-100
; A097131: F(n)+(-1)^n*F(n-1).
; Submitted by <NAME>
; 1,1,2,1,5,2,13,5,34,13,89,34,233,89,610,233,1597,610,4181,1597,10946,4181,28657,10946,75025,28657,196418,75025,514229,196418,1346269,514229,3524578,1346269,9227465,3524578,24157817,9227465,63245986,24157817
mov $2,1
lpb $0
sub $0,2
add $1,$2
... |
other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n2/mn_hp_smsub1.asm | prismotizm/gigaleak | 0 | 10651 | <gh_stars>0
Name: mn_hp_smsub1.asm
Type: file
Size: 120205
Last-Modified: '1993-08-25T07:36:28Z'
SHA-1: B62D3B2FD14F16FBEE6F2EFBAB19DFD4FD5770D4
Description: null
|
tetris_os/boot/32pm_functions/print_string_pm.asm | vladcc/Tetris-OS | 20 | 96468 | <filename>tetris_os/boot/32pm_functions/print_string_pm.asm
; prints string in protected mode by writing directly to VGA memory
[bits 32] ; force 32 bit code for protected mode
; constants
%define VIDEO_MEMORY 0xb8000
%define GRAY_ON_BLACK 0x07
print_string_pm:
; eax - string address
; save registers
push eax
... |
libsrc/games/vg5k/bit_close_ei.asm | meesokim/z88dk | 0 | 91808 | ; $Id: bit_close_ei.asm,v 1.2 2015/01/19 01:32:45 pauloscustodio Exp $
;
; VG-5000 1 bit sound functions
;
; Close sound and restore interrupts
;
; <NAME> - 2014
;
PUBLIC bit_close_ei
EXTERN bit_irqstatus
.bit_close_ei
push hl
ld hl,(bit_irqstatus)
ex (sp),hl
pop af
ret po
ei
ret
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c86004b0.ada | best08618/asylo | 7 | 8172 | <reponame>best08618/asylo
-- C86004B0.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 conta... |
examples/outdated-and-incorrect/AIM6/Cat/lib/Data/PigeonHole.agda | larrytheliquid/agda | 0 | 13540 | <reponame>larrytheliquid/agda<gh_stars>0
module PigeonHole where
open import Prelude
open import Data.Nat hiding (_==_; _<_)
open import Data.Fin
open import Data.Vec as Vec
open import Logic.Base
open import Logic.Identity
open Vec.Elem
tooManyPigeons : {n : Nat}(xs : Vec (Fin (suc n)) n) -> ∃ \p -> p ∉ xs
tooMany... |
libsrc/compress/zx7/dzx7_agile_rcs_callee.asm | jpoikela/z88dk | 38 | 240678 |
; void dzx7_agile_rcs_callee(void *src, void *dst)
SECTION code_clib
SECTION code_compress_zx7
PUBLIC _dzx7_agile_rcs_callee
EXTERN asm_dzx7_agile_rcs
_dzx7_agile_rcs_callee:
pop hl
pop de
ex (sp),hl
jp asm_dzx7_agile_rcs
|
Cubical/HITs/James/Inductive/PushoutFormula.agda | thomas-lamiaux/cubical | 1 | 1111 | {-
This file contains:
- The inductive family 𝕁 can be constructed by iteratively applying pushouts;
- The special cases of 𝕁 n for n = 0, 1 and 2;
- Connectivity of inclusion maps.
Easy, almost direct consequences of the very definition.
-}
{-# OPTIONS --safe #-}
module Cubical.HITs.James.Inductive.Pushou... |
llvm-gcc-4.2-2.9/gcc/ada/a-ztcoio.ads | vidkidz/crossbridge | 1 | 2526 | <filename>llvm-gcc-4.2-2.9/gcc/ada/a-ztcoio.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
Graph/Walk/Functions/Proofs.agda | Lolirofle/stuff-in-agda | 6 | 13512 | <gh_stars>1-10
open import Type
module Graph.Walk.Functions.Proofs {ℓ₁ ℓ₂} {V : Type{ℓ₁}} where
import Data.Either as Either
open import Data.Either.Proofs
open import Logic.Propositional
import Lvl
open import Graph{ℓ₁}{ℓ₂}(V)
open import Graph.Properties
open import Graph.Walk{ℓ₁}{ℓ₂}{V}
open import Graph... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.