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 |
|---|---|---|---|---|
tests/test_main.adb | jonashaggstrom/ada-canopen | 6 | 9213 | with AUnit.Reporter.Text;
with AUnit.Run;
with Unit_Tests;
with Ada.Text_IO;
procedure Test_Main is
procedure Runner is new AUnit.Run.Test_Runner (Unit_Tests.Suite);
Reporter : AUnit.Reporter.Text.Text_Reporter;
begin
Ada.Text_IO.Put_Line ("Running...");
Runner (Reporter);
end Test_Main;
|
asm_x86_64/vector.asm | msimms/LibMath | 2 | 25589 | <reponame>msimms/LibMath<filename>asm_x86_64/vector.asm
; by <NAME>
; Copyright (c) 2018 <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 limitat... |
src/sys/encoders/util-encoders-aes.ads | RREE/ada-util | 60 | 2396 | -----------------------------------------------------------------------
-- util-encoders-aes -- AES encryption and decryption
-- Copyright (C) 2017, 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complian... |
src/SingleSorted/AlgebraicTheory.agda | cilinder/formaltt | 21 | 4602 | <gh_stars>10-100
open import Agda.Primitive using (lzero; lsuc; _⊔_)
open import Agda.Builtin.Nat
open import Relation.Binary.PropositionalEquality using (_≡_; refl)
open import Data.Fin
open import Relation.Binary
module SingleSorted.AlgebraicTheory where
open import SingleSorted.Context public
Arity : Set
A... |
programs/oeis/063/A063523.asm | karttu/loda | 1 | 179250 | ; A063523: a(n) = n*(8*n^2 - 5)/3.
; 0,1,18,67,164,325,566,903,1352,1929,2650,3531,4588,5837,7294,8975,10896,13073,15522,18259,21300,24661,28358,32407,36824,41625,46826,52443,58492,64989,71950,79391,87328,95777,104754,114275,124356,135013,146262,158119,170600,183721,197498,211947,227084,242925,259486,276783,294832,3136... |
bb-runtimes/src/s-bbcpsp__6xx.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 13648 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
sprites/examples/ow_rounding_boo.asm | Atari2/WhiteSnake | 0 | 103470 | ; Turning code stolen from Blind Devil's Rounding Boo
macro SetOAMProp(XPos, YPos, Tile, Props, Size)
LDA <XPos> : STA $0300|!addr,y ; xpos on screen
LDA <YPos> : STA $0301|!addr,y ; ypos on screen
LDA <Tile> : STA $0302|!addr,y ; tile
LDA <Props> : STA $0303|!addr,y ; yxppccct
TYA : LSR ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_962.asm | ljhsiun2/medusa | 9 | 167000 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x10bb7, %r10
nop
nop
xor %rdi, %rdi
and $0xffffffffffffffc0, %r10
vmovntdqa (%r10), %ymm7
vextracti128 $0, %ymm7, %xmm7
vpextrq $0, %xmm7, %r13
nop
nop
nop
nop
nop
add $50739... |
tools-src/gnu/gcc/gcc/ada/xr_tabls.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 7613 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
mips_architecture/lab6_ex5.asm | christosmarg/uni-assignments | 0 | 87841 | .eqv SYS_PRINT_STRING 4
.eqv SYS_READ_WORD 5
.eqv SYS_EXIT 10
.eqv SYS_PRINT_CHAR 11
.data
inputmsg: .asciiz "Number (1-255): "
bounderrstr: .asciiz "Number must be 1-255\n"
resstr: .asciiz "Hex: 0x"
hex: .ascii "0123456789abcdef"
.text
.glo... |
maps/WIP/TVStation3F3.asm | AtmaBuster/pokecrystal16-493-plus | 1 | 21372 | object_const_def ; object_event constants
TVStation3F3_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TVStation3F3_MapEvents:
db 0, 0 ; filler
db 0 ; warp events
db 0 ; coord events
db 0 ; bg events
db 0 ; object events
|
Ada/src/Problem_73.adb | Tim-Tom/project-euler | 0 | 29433 | <gh_stars>0
with Ada.Text_IO;
package body Problem_73 is
package IO renames Ada.Text_IO;
procedure Solve is
max : constant := 12_000;
-- Start with the first two numbers in the sequence (it's easy to know that because the first
-- one after 0 is 1 / max). Then generate successive elements in the... |
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_sm_/i9-9900K_12_0xa0_notsx.log_21829_2029.asm | ljhsiun2/medusa | 9 | 92563 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x6cc9, %rcx
clflush (%rcx)
nop
and %rdi, %rdi
mov $0x6162636465666768, %r10
movq %r10, (%rcx)
nop
nop
nop
and $18804, %rcx
lea addresses_normal_ht+0x11c19, %r14
nop
xor $6425, ... |
dino/lcs/123p/5A.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 23631 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data<filename>dino/lcs/123p/5A.asm
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D94 move.l D1, (A1)+
004D96 dbra D0, $4d94
0107AA move.b ($5a,A2), ($5a,A3) [123p+ 78]
0107B0 move.b ... |
source/strings/a-suegst.ads | ytomino/drake | 33 | 12078 | <gh_stars>10-100
pragma License (Unrestricted);
-- generalized unit of Ada.Strings.UTF_Encoding.Strings
generic
type Character_Type is (<>);
type String_Type is array (Positive range <>) of Character_Type;
Expanding_From_8 : Positive;
Expanding_From_16 : Positive;
Expanding_From_32 : Positive;
Expand... |
programs/oeis/128/A128975.asm | neoneye/loda | 22 | 99729 | <reponame>neoneye/loda
; A128975: a(n) = the number of unordered triples of integers (a,b,c) with a+b+c=n, whose bitwise XOR is zero. Equivalently, the number of three-heap nim games with n stones which are in a losing position for the first player.
; 0,0,0,0,0,1,0,0,0,1,0,1,0,4,0,0,0,1,0,1,0,4,0,1,0,4,0,4,0,13,0,0,0,1... |
arch/ARM/STM32/driversWB55x/stm32-rtc.adb | morbos/Ada_Drivers_Library | 2 | 24652 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- ... |
Common.agda | mietek/hilbert-gentzen | 29 | 16638 | module Common where
open import Agda.Builtin.Size public
using (Size ; Size<_)
renaming (ω to ∞)
open import Agda.Primitive public
using ()
renaming (_⊔_ to _⊔ᴸ_ ; lsuc to sucᴸ)
open import Data.Bool public
using (true ; false)
renaming (Bool to 𝔹 ; _∧_ to _∧ᴮ_ ; _∨_ to _∨ᴮ_ ; not to ¬ᴮ_ ; if_then_else_... |
alloy4fun_models/trashltl/models/11/t567kyqgdpx7xFHe5.als | Kaixi26/org.alloytools.alloy | 0 | 323 | <filename>alloy4fun_models/trashltl/models/11/t567kyqgdpx7xFHe5.als<gh_stars>0
open main
pred idt567kyqgdpx7xFHe5_prop12 {
some f:File | (eventually f in Trash) implies (always f in Trash)
}
pred __repair { idt567kyqgdpx7xFHe5_prop12 }
check __repair { idt567kyqgdpx7xFHe5_prop12 <=> prop12o } |
audio/sfx/noise_instrument09_2.asm | opiter09/ASM-Machina | 1 | 102697 | <filename>audio/sfx/noise_instrument09_2.asm
SFX_Noise_Instrument09_2_Ch8:
noise_note 0, 8, 2, 35
sound_ret
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c4a014a.ada | best08618/asylo | 7 | 29046 | <reponame>best08618/asylo
-- C4A014A.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... |
examples/lib/Data/Real/Base.agda | shlevy/agda | 1,989 | 8977 | <filename>examples/lib/Data/Real/Base.agda
module Data.Real.Base where
import Prelude
import Data.Rational
import Data.Nat as Nat
import Data.Bits
import Data.Bool
import Data.Maybe
import Data.Integer
import Data.List
import Data.Real.Gauge
open Prelude
open Data.Rational hiding (_-_; !_!)
open Data.Bits
open Data.... |
src/XenobladeChroniclesX/Mods/BattleQteDollLost/patch_qte_lostdoll.asm | lilystudent2016/cemu_graphic_packs | 1,002 | 174423 | <filename>src/XenobladeChroniclesX/Mods/BattleQteDollLost/patch_qte_lostdoll.asm<gh_stars>1000+
[XCX_QTE_DOLLLOST_ALL] #################################################################################################
moduleMatches = 0xF882D5CF, 0x30B6E091, 0xAB97DE6B ; 1.0.1E, 1.0.2U, 1.0.1U
0x027F9464 = SetInsure:
0x... |
programs/oeis/212/A212669.asm | jmorken/loda | 1 | 161388 | <filename>programs/oeis/212/A212669.asm<gh_stars>1-10
; A212669: a(n) = 2/15 * (32*n^5 + 80*n^4 + 40*n^3 - 20*n^2 + 3*n).
; 18,340,2022,7400,20602,48060,99022,186064,325602,538404,850102,1291704,1900106,2718604,3797406,5194144,6974386,9212148,11990406,15401608,19548186,24543068,30510190,37585008,45915010,55660228,66993... |
oeis/073/A073353.asm | neoneye/loda-programs | 11 | 86717 | ; A073353: Sum of n and its squarefree kernel.
; Submitted by <NAME>, https://github.com/ckrause
; 2,4,6,6,10,12,14,10,12,20,22,18,26,28,30,18,34,24,38,30,42,44,46,30,30,52,30,42,58,60,62,34,66,68,70,42,74,76,78,50,82,84,86,66,60,92,94,54,56,60,102,78,106,60,110,70,114,116,118,90,122,124,84,66,130,132,134,102,138,140,1... |
programs/oeis/085/A085462.asm | karttu/loda | 1 | 244452 | <gh_stars>1-10
; A085462: Number of 5-tuples (v1,v2,v3,v4,v5) of nonnegative integers less than n such that v1<=v4, v1<=v5, v2<=v4 and v3<=v4.
; 1,14,77,273,748,1729,3542,6630,11571,19096,30107,45695,67158,96019,134044,183260,245973,324786,422617,542717,688688,864501,1074514,1323490,1616615,1959516,2358279,2819467,3350... |
Source/Api/EtAlii.Ubigia.Api.Functional.Antlr/PathParser.g4 | vrenken/EtAlii.Ubigia | 2 | 5709 | parser grammar PathParser;
@header {
#pragma warning disable CS0115 // CS0115: no suitable method found to override
#pragma warning disable CS3021 // CS3021: The CLSCompliant attribute is not needed because the assembly does not have a CLSCompliant attribute
// ReSharper disable InvalidXmlDocComment
//... |
software/atommc2/macros.asm | AtomicRoland/AtomFpga | 25 | 2654 | <filename>software/atommc2/macros.asm<gh_stars>10-100
;=================================================================
; macro definitions for AtoMMC
; Collected macros from all files into a single file
;=================================================================
;
; 2013-10-09 converted some of the macro ... |
oeis/008/A008333.asm | neoneye/loda-programs | 11 | 246400 | ; A008333: Sum of divisors of p+1, p prime.
; 4,7,12,15,28,24,39,42,60,72,63,60,96,84,124,120,168,96,126,195,114,186,224,234,171,216,210,280,216,240,255,336,288,336,372,300,240,294,480,360,546,336,508,294,468,465,378,504,560,432,546,744,399,728,528,720,720,558,420,576,504,684,672,840,474,648,588,549,840,744,720,1170,74... |
sound/sfxasm/B8.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 12591 | B8_Header:
sHeaderInit ; Z80 offset is $D7A4
sHeaderPatch B8_Patches
sHeaderTick $01
sHeaderCh $01
sHeaderSFX $80, $05, B8_FM5, $F0, $00
B8_FM5:
sPatFM $00
ssModZ80 $01, $01, $F7, $EA
B8_Loop1:
dc.b nAb5, $02, $03, nRst, $02
saVolFM $06
sLoop $00, $0E, B8_Loop1
sStop
B8_Patches:
; Patch $00
; $... |
protostuff-parser/src/main/antlr4/io/protostuff/compiler/parser/ProtoParser.g4 | gagranov/protostuff-compiler | 40 | 3468 | <gh_stars>10-100
parser grammar ProtoParser;
options {
tokenVocab = ProtoLexer;
}
proto
// syntax should be first statement in the file
: syntaxStatement?
( packageStatement
| importStatement
| optionEntry
| enumBlock
| messageBlock
| extendBlock
| s... |
old/Algebra/GroupSets.agda | timjb/HoTT-Agda | 294 | 5733 | {-# OPTIONS --without-K #-}
open import Base
open import Algebra.Groups
{-
The definition of G-sets. Thanks to <NAME>.
-}
module Algebra.GroupSets {i} (grp : group i) where
private
module G = group grp
-- The right group action with respect to the group [grp].
-- [Y] should be some set, but that con... |
ex7.asm | JLJL0308/x86_Assembly | 0 | 92146 | <gh_stars>0
global _start
_start:
call func
mov eax, 1
int 0x80
func:
mov ebx, 42
ret
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_467.asm | ljhsiun2/medusa | 9 | 174906 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xe6db, %rdx
nop
nop
inc %r8
movb (%rdx), %al
nop
nop
xor $9760, %r13
lea addresses_normal_ht+0x1c5bb, %r11
nop
nop
nop
nop
nop
sub $16492, %... |
oeis/197/A197905.asm | neoneye/loda-programs | 11 | 29666 | <reponame>neoneye/loda-programs
; A197905: Ceiling((n+1/n)^6).
; 64,245,1372,5893,19771,54993,132811,287701,572043,1061521,1861243,3112581,5000731,7762993,11697771,17174293,24643051,34646961,47833243,64966021,86939643,114792721,149722891,193102293,246493771,311667793,390620091,485590021,599079643,733873521,893059243,10... |
source/yaml.ads | ytomino/yaml-ada | 4 | 19965 | with Ada.IO_Exceptions;
private with C.yaml;
private with Ada.Finalization;
package YAML is
pragma Preelaborate;
pragma Linker_Options ("-lyaml");
function Version return String;
type Version_Directive is record
Major : Natural;
Minor : Natural;
end record;
type Tag_Directive is record
Handle : not nu... |
programs/oeis/303/A303295.asm | karttu/loda | 0 | 9006 | <gh_stars>0
; A303295: a(n) is the maximum water retention of a height-3 length-n number parallelogram with maximum water area.
; 0,20,49,99,165,247,345,459,589,735,897,1075,1269,1479,1705,1947,2205,2479,2769,3075,3397,3735,4089,4459,4845,5247,5665,6099,6549,7015,7497,7995,8509,9039,9585,10147,10725,11319,11929,12555,1... |
programs/oeis/083/A083885.asm | neoneye/loda | 0 | 581 | <reponame>neoneye/loda
; A083885: (4^n+2^n+0^n+(-2)^n)/4
; 1,1,6,16,72,256,1056,4096,16512,65536,262656,1048576,4196352,16777216,67117056,268435456,1073774592,4294967296,17180000256,68719476736,274878431232,1099511627776,4398048608256,17592186044416,70368752566272,281474976710656,1125899940397056,4503599627370496,18014... |
tests/exec/for1.adb | xuedong/mini-ada | 0 | 4280 | with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
begin
for I in 1 .. 10 loop Put('A'); end loop; New_Line;
for I in 10 .. 1 loop Put('B'); end loop; New_Line;
for I in reverse 1 .. 10 loop Put('C'); end loop; New_Line;
for I in reverse 10 .. 1 loop Put('D'); end loop; New_Line;
end;
-- Local Variables... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1053.asm | ljhsiun2/medusa | 9 | 14293 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1053.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xd4f7, %r10
clflush (%r10)
cmp %rcx, %rcx
movups (%r10), %xmm1
vpext... |
dv/65xxTest2_NmosOps.asm | luke-mckay/fluffy-octo-umbrella | 0 | 25077 | ; SPDX-License-Identifier: LGPL-2.1-or-later
;
; 6502 Compatible Processor Test Code
; Targets Documented 6502 Commands
; Copyright 2022, <NAME>.
;
; This library is free software; you can redistribute it and/or
; modify it under the terms of the GNU Lesser General Public
; License as published by the Free Software Fou... |
courses/fundamentals_of_ada/labs/solar_system/adv_170_multiple_inheritance/src/solar_system.ads | AdaCore/training_material | 15 | 3931 | -----------------------------------------------------------------------
-- Ada Labs --
-- --
-- Copyright (C) 2008-2009, AdaCore --
-- ... |
ArmPkg/Library/CompilerIntrinsicsLib/Arm/llsl.asm | KaoTuz/edk2-stable202108 | 9 | 23453 | <filename>ArmPkg/Library/CompilerIntrinsicsLib/Arm/llsl.asm
//------------------------------------------------------------------------------
//
// Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
//
// SPDX-License-Identifier: BSD-2-Clause-Patent
//
//------------------------------------------------------... |
oeis/086/A086941.asm | neoneye/loda-programs | 11 | 171268 | ; A086941: a(n) = k where R(k+6) = 3.
; 24,294,2994,29994,299994,2999994,29999994,299999994,2999999994,29999999994,299999999994,2999999999994,29999999999994,299999999999994,2999999999999994,29999999999999994,299999999999999994,2999999999999999994,29999999999999999994,299999999999999999994,2999999999999999999994,2999999... |
bb-runtimes/arm/nordic/nrf51/svd/a-intnam.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 462 | <gh_stars>0
--
-- Copyright (C) 2018, AdaCore
--
-- Copyright (c) 2013, Nordic Semiconductor ASA
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code m... |
agda-stdlib/src/Data/Fin/Properties.agda | DreamLinuxer/popl21-artifact | 5 | 5793 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties related to Fin, and operations making use of these
-- properties (or other properties not available in Data.Fin)
------------------------------------------------------------------------
{-# OPTIONS --... |
legacy/Data/Num/Bij/Properties.agda | banacorn/numeral | 1 | 15248 | module Data.Num.Bij.Properties where
open import Data.Num.Bij renaming (_+B_ to _+_; _*B_ to _*_)
open import Data.List
open import Relation.Binary.PropositionalEquality as PropEq
using (_≡_; _≢_; refl; cong; sym; trans)
open PropEq.≡-Reasoning
--------------------------------------------------------------------... |
alloy4fun_models/trashltl/models/19/3hPR8j2EjEQ2MXLnr.als | Kaixi26/org.alloytools.alloy | 0 | 4866 | open main
pred id3hPR8j2EjEQ2MXLnr_prop20 {
all f : File | f in Trash since f not in Protected
}
pred __repair { id3hPR8j2EjEQ2MXLnr_prop20 }
check __repair { id3hPR8j2EjEQ2MXLnr_prop20 <=> prop20o } |
grammars/tac.g4 | amir-esmaeili/IUSTCompiler | 0 | 5776 | grammar tac;
@parser::members{
label_counter = 0
temp_counter = 0
def create_temp(self):
self.temp_counter += 1
return '_t' + str(self.temp_counter)
def remove_temp(self):
self.temp_counter -= 1
def get_temp(self):
return f'_t{self.temp_counter}'
def create_label(self):
self.label_counter += 1
... |
tarmi-environments.ads | DerickEddington/tarmi | 0 | 23590 | with Ada.Containers; use Ada.Containers;
with Ada.Containers.Hashed_Maps;
with Tarmi.Symbols; use Tarmi.Symbols;
-- TODO: Support multiple environment parents.
package Tarmi.Environments is
function Hash_Symbol (S : Symbol) return Hash_Type;
package Hashed_Maps is new Ada.Containers.Hashed_Maps
(Key_Type... |
src/riscv32/agate_arch_parameters.ads | Fabien-Chouteau/AGATE | 3 | 23058 | <reponame>Fabien-Chouteau/AGATE
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, <NAME> --
-- ... |
programs/oeis/161/A161428.asm | jmorken/loda | 1 | 82293 | ; A161428: a(n) = A161424(n)/4.
; 4,5,6,7,8,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277
mov $2,$0
sub $0,1
cal $0,86969 ; Duplicate of A014692.
trn $0,5
mov $1,$0
a... |
container-search/src/main/antlr4/com/yahoo/search/yql/yqlplus.g4 | feemstr/vespa | 0 | 1942 | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
grammar yqlplus;
options {
superClass = ParserBase;
language = Java;
}
@header {
import java.util.Stack;
import com.yahoo.search.yql.*;
}
@parser::members {
protected static class expressio... |
FormalAnalyzer/models/meta/cap_mediaPlaybackRepeat.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 3355 |
// filename: cap_mediaPlaybackRepeat.als
module cap_mediaPlaybackRepeat
open IoTBottomUp
one sig cap_mediaPlaybackRepeat extends Capability {}
{
attributes = cap_mediaPlaybackRepeat_attr
}
abstract sig cap_mediaPlaybackRepeat_attr extends Attribute {}
one sig cap_mediaPlaybackRepeat_attr_playbackRepeatMode extends... |
models/tests/hashtable.als | transclosure/Amalgam | 4 | 2597 | <reponame>transclosure/Amalgam<filename>models/tests/hashtable.als
// SAT
// AA3: 8562 46965 21.000
// AA4: 13241 34497 1.665
// UNSAT
// AA3: 5669 28829 17.000
// AA4: 9848 25635 1.087
module tests/felix01/hashtable
// The system progresses over a number of time steps
open util/ordering[Time] as TO
sig Time {}... |
corpus-for-codebuff/ModeLexer.g4 | studentmain/AntlrVSIX | 67 | 5296 | lexer grammar ModeLexer;
INT
: [0-9]+
;
WS
: [ \t\n]+ -> skip
;
mode AA; // E.g., [int x, List<String> a[]]
NESTED_ARG_ACTION
: '[' -> more, pushMode(AA)
;
ARG_ACTION_ESCAPE
: '\\' . -> more
;
ARG_ACTION_S... |
examples/language/ada.adb | fiugd/welcome | 2 | 18285 | <reponame>fiugd/welcome<filename>examples/language/ada.adb<gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Long_Integer_Text_IO; use Ada.Long_Integer_Text_IO;
procedure Fib is
function Fib (N : Long_Integer) return Long_Integer is
begin
if N <= 1 then
return 1;
end if;
... |
libsrc/rs232/osca/rs232_close.asm | andydansby/z88dk-mk2 | 1 | 85233 | <reponame>andydansby/z88dk-mk2
;
; z88dk RS232 Function
;
; OSCA version
;
; unsigned char rs232_close()
;
; $Id: rs232_close.asm,v 1.1 2012/06/26 06:11:23 stefano Exp $
XLIB rs232_close
rs232_close:
ld hl,0 ;RS_ERR_OK;
ret
|
oeis/067/A067353.asm | neoneye/loda-programs | 11 | 1573 | ; A067353: Divide the natural numbers in sets of consecutive numbers starting with {1,2} as the first set. The number of elements of the n-th set is equal to the sum of the n-1 final numbers in the (n-1)st set. The final number of the n-th set gives a(n).
; Submitted by <NAME>
; 2,4,11,41,199,1184,8273,66163,595439,595... |
src/asis/a4g-decl_sem.ads | My-Colaborations/dynamo | 15 | 20624 | ------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
testData/parse/agda/imports.agda | dubinsky/intellij-dtlc | 30 | 15486 | <filename>testData/parse/agda/imports.agda
--
-- Created by Dependently-Typed Lambda Calculus on 2019-05-15
-- imports
-- Author: ice1000
--
{-# OPTIONS --without-K --safe #-}
import Relation.Binary.PropositionalEquality
open import Relation.Binary.PropositionalEquality
import Relation.Binary.PropositionalEquality us... |
source/xml/sax/matreshka-internals-xml-element_tables.ads | svn2github/matreshka | 24 | 10003 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
programs/oeis/025/A025682.asm | neoneye/loda | 22 | 169044 | ; A025682: Exponent of 9 (value of j) in n-th number of form 8^i*9^j.
; 0,0,1,0,1,2,0,1,2,3,0,1,2,3,4,0,1,2,3,4,5,0,1,2,3,4,5,6,0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,11,0,1,2,3,4,5,6,7,8,9,10,11,12,0,1,2,3,4,5,6,7,8
lpb $0
add $1,1
sub $0,$1
lpe
|
alloy4fun_models/trashltl/models/17/porWs2KaACnYe7hRm.als | Kaixi26/org.alloytools.alloy | 0 | 179 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idporWs2KaACnYe7hRm_prop18 {
always all f : Protected | f in Trash implies after f not in Protected
}
pred __repair { idporWs2KaACnYe7hRm_prop18 }
check __repair { idporWs2KaACnYe7hRm_prop18 <=> prop18o } |
gcc-gcc-7_3_0-release/gcc/ada/s-crtl.ads | best08618/asylo | 7 | 14481 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
src/amd64/noexceptionsa.asm | dmarov/chamd | 22 | 89186 | <gh_stars>10-100
_TEXT SEGMENT 'CODE'
PUBLIC NoException14
NoException14:
;Security cookies sucks, so getjmp/longjmp are not usable
;So, just falling back to an exceptionless Copy command instead
;or disassemble the instruction RIP points at
;rsp=errorcode
;rsp+8=rip
;rsp+10=cs ;20
;rsp+18=eflags
;rsp+20=rsp
;rs... |
build.applescript | doekman/Pashua-Binding-AppleScript-Library | 1 | 218 | #!/usr/bin/osascript
-- BUILD ASPashua Library
on do_shell_with_log(naam, cmd)
set cmdResult to do shell script cmd
log "SHELL " & naam & ": [" & cmd & "] > [" & cmdResult & "]"
end do_shell_with_log
on get_boolean_default(key_name, default_value)
try
return (do shell script "defaults read com.zanstra.ASPashua ... |
alloy4fun_models/trainstlt/models/6/ds8FxKRMHEYRXCp4A.als | Kaixi26/org.alloytools.alloy | 0 | 2819 | open main
pred idds8FxKRMHEYRXCp4A_prop7 {
always (all t:Train | some (t.pos & Entry ) implies eventually some (t.pos & Exit) )
}
pred __repair { idds8FxKRMHEYRXCp4A_prop7 }
check __repair { idds8FxKRMHEYRXCp4A_prop7 <=> prop7o } |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sf2/bank4.asm | prismotizm/gigaleak | 0 | 24575 | <filename>other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sf2/bank4.asm<gh_stars>0
Name: bank4.asm
Type: file
Size: 676
Last-Modified: '1993-01-07T04:42:26Z'
SHA-1: 92E75438C51EB1A0A9BED348CEEA311944930165
Description: null
|
agda/Algebra/Construct/Free/Semilattice/Relation/Unary/Any/Map.agda | oisdk/combinatorics-paper | 6 | 16992 | <reponame>oisdk/combinatorics-paper
{-# OPTIONS --cubical --safe #-}
module Algebra.Construct.Free.Semilattice.Relation.Unary.Any.Map where
open import Prelude hiding (⊥; ⊤)
open import Algebra.Construct.Free.Semilattice.Eliminators
open import Algebra.Construct.Free.Semilattice.Definition
open import Cubical.Foundat... |
programs/oeis/271/A271995.asm | karttu/loda | 0 | 245699 | <gh_stars>0
; A271995: The Pnictogen sequence: a(n) = A018227(n)-3.
; 7,15,33,51,83,115,165,215,287,359,457,555,683,811,973,1135,1335,1535,1777,2019,2307,2595,2933,3271,3663,4055,4505,4955,5467,5979,6557,7135,7783,8431,9153,9875,10675,11475,12357,13239,14207,15175,16233,17291,18443,19595,20845,22095,23447,24799,26257,2... |
programs/oeis/147/A147874.asm | karttu/loda | 1 | 6150 | ; A147874: a(n) = (5*n-7)*(n-1).
; 0,3,16,39,72,115,168,231,304,387,480,583,696,819,952,1095,1248,1411,1584,1767,1960,2163,2376,2599,2832,3075,3328,3591,3864,4147,4440,4743,5056,5379,5712,6055,6408,6771,7144,7527,7920,8323,8736,9159,9592,10035,10488,10951,11424,11907,12400,12903,13416,13939,14472,15015,15568,16131,1670... |
data/wild/kanto_grass.asm | zavytar/pokecolorless | 0 | 4331 | ; Kanto Pokémon in grass
KantoGrassWildMons:
map_id ROUTE_1
db 10 percent, 10 percent, 10 percent ; encounter rates: morn/day/nite
; morn
db 2, PIDGEY
db 2, RATTATA
db 3, RATTATA
db 3, PIDGEY
db 6, RATTATA
db 4, PIDGEY
db 4, PIDGEY
; day
db 2, PIDGEY
db 2, RATTATA
db 3, RATTATA
db 3, PIDGEY
db 6, RATT... |
externals/openssl-1.0.2d/tmp64/sha1-x86_64.asm | doomdagger/cpython | 5 | 81949 | default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
EXTERN OPENSSL_ia32cap_P
global sha1_block_data_order
ALIGN 16
sha1_block_data_order:
mov QWORD[8+rsp],rdi ;WIN64 prologue
mov QWORD[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_sha1_block_data_order:
mov rdi,rcx
mov rsi,rdx
mov rd... |
data/maps/scenes.asm | zavytar/pokecolorless | 0 | 166838 | scene_var: MACRO
; map, variable
map_id \1
dw \2
ENDM
MapScenes::
scene_var POKECENTER_2F, wPokecenter2FSceneID
scene_var TRADE_CENTER, wTradeCenterSceneID
scene_var COLOSSEUM, wColosseumSceneID
scene_var TIME_CAPSULE,... |
programs/oeis/046/A046820.asm | neoneye/loda | 22 | 9923 | ; A046820: Number of 1's in binary expansion of 5n.
; 0,2,2,4,2,3,4,3,2,4,3,5,4,2,3,4,2,4,4,6,3,4,5,5,4,6,2,4,3,3,4,5,2,4,4,6,4,5,6,4,3,5,4,6,5,4,5,6,4,6,6,8,2,3,4,4,3,5,3,5,4,4,5,6,2,4,4,6,4,5,6,5,4,6,5,7,6,3,4,5,3,5,5,7,4,5,6,6,5,7,4,6,5,5,6,7,4,6,6,8
mul $0,5
mov $1,$0
lpb $1
div $1,2
sub $0,$1
lpe
|
test/jzas/integration/success02.asm | scoffey/jz80sim | 1 | 92053 | init: ld a, 4
ld b, 5
add a, b
end init
|
programs/oeis/062/A062300.asm | karttu/loda | 0 | 13383 | ; A062300: a(n) = floor(cosec(Pi/(n+1))).
; 1,1,1,1,2,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,14,15,15,15,16,16,16,17,17,17,18,18,18,19,19,19,20,20,20,21,21,21,21,22,22,22,23,23,23,24,24,24,25,25,25,26,26,26,27,27,27,28,28,28,28,29,29,29,30,30,30,31,31,31,32,32,32,... |
oeis/091/A091044.asm | neoneye/loda-programs | 11 | 93011 | ; A091044: One half of odd-numbered entries of even-numbered rows of Pascal's triangle A007318.
; Submitted by <NAME>
; 1,2,2,3,10,3,4,28,28,4,5,60,126,60,5,6,110,396,396,110,6,7,182,1001,1716,1001,182,7,8,280,2184,5720,5720,2184,280,8,9,408,4284,15912,24310,15912,4284,408,9,10,570,7752,38760,83980,83980,38760,7752,570... |
opengl-vertex.ads | io7m/coreland-opengl-ada | 1 | 9744 | with OpenGL.Thin;
with OpenGL.Types;
package OpenGL.Vertex is
type Primitive_Type_t is
(Points,
Line_Strip,
Line_Loop,
Lines,
Triangle_Strip,
Triangle_Fan,
Triangles,
Quad_Strip,
Quads,
Polygon);
--
-- Immediate mode. Begin/End.
--
-- proc_map : glBegin
p... |
oeis/089/A089591.asm | neoneye/loda-programs | 11 | 19144 | ; A089591: "Lazy binary" representation of n. Also called redundant binary representation of n.
; Submitted by <NAME>
; 0,1,10,11,20,101,110,111,120,201,210,1011,1020,1101,1110,1111,1120,1201,1210,2011,2020,2101,2110,10111,10120,10201,10210,11011,11020,11101,11110,11111,11120,11201,11210,12011,12020,12101,12110,20111,2... |
sound/sfxasm/D4.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 83387 | D4_Header:
sHeaderInit ; Z80 offset is $DD9D
sHeaderPatch D4_Patches
sHeaderTick $01
sHeaderCh $02
sHeaderSFX $80, $06, D4_FM6, $0C, $00
sHeaderSFX $80, $05, D4_FM5, $00, $13
D4_FM6:
sPatFM $01
dc.b nRst, $01, nA2, $08
sPatFM $00
dc.b sHold, nAb3, $26
sStop
D4_FM5:
sPatFM $02
ssModZ80 $06, $01, $... |
2IMA/SystemesConcurrents/tp6/lr-synchro-serveur.adb | LagOussama/enseeiht | 1 | 2162 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Exceptions;
-- Version simple : exclusion mutuelle pour toutes les opérations
-- fournit une ossature pour l'approche "service"
package body LR.Synchro.serveur is
function Nom_Strategie return String is
begin
return "Exclusion mutuelle simple";
end Nom_S... |
src/main.asm | RysteQ/SBOS | 0 | 84693 | [org 0x7e00]
[bits 16]
; clear the screen and show the welcome message
call clear_screen
mov si, welcome_message
call print_si
main_loop:
; get the user input and analyze the command
mov si, prompt
call print_si
call get_input
call command_line_si
jmp main_loop
jmp $
NULL_TERMINATOR equ 255... |
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sdcc_iy/p_forward_list_next_fastcall.asm | meesokim/z88dk | 0 | 6573 | <filename>libsrc/_DEVELOPMENT/adt/p_forward_list/c/sdcc_iy/p_forward_list_next_fastcall.asm
; void *p_forward_list_next_fastcall(void *item)
SECTION code_adt_p_forward_list
PUBLIC _p_forward_list_next_fastcall
defc _p_forward_list_next_fastcall = asm_p_forward_list_next
INCLUDE "adt/p_forward_list/z80/asm_p_forwar... |
src/static/antlr4/grammars/Calc.g4 | jlenoble/casem | 0 | 4840 | grammar Calc;
import Files, Stats;
prog
: blocks
| blocks file+
;
file
: header blocks endFile
;
blocks
: block*
;
block
: (stat endStat)+
| blockStat endStat
| NEWLINE+
;
blockStat
: ifStat
| forStat
| doStat
| whileStat
;
ifStat
: IF boolExpr endStat THEN blocks (ELSE blocks)? IFEND
;
forStat
: FOR numExpr AR... |
libsrc/_DEVELOPMENT/adt/ba_priority_queue/c/sccz80/ba_priority_queue_push_callee.asm | meesokim/z88dk | 0 | 102923 |
; int ba_priority_queue_push(ba_priority_queue_t *q, int c)
SECTION code_adt_ba_priority_queue
PUBLIC ba_priority_queue_push_callee
ba_priority_queue_push_callee:
pop hl
pop bc
ex (sp),hl
INCLUDE "adt/ba_priority_queue/z80/asm_ba_priority_queue_push.asm"
|
LecIC.agda | clarkdm/CS410 | 0 | 9158 | module LecIC where
open import CS410-Prelude
open import CS410-Nat
_-:>_ : {I : Set}(S T : I -> Set) -> I -> Set
(S -:> T) i = S i -> T i
infixr 3 _-:>_
-- notation for indexed sets
[_] : {I : Set}(X : I -> Set) -> Set
[ X ] = forall {i} -> X i
record MonadIx {W : Set}(F : (W -> Set) -> (W -> Set)) : Set1 where
... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_335_516.asm | ljhsiun2/medusa | 9 | 167185 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x40d6, %r15
clflush (%r15)
nop
cmp $65365, %rcx
movups (%r15), %xmm0
vpextrq $1, %xmm0, %r13
cmp $56319, %r15
lea addresses_UC_ht+0x194f6, %rsi
lea addresses_A_ht+0x4fd6... |
kernel/asmfunc.asm | hamata0222/my_mikanos | 0 | 171505 | ; asmfunc.asm
;
; System V AMD64 Calling Convention
; Registers: RDI, RSI, RDX, RCX, R8, R9
bits 64
section .text
global IoOut32 ; void IoOut32(uint16_t addr, uint32_t data);
IoOut32:
mov dx, di ; dx = addr
mov eax, esi ; eax = data
out dx, eax ; special command `out` to write data into IO port a... |
cyencavx.asm | meganomic/cyenc | 2 | 246005 | <reponame>meganomic/cyenc
global encode
global decode
default rel
%ifidn __OUTPUT_FORMAT__, win64 ; Windows calling convention
%define outputarray rcx
%define inputarray rdx
%define inputsize r8
%elifidn __OUTPUT_FORMAT__, elf64 ; Linux calling convention
%define outputarray rdi
%define inputarray rsi... |
slides/OpenTheory.agda | larrytheliquid/generic-elim | 11 | 15990 | open import Data.Nat
module OpenTheory where
----------------------------------------------------------------------
data Vec (A : Set) : ℕ → Set₁ where
nil : Vec A zero
cons : (n : ℕ) (x : A) (xs : Vec A n) → Vec A (suc n)
data Vec2 : Set → ℕ → Set₁ where
nil : (A : Set) → Vec2 A zero
cons : (A : Set) (n : ℕ... |
oeis/017/A017460.asm | neoneye/loda-programs | 11 | 1141 | ; A017460: a(n) = (11*n + 5)^12.
; 244140625,281474976710656,150094635296999121,9065737908494995456,191581231380566414401,2176782336000000000000,16409682740640811134241,92420056270299898187776,418596297479370673535601,1601032218567680790102016,5350250105473711181640625,16012035393449278995173376,43716643078717303412870... |
src/dds-request_reply-requester-typed_requester_generic.adb | persan/dds-requestreply | 0 | 19692 | pragma Ada_2012;
with DDS.Request_Reply.Impl;
with DDS.DomainParticipantFactory;
with DDS.DataWriter_Impl;
with DDS.DataReader_Impl;
package body DDS.Request_Reply.Requester.Typed_Requester_Generic is
use DDS.Subscriber;
use DDS.Publisher;
-----------------------------
-- Get_Request_Data_Writer --
-----... |
text/credits_text.asm | AmateurPanda92/pokemon-rby-dx | 9 | 167602 | CreditsTextPointers:
dw CredVersion
dw CredTajiri
dw CredTaOota
dw CredMorimoto
dw CredWatanabe
dw CredMasuda
dw CredNisino
dw CredSugimori
dw CredNishida
dw CredMiyamoto
dw CredKawaguchi
dw CredIshihara
dw CredYamauchi
dw CredZinnai
dw CredHishida
dw CredSakai
dw CredYamaguchi
dw CredYamamoto
dw Cre... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_nxos/CiscoNxos_vdc.g4 | yrll/batfish-repair | 1 | 6636 | <gh_stars>1-10
parser grammar CiscoNxos_vdc;
import CiscoNxos_common;
options {
tokenVocab = CiscoNxosLexer;
}
vdc_id
:
// 1-4
uint8
;
vdc_name
:
WORD
;
s_vdc
:
VDC name = vdc_name ID id = vdc_id NEWLINE
(
vdc_allow
| vdc_limit_resource
)*
;
vdc_allow
:
ALLOW FEATURE_SET FEX NEWLINE
;
vdc_l... |
src/006/steps_4.adb | xeenta/learning-ada | 0 | 2847 | <gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
procedure Steps_4 is
task Step_By_Step is
entry Step_One;
entry Step_Two;
entry Step_Three;
entry Finish;
end Step_By_Step;
task body Step_By_Step is
Keep_Looping : Boolean := TRUE;
begin
while Keep_Looping loop
... |
ADL/Assemble/Delete/2/BHR_delete_middle.asm | MaxMorning/LinkedListVisualization | 3 | 176197 | aLine 0
gNew delPtr
gMoveNext delPtr, Root
aLine 1
sInit i, 0
sBge i, {0:D}, 10
aLine 2
gBne delPtr, null, 3
aLine 3
Exception NOT_FOUND
aLine 5
gMoveNext delPtr, delPtr
aLine 1
sInc i, 1
Jmp -9
aLine 7
gBne delPtr, null, 3
aLine 8
Exception NOT_FOUND
aLine 10
gNewVPtr delNext
gMoveNext delNext, delPtr
gNewVPtr... |
src/main/kotlin/craicoverflow89/kjson/parser/KJSON.g4 | CraicOverflow89/KJSON | 0 | 2638 | <gh_stars>0
grammar KJSON;
@header {
import craicoverflow89.kjson.*;
import java.lang.StringBuffer;
import java.util.ArrayList;
import java.util.HashMap;
}
// Parser Rules
json returns [KJSON result]
: jsonData {$result = new KJSON($jsonData.result);}
EOF
;
jsonArray returns [KJSONA... |
programs/oeis/307/A307989.asm | neoneye/loda | 22 | 8044 | ; A307989: a(n) = n - pi(2*n) + pi(n-1), where pi is the prime counting function.
; 0,0,1,2,3,4,4,6,6,6,7,8,9,11,11,11,12,14,14,16,16,16,17,18,19,20,20,21,22,23,23,25,26,26,27,27,27,29,30,30,31,32,33,35,35,36,37,39,39,40,40,40,41,42,42,43,43,44,45,47,48,50,51,51,52,52,53,55
mov $2,$0
add $2,2
mov $4,1
mov $5,$0
lpb $2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.