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
terminal/ssh_multiple.scpt
jantrienes/dotfiles
0
1182
set hostnames to {"hosta", "hostb", "hostc", "hostd"} if application "iTerm" is running then tell application "iTerm" create window with default profile tell current tab of current window select tell current session -- make the window fullscreen tell application "System Events" to key code 36 using...
src/gnat/csets.ads
Letractively/ada-gen
0
980
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
Programming for Embedded Systems/Labs/Lab 2/Task 3/Task 3/main.asm
sathwikkannam/courses-HKR
0
246418
<reponame>sathwikkannam/courses-HKR ; ; Task 3.asm ; ; Created: 2022-02-23 14:11:05 ; Author : SAKA0191 ;Write a short program that adds two integer values, where the sum is less ;than or equal to 9, and display the result on a 7-segment display .include "m328pdef.inc" .equ zero = 0 .equ one...
src/cli.adb
psyomn/ash
11
20278
<reponame>psyomn/ash<filename>src/cli.adb -- Copyright 2019 <NAME> (psyomn) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- ...
programs/oeis/130/A130145.asm
neoneye/loda
22
87074
<filename>programs/oeis/130/A130145.asm ; A130145: Number of nonisomorphic orthogonal arrays OA(n,4,2,2)'s when n is not a multiple of 8. ; 1,3,7,15,28,48,79,123,184,268,379,523,709,943,1234,1594,2032,2560,3194,3946,4832,5872,7082,8482,10097 mov $3,$0 add $3,1 mov $5,$0 lpb $3 mov $0,$5 sub $3,1 sub $0,$3 mov ...
library/lists/indexOfListItem.applescript
NYHTC/applescript-fm-helper
1
3022
<reponame>NYHTC/applescript-fm-helper<filename>library/lists/indexOfListItem.applescript -- indexOfListItem(prefs) -- <NAME> http://www.danshockley.com -- Returns the index of the first intance of an item in the list (* HISTORY: 1.1 - 2017-06-21 ( eshagdar ): convert params to record 1.0 - created *) on run inde...
alloy4fun_models/trashltl/models/9/TrgAqiXfCH6gdWc23.als
Kaixi26/org.alloytools.alloy
0
3616
<reponame>Kaixi26/org.alloytools.alloy open main pred idTrgAqiXfCH6gdWc23_prop10 { all p: Protected | p'=p } pred __repair { idTrgAqiXfCH6gdWc23_prop10 } check __repair { idTrgAqiXfCH6gdWc23_prop10 <=> prop10o }
test/asset/agda-stdlib-1.0/Data/Vec/Relation/Binary/Equality/Propositional.agda
omega12345/agda-mode
0
11131
<filename>test/asset/agda-stdlib-1.0/Data/Vec/Relation/Binary/Equality/Propositional.agda ------------------------------------------------------------------------ -- The Agda standard library -- -- Vector equality over propositional equality ------------------------------------------------------------------------ {-# ...
smsq/smsq/reset.asm
olifink/smsqe
0
246481
<gh_stars>0 ; SMSQ_RESET SMSQ standard hard and soft resets V2.0  2000 <NAME> xdef smsq_sreset xdef smsq_hreset xdef smsq_xreset include 'dev8_smsq_smsq_base_keys' section reset ; To suppress resets globally, just replace these routines by a return smsq_sreset lea -1,a4 ; set all RAM ; ; special entry...
linux32/libs/game.asm
amittaigames/asmgame
0
91760
; Game code ; Linux 32 bit ;----------------------------------- ; int nameEasterEgg() ;----------------------------------- ;nameEasterEgg: ;mov eax, name ;mov ebx, egg_name ;call strcmp ;ret
Cats/Category/Constructions/Equalizer.agda
alessio-b-zak/cats
0
5936
<gh_stars>0 module Cats.Category.Constructions.Equalizer where open import Level open import Cats.Category.Base open import Cats.Util.Conv import Cats.Category.Constructions.Mono as Mono import Cats.Category.Constructions.Unique as Unique module Build {lo la l≈} (Cat : Category lo la l≈) where private open modu...
src/ado-sequences-hilo.adb
My-Colaborations/ada-ado
0
23211
----------------------------------------------------------------------- -- ADO Sequences -- Database sequence generator -- Copyright (C) 2009, 2010, 2011, 2012, 2018 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in co...
programs/oeis/030/A030662.asm
jmorken/loda
1
89812
<reponame>jmorken/loda<gh_stars>1-10 ; A030662: Number of combinations of n things from 1 to n at a time, with repeats allowed. ; 1,5,19,69,251,923,3431,12869,48619,184755,705431,2704155,10400599,40116599,155117519,601080389,2333606219,9075135299,35345263799,137846528819,538257874439,2104098963719,8233430727599,3224760...
tp_01_04/ej1_4.asm
mjFer/TDIII-UTN-FRBA-TPS-2014
2
172249
<gh_stars>1-10 ; Trabajo Practico 1 - EJ 4 ; ; ; ; Alumno: <NAME> ; ; Legajo: 1403734 ...
programs/oeis/163/A163714.asm
jmorken/loda
1
161594
<filename>programs/oeis/163/A163714.asm ; A163714: Number of n X 2 binary arrays with all 1s connected, a path of 1s from top row to bottom row, and no 1 having more than two 1s adjacent. ; 3,7,10,16,26,42,68,110,178,288,466,754,1220,1974,3194,5168,8362,13530,21892,35422,57314,92736,150050,242786,392836,635622,1028458,...
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca_notsx.log_21829_1346.asm
ljhsiun2/medusa
9
174951
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x19361, %rsi lea addresses_normal_ht+0x14fe1, %rdi nop nop nop nop and %r14, %r14 mov $22, %rcx rep movsq nop xor %rdx, %rdx lea addresses_A_ht+0x19ef1, %rsi l...
lib/tiles-2x2.asm
c64lib/text
1
91952
<reponame>c64lib/text #import "tiles-common.asm" #import "tiles-screen-shift.asm" #import "tiles-color-ram-shift.asm" #import "common/lib/math.asm" #import "common/lib/mem.asm" #importonce .filenamespace c64lib /* * Config record for 2x2 tile scrollable playfield. */ .struct Tile2Config { // start text row of ...
src/ow_parserDeclareVar_showOverwrite.asm
szapp/Ninja
17
4201
<gh_stars>10-100 ; Overwrite error message during parsing in zCParser::DeclareVar %include "inc/macros.inc" %if GOTHIC_BASE_VERSION == 1 %include "inc/symbols_g1.inc" %elif GOTHIC_BASE_VERSION == 2 %include "inc/symbols_g2.inc" %endif %ifidn __OUTPUT_FORMAT__, bin org g1g2(0x6F2113,0x79BABF) %endif ...
oeis/328/A328564.asm
neoneye/loda-programs
11
5569
; A328564: a(n) is the sum of the elements of the set A_n = {(n-k) AND k, k = 0..n} (where AND denotes the bitwise AND operator). ; Submitted by <NAME> ; 0,0,0,1,0,3,2,4,0,7,6,13,4,14,8,11,0,15,14,30,12,41,26,39,8,38,28,49,16,41,22,26,0,31,30,63,28,92,60,91,24,109,82,142,52,135,78,101,16,94,76,139,56,159,98,138,32,117,...
user/sleep.asm
frank-liang-lbm/xv6-labs-2020
0
82783
user/_sleep: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <main>: #include "kernel/types.h" #include "kernel/stat.h" #include "user.h" int main(int agrc, char *agrv[]) { 0: 1141 addi sp,sp,-16 2: e406 sd ra,8(sp) 4: e022 s...
programs/oeis/089/A089011.asm
neoneye/loda
22
20929
<filename>programs/oeis/089/A089011.asm ; A089011: a(n) = 1 if n is an exponent of the Weyl group W(E_7), 0 otherwise. ; 1,0,0,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0...
Assembler/AssemblyCode/WHILE_LOOP.asm
KPU-RISC/KPU
8
28066
<reponame>KPU-RISC/KPU<filename>Assembler/AssemblyCode/WHILE_LOOP.asm ; Initial value MOV D, 4 ; Decrement D :LOOP DEC D ; Conditional Jump if the Zero-Flag from the ALU is not 1 ; The jump goes to the instruction "DEC D" JNZ :LOOP ; Write register D to the Output Port OUTB D ; Stops the CPU execution HLT
tasks/data/ret4bytes.asm
yds12/x86-roadmap
15
90113
<reponame>yds12/x86-roadmap ; In this program we use addressing from a memory location plus a displacement ; to get specific portions of data from the .data section. global asm_func section .data a_byte db 0x0f, 0x0e, 0x0d, 0x0c section .text asm_func: mov rax, -1 mov al, [rel a_byte] ; retrieves the data ...
src/frontend/Experimental_Ada_ROSE_Connection/parser/support/source/indented_text.ads
ouankou/rose
488
30665
<gh_stars>100-1000 -- At the beginning of each line, puts out white space relative to the -- current indent. Emits Wide text: package Indented_Text is -------------------------------------------------------- -- Trace routines emit no output when Trace_On is False. At the moment, -- Indented_Text.Class outpu...
test/asset/agda-stdlib-1.0/Relation/Binary/Properties/DecTotalOrder.agda
omega12345/agda-mode
0
13737
<reponame>omega12345/agda-mode<gh_stars>0 ------------------------------------------------------------------------ -- The Agda standard library -- -- Properties satisfied by decidable total orders ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import R...
oeis/185/A185309.asm
neoneye/loda-programs
11
89437
; A185309: a(0)=0, a(1)=0; for n>1, a(n) = a(n-1) + (n+1)*a(n-2) + 1. ; Submitted by <NAME> ; 0,0,1,2,8,21,78,247,950,3421,13872,54925,235262,1004213,4533144,20600553,97664002,468473957,2324089996,11693569137,60499459054,317757980069,1709245538312,9335437059969,52066575517770,294787939076965,1700585478056756,9954647772...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_1344.asm
ljhsiun2/medusa
9
98767
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_1344.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0xe341, %rsi nop nop nop sub $33601, %rbx movb $0x61, (%rsi) and $5...
src/asf-contexts-writer-string.adb
Letractively/ada-asf
0
454
----------------------------------------------------------------------- -- writer.string -- A simple string writer -- 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 compliance with the...
tools/scitools/conf/understand/ada/ada95/a-interr.ads
brucegua/moocos
1
732
------------------------------------------------------------------------------ -- -- -- GNAT RUNTIME COMPONENTS -- -- -- -- ...
libs/context/src/asm/ontop_x86_64_ms_pe_gas.asm
metux/boost
2
90392
<gh_stars>1-10 /* Copyright <NAME> 2009. Copyright <NAME> 2013. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) */ /***********************************************************...
oeis/021/A021871.asm
neoneye/loda-programs
11
88530
; A021871: Decimal expansion of 1/867. ; 0,0,1,1,5,3,4,0,2,5,3,7,4,8,5,5,8,2,4,6,8,2,8,1,4,3,0,2,1,9,1,4,6,4,8,2,1,2,2,2,6,0,6,6,8,9,7,3,4,7,1,7,4,1,6,3,7,8,3,1,6,0,3,2,2,9,5,2,7,1,0,4,9,5,9,6,3,0,9,1,1,1,8,8,0,0,4,6,1,3,6,1,0,1,4,9,9,4,2 add $0,1 mov $2,10 pow $2,$0 mov $0,$2 div $0,867 mod $0,10
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline1_pkg.ads
best08618/asylo
7
9934
package Inline1_Pkg is function Valid_Real (Number : Float) return Boolean; pragma Inline_Always (Valid_Real); function Invalid_Real return Float; pragma Inline_Always (Invalid_Real); end Inline1_Pkg;
test/Succeed/Issue2641/Import.agda
shlevy/agda
1,989
11454
<reponame>shlevy/agda module Issue2641.Import where open import Agda.Builtin.Nat five : Nat five = 5
src/test/resources/data/searchtests/test13-expected.asm
cpcitor/mdlz80optimizer
0
103237
<gh_stars>0 ld ix, 1234 ld (ix + 0), 1 ld (ix + 2), 2
oeis/052/A052979.asm
neoneye/loda-programs
11
246211
<gh_stars>10-100 ; A052979: Expansion of (1-x)(1+x)/(1-2*x-3*x^2+2*x^4). ; Submitted by <NAME> ; 1,2,6,18,52,154,452,1330,3912,11506,33844,99546,292800,861226,2533164,7450914,21915720,64461730,189604292,557691946,1640365328,4824883034,14191653468,41742572146,122779374040,361136698450,1062228212084 mov $2,1 lpb $0 su...
programs/oeis/109/A109110.asm
neoneye/loda
22
243399
<reponame>neoneye/loda<filename>programs/oeis/109/A109110.asm ; A109110: a(n) = 2a(n-1) + a(n-2) - a(n-3); a(0)=4, a(1)=9, a(2)=20. ; 4,9,20,45,101,227,510,1146,2575,5786,13001,29213,65641,147494,331416,744685,1673292,3759853,8448313,18983187,42654834,95844542,215360731,483911170,1087338529,2443227497,5489882353,123356...
src/dds-request_reply.ads
alexcamposruiz/dds-requestreply
0
26015
with DDS.DomainParticipantListener; with DDS.Treats_Generic; with DDS.Entity; with DDS.DomainParticipant; with DDS.TopicListener; with DDS.Topic; with DDS.DomainParticipantFactory; package DDS.Request_Reply is type Ref is limited interface; type Ref_Access is access all Ref'Class; procedure DDSLog_Exception ...
s3/music/Menu.asm
Cancer52/flamedriver
9
168597
Snd_Menu_Header: smpsHeaderStartSong 3 smpsHeaderVoiceUVB smpsHeaderChan $06, $03 smpsHeaderTempo $01, $40 smpsHeaderDAC Snd_Menu_DAC smpsHeaderFM Snd_Menu_FM1, $0C, $12 smpsHeaderFM Snd_Menu_FM2, $0C, $19 smpsHeaderFM Snd_Menu_FM3, $0C, $19 smpsHeaderFM Snd_Menu_FM4...
rts/gcc-9/adainclude/s-intimg.ads
letsbyteit/build-avr-ada-toolchain
7
6582
------------------------------------------------------------------------------ -- -- -- S Y S T E M . I N T _ I M G -- -- -- -- ...
Kernel/asm/keyboard.asm
MarinaFuster/os-core
0
176824
<filename>Kernel/asm/keyboard.asm<gh_stars>0 GLOBAL getPressedKey section .text ;------------------------------------------------------------ ; Funcion que toma del puerto 60h la tecla presionada al ; registro al para que sea recibido por el driver de teclado ; como char ;-------------------------------------...
libsrc/balloc/ba_AddMem.asm
meesokim/z88dk
0
102018
; CALLER linkage for function pointers PUBLIC ba_AddMem EXTERN BAAddMem .ba_AddMem ld hl,8 add hl,sp ld c,(hl) dec hl dec hl ld b,(hl) dec hl ld d,(hl) dec hl ld e,(hl) dec hl ld a,(hl) dec hl ld l,(hl) ld h,a jp BAAddMem
Library/Text/TextLine/tlHyphenation.asm
steakknife/pcgeos
504
80518
<reponame>steakknife/pcgeos<filename>Library/Text/TextLine/tlHyphenation.asm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: tlHyphenation.asm AUTHOR: <NAME>, Sep 24, 1992 ROUTINES: Name...
libsrc/_DEVELOPMENT/stdlib/c/sdcc_iy/strtof.asm
meesokim/z88dk
0
88575
<gh_stars>0 ; float strtof(const char *nptr, char **endptr) SECTION code_stdlib PUBLIC _strtof EXTERN _strtod defc _strtof = _strtod
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_894.asm
ljhsiun2/medusa
9
16512
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x1ed39, %rsi lea addresses_normal_ht+0x105dd, %rdi nop nop nop sub $11691, %r15 mov $51, %rcx rep movsb cmp $41342, %r10 lea addresses_normal_ht+0x1a...
Tests/test.asm
JustoSenka/8086-16-Bit-Disassembler
0
9289
<reponame>JustoSenka/8086-16-Bit-Disassembler .MODEL small .STACK 100h .data .code ; proc _memcpy push bp ; Set up the call frame mov bp,sp push es ; Save ES mov cx,[bp+6] ; Set CX = len jcxz done ; If len = 0, return mov si,[bp+4] ; Set SI = src mov di,[bp+2] ; Set DI = dst push ...
programs/oeis/286/A286577.asm
neoneye/loda
22
172209
<gh_stars>10-100 ; A286577: If n = 3k-1 then a(n) = a(k), otherwise a(n) = n. ; 0,1,1,3,4,1,6,7,3,9,10,4,12,13,1,15,16,6,18,19,7,21,22,3,24,25,9,27,28,10,30,31,4,33,34,12,36,37,13,39,40,1,42,43,15,45,46,16,48,49,6,51,52,18,54,55,19,57,58,7,60,61,21,63,64,22,66,67,3,69,70,24,72,73,25,75,76,9,78,79,27,81,82,28,84,85,10,8...
programs/oeis/329/A329494.asm
karttu/loda
1
165807
; A329494: Numerator of 2*(2*n+1)/(n+2). ; 1,2,5,14,3,22,13,10,17,38,7,46,25,18,29,62,11,70,37,26,41,86,15,94,49,34,53,110,19,118,61,42,65,134,23,142,73,50,77,158,27,166,85,58,89,182,31,190,97,66,101,206,35,214,109,74,113,230,39,238,121 mov $2,$0 add $0,1 mov $1,$2 add $1,$2 add $1,$0 add $1,$0 mul $2,3 gcd $2,$1 sub ...
oeis/119/A119829.asm
neoneye/loda-programs
11
176921
; A119829: Diagonal sum of number triangle A119828. ; Submitted by <NAME> ; 1,2,25,732,40681,3648990,480817681,87417943256,20966398997041,6412838733766170,2436104066933508841,1125217445576328664692,621010503476937955204825,403601732164215102065708342 mov $2,1 mov $3,$0 mov $4,1 lpb $3 add $1,$4 cmp $1,0 mul $2,$...
Task/Bitmap-Flood-fill/Ada/bitmap-flood-fill-1.ada
LaudateCorpus1/RosettaCodeData
1
20977
<filename>Task/Bitmap-Flood-fill/Ada/bitmap-flood-fill-1.ada procedure Flood_Fill ( Picture : in out Image; From : Point; Fill : Pixel; Replace : Pixel; Distance : Luminance := 20 ) is function Diff (A, B : Luminance) return Luminanc...
b2stest/b2stest.adb
lkujaw/ada-blake2
1
9214
<reponame>lkujaw/ada-blake2 ----------------------------------------------------------------------- -- Copyright 2021 <NAME> -- -- -- -- This file is part of B2STEST. -- -- ...
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/mul2_fastcall.asm
Frodevan/z88dk
640
96874
<gh_stars>100-1000 SECTION code_fp_math32 PUBLIC mul2_fastcall EXTERN m32_fsmul2_fastcall defc mul2_fastcall = m32_fsmul2_fastcall ; SDCC bridge for Classic IF __CLASSIC PUBLIC _mul2_fastcall defc _mul2_fastcall = m32_fsmul2_fastcall ENDIF
ga_lib/src/plane.adb
rogermc2/GA_Ada
3
13376
<gh_stars>1-10 -- Based on libgasandbox.draw.h and draw.cpp with Ada.Text_IO; use Ada.Text_IO; with GL; with GL.Attributes; with GL.Objects.Buffers; with GL.Objects.Vertex_Arrays; with GL.Rasterization; with GL.Types; use GL.Types; with Utilities; with Maths; with GA_Utilities; with Palet; with Shader_Manager; p...
test/Fail/WithoutK-PatternMatchingLambdas2.agda
KDr2/agda
0
15318
{-# OPTIONS --cubical-compatible #-} module WithoutK-PatternMatchingLambdas2 where -- Equality defined with two indices. data _≡_ {A : Set} : A → A → Set where refl : ∀ x → x ≡ x -- The --cubical-compatible option works with pattern matching lambdas. K : (A : Set) (x : A) (P : x ≡ x → Set) → P (refl x) → (p : x ≡ ...
user/echo.asm
MyBeLoVedL/xv6
0
179094
user/_echo: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <main>: 0: 7179 addi sp,sp,-48 2: f406 sd ra,40(sp) 4: f022 sd s0,32(sp) 6: ec26 sd s1,24(sp) 8: e84a sd s2,16(sp) a: e44e ...
src/firmware-tests/Platform/ShiftRegister/EnableShiftRegisterDummy.asm
pete-restall/Cluck2Sesame-Prototype
1
241617
#include "Platform.inc" radix decimal EnableShiftRegisterDummy code global enableShiftRegister enableShiftRegister: return end
asm/stackPsuh.asm
CarlosSoPe6/HanoiMIPS
0
9386
# ------ [ stackPush ] ---------------------- # # Adds a element to the stack # param $a0: Stack ref # param $a1: Data to push stackPush: lw $t0, 0($s0) # Load the stack's reference sw $a1, 0($t0) # Store at stack's reference addi $t0, $t0, -4 # $t0 = $t0 + -4 sw ...
source/tasking/a-synbar.adb
ytomino/drake
33
5221
<gh_stars>10-100 with System.Synchronous_Objects.Abortable; with System.Tasks; package body Ada.Synchronous_Barriers is procedure Do_Wait ( Object : in out Synchronous_Barrier; Notified : out Boolean; Aborted : out Boolean); procedure Do_Wait ( Object : in out Synchronous_Barrier; N...
test/Tree.agda
agda/agda2hs
55
5315
open import Haskell.Prim open import Agda.Builtin.Nat data _≤_ : Nat → Nat → Set where instance zero-≤ : ∀ {n} → zero ≤ n suc-≤ : ∀ {m n} → @0 {{m ≤ n}} → suc m ≤ suc n data Tree {l u : Nat} : Set where Leaf : @0 {{l ≤ u}} → Tree {l} {u} Node : (x : Nat) → Tree {l} {x} → Tree {x} {u} → Tree {l} {u} {-...
oeis/158/A158730.asm
neoneye/loda-programs
11
168642
<reponame>neoneye/loda-programs<filename>oeis/158/A158730.asm ; A158730: a(n) = 68*n^2 - 1. ; Submitted by <NAME> ; 67,271,611,1087,1699,2447,3331,4351,5507,6799,8227,9791,11491,13327,15299,17407,19651,22031,24547,27199,29987,32911,35971,39167,42499,45967,49571,53311,57187,61199,65347,69631,74051,78607,83299,88127,9309...
src/firmware-tests/Platform/Adc/ChannelDummies.asm
pete-restall/Cluck2Sesame-Prototype
1
99749
#include "Platform.inc" radix decimal ChannelDummies code global setAdcChannel global releaseAdcChannel setAdcChannel: releaseAdcChannel: return end
languages/42/examples/test_problem.asm
c3333/sphereengine-languages
5
27130
global _start section .data buffer dw 0h section .text _start: mov ecx, buffer mov edx, 02h call read mov cx, word [buffer] cmp cx, 3234h je exit cmp ch, 0ah je one_dig jmp two_dig one_dig: mov ecx, buffer mov edx, 02h call write jmp _start two_dig: mov ecx, buffer mov edx, 02h call...
start.asm
cknave/wolol
2
20958
<gh_stars>1-10 bits 64 extern exit, main section .text global _start _start: mov rdi, [rsp] lea rsi, [rsp+8] call main mov rdi, rax jmp exit
Universe/Sun/SunApplyMyRollAndPitch.asm
ped7g/EliteNext
0
17590
; Full version ; 1. K2 = y - alpha * x ; 2. z = z + beta * K2 ; 3. y = K2 - beta * z ; 4. x = x + alpha * y ; SunrollWork holds Alpha intermidate results SunRollResult: DS 3 ; equivalent of K SunRollResultp1 equ SunRollResult SunRollResultp2 equ SunRollResul...
topic/source/Topic.applescript
FradSer/automation-omnifocus-3
11
2731
(* Topic.applescript By <NAME> of [Hello from FradSer](http://fradser.me). See README for details. *) -- PROPS property isNotify : false property scriptSuiteName : "Frad's Scripts" -- MAIN set newTopic to missing value tell application "OmniFocus" tell front document tell content of document window 1 set an...
orka/src/orka/windows/orka-os.ads
onox/orka
52
29908
<reponame>onox/orka -- 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 the License at -- -- http://www.apache.org/li...
test/Succeed/Issue1652-2.agda
shlevy/agda
0
12265
{- Example by Andreas (2015-09-18) -} {-# OPTIONS --rewriting --local-confluence-check #-} open import Common.Prelude open import Common.Equality {-# BUILTIN REWRITE _≡_ #-} module _ (A : Set) where postulate plus0p : ∀{x} → (x + zero) ≡ x {-# REWRITE plus0p #-}
ZORTON.reko/ZORTON_142E.asm
0xLiso/dePIXELator
0
98305
;;; Segment 142E (142E:0000) 142E:0000 47 E2 C2 07 1F 5F 5E 5A 59 8B E5 5D C9 CB C8 0A G...._^ZY..].... 142E:0010 00 00 68 01 80 1E 68 E8 20 9A 15 36 00 08 83 C4 ..h...h. ..6.... 142E:0020 06 89 46 FE 83 7E FE FF 75 0C 1E 68 E8 20 9A F3 ..F..~..u..h. .. 142E:0030 03 3F 26 83 C4 04 6A 00 66 6A 04 FF 76 FE 9A AB .?&...j....
server-core/src/main/java/io/onedev/server/search/entity/issue/IssueQuery.g4
programlife555/onedev
0
1799
grammar IssueQuery; query : WS* (criteria|All) WS* (WS OrderBy WS+ order (WS+ And WS+ order)* WS*)? EOF | WS* OrderBy WS+ order (WS+ And WS+ order)* WS* EOF | WS* EOF ; criteria : operator=(Mine|Outstanding|Closed|SubmittedByMe) #OperatorCriteria | operator=(SubmittedBy|FixedInBuild) WS+ crite...
src/base/commands/util-commands.ads
RREE/ada-util
60
11606
----------------------------------------------------------------------- -- util-commands -- Support to make command line tools -- Copyright (C) 2017, 2018, 2019 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in complia...
programs/oeis/267/A267587.asm
neoneye/loda
22
19459
<reponame>neoneye/loda<filename>programs/oeis/267/A267587.asm ; A267587: Middle column of the "Rule 169" elementary cellular automaton starting with a single ON (black) cell. ; 1,0,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1...
programs/oeis/212/A212959.asm
neoneye/loda
22
86591
; A212959: Number of (w,x,y) such that w,x,y are all in {0,...,n} and |w-x| = |x-y|. ; 1,4,11,20,33,48,67,88,113,140,171,204,241,280,323,368,417,468,523,580,641,704,771,840,913,988,1067,1148,1233,1320,1411,1504,1601,1700,1803,1908,2017,2128,2243,2360,2481,2604,2731,2860,2993,3128,3267 mov $1,6 mul $1,$0 add $1,8 mul $...
test/asset/agda-stdlib-1.0/Data/Digit.agda
omega12345/agda-mode
0
2029
<gh_stars>0 ------------------------------------------------------------------------ -- The Agda standard library -- -- Digits and digit expansions ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} module Data.Digit where open import Data.Nat using (ℕ; zero; ...
oeis/176/A176806.asm
neoneye/loda-programs
11
90606
; A176806: Consider asymmetric 1-D random walk with set of possible jumps {-1,+1,+2}. Sequence gives number of paths of length n ending at origin. ; Submitted by <NAME> ; 1,0,2,3,6,20,35,105,238,588,1512,3630,9339,23166,58487,148148,373230,949416,2406248,6122142,15591856,39729000,101432982,259049230,662421643,169514922...
src/driver.adb
eyeonechi/invalid-behaviour-conservative-analysis
0
17883
<gh_stars>0 with Instruction; use Instruction; with Machine; use Machine; with Debug; use Debug; procedure Driver with SPARK_Mode is Prog : Program := (others => (Op => NOP)); Code : ReturnCode; Result : Integer; HasInvalidBehaviour : Boolean; begin -- initialise the random number generators used to gen...
oeis/124/A124725.asm
neoneye/loda-programs
11
10357
; A124725: Triangle read by rows: T(n,k) = binomial(n,k) + binomial(n,k+2) (0 <= k <= n). ; Submitted by <NAME> ; 1,1,1,2,2,1,4,4,3,1,7,8,7,4,1,11,15,15,11,5,1,16,26,30,26,16,6,1,22,42,56,56,42,22,7,1,29,64,98,112,98,64,29,8,1,37,93,162,210,210,162,93,37,9,1,46,130,255,372,420,372,255,130,46,10,1,56,176,385,627,792,792...
src/API/protypo-api-consumers-buffers.adb
fintatarta/protypo
0
25316
<reponame>fintatarta/protypo<filename>src/API/protypo-api-consumers-buffers.adb pragma Ada_2012; with Ada.Unchecked_Deallocation; package body Protypo.Api.Consumers.Buffers is ------------- -- Process -- ------------- overriding procedure Process (Consumer : in out Buffer; Parameter : String) is be...
kernel/asm_x86_64/irq_stub.asm
BrownieOS/lux
2
104311
;; lux OS kernel ;; copyright (c) 2018 by <NAME> format elf64 use64 section '.text' macro irq_enter { cli push rax push rbx push rcx push rdx push rsi push rdi push rbp push r8 push r9 push r10 push r11 push r12 push r13 push r14 push r15 } macro irq_exit { pop r15 pop r14 pop r13 pop r12 pop ...
oeis/314/A314899.asm
neoneye/loda-programs
11
161756
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A314899: Coordination sequence Gal.6.153.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; Submitted by <NAME> ; 1,5,9,14,19,24,29,34,39,44,49,53,58,63,67,72,77,82,87,92,97,102,107,11...
libsrc/_DEVELOPMENT/adt/b_vector/c/sccz80/b_vector_capacity.asm
jpoikela/z88dk
640
1696
<filename>libsrc/_DEVELOPMENT/adt/b_vector/c/sccz80/b_vector_capacity.asm ; size_t b_vector_capacity(b_vector_t *v) SECTION code_clib SECTION code_adt_b_vector PUBLIC b_vector_capacity EXTERN asm_b_vector_capacity defc b_vector_capacity = asm_b_vector_capacity ; SDCC bridge for Classic IF __CLASSIC PUBLIC _b_vect...
src/kernel/idt.asm
karlek/lapis
1
84920
bits 64 ; Interrupt Gates, interrupts are automatically disabled upon entry and reenabled upon IRET extern exception_handler extern warn_interrupt extern keyboard_handler extern mouse_handler extern ata_primary_handler extern ata_secondary_handler extern timer_handler %macro pushaq 0 push rdi push rsi push rdx p...
src/maths/rtch-maths.ads
Lucretia/raytracer_challenge
4
24822
with Ada.Numerics.Generic_Elementary_Functions; package RTCH.Maths with Pure is pragma Warnings (Off); -- Turn off "unused" warning. package Float_Elementary_Functions is new Ada.Numerics.Generic_Elementary_Functions (Float); use Float_Elementary_Functions; pragma Warnings (On); Epsilon : constant...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1926.asm
ljhsiun2/medusa
9
29340
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r15 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x3072, %rsi lea addresses_UC_ht+0xe592, %rdi nop nop nop sub $62898, %r15 mov $96, %rcx rep movsw nop nop nop nop nop add %rbx, %rbx lea addresses_D_ht+0x13a82, %rsi ...
samples/compress.adb
RREE/ada-util
60
17618
----------------------------------------------------------------------- -- compress -- Compress file using Util.Streams.Buffered.LZMA -- Copyright (C) 2019, 2021 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in ...
Cubical/Categories/Type.agda
apabepa10/cubical
0
6935
<reponame>apabepa10/cubical {-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Categories.Type where open import Cubical.Foundations.Prelude open import Cubical.Categories.Category open Precategory module _ ℓ where TYPE : Precategory (ℓ-suc ℓ) ℓ TYPE .ob = Type ℓ TYPE .Hom[_,_] A B = A → B TY...
test/Fail/Polarity-pragma-in-safe-mode.agda
cruhland/agda
1,989
9079
<reponame>cruhland/agda {-# OPTIONS --safe #-} postulate F : Set → Set {-# POLARITY F ++ #-}
test/Fail/Issue3340.agda
cruhland/agda
1,989
5405
open import Agda.Primitive open import Agda.Builtin.Equality variable ℓ : Level A : Set ℓ P : A → Set ℓ x y : A f : (x : A) → P x cong : x ≡ y → f x ≡ f y cong refl = refl
programs/oeis/124/A124350.asm
neoneye/loda
22
240250
<gh_stars>10-100 ; A124350: a(n) = 4*n*(floor(n^2/2)+1). For n>=3, this is the number of directed Hamiltonian paths on the n-prism graph. ; 0,4,24,60,144,260,456,700,1056,1476,2040,2684,3504,4420,5544,6780,8256,9860,11736,13756,16080,18564,21384,24380,27744,31300,35256,39420,44016,48836,54120,59644,65664,71940,78744,85...
Validation/pyFrame3DD-master/gcc-master/gcc/ada/eval_fat.ads
djamal2727/Main-Bearing-Analytical-Model
0
15190
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
software/hal/hal/src/hal-framebuffer.ads
TUM-EI-RCS/StratoX
12
7464
<gh_stars>10-100 with HAL.Bitmap; package HAL.Framebuffer is subtype FB_Color_Mode is HAL.Bitmap.Bitmap_Color_Mode range HAL.Bitmap.ARGB_8888 .. HAL.Bitmap.AL_88; type Display_Orientation is (Default, Landscape, Portrait); type Wait_Mode is (Polling, Interrupt); type Frame_Buffer_Display is l...
testutil/ahven/ahven-parameters.ads
Letractively/ada-util
60
11725
<reponame>Letractively/ada-util -- -- Copyright (c) 2008 <NAME> <<EMAIL>> -- -- Permission to use, copy, modify, and distribute this software for any -- purpose with or without fee is hereby granted, provided that the above -- copyright notice and this permission notice appear in all copies. -- -- THE SOFTWARE IS PROVI...
alloy4fun_models/trashltl/models/3/ncxB7SoEZQGhkAzAf.als
Kaixi26/org.alloytools.alloy
0
1487
<reponame>Kaixi26/org.alloytools.alloy open main pred idncxB7SoEZQGhkAzAf_prop4 { some f: File | eventually f in Trash } pred __repair { idncxB7SoEZQGhkAzAf_prop4 } check __repair { idncxB7SoEZQGhkAzAf_prop4 <=> prop4o }
Cubical/Algebra/Module.agda
marcinjangrzybowski/cubical
301
7450
{-# OPTIONS --safe #-} module Cubical.Algebra.Module where open import Cubical.Algebra.Module.Base public
libsrc/stdio_new/error/stdio_success_znc.asm
meesokim/z88dk
8
171423
<filename>libsrc/stdio_new/error/stdio_success_znc.asm ; stdio_success_znc ; 05.2008 aralbrec PUBLIC stdio_success_znc ; exit : hl = 0 and carry reset pop hl .stdio_success_znc ld hl,0 or a ret
source/strings/a-suenco.ads
ytomino/drake
33
7158
pragma License (Unrestricted); -- Ada 2012 package Ada.Strings.UTF_Encoding.Conversions is pragma Pure; -- Conversions between various encoding schemes function Convert ( Item : UTF_String; Input_Scheme : Encoding_Scheme; Output_Scheme : Encoding_Scheme; Output_BOM : Boolean := False...
fili-core/src/main/antlr4/com/yahoo/bard/webservice/web/havingparser/HavingsLex.g4
huangchengmin97/fili
166
3316
<filename>fili-core/src/main/antlr4/com/yahoo/bard/webservice/web/havingparser/HavingsLex.g4<gh_stars>100-1000 lexer grammar HavingsLex; options { } tokens { OPERATOR, PARAMETER, KEY, VALUE, ESCAPED_VALUE, HAVING_VALUE } // Reused from metric // Numeric value fragments fragment DOT: '.' ; fragment DIGITS : [0-9] ; ...
source/types.ads
jquorning/WeDo
1
12583
<filename>source/types.ads -- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- ----------------...
src/os/preferences/macos/set_terminal_theme.applescript
mariusmateoc/dotfiles
0
1942
<reponame>mariusmateoc/dotfiles #!/usr/bin/osascript tell application "Terminal" local allOpenedWindows local initialOpenedWindows local windowID set themeName to "Tomorrow Night" (* Store the IDs of all the open terminal windows. *) set initialOpenedWindows to id of every window (* Ope...
source/tasking/machine-w64-mingw32/s-natint.ads
ytomino/drake
33
29633
<gh_stars>10-100 pragma License (Unrestricted); -- implementation unit specialized for Windows with C; package System.Native_Interrupts is pragma Preelaborate; subtype Interrupt_Id is C.signed_int; function Is_Blocked (Interrupt : Interrupt_Id) return Boolean is (False); procedure Block (Interrupt : Int...
src/main/fragment/mos6502-common/vwum1=_word1_vdum2.asm
jbrandwood/kickc
2
98470
lda {m2}+2 sta {m1} lda {m2}+3 sta {m1}+1
src/Tactic/Nat/Subtract/Lemmas.agda
t-more/agda-prelude
0
3262
<filename>src/Tactic/Nat/Subtract/Lemmas.agda module Tactic.Nat.Subtract.Lemmas where open import Prelude open import Tactic.Nat.NF open import Tactic.Nat.Exp open import Container.Bag open import Tactic.Nat.Simpl open import Prelude.Nat.Properties open import Prelude.List.Properties open import Tactic.Nat.Auto.Lemmas...