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 |
|---|---|---|---|---|
test/Fail/Issue3318-1.agda | cruhland/agda | 1,989 | 17284 | primitive
primLevelZero : _
|
oeis/142/A142308.asm | neoneye/loda-programs | 11 | 83931 | <filename>oeis/142/A142308.asm
; A142308: Primes congruent to 37 mod 44.
; Submitted by <NAME>
; 37,257,389,433,521,653,829,1049,1093,1181,1489,1621,1709,1753,1973,2017,2237,2281,2633,2677,2897,3469,3557,3733,3821,4129,4217,4261,4349,4481,4657,4789,4877,5009,5273,5449,5581,5669,5801,6197,6329,6373,6637,6857,7121,7253,7... |
boots.asm | Catobat/z3randomizer | 2 | 27388 | ;================================================================================
; Boots State Modifier
;--------------------------------------------------------------------------------
!BOOTS_MODIFIER = "$7F50CE"
ModifyBoots:
PHA
LDA !BOOTS_MODIFIER : CMP.b #$01 : BNE +
PLA : AND $7EF379 : ORA.b #$04 : RTL ; ye... |
asm/boot.asm | creepyCaller/F-operating-system | 0 | 104755 | org 7c00h
mov ax, cs
mov ds, ax
mov es, ax
call DispStr
jmp $
DispStr:
mov ax, BootMsg
mov bp, ax
mov cx, 15
mov ax, 1301h
mov bx, 000fh
mov dl, 0
int 10h
ret
BootMsg:
db "Hello, world !"
times 510 - ($ - $$) db 0
dw 0xaa55
|
test/interaction/Issue317.agda | shlevy/agda | 1,989 | 4472 | <gh_stars>1000+
module Issue317 (A : Set) where
postulate F : Set → Set
-- Try evaluating F A at the top-level:
--
-- 1,3-4
-- Not in scope:
-- A at 1,3-4
-- when scope checking A
--
-- OK, in that case the inferred type of F should be
-- (A : Set) → Set → Set, right? No, it isn't, it's Set → Set.
--
-- I think the... |
test/Succeed/Issue2429-subtyping.agda | hborum/agda | 3 | 4500 | <reponame>hborum/agda
-- Andreas, 2017-01-24, issue #2429
-- Respect subtyping also for irrelevant lambdas!
-- Subtyping: (.A → B) ≤ (A → B)
-- Where a function is expected, we can put one which does not use its argument.
id : ∀{A B : Set} → (.A → B) → A → B
id f = f
test : ∀{A B : Set} → (.A → B) → A → B
test f = λ... |
tp04.asm | wjacoud/Assembly_Repo | 0 | 243531 | ; <NAME> - CODIGO XXXX
; Aluno 1:
; Aluno 2:
; Aluno 3:
.8086
.model small
.stack 2048
dseg segment para public 'data'
lin byte 2 ; VARIAVEIS...
col byte 3
alt byte 7
larg byte 5
dseg ends
cseg segment para public 'code'
assume cs:cseg, ds:dseg
main proc
mov ax, dseg
mov ds, ax
mov ax, 0B... |
programs/oeis/045/A045930.asm | neoneye/loda | 22 | 15117 | <gh_stars>10-100
; A045930: The generalized Connell sequence C_{3,5}.
; 1,2,5,8,11,14,17,18,21,24,27,30,33,36,39,42,45,48,49,52,55,58,61,64,67,70,73,76,79,82,85,88,91,94,95,98,101,104,107,110,113,116,119,122,125,128,131,134,137,140,143,146,149,152,155,156,159,162,165,168,171,174,177,180
mov $1,$0
seq $1,122799 ; A P_7... |
programs/oeis/160/A160805.asm | karttu/loda | 1 | 164713 | <filename>programs/oeis/160/A160805.asm
; A160805: a(n) = (2*n^3 + 9*n^2 + n + 24) / 6.
; 4,6,13,27,50,84,131,193,272,370,489,631,798,992,1215,1469,1756,2078,2437,2835,3274,3756,4283,4857,5480,6154,6881,7663,8502,9400,10359,11381,12468,13622,14845,16139,17506,18948,20467,22065,23744,25506,27353,29287,31310,33424,35631,... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/renaming1.adb | best08618/asylo | 7 | 15711 | -- { dg-do compile}
-- { dg-options "-gnatwa" }
with Text_IO;
use Text_IO;
package body renaming1 is
procedure Fo (A : Text_IO.File_Access) is
begin
if A = Text_IO.Standard_Output then
null;
end if;
end Fo;
end;
|
awa/regtests/awa-events-services-tests.adb | Letractively/ada-awa | 0 | 17800 | -----------------------------------------------------------------------
-- events-tests -- Unit tests for AWA events
-- Copyright (C) 2012 <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 License.
... |
vdc_font_spacing.asm | wiebow/examples.128 | 3 | 100851 | <reponame>wiebow/examples.128
// kick assembler, c128 tests
#import "c128system.asm"
#import "c128macros.asm"
:BasicUpstart128(MAIN) // I like to use : to indicate a macro call.
MAIN:
:SetBankConfiguration(15) // set bank 15
:SetVDCUpdateAddress($0000)
ldy #0 // loop counter
lda #$01 // char code 0... |
lib/Phase1/testWrite.asm | prafgup/risc_v_assembler | 2 | 10592 | addi x2 x1 5
add x3 x2 x1
sub x3 x2 x1 |
base/hals/halacpi/i386/ixclock.asm | npocmaka/Windows-Server-2003 | 17 | 8228 | <filename>base/hals/halacpi/i386/ixclock.asm
title "Interval Clock Interrupt"
;++
;
; Copyright (c) 1989 Microsoft Corporation
;
; Module Name:
;
; ixclock.asm
;
; Abstract:
;
; This module implements the code necessary to field and process the
; interval clock interrupt.
;
; Author:
... |
Lambda.agda | nad/codata | 1 | 17161 | <gh_stars>1-10
------------------------------------------------------------------------
-- An investigation of various ways to define the semantics of an
-- untyped λ-calculus and a virtual machine, and a discussion of
-- type soundness and compiler correctness
--
-- <NAME>
---------------------------------------------... |
oeis/037/A037496.asm | neoneye/loda-programs | 11 | 80340 | <filename>oeis/037/A037496.asm
; A037496: Base-3 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,2.
; Submitted by <NAME>
; 1,3,11,34,102,308,925,2775,8327,24982,74946,224840,674521,2023563,6070691,18212074,54636222,163908668,491726005,1475178015,4425534047,13276602142,398298064... |
src/kernel/x86.asm | TheDarkBomber/apiofirm | 4 | 4705 | global x86Input
x86Input:
[bits 32]
mov dx, [esp + 4]
xor eax, eax
in al, dx
ret
global x86Output
x86Output:
[bits 32]
mov dx, [esp + 4]
mov al, [esp + 8]
out dx, al
ret
global x86ReadCR0
x86ReadCR0:
[bits 32]
mov eax, cr0
ret
global x86WriteCR0
x86WriteCR0:
[bits 32]
push ebp
mov ebp, esp
mov eax, ... |
programs/oeis/212/A212069.asm | karttu/loda | 0 | 7542 | <filename>programs/oeis/212/A212069.asm<gh_stars>0
; A212069: Number of (w,x,y,z) with all terms in {1,...,n} and 3*w = x+y+z.
; 0,1,2,9,22,41,72,115,170,243,334,443,576,733,914,1125,1366,1637,1944,2287,2666,3087,3550,4055,4608,5209,5858,6561,7318,8129,9000,9931,10922,11979,13102,14291,15552,16885,18290,19773,21334,229... |
oeis/029/A029549.asm | neoneye/loda-programs | 11 | 174802 | ; A029549: a(n + 3) = 35*a(n + 2) - 35*a(n + 1) + a(n), with a(0) = 0, a(1) = 6, a(2) = 210.
; 0,6,210,7140,242556,8239770,279909630,9508687656,323015470680,10973017315470,372759573255306,12662852473364940,430164224521152660,14612920781245825506,496409142337836914550,16863297918705209269200,572855720093639278238256,194... |
Time and Date/Tomorrows Date.applescript | rogues-gallery/applescript | 360 | 2374 | <filename>Time and Date/Tomorrows Date.applescript
set morrow to current date
set morrow to morrow + days
set the clipboard to (do shell script "echo " & morrow & " | sed s/,[^,]*$//")
|
tools/druss-commands-wifi.adb | stcarrez/bbox-ada-api | 2 | 5635 | -----------------------------------------------------------------------
-- druss-commands-wifi -- Wifi related commands
-- Copyright (C) 2017, 2018, 2019, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complian... |
test/examples/Project/wps.ads | fintatarta/protypo | 0 | 23409 | package WPs is
type WP_Type is null record;
end WPs;
|
alloy4fun_models/trainstlt/models/5/GfJ3oS684tFZid3nt.als | Kaixi26/org.alloytools.alloy | 0 | 4026 | open main
pred idGfJ3oS684tFZid3nt_prop6 {
always one s : Signal | (s in Green implies s' not in Green) or
(s not in Green implies s' in Green)
}
pred __repair { idGfJ3oS684tFZid3nt_prop6 }
check __repair { idGfJ3oS684tFZid3nt_prop6 <=> prop6o } |
source/adam-comment.ads | charlie5/aIDE | 3 | 1025 | <filename>source/adam-comment.ads<gh_stars>1-10
with
AdaM.Entity;
private
with
ada.Streams;
package AdaM.Comment
is
type Item is new Entity.item with private;
type View is access all Item'Class;
-- Forge
--
function new_Comment return Comment.view;
procedure free (Sel... |
src/ado-sessions-factory.adb | Letractively/ada-ado | 0 | 28102 | -----------------------------------------------------------------------
-- factory -- Session Factory
-- Copyright (C) 2009, 2010, 2011, 2012 <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 Licens... |
Projetos/F-Assembly/src/nasm/mod.nasm | arthurolga/Z01-Ingenheiros | 0 | 92857 | <gh_stars>0
; Arquivo: Mod.nasm
; Curso: Elementos de Sistemas
; Criado por: <NAME>
; Data: 27/03/2017
; Divide o número posicionado na RAM[1] pelo número posicionado no RAM[2] e armazena o resultado na RAM[0].
leaw $R1,%A
movw (%A),%D
WHILE:
leaw $R2,%A
subw %D,(%A),%S
movw %S,%D
leaw $WHILE,%A
jg %S
nop
IF:
leaw... |
oeis/127/A127359.asm | neoneye/loda-programs | 11 | 94309 | <filename>oeis/127/A127359.asm
; A127359: a(n) = Sum_{k=0..n} binomial(n, floor(k/2))*3^(n-k).
; Submitted by <NAME>
; 1,4,14,48,162,544,1820,6080,20290,67680,225684,752448,2508468,8362176,27875064,92919168,309734850,1032458080,3441543140,11471842880,38239537852,127465249344,424884399624,1416281802368,4720940242612,157... |
source/strings/a-strunb.ads | ytomino/drake | 33 | 9831 | <filename>source/strings/a-strunb.ads
pragma License (Unrestricted);
with Ada.Strings.Maps;
with Ada.Strings.Unbounded_Strings.Functions.Maps;
package Ada.Strings.Unbounded is
pragma Preelaborate;
-- type Unbounded_String is private;
-- pragma Preelaborable_Initialization (Unbounded_String);
subtype Unbounded_... |
programs/oeis/047/A047073.asm | karttu/loda | 1 | 23177 | <gh_stars>1-10
; A047073: Sum{T(i,n-i): i=0,1,...,n}, array T as in A047072.
; 1,2,4,4,8,12,24,40,80,140,280,504,1008,1848,3696,6864,13728,25740,51480,97240,194480,369512,739024,1410864,2821728,5408312,10816624,20801200,41602400,80233200,160466400,310235040,620470080,1202160780
sub $0,1
cal $0,63886 ; Number of n-step... |
bvs/BvsReadCellStr.asm | osfree-project/FamilyAPI | 0 | 23938 | <reponame>osfree-project/FamilyAPI
;/*!
; @file
;
; @brief BvsReadCellStr 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
;
; ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_126.asm | ljhsiun2/medusa | 9 | 102754 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_126.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x159aa, %rsi
lea addresses_normal_ht+0x93dc, %rdi
nop
nop
nop
cmp $14485, %rbp
mov $55, %rcx
rep m... |
Cubical/Categories/Structures.agda | bijan2005/univalent-foundations | 0 | 9102 | <reponame>bijan2005/univalent-foundations
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Categories.Structures where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.HLevels using (isSetΣ)
open import Cubical.Data.Sigma
open import... |
code/src/main.asm | sttng/merken-revision-2020 | 31 | 7450 | include "macros.asm"
include "registers.asm"
include "memory.asm"
include "common.asm"
include "assets/chars.inc"
dummy_vblank_address equ $C000
; =======================
; INTERRUPTS
; =======================
section "VBlank", ROM0[$0040]
reti
section "LCDS", ROM0[$0048]
reti
section "T... |
examples/generic_example_options.ads | AntonMeep/parse_args | 9 | 23594 | -- generic_example_options
-- An example of the use of parse_args with generic option types
-- Copyright (c) 2015, <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission noti... |
oeis/186/A186293.asm | neoneye/loda-programs | 11 | 7961 | ; A186293: (A007519(n)-1)/2.
; Submitted by <NAME>
; 8,20,36,44,48,56,68,96,116,120,128,140,156,168,176,200,204,216,224,228,260,284,288,296,300,308,320,336,380,384,404,428,440,464,468,476,488,504,516,524,548,564,576,596,600,608
mov $2,36
mul $2,$0
mov $4,16
lpb $2
mov $3,$4
seq $3,10051 ; Characteristic function o... |
list2/task1/src/primes.adb | luk9400/nsi | 0 | 17220 | package body Primes with SPARK_Mode is
function IsPrime (N : in Positive) return Boolean is
begin
for I in Positive range 2 .. N - 1 loop
if N rem I = 0 then
return False;
end if;
pragma Loop_Invariant (for all J in 2 .. I => N rem J /= 0);
end loop;
return True;
end IsPr... |
os/boot/print32.asm | rzakaan/os | 0 | 951 | <gh_stars>0
[bits 32]
VIDEO_MEMORY equ 0xb8000
WHITE_ON_BLACK equ 0x0f
;
; About
; prints the specified message to video memory
;
; Attributes
; edx - store video mem pointer index
;
; Args
; bx - (ptr) it is the base address for the string
;
print32:
pusha
mov edx, VIDEO_MEMORY
print32_loop:... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2586.asm | ljhsiun2/medusa | 9 | 9138 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x18a59, %r8
xor $56472, %r9
mov $0x6162636465666768, %r10
movq %r10, (%r8)
nop
nop
nop
cmp $43773, %r10
lea addresses_WC_ht+0x181f5, %rbx
nop
nop
nop
nop
nop
cmp %r14,... |
oeis/280/A280955.asm | neoneye/loda-programs | 11 | 165717 | ; A280955: Number of n X 2 0..2 arrays with no element equal to more than one of its horizontal, vertical and antidiagonal neighbors and with new values introduced in order 0 sequentially upwards.
; Submitted by <NAME>
; 2,9,42,205,997,4850,23593,114769,558298,2715861,13211405,64267362,312630929,1520804569,7398009354,3... |
Source/GameMegaSprite.asm | hhprg/C64Engine | 4 | 98872 | //
// Define MegaSprites here and add them to list of all MegaSprites.
//
{
.var sprites = List()
.eval sprites.add(Sprite( 0, 0,149), Sprite(24, 0,150), Sprite(48, 0,151))
.eval sprites.add(Sprite(48, 21,161), Sprite(72, 21,162))
.eval sprites.add(Sprite(72, 42,163), Sprite(96, 42,164))... |
Cubical/Algebra/Group/Morphism.agda | ayberkt/cubical | 0 | 14576 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Algebra.Group.Morphism where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Structure
open import Cubical.Algebra.Group.Base
open import Cubical.Data.Sigma
private
variable
ℓ ℓ' ℓ'' ℓ... |
src/main/antlr/adl/base_expressions.g4 | openEHR/adl-antlr | 1 | 491 | //
// description: Antlr4 grammar for openEHR Rules core syntax.
// author: <NAME> <<EMAIL>>
// contributors:<NAME> <<EMAIL>>
// support: openEHR Specifications PR tracker <https://openehr.atlassian.net/projects/SPECPR/issues>
// copyright: Copyright (c) 2016- openEHR Foundation <http://www.openEHR.org>... |
alloy4fun_models/trashltl/models/11/BeZtp5eLGcpk8P6Wj.als | Kaixi26/org.alloytools.alloy | 0 | 3151 | open main
pred idBeZtp5eLGcpk8P6Wj_prop12 {
always (some f: File | eventually f in Trash)
}
pred __repair { idBeZtp5eLGcpk8P6Wj_prop12 }
check __repair { idBeZtp5eLGcpk8P6Wj_prop12 <=> prop12o } |
programs/oeis/108/A108678.asm | neoneye/loda | 22 | 1829 | ; A108678: a(n) = (n+1)^2*(n+2)(2n+3)/6.
; 1,10,42,120,275,546,980,1632,2565,3850,5566,7800,10647,14210,18600,23936,30345,37962,46930,57400,69531,83490,99452,117600,138125,161226,187110,215992,248095,283650,322896,366080,413457,465290,521850,583416,650275,722722
add $0,2
mul $0,2
mov $2,$0
sub $0,2
bin $2,3
mul $0,$2
... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0.log_21829_126.asm | ljhsiun2/medusa | 9 | 247293 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1693b, %rsi
lea addresses_A_ht+0x14883, %rdi
clflush (%rsi)
clflush (%rdi)
and $23417, %rax
mov $72, %rcx
rep movsl
sub $30867, %r8
lea addresses_UC_ht+0x15ef... |
src/sparknacl-sign-utils.adb | yannickmoy/SPARKNaCl | 76 | 1362 | <reponame>yannickmoy/SPARKNaCl<gh_stars>10-100
package body SPARKNaCl.Sign.Utils
with SPARK_Mode => On
is
procedure Construct (X : in Bytes_64;
Y : out Signing_SK)
is
begin
Y.F := X;
end Construct;
end SPARKNaCl.Sign.Utils;
|
BashLexer.g4 | endvroy/antlr4_bash | 6 | 7543 | lexer grammar BashLexer;
VARNAME: [a-zA-Z_][a-zA-Z0-9_]*;
PUNCS: (~[a-zA-Z0-9= \t\n<>(){}'"|$&`;\\])+;
NUM: [0-9]+;
BLANK: [ \t]+;
EQ: '=';
VAR: '$' ( [$!@] | [a-zA-Z0-9_]+)?;
SQUOTE: '\'' -> pushMode(INSIDE_SQUOTE);
DQUOTE: '"' -> pushMode(INSIDE_DQUOTE);
LPAREN: '(' -> pushMode(DEFAULT_MODE);
DOLLAR_LPAREN: '$(' -> ... |
programs/oeis/120/A120164.asm | jmorken/loda | 1 | 90597 | ; A120164: a(1)=6; a(n)=floor((24+sum(a(1) to a(n-1)))/4).
; 6,7,9,11,14,17,22,27,34,42,53,66,83,103,129,161,202,252,315,394,492,615,769,961,1202,1502,1878,2347,2934,3667,4584,5730,7163,8953,11192,13990,17487,21859,27324,34155
mov $1,6
mov $2,$0
mov $0,4
mov $5,5
lpb $2
add $3,$0
trn $0,5
add $5,$1
mov $1,$3
... |
test/Compiler/simple/Issue3732.agda | xekoukou/agda-ocaml | 7 | 12915 | <reponame>xekoukou/agda-ocaml
open import Common.IO
open import Common.Unit
open import Common.String
-- Currently, it is not actually a test.
-- I need a wat to check that Erasure does not happen when it normally would.
{-# FOREIGN OCaml
type i =
| Bar of string;;
#-}
data I : Set where
bar : String → I
{... |
assignment_1/bind_shell_lean.nasm | CodeheadUK/SLAE64 | 2 | 7408 | <reponame>CodeheadUK/SLAE64
; An optimised verison on the bind_shell code
; Build with: nasm -felf64 bind_shell_lean.nasm -o tmp.o && ld tmp.o -o bind_shell_lean
global _start
section .text
_start:
mov rbp, rsp
; Build a server sockaddr_in struct on the stack
xor rax, rax
push rax
add ax, 0x5c11
shl rax, 16
ad... |
quake2/source/ref_soft/r_polysa.asm | WarlockD/quake2-stm32 | 3 | 94830 | <reponame>WarlockD/quake2-stm32
.386P
.model FLAT
;
; d_polysa.s
; x86 assembly-language polygon model drawing code
;
include qasm.inc
include d_if.inc
if id386
; !!! if this is changed, it must be changed in d_polyse.c too !!!
;DPS_MAXSPANS equ (MAXHEIGHT+1)
; 1 extra for spanpackage that marks end
;SPAN_SIZE... |
source/prop_links.ads | jquorning/CELLE | 0 | 2121 |
with Ada.Containers.Doubly_Linked_Lists;
limited with Configs;
package Prop_Links is
-- A followset propagation link indicates that the contents of one
-- configuration followset should be propagated to another whenever
-- the first changes.
type Config_Access is access all Configs.Config_Record;
... |
MultiplyingIntegerMul.asm | WilsenHernandez/MIPS-Tutorial | 0 | 163434 | .data
.text
addi $s0, $zero, 10
addi $s1, $zero, 4
mul $t0, $s0, $s1 # $t0 = 10 * 4
li $v0, 1
move $a0, $t0
syscall |
examples/ntc/main.adb | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 4259 | <filename>examples/ntc/main.adb
with MSP430_SVD; use MSP430_SVD;
with MSPGD.Board; use MSPGD.Board;
with MSPGD.Clock; use MSPGD.Clock;
with MSPGD.Clock.Source;
with MSPGD.GPIO; use MSPGD.GPIO;
with MSPGD.GPIO.Pin;
with Drivers.Text_IO;
with Drivers.NTC;
with Interfaces; use Interfaces;
procedure Main is
pragma Pre... |
examples/chained_signals/slots.ads | glencornell/ada-object-framework | 0 | 14611 | with Aof.Core.Signals;
with Derived_Objects;
package Slots is
procedure Xaa;
procedure Xab;
procedure Xac;
Chained_Signal : aliased Aof.Core.Signals.Empty.Signal;
Obj_1 : aliased Derived_Objects.Derived_Object;
Obj_2 : aliased Derived_Objects.Derived_Object;
end Slots;
|
programs/oeis/079/A079260.asm | jmorken/loda | 1 | 164203 | ; A079260: Characteristic function of primes of form 4n+1 (1 if n is prime of form 4n+1, 0 otherwise).
; 0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0... |
libsrc/newbrain/break_status.asm | dex4er/deb-z88dk | 1 | 88666 | <gh_stars>1-10
;
; Grundy Newbrain Specific libraries
;
; <NAME> - 30/03/2007
;
;
; Check if user pressed BREAK
; 1 if BREAK, otherwise 0
;
;
;
; $Id: break_status.asm,v 1.2 2007/06/03 15:13:06 stefano Exp $
;
XLIB break_status
.break_status
rst 20h
defb 36h
ld hl,1
ret c
dec hl
ret
|
ada/original_2008/ada-gui/agar-gui-widget-hbox.ads | auzkok/libagar | 286 | 19662 | with agar.gui.widget.box;
package agar.gui.widget.hbox is
use type agar.gui.widget.box.flags_t;
use type c.unsigned;
type hbox_t is record
box : aliased agar.gui.widget.box.box_t;
end record;
type hbox_access_t is access all hbox_t;
pragma convention (c, hbox_t);
pragma convention (c, hbox_access_t... |
ada/euler9.adb | procrastiraptor/euler | 1 | 19678 | <reponame>procrastiraptor/euler
with Ada.Integer_Text_IO;
procedure Euler9 is
function Pythagorean(A, B, C: Positive) return Boolean is
(A * A + B * B = C * C);
C: Positive;
begin
for A in Positive range 1 .. 998 loop
for B in Positive range A .. 1000 - A - 1 loop
C := 1000 - A - B;
... |
src-checkers/ada_toml_decode.adb | mosteo/ada-toml | 1 | 4701 | <filename>src-checkers/ada_toml_decode.adb
-- Test program. Read bytes on the standard input as a TOML document.
--
-- If it's a valid TOML document, parse it and emit on the standard output a
-- JSON representation of it.
--
-- If it's not a valid TOML document, print an error message on the standard
-- output.
... |
src/Spoodle.g4 | TheOneKevin/spoodle-ts | 0 | 6516 | <reponame>TheOneKevin/spoodle-ts
grammar Spoodle;
program: statement *;
// Very important main grammar
statement
: blockstatement
| ifstatement
| forstatement
| whilestatement
| dostatement
| returnstatement
| declarevar
| exprstatement
;
exprstatement : rvalue? ';' ;
blocksta... |
src/Web/Semantic/DL/Category/Composition.agda | agda/agda-web-semantic | 9 | 11327 | <reponame>agda/agda-web-semantic
open import Data.Product using ( ∃ ; _×_ ; _,_ ; proj₁ ; proj₂ )
open import Relation.Unary using ( _∈_ )
open import Web.Semantic.DL.ABox using ( ABox ; ⟨ABox⟩ ; _,_ )
open import Web.Semantic.DL.ABox.Interp using
( Interp ; _,_ ; ⌊_⌋ ; ind ; _*_ )
open import Web.Semantic.DL.ABox.I... |
programs/oeis/164/A164560.asm | neoneye/loda | 22 | 169762 | <filename>programs/oeis/164/A164560.asm
; A164560: Partial sums of A164532.
; 1,5,11,35,71,215,431,1295,2591,7775,15551,46655,93311,279935,559871,1679615,3359231,10077695,20155391,60466175,120932351,362797055,725594111,2176782335,4353564671,13060694015,26121388031,78364164095,156728328191,470184984575,940369969151,2821... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack15.ads | best08618/asylo | 7 | 25459 | <reponame>best08618/asylo
package Pack15 is
type Flags is array (1..2) of Boolean;
for Flags'Component_Size use 1;
type Messages is record
Status_Flags : Flags;
end record;
for Messages use record
Status_Flags at 0 range 1 .. 2;
end record;
O : Messages;
Buffer : Integer;
Status_Flags : F... |
source/amf/uml/amf-internals-tables-standard_profile_l3_metamodel-links.adb | svn2github/matreshka | 24 | 25854 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48_notsx.log_2_190.asm | ljhsiun2/medusa | 9 | 173136 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %rbp
push %rcx
push %rdx
push %rsi
lea addresses_D_ht+0x85a8, %rsi
nop
sub %rcx, %rcx
vmovups (%rsi), %ymm0
vextracti128 $0, %ymm0, %xmm0
vpextrq $1, %xmm0, %r8
nop
nop
xor $65476, %rbp
lea addresses_WT_ht+0x1d328, ... |
samples/sms/common/vdp_data_buffer.asm | 0x8BitDev/MAPeD-SPReD | 23 | 163313 | ;########################################################################
;
; VDP Data Buffer
;
; Copyright 2020 0x8BitDev ( MIT license )
;
;########################################################################
; Dynamic VDP data buffer to transfer graphics data during VBLANK
; Public routines:
;
; bu... |
programs/oeis/078/A078112.asm | karttu/loda | 1 | 174880 | <gh_stars>1-10
; A078112: Coefficients a(n) in the unique expansion sin(1) = Sum[a(n)/n!, n>=1], where a(n) satisfies 0<=a(n)<n.
; 0,1,2,0,0,5,6,0,0,9,10,0,0,13,14,0,0,17,18,0,0,21,22,0,0,25,26,0,0,29,30,0,0,33,34,0,0,37,38,0,0,41,42,0,0,45,46,0,0,49,50,0,0,53,54,0,0,57,58,0,0,61,62,0,0,65,66,0,0,69,70,0,0,73,74,0,0,77... |
Kernel/interruptions/interrupts.asm | gbaliarda/TP_ARQUI | 0 | 166325 |
GLOBAL _cli
GLOBAL _sti
GLOBAL picMasterMask
GLOBAL picSlaveMask
GLOBAL haltcpu
EXTERN ncPrintReg
GLOBAL dumpRegs
GLOBAL _hlt
GLOBAL _irq00Handler
GLOBAL _irq01Handler
GLOBAL _irq02Handler
GLOBAL _irq03Handler
GLOBAL _irq04Handler
GLOBAL _irq05Handler
GLOBAL _exception0Handler
GLOBAL _exception6Han... |
libsrc/_DEVELOPMENT/target/scz180/device/csio/sdcc/csio_sd_write_byte_fastcall.asm | Frodevan/z88dk | 640 | 246059 | <reponame>Frodevan/z88dk
SECTION code_driver
PUBLIC _sd_write_byte_fastcall
EXTERN asm_sd_write_byte
;Do a write bus cycle to the SD drive, via the CSIO
;
;input L = byte to write to SD drive
defc _sd_write_byte_fastcall = asm_sd_write_byte
|
UPC Microcontroladores 2019-2/Semana 6/shawarmalovers.X/chanchopollo.asm | tocache/picomones | 5 | 245979 | list p=18f4550
#include "p18f4550.inc"
#include "LCD_LIB.asm"
CONFIG PLLDIV = 1 ; PLL Prescaler Selection bits (No prescale (4 MHz oscillator input drives PLL directly))
CONFIG CPUDIV = OSC1_PLL2 ; System Clock Postscaler Selection bits ([Primary Oscillator Src: /1][96 MHz PLL S... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1017.asm | ljhsiun2/medusa | 9 | 176946 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x4530, %rcx
nop
nop
nop
nop
nop
xor $16962, %rdi
mov (%rcx), %r15d
nop
nop
nop
nop
cmp %r8, %r8
lea addresses_D_ht+0x1d684, %rsi
lea addresses_normal_... |
base/remoteboot/bootfloppy/src/bootware/pxe/udp.asm | npocmaka/Windows-Server-2003 | 17 | 102372 | ;--------------------------------------------------------------------
; UDPopen
;
;--------------------------------------------------------------------
Proc UDPopen
mov bx, BW_GETINFO ; Call BootWare to get info for us.
call [BWAPI]
mov eax, [dword ptr (AIINFOStruct es:di).LocalIP]
les di, [PxePtr] ; ... |
oeis/081/A081865.asm | neoneye/loda-programs | 11 | 162279 | <gh_stars>10-100
; A081865: a(n) = sigma_7(2n-1).
; 1,2188,78126,823544,4785157,19487172,62748518,170939688,410338674,893871740,1801914272,3404825448,6103593751,10465138360,17249876310,27512614112,42637932336,64340198544,94931877134,137293757384,194754273882,271818611108,373845175782,506623120464,678223896393,897821018... |
gfx/pokemon/feraligatr/anim.asm | Dev727/ancientplatinum | 28 | 160771 | frame 0, 04
frame 1, 10
frame 2, 16
frame 3, 36
frame 2, 12
endanim
|
programs/oeis/159/A159325.asm | jmorken/loda | 1 | 243718 | ; A159325: Median number of comparisons used by insertion sort on n (distinct) elements.
; 0,1,3,5,8,11,15,19,24,30,36,42,49,56,64,73,82,91,101,111,122,134,146,158,171,185
mov $2,$0
mul $0,2
mov $1,$0
lpb $0
mul $1,2
pow $1,2
mov $3,$0
mov $0,1
mul $3,2
lpe
add $1,$3
div $1,63
add $1,$2
|
programs/oeis/271/A271350.asm | karttu/loda | 0 | 83500 | <gh_stars>0
; A271350: a(n) = 3^n mod 83.
; 1,3,9,27,81,77,65,29,4,12,36,25,75,59,11,33,16,48,61,17,51,70,44,49,64,26,78,68,38,31,10,30,7,21,63,23,69,41,40,37,28,1,3,9,27,81,77,65,29,4,12,36,25,75,59,11,33,16,48,61,17,51,70,44,49,64,26,78,68,38,31,10,30,7,21,63,23,69,41,40,37,28,1,3,9,27,81,77,65,29,4,12,36,25,75,59,11... |
programs/oeis/174/A174316.asm | neoneye/loda | 22 | 244742 | <reponame>neoneye/loda
; A174316: Sequence defined by a(0)=a(1)=a(2)=1, a(3)=2, a(4)=6 and the formula a(n)=2^(n-2)+2 for n>=5.
; 1,1,1,2,6,10,18,34,66,130,258,514,1026,2050,4098,8194,16386,32770,65538,131074,262146,524290,1048578,2097154,4194306,8388610,16777218,33554434,67108866,134217730,268435458,536870914,10737418... |
agda-stdlib/src/Data/Vec/Functional/Relation/Unary/Any.agda | DreamLinuxer/popl21-artifact | 5 | 9459 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Existential lifting of predicates over Vectors
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Vec.Functional.Relation.Unary.Any where
op... |
eq-reasoning.agda | JimFixGroupResearch/imper-ial | 0 | 13184 | module eq-reasoning {A : Set} where
open import eq
infix 1 begin_
infixr 2 _≡⟨⟩_ _≡⟨_⟩_
infix 3 _∎
begin_ : ∀ {x y : A}
→ x ≡ y
-----
→ x ≡ y
begin x≡y = x≡y
_≡⟨⟩_ : ∀ (x : A) {y : A}
→ x ≡ y
-----
→ x ≡ y
x ≡⟨⟩ x≡y = x≡y
_≡⟨_⟩_ : ∀ (x : A) {y z : A}
→ x ≡ ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/forward_anon.ads | best08618/asylo | 7 | 21943 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/forward_anon.ads
package Forward_Anon is
type Object is null record;
function Get_Current return access Object;
Current_Object : constant access Object;
private
One_Object : aliased Object;
Current_Object : constant access Object := One_Obj... |
programs/oeis/055/A055944.asm | jmorken/loda | 1 | 14565 | ; A055944: n + reversal of base 2 digits of n (written in base 10).
; 0,2,3,6,5,10,9,14,9,18,15,24,15,24,21,30,17,34,27,44,25,42,35,52,27,44,37,54,35,52,45,62,33,66,51,84,45,78,63,96,45,78,63,96,57,90,75,108,51,84,69,102,63,96,81,114,63,96,81,114,75,108,93,126,65,130,99,164,85,150,119,184,81,146,115,180,101,166,135,200... |
programs/oeis/311/A311709.asm | jmorken/loda | 1 | 96917 | <filename>programs/oeis/311/A311709.asm
; A311709: Coordination sequence Gal.4.121.1 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,4,8,13,16,21,25,29,34,36,42,46,50,55,56,63,67,71,76,76,84,88,92,97,96,105,109,113,118,116,126,130,... |
test/Succeed/SolveNeutralApplication.agda | shlevy/agda | 1,989 | 14828 | <gh_stars>1000+
-- This example comes from the discussion on Issue423.
module SolveNeutralApplication where
postulate
A : Set
a b : A
T : A → Set
mkT : ∀ a → T a
phantom : A → A → A
data Bool : Set where
true false : Bool
f : Bool → A → A
f true x = phantom x a
f false x = phantom x b
-- Andreas, 2012-... |
src/boot/stage2.asm | 7E00h/septos | 1 | 81272 | BITS 16
ORG 0xA000
%include "src/boot/structures.asm"
stage2:
; Retrieve memory information from BIOS
call get_mem_info
; Locate KERNEL.ELF
mov si, ROOT_DIR
mov di, KERNEL_STR
call fat32_findfile
cmp edi, 0
je no_kernel
; Put starting cluster in EAX
; DI contains starting c... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_600_712.asm | ljhsiun2/medusa | 9 | 94556 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_UC+0x8adf, %r15
nop
nop
nop
nop
xor %r11, %r11
movw $0x5152, (%r15)
nop
nop
add $35596, %rsi
// REPMOV
lea add... |
gfx/pokemon/hypno/anim.asm | Dev727/ancientplatinum | 28 | 160363 | <reponame>Dev727/ancientplatinum
setrepeat 2
frame 1, 15
frame 2, 15
frame 3, 15
dorepeat 1
endanim
|
gdb-7.3/gdb/testsuite/gdb.ada/uninitialized_vars/parse_controlled.ads | vidkidz/crossbridge | 1 | 27734 | -- Copyright 2009, 2011 Free Software Foundation, Inc.
--
-- 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.
--
--... |
monitor01.asm | tschaer/as11.tcl | 2 | 160289 | <gh_stars>1-10
*; MONITOR
*; 06.08.2013 <NAME>
*; Based on KERNEL1E.ASM Nov 5 2004
*; Some useful I/O registers
SCSR EQU $102E
SCDR EQU $102F
SCCR2 EQU $102D
BAUD EQU $102B
DDRD EQU $1009
TMSK2 EQU $1024
TFLG2 EQU $1025
PACTL EQU $1026
B... |
src/floors.asm | jannone/westen | 49 | 87428 | ;-----------------------------------------------
; this function sets up the grass floor for the two rooms at the beginning of the game
setup_floor_grass:
call clear_floor
ld hl,floor_grass_zx0
ld de,floor_data_buffer
call dzx0_standard
; "grass" is made out of two stripes:
ld hl,room_x
ld de,buffer1024+1020
l... |
puzzle_17/src/puzzle_17.adb | AdaForge/Advent_of_Code_2020 | 0 | 3588 | <filename>puzzle_17/src/puzzle_17.adb
procedure Puzzle_17 is
begin
null;
end Puzzle_17;
|
figures/flax_grammar.g4 | flax-lang/reference-manual | 0 | 2175 | // flax-grammar.g4
// Copyright (c) 2019, zhiayang
// Licensed under the Apache License Version 2.0.
// parser rules
grammar flax_grammar;
expression
: (EXCLAMATION | PLUS | MINUS | TILDE | AMPERSAND | ASTERISK | ELLIPSIS) expression
| expression (AS | IS) (expression | MUTABLE | (EXCLAMATION MUTABLE))
| ex... |
data/mapObjects/pokemontower2.asm | adhi-thirumala/EvoYellow | 16 | 18425 | PokemonTower2Object:
db $1 ; border block
db $2 ; warps
db $9, $3, $0, POKEMONTOWER_3
db $9, $12, $2, POKEMONTOWER_1
db $0 ; signs
db $2 ; objects
object SPRITE_BLUE, $e, $5, STAY, NONE, $1 ; person
object SPRITE_MEDIUM, $3, $7, STAY, RIGHT, $2 ; person
; warp-to
EVENT_DISP POKEMONTOWER_2_WIDTH, $9, $3 ; ... |
BasicIS4/Metatheory/Hilbert-TarskiGluedHilbert.agda | mietek/hilbert-gentzen | 29 | 9726 | <gh_stars>10-100
module BasicIS4.Metatheory.Hilbert-TarskiGluedHilbert where
open import BasicIS4.Syntax.Hilbert public
open import BasicIS4.Semantics.TarskiGluedHilbert public
-- Internalisation of syntax as syntax representation in a particular model.
module _ {{_ : Model}} where
[_] : ∀ {A Γ} → Γ ⊢ A → Γ [⊢] A... |
src/Projects/eu_projects.ads | fintatarta/eugen | 0 | 29497 | <filename>src/Projects/eu_projects.ads
with Ada.Strings.Bounded;
with Ada.Strings.Fixed;
with Ada.Containers.Vectors;
with Ada.Characters.Handling; use Ada.Characters.Handling;
with Regexp_Readers.Generic_Readers;
--
-- This package hierarchy provides resources to operate with the description
-- of research p... |
oeis/157/A157840.asm | neoneye/loda-programs | 11 | 171335 | ; A157840: 103680000n^2 - 174211200n + 73180801.
; 2649601,139478401,483667201,1035216001,1794124801,2760393601,3934022401,5315011201,6903360001,8699068801,10702137601,12912566401,15330355201,17955504001,20788012801,23827881601,27075110401,30529699201,34191648001,38060956801,42137625601,46421654401,50913043201,55611792... |
agda-stdlib/src/Data/Fin/Permutation/Components.agda | DreamLinuxer/popl21-artifact | 5 | 11877 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Component functions of permutations found in `Data.Fin.Permutation`
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Fin.Permutation.Compon... |
ZORTON.reko/ZORTON_27FB.asm | 0xLiso/dePIXELator | 0 | 91842 | ;;; Segment 27FB (27FB:0000)
27FB:0000 24 1C 00 08 83 C4 04 C9 CB 00 $.........
;; fn27FB_000A: 27FB:000A
;; Called from:
;; 27FB:03CF (in fn27FB_039A)
fn27FB_000A proc
push bx
push cx
mov cl,4h
rol dx,cl
mov bx,dx
and dx,0Fh
and bx,0F0h
add ax,bx
jnc 001Dh
l27FB_001C:
inc dx
l... |
source/interfaces/i-c.ads | ytomino/drake | 33 | 9466 | <gh_stars>10-100
pragma License (Unrestricted);
package Interfaces.C is
pragma Pure;
-- Declarations based on C's <limits.h>
CHAR_BIT : constant := 8; -- typically 8
SCHAR_MIN : constant := -128; -- typically -128
SCHAR_MAX : constant := 127; -- typically 127
UCHAR_MAX : constant := 255; -- typical... |
build/gnat/rts/4.9/adainclude/interfac.ads | Lucretia/bare_bones | 70 | 5767 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.