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 |
|---|---|---|---|---|
cminx/parser/CMake.g4 | CMakePP/CMakeDoc | 0 | 2436 | /*
Copyright (c) 2018 zbq.
License for use and distribution: Eclipse Public License
CMake language grammar reference:
https://cmake.org/cmake/help/v3.12/manual/cmake-language.7.html
Modified by <NAME> on behalf of Ames Laboratory/Department of Energy
October 31st, 2019
*/
grammar CMake;
/*
Changes:
Renamed from... |
ioq3/build/release-js-js/baseq3/game/ai_vcmd.asm | RawTechnique/quake-port | 1 | 245609 | <filename>ioq3/build/release-js-js/baseq3/game/ai_vcmd.asm
export BotVoiceChat_GetFlag
code
proc BotVoiceChat_GetFlag 8 8
ADDRFP4 0
ADDRFP4 0
INDIRP4
ASGNP4
ADDRGP4 gametype
INDIRI4
CNSTI4 4
NEI4 $54
ADDRLP4 0
CNSTI4 0
ASGNI4
ADDRGP4 ctf_redflag+12
INDIRI4
ADDRLP4 0
INDIRI4
EQI4 $61
ADDRGP4 ctf_blueflag+12
INDIRI4
ADDR... |
alloy4fun_models/trashltl/models/11/8ZosTdKugDXSvYJPT.als | Kaixi26/org.alloytools.alloy | 0 | 1681 | <gh_stars>0
open main
pred id8ZosTdKugDXSvYJPT_prop12 {
eventually some f:File | f in Trash releases f in Trash
}
pred __repair { id8ZosTdKugDXSvYJPT_prop12 }
check __repair { id8ZosTdKugDXSvYJPT_prop12 <=> prop12o } |
Appl/Games/Hearts/hearts.asm | steakknife/pcgeos | 504 | 164469 | <filename>Appl/Games/Hearts/hearts.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Hearts (Trivia Project)
FILE: hearts.asm
AUTHOR: <NAME>, Jan 19, 1993
ROUTINES:
Name Description
---- ... |
ncasm/Casm.Antlr/Casm.g4 | jorgy343/condor | 0 | 7626 | <filename>ncasm/Casm.Antlr/Casm.g4
grammar Casm;
prog
: statement (EOL statement)* EOF
;
statement
: label? (instruction | directive)? comment?
;
label
: LABEL
;
instruction
: NAME expressionList?
;
directive
: DIRECTIVE expressionList?
;
expressionList
: expression (',... |
parser/Parallely.g4 | uiuc-arc/parallely | 0 | 6236 | grammar Parallely;
/*
* Parser Rules
*/
typequantifier : APPROXTYPE | PRECISETYPE | DYNTYPE;
basictype : typequantifier INTTYPE
| typequantifier FLOATTYPE
| typequantifier BOOLTYPE
| typequantifier INTTHIRTYTWOTYPE
| typequantifier INTSIXTYPE
| typequantifier FLOATTYPETWO
| typequantifier FL... |
extern/gnat_sdl/gnat_sdl/src/sdl_sdl_keysym_h.ads | AdaCore/training_material | 15 | 22333 | <gh_stars>10-100
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package SDL_SDL_keysym_h is
-- unsupported macro: KMOD_CTRL (KMOD_LCTRL|KMOD_RCTRL)
-- unsupported macro: KMOD_SHIFT (KMOD_LSHIFT|KMOD_RSHIFT)
-- unsupported macro: KMOD_ALT (KMOD_LALT|KMOD_RALT)
-- unsu... |
courses/fundamentals_of_ada/labs/prompts/180_polymorphism/shapes.ads | AdaCore/training_material | 15 | 21533 | <reponame>AdaCore/training_material
package Shapes is
pragma Elaborate_Body;
type Float_T is digits 6;
type Vertex_T is record
X : Float_T;
Y : Float_T;
end record;
type Vertices_T is array (Positive range <>) of Vertex_T;
-- Create abstract Shape_T with some information
-- Create pri... |
programs/oeis/164/A164314.asm | neoneye/loda | 22 | 19448 | <gh_stars>10-100
; A164314: Largest prime factor of n^2 - 2.
; 2,7,7,23,17,47,31,79,7,17,71,167,97,223,127,41,23,359,199,439,241,31,41,89,337,727,23,839,449,137,73,1087,577,1223,647,1367,103,31,47,73,881,1847,967,17,151,2207,1151,2399,1249,113,193,401,47,3023,1567,191,41,71,257,3719,113,3967,89,103,311,641,2311,4759,79... |
src/offmt_lib-decoding.adb | Fabien-Chouteau/offmt-tool | 0 | 11190 | <reponame>Fabien-Chouteau/offmt-tool
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Exceptions;
with System.Storage_Elements; use System.Storage_Elements;
with COBS.Stream.Decoder;
with Offmt_Lib.Storage;
with Offmt_Lib.Fmt_Data;
package body Offmt_Lib.Decoding i... |
programs/oeis/285/A285766.asm | karttu/loda | 0 | 25181 | <filename>programs/oeis/285/A285766.asm
; A285766: Maximum spillway height for a zero or one bend minimal area lake in a number square.
; 0,0,6,10,15,22,31,42,55,70,87,106,127,150,175,202,231,262,295,330,367,406,447,490,535,582,631,682,735,790,847,906,967,1030,1095,1162,1231,1302,1375,1450,1527,1606,1687,1770,1855,1942... |
lubanturbo/src/main/cpp/include/simd/jcqnts2f.asm | skyNet2017/TakePhoto | 773 | 160191 | ;
; jcqnts2f.asm - sample data conversion and quantization (SSE & SSE2)
;
; Copyright 2009 <NAME> <<EMAIL>> for Cendio AB
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file should... |
libsrc/_DEVELOPMENT/l/sccz80/5-z80/f48/dload.asm | ahjelm/z88dk | 640 | 162401 | <reponame>ahjelm/z88dk<filename>libsrc/_DEVELOPMENT/l/sccz80/5-z80/f48/dload.asm
SECTION code_clib
SECTION code_l_sccz80
PUBLIC dload
EXTERN fa
;----------------
; Load FA from hl
;----------------
dload:
ld de,fa
ld bc,6
ldir
ret
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1453.asm | ljhsiun2/medusa | 9 | 6648 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1cc7b, %rsi
nop
nop
nop
and %r14, %r14
movb (%rsi), %bl
add $51568, %r15
lea addresses_WT_ht+0x1b3f3, %r12
nop
nop
nop
nop
and %r13, %... |
query/query.g4 | thomasabraham/JSONStreamQuery | 0 | 5360 | // query.g4
grammar query;
// NOTE: Parser rule names must start with a lowercase letter
// and lexer rules must start with a capital letter.
// Tokens; lexer rules
SELECT: 'SELECT';
STAR: '*';
FROM: 'FROM';
STREAM: 'STREAM';
WS: [ \n\r\t]+ -> skip;
// Rules; parser rules
start : statement EOF;
statement: SELECT ... |
oeis/180/A180435.asm | neoneye/loda-programs | 11 | 244420 | <filename>oeis/180/A180435.asm
; A180435: a(n) = a(n-1)*2^n+n, a(0)=1.
; Submitted by <NAME>
; 1,3,14,115,1844,59013,3776838,483435271,123759429384,63364827844617,64885583712887818,132885675443994251275,544299726618600453222412,4458903360459574912797999117,73054672657769675371282417532942
mov $2,1
lpb $0
sub $0,1
... |
src/main/java/uk/nhs/digital/mait/tkwx/tk/internalservices/validation/parser/ValidationLexer.g4 | nhsdigitalmait/TKW-x | 0 | 7234 | /*
Copyright 2012-13 <NAME> <<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/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... |
tests/core3.adb | yannickmoy/SPARKNaCl | 76 | 25140 | <reponame>yannickmoy/SPARKNaCl
with SPARKNaCl; use SPARKNaCl;
with SPARKNaCl.Core; use SPARKNaCl.Core;
with SPARKNaCl.Debug; use SPARKNaCl.Debug;
with SPARKNaCl.Hashing; use SPARKNaCl.Hashing;
with Interfaces; use Interfaces;
procedure Core3
is
Second_Key : constant Salsa20_Key :=
Const... |
assets/drawPMoL.asm | oxypomme/CallOfVid-19 | 1 | 102329 | ; généré avec https://github.com/oxypomme/BMPtoASM
push AX
push BX
mov AX, playerX
mov BX, playerY
add AX, 4
mov BX, playerY
add BX, 8
oxgSHOWPIXEL AX, BX, 007h ; 4-8
inc AX
mov BX, playerY
add BX, 7
oxgSHOWPIXEL AX, BX, 007h ; 5-7
inc BX
oxgSHOWPIXEL AX, BX, 007h ; 5-8
inc AX
mov BX, playerY
add BX,... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2_notsx.log_14171_76.asm | ljhsiun2/medusa | 9 | 96997 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x8c34, %rsi
lea addresses_normal_ht+0x9abc, %rdi
nop
cmp %r11, %r11
mov $47, %rcx
rep movsl
nop
nop
nop
xor $53720, %r15
lea addresses_normal_ht+0xd24c, %rbx
nop
nop
nop
nop
... |
src/cocount.adb | xiashuangxi/coconut | 0 | 24680 | <gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
with Account.Default_Account; use Account.Default_Account;
With Account.Vector; use Account.Vector;
package body Cocount is
procedure Main is
DA: Account.Default_Account.Instance;
AS: Account.Vector.Account_Stack;
begin
-- Set_Name(DA, "to... |
tests/t27.asm | mras0/sasm | 26 | 27316 | sub bx, 4
xor cx, 2
mov al, dl
mov cl, al
mov bx, ax
mov dx, ax
mov al, [0x1234]
mov ax, [0x1234]
mov [0xabcd], al
mov [0xabcd], ax
mov [0xabcd], al
mov [0xabcd], ax
mov word [0xaa55], 0xFFFF
mov... |
arch/ARM/STM32/svd/stm32f103/stm32_svd-flash.ads | morbos/Ada_Drivers_Library | 2 | 17163 | <filename>arch/ARM/STM32/svd/stm32f103/stm32_svd-flash.ads
-- This spec has been automatically generated from STM32F103.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.FLASH is
pragma Preelaborate;
---------------
-- Regis... |
oeis/142/A142936.asm | neoneye/loda-programs | 11 | 174251 | <filename>oeis/142/A142936.asm
; A142936: Primes congruent to 25 mod 64.
; Submitted by <NAME>
; 89,281,409,601,857,1049,1433,1753,2137,2393,2521,2713,2777,2969,3673,3929,4057,4441,4889,5081,5209,5273,5657,5849,6361,6553,7001,7129,7193,7321,7577,8089,8537,9049,9241,9433,9497,9689,9817,10009,10457,11161,11353,11801,1237... |
util.als | NVlabs/ptxmemorymodel | 27 | 4188 | <gh_stars>10-100
module util
fun symmetric[r: univ->univ] : univ->univ { r & ~r }
fun optional[f: univ->univ] : univ->univ { iden + f }
pred irreflexive[rel: univ->univ] { no iden & rel }
pred acyclic[rel: univ->univ] { irreflexive[^rel] }
pred total[rel: univ->univ, bag: univ] {
all disj e, e':... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/no_exc_prop.adb | best08618/asylo | 7 | 16613 | <gh_stars>1-10
-- { dg-do compile }
-- { dg-options "-gnatwa" }
package body no_exc_prop is
protected body Simple_Barrier is
entry Wait when Signaled is
begin
Signaled := False;
end Wait;
procedure Signal is
begin
Signaled := True;
end Signal;
end Simple_Barr... |
tests/game-test_data-tests.ads | thindil/steamsky | 80 | 27319 | <filename>tests/game-test_data-tests.ads<gh_stars>10-100
-- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with Gnattest_Generated;
package Game.Test_Data.Tests is
type Test is new GNATtest_Generated.GNAT... |
helloworld.asm | jeema101/avhelloworld | 0 | 10943 | ; *************************************************************************
; * HelloWorld.asm - 'Hello World' program for the Entex Adventure Vision *
; *************************************************************************
.include "av.h"
; Variable Locations
.equ TextStringX #32
... |
assets/assembly/IA32/linux_nasm_progs/nasm_linux_ORG_CH9/binchar.asm | edassis/SB-Tradutor | 1 | 100377 | <filename>assets/assembly/IA32/linux_nasm_progs/nasm_linux_ORG_CH9/binchar.asm
;Binary equivalent of characters BINCHAR.ASM
;
; Objective: To print the binary equivalent of
; ASCII character code.
; Input: Requests a character from keyboard.
; Output: Prints the ASCII cod... |
oeis/036/A036276.asm | neoneye/loda-programs | 11 | 101040 | ; A036276: a(n) = A001864(n)/2.
; Submitted by <NAME>(s1)
; 0,1,12,156,2360,41400,831012,18832576,476200944,13301078400,406907517500,13534968927744,486470108273448,18790567023993856,776343673316956500,34165751933338828800,1595693034061797583328,78831769938218360930304,4107393289066148637198444,2251074875425239892787200... |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_Initialize_callee.asm | jpoikela/z88dk | 640 | 103549 | <reponame>jpoikela/z88dk
; void sp1_Initialize(uchar iflag, uchar colour, uchar tile)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_Initialize_callee
EXTERN asm_sp1_Initialize
_sp1_Initialize_callee:
pop bc
pop hl
ld a,l
pop de
pop hl
ld h,e
push bc
jp asm_sp1_Initialize
|
reference_asm/menu_full_page_stats.asm | tashiww/maten_tools | 1 | 91373 | <filename>reference_asm/menu_full_page_stats.asm
; ########################################################################################
; # Full page stat screen!!
; # layout adjustments to avoid abbreviations
; #
; # Generated by the active disassembly feature of the Exodus emulation platform
; # Creation Date: ... |
oeis/096/A096963.asm | neoneye/loda-programs | 11 | 21216 | ; A096963: Sum {0<d|n, n/d odd} d^11.
; Submitted by <NAME>
; 1,2048,177148,4194304,48828126,362799104,1977326744,8589934592,31381236757,100000002048,285311670612,743012564992,1792160394038,4049565171712,8649804864648,17592186044416,34271896307634,64268772878336,116490258898220,204800004194304,350279478046112,584318301... |
programs/oeis/334/A334572.asm | neoneye/loda | 22 | 10478 | ; A334572: Let x(n, k) be the exponent of prime(k) in the factorization of n, then a(n) = Max_{k} abs(x(n,k)- x(n-1,k)).
; 1,1,2,2,1,1,3,3,2,1,2,2,1,1,4,4,2,2,2,2,1,1,3,3,2,3,3,2,1,1,5,5,1,1,2,2,1,1,3,3,1,1,2,2,2,1,4,4,2,2,2,2,3,3,3,3,1,1,2,2,1,2,6,6,1,1,2,2,1,1,3,3,1,2,2,2,1,1,4,4,4,1,2,2,1,1,3,3,2
seq $0,28387 ; a(n... |
libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/posix_memalign_unlocked_callee.asm | jpoikela/z88dk | 640 | 165990 | <reponame>jpoikela/z88dk
; int posix_memalign_unlocked_callee(void **memptr, size_t alignment, size_t size)
SECTION code_clib
SECTION code_alloc_malloc
PUBLIC _posix_memalign_unlocked_callee
EXTERN asm_posix_memalign_unlocked
_posix_memalign_unlocked_callee:
pop hl
pop de
pop bc
ex (sp),hl
jp a... |
stoixeio_pinaka.asm | Pikridas/Computer-Architecture-Basics | 0 | 90382 | .data
table: .ascii "0123456789ABCDEF"
str: .asciiz "DWSE MOU ARITHMO APO 1 EWS 15\n"
char: .asciiz "EDWSES TON XARAKTHRA: "
.text
.globl main
main:
li $v0,4
la $a0,str
syscall
li $v0,5
syscall
la $t0,($v0)
la $s0,table
addu $t1,$s0,$t0
li $v0,11
li $a0,'\n'
syscall
li $v0,4
la $a0,char
syscall
li $v0,11
lb $a... |
oeis/101/A101399.asm | neoneye/loda-programs | 11 | 2437 | ; A101399: a(0) = 1, a(1) = 2, a(2) = 5; for n >= 3, a(n) = a(n-1) + 2*a(n-2) + a(n-3).
; Submitted by <NAME>(s1)
; 1,2,5,10,22,47,101,217,466,1001,2150,4618,9919,21305,45761,98290,211117,453458,973982,2092015,4493437,9651449,20730338,44526673,95638798,205422482,441226751,947710513,2035586497,4372234274,9391117781,2017... |
tests/J/test_fib.asm | madhav-datt/mmcpu | 0 | 87911 | <reponame>madhav-datt/mmcpu
nop
nop
nop
main:
addi $sp, $sp, 128
addi $a0, $0, 8 # n = 8
addi $s3, $0, 1
addi $s4, $0, 2
jal fib
add $s0, $v0, $0
j done
fib:
addi $sp, $sp, -20
sw $ra, 20($sp)
beq $a0, $s3, n0
beq $a0, $s4, n1
sw $a0, 0($sp)
lw $t0, 0($sp)
addi $t1, $t0, -1
addi $t2, $t0, -2
sw $... |
source/amf/dd/amf-internals-tables-dg_metamodel-properties.adb | svn2github/matreshka | 24 | 25049 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/mak.lzh/mak/System.asm | prismotizm/gigaleak | 0 | 20347 | <filename>other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/mak.lzh/mak/System.asm<gh_stars>0
Name: System.asm
Type: file
Size: 12145
Last-Modified: '1992-02-13T07:47:47Z'
SHA-1: 83479E7C394249709F707C1FCCDB324BEEAA5071
Description: null
|
yakuza0/src/interceptor.asm | Palzza/- | 105 | 28705 | <filename>yakuza0/src/interceptor.asm
.data
PUBLIC get_camera_data
PUBLIC get_camera_data_end
PUBLIC get_controller_input
PUBLIC get_controller_input_end
get_camera_data PROC
push r11
lea r11,[get_camera_data + 200h];
pushf
push rax
mov eax, [r11-10h]
test eax, eax
pop rax
je not_zero
movaps xmm4,[r... |
bssn/code/src/bssnbase-evolve.ads | leo-brewin/adm-bssn-numerical | 1 | 16439 | <filename>bssn/code/src/bssnbase-evolve.ads
package BSSNBase.Evolve is
procedure evolve_data;
end BSSNBase.Evolve;
|
src/babel-filters.ads | stcarrez/babel | 1 | 20732 | -----------------------------------------------------------------------
-- babel-filters -- File filters
-- Copyright (C) 2014 Stephane.Carrez
-- Written by Stephane.Carrez (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with t... |
firmware/coreboot/3rdparty/blobs/cpu/amd/geode_lx/gplvsa_ii/sysmgr/message.asm | fabiojna02/OpenCellular | 1 | 99735 | <filename>firmware/coreboot/3rdparty/blobs/cpu/amd/geode_lx/gplvsa_ii/sysmgr/message.asm
;
; Copyright (c) 2006-2008 Advanced Micro Devices,Inc. ("AMD").
;
; This library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as
; published by the Fr... |
Sources/cncurses/Ada95/src/terminal_interface-curses-putwin.adb | brightdigit/NCurses | 269 | 24575 | ------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding --
-- --
-- ... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_1_449.asm | ljhsiun2/medusa | 9 | 98892 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x6aed, %r14
nop
nop
nop
nop
nop
cmp $5157, %r8
mov (%r14), %rdi
nop
nop
nop
nop
dec %r14
lea addresses_WT_ht+0x192ed, %rsi
lea addresses_normal_ht+0x1c3a3, %rdi... |
projects/batfish/src/main/antlr4/org/batfish/grammar/juniper/JuniperLexer.g4 | jeffkala/batfish | 0 | 5965 | <reponame>jeffkala/batfish
lexer grammar JuniperLexer;
options {
superClass = 'org.batfish.grammar.juniper.parsing.JuniperBaseLexer';
}
REPLACE
:
'replace:'
;
CLOSE_BRACE
:
'}'
;
CLOSE_BRACKET
:
']'
;
CLOSE_PAREN
:
')'
;
// The start of a flat line
START_FLAT_LINE
:
F_WhitespaceChar* ('activate'|'... |
oeis/343/A343965.asm | neoneye/loda-programs | 11 | 81975 | ; A343965: Decimal expansion of 4 + 10*sqrt(2)/3.
; Submitted by <NAME>
; 8,7,1,4,0,4,5,2,0,7,9,1,0,3,1,6,8,2,9,3,3,8,9,6,2,4,1,4,0,3,2,3,2,6,9,2,8,5,6,5,5,7,2,9,1,7,9,2,3,1,6,0,2,4,3,9,2,2,2,6,5,7,9,3,3,0,2,4,4,1,5,9,4,8,7,3,6,9,0,1,2,9,5,0,1,2,9,1,7,8,1,0,9,2,1,3,8,5,7,5
lpb $0
mov $2,$0
mov $0,0
mov $1,2
se... |
Assembly/IntroMike.asm | MiguelGomez/labs | 0 | 86176 | cout macro string
lea dx,string
int 21h
endm
getch macro
mov ah,10h
int 16h
endm
.model small
.stack 100h
.data
F181 db ' \ / ',10,'$'
F182 db ' ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1669.asm | ljhsiun2/medusa | 9 | 13781 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x159b5, %rsi
lea addresses_A_ht+0x1bf5b, %rdi
nop
cmp $24053, %r12
mov $24, %rcx
rep movsl
nop
nop
nop
nop
cmp $50429, %r14
lea addresses_WT_ht+0x13f1b, %rsi
lea addresses... |
tidb/src/main/java/io/tidb/bigdata/tidb/parser/MySqlParser.g4 | shiyuhang0/TiBigData | 834 | 1103 | /*
MySQL (Positive Technologies) grammar
The MIT License (MIT).
Copyright (c) 2015-2017, <NAME> (<EMAIL>), Positive Technologies.
Copyright (c) 2017, <NAME> (<EMAIL>)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to de... |
test/rcr/rcr.asm | leonardo-ono/asm4mo | 10 | 85855 | <reponame>leonardo-ono/asm4mo
rcr al, 1
rcr ah, 1
rcr bl, 1
rcr bh, 1
rcr cl, 1
rcr ch, 1
rcr dl, 1
rcr dh, 1
rcr byte [bx], 1
rcr byte [bx+si], 1h
rcr byte [bx+si+12h], 1b
rcr byte [bx+si+4142h], 1
rcr al, cl
rcr ah, cl
rcr bl, cl
rcr bh, cl
rcr cl, cl
rcr ch, cl
rcr dl, cl
rcr dh, cl
rcr byte [bx], cl
rcr byte [bx+d... |
shardingsphere-rdl-parser/shardingsphere-rdl-parser-sql/src/main/antlr4/imports/RDLStatement.g4 | wenweibin/shardingsphere | 1 | 6885 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
test/asset/agda-stdlib-1.0/Data/Product/Relation/Binary/Pointwise/Dependent/WithK.agda | omega12345/agda-mode | 0 | 1951 | <filename>test/asset/agda-stdlib-1.0/Data/Product/Relation/Binary/Pointwise/Dependent/WithK.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties that are related to pointwise lifting of binary
-- relations to sigma types and make use of heterogeneou... |
src/signals.ads | jfouquart/synth | 263 | 10099 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
-- with Ada.Interrupts.Names;
package Signals is
-- package BRK renames Ada.Interrupts;
-- Returns True if Interrupt signal (control-C) has been detected
function graceful_shutdown_requested return Boo... |
oeis/142/A142850.asm | neoneye/loda-programs | 11 | 243111 | ; A142850: Primes congruent to 52 mod 61.
; Submitted by <NAME>
; 113,479,601,967,1699,2309,2797,3041,3163,3407,3529,4139,4261,4871,4993,5237,6091,6701,6823,7433,8287,9629,11093,12923,13411,14143,14387,14753,15241,15607,15973,16217,16339,17681,18047,18169,18413,19267,20731,21341,22073,23293,23537,24391,25367,25733,2609... |
minimum-t.als | msaxena2/pos | 0 | 3265 | <reponame>msaxena2/pos
/*
Copyright 2017 <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 wri... |
vendor/udis86/tests/test64.asm | sshao/rubinius | 3 | 88870 | [bits 64]
mov rax, 0x102030405060708
mov [eax+0x10], ax
mov [eax+0x1000], ebx
mov [ebp+eax+0x0], esi
mov qword [ebp+edi+0x1000], 0x10
mov byte [esp], 0x10
mov [eax], rax
mov [r12], eax
mov [r13+r12+0x0], eax
mov [r8*4+0x0], sil
inc rax
dec rax
mov [rip+0x200], rax
mov rax, 0x10000
push rax
push r12
cal... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_560.asm | ljhsiun2/medusa | 9 | 445 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xc5d6, %rsi
lea addresses_UC_ht+0x14116, %rdi
nop
and $1519, %rdx
mov $101, %rcx
rep movsb
and $22368, %rdi
lea addresses_normal_ht+0xbc5c, %rsi
lea addresses_A_ht+0x57a2, %rdi... |
Lab_05/Lab_5_HW_Mult.asm | dthornton22/CPE325_FA20_UAH | 1 | 81255 | ;-------------------------------------------------------------------------------
; File: Lab_5_HW_Mult.asm
; Description: This subroutine uses a hardware multiplier to multiply numbers
; Input: Integers b, result
; Output: Integer product of b and result
; Author: <NAME> (<EMAIL>)
; Lab Section: 2
; Date: September 30,... |
programs/oeis/127/A127750.asm | neoneye/loda | 22 | 17728 | <filename>programs/oeis/127/A127750.asm<gh_stars>10-100
; A127750: Row sums of inverse of number triangle A(n,k) = 1/(2n+1) if k <= n <= 2k, 0 otherwise.
; 1,3,2,5,2,4,2,7,2,4,2,6,2,4,2,9,2,4,2,6,2,4,2,8,2,4,2,6,2,4,2,11,2,4,2,6,2,4,2,8,2,4,2,6,2,4,2,10,2,4,2,6,2,4,2,8,2,4,2,6,2,4,2,13,2,4,2,6,2,4,2,8,2,4,2,6,2,4,2,10,... |
oeis/168/A168427.asm | neoneye/loda-programs | 11 | 101070 | <filename>oeis/168/A168427.asm
; A168427: 3^n mod 30.
; 1,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27,21,3,9,27
lpb $0
sub $... |
itunes/test.applescript | pahoughton/pah-misc-applescript | 0 | 1661 | #!/usr/bin/osascript
set myOut to open for access "./tout.txt" with write permission
tell application "iTunes"
repeat with curTrack in tracks
-- write name of curTrack to myOut
write "test" to myOut
end repeat
end tell
close access myOut
|
audio/sfx/withdraw_deposit_3.asm | AmateurPanda92/pokemon-rby-dx | 9 | 162863 | SFX_Withdraw_Deposit_3_Ch4:
duty 1
pitchenvelope 3, -2
squarenote 4, 15, 2, 1280
pitchenvelope 2, 2
squarenote 4, 14, 2, 1280
pitchenvelope 3, -2
squarenote 4, 15, 2, 1792
pitchenvelope 2, 2
squarenote 15, 14, 2, 1792
pitchenvelope 0, 0
endchannel
|
tests/dw1000-system_time-tests.adb | SALLYPEMDAS/DW1000 | 9 | 30756 | -------------------------------------------------------------------------------
-- Copyright (c) 2016 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and associated documentation files (the "Software"),
-- to deal in the Software without restriction, inc... |
programs/oeis/083/A083582.asm | neoneye/loda | 22 | 14835 | <filename>programs/oeis/083/A083582.asm
; A083582: a(n) = (8*2^n-5*(-1)^n)/3.
; 1,7,9,23,41,87,169,343,681,1367,2729,5463,10921,21847,43689,87383,174761,349527,699049,1398103,2796201,5592407,11184809,22369623,44739241,89478487,178956969,357913943,715827881,1431655767,2863311529,5726623063,11453246121,22906492247,458129... |
tests-antlr4/src/main/resources/commonlexer/number.g4 | f1194361820/tests | 0 | 2560 | grammar number;
fragment INT: '0' | [1-9][0-9]*; // no leading zeros
fragment SIC: [Ee][+\-]?INT;
NUMBER
: '-'? INT
| '-'? INT SIC
| '-'? INT '.' INT SIC?
;
|
programs/oeis/147/A147534.asm | karttu/loda | 1 | 96525 | <reponame>karttu/loda
; A147534: a(n) is congruent to (1,1,2) mod 3.
; 1,1,2,4,4,5,7,7,8,10,10,11,13,13,14,16,16,17,19,19,20,22,22,23,25,25,26,28,28,29,31,31,32,34,34,35,37,37,38,40,40,41,43,43,44,46,46,47,49,49,50,52,52,53,55,55,56,58,58,59,61,61,62,64,64,65,67,67,68,70,70,71
mov $1,$0
gcd $0,3
div $0,3
add $1,$0
|
oeis/036/A036230.asm | neoneye/loda-programs | 11 | 166975 | <gh_stars>10-100
; A036230: a(n+1) = a(n) + sum of digits of a(n) starting with 110.
; Submitted by <NAME>(s4)
; 110,112,116,124,131,136,146,157,170,178,194,208,218,229,242,250,257,271,281,292,305,313,320,325,335,346,359,376,392,406,416,427,440,448,464,478,497,517,530,538,554,568,587,607,620,628,644,658,677,697,719
mo... |
3-mid/opengl/source/profile/safe/opengl-profile.adb | charlie5/lace | 20 | 23625 | <filename>3-mid/opengl/source/profile/safe/opengl-profile.adb
separate (openGL)
function Profile return profile_Kind
is
begin
return Safe;
end Profile;
|
Sources/Globe_3d/objects/globe_3d-impostor-terrain.ads | ForYouEyesOnly/Space-Convoy | 1 | 24473 | pragma Warnings (Off);
pragma Style_Checks (Off);
-------------------------------------------------------------------------
-- GLOBE_3D - GL - based, real - time, 3D engine
--
-- Copyright (c) <NAME>/<NAME> 2007
-- CH - 8810 Horgen
-- SWITZERLAND
-- Permission granted to use this software, without ... |
release/src/router/gmp/source/mpn/x86_64/pentium4/aorslsh1_n.asm | zhoutao0712/rtn11pb1 | 184 | 5618 | dnl AMD64 mpn_addlsh1_n, mpn_sublsh1_n -- rp[] = up[] +- (vp[] << 1),
dnl optimized for Pentium 4.
dnl Copyright 2008 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Less... |
src/commands/process_input.adb | Ausbxuse/latin-dict | 0 | 11777 | <reponame>Ausbxuse/latin-dict
-- 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 Co... |
theorems/cw/cohomology/CofiberGrid.agda | mikeshulman/HoTT-Agda | 0 | 1861 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import homotopy.PushoutSplit
module cw.cohomology.CofiberGrid {i j k}
{A : Type i} {B : Type j} {C : Type k}
(f : A → B) (g : B → C) where
{-
A -------> B -----------> C
| | _/|
| | _/ |
| ... |
src/_test/fixtures/apsepp_shared_instance_test_fixture.adb | thierr26/ada-apsepp | 0 | 17100 | <gh_stars>0
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
package body Apsepp_Shared_Instance_Test_Fixture is
----------------------------------------------------------------------------
Lock_Count_Var : Natural := 0;
Unlock_Count_Var : Natural := 0;
CB_Ca... |
Algorithms/Assembly 8086/Factorial.asm | NVombat/Competitive-Programming | 5 | 27425 | <reponame>NVombat/Competitive-Programming
DATA SEGMENT
A DW 5H
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE, DS:DATA
START:
MOV AX, DATA
MOV DS, AX
MOV CX, A
MOV AX, 0001H
L1: MUL CX
LOOP L1
CODE ENDS
END START
|
src/test/resources/testData/parse/live_samples/QuickeTime.scpt | stigger/AppleScript-IDEA | 18 | 3405 | <reponame>stigger/AppleScript-IDEA
--Here's a script I use to wake me up in the morning:
property Reveillie: alias "MacBook Pro:Users:sjc:Documents:Development:cron:Reveille.mp3"
property sysVolMax: 100
property qtVolMax: 256
property reveilleVol: 30 -- reduce to 10 for external speakers
property logfile: "MacBook Pro:... |
programs/oeis/017/A017577.asm | neoneye/loda | 22 | 2221 | <gh_stars>10-100
; A017577: (12n+4)^9.
; 262144,68719476736,10578455953408,262144000000000,2779905883635712,18014398509481984,84590643846578176,316478381828866048,1000000000000000000,2773078757450186752,6930988311686938624
mul $0,12
add $0,4
pow $0,9
|
libsrc/_DEVELOPMENT/alloc/malloc/z80/asm_heap_alloc_aligned.asm | teknoplop/z88dk | 0 | 172358 | <filename>libsrc/_DEVELOPMENT/alloc/malloc/z80/asm_heap_alloc_aligned.asm
; ===============================================================
; Dec 2013
; ===============================================================
;
; void *heap_alloc_aligned(void *heap, size_t alignment, size_t size)
;
; Allocate size bytes from ... |
src/keystore-passwords-cmds.adb | thierr26/ada-keystore | 0 | 30095 | <reponame>thierr26/ada-keystore<gh_stars>0
-----------------------------------------------------------------------
-- keystore-passwords-cmds -- External command based password provider
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
... |
programs/oeis/025/A025169.asm | karttu/loda | 0 | 22120 | ; A025169: a(n) = 2*Fibonacci(2*n+2).
; 2,6,16,42,110,288,754,1974,5168,13530,35422,92736,242786,635622,1664080,4356618,11405774,29860704,78176338,204668310,535828592,1402817466,3672623806,9615053952,25172538050,65902560198,172535142544,451702867434,1182573459758,3096017511840,8105479075762,21220419715446,5555578007057... |
savefile/maps/0E3C_TheTrendsetters.asm | stranck/fools2018-1 | 35 | 19982 | <filename>savefile/maps/0E3C_TheTrendsetters.asm
SECTION "Map_0E3C", ROM0[$B800]
Map_0E3C_Header:
hdr_tileset 0
hdr_dimensions 8, 8
hdr_pointers_a Map_0E3C_Blocks, Map_0E3C_TextPointers
hdr_pointers_b Map_0E3C_Script, Map_0E3C_Objects
hdr_pointers_c Map_0E3C_InitScript, ... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xa0.log_21829_928.asm | ljhsiun2/medusa | 9 | 165779 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x19ba1, %r13
nop
nop
nop
nop
nop
xor $13761, %rsi
mov (%r13), %r11
nop
and $46475, %r11
lea addresses_A_ht+0x7ee1, %rsi
lea addresses_normal... |
agda-stdlib/src/Function/Definitions/Core1.agda | DreamLinuxer/popl21-artifact | 5 | 15982 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Definitions for types of functions that only require an equality
-- relation over the domain.
------------------------------------------------------------------------
-- The contents of this file should usually ... |
ubb/asc/exam/flaviu.asm | AlexanderChristian/private_courses | 0 | 27521 | assume cs:code, ds:data
data segment
msg1 db 'Sirul dat este :$'
msg2 db 'Sirul citi este :$'
buffer db 100, ?, 100 dup(?), '$'
newline db 0ah, 0dh, '$'
data ends
code segment
start:
mov ax, data
mov ds, ax
;printeaza primul sir
mov ah, 09h
mov dx, offset msg1
int 21h
;citeste sirul
mov ah, 0ah
mov dx,... |
a51test/(45)ORL_A_d.a51 | Aimini/51cpu | 0 | 164513 | MOV 0x20,#0x01
MOV 0x21,#0x02
MOV 0x22,#0x04
MOV 0x23,#0x08
MOV 0x24,#0x10
MOV 0x25,#0x20
MOV 0x26,#0x40
MOV 0x27,#0x80
ORL A,0x20
ORL A,0x21
ORL A,0x22
ORL A,0x23
ORL A,0x24
ORL A,0x25
ORL A,0x26
ORL A,0x27 |
AdaCompiler/in/test2.adb | vasilev-dev/AdaCompiler | 0 | 5559 | procedure Hello is
begin
I := 5+12;
num := 5+12+val;
I := 5-12;
num := 5-12-val;
num := 5*val;
num := 5*val*max;
num := 5/val;
num := index/val/max;
num := index+val/max;
num := index*val-max;
num := (index+val)*max;
num := index+val/max*min;
num := index+val*max/min;
num := index+val*(max/min);
n... |
module/mpc-be/SRC/src/ExtLib/VirtualDub/Kasumi/source/a_resample_mmx.asm | 1aq/PBox | 0 | 160086 | ; VirtualDub - Video processing and capture application
; Graphics support library
; Copyright (C) 1998-2004 <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 the Lice... |
src/antlr/RV32G.g4 | riscvsim/assembler | 0 | 1727 | /*
* RISC-V 32-bit RV32IMAFDZicsr_Zifencei (RV32G) Grammar
*/
grammar RV32G;
prog
: line*? EOF
;
line
: stmt EOL
| stmt
| EOL
;
stmt
: label_def static_data
| label_def instruction
| label_def
| directive
| static_data
| instruction
;
label_def
: LABEL ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd2a23a.ada | best08618/asylo | 7 | 871 | -- CD2A23A.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... |
app/hack/bad_handler.asm | USN484259/COFUOS | 1 | 18194 | [bits 64]
set_handler equ 0x0118
exit_process equ 0x0210
section .text
mov rdx,0x0000800000001000
mov eax,set_handler
syscall
mov edx,eax
mov eax,exit_process
syscall |
oeis/264/A264359.asm | neoneye/loda-programs | 0 | 82739 | <gh_stars>0
; A264359: Number of (n+1)X(3+1) arrays of permutations of 0..n*4+3 with each element having directed index change 0,0 0,2 1,0 or -1,-2.
; Submitted by <NAME>(w3)
; 9,36,169,784,3600,16641,76729,354025,1633284,7535025,34762816,160376896,739894401,3413480625,15747991081,72652889764,335181944601,1546351938576... |
tests/agentests.adb | psyomn/agen | 1 | 20684 | -- Copyright 2019 <NAME> (entomy)
--
-- 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 i... |
test/Fail/Issue2363.agda | cruhland/agda | 1,989 | 8549 | <reponame>cruhland/agda
-- Andreas, 2016-12-29, issue #2363
data Nat : Set where
zero : Nat
suc : Nat → Nat
test : Nat → Nat
test (suc n) with zero
test zero | q = zero
test zero = zero
-- Error WAS:
-- With clause pattern zero is not an instance of its parent pattern (suc "n")
-- Expected error:
-- With clause... |
programs/sysinfo.asm | sirupsen/flying-cat | 7 | 12229 | ; System Information Program (v1.0, July 6 2010)
; Written by <NAME>
;
; BareMetal compile:
; nasm sysinfo.asm -o sysinfo.app
[BITS 64]
[ORG 0x0000000000200000]
%INCLUDE "bmdev.asm"
start: ; Start of program label
mov rsi, startmessage ; Load RSI with memory address of string
call b_print_st... |
Working Disassembly/General/Ending/Map - Knuckles End Pose.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 80203 | <filename>Working Disassembly/General/Ending/Map - Knuckles End Pose.asm
Map_60A4C: dc.w word_60A52-Map_60A4C
dc.w word_60A5A-Map_60A4C
dc.w word_60A68-Map_60A4C
word_60A52: dc.w 1
dc.b $F8, 5, 0, $10, $FF, $F8
word_60A5A: dc.w 2
dc.b $F0, $F, 0, $26, $FF, $F0
dc.b $10, 4, 0, $36, 0, 0... |
source/contexts/plain/program-plain_source_buffers.adb | optikos/oasis | 0 | 21553 | <gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Streams.Stream_IO;
with Ada.Strings.UTF_Encoding.Wide_Wide_Strings;
with Interfaces;
with Program.Scanners;
package body Program.... |
thirdparty/adasdl/thin/adasdl/AdaSDL_image/sdl_image.adb | Lucretia/old_nehe_ada95 | 0 | 12405 |
package body SDL_Image is
-- =================================================
function Load (file : String) return V.Surface_ptr is
begin
return Load (CS.New_String (file));
end Load;
-- =================================================
function LoadTyped_RW (src : RW.RWops_ptr;
... |
src/SystemF/Reduction.agda | sstucki/system-f-agda | 68 | 1650 | <filename>src/SystemF/Reduction.agda
----------------------------------------------------------------------
-- Functional small-step semantics
----------------------------------------------------------------------
module SystemF.Reduction where
open import Codata.Musical.Notation
open import Category.Monad
open impor... |
oeis/000/A000203.asm | neoneye/loda-programs | 11 | 240434 | <reponame>neoneye/loda-programs
; A000203: a(n) = sigma(n), the sum of the divisors of n. Also called sigma_1(n).
; 1,3,4,7,6,12,8,15,13,18,12,28,14,24,24,31,18,39,20,42,32,36,24,60,31,42,40,56,30,72,32,63,48,54,48,91,38,60,56,90,42,96,44,84,78,72,48,124,57,93,72,98,54,120,72,120,80,90,60,168,62,96,104,127,84,144,68,12... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.