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 |
|---|---|---|---|---|
Modules/Module3/5_Repetition/repetition1.asm | hackettccp/CSCI213 | 0 | 242328 | <filename>Modules/Module3/5_Repetition/repetition1.asm
#Demonstrates a repetitive structure
#Run and look at the $t1 register
.text
li $t0, 0 #Loads 0 into $t0
li $t1, 1 #Acts as a counter
li $t2, 5 #Used to stop the loop
loop:
bgt $t1, $t2, done #Stops if $t1 > $t2
add $t0, $t0, $t1 #Adds $t1 to $t0... |
projects/batfish/src/main/antlr4/org/batfish/grammar/fortios/FortiosLexer.g4 | jawyoonis/batfish | 0 | 3816 | lexer grammar FortiosLexer;
options {
superClass = 'org.batfish.grammar.fortios.parsing.FortiosBaseLexer';
}
tokens {
QUOTED_TEXT,
UNQUOTED_WORD_CHARS
}
// Keyword Tokens
ADMIN:
'admin'
{
if (lastTokenType() == REPLACEMSG) {
pushMode(M_Str);
}
}
;
AGGREGATE: 'aggregate';
ALERTMAIL: 'alert... |
include/sf-network.ads | Fabien-Chouteau/ASFML | 0 | 8610 | --//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2015 <NAME> (<EMAIL>)
-- This software is provided 'as-is', without any express or implied warranty.
-- In no event will the authors be held liable for any damages arising from the use of this... |
trading.als | asmodehn/aiokraken | 0 | 2303 | sig Market {
//pair: String // TODO
marketprice: one Int
}{
marketprice > 0
}
abstract sig Order {
market: one Market,
}
abstract sig SellOrder, BuyOrder extends Order {}
fact { SellOrder + BuyOrder = Order }
sig LimitSell extends SellOrder { limitprice: Int }
sig LimitBuy extends BuyOrder { limitprice: Int }
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1983.asm | ljhsiun2/medusa | 9 | 93269 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x563b, %r15
nop
nop
nop
nop
nop
sub $44770, %r10
movl $0x61626364, (%r15)
nop
nop
nop
nop
nop
sub %r15, %r15
lea addresses_normal_ht+0x19851, %r10
nop
... |
i386.asm | MrBad/cosiris | 10 | 175622 | [BITS 32]
EXTERN start, code, bss, end, data ; passed in by linker - ldscript.ld
EXTERN stack_ptr, stack_size ; saved in startup.asm
STACKSIZE equ 0x4000 ; stack size
[SECTION .text]
GLOBAL get_esp
get_esp:
mov eax, esp
add eax, 4
ret
GLOBAL get_ebp
get_ebp:
mov eax, ebp
... |
engine/battle/unused_stats_functions.asm | opiter09/ASM-Machina | 1 | 171099 | <reponame>opiter09/ASM-Machina
; does nothing since no stats are ever selected (barring glitches)
DoubleSelectedStats:
;ldh a, [hWhoseTurn]
;and a
;ld a, [wPlayerStatsToDouble]
;ld hl, wBattleMonAttack + 1
;jr z, .notEnemyTurn
;ld a, [wEnemyStatsToDouble]
;ld hl, wEnemyMonAttack + 1
;.notEnemyTurn
;ld c, 4
;ld... |
dos/DosGetProcAddr.asm | osfree-project/FamilyAPI | 1 | 85234 |
;*** get an export from a NE module
.8086
externdef GETPROCADDRESS:far
public DOSGETPROCADDR
_TEXT segment byte public 'CODE'
DOSGETPROCADDR:
push BP
mov BP,SP
push BX
push CX
push DX
push ds
push ES
pus... |
programs/oeis/024/A024493.asm | karttu/loda | 0 | 95662 | ; A024493: a(n) = C(n,0) + C(n,3) + ... + C(n,3[n/3]).
; 1,1,1,2,5,11,22,43,85,170,341,683,1366,2731,5461,10922,21845,43691,87382,174763,349525,699050,1398101,2796203,5592406,11184811,22369621,44739242,89478485,178956971,357913942,715827883,1431655765,2863311530,5726623061,11453246123,22906492246,45812984491,9162596898... |
Transynther/x86/_processed/NC/_ht_st_zr_un_4k_sm_/i7-7700_9_0xca.log_21829_766.asm | ljhsiun2/medusa | 9 | 164346 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xaa1f, %r11
nop
nop
nop
nop
nop
sub $45507, %r12
mov (%r11), %r8w
nop
nop
nop
inc %r14
lea addresses_WC_ht+0xcad7, %rsi
lea addresses_A_ht+0xad1f... |
programs/oeis/037/A037126.asm | jmorken/loda | 1 | 93940 | <reponame>jmorken/loda<gh_stars>1-10
; A037126: Triangle T(n,k) = prime(k) for k = 1..n.
; 2,2,3,2,3,5,2,3,5,7,2,3,5,7,11,2,3,5,7,11,13,2,3,5,7,11,13,17,2,3,5,7,11,13,17,19,2,3,5,7,11,13,17,19,23,2,3,5,7,11,13,17,19,23,29,2,3,5,7,11,13,17,19,23,29,31,2,3,5,7,11,13,17,19,23,29,31,37,2,3,5,7,11,13,17,19,23,29,31,37,41,2,... |
experiments/test-suite/mutation-based/10/7/grade.als | kaiyuanw/AlloyFLCore | 1 | 3214 | <gh_stars>1-10
pred test6 {
some disj Student0: Student {some disj Professor0, Professor1: Professor {some disj Student0, Professor0, Professor1: Person {some disj Class0, Class1, Class2: Class {some disj Assignment0, Assignment1: Assignment {
Student = Student0
Professor = Professor0 + Professor1
Person = Student0 + P... |
Task/Arena-storage-pool/Ada/arena-storage-pool-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 21949 | <reponame>LaudateCorpus1/RosettaCodeData
package body Arena_Pools is
procedure Allocate
( Pool : in out Arena;
Address : out System.Address;
Size : Storage_Count;
Alignment : Storage_Count
) is
Free : constant Storage_Offse... |
tools/scitools/conf/understand/ada/ada05/a-diroro.ads | brucegua/moocos | 1 | 1313 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
_build/dispatcher/jmp_ippsGFpECSetPointRandom_df4cb132.asm | zyktrcn/ippcp | 1 | 169364 | <gh_stars>1-10
extern m7_ippsGFpECSetPointRandom:function
extern n8_ippsGFpECSetPointRandom:function
extern y8_ippsGFpECSetPointRandom:function
extern e9_ippsGFpECSetPointRandom:function
extern l9_ippsGFpECSetPointRandom:function
extern n0_ippsGFpECSetPointRandom:function
extern k0_ippsGFpECSetPointRandom:function
exte... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_2_460.asm | ljhsiun2/medusa | 9 | 178269 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r9
push %rax
push %rbp
push %rbx
// Store
mov $0x323af600000002d5, %rbp
nop
inc %rbx
mov $0x5152535455565758, %r12
movq %r12, %xmm1
vmovups %ymm1, (%rbp)
add %rax, %rax
// Load... |
src/Sq.g4 | msadeqsirjani/Antlr-Sq | 1 | 4502 | grammar Sq;
parse
: block EOF
;
block
: stat*
;
class
: CLASS ID OPAR variable CPAR stat_block
| CLASS ID IMPLEMENTS (expr ',')* expr OPAR variable CPAR stat_block
| CLASS ID EXTEND expr OPAR variable CPAR stat_block
| CLASS ID EXTEND expr IMPLEMENTS (expr ',')* expr OPAR variable CPAR stat_block
;
lib
: ... |
test/Fail/Issue2596b.agda | shlevy/agda | 1,989 | 9843 | <gh_stars>1000+
{-# OPTIONS -W ignore #-}
module Issue2596b where
-- This warning will be ignored
{-# REWRITE #-}
-- but this error will still be raised
f : Set
f = f
|
LAB 1/Multiply.asm | Mawlong/Computer-Organization-and-Architecture | 0 | 87304 | <reponame>Mawlong/Computer-Organization-and-Architecture<filename>LAB 1/Multiply.asm
.data
num1:.word 100
num2:.word 9
msg1:.asciiz "The result is"
.text
.globl main
main:
lw $t1, num1
lw $t2, num2
mul $t3,$t1,$t2
li $v0, 4
la $a0, msg1
syscall
li $v0, 1
move $a0,$t3
syscall
li $v0, 10
syscal... |
libsrc/games/c128/bit_open.asm | meesokim/z88dk | 0 | 25045 | <reponame>meesokim/z88dk<gh_stars>0
; $Id: bit_open.asm,v 1.3 2015/01/19 01:32:44 pauloscustodio Exp $
;
; TRS-80 1 bit sound functions
;
; void bit_open();
;
; <NAME> - 8/4/2008
;
PUBLIC bit_open
EXTERN snd_tick
.bit_open
;-----
; <NAME> - digiboost fix for new SID, version 8580
ld e,7 ... |
libsrc/_DEVELOPMENT/stdlib/c/sccz80/srand.asm | meesokim/z88dk | 0 | 84346 | <reponame>meesokim/z88dk
; void srand(unsigned int seed)
SECTION code_stdlib
PUBLIC srand
EXTERN asm_srand
defc srand = asm_srand
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c7/c74402b.ada | best08618/asylo | 7 | 30608 | <reponame>best08618/asylo
-- C74402B.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 contai... |
alloy4fun_models/trashltl/models/4/LWmfjQ4cEowqTKWvh.als | Kaixi26/org.alloytools.alloy | 0 | 2574 | <filename>alloy4fun_models/trashltl/models/4/LWmfjQ4cEowqTKWvh.als
open main
pred idLWmfjQ4cEowqTKWvh_prop5 {
some f: File | eventually f not in File
}
pred __repair { idLWmfjQ4cEowqTKWvh_prop5 }
check __repair { idLWmfjQ4cEowqTKWvh_prop5 <=> prop5o } |
source/amf/uml/amf-internals-uml_exception_handlers.ads | svn2github/matreshka | 24 | 15869 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
generated-src/win-x86/crypto/chacha/chacha-x86.asm | jylama99/aws-lc | 0 | 243844 | ; This file is generated from a similarly-named Perl script in the BoringSSL
; source tree. Do not edit by hand.
%ifdef BORINGSSL_PREFIX
%include "boringssl_prefix_symbols_nasm.inc"
%endif
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
$@feat.00 equ 1
sec... |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_IterateUpdateRect.asm | meesokim/z88dk | 0 | 246514 | <filename>libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_IterateUpdateRect.asm
; void sp1_IterateUpdateRect(struct sp1_Rect *r, void *hook)
SECTION code_temp_sp1
PUBLIC _sp1_IterateUpdateRect
_sp1_IterateUpdateRect:
pop af
pop hl
pop ix
push ix
push hl
push af
ld d,(hl)
inc hl
ld e,(h... |
Driver/Printer/Fax/FaxPrint/faxprintManager.asm | steakknife/pcgeos | 504 | 18725 | <filename>Driver/Printer/Fax/FaxPrint/faxprintManager.asm<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994. All rights reserved.
GEOWORKS CONFIDENTIAL
PROJECT: Tiramisu
MODULE: Fax
FILE: faxprintManager.asm
AUTHOR: <NAME>, Mar... |
Data Structures Extension/src/com/polydes/datastruct/grammar/Condition.g4 | justin-espedal/polydes | 8 | 67 | grammar Condition;
expression
: primary #ExprPrimary
| expression '.' name=Identifier
'(' (expression (',' expression)*)? ')' #ExprInvocation
| expression '.' name=Identifier #ExprField
| ('-') expression #E... |
programs/oeis/048/A048772.asm | neoneye/loda | 22 | 82200 | <reponame>neoneye/loda
; A048772: Partial sums of A048696.
; 1,10,29,76,189,462,1121,2712,6553,15826,38213,92260,222741,537750,1298249,3134256,7566769,18267802,44102381,106472572,257047533,620567646,1498182833,3616933320,8732049481,21081032290,50894114069,122869260436,296632634949,716134530342,1728901695641,41739379216... |
agda/plt/chapter1/test.agda | raventid/coursera_learning | 1 | 10968 | <reponame>raventid/coursera_learning<filename>agda/plt/chapter1/test.agda
open import IO
data ℕ : Set where
zero : ℕ
suc : ℕ → ℕ
seven = suc (suc (suc (suc (suc (suc (suc zero))))))
main = run (putStrLn "Hello, world!")
|
archive/agda-2/Oscar/Data/Permutation/Properties.agda | m0davis/oscar | 0 | 5007 |
module Oscar.Data.Permutation.Properties where
open import Data.Permutation.Properties public
open import Data.Nat
open import Oscar.Data.Vec renaming (delete to deleteV)
open import Oscar.Data.Vec.Properties
open import Oscar.Data.Permutation
∈-enum : ∀ {n m} (i : Inj n m) → i ∈ enum n m
∈-enum {zero} [] = here
∈-... |
hint.asm | hexagonix/Fontes | 0 | 90271 | <filename>hint.asm
;;************************************************************************************
;;
;;
;; ┌┐ ┌┐ Sistema Operacional Hexagonix®
;; ││ ││
;; │└─┘├──┬┐┌┬──┬──┬──┬─┐┌┬┐┌┐ Copyright © 2016-2022 <NAME>
;; │┌─┐││─┼┼┼┤┌┐│┌┐│┌┐│┌┐┼┼┼┼┘ Todos os direitos re... |
programs/oeis/322/A322171.asm | neoneye/loda | 22 | 164067 | ; A322171: Expansion of x*(3 + 5*x + x^2 + x^3)/((1 - x)^2*(1 + x^2)).
; 3,11,17,19,23,31,37,39,43,51,57,59,63,71,77,79,83,91,97,99,103,111,117,119,123,131,137,139,143,151,157,159,163,171,177,179,183,191,197,199,203,211,217,219,223,231,237,239,243,251,257,259,263,271,277,279,283,291,297,299
add $0,1
mov $1,7
mov $2,1
... |
FormalAnalyzer/models/apps/ID10DynamicPage+.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 4368 | <reponame>Mohannadcse/IoTCOM_BehavioralRuleExtractor
module app_ID10DynamicPage
open IoTBottomUp as base
open cap_userInput
open cap_location
open cap_lock
open cap_runIn
open cap_presenceSensor
one sig app_ID10DynamicPage extends IoTApp {
sendPushMessage : one cap_userInput,
sunMode : one cap_location_at... |
oeis/097/A097262.asm | neoneye/loda-programs | 11 | 19493 | ; A097262: Numbers whose set of base 16 digits is {0,F}, where F base 16 = 15 base 10.
; Submitted by <NAME>(s3)
; 0,15,240,255,3840,3855,4080,4095,61440,61455,61680,61695,65280,65295,65520,65535,983040,983055,983280,983295,986880,986895,987120,987135,1044480,1044495,1044720,1044735,1048320,1048335,1048560,1048575,1572... |
programs/oeis/325/A325475.asm | neoneye/loda | 22 | 23284 | <gh_stars>10-100
; A325475: a(n) = (24*n)^2.
; 0,576,2304,5184,9216,14400,20736,28224,36864,46656,57600,69696,82944,97344,112896,129600,147456,166464,186624,207936,230400,254016,278784,304704,331776,360000,389376,419904,451584,484416,518400,553536,589824,627264,665856,705600,746496,788544,831744,876096,921600,968256,10... |
programs/oeis/055/A055377.asm | neoneye/loda | 22 | 26849 | <filename>programs/oeis/055/A055377.asm<gh_stars>10-100
; A055377: a(n) = largest prime <= n/2.
; 2,2,3,3,3,3,5,5,5,5,7,7,7,7,7,7,7,7,11,11,11,11,13,13,13,13,13,13,13,13,17,17,17,17,19,19,19,19,19,19,19,19,23,23,23,23,23,23,23,23,23,23,23,23,29,29,29,29,31,31,31,31,31,31,31,31,31,31,31,31,37,37,37,37,37,37,37,37,41,41,... |
oeis/054/A054093.asm | neoneye/loda-programs | 11 | 20443 | ; A054093: T(n,n-1), array T as in A054090.
; Submitted by <NAME>
; 1,2,2,8,24,106,546,3368,24032,195170,1777650,17950552,199059672,2405063018,31448531954,442501797656,6666753146496,107081325959938,1826636018849442
mov $1,1
mov $3,$0
lpb $3
add $1,$4
mul $2,-1
add $2,$1
div $1,2
add $4,2
mul $1,$4
sub $3... |
itunes/macbook-update-pc.applescript | pahoughton/pah-misc-applescript | 0 | 27 | <gh_stars>0
#!/usr/bin/osascript
tell application "iTunes"
set low_date to date "1/1/1990 00:00:00"
tell track id 42109
set loc to location as string
if loc = "Macintosh HD:Users:paul:Public:Music:Library:The Carpenters:Yesterday Once More-Greatest Hits 1969-1:1-09 There's A Kind Of Hush.mp3" then
set... |
tools/files/applib/contrib/ada/apacdemo.adb | nehalem501/gendev | 2,662 | 27776 | ------------------------------------------------------------------------------
-- File: apackdemo.adb
-- Description: aPLib binding demo (Q&D!)
-- Date/version: 24-Feb-2001 ; ... ; 9.III.1999
-- Author: <NAME> - <EMAIL>
----------------------------------------------------------------... |
11.asm | AsadKhalil/Assembly_x86 | 0 | 163385 | <gh_stars>0
[org 0x0100]
jmp start
swapscr:
mov ax, 0xb800
mov es, ax
mov di, 0
mov cx,80
mov ax, 0
mov al, 80
mov bl, 12 ;ypos
mul bl
mov bx, 40 ;xpos
add ax, bx
shl ax, 1
mov si, ax
loop1:
mov ax, [es: di]
mov bx, [es: si]
mov [es:di], bx
mov [es:si], ax
add ... |
Qsi.Cql/Antlr/CqlLexerInternal.g4 | ScriptBox99/chequer-qsi | 36 | 1101 | <filename>Qsi.Cql/Antlr/CqlLexerInternal.g4<gh_stars>10-100
lexer grammar CqlLexerInternal;
channels { ERRORCHANNEL }
K_SELECT: S E L E C T;
K_FROM: F R O M;
K_AS: A S;
K_WHERE: W H E R E;
K_AND: A N D;
K_KEY: K E Y;
K_KEYS: K E Y S;
K_ENTRIES: E N T R I E S;
K_FU... |
test/succeed/Issue274.agda | asr/agda-kanso | 1 | 3720 | -- The bug documented below was exposed by the fix to issue 274.
{-# OPTIONS --universe-polymorphism #-}
module Issue274 where
postulate
Level : Set
zero : Level
suc : Level → Level
_⊔_ : Level → Level → Level
{-# BUILTIN LEVEL Level #-}
{-# BUILTIN LEVELZERO zero #-}
{-# BUILTIN LEVELSUC suc #-}
{... |
src/net-buffers.adb | stcarrez/ada-enet | 16 | 11912 | <reponame>stcarrez/ada-enet<filename>src/net-buffers.adb
-----------------------------------------------------------------------
-- net-buffers -- Network buffers
-- Copyright (C) 2016, 2017, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... |
testsuite/tests/NA17-007__Ada_units/gnat95_config/has_05.adb | AdaCore/style_checker | 2 | 30188 | <reponame>AdaCore/style_checker
-- An Ada source file which is supposed to be Ada95 only, but has
-- some Ada 2005 code in it.
procedure Has_05 is
begin
-- Introduce a deliberate Ada 2005 construct to verify that
-- the style_checker uses -gnat05, and that the compiler
-- therefore flags this as a violati... |
agda-stdlib/src/Data/List/Any.agda | DreamLinuxer/popl21-artifact | 5 | 2158 | <reponame>DreamLinuxer/popl21-artifact
------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use Data.List.Relation.Unary.Any
-- directly.
------------------------------------------------------------------------
{-# OPTIONS --witho... |
programs/oeis/108/A108214.asm | neoneye/loda | 22 | 14725 | ; A108214: Denominator of the O(x^2) term in the Maclaurin series of the square of the Jacobi polynomial P^{a,b}_n(z) about z=1-x for real positive x.
; 8,48,576,11520,345600,14515200,812851200,58525286400,5267275776000,579400335360000,76480844267520000,11931011705733120000,2171444130443427840000,4560032673931198464000... |
_build/dispatcher/jmp_ippsGFpECSetPointRegular_350f2e23.asm | zyktrcn/ippcp | 1 | 24155 | <filename>_build/dispatcher/jmp_ippsGFpECSetPointRegular_350f2e23.asm
extern m7_ippsGFpECSetPointRegular:function
extern n8_ippsGFpECSetPointRegular:function
extern y8_ippsGFpECSetPointRegular:function
extern e9_ippsGFpECSetPointRegular:function
extern l9_ippsGFpECSetPointRegular:function
extern n0_ippsGFpECSetPointReg... |
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/antlr4/imports/mysql/Keyword.g4 | itvdo/shardingsphere | 2 | 4505 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
libsrc/cpc/cpc_PrintGphStrXYM12X.asm | jpoikela/z88dk | 640 | 23867 | ;
; Amstrad CPC library
;
; ******************************************************
; ** Librería de rutinas para Amstrad CPC **
; ** <NAME>, Artaburu 2009 **
; ******************************************************
;
; void cpc_PrintGphStrXYM12X(char *, unsigned int address);
;
... |
examples/fibonacci.asm | Dreistein/toyvm | 2 | 96805 | # Sample prog that implements the fibonacci sequence
MOV R0 10 #fib number to calculate
MOV R1 0 #f0
MOV R2 1 #f1
# Save for printing later
PUSH R0
# calculate the number iteratively
FIB:
ADD R1, R2
#swap values
PUSH R1
MOV R1, R2
POP R2
DEC R0
JZ $END
JMP $FIB
# print the res... |
src/main/antlr4/com/sri/ai/praise/model/v0/imports/church/antlr/Church.g4 | ctjoreilly/aic-praise | 12 | 3310 | /*
The Church programming language (<NAME>, Mansinghka, Roy, Bonawitz, & Tenenbaum, 2008),
named in honor of Alonzo Church, is a generalization of Scheme which introduces the notion
of probabilistic computation to the language (see - https://probmods.org/generative-models.html).
As we are only planning to suppo... |
Library/Chart/UI/uiType.asm | steakknife/pcgeos | 504 | 175101 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: uiType.asm
AUTHOR: <NAME>
METHODS:
Name Description
---- -----------
FUNCTIONS:
Scope Name Description
----- ---- -----------
... |
interrupts/halt_exit_timings_ime_enabled_gbc_mode/main.asm | AntonioND/gbc-hw-tests | 6 | 165406 | <reponame>AntonioND/gbc-hw-tests
INCLUDE "hardware.inc"
INCLUDE "header.inc"
SECTION "var",BSS
repeat_loop: DS 1
SECTION "Main",HOME
;--------------------------------------------------------------------------
;- Main() -
;----------------------... |
ada_gui-gnoga-gui-document.adb | jrcarter/Ada_GUI | 19 | 21425 | <gh_stars>10-100
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- ... |
oeis/199/A199212.asm | neoneye/loda-programs | 11 | 16501 | <gh_stars>10-100
; A199212: a(n) = 2*5^n+1.
; 3,11,51,251,1251,6251,31251,156251,781251,3906251,19531251,97656251,488281251,2441406251,12207031251,61035156251,305175781251,1525878906251,7629394531251,38146972656251,190734863281251,953674316406251,4768371582031251,23841857910156251,119209289550781251,596046447753906251,... |
alloy4fun_models/trashltl/models/4/R46WnX5PhAomJqpua.als | Kaixi26/org.alloytools.alloy | 0 | 2399 | open main
pred idR46WnX5PhAomJqpua_prop5 {
eventually some f:File | f in File-Trash-Protected
}
pred __repair { idR46WnX5PhAomJqpua_prop5 }
check __repair { idR46WnX5PhAomJqpua_prop5 <=> prop5o } |
test/Succeed/UnquoteInstance.agda | hborum/agda | 3 | 7566 | <reponame>hborum/agda<filename>test/Succeed/UnquoteInstance.agda
open import Common.Prelude
open import Common.Reflection
open import Common.Equality
data Dec {a} (A : Set a) : Set a where
yes : A → Dec A
no : Dec A
record Eq {a} (A : Set a) : Set a where
constructor eqDict
field
_==_ : (x y : A) → Dec ... |
mc-sema/validator/x86/tests/SUB_F32m.asm | randolphwong/mcsema | 2 | 29050 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_FPU_C1|FLAG_FPU_PE
;TEST_FILE_META_END
FLDPI
;TEST_BEGIN_RECORDING
lea edi, [esp-0xc]
FST dword [edi]
FSUB dword [edi]
mov edi, 0
;TEST_END_RECORDING
|
euler10.adb | kimtg/euler-ada | 7 | 668 | <filename>euler10.adb
with Ada.Text_IO; use Ada.Text_IO;
procedure Euler10 Is
function Sum_Prime_Under(N: Integer) return Long_Long_Integer is
Is_Prime : array (2 .. N - 1) of Boolean := (others => True);
Sum : Long_Long_Integer := 0;
begin
for I in Is_Prime'Range loop
if Is_Prime(I) t... |
oeis/016/A016997.asm | neoneye/loda-programs | 11 | 80866 | <gh_stars>10-100
; A016997: a(n) = (7*n + 1)^5.
; 1,32768,759375,5153632,20511149,60466176,147008443,312500000,601692057,1073741824,1804229351,2887174368,4437053125,6590815232,9509900499,13382255776,18424351793,24883200000,33038369407,43204003424,55730836701,71008211968,89466096875,111577100832,137858491849,16887421337... |
src/asis/a4g-knd_conv.adb | My-Colaborations/dynamo | 15 | 23599 | ------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
libsrc/target/gal/gencon/printc_MODE1.asm | jpoikela/z88dk | 0 | 175934 |
; code_driver to ensure we don't page ourselves out
SECTION code_clib
PUBLIC printc_MODE1
EXTERN generic_console_flags
EXTERN generic_console_font32
EXTERN generic_console_udg32
; c = x
; b = y
; d = character
; e = raw
; a = screen port
printc_MODE1:
ld l,d
ld h,0
ld de,(generic_console_font... |
tests/vice-tests/VIC20/unconnected/unconnected.asm | PhylumChordata/chips-test | 330 | 245967 | <filename>tests/vice-tests/VIC20/unconnected/unconnected.asm
; unconnected
; -----------
; 2009 <NAME>
; This program tests VIC-20 unconnected bus behaviour.
; Disable any/all memory extensions.
; BUGS:
; - if addr MSB or ROM contents are TESTBYTE_ABS or TESTBYTE_ABS_X, the results may be incorrect
!ct scr
; --- C... |
programs/oeis/244/A244887.asm | neoneye/loda | 22 | 93683 | <reponame>neoneye/loda<filename>programs/oeis/244/A244887.asm
; A244887: Third column of triangle in A234950.
; 2,20,135,770,4004,19656,92820,426360,1918620,8498776,37182145,161056350,691945800,2952675600,12527780760,52895074320,222399744300,931689977400,3890668331550,16201562020644,67298796085752,278927990831600,11537... |
src/LibraBFT/Impl/OBM/Rust/RustTypes.agda | LaudateCorpus1/bft-consensus-agda | 0 | 11494 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 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 Util.Prelude
----------------------------------------------------... |
courses/fundamentals_of_ada/labs/radar/030_basic_types/src/main.adb | AdaCore/training_material | 15 | 5227 | <reponame>AdaCore/training_material<gh_stars>10-100
with Radar_Internals;
procedure Main is
-- You are in charge of developping a rotating radar for the new T-1000
-- Some of the radar code is already in place, it is just missing the
-- high-level interface to handle incoming objects.
type Object_Status_T... |
tools/scitools/conf/understand/ada/ada12/a-cforse.ads | brucegua/moocos | 1 | 26592 | <reponame>brucegua/moocos<filename>tools/scitools/conf/understand/ada/ada12/a-cforse.ads
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS ... |
tests/data/labels/projects/z88dk/general/filea_b.asm | jacobly0/DeZog | 93 | 21494 | <reponame>jacobly0/DeZog
fab_label1: nop
fab_label2: nop
global_label1: ; All labels are global
nop
global_label2: ; All labels are global
nop
fab_label3:
nop
fab_label_equ1: equ 70
|
alloy4fun_models/trashltl/models/7/wYHvGzAaYzfxSKtNK.als | Kaixi26/org.alloytools.alloy | 0 | 2287 | open main
pred idwYHvGzAaYzfxSKtNK_prop8 {
all f1:File , f2:File | f1.link = f2 implies eventually f2 in Trash
}
pred __repair { idwYHvGzAaYzfxSKtNK_prop8 }
check __repair { idwYHvGzAaYzfxSKtNK_prop8 <=> prop8o } |
programs/oeis/268/A268355.asm | neoneye/loda | 22 | 11131 | <reponame>neoneye/loda<gh_stars>10-100
; A268355: Highest power of 8 dividing n.
; 1,1,1,1,1,1,1,8,1,1,1,1,1,1,1,8,1,1,1,1,1,1,1,8,1,1,1,1,1,1,1,8,1,1,1,1,1,1,1,8,1,1,1,1,1,1,1,8,1,1,1,1,1,1,1,8,1,1,1,1,1,1,1,64,1,1,1,1,1,1,1,8,1,1,1,1,1,1,1,8,1,1,1,1,1,1,1,8,1,1,1,1,1,1,1,8,1,1,1,1
add $0,1
mov $1,1
lpb $0
dif $0,8... |
oeis/120/A120656.asm | neoneye/loda-programs | 11 | 17632 | <filename>oeis/120/A120656.asm
; A120656: 6 X 6 trigonal prism bonding graph matrix Markov: this molecular structure is the major symmetry between the tetrahedron and cube: characteristic polynomial:12 x^2 - 4 x^3 - 9 x^4 + x^6.
; Submitted by <NAME>
; 0,4,18,50,166,474,1478,4330,13206,39194,118438,353610,1064246,31859... |
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/asm_nexttoward.asm | jpoikela/z88dk | 640 | 160481 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC asm_nexttoward
EXTERN am48_nexttoward
defc asm_nexttoward = am48_nexttoward
|
GSeTT/Uniqueness-Derivations.agda | thibautbenjamin/catt-formalization | 0 | 13281 | <reponame>thibautbenjamin/catt-formalization
{-# OPTIONS --rewriting --without-K #-}
open import Agda.Primitive
open import Prelude
open import GSeTT.Syntax
open import GSeTT.Rules
{- Type theory for globular sets -}
module GSeTT.Uniqueness-Derivations where
has-all-paths-∈ : ∀ {Γ x A} → Γ ⊢C → has-all-paths (x # ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1936.asm | ljhsiun2/medusa | 9 | 8815 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1936.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x88e8, %rax
nop
nop
and %rcx, %rcx
mov $0x6162636465666768, %r15
movq %r15, %xmm5
vmovups %ymm... |
Categories/Free/Functor.agda | copumpkin/categories | 98 | 11449 | <reponame>copumpkin/categories
{-# OPTIONS --universe-polymorphism #-}
-- Proof that 'Free' is a functor
module Categories.Free.Functor where
open import Categories.Support.PropositionalEquality
open import Categories.Categories
open import Categories.Category
renaming (_[_∼_] to _[_~C_])
open import Categories.Fr... |
tmp1/c55x-sim2/foo/Debug/Atadisk.asm | jwestmoreland/eZdsp-DBG-sim | 1 | 9081 | <filename>tmp1/c55x-sim2/foo/Debug/Atadisk.asm
;*******************************************************************************
;* TMS320C55x C/C++ Codegen PC v4.4.1 *
;* Date/Time created: Sat Sep 29 23:09:40 2018 *
;*****************************... |
programs/oeis/167/A167614.asm | neoneye/loda | 22 | 23638 | <reponame>neoneye/loda
; A167614: (n^2 + 3*n + 8)/2.
; 6,9,13,18,24,31,39,48,58,69,81,94,108,123,139,156,174,193,213,234,256,279,303,328,354,381,409,438,468,499,531,564,598,633,669,706,744,783,823,864,906,949,993,1038,1084,1131,1179,1228,1278,1329,1381,1434,1488,1543,1599,1656,1714,1773,1833,1894,1956,2019,2083,2148,22... |
test/Fail/Issue5055.agda | cagix/agda | 1,989 | 16351 | -- Andreas, 2020-11-16, issue #5055, reported by nad
-- Internal error caused by record pattern on pattern synonym lhs
-- (unreleased regression in 2.6.2).
open import Agda.Builtin.Sigma
data Shape : Set where
c : Shape → Shape
pattern p (s , v) = c s , v
-- Should give some parse error or other controlled error.... |
programs/oeis/161/A161474.asm | jmorken/loda | 1 | 13675 | ; A161474: Triple factorials n!!!: a(n) = n*a(n-3).
; 1,1,1,3,4,5,18,28,40,162,280,440,1944,3640,6160,29160,58240,104720,524880,1106560,2094400,11022480,24344320,48171200,264539520,608608000,1252451200,7142567040,17041024000,36321084800,214277011200,528271744000,1162274713600
sub $0,1
mov $1,1
lpb $0
add $0,1
mul ... |
oeis/153/A153309.asm | neoneye/loda-programs | 11 | 243121 | ; A153309: Numbers k such that 3*k + 1 is not prime.
; Submitted by <NAME>(s2)
; 0,1,3,5,7,8,9,11,13,15,16,17,18,19,21,23,25,27,28,29,30,31,33,35,37,38,39,40,41,43,44,45,47,48,49,51,53,55,56,57,58,59,61,62,63,65,67,68,69,71,72,73,75,77,78,79,81,82,83,84,85,86,87,88,89,91,93,95,96,97,98,99,100,101,103,105,106,107,108,10... |
src/gen/vulkan-low_level-vk_icd_h.ads | persan/a-vulkan | 0 | 17978 | <filename>src/gen/vulkan-low_level-vk_icd_h.ads<gh_stars>0
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Vulkan.Low_Level.vulkan_core_h;
with Interfaces.C.Strings;
with System;
with Interfaces.C.Extensions;
package Vulkan.Low_Level.vk_icd_h is
CURRENT_LOADER_ICD_INTERFACE... |
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sccz80/tshr_saddrpdown.asm | Frodevan/z88dk | 640 | 8538 | ; void *tshr_saddrpdown(void *saddr)
SECTION code_clib
SECTION code_arch
PUBLIC tshr_saddrpdown
EXTERN zx_saddrpdown
defc tshr_saddrpdown = zx_saddrpdown
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _tshr_saddrpdown
defc _tshr_saddrpdown = tshr_saddrpdown
ENDIF
|
programs/oeis/269/A269223.asm | jmorken/loda | 1 | 80827 | ; A269223: Factorial of the sum of digits of n in base 3.
; 1,1,2,1,2,6,2,6,24,1,2,6,2,6,24,6,24,120,2,6,24,6,24,120,24,120,720,1,2,6,2,6,24,6,24,120,2,6,24,6,24,120,24,120,720,6,24,120,24,120,720,120,720,5040,2,6,24,6,24,120,24,120,720,6,24,120,24,120,720,120,720
mov $2,$0
cal $2,53735 ; Sum of digits of (n written i... |
software/hal/boards/pixracer_v1/stm32-board.ads | TUM-EI-RCS/StratoX | 12 | 23631 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- ... |
src/shellutil.asm | drdanick/apricot-os | 0 | 242765 | ; asmsyntax=apricos
; ===================================
; == ==
; == ApricotOS shell utilities ==
; == ==
; == Revision 1 ==
; == ==
; == (C) 2014-17 <NAME> ==
; == ==
; == ... |
data/test_eor.asm | colinw7/C6502 | 0 | 21185 | <filename>data/test_eor.asm
LDA #$37
EOR #$FF
OUT A
LDA #$AB
EOR #$00
OUT A
|
Mac App/Scripting/Example Script.applescript | CarterA/Tribo | 13 | 439 | <reponame>CarterA/Tribo<filename>Mac App/Scripting/Example Script.applescript
tell application "Tribo"
-- The basic Tribo object structure --
set theDocument to the document named "Blog.tribo"
set theSite to the site of theDocument
set thePost to the first post of theSite
-- Tribo text can be accessed and pa... |
programs/oeis/260/A260637.asm | karttu/loda | 1 | 4085 | ; A260637: Sums of seven consecutive squares: a(n) = n^2 + (n+1)^2 + (n+2)^2 + (n+3)^2 + (n+4)^2 + (n+5)^2 + (n+6)^2.
; 28,35,56,91,140,203,280,371,476,595,728,875,1036,1211,1400,1603,1820,2051,2296,2555,2828,3115,3416,3731,4060,4403,4760,5131,5516,5915,6328,6755,7196,7651,8120,8603,9100,9611,10136,10675,11228,11795,12... |
oeis/037/A037634.asm | neoneye/loda-programs | 11 | 17197 | <reponame>neoneye/loda-programs
; A037634: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,3.
; Submitted by <NAME>(s2)
; 2,13,81,488,2929,17577,105464,632785,3796713,22780280,136681681,820090089,4920540536,29523243217,177139459305,1062836755832,6377020534993,382621232099... |
assembly/q1/q1.asm | liviabelirocha/arqcomp-ck0195 | 1 | 81429 | <filename>assembly/q1/q1.asm<gh_stars>1-10
org 0x7c00
bits 16
mov ax, 0
mov ds, ax
cli
mov al, 0x13 ; mudar modo de vídeo para modo gráfico (VGA 320x200)
int 0x10
int 0x13 ; interrupção de disco
mov ah, 0x02 ; fazer leitura dos setores
mov al, 32 ; ler 32 setores
mov cl, 2 ... |
gtkada_backend/example/rpm_widget.adb | Fabien-Chouteau/Giza | 7 | 18930 | with Engine_Control_Events; use Engine_Control_Events;
package body RPM_Widget is
----------
-- Draw --
----------
overriding procedure Draw
(This : in out RPM;
Ctx : in out Context'Class;
Force : Boolean := True)
is
Str : constant String := "RPM:" & This.Value'Img;... |
test/succeed/ExplicitLambdaExperimentalIrrelevance.agda | larrytheliquid/agda | 0 | 10951 | {-# OPTIONS --experimental-irrelevance #-}
module ExplicitLambdaExperimentalIrrelevance where
postulate
A : Set
T : ..(x : A) -> Set -- shape irrelevant type
test : .(a : A) -> T a -> Set
test a = λ (x : T a) -> A
-- this should type check and not complain about irrelevance of a
|
target/cos_117/disasm/iop_overlay1/FEIMSG.asm | jrrk2/cray-sim | 49 | 246843 | <filename>target/cos_117/disasm/iop_overlay1/FEIMSG.asm<gh_stars>10-100
0x0000 (0x000000) 0x1001- f:00010 d: 1 | A = 1 (0x0001)
0x0001 (0x000002) 0x291A- f:00024 d: 282 | OR[282] = A
0x0002 (0x000004) 0x211A- f:00020 d: 282 | A = OR[282]
0x0003 (... |
libsrc/video/tms9918/graphics/surface_draw.asm | jpoikela/z88dk | 640 | 28127 | <reponame>jpoikela/z88dk
;
; MSX extension for "GFX - a small graphics library" by Jannone
;
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; MSX buffered display extension
; compatibility layer for "GFX",
; a small graphics library by <NAME>
;
; <NA... |
alloy4fun_models/trainstlt/models/7/WSsaGzWPGoHDWj2vt.als | Kaixi26/org.alloytools.alloy | 0 | 3778 | open main
pred idWSsaGzWPGoHDWj2vt_prop8 {
always (all t:Train |(t.pos.signal) in (Signal-Green) implies (some t.pos') since ((t.pos.signal) in Green))
}
pred __repair { idWSsaGzWPGoHDWj2vt_prop8 }
check __repair { idWSsaGzWPGoHDWj2vt_prop8 <=> prop8o } |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver1/sfc/ys_w26.asm | prismotizm/gigaleak | 0 | 178163 | <reponame>prismotizm/gigaleak
Name: ys_w26.asm
Type: file
Size: 19443
Last-Modified: '2016-05-13T04:51:15Z'
SHA-1: 5B95166133D9B6EDF85EA6332980C863DEDB8F29
Description: null
|
alloy4fun_models/trashltl/models/16/mcdEZAo8cccNC5T2N.als | Kaixi26/org.alloytools.alloy | 0 | 4920 | open main
pred idmcdEZAo8cccNC5T2N_prop17 {
all f: File | once f in Trash releases always f' in File
}
pred __repair { idmcdEZAo8cccNC5T2N_prop17 }
check __repair { idmcdEZAo8cccNC5T2N_prop17 <=> prop17o } |
src/main/antlr/adl.g4 | nedap/adl-antlr | 0 | 7831 | <reponame>nedap/adl-antlr<gh_stars>0
//
// description: Antlr4 grammar for Archetype Definition Language (ADL2)
// author: <NAME> <<EMAIL>>
// support: openEHR Specifications PR tracker <https://openehr.atlassian.net/projects/SPECPR/issues>
// copyright: Copyright (c) 2015 openEHR Foundation
// license:... |
libsrc/_DEVELOPMENT/adt/p_stack/c/sdcc_iy/p_stack_pop.asm | jpoikela/z88dk | 640 | 84667 | <filename>libsrc/_DEVELOPMENT/adt/p_stack/c/sdcc_iy/p_stack_pop.asm
; void *p_stack_pop(p_stack_t *s)
SECTION code_clib
SECTION code_adt_p_stack
PUBLIC _p_stack_pop
EXTERN _p_forward_list_remove_after
defc _p_stack_pop = _p_forward_list_remove_after
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.