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 |
|---|---|---|---|---|
llvm-gcc-4.2-2.9/gcc/ada/switch.adb | vidkidz/crossbridge | 1 | 23884 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
src/presets/prkd_data.asm | tewtal/sm_practice_hack | 15 | 88693 | <filename>src/presets/prkd_data.asm<gh_stars>10-100
preset_prkd_crateria_ship:
dw #$0000
dl $7E078B : db $02 : dw $0000 ; Elevator Index
dl $7E078D : db $02 : dw $88FE ; DDB
dl $7E078F : db $02 : dw $0000 ; DoorOut Index
dl $7E079B : db $02 : dw $91F8 ; MDB
dl $7E079F : db $02 : dw $0000... |
maps/TVStation1F.asm | AtmaBuster/pokecrystal16-493-plus | 1 | 169244 | object_const_def ; object_event constants
TVStation1F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TVStation1F_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
warp_event 6, 9, JUBILIFE_CITY, 8
warp_event 7, 9, JUBILIFE_CITY, 8
warp_event 10, 0, TV_STATION_2F, 2
warp_event 13, 0, TV_STATION_ELEV... |
Univalence/EquivEquiv.agda | JacquesCarette/pi-dual | 14 | 13108 | <filename>Univalence/EquivEquiv.agda
{-# OPTIONS --without-K #-}
module EquivEquiv where
open import Level using (Level; _⊔_)
open import Data.Product using (_,_; proj₁; proj₂)
open import Data.Sum using (inj₁; inj₂)
open import Relation.Binary using (Setoid)
import Relation.Binary.PropositionalEquality as P
using... |
test/Succeed/Issue1136.agda | shlevy/agda | 3 | 7741 | <filename>test/Succeed/Issue1136.agda
-- Andreas, 2014-05-20 Triggered by <NAME> & NAD
{-# OPTIONS --copatterns #-}
-- {-# OPTIONS -v tc.conv.coerce:10 #-}
open import Common.Size
-- Andreas, 2015-03-16: currently forbidden
-- Size≤ : Size → SizeUniv
-- Size≤ i = Size< ↑ i
postulate
Dom : Size → Set
mapDom : ... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_881_1196.asm | ljhsiun2/medusa | 9 | 246127 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x14cde, %rsi
lea addresses_A_ht+0x9f6e, %rdi
nop
nop
nop
nop
nop
sub $44551, %r14
mov $11, %rcx
rep movsb
nop
nop
nop
xor %rcx, %rcx
lea addresses_A_ht+0x13cbe, %r14
nop
nop
n... |
programs/oeis/278/A278129.asm | karttu/loda | 1 | 17720 | ; A278129: a(n) = 348*2^n - 188.
; 160,508,1204,2596,5380,10948,22084,44356,88900,177988,356164,712516,1425220,2850628,5701444,11403076,22806340,45612868,91225924,182452036,364904260,729808708,1459617604,2919235396,5838470980,11676942148,23353884484
mov $1,2
pow $1,$0
sub $1,1
mul $1,348
add $1,160
|
tetris_os/boot/pre32_functions/print_cstring.asm | vladcc/Tetris-OS | 20 | 91941 | <gh_stars>10-100
; prints a zero terminated string
[bits 16] ; force 16 bit code for real mode
print_cstring:
; ax - string address
; save registers
push ax
push bx
mov bx, ax ; move address in bx
mov ax, [bx] ; load character in ax
.loop:
call print_char ; print character
inc bx ; address of next charac... |
docs/manusscripts/keystrokes/___NON_SPECIAL_CHAR___.scpt | ajthinking/PHPFileManipulatorMedia | 0 | 448 | <reponame>ajthinking/PHPFileManipulatorMedia<filename>docs/manusscripts/keystrokes/___NON_SPECIAL_CHAR___.scpt
on run argv
tell application "System Events"
set textToType to item 1 of argv
keystroke textToType
end tell
end run |
src/fot/PA/Axiomatic/Standard/Base/Consistency/Axioms.agda | asr/fotc | 11 | 1289 | ------------------------------------------------------------------------------
-- Test the consistency of PA.Axiomatic.Standard.Base
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-univ... |
oeis/192/A192424.asm | neoneye/loda-programs | 11 | 179464 | <gh_stars>10-100
; A192424: (A192423)/2.
; Submitted by <NAME>
; 1,0,2,1,8,10,39,70,208,439,1162,2640,6641,15600,38362,91481,222688,534650,1295559,3119990,7544888,18194639,43958642,106072320,256167361,618303360,1492941842,3603915601,8701212248,21005629450
mov $2,1
lpb $0
sub $0,1
add $1,$3
sub $4,$5
add $4,$2
... |
oeis/127/A127673.asm | neoneye/loda-programs | 11 | 99948 | <reponame>neoneye/loda-programs<filename>oeis/127/A127673.asm<gh_stars>10-100
; A127673: One half of even powers of 2*x in terms of Chebyshev's T-polynomials.
; Submitted by <NAME>
; 1,1,1,1,4,3,1,6,15,10,1,8,28,56,35,1,10,45,120,210,126,1,12,66,220,495,792,462,1,14,91,364,1001,2002,3003,1716,1,16,120,560,1820,4368,800... |
tagql/src/main/antlr4/nl/knaw/huc/di/tag/tagql/grammar/TAGQL.g4 | HuygensING/alexandria-lmnl | 4 | 2750 | grammar TAGQL;
query
: statement* EOF
;
statement
: selectStmt '\n'?
;
selectStmt
: SELECT selectVariable FROM source whereClause?
;
selectVariable
: base (DOT part)?
| part
;
whereClause
: WHERE expr
;
expr
// : literalValue # literalExpression
: extendedIde... |
Tools/List.agda | loic-p/logrel-mltt | 0 | 11481 | <reponame>loic-p/logrel-mltt
{-# OPTIONS --without-K --safe #-}
module Tools.List where
infixr 30 _∷_
data List (A : Set) : Set where
[] : List A
_∷_ : A → List A → List A
|
source/league/ucd/matreshka-internals-unicode-ucd-core_0021.ads | svn2github/matreshka | 24 | 25067 | <filename>source/league/ucd/matreshka-internals-unicode-ucd-core_0021.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
programs/oeis/140/A140427.asm | neoneye/loda | 22 | 103722 | ; A140427: Arises in relating doubly-even error-correcting codes, graphs and irreducible representations of N-extended supersymmetry.
; 0,0,0,0,1,1,2,3,4,4,4,4,5,5,6,7,8,8,8,8,9,9,10,11,12,12,12,12,13,13,14,15,16,16,16,16,17,17,18,19,20,20,20,20,21,21,22,23,24,24,24,24,25,25,26,27,28,28,28,28,29,29,30,31,32,32,32,32,33... |
Data/AVLTree/Mapping.agda | oisdk/agda-playground | 6 | 9724 | {-# OPTIONS --cubical --allow-unsolved-metas #-}
open import Prelude
open import Relation.Binary
module Data.AVLTree.Mapping {k} {K : Type k} {r₁ r₂} (totalOrder : TotalOrder K r₁ r₂) where
open import Relation.Binary.Construct.Bounded totalOrder
open import Data.Nat using (_+_)
open TotalOrder totalOrder using (_<?... |
stm32f3/stm32f303xe/svd/stm32_svd-fpu.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 9926 | <filename>stm32f3/stm32f303xe/svd/stm32_svd-fpu.ads<gh_stars>1-10
-- This spec has been automatically generated from STM32F303xE.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.FPU is
pragma Preelaborate;
---------------
-- Register... |
asm/muvium_example.asm | liuyic00/leros | 0 | 171593 | // Muvium Leros AOT Compiler
// Java Source: Hello
// first instruction is not executed
nop //
// second instruction is executed twice
// ******************************************************
// MEMORY MODEL
// ******************************************************
// Static Fields R5 to R24
// FRAME ROOT
// Local R... |
wof/lcs/base/2FE.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 98644 | copyright zengfr site:http://github.com/zengfr/romhack
0013F2 beq $1442 [base+2FE]
0013FE subq.w #1, ($2fe,A5) [base+2EC]
001402 move.w #$c, ($2,A1) [base+2FE]
0014EE addq.w #1, ($2fe,A5) [base+2EC]
0014F2 move.w #$6, D6 [base+2FE]
01A7B2 move.w A6, ($2ec,A5) [base+2FE]
copyright zengfr site:http://gith... |
courses/spark_for_ada_programmers/labs/source/040_data_flow_analysis/dfa.ads | AdaCore/training_material | 15 | 18633 | package DFA
with SPARK_Mode => On
is
-- This package illustrates the basics of data-flow analysis (DFA) in SPARK
function F1 (X : in Integer) return Integer;
function F2 (X : in Integer) return Integer;
end DFA;
|
programs/oeis/057/A057744.asm | neoneye/loda | 22 | 11526 | ; A057744: Expansion of (1-2*x^3)/(1-2*x-x^3+2*x^4).
; 1,2,4,7,14,28,55,110,220,439,878,1756,3511,7022,14044,28087,56174,112348,224695,449390,898780,1797559,3595118,7190236,14380471,28760942,57521884,115043767,230087534,460175068,920350135,1840700270,3681400540
mov $2,2
pow $2,$0
mov $1,$2
div $2,7
sub $1,$2
mov $0,$1... |
Equatify/Extensions/EquatifyScript.scpt | danyaffff/Extension | 0 | 278 | use scripting additions
use framework "Foundation"
property NSString : a reference to current application's NSString
-- Helper
on removeLastPath(myPath)
set myString to NSString's stringWithString:myPath
set removedLastPathString to myString's stringByDeletingLastPathComponent
removedLastPathString as text
end remove... |
programs/oeis/276/A276875.asm | neoneye/loda | 22 | 24362 | <filename>programs/oeis/276/A276875.asm
; A276875: Sums-complement of the Beatty sequence for e.
; 1,4,7,12,15,18,23,26,31,34,37,42,45,50,53,56,61,64,69,72,75,80,83,88,91,94,99,102,105,110,113,118,121,124,129,132,137,140,143,148,151,156,159,162,167,170,175,178,181,186,189,194,197,200,205,208,211,216
mov $2,$0
mul $2,8... |
arch/ARM/STM32/svd/stm32l0x3/stm32_svd-aes.ads | morbos/Ada_Drivers_Library | 2 | 18679 | -- This spec has been automatically generated from STM32L0x3.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.AES is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR_DATATYPE_Field is H... |
data/maps/headers/ViridianGym.asm | opiter09/ASM-Machina | 1 | 10898 |
map_header ViridianGym, VIRIDIAN_GYM, GYM, 0
end_map_header
|
old/Homotopy/HomotopyGroups.agda | UlrikBuchholtz/HoTT-Agda | 294 | 13516 | {-# OPTIONS --without-K #-}
open import Base
open import Algebra.Groups
open import Integers
open import Homotopy.Truncation
open import Homotopy.Pointed
open import Homotopy.PathTruncation
open import Homotopy.Connected
-- Definitions and properties of homotopy groups
module Homotopy.HomotopyGroups {i} where
-- Loo... |
source/slim-menu_commands-play_radio_commands.ads | reznikmm/slimp | 0 | 20798 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Slim.Players;
with League.Strings;
package Slim.Menu_Commands.Play_Radio_Commands is
type Play_Radio_Command
(Player : Slim.Players.Play... |
ada/src/remote_server.ads | Watch-Later/NymphRPC | 52 | 14335 | -- remote_server.ads - Main package for use by NymphRPC clients (Spec).
--
-- 2017/07/01, <NAME>
-- (c) Nyanko.ws
package NymphRemoteServer is
function init(logger : in LogFunction, level : in integer, timeout: in integer) return Boolean;
function sync(handle : in integer, result : out string) return Boolean;
pr... |
praks6_lisa/seven_seg.asm | Leonid-98/AVR_ASM | 0 | 173173 | .dseg
number: .byte 10
left: .byte 1
right: .byte 1
.cseg
jmp main
.org 0x2E // TIMER0 OVF
jmp fast_timer
.org 0x22 // Timer/Counter1 Compare Match A
jmp slow_timer
.org 0x4C
main:
// Stack init
ldi r16, low(RAMEND)
ldi r17, high(RAMEND)
out SPL, r16
out SPH, r17
// Timer init (PWM, phase and frequency Cor... |
ANTLRTestProjects/antbased/Options/build/classes/AllPossibleOptionsOutOfPackage.g4 | timboudreau/ANTLR4-Plugins-for-NetBeans | 1 | 7206 | <reponame>timboudreau/ANTLR4-Plugins-for-NetBeans
grammar AllPossibleOptionsOutOfPackage;
/*
block comment
*/
options
{ // a line comment
language='Java'; // there is no check for the string value
// All next hyperlinks must be functional
superClass=MySuperClass1; // If previous class file does not exist then err... |
programs/oeis/204/A204817.asm | neoneye/loda | 22 | 28223 | <gh_stars>10-100
; A204817: Final nonzero digit of n^n in base 7.
; 1,1,4,6,4,3,1,1,1,1,4,2,1,6,4,1,2,5,1,5,1,6,1,4,1,4,4,6,4,1,1,3,2,6,1,3,1,2,2,1,2,6,1,1,4,6,4,3,1,1,1,1,4,2,1,6,1,1,2,5,1,5,1,1,1,4,1,4,4,6,4,1,1,3,2,6,1,2,1,2,2,1,2,6,1
pow $0,$0
mov $3,$0
mul $3,5
lpb $3
mov $2,$0
mov $3,1
lpb $2
dif $2,7
... |
source/nodes/program-nodes-generic_procedure_declarations.adb | optikos/oasis | 0 | 1821 | <gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Generic_Procedure_Declarations is
function Create
(Generic_Token : not null Program.Lexical_Elemen... |
oeis/033/A033970.asm | neoneye/loda-programs | 11 | 165029 | ; A033970: Trajectory of 1 under map n->27n+1 if n odd, n->n/2 if n even
; Submitted by <NAME>
; 1,28,14,7,190,95,2566,1283,34642,17321,467668,233834,116917,3156760,1578380,789190,394595,10654066,5327033,143829892,71914946,35957473,970851772,485425886,242712943,6553249462
add $0,1
mov $1,$0
mov $0,3
lpb $1
mov $2,$0... |
oeis/244/A244806.asm | neoneye/loda-programs | 11 | 21737 | <filename>oeis/244/A244806.asm<gh_stars>10-100
; A244806: The 180 degree spoke (or ray) of a hexagonal spiral of Ulam.
; 1,18,59,124,213,326,463,624,809,1018,1251,1508,1789,2094,2423,2776,3153,3554,3979,4428,4901,5398,5919,6464,7033,7626,8243,8884,9549,10238,10951,11688,12449,13234,14043,14876,15733,16614,17519,18448,1... |
06-ilinux-fat-fs/boot_ans.asm | weimanzhou/ilinux | 0 | 90391 | <reponame>weimanzhou/ilinux
;%define _BOOT_DEBUG_ ; �� Boot Sector ʱһ��������ע�͵�!�����д��� nasm Boot.asm -o Boot.com ����һ��.COM�ļ����ڵ���
%ifdef _BOOT_DEBUG_
org 0100h ; ����״̬, ���� .COM �ļ�, �ɵ���
%else
org 07c00h ; Boot ״̬, Bios ���� Boot Sector ���ص� 0:7C00 ������ʼִ��
%endif
;========================... |
tests/font/test.asm | segfaultdev/sgcpu | 20 | 25354 | org 0x0000
start:
lds 0x5000
lda 0x0080
ldx 0x0000
ldd 0x0020
line_loop:
ldb 0x0028
single_loop:
tbd
jeq halt
tbd
jbz single_end
jsr print_chr
inx
tdx
inx
tdx
sbb 0x0001
jmp single_loop
single_end:
tax
ada 0x00C8
tax
jmp line_loop
halt:
jmp halt
print_chr:
psh a
psh b
p... |
libsrc/z80_crt0s/z80/sccz80/l_plong.asm | jpoikela/z88dk | 38 | 18261 | ; Z88 Small C+ Run Time Library
; Long functions
;
SECTION code_crt0_sccz80
PUBLIC l_plong
.l_plong
ld a,l
ld (bc),a
inc bc
ld a,h
ld (bc),a
inc bc
ld a,e
ld (bc),a
... |
gfx/pokemon/lapras/anim.asm | Dev727/ancientplatinum | 28 | 169425 | frame 1, 10
frame 2, 07
frame 3, 40
frame 2, 09
frame 1, 10
endanim
|
tests/tcl-test_data-tests.ads | thindil/tashy2 | 2 | 28815 | -- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with Gnattest_Generated;
package Tcl.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Tcl.Test_Data
.Test with
null record... |
Library/Kernel/Dosappl/dosapplMain.asm | steakknife/pcgeos | 504 | 96809 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Kernel/Dosappl
FILE: dosapplMain.asm
AUTHOR: <NAME>, Jul 13, 1990
ROUTINES:
Name Description
---- -----------
DosExec Function to perfo... |
c7612/a2/src/read.asm | DimitryRakhlei/BTECH | 0 | 167982 | extern puts
extern printf
extern scanf
extern sprintf
global main
section .bss
loop_counter: resb 4
section .text
main:
_main:
sub rsp, 8
mov dword[loop_counter], 3
.send_loop:
xor al, al
mov rdi, short_upperfmt
mov rsi, [loop_counter]
call prin... |
sources/webgl/opengl-contexts.adb | godunko/adagl | 6 | 27481 | ------------------------------------------------------------------------------
-- --
-- Ada binding for OpenGL/WebGL --
-- --
-- ... |
game/logic/game_states/donation_screen.asm | benoitryder/super-tilt-bro | 2 | 2811 | <gh_stars>1-10
init_donation_screen:
.(
SWITCH_BANK(#DATA_BANK_NUMBER)
; Construct nt buffers for palettes (to avoid changing it mid-frame)
lda #<palette_donation
sta tmpfield1
lda #>palette_donation
sta tmpfield2
jsr construct_palettes_nt_buffer
; Copy background from PRG-rom to PPU nametable
lda #<nametabl... |
tools/ayacc/src/ragged.ads | svn2github/matreshka | 24 | 14863 | -- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- The primary authors of ayacc were <NAME> and <NAME>.
-- Enhancements were made by <NAME>.
--
-- Send requests for ayacc information to <EMAIL>
-- Send bug reports for ayacc to <EMAIL>
--
-- Redistribution and use in... |
courses/spark_for_ada_programmers/labs/answers/120_depends_contract_and_information_flow_analysis/depends_exercise.adb | AdaCore/training_material | 15 | 17760 | package body Depends_Exercise is
procedure Initialize is
begin
Stack_Pointer := 0;
Stack := (others => 0);
end Initialize;
procedure Push (X : in Integer) is
begin
Stack_Pointer := Stack_Pointer + 1;
Stack (Stack_Pointer) := X;
end Push;
function Is_Full return Boolean is... |
lab4/lab4_4/oldlr04_4_2.asm | Winterpuma/bmstu_MDPL | 14 | 1771 | <filename>lab4/lab4_4/oldlr04_4_2.asm<gh_stars>10-100
EXTRN X: byte
PUBLIC exit
SD2 SEGMENT para 'DATA'
Y db 'Y'
SD2 ENDS
SC2 SEGMENT para public 'CODE'
assume CS:SC2, DS:SD2
exit:
mov bx, ds
mov ax, SD2
mov ds, ax
mov ah, 2
mov dl, Y
int 21h
mov ah, Y
mov ds, bx
mov al, X
xchg ah, al
mov X, al
mov a... |
StringCompare.asm | emanuelbrici/Assembly | 0 | 85947 | #<NAME>
#10/22/14
#String Comparison
.data
stringAddress1: .asciiz "Enter first string: "
stringAddress2: .asciiz "\nEnter string to compare: "
stringBuffer1: .space 80
stringBuffer2: .space 80
ifsame: .asciiz "\nThe Strings do Match: "
notsame: .asciiz "\nThe Strings do not Match: "
.text
main: la $a0, s... |
alloy4fun_models/trashltl/models/5/aEf3mPcuLAeffNEq4.als | Kaixi26/org.alloytools.alloy | 0 | 1179 | <filename>alloy4fun_models/trashltl/models/5/aEf3mPcuLAeffNEq4.als
open main
pred idaEf3mPcuLAeffNEq4_prop6 {
always some f:File | (f in Trash) implies (always f in Trash')
}
pred __repair { idaEf3mPcuLAeffNEq4_prop6 }
check __repair { idaEf3mPcuLAeffNEq4_prop6 <=> prop6o } |
programs/oeis/016/A016832.asm | neoneye/loda | 22 | 9141 | ; A016832: a(n) = (4*n + 2)^8.
; 256,1679616,100000000,1475789056,11019960576,54875873536,208827064576,656100000000,1785793904896,4347792138496,9682651996416,20047612231936,39062500000000,72301961339136,128063081718016,218340105584896,360040606269696,576480100000000,899194740203776,1370114370683136,2044140858654976,299... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/widechar.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 4552 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
src/tests.ads | docandrew/YOTROC | 4 | 23912 | package tests is
procedure runTests;
end tests;
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/s3.adb | best08618/asylo | 7 | 15436 | -- { dg-do run }
with Init3; use Init3;
with Text_IO; use Text_IO;
with Dump;
procedure S3 is
A1 : R1 := My_R1;
A2 : R2 := My_R2;
N1 : Nested1;
N2 : Nested2;
C1 : Init3.Count;
C2 : Init3.Count;
C3 : Init3.Count;
begin
Put ("A1 :");
Dump (A1'Address, R1'Max_Size_In_Storage_Elements);
New_Line;... |
source/actions/crunch.asm | paulscottrobson/lean | 2 | 98723 | <filename>source/actions/crunch.asm
; ******************************************************************************
; ******************************************************************************
;
; Name : crunch.asm
; Purpose : Remove locals from user dictionary
; Author : <NAME> (<EMAIL>)
; Created : 27th... |
src/nat.agda | shinji-kono/zf-in-agda | 5 | 5966 | <reponame>shinji-kono/zf-in-agda<gh_stars>1-10
module nat where
open import Data.Nat renaming ( zero to Zero ; suc to Suc ; ℕ to Nat ; _⊔_ to _n⊔_ )
open import Data.Empty
open import Relation.Nullary
open import Relation.Binary.PropositionalEquality
open import logic
nat-<> : { x y : Nat } → x < y → y < x → ⊥
n... |
programs/oeis/228/A228177.asm | karttu/loda | 0 | 178702 | <gh_stars>0
; A228177: Floor(n*(sqrt(6)+sqrt(5))).
; 0,4,9,14,18,23,28,32,37,42,46,51,56,60,65,70,74,79,84,89,93,98,103,107,112,117,121,126,131,135,140,145,149,154,159,163,168,173,178,182,187,192,196,201,206,210,215,220,224,229,234,238,243,248,253,257,262,267,271,276,281,285,290,295,299,304,309,313,318,323,327,332,337,... |
other.7z/SFC.7z/SFC/ソースデータ/FZERO/FZERO/Game/en-data-2.asm | prismotizm/gigaleak | 46 | 160545 | Name: en-data-2.asm
Type: file
Size: 8595
Last-Modified: '2000-11-08T02:03:12Z'
SHA-1: 07024E2AC73157BB0AD7C50B2B967979A75A26BD
Description: null
|
src/x86/data.asm | basilgohar/rav1e | 0 | 15015 | <filename>src/x86/data.asm
; Copyright (c) 2018, The rav1e contributors. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can... |
src/util/helper.adb | SKNZ/BezierToSTL | 0 | 5664 | <filename>src/util/helper.adb
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Strings.Fixed; use Ada.Strings.Fixed;
with Ada.Strings; use Ada.Strings;
package body Helper is
function Fichier_Ligne_Commence_Par(Nom_Fichier, Marqueur : String)
return String
... |
programs/oeis/157/A157792.asm | neoneye/loda | 22 | 86372 | ; A157792: Least number of lattice points on one side from which every point of a square n X n lattice is visible.
; 1,1,2,2,3,3,4,4,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15,16,16,16,17,17,17,18,18,18,19,19,19,20,20,20,21,21,21,22,22,22,23,23,23,24,24,24,25
sub $2,$0
ad... |
MdePkg/Library/BaseLib/Ia32/DisableCache.nasm | kokweich/slimbootloader | 9 | 163514 | ;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; DisableCache.Asm
;
; Abstract:
;
; Set the CD bit of CR0 to 1, clear the NW bit of CR0 to 0, ... |
TExprLexer.g4 | aliyun/texpr | 14 | 7501 | lexer grammar TExprLexer;
Integer
: '-' ? INT
;
Float
: '-' ? INT '.' INT
;
Boolean
: TRUE
| FALSE
;
Varchar
: STRING
;
fragment STRING
: '\'' ( STRING_ESCAPE_SEQ | ~[\\\r\n'] )* '\''
| '"' ( STRING_ESCAPE_SEQ | ~[\\\r\n"] )* '"'
;
fragment STRING_ESCAPE_SEQ
: '\\' .
;
f... |
oeis/027/A027933.asm | neoneye/loda-programs | 11 | 8647 | ; A027933: a(n) = T(n, 2*n-10), T given by A027926.
; Submitted by <NAME>(w2)
; 1,2,5,13,34,89,232,596,1490,3588,8273,18228,38403,77533,150438,281403,509015,892926,1523117,2532359,4112704,6536993,10186540,15586342,23449376,34731776,50700937,73018870,103843433,145950389,202879594,279108997,380260541,513342490,687033173,... |
Agda/quotient-groups.agda | UlrikBuchholtz/HoTT-Intro | 333 | 16650 | <gh_stars>100-1000
{-# OPTIONS --without-K --exact-split #-}
module quotient-groups where
import subgroups
open subgroups public
{- The left and right coset relation -}
left-coset-relation :
{l1 l2 : Level} (G : Group l1) (H : Subgroup l2 G) →
(x y : type-Group G) → UU (l1 ⊔ l2)
left-coset-relation G H x =
fi... |
src/Control/Category/Functor.agda | andreasabel/cubical | 0 | 16944 | <filename>src/Control/Category/Functor.agda
-- Functors from one category into another
module Control.Category.Functor where
open import Level using (suc; _⊔_)
open import Relation.Binary.PropositionalEquality
open import Control.Category
open Category using () renaming (Obj to obj; Hom to hom)
-- Operations of a ... |
1A/S5/PIM/tps/tp4/exemple_dates_erreurs.adb | MOUDDENEHamza/ENSEEIHT | 4 | 24595 | <filename>1A/S5/PIM/tps/tp4/exemple_dates_erreurs.adb
with Ada.Text_IO;
use Ada.Text_IO;
with Dates;
use Dates;
procedure Exemple_Dates_Erreurs is
Une_Date : T_Date;
Mois_Suivant : T_Mois;
Autre_Date : T_Date;
begin
-- Initialiser une date
Initialiser (Une_Date, 1, OCTOBRE, 2018);
-- L'affich... |
oeis/139/A139286.asm | neoneye/loda-programs | 11 | 177116 | <gh_stars>10-100
; A139286: a(n) = 2^(2*prime(n) - 1).
; 8,32,512,8192,2097152,33554432,8589934592,137438953472,35184372088832,144115188075855872,2305843009213693952,9444732965739290427392,2417851639229258349412352,38685626227668133590597632,9903520314283042199192993792
seq $0,6005 ; The odd prime numbers together wit... |
test/Succeed/Issue679.agda | redfish64/autonomic-agda | 1 | 14084 | -- Andreas, 2012-07-31 no eager introduction of hidden abstractions
{-# OPTIONS --show-implicit #-}
-- {-# OPTIONS -v tc.conv.coerce:100 #-}
-- {-# OPTIONS -v tc.with:100 #-}
module Issue679 where
data Unit : Set where
unit : Unit
-- works also now:
test : {u : Unit} → Unit
test = λ {u} → u
T : Unit → Set
T unit =... |
src/sdl-events-joysticks-game_controllers.ads | alire-project/sdlada | 0 | 15894 | --------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2018 <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the ... |
Constructive/Combinators.agda | rei1024/agda-misc | 3 | 11243 | <gh_stars>1-10
-- Combinators for logical reasoning
{-# OPTIONS --without-K --safe --exact-split #-}
module Constructive.Combinators where
-- agda-stdlib
open import Data.Empty
open import Data.Sum as Sum
open import Data.Product as Prod
open import Function.Base
open import Relation.Nullary using (¬_; Dec; yes; no)
... |
oeis/004/A004574.asm | neoneye/loda-programs | 11 | 178773 | <reponame>neoneye/loda-programs<filename>oeis/004/A004574.asm
; A004574: Expansion of sqrt(7) in base 7.
; Submitted by <NAME>(s2)
; 2,4,3,4,3,3,0,6,6,5,4,2,4,6,0,3,3,2,3,3,3,2,6,1,3,6,2,4,6,6,1,5,6,6,2,3,0,4,2,2,0,0,2,3,1,3,5,2,5,2,0,6,4,4,3,1,5,6,1,4,5,1,0,6,0,2,2,3,3,2,1,3,5,5,3,5,5,4,1,6,2,1,2,2,1,5,3,5,6,0,3,5,2,0... |
oeis/037/A037645.asm | neoneye/loda-programs | 11 | 98904 | ; A037645: Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 2,3,1.
; Submitted by <NAME>
; 2,23,231,2312,23123,231231,2312312,23123123,231231231,2312312312,23123123123,231231231231,2312312312312,23123123123123,231231231231231,2312312312312312
mov $2,1
lpb $0
sub $0... |
Monads/MonadMorphs.agda | jmchapman/Relative-Monads | 21 | 15038 | <gh_stars>10-100
module Monads.MonadMorphs where
open import Library
open import Functors
open import Categories
open import Monads
open Fun
open Monad
record MonadMorph {a b}{C : Cat {a}{b}}(M M' : Monad C) : Set (a ⊔ b) where
constructor monadmorph
open Cat C
field morph : ∀ {X} → Hom (T M X) (T M' X)
... |
src/Data/Maybe/Properties/Extra.agda | metaborg/mj.agda | 10 | 5056 | <filename>src/Data/Maybe/Properties/Extra.agda
module Data.Maybe.Properties.Extra {a}{A : Set a} where
open import Data.Maybe
open import Relation.Binary.PropositionalEquality
open import Relation.Nullary
nothing≢just : ∀ {a : A} → ¬ (_≡_ {A = Maybe A} nothing (just a))
nothing≢just ()
|
alloy4fun_models/trashltl/models/9/CXhE2zcLpbBTQ69rd.als | Kaixi26/org.alloytools.alloy | 0 | 2529 | <gh_stars>0
open main
pred idCXhE2zcLpbBTQ69rd_prop10 {
}
pred __repair { idCXhE2zcLpbBTQ69rd_prop10 }
check __repair { idCXhE2zcLpbBTQ69rd_prop10 <=> prop10o } |
autoload/applescript/terminal.scpt | chautoni/tube.vim | 1 | 1828 | <filename>autoload/applescript/terminal.scpt
-- execute_terminal.scpt
-- last change: 19 Jan 2013
---
-- this script require an argument that represent the command to execute
on run argv
set command to (item 1 of argv)
tell application "Terminal"
activate
-- execute the command
do sc... |
src/Nat.agda | myuon/agda-cate | 2 | 9190 | module Nat where
open import Function hiding (_∘_; id)
open import Level
open import Basic
open import Category
import Functor
open Category.Category
open Functor.Functor
record Nat {C₀ C₁ ℓ D₀ D₁ ℓ′} {C : Category C₀ C₁ ℓ} {D : Category D₀ D₁ ℓ′} (F G : Functor.Functor C D) : Set (suc (C₀ ⊔ C₁ ⊔ ℓ ⊔ D₀ ⊔ D₁ ⊔ ℓ′)) ... |
oeis/044/A044271.asm | neoneye/loda-programs | 11 | 20796 | <gh_stars>10-100
; A044271: Numbers n such that string 2,2 occurs in the base 9 representation of n but not of n-1.
; Submitted by <NAME>
; 20,101,180,263,344,425,506,587,668,749,830,909,992,1073,1154,1235,1316,1397,1478,1559,1620,1721,1802,1883,1964,2045,2126,2207,2288,2367,2450,2531,2612,2693,2774,2855,2936,3017,3096... |
Task/Miller-Rabin-primality-test/Ada/miller-rabin-primality-test-1.ada | djgoku/RosettaCodeData | 0 | 1817 | generic
type Number is range <>;
package Miller_Rabin is
type Result_Type is (Composite, Probably_Prime);
function Is_Prime (N : Number; K : Positive := 10) return Result_Type;
end Miller_Rabin;
|
src/native/third_party/isa-l_crypto/sha512_mb/sha512_mb_x2_avx.asm | guptsanj/noobaa-core | 0 | 21524 | <reponame>guptsanj/noobaa-core<gh_stars>0
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following condition... |
experiments/test-suite/dijkstra.als | kaiyuanw/MuAlloy | 6 | 156 | <gh_stars>1-10
open util/ordering [State] as so
open util/ordering [Mutex] as mo
pred test1 {
some disj Process0, Process1: Process {some disj Mutex0, Mutex1, Mutex2: Mutex {some disj State0, State1, State2: State {
Process = Process0 + Process1
Mutex = Mutex0 + Mutex1 + Mutex2
State = State0 + State1 + State2
holds = ... |
oeis/008/A008779.asm | neoneye/loda-programs | 11 | 29002 | ; A008779: Number of n-dimensional partitions of 5.
; Submitted by <NAME>(s2.)
; 1,7,24,59,120,216,357,554,819,1165,1606,2157,2834,3654,4635,5796,7157,8739,10564,12655,15036,17732,20769,24174,27975,32201,36882,42049,47734,53970,60791,68232,76329,85119,94640,104931,116032,127984,140829,154610,169371,185157,202014,219989... |
src/PathStructure/Id/Tr.agda | vituscze/HoTT-lectures | 0 | 15804 | <reponame>vituscze/HoTT-lectures
{-# OPTIONS --without-K #-}
module PathStructure.Id.Tr {a b} {A : Set a} {B : Set b} where
open import Equivalence
open import PathOperations
open import Types
tr-split : {a a′ : A} {b b′ : B} (p : a ≡ a′) →
tr (λ _ → B) p b ≡ b′ → b ≡ b′
tr-split {b = b} {b′ = b′} = J
(λ _ _ p → ... |
src/gen-artifacts-mappings.ads | My-Colaborations/dynamo | 15 | 430 | <reponame>My-Colaborations/dynamo
-----------------------------------------------------------------------
-- gen-artifacts-mappings -- Type mapping artifact for Code Generator
-- Copyright (C) 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... |
language/src/main/java/com/oracle/truffle/lama/parser/LamaLanguage.g4 | trilis/vm-course-graal | 0 | 5842 | /*
* Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* The Universal Permissive License (UPL), Version 1.0
*
* Subject to the condition set forth below, permission is hereby granted to any
* person obtaining a copy of ... |
Src/Ant8/Tests/aa8/basic/e_inc_5.asm | geoffthorpe/ant-architecture | 0 | 247290 | <reponame>geoffthorpe/ant-architecture<gh_stars>0
# $Id: e_inc_5.asm,v 1.1 2001/03/14 16:57:29 ellard Exp $
#@ tests for illegal format of inc.
inc 1, r2
|
Cubical/Data/FinData.agda | dan-iel-lee/cubical | 0 | 8661 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.FinData where
open import Cubical.Data.FinData.Base public
open import Cubical.Data.FinData.Properties public
|
tools-src/gnu/gcc/gcc/ada/g-socket.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 17423 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
data/pokemon/base_stats/cubone.asm | AtmaBuster/pokeplat-gen2 | 6 | 240463 | <gh_stars>1-10
db 0 ; species ID placeholder
db 50, 50, 95, 35, 40, 50
; hp atk def spd sat sdf
db GROUND, GROUND ; type
db 190 ; catch rate
db 87 ; base exp
db NO_ITEM, THICK_CLUB ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/cubone/front.dimensions"
db... |
oeis/131/A131026.asm | neoneye/loda-programs | 11 | 11890 | <gh_stars>10-100
; A131026: Periodic sequence (2, 2, 1, 0, 0, 1).
; Submitted by <NAME>
; 2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0,0,1,2,2,1,0
mov $2,1
lpb $0
sub $0,1
... |
ada-exceptions/main.adb | dksmiffs/gnatmake-examples | 0 | 22463 | with Ada.Text_IO; use Ada.Text_IO;
procedure Main is
begin
-- Guide: http://archive.adaic.com/standards/83lrm/html/lrm-11-01.html
declare
PP : Positive;
P2 : Positive;
begin
P2 := 5;
PP := 3 - P2; -- intentionally violate Positive range constraint
exception
when Constraint_Error =>
... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1097.asm | ljhsiun2/medusa | 9 | 7085 | <filename>Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1097.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r8
push %rax
push %rbx
push %rcx
// Faulty Load
mov $0x2836620000000ae8, %rbx
clflush (%rbx)
nop
nop
nop
nop
nop
cmp $19128, %rcx
mov (... |
models/tests/test69a.als | transclosure/Amalgam | 4 | 5251 | module tests/test
open tests/test69b as zz
sig A, B { f: Int }
sig C { g: B }
run {
some A$ && some A$f
some B$ && some B$f
some C$ && some C$g
some Sub$ && some Sub$f
some zz/Sub$ && some zz/Sub$f
one A<:f
one B<:f
one g
} expect 1
|
test.asm | maxkofler/Z80Asm | 0 | 101728 | MAIN:
ld a 5fh
inc a
ld c 01h
dec c
ld (FF69h) a
ld sp 69F2h |
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_frm.ads | caqg/linux-home | 0 | 19597 | <filename>.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_frm.ads
with ARM_Output,
ARM_Contents;
--private -- Ada 2005
with ARM_Input,
ARM_Database,
ARM_Subindex;
package ARM_Format is
--
-- Ada reference manual formatter (ARM_Form).
--
-- This package contains the routines to parse the input... |
src/interface/yaml-transformator-canonical.ads | robdaemon/AdaYaml | 32 | 21854 | -- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
package Yaml.Transformator.Canonical is
type Instance is limited new Transformator.Instance with private;
overriding procedure Put (Object : in out Instance; E : Event);
function Has_Next (Object... |
theorems/cw/cohomology/cochainequiv/FirstCoboundaryCommSquare.agda | timjb/HoTT-Agda | 0 | 3531 | <gh_stars>0
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import cw.CW
open import cw.FinCW
open import cw.FinBoundary
open import cohomology.Theory
module cw.cohomology.cochainequiv.FirstCoboundaryCommSquare (OT : OrdinaryTheory lzero)
(⊙fin-skel : ⊙FinSkeleton 1) where
open OrdinaryTheory OT
open... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-8650U_0xd2_notsx.log_178_1680.asm | ljhsiun2/medusa | 9 | 178232 | <filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-8650U_0xd2_notsx.log_178_1680.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xf1f9, %rbx
cmp $6691, %rdi
mov (%rbx), %r11w
nop
nop
nop
lfence
lea addre... |
arch/ARM/STM32/svd/stm32l4x6/stm32_svd-lcd.ads | morbos/Ada_Drivers_Library | 2 | 30664 | -- This spec has been automatically generated from STM32L4x6.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.LCD is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR_DUTY_Field is HAL.U... |
randomise.adb | klampworks/hanael | 0 | 12991 | with Ada.Characters.Handling; use Ada.Characters.Handling;
with Ada.Numerics.Discrete_Random;
package body Randomise is
-- '0' to '9'
subtype Numeric_Rand_Range is Integer range 48..57;
package Numeric_Rand is new Ada.Numerics.Discrete_Random(Numeric_Rand_Range);
Numeric_Gen : Numeric_Rand.Generator;
Numeri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.