max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
test/13_mul.asm | x86128/pymesm | 2 | 27284 | #
# Test for instructions А*Х, А/Х.
#
org 1
lbl start
vtm stack,15
ntr 3
xta cdu5l
mul c5udl # 13/2**64
atx 0,15
yta 64
stx ws
aex cau
uia fail
xta ws
aex cau41l ... |
src/cups-cups.adb | persan/a-cups | 0 | 19376 | package body CUPS.CUPS is
----------------
-- GetDefault --
----------------
function GetDefault return String is
V : Chars_Ptr := Cups_Cups_H.CupsGetDefault;
begin
if V /= Null_Ptr then
return Interfaces.C.Strings.Value (V);
else
return "";
end if;
end GetDe... |
travis/test/elif.asm | km2m/nasm | 2,219 | 8999 | %macro DosPrintMsg 1+
%ifnid %1
section .data
%%str_to_print:db %1
section .text
mov dx,%%str_to_print
mov ah,9
int 0x21
%else
mov dx,(%1)
mov ah,9
int 0x21
%endif
%endmacro
%macro DosExit 1
%if (%1) == 0
;use short-form return 0 exit
int 0x20
%elif ((%1) < 256) && ((%1) > 0)
mov ax,0x4... |
drivers/dense_ad-integrator.ads | sciencylab/lagrangian-solver | 0 | 10206 | with Numerics, Numerics.Sparse_Matrices, Chebyshev, Ada.Text_IO;
use Numerics, Numerics.Sparse_Matrices, Chebyshev, Ada.Text_IO;
generic
K : in Nat;
N_Constraints : in Pos := 0;
package Dense_AD.Integrator is
N : constant Nat := (Num - N_Constraints) / 2;
type Dense_Or_Sparse is (Dense, Sparse);
ty... |
oeis/145/A145664.asm | neoneye/loda-programs | 11 | 247841 | <reponame>neoneye/loda-programs
; A145664: a(n) = numerator of polynomial of genus 1 and level n for m = 6 = A[1,n](6).
; Submitted by <NAME>
; 0,6,39,236,2835,42531,255191,10718052,257233353,2315100317,2315100338,152796622518,1833559470601,71508819355749,429052916136639,2574317496821836,123567239847463143,630192923222... |
programs/oeis/158/A158371.asm | karttu/loda | 1 | 87241 | <filename>programs/oeis/158/A158371.asm<gh_stars>1-10
; A158371: 576n^2 - 2n.
; 574,2300,5178,9208,14390,20724,28210,36848,46638,57580,69674,82920,97318,112868,129570,147424,166430,186588,207898,230360,253974,278740,304658,331728,359950,389324,419850,451528,484358,518340,553474,589760,627198,665788,705530,746424,788470... |
exercises/exercise4/test5-2.asm | Dark15/assembly | 1 | 21633 |
jmp near start
text db 'L',0x07,'a',0x07,'b',0x07,'e',0x07,'l',0x07,' ',0x07,'o',0x07,\
'f',0x07,'f',0x07,'s',0x07,'e',0x07,'t',0x07,':',0x07
start:
mov ax, 0x07c0
mov ds, ax
mov ax, 0xb800
mov es, ax
cld ;将Direction Flag设置为0,表示从低地址到高地址
mov si, text ;si指向text指向的内存地址
mov di, 0 ;设置输出的起始地址
mov cx, 13 ... |
Light/Package.agda | zamfofex/lightlib | 1 | 6344 | <filename>Light/Package.agda
{-# OPTIONS --omega-in-omega --no-termination-check --overlapping-instances #-}
module Light.Package where
open import Light.Level using (Setω)
record Meta : Setω where
field Dependencies : Setω
field Library : Dependencies → Setω
record Package (meta : Meta) : Setω where
... |
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i7-7700_9_0xca.log_21829_1643.asm | ljhsiun2/medusa | 9 | 27213 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x9db4, %r14
clflush (%r14)
nop
nop
cmp $24767, %rsi
mov $0x6162636465666768, %rax
movq %rax, %xmm2
movups %xmm2, (%r14)
nop
nop
cmp %rsi, %rsi
lea addresses_A_... |
45/runtime/rt/llegasup.asm | minblock/msdos | 0 | 102781 | TITLE LLEGASUP - LowLevel EGA support (shared routines)
;***
; LLEGASUP - LowLevel EGA support
;
; Copyright <C> 1987, Microsoft Corporation
;
;Purpose:
; This module contains support routines extracted from LLEGA.ASM
; which are shared by EGA and VGA functions.
;
;*****************************************************... |
bootloader/boot.asm | UtkarshMe/Jazz | 7 | 81592 | <reponame>UtkarshMe/Jazz<filename>bootloader/boot.asm<gh_stars>1-10
; ---------------------------------------------------------------------
; The bootloader for Jazz (github.com/coditva/Jazz)
; Author: <NAME>
; vi:filetype=nasm
; ---------------------------------------------------------------------
bits 16
org 0x7... |
src/Convergence.agda | boystrange/FairSubtypingAgda | 4 | 16906 | <gh_stars>1-10
-- MIT License
-- Copyright (c) 2021 <NAME> and <NAME>
-- Permission is hereby granted, free of charge, to any person
-- obtaining a copy of this software and associated documentation
-- files (the "Software"), to deal in the Software without
-- restriction, including without limitation the rights to u... |
oeis/173/A173862.asm | neoneye/loda-programs | 11 | 82686 | <reponame>neoneye/loda-programs<filename>oeis/173/A173862.asm
; A173862: a(n) = A158772(n-1)/21.
; 1,1,1,2,2,2,4,4,4,8,8,8,16,16,16,32,32,32,64,64,64,128,128,128,256,256,256,512,512,512,1024,1024,1024,2048,2048,2048,4096,4096,4096,8192,8192,8192,16384,16384,16384,32768,32768,32768,65536,65536,65536,131072,131072,131072... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/support/enumchek.ada | best08618/asylo | 7 | 16893 | <reponame>best08618/asylo<gh_stars>1-10
-- THIS GENERIC PROCEDURE IS INTENDED FOR USE IN CONJUNCTION WITH THE ACVC
-- CHAPTER 13 C TESTS. IT IS INSTANTIATED WITH TWO TYPES. THE FIRST IS AN
-- ENUMERATION TYPE FOR WHICH AN ENUMERATION CLAUSE HAS BEEN GIVEN, AND THE
-- SECOND IS AN INTEGER TYPE WHOSE 'SIZE IS THE SAME AS... |
tests/common.adb | faelys/natools-web | 1 | 10101 | <filename>tests/common.adb
------------------------------------------------------------------------------
-- Copyright (c) 2014-2015, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this softwar... |
orka_plugin_sdl/src/orka-inputs-sdl.ads | onox/orka | 52 | 8887 | <gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2019 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/licen... |
LCD/Multi.asm | xfrings/8051-Experiments | 0 | 16329 | ;MULTI LINE AND MULTI SCREEN CONTINUOUS THROUGH DISPLAY
;TESTED AND CHECKED ON AT89C51- C51002/003
;09/08/2007
;PROGRAM RUN----------- SUCCESS.
ORG 0000H ; P1.1-RS
SJMP 0030H ; P1.2-R/W
ORG 0030H ; P1.3-EN
START: CLR A
MOV P1,A
MOV P2,A
MOV P3,A
MOV R3,A
MOV R4,A
INIT: MOV A,#38H
LCA... |
data/pokemon/dex_entries/golduck.asm | Dev727/ancientplatinum | 28 | 15742 | <filename>data/pokemon/dex_entries/golduck.asm
db "DUCK@" ; species name
dw 507, 1690 ; height, weight
db "It swims grace-"
next "fully along on the"
next "quiet, slow-moving"
page "rivers and lakes"
next "of which it is so"
next "fond.@"
|
alloy4fun_models/trashltl/models/9/pYCpPb3c4ocZLBQoj.als | Kaixi26/org.alloytools.alloy | 0 | 11 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idpYCpPb3c4ocZLBQoj_prop10 {
always (Protected in Protected')
}
pred __repair { idpYCpPb3c4ocZLBQoj_prop10 }
check __repair { idpYCpPb3c4ocZLBQoj_prop10 <=> prop10o } |
external/source/exploits/cve-2018-8897/exe/Native.asm | OsmanDere/metasploit-framework | 26,932 | 96187 | .code
__swapgs PROC
swapgs
ret
__swapgs ENDP
__rollback_isr PROC
mov rdx, [rsp] ; rdx = Return pointer
lea r8, [rsp+8h] ; r8 = Old stack
mov [rcx], rdx ; isr stack.rip = Return pointer
mov [rcx+18h], r8 ; isr stack.rsp = Old stack
mov rsp, rcx ; stack = isr st... |
src/fmt.adb | likai3g/afmt | 0 | 29555 | <reponame>likai3g/afmt<filename>src/fmt.adb<gh_stars>0
pragma Ada_2020;
with Ada.Text_IO;
with Ada.Unchecked_Conversion;
with System;
package body Fmt is
function To_Ptr is
new Ada.Unchecked_Conversion(System.Address, Argument_Ptr);
function "&" (Values : Arguments; New_Item : Argument_Type'Class) return ... |
oeis/051/A051408.asm | neoneye/loda-programs | 11 | 10428 | <filename>oeis/051/A051408.asm<gh_stars>10-100
; A051408: a(n+1) = a(n) + sum of digits of (a(n)^3).
; Submitted by <NAME>
; 3,12,30,39,66,102,120,138,165,192,237,255,291,318,345,372,417,444,489,525,552,597,633,669,714,759,804,849,885,921,966,1011,1038,1083,1128,1164,1218,1254,1299,1353,1407,1452,1488,1533,1578,1623,16... |
include/sf-network-types.ads | danva994/ASFML-1.6 | 1 | 2262 | <filename>include/sf-network-types.ads
-- ////////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 <NAME> (<EMAIL>)
-- //
-- // This software is provided 'as-is', without any express or implied warranty.
-- // In no event will the a... |
programs/oeis/266/A266155.asm | neoneye/loda | 22 | 23095 | <filename>programs/oeis/266/A266155.asm
; A266155: Triangle read by rows giving successive states of cellular automaton generated by "Rule 19" initiated with a single ON (black) cell.
; 1,1,0,1,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,... |
oeis/268/A268682.asm | neoneye/loda-programs | 11 | 24792 | ; A268682: Decimal expansion of 1 - 1/sqrt(2).
; Submitted by <NAME>
; 2,9,2,8,9,3,2,1,8,8,1,3,4,5,2,4,7,5,5,9,9,1,5,5,6,3,7,8,9,5,1,5,0,9,6,0,7,1,5,1,6,4,0,6,2,3,1,1,5,2,5,9,6,3,4,1,1,6,6,0,1,3,1,0,0,4,6,3,3,7,6,0,7,6,8,9,4,6,4,8,0,5,7,4,8,0,6,2,3,2,8,3,6,1,7,9,2,1,3,6
seq $0,10503 ; Decimal expansion of 1/sqrt(2).
s... |
libsrc/target/zx-common/graphics/w_stencil_render.asm | ahjelm/z88dk | 640 | 173378 | ;
; z88dk GFX library
;
; Render the "stencil".
; The dithered horizontal lines base their pattern on the Y coordinate
; and on an 'intensity' parameter (0..11).
; Basic concept by <NAME>
;
; Machine code version by <NAME>, 22/4/2009
;
; stencil_render(unsigned char *stencil, unsigned char inte... |
src/Categories/Category/Construction/SetoidDiscrete.agda | Trebor-Huang/agda-categories | 279 | 14296 | <filename>src/Categories/Category/Construction/SetoidDiscrete.agda
{-# OPTIONS --without-K --safe #-}
module Categories.Category.Construction.SetoidDiscrete where
open import Data.Unit using (⊤; tt)
open import Function using (flip)
open import Level using (Lift; lift)
open import Relation.Binary using (Setoid; IsEqui... |
oeis/025/A025873.asm | neoneye/loda-programs | 11 | 100252 | <filename>oeis/025/A025873.asm<gh_stars>10-100
; A025873: Expansion of 1/((1-x^4)(1-x^8)(1-x^11)).
; Submitted by <NAME>(s2)
; 1,0,0,0,1,0,0,0,2,0,0,1,2,0,0,1,3,0,0,2,3,0,1,2,4,0,1,3,4,0,2,3,5,1,2,4,5,1,3,4,6,2,3,5,7,2,4,5,8,3,4,6,9,3,5,7,10,4,5,8,11,4,6,9,12,5,7,10,13,5,8,11,14,6,9,12,15
mov $2,$0
mov $4,2
lpb $4
m... |
text/varDump.applescript | adriannier/applescript-functions | 7 | 832 | (*
Returns the textual representation of a variable.
*)
log varDump({1, 2, 3})
log varDump({a:1, b:1, c:1})
log varDump(date "Wednesday, October 21, 2015 at 12:00:00 AM")
log varDump(path to home folder)
log varDump(0.3)
log varDump(true)
on varDump(var)
try
if class of var is list then
item 0 of var... |
x265/source/common/x86/pixel-32.asm | xu5343/ffmpegtoolkit_CentOS7 | 14 | 3948 | <reponame>xu5343/ffmpegtoolkit_CentOS7
;*****************************************************************************
;* pixel-32.asm: x86_32 pixel metrics
;*****************************************************************************
;* Copyright (C) 2003-2013 x264 project
;* Copyright (C) 2013-2017 MulticoreWare, Inc... |
programs/oeis/206/A206544.asm | jmorken/loda | 1 | 240492 | <gh_stars>1-10
; A206544: Period 12: repeat 1, 3, 5, 7, 9, 11, 11, 9, 7, 5, 3, 1.
; 1,3,5,7,9,11,11,9,7,5,3,1,1,3,5,7,9,11,11,9,7,5,3,1,1,3,5,7,9,11,11,9,7,5,3,1,1,3,5,7,9,11,11,9,7,5,3,1,1,3,5,7,9,11,11,9,7,5,3,1,1,3,5,7,9,11,11,9,7,5,3,1
mov $1,$0
lpb $0
sub $0,1
trn $0,4
add $1,2
add $1,$2
sub $1,$0
trn... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0.log_21829_1329.asm | ljhsiun2/medusa | 9 | 88670 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xdef1, %rsi
lea addresses_WC_ht+0x4aaa, %rdi
clflush (%rsi)
nop
nop
nop
nop
xor %r12, %r12
mov $38, %rcx
rep movsb
nop
lfence
lea addresses_A_ht+0xddd5, %r14
clflush (%r14)
no... |
libsrc/_DEVELOPMENT/string/c/sdcc_iy/strrstrip.asm | jpoikela/z88dk | 640 | 104197 | <reponame>jpoikela/z88dk<filename>libsrc/_DEVELOPMENT/string/c/sdcc_iy/strrstrip.asm
; char *strrstrip(char *s)
SECTION code_clib
SECTION code_string
PUBLIC _strrstrip
EXTERN asm_strrstrip
_strrstrip:
pop af
pop hl
push hl
push af
jp asm_strrstrip
|
_anim/Yadrin.asm | kodishmediacenter/msu-md-sonic | 9 | 20043 | ; ---------------------------------------------------------------------------
; Animation script - Yadrin enemy
; ---------------------------------------------------------------------------
Ani_Yad: dc.w @stand-Ani_Yad
dc.w @walk-Ani_Yad
@stand: dc.b 7, 0, afEnd
even
@walk: dc.b 7, 0, 3, 1, 4, 0, 3, 2, 5, afEnd
... |
Task/Dot-product/AppleScript/dot-product-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 33 | -- DOT PRODUCT ---------------------------------------------------------------
-- dotProduct :: [Number] -> [Number] -> Number
on dotProduct(xs, ys)
script product
on |λ|(a, b)
a * b
end |λ|
end script
if length of xs = length of ys then
sum(zipWith(product, xs, ys))
... |
src/keystore-marshallers.ads | thierr26/ada-keystore | 0 | 28914 | <gh_stars>0
-----------------------------------------------------------------------
-- keystore-marshallers -- Data marshaller for the keystore
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... |
src/bb_pico_bsp-spi.ads | Fabien-Chouteau/bb_pico_bsp | 0 | 14722 | <gh_stars>0
with System;
with HAL;
with HAL.SPI;
package BB_Pico_Bsp.SPI is
function Port return not null HAL.SPI.Any_SPI_Port;
procedure Go_Slow;
-- Set a slow baud rate for the STMPE811 touch controller
procedure Go_Fast;
-- Set a fast baud rate for the LCD pixel transfer
procedure DMA_Transm... |
oeis/289/A289156.asm | neoneye/loda-programs | 11 | 82916 | ; A289156: Largest area of triangles with integer sides and area = n times perimeter.
; 60,1224,8436,34320,103020,254040,546084,1060896,1907100,3224040,5185620,8004144,11934156,17276280,24381060,33652800,45553404,60606216,79399860,102592080,130913580,165171864,206255076,255135840,312875100,380625960,459637524,551258736... |
data/battle_tower/parties.asm | genterz/pokecross | 28 | 171222 | BattleTowerMons:
; 10 groups of 21 mons.
BattleTowerMons1:
db JOLTEON
db MIRACLEBERRY
db THUNDERBOLT, HYPER_BEAM, SHADOW_BALL, ROAR
dw 0 ; OT ID
dt 1000 ; Exp
; Stat exp
bigdw 50000
bigdw 40000
bigdw 40000
bigdw 35000
bigdw 40000
dn 13, 13, 11, 13 ; DVs
db 15, 5, 15, 20 ; PP
db 100 ; Happiness
db 0, 0,... |
beafix_benchmarks/BEAFIX_ALL_D3/production_inv1_1_repair.als | Kaixi26/org.alloytools.alloy | 0 | 1563 | //Line and OP: Line 28 <JEE>
//ORIGINAL: parts
//MUTATION: (c . parts)
open util/integer as integer
open util/ordering[Position] as ordering
sig Position {
}
sig Product {
}
sig Component extends Product {
parts : set Product,
cposition : one Position
}
sig Resource extends Product {
}
sig Robot {
rposition :... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c55b11a.ada | best08618/asylo | 7 | 3718 | <gh_stars>1-10
-- C55B11A.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.... |
src/exercices/Commerce.agda | d-plaindoux/colca | 2 | 12143 | <reponame>d-plaindoux/colca
--
-- Created by Dependently-Typed Lambda Calculus on 2020-09-23
-- Commerce
-- Author: dplaindoux
--
{-# OPTIONS --without-K --safe #-}
module Commerce where
open import Relation.Nullary using (Reflects; Dec; yes; no)
open import Data.Bool using (Bool; true; false)
open import Data.Nat u... |
src/main/fragment/mos6502-common/vbsm1=pbsc1_derefidx_vbuyy_minus_pbsc2_derefidx_vbuyy.asm | jbrandwood/kickc | 2 | 12294 | sec
lda {c1},y
sbc {c2},y
sta {m1}
|
kernel/groovy/src/main/antlr4/GroovyLexer.g4 | altavir/beakerx | 7 | 2711 | /*
* Copyright 2014 TWO SIGMA OPEN SOURCE, LLC
*
* 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
*
* Unless required by appl... |
WebAppsGenerator.Core/Grammar/SneakParser.g4 | drajwer/web-apps-generator | 0 | 5663 | parser grammar SneakParser;
options { tokenVocab=SneakLexer; }
compileUnit : EOF
;
file : classDefs
;
classDefs : classDef classDefs
| /* epsilon */
;
classDef : annotations CLASS ID NEWLINE body
;
body : INDENT properties DEDENT
| /* epsilon */
;
properties : (property NEWLIN... |
programs/oeis/037/A037537.asm | neoneye/loda | 22 | 178824 | ; A037537: Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,1.
; 1,6,25,101,406,1625,6501,26006,104025,416101,1664406,6657625,26630501,106522006,426088025,1704352101,6817408406,27269633625,109078534501,436314138006,1745256552025,6981026208101,27924104832406
mov $1,4
pow $... |
Des_Ada/src/p_stephandler.adb | VMika/Des_Ada | 0 | 4313 | <filename>Des_Ada/src/p_stephandler.adb<gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
with P_StructuralTypes;
use P_StructuralTypes;
package body P_stephandler is
function Get_NextHandler (Self : in out T_StepHandler) return Ptr_Handler is
begin
return Self.NextHandler;
end;
procedure Set_Nex... |
8088/cga/1024colors/1024.asm | reenigne/reenigne | 92 | 22396 | <reponame>reenigne/reenigne<filename>8088/cga/1024colors/1024.asm
org 0
cpu 8086
cli
; Copy data
mov ax,cs
mov ds,ax
mov ax,0xb800
mov es,ax
mov cx,8000
mov si,data
xor di,di
cld
rep movsw
; Scanline 0 = row 0 of 2-line screen (Address 0 = blank)
; Scanline 1 = row 1 of 2-line screen (... |
programs/oeis/019/A019427.asm | neoneye/loda | 22 | 14881 | ; A019427: Continued fraction for tan(1/4).
; 0,3,1,10,1,18,1,26,1,34,1,42,1,50,1,58,1,66,1,74,1,82,1,90,1,98,1,106,1,114,1,122,1,130,1,138,1,146,1,154,1,162,1,170,1,178,1,186,1,194,1,202,1,210,1,218,1,226,1,234,1,242,1,250,1,258,1,266,1,274,1,282,1,290,1,298,1,306,1,314,1,322,1,330,1,338,1,346,1,354,1,362,1,370,1,378,... |
FormalAnalyzer/models/apps/BrightenMyPath.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 3732 | module app_BrightenMyPath
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_motionSensor
open cap_switch
one sig app_BrightenMyPath extends IoTApp {
motion1 : some cap_motionSensor,
switch1 : some cap_switch,
} {
rules = r
//capabilities = motion1 + switch1
}
abstract sig r extends R... |
programs/oeis/104/A104199.asm | neoneye/loda | 22 | 16969 | ; A104199: Lower bound on a straddle prime pair.
; 3,5,7,7,7,11,13,13,13,17,19,19,19,23,23,23,23,23,29,31,31,31,31,31,37,37,37,41,43,43,43,47,47,47,47,47,53,53,53,53,53,59,61,61,61,61,61,67,67,67,71,73,73,73,73,73,79,79,79,83,83,83,83,83,89,89,89,89,89,89,89
seq $0,73169 ; a(n)=A002808(n)-n, difference between n-th co... |
alloy4fun_models/trashltl/models/13/H4YSLohFCYukRuZxB.als | Kaixi26/org.alloytools.alloy | 0 | 4623 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idH4YSLohFCYukRuZxB_prop14 {
always Protected & Trash not in Protected
}
pred __repair { idH4YSLohFCYukRuZxB_prop14 }
check __repair { idH4YSLohFCYukRuZxB_prop14 <=> prop14o } |
test/Succeed/NewEquations.agda | alhassy/agda | 3 | 8923 | {-# OPTIONS --rewriting #-}
module NewEquations where
open import Common.Prelude hiding (map; _++_)
open import Common.Equality
infixr 5 _++_
map : ∀ {A B : Set} → (A → B) → List A → List B
map f [] = []
map f (x ∷ xs) = (f x) ∷ (map f xs)
_++_ : ∀ {A : Set} → List A → List A → List A
[] ++ ys = ys
(x ∷ xs) ++ ys ... |
src/Interrupt.asm | sharksym/vgmplay-sharksym | 6 | 22268 | <reponame>sharksym/vgmplay-sharksym
;
; Interrupt handler (IM2 mode)
;
Interrupt_HEAPBLOCK_SIZE: equ 200H
Interrupt_HOOK_SIZE: equ 5
Interrupt: MACRO
table:
dw 0
entry:
dw 0
ENDM
; ix = this
Interrupt_Construct:
ld bc,Interrupt_HEAPBLOCK_SIZE
push ix
ld ix,Heap_main
call Heap_AllocateAligned
pop ix
ld a,... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_m_geterr_callee.asm | Toysoft/z88dk | 0 | 179555 | <reponame>Toysoft/z88dk
; void esx_m_geterr(uint16_t error,unsigned char *msg)
SECTION code_esxdos
PUBLIC esx_m_geterr_callee
EXTERN asm_esx_m_geterr
esx_m_geterr_callee:
pop af
pop hl
pop de
push af
jp asm_esx_m_geterr
|
tools/scitools/conf/understand/ada/ada05/s-tpoben.ads | brucegua/moocos | 1 | 24513 | <reponame>brucegua/moocos
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
Projects/PJZ2/Framework/MusicReplay/P6112-Play.asm | jonathanbennett73/amiga-pjz-planet-disco-balls | 21 | 18432 | <reponame>jonathanbennett73/amiga-pjz-planet-disco-balls
; #-----+-----------------------------------------#
; |Name:| P6112 - Optimized Player 6.1 Playroutine|
; +-----+-----------------------------------------+
; |V1.06| P6112,E1x/E2x fix |
; |V1.05| P6111, EDx fix,better init/exit,Dxx note|
; |V1.04| P6110,... |
Definition/Typed/Weakening.agda | CoqHott/logrel-mltt | 2 | 6548 | {-# OPTIONS --safe #-}
module Definition.Typed.Weakening where
open import Definition.Untyped as U hiding (wk)
open import Definition.Untyped.Properties
open import Definition.Typed
import Tools.PropositionalEquality as PE
-- Weakening type
data _∷_⊆_ : Wk → Con Term → Con Term → Set where
id : ∀ {Γ} → ... |
oeis/230/A230096.asm | neoneye/loda-programs | 11 | 3847 | <filename>oeis/230/A230096.asm
; A230096: Number of tilings of an n X 1 rectangle (using tiles of dimension 1 X 1 and 2 X 1) that share no tile at the same position with their mirrored image.
; 1,0,0,2,2,2,2,6,6,10,10,22,22,42,42,86,86,170,170,342,342,682,682,1366,1366,2730,2730,5462,5462,10922,10922,21846,21846,43690,... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_542.asm | ljhsiun2/medusa | 9 | 242130 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x2882, %rbx
nop
nop
nop
nop
nop
xor $25506, %r11
mov (%rbx), %ecx
inc %r13
lea addresses_A_ht+0x3b6e, %rsi
lea addresses_A_ht+0xcea4, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
a... |
alloy4fun_models/trashltl/models/7/9hDaj48rAFmn6tCYi.als | Kaixi26/org.alloytools.alloy | 0 | 4823 | open main
pred id9hDaj48rAFmn6tCYi_prop8 {
always all f,g: File| f->g in link implies eventually always f in Trash
}
pred __repair { id9hDaj48rAFmn6tCYi_prop8 }
check __repair { id9hDaj48rAFmn6tCYi_prop8 <=> prop8o } |
src/MJ/Semantics/Functional.agda | metaborg/mj.agda | 10 | 6536 | <reponame>metaborg/mj.agda
open import MJ.Types
open import MJ.Classtable
import MJ.Syntax as Syntax
import MJ.Semantics.Values as Values
--
-- Substitution-free interpretation of welltyped MJ
--
module MJ.Semantics.Functional {c} (Σ : CT c) (ℂ : Syntax.Impl Σ) where
open import Prelude
open import Data.Vec hiding... |
test_programs/uart.asm | mfkiwl/QNICE-FPGA-hyperRAM | 53 | 27346 | ; very basic UART test which echos all input chars back to the terminal
; plus it displays the ASCII code of the character on the TIL
; by sy2002 in August 2015
.ORG 0x8000
#define FPGA
#include "../dist_kit/sysdef.asm"
MOVE IO$TIL_DISPLAY, R12
MOVE 0xFFAA, @R12
... |
oeis/015/A015593.asm | neoneye/loda-programs | 11 | 22776 | <gh_stars>10-100
; A015593: a(n) = 11*a(n-1) + 2*a(n-2).
; Submitted by <NAME>(s4)
; 0,1,11,123,1375,15371,171831,1920883,21473375,240048891,2683484551,29998427843,335349675375,3748843284811,41907975483671,468485416890003,5237155536757375,58545681738111131,654476810192737191,7316336275596331363,81788652651945119375,914... |
src/libraries/Rejuvenation_Lib/src/rejuvenation-find_and_replacer.adb | selroc/Renaissance-Ada | 1 | 11622 | with Rejuvenation; use Rejuvenation;
with Rejuvenation.Finder; use Rejuvenation.Finder;
with Rejuvenation.Placeholders; use Rejuvenation.Placeholders;
with Rejuvenation.Replacer; use Rejuvenation.Replacer;
with String_Maps; use String_Maps;
package body Rejuvenation.Find_And_Replac... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64104a.ada | best08618/asylo | 7 | 22105 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64104a.ada<gh_stars>1-10
-- C64104A.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 ... |
tests/natools-s_expressions-templates-tests-dates.adb | faelys/natools | 0 | 736 | ------------------------------------------------------------------------------
-- Copyright (c) 2014, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
src/prototyping/term/examples/Prelude.agda | larrytheliquid/agda | 1 | 13195 | <reponame>larrytheliquid/agda
module Prelude where
data _==_ {A : Set}(x : A) : A → Set where
refl : x == x
J : {A : Set} {x y : A} (P : (x y : A) → x == y -> Set) →
(∀ z → P z z refl) → (p : x == y) → P x y p
J P h refl = h _
|
test/09-perses-left.g4 | nsumner/antlr2pnf | 3 | 128 |
grammar test09;
entry: a;
a: b c | d | ;
b: a d | c d;
c: 'c';
d: 'd';
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95022b.ada | best08618/asylo | 7 | 6298 | -- C95022B.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... |
Parser_Tools/src/implementation/lexer-source-file.adb | robdaemon/AdaYaml | 6 | 20857 | -- part of ParserTools, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
package body Lexer.Source.File is
overriding procedure Read_Data (S : in out Instance; Buffer : out String;
Length : out Natural) is
use type Ada.Directories... |
audio/sfx/cry23_2.asm | AmateurPanda92/pokemon-rby-dx | 9 | 104556 | SFX_Cry23_2_Ch4:
dutycycle 240
squarenote 15, 15, 7, 1984
squarenote 6, 14, 4, 1985
squarenote 10, 15, 6, 1984
squarenote 4, 13, 3, 1986
squarenote 8, 12, 1, 1984
endchannel
SFX_Cry23_2_Ch5:
dutycycle 95
squarenote 15, 9, 7, 1921
squarenote 6, 8, 4, 1920
squarenote 10, 9, 6, 1921
squarenote 15, 8, 3, 1921... |
programs/oeis/292/A292290.asm | karttu/loda | 0 | 17699 | <filename>programs/oeis/292/A292290.asm<gh_stars>0
; A292290: Number of vertices of type A at level n of the hyperbolic Pascal pyramid.
; 0,0,3,6,12,27,66,168,435,1134,2964,7755,20298,53136,139107,364182,953436,2496123,6534930,17108664,44791059,117264510,307002468,803742891,2104226202,5508935712,14422580931,37758807078... |
programs/oeis/121/A121722.asm | neoneye/loda | 22 | 93160 | ; A121722: Triangle T(n,k) = 1 + k*n*(n+1)/2, read by rows.
; 1,1,2,1,4,7,1,7,13,19,1,11,21,31,41,1,16,31,46,61,76,1,22,43,64,85,106,127,1,29,57,85,113,141,169,197,1,37,73,109,145,181,217,253,289,1,46,91,136,181,226,271,316,361,406,1,56,111,166,221,276,331,386,441,496,551,1,67,133,199,265,331,397,463,529,595,661,727,1,... |
oeis/193/A193249.asm | neoneye/loda-programs | 11 | 169586 | <gh_stars>10-100
; A193249: Snub dodecahedron with faces of centered polygons.
; Submitted by <NAME>(s4)
; 1,153,755,2107,4509,8261,13663,21015,30617,42769,57771,75923,97525,122877,152279,186031,224433,267785,316387,370539,430541,496693,569295,648647,735049,828801,930203,1039555,1157157,1283309,1418311,1562463,1716065,... |
test/Succeed/non-fol-theorems/Issue12.agda | asr/apia | 10 | 13922 | <reponame>asr/apia
------------------------------------------------------------------------------
-- Issue 12
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{... |
programs/oeis/198/A198276.asm | neoneye/loda | 22 | 86526 | ; A198276: 19*2^n-1.
; 18,37,75,151,303,607,1215,2431,4863,9727,19455,38911,77823,155647,311295,622591,1245183,2490367,4980735,9961471,19922943,39845887,79691775,159383551,318767103,637534207,1275068415,2550136831,5100273663,10200547327,20401094655,40802189311,81604378623,163208757247,326417514495,652835028991,13056700... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_360_1255.asm | ljhsiun2/medusa | 9 | 98167 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_360_1255.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x18434, %rcx
clflush (%rcx)
cmp $61557, %rdx
mov (%rcx), %r11d
nop
nop... |
test/Succeed/Issue1436-5.agda | shlevy/agda | 1,989 | 5662 | module _ where
module A where
infix 2 c
infix 1 d
syntax c x = x ↑
syntax d x y = x ↓ y
data D : Set where
● : D
c : D → D
d : D → D → D
module B where
syntax d x y = x ↓ y
data D : Set where
d : D → D → D
open A
open B
rejected : A.D
rejected = ● ↑ ↓ ●
|
tools/win32/prepsrc.asm | scientech-com-ua/case | 17 | 4975 |
format PE console 4.0
entry start
include 'win32a.inc'
section '.data' data readable writeable
_usage db 'preprocessed source dumper for flat assembler',0Dh,0Ah
db 'usage: prepsrc <input> <output>',0Dh,0Ah
db 0
_error_prefix db 'error: ',0
_error_suffix db '.',0Dh,0Ah,0
input_file dd 0
output_file dd... |
Cameras/SOTTR/InjectableGenericCameraSystem/Interceptor.asm | valdisiljuconoks/InjectableGenericCameraSystem | 7 | 19462 | <filename>Cameras/SOTTR/InjectableGenericCameraSystem/Interceptor.asm
;////////////////////////////////////////////////////////////////////////////////////////////////////////
;// Part of Injectable Generic Camera System
;// Copyright(c) 2017, <NAME>
;// All rights reserved.
;// https://github.com/FransBouma/Injectable... |
oeis/108/A108982.asm | neoneye/loda-programs | 11 | 20438 | <filename>oeis/108/A108982.asm
; A108982: Inverse binomial of A003949.
; 1,6,29,146,729,3646,18229,91146,455729,2278646,11393229,56966146,284830729,1424153646,7120768229,35603841146,178019205729,890096028646,4450480143229,22252400716146,111262003580729,556310017903646,2781550089518229,13907750447591146,6953875223795572... |
oeis/000/A000178.asm | neoneye/loda-programs | 11 | 3102 | <filename>oeis/000/A000178.asm
; A000178: Superfactorials: product of first n factorials.
; Submitted by <NAME>
; 1,1,2,12,288,34560,24883200,125411328000,5056584744960000,1834933472251084800000,6658606584104736522240000000,265790267296391946810949632000000000,127313963299399416749559771247411200000000000,7927866975957... |
oeis/141/A141570.asm | neoneye/loda-programs | 11 | 98100 | ; A141570: Primes of the form 2*3*5*7*n+83.
; Submitted by <NAME>
; 83,293,503,1553,1973,2393,3023,3863,4073,4283,4493,4703,5333,6173,6803,7013,7433,7643,7853,8273,8693,9323,9533,9743,10163,11003,11213,11423,11633,12263,12473,12893,13103,13313,13523,14153,14783,15413,16253,16673,16883,17093,18143,18353,18773,19403,2066... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_f_read.asm | jpoikela/z88dk | 640 | 10506 | <filename>libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_f_read.asm
; uint16_t esx_f_read(unsigned char handle, void *dst, size_t nbytes)
SECTION code_esxdos
PUBLIC esx_f_read
EXTERN asm_esx_f_read
esx_f_read:
pop af
pop bc
pop hl
pop de
push de
push hl
push bc
push af
ld a,e
... |
programs/oeis/051/A051673.asm | jmorken/loda | 1 | 29219 | <reponame>jmorken/loda<gh_stars>1-10
; A051673: Cubic star numbers: a(n) = n^3 + 4*Sum_{i=0..n-1} i^2.
; 0,1,12,47,120,245,436,707,1072,1545,2140,2871,3752,4797,6020,7435,9056,10897,12972,15295,17880,20741,23892,27347,31120,35225,39676,44487,49672,55245,61220,67611,74432,81697,89420,97615,106296,115477,125172,135395,14... |
Working Disassembly/General/Sprites/Continue/Map - Player Icons.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 84907 | Map_5CD00: dc.w word_5CD12-Map_5CD00
dc.w word_5CD20-Map_5CD00
dc.w word_5CD2E-Map_5CD00
dc.w word_5CD36-Map_5CD00
dc.w word_5CD3E-Map_5CD00
dc.w word_5CD46-Map_5CD00
dc.w word_5CD4E-Map_5CD00
dc.w word_5CD56-Map_5CD00
dc.w word_5CD5E-Map_5CD00
word_5CD12: dc.w 2
dc.b $F4, 5, 0, 0, $FF, $F4... |
oeis/127/A127968.asm | neoneye/loda-programs | 11 | 95078 | <reponame>neoneye/loda-programs
; A127968: a(n) = F(n+1) + (1-(-1)^n)/2, where F() = Fibonacci numbers A000045.
; Submitted by <NAME>(s4)
; 1,2,2,4,5,9,13,22,34,56,89,145,233,378,610,988,1597,2585,4181,6766,10946,17712,28657,46369,75025,121394,196418,317812,514229,832041,1346269,2178310,3524578,5702888,9227465,14930353... |
oeis/138/A138639.asm | neoneye/loda-programs | 11 | 19933 | <filename>oeis/138/A138639.asm
; A138639: Nonnegative integers n such that 19*n-1 is prime.
; Submitted by <NAME>
; 2,6,8,12,20,30,32,36,42,48,56,68,72,78,90,92,96,98,110,116,126,138,140,152,156,158,168,170,176,182,186,188,198,210,212,222,236,242,246,252,272,278,288,296,302,306,308,312,320,330,338,356,368,380,386,396,3... |
release/src-rt-6.x.4708/router/gmp/mpn/mul_1.asm | zaion520/ATtomato | 2 | 88646 | <reponame>zaion520/ATtomato<gh_stars>1-10
../mpn/arm/mul_1.asm |
nerdy-nights/basic/main.asm | ryanplusplus/nes-dev | 0 | 178524 | <reponame>ryanplusplus/nes-dev
.include "header.inc"
.segment "STARTUP"
.segment "CODE"
reset:
sei ; Disable IRQs
cld ; Disable decimal mode
ldx #$40
stx $4017 ; Disable APU frame IRQ
ldx #$ff
txs ; Set up stack
inx ; Now X = 0
stx $2000... |
unix/inet-internal-unix_sockets.ads | annexi-strayline/ASAP-INET | 0 | 21270 | <reponame>annexi-strayline/ASAP-INET
------------------------------------------------------------------------------
-- --
-- Internet Protocol Suite Package --
-- ... |
Task/Higher-order-functions/Ada/higher-order-functions-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 491 | with Ada.Text_Io; use Ada.Text_Io;
procedure Subprogram_As_Argument is
type Proc_Access is access procedure;
procedure Second is
begin
Put_Line("Second Procedure");
end Second;
procedure First(Proc : Proc_Access) is
begin
Proc.all;
end First;
begin
First(Second'Access);
end Subpro... |
programs/oeis/189/A189574.asm | karttu/loda | 0 | 240541 | <reponame>karttu/loda<filename>programs/oeis/189/A189574.asm
; A189574: Partial sums of A189572.
; 0,1,1,1,2,2,3,3,4,4,4,5,5,6,6,6,7,7,8,8,8,9,9,10,10,11,11,11,12,12,13,13,13,14,14,15,15,16,16,16,17,17,18,18,18,19,19,20,20,21,21,21,22,22,23,23,23,24,24,25,25,25,26,26,27,27,28,28,28,29,29,30,30,30,31,31,32,32,33,33,33,3... |
src/xmlhelpers.adb | bracke/websitegenerator | 1 | 15442 | package body Xmlhelpers is
procedure Add_Node
(Node_Name, Node_Value : String; Parent_Node : DOM.Core.Element;
Feed : Node)
is
Feed_Text : Text;
Feed_Data : DOM.Core.Element;
begin
Feed_Data :=
Append_Child (Parent_Node, Create_Element (Feed, Node_Name));... |
src/cmd_flags.adb | wiremoons/apass | 3 | 8485 | <reponame>wiremoons/apass<gh_stars>1-10
-------------------------------------------------------------------------------
-- Package : Cmd_Flags --
-- Description : Manage user provided CLI flags for the program. --
-- Author : <NAME> <<EMAIL>> ... |
code/6502/invaders/aliens.asm | visrealm/hbc-56 | 65 | 18875 | <gh_stars>10-100
; Troy's HBC-56 - 6502 - Invaders - Aliens
;
; Copyright (c) 2021 <NAME>
;
; This code is licensed under the MIT license
;
; https://github.com/visrealm/hbc-56
;
;
INVADER1_TYPE = INVADER1
INVADER2_TYPE = INVADER2
INVADER3_TYPE = INVADER3
INVADER1_PATT = 128
INVADER2_PATT = 136
INVADER3_PATT = 144
... |
programs/oeis/130/A130123.asm | neoneye/loda | 22 | 24650 | <reponame>neoneye/loda
; A130123: Infinite lower triangular matrix with 2^k in the right diagonal and the rest zeros. Triangle, T(n,k), n zeros followed by the term 2^k. Triangle by columns, (2^k, 0, 0, 0, ...).
; 1,0,2,0,0,4,0,0,0,8,0,0,0,0,16,0,0,0,0,0,32,0,0,0,0,0,0,64,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,256,0,0,0,0,0... |
SrcAll/V1_Functions.asm | mytechnotalent/c64-assembly | 2 | 12957 | <reponame>mytechnotalent/c64-assembly
ifdef BuildC64
include "..\SrcC64\V1_Functions.asm"
endif
ifdef BuildVIC
include "..\SrcVIC\V1_Functions.asm"
endif
ifdef BuildBBC
include "..\SrcBBC\V1_Functions.asm"
endif
ifdef BuildAP2
include "..\SrcAP2\V1_Functions.asm"
endif
ifdef BuildLNX
inc... |
alloy4fun_models/trashltl/models/9/n4hfxuyJ9sRLD3epg.als | Kaixi26/org.alloytools.alloy | 0 | 869 | open main
pred idn4hfxuyJ9sRLD3epg_prop10 {
always Protected in Protected'
}
pred __repair { idn4hfxuyJ9sRLD3epg_prop10 }
check __repair { idn4hfxuyJ9sRLD3epg_prop10 <=> prop10o } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.