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 |
|---|---|---|---|---|
runtime/ravenscar-sfp-stm32f427/gnarl-common/s-bcprmu.adb | TUM-EI-RCS/StratoX | 12 | 3416 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_13933_989.asm | ljhsiun2/medusa | 9 | 172320 | <filename>Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_13933_989.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r9
push %rax
push %rbx
push %rdi
lea addresses_A_ht+0xebd4, %rdi
nop
nop
nop
cmp %rbx, %rbx
vmovups (%rdi), %ymm4
vextracti128 $0, %ymm4, %xmm4
vpextrq $0, %xmm4, %r... |
samples/stemargs.adb | stcarrez/ada-stemmer | 3 | 20674 | <reponame>stcarrez/ada-stemmer
with Ada.Text_IO;
with Ada.Command_Line;
with Stemmer;
with Stemmer.Factory;
procedure Stemargs is
use Stemmer.Factory;
function Get_Language (Name : in String) return Language_Type;
function Get_Language (Name : in String) return Language_Type is
begin
return Languag... |
apps/breakfast/pde_fw/toast/examples/Assembly (CCE)/msp430x24x_adc12_08.asm | tp-freeforall/breakfast | 1 | 179244 | <reponame>tp-freeforall/breakfast<gh_stars>1-10
;*******************************************************************************
; MSP430x24x Demo - ADC12, Using 10 External Channels for Conversion
;
; This example shows how to perform A/D conversion on up to 10 external
; channels by showing that channels A8... |
source/oasis/program-elements-simple_return_statements.ads | optikos/oasis | 0 | 30185 | <filename>source/oasis/program-elements-simple_return_statements.ads
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Statements;
with Program.Lexical_Elements;
with Program.Elem... |
archive/agda-1/UnifyMguFTerminationHunt.agda | m0davis/oscar | 0 | 7545 | <reponame>m0davis/oscar<gh_stars>0
open import Relation.Binary using (IsDecEquivalence)
open import Agda.Builtin.Equality
-- module UnifyMguFTerminationHunt (FunctionName : Set) ⦃ isDecEquivalenceA : IsDecEquivalence (_≡_ {A = FunctionName}) ⦄ where
module UnifyMguFTerminationHunt where
postulate
FunctionName : Se... |
_maps/obj66.asm | vladjester2020/Sonic1TMR | 0 | 20717 | <filename>_maps/obj66.asm
; ---------------------------------------------------------------------------
; Sprite mappings - rotating disc that grabs Sonic (SBZ)
; ---------------------------------------------------------------------------
dc.w byte_152B4-Map_obj66, byte_152D3-Map_obj66
dc.w byte_152F2-Map_obj66... |
HW4/ChristianWebber-HW4-3.asm | vonderborch/CS260 | 0 | 90067 | <filename>HW4/ChristianWebber-HW4-3.asm
# test data
.data
cstrA: .asciiz "eve"
cstrB: .asciiz "hello"
.text
.globl threeMAIN
# a main for task 3
threeMAIN:
# check the length of the inputted c strings
la $a0, cstrA
jal STRLEN
la $a0, cstrB
jal STRLEN
# check if the inputted c strings are palindromes
la $a0,... |
experiments/test-suite/mutation-based/10/5/student.als | kaiyuanw/AlloyFLCore | 1 | 5083 | pred test77 {
some disj List0: List {some disj Node0, Node1, Node2: Node {some disj True0: True {some disj False0: False {some disj True0, False0: Boolean {
List = List0
header = List0->Node0 + List0->Node1 + List0->Node2
Node = Node0 + Node1 + Node2
no link
elem = Node0->4 + Node0->5 + Node0->6 + Node1->3 + Node2->-8 ... |
data/jpred4/jp_batch_1613899824__wbcPov0/jp_batch_1613899824__wbcPov0.als | jonriege/predict-protein-structure | 0 | 1949 | SILENT_MODE
BLOCK_FILE jp_batch_1613899824__wbcPov0.concise.blc
MAX_NSEQ 792
MAX_INPUT_LEN 794
OUTPUT_FILE jp_batch_1613899824__wbcPov0.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0.6
DEFINE_FO... |
source/web/tools/wsdl2ada/wsdl-generator-naming_conventions.adb | svn2github/matreshka | 24 | 20716 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
sources/ippcp/asm_ia32_gas_converted/macosx/g9/merged/pcpsha1w7as.asm | idesai/ipp-crypto | 1 | 176106 | <gh_stars>1-10
###############################################################################
# Copyright 2018 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Mate... |
programs/oeis/226/A226450.asm | karttu/loda | 0 | 83889 | ; A226450: a(n) = n*(3*n^2 - 5*n + 3).
; 0,1,10,45,124,265,486,805,1240,1809,2530,3421,4500,5785,7294,9045,11056,13345,15930,18829,22060,25641,29590,33925,38664,43825,49426,55485,62020,69049,76590,84661,93280,102465,112234,122605,133596,145225,157510,170469,184120,198481,213570,229405,246004,263385,281566,300565,320400... |
out/Combinatory/Signature.agda | JoeyEremondi/agda-soas | 39 | 12858 | {-
This second-order signature was created from the following second-order syntax description:
syntax Combinatory | CL
type
* : 0-ary
term
app : * * -> * | _$_ l20
i : *
k : *
s : *
theory
(IA) x |> app (i, x) = x
(KA) x y |> app (app(k, x), y) = x
(SA) x y z |> app (app (app (s, x), ... |
oeis/129/A129855.asm | neoneye/loda-programs | 11 | 24738 | ; A129855: A symmetrical triangle of coefficients based on A000217: a(n) = Binomial[n + 2, 2]; t(n,m)=a(n - m + 1)*a(m + 1).
; Submitted by <NAME>
; 9,18,18,30,36,30,45,60,60,45,63,90,100,90,63,84,126,150,150,126,84,108,168,210,225,210,168,108,135,216,280,315,315,280,216,135,165,270,360,420,441,420,360,270,165,198,330,... |
Third_Year/Compilers/testing/tests-xpl-daily-201701121739/Q-05-107-N-ok.asm | danielcorreia96/LEIC_Projects | 0 | 170013 | segment .data
align 4
r:
dq 61.0000
segment .text
align 4
global main:function
main:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp+8]
push eax
pop eax
push dword [eax]
push dword 0
push dword 8
pop eax
imul dword eax, [esp]
mov [esp], eax
pop eax
add dword [esp], eax
pop eax
push dword [eax+4]
push d... |
oeis/237/A237342.asm | neoneye/loda-programs | 11 | 18419 | ; A237342: For k in {2,3,...,9} define a sequence as follows: a(0)=0; for n>=0, a(n+1)=a(n)+1, unless a(n) ends in k, in which case a(n+1) is obtained by replacing the last digit of a(n) with the digit(s) of k^2. This is k(5).
; Submitted by <NAME>
; 0,1,2,3,4,5,25,225,2225,22225,222225,2222225,22222225,222222225,22222... |
source/asis/spec/ada-tags.ads | faelys/gela-asis | 4 | 619 | ------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
Driver/IFS/DOS/Common/dosWaitPost.asm | steakknife/pcgeos | 504 | 394 | <filename>Driver/IFS/DOS/Common/dosWaitPost.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: dosWaitPost.asm
AUTHOR: <NAME>, Mar 10, 1992
ROUTINES:
Name Description
---- -------... |
programs/oeis/232/A232615.asm | neoneye/loda | 22 | 96397 | ; A232615: Variant of the Chandra-sutra (A014701) using 3 instead of 2, and a mod argument using residues 1 and 2.
; 0,1,1,2,2,2,3,3,2,3,3,3,4,4,3,4,4,3,4,4,4,5,5,4,5,5,3,4,4,4,5,5,4,5,5,4,5,5,5,6,6,5,6,6,4,5,5,5,6,6,5,6,6,4,5,5,5,6,6,5,6,6,5,6,6,6,7,7,6,7,7,5,6,6,6,7,7,6,7,7,4,5,5
lpb $0
mov $2,$0
mul $2,2
lpb ... |
Library/Shell/DirInfo/dirinfoMain.asm | steakknife/pcgeos | 504 | 164682 | <reponame>steakknife/pcgeos
COMMENT @=====================================================================
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC/GEOS
MODULE: Shell -- DirInfo
FILE: dirinfoMain.asm
AUTHOR: <NAME>, November 9, 1992
METHODS:
Name Description
---- --------... |
Transynther/x86/_processed/P/_zr_un_/i7-7700_9_0xca_notsx.log_153_1040.asm | ljhsiun2/medusa | 9 | 163495 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xc93d, %rax
clflush (%rax)
nop
nop
nop
nop
mfence
movups (%rax), %xmm4
vpextrq $0, %xmm4, %rbx
nop
nop
nop
nop
nop
cmp $40457, %rbp
lea add... |
awul_bn-OOP.asm | ebonynon/awul_bn-with-OOP | 0 | 22583 | <reponame>ebonynon/awul_bn-with-OOP
_main:
;awul_bn-OOP.c,8 :: void main() {
;awul_bn-OOP.c,10 :: TRISB = 0b11111000; // portB set inputs (front sener panal)
MOVLW 248
MOVWF TRISB+0
;awul_bn-OOP.c,11 :: PORTB = 0x00;
CLRF PORTB+0
;awul_bn-OOP.c,12 :: TRISC = 0x00; // portC se... |
Script-Debugger/Run-Front-Script.applescript | boisy/AppleScripts | 116 | 3488 | <reponame>boisy/AppleScripts<filename>Script-Debugger/Run-Front-Script.applescript
on waitUntilReady(d)
repeat while execution state of d is not in {stopped, paused}
delay 0.2
end repeat
end waitUntilReady
tell application "Script Debugger"
set d to front document
tell d
execute
my waitUntilReady(d)
if not... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_edt0.asm | prismotizm/gigaleak | 0 | 179738 | Name: zel_edt0.asm
Type: file
Size: 1894
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: D8362C7DA722E78E3B99B384BFDE955F22542946
Description: null
|
programs/oeis/168/A168412.asm | neoneye/loda | 22 | 243961 | ; A168412: a(n) = n^5*(n^6 + 1)/2.
; 0,1,1040,88695,2097664,24415625,181402416,988671775,4294983680,15690559329,50000050000,142655915831,371504309760,896080382665,2024782853744,4324878309375,8796093546496,17135948863745,32134205984400,58245130687159,102400001600000,175138752313161,292159153282480,476404882175135,760840... |
jvm/src/main/antlr4/crdtver/parser/Lang.g4 | AntidoteDB/repliss-filesystem | 2 | 4592 | <filename>jvm/src/main/antlr4/crdtver/parser/Lang.g4
grammar Lang;
program: NL? (declaration NL?)* NL* EOF;
declaration:
procedure
| typedecl
| operationDecl
| queryDecl
| axiomDecl
| invariant
| crdtDecl
;
typedecl: kind=('idtype'|'type') name=ID typeParams? ('=' dataTypeCases+=dataTy... |
source/sql/firebird/matreshka-internals-sql_drivers-firebird-records.adb | svn2github/matreshka | 24 | 17710 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
bootdict/x86/init-user.asm | ikysil/ikforth | 8 | 174625 | ; INIT-USER
$CODE 'INIT-USER',$INIT_USER
CLD
MOV DWORD [EDI + VAR_BASE],10
MOV DWORD [EDI + VAR_CURRENT],PFA_$FORTH_WORDLIST + IMAGE_BASE
$NEXT
|
oeis/228/A228509.asm | neoneye/loda-programs | 11 | 247353 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A228509: a(n) = binomial(n^2+n+1,n) * (n+1) / (n^2+n+1) for n>=0.
; Submitted by <NAME>
; 1,2,9,88,1425,32886,992446,37106784,1657248417,86128357150,5107663394691,340427678198400,25194445531808735,2050156960934135340,181938723871328671500,17487609556155439051136,1809886... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/floor.asm | meesokim/z88dk | 0 | 166749 |
SECTION code_fp_math48
PUBLIC _floor
EXTERN cm48_sdccix_floor
defc _floor = cm48_sdccix_floor
|
tag-mac/Library/Scripts/Applications/Safari/New Tab.scpt | stevenberg/dotfiles | 2 | 14 | <reponame>stevenberg/dotfiles
tell application "Safari"
tell front window
set _old_tab to current tab
set _new_tab to make new tab at after _old_tab
set current tab to _new_tab
end tell
end tell
tell application "System Events"
tell process "Safari"
tell menu bar 1
tell menu bar item "Bo... |
oeis/289/A289798.asm | neoneye/loda-programs | 11 | 92231 | ; A289798: p-INVERT of (-1 + 2^n), where p(S) = 1 - S - S^2.
; Submitted by <NAME>
; 1,5,22,93,387,1602,6623,27377,113174,467877,1934315,7996978,33061703,136686153,565097958,2336269341,9658775347,39932014114,165089847535,682526498529,2821750872886,11665888441301,48229967585083,199395852702354,824356889826903,3408116430... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/usegenericinstance.adb | ouankou/rose | 488 | 22773 | WITH TEXT_IO; USE TEXT_IO;
PROCEDURE UseGenericInstance IS
PACKAGE INT IS NEW INTEGER_IO(INTEGER);
USE INT;
FILE : FILE_TYPE;
ITEM : INTEGER := 0;
BEGIN
GET (ITEM => ITEM, WIDTH => 0);
PUT (FILE => FILE, ITEM => ITEM, WIDTH => 4, BASE => 4);
END UseGenericInstance;
|
writeups/flag3/src/sram.asm | zer0x64/nsec2022-gband | 0 | 102396 | SECTION "Save data", SRAM
saveHeader::
ds $10
.end::
saveIsInitialized::
db
playerNameLengthSram::
db
playerNameSram::
ds $8
flagLengthSram::
db
flagSram::
ds $10
sramEnd:: |
tools-src/gnu/gcc/gcc/ada/s-stache.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 5642 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
SemiLinRE.agda | JoeyEremondi/agda-parikh | 0 | 2726 | <reponame>JoeyEremondi/agda-parikh
{-
<NAME>
Utrecht University Capita Selecta
UU# 4229924
July 22, 2015
-}
module SemiLinRE where
open import Data.Vec
open import Data.Nat
import Data.Fin as Fin
open import Data.List
import Data.List.All
open import Data.Bool
open import Data.Char
open import Data.Maybe
open impo... |
projects/08/FunctionCalls/SimpleFunction/SimpleFunction.asm | feliposz/nand2tetris | 0 | 103815 | <gh_stars>0
// function SimpleFunction.test 2
(SimpleFunction.test)
@SP
D=M
@LCL
M=D
@SP
AM=M+1
A=A-1
M=0
@SP
AM=M+1
A=A-1
M=0
// push local 0
@LCL
A=M
D=M
@SP
AM=M+1
A=A-1
M=D
// push local 1
@LCL
A=M+1
D=M
@SP
AM=M+1
A=A-1
M=D
// add
@SP
AM=M-1
D=M
@SP
A=M-1
M=D+M
// not
@SP
A=M-1
M=!M
// push argument 0
@ARG
A=M
D=M... |
programs/oeis/008/A008752.asm | neoneye/loda | 22 | 9627 | <reponame>neoneye/loda<gh_stars>10-100
; A008752: Expansion of (1+x^9)/((1-x)*(1-x^2)*(1-x^3)).
; 1,1,2,3,4,5,7,8,10,13,15,18,22,25,29,34,38,43,49,54,60,67,73,80,88,95,103,112,120,129,139,148,158,169,179,190,202,213,225,238,250,263,277,290,304,319,333,348,364,379,395,412,428,445,463,480,498,517,535,554,574,593,613,634,... |
src/Sources_de_Test/Repertoire_Simple/hello.adb | HulinCedric/file-tree-website-generator | 0 | 15660 | <reponame>HulinCedric/file-tree-website-generator
with Ada.Text_IO;
use Ada.Text_IO;
procedure Bonjour is
begin -- Bonjour
Put("Hello world!");
end Bonjour;
|
oeis/131/A131431.asm | neoneye/loda-programs | 11 | 166271 | ; A131431: 3n + 1 preceded by n zeros.
; Submitted by <NAME>
; 1,0,4,0,0,7,0,0,0,10,0,0,0,0,13,0,0,0,0,0,16,0,0,0,0,0,0,19,0,0,0,0,0,0,0,22,0,0,0,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,28,0,0,0,0,0,0,0,0,0,0,31,0,0,0,0,0,0,0,0,0,0,0,34,0,0,0,0,0,0,0,0,0,0,0,0,37
seq $0,127648 ; Triangle read by rows: row n consists of n zeros... |
oeis/003/A003622.asm | neoneye/loda-programs | 11 | 99312 | ; A003622: The Wythoff compound sequence AA: [n*phi^2] - 1, where phi = (1+sqrt(5))/2.
; Submitted by <NAME>(w4)
; 1,4,6,9,12,14,17,19,22,25,27,30,33,35,38,40,43,46,48,51,53,56,59,61,64,67,69,72,74,77,80,82,85,88,90,93,95,98,101,103,106,108,111,114,116,119,122,124,127,129,132,135,137,140,142,145,148,150,153,156,158,161... |
programs/oeis/256/A256702.asm | neoneye/loda | 22 | 29875 | ; A256702: Nonpositive part of the minimal alternating binary representation of n (defined at A256696).
; 0,0,1,0,4,2,1,0,8,8,9,4,4,2,1,0,16,16,17,16,20,18,17,8,8,8,9,4,4,2,1,0,32,32,33,32,36,34,33,32,40,40,41,36,36,34,33,16,16,16,17,16,20,18,17,8,8,8,9,4,4,2,1,0,64,64,65,64,68,66,65,64,72,72,73,68,68,66,65,64,80,80,81... |
build/default/production/alarm.asm | AlphaFelix/PBLE | 0 | 4418 | <reponame>AlphaFelix/PBLE
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.6.0 #9615 (MINGW64)
;--------------------------------------------------------
; PIC16 port for the Microchip 16-bit core micros
;-------------------------------------... |
src/implementation/yaml-dom-sequence_data.adb | robdaemon/AdaYaml | 0 | 21699 | <gh_stars>0
-- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with Yaml.Dom.Node;
package body Yaml.Dom.Sequence_Data is
use type Count_Type;
use type Ada.Containers.Hash_Type;
type Iterator is new Iterators.Forward_Iterator with record
Co... |
src/Fragment/Equational/Model/Satisfaction.agda | yallop/agda-fragment | 18 | 3573 | <gh_stars>10-100
{-# OPTIONS --without-K --exact-split --safe #-}
open import Fragment.Algebra.Signature
module Fragment.Equational.Model.Satisfaction {Σ : Signature} where
open import Fragment.Equational.Theory.Base hiding (Σ)
open import Fragment.Algebra.Algebra Σ
open import Fragment.Algebra.Free Σ
open import Fr... |
maps/PewterMuseum2F.asm | zavytar/pokecolorless | 0 | 7575 | object_const_def ; object_event constants
const PEWTERMUSEUM2F_GRAMPS
const PEWTERMUSEUM2F_SCIENTIST
const PEWTERMUSEUM2F_COOLTRAINERM
const PEWTERMUSEUM2F_POKEFAN
const PEWTERMUSEUM2F_TWIN
PewterMuseum2F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
PewterMuseum2F_GrampsScript:
jumptextfaceplayer Pewt... |
src/natools-s_expressions-interpreters.ads | faelys/natools | 0 | 18092 | <reponame>faelys/natools
------------------------------------------------------------------------------
-- Copyright (c) 2013-2014, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software ... |
game/res/lose.asm | wkcn/OSLabs | 73 | 96224 | <reponame>wkcn/OSLabs
db 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0x2a, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xa, 0x2a, 0x5, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0xca_notsx.log_21829_1718.asm | ljhsiun2/medusa | 9 | 21145 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r9
push %rax
push %rbp
push %rsi
lea addresses_UC_ht+0x2266, %r9
nop
nop
nop
nop
sub %r10, %r10
mov $0x6162636465666768, %rsi
movq %rsi, (%r9)
nop
nop
sub %rax, %rax
lea addresses_WC_ht+0x4166, %rsi
cmp %r9, %r9
movl $0x61626364, (%rsi)
no... |
Thesis/Lang.agda | inc-lc/ilc-agda | 10 | 5876 | module Thesis.Lang where
open import Thesis.Syntax public
open import Thesis.Environments public
⟦_⟧Const : ∀ {τ} → Const τ → ⟦ τ ⟧Type
⟦ unit ⟧Const = tt
⟦ lit n ⟧Const = n
⟦ plus ⟧Const = _+_
⟦ minus ⟧Const = _-_
⟦ cons ⟧Const v1 v2 = v1 , v2
⟦ fst ⟧Const (v1 , v2) = v1
⟦ snd ⟧Const (v1 , v2) = v2
⟦ linj ⟧Const v1 ... |
Examples/Ada/gmain.adb | caqg/linux-home | 0 | 9167 | <filename>Examples/Ada/gmain.adb
with Greetings;
procedure Gmain is
begin
Greetings.Hello;
Greetings.Goodbye;
end Gmain;
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a83a08a.ada | best08618/asylo | 7 | 14696 | -- A83A08A.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... |
grammars/special-k/SpecialK.g4 | mindfulthinktank/special-k | 0 | 6960 | <reponame>mindfulthinktank/special-k
grammar SpecialK;
// Parser
compilationUnit
: PRINT StringLiteral
;
// LEXER
// Keywords
PRINT : 'print';
#include "java/lexer/literals.i4"
#include "java/lexer/whitespace.i4"
#include "java/lexer/comments.i4"
|
homotopy/ConstantToSetFactorization.agda | danbornside/HoTT-Agda | 0 | 2907 | {-# OPTIONS --without-K #-}
open import HoTT
open import homotopy.OneSkeleton
module homotopy.ConstantToSetFactorization
{i j} {A : Type i} {B : Type j} (B-is-set : is-set B)
(f : A → B) (f-is-const : ∀ a₁ a₂ → f a₁ == f a₂) where
private
Skel : Type i
Skel = Trunc ⟨0⟩ (OneSkeleton f)
abstract
... |
software/minol/source/commands/goto_run.asm | paulscottrobson/retrochallenge-jan-2016 | 0 | 17445 | <reponame>paulscottrobson/retrochallenge-jan-2016
; ****************************************************************************************************************
; ****************************************************************************************************************
;
; GOTO and RUN
;
; *******... |
src/distance.asm | QuinnPainter/Renegade-Rush | 1 | 17263 | <filename>src/distance.asm
INCLUDE "hardware.inc"
INCLUDE "macros.inc"
INCLUDE "charmaps.inc"
; This file is in charge of keeping track of the player's travelled distance,
; and for increasing the difficulty accordingly.
DEF AREA1_DISTBOUNDARY EQU $001600 ; 3 byte BCD
DEF AREA2_DISTBOUNDARY EQU $003600
DEF AREA3_DISTB... |
test/interaction/Issue3829.agda | cruhland/agda | 1,989 | 6931 | <filename>test/interaction/Issue3829.agda
-- Scenario:
-- * start with B only
-- * write 'f B = B'
-- * add constructor A
-- * want to deal with it first to preserve alphabetical ordering of clauses
-- * add 'f t = ?' *above* 'f B = B'
-- WAS: split t, get A and B
-- WANT: split t, get A only
data Type : Set whe... |
test/Fail/NoSplitInterval.agda | cruhland/agda | 1,989 | 1838 | {-# OPTIONS --cubical --omega-in-omega #-}
open import Agda.Primitive.Cubical
open import Agda.Builtin.Bool
-- With --omega-in-omega we are allowed to split on Setω datatypes.
-- Andrea 22/05/2020: in the future we might be allowed even without --omega-in-omega.
-- This test makes sure the interval I is still specia... |
org.alloytools.alloy.extra/extra/models/book/chapter2/addressBook1c.als | Kaixi26/org.alloytools.alloy | 527 | 2801 | <gh_stars>100-1000
module tour/addressBook1c ----- Page 8
sig Name, Addr { }
sig Book {
addr: Name -> lone Addr
}
pred show [b: Book] {
#b.addr > 1
some n: Name | #n.(b.addr) > 1
}
// This command should not find any instance.
run show for 3 but 1 Book
|
lemmas-subst-ta.agda | hazelgrove/hazelnut-dynamics-agda | 16 | 13588 | open import Prelude
open import Nat
open import core
open import contexts
open import weakening
open import exchange
open import lemmas-disjointness
open import binders-disjoint-checks
module lemmas-subst-ta where
-- this is what makes the binders-unique assumption below good enough: it
-- tells us that we can pic... |
programs/oeis/068/A068073.asm | karttu/loda | 1 | 176046 | <filename>programs/oeis/068/A068073.asm
; A068073: Period 4 sequence [ 1, 2, 3, 2, ...].
; 1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1,2,3,2,1
gcd $0,4
mov $1,$0... |
bin/JWASM/Samples/Movd64.asm | Abd-Beltaji/ASMEMU | 3 | 163029 |
;--- sample demonstrates usage of movd64 macro.
;--- assemble:
;--- jwasm -win64 Movd64.asm or
;--- ml64 -c Movd64.asm
;--- link:
;--- link /subsystem:console Movd64.obj msvcrt.lib
option casemap:none
include movd64.inc
printf proto :vararg
.data
vq dq 1
vd dd 2
vw dw 4
vb ... |
programs/oeis/291/A291004.asm | karttu/loda | 1 | 17143 | ; A291004: p-INVERT of (1,1,1,1,1,...), where p(S) = (1 - 3*S)^2.
; 6,33,168,816,3840,17664,79872,356352,1572864,6881280,29884416,128974848,553648128,2365587456,10066329600,42681237504,180388626432,760209211392,3195455668224,13400297963520,56075093016576,234195976716288,976366325465088,4063794976260096
mov $2,$0
add $... |
externals/mpir-3.0.0/mpn/powerpc64/mode64/sub_n.asm | JaminChan/eos_win | 12 | 8313 | dnl PowerPC-64 mpn_sub_n -- Subtract two limb vectors of the same length > 0
dnl and store difference in a third limb vector.
dnl Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
... |
oeis/073/A073028.asm | neoneye/loda-programs | 11 | 6433 | ; A073028: a(n) = max{ C(n,0), C(n-1,1), C(n-2,2), ..., C(n-n,n) }.
; Submitted by <NAME>
; 1,1,1,2,3,4,6,10,15,21,35,56,84,126,210,330,495,792,1287,2002,3003,5005,8008,12376,19448,31824,50388,77520,125970,203490,319770,497420,817190,1307504,2042975,3268760,5311735,8436285,13123110,21474180,34597290,54627300,86493225,1... |
oeis/004/A004186.asm | neoneye/loda-programs | 11 | 86152 | ; A004186: Arrange digits of n in decreasing order.
; Submitted by <NAME>
; 0,1,2,3,4,5,6,7,8,9,10,11,21,31,41,51,61,71,81,91,20,21,22,32,42,52,62,72,82,92,30,31,32,33,43,53,63,73,83,93,40,41,42,43,44,54,64,74,84,94,50,51,52,53,54,55,65,75,85,95,60,61,62,63,64,65,66,76,86,96,70,71,72,73,74,75,76,77,87,97,80,81,82,83,84... |
MinionRush/minion_rush.asm | CristinaNilvan/minion-rush-assembly-i386 | 1 | 24123 | <reponame>CristinaNilvan/minion-rush-assembly-i386
.386
.model flat, stdcall
includelib msvcrt.lib
extern exit: proc
extern malloc: proc
extern memset: proc
includelib canvas.lib
extern BeginDrawing: proc
public start
.data
window_title db "Minion Rush 2D", 0
area_width equ 640
area_height equ 480
area dd 0
count... |
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sdcc_ix/tshc_scroll_wc_up.asm | jpoikela/z88dk | 640 | 244845 | ; void tshc_scroll_wc_up(struct r_Rect8 *r, uchar rows, uchar attr)
SECTION code_clib
SECTION code_arch
PUBLIC _tshc_scroll_wc_up
EXTERN l0_tshc_scroll_wc_up_callee
_tshc_scroll_wc_up:
pop af
pop bc
pop de
push de
push bc
push af
ld l,d
jp l0_tshc_scroll_wc_up_callee
|
cat.asm | brian19991119/changbri_project4_frq | 0 | 245581 |
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %ebp
b: ... |
lib/msx_crt0.asm | teknoplop/z88dk | 0 | 165526 | ; MSX C stub
;
; <NAME> - Apr. 2001
;
; $Id: msx_crt0.asm,v 1.35 2015/10/20 16:51:33 stefano Exp $
;
; There are a couple of #pragma commands which affect
; this file:
;
; #pragma output nostreams - No stdio disc files
; #pragma output nofileio - No fileio at all, use in conjunction to "-lndos"... |
sfx_engine/SFXs-Mod.asm | GSoftwareDevelopment/sfx-tracker | 9 | 93532 | <reponame>GSoftwareDevelopment/sfx-tracker
;
; MODULATORS SECTIONS
; input: A register modulation mode
; output: A register modulation value, on JMP change_freq, or
; frequency value, on JMP setChannelFreq
;
; Y Register - can be changed, if need do jump in SFX range
; ATTENTION! The Engine... |
data/pokemon/dex_entries/cacturne.asm | AtmaBuster/pokeplat-gen2 | 6 | 6078 | <reponame>AtmaBuster/pokeplat-gen2
db "SCARECROW@" ; species name
db "Packs of them"
next "follow travelers"
next "through the desert"
page "until the group of"
next "travelers are too"
next "tired to move.@"
|
src/chrbanks.6502.asm | mrpopogod/nes-fun | 0 | 247538 | .target "6502"
.format "nes"
.setting "NESMapper", 3
.setting "NESVerticalMirroring", true
.setting "ShowLabelsAfterCompiling", true
.setting "ShowLocalLabelsAfterCompiling", true
.setting "LaunchCommand", "c:\\emulation\\fceux.exe {0}"
.setting "DebugCommand", "c:\\emulation\\fceux.exe {0}"
;;;;;;;;;;... |
programs/oeis/017/A017067.asm | neoneye/loda | 22 | 98037 | ; A017067: a(n) = (8*n)^3.
; 0,512,4096,13824,32768,64000,110592,175616,262144,373248,512000,681472,884736,1124864,1404928,1728000,2097152,2515456,2985984,3511808,4096000,4741632,5451776,6229504,7077888,8000000,8998912,10077696,11239424,12487168,13824000,15252992,16777216,18399744,20123648,21952000,23887872,25934336,28... |
test/asm/bracketed-symbols.asm | michealccc/rgbds | 522 | 13537 | X = 42
PRINTLN "{X}"
PRINTLN "{x:X}"
PRINTLN "{X:X}"
PRINTLN "{d:X}"
PRINTLN "{b:X}"
Y equ 1337
PRINTLN "{b:Y}"
rsreset
R rb 0
PRINTLN "{d:R}"
S equs "You can't format me!"
PRINTLN "{X:S}"
SECTION "Test", ROM0
Label:
PRINTLN "{x:Label}"
PRINTLN "{x:@}"
|
programs/oeis/111/A111138.asm | neoneye/loda | 22 | 104674 | <filename>programs/oeis/111/A111138.asm<gh_stars>10-100
; A111138: Let b(n) denote the number of nontriangular numbers less than or equal to n. Then a(n) = b(n-1) + a(b(n-1)), with a(1) = a(2) = 0, a(3) = 1.
; 0,0,1,1,2,4,4,5,7,10,10,11,13,16,20,20,21,23,26,30,35,35,36,38,41,45,50,56,56,57,59,62,66,71,77,84,84,85,87,90... |
FormalAnalyzer/models/meta/cap_windowShade.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 849 | <gh_stars>0
// filename: cap_windowShade.als
module cap_windowShade
open IoTBottomUp
one sig cap_windowShade extends Capability {}
{
attributes = cap_windowShade_attr
}
abstract sig cap_windowShade_attr extends Attribute {}
one sig cap_windowShade_attr_windowShade extends cap_windowShade_attr {}
{
values = cap... |
programs/oeis/196/A196290.asm | karttu/loda | 1 | 176866 | ; A196290: n^9 + n.
; 0,2,514,19686,262148,1953130,10077702,40353614,134217736,387420498,1000000010,2357947702,5159780364,10604499386,20661046798,38443359390,68719476752,118587876514,198359290386,322687697798,512000000020,794280046602,1207269217814,1801152661486,2641807540248,3814697265650,5429503679002,7625597485014,1... |
Windows/Visual Studio/DataScan/DataScan/Main.asm | leonhad/masm | 9 | 21245 | <gh_stars>1-10
.386
.model flat
.data
intArray SWORD 0,0,0,0,14,3,0,-34,-56,7,8
.code
main PROC
mov ebx, offset intArray
mov ecx, lengthof intArray
L1:
cmp WORD PTR [ebx], 0
jnz found
add ebx, 2
loop L1
jmp notFound
found:
movsx eax, WORD PTR[ebx]
jmp quit
notFound:
mov eax, 999999
quit:
ret
main ENDP... |
sbsext/ed/keyin.asm | olifink/smsqe | 0 | 244830 | * ED - Read input keys 1985 <NAME> QJUMP
*
section ed
*
xdef ed_keyin
xdef ed_up
xdef ed_down
xdef ed_right
*
xref ed_sttmd
xref ed_endmd
xref ed_abtmd
xref ed_getln
*
xref ed_setps
*
xref ed_insch
xref ed_delch
xref ed_enter
xref ed_dline
xref ed_wprev
xref ed_wnext
xref ed_scrup
xref ed_scrdn
... |
oeis/274/A274663.asm | neoneye/loda-programs | 11 | 85907 | ; A274663: Sum of n-th powers of the roots of x^3 + 4*x^2 - 11*x - 1.
; Submitted by <NAME>
; 3,-4,38,-193,1186,-6829,40169,-234609,1373466,-8034394,47011093,-275049240,1609284589,-9415668903,55089756851,-322322100748,1885860059450,-11033893589177,64557712909910,-377717821061137,2209972232664381,-12930227249420121,7565... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/interface5.ads | best08618/asylo | 7 | 25722 | <reponame>best08618/asylo
package interface5 is
type B is tagged null record;
type I is interface;
function F (Object : I) return access I is abstract;
type Child is new B and I with null record;
function F (Object : Child) return access Child;
end interface5;
|
examples/gl_cube/cube.adb | godunko/adawebui | 2 | 9815 | <filename>examples/gl_cube/cube.adb
with Cube_Demo;
procedure Cube is
begin
null;
end Cube;
|
kernel/kthread.asm | iosmanthus/Osmanthus | 45 | 176406 | <filename>kernel/kthread.asm
;; Copyright (c) 2018 Liming,Deng <<EMAIL>>
;; Author: <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 limitatio... |
programs/oeis/022/A022375.asm | neoneye/loda | 22 | 15595 | ; A022375: Fibonacci sequence beginning 2, 26.
; 2,26,28,54,82,136,218,354,572,926,1498,2424,3922,6346,10268,16614,26882,43496,70378,113874,184252,298126,482378,780504,1262882,2043386,3306268,5349654,8655922,14005576,22661498,36667074,59328572,95995646,155324218,251319864,406644082,657963946,1064608028,1722571974,27871... |
programs/oeis/163/A163675.asm | karttu/loda | 0 | 24224 | ; A163675: a(n) = n*(2*n^2 + 5*n + 19)/2.
; 0,13,37,78,142,235,363,532,748,1017,1345,1738,2202,2743,3367,4080,4888,5797,6813,7942,9190,10563,12067,13708,15492,17425,19513,21762,24178,26767,29535,32488,35632,38973,42517,46270,50238,54427,58843,63492,68380,73513,78897,84538,90442,96615,103063,109792,116808,124117,131725,... |
oeis/311/A311257.asm | neoneye/loda-programs | 11 | 83309 | <filename>oeis/311/A311257.asm
; A311257: Coordination sequence Gal.6.115.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>
; 1,4,8,12,16,21,25,29,34,38,42,46,50,54,58,62,66,71,75,79,84,88,92,96,100,104,108,112,11... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_19744_571.asm | ljhsiun2/medusa | 9 | 86284 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_19744_571.asm
.global s_prepare_buffers
s_prepare_buffers:
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1a8c7, %rsi
lea addresses_D_ht+0x1cc7, %rdi
nop
nop
lfence
mov $13, %rcx
rep movsb
dec %rbp
pop %rsi
pop... |
programs/oeis/115/A115205.asm | karttu/loda | 1 | 103771 | ; A115205: a(n) = binomial(n, 9) + 1.
; 1,1,1,1,1,1,1,1,1,2,11,56,221,716,2003,5006,11441,24311,48621,92379,167961,293931,497421,817191,1307505,2042976,3124551,4686826,6906901,10015006,14307151,20160076,28048801,38567101,52451257,70607461,94143281,124403621,163011641,211915133,273438881,350343566,445891811,563921996,70... |
source/base/incr-lexers-batch_lexers-generic_lexers.ads | reznikmm/increment | 5 | 19674 | <filename>source/base/incr-lexers-batch_lexers-generic_lexers.ads
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Matreshka.Internals.Unicode;
generic
with function To_Class (Value : Ma... |
devices2.adb | gonma95/RealTimeSystem_CarDistrations | 0 | 9570 | <gh_stars>0
-- Error in samples has been corrcted
with Kernel.Serial_Output; use Kernel.Serial_Output;
with ada.strings.unbounded; use ada.strings.unbounded;
with ada.strings.unbounded.text_io; use ada.strings.unbounded.text_io;
with System; use System;
with tools; use tools;
package body devices is
EY... |
Routing/WIP - Automatically route click tracks.applescript | bsmith96/Qlab-Scripts | 1 | 1079 | <reponame>bsmith96/Qlab-Scripts
-- @description Automatically route click tracks
-- @author <NAME>
-- @link bensmithsound.uk
-- @version 1.0
-- @testedmacos 10.13.6
-- @testedqlab 4.6.9
-- @about Run this script with click tracks selected, it will automatically route them based on the filename.
-- @separateprocess TRUE... |
Kernel/empty_end.asm | MaybeELEMENT/Fortius | 0 | 178011 | <gh_stars>0
times 17920 db 0 ; 20 blank sectors
|
asm/hello_world/hello.asm | severinkaderli/BTI7061-CSBas | 1 | 90474 | section .data
Message: db "Hello, World!"
MessageLength: equ $ - Message
section .text
global _start
EXTERN printText, printNewline, convertNumberToString
_start:
mov rcx, Message
mov rdx, MessageLength
call printText
call printNewline
exit:
mov rax, 1
mov rbx, 0
int 0x80
|
Lab2April/d2b.asm | forkkr/Assembly-Lab | 0 | 8315 |
extern printf
extern scanf
extern gets
SECTION .data
int_in_fmt: db "%ld",0
int_out_fmt: db "%ld",0
int: dq 0
char: db 0
out_str_fmt: db "%s",10,0
in_str_fmt: db "%s",0
out_char_fmt: db "%c",10,0
in_char_fmt: db "%c",0
strs: db 0
SECTION .bss
str: resb 100
arr: resq 100
SECTION .text
global main
main... |
tests/calc.asm | lukaszcz/asm32 | 0 | 102191 | <gh_stars>0
;;; calc.asm - test program; assembly: make test
;;; <NAME>
section .text
global _start
extern printf, fgets, sscanf, exit
_start:
push calc
call printf
add esp, 4
push promptd
call printf
add esp, 4
push [line_size]
p... |
src/x86/mc_avx512.asm | feiwei9696/dav1d | 0 | 92068 | <filename>src/x86/mc_avx512.asm
; Copyright © 2020, VideoLAN and dav1d authors
; Copyright © 2020, Two Orioles, LLC
; 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... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_451.asm | ljhsiun2/medusa | 9 | 243796 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rdi
lea addresses_D_ht+0x10bf4, %r13
nop
nop
and %rdi, %rdi
mov (%r13), %r8
nop
cmp $64691, %r12
pop %rdi
pop %r8
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %rax
push %rbp
push %rbx
pu... |
firmware/fx2/descriptors_hdmi2usb.a51 | RacingTornado/fx2_emulation_timvideos | 0 | 168806 | <filename>firmware/fx2/descriptors_hdmi2usb.a51
; //////////////////////////////////////////////////////////////////////////////
; /// Copyright (c) 2013, <NAME>
; /// All rights reserved.
; ///
; /// Redistribution and use in source and binary forms, with or without modification,
; /// are permitted provided that the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.