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 |
|---|---|---|---|---|
system-rpc.ads | mgrojo/adalib | 15 | 9844 | <reponame>mgrojo/adalib
-- Standard Ada library specification
-- Copyright (c) 2003-2018 <NAME> <<EMAIL>>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics... |
ada/examples/pre-post-conditions/show_type_invariant.ads | carter-e-veldhuizen/RACK | 4 | 9817 | procedure Show_Type_Invariant;
-- package Prout is
-- procedure Yolo (A : int; B : int);
-- end Prout;
|
oeis/061/A061778.asm | neoneye/loda-programs | 11 | 179546 | <reponame>neoneye/loda-programs
; A061778: a(n) = Product_{j=0..floor(n/2)} C(n,j).
; Submitted by <NAME>
; 1,2,3,24,50,1800,5145,878080,3429216,2857680000,15219319500,63117561830400,457937132487120,9577928124440387712,94609025993497640625,10077943267571584204800000,135476575389769051389952000,7405488689319180456657683... |
audio/sfx/battle_2c.asm | AmateurPanda92/pokemon-rby-dx | 9 | 162021 | <gh_stars>1-10
SFX_Battle_2C_Ch4:
dutycycle 57
squarenote 15, 15, 4, 1280
squarenote 15, 12, 4, 1024
squarenote 15, 14, 2, 1472
loopchannel 3, SFX_Battle_2C_Ch4
endchannel
SFX_Battle_2C_Ch5:
dutycycle 141
squarenote 7, 14, 4, 1072
squarenote 15, 11, 4, 816
squarenote 15, 10, 2, 1080
loopchannel 4, SFX_Batt... |
text/maps/silph_co_11f.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 17475 | _SilphCoPresidentText::
text "PRESIDENT: Thank"
line "you for saving"
cont "SILPH!"
para "I will never"
line "forget you saved"
cont "us in our moment"
cont "of peril!"
para "I have to thank"
line "you in some way!"
para "Because I am rich,"
line "I can give you"
cont "anything!"
para "Here, maybe this... |
src/UnSizedIO/Object.agda | agda/ooAgda | 23 | 16513 | module UnSizedIO.Object where
open import Data.Product
record Interface : Set₁ where
field
Method : Set
Result : (m : Method) → Set
open Interface public
-- A simple object just returns for a method the response
-- and the object itself
record Object (i : Interface) : Set where
coinductive
field
... |
oeis/268/A268218.asm | neoneye/loda-programs | 11 | 177455 | ; A268218: a(n) = (n!/3!)*Sum(1/k!,k=1..n-3).
; Submitted by <NAME>
; 0,0,0,0,4,30,200,1435,11536,103908,1039200,11431365,137176600,1783296086,24966145568,374492183975,5991874944160,101861874051400,1833513732926016,34836760925595273,696735218511906600,14631439588750039930,321891670952500880000,7403508431907520241771
m... |
libsrc/video/hd44780/lcd_write_control.asm | ahjelm/z88dk | 640 | 94637 | <reponame>ahjelm/z88dk
SECTION code_driver
PUBLIC lcd_write_control
PUBLIC _lcd_write_control
PUBLIC asm_lcd_write_control
EXTERN lcd_delay_short
EXTERN LCD_CONTROL_PORT
; void lcd_write_control(byte a)
lcd_write_control:
_lcd_write_control:
pop bc
pop hl
push hl
push bc
ld a,l
asm_lcd_write_control:
out (LCD... |
lib/Explore/Experimental/DataBitsCount.agda | crypto-agda/explore | 2 | 11406 | {-# OPTIONS --without-K #-}
module Data.Bits.Count where
open import Type hiding (★)
open import Data.Two hiding (_==_)
open import Data.Bits
open import Data.Bits.OperationSyntax
import Data.Bits.Search as Search
open Search.SimpleSearch
open import Data.Bits.Sum
open import Data.Bool.Properties using (not-involut... |
libsrc/stdio_new/fd/readbyte.asm | andydansby/z88dk-mk2 | 1 | 25467 | ; int __FASTCALL__ readbyte(int fd)
; 06.2008 aralbrec
XLIB readbyte
LIB stdio_error_eacces_mc, stdio_error_ebadf_mc, stdio_error_mc
LIB l_jpix, stdio_fdcommon1
INCLUDE "../stdio.def"
.readbyte
call stdio_fdcommon1 ; ix = fdstruct *
jp c, stdio_error_ebadf_mc ; problem with fd
bit 2,(ix+3) ... |
Wizardry/ExternalHacks/TradeFix/inventory_full.asm | sme23/OneHourBlitz | 1 | 89224 | @send to storage:
@break at 4f3d2, jump to end push and pop
@then jump to 4f286 right after popping, nothing happens
.thumb
.org 0 @paste to e1964-9b8 and put hook at 1e19e (c3f0e1fb)
@item data in r0
push {lr}
@check uses
mov r1, #0x80
lsl r1, #8 @0x8000, aka top bit set
cmp r0,r1
bge Skip
@original routine
ldr... |
oeis/248/A248619.asm | neoneye/loda-programs | 11 | 21342 | <filename>oeis/248/A248619.asm
; A248619: a(n) = (n*(n+1))^4.
; 0,16,1296,20736,160000,810000,3111696,9834496,26873856,65610000,146410000,303595776,592240896,1097199376,1944810000,3317760000,5473632256,8767700496,13680577296,20851360000,31116960000,45558341136,65554433296,92844527616,129600000000,178506250000,242855782... |
assembler/test.asm | tadaren/CPU_RV32I | 0 | 174725 | LW r0 0 r1
LW r0 4 r2
IMM r3 -12
ADDI r1 -4 r4
SLTI r1 -1 r6
SLTI r1 15 r5
SLTIU r1 5 r7
SLTIU r1 -1 r8
XORI r1 12 r9
ORI r1 12 r10
ANDI r1 12 r11
SLLI r1 10 r12
SRLI r3 4 r13
SRAI r3 4 r14
ADD r1 r2 r15
SUB r2 r1 r16
SLL r1 r2 r17
SLT r2 r3 r18
SLT r3 r... |
src/main/Kotlin.g4 | BrunoFelipe17/KotlinAntlrProject | 2 | 2229 | grammar Kotlin ;
program
: func_main EOF
;
func_main
: func 'main' OPEN_P CLOSE_P OPEN_B block CLOSE_B
;
block
: statement+
;
statement
: assignment_statement
| print_statement
| if_statement
| while_statement
| repeat_statement
;
// -------------------------------... |
source/ada/incr-ada_lexers.adb | reznikmm/increment | 5 | 14181 | -- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Containers.Hashed_Maps;
with League.Strings.Hash;
package body Incr.Ada_Lexers is
package body Tables is separate;
package Maps i... |
programs/oeis/033/A033436.asm | karttu/loda | 1 | 14761 | ; A033436: a(n) = ceiling( (3*n^2 - 4)/8 ).
; 0,0,1,3,6,9,13,18,24,30,37,45,54,63,73,84,96,108,121,135,150,165,181,198,216,234,253,273,294,315,337,360,384,408,433,459,486,513,541,570,600,630,661,693,726,759,793,828,864,900,937,975,1014,1053,1093,1134,1176,1218,1261,1305,1350,1395,1441,1488,1536,1584,1633,1683,1734,1785... |
alloy4fun_models/trashltl/models/19/Rs57kKMuvMCuZfWMA.als | Kaixi26/org.alloytools.alloy | 0 | 363 | <gh_stars>0
open main
pred idRs57kKMuvMCuZfWMA_prop20 {
always (all f:Trash | f not in Protected triggered f in Trash)
}
pred __repair { idRs57kKMuvMCuZfWMA_prop20 }
check __repair { idRs57kKMuvMCuZfWMA_prop20 <=> prop20o } |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca_notsx.log_34_1294.asm | ljhsiun2/medusa | 9 | 95755 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1207b, %rbp
sub %r14, %r14
movups (%rbp), %xmm4
vpextrq $0, %xmm4, %r15
nop
nop
nop
nop
add %r15, %r15
lea addresses_UC_ht+0xd11b, %rax
nop
nop
nop
cmp $43056, %rbx... |
alloy4fun_models/trashltl/models/9/5KKiZEDnapmuRraEP.als | Kaixi26/org.alloytools.alloy | 0 | 4997 | open main
pred id5KKiZEDnapmuRraEP_prop10 {
all p: Protected | p' in Protected
}
pred __repair { id5KKiZEDnapmuRraEP_prop10 }
check __repair { id5KKiZEDnapmuRraEP_prop10 <=> prop10o } |
oeis/004/A004686.asm | neoneye/loda-programs | 11 | 18696 | <reponame>neoneye/loda-programs<filename>oeis/004/A004686.asm<gh_stars>10-100
; A004686: Fibonacci numbers written in base 3.
; 0,1,1,2,10,12,22,111,210,1021,2001,10022,12100,22122,111222,211121,1100120,2012011,10112201,12201212,100021120,120000102,220021222,1110022101,2100121100,10210220201,20011112001,100222102202,12... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_13461_1210.asm | ljhsiun2/medusa | 9 | 167150 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x19282, %rsi
lea addresses_D_ht+0x1cab, %rdi
nop
nop
nop
and %r14, %r14
mov $51, %rcx
rep movsq
nop
nop
nop
nop
nop
xor %rbx, %rbx
lea addresses_A_ht+0xba, %r14
nop
xor $1... |
archive/agda-2/Oscar/Relation.agda | m0davis/oscar | 0 | 15944 | <gh_stars>0
module Oscar.Relation where
open import Oscar.Level
_⟨_⟩→_ : ∀ {a} {A : Set a} {b} → A → (A → Set b) → A → Set b
m ⟨ B ⟩→ n = B m → B n
Transitive : ∀ {a} {A : Set a} {b} (B : A → A → Set b) → Set (a ⊔ b)
Transitive B = ∀ {y z} → B y z → ∀ {x} → B x y → B x z
module _ {𝔬} {⋆ : Set 𝔬} {𝔪} {_↦_ : ⋆ → ... |
programs/oeis/343/A343720.asm | neoneye/loda | 22 | 91028 | <filename>programs/oeis/343/A343720.asm
; A343720: Triangle read by rows: T(n,k) = k^2 mod n for k = 0..n-1, n >= 1.
; 0,0,1,0,1,1,0,1,0,1,0,1,4,4,1,0,1,4,3,4,1,0,1,4,2,2,4,1,0,1,4,1,0,1,4,1,0,1,4,0,7,7,0,4,1,0,1,4,9,6,5,6,9,4,1,0,1,4,9,5,3,3,5,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,3,12,10,10,12,3,9,4,1
lpb $0
mov $... |
Win32/Win32.Leviathan/Win32.Leviathan.asm | fengjixuchui/Family | 3 | 240586 | <reponame>fengjixuchui/Family
;======================================
;| Win32.Leviathan (c) 1999 by Benny |
;======================================
;
;
;
;Author's description
;=====================
;
;I'm very proud to introduce my third Win32 virus. This honey is the FIRST MULTITHREADED
;semi-polymorphic antidebugg... |
assembler/test/divider.asm | dbajgoric/ARSC | 3 | 18001 | LDA DIVIDEND
STA A
BIP NEXT
BRU OUT
NEXT:
LDA DIVISOR
STA B
BIP INIT
BRU OUT
INIT:
LDA ZERO
STA QUOTIENT
LDA B
TCA
STA B
LOOP:
LDA B
ADD A
STA A
BIN FINISH
BIP OTHER
LDA QUOTIENT
ADD ONE
BRU OUT1
FINISH:
ADD DIVISOR
STA REMAINDER
BRU OUT1
OTHER:
LDA QUOTIENT
ADD ONE
STA QUOTIENT
BRU LOOP
OUT:
LDA ZERO
OUT1:
HLT
A BSS 1... |
fieldmask-core/src/main/antlr/FieldsGrammar.g4 | stevejuma/fieldmask | 0 | 5533 | grammar FieldsGrammar;
// Parses grammar such as person/name(age)
options {
language = Java;
}
mainQ
: sep? RSTART? clauseGroup EOF
;
clause
: variableDeclarator
| expr (COMMA clause)*
;
clauseGroup
: sep? clause sep? (COMMA sep? clause)*
;
alias
: variableTerm sep? COLON sep?
;
... |
Bin/darwin/openprefs.scpt | Blackfiction/slimserver | 647 | 2097 | <filename>Bin/darwin/openprefs.scpt<gh_stars>100-1000
if application "System Preferences" is not running then
tell application "System Preferences"
set current pane to pane id "com.slimdevices.slim"
activate
end tell
end if
|
oeis/130/A130137.asm | neoneye/loda-programs | 11 | 95505 | ; A130137: Number of Fibonacci binary words of length n having no 0110 subword. A Fibonacci binary word is a binary word having no 00 subword.
; Submitted by <NAME>
; 1,2,3,5,7,11,16,25,37,57,85,130,195,297,447,679,1024,1553,2345,3553,5369,8130,12291,18605,28135,42579,64400,97449,147405,223033,337389,510466,772227,1168... |
vpx_dsp/arm/vpx_convolve_copy_neon_asm.asm | golden1232004/libvpx | 582 | 85524 | <gh_stars>100-1000
;
; Copyright (c) 2013 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All... |
libtool/src/gmp-6.1.2/mpn/powerpc32/sec_tabselect.asm | kroggen/aergo | 1,602 | 104808 | <filename>libtool/src/gmp-6.1.2/mpn/powerpc32/sec_tabselect.asm<gh_stars>1000+
dnl PowerPC-32 mpn_sec_tabselect.
dnl Contributed to the GNU project by <NAME>.
dnl Copyright 2011-2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can ... |
Data/List/Kleene/Base.agda | oisdk/agda-kleene-lists | 0 | 7483 | {-# OPTIONS --without-K --safe #-}
------------------------------------------------------------------------
-- Lists, based on the Kleene star and plus.
--
-- These lists are exatcly equivalent to normal lists, except the "cons"
-- case is split into its own data type. This lets us write all the same
-- functions as b... |
Src/Ant8/Tests/aa8/basic/e_byte_1.asm | geoffthorpe/ant-architecture | 0 | 1995 | # $Id: e_byte_1.asm,v 1.1 2001/03/14 04:02:09 ellard Exp $
#@ tests for too few args.
_data_:
.byte
|
MasmEd/MasmEd/Debug/Misc.asm | CherryDT/FbEditMOD | 11 | 85283 | <gh_stars>10-100
GetFileIDFromProjectFileID PROTO :DWORD
AnyBreakPoints PROTO
.const
FP_EQUALTO equ 40h
ten16 dq 1.0e16
ten dq 10.0
ten_1 dt 1.0e1
dt 1.0e2
dt 1.0e3
dt 1.0e4
dt 1.0e5
dt 1.0e6
dt 1.0e7
dt 1.0e8
dt 1.0e9
dt 1.0e10
dt 1.0e11
dt 1.0e12
... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_base_gstbasesrc_h.ads | persan/A-gst | 1 | 1777 | <reponame>persan/A-gst
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstevent_h;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstelement_h;
with GStreamer.GST_L... |
test/Succeed/fol-theorems/ProofTerm2.agda | asr/apia | 10 | 993 | ------------------------------------------------------------------------------
-- Testing the erasing of proof terms
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphis... |
source/sql/mysql/matreshka-internals-sql_drivers-mysql.ads | svn2github/matreshka | 24 | 13569 | <reponame>svn2github/matreshka<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Task/Compound-data-type/Ada/compound-data-type-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 19782 | type Point is tagged record
X : Integer := 0;
Y : Integer := 0;
end record;
|
gfx/pokemon/parasect/anim.asm | Dev727/ancientplatinum | 28 | 6712 | setrepeat 2
frame 1, 08
frame 2, 10
frame 1, 08
frame 0, 10
dorepeat 1
frame 4, 20
setrepeat 3
frame 0, 04
frame 4, 04
dorepeat 8
endanim
|
examples/branch.asm | tylerweston/mips2c | 0 | 160619 | <reponame>tylerweston/mips2c
# branch count
loop2:
ori $t0, $zero, 0
ori $t1, $zero, 10
ori $t2, $zero, 1
loop1:
add $t0, $t0, $t2
bne $t0, $t1, loop1
|
source/nodes/program-nodes-formal_unconstrained_array_types.ads | reznikmm/gela | 0 | 8965 | <filename>source/nodes/program-nodes-formal_unconstrained_array_types.ads<gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Element... |
src/gen/pixtend-wiringpispi_h.ads | persan/a-piextend | 0 | 12480 | <reponame>persan/a-piextend<gh_stars>0
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package Pixtend.wiringPiSPI_h is
function wiringPiSPIGetFd (channel : int) return int -- wiringPiSPI.h:29
with Import => True,
Convention => C,
External_Name => "wiringPiSP... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1856.asm | ljhsiun2/medusa | 9 | 164605 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1856.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1744b, %rsi
lea addresses_WC_ht+0x1871b, %rdi
nop
nop
nop
and %r14, %r14
mov $33, %rcx
... |
FormalAnalyzer/models/apps/ID1BrightenMyPath+.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 958 | <filename>FormalAnalyzer/models/apps/ID1BrightenMyPath+.als<gh_stars>0
module app_ID1BrightenMyPath
open IoTBottomUp as base
open cap_motionSensor
open cap_switch
one sig app_ID1BrightenMyPath extends IoTApp {
motion1 : some cap_motionSensor,
switch1 : some cap_switch,
} {
rules = r
}
// applicati... |
oeis/322/A322327.asm | neoneye/loda-programs | 11 | 173882 | ; A322327: a(n) = A005361(n) * A034444(n) for n > 0.
; Submitted by <NAME>
; 1,2,2,4,2,4,2,6,4,4,2,8,2,4,4,8,2,8,2,8,4,4,2,12,4,4,6,8,2,8,2,10,4,4,4,16,2,4,4,12,2,8,2,8,8,4,2,16,4,8,4,8,2,12,4,12,4,4,2,16,2,4,8,12,4,8,2,8,4,8,2,24,2,4,8,8,4,8,2,16
add $0,1
mov $1,1
mov $2,2
lpb $0
mov $3,$0
lpb $3
mov $4,$0
... |
src/core/concurrent/util-concurrent-arrays.adb | RREE/ada-util | 60 | 20506 | -----------------------------------------------------------------------
-- util-concurrent-arrays -- Concurrent Arrays
-- Copyright (C) 2012, 2018 <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 L... |
Tech Rehearsals/Select cues that loop infinitely.applescript | bsmith96/Qlab-Scripts | 1 | 1668 | -- @description Select cues that loop infinitely
-- @author <NAME>
-- @link bensmithsound.uk
-- @version 1.0
-- @testedmacos 10.13.6
-- @testedqlab 4.6.9
-- @about Of the selection, leaves only cues selected which have infinite loop set to true
-- separateprocess TRUE
-- @changelog
-- v1.0 + init
tell application... |
src/lv-group.ads | Fabien-Chouteau/ada-lvlg | 3 | 3484 | <reponame>Fabien-Chouteau/ada-lvlg
with Lv.Objx;
private with System;
package Lv.Group is
type Instance is private;
function Create return Instance;
procedure Del (Group : Instance);
procedure Add_Obj (Group : Instance; Obj : Lv.Objx.Obj_T);
procedure Remove_Obj (Obj : Lv.Objx.Obj_T);
procedur... |
clock-1.0.asm | politechnik/pic-clock | 0 | 27247 | <filename>clock-1.0.asm
; Digital clock listing, 1.0 Version
; MCU Ports connecting:
; MCLR 1st pin connect with Vdd througth 1,5 kOhm resister
; PORTA,0 2nd pin hour decads common
; PORTA,1 3rd pin hour units common
; PORTA,2 4th pin minute decads common
; PORTA,3 5th pin minute units common
; PORTA,4 6th... |
src/Partiality-monad/Inductive/Strict-omega-continuous.agda | nad/partiality-monad | 2 | 731 | ------------------------------------------------------------------------
-- Strict ω-continuous functions
------------------------------------------------------------------------
{-# OPTIONS --cubical --safe #-}
module Partiality-monad.Inductive.Strict-omega-continuous where
open import Equality.Propositional.Cubica... |
ZORTON.reko/ZORTON_0E31.asm | 0xLiso/dePIXELator | 0 | 101482 | <gh_stars>0
;;; Segment 0E31 (0E31:0000)
0E31:0000 5D CB ].
;; fn0E31_0002: 0E31:0002
;; Called from:
;; 226D:03BC (in fn226D_00F9)
fn0E31_0002 proc
enter 8h,0h
push dword ptr [bp+6h]
call far 0800h:0894h
add sp,4h
push 1808100h
push dword ptr [bp+6h]
... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca.log_21829_1864.asm | ljhsiun2/medusa | 9 | 175360 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xa432, %r9
nop
dec %r11
movb $0x61, (%r9)
sub %r9, %r9
lea addresses_WC_ht+0x14af2, %rax
inc %r8
movw $0x6162, (%rax)
nop
nop
sub %rax, %rax
lea addresses_normal_ht+0x... |
libsrc/cpm/a_statusline.asm | jpoikela/z88dk | 640 | 178789 | ;
; Small C+ Runtime Library
;
; CP/M functions
;
; CPM Plus "userf" custom Amstrad calls, for Amstrad CPC & PCW and ZX Spectrum +3
;
; $Id: a_statusline.asm,v 1.4 2017-01-02 20:06:48 aralbrec Exp $
;
SECTION code_clib
PUBLIC a_statusline
PUBLIC _a_statusline
EXTERN subus... |
src/Duality.agda | peterthiemann/dual-session | 1 | 4366 | {-# OPTIONS --rewriting #-}
module Duality where
open import Data.Bool
open import Data.Nat hiding (compare)
open import Data.Nat.Properties
open import Data.Fin hiding (_+_)
open import Data.Product
open import Function
open import Relation.Binary.PropositionalEquality hiding (Extensionality)
open import Agda.Bui... |
applescript/mic-toggle.applescript | varunkumar/pup-pad | 1 | 2748 | <reponame>varunkumar/pup-pad
on getMicrophoneVolume()
input volume of (get volume settings)
end getMicrophoneVolume
on disableMicrophone()
say "muted"
set volume input volume 0
end disableMicrophone
on enableMicrophone()
say "unmuted"
set volume input volume 100
end enableMicrophone
on muteApp()
set crntAp... |
kernel/cpu/isr.asm | WivOS/WivOS | 22 | 177385 | section .data
%define smp_trampoline_size smp_trampoline_end - smp_trampoline
smp_trampoline: incbin "build/RELEASE/kernel/proc/trampoline.bin"
smp_trampoline_end:
section .text
%macro ISR_NO_ERR_CODE 1
global isr%1
isr%1:
push 0
push %1
jmp service_interrupt
%endmacro
%macro ISR_NO_ERR_CODE2 1
glo... |
programs/oeis/131/A131026.asm | karttu/loda | 0 | 12798 | ; A131026: Periodic sequence (2, 2, 1, 0, 0, 1).
; 2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1
add $0,46088
lpb $0,1
add $0,1
mul $0,5
mod $0,6
lpe... |
projects/vmt/scratch/call.asm | RobertCurry0216/nand2tetris | 0 | 84930 | // call f.test 2
// if narg == 0, push 0 onto the stack
// and set narg to 1
// @0
// D=A
// @SP
// A=M
// M=D
// @SP
// M=M+1
// save caller frame
// save return addr
@return-id
D=A
@SP
A=M
M=D
@SP
M=M+1
// save local
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1
// save arg
@ARG
D=M
@SP
A=M
M=D
@SP
M=M+1
// save this
@THIS
D=... |
oeis/345/A345495.asm | neoneye/loda-programs | 11 | 10263 | ; A345495: Numbers that are the sum of eight squares in eight or more ways.
; Submitted by <NAME>(s4)
; 56,59,62,64,65,67,68,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,... |
translation-methods/functional2imperative/src/main/functional2imperative/parser/Functional.g4 | nothingelsematters/university | 1 | 3960 | grammar Functional;
@header {
package functional2imperative.parser;
import java.util.LinkedList;
import functional2imperative.*;
}
/*
program -> List of (function | functionType)
functionType -> NAME (fuction type | atomic type)
function -> name body
function body -> values, variables, (boolean case... |
README/Compiling-Programs-with-Erased-Univalence.agda | nad/dependent-lenses | 3 | 9456 | <reponame>nad/dependent-lenses
------------------------------------------------------------------------
-- Code related to the paper "Compiling Programs with Erased
-- Univalence"
--
-- <NAME>
--
-- The paper is coauthored with <NAME> and <NAME>.
------------------------------------------------------------------------
... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_576.asm | ljhsiun2/medusa | 9 | 97600 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_576.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1de10, %r9
nop
nop
nop
cmp $49453, %rdx
mov $0x6162636465666768, ... |
asnip-support.ada | mgrojo/ASnip | 0 | 17975 | <filename>asnip-support.ada<gh_stars>0
--------------------------------------------------------------------------
-- ASnip Source Code Decorator
-- Copyright (C) 2006, <NAME>
--
-- 1. Permission is hereby granted to use, copy, modify and/or distribute
-- this package, provided that:
-- * copyright notices ar... |
programs/oeis/068/A068344.asm | jmorken/loda | 1 | 2172 | <filename>programs/oeis/068/A068344.asm<gh_stars>1-10
; A068344: Square array read by antidiagonals of T(n,k) = sign(n-k).
; 0,-1,1,-1,0,1,-1,-1,1,1,-1,-1,0,1,1,-1,-1,-1,1,1,1,-1,-1,-1,0,1,1,1,-1,-1,-1,-1,1,1,1,1,-1,-1,-1,-1,0,1,1,1,1,-1,-1,-1,-1,-1,1,1,1,1,1,-1,-1,-1,-1,-1,0,1,1,1,1,1,-1,-1,-1,-1,-1,-1,1,1,1,1,1,1,-1,... |
Task/Loops-Foreach/Ada/loops-foreach-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 3547 | <filename>Task/Loops-Foreach/Ada/loops-foreach-3.ada
with Ada.Integer_Text_IO, Ada.Containers.Doubly_Linked_Lists;
use Ada.Integer_Text_IO, Ada.Containers;
procedure Doubly_Linked_List is
package DL_List_Pkg is new Doubly_Linked_Lists (Integer);
use DL_List_Pkg;
procedure Print_Node (Position : Cursor)... |
calc/calc.asm | leonardoruilova/xos | 1 | 15974 |
;; Calculator application for xOS
;; Copyright (C) 2017 by <NAME>.
use32
org 0x8000000 ; programs are loaded to 128 MB, drivers to 2048 MB
application_header:
.id db "XOS1" ; tell the kernel we are a valid application
.type dd 0 ; 32-bit application
.entry dd main ; entry point
.reserved0 dq 0
.reserv... |
programs/oeis/118/A118162.asm | neoneye/loda | 22 | 22013 | ; A118162: Start with 1 and repeatedly reverse the digits and add 60 to get the next term.
; 1,61,76,127,781,247,802,268,922,289,1042,2461,1702,2131,1372,2791,2032,2362,2692,3022,2263,3682,2923,3352,2593,4012,2164,4672,2824,4342,2494,5002,2065,5662,2725,5332,2395,5992,3055,5563,3715,5233,3385,5893,4045,5464,4705,5134,4... |
homotopy/HSpace.agda | UlrikBuchholtz/HoTT-Agda | 1 | 1377 | <gh_stars>1-10
{-# OPTIONS --without-K #-}
open import HoTT
module homotopy.HSpace where
record HSpaceStructure {i} (A : Type i) : Type i where
constructor hSpaceStructure
field
e : A
μ : A → A → A
μe- : (a : A) → μ e a == a
μ-e : (a : A) → μ a e == a
module ConnectedHSpace {i} (A : Type i) (c :... |
transformy/tables/gen/001c.asm | mborik/regression | 3 | 2477 | xor a
ld hl, basescradr + #082d
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #082e
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #08ee
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
... |
ASS1/lcm (q7).asm | rahulkumawat1/NASM | 0 | 92919 | section .data
zero: db '0'
l1: equ $-zero
newline: db '',10
l2: equ $-newline
msg3: db 'lcm of given numbers is: '
l3: equ $-msg3
section .bss
just_read: resd 1
just_print: resd 1
temp: resd 1
counter: resd 1
a: resd 1
b: resd 1
max: resd 1
section .text
global _start:
_start:
call read_num
mov eax,dword[just_read]
m... |
Ball shooting/ball.asm | Ahmed-ata112/processor_simulation_game | 1 | 101592 | <reponame>Ahmed-ata112/processor_simulation_game
drawPixelWithOffset macro column, row, color, X_origin, Y_origin ;x, y, color...the last two parameters are the offset position of the pixel
xor ch,ch
xor dh,dh
mov dl, row
mov cl, column
mov al, color
;Dynamics:
a... |
test/fail/CoinductiveConstructorsAndLet.agda | larrytheliquid/agda | 1 | 14593 | <filename>test/fail/CoinductiveConstructorsAndLet.agda
module CoinductiveConstructorsAndLet where
open import Common.Coinduction
data D : Set where
foo : D → ∞ D
foo x = let y = x in ♯ y
-- CoinductiveConstructorsAndLet.agda:9,24-25
-- Panic: thing out of context ([CtxId 1] is not a sub context of
-- [CtxId 3])
-- ... |
oeis/317/A317279.asm | neoneye/loda-programs | 11 | 96032 | ; A317279: a(n) = Sum_{k=0..n} (-1)^(n-k)*binomial(n-1,k-1)*n^k*n!/k!.
; Submitted by <NAME>
; 1,1,0,-9,-32,225,3456,2695,-433152,-4495743,47872000,1768142871,6703534080,-597265448351,-11959736205312,126058380654375,9454322092343296,84694164336894465,-5776865438988238848,-192541299662555831753,1511905067561779200000,24... |
ls.asm | Alpr1010/cpsc405 | 0 | 6638 |
_ls: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
close(fd);
}
int
main(int argc, char *argv[])
{
1000: 8d 4c 24 04 lea 0x4(%esp),%ecx
1004: 83 e4 f0 and $0xfffffff0,%esp
1007: ff 71 fc pushl -0x4(%ecx)
100a: 55 ... |
maps/Route5SaffronGate.asm | Dev727/ancientplatinum | 28 | 169791 | object_const_def ; object_event constants
const ROUTE5SAFFRONGATE_OFFICER
Route5SaffronGate_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
Route5SaffronGateOfficerScript:
jumptextfaceplayer Route5SaffronGateOfficerText
Route5SaffronGateOfficerText:
text "You're from JOHTO,"
line "aren't you?"
para "How ... |
alloy4fun_models/trashltl/models/9/Qxxhpz4a8PPT6cxAB.als | Kaixi26/org.alloytools.alloy | 0 | 4198 | <filename>alloy4fun_models/trashltl/models/9/Qxxhpz4a8PPT6cxAB.als
open main
pred idQxxhpz4a8PPT6cxAB_prop10 {
always all f:File | f in Protected implies always f in Protected
}
pred __repair { idQxxhpz4a8PPT6cxAB_prop10 }
check __repair { idQxxhpz4a8PPT6cxAB_prop10 <=> prop10o } |
libsrc/_DEVELOPMENT/math/integer/l_muls_32_32x32.asm | ahjelm/z88dk | 4 | 1972 |
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_math
PUBLIC l_muls_32_32x32
; compute: dehl = dehl * dehl'
; alters : af, bc, de, hl, bc', de', hl', ix
IF __CPU_Z180__ && ((__CLIB_OPT_IMATH = 0) || (__CLIB_OPT_IMATH = 100))
EXTERN l_z180_muls_32_32x32
defc l_muls_32_32x32 = l_z180_muls_3... |
programs/oeis/025/A025736.asm | neoneye/loda | 22 | 22863 | <reponame>neoneye/loda<filename>programs/oeis/025/A025736.asm<gh_stars>10-100
; A025736: Index of 9^n within sequence of numbers of form 6^i*9^j.
; 1,3,6,10,15,22,30,39,49,61,74,88,103,119,137,156,176,197,220,244,269,295,322,351,381,412,444,478,513,549,586,625,665,706,748,791,836,882,929,977,1027,1078,1130,1183,1237,12... |
programs/oeis/163/A163804.asm | karttu/loda | 0 | 88509 | <gh_stars>0
; A163804: Expansion of (1 - x) * (1 - x^4) / ((1 - x^2) * (1 - x^3)) in powers of x.
; 1,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-1,1,0,-... |
src/natools-references-pools.adb | faelys/natools | 0 | 11034 | <filename>src/natools-references-pools.adb
------------------------------------------------------------------------------
-- Copyright (c) 2014, <NAME> --
-- --
-- Permission to use, copy, modify, and distrib... |
programs/oeis/047/A047324.asm | karttu/loda | 0 | 13918 | <gh_stars>0
; A047324: Numbers that are congruent to {0, 2, 5, 6} mod 7.
; 0,2,5,6,7,9,12,13,14,16,19,20,21,23,26,27,28,30,33,34,35,37,40,41,42,44,47,48,49,51,54,55,56,58,61,62,63,65,68,69,70,72,75,76,77,79,82,83,84,86,89,90,91,93,96,97,98,100,103,104,105,107,110,111
add $0,6
mov $1,$0
div $1,4
mul $1,2
mov $2,$0
lpb ... |
src/smk-main.ads | mgrojo/smk | 0 | 20372 | <filename>src/smk-main.ads
-- -----------------------------------------------------------------------------
-- smk, the smart make
-- © 2018 <NAME> <<EMAIL>>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licensed under the Apache License, Versio... |
testsuite/xml/TN-20/test_20.adb | svn2github/matreshka | 24 | 17900 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
zombie.asm | TRamirez97/CSE460-HW02 | 0 | 246103 | <reponame>TRamirez97/CSE460-HW02
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx... |
src/linux/helios-monitor-disks.adb | stcarrez/helios | 1 | 5677 | <gh_stars>1-10
-----------------------------------------------------------------------
-- helios-monitor-disks -- Linux disks monitor
-- Copyright (C) 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance w... |
src/Categories/Functor/Monoidal/PointwiseTensor.agda | Trebor-Huang/agda-categories | 279 | 577 | <gh_stars>100-1000
{-# OPTIONS --without-K --safe #-}
open import Categories.Category.Monoidal using (SymmetricMonoidalCategory)
-- The monoidal structure of a monoidal catgeory D
-- lifted pointwise to monoidal functors F : C → D.
module Categories.Functor.Monoidal.PointwiseTensor {o o′ ℓ ℓ′ e e′}
{C : SymmetricM... |
Microcontroller_Lab/Lab_6/Lab_6/Read_Code_With_Comments.asm | MuhammadAlBarham/pic16f778_projects | 0 | 244847 | Include "p16F84A.inc"
; ----------------------------------------------------------
; General Purpose RAM Assignments
; ----------------------------------------------------------
cblock 0x0C
Counter
Endc
; ----------------------------------------------------------
; Macro Definitions
; -------------------------------... |
LogProcessor/SessionTypes.Grammar/SessionTypesLexer.g4 | Vulthil/Logprocessor | 0 | 4450 | <filename>LogProcessor/SessionTypes.Grammar/SessionTypesLexer.g4
lexer grammar SessionTypesLexer;
WHITESPACES: (Whitespace | NewLine)+ -> channel(HIDDEN);
//REC: 'rec';
END: 'end';
KEYWORD: Keyword;
IDENTIFIER: Identifier;
OPEN_BRACKET: '[';
CLOSE_BRACKET: ... |
oeis/105/A105133.asm | neoneye/loda-programs | 11 | 244990 | <gh_stars>10-100
; A105133: Numbers n such that 8n + 5 is prime.
; Submitted by <NAME>
; 0,1,3,4,6,7,12,13,18,19,21,22,24,28,33,34,36,39,43,46,48,49,52,57,63,67,69,76,81,82,84,87,88,91,94,96,99,102,103,106,109,117,124,126,127,132,133,136,138,139,147,151,153,154,159,162,171,172,178,181,186,193,199,201,202,204,208,211,21... |
src/_test/fixtures/apsepp_test_node_barrier.ads | thierr26/ada-apsepp | 0 | 24699 | -- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Ada.Characters.Handling; use Ada.Characters.Handling;
with Ada.Tags; use Ada.Tags;
with Ada.Calendar; use Ada.Calendar;
with Ada.Exceptions; use Ada.Exception... |
day18-ada/src/operation.adb | xclemence/adventofcode2020 | 1 | 23915 | <filename>day18-ada/src/operation.adb
package body Operation is
function Add (Left: NaturalDouble;
Right: NaturalDouble) return NaturalDouble is
begin
return Left + Right;
end Add;
function Multiple (Left: NaturalDouble;
Right: NaturalDouble) return NaturalDo... |
tlsf/src/old/tlsf-bitmaps.adb | vasil-sd/ada-tlsf | 3 | 26032 | <reponame>vasil-sd/ada-tlsf<filename>tlsf/src/old/tlsf-bitmaps.adb
with TLSF.Config;
with TLSF.Mem_Block_Size;
use TLSF.Mem_Block_Size;
use TLSF.Config;
package body TLSF.Bitmaps
with SPARK_Mode is
procedure Mapping_Insert
(V : Size;
FL : out First_Level_Index;
SL : out Second_Level_Index)
is
... |
sgdk/skeleton/scd/LukeProjectCD/_boot/_inc/cdbios.asm | nehalem501/gendev | 212 | 81351 | <reponame>nehalem501/gendev
MSCSTOP EQU $0002
MSCPAUSEON EQU $0003
MSCPAUSEOFF EQU $0004
MSCSCANFF EQU $0005
MSCSCANFR EQU $0006
MSCSCANOFF EQU $0007
ROMPAUSEON EQU $0008
ROMPAUSEOFF EQU $0009
DRVOPEN EQU $000A
DRVINIT ... |
oeis/213/A213850.asm | neoneye/loda-programs | 11 | 163550 | <gh_stars>10-100
; A213850: Antidiagonal sums of the convolution array A213849.
; Submitted by <NAME>(s3)
; 1,3,10,20,42,70,120,180,275,385,546,728,980,1260,1632,2040,2565,3135,3850,4620,5566,6578,7800,9100,10647,12285,14210,16240,18600,21080,23936,26928,30345,33915,37962,42180,46930,51870,57400,63140,69531,76153,83490... |
oeis/049/A049392.asm | neoneye/loda-programs | 11 | 8900 | ; A049392: Expansion of (1-25*x)^(2/5).
; Submitted by <NAME>
; 1,-10,-75,-1000,-16250,-292500,-5606250,-112125000,-2312578125,-48821093750,-1049653515625,-22901531250000,-505742148437500,-11281940234375000,-253843655273437500,-5753789519531250000,-131258323414306640625,-3011220360681152343750,-69425358315704345703125,... |
src/tests/bintoasc_suite-base32_tests.adb | jhumphry/Ada_BinToAsc | 0 | 1169 | -- BinToAsc_Suite.Base32_Tests
-- Unit tests for BinToAsc
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
with AUnit.Assertions;
with System.Storage_Elements;
with Ada.Assertions;
with String_To_Storage_Array;
with BinToAsc.Base32;
package body BinToAsc_Suite.Base32_Tests is
use AUnit.Assertions;... |
core/lib/NType.agda | timjb/HoTT-Agda | 0 | 13165 | {-# OPTIONS --without-K --rewriting #-}
open import lib.Base
open import lib.PathGroupoid
open import lib.Relation
module lib.NType where
module _ {i} where
{- Definition of contractible types and truncation levels -}
-- We define `has-level' as a record, so that it does not unfold when
-- applied to (S n), ... |
programs/oeis/175/A175829.asm | karttu/loda | 0 | 91371 | <reponame>karttu/loda
; A175829: Partial sums of ceiling(n^2/11).
; 0,1,2,3,5,8,12,17,23,31,41,52,66,82,100,121,145,172,202,235,272,313,357,406,459,516,578,645,717,794,876,964,1058,1157,1263,1375,1493,1618,1750,1889,2035,2188,2349,2518,2694,2879,3072,3273,3483,3702,3930,4167,4413,4669,4935,5210,5496,5792,6098,6415,6743... |
Project4/Archive/proj1.asm | orrinjelo/virtual-machine | 0 | 176179 | <gh_stars>0
; FIRST NAME =======================================================
T .BYT 84
y .BYT 121 ; Note: There is no difference between a y and a Y.
l .BYT 108 ; I have designed my assembly to be case insensitive
e .BYT 101 ; and whitespace apathetic. Directives must be de-
r .BYT 114 ; clared at the begi... |
data/jpred4/jp_batch_1613899824__2zRCseQ/jp_batch_1613899824__2zRCseQ.als | jonriege/predict-protein-structure | 0 | 533 | SILENT_MODE
BLOCK_FILE jp_batch_1613899824__2zRCseQ.concise.blc
MAX_NSEQ 877
MAX_INPUT_LEN 879
OUTPUT_FILE jp_batch_1613899824__2zRCseQ.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... |
programs/oeis/336/A336567.asm | neoneye/loda | 22 | 89558 | ; A336567: Sum of proper divisors of {n divided by its largest squarefree divisor}.
; 0,0,0,1,0,0,0,3,1,0,0,1,0,0,0,7,0,1,0,1,0,0,0,3,1,0,4,1,0,0,0,15,0,0,0,6,0,0,0,3,0,0,0,1,1,0,0,7,1,1,0,1,0,4,0,3,0,0,0,1,0,0,1,31,0,0,0,1,0,0,0,16,0,0,1,1,0,0,0,7,13,0,0,1,0,0,0,3,0,1,0,1,0,0,0,15,0,1,1,8
seq $0,336551 ; a(n) = A0035... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.