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 |
|---|---|---|---|---|
programs/oeis/138/A138694.asm | neoneye/loda | 22 | 104807 | <reponame>neoneye/loda
; A138694: Numbers n such that the set {2*n+p^2, p any prime} contains exactly one prime.
; 1,4,7,10,16,19,22,25,31,37,40,46,49,52,61,64,70,79,82,85,91,94,109,112,115,121,124,127,130,136,142,151,154,169,172,175,187,190,196,205,211,217,220,226,229,235,241,247,250,256,274,277,280,289,292,295,304,31... |
tests/mobs-test_data-tests-mobinventory_container.ads | thindil/steamsky | 80 | 21977 | <reponame>thindil/steamsky<gh_stars>10-100
package Mobs.Test_Data.Tests.MobInventory_Container is
end Mobs.Test_Data.Tests.MobInventory_Container;
|
programs/oeis/169/A169959.asm | neoneye/loda | 22 | 99319 | ; A169959: a(n) = binomial(10*n, n).
; 1,10,190,4060,91390,2118760,50063860,1198774720,28987537150,706252528630,17310309456440,426342151127100,10542859559688820,261594860525768000,6509613950241656640,162392216278033616560,4059949873964357469950,101696990867999141755140,2551721502411051845896450,641234835274738644904503... |
libsrc/_DEVELOPMENT/font/fzx/fonts/ao/Dutch/_ff_ao_DutchLatin5.asm | meesokim/z88dk | 0 | 246414 | <reponame>meesokim/z88dk
SECTION rodata_font_fzx
PUBLIC _ff_ao_DutchLatin5
_ff_ao_DutchLatin5:
BINARY "font/fzx/fonts/ao/Dutch/Dutch_Latin5.fzx"
|
source/asis/asis-compilation_units-relations.adb | faelys/gela-asis | 4 | 1262 | ------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
oeis/323/A323223.asm | neoneye/loda-programs | 11 | 18382 | ; A323223: a(n) = [x^n] x/((1 - x)*(1 - 4*x)^(5/2)).
; 0,1,11,81,501,2811,14823,74883,366603,1752273,8218733,37964449,173172249,781607349,3496163949,15517771749,68412846069,299828796219,1307168814519,5672308893819,24511334499219,105519144602439,452695473616239,1936085243038839,8256615564926439,35118869432948739,1490148... |
src/util-streams-texts.adb | Letractively/ada-util | 0 | 18823 | -----------------------------------------------------------------------
-- Util.Streams.Files -- File Stream utilities
-- Copyright (C) 2010, 2011, 2012 <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... |
ladspa/examples/amp-stereo.ads | Lucretia/aplug | 2 | 4164 | -- Amp.Stereo
--
--
------------------------------------------------------------------------------------------------------------------------
with Ada.Finalization;
with Interfaces.C;
with Interfaces.C.Strings;
with LADSPA;
private package Amp.Stereo is
package C renames Interfaces.C;
function Instantiate (Desc... |
oeis/006/A006093.asm | neoneye/loda-programs | 11 | 8566 | ; A006093: a(n) = prime(n) - 1.
; Submitted by <NAME>
; 1,2,4,6,10,12,16,18,22,28,30,36,40,42,46,52,58,60,66,70,72,78,82,88,96,100,102,106,108,112,126,130,136,138,148,150,156,162,166,172,178,180,190,192,196,198,210,222,226,228,232,238,240,250,256,262,268,270,276,280,282,292,306,310,312,316,330,336,346,348,352,358,366,3... |
tools-src/gnu/gcc/gcc/ada/exp_tss.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 20285 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
programs/oeis/273/A273420.asm | jmorken/loda | 1 | 161305 | <reponame>jmorken/loda<filename>programs/oeis/273/A273420.asm<gh_stars>1-10
; A273420: First differences of number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 705", based on the 5-celled von Neumann neighborhood.
; 3,17,20,31,41,47,57,63,73,79,89,95,105,111,... |
out/QIO/Signature.agda | k4rtik/agda-soas | 0 | 5181 | {-
This second-order signature was created from the following second-order syntax description:
syntax QIO
type
T : 0-ary
P : 0-ary
term
new : P.T -> T
measure : P T T -> T
applyX : P P.T -> T
applyI2 : P P.T -> T
applyDuv : P P (P,P).T -> T
applyDu : P P.T -> T
applyDv ... |
src/deb/keyboard.asm | amindlost/wdosx | 7 | 86094 | <gh_stars>1-10
; ############################################################################
; ## WDOSX DOS Extender Copyright (c) 1996, 1999, <NAME> ##
; ## ##
; ## Released under the terms of the WDOSX license agreement. #... |
src/aco-od_types.ads | osannolik/ada-canopen | 6 | 242 | with Interfaces;
package ACO.OD_Types is
pragma Preelaborate;
subtype Object_Index is Interfaces.Unsigned_16;
subtype Object_Subindex is Interfaces.Unsigned_8;
type Entry_Index is record
Object : Object_Index;
Sub : Object_Subindex;
end record;
type Byte_Array is array (Natural ra... |
amazon/serializableSnapshotIsolation.als | sanjosh/tlaplus | 6 | 2998 | <gh_stars>1-10
/*
An Alloy model of Cahill's algorithm for serializable snapshot isolation
Paper: http://cahill.net.au/wp-content/uploads/2009/01/real-serializable.pdf
PhD thesis: http://cahill.net.au/wp-content/uploads/2010/02/cahill-thesis.pdf
This is a modification of textbookSnapshotIsolat... |
software/pcx86/bdsrc/dos/memory.asm | jeffpar/basicdos | 59 | 242242 | <filename>software/pcx86/bdsrc/dos/memory.asm<gh_stars>10-100
;
; BASIC-DOS Memory Services
;
; @author <NAME> <<EMAIL>>
; @copyright (c) 2020-2021 <NAME>
; @license MIT <https://basicdos.com/LICENSE.txt>
;
; This file is part of PCjs, a computer emulation software project at pcjs.org
;
include macros.inc
i... |
oeis/325/A325126.asm | neoneye/loda-programs | 11 | 28542 | ; A325126: a(1) = 1; a(n) = -Sum_{d|n, d<n} rad(n/d) * a(d), where rad = A007947.
; Submitted by <NAME>
; 1,-2,-3,2,-5,6,-7,-2,6,10,-11,-6,-13,14,15,2,-17,-12,-19,-10,21,22,-23,6,20,26,-12,-14,-29,-30,-31,-2,33,34,35,12,-37,38,39,10,-41,-42,-43,-22,-30,46,-47,-6,42,-40,51,-26,-53,24,55,14,57,58,-59,30
add $0,1
mov $1,... |
src/Semantics/Substitution/Soundness.agda | DimaSamoz/temporal-type-systems | 4 | 4170 | <gh_stars>1-10
-- Soundness proofs of structural lemmas and substitution
module Semantics.Substitution.Soundness where
open import Syntax.Types
open import Syntax.Context renaming (_,_ to _,,_)
open import Syntax.Terms
open import Syntax.Substitution.Kits
open import Syntax.Substitution.Instances
open import Syntax.S... |
src/gbc/cps_inc_overflow.asm | Hacktix/TixTest-GB | 5 | 4844 | <reponame>Hacktix/TixTest-GB
; ===== Makefile Headers =====
; MBC 0x00
; RAM 0x00
INCLUDE "hardware.inc"
INCLUDE "font.inc"
INCLUDE "common.inc"
BCPS_LABEL_ADDR_BASE EQU $9821
OCPS_LABEL_ADDR_BASE EQU $9861
SECTION "Header", ROM0[0]
ds $100 - @
SECTION "Test", ROM0[$100]
EntryPoint::
jr Main
ds $150 - @
;... |
agda/Heapsort/Impl2.agda | bgbianchi/sorting | 6 | 200 | <gh_stars>1-10
open import Relation.Binary.Core
module Heapsort.Impl2 {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_)
(trans≤ : Transitive _≤_) where
open import BBHeap _≤_ hiding (flatten)
open import BBHeap.Compound _≤_
open import BBHeap.Drop _≤_ tot≤ trans≤... |
test/Fail/NonUniqueInstance1.agda | cruhland/agda | 1,989 | 2533 | open import Common.Prelude hiding (tt)
instance
tt : ⊤
tt = record{}
NonZero : Nat → Set
NonZero zero = ⊥
NonZero (suc _) = ⊤
pred′ : (n : Nat) {{_ : NonZero n}} → Nat
pred′ zero {{}}
pred′ (suc n) = n
test : (n : Nat) {{x y : NonZero n}} → Nat
test n = pred′ n
|
programs/oeis/168/A168195.asm | neoneye/loda | 22 | 89798 | <filename>programs/oeis/168/A168195.asm
; A168195: a(n) = 2*n - a(n-1) + 1 with n>1, a(1)=5.
; 5,0,7,2,9,4,11,6,13,8,15,10,17,12,19,14,21,16,23,18,25,20,27,22,29,24,31,26,33,28,35,30,37,32,39,34,41,36,43,38,45,40,47,42,49,44,51,46,53,48,55,50,57,52,59,54,61,56,63,58,65,60,67,62,69,64,71,66,73,68,75,70,77,72,79,74,81,76... |
commands/system/wallpaper-refresh.applescript | itsmewes/script-commands | 0 | 1733 | <filename>commands/system/wallpaper-refresh.applescript
#!/usr/bin/osascript
# @raycast.title Refresh Wallpaper
# @raycast.author <NAME>
# @raycast.authorURL https://github.com/crstauf
# @raycast.description Refresh the current display's wallpaper.
# @raycast.icon 🖼️
# @raycast.mode silent
# @raycast.packageName Sys... |
run on external mount.scpt | byronmansfield/lrbkup | 0 | 2122 | <filename>run on external mount.scpt
(*
External Drive Auto Backup
AppleScript for prompting user to run a bash script via OSX dialog GUI
when a watched folder has a new item. Intended use is to prompt for
backup script to run when external drive is mounted
Written and maintained by: <NAME> <EMAIL>
*)
-- trigger a... |
AER201.asm | angusfung/Barrel-Inspector-Robot | 0 | 21256 | <gh_stars>0
list p=16f877 ; list directive to define processor
#include <p16f877.inc> ; processor specific variable definitions
__CONFIG _CP_OFF & _WDT_OFF & _BODEN_ON & _PWRTE_ON & _HS_OSC & _WRT_ENABLE_ON & _CPD_OFF & _LVP_OFF
#include <rtc_macros.inc>
cbl... |
source/libgela/gela-embeded_links-caches.adb | faelys/gela-asis | 4 | 11357 | <filename>source/libgela/gela-embeded_links-caches.adb
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- ... |
programs/oeis/140/A140226.asm | jmorken/loda | 1 | 21367 | <reponame>jmorken/loda<filename>programs/oeis/140/A140226.asm
; A140226: Binomial transform of [1, 3, 3, 1, 1, -1, 1, -1, 1, ...].
; 1,4,10,20,36,60,94,140,200,276,370,484,620,780,966,1180,1424,1700,2010,2356,2740,3164,3630,4140,4696,5300,5954,6660,7420,8236,9110,10044,11040,12100,13226,14420
mov $1,1
lpb $0
add $2,... |
basic-assembly-programs/JUMP-AND-LOOP.asm | ralphcajipe/assembly-8086 | 0 | 163455 | <gh_stars>0
.model small
org 100h
.data
.code
main proc
mov ah, 9h
mov dx, numbers ;variable
mov cx, 4 ;loop 4 times
TestLoop:
int 21h
loop TestLoop
quit:
mov ah, 0x4c
mov al, 0x00
int 21h
numbers: db '12345678910', ... |
src/data/lib/prim/Agda/Builtin/IO.agda | pthariensflame/agda | 0 | 8665 | <filename>src/data/lib/prim/Agda/Builtin/IO.agda
{-# OPTIONS --without-K #-}
module Agda.Builtin.IO where
postulate IO : ∀ {a} → Set a → Set a
{-# BUILTIN IO IO #-}
{-# HASKELL type AgdaIO a b = IO b #-}
{-# COMPILED_TYPE IO MAlonzo.Code.Agda.Builtin.IO.AgdaIO #-}
|
alloy4fun_models/trashltl/models/18/hSDqCfRrhGdbswfrd.als | Kaixi26/org.alloytools.alloy | 0 | 3379 | open main
pred idhSDqCfRrhGdbswfrd_prop19 {
always all f:Protected | f in Protected until eventually f in Trash
}
pred __repair { idhSDqCfRrhGdbswfrd_prop19 }
check __repair { idhSDqCfRrhGdbswfrd_prop19 <=> prop19o } |
Chapter11/mz.asm | nickthiru/Ghidra-Software-Reverse-Engineering-for-Beginners | 66 | 178486 | <reponame>nickthiru/Ghidra-Software-Reverse-Engineering-for-Beginners<gh_stars>10-100
format MZ
mov ah, 9h
mov dx, hello
int 21h
mov ax, 4c00h
int 21h
hello db 'Hello, world!', 13, 10, '$'
|
lib/gray86.asm | dex4er/deb-z88dk | 1 | 88630 |
; Graylib interrupt installer
; Ported for the Z88DK and modified for the TI86 by <NAME> - May 2000
;
; original code (graydraw.asm) by:
;
;------------------------------------------------------------
; Date: Sun, 5 May 1996 12:44:17 -0400 (EDT)
; From: <NAME> [<EMAIL>]
; Subject: LZ: Graydraw source!
;-----... |
src/asf-contexts-exceptions.adb | Letractively/ada-asf | 0 | 26187 | <gh_stars>0
-----------------------------------------------------------------------
-- asf-contexts-exceptions -- Exception handlers in faces context
-- Copyright (C) 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except... |
dino/lcs/123p/70.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 168438 | copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D94 move.l D1, (A1)+
004D96 dbra D0, $4d94
006886 move.w A0, ($70,A6) [123p+ 90]
00688A move.b #$12, ($c8,A6) [123p+ 70]
0068C8 move.w A6, ($70,A0) [123p+ 10]
0068CC move.b #$12, ($c8,A0) [123... |
software/hal/hpl/STM32/drivers/stm32-rng-interrupts.adb | TUM-EI-RCS/StratoX | 12 | 9459 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
src/vulkan-math/vulkan-math-integers.adb | zrmyers/VulkanAda | 1 | 18776 | --------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 <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 r... |
libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm_mul10uf.asm | Frodevan/z88dk | 640 | 178406 | <reponame>Frodevan/z88dk
; float _mul10uf (float number) __z88dk_fastcall
SECTION code_clib
SECTION code_fp_math32
PUBLIC asm_mul10uf
EXTERN m32_mul10u_fastcall
; Multiply a float by 10, and make positive
;
; enter : stack = ret
; DEHL = sccz80_float number
;
; exit : DEHL = 10... |
programs/oeis/307/A307939.asm | karttu/loda | 1 | 89465 | <reponame>karttu/loda
; A307939: Number of (undirected) Hamiltonian paths in the n-dipyramidal graph.
; 36,120,310,660,1218,2032,3150,4620,6490,8808,11622,14980,18930,23520,28798,34812,41610,49240,57750,67188,77602,89040,101550,115180,129978,145992,163270,181860,201810,223168,245982,270300,296170,323640,352758,383572,4... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_1339.asm | ljhsiun2/medusa | 9 | 9252 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x2ab5, %rsi
sub $36332, %rax
vmovups (%rsi), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $0, %xmm2, %rdi
nop
nop
dec %r15
lea addresses_D_ht+0x1df5d, %rsi
lea a... |
oeis/122/A122012.asm | neoneye/loda-programs | 11 | 240416 | <filename>oeis/122/A122012.asm
; A122012: G.f.: x^2*(3+3*x-2*x^2)/ ( (x^2-x-1) * (x^2+x-1)).
; Submitted by <NAME>(s1)
; 0,3,3,7,9,18,24,47,63,123,165,322,432,843,1131,2207,2961,5778,7752,15127,20295,39603,53133,103682,139104,271443,364179,710647,953433,1860498,2496120,4870847,6534927,12752043,17108661,33385282,4479105... |
programs/oeis/084/A084903.asm | jmorken/loda | 1 | 3869 | <gh_stars>1-10
; A084903: Binomial transform of positive cubes.
; 1,9,44,170,576,1792,5248,14688,39680,104192,267264,672256,1662976,4055040,9764864,23257088,54853632,128253952,297533440,685375488,1568669696,3569352704,8078229504,18192793600,40785412096,91049951232
mov $1,$0
add $1,2
mov $2,$0
mov $4,$0
add $4,2
mov $5... |
Driver/Net/NW/nwUtils.asm | steakknife/pcgeos | 504 | 8161 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: nwUtils.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- ----------... |
oeis/158/A158493.asm | neoneye/loda-programs | 11 | 93299 | <gh_stars>10-100
; A158493: a(n) = 20*n^2 + 1.
; 1,21,81,181,321,501,721,981,1281,1621,2001,2421,2881,3381,3921,4501,5121,5781,6481,7221,8001,8821,9681,10581,11521,12501,13521,14581,15681,16821,18001,19221,20481,21781,23121,24501,25921,27381,28881,30421,32001,33621,35281,36981,38721,40501,42321,44181,46081,48021,50001,... |
src11.als | NVlabs/ptxmemorymodel | 27 | 825 | <filename>src11.als
module src11[hwEvent,hwAddress,hwScope]
open util
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Programs and candidate executions
sig Address {
addrmap: one hwAddress
}
fun loc : Event->Event { address.~address }
sig Scope {
... |
Task/Guess-the-number-With-feedback/AppleScript/guess-the-number-with-feedback.applescript | LaudateCorpus1/RosettaCodeData | 1 | 1081 | <filename>Task/Guess-the-number-With-feedback/AppleScript/guess-the-number-with-feedback.applescript
-- defining the range of the number to be guessed
property minLimit : 1
property maxLimit : 100
on run
-- define the number to be guessed
set numberToGuess to (random number from minLimit to maxLimit)
-- prepare a v... |
programs/oeis/189/A189887.asm | jmorken/loda | 1 | 88174 | ; A189887: Dimension of homogeneous component of degree n in x in the Malcev-Poisson superalgebra S^tilde(M).
; 1,1,2,3,4,6,9,11,12,14,17,19,20,22,25,27,28,30,33,35,36,38,41,43,44,46,49,51,52,54,57,59,60,62,65,67,68,70,73,75,76,78,81,83,84,86,89,91,92,94,97,99,100,102,105,107,108,110,113,115,116,118,121,123,124,126,129... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1333.asm | ljhsiun2/medusa | 9 | 243048 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1333.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r15
push %r8
push %rcx
// Faulty Load
lea addresses_UC+0xdb54, %r13
clflush (%r13)
nop
nop
nop
nop
nop
and $37037... |
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-flash_cmpa.ads | morbos/Ada_Drivers_Library | 2 | 5858 | <reponame>morbos/Ada_Drivers_Library
-- Copyright 2016-2019 NXP
-- All rights reserved.SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from LPC55S6x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NXP_S... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_411.asm | ljhsiun2/medusa | 9 | 166523 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x10c50, %rsi
lea addresses_WT_ht+0xa010, %rdi
nop
nop
nop
nop
xor %r10, %r10
mov $123, %rcx
rep movsl
nop
nop
nop
nop
cmp %rax, %rax
lea addresses_D_ht+0x9a50, %r15
nop
no... |
src/loop.asm | bob8213/asm-tests | 0 | 169240 | <gh_stars>0
global _main
extern _printf
section .text
_main:
; Set loop counter
mov ecx, 5
l1:
; pushing ecx because printf messes with it
; probably not optimal but... ¯\_(ツ)_/¯
push ecx
push message
call _printf
add esp, 4
pop ecx
loop l1
ret
message:
db 'boop :)', 10, 0
|
lib/set_caps_to_ctrl.applescript | bjeanes/babushka-deps | 1 | 2281 | tell application "System Preferences"
activate
reveal pane "Keyboard"
end tell
tell application "System Events" to tell process "System Preferences" to tell window "Keyboard"
click button "Modifier Keys…" of tab group 1
tell sheet 1
-- if more than one keyboard is plugged in, an extra pop up button is show... |
FormalAnalyzer/models/meta/cap_presenceSensor.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 1425 | <filename>FormalAnalyzer/models/meta/cap_presenceSensor.als
// filename: cap_presenceSensor.als
module cap_presenceSensor
open IoTBottomUp
one sig cap_presenceSensor extends Capability {}
{
attributes = cap_presenceSensor_attr
}
abstract sig cap_presenceSensor_attr extends Attribute {}
one sig cap_presenceSensor_a... |
TableTopTennisSimulator2012.asm | Yttrmin/TableTopTennis | 2 | 88138 | ; Table Top Tennis Simulator 2012
processor 6502
include vcs.h
org $F000
;Constants
BGColor = $48
PFColor = $34
P0Color = $C6 ; Green
P1Color = $94 ; Blue
BallColor = $0E ; White
PF0Sprite = %00110000
PaddleOnSprite = %00011000
PaddleOffSprite = %00000000
BallOn = %00000010
BallOff = %00000000
Pad... |
libsrc/target/gl/stdio/fgetc_cons.asm | ahjelm/z88dk | 640 | 80169 | <reponame>ahjelm/z88dk
SECTION code_clib
PUBLIC fgetc_cons
PUBLIC _fgetc_cons
EXTERN getk
EXTERN VGL_KEY_STATUS_ADDRESS
fgetc_cons:
_fgetc_cons:
ld a,0xc0
ld (VGL_KEY_STATUS_ADDRESS),a
loop1:
ld a,(VGL_KEY_STATUS_ADDRESS)
cp $d0
jr nz,loop1
call getk
ld a,l
and a
jr z... |
tests/missions-test_data-tests.ads | thindil/steamsky | 80 | 17640 | -- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with Gnattest_Generated;
package Missions.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Missions.Test_Data
.Test with
n... |
examples/mov.asm | paulbarbu/cpu-emu | 2 | 21120 | <filename>examples/mov.asm
;MOV R4, 4
;BR ADDlbl
;MOV R1, 1
; MOV R3, 0
;MOV R5, 42
;MOV R2, 42
; MOV R0,R1
; MOV R4,(R1)
; MOV R4,(R1)1
;MOV (R1),R2
;MOV (R3), 121
; MOV (R1)1,(R1)
; MOV (R3)1,(R1)1
;JMP testlbl
;CLC
;ADDlbl:
;CLR R3
;ADD R5, R1
;MOV R1, 43
;SUB R5, R1
;OR R5, R1
;XOR R1, R1
;INC R1
mov r1, 1
PUSH ... |
servo5.asm | adamlukomski/8051servocontroller | 0 | 170113 | ; ABOUT
; praca na 4800, 8bit danych, bez parzystosci, 1bit stopu, sprzetowe sterowanie przeplywem
; na razie tylko wywala znak na port2
;
;==========================================
; TIMER 2 DECLARATIONS
T2CON EQU 0C8h
TF2 EQU T2CON.7
EXF2 EQU T2CON.6
RCLK EQU T2CON.5
TCLK EQU T2CON.4
... |
konz/konz1/demo.adb | balintsoos/LearnAda | 0 | 2618 | with Rac;
use Rac;
procedure demo is
A : Raci := 5 / 4;
B : Raci := 3/2;
begin
kiir(A+B);
end demo;
|
ASM/src/cutscenes.asm | ActuallyAdasi/OoT-Randomizer | 289 | 84521 | <filename>ASM/src/cutscenes.asm
override_great_fairy_cutscene:
; a0 = global context
; a2 = fairy actor
lw t0, 0x1D2C (a0) ; t0 = switch flags
li t1, 1
sll t1, t1, 0x18 ; t1 = ZL switch flag
and v0, t0, t1
beqz v0, @@return ; Do nothing until ZL is played
nop
lh... |
Project/Test/Assembly Test/Test 01/test_01.ng.asm | las-nish/NanoG-Compiler | 3 | 179705 | <filename>Project/Test/Assembly Test/Test 01/test_01.ng.asm<gh_stars>1-10
; generated assembly file [May 16 2021 & 17:20:32]
; link using "ld object_file.o - o exe_file" command
%define program _start
section .text
global program
program:
push rbp
mov rbp, rsp
mov QWORD [rbp-8], rdi
mov QWORD [rbp-16], r... |
Codes/Chapter06/P05/P06-05.asm | ar-ekt/Dandamudi-Assembly-Solutions | 8 | 167272 | <filename>Codes/Chapter06/P05/P06-05.asm
global _start
extern ExitProcess
%INCLUDE "lib.h"
%macro geti 0
fgets buffer, 12
a2i 12, buffer
%endmacro
%macro puti 1
i2a DWORD %1, buffer
puts buffer
%endmacro
section .data
MAX_COL EQU 10
MAX_ROW EQU 10
NEWLINE db 10, 0
TAB db 9, 0
... |
oeis/166/A166036.asm | neoneye/loda-programs | 11 | 102413 | <filename>oeis/166/A166036.asm
; A166036: a(n) = (4^n+8*(-5)^n)/9.
; Submitted by <NAME>(s1)
; 1,-4,24,-104,584,-2664,14344,-67624,354504,-1706984,8797064,-42936744,218878024,-1077612904,5455173384,-27007431464,136110899144,-676259528424,3398477511304,-16923668079784,84893218305864,-423366579901544,2121230946018824,-10... |
Quiz and Lab Assessment/Solution/4.asm | simonahsan2129/CSE331L-Section-1-Fall20-NSU | 1 | 241475 | <filename>Quiz and Lab Assessment/Solution/4.asm
.model small
.stack 100h
.data
msg1 db 10,13,"ENTER A HEX DIGIT: $"
msg2 db 10,13,"IN DECIMAL IS IT: $"
msg3 db 10,13,"DO YOU WANT TO DO IT AGAIN? $"
msg4 db 10,13,"INVALID CHARACTER- ENTER 0-9 OR A-F: $"
.code
again:
mov ax,@data
mov ds,ax
lea dx,msg1
... |
projects/batfish/src/batfish/grammar/z3/DatalogQueryResultLexer.g4 | luispedrosa/batfish | 0 | 2321 | lexer grammar DatalogQueryResultLexer;
options {
superClass = 'batfish.grammar.BatfishLexer';
}
@header {
package batfish.grammar.z3;
}
AND
:
'and'
;
EXTRACT
:
'extract'
;
FALSE
:
'false'
;
LET
:
'let'
;
NOT
:
'not'
;
OR
:
'or'
;
SAT
:
'sat'
;
TRUE
:
'true'
;
UNSAT
:
'unsat'
;
... |
awa/src/awa-modules.ads | twdroeger/ada-awa | 0 | 10390 | <filename>awa/src/awa-modules.ads
-----------------------------------------------------------------------
-- awa-modules -- Application Module
-- Copyright (C) 2009, 2010, 2011, 2012, 2015, 2016, 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-... |
programs/oeis/273/A273745.asm | neoneye/loda | 22 | 90741 | <filename>programs/oeis/273/A273745.asm
; A273745: First differences of number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 901", based on the 5-celled von Neumann neighborhood.
; 7,17,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,... |
programs/oeis/060/A060690.asm | neoneye/loda | 22 | 167290 | ; A060690: a(n) = binomial(2^n + n - 1, n).
; 1,2,10,120,3876,376992,119877472,131254487936,509850594887712,7145544812472168960,364974894538906616240640,68409601066028072105113098240,47312269462735023248040155132636160
mov $1,2
pow $1,$0
mov $2,$0
sub $2,1
add $1,$2
bin $1,$0
mov $0,$1
|
src/FormulaParser.g4 | AnandSaminathan/formula-tree | 0 | 5498 | parser grammar FormulaParser;
options {
tokenVocab = FormulaLexer;
}
form : propForm
| pseudoBoolForm
| ltlForm
;
propForm : relationalForm #propBase
| OPEN_PARAN formula=propForm CLOSE_PARAN ... |
src/drawCode/mmDraw.asm | Gip-Gip/VePseu | 5 | 95793 | <filename>src/drawCode/mmDraw.asm
; Draws the compass to the screen
; See GLOSSARY.TXT for definitions of vague words
mmDraw:
INCLUDE "drawCode/mmRender.asm"
SUBROUTINE ; The preceeding code declares it's own subroutine
LDY #NULL
STY GRP0
STY GRP1
STY WSYNC
STY HMOVE
... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_1256.asm | ljhsiun2/medusa | 9 | 92085 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xce0d, %rsi
cmp $35065, %rbx
mov $0x6162636465666768, %r9
movq %r9, (%rsi)
nop
nop
nop
nop
nop
sub $5600, %rbx
lea addresses_A_ht+0x1430d, %rsi
lea addresses_normal_ht+0x... |
tools-src/gnu/gcc/gcc/ada/a-stunau.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 1945 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- ... |
Transynther/x86/_processed/NC/_ht_st_zr_un_4k_/i7-7700_9_0x48.log_21829_1369.asm | ljhsiun2/medusa | 9 | 102060 | <gh_stars>1-10
.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_UC_ht+0x1930b, %rdi
nop
nop
nop
nop
nop
inc %rdx
mov (%rdi), %r8w
nop
nop
nop
nop
nop
and %rbx, %rbx
lea addresses_WC_ht+0x19ccb, %rcx
inc %rsi
vmovups (%rcx), %ymm6
v... |
libsrc/strings/strlcpy_callee.asm | grancier/z180 | 8 | 173630 | <gh_stars>1-10
; uint __CALLEE__ strlcpy_callee(char *dst, char *src, uint size)
; 06.2008 aralbrec
SECTION code_clib
PUBLIC strlcpy_callee
PUBLIC _strlcpy_callee
PUBLIC ASMDISP_STRLCPY_CALLEE
IF FORrcmx000
EXTERN rcmx_cpir
ENDIF
.strlcpy_callee
._strlcpy_callee
pop af
pop bc
pop hl
pop de
push af
... |
guitarfx/echo2.asm | ksteensig/dsp-guitar-multieffects | 1 | 87644 |
.sect ".ivars"
.align 2
dl: .word 0x0FFF
G: .word 0x3000 ;Signed Q15
D: .word 0x7FFF ;Signed Q15
;.def echo_effect
.ref xn
*********************************************************************
* echo_effect *
* Adds echo effect to input sample *
* Takes paramters: *
* ... |
source/contexts/plain/program-plain_contexts.adb | reznikmm/gela | 0 | 18302 | -- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with System.Storage_Pools.Subpools;
with Program.Directory_Unit_Schemas;
with Program.GNAT_Unit_Naming;
with Program.Nodes.Identifiers.Set_Defining_Name;
with Progra... |
alloy4fun_models/trainstlt/models/13/CtJ7kQF3K5spPC9YF.als | Kaixi26/org.alloytools.alloy | 0 | 4660 | open main
pred idCtJ7kQF3K5spPC9YF_prop14 {
always ( all t:Train | (some t.pos and one (t.pos.signal :>Green) )implies (t.pos != t.pos' and t.pos.signal in Signal-Green) )
}
pred __repair { idCtJ7kQF3K5spPC9YF_prop14 }
check __repair { idCtJ7kQF3K5spPC9YF_prop14 <=> prop14o } |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2983.asm | ljhsiun2/medusa | 9 | 1159 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x3fb4, %r15
nop
nop
nop
sub $22092, %r12
movb $0x61, (%r15)
nop
xor $18736, %rdi
lea addresses_UC_ht+0x16e54, %r11
nop
nop
nop
xor $468... |
proofs/AKS/Nat/Divisibility.agda | mckeankylej/thesis | 1 | 14954 | <reponame>mckeankylej/thesis
open import Relation.Nullary.Decidable using (False)
open import Relation.Binary.PropositionalEquality using (_≡_; refl; sym; cong; cong₂)
open import Relation.Binary.PropositionalEquality.WithK using (≡-erase)
module AKS.Nat.Divisibility where
open import Data.Nat.Divisibility using (_∣_... |
EngineHacks/CoreHacks/ModularLevelUp/LevelUpScreen/MagChaMiscASM/MagCha.asm | MokhaLeee/FE16re-Proto | 5 | 175655 | .thumb
.include "_Definitions.h.s"
.global Get_New_Charm
.type Get_New_Charm, function
Get_New_Charm:
ldr r1, =gMapAnimData
lsl r0, r2, #2
add r0, r0, r2
lsl r0, r0, #2
add r1, #4
add r0, r1
ldr r0,[r0]
blh GetBu_ChangeChaAt
ldrb r0,[r0]
lsl r0, #0x18
lsr r0, #0x18
pop {r1}
bx r1
.ltorg
.al... |
pkgs/tools/yasm/src/modules/parsers/nasm/tests/uscore.asm | manggoguy/parsec-modified | 2,151 | 242369 | <filename>pkgs/tools/yasm/src/modules/parsers/nasm/tests/uscore.asm
dq 0000_1111_2222_3333h
dq 0000111122223333h
dd 0x01_23_45_67
dd 0x01234567
dw 1_2_3_4q
dw 1234q
db 00_11_00_11b
db 00110011b
_0:
dw _0
|
Task/Flow-control-structures/Ada/flow-control-structures-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 5614 | select
delay 10.0;
Put_Line ("Cannot finish this in 10s");
then abort
-- do some lengthy calculation
...
end select;
|
source/amf/mof/cmof/amf-internals-cmof_namespaces.ads | svn2github/matreshka | 24 | 25112 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
demo/agda/FRP/JS/Demo/Calculator/View.agda | agda/agda-frp-js | 63 | 13412 | open import FRP.JS.Behaviour using ( Beh ; [_] ; map )
open import FRP.JS.Event using ( Evt ; tag )
open import FRP.JS.DOM using
( DOM ; click ; element ; text ; _++_ ; element+ ; text+ ; listen+ ; _+++_ )
open import FRP.JS.RSet using ( RSet ; ⟦_⟧ ; ⟨_⟩ ; _⇒_ )
open import FRP.JS.Product using ( _∧_ ; _,_ )
open imp... |
2.0/cpm20_code/xsub0.asm | officialrafsan/CP-M | 0 | 80030 | version equ 20h
; xsub relocator program, included with the module
; to perform the move from 200h to the destination address
;
; copyright (c) 1979
; digital research
; box 579
; pacific grove, ca.
; 93950
;
org 100h
db (lxi or (b shl 3)) ;lxi b,module size
org $+2 ;skip address field
jmp start
db ' Extended Su... |
programs/oeis/100/A100119.asm | neoneye/loda | 22 | 103922 | <reponame>neoneye/loda<filename>programs/oeis/100/A100119.asm<gh_stars>10-100
; A100119: a(n) = n-th centered n-gonal number.
; 1,2,7,19,41,76,127,197,289,406,551,727,937,1184,1471,1801,2177,2602,3079,3611,4201,4852,5567,6349,7201,8126,9127,10207,11369,12616,13951,15377,16897,18514,20231,22051,23977,26012,28159,30421,3... |
Driver/Video/Dumb/VidMem/Main/mainTables.asm | steakknife/pcgeos | 504 | 162546 | COMMENT @-----------------------------------------------------------------------
Copyright (c) Berkeley Softworks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Video memory driver
FILE: mainTables.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Jim 8/89 Initial version
... |
test_file/test_file_no_import.asm | drobotun/pefile_scripts | 0 | 3764 | <reponame>drobotun/pefile_scripts<gh_stars>0
format PE64 GUI
include 'win64ax.inc'
.data
test_data db 0x34
.code
start:
mov eax, test_data
.end start
|
src/asm_files/saveStateTests/saveState.asm | zedth2/sunyat-c | 0 | 85643 | <gh_stars>0
.constant TERM 0xFF
.constant CR 0xD
.constant LF 0xA
jmp !main
!crlf
.variable crlf0 CR
.variable crlf1 LF
.variable crlf2 0x00
!main
mov R0 'F'
mov R1 'U'
mov R2 'C'
mov R3 'K'
mov R4 ' '
mov R5 'Y'
mov R6 'O'
mov R7 'U'
aux 0
stor TERM R0
stor TERM R1
stor TERM R2
stor TERM R3
stor... |
tests/vice-tests/VIC20/viavarious/via5a.asm | PhylumChordata/chips-test | 330 | 24086 | !to "via5a.prg", cbm
TESTID = 5
tmp=$fc
addr=$fd
add2=$f9
ERRBUF = $1f00
TMP = $2000 ; measured data on C64 side
DATA = $3000 ; reference data
TESTLEN = $20
NUMTESTS = 18 - 12
TESTSLOC = $1800
DTMP=screenmem
!src "common.asm"
* = TESTSLOC
... |
Applications/Finder/reveal/reveal (path to me).applescript | looking-for-a-job/applescript-examples | 1 | 1898 | #!/usr/bin/osascript
tell application "Finder"
reveal (path to me)
end tell |
src/Categories/Theory/Lawvere.agda | bond15/agda-categories | 0 | 15800 | {-# OPTIONS --without-K --safe #-}
-- a categorical (i.e. non-skeletal) version of Lawvere Theory,
-- as per https://ncatlab.org/nlab/show/Lawvere+theory
module Categories.Theory.Lawvere where
open import Data.Nat using (ℕ)
open import Data.Product using (Σ; _,_)
open import Level
open import Categories.Category.Ca... |
programs/oeis/095/A095098.asm | karttu/loda | 0 | 163031 | ; A095098: Fib001 numbers: those n for which the Zeckendorf expansion A014417(n) ends with two zeros and a final one.
; 6,9,14,19,22,27,30,35,40,43,48,53,56,61,64,69,74,77,82,85,90,95,98,103,108,111,116,119,124,129,132,137,142,145,150,153,158,163,166,171,174,179,184,187,192,197,200,205,208,213,218,221,226,229,234,239,2... |
oeis/086/A086351.asm | neoneye/loda-programs | 11 | 244806 | ; A086351: T(n,3) of A086350.
; Submitted by <NAME>
; 1,4,17,74,325,1432,6317,27878,123049,543148,2397545,10583234,46716589,206216896,910285253,4018193246,17737162705,78295623508,345613602113,1525612248122,6734378273941,29726983906792,131221255523165
lpb $0
sub $0,1
mul $1,3
add $3,2
add $1,$3
add $2,$3
su... |
ada/src/main.ads | joshuawalcher/dockerfile-boilerplates | 229 | 2349 | with Text_IO,ada.Text_IO;
use Text_IO,ada.Text_IO;
procedure Adadocker is
begin
Put_line("******************************");
New_Line(2);
Put_line("Ada running inside docker.");
New_Line(2);
Put_line("******************************");
end Adadocker; |
experiments/test-suite/mutation-based/10/5/dll.als | kaiyuanw/AlloyFLCore | 1 | 3193 | <gh_stars>1-10
pred test3 {
some disj DLL0, DLL1: DLL {some disj Node0, Node1, Node2: Node {
DLL = DLL0 + DLL1
header = DLL1->Node2
Node = Node0 + Node1 + Node2
no pre
nxt = Node0->Node1 + Node2->Node0
elem = Node0->6 + Node1->5 + Node2->4
}}
}
run test3 for 3 expect 0
pred test43 {
some disj DLL0: DLL {some disj Node0... |
src/main/antlr4/org/codehaus/groovy/parser/antlr4/GroovyParser.g4 | danielsun1106/groovy-antlr4-grammar-optimized | 4 | 2009 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
RefactorAgdaEngine/Test/Tests/input/ExtractDependent.agda | omega12345/RefactorAgda | 5 | 1960 | {-# OPTIONS --allow-unsolved-metas #-}
module ExtractDependent where
open import Agda.Builtin.Nat
open import Agda.Builtin.Bool
open import Agda.Builtin.String
apply : (A : Set) -> (B : A -> Set) ->
((x : A) -> B x) -> (a : A) -> B a
apply A B f a = f a
applySameName : (A : Set) -> (A : Set) -> (B : A ->... |
legend-engine-xt-relationalStore-grammar/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/RelationalLexerGrammar.g4 | ivan-kyosev-gs/legend-engine | 0 | 3679 | <reponame>ivan-kyosev-gs/legend-engine
lexer grammar RelationalLexerGrammar;
import CoreLexerGrammar;
// -------------------------------------- KEYWORD --------------------------------------
DATABASE: 'Database';
INCLUDE: 'include';
TABLE: ... |
src/main/ada/2019/aoc-aoc_2019-day05.ads | wooky/aoc.kt | 0 | 6886 | <gh_stars>0
with Intcode;
package AOC.AOC_2019.Day05 is
type Day_05 is new Day.Day with private;
overriding procedure Init (D : in out Day_05; Root : String);
overriding function Part_1 (D : Day_05) return String;
overriding function Part_2 (D : Day_05) return String;
private
type Day_05 is new Day.Day... |
programs/oeis/207/A207451.asm | jmorken/loda | 1 | 18422 | <gh_stars>1-10
; A207451: Number of n X 6 0..1 arrays avoiding 0 0 0 and 0 0 1 horizontally and 0 0 1 and 1 0 1 vertically.
; 26,676,3354,10088,23530,46956,84266,139984,219258,327860,472186,659256,896714,1192828,1556490,1997216,2525146,3151044,3886298,4742920,5733546,6871436,8170474,9645168,11310650,13182676,15277626,1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.