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 |
|---|---|---|---|---|
oeis/005/A005732.asm | neoneye/loda-programs | 11 | 168623 | ; A005732: a(n) = binomial(n+3,6) + binomial(n+1,5) + binomial(n,5).
; Submitted by <NAME>
; 1,8,35,111,287,644,1302,2430,4257,7084,11297,17381,25935,37688,53516,74460,101745,136800,181279,237083,306383,391644,495650,621530,772785,953316,1167453,1419985,1716191,2061872,2463384,2927672,3462305,4075512,4776219,5574087,64... |
Suokif.g4 | ontologyportal/sigmaAntlr | 0 | 1189 | <reponame>ontologyportal/sigmaAntlr
grammar Suokif ;
file : (sentence | comment)+ EOF ;
sentence : (relsent | logsent | quantsent | variable) ;
quantsent : (forall | exists) ;
exists : '(' 'exists' '(' variable+ ')' sentence ')' ;
forall : '(' 'forall' '(' variable+ ')' sentence ')' ;
logsent : (notsent | andsent ... |
3rdparty/dyncall/dyncallback/dyncall_callback_arch_x64_masm.asm | KrisShannon/nqp | 1 | 89361 | <reponame>KrisShannon/nqp
.CODE
DCThunk_size = 24
DCArgs_size_win64 = 80
DCArgs_size_sysv = 128
DCValue_size = 8
FRAME_arg0_win64 = 48
FRAME_arg0_sysv = 16
FRAME_return = 8
FRAME_parent = 0
FRAME_DCArgs_sysv = -128
FRAME_DCValue_sysv = -136
FRAME_DCArgs_win64 = -80
FRAME_DCValue_win64 = -80
CTX_thunk = 0
CTX_handler = ... |
src/fot/FOTC/Program/McCarthy91/WF-Relation.agda | asr/fotc | 11 | 5466 | <reponame>asr/fotc
------------------------------------------------------------------------------
-- Well-founded relation related to the McCarthy 91 function
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types ... |
src/new_incognito_window.applescript | caiogondim/alfred-chrome-window-workflow | 31 | 465 | <filename>src/new_incognito_window.applescript
#!/usr/bin/osascript
tell application "Google Chrome"
make new window with properties {mode:"incognito"}
tell application "System Events" to set frontmost of process "Google Chrome" to true
activate
end tell
|
boot/10_32bit_protected_mode.asm | musgravejw/OS | 8 | 176688 | <gh_stars>1-10
[org 0x7c00] ; bootloader offset
mov bp, 0x9000 ; set the stack
mov sp, bp
mov bx, MSG_REAL_MODE
call print_string ; This will be written after the BIOS messages
call switch_to_pm
jmp $ ; this will actually never be executed
[bits 16]
switch_to_pm:
cli ; 1. disable ... |
src/test01/src/mytasks.adb | hannesb0/rtpl18 | 0 | 6238 | <filename>src/test01/src/mytasks.adb
-- Task 2 of RTPL WS17/18
-- Team members: <NAME>. and <NAME>.
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO;
package body myTasks with SPARK_Mode is
-- Procedure for option 5
procedure opt5 is
task1 : myAmount;
begin
Put ("Add (a) or Remove ... |
source/strings/a-strnor.adb | ytomino/drake | 33 | 24663 | <gh_stars>10-100
-- reference:
-- http://www.unicode.org/reports/tr15/
with Ada.Characters.Conversions;
with Ada.Strings.Canonical_Composites;
with Ada.UCD;
package body Ada.Strings.Normalization is
use type UCD.UCS_4;
function Standard_Equal (Left, Right : Wide_Wide_String) return Boolean;
function Standar... |
programs/oeis/158/A158011.asm | neoneye/loda | 22 | 15531 | ; A158011: a(n) = 512n - 1.
; 511,1023,1535,2047,2559,3071,3583,4095,4607,5119,5631,6143,6655,7167,7679,8191,8703,9215,9727,10239,10751,11263,11775,12287,12799,13311,13823,14335,14847,15359,15871,16383,16895,17407,17919,18431,18943,19455,19967,20479,20991,21503,22015,22527,23039,23551,24063,24575,25087,25599,26111,2662... |
reverse_engineering/delco/vw_premium_5/custom/loopback_poll/loopback_poll.asm | mnaberez/vwradio | 45 | 1325 | <filename>reverse_engineering/delco/vw_premium_5/custom/loopback_poll/loopback_poll.asm
.area CODE1 (ABS)
.org 0
rxb0_txs0 = 0xff18 ;Transmit shift register 0 / Receive buffer register 0
pm2 = 0xff22 ;Port mode register 2
asim0 = 0xffa0 ;Asynchronous serial interface mode r... |
tools-src/gnu/gcc/gcc/ada/s-expgen.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 13237 | ------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
oeis/105/A105128.asm | neoneye/loda-programs | 11 | 9935 | ; A105128: Primes of the form 64n+33.
; Submitted by <NAME>
; 97,353,673,929,1249,1697,1889,2017,2081,2273,2593,2657,3041,3169,3361,3617,4001,4129,4513,5153,5281,5857,6113,6689,7393,7457,7649,7841,8161,8353,8609,8737,8929,9377,9697,10273,10337,10529,10657,11489,11617,11681,12577,12641,13217,13537,13729,13921,14177,1436... |
libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc/zx_saddr2aaddr_fastcall.asm | jpoikela/z88dk | 640 | 240459 | <gh_stars>100-1000
; void *zx_saddr2aaddr_fastcall(void *saddr)
SECTION code_clib
SECTION code_arch
PUBLIC _zx_saddr2aaddr_fastcall
EXTERN asm_zx_saddr2aaddr
defc _zx_saddr2aaddr_fastcall = asm_zx_saddr2aaddr
|
word_lists.adb | cborao/Ada-P1-words | 0 | 12312 | with Ada.Text_IO;
with Ada.Unchecked_Deallocation;
package body Word_Lists is
procedure Add_Word (List: in out Word_List_Type;
Word: in ASU.Unbounded_String) is
Aux: Word_List_Type;
Included: Boolean;
begin
Included := False;
if List = null then
List := new Cell;
List.Word := Word;
List.Cou... |
CloverEFI/UefiCpuPkg/CpuDxe/Ia32/CpuAsm.asm | crazyinsanejames/CloverBootloader | 3,861 | 89855 | TITLE CpuAsm.asm:
;------------------------------------------------------------------------------
;*
;* Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
;* This program and the accompanying materials
;* are licensed and made available under the terms and conditions of the BSD Li... |
oeis/181/A181626.asm | neoneye/loda-programs | 11 | 84159 | ; A181626: Number of closed walks of length n in a kite graph (K4 with one edge deleted).
; Submitted by <NAME>
; 4,0,10,12,50,100,298,700,1890,4692,12250,31020,80018,204100,524170,1340572,3437250,8799540,22548538,57746700,147940850,378927652,970691050,2486401660,6369165858,16314772500,41791435930,107050525932,27421626... |
ADL/drivers/stm32h743/stm32-adc.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 29138 | <filename>ADL/drivers/stm32h743/stm32-adc.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- ... |
s2/sfx-original/B8 - Unknown (Unused).asm | Cancer52/flamedriver | 9 | 95752 | Sound38_Header:
smpsHeaderStartSong 2
smpsHeaderVoiceNull
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cPSG3, Sound38_PSG3, $00, $00
; PSG3 Data
Sound38_PSG3:
smpsModSet $01, $01, $F0, $08
smpsPSGform $E7
dc.b nEb4, $08
Sound38_Loop00:
dc.b nB3, $02
smpsPSGAlterVol ... |
src/test/resources/samples/langs/AppleScript/Convert To PostScript.applescript | JavascriptID/sourcerer-app | 8,271 | 1987 | (*
Copyright 2003 Apple Computer, Inc.
You may incorporate this Apple sample code into your program(s) without
restriction. This Apple sample code has been provided "AS IS" and the
responsibility for its operation is yours. You are not permitted to
redistribute this Apple sample code as "Apple sample code" after ha... |
oeis/008/A008936.asm | neoneye/loda-programs | 11 | 246789 | ; A008936: Expansion of (1 - 2*x -x^4)/(1 - 2*x)^2 in powers of x.
; 1,2,4,8,15,28,52,96,176,320,576,1024,1792,3072,5120,8192,12288,16384,16384,0,-65536,-262144,-786432,-2097152,-5242880,-12582912,-29360128,-67108864,-150994944,-335544320,-738197504,-1610612736,-3489660928,-7516192768,-16106127360,-34359738368,-7301444... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_25_1433.asm | ljhsiun2/medusa | 9 | 170256 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_25_1433.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1dd14, %r12
nop
nop
cmp $60047, %r10
movl $0x61626364, (%r12)
nop
nop
add %rbx, %rbx
lea addr... |
Categories/Object/Coproducts.agda | copumpkin/categories | 98 | 8120 | {-# OPTIONS --universe-polymorphism #-}
open import Categories.Category
module Categories.Object.Coproducts {o ℓ e} (C : Category o ℓ e) where
open Category C
open import Level
import Categories.Object.Initial as Initial
import Categories.Object.BinaryCoproducts as BinaryCoproducts
open Initial C
open BinaryCopro... |
libsrc/math/cpcmath/z80/pi.asm | jpoikela/z88dk | 640 | 16153 | ;
; CPC Maths Routines
;
; August 2003 **_|warp6|_** <kbaccam /at/ free.fr>
;
; $Id: pi.asm,v 1.4 2016-06-22 19:50:49 dom Exp $
;
SECTION code_fp
INCLUDE "target/cpc/def/cpcfirm.def"
INCLUDE "target/cpc/def/cpcfp.def"
PUBLIC pi
EXTERN fa
.pi
ld de,fa+1
ld hl,pi_value
ld bc,5
ldir
ret
SECTIO... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c48005b.ada | best08618/asylo | 7 | 26328 | -- C48005B.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
mini_crt/ret_addr.asm | habs1337/hack-lib | 0 | 13848 |
PUBLIC _spoofer_stub
.code
_spoofer_stub PROC
mov r10, r10
xchg r11, r11
pop r11
xchg rdi, rdi
nop
add rsp, 8
xchg rax, rax
jmp next
nop
xchg r10, r10
nop
next:
xchg rax, rax
mov rax, [rsp + 24]
nop
nop
mov r10, [rax]
xchg r11, r11
mov... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_3205_1134.asm | ljhsiun2/medusa | 9 | 99930 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xd886, %rsi
lea addresses_D_ht+0x1546e, %rdi
xor %rbx, %rbx
mov $113, %rcx
rep movsl
nop
xor $39403, %rax
lea addresses_A_ht+0x5a2e, %rbx
clflush (%rbx)
nop
no... |
src/draw/BufferCreate.asm | jhm-ciberman/calculator-asm | 2 | 174839 | ;;;
; Creates a new pixel colour buffer of the specified width and height
; You must free() the memory when you dont use the buffer anymore
;
; params:
; width - The width of the buffer
; height - The height of the buffer
;
; returns: (QWORD) A pointer to the created buffer
;;;
proc BufferCreate, width:... |
oeis/324/A324174.asm | neoneye/loda-programs | 11 | 90891 | ; A324174: Integers k such that 2*floor(sqrt(k)) divides k.
; 2,4,8,12,16,24,30,36,48,56,64,80,90,100,120,132,144,168,182,196,224,240,256,288,306,324,360,380,400,440,462,484,528,552,576,624,650,676,728,756,784,840,870,900,960,992,1024,1088,1122,1156,1224,1260,1296
mul $0,4
mov $1,1
add $1,$0
div $1,3
pow $1,2
div $1,2... |
Transynther/x86/_processed/AVXALIGN/_st_zr_/i7-7700_9_0xca_notsx.log_21829_922.asm | ljhsiun2/medusa | 9 | 716 | <filename>Transynther/x86/_processed/AVXALIGN/_st_zr_/i7-7700_9_0xca_notsx.log_21829_922.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xcd6, %rax
nop
nop
nop
nop
add %r15, %r15
movb $0x61, (%rax)
nop
xor %r8, %r8
... |
oeis/268/A268235.asm | neoneye/loda-programs | 11 | 165700 | <filename>oeis/268/A268235.asm
; A268235: a(n) = Sum_{k=1..n} floor(n/k)*2^(k-1).
; 1,4,9,20,37,76,141,280,541,1072,2097,4192,8289,16548,32953,65860,131397,262764,524909,1049736,2098381,4196560,8390865,16781696,33558929,67117460,134226585,268452580,536888037,1073775900,2147517725,4295034280,8590002605,17180002736,34359... |
programs/oeis/087/A087039.asm | neoneye/loda | 22 | 104051 | ; A087039: If n is prime then 1 else 2nd largest prime factor of n.
; 1,1,1,2,1,2,1,2,3,2,1,2,1,2,3,2,1,3,1,2,3,2,1,2,5,2,3,2,1,3,1,2,3,2,5,3,1,2,3,2,1,3,1,2,3,2,1,2,7,5,3,2,1,3,5,2,3,2,1,3,1,2,3,2,5,3,1,2,3,5,1,3,1,2,5,2,7,3,1,2,3,2,1,3,5,2,3,2,1,3,7,2,3,2,5,2,1,7,3,5
add $0,1
mov $2,2
mov $3,$0
lpb $3
mov $5,1
l... |
dont-require-password.scpt | tom-james-watson/osx-automation | 1 | 3831 | <reponame>tom-james-watson/osx-automation<filename>dont-require-password.scpt
tell application "System Events" to tell security preferences to set require password to wake to false
|
src/main.asm | msamigurpinar/sunset | 1 | 104304 | .include "constants.inc"
.include "header.inc"
TileAddrY=$0200
TileAddrX=$0203
.segment "ZEROPAGE"
PtrBg: .res 2
DirFlag: .res 1
FrameCounter: .res 1
.segment "CODE"
.import reset_handler
.export main
.proc irq_handler
RTI
.endproc
.proc nmi_handler
PHA
TXA
PHA
TYA
PHA
LDA #$00
... |
programs/oeis/155/A155038.asm | neoneye/loda | 22 | 8549 | <reponame>neoneye/loda
; A155038: Triangle read by rows: T(n,k) is the number of compositions of n with first part k.
; 1,1,1,2,1,1,4,2,1,1,8,4,2,1,1,16,8,4,2,1,1,32,16,8,4,2,1,1,64,32,16,8,4,2,1,1,128,64,32,16,8,4,2,1,1,256,128,64,32,16,8,4,2,1,1,512,256,128,64,32,16,8,4,2,1,1,1024,512,256,128,64,32,16,8,4,2,1,1,2048,... |
Src/defs.asm | slowcorners/Minimal-FORTH | 1 | 161887 | ; ----------------------------------------------------------------------
; GLOBAL DEFINES
;
CH_BEL EQU 7
CH_BSP EQU 8
CH_LF EQU 10
CH_CR EQU 13
CH_ESC EQU 27
CH_BL EQU 32
CH_DQUOTE EQU 34
CH_BSL EQU 92
CH_DEL EQU 127
MAGIC EQU ... |
src/main/antlr/Dynabuffers.g4 | rschluesselbauer/dynabuffers | 0 | 797 | <reponame>rschluesselbauer/dynabuffers
/*
* Lexer Rules
*/
grammar Dynabuffers;
IDENTIFIER : Letter LetterOrDigit*;
STRING : '"' StringCharacter* '"';
NUMBER : Digit+;
BOOLEAN : 'true' | 'false';
fragment Digit : '-'?[0-9];
fragment Letter : [a-zA-Z];
fragment LetterOrDigit : [a-zA-... |
message/generation/swift-mt-generation/repository/SR2018/grammars/SwiftMtParser_MTn99.g4 | Yanick-Salzmann/message-converter-c | 0 | 5325 | grammar SwiftMtParser_MTn99;
message : bh ah uh? mt tr? EOF;
bh : TAG_BH bh_content RBRACE ;
bh_content : ~(RBRACE)+ ;
ah : TAG_AH ah_content RBRACE ;
ah_content : ~( RBRACE )+ ;
uh : TAG_UH sys_block RBRACE ;
tr ... |
source/asis/asis-gela-base_lists.ads | faelys/gela-asis | 4 | 8425 | <reponame>faelys/gela-asis
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org ... |
src/test/ref/stack-relative-addressing.asm | jbrandwood/kickc | 2 | 4556 | <filename>src/test/ref/stack-relative-addressing.asm
// Test stack-relative addressing (for passing parameters through the stack)
// Commodore 64 PRG executable file
.file [name="stack-relative-addressing.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start... |
unicode-utf8_stream_decoder.ads | annexi-strayline/ASAP-Unicode | 1 | 4010 | ------------------------------------------------------------------------------
-- --
-- Unicode Utilities --
-- UTF-8 Stream Decoder --
-- ... |
cpm/bios.asm | ToriningenGames/jank-cpm | 0 | 25549 | .INCLUDE "defines.asm"
.IF (BIOSSTART & $FF) != 0
.FAIL "BIOS must start on a page boundry"
.ENDIF
;BIOS use of Low Storage:
;$40: Console peek buffer
;$41: Current Sector
;$42: Current Track
;$44: DMA address
.BANK 0 SLOT 0
.ORG BIOSSECTOR*128+(BIOSTRACK*SECPERTRK*128)
.ORGA BIOSSTART
;BIOS entry poi... |
Definition/LogicalRelation/Substitution/Introductions/Universe.agda | CoqHott/logrel-mltt | 2 | 11180 | <gh_stars>1-10
{-# OPTIONS --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Substitution.Introductions.Universe {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped
open import Definition.Untyped.Properties
open import Definition.Typed
open import ... |
projects/batfish/src/main/antlr4/org/batfish/grammar/f5_bigip_structured/F5BigipStructured_ltm.g4 | zabrewer/batfish | 763 | 5686 | <gh_stars>100-1000
parser grammar F5BigipStructured_ltm;
import
F5BigipStructured_common,
F5BigipStructured_ltm_data_group,
F5BigipStructured_ltm_rule;
options {
tokenVocab = F5BigipStructuredLexer;
}
l_monitor
:
MONITOR
(
lm_dns
| lm_gateway_icmp
| lm_http
| lm_https
| lm_ldap
| ... |
base/win32/client/bt/char/i386/move.asm | npocmaka/Windows-Server-2003 | 17 | 1212 | <filename>base/win32/client/bt/char/i386/move.asm
title "Move Test"
;++
;
; Copyright (c) 2001 Microsoft Corporation
;
; Module Name:
;
; move.asm
;
; Abstract:
;
; This module implements code to test x86 move instruction timing.
;
; Author:
;
; <NAME> (markl) 28-Sep-1990
;
; Revision H... |
oeis/103/A103931.asm | neoneye/loda-programs | 11 | 102277 | ; A103931: Denominators of squares of harmonic numbers A001008/A002805.
; Submitted by <NAME>
; 1,4,36,144,3600,400,19600,78400,6350400,6350400,768398400,768398400,129859329600,129859329600,129859329600,519437318400,150117385017600,16679709446400,6021375110150400,240855004406016,26761667156224
seq $0,2805 ; Denominato... |
runtime/utility1.asm | paulscottrobson/amoral | 3 | 16945 | <filename>runtime/utility1.asm
; *******************************************************************************************
; *******************************************************************************************
;
; File: utility1.asm
; Date: 14th November 2020
; Purpose: ... |
programs/oeis/040/A040604.asm | neoneye/loda | 22 | 179172 | <filename>programs/oeis/040/A040604.asm
; A040604: Continued fraction for sqrt(630).
; 25,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50,10,50
sub $0,1
mod $0,2
mul $0,10
add $0,2
pow $0... |
examples/hello_world/hello_world.ads | reznikmm/jupyter | 4 | 19831 | -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with Ada.Containers.Hashed_Maps;
with League.JSON.Objects;
with League.Strings;
with Jupyter.Kernels;
package Hello_World is
type Kernel is limited new Jupyter.K... |
sixteen_bit.asm | hridayK/8086-Assembly-programs | 1 | 98888 | <reponame>hridayK/8086-Assembly-programs
; program to print 16 bit number
data segment
a db 0F7h ; <ascii for F><ascii of 1>
data ends
; program print 'F1' on the screen
; 'F1' -> '0F'
; print
; 'F1' -> '01'
; print
code segment
start:
assume cs:code, ds:data
mov ax,data
mov ds,ax
mov bl, a
and bl, 0F0h ; mask out t... |
line_collision/example.adb | Lucretia/old_nehe_ada95 | 0 | 352 | ---------------------------------------------------------------------------------
-- Copyright 2004-2005 © <NAME>
--
-- This code is to be used for tutorial purposes only.
-- You may not redistribute this code in any form without my express permission.
-------------------------------------------------------------------... |
include/gid/gid-headers.ads | docandrew/troodon | 5 | 28739 | <reponame>docandrew/troodon<gh_stars>1-10
---------------------------------
-- GID - Generic Image Decoder --
---------------------------------
--
-- Private child of GID, with helpers for identifying
-- image formats and reading header informations.
--
private package GID.Headers is
--
-- Crude image signature... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca_notsx.log_21829_444.asm | ljhsiun2/medusa | 9 | 80313 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x19a3a, %rdi
nop
nop
inc %rdx
mov $0x6162636465666768, %r13
movq %r13, %xmm1
vmovups %ymm1, (%rdi)
nop
nop
nop
nop
add %rdi, %rdi
lea addresses_normal_ht+0x92... |
oeis/315/A315321.asm | neoneye/loda-programs | 11 | 10679 | ; A315321: Coordination sequence Gal.6.635.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.
; Submitted by <NAME>
; 1,6,10,16,21,26,32,37,42,48,52,58,64,68,74,79,84,90,95,100,106,110,116,122,126,132,137,142,148,153,158,164,168,174,180... |
language/alloy/Interval2.als | pogin503/vbautil | 0 | 1894 | <reponame>pogin503/vbautil
-- 自然数の区間 {0, 1, 2, ..., n}
module interval
sig Interv {
-- 後者
next: lone Interv,
-- 距離
private delta0: Interv ->one Interv,
delta: Interv ->one Interv
}
-- ゼロと最後の数
one sig zero, last extends Interv {}
-- nextに関する公理
fact next {
-- lastのnextは存在しない
no last.next
and
-- last以外ではnextが一... |
programs/oeis/292/A292510.asm | neoneye/loda | 22 | 11299 | <reponame>neoneye/loda
; A292510: a(n) = smallest k >= 1 such that {1, p(n,2), p(n,3), ..., p(n,k)} can be partitioned into two sets with equal sums, where p(n,m) is m-th n-gonal number.
; 4,7,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7... |
engine/overworld/clear_loadmapdata_vars.asm | adhi-thirumala/EvoYellow | 16 | 164666 | ClearVariablesAfterLoadingMapData:
ld a, $90
ld [hWY], a
ld [rWY], a
xor a
ld [H_AUTOBGTRANSFERENABLED], a
ld [wStepCounter], a
ld [wLoneAttackNo], a ; wGymLeaderNo
ld [hJoyPressed], a
ld [hJoyReleased], a
ld [hJoyHeld], a
ld [wActionResultOrTookBattleTurn], a
ld [wUnusedD5A3], a
ld hl, wCardKeyDoorY
ld [... |
source/asis/spec/ada-integer_wide_wide_text_io.ads | faelys/gela-asis | 4 | 22394 | ------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
My OS/boot/mbr.asm | faeriemattins/Hydro-Traffic-Monitoring-System | 0 | 172181 | <reponame>faeriemattins/Hydro-Traffic-Monitoring-System
[org 0x7c00]
KERNEL_OFFSET equ 0x1000 ; Offset of the kernel
mov [BOOT_DRIVE], dl ; BIOS set the boot drive in 'dl' on boot
mov bp, 0x9000
mov sp, bp
mov bx, MSG_16BIT_MODE
call print16
call print16_nl
call load_kernel ; read the kernel from disk
call switch_to... |
tests/parsing/numeric_constants_defX.asm | cizo2000/sjasmplus | 0 | 176657 | OUTPUT "numeric_constants_defX.bin"
;; official documentation of v1.10.4 - all possible DEFx directives and synonyms
; should produce ABCDEFGHIJKLM, all possible numeric literals - byte size
BYTE 65, 66d
DB 43h, 0C4h-080h, 0x45, $46, #47
DEFB 1001000b, 01001001b, %1001010, %01001011
... |
orka/src/orka/implementation/orka-resources-managers.adb | onox/orka | 52 | 13414 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
-... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/oconst6.ads | best08618/asylo | 7 | 6261 | <gh_stars>1-10
-- { dg-do compile }
-- { dg-final { scan-assembler-not "elabs" } }
package OCONST6 is
type Sequence is array (1 .. 1) of Natural;
type Message is record
Data : Sequence;
end record;
for Message'Alignment use 1;
pragma PACK (Message);
ACK : Message := (Data => (others => 1));... |
programs/oeis/007/A007310.asm | neoneye/loda | 22 | 174400 | <gh_stars>10-100
; A007310: Numbers congruent to 1 or 5 mod 6.
; 1,5,7,11,13,17,19,23,25,29,31,35,37,41,43,47,49,53,55,59,61,65,67,71,73,77,79,83,85,89,91,95,97,101,103,107,109,113,115,119,121,125,127,131,133,137,139,143,145,149,151,155,157,161,163,167,169,173,175,179,181,185,187,191,193,197,199,203,205,209,211,215,217... |
PRG/maps/World7OX.asm | narfman0/smb3_pp1 | 0 | 2499 | .byte $90, $80, $D0, $C0, $00, $00, $00, $00, $00
|
programs/oeis/063/A063126.asm | karttu/loda | 1 | 104090 | <reponame>karttu/loda
; A063126: Dimension of the space of weight 2n cusp forms for Gamma_0( 58 ).
; 6,21,35,51,65,81,95,111,125,141,155,171,185,201,215,231,245,261,275,291,305,321,335,351,365,381,395,411,425,441,455,471,485,501,515,531,545,561,575,591,605,621,635,651,665,681,695,711,725,741
mul $0,15
add $0,1
div $0,... |
boot/gdt.asm | foreverbell/BadAppleOS | 52 | 246352 | gdt:
.start:
.null:
dd 0x0
dd 0x0
.code: equ $ - gdt
dw 0xffff ; limit
dw 0x0 ; base_low
db 0x0 ; base_middle
db 10011010b ; access
db 11001111b ; granularity
db 0x0 ; base_high
.data: equ $ - gdt
dw 0xffff ; limit
dw 0x0 ; base_low
db 0x0 ; base_mi... |
Xunit.Extensions.Antlr4.Tests/SampleLexer.g4 | ku3mich/XUnit.Extensions | 0 | 431 | <reponame>ku3mich/XUnit.Extensions
lexer grammar SampleLexer;
options {
superClass = Antlr4.Lexer;
}
A: 'A';
B: 'B';
C: 'C';
|
ada-execution_time-group_budgets.ads | mgrojo/adalib | 15 | 12063 | <reponame>mgrojo/adalib<gh_stars>10-100
-- 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, 1... |
Engine/Ram/zx0/RAMLoaderFd.asm | wide-dot/thomson-to8-game-engine | 11 | 23960 | ********************************************************************************
* Chargement de donnees en RAM (TO8 Thomson) - <NAME> 10/11/2020
* ------------------------------------------------------------------------------
*
* Charge les donnees d'un mode de jeu depuis la disquette
* decompresse les donnees avec zx... |
oeis/041/A041315.asm | neoneye/loda-programs | 11 | 87315 | <gh_stars>10-100
; A041315: Denominators of continued fraction convergents to sqrt(171).
; Submitted by <NAME>(s1.)
; 1,13,339,4420,115259,1502787,39187721,510943160,13323709881,173719171613,4530022171819,59064007405260,1540194214708579,20081588798616787,523661502978745041,6827681127522302320,178043370818558605361,2321... |
programs/oeis/155/A155597.asm | jmorken/loda | 1 | 160153 | ; A155597: 6^n - 2^n + 1.
; 1,5,33,209,1281,7745,46593,279809,1679361,10077185,60465153,362795009,2176778241,13060685825,78364147713,470184951809,2821109841921,16926659313665,101559956406273,609359739486209,3656158439014401
mov $3,3
lpb $0
sub $0,1
add $1,$2
mul $1,2
mul $3,2
add $1,$3
sub $1,2
mov $2,$1... |
source/nodes/program-nodes-object_declarations.adb | reznikmm/gela | 0 | 990 | <gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Object_Declarations is
function Create
(Names : not null Program.Elements.Defining_Identifiers
... |
os2link/src/peexport.asm | DigitalMars/optlink | 28 | 242143 | <filename>os2link/src/peexport.asm<gh_stars>10-100
TITLE PEEXPORT - Copyright (c) SLR Systems 1994
INCLUDE MACROS
if fg_pe
INCLUDE SYMBOLS
INCLUDE SEGMSYMS
INCLUDE PE_STRUC
PUBLIC PE_OUTPUT_EXPORTS
.DATA
EXTERNDEF SYMBOL_TEXT:BYTE,TEMP_RECORD:BYTE,EXPORT_TABLE_USE:BYTE
EXTERNDEF EXP_BUFFER:DWOR... |
src/asf-components-widgets-panels.ads | jquorning/ada-asf | 12 | 8410 | -----------------------------------------------------------------------
-- components-widgets-panels -- Collapsible panels
-- Copyright (C) 2013 <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 Lic... |
assignment4/assignment4.nasm | audrummer15/slae-exam | 1 | 80436 | <filename>assignment4/assignment4.nasm
; Filename: assignment4.nasm
; Author: <NAME>
; Website: https://coffeegist.com
;
;
; Purpose: Create a custom encoder/decoder for the SLAE exam
global _start
section .text
_start:
; Push shellcode onto stack in reverse order
push 0x0f0f0f8f
push 0xdc1abff0
push 0x986... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca1108a.ada | best08618/asylo | 7 | 15197 | -- CA1108A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
libsrc/_DEVELOPMENT/l/sccz80/crt0_long/int2long_s_float.asm | jpoikela/z88dk | 38 | 173532 | <filename>libsrc/_DEVELOPMENT/l/sccz80/crt0_long/int2long_s_float.asm
; Small C+ Z88 Support Library
;
; Convert signed int to long
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_int2long_s_float
EXTERN float
l_int2long_s_float:
; If MSB of h sets de to 255, if not sets de=0
ld de,0
bit... |
src/API/protypo-api-engine_values-parameter_lists.adb | fintatarta/protypo | 0 | 5438 | pragma Ada_2012;
package body Protypo.Api.Engine_Values.Parameter_Lists is
function Is_Optional (Item : Parameter_Spec) return Boolean
is (Item.Class = Optional_Class);
function Default_Value (Item : Parameter_Spec) return Engine_Value
is (if Is_Optional (Item) then
Item.Default.Element
e... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1577.asm | ljhsiun2/medusa | 9 | 243395 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1577.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x479, %rdx
and %r9, %r9
mov $0x6162636465666768, %r12
movq %r12, (%... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-socthi.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 23701 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-socthi.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1598.asm | ljhsiun2/medusa | 9 | 23581 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1598.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x10ac5, %rsi
nop
and %r12, %r12
movb (%rsi), %r14b
nop
sub $12211, %... |
src/core/strings/util-strings-formats.ads | RREE/ada-util | 60 | 9366 | -----------------------------------------------------------------------
-- util-strings-formats -- String formatting helper
-- Copyright (C) 2021 <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... |
alloy4fun_models/trashltl/models/7/gJ9teRZhn5pNTsMFM.als | Kaixi26/org.alloytools.alloy | 0 | 4285 | open main
pred idgJ9teRZhn5pNTsMFM_prop8 {
some f : File | eventually f.link + link.f in Trash
}
pred __repair { idgJ9teRZhn5pNTsMFM_prop8 }
check __repair { idgJ9teRZhn5pNTsMFM_prop8 <=> prop8o } |
src/sets/nat/ordering/lt.agda | pcapriotti/agda-base | 20 | 13036 | <reponame>pcapriotti/agda-base
{-# OPTIONS --without-K #-}
module sets.nat.ordering.lt where
open import sets.nat.ordering.lt.core public
open import sets.nat.ordering.lt.level public
|
data/mapHeaders/UndergroundPathNorthSouth.asm | AmateurPanda92/pokemon-rby-dx | 9 | 6508 | UndergroundPathNorthSouth_h:
db UNDERGROUND ; tileset
db UNDERGROUND_PATH_NORTH_SOUTH_HEIGHT, UNDERGROUND_PATH_NORTH_SOUTH_WIDTH ; dimensions (y, x)
dw UndergroundPathNorthSouth_Blocks ; blocks
dw UndergroundPathNorthSouth_TextPointers ; texts
dw UndergroundPathNorthSouth_Script ; scripts
db 0 ; connections
dw U... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/graphic.adb | best08618/asylo | 7 | 8143 | -- { dg-do compile }
with Ada.Tags.Generic_Dispatching_Constructor;
package body Graphic is
--
function Dispatching_Input is new Tags.Generic_Dispatching_Constructor
(T => Object,
Parameters => Streams.Root_Stream_Type'Class,
Constructor => Object'Input);
--
function XML_Input
(S : acce... |
programs/oeis/082/A082140.asm | neoneye/loda | 22 | 20685 | ; A082140: A transform of binomial(n,6).
; 1,7,56,336,1680,7392,29568,109824,384384,1281280,4100096,12673024,38019072,111132672,317521920,889061376,2444918784,6615662592,17641766912,46425702400,120706826240,310388981760,790081044480,1992378286080,4980945715200,12352745373696,30406757842944,74327630282752,18050995925811... |
lista1/q6_versao_gerson.asm | vags-cin/awesome-bootloader | 8 | 23612 | <filename>lista1/q6_versao_gerson.asm
org 0x7c00
jmp 0x0000:_start
;
; Assembly is the best-worst love of all time.
; Made by <NAME> - <EMAIL>
; With contributions of <NAME>.
;
;for(i = 0; i < number_programs;i++)
;{
; scanf(inteiro[i])
; {
; string_to_int()
; if(inteiro[i] > bigger)
; bigger = inteiro[i]
; if(int... |
lib/syscall.asm | Diversion2k22/x86_64-decOS-MSC-KIIT | 0 | 7160 | section .text
global writeu
global sleepu
global exitu
global waitu
global keyboard_readu
global get_total_memoryu
writeu:
sub rsp,16
xor eax,eax
mov [rsp],rdi
mov [rsp+8],rsi
mov rdi,2
mov rsi,rsp
int 0x80
add rsp,16
ret
sleepu:
sub rsp,8
mov eax... |
proofs/AKS/Algebra/Bundles.agda | mckeankylej/thesis | 1 | 7848 | open import Level using (_⊔_; suc)
open import Data.Empty using (⊥)
open import Relation.Binary using (Rel; Decidable; DecSetoid)
module AKS.Algebra.Bundles where
open import AKS.Nat using (ℕ)
open import Algebra.Core using (Op₁; Op₂)
open import Algebra.Bundles using (CommutativeRing) public
open import AKS.Algeb... |
gcc-gcc-7_3_0-release/gcc/ada/a-calari.ads | best08618/asylo | 7 | 10830 | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
text/maps/school.asm | adhi-thirumala/EvoYellow | 0 | 9787 | <gh_stars>0
_SchoolText1::
text "Whew! I'm trying"
line "to memorize all"
cont "my notes."
done
_SchoolText3::
text "Sis says #MON"
line "will become tame"
cont "if you treat them"
cont "nicely."
done
_SchoolText2::
text "Okay!"
para "Be sure to read"
line "the blackboard"
cont "carefully!"
done
|
programs/oeis/090/A090368.asm | karttu/loda | 0 | 86448 | <reponame>karttu/loda<filename>programs/oeis/090/A090368.asm
; A090368: a(1) = 1; for n>1, smallest divisor > 1 of 2n-1.
; 1,3,5,7,3,11,13,3,17,19,3,23,5,3,29,31,3,5,37,3,41,43,3,47,7,3,53,5,3,59,61,3,5,67,3,71,73,3,7,79,3,83,5,3,89,7,3,5,97,3,101,103,3,107,109,3,113,5,3,7,11,3,5,127,3,131,7,3,137,139,3,11,5,3,149,151,... |
programs/oeis/128/A128019.asm | karttu/loda | 1 | 24932 | <gh_stars>1-10
; A128019: Expansion of (1-3x)/(1+3x^2).
; 1,-3,-3,9,9,-27,-27,81,81,-243,-243,729,729,-2187,-2187,6561,6561,-19683,-19683,59049,59049,-177147,-177147,531441,531441,-1594323,-1594323,4782969,4782969,-14348907,-14348907,43046721
mov $1,-3
mov $2,$0
add $2,1
div $2,2
pow $1,$2
|
Transynther/x86/_processed/NC/_zr_un_/i7-7700_9_0x48.log_21829_1048.asm | ljhsiun2/medusa | 9 | 9904 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x59b0, %rsi
lea addresses_A_ht+0x3eb0, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
sub $42271, %r11
mov $23, %rcx
rep movsw
nop
nop
nop
nop
nop
add %rdi, %rdi
lea addresses_UC_ht+0x6b0, %rs... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2286.asm | ljhsiun2/medusa | 9 | 23392 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2286.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %rbx
push %rdi
push %rdx
// Faulty Load
lea addresses_RW+0x1eeea, %rdx
cmp $8139, %r11
movb (%rdx), %r10b
lea oracles, %rd... |
programs/oeis/112/A112414.asm | karttu/loda | 1 | 84825 | <gh_stars>1-10
; A112414: 3n+7.
; 7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58,61,64,67,70,73,76,79,82,85,88,91,94,97,100,103,106,109,112,115,118,121,124,127,130,133,136,139,142,145,148,151,154,157,160,163,166,169,172,175,178,181,184
mov $1,$0
mul $1,3
add $1,7
|
ee/hk/thfre.asm | olifink/smsqe | 0 | 103091 | <reponame>olifink/smsqe<gh_stars>0
; HOTKEY free routine V2.00 1988 <NAME> QJUMP
section hotkey
xdef hk_thfre
include 'dev8_keys_qlv'
include 'dev8_ee_hk_data'
;+++
; Free routine for Hotkey Thing
;---
hk_thfre
move.l a0,-(sp)
clr.b hkd_act+hkd.thg(a1) ... |
unused/develop/obj/background_8_map.asm | pau-tomas/gbvm | 33 | 19853 | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.4 #12246 (Mac OS X x86_64)
;--------------------------------------------------------
.module background_8_map
.optsdcc -mgbz80
;--------------------------------------------------------
;... |
Task/Forest-fire/Ada/forest-fire.ada | LaudateCorpus1/RosettaCodeData | 1 | 4118 | with Ada.Numerics.Float_Random; use Ada.Numerics.Float_Random;
with Ada.Text_IO; use Ada.Text_IO;
procedure Forest_Fire is
type Cell is (Empty, Tree, Fire);
type Board is array (Positive range <>, Positive range <>) of Cell;
procedure Step (S : in out Board; P, F : Float; Dice : Generator) is
... |
mc-sema/validator/x86_64/tests/XCHG16rr.asm | randolphwong/mcsema | 2 | 89429 | <reponame>randolphwong/mcsema
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; XCHG16rr
mov bx, 0xc
mov dx, 0xd
;TEST_BEGIN_RECORDING
xchg bx, dx
;TEST_END_RECORDING
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.