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/Fail/Issue3318-4.agda | shlevy/agda | 1,989 | 3761 | primitive
primSetOmega : _
|
reference/ANTLRv4Parser.g4 | mgreminger/js_antlr4_book | 1 | 5026 | /*
* [The "BSD license"]
* Copyright (c) 2012 <NAME>
* Copyright (c) 2012 <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code ... |
src/firmware-tests/Platform/Clock/Poll/PollWithTickedFlagTest.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 29925 | <reponame>pete-restall/Cluck2Sesame-Prototype
#include "Platform.inc"
#include "FarCalls.inc"
#include "Clock.inc"
#include "TestFixture.inc"
#include "../PollAfterClockMock.inc"
#include "../../ResetFlagsStubs.inc"
radix decimal
udata
global expectedClockYearBcd
global expectedClockMonthBcd
gl... |
audio/sfx/battle_19.asm | AmateurPanda92/pokemon-rby-dx | 9 | 94238 | <reponame>AmateurPanda92/pokemon-rby-dx
SFX_Battle_19_Ch7:
noisenote 2, 8, 4, 67
noisenote 2, 12, 4, 34
noisenote 8, 15, 2, 52
endchannel
|
src/sparknacl-hashing.adb | yannickmoy/SPARKNaCl | 76 | 4143 | package body SPARKNaCl.Hashing
with SPARK_Mode => On
is
pragma Warnings (GNATProve, Off, "pragma * ignored (not yet supported)");
subtype Index_80 is I32 range 0 .. 79;
type K_Table is array (Index_80) of U64;
K : constant K_Table :=
(16#428a2f98d728ae22#, 16#7137449123ef65cd#,
16#b5c0fbcfec4d... |
asm/printch.asm | pedroreissantos/pepe | 0 | 85046 | <reponame>pedroreissantos/pepe
MOV r0, 80
PUSH r0
CALL printch
POP r0
MOV r0, 101
SWE 245 ; printBYTE
MOV r0, 100
SWE 245 ; printBYTE
MOV r0, 114
SWE 245 ; printBYTE
MOV r0, 111
SWE 245 ; printBYTE
MOV r0, 10
SWE 245 ; printBYTE
|
oeis/318/A318397.asm | neoneye/loda-programs | 11 | 177600 | ; A318397: Triangle read by rows: T(n,k) = binomial(n,k)^2 * binomial(2*(n-k), n-k).
; Submitted by <NAME>
; 1,2,1,6,8,1,20,54,18,1,70,320,216,32,1,252,1750,2000,600,50,1,924,9072,15750,8000,1350,72,1,3432,45276,111132,85750,24500,2646,98,1,12870,219648,724416,790272,343000,62720,4704,128,1,48620,1042470,4447872,651974... |
audio/music/aftertherivalfight.asm | AtmaBuster/pokeplat-gen2 | 6 | 240728 | Music_AfterTheRivalFight:
musicheader 4, 1, Music_AfterTheRivalFight_Ch1
musicheader 1, 2, Music_AfterTheRivalFight_Ch2
musicheader 1, 3, Music_AfterTheRivalFight_Ch3
musicheader 1, 4, Music_AfterTheRivalFight_Ch4
Music_AfterTheRivalFight_Ch1:
Music_AfterTheRivalFight_Ch2:
Music_AfterTheRivalFight_Ch3:
Music_After... |
test/succeed/Issue435.agda | larrytheliquid/agda | 1 | 16307 | <gh_stars>1-10
-- {-# OPTIONS -v extendedlambda:100 -v int2abs.reifyterm.def:100 #-}
module Issue435 where
data Bool : Set where
true false : Bool
record Unit : Set where
postulate
Dh : ({ x : Bool } → Bool) → Set
Di : ({{x : Bool}} → Bool) → Set
noth : Set
noth = Dh (\ { {true} → false ; {false} → true})
n... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1566.asm | ljhsiun2/medusa | 9 | 24755 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1566.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %r8
push %rbp
lea addresses_WC_ht+0x147e0, %r10
xor $12302, %r13
mov (%r10), %r8w
dec %r8
lea addresses_WT_ht+0x17b7e, %rbp
nop
n... |
libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_destroy.asm | meesokim/z88dk | 0 | 93797 | <filename>libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_destroy.asm<gh_stars>0
; void b_array_destroy(b_array_t *a)
SECTION code_adt_b_array
PUBLIC b_array_destroy
b_array_destroy:
INCLUDE "adt/b_array/z80/asm_b_array_destroy.asm"
|
src/input.asm | TypeDefinition/NautiBuoy | 2 | 92108 | <reponame>TypeDefinition/NautiBuoy<filename>src/input.asm
INCLUDE "./src/include/hardware.inc"
P1F_NONE EQU $30 ; 0011 0000, used to release the controller
P1F_BUTTONS EQU $10 ; 0001 0000, select button, set bit 4 high, rest low
P1F_DPAD EQU $20 ; 0010 0000, select Dpad by setting bit 5 to high and bit 4 low
... |
src/spread/fpars/monitor.asm | olifink/qspread | 0 | 91792 | <reponame>olifink/qspread
* Parser Monitor
*
include win1_mac_oli
include win1_keys_qdos_ioa
include win1_spread_fpars_keys
section pars
xdef pma_init,pma_item
xdef pma_stak,pma_clos
xdef pma_ops
pmt_pipe qstrg {pipe_monitor}
pmt_item qstrg {found: }
pmt_stak qstrg { stack: }
pmt_ops qstrg { ops: }
pma_i... |
src/fltk-devices-graphics.ads | micahwelf/FLTK-Ada | 1 | 11420 | <reponame>micahwelf/FLTK-Ada
with
FLTK.Images;
package FLTK.Devices.Graphics is
type Graphics_Driver is new Device with private;
type Graphics_Driver_Reference (Data : not null access Graphics_Driver'Class) is
limited null record with Implicit_Dereference => Data;
function Get_Color
... |
simd/ji3dnflt.asm | prismskylabs/libjpeg-turbo-1.3.x | 0 | 98018 | ;
; ji3dnflt.asm - floating-point IDCT (3DNow! & MMX)
;
; Copyright 2009 <NAME> <<EMAIL>> for Cendio AB
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file should be assembled with... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_425.asm | ljhsiun2/medusa | 9 | 93015 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xcd28, %r8
inc %r15
mov $0x6162636465666768, %rcx
movq %rcx, %xmm2
and $0xffffffffffffffc0, %r8
vmovntdq %ymm2, (%r8)
nop
nop
nop
nop
and $48177, %rbx
lea addresses_UC_ht+0x519... |
Lab_5/Forum(Notes)/MACROS.asm | nickbel7/ntua-microprocessors-systems | 0 | 241384 | <filename>Lab_5/Forum(Notes)/MACROS.asm
; Microcomputer Systems - Flow Y [6th Semester]
; <NAME> - 031 17 198 - <EMAIL>
; <NAME> - 031 17 165 - <EMAIL>
; 5th Group of Exercises
; BASIC MACROS TO INCLUDE FOR EASY USE IN EXERCISES
; PRINT CHAR
PRINT MACRO CHAR
PUSH AX
PUSH DX
MOV DL,CHA... |
alarm.applescript | bendodson/Apple-TV-Alarm-Clock | 28 | 3486 | <reponame>bendodson/Apple-TV-Alarm-Clock
set AirplayDeviceName to "Kitchen"
set PlaylistName to "5 Star Music"
set AirplayVolume to 100
set EnableShuffle to true
-- Ready up Music App
tell application "Music"
activate
set visible of front browser window to true
set the view of the front browser window to playlist P... |
alloy4fun_models/trashltl/models/5/EWr3eS7JpYe8dYAZ4.als | Kaixi26/org.alloytools.alloy | 0 | 37 | open main
pred idEWr3eS7JpYe8dYAZ4_prop6 {
all f : File | f in Trash implies always f in Trash
}
pred __repair { idEWr3eS7JpYe8dYAZ4_prop6 }
check __repair { idEWr3eS7JpYe8dYAZ4_prop6 <=> prop6o } |
sbsext/ut/cksep.asm | olifink/smsqe | 0 | 3183 | <filename>sbsext/ut/cksep.asm
* Check separators V0.5 1984 <NAME> QJUMP
*
* check if parameter is preceded by a given separator
*
section utils
*
xdef ut_ckcomma
xdef ut_ckto
xdef ut_cksemi
xdef ut_cksep
*
include dev8_sbsext_ext_keys
inclu... |
libsrc/graphics/cpc/clrarea.asm | andydansby/z88dk-mk2 | 1 | 20531 | <filename>libsrc/graphics/cpc/clrarea.asm
xlib cleararea
INCLUDE "cpcfirm.def"
INCLUDE "graphics/grafix.inc"
;
; $Id: clrarea.asm,v 1.2 2009/06/22 21:44:17 dom Exp $
;
; ***********************************************************************
;
; Clear specified graphics area in map.
; Generic versi... |
Functional/Combinations.agda | Lolirofle/stuff-in-agda | 6 | 6180 | module Functional.Combinations where
open import Type
-- TODO: Generalize these. Probably by lists and foldᵣ of combination and rotation construction functions. Also categorically or dependently
rotate₃Fn₃Op₂ : ∀{ℓ₁ ℓ₂}{A : Type{ℓ₁}}{B : Type{ℓ₂}} → (A → A → A → B) → (B → B → B) → (A → A → A → B)
rotate₃Fn₃Op₂(F)(_▫_... |
lib/Runtime/Language/arm64/arm64_Thunks.asm | Taritsyn/ChakraCore | 8,664 | 179586 | <reponame>Taritsyn/ChakraCore
;-------------------------------------------------------------------------------------------------------
; Copyright (C) Microsoft. All rights reserved.
; Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
;-------------------------------... |
src/bintoasc-base85.adb | jhumphry/Ada_BinToAsc | 0 | 25348 | <gh_stars>0
-- BinToAsc.Base85
-- Various binary data to ASCII codecs known as Base85, ASCII85 etc
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
package body BinToAsc.Base85 is
Reverse_Alphabet : constant Reverse_Alphabet_Lookup
:= Make_Reverse_Alphabet(Alphabet, True);
type Bin_Frame is m... |
programs/oeis/319/A319014.asm | jmorken/loda | 1 | 29348 | <reponame>jmorken/loda<filename>programs/oeis/319/A319014.asm
; A319014: a(n) = 1*2*3 + 4*5*6 + 7*8*9 + 10*11*12 + 13*14*15 + 16*17*18 + ... + (up to n).
; 1,2,6,10,26,126,133,182,630,640,740,1950,1963,2132,4680,4696,4952,9576,9595,9956,17556,17578,18062,29700,29725,30350,47250,47278,48062,71610,71641,72602,104346,1043... |
src/pal.adb | dshadrin/AProxy | 1 | 11400 | <filename>src/pal.adb
----------------------------------------
-- Copyright (C) 2019 <NAME> --
-- All rights reserved. --
----------------------------------------
with Ada.Unchecked_Deallocation;
with Ada.Text_IO; use Ada.Text_IO;
-------------------------------------------------------------------------... |
server-go/filtering/parser/gen/FilterExpressionLexer.g4 | agv426/grafeas | 915 | 6226 | <gh_stars>100-1000
// Copyright 2018 The Grafeas Authors. All rights reserved.
//
// 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
//
// Un... |
source/amf/mof/amf.ads | svn2github/matreshka | 24 | 19186 | <reponame>svn2github/matreshka<filename>source/amf/mof/amf.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Irvine/Examples/ch08/32 bit/Endless.asm | alieonsido/ASM_TESTING | 0 | 164492 | ; Endless Recursion (Endless.asm)
; This program demonstrates nonstop recursion. It
; causes a stack overflow.
.386
.model flat,stdcall
.stack 0FFFFFh
ExitProcess PROTO, dwExitCode:dword
.code
main PROC
call Endless
INVOKE ExitProcess, 0
main ENDP
.code
Endless PROC
call Endless
ret ; never re... |
windows/core/ntgdi/halftone/ht/i386/htstub.asm | npocmaka/Windows-Server-2003 | 17 | 9283 | <filename>windows/core/ntgdi/halftone/ht/i386/htstub.asm
PAGE 60, 132
TITLE Stub for halftone DLL
COMMENT `
Copyright (c) 1990-1991 Microsoft Corporation
Module Name:
htstub.asm
Abstract:
This module is provided as necessary for OS/2 as a DLL entry point
Author:
0... |
code/yellow.asm | FIX94/pkm-sound-visualizer | 2 | 98913 | <gh_stars>1-10
; Copyright (C) 2018 FIX94
;
; This software may be modified and distributed under the terms
; of the MIT license. See the LICENSE file for details.
SECTION "WRAM",ROM0[$DA7F]
;some game functions used
gameUpdateControls EQU $01B9
gamePlaySong EQU $2211
;some game variables used
gameUpdateOAMData EQU ... |
handlebars/src/main/antlr4/com/github/jknack/handlebars/internal/HbsLexer.g4 | mcdan/handlebars.java | 0 | 3080 | lexer grammar HbsLexer;
@members {
// Some default values
String start = "{{";
String end = "}}";
boolean whiteSpaceControl;
public HbsLexer(CharStream input, String start, String end) {
this(input);
this.start = start;
this.end = end;
}
private boolean isWhite(int ch) {
return ch ==... |
asmFiles/test.rtype.asm | hythzz/MIPS-Processor | 0 | 174332 | <filename>asmFiles/test.rtype.asm
#------------------------------------------------------------------
# R-type Instruction (ALU) Test Program
#------------------------------------------------------------------
org 0x0000
ori $1,$zero,0xD269
ori $2,$zero,0x37F1
ori $21,$zero,0x80
ori $22,$zero... |
Transynther/x86/_processed/AVXALIGN/_zr_un_/i7-7700_9_0x48_notsx.log_12_1968.asm | ljhsiun2/medusa | 9 | 241214 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x120ce, %rsi
lea addresses_normal_ht+0x1c9ce, %rdi
nop
add %r11, %r11
mov $58, %rcx
rep movsb
nop
nop
dec %r11
pop %rsi
pop %rdi
pop %rcx
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r14
p... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2104.asm | ljhsiun2/medusa | 9 | 247284 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x19b95, %rsi
lea addresses_normal_ht+0x12649, %rdi
nop
nop
nop
inc %r14
mov $8, %rcx
rep movsw
nop
nop
nop
nop
nop
inc %rbp
lea addresses_WT_ht+0xd8d5, %r1... |
alloy4fun_models/trashltl/models/5/BGdSxexzyD7KHzjcQ.als | Kaixi26/org.alloytools.alloy | 0 | 3325 | <reponame>Kaixi26/org.alloytools.alloy<filename>alloy4fun_models/trashltl/models/5/BGdSxexzyD7KHzjcQ.als
open main
pred idBGdSxexzyD7KHzjcQ_prop6 {
eventually (some f : File | f in Trash implies always f in Trash)
}
pred __repair { idBGdSxexzyD7KHzjcQ_prop6 }
check __repair { idBGdSxexzyD7KHzjcQ_prop6 <=> prop6o } |
src/main/java/com/metadave/kash/parser/Kash.g4 | metadave/kash | 0 | 224 | grammar Kash;
stmts: connect_stmt | create_topic | describe_topic;
connect_stmt : CONNECT hps+=hostport SEMI;
// TODO: NOT REALLY A HOSTNAME REGEX!
hostport : host=ID ':' port=INT;
create_topic : CREATE TOPIC topicname=string_value WITH keyvalues SEMI;
describe_topic : DESCRIBE TOPIC topicname=strin... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_16_1962.asm | ljhsiun2/medusa | 9 | 162831 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rax
push %rbp
push %rbx
push %rsi
lea addresses_normal_ht+0x10426, %r13
nop
xor $34710, %r11
movb $0x61, (%r13)
cmp $24506, %r14
lea addresses_A_ht+0x1487f, %rax
nop
cmp %rbx, %rbx
mov $0x6162636465666768, %rsi
mo... |
programs/oeis/006/A006519.asm | karttu/loda | 1 | 81620 | ; A006519: Highest power of 2 dividing n.
; 1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,16,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,32,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,16,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,64,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,16,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,32,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,16,1,2,1,4,1,2,1,8,1,2,1,4,1,2,1,128,1,2,1,4,1,2... |
src/apsepp-output_class-quiet-create.ads | thierr26/ada-apsepp | 0 | 8252 | -- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
function Apsepp.Output_Class.Quiet.Create return Output_Quiet;
|
projects/04/fill/Fill.asm | feliposz/nand2tetris | 0 | 167816 | <reponame>feliposz/nand2tetris
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME>, MIT Press.
// File name: projects/04/Fill.asm
// Runs an infinite loop that listens to the keyboard input.
// When a key is pressed (any key), the program blackens the screen,
//... |
programs/oeis/080/A080424.asm | jmorken/loda | 1 | 92037 | ; A080424: a(n) = 3*a(n-1) + 18*a(n-2), a(0)=0, a(1)=1.
; 0,1,3,27,135,891,5103,31347,185895,1121931,6711903,40330467,241805655,1451365371,8706597903,52244370387,313451873415,1880754287211,11284396583103,67706766919107,406239439253175,2437440122303451
add $0,1
mov $4,2
lpb $0
sub $0,1
mov $3,$1
mov $1,$2
mul $... |
src/code-injection/main.asm | lewismoten/6502-program-1 | 1 | 11709 | ; Start at address 0x0F00
; Create a jump instruction at 0x0401 to jump to the start of our project
; Jump to 0x0401
; Repeatedly
; Everything else is no-operation instructions
; 64kb file
; Set default value to no-operation instruction
FILLVALUE $EA
; start assembling at address 0
ORG $0000
; Fill no-op instructio... |
opal/mca/pmix/pmix2x/pmix/src/atomics/asm/base/IA32.asm | karasevb/ompi | 0 | 105109 | START_FILE
TEXT
START_FUNC(pmix_atomic_mb)
pushl %ebp
movl %esp, %ebp
leave
ret
END_FUNC(pmix_atomic_mb)
START_FUNC(pmix_atomic_rmb)
pushl %ebp
movl %esp, %ebp
leave
ret
END_FUNC(pmix_atomic_rmb)
START_FUNC(pmix_atomic_wmb)
pushl %ebp
movl %esp, %ebp
leave
ret
END_FUNC(pmix_atomic_wmb)
START_FUNC(pm... |
model/alloy/traces.als | diorga/harpy | 4 | 962 | <reponame>diorga/harpy<gh_stars>1-10
module traces
open exec_F
open axioms
// Allowed under TSO,
// Disallowed under SC
pred store_buffering[X:Exec_F] {
consistent[none->none, X]
some disj E3,E2,E1,E0 : E {
X.CpuFence = none
X.CpuRead = E3+E1
X.CpuWrite = E2+E0
X.EV_C = E3+E2+E1+E0
X.fr = (E3... |
libsrc/_DEVELOPMENT/stdio/z80/__stdio_lock_file_list.asm | jpoikela/z88dk | 640 | 87379 | <filename>libsrc/_DEVELOPMENT/stdio/z80/__stdio_lock_file_list.asm
SECTION code_clib
SECTION code_stdio
PUBLIC __stdio_lock_file_list
EXTERN __stdio_file_list_lock
EXTERN asm_mtx_lock
__stdio_lock_file_list:
; acquire stdio lock on FILE lists
;
; enter : none
;
; exit : lock acquired
;
; uses... |
data/pokemon/dex_entries/bellrun.asm | AtmaBuster/pokeplat-gen2 | 6 | 18263 | <filename>data/pokemon/dex_entries/bellrun.asm
db "LOUDCAT@" ; species name
db "Each clan has its"
next "own distinctive"
next "pitch to their"
page "bell chime. They"
next "communicate using"
next "chime sequences.@"
|
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca_notsx.log_696_1852.asm | ljhsiun2/medusa | 9 | 83710 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xda68, %rcx
nop
nop
nop
xor $16685, %rbx
mov (%rcx), %dx
nop
nop
sub $21443, %r15
lea addresses_A_ht+0x3a18, %rsi
lea addresses_D_ht+0x1ca18, %rdi
nop
nop
nop
nop
add $28565, %... |
a06.asm | Sahilsinggh/MP_SEM4 | 1 | 97021 | %macro print 2
mov rax,01;
mov rdi,01;
mov rsi,%1;
mov rdx,%2;
syscall;
%endmacro
%macro read 2
mov rax,00;
mov rdi,00;
mov rsi,%1;
mov rdx,%2;
syscall;
%endmacro
section .data
dash: db "-------------------------------------------",10;
lenDash: equ $-dash;
rmMsg: db "Processor is in Real Mode!";
lenRmM... |
private/ntos/dll/i386/ldrthunk.asm | King0987654/windows2000 | 11 | 13866 | title "LdrInitializeThunk"
;++
;
; Copyright (c) 1989 Microsoft Corporation
;
; Module Name:
;
; ldrthunk.s
;
; Abstract:
;
; This module implements the thunk for the LdrpInitialize APC routine.
;
; Author:
;
; <NAME> (stevewo) 27-Apr-1990
;
; Environment:
;
; Any mode... |
libsrc/_DEVELOPMENT/font/font_4x8/_font_4x8_64_omni1.asm | jpoikela/z88dk | 640 | 2798 | <filename>libsrc/_DEVELOPMENT/font/font_4x8/_font_4x8_64_omni1.asm
;
; Font extracted from 64-4.tap
;
; Tap file downloaded from: http://mdfs.net/Software/Spectrum/Coding/Printout/
SECTION rodata_font
SECTION rodata_font_4x8
PUBLIC _font_4x8_64_omni1
PUBLIC _font_4x8_64_omni1_end
_font_4x8_64_omni1:
BINARY "fo... |
programs/oeis/084/A084569.asm | jmorken/loda | 1 | 101063 | <filename>programs/oeis/084/A084569.asm
; A084569: Partial sums of A084570.
; 1,3,9,21,44,82,142,230,355,525,751,1043,1414,1876,2444,3132,3957,4935,6085,7425,8976,10758,12794,15106,17719,20657,23947,27615,31690,36200,41176,46648,52649,59211,66369,74157,82612,91770,101670,112350,123851
mov $15,$0
mov $17,$0
add $17,1
l... |
test2.asm | DarkShadow44/win16 | 0 | 25304 | extern WinMainCRTStartup_ : near
public wstart_
.code
wstart_:
call WinMainCRTStartup_
; exit
mov ah, 04ch
int 021h
int 021h
end wstart_
|
oeis/014/A014140.asm | neoneye/loda-programs | 11 | 179996 | ; A014140: Apply partial sum operator twice to Catalan numbers.
; 1,3,7,16,39,104,301,927,2983,9901,33615,116115,406627,1440039,5147891,18550588,67310955,245716112,901759969,3325067016,12312494483,45766188970,170702447097,638698318874,2396598337975,9016444758528,34003644251233,128524394659942,486793096819011,1847304015... |
source/tasking/machine-apple-darwin/s-intnum.adb | ytomino/drake | 33 | 8926 | <gh_stars>10-100
package body System.Interrupt_Numbers is
function Is_Reserved (Interrupt : C.signed_int) return Boolean is
begin
return Interrupt not in First_Interrupt_Id .. Last_Interrupt_Id
or else Interrupt = C.signal.SIGKILL
or else Interrupt = C.signal.SIGSTOP;
end Is_Reserved;
... |
z3.adb | Componolit/AZ3 | 5 | 13542 | <reponame>Componolit/AZ3
with Interfaces.C.Extensions;
with Ada.Strings.Hash;
with z3_optimization_h;
with System;
package body Z3
is
use Interfaces.C.Strings;
procedure Set_Param_Value (ID : String; Value : String)
is
C_ID : chars_ptr := New_String (ID);
C_Value : chars_ptr := New_String (Val... |
source/declarations/adam-declaration.ads | charlie5/aIDE | 3 | 12151 | <filename>source/declarations/adam-declaration.ads<gh_stars>1-10
with
AdaM.Entity,
Ada.Containers.Vectors,
Ada.Streams;
package AdaM.Declaration
is
type Item is new Entity.item with private;
-- View
--
type View is access all Item'Class;
procedure View_write (Stream : not null acces... |
evernote/FindNotes.applescript | kinshuk4/evernote-automation | 4 | 3887 | -- https://github.com/bkfarnsworth/side_projects/tree/master/AppleScripts
var Evernote = Application('Evernote');
var list = Evernote.findNotes('AUTOMATE EVERNOTE');
list.forEach(function(item){
var title = item.title();
console.log(title);
})
Evernote.activate(); |
oeis/158/A158770.asm | neoneye/loda-programs | 11 | 21287 | <reponame>neoneye/loda-programs
; A158770: a(n) = 1521*n^2 - 39.
; 1482,6045,13650,24297,37986,54717,74490,97305,123162,152061,184002,218985,257010,298077,342186,389337,439530,492765,549042,608361,670722,736125,804570,876057,950586,1028157,1108770,1192425,1279122,1368861,1461642,1557465,1656330,1758237,1863186,1971177,... |
Mid-Term/Solution/N5/5.asm | TasneemMahmud1731893642/CSE331 | 0 | 9439 | <filename>Mid-Term/Solution/N5/5.asm
; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt
org 100h
A DB 1,2,3,4,5,6,7,8,9,10
B DB 10 DUP(0)
MOV AH,4CH
INT 21H
CODE ENDS
END START
ret
|
Cubical/Categories/Constructions/Elements.agda | Edlyr/cubical | 0 | 6574 | <reponame>Edlyr/cubical<filename>Cubical/Categories/Constructions/Elements.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
-- The Category of Elements
open import Cubical.Categories.Category
module Cubical.Categories.Constructions.Elements {ℓ ℓ'} {C : Precategory ℓ ℓ'} where
open import Cubical.Categories.I... |
Transynther/x86/_processed/P/_zr_/i7-8650U_0xd2_notsx.log_2457_1577.asm | ljhsiun2/medusa | 9 | 15007 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x34ca, %rsi
nop
nop
dec %r8
mov (%rsi), %r11
nop
nop
nop
nop
nop
add $18560, %rcx
lea addresses_normal_ht+0x99da, %rsi
lea addresses_WC_ht+0x1b702, %rdi
nop
nop
nop
nop
nop
sub $4572, %r10
mov $3... |
formalization/Context.agda | ivoysey/Obsidian | 79 | 1655 | -- Adapted from Wadler: https://plfa.github.io/Lambda/
module Context (A : Set) where
open import Prelude
open import Data.Nat
open import Relation.Binary.PropositionalEquality using (_≡_; _≢_; refl; sym)
open import Data.Maybe
open import Data.Product using (_×_; proj₁; proj₂; ∃-syntax) renaming (_,_ to... |
programs/oeis/047/A047383.asm | neoneye/loda | 22 | 104701 | <reponame>neoneye/loda
; A047383: Numbers that are congruent to {1, 5} mod 7.
; 1,5,8,12,15,19,22,26,29,33,36,40,43,47,50,54,57,61,64,68,71,75,78,82,85,89,92,96,99,103,106,110,113,117,120,124,127,131,134,138,141,145,148,152,155,159,162,166,169,173,176,180,183,187,190,194,197,201,204,208,211,215,218,222,225,229,232,236,... |
exercise_6/unlink_exit_polymorphic.asm | vikrant-navalgund/SLAE32 | 3 | 101149 | <filename>exercise_6/unlink_exit_polymorphic.asm<gh_stars>1-10
BITS 32
section .text
global _start
_start:
xor ecx, ecx
imul ecx
push 0xe4c9cb
push 0xc9f9ce8f
push 0xf1c4cb87
mov ebx, esp
mov cl, 0xb
_flip:
add al, 0x2
xor byte [esp], 10101010b
add [esp], al
inc esp
loop _f... |
test/Fail/Issue1944-checkParams2.agda | pthariensflame/agda | 3 | 9355 | <filename>test/Fail/Issue1944-checkParams2.agda
-- Andreas, AIM XXIII, 2016-04-26 flight EDI-GOT home
-- {-# OPTIONS -v impossible:10 #-}
-- Parameter arguments of overloaded projection applications
-- should not be skipped!
record R A : Set where
field f : A
open R
record S A : Set where
field f : A
open S
mo... |
src/assets/game_assets-misc_objects.ads | thomas070605/shoot-n-loot | 0 | 718 | <reponame>thomas070605/shoot-n-loot
with GESTE;
with GESTE.Grid;
pragma Style_Checks (Off);
package Game_Assets.Misc_Objects is
-- Misc_Objects
Width : constant := 20;
Height : constant := 16;
Tile_Width : constant := 8;
Tile_Height : constant := 8;
-- Tile Layer 1
package Tile_Laye... |
test/asset/agda-stdlib-1.0/Data/Rational/Properties.agda | omega12345/agda-mode | 0 | 16476 | <reponame>omega12345/agda-mode
------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties of Rational numbers
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Rational.Properties where
o... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_2_1504.asm | ljhsiun2/medusa | 9 | 81611 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r13
push %r15
push %r9
push %rbx
push %rdi
// Store
lea addresses_WC+0x13acc, %r12
nop
nop
nop
sub %rbx, %rbx
movw $0x5152, (%r12)
nop
nop
nop
and %rdi, %rdi
// Store
lea addresses_WC+0x... |
dcf/src/dcf-unzip-streams.ads | onox/dcf-ada | 5 | 23492 | -- SPDX-License-Identifier: MIT
--
-- Copyright (c) 1999 - 2018 <NAME>
-- SWITZERLAND
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limita... |
programs/oeis/250/A250879.asm | neoneye/loda | 22 | 869 | ; A250879: Number of (2+1) X (n+1) 0..3 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing x(i,j)+x(i-1,j) in the j direction.
; 440,1456,3442,6728,11644,18520,27686,39472,54208,72224,93850,119416,149252,183688,223054,267680,317896,374032,436418,505384,581260,664376,755062,853648,960464,1075... |
test/asset/agda-stdlib-1.0/Algebra/Properties/Lattice.agda | omega12345/agda-mode | 0 | 6333 | <reponame>omega12345/agda-mode
------------------------------------------------------------------------
-- The Agda standard library
--
-- Some derivable properties
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Algebra
module Algebra.Propertie... |
src/gdb/gdb-7.11/gdb/testsuite/gdb.ada/rdv_wait/foo.adb | aps337/unum-sdk | 31 | 26317 | -- Copyright 2012-2016 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 version 3 of the License, or
-- (at your option) any later version.
--
-- ... |
test/Succeed/Issue2579.agda | shlevy/agda | 1,989 | 12701 | -- Andreas, 2017-05-13, issue reported by nad
module Issue2579 where
open import Common.Bool
open import Issue2579.Import
import Issue2579.Instance Bool true as I
-- without the "as I" the instance is not in scope
-- (and you get a parse error)
theWrapped : {{w : Wrap Bool}} → Bool
theWrapped {{w}} = Wrap.wrapped w... |
scripts/track/convert.scpt | katsuma/itunes-client | 12 | 1710 | on run argv
tell application "iTunes"
set persistent_id to (item 1 of argv) as string
set specified_track to (some track whose persistent ID is persistent_id)
set loc to (get location of specified_track)
set converted_tracks to (convert specified_track)
set converted_track to item 1 of converted_... |
oeis/145/A145557.asm | neoneye/loda-programs | 11 | 174002 | <gh_stars>10-100
; A145557: Numerators of partial sums of a certain alternating series of inverse central binomial coefficients.
; Submitted by <NAME>
; 1,5,13,361,31,1193,31021,34467,5273479,1821745,220211,230450795,2880634987,1502939987,5896829249,12430516053889,1381168450513,3271188435379,2299645470079393,4599290940... |
programs/oeis/077/A077043.asm | neoneye/loda | 22 | 5574 | ; A077043: "Three-quarter squares": a(n) = n^2 - A002620(n).
; 0,1,3,7,12,19,27,37,48,61,75,91,108,127,147,169,192,217,243,271,300,331,363,397,432,469,507,547,588,631,675,721,768,817,867,919,972,1027,1083,1141,1200,1261,1323,1387,1452,1519,1587,1657,1728,1801,1875,1951,2028,2107,2187,2269,2352,2437,2523,2611,2700,2791,... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstbufferlist_h.ads | persan/A-gst | 1 | 3458 | <reponame>persan/A-gst<filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstbufferlist_h.ads
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h;
with glib;
with glib.Values;
with System;
w... |
oeis/290/A290974.asm | neoneye/loda-programs | 11 | 15945 | <reponame>neoneye/loda-programs
; A290974: Alternating sum of row 2n of A022166.
; Submitted by <NAME>
; 1,-1,7,-217,27559,-14082649,28827182503,-236123451882073,7737057147819885991,-1014103817421900276726361,531681448124675830384033629607,-1115016280616112042365706510363949657,93534333766902817913732621927846006403577... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/in_out_parameter4.adb | best08618/asylo | 7 | 22502 | <reponame>best08618/asylo
-- { dg-do run }
-- { dg-options "-gnat12 -gnatVa" }
procedure In_Out_Parameter4 is
type Enum is (E_Undetermined, E_Down, E_Up);
subtype Status_T is Enum range E_Down .. E_Up;
function Recurse (Val : in out Integer) return Status_T is
Result : Status_T;
procedure Dummy ... |
archive/agda-2/Oscar/Data/Proposextensequality.agda | m0davis/oscar | 0 | 7726 |
module Oscar.Data.Proposextensequality where
open import Oscar.Data.Proposequality using (_≡_)
open import Oscar.Level
infix 4 _≡̇_
_≡̇_ : ∀ {a} {A : Set a} {b} {B : A → Set b} → ((x : A) → B x) → ((x : A) → B x) → Set (a ⊔ b)
f ≡̇ g = ∀ x → f x ≡ g x
|
programs/oeis/158/A158383.asm | neoneye/loda | 22 | 167737 | <reponame>neoneye/loda
; A158383: 625n + 1.
; 626,1251,1876,2501,3126,3751,4376,5001,5626,6251,6876,7501,8126,8751,9376,10001,10626,11251,11876,12501,13126,13751,14376,15001,15626,16251,16876,17501,18126,18751,19376,20001,20626,21251,21876,22501,23126,23751,24376,25001,25626,26251,26876,27501,28126,28751,29376,30001,30... |
programs/oeis/194/A194512.asm | karttu/loda | 0 | 167953 | ; A194512: First coordinate of (2,7)-Lagrange pair for n.
; 4,1,5,2,-1,3,0,4,1,5,2,6,3,0,4,1,5,2,6,3,7,4,1,5,2,6,3,7,4,8,5,2,6,3,7,4,8,5,9,6,3,7,4,8,5,9,6,10,7,4,8,5,9,6,10,7,11,8,5,9,6,10,7,11,8,12,9,6,10,7,11,8,12,9,13,10,7,11,8,12,9,13,10,14,11,8,12,9,13,10,14,11
sub $1,$0
mul $0,5
add $0,12
sub $1,1
lpb $0,1
sub... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34004a.ada | best08618/asylo | 7 | 17582 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34004a.ada
-- C34004A.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
-- unlimi... |
source/oasis/program-elements-generic_package_renaming_declarations.ads | optikos/oasis | 0 | 22417 | <reponame>optikos/oasis
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Declarations;
with Program.Lexical_Elements;
with Program.Elements.Defining_Names;
with Program.Elements.... |
src/Basics.agda | jstolarek/dep-typed-wbl-heaps | 1 | 14422 | ----------------------------------------------------------------------
-- Copyright: 2013, <NAME>, Lodz University of Technology --
-- --
-- License: See LICENSE file in root of the repo --
-- Repo address: https://github.com/jstola... |
src/interface/yaml-presenter.ads | robdaemon/AdaYaml | 32 | 17796 | <filename>src/interface/yaml-presenter.ads
-- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with Ada.Finalization;
with Yaml.Destination;
with Yaml.Stream_Concept;
with Yaml.Stacks;
package Yaml.Presenter is
type Instance is tagged limited private;
... |
src/commands/DoPrintBin.asm | jhm-ciberman/calculator-asm | 2 | 168466 | <reponame>jhm-ciberman/calculator-asm
proc DoPrintBin
fastcall ArrayListSize, [_lg_stack]
cmp eax, 0
je .empty_stack
fastcall ArrayListPop, [_lg_stack]
fastcall PrintBinary, rax
fastcall ConsolePrintChar, 98 ; 'b' character
fastcall ConsolePrintChar, 32 ; space character
ret
... |
Quiz/Quiz 1/Q1-1812981642/QUIZ1_1812918642.asm | MohammadSakiL/CSE331L-Section-1-Fall20-NSU | 0 | 170888 |
; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt
org 100h
; AL 27H and AL 35H
MOV AL,27H
MOV BL,35H
ADD AL,BL
DAA
ret
|
Cubical/Homotopy/Group/Pi4S3/S3PushoutIso.agda | FernandoLarrain/cubical | 1 | 4975 | <filename>Cubical/Homotopy/Group/Pi4S3/S3PushoutIso.agda
{-# OPTIONS --safe #-}
{-
This file has been split in two due to slow type checking
combined with insufficient reductions when the
experimental-lossy-unification flag is included.
Part 2: Cubical.Homotopy.Group.Pi4S3.S3PushoutIso2
The goal of these two files is ... |
programs/oeis/002/A002299.asm | neoneye/loda | 22 | 15155 | ; A002299: Binomial coefficients C(2*n+5,5).
; 1,21,126,462,1287,3003,6188,11628,20349,33649,53130,80730,118755,169911,237336,324632,435897,575757,749398,962598,1221759,1533939,1906884,2349060,2869685,3478761,4187106,5006386,5949147,7028847,8259888,9657648,11238513,13019909,15020334,17259390,19757815,22537515,25621596,... |
runtime/ravenscar-sfp-stm32f427/gnarl-common/s-taspri.ads | TUM-EI-RCS/StratoX | 12 | 25355 | <filename>runtime/ravenscar-sfp-stm32f427/gnarl-common/s-taspri.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
data/maps/headers/RocketHideoutElevator.asm | opiter09/ASM-Machina | 1 | 81452 |
map_header RocketHideoutElevator, ROCKET_HIDEOUT_ELEVATOR, LOBBY, 0
end_map_header
|
programs/oeis/021/A021788.asm | neoneye/loda | 22 | 171419 | <gh_stars>10-100
; A021788: Decimal expansion of 1/784.
; 0,0,1,2,7,5,5,1,0,2,0,4,0,8,1,6,3,2,6,5,3,0,6,1,2,2,4,4,8,9,7,9,5,9,1,8,3,6,7,3,4,6,9,3,8,7,7,5,5,1,0,2,0,4,0,8,1,6,3,2,6,5,3,0,6,1,2,2,4,4,8,9,7,9,5,9,1,8,3,6,7,3,4,6,9,3,8,7,7,5,5,1,0,2,0,4,0,8,1
add $0,1
mov $1,10
pow $1,$0
mul $1,3
div $1,2352
mod $1,10
mov... |
Lvl/Functions.agda | Lolirofle/stuff-in-agda | 6 | 13689 | <filename>Lvl/Functions.agda
module Lvl.Functions where
open import Lvl
open import Numeral.Natural
add : ℕ → Lvl.Level → Lvl.Level
add ℕ.𝟎 ℓ = ℓ
add (ℕ.𝐒 n) ℓ = Lvl.𝐒(add n ℓ)
|
ada/original_2008/ada-gui/agar-gui-widget-slider.adb | auzkok/libagar | 286 | 20725 | package body agar.gui.widget.slider is
use type c.int;
package cbinds is
procedure set_int_increment
(slider : slider_access_t;
increment : c.int);
pragma import (c, set_int_increment, "AG_SliderSetIntIncrement");
procedure set_real_increment
(slider : slider_access_t;
incre... |
Optics/All.agda | cwjnkins/bft-consensus-agda | 4 | 7517 | <reponame>cwjnkins/bft-consensus-agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020 Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
module Optics.All where
open import Opt... |
emt3.asm | smirzaei/systems-programming-class | 0 | 82230 | <reponame>smirzaei/systems-programming-class
STK SEGMENT
DW 64 DUP(?)
STK ENDS
DTS SEGMENT
msg db ' : ','$'
CDS SEGMENT
ASSUME CS:CDS,SS:STK,DS:DTS
MAIN PROC FAR
MOV AX,SEG DTS
MOV DS,AX
MOV di,offset saat
MOV ah,2ch
INT 21h
... |
asgn2/prob2.asm | debargham14/Microprocessors-8085- | 0 | 162063 | <gh_stars>0
LXI H,2050
MOV B,M
LXI H,2051
MOV D,M
MVI A,00
MVI C,00
LOOP: ADD D
JNC SKIP
INR C
SKIP: INX H
DCR B
JNZ LOOP
STA 2052
XRA A
MOV A,C
STA 2053
HLT
|
Public/Src/Tools/Execution.Analyzer/Analyzers.Core/XlgDebugger/JPath/JPath.g4 | miniksa/BuildXL | 448 | 4042 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// To generate lexer/parser/... run:
//
// java -cp $CLASSPATH:antlr-4.7.2-complete.jar -Xmx500M \
// org.antlr.v4.Tool \
// -listener -visitor -Dlanguage=C... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.