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/TermModel.agda | andreasabel/ipl | 19 | 9906 | -- A term model à la Beth
open import Library hiding (_∈_)
module TermModel (Base : Set) where
import Formulas ; open module Form = Formulas Base
import Derivations; open module Der = Derivations Base
-- Beth model
data Cover (Δ : Cxt) : Set where
idc : Cover Δ
bot : (t : Δ ⊢ False) → Cover Δ
node : ... |
source/nodes/program-nodes-discriminant_specifications.ads | reznikmm/gela | 0 | 25117 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Defining_Identifiers;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.Discriminant_Specifications;
with Progr... |
bb-runtimes/arm/sam/samg55/board_config.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 19560 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
index.agda | splintah/combinatory-logic | 1 | 667 | <filename>index.agda
module index where
-- A formalisation of Haskell B. Curry’s thesis Grundlagen der Kombinatorischen
-- Logik. See <https://www.jstor.org/stable/2370619> (part 1) and
-- <https://www.jstor.org/stable/2370716> (part 2).
import CombinatoryLogic.Equality
import CombinatoryLogic.Forest
import Combinator... |
oeis/190/A190981.asm | neoneye/loda-programs | 11 | 18895 | ; A190981: a(n) = 9*a(n-1) - 4*a(n-2), with a(0)=0, a(1)=1.
; 0,1,9,77,657,5605,47817,407933,3480129,29689429,253284345,2160801389,18434075121,157263470533,1341634934313,11445660526685,97644405002913,833017002919477,7106575406263641,60627110644694861,517217694177199185,4412450805016013221,37643186468435322249,321138874... |
oeis/327/A327853.asm | neoneye/loda-programs | 11 | 242869 | <gh_stars>10-100
; A327853: Triangle read by rows, Sierpinski's gasket, A047999 * (0,1,2,3,4,...) diagonalized.
; Submitted by <NAME>(s2)
; 0,0,1,0,0,2,0,1,2,3,0,0,0,0,4,0,1,0,0,4,5,0,0,2,0,4,0,6,0,1,2,3,4,5,6,7,0,0,0,0,0,0,0,0,8,0,1,0,0,0,0,0,0,8,9,0,0,2,0,0,0,0,0,8,0,10,0,1,2,3,0,0,0,0,8,9,10,11,0,0,0,0,4,0,0,0,8,0,0... |
oeis/132/A132790.asm | neoneye/loda-programs | 11 | 2002 | ; A132790: Row sums of triangle A132789.
; Submitted by <NAME>
; 1,2,6,18,53,158,486,1550,5109,17298,59799,210048,746983,2682618,9711214,35390422,129710309,477769754,1767525315,6564644688,24467315575,91484660770,343063807931,1289912535908,4861963178643,18367386626558,69533618024841,263748085968060,1002242485086795,3814... |
project/ntstub/i386/6_3_9600_sp0_ssdt_sysenter.asm | rmusser01/windows-syscall-table | 6 | 10883 | ; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; ssdt asm stub for 6.3.9600-sp0-windows-8.1 i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtWorkerFactoryWorkerReady( ULONG arg_01 );
_6_3_9600_sp0_windows_8_1_NtWorkerFactory... |
3-mid/opengl/source/platform/egl/opengl-surface.adb | charlie5/lace | 20 | 8364 | <reponame>charlie5/lace<filename>3-mid/opengl/source/platform/egl/opengl-surface.adb
with
opengl.surface_Profile.privvy,
opengl.Display .privvy,
eGL.Binding,
interfaces.c.Strings,
System;
package body opengl.Surface
is
use eGL.Binding;
-- Forge
--
procedure define (Self... |
Cubical/Data/SumFin.agda | dan-iel-lee/cubical | 0 | 2546 | <filename>Cubical/Data/SumFin.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.SumFin where
open import Cubical.Data.SumFin.Base public
open import Cubical.Data.SumFin.Properties public
|
test/link/section-union/good/b.asm | orbea/rgbds | 522 | 6358 | SECTION UNION "a", WRAM0
a1: ; This is here to check that the two `a1` don't conflict
ds 42
a2::
SECTION UNION "b", WRAMX[$DAB0]
ds 2
b2::
SECTION UNION "c", HRAM[$FFC0]
b1: ; Same but in different sections now
ds 5
c2::
SECTION UNION "d", SRAM,ALIGN[12,$BBA]
ds $1000
d2::
SECTION UNION "e", SRAM,ALIGN[8,$BE]
... |
src/main/antlr4/org/s1ck/gdl/GDL.g4 | xnqio/gdl | 0 | 463 | /*
* Copyright 2017 The GDL Authors
*
* 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 ... |
oeis/171/A171064.asm | neoneye/loda-programs | 11 | 8290 | <reponame>neoneye/loda-programs
; A171064: G.f.: -x*(x-1)*(1+x)/(1-x-7*x^2-x^3+x^4).
; Submitted by <NAME>
; 0,1,1,7,15,64,175,631,1905,6433,20224,66529,212625,692119,2226799,7217728,23284815,75343591,243328225,786800449,2542156800,8217744577,26556314401,85835882791,277405671375,896595420736,2897714688751,9365452422487... |
P5/P5_TestCode/P5_L1_testcase5/P5_L1_testcase5/mips5.asm | alxzzhou/BUAA_CO_2020 | 1 | 28625 | ori $s0, 4
jal tag
addu $t0, $ra, $ra
ori $t0, $0, 1
tag:
addu $t1, $ra, $s0
addu $t2, $ra, $s0
addu $t3, $ra, $s0
jal tag2
addu $t4, $s0, $ra
ori $t0, $0, 1
tag2:
addu $t4, $s0, $ra
addu $t5, $s0, $ra
addu $t6, $s0, $ra
addu $t7, $s0, $ra |
programs/oeis/314/A314753.asm | neoneye/loda | 22 | 21520 | ; A314753: Coordination sequence Gal.4.52.2 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,5,9,13,19,23,27,32,37,41,45,51,55,59,64,69,73,77,83,87,91,96,101,105,109,115,119,123,128,133,137,141,147,151,155,160,165,169,173,179,183,18... |
programs/oeis/096/A096944.asm | neoneye/loda | 22 | 245884 | <filename>programs/oeis/096/A096944.asm
; A096944: Seventh column of (1,5)-Pascal triangle A096940.
; 5,31,112,308,714,1470,2772,4884,8151,13013,20020,29848,43316,61404,85272,116280,156009,206283,269192,347116,442750,559130,699660,868140,1068795,1306305,1585836,1913072,2294248,2736184,3246320,3832752
mov $1,$0
add $0,... |
oeis/055/A055244.asm | neoneye/loda-programs | 11 | 242752 | <filename>oeis/055/A055244.asm
; A055244: Number of certain stackings of n+1 squares on a double staircase.
; Submitted by <NAME>(s4)
; 1,1,3,6,12,23,43,79,143,256,454,799,1397,2429,4203,7242,12432,21271,36287,61739,104791,177476,299978,506111,852457,1433593,2407443,4037454,6762708,11314391,18909139,31569799,52657247,8... |
programs/oeis/020/A020490.asm | neoneye/loda | 22 | 244636 | <reponame>neoneye/loda
; A020490: Numbers k such that phi(k) <= sigma_0(k).
; 1,2,3,4,6,8,10,12,18,24,30
mov $4,$0
add $4,1
mov $9,$0
lpb $4
mov $0,$9
sub $4,1
sub $0,$4
mov $6,$0
mov $7,0
mov $8,$0
add $8,1
lpb $8
mov $0,$6
mov $2,0
mov $3,0
sub $8,1
sub $0,$8
add $0,8
lpb ... |
Projetos/F-Assembly/src/nasm/max.nasm | mariaeduardabicalho/Z01 | 2 | 15094 | ; Arquivo: Max.nasm
; Curso: Elementos de Sistemas
; Criado por: <NAME>
; Data: 27/03/2017
; Log :
; - <NAME> portado para Z01
; Calcula R2 = max(R0, R1) (R0,R1,R2 se referem a RAM[0],RAM[1],RAM[2])
; ou seja, o maior valor que estiver, ou em R0 ou R1 sera copiado para R2
; Estamos considerando número i... |
src/fot/FOTC/Data/Nat/PropertiesATP.agda | asr/fotc | 11 | 7424 | ------------------------------------------------------------------------------
-- Arithmetic properties
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPT... |
source/BBEdit.popclipext/bbedit.applescript | cnstntn-kndrtv/PopClip-Extensions | 1,262 | 2786 | <filename>source/BBEdit.popclipext/bbedit.applescript<gh_stars>1000+
tell application "BBEdit"
activate
make new text window with properties {contents:"{popclip text}"}
end tell |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xa0_notsx.log_21829_224.asm | ljhsiun2/medusa | 9 | 29732 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rax
push %rcx
lea addresses_A_ht+0xdfde, %r8
nop
add $36958, %r15
movb $0x61, (%r8)
nop
nop
nop
nop
dec %rcx
pop %rcx
pop %rax
pop %r8
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r8
push %r9
push %rbx
push %rdi
push %rdx
pu... |
final lab/finalversion.asm | chenzhicun/SJTU-EI209-Computer-Organization-Lab | 4 | 104056 | <reponame>chenzhicun/SJTU-EI209-Computer-Organization-Lab<gh_stars>1-10
;--------------------------------------------------------------------------
;
; Build this with the "Source" menu using
; "Build All" option
;
;-----------------------------------------------------------------------... |
reverse-linked-list/utils.asm | undead-carbon/fizzy-buzzer | 0 | 15107 | <reponame>undead-carbon/fizzy-buzzer<gh_stars>0
; Utilities for reverselinkedlist.asm
STDIN equ 0
STDOUT equ 1
STDERR equ 2
; 16*8 = 128 bits (64 val + 64 addr)
NODESIZE equ 16
; exit(0)
_exit:
mov rax, 60
mov rdi, 0
syscall
ret
; convert the string in rax to an int & store in number
_atoi:
mov r11, rax
cal... |
regtests/ado-tests.adb | My-Colaborations/ada-ado | 0 | 10201 | <filename>regtests/ado-tests.adb
-----------------------------------------------------------------------
-- ADO Sequences -- Database sequence generator
-- Copyright (C) 2009, 2010, 2011, 2012, 2015, 2017, 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "Li... |
Task/Image-noise/Ada/image-noise-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 9498 | <filename>Task/Image-noise/Ada/image-noise-1.ada
with Lumen.Image;
package Noise is
function Create_Image (Width, Height : Natural) return Lumen.Image.Descriptor;
end Noise;
|
libsrc/_DEVELOPMENT/alloc/obstack/c/sdcc_iy/obstack_copy_callee.asm | meesokim/z88dk | 0 | 84493 | <filename>libsrc/_DEVELOPMENT/alloc/obstack/c/sdcc_iy/obstack_copy_callee.asm<gh_stars>0
; void *obstack_copy_callee(struct obstack *ob, void *address, size_t size)
SECTION code_alloc_obstack
PUBLIC _obstack_copy_callee
_obstack_copy_callee:
pop af
pop hl
pop de
pop bc
push af
INCLUDE "alloc/obs... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1970.asm | ljhsiun2/medusa | 9 | 9119 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1970.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x14292, %rsi
nop
nop
and %r13, %r13
movb $0x61, (%rsi)
nop
nop
nop
nop
sub $17878, %rsi
lea ad... |
src/demologic.ads | Kidev/DemoAdaPhysics2D | 5 | 6889 | <gh_stars>1-10
with Worlds; use Worlds;
with Entities; use Entities;
with Materials; use Materials;
with Menus; use Menus;
with Vectors2D; use Vectors2D;
with Links; use Links;
package DemoLogic is
Hold : Natural := 0;
LastX, LastY : Integer := 0;
GlobalGravity : Vec2D := (0.0, 0.0);
MaxHold : constant... |
oeis/000/A000910.asm | neoneye/loda-programs | 11 | 18717 | ; A000910: 5*C(n,6).
; 0,0,0,0,0,0,5,35,140,420,1050,2310,4620,8580,15015,25025,40040,61880,92820,135660,193800,271320,373065,504735,672980,885500,1151150,1480050,1883700,2375100,2968875,3681405,4530960,5537840,6724520,8115800,9738960,11623920,13803405,16313115,19191900,22481940,26228930,30482270,35295260,40725300,4683... |
extern/game_support/stm32f4/src/stm32f4-spi.ads | AdaCore/training_material | 15 | 252 | ------------------------------------------------------------------------------
-- --
-- Hardware Abstraction Layer for STM32 Targets --
-- --
-- ... |
dino/lcs/base/6BC9.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 93068 | <gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
016DC0 tst.b ($1,A6)
016DC4 beq $16dd0 [base+6BA9, base+6BB9, base+6BC9]
016DC8 subq.b #1, ($1,A6)
016DCC bra $16f28 [base+6BA9, base+6BB9, base+6BC9]
016DF0 move.b #$a, ($1,A6)
016DF6 move.b #$0, ($2,A6) [base+6BA9, base+6BB9,... |
asm/loop.asm | dspinellis/effective-debugging | 36 | 2037 | <reponame>dspinellis/effective-debugging
_DATA SEGMENT ; Data area
$SG2748 DB '%d', 0aH, 00H ; printf format string
_DATA ENDS
PUBLIC _main ; Export main
EXTRN _printf:PROC ; Import printf
_TEXT SEGMENT ; Code area
_i$ = -4 ; Stack offset where i is stored
_main PROC
push ebp ; Function ... |
archive/agda-1/IsLiteralSequent.agda | m0davis/oscar | 0 | 320 | <gh_stars>0
module IsLiteralSequent where
open import OscarPrelude
open import Sequent
open import IsLiteralFormula
record IsLiteralSequent (Φ : Sequent) : Set
where
constructor _╱_
field
isLiteralStatement : IsLiteralFormula (statement Φ)
isLiteralSuppositions : All IsLiteralFormula (suppositions Φ)
o... |
savefile/maps/2275_GlitchlandMansion.asm | stranck/fools2018-1 | 35 | 11878 | <reponame>stranck/fools2018-1
SECTION "Map_2275", ROM0[$B800]
Map_2275_Header:
hdr_tileset 22
hdr_dimensions 11, 8
hdr_pointers_a Map_2275_Blocks, Map_2275_TextPointers
hdr_pointers_b Map_2275_Script, Map_2275_Objects
hdr_pointers_c Map_2275_InitScript, Map_2275_RAMScrip... |
boot/BIOS/stage_1/boot_loader.asm | Andrispowq/HackOS | 10 | 95333 | [org 0x7C00]
[bits 16]
global _start
; Jump across the BPB
jmp short _start
nop
; The BIOS parameter block
FAT32_OSName db "Hack OS"
FAT32_BytesPerSector dw 0
FAT32_SectorsPerCluster db 0
FAT32_ReservedSectors dw 0
FAT32_NumFATs db 0
FAT32_RootEntries dw 0
FAT32_TotalSectors dw 0
FAT32_MediaType... |
extern/gnat_sdl/gnat_sdl2/src/xopintrin_h.ads | AdaCore/training_material | 15 | 27864 | <filename>extern/gnat_sdl/gnat_sdl2/src/xopintrin_h.ads
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package xopintrin_h is
-- Copyright (C) 2007-2017 Free Software Foundation, Inc.
-- This file is part of GCC.
-- GCC is free software; you can redistribute it and/or modi... |
asm/x86_64/functions.asm | sweetporkbones/scratchpad | 9 | 161025 | <reponame>sweetporkbones/scratchpad
section .rodata
hello: db "Hello, World! %d", 10
section .text
extern printf
extern exit
global _start
_start:
mov rdi, 0
call hello_world
call exit
hello_world:
; init stuff
push rbp
mov rbp, rsp
; main code
mov al, 0 ; supposedly important for varargs
... |
ruby-antlr-hash-2-json/src/main/antlr/ua/k/co/play/rah2j/Keywords.g4 | msangel/playground | 0 | 2118 | grammar Keywords;
@lexer::header { // place this header action only in lexer, not the parser
import java.util.*;
}
// explicitly define keyword token types to avoid implicit def warnings
tokens { BEGIN, END, IF, THEN, WHILE }
@lexer::members { // place this class member only in lexer
Map<String,Integer> keywords... |
src/ada-core/src/linted-lock_free_queue.ads | mstewartgallus/linted | 0 | 27564 | <filename>src/ada-core/src/linted-lock_free_queue.ads
-- 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
--
-- U... |
ada-blinky-sfp/src/main.adb | hfegran/efx32_ada_examples | 0 | 29503 | <filename>ada-blinky-sfp/src/main.adb
with Ada.Real_time; use Ada.Real_Time;
with Leds; use Leds;
procedure Main is
Duration : constant Time_Span := Milliseconds(100);
begin
Led_Init;
loop
Blink(LED0, Blue, Duration);
Blink(LED1, Green, Duration);
Blink(LED0, Cyan, Duration);
Blink... |
include/sf-graphics-glsl.ads | Fabien-Chouteau/ASFML | 0 | 27179 | <gh_stars>0
--//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2015 <NAME> (<EMAIL>)
-- This software is provided 'as-is', without any express or implied warranty.
-- In no event will the authors be held liable for any damages arising from the... |
source/gmp-z-inside.ads | ytomino/gmp-ada | 4 | 19579 | with Ada.Streams;
with C.gmp;
package GMP.Z.Inside is
pragma Preelaborate;
function Reference (X : in out MP_Integer)
return not null access C.gmp.mpz_struct;
function Constant_Reference (X : MP_Integer)
return not null access constant C.gmp.mpz_struct;
pragma Inline (Reference); -- renamed
pragma Inline (... |
libsrc/_DEVELOPMENT/math/float/math48/z80/am48__dtoa_base10.asm | Frodevan/z88dk | 640 | 100287 | <filename>libsrc/_DEVELOPMENT/math/float/math48/z80/am48__dtoa_base10.asm
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48__dtoa_base10
EXTERN am48_dmulpow10, am48_dmul10a, mm48__right
am48__dtoa_base10:
; convert double from standard form "a * 2^n"
; to a form multiplied by power of 10 "b * 10^e"
; w... |
programs/oeis/068/A068962.asm | jmorken/loda | 1 | 240348 | ; A068962: Number of successive terms of A028356 that add to n; or length of n-th term of A028355.
; 1,1,1,1,2,3,2,4,3,4,5,5,5,5,6,7,7,7,7,8,9,8,10,9,10,11,11,11,11,12,13,13,13,13,14,15,14,16,15,16,17,17,17,17,18,19,19,19,19,20,21,20,22,21,22,23,23,23,23,24,25,25,25,25,26,27,26,28,27,28,29,29,29,29,30,31,31,31,31,32,33... |
agda-rr/ett-rr.agda | kyoDralliam/exceptional-tt | 0 | 11678 | {-# OPTIONS --rewriting --prop --confluence-check #-}
open import Agda.Primitive
open import Agda.Builtin.Bool
open import Agda.Builtin.Nat
open import Agda.Builtin.List
open import Agda.Builtin.Equality
open import Agda.Builtin.Equality.Rewrite
open import Agda.Builtin.Sigma
open import Agda.Builtin.Unit
open import ... |
oeis/154/A154806.asm | neoneye/loda-programs | 11 | 22083 | <filename>oeis/154/A154806.asm
; A154806: Numbers such that every run length in base 2 is 4.
; 15,240,3855,61680,986895,15790320,252645135,4042322160,64677154575,1034834473200,16557351571215,264917625139440,4238682002231055,67818912035696880,1085102592571150095,17361641481138401520
mul $0,2
seq $0,83589 ; Expansion of... |
test/Succeed/Issue4267.agda | cruhland/agda | 1,989 | 10034 | <reponame>cruhland/agda
-- Andreas, 2019-12-08, issue #4267, reported and test case by csattler
-- Problem: definitions from files (A1) imported by a module
-- (Issue4267) may leak into the handling of an independent module
-- (B).
-- The root issue here is that having a signature stImports that
-- simply accumulates... |
src/third_party/nasm/test/riprel2.asm | Mr-Sheep/naiveproxy | 2,219 | 243548 | ;Testname=unoptimized; Arguments=-fbin -oriprel2.bin -O0; Files=stdout stderr riprel.bin
;Testname=optimized; Arguments=-fbin -oriprel2.bin -Ox; Files=stdout stderr riprel.bin
bits 64
default rel
mov dword [foo],12345678h
mov qword [foo],12345678h
mov [foo],rax
mov dword [foo],12345678h
foo:
|
Cubical/Data/FinSet/FiniteChoice.agda | howsiyu/cubical | 0 | 1056 | {-
Axiom of Finite Choice
- Yep, it's a theorem actually.
-}
{-# OPTIONS --safe #-}
module Cubical.Data.FinSet.FiniteChoice where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Equiv renaming (_∙ₑ_ to _⋆_)
open import Cubical.HITs.PropositionalTrunca... |
oeis/192/A192146.asm | neoneye/loda-programs | 11 | 175678 | ; A192146: 1-sequence of reduction of pentagonal numbers sequence by x^2 -> x+1.
; Submitted by <NAME>
; 0,5,17,61,166,421,981,2177,4634,9564,19244,37934,73502,140373,264783,494143,913618,1675387,3050075,5516865,9920880,17747270,31597272,56013036,98903436,174003461,305107901,533345617,929655934,1616151649
lpb $0
add... |
source/libgela/gela-containers-vectors.ads | faelys/gela-asis | 4 | 2979 | <reponame>faelys/gela-asis
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org ... |
0-env_std_tester/test.asm | brown9804/Dragon12_MC9S12DP256 | 0 | 168503 | <reponame>brown9804/Dragon12_MC9S12DP256<gh_stars>0
; Test.asm --- Test program for DRAGON12-Plus2 Rev. A board
; (c)2012, EVBplus.com
; Author: <NAME>
; Date: 4/12/12
;
; The new Dragon12-Plus2 board added a 3.3V power supply, a Micro SD memory
; card holder, Bluetooth, Xbee and No... |
examples/AIM6/HelloAgda/Everything.agda | cruhland/agda | 1,989 | 13337 | module Everything where
import Records
import Basics
import Modules
import With
import Families
import Datatypes
import Bool
import Naturals
|
disasm.asm | Uxeron/Disasm | 0 | 95614 | <gh_stars>0
.MODEL small
.STACK 100h
.DATA
helpMessage db "<NAME>, 4gr, Disasembleris", 10, 13, "Pirmas argumentas - .COM failas", 10, 13, "Antras argumentas - isvesties .ASM failas", 10, 13, "/? - parodo pagalbos pranesima", 10, 13, "$"
file1Loc db 30h DUP(0)
fileOLoc db 30h DUP(0)
fileError db "-- Duomenu f... |
zfp-gba/gnat_user/s-allare.ads | 98devin/ada-gba-dev | 7 | 2566 | <gh_stars>1-10
-- Copyright (c) 2021 <NAME>
-- zlib License -- see LICENSE for details.
with System.Storage_Elements;
--
-- Linear allocators which manage a particular address space.
-- Memory can be recovered only in blocks.
--
package System.Allocation.Arenas is
package SSE renames System.Storage_Elements;... |
programs/oeis/248/A248572.asm | neoneye/loda | 22 | 100291 | ; A248572: a(n) = 29*n + 1.
; 1,30,59,88,117,146,175,204,233,262,291,320,349,378,407,436,465,494,523,552,581,610,639,668,697,726,755,784,813,842,871,900,929,958,987,1016,1045,1074,1103,1132,1161,1190,1219,1248,1277,1306,1335,1364,1393,1422,1451,1480,1509,1538,1567,1596,1625,1654,1683,1712,1741,1770,1799,1828,1857,1886,... |
source/web/servlet/servlet-requests.ads | svn2github/matreshka | 0 | 14072 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
Monads/EM/Functors.agda | jmchapman/Relative-Monads | 21 | 10189 | <gh_stars>10-100
open import Categories
open import Monads
module Monads.EM.Functors {a b}{C : Cat {a}{b}}(M : Monad C) where
open import Library
open import Functors
open import Monads.EM M
open Cat C
open Fun
open Monad M
open Alg
open AlgMorph
EML : Fun C EM
EML = record {
OMap = λ X → record {
acar = T ... |
alloy4fun_models/trashltl/models/11/ie2SquWB7QiiKjBuT.als | Kaixi26/org.alloytools.alloy | 0 | 1250 | <gh_stars>0
open main
pred idie2SquWB7QiiKjBuT_prop12 {
all f : File | eventually always f in Trash
}
pred __repair { idie2SquWB7QiiKjBuT_prop12 }
check __repair { idie2SquWB7QiiKjBuT_prop12 <=> prop12o } |
Cubical/Relation/Unary/Subtype.agda | bijan2005/univalent-foundations | 0 | 5946 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Relation.Unary.Subtype where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.HLevels
open import Cubical.Relation.Unary
open import Cubical.Data.N... |
programs/oeis/208/A208648.asm | neoneye/loda | 22 | 244008 | <reponame>neoneye/loda<gh_stars>10-100
; A208648: Denominators of Pokrovskiy's lower bound on the ratio of e(G^n) the number of edges in the n-th power of a graph G, to E(G) the number of edges of G.
; 2,1,1,4,1,1,6,1,1,8,1,1,10,1,1,12
mul $0,2
mov $1,$0
add $0,1
mul $1,2
dif $1,3
trn $0,$1
add $0,1
|
source/league/matreshka-internals-translator-xliff_readers.adb | svn2github/matreshka | 24 | 21446 | <filename>source/league/matreshka-internals-translator-xliff_readers.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
oeis/005/A005246.asm | neoneye/loda-programs | 11 | 245472 | ; A005246: a(n) = (1 + a(n-1)*a(n-2))/a(n-3), a(0) = a(1) = a(2) = 1.
; 1,1,1,2,3,7,11,26,41,97,153,362,571,1351,2131,5042,7953,18817,29681,70226,110771,262087,413403,978122,1542841,3650401,5757961,13623482,21489003,50843527,80198051,189750626,299303201,708158977,1117014753,2642885282,4168755811,9863382151,15558008491,... |
I2C_Slave_Code_Dev/I2C_SlaveCore/asm/src/main.asm | CmdrZin/chips_avr_examples | 5 | 162823 | <reponame>CmdrZin/chips_avr_examples
/*
* I2C Slave Library Project
*
* org: 10/03/2014
* rev: 03/20/2015
* auth: Nels "Chip" Pearson
*
* Target: TankBot Board (ATmega164P) or I2C Demo Board
*
*
* NOTE: Slave Adrs: 0x23 (set in i2c_slave2.asm)
*
*/
.nolist
.include "m164pdef.inc"
;;;.include "m328pdef.inc... |
oeis/127/A127920.asm | neoneye/loda-programs | 11 | 6776 | <reponame>neoneye/loda-programs
; A127920: 1/6 of product of three numbers: n-th prime, previous and following number.
; Submitted by <NAME>
; 1,4,20,56,220,364,816,1140,2024,4060,4960,8436,11480,13244,17296,24804,34220,37820,50116,59640,64824,82160,95284,117480,152096,171700,182104,204156,215820,240464,341376,374660,4... |
test/codegen/scope.asm | shivansh/gogo | 24 | 19371 | <reponame>shivansh/gogo
.data
arr.0: .space 8
t0: .word 0
arr.1: .space 8
t1: .word 0
a.2: .word 0
a.3: .word 0
.text
runtime:
addi $sp, $sp, -4
sw $ra, 0($sp)
lw $ra, 0($sp)
addi $sp, $sp, 4
jr $ra
.end runtime
.globl main
.ent main
main:
la $3, arr.0
lw $5, 0($3) # variable <- array
li $5, 4 #... |
src/hyperion-hosts-modules.ads | stcarrez/hyperion | 0 | 6507 | -----------------------------------------------------------------------
-- hyperion-hosts-modules -- Module hosts
-- Copyright (C) 2017 <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.
-- ... |
programs/oeis/302/A302392.asm | karttu/loda | 0 | 88335 | ; A302392: Number of odd parts in the partitions of 3n into 3 parts.
; 3,4,13,18,33,40,61,72,99,112,145,162,201,220,265,288,339,364,421,450,513,544,613,648,723,760,841,882,969,1012,1105,1152,1251,1300,1405,1458,1569,1624,1741,1800,1923,1984,2113,2178,2313,2380,2521,2592,2739,2812
mov $2,$0
add $2,1
mov $5,$0
lpb $2,1
... |
src/z80asm/dev/cpu/cpu_testold_z80_err.asm | Toysoft/z88dk | 0 | 3004 | <filename>src/z80asm/dev/cpu/cpu_testold_z80_err.asm
adc a',(hl) ; Error
adc a',(ix) ; Error
adc a',(ix+DIS) ; Error
adc a',(iy) ; Error
adc a',(iy+DIS) ; Error
adc a',N ; Error
adc a',a ; Error
adc a',b ; Error
adc a',c ... |
engine/phone/scripts/wade.asm | Dev727/ancientplatinum | 28 | 11538 | <reponame>Dev727/ancientplatinum
WadePhoneCalleeScript:
gettrainername STRING_BUFFER_3, BUG_CATCHER, WADE1
checkflag ENGINE_WADE
iftrue .WantsBattle
farscall PhoneScript_AnswerPhone_Male
checkflag ENGINE_WADE_TUESDAY_NIGHT
iftrue .NotTuesday
checkflag ENGINE_WADE_HAS_ITEM
iftrue .HasItem
readvar VAR_WEEKDAY
i... |
test/Succeed/OldCompilerPragmas.agda | alhassy/agda | 3 | 6596 |
module _ where
data Bool : Set where
false true : Bool
{-# COMPILED_DATA Bool Bool False True #-}
postulate
IO : Set → Set
return : {A : Set} → A → IO A
{-# COMPILED_TYPE IO IO #-}
{-# COMPILED return \ _ -> return #-}
{-# COMPILED_UHC return \ _ x -> UHC.Agda.Builtins.primReturn x #-}
{-# COMPILED_JS return... |
oeis/164/A164494.asm | neoneye/loda-programs | 11 | 167286 | ; A164494: Number of binary strings of length n with no substrings equal to 0010 0101 or 1010
; 13,23,40,70,123,216,379,665,1167,2048,3594,6307,11068,19423,34085,59815,104968,184206,323259,567280,995507,1746993,3065759,5380032,9441298,16568323,29075380,51023735,89540413,157132471,275748264,483904470,849193147,149023008... |
zx_rom_plot_sub.asm | imneme/spectrum-minilib | 1 | 20994 | <filename>zx_rom_plot_sub.asm
INCLUDE "romdefs.inc"
SECTION code_clib
GLOBAL _zx_rom_plot_sub
_zx_rom_plot_sub:
pop af ; retaddr
pop bc ; yx
push af ; restore retaddr
jp ROM3_PLOT_SUB
|
Sources/Globe_3d/models/terrain.adb | ForYouEyesOnly/Space-Convoy | 1 | 16422 | pragma Warnings (Off);
pragma Style_Checks (Off);
with GL,
GL.Textures,
GL.Skins; use GL, GL.Textures;
with GL.Buffer.vertex,
GL.Buffer.indices,
GL.Buffer.texture_coords;
with GL.Geometry.VBO;
with GL.skinned_Geometry;
with GL.IO;
with GLOBE_3D.Math; ... |
oeis/304/A304584.asm | neoneye/loda-programs | 11 | 105114 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A304584: A linear mapping a(n) = x + d*n of pairs of nonnegative integers (x,d), where the pairs are enumerated by antidiagonals.
; Submitted by <NAME>
; 0,1,2,2,5,10,3,9,17,27,4,14,26,40,56,5,20,37,56,77,100,6,27,50,75,102,131,162,7,35,65,97,131,167,205,245,8,44,82,122... |
Definition/Typed/Consequences/Inversion.agda | Vtec234/logrel-mltt | 0 | 15727 | {-# OPTIONS --without-K --safe #-}
module Definition.Typed.Consequences.Inversion where
open import Definition.Untyped
open import Definition.Typed
open import Definition.Typed.Properties
open import Definition.Typed.Consequences.Syntactic
open import Definition.Typed.Consequences.Substitution
open import Definition... |
assembler/tests/t_stringify/t_stringify.asm | paulscottrobson/RCA-Cosmac-VIP-III | 0 | 15550 | <gh_stars>0
cpu 8051
cnt set 0
while cnt<>10
var{"\{CNT}"} equ cnt
cnt set cnt+1
endm
db var1,var9,var2,var8
|
Transynther/x86/_processed/NC/_ht_zr_/i7-7700_9_0xca.log_21829_391.asm | ljhsiun2/medusa | 9 | 171357 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xc1f4, %rsi
lea addresses_UC_ht+0x1d274, %rdi
nop
nop
and $4624, %rax
mov $123, %rcx
rep movsw
nop
nop
nop
cmp $10875, %r15
lea addresses_UC_ht+0xe274, %rbp
nop
nop
nop
i... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_14_1071.asm | ljhsiun2/medusa | 9 | 86306 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rax
push %rbp
push %rbx
push %rdx
push %rsi
lea addresses_UC_ht+0x1ee5a, %rax
nop
nop
nop
nop
and $40281, %r14
movups (%rax), %xmm0
vpextrq $0, %xmm0, %rbx
nop
nop
cmp $18850, %rbp
lea addresses_WC_ht+0x19e8a, %rsi
nop
nop
nop
nop
nop
xor $53157, %r... |
commands/apps/hazeover/hazeover-toggle-dimming.applescript | afrazkhan/script-commands | 5 | 2136 | <filename>commands/apps/hazeover/hazeover-toggle-dimming.applescript
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Toggle Dimming
# @raycast.mode silent
# @raycast.packageName HazeOver
# Optional parameters:
# @raycast.icon images/hazeover.png
# Documentation:
# @raycast.aut... |
complexity-drafts/Comp-lang.agda | benhuds/Agda | 2 | 11500 | {- Name: Bowornmet (<NAME>
-- define the complexity language from the paper
-}
open import Preliminaries
open import Preorder-withmax
module Comp-lang where
-- define the complexity language from the paper
-- we want to focus on arrow, cross, and nat types
-- do I need unit types?
data CTp : Set where
... |
src/neuralnet.adb | sebsgit/textproc | 0 | 17153 | <filename>src/neuralnet.adb
with Ada.Text_IO;
with Ada.Numerics;
with Ada.Numerics.Generic_Elementary_Functions;
package body NeuralNet is
function activate(n: in Neuron; val: in Float) return Float is
begin
case n.act is
when RELU =>
return Float'Max(0.0, val);
when LOGISTIC ... |
2-low/collada/source/collada-document.adb | charlie5/lace | 20 | 23572 | <reponame>charlie5/lace
with
collada.Library.geometries,
collada.Library.controllers,
collada.Library.animations,
collada.Library.visual_scenes,
XML,
ada.Calendar.formatting,
ada.Strings.fixed,
ada.Characters.latin_1;
package body collada.Document
is
use ada.Strings.unbound... |
source/streams/a-ssisfi.ads | ytomino/drake | 33 | 13732 | <gh_stars>10-100
pragma License (Unrestricted);
-- extended unit
package Ada.Streams.Stream_IO.Standard_Files is
-- There are Stream_IO version file objects of
-- Standard_Input, Standard_Output, and Standard_Error.
function Standard_Input return not null access constant File_Type;
function Standard_O... |
tests/tk-ttkbutton-ttk_button_options_test_data-ttk_button_options_tests.ads | thindil/tashy2 | 2 | 18170 | <gh_stars>1-10
-- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with GNATtest_Generated;
package Tk.TtkButton.Ttk_Button_Options_Test_Data.Ttk_Button_Options_Tests is
type Test_Ttk_Button_Options is new ... |
src/st7789.ads | JeremyGrosser/sensors | 1 | 5523 | --
-- Copyright (C) 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
with HAL.Time;
with HAL.GPIO;
with HAL.SPI;
with HAL;
package ST7789 is
type ST7789_Screen
(CS : not null HAL.GPIO.Any_GPIO_Point;
DC : not null HAL.GPIO.Any_GPIO_Point;
RST : HAL.GPIO.Any_GPIO_Point;... |
modules/parsers/parser-hdbdd/src/main/antlr4/com/sap/xsk/parser/hdbdd/core/Cds.g4 | delchev/xsk | 0 | 3665 | grammar Cds;
import CdsTokens;
cdsFile: namespaceRule
usingRule*
topLevelSymbol;
namespaceRule: NAMESPACE members+=identifier ('.' members+=identifier)* ';';
usingRule: USING pack+=identifier ('.' pack+=identifier)* '::' members+=identifier ('.' members+=identifier)* (AS alias=identifier)? ';';
top... |
libsrc/_DEVELOPMENT/input/zx/c/sdcc_iy/in_mouse_amx_wheel.asm | jpoikela/z88dk | 640 | 179676 | <reponame>jpoikela/z88dk
; uint16_t in_mouse_amx_wheel(void)
SECTION code_clib
SECTION code_input
PUBLIC _in_mouse_amx_wheel
EXTERN asm_in_mouse_amx_wheel
defc _in_mouse_amx_wheel = asm_in_mouse_amx_wheel
|
kernel/asm/startup-x86_64.asm | pwoolcoc/redox | 0 | 3454 | <reponame>pwoolcoc/redox<filename>kernel/asm/startup-x86_64.asm
%include "asm/startup-common.asm"
startup_arch:
cli
; setting up Page Tables
; Identity Mapping first GB
mov ax, 0x7000
mov es, ax
xor edi, edi
xor eax, eax
mov ecx, 3 * 4096 / 4 ;PML4, PDP, PD / moves 4 Bytes at once
... |
s2/sfx-original/E8 - Quick Door Slam.asm | Cancer52/flamedriver | 9 | 91644 | Sound68_QuickDoorSlam_Header:
smpsHeaderStartSong 2
smpsHeaderVoice Sound68_QuickDoorSlam_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM5, Sound68_QuickDoorSlam_FM5, $F4, $00
; FM5 Data
Sound68_QuickDoorSlam_FM5:
smpsSetvoice $00
dc.b nD2, $04, nC3, $06
smpsStop
So... |
win64/lesson03.asm | mashingan/notes-asmtutor | 1 | 377 | <reponame>mashingan/notes-asmtutor<gh_stars>1-10
format PE64 console
entry start
include 'win64w.inc'
section '.data' readable
msg db 'Hello the new brave isekai!', 0dh, 0Ah, 0
section '.text' code readable executable
start:
mov rbx, msg
mov rcx, rbx
.nextchar:
cmp byte [rcx], 0
jz ... |
programs/oeis/077/A077866.asm | neoneye/loda | 22 | 169511 | <reponame>neoneye/loda<filename>programs/oeis/077/A077866.asm<gh_stars>10-100
; A077866: Expansion of (1-x)^(-1)/(1 - x - 2*x^2 + 2*x^3).
; 1,2,5,8,15,22,37,52,83,114,177,240,367,494,749,1004,1515,2026,3049,4072,6119,8166,12261,16356,24547,32738,49121,65504,98271,131038,196573,262108,393179,524250,786393,1048536,157282... |
1-base/math/source/precision/float/pure/float_math-geometry.ads | charlie5/lace | 20 | 14851 | with
any_Math.any_Geometry;
package float_math.Geometry is new float_Math.any_Geometry;
pragma Pure (float_math.Geometry);
|
Src/mini_expect.ads | SMerrony/dashera | 23 | 20633 | <filename>Src/mini_expect.ads
-- Copyright ©2022 <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, modif... |
Task/Distributed-programming/Ada/distributed-programming-4.ada | LaudateCorpus1/RosettaCodeData | 1 | 28820 | configuration DSA is
pragma Starter (None);
-- Server
Server_Partition : Partition := (Server);
procedure Run_Server is in Server_Partition;
-- Client
Client_Partition : Partition;
for Client_Partition'Termination use Local_Termination;
procedure Client;
for Client_Partition'Main use Client... |
oeis/096/A096051.asm | neoneye/loda-programs | 11 | 168712 | <reponame>neoneye/loda-programs
; A096051: Decimal expansion of limit n-->infty B(2n,8)/(B(2n)*64^n) ( see comment for B(n,k) definition ).
; Submitted by <NAME>
; 1,0,4,1,8,4,1,8,8,8,4,0,1,9,2,1,7,8,2,2,2,8,4,5,0,8,0,5,4,1,3,5,9,2,9,9,4,3,8,7,8,8,0,5,8,0,3,3,0,2,1,7,9,9,4,7,7,3,0,9,4,3,0,4,4,2,9,2,3,3,3,9,4,3,9,5,5,6,... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_9015_1337.asm | ljhsiun2/medusa | 9 | 175871 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x6018, %rbp
nop
nop
nop
nop
sub %r10, %r10
mov $0x6162636465666768, %rdi
movq %rdi, %xmm4
and $0xffffffffffffffc0, %rbp
movntdq %xmm4, (%rbp)
nop
sub $36936, %r12
lea addresses... |
alloy4fun_models/trashltl/models/9/mNFrGSj23rpZuzpnS.als | Kaixi26/org.alloytools.alloy | 0 | 1731 | open main
pred idmNFrGSj23rpZuzpnS_prop10 {
always (all f:Protected | always f in Protected)
}
pred __repair { idmNFrGSj23rpZuzpnS_prop10 }
check __repair { idmNFrGSj23rpZuzpnS_prop10 <=> prop10o } |
oeis/267/A267968.asm | neoneye/loda-programs | 11 | 178276 | <reponame>neoneye/loda-programs
; A267968: a(n) = Product_{k = 1..n} k^(k + 1).
; Submitted by <NAME>
; 1,1,8,648,663552,10368000000,2902376448000000,16731622649806848000000,2245680377810414777401344000000,7830203310981140781182893575634944000000,783020331098114078118289357563494400000000000000000,245745322666779412157... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.