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 |
|---|---|---|---|---|
bench/stlc_small10k.agda | int-index/smalltt | 377 | 13241 | <reponame>int-index/smalltt
{-# OPTIONS --type-in-type #-}
Ty : Set; Ty
= (Ty : Set)
(ι : Ty)
(arr : Ty → Ty → Ty)
→ Ty
ι : Ty; ι = λ _ ι _ → ι
arr : Ty → Ty → Ty; arr = λ A B Ty ι arr → arr (A Ty ι arr) (B Ty ι arr)
Con : Set;Con
= (Con : Set)
(nil : Con)
(snoc : Con → Ty → Con)
→ Con
nil : C... |
programs/oeis/114/A114185.asm | karttu/loda | 0 | 88623 | <filename>programs/oeis/114/A114185.asm
; A114185: a(n) = Fibonacci(2*n) - n - 1.
; 0,4,16,49,137,369,978,2574,6754,17699,46355,121379,317796,832024,2178292,5702869,14930333,39088149,102334134,267914274,701408710,1836311879,4807526951,12586268999,32951280072,86267571244,225851433688,591286729849,1548008755889,405273953... |
programs/oeis/264/A264120.asm | neoneye/loda | 22 | 168510 | <filename>programs/oeis/264/A264120.asm
; A264120: Values of k such that A001163(k) is positive.
; 0,1,2,5,6,9,10,13,14,17,18,21,22,25,26,29,30,33,34,37,38,41,42,45,46,49,50,53,54,57,58,61,62,65,66,69,70,73,74,77,78,81,82,85,86,89,90,93,94,97,98,101,102,105,106,109,110,113,114,117,118,121,122
mov $1,$0
mul $0,2
gcd $1... |
src/test/cpp/raw/pmp/build/pmp.asm | cjearls/VexRiscv | 1 | 244710 | <reponame>cjearls/VexRiscv
build/pmp.elf: file format elf32-littleriscv
Disassembly of section .crt_section:
80000000 <_start>:
80000000: 00000097 auipc ra,0x0
80000004: 01008093 addi ra,ra,16 # 80000010 <trap>
80000008: 30509073 csrw mtvec,ra
8000000c: 00c0006f j 8000001... |
2020-02-20_ANTLR/Terrible.g4 | anthonyjclark/csc333-demos | 1 | 2611 | grammar Terrible;
// set :> type x = expression |
variable_assignment: 'set' ':>' type NAME '->' expression '|';
type: 'int' | 'float' | 'string';
expression: NUMBER;
NAME: [a-zA-Z][a-zA-Z0-9_]*;
NUMBER: '-'? [0-9]+; |
source/nodes/program-nodes-at_clauses.ads | optikos/oasis | 0 | 20062 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Identifiers;
with Program.Elements.Expressions;
with Program.Elements.At_Clauses;
with Program.Ele... |
src/rejuvenation-printer.ads | TNO/Rejuvenation-Ada | 1 | 11611 | <filename>src/rejuvenation-printer.ads
package Rejuvenation.Printer is
function Print (Node : Ada_Node'Class) return String;
-- WARNING: very incomplete pretty-printer!
-- Note: procedure Print from libadalang-analysis.ads is not a
-- pretty printer, but prints the AST.
end Rejuvenation.Printer;
|
antlr-plugin/src/test/resources/org/nemesis/antlrformatting/grammarfile/golden/TestFive-1-golden.g4 | timboudreau/ANTLR4-Plugins-for-NetBeans | 1 | 3375 | parser grammar TestFive;
options { tokenVocab=TestFour; }
word
: Word; |
Appl/Games/Pyramid/pyramidDeck.asm | steakknife/pcgeos | 504 | 2132 | <filename>Appl/Games/Pyramid/pyramidDeck.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
(c) Copyright GeoWorks 1991-1995. All Rights Reserved.
GEOWORKS CONFIDENTIAL
PROJECT: GEOS
MODULE: Pyramid
FILE: pyramidDeck.asm
AUTHOR: <NAME>, Jan 7, 1991
ROUTINES:
Name ... |
boot/stage2/paging.asm | Daouki/hikari-os | 2 | 240974 | <reponame>Daouki/hikari-os<filename>boot/stage2/paging.asm
bits 32
initialize_paging_and_enable_long_mode:
push eax
push ecx
call initialize_page_tables
; Load CR3 with the address of the PML4.
mov eax, pml4_offset
mov cr3, eax
; Set the P... |
programs/oeis/143/A143201.asm | neoneye/loda | 22 | 160839 | ; A143201: Product of distances between prime factors in factorization of n.
; 1,1,1,1,1,2,1,1,1,4,1,2,1,6,3,1,1,2,1,4,5,10,1,2,1,12,1,6,1,6,1,1,9,16,3,2,1,18,11,4,1,10,1,10,3,22,1,2,1,4,15,12,1,2,7,6,17,28,1,6,1,30,5,1,9,18,1,16,21,12,1,2,1,36,3,18,5,22,1,4,1,40,1,10,13,42,27,10,1,6,7,22,29,46,15,2,1,6,9,4
add $0,1
m... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca.log_21829_1779.asm | ljhsiun2/medusa | 9 | 240914 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x108cb, %r13
xor $33359, %r12
mov (%r13), %r10d
nop
nop
add %r8, %r8
lea addresses_UC_ht+0x1d23, %rsi
lea addresses_WC_ht+0x11ee3, %rdi
nop
nop
nop
nop
nop
cmp %r12, %r12
mov $97, %rcx
... |
programs/oeis/133/A133190.asm | neoneye/loda | 22 | 85359 | <filename>programs/oeis/133/A133190.asm<gh_stars>10-100
; A133190: a(n) = 2*a(n-1) - a(n-2) + 2*a(n-3).
; 1,3,3,5,13,27,51,101,205,411,819,1637,3277,6555,13107,26213,52429,104859,209715,419429,838861,1677723,3355443,6710885,13421773,26843547,53687091,107374181,214748365,429496731,858993459,1717986917,3435973837
seq $0... |
data/baseStats/butterfree.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 162370 | <filename>data/baseStats/butterfree.asm<gh_stars>1-10
db BUTTERFREE ; pokedex id
db 60 ; base hp
db 45 ; base attack
db 50 ; base defense
db 70 ; base speed
db 90 ; base special
db BUG ; species type 1
db FLYING ; species type 2
db 45 ; catch rate
db 160 ; base exp yield
INCBIN "pic/gsmon/butterfree.pic",0,1 ; 77, spri... |
src/test/ref/block-error-2.asm | jbrandwood/kickc | 2 | 10494 | <reponame>jbrandwood/kickc<gh_stars>1-10
// Demonstrates error "Sequence does not contain all blocks from the program."
// Commodore 64 PRG executable file
.file [name="block-error-2.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Co... |
open_in_chrome.scpt | ketan0/dotfiles | 0 | 4602 | <gh_stars>0
tell application "Safari"
set theURL to URL of current tab of window 1
tell application "Google Chrome" to open location theURL
end tell
|
src/sinks.adb | dshadrin/AProxy | 1 | 30763 | <gh_stars>1-10
----------------------------------------
-- Copyright (C) 2019 <NAME> --
-- All rights reserved. --
----------------------------------------
with Logging_Message; use Logging_Message;
with TimeStamp;
with Ada.Characters.Handling;
with Ada.Unchecked_Deallocation;
with Ada.Text_IO; use Ada.T... |
pipFiles/ifElse4.asm | hwheeler01/comp150 | 0 | 96435 | ; skeleton for:
; if condition:
; block1
; else:
; block2
; linesPastIf
; if x == 0: ; From example 3, LOD x provides test x != 0 ; want x == 0
; y = 3
; else:
; y = 5
; z = z+y
LOD x ; Want test x == 0: reverse of x != 0 How reverse? NOT
NOT ; ... may take severa... |
src/critical_section/atomic-unsigned.adb | Fabien-Chouteau/atomic | 3 | 12085 | <filename>src/critical_section/atomic-unsigned.adb
with Atomic.Critical_Section; use Atomic.Critical_Section;
with System;
package body Atomic.Unsigned
with SPARK_Mode => Off
is
----------
-- Load --
----------
function Load
(This : aliased Instance;
Order : Mem_Order := Seq_Cst)
return ... |
prototyping/Luau/Addr/ToString.agda | TheGreatSageEqualToHeaven/luau | 1 | 15387 | <gh_stars>1-10
module Luau.Addr.ToString where
open import Agda.Builtin.String using (String; primStringAppend)
open import Luau.Addr using (Addr)
open import Agda.Builtin.Int using (Int; primShowInteger; pos)
addrToString : Addr → String
addrToString a = primStringAppend "a" (primShowInteger (pos a))
|
oeis/333/A333473.asm | neoneye/loda-programs | 11 | 10974 | <filename>oeis/333/A333473.asm<gh_stars>10-100
; A333473: a(n) = [x^n] ( S(x/(1 + x) )^n, where S(x) = (1 - x - sqrt(1 - 6*x + x^2))/(2*x) is the o.g.f. of the large Schröder numbers A006318.
; Submitted by <NAME>
; 1,2,12,92,752,6352,54768,478928,4231424,37680320,337622912,3040354176,27492359936,249463806464,227031990... |
PDC-Lab5/src/main.adb | JackShen1/parallel-calc | 3 | 27863 | <filename>PDC-Lab5/src/main.adb
------------------------------------------------------
--| Labwork #5 |
--| Ada. Rendezvous |
------------------------------------------------------
--| Author | <NAME>) Shendrikov |
--| Group | ... |
reloadActiveOperaTab.applescript | dragdropsite/BrowserAutoRefresh | 6 | 322 | <gh_stars>1-10
tell application "Opera"
activate
end tell
tell application "System Events"
tell process "Opera"
keystroke "r" using {command down}
end tell
end tell
#tell application "Sublime Text 2"
# activate
#end tell |
user/echo.asm | Pallavi-Pamulapati/Modified-xv6 | 0 | 163581 | <gh_stars>0
user/_echo: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
0: 7179 addi sp,sp,-48
2: f406 sd ra,40(sp)
4: f022 sd s0,32(sp)
6: ec26 sd s1,24(sp)
8: e84a sd s2,16(sp)
... |
oeis/105/A105221.asm | neoneye/loda-programs | 11 | 81920 | <filename>oeis/105/A105221.asm
; A105221: a(n) is the sum of n's distinct prime factors below n.
; Submitted by <NAME>
; 0,0,0,2,0,5,0,2,3,7,0,5,0,9,8,2,0,5,0,7,10,13,0,5,5,15,3,9,0,10,0,2,14,19,12,5,0,21,16,7,0,12,0,13,8,25,0,5,7,7,20,15,0,5,16,9,22,31,0,10,0,33,10,2,18,16,0,19,26,14,0,5,0,39,8,21,18,18,0,7,3,43,0,12,... |
dino/lcs/enemy/6B.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 20572 | copyright zengfr site:http://github.com/zengfr/romhack
03C696 clr.b ($ab,A6) [enemy+ E, enemy+2E, enemy+4E, enemy+6E, enemy+AE]
03C69A clr.b ($80,A6)
03C69E tst.b ($ab,A6)
03C6C4 jsr $1862.l
03C6D6 subq.b #1, ($80,A6) [enemy+6B]
03C6DA bcc $3c720 [enemy+40]
copyright zengfr site:http://github.c... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_1338.asm | ljhsiun2/medusa | 9 | 27017 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_1338.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x12a3b, %rax
and %r12, %r12
movw $0x6162, (%rax)
nop
nop
nop
xor %rsi, %rsi
lea... |
data/wild/maps/DiglettsCave.asm | opiter09/ASM-Machina | 1 | 247707 | <gh_stars>1-10
DiglettsCaveWildMons:
def_grass_wildmons 20 ; encounter rate
db 23, DIGLETT
db 24, DIGLETT
db 21, DIGLETT
db 25, DIGLETT
db 21, DIGLETT
db 20, DIGLETT
db 26, DIGLETT
db 27, DIGLETT
db 34, DUGTRIO
db 36, DUGTRIO
end_grass_wildmons
def_water_wildmons 0 ; encounter rate
end_water_wildmons
|
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/sfc/ys_w31.asm | prismotizm/gigaleak | 0 | 17252 | <reponame>prismotizm/gigaleak<filename>other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver2/sfc/ys_w31.asm<gh_stars>0
Name: ys_w31.asm
Type: file
Size: 17935
Last-Modified: '2016-05-13T04:51:45Z'
SHA-1: 6BB1A092AC18359A9DBBF9852EEB3598D2E1F105
Description: null
|
source/oasis/program-elements-slices.ads | optikos/oasis | 0 | 13245 | <gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Expressions;
with Program.Lexical_Elements;
with Program.Elements.Discrete_Ranges;
package Program.Elements.Slices i... |
programs/oeis/108/A108103.asm | jmorken/loda | 1 | 2733 | <filename>programs/oeis/108/A108103.asm<gh_stars>1-10
; A108103: Fixed point of the square of the morphism: 1->3, 2->1, 3->121, starting with 1.
; 1,2,1,3,1,2,1,3,1,3,1,2,1,3,1,2,1,3,1,3,1,2,1,3,1,3,1,2,1,3,1,2,1,3,1,3,1,2,1,3,1,2,1,3,1,3,1,2,1,3,1,3,1,2,1,3,1,2,1,3,1,3,1,2,1,3,1,3,1,2,1,3,1,2,1,3,1,3,1,2,1,3,1,2,1,3,1... |
programs/oeis/164/A164089.asm | neoneye/loda | 22 | 175462 | ; A164089: For n >=4, a(n) = the numerical value of the substring of binary n containing all digits but the first and last. a(1) = a(2) = a(3) = 0.
; 0,0,0,0,0,1,1,0,0,1,1,2,2,3,3,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,... |
externals/mpir-3.0.0/mpn/x86w/p6/mmx/divrem_1.asm | JaminChan/eos_win | 12 | 28064 |
; Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
;
; This file is part of the GNU MP Library.
;
; The GNU MP 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 Free Software Foundation; either versi... |
zdrojaky/obfuskace/nahrazeni-ekvivalentem2.asm | Zelvar/VSB-DP-TEXT | 0 | 96299 | <filename>zdrojaky/obfuskace/nahrazeni-ekvivalentem2.asm
strlen:
enter 0,0
mov edx, [ ebp + 8 ]
mov eax, 0
.back:
cmp byte [ edx + eax ], 0
jz .exit
add eax, 1
jmp .back
.exit:
leave
ret |
Win32/Win32.Heretic/Win32.Heretic.asm | fengjixuchui/Family | 3 | 174008 |
;
; SYNOPSIS
;
; Heretic - A Microsoft Windows 32 virus
;
; AUTHOR
;
; <NAME>, [NOP]
; formerly of Phalcon/Skism
;
; ABSTRACT
;
; This virus works under all beta versions of Windows 9x, and Windows NT 4.0.
; Under a Win32s environment, the virus will fail since the kernel doesn't
; physically export any useable API. ... |
book-01/Assembly/asm/avx-512/packed/avx512_p_math_float.asm | gfurtadoalmeida/study-assembly-x64 | 2 | 22394 | <reponame>gfurtadoalmeida/study-assembly-x64
ConstVals segment readonly align(64) 'const'
AbsMaskF32 dword 16 dup(7fffffffh)
ConstVals ends
.code
; void AVX512_Packed_Math_Float_(const ZmmVal * a, const ZmmVal * b, ZmmVal result[8])
AVX512_Packed_Math_Float_ proc
vmovaps zmm0, zmmword ptr [rcx]
vmovaps zmm1, zmmwo... |
test/fail/RewriteRelationNotSort.agda | larrytheliquid/agda | 1 | 8928 | <gh_stars>1-10
-- 2014-05-27 <NAME> Andreas
postulate
A : Set
a : A → A → A
{-# BUILTIN REWRITE a #-}
-- Expected error:
-- a does not have the right type for a rewriting relation
-- because its type does not end in a sort, but in A
-- when checking the pragma BUILTIN REWRITE a
|
src/ui/dialogs.ads | thindil/steamsky | 80 | 30527 | -- Copyright (c) 2021 <NAME> <<EMAIL>>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is dist... |
src/gstreamer-rtsp-transport.ads | persan/A-gst | 1 | 4127 | <filename>src/gstreamer-rtsp-transport.ads
with Interfaces.C; use Interfaces.C;
with System;
private with GStreamer.GST_Low_Level.Gstreamer_0_10_Gst_Rtsp_Gstrtsptransport_H;
with Ada.Finalization;
package GStreamer.Rtsp.Transport is
type GstRTSPTransport_Record is tagged private;
type GstRTSPTransport is access a... |
model/memory_model.als | FMJS/emme | 5 | 133 | <reponame>FMJS/emme<filename>model/memory_model.als
-- Copyright 2017 <NAME>
--
-- Licensed under the modified BSD (3-clause BSD) License.
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF... |
Confuser.Core/ObfAttrProtectionParser.g4 | lysep-corp/ConfuserEx-LSREMAKE | 9 | 3499 | parser grammar ObfAttrProtectionParser;
options { tokenVocab=ObfAttrLexer; }
/*
* Parser Rules
*/
protectionString : ( preset | ( ( preset SEP )? item ( SEP item )* ) )? SEP? ( EOL | EOF ) ;
preset : PRESET PAREN_OPEN presetValue PAREN_CLOSE;
presetValue : IDENTIFIER;
item : itemEnable itemName ( i... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_10_2261.asm | ljhsiun2/medusa | 9 | 23044 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_10_2261.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x3e33, %rsi
lea addresses_WC_ht+0x3633, %rdi
nop
nop
inc %r13
mov $22, %rcx
rep movsw
nop
nop
nop
add $3964, %rbp
lea ad... |
src/spdx.adb | Fabien-Chouteau/spdx_ada | 0 | 24946 | <filename>src/spdx.adb<gh_stars>0
with Ada.Strings;
with Ada.Strings.Fixed;
with Ada.Characters.Handling; use Ada.Characters.Handling;
with SPDX.Licenses;
with SPDX.Exceptions;
package body SPDX is
function Token_Str (This : Expression; Loc : Location) return String;
function Is_Custom_Id (Str : String) retur... |
tools/scitools/conf/understand/ada/ada95/s-secsta.ads | brucegua/moocos | 1 | 1432 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1672.asm | ljhsiun2/medusa | 9 | 10525 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %rdx
push %rsi
lea addresses_D_ht+0x404e, %rsi
nop
nop
nop
nop
sub %r10, %r10
mov (%rsi), %edx
nop
nop
sub $62180, %r13
pop %rsi
pop %rdx
pop %r13
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
pu... |
programs/oeis/017/A017512.asm | karttu/loda | 1 | 25670 | <filename>programs/oeis/017/A017512.asm
; A017512: a(n) = (11*n + 10)^4.
; 10000,194481,1048576,3418801,8503056,17850625,33362176,57289761,92236816,141158161,207360000,294499921,406586896,547981281,723394816,937890625,1196883216,1506138481,1871773696,2300257521,2798410000,3373402561,4032758016,4784350561,5636405776,659... |
src/hestia-display-main.adb | stcarrez/hestia | 2 | 1367 | <filename>src/hestia-display-main.adb
-----------------------------------------------------------------------
-- hestia-display-main -- Main display view manager
-- Copyright (C) 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this... |
alloy4fun_models/trashltl/models/9/7Px3vRynWsYzL75RB.als | Kaixi26/org.alloytools.alloy | 0 | 2817 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id7Px3vRynWsYzL75RB_prop10 {
all f : Protected | always f in Protected and f not in Trash
}
pred __repair { id7Px3vRynWsYzL75RB_prop10 }
check __repair { id7Px3vRynWsYzL75RB_prop10 <=> prop10o } |
programs/oeis/341/A341590.asm | neoneye/loda | 22 | 24422 | <filename>programs/oeis/341/A341590.asm<gh_stars>10-100
; A341590: a(n) = (Sum_{j=1..3} StirlingS1(3,j)*(2^j-1)^n)/3!.
; 0,0,4,44,360,2680,19244,136164,957520,6715760,47049684,329465884,2306615480,16147371240,113034787324,791253077204,5538800238240,38771687761120,271402072608164,1899815283098124,13298709306209800,93090... |
oeis/315/A315750.asm | neoneye/loda-programs | 11 | 87735 | <reponame>neoneye/loda-programs
; A315750: Coordination sequence Gal.6.627.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>(s3)
; 1,6,12,18,23,29,35,41,46,52,58,64,70,76,82,87,93,99,105,110,116,122,128,134,140,14... |
sharding-core/src/main/antlr4/imports/PostgreSQLDALStatement.g4 | joooohnli/incubator-shardingsphere | 0 | 4098 | <reponame>joooohnli/incubator-shardingsphere<filename>sharding-core/src/main/antlr4/imports/PostgreSQLDALStatement.g4
grammar PostgreSQLDALStatement;
import PostgreSQLKeyword, Keyword, BaseRule, DataType, Symbol;
show
: SHOW (ALL | ID | TRANSACTION ISOLATION LEVEL)
;
setParam
: SET scope? setClause
... |
programs/oeis/171/A171503.asm | jmorken/loda | 1 | 97773 | ; A171503: Number of 2 X 2 integer matrices with entries from {0,1,...,n} having determinant 1.
; 0,3,7,15,23,39,47,71,87,111,127,167,183,231,255,287,319,383,407,479,511,559,599,687,719,799,847,919,967,1079,1111,1231,1295,1375,1439,1535,1583,1727,1799,1895,1959,2119,2167,2335,2415,2511,2599,2783,2847,3015,3095,3223,331... |
Engine/Graphics/EraseSprites.asm | wide-dot/thomson-to8-game-engine | 11 | 99349 | <reponame>wide-dot/thomson-to8-game-engine
* ---------------------------------------------------------------------------
* EraseSprites
* ------------
* Subroutine to erase sprites on screen
* Read Display Priority Structure (front to back)
* priority: 0 - unregistred
* priority: 1 - register non moving overlay sprite
... |
HoTT/Transport/Identity.agda | michaelforney/hott | 0 | 15795 | {-# OPTIONS --without-K #-}
open import HoTT.Base
open import HoTT.Identity
module HoTT.Transport.Identity where
open variables
unitₗᵣ : {x y : A} {p : x == y} → p == refl ∙ p ∙ refl
unitₗᵣ {p = refl} = refl
-- Theorem 2.11.3
transport= : {a a' : A} (f g : A → B) (p : a == a') (q : f a == g a) →
transp... |
1581/64tass/tst5.asm | silverdr/assembly | 23 | 173274 | <filename>1581/64tass/tst5.asm<gh_stars>10-100
; init to default parms
intdsk
lda #bit0 ; set?
bit wpsw
beq +
eor #bit0
sta wpsw
jsr psetdef ; set physical parms
jmp setdef ; reg parms
+ rts
|
src/opencl/cl_objects.adb | sebsgit/textproc | 0 | 5091 | <filename>src/opencl/cl_objects.adb<gh_stars>0
with Ada.Text_IO;
with Ada.Unchecked_Deallocation;
with System.Address_To_Access_Conversions;
package body cl_objects is
procedure Find_Gpu_Device(platf: out Platform_ID; dev: out Device_ID) is
cl_code: opencl.Status;
platform_ids: constant opencl.Platforms... |
LDOCE5.applescript | ukoasis/LDOCE5Search-PopClip-Extension | 1 | 2364 | tell application "/Applications/LDOCE5 Viewer.app"
activate
end tell
tell application "System Events"
tell process "/Applications/LDOCE5 Viewer.app"
keystroke "l" using {command down}
delay 0.1
keystroke "v" using {command down}
delay 0.5
keystroke return
end tell
end tell
|
src/sound/song121restored.asm | MusicTheorist/Mother2GbaTranslation | 1 | 85291 | <filename>src/sound/song121restored.asm<gh_stars>1-10
song121restored_pri equ 0
song121restored_rev equ 0
song121restored_mvl equ 127
song121restored_key equ 0
song121restored_tbs equ 1
song121restored_exg equ 0
song121restored_cmp equ 1
.align 4
;**************** Track 1 (Midi-Chn.1) ****************;
@so... |
alloy4fun_models/trashltl/models/3/uiKKXH8AxomXETDMe.als | Kaixi26/org.alloytools.alloy | 0 | 5256 | <filename>alloy4fun_models/trashltl/models/3/uiKKXH8AxomXETDMe.als
open main
pred iduiKKXH8AxomXETDMe_prop4 {
some f : File | eventually f in Trash
}
pred __repair { iduiKKXH8AxomXETDMe_prop4 }
check __repair { iduiKKXH8AxomXETDMe_prop4 <=> prop4o } |
awa/regtests/awa-events-services-tests.ads | twdroeger/ada-awa | 81 | 30674 | -----------------------------------------------------------------------
-- events-tests -- Unit tests for AWA events
-- Copyright (C) 2012, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the Lic... |
source/league/ucd/matreshka-internals-unicode-ucd-core_0022.ads | svn2github/matreshka | 24 | 8522 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
projects/08/FunctionCalls/StaticsTest/StaticsTest.asm | feliposz/nand2tetris | 0 | 95820 | <gh_stars>0
@256
D=A
@SP
M=D
@5
D=A
@R13
M=D
@Sys.init
D=A
@R14
M=D
@Sys.init$ret0
D=A
@VM$CALL
0;JMP
(Sys.init$ret0)
(VM$STOP)
@VM$STOP
0;JMP
(VM$CALL)
@SP
AM=M+1
A=A-1
M=D
@LCL
D=M
@SP
AM=M+1
A=A-1
M=D
@ARG
D=M
@SP
AM=M+1
A=A-1
M=D
@THIS
D=M
@SP
AM=M+1
A=A-1
M=D
@THAT
D=M
@SP
AM=M+1
A=A-1
M=D
@R13
D=M
@SP
D=M-D
@ARG
... |
dino/lcs/etc/51.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 87563 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
012D48 move.b D1, ($51,A6)
012D4C rts
copyright zengfr site:http://github.com/zengfr/romhack
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_23_1277.asm | ljhsiun2/medusa | 9 | 88607 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r15
push %r8
push %rdx
push %rsi
// Store
lea addresses_D+0x5c6e, %rsi
nop
xor %r15, %r15
mov $0x5152535455565758, %r13
movq %r13, %xmm7
vmovups %ymm7, (%rsi)
nop
nop... |
scroll.asm | juhovh/spectrum | 26 | 23176 | ;; Copyright (c) 2014 <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, including without limitation the rights
;; to use, copy, modify, merge, publish, distri... |
notes/FOT/FOTC/Program/McCarthy91/WF-Relation/Induction/NonAcc/WellFoundedATP.agda | asr/fotc | 11 | 557 | ----------------------------------------------------------------------------
-- Well-founded induction on the relation _◁_
----------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymor... |
oeis/132/A132071.asm | neoneye/loda-programs | 11 | 98211 | <filename>oeis/132/A132071.asm
; A132071: A007318 + A002024 - A103451 as infinite lower triangular matrices.
; Submitted by <NAME>
; 1,2,2,3,5,3,4,7,7,4,5,9,11,9,5,6,11,16,16,11,6,7,13,22,27,22,13,7,8,15,29,43,43,29,15,8,9,17,37,65,79,65,37,17,9,10,19,46,94,136,136,94,46,19,10
lpb $0
add $2,1
sub $0,$2
mov $1,$2... |
src/third_party/openh264/src/codec/processing/src/x86/denoisefilter.asm | ilya-fedin/tg_owt | 3,565 | 26441 | ;*!
;* \copy
;* Copyright (c) 2010-2013, Cisco Systems
;* 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 source code must retain the abo... |
tools/goctl/api/parser/g4/ApiLexer.g4 | July1921/go-zero | 11,646 | 7449 | lexer grammar ApiLexer;
// Keywords
ATDOC: '@doc';
ATHANDLER: '@handler';
INTERFACE: 'interface{}';
ATSERVER: '@server';
// Whitespace and comments
WS: [ \t\r\n\u000C]+ -> channel(HIDDEN);
COMMENT: '/*' .*? '*/' -> channel(88);
LINE_COMMENT: '/... |
libsrc/_DEVELOPMENT/adt/wa_priority_queue/z80/__w_heap_swap.asm | jpoikela/z88dk | 640 | 162861 | <filename>libsrc/_DEVELOPMENT/adt/wa_priority_queue/z80/__w_heap_swap.asm
SECTION code_clib
SECTION code_adt_wa_priority_queue
PUBLIC __w_heap_swap
__w_heap_swap:
; enter : hl = word *
; de = word *
;
; exit : hl = word * (unchanged)
; de += 2
; swap two words at addresses... |
tools-src/gnu/gcc/gcc/ada/xr_tabls.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 24941 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
lib/text-global.asm | c64lib/text | 1 | 170641 | #import "text.asm"
#importonce
.filenamespace c64lib
.macro @c64lib_incText(text, count) { incText(text, count) }
|
libsrc/_DEVELOPMENT/adt/w_vector/z80/asm_w_vector_resize.asm | jpoikela/z88dk | 640 | 169994 | <gh_stars>100-1000
; ===============================================================
; Feb 2014
; ===============================================================
;
; int w_vector_resize(w_vector_t *v, size_t n)
;
; Attempt to resize the vector to n words.
;
; If n <= vector.size, vector.size = n and any elements in
;... |
src/cobs-stream-encoder.adb | Fabien-Chouteau/COBS | 0 | 5446 | package body COBS.Stream.Encoder is
subtype Dispatch is Instance'Class;
procedure Do_Flush (This : in out Instance);
procedure Do_Flush (This : in out Instance) is
begin
Dispatch (This).Flush
(This.Buffer (This.Buffer'First .. This.Encode_Pointer - 1));
This.Code_Pointer := This.Buff... |
oeis/295/A295382.asm | neoneye/loda-programs | 11 | 83901 | ; A295382: Expansion of e.g.f. exp(-2*x/(1 - x))/(1 - x).
; Submitted by <NAME>(s4)
; 1,-1,-2,-2,8,88,592,3344,14464,2944,-1121536,-21603584,-317969408,-4202380288,-51322677248,-562045749248,-4751724347392,-3419742961664,1260396818661376,45221885372727296,1218206507254153216,29421299633821057024,669044215287581769728,1... |
oeis/083/A083586.asm | neoneye/loda-programs | 11 | 102734 | <gh_stars>10-100
; A083586: Binomial transform of A083580.
; Submitted by <NAME>
; 0,1,5,22,96,419,1819,7824,33302,140317,585873,2427146,9989068,40886295,166600967,676368388,2737758594,11055063953,44553867901,179280877950,720513441080,2892804682891,11605214879475,46528078138232
mov $2,$0
mov $0,1
sub $1,$2
add $2,1
lp... |
programs/oeis/102/A102678.asm | jmorken/loda | 1 | 25161 | <reponame>jmorken/loda<filename>programs/oeis/102/A102678.asm
; A102678: Number of digits >= 6 in the decimal representations of all integers from 0 to n.
; 0,0,0,0,0,0,1,2,3,4,4,4,4,4,4,4,5,6,7,8,8,8,8,8,8,8,9,10,11,12,12,12,12,12,12,12,13,14,15,16,16,16,16,16,16,16,17,18,19,20,20,20,20,20,20,20,21,22,23,24,25,26,27,2... |
Data/Num/Properties.agda | banacorn/numeral | 1 | 9975 | <filename>Data/Num/Properties.agda
module Data.Num.Properties where
open import Data.Num
open import Data.Num.Core
open import Data.Num.Next
open import Data.Num.Continuous
open import Data.Nat
open import Data.Nat.Properties
open import Data.Nat.Properties.Simple
open import Data.Nat.Properties.Extra
open import Dat... |
programs/oeis/199/A199833.asm | jmorken/loda | 1 | 84450 | <filename>programs/oeis/199/A199833.asm
; A199833: Number of -n..n arrays x(0..3) of 4 elements with zero sum and no two neighbors summing to zero
; 4,40,140,336,660,1144,1820,2720,3876,5320,7084,9200,11700,14616,17980,21824,26180,31080,36556,42640,49364,56760,64860,73696,83300,93704,104940,117040,130036,143960,158844,... |
data/pokemon/dex_entries/duskull.asm | AtmaBuster/pokeplat-gen2 | 6 | 2277 | <reponame>AtmaBuster/pokeplat-gen2
db "REQUIEM@" ; species name
db "If it finds bad"
next "children who won't"
next "listen to their"
page "parents, it will"
next "spirit them away--"
next "or so it's said.@"
|
programs/oeis/165/A165157.asm | jmorken/loda | 1 | 83382 | <gh_stars>1-10
; A165157: Zero followed by partial sums of A133622.
; 0,1,3,4,7,8,12,13,18,19,25,26,33,34,42,43,52,53,63,64,75,76,88,89,102,103,117,118,133,134,150,151,168,169,187,188,207,208,228,229,250,251,273,274,297,298,322,323,348,349,375,376,403,404,432,433,462,463,493,494,525,526,558,559,592,593,627,628,663,664,... |
kernel/vga/mario.asm | bubach/BOS | 16 | 102782 | mario:
db 0x00, 0x00, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x32, 0x05, 0x36, 0x36, 0x05, 0x05, 0x05, 0x10
db 0x10, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x32, 0x05, 0x3... |
agda-stdlib-0.9/src/Relation/Binary/Vec/Pointwise.agda | qwe2/try-agda | 1 | 2144 | <reponame>qwe2/try-agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Pointwise lifting of relations to vectors
------------------------------------------------------------------------
module Relation.Binary.Vec.Pointwise where
open import Category.Applica... |
07/StackArithmetic/SimpleAdd/SimpleAdd.asm | DarkCleopas/vm-translator | 0 | 164803 | @7 // push constant 7
D=A
@SP
A=M
M=D
@SP
M=M+1
@8 // push constant 8
D=A
@SP
A=M
M=D
@SP
M=M+1
@SP
AM=M-1
D=M
A=A-1
M=D+M
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack16.adb | best08618/asylo | 7 | 30353 | <reponame>best08618/asylo<gh_stars>1-10
-- { dg-do compile }
-- { dg-options "-gnatws" }
with Pack16_Pkg; use Pack16_Pkg;
procedure Pack16 is
type Sample_Table_T is array (1 .. N) of Integer;
type Clock_T is record
N_Ticks : Integer := 0;
end record;
type Sampling_Descriptor_T is record
Va... |
mips/25-1.asm | ping58972/Computer-Organization-Architecture | 0 | 83972 | <reponame>ping58972/Computer-Organization-Architecture
## Ch25-1.asm
# Evaluate the expression 3ab - 2bc - 5a + 20ac - 16
.data
a: .word 1
bb: .word 2
c: .word 3
.text
.globl main
main:
#push 3ab
lw $t0, a
lw $t1, bb
li $t2, 3
mul $t0, $t0, $t1
mul $t0, $t0, $t2
subu $sp, $sp, 4
sw $t... |
libsrc/time/newbrain/clock.asm | jpoikela/z88dk | 640 | 4602 | ;
; Grundy NewBrain clock()
;
; stefano 5/4/2007
;
; ------
; $Id: clock.asm,v 1.5 2016-06-12 17:02:26 dom Exp $
;
SECTION code_clib
PUBLIC clock
PUBLIC _clock
EXTERN nbclockptr
.clock
._clock
ld hl,(nbclockptr)
ld c,(hl)
inc hl
ld b,(hl)
inc hl
ld e,(hl)
inc hl
ld d,(hl)
ld h,b
ld l,c
ret
|
oeis/199/A199310.asm | neoneye/loda-programs | 11 | 85706 | <gh_stars>10-100
; A199310: 7*5^n+1.
; 8,36,176,876,4376,21876,109376,546876,2734376,13671876,68359376,341796876,1708984376,8544921876,42724609376,213623046876,1068115234376,5340576171876,26702880859376,133514404296876,667572021484376,3337860107421876,16689300537109376,83446502685546876,417232513427734376,2086162567138... |
oeis/158/A158688.asm | neoneye/loda-programs | 11 | 18132 | <gh_stars>10-100
; A158688: a(n) = 1089*n^2 + 33.
; 33,1122,4389,9834,17457,27258,39237,53394,69729,88242,108933,131802,156849,184074,213477,245058,278817,314754,352869,393162,435633,480282,527109,576114,627297,680658,736197,793914,853809,915882,980133,1046562,1115169,1185954,1258917,1334058,1411377,1490874,1572549,165... |
data/maps/sprite_sets.asm | opiter09/ASM-Machina | 1 | 17938 | <filename>data/maps/sprite_sets.asm
MapSpriteSets:
table_width 1, MapSpriteSets
db $01 ; PALLET_TOWN
db $01 ; VIRIDIAN_CITY
db $02 ; PEWTER_CITY
db $02 ; CERULEAN_CITY
db $03 ; LAVENDER_TOWN
db $04 ; VERMILION_CITY
db $05 ; CELADON_CITY
db $0a ; FUCHSIA_CITY
db $01 ; CINNABAR_ISLAND
db $06 ; INDIGO_PLATEAU
... |
Mods/HyruleWarriors_IncreaseDrawDistance/patch_drawDistance.asm | emulationchannel/cemu_graphic_packs | 0 | 18723 | <filename>Mods/HyruleWarriors_IncreaseDrawDistance/patch_drawDistance.asm<gh_stars>0
[DrawDistance_v208]
moduleMatches = 0xE159AE91
.origin = codecave
##object clip
#0x100DD068 = .float 1.5 #0.5
0x100DD06C = .float 1.5 #3.0
#0x025F0554 = nop #same as setting 0x100DD06C to 0. Fix this when instruction supported.
#... |
_tests/trull/KeywordFun.g4 | kaby76/Domemtech.Trash | 16 | 1167 | grammar KeywordFun;
a : 'abc';
b : 'def';
A : 'abc';
B : 'def';
C : 'uvw' 'xyz'?;
D : 'uvw' 'xyz'+;
|
tools/xml2ayacc/nodes.adb | faelys/gela-asis | 4 | 6279 | <gh_stars>1-10
------------------------------------------------------------------------------
-- <NAME> A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org ... |
bugs/bug29.ada | daveshields/AdaEd | 3 | 24592 | <filename>bugs/bug29.ada
procedure test1 is
type rec (k : positive := 1) is
record
name : string(1 .. k);
end record;
-- ok when discriminant has no default value and discriminant
-- constraint specified explicity on the declaration
v1 : rec;
-- also crashes with declaration below
-- v1 : rec(100... |
oeis/184/A184423.asm | neoneye/loda-programs | 11 | 24942 | <filename>oeis/184/A184423.asm
; A184423: a(n) = (2*n)!*(3*n)!/n!^5.
; Submitted by <NAME>(s4)
; 1,12,540,33600,2425500,190702512,15849497664,1369618398720,121821136479900,11079206239530000,1025579963180813040,96310511463483233280,9152842704012278107200,878622906816654279840000,85070165409274310884800000,82980085967574... |
Task/Variables/Ada/variables.ada | mbirabhadra/RosettaCodeData | 1 | 29481 | Name: declare -- a local declaration block has an optional name
A : constant Integer := 42; -- Create a constant
X : String := "Hello"; -- Create and initialize a local variable
Y : Integer; -- Create an uninitialized variable
Z : Integer renames Y: -- Rename Y (creates a view)
function F (X... |
bits/src/search/axiom/most_significant_bit/bitoperations-search-axiom-most_significant_bit.adb | vasil-sd/ada-tlsf | 3 | 23588 | <filename>bits/src/search/axiom/most_significant_bit/bitoperations-search-axiom-most_significant_bit.adb
pragma Ada_2012;
package body BitOperations.Search.Axiom.Most_Significant_Bit with SPARK_Mode => Off is
-----------------------
-- Result_Is_Correct --
-----------------------
procedure Result_Is_Corre... |
etude/etude7.als | nishio/learning_alloy | 1 | 3636 | <filename>etude/etude7.als
// A.1.2
assert NotEmpty {
all r: univ -> univ |
some r iff (some x, y: univ | x -> y in r)
}
assert Trans {
all r: univ -> univ {
(r.r in r) iff (
all x, y, z: univ {
(x -> y) in r and (y -> z) in r
=> (x -> z) in r
}
)
}
}
assert NonReflect {... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_xr/CiscoXr_ignored.g4 | adiapel/batfish | 0 | 1303 | parser grammar CiscoXr_ignored;
import CiscoXr_common;
options {
tokenVocab = CiscoXrLexer;
}
null_block
:
NO?
(
AAA_SERVER
| ACCESS
| ACL_POLICY
| ACLLOG
| ADMIN
| ALLOW
| APPLETALK
| AS_PATH_SET
| ATM
| BASH
| BGP DISABLE_ADVERTISEMENT
... |
firmware/coreboot/3rdparty/libhwbase/common/linux/hw-pci-dev.adb | fabiojna02/OpenCellular | 1 | 18896 | --
-- Copyright (C) 2017 <NAME> <<EMAIL>>
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This program is d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.