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 |
|---|---|---|---|---|
Web/asm/examples/Add 16-bit.asm | visrealm/vrcpu | 102 | 14673 | <filename>Web/asm/examples/Add 16-bit.asm
; Add two 16 bit numbers.
; Place result high byte in Rc, low byte in Rb
; Carry flag will be set if result is > 16 bits
FIRST = 0x00
SECOND = FIRST + 0x02
NUMBER1 = 12345
NUMBER2 = 12122
.setup:
clra
data SP, 0xff
; first number
data Ra, NUMBER1 >> 8 ; high byte
da... |
src/util-properties-json.adb | Letractively/ada-util | 0 | 15015 | <reponame>Letractively/ada-util<gh_stars>0
-----------------------------------------------------------------------
-- util-properties-json -- read json files into properties
-- Copyright (C) 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may ... |
src/Categories/Minus2-Category.agda | Trebor-Huang/agda-categories | 279 | 4373 | <reponame>Trebor-Huang/agda-categories
{-# OPTIONS --without-K --safe #-}
-- 'Traditionally', meaning in nLab and in
-- "Lectures on n-Categories and Cohomology" by <NAME> Shulman
-- https://arxiv.org/abs/math/0608420
-- (-2)-Categories are defined to be just a single value, with trivial Hom
-- But that's hardly a de... |
s2/music-original/8C - EHZ 2P.asm | Cancer52/flamedriver | 9 | 13771 | <reponame>Cancer52/flamedriver
EHZ_2p_Header:
smpsHeaderStartSong 2
smpsHeaderVoice EHZ_2p_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $5B
smpsHeaderDAC EHZ_2p_DAC
smpsHeaderFM EHZ_2p_FM1, $F4, $0A
smpsHeaderFM EHZ_2p_FM2, $F4, $0F
smpsHeaderFM EHZ_2p_FM3, $F4, $... |
experiments/test-suite/mutation-based/10/1/fullTree.als | kaiyuanw/AlloyFLCore | 1 | 2002 | <filename>experiments/test-suite/mutation-based/10/1/fullTree.als
pred test15 {
some disj Node0, Node1: Node {
Node = Node0 + Node1
no left
right = Node0->Node1 + Node1->Node0
Acyclic[]
}
}
run test15 for 3 expect 0
pred test32 {
some disj Node0, Node1: Node {
Node = Node0 + Node1
no left
right = Node1->Node0
FullTree[... |
projects/07/StackArithmetic/StackTest/StackTest.asm | RobertCurry0216/nand2tetris | 0 | 6343 | <filename>projects/07/StackArithmetic/StackTest/StackTest.asm
// push constant 17
@17
D=A
@SP
A=M
M=D
@SP
M=M+1
// push constant 17
@17
D=A
@SP
A=M
M=D
@SP
M=M+1
// eq
@SP
AM=M-1
D=M
A=A-1
D=M-D
@is-eq-9
D;JEQ
@end-9
D=0;JMP
(is-eq-9)
D=-1
(end-9)
@SP
A=M-1
M=D
// push constant 17
@17
D=A
@SP
A=M
M=D
@SP
M=M+1
// push ... |
dialect/mysql/MySqlLexer.g4 | golangee/sql | 0 | 823 | /*
MySQL (Positive Technologies) grammar
The MIT License (MIT).
Copyright (c) 2015-2017, <NAME> (<EMAIL>), Positive Technologies.
Copyright (c) 2017, <NAME> (<EMAIL>)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to de... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/fib.adb | ouankou/rose | 488 | 30829 | <filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/fib.adb
function Fib(x: in Integer) return Integer is
Result : Integer;
begin
if x = 0 then
Result := 0;
elsif x = 1 then
Result := 1;
else
Result := Fib(x-2) + Fib(x-1);
end if;
return Result;
end Fib;
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca_notsx.log_21829_1909.asm | ljhsiun2/medusa | 9 | 14232 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xf33c, %r15
nop
nop
nop
nop
sub %r11, %r11
movups (%r15), %xmm5
vpextrq $1, %xmm5, %rbp
nop
cmp $60187, %rbp
lea addresses_UC_ht+0x956c, %rax
and $13289, %... |
programs/oeis/122/A122638.asm | neoneye/loda | 22 | 95275 | <filename>programs/oeis/122/A122638.asm
; A122638: {n+1}_n.
; 2,3,4,5,6,7,8,9,9,11,13,15,17,19,21,23,25,27,38,41,44,47,50,53,56,59,62,65,87,91,95,99,103,107,111,115,119,123,156,161,166,171,176,181,186,191,196,201,245,251,257,263,269,275,281,287,293,299,354,361,368,375,382,389
mov $3,$0
sub $0,7
mov $2,6
add $2,$0
add ... |
programs/oeis/030/A030441.asm | neoneye/loda | 22 | 166678 | <reponame>neoneye/loda
; A030441: Values of Newton-Gregory forward interpolating polynomial (1/3)*(2*n - 3)*(2*n^2 - 3*n + 4).
; -4,-1,2,13,40,91,174,297,468,695,986,1349,1792,2323,2950,3681,4524,5487,6578,7805,9176,10699,12382,14233,16260,18471,20874,23477,26288,29315,32566,36049,39772,43743,47970,52461,57224,62267,67... |
programs/oeis/173/A173773.asm | karttu/loda | 1 | 163635 | <filename>programs/oeis/173/A173773.asm
; A173773: a(3*n) = 8*n+2, a(3*n+1) = 2*n+1, a(3*n+2) = 8*n+6.
; 2,1,6,10,3,14,18,5,22,26,7,30,34,9,38,42,11,46,50,13,54,58,15,62,66,17,70,74,19,78,82,21,86,90,23,94,98,25,102,106,27,110,114,29,118,122,31,126,130,33,134,138,35,142,146,37,150,154,39,158
mov $2,$0
add $2,$0
mov $0... |
test/Succeed/Issue81.agda | cruhland/agda | 1,989 | 11459 | <filename>test/Succeed/Issue81.agda
-- {-# OPTIONS -v tc.lhs.unify:50 #-}
module Issue81 where
data ⊥ : Set where
data D : Set where
d : D
c : D
data E : Set where
e : E
⌜_⌝ : E -> D
⌜ e ⌝ = c
data R : D -> E -> Set where
Val : (v : E) -> R ⌜ v ⌝ v
foo : R d e -> ⊥
foo ()
|
prototyping/Luau/Syntax.agda | TheGreatSageEqualToHeaven/luau | 1 | 17255 | <reponame>TheGreatSageEqualToHeaven/luau
module Luau.Syntax where
open import Agda.Builtin.Equality using (_≡_)
open import Agda.Builtin.Bool using (Bool; true; false)
open import Agda.Builtin.Float using (Float)
open import Agda.Builtin.String using (String)
open import Luau.Var using (Var)
open import Luau.Addr usin... |
oeis/037/A037736.asm | neoneye/loda-programs | 11 | 172867 | ; A037736: Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 2,1,0,3.
; Submitted by <NAME>
; 2,21,210,2103,21032,210321,2103210,21032103,210321032,2103210321,21032103210,210321032103,2103210321032,21032103210321,210321032103210,2103210321032103
mov $2,2
lpb $0
sub ... |
server/src/antlr/grammer/siParser.g4 | SI-Gen/jportal2-vscode-extension | 0 | 3128 | parser grammar siParser;
options { tokenVocab=siLexer; }
// Parser starting point
jInput : DATABASE jIdent
( FLAGS ( jString )+ )*
( PACKAGE jPackageIdent )?
( ( OUTPUT jIdentOrString | IMPORT jIdentOrString ) )*
jConnect
( jTables )+
( jView )*
EOF;
// This is only used for table generation... |
.build/ada/asis-gela-elements-helpers.ads | faelys/gela-asis | 4 | 13953 | <gh_stars>1-10
------------------------------------------------------------------------------
-- Copyright (c) 2006-2013, <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:
--
-- ... |
Categories/Congruence.agda | copumpkin/categories | 98 | 15920 | module Categories.Congruence where
open import Level
open import Relation.Binary hiding (_⇒_; Setoid)
open import Categories.Support.PropositionalEquality
open import Categories.Support.Equivalence
open import Categories.Support.EqReasoning
open import Categories.Category hiding (module Heterogeneous; _[_∼_])
recor... |
Input/Macros/test1.asm | AhmedAlaa2024/Chat-and-Game-x86_Assembly | 0 | 178075 | INCLUDE maths.inc
.MODEL SMALL
.STACK 64
.DATA
;DEFINE YOUR DATA HERE
COMMAND1 DB 'ADD AX,BX'
INCLUDE data.inc
.CODE
MAIN PROC FAR
MOV AX,@DATA
MOV DS,AX
MOV ES,AX
;================================
MATH_OPERATION_CLASSIFY COMMAND1, OP_FLAG
;=========... |
dos/DosQSysInfo.asm | osfree-project/FamilyAPI | 0 | 87249 | ;/*!
; @file
;
; @ingroup fapi
;
; @brief DosQSysInfo DOS wrapper
;
; (c) osFree Project 2021, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author <NAME> (<EMAIL... |
oeis/078/A078700.asm | neoneye/loda-programs | 11 | 88793 | <reponame>neoneye/loda-programs
; A078700: Number of symmetric ways to lace a shoe that has n pairs of eyelets such that each eyelet has at least one direct connection to the opposite side.
; Submitted by <NAME>(s4)
; 1,2,6,30,192,1560,15120,171360,2217600,32296320,522547200,9300614400,180583603200,3798482688000,860449... |
cv/cvpuball.asm | DigitalMars/optlink | 28 | 175446 | <filename>cv/cvpuball.asm
TITLE CVPUBALL - Copyright (c) SLR Systems 1994
INCLUDE MACROS
if fg_cvpack
INCLUDE SYMBOLS
INCLUDE MODULES
INCLUDE SEGMENTS
INCLUDE CVTYPES
INCLUDE SEGMSYMS
if fg_pe
INCLUDE PE_STRUC
endif
PUBLIC CV_PUBLICS_ALL_4
.DATA
EXTERNDEF CV_TEMP_RECORD:BYTE
EXTERNDEF CURN... |
PMOO/ADA/LAB2/PARTE_2/es_par.adb | usainzg/EHU | 0 | 28802 | function Es_Par(N: Integer) return Boolean is
begin
if N mod 2 = 0 then
return True;
end if;
return False;
end Es_Par; |
data/github.com/peterldowns/iterm2-finder-tools/49b1fe78bb50329b864902850104504ccfb53b45/application/application.applescript | ajnavarro/language-dataset | 9 | 2092 | on run {input, parameters}
tell application "Finder"
set dir_path to quoted form of (POSIX path of (folder of the front window as alias))
end tell
CD_to(dir_path)
end run
on CD_to(theDir)
tell application "iTerm"
activate
set term to current terminal
try
term
on error
set term ... |
src/sets/finite.agda | pcapriotti/agda-base | 20 | 17082 | {-# OPTIONS --without-K #-}
module sets.finite where
open import sets.finite.core public
|
test/Fail/Issue3684.agda | hborum/agda | 2 | 7334 | <reponame>hborum/agda
-- Andreas, 2019-04-12, issue #3684
-- Report also available record fields in case user gives spurious fields.
-- {-# OPTIONS -v tc.record:30 #-}
record R : Set₁ where
field
foo {boo} moo : Set
test : (A : Set) → R
test A = record
{ moo = A
; bar = A
; far = A
}
-- The record typ... |
thirdparty/adasdl/thin/adasdl/AdaSDL_image/showimage.adb | Lucretia/old_nehe_ada95 | 0 | 10085 |
--
-- SHOWIMAGE: Port to the Ada programming language of a test application for the
-- the SDL image library.
--
-- The original code was written in C by <NAME> http://www.libsdl.org.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Pub... |
src/main/antlr/com/concurnas/compiler/Concurnas.g4 | michaeldesu/Concurnas | 201 | 3857 | grammar Concurnas;
@header{
package com.concurnas.compiler;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.Stack;
}
@lexer::members {
private int defaultTransHandlerId = 0;
boolean skipNewLine=false;
Stack<... |
capacityupgrades.asm | compiling/z3randomizer | 26 | 247144 | ;================================================================================
; Capacity Logic
;================================================================================
!BOMB_UPGRADES = "$7EF370"
!BOMB_CURRENT = "$7EF343"
;--------------------------------------------------------------------------------
Incr... |
alloy4fun_models/trashltl/models/15/mi5NXwmQNCiPa4v5n.als | Kaixi26/org.alloytools.alloy | 0 | 1251 | open main
pred idmi5NXwmQNCiPa4v5n_prop16 {
always Protected in Protected'
}
pred __repair { idmi5NXwmQNCiPa4v5n_prop16 }
check __repair { idmi5NXwmQNCiPa4v5n_prop16 <=> prop16o } |
src/parser/PSS.g4 | PSSTools/pssparser | 1 | 7894 | <filename>src/parser/PSS.g4
/****************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownershi... |
Scaliger-Ada_conversion.adb | Louis-Aime/Milesian_calendar_Ada | 0 | 3905 | -- Package body Scaliger.Ada_conversion
----------------------------------------------------------------------------
-- Copyright Miletus 2015
-- 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 Softwa... |
tools/yasm/tests/nasm/org.asm | fasttr-org/ftr | 0 | 161226 | [ORG 0x100]
[SECTION .blah]
[ORG a]
[ORG t=0x100]
a:
[SECTION .text ALIGN=a]
[SECTION .data ALIGN=16]
[SECTION .bss align=15]
[SECTION .bss align=]
[SECTION .bss align]
|
dist/vale/curve25519-x86_64-msvc.asm | santtu/hacl-star | 1,332 | 244321 | <filename>dist/vale/curve25519-x86_64-msvc.asm<gh_stars>1000+
.code
ALIGN 16
add_scalar_e proc
push rdi
push rsi
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
;# Clear registers to propagate the carry bit
xor r8d, r8d
xor r9d, r9d
xor r10d, r10d
xor r11d, r11d
xor eax, eax
;# Begin addition chain
a... |
bundles/org.pgcase.xobot.parsers/grammar/org/pgcase/xobot/parsers/postgres/PlPgSql.g4 | pgcase/xobot-ide | 2 | 2347 | <reponame>pgcase/xobot-ide<filename>bundles/org.pgcase.xobot.parsers/grammar/org/pgcase/xobot/parsers/postgres/PlPgSql.g4<gh_stars>1-10
grammar PlPgSql;
import PlPgSqlKeyWords, Sql;
pl_function: comp_options pl_block opt_semi
;
comp_options: comp_options comp_option
|
;
comp_option: ... |
ASM/INCLUDE/FloatToStr.asm | mhoellerschlieper/CubeOS.Compiler | 11 | 25827 | ;Quelle: http://www.masm32.com/board/index.php?topic=9906.0
;
; SEEEEEEEEEEEFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
; 10000000000000000000000000000000 00000000000000000000000000000000
; 01111111111100000000000000000000 00000000000000000000000000000000
; 00000000000011111111111111111111 11111111111111... |
oeis/054/A054099.asm | neoneye/loda-programs | 11 | 172609 | ; A054099: Sum{T(n,k): k=0,1,...,n}, array T as in A054098.
; Submitted by <NAME>
; 1,3,6,14,44,178,892,5354,37480,299842,2698580,26985802,296843824,3562125890,46307636572,648306912010,9724603680152,155593658882434,2645092201001380
lpb $0
sub $0,1
add $1,$3
mul $1,$2
cmp $3,0
add $3,1
add $1,$3
add $2,1
... |
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/strlen.asm | gb-archive/really-old-stuff | 10 | 6208 | ; Returns len if a string
; If a string is NULL, its len is also 0
; Result returned in HL
__STRLEN: ; Direct FASTCALL entry
ld a, h
or l
ret z
ld a, (hl)
inc hl
ld h, (hl) ; LEN(str) in HL
ld l, a
ret
|
examples/qsolver.asm | Mogby/Processor | 2 | 86918 | ; start of program
main:
read
popr 0
read
popr 1
read
popr 2 ; ; v[0] = a, v[1] = b, v[2] = c
push qsolver
call ; ; v[0] = root1, v[1] = root2, v[2] = num_roots
pushr 2
push 0
push no_roots
je
pushr 2
push -1
push inf_roots
je
... |
pkgs/tools/yasm/src/libyasm/tests/timesover-err.asm | manggoguy/parsec-modified | 2,151 | 161142 | times 512 db 0
times 01FEh-($-$$) db 0
|
programs/yotta.asm | CH-Electronics/chos | 0 | 23650 | <reponame>CH-Electronics/chos<filename>programs/yotta.asm
bits 16
org 32768
%include 'mikedev.inc'
; Key code values with BIOS (using scan code set 1)
%define UP_KEYCODE 0x48E0
%define DOWN_KEYCODE 0x50E0
%define LEFT_KEYCODE 0x4BE0
%define RIGHT_KEYCODE 0x4DE0
%define INSERT_KEYCODE 0x52E0
%define DELETE_KEYCODE... |
scripts/Batch Cue Edits/Name Cues in Sequence.applescript | samschloegel/qlab-scripts | 8 | 1680 | -- For help, bug reports, or feature suggestions, please visit https://github.com/samschloegel/qlab-scripts
-- Built for QLab 4. v211121-01
tell application id "com.figure53.QLab.4" to tell front workspace
set theSelection to (selected as list)
try
set newName to display dialog "Name?" default answer "" buttons {"... |
oeis/001/A001721.asm | neoneye/loda-programs | 11 | 169634 | ; A001721: Generalized Stirling numbers.
; Submitted by <NAME>
; 1,11,107,1066,11274,127860,1557660,20355120,284574960,4243508640,67285058400,1131047366400,20099588140800,376612896038400,7422410595801600,153516757766400000,3325222830101760000,75283691519393280000,1778358268603445760000,43757765810602905600000,111979616... |
oeis/216/A216132.asm | neoneye/loda-programs | 11 | 11643 | ; A216132: 11^n mod 10000.
; Submitted by <NAME>(s4)
; 11,121,1331,4641,1051,1561,7171,8881,7691,4601,611,6721,3931,3241,5651,2161,3771,1481,6291,9201,1211,3321,6531,1841,251,2761,371,4081,4891,3801,1811,9921,9131,441,4851,3361,6971,6681,3491,8401,2411,6521,1731,9041,9451,3961,3571,9281,2091,3001,3011,3121,4331,7641,40... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_9584_466.asm | ljhsiun2/medusa | 9 | 166707 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x13691, %rsi
lea addresses_A_ht+0x1266b, %rdi
clflush (%rdi)
nop
xor $60988, %r8
mov $119, %rcx
rep movsl
nop
nop
nop
nop
sub %r11, %r11
lea addresses_normal_ht+0xd66b, %rdx
nop
nop
inc ... |
oeis/246/A246058.asm | neoneye/loda-programs | 11 | 99265 | ; A246058: a(n) = (16*10^n-7)/9.
; 1,17,177,1777,17777,177777,1777777,17777777,177777777,1777777777,17777777777,177777777777,1777777777777,17777777777777,177777777777777,1777777777777777,17777777777777777,177777777777777777,1777777777777777777,17777777777777777777,177777777777777777777,1777777777777777777777,1777777777... |
oeis/097/A097137.asm | neoneye/loda-programs | 11 | 243135 | <filename>oeis/097/A097137.asm
; A097137: Convolution of 3^n and floor(n/2).
; Submitted by <NAME>(s3)
; 0,0,1,4,14,44,135,408,1228,3688,11069,33212,99642,298932,896803,2690416,8071256,24213776,72641337,217924020,653772070,1961316220,5883948671,17651846024,52955538084,158866614264,476599842805,1429799528428,42893985852... |
llvm-gcc-4.2-2.9/gcc/ada/s-exctab.adb | vidkidz/crossbridge | 1 | 127 | <reponame>vidkidz/crossbridge<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
source/hash/a-szbzha.ads | ytomino/drake | 33 | 10404 | pragma License (Unrestricted);
with Ada.Containers;
generic
with package Bounded is new Generic_Bounded_Length (<>);
function Ada.Strings.Wide_Wide_Bounded.Wide_Wide_Hash (
Key : Bounded.Bounded_Wide_Wide_String)
return Containers.Hash_Type;
pragma Preelaborate (Ada.Strings.Wide_Wide_Bounded.Wide_Wide_Hash);
|
Student/examples/Correct/CPRL0/Correct_108.asm | SoftMoore/CPRL-Kt | 6 | 1807 | PROGRAM 10
LDCSTR "Enter value for n1: "
PUTSTR
LDGADDR 2
GETINT
STOREW
LDCSTR "Enter value for n2: "
PUTSTR
LDGADDR 6
GETINT
STOREW
LDCSTR "n1 = "
PUTSTR
LDGADDR 2
LOADW
PUTINT
LDCSTR "; n2 = "
PUTSTR
LDGADDR 6
LOADW
PUTINT
PUTEOL
LDGADDR 0
LDG... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_1970.asm | ljhsiun2/medusa | 9 | 4334 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x944d, %rsi
lea addresses_A_ht+0x55cd, %rdi
clflush (%rsi)
nop
nop
nop
nop
and $46639, %rdx
mov $82, %rcx
rep movsb
nop
nop
nop
nop
xor %r8, %r8
lea addresses_WT_ht+0x1eacd, %... |
theorems/cw/cohomology/ReconstructedCochainsEquivCellularCochains.agda | timjb/HoTT-Agda | 0 | 11301 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import cw.CW
open import cw.FinCW
open import cw.FinBoundary
open import cohomology.Theory
open import cohomology.ChainComplex
module cw.cohomology.ReconstructedCochainsEquivCellularCochains
(OT : OrdinaryTheory lzero) where
open OrdinaryTheory OT
o... |
libsrc/msx/msx_vwrite.asm | andydansby/z88dk-mk2 | 1 | 324 | ;
; MSX specific routines
;
; GFX - a small graphics library
; Copyright (C) 2004 <NAME>
;
; extern void msx_vwrite(void *source, u_int dest, u_int count)
;
; Transfer count bytes from RAM to VRAM (BIOS paged version)
;
; $Id: msx_vwrite.asm,v 1.7 2009/06/22 21:44:17 dom Exp $
;
XLIB msx_vwrite
LIB msxbios
... |
OTTTests/TestsTransport.agda | hbasold/Sandbox | 0 | 12889 | <filename>OTTTests/TestsTransport.agda
module TestsTransport where
open import Function
open import Data.Product
open import Relation.Binary.PropositionalEquality as P
open ≡-Reasoning
open import Isomorphisms
open import Tests
Foo : (A : Set) → (T : Testable A) →
(x y : A) → (φ : Test T) → Set
Foo A T x y ⊤ =... |
programs/oeis/268/A268727.asm | jmorken/loda | 1 | 175017 | ; A268727: One-based index of the toggled bit between n and A268717(n+1): a(n) = A070939(A003987(n,A268717(1+n))).
; 1,2,3,1,4,1,1,2,5,1,1,2,1,2,3,1,6,1,1,2,1,2,3,1,1,2,3,1,4,1,1,2,7,1,1,2,1,2,3,1,1,2,3,1,4,1,1,2,1,2,3,1,4,1,1,2,5,1,1,2,1,2,3,1,8,1,1,2,1,2,3,1,1,2,3,1,4,1,1,2,1,2,3,1,4,1,1,2,5,1,1,2,1,2,3,1,1,2,3,1,4,1... |
output/test4_corrected.asm | josuerocha/KPiler | 1 | 3511 | START
PUSHN 3
PUSHN 3
PUSHS "Nome: "
WRITES
READ
STOREL 3
PUSHS "Sobrenome: "
WRITES
READ
STOREL 4
PUSHS "!"
PUSHL 4
PUSHS " "
PUSHL 3
PUSHS "Ola, "
CONCAT
CONCAT
CONCAT
CONCAT
STOREL 5
PUSHS "1"
PUSHL 5
CONCAT
STOREL 5
PUSHL 5
WRITES
READ
ATOI
STOREL 0
READ
ATOI
STOREL 2
PUSHL 0
PUSHL 2
SUP
NOT
JZ A
JUMP B
A: PUSHL 2
... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_1_1671.asm | ljhsiun2/medusa | 9 | 6275 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xb0fc, %rsi
lea addresses_D_ht+0x3380, %rdi
and $28696, %rax
mov $87, %rcx
rep movsw
sub $45565, %rcx
lea addresses_normal_ht+0x5f14, %rsi
lea addresses_normal_ht+0x18b80, %rdi
nop
nop
... |
programs/oeis/060/A060865.asm | neoneye/loda | 22 | 173357 | ; A060865: a(n) is the exact power of 2 that divides the n-th Fibonacci number (A000045).
; 1,1,2,1,1,8,1,1,2,1,1,16,1,1,2,1,1,8,1,1,2,1,1,32,1,1,2,1,1,8,1,1,2,1,1,16,1,1,2,1,1,8,1,1,2,1,1,64,1,1,2,1,1,8,1,1,2,1,1,16,1,1,2,1,1,8,1,1,2,1,1,32,1,1,2,1,1,8,1,1,2,1,1,16,1,1,2,1,1,8,1,1,2,1,1,128,1,1,2,1
seq $0,71 ; a(n) =... |
swap.asm | shaochenren/Assembly-Time-read | 0 | 90603 | extern printf
global swap
section .data
section .bss
section .text
swap:
push rbp ;Backup rbp
mov rbp,rsp ;The base pointer now points to top of stack
push rdi ;Back... |
Applications/Reminders/every/every list/test.applescript | looking-for-a-job/applescript-examples | 1 | 4405 | #!/usr/bin/env osascript
tell application "Reminders"
repeat
end tell
|
source/slim-menu_commands.ads | reznikmm/slimp | 0 | 14997 | <reponame>reznikmm/slimp
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package Slim.Menu_Commands is
type Menu_Command is limited interface;
type Menu_Command_Access is access all Menu_Comma... |
dynamorio/core/arch/aarch64/memfuncs.asm | andre-motta/Project3Compilers | 107 | 105135 | <filename>dynamorio/core/arch/aarch64/memfuncs.asm
/* **********************************************************
* Copyright (c) 2019-2020 Google, Inc. All rights reserved.
* Copyright (c) 2016 ARM Limited. All rights reserved.
* **********************************************************/
/*
* Redistribution and u... |
externals/mpir-3.0.0/mpn/x86_64w/k8/rshift2.asm | JaminChan/eos_win | 12 | 166313 | ; PROLOGUE(mpn_rshift2)
; Copyright 2009 <NAME>
;
; Windows Conversion Copyright 2008 <NAME>
;
; This file is part of the MPIR Library.
;
; The MPIR Library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as published
; by the Free Software Fo... |
src/adaphysics2ddemo.ads | Kidev/DemoAdaPhysics2D | 5 | 400 | with Menus; use Menus;
package AdaPhysics2DDemo is
procedure Start(This : in out Menu);
end AdaPhysics2DDemo;
|
Cubical/Algebra/Polynomials/Univariate/Base.agda | howsiyu/cubical | 0 | 323 | {-A
Polynomials over commutative rings
==================================
-}
{-# OPTIONS --safe #-}
----------------------------------
module Cubical.Algebra.Polynomials.Univariate.Base where
open import Cubical.HITs.PropositionalTruncation
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLev... |
Task/Day-of-the-week/AppleScript/day-of-the-week-3.applescript | LaudateCorpus1/RosettaCodeData | 1 | 962 | <gh_stars>1-10
{2011, 2016, 2022, 2033, 2039, 2044, 2050, 2061, 2067,
2072, 2078, 2089, 2095, 2101, 2107, 2112, 2118}
|
oeis/086/A086801.asm | neoneye/loda-programs | 11 | 102043 | ; A086801: a(n) = prime(n) - 3.
; Submitted by <NAME>(s3)
; -1,0,2,4,8,10,14,16,20,26,28,34,38,40,44,50,56,58,64,68,70,76,80,86,94,98,100,104,106,110,124,128,134,136,146,148,154,160,164,170,176,178,188,190,194,196,208,220,224,226,230,236,238,248,254,260,266,268,274,278
mul $0,2
max $0,1
seq $0,173919 ; Numbers that ar... |
src/Categories/Morphism/Lifts/Properties.agda | Trebor-Huang/agda-categories | 5 | 526 | <filename>src/Categories/Morphism/Lifts/Properties.agda
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
module Categories.Morphism.Lifts.Properties {o ℓ e} (𝒞 : Category o ℓ e) where
open import Level
open import Data.Product using (_,_; proj₁; proj₂)
open import Categories.Category.Construction... |
src/ado-c.ads | Letractively/ada-ado | 0 | 22642 | -----------------------------------------------------------------------
-- ado-c -- Support for driver implementation
-- Copyright (C) 2009, 2010, 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance... |
Library/Kernel/Heap/heapErrorCheck.asm | steakknife/pcgeos | 504 | 85137 | <gh_stars>100-1000
COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Kernel
FILE: heapErrorCheck.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
ECCheckMemHandle Verify... |
alloy4fun_models/trashltl/models/11/qJZPYncmTc4MNJZMc.als | Kaixi26/org.alloytools.alloy | 0 | 1420 | open main
pred idqJZPYncmTc4MNJZMc_prop12 {
eventually (some f : File | eventually after f in Trash)
}
pred __repair { idqJZPYncmTc4MNJZMc_prop12 }
check __repair { idqJZPYncmTc4MNJZMc_prop12 <=> prop12o } |
1A/S5/PIM/tps/tp6/exemples_memoire_dynamique.adb | MOUDDENEHamza/ENSEEIHT | 4 | 3105 | with Piles;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Unchecked_Deallocation; --// Pour libérer la mémoire allouée dynamiquement
procedure Exemples_Memoire_Dynamique is
type T_Pointeur_Integer is access Integer;
procedure Free
is new Ada.Unchecked_Deallocation (Integer, T_Pointeur_Integer);
-- o... |
programs/oeis/098/A098033.asm | jmorken/loda | 1 | 87300 | ; A098033: Parity of p(p+1)/2 for n-th prime p.
; 1,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0,1,0,0,1,0,0,1,1,1,0,0,1,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,1,0,0,0,0,1,1,0,1,0,1,0,1,0,1,1,0,1,0,0,1,1,0,1,0,1,1,0,0,1,0,0,1,1,1,1,0,1,0,1,0,0,1,1,1,0,0,0,0,0,0,0,1,1,0,1,0,1,0,1,0
cal $0,40 ; The prime numbers.
mul $0,15
div $0,2
mod $0,2
... |
src/Compiler/ASM/Runtime/asm/itoa_and_write.asm | PetukhovVictor/compiler2 | 3 | 240954 | <gh_stars>1-10
%define ASCII_ZERO 48
%define ASCII_MINUS 45
global itoa_and_write
itoa_and_write:
.itoa_start:
test eax, eax ; this test uses the SF flag (significant bit check)
js .itoa_print_minus ; if the first bit is 1 (SF=1), then the number is negative (g... |
src/base/dates/util-dates-iso8601.ads | RREE/ada-util | 60 | 8893 | <reponame>RREE/ada-util
-----------------------------------------------------------------------
-- util-dates-iso8601 -- ISO8601 dates
-- Copyright (C) 2011, 2013, 2016, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exc... |
Everything.agda | Akshobhya1234/agda-NonAssociativeAlgebra | 2 | 14099 | import Loop
import Loop.Bundles
import Loop.Definitions
import Loop.Properties
import Loop.Structures
import Magma
import Magma.Bundles
import Magma.Definitions
import Magma.Properties
import Magma.Structures
import Morphism.Structures
import Quasigroup
import Quasigroup.Bundles
import Quasigroup.Definitions
import Qua... |
focus-formation.agda | hazelgrove/hazelnut-dynamics-agda | 16 | 14535 | open import core
module focus-formation where
-- every ε is an evaluation context -- trivially, here, since we don't
-- include any of the premises in red brackets about finality
focus-formation : ∀{d d' ε} → d == ε ⟦ d' ⟧ → ε evalctx
focus-formation FHOuter = ECDot
focus-formation (FHAp1 sub) = ECAp1 (focus... |
oeis/040/A040522.asm | neoneye/loda-programs | 11 | 166774 | ; A040522: Continued fraction for sqrt(546).
; Submitted by <NAME>
; 23,2,1,2,1,2,46,2,1,2,1,2,46,2,1,2,1,2,46,2,1,2,1,2,46,2,1,2,1,2,46,2,1,2,1,2,46,2,1,2,1,2,46,2,1,2,1,2,46,2,1,2,1,2,46,2,1,2,1,2,46,2,1,2,1,2,46,2,1,2,1,2,46,2,1,2,1,2,46,2,1,2,1,2,46,2,1
mov $1,-82
pow $1,$0
mul $1,14
bin $1,2
mov $0,$1
div $0,9
mu... |
Cats/Category/Constructions/Epi.agda | alessio-b-zak/cats | 0 | 10573 | <reponame>alessio-b-zak/cats
module Cats.Category.Constructions.Epi where
open import Level
open import Cats.Category.Base
module Build {lo la l≈} (Cat : Category lo la l≈) where
private open module Cat = Category Cat
open Cat.≈-Reasoning
IsEpi : ∀ {A B} → A ⇒ B → Set (lo ⊔ la ⊔ l≈)
IsEpi {A} {B} f = ∀ {C... |
src/fot/FOTC/Data/Conat/Equality/PropertiesI.agda | asr/fotc | 11 | 15200 | <reponame>asr/fotc<gh_stars>10-100
------------------------------------------------------------------------------
-- Properties for the equality on Conat
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
... |
test/Fail/Issue2442-conflicting.agda | shlevy/agda | 1,989 | 14825 | {-# OPTIONS --safe --no-termination-check #-}
module Issue2442-conflicting where
|
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-zchhan.adb | orb-zhuchen/Orb | 0 | 29702 | <filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-zchhan.adb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
--... |
programs/oeis/001/A001014.asm | karttu/loda | 1 | 81358 | ; A001014: Sixth powers: a(n) = n^6.
; 0,1,64,729,4096,15625,46656,117649,262144,531441,1000000,1771561,2985984,4826809,7529536,11390625,16777216,24137569,34012224,47045881,64000000,85766121,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729000000,887503681,1073741824,1291467969,1544804... |
Structure/Category/Equiv.agda | Lolirofle/stuff-in-agda | 6 | 660 | <reponame>Lolirofle/stuff-in-agda
module Structure.Category.Equiv where
import Lvl
open import Structure.Setoid
open import Structure.Category
-- TODO: https://en.wikipedia.org/wiki/Equivalence_of_categories
module _ {ℓₒ ℓₘ : Lvl.Level} {Obj : Type{ℓₒ}} (Morphism : Obj → Obj → Type{ℓₘ}) ⦃ morphism-equiv : ∀{x y... |
oeis/210/A210381.asm | neoneye/loda-programs | 11 | 160106 | ; A210381: Triangle by rows, derived from the beheaded Pascal's triangle, A074909
; Submitted by <NAME>(s4)
; 1,0,2,0,1,3,0,1,3,4,0,1,4,6,5,0,1,5,10,10,6,0,1,6,15,20,15,7,0,1,7,21,35,35,21,8,0,1,8,28,56,70,56,28,9,0,1,9,36,84,126,126,84,36,10,0,1,10,45,120,210,252,210,120,45,11
lpb $0
add $1,1
sub $0,$1
mov $2,$... |
agda/Data/Unit/Properties.agda | oisdk/combinatorics-paper | 4 | 4951 | <filename>agda/Data/Unit/Properties.agda
{-# OPTIONS --cubical --safe #-}
module Data.Unit.Properties where
open import Data.Unit
open import Prelude
isProp⊤ : isProp ⊤
isProp⊤ _ _ = refl
|
applescript/iTunes/Unembed Details for Tracks in Current Playlist.applescript | chbrown/sandbox | 0 | 4330 | <filename>applescript/iTunes/Unembed Details for Tracks in Current Playlist.applescript
tell application "iTunes"
set old_indexing to fixed indexing
set fixed indexing to true
set current_playlist to (a reference to (get view of front window))
if selection is not {} then -- test if there is a selection...
set u... |
bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/a-reatim.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 15929 | <filename>bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/a-reatim.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
agda-stdlib/src/Data/List/Relation/Binary/Subset/Setoid/Properties.agda | DreamLinuxer/popl21-artifact | 5 | 12752 | <reponame>DreamLinuxer/popl21-artifact<filename>agda-stdlib/src/Data/List/Relation/Binary/Subset/Setoid/Properties.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties of the extensional sublist relation over setoid equality.
-----------------------... |
programs/oeis/095/A095144.asm | neoneye/loda | 22 | 88144 | <reponame>neoneye/loda
; A095144: Triangle formed by reading Pascal's triangle (A007318) mod 11.
; 1,1,1,1,2,1,1,3,3,1,1,4,6,4,1,1,5,10,10,5,1,1,6,4,9,4,6,1,1,7,10,2,2,10,7,1,1,8,6,1,4,1,6,8,1,1,9,3,7,5,5,7,3,9,1,1,10,1,10,1,10,1,10,1,10,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,2,1,0,0,0,0,0,0
seq $0,7318... |
shardingsphere-distsql-parser/shardingsphere-distsql-parser-engine/src/main/antlr4/imports/Keyword.g4 | Kugin/shardingsphere | 0 | 5314 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
old/Sets/PredicateSet/Finite.agda | Lolirofle/stuff-in-agda | 6 | 5988 | module Sets.PredicateSet.Finite{ℓₗ}{ℓₒ} where
import Lvl
open import Functional
open import Logic.Propositional{ℓₗ Lvl.⊔ ℓₒ}
open import Logic.Predicate{ℓₗ}{ℓₒ}
open import Numeral.Finite
open import Numeral.Natural
import Relator.Equals
open import Sets.PredicateSet
open import Structure.Function.Domain
ope... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_14_1007.asm | ljhsiun2/medusa | 9 | 98553 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %rax
push %rbx
push %rdi
push %rsi
lea addresses_A_ht+0x18a, %rbx
clflush (%rbx)
nop
nop
nop
nop
xor $51061, %rax
movups (%rbx), %xmm6
vpextrq $1, %xmm6, %rdi
nop
nop
sub %rbx, %rbx
lea addresses_WC_ht+0xcd54, %r12
and %rax, %rax
movw $0x6162, (%r12)
nop
nop
a... |
tests/vice-tests/VIC20/viavarious/via5.asm | PhylumChordata/chips-test | 330 | 177179 | !to "via5.prg", cbm
TESTID = 5
tmp=$fc
addr=$fd
add2=$f9
ERRBUF = $1f00
TMP = $2000 ; measured data on C64 side
DATA = $3000 ; reference data
TESTLEN = $20
NUMTESTS = 18 - 6
TESTSLOC = $1800
DTMP=screenmem
!src "common.asm"
* = TESTSLOC
;... |
programs/oeis/079/A079904.asm | jmorken/loda | 1 | 6763 | ; A079904: Triangle read by rows: T(n, k) = n*k, 0<=k<=n.
; 0,0,1,0,2,4,0,3,6,9,0,4,8,12,16,0,5,10,15,20,25,0,6,12,18,24,30,36,0,7,14,21,28,35,42,49,0,8,16,24,32,40,48,56,64,0,9,18,27,36,45,54,63,72,81,0,10,20,30,40,50,60,70,80,90,100,0,11,22,33,44,55,66,77,88,99,110,121
mov $2,$0
lpb $2
mov $0,$3
add $1,1
sub $... |
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/ldexp_callee.asm | jpoikela/z88dk | 640 | 97038 |
SECTION code_fp_math32
PUBLIC _ldexp_callee
EXTERN cm32_sdcc_ldexp_callee
defc _ldexp_callee = cm32_sdcc_ldexp_callee
|
scripts/RedsHouse1F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 92471 | RedsHouse1F_Script:
jp EnableAutoTextBoxDrawing
RedsHouse1F_TextPointers:
dw RedsHouse1FText1
dw RedsHouse1FText2
RedsHouse1FText1: ; Mom
TX_ASM
ld a, [wd72e]
bit 3, a
jr nz, .heal ; if player has received a Pokémon from Oak, heal team
ld hl, MomWakeUpText
call PrintText
jr .done
.heal
call MomHealPokemon
... |
programs/oeis/314/A314040.asm | neoneye/loda | 22 | 103023 | ; A314040: Coordination sequence Gal.4.133.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,11,15,21,25,31,36,41,47,51,57,61,67,72,77,83,87,93,97,103,108,113,119,123,129,133,139,144,149,155,159,165,169,175,180,185,191,195,201,20... |
src/main/antlr/ChiLexer.g4 | marad/chi-compiler-kotlin | 0 | 6750 | lexer grammar ChiLexer;
fragment DIGIT : [0-9] ;
fragment LETTER : [a-zA-Z] ;
VAL : 'val';
VAR : 'var';
FN : 'fn';
IF : 'if';
ELSE : 'else';
AS : 'as';
ARROW : '->' ;
COLON : ':' ;
LPAREN : '(' ;
RPAREN : ')' ;
LBRACE : '{' ;
RBRACE : '}' ;
COMMA : ',' ;
DB_QUOTE : '"' -> pushMode(STRING_READING) ;
EQUALS : '=' ;
... |
libsrc/msx/gen_ldirmv.asm | andydansby/z88dk-mk2 | 1 | 164781 | <filename>libsrc/msx/gen_ldirmv.asm
;
; z88dk library: Generic VDP support code
;
; LIDRMV
;
;
; $Id: gen_ldirmv.asm,v 1.1 2010/06/30 13:21:38 stefano Exp $
;
XLIB LIDRMV
LIB SETRD
INCLUDE "msx/vdp.inc"
LIDRMV:
call SETRD
ex (sp),hl
ex (sp),hl
loop:
in a,(VDP_DATAIN)
ld (de),a
inc de
dec bc
ld a,b
or... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.