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/Succeed/Issue4481.agda | shlevy/agda | 1,989 | 3765 | <reponame>shlevy/agda
-- Andreas, 2020-03-26, issue #4481, reported by gallais
-- #952 unintentionally added named lambdas; tests here.
-- {-# OPTIONS --show-implicit #-}
-- {-# OPTIONS -v tc.term.expr.top:15 #-}
-- {-# OPTIONS -v tc.term.lambda:30 #-}
open import Agda.Primitive
-- Named lambdas:
postulate f : ({A... |
Chapter01-Basics/05-led-blink.asm | Dentrax/AVR-Programming-with-Assembly | 9 | 166308 | ; ====================================================
; DLL-Injection-with-Assembly Copyright(C) 2017 <NAME>
; This program comes with ABSOLUTELY NO WARRANTY; This is free software,
; and you are welcome to redistribute it under certain conditions; See
; file LICENSE, which is part of this source code package, for det... |
programs/oeis/218/A218324.asm | jmorken/loda | 1 | 243908 | <reponame>jmorken/loda
; A218324: Odd heptagonal pyramidal numbers
; 1,115,645,1911,4233,7931,13325,20735,30481,42883,58261,76935,99225,125451,155933,190991,230945,276115,326821,383383,446121,515355,591405,674591,765233,863651,970165,1085095,1208761,1341483,1483581,1635375,1797185,1969331
mul $0,4
add $0,3
lpb $0
su... |
alloy4fun_models/trainstlt/models/8/tMhw9sJ7n8nMZWNeZ.als | Kaixi26/org.alloytools.alloy | 0 | 626 | <reponame>Kaixi26/org.alloytools.alloy<gh_stars>0
open main
pred idtMhw9sJ7n8nMZWNeZ_prop9 {
always (all t:Train| (no t.pos => one (t.pos':>Entry)) )
}
pred __repair { idtMhw9sJ7n8nMZWNeZ_prop9 }
check __repair { idtMhw9sJ7n8nMZWNeZ_prop9 <=> prop9o } |
third_party/antlr_grammars_v4/upnp/Upnp.g4 | mikhan808/rsyntaxtextarea-antlr4-extension | 4 | 4431 | /*
[The "BSD licence"]
Copyright (c) 2017 <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 conditio... |
SVD2ada/svd/stm32_svd-gpio.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 1552 | <reponame>JCGobbi/Nucleo-STM32H743ZI<gh_stars>0
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32H743x.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.GPIO is
pragma Preelaborate;
---------------
-- Registers --
---------------
... |
classes/4/SeqFibonacci/Fibonacci01.asm | UFSCar-CS/computer-architecture-and-organization-2012-2 | 0 | 178555 | TITLE Fibonacci Sequence
; Author: @LucasDavid
;
; Revision:
INCLUDE Irvine32.inc
.data
fibonacci word 12 dup(?)
.code
main PROC
mov edx, OFFSET fibonacci
mov ax, 1
mov bx, 1
mov fibonacci, ax
mov fibonacci[2], ax
mov esi, 4 ;; // posiciona na terceira posicao
L1:
add ax, bx
mov fibonacci[esi], ax
... |
programs/oeis/167/A167387.asm | karttu/loda | 1 | 91973 | <gh_stars>1-10
; A167387: a(n) = (-1)^(n+1) * n*(n-1)*(n-4)*(n+1)/12.
; 1,-2,0,10,-35,84,-168,300,-495,770,-1144,1638,-2275,3080,-4080,5304,-6783,8550,-10640,13090,-15939,19228,-23000,27300,-32175,37674,-43848,50750,-58435,66960,-76384,86768,-98175,110670,-124320,139194,-155363,172900,-191880,212380,-234479,258258,-283... |
Library/Styles/Manip/manipTrans.asm | steakknife/pcgeos | 504 | 96799 | <reponame>steakknife/pcgeos
COMMENT @----------------------------------------------------------------------
Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Library/Styles
FILE: Manip/manipTrans.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
... |
programs/oeis/083/A083324.asm | karttu/loda | 0 | 13759 | <filename>programs/oeis/083/A083324.asm<gh_stars>0
; A083324: An alternating sum of decreasing powers.
; 1,3,11,45,191,813,3431,14325,59231,242973,990551,4019205,16249871,65522733,263668871,1059425685,4251986111,17050860093,68332318391,273716169765,1096025891951,4387588255053,17560809179111,70274609387445
mov $2,$0
ad... |
alloy4fun_models/trashltl/models/11/jGYKGwvwsnJ7JudFd.als | Kaixi26/org.alloytools.alloy | 0 | 5333 | open main
pred idjGYKGwvwsnJ7JudFd_prop12 {
some f:File | eventually f in Trash implies always f in Trash
}
pred __repair { idjGYKGwvwsnJ7JudFd_prop12 }
check __repair { idjGYKGwvwsnJ7JudFd_prop12 <=> prop12o } |
data/mapObjects/cinnabargym.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 20548 | <filename>data/mapObjects/cinnabargym.asm
CinnabarGymObject:
db $2e ; border block
db $2 ; warps
db $11, $10, $1, $ff
db $11, $11, $1, $ff
db $0 ; signs
db $9 ; objects
object SPRITE_BLAINE, $3, $3, STAY, DOWN, $1, OPP_BLAINE, $1
object SPRITE_BLACK_HAIR_BOY_2, $11, $2, STAY, DOWN, $2, OPP_SUPER_NERD, $9
ob... |
programs/oeis/095/A095832.asm | neoneye/loda | 22 | 97788 | <reponame>neoneye/loda
; A095832: Triangle read by rows: T(n,k) = (n-k+1)*(n-k), n>=1, 1<=k<=n.
; 0,2,0,6,2,0,12,6,2,0,20,12,6,2,0,30,20,12,6,2,0,42,30,20,12,6,2,0,56,42,30,20,12,6,2,0,72,56,42,30,20,12,6,2,0,90,72,56,42,30,20,12,6,2,0,110,90,72,56,42,30,20,12,6,2,0,132,110,90,72,56,42,30,20,12,6,2,0,156,132,110,90,72,... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_1_1755.asm | ljhsiun2/medusa | 9 | 82429 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1efa4, %rcx
nop
nop
nop
nop
add %rbx, %rbx
mov $0x6162636465666768, %rdx
movq %rdx, (%rcx)
nop
nop
nop
nop
nop
lfence
lea addresses_WT_ht+0x187a4, %... |
scripts/custom_terminal2item2.scpt | lroolle/ohmyalfred | 8 | 4343 | <reponame>lroolle/ohmyalfred
-- Custom Terminal run shell commands in New iTerm2 window
-- For iTerm 3.1.1+
on alfred_script(q)
run script "
on run {q}
tell application \"iTerm\"
activate
create window with default profile
select first window
... |
src/gnat/prj-env.ads | My-Colaborations/dynamo | 15 | 11983 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
preservation.agda | hazelgrove/hazelnat-myth- | 1 | 8588 | <reponame>hazelgrove/hazelnat-myth-<gh_stars>1-10
open import Nat
open import Prelude
open import List
open import contexts
open import core
open import lemmas-env
module preservation where
preservation : ∀{⛽ Δ Σ' Γ E e r k τ} →
Δ , Σ' , Γ ⊢ E →
Δ , Σ' , Γ ⊢ e :: τ →
... |
source/streams/machine-w64-mingw32/s-naiona.adb | ytomino/drake | 33 | 679 | <filename>source/streams/machine-w64-mingw32/s-naiona.adb
with Ada.Exception_Identification.From_Here;
with Ada.Exceptions.Finally;
with Ada.Unchecked_Conversion;
with System.Address_To_Named_Access_Conversions;
with System.Storage_Map;
with System.System_Allocators;
with System.Zero_Terminated_WStrings;
with C.string;... |
programs/oeis/038/A038058.asm | neoneye/loda | 22 | 179642 | ; A038058: Number of labeled trees with 2-colored nodes.
; 1,2,4,24,256,4000,82944,2151296,67108864,2448880128,102400000000,4829076871168,253613523861504,14681377947951104,928873060356849664,63772920000000000000,4722366482869645213696,375183514207494575620096,31834644439785603537567744,2873301064894278368461586432,2748... |
src/compiler/RQL.g4 | michalwidera/abracadabradb | 2 | 6252 | grammar RQL;
prog : ( select_statement
| declare_statement
| storage_statement
)+ EOF
;
storage_statement : STORAGE folder_name=STRING
# Storage
;
select_statement : SELEC... |
oeis/297/A297390.asm | neoneye/loda-programs | 11 | 98925 | ; A297390: Number of n X 3 0..1 arrays with every 1 horizontally, diagonally or antidiagonally adjacent to 1 neighboring 1.
; Submitted by <NAME>
; 3,9,19,57,139,369,963,2489,6523,16929,44147,114953,299307,779697,2030243,5287833,13770971,35864001,93402579,243249193,633503627,1649849553,4296752131,11190160825,2914285394... |
programs/oeis/088/A088821.asm | jmorken/loda | 1 | 175427 | ; A088821: a(n) is the sum of smallest prime factors of numbers from 1 to n.
; 0,2,5,7,12,14,21,23,26,28,39,41,54,56,59,61,78,80,99,101,104,106,129,131,136,138,141,143,172,174,205,207,210,212,217,219,256,258,261,263,304,306,349,351,354,356,403,405,412,414,417,419,472,474,479,481,484,486,545,547,608,610,613,615,620,622,... |
test/Succeed/SizeSucMonotone.agda | shlevy/agda | 3 | 5605 | <filename>test/Succeed/SizeSucMonotone.agda
-- Andreas, 2012-09-24 Ensure that size successor is monotone
-- Andreas, 2015-03-16 SizeUniv is still imperfect, so we need type-in-type
-- here to work around the conflation of sLub and the PTS rule.
{-# OPTIONS --type-in-type #-}
module SizeSucMonotone where
open import... |
libsrc/graphics/drawto.asm | meesokim/z88dk | 0 | 80187 | ;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
;
; $Id: drawto.asm,v 1.5 2015/01/19 01:32:46 pauloscustodio Exp $
;
;Usage: drawto(struct *pixels)
PUBLIC drawto
EXTERN swa... |
TI-86/inc/ascii.asm | aaronjamt/3-Player-Pong | 1 | 6277 | ; Convert 16-bit binary value to decimal, in ASCII format.
; HL = address to output 5-characters of ASCII + null to
; DE = value to convert to ASCII
Num2ASCII:
ld bc,-10000
call _Num1
ld bc,-1000
call _Num1
ld bc,-100
call _Num1
ld c,-10
call _Num1
ld c,b
_Num1:
ld a,'0'-1
_Num2:
inc a
push hl
ld h,d
ld l... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-cofuba.adb | orb-zhuchen/Orb | 0 | 15755 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
programs/oeis/197/A197903.asm | neoneye/loda | 22 | 4043 | ; A197903: Ceiling((n+1/n)^4).
; 16,40,124,327,732,1447,2604,4359,6892,10407,15132,21319,29244,39207,51532,66567,84684,106279,131772,161607,196252,236199,281964,334087,393132,459687,534364,617799,710652,813607,927372,1052679,1190284,1340967,1505532,1684807,1879644,2090919,2319532,2566407,2832492,3118759,3426204,3755847... |
programs/oeis/082/A082655.asm | neoneye/loda | 22 | 169473 | <gh_stars>10-100
; A082655: Number of distinct letters needed to spell English names of numbers 1 through n.
; 3,5,7,9,11,13,13,14,14,14,15,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16
mul $0,2
mov $... |
opengl-check.adb | io7m/coreland-opengl-ada | 1 | 3866 | with OpenGL.Error;
package body OpenGL.Check is
procedure State_OK
(Message : in String := "")
is
use type Error.Error_t;
Error_Value : constant Error.Error_t := Error.Get_Error;
begin
if Error_Value /= Error.No_Error then
if Message'Length /= 0 then
Raise_Exception (Message & ": ... |
source/nodes/program-nodes-attribute_references.ads | reznikmm/gela | 0 | 27871 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Expressions;
with Program.Lexical_Elements;
with Program.Elements.Identifiers;
with Program.Elements.Attribute_References;
with Program.Element_Visit... |
color/dmg.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 4001 | ; This gets run when you try to play it on a DMG. Shows an error message, plays a jingle.
; There's a copy of the audio engine in bank $31 that's used for this, hasn't been
; disassembled for now...
RunDmgError:
ld hl,Code_d000
ld de,$d000
ld b,Code_d000_end-Code_d000
.codeCopyLoop
ld a,[hli]
ld [de],a
inc de
... |
os/lib/shift.asm | SimonFJ20/jdh-8 | 911 | 93979 | ; OS-BUNDLED SHIFT (LEFT/RIGHT) OPS
; INCLUDED IN OSTEXT.ASM
; SHIFT LEFT
; a: number to shift
; b: number of times to shift
shl:
push b
jz b, [.done]
clb
.shift:
; a + a equivalent to left shift
add a, a
dec b
jnz b, [.shift]
.done:
pop b
ret
; SHIFT LEFT (16-bit)
; a, b: number to shift
; c: times... |
agda/Data/List/Filter.agda | oisdk/combinatorics-paper | 0 | 1164 | {-# OPTIONS --cubical --safe #-}
module Data.List.Filter where
open import Prelude
open import Data.List
open import Data.List.Membership
open import Data.Sigma.Properties
open import Data.Bool.Properties
open import Data.Fin
module _ {p} {P : A → Type p} where
filter : (P? : ∀ x → Dec (P x)) → List A → List (∃ P)... |
source/containers/a-coinve.adb | ytomino/drake | 33 | 7306 | with Ada.Containers.Array_Sorting;
with Ada.Unchecked_Conversion;
with Ada.Unchecked_Deallocation;
with System.Address_To_Named_Access_Conversions;
with System.Growth;
with System.Long_Long_Integer_Types;
package body Ada.Containers.Indefinite_Vectors is
pragma Check_Policy (Validate => Ignore);
use type Copy_On_... |
programs/oeis/098/A098390.asm | neoneye/loda | 22 | 103396 | ; A098390: Prime(n)+Log2(prime(n)), where Log2=A000523.
; 3,4,7,9,14,16,21,23,27,33,35,42,46,48,52,58,64,66,73,77,79,85,89,95,103,107,109,113,115,119,133,138,144,146,156,158,164,170,174,180,186,188,198,200,204,206,218,230,234,236,240,246,248,258,265,271,277,279
seq $0,40 ; The prime numbers.
mov $1,$0
lpb $1
add $0,... |
testsuite/league/TN-331/test_331.adb | svn2github/matreshka | 24 | 2804 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
tests/test5.asm | JiahaoChenConor/COMP2017-Virtual_Machine | 0 | 169632 | FUNC LABEL 0
MOV STK A VAL 10
REF REG 0 STK A
CAL VAL 1
PRINT STK A
RET
FUNC LABEL 1
MOV STK A REG 0
REF REG 0 STK A
CAL VAL 5
RET
FUNC LABEL 5
MOV STK A REG 0
MOV STK B PTR A
MOV PTR B VAL 11
RET
|
1-base/lace/source/strings/lace-strings-search.adb | charlie5/lace | 20 | 2969 | with
System;
package body lace.Strings.Search
is
use Ada.Strings.Maps,
System;
-----------------------
-- Local Subprograms --
-----------------------
function Belongs
(Element : Character;
Set : Maps.Character_Set;
Test : Membership) return Boolean;
pragma In... |
programs/oeis/194/A194715.asm | karttu/loda | 1 | 15589 | <reponame>karttu/loda
; A194715: 15 times triangular numbers.
; 0,15,45,90,150,225,315,420,540,675,825,990,1170,1365,1575,1800,2040,2295,2565,2850,3150,3465,3795,4140,4500,4875,5265,5670,6090,6525,6975,7440,7920,8415,8925,9450,9990,10545,11115,11700,12300,12915,13545,14190,14850,15525,16215,16920,17640,18375,19125,1989... |
alloy4fun_models/trashltl/models/5/Je9uBa3bvBEzF7qFe.als | Kaixi26/org.alloytools.alloy | 0 | 3583 | <gh_stars>0
open main
pred idJe9uBa3bvBEzF7qFe_prop6 {
all f : File | always (f in Trash implies always f in Trash)
}
pred __repair { idJe9uBa3bvBEzF7qFe_prop6 }
check __repair { idJe9uBa3bvBEzF7qFe_prop6 <=> prop6o } |
Snippets/Weekday Based Alarm.applescript | rogues-gallery/applescript | 360 | 2163 | <reponame>rogues-gallery/applescript
set datte to current date
set dayy to weekday of datte as text
if dayy contains "Monday" then
display dialog "yes"
end if
|
include/alloca_h.ads | docandrew/troodon | 5 | 6102 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with stddef_h;
with System;
package alloca_h is
-- arg-macro: procedure alloca (size)
-- __builtin_alloca (size)
-- Copyright (C) 1992-2021 Free Software Foundation, Inc.
-- This file is part of the GNU C Library.
-- ... |
c++/compilers/xCode/ProjBuilder.applescript | OpenHero/gblastn | 31 | 3363 | <reponame>OpenHero/gblastn
(* $Id: ProjBuilder.applescript 168971 2009-08-24 10:53:56Z lebedev $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/datab... |
heroic-parser/src/main/antlr4/com/spotify/heroic/grammar/HeroicQuery.g4 | gaurav46/heroic | 0 | 7403 | /**
* Define a grammar called Hello
*/
grammar HeroicQuery;
queries
: (query QuerySeparator)* query EOF
;
query
: select from where? groupBy?
;
select
: All
| valueExpr
;
from
: From Identifier sourceRange?
;
where
: Where filter
;
groupBy
: GroupBy listValues
... |
src/edu/mit/compilers/grammar/DecafScanner.g4 | devinmorgan/6035-compiler | 0 | 2487 | lexer grammar DecafScanner;
options
{
language = 'Java';
superClass = 'Lexer'; //class DecafScanner extends Lexer;
}
@lexer::header {
package edu.mit.compilers.grammar;
}
// Selectively turns on debug tracing mode.
// You can insert arbitrary Java code into your parser/lexer this way.
@lexer::memebers
{
/*... |
Sandbox/Pred.agda | banacorn/numeral | 1 | 719 | <reponame>banacorn/numeral<gh_stars>1-10
module Sandbox.Pred where
open import Data.Num
open import Data.Num.Properties
open import Data.Nat
open import Data.Fin using (Fin; suc; zero; #_)
open import Data.Vec
open import Relation.Nullary.Decidable using (True; fromWitness)
open import Relation.Binary.PropositionalEq... |
programs/oeis/189/A189661.asm | neoneye/loda | 22 | 80796 | ; A189661: Fixed point of the morphism 0->010, 1->10 starting with 0.
; 0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,1,0,0,1,0,1,0,0
mov $3,2
mov $5,$0
lpb $3
mov $0,$5
sub $3,... |
3-mid/opengl/source/platform/egl/private/thin/egl-pointers.ads | charlie5/lace | 20 | 1058 | package eGL.Pointers
is
type Display_Pointer is access all eGL.Display;
type NativeWindowType_Pointer is access all eGL.NativeWindowType;
type NativePixmapType_Pointer is access all eGL.NativePixmapType;
type EGLint_Pointer is access all eGL.EGLint;
type EGLBoolean_Pointer is ac... |
tests/typing/bad/testfile-inout-2.adb | xuedong/mini-ada | 0 | 15656 | <reponame>xuedong/mini-ada<filename>tests/typing/bad/testfile-inout-2.adb
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
procedure P(X: in Integer) is begin X := 0; end;
begin
P(42);
end;
|
Aurora/Aurora/x64/Debug/block.asm | manaskamal/aurora-xeneva | 8 | 82160 | <reponame>manaskamal/aurora-xeneva<filename>Aurora/Aurora/x64/Debug/block.asm
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC ?block_list_head@@3PEAU_thread_@@EA ; block_list_head
PUBLIC ?block_list_last@@3PEAU_thread_@... |
SOAS/Metatheory/Monoid.agda | JoeyEremondi/agda-soas | 39 | 17538 | <reponame>JoeyEremondi/agda-soas
open import SOAS.Common
open import SOAS.Families.Core
open import Categories.Object.Initial
open import SOAS.Coalgebraic.Strength
import SOAS.Metatheory.MetaAlgebra
-- Monoids with ⅀-algebra structure
module SOAS.Metatheory.Monoid {T : Set}
(⅀F : Functor 𝔽amiliesₛ 𝔽amiliesₛ) (⅀:S... |
oeis/121/A121613.asm | neoneye/loda-programs | 11 | 174591 | ; A121613: Expansion of psi(-x)^4 in powers of x where psi() is a Ramanujan theta function.
; Submitted by <NAME>
; 1,-4,6,-8,13,-12,14,-24,18,-20,32,-24,31,-40,30,-32,48,-48,38,-56,42,-44,78,-48,57,-72,54,-72,80,-60,62,-104,84,-68,96,-72,74,-124,96,-80,121,-84,108,-120,90,-112,128,-120,98,-156,102,-104,192,-108,110,-1... |
3-mid/opengl/source/lean/model/opengl-model-sphere-textured.ads | charlie5/lace | 20 | 14061 | with
openGL.Font,
openGL.Geometry;
package openGL.Model.sphere.textured
--
-- Models a textured sphere.
--
is
type Item is new Model.sphere.item with -- TODO: Make private.
record
Image : asset_Name := null_Asset; -- Usually a mercator projection to be mapped onto the spher... |
src/generic_cobs.ads | damaki/cobs | 1 | 5551 | <filename>src/generic_cobs.ads
-------------------------------------------------------------------------------
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and associated documentation files (the "Software"),
-- to deal in the So... |
samples/nes/player_cntrl_NROM-128/data/dog_gfx.asm | 0x8BitDev/MAPeD-SPReD | 23 | 171224 | ;#######################################################
;
; Generated by SPReD-NES Copyright 2017-2019 0x8BitDev
;
;#######################################################
SPR_MODE_8X16 = 1
;chr0: .incbin "dog_gfx_chr0.bin" ; 512 of 1024 bytes
dog_gfx_palette:
.byte $21, $38, $16, $0D, $21, $14, $24, $34,... |
src/conversion.ads | joffreyhuguet/curve25519-spark2014 | 4 | 1587 | <gh_stars>1-10
with Big_Integers; use Big_Integers;
with Types; use Types;
with Construct_Conversion_Array;
package Conversion with
SPARK_Mode,
Ghost
is
pragma Annotate (GNATprove, Terminating, Conversion);
Conversion_Array : constant Conversion_Array_Type
:= Construct_Conversion_Array.Conversio... |
src/model/l_system/lse-model-l_system-l_system.ads | mgrojo/lsystem-editor | 2 | 8695 | -------------------------------------------------------------------------------
-- LSE -- L-System Editor
-- Author: Heziode
--
-- License:
-- MIT License
--
-- Copyright (c) 2018 <NAME> (Heziode) <<EMAIL>>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- copy of this software and... |
alloy4fun_models/trashltl/models/9/Wjz5cbEi6YasADyfm.als | Kaixi26/org.alloytools.alloy | 0 | 1645 | <reponame>Kaixi26/org.alloytools.alloy<filename>alloy4fun_models/trashltl/models/9/Wjz5cbEi6YasADyfm.als
open main
pred idWjz5cbEi6YasADyfm_prop10 {
(all f:File&Protected | always f in Protected)
}
pred __repair { idWjz5cbEi6YasADyfm_prop10 }
check __repair { idWjz5cbEi6YasADyfm_prop10 <=> prop10o } |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_988.asm | ljhsiun2/medusa | 9 | 26098 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x9897, %rsi
lea addresses_A_ht+0x10e3f, %rdi
nop
nop
nop
and $4438, %r15
mov $68, %rcx
rep movsl
nop
nop
nop
nop
nop
and $19460, %r8
lea addresses_WC_ht+0x1306f, %rdi
sub $15370, %rbp
mov (%rdi), ... |
source/nls/machine-pc-linux-gnu/s-naenen.ads | ytomino/drake | 33 | 25229 | <reponame>ytomino/drake<gh_stars>10-100
pragma License (Unrestricted);
-- implementation unit specialized for FreeBSD (or Linux)
with Ada.IO_Exceptions;
with Ada.Streams;
with C.iconv;
package System.Native_Environment_Encoding is
-- Platform-depended text encoding.
pragma Preelaborate;
use type C.char_array... |
make/ddk_build/cpprtl_test.sys.project/ntke_cpprtl.syslib/AMD64/eh_execute_handler.x64.asm | 133a/project_ntke_cpprtl | 12 | 6913 | <reponame>133a/project_ntke_cpprtl
include eh/table_based/_x64/eh_execute_handler.x64.asm
|
ioctl/IokNotify.asm | osfree-project/FamilyAPI | 1 | 81664 | <filename>ioctl/IokNotify.asm
;--------------------------------------------------------
; Category 4 Function 55H Notify of Change of Foreground Session
;--------------------------------------------------------
;
;
;
IOKNOTIFY PROC NEAR
RET
IOKNOTIFY ENDP
|
programs/oeis/317/A317301.asm | neoneye/loda | 22 | 566 | ; A317301: Sequence obtained by taking the general formula for generalized k-gonal numbers: m*((k - 2)*m - k + 4)/2, where m = 0, +1, -1, +2, -2, +3, -3, ... and k >= 5. Here k = 1.
; 0,1,-2,1,-5,0,-9,-2,-14,-5,-20,-9,-27,-14,-35,-20,-44,-27,-54,-35,-65,-44,-77,-54,-90,-65,-104,-77,-119,-90,-135,-104,-152,-119,-170,-13... |
03. 8086/04. Split and Copy.asm | nitrece/microprocessor-laboratory | 0 | 88528 | <gh_stars>0
; Q 4>
; a> To store the elements of a given array in 2 separate arrays
; comprising of even and odd elements
SW 2000h
[2000h] = 2006h ; Address of source array A[]
[2002h] = 2014h ; Address to even array E[]
[2004h] = 2024h ; Address to odd array O[]
[2006h] = 0006h ; A.length = 6
... |
oeis/128/A128116.asm | neoneye/loda-programs | 11 | 244240 | ; A128116: A128064 * A122432.
; Submitted by <NAME>
; 1,5,2,12,7,3,22,15,9,4,35,26,18,11,5,51,40,30,21,13,6,70,57,45,34,24,15,7,92,77,63,50,38,27,17,8,117,100,84,69,55,42,30,19,9,145,126,108,91,75,60,46,33,21,10
lpb $0
add $1,1
sub $0,$1
lpe
sub $1,$0
mul $0,2
add $0,$1
add $0,2
add $0,$1
add $0,$1
mul $1,$0
add $... |
oeis/050/A050621.asm | neoneye/loda-programs | 11 | 27590 | ; A050621: Smallest n-digit number divisible by 2^n.
; 2,12,104,1008,10016,100032,1000064,10000128,100000256,1000000512,10000001024,100000002048,1000000004096,10000000008192,100000000016384,1000000000032768,10000000000065536,100000000000131072,1000000000000262144,10000000000000524288,100000000000001048576,1000000000000... |
test/asset/agda-stdlib-1.0/Data/Unit/Base.agda | omega12345/agda-mode | 0 | 14854 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- The unit type and the total relation on unit
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Unit.Base where
----------------------------... |
oeis/312/A312475.asm | neoneye/loda-programs | 11 | 94605 | <filename>oeis/312/A312475.asm
; A312475: Coordination sequence Gal.3.16.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.
; Submitted by <NAME>
; 1,4,8,14,18,22,26,30,36,40,44,48,52,58,62,66,70,74,80,84,88,92,96,102,106,110,114,118,12... |
fox32os/kernel/fxf/reloc.asm | ry755/fox32 | 6 | 177498 | ; FXF relocation routines
; relocate a FXF binary
; inputs:
; r0: pointer to memory buffer containing a FXF binary
; outputs:
; r0: relocation address
fxf_reloc:
push r1
push r2
push r3
push r4
push r5
; calculate relocation address
mov r5, r0
add r5, FXF_CODE_PTR
mov r5, [r5]
... |
src/H-level/Truncation.agda | nad/equality | 3 | 13779 | <gh_stars>1-10
------------------------------------------------------------------------
-- Truncation, defined as a HIT
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --safe #-}
-- The beginning of this module follows the HoTT book rather closely.
-- The module ... |
exampl04/butntest/butntest.asm | AlexRogalskiy/Masm | 0 | 244264 | ; #########################################################################
;
; DEMO Custom colour button
;
; Characteristics : Button with seperate UP and DOWN colours as started.
; Adjustments : Dynamic colour change, both TEXT and BUTTON colours.
; Dynamic alignment control. Default font ... |
programs/oeis/086/A086435.asm | karttu/loda | 1 | 87360 | ; A086435: Maximum number of parts possible in a factorization of n into a product of distinct numbers > 1.
; 0,1,1,1,1,2,1,2,1,2,1,2,1,2,2,2,1,2,1,2,2,2,1,3,1,2,2,2,1,3,1,2,2,2,2,3,1,2,2,3,1,3,1,2,2,2,1,3,1,2,2,2,1,3,2,3,2,2,1,3,1,2,2,3,2,3,1,2,2,3,1,3,1,2,2,2,2,3,1,3,2,2,1,3,2,2,2,3,1,3,2,2,2,2,2,3,1,2,2,3,1,3,1,3,3,... |
source/web/spikedog/aws/matreshka-servlet_aws_responses.adb | reznikmm/matreshka | 24 | 5744 | <reponame>reznikmm/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
programs/oeis/212/A212704.asm | neoneye/loda | 22 | 172914 | ; A212704: a(n) = 9*n*10^(n-1).
; 9,180,2700,36000,450000,5400000,63000000,720000000,8100000000,90000000000,990000000000,10800000000000,117000000000000,1260000000000000,13500000000000000,144000000000000000,1530000000000000000,16200000000000000000,171000000000000000000,1800000000000000000000,18900000000000000000000,1980... |
archive/agda-3/src/Test/SurjidentityP.agda | m0davis/oscar | 0 | 12453 | <reponame>m0davis/oscar
open import Everything
module Test.SurjidentityP where
module _
{𝔬₁} {𝔒₁ : Ø 𝔬₁}
{𝔯₁} (_∼₁_ : 𝔒₁ → 𝔒₁ → Ø 𝔯₁)
{𝔬₂} {𝔒₂ : Ø 𝔬₂}
{𝔯₂} (_∼₂_ : 𝔒₂ → 𝔒₂ → Ø 𝔯₂)
(_∼₂2_ : 𝔒₂ → 𝔒₂ → Ø 𝔯₂)
{𝔯₂'} (_∼₂'_ : 𝔒₂ → 𝔒₂ → Ø 𝔯₂')
{ℓ₂} (_∼̇₂_ : ∀ {x y} → x ... |
src/Data/List/Properties/Pointwise.agda | metaborg/mj.agda | 10 | 3122 | module Data.List.Properties.Pointwise where
open import Data.Nat
open import Data.List
open import Relation.Binary.List.Pointwise hiding (refl; map)
open import Relation.Binary.PropositionalEquality
pointwise-∷ʳ : ∀ {a b ℓ A B P l m x y} → Rel {a} {b} {ℓ} {A} {B} P l m → P x y →
Rel {a} {b} {ℓ} {A} {B} ... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_513.asm | ljhsiun2/medusa | 9 | 244443 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_513.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xf14a, %rax
nop
nop
sub %r12, %r12
mov $0x6162636465666768, %rsi
movq %rsi, %xmm7
movups %xmm7, ... |
smsq/java/hwinit.asm | olifink/smsqe | 0 | 161306 | <reponame>olifink/smsqe
; SMSQmulator "Hardware" Initialisation V2.01 (c) <NAME>
; based on T. Tebby's code
;
* 2003-09-27 v.2.00 (?) added OSPS config item (wl)
* 2015 May 24 2.01 added config item for ieee floats (wl)
; Called with a7 a valid, safe stack
; d4 the host (QDOS) version number
; The hardw... |
examples/outdated-and-incorrect/AIM6/Cat/lib/Data/Real/Gauge.agda | cruhland/agda | 1,989 | 7195 |
module Data.Real.Gauge where
import Data.Rational
open Data.Rational using (Rational)
Gauge = Rational
|
test/succeed/Issue323.agda | asr/agda-kanso | 1 | 9114 | <filename>test/succeed/Issue323.agda
-- {-# OPTIONS -v tc.meta:20 #-}
-- Agdalist 2010-09-24 <NAME>
module Issue323 where
data Sigma (A : Set)(B : A -> Set) : Set where
_,_ : (a : A) -> B a -> Sigma A B
data Trivial {A : Set}(a : A) : Set where
trivial : Trivial a
lemma : (A : Set)(x y : A) -> Trivial (x , y)
l... |
awa/plugins/awa-jobs/src/awa-jobs-services.adb | twdroeger/ada-awa | 81 | 8809 | <gh_stars>10-100
-----------------------------------------------------------------------
-- awa-jobs-services -- Job services
-- Copyright (C) 2012, 2014, 2015, 2016, 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ... |
src/basestypes.ads | thindil/steamsky | 80 | 17049 | <gh_stars>10-100
-- Copyright 2019-2021 <NAME>
--
-- This file is part of Steam Sky.
--
-- Steam Sky 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
-- (... |
Cubical/Relation/Binary/Base.agda | Schippmunk/cubical | 0 | 10234 | <reponame>Schippmunk/cubical<filename>Cubical/Relation/Binary/Base.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Relation.Binary.Base where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Data.Sigma
open i... |
Stream/Programs.agda | nad/codata | 1 | 3112 | ------------------------------------------------------------------------
-- A universe for stream programs
------------------------------------------------------------------------
module Stream.Programs where
open import Codata.Musical.Notation renaming (∞ to ∞_)
import Stream as S
open S using (Stream; _≈_; _≺_; hea... |
test/Common/List.agda | KDr2/agda | 0 | 14569 | <reponame>KDr2/agda
{-# OPTIONS --cubical-compatible #-}
module Common.List where
open import Agda.Builtin.List public
open import Common.Nat
infixr 5 _++_
_++_ : ∀ {a} {A : Set a} → List A → List A → List A
[] ++ ys = ys
(x ∷ xs) ++ ys = x ∷ (xs ++ ys)
map : ∀ {a b} {A : Set a} {B : Set b} → (A → B) → List A... |
src/aids.ads | OneWingedShark/ada-probe | 6 | 23266 | <filename>src/aids.ads
package Aids with Pure is
end Aids;
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/debug5.adb | best08618/asylo | 7 | 9692 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/debug5.adb
-- { dg-do compile }
-- { dg-options "-g" }
procedure Debug5 is
type Record_Type (L1, L2 : Natural) is record
S1 : String (1 .. L1);
case L2 is
when 0 => null;
when others => S2 : String (L1 .. L2);
end case;
... |
Cubical/Algebra/Semigroup/Base.agda | thomas-lamiaux/cubical | 0 | 15736 | {-# OPTIONS --safe #-}
module Cubical.Algebra.Semigroup.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.SIP
open import Cubical.Data.Sigma
open import Cubical.R... |
oeis/131/A131654.asm | neoneye/loda-programs | 11 | 24486 | <gh_stars>10-100
; A131654: Difference mod 10 of successive digits of Pi.
; Submitted by <NAME>
; 8,3,7,4,4,3,4,9,8,2,3,1,8,2,4,9,1,5,6,2,6,4,8,9,0,5,5,9,5,2,6,5,2,6,0,6,7,8,8,4,5,3,4,6,0,4,4,8,6,9,5,3,4,8,9,8,7,5,5,0,1,4,3,1,7,7,1,3,5,8,6,6,6,6,8,6,8,8,1,0,9,8,6,6,2,3,1,4,4,3,8,1,8,9,0,6,3,6,1,2
mov $3,2
lpb $3
sub... |
SIM_ESAMI/1_ES/assembler.asm | mich2k/CE_LAB | 0 | 11826 | .586
.model flat
.code
_divisione_array proc
push ebp
mov ebp,esp
push esi
push edi
push ebx
mov ebx, dword ptr[ebp+8] ; arr
;dword ptr[ebp+12] ; divisore
mov ecx, dword ptr[ebp+20] ; resto
mov esi, 0d
mov edi, 0d
mov eax, 0d
primo_ciclo:
cmp esi, dword ptr[ebp+16]
je fine_primo
mov eax, dword ptr [ebx+esi*4]
... |
src/gl/implementation/gl-helpers.adb | Roldak/OpenGLAda | 0 | 29187 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
package body GL.Helpers is
function Float_Array (Value : Colors.Color) return Low_Level.Single_Array is
use GL.Types.Colors;
begin
return Low_Level.Single_Array'(1 => Value (R),
... |
extern/gnat_sdl/gnat_sdl/src/sdl_sdl_main_h.ads | AdaCore/training_material | 15 | 4218 | <reponame>AdaCore/training_material
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with System;
with Interfaces.C.Strings;
with SDL_SDL_stdinc_h;
package SDL_SDL_main_h is
C_LINKAGE : aliased constant String := "C" & ASCII.NUL; -- ../include/SDL/SDL_main.h:38
-- unsupporte... |
libsrc/_DEVELOPMENT/adt/wa_priority_queue/c/sdcc_iy/wa_priority_queue_top.asm | jpoikela/z88dk | 640 | 241883 | <filename>libsrc/_DEVELOPMENT/adt/wa_priority_queue/c/sdcc_iy/wa_priority_queue_top.asm
; void *wa_priority_queue_top(wa_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_wa_priority_queue
PUBLIC _wa_priority_queue_top
EXTERN asm_wa_priority_queue_top
_wa_priority_queue_top:
pop af
pop hl
push ... |
src/static/antlr4/grammars/PrimaryExpression.g4 | jlenoble/ecmascript-parser | 0 | 599 | /* Source: ECMAScript® 2018 Language Specification - Annex A-2 */
grammar PrimaryExpression;
// PrimaryExpression[Yield, Await]:
// this
// IdentifierReference[?Yield, ?Await]
// Literal
// ArrayLiteral[?Yield, ?Await]
// ObjectLiteral[?Yield, ?Await]
// FunctionExpression
// ClassExpression[?Yie... |
FormalAnalyzer/models/apps/Daily2TempSchedule.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 3520 | module app_Daily2TempSchedule
open IoTBottomUp as base
open cap_thermostat
one sig app_Daily2TempSchedule extends IoTApp {
thermostat : one cap_thermostat,
state : one cap_state,
} {
rules = r
}
one sig cap_state extends Capability {} {
attributes = cap_state_attr
}
abstract sig cap_state_attr exte... |
random.asm | wiebow/tetris.c64 | 79 | 160331 | <reponame>wiebow/tetris.c64
// generate random number code
SetupRandom:
// set the 16 bit rnd seed
ldx #$89
stx rndseed
dex
stx rndseed+1
rts
GetRandom:
// get random number 0-6
// it's in accumulator when returning
lda rndseed // load seed high byte
and #%00000111 // keep values ... |
enduser/netmeeting/av/codecs/intel/h263/i386/yuv12enc.asm | npocmaka/Windows-Server-2003 | 17 | 94135 | <filename>enduser/netmeeting/av/codecs/intel/h263/i386/yuv12enc.asm
;*************************************************************************
;** INTEL Corporation Proprietary Information
;**
;** This listing is supplied under the terms of a license
;** agreement with INTEL Corporation and may not be copi... |
Appl/Art/Decks/GeoDeck/LCClub4.asm | steakknife/pcgeos | 504 | 172475 | <gh_stars>100-1000
LCClub4 label byte
word C_BLACK
Bitmap <71,100,BMC_PACKBITS,BMF_MONO>
db 0xf8, 0x00
db 0xf8, 0x00
db 0xf8, 0x00
db 0xf8, 0x00
db 0x01, 0x00, 0x60, 0xfa, 0x00
db 0x01, 0x00, 0xe0, 0xfa, 0x00
db 0x01, 0x00, 0xe0, 0xfa, 0x00
db 0x01, 0x01, 0xe0, 0xfa, 0x00
db 0x01, 0x03, 0xe0, 0xfa... |
Driver/Net/NW/nwBindery.asm | steakknife/pcgeos | 504 | 174617 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: nwBindery.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- --------... |
programs/oeis/175/A175660.asm | karttu/loda | 0 | 175472 | <gh_stars>0
; A175660: Eight bishops and one elephant on a 3 X 3 chessboard. a(n) = 2^(n+2) - 3*F(n+2).
; 1,2,7,17,40,89,193,410,859,1781,3664,7493,15253,30938,62575,126281,254392,511745,1028281,2064314,4141171,8302637,16638112,33329357,66744685,133628474,267482023,535328225,1071245704,2143444841,4288432369,8579360858,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.