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 |
|---|---|---|---|---|
smsq/q68/driver/8.asm | olifink/smsqe | 0 | 241876 | ; base area SMSQ Q68 Drivers / 8 bit Aurora
section header
xref smsq_end
include 'dev8_keys_con'
include 'dev8_keys_q68'
include 'dev8_smsq_smsq_base_keys'
include 'dev8_smsq_smsq_config_keys'
header_base
dc.l q68_con-header_base ; length of header
dc.l 0 ; module length unknown
dc.l smsq_end-q68_con... |
alloy4fun_models/trainstlt/models/5/W3wPSYaYfrH5GwqhW.als | Kaixi26/org.alloytools.alloy | 0 | 1630 | <filename>alloy4fun_models/trainstlt/models/5/W3wPSYaYfrH5GwqhW.als<gh_stars>0
open main
pred idW3wPSYaYfrH5GwqhW_prop6 {
no (Green & Green')
}
pred __repair { idW3wPSYaYfrH5GwqhW_prop6 }
check __repair { idW3wPSYaYfrH5GwqhW_prop6 <=> prop6o } |
libsrc/stdio/tms9918/bordercolour.asm | Toysoft/z88dk | 0 | 18573 | <reponame>Toysoft/z88dk
; void bordercolor(int c) __z88dk_fastcall;
;
;
SECTION code_clib
IF FORspc1000
PUBLIC __tms9918_bordercolor
ELSE
PUBLIC bordercolor
PUBLIC _bordercolor
defc bordercolor = __tms9918_bordercolor
defc _bordercolor = __tms9918_bordercolor
ENDIF
EXTERN conio_map_colour
EXTERN... |
oeis/178/A178809.asm | neoneye/loda-programs | 11 | 176979 | ; A178809: Decimal expansion of the area of the regular 12-gon (dodecagon) of edge length 1.
; Submitted by <NAME>
; 1,1,1,9,6,1,5,2,4,2,2,7,0,6,6,3,1,8,8,0,5,8,2,3,3,9,0,2,4,5,1,7,6,1,7,1,0,0,8,2,8,4,1,5,7,6,1,4,3,1,1,4,1,8,8,4,1,6,7,4,2,0,9,3,8,3,5,5,7,9,9,0,5,0,7,2,6,4,0,0,1,1,1,2,4,3,4,3,8,5,6,0,2,7,1,7,4,5,7,2
su... |
source/s-utfcon.adb | ytomino/drake | 33 | 28899 | <filename>source/s-utfcon.adb
package body System.UTF_Conversions is
pragma Suppress (All_Checks);
procedure unreachable
with Import,
Convention => Intrinsic, External_Name => "__builtin_unreachable";
pragma No_Return (unreachable);
procedure UTF_8_Length (
Code : UCS_4;
Leading... |
hello.applescript | stonej00/git_test | 0 | 2398 | --display dialog "text" default answer "hello"
--say "hello world"
-- display dialog "hell" giving up after 3
-- display dialog "hello" giving up after 3;
--display dialog "hello" buttons {"first","second"} default button "second" with icon note
--tell application "Finder"
---- get the name of front Finder wi... |
libsrc/stdio/msx/getk.asm | RC2014Z80/z88dk | 8 | 100454 | ;
; MSX C Library
;
; getk() Read key status
;
; <NAME> - Apr. 2000
;
;
; $Id: getk.asm,v 1.9 2016-06-12 17:07:44 dom Exp $
;
SECTION code_clib
PUBLIC getk
PUBLIC _getk
EXTERN fgetc_cons
EXTERN msxbios
IF FORmsx
INCLUDE "msxbios.def"
ELSE
INCLUDE "svibios.def"
ENDIF
.getk
._getk
... |
libsrc/rect/r_IsPtInIval16.asm | jpoikela/z88dk | 640 | 83059 | <filename>libsrc/rect/r_IsPtInIval16.asm
; Rectangle, Intervals and Points
; 05.2006 aralbrec
SECTION code_clib
PUBLIC r_IsPtInIval16
PUBLIC _r_IsPtInIval16
EXTERN RIsPtInIval16
; int r_IsPtInIval16(uint x, struct r_Ival16 *i)
.r_IsPtInIval16
._r_IsPtInIval16
ld hl,2
add hl,sp
ld e,(hl)
inc hl
ld d,... |
src/Tactic/Nat/Simpl.agda | lclem/agda-prelude | 0 | 11667 |
module Tactic.Nat.Simpl where
open import Prelude hiding (abs)
open import Builtin.Reflection
open import Tactic.Reflection.Quote
open import Tactic.Reflection
open import Tactic.Nat.Reflect
open import Tactic.Nat.NF
open import Tactic.Nat.Exp
open import Tactic.Nat.Auto
open import Tactic.Nat.Auto.Lemmas
open impor... |
tools/assembler/forth/rs.asm | Darkstrumn/HCTM | 4 | 91255 | <filename>tools/assembler/forth/rs.asm
dvar IOXADDR,7,,,3
dword BINDIOX,7,F_HIDDEN,
.wp IOXADDR
.wp PEEK
.wp BUS_SETADDR
.wp EXIT
dword IOX!,4,,IOXPOKE
.wp BINDIOX
.lit 2
.wp BUS_POKE
.wp EXIT
dword IOXO@,5,F_HIDDEN,IOXOPEEK
.wp BINDIOX
.lit 2
.wp BUS_PEEK
.wp EXIT
dword IOX@,4,,... |
libsrc/_DEVELOPMENT/adt/b_array/c/sdcc_iy/b_array_push_back_callee.asm | jpoikela/z88dk | 640 | 168976 |
; size_t b_array_push_back_callee(b_array_t *a, int c)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC _b_array_push_back_callee
EXTERN _b_array_append_callee
defc _b_array_push_back_callee = _b_array_append_callee
|
src/file_operations-heap.ads | kraileth/ravenadm | 18 | 634 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with System.Pool_Local;
generic
File_Size : Natural; -- handle empty file
package File_Operations.Heap is
localPool : System.Pool_Local.Unbounded_Reclaim_Pool;
subtype HM_File_String is String (1 .. ... |
Task/Call-a-function-in-a-shared-library/Ada/call-a-function-in-a-shared-library-1.ada | djgoku/RosettaCodeData | 0 | 11481 | with Ada.Text_IO; use Ada.Text_IO;
with Interfaces; use Interfaces;
with Interfaces.C; use Interfaces.C;
with System; use System;
with Ada.Unchecked_Conversion;
procedure Shared_Library_Call is
--
-- Interface to kernel32.dll which is resposible for loading DLLs under Windows.
-- There are ready... |
source/contexts/plain/program-plain_compilations.ads | reznikmm/gela | 0 | 24342 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with System.Storage_Pools.Subpools;
with Program.Compilation_Units;
with Program.Compilations;
with Program.Contexts;
with Program.Lexical_Elements;
with Program.Parsers;... |
aom_20170505/aom_ports/emms.asm | rainliu/aom_analyzer | 0 | 243639 | ;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at ww... |
programs/oeis/053/A053866.asm | neoneye/loda | 22 | 89976 | ; A053866: Parity of A000203(n), the sum of the divisors of n; a(n) = 1 when n is a square or twice a square, 0 otherwise.
; 1,1,0,1,0,0,0,1,1,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1... |
Tools/idl/IDLParser.g4 | All8Up/cpf | 6 | 6460 | <filename>Tools/idl/IDLParser.g4
parser grammar IDLParser;
options { tokenVocab = IDLLexer; }
main : global_statements? EOF;
// Statements allowed in global scope.
global_statements : global_statement+;
global_statement : import_stmt
| struct_stmt
... |
Cubical/Algebra/ZariskiLattice/Base.agda | howsiyu/cubical | 0 | 7302 | {-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.Algebra.ZariskiLattice.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Univalence
open im... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1735.asm | ljhsiun2/medusa | 9 | 80479 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x77b, %r11
nop
nop
add $43207, %r15
movb $0x61, (%r11)
nop
xor $47964, %r8
lea addresses_WT_ht+0x66ab, %rsi
lea addresses_A_ht+0x13eab, %rdi
nop
nop
n... |
onekpaq_stub_lnx32.asm | LaszloAshin/oneKpaq | 29 | 22131 | <filename>onekpaq_stub_lnx32.asm<gh_stars>10-100
; vim: set ft=nasm noet ts=4:
; offset = 2, mode=3, dind=2, shift=3
%ifndef ONEKPAQ_DECOMPRESSOR_MODE
%error "please define ONEKPAQ_DECOMPRESSOR_MODE"
;%define ONEKPAQ_DECOMPRESSOR_MODE 3
%endif
%ifndef ONEKPAQ_DECOMPRESSOR_SHIFT
%error "please define ONEKPAQ_DECOMPRE... |
src/main/fragment/mos6502-common/vwsm1=pwsc1_derefidx_vbuxx_minus_vwsc2.asm | jbrandwood/kickc | 2 | 1080 | <reponame>jbrandwood/kickc
lda {c1},x
sec
sbc #<{c2}
sta {m1}
lda {c1}+1,x
sbc #>{c2}
sta {m1}+1
|
third_party/codecs/xvidcore/src/image/x86_asm/qpel_mmx.asm | Narflex/sagetv | 292 | 240329 | ;/*****************************************************************************
; *
; * XVID MPEG-4 VIDEO CODEC
; * - Quarter-pixel interpolation -
; * Copyright(C) 2002 <NAME> <<EMAIL>>
; *
; * This file is part of Xvid, a free MPEG-4 video encoder/decoder
; *
; * Xvid is free software; you can redistribute it an... |
pkgs/tools/yasm/src/libyasm/tests/opt-align2.asm | manggoguy/parsec-modified | 2,151 | 245717 | je label1
je label1
times 4 nop
times 8 nop
align 8
times 110 nop
je label2
label1:
times 128 nop
label2:
|
Univalence/OldUnivalence/Path2Equiv.agda | JacquesCarette/pi-dual | 14 | 7509 | {-# OPTIONS --without-K #-}
module Path2Equiv where
-- nothing for the standard library needed directly!
open import FT
open import Equivalences
open import TypeEquivalences
-- We now have enough to map each Pi combinator to the corresponding type equivalence
path2equiv : {B₁ B₂ : FT} → (B₁ ⇛ B₂) → (⟦ B₁ ⟧ ≃ ⟦ B₂ ⟧... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_3058.asm | ljhsiun2/medusa | 9 | 95213 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1abde, %r15
nop
and $23066, %rbp
movl $0x61626364, (%r15)
nop
inc %rbx
lea addresses_normal_ht+0xf91e, %rbx
nop
nop
nop
nop
add %r13, %r13
mov (%rbx), %r9... |
oeis/339/A339355.asm | neoneye/loda-programs | 11 | 10962 | <gh_stars>10-100
; A339355: Maximum number of copies of a 12345 permutation pattern in an alternating (or zig-zag) permutation of length n + 7.
; Submitted by <NAME>(s2)
; 8,16,64,112,272,432,832,1232,2072,2912,4480,6048,8736,11424,15744,20064,26664,33264,42944,52624,66352,80080,99008,117936,143416,168896,202496,236096... |
src/sys/measures/util-measures.adb | My-Colaborations/ada-util | 0 | 16886 | <filename>src/sys/measures/util-measures.adb
-----------------------------------------------------------------------
-- measure -- Benchmark tools
-- Copyright (C) 2008 - 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ex... |
day_07.adb | jweese/Ada_Vent_19 | 1 | 10596 | with Ada.Integer_Text_IO;
with Intcode;
with Memory;
procedure Day_07 is
use type Memory.Value;
Mem: constant Memory.Block := Memory.Read_Comma_Separated;
type Amp_Range is range 1 .. 5;
type Phase is mod 5;
type Phases is array (Amp_Range) of Phase;
procedure Increment(X: in out Phases) is
beg... |
examples/temphum/main.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 12365 | <reponame>ekoeppen/STM32_Generic_Ada_Drivers
with STM32GD.Board; use STM32GD.Board;
with Drivers.Si7006;
procedure Main is
package Si7006 is new Drivers.Si7006 (I2C => I2C);
Temperature : Si7006.Temperature_Type;
Humidity : Si7006.Humidity_Type;
Now : RTC.Date_Time_Type;
Wait_Time : RTC.S... |
audio/sfx/intro_raise.asm | opiter09/ASM-Machina | 1 | 85830 | SFX_Intro_Raise_Ch8:
noise_note 2, 6, -7, 33
noise_note 2, 10, -7, 49
noise_note 15, 15, 2, 65
sound_ret
|
array.asm | slowy07/learnAsm | 1 | 91594 | section .text
global _start
_start:
mov eax, 3
mov ebx, 0
mov ecx, x
top: add ebx, [ecx]
add ecx, 1 ;pointer next elemen
dec eax ;decrement
jnz top ;if count not 0, then looping
done:
add ebx, '0'
mov [sum], ebx ;store the result
display:
mov edx, 1
mov ecx, sum
m... |
src/stm32-pwr.ads | damaki/EVB1000 | 0 | 25145 | <reponame>damaki/EVB1000
-- This spec has been automatically generated from STM32F105xx.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
with System;
package STM32.PWR is
pragma Preelaborate;
---------------
-- Registers --
---------------
-----------------
-- CR_Register --
--... |
programs/oeis/276/A276383.asm | neoneye/loda | 22 | 17871 | ; A276383: Complement of A158919: complementary Beatty sequence to the Beatty sequence defined by the tribonacci constant tau = A058265.
; 2,4,6,8,10,13,15,17,19,21,24,26,28,30,32,35,37,39,41,43,46,48,50,52,54,56,59,61,63,65,67,70,72,74,76,78,81,83,85,87,89,92,94,96,98,100,102,105,107,109,111,113,116,118,120,122,124,12... |
models/amalgam/tests/test_q_desugar.als | transclosure/Amalgam | 4 | 1837 | sig Node { edges: set Node }
fact oneDepartureNode {
one n: Node | some n.edges
}
// Can never have zero destinations due to the above fact, but test desugaring of lone Qt
fact loneDestination {
lone n: Node | some edges.n
}
// To test desugaring, ask why NOT some inconsistent edge (requires >1 Node)
// Model: On... |
arch/lib/scheme/write_sob_fract.asm | Mosseridan/Compiler-Principles | 0 | 84892 | /* scheme/write_sob_fract.asm
* Take a pointer to a Scheme fract object, and
* prints (to stdout) the character representation
* of that object.
*
* Programmer: <NAME>, 2017
*/
WRITE_SOB_FRACT:
PUSH(FP);
MOV(FP, SP);
PUSH(R1);
MOV(R1, FPARG(0));
MOV(R0, INDD(R1 , 1));
PUSH(R0);
CALL(WRITE_INTEG... |
external/source/shellcode/bsdi/ia32/stager_sock_find.asm | OsmanDere/metasploit-framework | 26,932 | 242812 | <reponame>OsmanDere/metasploit-framework
;;
;
; Name: stager_sock_find
; Qualities: Can Have Null
; Platforms: BSDi
; Authors: skape <mmiller [at] hick.org>
; optyx <optyx [at] uberhax0r.net>
; Version: $Revision: 1633 $
; License:
;
; This file is part of the Metasploit Exp... |
Verilog/P7/test/P7测试集/延迟槽异常.asm | JJLeo/BUAA-CO-2020 | 9 | 502 | .text
li $28, 0
li $29, 0
li $1, 1
bne $0, $0, end
lw $1, 1($0)
li $1, 1
bne $0, $0, end
lh $1, 1($0)
li $1, 1
bne $0, $0, end
lhu $1, 1($0)
li $1, 1
bne $0, $0, end
lh $1, 0x7f00($0)
li $1, 1
bne $0, $0, end
lhu $1, 0x7f04($0)
li $1, 1
bne $0, $0, end
lb $1, 0x7f08($0)
li $1, 1
bne $0, $0, end
lbu $1, 0x7f10($0)
li... |
software/hal/hpl/STM32/drivers/i2c_stm32f7/stm32-i2c.ads | TUM-EI-RCS/StratoX | 12 | 10861 | ------------------------------------------------------------------------------
-- --
-- Standard Peripheral Library for STM32 Targets --
-- --
-- ... |
programs/oeis/092/A092055.asm | neoneye/loda | 22 | 162741 | ; A092055: C(2+2^n,3).
; 1,4,20,120,816,5984,45760,357760,2829056,22500864,179481600,1433753600,11461636096,91659526144,733141975040,5864598896640,46914643623936,375308558925824,3002434111406080,24019335451770880,192154133857304576
mov $1,2
pow $1,$0
add $1,2
bin $1,3
mov $0,$1
|
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/simple_select_accept_guarded.adb | ouankou/rose | 488 | 7838 | -- same as simple_select_accept, with two select cases decorated with
-- when conditions in the task body.
procedure Simple_Select_Accept_Guarded(Ch : Character) is
task Callee is
entry Do_This;
entry Do_That;
entry Do_Nothing;
end Callee;
task body Callee is
begin
delay 5.0;
select ... |
src/bios.asm | bitmappergit/virtual-xt | 0 | 80983 | <filename>src/bios.asm
; BIOS source for VirtualXT IBM PC/XT emulator.
; Copyright (c) 2013-2014 <NAME> (<EMAIL>)
; Copyright (c) 2019-2020 <NAME> (<EMAIL>)
;
; This work is licensed under the MIT License. See included LICENSE file.
;
; Compiles with NASM.
cpu 8086
; Here we define macros for some custom instruction... |
cli-widgets-progress_bars.adb | annexi-strayline/ASAP-CLI | 0 | 18584 | ------------------------------------------------------------------------------
-- --
-- Command Line Interface Toolkit --
-- --
-- -... |
engine/source/math/mMathSSE_ASM.asm | Sednari/twitch-tutorial-flappy-birds | 1,309 | 91699 | <reponame>Sednari/twitch-tutorial-flappy-birds
;-----------------------------------------------------------------------------
; Copyright (c) 2013 GarageGames, LLC
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"),... |
kernel/core/interrupts.asm | Seltzer/royston-vasey-os | 0 | 7722 | <reponame>Seltzer/royston-vasey-os
bits 32
; Declare globals and externs
global load_idt
global noop_handler
[extern handle_interrupt]
; Define macro for generating an interrupt handler
%macro gen_interrupt_handler 1
global interrupt_handler_%1
interrupt_handler_%1:
push dword 0 ... |
programs/oeis/134/A134999.asm | neoneye/loda | 22 | 100819 | <gh_stars>10-100
; A134999: Triangle-shaped numbers.
; 100,101,102,103,104,105,106,107,108,109,110,112,113,114,115,116,117,118,119,120,121,122,124,125,126,127,128,129,130,131,132,133,134,136,137,138,139,140,141,142,143,144,145,146,148,149,150,151
mov $1,$0
div $1,11
add $0,$1
add $0,100
|
message/generation/swift-mt-generation/repository/SR2018/grammars/SwiftMtParser_MT564.g4 | Yanick-Salzmann/message-converter-c | 0 | 5934 | grammar SwiftMtParser_MT564;
@lexer::header {
#include "repository/ISwiftMtParser.h"
#include "SwiftMtMessage.pb.h"
#include <vector>
#include <string>
#include "BaseErrorListener.h"
}
@parser::header {
#include "repository/ISwiftMtParser.h"
#include "SwiftMtMessage.pb.h"
#include <vector>
#include <string>
#include ... |
libsrc/z80_crt0s/8080/sccz80/l_long_mult.asm | Frodevan/z88dk | 38 | 18931 | <filename>libsrc/z80_crt0s/8080/sccz80/l_long_mult.asm
;Copyright (c) 1987, 1990, 1993, 2005 Vrije Universiteit, Amsterdam, The Netherlands.
;All rights reserved.
;
;Redistribution and use of the Amsterdam Compiler Kit in source and
;binary forms, with or without modification, are permitted provided
;that the following... |
programs/oeis/249/A249983.asm | jmorken/loda | 1 | 90524 | <reponame>jmorken/loda
; A249983: Number of length 3+1 0..2*n arrays with the sum of the absolute values of adjacent differences equal to 3*n.
; 20,88,208,426,728,1178,1744,2508,3420,4580,5920,7558,9408,11606,14048,16888,20004,23568,27440,31810,36520,41778,47408,53636,60268,67548,75264,83678,92560,102190,112320,123248,... |
source/league/league-characters-latin.ads | svn2github/matreshka | 24 | 6154 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
examples/F38x/ADCmul/F38x_ADCmul.asm | FSXAC/ELEC291P2 | 0 | 14296 | <filename>examples/F38x/ADCmul/F38x_ADCmul.asm
;--------------------------------------------------------
; File Created by C51
; Version 1.0.0 #1069 (Apr 23 2015) (MSVC)
; This file was generated Wed Mar 01 14:21:45 2017
;--------------------------------------------------------
$name F38x_ADCmul
$optc51 --model-small
$... |
software/modules/buzzer_manager.ads | TUM-EI-RCS/StratoX | 12 | 1018 | -- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME> (<EMAIL>)
with Units; use Units;
-- @summary
-- Interface to use a buzzer/beeper.
package Buzzer_Manager with SPARK_Mode is
-- subtype T_Name is Character
-- wit... |
Cubical/Categories/Presheaf/Properties.agda | Edlyr/cubical | 0 | 9428 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Categories.Presheaf.Properties where
open import Cubical.Categories.Category
open import Cubical.Categories.NaturalTransformation
open import Cubical.Categories.Instances.Sets
open import Cubical.Categories.Instances.Functors
open import Cubical.Catego... |
Library/Text/TextStorage/tsVariables.asm | steakknife/pcgeos | 504 | 94878 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: tsVariables.asm
AUTHOR: <NAME>, Nov 19, 1991
REVISION HISTORY:
Name Date Description
---- ---- -----------
John 11/19/91 Initial rev... |
undo.als | nishio/learning_alloy | 1 | 4011 | <reponame>nishio/learning_alloy
// undo
open util/ordering[Time]
sig Time {
act: lone Action,
state: State
}
abstract sig Action {}
sig Change extends Action{
before: State,
after: State
}{
before != after
}
one sig Undo extends Action{}
one sig Redo extends Action{}
sig State {
undo: State -> Time,
redo: St... |
programs/oeis/085/A085952.asm | neoneye/loda | 22 | 242160 | ; A085952: First n-digit number that occurs in the sequence A085951.
; 1,91,901,9001,90001,900001,9000001,90000001,900000001,9000000001,90000000001,900000000001,9000000000001,90000000000001,900000000000001,9000000000000001,90000000000000001,900000000000000001,9000000000000000001,90000000000000000001,9000000000000000000... |
Task/Safe-addition/Ada/safe-addition-1.ada | mullikine/RosettaCodeData | 1 | 16505 | <gh_stars>1-10
type Interval is record
Lower : Float;
Upper : Float;
end record;
|
oeis/216/A216886.asm | neoneye/loda-programs | 11 | 3629 | <reponame>neoneye/loda-programs
; A216886: Primes p such that x^59 = 2 has a solution mod p.
; Submitted by <NAME>
; 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,... |
programs/oeis/070/A070420.asm | karttu/loda | 0 | 80887 | <gh_stars>0
; A070420: a(n) = 7^n mod 37.
; 1,7,12,10,33,9,26,34,16,1,7,12,10,33,9,26,34,16,1,7,12,10,33,9,26,34,16,1,7,12,10,33,9,26,34,16,1,7,12,10,33,9,26,34,16,1,7,12,10,33,9,26,34,16,1,7,12,10,33,9,26,34,16,1,7,12,10,33,9,26,34,16,1,7,12,10,33,9,26,34,16,1,7,12,10,33,9,26,34,16,1,7,12,10,33,9,26,34,16,1,7,12,10,33... |
test/arch/FormatText.asm | yunxu1019/efront | 1 | 15737 | <reponame>yunxu1019/efront
.386
.model flat,stdcall
option casemap:none
;
; Include 文件定义
;
__UNICODE__ equ 1
include windows.inc
include user32.inc
includelib user32.lib
include kernel32.inc
includelib kernel32.lib
include comdlg32.inc
includelib comdlg32.lib
;
;Equ 等值
;
ICO_MAIN equ 1000
DLG_MAIN equ 100
IDC_FILE equ ... |
oeis/346/A346731.asm | neoneye/loda-programs | 11 | 164136 | <gh_stars>10-100
; A346731: Replace 8^k with (-1)^k in base-8 expansion of n.
; Submitted by <NAME>
; 0,1,2,3,4,5,6,7,-1,0,1,2,3,4,5,6,-2,-1,0,1,2,3,4,5,-3,-2,-1,0,1,2,3,4,-4,-3,-2,-1,0,1,2,3,-5,-4,-3,-2,-1,0,1,2,-6,-5,-4,-3,-2,-1,0,1,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,-1,0,1,2,3,4,5,6,-2,-1,0,1,2,3... |
base/Kernel/Native/arm/Crt/regnames.asm | sphinxlogic/Singularity-RDK-2.0 | 0 | 2771 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Microsoft Research Singularity
;;;
;;; Copyright (c) Microsoft Corporation. All rights reserved.
;;;
;;; This file contains ARM-specific assembly code.
;;;
; Assembler source for FPA support code and e... |
libsrc/_DEVELOPMENT/string/c/sdcc_iy/strnicmp_callee.asm | jpoikela/z88dk | 640 | 11381 | <gh_stars>100-1000
; int strnicmp_callee(const char *s1, const char *s2, size_t n)
SECTION code_clib
SECTION code_string
PUBLIC _strnicmp_callee
EXTERN _strncasecmp_callee
defc _strnicmp_callee = _strncasecmp_callee
|
ExamplePrograms/BitOperations.asm | douaumont/i8008_emu | 0 | 85918 | ;This program demonstrates how the bit operations work
;All the result are stored in register A
lai $AA
ori $55 ;the result will be $FF
lai $AA
lbi $02
xrb ;the result will be $A8
lai $BC
lci $0F
ndc ;the result will be $0C
;NOT operation
lai $AA
xri $FF ;the result will be $55
hlt |
Eval.agda | bens/hwlc | 0 | 9229 | <filename>Eval.agda
module Eval where
open import Coinduction
open import Data.Bool
open import Data.Fin using (Fin)
import Data.Fin as F
open import Data.Product using (Σ; _,_)
import Data.Product as P
open import Data.Stream using (Stream; _∷_)
import Data.Stream as S
open import Data.Vec ... |
Sources/BIOS/kbd.asm | romychs/Orion-PRO | 0 | 98326 |
; =============================================
; Модуль обслуживания клавиатуры в ROM1
; =============================================
; ---------------------------------------------
;Статус клавиатуры
; ---------------------------------------------
STTS IN A,(0x0)
AND 0x4
JR Z,STTS1
... |
Mockingbird/Forest/Combination/Properties.agda | splintah/combinatory-logic | 1 | 6183 | <gh_stars>1-10
open import Mockingbird.Forest using (Forest)
module Mockingbird.Forest.Combination.Properties {b ℓ} (forest : Forest {b} {ℓ}) where
open import Data.Product using (_×_; _,_)
open import Relation.Binary using (_Respects_)
open import Relation.Unary using (Pred; _∈_; _⊆_; ∅; _∩_)
open import Level using... |
programs/oeis/131/A131668.asm | karttu/loda | 1 | 244714 | ; A131668: Smallest number whose sum of digits is 2n+1.
; 1,3,5,7,9,29,49,69,89,199,399,599,799,999,2999,4999,6999,8999,19999,39999,59999,79999,99999,299999,499999,699999,899999,1999999,3999999,5999999,7999999,9999999,29999999,49999999,69999999,89999999,199999999
add $0,5
cal $0,133296 ; Smallest number whose sum of d... |
programs/oeis/270/A270456.asm | jmorken/loda | 1 | 246670 | ; A270456: First differences of number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 163", based on the 5-celled von Neumann neighborhood.
; 4,4,24,-8,60,-36,112,-80,180,-140,264,-216,364,-308,480,-416,612,-540,760,-680,924,-836,1104,-1008,1300,-1196,1512,-140... |
test/clipboard.adb | treggit/sdlada | 89 | 6064 | <reponame>treggit/sdlada<filename>test/clipboard.adb
with SDL;
with SDL.Clipboard;
with SDL.Log;
with SDL.Video.Windows;
with SDL.Video.Windows.Makers;
procedure Clipboard is
W : SDL.Video.Windows.Window;
begin
SDL.Log.Set (Category => SDL.Log.Application, Priority => SDL.Log.Debug);
if SDL.Initialise = True... |
programs/oeis/034/A034106.asm | karttu/loda | 1 | 88025 | ; A034106: Fractional part of square root of n starts with 0: first term of runs (squares excluded).
; 26,37,50,65,82,101,122,145,170,197,226,257,290,325,362,401,442,485,530,577,626,677,730,785,842,901,962,1025,1090,1157,1226,1297,1370,1445,1522,1601,1682,1765,1850,1937,2026,2117,2210,2305,2402,2501,2602
mov $1,$0
add... |
Assignment-6/host_mod.nasm | xMilkPowderx/SLAE-Code | 1 | 176254 | ;Filename: host_mod.nasm
;Author: <NAME>
;Student ID: SLAE-1470
;SLAE-Exercise 6
global _start
section .text
_start:
xor ecx, ecx
mul ecx
mov al, 0x5
push ecx
;push 0x7374736f ;/etc///hosts
;push 0x682f2f2f
;push 0x6374652f
jmp short _load_name ;We will use another jmp call pop to replace it instead
_open:
... |
programs/oeis/185/A185355.asm | neoneye/loda | 22 | 16368 | ; A185355: Number of n X n symmetric (0,1)-matrices containing four ones.
; 0,1,12,52,150,345,686,1232,2052,3225,4840,6996,9802,13377,17850,23360,30056,38097,47652,58900,72030,87241,104742,124752,147500,173225,202176,234612,270802,311025,355570,404736,458832,518177,583100,653940,731046,814777,905502,1003600,1109460,122... |
tarmi-symbols.ads | DerickEddington/tarmi | 0 | 20306 | with Ada.Containers; use Ada.Containers;
with Ada.Containers.Hashed_Maps;
package Tarmi.Symbols is
type Symbol_R (N : Positive) is new Datum_R with
record
Name : String_Type (1 .. N);
end record;
type Symbol is not null access constant Symbol_R;
type String_Type_A is not null access con... |
c/03-bootstrap/06-flappy-bird/build/main.rgbds.asm | willbr/gameboy-tests | 0 | 241881 | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.0.0 #11528 (MINGW64)
;--------------------------------------------------------
; MODULE main
.optsdcc -mgbz80
; Generated using the rgbds tokens.
; We have to define these here as sdcc doe... |
io.asm | jensene2/SuperAssemBros | 0 | 166013 | <reponame>jensene2/SuperAssemBros<filename>io.asm<gh_stars>0
segment .data
termios: times 36 db 0
stdin: equ 0
ICANON: equ 1<<1
ECHO: equ 1<<3
segment .text
global canonical_off, echo_off,echo_on, canonical_on, write_stdin_termios, read_stdin_termios
;********************************... |
programs/oeis/063/A063225.asm | karttu/loda | 1 | 176444 | <reponame>karttu/loda
; A063225: Dimension of the space of weight 2n cuspidal newforms for Gamma_0( 62 ).
; 3,8,12,18,22,28,32,38,42,48,52,58,62,68,72,78,82,88,92,98,102,108,112,118,122,128,132,138,142,148,152,158,162,168,172,178,182,188,192,198,202,208,212,218,222,228,232,238,242,248
mov $1,$0
mod $0,2
mul $1,5
trn $... |
examples/stm32f3/nested_generics/peripherals.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 29617 | with STM32GD.GPIO.Pin;
generic
with package Input is new STM32GD.GPIO.Pin (<>);
with package Output is new STM32GD.GPIO.Pin (<>);
package Peripherals is
procedure Init;
procedure Run;
end Peripherals;
|
src/decls-tn.ads | alvaromb/Compilemon | 1 | 17719 | <gh_stars>1-10
-- ------------------------------------------------
-- Paquet de declaracions
-- ------------------------------------------------
-- Versio : 0.1
-- Autors : <NAME>
-- <NAME>
-- <NAME>
-- ------------------------------------------------
-- En aquest fitxer tenim de... |
libsrc/_DEVELOPMENT/adt/w_array/c/sdcc_ix/w_array_insert_n.asm | jpoikela/z88dk | 640 | 26894 | <gh_stars>100-1000
; size_t w_array_insert_n(w_array_t *a, size_t idx, size_t n, void *item)
SECTION code_clib
SECTION code_adt_w_array
PUBLIC _w_array_insert_n
EXTERN l0_w_array_insert_n_callee
_w_array_insert_n:
exx
pop bc
exx
pop hl
pop bc
pop de
pop af
push af
push de
push bc... |
programs/oeis/130/A130823.asm | karttu/loda | 1 | 80293 | <gh_stars>1-10
; A130823: Each odd number appears thrice.
; 1,1,1,3,3,3,5,5,5,7,7,7,9,9,9,11,11,11,13,13,13,15,15,15,17,17,17,19,19,19,21,21,21,23,23,23,25,25,25,27,27,27,29,29,29,31,31,31,33,33,33,35,35,35,37,37,37,39,39,39,41,41,41,43,43,43,45,45,45,47,47,47,49,49,49,51,51,51,53,53,53,55,55,55,57,57,57,59,59,59,61,61... |
code/file/fcb.asm | abekermsx/skooted | 3 | 102099 |
clear_fcb:
ld hl,fcbdat
ld bc,25
xor a
call fill_ram
ret
initialize_fcb:
ld hl,0
ld (fcb+12),hl ; set blocknumber to 0
ld (fcb+33),hl ; set random block to 0
ld (fcb+35),hl
ld (fcb+32),hl ; set current record 0
in... |
SVD2ada/svd/stm32_svd-dac.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 23413 | <filename>SVD2ada/svd/stm32_svd-dac.ads
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32H743x.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.DAC is
pragma Preelaborate;
---------------
-- Registers --
---------------
subty... |
ANTLRTestProjects/antbased/ParserRules/grammar/ParserRuleElementAssocOption.g4 | timboudreau/ANTLR4-Plugins-for-NetBeans | 1 | 1874 | grammar ParserRuleElementAssocOption;
expr :
expr '^'<assoc=right> expr // ^ operator is right associative
| INT
;
INT : '0'..'9'+ ;
WS : [ \n]+ -> skip ; |
teaser I/asm/TileCollision ROF.asm | fa8ntomas/bclk-samples | 0 | 240320 | <reponame>fa8ntomas/bclk-samples
; Map 'ROF' Tile Collision
.local
cmp #$15
beq fatal
cmp #$16
beq fatal
cmp #$17
beq fatal
rts
fatal
jmp HitFatal
.endl |
src/infrastructure/infrastructure.ads | AdamSzerszen/Concurrency_v.2.0 | 0 | 9224 | <gh_stars>0
with Units; use Units;
package Infrastructure is
type Steering;
type Steering_ptr is access Steering;
protected type Steering is
entry SetNumber(CorrectNumber: in SteeringNumber);
entry Incoming(CurrentTram: in TramNumber);
entry Leaving;
entry CheckStatus;
private
... |
stampa_quadrati_perfetti.asm | lorenzocamilli/assembly-mips-esercizi | 0 | 22094 | <gh_stars>0
#Si scriva un programma in linguaggio assembly MIPS
#per il calcolo dei quadrati perfetti per una sequenza di
#numeri. Il programma deve prima leggere un numero inserito
#da tastiera, e quindi stampare i primi quadrati perfetti sino
#al quadrato del numero.
#ES:
#INPUT=5
#OUTPUT=1,4,9,16,25
.text
.globl... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0_notsx.log_19_532.asm | ljhsiun2/medusa | 9 | 175780 | <filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0_notsx.log_19_532.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1c60d, %rsi
lea addresses_UC_ht+0xcd0d, %rdi
nop
sub $32870, %r11
mov $74, %rcx
rep movsw
nop
n... |
WellFounded.agda | oisdk/agda-playground | 6 | 16535 | <filename>WellFounded.agda
{-# OPTIONS --cubical --safe #-}
module WellFounded where
open import Level
data Acc {a r} {A : Type a} (R : A → A → Type r) (x : A) : Type (a ℓ⊔ r) where
acc : (∀ y → R y x → Acc R y) → Acc R x
-- record Acc {a r} {A : Type a} (R : A → A → Type r) (x : A) : Type (a ℓ⊔ r) where
-- ind... |
agda/Confluence.agda | anqurvanillapy/fpl | 1 | 13088 | {-# OPTIONS --safe #-}
module Confluence where
open import Relation.Binary.PropositionalEquality
using (_≡_; refl)
cong : ∀ {A B : Set} {x y : A} (f : A → B) → x ≡ y → f x ≡ f y
cong f refl = refl
data ℕ : Set where
Z : ℕ
S : ℕ → ℕ
add : ℕ → ℕ → ℕ
add n Z = n
add n (S m) = S (add n m)
_ : ∀ {a : ℕ} → add a ... |
oeis/100/A100062.asm | neoneye/loda-programs | 11 | 100184 | ; A100062: Denominator of the probability that an integer n occurs in the cumulative sums of the decimal digits of a random real number between 0 and 1.
; 9,81,729,6561,59049,531441,4782969,43046721,387420489,3486784401,31381059609,282429536481,2541865828329,22876792454961,205891132094649,1853020188851841,1667718169966... |
SAB.g4 | JacobJinTheAsian/Wallpaperer | 0 | 3678 | grammar SAB;
//s : head | (head ('\n' s)) | ;
s: head (NEWLINE head)* END;
head : (slideshow | group | overlay_text | overlay_image | source)';';
source : SOURCE ' ' variable ' ' path;
group : GROUP ' ' variable ':'NEWLINE DIGIT ' ' path image (NEWLINE DIGIT ' ' path image)*;
overlay_image : OVERLAY ' IMAGE ' variab... |
programs/oeis/040/A040460.asm | neoneye/loda | 22 | 9854 | <reponame>neoneye/loda
; A040460: Continued fraction for sqrt(482).
; 21,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20,1,42,1,20
gcd $0,262156
mul $0,42
mod $0,13
mov $1,$0
div $1,5
mul $1,1... |
Transynther/x86/_processed/P/_zr_/i7-8650U_0xd2.log_176_1183.asm | ljhsiun2/medusa | 9 | 104442 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x13b80, %r15
nop
nop
dec %r11
mov $0x6162636465666768, %rsi
movq %rsi, %xmm6
movups %xmm6, (%r15)
nop
nop
nop
nop
cmp %r13, %r13
lea addresses_UC_ht+0xb840, %rsi
lea addresse... |
oeis/071/A071323.asm | neoneye/loda-programs | 11 | 167729 | ; A071323: Alternating sum of all divisors of n; divisors nondecreasing, starting with 1.
; Submitted by <NAME>
; 1,-1,-2,3,-4,-4,-6,-5,7,-6,-10,-8,-12,-8,-12,11,-16,-13,-18,-12,-16,-12,-22,-16,21,-14,-20,-18,-28,-22,-30,-21,-24,-18,-32,25,-36,-20,-28,-24,-40,-32,-42,-30,-36,-24,-46,-32,43,-31,-36,-36,-52,-40,-48,-38,-... |
core/lib/cubical/SquareOver.agda | mikeshulman/HoTT-Agda | 0 | 12558 | {-# OPTIONS --without-K --rewriting #-}
open import lib.Base
open import lib.PathGroupoid
open import lib.PathOver
open import lib.cubical.Square
module lib.cubical.SquareOver where
SquareOver : ∀ {i j} {A : Type i} (B : A → Type j) {a₀₀ a₀₁ a₁₀ a₁₁ : A}
{p₀₋ : a₀₀ == a₀₁} {p₋₀ : a₀₀ == a₁₀} {p₋₁ : a₀₁ == a₁₁} {p₁... |
programs/oeis/065/A065043.asm | jmorken/loda | 1 | 25351 | <reponame>jmorken/loda<gh_stars>1-10
; A065043: Characteristic function of the numbers with an even number of prime factors (counted with multiplicity): a(n) = 1 if n = A028260(k) for some k then 1 else 0.
; 1,0,0,1,0,1,0,0,1,1,0,0,0,1,1,1,0,0,0,0,1,1,0,1,1,1,0,0,0,0,0,0,1,1,1,1,0,1,1,1,0,0,0,0,0,1,0,0,1,0,1,0,0,1,1,1,... |
gfx/pokemon/haunter/anim.asm | Dev727/ancientplatinum | 28 | 240528 | frame 1, 10
frame 2, 10
frame 3, 44
frame 2, 10
frame 1, 10
endanim
|
oeis/087/A087214.asm | neoneye/loda-programs | 11 | 240856 | <reponame>neoneye/loda-programs<filename>oeis/087/A087214.asm
; A087214: Expansion of e.g.f.: exp(x)/(1-x^2/2).
; Submitted by <NAME>(s2)
; 1,1,2,4,13,41,196,862,5489,31033,247006,1706816,16302397,133131649,1483518128,13978823146,178022175361,1901119947857,27237392830234,325091511083548,5175104637744461,682692173275450... |
Engine Hacks/Skill System/Teq Skills/FE8-Capture/FE8-Capture/Cancel_Capture.asm | sme23/MekkahRestrictedHackComp1 | 1 | 177328 | .thumb
.org 0x0
@this function clears the Capturing bit in the current unit's turn word, regardless of whether it's set or not. Called when being forced to redraw the menu (I think).
@r0, r2 are busy
ldr r3,CurrentCharPtr
ldr r3,[r3]
ldr r1,[r3,#0xC]
push {r2}
mov r2,#0x80
lsl r2,#0x17
mvn r2,r2
and r1,r2
str ... |
main/Graphs/SubTrees.agda | awswan/nielsenschreier-hott | 0 | 4043 | <gh_stars>0
{-# OPTIONS --without-K --exact-split --rewriting #-}
open import lib.Basics
open import lib.PathGroupoid
open import lib.types.Bool
open import lib.types.Sigma
open import lib.types.Pi
open import lib.types.Coproduct
open import lib.types.Unit
open import lib.types.Empty
open import lib.NConnected
open im... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.