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 |
|---|---|---|---|---|
Transynther/x86/_processed/NC/_st_zr_un_sm_/i7-7700_9_0x48.log_21829_2672.asm | ljhsiun2/medusa | 9 | 240759 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xc18b, %r15
cmp %rsi, %rsi
movb (%r15), %r13b
nop
nop
nop
inc %rsi
lea addresses_A_ht+0x1345f, %r13
nop
nop
nop
nop
nop
xor $56620, %r10
mov $0x6162636465666768, %r8
movq ... |
linux-x86/print.asm | mazoti/adler32 | 0 | 99404 | <reponame>mazoti/adler32
; void print(int stdout_stderr, char* str, size_t size);
global print
section .text
print:
push ebx
mov edx,[esp+16] ; size_t size
mov ecx,[esp+12] ; char* str
mov ebx,[esp+8] ; STDOUT or STDERR
mov eax,4 ; write syscall
int 0x80
pop ebx
ret
|
Contractive/Function.agda | nad/codata | 1 | 12494 | ------------------------------------------------------------------------
-- Instantiation of Contractive for functions
------------------------------------------------------------------------
-- Taken from the paper.
open import Relation.Binary
open import Relation.Binary.PropositionalEquality
open import Contractive... |
src/Pts/Reduction/Cbv.agda | asr/pts-agda | 21 | 4957 | <gh_stars>10-100
------------------------------------------------------------------------
-- Call-by-value (CBV) reduction in pure type systems (PTS)
------------------------------------------------------------------------
module Pts.Reduction.Cbv where
open import Data.Fin.Substitution
open import Data.Fin.Substitut... |
oeis/176/A176616.asm | neoneye/loda-programs | 11 | 3193 | ; A176616: Primes of the form x^2 + 7*y^2, where x and y=x+1 are consecutive natural numbers.
; Submitted by <NAME>
; 7,29,67,191,277,379,631,947,1129,1327,2017,2557,2851,4561,4951,5779,6217,8647,9181,12721,13367,14029,15401,16111,17579,20707,21529,22367,24091,24977,31627,36857,37951,42487,43661,44851,47279,53629,58997... |
examples/sprite.asm | feilipu/TMS9918A | 1 | 18087 | ; TMS9918A sprite example
; by <NAME>
ramtop: equ $ffff
im1vect: equ $38 ; location of interrupt mode 1 vector
nmivect: equ $66
frameticks: equ 6 ; number of interrupts per animation frame
framecount: equ 8 ; number of frames in a... |
src/Logic/Linear/Properties.agda | brunoczim/linear-logic | 0 | 11213 | module Logic.Linear.Properties where
open import Logic.Linear using
(LinearProp; _⊢_; Proof
; _^⊥; _⊗_; _⊕_; _&_; _⅋_; _⊸_; _≡_; e!_; e?_
; ^⊥-i; ⊗-i; ⊕-i₁; ⊕-i₂; &-i; ⅋-i; e?-i₁; e?-i₂; e!-i; e?-e; swap
)
open import Data.Nat using (ℕ; zero; suc)
open import Data.Fin using (Fin; zero; suc)
open import Data.V... |
Examples/Colists/Auxiliary/Colist_member.agda | LcicC/inference-systems-agda | 3 | 3320 | <filename>Examples/Colists/Auxiliary/Colist_member.agda
--------------------------------------------------------------------------------
-- This is part of Agda Inference Systems
{-# OPTIONS --sized-types #-}
open import Codata.Colist
open import Codata.Thunk
open import Size
open import Data.Empty
open import Relati... |
test/Fail/Issue1245AmbiguousParse.agda | shlevy/agda | 1,989 | 1923 | <filename>test/Fail/Issue1245AmbiguousParse.agda
module Issue1245AmbiguousParse where
postulate
A : Set
*_* : A → A
_*_ : A → A → A
module M (_ : A) where
module N (a : A) = M * a * a * a *
|
library/fmGUI_ManageScripts/fmGUI_ManageScripts_Open.applescript | NYHTC/applescript-fm-helper | 1 | 3435 | <reponame>NYHTC/applescript-fm-helper<filename>library/fmGUI_ManageScripts/fmGUI_ManageScripts_Open.applescript<gh_stars>1-10
-- fmGUI_ManageScripts_Open({})
-- <NAME>, NYHTC
-- Open script workspace
(*
HISTORY
2020-03-04 ( dshockley ): Fixed typo in comments.
1.2 - 2017-08-07 ( eshagdar ): wait until window render... |
FormalAnalyzer/models/apps/onelamptorulethemall.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 4572 | module app_onelamptorulethemall
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_energyMeter
open cap_switch
one sig app_onelamptorulethemall extends IoTApp {
mastermeteringplug : one cap_energyMeter,
lamp : some cap_switch,
} {
rules = r
//capabilities = mastermeteringplug + lamp
}
... |
test/succeed/Issue204/Dependency.agda | asr/agda-kanso | 1 | 16067 | <filename>test/succeed/Issue204/Dependency.agda
{-# OPTIONS --universe-polymorphism #-}
module Issue204.Dependency where
postulate
Level : Set
zero : Level
suc : Level → Level
{-# BUILTIN LEVEL Level #-}
{-# BUILTIN LEVELZERO zero #-}
{-# BUILTIN LEVELSUC suc #-}
record R (ℓ : Level) : Set (suc ℓ) wh... |
loop.asm | mandalatejesh/hack-computer | 0 | 90932 | <reponame>mandalatejesh/hack-computer<filename>loop.asm
@i
M = 1
@sum
M = 0
(LOOP)
@i
D = M
@100
D = D - A
@END
D;JGT
@i
D = M
@sum
M = D + M
@i
M = M + 1
@LOOP
0;JMP
(END)
@END
0;JMP |
programs/oeis/302/A302906.asm | karttu/loda | 1 | 27763 | ; A302906: a(0) = 0; for n > 0, a(n) = a(n-1) + 5*n + 4.
; 0,9,23,42,66,95,129,168,212,261,315,374,438,507,581,660,744,833,927,1026,1130,1239,1353,1472,1596,1725,1859,1998,2142,2291,2445,2604,2768,2937,3111,3290,3474,3663,3857,4056,4260,4469,4683,4902,5126,5355,5589,5828,6072,6321,6575,6834,7098,7367,7641,7920,8204,849... |
solutions/29 - Biometric Access/size-5_speed-60.asm | michaelgundlach/7billionhumans | 45 | 9229 | -- 7 Billion Humans (2053) --
-- 29: Biometric Access --
-- Author: soerface
-- Size: 5
-- Speed: 60
mem1 = nearest shredder
a:
mem2 = nearest datacube
pickup mem2
giveto mem1
jump a |
programs/oeis/092/A092163.asm | neoneye/loda | 22 | 177457 | ; A092163: a(n) = Prime(2n) + prime(2n+1).
; 8,18,30,42,60,78,90,112,128,144,162,186,204,216,240,268,288,308,330,352,372,390,410,450,462,480,508,532,548,564,600,624,648,684,702,726,752,772,798,828,852,872,892,918,930,966,990,1012,1044,1088,1120,1140
mul $0,2
add $0,1
seq $0,1043 ; Numbers that are the sum of 2 success... |
test/fail/Issue478b.agda | asr/agda-kanso | 1 | 12482 | <filename>test/fail/Issue478b.agda
module Issue478b where
record Ko (Q : Set) : Set₁ where
field
T : Set
foo : T
foo = Set
-- This previously said Set₁ !=< T r |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/clean.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 20696 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
testdata/hmc-6502/add_sub_test.asm | tehmaze/mos65xx | 3 | 162825 |
; Tests instructions ADC & SBC with all addressing modes.
; Assumes that loads & stores work with all addressing modes.
;
; Expected Results: $30=0xAA
start:
LDA #$6A
STA $50
LDA #$6B
STA $51
LDA #$A1
STA $60
LDA #$A2
STA $61
LDA #$FF
ADC #$FF
ADC #$FF
SBC #$AE
; Illegal alias for SBC Immediate
DCB $EB
DCB $FE
STA... |
src/main/fragment/mos6502-common/vbuaa=vbum1_minus_vbuaa.asm | jbrandwood/kickc | 2 | 5635 | eor #$ff
sec
adc {m1}
|
base/ntos/ke/amd64/profint.asm | 987432340/wrk-v1.2 | 1 | 102021 | title "Profile Interrupt"
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt).
; If you do not agree to the terms, do not use the code.
;
;
; Module Na... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1160.asm | ljhsiun2/medusa | 9 | 242823 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1160.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1226b, %rsi
lea addresses_WC_ht+0x189eb, %rdi
nop
nop
nop
nop
and ... |
test/Fail/WrongNamedArgument2.agda | shlevy/agda | 1,989 | 4889 | <reponame>shlevy/agda
module WrongNamedArgument2 where
postulate
f : {A : Set₁} → A
test : Set
test = f {B = Set}
-- Unsolved meta.
-- It is not an error since A could be instantiated to a function type
-- accepting hidden argument with name B.
|
shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-distsql/shardingsphere-encrypt-distsql-parser/src/main/antlr4/imports/encrypt/RDLStatement.g4 | sunOnly/shardingsphere | 1 | 4421 | /*
* 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 ... |
src/sdl-events-joysticks.adb | Fabien-Chouteau/sdlada | 1 | 2998 | <reponame>Fabien-Chouteau/sdlada<gh_stars>1-10
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be h... |
Our_Latex/util/ProjectAtt2.als | robertodavinci/Software_Engineering_2_Project_Medvedec_Sikora | 0 | 5272 | open util/integer
abstract sig TixState{}
one sig WAITING extends TixState{}
one sig INSTORE extends TixState{}
one sig EXPIRED extends TixState{}
abstract sig Location{}
sig GPSCoordinates extends Location {
store: some Store
// GPSCoordinates have been simplified for clearer view
//latitude: one Int,
//longi... |
DCS216 Operating System/ep3/kernel/kernel.asm | Lan-Jing/Courses | 1 | 5099 | <filename>DCS216 Operating System/ep3/kernel/kernel.asm
; a kernel(monitor now) that provides program options;
org 0x100
SECTION monitor align=16
;=========================================
set_seg:
mov ax, cs
mov ds, ax
mov es, ax
cli
mov ss, ax
mov ax, 0x1000
mov sp, ax
mov bp, ax ... |
test/asset/agda-stdlib-1.0/Codata/Musical/Covec.agda | omega12345/agda-mode | 0 | 4915 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Coinductive vectors
------------------------------------------------------------------------
{-# OPTIONS --without-K --guardedness --sized-types #-}
module Codata.Musical.Covec where
open import Codata.Musical... |
headdt.agda | matt-noonan/gdp-talk | 1 | 12573 | <filename>headdt.agda<gh_stars>1-10
head : #$\forall$# {A n} → Vec A (1 + n) → A
zip : #$\forall$# {A B n} → Vec A n → Vec B n → Vec (A × B) n
take : #$\forall$# {A} m {n} → Vec A (m + n) → Vec A m
|
libsrc/target/zx/zxmmc/mmc_wait_response.asm | jpoikela/z88dk | 640 | 178669 | <gh_stars>100-1000
;
; ZX Spectrum ZXMMC specific routines
; code by <NAME>
; ported to z88dk by <NAME> - Feb 2010
;
; $Id: mmc_wait_response.asm,v 1.3 2016-06-10 21:28:03 dom Exp $
;
;
;-----------------------------------------------------------------------------------------
; Waits for the MMC to respond. Returns ... |
HW4-Ramtin/3Code/MJavaLex.g4 | ramtin-ehsani/IUSTCompiler | 0 | 4359 | <reponame>ramtin-ehsani/IUSTCompiler
lexer grammar MJavaLex;
fragment Digit
: [0-9]
;
fragment Letter
: [a-zA-Z_]
;
fragment LetterOrDigit
: Letter
| Digit
;
RETURN: 'return';
INT: 'int';
BOOLEAN: 'boolean';
IF: 'if';
ELSE: ... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/sinh.asm | jpoikela/z88dk | 640 | 91264 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC _sinh
EXTERN cm48_sdcciy_sinh
defc _sinh = cm48_sdcciy_sinh
|
test/Fail/NotAnExpression.agda | cruhland/agda | 1,989 | 10041 | <reponame>cruhland/agda
-- Patterns are parsed as expressions. That means that expressions can contain
-- pattern parts. That's of course not ok.
module NotAnExpression where
X = x @ y -- as pattern as an expression
|
programs/oeis/099/A099254.asm | neoneye/loda | 22 | 17592 | ; A099254: Self-convolution of A010892. The g.f. is 1/(Alexander polynomial of granny knot).
; 1,2,1,-2,-4,-2,3,6,3,-4,-8,-4,5,10,5,-6,-12,-6,7,14,7,-8,-16,-8,9,18,9,-10,-20,-10,11,22,11,-12,-24,-12,13,26,13,-14,-28,-14,15,30,15,-16,-32,-16,17,34,17,-18,-36,-18,19,38,19,-20,-40,-20,21,42,21,-22,-44,-22,23,46,23,-24,-48... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95085b.ada | best08618/asylo | 7 | 5213 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95085b.ada
-- C95085B.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
-- unlimi... |
UnrealAngelscriptParser/Grammar/UnrealAngelscriptParser.g4 | EmbarkStudios/ServerCodeExciser | 5 | 4196 | <filename>UnrealAngelscriptParser/Grammar/UnrealAngelscriptParser.g4
/*******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2015 <NAME> (Camiloasc1) 2020 <NAME> (Marti2203) 2022 Embark Studios AB.
*
* Permission is hereby granted, free of charge, ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_73_1762.asm | ljhsiun2/medusa | 9 | 4217 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1d35, %rdx
nop
and %rsi, %rsi
movl $0x61626364, (%rdx)
and %rdx, %rdx
lea addresses_WC_ht+0xb09d, %r8
nop
nop
cmp $22295, %r10
mov $0x616263646566676... |
jcalg1_getinfo.asm | jeremycollake/jcalg1 | 3 | 165781 | <reponame>jeremycollake/jcalg1<gh_stars>1-10
; JCALG1 r5.xx, (c)1999-2001 by <NAME> - All Rights Reserved.
; ***************************************************************
; Please read license agreement in LICENSE.TXT, if this document
; is not included with this distribution, please email the author
; at <EMAIL>.
; ... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca_notsx.log_13_1725.asm | ljhsiun2/medusa | 9 | 82440 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x7ab3, %rsi
lea addresses_WC_ht+0x665, %rdi
nop
nop
nop
cmp %r15, %r15
mov $25, %rcx
rep movsw
nop
and %rbp, %rbp
lea addresses_UC_ht+0x16411, %r15
nop
add %r8, %r8
mov (%r15)... |
src/main/fragment/mos6502-common/vdum1=vdum2_bor_vdum3.asm | jbrandwood/kickc | 2 | 97721 | lda {m2}
ora {m3}
sta {m1}
lda {m2}+1
ora {m3}+1
sta {m1}+1
lda {m2}+2
ora {m3}+2
sta {m1}+2
lda {m2}+3
ora {m3}+3
sta {m1}+3
|
source/numerics/machine-w64-mingw32/s-llcoty.ads | ytomino/drake | 33 | 193 | pragma License (Unrestricted);
-- implementation unit specialized for Darwin (or Linux, or Windows)
package System.Long_Long_Complex_Types is
pragma Pure;
-- Complex
type Imaginary is new Float;
type Complex is record
Re, Im : Float;
end record;
pragma Complex_Representation (Complex);
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/nested_float_packed.ads | best08618/asylo | 7 | 12835 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/nested_float_packed.ads
package Nested_Float_Packed is
type Float_Type is record
Value : Float;
Valid : Boolean;
end record;
type Data_Type is record
Data : Float_Type;
end record;
Default_Data : constant Data_Type :=
(Data =... |
src/csharp/CSharpPreprocessorParser.g4 | MatchaChoco010/prettier-plugin-csharp | 125 | 541 | // Eclipse Public License - v 1.0, http://www.eclipse.org/legal/epl-v10.html
// Copyright (c) 2013, <NAME> (<EMAIL>)
// Copyright (c) 2016-2017, <NAME> (<EMAIL>), Positive Technologies.
parser grammar CSharpPreprocessorParser;
options { tokenVocab=CSharpLexer; }
@parser::members
{
this.conditions = [true];
this.cond... |
oeis/038/A038723.asm | neoneye/loda-programs | 11 | 245387 | <reponame>neoneye/loda-programs
; A038723: a(n) = 6*a(n-1) - a(n-2), n >= 2, a(0)=1, a(1)=4.
; Submitted by <NAME>(s1.)
; 1,4,23,134,781,4552,26531,154634,901273,5253004,30616751,178447502,1040068261,6061962064,35331704123,205928262674,1200237871921,6995498968852,40772755941191,237641036678294,1385073464128573
mov $1,... |
sharding-core/src/main/antlr4/io/shardingsphere/core/parsing/antlr/autogen/PostgreSQLStatement.g4 | ahugeStone/sharding-sphere | 0 | 1041 | grammar PostgreSQLStatement;
import PostgreSQLKeyword, Keyword, PostgreSQLBase, PostgreSQLCreateIndex, PostgreSQLAlterIndex
, PostgreSQLDropIndex, PostgreSQLCreateTable, PostgreSQLAlterTable, PostgreSQLDropTable, PostgreSQLTruncateTable
, PostgreSQLTCLStatement, PostgreSQLDCLStatement, PostgreSQLDALState... |
applet/aide/source/editors/aide-editor-of_exception_handler.adb | charlie5/aIDE | 3 | 28991 | with
AdaM.Declaration.of_exception,
AdaM.Assist,
aIDE.Editor.of_block,
aIDE.GUI,
Glib,
glib.Error,
gtk.Builder,
gtk.Handlers,
ada.unchecked_Deallocation;
with Ada.Text_IO; use Ada.Text_IO;
package body aIDE.Editor.of_exception_handler
is
use Glib,
glib.Error,... |
dbmmc/chapter3/example3_3.asm | alastairhm/beebasm | 1 | 165780 | \ Example 3.3 ADDING
INCLUDE "../../lib/constants.asm"
screen = &7E40
mode = 6
data = &70
ORG &2000
.start
LDA mode
JSR screenmode
CLC
LDA #24
STA data
LDA #32
ADC data
JSR printhex
.finish
RTS
.screenmode
INCLUDE "../../lib/screenmode.asm"
.printhex
INCLUDE "../../lib... |
testsuite/tests/codeGen/should_gen_asm/bytearray-memset-unroll.asm | JakobBruenker/ghc | 51 | 247279 | <gh_stars>10-100
movq $72340172838076673,%rcx
movq %rcx,0(%rbx)
movq %rcx,8(%rbx)
movl $16843009,16(%rbx)
movw $257,20(%rbx)
movb $1,22(%rbx)
|
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/tool/cos2/sfc/yst_ram.asm | prismotizm/gigaleak | 0 | 25704 | Name: yst_ram.asm
Type: file
Size: 14468
Last-Modified: '2016-05-13T04:52:56Z'
SHA-1: 606A67F4723E4499B43D0DE2D8FAC8A5527CC4FD
Description: null
|
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_14016_931.asm | ljhsiun2/medusa | 9 | 162617 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1d50a, %rdx
nop
nop
xor %rbx, %rbx
mov (%rdx), %cx
nop
nop
and %r8, %r8
lea addresses_UC_ht+0xc6a6, %rbx
nop
nop
nop
nop
cmp %r12, %r12
mov $0x6... |
programs/oeis/133/A133577.asm | karttu/loda | 0 | 173147 | <gh_stars>0
; A133577: a(n) = a(n-1) + 10*a(n-2) for n >= 2, a(0)=1, a(1)=2.
; 1,2,12,32,152,472,1992,6712,26632,93752,360072,1297592,4898312,17874232,66857352,245599672,914173192,3370169912,12511901832,46213600952,171332619272,633468628792,2346794821512,8681481109432
mov $1,10
mov $3,2
lpb $0,1
sub $0,1
mov $2,$3... |
programs/oeis/282/A282124.asm | neoneye/loda | 22 | 4966 | ; A282124: Decimal representation of the x-axis, from the origin to the right edge, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 430", based on the 5-celled von Neumann neighborhood.
; 1,3,3,15,11,63,43,255,171,1023,683,4095,2731,16383,10923,65535,43691,262143,174763,1048575,69... |
example_relationships/src/one_to_one.adb | cortlandstarrett/mcada | 0 | 12973 | -- *************************************************************************************
--
-- The recipient is warned that this code should be handled in accordance
-- with the HM Government Security Classification indicated throughout.
--
-- This code and its contents shall not be used for other than UK Governme... |
Heroc.g4 | wilima/herocomp | 0 | 2162 | <gh_stars>0
/**
* Define a grammar called Hello
*/
grammar Heroc;
import Lexer;
options {
language=Python3;
}
sourcefile
: source? EOF
;
source
: variableDeclaration
| functionDefinition
| source variableDeclaration
| source functionDefinition
;
variableDeclaration
: LONG initVariableDeclarationList SEM... |
Scripts Pack Source Items/Scripts Pack/Core Components/Screencapture Format.applescript | Phorofor/ScriptsPack.macOS | 1 | 3667 | # Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
-- Change the screencapture format when using the shortcuts to taking screenshots
-- Screencapture format
-- Versions compatible:
-- Preference Identifier: com.apple.screencapture
-- Preference Key: type
-- Prefe... |
src/model/atlas-reviews-models.adb | stcarrez/atlas | 7 | 3763 | <gh_stars>1-10
-----------------------------------------------------------------------
-- Atlas.Reviews.Models -- Atlas.Reviews.Models
-----------------------------------------------------------------------
-- File generated by Dynamo DO NOT MODIFY
-- Template used: templates/model/package-body.xhtml
-- Ada Generat... |
src/main/antlr4/kdl.g4 | cliserkad/bitter | 0 | 2080 | parser grammar kdl;
@header {
package com.xarql.kdl.antlr;
}
options {
tokenVocab = kdlLexer;
}
// literals
bool: TRUE | FALSE;
integer: NUMBER | BIN_LIT | HEX_LIT;
literal: bool | CHAR_LIT | STRING_LIT | integer | FRACTION | NULL;
statement: (expression | reservation | assignment | returnStatement | assertio... |
Cubical/HITs/Interval.agda | dan-iel-lee/cubical | 0 | 7475 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.Interval where
open import Cubical.HITs.Interval.Base public
-- open import Cubical.HITs.Interval.Properties public
|
programs/oeis/140/A140730.asm | neoneye/loda | 22 | 162258 | ; A140730: a(4*n)=5^n, a(4*n+1)=2*5^n, a(4*n+2)=3*5^n, a(4*n+3)=4*5^n.
; 1,2,3,4,5,10,15,20,25,50,75,100,125,250,375,500,625,1250,1875,2500,3125,6250,9375,12500,15625,31250,46875,62500,78125,156250,234375,312500,390625,781250,1171875,1562500,1953125,3906250,5859375,7812500
add $0,3
seq $0,224251 ; Numbers, a(n) where ... |
oeis/336/A336286.asm | neoneye/loda-programs | 11 | 102480 | <reponame>neoneye/loda-programs<filename>oeis/336/A336286.asm
; A336286: The hafnian of a symmetric Toeplitz matrix of order 2n, n>=2 with the first row (0,1,2,...,2,0); a(0)=a(1)=1.
; Submitted by <NAME>
; 1,1,5,57,859,16087,362781,9593105,291347603,9998539791,382732896853,16169762600329,747423640472235,37523173542935... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-addope.ads | orb-zhuchen/Orb | 0 | 20552 | <filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-addope.ads<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
--... |
server/src/main/antlr4/com/broadcom/lsp/cobol/core/parser/CobolPreprocessorLexer.g4 | temanbrcom/che-che4z-lsp-for-cobol | 0 | 3049 | /*
* Copyright (c) 2020 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... |
Appl/GeoWrite/Document/documentUtils.asm | steakknife/pcgeos | 504 | 84629 | COMMENT @----------------------------------------------------------------------
Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: GeoWrite
FILE: documentUtils.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 3/92 Initial version
DESCRIP... |
verilog_langserver/verilog_parser/grammar/DocumentSymbols.g4 | eirikpre/verilog-langserver | 1 | 3958 | <filename>verilog_langserver/verilog_parser/grammar/DocumentSymbols.g4
grammar DocumentSymbols;
import LexerRules;
source : (declaration | .+?)* EOF;
declaration:
module_declaration
| interface_declaration
| program_declaration
| package_declaration
| config_declaration
| udp_decl... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/rint.asm | meesokim/z88dk | 0 | 17295 | <reponame>meesokim/z88dk
SECTION code_fp_math48
PUBLIC _rint
EXTERN cm48_sdccix_rint
defc _rint = cm48_sdccix_rint
|
Cubical/Algebra/RingSolver/ReflectionSolving.agda | dan-iel-lee/cubical | 0 | 14321 | <filename>Cubical/Algebra/RingSolver/ReflectionSolving.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
{-
This is inspired by/copied from:
https://github.com/agda/agda-stdlib/blob/master/src/Tactic/MonoidSolver.agda
-}
module Cubical.Algebra.RingSolver.ReflectionSolving where
open import Cubical.Foundation... |
home/copy.asm | opiter09/ASM-Machina | 1 | 174180 | FarCopyData::
; Copy bc bytes from a:hl to de.
ld [wBuffer], a
ldh a, [hLoadedROMBank]
push af
ld a, [wBuffer]
ldh [hLoadedROMBank], a
ld [MBC1RomBank], a
call CopyData
pop af
ldh [hLoadedROMBank], a
ld [MBC1RomBank], a
ret
CopyData::
; Copy bc bytes from hl to de.
ld a, [hli]
ld [de], a
inc de
dec bc
... |
3-mid/impact/source/3d/dynamics/joints/impact-d3-joint-contact.adb | charlie5/lace | 20 | 21313 | <filename>3-mid/impact/source/3d/dynamics/joints/impact-d3-joint-contact.adb
with impact.d3.Transform;
with impact.d3.Vector;
-- #include "impact.d3.Joint.contact.h"
-- #include "BulletDynamics/Dynamics/impact.d3.Object.rigid.h"
-- #include "LinearMath/impact.d3.Vector.h"
-- #include "impact.d3.jacobian_Entry.h"
... |
Snippets/AutoPurge.applescript | rogues-gallery/applescript | 360 | 4142 | on idle
do shell script "purge"
return 1200
end idle
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_286.asm | ljhsiun2/medusa | 9 | 3430 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_286.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1b286, %r11
xor %rdi, %rdi
mov $0x6162636465666768, %r15
movq %r15, %xmm0
vmovups %ymm0... |
alloy4fun_models/trashltl/models/8/wocyqpZjxmXB32w3B.als | Kaixi26/org.alloytools.alloy | 0 | 3537 | <gh_stars>0
open main
pred idwocyqpZjxmXB32w3B_prop9 {
always (all f:Protected | f not in Trash')
}
pred __repair { idwocyqpZjxmXB32w3B_prop9 }
check __repair { idwocyqpZjxmXB32w3B_prop9 <=> prop9o } |
programs/oeis/260/A260708.asm | karttu/loda | 0 | 245639 | <filename>programs/oeis/260/A260708.asm
; A260708: a(2n) = n*(2*n+1), a(2n+7) = a(2n+1) + 12*n + 28, with a(1)=1, a(3)=6, a(5)=16.
; 0,1,3,6,10,16,21,29,36,46,55,68,78,93,105,122,136,156,171,193,210,234,253,280,300,329,351,382,406,440,465,501,528,566,595,636,666,709,741,786,820,868,903,953,990,1042,1081,1136,1176,1233,... |
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/AdaTest/test_enumerations.adb | Lucretia/old_nehe_ada95 | 0 | 23882 |
with SDL.Keysym; use SDL.Keysym;
with Ada.Text_IO;
with Interfaces.C;
procedure Test_Enumerations is
package C renames Interfaces.C;
package Integer_IO is new Ada.Text_IO.Integer_IO (Integer);
package Text_IO renames Ada.Text_IO;
Index : Key := Key'First;
begin
Text_IO.Put_Line ("Identifier name ... |
Working Disassembly/General/Competition Menu/Map - Competition Player Sprites.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 16231 | Map_3A1AEE: dc.w Frame_3A1AF4-Map_3A1AEE ; ...
dc.w Frame_3A1B02-Map_3A1AEE
dc.w Frame_3A1B1C-Map_3A1AEE
Frame_3A1AF4: dc.w 2
dc.b $D8, $E, 8, 0,$FF,$EC
dc.b $F0, 9, 8, $C,$FF,$F4
Frame_3A1B02: dc.w 4
dc.b $D8, 0, 0,$12,$FF,$FF
dc.b $E0, $D, 0,$13,$FF,$EF
dc.b $F0, $D, 0,$1B,$FF,$E7
dc.b $F8, 0... |
oeis/226/A226576.asm | neoneye/loda-programs | 11 | 98728 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A226576: Smallest number of integer-sided squares needed to tile a 3 X n rectangle.
; 0,3,3,1,4,4,2,5,5,3,6,6,4,7,7,5,8,8,6,9,9,7,10,10,8,11,11,9,12,12,10,13,13,11,14,14,12,15,15,13,16,16,14,17,17,15,18,18,16,19,19,17,20,20,18,21,21,19,22,22,20,23,23,21,24,24,22,25,25,2... |
Source_code/inputs.asm | alexcw234/dlxtetris | 0 | 17841 | <filename>Source_code/inputs.asm<gh_stars>0
; ICS 331
; Tetris
; <NAME>
; Using DLX architecture
; Contains anything to do with input computation
; so I don't have to scroll through many things while working
; Function that will read inputs
; x-input returned as R2. 1 = l, 2 = n, 3 = r
; y-input returned as R3. 1 = r... |
test/asset/agda-stdlib-1.0/Data/Maybe/Relation/Unary/Any.agda | omega12345/agda-mode | 0 | 5258 | <filename>test/asset/agda-stdlib-1.0/Data/Maybe/Relation/Unary/Any.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Maybes where one of the elements satisfies a given property
------------------------------------------------------------------------
{-# OP... |
programs/oeis/231/A231317.asm | neoneye/loda | 0 | 81487 | <filename>programs/oeis/231/A231317.asm
; A231317: Number of (n+1) X (1+1) 0..2 arrays with no element equal to a strict majority of its diagonal and antidiagonal neighbors, with values 0..2 introduced in row major order.
; 6,24,216,1536,11616,86400,645504,4816896,35956224,268376064,2003195904,14952038400,111603572736,... |
snapgear_linux/lib/libgmp/mpn/sparc32/umul.asm | impedimentToProgress/UCI-BlueChip | 0 | 11182 | <filename>snapgear_linux/lib/libgmp/mpn/sparc32/umul.asm
dnl SPARC __umul_ppmm -- support for longlong.h for non-gcc.
dnl Copyright (C) 1995, 1996, 2000 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 ... |
libsrc/target/gal/graphics/xorpixl.asm | ahjelm/z88dk | 640 | 178324 | <reponame>ahjelm/z88dk<gh_stars>100-1000
SECTION code_clib
PUBLIC xorpixel
EXTERN xor_MODE0
EXTERN xor_MODE1
EXTERN __gal_mode
xorpixel:
ld a,(__gal_mode)
cp 1
jp z,xor_MODE1
and a
ret nz
jp xor_MODE0
|
Ada/inc/Problem_47.ads | Tim-Tom/project-euler | 0 | 11874 | <reponame>Tim-Tom/project-euler<gh_stars>0
package Problem_47 is
procedure Solve;
end Problem_47;
|
editPitchTable.asm | neilbaldwin/Pulsar | 11 | 6395 | <reponame>neilbaldwin/Pulsar
editTable:
.IF SRAM_MAP=32
lda #SRAM_TABLE_BANK
jsr setMMC1r1
.ENDIF
ldx tableCursorY
lda tableRowsIndex,x
ldx editorCurrentTable
clc
adc editTableAddressLo,x
sta tableVector
lda editTableAddressHi,x
adc #$00
sta tableVector+1
lda writeScreen ;need to write s... |
tests/iterate_on_table/main.adb | mosteo/ada-toml | 1 | 8096 | <filename>tests/iterate_on_table/main.adb
with Ada.Strings.Unbounded;
with Ada.Text_IO;
with TOML;
procedure Main is
package TIO renames Ada.Text_IO;
Value : constant TOML.TOML_Value := TOML.Load_File ("example.toml").Value;
begin
for E of Value.Iterate_On_Table loop
TIO.Put_Line (Ada.Strings.Unbounde... |
MySource/17-not operator.asm | mdabdullahibnaharun/Assembly-Language | 0 | 165551 |
org 100h
include "emu8086.inc"
.model small
.stack 100h
.data
.code
main proc
mov bh,11110011b
not bh
mov ah,2
mov dl,bh
int 21h
mov ah,4ch
int 21h
main endp
DEFINE_SCAN_NUM
DEFINE_PRIN... |
tests/reg_call3.asm | notaz/ia32rtools | 55 | 80433 | <reponame>notaz/ia32rtools
; sub_test() has no args
; need this to be able to call fastcall funcs anywhere, as fastcall may
; sit in some fastcall table even when it doesn't use reg args
_text segment para public 'CODE' use32
; sctattr: clear_regmask=0c
sub_test proc near
xor ebx,... |
oeis/210/A210127.asm | neoneye/loda-programs | 11 | 92774 | <gh_stars>10-100
; A210127: Number of (n+1) X 2 0..3 arrays with every 2 X 2 subblock having one, three or four distinct values, and new values 0..3 introduced in row major order.
; Submitted by <NAME>
; 8,81,897,10019,111993,1251951,13995437,156453699,1748981553,19551704471,218566712277,2443337243979,27313843108313,30... |
oeis/267/A267880.asm | neoneye/loda-programs | 11 | 23748 | ; A267880: Decimal representation of the middle column of the "Rule 233" elementary cellular automaton starting with a single ON (black) cell.
; 1,2,5,10,21,43,87,175,351,703,1407,2815,5631,11263,22527,45055,90111,180223,360447,720895,1441791,2883583,5767167,11534335,23068671,46137343,92274687,184549375,369098751,73819... |
unused/benchmark/benchmark_s_graph_2.ads | skill-lang/skillAdaTestSuite | 1 | 24986 | with Graph_2.Api;
package Benchmark_S_Graph_2 is
procedure Create (N : Integer; File_Name : String);
procedure Write (N : Integer; File_Name : String);
procedure Read (N : Integer; File_Name : String);
procedure Reset (N : Integer; File_Name : String);
end Benchmark_S_Graph_2;
|
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/src/main/antlr4/imports/sqlserver/DMLStatement.g4 | angelbi/shardingsphere | 0 | 1866 | /*
* 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 ... |
programs/oeis/017/A017571.asm | neoneye/loda | 22 | 97409 | <gh_stars>10-100
; A017571: (12n+4)^3.
; 64,4096,21952,64000,140608,262144,438976,681472,1000000,1404928,1906624,2515456,3241792,4096000,5088448,6229504,7529536,8998912,10648000,12487168,14526784,16777216,19248832
mul $0,12
add $0,4
pow $0,3
|
alloy4fun_models/trainstlt/models/5/5vd8wwMKgMGSf2ZRx.als | Kaixi26/org.alloytools.alloy | 0 | 1846 | <filename>alloy4fun_models/trainstlt/models/5/5vd8wwMKgMGSf2ZRx.als
open main
pred id5vd8wwMKgMGSf2ZRx_prop6 {
always ((Signal-Green = Green') and (Green = Signal'-Green'))
}
pred __repair { id5vd8wwMKgMGSf2ZRx_prop6 }
check __repair { id5vd8wwMKgMGSf2ZRx_prop6 <=> prop6o } |
test.asm | MishaVernik/TASM-compiler | 0 | 244 | CDATA SEGMENT
M1 DD 111b
M2 DW 0Fh
M3 DD 20
SMS DB 'COMPILER 1.0.0'
CDATA ENDS
INCAX MACRO
INC AX
ENDM
INCNUM MACRO NUMBER
INC NUMBER
ENDM
CSEG SEGMENT
START:
MOV AX, CDATA
MOV DS, AX
MOV AX, 10h
BT AX, BX
AAS
INC CX
DEC WORD PTR [DI]
AND... |
Part 6 - Virtualizing An Already Running System/MyHypervisorDriver/MyHypervisorDriver/VMExitHandler.asm | avboy1337/Hypervisor-From-Scratch | 808 | 6586 | PUBLIC VMExitHandler
PUBLIC VMXOFFHandler
EXTERN MainVMExitHandler:PROC
EXTERN VM_Resumer:PROC
EXTERN gGuestRIP:QWORD
EXTERN gGuestRSP:QWORD
.code _text
VMExitHandler PROC
push r15
push r14
push r13
push r12
push r11
push r10
push r9
push r8
push r... |
Sources/Globe_3d/models/sierpinski.adb | ForYouEyesOnly/Space-Convoy | 1 | 11047 | pragma Warnings (Off);
pragma Style_Checks (Off);
with GL, GLOBE_3D.Math;
-- with Ada.Text_IO; use Ada.Text_IO;
-- with Ada.Strings.Fixed; use Ada.Strings, Ada.Strings.Fixed;
package body Sierpinski is
-----------------
-- Create_Cube --
-----------------
procedure Create_Cu... |
source/asis/asis-gela-lists.ads | faelys/gela-asis | 4 | 21097 | ------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
buildSrc/src/main/antlr/org/mzi/parser/Mzi.g4 | MaboroshiChan/mzi-dev | 1 | 3166 | // Copyright (c) 2020-2020 Yinsen (<NAME>.
// Use of this source code is governed by the Apache-2.0 license that can be found in the LICENSE file.
grammar Mzi;
program : stmt* EOF;
// statements
stmt : decl
| cmd
;
cmd : (OPEN | IMPORT) moduleName useHide*;
useHide : (USING | HIDING) LPAREN ids ')';
modul... |
src/test/resources/framework_specifications/PdslFrameworkSpecificationParser.g4 | google/polymorphicDSL | 3 | 2545 | parser grammar PdslFrameworkSpecificationParser;
import TestResourceParser, PdslCommonParser ;
options {tokenVocab=PdslFrameworkSpecificationLexer;}
testSpecificationHasAnId : TEST_SPECIFICATION_HAS_AN_ID ;
testSpecificationInExpectedFormat : TEST_SPECIFICATION_IN_EXPECTED_FORMAT ;
testCaseIsProduced : TEST_CASE_I... |
Transynther/x86/_processed/NONE/_ht_/i9-9900K_12_0xa0_notsx.log_1_1133.asm | ljhsiun2/medusa | 9 | 161866 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x3710, %rcx
nop
nop
nop
nop
xor %rdi, %rdi
movb (%rcx), %r9b
nop
nop
nop
nop
nop
sub $47280, %rdi
lea addresses_A_ht+0x13d0, %rsi
lea addresses_D_ht+0x12a10, %rdi
nop
nop
nop
n... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco/Arista_bgp.g4 | nickgian/batfish | 0 | 4114 | <filename>projects/batfish/src/main/antlr4/org/batfish/grammar/cisco/Arista_bgp.g4
parser grammar Arista_bgp;
import Cisco_common;
options {
tokenVocab = CiscoLexer;
}
eos_router_bgp_tail
:
eos_rb_address_family
| eos_rb_inner
| eos_rb_monitoring
| eos_rb_vlan
| eos_rb_vlan_aware_bundle
| eos_rb_vrf
;... |
src/familyParser/Configuration.g4 | anpere/ancestree | 0 | 5809 | grammar Configuration;
// This puts a package statement at the top of the output Java files.
@header {
package familyParser;
// Do not edit this .java file! Edit the .g4 file and re-run Antlr.
}
// This adds code to the generated parser.
@members {
// This method makes the parser stop running if it encounters
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.