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 |
|---|---|---|---|---|
source/contexts/plain/program-library_environments.adb | reznikmm/gela | 0 | 9036 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Library_Environments is
-----------------
-- Public_View --
-----------------
function Public_View
(Self : Library_Environment'Clas... |
apu/channel_4/channel_4_equivalent_frequencies.asm | endrift/SameSuite | 21 | 80322 | RESULTS_START EQU $c000
RESULTS_N_ROWS EQU 16
include "base.inc"
; This test verifies that identical frequencies that are
; expressed differently generate the same output, other than
; a potential off-by-one sample caused by the start delay.
CorrectResults:
db $F0, $F0, $F0, $F0, $F0, $F0, $F0, $00
db $00, $00, $00... |
project/adl/arch/ARM/Nordic/drivers/nrf51-gpio.ads | corentingay/ada_epita | 2 | 2637 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- ... |
alloy4fun_models/trashltl/models/1/LtcgN6fKPna8AvwoL.als | Kaixi26/org.alloytools.alloy | 0 | 4160 | open main
pred idLtcgN6fKPna8AvwoL_prop2 {
historically no File until some File'
}
pred __repair { idLtcgN6fKPna8AvwoL_prop2 }
check __repair { idLtcgN6fKPna8AvwoL_prop2 <=> prop2o } |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34005p.ada | best08618/asylo | 7 | 18414 | <reponame>best08618/asylo
-- C34005P.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 contain... |
1-base/lace/applet/demo/event/simple/lace_demo_keyboard.ads | charlie5/lace | 20 | 11040 | <reponame>charlie5/lace<gh_stars>10-100
with
lace.Subject.local;
package lace_demo_Keyboard
--
-- Provides a simulated keyboard which periodically emits 'key' events.
--
is
function as_event_Subject return lace.Subject.local.view;
procedure start;
procedure stop;
end lace_demo_Keyboard;
|
dartagnan/src/main/antlr4/LitmusX86.g4 | xeren/Dat3M | 36 | 767 | <reponame>xeren/Dat3M<gh_stars>10-100
grammar LitmusX86;
import LitmusAssertions;
main
: LitmusLanguage ~(LBrace)* variableDeclaratorList program variableList? assertionFilter? assertionList? EOF
;
variableDeclaratorList
: LBrace variableDeclarator? (Semi variableDeclarator)* Semi? RBrace Semi?
... |
list2/task2/src/max2.adb | luk9400/nsi | 0 | 12266 | package body Max2 with SPARK_Mode is
function FindMax2 (V : Vector) return Integer is
Max : Positive := V (V'First);
Max2 : Natural := 0;
begin
for I in Integer range V'Range loop
if V(I) > Max then
Max2 := Max;
Max := V(I);
elsif V(I) > Max2 and V(I) < Max then
Max2... |
inst/scripts/paste-into.applescript | gaborcsardi/keynote | 27 | 4202 | <filename>inst/scripts/paste-into.applescript
on run argv
tell application "Keynote"
activate
tell document id (item 1 of argv) of application "Keynote"
set current slide to slide (item 2 of argv as number)
set what to (item 3 of argv)
if (what = "default title i... |
programs/oeis/232/A232230.asm | neoneye/loda | 22 | 179834 | <filename>programs/oeis/232/A232230.asm
; A232230: Expansion of (1 - 2*x + x^2 + x^3 + x^5) / ((1 - x)*(1 - 2*x - x^3)).
; 1,1,2,6,14,32,72,160,354,782,1726,3808,8400,18528,40866,90134,198798,438464,967064,2132928,4704322,10375710,22884350,50473024,111321760,245527872,541528770,1194379302,2634286478,5810101728,12814582... |
8088/cga/scanline_per_frame/1spf2_intermittent.asm | reenigne/reenigne | 92 | 162348 | %include "../../defaults_bin.asm"
; Copy data
mov ax,cs
mov ds,ax
mov ax,0xb800
mov es,ax
mov cx,8000
mov si,data
xor di,di
cld
rep movsw
; Determine and print phase
lockstep 1
mov ax,cs
mov es,ax
mov ds,ax
mov di,data
in al,0x61
or al,3
out 0x61,al
mov al,TIMER2 | BOTH | M... |
PRG/levels/2PVs/Unused.asm | narfman0/smb3_pp1 | 0 | 83825 | <filename>PRG/levels/2PVs/Unused.asm
.word $0000 ; Alternate level layout
.word $0000 ; Alternate object layout
.byte LEVEL1_SIZE_01 | LEVEL1_2PVS | LEVEL1_YSTART_040
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_12 | LEVEL3_VSCROLL_LOCKLOW
.byte LEVEL4_BGBANK_INDEX(18) | LEVEL4... |
programs/oeis/330/A330173.asm | karttu/loda | 0 | 9468 | <gh_stars>0
; A330173: a(n) = n + floor(ns/r) + floor(nt/r), where r = sqrt(2), s = sqrt(2) + 1, t = sqrt(2) + 2.
; 4,9,15,19,25,30,34,40,45,51,55,60,66,70,76,81,87,91,96,102,106,112,117,121,127,132,138,142,148,153,157,163,168,174,178,183,189,193,199,204,208,214,219,225,229,235,240,244,250,255,261,265,270,276,280,286
... |
oeis/183/A183156.asm | neoneye/loda-programs | 11 | 103271 | <gh_stars>10-100
; A183156: The number T(n) of isometries of all subspaces of the finite metric space {1,2,...,n} (as a subspace of the reals with the Euclidean metric).
; Submitted by <NAME>
; 1,2,7,22,59,142,319,686,1435,2950,5999,12118,24379,48926,98047,196318,392891,786070,1572463,3145286,6290971,12582382,25165247,... |
programs/oeis/249/A249452.asm | neoneye/loda | 22 | 178769 | <gh_stars>10-100
; A249452: Numbers n such that A249441(n) = 3.
; 15,31,47,63,95,127,191,255,383,511,767,1023,1535,2047,3071,4095,6143,8191,12287,16383,24575,32767,49151,65535,98303,131071,196607,262143,393215,524287,786431,1048575,1572863,2097151,3145727,4194303,6291455,8388607,12582911
seq $0,27383 ; Number of balan... |
programs/oeis/178/A178532.asm | karttu/loda | 0 | 94207 | <filename>programs/oeis/178/A178532.asm<gh_stars>0
; A178532: Partial sums of problimes (third definition, A003068).
; 2,6,13,24,39,58,81,109,142,180,223,271,324,382,445,513,586,665,750,841,938,1041,1150,1265,1386,1513,1646,1785,1930,2081,2238,2401,2570,2745,2926,3113,3306,3505,3710,3921,4138,4362,4593,4831,5076
mov $... |
oeis/157/A157874.asm | neoneye/loda-programs | 11 | 93707 | <reponame>neoneye/loda-programs
; A157874: Expansion of 104*x^2 / (-x^3+675*x^2-675*x+1).
; Submitted by <NAME>
; 0,104,70200,47314800,31890105104,21493883525400,14486845606014600,9764112444570315104,6580997300794786365600,4435582416623241440099400,2989575967806763935840630104,2014969766719342269515144590800,1358086633... |
programs/oeis/261/A261012.asm | neoneye/loda | 22 | 245292 | ; A261012: Sign(n) (with offset -1): a(n) = 1 if n>0, = -1 if n<0, = 0 if n = 0.
; -1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
sub $0,1
min $0,1
|
test/asm/symbol-override.asm | michealccc/rgbds | 265 | 103177 | <reponame>michealccc/rgbds
V set 0
V set 1
PRINTLN "V={V}"
W equ 1
W set 0
rsset 1
X rb 0
X set 0
SECTION "Test", ROM0[1]
Y:
Y set 0
|
programs/oeis/305/A305291.asm | jmorken/loda | 1 | 11406 | <gh_stars>1-10
; A305291: Numbers k such that 4*k + 3 is a perfect cube, sorted by absolute values.
; -1,6,-32,85,-183,332,-550,843,-1229,1714,-2316,3041,-3907,4920,-6098,7447,-8985,10718,-12664,14829,-17231,19876,-22782,25955,-29413,33162,-37220,41593,-46299,51344,-56746,62511,-68657,75190,-82128,89477,-97255,105468,-... |
Univalence/Obsolete/CauchyProofsT.agda | JacquesCarette/pi-dual | 14 | 15828 | {-# OPTIONS --without-K #-}
module CauchyProofsT where
-- Proofs about permutations defined in module Cauchy (multiplicative)
open import Level using (Level; _⊔_) renaming (zero to lzero; suc to lsuc)
open import Relation.Binary.PropositionalEquality
using (_≡_; refl; sym; trans; subst; subst₂; cong; cong₂; seto... |
Driver/Video/Dumb/VidMem/Clr24/clr24Raster.asm | steakknife/pcgeos | 504 | 247455 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Video Drivers
FILE: vga24Raster.asm
AUTHOR: <NAME>, Oct 8, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTO... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_1526.asm | ljhsiun2/medusa | 9 | 172003 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xb11d, %rsi
lea addresses_D_ht+0xf81, %rdi
clflush (%rsi)
nop
xor $47688, %rbx
mov $61, %rcx
rep movsb
nop
nop
nop
xor $20060, %r10
lea addresses_UC_ht+0x1a165, %r8
nop
cmp %r10, %r10
vmovups (%r... |
test/Succeed/Issue1323.agda | redfish64/autonomic-agda | 3 | 12203 | <reponame>redfish64/autonomic-agda<filename>test/Succeed/Issue1323.agda
data _≡_ {A : Set} (x : A) : A → Set where
refl : x ≡ x
data Maybe (A : Set) : Set where
nothing : Maybe A
just : A → Maybe A
postulate
String : Set
{-# BUILTIN STRING String #-}
infix 1000 ♯_
postulate
∞ : ∀ {a} (A : Set a) → Set a... |
oeis/230/A230152.asm | neoneye/loda-programs | 11 | 14654 | ; A230152: Decimal expansion of the positive real solution of the equation x^(k+1)+x^k-1=0. Case k=4.
; Submitted by <NAME>
; 8,5,6,6,7,4,8,8,3,8,5,4,5,0,2,8,7,4,8,5,2,3,2,4,8,1,5,3,1,2,4,3,4,3,6,9,8,3,1,3,9,9,9,4,5,4,9,3,7,5,2,6,2,5,5,7,6,4,1,2,8,1,0,3,4,6,7,9,8,4,2,4,6,2,2,9,0,4,3,6,2,1,1,0,3,5,1,6,6,5,8,3,6,6,8,0,9,... |
Library/Chart/Axis/axisTicks.asm | steakknife/pcgeos | 504 | 97682 | <filename>Library/Chart/Axis/axisTicks.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: axisTicks.asm
AUTHOR: <NAME>, Oct 23, 1991
METHODS:
Name Description
---- -----------
... |
antlr4-formatter/src/test/resources/or.formatted.g4 | quantrpeter/Antlr4Formatter | 28 | 3464 | grammar agc;
prog
: line+
;
line
: comment_line
| blank_line
| instruction_line
| erase_line
| assignment_line
;
|
Univalence/FinEquivCat.agda | JacquesCarette/pi-dual | 14 | 11885 | <reponame>JacquesCarette/pi-dual
{-# OPTIONS --without-K #-}
module FinEquivCat where
-- We will define a rig category whose objects are Fin types and whose
-- morphisms are type equivalences; and where the equivalence of
-- morphisms ≋ is extensional
open import Level using () renaming (zero to lzero; suc to lsuc)
... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/Driver-point-j.asm | prismotizm/gigaleak | 0 | 175847 | Name: Driver-point-j.asm
Type: file
Size: 42143
Last-Modified: '1992-07-08T07:08:34Z'
SHA-1: B33D21B5515590CFFFED85039AC93A4F0DFECD85
Description: null
|
c6ers/interlnk/fxlib/loader.asm | minblock/msdos | 0 | 18591 | <filename>c6ers/interlnk/fxlib/loader.asm
;* Loader sent in upload.
;* Generated by running "make" in load subdirectory.
INCLUDE model.inc
.CODE text
PUBLIC C loader_start
PUBLIC C loader_end
PUBLIC C loader_bios_port
loader_start LABEL BY... |
loading_screen.asm | juanmcasillas/zxtests | 0 | 169706 | org 0
incbin "resources/cplogo.scr"
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c97301b.ada | best08618/asylo | 7 | 19034 | <reponame>best08618/asylo
-- C97301B.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 contai... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/slice8_pkg3.adb | best08618/asylo | 7 | 12906 | -- { dg-do compile }
-- { dg-options "-gnatws" }
package body Slice8_Pkg3 is
Current : Str.Lines (Str.Line_Count);
Last : Natural := 0;
function Get return Str.Paragraph is
Result : constant Str.Paragraph := (Size => Last,
Data => Current (1..Last));
beg... |
oeis/224/A224669.asm | neoneye/loda-programs | 11 | 104537 | ; A224669: Number of (n+1) X 2 0..2 matrices with each 2 X 2 subblock idempotent.
; Submitted by <NAME>(s4)
; 12,25,41,70,115,189,308,501,813,1318,2135,3457,5596,9057,14657,23718,38379,62101,100484,162589,263077,425670,688751,1114425,1803180,2917609,4720793,7638406,12359203,19997613,32356820,52354437,84711261,137065702... |
asembler/Ejm_Conversion a binario.asm | jcamilosarmientor/ciencias-3 | 0 | 161705 | <reponame>jcamilosarmientor/ciencias-3<filename>asembler/Ejm_Conversion a binario.asm<gh_stars>0
;Dado un N numero en DECIMAL imprimir su valor en BINARIO.
;Ejemplo Desarrollado Simulador EMU8086
data segment
NN db 0
dig db 0
aux db 0
ends
stack segment
dw 128 dup(0) ;tamaño WORD
ends... |
programs/oeis/128/A128138.asm | neoneye/loda | 22 | 94678 | <reponame>neoneye/loda<gh_stars>10-100
; A128138: A000012 * A128132.
; 1,0,2,0,1,3,0,1,2,4,0,1,2,3,5,0,1,2,3,4,6,0,1,2,3,4,5,7,0,1,2,3,4,5,6,8,0,1,2,3,4,5,6,7,9,0,1,2,3,4,5,6,7,8,10,0,1,2,3,4,5,6,7,8,9,11,0,1,2,3,4,5,6,7,8,9,10,12,0,1,2,3
add $0,1
lpb $0
add $1,1
sub $0,$1
add $2,$1
lpe
lpb $0
sub $0,1
mov $... |
zad2_4.asm | tomwisniewskiprv/ASM | 1 | 178036 | <gh_stars>1-10
;worksheet 2
;exercise 4
;INT 16h AH = 00h - read keystroke
;Return: AL = character read from standard input
%TITLE "STARS"
.8086
.MODEL small
.STACK 256
.DATA
ENTER_KEY equ 0Dh
.CODE
MAIN PROC
mov ax , @DATA
mov ds , ax
mov bl , ENTER_KEY
readUntilEnter:
... |
source/tabula-debug.adb | ytomino/vampire | 1 | 15556 | -- The Village of Vampire by YT, このソースコードはNYSLです
with Ada.Calendar.Formatting;
with Ada.Characters.Latin_1;
with Ada.Directories;
with Ada.Hierarchical_File_Names;
with Ada.Streams.Stream_IO;
with Tabula.Calendar;
with System.Debug;
package body Tabula.Debug is
Line_Break : constant Character := Ada.Characters.Latin... |
src/third_party/nasm/test/macroerr.asm | Mr-Sheep/naiveproxy | 2,219 | 244068 | <reponame>Mr-Sheep/naiveproxy<filename>src/third_party/nasm/test/macroerr.asm
%include "macroerr.inc"
%macro bluttan 1
mov eax,%1
blej %1
%endmacro
bluttan ptr
blej ptr
dd ptr, ptr
ptr:
|
Palmtree.Math.Core.Implements/vs_build/x64_Release/pmc_statistics.asm | rougemeilland/Palmtree.Math.Core.Implements | 0 | 8461 | <reponame>rougemeilland/Palmtree.Math.Core.Implements
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
include listing.inc
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM statistics_info:BYTE:010H
_DATA ENDS
PUBLIC PMC_GetStatisticsInfo
; Function compile flags: /Ogtpy
; File ... |
src/LibraBFT/Impl/Consensus/RoundManager.agda | LaudateCorpus1/bft-consensus-agda | 0 | 10856 | {- 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
-}
-----------------------------------------------------------------------------... |
synthexec/synthexec.adb | jfouquart/synth | 263 | 17625 | <filename>synthexec/synthexec.adb<gh_stars>100-1000
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with GNAT.OS_Lib;
with Ada.Command_Line;
with Ada.Strings.Unbounded;
procedure SynthExec
is
package OSL renames GNAT.OS_Lib;
package CLI renames Ada.Comman... |
programs/oeis/059/A059036.asm | karttu/loda | 0 | 176181 | ; A059036: In a triangle of numbers (such as that in A059032, A059033, A059034) how many entries lie above position (n,k)? Answer: T(n,k) = (n+1)*(k+1)-1 (n >= 0, k >= 0).
; 0,1,1,2,3,2,3,5,5,3,4,7,8,7,4,5,9,11,11,9,5,6,11,14,15,14,11,6,7,13,17,19,19,17,13,7,8,15,20,23,24,23,20,15,8,9,17,23,27,29,29,27,23,17,9,10,19,26... |
src/nesmon.asm | freem/nesmon | 2 | 99482 | ;==============================================================================;
; nesmon/src/nesmon.asm
; Main file (lays out the program binary)
;==============================================================================;
; Global includes/defines
.include "nes.inc"
.include "ram.inc"
.include "opcodes.inc"
; ne... |
int.agda | rfindler/ial | 29 | 4456 | <filename>int.agda
-- pull in Haskell Ints
module int where
open import bool
open import string
open import list
open import char
open import functions
open import nat
postulate
int : Set
int0 : int
int1 : int
_+int_ : int → int → int
_*int_ : int → int → int
_-int_ : int → int → int
𝕃char-to-int : �... |
test/file_utils_test.adb | psyomn/ash | 11 | 16267 | -- Copyright 2019 <NAME> (psyomn)
--
-- 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 agree... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_2248.asm | ljhsiun2/medusa | 9 | 105228 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %rbx
push %rcx
push %rdx
// Faulty Load
lea addresses_PSE+0x9636, %rbx
nop
nop
nop
nop
nop
and $10173, %r11
mov (%rbx), %dx
lea oracles, %r12
and $0xff, %rdx
shlq $12, %rdx
mov (%r12,%rdx,1), %rdx
pop %r... |
test/lib-succeed/Issue784/Transformer.agda | np/agda-git-experiment | 1 | 16604 | <reponame>np/agda-git-experiment
module Issue784.Transformer where
open import Data.List using (List; []; _∷_; _++_; [_]; filter) renaming (map to mapL)
import Level
open import Issue784.Values
open import Issue784.Context
Transformer : ∀ {ℓ} → NonRepetitiveTypes ℓ → NonRepetitiveTypes ℓ → Set (Level.suc ℓ)
Transfor... |
samples/fill8k.asm | wilsonpilon/msx-menu | 0 | 178115 | ; fill8k.asm
;
; Generate a file of some size, useful for testing.
; Shows the use of some operators and directives.
;
if 0 ; This is for pasmo testing.
else
fill256 macro
local n
n defl 0
rept 256
db n
n defl n + 1
endm
endm
endif
fill1k macro
rept 4
fill256
endm
end... |
programs/oeis/284/A284413.asm | karttu/loda | 0 | 241174 | <filename>programs/oeis/284/A284413.asm
; A284413: Exponent of 3 in 2^n + 1.
; 1,0,2,0,1,0,1,0,3,0,1,0,1,0,2,0,1,0,1,0,2,0,1,0,1,0,4,0,1,0,1,0,2,0,1,0,1,0,2,0,1,0,1,0,3,0,1,0,1,0,2,0,1,0,1,0,2,0,1,0,1,0,3,0,1,0,1,0,2,0,1,0,1,0,2,0,1,0,1,0,5,0,1,0,1,0,2,0,1,0,1,0,2,0,1,0,1,0,3,0,1,0,1,0,2,0,1,0,1,0,2,0,1,0,1,0,3,0,1,0,1... |
oeis/037/A037532.asm | neoneye/loda-programs | 11 | 171386 | <filename>oeis/037/A037532.asm<gh_stars>10-100
; A037532: Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,2.
; Submitted by <NAME>(s4)
; 1,8,58,407,2850,19952,139665,977656,6843594,47905159,335336114,2347352800,16431469601,115020287208,805142010458,5635994073207,394519585... |
agda-stdlib/src/Data/List/Relation/Unary/AllPairs/Properties.agda | DreamLinuxer/popl21-artifact | 5 | 7335 | <reponame>DreamLinuxer/popl21-artifact<gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties related to AllPairs
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.List.R... |
programs/oeis/087/A087349.asm | neoneye/loda | 22 | 99639 | <filename>programs/oeis/087/A087349.asm
; A087349: n + (smallest prime-factor of n+1).
; 3,5,5,9,7,13,9,11,11,21,13,25,15,17,17,33,19,37,21,23,23,45,25,29,27,29,29,57,31,61,33,35,35,39,37,73,39,41,41,81,43,85,45,47,47,93,49,55,51,53,53,105,55,59,57,59,59,117,61,121,63,65,65,69,67,133,69,71,71,141,73,145,75,77,77,83,79,... |
src/portscan-operations.adb | kraileth/ravenadm | 0 | 4606 | <reponame>kraileth/ravenadm<filename>src/portscan-operations.adb<gh_stars>0
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
-- To enable ncurses support, use sed to change Options_Dialog_Console => Options_Dialog
-- Also change Display.Console => Display.Curse... |
patcher/gvim patcher.asm | Reyatu/fasm | 0 | 168852 | ; Patches gvim.exe to fix character widths for the following options:
; set ambiwidth=double guifont=Fixedsys:cSHIFTJIS
; Last Change: 2015 April 13
format PE console
include 'win32.inc'
.text
push NULL
push FILE_ATTRIBUTE_NORMAL
push OPEN_EXISTING
push NULL
push FILE_SHARE_READ
push GENERIC_READ or GENERIC_... |
oeis/134/A134007.asm | neoneye/loda-programs | 11 | 84221 | ; A134007: a(n) = 1^n + 3^n + 5^n + 7^n + 9^n.
; Submitted by <NAME>
; 5,25,165,1225,9669,79225,665445,5686825,49208709,429746905,3779084325,33407391625,296515495749,2639977136185,23561123826405,210669225531625,1886405750358789,16910575282247065,151726863979595685,1362269687506954825,12237553096272965829,10997801184321... |
part1/relations/Bin-predicates.agda | akiomik/plfa-solutions | 1 | 15100 | module Bin-predicates where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; sym; cong)
open Eq.≡-Reasoning
open import Data.Nat using (ℕ; zero; suc; _+_; _*_)
open import Data.Nat.Properties using (+-identityʳ; +-suc; +-assoc; +-comm)
-- 2進数の表現
data Bin : Set where
⟨⟩ : Bin
_O : Bin →... |
LC/Reasoning.agda | banacorn/bidirectional | 2 | 7920 | module LC.Reasoning where
open import LC.Base
open import LC.Reduction
open import Relation.Binary.Construct.Closure.ReflexiveTransitive
open import Relation.Binary.Construct.Closure.ReflexiveTransitive.Properties using (preorder)
open import Relation.Binary.Reasoning.Preorder (preorder _β→_)
open import Relation.B... |
src/test/ref/strcpy-0.asm | jbrandwood/kickc | 2 | 84567 | // Commodore 64 PRG executable file
.file [name="strcpy-0.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(main)
.label dst1 = $400
.label dst2 = ... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnarl/s-tasque.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 6125 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
src/missions.ads | thindil/steamsky | 80 | 10692 | <reponame>thindil/steamsky
-- Copyright 2016-2021 <NAME>
--
-- This file is part of Steam Sky.
--
-- Steam Sky is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, ... |
archive/agda-1/SimpleTermUnification.agda | m0davis/oscar | 0 | 5849 |
module SimpleTermUnification where
open import OscarPrelude
data Term (n : Nat) : Set where
var : Fin n → Term n
leaf : Term n
_fork_ : Term n → Term n → Term n
|> : ∀ {m n} → (r : Fin m → Fin n) → Fin m → Term n
|> r = var ∘ r
_<|_ : ∀ {m n} → (f : Fin m → Term n) → Term m → Term n
f <| var x = f x
f <| lea... |
programs/oeis/287/A287468.asm | jmorken/loda | 1 | 28522 | <filename>programs/oeis/287/A287468.asm
; A287468: Binary representation of the diagonal from the corner to the origin of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 276", based on the 5-celled von Neumann neighborhood.
; 1,0,11,0,111,0,1111,0,11111,0,111111,0,1111111,0,11111111,... |
programs/oeis/195/A195321.asm | karttu/loda | 1 | 19228 | <filename>programs/oeis/195/A195321.asm
; A195321: a(n) = 18*n^2.
; 0,18,72,162,288,450,648,882,1152,1458,1800,2178,2592,3042,3528,4050,4608,5202,5832,6498,7200,7938,8712,9522,10368,11250,12168,13122,14112,15138,16200,17298,18432,19602,20808,22050,23328,24642,25992,27378,28800,30258,31752,33282,34848,36450,38088,39762,... |
orka/src/orka/implementation/orka-jobs-executors.adb | onox/orka | 52 | 6468 | -- 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 License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
-... |
programs/oeis/077/A077958.asm | jmorken/loda | 1 | 23660 | <reponame>jmorken/loda<filename>programs/oeis/077/A077958.asm
; A077958: Expansion of 1/(1-2*x^3).
; 1,0,0,2,0,0,4,0,0,8,0,0,16,0,0,32,0,0,64,0,0,128,0,0,256,0,0,512,0,0,1024,0,0,2048,0,0,4096,0,0,8192,0,0,16384,0,0,32768,0,0,65536,0,0,131072,0,0,262144,0,0,524288,0,0,1048576,0,0,2097152,0,0,4194304,0,0,8388608,0,0,167... |
Tejas-Simulator/PIN/pin-2.14/source/tools/ToolUnitTests/inline_opt_test_df_ia32.asm | markoshorro/tejas_knl | 17 | 244860 | PUBLIC SetDf
.686
.XMM
.model flat, c
.code
SetDf PROC
std
lea eax, [eax + edx]
lea eax, [eax + edx]
lea eax, [eax + edx]
lea eax, [eax + edx]
lea eax, [eax + edx]
lea eax, [eax + edx]
lea eax, [eax + edx]
lea eax, [eax + edx]
lea eax, [eax + edx]
lea eax, [eax ... |
src/sccLOFI_1c_VQ.asm | artrag/voicenc_scc | 4 | 168947 | <gh_stars>1-10
;----------------------------------------------------------------------------
;----------------------------------------------------------------------------
; frame_terminator equ -1
output "sccLOFI_1c_VQ.rom"
defpage 0,0x4000, 0x2000 ; page 0 main code
defpage 1,0x6000, 0xE000 ; ... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_1290.asm | ljhsiun2/medusa | 9 | 21332 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r9
push %rsi
lea addresses_D_ht+0xe8b3, %r13
nop
nop
nop
nop
nop
cmp $14785, %r9
mov (%r13), %r12w
nop
nop
nop
sub %r15, %r15
lea addresses_UC_ht+0x160b3, %r11
nop
nop
nop
cmp %r13, %r13
movups (%r11), %... |
hetro_stack_elems.adb | tyudosen/HeterogeneousStack | 0 | 18585 | <reponame>tyudosen/HeterogeneousStack<filename>hetro_stack_elems.adb<gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
with hetro_stack;
package body hetro_stack_elems is
package IIO is new Ada.Text_IO.Integer_IO(Integer); use IIO;
---------- Procedure(s) for Vehicle Record -------------------------------------------
... |
theories/alloy/PWSSemantics.als | pascalpoizat/fbpmn | 27 | 3403 | <filename>theories/alloy/PWSSemantics.als<gh_stars>10-100
module PWSSemantics
open util/ordering[State]
open util/integer
open util/boolean
open PWSSyntax
open PWSDefs
sig State {
nodemarks : Node -> one Int,
edgemarks : Edge -> one Int,
network : set (Message -> Process -> Process),
globalclock : on... |
programs/oeis/091/A091084.asm | neoneye/loda | 22 | 25270 | <filename>programs/oeis/091/A091084.asm<gh_stars>10-100
; A091084: a(n) = A001045(n) mod 10.
; 0,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3,5,1,1,3
mul $0,2
add $0,2
lpb $0... |
awa/regtests/awa_command.adb | twdroeger/ada-awa | 0 | 14101 | -----------------------------------------------------------------------
-- awa_command - Tests for AWA command
-- Copyright (C) 2020 <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.
-- Yo... |
Cubical/Data/DescendingList/Strict/Properties.agda | limemloh/cubical | 0 | 5852 | <reponame>limemloh/cubical
{-# OPTIONS --cubical --safe #-}
open import Cubical.Core.Everything
open import Cubical.Foundations.Everything
open import Agda.Primitive using (lzero)
module Cubical.Data.DescendingList.Strict.Properties
(A : Type₀)
(_>_ : A → A → Type₀)
where
open import Cubical.Data.DescendingList.S... |
libsrc/_DEVELOPMENT/fcntl/c/sdcc_iy/read_callee.asm | meesokim/z88dk | 0 | 2379 |
; ssize_t read_callee(int fd, void *buf, size_t nbyte)
SECTION code_fcntl
PUBLIC _read_callee
EXTERN asm_read
_read_callee:
pop af
pop hl
pop de
pop bc
push af
jp asm_read
|
src/asm_files/shell_prototypes/fastAndLoose.asm | zedth2/sunyat-c | 0 | 12993 | <reponame>zedth2/sunyat-c
;------------------------------------
;The SUNYAT Shell
;'Fast and Loose' edition
;Uses hard-coded memory addresses instead of string analysis.
;------------------------------------
;.message SUNYAT Shell 'Fast and Loose' Prototype
.constant TERM 0xFF
.constant CR 0xD
.constant LF 0xA
jmp... |
space_invaders/snake/snake.asm | AgustinCB/emulators | 8 | 3207 | SNAKE DW 4001H
; Status storage
; 2000 -> Direction
; 2001 -> Next direction
; 2002 -> Timer
; 2003 -> INIT status
STATUS DW 2000H
MID_WIDTH DB 112
MID_HEIGHT DB 128
MID_SCREEN DW 7080H
START_FRAME_BUFFER DW 2400H
END_FRAME_BUFFER ... |
alloy4fun_models/trashltl/models/7/c9F7REYrvZFWoxoJk.als | Kaixi26/org.alloytools.alloy | 0 | 1627 | <filename>alloy4fun_models/trashltl/models/7/c9F7REYrvZFWoxoJk.als
open main
pred idc9F7REYrvZFWoxoJk_prop8 {
eventually all f:File | f.link in Trash
}
pred __repair { idc9F7REYrvZFWoxoJk_prop8 }
check __repair { idc9F7REYrvZFWoxoJk_prop8 <=> prop8o } |
nasm/subcadena.asm | GioProyects/ensamblador | 0 | 101152 | <gh_stars>0
section .text
global _start ;must be declared for using gcc
_start: ;tell linker entry point
mov ecx,len
mov edi,my_string
mov ax,substring
cld
repne scasw
je found ; when found
; If not not then the following code
mov eax,4
mov ebx,1
mov ecx,msg_... |
audio/sfx/cry07_1.asm | AmateurPanda92/pokemon-rby-dx | 9 | 80786 | SFX_Cry07_1_Ch4:
dutycycle 240
squarenote 4, 15, 3, 1760
squarenote 15, 14, 4, 1600
squarenote 8, 12, 1, 1568
endchannel
SFX_Cry07_1_Ch5:
dutycycle 10
squarenote 3, 12, 3, 1667
squarenote 14, 11, 4, 1538
squarenote 8, 10, 1, 1537
endchannel
SFX_Cry07_1_Ch7:
noisenote 4, 13, 3, 92
noisenote 15, 14, 6, 76... |
src/BreathOfTheWild/Mods/CameraSensitivity/patch_CameraSensitivity.asm | mjcox244/gfx_pack | 1 | 81610 | [BotW_CamerSens_v208]
moduleMatches = 0x6267BFD0
0x102164C0 = .float ($all*-1)
0x101B3280 = .float (2*$foot)+1
|
NandToTetris/projects/08/FunctionCalls/StaticsTest/StaticsTest.asm | davejlin/coursera | 0 | 17358 | // Bootstrap code
@256
D=A
@SP
M=D
@bootstrap$return.0
D=A
@SP
AM=M+1
A=A-1
M=D // push bootstrap$return.0
@LCL
D=M
@SP
AM=M+1
A=A-1
M=D // push LCL
@ARG
D=M
@SP
AM=M+1
A=A-1
M=D // push ARG
... |
sw/552tests/rand_complex/t_4_all.asm | JPShen-UWM/ThreadKraken | 1 | 178902 | // seed 4
lbi r0, 167 // icount 0
slbi r0, 145 // icount 1
lbi r1, 12 // icount 2
slbi r1, 187 // icount 3
lbi r2, 135 // icount 4
slbi r2, 166 // icount 5
lbi r3, 172 // icount 6
slbi r3, 218 // icount 7
lbi r4, 97 // icount 8
slbi r4, 58 // icount 9
lbi r5, 17 // icount 10
slbi r5, 59 // icount 11
lbi r6, 85 // icoun... |
programs/oeis/130/A130196.asm | neoneye/loda | 22 | 9242 | <reponame>neoneye/loda
; A130196: Period 3: repeat [1, 2, 2].
; 1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1,2,2,1
mod $0,3
pow $1,$0
gcd $1,2
mov $0,$1
|
tests/saatana-crypto-stream_tools.ads | HeisenbugLtd/Saatana | 10 | 9515 | <filename>tests/saatana-crypto-stream_tools.ads<gh_stars>1-10
------------------------------------------------------------------------------
-- Copyright (C) 2017-2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To ... |
oeis/190/A190140.asm | neoneye/loda-programs | 11 | 10538 | ; A190140: a(n) = 2*a(n-1) + a(n-2) + 3*a(n-3), a(0)=1.
; Submitted by <NAME>(s3)
; 1,2,5,15,41,112,310,855,2356,6497,17915,49395,136196,375532,1035445,2855010,7872061,21705467,59848025,165017700,454999826,1254561427,3459175780,9537912465,26298684991,72512809787,199938041960,551284948680,1520046368681,4191191811922,115... |
src/gdb/gdb-8.3/gdb/testsuite/gdb.ada/same_component_name/pck.ads | aps337/unum-sdk | 31 | 15892 | <filename>src/gdb/gdb-8.3/gdb/testsuite/gdb.ada/same_component_name/pck.ads
-- Copyright 2017-2019 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either... |
src/qoi.ads | joffreyhuguet/qoi-ada | 0 | 26227 | with Interfaces; use Interfaces;
with System.Storage_Elements; use System.Storage_Elements;
package QOI
with SPARK_Mode
is
type Pixels is array (Storage_Count range <>) of Unsigned_8
with Default_Component_Value => 0;
type Pixels_Access is access Pixels;
type Data is array (Storage_Count range <>) ... |
programs/oeis/135/A135676.asm | jmorken/loda | 1 | 101776 | ; A135676: a(n) = floor(n^(4/3) - n).
; 0,0,1,2,3,4,6,8,9,11,13,15,17,19,21,24,26,29,31,34,36,39,42,45,48,51,54,57,60,63,66,69,72,76,79,82,86,89,93,96,100,103,107,111,115,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,179,183,187,192,196,200,205,209,214,218,222,227,232,236,241,245,250,255,259,264,269,274,2... |
ASM/hix.asm | TravorLZH/various-code | 0 | 95658 | section .data
msg db "Hello world",10
msglen equ $-msg
section .text
global _start
_start:
mov rax,1
mov rdi,1
mov rsi,msg
mov rdx,msglen
syscall
syscall
syscall
mov rax,60
mo... |
macros.asm | neilbaldwin/PR8 | 8 | 85614 | ;------------------------------------------------------------------------------
; Set screen write position, only for debugging
;------------------------------------------------------------------------------
.MACRO setdmapos _x,_y
.LOCAL _scnadd
_scnadd = SCREEN +(_y*$20)+_x
lda #>_scnadd
sta $2006
lda #<_scnadd
... |
dino/lcs/123p/5E.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 177643 | <filename>dino/lcs/123p/5E.asm
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D54 move.b #$0, ($5e,A0)
004D5A bra $4dd6
004D6C move.b #$10, ($5e,A0) [123p+ 2]
004D72 bra $4dd6 [123p+ 5E]
004D84 move.b #$20, ($5e,A0) [123p+ 2]
004D8A br... |
test/interaction/HighlightCopattern.agda | shlevy/agda | 1,989 | 13434 | {-# OPTIONS --copatterns #-}
module HighlightCopattern where
record WrapSet : Set₂ where
field
wrapped : Set₁
open WrapSet
my : WrapSet
wrapped my = Set -- 'wrapped' should be highlighted in projection color
proj : WrapSet → Set₁
proj w = wrapped w -- 'wrapped' should be highlighted in projection color
|
src/Sigma/Renaming/Base.agda | johnyob/agda-sigma | 0 | 7211 | -- ----------------------------------------------------------------------
-- The Agda σ-library
--
-- Renamings
-- ----------------------------------------------------------------------
-- A renaming is defined as a substitution ρ, mapping
-- indices to indices (w/ explicit bounds). It is a subclass
-- of substituti... |
assembly_code/chp6_05.asm | Nabeegh-Ahmed/BelalHashmi-Assembly-Exercise-Solutions | 104 | 242492 | [org 0x0100]
jmp start
top: dw 10 ;Starting Row
bottom: dw 20 ;Ending Row
left: dw 30 ;Starting Column
right: dw 60 ;Ending Column
start: call clrscr
push word [top]
push word [bottom]
push word [left]
push word [right]
call drawrect
end: mov ax, 0x4c00
int 21h... |
src/view-vat-items.asm | onlymx13/cesium | 0 | 242451 | ; process for displaying the list of programs / appvars
view_vat_items:
call gui_show_item_count
set_normal_text
compare_hl_zero
jr nz,.can_view
bit setting_special_directories,(iy + settings_flag)
jr nz,.can_view ; can't show anything
call gui_draw_static_options
ld hl,sprite_egg
draw_sprite_2x 120, 57
p... |
libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/fflush.asm | meesokim/z88dk | 0 | 162283 | <filename>libsrc/_DEVELOPMENT/stdio/c/sdcc_ix/fflush.asm
; int fflush(FILE *stream)
INCLUDE "clib_cfg.asm"
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _fflush
EXTERN _fflush_fastcall
_fflush:
pop af
pop hl
push hl
push... |
source/oasis/program-elements-function_declarations.ads | reznikmm/gela | 0 | 23267 | <gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Declarations;
with Program.Lexical_Elements;
with Program.Elements.Defining_Names;
with Program.Elements.Parameter_Specifications;
with P... |
src/Model.asm | gschizas/amstrad-diagnostics | 60 | 19007 | MODULE DETECT
;; Useful info from here:
;; http://www.cpcwiki.eu/forum/programming/how-do-i-detect-a-cpc-plus-in-assembly/
@ModelNames:
TxtUnknown: db "UNKNOWN CPC", 0
TxtModelCPC464: db "CPC 464", 0
TxtModelCPC664: db "CPC 664", 0
TxtModelCPC6128: db "CPC 6128", 0
;;TxtModel464Plus: db "464 PLUS", 0
;;TxtModel... |
alloy4fun_models/trashltl/models/4/5vGqACq5HjZGvfjTD.als | Kaixi26/org.alloytools.alloy | 0 | 3639 | <gh_stars>0
open main
pred id5vGqACq5HjZGvfjTD_prop5 {
some f: File | eventually f not in File
}
pred __repair { id5vGqACq5HjZGvfjTD_prop5 }
check __repair { id5vGqACq5HjZGvfjTD_prop5 <=> prop5o } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.