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 |
|---|---|---|---|---|
libsrc/_DEVELOPMENT/arch/zx/bifrost2/c/sdcc/BIFROST2_findAttrH.asm | jpoikela/z88dk | 640 | 94987 | <filename>libsrc/_DEVELOPMENT/arch/zx/bifrost2/c/sdcc/BIFROST2_findAttrH.asm<gh_stars>100-1000
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST*2 ENGINE
;
; See "bifrost2.h" for further details
; ----------------------------------------------------------------... |
Ada/main.ada | FelixWangEOF/HelloWorld50 | 0 | 4557 | <filename>Ada/main.ada
with Ada.Text_IO; use Ada.Text_IO;
procedure Hello is
begin
Put_Line ("Hello, World!");
end Hello; |
oeis/177/A177066.asm | neoneye/loda-programs | 11 | 170253 | ; A177066: Determinant of the symmetric n X n matrix M defined by M(i,j) = gcd(2i-1,2j-1) for 1 <= i,j <= n.
; Submitted by <NAME>(s4)
; 1,2,8,48,288,2880,34560,276480,4423680,79626240,955514880,21021327360,420426547200,7567677849600,211894979788800,6356849393664000,127136987873280000,3051287708958720000,10984635752251... |
src/pycropml/transpiler/antlr_py/grammars/CymlLexer.g4 | AgriculturalModelExchangeInitiative/PyCropML | 3 | 7541 | lexer grammar CymlLexer;
options {
tokenVocab=CymlLexer;
} |
test/Succeed/OverloadedString.agda | cruhland/agda | 1,989 | 2347 | <filename>test/Succeed/OverloadedString.agda
module _ where
open import Common.Prelude
open import Common.String
record IsString {a} (A : Set a) : Set a where
field
fromString : String → A
open IsString {{...}} public
{-# BUILTIN FROMSTRING fromString #-}
instance
StringIsString : IsString String
StringI... |
oeis/042/A042302.asm | neoneye/loda-programs | 11 | 99021 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A042302: Numerators of continued fraction convergents to sqrt(678).
; Submitted by <NAME>
; 26,677,35230,916657,47701394,1241152901,64587652246,1680520111297,87451633439690,2275422989543237,118409447089688014,3080921047321431601,160326303907804131266,4171564822650228844... |
audio/sfx/cry11_1.asm | AmateurPanda92/pokemon-rby-dx | 9 | 245316 | <reponame>AmateurPanda92/pokemon-rby-dx<filename>audio/sfx/cry11_1.asm
SFX_Cry11_1_Ch4:
dutycycle 240
squarenote 6, 15, 7, 1952
squarenote 8, 14, 6, 1956
squarenote 4, 13, 6, 1952
squarenote 15, 13, 3, 1824
squarenote 8, 12, 3, 1827
squarenote 2, 12, 2, 1832
squarenote 8, 11, 1, 1840
endchannel
SFX_Cry11_1_C... |
micro/assembler/mult_test.asm | andrewparlane/fiuba6633_lab_de_sistemas_digitales | 0 | 167764 | <filename>micro/assembler/mult_test.asm
# ----------------------------------------------------------------------
# Test_name: mult_test
# ----------------------------------------------------------------------
#
# RAM memory will be structured in the following manner:
#
# +---------+----------+
# | Address | Variable |
... |
programs/oeis/231/A231151.asm | neoneye/loda | 22 | 240477 | ; A231151: Least integer k such that n+1 + ... + n+k > 1 + ... + n.
; 2,2,2,3,3,4,4,4,5,5,6,6,7,7,7,8,8,9,9,9,10,10,11,11,11,12,12,13,13,14,14,14,15,15,16,16,16,17,17,18,18,19,19,19,20,20,21,21,21,22,22,23,23,23,24,24,25,25,26,26,26,27,27,28,28,28,29,29,30,30,31,31,31,32,32,33,33,33,34,34,35,35,36,36,36,37,37,38,38,38,... |
oeis/005/A005779.asm | neoneye/loda-programs | 11 | 160176 | ; A005779: a(n) = largest integer such that every tournament on n nodes contains a consistent set of n arcs.
; Submitted by <NAME>
; 1,2,4,6,9,12,20,24,30,35,44,50
add $0,2
mov $2,2
mov $5,1
lpb $0
mov $3,$0
lpb $3
sub $1,1
sub $3,2
add $1,$3
lpe
div $0,$2
mov $4,$0
mul $4,$5
add $1,$4
mul ... |
code/non1996/34.asm | KongoHuster/assembly-exercise | 1 | 3666 | <gh_stars>1-10
DATA SEGMENT
NUM DW 10
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE, DS:DATA
START:
MOV AX, DATA
MOV DS, AX
MOV AX, NUM
CALL SKIPLINES
MOV AH, 4CH
INT 21H
SKIPLINES PROC
PUSH AX
PUSH CX
PUSH DX
MOV CX, AX
MOV AH, 02H
OUT:
MOV DL, '-'
INT 21H
MOV DL, 0DH
INT 21H
MOV DL, 0AH
INT 21... |
ga_lib/src/ga_base_types.ads | rogermc2/GA_Ada | 3 | 13260 | <gh_stars>1-10
package GA_Base_Types is
type E1_T is private;
type E2_T is private;
type E3_T is private;
type NI_T is private;
type NI_Const is private;
type NO_T is private;
type NO_Const is private;
function "*" (I1, I2 : NI_T) return float;
function "*" (I : NI_T; O : NO_T) return floa... |
oeis/129/A129164.asm | neoneye/loda-programs | 11 | 10044 | <reponame>neoneye/loda-programs
; A129164: Sum of pyramid weights in all skew Dyck paths of semilength n.
; Submitted by <NAME>
; 1,5,22,97,436,1994,9241,43257,204052,968440,4619011,22120630,106300507,512321437,2475395302,11986728457,58156146652,282640193312,1375737276787,6705522150972,32724071280517,159878425878847,78... |
Task/Arbitrary-precision-integers--included-/Ada/arbitrary-precision-integers--included-.ada | LaudateCorpus1/RosettaCodeData | 1 | 30461 | <gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
with GNATCOLL.GMP; use GNATCOLL.GMP;
with GNATCOLL.GMP.Integers; use GNATCOLL.GMP.Integers;
procedure ArbitraryInt is
type stracc is access String;
BigInt : Big_Integer;
len : Natural;
str : stracc;
begin
Set (BigInt, 5);
Raise_To_N (BigInt, Unsigned_L... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/Result.asm | prismotizm/gigaleak | 0 | 15219 | <reponame>prismotizm/gigaleak
Name: Result.asm
Type: file
Size: 69870
Last-Modified: '1992-11-18T01:48:25Z'
SHA-1: 8C56CA9E028D7F07EAC4448E3D1F8FB5A15C7AE7
Description: null
|
alloy4fun_models/trashltl/models/15/M2Ri2zRS9s54gX5iZ.als | Kaixi26/org.alloytools.alloy | 0 | 847 | open main
pred idM2Ri2zRS9s54gX5iZ_prop16 {
always all p: Protected | historically p in Protected and always p in Protected
}
pred __repair { idM2Ri2zRS9s54gX5iZ_prop16 }
check __repair { idM2Ri2zRS9s54gX5iZ_prop16 <=> prop16o } |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_424_734.asm | ljhsiun2/medusa | 9 | 96786 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x77cd, %rbx
clflush (%rbx)
nop
add $3142, %r15
vmovups (%rbx), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $1, %xmm7, %rbp
nop
and %rbx, %rbx
lea addresse... |
test/Succeed/Issue3434.agda | shlevy/agda | 1,989 | 11102 | <filename>test/Succeed/Issue3434.agda
module _ where
data Unit : Set where
unit : Unit
data D₁ : Set where
c₁ : D₁
module M (_ : Set₁) where
data D₂ : Set where
c₂ : D₂
open M Set
f : D₁ → D₂
f c₁ = c₂
record R (A : Set) : Set where
field a : A
open R ⦃ … ⦄ public
instance
r₁ : R D₁
r₁ = recor... |
src/ada/src/utils/unit_conversion_utilities.ads | VVCAS-Sean/OpenUxAS | 88 | 15768 | -- linear/geographical conversions
generic
type Real is digits <>;
package Unit_Conversion_Utilities is
type Unit_Converter is tagged private;
procedure Initialize
(This : out Unit_Converter;
LatitudeInit_Rad : Real;
LongitudeInit_rad : Real);
-- FROM LAT/LONG TO NORTH/E... |
nesthing.asm | Garydos/nesthing-prototype | 0 | 165670 | ;;;;;;;;;;;;;;;
; ROM header info
;;;;;;;;;;;;;;;
.inesprg 1 ; 1x 16KB PRG code
.ineschr 1 ; 1x 8KB CHR data
.inesmap 0 ; mapper 0 = NROM, no bank swapping
.inesmir 1 ; background mirroring
;;;;;;;;;;;;;;;
; Variable declerations
;;;;;;;;;;;;;;;
.rsset $0000
famitonescratch .rs 3 ; save so... |
programs/oeis/277/A277792.asm | neoneye/loda | 22 | 84025 | ; A277792: Squares that are also pentagonal pyramidal numbers.
; 0,1,196,2601,15376,60025,181476,461041,1032256,2099601,3960100,7027801,11861136,19193161,29964676,45360225,66846976,96216481,135629316,187662601,255360400,342287001,452583076,591024721,763085376,975000625,1233835876,1547556921,1925103376,2376465001,291276... |
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_exp2.asm | ahjelm/z88dk | 640 | 88724 |
SECTION code_fp_am9511
PUBLIC cam32_sdcc_exp2
EXTERN cam32_sdcc_read1, _am9511_exp2
.cam32_sdcc_exp2
call cam32_sdcc_read1
jp _am9511_exp2
|
ide/se/c.als | joireman/config | 0 | 4252 | <filename>ide/se/c.als
=surround_with_const_cast const_cast<%\c>(%\m sur_text%)
=surround_with_include_once(macro "Symbol"
)
#ifndef %(macro)
#define %(macro)
%\m sur_text%
#endif // %(macro)
=surround_with_if if (%\c) {
%\m sur_text -indent%
... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1885.asm | ljhsiun2/medusa | 9 | 174189 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xe87a, %r9
nop
nop
nop
nop
nop
sub %rbx, %rbx
movb $0x61, (%r9)
nop
nop
nop
nop
nop
cmp %rbx, %rbx
lea addresses_normal_ht+0x17869, %rdi
nop
nop
nop
nop
and %r12, %r12
mov (%rd... |
oeis/054/A054995.asm | neoneye/loda-programs | 11 | 48 | <filename>oeis/054/A054995.asm
; A054995: A version of Josephus problem: a(n) is the surviving integer under the following elimination process. Arrange 1,2,3,...,n in a circle, increasing clockwise. Starting with i=1, delete the integer two places clockwise from i. Repeat, counting two places from the next undeleted in... |
DE-LAB-1/main.asm | tustunkok/CMPE236-Labs | 0 | 170696 | ORG 00H
SJMP MAIN
ORG 30H
MAIN: MOV P2,#0FFH
MOV DPTR,#STRD
MOV A,P2
MOVC A,@A+DPTR
ORG 200H
STRD: DB 0,1,4,9,16,25
END |
alloy4fun_models/trashltl/models/2/4ZRouggouMCwutp7q.als | Kaixi26/org.alloytools.alloy | 0 | 2886 | <gh_stars>0
open main
pred id4ZRouggouMCwutp7q_prop3 {
some File
}
pred __repair { id4ZRouggouMCwutp7q_prop3 }
check __repair { id4ZRouggouMCwutp7q_prop3 <=> prop3o } |
Commands/User Interaction suite/display/display dialog/hidden answer/test.applescript | looking-for-a-job/applescript-examples | 1 | 1973 | <reponame>looking-for-a-job/applescript-examples
#!/usr/bin/osascript
display dialog "err" with icon stop
|
programs/oeis/166/A166446.asm | karttu/loda | 0 | 99441 | <gh_stars>0
; A166446: Periodic (1,1,1,1,0,0,-1,-1,-1,-1,0,0).
; 1,1,1,1,0,0,-1,-1,-1,-1,0,0,1,1,1,1,0,0,-1,-1,-1,-1,0,0,1,1,1,1,0,0,-1,-1,-1,-1,0,0,1,1,1,1,0,0,-1,-1,-1,-1,0,0,1,1,1,1,0,0,-1,-1,-1,-1,0,0,1,1,1,1,0,0,-1,-1,-1,-1,0,0,1,1,1,1,0,0
mul $0,2
sub $0,5
mov $1,1
lpb $0,1
sub $0,4
add $2,$1
sub $1,$2
lpe... |
source/nodes/program-nodes-goto_statements.adb | reznikmm/gela | 0 | 4575 | <gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Goto_Statements is
function Create
(Goto_Token : not null Program.Lexical_Elements
.Lexical_Element_Access;
... |
oeis/233/A233833.asm | neoneye/loda-programs | 11 | 167049 | ; A233833: a(n) = 3*binomial(7*n+3, n)/(7*n+3).
; Submitted by <NAME>
; 1,3,24,253,3045,39627,543004,7718340,112752783,1682460520,25533901536,392912889915,6116090678334,96133810101609,1523687678528400,24324750346691480,390786855500604195,6313161418594235271,102494297789621214400,1671366110239940499000,27363391487081311... |
src/finiteSet.agda | shinji-kono/automaton-in-agda | 0 | 14763 | <reponame>shinji-kono/automaton-in-agda
{-# OPTIONS --allow-unsolved-metas #-}
module finiteSet where
open import Data.Nat hiding ( _≟_ )
open import Data.Fin renaming ( _<_ to _<<_ ) hiding (_≤_)
-- open import Data.Fin.Properties hiding ( ≤-refl )
open import Data.Empty
open import Relation.Nullary
open import Rel... |
src/test/ref/examples/mega65/32bit-addressing-mega65.asm | jbrandwood/kickc | 2 | 81977 | <gh_stars>1-10
// 32-bit addressing using the new addressing mode
// Absolute 32-bit address to use for storing/loading data
.cpu _45gs02
// MEGA65 platform PRG executable starting in MEGA65 mode.
.file [name="32bit-addressing-mega65.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Da... |
alloy4fun_models/trashltl/models/4/MRAe5B6FA3KGt9vrG.als | Kaixi26/org.alloytools.alloy | 0 | 3856 | open main
pred idMRAe5B6FA3KGt9vrG_prop5 {
eventually (#File' < #File)
}
pred __repair { idMRAe5B6FA3KGt9vrG_prop5 }
check __repair { idMRAe5B6FA3KGt9vrG_prop5 <=> prop5o } |
libsrc/_DEVELOPMENT/target/vgl/driver/terminal/vgl_01_output_2000/vgl_01_output_2000_iterm_msg_bell.asm | jpoikela/z88dk | 38 | 10847 |
INCLUDE "config_private.inc"
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC vgl_01_output_2000_iterm_msg_bell
EXTERN vgl_01_output_2000_oterm_msg_bell
defc vgl_01_output_2000_iterm_msg_bell = vgl_01_output_2000_oterm_msg_bell
|
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_28_826.asm | ljhsiun2/medusa | 9 | 103021 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_28_826.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x17041, %r9
add %r15, %r15
mov (%r9), %ebp
nop
nop
... |
src/ui/trades-ui.adb | thindil/steamsky | 80 | 2867 | <gh_stars>10-100
-- Copyright (c) 2020-2021 <NAME> <<EMAIL>>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-... |
src/main/antlr/org/trade/core/query/antlr/Query.g4 | traDE4chor/trade-query-language | 0 | 4497 | /*
* Copyright 2017 <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 wr... |
restar.asm | matialmar7/calculadoraASM | 0 | 81395 | <reponame>matialmar7/calculadoraASM
segment .text
global _restar
_restar:
enter 0,0 ; make room for sub on stack
mov eax, [ebp+8] ; eax = A
sub eax, [ebp+12] ; eax = eax - B
leave
ret |
sbsext/tk2/da.asm | olifink/smsqe | 0 | 246945 | <gh_stars>0
* Direct access file handling V0.9 1984/1985 <NAME> QJUMP
*
* GET #n [\pointer] {,variable} get value(s) from file
* BGET #n [\pointer] {,variable} get unsigned byte(s) from file
* WGET #n [\pointer] {,variable} get unsigned word(s) from file
* LGET #n [\pointer] {,variable} get signed long word... |
programs/oeis/044/A044836.asm | karttu/loda | 0 | 87063 | <filename>programs/oeis/044/A044836.asm
; A044836: Positive integers having more base-10 runs of even length than odd.
; 11,22,33,44,55,66,77,88,99,1100,1111,1122,1133,1144,1155,1166,1177,1188,1199,2200,2211,2222,2233,2244,2255,2266,2277,2288,2299,3300,3311,3322,3333,3344,3355,3366,3377,3388,3399,4400
mov $5,$0
add $5... |
cards/bn5/ItemCards/136-F013 Tensuke's Grandson's New Year Gift.asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 17102 | .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 0x42524250 // BRBP
card_type equ 0
card_id equ 33
card_no equ "033"
card_sub equ "Item Card 033"
card_sub_... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_762.asm | ljhsiun2/medusa | 9 | 169420 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x9f02, %rsi
lea addresses_D_ht+0x97e2, %rdi
nop
nop
nop
nop
nop
add %r15, %r15
mov $58, %rcx
rep movsl
nop
nop
nop
sub $6472, %r14
lea addresses_normal_ht+0x12282, %rbp
sub %rb... |
src/test_assertions.adb | kevinrosalesdev/MathArray-FormalVerification | 2 | 11996 | <filename>src/test_assertions.adb
with Ada.Text_IO; use Ada.Text_IO;
package body Test_Assertions is
Max : constant := 50;
Separators : constant String (1 .. 60) := (others => '.');
-----------------
-- Assert_True --
-----------------
procedure Assert_True (Value : Boolean) is
begin
... |
oeis/015/A015441.asm | neoneye/loda-programs | 11 | 169786 | <filename>oeis/015/A015441.asm
; A015441: Generalized Fibonacci numbers.
; Submitted by <NAME>
; 0,1,1,7,13,55,133,463,1261,4039,11605,35839,105469,320503,953317,2876335,8596237,25854247,77431669,232557151,697147165,2092490071,6275373061,18830313487,56482551853,169464432775,508359743893,1525146340543,4575304803901,1372... |
programs/oeis/340/A340528.asm | neoneye/loda | 22 | 20836 | ; A340528: Radio number of the path graph P_n.
; 0,1,3,5,10,13,20,25,34,41,52,61,74,85,100,113,130,145,164,181,202,221,244,265,290,313,340,365,394,421,452,481,514,545,580,613,650,685,724,761,802,841,884,925,970,1013,1060,1105,1154,1201,1252,1301,1354,1405,1460,1513
mov $2,$0
mul $2,$0
mov $1,$2
lpb $0
sub $0,1
mod... |
test/incbin.asm | bitwiseworks/nasm-os2 | 1 | 179154 | <filename>test/incbin.asm<gh_stars>1-10
db '*** ONCE ***', 0Ah
incbin "incbin.data",32
section more start=0x1000000
db '*** TWELVE ***', 0Ah
times 12 incbin "incbin.data",32
db '<END>', 0Ah
|
libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80p_dsub.asm | meesokim/z88dk | 0 | 22649 | <gh_stars>0
SECTION code_fp_math48
PUBLIC cm48_sccz80p_dsub
EXTERN am48_dsub
cm48_sccz80p_dsub:
; sccz80 float primitive
; Subtract two math48 floats.
;
; enter : AC'(BCDEHL') = double right_op
; stack = double left_op, ret
;
; exit : AC'(BCDEHL') = left_op - right_op
;
;... |
tutorials/day-course/courses_solutions.als | atdyer/alloytools.github.io | 9 | 2450 | <filename>tutorials/day-course/courses_solutions.als
/*
* A solution to courses model built in the Static Modeling lecture.
*/
abstract sig Course {
dept: Dept
}
sig Introductory extends Course {}
sig Advanced extends Course {
prereqs: some Course
}
sig Elective in Course {}
abstract sig Stud... |
src/MultiSorted/Model.agda | cilinder/formaltt | 21 | 13505 | open import Agda.Primitive using (_⊔_)
import Categories.Category as Category
import Categories.Category.Cartesian as Cartesian
import MultiSorted.Interpretation as Interpretation
open import MultiSorted.AlgebraicTheory
open import MultiSorted.Substitution
import MultiSorted.Product as Product
module MultiSorted.Mod... |
src/tom/library/sl/ada/allsstrategy.adb | rewriting/tom | 36 | 8234 | <reponame>rewriting/tom
with VisitablePackage, EnvironmentPackage, AbstractStrategyBasicPackage;
use VisitablePackage, EnvironmentPackage, AbstractStrategyBasicPackage;
with Ada.Text_IO; use Ada.Text_IO;
package body AllsStrategy is
----------------------------------------------------------------------------
-- Ob... |
Task/Bitwise-IO/Ada/bitwise-io-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 15171 | package body Bit_Streams is
procedure Finalize (Stream : in out Bit_Stream) is
begin
if Stream.Write_Count > 0 then
Stream.Output (1) := Stream.Output (1) * 2**(Stream_Element'Size - Stream.Write_Count);
Stream.Channel.Write (Stream.Output);
end if;
end Finalize;
procedure Read... |
source/engine-dos/game-commands.asm | baAlex/Sakurai | 0 | 99430 | ;
; MIT License
;
; Copyright (c) 2020 <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, pub... |
src/menus.ads | Kidev/DemoAdaPhysics2D | 5 | 22689 | <reponame>Kidev/DemoAdaPhysics2D<gh_stars>1-10
with HAL.Bitmap; use HAL.Bitmap;
with Ada.Containers.Doubly_Linked_Lists;
with BMP_Fonts; use BMP_Fonts;
with Ada.Strings.Bounded;
package Menus is
-- Actual package
-- Tick freeze when menu is displayed, to prevent mistouches
WaitTicks : constant Natural := 100;
... |
r5asm/test/module3.asm | walter-artica/r5asm | 0 | 86165 | <reponame>walter-artica/r5asm
.code
set R2, 0xFFFFFFC8
set R3, 0xFFFFFFC0
nop
clr R8
cycle:
ldw R4, R3, 0
inc R4, 500
wait:
ldw R5, R3, 0
cmp R5, R4
bb wait
inc R8
stw R8, R2, 0
bt cycle
|
libsrc/_DEVELOPMENT/font/fzx/fonts/dkud4/Font10/_ff_dkud4_Font10.asm | meesokim/z88dk | 0 | 4032 |
SECTION rodata_font_fzx
PUBLIC _ff_dkud4_Font10
_ff_dkud4_Font10:
BINARY "font/fzx/fonts/dkud4/Font10/font10.fzx"
|
arch/z80/src/z180/z180_head.asm | huahang/incubator-nuttx | 51 | 22876 | <reponame>huahang/incubator-nuttx
;**************************************************************************
; arch/z80/src/z180/z180_head.asm
;
; Copyright (C) 2012 <NAME>. All rights reserved.
; Author: <NAME> <<EMAIL>>
;
; Redistribution and use in source and binary forms, with or without
; modification, are pe... |
programs/oeis/063/A063144.asm | neoneye/loda | 22 | 104479 | <filename>programs/oeis/063/A063144.asm
; A063144: Dimension of the space of weight 2n cusp forms for Gamma_0( 76 ).
; 8,27,47,67,87,107,127,147,167,187,207,227,247,267,287,307,327,347,367,387,407,427,447,467,487,507,527,547,567,587,607,627,647,667,687,707,727,747,767,787,807,827,847,867,887,907,927,947,967
mul $0,20
... |
agda/FarmCanon.agda | halfaya/MusicTools | 28 | 1039 | <gh_stars>10-100
{-# OPTIONS --erased-cubical --safe #-}
module FarmCanon where
open import Data.List using (List; _∷_; [])
open import Data.Nat using (ℕ)
open import Data.Sign renaming (+ to s+ ; - to s-)
open import Data.Vec using (Vec; _∷_; []; map)
open import Canon using (mak... |
tests/parsing/Issue146_conditional_dup_crash.asm | fengjixuchui/sjasmplus | 220 | 101449 | <reponame>fengjixuchui/sjasmplus<gh_stars>100-1000
; this is currently (v1.18.2) invalid construction of nested DUP->EDUP inside different conditional blocks
; and will not work, but the sjasmplus does segfault hard on this instead of just reporting error
i1: ifndef SKIP_DUP
dup 3
daa
else
n... |
test/Succeed/Issue2978.agda | cruhland/agda | 1,989 | 16932 |
open import Agda.Builtin.Equality
postulate
A : Set
id : A → A
id x = x
mutual
?Y : A → A → A
?Y = _
?X : A → A → A
?X = _
-- This tries to solve ?X x x := ?Y x y, which fails but prunes
-- ?Y x y := ?Z x. Failing ?X := ?Y we then try the other direction
-- without realising that ?Y has been insta... |
bin/text.scpt | pmsteil/dotfiles | 0 | 4678 | <reponame>pmsteil/dotfiles<filename>bin/text.scpt
on run {targetBuddyPhone, targetMessage}
tell application "Messages"
set targetService to 1st service whose service type = iMessage
set targetBuddy to buddy targetBuddyPhone of targetService
send targetMessage to targetBuddy
end tell
end ... |
workshop/src/parentpackage-childpackage.adb | TNO/Rejuvenation-Ada | 0 | 11652 | <reponame>TNO/Rejuvenation-Ada
with Ada.Calendar;
pragma Unreferenced (Ada.Calendar);
package body ParentPackage.ChildPackage is
procedure ChildDummy is null;
end ParentPackage.ChildPackage;
|
alloy4fun_models/trashltl/models/3/HD72y2tn8ZH8jDPsN.als | Kaixi26/org.alloytools.alloy | 0 | 3908 | <gh_stars>0
open main
pred idHD72y2tn8ZH8jDPsN_prop4 {
some f: File | once f not in Protected implies eventually always f in Trash
}
pred __repair { idHD72y2tn8ZH8jDPsN_prop4 }
check __repair { idHD72y2tn8ZH8jDPsN_prop4 <=> prop4o } |
src/test/ref/library-constructor-3.asm | jbrandwood/kickc | 2 | 240218 | // Demonstrates Library Constructor Functionality
// Multiple #pragma constructor_for() constructors
// Commodore 64 PRG executable file
.file [name="library-constructor-3.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$... |
oeis/143/A143667.asm | neoneye/loda-programs | 11 | 28846 | <filename>oeis/143/A143667.asm<gh_stars>10-100
; A143667: Digits of the infinite Fibonacci word A003849 grouped 2 by 2 and interpreted as a binary value.
; 1,0,2,2,1,0,2,2,1,1,0,2,1,1,0,2,1,1,0,2,2,1,0,2,2,1,1,0,2,1,1,0,2,1,1,0,2,2,1,0,2,2,1,0,2,2,1,1,0,2,1,1,0,2,2,1,0,2,2,1,0,2,2,1,1,0,2,1,1,0,2,2,1,0,2,2,1,0,2,2,1,1,... |
List_1/exercise4.asm | dekoperez/SEL0433_microprocessorAplications | 0 | 245936 | <reponame>dekoperez/SEL0433_microprocessorAplications<filename>List_1/exercise4.asm
;*******************************************************************************
; @INSTITUTION
; University of Sao Paulo | Sao Carlos School of Engineering | SEL
;-----------------------------------------------------------------------... |
regtests/asf-applications-views-tests.adb | My-Colaborations/ada-asf | 12 | 812 | <reponame>My-Colaborations/ada-asf<filename>regtests/asf-applications-views-tests.adb
-----------------------------------------------------------------------
-- asf-applications-views-tests - Unit tests for ASF.Applications.Views
-- Copyright (C) 2009, 2010, 2011, 2012, 2014, 2015, 2018, 2019 <NAME>
-- Written by <N... |
oeis/142/A142423.asm | neoneye/loda-programs | 11 | 242606 | <reponame>neoneye/loda-programs
; A142423: Primes congruent to 11 mod 49.
; Submitted by <NAME>
; 11,109,599,991,1187,1481,1579,1873,2069,2657,3049,3343,3539,3637,3833,3931,4127,4421,4519,4813,5009,5107,5303,6577,6871,7459,7753,7949,8243,8537,8831,8929,9419,9811,10007,10301,10399,10889,10987,12163,12457,12653,13241,133... |
programs/oeis/327/A327310.asm | jmorken/loda | 1 | 94805 | <gh_stars>1-10
; A327310: a(n) = floor(3*n*r) - 3*floor(n*r), where r = sqrt(8).
; 0,2,1,1,0,0,2,2,1,1,0,0,2,2,1,1,0,0,2,2,1,1,0,0,2,2,1,1,0,0,2,2,1,1,0,2,2,1,1,0,0,2,2,1,1,0,0,2,2,1,1,0,0,2,2,1,1,0,0,2,2,1,1,0,0,2,2,1,0,0,2,2,1,1,0,0,2,2,1,1,0,0,2,2,1,1,0,0,2,2,1,1,0,0,2,2,1,1,0,0,2,2,1,0,0,2,2,1,1,0,0,2,2,1,1,0,0,2,2... |
alloy4fun_models/trashltl/models/7/qoPxFmAxCp4tWzdw2.als | Kaixi26/org.alloytools.alloy | 0 | 4647 | <gh_stars>0
open main
pred idqoPxFmAxCp4tWzdw2_prop8 {
eventually File.link in Trash
}
pred __repair { idqoPxFmAxCp4tWzdw2_prop8 }
check __repair { idqoPxFmAxCp4tWzdw2_prop8 <=> prop8o } |
src/GBA.Display.Objects.ads | 98devin/ada-gba-dev | 7 | 13729 | -- Copyright (c) 2021 <NAME>
-- zlib License -- see LICENSE for details.
with GBA.Memory;
use GBA.Memory;
with GBA.Numerics;
use GBA.Numerics;
with GBA.Display.Tiles;
use GBA.Display.Tiles;
with GBA.Display.Palettes;
use GBA.Display.Palettes;
package GBA.Display.Objects is
type OBJ_ID is range 0 .. 127;
... |
Task/Numerical-integration/Ada/numerical-integration-1.ada | mullikine/RosettaCodeData | 1 | 18500 | <gh_stars>1-10
generic
type Scalar is digits <>;
with function F (X : Scalar) return Scalar;
package Integrate is
function Left_Rectangular (A, B : Scalar; N : Positive) return Scalar;
function Right_Rectangular (A, B : Scalar; N : Positive) return Scalar;
function Midpoint_Rectangular (A, B : Sca... |
oeis/192/A192370.asm | neoneye/loda-programs | 11 | 84357 | <filename>oeis/192/A192370.asm
; A192370: Sum of all the n-digit numbers whose digits are all even and nonzero: 2,4,6,8.
; Submitted by <NAME>
; 20,880,35520,1422080,56888320,2275553280,91022213120,3640888852480,145635555409920,5825422221639680,233016888886558720,9320675555546234880,372827022222184939520,14913080888888... |
spec/copy-large-mem-forward.spec.asm | c64lib/common | 7 | 173489 | #import "64spec/lib/64spec.asm"
#import "../lib/invoke-global.asm"
sfspec: init_spec()
describe("copyLargeMemForward")
it("copies 7 bytes forward non overlapping"); {
c64lib_pushParamW(dataToBeMoved)
c64lib_pushParamW(targetLocation)
c64lib_pushParamW(7)
jsr copyLargeMemForward
assert_bytes... |
src/perception.adb | Kurinkitos/Twizy-Security | 1 | 27005 | --with Spark.Float_Arithmetic_Lemmas;
with Mathutil;
with Ada.Float_Text_IO; use Ada.Float_Text_IO;
with Ada.Text_IO;
package body perception with SPARK_Mode is
--use Spark.Float_Arithmetic_Lemmas;
function breakingDistance (s : in Speed) return Distance
is
Dist : Distance;
begin
pragma Assert(BreakConst... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_380.asm | ljhsiun2/medusa | 9 | 242912 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1eb6e, %rsi
lea addresses_WT_ht+0x16882, %rdi
nop
and %r10, %r10
mov $2, %rcx
rep movsl
nop
nop
nop
nop
cmp %r11, %r11
lea addresses_normal_ht+0x87ce, %rsi
lea addresses_UC_ht+0x5e6e, %... |
oeis/017/A017196.asm | neoneye/loda-programs | 11 | 164671 | ; A017196: a(n) = (9*n + 2)^12.
; 4096,3138428376721,4096000000000000,353814783205469041,9065737908494995456,116191483108948578241,951166013805414055936,5688009063105712890625,26963771415920784510976,106890007738661124410161,367666387654882241806336,1126825030131969720661201,3138428376721000000000000,806424171518627662... |
software/pcx86/bdsrc/cmd/var.asm | fatman2021/basicdos | 0 | 167486 | <gh_stars>0
;
; BASIC-DOS Memory Management Functions
;
; @author <NAME> <<EMAIL>>
; @copyright (c) 2020-2021 <NAME>
; @license MIT <https://basicdos.com/LICENSE.txt>
;
; This file is part of PCjs, a computer emulation software project at pcjs.org
;
include cmd.inc
CODE SEGMENT
EXTNEAR <memError>
... |
.emacs.d/elpa/wisi-3.0.1/wisitoken-parse-packrat.adb | caqg/linux-home | 0 | 7270 | <filename>.emacs.d/elpa/wisi-3.0.1/wisitoken-parse-packrat.adb
-- Abstract :
--
-- See spec.
--
-- Copyright (C) 2018 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Softwar... |
P3/bubble_sort.adb | MC-DeltaT/Programming-Languages | 0 | 7589 | with Ada.Text_IO;
with Ada.Integer_Text_IO;
procedure Bubble_Sort is
type Int_Array is array (Positive range <>) of Integer;
procedure Do_Bubble_Sort(A: in out Int_Array) is
Did_Swap: Boolean;
Tmp: Positive;
begin
loop
Did_Swap := false;
for I in Integer ran... |
src/pads.asm | munshkr/nes-snake | 0 | 169118 | <reponame>munshkr/nes-snake
;
; NES controller reading code
; Copyright 2009-2011 <NAME>
; Copyright 2021 munshkr
;
; Copying and distribution of this file, with or without
; modification, are permitted in any medium without royalty provided
; the copyright notice and this notice are preserved in all source
; code copi... |
MProkaron/Platform/CortexR/rmp_platform_crx_asm.asm | EDI-Systems/M5P1_MuProkaron | 139 | 174003 | <reponame>EDI-Systems/M5P1_MuProkaron
;/*****************************************************************************
;Filename : rmp_platform_crx_asm.s
;Author : pry
;Date : 10/04/2012
;Description : The assembly part of the RMP RTOS. This is for Cortex-R4/5/7/8.
;***************************************... |
examples/platformer/src/game_assets.ads | Fabien-Chouteau/GESTE | 13 | 19455 | with GESTE;
with GESTE.Maths_Types;
with GESTE_Config;
pragma Style_Checks (Off);
package Game_Assets is
Palette : aliased GESTE.Palette_Type := (
0 => 391,
1 => 59147,
2 => 22089,
3 => 58727,
4 => 52303,
5 => 4907,
6 => 41834,
7 => 39694,
8 => 16847,... |
programs/oeis/031/A031913.asm | neoneye/loda | 22 | 85288 | ; A031913: a(n) = prime(9*n - 6).
; 5,37,73,113,167,223,269,317,379,433,487,557,607,659,727,787,853,911,977,1033,1093,1163,1229,1291,1367,1439,1489,1559,1613,1693,1753,1831,1901,1987,2039,2111,2179,2267,2333,2383,2447,2543,2621,2687,2731,2801,2879,2957,3037,3119,3203,3271,3343,3413,3499,3557,3623,3697,3769,3851,3919,40... |
src/asf-contexts-faces.adb | Letractively/ada-asf | 0 | 14562 | -----------------------------------------------------------------------
-- asf-contexts.faces -- Faces Contexts
-- Copyright (C) 2009, 2010, 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the Li... |
test/Succeed/Issue1332.agda | cruhland/agda | 1,989 | 7969 | {-# OPTIONS --show-implicit #-}
-- {-# OPTIONS -v tc:10 #-}
-- {-# OPTIONS -v tc.with:40 #-}
-- Andreas, 2014-11-26
-- Reported by twanvl
data Unit : Set where
unit : Unit
module Mod₁ (t : Unit) where
postulate Thing : Set
module Mod₂ (u : Unit) where
open Mod₁ unit
record Foo : Set where
field
... |
test/Succeed/NewUnifierTooRestrictive.agda | KDr2/agda | 0 | 3333 | -- 2016-01-05, Jesper: In some cases, the new unifier is still too restrictive
-- when --cubical-compatible is enabled because it doesn't do generalization of datatype
-- indices. This should be fixed in the future.
-- 2016-06-23, Jesper: Now fixed.
{-# OPTIONS --cubical-compatible #-}
data _≡_ {a} {A : Set a} (x :... |
libsrc/_DEVELOPMENT/font/fzx/fonts/utz/KickDrop/_ff_utz_KickDrop.asm | meesokim/z88dk | 0 | 96780 | <reponame>meesokim/z88dk<gh_stars>0
SECTION rodata_font_fzx
PUBLIC _ff_utz_KickDrop
_ff_utz_KickDrop:
BINARY "font/fzx/fonts/utz/KickDrop/kickdrop.fzx"
|
oslab6/obj/user/badsegment.asm | jasha64/OperatingSystems-lab | 0 | 17302 |
obj/user/badsegment.debug: 文件格式 elf32-i386
Disassembly of section .text:
00800020 <_start>:
// starts us running when we are initially loaded into a new environment.
.text
.globl _start
_start:
// See if we were started with arguments on the stack
cmpl $USTACKTOP, %esp
800020: 81 fc 00 e0 bf ee cmp $... |
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_syn.ads | caqg/linux-home | 0 | 6095 | <reponame>caqg/linux-home
package ARM_Syntax is
--
-- Ada reference manual formatter (ARM_Form).
--
-- This package contains the database to collect the syntax summary and
-- cross-reference.
--
-- ---------------------------------------
-- Copyright 2000, 2006, 2011
-- ... |
Data/Either/Equiv/Id.agda | Lolirofle/stuff-in-agda | 6 | 11727 | <reponame>Lolirofle/stuff-in-agda<gh_stars>1-10
module Data.Either.Equiv.Id where
import Lvl
open import Data
open import Data.Either as Either
open import Data.Either.Equiv
open import Relator.Equals
open import Relator.Equals.Proofs.Equiv
open import Structure.Setoid
open import Structure.Function.Domain
open i... |
source/league/ucd/matreshka-internals-unicode-ucd-core_00ab.ads | svn2github/matreshka | 24 | 26939 | <filename>source/league/ucd/matreshka-internals-unicode-ucd-core_00ab.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
src/Categories/Category/Extensive.agda | sergey-goncharov/agda-categories | 0 | 16595 | <filename>src/Categories/Category/Extensive.agda
{-# OPTIONS --without-K --safe #-}
module Categories.Category.Extensive where
-- https://ncatlab.org/nlab/show/extensive+category
open import Level
open import Categories.Category.Core
open import Categories.Diagram.Pullback
open import Categories.Category.Cocartesia... |
Source/Levels/L1304.asm | AbePralle/FGB | 0 | 718 | ; L1304.asm
; Generated 05.08.2001 by mlevel
; Modified 05.08.2001 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level1304Gfx",ROMX
;---------------------------------------------------------------------
backinside_bg:
... |
programs/oeis/068/A068061.asm | neoneye/loda | 22 | 165868 | <gh_stars>10-100
; A068061: Palindromic numbers j that are not of the form k + reverse(k) for any k.
; 1,3,5,7,9,111,131,151,171,191,212,232,252,272,292,313,333,353,373,393,414,434,454,474,494,515,535,555,575,595,616,636,656,676,696,717,737,757,777,797,818,838,858,878,898,919,939,959,979,999,10101,10301,10501,10701,109... |
target/cos_117/disasm/iop_overlay1/D4ERR.asm | jrrk2/cray-sim | 49 | 14279 | <gh_stars>10-100
0x0000 (0x000000) 0x2119- f:00020 d: 281 | A = OR[281]
0x0001 (0x000002) 0x2901- f:00024 d: 257 | OR[257] = A
0x0002 (0x000004) 0x2118- f:00020 d: 280 | A = OR[280]
0x0003 (0x000006) 0x2900- f:00024 d: 256 | OR[256] = A ... |
oeis/199/A199110.asm | neoneye/loda-programs | 11 | 169569 | ; A199110: a(n) = 7*3^n+1.
; 8,22,64,190,568,1702,5104,15310,45928,137782,413344,1240030,3720088,11160262,33480784,100442350,301327048,903981142,2711943424,8135830270,24407490808,73222472422,219667417264,659002251790,1977006755368,5931020266102,17793060798304,53379182394910,160137547184728,480412641554182,1441237924662... |
lib/target/enterprise/classic/enterprise_crt0.asm | Toysoft/z88dk | 0 | 22734 | <reponame>Toysoft/z88dk
;
; Enterprise 64/128 C stub
;
; <NAME> - 2011
;
;
; $Id: enterprise_crt0.asm,v 1.24 2016-07-15 21:03:25 dom Exp $
;
; There are a couple of #pragma commands which affect
; this file:
;
; #pragma no-streams - No stdio disc files
; #pragma no-fileio - No fileio at all
; ... |
Ada/problem_7/problem_7.ads | PyllrNL/Project_Euler_Solutions | 0 | 6982 | with Test_Solution; use Test_Solution;
with Ada.Containers.Vectors;
package Problem_7 is
type Int64 is range -2**63 .. 2**63 - 1;
package P is new Ada.Containers.Vectors(Index_Type => Natural, Element_Type => Int64);
function Solution_1( Num : Integer ) return Int64;
procedure Test_Solution_1;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.