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 |
|---|---|---|---|---|
test/Test/Compile/Golden/simple-arithmetic/simple-arithmetic-output.agda | vehicle-lang/vehicle | 9 | 2332 | <filename>test/Test/Compile/Golden/simple-arithmetic/simple-arithmetic-output.agda
-- WARNING: This file was generated automatically by Vehicle
-- and should not be modified manually!
-- Metadata
-- - Agda version: 2.6.2
-- - AISEC version: 0.1.0.1
-- - Time generated: ???
{-# OPTIONS --allow-exec #-}
open import ... |
alloy4fun_models/trashltl/models/10/ES6Puggn4XshZgsBx.als | Kaixi26/org.alloytools.alloy | 0 | 2127 | <gh_stars>0
open main
pred idES6Puggn4XshZgsBx_prop11 {
Protected' = Protected +(File - Protected)
}
pred __repair { idES6Puggn4XshZgsBx_prop11 }
check __repair { idES6Puggn4XshZgsBx_prop11 <=> prop11o } |
oeis/006/A006172.asm | neoneye/loda-programs | 11 | 13545 | <gh_stars>10-100
; A006172: a(n) = 1 + F(2*n+1) + (-1)^n*L(n).
; Submitted by <NAME>
; 4,2,9,10,42,79,252,582,1645,4106,11070,28459,75348,195898,515073,1344906,3526786,9223895,24163596,63236638,165595269,433469962,1134942774,2971150995,7778845732,20364843314,53316562617,139583423242,365436006810,956720876191,2504732642... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35503k.ada | best08618/asylo | 7 | 1734 | -- C35503K.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... |
agda-stdlib/src/Foreign/Haskell/Either.agda | DreamLinuxer/popl21-artifact | 5 | 1967 | <gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- The Either type which calls out to Haskell via the FFI
------------------------------------------------------------------------
{-# OPTIONS --without-K #-}
module Foreign.Haskell.Either where
op... |
oeis/109/A109499.asm | neoneye/loda-programs | 11 | 22275 | <filename>oeis/109/A109499.asm
; A109499: Number of closed walks of length n on the complete graph on 5 nodes from a given node.
; Submitted by <NAME>
; 1,0,4,12,52,204,820,3276,13108,52428,209716,838860,3355444,13421772,53687092,214748364,858993460,3435973836,13743895348,54975581388,219902325556,879609302220,351843720... |
source/strings/a-susfma.ads | ytomino/drake | 33 | 17506 | pragma License (Unrestricted);
-- extended unit
with Ada.Strings.Functions.Maps;
package Ada.Strings.Unbounded_Strings.Functions.Maps is
new Generic_Maps (Strings.Functions.Maps);
pragma Preelaborate (Ada.Strings.Unbounded_Strings.Functions.Maps);
|
cards/bn4/ModCards/134-A015 PanelChange Cracked (0D).asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 160247 | <filename>cards/bn4/ModCards/134-A015 PanelChange Cracked (0D).asm
.include "defaults_mod.asm"
table_file_jp equ "exe4-utf8.tbl"
table_file_en equ "bn4-utf8.tbl"
game_code_len equ 3
game_code equ 0x4234574A // B4WJ
game_code_2 equ 0x42345745 // B4WE
game_code_3 equ 0x42345750 // B4WP
card_type equ 1
card_id ... |
programs/oeis/063/A063245.asm | karttu/loda | 0 | 240906 | <gh_stars>0
; A063245: Dimension of the space of weight 2n cuspidal newforms for Gamma_0( 98 ).
; 3,10,18,23,31,38,44,51,59,64,72,79,85,92,100,105,113,120,126,133,141,146,154,161,167,174,182,187,195,202,208,215,223,228,236,243,249,256,264,269,277,284,290,297,305,310,318,325,331,338
mov $1,$0
mov $2,$0
mov $5,$0
mul $0... |
6502EMU/Instructions/NOP.asm | austinbentley/6502toAVR | 0 | 97143 | <gh_stars>0
/*
* NOP.asm
*
* Created: 5/13/2018 5:39:54 PM
* Author: ROTP
*/
NOP_implied:
RET |
LexC.seemode/Contents/Resources/Scripts/lexc-rev-sorting.applescript | divvun/see-modes | 0 | 923 | <reponame>divvun/see-modes
-- see settings
on seescriptsettings()
return {displayName:"LexC Reversed Stem Sorting", keyboardShortcut:"^~@b", inContextMenu:"yes"}
-- Here is a overview of currently supported settings
-- displayName: Name displayed in menus
-- keyboardShortcut: A keyboard shortcut. alt=~, ctrl=^,... |
src/Tactic/Monoid/Reflect.agda | lclem/agda-prelude | 0 | 10057 |
module Tactic.Monoid.Reflect where
open import Prelude
open import Tactic.Reflection
open import Tactic.Reflection.Match
open import Control.Monad.Zero
open import Control.Monad.State
open import Container.Traversable
open import Tactic.Monoid.Exp
open import Tactic.Reflection.Parse renaming (parseEqn to parseEq)
... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_21829_684.asm | ljhsiun2/medusa | 9 | 100112 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x148d, %rsi
lea addresses_A_ht+0x14f8d, %rdi
clflush (%rdi)
nop
nop
sub $42488, %rbx
mov $58, %rcx
rep movsb
nop
nop
nop
nop
nop
add $39303, %rbp
lea ... |
projects/07/VMtranslator/script.asm | ITFS777/n2t | 0 | 103479 | <filename>projects/07/VMtranslator/script.asm
// push local index
@LCL
D=M
@index
A=A+D
D=M
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
A=M
D=M
@LCL
A=M
A=A+1
M=D |
oeis/145/A145826.asm | neoneye/loda-programs | 11 | 11214 | <filename>oeis/145/A145826.asm
; A145826: Arises from critical number of finite Abelian groups.
; Submitted by <NAME>
; 7,8,11,14,19,21,26,29,34,41,43,50,55,57,62,68,75,77,84,89,91,98,102,109,117,122,124,128,131,135,150,155,161,163,174,176,183,189,194,200,206,209,219,221,226,228,241,254,258,260,264,271,273,283,290,296,... |
BitEpicness/TestInterupts.asm | davidov541/BitEpicness | 0 | 85659 | la $s0, loop
loop: addi $0, 5
blt $0, $rr, $s0
ldi $a0, 10
nop
mfc0 $s1, $epc
wp $a0, 0
loop2: j loop2 |
Alfred.alfredpreferences/workflows/user.workflow.9702C8A8-B0C5-4F88-8192-25F35B776C37/div.scpt | tungd/dotfiles-lean | 3 | 3926 | <gh_stars>1-10
-- check if active application is in full screen mode
on isItFullScreen()
tell application "System Events"
set activeApp to item 1 of (get name of processes whose frontmost is true)
tell process activeApp
get value of attribute "AXFullScreen" of window 1
end tell
end tell
return r... |
bb-runtimes/src/s-textio__erc32.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 19388 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
output/antlr/1.4.19/T.g4 | antlr/groom | 408 | 6612 | <gh_stars>100-1000
grammar T;
a
: A
; |
programs/oeis/271/A271997.asm | neoneye/loda | 22 | 10247 | ; A271997: The icosagen sequence : a(n) = A018227(n)-5, for n >= 2.
; 5,13,31,49,81,113,163,213,285,357,455,553,681,809,971,1133,1333,1533,1775,2017,2305,2593,2931,3269,3661,4053,4503,4953,5465,5977,6555,7133,7781,8429,9151,9873,10673,11473,12355,13237,14205,15173,16231,17289,18441,19593,20843,22093,23445,24797,26255,2... |
libsrc/graphics/lbitmask.asm | Toysoft/z88dk | 8 | 89768 | <filename>libsrc/graphics/lbitmask.asm
SECTION code_clib
PUBLIC leftbitmask
;
; $Id: lbitmask.asm,v 1.4 2016-04-13 21:09:09 dom Exp $
;
; ************************************************************************
;
; Get left bitmask for left side of byte
;
; Design & programming by <NAME>, Copyright (C) InterLogic... |
library/fmGUI_ManageLayouts/fmGUI_ManageLayouts_Edit.applescript | NYHTC/applescript-fm-helper | 1 | 183 | -- fmGUI_ManageLayouts_Edit({layoutName:null})
-- <NAME>, NYHTC
-- select a layout from Manage Layouts window
(*
HISTORY:
1.1 - 2017-11-06 ( eshagdar ): added window error checking. set objects via handlers. simplified logic.
1.0 - 201x-xx-xx ( dshockley ): created
TODO:
printing/triggers tabs.
REQUIRES:
fmGU... |
programs/oeis/288/A288349.asm | jmorken/loda | 1 | 165285 | <gh_stars>1-10
; A288349: Partial sums of A059268.
; 1,2,4,5,7,11,12,14,18,26,27,29,33,41,57,58,60,64,72,88,120,121,123,127,135,151,183,247,248,250,254,262,278,310,374,502,503,505,509,517,533,565,629,757,1013,1014,1016,1020,1028,1044,1076,1140,1268,1524,2036
mov $10,$0
mov $12,$0
add $12,1
lpb $12
mov $0,$10
sub $... |
oeis/153/A153502.asm | neoneye/loda-programs | 11 | 93488 | <gh_stars>10-100
; A153502: Primes of the form 3*n^2 - 3*n + 11.
; Submitted by <NAME>
; 11,17,29,47,71,101,137,179,227,281,479,557,641,827,929,1151,1667,1811,2447,2621,2801,3581,4007,4229,4457,4691,4931,6221,6779,8597,9587,9929,10631,12107,12491,13679,14087,16217,16661,19937,25127,25679,26237,26801,27947,32771,34679,3... |
libsrc/_DEVELOPMENT/math/integer/fast/l_fast_divs_8_8x8.asm | meesokim/z88dk | 0 | 22255 | <gh_stars>0
SECTION code_math
PUBLIC l_fast_divs_8_8x8, l0_fast_divs_8_8x8
EXTERN l0_fast_divu_8_8x8, error_divide_by_zero_mc
; alternate entry to swap dividend / divisor
ex de,hl
l_fast_divs_8_8x8:
; signed division of two 8-bit numbers
;
; enter : l = 8-bit dividend
; e = 8-bit div... |
core/lib/groups/FreeGroup.agda | timjb/HoTT-Agda | 0 | 7548 | {-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.NType2
open import lib.types.Empty
open import lib.types.Sigma
open import lib.types.Pi
open import lib.types.Group
open import lib.types.Nat
open import lib.types.List
open import lib.types.Word
open import lib.types.SetQuotient
open impor... |
OSDev/Try-17/KripayaOS/Kernel/Arch/x86_64/Boot/header.asm | Ashwin-Paudel/Tries | 0 | 100473 | <gh_stars>0
;
; header.asm
; KripayaOS
;
; Created by <NAME> on 2021-06-08.
;
section .multiboot_header
header_start:
; The Magic Number
dd 0xe85250d6 ; Multiboot2
; Set the Architecture
dd 0 ; Start Protected Mode i386
; Set 'dd' equal to the Header Length
dd header_end - header_start
... |
tests/altium_crap/Soft Designs/Legacy/LiveDsn EVB/EX09/DigitalIO/DigitalIO.asm | hanun2999/Altium-Schematic-Parser | 1 | 179441 | ;...............................................................................
.section Data, Data
MainCountLow .dsb 1
MainCountHigh .dsb 1
CountInner .dsb 1
CountOuter .dsb 1
;...............................................................................
.section Text, Code, inp... |
src/util-encoders-sha1.adb | Letractively/ada-util | 0 | 20270 | <reponame>Letractively/ada-util
-----------------------------------------------------------------------
-- util-encoders-sha1 -- Compute SHA-1 hash
-- Copyright (C) 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ex... |
tests/factorial.asm | derpman23/ACSL-Assembly-Compiler | 0 | 160473 | READ X
LOAD X
TOP SUB =1
BE DONE
STORE A
MULT X
STORE X
LOAD A
BU TOP
DONE PRINT X
END |
programs/oeis/000/A000855.asm | neoneye/loda | 22 | 17725 | <reponame>neoneye/loda
; A000855: Final two digits of 2^n.
; 1,2,4,8,16,32,64,28,56,12,24,48,96,92,84,68,36,72,44,88,76,52,4,8,16,32,64,28,56,12,24,48,96,92,84,68,36,72,44,88,76,52,4,8,16,32,64,28,56,12,24,48,96,92,84,68,36,72,44,88,76,52,4,8,16,32,64,28,56,12,24,48,96,92,84,68,36,72,44,88,76,52,4,8,16,32,64,28,56,12,2... |
programs/oeis/140/A140156.asm | jmorken/loda | 1 | 5471 | <reponame>jmorken/loda<gh_stars>1-10
; A140156: a(1)=1, a(n) = a(n-1) + n^3 if n odd, a(n) = a(n-1) + n^5 if n is even.
; 1,33,60,1084,1209,8985,9328,42096,42825,142825,144156,392988,395185,933009,936384,1984960,1989873,3879441,3886300,7086300,7095561,12249193,12261360,20223984,20239609,32120985,32140668,49351036,49375... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1621.asm | ljhsiun2/medusa | 9 | 15425 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x155b1, %r11
nop
xor $9664, %r13
mov (%r11), %r9w
nop
nop
nop
nop
nop
add $54508, %rbp
lea addresses_normal_ht+0x17141, %rsi
lea addresses_normal_ht+0x18901, %rdi
clflush ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/addr7.adb | best08618/asylo | 7 | 1652 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/addr7.adb
-- { dg-do compile }
package body Addr7 is
procedure Proc (B: aliased Bytes) is
O: Integer;
for O'Address use B'Address;
begin
null;
end;
end Addr7;
|
audio/sfx/cry09_2.asm | AmateurPanda92/pokemon-rby-dx | 9 | 174967 | <filename>audio/sfx/cry09_2.asm
SFX_Cry09_2_Ch4:
dutycycle 240
squarenote 15, 15, 7, 1952
squarenote 6, 14, 6, 1955
squarenote 10, 15, 4, 1952
dutycycle 165
squarenote 10, 15, 6, 2008
squarenote 4, 14, 3, 2007
squarenote 15, 15, 2, 2008
endchannel
SFX_Cry09_2_Ch5:
dutycycle 5
squarenote 2, 0, 8, 0
squaren... |
2020 Fall E C E 252/HW09/HW09B/hw09.asm | jsswd888/2020_FALL_UW_MADISON | 0 | 105284 | <reponame>jsswd888/2020_FALL_UW_MADISON<filename>2020 Fall E C E 252/HW09/HW09B/hw09.asm
; Filename: hw09.asm
; Author(s): <NAME>
; <EMAIL>
; Partner: <NAME> (Partner but submitting individually)
;
; Description: Performs various operations on values in
; various memory locations
... |
src/Projects/Backup/project_processor-projects-identifiers.adb | fintatarta/eugen | 0 | 9035 | <filename>src/Projects/Backup/project_processor-projects-identifiers.adb
with Ada.Characters;
with Ada.Characters.Handling;
package body Project_Processor.Projects.Identifiers is
-------------------------
-- Is_Valid_Identifier --
-------------------------
function Is_Valid_Identifier (X : String) return ... |
multiplication.asm | forkkr/Assembly-Lab | 0 | 164016 | segment .data
a: dq 10
b: dq 11
mul: dw "Product" ,10 , 0
fmt: dq "%s %lld\n", 10, 0
segment .text
global main
extern printf
main:
push RBP
mov RAX , [a]
mov RDX, [b]
mul RDX
mov RDI, fmt
mov RSI, mul
mov RDX, RAX
mov RAX , 0
call printf
pop RBP
ret
|
oeis/017/A017020.asm | neoneye/loda-programs | 11 | 242008 | ; A017020: a(n) = (7*n + 3)^4.
; 81,10000,83521,331776,923521,2085136,4100625,7311616,12117361,18974736,28398241,40960000,57289761,78074896,104060401,136048896,174900625,221533456,276922881,342102016,418161601,506250000,607573201,723394816,855036081,1003875856,1171350625,1358954496,1568239201,1800814096,2058346161,2342... |
Outputs/mixers/m32flat/mix8b.asm | jgunthorpe/muse | 0 | 14210 | ; ASM mixing code
;
; MixAsm_20_xx - For 2.0 <= x incrs
; Shuffles the code around to optimize for the constant motion using a
; variable whole number.
;
; MixAsm_10_20 - For 1.0 <= x < 2.0 incrs
; Shuffles the code around to optimize for the constant motion, uses a
; whole number portion of 1.
;
... |
3-mid/impact/source/3d/math/impact-d3-aabb_util.adb | charlie5/lace | 20 | 5755 | with impact.d3.Transform,
impact.d3.Matrix,
impact.d3.Vector;
with impact.d3.min_max;
package body impact.d3.aabb_Util
is
procedure Transform_Aabb (halfExtents : in math.Vector_3;
margin : in math.Real;
t : in Tran... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_21829_1781.asm | ljhsiun2/medusa | 9 | 21270 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x5de4, %rsi
lea addresses_UC_ht+0x1b9e4, %rdi
nop
nop
nop
nop
xor $7377, %r12
mov $127, %rcx
rep movsb
nop
nop
nop
nop
nop
sub $62052, %rax
lea addresses_UC_ht+0x17fe4, %rsi
lea addresse... |
second.asm | jacmba/nerdy-nights | 0 | 245339 | <reponame>jacmba/nerdy-nights<gh_stars>0
.inesprg 1
.ineschr 1
.inesmir 1
.inesmap 0
.bank 0
.org $8000
Reset:
sei
cld
ldx #$00
VBlank:
bit $2002
bpl VBlank
inx
cpx #$02
bne VBlank ; Wait for 2 V-Blank cycles
lda #%10000000 ;enable NMI
sta $2000
lda #%00010000 ;enable sprite rend... |
Appl/Icon/Document/documentIcon.asm | steakknife/pcgeos | 504 | 85167 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Document
FILE: documentIcon.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
DBViewerEditIcon ... |
programs/oeis/052/A052571.asm | neoneye/loda | 22 | 95661 | ; A052571: E.g.f. x^3/(1-x)^2.
; 0,0,0,6,48,360,2880,25200,241920,2540160,29030400,359251200,4790016000,68497228800,1046139494400,16999766784000,292919058432000,5335311421440000,102437979291648000,2067966706950144000,43792236147179520000,970727901262479360000,22480014555552153600000,542892351516584509440000,13649864838... |
gcc-gcc-7_3_0-release/gcc/ada/put_scos.adb | best08618/asylo | 7 | 1522 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
libsrc/adt/queue/adt_QueueCount.asm | meesokim/z88dk | 0 | 243471 | ; uint __FASTCALL__ adt_QueueCount(struct adt_Queue *q)
; 09.2005 aralbrec
PUBLIC adt_QueueCount
.adt_QueueCount
ld a,(hl)
inc hl
ld h,(hl)
ld l,a
ret
|
Cubical/Functions/Fixpoint.agda | dan-iel-lee/cubical | 0 | 7390 | <reponame>dan-iel-lee/cubical
{-
Definition of function fixpoint and Kraus' lemma
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Functions.Fixpoint where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.GroupoidLaws
open import Cub... |
app/src/main/antlr/PWMS.g4 | w158rk/PWMS | 0 | 6503 | <filename>app/src/main/antlr/PWMS.g4
grammar PWMS;
@header {
package pers.ruikai.pwms.compiler;
}
CATEGORY: 'category';
DOT: '.';
DASH : '-';
WS : [ \u000D\t\n] -> skip ;
YEAR: [0-9][0-9][0-9][0-9];
NUM2: [0-9][0-9];
IN: 'IN';
OUT: 'OUT';
INTEGER: [0-9]+;
ID : (~ [ \n\u000D\t.0-9-])(~ [ \n\u000D\t.])*;
records: c... |
programs/oeis/163/A163661.asm | neoneye/loda | 22 | 12695 | <filename>programs/oeis/163/A163661.asm
; A163661: a(n) = n*(2*n^2 + 5*n + 17)/2.
; 0,12,35,75,138,230,357,525,740,1008,1335,1727,2190,2730,3353,4065,4872,5780,6795,7923,9170,10542,12045,13685,15468,17400,19487,21735,24150,26738,29505,32457,35600,38940,42483,46235,50202,54390,58805,63453,68340,73472,78855,84495,90398,9... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c46044b.ada | best08618/asylo | 7 | 16410 | -- C46044B.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... |
Sem4/AEIE_LAB/Blinking_7_segment2.asm | SOUMEE2000/Heritage-CSE-Codes | 0 | 96389 | ORG 2000H
LXI SP, 3FFFH
L1: LXI H, 2500H
MOV A, M
OUT 80H
INX H
MOV A, M
OUT 81H
INX H
MOV A, M
OUT 82H
CALL 2600H
MVI A, 00H
OUT 80H
OUT 81H
OUT 82H
CALL 2600H
JMP L1
ORG 2600H
MVI C, 20H
L2: DCR C
JNZ L2
RET
ORG 2500H
DB 39H, 6DH, 79H
END |
src/Tests/UCodes/VMULU.asm | bryanperris/cor64 | 38 | 85583 | <gh_stars>10-100
// https://github.com/PeterLemon/N64
endian msb
arch n64.rsp
include "LIB/N64.INC" // Include N64 Definitions
include "LIB/N64_GFX.INC" // Include Graphics Macros
include "LIB/N64_RSP.INC" // Include RSP Macros
align(8) // Align 64-Bit
base $0000 // Set Base Of RSP Code Object To Zero
lqv v0[e0],$0... |
libsrc/stdio/ansi/ts2068/f_ansi_char85.asm | meesokim/z88dk | 0 | 88627 | <gh_stars>0
;
; Spectrum C Library
;
; ANSI Video handling for TS 2068 85 columns
; ** ROM font -DROMFONT
;
; set it up with:
; .text_cols = max columns
; .text_rows = max rows
; .font = font file
;
; Display a char in location (ansi_ROW),(ansi_COLUMN)
; A=char to display
;
;
; $Id: f_ansi_char85.asm,v 1.3 2015... |
src/playercollision.asm | hackneyc/CastleEscape | 0 | 178838 | <gh_stars>0
extern _currentTileMap
extern _falling
extern _jumping
extern _setupScreen
extern _tileMapX
extern _tileMapY
extern _xPos
extern _xSpeed
extern _yPos
extern _ySpeed
extern die
extern wyz_play_sound
... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c52104y.ada | best08618/asylo | 7 | 24032 | <reponame>best08618/asylo
-- C52104Y.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... |
scripts/UndergroundPathRoute7Copy.asm | opiter09/ASM-Machina | 1 | 98666 | UndergroundPathRoute7Copy_Script:
ld a, ROUTE_7
ld [wLastMap], a
ret
UndergroundPathRoute7Copy_TextPointers:
dw UGPathRoute7EntranceUnusedText_5d773
dw UGPathRoute7EntranceUnusedText_5d77d
UGPathRoute7EntranceUnusedText_5d773:
text_far _UGPathRoute7EntranceUnusedText_5d773
text_end
UGPathRoute7EntranceUnusedT... |
source/serial.asm | re0ah/nameless-OS16 | 0 | 87793 | ;This is free and unencumbered software released into the public domain.
;Anyone is free to copy, modify, publish, use, compile, sell, or
;distribute this software, either in source code form or as a compiled
;binary, for any purpose, commercial or non-commercial, and by any
;means.
;In jurisdictions that recognize c... |
testsuite/league/string_compare_test.adb | svn2github/matreshka | 24 | 8833 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
tests/tcl-info-test_data-tests.adb | thindil/tashy2 | 2 | 27239 | <gh_stars>1-10
-- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to set up and ... |
oeis/218/A218173.asm | neoneye/loda-programs | 11 | 243635 | <filename>oeis/218/A218173.asm<gh_stars>10-100
; A218173: Expansion of f(x^7, x^17) - x^2 * f(x, x^23) in powers of x where f(,) is Ramanujan's two-variable theta function.
; Submitted by <NAME>
; 1,0,-1,-1,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,-1,0,0,-1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0... |
programs/oeis/084/A084367.asm | karttu/loda | 1 | 2232 | <filename>programs/oeis/084/A084367.asm
; A084367: a(n) = n*(2*n+1)^2.
; 0,9,50,147,324,605,1014,1575,2312,3249,4410,5819,7500,9477,11774,14415,17424,20825,24642,28899,33620,38829,44550,50807,57624,65025,73034,81675,90972,100949,111630,123039,135200,148137,161874,176435,191844,208125,225302,243399,262440,282449,303450,... |
project/adl/arch/ARM/Nordic/drivers/nrf51-gpio-tasks_and_events.ads | corentingay/ada_epita | 2 | 30184 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_369.asm | ljhsiun2/medusa | 9 | 16716 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_369.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xba12, %rsi
lea addresses_A_ht+0x1a7fb, %rdi
nop
nop
nop
nop
nop
inc %r12
mov $80, %rc... |
Cubical/DStructures/Structures/VertComp.agda | Schippmunk/cubical | 0 | 12104 | <filename>Cubical/DStructures/Structures/VertComp.agda
{-
This module contains
- the type of vertical composition operations
that can be defined on a reflexive graph
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.DStructures.Structures.VertComp where
open import Cubical.Foundations.Prelude
op... |
examples/host_bot.adb | erik/ada-irc | 5 | 29536 | <reponame>erik/ada-irc
with Irc.Bot;
with Irc.Commands;
with Irc.Message;
with Ada.Strings.Unbounded;
-- Some custom commands (commands.ads)
with Commands;
procedure Host_Bot is
Bot : Irc.Bot.Connection;
begin
Bot := Irc.Bot.Create ("irc.tenthbit.net", 6667, Nick => "hostbot");
-- Set some bot administ... |
codec/encoder/core/asm/deblock.asm | TechSmith/openh264 | 1 | 164434 | ;*!
;* \copy
;* Copyright (c) 2009-2013, Cisco Systems
;* All rights reserved.
;*
;* Redistribution and use in source and binary forms, with or without
;* modification, are permitted provided that the following conditions
;* are met:
;*
;* * Redistributions of source code must retain the abo... |
bugs/bug17b.ada | daveshields/AdaEd | 3 | 18294 | with Buggy_Package;
procedure Buggy_Package_Demo is
function Func_INTEGER
is new Buggy_Package.Func_INT( INTEGER );
procedure Proc_INTEGER
is new Buggy_Package.Proc_INT( INTEGER );
begin
NULL;
end Buggy_Package_Demo;
|
Web/asm/examples/Bouncing Ball (LCD).asm | visrealm/vrcpu | 102 | 102770 | ; -----------------------------------------------
; Bounce a ball around the character LCD display
; -----------------------------------------------
;
; Troy's 8-bit computer - Emulator
;
; Copyright (c) 2020 <NAME>
;
; This code is licensed under the MIT license
;
; https://github.com/visrealm/vrcpu
;
; ==============... |
src/common/keccak-keccak_1600-rounds_14.ads | damaki/libkeccak | 26 | 30499 | <reponame>damaki/libkeccak<filename>src/common/keccak-keccak_1600-rounds_14.ads<gh_stars>10-100
-------------------------------------------------------------------------------
-- Copyright (c) 2019, <NAME>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modificati... |
core/parser/src/main/antlr4/imports/JPQL_lexer.g4 | cybernetics/blaze-persistence | 1 | 7348 | /*
* Copyright 2014 Blazebit.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
Cubical/HITs/RPn.agda | cmester0/cubical | 1 | 3637 | <filename>Cubical/HITs/RPn.agda
{-# OPTIONS --cubical --safe #-}
module Cubical.HITs.RPn where
open import Cubical.HITs.RPn.Base public
|
libsrc/math/z88math/dge.asm | Toysoft/z88dk | 8 | 4303 | ;
; Z88dk Z88 Maths Library
;
;
; $Id: dge.asm,v 1.4 2016-06-22 19:55:06 dom Exp $
SECTION code_fp
PUBLIC dge
EXTERN fsetup
EXTERN stkequcmp
INCLUDE "fpp.def"
; TOS >= FA?
.dge
call fsetup
fpp(FP_GEQ)
jp stkequcmp
|
libsrc/_DEVELOPMENT/l/sccz80/crt0_long_8080/l_long_asr_u.asm | yottatsa/z88dk | 1 | 178567 | <gh_stars>1-10
; Z88 Small C+ Run Time Library
; Long functions
; "8080" mode
;
SECTION code_crt0_sccz80
PUBLIC l_long_asr_u
PUBLIC l_long_asr_uo
; Entry: dehl = long
; c = shift
.l_long_asr_uo
ld a,c
jp entry
; Shift primary (on stack) right by secondary,
.l_long_asr_u
... |
programs/oeis/011/A011893.asm | neoneye/loda | 22 | 167422 | ; A011893: [ n(n-1)(n-2)/11 ].
; 0,0,0,0,2,5,10,19,30,45,65,90,120,156,198,248,305,370,445,528,621,725,840,966,1104,1254,1418,1595,1786,1993,2214,2451,2705,2976,3264,3570,3894,4238,4601,4984,5389
bin $0,3
mul $0,36
div $0,66
|
programs/oeis/120/A120743.asm | karttu/loda | 0 | 1999 | ; A120743: a(n) = (1/2)*(1 + 3*i)^n + (1/2)*(1 - 3*i)^n where i = sqrt(-1).
; 1,-8,-26,28,316,352,-2456,-8432,7696,99712,122464,-752192,-2729024,2063872,31417984,42197248,-229785344,-881543168,534767104,9884965888,14422260736,-70005137408,-284232882176,131585609728,3105500041216,4895143985152,-21264712441856,-914808647... |
3-mid/opengl/source/platform/glx/private/opengl-surface-privvy.ads | charlie5/lace | 20 | 13968 | <reponame>charlie5/lace
with
GLX;
package openGL.Surface.privvy
is
function to_GLX (Self : in Surface.item'Class) return glx.Drawable;
end openGL.Surface.privvy;
|
polynomial/spline/spline_tst_2.adb | jscparker/math_packages | 30 | 23148 |
-- Spline_tst2 tests spline calculations on a subset of the Data_Vector.
with Text_IO; use Text_IO;
with Ada.Numerics.Generic_Elementary_Functions;
with Spline;
procedure Spline_tst_2 is
type Real is digits 15;
package Math is new Ada.Numerics.Generic_Elementary_Functions (Real);
use Math;
package flio... |
StdLib/std_lib.32.asm | robertmuth/Cwerg | 171 | 100818 | ############################################################
# std_lib.c
############################################################
.mem __static_2__malloc_end 4 RW
.data 4 [0]
.mem __static_1__malloc_start 4 RW
.data 4 [0]
.fun write_s NORMAL [S32] = [S32 A32]
.reg S32 [%out]
.bbl %start
poparg fd:S32
popar... |
Project4/Sandbox/testinput.asm | orrinjelo/virtual-machine | 0 | 103874 | ret .BYT 10
str .BYT '*'
rep TRP 4
TRP 3
LDB R0 ret
CMP R0 R3
BRZ R0 end
LDB R3 str
TRP 3
JMP rep
end TRP 0
|
libsrc/math/zxmath/f_yesno.asm | grancier/z180 | 0 | 24760 | ;
;
; ZX Maths Routines
;
; 23/05/06 - <NAME>
;
; $Id: f_yesno.asm,v 1.5 2016/06/22 19:59:18 dom Exp $
;
; Support for boolean - save some byte
IF FORzx
INCLUDE "zxfp.def"
ENDIF
IF FORzx81
INCLUDE "81fp.def"
ENDIF
IF FORlambda
INCLUDE "lambdafp.def"
ENDIF
SECTION code_fp
... |
alloy4fun_models/trashltl/models/1/NcdPrj4SLf8RyhhYP.als | Kaixi26/org.alloytools.alloy | 0 | 4075 | <filename>alloy4fun_models/trashltl/models/1/NcdPrj4SLf8RyhhYP.als<gh_stars>0
open main
pred idNcdPrj4SLf8RyhhYP_prop2 {
(historically (no File)) until (some File)
}
pred __repair { idNcdPrj4SLf8RyhhYP_prop2 }
check __repair { idNcdPrj4SLf8RyhhYP_prop2 <=> prop2o } |
programs/oeis/268/A268428.asm | karttu/loda | 1 | 101920 | ; A268428: a(n) = (3*(n^2+n+99)+cos(Pi*n/2)-sin(Pi*n/2))/2.
; 149,151,157,167,179,193,211,233,257,283,313,347,383,421,463,509,557,607,661,719,779,841,907,977,1049,1123,1201,1283,1367,1453,1543,1637,1733,1831,1933,2039,2147,2257,2371,2489,2609,2731,2857,2987,3119,3253,3391,3533,3677,3823,3973,4127,4283,4441,4603,4769,49... |
src/ht16k33.ads | JeremyGrosser/sensors | 1 | 18719 | <gh_stars>1-10
--
-- Copyright (C) 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
with HAL.I2C; use HAL.I2C;
with HAL; use HAL;
package HT16K33 is
type Device
(Port : not null Any_I2C_Port;
Address : I2C_Address)
is tagged limited record
-- byte 0 is the address com... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/fzero.lzh/fzero/set_back.asm | prismotizm/gigaleak | 0 | 240048 | <reponame>prismotizm/gigaleak
Name: set_back.asm
Type: file
Size: 76162
Last-Modified: '1993-07-20T07:13:27Z'
SHA-1: EC31BCCDAACDF30321D54345227128D3FD25AC2C
Description: null
|
memory.asm | stormmmmm/AsmDynamicMemory | 0 | 245288 | <filename>memory.asm<gh_stars>0
.model small
stack 100h
MALLOC_ID = 00000001h
_char equ 1
_short equ 2
_word equ 2
_int equ 4
_dword equ 4
_df equ 6
_long equ 8
_dt equ 10
_fpu equ 10
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt17.adb | best08618/asylo | 7 | 11981 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt17.adb
-- { dg-do compile }
-- { dg-options "-O" }
package body Opt17 is
function Func return S is
V : String (1 .. 6);
begin
V (1 .. 3) := "ABC";
return V (1 .. 5);
end;
end Opt17;
|
test/Fail/Issue3274.agda | cruhland/agda | 1,989 | 8055 | <filename>test/Fail/Issue3274.agda
open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
data Vec (A : Set) : Nat → Set where
variable
A : Set
x : A
n : Nat
xs : Vec A n
postulate
IsHead : A → Vec A (suc n) → Set
-- Should also work if there is pruning
solve_==_by_ : (m n : Nat) → m ≡ n → Set... |
packages/x86-toolkit/x86-assembler/tests/asm/jumps.asm | Mati365/ts-c99-compiler-toolkit | 66 | 176205 | <filename>packages/x86-toolkit/x86-assembler/tests/asm/jumps.asm
;= test: explicit / implicit near / short jmp range test
;= bin: e9ee83e9f993e9f9ffeb06eb04e901009090
[bits 16]
[org 0x7C00]
jmp near -0xF
jmp near 0x0FFF
jmp near 0x7C02
jmp abc
jmp short abc
jmp near abc
nop
abc:
nop
;= test: jmp relative addresses sp... |
programs/oeis/196/A196290.asm | neoneye/loda | 22 | 173833 | ; A196290: n^9 + n.
; 0,2,514,19686,262148,1953130,10077702,40353614,134217736,387420498,1000000010,2357947702,5159780364,10604499386,20661046798,38443359390,68719476752,118587876514,198359290386,322687697798,512000000020,794280046602,1207269217814,1801152661486,2641807540248,3814697265650,5429503679002,7625597485014,1... |
scripts/FuchsiaGoodRodHouse.asm | opiter09/ASM-Machina | 1 | 3603 | FuchsiaGoodRodHouse_Script:
jp EnableAutoTextBoxDrawing
FuchsiaGoodRodHouse_TextPointers:
dw FuchsiaHouse3Text1
FuchsiaHouse3Text1:
text_asm
ld a, [wd728]
bit 4, a ; got good rod?
jr nz, .got_item
ld hl, FuchsiaHouse3Text_561bd
call PrintText
call YesNoChoice
ld a, [wCurrentMenuItem]
and a
jr nz, .refused... |
data/jpred4/jp_batch_1613899824__Nc4kp5W/jp_batch_1613899824__Nc4kp5W.als | jonriege/predict-protein-structure | 0 | 47 | SILENT_MODE
BLOCK_FILE jp_batch_1613899824__Nc4kp5W.concise.blc
MAX_NSEQ 701
MAX_INPUT_LEN 703
OUTPUT_FILE jp_batch_1613899824__Nc4kp5W.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0.6
DEFINE_FO... |
alloy4fun_models/trashltl/models/16/7LrK2TJZ4koLP6czA.als | Kaixi26/org.alloytools.alloy | 0 | 4628 | open main
pred id7LrK2TJZ4koLP6czA_prop17 {
all f: File |(always File' = File - f since eventually f in Trash)
}
pred __repair { id7LrK2TJZ4koLP6czA_prop17 }
check __repair { id7LrK2TJZ4koLP6czA_prop17 <=> prop17o } |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_257.asm | ljhsiun2/medusa | 9 | 13375 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1dd78, %r13
nop
nop
nop
nop
and $60312, %r8
vmovups (%r13), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $0, %xmm6, %r14
nop
nop
nop
nop
no... |
programs/oeis/200/A200887.asm | jmorken/loda | 1 | 100292 | <filename>programs/oeis/200/A200887.asm
; A200887: Number of 0..n arrays x(0..3) of 4 elements without any interior element greater than both neighbors.
; 12,51,144,325,636,1127,1856,2889,4300,6171,8592,11661,15484,20175,25856,32657,40716,50179,61200,73941,88572,105271,124224,145625,169676,196587,226576,259869,296700,3... |
programs/oeis/048/A048848.asm | neoneye/loda | 22 | 16156 | ; A048848: a(n) = prime(phi(n)).
; 2,2,3,3,7,3,13,7,13,7,29,7,37,13,19,19,53,13,61,19,37,29,79,19,71,37,61,37,107,19,113,53,71,53,89,37,151,61,89,53,173,37,181,71,89,79,199,53,181,71,131,89,239,61,173,89,151,107,271,53,281,113,151,131,223,71,317,131,193,89,349,89,359,151,173,151,281,89,397,131,251,173,421,89,311,181,26... |
lib/scripts/get_first_track_state.itunes.applescript | swdotcom/music | 11 | 1748 | <reponame>swdotcom/music<filename>lib/scripts/get_first_track_state.itunes.applescript
on escape_quotes(string_to_escape)
set AppleScript's text item delimiters to the "\""
set the item_list to every text item of string_to_escape
set AppleScript's text item delimiters to the "\\\""
set string_to_escape to the item... |
oeis/120/A120865.asm | neoneye/loda-programs | 11 | 21141 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A120865: a(n) is the number k for which there exists a unique pair (j,k) of positive integers such that (j + k + 1)^2 - 4*k = 12*n^2.
; 1,4,9,1,6,13,22,4,13,24,37,9,22,37,1,16,33,52,6,25,46,69,13,36,61,88,22,49,78,4,33,64,97,13,46,81,118,24,61,100,141,37,78,121,9,52,97,... |
source/asis/asis-gela-resolver.adb | faelys/gela-asis | 4 | 20044 | <reponame>faelys/gela-asis<gh_stars>1-10
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ad... |
oeis/171/A171537.asm | neoneye/loda-programs | 11 | 99850 | ; A171537: Decimal expansion of sqrt(3/7).
; Submitted by <NAME>
; 6,5,4,6,5,3,6,7,0,7,0,7,9,7,7,1,4,3,7,9,8,2,9,2,4,5,6,2,4,6,8,5,8,3,5,5,5,6,9,2,0,8,0,8,2,3,9,5,4,2,4,5,5,7,5,1,5,3,2,0,3,0,3,4,1,5,2,6,6,9,1,7,9,3,5,3,9,5,8,4,0,9,4,3,4,8,0,2,2,2,7,8,4,7,7,7,8,6,1,8
add $0,1
mov $1,1
mov $3,$0
mul $3,4
lpb $3
add $6... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.