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 |
|---|---|---|---|---|
asm/Mult.asm | Jin-Roh/Nand2Tetris | 0 | 8866 | <gh_stars>0
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME> Schocken, MIT Press.
// File name: projects/04/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.)
// Put your cod... |
src/Category/Monad/Monotone/Identity.agda | metaborg/mj.agda | 10 | 4258 | open import Relation.Binary
open import Relation.Binary.PropositionalEquality
module Category.Monad.Monotone.Identity {i}(pre : Preorder i i i) where
open Preorder pre renaming (Carrier to I; _∼_ to _≤_; refl to ≤-refl)
open import Relation.Unary.PredicateTransformer using (Pt)
open import Category.Monad.Monotone pr... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2367.asm | ljhsiun2/medusa | 9 | 23270 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %r8
push %r9
lea addresses_UC_ht+0x1480, %r15
nop
cmp %r13, %r13
vmovups (%r15), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $0, %xmm2, %r14
sub %r8, %r8
lea addresses_UC_ht+0xe5a0, %r8
clflush (%r8)
nop
nop
nop
nop
nop
add $10810... |
tests/lsc_suite.adb | Componolit/libsparkcrypto | 30 | 26434 | -------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2018, Componolit GmbH
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that t... |
tests/reg_call6.asm | notaz/ia32rtools | 55 | 162020 |
_text segment para public 'CODE' use32
sub_test proc near
push ecx
shl ecx, 9
push edx
and edx, 7Fh
add ecx, 1
call sub_test2
retn
sub_test endp
_text ... |
src/vms_pascal/parser/pascal.g4 | GitMensch/vms-ide | 5 | 2546 | grammar pascal;
program
: directives* programHeading block DOT
;
programHeading
: attributeProgram PROGRAM identifier (LPAREN identifierList RPAREN)? SEMI
| attributeModule MODULE identifier (LPAREN identifierList RPAREN)? SEMI
;
identifier
: IDENTIFIER
| attribute
| preReservedWords
;
at... |
programs/oeis/025/A025854.asm | neoneye/loda | 22 | 20372 | ; A025854: Expansion of 1/((1-x^3)(1-x^9)(1-x^10)).
; 1,0,0,1,0,0,1,0,0,2,1,0,2,1,0,2,1,0,3,2,1,3,2,1,3,2,1,4,3,2,5,3,2,5,3,2,6,4,3,7,5,3,7,5,3,8,6,4,9,7,5,9,7,5,10,8,6,11,9,7,12,9,7,13,10,8,14,11,9,15,12,9,16,13,10
mov $3,$0
mov $4,2
lpb $4
mov $0,$3
sub $4,1
add $0,$4
trn $0,1
seq $0,29058 ; Expansion of 1... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_240.asm | ljhsiun2/medusa | 9 | 162498 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x25ae, %rsi
lea addresses_UC_ht+0x1d0de, %rdi
nop
nop
nop
sub $62796, %r13
mov $28, %rcx
rep movsq
nop
nop
nop
nop
nop
sub $11092, %r12
pop %rsi
pop %rdi
pop %r... |
Scripts Pack Source Items/Scripts Pack/Miscellaneous/Growl (1.2.2) - End+Load Processes.applescript | Phorofor/ScriptsPack.macOS | 1 | 2475 | # Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
(*
End/Load All Growl Related Processes
This script kills/starts all Growl related processes. This may be not useful if you use the menu bar method where Growl is in its default location.
*)
set GrowlHelp to "com.... |
examples/encryption/demo_ada.adb | jrmarino/libsodium-ada | 10 | 29609 | <reponame>jrmarino/libsodium-ada
with Sodium.Functions; use Sodium.Functions;
with Ada.Text_IO; use Ada.Text_IO;
procedure Demo_Ada
is
message : constant String := "JRM wrote this note.";
message2 : constant String := "1972 <NAME>";
cipherlen : constant Positive := Cipher_Length (message);
cipher2len... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/namet.ads | best08618/asylo | 7 | 21016 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/namet.ads
package Namet is
Hash_Num : constant Integer := 2**12;
subtype Hash_Index_Type is Integer range 0 .. Hash_Num - 1;
Name_Buffer : String (1 .. 16*1024);
Name_Len : Natural;
end Namet;
|
test/interaction/Issue1083.agda | redfish64/autonomic-agda | 3 | 1356 | -- Andreas, 2013-04-06
-- Interaction point buried in postponed type checking problem
module Issue1083 where
data Bool : Set where true false : Bool
T : Bool → Set
T true = Bool → Bool
T false = Bool
postulate
f : {x : Bool} → T x
test : (x : Bool) → T x
test true = f {!!}
test false = {!!}
-- Constraints show... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-decima.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 14817 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
oeis/052/A052923.asm | neoneye/loda-programs | 11 | 11992 | <reponame>neoneye/loda-programs
; A052923: Expansion of (1-x)/(1 - x - 4*x^2).
; Submitted by <NAME>(l1)
; 1,0,4,4,20,36,116,260,724,1764,4660,11716,30356,77220,198644,507524,1302100,3332196,8540596,21869380,56031764,143509284,367636340,941673476,2412218836,6178912740,15827788084,40543439044,103854591380,266028347556,6... |
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_17035_19.asm | ljhsiun2/medusa | 9 | 103560 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x8621, %rdi
nop
and %r15, %r15
mov (%rdi), %ecx
nop
nop
nop
nop
xor $41115, %rdi
lea addresses_WC_ht+0x97a5, %rsi
lea addresses_WT_ht+0x1b5ce, %rdi
nop
cmp %r8, %r8
mov $59, %rcx
rep movsw
nop
no... |
source/directories/machine-w64-mingw32/s-natdir.adb | ytomino/drake | 33 | 15616 | <filename>source/directories/machine-w64-mingw32/s-natdir.adb
with Ada.Exception_Identification.From_Here;
with System.Zero_Terminated_WStrings;
with C.winerror;
with C.winnt;
package body System.Native_Directories is
use Ada.Exception_Identification.From_Here;
use type Ada.Exception_Identification.Exception_Id;
... |
src/ui/knowledge-events.adb | thindil/steamsky | 80 | 23755 | -- Copyright (c) 2020-2021 <NAME> <<EMAIL>>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is... |
libsrc/oz/ozmisc/ozinitsound.asm | andydansby/z88dk-mk2 | 1 | 9350 | ;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by <NAME>
; by <NAME> - Oct. 2003
;
;
; void ozinitsound(void)
;
; ------
; $Id: ozinitsound.asm,v 1.1 2003/10/27 17:03:40 stefano Exp $
;
XLIB ozinitsound
ozinitsound:
ld a,1
out (19h),a ; turn tone mode on
ret
|
.emacs.d/elpa/wisi-3.0.1/wisi.ads | caqg/linux-home | 0 | 28463 | -- Abstract :
--
-- Ada implementation of wisi parser actions.
--
-- References
--
-- [1] wisi-parse-common.el - defines common stuff.
--
-- [2] wisi.texi - defines parse action functions.
--
-- [3] wisi-process-parse.el - defines elisp/process API
--
-- Copyright (C) 2017 - 2020 Free Software Foundation, Inc.
-... |
src/Categories/Functor/Monoidal/Braided.agda | TOTBWF/agda-categories | 0 | 2465 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category.Monoidal.Structure
using (BraidedMonoidalCategory)
module Categories.Functor.Monoidal.Braided {o o′ ℓ ℓ′ e e′}
(C : BraidedMonoidalCategory o ℓ e) (D : BraidedMonoidalCategory o′ ℓ′ e′)
where
open import Level
open import Data.Product using (_,... |
libsrc/_DEVELOPMENT/math/float/math48/z80/am48_log.asm | jpoikela/z88dk | 640 | 172706 |
; double log(double x)
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48_log
EXTERN mm48_ln
; compute natural logarithm of AC'
;
; enter : AC' = double x
;
; exit : success
;
; AC' = ln(x)
; carry reset
;
; fail on domain error
;
; AC' =... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca.log_21829_1878.asm | ljhsiun2/medusa | 9 | 80162 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x249d, %r15
nop
nop
dec %rbx
movups (%r15), %xmm0
vpextrq $1, %xmm0, %rcx
add %rbp, %rbp
lea addresses_A_ht+0xa59d, %rsi
lea addresses_WT_ht+0x749d, ... |
test/Fail/Issue721b.agda | cruhland/agda | 1,989 | 17101 | <filename>test/Fail/Issue721b.agda
-- 2012-10-20 Andreas
module Issue721b where
data Bool : Set where
false true : Bool
record Foo (b : Bool) : Set where
field
_*_ : Bool → Bool → Bool
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
test : (F : Foo false) → let open Foo F in (x : Bool) → _*_ x ≡ (... |
source/s-unwocc.ads | ytomino/drake | 33 | 9685 | <filename>source/s-unwocc.ads
pragma License (Unrestricted);
-- runtime unit
with System.Runtime_Context;
with System.Unwind.Representation;
package System.Unwind.Occurrences is
pragma Preelaborate;
-- (s-stalib.ads)
Local_Partition_ID : Natural := 0;
-- implementation for catching object (a-except-200... |
Start Harvest.applescript | joshkehn/OFStartHarvest | 10 | 809 | <filename>Start Harvest.applescript<gh_stars>1-10
-- Date: May 2nd, 2015
-- Copyright (c) 2015 <NAME> <<EMAIL>>
-- License: MIT http://opensource.org/licenses/MIT
-- Version: 1.0
set DEFAULT_HARVEST_PROJECT to ""
set DEFAULT_HARVEST_TASK to "Development"
set HARVEST_ICON to alias "Applications:Harvest.app:Contents:Res... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1049.asm | ljhsiun2/medusa | 9 | 29135 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1e71e, %rsi
lea addresses_WC_ht+0xa19e, %rdi
nop
nop
add $13334, %rax
mov $41, %rcx
rep movsl
nop
nop
nop
nop
nop
cmp $31583, %r15
lea addresses_normal_ht+0xc65e, %rsi
nop
no... |
oeis/102/A102902.asm | neoneye/loda-programs | 11 | 241369 | ; A102902: a(n) = 9a(n-1) - 16a(n-2).
; Submitted by <NAME>(s4)
; 1,9,65,441,2929,19305,126881,833049,5467345,35877321,235418369,1544728185,10135859761,66507086889,436390025825,2863396842201,18788331166609,123280631024265,808912380552641,5307721328585529,34826893868427505,228518503558479081,1499436230131471649,98386300... |
tests/badbox.adb | yannickmoy/SPARKNaCl | 76 | 7313 | <filename>tests/badbox.adb
with SPARKNaCl; use SPARKNaCl;
with SPARKNaCl.Cryptobox; use SPARKNaCl.Cryptobox;
with SPARKNaCl.Stream;
with Ada.Text_IO; use Ada.Text_IO;
procedure BadBox
is
AliceSK, BobSK : Secret_Key;
AlicePK, BobPK : Public_Key;
N : Stream.HSalsa20_Nonce;
S, S2 : Boolean;
... |
oeis/051/A051197.asm | neoneye/loda-programs | 11 | 10446 | ; A051197: T(2n+4,n), array T as in A050186; a count of aperiodic binary words.
; Submitted by <NAME>
; 0,6,24,120,480,2002,7952,31824,125760,497420,1960464,7726160,30418752,119759850,471424160,1855967520,7307828352,28781143380,113380093840,446775310800,1761038703424,6943526580276,27385654785504
mov $1,$0
add $0,4
mov... |
src/x86-64/syscalls/net.asm | ohnx/ge | 0 | 167467 | ; =============================================================================
; BareMetal -- a 64-bit OS written in Assembly for x86-64 systems
; Copyright (C) 2008-2015 Return Infinity -- see LICENSE.TXT
;
; Network Functions
; =============================================================================
; -------... |
MD407/Kap2/stack.asm | konglobemeralt/DAT017 | 0 | 169597 | <reponame>konglobemeralt/DAT017<filename>MD407/Kap2/stack.asm
start:
BL sub
B start
sub:
PUSH {LR}
MOV R0, #0x10
PUSH {R0}
BL sub2
POP {R0}
POP {PC}
sub2:
PUSH {R7}
MOV R7, SP
LDR R1, [R7, #4]
POP {R7}
BX LR
|
oeis/094/A094623.asm | neoneye/loda-programs | 11 | 172913 | <reponame>neoneye/loda-programs
; A094623: Expansion of x*(1+10*x)/((1-x)*(1-10*x^2)).
; Submitted by <NAME>(w4)
; 0,1,11,21,121,221,1221,2221,12221,22221,122221,222221,1222221,2222221,12222221,22222221,122222221,222222221,1222222221,2222222221,12222222221,22222222221,122222222221,222222222221,1222222222221
add $0,1
l... |
Test/8080/8080EXER.asm | sparks-c16/zasm | 43 | 173804 | title 'Z80 instruction set exerciser'
; zexlax.z80 - Z80 instruction set exerciser
; Copyright (C) 1994 <NAME>
;
; This program is free software; you can redistribute it and/or
; modify it under the terms of the GNU General Public License
; as published by the Free Software Foundation; either version 2
; of ... |
oeis/156/A156095.asm | neoneye/loda-programs | 11 | 16411 | <gh_stars>10-100
; A156095: 5 F(2n) (F(2n) + 1) + 1 where F(n) denotes the n-th Fibonacci number.
; Submitted by <NAME>
; 1,11,61,361,2311,15401,104401,712531,4875781,33398201,228859951,1568486161,10750188961,73681909211,505020747661,3461456968201,23725161388951,162614629188281,1114577128871281,7639424974303651,5236139... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/isless_callee.asm | meesokim/z88dk | 0 | 167803 | <filename>libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/isless_callee.asm
SECTION code_fp_math48
PUBLIC _isless_callee
EXTERN cm48_sdcciy_isless_callee
defc _isless_callee = cm48_sdcciy_isless_callee
|
src/audio-wavefiles-generic_fixed_pcm_io.adb | Ada-Audio/wavefiles | 10 | 21053 | <filename>src/audio-wavefiles-generic_fixed_pcm_io.adb
------------------------------------------------------------------------------
-- --
-- THIS IS AN AUTOMATICALLY GENERATED FILE! DO NOT EDIT! --
-- ... |
programs/oeis/017/A017593.asm | neoneye/loda | 22 | 168985 | <reponame>neoneye/loda
; A017593: a(n) = 12*n + 6.
; 6,18,30,42,54,66,78,90,102,114,126,138,150,162,174,186,198,210,222,234,246,258,270,282,294,306,318,330,342,354,366,378,390,402,414,426,438,450,462,474,486,498,510,522,534,546,558,570,582,594,606,618,630,642
mul $0,12
add $0,6
|
src/glfw-error.adb | zrmyers/GLFWAda | 0 | 4467 | <reponame>zrmyers/GLFWAda
--------------------------------------------------------------------------------
-- 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 d... |
home/vblank.asm | opiter09/ASM-Machina | 1 | 7086 | VBlank::
push af
push bc
push de
push hl
ldh a, [hLoadedROMBank]
ld [wVBlankSavedROMBank], a
ldh a, [hSCX]
ldh [rSCX], a
ldh a, [hSCY]
ldh [rSCY], a
ld a, [wDisableVBlankWYUpdate]
and a
jr nz, .ok
ldh a, [hWY]
ldh [rWY], a
.ok
call AutoBgMapTransfer
call VBlankCopyBgMap
call RedrawRowOrColumn
ca... |
src/css-core-properties.ads | stcarrez/ada-css | 3 | 3963 | -----------------------------------------------------------------------
-- css-core-properties -- Core CSS API definition
-- Copyright (C) 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 the Lice... |
src/asf-locales.ads | jquorning/ada-asf | 12 | 1443 | <gh_stars>10-100
-----------------------------------------------------------------------
-- asf-locales -- Locale support
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exce... |
P6/data_P6_2/MDTest27.asm | alxzzhou/BUAA_CO_2020 | 1 | 96100 | <filename>P6/data_P6_2/MDTest27.asm
ori $ra,$ra,0xf
divu $5,$ra
mult $1,$4
sll $1,$4,31
sb $5,9($0)
addu $5,$2,$5
sll $4,$2,30
divu $5,$ra
sb $4,15($0)
lui $4,60541
srav $2,$2,$2
mult $5,$1
addu $0,$0,$0
divu $2,$ra
addu $4,$4,$3
lui $0,22474
ori $1,$3,46971
lb $5,14($0)
divu $2,$ra
addiu $6,$1,30373
mflo $3
divu $6,$r... |
common/lidata.asm | DigitalMars/optlink | 28 | 13794 | TITLE LIDATA - Copyright (c) 1994 by SLR Systems
INCLUDE MACROS
INCLUDE SEGMENTS
PUBLIC LIDATA_PROC,FORREF_MAJOR_MOVE,FIXDS_MOVER
.DATA
EXTERNDEF FIX2_LD_TYPE:BYTE
EXTERNDEF EXETABLE:DWORD,FIX2_LDATA_EOR:DWORD,SRCADR:DWORD,FIX2_SM_START:DWORD,FIX2_STACK_DELTA:DWORD
EXTERNDEF MAJOR_MOVE_ROUTINE:D... |
oeis/269/A269255.asm | neoneye/loda-programs | 11 | 85732 | ; A269255: a(n) = (2^(2*n+1) - 1)*(3^(n+1) - 1)/2.
; Submitted by <NAME>
; 1,28,403,5080,61831,745108,8952763,107475760,1289869711,15479049388,185750955523,2229020652040,26748283770391,320979546636868,3851755118036683,46221063628493920,554652772325571871,6655833302847731548,79869999773355124243,958439997835247481400,11... |
programs/oeis/281/A281482.asm | neoneye/loda | 22 | 3166 | <reponame>neoneye/loda<filename>programs/oeis/281/A281482.asm
; A281482: a(n) = 2^(n + 1) * (2^n + 1) - 1.
; 3,11,39,143,543,2111,8319,33023,131583,525311,2099199,8392703,33562623,134234111,536903679,2147549183,8590065663,34360000511,137439477759,549756862463,2199025352703,8796097216511,35184380477439,140737505132543,5... |
thirdparty/ffmpeg/libavcodec/x86/huffyuvencdsp.asm | yashrajsingh1998/ApraPipes1 | 2,151 | 167833 | <filename>thirdparty/ffmpeg/libavcodec/x86/huffyuvencdsp.asm
;************************************************************************
;* SIMD-optimized HuffYUV encoding functions
;* Copyright (c) 2000, 2001 <NAME>
;* Copyright (c) 2002-2004 <NAME> <<EMAIL>>
;*
;* MMX optimization by <NAME> <<EMAIL>>
;* Conversion to N... |
PRG/objects/C759.asm | narfman0/smb3_pp1 | 0 | 171560 | <reponame>narfman0/smb3_pp1
.byte $01 ; Unknown purpose
.byte OBJ_BUZZYBEATLE, $0B, $12
.byte OBJ_BUZZYBEATLE, $0D, $12
.byte OBJ_ENDLEVELCARD, $18, $15
.byte $FF ; Terminator
|
examples/kernel/drivers/io/hid/led/led.asm | rostislav-nikitin/socOS | 1 | 93635 | .cseg
.org 0x00
rcall main_thread
; include components interrupts
;.include "../../../../../../src/kernel/drivers/{driver_name}_int.asm"
; include SoC defaults
; include components definitions
.include "../../../../../../src/kernel/kernel_def.asm"
.include "../../../../../../src/kernel/drivers/device_def.asm"
.include... |
kernel.asm | hebertmorais/xv6-lottery-scheduler | 0 | 95676 |
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
8010000c <entry>:
# E... |
libsrc/target/zx/display/zx_aaddr2cx.asm | jpoikela/z88dk | 38 | 10028 | ; uint __FASTCALL__ zx_aaddr2cx(void *attraddr)
; aralbrec 06.2007
SECTION code_clib
PUBLIC zx_aaddr2cx
PUBLIC _zx_aaddr2cx
.zx_aaddr2cx
._zx_aaddr2cx
ld a,l
and $1f
ld l,a
ld h,0
ret
|
regtests/model/regtests-audits-model.adb | My-Colaborations/ada-ado | 0 | 15925 | -----------------------------------------------------------------------
-- Regtests.Audits.Model -- Regtests.Audits.Model
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-body.xhtml
-- Ada Generator: https://... |
src/isa/avx2/masm/log_fma3.asm | jepler/aocl-libm-ose | 66 | 89873 | ;
; Copyright (C) 2008-2020 Advanced Micro Devices, Inc. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification,
; are permitted provided that the following conditions are met:
; 1. Redistributions of source code must retain the above copyright notice,
; this list... |
src/main/antlr/CommonLexerRules.g4 | nurkiewicz/ts.class | 10 | 2868 | <filename>src/main/antlr/CommonLexerRules.g4
// Initially cloned from https://github.com/vandermore/Randori-Jackalope/tree/master/antlr4
lexer grammar CommonLexerRules;
@header{
package com.nurkiewicz.tsclass.antlr.parser;
}
ID
: [a-zA-Z]+ ;
INT
: [0-9]+ ;
NEWLINE
: '\r'? '\n' -> channel(HIDDEN) /... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i3-7100_9_0xca_notsx.log_21829_1582.asm | ljhsiun2/medusa | 9 | 164856 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x19968, %rsi
lea addresses_WT_ht+0x1ea48, %rdi
nop
nop
nop
nop
nop
and $21191, %rax
mov $43, %rcx
rep movsw
dec %r13
lea addresses_WT_ht+0x16308, %rcx
nop
nop
nop
nop
inc %r8
v... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_813.asm | ljhsiun2/medusa | 9 | 85893 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_813.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1be4e, %rsi
lea addresses_UC_ht+0x1c3a7, %rdi
clflush (%rsi)
nop
add $35158, %rbp
mo... |
mbr/main.asm | hakonmagnus/ether | 2 | 84856 | ;=============================================================================|
; _______ _________ _______ _______ |
; ( ____ \\__ __/|\ /|( ____ \( ____ ) |
; | ( \/ ) ( | ) ( || ( \/| ( )| |
... |
mzesolvr.asm | ern0/256byte-mzesolvr | 12 | 7485 | ; mzesolvr.asm - 2016.10.03 - <EMAIL>
; Maze Solver
; 256 byte intro for MS-DOS (compiler: fasm)
;
; This is also not a 256b intro, just something
; that actually fits in 256 bytes
org 100H
;----------------------------------------------------------------------
; draw maze
mov ax,13H
int 10H
mov si,100H
mov bl,... |
data/mapHeaders/ssanne5.asm | adhi-thirumala/EvoYellow | 16 | 11467 | <reponame>adhi-thirumala/EvoYellow<filename>data/mapHeaders/ssanne5.asm<gh_stars>10-100
SSAnne5_h:
db SHIP ; tileset
db SS_ANNE_5_HEIGHT, SS_ANNE_5_WIDTH ; dimensions (y, x)
dw SSAnne5Blocks, SSAnne5TextPointers, SSAnne5Script ; blocks, texts, scripts
db $00 ; connections
dw SSAnne5Object ; objects
|
wof/lcs/base/1CB.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 244733 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
003C88 bne $3caa
004150 bne $4144
00544C bne $5486
01550C st ($1c9,A5) [base+1CB]
0155F0 bra $16f20 [base+1CB]
01568C move.w #$20, (-$4de,A5) [base+1CB]
01572E bra ... |
libsrc/gfx/common/cclg.asm | ahjelm/z88dk | 640 | 5 | <reponame>ahjelm/z88dk<gh_stars>100-1000
;
; Colour graphics routines
;
; cls () -- clear screen
;
; <NAME> - 2018
;
;
; $Id: cclg.asm $
;
SECTION code_graphics
PUBLIC cclg
PUBLIC _cclg
EXTERN clg
.cclg
._cclg
jp clg
|
archive/agda-1/Foundation/Semigroup.agda | m0davis/oscar | 0 | 6761 | <reponame>m0davis/oscar
module Foundation.Semigroup where
open import Foundation.Primitive
open import Foundation.Equivalence
open import Agda.Primitive
record IsAssociative {a} {A : Set a} {ℓ} ⦃ _ : Equivalence A ℓ ⦄ (_∙_ : A → A → A) : ℞ a ⊔ ℓ where
field
associativity : ∀ x y z → ((x ∙ y) ∙ z) ≈ (x ∙ (y ∙ z... |
test/Fail/Issue3323r.agda | shlevy/agda | 1,989 | 3152 | <reponame>shlevy/agda
-- Andreas, 2018-10-27, issue #3323, reported by <NAME>
--
-- Mismatches between original and repeated parameter list
-- should not lead to internal errors.
open import Agda.Builtin.Bool
open import Agda.Builtin.Equality
record R ..(b : Bool) : Set
record R .b where -- Cannot change relevance
... |
oeis/134/A134515.asm | neoneye/loda-programs | 11 | 243560 | <reponame>neoneye/loda-programs
; A134515: Third column (k=2) of triangle A134832 (circular succession numbers).
; Submitted by <NAME>
; 1,0,0,10,15,168,1008,8244,73125,726440,7939008,94744494,1225760627,17088219120,255365758560,4072255216296,69021889788969,1239055874931312,23484788783212480,468656477004105810,98218968... |
polynomial/spline/tridiagonal_lu.adb | jscparker/math_packages | 30 | 28357 | <reponame>jscparker/math_packages
-----------------------------------------------------------------------
-- package body Tridiagonal_LU, LU decomposition for Tridiagonal matrices.
-- Copyright (C) 2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee... |
source/asis/asis-gela-visibility-utils.adb | faelys/gela-asis | 4 | 4931 | ------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
45/qb/ir/ssfor.asm | minblock/msdos | 0 | 104349 | page 49,132
TITLE ssfor - scan support for For/Next
;***
;ssfor.asm
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
; Scan For/Next.
;
; For executors utilize a For block that is allocated by the scanner.
; The allocation is from the frame.
;
; For opcode variants are:
; (IdLd,exp,exp[,exp]) opStFor<Step|> ... |
src/lzma-base.ads | stcarrez/ada-lzma | 4 | 28699 | <reponame>stcarrez/ada-lzma
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with System;
with Ada.Streams;
package Lzma.Base is
-- unsupported macro: LZMA_STREAM_INIT { NULL, 0, 0, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, LZMA_RESERVED_ENUM, LZMA_RESERVED_ENUM }
--*
-- * \f... |
EscriptLexer.g4 | polserver/escript-antlr4 | 1 | 2000 | <reponame>polserver/escript-antlr4
lexer grammar EscriptLexer;
channels { COMMENTS }
// Keywords
IF: 'if';
THEN: 'then';
ELSEIF: 'elseif';
ENDIF: 'endif';
ELSE: 'else';
// '_OptionBracketed';
GOTO: 'goto';
// GOSUB:... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_15_1174.asm | ljhsiun2/medusa | 9 | 81005 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rax
push %rbx
push %rcx
push %rdx
lea addresses_WC_ht+0x3d9d, %r13
nop
cmp $10369, %rdx
mov (%r13), %bx
nop
inc %rax
lea addresses_D_ht+0x12b8d, %r10
and %rcx, %rcx
movl $0x61626364, (%r10)
nop
nop
nop
dec %r13
lea addresses_UC_ht+0x1e43d,... |
Relational Logic/RL.agda | andyfreeyy/agda_and_math | 2 | 10773 | <reponame>andyfreeyy/agda_and_math
-- ---------------------------------
-- this is the agda file implementing my own work on logic, viz. a relational
-- framework for logic.
-- These codes have been checked by Agda 2.6.0
-- ---------------------------------
module RL where
-- this file use agda standard library
ope... |
src/kernel/arch/aarch64/asm/macro-defs.asm | aryanmaurya1/ArvernOS | 77 | 2531 | <reponame>aryanmaurya1/ArvernOS
// The `kernel_*` macros are based on <NAME> work, released under
// a MIT license.
//
// See: https://github.com/s-matyukevich/raspberry-pi-os/blob/master/docs/lesson03/rpi-os.md
.macro kernel_entry, el
sub sp, sp, #272
stp x0, x1, [sp, #16 * 0]
stp x2, x3, [sp, #16 * 1]
stp x4... |
basic/src/commands/timer.asm | paulscottrobson/eris | 13 | 91224 | ; *****************************************************************************
; *****************************************************************************
;
; Name: timer.asm
; Purpose: Event handling code
; Created: 15th April 2020
; Reviewed: TODO
; Author: <NAME> (<EMAIL>)
;
; **************************... |
gnutls/nettle/x86_64/aesni/aes-decrypt-internal.asm | TheShellLand/crossover-source | 0 | 17062 | <reponame>TheShellLand/crossover-source
C x86_64/aesni/aes-decrypt-internal.asm
ifelse(<
Copyright (C) 2015, 2018 <NAME>
This file is part of GNU Nettle.
GNU Nettle is free software: you can redistribute it and/or
modify it under the terms of either:
* the GNU Lesser General Public License as publ... |
programs/oeis/070/A070864.asm | neoneye/loda | 22 | 8109 | <reponame>neoneye/loda
; A070864: a(1) = a(2) = 1; a(n) = 2 + a(n - a(n-1)).
; 1,1,3,3,3,5,3,5,5,5,7,5,7,5,7,7,7,9,7,9,7,9,7,9,9,9,11,9,11,9,11,9,11,9,11,11,11,13,11,13,11,13,11,13,11,13,11,13,13,13,15,13,15,13,15,13,15,13,15,13,15,13,15,15,15,17,15,17,15,17,15,17,15,17,15,17,15,17,15,17,17,17,19,17,19,17,19,17,19,17,1... |
programs/oeis/021/A021802.asm | neoneye/loda | 22 | 3131 | <reponame>neoneye/loda<gh_stars>10-100
; A021802: Decimal expansion of 1/798.
; 0,0,1,2,5,3,1,3,2,8,3,2,0,8,0,2,0,0,5,0,1,2,5,3,1,3,2,8,3,2,0,8,0,2,0,0,5,0,1,2,5,3,1,3,2,8,3,2,0,8,0,2,0,0,5,0,1,2,5,3,1,3,2,8,3,2,0,8,0,2,0,0,5,0,1,2,5,3,1,3,2,8,3,2,0,8,0,2,0,0,5,0,1,2,5,3,1,3,2
add $0,1
mov $1,10
pow $1,$0
mul $1,5
div... |
src/asis/asis-compilation_units-relations.adb | My-Colaborations/dynamo | 15 | 28458 | <reponame>My-Colaborations/dynamo
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
source/commands/miscellany.asm | paulscottrobson/Basic65816 | 0 | 80417 | <gh_stars>0
; *******************************************************************************************
; *******************************************************************************************
;
; Name : miscellany.asm
; Purpose : Things that don't belong anywhere else.
; Date : 8th June 2019
; Author : ... |
test/Succeed/Issue2136.agda | shlevy/agda | 1,989 | 4553 | -- {-# OPTIONS -v tc.check.app:70 #-}
-- {-# OPTIONS -v tc.proj.amb:30 #-}
record S : Set₁ where
field X : Set
record T : Set₁ where
field X : Set
open S
open T
ok : S → Set
ok s = X s
test : S → Set
test s = s .X
-- Error WAS:
-- Cannot resolve overloaded projection X because it is not applied to
-- a visibl... |
src/main/antlr4/com/fasterxml/jackson/dataformat/ron/antlr4/RON.g4 | chriskilding/jackson-dataformat-ron | 1 | 6968 | <reponame>chriskilding/jackson-dataformat-ron<filename>src/main/antlr4/com/fasterxml/jackson/dataformat/ron/antlr4/RON.g4
// Derived from reading https://github.com/ron-rs/ron
// TODO: sync this up fully with the RON grammar document: https://github.com/ron-rs/ron/blob/master/docs/grammar.md
grammar RON;
root
: val... |
extern/game_support/stm32f4/src/tracks_display.adb | AdaCore/training_material | 15 | 29328 | with Drawing; use Drawing;
package body Tracks_Display is
Entry_Sign_Size : constant := 6;
Entry_Sign_Pixel : constant array (Entry_Sign_Color) of Color
:= (Green => Screen_Interface.Green,
Orange => Screen_Interface.Orange,
Red => Screen_Interface.Red);
Track_Color : constant Color :... |
test/Fail/Issue998e.agda | shlevy/agda | 1,989 | 6307 | <filename>test/Fail/Issue998e.agda
open import Common.Level
postulate
ℓ : Level
data D : Set (lsuc ℓ) where
c : (ℓ : Level) → Set ℓ → D
-- Bad error:
-- The type of the constructor does not fit in the sort of the
-- datatype, since Set (lsuc ℓ) is not less or equal than Set (lsuc ℓ)
-- when checking the construc... |
im2_routine.asm | chriswyatt/znake | 8 | 94746 | ; /////////////////////////////////////////////////////////////////////////////
; Znake (ZX Spectrum 48K)
; -----------------------------------------------------------------------------
; im2_routine.asm
; -----------------------------------------------------------------------------
; Copyright (C) 2016, <NAME>
; A... |
dino/lcs/base/6BDC.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 161373 | <gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D00 move.b D0, ($6bdc,A5)
004D04 move.b D0, ($6bdd,A5)
016A0C move.b ($6bdc,A5), D1
016A10 adda.w D1, A4 [base+6BDC]
016A54 move.b D1, ($6bdc,A5)
016A58 rts [base+6BDC]
016AEA mo... |
programs/oeis/314/A314253.asm | jmorken/loda | 1 | 88040 | <filename>programs/oeis/314/A314253.asm<gh_stars>1-10
; A314253: Coordination sequence Gal.6.627.1 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,5,11,17,23,29,35,41,47,53,59,64,69,75,81,87,93,99,105,111,117,123,128,133,139,145,15... |
Task/Set-puzzle/Ada/set-puzzle-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 8663 | with Ada.Numerics.Discrete_Random;
package body Set_Puzzle is
package Rand is new Ada.Numerics.Discrete_Random(Three);
R: Rand.Generator;
function Locate(Some: Cards; C: Card) return Natural is
-- returns index of card C in Some, or 0 if not found
begin
for I in Some'Range loop
if C = Some(... |
alloy/loop.als | koko1996/EECS-4302-Project | 0 | 2475 | <reponame>koko1996/EECS-4302-Project
sig loopInvariant {
current: Int,
length: Int
}
fun incrementCurrent(li : loopInvariant) : loopInvariant {
{resultli : loopInvariant | resultli.current = li.current.add[1] and resultli.length = li.length}
}
pred loopPredicate [li, postli : loopInvariant] {
incrementCurrent[li... |
oeis/205/A205128.asm | neoneye/loda-programs | 11 | 80212 | <filename>oeis/205/A205128.asm
; A205128: Ordered differences of distinct hexagonal numbers.
; Submitted by <NAME>
; 5,14,9,27,22,13,44,39,30,17,65,60,51,38,21,90,85,76,63,46,25,119,114,105,92,75,54,29,152,147,138,125,108,87,62,33,189,184,175,162,145,124,99,70,37,230,225,216,203,186,165,140,111,78,41,275,270,261
lpb $... |
source/gc.adb | ytomino/boehmgc-ada | 3 | 15344 | with C.gc.gc;
package body GC is
use type C.unsigned_int;
-- the version variable is not declared in header files
GC_version : C.unsigned_int
with Import, Convention => C, External_Name => "GC_version";
-- implementation
function Version return String is
Major : constant C.unsigned_int := C.Shift_Right (... |
oeis/123/A123752.asm | neoneye/loda-programs | 11 | 247816 | ; A123752: a(n) = 7*a(n-2), a(0) = 1, a(1) = 2.
; Submitted by <NAME>(s1)
; 1,2,7,14,49,98,343,686,2401,4802,16807,33614,117649,235298,823543,1647086,5764801,11529602,40353607,80707214,282475249,564950498,1977326743,3954653486,13841287201,27682574402,96889010407,193778020814,678223072849,1356446145698,4747561509943,949... |
oeis/016/A016775.asm | neoneye/loda-programs | 11 | 240022 | <gh_stars>10-100
; A016775: (3*n)^11.
; 0,177147,362797056,31381059609,743008370688,8649755859375,64268410079232,350277500542221,1521681143169024,5559060566555523,17714700000000000,50542106513726817,131621703842267136,317475837322472439,717368321110468608,1532278301220703125,3116402981210161152,6071163615208263051,1138... |
programs/oeis/014/A014493.asm | karttu/loda | 0 | 179802 | ; A014493: Odd triangular numbers.
; 1,3,15,21,45,55,91,105,153,171,231,253,325,351,435,465,561,595,703,741,861,903,1035,1081,1225,1275,1431,1485,1653,1711,1891,1953,2145,2211,2415,2485,2701,2775,3003,3081,3321,3403,3655,3741,4005,4095,4371,4465,4753,4851,5151,5253,5565,5671,5995,6105,6441,6555,6903,7021,7381,7503,7875... |
source/types/adam-record_component.adb | charlie5/aIDE | 3 | 18903 | with
AdaM.Factory;
package body AdaM.record_Component
is
-- Storage Pool
--
record_Version : constant := 1;
pool_Size : constant := 5_000;
package Pool is new AdaM.Factory.Pools (".adam-store",
"record_Components",
... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/log.asm | meesokim/z88dk | 0 | 27867 |
SECTION code_fp_math48
PUBLIC _log
EXTERN cm48_sdcciy_log
defc _log = cm48_sdcciy_log
|
arch/ARM/Nordic/svd/nrf52/nrf_svd-uarte.ads | rocher/Ada_Drivers_Library | 192 | 3700 | -- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA
--
-- 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 notice, t... |
programs/oeis/175/A175229.asm | karttu/loda | 1 | 27632 | ; A175229: Delete sequence of step 4 of sieve from A175227.
; 10,20,27,35,44,51,58,66,75,82,90,96,105,114,120,126,134,142,148,156,164,171,178,186,194,202
add $0,1
mul $0,6
cal $0,65090 ; Natural numbers which are not odd primes: composites plus 1 and 2.
mov $1,$0
|
libsrc/_DEVELOPMENT/font/font_4x8/_zx7_font_4x8_64_nbot.asm | jpoikela/z88dk | 640 | 241777 | ;
; Font extracted from 64-4.tap
;
; Tap file downloaded from: http://mdfs.net/Software/Spectrum/Coding/Printout/
SECTION rodata_font
SECTION rodata_font_4x8
PUBLIC _zx7_font_4x8_64_nbot
PUBLIC _zx7_font_4x8_64_nbot_end
_zx7_font_4x8_64_nbot:
BINARY "font_4x8_64_nbot.bin.zx7"
_zx7_font_4x8_64_nbot_end:
|
Terminal/NoTerminal.applescript | rogues-gallery/applescript | 360 | 3039 | --- sometimes I don't want to open up the terminal just to run one command so i saved this script as an app
--- uses the "do shell script" command
set termcommand to text returned of (display dialog "Enter a command to run:" default answer "" buttons {"Quit", "Run"} default button "Run")
if termcommand contains "" th... |
oeis/055/A055373.asm | neoneye/loda-programs | 11 | 101491 | ; A055373: Invert transform applied twice to Pascal's triangle A007318.
; Submitted by <NAME>
; 1,1,1,3,6,3,9,27,27,9,27,108,162,108,27,81,405,810,810,405,81,243,1458,3645,4860,3645,1458,243,729,5103,15309,25515,25515,15309,5103,729,2187,17496,61236,122472,153090,122472,61236,17496,2187,6561
mov $2,$0
seq $2,38221 ; T... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt46.adb | best08618/asylo | 7 | 21679 | <gh_stars>1-10
-- { dg-do compile }
-- { dg-options "-O" }
with Ada.Unchecked_Deallocation;
with Opt46_Pkg;
package body Opt46 is
type Pattern is abstract tagged null record;
type Pattern_Access is access Pattern'Class;
procedure Free is new Ada.Unchecked_Deallocation
(Pattern'Class, Pattern_Access)... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization10_pkg.ads | best08618/asylo | 7 | 20166 | package Loop_Optimization10_Pkg is
pragma Pure (Loop_Optimization10_Pkg);
type Limit_Type is record
Low : Float;
High : Float;
end record;
function F (Low, High : in Float) return Limit_Type;
end Loop_Optimization10_Pkg;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.