max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
src/debugee.asm | 0ptik41/Firecracker | 3 | 177140 | <reponame>0ptik41/Firecracker
section .data
string1 db 0xa, " Hello Debugger! Just gonna sit here a while :D", 0xa, 0xa, 0
section .text
global _start
_start:
; calculate the length of string
mov rdi, string1 ; string1 to destination index
xor rcx, rcx ;... |
programs/oeis/171/A171512.asm | neoneye/loda | 22 | 82038 | <filename>programs/oeis/171/A171512.asm<gh_stars>10-100
; A171512: a(n) = numbers m such that are not the sum of k-th nonprime number and k for any k >= 1.
; 1,3,4,5,7,8,10,11,13,15,17,18,20,21,23,25,27,28,30,31,33,35,37,38,40,42,44,46,48,49,51,52,54,56,58,60,62,63,65,67,69,70,72,73,75,77,79,80,82,84
mov $1,$0
seq $1,... |
programs/oeis/021/A021934.asm | neoneye/loda | 22 | 15708 | <reponame>neoneye/loda<gh_stars>10-100
; A021934: Decimal expansion of 1/930.
; 0,0,1,0,7,5,2,6,8,8,1,7,2,0,4,3,0,1,0,7,5,2,6,8,8,1,7,2,0,4,3,0,1,0,7,5,2,6,8,8,1,7,2,0,4,3,0,1,0,7,5,2,6,8,8,1,7,2,0,4,3,0,1,0,7,5,2,6,8,8,1,7,2,0,4,3,0,1,0,7,5,2,6,8,8,1,7,2,0,4,3,0,1,0,7,5,2,6,8
add $0,1
mov $1,10
pow $1,$0
mul $1,4
div... |
alloy4fun_models/trashltl/models/5/ZmxoWrbQ7Jno8KfCc.als | Kaixi26/org.alloytools.alloy | 0 | 2239 | <gh_stars>0
open main
pred idZmxoWrbQ7Jno8KfCc_prop6 {
eventually File in Trash implies always File in Trash
}
pred __repair { idZmxoWrbQ7Jno8KfCc_prop6 }
check __repair { idZmxoWrbQ7Jno8KfCc_prop6 <=> prop6o } |
llvm-gcc-4.2-2.9/gcc/ada/osint.adb | vidkidz/crossbridge | 1 | 30670 | <reponame>vidkidz/crossbridge<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
data/github.com/Fabien-Chouteau/Wee-Noise-Maker/1dc881c541583fe058c3ac240c11e1ce8b36746a/software/src/wnm-audio_dac.adb | ajnavarro/language-dataset | 9 | 10991 | <gh_stars>1-10
-------------------------------------------------------------------------------
-- --
-- Wee Noise Maker --
-- ... |
Task/Collections/Ada/collections-5.ada | mullikine/RosettaCodeData | 1 | 27765 | with Ada.Containers.Vectors;
use Ada.Containers;
procedure Vector_Example is
package Vector_Pkg is new Vectors (Natural, Integer);
use Vector_Pkg;
V : Vector;
begin
V.Append (1);
V.Append (2);
V.Append (3);
end Vector_Example;
|
programs/oeis/326/A326128.asm | neoneye/loda | 22 | 172059 | ; A326128: a(n) = n - A007913(n), where A007913 gives the squarefree part of n.
; 0,0,0,3,0,0,0,6,8,0,0,9,0,0,0,15,0,16,0,15,0,0,0,18,24,0,24,21,0,0,0,30,0,0,0,35,0,0,0,30,0,0,0,33,40,0,0,45,48,48,0,39,0,48,0,42,0,0,0,45,0,0,56,63,0,0,0,51,0,0,0,70,0,0,72,57,0,0,0,75,80,0,0,63,0,0,0,66,0,80,0,69,0,0,0,90,0,96,88,99
mo... |
electrum/src/main/resources/models/book/chapter6/ringElection2.als | haslab/Electrum | 29 | 3210 | <gh_stars>10-100
module chapter6/ringElection2 --- the final version (as depicted in Fig 6.1)
open util/ordering[Time] as TO
open util/ordering[Process] as PO
sig Time {}
sig Process {
succ: Process,
toSend: Process -> Time,
elected: set Time
}
fact ring {
all p: Process | Process in p.^succ
}
pred init [t: ... |
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sccz80/SMS_loadTileMap.asm | jpoikela/z88dk | 640 | 87128 | <gh_stars>100-1000
; void SMS_loadTileMap(unsigned char x, unsigned char y, void *src, unsigned int size)
SECTION code_clib
SECTION code_SMSlib
PUBLIC SMS_loadTileMap
EXTERN asm_SMSlib_loadTileMap
SMS_loadTileMap:
pop af
pop bc
pop de
pop hl
pop ix
push hl
push hl
push de
push bc
... |
libsrc/_DEVELOPMENT/math/float/math48/z80/am48_dcmp_s.asm | teknoplop/z88dk | 8 | 162918 | <reponame>teknoplop/z88dk
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48_dcmp_s
EXTERN am48_dcmp
; compare double on stack to AC' (effective double - AC')
;
; enter : AC' = double y
; stack = double x, ret
;
; exit : AC' = double y
; AC = double x
;
; z f... |
test/Compiler/simple/NoRecordConstructor.agda | shlevy/agda | 1,989 | 11999 |
open import Common.Nat
open import Common.IO
open import Common.Unit
record Test : Set where
field
a b c : Nat
f : Test -> Nat
f r = a + b + c
where open Test r
open Test
g : Nat
g = (f (record {a = 100; b = 120; c = 140})) + a m + b m + c m
where m = record {c = 400; a = 200; b = 300}
main : IO Unit
ma... |
libsrc/_DEVELOPMENT/alloc/malloc/c/sccz80/aligned_alloc_unlocked.asm | jpoikela/z88dk | 640 | 160492 |
; void *aligned_alloc_unlocked(size_t alignment, size_t size)
SECTION code_clib
SECTION code_alloc_malloc
PUBLIC aligned_alloc_unlocked
EXTERN asm_aligned_alloc_unlocked
aligned_alloc_unlocked:
pop af
pop hl
pop bc
push bc
push hl
push af
jp asm_aligned_alloc_unlocked
|
sources/driver/load_library.adb | reznikmm/jupyter | 4 | 24899 | <gh_stars>1-10
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with Interfaces.C.Strings;
with System;
procedure Load_Library
(Name : League.Strings.Universal_String;
Error : out League.Strings.Universal_Strin... |
memsim-master/src/benchmark_runner.adb | strenkml/EE368 | 0 | 1499 | <filename>memsim-master/src/benchmark_runner.adb
with Ada.Text_IO; use Ada.Text_IO;
package body Benchmark_Runner is
procedure Register_Benchmark(runner : in out Runner_Type;
benchmark : in Benchmark_Pointer) is
begin
runner.benchmarks.Append(benchmark);
end Register... |
src/messages/message_lexer.g4 | iamgreaser/lykos | 122 | 5913 | <filename>src/messages/message_lexer.g4
lexer grammar message_lexer;
options { language = Python3; }
TEXT : (
~[[\]{}] { self.append_text() }
| '{{' { self.append_text("{") }
| '}}' { self.append_text("}") }
| '[[' { self.append_text("[") }
| ']]' { self.append_text("]") }
)+ ;
OPEN_TAG : '[' -... |
Cubical/WithK.agda | thomas-lamiaux/cubical | 1 | 14705 | <reponame>thomas-lamiaux/cubical
{- Cubical Agda with K
This file demonstrates the incompatibility of the --cubical
and --with-K flags, relying on the well-known incosistency of K with
univalence.
The --safe flag can be used to prevent accidentally mixing such
incompatible flags.
-}
{-# OPTIONS --with-K #-}
module... |
test/fail/FixityOutOfScopeInRecord.agda | asr/agda-kanso | 1 | 6873 | module FixityOutOfScopeInRecord where
record R : Set where
infixl 30 _+_
|
src/usb-logging-device.adb | JeremyGrosser/usb_embedded | 14 | 23623 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2021, AdaCore --
-- --
-- ... |
oeis/249/A249992.asm | neoneye/loda-programs | 11 | 105173 | ; A249992: Expansion of 1/((1+x)*(1+2*x)*(1-3*x)).
; 1,0,7,6,49,84,379,882,3157,8448,27391,78078,242425,710892,2165443,6430794,19423453,58008216,174548935,522598230,1569891841,4705481220,14124832267,42357719586,127106713189,381253030704,1143893309839,3431411494062,10294771353097,30883240317468,92651868436051,2779513103... |
tests/rom/hello_world.asm | mihyaeru21/nes | 0 | 94476 | ;----------------------------------------------------------------------------
; NES Sample1 "HELLO, WORLD!"
; Copyright (C) 2007, Tekepen
;----------------------------------------------------------------------------
.setcpu "6502"
.autoimport on
; iNESヘッダ
.segment "HEADER"
.byte $4E, $45, $53, $1A ; "NES" Hea... |
src/Web/Semantic/DL/Concept.agda | agda/agda-web-semantic | 9 | 16149 | open import Web.Semantic.DL.Role using ( Role )
open import Web.Semantic.DL.Signature using ( Signature ; CN ; RN )
module Web.Semantic.DL.Concept where
infixr 9 ∀[_]_
infixr 8 ∃⟨_⟩_
infixl 7 _⊓_
infixl 6 _⊔_
data Concept (Σ : Signature) : Set where
⟨_⟩ : (c : CN Σ) → Concept Σ
¬⟨_⟩ : (c : CN Σ) → Concept Σ
⊤... |
src/fx-stretch-grid.asm | kieranhj/funky-fresh | 0 | 973 | <filename>src/fx-stretch-grid.asm
\ -*- mode:beebasm -*-
\ ******************************************************************
\ * VERTICAL STRETCH ON TOP OF FREQUENCY GRID FX
\ ******************************************************************
\\ TODO: Describe the FX and requirements.
\\ Describe the track values use... |
MSDOS/Virus.MSDOS.Unknown.mole.asm | fengjixuchui/Family | 3 | 166385 | <gh_stars>1-10
;The Mole by Murkry\ikx
;A small win32 virus that uses memmap to expand the code section of a
;.exe then place its code there. Does not work on some Win98 files since
;MS in its infinite wisdom has made file aligment 1000h instead of 200h
;of course this makes this type of virus redunant since you do not... |
programs/oeis/033/A033399.asm | karttu/loda | 1 | 101470 | ; A033399: [ 79/n ].
; 79,39,26,19,15,13,11,9,8,7,7,6,6,5,5,4,4,4,4,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0
add $0,1
mov $1,79
div $1,$0
|
1-base/lace/source/events/interface/lace-subject.ads | charlie5/lace | 20 | 7129 | <reponame>charlie5/lace<gh_stars>10-100
with
lace.Event,
lace.Observer;
limited
with
lace.Event.Logger;
package lace.Subject
--
-- Provides an interface for an event Subject.
--
is
pragma remote_Types;
type Item is limited interface;
type View is access all Item'Class;
type Views is arr... |
programs/oeis/171/A171626.asm | neoneye/loda | 22 | 1433 | <filename>programs/oeis/171/A171626.asm
; A171626: Ceiling(n-th noncomposite/n).
; 1,1,1,2,2,2,2,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
add $0,1
mov $3,$0
trn $0,2
seq $0,6005 ; The odd prime numbers together with 1.
sub $0,2
mov $2,$3
div $2,$3
add $0,$2
div $0,$3
add $0... |
agent/main.asm | ElvisBlue/Tiny-Downloader | 1 | 240617 | ;Elvis proundly to present
;The Tiny downloader
;Shellcode malware
.386
.model flat, stdcall
option casemap:none
include kernel32.inc
include user32.inc
include windows.inc
include define.inc
includelib kernel32.lib
includelib user32.lib
API_Array struct
;Kernel32 part
;NUM_OF_KERNEL32_... |
programs/oeis/256/A256716.asm | karttu/loda | 0 | 246740 | ; A256716: a(n) = n*(n+1)*(22*n-19)/6.
; 0,1,25,94,230,455,791,1260,1884,2685,3685,4906,6370,8099,10115,12440,15096,18105,21489,25270,29470,34111,39215,44804,50900,57525,64701,72450,80794,89755,99355,109616,120560,132209,144585,157710,171606,186295,201799,218140,235340,253421,272405,292314,313170,334995,357811,381640,4... |
bb-runtimes/src/s-bbpara__x86_64.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 30834 | <reponame>JCGobbi/Nucleo-STM32G474RE<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
Production Scripts/Free Geek Setup/Source/Free Geek Setup.applescript | freegeek-pdx/macOS-Testing-and-Deployment-Scripts | 0 | 4040 | <filename>Production Scripts/Free Geek Setup/Source/Free Geek Setup.applescript
-- By: <NAME>
-- For: MacLand @ Free Geek
--
-- MIT License
--
-- Copyright (c) 2021 Free Geek
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Soft... |
libsrc/_DEVELOPMENT/arch/zx/bifrost_h/c/sdcc/BIFROSTH_fillTileAttrH_callee.asm | teknoplop/z88dk | 0 | 241769 | ; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_h.h" for further details
; ----------------------------------------------------------------
; void void BIFROSTH_fillTileAttrH(unsigned int lin,unsigned int col,unsigned... |
llvm-gcc-4.2-2.9/gcc/ada/elists.ads | vidkidz/crossbridge | 1 | 28589 | <reponame>vidkidz/crossbridge<filename>llvm-gcc-4.2-2.9/gcc/ada/elists.ads<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS ... |
programs/oeis/001/A001576.asm | karttu/loda | 1 | 97295 | ; A001576: a(n) = 1^n + 2^n + 4^n.
; 3,7,21,73,273,1057,4161,16513,65793,262657,1049601,4196353,16781313,67117057,268451841,1073774593,4295032833,17180000257,68719738881,274878431233,1099512676353,4398048608257,17592190238721,70368752566273,281474993487873,1125899940397057,4503599694479361
mov $2,2
pow $2,$0
mov $0,$2... |
oeis/176/A176454.asm | neoneye/loda-programs | 11 | 7462 | ; A176454: Decimal expansion of (12+2*sqrt(42))/3.
; Submitted by <NAME>
; 8,3,2,0,4,9,3,7,9,8,9,3,8,5,7,3,4,8,7,3,1,0,6,4,4,9,5,7,3,9,1,9,9,7,7,7,1,8,0,3,4,6,9,5,3,8,0,3,8,8,9,7,6,9,9,8,0,7,5,6,9,5,9,8,5,3,9,7,4,4,9,1,8,5,6,2,6,9,6,2,4,7,6,0,0,2,4,0,6,0,4,4,0,3,7,4,0,1,5,7
mov $2,1
mov $3,$0
mul $3,4
lpb $3
add $5,... |
hufbit.asm | dylancarlson/citplus | 1 | 717 | ; --------------------------------------------------------------------- ;
; hufbit.asm Acit 92Jun13 ;
; bit by bit string manipulations for huffman encoding ;
; --------------------------------------------------------------------- ;
ideal
model large, c
theChar = 0
right = 2
left = 6
ENCBUFSIZE = 8... |
.emacs.d/elpa/wisi-3.1.3/sal-gen_unbounded_definite_vectors-gen_image_aux.adb | caqg/linux-home | 0 | 11012 | <gh_stars>0
-- Abstract :
--
-- See spec.
--
-- Copyright (C) 2018 - 2019 <NAME> All Rights Reserved.
--
-- 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
-- Software Foundation; either version 3, or (... |
Library/Game/Content/contentManager.asm | steakknife/pcgeos | 504 | 84710 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: contentManager.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- ---... |
test/Fail/Issue4205.agda | cruhland/agda | 1,989 | 12878 | -- Andreas, 2019-12-03, issue #4205, reported by Smaug123,
-- first shrinking by <NAME>
record R : Set₂ where
field
f : Set₁
postulate
r : R
open R r
test : R
R.f test with Set₃
f test | _ = Set
-- WAS: internal error in getOriginalProjection
-- EXPECTED:
-- With clause pattern f is not an instance of it... |
examples/outdated-and-incorrect/cat/Iso.agda | asr/agda-kanso | 1 | 14339 | <reponame>asr/agda-kanso
open import Category
module Iso (ℂ : Cat) where
private open module C = Cat (η-Cat ℂ)
data _≅_ (A B : Obj) : Set where
iso : (i : A ─→ B)(j : B ─→ A) ->
i ∘ j == id -> j ∘ i == id ->
A ≅ B
|
example/send_byte.adb | 0xA1/pi-spi | 0 | 202 | with ada.text_io; use ada.text_io;
with spi; use spi;
with stdint_h; use stdint_h;
with Interfaces.C.Strings; use Interfaces.C.Strings;
with ada.command_line; use ada.command_line;
with ada.exceptions; use ada.exceptions;
procedure Send_Byte is
device : aliased SPI_D... |
examples/ivt.asm | michalmalik/pvm | 2 | 17619 | <reponame>michalmalik/pvm
#define IVT_ADDRESS 0x500
#define IVT_SYSCALL 0x80
.ivt_size DAT 0
; IN
; +1 Interrupt handler
; +2 Offset
; OUT
; None
:register_irq
STO Z,SP
STO Y,[Z+1] ; interrupt handler
STO C,[Z+2] ; interrupt offset
STO [IVT_ADDRESS+C],Y ; save the interrupt handler
ADD [ivt_size],1
STO S... |
tools/trusted-build/edu.umn.cs.crisys.tb/src/edu/umn/cs/crisys/tb/parse/antlr/SendsTo.g4 | drwhomphd/formal-methods-workbench | 27 | 178 | grammar SendsTo;
@header {
package edu.umn.cs.crisys.tb.parse.antlr;
}
program: '{' '}' EOF
| '{' sends_to_tl (',' sends_to_tl)* '}' EOF;
sends_to_tl: '{' '}'
| '{' INT ID (',' INT ID)* '}' ;
REAL: INT '.' INT;
BOOL: 'true' | 'false';
INT: [0-9]+;
ID: [a-zA-Z_][a-zA-Z_0-9]*;
WS: [ \t\n\r\f]+ -> ... |
projects/batfish-common-protocol/src/test/antlr4/org/batfish/grammar/recovery/RecoveryParser.g4 | zabrewer/batfish | 763 | 1140 | parser grammar RecoveryParser;
options {
superClass = 'org.batfish.grammar.BatfishParser';
tokenVocab = RecoveryLexer;
}
block_statement
:
BLOCK tail_word* NEWLINE inner_statement*
;
inner_statement
:
INNER tail_word* NEWLINE
;
statement
:
block_statement
| simple_statement
;
recovery
:
statem... |
old/Homotopy/Connected.agda | timjb/HoTT-Agda | 294 | 3048 | {-# OPTIONS --without-K #-}
open import Base
open import Homotopy.Truncation
module Homotopy.Connected {i} where
is-connected : ℕ₋₂ → Set i → Set i
is-connected n A = is-contr (τ n A)
is-connected-is-prop : (n : ℕ₋₂) {A : Set i} → is-prop (is-connected n A)
is-connected-is-prop n = is-contr-is-prop
has-connected-f... |
usertests.asm | jhsie007/xv6 | 0 | 173718 | <reponame>jhsie007/xv6
_usertests: file format elf32-i386
Disassembly of section .text:
00001000 <opentest>:
// simple file system tests
void
opentest(void)
{
1000: 55 push %ebp
1001: 89 e5 mov %esp,%ebp
1003: 83 ec 28 sub $0x28,%esp
int fd... |
oeis/021/A021726.asm | neoneye/loda-programs | 11 | 95352 | <filename>oeis/021/A021726.asm<gh_stars>10-100
; A021726: Decimal expansion of 1/722.
; Submitted by Jon Maiga
; 0,0,1,3,8,5,0,4,1,5,5,1,2,4,6,5,3,7,3,9,6,1,2,1,8,8,3,6,5,6,5,0,9,6,9,5,2,9,0,8,5,8,7,2,5,7,6,1,7,7,2,8,5,3,1,8,5,5,9,5,5,6,7,8,6,7,0,3,6,0,1,1,0,8,0,3,3,2,4,0,9,9,7,2,2,9,9,1,6,8,9,7,5,0,6,9,2,5,2
seq $0,1... |
programs/oeis/190/A190540.asm | neoneye/loda | 22 | 243140 | <filename>programs/oeis/190/A190540.asm
; A190540: 7^n - 2^n.
; 0,5,45,335,2385,16775,117585,823415,5764545,40353095,282474225,1977324695,13841283105,96889002215,678223056465,4747561477175,33232930504065,232630513856135,1628413597648305,11398895184848855,79792266296563425,558545864081186855,3909821048578793745,27368747... |
src/ada/src/bytebauble.ads | MayaPosch/ByteBauble | 6 | 23604 | --
-- bytebauble.ads - Specification for the ByteBauble package.
--
-- 2021/03/05, <NAME>
--
with Interfaces;
package ByteBauble is
type BBEndianness is (BB_BE, BB_LE);
subtype uint16 is Interfaces.Unsigned_16;
subtype uint32 is Interfaces.Unsigned_32;
subtype uint64 is Interfaces.Unsigned_64;
--subtype uin... |
src/jsa-intermediate_backups.ads | sparre/JSA | 1 | 29551 | generic
Fraction : Float;
-- How large a fraction of the execution time should be allocated
-- to creating backups.
with procedure Save_State;
-- Should save the relevant state.
package JSA.Intermediate_Backups is
procedure Begin_Loop
with Pre => not In_Loop;
-- To be called before enteri... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/thin_pointer2_pkg.ads | best08618/asylo | 7 | 22029 | <reponame>best08618/asylo
package Thin_Pointer2_Pkg is
type SA is access String;
for SA'Size use Standard'Address_Size;
S : SA;
function F return Character;
end Thin_Pointer2_Pkg;
|
programs/oeis/194/A194073.asm | neoneye/loda | 22 | 6841 | <reponame>neoneye/loda
; A194073: a(n) = 1 + floor((3/4)*n^2).
; 1,4,7,13,19,28,37,49,61,76,91,109,127,148,169,193,217,244,271,301,331,364,397,433,469,508,547,589,631,676,721,769,817,868,919,973,1027,1084,1141,1201,1261,1324,1387,1453,1519,1588,1657,1729,1801
add $0,1
pow $0,2
div $0,4
mul $0,3
add $0,1
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect9.ads | best08618/asylo | 7 | 27355 | <reponame>best08618/asylo
with Vect9_Pkg; use Vect9_Pkg;
package Vect9 is
type Rec is record
Data : Vector_Access;
end record;
procedure Proc
(This : in Rec;
CV : in Unit_Vector;
Data : in out Unit_Vector);
end Vect9;
|
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-dirope.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 24922 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Internal.agda | elpinal/exsub-ccc | 3 | 11447 | open import Categories.Category
open import Categories.Category.CartesianClosed
{-
The internal language of a given cartesian closed category.
-}
module Internal {o ℓ e} (𝒞 : Category o ℓ e)
(cartesianClosed : CartesianClosed 𝒞) where
open import Relation.Binary using (Rel)
open import Data.Product using (Σ-syn... |
audio/music/cherrygrovecity.asm | Dev727/ancientplatinum | 28 | 85128 | <reponame>Dev727/ancientplatinum
Music_CherrygroveCity:
musicheader 4, 1, Music_CherrygroveCity_Ch1
musicheader 1, 2, Music_CherrygroveCity_Ch2
musicheader 1, 3, Music_CherrygroveCity_Ch3
musicheader 1, 4, Music_CherrygroveCity_Ch4
Music_CherrygroveCity_Ch1:
tempo 152
volume $77
dutycycle $3
tone $0001
vibrat... |
applescripts/radiant.scpt | bryantebeek/dotfiles | 0 | 3677 | if application "Radiant Player" is running then
tell application "Radiant Player"
set theName to current song name
set theArtist to current song artist
set theState to player state
try
if theState equals 2 then
return "♫ " & theName & " - " & theArtist & " "
end if
on error er... |
Task/Function-definition/Ada/function-definition-4.ada | LaudateCorpus1/RosettaCodeData | 1 | 15983 | generic
type Number is digits <>;
function Multiply (A, B : Number) return Number;
|
sh.asm | younger15/xv6-public | 0 | 179059 | <reponame>younger15/xv6-public<filename>sh.asm
_sh: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return 0;
}
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx... |
oeis/001/A001449.asm | neoneye/loda-programs | 11 | 169011 | ; A001449: Binomial coefficients binomial(5n,n).
; 1,5,45,455,4845,53130,593775,6724520,76904685,886163135,10272278170,119653565850,1399358844975,16421073515280,193253756909160,2280012686716080,26958221130508525,319357027877093325,3789648142708598775,45038039715653129145,535983370403809682970,6386415635496918121100,761... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_21829_1351.asm | ljhsiun2/medusa | 9 | 161349 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x12f22, %rsi
lea addresses_A_ht+0x17e7, %rdi
clflush (%rdi)
nop
nop
inc %r11
mov $40, %rcx
rep movsw
sub %r11, %r11
lea addresses_WC_ht+0x1dde7, %rsi
lea addresses_WC_ht+0x19cab, %... |
openal-error.adb | io7m/coreland-openal-ada | 1 | 17386 | <reponame>io7m/coreland-openal-ada<filename>openal-error.adb
with OpenAL.Thin;
package body OpenAL.Error is
function Get_Error return Error_t is
begin
return Map_Constant_To_Error (Thin.Get_Error);
end Get_Error;
function Map_Constant_To_Error (Error : in Types.Enumeration_t) return Error_t is
Value ... |
src/asf-components-html-factory.adb | Letractively/ada-asf | 0 | 21602 | -----------------------------------------------------------------------
-- html-factory -- Factory for HTML UI Components
-- Copyright (C) 2009, 2010, 2011, 2012, 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in ... |
Borland/CBuilder5/Source/RTL/source/pcre/_pcomp.asm | TrevorDArcyEvans/DivingMagpieSoftware | 1 | 18967 | <filename>Borland/CBuilder5/Source/RTL/source/pcre/_pcomp.asm
;----------------------------------------------------------------------
; _pcomp.asm - jump stubs for the for the PCRE functions
;----------------------------------------------------------------------
; $Copyright: 1998$
; $Revision: 9.0 $
include rule... |
library/text parsing/trimWhitespace.applescript | NYHTC/applescript-fm-helper | 1 | 1743 | -- trimWhitespace(inputString)
-- <NAME>, NYHTC
-- Takes some string and returns the string with whitespace trimmed from beginning and end.
(*
HISTORY:
1.2 - 2017-08-31 ( dshockley ): added to repository.
1.1 - 2014-??-?? ( dshockley ): changed to correctly handle when the whole input string is whitespace.
1.0 -... |
csie/08asm/toy/part2.asm | dk00/old-stuff | 0 | 168535 | <filename>csie/08asm/toy/part2.asm
cnt0 lda rb,0 ;rb=0
lda r1,1 ;r1=1
bz r0,c4 ;goto c4
c3 ldi r2,ra ; r2=mem[ra]
add ra,ra,r1 ; ra++
sub rc,rc,r1 ; rc--
lda r3,1 ; r3=0x8000
c0 and r4,r3,r2 ; r4=r2&r3
shl r3,r3,r1 ; r3<<=1
bz r4,c1 ; if(!r4)
bz r0,c2 ;
c1 add rb,rb,r1 ; rb++
c2 bz r3,c4... |
src/SecondOrder/RelativeMonadMorphism.agda | cilinder/formaltt | 21 | 8448 | <reponame>cilinder/formaltt<filename>src/SecondOrder/RelativeMonadMorphism.agda
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import Relation.Binary.PropositionalEquality using (_≡_; refl; setoid; cong; trans)
import Function.Equality
open import Relation.Binary using (Setoid)
open import Categories.... |
programs/oeis/173/A173234.asm | neoneye/loda | 22 | 87601 | <filename>programs/oeis/173/A173234.asm
; A173234: Expansion of x*(1+3*x^2-2*x^3+2*x^4-x^5)/((1+x)*(x-1)^2*(x^2+1)^2).
; 0,1,1,3,1,2,3,5,2,3,5,7,3,4,7,9,4,5,9,11,5,6,11,13,6,7,13,15,7,8,15,17,8,9,17,19,9,10,19,21,10,11,21,23,11,12,23,25,12,13,25,27,13,14,27,29,14,15,29,31,15,16,31,33,16,17,33,35,17,18,35,37,18,19,37,39... |
libsrc/_DEVELOPMENT/math/float/math32/c/sccz80/cm32_sccz80_fssqr_callee.asm | rjcorrig/z88dk | 0 | 166864 | <reponame>rjcorrig/z88dk
; float __fssqr_callee (float number)
SECTION code_clib
SECTION code_math
PUBLIC cm32_sccz80_fssqr_callee
EXTERN m32_fssqr_fastcall
; square (^2) sccz80 floats
;
; enter : stack = ret
; DEHL = sccz80_float number
;
; exit : DEHL = sccz80_float(number^2)
... |
test/Fail/Issue623A.agda | cruhland/agda | 1,989 | 11568 | open import Issue623.A
|
test/Fail/Issue2331.agda | shlevy/agda | 2 | 14267 | -- Andreas, 2017-07-26, issue #2331.
-- Andrea found a counterexample against the "usable decrease" feature:
open import Agda.Builtin.Size
data D (i : Size) : Set where
c : (j : Size< i) → D i
mutual
test : (i : Size) → D i → Set
test i (c j) = (k : Size< j) (l : Size< k) → helper i j k (c l)
helper : (i :... |
oeis/157/A157230.asm | neoneye/loda-programs | 11 | 85353 | ; A157230: Number of primitive inequivalent sublattices of square lattice having mirrors parallel to the diagonals of the unit cell of the parent lattice of index n.
; Submitted by <NAME>(s4)
; 0,0,1,1,1,1,1,2,1,1,1,2,1,1,2,2,1,1,1,2,2,1,1,4,1,1,1,2,1,2,1,2,2,1,2,2,1,1,2,4,1,2,1,2,2,1,1,4,1,1,2,2,1,1,2,4,2,1,1,4,1,1,2,... |
programs/oeis/023/A023553.asm | jmorken/loda | 1 | 171487 | ; A023553: Convolution of natural numbers >= 3 and Lucas numbers.
; 3,13,29,58,106,186,317,531,879,1444,2360,3844,6247,10137,16433,26622,43110,69790,112961,182815,295843,478728,774644,1253448,2028171,3281701,5309957,8591746
mov $5,$0
mov $6,$0
add $6,1
lpb $6
mov $0,$5
sub $6,1
sub $0,$6
mov $3,2
mov $4,1
... |
vp9/common/arm/neon/vp9_iht16x16_add_neon_asm.asm | ittiamvpx/libvpx | 14 | 165601 | <reponame>ittiamvpx/libvpx<filename>vp9/common/arm/neon/vp9_iht16x16_add_neon_asm.asm
;
; Copyright (c) 2013 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellect... |
programs/oeis/053/A053044.asm | jmorken/loda | 1 | 8521 | <reponame>jmorken/loda
; A053044: a(n) is the number of iterations of the Euler totient function to reach 1, starting at n!.
; 0,1,2,4,6,8,10,13,15,18,21,24,27,30,33,37,41,44,47,51,54,58,62,66,70,74,77,81,85,89,93,98,102,107,111,115,119,123,127,132,137,141,145,150,154,159,164,169,173,178,183,188,193,197,202,207,211,216... |
PRG/levels/Under/BigQ6.asm | narfman0/smb3_pp1 | 0 | 5023 | <reponame>narfman0/smb3_pp1
; Original address was $B470
; World 6's Big [?] block area
.word $0000 ; Alternate level layout
.word $0000 ; Alternate object layout
.byte LEVEL1_SIZE_08 | LEVEL1_YSTART_170
.byte LEVEL2_BGPAL_04 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_03 | LEVEL3_VSCROLL_FREE
.byt... |
programs/oeis/270/A270869.asm | karttu/loda | 0 | 10077 | <reponame>karttu/loda<gh_stars>0
; A270869: a(n) = n^5 + 4*n^4 + 13*n^3 + 23*n^2 + 25*n + 3.
; 3,69,345,1203,3351,7953,16749,32175,57483,96861,155553,239979,357855,518313,732021,1011303,1370259,1824885,2393193,3095331,3953703,4993089,6240765,7726623,9483291,11546253,13953969,16747995,19973103,23677401,27912453,32733399... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_7359_357.asm | ljhsiun2/medusa | 9 | 82883 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x18cb6, %rdi
nop
cmp %rcx, %rcx
mov $0x6162636465666768, %r10
movq %r10, %xmm6
vmovups %ymm6, (%rdi)
add %r8, %r8
lea addresses_WC_ht+0x150dd, %rsi
lea addresses... |
tests/typing/bad/testfile-bool-1.adb | xuedong/mini-ada | 0 | 25123 | <filename>tests/typing/bad/testfile-bool-1.adb
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is begin if false and 'a' then new_line; end if; end;
|
src/Partiality-algebra/Fixpoints.agda | nad/partiality-monad | 2 | 2231 | <filename>src/Partiality-algebra/Fixpoints.agda
------------------------------------------------------------------------
-- Fixpoint combinators
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --safe #-}
open import Partiality-algebra as PA hiding (id; _∘_)
modul... |
programs/oeis/212/A212985.asm | karttu/loda | 0 | 10128 | ; A212985: Number of (w,x,y) with all terms in {0,...,n} and 3w=3x+y.
; 1,2,3,7,9,11,18,21,24,34,38,42,55,60,65,81,87,93,112,119,126,148,156,164,189,198,207,235,245,255,286,297,308,342,354,366,403,416,429,469,483,497,540,555,570,616,632,648,697,714,731,783,801,819,874
mov $2,$0
sub $0,1
mov $1,$2
lpb $0,1
sub $0,3
... |
source/numerics/a-nucoar.ads | ytomino/drake | 33 | 16803 | <filename>source/numerics/a-nucoar.ads
pragma License (Unrestricted);
with Ada.Numerics.Complex_Types;
with Ada.Numerics.Generic_Complex_Arrays;
with Ada.Numerics.Real_Arrays;
package Ada.Numerics.Complex_Arrays is
new Generic_Complex_Arrays (Real_Arrays, Complex_Types);
pragma Pure (Ada.Numerics.Complex_Arrays);
|
frisbee.asm | jhsie007/xv6 | 0 | 161578 | <gh_stars>0
_frisbee: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
void pass_next(void *arg);
int lookup();
int main(int argc, char *argv[]){
1000: 8d 4c 24 04 lea 0x4(%esp),%ecx
1004: 83 e4 f0 and $0xfffffff0,%esp
1007: ff 71 fc ... |
test/Succeed/HeterogeneousRewriting.agda | alhassy/agda | 3 | 10423 | <gh_stars>1-10
{-# OPTIONS --rewriting #-}
open import Agda.Primitive
postulate
_↦_ : ∀{i j}{A : Set i}{B : Set j} → A → B → Set (i ⊔ j)
{-# BUILTIN REWRITE _↦_ #-} -- currently fails a sanity check
postulate
resize : ∀{i j} → Set i → Set j
resize-id : ∀{i} {j} {A : Set i} → resize {i} {j} A ↦ A
{-# REWRITE... |
programs/oeis/115/A115384.asm | neoneye/loda | 22 | 99506 | <filename>programs/oeis/115/A115384.asm
; A115384: Partial sums of Thue-Morse numbers A010060.
; 0,1,2,2,3,3,3,4,5,5,5,6,6,7,8,8,9,9,9,10,10,11,12,12,12,13,14,14,15,15,15,16,17,17,17,18,18,19,20,20,20,21,22,22,23,23,23,24,24,25,26,26,27,27,27,28,29,29,29,30,30,31,32,32,33,33,33,34,34,35,36,36,36,37,38,38,39,39,39,40,40... |
src/el-contexts-tls.ads | My-Colaborations/ada-el | 0 | 574 | <filename>src/el-contexts-tls.ads
-----------------------------------------------------------------------
-- EL.Contexts.TLS -- EL context and Thread Local Support
-- Copyright (C) 2015 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... |
libsrc/stdio/_vfscanf.asm | dikdom/z88dk | 1 | 2353 | <reponame>dikdom/z88dk
MODULE _vfscanf
SECTION code_clib
PUBLIC _vfscanf
EXTERN asm_scanf
; sdcc version
;void vfscanf(FILE *fp, char *fmt,va_list ap)
_vfscanf:
ld hl,7
add hl,sp
ld b,(hl) ;fp
dec hl
ld c,(hl)
dec hl
ld d,(hl) ;fmt... |
Task/Ordered-words/Ada/ordered-words.ada | LaudateCorpus1/RosettaCodeData | 1 | 24698 | with Ada.Text_IO, Ada.Containers.Indefinite_Vectors;
use Ada.Text_IO;
procedure Ordered_Words is
package Word_Vectors is new Ada.Containers.Indefinite_Vectors
(Index_Type => Positive, Element_Type => String);
use Word_Vectors;
File : File_Type;
Ordered_Words : Vector;
Max_Length : Positive := 1;
b... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1165.asm | ljhsiun2/medusa | 9 | 84507 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xbfe9, %rsi
lea addresses_A_ht+0x9559, %rdi
nop
add %rax, %rax
mov $26, %rcx
rep movsb
nop
sub $14074, %r12
lea addresses_normal_ht+0xaee9, %rdx
clflush (%rdx)
nop
nop
no... |
src/main/antlr4/UriHeaders.g4 | hemantsonu20/sip-parser-antlr | 1 | 6887 | grammar UriHeaders;
@header {
/**
* 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
*
*... |
YXML.g4 | Dacit/yxml-parser | 0 | 48 | grammar YXML;
file: markup yxml EOF;
yxml: (markup | text)*;
markup: X Y text kv* X yxml X Y X;
text: (TS | EQ)+;
kv: Y TS EQ text?;
TS: ~('\u0005' | '\u0006' | '=')+;
EQ: '=';
X: '\u0005';
Y: '\u0006'; |
apps/telnet/io.asm | vipoo/msxrc2014 | 1 | 247028 | ; ___________________________________________________________
;/ __ _ \
;| / _| (_) |
;| | |_ _ _ ___ _ ___ _ __ |
;| | _| | | / __| |/ _ \| '_ \ |
;| ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95072b.ada | best08618/asylo | 7 | 29774 | <reponame>best08618/asylo
-- C95072B.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contai... |
Ada95/src/terminal_interface-curses-text_io-aux.adb | ProtonAOSP-platina/android_external_libncurses | 269 | 22724 | <reponame>ProtonAOSP-platina/android_external_libncurses
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding --
-- ... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_asa/Asa_static.g4 | pranavbj-amzn/batfish | 0 | 5358 | <gh_stars>0
parser grammar Asa_static;
import Asa_common;
options {
tokenVocab = AsaLexer;
}
s_route
:
ROUTE
iface = variable
destination = IP_ADDRESS mask = IP_ADDRESS
gateway = IP_ADDRESS
(distance = protocol_distance)?
(
TUNNELED
| TRACK track = dec
)?
NEWLINE
; |
programs/oeis/070/A070425.asm | karttu/loda | 0 | 2998 | ; A070425: a(n) = 7^n mod 43.
; 1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7... |
programs/oeis/168/A168380.asm | jmorken/loda | 1 | 105168 | ; A168380: Row sums of A168281.
; 2,4,12,20,38,56,88,120,170,220,292,364,462,560,688,816,978,1140,1340,1540,1782,2024,2312,2600,2938,3276,3668,4060,4510,4960,5472,5984,6562,7140,7788,8436,9158,9880,10680,11480,12362,13244,14212,15180,16238,17296,18448,19600,20850,22100,23452,24804,26262,27720,29288,30856,32538,34220,36... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2233.asm | ljhsiun2/medusa | 9 | 28438 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2233.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x943, %rdx
nop
nop
nop
cmp $46591, %r8
mov (%rdx), %rbx
nop
nop
nop
nop
nop
add $24905, ... |
Visitors/MusicinatorLexer.g4 | obiwit/musicinator | 0 | 2397 | lexer grammar MusicinatorLexer;
//LEXER RULES
CHORD: NOTE ('|' NOTE)+ DURATION?;
SOUND: (NOTE | 'R' ) DURATION?;
fragment NOTE: LETTER ('#'|'b')* OCTAVE?;
fragment LETTER:[A-G];
INT: DIGIT+ ;
DURATION: ('{' DOUBLE '}') | ('\'')+;
DOUBLE: (INT ('.' INT*)?) | ('.' INT);
fragment DIGIT: [0-9];
fragment OCTAVE... |
4 term/Programming-Design-and-Programming-Languages-Assembly/lab_2/Lab_2.asm | Vanya112/BSUIR_Labs | 24 | 179472 | <reponame>Vanya112/BSUIR_Labs<filename>4 term/Programming-Design-and-Programming-Languages-Assembly/lab_2/Lab_2.asm
name "Reverse"
.model tiny
.code
org 100h
output macro output_string, offset_space
mov dx, offset output_string
add dx, offset_space
mov ah, 09h
int 21h
endm
start: ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.