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 |
|---|---|---|---|---|
oeis/176/A176734.asm | neoneye/loda-programs | 11 | 176672 | <filename>oeis/176/A176734.asm
; A176734: a(n) = (n+7)*a(n-1) + (n-1)*a(n-2), a(-1)=0, a(0)=1.
; Submitted by <NAME>(s1)
; 1,8,73,746,8425,104084,1395217,20157542,312129649,5155334720,90449857081,1679650774658,32908313146393,678322072223756,14672571587601985,332293083938376254,7862829504396683617,194024597448534426872,... |
data/pokemon/dex_entries/snover.asm | AtmaBuster/pokeplat-gen2 | 6 | 87683 | <filename>data/pokemon/dex_entries/snover.asm<gh_stars>1-10
db "FROST TREE@" ; species name
db "During colder"
next "seasons, it moves"
next "to the mountain's"
page "lower reaches. It"
next "returns to the"
next "summit in spring.@"
|
src/apu.asm | DigiDwrf/neon64v2-easybuild | 36 | 176859 | <reponame>DigiDwrf/neon64v2-easybuild
//define LOG_FRAME_COUNTER()
//define LOG_ALIST()
//define LOG_DMC()
constant apu_min_render_cycles(cycles_per_sample * 3)
constant apu_p1(0)
constant apu_p2(1)
constant apu_tri(2)
constant apu_noise(3)
begin_bss()
align(8)
apu_timer:; dh 0, 0, 0, 0
apu_len:; db 0, 0, 0, 0
// A... |
archive/agda-1/Term.agda | m0davis/oscar | 0 | 17206 | <gh_stars>0
{-# OPTIONS --allow-unsolved-metas #-}
module Term where
open import OscarPrelude
open import VariableName
open import FunctionName
open import Arity
open import Vector
mutual
data Term : Set
where
variable : VariableName → Term
function : FunctionName → Terms → Term
record Terms : Set
... |
libsrc/graphics/gal/xorpixl.asm | jpoikela/z88dk | 38 | 10189 | <filename>libsrc/graphics/gal/xorpixl.asm
SECTION code_clib
PUBLIC xorpixl
EXTERN xor_MODE0
EXTERN xor_MODE1
EXTERN __gal_mode
xorpixl:
ld a,(__gal_mode)
cp 1
jp z,xor_MODE1
and a
ret nz
jp xor_MODE0
|
oeis/261/A261300.asm | neoneye/loda-programs | 11 | 86023 | ; A261300: Concatenate successive run lengths of 0's in the binary expansion of n, each increased by 1.
; Submitted by <NAME>(s2)
; 0,1,2,11,3,21,12,111,4,31,22,211,13,121,112,1111,5,41,32,311,23,221,212,2111,14,131,122,1211,113,1121,1112,11111,6,51,42,411,33,321,312,3111,24,231,222,2211,213,2121,2112,21111,15,141,132,... |
libtool/src/gmp-6.1.2/mpn/x86/pentium4/copyd.asm | kroggen/aergo | 1,602 | 16378 | dnl Pentium-4 mpn_copyd -- copy limb vector, decrementing.
dnl Copyright 1999-2001 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General P... |
src/FOmegaInt/Kinding/Canonical/Reduced.agda | Blaisorblade/f-omega-int-agda | 0 | 16592 | ------------------------------------------------------------------------
-- Reduced canonical kinding for the undecidability proof
------------------------------------------------------------------------
{-# OPTIONS --safe --exact-split --without-K #-}
module FOmegaInt.Kinding.Canonical.Reduced where
open import Dat... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/fdim.asm | meesokim/z88dk | 0 | 178822 | <filename>libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/fdim.asm
SECTION code_fp_math48
PUBLIC fdim
EXTERN cm48_sccz80_fdim
defc fdim = cm48_sccz80_fdim
|
libsrc/psg/sn76489/set_psg.asm | jpoikela/z88dk | 38 | 91877 | <gh_stars>10-100
;
; SN76489 (a.k.a. SN76494,SN76496,TMS9919,SN94624) sound routines
; by <NAME>, 2018
;
; int set_psg(int reg, int val);
;
; Play a sound by PSG
;
;
; $Id: set_psg.asm $
;
SECTION code_clib
PUBLIC set_psg
PUBLIC _set_psg
EXTERN set_psg_callee
EXTERN ASMDISP_SET_PSG_CALLEE
set_psg:
_se... |
bot/src/main/antlr4/co/edu/javeriana/bot/Bot.g4 | osmancadc/bot_language | 0 | 3599 | grammar Bot;
@header {
import org.jpavlich.bot.*;
}
@parser::members {
private Bot bot;
public BotParser(TokenStream input, Bot bot) {
this(input);
this.bot = bot;
}
}
program:
comment*
DEFINE MAIN OPEN_PARENTESIS parameters CLOSE_PARENTESIS START_FUNCTION
sentence*
END
;
parameters: PARAMETE... |
Cubical/Algebra/CommAlgebra/QuotientAlgebra.agda | gmagaf/cubical | 0 | 4811 | {-# OPTIONS --safe #-}
module Cubical.Algebra.CommAlgebra.QuotientAlgebra where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Powerset using (_∈_; _⊆_)
open import Cubical.... |
oeis/033/A033566.asm | neoneye/loda-programs | 11 | 29114 | <filename>oeis/033/A033566.asm
; A033566: a(n) = (2*n+1) * (4*n-1).
; -1,9,35,77,135,209,299,405,527,665,819,989,1175,1377,1595,1829,2079,2345,2627,2925,3239,3569,3915,4277,4655,5049,5459,5885,6327,6785,7259,7749,8255,8777,9315,9869,10439,11025,11627,12245,12879,13529,14195,14877,15575,16289,17019,17765,18527,19305,200... |
oeis/188/A188626.asm | neoneye/loda-programs | 11 | 96638 | ; A188626: a(n) = n + (n-1)*2^(n-2).
; 1,3,7,16,37,86,199,456,1033,2314,5131,11276,24589,53262,114703,245776,524305,1114130,2359315,4980756,10485781,22020118,46137367,96469016,201326617,419430426,872415259,1811939356,3758096413,7784628254,16106127391,33285996576,68719476769,141733920802,292057776163,601295421476,123695... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/socket1.adb | best08618/asylo | 7 | 16617 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/socket1.adb
-- { dg-do run { target { ! "*-*-solaris2*" } } }
with GNAT.Sockets; use GNAT.Sockets;
procedure socket1 is
X : Character;
begin
X := 'x';
GNAT.Sockets.Initialize;
declare
H : Host_Entry_Type := Get_Host_By_Address (Inet_Addr ("127.0.0... |
programs/oeis/212/A212329.asm | neoneye/loda | 22 | 160155 | ; A212329: Expansion of x*(5+x)/(1-7*x+7*x^2-x^3).
; 0,5,36,217,1272,7421,43260,252145,1469616,8565557,49923732,290976841,1695937320,9884647085,57611945196,335787024097,1957110199392,11406874172261,66484134834180,387497934832825,2258503474162776,13163522910143837,76722633986700252,447172281010057681,2606311052073645840... |
src/main.asm | BU9D4DDY/BookStore_Assembly | 2 | 97691 | <reponame>BU9D4DDY/BookStore_Assembly<filename>src/main.asm
.model small
.data
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; DEFINING VARIABLES ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;... |
data/pokemon/base_stats/drifloon.asm | AtmaBuster/pokeplat-gen2 | 6 | 12964 | db 0 ; species ID placeholder
db 90, 50, 34, 70, 60, 44
; hp atk def spd sat sdf
db GHOST, FLYING ; type
db 125 ; catch rate
db 70 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 30 ; step cycles to hatch
INCBIN "gfx/pokemon/drifloon/front.dimensions"
db GROWTH_FLUCTUATI... |
test/Succeed/NoUniverseCheck.agda | cruhland/agda | 1,989 | 6006 | <reponame>cruhland/agda<gh_stars>1000+
{-# OPTIONS --type-in-type #-}
module NoUniverseCheck where
data M : Set -> Set where
return : forall {a} -> a -> M a
_>>=_ : forall {a b} -> M a -> (a -> M b) -> M b
record Cat : Set where
field
Obj : Set
Mor : Obj -> Obj -> Set
data _≡_ {a : Set} (x : a) : a... |
src/drivers/adabase-driver-base-postgresql.adb | jrmarino/AdaBase | 30 | 16487 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with AdaBase.Results.Sets;
package body AdaBase.Driver.Base.PostgreSQL is
package ARS renames AdaBase.Results.Sets;
-------------
-- query --
-------------
function query (driver : PostgreSQL... |
programs/oeis/189/A189976.asm | neoneye/loda | 22 | 92282 | <reponame>neoneye/loda
; A189976: a(n) is the number of incongruent two-color bracelets of n beads, 8 of them black (A005514), having a diameter of symmetry.
; 1,1,5,5,15,15,35,35,70,70,126,126,210,210,330,330,495,495,715,715,1001,1001,1365,1365,1820,1820,2380,2380,3060,3060,3876,3876,4845,4845,5985,5985,7315,7315,8855... |
awa/src/awa-services-filters.ads | fuzzysloth/ada-awa | 81 | 25108 | <reponame>fuzzysloth/ada-awa<filename>awa/src/awa-services-filters.ads
-----------------------------------------------------------------------
-- awa-services-filters -- Setup service context in request processing flow
-- Copyright (C) 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache Licen... |
Adder with Multiplexing.asm | dnzltajo/Pic16f628A | 1 | 24689 | ;****************************************************************************************
; Experiment 2
; Author: <NAME>
; Description: Addition with Multiplexing
;****************************************************************************************
list p=16f628A
#include <p16F628A.inc> ... |
test/Succeed/Issue2925.agda | alhassy/agda | 1 | 8158 | {-# OPTIONS --rewriting #-}
open import Agda.Builtin.Equality
{-# BUILTIN REWRITE _≡_ #-}
postulate
X : Set₁
rew : X ≡ Set
{-# REWRITE rew #-}
{-# REWRITE rew #-}
|
ada/words.ads | procrastiraptor/euler | 1 | 24404 | package Words is
type String_Ptr is access String;
type List is array (Positive range <>) of String_Ptr;
function Score(S: String) return Natural;
function Split(S: String; On: Character := ',') return List;
procedure Free(L: in out List);
end Words;
|
apps/bootloader/flash.adb | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 23935 | <gh_stars>0
with System;
package body Flash is
FCTL1 : Unsigned_16 with Import, Address => System'To_Address (16#0128#);
FCTL2 : Unsigned_16 with Import, Address => System'To_Address (16#012A#);
FCTL3 : Unsigned_16 with Import, Address => System'To_Address (16#012C#);
Flash_Memory : array (Unsigned_16 ra... |
src/data/lib/prim/Agda/Builtin/Cubical/Glue.agda | phadej/agda | 0 | 10743 | <filename>src/data/lib/prim/Agda/Builtin/Cubical/Glue.agda<gh_stars>0
{-# OPTIONS --cubical --safe --no-sized-types --no-guardedness #-}
module Agda.Builtin.Cubical.Glue where
open import Agda.Primitive
open import Agda.Builtin.Sigma
open import Agda.Primitive.Cubical renaming (primINeg to ~_; primIMax to _∨_; primIMi... |
src/_test/helpers/apsepp-test_node_class-runner_sequential-w_slave_nodes.adb | thierr26/ada-apsepp | 0 | 3779 | -- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Ada.Exceptions,
Ada.Unchecked_Deallocation,
Apsepp.Generic_Shared_Instance.Access_Setter,
Apsepp.Test_Node_Class.Private_Test_Reporter;
package body Apsepp.Test_Node_Class.Runner_Sequential.W_Slave_Nodes is
... |
Wk06_MiniBomb2/phase2.asm | jwatson-CO-edu/CSCI2400-201_Demo | 1 | 246296 | <reponame>jwatson-CO-edu/CSCI2400-201_Demo
00000000000006df <driver_2>:
# Stack Frame Creation
6df: 55 push %rbp
6e0: 48 89 e5 mov %rsp,%rbp
6e3: 48 83 ec 10 sub $0x10,%rsp
# Function logic begins
6e7: 48 8d 05 82 09 20 00 lea 0x200982(%rip),%rax # Add 0x200982... |
gcc-gcc-7_3_0-release/gcc/ada/s-trafor-default.ads | best08618/asylo | 7 | 28224 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
oeis/016/A016912.asm | neoneye/loda-programs | 11 | 22221 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A016912: (6n)^4.
; 0,1296,20736,104976,331776,810000,1679616,3111696,5308416,8503056,12960000,18974736,26873856,37015056,49787136,65610000,84934656,108243216,136048896,168896016,207360000,252047376,303595776,362673936,429981696,506250000,592240896,688747536,796594176,91... |
oeis/273/A273335.asm | neoneye/loda-programs | 11 | 20325 | ; A273335: Number of active (ON,black) cells at stage 2^n-1 of the two-dimensional cellular automaton defined by "Rule 657", based on the 5-celled von Neumann neighborhood.
; 1,4,48,224,960,3968,16128,65024,261120,1046528,4190208,16769024,67092480,268402688,1073676288,4294836224
seq $0,273385 ; Number of active (ON,bl... |
benchmark/categories/Primitive.agda | larrytheliquid/agda | 0 | 16470 | {-# OPTIONS --type-in-type #-}
module Primitive where
infixr 2 _,_
record Σ (A : Set)(B : A → Set) : Set where
constructor _,_
field fst : A
snd : B fst
open Σ
data ⊤ : Set where
tt : ⊤
∃ : {A : Set}(B : A → Set) → Set
∃ B = Σ _ B
infix 10 _≡_
data _≡_ {A : Set}(a : A) : {B : Set} → B → Set where
... |
src/fot/FOTC/Data/Conat.agda | asr/fotc | 11 | 11350 | ------------------------------------------------------------------------------
-- Co-inductive natural numbers
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
... |
progress-checks.agda | hazelgrove/hazelnut-dynamics-agda | 16 | 4168 | <reponame>hazelgrove/hazelnut-dynamics-agda
open import Nat
open import Prelude
open import core
open import contexts
open import lemmas-consistency
open import type-assignment-unicity
open import lemmas-progress-checks
-- taken together, the theorems in this file argue that for any expression
-- d, at most one summan... |
projects/batfish/src/org/batfish/grammar/cisco/Cisco_aaa.g4 | gaberger/batfish | 1 | 7379 | parser grammar Cisco_aaa;
import Cisco_common;
options {
tokenVocab = CiscoLexer;
}
aaa_accounting
:
ACCOUNTING
(
aaa_accounting_commands
| aaa_accounting_connection
| aaa_accounting_default
| aaa_accounting_delay_start
| aaa_accounting_exec_line
| aaa_accounting_exec_sta... |
exampl03/menudemo/menudemo.asm | AlexRogalskiy/Masm | 0 | 11650 | <filename>exampl03/menudemo/menudemo.asm<gh_stars>0
title MenuDemo
comment '*==============================*'
comment '* Programed by <NAME> *'
comment '* E-MAIL: <EMAIL> *'
comment '*==============================*'
.586
.model flat, stdcall
... |
programs/oeis/100/A100007.asm | jmorken/loda | 1 | 242488 | <filename>programs/oeis/100/A100007.asm
; A100007: Number of unitary divisors of 2n-1 (d such that d divides 2n-1, GCD(d,(2n-1)/d)=1). Bisection of A034444.
; 1,2,2,2,2,2,2,4,2,2,4,2,2,2,2,2,4,4,2,4,2,2,4,2,2,4,2,4,4,2,2,4,4,2,4,2,2,4,4,2,2,2,4,4,2,4,4,4,2,4,2,2,8,2,2,4,2,4,4,4,2,4,2,2,4,2,4,4,2,2,4,4,4,4,2,2,4,4,2,4,4... |
Cats/Category/Presheaves/Facts.agda | JLimperg/cats | 24 | 2848 | <reponame>JLimperg/cats
{-# OPTIONS --without-K --safe #-}
module Cats.Category.Presheaves.Facts where
open import Cats.Category.Presheaves.Facts.Exponential public using
( hasExponentials )
open import Cats.Category
open import Cats.Category.Presheaves
import Cats.Category.Fun.Facts as Fun
import Cats.Category.Se... |
tests/devices/ramtop/ramtop.asm | lvd2/sjasmplus | 1 | 26741 | ; various syntax errors
DEVICE NONE x
DEVICE NONE,
DEVICE NONE,,
DEVICE NONE, 0 ; error valid range (ZX-like expected)
DEVICE NONE, $8000, ; error for extra argument
DEVICE NONE, $8000, 0 ; error for extra argument
; following two are "good", because NONE ignores any ramtop... |
src/net.ads | stcarrez/ada-enet | 16 | 12334 | -----------------------------------------------------------------------
-- net -- Network stack
-- Copyright (C) 2016, 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 the License.
-- You may obt... |
dss_town/assets.asm | mudlord/demos | 20 | 16539 | <reponame>mudlord/demos<filename>dss_town/assets.asm
section .data
global _house1
_house1 incbin 'assets/house.dds'
_house1_end:
global _house1_len
_house1_len dd _house1_end - _house1
global _house2
_house2 incbin 'assets/house2.dds'
_house2_end:
global _house2_len
_house2_len dd _house2_end - _house2
global _house... |
core/lib/types/Lift.agda | cmknapp/HoTT-Agda | 0 | 701 | <reponame>cmknapp/HoTT-Agda
{-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Pointed
module lib.types.Lift where
⊙Lift : ∀ {i j} → Ptd i → Ptd (lmax i j)
⊙Lift {j = j} (A , a) = ⊙[ Lift {j = j} A , lift a ]
⊙lift : ∀ {i j} {X : Ptd i} → fst (X ⊙→ ⊙Lift {j = j} X)
⊙lift = (lift , idp)
⊙lowe... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_2597.asm | ljhsiun2/medusa | 9 | 178891 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xa009, %rsi
nop
add $19155, %r13
movb $0x61, (%rsi)
nop
nop
lfence
lea addresses_WC_ht+0x1c5a8, %r15
nop
nop
nop
nop
nop
cmp $49042, %rdx
mov (%r15), %edi
nop
nop
and %rsi, %r... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1335.asm | ljhsiun2/medusa | 9 | 179081 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1335.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1c5c2, %r8
nop
cmp %r15, %r15
movw $0x6162, (%r8)
nop
nop
nop
nop
and %rdx, %rdx
lea addres... |
programs/oeis/047/A047369.asm | karttu/loda | 1 | 161108 | ; A047369: Numbers that are congruent to {1, 2, 3, 4, 5} mod 7.
; 1,2,3,4,5,8,9,10,11,12,15,16,17,18,19,22,23,24,25,26,29,30,31,32,33,36,37,38,39,40,43,44,45,46,47,50,51,52,53,54,57,58,59,60,61,64,65,66,67,68,71,72,73,74,75,78,79,80,81,82,85,86,87,88,89,92,93,94,95,96,99,100,101,102,103,106,107,108,109,110,113,114,115,... |
src/Internals/protypo-code_trees.adb | fintatarta/protypo | 0 | 30083 | pragma Ada_2012;
with Ada.Strings.Fixed;
with Ada.Text_Io; use Ada.Text_Io;
package body Protypo.Code_Trees is
function To_Expression_Vector (X : Tree_Array;
Void_Accepted : Boolean := False)
return Node_Vectors.Vector;
function ... |
core/src/main/antlr/org/explang/parser/Expl.g4 | anorth/expl | 3 | 1637 | grammar Expl;
@header {
package org.explang.parser;
}
/* Parse rules */
// Thank goodness ANTLR 4 supports direct left recursion.
expression
: expression arguments # CallEx
| expression index # IndexEx
| (PLUS | MINUS | NOT) expression ... |
asm/credits.asm | unknownbrackets/tomatotrans | 14 | 166766 | ; Move the crown to the right to give space for Difficulty.
.org 0x0802BB10
dh 0xF474
.org 0x0802BB90
dh 0xF474
; The original game stores the credits in a sort of modified Shift-JIS format.
; It then decodes this and uses bytecodes to indicate hiragana/katakana.
; We replace that by just using the game's text encodin... |
mail_handlers_library.applescript | jcrum/Mail-Handlers-Library | 0 | 3278 | use AppleScript version "2.4" -- Yosemite (10.10) or later
use scripting additions
(*
Moves the selected Mail messages to the destination mailbox under the specified mail account.
mailAccount: the NAME of the mail account in Mail.app (e.g. Exchange, Gmail, Work).
This is whatever you called the account when yo... |
orka_simd/src/x86/generic/orka-simd-sse-singles-math.adb | onox/orka | 52 | 22348 | <filename>orka_simd/src/x86/generic/orka-simd-sse-singles-math.adb
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the... |
agda/Text/Greek/SBLGNT/Rev.agda | scott-fleischman/GreekGrammar | 44 | 12779 | <reponame>scott-fleischman/GreekGrammar
module Text.Greek.SBLGNT.Rev where
open import Data.List
open import Text.Greek.Bible
open import Text.Greek.Script
open import Text.Greek.Script.Unicode
ΑΠΟΚΑΛΥΨΙΣ-ΙΩΑΝΝΟΥ : List (Word)
ΑΠΟΚΑΛΥΨΙΣ-ΙΩΑΝΝΟΥ =
word (Ἀ ∷ π ∷ ο ∷ κ ∷ ά ∷ ∙λ ∷ υ ∷ ψ ∷ ι ∷ ς ∷ []) "Rev.1.1"
∷ w... |
libsrc/target/laser500/games/joystick.asm | UnivEngineer/z88dk | 1 | 18777 | ;
; Game device library for the Laser 500
;
; up = ~(inp(&h2b) & 1)
; down = ~(inp(&h2b) & 2)
; left = ~(inp(&h2b) & 4)
; right = ~(inp(&h2b) & 8)
; fire = ~(inp(&h2b) & 16)
; fire2 = ~(inp(&h27) & 16)
SECTION code_clib
PUBLIC joystick
PUBLIC _joystick
EXTERN get_psg
EXTERN joystick_inkey
... |
test_suite/aoc_suite.adb | jwarwick/aoc_2020 | 3 | 5651 | <filename>test_suite/aoc_suite.adb
with Day.Test;
package body AOC_Suite is
function Suite return Access_Test_Suite is
Ret : constant Access_Test_Suite := new Test_Suite;
begin
Ret.Add_Test (new Day.Test.Test);
return Ret;
end Suite;
end AOC_Suite;
|
libsrc/target/rex/graphics/DsSetPixel.asm | jpoikela/z88dk | 640 | 161286 | ;
; written by <NAME>
;
; $Id;$
PUBLIC DsSetPixel
PUBLIC _DsSetPixel
EXTERN setpix
.DsSetPixel
._DsSetPixel
pop bc ;ret addr.
pop hl ;y
ld e,l ; e=y
pop hl ;x
ld d,l ; d=x
push bc
push bc
push bc
jp setpix
|
decreasoner.macosx/software/relsat-dist/gmp-3.1/mpn/powerpc64/sub_n.asm | problem-frames/openpf | 1 | 178641 | <reponame>problem-frames/openpf
# PowerPC-64 mpn_sub_n -- Subtract two limb vectors of the same length > 0
# and store difference in a third limb vector.
# Copyright (C) 1999, 2000 Free Software Foundation, Inc.b
# This file is part of the GNU MP Library.
# The GNU MP Library is free software; you can redistribute i... |
programs/oeis/054/A054552.asm | karttu/loda | 1 | 245608 | ; A054552: a(n) = 4*n^2 - 3*n + 1.
; 1,2,11,28,53,86,127,176,233,298,371,452,541,638,743,856,977,1106,1243,1388,1541,1702,1871,2048,2233,2426,2627,2836,3053,3278,3511,3752,4001,4258,4523,4796,5077,5366,5663,5968,6281,6602,6931,7268,7613,7966,8327,8696,9073,9458,9851,10252,10661,11078,11503,11936,12377,12826,13283,13748... |
programs/oeis/035/A035187.asm | neoneye/loda | 22 | 21274 | <gh_stars>10-100
; A035187: Sum over divisors d of n of Kronecker symbol (5|d).
; 1,0,0,1,1,0,0,0,1,0,2,0,0,0,0,1,0,0,2,1,0,0,0,0,1,0,0,0,2,0,2,0,0,0,0,1,0,0,0,0,2,0,0,2,1,0,0,0,1,0,0,0,0,0,2,0,0,0,2,0,2,0,0,1,0,0,0,0,0,0,2,0,0,0,0,2,0,0,2,1,1,0,0,0,0,0,0,0,2,0,0,0,0,0,2,0,0,0,2,1
seq $0,1157 ; sigma_2(n): sum of squa... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_disk_stream_start.asm | Toysoft/z88dk | 0 | 25179 | <reponame>Toysoft/z88dk
; unsigned char esx_disk_stream_start(struct esx_filemap_entry *entry)
SECTION code_esxdos
PUBLIC esx_disk_stream_start
EXTERN asm_esx_disk_stream_start
defc esx_disk_stream_start = asm_esx_disk_stream_start
|
data/battle/wobble_probabilities.asm | Dev727/ancientplatinum | 28 | 25965 | <gh_stars>10-100
WobbleProbabilities:
; catch rate, chance of wobbling / 255
; nLeft/255 = (nRight/255) ** 4
db 1, 63
db 2, 75
db 3, 84
db 4, 90
db 5, 95
db 7, 103
db 10, 113
db 15, 126
db 20, 134
db 30, 149
db 40, 160
db 50, 169
db 60, 177
db 80, 191
db 100, 201
db 120, 211
db... |
Light/Subtyping.agda | zamfofex/lightlib | 1 | 625 | <filename>Light/Subtyping.agda<gh_stars>1-10
{-# OPTIONS --omega-in-omega --no-termination-check --overlapping-instances #-}
module Light.Subtyping where
open import Light.Level using (_⊔_ ; ++_)
open import Light.Variable.Levels
open import Light.Variable.Sets
record DirectSubtyping (𝕒 : Set aℓ) (𝕓 : Set bℓ) : Se... |
WRK-V1.2/TOOLS/crt/src/intel/dllsupp.asm | intj-t/openvmsft | 0 | 81410 | <reponame>intj-t/openvmsft<filename>WRK-V1.2/TOOLS/crt/src/intel/dllsupp.asm
page ,132
title dllsupp - defines some public constants
;***
;dllsupp.asm - Definitions of public constants
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;Purpose:
; Provides definitions for p... |
test/date/test_date-read.adb | skill-lang/skillAdaTestSuite | 1 | 20211 | package body Test_Date.Read is
procedure Initialize (T : in out Test) is
begin
Set_Name (T, "Test_Date.Read");
Ahven.Framework.Add_Test_Routine (T, Date_1'Access, "1. date: date = 1");
Ahven.Framework.Add_Test_Routine (T, Date_2'Access, "2. date: date = -1");
end Initialize;
procedure Da... |
base/Kernel/Native/arm/Crt/veneer_f.asm | sphinxlogic/Singularity-RDK-2.0 | 0 | 16769 | <reponame>sphinxlogic/Singularity-RDK-2.0<gh_stars>0
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Microsoft Research Singularity
;;;
;;; Copyright (c) Microsoft Corporation. All rights reserved.
;;;
;;; This file contains ARM-specific assembly code.
... |
test/agda-ocaml/Golden/RedBlack.agda | agda/agda-ocaml | 48 | 40 | module Golden.RedBlack where
open import Prelude hiding (insert)
-- Version of comparison that lets us use instance search for the proof objects.
data Comparison! {a} {A : Set a} (_<_ : A → A → Set a) (x y : A) : Set a where
less : {{_ : x < y}} → Comparison! _<_ x y
equal : {{_ : x ≡ y}} → Comparison! _<_ x... |
test/Succeed/Issue4907.agda | shlevy/agda | 1,989 | 6306 | <gh_stars>1000+
_∘_ : {A : Set} {B : A → Set} {C : {x : A} → B x → Set₁} →
(∀ {x} (y : B x) → C y) → (g : (x : A) → B x) →
((x : A) → C (g x))
f ∘ g = λ x → f (g x)
postulate
R : {A : Set₁} → A → A → Set₁
_≡_ : {A : Set₁} → A → A → Set₁
_≡_ = R
data D (A : Set) : Set where
c : A → D A
postulate
c... |
prototypes/bitmap.asm | brodzik/arko-project-1 | 3 | 245939 | <reponame>brodzik/arko-project-1<filename>prototypes/bitmap.asm
.data
FILE_NAME: .asciiz "output.bmp"
FILE: .word 0
HEADER: .byte 'B', 'M' # signature
.byte 0x36, 0x88, 0x13, 0x00 # file size
.byte 0x00, 0x00, 0x00, 0x00 # (reserved)
.byte 0x36, 0x00, 0x00, 0x00 # data offset
.byte 0x28, 0x00, 0x00, 0x00 #... |
libsrc/target/trs80/games/bit_open.asm | ahjelm/z88dk | 640 | 28469 | <gh_stars>100-1000
; $Id: bit_open.asm,v 1.4 2016-06-16 20:23:52 dom Exp $
;
; TRS-80 1 bit sound functions
;
; void bit_open();
;
; <NAME> - 8/4/2008
;
SECTION code_clib
PUBLIC bit_open
PUBLIC _bit_open
EXTERN __snd_tick
.bit_open
._bit_open
ld a,($038A9)
cp $3A
... |
src/FOmegaInt/Reduction/Cbv.agda | Blaisorblade/f-omega-int-agda | 12 | 5057 | <filename>src/FOmegaInt/Reduction/Cbv.agda
------------------------------------------------------------------------
-- Call-by-value (CBV) reduction in Fω with interval kinds.
------------------------------------------------------------------------
{-# OPTIONS --safe --without-K #-}
module FOmegaInt.Reduction.Cbv whe... |
FormalAnalyzer/models/meta/cap_ovenSetpoint.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 4943 |
// filename: cap_ovenSetpoint.als
module cap_ovenSetpoint
open IoTBottomUp
one sig cap_ovenSetpoint extends Capability {}
{
attributes = cap_ovenSetpoint_attr
}
abstract sig cap_ovenSetpoint_attr extends Attribute {}
one sig cap_ovenSetpoint_attr_ovenSetpoint extends cap_ovenSetpoint_attr {}
{
values = cap_ove... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_21829_1648.asm | ljhsiun2/medusa | 9 | 100619 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r9
push %rbp
push %rbx
push %rdx
lea addresses_WT_ht+0x175d2, %rbx
nop
nop
nop
nop
and %r12, %r12
movb (%rbx), %r13b
nop
nop
nop
xor $8306, %rdx
lea addresses_UC_ht+0x115d2, %r14
nop
and %rbp, %rbp
movb (%r14), %r... |
programs/oeis/080/A080653.asm | neoneye/loda | 22 | 29840 | <reponame>neoneye/loda
; A080653: a(1) = 2; for n>1, a(n) is taken to be the smallest integer greater than a(n-1) such that the condition "a(a(n)) is always even" is satisfied.
; 2,4,5,6,8,10,11,12,13,14,16,18,20,22,23,24,25,26,27,28,29,30,32,34,36,38,40,42,44,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,64,66,68... |
demos/roots.ada | daveshields/AdaEd | 3 | 6990 | <filename>demos/roots.ada
WITH Text_IO;
WITH My_Int_IO;
WITH My_Flt_IO;
WITH Math;
PROCEDURE SquareRoots IS
-- Illustrates the square root function provided by Math
MaxNumber : CONSTANT Positive := 20;
FltNum : Float;
BEGIN -- SquareRoots
Text_IO.Put (Item => "Number Square Root");
Text_IO.New_Line... |
public/wintab/wintabx/ctxenum.asm | SmileyAG/cstrike15_src | 2 | 24579 | include xlibproc.inc
include Wintab.inc
PROC_TEMPLATE WTMgrContextEnum, 5, Wintab, -, 120
|
oeis/270/A270797.asm | neoneye/loda-programs | 11 | 169735 | ; A270797: a(n) = J(n) if n odd, or 4*J(n) if n even, where J = Jacobsthal numbers A001045.
; Submitted by Jon Maiga
; 0,1,4,3,20,11,84,43,340,171,1364,683,5460,2731,21844,10923,87380,43691,349524,174763,1398100,699051,5592404,2796203,22369620,11184811,89478484,44739243,357913940,178956971,1431655764,715827883,57266230... |
oeis/015/A015484.asm | neoneye/loda-programs | 11 | 96724 | ; A015484: q-Fibonacci numbers for q=11.
; Submitted by <NAME>
; 0,1,11,1332,1772903,25957074155,4180412751509808,7405856194503424044443,144319186063701664852323850561,30936099231445891001437365359291226684,72945703751334713422596099393765798208419237205,1892023691017126982543465076933948091484892213761912706889,539816... |
src/antlr/YarnLexer.g4 | StirfireStudios/Jacquard-YarnParser | 1 | 3727 | <reponame>StirfireStudios/Jacquard-YarnParser
lexer grammar YarnLexer;
fragment A : [aA]; // match either an 'a' or 'A'
fragment B : [bB];
fragment C : [cC];
fragment D : [dD];
fragment E : [eE];
fragment F : [fF];
fragment G : [gG];
fragment H : [hH];
fragment I : [iI];
fragment J : [jJ];
fragment K : [kK];
fragment ... |
programs/oeis/090/A090193.asm | neoneye/loda | 22 | 173964 | ; A090193: a(n) = A053838(n) + 1 modulo 3.
; 1,2,0,2,0,1,0,1,2,2,0,1,0,1,2,1,2,0,0,1,2,1,2,0,2,0,1,2,0,1,0,1,2,1,2,0,0,1,2,1,2,0,2,0,1,1,2,0,2,0,1,0,1,2,0,1,2,1,2,0,2,0,1,1,2,0,2,0,1,0,1,2,2,0,1,0,1,2,1,2,0,2,0,1,0,1,2,1,2,0,0,1,2,1,2,0,2,0,1,1
mov $3,1
lpb $0,14
mod $3,3
add $3,$0
div $0,3
lpe
mov $0,$3
|
alloy4fun_models/trashltl/models/11/hGHrLHDFXM9nbEyWe.als | Kaixi26/org.alloytools.alloy | 0 | 2822 | <gh_stars>0
open main
pred idhGHrLHDFXM9nbEyWe_prop12 {
always some f : File | eventually f in Trash implies f in Trash
}
pred __repair { idhGHrLHDFXM9nbEyWe_prop12 }
check __repair { idhGHrLHDFXM9nbEyWe_prop12 <=> prop12o } |
scripts/getFinder.applescript | weslley39/adb-alfred | 48 | 4521 | <reponame>weslley39/adb-alfred
tell application "Finder"
try
set pathList to POSIX path of (folder of the front window as alias)
on error
set pathList to POSIX path of (path to desktop folder as alias)
end try
return pathList
end tell
|
src/main/antlr4/tmp/Map.g4 | cevrard-unamur/slip-compiler | 0 | 1016 | <reponame>cevrard-unamur/slip-compiler<gh_stars>0
grammar Map;
import MapWords;
map: (mapStructure)*
;
mapStructure: (MAP COLON NUMBER NUMBER (mapSymbols)+) EOF? #mapDescription
;
mapSymbols: ROBOT #robot
| CHEST #chest
| GRASS ... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_17469_751.asm | ljhsiun2/medusa | 9 | 97677 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1d1c5, %rsi
lea addresses_WT_ht+0xa745, %rdi
nop
nop
nop
and $10143, %r15
mov $113, %rcx
rep movsb
and $42557, %rax
lea addresses_UC_ht+0x11345, %rsi
lea addresses_WT_ht+0x1d345, %rdi... |
Support/horizontal_split_two_textmate_windows.applescript | vigo/my-custom-textmate1-bundle | 0 | 2612 | <filename>Support/horizontal_split_two_textmate_windows.applescript
tell application "Finder"
set DesktopSize to bounds of window of desktop
set DesktopWidth to item 3 of DesktopSize
set DesktopHeight to item 4 of DesktopSize
end tell
tell application "TextMate"
set WindowsList to (every window where v... |
dv3/qxl/fd/mformat.asm | olifink/smsqe | 0 | 28810 | ; DV3 QXL Floppy Disk Format 1993 <NAME>
section dv3
xdef fd_mformat
xref dv3_slen
xref fd_hold
xref fd_release
xref qxl_mess_add
xref gu_achp0
xref gu_rchp
include 'dev8_keys_err'
include 'dev8_smsq_qxl_keys'
include 'dev8_smsq_qxl_comm_keys'
include 'dev8_dv3_keys'
include 'dev8_dv3_fd_keys... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_272.asm | ljhsiun2/medusa | 9 | 92681 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_272.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x10cc, %rsi
lea addresses_A_ht+0x10fcc, %rdi
nop
nop
nop
nop
nop
s... |
Transynther/x86/_processed/AVXALIGN/_st_un_/i7-7700_9_0x48_notsx.log_21829_416.asm | ljhsiun2/medusa | 9 | 11877 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_normal+0xa591, %rsi
lea addresses_A+0x1bf91, %rdi
nop
nop
nop
xor $20374, %rax
mov $36, %rcx
rep movsb
nop
nop
sub $4233... |
sample/puts.asm | plankp/RLVM | 0 | 4448 | <reponame>plankp/RLVM
# Same thing in C's <stdio.h>
#
# extern r0 puts (r0)
.SECTION text
.GLOBAL puts
puts: LDC r1, STDOUT
FWRTS r0, r1, r0
MOV r0, 0xA
FWRTB r0, r1, r0
|
src/gpr_tools-pkg2gpr-main.adb | persan/gprTools | 2 | 18666 | with GNAT.Command_Line;
use GNAT.Command_Line;
with GNAT.Strings;
with Ada.Directories;
use Ada.Directories;
with Ada.Command_Line;
with Ada.Text_IO; use Ada.Text_IO;
procedure GPR_Tools.Pkg2gpr.Main is
OutputFolder : aliased GNAT.Strings.String_Access := new String'(Ada.Directories.Current_Directory);
Version ... |
tests/covered/Id8.agda | andrejtokarcik/agda-semantics | 3 | 904 |
-- This module introduces implicit arguments.
module Id8 where
id8 : {A : Set} -> A -> A
id8 = \{A} x -> x -- this doesn't work since the type checker assumes
-- that the implicit A has been has been omitted in
-- the left-hand side (as in id6).
|
programs/oeis/325/A325656.asm | neoneye/loda | 22 | 21388 | ; A325656: a(n) = (1/24)*n*((4*n + 3)*(2*n^2 + 1) - 3*(-1)^n).
; 0,1,8,36,104,245,492,896,1504,2385,3600,5236,7368,10101,13524,17760,22912,29121,36504,45220,55400,67221,80828,96416,114144,134225,156832,182196,210504,242005,276900,315456,357888,404481,455464,511140,571752,637621,709004,786240
mul $0,2
mov $1,$0
seq $0,... |
MySource/16-name-print.asm | mdabdullahibnaharun/Assembly-Language | 0 | 175085 | .model small
.stack 100h
.data
.code
main proc
mov dl,"O"
mov ah,2
int 21h
mov dl,"V"
mov ah,2
int 21h
mov dl,"I"
mov ah,2
int 21h
mov ah,4ch
int 21h
main endp
end main
... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1464.asm | ljhsiun2/medusa | 9 | 22311 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1464.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x3859, %r9
nop
sub $17809, %rcx
movups (%r9), %xmm2
vp... |
src/main/antlr4/com/example/parser/TinyBasic.g4 | tbenbrahim/tiny-basic-example-antlr4 | 0 | 1268 | <reponame>tbenbrahim/tiny-basic-example-antlr4<filename>src/main/antlr4/com/example/parser/TinyBasic.g4<gh_stars>0
grammar TinyBasic;
program
: line*
;
line
: number statement CR # programLine
;
statement
: 'PRINT' exprlist nonl=';'? # p... |
gfx/pokemon/weedle/anim.asm | Dev727/ancientplatinum | 28 | 25959 | frame 0, 06
frame 1, 18
setrepeat 2
frame 0, 06
frame 3, 06
frame 4, 06
frame 3, 06
dorepeat 3
endanim
|
alloy4fun_models/trainstlt/models/4/XXiFxKYrgScjSMzbQ.als | Kaixi26/org.alloytools.alloy | 0 | 2954 | <filename>alloy4fun_models/trainstlt/models/4/XXiFxKYrgScjSMzbQ.als
open main
pred idXXiFxKYrgScjSMzbQ_prop5 {
always all t : Train, p : t.pos | (t.pos)' in p.prox
}
pred __repair { idXXiFxKYrgScjSMzbQ_prop5 }
check __repair { idXXiFxKYrgScjSMzbQ_prop5 <=> prop5o } |
jobotwar-web/src/main/antlr4/net/smackem/jobotwar/web/query/PQuery.g4 | smackem/jobotwar | 2 | 7741 | grammar PQuery;
query
: orCondition
;
orCondition
: andCondition (Or andCondition)*
;
andCondition
: condition (And condition)*
;
condition
: Not? comparison
;
comparison
: atom comparator atom
| LParen orCondition RParen
;
comparator
: Lt
| Le
| Gt
| Ge... |
sources/ada/ada_kernels-config__osx.ads | reznikmm/jupyter | 4 | 18174 | <filename>sources/ada/ada_kernels-config__osx.ads
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
-- This is Max OS X version of the configuration package
package Ada_Kernels.Configuration is
Shared_Library_Suff... |
tests/nasm/fptan.asm | brenden7158/v86 | 12,700 | 15186 | global _start
%include "header.inc"
fldpi
fptan
fldpi
fldpi
fpatan
%include "footer.inc"
|
alloy4fun_models/trainstlt/models/4/XJcW9yN9zLxHezCes.als | Kaixi26/org.alloytools.alloy | 0 | 2155 | <gh_stars>0
open main
pred idXJcW9yN9zLxHezCes_prop5 {
all t:Train| {
always (t.pos in Exit implies no t.pos')
always (t.pos in Track-Exit implies t.pos' in t.pos.prox)
}
}
pred __repair { idXJcW9yN9zLxHezCes_prop5 }
check __repair { idXJcW9yN9zLxHezCes_prop5 <=> prop5o } |
Code/main.asm | ZSAIm/Elevator-STM8_ASM | 0 | 22349 | <gh_stars>0
;=================================
; Author : ZSAIm
;
; Function : Elevator Controller
; MCU : STM8S105k4
; LICENSE : Apache-2.0
;=================================
stm8/
#include "mapping.inc"
#include "main.inc"
segment 'rom'
main.l
; initialize SP
ldw X,#stack_end
ldw SP,X
#ifdef RAM0
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.