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 |
|---|---|---|---|---|
source/nodes/program-nodes-record_component_associations.adb | optikos/oasis | 0 | 19181 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Record_Component_Associations is
function Create
(Choices : Program.Element_Vectors.Element_Vector_Access;
... |
trie-core.agda | rfindler/ial | 29 | 9060 | <filename>trie-core.agda
module trie-core where
open import bool
open import char
open import list
open import maybe
open import product
open import string
open import unit
open import eq
open import nat
cal : Set → Set
cal A = 𝕃 (char × A)
empty-cal : ∀{A : Set} → cal A
empty-cal = []
cal-lookup : ∀ {A : Set} → c... |
src/io/dkozak/setlang/Set.g4 | d-kozak/set-lang | 0 | 3003 | <reponame>d-kozak/set-lang<gh_stars>0
grammar Set;
compilationUnit : set EOF ;
set
: '{' '}' # emptySet
| '{' elem (',' elem)* '}' # nonEmptySet
;
elem
: simpleElement
| set
;
simpleElement : ELEM;
ELEM
: ('A'..'Z' | 'a'..'z' | '0'..'9' | '_')+
;
WS : [ \t\r\n]+ -> skip ; |
src/executor_service.adb | egilhh/Futures-in-Ada | 1 | 27492 | <reponame>egilhh/Futures-in-Ada
with Ada.Exceptions;
with Ada.Text_IO;
with Ada.Unchecked_Deallocation;
package body Executor_Service is
procedure Execute (Self : in out Object; Callback : Callable_Ptr)
is
begin
Self.Executor.Run(Callback); -- should probably be put on a queue
end Execute;
task... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1114.asm | ljhsiun2/medusa | 9 | 81233 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x15d58, %rsi
lea addresses_WT_ht+0x1070, %rdi
nop
nop
and %rdx, %rdx
mov $74, %rcx
rep movsq
nop
nop
cmp $36951, %rsi
lea addresses_WC_ht+0x1c470, %r11
nop
nop
nop
nop
nop
sub %rdi,... |
oeis/142/A142761.asm | neoneye/loda-programs | 11 | 20664 | ; A142761: Primes congruent to 34 mod 59.
; Submitted by <NAME>
; 211,683,919,1627,2099,2689,4813,4931,5167,5521,5639,6229,6701,8117,8353,8707,9533,9769,9887,10477,10831,10949,11657,12011,12601,13309,13781,14489,14843,15551,15787,16141,17203,17321,17911,18973,19681,20389,20507,20743,21569,22159,22277,23339,23929,25463,... |
applescripts/config.applescript | Tyilo/play-song | 0 | 3918 | <reponame>Tyilo/play-song
-- core configuration --
-- configurable options --
-- limit number of songs to improve efficiency
property resultLimit : 9
-- whether or not to retrieve album artwork for each result
property albumArtEnabled : true
-- Workflow parameters (do not change these) --
-- paths to important dire... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/expm1.asm | meesokim/z88dk | 0 | 17531 | <reponame>meesokim/z88dk
SECTION code_fp_math48
PUBLIC expm1
EXTERN cm48_sccz80_expm1
defc expm1 = cm48_sccz80_expm1
|
tools/mac/power/driver_scripts_templates/prep_safari.scpt | zealoussnow/chromium | 14,668 | 396 | #!/usr/bin/osascript
-- Copyright 2021 The Chromium Authors. All rights reserved.
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
-- This script makes sure that Safari is always in the same state to start
-- scenarios. This is because tab recovery is automatic a... |
assembly/tutorials/asmtutor/lesson01.asm | argodev/2021 | 0 | 167800 | <filename>assembly/tutorials/asmtutor/lesson01.asm
; adapted from asmtutor.com
; run make to compile and link
SECTION .data
msg db 'Hello, world!', 0Ah ; assign message variable with our message string
SECTION .text
global _start
_start:
mov edx, 14 ; eax now equals the number of bytes in ou... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_1366.asm | ljhsiun2/medusa | 9 | 100734 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xabee, %rsi
clflush (%rsi)
nop
nop
nop
xor $38544, %r13
and $0xffffffffffffffc0, %rsi
movaps (%rsi), %xmm1
vpextrq $0, %xmm1, %rdx
nop
add $20985, %r... |
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_frmd.ads | caqg/linux-home | 0 | 27757 | private package ARM_Format.Data is
--
-- Ada reference manual formatter (ARM_Form).
--
-- This package contains various data used by the input file parser.
--
-- ---------------------------------------
-- Copyright 2011, 2012 AXE Consultants. All rights reserved.
-- P.O. Box 1... |
programs/oeis/025/A025740.asm | neoneye/loda | 22 | 104461 | ; A025740: Index of 10^n within sequence of numbers of form 2^i*10^j.
; 1,5,12,22,36,53,73,97,124,154,188,225,265,309,356,406,460,517,577,641,708,778,852,929,1009,1093,1180,1270,1364,1461,1561,1664,1771,1881,1994,2111,2231,2354,2481,2611,2744,2881,3021,3164,3311,3461,3614,3771,3931
lpb $0
mov $2,$0
sub $0,1
seq ... |
ada_gui-gnoga-gui-location.ads | jrcarter/Ada_GUI | 19 | 26822 | -- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O ... |
disorderly/disorderly.ads | jscparker/math_packages | 30 | 1778 | <reponame>jscparker/math_packages
-------------------------------------------------------------------------------
-- package Disorderly, Linear Random Number Generator
-- Copyright (C) 1995-2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is here... |
orgb/t1/multi_instruction.asm | rrrichter/ufrgs | 0 | 3292 | <gh_stars>0
lh $t1, 8($zero)
sw $t1, 12($zero) |
2 Year/2015 Pattern/MPL/Assignment 10.asm | bhushanasati25/College | 4 | 11962 | <gh_stars>1-10
;Problem Statement:Write 80387 ALP to find the roots of the quadratic equation. All the possible cases must be considered in calculating the roots.
section .data
msg1 db "Complex Root",10
msglen1 equ $-msg1
msg2 db "Root1: "
msglen2 equ $-msg2
msg3 db "Root2: "
msglen3 equ $-msg3
a dd 1.00
b dd 8.00
c ... |
audio/music/pokemonchannel.asm | AtmaBuster/pokecrystal16-493-plus | 1 | 19197 | Music_PokemonChannel:
channel_count 4
channel 1, Music_PokemonChannel_Ch1
channel 2, Music_PokemonChannel_Ch2
channel 3, Music_PokemonChannel_Ch3
channel 4, Music_PokemonChannel_Ch4
Music_PokemonChannel_Ch1::
tempo 155
volume 7, 7
stereo_panning TRUE, FALSE
duty_cycle 1
note_type 12, 5, 6
.loop
octave 4
... |
grid.asm | raphnet/super_sudoku | 6 | 168151 | <gh_stars>1-10
; Super Sudoku - A Sudoku game for the SNES
; Copyright 2019-2022 <NAME> <<EMAIL>>
;
; 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 limi... |
Lists/Lists.agda | Smaug123/agdaproofs | 4 | 2607 | <filename>Lists/Lists.agda
{-# OPTIONS --warning=error --safe --without-K #-}
open import LogicalFormulae
open import Numbers.Naturals.Semiring -- for length
open import Numbers.Naturals.Order
open import Semirings.Definition
open import Maybe
module Lists.Lists where
open import Lists.Definition public
open import ... |
node_modules/spotify-node-applescript/lib/scripts/toggle_shuffling.applescript | ahmedj90/LyricsApp | 9 | 3033 | tell application "Spotify"
if shuffling then
set shuffling to false
else
set shuffling to true
end if
end tell |
patches/arkanoid/disasm/Arkanoid_block_3.asm | fcatrin/a8tools | 3 | 105556 | <gh_stars>1-10
; BLOCK 3 Arkanoid.xex
org $02E0
.word L_3500
|
programs/oeis/071/A071317.asm | jmorken/loda | 1 | 81903 | ; A071317: a(n) = a(n-1) + sum of digits of n^2.
; 0,1,5,14,21,28,37,50,60,69,70,74,83,99,115,124,137,156,165,175,179,188,204,220,238,251,270,288,307,320,329,345,352,370,383,393,411,430,443,452,459,475,493,515,534,543,553,566,575,582,589,598,611,630,648,658,671,689,705,721,730,743,762,789,808,821,839,864,880,898,911,92... |
experiments/tests/arr.als | kaiyuanw/ASketch | 1 | 2029 | <gh_stars>1-10
pred test1 {
some disj Element0: Element {some disj Array0: Array {
Element = Element0
Array = Array0
i2e = Array0->0->Element0 + Array0->1->Element0
length = Array0->3
NoConflict[]
}}
}
run test1
pred test2 {
some disj Element0, Element1, Element2: Element {some disj Array0: A... |
simd/jfdctint-sse2.asm | yoavweiss/mozjpeg | 1 | 13591 | ;
; jfdctint.asm - accurate integer FDCT (SSE2)
;
; Copyright 2009 Pierre Ossman <<EMAIL>> for Cendio AB
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file should be assembled wit... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization8_pkg1.ads | best08618/asylo | 7 | 25246 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization8_pkg1.ads
with Ada.Finalization;
package Loop_Optimization8_Pkg1 is
type Array_T is array (Positive range <>) of Natural;
type Array_Access_T is access Array_T;
type T is new Ada.Finalization.Controlled with record
Last : Natural := 0... |
oeis/210/A210679.asm | neoneye/loda-programs | 11 | 167130 | ; A210679: Number of distinct prime factors <= 7 of n.
; Submitted by <NAME>
; 0,1,1,1,1,2,1,1,1,2,0,2,0,2,2,1,0,2,0,2,2,1,0,2,1,1,1,2,0,3,0,1,1,1,2,2,0,1,1,2,0,3,0,1,2,1,0,2,1,2,1,1,0,2,1,2,1,1,0,3,0,1,2,1,1,2,0,1,1,3,0,2,0,1,2,1,1,2,0,2,1,1,0,3,1,1,1,1,0,3,1,1,1,1,1,2,0,2,1,2
add $0,1
gcd $0,210
mov $1,1
lpb $0
su... |
programs/oeis/139/A139288.asm | neoneye/loda | 22 | 161035 | ; A139288: 2^(2p - 1)/2, where p is prime.
; 4,16,256,4096,1048576,16777216,4294967296,68719476736,17592186044416,72057594037927936,1152921504606846976,4722366482869645213696,1208925819614629174706176,19342813113834066795298816
seq $0,6005 ; The odd prime numbers together with 1.
mov $1,4
pow $1,$0
div $1,48
mul $1,12... |
programs/oeis/081/A081490.asm | jmorken/loda | 1 | 90446 | ; A081490: Leading term of n-th row of A081491.
; 1,2,4,9,19,36,62,99,149,214,296,397,519,664,834,1031,1257,1514,1804,2129,2491,2892,3334,3819,4349,4926,5552,6229,6959,7744,8586,9487,10449,11474,12564,13721,14947,16244,17614,19059,20581,22182,23864,25629,27479,29416,31442,33559,35769,38074,40476,42977,45579,48284,51094... |
09-32bit-gdt/def_q.asm | gyuki1029/os-tutorial | 0 | 96194 | <filename>09-32bit-gdt/def_q.asm
dq 'a', 0x55, 0x56, 0x57, 'abc', 1.50 |
src/sets/int.agda | pcapriotti/agda-base | 20 | 5067 | {-# OPTIONS --without-K #-}
module sets.int where
open import sets.int.definition public
open import sets.int.utils public
open import sets.int.core public
open import sets.int.properties public
|
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-taprop.adb | orb-zhuchen/Orb | 0 | 24788 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
libsrc/target/sam/stdio/generic_console_cls.asm | ahjelm/z88dk | 640 | 18598 | <filename>libsrc/target/sam/stdio/generic_console_cls.asm
MODULE generic_console_cls
SECTION code_driver
PUBLIC generic_console_cls
EXTERN __zx_screenmode
EXTERN __zx_console_attr
EXTERN __sam_MODE3_attr
EXTERN __sam_MODE4_attr
EXTERN __sam_graphics_pagein
EXTERN __sam_grap... |
src/trendy_test-assertions.adb | jquorning/trendy_test | 7 | 12463 | package body Trendy_Test.Assertions is
procedure Fail (Op : in out Operation'Class;
Message : String;
Loc : Source_Location := Make_Source_Location) is
begin
Op.Report_Failure (Message, Loc);
end Fail;
procedure Assert (Op : in out Operat... |
Cats/Category/Constructions/Unique.agda | alessio-b-zak/cats | 0 | 5336 | <gh_stars>0
module Cats.Category.Constructions.Unique where
open import Data.Unit using (⊤)
open import Level
open import Cats.Category.Base
open import Cats.Util.Conv
module Build {lo la l≈} (Cat : Category lo la l≈) where
open Category Cat
IsUniqueSuchThat : ∀ {lp A B} → (A ⇒ B → Set lp) → A ⇒ B → Set (la ... |
kernel/device.asm | pixie-grasper/operating-system | 1 | 176643 | <filename>kernel/device.asm
%ifndef DEVICE_ASM_
%define DEVICE_ASM_
; structure
; device = {tuple, dependes on the flag}, extra-field = flag: 8 bit
; tuple = {octet-buffer, reserved, reserved}
; flag: 0 = port-mapped I/O
; device = {tuple, dep}
; dep = {port-number, device-number, reserved}, ... |
3-mid/impact/source/2d/orbs/dynamics/joints/impact-d2-orbs-joint-pulley.adb | charlie5/lace | 20 | 25784 | <reponame>charlie5/lace
package body impact.d2.orbs.Joint.pulley
is
procedure dummy is begin null; end dummy;
-- #include <Box2D/Dynamics/Joints/b2PulleyJoint.h>
-- #include <Box2D/Dynamics/b2Body.h>
-- #include <Box2D/Dynamics/b2TimeStep.h>
--
-- // Pulley:
-- // length1 = norm(p1 - s1)
-- // length2 = n... |
AppleScripts/Applications/Pro Tools/Copy All Automation.applescript | fantopop/post-production-scripts | 16 | 1363 | --
-- AppleScripts for Avid Pro Tools.
--
-- Script description:
-- Copies all automation.
--
-- (C) 2019 <NAME>
-- http://github.com/fantopop
--
tell application "Finder"
tell application "System Events"
set PT to the first application process whose creator type is "PTul"
tell PT
activate
set frontmost to... |
org.conqat.engine.sourcecode/test-data/org.conqat.engine.sourcecode.coverage.volume/loops.adb | assessorgeneral/ConQAT | 1 | 283 | <gh_stars>1-10
with Ada.Text_IO;
procedure Hello is
package IO renames Ada.Text_IO;
begin
loop
foo();
exit when 2 > 3;
bar();
exit when 2 > 3 and 3 > 4;
end loop;
end Hello;
|
programs/oeis/220/A220414.asm | jmorken/loda | 1 | 8146 | ; A220414: a(n) = 6*a(n-1) - a(n-2), with a(1) = 13, a(2) = 73.
; 13,73,425,2477,14437,84145,490433,2858453,16660285,97103257,565959257,3298652285,19225954453,112057074433,653116492145,3806641878437,22186734778477,129313766792425,753695865976073,4392861429064013,25603472708408005
mul $0,2
add $0,1
mov $2,1
mov $3,1
lp... |
src/main/fragment/mos6502-common/vwum1=vwum1_setbyte0_vbuaa.asm | jbrandwood/kickc | 2 | 18326 | sta {m1}
|
programs/oeis/179/A179339.asm | neoneye/loda | 22 | 8906 | <reponame>neoneye/loda<gh_stars>10-100
; A179339: Positive integers of the form (30*m^2+1)/11.
; 11,221,461,1091,1571,2621,3341,4811,5771,7661,8861,11171,12611,15341,17021,20171,22091,25661,27821,31811,34211,38621,41261,46091,48971,54221,57341,63011,66371,72461,76061,82571,86411,93341,97421,104771,109091,116861,121421,... |
specs/ada/server/ike/tkmrpc-servers-ike.ads | DrenfongWong/tkm-rpc | 0 | 20754 | <gh_stars>0
with Tkmrpc.Types;
with Tkmrpc.Results;
package Tkmrpc.Servers.Ike
is
procedure Init;
-- Initialize IKE server.
procedure Finalize;
-- Finalize IKE server.
procedure Tkm_Version
(Result : out Results.Result_Type;
Version : out Types.Version_Type);
-- Returns the version ... |
Cubical/HITs/FiniteMultiset/CountExtensionality.agda | dan-iel-lee/cubical | 0 | 6331 | <gh_stars>0
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.FiniteMultiset.CountExtensionality where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Data.Nat
open import Cubical.Data.Nat.Order
open import Cubical.Data.Empty as ⊥
open import Cu... |
oeis/167/A167489.asm | neoneye/loda-programs | 11 | 160377 | ; A167489: Product of run lengths in binary representation of n.
; Submitted by <NAME>
; 1,1,1,2,2,1,2,3,3,2,1,2,4,2,3,4,4,3,2,4,2,1,2,3,6,4,2,4,6,3,4,5,5,4,3,6,4,2,4,6,3,2,1,2,4,2,3,4,8,6,4,8,4,2,4,6,9,6,3,6,8,4,5,6,6,5,4,8,6,3,6,9,6,4,2,4,8,4,6,8,4,3,2,4,2,1,2,3,6,4,2,4,6,3,4,5,10,8,6,12
seq $0,3188 ; Decimal equiva... |
oeis/102/A102206.asm | neoneye/loda-programs | 11 | 246294 | ; A102206: a(0) = 3, a(1) = 8, a(n+2) = 4*a(n+1) - a(n) - 2.
; 3,8,27,98,363,1352,5043,18818,70227,262088,978123,3650402,13623483,50843528,189750627,708158978,2642885283,9863382152,36810643323,137379191138,512706121227,1913445293768,7141075053843,26650854921602,99462344632563,371198523608648,1385331749802027,5170128475... |
src/JEWL/jewl-win32_interface.adb | leomlr/sudoku_ada-jewl | 0 | 14969 | ------------------------------------------------------------------------------
-- --
-- J E W L . W I N 3 2 _ I N T E R F A C E --
-- --
... |
data/pokemon/base_stats/umbreon.asm | AtmaBuster/pokeplat-gen2 | 6 | 163518 | db 0 ; species ID placeholder
db 95, 65, 110, 65, 60, 130
; hp atk def spd sat sdf
db DARK, DARK ; type
db 45 ; catch rate
db 197 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F12_5 ; gender ratio
db 35 ; step cycles to hatch
INCBIN "gfx/pokemon/umbreon/front.dimensions"
db GROWTH_MEDIUM_FAST... |
oeis/026/A026841.asm | neoneye/loda-programs | 11 | 179301 | <reponame>neoneye/loda-programs
; A026841: a(n) = T(2n,n-4), T given by A026725.
; Submitted by <NAME>
; 1,11,79,471,2535,12809,62067,292085,1345718,6102780,27343148,121359692,534632836,2341151646,10201950700,44278673806,191540714294,826265471868,3555992623850,15273547250820,65491352071266,280412963707416,1199139733653... |
oeis/165/A165746.asm | neoneye/loda-programs | 11 | 105440 | <filename>oeis/165/A165746.asm<gh_stars>10-100
; A165746: a(n) = 3 - 2*3^n.
; 1,-3,-15,-51,-159,-483,-1455,-4371,-13119,-39363,-118095,-354291,-1062879,-3188643,-9565935,-28697811,-86093439,-258280323,-774840975,-2324522931,-6973568799,-20920706403,-62762119215,-188286357651,-564859072959,-1694577218883,-5083731656655,... |
Win asm/1/code.asm | NigrumAquila/win_asm | 2 | 91365 | <gh_stars>1-10
.386
.model flat,stdcall
option casemap:none
WinMain proto :DWORD,:DWORD,:DWORD,:DWORD
include C:\masm32\include\windows.inc
include C:\masm32\include\user32.inc
include C:\masm32\include\kernel32.inc
includelib C:\masm32\lib\user32.lib
includelib C:\masm32\lib\kernel32.lib
.data
ClassNam... |
test/fail/Issue690a.agda | larrytheliquid/agda | 1 | 5616 | module Issue690a where
postulate A : Set
data T : Set → Set where
c : T (T A)
|
Ada/src/fakelib/fakedsp-data_streams-files.ads | fintatarta/fakedsp | 0 | 18232 | <reponame>fintatarta/fakedsp<filename>Ada/src/fakelib/fakedsp-data_streams-files.ads
--****p* Data_Streams/Files
-- DESCRIPTION
-- The user can use as data stream for sample I/O files with different
-- format. Every implemented format corresponds to a different implementation
-- of the Data_Source or Data_Des... |
programs/oeis/239/A239195.asm | karttu/loda | 0 | 14502 | ; A239195: Sum of the next to smallest parts in the partitions of 4n into 4 parts with smallest part = 1.
; 1,5,17,42,78,134,215,315,447,616,812,1052,1341,1665,2045,2486,2970,3522,4147,4823,5579,6420,7320,8312,9401,10557,11817,13186,14630,16190,17871,19635,21527,23552,25668,27924,30325,32825,35477,38286,41202,44282,475... |
programs/oeis/134/A134402.asm | neoneye/loda | 22 | 21094 | ; A134402: Triangle read by rows, for n > 0, n zeros followed by n.
; 1,0,1,0,0,2,0,0,0,3,0,0,0,0,4,0,0,0,0,0,5,0,0,0,0,0,0,6,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0
seq $0,127648 ; Triangle read by rows: row n c... |
Definition/LogicalRelation/Fundamental.agda | CoqHott/logrel-mltt | 2 | 1394 | <filename>Definition/LogicalRelation/Fundamental.agda
{-# OPTIONS --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Fundamental {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped
open import Definition.Untyped.Properties
open import Definition.Typ... |
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_saddrpright.asm | Frodevan/z88dk | 640 | 25836 | <reponame>Frodevan/z88dk
; void *zx_saddrpright(void *saddr, uchar bitmask)
SECTION code_clib
SECTION code_arch
PUBLIC zx_saddrpright
EXTERN asm_zx_saddrpright
zx_saddrpright:
pop af
pop de
pop hl
push hl
push de
push af
jp asm_zx_saddrpright
; SDCC bridge for Classic
IF __CLASSIC
PU... |
src/natools-web-simple_pages-markdown_multipages.adb | faelys/lithium3 | 1 | 16623 | <filename>src/natools-web-simple_pages-markdown_multipages.adb
------------------------------------------------------------------------------
-- Copyright (c) 2016-2017, <NAME> --
-- --
-- Permission to use, copy,... |
audio/music/tintower.asm | Dev727/ancientplatinum | 28 | 21187 | Music_TinTower:
musicheader 4, 1, Music_TinTower_Ch1
musicheader 1, 2, Music_TinTower_Ch2
musicheader 1, 3, Music_TinTower_Ch3
musicheader 1, 4, Music_TinTower_Ch4
Music_TinTower_Ch1:
tempo 208
volume $77
dutycycle $3
tone $0004
vibrato $8, $45
Music_TinTower_branch_f682a:
stereopanning $f0
notetype $c, $a5... |
libsrc/abc800/abc_cursor.asm | andydansby/z88dk-mk2 | 1 | 240686 | <gh_stars>1-10
;
; ABC800 specific routines
; by <NAME>, Oct 2007
;
; Set cursor shape
;
; void abc_cursor(unsigned char shape);
;
;
; $Id: abc_cursor.asm,v 1.1 2007/11/08 14:11:50 stefano Exp $
;
XLIB abc_cursor
abc_cursor:
ld a,11
out (56),a
ld a,l ; FASTCALL
out (57),a
ret
|
programs/oeis/062/A062301.asm | jmorken/loda | 1 | 104875 | <gh_stars>1-10
; A062301: Number of ways writing n-th prime as a sum of two primes.
; 0,0,1,1,0,1,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,1,0,0,0,1,0,0,1,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,1,... |
oeis/021/A021816.asm | neoneye/loda-programs | 11 | 80410 | <gh_stars>10-100
; A021816: Decimal expansion of 1/812.
; Submitted by Jon Maiga
; 0,0,1,2,3,1,5,2,7,0,9,3,5,9,6,0,5,9,1,1,3,3,0,0,4,9,2,6,1,0,8,3,7,4,3,8,4,2,3,6,4,5,3,2,0,1,9,7,0,4,4,3,3,4,9,7,5,3,6,9,4,5,8,1,2,8,0,7,8,8,1,7,7,3,3,9,9,0,1,4,7,7,8,3,2,5,1,2,3,1,5,2,7,0,9,3,5,9,6
seq $0,199685 ; a(n) = 5*10^n+1.
div $... |
mc-sema/validator/x86_64/tests/ST_F32m.asm | randolphwong/mcsema | 2 | 179908 | BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_FPU_IE
;TEST_FILE_META_END
; ST_F32m
FLD1
;TEST_BEGIN_RECORDING
lea rdi, [rsp-0x4]
fst DWORD [rdi]
mov eax, [rdi]
mov edi, 0x0
;TEST_END_RECORDING
|
Main Apple Script.scpt | chris1111/Disk-Menu | 7 | 2487 | <filename>Main Apple Script.scpt
# Disk Menu
# Copyright (c) 2019, chris1111 All Rights reserved.
display dialog "
You must first install Disk Menu.app in your Applications.
You just have to click once on the status bar icon to mount or unmount any Disk
Secondly edit the script to simply put the exact name of your Di... |
uuids-version_1.ads | annexi-strayline/ASAP-UUIDs | 0 | 20290 | ------------------------------------------------------------------------------
-- --
-- Common UUID Handling Package --
-- - RFC 4122 Implementation - --
-- ... |
kernel/boot/kernel-entry.asm | Seltzer/royston-vasey-os | 0 | 179218 | ;;;;;;;;
;;;
;;; Kernel entry point - this gets shoved at the start of our kernel image
;;;
[bits 32]
[extern _start]
call _start
jmp $ |
showroom/ada.adb | 50m-regent/HelloWorldExibition | 0 | 263 | <gh_stars>0
with Ada.Text_IO;
procedure Prologue is
begin
Ada.Text_IO.Put("Hello World!");
end Prologue; |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1643.asm | ljhsiun2/medusa | 9 | 166970 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x7882, %rcx
nop
nop
nop
sub $34505, %r15
movb (%rcx), %r14b
nop
nop
nop
nop
and %r11, %r11
lea addresses_WT_ht+0x1c082, %r12
nop
nop
nop
nop
dec %rax
mov $0x61... |
data/phone/text/parry_callee.asm | Dev727/ancientplatinum | 28 | 95504 | UnknownText_0x1b73c7:
text "Yup, yup!"
line "It's @"
text_ram wStringBuffer3
text "!"
para "Hah, and here's"
line "<PLAY_G>!"
done
UnknownText_0x1b73ef:
text "Yup, yup!"
line "It's @"
text_ram wStringBuffer3
text "!"
para "Hah, and here's"
line "<PLAY_G>!"
done
UnknownText_0x1b7417:
text "Yup, yup!"
... |
core/lib/types/EilenbergMacLane1/DoubleElim.agda | AntoineAllioux/HoTT-Agda | 294 | 1405 | <gh_stars>100-1000
{-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.types.Group
open import lib.types.Pi
open import lib.NType2
open import lib.types.EilenbergMacLane1.Core
module lib.types.EilenbergMacLane1.DoubleElim where
private
emloop-emloop-helper : ∀ {i j k} {A : Type i} {B : ... |
courses/fundamentals_of_ada/labs/prompts/110_private_types/input.adb | AdaCore/training_material | 15 | 29182 | with Ada.Text_IO; use Ada.Text_IO;
package body Input is
function Get return Colors.Color_Set_T is
Ret_Val : Colors.Color_Set_T;
begin
-- Query user to determine what colors to add to the set
return Ret_Val;
end Get;
end Input;
|
programs/oeis/158/A158543.asm | karttu/loda | 1 | 89149 | <filename>programs/oeis/158/A158543.asm
; A158543: a(n) = 144*n^2 - 12.
; 132,564,1284,2292,3588,5172,7044,9204,11652,14388,17412,20724,24324,28212,32388,36852,41604,46644,51972,57588,63492,69684,76164,82932,89988,97332,104964,112884,121092,129588,138372,147444,156804,166452,176388,186612,197124,207924,219012,230388,24... |
programs/oeis/000/A000262.asm | ckrause/cm | 22 | 17512 | ; A000262: Number of "sets of lists": number of partitions of {1,...,n} into any number of lists, where a list means an ordered subset.
; 1,1,3,13,73,501,4051,37633,394353,4596553,58941091,824073141,12470162233,202976401213,3535017524403,65573803186921,1290434218669921,26846616451246353,588633468315403843,1356437369358... |
test/test_binsearch.ada | mgrojo/ASnip | 0 | 5989 | --------------------------------------------------------------------------
-- ASnip Source Code Decorator
-- Copyright (C) 2006, <NAME>
--
-- 1. Permission is hereby granted to use, copy, modify and/or distribute
-- this package, provided that:
-- * copyright notices are retained unchanged,
-- * any d... |
tools-src/gnu/gcc/gcc/ada/3wsocthi.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 9368 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
gcc-gcc-7_3_0-release/gcc/ada/sem_disp.adb | best08618/asylo | 7 | 2046 | <filename>gcc-gcc-7_3_0-release/gcc/ada/sem_disp.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
src/gen-model-operations.ads | jquorning/dynamo | 15 | 169 | <gh_stars>10-100
-----------------------------------------------------------------------
-- gen-model-operations -- Operation declarations
-- Copyright (C) 2012, 2016, 2017, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file... |
programs/oeis/007/A007978.asm | neoneye/loda | 22 | 23834 | <reponame>neoneye/loda
; A007978: Least non-divisor of n.
; 2,3,2,3,2,4,2,3,2,3,2,5,2,3,2,3,2,4,2,3,2,3,2,5,2,3,2,3,2,4,2,3,2,3,2,5,2,3,2,3,2,4,2,3,2,3,2,5,2,3,2,3,2,4,2,3,2,3,2,7,2,3,2,3,2,4,2,3,2,3,2,5,2,3,2,3,2,4,2,3,2,3,2,5,2,3,2,3,2,4,2,3,2,3,2,5,2,3,2,3
mov $2,$0
lpb $0
mov $0,$2
add $1,1
add $3,2
div $0... |
dimension/app/shell/ish/ish.asm | ekscrypto/Unununium | 7 | 160100 | ;; $Header: /cvsroot/uuu/dimension/app/shell/ish/ish.asm,v 1.3 2002/01/21 06:17:25 instinc Exp $
;;
;; Ish shell
;; Copyright (c) 2001 <NAME>
;; Ish is distributed under the BSD license, see file "license" for details
;;
;; Features:
;; ---------
;; fast command lookup
;; command editing
;; no un-features
;; supports e... |
libsrc/fcntl/dummy/lseek.asm | jpoikela/z88dk | 640 | 99326 | <gh_stars>100-1000
; $Id: lseek.asm,v 1.4 2016-03-06 21:39:54 dom Exp $
SECTION code_clib
PUBLIC lseek
PUBLIC _lseek
.lseek
._lseek
ld hl,1 ;non zero is error
ld d,h
ld e,l
ret
|
src/router_cb.ads | Robert-Tice/AdaFractal | 2 | 26314 | <gh_stars>1-10
with Ada.Streams; use Ada.Streams;
with AWS.Response;
with AWS.Status;
with Computation_Type;
with Image_Types;
with Fractal;
with Julia_Set;
package Router_Cb is
function Router (Request : AWS.Status.Data) return AWS.Response.Data;
procedure Init;
Server_Alive : Boolean := True;
type ... |
src/periods.6502.asm | mrpopogod/nes-fun | 0 | 103305 | .target "6502"
.format "nes"
.setting "NESMapper", 0
.setting "NESVerticalMirroring", true
.setting "ShowLabelsAfterCompiling", true
.setting "ShowLocalLabelsAfterCompiling", true
.setting "LaunchCommand", "c:\\emulation\\fceux.exe {0}"
.setting "DebugCommand", "c:\\emulation\\fceux.exe {0}"
.segme... |
tools-src/gnu/gcc/gcc/ada/par-ch3.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 29903 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
src/main/antlr4/com/github/thiagogarbazza/expressionresolver/parser/ExpressionLexer.g4 | thiagogarbazza/expression-resolver | 0 | 1834 | <reponame>thiagogarbazza/expression-resolver
lexer grammar ExpressionLexer;
FN_ACOS : 'acos';
FN_ASIN : 'asin';
FN_ATAN : 'atan';
FN_COMPARE_DATE : 'compareDate';
FN_COMPARE_NUMBER : 'compareNumber';
FN_COMPARE_STRING : 'compareString';
FN_COS : 'c... |
hello_win32.asm | pmkenned/win32_asm | 0 | 26084 | <reponame>pmkenned/win32_asm
global go
extern _ExitProcess@4
extern _GetStdHandle@4
extern _WriteConsoleA@20
section .data
msg: db 'Hello, World', 10
handle: db 0
written:
db 0
section .text
go:
; handle = GetStdHandle(-11)
... |
oeis/306/A306447.asm | neoneye/loda-programs | 11 | 10960 | <reponame>neoneye/loda-programs
; A306447: Number of (undirected) Hamiltonian cycles in the n-antiprism graph.
; 3,9,16,29,56,110,225,469,991,2110,4511,9666,20736,44511,95575,205253,440828,946817,2033628,4367986,9381949,20151433,43283195,92967882,199685571,428904390,921243268,1978737467,4250128235,9128846273,1960784004... |
programs/oeis/004/A004680.asm | neoneye/loda | 22 | 242255 | ; A004680: Primes written in base 6.
; 2,3,5,11,15,21,25,31,35,45,51,101,105,111,115,125,135,141,151,155,201,211,215,225,241,245,251,255,301,305,331,335,345,351,405,411,421,431,435,445,455,501,515,521,525,531,551,1011,1015,1021,1025,1035,1041,1055,1105,1115,1125,1131,1141,1145,1151,1205,1231,1235,1241,1245,1311,1321,13... |
SH_USERN.asm | CodexLink/8086_ASM_DOSBOX_Examples | 0 | 86454 | ; SHow Username after Input with String + Delimiter Modification — SH_USERN.asm
; Copyright (c) 2021 <NAME>
; This code is licensed under MIT license. (see LICENSE for details)
.MODEL SMALL
.DATA
USERNAME_BUF DB 31, ?, 31 DUP (?)
QUESTION_NAME DB 0AH, "Hello, What's your name? $"
CONCAT_TO_NAME DB 0AH, 0AH, "Hello, $"... |
programs/oeis/054/A054487.asm | karttu/loda | 0 | 92317 | <reponame>karttu/loda<gh_stars>0
; A054487: a(n) = (3*n+4)*binomial(n+7, 7)/4.
; 1,14,90,390,1320,3762,9438,21450,45045,88660,165308,294372,503880,833340,1337220,2089164,3187041,4758930,6970150,10031450,14208480,19832670,27313650,37153350,49961925,66475656,87576984,114316840,147939440,189909720,241943592,306041208,3845... |
s-taspri.ads | ytomino/gnat4drake | 0 | 23104 | <reponame>ytomino/gnat4drake
pragma License (Unrestricted);
package System.Task_Primitives is
pragma Preelaborate;
subtype Task_Address is System.Address;
Task_Address_Size : constant := Standard'Address_Size;
end System.Task_Primitives;
|
CodeGenA32/TestData/malloc.a32.asm | robertmuth/Cwerg | 171 | 13904 | # malloc
# ========================================
.fun main NORMAL [U32] = []
.bbl start
mov size:U32 1
.bbl loop
pusharg size
bsr malloc
poparg addr:A32
bitcast x:U32 addr
pusharg x
bsr print_x_ln
mul size size 4
blt size 0x1000000 loop
pusharg 0:U32
ret
|
Sources/Globe_3d/globe_3d-stars_sky.ads | ForYouEyesOnly/Space-Convoy | 1 | 25762 | <gh_stars>1-10
generic
No_of_Stars : Natural := 400;
far_side : GLOBE_3D.Real;
package GLOBE_3D.Stars_sky is
pragma Elaborate_Body;
procedure Display (Rotation : Matrix_33);
end GLOBE_3D.Stars_sky;
|
src/Common/Grammars/Zen.g4 | dzieje-khorinis/DaedalusCompiler | 57 | 6336 | <filename>src/Common/Grammars/Zen.g4
grammar Zen;
/*
TODO think about making separate Lexer and Parser grammars.
That approach allows usage of Lexer MODES, which could be
used for extra validation and generation of specialized
attribute value tokens (separate token types for each data
type, without risk of too greedy ... |
programs/oeis/190/A190542.asm | karttu/loda | 1 | 26039 | <reponame>karttu/loda
; A190542: 7^n - 4^n.
; 0,3,33,279,2145,15783,113553,807159,5699265,40091463,281426673,1973132439,13824509985,96821901543,677954637393,4746487768119,33228635602305,232613334118023,1628344878433713,11398620307466199
mov $2,7
pow $2,$0
mov $1,$2
mov $3,4
pow $3,$0
sub $1,$3
|
test_noof1s.asm | sekharkaredla/8085 | 1 | 5203 | <gh_stars>1-10
LDA 20F0
MVI B,08
MVI C,00
STC
CMC
L1: RAL
JNC L2
INR C
L2: DCR B
JNZ L1
MOV A,C
STA 20F1
RST 1
|
arch/ARM/RP/svd/rp2040/rp_svd-syscfg.ads | morbos/Ada_Drivers_Library | 2 | 18725 | -- Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
--
-- SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from rp2040.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
-- Register block for various chip control sig... |
dino/lc/1p x.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 97832 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
0016F0 move.l D1, ($2c,A6)
0016F4 move #$1, CCR
0016F8 rts
0016FA move.w ($8,A6), D0
0016FE move.w ($c,A6), D1
001702 add.w ($10,A6), D1
001706 tst.b ($4dc,A5)
;--------
... |
src/tiles09.asm | fjpena/sword-of-ianna-msx2 | 43 | 2456 | <filename>src/tiles09.asm
org $8000
tilestest: INCBIN "tiles_nivel09.SR5.plet1"
|
oeis/056/A056830.asm | neoneye/loda-programs | 11 | 90893 | <reponame>neoneye/loda-programs
; A056830: Alternate digits 1 and 0.
; 0,1,10,101,1010,10101,101010,1010101,10101010,101010101,1010101010,10101010101,101010101010,1010101010101,10101010101010,101010101010101,1010101010101010,10101010101010101,101010101010101010,1010101010101010101,10101010101010101010,10101010101010101... |
aom_dsp/x86/subtract_sse2.asm | WuJoel2020/aom | 0 | 164801 | ;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aome... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.