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
project/src/servo.ads
Stykk-Gruppen/rts-project
2
21466
<reponame>Stykk-Gruppen/rts-project with Arduino_Nano_33_Ble_Sense.IOs; package Servo is package Arduino renames Arduino_Nano_33_Ble_Sense; subtype Angle_Range is Integer range -90 .. 90; procedure Write(High_Time : Integer; Pin_Id : Arduino.IOs.Pin_Id); private Period : constant Integer := 20000; s...
src/base/commands/util-commands-consoles.adb
RREE/ada-util
60
21635
<filename>src/base/commands/util-commands-consoles.adb ----------------------------------------------------------------------- -- util-commands-consoles -- Console interface -- Copyright (C) 2014, 2015, 2017, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "Licen...
tb/test_asm/sum_hw_from_addr/sum_hw_from_addr.asm
st-a-novoseltcev/cpu_risc_v
0
94450
<gh_stars>0 .globl __start .text _start: li a1, 32 slli a1, a1, 2 call __sum_hw_from_addr ecall __sum_hw_from_addr: # (&i32: addr) - > i32 lw t0, 0(a1) # length = Mem[a1] mv a0, zero # sum = 0 beqz t0, end # if (length == 0): goto end mv t1, zero # counter = 0 addi t2, a1, 4 # nex...
win32/asm31fpu/fntstd.asm
c-jullien/lelisp
13
27102
<reponame>c-jullien/lelisp<gh_stars>10-100 .386p .387 include fntstd.dat assume cs:FLAT,ds:FLAT,es:FLAT,fs:FLAT,gs:FLAT,ss:FLAT _TEXT segment para use32 public 'CODE' include fntstd.equ ini_std proc near mov eax,4 mov ebx,offset FLAT:pnmac128 mov ecx,offset FLAT:true mov edx,offset FLAT:ztrue ...
Categories/Functor/Core.agda
Taneb/agda-categories
0
11765
{-# OPTIONS --without-K --safe #-} open import Categories.Category module Categories.Functor.Core where open import Level open import Function renaming (id to id→; _∘_ to _●_) using () open import Relation.Binary hiding (_⇒_) import Relation.Binary.Reasoning.Setoid as SetoidR import Categories.Morphism as M priva...
programs/oeis/272/A272027.asm
neoneye/loda
22
17951
<filename>programs/oeis/272/A272027.asm ; A272027: a(n) = 3*sigma(n). ; 3,9,12,21,18,36,24,45,39,54,36,84,42,72,72,93,54,117,60,126,96,108,72,180,93,126,120,168,90,216,96,189,144,162,144,273,114,180,168,270,126,288,132,252,234,216,144,372,171,279,216,294,162,360,216,360,240,270,180,504,186,288,312,381,252,432,204,378,2...
gcc-gcc-7_3_0-release/gcc/ada/inline.ads
best08618/asylo
7
3996
<filename>gcc-gcc-7_3_0-release/gcc/ada/inline.ads ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
oeis/295/A295913.asm
neoneye/loda-programs
11
29952
<filename>oeis/295/A295913.asm ; A295913: Number of n X 3 0..1 arrays with each 1 adjacent to 0 or 3 king-move neighboring 1s. ; Submitted by <NAME> ; 5,13,39,115,337,993,2919,8587,25257,74289,218511,642715,1890449,5560465,16355255,48106475,141497817,416194129,1224171199,3600711835,10590941633,31151630513,91627743527,2...
programs/oeis/004/A004664.asm
karttu/loda
0
24908
; A004664: n! + n^2. ; 1,2,6,15,40,145,756,5089,40384,362961,3628900,39916921,479001744,6227020969,87178291396,1307674368225,20922789888256,355687428096289,6402373705728324 mov $1,$0 fac $1 pow $0,2 add $1,$0
libtool/src/gmp-6.1.2/mpn/arm/v7a/cora15/neon/com.asm
kroggen/aergo
1,602
243060
dnl ARM Neon mpn_com optimised for A15. dnl Copyright 2013 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl * the GNU Lesser General Public License as publish...
setoid_rr.agda
CoqHott/logrel-mltt
2
841
<gh_stars>1-10 {-# OPTIONS --rewriting --prop --confluence-check #-} open import Agda.Primitive open import Agda.Builtin.Bool open import Agda.Builtin.Nat open import Agda.Builtin.List open import Agda.Builtin.Equality open import Agda.Builtin.Equality.Rewrite open import Agda.Builtin.Sigma open import Agda.Builtin.Un...
Application Support/BBEdit/Scripts/PeepOpen.applescript
bhdicaire/bbeditSetup
75
914
<reponame>bhdicaire/bbeditSetup -- PeepOpen for BBEdit -- -- Launches PeepOpen for either the current project directory, -- first project file, or the current file -- -- Installation: -- -- Copy script to either location: -- ~/Library/Application Support/BBEdit/Scripts -- ~/Dropbox/Application Support/BBEdit/Scri...
scripts/reminders/switch-list.applescript
briangonzalez/awesome-applescripts
39
2214
<reponame>briangonzalez/awesome-applescripts<filename>scripts/reminders/switch-list.applescript on run argv if (count of argv) > 0 then set rem_list to item 1 of argv end if tell application "Reminders" to show list rem_list end run
src/res/music/song_new_hiscore.asm
gbcompo21/shock-lobster
7
104541
include "include/hUGE.inc" SECTION "Song New Hiscore", ROMX song_new_hiscore:: db 6 dw order_cnt dw order1, order2, order3, order4 dw duty_instruments, wave_instruments, noise_instruments dw routines dw waves order_cnt: db 4 order1: dw P20,P30 order2: dw P21,P31 order3: dw P0c,P0c order4: dw P0c,P0c ...
src/Categories/Category/Instance/Cartesians.agda
bblfish/agda-categories
5
5541
{-# OPTIONS --without-K --safe #-} module Categories.Category.Instance.Cartesians where open import Level open import Categories.Category open import Categories.Category.Helper open import Categories.Category.Cartesian.Structure open import Categories.Functor.Cartesian open import Categories.Functor.Cartesian.Proper...
win32/WinLights.asm
michaelcmartin/bumbershoot
20
172107
<reponame>michaelcmartin/bumbershoot<gh_stars>10-100 ;;; ---------------------------------------------------------------------- ;;; Lights-Out: Win32 edition ;;; Copyright (c) 2019, <NAME> / Bumbershoot Software. ;;; Available under the MIT License. ;;; ;;; This program is designed to be self-contained and ...
oeis/083/A083222.asm
neoneye/loda-programs
11
244550
; A083222: a(n) = (4*5^n + (-5)^n)/5. ; Submitted by <NAME> ; 1,3,25,75,625,1875,15625,46875,390625,1171875,9765625,29296875,244140625,732421875,6103515625,18310546875,152587890625,457763671875,3814697265625,11444091796875,95367431640625,286102294921875,2384185791015625,7152557373046875,59604644775390625,17881393432617...
co_hard.asm
dylsugar/cs461_hw6
0
10723
<reponame>dylsugar/cs461_hw6 _co_hard: file format elf64-x86-64 Disassembly of section .text: 0000000000001000 <co_lock_worker>: static volatile int shared_var = 0; static volatile int locked = 0; void co_lock_worker(void) { 1000: f3 0f 1e fa endbr64 1004: 55 push %rbp...
oeis/062/A062263.asm
neoneye/loda-programs
11
11390
; A062263: Sixth (unsigned) column of triangle A062140 (generalized a=4 Laguerre). ; Submitted by <NAME> ; 1,60,2310,73920,2162160,60540480,1664863200,45664819200,1261490630400,35321737651200,1006669523059200,29284931579904000,871226714502144000,26538906072526848000,828392996692445184000,26508575894158245888000,8698126...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_322.asm
ljhsiun2/medusa
9
6147
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_322.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x10b15, %rbx inc %r11 movl $0x61626364, (%rbx) nop cmp %rsi, %rs...
src/Categories/Bicategory/Construction/Spans.agda
Trebor-Huang/agda-categories
279
8787
<filename>src/Categories/Bicategory/Construction/Spans.agda {-# OPTIONS --without-K --safe #-} open import Categories.Category open import Categories.Diagram.Pullback module Categories.Bicategory.Construction.Spans {o ℓ e} {𝒞 : Category o ℓ e} (_×ₚ_ : ∀ {X Y Z} → (f : ...
Working Disassembly/Levels/SSZ/Misc Object Data/Map - Roaming Clouds.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
177465
<filename>Working Disassembly/Levels/SSZ/Misc Object Data/Map - Roaming Clouds.asm Map_58780: dc.w word_58786-Map_58780 dc.w word_58786-Map_58780 dc.w word_5879A-Map_58780 word_58786: dc.w 3 dc.b $F0, $F, 0, 0, $FF, $D0 dc.b $F0, $F, 0, $10, $FF, $F0 dc.b $F0, $F, $18, 0, 0, $10 word_5879A...
src/gl/implementation/gl-objects-renderbuffers.adb
Roldak/OpenGLAda
79
5742
<filename>src/gl/implementation/gl-objects-renderbuffers.adb -- part of OpenGLAda, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "COPYING" with Ada.Containers.Indefinite_Hashed_Maps; with Ada.Unchecked_Conversion; with GL.API; with GL.Enums.Getter; package body GL.Objects.Renderbuffe...
project/win32kstub/i386/6_1_7601_sp1_shadowssdt_sysenter.asm
mehrdad-shokri/windows-syscall-table
372
22329
<reponame>mehrdad-shokri/windows-syscall-table ; DO NOT MODIFY THIS FILE DIRECTLY! ; author: @TinySecEx ; shadowssdt asm stub for 6.1.7601-sp1-windows-7 i386 .686 .mmx .xmm .model flat,stdcall option casemap:none option prologue:none option epilogue:none .code ; ULONG __stdcall NtGdiAbortDoc( U...
src/tables/harddist.asm
furrtek/GB303
90
172607
<gh_stars>10-100 lut_harddist: .db $00 .db $02 .db $05 .db $07 .db $0A .db $0A .db $0A .db $0B .db $0B .db $0C .db $0C .db $0C .db $0D .db $0D .db $0E .db $0E .db $20 .db $22 .db $25 .db $27 .db $2A .db $2A .db $2A .db $2B .db $2B .db $2C ...
Source Codes Testing/1b.asm
aravindvnair99/emu8086
11
19750
.MODEL SMALL .STACK .DATA num1 db 18h num2 db 7h ;code section .CODE .STARTUP mov al,num1 mov bl,num2 sub al,bl .EXIT END
oeis/130/A130619.asm
neoneye/loda-programs
11
90621
<gh_stars>10-100 ; A130619: Let M(n) = {{n, 0, 1}, {1, 0, 0}, {0, 1, 0}}, then a(n) is the upper-right term of M(n)*M(n-1)*...*M(1) (empty matrix product yields the identity). ; Submitted by <NAME> ; 0,1,2,6,25,127,768,5401,43335,390783,3913231,43088876,517457295,6730858066,94275101800,1414643984295,22641034606786,3849...
mc-sema/validator/x86/tests/SHUFPSrmi.asm
randolphwong/mcsema
2
11399
<reponame>randolphwong/mcsema<filename>mc-sema/validator/x86/tests/SHUFPSrmi.asm BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_SF|FLAG_PF ;TEST_FILE_META_END ;TEST_BEGIN_RECORDING lea ecx, [esp-0x30] and ecx, 0xFFFFFFF0 mov dword [ecx+0x00], 0xEEEEEEEE mov dword [ecx+0x04], 0xFFFFFFFF mov dwo...
regtests/test_bean.adb
jquorning/ada-el
6
9938
<gh_stars>1-10 ----------------------------------------------------------------------- -- Test_Bean - A simple bean for unit tests -- Copyright (C) 2009, 2010, 2011 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in com...
libpal/intel_64bit_systemv_nasm/vmptrld_checked.asm
mars-research/pal
26
176138
<reponame>mars-research/pal bits 64 default rel section .text global pal_execute_vmptrld_checked pal_execute_vmptrld_checked : vmptrld [rdi] jbe pal_execute_vmptrld_checked_failure mov rax, 0x1 ret pal_execute_vmptrld_checked_failure : mov rax, 0x0 ret
Transynther/x86/_processed/AVXALIGN/_st_zr_un_sm_/i7-7700_9_0x48.log_21829_1953.asm
ljhsiun2/medusa
9
17528
<filename>Transynther/x86/_processed/AVXALIGN/_st_zr_un_sm_/i7-7700_9_0x48.log_21829_1953.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x16fed, %rsi lea addresses_WT_ht+0x1dfc9, %rdi clflush (%rsi) nop nop nop add $119...
Chapter2/Formalization.agda
CodaFi/HoTT-Exercises
0
9677
{-# OPTIONS --without-K #-} module Formalization where open import Agda.Primitive using (lsuc) open import Relation.Binary.PropositionalEquality open Relation.Binary.PropositionalEquality.≡-Reasoning open import Level -- Recall Lemma 1.12 ind₌ : ∀{a b}{A : Set a} → (C : (x y : A) → (x ≡ y) → Set b) → ((x : A) → C...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/tail_call.adb
best08618/asylo
7
11057
-- { dg-do run } -- { dg-options "-O2 -fno-unit-at-a-time" } with Tail_Call_P; use Tail_Call_P; procedure Tail_Call is begin Insert (My_Array, 0, 0); end;
oeis/024/A024503.asm
neoneye/loda-programs
11
89414
; A024503: a(n) = floor(binomial(2*n,n)/3^n). ; 1,0,0,0,0,1,1,1,1,2,3,3,5,6,8,10,13,18,23,30,39,51,67,87,114,149,195,255,334,438,574,753,988,1298,1706,2242,2948,3877,5102,6716,8842,11646,15343,20220,26654,35144,46349,61142,80673,106467,140537,185545,245015 mov $1,$0 mov $2,$0 add $2,$0 mov $0,3 pow $0,$1 bin $2,$1 div...
oeis/042/A042406.asm
neoneye/loda-programs
11
243367
<reponame>neoneye/loda-programs ; A042406: Numerators of continued fraction convergents to sqrt(731). ; Submitted by <NAME> ; 27,730,39447,1065799,57592593,1556065810,84085146333,2271855016801,122764256053587,3316906768463650,179235729753090687,4842681610101912199,261684042675256349433,7070311833842023346890,3820585230...
Ada/inc/Rational.ads
Tim-Tom/project-euler
0
10659
package Rational is type Rat is private; function Create(num : in Long_Long_Integer; den : in Long_Long_Integer) return Rat; function Numerator(r : in Rat) return Long_Long_Integer; function Denomonator(r : in Rat) return Long_Long_Integer; function "+" (left, right: in Rat) return Rat; function "-"...
src/arch/x86/mach-i386/entry.asm
MUYIio/Mini-OS
5
20490
%include "arch/const.inc" [bits 32] [section .text] extern kernel_main extern arch_init extern acpi_init extern setup_paging global kernel_start ;这个标签是整个内核的入口,从loader跳转到这儿 kernel_start: mov esp, KERNEL_STACK_TOP_PHY mov byte [TEXT_START_ADDR_PHY+160*4+0], 'K' mov byte [TEXT_START_ADDR_PHY+160*...
computer-architecture/labs/lab7/10_g.asm
vampy/university
6
28612
; 10. A string of bytes is given. Obtain the mirror image of the binary representation of this string of bytes. ; Ex: The byte string is given: s db 01011100b, 10001001b, 11100101b ; The result is the string: d db 10100111b, 10010001b, 00111010b. assume cs:code, ds:data data segment s db 01011100b, 10001001b, 1110...
tests/exec/fact.adb
xuedong/mini-ada
0
13231
<reponame>xuedong/mini-ada with Ada.Text_IO; use Ada.Text_IO; procedure Fact is procedure PrintInt(N: Integer) is C: Integer := N rem 10; begin if N > 9 then PrintInt(N / 10); end if; Put(Character'Val(48 + C)); end; f : integer; procedure fact(n : integer) is begin if n <=...
programs/oeis/026/A026633.asm
karttu/loda
0
240299
<reponame>karttu/loda ; A026633: T(n,0) + T(n,1) + ... + T(n,n), T given by A026626. ; 1,2,5,10,22,44,90,180,362,724,1450,2900,5802,11604,23210,46420,92842,185684,371370,742740,1485482,2970964,5941930,11883860,23767722,47535444,95070890,190141780,380283562,760567124,1521134250 add $0,1 mov $3,5 mov $4,4 lpb $0,1 sub...
oeis/134/A134953.asm
neoneye/loda-programs
11
89433
; A134953: Length of the longest prime implicant of the Y function of order n. ; Submitted by <NAME> ; 0,2,3,4,6,8,11,14,18,23,27 mul $0,2 mov $1,$0 lpb $1 mul $0,2 pow $0,2 mov $1,1 mov $2,2 lpe add $3,33 add $0,$3 div $0,63 add $0,$2
lab02/ex08/QuestionDB.g4
BlasphemyCoder/Compilers
3
5993
grammar QuestionDB; program: (question)* EOF; question: ID '(' STRING ') {' option* '}' ; option: STRING ':' INT ';'; ID: [a-zA-Z.1-9]+; INT: [0-9]+; STRING: '"' .*? '"'; LINE_COMMENT: '#' .*? '\n' -> skip; WS: [ \t\r\n]+ -> skip;
programs/oeis/108/A108576.asm
jmorken/loda
1
96926
; A108576: Number of 3 X 3 magic squares (with distinct positive entries) having all entries < n. ; 0,0,0,0,0,0,0,0,0,8,16,40,64,96,128,184,240,320,400,504,608,744,880,1056,1232,1440,1648,1904,2160,2464,2768,3120,3472,3880,4288,4760,5232,5760,6288,6888,7488,8160,8832,9576,10320,11144,11968,12880,13792,14784,15776,16864...
oeis/245/A245031.asm
neoneye/loda-programs
11
177124
; A245031: Numbers m such that 3*m+1 and 8*m+1 are both squares. ; Submitted by <NAME> ; 0,1,21,120,2080,11781,203841,1154440,19974360,113123361,1957283461,11084934960,191793804840,1086210502741,18793835590881,106437544333680,1841604094101520,10429793134197921,180458407386358101,1022013289607062600,17683082319768992400...
alloy4fun_models/trashltl/models/17/3fXfG7zR2BEJj4e3K.als
Kaixi26/org.alloytools.alloy
0
1501
open main pred id3fXfG7zR2BEJj4e3K_prop18 { always all p: Protected | p in Protected until p in Trash } pred __repair { id3fXfG7zR2BEJj4e3K_prop18 } check __repair { id3fXfG7zR2BEJj4e3K_prop18 <=> prop18o }
oeis/017/A017399.asm
neoneye/loda-programs
11
13747
<reponame>neoneye/loda-programs ; A017399: a(n) = (11*n)^11. ; 0,285311670611,584318301411328,50542106513726817,1196683881290399744,13931233916552734375,103510234140112521216,564154396389137449973,2450808588882738675712,8953382542587164451099,28531167061100000000000,81402749386839761113321,211988959518950443450368,5113...
src/lumen-events-animate.ads
darkestkhan/lumen
8
9280
-- Lumen.Events.Animate -- Event loop with frame-animation callback -- -- <NAME>, NiEstu, Phoenix AZ, Spring 2010 -- This code is covered by the ISC License: -- -- Copyright © 2010, NiEstu -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, ...
out/UTLC/Signature.agda
JoeyEremondi/agda-soas
39
11910
<reponame>JoeyEremondi/agda-soas<gh_stars>10-100 {- This second-order signature was created from the following second-order syntax description: syntax UTLC | Λ type * : 0-ary term app : * * -> * | _$_ l20 lam : *.* -> * | ƛ_ r10 theory (ƛβ) b : *.* a : * |> app (lam (x.b[x]), a) = b[a] (ƛη) f : * ...
iod/con2/ptr/init.asm
olifink/smsqe
0
20432
* Pointer version of console initialisation code V2.05  1991 <NAME> * * 2003-03-01 2.01 Added call to system sprite initialisation (MK) * 2003-03-04 2.02 Initialises pixel aspect ratio (MK) * 2004-03-29 2.03 Call sprite cursor job table initialisation (wl) * 2005-11-16 2.04 Call background I/O initialisat...
projects/07/MemoryAccess/PointerTest/PointerTest.asm
anArkitect/Nand2Tetris
0
4246
<filename>projects/07/MemoryAccess/PointerTest/PointerTest.asm //push constant 3030 @3030 D=A @SP A=M M=D @SP M=M+1 @SP AM=M-1 D=M @3 M=D //push constant 3040 @3040 D=A @SP A=M M=D @SP M=M+1 @SP AM=M-1 D=M @4 M=D //push cons...
test/Fail/Erasure-Branch-On-Erased.agda
cruhland/agda
1,989
16112
<reponame>cruhland/agda -- Andreas, 2018-10-17 -- -- Cannot branch on erased argument. open import Agda.Builtin.Bool T : @0 Bool → Set T true = Bool T false = Bool → Bool -- Should fail with error like: -- -- Cannot branch on erased argument of datatype Bool -- when checking the definition of T
Audio/MUSIC/musicbox.asm
RodinWang/Holtek_Tap_it
0
98988
<gh_stars>0 midi: little-star.mid Canon.mid Demons.mid ; voice: 129 l 0 ; perc: ;
programs/oeis/136/A136254.asm
neoneye/loda
22
83012
<filename>programs/oeis/136/A136254.asm ; A136254: Generator for the finite sequence A053016. ; 4,6,8,12,20,34,56,88,132,190,264,356,468,602,760,944,1156,1398,1672,1980,2324,2706,3128,3592,4100,4654,5256,5908,6612,7370,8184,9056,9988,10982,12040,13164,14356,15618,16952,18360,19844,21406,23048,24772,26580,28474,30456,32...
Driver/Printer/PrintCom/printcomDumbSpaceCursor.asm
steakknife/pcgeos
504
92468
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1993 -- All Rights Reserved PROJECT: PC GEOS MODULE: Dumb ASCII (Unformatted) Print Driver FILE: printcomDumbSpaceCursor.asm AUTHOR: <NAME> ROUTINES: Name Description ---- --------...
programs/oeis/128/A128918.asm
neoneye/loda
22
98887
<filename>programs/oeis/128/A128918.asm ; A128918: a(n) = n*(n+1)/2 if n is odd, otherwise (n-1)*n/2 + 1. ; 1,1,2,6,7,15,16,28,29,45,46,66,67,91,92,120,121,153,154,190,191,231,232,276,277,325,326,378,379,435,436,496,497,561,562,630,631,703,704,780,781,861,862,946,947,1035,1036,1128,1129,1225,1226,1326,1327,1431,1432,15...
src/natools-web-error_pages.ads
faelys/natools-web
1
19779
------------------------------------------------------------------------------ -- Copyright (c) 2014, <NAME> -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- purpose ...
src/Categories/NaturalTransformation/NaturalIsomorphism.agda
MirceaS/agda-categories
0
9969
{-# OPTIONS --without-K --safe #-} module Categories.NaturalTransformation.NaturalIsomorphism where open import Level open import Data.Product using (_×_; _,_; map; zip) open import Function using (flip) open import Categories.Category open import Categories.Functor as ℱ renaming (id to idF) import Categories.Natura...
test/Common/Unit.agda
shlevy/agda
1,989
14130
{-# OPTIONS --without-K #-} module Common.Unit where open import Agda.Builtin.Unit public renaming (⊤ to Unit; tt to unit)
programs/oeis/230/A230269.asm
neoneye/loda
22
18824
<reponame>neoneye/loda<gh_stars>10-100 ; A230269: Number of n X 2 0..2 arrays x(i,j) with each element horizontally or vertically next to at least one element with value (x(i,j)+1) mod 3, and upper left element zero. ; 0,0,2,8,30,108,386,1376,4902,17460,62186,221480,788814,2809404,10005842,35636336,126920694,452034756,...
grammer/ToolmanParser.g4
toolman-dev/toolman
2
4712
<reponame>toolman-dev/toolman /** * A Toolman grammar for ANTLR v4. * * @author taoyu * @author taowei */ parser grammar ToolmanParser; options { tokenVocab = ToolmanLexer; } document: importStatement* (optionStatement | decl)* EOF; // from '/pathxxx.tm' import someType as aliasName, ... importStatement: From...
oeis/017/A017512.asm
neoneye/loda-programs
11
88090
<reponame>neoneye/loda-programs ; A017512: a(n) = (11*n + 10)^4. ; 10000,194481,1048576,3418801,8503056,17850625,33362176,57289761,92236816,141158161,207360000,294499921,406586896,547981281,723394816,937890625,1196883216,1506138481,1871773696,2300257521,2798410000,3373402561,4032758016,4784350561,5636405776,6597500625,...
programs/oeis/293/A293077.asm
neoneye/loda
22
18535
; A293077: Number of letters (0's and 1's) in the n-th iterate of the final-letter-removed mapping defined at A289035. ; 2,4,6,10,16,26,44,74,126,214,364,620,1058,1806,3082,5260,8978,15326,26162,44660,76238,130146,222172,379270,647454,1105272,1886816,3220996,5498584,9386670,16024048,27354760,46697496,79717612,136086476...
LibraBFT/Impl/Consensus/MetricsSafetyRules.agda
oracle/bft-consensus-agda
4
11899
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9. Copyright (c) 2021, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl -} open import LibraBFT.Base.Types import LibraBFT.Impl.Consensus.SafetyRul...
src/core/asm/x86/inst_0xf0.asm
Hiroshi123/bin_tools
0
2696
default rel section .text global _0xf0_prefix_lock global _0xf1_icebp global _0xf2_prefix_repnz global _0xf3_prefix_repz global _0xf4_hlt global _0xf5_cmc global _0xf6_op global _0xf7_op global _0xf8_clc global _0xf9_stc global _0xfa_cli global _0xfb_sti global _0xfc_cld global _0xfd_std global _0xfe...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic6_6.adb
best08618/asylo
7
2571
<reponame>best08618/asylo -- { dg-do compile } -- { dg-options "-fdump-tree-gimple" } with Atomic6_Pkg; use Atomic6_Pkg; procedure Atomic6_6 is Temp : Integer; begin Counter(1) := Counter(2); Timer(1) := Timer(2); Counter(1) := Int(Timer(1)); Timer(1) := Integer(Counter(1)); Temp := Integer(Counter(1)...
COMP 3350 - Assembly & Comp Org/lab6/Win32Asm/Win32Asm/main.asm
Skyfox64/auburn-csse
1
29895
; ; <NAME> ; ; Answers to Lab Questions: ; 1. It is a lowercase i, for information, in a blue circle ; 2. MB_ICONASTERISK ; MB_ICONINFORMATION ; 3. DispatchMessage: Dispatches a message to a window procedure. ; It is typically used to dispatch a message retrieved by the GetMessage function. ; 4. stdcall: This is...
src/utm.agda
shinji-kono/automaton-in-agda
0
2139
module utm where open import turing open import Data.Product -- open import Data.Bool open import Data.List open import Data.Nat open import logic data utmStates : Set where reads : utmStates read0 : utmStates read1 : utmStates read2 : utmStates read3 : utmStates read4 : utmStates r...
archive/agda-3/src/Test/Surjcollation.agda
m0davis/oscar
0
7297
<filename>archive/agda-3/src/Test/Surjcollation.agda open import Everything {- open import Oscar.Prelude open import Oscar.Class.HasEquivalence open import Oscar.Class.Symmetrical open import Oscar.Data.Fin open import Oscar.Data.Term open import Oscar.Data.Substitunction open import Oscar.Data.Proposequality open imp...
src/Categories/Diagram/Pushout.agda
Trebor-Huang/agda-categories
5
15812
{-# OPTIONS --without-K --safe #-} open import Categories.Category.Core using (Category) module Categories.Diagram.Pushout {o ℓ e} (C : Category o ℓ e) where open Category C open HomReasoning open Equiv open import Categories.Morphism.Reasoning C as Square renaming (glue to glue-square) hiding (id-unique) open i...
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/___fsgt_callee.asm
Frodevan/z88dk
640
14456
SECTION code_fp_math32 PUBLIC ___fsgt_callee EXTERN cm32_sdcc___fsgt_callee defc ___fsgt_callee = cm32_sdcc___fsgt_callee
src/main/fragment/mos6502-common/vdum1=_makelong4_(vbuaa)_(vbuyy)_(vbuxx)_(vbum2).asm
jbrandwood/kickc
2
94619
<reponame>jbrandwood/kickc sta {m1} sty {m1}+1 stx {m1}+2 lda {m2} sta {m1}+3
programs/oeis/140/A140371.asm
neoneye/loda
22
171734
; A140371: Primes of the form 26k + 7. ; 7,59,137,163,241,293,397,449,631,683,709,761,787,839,1021,1151,1229,1307,1489,1567,1619,1697,1723,1801,1879,1931,2087,2113,2243,2269,2347,2399,2477,2503,2633,2659,2711,2789,2971,3023,3049,3257,3361,3413,3491,3517,3673,3803,3881,3907,4219,4271,4297,4349,4583,4817,4973,4999,5051,5...
SystemT.agda
ayberkt/system-t-normalization
3
3361
<filename>SystemT.agda open import Data.List using (List; _∷_; []) open import Data.Product using (_×_; _,_; Σ) open import Data.Unit using (⊤; tt) open import Relation.Binary.PropositionalEquality using (_≡_) module SystemT where data _∈_ {A : Set} : (x : A) (l : List A) → Set where -- type \in i0 : {x :...
src/svd/sam_svd-dwt.ads
Fabien-Chouteau/samd51-hal
1
16887
pragma Style_Checks (Off); -- This spec has been automatically generated from ATSAMD51G19A.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package SAM_SVD.DWT is pragma Preelaborate; --------------- -- Registers -- --------------- subtype DWT_CTRL_POSTPRESET_Field is HAL.UInt...
Classes/text/multiline.applescript
looking-for-a-job/applescript-examples
1
2848
<gh_stars>1-10 set s to "1 2 3 4"
Examples/interprocess-communication/pipedemo4.asm
agguro/linux-nasm
6
165517
;name : pipedemo4.asm ; ;build : nasm -felf64 pipedemo4.asm z -o pipedemo4.o ; ld -s -melf_x86_64 -o pipedemo4 pipedemo4.o ; ;description : A demonstration on pipes based on an example from Beej's Guide to IPC ; Here the program opens the write end of the pipe, writes da...
src/lv-vdb.ads
Fabien-Chouteau/ada-lvlg
3
9048
<filename>src/lv-vdb.ads with Lv.Area; with Lv.Color; with System; package Lv.Vdb is type Vdb_T is record Area : aliased Lv.Area.Area_T; Buf : access Lv.Color.Color_T; end record; pragma Convention (C_Pass_By_Copy, Vdb_T); -- Get the 'vdb' variable or allocate one in LV_VDB_DOUBLE mode -...
oeis/192/A192232.asm
neoneye/loda-programs
11
10038
; A192232: Constant term of the reduction of n-th Fibonacci polynomial by x^2 -> x+1. (See Comments.) ; Submitted by <NAME> ; 1,0,2,1,6,7,22,36,89,168,377,756,1630,3353,7110,14783,31130,65016,136513,285648,599041,1254456,2629418,5508097,11542854,24183271,50674318,106173180,222470009,466131960,976694489,2046447180,4287...
formalization/progress.agda
ivoysey/Obsidian
79
15860
open import Silica open import HeapProperties open import Data.List.Membership.DecSetoid ≡-decSetoid open import Data.List.Relation.Unary.Any open TypeEnvContext ------------ Lemmas -------------- -- If an expression is well-typed in Δ, then all locations in the expression are in Δ. locationsInExprAreInContext : ∀ ...
c/80C51/keypros/v1/main.asm
BoKoIsMe/J1900_FreeBSD
0
82279
<reponame>BoKoIsMe/J1900_FreeBSD<gh_stars>0 ;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 3.5.0 #9253 (Apr 3 2018) (Linux) ; This file was generated Wed Aug 26 20:55:47 2020 ;-------------------------------------------------------- .modul...
engine/battle/decrement_pp.asm
AmateurPanda92/pokemon-rby-dx
9
3896
DecrementPP: ; after using a move, decrement pp in battle and (if not transformed?) in party ld a, [de] cp STRUGGLE ret z ; if the pokemon is using "struggle", there's nothing to do ; we don't decrement PP for "struggle" ld hl, wPlayerBattleStatus1 ld a, [hli] ; load t...
programs/oeis/106/A106434.asm
neoneye/loda
22
171522
<gh_stars>10-100 ; A106434: The (1,1)-entry of the matrix A^n, where A = [0,1;2,3]. ; 0,2,6,22,78,278,990,3526,12558,44726,159294,567334,2020590,7196438,25630494,91284358,325114062,1157910902,4123960830,14687704294,52311034542,186308512214,663547605726,2363259841606,8416874736270,29977143892022,106765181148606,38024983...
src/PJ/drivekit/vram/vramcmap.asm
AnimatorPro/Animator-Pro
119
164890
include vram.i _text segment para public use32 'code' assume cs:CGROUP ;void vram_set_colors(void *v, int startix, int count, Color *cmap); public vram_set_colors vram_set_colors proc near jscp struc ;vram_set_colors parameter structure jsc_ebp dd ? jsc_ret dd ? jsc_v dd ? jsc_startix dd ? jsc_co...
test/Succeed/ShadowingLetWithLet.agda
cruhland/agda
1,989
5751
postulate A : Set record R : Set where constructor r field f : A test : R → R test x = let r a = x foo : R → A foo x = let r a = x in a in r (foo (r a))
test/Fail/Issue1523c.agda
shlevy/agda
3
6594
<gh_stars>1-10 -- Andreas, 2015-05-28 open import Common.Size fix : ∀ {C : Size → Set} → (∀ i → (∀ (j : Size< i) → C j) → C i) → ∀ i → C i fix t i = t i λ (j : Size< i) → fix t j -- Expected error: -- Possibly empty type of sizes (Size< i) -- when checking that the expression λ (j : Size< i) → fix t j has -- type (j...
source/a-refere.adb
ytomino/drake
33
30022
with Ada.Unchecked_Conversion; with System; package body Ada.References is pragma Suppress (All_Checks); package body Generic_Slicing is function Constant_Slice ( Item : aliased Array_Type; First : Index_Type; Last : Index_Type'Base) return Constant_Reference_Type is ...
orka/src/orka/interface/orka-jobs-system.ads
onox/orka
52
30212
<filename>orka/src/orka/interface/orka-jobs-system.ads<gh_stars>10-100 -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 onox <<EMAIL>> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of...
Revisions/RASD/Alloy/Alloy_MyTaxiService_v0.6.als
leontur/myTaxyService
0
5349
////////////////////////////////////////////////////////////////////////////////////// // // *MY TAXI SERVICE* // *ALLOY * // // <NAME> - <NAME> // // POLITECNICO DI MILANO - AY 15/16 ...
kv-avm-ini.ads
davidkristola/vole
4
29065
<reponame>davidkristola/vole<gh_stars>1-10 with Ada.Finalization; with kv.avm.Line_Parser; with kv.avm.Tuples; package kv.avm.Ini is type Settings_Type is new Ada.Finalization.Controlled and kv.avm.Line_Parser.Parse_Line_Interface with private; overriding procedure Initialize (Self : in out Settings_Type); ...
json-parser_machine-transitions.adb
annexi-strayline/ASAP-JSON
1
583
<reponame>annexi-strayline/ASAP-JSON<gh_stars>1-10 ------------------------------------------------------------------------------ -- -- -- JSON Parser/Constructor -- -- ...
src/main/antlr/com/deflatedpickle/red/RedLexer.g4
DeflatedPickles-Old-Repositories/intellij-red
0
440
<filename>src/main/antlr/com/deflatedpickle/red/RedLexer.g4<gh_stars>0 /* Lexer */ lexer grammar RedLexer; TITLE: 'Red' '/System'?; OPTION: 'Title' | 'Purpose' | 'Author' | 'File' | 'Version' | 'Date' | 'Rights' | 'License' | 'History' | 'Tabs' | 'Note' | 'Notes' | 'Note(s)'; ASSIGN: ':'; TYPE: ('a...
oeis/152/A152717.asm
neoneye/loda-programs
11
173886
<reponame>neoneye/loda-programs ; A152717: Triangle T(n,k) read by rows: T(n,k) = 5^min(k, n-k) = 5^A004197(n,k). ; Submitted by <NAME> ; 1,1,1,1,5,1,1,5,5,1,1,5,25,5,1,1,5,25,25,5,1,1,5,25,125,25,5,1,1,5,25,125,125,25,5,1,1,5,25,125,625,125,25,5,1,1,5,25,125,625,625,125,25,5,1,1,5,25,125,625,3125,625,125,25,5,1 lpb $...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_7902_997.asm
ljhsiun2/medusa
9
6689
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_7902_997.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r8 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x13f3c, %r15 nop sub $59035, %rbp...
tests/test4bg.asm
dasien/mfc6502
0
101975
<reponame>dasien/mfc6502<gh_stars>0 ; Test for absolute addressing LDA #01 ; end of line comment STA $c000 LDA #02 ADC $c000
programs/oeis/049/A049453.asm
karttu/loda
1
90979
<reponame>karttu/loda<gh_stars>1-10 ; A049453: Second pentagonal numbers with even index: a(n) = n*(6*n+1). ; 0,7,26,57,100,155,222,301,392,495,610,737,876,1027,1190,1365,1552,1751,1962,2185,2420,2667,2926,3197,3480,3775,4082,4401,4732,5075,5430,5797,6176,6567,6970,7385,7812,8251,8702,9165,9640,10127,10626,11137,11660,...
scripts/volume/value.scpt
katsuma/itunes-client
12
2026
tell application "iTunes" return sound volume end tell
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_299.asm
ljhsiun2/medusa
9
246015
.global s_prepare_buffers s_prepare_buffers: push %r10 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1afe0, %rsi lea addresses_A_ht+0x145b5, %rdi clflush (%rdi) add $12351, %r10 mov $17, %rcx rep movsq nop and %rbx, %rbx lea addresses_WT_ht+0x1e1e0, %rsi lea addresses_UC_ht+0x162e0, %rdi add %r...
test/Fail/AbsToConDecl.agda
shlevy/agda
1,989
10819
<filename>test/Fail/AbsToConDecl.agda module AbsToConDecl where x where data D (A : Set) : Set where c : D A
regtests/systems/util-systems-os-tests.adb
RREE/ada-util
60
15147
----------------------------------------------------------------------- -- util-systems-os-tests -- Unit tests for OS specific operations -- Copyright (C) 2014, 2015, 2016, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file ...
oeis/104/A104045.asm
neoneye/loda-programs
11
87518
; A104045: Numbers n such that n9 is prime and n is a multiple of ten. ; Submitted by <NAME> ; 10,40,50,70,80,100,110,140,160,170,230,260,290,310,320,370,440,490,500,520,530,670,710,730,800,820,860,910,920,1000,1070,1090,1190,1210,1240,1280,1300,1310,1330,1370,1400,1580,1720,1750,1760,1790,1900,1930,1960,1970,2050,2080...