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 |
|---|---|---|---|---|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c87b33a.ada | best08618/asylo | 7 | 23286 | -- C87B33A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
src/ada-pulse/src/pulse-sample.ads | mstewartgallus/linted | 0 | 14456 | <reponame>mstewartgallus/linted
-- Copyright 2016 <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by appl... |
src/wiki.adb | jquorning/ada-wiki | 18 | 8212 | -----------------------------------------------------------------------
-- wiki -- Ada Wiki Engine
-- Copyright (C) 2015, 2016, 2018, 2020 <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.
... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_1650_1796.asm | ljhsiun2/medusa | 9 | 243498 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1bb56, %rbx
nop
nop
add %rcx, %rcx
movb (%rbx), %r14b
nop
nop
nop
nop
cmp %r11, %r11
lea addresses_WC_ht+0x1ad86, %rax
cmp $33691, %r9
mov $0x6162636465666768, %rcx
movq %rcx,... |
src/main_master_pico.adb | hgrodriguez/spi_two_devices | 0 | 17394 | --===========================================================================
--
-- This is the main master program for the Pico for the
-- use cases:
-- 1: Master Pico -> Slave Pico
-- 2: Master Pico -> Slave ItsyBitsy
--
--===========================================================================
... |
programs/oeis/282/A282850.asm | neoneye/loda | 22 | 20388 | <reponame>neoneye/loda<gh_stars>10-100
; A282850: 38-gonal numbers: a(n) = n*(18*n-17).
; 0,1,38,111,220,365,546,763,1016,1305,1630,1991,2388,2821,3290,3795,4336,4913,5526,6175,6860,7581,8338,9131,9960,10825,11726,12663,13636,14645,15690,16771,17888,19041,20230,21455,22716,24013,25346,26715,28120,29561
mov $1,$0
mul $... |
deps/openssl/asm/x86-win32-masm/rc4/rc4-586.asm | sgallagher/node | 2 | 22158 | <gh_stars>1-10
TITLE rc4-586.asm
IF @Version LT 800
ECHO MASM version 8.00 or later is strongly recommended.
ENDIF
.586
.MODEL FLAT
OPTION DOTNAME
IF @Version LT 800
.text$ SEGMENT PAGE 'CODE'
ELSE
.text$ SEGMENT ALIGN(64) 'CODE'
ENDIF
ALIGN 16
_RC4 PROC PUBLIC
$L_RC4_begin::
push ebp
push ebx
push esi
push edi
mo... |
Functors/FullyFaithful.agda | jmchapman/Relative-Monads | 21 | 3646 | <reponame>jmchapman/Relative-Monads<filename>Functors/FullyFaithful.agda
module Functors.FullyFaithful where
open import Library
open import Categories
open import Functors
open import Naturals hiding (Iso)
open import Isomorphism
open Cat
open Fun
FullyFaithful : ∀{a b c d}{C : Cat {a}{b}}{D : Cat {c}{d}}
... |
programs/oeis/165/A165311.asm | neoneye/loda | 22 | 93637 | <filename>programs/oeis/165/A165311.asm<gh_stars>10-100
; A165311: a(0)=1, a(1)=4, a(n)=9*a(n-1)-16*a(n-2) for n>1.
; 1,4,20,116,724,4660,30356,198644,1302100,8540596,56031764,367636340,2412218836,15827788084,103854591380,681446713076,4471346955604,29338975191220,192509225431316,1263159425822324,8288287225499860
mul $... |
+extras/external_libs/zlib/src/zlib-1.2.11/contrib/vstudio/vc14/x86/TestZlibDebug/Tmp/inffast.asm | dkovari/ExtrasToolbox | 0 | 84093 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.14.26428.1
TITLE C:\Users\dkovari\Documents\GitHub\ExtrasToolbox\+extras\external_libs\zlib\src\zlib-1.2.11\inffast.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
END
|
programs/oeis/158/A158590.asm | karttu/loda | 1 | 1357 | <gh_stars>1-10
; A158590: a(n) = 324*n^2 + 18.
; 18,342,1314,2934,5202,8118,11682,15894,20754,26262,32418,39222,46674,54774,63522,72918,82962,93654,104994,116982,129618,142902,156834,171414,186642,202518,219042,236214,254034,272502,291618,311382,331794,352854,374562,396918,419922,443574,467874,492822,518418,544662,5715... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0.log_21829_1536.asm | ljhsiun2/medusa | 9 | 244233 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1d9c1, %rdi
nop
nop
nop
nop
nop
cmp %r13, %r13
mov $0x6162636465666768, %rdx
movq %rdx, %xmm6
movups %xmm6, (%rdi)
nop
inc %r14
lea addresses_WT_ht+0x1ca21, %rsi
lea addresses_A_ht+0x6c... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_722.asm | ljhsiun2/medusa | 9 | 18978 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %rax
push %rbx
push %rcx
lea addresses_WC_ht+0x122c9, %rax
nop
add $47020, %r14
vmovups (%rax), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $0, %xmm0, %r11
nop
nop
add %r10, %r10
lea addresses_D_ht+0x9619, %rcx
nop
nop
sub $17508, %rbx
mov ... |
RefactorAgdaEngine/Test/Tests/input/MoveArg.agda | omega12345/RefactorAgda | 5 | 11696 | <filename>RefactorAgdaEngine/Test/Tests/input/MoveArg.agda
module moveArg where
open import Agda.Builtin.Nat
open import Agda.Builtin.Bool
stuff : ( number : Nat) -> Bool -> Bool
stuff number bool = {! !}
stuff2 : Nat -> Bool -> Bool
stuff2 number bool = bool
nonsense : Bool
nonsense = stuff 0 true
dep : (A : Se... |
oeis/308/A308693.asm | neoneye/loda-programs | 11 | 19695 | ; A308693: a(n) = Sum_{d|n} d^(3*(n/d - 1)).
; Submitted by <NAME>(s4)
; 1,2,2,10,2,93,2,578,731,4223,2,56765,2,262489,547068,2359810,2,31173510,2,152949071,387538140,1073743157,2,20134371189,244140627,68719478935,282430067924,618515646977,2,12056339359929,2,39582552821762,205891133866212
add $0,1
mov $2,$0
lpb $0
m... |
gcc-gcc-7_3_0-release/gcc/ada/a-tiunio.ads | best08618/asylo | 7 | 2707 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
libsrc/_DEVELOPMENT/l/sccz80/8-8080/i32/l_long_ne.asm | ahjelm/z88dk | 640 | 173611 | ; sccz80 crt0 library - 8080 version
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_long_ne
EXTERN l_long_ucmp
l_long_ne:
call l_long_ucmp
ld hl,1
scf
ret NZ
dec hl
and a
ret
|
vpx_dsp/x86/add_noise_sse2.asm | clear39/avcode-libvpx | 582 | 100402 | ;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
programs/oeis/036/A036404.asm | karttu/loda | 1 | 160192 | ; A036404: a(n) = ceiling(n^2/5).
; 0,1,1,2,4,5,8,10,13,17,20,25,29,34,40,45,52,58,65,73,80,89,97,106,116,125,136,146,157,169,180,193,205,218,232,245,260,274,289,305,320,337,353,370,388,405,424,442,461,481,500,521,541,562,584
pow $0,2
mov $1,$0
add $1,4
div $1,5
|
programs/oeis/143/A143536.asm | karttu/loda | 1 | 82110 | ; A143536: Triangle read by rows, T(n,k) = 1 if n is prime, 0 otherwise.
; 0,1,1,1,1,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0... |
kernel.asm | SandeepPithani/XV6_rename_command | 1 | 17278 | <gh_stars>1-10
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000... |
oeis/105/A105309.asm | neoneye/loda-programs | 11 | 12617 | <reponame>neoneye/loda-programs<filename>oeis/105/A105309.asm<gh_stars>10-100
; A105309: a(n) = |b(n)|^2 = x^2 + 3*y*2 where (x,y,y,y) is the quaternion b(n) of the sequence b of quaternions defined by b(0)=1,b(1)=1, b(n) = b(n-1) + b(n-2)*(0,c,c,c) where c = 1/sqrt(3).
; Submitted by <NAME>
; 1,1,2,5,9,20,41,85,178,36... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt25_pkg1.ads | best08618/asylo | 7 | 18809 | <reponame>best08618/asylo
generic
type T is private;
Init_Value : T;
package Opt25_Pkg1 is
Var : T := Init_Value;
procedure Swap (A, B : in out T);
end Opt25_Pkg1;
|
BASE.asm | makhotkin/dc-2002 | 0 | 84618 | ; Project DC 2002
; Contsins basic functions as String Output (Screen and other Strings),
; Integer to string/hex conversion and back
.model small
.stack 80h
include bios.inc
.data
cols_count equ 80 ; 80 Columns in VGA mode 3
line_count equ 25 ; 25 lines ---"---
.code
.386
PUBLIC strcat, strcat_x, strcpy, strcp... |
programs/oeis/308/A308137.asm | neoneye/loda | 22 | 172976 | <reponame>neoneye/loda
; A308137: Number of (undirected) Hamiltonian paths on the n-prism graph.
; 30,72,130,228,350,528,738,1020,1342,1752,2210,2772,3390,4128,4930,5868,6878,8040,9282,10692,12190,13872,15650,17628,19710,22008,24418,27060,29822,32832,35970,39372,42910,46728,50690,54948,59358,64080,68962,74172,79550,852... |
libsrc/_DEVELOPMENT/l/sccz80/crt0/l_getptr.asm | jpoikela/z88dk | 38 | 172710 | ; Z88 Small C+ Run Time Library
;
; Get Long Pointer from Near Memory
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_getptr
l_getptr:
; fetch far ptr from address hl
ld e,(hl)
inc hl
ld d,(hl)
inc hl
ld l,(hl)
ld h,0
ex de,hl
ret
|
agda/binding-preserve.agda | florence/esterel-calculus | 3 | 8850 | module binding-preserve where
open import utility
renaming (_U̬_ to _∪_ ; _|̌_ to _-_)
open import sn-calculus
open import Function using (_∋_ ; _$_ ; _∘_)
open import Esterel.Lang
open import Esterel.Lang.Binding
open import Esterel.Lang.Properties
using (done; halted ; paused ; value-max)
open import Esterel.Co... |
2 - chave e valor (recursivo)/TLexer.g4 | melchisedech333/antlr4-experiments | 1 | 3264 | <reponame>melchisedech333/antlr4-experiments
lexer grammar TLexer;
@lexer::postinclude {
#ifndef _WIN32
#pragma GCC diagnostic ignored "-Wunused-parameter"
#endif
}
/* Tokens. */
STRING : '"' .*? '"' ;
NUMBER : [0-9]+ ;
OPEN : '{' ;
CLOSE : '}' ;
ATTR : ':' ;
SEPARATOR : ',' ;
/* Ignora... |
bundles/org.pgcase.xobot.parsers/grammar/org/pgcase/xobot/parsers/postgres/PlPgSqlKeyWords.g4 | pgcase/xobot-ide | 2 | 1775 | lexer grammar PlPgSqlKeyWords;
// PG_KEYWORD("all", K_ALL, RESERVED_KEYWORD)
// PG_KEYWORD("begin", K_BEGIN, RESERVED_KEYWORD)
// PG_KEYWORD("by", K_BY, RESERVED_KEYWORD)
// PG_KEYWORD("case", K_CASE, RESERVED_KEYWORD)
// PG_KEYWORD("close", K_CLOSE, RESERVED_KEYWORD)
// PG_KEYWORD("collate", K_COLLATE, RESERVED_KEYWO... |
source/core/lace-generic_engines.ads | reznikmm/lace | 0 | 27440 | <filename>source/core/lace-generic_engines.ads
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Ada.Containers.Hashed_Maps;
with Program.Elements;
with Program.Element_Vectors;
with Lace.Element_Flat_Kinds;
generi... |
text/maps/viridian_forest_exit.asm | adhi-thirumala/EvoYellow | 9 | 99449 | <filename>text/maps/viridian_forest_exit.asm
_ViridianForestExitText1::
text "Many #MON live"
line "only in forests "
cont "and caves."
para "You need to look"
line "everywhere to get"
cont "different kinds!"
done
_ViridianForestExitText2::
text "Have you noticed"
line "the bushes on the"
cont "roadside?"
... |
proofs/AKS/Primality/Base.agda | mckeankylej/thesis | 1 | 6706 | <filename>proofs/AKS/Primality/Base.agda
open import Relation.Binary.PropositionalEquality using (_≡_)
module AKS.Primality.Base where
open import AKS.Nat using (ℕ; _<_)
open import AKS.Nat.GCD using (_∣_; _∤_)
record IsPrime (p : ℕ) : Set where
constructor IsPrime✓
field
1<p : 1 < p
∀i∣p[i≡p] : ∀ {i} → ... |
Library/GrObj/GrObj/grobjClass.asm | steakknife/pcgeos | 504 | 95221 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: objectClass.asm
AUTHOR: <NAME>, Nov 15, 1989
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descri... |
include/bits_struct_stat_h.ads | docandrew/troodon | 5 | 8799 | <gh_stars>1-10
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with bits_types_h;
with bits_types_struct_timespec_h;
package bits_struct_stat_h is
-- unsupported macro: st_atime st_atim.tv_sec
-- unsupported macro: st_mtime st_mtim.tv_sec
-- unsupported macro: st_ctime st... |
LibraBFT/Yasm/Base.agda | cwjnkins/bft-consensus-agda | 0 | 11138 | <reponame>cwjnkins/bft-consensus-agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Prelude
open ... |
main.asm | aKhfagy/Assembly-Course-Task | 0 | 244562 | INCLUDE Irvine32.inc ;DO NOT CHANGE THIS LINE
;###################################################################################;#
; AUTOGRADER RELATED .DATA ;#
; DO NOT MODIFY, DELETE NOR ADD ANY LINE HERE ;#
;###################################################################################;... |
data/pokemon/base_stats/luvdisc.asm | TastySnax12/pokecrystal16-493-plus | 2 | 23443 | db 0 ; species ID placeholder
db 43, 30, 55, 97, 40, 65
; hp atk def spd sat sdf
db WATER, WATER ; type
db 225 ; catch rate
db 110 ; base exp
db STAR_PIECE, STAR_PIECE ; items (Should be Heart Scale, not sure if including)
db GENDER_F75 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to h... |
programs/oeis/184/A184747.asm | karttu/loda | 0 | 161445 | ; A184747: floor(n*s+h-h*s), where s=1+sqrt(5), h=1/2; complement of A184746.
; 2,5,8,11,15,18,21,24,28,31,34,37,40,44,47,50,53,57,60,63,66,70,73,76,79,83,86,89,92,95,99,102,105,108,112,115,118,121,125,128,131,134,138,141,144,147,150,154,157,160,163,167,170,173,176,180,183,186,189,193,196,199,202,205,209,212,215,218,22... |
Lab Assessment Submission/Lab 2/1.asm | kayesIbnaQayumNSU/CSE331L-Section-10-Fall20-NSU | 1 | 88865 |
; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt
org 100h
K EQU 3
Q EQU 2
P EQU 3
ADD AX, K
ADD AX, Q
ADD AX, P
MOV BX, AX
ret
|
oeis/201/A201837.asm | neoneye/loda-programs | 11 | 241389 | <filename>oeis/201/A201837.asm
; A201837: G.f.: real part of 1/(1 - i*x - i*x^2) where i=sqrt(-1).
; Submitted by <NAME>
; 1,0,-1,-2,0,4,5,-2,-13,-12,12,40,25,-52,-117,-38,196,324,-3,-678,-841,360,2200,2000,-2079,-6760,-4121,8918,19720,6084,-33435,-54442,1547,115228,140772,-63880,-372775,-332892,359763,1142322,678796,-... |
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/antlr4/imports/mysql/MySQLKeyword.g4 | leewangq/shardingsphere | 0 | 355 | <reponame>leewangq/shardingsphere<filename>shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/antlr4/imports/mysql/MySQLKeyword.g4<gh_stars>0
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file... |
oeis/182/A182432.asm | neoneye/loda-programs | 11 | 87094 | ; A182432: Recurrence a(n)*a(n-2) = a(n-1)*(a(n-1)+3) with a(0) = 1, a(1) = 4.
; 1,4,28,217,1705,13420,105652,831793,6548689,51557716,405913036,3195746569,25160059513,198084729532,1559517776740,12278057484385,96664942098337,761041479302308,5991666892320124,47172293659258681,371386682381749321,2923921165394735884,230199... |
Task/Filter/AppleScript/filter-2.applescript | LaudateCorpus1/RosettaCodeData | 1 | 2884 | <filename>Task/Filter/AppleScript/filter-2.applescript<gh_stars>1-10
to filter(inList, acceptor)
set outList to {}
repeat with anItem in inList
if acceptor's accept(anItem) then
set end of outList to contents of anItem
end
end
return outList
end
script isEven
to accept(aNumber)
aNumber mod ... |
programs/oeis/295/A295664.asm | neoneye/loda | 22 | 168191 | ; A295664: Exponent of the highest power of 2 dividing number of divisors of n: a(n) = A007814(A000005(n)); 2-adic valuation of tau(n).
; 0,1,1,0,1,2,1,2,0,2,1,1,1,2,2,0,1,1,1,1,2,2,1,3,0,2,2,1,1,3,1,1,2,2,2,0,1,2,2,3,1,3,1,1,1,2,1,1,0,1,2,1,1,3,2,3,2,2,1,2,1,2,1,0,2,3,1,1,2,3,1,2,1,2,1,1,2,3,1,1,0,2,1,2,2,2,2,3,1,2,2,... |
oeis/090/A090345.asm | neoneye/loda-programs | 11 | 95981 | <reponame>neoneye/loda-programs
; A090345: Number of Motzkin paths of length n with no level steps at even level.
; Submitted by <NAME>(w4)
; 1,0,1,1,3,5,12,24,55,119,272,612,1411,3247,7565,17667,41561,98099,232696,553784,1322813,3169065,7614583,18342921,44294991,107200829,259983346,631718606,1537737567,3749440151,9156... |
libsrc/_DEVELOPMENT/l/sccz80/9-common/i32/l_long_add_mhl.asm | ahjelm/z88dk | 4 | 22814 | ; Z88 Small C+ Run Time Library
; Long functions
;
; feilipu 10/2021
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_long_add_mhl
;primary = primary + secondary
;enter with secondary in (hl), primary in (de)
.l_long_add_mhl
ld a,(de)
add a,(hl)
ld (de),a
inc d... |
developer_parameters.ads | ddugovic/words | 4 | 16759 | with TEXT_IO;
package DEVELOPER_PARAMETERS is
-- These are a few strange declarations to be used in diagnostics;
SRA_MAX, SRAA_MAX, DMA_MAX : INTEGER := 0;
PA_LAST_MAX, FINAL_PA_LAST_MAX : INTEGER := 0;
-- This package defines a number of parameters that areused in the program
-- The default values a... |
examples/shared/serial_ports/src/serial_io-blocking.adb | RREE/Ada_Drivers_Library | 0 | 1784 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2022, AdaCore --
-- ... |
Kernel/asm/mutex.asm | R0L02796/TP2_SO | 0 | 7448 | <reponame>R0L02796/TP2_SO
GLOBAL _mutexAcquire
section .text
_mutexAcquire:
push rbp
mov rbp, rsp
mov eax, 1
xchg eax, [rdi]
mov rsp, rbp
pop rbp
ret |
innovative questions/ques1/prog.asm | Amanskywalker/mp-lab | 0 | 23778 | <gh_stars>0
; program code
.model small
.data
;typedef
;defining few c word to feel like c language
byte typedef db
char typedef byte
pchar typedef ptr char ; pointer to char
ipmsg char 10,13,"Enter your the review about the product :$"
rop char 10,13,"User review is :$"
uip char 100h dup(0) ;use... |
alloy4fun_models/trashltl/models/15/JyKdqmSJ3iADZZAWc.als | Kaixi26/org.alloytools.alloy | 0 | 982 | <gh_stars>0
open main
pred idJyKdqmSJ3iADZZAWc_prop16 {
all f:Protected | always f in Protected
}
pred __repair { idJyKdqmSJ3iADZZAWc_prop16 }
check __repair { idJyKdqmSJ3iADZZAWc_prop16 <=> prop16o } |
libsrc/graphics/oz/clg.asm | meesokim/z88dk | 0 | 96134 | <reponame>meesokim/z88dk
;
; Sharp OZ family port (graphics routines)
; <NAME> - Aug 2002
;
;
; Clear the graph. screen
;
;
; $Id: clg.asm,v 1.4 2015/01/19 01:32:49 pauloscustodio Exp $
;
PUBLIC clg
EXTERN base_graphics
EXTERN swapgfxbk
EXTERN swapgfxbk1
.clg
call swapgfxbk
ld hl,(base_gra... |
oeis/037/A037745.asm | neoneye/loda-programs | 11 | 95659 | <reponame>neoneye/loda-programs
; A037745: Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,0,1.
; Submitted by <NAME>
; 2,13,65,326,1632,8163,40815,204076,1020382,5101913,25509565,127547826,637739132,3188695663,15943478315,79717391576,398586957882,1992934789413,9964673947... |
source/miscellany/renumber.asm | paulscottrobson/rpl-32 | 0 | 166247 | ; ******************************************************************************
; ******************************************************************************
;
; Name : renumber.asm
; Purpose : Renumber lines
; Author : <NAME> (<EMAIL>)
; Created : 8th October 2019
;
; *************************************... |
include/sf-window-cursor.ads | Fabien-Chouteau/ASFML | 0 | 9112 | --//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2018 <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 use of this... |
src/main/fragment/mos6502-common/vdum1=_makelong4_(vbuaa)_(vbuxx)_(vbum2)_(vbuyy).asm | jbrandwood/kickc | 2 | 97494 | sta {m1}
stx {m1}+1
lda {m2}
sta {m1}+2
sty {m1}+3
|
tests/natools-chunked_strings-tests-cxa4011.adb | faelys/natools | 0 | 7575 | ------------------------------------------------------------------------------
-- Copyright (c) 2011, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
wof/lcs/123p/46.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 101089 | copyright zengfr site:http://github.com/zengfr/romhack
01A74C dbra D7, $1a74a
01A75E dbra D4, $1a75c
copyright zengfr site:http://github.com/zengfr/romhack
|
Data/Tree/Braun.agda | oisdk/agda-playground | 6 | 1721 | {-# OPTIONS --cubical --safe #-}
module Data.Tree.Braun where
open import Prelude
open import Data.Nat
data Bal (n : ℕ) : ℕ → ℕ → Type where
one : Bal n n (1 + n * 2)
two : Bal n (suc n) (2 + n * 2)
data Tree {a} (A : Type a) : ℕ → Type a where
leaf : Tree A 0
node : ∀ {n m r} → (bal : Bal n m r) → A ... |
Univalence/PiWithLevels/Pi-1.agda | JacquesCarette/pi-dual | 14 | 13668 | module Pi-1 where
open import Data.Empty
open import Data.Unit
open import Data.Product
open import Relation.Binary.PropositionalEquality
open import Groupoid
import Pi-2 as P
--infixr 10 _◎_
--infixr 30 _⟷_
------------------------------------------------------------------------------
-- Level -1:
-- Types are -... |
Library/Spreadsheet/Spreadsheet/spreadsheetScroll.asm | steakknife/pcgeos | 504 | 246756 | <filename>Library/Spreadsheet/Spreadsheet/spreadsheetScroll.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: GeoCalc
FILE: spreadsheetScroll.asm
AUTHOR: <NAME>, May 15, 1991
ROUTINES:
Name ... |
src/main/antlr4/edu/harvard/seas/pl/formulog/parsing/generated/Formulog.g4 | HarvardPL/formulog | 109 | 1139 | grammar Formulog;
prog
:
(
metadata
| stmt
)* EOF
;
tsvFile
:
tabSeparatedTermLine* EOF
;
tabSeparatedTermLine
:
(term (TAB term)*)? NEWLINE
;
// Program metadata ////////////////////////////////////////////////////////////
metadata
:
funDefs '.'? # funDecl
| annotation* relType =
(
INPUT
| OUTPUT
... |
tests/tdgeev.adb | leo-brewin/ada-lapack | 5 | 26060 | with Ada.Text_IO;
with Ada.Text_IO.Complex_IO;
with Ada.Numerics.Generic_Real_Arrays;
with Ada.Numerics.Generic_Complex_Types;
with Ada.Numerics.Generic_Complex_Arrays;
with Ada.Numerics.Generic_Elementary_Functions;
with Ada.Numerics.Generic_Complex_Elementary_Functions;
with Ada_Lapack;
use Ada.Text_IO;
procedure ... |
src/main/java/it/univr/main/MuJs.g4 | danieltinazzi/mu-js | 2 | 2859 | <filename>src/main/java/it/univr/main/MuJs.g4
grammar MuJs;
ASG: '=';
NAN: 'NaN'
;
BOOL: 'true'
| 'false';
SEMICOLON: ';';
ID: [a-z]+
;
SIGN: '+' | '-';
INT: SIGN? [0-9]+
;
STRING: '"' ~('\r' | '\n' | '"')* '"'
| '\'' ~('\r' | '\n' )* '\'';
LESS : '<'
;
program: stmt EOF #ProgramExec... |
libsrc/gfx/wide/w_unplot.asm | ahjelm/z88dk | 640 | 85801 | <gh_stars>100-1000
; ----- void unplot(int x, int y)
IF !__CPU_INTEL__ && !__CPU_GBZ80__
SECTION code_graphics
PUBLIC unplot
PUBLIC _unplot
EXTERN asm_unplot
.unplot
._unplot
pop af
pop de ; y
pop hl ; x
push hl
push de
push af
jp ... |
poker-hands/avr-asm/main.asm | matthewphilyaw/lunchtime-katas | 0 | 17775 | <filename>poker-hands/avr-asm/main.asm
.include "tn2313def.inc"
.equ baud = 115200
.equ F_CPU = 14745600
.def trbuf = r18
rjmp reset
reti ; unused interrupt
reti ; unused interrupt
reti ; unused interrupt
reti ; unused interrupt
reti ; unused interrupt
reti ; unused interrupt
reti ; u... |
programs/oeis/258/A258650.asm | neoneye/loda | 22 | 101863 | ; A258650: Tenth arithmetic derivative of n.
; 0,0,0,0,4,0,0,0,8592,0,0,0,20096,0,0,3424,70464,0,0,0,16304,0,0,0,32624,0,1520,27,70464,0,0,0,235072,0,0,8592,47872,0,0,20096,24640,0,0,0,65264,8592,0,0,130544,0,3424,8144,47872,0,57996,20096,198656,0,0,0,198656,0,0,3120,1012858880,0,0,0,84608,752,0,0,296256,0,8592,8592,23... |
ffight/lcs/container/3E.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 80532 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
003A02 movem.l D0-D3, -(A6)
003A06 movem.l D0-D3, -(A6)
007A10 rts
007A36 rts [boss+3E, container+3E, enemy+3E]
009ACA dbra D5, $9ac8
copyright zengfr site:http://github.com/zengfr/romh... |
Optics/Reflection.agda | cwjnkins/bft-consensus-agda | 4 | 1299 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020 Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import Function
open import Data.Unit
open import Data.List as List
open i... |
programs/oeis/330/A330034.asm | karttu/loda | 1 | 2485 | ; A330034: a(n) = sign(cos(n)).
; 1,1,-1,-1,-1,1,1,1,-1,-1,-1,1,1,1,1,-1,-1,-1,1,1,1,-1,-1,-1,1,1,1,-1,-1,-1,1,1,1,-1,-1,-1,-1,1,1,1,-1,-1,-1,1,1,1,-1,-1,-1,1,1,1,-1,-1,-1,1,1,1,1,-1,-1,-1,1,1,1,-1,-1,-1,1,1,1,-1,-1,-1,1,1,1,-1
sub $0,1
cal $0,82964 ; a(n) = m given by arctan(tan(n)) = n - m*Pi.
gcd $0,2
mul $0,2
sub ... |
oeis/334/A334958.asm | neoneye/loda-programs | 11 | 241415 | <gh_stars>10-100
; A334958: GCD of consecutive terms of the factorial times the alternating harmonic series.
; Submitted by <NAME>
; 1,1,1,2,2,12,12,48,144,1440,1440,17280,17280,241920,18144000,145152000,145152000,2612736000,2612736000,10450944000,219469824000,4828336128000,4828336128000,115880067072000,579400335360000... |
Read Only/gdb-7.12.1/gdb/testsuite/gdb.ada/operator_bp/ops.adb | samyvic/OS-Project | 0 | 17140 | -- Copyright 2012-2017 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- ... |
agda/Heapsort/Impl1.agda | bgbianchi/sorting | 6 | 1713 | open import Relation.Binary.Core
module Heapsort.Impl1 {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_)
(trans≤ : Transitive _≤_) where
open import BBHeap _≤_ hiding (flatten)
open import BBHeap.Heapify _≤_ tot≤ trans≤
open import BHeap _≤_ hiding (flatten)
open... |
gcc-gcc-7_3_0-release/gcc/ada/a-cofove.ads | best08618/asylo | 7 | 27833 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
libtool/src/gmp-6.1.2/mpn/x86_64/coreihwl/mullo_basecase.asm | kroggen/aergo | 278 | 246117 | <reponame>kroggen/aergo
dnl AMD64 mpn_mullo_basecase optimised for Intel Haswell.
dnl Contributed to the GNU project by <NAME>.
dnl Copyright 2008, 2009, 2011-2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and... |
libsrc/_DEVELOPMENT/arch/sms/PSGlib/z80/asm_PSGlib_GetStatus.asm | jpoikela/z88dk | 640 | 13373 | <reponame>jpoikela/z88dk
; **************************************************
; PSGlib - C programming library for the SEGA PSG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
INCLUDE "PSGlib_private.inc"
SECTION code_clib
SECTION code_PSGlib
PUBLIC asm_PSGli... |
src/main_master_itsybitsy.adb | hgrodriguez/spi_two_devices | 0 | 29894 | --===========================================================================
--
-- This is the main master program for the ItsyBitsy for the
-- use cases:
-- 3: Master ItsyBitsy -> Slave Pico
-- 4: Master ItsyBitsy -> Slave ItsyBitsy
--
--=============================================================... |
asm/examples/consolehl.asm | majacQ/retroputer | 58 | 94544 | <filename>asm/examples/consolehl.asm
.segment data 0x03000 {
str: .string "Hello, world! I'm alive! "
.byte 0x00
crlf: .byte 13, 10 ## CR/LF
.byte 0x00
}
.segment code 0x02000 {
# set up the stack for now
ld sp, 0x02000
ld bp, 0x02000
ld a, data.crlf
calls p... |
resources/scripts/api/builtwith.ads | Elon143/Amass | 7,053 | 3023 | <gh_stars>1000+
-- Copyright 2017-2021 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
name = "BuiltWith"
type = "api"
function start()
set_rate_limit(1)
end
function check()
local c
local cfg = datasrc_config()
if cfg ~= ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_oalign.adb | best08618/asylo | 7 | 27823 | <gh_stars>1-10
-- { dg-do run }
with System.Storage_Elements; use System.Storage_Elements;
with Oalign1, Oalign2; use Oalign1, Oalign2;
procedure Test_Oalign is
begin
if Klunk1'Address mod Klunk1'Alignment /= 0 then
raise Program_Error;
end if;
if Klunk2'Address mod Klunk2'Alignment /= 0 then
rai... |
ANTLRTestProjects/antbased/GlobalActions/grammar/GlobalParserActions2.g4 | timboudreau/ANTLR4-Plugins-for-NetBeans | 1 | 445 | parser grammar GlobalParserActions2;
options { tokenVocab=GlobalLexerActions1; }
@header {
/**
* this is a Javadoc comment that will be added in the header of Java generated
* class.
*/
}
@members {
protected int anAttributeAddedToParser = 0;
public int getAnAttributeAddedToParser() {
return anAttributeAdde... |
Univalence/LeftCancellation.agda | JacquesCarette/pi-dual | 14 | 9907 | {-# OPTIONS --without-K #-}
module LeftCancellation where
open import Data.Empty using (⊥; ⊥-elim)
open import Data.Unit using (⊤; tt)
open import Data.Sum using (_⊎_; inj₁; inj₂)
open import Data.Product using (_,_; proj₁; proj₂)
open import Function renaming (_∘_ to _○_)
open import Relation.Binary.PropositionalE... |
Tools/scripts/modTemplate/modManager.asm | steakknife/pcgeos | 504 | 175107 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks @year -- All Rights Reserved
PROJECT: PC/GEOS
MODULE: @Appl -- @Mod
FILE: @modManager.asm
AUTHOR: @fullname, @fulldate
REVISION HISTORY:
Name Date Description
---- ---... |
src/brackelib-stacks.adb | bracke/brackelib | 1 | 6222 | <gh_stars>1-10
package body Brackelib.Stacks is
procedure Push (Self: in out Stack; Item : T) is
begin
Self.Container.Append (Item);
end Push;
procedure Clear (Self: in out Stack) is
begin
Self.Container.Clear;
end Clear;
function Top(Self: in Stack) return T is
begin
if Is_Empty (Self) t... |
archive/agda-3/src/AgdaFeatureInstanceResolutionViaConstraint.agda | m0davis/oscar | 0 | 8141 | <gh_stars>0
{-# OPTIONS --allow-unsolved-metas #-}
module AgdaFeatureInstanceResolutionViaConstraint where
postulate A : Set
postulate y : A
Appy : (A → Set) → Set
Appy H = H y
record Foo (T : Set) : Set where field foo : T
open Foo ⦃ … ⦄ public
postulate
S : A → Set
record Failing : Set where
no-eta-equalit... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_102_3151.asm | ljhsiun2/medusa | 9 | 26515 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x11b29, %rbx
nop
nop
nop
xor %r12, %r12
movb (%rbx), %al
nop
nop
nop
and $19145, %r15
lea addresses_WT_ht+0x1e329, %rsi
nop
nop
nop
nop
dec %rax
and $0xffffffffffffffc0, %... |
libsrc/graphics/w_unplot_callee.asm | rjcorrig/z88dk | 0 | 162505 | <gh_stars>0
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
;
; $Id: w_unplot_callee.asm $
;
; CALLER LINKAGE FOR FUNCTION POINTERS
; ----- void unplot(int x, int y)
SECTION code_graphics
... |
src/util/oli/wm/amky.asm | olifink/qspread | 0 | 244982 | ; multiple keystroke routine for application subwinodw
include win1_mac_oli
section utility
xdef xwm_amky
;+++
; multiple keystroke routine for application subwinodw
;
; Entry Exit
; d2.l keystroke code multiple keystroke c... |
alloy4fun_models/trainstlt/models/1/TLeF7Ed3AeaQcobAE.als | Kaixi26/org.alloytools.alloy | 0 | 5209 | <filename>alloy4fun_models/trainstlt/models/1/TLeF7Ed3AeaQcobAE.als<gh_stars>0
open main
pred idTLeF7Ed3AeaQcobAE_prop2 {
always(eventually Green = Signal)
}
pred __repair { idTLeF7Ed3AeaQcobAE_prop2 }
check __repair { idTLeF7Ed3AeaQcobAE_prop2 <=> prop2o } |
open-in-dual-mode.applescript | hnsol/shimmering-obsidian | 0 | 1918 | <reponame>hnsol/shimmering-obsidian
#!/usr/bin/env osascript
if application "Obsidian" is not running then
tell application "Obsidian" to activate
delay 1.2
end if
tell application "Obsidian"
open location "obsidian://advanced-uri?commandid=workspace%253Acopy-path"
delay 0.1 -- Short pause, to make sure the path ... |
pmap.ads | M1nified/Ada-Samples | 0 | 23190 | with System;
use System;
package PMap is
type vector is array (Integer range <>) of Integer;
type vector_ptr is access vector;
type func_type is access function (X : in Integer) return Integer;
task type pmap_apply is
entry PortIn(ValIn : in Integer; FuncIn : in not null func_type);
entry PortOut(ValOut : out ... |
Unused/queues.adb | SMerrony/dashera | 23 | 21843 | <filename>Unused/queues.adb
-- Copyright (C) 2021 <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, modi... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca_notsx.log_8_420.asm | ljhsiun2/medusa | 9 | 87912 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x16832, %rsi
lea addresses_WT_ht+0x6632, %rdi
xor $42825, %r9
mov $100, %rcx
rep movsb
nop
nop
nop
nop
nop
add $43642, %rbp
lea addresses_UC_ht+0x113... |
test/Succeed/RecordUpdateSyntax.agda | redfish64/autonomic-agda | 3 | 14076 | <reponame>redfish64/autonomic-agda
module RecordUpdateSyntax where
open import Common.Prelude
open import Common.Equality
data Param : Nat → Set where
param : ∀ n → Param (suc n)
record R : Set where
field
{i} : Nat
p : Param i
s : Nat
old : R
old = record { p = param 0; s = 1 }
-- Simple update, i... |
src/sys/serialize/util-serialize-mappers.ads | RREE/ada-util | 60 | 22780 | -----------------------------------------------------------------------
-- util-serialize-mappers -- Serialize objects in various formats
-- Copyright (C) 2010, 2011, 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except... |
wof/lcs/base/1CC.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 100593 | copyright zengfr site:http://github.com/zengfr/romhack
012D94 tst.b ($1cc,A5) [base+1CD]
012D98 beq $12d9e
012FE0 beq $12fe6
01A610 dbra D1, $1a60e
copyright zengfr site:http://github.com/zengfr/romhack
|
programs/oeis/166/A166544.asm | neoneye/loda | 22 | 92026 | <filename>programs/oeis/166/A166544.asm
; A166544: a(n) = 7*n - a(n-1), with n>1, a(1)=2.
; 2,12,9,19,16,26,23,33,30,40,37,47,44,54,51,61,58,68,65,75,72,82,79,89,86,96,93,103,100,110,107,117,114,124,121,131,128,138,135,145,142,152,149,159,156,166,163,173,170,180,177,187,184,194,191,201,198,208,205,215,212,222,219,229,2... |
Structure/Operator/Monoid.agda | Lolirofle/stuff-in-agda | 6 | 574 | module Structure.Operator.Monoid where
import Lvl
open import Logic
open import Logic.Predicate
open import Structure.Setoid
open import Structure.Operator.Properties hiding (associativity ; identityₗ ; identityᵣ)
open import Structure.Operator
open import Type
-- A type and a binary operator using this type is ... |
oeis/062/A062749.asm | neoneye/loda-programs | 11 | 101619 | <reponame>neoneye/loda-programs
; A062749: Sixth column (r=5) of FS(3) staircase array A062745.
; Submitted by <NAME>(s2.)
; 12,43,108,228,431,753,1239,1944,2934,4287,6094,8460,11505,15365,20193,26160,33456,42291,52896,65524,80451,97977,118427,142152,169530,200967,236898,277788,324133,376461,435333,501344,575124,657339... |
3rdParties/src/nasm/nasm-2.15.02/test/defalias.asm | blue3k/StormForge | 1 | 163691 | %defalias foo bar
%ifdef foo
%error "foo should not be defined here!"
%endif
%define foo 33
%ifndef foo
%error "foo should be defined here!"
%endif
%ifndef bar
%error "bar should be defined here!"
%endif
%if bar != 33
%error "bar should have the value 33 here"
%endif
%define bar 34
%if foo !=... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.