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 |
|---|---|---|---|---|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1027.asm | ljhsiun2/medusa | 9 | 14007 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x93db, %rsi
lea addresses_WC_ht+0x10d2f, %rdi
nop
nop
nop
nop
nop
dec %r15
mov $110, %rcx
rep movsb
nop
nop
nop
nop
nop
cmp $10669, %rdx
lea addresses_A_ht+0x19fc7, %rsi
lea a... |
LibraBFT/Base/ByteString.agda | cwjnkins/bft-consensus-agda | 0 | 11865 | <gh_stars>0
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020 Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Prelude
-- To enable reasoning about algorith... |
alloy4fun_models/trashltl/models/8/DdnwMS2xyJtELEzmt.als | Kaixi26/org.alloytools.alloy | 0 | 5128 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idDdnwMS2xyJtELEzmt_prop9 {
all f: File | always(f in Protected implies f not in Trash)
}
pred __repair { idDdnwMS2xyJtELEzmt_prop9 }
check __repair { idDdnwMS2xyJtELEzmt_prop9 <=> prop9o } |
oeis/291/A291512.asm | neoneye/loda-programs | 11 | 21643 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A291512: The arithmetic function uhat(n,2,7).
; Submitted by <NAME>
; -34,-34,-34,-34,-34,-34,-34,-34,-36,-40,-44,-48,-52,-56,-60,-64,-68,-72,-76,-80,-84,-88,-92,-96,-100,-104,-108,-112,-116,-120,-124,-128,-132,-136,-140,-144,-148,-152,-156,-160,-164,-168,-172,-176,-180... |
Code/Z80-Assembly/Demo2/multiply.asm | sonic2000gr/RainbowProject | 6 | 84125 | ORG 0000H ; Program Entry Point (BIOS Start)
endram: EQU 27FFH ; Stack at end of RAM (dec 10239)
LD SP, endram ; Load Stack Pointer
LD DE, 250 ; Multiply DE
LD A, 10 ; with A
LD B,8 ; 8 bits to shift
LD HL, 0 ; result in HL
start: add HL,HL ; double HL
rlca ; rotate A left and check carry
jr nc, l... |
src/Projects/eu_projects-projects.ads | fintatarta/eugen | 0 | 20292 | with Ada.Iterator_Interfaces;
with Ada.Containers.Indefinite_Ordered_Maps;
with Ada.Containers.Vectors;
with Ada.Finalization;
use Ada;
with EU_Projects.Nodes.Partners;
with EU_Projects.Nodes.Timed_Nodes.Milestones;
with EU_Projects.Nodes.Timed_Nodes.Deliverables;
with EU_Projects.Nodes.Action_Nodes.WPs;
with EU_Proj... |
Transynther/x86/_processed/AVXALIGN/_st_zr_un_4k_/i9-9900K_12_0xa0.log_21829_471.asm | ljhsiun2/medusa | 9 | 244973 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1c7fe, %r9
nop
nop
nop
nop
nop
xor %rdi, %rdi
mov $0x6162636465666768, %rcx
movq %rcx, %xmm7
movups %xmm7, (%r9)
and %rdi, %rdi
lea addresses_normal_ht+0x385e, %r9
nop
c... |
projects/batfish/src/main/antlr4/org/batfish/grammar/flatjuniper/FlatJuniper_routing_instances.g4 | netarch/batfish | 0 | 4046 | <gh_stars>0
parser grammar FlatJuniper_routing_instances;
import
FlatJuniper_common, FlatJuniper_forwarding_options, FlatJuniper_protocols, FlatJuniper_snmp;
options {
tokenVocab = FlatJuniperLexer;
}
ri_common
:
apply
| ri_description
| s_forwarding_options
| s_routing_options
;
ri_description
:
... |
oeis/211/A211421.asm | neoneye/loda-programs | 11 | 17634 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A211421: Integral factorial ratio sequence: a(n) = (8*n)!*(3*n)!/((6*n)!*(4*n)!*n!).
; Submitted by <NAME>
; 1,14,390,12236,404550,13777764,478273692,16825310040,597752648262,21397472070260,770557136489140,27884297395587240,1013127645555452700,36935287875280348776,13504... |
src/terminal_colours.adb | wiremoons/terminal-colours | 1 | 13737 | <filename>src/terminal_colours.adb
-------------------------------------------------------------------------------
-- BUILD FILE : Terminal_Colours.gpr --
-- Description : Demo of Ada terminal color support --
-- Author : <NAME> <<EMAIL>> ... |
libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc_iy/zx_saddrpleft_callee.asm | meesokim/z88dk | 0 | 21823 |
; void *zx_saddrpleft_callee(void *saddr, uchar bitmask)
SECTION code_arch
PUBLIC _zx_saddrpleft_callee
_zx_saddrpleft_callee:
pop af
pop hl
pop de
push af
INCLUDE "arch/zx/display/z80/asm_zx_saddrpleft.asm"
|
alloy4fun_models/trainstlt/models/10/fJdBs9y9QeEeBQTvd.als | Kaixi26/org.alloytools.alloy | 0 | 2991 | open main
pred idfJdBs9y9QeEeBQTvd_prop11 {
always ( all t:Train | some t.pos :> (Track-Entry) implies historically ( t.pos in Entry) )
}
pred __repair { idfJdBs9y9QeEeBQTvd_prop11 }
check __repair { idfJdBs9y9QeEeBQTvd_prop11 <=> prop11o } |
test/Succeed/Issue4005.agda | cruhland/agda | 1,989 | 3855 | <reponame>cruhland/agda<gh_stars>1000+
open import Agda.Builtin.Equality using (_≡_)
open import Agda.Builtin.Sigma using (Σ; _,_)
postulate
F : Set → Set₁
P : (A : Set) → F A → Set
easy : {A : Set₁} → A
A : Set₁
A = Σ Set λ B → Σ (F B) (P B)
f : (X Y : A) → X ≡ Y
f (C , x , p) (D , y , q) = proof
modu... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_241.asm | ljhsiun2/medusa | 9 | 93874 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xc45d, %rbx
clflush (%rbx)
nop
nop
nop
nop
nop
and $64133, %r10
mov (%rbx), %r9d
nop
nop
nop
add $21663, %r13
lea addresses_WT_ht+0xc2a1, %rsi
lea addresses_A_ht+0x2955, %rdi
n... |
release/src/router/gmp/source/mpn/ia64/sqr_diagonal.asm | zhoutao0712/rtn11pb1 | 184 | 87721 | dnl IA-64 mpn_sqr_diagonal. Helper for sqr_basecase.
dnl Copyright 2001, 2002, 2004 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as publi... |
programs/oeis/257/A257849.asm | karttu/loda | 1 | 9216 | <gh_stars>1-10
; A257849: a(n) = floor(n/9) * (n mod 9).
; 0,0,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,0,2,4,6,8,10,12,14,16,0,3,6,9,12,15,18,21,24,0,4,8,12,16,20,24,28,32,0,5,10,15,20,25,30,35,40,0,6,12,18,24,30,36,42,48,0,7,14,21,28,35,42,49,56,0,8,16,24,32,40,48,56,64,0,9,18,27,36,45,54,63,72,0,10,20,30,40,50,60,70,80,0,11,... |
src/game_level/enemiesA.asm | TypeDefinition/NautiBuoy | 2 | 91292 | <reponame>TypeDefinition/NautiBuoy
SECTION "Enemy A", ROM0
INCLUDE "./src/definitions/definitions.inc"
INCLUDE "./src/include/entities.inc"
/* Update for enemy type A
Behavior:
- Stays in 1 spot and shoot based on direction
- mostly based on animation
Parameters:
- hl: the starting addre... |
R2_Comm_Link/asm/src/slave_manager.asm | CmdrZin/chips_avr_examples | 5 | 6707 | /*
* Slave Manager Module
*
* org: 9/11/2014
* auth: Nels "Chip" Pearson
*
* Target: R2Link Demo Board w/ LED bank, 20MHz
*
* Usage:
* .include slave_manager.asm
*
*/
// Message Type values
.equ MSG_TYPE_0 = 0x00 ; Normal Data Parcket. N=1-15 bytes.
/* SLAVE_ECHO:
* Copy valid Type 0 I2C messages to I2... |
oeis/090/A090640.asm | neoneye/loda-programs | 11 | 22563 | ; A090640: a(0) = 0; a(2n) = 4*a(n), a(2n+1) = a(n) + 1.
; Submitted by <NAME>
; 0,1,4,2,16,5,8,3,64,17,20,6,32,9,12,4,256,65,68,18,80,21,24,7,128,33,36,10,48,13,16,5,1024,257,260,66,272,69,72,19,320,81,84,22,96,25,28,8,512,129,132,34,144,37,40,11,192,49,52,14,64,17,20,6,4096,1025,1028,258,1040
mov $2,1
lpb $0
gcd $... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c38102e.ada | best08618/asylo | 7 | 13340 | <gh_stars>1-10
-- C38102E.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.... |
MatrixMultiplication/matrix_multiplication.adb | veyselharun/ABench2020 | 0 | 14400 | <gh_stars>0
--
-- ABench2020 Benchmark Suite
--
-- Matrix Multiplication Program
--
-- Licensed under the MIT License. See LICENSE file in the ABench root
-- directory for license information.
--
-- Uncomment the line below to print the result.
-- with Ada.Text_IO; use Ada.Text_IO;
procedure Matrix_Multiplicatio... |
projects/Kirbys_Dream_Land_2.windfish/configuration/globals.asm | jverkoey/awaken | 68 | 11586 | HeaderIsColorGB EQU $0143 ; [HW_COLORGAMEBOY]
HeaderSGBFlag EQU $0146 ; [HW_SUPERGAMEBOY]
HeaderCartridgeType EQU $0147 ; [HW_CARTRIDGETYPE]
HeaderROMSize EQU $0148 ; [HW_ROMSIZE]
HeaderRAMSize EQU $0149 ; [HW_RAMSIZE]
HeaderDestinationCode EQU $014A ; [HW_DESTINATIONCODE]
gbVRAM EQU $8000 ; [hex]
gbBGCHARDAT EQ... |
LM/Aula5/Lista3/ex1.asm | Kw-Vinicius/Linguagem-de-Montagem- | 0 | 11073 | ;--------------------------------------------------------------------------------------------
; 1. Escreva um programa que inicialize três posições de memória com valores numéricos
;(<128), e retorne o menor dentre eles.
; <NAME>
;--------------------------------------------------------------------------------------... |
Transynther/x86/_processed/NC/_ht_st_zr_un_sm_/i3-7100_9_0x84_notsx.log_21829_2116.asm | ljhsiun2/medusa | 9 | 176092 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xbd96, %r12
nop
nop
nop
nop
nop
cmp %rsi, %rsi
mov (%r12), %r10
nop
nop
nop
cmp %r14, %r14
lea addresses_UC_ht+0x1ab96, %rsi
lea addresses_D_ht+0x12a46, %rdi
nop
nop
nop
nop
... |
Sources/Globe_3d/globe_3d-collision_detection.adb | ForYouEyesOnly/Space-Convoy | 1 | 10289 | <reponame>ForYouEyesOnly/Space-Convoy
pragma Style_Checks (Off);
pragma Warnings (Off);
-------------------------------------------------------------------------
-- GLOBE_3D.Collision_detection
--
-- Copyright (c) <NAME> 1999 .. 2008
-- SWITZERLAND
--
-- Permission is hereby granted, free of charge,... |
dino/lcs/base/6BDB.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 173614 | copyright zengfr site:http://github.com/zengfr/romhack
004CFC move.b D0, ($6bdb,A5)
004D00 move.b D0, ($6bdc,A5)
016CB6 move.b ($6bdb,A5), D2
016CBA bra $16cc8 [base+6BDB]
016CDA move.b D2, ($6bdb,A5)
016CDE rts [base+6BDB]
copyright zengfr site:http://github.com/zengfr/romhack
|
Outputs/mixers/m32flat/mixinterp.asm | jgunthorpe/muse | 0 | 170202 | ;
; ASM mixing code
;
ideal ; TASM Ideal ode
p386 ; protected mode 386 code
model os2 flat, syscall ; os/2 flat model, system calling
nosmart
public syscall MixIntAsm
public syscall MixIntAsmR
public syscall MixIntAs... |
programs/oeis/171/A171622.asm | karttu/loda | 1 | 105455 | ; A171622: Floor(n-th noncomposite / n).
; 1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
cal $0,171626 ; Ceiling(n-th noncomposite/n).
trn $0,2
add $1,$0
add $1,1
|
test/test_list.applescript | darricktheprogrammer/Yaasl | 1 | 259 | <filename>test/test_list.applescript<gh_stars>1-10
property parent : script "ASUnit"
property suite : makeTestSuite("List")
set suite's loggers to {ConsoleLogger}
autorun(suite)
script BaseListTest
property parent : TestSet(me)
property listlib : missing value
property emptylist : missing value
property shortli... |
programs/oeis/325/A325473.asm | neoneye/loda | 22 | 176204 | <reponame>neoneye/loda
; A325473: Number of compositions of n with no part divisible by 3 and an even number of parts congruent to 4 or 5 modulo 6.
; 1,1,2,3,5,8,13,22,38,67,120,217,395,722,1323,2428,4460,8197,15070,27711,50961,93724,172377,317042,583122,1072519,1972660,3628277,6673431,12274342,22576023,41523768,763741... |
oeis/000/A000453.asm | neoneye/loda-programs | 11 | 105285 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A000453: Stirling numbers of the second kind, S(n,4).
; 1,10,65,350,1701,7770,34105,145750,611501,2532530,10391745,42355950,171798901,694337290,2798806985,11259666950,45232115901,181509070050,727778623825,2916342574750,11681056634501,46771289738810,187226356946265,74932... |
src/Double-negation.agda | nad/equality | 3 | 3389 | ------------------------------------------------------------------------
-- The double-negation monad
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Equality
module Double-negation
{reflexive} (eq : ∀ {a p} → Equality-with-J a p reflexive) wh... |
wof/lcs/enemy/AA.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 20864 | copyright zengfr site:http://github.com/zengfr/romhack
001590 lea ($20,A0), A0
003D4C move.w (A1)+, ($a8,A0) [enemy+AA]
003DC2 move.w (A2)+, ($a8,A0) [enemy+AA]
003EB4 sub.w ($aa,A0), D0 [enemy+AF]
003EB8 bgt $3eac [enemy+AA]
0122A0 move.l (A2)+, (A3)+ [enemy+A4, enemy+A6]
0122A2 move.l (A2)+, (A3... |
audio/music/cities1.asm | opiter09/ASM-Machina | 1 | 20771 | Music_Cities1_branch_aa6f::
tempo 232
sound_loop 0, Music_Cities1_branch_aa79
Music_Cities1_Ch1::
tempo 144
Music_Cities1_branch_aa79::
volume 7, 7
vibrato 8, 2, 4
duty_cycle 3
Music_Cities1_branch_aa80::
note_type 12, 12, 5
octave 3
note G#, 4
note F#, 4
note E_, 2
note E_, 2
note F#, 2
note D#, 2
no... |
Contractive/Stream.agda | nad/codata | 1 | 2393 | <reponame>nad/codata
------------------------------------------------------------------------
-- Instantiation of Contractive for streams
------------------------------------------------------------------------
-- Taken from the paper.
-- The definition of Eq has been changed slightly, as compared to the
-- paper. Th... |
src/Ada/collatz/col.adb | vonNiklasson/KTH-programming-benchmark | 0 | 206 | <gh_stars>0
with Gnat.Io; use Gnat.Io;
procedure col is
function collatz(n1: Integer) return Integer is
c: Integer;
n: Integer;
begin
n := n1;
c := 0;
while n /= 1 loop
if n mod 2 = 0 then
n := n / 2;
else
n := n * ... |
ANTLRTestProjects/antbased/LexerRules/build/classes/TokenDeclarations.g4 | timboudreau/ANTLR4-Plugins-for-NetBeans | 1 | 2742 | lexer grammar TokenDeclarations;
tokens { EOF1 }
ID1 : [a-z]; // match identifiers
ID2 : [0-9]+; // match integers
ID3 : [A-Z]*;
ID4 : ~[A-Z]*?;
NEWLINE:'\r'? '\n'; // return newlines to parser
EOF2 : EOF; // EOF is a reserved token id |
vpx_dsp/x86/sad_ssse3.asm | prometheansacrifice/esy-vpx | 2,151 | 7688 | ;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
libsrc/_DEVELOPMENT/arch/ts2068/display/z80/asm_tshc_saddr2px.asm | jpoikela/z88dk | 640 | 173679 | <gh_stars>100-1000
; ===============================================================
; May 2017
; ===============================================================
;
; uchar tshc_saddr2px(void *saddr)
;
; Pixel x coordinate corresponding to the leftmost pixel at
; of the screen address.
;
; ==============================... |
grammars/query/ElementSelector.g4 | aaronhuggins/js-edi | 7 | 7071 | grammar ElementSelector;
selector:
segmentTag
| elementSelector
| parentSegmentSelector
| hlPathSelector
| loopPathSelector
| elementValueSelector
| elementNotValueSelector
| elementContainsValueSelector
| elementSiblingSelector
| elementPrecedentSelector
| elementAdjacentSelector
;
// Eleme... |
test/Succeed/Issue4735.agda | cruhland/agda | 1,989 | 6395 | <reponame>cruhland/agda
module _ where
open import Agda.Builtin.Nat renaming (Nat to Nombre)
open import Agda.Builtin.Equality
open import Agda.Builtin.String
open import Agda.Builtin.Reflection
check₁ : primShowQName (quote Nombre) ≡ "Agda.Builtin.Nat.Nat"
check₁ = refl
check₂ : primShowQName (quote Agda.Builtin.N... |
src/main/antlr4/org/snomed/langauges/ecl/generated/parser/ECL.g4 | danka74/snomed-ecl-parser | 0 | 7680 | grammar ECL;
expressionconstraint : ws ( refinedexpressionconstraint | compoundexpressionconstraint | dottedexpressionconstraint | subexpressionconstraint ) ws;
refinedexpressionconstraint : subexpressionconstraint ws COLON ws eclrefinement;
compoundexpressionconstraint : conjunctionexpressionconstraint | disjunction... |
source/Tribes2.g4 | Ragora/TribalScript | 0 | 7767 | <gh_stars>0
/**
* Copyright 2021 <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 use, copy, modify, merge, publis... |
source/quickAdd.applescript | oashour/bookends-tools | 76 | 40 | <reponame>oashour/bookends-tools
#!/usr/bin/env osascript
tell application "System Events"
set previousApp to name of 1st process whose frontmost is true
keystroke "c" using command down
tell application "Bookends"
activate
end tell
delay 0.1
keystroke "n" using {command down, control down}
delay 0.6
keyst... |
bb-runtimes/src/s-bbcpsp__spe.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 443 | <filename>bb-runtimes/src/s-bbcpsp__spe.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
Tek2/ASM/MinilibC/src/memmove.asm | PhilippeDeSousa/EpitechBundle | 1 | 93554 | <reponame>PhilippeDeSousa/EpitechBundle
section .text
global memmove:function
memmove:
mov rax, rdi
mov r8, rdi
sub r8, rsi
cmp r8, 0
jge overlap_right
overlap_left:
xor rcx, rcx
loop_left:
cmp rcx, rdx
je end
mov r8b, [rsi + rcx]
mov [rdi + rcx], r8b
inc rcx
jmp loop_left
overlap_right:
dec rdx
... |
src/include/defines.asm | rondnelson99/vcs-instrument | 0 | 9897 | <gh_stars>0
.MEMORYMAP
DEFAULTSLOT 0
SLOT 0 START $F000 SIZE $1000 NAME "ROM"
SLOT 1 START $80 SIZE $80 NAME "RAM"
.ENDME
.ROMBANKSIZE $1000
.ROMBANKS 1
.include "vcs.inc"
.include "macro.inc"
.def Scratchpad $80
.MACRO incv2bpp ARGS FILE WIDTH ;include a 2bpp row-major image, but convert to column-major
.fopen... |
programs/oeis/295/A295513.asm | karttu/loda | 0 | 177398 | <filename>programs/oeis/295/A295513.asm<gh_stars>0
; A295513: a(n) = n*bil(n) - 2^bil(n) where bil(0) = 0 and bil(n) = floor(log_2(n)) + 1 for n>0.
; -1,-1,0,2,4,7,10,13,16,20,24,28,32,36,40,44,48,53,58,63,68,73,78,83,88,93,98,103,108,113,118,123,128,134,140,146,152,158,164,170,176,182,188,194,200,206,212,218,224,230,2... |
libsrc/_DEVELOPMENT/font/fzx/fonts/kk/_ff_kk_McMillen.asm | jpoikela/z88dk | 640 | 103069 |
SECTION rodata_font
SECTION rodata_font_fzx
PUBLIC _ff_kk_McMillen
_ff_kk_McMillen:
BINARY "font/fzx/fonts/kk/McMillen.fzx"
|
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-cofuve.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 1457 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
programs/oeis/017/A017366.asm | neoneye/loda | 22 | 289 | <filename>programs/oeis/017/A017366.asm
; A017366: a(n) = (10*n+8)^2.
; 64,324,784,1444,2304,3364,4624,6084,7744,9604,11664,13924,16384,19044,21904,24964,28224,31684,35344,39204,43264,47524,51984,56644,61504,66564,71824,77284,82944,88804,94864,101124,107584,114244,121104,128164,135424,142884,150544,158404,166464,174724... |
libsrc/graphics/xordrawto.asm | grancier/z180 | 0 | 160112 | ;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
;
; $Id: xordrawto.asm,v 1.1 2016/11/10 07:34:56 stefano Exp $
;
;Usage: xordrawto(struct *pixels)
SECTION code_clib
PUBLIC... |
AppleScript/airpods_pro_start.applescript | iml885203/helper_scripts | 1 | 4607 | if application "Music" is running then
tell application "Music" to play
end if
if application "Spotify" is running then
tell application "Spotify" to play
end if
tell application "System Events"
tell process "SystemUIServer"
click (menu bar item 1 of menu bar 1 whose description contains "volume")
click m... |
oeis/055/A055067.asm | neoneye/loda-programs | 11 | 242003 | ; A055067: Product of numbers < n which do not divide n (or 1 if no such numbers exist).
; 1,1,2,3,24,20,720,630,13440,36288,3628800,277200,479001600,444787200,5811886080,20432412000,20922789888000,1097800704000,6402373705728000,304112751022080,115852476579840000,2322315553259520000,1124000727777607680000,1870082229375... |
01_bootsector/inf_bootsector.asm | cristicretu/CrtOS | 1 | 5879 | <reponame>cristicretu/CrtOS
; infinite loop (e9 fd ff)
loop:
jmp loop
; Fill with 510 zeros - size of the prev code
times 510 - ($ - $$) db 0
; Magic number
dw 0xaa55
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_148.asm | ljhsiun2/medusa | 9 | 101496 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1359, %rsi
lea addresses_WT_ht+0x8cb1, %rdi
nop
nop
nop
nop
nop
cmp $33627, %r13
mov $59, %rcx
rep movsb
nop
and %rdi, %rdi
lea addresses_WC_ht+0x18b71, %rcx
add %r8, %r8
mov... |
C/BiosLib/strcmp.asm | p-k-p/SysToolsLib | 232 | 89573 | <filename>C/BiosLib/strcmp.asm
PAGE ,132
TITLE C library emulation, not relying on MS-DOS.
;*****************************************************************************;
; ;
; FILE NAME: STRCMP.ASM ;
; ;
; DESCRIPTION: C library emulation routines in assembly langua... |
src/isa/avx2/masm/vrd2_tan_fma3.asm | jepler/aocl-libm-ose | 66 | 23238 | <reponame>jepler/aocl-libm-ose
;
; Copyright (C) 2008-2020 Advanced Micro Devices, Inc. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification,
; are permitted provided that the following conditions are met:
; 1. Redistributions of source code must retain the above c... |
c2000/C2000Ware_1_00_06_00/libraries/dsp/VCU/c28/source/vcu0/crc/vcu0_crc_32.asm | ramok/Themis_ForHPSDR | 0 | 12910 | ;;*****************************************************************************
;;! \file source/vcu0/vcu0_crc_8.asm
;;!
;;! \brief 32-bit CRC that uses the polynomial 0x04c11db7
;;
;; \date Apr 7, 2011
;;!
;;
;; Group: C2000
;; Target Family: F2837x
;;
;; Copyright (C) 2018 Texas Instruments Incor... |
oeis/319/A319948.asm | neoneye/loda-programs | 11 | 100017 | <reponame>neoneye/loda-programs
; A319948: a(n) = Product_{i=1..n} floor(3*i/2).
; Submitted by <NAME>
; 1,3,12,72,504,4536,45360,544320,7076160,106142400,1698278400,30569011200,580811212800,12197035468800,268334780313600,6440034727526400,161000868188160000,4347023441080320000,121716656350248960000,36514996905074688000... |
ShellcodeBuilder/shellcode_arm.asm | boogy/ctftools | 3 | 100000 | <reponame>boogy/ctftools<gh_stars>1-10
# Linux/ARM - execve("/bin/sh", [0], [0 vars]) - 27 bytes
# http://shell-storm.org/shellcode/files/shellcode-698.php
.section .text
.global _start
_start:
add r3, pc, #1
bx r3
mov r0, pc
adds r0, #8
subs r1, r1, r1
subs r2, r2, r2
... |
programs/oeis/311/A311932.asm | neoneye/loda | 22 | 165555 | ; A311932: Coordination sequence Gal.6.192.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,4,8,13,17,22,26,31,35,40,44,48,52,56,61,65,70,74,79,83,88,92,96,100,104,109,113,118,122,127,131,136,140,144,148,152,157,161,166,170,175,17... |
.config/alfred/Alfred.alfredpreferences/workflows/user.workflow.D27B6AD4-C1F8-4105-8C0B-0E52489E70FE/app_Contacts.applescript | kuanger/dotfiles | 1 | 2902 | <gh_stars>1-10
on getTitle()
tell application id "com.apple.AddressBook"
set theContacts to selection
return name of first item of theContacts
end tell
end getTitle
on getBody()
tell application id "com.apple.AddressBook"
set theContacts to selection
return "addressbook://" & id of first item of theCo... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/ali.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 11866 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
source/directories/machine-apple-darwin/a-dirinf.ads | ytomino/drake | 33 | 15945 | pragma License (Unrestricted);
-- AARM A.16(124.cc/2), specialized for POSIX (Darwin, FreeBSD, or Linux)
package Ada.Directories.Information is
-- System-specific directory information.
-- Unix and similar systems version.
function Last_Access_Time (Name : String) return Calendar.Time;
function Last_St... |
konz/konz1/rac.ads | balintsoos/LearnAda | 0 | 15725 | <filename>konz/konz1/rac.ads
package Rac is
type Raci is record
szamlalo: Integer;
nevezo: Positive;
end record;
function "/" (A: Integer; B: Positive) return Raci;
function "+" (A: Raci; B: Raci) return Raci;
procedure kiir (A: Raci);
end Rac;
|
programs/oeis/143/A143299.asm | neoneye/loda | 22 | 160456 | <filename>programs/oeis/143/A143299.asm
; A143299: Number of terms in the Zeckendorf representation of every number in row n of the Wythoff array.
; 1,2,2,2,3,2,3,3,2,3,3,3,4,2,3,3,3,4,3,4,4,2,3,3,3,4,3,4,4,3,4,4,4,5,2,3,3,3,4,3,4,4,3,4,4,4,5,3,4,4,4,5,4,5,5,2,3,3,3,4,3,4,4,3,4,4,4,5,3,4,4,4,5,4,5,5,3,4,4,4,5,4,5,5,4,5... |
audio/sfx/battle_25.asm | opiter09/ASM-Machina | 1 | 241957 | SFX_Battle_25_Ch8:
noise_note 15, 4, -7, 65
noise_note 8, 8, -7, 65
noise_note 8, 12, -7, 65
noise_note 8, 15, 2, 66
noise_note 15, 15, 2, 65
sound_ret
|
programs/oeis/180/A180119.asm | neoneye/loda | 22 | 246967 | ; A180119: a(n) = (n+2)! * Sum_{k = 1..n} 1/((k+1)*(k+2)).
; 0,1,6,36,240,1800,15120,141120,1451520,16329600,199584000,2634508800,37362124800,566658892800,9153720576000,156920924160000,2845499424768000,54420176498688000,1094805903679488000,23112569077678080000,510909421717094400000,11802007641664880640000,2843721841277... |
programs/oeis/324/A324015.asm | karttu/loda | 0 | 101675 | ; A324015: Number of nonempty subsets of {1, ..., n} containing no two cyclically successive elements.
; 0,1,2,3,6,10,17,28,46,75,122,198,321,520,842,1363,2206,3570,5777,9348,15126,24475,39602,64078,103681,167760,271442,439203,710646,1149850,1860497,3010348,4870846,7881195,12752042,20633238,33385281,54018520,87403802
... |
alloy4fun_models/trashltl/models/4/TTFxmGy2LFtHmcJEA.als | Kaixi26/org.alloytools.alloy | 0 | 4335 | open main
pred idTTFxmGy2LFtHmcJEA_prop5 {
eventually some ((File-Protected) & Trash)
}
pred __repair { idTTFxmGy2LFtHmcJEA_prop5 }
check __repair { idTTFxmGy2LFtHmcJEA_prop5 <=> prop5o } |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver1/chip/ys_chip0.asm | prismotizm/gigaleak | 0 | 170774 | Name: ys_chip0.asm
Type: file
Size: 368848
Last-Modified: '2016-05-13T04:51:15Z'
SHA-1: AB15B0F98DFD1820D600928F4575E2BCC8C26FA6
Description: null
|
1-base/math/source/generic/pure/geometry/any_math-any_geometry-any_d3-any_modeller-any_forge.adb | charlie5/lace-alire | 1 | 298 | <reponame>charlie5/lace-alire<filename>1-base/math/source/generic/pure/geometry/any_math-any_geometry-any_d3-any_modeller-any_forge.adb
with
ada.Text_IO,
ada.Strings.unbounded,
ada.Strings.Maps;
package body any_Math.any_Geometry.any_d3.any_Modeller.any_Forge
is
function to_Box_Model (half_Extents ... |
Driver/Printer/DotMatrix/Grpr9/grpr9DriverInfo.asm | steakknife/pcgeos | 504 | 169107 | <filename>Driver/Printer/DotMatrix/Grpr9/grpr9DriverInfo.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: IBM Graphics Printer 9-pin printer driver
FILE: grpr9DriverInfo.asm
AUTHOR: <NA... |
programs/oeis/133/A133190.asm | karttu/loda | 1 | 105337 | <filename>programs/oeis/133/A133190.asm
; A133190: a(n) = 2a(n-1) - a(n-2) + 2a(n-3).
; 1,3,3,5,13,27,51,101,205,411,819,1637,3277,6555,13107,26213,52429,104859,209715,419429,838861,1677723,3355443,6710885,13421773,26843547,53687091,107374181,214748365,429496731,858993459,1717986917,3435973837
cal $0,100455 ; a(n) = 2... |
test-suite/programs/unit/jgt_0x1D.asm | ocus/TinyASM_Haskell | 0 | 247845 | MOV [0] 57
MOV [1] 58
MOV [2] 56
JGT 16 [0] [2]
DPRINT 123
HALT
JGT 23 [0] [1]
DPRINT 456
HALT
DPRINT 789
HALT
|
m3-sys/m3gdb/gdb/gdb/testsuite/gdb.ada/exec_changed/second.adb | jaykrell/cm3 | 105 | 17990 | procedure Second is
begin
null;
end Second;
|
firmware/glyphs/glyphs9.asm | ddomurad/avrVideoCard | 0 | 4493 | <gh_stars>0
.org 0x5800
.db 0x0, 0x0, 0x0, 0x0, 0x11, 0xaa, 0x33, 0xaa, 0x0, 0xc3
.db 0xff, 0xee, 0x0, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0, 0x0
.db 0x0, 0x0, 0x0, 0xcc, 0x18, 0x18, 0x0, 0x0, 0x0, 0x0
.db 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
.db 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
.db 0x0, 0x0, 0x0, ... |
src/gl/implementation/gl-buffers.adb | Roldak/OpenGLAda | 79 | 28778 | <filename>src/gl/implementation/gl-buffers.adb
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Ada.Unchecked_Conversion;
with GL.API;
with GL.Enums.Getter;
with GL.Low_Level.Enums;
package body GL.Buffers is
use type Culling.Face_Selector;
p... |
test/gameboy/test_ldd.asm | gb-archive/asmotor | 0 | 167321 | <filename>test/gameboy/test_ldd.asm
SECTION "Test",CODE[0]
ld [hl+],a
|
programs/oeis/051/A051747.asm | jmorken/loda | 1 | 172233 | ; A051747: a(n) = n*(n+1)*(n+2)*(n^2+7*n+32)/120.
; 2,10,31,76,161,308,546,912,1452,2222,3289,4732,6643,9128,12308,16320,21318,27474,34979,44044,54901,67804,83030,100880,121680,145782,173565,205436,241831,283216,330088,382976,442442,509082,583527,666444,758537,860548,973258,1097488,1234100,1383998,1548129,1727484,19230... |
Ada/DataStructures/AVLTree/generic_avl_tree.adb | egustafson/sandbox | 2 | 17045 | <gh_stars>1-10
with Generic_Stack;
with Ada.Text_IO, Ada.Integer_Text_IO, Ada.Unchecked_Deallocation;
use Ada.Text_IO, Ada.Integer_Text_IO;
package body Generic_AVL_Tree is
type Compare_Result_Type is ( Less_Than, Equal, Greater_Than );
----------------------------------------------------------------------
... |
RAdjunctions.agda | jmchapman/Relative-Monads | 21 | 8263 | <gh_stars>10-100
module RAdjunctions where
open import Library
open import Categories
open import Functors
open Cat
open Fun
record RAdj {a b c d e f}{C : Cat {a}{b}}{D : Cat {c}{d}}
(J : Fun C D)(E : Cat {e}{f}) : Set (a ⊔ b ⊔ c ⊔ d ⊔ e ⊔ f) where
constructor radjunction
field L : Fun C E
... |
gfx/pokemon/rattata/anim.asm | Dev727/ancientplatinum | 28 | 82149 | <gh_stars>10-100
frame 1, 02
frame 2, 02
frame 3, 12
frame 0, 10
setrepeat 3
frame 0, 05
frame 4, 05
dorepeat 5
endanim
|
Commands/Miscellaneous Commands suite/system info/long user name of (get system info).applescript | looking-for-a-job/applescript-examples | 1 | 1269 | #!/usr/bin/osascript
long user name of (get system info) |
programs/oeis/076/A076458.asm | karttu/loda | 0 | 165943 | ; A076458: Sum of numbers that can be written as t*n + u*(n+1) for nonnegative integers t,u in exactly five ways.
; 17,165,678,1910,4335,8547,15260,25308,39645,59345,85602,119730,163163,217455,284280,365432,462825,578493,714590,873390,1057287,1268795,1510548,1785300,2095925,2445417,2836890,3273578,3758835,4296135,48890... |
test/s/ext/float.asm | rolf0504/c2verilog | 252 | 2003 | <filename>test/s/ext/float.asm
@main
0;JMP
(C4) 4.0
(PI) 3.14159
(main)
@PI
D=A
@16 // get F(PI)
swi
@18 // putf F
swi
@PI
D=A
@19 // fadd F , PI
swi
@18 // putf F
swi
@C4
D=A
@21 // fmul F, 2
swi
@18 // putf F
swi
|
10 Adapted from others/11 Rich Walsh/02 Durations/5 Decrease postwait by 0.5s.applescript | streth11/Qlab-Scripts | 0 | 4649 | -- @description Decrease postwait by 0.5s
-- @author <NAME>
-- @link bensmithsound.uk
-- @source Rich Walsh
-- @version 1.0
-- @testedmacos 10.13.6
-- @testedqlab 4.6.9
-- @about Decreases post wait of selected cue by 0.5s. Can now be accomplished by OSC
-- @separateprocess FALSE
-- @changelog
-- v1.0 + init
-- U... |
tester.adb | skill-lang/adaCommon | 0 | 30727 | with Skill.Streams.Reader;
procedure Tester is
begin
null;
end Tester;
|
programs/oeis/118/A118002.asm | jmorken/loda | 1 | 83363 | ; A118002: a(0) = 0. a(n) = a(n-1) + (largest integer <= n which is coprime to a(n-1)).
; 0,1,3,5,9,14,19,26,33,41,51,62,73,86,99,113,129,146,163,182,201,221,243,266,289,314,339,365,393,422,451,482,513,545,579,614,649,686,723,761,801,842,883,926,969,1013,1059,1106,1153,1202,1251,1301,1353,1406,1459,1514,1569,1625,1683,... |
libsrc/_DEVELOPMENT/adt/p_forward_list/z80/asm_p_forward_list_init.asm | jpoikela/z88dk | 640 | 87380 |
; ===============================================================
; Dec 2013
; ===============================================================
;
; void p_forward_list_init(void *p)
;
; Create an empty forward_list in the two bytes of memory
; provided.
;
; =============================================================... |
libsrc/gfx/wide/w_xordrawto.asm | ahjelm/z88dk | 640 | 168745 | ; void xordrawto(int x2, int y2);
IF !__CPU_INTEL__ && !__CPU_GBZ80__
SECTION code_graphics
PUBLIC xordrawto
PUBLIC _xordrawto
EXTERN asm_xordrawto
.xordrawto
._xordrawto
pop af
pop de
pop hl
push hl
push de
push af
jp asm_xordrawto
ENDIF
|
oeis/204/A204270.asm | neoneye/loda-programs | 11 | 101209 | <filename>oeis/204/A204270.asm<gh_stars>10-100
; A204270: a(n) = tau(n)*Pell(n), where tau(n) = A000005(n), the number of divisors of n.
; Submitted by <NAME>
; 1,4,10,36,58,280,338,1632,2955,9512,11482,83160,66922,323128,780100,2354160,2273378,16465260,13250218,95966568,154455860,372889432,450117362,4346717760,3935214... |
src/kafka-topic.adb | Latence-Technologies/Kafka-Ada | 0 | 7867 | <reponame>Latence-Technologies/Kafka-Ada
package body Kafka.Topic is
function Create_Topic_Handle(Handle : Handle_Type;
Topic : String;
Config : Topic_Config_Type) return Topic_Type is
C_Topic : chars_ptr := New_String(Topic);
T... |
programs/oeis/284/A284775.asm | neoneye/loda | 22 | 12169 | <filename>programs/oeis/284/A284775.asm
; A284775: Fixed point of the morphism 0 -> 01, 1 -> 0011.
; 0,1,0,0,1,1,0,1,0,1,0,0,1,1,0,0,1,1,0,1,0,0,1,1,0,1,0,0,1,1,0,1,0,1,0,0,1,1,0,0,1,1,0,1,0,1,0,0,1,1,0,0,1,1,0,1,0,0,1,1,0,1,0,1,0,0,1,1,0,0,1,1,0,1,0,0,1,1,0,1,0,1,0,0,1,1,0,0,1,1,0,1,0,0,1,1,0,1,0,0
sub $0,1
mov $2,$0... |
oeis/208/A208650.asm | neoneye/loda-programs | 11 | 24720 | <reponame>neoneye/loda-programs
; A208650: Number of constant paths through the subset array of {1,2,...,n}; see Comments.
; Submitted by <NAME>(s1)
; 1,2,6,36,480,15000,1134000,211768200,99131719680,117595223746560,356467003200000000,2779532232516963000000,56049508602150185041920000,2935889842347365340037522521600
mo... |
03. 8086/01. Addition.asm | nitrece/microprocessor-laboratory | 0 | 26023 | <gh_stars>0
; Q 1>
; a> Addition of 2 16bit BCD numbers with carry
SW 2000h
[2000h] = 0999h ; A = 999 in BCD
[2002h] = 0001h ; B = 1 in BCD
[2004h] = (ans) ; C = (A + B) in BCD
.
A
1000h
mov ax, [2000h]
mov bx, [2002h]
add bx, ax
mov al, bl
daa
adc bh, 00h
mov bl, al
mov a... |
MarkConv/HtmlParser.g4 | KvanTTT/HabraMark | 16 | 255 | parser grammar HtmlParser;
options { tokenVocab=HtmlLexer; }
@parser::members
{private MarkConv.ILogger _logger;
public HtmlParser(ITokenStream input, MarkConv.ILogger logger)
: this(input)
{
_logger = logger ?? throw new System.ArgumentNullException(nameof(logger));
}
private void ProcessClosingTag()
{
var open... |
src/hide-file_coder.ads | persan/midnightsun-ctf-LoveLacedLetter | 0 | 15408 | package Hide.File_Coder is
procedure Encode (Source_File_Name : Posix.C_String;
Output_File_Name : Posix.C_String;
Offset : Natural;
Text : String);
function Decode (File_Name : Posix.C_String) return String;
end Hide.File_C... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt3_pkg.ads | best08618/asylo | 7 | 27298 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt3_pkg.ads
package Opt3_Pkg is
procedure F (I : Short_Integer);
end Opt3_Pkg;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.