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 |
|---|---|---|---|---|
boot.asm | olawlor/OS-L | 0 | 88472 | <reponame>olawlor/OS-L
;
; Operating System - Lawlor (OS-L)
; x86 BIOS bootup process
;
BITS 16 ; awful segmented memory
ORG 0x07C00 ; bios loads this boot block to linear address 0x07C00
start:
cli ; turn off interrupts until we get the machine running
cld ; make string instructions run normal direction (+)
... |
bvs/BvsGetConfig.asm | osfree-project/FamilyAPI | 0 | 247374 | <filename>bvs/BvsGetConfig.asm
;/*!
; @file
;
; @brief BvsGetConfig DOS wrapper
;
; (c) osFree Project 2008-2022, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @auth... |
oeis/305/A305292.asm | neoneye/loda-programs | 11 | 176982 | <reponame>neoneye/loda-programs<filename>oeis/305/A305292.asm
; A305292: Numbers k such that k-1 is a square and k+1 is a triangular number.
; Submitted by <NAME>
; 2,5,65,170,2210,5777,75077,196250,2550410,6666725,86638865,226472402,2943171002,7693394945,99981175205,261348955730,3396416785970,8878171099877,11537818954... |
gcc-gcc-7_3_0-release/gcc/ada/alloc.ads | best08618/asylo | 7 | 13234 | <filename>gcc-gcc-7_3_0-release/gcc/ada/alloc.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
raid/pq_check_sse.asm | hzhuang1/isa-l | 344 | 102561 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 Intel Corporation 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 so... |
oeis/142/A142624.asm | neoneye/loda-programs | 11 | 5552 | ; A142624: Primes congruent to 32 mod 55.
; Submitted by <NAME>
; 197,307,857,967,1187,1297,1627,1847,2287,2617,2837,3167,3607,4157,4597,4817,5147,5477,5807,6247,6577,6907,7127,7237,7457,8117,8447,8887,9437,9547,9767,10427,10867,11087,11197,11527,12517,13177,13397,14057,14387,14717,14827,15377,15817,16477,17027,17137,1... |
Fields/CauchyCompletion/BaseExpansion.agda | Smaug123/agdaproofs | 4 | 1474 | <filename>Fields/CauchyCompletion/BaseExpansion.agda
{-# OPTIONS --safe --warning=error --without-K --guardedness #-}
open import Setoids.Setoids
open import Rings.Definition
open import Rings.Lemmas
open import Rings.Orders.Partial.Definition
open import Rings.Orders.Total.Definition
open import Groups.Definition
ope... |
src/util-encoders.ads | Letractively/ada-util | 0 | 18438 | -----------------------------------------------------------------------
-- util-encoders -- Encode/Decode streams and strings from one format to another
-- Copyright (C) 2009, 2010, 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not... |
array_utils/tests/src/array_utils-test_cases.ads | jgrivera67/projects-with-amy | 0 | 13621 | <filename>array_utils/tests/src/array_utils-test_cases.ads
with AUnit;
with AUnit.Test_Fixtures;
package Array_Utils.Test_Cases is
type Test_Case is new AUnit.Test_Fixtures.Test_Fixture with null record;
procedure Test_Linear_Search_Element_Found_First_Entry (T : in out Test_Case);
procedure Test_Linear_Se... |
s1/sfx-original/SndA4 - Skid.asm | Cancer52/flamedriver | 9 | 88909 | <filename>s1/sfx-original/SndA4 - Skid.asm
SndA4_Skid_Header:
smpsHeaderStartSong 1
smpsHeaderVoice SndA4_Skid_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $02
smpsHeaderSFXChannel cPSG2, SndA4_Skid_PSG2, $F4, $00
smpsHeaderSFXChannel cPSG3, SndA4_Skid_PSG3, $F4, $00
; PSG2 Data
SndA4_Skid_PSG2:
smps... |
alloy4fun_models/trainstlt/models/1/MnJfvnbbyXpL3aK3H.als | Kaixi26/org.alloytools.alloy | 0 | 947 | open main
pred idMnJfvnbbyXpL3aK3H_prop2 {
always all s: Signal | eventually s in Green
}
pred __repair { idMnJfvnbbyXpL3aK3H_prop2 }
check __repair { idMnJfvnbbyXpL3aK3H_prop2 <=> prop2o } |
attic/asis/find_entities/adam-assist-query-find_entities-element_processing.ads | charlie5/aIDE | 3 | 5992 | <reponame>charlie5/aIDE<filename>attic/asis/find_entities/adam-assist-query-find_entities-element_processing.ads
-- This package contains routines for ASIS Elements processing.
with Asis;
package AdaM.Assist.Query.find_Entities.element_Processing is
procedure Process_Construct (The_Element : Asis.Element);
--... |
test/Succeed/UniqueFloatNaN.agda | hborum/agda | 2 | 2058 | <filename>test/Succeed/UniqueFloatNaN.agda
module UniqueFloatNaN where
-- See Issue: Inconsistency: Rounding op differentiates NaNs #3749
-- https://github.com/agda/agda/issues/3749
open import Agda.Builtin.Float
renaming ( primRound to round
; primFloor to floor
; primCeiling to ceiling
... |
oeis/287/A287793.asm | neoneye/loda-programs | 11 | 161786 | <gh_stars>10-100
; A287793: Eight steps forward, seven steps back.
; Submitted by <NAME>(s3)
; 0,1,2,3,4,5,6,7,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3,2,3,4,5,6,7,8,9,10,9,8,7,6,5,4,3,4,5,6,7,8,9,10,11,10,9,8,7,6,5,4,5,6,7,8,9,10,11,12,11,10,9,8,7,6,5,6,7,8,9,10,11
lpb $0
sub $0,5
add $1,1
add $2,10
trn $2... |
PRG/objects/5-5.asm | narfman0/smb3_pp1 | 0 | 9148 | <gh_stars>0
.byte $01 ; Unknown purpose
.byte OBJ_BONUSCONTROLLER, $00, $1C
.byte OBJ_PARATROOPAGREENHOP, $12, $15
.byte OBJ_PARATROOPAGREENHOP, $17, $15
.byte OBJ_PARAGOOMBAWITHMICROS, $14, $17
.byte OBJ_PARATROOPAGREENHOP, $2D, $16
.byte OBJ_VENUSFIRETRAP_CEIL, $30, $11
.byte OBJ_VENUSFIRETRAP, $37, $17
.by... |
libsrc/target/nc100/kmsetyellow.asm | jpoikela/z88dk | 640 | 4498 |
SECTION code_clib
PUBLIC kmsetyellow
PUBLIC _kmsetyellow
; fastcall
.kmsetyellow
._kmsetyellow
ld b, h
ld c, l
jp 0xb8d5
|
Sandbox/IndRec.agda | banacorn/numeral | 1 | 1172 | module Sandbox.IndRec where
-- Ornamental Algebras, Algebraic Ornaments, CONOR McBRIDE
-- https://personal.cis.strath.ac.uk/conor.mcbride/pub/OAAO/Ornament.pdf
-- A Finite Axiomtization of Inductive-Recursion definitions, <NAME>, <NAME>
-- http://www.cse.chalmers.se/~peterd/papers/Finite_IR.pdf
open import Data.Produc... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_2_1009.asm | ljhsiun2/medusa | 9 | 28592 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x3100, %rsi
lea addresses_D_ht+0x11d00, %rdi
nop
nop
nop
and %r15, %r15
mov $80, %rcx
rep movsb
nop
sub $39180, %r13
lea addresses_D_ht+0x3d00, %rsi
lea addresses_WC_ht+0x7e00, %rdi
cl... |
Cats/Category/Op.agda | alessio-b-zak/cats | 0 | 9336 | <filename>Cats/Category/Op.agda
module Cats.Category.Op where
open import Relation.Binary using (Rel ; _Preserves₂_⟶_⟶_)
open import Relation.Binary.PropositionalEquality as ≡
open import Level
open import Cats.Category
open import Cats.Category.Cat using (Cat)
module _ {lo la l≈} (C : Category lo la l≈) where
... |
1A/S5/PIM/tps/pr1/mesure_temps.adb | MOUDDENEHamza/ENSEEIHT | 4 | 21260 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Calendar; use Ada.Calendar;
procedure Mesure_Temps is
N: Integer; -- un entier lu au clavier
Debut: Time; -- heure de début de l'opération
Fin: Time; -- heure de fin de l'op... |
programs/oeis/075/A075353.asm | neoneye/loda | 22 | 26512 | ; A075353: Initial term of n-th group in A075352.
; 1,2,3,5,7,10,13,17,21,26,31,37,43,49,56,63,71,79,88,97,107,117,128,139,151,163,175,188,201,215,229,244,259,275,291,308,325,343,361,380,399,418,438,458,479,500,522,544,567,590,614,638,663,688,714,740,767,794
mov $2,$0
add $2,1
mov $4,$0
lpb $2
mov $0,$4
sub $2,1
... |
libsrc/_DEVELOPMENT/adt/wa_stack/c/sdcc_iy/wa_stack_capacity.asm | meesokim/z88dk | 0 | 5016 |
; size_t wa_stack_capacity(wa_stack_t *s)
SECTION code_adt_wa_stack
PUBLIC _wa_stack_capacity
EXTERN _w_array_capacity
defc _wa_stack_capacity = _w_array_capacity
|
src/Quasigroup/Structures.agda | Akshobhya1234/agda-NonAssociativeAlgebra | 2 | 4597 | <filename>src/Quasigroup/Structures.agda
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary using (Rel; Setoid; IsEquivalence)
module Quasigroup.Structures
{a ℓ} {A : Set a} -- The underlying set
(_≈_ : Rel A ℓ) -- The underlying equality relation
where
open import Algebra.Core
open import Level... |
Lab Assessment Submission/Lab 2/Lab2_1620070042.asm | soha221/CSE331L-Section-10-Fall20-NSU-1 | 0 | 163896 | <reponame>soha221/CSE331L-Section-10-Fall20-NSU-1
org 100h
K1 EQU 2
K2 EQU 1
K3 EQU 2
MOV AX,K1
ADD AX,K2
ADD AX,K3
MOV BX,AX
ret |
programs/oeis/011/A011891.asm | neoneye/loda | 22 | 160202 | ; A011891: a(n) = floor( n*(n-1)*(n-2)/9 ).
; 0,0,0,0,2,6,13,23,37,56,80,110,146,190,242,303,373,453,544,646,760,886,1026,1180,1349,1533,1733,1950,2184,2436,2706,2996,3306,3637,3989,4363,4760,5180,5624,6092,6586,7106,7653,8227,8829,9460,10120,10810,11530,12282,13066,13883,14733,15617,16536,17490,18480,19506,20570,21672... |
Transynther/x86/_processed/NC/_st_zr_sm_/i7-7700_9_0xca_notsx.log_21829_1870.asm | ljhsiun2/medusa | 9 | 168941 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xd123, %rax
nop
nop
nop
nop
nop
and $49221, %rdx
mov $0x6162636465666768, %rsi
movq %rsi, %xmm2
movups %xmm2, (%rax)
nop
xor %r14, %r14
lea addresses_WC_ht+0x1c8a3, %r15
nop
s... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1481.asm | ljhsiun2/medusa | 9 | 170675 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1481.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x16129, %rsi
nop
nop
nop
nop
inc %rdx
movw $0x616... |
resources/example-backgrounds/obj-oam.asm | undisbeliever/snes-test-roms | 7 | 20341 | // OAM for the `obj-4bpp-tiles.png` sprite image
//
// Copyright (c) 2020, <NAME> <<EMAIL>>.
// Distributed under The MIT License: https://opensource.org/licenses/MIT
constant tileSize = 32
constant width = 4
constant height = 2
constant startX = (256 - (width * tileSize)) / 2
constant startY = (224 - (height * tile... |
10.asm | AsadKhalil/Assembly_x86 | 0 | 178408 | <filename>10.asm
[org 0x0100]
jmp start
message: db 'hello_word'
printstr:
;parameters order of pushing
;x pos, ypos, attribute, message, length
push bp
mov bp, sp
;saving registers
push ax
push cx
push di
push si
push es
mov ax, 0xb800
mov es, ax ;point es to video base
mov ... |
utils/glutils.ads | Lucretia/old_nehe_ada95 | 0 | 11836 | <reponame>Lucretia/old_nehe_ada95<gh_stars>0
---------------------------------------------------------------------------------
-- Copyright 2004-2005 © <NAME>
--
-- This code is to be used for tutorial purposes only.
-- You may not redistribute this code in any form without my express permission.
----------------------... |
gcc-gcc-7_3_0-release/gcc/ada/a-cfinve.adb | best08618/asylo | 7 | 12916 | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
Sources/Globe_3d/globe_3d-stars_sky.adb | ForYouEyesOnly/Space-Convoy | 1 | 23703 | with GLOBE_3D.Math;
pragma Elaborate_All (GLOBE_3D.Math);
with Ada.Numerics.Float_Random; use Ada.Numerics.Float_Random;
package body GLOBE_3D.Stars_sky is
Star_Colours : array (1 .. No_of_Stars) of GL.RGB_Color;
Star_Positions : array (1 .. No_of_Stars) of Point_3D; -- normalized position on... |
Lista2/Lista2/Parte2/Programa20.asm | GustavoLR548/ACII-GLR | 1 | 246620 | .data
x: .word 10 # Declarando "x" como 10
y: .word 15 # Declarando "y" como 15
k: .word -1 # Declarando "k" como -1
.text
ori $t0,$zero,0x1001 # t0 = 1000
sll $t0,$t0,16 # t0 = 10000000
lw $s0, 0($t0) # s0 = x = 10
lw $s1, 4($t0) # s1 = y = 15
mult $s0,$s1 # Multiplicar o conteudo em s0 com s1
mflo $s2 # ... |
programs/oeis/301/A301727.asm | neoneye/loda | 22 | 173283 | ; A301727: Partial sums of A301726.
; 1,6,17,33,54,81,114,152,195,244,298,357,422,492,567,648,735,827,924,1027,1135,1248,1367,1491,1620,1755,1896,2042,2193,2350,2512,2679,2852,3030,3213,3402,3597,3797,4002,4213,4429,4650,4877,5109,5346,5589,5838,6092,6351,6616,6886,7161,7442,7728,8019,8316,8619,8927
lpb $0
mov $2,$0... |
programs/oeis/304/A304611.asm | karttu/loda | 1 | 96008 | <gh_stars>1-10
; A304611: a(n) = 155*n - 38.
; 117,272,427,582,737,892,1047,1202,1357,1512,1667,1822,1977,2132,2287,2442,2597,2752,2907,3062,3217,3372,3527,3682,3837,3992,4147,4302,4457,4612,4767,4922,5077,5232,5387,5542,5697,5852,6007,6162,6317,6472,6627,6782,6937,7092,7247,7402,7557,7712,7867,8022,8177,8332,8487,8642... |
platforms/macos/dmg/support/template.applescript | markusb/qlcplus | 158 | 1264 | <reponame>markusb/qlcplus
on run -- for testing in script editor
process_disk_image("Adium X 1.0b20", "/Users/evands/adium-1.0/Release/Artwork")
end run
on process_disk_image(volumeName)
tell application "Finder"
tell disk (volumeName as string)
open
set theXOrigin to WINX
set theYOrigin to WINY
se... |
oeis/130/A130869.asm | neoneye/loda-programs | 11 | 28161 | <gh_stars>10-100
; A130869: Partial sums of A130752.
; Submitted by <NAME>
; 2,7,16,32,63,126,254,511,1024,2048,4095,8190,16382,32767,65536,131072,262143,524286,1048574,2097151,4194304,8388608,16777215,33554430,67108862,134217727,268435456,536870912,1073741823,2147483646
add $0,2
seq $0,281166 ; a(n) = 3*a(n-1) - 3*a(... |
src/Native/Runtime/arm64/AllocFast.asm | guptay1/corert | 0 | 94026 | <filename>src/Native/Runtime/arm64/AllocFast.asm
;; Licensed to the .NET Foundation under one or more agreements.
;; The .NET Foundation licenses this file to you under the MIT license.
#include "AsmMacros.h"
TEXTAREA
;; Allocate non-array, non-finalizable object. If the allocation doesn't fit into the current t... |
oeis/267/A267848.asm | neoneye/loda-programs | 11 | 12061 | <gh_stars>10-100
; A267848: Triangle read by rows giving successive states of cellular automaton generated by "Rule 229" initiated with a single ON (black) cell.
; Submitted by <NAME>
; 1,0,1,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,... |
dimension/devtool/u3fsdb/guest/dummy.asm | ekscrypto/Unununium | 7 | 27538 | <gh_stars>1-10
;; Dummy Guest FS cell
section .text
_mount:
stc
retn
;section .c_init
global __init_entry_point
__init_entry_point:
mov edx, __FS_TYPE_EXT2__
mov eax, _mount
externfunc vfs.register_fs_driver
retn
|
project/testRoms/apu/test_apu_sweep/sweep_sub.asm | zzqqqzzz/WebNES | 75 | 163113 |
; NES APU Sweep Subtract Test
; Tests NES APU sweep subtract mode. When run, a continuous note
; should play (with slight periodic clicks). Half way through it should
; lower very slightly in pitch (refer to sweep_sub.wav).
main:
sei
lda #250 ; wait for hardware
jsr delay_msec
lda #$c0 ; ... |
specs/ada/common/tkmrpc-response-ike-tkm_limits-convert.ads | DrenfongWong/tkm-rpc | 0 | 29000 | with Ada.Unchecked_Conversion;
package Tkmrpc.Response.Ike.Tkm_Limits.Convert is
function To_Response is new Ada.Unchecked_Conversion (
Source => Tkm_Limits.Response_Type,
Target => Response.Data_Type);
function From_Response is new Ada.Unchecked_Conversion (
Source => Response.Data_Type,
... |
annis-service/src/main/antlr4/annis/ql/AqlParser.g4 | commul/ANNIS | 0 | 1819 | /*
* Copyright 2013 SFB 632.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
programs/oeis/085/A085524.asm | neoneye/loda | 22 | 168358 | ; A085524: a(0) = 0; a(n) = n^(2*n-1) for n > 0.
; 0,1,8,243,16384,1953125,362797056,96889010407,35184372088832,16677181699666569,10000000000000000000,7400249944258160101211,6624737266949237011120128,7056410014866816666030739693,8819763977946281130444984418304,12783403948858939111232757568359375
mov $1,$0
sub $1,2
sub... |
oeis/054/A054100.asm | neoneye/loda-programs | 11 | 101503 | ; A054100: T(n,n), array T as in A054098.
; Submitted by <NAME>
; 1,2,2,4,10,34,144,748,4606,32874,266968,2431612,24554190,272289634,3289836256,43017800316,605289111694,9119314568458,146474344313976,2498617856687404
mov $1,1
mov $3,$0
lpb $3
add $1,$4
mul $2,-1
add $2,$1
div $1,2
mod $4,$2
add $4,2
mul $... |
programs/oeis/025/A025784.asm | jmorken/loda | 1 | 21642 | <reponame>jmorken/loda<filename>programs/oeis/025/A025784.asm
; A025784: Expansion of 1/((1-x)(1-x^7)(1-x^8)).
; 1,1,1,1,1,1,1,2,3,3,3,3,3,3,4,5,6,6,6,6,6,7,8,9,10,10,10,10,11,12,13,14,15,15,15,16,17,18,19,20,21,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,37,38,39,40,41,42,43,45,47,48,49,50,51,52,54,56,58,59,60,61,62,... |
src/support_utils/support_utils-word_support_package.adb | spr93/whitakers-words | 3 | 1731 | <gh_stars>1-10
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-- (c... |
Categories/Object/Exponential.agda | copumpkin/categories | 98 | 17006 | <reponame>copumpkin/categories<filename>Categories/Object/Exponential.agda
{-# OPTIONS --universe-polymorphism #-}
open import Categories.Category
module Categories.Object.Exponential {o ℓ e} (C : Category o ℓ e) where
open Category C
open import Level
open import Categories.Square
import Categories.Object.Product... |
Tejas-Simulator/PIN/pin-2.14/source/tools/ToolUnitTests/analysis_flag_overwrite_tool3_win.asm | markoshorro/tejas_knl | 17 | 1933 | PUBLIC WriteFlags_asm
.686
.model flat, c
.code
WriteFlags_asm PROC
mov eax, 0
add eax, eax
ret
WriteFlags_asm ENDP
end |
oeis/163/A163348.asm | neoneye/loda-programs | 11 | 14462 | ; A163348: a(n) = 6*a(n-1) - 7*a(n-2) for n > 1; a(0) = 1, a(1) = 7.
; Submitted by <NAME>
; 1,7,35,161,721,3199,14147,62489,275905,1218007,5376707,23734193,104768209,462469903,2041441955,9011362409,39778080769,175588947751,775087121123,3421400092481,15102790707025,66666943594783,294282126619523,1299024154553657,573417... |
ais-lib-communication/src/main/java/dk/dma/internal/ais/generated/parser/expressionfilter/ExpressionFilter.g4 | wojciechk/AisLib | 127 | 4569 | <gh_stars>100-1000
grammar ExpressionFilter;
filter: filterExpression EOF;
filterExpression:
//
// Tokens related to source
//
SRC_ID (in|notin) stringList # sourceIdIn
| SRC_BASESTATION compareTo INT # sourceBasestation
| SRC_BAS... |
test/cases/clang-static.asm | malcolmr/gcc-explorer | 4 | 174898 | Char:
.byte 128 # 0x80
.size Char, 1
.type Short,@object # @Short
.globl Short
.align 2
Short:
.short 4660 # 0x1234
.size Short, 2
.type Int,@object # @Int
.globl Int
.align 4
Int:
.long 123 # 0x7b
.size Int, 4
.type Long,@obj... |
oeis/328/A328683.asm | neoneye/loda-programs | 11 | 177778 | <gh_stars>10-100
; A328683: Positive integers that are equal to 99...99 (repdigit with n digits 9) times the sum of their digits.
; 81,1782,26973,359964,4499955,53999946,629999937,7199999928,80999999919,899999999910,9899999999901,107999999999892,1169999999999883,12599999999999874,134999999999999865,1439999999999999856,... |
wayland_ada_scanner/src/aida/aida-deepend-xml_dom_parser.adb | onox/wayland-ada | 5 | 12073 | <filename>wayland_ada_scanner/src/aida/aida-deepend-xml_dom_parser.adb<gh_stars>1-10
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 - 2019 <NAME> <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- Y... |
Variables.asm | DevEd2/ScootTheBurbs | 5 | 23999 | <reponame>DevEd2/ScootTheBurbs<gh_stars>1-10
; ================================================================
; Variables
; ================================================================
if !def(incVars)
incVars set 1
SECTION "Virtual zeropage",WRAM0
GBCFlag ds 1
GBAFlag ds 1
EmuCheck ds 1
ScrollTable... |
tests/listing/Issue155_endif_listing.asm | fengjixuchui/sjasmplus | 220 | 86727 | <reponame>fengjixuchui/sjasmplus
; Wrong address calculation in listing for lines with ENDIF keyword
org 0
align 16 : if 1 : block 0, $ff : endif ; OK
align 16 : if 1 : block 1, $ff : endif ; OK
align 16 : if 1 : block 2, $ff : endif ; OK
align 16 : if 1 : block 3, $ff : endif ; OK
align 16 : if 1 : block 4,... |
testdata/hmc-6502/cmp_beq_bne_test.asm | tehmaze/mos65xx | 3 | 86661 | <reponame>tehmaze/mos65xx
; Tests instructions CMP (all addressing modes) & BEQ & BNE.
; Assumes that loads & stores work with all addressing modes.
; Also assumes that AND & ORA & EOR work with all addressing modes.
;
; Expected Results: $15 = 0x7F
; Note that this test does not seem to work in 6502js, but Visual 65... |
llvm-gcc-4.2-2.9/gcc/ada/gnat1drv.adb | vidkidz/crossbridge | 1 | 7014 | <reponame>vidkidz/crossbridge<filename>llvm-gcc-4.2-2.9/gcc/ada/gnat1drv.adb<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS ... |
container/core.agda | HoTT/M-types | 27 | 15116 | <reponame>HoTT/M-types<gh_stars>10-100
{-# OPTIONS --without-K #-}
module container.core where
open import level
open import sum
open import equality
open import function
module _ {li}{I : Set li} where
-- homsets in the slice category
_→ⁱ_ : ∀ {lx ly} → (I → Set lx) → (I → Set ly) → Set _
X →ⁱ Y = (i : I) → X... |
llvm-gcc-4.2-2.9/gcc/ada/a-intnam.ads | vidkidz/crossbridge | 1 | 19776 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
smsq/atari/ser/baud.asm | olifink/smsqe | 0 | 98596 | <gh_stars>0
; Atari Baud Rate 1991 <NAME> QJUMP
section sms
xdef at_baud
include 'dev8_keys_atari'
include 'dev8_keys_atari_scc'
include 'dev8_keys_sys'
include 'dev8_keys_err'
;+++
; Set Baud Rate
;
; d1 c p baud rate (n*10) + 0, 1, 2, 3, 4
;
; status return 0 or err.ipar
;---
at_baud
qbd.reg reg ... |
search_english.adb | ddugovic/words | 4 | 2737 | with TEXT_IO; use TEXT_IO;
with Strings_Package; use Strings_Package;
with LATIN_FILE_NAMES; use LATIN_FILE_NAMES;
with CONFIG;
with WORD_PARAMETERS; use WORD_PARAMETERS;
with Inflections_Package; use Inflections_Package;
with Dictionary_Package; use Dictionary_Package;
with DEVELOPER_PARAMETER... |
Ada/src/Problem_21.adb | Tim-Tom/project-euler | 0 | 22816 | <reponame>Tim-Tom/project-euler
with Ada.Integer_Text_IO;
with Ada.Text_IO;
with PrimeUtilities;
package body Problem_21 is
package IO renames Ada.Text_IO;
package I_IO renames Ada.Integer_Text_IO;
procedure Solve is
subtype subset is Integer range 1 .. 10_000;
package Subset_Primes is new PrimeUti... |
oeis/255/A255296.asm | neoneye/loda-programs | 11 | 171044 | <gh_stars>10-100
; A255296: a(n) = A255295(2^n-1).
; Submitted by <NAME>
; 1,6,24,92,340,1236,4452,15956,57028,203508,725604,2585876,9212932,32818740,116898468,416365652,1482959428,5281740660,18811402980,66998214548,238618498180,849854020788,3026803253028,10780126189268,38394001851076,136742291486196,487014945269604,17... |
macOS/blink_script.applescript | mwilczek-net/utils-and-automators | 0 | 1730 | <filename>macOS/blink_script.applescript
#!/usr/bin/osascript
# Script requires ctrl+option+command+8 keyborard short cut.
# By default this short cut inverts colors.
tell application "System Events" to repeat 2 times
key code 28 using {command down, control down, option down}
delay 0
end repeat |
oeis/274/A274094.asm | neoneye/loda-programs | 11 | 163410 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A274094: a(0)=0; thereafter (-1)^(n+1)*n appears n times.
; Submitted by <NAME>, https://github.com/ckrause
; 0,1,-2,-2,3,3,3,-4,-4,-4,-4,5,5,5,5,5,-6,-6,-6,-6,-6,-6,7,7,7,7,7,7,7,-8,-8,-8,-8,-8,-8,-8,-8,9,9,9,9,9,9,9,9,9,-10,-10,-10,-10,-10,-10,-10,-10,-10,-10,11,11,11... |
SiriRemote/AppleRemote_SCREEN.applescript | guileschool/SiriRemoteBTT | 20 | 650 | <reponame>guileschool/SiriRemoteBTT<filename>SiriRemote/AppleRemote_SCREEN.applescript
(*
The MIT License (MIT)
Copyright (c) 2015 guileschool
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 with... |
src/Categories/Category/Finite/Fin.agda | MirceaS/agda-categories | 0 | 1688 | <reponame>MirceaS/agda-categories
{-# OPTIONS --without-K --safe #-}
module Categories.Category.Finite.Fin where
open import Level
open import Data.Nat using (ℕ)
open import Data.Vec as Vec using (Vec)
open import Data.List
open import Data.Fin
open import Data.Fin.Properties
open import Axiom.UniquenessOfIdentityPro... |
Example/Test.agda | omelkonian/setup-agda | 2 | 13041 | module Example.Test where
open import Data.Maybe using (Is-just)
open import Prelude.Init
open import Prelude.DecEq
open import Prelude.Decidable
_ : (¬ ¬ ((true , true) ≡ (true , true)))
× (8 ≡ 18 ∸ 10)
_ = auto
|
CS410-Indexed.agda | clarkdm/CS410 | 0 | 4809 | {-# OPTIONS --copatterns #-}
module CS410-Indexed where
open import CS410-Prelude
open import CS410-Nat
-- some notation for working with indexed sets
_-:>_ _*:_ _+:_ : {I : Set}(S T : I -> Set) -> I -> Set
(S -:> T) i = S i -> T i -- index-respecting functions
(S *: T) i = S i * T i -- index-matching pairs
... |
programs/oeis/280/A280014.asm | karttu/loda | 0 | 244120 | <reponame>karttu/loda
; A280014: Numbers n == +- 2 (mod 10) but not n == 2 (mod 6).
; 12,18,22,28,42,48,52,58,72,78,82,88,102,108,112,118,132,138,142,148,162,168,172,178,192,198,202,208,222,228,232,238,252,258,262,268,282,288,292,298,312,318,322,328,342,348,352,358,372,378,382,388,402,408,412,418,432,438,442,448,462,46... |
tools/SPARK2005/preprocessor/src/context_processing.ads | michalkonecny/polypaver | 1 | 6590 | <filename>tools/SPARK2005/preprocessor/src/context_processing.ads<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- ASIS APPLICATION TEMPLATE COMPONENTS --
-- ... |
oeis/297/A297443.asm | neoneye/loda-programs | 11 | 244786 | <gh_stars>10-100
; A297443: a(n) = a(n-1) + 2*a(n-2) - 2*a(n-3) + 3*a(n-4) - 3*a(n-5), where a(0) = 1, a(1) = 3, a(2) = 6, a(3) = 11, a(4) = 20, a(5) = 33.
; Submitted by <NAME>(s3)
; 1,3,6,11,20,33,60,101,182,303,546,911,1640,2733,4920,8201,14762,24603,44286,73811,132860,221433,398580,664301,1195742,1992903,3587226,59... |
src/ada-pulse/src/pulse-volume.ads | mstewartgallus/linted | 0 | 21467 | -- Copyright 2016 <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writi... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/controlled_record.adb | best08618/asylo | 7 | 3313 | <gh_stars>1-10
-- { dg-do compile }
-- { dg-options "-O2" }
with Ada.Text_IO; use Ada.Text_IO;
with Assert;
package body Controlled_Record is
procedure Assert_Invariants (PA : Point_T) is
PB : Point_T;
begin
Assert.Assert (PB.Pos = PA.Pos);
end;
end Controlled_Record;
|
src/main/antlr4/org/cryptocoinpartners/command/Csv.g4 | douggie/cointrader | 399 | 2238 | grammar Csv;
import Base;
args:
filename ('from' startDate)? (('to'|'til') endDate)? ('by' tickDuration)?
;
filename: String ;
startDate: String ;
endDate: String ;
tickDuration: String ; |
src/amd64/display.asm | sts-q/OSDevAsm | 0 | 91187 | <filename>src/amd64/display.asm
;============================================================================
; :file: display.asm
;============================================================================
; :chapter: display
;------------------------------------------
%macro clear_screen 0 ; ( -- )
... |
runtime/win32/dbl.asm | pedroreissantos/compact | 1 | 25770 | <reponame>pedroreissantos/compact
[global _readr]
[section .text]
_readr:
push edi
push ebp
mov ebp,esp
sub esp,byte 96
push dword 80
lea edi,[ebp + (-80)]
push dword edi
call _readln
add esp,8
mov edi,eax
cmp edi,0
jne near L2
mov eax,0
jmp L1
L2:
lea edi,[ebp + (-80)]
push dword edi
call _atod
ad... |
programs/oeis/165/A165662.asm | karttu/loda | 1 | 86185 | ; A165662: Period 5: repeat 4,4,8,6,8.
; 4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8,4,4,8,6,8
bin $0,2
mul $0,7
mod $0,5
mov $1,$0
mul $1,2
add $1,4
|
Task/Ackermann-function/AppleScript/ackermann-function.applescript | LaudateCorpus1/RosettaCodeData | 1 | 2407 | <gh_stars>1-10
on ackermann(m, n)
if m is equal to 0 then return n + 1
if n is equal to 0 then return ackermann(m - 1, 1)
return ackermann(m - 1, ackermann(m, n - 1))
end ackermann
|
Task/Arithmetic-Complex/Ada/arithmetic-complex.ada | mullikine/RosettaCodeData | 1 | 15679 | with Ada.Numerics.Generic_Complex_Types;
with Ada.Text_IO.Complex_IO;
procedure Complex_Operations is
-- Ada provides a pre-defined generic package for complex types
-- That package contains definitions for composition,
-- negation, addition, subtraction, multiplication, division,
-- conjugation, exponenti... |
examples/protected_lf.adb | ytomino/drake | 33 | 10051 | with Ada;
procedure protected_lf is
protected prot is
pragma Lock_Free;
procedure w (arg : Integer);
function r return Integer;
private
value : Integer := 0;
end prot;
protected body prot is
procedure w (arg: Integer) is
begin
value := arg;
end w;
function r return Integer is
begin
return va... |
factorial.asm | danielzy95/x86-funz | 0 | 19480 | mov eax, 1 ; fact = 1
mov ebx, 6 ; n = 6
mov ecx, 1 ; for i = 1
loop:
cmp ebx, ecx
jl show_result
imul eax, ecx ; fact = fact * i
inc ecx
jmp loop
show_result:
#show eax ; EasyASM directive
|
alloy4fun_models/trashltl/models/1/Qtqtizo6pWpHDmm8g.als | Kaixi26/org.alloytools.alloy | 0 | 2215 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idQtqtizo6pWpHDmm8g_prop2 {
no File
}
pred __repair { idQtqtizo6pWpHDmm8g_prop2 }
check __repair { idQtqtizo6pWpHDmm8g_prop2 <=> prop2o } |
programs/oeis/244/A244477.asm | jmorken/loda | 1 | 86803 | <filename>programs/oeis/244/A244477.asm
; A244477: a(1)=3, a(2)=2, a(3)=1; thereafter a(n) = a(n-a(n-1)) + a(n-a(n-2)).
; 3,2,1,3,5,4,3,8,7,3,11,10,3,14,13,3,17,16,3,20,19,3,23,22,3,26,25,3,29,28,3,32,31,3,35,34,3,38,37,3,41,40,3,44,43,3,47,46,3,50,49,3,53,52,3,56,55,3,59,58,3,62,61,3,65,64,3,68,67,3,71,70,3,74,73,3,77... |
source/nodes/program-nodes-attribute_references.adb | optikos/oasis | 0 | 21537 | <gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Attribute_References is
function Create
(Prefix : not null Program.Elements.Expressions
... |
test/nform.agda | jonaprieto/agda-prop | 13 | 3405 | <reponame>jonaprieto/agda-prop
module nform where
open import Data.PropFormula (3) public
open import Data.PropFormula.NormalForms 3 public
open import Relation.Binary.PropositionalEquality using (_≡_; refl)
p : PropFormula
p = Var (# 0)
q : PropFormula
q = Var (# 1)
r : PropFormula
r = Var (# 2)
φ : PropFormula
φ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2199.asm | ljhsiun2/medusa | 9 | 91347 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x13776, %r12
dec %rdi
mov $0x6162636465666768, %r9
movq %r9, %xmm6
and $0xffffffffffffffc0, %r12
vmovaps %ymm6, (%r12)
inc %r10
lea addresses_A_ht+0xdf... |
src/asf-components-ajax-includes.adb | jquorning/ada-asf | 12 | 17202 | <filename>src/asf-components-ajax-includes.adb<gh_stars>10-100
-----------------------------------------------------------------------
-- components-ajax-includes -- AJAX Include component
-- Copyright (C) 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License"... |
gyak/gyak6/B1/duplication.ads | balintsoos/LearnAda | 0 | 30197 | generic
type Elem is private;
type Index is (<>);
type Tomb is array (Index range <>) of Elem;
function Duplication (T: in out Tomb) return Boolean;
|
programs/oeis/157/A157651.asm | neoneye/loda | 22 | 3665 | ; A157651: a(n) = 100*n^2 - 49*n + 6.
; 57,308,759,1410,2261,3312,4563,6014,7665,9516,11567,13818,16269,18920,21771,24822,28073,31524,35175,39026,43077,47328,51779,56430,61281,66332,71583,77034,82685,88536,94587,100838,107289,113940,120791,127842,135093,142544,150195,158046,166097,174348,182799,191450,200301,209352,218... |
maps/Route16.asm | Dev727/ancientplatinum | 28 | 9551 | Route16_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .AlwaysOnBike
.AlwaysOnBike:
readvar VAR_YCOORD
ifless 5, .CanWalk
readvar VAR_XCOORD
ifgreater 13, .CanWalk
setflag ENGINE_ALWAYS_ON_BIKE
return
.CanWalk:
clearflag ENGINE_ALWAYS_ON_BIKE
return
CyclingRoadSign:
jumpt... |
programs/oeis/010/A010016.asm | karttu/loda | 1 | 82144 | ; A010016: a(0) = 1, a(n) = 26*n^2 + 2 for n>0.
; 1,28,106,236,418,652,938,1276,1666,2108,2602,3148,3746,4396,5098,5852,6658,7516,8426,9388,10402,11468,12586,13756,14978,16252,17578,18956,20386,21868,23402,24988,26626,28316,30058,31852,33698,35596,37546,39548,41602,43708,45866,48076,50338,52652,55018,57436,59906,62428,... |
text/unused_names.asm | etdv-thevoid/pokemon-rgb-enhanced | 9 | 21531 | UnusedNames::
db "かみなりバッヂ@"
db "かいがらバッヂ@"
db "おじぞうバッヂ@"
db "はやぶさバッヂ@"
db "ひんやりバッヂ@"
db "なかよしバッヂ@"
db "バラバッヂ@"
db "ひのたまバッヂ@"
db "ゴールドバッヂ@"
db "たまご@"
db "ひよこ@"
db "ブロンズ@"
db "シルバー@"
db "ゴールド@"
db "プチキャプテン@"
db "キャプテン@"
db "プチマスター@"
db "マスター@"
db "エクセレント"
|
agda/topic/order/2013-04-01-sorting-francesco-mazzo/x2-Sort.agda | haroldcarr/learn-haskell-coq-ml-etc | 36 | 15832 | open import x1-Base
module x2-Sort
{X : Set}
{_≈_ : Rel X}
{_≤_ : Rel X}
(_≤?_ : Decidable _≤_)
(ord : TotalOrder _≈_ _≤_)
where
open TotalOrder ord using (total; equivalence)
open Equivalence equivalence using (refl)
-- represent bounded lists, but want b... |
awa/src/awa-events-queues-persistents.adb | My-Colaborations/ada-awa | 81 | 7582 | -----------------------------------------------------------------------
-- awa-events-queues-persistents -- AWA Event Queues
-- Copyright (C) 2012, 2013, 2014, 2017, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except ... |
oeis/045/A045375.asm | neoneye/loda-programs | 11 | 89617 | <filename>oeis/045/A045375.asm
; A045375: Primes congruent to {1, 2} mod 6.
; Submitted by <NAME>
; 2,7,13,19,31,37,43,61,67,73,79,97,103,109,127,139,151,157,163,181,193,199,211,223,229,241,271,277,283,307,313,331,337,349,367,373,379,397,409,421,433,439,457,463,487,499,523,541,547,571,577,601,607,613,619,631,643,661,67... |
src/qweyboard/qweyboard.ads | kqr/qweyboard | 33 | 2506 | with Unicode_Strings; use Unicode_Strings;
with Ada.Containers.Ordered_Sets;
package Qweyboard is
use Unbounded;
-- Letter keys declared in the order they're likely to appear in words
--
-- Quoted from patent, although not strictly followed here...
--
-- > For example, in English, the initial co... |
src/bplm/bplm.g4 | uxnt/bplm | 1 | 3530 | grammar bplm;
options {
language = Cpp;
}
//Ignores
WS: [\t\n\r ]+->skip;
LineComment: ('//'|'#').*?[\n\r]->skip;
BlockComment: '/*'.*?'*/'->skip;
//Keys
Import: 'plug';
Export: 'export';
Of: 'of';
Static: 'static';
Extern: 'extern';
True: 'true';
False: 'false';
Null: 'null';
Func: 'func';
Class: 'class';
Str... |
Task/Topological-sort/Ada/topological-sort-4.ada | LaudateCorpus1/RosettaCodeData | 1 | 15575 | <filename>Task/Topological-sort/Ada/topological-sort-4.ada
package body Set_Of_Names is
use type Ada.Containers.Count_Type, Vecs.Cursor;
function Start(Names: Set) return Index_Type is
begin
if Names.Length = 0 then
return 1;
else
return Names.First_Index;
end if;
end S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.