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/144/A144480.asm | neoneye/loda-programs | 11 | 98527 | ; A144480: T(n,k) = binomial(n, k)*min(k + 1, n - k + 1), triangle read by rows (n >= 0, 0 <= k <= n).
; Submitted by <NAME>
; 1,1,1,1,4,1,1,6,6,1,1,8,18,8,1,1,10,30,30,10,1,1,12,45,80,45,12,1,1,14,63,140,140,63,14,1,1,16,84,224,350,224,84,16,1,1,18,108,336,630,630,336,108,18,1,1,20,135,480,1050,1512,1050,480,135,20,1
... |
ada_gui-gnoga-server-database.ads | jrcarter/Ada_GUI | 19 | 4868 | <reponame>jrcarter/Ada_GUI<gh_stars>10-100
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- ... |
FormalAnalyzer/models/test/52DayThermostat.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 2053 | module app_52DayThermostat
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_thermostatMode
open cap_thermostat
open cap_temperatureMeasurement
one sig app_52DayThermostat extends IoTApp {
//thermostat : set cap_thermostat,
thermostat : set cap_thermostatMode,
temperatureSensor : one cap_tempera... |
alloy4fun_models/trashltl/models/9/ZWfXE7jqxog4wkPky.als | Kaixi26/org.alloytools.alloy | 0 | 2530 | <reponame>Kaixi26/org.alloytools.alloy<gh_stars>0
open main
pred idZWfXE7jqxog4wkPky_prop10 {
always all f : File | f in Protected implies f in Protected'
}
pred __repair { idZWfXE7jqxog4wkPky_prop10 }
check __repair { idZWfXE7jqxog4wkPky_prop10 <=> prop10o } |
programs/oeis/017/A017066.asm | neoneye/loda | 22 | 28952 | <filename>programs/oeis/017/A017066.asm
; A017066: a(n) = (8*n)^2.
; 0,64,256,576,1024,1600,2304,3136,4096,5184,6400,7744,9216,10816,12544,14400,16384,18496,20736,23104,25600,28224,30976,33856,36864,40000,43264,46656,50176,53824,57600,61504,65536,69696,73984,78400,82944,87616,92416,97344,102400,107584,112896,118336,123... |
Examples/ch10/Macro3.asm | satadriver/LiunuxOS_t | 0 | 164348 | Title Using Macro Conditional Expressions (Macro3.asm)
; The MUL32 macro issues a warning and exits if EAX
; is passed as the second argument. The Text macro LINENUM
; must be defined first. Then, the % (expansion operator)
; in the first column of the line containing the ECHO statement
; causes LINENUM to be... |
3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-create_func.adb | charlie5/lace | 20 | 23994 |
package body impact.d3.Collision.create_Func
is
function CreateCollisionAlgorithm (Self : in Item; info : in impact.d3.Collision.Algorithm.AlgorithmConstructionInfo;
body0,
body1 : acc... |
Borland/CBuilder5/Source/Vcl/se.asm | TrevorDArcyEvans/DivingMagpieSoftware | 1 | 172729 |
; *******************************************************
; * *
; * Delphi Runtime Library *
; * Macros *
; * *
; * Copyright (c) 1996,98 Inprise Corporation *
; * *
; *******************************************************
LOCALS @@
; Public variable definition m... |
agda-stdlib/src/Data/Vec/All/Properties.agda | DreamLinuxer/popl21-artifact | 5 | 2392 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use
-- Data.Vec.Relation.Unary.All.Properties directly.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.... |
Task/Mouse-position/AppleScript/mouse-position-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 2322 | <filename>Task/Mouse-position/AppleScript/mouse-position-1.applescript
use application "System Events"
property process : a reference to (first process whose frontmost = true)
property window : a reference to front window of my process
set [Wx, Wy] to my window's position
set [Cx, Cy] to {x, y} of the mouse's coordi... |
test/asm/assert-const.asm | orbea/rgbds | 522 | 83465 | <gh_stars>100-1000
; The following link-time assertion is known by RGBASM to be okay.
; This previously caused it to still pass the assertion to RGBLINK with an empty
; RPN expression
SECTION "rgbasm passing asserts", ROM0[0]
db 0
assert @
|
Assignment #1/bind.nasm | Wi1d5a1m0N/SLAE | 0 | 175306 | global _start
section .text
_start:
;References:
; 1. Syscall header file /usr/include/asm/unistd_32.h
; 2. http://man7.org/linux/man-pages/man2/
;I. int socketcall(int call, unsigned long *args);
; /usr/include/linux/net.h
; a. int socket(int domain, int type, int protocol)
; /usr/include/(s)- bits/s... |
Conway.agda | JacquesCarette/pi-dual | 14 | 10442 | module Conway where
open import Data.Bool renaming (_≟_ to _B≟_)
open import Data.Nat renaming (_+_ to _ℕ+_ ; _*_ to _ℕ*_ ; _≟_ to _ℕ≟_)
open import Data.Integer
renaming (_+_ to _ℤ+_ ; _*_ to _ℤ*_ ; -_ to ℤ-_ ; _≟_ to _ℤ≟_)
open import Data.Rational renaming (_≟_ to _ℚ≟_)
open import Relation.Nullary.Core
open imp... |
hw1_PIC-IO/main.asm | ysyesilyurt/PIC-Practices | 3 | 179069 | <reponame>ysyesilyurt/PIC-Practices
LIST P=18F8722
#INCLUDE <p18f8722.inc>
CONFIG OSC = HSPLL, FCMEN = OFF, IESO = OFF, PWRT = OFF, BOREN = OFF, WDT = OFF, MCLRE = ON, LPT1OSC = OFF, LVP = OFF, XINST = OFF, DEBUG = OFF
last_led udata 0X20
last_led
delay_variable1 udata 0X22
delay_variable1
d... |
firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-framebuffer_filler.adb | fabiojna02/OpenCellular | 1 | 15006 | <filename>firmware/coreboot/3rdparty/libgfxinit/common/hw-gfx-framebuffer_filler.adb
--
-- Copyright (C) 2015-2016 secunet Security Networks AG
--
-- 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 Foundati... |
Task/Huffman-coding/Ada/huffman-coding-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 7969 | <filename>Task/Huffman-coding/Ada/huffman-coding-3.ada
with Ada.Text_IO;
with Huffman;
procedure Main is
package Char_Natural_Huffman_Tree is new Huffman
(Symbol_Type => Character,
Put => Ada.Text_IO.Put,
Symbol_Sequence => String,
Frequency_Type => Natural);
Tree : Char_Natural_Huf... |
oeis/269/A269497.asm | neoneye/loda-programs | 11 | 247557 | <reponame>neoneye/loda-programs
; A269497: Number of length-6 0..n arrays with no repeated value differing from the previous repeated value by one.
; 40,591,3680,14695,44904,114695,257536,524655,990440,1758559,2968800,4804631,7501480,11355735,16734464,24085855,33950376,46972655,63914080,85666119,113264360,147903271,190... |
src/lumen-binary-endian-shorts.ads | darkestkhan/lumen | 0 | 22740 | <reponame>darkestkhan/lumen<filename>src/lumen-binary-endian-shorts.ads
-- Lumen.Binary.Endian.Shorts -- Byte re-ordering routines for "short"
-- (16-bit) values
--
--
-- <NAME>, NiEstu, Phoenix AZ, Summer 2010
-- This code is covered by the ISC License:
--
-- Copyright © 2010, NiEstu
--... |
programs/oeis/124/A124696.asm | jmorken/loda | 1 | 85218 | ; A124696: Number of base 3 circular n-digit numbers with adjacent digits differing by 1 or less.
; 1,3,7,15,35,83,199,479,1155,2787,6727,16239,39203,94643,228487,551615,1331715,3215043,7761799,18738639,45239075,109216787,263672647,636562079,1536796803,3710155683,8957108167,21624372015,52205852195
mov $3,6
mov $4,2
lp... |
Categories/Object/BinaryProducts/N-ary.agda | p-pavel/categories | 1 | 10425 | {-# OPTIONS --universe-polymorphism #-}
open import Categories.Category
open import Categories.Object.BinaryProducts
module Categories.Object.BinaryProducts.N-ary {o ℓ e}
(C : Category o ℓ e)
(BP : BinaryProducts C)
where
open Category C
open BinaryProducts BP
open Equiv
import Categories.Object.Product
open ... |
source/oasis/program-elements-if_expressions.ads | optikos/oasis | 0 | 21024 | <reponame>optikos/oasis
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Expressions;
with Program.Lexical_Elements;
with Program.Elements.Elsif_Paths;
package Program.Elements.... |
third_party/heif_decoder/src/main/cpp/libx265/common/x86/intrapred16.asm | vy12021/glide_webp | 14 | 4184 | ;*****************************************************************************
;* Copyright (C) 2013-2017 MulticoreWare, Inc
;*
;* Authors: <NAME> <<EMAIL>>
;* <NAME> <<EMAIL>>
;* <NAME> <<EMAIL>> <<EMAIL>>
;*
;* This program is free software; you can redistribute it and/or modify
;* it under the term... |
CDROOT/COBALT/SOURCE/SYSLINUX/isolinux.asm | Michael2626/Cobalt | 35 | 4510 | ; -*- fundamental -*- (asm-mode sucks)
; $Id: isolinux.asm,v 1.95 2004/05/29 22:11:23 hpa Exp $
; ****************************************************************************
;
; isolinux.asm
;
; A program to boot Linux kernels off a CD-ROM using the El Torito
; boot standard in "no emulation" mode, making the entir... |
programs/oeis/264/A264980.asm | neoneye/loda | 22 | 895 | ; A264980: Base-3 reversal of 2^n: a(n) = A030102(A000079(n)).
; 1,2,4,8,16,64,32,184,352,704,1408,1880,2824,14032,10328,56128,100576,145784,189472,370304,731752,4388248,2924096,11175712,15965704,31930448,63861880,383165344,255439712,1021772344,510875648,2550188248,5619691648,9689861048,17830350904,79068724264,34109913... |
test/Fail/NotStrictlyPositive.agda | cruhland/agda | 1,989 | 3332 | <filename>test/Fail/NotStrictlyPositive.agda
module NotStrictlyPositive where
data False : Set where
data Not (A : Set) : Set where
not : (A -> False) -> Not A
data Neg (A : Set) : Set where
neg : Not A -> Neg A
data Bad : Set where
bad : Neg Bad -> Bad
|
dcct/src/main/antlr4/Dcct.g4 | amanjpro/languages-a-la-carte | 8 | 2752 | grammar Dcct;
// Parser
program
: schema? actionDeclaration+ EOF
| schema actionDeclaration* EOF
;
///////////////////////// Schema and schema contents ///////////////////////
schema
: cloudDataDecl+
;
// Types
// TODO just use generic identifier and rely on type checking to rule out wrong
// identif... |
_incObj/sub FindWall.asm | kodishmediacenter/msu-md-sonic | 9 | 89229 | ; ||||||||||||||| S U B R O U T I N E |||||||||||||||||||||||||||||||||||||||
FindWall:
bsr.w FindNearestTile
move.w (a1),d0
move.w d0,d4
andi.w #$7FF,d0
beq.s loc_14B1E
btst d5,d4
bne.s loc_14B2C
loc_14B1E:
add.w a3,d3
bsr.w FindWall2
sub.w a3,d3
addi.w #$10,d1
rts
; =======================... |
Transynther/x86/_processed/US/_st_/i9-9900K_12_0xca.log_14_1511.asm | ljhsiun2/medusa | 9 | 6618 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x18ce, %rsi
clflush (%rsi)
nop
nop
nop
xor %r15, %r15
mov $0x6162636465666768, %r13
movq %r13, %xmm4
movups %xmm4, (%rsi)
dec %rax
lea addresses_WT_ht+0xfd1e, %r12
n... |
tests/typing/bad/testfile-unique-2.adb | xuedong/mini-ada | 0 | 1425 | <filename>tests/typing/bad/testfile-unique-2.adb
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
T: Integer;
procedure t is begin new_line; end;
begin New_Line; end;
|
programs/oeis/248/A248522.asm | jmorken/loda | 1 | 25151 | ; A248522: Beatty sequence for 1/(1-exp(-1/3)): a(n) = floor(n/(1-exp(-1/3))).
; 3,7,10,14,17,21,24,28,31,35,38,42,45,49,52,56,59,63,67,70,74,77,81,84,88,91,95,98,102,105,109,112,116,119,123,126,130,134,137,141,144,148,151,155,158,162,165,169,172,176,179,183,186,190,194,197,201
mov $5,$0
lpb $0
add $1,$0
sub $0,1
... |
test/Compiler/with-stdlib/dimensions.agda | KDr2/agda | 0 | 12713 | -- Source: https://raw.githubusercontent.com/gallais/potpourri/master/agda/poc/dimensions/dimensions.agda
-- Author: Original by gallais, modified for test suite by <NAME>
-- (Later edited by others.)
{-# OPTIONS --guardedness #-}
module dimensions where
open import Data.Nat as ℕ using (ℕ; NonZero)
open import D... |
core/lib/types/Pointed.agda | timjb/HoTT-Agda | 0 | 9669 | <gh_stars>0
{-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.NType2
open import lib.types.Bool
open import lib.types.Empty
open import lib.types.Paths
open import lib.types.Pi
open import lib.types.Sigma
{-
This file contains various lemmas that rely on lib.types.Paths or
functional exte... |
libsrc/_DEVELOPMENT/error/z80/error_lmc.asm | jpoikela/z88dk | 640 | 96344 |
SECTION code_clib
SECTION code_error
PUBLIC error_lmc
EXTERN error_mc
pop hl
error_lmc:
; set dehl = -1
; set carry flag
ld de,-1
jp error_mc
|
programs/oeis/253/A253262.asm | karttu/loda | 0 | 171606 | ; A253262: Expansion of (x + x^2 + x^3) / (1 - x + x^2 - x^3 + x^4) in powers of x.
; 0,1,2,2,1,0,-1,-2,-2,-1,0,1,2,2,1,0,-1,-2,-2,-1,0,1,2,2,1,0,-1,-2,-2,-1,0,1,2,2,1,0,-1,-2,-2,-1,0,1,2,2,1,0,-1,-2,-2,-1,0,1,2,2,1,0,-1,-2,-2,-1,0,1,2,2,1,0,-1,-2,-2,-1,0,1,2,2,1,0,-1,-2,-2,-1,0,1,2,2,1,0,-1,-2,-2,-1,0,1,2,2,1,0,-1,-2,... |
oeis/087/A087125.asm | neoneye/loda-programs | 11 | 9738 | ; A087125: Indices n of hex numbers H(n) that are also triangular.
; Submitted by <NAME>
; 0,5,54,539,5340,52865,523314,5180279,51279480,507614525,5024865774,49741043219,492385566420,4874114620985,48248760643434,477613491813359,4727886157490160,46801248083088245,463284594673392294,4586044698650834699,453971623918349547... |
libsrc/spectrum/diagnostic/zx_iss_stick.asm | meesokim/z88dk | 0 | 240836 | ;
; ZX Spectrum specific routines
; by <NAME>, 14/09/2006
;
; int zx_iss_stick();
;
; The result is:
; - 1 (true) if the ISS Joystick interface is connected
; - 0 (false) otherwise
;
; $Id: zx_iss_stick.asm,v 1.2 2015/01/19 01:33:08 pauloscustodio Exp $
;
PUBLIC zx_iss_stick
zx_iss_stick:
ld hl,0
in a,(32)
cp 32... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3602a.ada | best08618/asylo | 7 | 11517 | -- CC3602A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
lib/intcode-op.adb | jweese/Ada_Vent_19 | 1 | 11202 | package body Intcode.Op is
use type Memory.Value;
function Instruction_Size(Instruction: Code) return Natural is
(case Instruction is
when Add|Mul => 3,
when Get|Put|Mrb => 1,
when Jnz|Jz => 2,
when Lt|Eq => 3,
when Halt => 1);
function Get_Code(V: Memory.V... |
src/llc/IntrinsicallyTypedLLC.agda | kcaliban/ldlc | 0 | 6576 | <reponame>kcaliban/ldlc<filename>src/llc/IntrinsicallyTypedLLC.agda
-- labeled λ-calculus
module IntrinsicallyTypedLLC where
open import Data.List
open import Data.List.Relation.Unary.All
open import Data.List.Base
open import Data.Vec hiding (_++_)
open import Data.Unit hiding (_≤_)
open import Data.Nat hiding (_≤_)... |
CS61/cs61_labs/lab-4-Kuzame/lab04_ex1.asm | Kuzame/CS61 | 1 | 175643 | <filename>CS61/cs61_labs/lab-4-Kuzame/lab04_ex1.asm
;=================================================
; Name: <NAME>
; Email: <EMAIL>
;
; Lab: lab 4
; Lab section: 24
; TA: <NAME>
;
;=================================================
.orig x3000
;------------
;Instruction
;------------
LD R1, DATA_PTR ... |
libsrc/psg/sn76489/psg_envelope.asm | Toysoft/z88dk | 0 | 10216 | <filename>libsrc/psg/sn76489/psg_envelope.asm
SECTION code_clib
PUBLIC psg_envelope
PUBLIC _psg_envelope
;
; $Id: psg_envelope.asm $
;========================================================================================
; void psg_envelope(unsigned int waveform, int period, unsigned int channel) __smallc;
... |
oeis/129/A129514.asm | neoneye/loda-programs | 11 | 17019 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A129514: a(n) = gcd(Sum_{k|n} k, Sum_{1<k<n, k does not divide n} k) = gcd(sigma(n), n(n+1)/2 - sigma(n)) = gcd(sigma(n), n(n+1)/2), where sigma(n) = A000203(n).
; 1,3,2,1,3,3,4,3,1,1,6,2,7,3,24,1,9,3,10,42,1,1,12,60,1,3,2,14,15,3,16,3,3,1,6,1,19,3,4,10,21,3,22,6,3,1,24... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1286.asm | ljhsiun2/medusa | 9 | 103824 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1286.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1c0d8, %rbp
nop
xor %r15, %r15
mov $0x6162636465666768, %r12
mov... |
oeis/103/A103640.asm | neoneye/loda-programs | 11 | 7762 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A103640: Expansion of theta_4(q)^4 - theta_2(q)^4, where theta_2 and theta_4 are the Jacobi theta series.
; Submitted by <NAME>
; 1,-24,24,-96,24,-144,96,-192,24,-312,144,-288,96,-336,192,-576,24,-432,312,-480,144,-768,288,-576,96,-744,336,-960,192,-720,576,-768,24,-115... |
immutable_testdata/hana9/partlyOKVariation.als | nowavailable/alloy_als_study | 0 | 4367 | <gh_stars>0
open hana9_order
--
-- 明細を完受注できる店舗が無い。しかし候補店舗のリソ−スをすべて足せば、その注文明細を受けられる状態
--
pred partlyOKVariation {
some o: Order |
(o.order_details.requested_deliveries = none)
&& gt[#o.order_details, 1]
// 各々異なる商品であること
&& eq[#o.order_details.merchandise, #o.order_details]
&& (o.order_details.mer... |
programs/oeis/194/A194508.asm | neoneye/loda | 22 | 19929 | ; A194508: First coordinate of the (2,3)-Lagrange pair for n.
; -1,1,0,2,1,0,2,1,3,2,1,3,2,4,3,2,4,3,5,4,3,5,4,6,5,4,6,5,7,6,5,7,6,8,7,6,8,7,9,8,7,9,8,10,9,8,10,9,11,10,9,11,10,12,11,10,12,11,13,12,11,13,12,14,13,12,14,13,15,14,13,15,14,16,15,14,16,15,17,16,15,17,16,18,17,16,18,17,19,18,17,19,18,20,19,18,20,19,21,20
m... |
artwork/esqueleto/esqueleto_idle_espada.asm | fjpena/sword-of-ianna-zx | 67 | 94432 | <reponame>fjpena/sword-of-ianna-zx
; ASM source file created by SevenuP v1.21
; SevenuP (C) Copyright 2002-2007 by <NAME>, aka Metalbrain
;GRAPHIC DATA:
;Pixel Size: ( 24, 32)
;Char Size: ( 3, 4)
;Sort Priorities: X char, Char line, Y char
;Data Outputted: Gfx
;Interleave: Sprite
;Mask: ... |
alloy4fun_models/trashltl/models/4/Ypc9ErqzA5fyuN2Mm.als | Kaixi26/org.alloytools.alloy | 0 | 4742 | open main
pred idYpc9ErqzA5fyuN2Mm_prop5 {
some f : File | eventually f+link.f in Trash
}
pred __repair { idYpc9ErqzA5fyuN2Mm_prop5 }
check __repair { idYpc9ErqzA5fyuN2Mm_prop5 <=> prop5o } |
2e02.asm | sqph/td-micl | 0 | 178550 | ; 2e02.asm
global main
section .text
main:
nop
mov al, 'd' ; on charge une lettre minuscule dans al
; and al, 11011111b ; masque 'AND' (mettre à 0: seulement bit #5)
; minuscule -> majuscule
xor al, 00100000b ; masque 'XOR' (inverser: s... |
aosvs/aosvs-agent-tasking.ads | SMerrony/dgemua | 2 | 29335 | -- MIT License
-- Copyright (c) 2021 <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, p... |
software/hal/hpl/STM32/drivers/debug_stm32f4/stm32-dwt.ads | TUM-EI-RCS/StratoX | 12 | 3240 | <filename>software/hal/hpl/STM32/drivers/debug_stm32f4/stm32-dwt.ads
-- Data Watchpoint and Trace (DWT) Unit
-- Gives access to cycle counter.
pragma Restrictions (No_Elaboration_Code);
with Interfaces; use Interfaces;
with System;
package STM32.DWT is
DWT_Core_Base : constant System.Address :=
System'To_A... |
libsrc/_DEVELOPMENT/stdio/c/sccz80/fprintf_unlocked.asm | meesokim/z88dk | 0 | 85561 | <reponame>meesokim/z88dk
; int fprintf_unlocked(FILE *stream, const char *format, ...)
SECTION code_stdio
PUBLIC fprintf_unlocked
EXTERN asm_fprintf_unlocked
defc fprintf_unlocked = asm_fprintf_unlocked
|
engine/predefs12.asm | etdv-thevoid/pokemon-rgb-enhanced | 9 | 240449 | ; b = new colour for BG colour 0 (usually white) for 4 frames
ChangeBGPalColor0_4Frames:
call GetPredefRegisters
ld a, [rBGP]
or b
ld [rBGP], a
ld c, 4
call DelayFrames
ld a, [rBGP]
and %11111100
ld [rBGP], a
ret
PredefShakeScreenVertically:
; Moves the window down and then back in a sequence of progressivel... |
FlameOS/Includes32/Commands.asm | Th3Matt/FlameOS | 0 | 246448 |
Commands:
.echo:
mov esi, .echo.text
call VDriver.printStr
mov esi, Values.keyboardBuffer
xor eax, eax
mov al, [Values.keyboardBufferPos]
add esi, eax
call VDriver.printStr
ret
.echo.text: db 'echo: ', 0
.ec... |
test/succeed/RecordInParModule.agda | asr/agda-kanso | 1 | 12823 |
module RecordInParModule (a : Set) where
record Setoid : Set1 where
field el : Set
postulate
S : Setoid
A : Setoid.el S
postulate X : Set
module M (x : X) where
record R : Set where
module E {x : X} (r : M.R x) where
open module M' = M.R x r
|
Examples/Lambda/SmallStep.agda | LcicC/inference-systems-agda | 3 | 8971 | --------------------------------------------------------------------------------
-- This is part of Agda Inference Systems
{-# OPTIONS --sized-types #-}
open import Data.Nat
open import Data.Vec
open import Data.Fin
open import Data.Product
open import Data.Unit
open import Data.Empty
open import Relation.Nullary
ope... |
fbsql/Fbsql.g4 | fbsql/fbsql | 16 | 6850 | grammar Fbsql;
/*
MIT License
Copyright (c) 2020 FBSQL Team
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, mer... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1161.asm | ljhsiun2/medusa | 9 | 101898 | <filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1161.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1312c, %rcx
nop
nop
nop
nop
xor $43429, %r15
mov (%rcx), %rsi
nop
cmp %rdi, %rdi
lea address... |
kernel.asm | samruddhishastri/Modified-xv6 | 0 | 9603 |
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... |
src/tests/bintoasc_suite-base16_tests.adb | jhumphry/Ada_BinToAsc | 0 | 22044 | -- BinToAsc_Suite.Base16_Tests
-- Unit tests for BinToAsc
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
with Ada.Assertions;
with AUnit.Assertions;
with System.Storage_Elements;
with String_To_Storage_Array;
package body BinToAsc_Suite.Base16_Tests is
use AUnit.Assertions;
use System.Storage_... |
source/oasis/program-elements-paths.ads | optikos/oasis | 0 | 11702 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package Program.Elements.Paths is
pragma Pure (Program.Elements.Paths);
type Path is limited interface and Program.Elements.Element;
type P... |
programs/oeis/171/A171522.asm | karttu/loda | 0 | 1743 | <filename>programs/oeis/171/A171522.asm<gh_stars>0
; A171522: Denominator of 1/n^2-1/(n+2)^2.
; 0,9,16,225,144,1225,576,3969,1600,9801,3600,20449,7056,38025,12544,65025,20736,104329,32400,159201,48400,233289,69696,330625,97344,455625,132496,613089,176400,808201,230400,1046529,295936,1334025,374544,1677025,467856,208224... |
legacy-core/src/test/resources/dm/TestModel2.ads | greifentor/archimedes-legacy | 0 | 30587 | <reponame>greifentor/archimedes-legacy<gh_stars>0
<Diagramm>
<AdditionalSQLCode>
<SQLCode>
<AdditionalSQLCodePostChanging></AdditionalSQLCodePostChanging>
<AdditionalSQLCodePostReducing></AdditionalSQLCodePostReducing>
<AdditionalSQLCodePreChanging></AdditionalSQLCod... |
programs/oeis/001/A001303.asm | karttu/loda | 1 | 247329 | ; A001303: Stirling numbers of first kind, s(n+3, n), negated.
; 6,50,225,735,1960,4536,9450,18150,32670,55770,91091,143325,218400,323680,468180,662796,920550,1256850,1689765,2240315,2932776,3795000,4858750,6160050,7739550,9642906,11921175,14631225,17836160,21605760,26016936,31154200,37110150,43985970,51891945,60947991... |
src/drivers/zumo_qtr.ads | yannickmoy/SPARKZumo | 6 | 15023 | pragma SPARK_Mode;
with Types; use Types;
-- @summary
-- Interface for reading infrared sensors
--
-- @description
-- This package exposes the interface used to read values from the IR sensors
--
package Zumo_QTR is
-- Represents the maximum and minimum values found by a sensor during
-- a calibration... |
s1/music-original/Mus90 - Continue Screen.asm | Cancer52/flamedriver | 9 | 18613 | <gh_stars>1-10
Mus90_Continue_Screen_Header:
smpsHeaderStartSong 1
smpsHeaderVoice Mus90_Continue_Screen_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $07
smpsHeaderDAC Mus90_Continue_Screen_DAC
smpsHeaderFM Mus90_Continue_Screen_FM1, $E5, $08
smpsHeaderFM Mus90_Continue_S... |
freenet-gotogateway.applescript | rinchen/fesc | 0 | 3639 | <reponame>rinchen/fesc
on clicked theObject
do shell script "open http://127.0.0.1:8888/servlet/nodeinfo/"
end clicked
|
agda/hott/core/equality.agda | piyush-kurur/hott | 0 | 11033 | {-# OPTIONS --without-K #-}
module hott.core.equality where
open import hott.core.universe
-- | The equality type. In hott we think of the equality type as paths
-- between two points in the space A. To simplify the types we first
-- fix the common parameters.
module common {a : Level}{A : Type a} where
data _≡_... |
EndingScene/_code/GlobalCode/endtext.asm | kosmonautdnb/TheLandsOfZador | 0 | 92086 | processor 6502
include "scenesetup.inc"
ORG ENDTEXTADR
include "endtext.inc" |
Data/Fin/Extra.agda | banacorn/numeral | 1 | 11050 | <reponame>banacorn/numeral
module Data.Fin.Extra where
open import Data.Nat
renaming (suc to S; zero to Z; _+_ to _ℕ+_; _*_ to _ℕ*_)
open import Data.Fin
open import Function
open import Relation.Nullary.Negation
open import Relation.Binary.PropositionalEquality
inject-1 : ∀ {n} → (i : Fin (S n)) → toℕ i ≢ n → F... |
alloy4fun_models/trashltl/models/9/XnWCY5pguntPZLdy3.als | Kaixi26/org.alloytools.alloy | 0 | 3743 | open main
pred idXnWCY5pguntPZLdy3_prop10 {
always all f:Protected | f in Protected'
}
pred __repair { idXnWCY5pguntPZLdy3_prop10 }
check __repair { idXnWCY5pguntPZLdy3_prop10 <=> prop10o } |
oa4/fibtest.ada | qunying/AdaTutor | 8 | 22279 | <filename>oa4/fibtest.ada
with Text_IO; use Text_IO;
procedure Fibtest is
Passed : Boolean := True;
function Fib(N : in Positive) return Positive is separate;
procedure Compare (N : in Positive; Right_Answer : in Positive) is
package Int_IO is new Integer_IO(Integer); use Int_IO;
My_Answer : Positiv... |
test/Succeed/Issue858.agda | cagix/agda | 1,989 | 13878 | <gh_stars>1000+
module Issue858 where
module _ (A B : Set) (recompute : .B → .{{A}} → B) where
_$_ : .(A → B) → .A → B
f $ x with .{f} | .(f x) | .{{x}}
... | y = recompute y
module _ (A B : Set) (recompute : ..B → ..{{A}} → B) where
_$'_ : ..(A → B) → ..A → B
f $' x with ..{f} | ..(f x) | ..{{x}}
... |... |
CE3105/ASM4.asm | rafaellepalmos/Assembly_Language | 0 | 241302 | data segment
enternum db 'Enter number:$'
n1 db 'one $'
n2 db 'two $'
n3 db 'three $'
n4 db 'four $'
n5 db 'five $'
n6 db 'six $'
n7 db 'seven $'
n8 db 'eight $'
n9 db 'nine $'
n0 db 'zero $'
n11 db 'minus $'
n12 db 'plus $'
n13 db 'division $'
n14 db 'multiplication $'
num db 20d DUP('$')
nl db 0dh,0a... |
flicker.asm | cslarsen/c64-examples | 15 | 176642 | !source "basic-boot.asm"
+start_at $0900
; Set background and border to black
ldx #$00
stx bgcol
stx bocol
; Flicker border and background
.loop
inc bgcol
inc bocol
jmp .loop
|
CS410-Vec.agda | clarkdm/CS410 | 0 | 6655 | <filename>CS410-Vec.agda
module CS410-Vec where
open import CS410-Prelude
open import CS410-Nat
data Vec (X : Set) : Nat -> Set where
[] : Vec X 0
_::_ : forall {n} ->
X -> Vec X n -> Vec X (suc n)
infixr 3 _::_
_+V_ : forall {X m n} -> Vec X m -> Vec X n -> Vec X (m +N n)
[] +V ys = ys
(x :: xs) +V y... |
oeis/011/A011800.asm | neoneye/loda-programs | 11 | 19740 | ; A011800: Number of labeled forests of n nodes each component of which is a path.
; Submitted by <NAME>
; 1,1,2,7,34,206,1486,12412,117692,1248004,14625856,187638716,2614602112,39310384192,634148436104,10923398137576,200069534481616,3882002527006352,79535575126745632,1715658099715217584,38862145700256398816,9221964930... |
alloy4fun_models/trashltl/models/7/iie5jfpxcNG2hzzWJ.als | Kaixi26/org.alloytools.alloy | 0 | 1463 | open main
pred idiie5jfpxcNG2hzzWJ_prop8 {
eventually all f:File | f in f.link implies f in Trash
}
pred __repair { idiie5jfpxcNG2hzzWJ_prop8 }
check __repair { idiie5jfpxcNG2hzzWJ_prop8 <=> prop8o } |
Sparkz/src/SparkzLexer.g4 | CalebABG/Eva-ElegantMarkup | 0 | 5231 | <reponame>CalebABG/Eva-ElegantMarkup<gh_stars>0
lexer grammar SparkzLexer;
/*
Lexer rules
*/
// Tagname and parameter declarations
TagNameDeclaration
: ValidTagName
;
TagNameSpecialDeclaration
: '`' StringCharacter+ '`'
;
StringLiteral
: '"' StringCharacter* '"'
;
// Symbols
AT : '@';
POUN... |
src/LibraBFT/Impl/Consensus/ConsensusTypes/SyncInfo.agda | LaudateCorpus1/bft-consensus-agda | 0 | 2653 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Base.Types
import LibraBFT.Impl.Consensus.Consensus... |
programs/oeis/171/A171129.asm | neoneye/loda | 22 | 176560 | <gh_stars>10-100
; A171129: a(n)=(n^4-n^3-n^2-n)/2.
; 0,-1,1,21,86,235,519,1001,1756,2871,4445,6589,9426,13091,17731,23505,30584,39151,49401,61541,75790,92379,111551,133561,158676,187175,219349,255501,295946,341011,391035,446369,507376,574431,647921,728245,815814
mov $1,$0
bin $0,2
pow $1,2
mov $2,$1
add $1,1
mul $1,$... |
programs/oeis/063/A063197.asm | karttu/loda | 0 | 167375 | <gh_stars>0
; A063197: Dimension of the space of weight 2n cuspidal newforms for Gamma_0( 9 ).
; 0,1,1,3,3,4,5,6,6,8,8,9,10,11,11,13,13,14,15,16,16,18,18,19,20,21,21,23,23,24,25,26,26,28,28,29,30,31,31,33,33,34,35,36,36,38,38,39,40,41
mov $1,$0
add $0,1
div $0,2
div $1,3
add $1,$0
|
agda-stdlib-0.9/src/Data/Vec/Properties.agda | qwe2/try-agda | 1 | 11232 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Some Vec-related properties
------------------------------------------------------------------------
module Data.Vec.Properties where
open import Algebra
open import Category.Applicative.Indexed
open import Cat... |
snakes.asm | RobinSergeant/2600-Snakes | 3 | 171261 | <reponame>RobinSergeant/2600-Snakes<filename>snakes.asm
; Copyright 2020 by <NAME>. See license.txt distributed with this file.
processor 6502
include "vcs.h"
include "macro.h"
include "xmacro.h"
SEG.U vars
ORG $80
MOTION_DELAY = 10
MUNCH_DELAY = 20
HIS... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1776.asm | ljhsiun2/medusa | 9 | 171057 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x61f6, %r13
nop
nop
inc %rsi
mov $0x6162636465666768, %rdx
movq %rdx, %xmm2
vmovups %ymm2, (%r13)
nop
nop
nop
nop
add $15457, %r9
lea addresses_normal_ht+0x9cf8, %r8
nop
sub $43... |
target/cos_117/disasm/iop_overlay1/CONCERR.asm | jrrk2/cray-sim | 49 | 2330 | <gh_stars>10-100
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@ Input:
@@ OR[280]: Error message code (like 80 or 42)
@@ OR[281]: Pointer to some 2k buffer
@@ OR[282]: Stage (1, 2, 3, 4, 5, something like that)
@@ OR[283]: Set to 0
@@
@@ Error codes:
@@ 6 - 'local buffers exhauste... |
src/QASystemGIC.g4 | eowynpt/QA-FAQ-Uminho | 0 | 1505 | grammar QASystemGIC;
qas: 'BC:' bcQAS 'QUESTOES:' questoes
;
questoes: questao+
;
questao: (PALAVRA | tipo | acao | keyword )+ PONTOTERMINAL+
;
bcQAS: par+
;
par: '(' intencao ';' resposta')'
;
intencao: tipo ',' acao ',' keywords
;
resposta: TEXTO
;
tipo: 'Porquê'... |
iod/con2/qxl16/cmbblk.asm | olifink/smsqe | 0 | 83112 | ; Combine 2 blocks with alpha blending and write result to screen
; (16 bit mode 32)
; v.1.01 make generalized (wl)
; v.1.00 first specialized version (destination was always screen)
;
; based on
; MK's sprite dropping code and on
; Move area (generalised PAN/SCROLL)
;
section con
xdef pt_cmbblk
; d0 s ... |
programs/oeis/067/A067314.asm | karttu/loda | 1 | 80381 | <gh_stars>1-10
; A067314: Duplicate of A066022.
; 1,1,1,2,3,4,5,6,8,9,11,12,13,15,17,18,20,21,23,25,27,28,30,32,34,35,37
mov $1,$0
mov $2,$0
add $2,3
add $1,$2
mul $1,$0
add $2,10
div $1,$2
add $1,1
|
papers/ALL-star/JavaSable.g4 | zspitz/website-antlr4 | 5 | 6058 | /** Converted by Terence Parr to ANTLR v4 */
/* This file is part of the Java 1.7 grammar for SableCC.
*
* Copyright 2006,2012 <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 obtain a copy of the Lic... |
programs/oeis/133/A133257.asm | karttu/loda | 0 | 174956 | ; A133257: The number of edges on a piece of paper that has been folded n times (see comments for more precise definition).
; 4,7,11,17,25,37,53,77,109,157,221,317,445,637,893,1277,1789,2557,3581,5117,7165,10237,14333,20477,28669,40957,57341,81917,114685,163837,229373,327677,458749,655357,917501,1310717,1835005,2621437... |
programs/oeis/004/A004323.asm | neoneye/loda | 22 | 878 | <reponame>neoneye/loda
; A004323: Binomial coefficient C(3n,n-5).
; 1,18,210,2024,17550,142506,1107568,8347680,61523748,445891810,3190187286,22595200368,158753389900,1108176102180,7694644696200,53194089192720,366395202809685,2515943049305400,17231414395464984
mov $1,3
mul $1,$0
add $1,15
bin $1,$0
mov $0,$1
|
src/test/ref/struct-45.asm | jbrandwood/kickc | 2 | 87775 | <reponame>jbrandwood/kickc
// https://gitlab.com/camelot/kickc/-/issues/590
// Commodore 64 PRG executable file
.file [name="struct-45.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Co... |
source/amf/utp/amf-internals-tables-utp_metamodel.ads | svn2github/matreshka | 24 | 4326 | <reponame>svn2github/matreshka<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
programs/oeis/238/A238470.asm | neoneye/loda | 22 | 27336 | <reponame>neoneye/loda
; A238470: Period 7: repeat [0, 0, 1, 0, 0, -1, 0].
; 0,0,1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1,0
mod $0,7
lpb $0
sub $0,2
add $1,1
max $1,... |
programs/oeis/052/A052909.asm | karttu/loda | 1 | 115 | <reponame>karttu/loda
; A052909: Expansion of (1+x-x^2)/((1-x)*(1-3*x)).
; 1,5,16,49,148,445,1336,4009,12028,36085,108256,324769,974308,2922925,8768776,26306329,78918988,236756965,710270896,2130812689,6392438068,19177314205,57531942616,172595827849,517787483548,1553362450645,4660087351936,13980262055809,41940786167428,... |
src/libraries/Rewriters_Lib/src/rewriters_sequence.ads | Fabien-Chouteau/Renaissance-Ada | 1 | 7651 | with Ada.Containers.Vectors;
with Rewriters; use Rewriters;
package Rewriters_Sequence is new Ada.Containers.Vectors
(Positive, Any_Constant_Rewriter);
|
Transynther/x86/_processed/AVXALIGN/_st_zr_4k_sm_/i3-7100_9_0x84_notsx.log_21829_1425.asm | ljhsiun2/medusa | 9 | 84292 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xe2dd, %rsi
lea addresses_UC_ht+0x1cabd, %rdi
clflush (%rdi)
nop
nop
nop
cmp $45323, %rdx
mov $23, %rcx
rep movsb
nop
dec %rax
lea addresses_WC_ht+0x52cd, %r12
xor %rbx, %rbx
movup... |
verification/models/typesystem/ark_subtyping_closure.als | openharmony-gitee-mirror/ark_runtime_core | 1 | 2084 | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 a... |
src/tests/bintoasc-testable.adb | jhumphry/Ada_BinToAsc | 0 | 29753 | <reponame>jhumphry/Ada_BinToAsc
-- BinToAsc_Suite.Misc_Tests
-- Unit tests for BinToAsc
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
with Ada.Characters.Handling;
with AUnit.Assertions;
package body BinToAsc.Testable is
use Ada.Characters.Handling;
use AUnit.Assertions;
------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.