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 |
|---|---|---|---|---|
oeml-sdk/ada/src/model/-models.adb | Martin-Molinero/coinapi-sdk | 0 | 13365 | <gh_stars>0
-- OEML _ REST API
-- This section will provide necessary information about the `CoinAPI OEML REST API` protocol. This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a>
--
-- The version of the OpenAPI docume... |
libass/x86/rasterizer.asm | enen92/libass | 0 | 166083 | ;******************************************************************************
;* rasterizer.asm: SSE2/AVX2 tile rasterization
;******************************************************************************
;* Copyright (C) 2014 <NAME> <<EMAIL>>
;*
;* This file is part of libass.
;*
;* Permission to use, copy, modify,... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/array6.adb | best08618/asylo | 7 | 27189 | -- { dg-do run }
with Interfaces; use Interfaces;
procedure Array6 is
type buf_t is array (unsigned_32 range <>) of character;
type v_str_t (first, last : unsigned_32) is
record
buf : buf_t (first .. last) := (others => ' ');
end record;
type v_str_ptr_t is access all v_str_t;
v_str... |
CompStats_Statistics.adb | salmoni/CompStats_Statistics_Ada | 0 | 10716 | with Ada.Numerics.Elementary_Functions;
Package body CompStats_Statistics is
function Get_Count (Values: Values_Array) return Integer is
Count: Integer; -- Stores final count
begin
Count := Values'Length;
return Count;
end Get_Count;
--------------------------------------------------------------
fun... |
MSDOS/Virus.MSDOS.Unknown.pme-gen.asm | fengjixuchui/Family | 3 | 13661 | <reponame>fengjixuchui/Family
; Phantasie Mutation Engine --- DEMO
; This program will generate 50 mutation programs.
; (C) Copyright 1995 Written by Burglar. All Rights Reserved.
; Made In Taiwan.
.MODEL TINY
.CODE
ORG 100H
EXTRN PME:NEAR, PME_END:N... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_248.asm | ljhsiun2/medusa | 9 | 85810 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1b9d7, %r8
nop
dec %rbp
mov $0x6162636465666768, %r11
movq %r11, %xmm4
vmovups %ymm4, (%r8)
nop
nop
nop
nop
nop
xor %r8, %r8
lea addresses_WC_ht+0xced7, %r8
nop
nop
n... |
libsrc/stdio/ace/fputc_cons.asm | jpoikela/z88dk | 640 | 89388 | ;
; Jupiter ACE Routines
;
; Print character to the screen
;
; $Id: fputc_cons.asm,v 1.5 2016-05-15 20:15:45 dom Exp $
;
SECTION code_clib
PUBLIC fputc_cons_native
;
; Entry: char to print
;
.fputc_cons_native
ld hl,2
add hl,sp
ld a,(hl) ; Now A contains the char to be printed
IF STANDARDESCAPECHARS
c... |
msx/apps/romflash/flashloader.asm | zoggins/yellow-msx-series-for-rc2014 | 19 | 95510 |
PUBLIC _flashLoader
; extern void flashLoader();
_flashLoader:
LD DE, 0C000H
LD HL, ROM_FLASH_WRITER
LD BC, ROM_FLASH_WRITER_LENGTH
LDIR
JP 0C000H
ROM_FLASH_WRITER:
include "../bin/romflashwriter/romflashwriter.inc"
ROM_FLASH_WRITER_LENGTH EQU $-ROM_FLASH_WRITER
|
oeis/094/A094826.asm | neoneye/loda-programs | 11 | 104692 | <reponame>neoneye/loda-programs
; A094826: Number of (s(0), s(1), ..., s(2n)) such that 0 < s(i) < 9 and |s(i) - s(i-1)| = 1 for i = 1,2,....,2n, s(0) = 1, s(2n) = 3.
; Submitted by <NAME>
; 1,3,9,28,90,297,1000,3417,11799,41041,143472,503262,1769365,6230304,21960801,77461435,273351705,964918116,3406804786,12029917377,... |
examples/Example.agda | L-TChen/agda-bench | 13 | 10713 |
module Example where
open import Agda.Builtin.Nat
open import Agda.Builtin.List
open import Agda.Builtin.Equality
downFrom : Nat → List Nat
downFrom zero = []
downFrom (suc n) = n ∷ downFrom n
sum-rec : List Nat → Nat
sum-rec [] = 0
sum-rec (x ∷ xs) = x + sum-rec xs
sum-acc : Nat → List Nat → Nat
sum-acc ... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca.log_21829_1617.asm | ljhsiun2/medusa | 9 | 90559 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca.log_21829_1617.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xbcd8, %r11
nop
dec %rsi
mov $0x6162636465666768, %r9
movq %r9, %xmm0
movups %xmm0, (%r11)
... |
programs/oeis/230/A230405.asm | neoneye/loda | 22 | 174360 | ; A230405: a(n) = A000217(A230404(n+1)); the first differences of A219650.
; 1,1,3,1,1,3,1,1,3,1,1,6,1,1,3,1,1,3,1,1,3,1,1,6,1,1,3,1,1,3,1,1,3,1,1,6,1,1,3,1,1,3,1,1,3,1,1,6,1,1,3,1,1,3,1,1,3,1,1,10,1,1,3,1,1,3,1,1,3,1,1,6,1,1,3,1,1,3,1,1,3,1,1,6,1,1,3,1,1,3,1,1,3,1,1,6,1,1,3,1
seq $0,230404 ; a(n) = the largest k such... |
programs/oeis/070/A070446.asm | karttu/loda | 1 | 175162 | <reponame>karttu/loda
; A070446: a(n) = n^2 mod 24.
; 0,1,4,9,16,1,12,1,16,9,4,1,0,1,4,9,16,1,12,1,16,9,4,1,0,1,4,9,16,1,12,1,16,9,4,1,0,1,4,9,16,1,12,1,16,9,4,1,0,1,4,9,16,1,12,1,16,9,4,1,0,1,4,9,16,1,12,1,16,9,4,1,0,1,4,9,16,1,12,1,16,9,4,1,0,1,4,9,16,1,12,1,16,9,4,1,0,1,4,9,16,1,12,1,16,9,4,1,0,1,4,9,16,1,12,1,16,9,... |
Transynther/x86/_processed/NONE/_ht_/i9-9900K_12_0xa0.log_21829_603.asm | ljhsiun2/medusa | 9 | 8192 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1b787, %rsi
lea addresses_WT_ht+0xb7c3, %rdi
nop
add $57156, %rbp
mov $51, %rcx
rep movsw
nop
nop
cmp $24317, %r8
lea addresses_UC_ht+0x17953, %r9
nop
nop
nop
nop
nop
cmp $6080... |
src/spdx-licenses.adb | Fabien-Chouteau/spdx_ada | 0 | 9310 | <reponame>Fabien-Chouteau/spdx_ada
package body SPDX.Licenses is
--------------
-- Valid_Id --
--------------
function Valid_Id (Str : String) return Boolean is
begin
return (for some I in Id => Str = Img (I));
end Valid_Id;
-------------
-- From_Id --
-------------
function From... |
src/Prelude/Sum.agda | t-more/agda-prelude | 111 | 11730 |
module Prelude.Sum where
open import Agda.Primitive
open import Prelude.Empty
open import Prelude.Unit
open import Prelude.List
open import Prelude.Functor
open import Prelude.Applicative
open import Prelude.Monad
open import Prelude.Equality
open import Prelude.Decidable
open import Prelude.Product
open import Prelu... |
programs/oeis/277/A277644.asm | karttu/loda | 0 | 3140 | ; A277644: Beatty sequence for sqrt(6)/2.
; 1,2,3,4,6,7,8,9,11,12,13,14,15,17,18,19,20,22,23,24,25,26,28,29,30,31,33,34,35,36,37,39,40,41,42,44,45,46,47,48,50,51,52,53,55,56,57,58,60,61,62,63,64,66,67,68,69,71,72,73,74,75,77,78,79,80,82,83,84,85,86,88,89,90,91,93,94,95,96,97,99,100,101,102,104,105,106,107,109,110,111,1... |
4-high/gel/source/forge/gel-forge.ads | charlie5/lace | 20 | 6877 | with
gel.Applet.gui_world,
gel.Applet.gui_and_sim_world,
gel.Sprite,
gel.World,
Physics,
openGL.Primitive,
openGL.Font,
openGL.Palette;
package gel.Forge
--
-- Provides utility constructor functions for various GEL classes.
--
is
-----------
--- Applets
--
funct... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_17601_986.asm | ljhsiun2/medusa | 9 | 243344 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x8698, %rsi
lea addresses_UC_ht+0x144a8, %rdi
nop
nop
nop
nop
nop
inc %rbx
mov $120, %rcx
rep movsl
nop
nop
nop
nop
nop
inc %r12
lea addresses_D_ht+0x3398, %r8
nop
nop
add %rcx... |
src/base/properties/util-properties.ads | RREE/ada-util | 60 | 13348 | <gh_stars>10-100
-----------------------------------------------------------------------
-- util-properties -- Generic name/value property management
-- Copyright (C) 2001 - 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file... |
engine/events/hidden_objects/school_blackboard.asm | opiter09/ASM-Machina | 1 | 104722 | <gh_stars>1-10
PrintBlackboardLinkCableText:
call EnableAutoTextBoxDrawing
ld a, $1
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
ld a, [wHiddenObjectFunctionArgument]
call PrintPredefTextID
ret
LinkCableHelp::
text_asm
call SaveScreenTilesToBuffer1
ld hl, LinkCableHelpText1
call PrintText
xor a
ld [... |
ADL/drivers/stm32g474/stm32-rng.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 14049 | <reponame>JCGobbi/Nucleo-STM32G474RE<gh_stars>0
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- ... |
ECE263/Labs/Lab2/L2main.asm | Reiuiji/UmassdPortfolio | 3 | 174142 | <filename>ECE263/Labs/Lab2/L2main.asm<gh_stars>1-10
;Testing Bit Banging w/Logic Analyzer
;<NAME>, <NAME>, <NAME>, Group 11, Lab 2, Febuary 6th, 2013
; export symbols
XDEF Entry, _Startup ;export 'Entry' symbol
ABSENTRY Entry ;for absolute assembly: mark this as entry point
;definitions
RAMStart EQU $... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_710_400.asm | ljhsiun2/medusa | 9 | 84777 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1dbfc, %rax
nop
and $34190, %r8
movups (%rax), %xmm7
vpextrq $1, %xmm7, %rdi
nop
nop
nop
and $51112, %rcx
lea addresses_D_ht+0xf5e3, %r12
nop
nop
xor $55254, %r15
mov $0x... |
win-exec-calc-shellcode.asm | amaranth0203/win-exec-calc-shellcode | 0 | 164789 | ; Copyright (c) 2009-2014, Berend-Jan "SkyLined" Wever <<EMAIL>>
; and <NAME> <<EMAIL>>
; Project homepage: http://code.google.com/p/win-exec-calc-shellcode/
; All rights reserved. See COPYRIGHT.txt for details.
; null-free x86/x64 branching code for calc.exe executing shellcode.
; Works in any x86 or x64 applic... |
programs/oeis/014/A014616.asm | karttu/loda | 1 | 85519 | ; A014616: a(n) = solution to the postage stamp problem with 2 denominations and n stamps.
; 2,4,7,10,14,18,23,28,34,40,47,54,62,70,79,88,98,108,119,130,142,154,167,180,194,208,223,238,254,270,287,304,322,340,359,378,398,418,439,460,482,504,527,550,574,598,623,648,674,700,727,754,782,810,839,868,898,928,959,990,1022,10... |
src/Data/Word8/FromNat.agda | semenov-vladyslav/bytes-agda | 0 | 16865 | {-# OPTIONS --without-K #-}
module Data.Word8.FromNat where
open import Data.Word8.Primitive
-- open import Agda.Builtin.Bool using (Bool; true)
-- open import Agda.Builtin.Nat using (Nat; _<_)
open import Agda.Builtin.Unit using (⊤)
open import Agda.Builtin.FromNat using (Number)
{-
instance
NumberNat : Number N... |
Background/metatiles.asm | nesdoug/SNES_13 | 11 | 6798 | .segment "CODE"
; typed by hand
; 8 bytes per metatile = 4 tiles
; 2 bytes per tile, tile # then attributes (palette)
Metatiles:
;tile 0
.byte $02, TILE_PAL_0
.byte $03, TILE_PAL_0
.byte $12, TILE_PAL_0
.byte $13, TILE_PAL_0
;tile 1
.byte $04, TILE_PAL_1
.byte $05, TILE_PAL_1
.byte $14, TILE_PAL_1
.byte $15, TILE_PAL_... |
drools-example/src/main/resources/antlr4/AggregateParser.g4 | noogel/xyzPlayJava | 0 | 4777 | parser grammar AggregateParser;
options {
// 聚类的语法分析器也可以使用SearchLexer
tokenVocab = SearchLexer;
}
expr:
// 多个聚类条件用分号隔开
aggClause (SEMI aggClause)*
;
// aggClause表示代表以下聚类的任意一种
aggClause:
cardinalityAggClause|termsAggClause|termsAfterAggClause|geoBoundingBoxAggClause
;
// 去重值计数 -> (country)
cardinal... |
SysCore/Kernel/Debug/panic.asm | pmache/heinanos | 0 | 105483 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 14.00.50727.42
TITLE c:\Users\Heinan\Desktop\Demo8\Demo_8\SysCore\Kernel\panic.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG2620 DB 'HeinanOS has encountered a problem and has been shut dow... |
LaolxLexer.g4 | kpfalzer/laolx | 0 | 6384 | <filename>LaolxLexer.g4<gh_stars>0
lexer grammar LaolxLexer;
channels { SemiNlChan, CommentChan}
// Lexer definition
//
AS : 'as' ;
BOOL : 'bool' ;
BREAK : 'break' ;
CASE : 'case' ;
CATCH : 'catch' ;
CHAR : 'char' ;
CLASS : 'class' ;
CONST : 'const' ;
DEF : 'def' ;
DEFAULT : 'defaul... |
courses/fundamentals_of_ada/labs/solar_system/110_private_types/src/solar_system-graphics.ads | AdaCore/training_material | 15 | 21647 | package Solar_System.Graphics is
procedure Draw_All (Bodies : Bodies_Array_T; Canvas : Canvas_ID);
procedure Draw_Body (Object : Body_T; Canvas : Canvas_ID);
end Solar_System.Graphics;
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/biased_uc.adb | best08618/asylo | 7 | 18317 | <gh_stars>1-10
-- { dg-do run }
-- { dg-options "-gnatws" }
with Unchecked_Conversion;
procedure biased_uc is
begin
-- Case (f) target type is biased, source is unbiased
declare
type a is new integer range 0 .. 255;
for a'size use 8;
type b is new integer range 200 .. 455;
for... |
programs/oeis/017/A017810.asm | neoneye/loda | 22 | 20018 | <filename>programs/oeis/017/A017810.asm<gh_stars>10-100
; A017810: Binomial coefficients C(94,n).
; 1,94,4371,134044,3049501,54891018,814216767,10235867928,111315063717,1063677275518,9041256841903,69042324974532,477542747740513,3012192716517082,17427686431277403,92947660966812816,458929076023638279,2105674584108457986,... |
src/PJ/picdrive/mov/memwstuf.asm | AnimatorPro/Animator-Pro | 119 | 101976 |
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
;pj_stuff_words(USHORT data, USHORT *buf, unsigned count)
;careful about passing a zero count. It will be interpreted as 4 Gigawords.
public pj_stuff_words
pj_stuff_words proc near
push edi
push ecx
mov edi,[esp+16] ;buf
mov... |
source/amf/uml/amf-uml-generalization_sets.ads | svn2github/matreshka | 24 | 28441 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Task/Pointers-and-references/Ada/pointers-and-references-7.ada | LaudateCorpus1/RosettaCodeData | 1 | 2840 | <gh_stars>1-10
type Container is array (Positive range <>) of Element;
for I in Container'Range loop
declare
Item : Element renames Container (I);
begin
Do_Something(Item); -- Here Item is a reference to Container (I)
end;
end loop;
|
Commands/Miscellaneous Commands suite/system info/boot volume of (get system info).applescript | looking-for-a-job/applescript-examples | 1 | 1609 | <filename>Commands/Miscellaneous Commands suite/system info/boot volume of (get system info).applescript<gh_stars>1-10
#!/usr/bin/osascript
boot volume of (get system info) |
Driver/Font/Bitstream/Main/mainEscape.asm | steakknife/pcgeos | 504 | 11114 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1993 -- All Rights Reserved
PROJECT: GEOS Bitstream Font Driver
MODULE: Main
FILE: mainEscape.asm
AUTHOR: <NAME>
FUNCTIONS:
Scope Name Description
----- ---- -----------
EXT BitstremFontEscape Handle... |
oeis/254/A254641.asm | neoneye/loda-programs | 11 | 1889 | <filename>oeis/254/A254641.asm
; A254641: Third partial sums of seventh powers (A001015).
; 1,131,2577,23723,141694,636426,2331462,7323954,20396871,51550213,120271151,262391493,540659756,1060489444,1992739932,3605846676,6310148349,10717864983,17722868317,28605158351,45165823626,69899222030,106210179010,158685165990,233... |
test/Succeed/UnquoteExtLam.agda | shlevy/agda | 0 | 15223 | <filename>test/Succeed/UnquoteExtLam.agda
open import Common.Reflection
open import Common.Prelude
open import Common.Equality
open import Agda.Builtin.Sigma
pattern `Nat = def (quote Nat) []
pattern _`→_ a b = pi (vArg a) (abs "_" b)
pattern `Set = sort (lit 0)
pattern `⊥ = def (quote ⊥) []
pattern `zero ... |
alloy4fun_models/trainstlt/models/8/CFZoBTevEfQttXBnn.als | Kaixi26/org.alloytools.alloy | 0 | 1187 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idCFZoBTevEfQttXBnn_prop9 {
(all t:Train | no t.pos implies eventually (some (t.pos.prox & Entry ) and some t.pos and t.pos in Entry) )
}
pred __repair { idCFZoBTevEfQttXBnn_prop9 }
check __repair { idCFZoBTevEfQttXBnn_prop9 <=> prop9o } |
source/amf/mof/cmof/amf-internals-factories-cmof_module_factory.adb | svn2github/matreshka | 24 | 19478 | <filename>source/amf/mof/cmof/amf-internals-factories-cmof_module_factory.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
fracGC/Space.agda | JacquesCarette/pi-dual | 14 | 9550 | <filename>fracGC/Space.agda
{-# OPTIONS --without-K --allow-unsolved-metas #-}
module Space where
open import Data.Empty using (⊥; ⊥-elim)
open import Data.Nat using (ℕ; suc)
renaming (_+_ to _ℕ+_; _*_ to _ℕ*_; _⊔_ to _ℕ⊔_)
open import Data.Nat.Properties
open import Data.Integer as ℤ using (ℤ; +_; -[1+_]; ∣_∣; _+_... |
Scripts Pack Source Items/Scripts Pack/Dock/Always Allow Emptying Trash.applescript | Phorofor/ScriptsPack.macOS | 1 | 4425 | <filename>Scripts Pack Source Items/Scripts Pack/Dock/Always Allow Emptying Trash.applescript
# Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
-- Always allow emptying of the Trash regardless if it has files or not.
-- Trash Always Full
-- Version compatible: --
... |
source/crypto.adb | ytomino/openssl-ada | 1 | 12756 | <reponame>ytomino/openssl-ada
package body Crypto is
use type Ada.Streams.Stream_Element;
procedure Value (
Image : String;
Result : out Ada.Streams.Stream_Element_Array)
is
function Digit (C : Character) return Ada.Streams.Stream_Element is
begin
if C in '0' .. '9' then
return Character'Pos (C) - C... |
programs/oeis/165/A165254.asm | neoneye/loda | 22 | 26436 | ; A165254: a(n) = 9 + n^17.
; 9,10,131081,129140172,17179869193,762939453134,16926659444745,232630513987216,2251799813685257,16677181699666578,100000000000000009,505447028499293780,2218611106740437001,8650415919381337942,30491346729331195913,98526125335693359384,295147905179352825865,827240261886336764186,2185911559738... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2.log_26_1023.asm | ljhsiun2/medusa | 9 | 86064 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x112b0, %rsi
lea addresses_WC_ht+0x17a30, %rdi
clflush (%rdi)
nop
nop
and %r14, %r14
mov $111, %rcx
rep movsq
nop
nop
nop
sub $38868, %r11
lea addresses_WT_ht+0x1a2b0, %r... |
src/compiling/ANTLR/grammar/Attributes.g4 | jecassis/VSCode-SystemVerilog | 75 | 4152 | <gh_stars>10-100
grammar Attributes;
import Identifiers;
attribute_instance : '(*' attr_spec ( ',' attr_spec )* '*)' ;
attr_spec : attr_name ( '=' constant_expression )? ;
attr_name : identifier ;
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/misaligned_param_pkg.ads | best08618/asylo | 7 | 29540 | package Misaligned_Param_Pkg is
pragma Elaborate_Body (Misaligned_Param_Pkg);
end Misaligned_Param_Pkg;
|
test/asset/agda-stdlib-1.0/Codata/Musical/Notation.agda | omega12345/agda-mode | 5 | 10184 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Basic types related to coinduction
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Codata.Musical.Notation where
open import Agda.Builtin.Coin... |
src/index.agda | JLimperg/msc-thesis-code | 5 | 16154 | <filename>src/index.agda
-- # A Reflexive Graph Model of Sized Types
-- This is the formalisation of my M.Sc. thesis, available at
-- https://limperg.de/paper/msc-thesis/
-- I define λST, a simply typed lambda calculus extended with sized types. I
-- then give a reflexive graph model of λST which incorporates a no... |
libsrc/target/z9001/stdio/generic_console_MODE1.asm | dikdom/z88dk | 1 | 243274 |
PUBLIC cls_MODE1
PUBLIC printc_MODE1
PUBLIC vpeek_MODE1
PUBLIC scrollup_MODE1
EXTERN __krt_cls
EXTERN __krt_printc
EXTERN __krt_vpeek
EXTERN __krt_scrollup
defc cls_MODE1 = __krt_cls
defc printc_MODE1 = __krt_printc
defc vpeek_MODE1 = __krt_vpeek
defc... |
Cubical/Codata/Conat/Bounded.agda | thomas-lamiaux/cubical | 1 | 14530 | <filename>Cubical/Codata/Conat/Bounded.agda
{-# OPTIONS --cubical --no-import-sorts --safe --guardedness #-}
module Cubical.Codata.Conat.Bounded where
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Function
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open ... |
tools-src/gnu/gcc/gcc/ada/par-sync.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 11312 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
bin/themeOpenTerminals.scpt | Flare576/themes | 0 | 4441 | <reponame>Flare576/themes
# yoinnked from https://superuser.com/questions/187591/os-x-terminal-command-to-change-color-themes
on run argv
tell application "Terminal"
repeat with w from 1 to count windows
repeat with t from 1 to count tabs of window w
set current settings of tab t... |
oeis/173/A173098.asm | neoneye/loda-programs | 11 | 93189 | ; A173098: a(1)=1, a(2)=2, a(n)=2*a(n-2)*a(n-1)-a(n-1).
; Submitted by <NAME>(s2)
; 1,2,2,6,18,198,6930,2737350,37936933650,207693292716721350,15758493330480878908260133650,6545866736124132578837836330405530973356721350
mov $1,8
mov $2,8
lpb $0
sub $0,1
mod $0,14
mov $3,$2
mov $2,$1
mul $1,$3
div $1,4
su... |
acsl2r/grammar/Acsl.g4 | acsl2r/acsl2r | 1 | 3445 | grammar Acsl;
acsl
: comment+ PROGRAM (program)* END comment+ #HeadedProgramWithComments
| comment+ PROGRAM (program)* END #HeadedProgramWithoutComments
| PROGRAM (program)* END comment+ #Progr... |
test/Succeed/Issue1470.agda | shlevy/agda | 3 | 4315 | -- Andreas, 2015-03-26
-- Andrea discovered that unfold for Lists is typable with sized types
-- (and termination checks).
-- Dually, fold for Streams should work. Therefore, the restriction
-- of coinductive records to recursive records should be lifted.
{-# OPTIONS --copatterns #-}
open import Common.Size
-- Str... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_142_2668.asm | ljhsiun2/medusa | 9 | 101207 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x8fcf, %rbp
nop
nop
nop
nop
nop
lfence
mov $0x6162636465666768, %r11
movq %r11, (%rbp)
nop
nop
nop
nop
cmp $32242, %r13
lea addresses_normal_ht+0x1afef, %r15... |
chapter2/call_hook.asm | SoylentNews/retromalware | 2 | 97202 | <reponame>SoylentNews/retromalware
; Call hook - calls int 66 and exits
; For use with the TSR example in this directory
;
; This code is in the public domain via the CC0 public domain decleration
; See LICENSE in the top level directory for more information
;
; Compile with NASM to COM: i.e. nasm call_hook -o callhook... |
src/Lens/Non-dependent/Higher.agda | nad/dependent-lenses | 3 | 12138 | ------------------------------------------------------------------------
-- Higher lenses
------------------------------------------------------------------------
{-# OPTIONS --cubical #-}
import Equality.Path as P
module Lens.Non-dependent.Higher
{e⁺} (eq : ∀ {a p} → P.Equality-with-paths a p e⁺) where
open P.De... |
programs/oeis/261/A261681.asm | neoneye/loda | 22 | 81250 | ; A261681: a(n) = 2^n + binomial(n, floor(n/2)) - 1.
; 1,2,5,10,21,41,83,162,325,637,1275,2509,5019,9907,19815,39202,78405,155381,310763,616665,1233331,2449867,4899735,9740685,19481371,38754731,77509463,154276027,308552055,614429671,1228859343,2448023842,4896047685,9756737701
mov $1,2
pow $1,$0
mov $2,$0
div $0,2
bin ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_41_1455.asm | ljhsiun2/medusa | 9 | 3082 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xf23, %rsi
lea addresses_A_ht+0x1c023, %rdi
nop
nop
nop
add $52289, %r13
mov $88, %rcx
rep movsw
nop
cmp %r13, %r13
lea addresses_D_ht+0x19f23, %rbp
clflush (%rbp)
nop
nop
add %rbx, %rb... |
examples/mikeos/kernel/user.asm | cashlisa/mos | 302 | 2670 | global enter_usermode
enter_usermode:
cli
mov ax, 0x23 ; user mode data selector is 0x20 (GDT entry 3). Also sets RPL to 3
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
push 0x23 ; SS, notice it uses same selector as above
push esp ; ESP
pushfd ; EFLAGS
pop eax
or eax, 0x200 ; enable IF in EFLAGS
push ... |
src/aco-protocols-synchronization.ads | jonashaggstrom/ada-canopen | 6 | 25485 | <filename>src/aco-protocols-synchronization.ads
with Ada.Real_Time;
with ACO.CANopen;
with ACO.OD;
private with Interfaces;
private with ACO.Log;
private with ACO.Utils.Generic_Alarms;
private with ACO.Events;
package ACO.Protocols.Synchronization is
SYNC_CAN_Id : constant ACO.Messages.Id_Type := 16#80#;
type... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_202_79.asm | ljhsiun2/medusa | 9 | 81986 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x9c99, %r10
nop
nop
nop
nop
dec %rax
vmovups (%r10), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $1, %xmm7, %r15
nop
nop
nop
nop
sub $47310, %rax
lea addresses_WT_ht... |
src/org/netbeans/modules/frege/editor/Frege.g4 | rajmahendra/netbeans-frege-support | 4 | 1093 | <gh_stars>1-10
/**
* Frege grammar for ANTLR v4
*
* Frege is a pure functional programming language for the JVM in the spirit of Haskell.
*
*/
grammar Frege;
NEWLINE : '\r'? '\n' ;
CONSTRUCTOR_ID : UPPER_CASE ( LETTER
| DIGIT
| '\'' )* ;
VARIABLE_ID : LOWER_CASE ( LETTER
| DIG... |
arch/ARM/STM32/driversWL5x/stm32-subghzphy.ads | morbos/Ada_Drivers_Library | 2 | 26400 | with HAL; use HAL;
with HAL.SPI;
with STM32.Device; use STM32.Device;
with STM32.SPI; use STM32.SPI;
package STM32.SubGhzPhy is
SubGhzPhyPort : constant access SPI_Port := SPI_3'Access;
procedure SubGhzPhy_Init;
end STM32.SubGhzPhy;
|
3-mid/opengl/applet/demo/culler/many_boxes/launch_many_boxes_demo.adb | charlie5/lace | 20 | 9891 | <reponame>charlie5/lace<filename>3-mid/opengl/applet/demo/culler/many_boxes/launch_many_boxes_demo.adb<gh_stars>10-100
with
openGL.Palette,
openGL.Model.Box.lit_colored_textured,
openGL.Visual,
openGL.Demo;
procedure launch_many_Boxes_Demo
--
-- Exercise the culler with many boxes.
--
is
use o... |
src/notcurses-context.ads | JeremyGrosser/notcursesada | 5 | 16004 | --
-- Copyright 2021 (C) <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: Apache-2.0
--
package Notcurses.Context is
-- These procedures modify the default context
procedure Initialize;
procedure Stop;
procedure Render
(Context : Notcurses_Context);
procedure Enable_Cursor
(Context : Not... |
qxl/qxl.flow.asm | olifink/smsqe | 0 | 173385 | ; QXL_FLOW.ASM Handles the QXL-PC flow control message
; 2006.10.01 1.01 use 32 bit transfer (BC)
ASSUME ds:DGROUP
ASSUME es:DGROUP
; SI updated
; DI smashed
qxl_flow:
; push si
; mov di, OFFSET flowqx_mess
; mov si, OFFSET comm_count
; call deb_cnt_buff
; pop si
mov di, OFFSET flow... |
Task/Copy-a-string/Ada/copy-a-string-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 22747 | Src : String := "Rosetta Stone";
Dest : String := Src(1..7); -- Assigns "Rosetta" to Dest
Dest2 : String := Src(9..13); -- Assigns "Stone" to Dest2
|
source/core/web-core-connectables-slots_0-slots_1-slots_2-generic_slots.adb | godunko/adawebui | 2 | 19769 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
arch/ARM/STM32/svd/stm32wb55x/stm32_svd-usart1.ads | morbos/Ada_Drivers_Library | 2 | 1647 | -- This spec has been automatically generated from STM32WB55x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.USART1 is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR1_DEDT_Field is ... |
test/p2.asm | slcz/hummingbird | 0 | 241321 | <filename>test/p2.asm
#include "hi.asm"
// Test basic instructions, "nop" dumps processor state
lh H(0x5a)
addi L(0x5a)
neg
// a = a6
nop
sign
jc 1f
li(0)
2: jmp 2b
1:
// a = 1
li(1)
nop
li (0x5a)
sign
jc 1f
// a = 2
li(2)
nop
jmp 0f
1:
li(0)
1: jmp 1b
0:
li (0x5a)
shl
// a = b4
nop
shl
// a = 68
nop
shl
// a = d0
nop... |
Transynther/x86/_processed/AVXALIGN/_st_zr_4k_sm_/i7-8650U_0xd2_notsx.log_187_520.asm | ljhsiun2/medusa | 9 | 245409 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xe99a, %rbx
nop
nop
nop
nop
nop
dec %rdi
mov $0x6162636465666768, %rdx
movq %rdx, (%rbx)
nop
nop
nop
nop
nop
xor %r13, %r13
lea address... |
alloy4fun_models/trashltl/models/9/8zbn9sKC6iHz433iu.als | Kaixi26/org.alloytools.alloy | 0 | 3911 | open main
pred id8zbn9sKC6iHz433iu_prop10 {
always all f : Protected | always f in Protected'
}
pred __repair { id8zbn9sKC6iHz433iu_prop10 }
check __repair { id8zbn9sKC6iHz433iu_prop10 <=> prop10o } |
code/c/04-machine/cpu0/code/ch03/add.asm | MarybethGasman/sp | 252 | 24018 | .386
.model flat
.code
main PROC
mov eax, 1
add eax, 4
sub eax, 2
main ENDP
END main |
oeis/066/A066221.asm | neoneye/loda-programs | 11 | 162683 | ; A066221: Bisection of A001189.
; Submitted by <NAME>
; 0,3,25,231,2619,35695,568503,10349535,211799311,4809701439,119952692895,3257843882623,95680443760575,3020676745975551,101990226254706559,3666624057550245375,139813029266338603263,5635330985337965904895,239366326117390607268351,10685579912451515567073279,500105497... |
Cubical/ZCohomology/CohomologyRings/S0.agda | thomas-lamiaux/cubical | 0 | 16377 | <filename>Cubical/ZCohomology/CohomologyRings/S0.agda
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.ZCohomology.CohomologyRings.S0 where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.Bool
open import Cubical.Data.Unit
open import... |
alloy4fun_models/trashltl/models/5/TrcaDcuFH8bPwdicu.als | Kaixi26/org.alloytools.alloy | 0 | 3584 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idTrcaDcuFH8bPwdicu_prop6 {
all f : File | always (f in Trash implies always f in Trash)
}
pred __repair { idTrcaDcuFH8bPwdicu_prop6 }
check __repair { idTrcaDcuFH8bPwdicu_prop6 <=> prop6o } |
dv3/qxl/hd/mformat.asm | olifink/smsqe | 0 | 84348 | <filename>dv3/qxl/hd/mformat.asm
; DV3 QXL HD Disk Format 1993 <NAME>
;
; 2020-04-07 1.01 Changed for new ddf_mname definition (length word) (MK)
section dv3
xdef hd_mformat
xref hd_hold
xref hd_release
xref hd_fchk
xref dv3_slen
xref qxl_mess_add
xref gu_achp0
xref gu_rchp
xref cv_decil
incl... |
libsrc/_DEVELOPMENT/arch/sms/globals/z80/_GLOBAL_SMS_VRAM_SPRITE_PATTERN_BASE_ADDRESS.asm | jpoikela/z88dk | 640 | 28290 | <filename>libsrc/_DEVELOPMENT/arch/sms/globals/z80/_GLOBAL_SMS_VRAM_SPRITE_PATTERN_BASE_ADDRESS.asm
INCLUDE "config_private.inc"
SECTION data_arch
PUBLIC _GLOBAL_SMS_VRAM_SPRITE_PATTERN_BASE_ADDRESS
_GLOBAL_SMS_VRAM_SPRITE_PATTERN_BASE_ADDRESS:
defw __SMS_VRAM_SPRITE_PATTERN_BASE_ADDRESS
|
base/common/integer.asm | zbyti/Mad-Pascal | 7 | 10988 |
/*
mulINTEGER
divmulINT
*/
.proc mulINTEGER
jsr imulCARD
jmp movaBX_EAX
.endp
.proc divmulINT
REAL ldy <divREAL
lda >divREAL
bne skp
MOD mva #{jsr} _mod
lda :STACKORIGIN+STACKWIDTH*3,x ; divisor sign
spl
jsr negCARD
DIV ldy <idivCARD
lda >idivCARD
skp sty addr
sta ad... |
source/asis/spec/ada-characters-conversions.ads | faelys/gela-asis | 4 | 9986 | ------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
src/portscan-buildcycle.ads | kraileth/ravenadm | 18 | 17542 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Display;
with Port_Specification;
private with Ada.Calendar;
package PortScan.Buildcycle is
package PSP renames Port_Specification;
cycle_cmd_error : exception;
procedure initialize (test_mode : B... |
sh.asm | thr0m3l/easy-xv6 | 0 | 8204 | <filename>sh.asm
_sh: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
if (buf[0] == 0) // EOF
return -1;
return 0;
}
int main(void) {
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc push ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_182.asm | ljhsiun2/medusa | 9 | 19507 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rax
push %rcx
push %rdx
lea addresses_normal_ht+0x1113d, %rdx
nop
nop
nop
nop
sub $62267, %r14
movups (%rdx), %xmm6
vpextrq $0, %xmm6, %rax
nop
nop
nop
nop
nop
and $65025, %r10
lea addresses_D_ht+0x1587d, %r8
nop
nop
nop
xor %rdx, %rdx
vmov... |
source/amf/mof/cmof/amf-cmof-namespaces-collections.ads | svn2github/matreshka | 24 | 18091 | <filename>source/amf/mof/cmof/amf-cmof-namespaces-collections.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
esame_20210702/multiplo/conta_multipli.asm | samdsk/lab_arch2 | 0 | 164403 | .text
.globl conta_multipli
conta_multipli:
move $t0 $fp
addi $fp $sp -4
sw $t0 0($fp)
sw $sp -4($fp)
sw $ra -8($fp)
sw $s0 -12($fp)
add $sp $fp -12
move $s1 $a0
move $s2 $a1
move $t2 $a2 # N
li $s0 0
#ultima pos del array
addi $a2 $a2 -1
mul $t3 $a2 4 #4x5
add $s1 $s1 $t3
add $s2 $s2 $t3
loop: bl... |
util.asm | maikmerten/tinyload | 5 | 161850 | <filename>util.asm<gh_stars>1-10
.proc util_clear_arg1
lda #0
sta ARG1
sta ARG1+1
sta ARG1+2
sta ARG1+3
rts
.endproc
|
Task/Permutations/Ada/permutations-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 4007 | package body Generic_Perm is
procedure Set_To_First(P: out Permutation; Is_Last: out Boolean) is
begin
for I in P'Range loop
P (I) := I;
end loop;
Is_Last := P'Length = 1;
-- if P has a single element, the fist permutation is the last one
end Set_To_First;
procedure Go_To_Next(P... |
oeis/001/A001748.asm | neoneye/loda-programs | 11 | 240407 | ; A001748: 3 * primes.
; Submitted by <NAME>(s3)
; 6,9,15,21,33,39,51,57,69,87,93,111,123,129,141,159,177,183,201,213,219,237,249,267,291,303,309,321,327,339,381,393,411,417,447,453,471,489,501,519,537,543,573,579,591,597,633,669,681,687,699,717,723,753,771,789,807,813,831,843,849,879,921,933,939,951,993,1011,1041,1047... |
test/fail/IrrelevantRecordField.agda | asr/agda-kanso | 1 | 13760 | <filename>test/fail/IrrelevantRecordField.agda
module IrrelevantRecordField where
import Common.Irrelevance
record R (A : Set) : Set where
constructor inn
field
.out : A
proj : {A : Set} -> R A -> A
proj (inn a) = a
-- needs to fail, since a is irrelevant under inn |
3-mid/impact/source/3d/impact-d3-object.adb | charlie5/lace | 20 | 2731 | with impact.d3.Transform;
package body impact.d3.Object
is
procedure define (Self : in out Item)
is
use impact.d3.Transform;
begin
Self.m_anisotropicFriction := (1.0, 1.0, 1.0);
Self.m_hasAnisotropicFriction := False;
Self.m_contactProcessingThreshold := math.Real'Las... |
programs/oeis/128/A128093.asm | neoneye/loda | 22 | 23255 | <filename>programs/oeis/128/A128093.asm
; A128093: a(n) = smallest multiple of n which is >= 2^n.
; 2,4,9,16,35,66,133,256,513,1030,2057,4104,8203,16394,32775,65536,131087,262152,524305,1048580,2097165,4194322,8388629,16777224,33554450,67108886,134217729,268435468,536870939,1073741850,2147483677,4294967296,8589934617,1... |
icalendar/ICalendar.g4 | ChristianWulf/grammars-v4 | 28 | 6191 | <reponame>ChristianWulf/grammars-v4<gh_stars>10-100
/*
* The MIT License (MIT)
*
* Copyright (c) 2013-2014 by <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
* restr... |
libsrc/math/z88math/dadd.asm | grancier/z180 | 0 | 83365 | ;
; Z88dk Z88 Maths Library
;
;
; $Id: dadd.asm,v 1.4 2016/06/22 19:55:06 dom Exp $
SECTION code_fp
PUBLIC dadd
EXTERN fsetup
EXTERN stkequ
INCLUDE "fpp.def"
.dadd
call fsetup
fpp(FP_ADD)
jp stkequ
|
programs/oeis/095/A095915.asm | neoneye/loda | 22 | 95532 | <reponame>neoneye/loda<filename>programs/oeis/095/A095915.asm<gh_stars>10-100
; A095915: Each number is twice times the product of the digits of the previous number.
; 1,2,4,8,16,12,4,8,16,12,4,8,16,12,4,8,16,12,4,8,16,12,4,8,16,12,4,8,16,12,4,8,16,12,4,8,16,12,4,8,16,12,4,8,16,12,4,8,16,12,4,8,16,12,4,8,16,12,4,8,16,1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.