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 |
|---|---|---|---|---|
src/main/java/org/rumbledb/parser/XQueryLexer.g4 | mrceyhun/rumble | 140 | 7590 | lexer grammar XQueryLexer;
// Note: string syntax depends on syntactic context, so they are
// handled by the parser and not the lexer.
// Tokens declared but not defined
tokens {EscapeQuot, EscapeApos, DOUBLE_LBRACE, DOUBLE_RBRACE}
@members {
///
/// FIELDS
///
// for counting braces inside string ... |
test/Succeed/NoUniverseCheckPragma.agda | KDr2/agda | 0 | 4727 | <reponame>KDr2/agda
-- New feature by <NAME> in commit be89d4a8b264dd2719cb8c601a2c7f45a95ba220 :
-- disabling the universe check for a data or record type.
-- Andreas, 2018-10-27, re issue #3327: restructured test cases.
-- Andreas, 2019-07-16, issue #3916:
-- {-# NO_UNIVERSE_CHECK #-} should also disable the index ... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_14_2225.asm | ljhsiun2/medusa | 9 | 102517 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x161ea, %rbx
nop
nop
nop
nop
sub %r12, %r12
mov $0x6162636465666768, %r8
movq %r8, (%rbx)
cmp $45570, %rdx
lea addresses_UC_ht+0x15036, %rbx
nop
nop
nop
nop
lfence
mov (%rbx),... |
oeis/037/A037770.asm | neoneye/loda-programs | 11 | 242290 | ; A037770: Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,2,1.
; Submitted by <NAME>
; 3,27,245,2206,19857,178713,1608419,14475772,130281951,1172537559,10552838033,94975542298,854779880685,7693018926165,69237170335487,623134533019384,5608210797174459
mov $2,3
lpb $0
s... |
Task/Runge-Kutta-method/Ada/runge-kutta-method.ada | LaudateCorpus1/RosettaCodeData | 1 | 8056 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Numerics.Generic_Elementary_Functions;
procedure RungeKutta is
type Floaty is digits 15;
type Floaty_Array is array (Natural range <>) of Floaty;
package FIO is new Ada.Text_IO.Float_IO(Floaty); use FIO;
type Derivative is access function(t, y : Floaty) return Flo... |
oeis/067/A067558.asm | neoneye/loda-programs | 11 | 8247 | ; A067558: Sum of squares of proper divisors of n.
; 0,1,1,5,1,14,1,21,10,30,1,66,1,54,35,85,1,131,1,146,59,126,1,274,26,174,91,266,1,400,1,341,131,294,75,615,1,366,179,610,1,736,1,626,341,534,1,1106,50,755,299,866,1,1184,147,1114,371,846,1,1860,1,966,581,1365,195,1744,1,1466,539,1600,1,2551,1,1374,885,1826,171,2416,1,... |
src/code/menu.asm | Hacktix/gb-tictactoe | 8 | 160221 | <gh_stars>1-10
SECTION "Main Menu", ROM0
;==============================================================
; Initializes everything required for displaying the main
; menu.
;==============================================================
InitMenu::
; Load sprite tile data
ld hl, $8000
ld bc, EndTilesSprites - ... |
tools-src/gnu/gcc/gcc/ada/exp_ch13.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 8135 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
programs/oeis/103/A103754.asm | neoneye/loda | 22 | 165216 | ; A103754: Number of contiguous digits i in the counting numbers, for i=0.
; 1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2
add $0,9
gcd $0,19
div $0,18
add $0,1
|
libsrc/vz/vz_midstr.asm | andydansby/z88dk-mk2 | 1 | 510 | <filename>libsrc/vz/vz_midstr.asm
; CALLER LINKAGE FOR FUNCTION POINTERS
XLIB vz_midstr
LIB vz_midstr_callee
XREF ASMDISP_VZ_MIDSTR_CALLEE
.vz_midstr
pop af
pop de
pop hl
push hl
push de
push af
jp vz_midstr_callee + ASMDISP_VZ_MIDSTR_CALLEE
|
test/Succeed/PolarityAbstract.agda | shlevy/agda | 3 | 3972 | <filename>test/Succeed/PolarityAbstract.agda<gh_stars>1-10
-- Andreas, 2015-07-01 polarity needs to be computed for abstract defs.
-- See also issue 1599 for the same problem with positivity.
-- {-# OPTIONS -v tc.pos:10 -v tc.polarity:20 #-}
open import Common.Size
open import Common.Prelude
data D (i : Size) : Set ... |
lemmas-freshG.agda | hazelgrove/hazel-palette-agda | 4 | 132 | open import Prelude
open import core
open import contexts
module lemmas-freshG where
-- the def above buries the sort of obvious pattern matching we'd like to
-- do on the freshness in the conclusion, so we need lemmas that extract
-- it for each constructor
freshΓ-asc : {A : Set} → {Γ : A ctx} → ∀{e τ} → fres... |
programs/oeis/060/A060960.asm | karttu/loda | 1 | 23280 | ; A060960: Duplicate of A073642.
; 0,1,1,2,2,3,3,3,3,4,4,5,5,6,6,4,4,5,5,6,6,7,7,7,7,8,8,9,9,10,10,5,5,6
add $0,1
cal $0,73642 ; Replace 2^k in the binary representation of n with k (i.e., if n = 2^a + 2^b + 2^c + ... then a(n) = a + b + c + ...).
mov $1,$0
|
archive/agda-3/src/Oscar/Class/Surjtranscommutativity.agda | m0davis/oscar | 0 | 16937 | <reponame>m0davis/oscar
open import Oscar.Prelude
open import Oscar.Class
open import Oscar.Class.Surjection
open import Oscar.Class.Smap
open import Oscar.Class.Transitivity
module Oscar.Class.Surjtranscommutativity where
module Surjtranscommutativity
{𝔬₁} {𝔒₁ : Ø 𝔬₁}
{𝔯₁} (_∼₁_ : 𝔒₁ → 𝔒₁ → Ø 𝔯₁)
{𝔬₂}... |
tests/src/test_utils.ads | Fabien-Chouteau/COBS | 0 | 18043 | with System.Storage_Elements; use System.Storage_Elements;
with Ada.Containers.Vectors;
with Ada.Unchecked_Deallocation;
with AAA.Strings;
private with Ada.Containers.Indefinite_Vectors;
package Test_Utils is
package Data_Frame_Package
is new Ada.Containers.Vectors (Storage_Count, Storage_Element);
type ... |
libsrc/newbrain/nb_gets.asm | dex4er/deb-z88dk | 1 | 1461 | ;
; Grundy Newbrain Specific libraries
;
; <NAME> - 06/06/2007
;
;
; - - - - - - - - - - - - - - - - - - - - -
;
; get a string from stream
;
; - - - - - - - - - - - - - - - - - - - - -
;
; char *nb_gets( int stream, char *bytes );
;
; - - - - - - - - - - - - - - - - - - - - -
;
;
; $Id: nb_gets.asm,v ... |
iod/par/cknm.asm | olifink/smsqe | 0 | 14842 | <filename>iod/par/cknm.asm
; Check PAR/SER name V2.00 1989 <NAME>
section par
xdef par_cknm
xdef par_pprty
xdef par_phand
xdef par_ptrn
xdef par_pcr
xdef par_pff
xref iou_dnam
include 'dev8_keys_err'
include 'dev8_keys_par'
;+++
; PAR / SER check name
;
; d4 r -1 PRT, 0 (PAR/PRT) or prd_ser1 (SER) (f... |
3-mid/impact/source/3d/collision/shapes/impact-d3-shape-convex.adb | charlie5/lace | 20 | 19726 | with ada.unchecked_Conversion;
with impact.d3.Shape.convex,
impact.d3.Shape.convex.internal.polyhedral.triangle,
impact.d3.Shape.convex.internal.sphere,
impact.d3.Shape.convex.internal.cylinder,
impact.d3.Shape.convex.internal.polyhedral.hull;
-- btCapsuleShape, -- obsolete
with impact.d... |
data/maps/headers/SSAnne3F.asm | opiter09/ASM-Machina | 1 | 22014 |
map_header SSAnne3F, SS_ANNE_3F, SHIP, 0
end_map_header
|
Assembly/PIC16F84A/PORTA.asm | JoelBuenrostro/PIC-Programming-examples | 1 | 242741 | ;-------------------------------------------------------------------------------------------
;File: Pin PORTA.asm
;Author: <NAME>
;Date: 10/04/2018
;Environment: MPLAB X IDE v4.15
;Compiler: mpasm (v5.77)
;Description: Code that configures port A as output and activates pin RA0 in a high state
;until the power supply ... |
programs/oeis/022/A022380.asm | karttu/loda | 0 | 104963 | <gh_stars>0
; A022380: Fibonacci sequence beginning 3, 12.
; 3,12,15,27,42,69,111,180,291,471,762,1233,1995,3228,5223,8451,13674,22125,35799,57924,93723,151647,245370,397017,642387,1039404,1681791,2721195,4402986,7124181,11527167,18651348,30178515,48829863,79008378,127838241,206846619,334684860,541531479,876216339,1417... |
libsrc/fcntl/sprinter/mkdir.asm | grancier/z180 | 0 | 24711 | ; Sprinter fcntl library
;
; $Id: mkdir.asm,v 1.4 2017/01/02 21:02:22 aralbrec Exp $
;
SECTION code_clib
PUBLIC mkdir
PUBLIC _mkdir
;int mkdir(char *path, mode_t mode)
.mkdir
._mkdir
pop bc
pop de
pop hl
push hl
push de
push bc
push ix ;save callers
ld ... |
Mips Exersice/mips10.asm | Pandula1234/Machine-Instructions | 0 | 103032 | <reponame>Pandula1234/Machine-Instructions
# print two floats and get the sum
.text
li $v0,6
syscall
mov.s $f1,$f0
li $v0,6
syscall
mov.s $f2,$f0
add.s $f12,$f1,$f2
li $v0,2
syscall |
bb-runtimes/runtimes/zfp-stm32h743/gnat/i-stm32-rcc.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 13159 | --
-- Copyright (C) 2021, AdaCore
--
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32H743x.svd
with System;
package Interfaces.STM32.RCC is
pragma Preelaborate;
pragma No_Elaboration_Code_All;
---------------
-- Registers --
---------------
subtype CR_HSION_... |
kernel.asm | neha45556/cs153_lab3 | 0 | 6416 |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# E... |
programs/oeis/011/A011931.asm | neoneye/loda | 22 | 406 | ; A011931: [ n(n-1)(n-2)(n-3)/21 ].
; 0,0,0,0,1,5,17,40,80,144,240,377,565,817,1144,1560,2080,2720,3497,4429,5537,6840,8360,10120,12144,14457,17085,20057,23400,27144,31320,35960,41097,46765,53001,59840
bin $0,4
mul $0,8
div $0,7
|
ARM-Cortex-M/ARMv6-M/ARM/cpu_a.asm | nykytenko/uC-CPU | 0 | 93256 | ;********************************************************************************************************
; uC/CPU
; CPU CONFIGURATION & PORT LAYER
;
; Copyright 2004-2020 Silicon Laboratories Inc. www.silabs.com
;
; ... |
oeis/222/A222068.asm | neoneye/loda-programs | 11 | 165048 | <reponame>neoneye/loda-programs
; A222068: Decimal expansion of (1/16)*Pi^2.
; Submitted by <NAME>
; 6,1,6,8,5,0,2,7,5,0,6,8,0,8,4,9,1,3,6,7,7,1,5,5,6,8,7,4,9,2,2,5,9,4,4,5,9,5,7,1,0,6,2,1,2,9,5,2,5,4,9,4,1,4,1,5,0,8,3,4,3,3,6,0,1,3,7,5,2,8,0,1,4,0,1,2,0,0,3,2,7,6,8,7,6,1,0,8,3,7,7,3,2,4,0,9,5,1,4,4
add $0,1
mov $1,1
... |
VS/CSHARP/asm-dude-vsix/Resources/examples/TextFile1.asm | YellowAfterlife/asm-dude | 4,075 | 178320 |
mov rax, -10
|
programs/oeis/070/A070412.asm | neoneye/loda | 22 | 6273 | ; A070412: a(n) = 7^n mod 27.
; 1,7,22,19,25,13,10,16,4,1,7,22,19,25,13,10,16,4,1,7,22,19,25,13,10,16,4,1,7,22,19,25,13,10,16,4,1,7,22,19,25,13,10,16,4,1,7,22,19,25,13,10,16,4,1,7,22,19,25,13,10,16,4,1,7,22,19,25,13,10,16,4,1,7,22,19,25,13,10,16,4,1,7,22,19,25,13,10,16,4,1,7,22,19,25,13,10,16,4,1
mov $1,$0
mul $0,15
a... |
Working Disassembly/General/Special Stage/Map - Sphere.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 3995 | Map_A464: dc.w word_A48A-Map_A464
dc.w word_A492-Map_A464
dc.w word_A49A-Map_A464
dc.w word_A4A2-Map_A464
dc.w word_A4AA-Map_A464
dc.w word_A4B2-Map_A464
dc.w word_A4BA-Map_A464
dc.w word_A4C2-Map_A464
dc.w word_A4CA-Map_A464
dc.w word_A4D2-Map_A464
dc.w word_A4DA-Map_A464
dc.w word_A4DA-Map_A464... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1034.asm | ljhsiun2/medusa | 9 | 163295 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1034.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1671b, %rsi
lea addresses_UC_ht+0x39db, %rdi
nop
nop
nop
sub $11283, %r9
mov $101, %r... |
src/agate-syscalls.ads | Fabien-Chouteau/AGATE | 3 | 3450 | <reponame>Fabien-Chouteau/AGATE
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017-2018, <NAME> --
-- ... |
programs/oeis/040/A040309.asm | karttu/loda | 1 | 13164 | ; A040309: Continued fraction for sqrt(328).
; 18,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36
add $0,1
mov $1,$0
mul $1,$0
trn $1,3
sub $1,2
gcd $1,8
mul $1,9
|
programs/oeis/055/A055881.asm | jmorken/loda | 1 | 99302 | <filename>programs/oeis/055/A055881.asm
; A055881: a(n) = largest m such that m! divides n.
; 1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,4,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,4,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,4,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,4,1,2,1,2,1,3,1,2,1,2,1,3,1,2,1,2,1,... |
app/prelude1/src/player-6.asm | ern0/549notes | 2 | 176875 | ;-----------------------------------------------------------------------
; Prelude1 - PC-DOS 256-byte intro by ern0 & TomCat
; Prototype-2: raw-diff-5 nctab nutab
;
; Target: 80386 real mode, assembler: FASM
;
;-----------------------------------------------------------------------
; Register allocation:
;
; AL -... |
scripts/get-path-without-extension.applescript | retifrav/ASs | 0 | 4650 | on getPathWithoutExtension(fname)
set pathWithoutExtension to ""
set defaultTID to AppleScript's text item delimiters
try
# debug
#set fname to "/Users/yourname/temp/some.log"
# set new delimiters to "."
set AppleScript's text item delimiters to {"."}
# get the list of fname items separated by the new deli... |
tests/mac.watcher.scpt | PetroccoCo/AdapterJS | 421 | 2586 | <filename>tests/mac.watcher.scpt
repeat
if application "Safari" is running then
tell application "System Events" to tell process "npTemWebRTCPlugin (Safari Internet plug-in)"
if window 1 exists then
if exists (button "OK" of front window) then
click (button "OK" of front window)
end if
... |
data/baseStats_weird/wigglytuff_alt.asm | longlostsoul/EvoYellow | 16 | 179904 | db DEX_WIGGLYTUFF ; pokedex id
db 140 ; base hp
db 70 ; base attack
db 45 ; base defense
db 45 ; base speed
db 85 ; base special
db FIGHTING ; species type 1
db FAIRY ; species type 2
db FULL_HEAL ; catch rate
db 60 ; base exp yield
INCBIN "pic/ymon/wigglytuff.pic",0,1 ; 66, sprite dimensions
dw WigglytuffPicFront
dw W... |
src/main.asm | hundredrabbits/Donsol | 113 | 9864 |
;; main
;; timers
handleTimer: ; when auto@room is 1, do post flip actions
LDA auto@room
CMP #$01
BNE @skip
DEC auto@room
JSR flipPost@room
@skip: ;
;; skip if no input
handleJoy: ;
LDA next@input
CMP #$00
BNE releaseJoy
INC seed1@de... |
src/Categories/Category/Exact.agda | Akshobhya1234/agda-categories | 0 | 1166 | {-# OPTIONS --without-K --safe #-}
-- Exact category (https://ncatlab.org/nlab/show/exact+category)
-- is a regular category
-- in which every internal equivalence is a kernel pair
module Categories.Category.Exact where
open import Level
open import Categories.Category.Core
open import Categories.Diagram.Pullback
o... |
ordinary/runge_8th.adb | jscparker/math_packages | 30 | 17859 | <reponame>jscparker/math_packages<gh_stars>10-100
-----------------------------------------------------------------------
-- package body Runge_8th, 8th order Prince and Dormand Runge-Kutta
-- Copyright (C) 2008-2018 <NAME>.
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with... |
programs/oeis/021/A021040.asm | karttu/loda | 0 | 167226 | ; A021040: Decimal expansion of 1/36.
; 0,2,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
mul $0,5
mov $1,7
mov $2,$0
cmp $2,0
add $0,$2
mod $1,$0
|
oeis/244/A244663.asm | neoneye/loda-programs | 11 | 170230 | <gh_stars>10-100
; A244663: Binary representation of 4^n + 2^(n+1) - 1.
; 111,10111,1001111,100011111,10000111111,1000001111111,100000011111111,10000000111111111,1000000001111111111,100000000011111111111,10000000000111111111111,1000000000001111111111111,100000000000011111111111111,10000000000000111111111111111,10000000... |
asm/Three-Sort.asm | hixio-mh/hrm-cpu | 24 | 94991 | -- HUMAN RESOURCE MACHINE PROGRAM --
a:
INBOX
COPYTO 0
INBOX
COPYTO 1
INBOX
COPYTO 2
COMMENT 2
SUB 1
JUMPN b
COMMENT 1
JUMP c
b:
COMMENT 0
COPYFROM 2
COPYTO 3
COPYFROM 1
COPYTO 2
COPYFROM 3
COPYTO 1
c:
COMME... |
oeis/075/A075913.asm | neoneye/loda-programs | 11 | 4123 | <reponame>neoneye/loda-programs
; A075913: Fifth column of triangle A075500.
; Submitted by <NAME>
; 1,75,3500,131250,4344375,132890625,3855156250,107765625000,2933008203125,78271552734375,2058270703125000,53524929199218750,1380066321044921875,35349237725830078125,900813505310058593750,22863955398559570312500,578500758... |
arch/i386/mm/gdt.asm | samuelts/naiveos | 0 | 23521 | <gh_stars>0
[BITS 32]
section .text
[GLOBAL gdt_flush]
gdt_flush:
mov eax, [esp + 4]
lgdt [eax]
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
jmp 0x08:.flush
.flush:
ret
|
src/main/antlr4/Modulo12Lexer.g4 | njnjyyh1991/Modulo12 | 0 | 7633 | lexer grammar Modulo12Lexer;
A : [aA];
B : [bB];
C : [cC];
D : [dD];
E : [eE];
F : [fF];
G : [gG];
H : [hH];
I : [iI];
J : [jJ];
K : [kK];
L : [lL];
M : [mM];
N : [nN];
O : [oO];
P : [pP];
Q : [qQ];
R : [rR];
S : [sS];
T : [tT];
U : [uU];
V : [vV];
W : [wW];
X : [xX];
Y : [yY];
Z : [zZ];
// Conditions
EQ: '=';
LEQ: '... |
lib/avx512/mb_mgr_aes_cbcs_1_9_flush_avx512.asm | intel/intel-ipsec-mb | 174 | 243520 | <reponame>intel/intel-ipsec-mb
;;
;; Copyright (c) 2020-2021, Intel Corporation
;;
;; 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 above copyright notice,
;; ... |
agda-stdlib/src/Relation/Binary/Construct/Closure/Reflexive/Properties/WithK.agda | DreamLinuxer/popl21-artifact | 5 | 15572 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Some properties of reflexive closures which rely on the K rule
------------------------------------------------------------------------
{-# OPTIONS --safe --with-K #-}
module Relation.Binary.Construct.Closure.R... |
oeis/114/A114771.asm | neoneye/loda-programs | 11 | 103197 | ; A114771: Floor[6^(1/3)*10^n]^3.
; Submitted by <NAME>
; 1,5832,5929741,5998805513,5999796014211,5999994127536128,5999994127536128000,5999999080425132440125,5999999971945442706621379,5999999991757006160038514688,5999999999681631553616419338752
mov $1,1
mov $3,$0
mul $3,4
lpb $3
add $6,$2
mul $6,2
add $1,$6
ad... |
src/linux/helios-monitor-ifnet.adb | stcarrez/helios | 1 | 17681 | -----------------------------------------------------------------------
-- helios-monitor-ifnet -- Linux network interface monitor
-- Copyright (C) 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with... |
programs/oeis/183/A183063.asm | neoneye/loda | 22 | 14895 | <reponame>neoneye/loda
; A183063: Number of even divisors of n.
; 0,1,0,2,0,2,0,3,0,2,0,4,0,2,0,4,0,3,0,4,0,2,0,6,0,2,0,4,0,4,0,5,0,2,0,6,0,2,0,6,0,4,0,4,0,2,0,8,0,3,0,4,0,4,0,6,0,2,0,8,0,2,0,6,0,4,0,4,0,4,0,9,0,2,0,4,0,4,0,8,0,2,0,8,0,2,0,6,0,6,0,4,0,2,0,10,0,3,0,6
mov $2,$0
div $0,2
seq $0,5 ; d(n) (also called tau(... |
oeis/291/A291703.asm | neoneye/loda-programs | 11 | 240002 | ; A291703: Number of connected dominating sets in the complete tripartite graph K_{n,n,n}.
; Submitted by <NAME>
; 7,54,490,4050,32674,261954,2096770,16776450,134216194,1073738754,8589928450,68719464450,549755789314,4398046461954,35184371990530,281474976514050,2251799813292034,18014398508695554,144115188074283010,11529... |
programs/oeis/064/A064043.asm | karttu/loda | 1 | 177055 | <reponame>karttu/loda<gh_stars>1-10
; A064043: Number of length 3 walks on an n-dimensional hypercubic lattice starting at the origin and staying in the nonnegative part.
; 0,3,18,51,108,195,318,483,696,963,1290,1683,2148,2691,3318,4035,4848,5763,6786,7923,9180,10563,12078,13731,15528,17475,19578,21843,24276,26883,2967... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_5_247.asm | ljhsiun2/medusa | 9 | 21738 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x15ff4, %rsi
lea addresses_normal_ht+0x157f4, %rdi
nop
add %rdx, %rdx
mov $23, %rcx
rep movsl
nop
nop
nop
nop
xor $52769, %rbx
lea addresses_WC_ht+0x155d9, %r10
clflush (%r10)... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/varsize3_1.ads | best08618/asylo | 7 | 21824 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/varsize3_1.ads
with Varsize3_Pkg1; use Varsize3_Pkg1;
package Varsize3_1 is
pragma Elaborate_Body;
Filter : constant Object := True;
end Varsize3_1;
|
source/numerics/a-nugear.ads | ytomino/drake | 33 | 18410 | pragma License (Unrestricted);
-- implementation unit for Generic_Real_Arrays and Generic_Complex_Arrays
private package Ada.Numerics.Generic_Arrays is
pragma Pure;
-- vector selection, conversion, and composition operations
generic
type Number is private;
type Vector is array (Integer range <>... |
programs/oeis/155/A155456.asm | karttu/loda | 0 | 18930 | ; A155456: Write (1+1/x)*log(1+x) = Sum c(n)*x^n; then a(n) = (n+1)!*c(n).
; -1,-1,1,-2,6,-24,120,-720,5040,-40320,362880,-3628800,39916800,-479001600,6227020800,-87178291200,1307674368000,-20922789888000,355687428096000,-6402373705728000
mov $1,1
mov $2,2
sub $2,$0
sub $2,1
fac $2
add $2,1
sub $1,$2
|
Miscellaneous/kabaddi.asm | suriya-1403/Assemble-language | 0 | 178099 | <reponame>suriya-1403/Assemble-language
DATA SEGMENT
LEAGU DB 08H,09H,0AH,04H,0CH,0DH,02H,00H,02H,05H
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE, DS: DATA
START:
MOV AX,DATA
MOV DS,AX
MOV CH,09H
LP1:
MOV CL,09H
LEA SI, LEAGU
LP2:
MOV AL,[SI]
MOV BL,[SI+1]
CMP AL,BL
JNC D... |
source/nodes/program-nodes-digits_constraints.ads | reznikmm/gela | 0 | 19785 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.Constraints;
with Program.Elements.Digits_Constraints;
with Program.Element_Visitor... |
programs/oeis/219/A219846.asm | jmorken/loda | 1 | 86464 | ; A219846: Number of n X 2 arrays of the minimum value of corresponding elements and their horizontal or antidiagonal neighbors in a random, but sorted with lexicographically nondecreasing rows and nonincreasing columns, 0..2 n X 2 array.
; 3,7,16,33,62,108,177,276,413,597,838,1147,1536,2018,2607,3318,4167,5171,6348,77... |
S-F200VX_20180919/Protocol_TX_Handle.asm | xcwk/8-Pads-WiFi-Fat-Scale | 1 | 173530 | <reponame>xcwk/8-Pads-WiFi-Fat-Scale
;=================================================
;===== Protocol_TX_Handle.asm
;=================================================
Protocol_TX_Entry:
BTFSC UART_TX_EVENT,B_UART_TX_EVENT_ACK
GOTO Protocol_TX_ACK
BTFSC UART_TX_EVENT,B_UART_TX_EVENT_unlock
GOTO Pr... |
antlr4-formatter/src/test/resources/at.formatted.g4 | quantrpeter/Antlr4Formatter | 28 | 6061 | <filename>antlr4-formatter/src/test/resources/at.formatted.g4
// Define a grammar called Hello
grammar Hello;
r
: 'hello' ID
; // match keyword hello followed by an identifier
AT
: '@'
;
ELLIPSIS
: '...'
;
|
programs/oeis/124/A124778.asm | karttu/loda | 0 | 100887 | ; A124778: Number of unlabeled unordered rooted forests associated with compositions in standard order.
; 1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,2,2,1,1,1,1,2,1,1,1,1,1
sub $0,1
cal $0,56976 ; Number of blocks of {0, 1, 0} in the binary expansion of n.
mov $1,$0
add $1,1
|
oeis/127/A127952.asm | neoneye/loda-programs | 11 | 240927 | <gh_stars>10-100
; A127952: Triangle read by rows, T(n,k) = (n+1)*C(n-1,k-1).
; Submitted by <NAME>
; 1,0,2,0,3,3,0,4,8,4,0,5,15,15,5,0,6,24,36,24,6,0,7,35,70,70,35,7,0,8,48,120,160,120,48,8,0,9,63,189,315,315,189,63,9,0,10,80,280,560,700,560,280,80,10,0,11,99,396,924,1386,1386,924,396,99,11,0,12,120,540,1440,2520,3024... |
test/Succeed/Issue1259.agda | KDr2/agda | 0 | 3064 | <filename>test/Succeed/Issue1259.agda
-- Andreas, 2014-08-28, reported by <NAME>
{-# OPTIONS --cubical-compatible #-}
-- {-# OPTIONS -v term:20 #-}
module _ where
data Bool : Set where true false : Bool
data List (A : Set) : Set where
[] : List A
_∷_ : A → List A → List A
module Sort (A : Set) ( _≤_ : A → A ... |
add.asm | SuperSecureHuman/Hack_Assembler_Nand2Tetris | 0 | 28316 | //Comment
@2 //Comment but in middle
D = A //comment to let you know that there is a space in this inst
@3
D=D+ A
@0
M=D
//comment but in end
|
sharding-core/src/main/antlr4/imports/OracleDCLStatement.g4 | ahugeStone/sharding-sphere | 0 | 274 | <filename>sharding-core/src/main/antlr4/imports/OracleDCLStatement.g4<gh_stars>0
grammar OracleDCLStatement;
import OracleKeyword, Keyword, OracleBase, BaseRule, DataType, Symbol;
grant
: GRANT
(
(grantSystemPrivileges | grantObjectPrivilegeClause) (CONTAINER EQ_ (CURRENT | ALL))?
| grantRoles... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0xca_notsx.log_21829_958.asm | ljhsiun2/medusa | 9 | 1521 | <filename>Transynther/x86/_processed/NC/_zr_/i3-7100_9_0xca_notsx.log_21829_958.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x11637, %rsi
lea addresses_WC_ht+0x72f7, %rdi
nop
nop
nop
nop
add %rax, %rax
mov $48, %rcx
rep movsl... |
source/oasis/program-elements-unconstrained_array_types.ads | optikos/oasis | 0 | 3899 | <reponame>optikos/oasis<gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Type_Definitions;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Progr... |
src/Categories/Minus2-Category/Properties.agda | Trebor-Huang/agda-categories | 279 | 15400 | <reponame>Trebor-Huang/agda-categories<filename>src/Categories/Minus2-Category/Properties.agda
{-# OPTIONS --without-K --safe #-}
module Categories.Minus2-Category.Properties where
-- All -2-Categories are equivalent to One
open import Level
open import Data.Product using (Σ; _,_; proj₁; proj₂)
open import Data.Unit... |
efi_bootloader/misc.asm | danielabbott/UEFI-Bootloader | 1 | 179298 | BITS 64
SECTION .text
; void set_cr3(uintptr_t);
global set_cr3
set_cr3:
mov cr3, rdi
ret |
src/Category/Profunctor/Joker.agda | crisoagf/agda-optics | 0 | 177 | module Category.Profunctor.Joker where
open import Agda.Primitive using (Level; _⊔_; lsuc)
open import Data.Sum using (_⊎_; inj₁; inj₂)
open import Category.Functor using (RawFunctor; module RawFunctor)
open import Category.Functor.Lawful
open import Category.Profunctor
open import Category.Choice
open import Relation.... |
Task/Reverse-words-in-a-string/Ada/reverse-words-in-a-string-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 27890 | <reponame>LaudateCorpus1/RosettaCodeData
with Ada.Text_IO, Simple_Parse;
procedure Reverse_Words is
function Reverse_Words(S: String) return String is
Cursor: Positive := S'First;
Word: String := Simple_Parse.Next_Word(S, Cursor);
begin
if Word = "" then
return "";
else
... |
programs/oeis/044/A044242.asm | neoneye/loda | 22 | 244785 | ; A044242: Numbers n such that string 6,7 occurs in the base 8 representation of n but not of n-1.
; 55,119,183,247,311,375,439,503,567,631,695,759,823,887,951,1015,1079,1143,1207,1271,1335,1399,1463,1527,1591,1655,1719,1783,1847,1911,1975,2039,2103,2167,2231,2295,2359,2423,2487,2551
mul $0,64
add $0,55
|
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_1496.asm | ljhsiun2/medusa | 9 | 105546 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_1496.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rbp
lea addresses_WC_ht+0xf34a, %rbp
nop
nop
nop
nop
nop
add %r13, %r13
vmovups (%rbp), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $1, %xmm0,... |
Application/AssemblyCode/working_and_tmp_asm_files/MAIN_ASSEMBLY_CODE_WITH_GHOST_AND_PACMAN_AI.asm | t0ddpar0dy/Handmade_Pacman | 0 | 21044 | //JUC r6 start_menu ///calls start_game.
start_Game:
JAL r6 initlevel
JAL r6 INIT_PACMAN
JAL r6 INIT_GreenGhost
mainGameLoop:
JAL r6 PACMAN_UPDATE_STATE
JAL r6 GreenGhost_UPDATE_STATE
JAL r6 GreenGhost_Draw_GLYPH
JAL r6 PACMAN_DRAW_GLYPH
JUC r6 mainGameLoop
//:::::::::::::BEGIN PACMAN STATE MACHINE::::::::::::::... |
libsrc/_DEVELOPMENT/arch/zx/esxdos/c/sdcc_iy/esxdos_f_seek_callee.asm | jpoikela/z88dk | 640 | 240478 | <reponame>jpoikela/z88dk
; ulong esxdos_f_seek(uchar handle, ulong dist, uchar whence)
SECTION code_clib
SECTION code_esxdos
PUBLIC _esxdos_f_seek_callee
PUBLIC l0_esxdos_f_seek_callee
EXTERN asm_esxdos_f_seek
_esxdos_f_seek_callee:
pop hl
dec sp
pop af
pop de
pop bc
dec sp
ex (sp),hl
l0_esxd... |
oeis/078/A078048.asm | neoneye/loda-programs | 11 | 88679 | ; A078048: Expansion of (1-x)/(1+x+2*x^2-2*x^3).
; Submitted by <NAME>(s2)
; 1,-2,0,6,-10,-2,34,-50,-22,190,-246,-178,1050,-1186,-1270,5742,-5574,-8450,31082,-25330,-53734,166558,-109750,-330834,883450,-441282,-1987286,4636750,-1544742,-11703330,24066314,-3749138,-67790150,123421054,4660970,-387083378,624603546
mov $1... |
3-mid/opengl/source/lean/geometry/opengl-primitive.ads | charlie5/lace | 20 | 25519 | <reponame>charlie5/lace<gh_stars>10-100
with
openGL.Texture;
private
with
ada.unchecked_Conversion;
package openGL.Primitive
--
-- Provides a base class for openGL primitives.
--
is
type Item is abstract tagged limited private;
subtype Class is Item'Class;
type View is access all Item'cla... |
programs/oeis/026/A026567.asm | jmorken/loda | 1 | 242062 | <filename>programs/oeis/026/A026567.asm
; A026567: a(n) = Sum{T(i,j)}, 0<=j<=i, 0<=i<=2n, T given by A026552.
; 1,4,13,31,85,193,517,1165,3109,6997,18661,41989,111973,251941,671845,1511653,4031077,9069925,24186469,54419557,145118821,326517349,870712933,1959104101,5224277605,11754624613,31345665637,70527747685,188073993... |
data/mapObjects/CeladonPokecenter.asm | AmateurPanda92/pokemon-rby-dx | 9 | 81097 | CeladonPokecenter_Object:
db $0 ; border block
db 2 ; warps
warp 3, 7, 5, -1
warp 4, 7, 5, -1
db 0 ; signs
db 4 ; objects
object SPRITE_NURSE, 3, 1, STAY, DOWN, 1 ; person
object SPRITE_GENTLEMAN, 7, 3, WALK, 2, 2 ; person
object SPRITE_FOULARD_WOMAN, 10, 5, WALK, 0, 3 ; person
object SPRITE_CABLE_CLUB_WOM... |
old/Metalogic/Metalogic/Classical/Propositional/Syntax.agda | Lolirofle/stuff-in-agda | 6 | 14118 | <gh_stars>1-10
module Metalogic.Classical.Propositional.Syntax {ℓₚ} (Proposition : Set(ℓₚ)) where
import Lvl
infixl 1011 •_
infixl 1010 ¬_
infixl 1005 _∧_
infixl 1004 _∨_
infixl 1000 _⇐_ _⇔_ _⇒_
data Formula : Set(ℓₚ) where
•_ : Proposition → Formula
⊤ : Formula
⊥ : Formula
¬_ : Formula → Formula
_∧_ : ... |
programs/oeis/061/A061006.asm | karttu/loda | 1 | 425 | ; A061006: a(n) = (n-1)! mod n.
; 0,1,2,2,4,0,6,0,0,0,10,0,12,0,0,0,16,0,18,0,0,0,22,0,0,0,0,0,28,0,30,0,0,0,0,0,36,0,0,0,40,0,42,0,0,0,46,0,0,0,0,0,52,0,0,0,0,0,58,0,60,0,0,0,0,0,66,0,0,0,70,0,72,0,0,0,0,0,78,0,0,0,82,0,0,0,0,0,88,0,0,0,0,0,0,0,96,0,0,0,100,0,102,0,0,0,106,0,108,0,0,0,112,0,0,0,0,0,0,0,0,0,0,0,0,0,126... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_6_1524.asm | ljhsiun2/medusa | 9 | 178517 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdx
lea addresses_WC_ht+0x1ccc2, %r8
clflush (%r8)
nop
nop
inc %r14
movl $0x61626364, (%r8)
nop
nop
cmp $4196, %r9
lea addresses_WT_ht+0x4682, %rdx
nop
nop
nop
add $61102, %r15
mov $0x6162636465666768, %rcx
movq %rcx, %xm... |
src/yeison_single.adb | mosteo/yeison | 6 | 29059 | <reponame>mosteo/yeison<filename>src/yeison_single.adb<gh_stars>1-10
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Strings.UTF_Encoding.Wide_Wide_Strings;
with GNAT.IO; use GNAT.IO;
package body Yeison_Single is
------------
-- To_Int --
------------
function To_Int (Img : String) retu... |
UefiCpuPkg/CpuDxe/X64/MpAsm.nasm | christopherco/RPi-UEFI | 93 | 161441 | <reponame>christopherco/RPi-UEFI<gh_stars>10-100
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions o... |
lib/chibiakumas/SrcALL/Akuyou_Multiplatform_Interrupts.asm | gilbertfrancois/msx | 0 | 100354 | <gh_stars>0
Interrupts_Install:
nop
di
ifdef BuildCPC
exx
ld (Interrupt_CpcBcRestore_Plus2-2),bc
exx
endif
ifndef Interrupts_UseIM2
ld hl,&0038
ld a,(hl)
ld (InterruptRestore1_Plus1-1),a
; ld sp,&8181 ;this area is free as a stack pointer!
ld a,&C3 ;JP
ld (hl),a
ld de,Interru... |
3-mid/impact/source/2d/dynamics/impact-d2-island.adb | charlie5/lace | 20 | 14065 | <filename>3-mid/impact/source/2d/dynamics/impact-d2-island.adb
with impact.d2.Fixture,
ada.unchecked_Deallocation;
package body impact.d2.Island
is
-- Position Correction Notes
-- =========================
-- I tried the several algorithms for position correction of the 2D revolute joint.
-- I l... |
src/research/bootloader_to_kernel.asm | MijnOS/MijnOS | 0 | 169331 | %define test 2
[BITS 16]
;===========
; Start of the bootloader
;===========
start:
mov ax,07C0h ; Set up 4K stack space after this bootloader
add ax,288 ; (4096 + 512) / 16 bytes per paragraph
mov ss,ax
mov sp,4096
mov ax,07C0h ; ... |
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBaseLexer.g4 | sji15/spark | 0 | 4608 | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/derror_nannc.asm | jpoikela/z88dk | 640 | 10971 | <gh_stars>100-1000
SECTION code_clib
SECTION code_fp_math48
PUBLIC derror_nannc
EXTERN am48_derror_nannc
defc derror_nannc = am48_derror_nannc
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_958.asm | ljhsiun2/medusa | 9 | 169267 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x10149, %rsi
lea addresses_D_ht+0x123df, %rdi
clflush (%rsi)
clflush (%rdi)
nop
nop
nop
sub $33417, %rax
mov $66, %rcx
rep movsq
nop
nop
nop
dec ... |
core/lib/groupoids/Groupoids.agda | timjb/HoTT-Agda | 294 | 14212 | <filename>core/lib/groupoids/Groupoids.agda
{-# OPTIONS --without-K --rewriting #-}
module lib.groupoids.Groupoids where
open import lib.groupoids.FundamentalPreGroupoid public
|
alloy4fun_models/trashltl/models/7/mXiGDNPBL3GjbYnZG.als | Kaixi26/org.alloytools.alloy | 0 | 3969 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idmXiGDNPBL3GjbYnZG_prop8 {
all f1,f2 : File | f1 -> f2 in link implies f1 in Trash
}
pred __repair { idmXiGDNPBL3GjbYnZG_prop8 }
check __repair { idmXiGDNPBL3GjbYnZG_prop8 <=> prop8o } |
HW_Example/h701.asm | smallru8/smallMasmLib | 0 | 244848 | <filename>HW_Example/h701.asm
TITLE (.asm)
INCLUDE Irvine32.inc
INCLUDE Macros.inc
.data
MAX = 100
string1 BYTE MAX+1 DUP(0)
string2 BYTE MAX+1 DUP(0)
.code
main PROC
LOCAL ediLen:DWORD
mWrite "Destination string : "
mov edx,OFFSET string1
mov ecx,MAX
call ReadString
mov edi,OFFSET str... |
src/asf-beans-flash.adb | jquorning/ada-asf | 12 | 2204 | <reponame>jquorning/ada-asf
-----------------------------------------------------------------------
-- asf-beans-flash -- Bean giving access to the flash context
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1259.asm | ljhsiun2/medusa | 9 | 245933 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_1259.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xd086, %r8
nop
nop
nop
add %r10, %r10
movb (%r8), %al
nop
... |
data/pokemon/base_stats/shaymin_s.asm | AtmaBuster/pokeplat-gen2 | 6 | 26485 | <reponame>AtmaBuster/pokeplat-gen2
db 0 ; species ID placeholder
db 100, 103, 75, 127, 120, 75
; hp atk def spd sat sdf
db GRASS, FLYING ; type
db 45 ; catch rate
db 255 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_UNKNOWN ; gender ratio
db 120 ; step cycles to hatch
INCBIN "gfx/pokemon/shaymin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.