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 |
|---|---|---|---|---|
programs/oeis/253/A253946.asm | karttu/loda | 1 | 27535 | <reponame>karttu/loda<filename>programs/oeis/253/A253946.asm
; A253946: a(n) = 6*binomial(n+1, 6).
; 6,42,168,504,1260,2772,5544,10296,18018,30030,48048,74256,111384,162792,232560,325584,447678,605682,807576,1062600,1381380,1776060,2260440,2850120,3562650,4417686,5437152,6645408,8069424,9738960,11686752,13948704,165640... |
PRG/maps/World4OI.asm | narfman0/smb3_pp1 | 0 | 165890 | .byte $00, $00, $07, $09, $08, $00, $00, $00, $00
|
models/aleks/ints5.als | transclosure/Amalgam | 4 | 497 | <reponame>transclosure/Amalgam
open util/integer
one sig S {
a : one Int,
b : one Int
}{
a >= 0 and b >=0
}
run {
add[S.a, S.b] = 2
} for 1
|
src/shared/generic/lsc-internal-io.ads | Componolit/libsparkcrypto | 30 | 17483 | <filename>src/shared/generic/lsc-internal-io.ads
-------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2010, <NAME>
-- Copyright (C) 2010, secunet Security Networks AG
-- All rights reserved.
--
-- Redistribution and use in source... |
examples/stm32f0/i2c/peripherals.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 5770 | <gh_stars>1-10
with STM32GD.GPIO;
with STM32GD.GPIO.Pin;
with STM32GD.I2C;
with STM32GD.I2C.Peripheral;
with Drivers.Si7006;
package Peripherals is
package GPIO renames STM32GD.GPIO;
package SCL is new GPIO.Pin (Pin => GPIO.Pin_6, Port => GPIO.Port_B,
Mode => GPIO.Mode_AF, Alternate_Function => 1);
pa... |
chp04/src/main/antlr/Expr.g4 | zhhe-me/book-antlr4 | 1 | 283 | grammar Expr;
import CommonLexerRules ;
/**
supported input like below:
193
a = 5
b = 6
a
a+b*2
(1+2)*3
*/
/** The start rule; begin parsing here. */
prag: stat+ ;
stat: expr NEWLINE
| ID '=' expr NEWLINE
| NEWLINE
;
expr: expr ('*' | '/') expr
| expr ('+' | '-'... |
programs/oeis/053/A053585.asm | neoneye/loda | 22 | 240102 | ; A053585: If n = p_1^e_1 * ... * p_k^e_k, p_1 < ... < p_k primes, then a(n) = p_k^e_k.
; 1,2,3,4,5,3,7,8,9,5,11,3,13,7,5,16,17,9,19,5,7,11,23,3,25,13,27,7,29,5,31,32,11,17,7,9,37,19,13,5,41,7,43,11,5,23,47,3,49,25,17,13,53,27,11,7,19,29,59,5,61,31,7,64,13,11,67,17,23,7,71,9,73,37,25,19,11,13,79,5,81,41,83,7,17,43,29,1... |
ada/core/agar-config.ads | auzkok/libagar | 286 | 2184 | <filename>ada/core/agar-config.ads<gh_stars>100-1000
------------------------------------------------------------------------------
-- AGAR CORE LIBRARY --
-- A G A R . C O N F I G --
-- ... |
Tooling/GCodeParser/GCodeParser/SiemensGCodeParser.g4 | philmccarthy24/gemstone | 0 | 6009 | parser grammar SiemensGCodeParser;
options { tokenVocab=SiemensGCodeLexer; }
////////////////////////////////////////////////////////////////////////
// Start of Siemens parser definition. Make this quite loose at first,
// then tighten up as more rules become evident.
// Because Siemens is so freeform, it's sensible... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-cdlili.adb | orb-zhuchen/Orb | 0 | 7695 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
macros.asm | Potolski/OAC_2018_2_LAB_1 | 1 | 179808 | .macro print_int (%x)
li $v0, 1
add $a0, $zero, %x
syscall
.end_macro
.macro loadImage(%buffer, %image_pointer, %buffersize)
move $t6, %buffer
addi $t6, $t6, 54 # header offset
move $t8,%image_pointer
addi $t0, %buffersize, -54
add $t0, $t0, $t6 # t0 = buffer's end
loop:
sub $t4, $t0, $t6
beqz ... |
dv3/qlf/ld5b.asm | olifink/smsqe | 0 | 15762 | <reponame>olifink/smsqe
; DV3 QL5B Format Load File V3.00 1994 <NAME> QJUMP
section dv3
xdef qlf_ld5b
xref qlf_ls5b
xref dv3_sload
xref dv3_sbloc
include 'dev8_keys_ql5b'
include 'dev8_dv3_keys'
include 'dev8_dv3_qlf_keys'
include 'dev8_keys_hdr'
include 'dev8_keys_err'
;+++
; DV3 QL5B format loa... |
programs/oeis/001/A001604.asm | neoneye/loda | 22 | 88117 | ; A001604: Odd-indexed terms of A124297.
; 11,31,151,911,5951,40051,272611,1863551,12760031,87424711,599129311,4106261531,28144128251,192901135711,1322159893351,9062207833151,62113268013311,425730597768451,2918000731816531,20000274041790911,137083916295800111,939587136717207031,6440026032054760351,44140595064968052011,... |
tests/syntax_examples/src/main.adb | TNO/Dependency_Graph_Extractor-Ada | 1 | 971 | <reponame>TNO/Dependency_Graph_Extractor-Ada
with Ada.Containers.Vectors;
with Ada.Exceptions;
with Ada.Strings;
with Ada.Strings.Fixed;
with Ada.Text_IO;
with Rejuvenation.Factory;
with Rejuvenation.Finder;
with Rejuvenation.Navigation;
with Libadalang.Analysis;
with Libadalang.Common;
with Langkit_Support.Slocs;
with... |
test/Succeed/Issue5787.agda | KDr2/agda | 1 | 12513 |
postulate
A B : Set
f : @0 {{A}} → B
g : @0 {{A}} → B
g = f
|
oeis/071/A071953.asm | neoneye/loda-programs | 11 | 94815 | ; A071953: Diagonal T(n,n-2) of triangle in A071951.
; 4,52,292,1092,3192,7896,17304,34584,64284,112684,188188,301756,467376,702576,1028976,1472880,2065908,2845668,3856468,5150068,6786472,8834760,11373960,14493960,18296460,22895964,28420812,35014252,42835552,52061152,62885856,75524064,90211044,107204244,126784644,14925... |
old/Spaces/Circle.agda | UlrikBuchholtz/HoTT-Agda | 294 | 9146 | <reponame>UlrikBuchholtz/HoTT-Agda
{-# OPTIONS --without-K #-}
open import Base
module Spaces.Circle where
{-
Idea :
data S¹ : Set where
base : S¹
loop : base ≡ base
I’m using Dan Licata’s trick to have a higher inductive type with definitional
reduction rule for [base]
-}
private
data #S¹ : Set where
#... |
examples/shared/serial_ports/src/message_buffers.adb | rocher/Ada_Drivers_Library | 192 | 21664 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- --
-- ... |
programs/oeis/303/A303609.asm | karttu/loda | 1 | 170011 | ; A303609: a(n) = 2*n^3 + 9*n^2 + 9*n.
; 0,20,70,162,308,520,810,1190,1672,2268,2990,3850,4860,6032,7378,8910,10640,12580,14742,17138,19780,22680,25850,29302,33048,37100,41470,46170,51212,56608,62370,68510,75040,81972,89318,97090,105300,113960,123082,132678,142760
mov $1,$0
mul $0,2
add $0,5
bin $0,2
sub $0,1
mul $1,$... |
programs/oeis/231/A231896.asm | neoneye/loda | 22 | 18472 | <reponame>neoneye/loda
; A231896: a(n) = 4*a(n-1) - a(n-2) with a(0) = 0, a(1) = 4.
; 0,4,16,60,224,836,3120,11644,43456,162180,605264,2258876,8430240,31462084,117418096,438210300,1635423104,6103482116,22778505360,85010539324,317263651936,1184044068420,4418912621744,16491606418556,61547513052480,229698445791364,8572462... |
alloy4fun_models/trashltl/models/11/7MEWsRCR2QHykYucm.als | Kaixi26/org.alloytools.alloy | 0 | 3917 | <filename>alloy4fun_models/trashltl/models/11/7MEWsRCR2QHykYucm.als
open main
pred id7MEWsRCR2QHykYucm_prop12 {
eventually some Trash and all f: File | f in Trash implies always f in Trash
}
pred __repair { id7MEWsRCR2QHykYucm_prop12 }
check __repair { id7MEWsRCR2QHykYucm_prop12 <=> prop12o } |
test/Test4.agda | mchristianl/synthetic-reals | 3 | 15695 | {-# OPTIONS --cubical --no-import-sorts #-}
module Test4 where
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc)
open import Cubical.Foundations.Logic
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
record !_ {ℓ} (X : Type ℓ) : Type ℓ where
induct... |
Examples/Precedence.agda | nad/pretty | 0 | 14840 | <gh_stars>0
------------------------------------------------------------------------
-- A general grammar and pretty-printer for binary operators of
-- various (not necessarily linearly ordered) precedences
------------------------------------------------------------------------
-- The code below uses a variant of the... |
random_ideas/alloy/pm4.als | asimihsan/asim_ihsan_io | 0 | 535 | <reponame>asimihsan/asim_ihsan_io
sig Package {
name : one Name,
version : one Version,
requires : set Package,
}
sig Name {}
sig Version {}
fact "only one package version in dependency graph for package" {
all p1 : Package, disj p2, p3 : p1.*requires | p2.name != p3.name
}
fact "package doesn't requir... |
wc.asm | bhavesh01shukla/Modified-XV-6 | 0 | 25686 |
_wc: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "%d %d %d %s\n", l, w, c, name);
}
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: ... |
y2s2/csa/practicals/prac-9-strings/1-demo.asm | ouldevloper/university | 8 | 95560 | ; 1-demo.asm
; copy a string into an array and display it
.MODEL SMALL
.STACK 100
.DATA
PROMPT DB "ENTER A FRUIT: $"
STR LABEL BYTE
MAXN DB 20
ACTN DB ?
ACTSTR DB 20 DUP("$")
NL DB 13, 10, '$'
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
MOV AH, 09H
LEA DX, PROMP... |
loaders_patches_etc/init_basil.asm | alexanderbazhenoff/zx-spectrum-various | 0 | 12956 | <filename>loaders_patches_etc/init_basil.asm
ORG 26000
DI
LD HL,TABL
LD DE,#5B00
LD BC,#FF
LDIR
LD SP,26000
LD HL,#FF10
LD E,#11
LD BC,#7FFD
OUT (C),L
LD (HL),L
OUT (C),E
LD (HL),E
OUT (C),L
... |
gcc-gcc-7_3_0-release/gcc/ada/spark_xrefs.adb | best08618/asylo | 7 | 5501 | <filename>gcc-gcc-7_3_0-release/gcc/ada/spark_xrefs.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
test1.asm | joncampbell123/minx86dec | 19 | 1707 | <filename>test1.asm<gh_stars>10-100
; 8086 test code
org 0
_start:
lea bx,[si+3]
lea cx,[bx+di+33h]
lea eax,[ebx+0x1234]
lea ebx,[esi*4+ecx+0x22]
; test implied SS register
mov [si],ax
mov [di],bx
mov [bp],dx
mov [bx],si
; test explicit segment override
mov [cs:si],ax
mov [ds:di],bx
mov [es:bp],dx
mov [ss... |
test/Fail/WrongNumberOfConstructorArguments.agda | shlevy/agda | 1,989 | 11559 | <reponame>shlevy/agda<filename>test/Fail/WrongNumberOfConstructorArguments.agda
module WrongNumberOfConstructorArguments where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
f : Nat -> Nat
f (zero n) = n
f suc = zero
|
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_frm.adb | caqg/linux-home | 0 | 1504 | <reponame>caqg/linux-home
with -- ARM_Output, -- redudant with spec
-- ARM_Input,
ARM_File,
ARM_String,
-- ARM_Contents,
-- ARM_Database,
ARM_Syntax,
ARM_Index,
-- ARM_Subindex,
ARM_Format.Data,
Ada.Text_IO,
Ada.Characters.Handling,
Ada.Strings.Fixed;
package... |
source/strings/a-sgecin.adb | ytomino/drake | 33 | 27718 | with Ada.Strings.Naked_Maps.Case_Folding;
function Ada.Strings.Generic_Equal_Case_Insensitive (Left, Right : String_Type)
return Boolean
is
Mapping : constant not null Naked_Maps.Character_Mapping_Access :=
Naked_Maps.Case_Folding.Case_Folding_Map;
Left_Last : Natural := Left'First - 1;
Right_Last : N... |
testb1.asm | thr0m3l/easy-xv6 | 0 | 94178 | <reponame>thr0m3l/easy-xv6
_testb1: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fcntl.h"
#include "stat.h"
#include "types.h"
#include "user.h"
int main(int argc, char *argv[]) {
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0... |
oeis/172/A172510.asm | neoneye/loda-programs | 11 | 20647 | <filename>oeis/172/A172510.asm
; A172510: a(n) = binomial(n + 4, 4) * 8^n.
; 1,40,960,17920,286720,4128768,55050240,692060160,8304721920,95965675520,1074815565824,11725260718080,125069447659520,1308418837053440,13458022323978240,136374626216312832,1363746262163128320,13477021884906209280,131775325096860712960,127613999... |
libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_log10.asm | ahjelm/z88dk | 640 | 244504 |
SECTION code_fp_am9511
PUBLIC cam32_sccz80_log10
EXTERN asm_am9511_log10_fastcall
defc cam32_sccz80_log10 = asm_am9511_log10_fastcall
|
tools/tck-api/src/main/resources/FeatureResults.g4 | fickludd/openCypher | 0 | 4932 | <reponame>fickludd/openCypher<filename>tools/tck-api/src/main/resources/FeatureResults.g4<gh_stars>0
/*
* Copyright (c) 2015-2016 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce... |
src/event_device.ads | onox/evdev-ada | 2 | 15155 | <reponame>onox/evdev-ada
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.o... |
source/nodes/program-nodes-procedure_body_declarations.adb | optikos/oasis | 0 | 20698 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Procedure_Body_Declarations is
function Create
(Not_Token : Program.Lexical_Elements.Lexical_Element_Acces... |
Default Firmware/Ocelot_Unmanaged-1.0.1_SourceCode/Ocelot_Unmanaged-1.0.1/src/main/startup_ocelot.a51 | botblox/GigaBlox-Rugged-FW | 1 | 91714 | <filename>Default Firmware/Ocelot_Unmanaged-1.0.1_SourceCode/Ocelot_Unmanaged-1.0.1/src/main/startup_ocelot.a51
$NOMOD51
$INCLUDE(hwconf.inc)
;------------------------------------------------------------------------------
; This file is part of the C51 Compiler package
; Copyright (c) 1988-2002 Keil Elektronik GmbH a... |
grep.asm | jahzielv/xv6-net | 0 | 172123 | <reponame>jahzielv/xv6-net
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <grep>:
char buf[1024];
int match(char*, char*);
void
grep(char *pattern, int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub ... |
programs/oeis/270/A270031.asm | neoneye/loda | 22 | 93845 | <filename>programs/oeis/270/A270031.asm
; A270031: a(n) is the smallest b for which the base-b representation of n contains at least one 5 (or 0 if no such base exists).
; 0,0,0,0,6,0,0,0,0,0,6,7,8,9,10,11,6,13,7,15,8,17,6,19,10,7,11,23,6,6,6,6,6,6,6,7,7,7,7,7,6,8,8,8,8,8,6,9,9,9,9,9,6,7,10,10,10,10,6,11,7,11,11,11,6,6... |
message/generation/swift-mt-generation/repository/SR2018/grammars/SwiftMtParser_MT565.g4 | Yanick-Salzmann/message-converter-c | 0 | 2697 | grammar SwiftMtParser_MT565;
@lexer::header {
#include "repository/ISwiftMtParser.h"
#include "SwiftMtMessage.pb.h"
#include <vector>
#include <string>
#include "BaseErrorListener.h"
}
@parser::header {
#include "repository/ISwiftMtParser.h"
#include "SwiftMtMessage.pb.h"
#include <vector>
#include <string>
#include ... |
Appl/coop/FreeCell/freecellSound.asm | steakknife/pcgeos | 504 | 172418 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: sound.asm
AUTHOR: <NAME>, Feb 3, 1993
ROUTINES:
Name Description
---- -----------
SoundSetupSounds Allocate all sounds.
SoundPl... |
compsci courses/CPSC355 - Computing Machinery/assignments/as5/a5a.asm | q-omar/UofC | 1 | 29827 | <reponame>q-omar/UofC
//CPSC 355
//<NAME>
//ID 10086638
//Assignment 5
//The following assembly code is called by the main method in the accompanying C code. The C code calls upon
//the global methods defined here. The program can push integers to the stack, pop them, and display them in order
define(STACKSIZE,5) /... |
programs/oeis/147/A147974.asm | karttu/loda | 1 | 9491 | ; A147974: n^3-((n-1)^3+(n-2)^3+(n-3)^3).
; 10,8,18,28,26,0,-62,-172,-342,-584,-910,-1332,-1862,-2512,-3294,-4220,-5302,-6552,-7982,-9604,-11430,-13472,-15742,-18252,-21014,-24040,-27342,-30932,-34822,-39024,-43550,-48412,-53622,-59192,-65134,-71460
mov $4,$0
sub $4,2
mov $2,$4
pow $2,3
mov $1,$2
sub $1,4
add $2,5
mov... |
src/harvesters_autoharvest.asm | mvdhout1992/ts-patches | 33 | 14036 | ; Harvesters and Weeders Automatically Start to Harvest When Built
; After leaving the factory, Harvesters and Weeders will now start to harvest
; instead of waiting there until the player commanded them to do so.
;
; Patch based on information by CCHyper
; http://www.ppmforums.com/viewtopic.php?p=552284#552284
;
; Au... |
libsrc/_DEVELOPMENT/adt/ba_priority_queue/c/sccz80/ba_priority_queue_pop.asm | meesokim/z88dk | 0 | 24746 |
; int ba_priority_queue_pop(ba_priority_queue_t *q)
SECTION code_adt_ba_priority_queue
PUBLIC ba_priority_queue_pop
ba_priority_queue_pop:
INCLUDE "adt/ba_priority_queue/z80/asm_ba_priority_queue_pop.asm"
|
src/words_engine/words_engine-english_support_package.ads | spr93/whitakers-words | 204 | 18150 | -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-- (c). Permission i... |
mc-sema/validator/x86_64/tests/FILD_64m.asm | randolphwong/mcsema | 2 | 245080 | BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
;TEST_BEGIN_RECORDING
lea rdi, [rsp-0x0c]
mov dword [rdi+00], 0x0000
mov dword [rdi+04], 0x0001
FILD qword [rdi]
mov edi, 0
;TEST_END_RECORDING
|
Task/Miller-Rabin-primality-test/Ada/miller-rabin-primality-test-2.ada | djgoku/RosettaCodeData | 0 | 7255 | <filename>Task/Miller-Rabin-primality-test/Ada/miller-rabin-primality-test-2.ada
with Ada.Numerics.Discrete_Random;
package body Miller_Rabin is
function Is_Prime (N : Number; K : Positive := 10)
return Result_Type
is
subtype Number_Range is Number range 2 .. N - 1;
package Rand... |
dino/lcs/base/6666.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 168599 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data<filename>dino/lcs/base/6666.asm
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004C88 move.w A0, -(A1)
004C8A move.b #$8, ($82,A0) [base+6638, base+663A, base+663C, base+663E, base+6640,... |
src/vulkan-math/gentype/vulkan-math-genftype.adb | zrmyers/VulkanAda | 1 | 19596 | <reponame>zrmyers/VulkanAda
--------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
... |
src/net-protos-arp.ads | stcarrez/ada-enet | 16 | 707 | <gh_stars>10-100
-----------------------------------------------------------------------
-- net-protos-arp -- ARP Network protocol
-- Copyright (C) 2016 <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... |
Search and Sort/Binary Search.asm | MrR0B0T777/MIPS_Programming | 0 | 92957 | ## binsearch
.data
array: .word 1 4 7 10 15
arraySize: .word 5
msg: .asciiz "Enter the number that you want to search for:\n"
.text
main:
li $v0,4
la $a0,msg
syscall
li $v0,5
syscall
move $t5, $v0
la $s0, array
xor $a0, $a0, $a0
lw $a1, arraySize
jal search
##retval in $a0
li $v0,1
syscall
li $v0,10
syscall
searc... |
agda-stdlib/README/Decidability.agda | DreamLinuxer/popl21-artifact | 5 | 17156 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Examples of decision procedures and how to use them
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module README.Decidability where
-- Reflects and ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto13_pkg.ads | best08618/asylo | 7 | 21317 | package Lto13_Pkg is
procedure Proc;
private
type T;
end Lto13_Pkg;
|
actions/clearcache.applescript | andreifilip123/play-song | 0 | 3535 | <reponame>andreifilip123/play-song
-- clears workflow cache, including album artwork and compiled scripts --
on loadConfig()
return (load script POSIX file (do shell script "./resources/compile-config.sh"))
end loadConfig
on run query
set config to loadConfig()
try
tell application "Finder"
delete folder (wor... |
0x07_shellcode/shellcode_04_helloWorld_stack.nasm | bigb0sss/b0ssTheASM | 2 | 99590 | ; Executable name : shellcode_04_helloWorld_stack
; Version : 1.0
; Created date : 05/31/2020
; Last update : 05/31/2020
; Author : bigb0ss
; Description. : Print "Hello World\n" using shellcode
; This will directly write the string values on the stack.
; ... |
test/Succeed/Issue1436-14.agda | shlevy/agda | 1,989 | 4554 | module _ where
module A where
postulate
!_ : Set₂ → Set₃
infix 1 !_
module B where
postulate
!_ : Set₀ → Set₁
infix 3 !_
open A
open B
postulate
#_ : Set₁ → Set₂
infix 2 #_
ok₁ : Set₁ → Set₃
ok₁ X = ! # X
ok₂ : Set₀ → Set₂
... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_742.asm | ljhsiun2/medusa | 9 | 242039 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
lea addresses_WC_ht+0x1960f, %rbx
nop
nop
dec %rdi
mov (%rbx), %r11
nop
nop
nop
nop
sub %rcx, %rcx
lea addresses_A_ht+0x164db, %r9
clflush (%r9)
nop
add %rdx, %rdx
movb (%r9), %cl
nop
nop
nop
inc %rdx
lea ad... |
P6/data_P6_2/cal_R_test24.asm | alxzzhou/BUAA_CO_2020 | 1 | 243952 | lui $1,22077
ori $1,$1,20245
lui $2,64674
ori $2,$2,8539
lui $3,35519
ori $3,$3,32850
lui $4,55575
ori $4,$4,38373
lui $5,25713
ori $5,$5,20581
lui $6,34572
ori $6,$6,44794
mthi $1
mtlo $2
sec0:
nop
nop
nop
addu $4,$6,$2
sec1:
nop
nop
or $2,$3,$3
addu $1,$6,$2
sec2:
nop
nop
andi $2,$2,2405
addu $3,$6,$2
sec... |
Transynther/x86/_processed/NONE/_ht_zr_/i9-9900K_12_0xca.log_4_878.asm | ljhsiun2/medusa | 9 | 171828 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r8
push %rax
push %rsi
lea addresses_D_ht+0x96bc, %rsi
nop
nop
sub %r13, %r13
mov (%rsi), %eax
nop
nop
cmp %r15, %r15
lea addresses_normal_ht+0xbe0c, %r8
nop
nop
cmp %r11, %r11
mov (%r8), %r12w
nop
nop
n... |
oeis/314/A314672.asm | neoneye/loda-programs | 11 | 81316 | ; A314672: Coordination sequence Gal.4.38.4 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>(s2)
; 1,5,9,13,17,21,25,29,34,39,43,47,51,55,59,63,68,73,77,81,85,89,93,97,102,107,111,115,119,123,127,131,136,141,145,14... |
src/fot/FOTC/Program/Division/ResultATP.agda | asr/fotc | 11 | 561 | <reponame>asr/fotc<gh_stars>10-100
------------------------------------------------------------------------------
-- The division result is correct
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OP... |
oeis/179/A179060.asm | neoneye/loda-programs | 11 | 243711 | ; A179060: Number of non-attacking placements of 5 rooks on an n X n board.
; 0,0,0,0,120,4320,52920,376320,1905120,7620480,25613280,75271680,198764280,480960480,1082161080,2289530880,4594961280,8809274880,16225246080,28844881920,49689816120,83217546720,135870624120,216790801920,338735628000,519241008000,782079948000,1... |
alloy4fun_models/trashltl/models/4/DkazuGYBFEmFiPwF9.als | Kaixi26/org.alloytools.alloy | 0 | 1787 | open main
pred idDkazuGYBFEmFiPwF9_prop5 {
some f : File | eventually f not in File
}
pred __repair { idDkazuGYBFEmFiPwF9_prop5 }
check __repair { idDkazuGYBFEmFiPwF9_prop5 <=> prop5o } |
Blob_Lib/assimp-5.2.3/assimp/contrib/zlib/contrib/ada/zlib.ads | antholuo/Blob_Traffic | 0 | 2227 | <reponame>antholuo/Blob_Traffic
version https://git-lfs.github.com/spec/v1
oid sha256:02634bec0d5e4c69d8d2859124380074a57de8d8bd928398379bfacc514236d2
size 13594
|
src/pp/iloc/parse/ILOC.g4 | Pieterjaninfo/PP | 1 | 3762 | <reponame>Pieterjaninfo/PP
grammar ILOC;
@header{package pp.iloc.parse;}
fragment LETTER: [a-zA-Z];
fragment DIGIT: [0-9];
/** Full ILOC program. */
program: decl* instr (EOL+ instr)* EOL* EOF;
decl: ID ASS NUM COMMENT? EOL+
;
/** Instruction: single op or []-bracketed non-empty op sequence. */
instr
:... |
src/main/antlr4/wallpaper.g4 | joaobarbirato/compilador-NPR | 0 | 1964 |
/* Gramática Wallpaper
** Autores RA
** - <NAME> 726507
** - <NAME> 726546
** - <NAME> 726552
** - <NAME> 486060
*/
grammar wallpaper;
fragment
LETRA
: 'a'..'z'|'A'..'Z'
;
fragment
ALGARISMO
: '0'..'9'
;
... |
alloy4fun_models/trashltl/models/11/7X2Xf9szSKcpPz6mQ.als | Kaixi26/org.alloytools.alloy | 0 | 4519 | open main
pred id7X2Xf9szSKcpPz6mQ_prop12 {
always all f:File | eventually f in Trash implies always f in Trash'
}
pred __repair { id7X2Xf9szSKcpPz6mQ_prop12 }
check __repair { id7X2Xf9szSKcpPz6mQ_prop12 <=> prop12o } |
oeis/188/A188802.asm | neoneye/loda-programs | 11 | 21440 | <reponame>neoneye/loda-programs
; A188802: Expansion of (x^2+1)/(x^4+2*x^3-2*x+1).
; Submitted by <NAME>
; 1,2,5,8,11,10,-1,-32,-95,-198,-331,-440,-389,82,1375,3968,8161,13490,17669,15048,-5045,-58918,-165601,-336160,-549439,-708758,-579595,275848,2518651,6905250,13838399,22363648,28398145,22214242,-14137211,-107434360... |
examples/DTP08/ulf/Talk.agda | cruhland/agda | 1,989 | 10033 | <filename>examples/DTP08/ulf/Talk.agda
{-
TBA - Talk 'Bout Agda
<NAME>
Chalmers
DTP 2008, Nottingham
-}
module Talk where
-- Normal everyday lists
data List (A : Set) : Set where
[] : List A
_::_ : A -> List A -> List A
infixr 40 _::_
map : {A B : Set} -> (A -> B) -> List A -> List B
map f... |
data/moves/secret_power.asm | AtmaBuster/pokeplat-gen2 | 6 | 163744 | <reponame>AtmaBuster/pokeplat-gen2
secretpowerdata: MACRO
db \1
dw \2
dba \3
ENDM
SecretPowerTypeData:
secretpowerdata NORMAL, BODY_SLAM, BattleCommand_paralyzetarget
secretpowerdata GROUND, MUD_SLAP, SecretPowerLowerAccuracy
secretpowerdata ROCK, ROCK_THROW, BattleCommand_flinchtarget
secretpowerdata GRASS, ... |
source/amf/uml/amf-uml-templateable_elements.ads | svn2github/matreshka | 24 | 28129 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_12_1578.asm | ljhsiun2/medusa | 9 | 167302 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x35a8, %rsi
lea addresses_UC_ht+0x113a8, %rdi
clflush (%rdi)
nop
nop
nop
nop
and $35688, %rbp
mov $78, %rcx
rep movsl
cmp %rbx, %rbx
lea addresses_normal_ht+0x1e398, %r12
nop
... |
examples/ATPAxiomPostulates.agda | asr/apia | 10 | 15559 | -- The ATP pragma with the role <axiom> can be used with postulates.
module ATPAxiomPostulates where
postulate
D : Set
zero : D
succ : D → D
N : D → Set
postulate
zN : N zero
sN : ∀ {n} → N n → N (succ n)
{-# ATP axiom zN #-}
|
ordinary/runge_8th_order_demo_3.adb | jscparker/math_packages | 30 | 1029 | <filename>ordinary/runge_8th_order_demo_3.adb
with Runge_8th;
with Text_IO; use Text_IO;
with Quadrature;
with Ada.Numerics.Generic_Elementary_Functions;
procedure runge_8th_order_demo_3 is
type Real is digits 15;
package mth is new Ada.Numerics.Generic_Elementary_Functions(Real);
use mth; -- for Sin
p... |
oeis/008/A008430.asm | neoneye/loda-programs | 11 | 177746 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A008430: Theta series of D_8 lattice.
; Submitted by <NAME>
; 1,112,1136,3136,9328,14112,31808,38528,74864,84784,143136,149184,261184,246176,390784,395136,599152,550368,859952,768320,1175328,1078784,1513152,1362816,2096192,1764112,2496928,2289280,3208832,2731680,4007808... |
theorems/index.agda | mikeshulman/HoTT-Agda | 0 | 1069 | {-# OPTIONS --without-K --rewriting #-}
{-
Imports everything that is not imported by something else.
This is not supposed to be used anywhere, this is just a simple way to
do `make all'
This file is intentionally named index.agda so that
Agda will generate index.html.
-}
module index where
{- some group theory res... |
day01/tests/day1_suite.adb | jwarwick/aoc_2019_ada | 0 | 13885 | with Day1.Test;
package body Day1_Suite is
function Suite return Access_Test_Suite is
Ret : constant Access_Test_Suite := new Test_Suite;
begin
Ret.Add_Test (new Day1.Test.Test);
return Ret;
end Suite;
end Day1_Suite;
|
PIM/TP6_Modules/stocks_materiel.adb | Hathoute/ENSEEIHT | 1 | 22833 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
-- Auteur:
-- Gérer un stock de matériel informatique.
--
package body Stocks_Materiel is
-- Helpers
function Indice(Stock: in T_Stock; Numero_Serie: in Integer) return Integer is
begin
for J in 1..St... |
programs/oeis/320/A320896.asm | neoneye/loda | 22 | 21059 | ; A320896: a(n) = Sum_{k=1..n} k * tau(k)^2, where tau is A000005.
; 1,9,21,57,77,173,201,329,410,570,614,1046,1098,1322,1562,1962,2030,2678,2754,3474,3810,4162,4254,5790,6015,6431,6863,7871,7987,9907,10031,11183,11711,12255,12815,15731,15879,16487,17111,19671,19835,22523,22695,24279
mov $3,$0
add $3,1
mov $5,$0
lpb $... |
entropy-config-buttons.applescript | rinchen/fesc | 0 | 2697 | on clicked theObject
(*Add your script here.*)
end clicked
|
ejercicios2/escribir_vector.adb | iyan22/AprendeAda | 0 | 28998 | <reponame>iyan22/AprendeAda
with Ada.Text_Io, Ada.Integer_Text_Io; use Ada.Text_Io, Ada.Integer_Text_Io;
with vectores; use vectores;
procedure escribir_vector (V : in Vector_De_Enteros) is
--Pre:
--Post: se han escrito en pantalla todos los valores de V
--
begin
for pos in V'First..V'Last loop
put... |
oeis/293/A293901.asm | neoneye/loda-programs | 11 | 98281 | ; A293901: Sum of proper divisors of form 4k+1.
; Submitted by <NAME>(w2)
; 0,1,1,1,1,1,1,1,1,6,1,1,1,1,6,1,1,10,1,6,1,1,1,1,6,14,10,1,1,6,1,1,1,18,6,10,1,1,14,6,1,22,1,1,15,1,1,1,1,31,18,14,1,10,6,1,1,30,1,6,1,1,31,1,19,34,1,18,1,6,1,10,1,38,31,1,1,14,1,6,10,42,1,22,23,1,30,1,1,60,14,1,1,1,6,1,1,50,43,31
mov $2,$0
ad... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-stbuut.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 8494 | <reponame>JCGobbi/Nucleo-STM32G474RE
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_16987_370.asm | ljhsiun2/medusa | 9 | 10115 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1a90f, %r10
nop
nop
nop
nop
nop
add %rax, %rax
mov (%r10), %rdx
nop
add $60005, %r10
lea addresses_D_ht+0x1a277, %rsi
lea addresses_D_ht+0x199f3, %rdi
nop
nop
nop
inc %r... |
json-standards.ads | annexi-strayline/ASAP-JSON | 1 | 20795 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- JSON Parser/Constructor --
-- ... |
sound/musicasm/MVZ1.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 21291 | <filename>sound/musicasm/MVZ1.asm
MVZ1_Header:
sHeaderInit ; Z80 offset is $A52A
sHeaderPatch MVZ1_Patches
sHeaderCh $06, $03
sHeaderTempo $01, $39
sHeaderDAC MVZ1_DAC
sHeaderFM MVZ1_FM1, $00, $0F
sHeaderFM MVZ1_FM2, $00, $0C
sHeaderFM MVZ1_FM3, $00, $0E
sHeaderFM MVZ1_FM4, $00, $0F
sHeaderFM MVZ1_FM5, $... |
01 Mixing Desk Programming/Choose Desk to program.applescript | streth11/Qlab-Scripts | 0 | 2030 | -- @description Choose desk to program
-- @author <NAME>
-- @link bensmithsound.uk
-- @version 1.0
-- @testedmacos 10.13.6
-- @testedqlab 4.6.9
-- @about Changes which script cues the OSC "make midi desk recall" cues fire, changing the mixing desk the cues create recalls for. Current options are Allen & Heath mixing de... |
source/jni/u2/twist/koe.asm | Falken42/SecondReality | 9 | 81318 | .MODEL Large
.CODE
mov es:[di+1234h],ax
END |
lab01/src/lab1.adb | evgenijaZ/PP-labs | 0 | 7618 | with Ada.Text_IO;
use Ada.Text_IO;
with Data;
use Data;
with Ada.Integer_Text_IO;
with Ada.Integer_Text_IO;
with System.Multiprocessors;
use System.Multiprocessors;
procedure lab1 is
cpu1 : CPU_Range := 1;
cpu2 : CPU_Range := 1;
cpu3 : CPU_Range := 1;
N : Integer := 50;
task T1 is
pragma Priorit... |
tools/scitools/conf/understand/ada/ada05/a-direct.ads | brucegua/moocos | 1 | 9126 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
win/macosx/NetHackGuidebook.applescript | aoeixsz4/nh-setseed | 2,107 | 3758 | #!/usr/bin/osascript
# NetHack 3.7 NetHackGuidebook.applescript $NHDT-Date: 1596498328 2020/08/03 23:45:28 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.13 $
# Copyright (c) <NAME>, Kensington, Maryland, 2011
# NetHack may be freely redistributed. See license for details.
# Display the Guidebook from the GUI.
te... |
Raw.g4 | sirkon/mdl | 10 | 211 | grammar Raw;
set
: (line eoc)* (line EOF)?
|
;
eoc
: NEWLINE*;
line
: (IDENTIFIER '=' value)
;
value
: STRING_LITERAL
| NUMBER
| boolean
| INLINE_STRING
| IDENTIFIER
;
boolean
: 'true'
| 'false';
IDENTIFIER
: [a-zA-Z_] [a-zA-Z0-9_]*
;
STRING_LITER... |
bb-runtimes/src/a-intnam__p55.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 4365 | <reponame>JCGobbi/Nucleo-STM32G474RE<filename>bb-runtimes/src/a-intnam__p55.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
awa/src/awa-users-services.adb | Letractively/ada-awa | 0 | 22145 | -----------------------------------------------------------------------
-- awa.users -- User registration, authentication processes
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this... |
32kb_flash_cartridge/programmer/tester.asm | kant/myelin-acorn-electron-hardware | 42 | 12043 | <reponame>kant/myelin-acorn-electron-hardware
; Copyright 2017 Google Inc.
;
; 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 requir... |
projects/batfish/src/main/antlr4/org/batfish/grammar/f5_bigip_structured/F5BigipStructured_ltm_rule.g4 | zabrewer/batfish | 763 | 6109 | <gh_stars>100-1000
parser grammar F5BigipStructured_ltm_rule;
import F5BigipStructured_common;
options {
tokenVocab = F5BigipStructuredLexer;
}
l_rule
:
RULE_SPECIAL name = structure_name BRACE_LEFT
(
NEWLINE
(
proc
| when
)*
)? BRACE_RIGHT NEWLINE
;
proc
:
PROC name = CHARS BRACE_... |
Library/AnsiC/malloc_asm.asm | steakknife/pcgeos | 504 | 247586 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved
PROJECT: PC/GEOS
MODULE: AnsiC library
FILE: malloc_asm.asm
AUTHOR: <NAME>, Sep 17, 1991
ROUTINES:
Name Description
---- -----------
_Malloc allocs fi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.