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 |
|---|---|---|---|---|
src/ada/src/comms/uxas-comms-transport.ads | VVCAS-Sean/OpenUxAS | 88 | 13932 | <filename>src/ada/src/comms/uxas-comms-transport.ads
package UxAS.Comms.Transport is
type Transport_Base is abstract tagged limited record
-- these are public member data in the C++ version so they are visible
-- in this base class (even if extensions are private, as they should
-- be)
En... |
test/Succeed/Issue759.agda | shlevy/agda | 1,989 | 8887 | <reponame>shlevy/agda
-- Andreas, 2012-11-18: abstract record values
module Issue759 where
import Common.Level
abstract
record Wrap (A : Set) : Set where
field wrapped : A
open Wrap public
wrap : {A : Set} → A → Wrap A
wrap a = record { wrapped = a }
-- caused 'Not in Scope: recCon-NOT-PRINTED'
-- durin... |
Global/Get-Keychain-Access-Passwords.applescript | boisy/AppleScripts | 116 | 4117 | -- @description
-- Handler to return keychain access items
-- Feel free to reuse this with whatever passwords you'd like
--
on getKeychain(keychainItemName)
do shell script "security 2>&1 >/dev/null find-generic-password -gl " & quoted form of keychainItemName & " | awk '{print $2}'"
if result is not "SecKeychainSear... |
src/main/antlr4/com/api/jsonata4java/expressions/path/generated/PathExpressionParser.g4 | markmelville/JSONata4Java | 1 | 2140 | <gh_stars>1-10
/**
* (c) Copyright 2018, 2019 IBM Corporation
* 1 New Orchard Road,
* Armonk, New York, 10504-1722
* United States
* +1 914 499 1900
* support: <NAME> <EMAIL>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
cfg/export.ads | cosmo83/multiapps-cli-plugin | 0 | 24716 | <reponame>cosmo83/multiapps-cli-plugin<gh_stars>0
artifacts builderVersion:"1.1", {
version "${buildBaseVersion}", {
group "${groupId}", {
artifact "${artifactId}", {
file "${genroot}/out/mta_plugin_linux_amd64", classifier: "linux", extension: "bin"
file "${genr... |
src/gate3_glib.ads | Blady-Com/Gate3 | 1 | 3067 | <filename>src/gate3_glib.ads
-----------------------------------------------------------------------
--
-- simple XML Parser using glib & utilities
--
-----------------------------------------------------------------------
with Glib.Xml_Int; use Glib.Xml_Int;
pragma Elaborate_All (Glib.Xml_Int);
package Gate3_Glib is... |
volume_monitor/firmware/m62419fp_spi.asm | mullets/vwradio | 45 | 179852 | ;M62419FP Interrupt-Driven SPI Receiver
;
;The M62419FP uses a 14-bit SPI command. Since 14 is not a multiple of 8, it
;can't be received by the hardware SPI. This code uses bit-banging: a pin
;change interrupt fires for the clock edges and the ISR accumulates the bits.
;
;There are 3 buffers used in this code. The ... |
src/resources/sound_extend.asm | h1romas4/z88dk-msx-template | 5 | 14550 | ; license:MIT License
; copyright-holders:<NAME>
_sound_extend:
DB 0
DW _sound_extend_trk1
DW _sound_extend_trk2
DW _sound_extend_trk3
_sound_extend_trk1:
DB 201, %10, 200, 14 , 20 , 15 , 200, 0 , 0 , 5 , 200, 14 , 20 , 5 , 200, 0
DB 0 , 5 , 200, 14 , 20 , 5 , 200, 0 , 0 , 5 , 20... |
csl/src/vectors.asm | ksteensig/dsp-guitar-multieffects | 1 | 172325 | <reponame>ksteensig/dsp-guitar-multieffects<filename>csl/src/vectors.asm
;* ============================================================================
;* Copyright (c) 2008-2012 Texas Instruments Incorporated.
;*
;* Redistribution and use in source and binary forms, with or without
;* modification, are permi... |
test/Succeed/Issue2090.agda | alhassy/agda | 3 | 6247 | {-# OPTIONS --rewriting #-}
open import Agda.Primitive
postulate
_↦_ : ∀ {i} {A : Set i} → A → A → Set i
idr : ∀ {i} {A : Set i} {a : A} → a ↦ a
{-# BUILTIN REWRITE _↦_ #-}
postulate
_==_ : ∀ {i} {A : Set i} → A → A → Set i
idp : ∀ {i} {A : Set i} {a : A} → a == a
postulate
HetEq : ∀ {i} {A B : Set i} (e ... |
data/mapObjects/ssanne7.asm | adhi-thirumala/EvoYellow | 16 | 241265 | <reponame>adhi-thirumala/EvoYellow
SSAnne7Object:
db $c ; border block
db $1 ; warps
db $7, $0, $8, SS_ANNE_2
db $2 ; signs
db $1, $4, $2 ; SSAnne7Text2
db $2, $1, $3 ; SSAnne7Text3
db $1 ; objects
object SPRITE_SS_CAPTAIN, $4, $2, STAY, UP, $1 ; person
; warp-to
EVENT_DISP SS_ANNE_7_WIDTH, $7, $0 ; SS_AN... |
grammar/CarbonLexer.g4 | pensono/CarbonIntrepreter | 0 | 5319 | lexer grammar CarbonLexer;
// Whitespace and comments
WS: [ \t\r\n\u000C]+ -> skip;
COMMENT: '/*' .*? '*/' -> channel(HIDDEN);
LINE_COMMENT: '//' ~[\r\n]* -> channel(HIDDEN);
REG: 'reg';
LABEL: Letter (Letter | Digit)*;
NUMBER: Digit (Letter |... |
system.ads | mgrojo/adalib | 15 | 9790 | <filename>system.ads
-- 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, 1995 Intermetrics, I... |
bead/bead2/3/Garden_Pkg.adb | balintsoos/LearnAda | 0 | 29052 | with Ada.Integer_Text_IO, tools;
use Ada.Integer_Text_IO, tools;
package body Garden_Pkg is
package Position_Generator is new Random_Generator(Position);
function GetRandPos return Position is
begin
return Position_Generator.GetRandom;
end GetRandPos;
function GetField(pos : Position) return Boolean i... |
rom/src/assets.asm | Gegel85/GBCGoogleMaps | 0 | 81995 | <filename>rom/src/assets.asm
SECTION "Assets", ROMX[$6000], BANK[1]
; The fonts used.
textAssets::
incbin "assets/font.fx"
textAssetsEnd::
wifiAssets::
incbin "assets/wifi_status.fx"
wifiAssetsEnd::
googleLogoLeft::
incbin "assets/google_logo_left.cfx"
googleLogoLeftEnd::
googleLogoRight::
incbin "assets/google... |
oeis/344/A344057.asm | neoneye/loda-programs | 11 | 2115 | ; A344057: a(n) = (2*n)! / CatalanNumber(n - 1) for n >= 1 and a(0) = 1.
; Submitted by <NAME>
; 1,2,24,360,8064,259200,11404800,660441600,48771072000,4477184409600,500391198720000,66920738734080000,10554356508917760000,1938789402181632000000,410402940653807861760000,99180710658003566592000000,2714131447523849325772800... |
src/postgresql/ado-statements-postgresql.adb | My-Colaborations/ada-ado | 0 | 4267 | -----------------------------------------------------------------------
-- ado-statements-postgresql -- Postgresql query statements
-- Copyright (C) 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complian... |
src/asf-components-widgets-likes.adb | Letractively/ada-asf | 0 | 15977 | <reponame>Letractively/ada-asf
-----------------------------------------------------------------------
-- components-widgets-likes -- Social Likes Components
-- Copyright (C) 2013, 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... |
Appendices/Appendix_D_Command-Line Debugging Assembly with GDB/Program_D.1/x86_64/Program_D.1_Linux_NASM.asm | chen150182055/Assembly | 272 | 98307 | ; Program D.1
; sum - NASM (64-bit) on Linux
; Copyright (c) 2019 Hall & Slonka
; nasm -f elf64 -o sum.o -l sum.lst sum.asm
; ld -e _main -melf_x86_64 -o sum sum.o
section .data
num1: dq 2
num2: dq 4
section .text
global _main, _sum
_main:
mov rax, 10
dec rax
mov rbx, 5
lea rdi, [rel num1]
lea rsi, [rel num2]
call... |
programs/oeis/080/A080639.asm | karttu/loda | 1 | 168118 | ; A080639: a(1) = 1; for n>1, a(n) is taken to be the smallest integer greater than a(n-1) which is consistent with the condition "for n>1, n is a member of the sequence if and only if a(n) is even".
; 1,2,5,7,8,9,10,12,14,16,17,18,19,20,21,22,24,26,28,30,32,34,35,36,37,38,39,40,41,42,43,44,45,46,48,50,52,54,56,58,60,6... |
Assembly/Project/Includes.asm | Myself086/Project-Nested | 338 | 105252 |
.fix "Stuff"
.outfile "Nothing.smc"
Game "Empty ", 0x00, 0x00
.else
{
.nowrite
}
Game "Empty ", 0x00, 0x00
{
.outfile "Project_Nested.smc"
// ---------------------------------------------------------------------------
// Files with no direct writing
.include "Project/Variables.a... |
src/app/AppLogOffsetReset.asm | jhm-ciberman/calculator-asm | 2 | 161083 | <gh_stars>1-10
proc AppLogOffsetReset
mov [_gr_log_offset], 0
ret
endp |
Relatorios/Tarefa 07/Resolucao/codigo/programa14.asm | RafaelAmauri/Arquitetura-de-Computadores-2 | 0 | 13070 | <reponame>RafaelAmauri/Arquitetura-de-Computadores-2
.data
valor: .word 4
.text
ori $t0, $zero, 0x1001 # t0 = 0x1001
sll $t0, $t0, 16 # t0 = 0x10010000
lw $s0, 0($t0) # Pegando primeiro valor da memória
andi $t1, $s0, 1 # Verificando se termina com 1, se for é ímpar
... |
AssemblyExamples/01a_hello_world_syscall/01a_hello.asm | jude-arokiam-uoit/csci-2050-assembly-examples | 1 | 167875 | section .data
message db "This is a message from Linux assembly!", 0ah, 0dh
section .text
global _start
; more system calls are provided in:
; http://syscalls.kernelgrok.com/
_start:
; print the message
mov rax, 1 ; syscall number for sys_write()
mov rdi, 1 ; standard output
mov rsi, message ; w... |
oeis/337/A337420.asm | neoneye/loda-programs | 11 | 24890 | ; A337420: a(n) = Sum_{k=0..n} (-n)^(n-k) * binomial(2*k,k) * binomial(2*n,2*k).
; Submitted by <NAME>
; 1,1,-14,-7,1222,-14873,26196,3522955,-110841786,2088947819,-15869398244,-823790768205,55262757020956,-2199333670723343,65894251730104552,-1235877788883794355,-18904175519674543546,3743957841955101437667,-26885052424... |
samples/nes/common/anm.asm | 0x8BitDev/MAPeD-SPReD | 23 | 96670 | <reponame>0x8BitDev/MAPeD-SPReD
;###############################################
;
; Copyright 2018-2019 0x8BitDev ( MIT license )
;
;###############################################
;
; Animation functions
; LIMITATION: max 32 frames in animation
;
.struct runtime_anm_data
curr_tick .byte ; 0
num_ticks ... |
test/arch/HDpi.asm | yunxu1019/efront | 1 | 93077 | <filename>test/arch/HDpi.asm
.386
.Model Flat, StdCall
Option Casemap :None
__UNICODE__ equ 1
;部分代码来自http://www.voidcn.com/article/p-rzrbrmkt-bxe.html
Include windows.inc
Include user32.inc
Include kernel32.inc
Include gdi32.inc
includelib gdi32.lib
IncludeLib user32.lib
IncludeLib kernel32.lib
WinMain PROTO :DWO... |
src/main/antlr4/io/tiler/internal/queries/grammar/Query.g4 | tiler-project/tiler | 1 | 2650 | <filename>src/main/antlr4/io/tiler/internal/queries/grammar/Query.g4
grammar Query;
query : fromClause
whereClause?
groupClause?
aggregateClause?
(metricSelectClause metricSortClause?)?
(pointSelectClause pointSortClause?)? ;
fromClause : FROM exprs+=metricExpr (',' exprs+=metri... |
src/plfa/part1/AuxDefs.agda | abolotina/plfa.github.io | 0 | 10502 | module AuxDefs where
data ℕ : Set where
zero : ℕ
suc : ℕ → ℕ
_+_ : ℕ → ℕ → ℕ
zero + n = n
(suc m) + n = suc (m + n)
data Bool : Set where
true : Bool
false : Bool
data Comparison : Set where
less : Comparison
equal : Comparison
greater : Comparison
_<_ : ℕ → ℕ → Bool
zero < y = tru... |
deBruijn/Substitution/Data/Application/Application221.agda | nad/dependently-typed-syntax | 5 | 4063 | <gh_stars>1-10
------------------------------------------------------------------------
-- Lemmas related to application of substitutions
------------------------------------------------------------------------
open import Data.Universe.Indexed
module deBruijn.Substitution.Data.Application.Application221
{i u e} {U... |
test/Succeed/Issue3167prop.agda | cruhland/agda | 1,989 | 3944 | -- Andreas, 2018-09-12, issue #3167-2: --(no-)prop option
--
-- A local --prop option should override a global --no-prop flag.
-- Issue3167prop.flags has --no-prop.
{-# OPTIONS --prop #-}
-- The following depends on Prop enabled
data _≡_ {a} {A : Prop a} (x : A) : A → Prop a where
refl : x ≡ x
data P : Prop where... |
setoid-cats/Category/CategoryCons.agda | heades/AUGL | 0 | 1842 | <reponame>heades/AUGL<gh_stars>0
----------------------------------------------------------------------
-- This file contains constructions of new categories from existing --
-- categories. --
----------------------------------------------------------------------
mod... |
data/mapHeaders/Route16Gate1F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 20854 | <gh_stars>1-10
Route16Gate1F_h:
db GATE ; tileset
db ROUTE_16_GATE_1F_HEIGHT, ROUTE_16_GATE_1F_WIDTH ; dimensions (y, x)
dw Route16Gate1F_Blocks ; blocks
dw Route16Gate1F_TextPointers ; texts
dw Route16Gate1F_Script ; scripts
db 0 ; connections
dw Route16Gate1F_Object ; objects
|
ctfft.adb | adrianhoe/adactfft | 0 | 28757 | --------------------------------------------------------------------------------
-- * Body name ctfft.adb
-- * Project name ctffttest
-- *
-- * Version 1.0
-- * Last update 11/5/08
-- *
-- * Created by <NAME> on 11/5/08.
-- * Copyright (c) 2008 AdaStar Informatics http://adastarinformatics.com
-- * All ... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_231_601.asm | ljhsiun2/medusa | 9 | 88640 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r15
push %r8
push %rbp
// Faulty Load
lea addresses_RW+0x5f62, %r14
nop
nop
nop
nop
nop
add $34245, %rbp
mov (%r14), %r15
lea oracles, %r14
and $0xff, %r15
shlq $12, %r15
mov (... |
src/instruction-test/io.asm | brgmnn/uob-cpu-simulator | 0 | 89916 | <reponame>brgmnn/uob-cpu-simulator
# basic file io
mov r0,#20
io.read r0
io.read q0
io.write r0
io.putc #10
io.putc #104
io.putc #101
io.putc #108
io.putc #108
io.putc #111 |
src/Line_Array/src/line_arrays-regexp_classifiers.adb | fintatarta/eugen | 0 | 30450 | <filename>src/Line_Array/src/line_arrays-regexp_classifiers.adb
pragma Ada_2012;
package body Line_Arrays.Regexp_Classifiers is
---------
-- Add --
---------
procedure Add (To : in out Classifier_Type;
Regexp : String;
Callback : Callback_Type)
is
Match... |
alloy4fun_models/trainstlt/models/10/jAwPgEKuT2KaGjseH.als | Kaixi26/org.alloytools.alloy | 0 | 697 | <filename>alloy4fun_models/trainstlt/models/10/jAwPgEKuT2KaGjseH.als
open main
pred idjAwPgEKuT2KaGjseH_prop11 {
always (all t:pos.Track | once (t.pos in Entry))
}
pred __repair { idjAwPgEKuT2KaGjseH_prop11 }
check __repair { idjAwPgEKuT2KaGjseH_prop11 <=> prop11o } |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1885.asm | ljhsiun2/medusa | 9 | 172679 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x19fd5, %rsi
nop
cmp %r10, %r10
movw $0x6162, (%rsi)
nop
nop
nop
add $43850, %rbx
lea addresses_WT_ht+0x1493d, %r11
nop
nop
nop
nop
nop
xor $33216, %r10
movb (%r11), %cl
nop
... |
programs/oeis/026/A026041.asm | karttu/loda | 1 | 88994 | ; A026041: a(n) = d(n)/2, where d = A026040.
; 12,20,32,49,72,102,140,187,244,312,392,485,592,714,852,1007,1180,1372,1584,1817,2072,2350,2652,2979,3332,3712,4120,4557,5024,5522,6052,6615,7212,7844,8512,9217,9960,10742,11564,12427,13332,14280,15272,16309,17392,18522,19700,20927,22204,23532,24912,26345,27832,29374,30972,... |
oeis/265/A265802.asm | neoneye/loda-programs | 11 | 162980 | ; A265802: Coefficient of x^2 in minimal polynomial of the continued fraction [1^n,4,1,1,1,...], where 1^n means n ones.
; Submitted by <NAME>(s2)
; 1,11,19,59,145,389,1009,2651,6931,18155,47521,124421,325729,852779,2232595,5845019,15302449,40062341,104884561,274591355,718889491,1882077131,4927341889,12899948549,337725... |
smsq/qxl/nd.asm | olifink/smsqe | 0 | 173974 | <reponame>olifink/smsqe<gh_stars>0
; SMS2 QXL card ND drivers
section header
xref smsq_end
header_base
dc.l nd_base-header_base ; length of header
dc.l 0 ; module length unknown
dc.l smsq_end-nd_base ; loaded length
dc.l 0 ; checksum
dc.l 0 ; always select
dc.b 1 ; 1 level down
dc.b 0
dc.w sm... |
libsrc/debug/z80rabbit.asm | grancier/z180 | 0 | 18290 | ; *
; * General Z80 debugging functions
; *
; * Stefano 25/6/2009
; *
; * TRUE if we're running on a rabbit.
; * extern int __LIB__ z80rabbit(void);
; *
; * $Id: z80rabbit.asm,v 1.3 2016/03/06 21:45:13 dom Exp $
; *
SECTION code_clib
PUBLIC z80rabbit
PUBLIC _z80rabbit
z80rabbit:
_z80rabbit:
ld hl,0
ld de,1
pus... |
src/generated/console_drawing_h.ads | csb6/libtcod-ada | 0 | 5400 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with console_h;
with Interfaces.C.Extensions;
limited with color_h;
with error_h;
package console_drawing_h is
-- BSD 3-Clause License
-- *
-- * Copyright © 2008-2021, Jice and the libtcod contributors.
-- * All rights reserved.... |
cards/bn5/ItemCards/136-E013 Atsuki's Festival of Flames.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 96078 | <reponame>RockmanEXEZone/MMBN-Mod-Card-Kit<filename>cards/bn5/ItemCards/136-E013 Atsuki's Festival of Flames.asm
.include "defaults_item.asm"
table_file_jp equ "exe5-utf8.tbl"
table_file_en equ "bn5-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252424A // BRBJ
game_code_2 equ 0x42524245 // BRBE
game_code_3 equ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_31_1863.asm | ljhsiun2/medusa | 9 | 96095 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_31_1863.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x865c, %r10
nop
nop
nop
nop
nop
and %rdx, %rdx
movw $0x6162, (%r10)... |
programs/oeis/131/A131242.asm | neoneye/loda | 22 | 23701 | ; A131242: Partial sums of A059995: a(n) = sum_{k=0..n} floor(k/10).
; 0,0,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,12,14,16,18,20,22,24,26,28,30,33,36,39,42,45,48,51,54,57,60,64,68,72,76,80,84,88,92,96,100,105,110,115,120,125,130,135,140,145,150,156,162,168,174,180,186,192,198,204,210,217,224,231,238,245,252,259,266,273,2... |
list4/task1/src/railway.ads | luk9400/nsi | 0 | 14798 | package Railway with SPARK_Mode is
type One_Signal_State is (Red, Green);
type Route_Type is (Route_Left_Middle,
Route_Middle_Right,
Route_Right_Middle,
Route_Middle_Left,
Route_Enter_Left,
Route... |
libsrc/graphics/retrofit/xordrawr_callee.asm | jpoikela/z88dk | 640 | 167246 | <reponame>jpoikela/z88dk
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
;
; $Id: xordrawr_callee.asm $
;
;
; CALLER LINKAGE FOR FUNCTION POINTERS
; ----- void xordrawr(int x2, int y2)
SECTION code_graphics
PUBLIC xordrawr_callee
PUBLIC _xordrawr... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_xr/CiscoXr_vrrp.g4 | jeffkala/batfish | 0 | 5087 | parser grammar CiscoXr_vrrp;
import CiscoXr_common;
options {
tokenVocab = CiscoXrLexer;
}
router_vrrp
:
VRRP NEWLINE
(
vrrp_interface
)*
;
vrrp_interface
:
NO? INTERFACE iface = interface_name NEWLINE
(
vi_address_family
)* NEWLINE?
;
vi_address_family
:
NO? ADDRESS_FAMILY IPV4... |
libsrc/interrupts/im2/im2_Init.asm | jpoikela/z88dk | 640 | 85186 | <filename>libsrc/interrupts/im2/im2_Init.asm
; void __FASTCALL__ im2_Init_callee(void *tableaddr)
; 04.2004, 02.2008 aralbrec
SECTION code_clib
PUBLIC im2_Init
PUBLIC _im2_Init
.im2_Init
._im2_Init
; enter : hl = address of im2 vector table
ld a,h
ld i,a
im 2
ret
|
oeis/272/A272630.asm | neoneye/loda-programs | 11 | 165813 | ; A272630: a(n) = binomial(3*prime(n), prime(n)) - 3*binomial(2*prime(n), prime(n)) + 3.
; Submitted by <NAME>
; 0,27,2250,105987,191420427,8091223647,14764068268068,636877933530303,1202912275541006163,101416777765228668135243,4470228055779262703971971,387215990724249198145972139532,763815804413169191825705670410076,33... |
oeis/138/A138691.asm | neoneye/loda-programs | 11 | 7996 | ; A138691: Numbers of the form 68+p^2 (where p is a prime).
; Submitted by <NAME>(s3)
; 72,77,93,117,189,237,357,429,597,909,1029,1437,1749,1917,2277,2877,3549,3789,4557,5109,5397,6309,6957,7989,9477,10269,10677,11517,11949,12837,16197,17229,18837,19389,22269,22869,24717,26637,27957,29997,32109,32829,36549,37317,38877,... |
bb-runtimes/examples/rpi2-mandel/main.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 17183 | ------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
06.sumOfSeries.asm | tamim87/Assembly-Samples | 0 | 21952 | <filename>06.sumOfSeries.asm
;sum of series using loop
org 100h
mov cx,10 ;store 10 into cx to control the flow of loop
for:
mov ax,cx ;storing the current number into ax
mul ax ;multiplying the number with itself
add sum,ax ;add the multiplied number to ... |
codec/common/x86/mc_luma.asm | gpatil/openh264 | 1 | 94623 | ;*!
;* \copy
;* Copyright (c) 2009-2013, Cisco Systems
;* All rights reserved.
;*
;* Redistribution and use in source and binary forms, with or without
;* modification, are permitted provided that the following conditions
;* are met:
;*
;* * Redistributions of source code must retain the abo... |
programs/oeis/110/A110349.asm | jmorken/loda | 1 | 8545 | <reponame>jmorken/loda
; A110349: a(n) = n + (n+1) + (n-1) + (n+2) + (n-2) ... n terms.
; 1,5,9,18,25,39,49,68,81,105,121,150,169,203,225,264,289,333,361,410,441,495,529,588,625,689,729,798,841,915,961,1040,1089,1173,1225,1314,1369,1463,1521,1620,1681,1785,1849,1958,2025,2139,2209,2328,2401,2525,2601,2730,2809,2943,302... |
std/mem.asm | mossx-dev/Mycore | 0 | 98137 | <filename>std/mem.asm
;; Author: <NAME>
;; Date: 14-Oct-21
%ifndef _Mycelium_std_mem_
%define _Mycelium_std_mem_
%include "std/sys.asm"
%include "std/exception.asm"
mmap#shared: equ 0x1
mmap#private: equ 0x2
mmap#shared_validate: equ 0x3
; Args
; rax: amount of memory in bytes
... |
devices/devices-magtape6026.adb | SMerrony/dgemua | 2 | 5680 | -- MIT License
-- Copyright (c) 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, p... |
oeis/105/A105930.asm | neoneye/loda-programs | 11 | 1341 | <filename>oeis/105/A105930.asm
; A105930: Starting position of the n-th prime in the almost-natural numbers sequence A007376.
; Submitted by <NAME>
; 2,3,5,7,12,16,24,28,36,48,52,64,72,76,84,96,108,112,124,132,136,148,156,168,184,193,199,211,217,229,271,283,301,307,337,343,361,379,391,409,427,433,463,469,481,487,523,55... |
oeis/115/A115332.asm | neoneye/loda-programs | 11 | 16425 | <gh_stars>10-100
; A115332: E.g.f: exp(x/(1-5*x))/sqrt(1-25*x^2).
; Submitted by <NAME>
; 1,1,36,256,11236,181476,9461776,251412736,15256202256,574194155536,39891552832576,1953973812658176,153336819846991936,9264773325882888256,812060124489852846336,58352827798669641650176
mov $3,1
lpb $0
mul $1,$0
sub $0,1
mov ... |
Task/Averages-Pythagorean-means/AppleScript/averages-pythagorean-means-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 890 | <reponame>LaudateCorpus1/RosettaCodeData
-- arithmetic_mean :: [Number] -> Number
on arithmetic_mean(xs)
-- sum :: Number -> Number -> Number
script sum
on |λ|(accumulator, x)
accumulator + x
end |λ|
end script
foldl(sum, 0, xs) / (length of xs)
end arithmetic_mean
-- geom... |
programs/oeis/262/A262734.asm | jmorken/loda | 1 | 24701 | ; A262734: Period 16: repeat (1, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 3, 2).
; 1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8... |
programs/oeis/166/A166539.asm | neoneye/loda | 22 | 94754 | <filename>programs/oeis/166/A166539.asm<gh_stars>10-100
; A166539: a(n) = (10*n + 7*(-1)^n + 5)/4.
; 2,8,7,13,12,18,17,23,22,28,27,33,32,38,37,43,42,48,47,53,52,58,57,63,62,68,67,73,72,78,77,83,82,88,87,93,92,98,97,103,102,108,107,113,112,118,117,123,122,128,127,133,132,138,137,143,142,148,147,153,152,158,157,163,162,... |
patches/koala/code/disasm/koala_fix_nondos.asm | fcatrin/a8tools | 3 | 6768 |
; fix invalid DOS call when used wihout DOS
org $33A7
nop
nop
nop
|
lib/sub/fill-screen.asm | c64lib/common | 7 | 27324 | <gh_stars>1-10
#import "../invoke.asm"
#import "../math.asm"
/*
* Fills given 1024 bytes of memory with given byte.
* IN:
* A - value
* Stack WORD - address
* OUT:
* none
* MOD: A, X
*/
.namespace c64lib {
fillScreen: {
sta value + 1
invokeStackBegin(returnPtr)
pullParamWList(List().add(sta0 + 1... |
code/editor/sheet/edit-player.asm | abekermsx/skooted | 3 | 14463 | <reponame>abekermsx/skooted
edit_player:
call get_player_location
ld (sheet_xy),de
ld hl,edit_player_functions
jp edit
edit_player_functions:
dw edit_player_blink_sprite
dw edit_player_restore_sprite
dw edit_player_put_player
dw edit_sheet_delete_patter... |
oeis/117/A117852.asm | neoneye/loda-programs | 11 | 89392 | ; A117852: Mirror image of A098473 formatted as a triangular array.
; Submitted by <NAME>
; 1,2,1,6,4,1,20,18,6,1,70,80,36,8,1,252,350,200,60,10,1,924,1512,1050,400,90,12,1,3432,6468,5292,2450,700,126,14,1,12870,27456,25872,14112,4900,1120,168,16,1,48620,115830,123552,77616,31752,8820,1680,216,18,1,184756,486200,579150... |
src/giza-timers.adb | Fabien-Chouteau/Giza | 7 | 8171 | ------------------------------------------------------------------------------
-- --
-- Giza --
-- --
-- ... |
KickAssembler/Examples/KoalaShower/KoalaShower.asm | hculpan/6502-sbc | 0 | 166519 | /*---------------------------------------------------------------
KOALA SHOWER
This code displays the Koala picture in the file picture.prg
---------------------------------------------------------------*/
.var picture = LoadBinary("picture.prg", BF_KOALA)
:BasicUpstart2(start)
start:
lda #$38
... |
source/league/ucd/matreshka-internals-unicode-ucd-core_0025.ads | svn2github/matreshka | 24 | 2898 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
lib/run-last-terminal-command.scpt | paulatbipsync/run-last-terminal-command | 0 | 728 | tell application "Terminal"
repeat with w in windows
repeat with t in tabs of w
if selected in t then
do script "!!" in t
return
end if
end repeat
end repeat
do script "!!"
end tell
|
programs/oeis/106/A106612.asm | karttu/loda | 0 | 97843 | ; A106612: a(n) = numerator of n/(n+11).
; 0,1,2,3,4,5,6,7,8,9,10,1,12,13,14,15,16,17,18,19,20,21,2,23,24,25,26,27,28,29,30,31,32,3,34,35,36,37,38,39,40,41,42,43,4,45,46,47,48,49,50,51,52,53,54,5,56,57,58,59,60,61,62,63,64,65,6,67,68,69,70,71,72,73,74,75,76,7,78,79,80,81,82,83,84,85,86,87,8,89,90,91,92,93,94,95,96,97,9... |
demo/adainclude/s-taskin.adb | e3l6/SSMDev | 0 | 21386 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
awa/plugins/awa-mail/src/awa-mail-clients-files.ads | My-Colaborations/ada-awa | 81 | 27835 | -----------------------------------------------------------------------
-- awa-mail-clients-files -- Mail client dump/file implementation
-- Copyright (C) 2012, 2014, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except... |
9.asm | AsadKhalil/Assembly_x86 | 0 | 161700 | <filename>9.asm
[org 0x0100]
jmp start
invertscr:
mov ax, 0xb800 ;moving video base in ax
mov es, ax ;pointing es to video base
mov di, 0 ;pointing di to the top left coloumn
mov cx, 0 ;intializing cx with 0
mov dx, 25 ;total rows
outterloop:
add cx, 160
mov bx, 0 ;for counting number of elem... |
assets/as-hdr.applescript | doekman/osagitfilter | 29 | 1276 | <reponame>doekman/osagitfilter<filename>assets/as-hdr.applescript
#@osa-lang:AppleScript
on run (arg)
-- Some unicode test in Dutch
log "Skiën ⛷ kost veel €"
end run
|
libsrc/graphics/point.asm | jpoikela/z88dk | 38 | 168109 | ;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
;
; $Id: point.asm $
;
; CALLER LINKAGE FOR FUNCTION POINTERS
; ----- void point(int x, int y)
;Result is true/false
SECTION code_graphics
PUBLIC point... |
FoldingText.lbaction/Contents/Scripts/marked.scpt | raguay/MyLaunchBarActions | 29 | 636 | property pTitle : "Open FoldingText file in Marked"
property pVer : "0.02"
property pAuthor : "<NAME>"
property pblnPositionWindows : true -- Set this to false to disable the window positioning at the end of the script
tell application "FoldingText"
set lstDocs to documents
if lstDocs = {} then return
set {strName... |
Transynther/x86/_processed/NC/_ht_zr_/i7-8650U_0xd2.log_21829_1229.asm | ljhsiun2/medusa | 9 | 13381 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1c824, %rbx
clflush (%rbx)
inc %r10
mov (%rbx), %rdx
nop
nop
nop
nop
inc %r11
lea addresses_WT_ht+0x16c24, %rbx
clflush (%rbx)
nop
nop
nop
nop
cmp %r12, %r12
movb ... |
zombie.asm | dmansilva/OSProject03 | 0 | 91130 |
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 10 sub $0x10,%... |
Sources/Toggle_PP5_PWM_Buzzer_AssemProg.asm | billhhh/hcs12-dragon12 | 0 | 243709 | <filename>Sources/Toggle_PP5_PWM_Buzzer_AssemProg.asm
;Toggling PP5 to sound the buzzer using PWM (pulse width modulation) on Dragon12 Plus Trainer Board
;The J26 jumper selection allows to SPK_SEL (speaker selection) to be PT5, PP5 (PWM chan 5) or DACB output
;When the Dragon12 board is shipped the J26 jumper is set ... |
Src/Ant32/factorial.asm | geoffthorpe/ant-architecture | 0 | 22574 | # factorial.asm
#
# A program to recursively compute the factorial of 4.
main:
# Set up the stack and frame pointers. (This is usually done
# by the executive, but this is included here in order to make
# this example stand-alone.)
lc sp, 0x80002000
lc fp, 0x80002000
# To compute factorial(4), push the 4 on t... |
programs/oeis/134/A134638.asm | neoneye/loda | 22 | 10105 | ; A134638: Row sums of triangle A134637.
; 1,8,28,76,182,406,868,1808,3706,7522,15176,30508,61198,122606,245452,491176,982658,1965658,3931696,7863812,15728086,31456678,62913908,125828416,251657482,503315666,1006632088,2013264988,4026530846,8053062622,16106126236,32212253528,64424508178,128849017546,257698036352,5153960... |
oeis/010/A010068.asm | neoneye/loda-programs | 11 | 164600 | ; A010068: a(n+1) = a(n) + sum of digits in base 6 representation of a(n).
; Submitted by <NAME>(m4)
; 1,2,4,8,11,17,24,28,36,37,39,43,46,52,59,68,76,82,89,98,106,117,124,133,141,152,159,168,176,187,194,203,216,217,219,223,226,232,239,248,256,262,269,278,286,297,304,313,321,332,339,348,356,367,374,383,396,402,409,418,4... |
SpreadSheet/SpreadSheet/SprShtDLL/SprWin.asm | maul-esel/FormsFramework | 10 | 173775 | <reponame>maul-esel/FormsFramework<gh_stars>1-10
.code
DrawCurPos proc uses ebx esi,lpSheet:DWORD,lpWin:DWORD,hDC:HDC,lpRect:DWORD
LOCAL buffer[16]:BYTE
mov ebx,lpSheet
mov esi,lpWin
mov edx,[esi].WIN.ccol
mov ecx,[esi].WIN.crow
mov buffer,0
.if edx!=[esi].WIN.mcol || ecx!=[esi].WIN.mrow
invo... |
bb-runtimes/examples/monitor/armv7a/trap_handler.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 4056 | ------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
english_support_package.ads | ddugovic/words | 4 | 10304 | with Text_IO;
with Direct_IO;
with Strings_Package; use Strings_Package;
with LATIN_FILE_NAMES; use LATIN_FILE_NAMES;
with Inflections_Package; use Inflections_Package;
with Dictionary_Package; use Dictionary_Package;
with WORD_SUPPORT_PACKAGE; use WORD_SUPPORT_PACKAGE;
package ENGL... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0_notsx.log_1_1421.asm | ljhsiun2/medusa | 9 | 94157 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0_notsx.log_1_1421.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x170ee, %rdi
nop
nop
nop
dec %r9
mov (%rdi), %r10
nop
nop
nop
add %rbp, %rb... |
banklib.asm | traidna/MUMPS-TI99-4A | 0 | 9806 | GoBank: ; r1 = 6002,6000 BANK0, BANK1
; r2 = address in bank to jump to
;
li r0,004E0h
mov r0,@SWBANK
mov r1,@SWBANK+2
li r0,00460h
mov r0,@SWBANK+4
mov r2,@SWBANK+6
b @SWBANK
|
oeis/197/A197986.asm | neoneye/loda-programs | 11 | 163533 | ; A197986: Round((n+1/n)^3).
; 8,16,37,77,141,235,364,536,756,1030,1364,1764,2236,2786,3420,4144,4964,5886,6916,8060,9324,10714,12236,13896,15700,17654,19764,22036,24476,27090,29884,32864,36036,39406,42980,46764,50764,54986,59436,64120,69044,74214,79636,85316,91260,97474,103964,110736,117796,125150,132804,140764,149036... |
extensions-contrib/influx-extensions/src/main/antlr4/io/druid/data/input/influx/InfluxLineProtocol.g4 | kskalski/druid | 1 | 802 | /** Based on v1.4 from their docs
at https://docs.influxdata.com/influxdb/v1.4/write_protocols/line_protocol_tutorial/
**/
grammar InfluxLineProtocol;
lines
: line ('\n' line)* '\n'? EOF
;
line
: identifier (',' tag_set)? ' ' field_set (' ' timestamp)?
;
timestamp
: NUMBER
;
field_set
: field_pai... |
expr/src/main/antlr4/com/groupon/lex/metrics/timeseries/parser/Expression.g4 | groupon/monsoon | 32 | 814 | parser grammar Expression;
options {
tokenVocab=ExpressionLexer;
}
import ExprBnf;
@header {
import com.groupon.lex.metrics.timeseries.TimeSeriesMetricExpression;
}
expr returns [ TimeSeriesMetricExpression s ]
: s1=expression EOF
{ $s = $s1.s; }
... |
project/src/interrupts_hpp.ads | corentingay/ada_epita | 0 | 21506 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package interrupts_hpp is
type Interrupt is
(VBLANK,
LCD_STATUS,
TIMER,
SERIAL,
JOYPAD);
pragma Convention (C, Interrupt); -- ./interrupts.hpp:3
end interrupts_hpp;
|
Code/macros.asm | LeifBloomquist/VICMIDI | 7 | 240819 |
; ==============================================================
; Macro wrapping the fast hex poke
; ==============================================================
MAC HEXPOKE
lda #<{1} ; Low byte
sta $22
lda #>{1} ; High byte
sta $23
lda {2} ; Note - address
jsr hexstr
ENDM
... |
tests/listing/sld/sldopt.asm | fengjixuchui/sjasmplus | 220 | 5333 | DEVICE ZXSPECTRUMNEXT
ORG $8000
daa ; some eol comments with keyword1 included
nop ; some eol comment without any keyword
; full line comment with keyword2 included (line without code)
; full line without any keyword, but wrong cased Keyword2 (SLD keywords are case sensitive)
lab... |
apps/bootloader/bootloader.adb | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 16432 | <reponame>ekoeppen/MSP430_Generic_Ada_Drivers
with System.Machine_Code; use System.Machine_Code;
with System; use System;
with Interfaces; use Interfaces;
with MSP430_SVD; use MSP430_SVD;
with Flash;
with Board;
package body Bootloader is
Line : array (Unsigned_16 range 0 .. 47) of Unsigned_8;
Write_Addr : Unsi... |
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/testsem_sprogs.adb | Lucretia/old_nehe_ada95 | 0 | 22638 |
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public --
-- License as published by the ... |
alloy4fun_models/trashltl/main.als | Kaixi26/org.alloytools.alloy | 0 | 3854 | <reponame>Kaixi26/org.alloytools.alloy
module Main
var sig File {
var link : lone File
}
var sig Trash in File {}
var sig Protected in File {}
pred prop1o {
no Trash + Protected
}
pred prop2o {
no File
some File'
}
pred prop3o {
always some File
}
pred prop4o {
eventually some Trash
}
pred prop5o {
event... |
src/main/antlr/com/harmoneye/music/chord/gen/ChordLabels.g4 | bzamecnik/chord-labels-java | 0 | 4055 | /**
* Grammar for chord labels
*
* <NAME> al. (2005).
* Symbolic representation of musical chords: a proposed syntax for text
* annotations. Proceedings of 6th International Conference on Music
* Information Retrieval.
*
* Syntax of Chord Notation in Backus-Naur Form:
*
* <chord> ::= <root> ":" <shorthan... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.