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
sharding-core/src/main/antlr4/imports/DQLBase.g4
kaikai2000/sharding-sphere
0
7339
<reponame>kaikai2000/sharding-sphere<gh_stars>0 grammar DQLBase; import BaseRule, Keyword, MySQLKeyword, Symbol, DataType; unionSelect : selectExpression (UNION ALL? selectExpression)* ; selectExpression : ; fromClause : FROM tableReferences ; whereClause : WHERE expr ; ...
theorems/cw/cohomology/cochainequiv/HigherCoboundary.agda
timjb/HoTT-Agda
0
12019
<gh_stars>0 {-# OPTIONS --without-K --rewriting #-} open import HoTT open import homotopy.Bouquet open import homotopy.FinWedge open import homotopy.SphereEndomorphism open import groups.SphereEndomorphism open import cw.CW open import cw.FinCW open import cw.WedgeOfCells open import cw.FinBoundary open import cohomol...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic6_2.adb
best08618/asylo
7
10857
<reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic6_2.adb<gh_stars>1-10 -- { dg-do compile } -- { dg-options "-fdump-tree-gimple" } with Atomic6_Pkg; use Atomic6_Pkg; procedure Atomic6_2 is Temp : Integer; begin Counter1 := Counter1 + Counter2; Timer1 := Timer1 + Timer2; ...
programs/oeis/051/A051176.asm
neoneye/loda
22
2651
<reponame>neoneye/loda<filename>programs/oeis/051/A051176.asm<gh_stars>10-100 ; A051176: If n mod 3 = 0 then n/3 else n. ; 0,1,2,1,4,5,2,7,8,3,10,11,4,13,14,5,16,17,6,19,20,7,22,23,8,25,26,9,28,29,10,31,32,11,34,35,12,37,38,13,40,41,14,43,44,15,46,47,16,49,50,17,52,53,18,55,56,19,58,59,20,61,62,21,64,65,22,67,68,23,70,...
oeis/272/A272688.asm
neoneye/loda-programs
11
17749
; A272688: The antibracket constants {x_n}^n. ; Submitted by <NAME> ; 1,1,6,72,1120,21600,498960,13453440,415134720,14435366400 mov $1,1 lpb $0 max $1,$3 add $3,$1 mul $3,$0 sub $0,1 add $2,1 mul $1,$2 add $3,$1 lpe mov $0,$1
agda/Relation/Binary.agda
oisdk/combinatorics-paper
4
3111
{-# OPTIONS --safe --cubical #-} module Relation.Binary where open import Level open import Relation.Nullary open import Path as ≡ hiding (sym; refl) open import Data.Sum open import Function open import Data.Bool as Bool using (Bool; true; false; T; bool) open import Relation.Nullary.Decidable open import Relation.N...
src/common/keccak-generic_monkeyduplex.adb
damaki/libkeccak
26
18978
------------------------------------------------------------------------------- -- Copyright (c) 2019, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- * Redistributions of s...
server/src/main/antlr4/org/eclipse/lsp/cobol/core/parser/IdmsLexer.g4
IgorCATech/che-che4z-lsp-for-cobol
0
568
/* * Copyright (c) 2021 Broadcom. * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifi...
programs/oeis/181/A181940.asm
neoneye/loda
22
167648
<gh_stars>10-100 ; A181940: a(0)=0, and there are a(n) terms between a(n) and the nearest a(n)+1. ; 0,1,0,2,0,1,3,1,0,2,4,2,0,1,3,5,3,1,0,2,4,6,4,2,0,1,3,5,7,5,3,1,0,2,4,6,8,6,4,2,0,1,3,5,7,9,7,5,3,1,0,2,4,6,8,10,8,6,4,2,0,1,3,5,7,9,11,9,7,5,3,1,0,2,4,6,8,10,12,10,8,6,4,2,0,1,3,5,7,9,11,13,11,9,7,5,3,1,0,2 mul $0,2 se...
add_n_8bit_numbers.asm
PrajeenRG/intel-8085-programs
0
85259
; Adding 'N' 8-bit numbers in memory ; ; Inputs are taken from 0A0H (N) to the next N address ; Output is stored at 0B0H (Carry) and 0B1H (Sum) MVI C, 00H ; initialise counter LXI H, 0A0H ; load register pair MOV B, M ; load size to another register MOV A, M ; load first...
src/main/antlr4/io/github/twentyfirst/rpglepp/RpgleppLexer.g4
twentyfirst-org/rpglepp
0
2325
lexer grammar RpgleppLexer; tokens { BAD_COMMENT, BAD_INSTRUCTION, BAD_PREFIX, COMMENT, EOL, EMPTY, END_EXEC, END_SOURCE, EXEC_SQL, INSTRUCTION, LINE_NUMBER, SPACE, SQL_STATEMENT, STANDARD_PREFIX } FULLY_FREE_DIR : '**'[Ff][Rr][Ee][Ee] -> pushMode(FullyFree) ...
fat12.asm
FoxForge/Intel86-32bitOS-VGA-Driver
0
169154
; Handle FAT12 File System %define ROOT_DIRECTORY_OFFSET 2E00h ; Offset in segment 0 where we will store the root directory when read from disk %define FAT_SEG 2C0h ; We will load the FAT into location 2C00h (02CO:0000) %define ROOT_DIRECTORY_SEG 2E0h ; We will load the root directory into 2E00h (02EO...
oeis/035/A035707.asm
neoneye/loda-programs
11
25805
; A035707: Coordination sequence for 12-dimensional cubic lattice. ; Submitted by <NAME>(w2) ; 1,24,288,2312,14016,68664,284000,1022760,3281280,9545560,25534368,63521352,148321344,327572856,688686048,1385794152,2681291520,5008112280,9060853280,15926230920,27266245056,45570869944,74501171808,119348538792,187641279616,28...
Transynther/x86/_processed/US/_ht_zr_/i7-7700_9_0x48_notsx.log_547_518.asm
ljhsiun2/medusa
9
92773
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x16e74, %rbx xor %r13, %r13 movw $0x6162, (%rbx) nop nop nop nop nop inc %r10 lea addresses_A_ht+0x18ab4, %rax nop nop nop nop nop cmp $3...
programs/oeis/262/A262334.asm
neoneye/loda
22
167380
; A262334: Number of (n+3)X(2+3) 0..1 arrays with each row and column divisible by 9, read as a binary number with top and left being the most significant bits. ; 4,16,64,225,841,3249,12996,51984,207936,829921,3316041,13256881,53027524,212110096,848440384,3393645025,13574347081,54296922289,217187689156,868750756624,347...
oeis/085/A085090.asm
neoneye/loda-programs
11
82000
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A085090: If 2n-1 is prime then a(n) = 2n-1, otherwise a(n) = 0. ; Submitted by <NAME>(w3) ; 0,3,5,7,0,11,13,0,17,19,0,23,0,0,29,31,0,0,37,0,41,43,0,47,0,0,53,0,0,59,61,0,0,67,0,71,73,0,0,79,0,83,0,0,89,0,0,0,97,0,101,103,0,107,109,0,113,0,0,0,0,0,0,127,0,131,0,0,137,139...
experiments/models/grade.als
kaiyuanw/ASketch
1
5298
abstract sig Person {} sig Student extends Person {} sig Professor extends Person {} sig Class { assistant_for: set Student, instructor_of: one Professor } sig Assignment { associated_with: one Class, assigned_to: some Student } pred PolicyAllowsGrading(s: Person, a: Assignment) { -- s in a.associated_wi...
Mips Exersice/mip4.asm
Pandula1234/Machine-Instructions
0
241584
<filename>Mips Exersice/mip4.asm<gh_stars>0 .data array: .word 1:4 .text li $t0,0 lw $a0, array($t0) li $v0,1 syscall addi $t0,$t0,4 lw $a0,array($t0) li $v0,1 syscall addi $t0,$t0,4 lw $a0,array($t0) li $v0,1 syscall addi $t0,$t0,4 lw $a0,array($t0) li $v0,1 syscall
attic/asis/find_all/adam-assist-query-find_all-element_processing.adb
charlie5/aIDE
3
5123
with Asis.Iterator, AdaM.Assist.Query.find_All.Actuals_for_traversing; package body AdaM.Assist.Query.find_All.element_Processing is procedure Recursive_Construct_Processing is new Asis.Iterator.Traverse_Element (State_Information => AdaM.Assist.Query.find_All.Actuals_for_traversing.Traver...
libsrc/_DEVELOPMENT/math/float/math32/z80/d32_fsconv.asm
Frodevan/z88dk
640
100333
; ; Copyright (c) 2015 Digi International Inc. ; ; This Source Code Form is subject to the terms of the Mozilla Public ; License, v. 2.0. If a copy of the MPL was not distributed with this ; file, You can obtain one at http://mozilla.org/MPL/2.0/. ; ; feilipu, 2019 April ; adapted for z80, z180, and z80n ; ;-----...
src/shaders/h264/ildb/save_Top_Y_16x4.asm
tizenorg/platform.upstream.libva-intel-driver
0
171510
/* * Copyright © <2010>, Intel Corporation. * * This program is licensed under the terms and conditions of the * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at * http://www.opensource.org/licenses/eclipse-1.0.php. * */ // Module name: save_Top_Y_16x4.asm // // Save a Y 16x4 ...
oeis/157/A157961.asm
neoneye/loda-programs
11
104615
; A157961: a(n) = 242*n - 1. ; 241,483,725,967,1209,1451,1693,1935,2177,2419,2661,2903,3145,3387,3629,3871,4113,4355,4597,4839,5081,5323,5565,5807,6049,6291,6533,6775,7017,7259,7501,7743,7985,8227,8469,8711,8953,9195,9437,9679,9921,10163,10405,10647,10889,11131,11373,11615,11857,12099,12341,12583,12825,13067,13309,1355...
test/Fail/Issue1209.agda
alhassy/agda
3
10863
-- Andreas, 2014-01-07 Issue reported by <NAME> {-# OPTIONS --copatterns #-} module _ where open import Common.Size open import Common.Prelude hiding (map) record Stream (A : Set) : Set where coinductive field head : A tail : Stream A open Stream -- This type should be empty. data D : (i : Size) → Set ...
models/tests/test54a.als
transclosure/Amalgam
4
4947
module tests/test54a open tests/test54c as c run {} expect 1
src/main/java/it/univr/main/MuJs.g4
VincenzoArceri/clam
0
5767
grammar MuJs; @header { package it.univr.main; } ASG: '='; NAN: 'NaN' ; BOOL: 'true' | 'false'; SEMICOLON: ';'; ID: [a-z]+ ; SIGN: '+' | '-'; INT: SIGN? [0-9]+ ; STRING: '"' ~('\r' | '\n' | '"')* '"' | '\'' ~('\r' | '\n' )* '\''; LESS : '<' ; program: stmt EOF #ProgramExecution ...
src/lithium-main.adb
faelys/lithium3
1
19386
<reponame>faelys/lithium3 ------------------------------------------------------------------------------ -- Copyright (c) 2015-2017, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_822.asm
ljhsiun2/medusa
9
102851
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x10574, %rax nop nop nop nop dec %r9 movl $0x61626364, (%rax) nop nop nop dec %rax lea addresses_A_ht+0xe1ae, %rdx nop nop cmp $58683, %r9 vmovups (%rdx), %ymm1 vextracti128 $0...
programs/oeis/145/A145397.asm
neoneye/loda
22
27186
<filename>programs/oeis/145/A145397.asm ; A145397: Numbers not of the form 1/6*m*(m+1)*(m+2), the non-tetrahedral numbers. ; 2,3,5,6,7,8,9,11,12,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,34,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,7...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_534.asm
ljhsiun2/medusa
9
23011
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r8 push %r9 push %rbx push %rcx lea addresses_WT_ht+0x97d9, %r14 xor %r9, %r9 movw $0x6162, (%r14) nop cmp $27990, %r11 lea addresses_A_ht+0x15a19, %r9 nop nop nop cmp %r8, %r8 movw $0x6162, (%r9) and $8215, %r9 lea addresses_WC_ht+0x18fd9...
programs/oeis/033/A033504.asm
karttu/loda
1
246788
<filename>programs/oeis/033/A033504.asm ; A033504: a(n)/4^n is the expected number of tosses of a coin required to obtain n+1 heads or n+1 tails. ; 1,10,66,372,1930,9516,45332,210664,960858,4319100,19188796,84438360,368603716,1598231992,6889682280,29551095248,126193235194,536799072924,2275560109868,9616650989560,405277...
src/main/antlr/FOOL.g4
Daniele-Tentoni/Base-Antlr
0
1802
<filename>src/main/antlr/FOOL.g4 grammar FOOL; @header { package fool; import java.util.HashMap; } @lexer::members { int lexicalErrors=0; } /*------------------------------------------------------------------ * PARSER RULES *------------------------------------------------------------------*/ prog : progbody EO...
src/Delay-monad/Partial-order.agda
nad/delay-monad
0
10324
------------------------------------------------------------------------ -- A partial order ------------------------------------------------------------------------ {-# OPTIONS --sized-types #-} open import Prelude module Delay-monad.Partial-order {a} {A : Type a} where open import Equality.Propositional as E open ...
services/convolution/convolution.asm
vient/proctf-2019
2
28541
# source image s_load s1q, 0, s0q # width s_load s3, 8, s0q # channel idx s_load s4, 12, s0q # save indices v_mov v8, v0 v_mov v9, v1 # load image v_mov v10, s3 v_mul_u32 v10, v10, 3 v_mul_u32 v10, v1, v10 v_mul_u32 v0, v0, 3 v_add_u32 v10, v0, v10 v_mov v12, s4 v_sll_u32 v12, v12, 3 v_mov v11, v10 v_load v0, v11, ...
programs/oeis/007/A007397.asm
neoneye/loda
22
167184
; A007397: Add 5, then reverse digits!. ; 0,5,1,6,11,61,66,17,22,72,77,28,33,83,88,39,44,94,99,401,604,906,119,421,624,926,139,441,644,946,159,461,664,966,179,481,684,986,199,402,704 mov $2,$0 mov $0,5 lpb $2 seq $0,4086 ; Read n backwards (referred to as R(n) in many sequences). add $0,5 sub $2,1 lpe sub $0,5
Cubical/Foundations/Pointed/Base.agda
Schippmunk/cubical
0
1601
<gh_stars>0 {-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Foundations.Pointed.Base where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Foundations.HLevels open import Cubical.Foundations.Isomorphism open import Cubical.Data.Sigma open import Cub...
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/single_protected_declaration.ads
ouankou/rose
488
5249
package Single_protected_Declaration is protected Shared_Array is private The_Variable : Integer; end Shared_Array; end Single_protected_Declaration;
hasher/asm/nasm/crc32x86.asm
Hitsounds/ShokoServer
183
3020
<reponame>Hitsounds/ShokoServer SECTION .text global _crcCalc align 10h _crcCalc: pushad mov eax, [esp+32+4] ; Load the pointer to dwCrc32 mov ecx, [eax] ; Dereference the pointer to load dwCrc32 mov edi, [esp+32+8] ; Load the CRC32 table mov esi, [esp+32+12] ; Load buffer mov ebx, [esp+32+16]...
session_08/02-stampaContrario/stampaContrario.asm
DigiOhhh/LabArchitettura2-2017-2018
1
88487
# Codice sorgente prodotto in prima versione da <NAME> (matr. 830515) .data string1: .asciiz "Inserisci numero di elementi: " string2: .asciiz "Inserisci elemento: " separatore: .asciiz " " .align 2 array: .space 128 # inverti array # ----------------- # | a | b | c | d | # ----------------- # ------------...
Assignment 7/SubReturnAddr.asm
wstern1234/COMSC-260
0
4739
; SubReturnAddr.asm - displays return address of WriteHex INCLUDE Irvine32.inc .data .code main PROC mov eax, [esp] call WriteHex INVOKE ExitProcess, 0 main ENDP END main
programs/oeis/100/A100286.asm
neoneye/loda
22
10873
<reponame>neoneye/loda ; A100286: Expansion of (1+2x^2-2x^3+2x^4)/(1-x+x^2-x^3+x^4-x^5). ; 1,1,2,0,0,2,1,1,2,0,0,2,1,1,2,0,0,2,1,1,2,0,0,2,1,1,2,0,0,2,1,1,2,0,0,2,1,1,2,0,0,2,1,1,2,0,0,2,1,1,2,0,0,2,1,1,2,0,0,2,1,1,2,0,0,2,1,1,2,0,0,2,1,1,2,0,0,2,1,1,2,0,0,2,1,1,2,0,0,2 sub $0,743 dif $0,2 gcd $0,$0 add $0,20 mod $0,3...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_7746_1333.asm
ljhsiun2/medusa
9
45
.global s_prepare_buffers s_prepare_buffers: push %r10 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x7bb5, %rsi lea addresses_WT_ht+0x14439, %rdi nop nop inc %r10 mov $24, %rcx rep movsb nop nop nop nop nop cmp $63030, %r10 lea addresses_UC_ht+0x74b5, %rsi clflush (%rsi) xor $41188, %rdi movw $0x6162, (%...
_tests/trconvert/antlr3/m2pim4_LL1.g4
SKalt/Domemtech.Trash
16
5680
<filename>_tests/trconvert/antlr3/m2pim4_LL1.g4 grammar m2pim4_LL1; // Modula-2 PIM 4 standard // file version 1.00, July 10, 2009 // Note: an empty semantic action {} is used in lists of alternative terminals // in order to make ANTLRworks display the alternatives as separate branches. // strict LL(1) options { b...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1303.asm
ljhsiun2/medusa
9
13929
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r14 push %r8 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x19c98, %rcx nop nop xor %r12, %r12 mov $0x6162636465666768, %r10 movq %r10, %xmm6 movups %xmm6, (%rcx) nop nop nop sub %r13, %r13 lea addresses_...
Verilog/P7/test/handler.asm
JJLeo/BUAA-CO-2020
9
84461
.ktext 0x4180 _entry: mfc0 $k0, $14 mfc0 $k1, $13 ori $k0, $0, 0x1000 sw $sp, -4($k0) addiu $k0, $k0, -256 move $sp, $k0 j _save_context nop _main_handler: mfc0 $k0, $13 ori $k1, $0, 0x007c and $k0, $k1, $k0 beq $0, $k0, _restore_context nop mfc0 $k0, $14 addu $k0, $k0, 4 mtc0 $k0, $14 j _rest...
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/g-sehash.ads
JCGobbi/Nucleo-STM32G474RE
0
1683
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
arch/lib/math/fact.asm
Mosseridan/Compiler-Principles
0
242751
<filename>arch/lib/math/fact.asm /* fact.asm * Compute the factorial function recursively: R0 <- factorial(ARG0) * * Programmer: <NAME>, 2010 */ FACT: MOV(R1, STARG(0)); CMP(R1, IMM(0)); JUMP_EQ(L_FACT_ZERO); DECR(R1); PUSH(R1); CALL(FACT); POP(R1); /* pop arg (N-1) to fact */ MUL(R0, STARG(0));...
external/source/shellcode/bsd/ia32/stager_sock_bind_ipv6.asm
OsmanDere/metasploit-framework
26,932
95764
<reponame>OsmanDere/metasploit-framework ;; ; ; Name: stager_sock_bind_ipv6 ; Qualities: Can Have Nulls ; Version: $Revision: 1628 $ ; License: ; ; This file is part of the Metasploit Exploit Framework ; and is subject to the same licenses and copyrights as ; the rest of this pac...
programs/oeis/082/A082662.asm
jmorken/loda
1
5045
; A082662: Numbers k such that the odd part of k is less than sqrt(2k). ; 1,2,4,6,8,12,16,20,24,28,32,40,48,56,64,72,80,88,96,104,112,120,128,144,160,176,192,208,224,240,256,272,288,304,320,336,352,368,384,400,416,432,448,464,480,496,512,544,576,608,640,672,704,736,768,800,832,864,896,928,960,992,1024,1056,1088,1120,11...
oeis/343/A343069.asm
neoneye/loda-programs
11
14866
; A343069: Decimal expansion of 2*(1+5*sqrt(2))/7. ; Submitted by <NAME> ; 2,3,0,6,0,1,9,3,7,4,8,1,8,7,0,7,2,1,2,5,7,3,8,4,1,0,3,4,5,8,5,2,8,2,9,6,9,3,8,5,2,4,5,5,3,6,2,5,2,7,8,2,9,6,1,6,8,0,9,7,1,0,5,4,2,7,2,4,7,4,9,6,9,2,3,1,5,8,1,4,8,4,0,7,1,9,8,2,1,9,1,8,9 mov $1,1 mov $2,1 mov $3,$0 mul $3,4 lpb $3 mul $1,$3 ...
kernel.asm
yarneo/alonandyarden-os-ass2
0
245729
kernel: file format elf32-i386 Disassembly of section .text: 00100000 <binary_sem_clear>: release(&bstbl.bsem[binary_sem_id].lock); } return 0; } int binary_sem_clear(int binary_sem_id) { 100000: 55 push %ebp 100001: 89 e5 mov %esp,%ebp 100003: 53 ...
programs/oeis/099/A099545.asm
jmorken/loda
1
100316
<gh_stars>1-10 ; A099545: Odd part of n, modulo 4. ; 1,1,3,1,1,3,3,1,1,1,3,3,1,3,3,1,1,1,3,1,1,3,3,3,1,1,3,3,1,3,3,1,1,1,3,1,1,3,3,1,1,1,3,3,1,3,3,3,1,1,3,1,1,3,3,3,1,1,3,3,1,3,3,1,1,1,3,1,1,3,3,1,1,1,3,3,1,3,3,1,1,1,3,1,1,3,3,3,1,1,3,3,1,3,3,3,1,1,3,1,1,3,3,1,1,1,3,3,1,3,3,3,1,1,3,1,1,3,3,3,1,1,3,3,1,3,3,1,1,1,3,1,1,3...
src/hypro/parser/antlr4-flowstar/BadStates.g4
hypro/hypro
22
294
/* * BadStates.g4 * * Grammar to parse bad states in a given model file. * * @author <NAME> * @date 14.9.2017 */ grammar BadStates; import Formula; /////////// Parser Rules unsafeset : 'unsafe set' '{' (gbadstate | lbadstate)* '}' ; lbadstate : VARIABLE '{' constrset? '}' ; gbadstate : constrset ;...
alloy4fun_models/trashltl/models/17/AFT4gFyS8m93CSFdF.als
Kaixi26/org.alloytools.alloy
0
3485
<gh_stars>0 open main pred idAFT4gFyS8m93CSFdF_prop18 { always all p:Protected | p in File - Protected implies p in Trash } pred __repair { idAFT4gFyS8m93CSFdF_prop18 } check __repair { idAFT4gFyS8m93CSFdF_prop18 <=> prop18o }
music.asm
Sakrac/BullshitPlayer
7
22123
<gh_stars>1-10 // Bullshit Music and SFX Player // // MIT License // // Copyright (c) 2020 <NAME> / Space Moguls Games // // 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 restrict...
.emacs.d/elpa/wisi-3.1.3/wisitoken-generate.adb
caqg/linux-home
0
688
<gh_stars>0 -- Abstract : -- -- See spec. -- -- Copyright (C) 2018 - 2020 Free Software Foundation, Inc. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; either version 3, or (at yo...
README/Erased.agda
nad/equality
3
457
------------------------------------------------------------------------ -- Code related to the paper "Logical properties of a modality for -- erasure" -- -- <NAME> ------------------------------------------------------------------------ -- Note that the code does not follow the paper exactly. For instance, -- some de...
libsrc/_DEVELOPMENT/env/esxdos/c/sdcc_iy/env_getenv.asm
jpoikela/z88dk
640
6038
<gh_stars>100-1000 ; char *env_getenv(unsigned char handle,const char *name,char *val,unsigned int valsz,void *buf,unsigned int bufsz) SECTION code_env PUBLIC _env_getenv EXTERN l0_env_getenv_callee _env_getenv: pop af dec sp pop de ld e,d exx pop hl pop de pop bc exx pop hl pop bc...
alloy4fun_models/trainstlt/models/8/P7GzZbxsNoFnBWGWE.als
Kaixi26/org.alloytools.alloy
0
4689
<filename>alloy4fun_models/trainstlt/models/8/P7GzZbxsNoFnBWGWE.als open main pred idP7GzZbxsNoFnBWGWE_prop9 { all t:Train | t.pos not in Entry and before no t.pos and eventually ( some t.pos & Entry) } pred __repair { idP7GzZbxsNoFnBWGWE_prop9 } check __repair { idP7GzZbxsNoFnBWGWE_prop9 <=> prop9o }
src/frontend/Experimental_Ada_ROSE_Connection/parser/asis_adapter/source/asis_adapter-tool.adb
ouankou/rose
488
25915
<filename>src/frontend/Experimental_Ada_ROSE_Connection/parser/asis_adapter/source/asis_adapter-tool.adb with Ada.Directories; with Asis.Implementation; -- GNAT specific: with Asis.Extensions; with Gnat.OS_Lib; with GNAT.String_Split; with Asis_Adapter.Unit; package body Asis_Adapter.Tool is ------------ -- E...
tools/xml2ayacc/encoding/encodings-maps.ads
faelys/gela-asis
4
29196
-------------------------------------------------------- -- E n c o d i n g s -- -- -- -- Tools for convertion strings between Unicode and -- -- national/vendor character sets. -- -- - - - - - - - - -...
maps/Route22.asm
Dev727/ancientplatinum
28
26820
Route22_MapScripts: db 0 ; scene scripts db 0 ; callbacks VictoryRoadEntranceSign: jumptext VictoryRoadEntranceSignText VictoryRoadEntranceSignText: text "#MON LEAGUE" para "VICTORY ROAD" line "ENTRANCE" done Route22_MapEvents: db 0, 0 ; filler db 1 ; warp events warp_event 13, 5, VICTORY_ROAD_GATE, 1 ...
MSDOS/Virus.MSDOS.Unknown.neuro.asm
fengjixuchui/Family
3
101741
; ========================================================================> ; [Neuropath] by MnemoniX 1994 ; ; * Memory resident .COM infector ; * Polymorphic (engine in neuroeng.asm - lame but effective) ; * Anti-SCAN and CLEAN stealth technique - creates hidden file in ; root directory; when SCAN or CLEAN is r...
oeis/284/A284557.asm
neoneye/loda-programs
11
243058
; A284557: a(n) = A048727(n) mod 3. ; Submitted by <NAME>(s1) ; 0,1,2,0,1,0,0,0,2,0,0,1,0,2,0,0,1,2,0,1,0,2,2,2,0,1,1,2,0,2,0,0,2,0,1,2,0,2,2,2,0,1,1,2,1,0,1,1,0,1,2,0,2,1,1,1,0,1,1,2,0,2,0,0,1,2,0,1,2,1,1,1,0,1,1,2,1,0,1,1,0,1,2,0,2,1,1,1,2,0,0,1,2,1,2,2,0,1,2,0 seq $0,48727 ; a(n) = Xmult(n,7) or rule150(n,1). mod $...
FormalAnalyzer/models/apps/GDoor.als
Mohannadcse/IoTCOM_BehavioralRuleExtractor
0
3901
module app_GDoor open IoTBottomUp as base open cap_runIn open cap_now open cap_contactSensor open cap_switch open cap_presenceSensor open cap_accelerationSensor open cap_contactSensor one sig app_GDoor extends IoTApp { doorSensor : one cap_contactSensor, doorSwitch : one cap_switch, cars : some cap_p...
mc-sema/validator/x86/tests/FIDIVR_64m.asm
randolphwong/mcsema
2
168117
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_FPU_PE|FLAG_FPU_C1 ;TEST_FILE_META_END ; set up st0 to be 3.141593 FLDPI ;TEST_BEGIN_RECORDING lea edi, [esp-08] mov word [edi], 0x0001 FIDIVR word [edi] mov edi, 0 ;TEST_END_RECORDING
3-mid/impact/source/3d/collision/shapes/impact-d3-shape-concave-triangle_mesh-bvh.ads
charlie5/lace
20
22475
<reponame>charlie5/lace with impact.d3.Shape.concave.triangle_mesh, impact.d3.collision.quantized_Bvh.optimized; with impact.d3.triangle_Callback; with impact.d3.triangle_info_Map; -- #include "impact.d3.Shape.concave.triangle_mesh.h" -- #include "impact.d3.collision.quantized_Bvh.optimized.h" -- #include "Li...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1900.asm
ljhsiun2/medusa
9
171788
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1e410, %r10 nop nop nop nop nop dec %rcx mov $0x6162636465666768, %rbp movq %rbp, %xmm7 vmovups %ymm7, (%r10) nop nop add $49102, %r11 lea addresses_UC_ht+0x3690, %r11 i...
etude/etude1.als
nishio/learning_alloy
1
3800
module nhiro/etude1 sig CommitObj { parent: set CommitObj } fact { // 自分の先祖に自分がいない all x: CommitObj | x not in x.^parent } fact { // 親は2個以下 all x: CommitObj | #x.parent =< 2 } fact { #CommitObj > 5 } fact { #{x: CommitObj | #x.parent > 1} = 1 } fact { // 親を持たないコミットオブジェクトは1個だけある #{x: CommitObj | #x.pa...
programs/oeis/117/A117248.asm
jmorken/loda
1
94894
<filename>programs/oeis/117/A117248.asm ; A117248: Number of down steps at start of segment n of A079051. ; 0,0,0,1,2,3,4,4,6,5,8,6,10,7,12,8,14,9,16,10,18,11,20,12,22,13,24,14,26,15,28,16,30,17,32,18,34,19,36,20,38,21,40,22,42,23,44,24,46,25,48,26,50,27,52,28,54,29,56,30,58,31,60,32,62,33,64,34,66,35,68,36 mov $3,$0 ...
memory/oam_echo_ram_read/init.asm
AntonioND/gbc-hw-tests
6
242054
INCLUDE "hardware.inc" SECTION "PATTERNS",HOME PATTERN_SIZE EQU (4*4*4*4) PATTERN_1: REPT 4*4*4 DB $FF DB $F0 DB $0F DB $00 ENDR PATTERN_4: REPT 4*4 REPT 4 DB $FF ENDR REPT 4 DB $F0 ENDR REPT 4 DB $0F ENDR REPT 4 DB $00 ENDR ENDR PATTERN_16: REPT 4 REPT 16 DB $FF ENDR REPT 16 DB $F0 ENDR...
sha256.asm
sheumann/65816-crypto
10
849
<filename>sha256.asm * Copyright (c) 2017 <NAME> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISC...
workbench/cputest/cputype.asm
thecrazyboy/vector06cc
21
75
cpu 8080 org 100h lxi d, hellojpg mvi c, 9 call 5 call cpudetect mvi c, 9 call 5 ret hellojpg db "DETECTING CPU TYPE",0dh,0ah,"THE CPU IS: $" msg_z80 db "Z80$" msg_8080 db "KP580BM80A$" msg_vm1 db "KP580BM1$" cpudetect: lxi d, msg_z80 xra a dcr a rpo l...
wof/lcs/enemy/40.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
12047
copyright zengfr site:http://github.com/zengfr/romhack 0010D6 add.w ($42,A0), D1 [123p+ 40, enemy+40] 0010DA move.w D1, ($40,A0) [123p+ 42, enemy+42] 0010DE ext.l D1 [123p+ 40, enemy+40] 001102 ext.l D1 [enemy+40] 001590 lea ($20,A0), A0 007CD8 move.w D0, ($40,A0) 007CDC move.w #$ffc8, ($4a,A0) ...
src/babel-files-buffers.ads
stcarrez/babel
1
2293
----------------------------------------------------------------------- -- babel-files-buffers -- File buffer management -- Copyright (C) 2014, 2015 Stephane.Carrez -- Written by Stephane.Carrez (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file excep...
example/board.ads
JeremyGrosser/tiny_text
1
12382
<gh_stars>1-10 -- -- Tiny_Text demo board setup -- -- This is a STM32-H405 dev board with a PCD8544 LCD. -- with STM32.GPIO; use STM32.GPIO; with STM32.Device; use STM32.Device; with PCD8544; use PCD8544; with Ravenscar_Time; package Board is LCD_CLK : GPIO_Point renames PB13; -- EXT2_16 LCD_DIN : GPI...
string-format-issue.agda
rfindler/ial
29
13952
<filename>string-format-issue.agda {- This file shows a natural attempt to do formatted printing, and where that attempt goes wrong. See string-format.agda for a (working) solution to this problem. -} module string-format-issue where open import char open import eq open import list open import nat open import...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1766.asm
ljhsiun2/medusa
9
86179
<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1766.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x4ec1, %rbp nop nop nop nop nop inc %rax movl $0x61626364, (%rbp) no...
src/matrix_area_double_word.adb
hgrodriguez/embedded-dashboard-console
0
7202
with Pimoroni_LED_Dot_Matrix; package body Matrix_Area_Double_Word is procedure Initialize is package PLDM_0 is new Pimoroni_LED_Dot_Matrix (Byte_0_I2C, Byte_0_Address); package PLDM_1 is new Pimoroni_LED_Dot_Matrix (Byte_1_I2C, ...
cache-update.applescript
lcarreras/alfred-reminders
1
365
<filename>cache-update.applescript property cacheFile : "cache.plist" on run argv set bundleid to item 1 of argv set currentversion to item 2 of argv set myPath to path to me tell application "Finder" to set workflowFolder to (folder of myPath) as string set lib to load script file (workflowFolder & "alfred_libra...
proglangs-learning/Agda/sv20/compiler.agda
helq/old_code
0
11382
<filename>proglangs-learning/Agda/sv20/compiler.agda module sv20.compiler where open import Data.Nat using (ℕ; zero; suc; _+_; _*_; _∸_) --open import Data.Nat.DivMod using (_/_) open import Data.List using (List; _++_; []; _∷_; head) open import Data.Maybe as DM open DM using (Maybe; just; nothing; maybe; _>>=_; from...
2048/canvas.asm
ssebs/xos
15
12705
; 2048 Game Clone for xOS use32 ; fill_rect: ; Draws a rectangle ; In\ AX/BX = X/Y pos ; In\ SI/DI = Width/Height ; In\ EDX = Color ; Out\ Nothing fill_rect: mov [.color], edx mov [.width], si mov [.height], di mov [.current_line], 0 ; get offset in window canvas mov cx, ax mov dx, bx mov eax, [window_hand...
programs/oeis/123/A123903.asm
neoneye/loda
22
243158
<reponame>neoneye/loda ; A123903: Total number of "Emperors" in all tournaments on n labeled nodes. ; 0,1,2,6,32,320,6144,229376,16777216,2415919104,687194767360,387028092977152,432345564227567616,959230691832896684032,4231240368651202111471616,37138201178561408246973726720,649037107316853453566312041152512 mov $1,2 m...
grammar/Tel.g4
kubamahnert/panoramic-cli
5
2503
grammar Tel; INT : '-'? [0-9]+ ; // integer REAL : '-'? [0-9]+ '.' [0-9]+ ; // integer TRUE : 'true' | 'TRUE'; // true FALSE : 'false' | 'FALSE'; // false NOT : 'not' | 'NOT'; KW_IS : 'is' | 'IS'; KW_NULL : 'null' | 'NULL'; WORD : [a-zA-Z0-9_.]+; // one word (eithe...
obj/b__lab1.adb
Rassol/AdaSem
0
14245
pragma Warnings (Off); pragma Ada_95; pragma Source_File_Name (ada_main, Spec_File_Name => "b__lab1.ads"); pragma Source_File_Name (ada_main, Body_File_Name => "b__lab1.adb"); pragma Suppress (Overflow_Check); with System.Restrictions; with Ada.Exceptions; package body ada_main is E068 : Short_Integer; pragma Imp...
src/Global.agda
peterthiemann/definitional-session
9
3908
<reponame>peterthiemann/definitional-session module Global where open import Data.List open import Data.Maybe open import Data.Product open import Relation.Binary.PropositionalEquality open import Typing -- specific data PosNeg : Set where POS NEG POSNEG : PosNeg -- global session context SEntry = Maybe (STypeF S...
Working Disassembly/Levels/CNZ/Misc Object Data/Map - (&SOZ) Breakable Wall.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
167118
dc.w word_21AC6-Map_CNZSOZBreakableWall dc.w word_21AE0-Map_CNZSOZBreakableWall dc.w word_21B12-Map_CNZSOZBreakableWall dc.w word_21B2C-Map_CNZSOZBreakableWall dc.w word_21B5E-Map_CNZSOZBreakableWall dc.w word_21B84-Map_CNZSOZBreakableWall word_21AC6: dc.w 4 ; DATA XREF: ROM:00021ABAo dc.b $E0, $D, ...
examples/e05-animated-raster-bars.asm
c64lib/copper64
5
166332
/* * c64lib/copper64/examples/e04-full-raster-bars.asm * * Demo program for copper64 routine. * * Author: <NAME> * License: MIT * (c): 2018 * GIT repo: https://github.com/c64lib/copper64 */ #import "chipset/lib/mos6510.asm" #import "chipset/lib/vic2-global.asm" #import "text/lib/text.asm" #import "...
src/asis/asis-data_decomposition-extensions.adb
My-Colaborations/dynamo
15
18573
<filename>src/asis/asis-data_decomposition-extensions.adb ------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- ...
memsim-master/src/test-flip.adb
strenkml/EE368
0
24756
<reponame>strenkml/EE368 with Memory.Transform.Flip; use Memory.Transform.Flip; with Memory.Join; use Memory.Join; package body Test.Flip is procedure Run_Tests is mem : constant Monitor_Pointer := Create_Monitor(0); bank : constant Monitor_Pointer := Create_Monitor(0, False); f...
src/static/antlr4/grammars/Generator.g4
jlenoble/ecmascript-parser
0
1014
/* Source: ECMAScript® 2018 Language Specification - Annex A-4 */ grammar Generator; // GeneratorDeclaration[Yield, Await, Default]: // function * BindingIdentifier[?Yield, ?Await] ( // FormalParameters[+Yield, ~Await] ) { GeneratorBody } // [+Default] function * ( FormalParameters[+Yield, ~Await] ) { //...
oeis/017/A017129.asm
neoneye/loda-programs
11
82742
<reponame>neoneye/loda-programs ; A017129: a(n) = (8*n + 5)^5. ; 3125,371293,4084101,20511149,69343957,184528125,418195493,844596301,1564031349,2706784157,4437053125,6956883693,10510100501,15386239549,21924480357,30517578125,41615795893,55730836701,73439775749,95388992557,122298103125,154963892093,194264244901,24116207...
programs/oeis/331/A331162.asm
karttu/loda
0
170917
<filename>programs/oeis/331/A331162.asm ; A331162: a(n) is the number of digits in the concatenation of a(0) to a(n-1) that are equal to the corresponding digit in the concatenation of all integers >= 0, with a(0) = 0. ; 0,1,2,3,4,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,20,22,23,24,25,26,27,28,29,30,30,32,33,34,35,36,3...
Lab Asssessment Submission/Lab Assessment 5/2.asm
SABBIRH6/CSE331L_Section_7_Summer_2020_NSU
0
100522
<gh_stars>0 .MODEL SMALL .STACK 100H .DATA PROMPT DB 'ENTER THE DIGIT:$' MSG DB 'THE ENTER DIGIT IS:$' .CODE MAIN PROC MOV AX, @DATA MOV DS, AX LEA DX, PROMPT MOV AH, 9 INT 21H MOV AH, 1 INT 21H MOV BL, AL ...
forktest.asm
mur1ll0/xv6-stride
0
29155
<reponame>mur1ll0/xv6-stride _forktest: file format elf32-i386 Disassembly of section .text: 00000000 <main>: printf(1, "fork test OK\n"); } int main(void) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) ...
Image Processing Scripts/Scale/Scaling Images.applescript
bbelyeu/applescripts
12
4729
(* Scaling an image will increase or decrease the dimensions of an image while maintaining the current image resolution. Therefore, a 72 DPI image scaled to 50% will still be 72 DPI. The scale command must include one of two parameters indicating the amount of scaling to apply: The to size parameter takes a single in...
reloadActiveChromeTab.applescript
dragdropsite/BrowserAutoRefresh
6
1128
tell application "Google Chrome" reload active tab of window 1 end tell
test/succeed/Issue351.agda
asr/agda-kanso
0
1675
<gh_stars>0 -- 2010-10-15 and 2012-03-09 {-# OPTIONS -v tc.conv.irr:50 -v tc.decl.ax:10 #-} module Issue351 where import Common.Irrelevance data _==_ {A : Set1}(a : A) : A -> Set where refl : a == a record R : Set1 where constructor mkR field fromR : Set reflR : (r : R) -> r == (mkR _) reflR r = refl {a ...
3-mid/physics/interface/source/private/box2d/box2d_physics-object.adb
charlie5/lace-alire
1
15644
<reponame>charlie5/lace-alire<filename>3-mid/physics/interface/source/private/box2d/box2d_physics-object.adb with box2d_c.Binding, box2d_c.Pointers, box2d_physics.Shape, c_math_c.Vector_2, c_math_c.Vector_3, c_math_c.Matrix_3x3, c_math_c.Matrix_4x4, c_math_c.Conversion, S...
programs/oeis/114/A114569.asm
karttu/loda
1
22870
<reponame>karttu/loda ; A114569: a(n) = 9*4^n - 1. ; 8,35,143,575,2303,9215,36863,147455,589823,2359295,9437183,37748735,150994943,603979775,2415919103,9663676415,38654705663,154618822655,618475290623,2473901162495,9895604649983,39582418599935,158329674399743,633318697598975,2533274790395903 mov $1,4 pow $1,$0 mul $1,...
programs/oeis/005/A005891.asm
karttu/loda
1
89734
<reponame>karttu/loda ; A005891: Centered pentagonal numbers: (5n^2+5n+2)/2; crystal ball sequence for 3.3.3.4.4. planar net. ; 1,6,16,31,51,76,106,141,181,226,276,331,391,456,526,601,681,766,856,951,1051,1156,1266,1381,1501,1626,1756,1891,2031,2176,2326,2481,2641,2806,2976,3151,3331,3516,3706,3901,4101,4306,4516,4731,...