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 |
|---|---|---|---|---|
oeis/020/A020901.asm | neoneye/loda-programs | 11 | 173786 | ; A020901: Greatest k such that k-th prime < 3 times n-th prime.
; Submitted by <NAME>(s3)
; 3,4,6,8,11,12,15,16,19,23,24,29,30,31,34,37,40,42,46,47,47,51,53,56,61,62,63,66,66,68,75,77,80,80,86,87,91,93,95,97,99,100,105,106,107,108,115,121,123,124,125,127,128,133,136,138,139,141,145,146,146,151,157,158,159,161,167,169,... |
programs/oeis/132/A132757.asm | neoneye/loda | 22 | 90191 | <gh_stars>10-100
; A132757: a(n) = n*(n+29)/2.
; 0,15,31,48,66,85,105,126,148,171,195,220,246,273,301,330,360,391,423,456,490,525,561,598,636,675,715,756,798,841,885,930,976,1023,1071,1120,1170,1221,1273,1326,1380,1435,1491,1548,1606,1665
add $0,15
bin $0,2
sub $0,105
|
tests/simpleOO/src/dds-request_reply-tests-simple-octets_replier.ads | persan/dds-requestreply | 0 | 2648 | <filename>tests/simpleOO/src/dds-request_reply-tests-simple-octets_replier.ads
with DDS.Request_Reply.Replier.Typed_Replier_Generic;
with Dds.Builtin_Octets_DataReader;
with Dds.Builtin_Octets_DataWriter;
package DDS.Request_Reply.Tests.Simple.Octets_Replier is new
DDS.Request_Reply.Replier.Typed_Replier_Generic
... |
gnat-sockets-connection_state_machine.ads | jrcarter/Ada_GUI | 19 | 4671 | <filename>gnat-sockets-connection_state_machine.ads
-- --
-- package Copyright (c) <NAME> --
-- GNAT.Sockets.Connection_State_Machine Luebeck --
-- Interface Winter... |
oeis/152/A152035.asm | neoneye/loda-programs | 11 | 243603 | <filename>oeis/152/A152035.asm
; A152035: G.f.: (1-2*x^2)/(1-2*x-2*x^2).
; Submitted by <NAME>
; 1,2,4,12,32,88,240,656,1792,4896,13376,36544,99840,272768,745216,2035968,5562368,15196672,41518080,113429504,309895168,846649344,2313089024,6319476736,17265131520,47169216512,128868696064,352075825152,961889042432,262792973... |
data/gfx.asm | martendo7/cookie-shooter-gb | 3 | 246441 | SECTION "Sprite Tiles", ROM0
SpriteTiles::
INCBIN "res/sprite-tiles.2bpp"
.end::
SECTION "In-Game Tiles", ROM0
InGameTiles::
INCBIN "res/in-game-tiles.2bpp"
INCBIN "res/power-ups.2bpp"
.end::
SECTION "Status Bar Map", ROM0
StatusBarMap::
INCBIN "res/status-bar.tilemap"
SECTION "Paused Strip Map", ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/varsize3_2.adb | best08618/asylo | 7 | 30734 | -- { dg-do compile }
with Varsize3_Pkg1; use Varsize3_Pkg1;
procedure Varsize3_2 is
Filter : constant Object := True;
begin
null;
end;
|
test/interaction/Issue4917.agda | cruhland/agda | 1,989 | 14832 | <reponame>cruhland/agda
data D (A : Set) : Set₁ where
|
oeis/173/A173184.asm | neoneye/loda-programs | 11 | 177828 | ; A173184: Partial sums of A000166.
; Submitted by <NAME>
; 1,1,2,4,13,57,322,2176,17009,150505,1485466,16170036,192384877,2483177809,34554278858,515620794592,8212685046337,139062777326001,2494364438359954,47245095998005060,942259727190907181
mov $2,1
lpb $0
sub $0,1
mul $2,$0
mov $1,$2
add $3,1
add $2,$3
... |
alloy4fun_models/trashltl/models/11/gHBxPoQH7iNu5i92g.als | Kaixi26/org.alloytools.alloy | 0 | 4596 | open main
pred idgHBxPoQH7iNu5i92g_prop12 {
all f: File |always f in Trash
}
pred __repair { idgHBxPoQH7iNu5i92g_prop12 }
check __repair { idgHBxPoQH7iNu5i92g_prop12 <=> prop12o } |
test/Succeed/Issue3256/B.agda | cruhland/agda | 1,989 | 8059 | {-# OPTIONS --allow-unsolved-metas #-}
module Issue3256.B where
f : (a : Set) -> a -> a
f a y = {!!} y
|
src/sys/streams/util-streams.adb | My-Colaborations/ada-util | 0 | 993 | <filename>src/sys/streams/util-streams.adb
-----------------------------------------------------------------------
-- util-streams -- Stream utilities
-- Copyright (C) 2010, 2011, 2016, 2018, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... |
oeis/235/A235882.asm | neoneye/loda-programs | 11 | 244143 | ; A235882: Number of (n+1) X (6+1) 0..2 arrays with the minimum plus the upper median equal to the lower median plus the maximum in every 2 X 2 subblock.
; Submitted by <NAME>(s1)
; 2571,3345,4911,8097,14631,28185,56751,118257,254391,566025,1307391,3144417,7881351,20543865,55434831,153914577,436967511,1261353705,368496... |
examples/qemu/i386/oz-x86-32-asm-001/oz.asm | duanev/pgdb | 9 | 80382 | <filename>examples/qemu/i386/oz-x86-32-asm-001/oz.asm
; OZ - A more utopian OS
; ex: set expandtab softtabstop=4 shiftwidth=4 nowrap :
;
;
; x86-32 startup
;
;
; usage:
; $ qemu-system-i386 -boot a -fda oz_fd -monitor stdio
;
; requires: nasm-2.07 or later from: http://www.nasm.us
;
; contributors:
; djv... |
aspects/automator/support/Open in Terminal Vim.applescript | humpangle/dotfile-wincent | 1,090 | 3365 | <reponame>humpangle/dotfile-wincent<filename>aspects/automator/support/Open in Terminal Vim.applescript
on run argv
set source to item 1 of argv
set js to (read POSIX file source)
tell application "Automator"
set tmp to POSIX path of (path to temporary items)
set flow to make new workflow with prop... |
programs/oeis/335/A335741.asm | neoneye/loda | 22 | 87394 | <gh_stars>10-100
; A335741: Number of Pell numbers (A000129) <= n.
; 1,2,3,3,3,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
mov $2,$0
add $2,1
mov $3,$0
lpb $2
mov $0,$3
sub $2,1
s... |
oeis/079/A079727.asm | neoneye/loda-programs | 11 | 240076 | <filename>oeis/079/A079727.asm
; A079727: a(n) = 1 + C(2,1)^3 + C(4,2)^3 + ... + C(2n,n)^3.
; 1,9,225,8225,351225,16354233,805243257,41229480825,2172976383825,117106008311825,6423711336265041,357470875526646609,20131502573232075025,1145190201805448075025,65706503254247744075025,3798058180969246635083025,220966981678640... |
oeis/165/A165663.asm | neoneye/loda-programs | 11 | 18124 | <filename>oeis/165/A165663.asm
; A165663: Decimal expansion of 3 + sqrt(3).
; Submitted by <NAME>
; 4,7,3,2,0,5,0,8,0,7,5,6,8,8,7,7,2,9,3,5,2,7,4,4,6,3,4,1,5,0,5,8,7,2,3,6,6,9,4,2,8,0,5,2,5,3,8,1,0,3,8,0,6,2,8,0,5,5,8,0,6,9,7,9,4,5,1,9,3,3,0,1,6,9,0,8,8,0,0,0,3,7,0,8,1,1,4,6,1,8,6,7,5,7,2,4,8,5,7,5
mov $1,5
mov $2,1
m... |
network/bonjourDiscovery.applescript | adriannier/applescript-functions | 7 | 3328 | <gh_stars>1-10
(*
Finds all services of the specified type on the local network and returns their host's name.
*)
-- Find AFP servers
log bonjourDiscovery("afpovertcp", 0.5)
-- Find SSH servers
log bonjourDiscovery("ssh", 0.5)
on bonjourDiscovery(aServiceType, aScanTime)
-- Service types can be looked up at: ht... |
oeis/132/A132696.asm | neoneye/loda-programs | 11 | 97031 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A132696: Decimal expansion of 6/Pi.
; Submitted by <NAME>
; 1,9,0,9,8,5,9,3,1,7,1,0,2,7,4,4,0,2,9,2,2,6,6,0,5,1,6,0,4,7,0,1,7,2,3,4,4,4,1,3,5,1,5,7,4,8,8,8,5,4,7,7,3,8,4,9,7,2,0,0,8,1,2,8,7,0,6,7,6,1,5,7,1,6,1,0,7,1,8,4,2,1,0,8,1,3,6,5,6,3,3,1,9,5,0,3,7,0,3,1
add $0,1
... |
source/features/sound.asm | feliposz/FelipOS | 0 | 13099 | <gh_stars>0
; ==========================================================
; os_speaker_tone -- Generate PC speaker tone (call os_speaker_off to turn off)
; IN: AX = note frequency divisor (from 1193182 hz of the PIT)
; OUT: Nothing (registers preserved)
os_speaker_tone:
push ax
push bx
push dx
mov cx, ax... |
src/asf-components-utils-scrollers.adb | jquorning/ada-asf | 12 | 2038 | <reponame>jquorning/ada-asf
-----------------------------------------------------------------------
-- components-utils-scrollers -- Data scrollers
-- Copyright (C) 2013, 2015 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ex... |
src/Data/Nat/Properties/Extra.agda | metaborg/mj.agda | 10 | 10448 | <gh_stars>1-10
module Data.Nat.Properties.Extra where
open import Data.Nat.Base
open import Data.Nat.Properties
open import Relation.Binary.PropositionalEquality
open ≡-Reasoning
open import Data.Empty
≤′-unique : ∀ {i u} (p q : i ≤′ u) → p ≡ q
≤′-unique ≤′-refl ≤′-refl = refl
≤′-unique ≤′-refl (≤′-step q) = ⊥-elim ... |
programs/oeis/021/A021823.asm | karttu/loda | 0 | 168739 | <reponame>karttu/loda<filename>programs/oeis/021/A021823.asm
; A021823: Decimal expansion of 1/819.
; 0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1
add $0,46079
lpb $0... |
test/asset/agda-stdlib-1.0/Data/Vec/Relation/Binary/Pointwise/Inductive.agda | omega12345/agda-mode | 0 | 10329 | <filename>test/asset/agda-stdlib-1.0/Data/Vec/Relation/Binary/Pointwise/Inductive.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Inductive pointwise lifting of relations to vectors
------------------------------------------------------------------------
... |
programs/oeis/051/A051837.asm | neoneye/loda | 22 | 87959 | ; A051837: Rank of Demjanenko matrix mod n-th prime.
; 2,3,5,6,8,9,11,11,15,18,20,21,23,26,29,30,33,35,36,39,41,44
mov $1,$0
mul $0,2
cmp $0,14
add $1,2
sub $1,$0
seq $1,40 ; The prime numbers.
mov $0,$1
div $0,2
|
test/Fail/Issue1698-data.agda | shlevy/agda | 1,989 | 5914 | data Foo : Set where
foo = Foo
-- Bad error message WAS:
-- A postulate block can only contain type signatures or instance blocks
|
programs/oeis/047/A047479.asm | jmorken/loda | 1 | 14607 | <gh_stars>1-10
; A047479: Numbers that are congruent to {0, 1, 5, 7} mod 8.
; 0,1,5,7,8,9,13,15,16,17,21,23,24,25,29,31,32,33,37,39,40,41,45,47,48,49,53,55,56,57,61,63,64,65,69,71,72,73,77,79,80,81,85,87,88,89,93,95,96,97,101,103,104,105,109,111,112,113,117,119,120,121,125,127,128,129,133,135,136,137,141,143,144,145,14... |
src/q_bingo-q_gtk-q_intl.ads | mgrojo/bingada | 2 | 21751 | <filename>src/q_bingo-q_gtk-q_intl.ads<gh_stars>1-10
--*****************************************************************************
--*
--* PROJECT: Bingada
--*
--* FILE: q_bingo-q_gtk-q_intl.ads
--*
--* AUTHOR: <NAME>
--*
--*********************************************************... |
programs/oeis/184/A184617.asm | neoneye/loda | 22 | 102554 | ; A184617: With nonadjacent forms: A184615(n) + A184616(n).
; 0,1,2,5,4,5,10,9,8,9,10,21,20,21,18,17,16,17,18,21,20,21,42,41,40,41,42,37,36,37,34,33,32,33,34,37,36,37,42,41,40,41,42,85,84,85,82,81,80,81,82,85,84,85,74,73,72,73,74,69,68,69,66,65,64,65,66,69,68,69,74,73,72,73,74,85,84,85,82,81,80,81,82,85,84,85,170,169,1... |
case-studies/performance/verification/alloy/ppc/tests/bclwdww009.als | uwplse/memsynth | 19 | 4791 | <reponame>uwplse/memsynth
module tests/bclwdww009
open program
open model
/**
PPC bclwdww009
"DpdR Fre LwSyncdWW Wse LwSyncdWW Rfe"
Cycle=DpdR Fre LwSyncdWW Wse LwSyncdWW Rfe
Relax=BCLwSyncdWW
Safe=Fre Wse LwSyncdWW DpdR
{
0:r2=x; 0:r4=y;
1:r2=y; 1:r4=z;
2:r2=z; 2:r5=x;
}
P0 | P1 | P2 ... |
programs/oeis/079/A079947.asm | jmorken/loda | 1 | 27718 | ; A079947: Partial sums of A030300.
; 1,1,1,2,3,4,5,5,5,5,5,5,5,5,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,5... |
pwnlib/shellcraft/templates/i386/linux/stager.asm | DrKeineLust/pwntools | 8,966 | 87254 | <filename>pwnlib/shellcraft/templates/i386/linux/stager.asm
<% from pwnlib.shellcraft import common %>
<% from pwnlib.shellcraft.i386 import push, mov %>
<% from pwnlib.shellcraft.i386.linux import syscall %>
<% from pwnlib.constants import SYS_mmap2, PROT_EXEC, PROT_WRITE, PROT_READ, MAP_ANON, MAP_PRIVATE, SYS_read %>... |
source/league/league-application.adb | svn2github/matreshka | 24 | 30404 | <filename>source/league/league-application.adb<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
boot.asm | vags-cin/awesome-bootloader | 8 | 101409 | <reponame>vags-cin/awesome-bootloader<filename>boot.asm
; ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥
; Assembly is love
;
; boot.asm by BootloaderBros
; BootloaderBros:
; <NAME> @jgfn
; <NAME> @nmf2
; <NAME> @vags
;
; ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥ ♥
org 0x0... |
savefile/maps/1631_NorthernEncampment.asm | stranck/fools2018-1 | 35 | 172270 | SECTION "Map_1631", ROM0[$B800]
Map_1631_Header:
hdr_tileset 0
hdr_dimensions 11, 10
hdr_pointers_a Map_1631_Blocks, Map_1631_TextPointers
hdr_pointers_b Map_1631_Script, Map_1631_Objects
hdr_pointers_c Map_1631_InitScript, Map_1631_RAMScript
hdr_palette $07
... |
gillesdubois/used_apple_scripts/tunnelBlickOvpnConDis.applescript | gillesdubois/btt-touchbar-presets | 1,879 | 527 | <gh_stars>1000+
-- SET YOUR CONFIG NAME BELOW
set tunnelBlickConfigName to "YOURCONFIGNAME"
tell application "Tunnelblick"
set vpnState to get state of first configuration where name = tunnelBlickConfigName
if vpnState = "CONNECTED" then
disconnect tunnelBlickConfigName
end if
if vpnState ... |
exercises/10_and.asm | Catherine22/Assembly | 0 | 25600 | STDIN equ 0
STDOUT equ 1
SYS_EXIT equ 1
SYS_READ equ 3
SYS_WRITE equ 4
section .data
even_msg db "Even Number!", 0xA
len1 equ $- even_msg
odd_msg db "Odd Number!", 0xA
len2 equ $- odd_msg
section .text
global main
main:
mov ax, 6h ;getting 8 in the ax
an... |
source/amf/uml/amf-uml-object_flows.ads | svn2github/matreshka | 24 | 10969 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
wayland_egl_ada/src/wayland-egl.ads | onox/wayland-ada | 5 | 3407 | <reponame>onox/wayland-ada
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2020 onox <<EMAIL>>
--
-- 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... |
tests/syntax_examples/src/other_basic_subprogram_calls.adb | TNO/Dependency_Graph_Extractor-Ada | 1 | 26692 | <reponame>TNO/Dependency_Graph_Extractor-Ada
package body Other_Basic_Subprogram_Calls is
function Other_F1 return Integer is
begin
return 42;
end Other_F1;
procedure Other_P1 is
begin
null;
end Other_P1;
end Other_Basic_Subprogram_Calls;
|
data/pokemon/dex_entries/piplup.asm | AtmaBuster/pokeplat-gen2 | 6 | 27603 | db "PENGUIN@" ; species name
db "It dislikes being"
next "taken care of. It"
next "is difficult to"
page "bond with it since"
next "it won't listen to"
next "its trainer.@"
|
test/z80/test_call.asm | gb-archive/asmotor | 0 | 88418 | SECTION "Test",CODE[0]
call $1000
call nz,$1000
call z,$1000
call nc,$1000
call c,$1000
call po,$1000
call pe,$1000
call p,$1000
call m,$1000
|
programs/oeis/160/A160467.asm | neoneye/loda | 22 | 9203 | <reponame>neoneye/loda
; A160467: a(n) = 1 if n is odd; otherwise, a(n) = 2^(k-1) where 2^k is the largest power of 2 that divides n.
; 1,1,1,2,1,1,1,4,1,1,1,2,1,1,1,8,1,1,1,2,1,1,1,4,1,1,1,2,1,1,1,16,1,1,1,2,1,1,1,4,1,1,1,2,1,1,1,8,1,1,1,2,1,1,1,4,1,1,1,2,1,1,1,32,1,1,1,2,1,1,1,4,1,1,1,2,1,1,1,8,1,1,1,2,1,1,1,4,1,1,1,... |
src/Categories/Category/Monoidal/Core.agda | MirceaS/agda-categories | 0 | 14249 | <reponame>MirceaS/agda-categories
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
-- Definition of Monoidal Category
-- Big design decision that differs from the previous version:
-- Do not go through "Functor.Power" to encode variables and work
-- at the level of NaturalIsomorphisms, instead work ... |
experimental/TwoConstancyHIT.agda | UlrikBuchholtz/HoTT-Agda | 1 | 834 | {-# OPTIONS --without-K #-}
{-
Favonia: I was trying to generalize OneSkeleton but failed
to achieve what I wanted. Nicolai then told me this HIT
which is suitable for the constancy lemma I was looking for.
This construction should be attributed to <NAME>
and <NAME>. [1]
[1] Eliminating Higher Truncatio... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1221b.ada | best08618/asylo | 7 | 19836 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1221b.ada
-- CC1221B.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
-- unlimi... |
libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_capacity.asm | teknoplop/z88dk | 8 | 82784 | <reponame>teknoplop/z88dk<filename>libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_capacity.asm
; size_t b_array_capacity(b_array_t *a)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC b_array_capacity
EXTERN asm_b_array_capacity
defc b_array_capacity = asm_b_array_capacity
|
src/lib/int10.asm | darK-Zi0n-te4am-cr3vv/cg | 1 | 84094 | include model.inc
include macro.inc
include lib\int10.inc
INT10 macro
int 10h
endm
; INT 10 services
INT10_SET_VMODE equ 00h
INT10_SET_CURSOR_PARAMS equ 01h
INT10_SET_CURSOR_POSITION equ 02h
INT10_SET_ACTIVE_PAGE equ 05h
INT10_GET_CURRENT_VMODE equ 0fh
.code
Int10_SetVideoMode proc uses ax bVMode : byt... |
fpb-6/talk.agda | FPBrno/FPBrno.github.io | 1 | 10073 | data ℕ : Set where
zero : ℕ
suc : ℕ → ℕ
{-# BUILTIN NATURAL ℕ #-}
_+_ : ℕ → ℕ → ℕ
zero + b = b
suc a + b = suc (a + b)
infix 100 _+_
data _≡_ : ℕ → ℕ → Set where
refl : {n : ℕ} → n ≡ n
sym : {n m : ℕ} → n ≡ m → m ≡ n
sym refl = refl
trans : {m n o : ℕ} → m ≡ n → n ≡ o → m ≡ o
trans refl p₂ = p₂
suc-inj : {m... |
src/Categories/Category/Equivalence/Properties.agda | bblfish/agda-categories | 5 | 13490 | <reponame>bblfish/agda-categories
{-# OPTIONS --without-K --safe #-}
module Categories.Category.Equivalence.Properties where
open import Level
open import Categories.Adjoint.Equivalence using (⊣Equivalence)
open import Categories.Adjoint.TwoSided using (_⊣⊢_; withZig)
open import Categories.Category.Core
open import... |
theorems/stash/modalities/NullifyFamily.agda | timjb/HoTT-Agda | 294 | 2336 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import stash.modalities.Orthogonality
module stash.modalities.NullifyFamily where
module _ {ℓ} {I : Type ℓ} (X : I → Type ℓ) (A : Type ℓ) where
private
data #NullifyAll : Type ℓ where
#inj : A → #NullifyAll
#apex : (i : I) →... |
libsrc/target/lviv/stdio/generic_console.asm | ahjelm/z88dk | 640 | 22406 |
SECTION code_himem
PUBLIC generic_console_cls
PUBLIC generic_console_printc
PUBLIC generic_console_scrollup
PUBLIC generic_console_set_ink
PUBLIC generic_console_set_paper
PUBLIC generic_console_set_attribute
PUBLIC generic_console_xypos
EXTERN CONSOLE_C... |
FormalAnalyzer/models/meta/cap_washerOperatingState.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 4574 |
// filename: cap_washerOperatingState.als
module cap_washerOperatingState
open IoTBottomUp
one sig cap_washerOperatingState extends Capability {}
{
attributes = cap_washerOperatingState_attr
}
abstract sig cap_washerOperatingState_attr extends Attribute {}
one sig cap_washerOperatingState_attr_machineState extends... |
scripts/diglettscaveroute11.asm | adhi-thirumala/EvoYellow | 16 | 164393 | DiglettsCaveEntranceRoute11Script:
call EnableAutoTextBoxDrawing
ld a, ROUTE_11
ld [wLastMap], a
ret
DiglettsCaveEntranceRoute11TextPointers:
dw DiglettsCaveEntranceRoute11Text1
DiglettsCaveEntranceRoute11Text1:
TX_FAR _DiglettsCaveEntRoute11Text1
db "@"
|
test/fail/WithoutK10.agda | np/agda-git-experiment | 1 | 5351 | <filename>test/fail/WithoutK10.agda
{-# OPTIONS --without-K --show-implicit #-}
module WithoutK10 where
data Unit : Set where
unit : Unit
data D {A : Set} (f : Unit → A) : A → Set where
d : ∀ {x} → D f x
Foo : ∀ {A} {x : A} → D (let f = λ { unit → x } in f) x → Set₁
Foo d = Set
|
GQLLexer.g4 | cangfengzhs/gql-grammar | 0 | 844 | <gh_stars>0
// $antlr-format columnLimit 150
// $antlr-format groupedAlignments false
lexer grammar GQLLexer;
SPACE: [ \t\r\n]+ -> channel(HIDDEN);
/* reserved word */
END_NODE: 'endNode';
IN_DEGREE: 'inDegree';
L_TRIM: 'lTrim';
OUT_DEGREE: 'outDegree';
PERCENTILE_CONT: 'percentileCont'... |
oeis/024/A024444.asm | neoneye/loda-programs | 11 | 172508 | <gh_stars>10-100
; A024444: Expansion of 1/((1-x)(1-7x)(1-10x)(1-11x)).
; Submitted by <NAME>
; 1,29,556,8886,128247,1735335,22472122,281988512,3456550933,41615912481,494043113928,5799461900778,67460105552659,778834444699067,8935702988139574,101983512655795284,1158765208828679025
add $0,2
lpb $0
sub $0,1
add $2,2
... |
software/modules/buildinfo.adb | TUM-EI-RCS/StratoX | 12 | 2503 | with MyStrings; use MyStrings;
package body Buildinfo with SPARK_Mode is
function Short_Datetime return String is
l_date : constant String := Compilation_ISO_Date;
b_time : constant String := Strip_Non_Alphanum (Compilation_Time);
b_date : constant String := Strip_Non_Alphanum (l_date (l_date'Fir... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0.log_21829_495.asm | ljhsiun2/medusa | 9 | 177134 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1599, %r14
nop
nop
nop
nop
and $15944, %r10
movw $0x6162, (%r14)
nop
nop
nop
nop
dec %r14
lea addresses_D_ht+0x151e9, %rsi
lea addresses_D_ht+0x1e349, %rdi
nop
nop
nop
xor %r... |
Task/N-queens-problem/Ada/n-queens-problem-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 20084 | <filename>Task/N-queens-problem/Ada/n-queens-problem-2.ada
with Ada.Text_IO;
use Ada.Text_IO;
procedure CountQueens is
function Queens (N : Integer) return Long_Integer is
A : array (0 .. N) of Integer;
U : array (0 .. 2 * N - 1) of Boolean := (others => true);
V : array (0 .. 2 * N - 1) of... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-nbnbre.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 7423 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-nbnbre.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx/zx_01_output_fzx_proc_move_left_right.asm | meesokim/z88dk | 0 | 4995 | <filename>libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_fzx/zx_01_output_fzx_proc_move_left_right.asm
SECTION code_fcntl
PUBLIC zx_01_output_fzx_proc_move_left_right
EXTERN l_divu_hl
zx_01_output_fzx_proc_move_left_right:
; helper for left/right functions
;
; on stack = return, function addre... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr9.ads | best08618/asylo | 7 | 4294 | with Aggr9_Pkg; use Aggr9_Pkg;
package Aggr9 is
procedure Proc (X : R1);
end Aggr9;
|
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48_notsx.log_21829_1950.asm | ljhsiun2/medusa | 9 | 5351 | <filename>Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48_notsx.log_21829_1950.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xead2, %rbp
nop
nop
nop
nop
nop
xor %rcx, %rcx
movw $0x6162, (%rbp)
nop
nop
n... |
sse/mb_mgr_hmac_submit_ni_sse.asm | kingwelx/intel-ipsec-mb | 0 | 28817 | ;;
;; Copyright (c) 2012-2018, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and... |
oeis/259/A259160.asm | neoneye/loda-programs | 11 | 92473 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A259160: Positive squares (A000290) that are octagonal numbers (A000567) divided by 2.
; Submitted by <NAME>(s3)
; 4,39204,376437604,3614553835204,34706945549192004,333256087548787788004,3199924917936514791223204,30725678728770327476537417604,295027963953727766493197492... |
oeis/017/A017818.asm | neoneye/loda-programs | 11 | 241193 | ; A017818: Expansion of 1/(1-x^3-x^4-x^5).
; Submitted by <NAME>
; 1,0,0,1,1,1,1,2,3,3,4,6,8,10,13,18,24,31,41,55,73,96,127,169,224,296,392,520,689,912,1208,1601,2121,2809,3721,4930,6531,8651,11460,15182,20112,26642,35293,46754,61936,82047,108689,143983,190737,252672,334719,443409,587392,778128,1030800,1365520,1808929,... |
include/strings_h.ads | docandrew/troodon | 5 | 18254 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with System;
with stddef_h;
with Interfaces.C.Strings;
with bits_types_locale_t_h;
package strings_h is
-- Copyright (C) 1991-2021 Free Software Foundation, Inc.
-- This file is part of the GNU C Library.
-- The GNU C Library ... |
llvm-gcc-4.2-2.9/gcc/ada/bindusg.adb | vidkidz/crossbridge | 1 | 26643 | <filename>llvm-gcc-4.2-2.9/gcc/ada/bindusg.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
src/test/resources/RegistryParser.g4 | google/polymorphicDSL | 3 | 3266 | parser grammar RegistryParser;
import AlphaParser, BetaParser;
options {tokenVocab=RegistryLexer;}
|
Sources/Interfaces/keyboard.adb | ForYouEyesOnly/Space-Convoy | 1 | 24437 | <filename>Sources/Interfaces/keyboard.adb
--
-- Jan & <NAME>, Australia, July 2011
--
package body Keyboard is
-----------------------
-- Keyboard Commands --
-----------------------
procedure Get_Keys (Commands : in out Commands_Array;
Selected_Keyboard : access GLUT.Devices.Keyboa... |
BASICLanguageParser.Grammar/jvmBasic.g4 | ssorrrell/ECB2_Lib | 0 | 192 |
grammar jvmBasic;
/*
[The "BSD licence"]
Copyright (c) 2012 <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of... |
programs/oeis/242/A242112.asm | neoneye/loda | 22 | 2806 | ; A242112: a(n) = floor((2*n+6)/(5-(-1)^n)).
; 1,1,2,2,3,2,4,3,5,4,6,4,7,5,8,6,9,6,10,7,11,8,12,8,13,9,14,10,15,10,16,11,17,12,18,12,19,13,20,14,21,14,22,15,23,16,24,16,25,17,26,18,27,18,28,19,29,20,30,20,31,21,32,22,33,22,34,23,35,24,36
mov $1,$0
mod $1,2
add $1,2
div $0,$1
add $0,1
|
Cubical/HITs/Cost.agda | dan-iel-lee/cubical | 0 | 12190 | <reponame>dan-iel-lee/cubical
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.Cost where
open import Cubical.HITs.Cost.Base
|
test/link/align4/module1.asm | nigelperks/BasicAssembler | 0 | 166111 | IDEAL
SEGMENT ALL PUBLIC
ASSUME CS:ALL,DS:ALL,ES:ALL,SS:ALL
start:
EXTRN _aa:WORD,_dd:BYTE,_bb:WORD,fini:BYTE
mov ax, [_aa]
mov cl, [_dd]
mov si, OFFSET _bb
mov di, OFFSET fini
int 20h
ENDS ALL
END start
|
Telist.asm | CallMeMengMeng/ASSEMBLY-LANGUAGE | 0 | 1796 | <reponame>CallMeMengMeng/ASSEMBLY-LANGUAGE
; WRITE A SUB-PROGRAM NESTED STRUCTURE PROGRAM MODULE, INPUT THE NAME AND 8-CHARACTER PHONE NUMBER
; THE KEYBOARD, AND DISPLAY IT IN A CERTAIN FORMAT.
; MAIN PROGRAM 'TELIST'
; DISPLAY PROMPT 'INPUTNAME'
; CALL THE SUBPROGRAM 'INPUT_NAME' to INPUT THE NAME
; Display promp... |
cipher/serpent/serpent-internal.asm | jfehren/Crypto | 0 | 26058 | <reponame>jfehren/Crypto
.macro vnotpd x, y
vxorpd %xmm12, \x, \y
.endm
/* Transpose a 4x4 matrix, using 4 xmm registers as rows of 4 32-bit integers */
.macro TRANSPOSE a,b,c,d
/* Code adapted from the Intel x86 Assembly Intrinsic _MM_TRANSPOSE4_PS.
The function of this intrinsic, as well as others, can be... |
programs/oeis/001/A001533.asm | neoneye/loda | 22 | 14985 | <filename>programs/oeis/001/A001533.asm
; A001533: (8n+1)(8n+7).
; 7,135,391,775,1287,1927,2695,3591,4615,5767,7047,8455,9991,11655,13447,15367,17415,19591,21895,24327,26887,29575,32391,35335,38407,41607,44935,48391,51975,55687,59527,63495,67591,71815,76167,80647,85255,89991,94855,99847,104967,110215,115591,121095,1267... |
src/asis/asis-ids.ads | My-Colaborations/dynamo | 15 | 5258 | ------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT INTERFACE COMPONENTS --
-- --
-- ... |
src/main/resources/compressor/header.asm | yottatsa/basicv2 | 71 | 94498 | *=$0801
.byte $15 $08 $00 $00 $9e $32 $30 $37 $32 $3a $8f $20 $4d $4f $53 $43 $4f $4d $50 $00 $00 $00 $00
MEMSTART=2049
MEMEND=53248
COPYFROM=$61
COPYTO=$63
COPYLEN=$65
DATAPOS=$69
TOTALLEN=$6B
COMPPOS=$6D
SCREEN=$0400
lda #<decruncher
sta COPYFROM
lda #>decruncher
sta COPYFROM+1
... |
src/keystore-io-files.adb | thierr26/ada-keystore | 0 | 12512 | <reponame>thierr26/ada-keystore
-----------------------------------------------------------------------
-- keystore-io-files -- Ada keystore IO for files
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ex... |
16-bit-boot-sector/boot-sector.asm | AkselsLedins/kas-os | 0 | 175551 | <filename>16-bit-boot-sector/boot-sector.asm
; Often loaded into 0x7c00
[org 0x7c00] ; set the offset to bootsector code
mov bx, WELCOME
call print
call print_nl
mov bp, 0x8000 ; set the stack far from us
mov sp, bp
mov bx, 0x9000
mov dh, 2 ; read 2 sectors
call disk_load
; Infinite loop (... |
stats/creditsnew.asm | KScl/z3rasm | 0 | 163486 | ;===================================================================================================
CreditsLineTable:
fillword CreditsLineBlank : fill 800
;===================================================================================================
!CLINE = -1
;---------------------------------------------... |
ugbc/src/hw/6502/sqr.asm | Samuel-DEVULDER/ugbasic | 10 | 105024 | ; Square Root Calculator by <NAME>
;
; How to calculate the 8-bit unsigned integer square root of an unsigned 16-bit integer.
; By <NAME> (<EMAIL>), 23 July 2001.
; Calculates the 8 bit root and 9 bit remainder of a 16 bit unsigned integer in
; Numberl/Numberh. The result is always in the range 0 to 255 and is held in
... |
QueryParser/src/main/antlr/QueryParser.g4 | samuylov/CodeSamples | 0 | 3752 | parser grammar QueryParser;
options {tokenVocab = QueryLexer;}
@header {
import ru.samuylov.queryparser.*;
import ru.samuylov.queryparser.expressions.*;
import ru.samuylov.queryparser.expressions.atomic.*;
import ru.samuylov.queryparser.expressions.combined.*;
import org.apache.commons.lang3.text.translate.Lo... |
MSDOS/Virus.MSDOS.Unknown.gv.asm | fengjixuchui/Family | 3 | 160653 | xor cx,cx
mov dx,offset File
mov ah,4eh
int 21h
z:
mov dx,9eh
mov ax,3d02h
int 21h
mov bx,ax
mov dx,100h
mov cl,27h
mov ah,40h
int 21h
mov ah,3eh
int 21h
mov ah,4fh
int 21h
jnc z
ret
file db '*.com',0
e: |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/based_numbers.ads | ouankou/rose | 488 | 8424 | package Based_Numbers is
TWO_HUNDRED_FIFTY_FIVE_0 : constant := 255;
TWO_HUNDRED_FIFTY_FIVE_1 : constant := 2#1111_1111#;
TWO_HUNDRED_FIFTY_FIVE_2 : constant := 16#FF#;
TWO_HUNDRED_FIFTY_FIVE_3 : constant := 016#0FF#;
TWO_HUNDRED_TWENTY_FOUR_0 : constant := 224;
TWO_HUNDRED_TWENTY_FOUR_1 : constant := 16... |
Transynther/x86/_processed/NC/_st_zr_4k_sm_/i7-7700_9_0x48.log_1900_1631.asm | ljhsiun2/medusa | 9 | 174519 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xb261, %rsi
lea addresses_WT_ht+0x111e1, %rdi
clflush (%rsi)
nop
nop
nop
dec %r14
mov $53, %rcx
rep movsb
nop
nop
nop
nop
nop
sub %rcx, %rcx
lea addresses_UC_... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_982.asm | ljhsiun2/medusa | 9 | 247202 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xe063, %rsi
lea addresses_D_ht+0x1b317, %rdi
clflush (%rsi)
nop
nop
nop
and $38662, %r8
mov $94, %rcx
rep movsw
nop
nop
nop
and %rdx, %rdx
lea addresses_UC_ht+0xa963, %r14
... |
agda/par-swap/dpg-pot.agda | florence/esterel-calculus | 3 | 4591 | <gh_stars>1-10
module par-swap.dpg-pot where
open import Data.Empty
open import Data.Product
open import Data.Sum
open import Data.Bool
open import Data.List using ([] ; [_] ; _∷_ ; List ; _++_)
open import Relation.Binary.PropositionalEquality
using (_≡_ ; refl ; sym)
open import Data.Maybe using ()
open import Dat... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/mak.lzh/mak/kart-ppu-j.asm | prismotizm/gigaleak | 0 | 105188 | Name: kart-ppu-j.asm
Type: file
Size: 21805
Last-Modified: '1992-08-06T07:17:26Z'
SHA-1: F8D5CDE0B6E06303DB14FBF6173C6EBE13120584
Description: null
|
src/kernel/arch/x86_64/gdt.asm | Abb1x/tisix | 13 | 96279 | <reponame>Abb1x/tisix
bits 64
global gdt_update
gdt_update:
lgdt [rdi]
mov ax, 0x10
mov ss, ax
mov ds, ax
mov es, ax
pop rdi
mov rax, 0x8
push rax
push rdi
retfq
global tss_update
tss_update:
mov ax, 0x28
ltr ax
ret |
test/Fail/Issue4986a.agda | cruhland/agda | 1,989 | 2442 | <filename>test/Fail/Issue4986a.agda
postulate
A : Set
open import Agda.Builtin.Equality
foo : (f : A → A → A) (@0 g : @0 A → @0 A → A)
→ @0 _≡_ {A = @0 A → @0 A → A} g (\ x y → f y x)
→ @0 A → @0 A → A
foo f g refl = g
-- In the goal, `C-c C-n g` gives
-- λ (@0 x) (@0 y) → f y x
-- which is only well... |
experiments/test-suite/mutation-based/10/7/ctree.als | kaiyuanw/AlloyFLCore | 1 | 2058 | <filename>experiments/test-suite/mutation-based/10/7/ctree.als
pred test20 {
some disj Red0: Red {some disj Blue0: Blue {some disj Red0, Blue0: Color {some disj Node0, Node1, Node2: Node {
Red = Red0
Blue = Blue0
Color = Red0 + Blue0
Node = Node0 + Node1 + Node2
neighbors = Node0->Node1 + Node0->Node2 + Node1->Node0 + ... |
s3d/music-original/VVZ1.asm | Cancer52/flamedriver | 9 | 246808 | Snd_VVZ1_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Snd_VVZ1_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $1D
smpsHeaderDAC Snd_VVZ1_DAC
smpsHeaderFM Snd_VVZ1_FM1, $00, $18
smpsHeaderFM Snd_VVZ1_FM2, $0C, $0F
smpsHeaderFM Snd_VVZ1_FM3, $F4, $10
smpsHeaderFM ... |
dataToTestOn/asm/4/prog03.asm | Epacik/8051-ASM-Plugin | 1 | 246133 | <filename>dataToTestOn/asm/4/prog03.asm
LJMP START
ORG 100H
START:
CALL LCD_CLR
KLAWISZ:
CALL WAIT_KEY
RRC A
CPL C
MOV P1.7, C
SJMP KLAWISZ |
oeis/276/A276868.asm | neoneye/loda-programs | 11 | 83619 | ; A276868: First differences of the Beatty sequence A276855 for 3 + tau, where tau = golden ratio = (1 + sqrt(5))/2.
; Submitted by <NAME>
; 4,5,4,5,5,4,5,4,5,5,4,5,5,4,5,4,5,5,4,5,4,5,5,4,5,5,4,5,4,5,5,4,5,5,4,5,4,5,5,4,5,4,5,5,4,5,5,4,5,4,5,5,4,5,4,5,5,4,5,5,4,5,4,5,5,4,5,5,4,5,4,5,5,4,5,4,5,5,4,5,5,4,5,4,5,5,4,5,5,4... |
02-bootsector-print/bl_print_function.asm | sreejithnt/os | 0 | 10054 | <gh_stars>0
;
; A simple boot sector that prints message to the screen using bios routine
;
[org 0x7c00] ; tell the assembler where this code should be loaded to
mov ah, 0x0e
mov bx, HELLO_MSG
call print_string
call print_nl
mov bx, GOODBYE_MSG
call print_string
call print_nl
mov dx, 0x12AF
call print_hex
jmp... |
oeis/021/A021583.asm | neoneye/loda-programs | 11 | 171085 | <gh_stars>10-100
; A021583: Decimal expansion of 1/579.
; Submitted by Jon Maiga
; 0,0,1,7,2,7,1,1,5,7,1,6,7,5,3,0,2,2,4,5,2,5,0,4,3,1,7,7,8,9,2,9,1,8,8,2,5,5,6,1,3,1,2,6,0,7,9,4,4,7,3,2,2,9,7,0,6,3,9,0,3,2,8,1,5,1,9,8,6,1,8,3,0,7,4,2,6,5,9,7,5,8,2,0,3,7,9,9,6,5,4,5,7,6,8,5,6,6,4
add $0,1
mov $2,10
pow $2,$0
div $2,57... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.