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
c51-assembler/stack.asm
AravinthPanch/various-hardware-projects
10
3445
ORG 0000H MOV A,#255 MOV B,#10 ADD A,B MOV P0,A END
src/firmware/Platform/Lcd/EnableDisable.asm
pete-restall/Cluck2Sesame-Prototype
1
104833
#include "Platform.inc" #include "TailCalls.inc" #include "../ShiftRegister.inc" #include "../Adc.inc" #include "../Motor.inc" #include "Lcd.inc" #include "States.inc" radix decimal Lcd code global enableLcd global disableLcd global isLcdEnabled enableLcd: .safelySetBankFor enableLcdCount movf enableLcd...
src/edc_client-alpha-block1.adb
hgrodriguez/edc-client
0
9900
-- -- Copyright 2021 (C) <NAME> -- -- SPDX-License-Identifier: BSD-3-Clause -- -- private with Edc_Client.Alpha.Common; private with Edc_Client.Alpha.Common; package body Edc_Client.Alpha.Block1 is Block : constant Character := '1'; --------------------------------------------------------------------------...
Data/Binary/Bits.agda
oisdk/agda-binary
1
3977
<filename>Data/Binary/Bits.agda {-# OPTIONS --without-K --safe #-} module Data.Binary.Bits where open import Data.Bool as Bool using (not; _∨_; _∧_; _xor_; T) renaming (Bool to Bit; true to I; false to O) public _xnor_ : Bit → Bit → Bit O xnor y = not y I xnor y = y sumᵇ : Bit → Bit → Bit → Bit sumᵇ O = _xo...
components/src/audio/CS43L22/cs43l22.adb
rocher/Ada_Drivers_Library
192
15820
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2016, AdaCore -- -- -- -- ...
programs/oeis/031/A031395.asm
neoneye/loda
22
13030
; A031395: a(n) = prime(8*n - 4). ; 7,37,71,107,151,193,239,281,337,383,433,479,541,593,641,683,743,809,857,911,971,1021,1069,1123,1193,1249,1301,1373,1439,1487,1549,1601,1657,1721,1783,1861,1907,1987,2029,2089,2143,2237,2287,2347,2393,2459,2543,2617,2677,2713,2777,2837,2903,2969,3041,3119,3191,3257,3323,3373,3461,3527...
src/Colimit/Sequential/Erased.agda
nad/equality
3
8614
------------------------------------------------------------------------ -- The sequential colimit HIT with an erased higher constructor ------------------------------------------------------------------------ {-# OPTIONS --erased-cubical --safe #-} -- The definition of sequential colimits and the statement of the --...
alloy4fun_models/trashltl/models/5/e3tMaocwsNA9KC5c4.als
Kaixi26/org.alloytools.alloy
0
5204
<gh_stars>0 open main pred ide3tMaocwsNA9KC5c4_prop6 { all f : File | always (f in Trash implies always f in Trash and f not in Protected) } pred __repair { ide3tMaocwsNA9KC5c4_prop6 } check __repair { ide3tMaocwsNA9KC5c4_prop6 <=> prop6o }
test/hack_programs/fill_screen_on_key.asm
mbalestrini/hack_soc
1
7165
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by <NAME>, MIT Press. // File name: projects/04/Fill.asm // Runs an infinite loop that listens to the keyboard input. // When a key is pressed (any key), the program blackens the screen, // i.e. writes "black" in ...
problems/063/a063.adb
melwyncarlo/ProjectEuler
0
17750
with Ada.Text_IO; with Ada.Integer_Text_IO; -- Copyright 2021 <NAME> procedure A063 is use Ada.Text_IO; use Ada.Integer_Text_IO; Str : constant String (1 .. 12) := "Hello World "; Num : constant Integer := 2021; begin Put (Str); Put (Num, Width => 0); end A063;
test/asset/agda-stdlib-1.0/Data/Product/Relation/Pointwise/NonDependent.agda
omega12345/agda-mode
0
6028
------------------------------------------------------------------------ -- The Agda standard library -- -- This module is DEPRECATED. Please use -- Data.Product.Relation.Binary.Pointwise.NonDependent directly. ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} ...
pkgs/tools/yasm/src/modules/objfmts/win64/tests/sce4-err.asm
manggoguy/parsec-modified
2,151
1544
; Negatives PROC_FRAME sample [allocstack 0-8] [setframe rbp, 0-4] [savexmm128 xmm7, 0-16] [savereg rsi, 0-8] END_PROLOGUE ENDPROC_FRAME ; Too positive PROC_FRAME sample2 [setframe rbp, 248] END_PROLOGUE ENDPROC_FRAME ; Misaligned PROC_FRAME sample3 [allocstack 128-4] [setframe rbp, 240-4] [savexmm128 xmm7, 1024+8] [...
day20/src/main.adb
jwarwick/aoc_2020
3
23654
-- AOC 2020, Day 20 with Ada.Text_IO; use Ada.Text_IO; with Day; use Day; procedure main is part1 : constant Long_Integer := image_checksum("input.txt"); part2 : constant Long_Integer := water_roughness; begin put_line("Part 1: " & part1'IMAGE); put_line("Part 2: " & part2'IMAGE); end main;
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-cfhase.ads
JCGobbi/Nucleo-STM32G474RE
0
5641
<filename>bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-cfhase.ads ------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- ...
smsq/sms/schp.asm
olifink/smsqe
0
178885
* Standard Shrink Common Heap V2.00  1994 <NAME> QJUMP * section sms * xdef sms_schp * xref mem_rchp return to heap xref sms_rtok return * include dev8_keys_chp * * d0 0 no errors detected * d1 cr space required, space retained * a0 c p base address of area to return * * all other registers preserved * sm...
oeis/163/A163942.asm
neoneye/loda-programs
11
177534
<reponame>neoneye/loda-programs ; A163942: Fifth right hand column of triangle A163940. ; Submitted by <NAME> ; 1,14,121,834,5037,27918,145777,728858,3526933,16640262,76952793,350167122,1572467389,6984206846,30735634369,134202204426,582040933605,2509672804470,10766469841705,45982221941570,195609944400781,82921106734193...
source/amf/uml/amf-uml-connector_ends.ads
svn2github/matreshka
24
9075
<filename>source/amf/uml/amf-uml-connector_ends.ads ------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- ...
boot/boot.asm
TehcJS/KettleKernel
0
15723
[org 0x7c00] KERNEL_OFFSET equ 0x1000 mov [BOOT_DRIVE], dl mov bp, 0x9000 mov sp, bp mov bx, BOOT_PRINT call print ; load kernel call load_kernel ; enter 32-bit mode call switch_pm jmp $ %include "../boot/gdt.asm" %include "../boot/label.asm" [bits 32] BEGIN_PM: call KERNEL_OFFSET jmp $ BOOT_DRIVE db 0x80 BOOT...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_517.asm
ljhsiun2/medusa
9
101500
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x164d3, %rsi lea addresses_WC_ht+0x1e4e3, %rdi clflush (%rsi) nop nop nop nop nop and %r10, %r10 mov $23, %rcx rep movsb nop nop nop xor $13195, %rbx lea addresses_WC_h...
Task/Ordered-Partitions/Ada/ordered-partitions-1.ada
LaudateCorpus1/RosettaCodeData
1
26947
with Ada.Containers.Indefinite_Ordered_Sets; with Ada.Containers.Ordered_Sets; package Partitions is -- Argument type for Create_Partitions: Array of Numbers type Arguments is array (Positive range <>) of Natural; package Number_Sets is new Ada.Containers.Ordered_Sets (Natural); type Partition is array...
src/Util/HoTT/FunctionalExtensionality.agda
JLimperg/msc-thesis-code
5
5631
-- This module closely follows a section of <NAME>'s HoTT lecture notes: -- https://www.cs.bham.ac.uk/~mhe/HoTT-UF-in-Agda-Lecture-Notes/HoTT-UF-Agda.html#funextfromua {-# OPTIONS --without-K #-} module Util.HoTT.FunctionalExtensionality where open import Axiom.Extensionality.Propositional using (ExtensionalityImpli...
nicolai/thesis/INDEX.agda
nicolaikraus/HoTT-Agda
1
124
<gh_stars>1-10 {- T R U N C A T I O N L E V E L S I N H O M O T O P Y T Y P E T H E O R Y ======= ELECTRONIC APPENDIX ======= <NAME> February 2015 -} {-# OPTIONS --without-K #-} module INDEX where -- Chapter 2 open import Preliminaries -- Parts of Chapter 2 are in ...
asfunit/asf-tests.ads
jquorning/ada-asf
12
5705
----------------------------------------------------------------------- -- ASF tests - ASF Tests Framework -- Copyright (C) 2011, 2012, 2015, 2020 <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 L...
jannovar-hgvs/src/main/antlr4/de/charite/compbio/jannovar/hgvs/parser/Antlr4HGVSLexer.g4
julesjacobsen/jannovar
0
4019
/** Lexer for the HGVS mutation nomenclature. * * Attempts to cover the most important cases for NGS-based analyses. * * Current limitations: * * - referencing references for end positions or insertions is currently not * supported, e.g. the following from the HGVS website will not work: * * - g.123_678con...
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/i-vxwoio.ads
djamal2727/Main-Bearing-Analytical-Model
0
24687
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
tools/ayacc/src/lexical_analyzer.ads
svn2github/matreshka
24
3778
-- 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...
src/Implicits/Syntax.agda
metaborg/ts.agda
4
3649
open import Prelude module Implicits.Syntax where open import Implicits.Syntax.Type public open import Implicits.Syntax.Term public open import Implicits.Syntax.Context public
PIM/TP1_Algorithmique/majorite.adb
Hathoute/ENSEEIHT
1
15387
<reponame>Hathoute/ENSEEIHT<filename>PIM/TP1_Algorithmique/majorite.adb<gh_stars>1-10 -- Demander l'age de Jules with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; -- Afficher si une personne est majeure procedure Majorite is Age_Majorite: CONSTANT Integer := 18; -- Age...
src/main/fragment/mos6502-common/vwum1_le_vwuc1_then_la1.asm
jbrandwood/kickc
2
95586
<reponame>jbrandwood/kickc<gh_stars>1-10 lda {m1}+1 cmp #>{c1} bne !+ lda {m1} cmp #<{c1} !: bcc {la1} beq {la1}
programs/oeis/204/A204093.asm
karttu/loda
0
178453
<filename>programs/oeis/204/A204093.asm ; A204093: Numbers whose set of base 10 digits is {0,6}. ; 0,6,60,66,600,606,660,666,6000,6006,6060,6066,6600,6606,6660,6666,60000,60006,60060,60066,60600,60606,60660,60666,66000,66006,66060,66066,66600,66606,66660,66666,600000,600006,600060,600066,600600,600606,600660,600666,606...
macros/version_macros.asm
StraDaMa/mmbn6-pikachu-boss-battle
7
89467
<gh_stars>1-10 .macro .vorg, usOffset, jpOffset .if _version == 1 .org jpOffset .else .org usOffset .endif .endmacro .macro .vword, usWord, jpWord .if _version == 1 .word jpWord .else .word usWord .endif .endmacro .macro .vimport, usFile, jpFile .if _version == 1 .import jpFile .else .import usFil...
test/interaction/CaseSplitAndImplicits.agda
pthariensflame/agda
3
2221
open import Agda.Builtin.Equality -- Case splitting should not remove implicit arguments record ⊤ : Set where constructor tt test₁ : {A : Set} → ⊤ → ⊤ test₁ {A} x = {!x!} -- Case splitting on an implicit argument should make it visible test₂ : {x : ⊤} → ⊤ test₂ = {!.x!} -- Implicit variables in dot patterns should...
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/l_f32_f2long.asm
jpoikela/z88dk
0
83720
SECTION code_fp_math32 PUBLIC l_f32_f2slong PUBLIC l_f32_f2ulong PUBLIC l_f32_f2sint PUBLIC l_f32_f2uint EXTERN l_long_neg EXTERN l_f32_zero ; Convert floating point number to long l_f32_f2sint: l_f32_f2uint: l_f32_f2slong: l_f32_f2ulong: ld b,d ld a,d ;Holds sign + 7bits of exponent ...
libsrc/_DEVELOPMENT/string/c/sccz80/strstr_callee.asm
teknoplop/z88dk
8
246064
; char *strstr(const char *s1, const char *s2) SECTION code_clib SECTION code_string PUBLIC strstr_callee EXTERN asm_strstr strstr_callee: pop af pop hl pop de push af jp asm_strstr
src/def_monitor.ads
lumalisan/EspeblancaYLos7PPs
0
1768
package def_monitor is protected type Monitor is entry cadiraLock; procedure cadiraUnlock; entry menjarLock; procedure menjarUnlock; function ferMenjar return Boolean; private contCadires : Integer := 0; potsMenjar : Boolean := False; end Monitor; end def_monitor;
Version-3/boot/kernel_entry.asm
AaronV77/Friday
0
29554
; This file is getting linked in at a specific memory location 0x1000 and will be ; - called by the boot.asm when the system has loaded the sectors from the disk, and ; - has entered protected or long mode. When the memory location 0x1000 is called the ; - the symbol associated to it "_start" which is done by the globa...
src/drivers/qspi_u2008/sam_svd-qspi.ads
Fabien-Chouteau/samd51-hal
1
11039
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.QSPI is pragma Preelaborate; --------------- -- Registers -- --------------- -- Control A type QSPI_CTRLA_Register is...
src/portscan-buildcycle.ads
jfouquart/synth
263
11829
<filename>src/portscan-buildcycle.ads<gh_stars>100-1000 -- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with JohnnyText; with Display; with Unix; package PortScan.Buildcycle is cycle_log_error : exception; cycle_cmd_error : exception; procedure initi...
src/geste-text.adb
Fabien-Chouteau/GESTE
13
22973
------------------------------------------------------------------------------ -- -- -- GESTE -- -- -- -- ...
libsrc/_DEVELOPMENT/font/fzx/c/sccz80/fzx_state_init_callee.asm
jpoikela/z88dk
640
22595
; void fzx_state_init(struct fzx_state *fs, struct fzx_font *ff, struct r_Rect16 *window) SECTION code_font SECTION code_font_fzx PUBLIC fzx_state_init_callee EXTERN asm_fzx_state_init fzx_state_init_callee: pop hl pop de pop bc ex (sp),hl jp asm_fzx_state_init
alloy4fun_models/trashltl/models/1/c6snpZKiJz7BxE98B.als
Kaixi26/org.alloytools.alloy
0
4305
<reponame>Kaixi26/org.alloytools.alloy open main pred idc6snpZKiJz7BxE98B_prop2 { no File implies File not in Trash } pred __repair { idc6snpZKiJz7BxE98B_prop2 } check __repair { idc6snpZKiJz7BxE98B_prop2 <=> prop2o }
test/Succeed/AsPatterns.agda
shlevy/agda
1,989
12528
<gh_stars>1000+ module _ where open import Agda.Primitive open import Agda.Builtin.Nat open import Agda.Builtin.List open import Agda.Builtin.Equality [_==_] : ∀ {a} {A : Set a} (x y : A) → x ≡ y → A [ x == _ ] _ = x pattern ! = refl f : Nat → Nat f zero = zero f n@(suc m) = n data Vec {a} (A : Set a) : Nat ...
Cubical/Algebra/CommRing.agda
marcinjangrzybowski/cubical
301
13144
<filename>Cubical/Algebra/CommRing.agda {-# OPTIONS --safe #-} module Cubical.Algebra.CommRing where open import Cubical.Algebra.CommRing.Base public open import Cubical.Algebra.CommRing.Properties public
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca_notsx.log_18759_50.asm
ljhsiun2/medusa
9
105049
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x3482, %r9 nop nop add %rcx, %rcx mov (%r9), %bx nop nop nop nop nop and %rbp, %rbp lea addresses_UC_ht+0x1bcfe, %r12 sub $52136, %r15 mov (%r12), %r10d nop nop nop n...
programs/oeis/103/A103819.asm
karttu/loda
1
161888
<filename>programs/oeis/103/A103819.asm ; A103819: Whitney transform of Jacobsthal numbers. ; 0,1,3,8,23,63,172,471,1287,3516,9607,26247,71708,195911,535239,1462300,3995079,10914759,29819676,81468871,222577095,608091932,1661338055,4538859975,12400396060,33878512071,92557816263,252872656668 cal $0,77846 ; Expansion of ...
src/bb_pico_bsp-lcd.adb
Fabien-Chouteau/bb_pico_bsp
0
6320
with HAL; use HAL; with ILI9341; with ILI9341.Hack; with RP.GPIO; with RP.Device; with Pico; with BB_Pico_Bsp.SPI; package body BB_Pico_Bsp.LCD is LCD_CS : RP.GPIO.GPIO_Point renames Pico.GP8; LCD_WRX : RP.GPIO.GPIO_Point renames Pico.GP9; LCD_Reset : RP.GPIO.GPIO_Point renames Pico.GP11; -- LC...
test/src/yaml-lexer-tokenization_test.ads
robdaemon/AdaYaml
32
29833
<reponame>robdaemon/AdaYaml<filename>test/src/yaml-lexer-tokenization_test.ads<gh_stars>10-100 -- part of AdaYaml, (c) 2017 <NAME> -- released under the terms of the MIT license, see the file "copying.txt" with AUnit; use AUnit; with AUnit.Test_Cases; use AUnit.Test_Cases; package Yaml.Lexer.Tokenization_Test is ...
org.alloytools.alloy.diff/misc/File1.als
jringert/alloy-diff
1
3465
<reponame>jringert/alloy-diff // A file system object in the file system abstract sig FSObject { } // File system objects must be either directories or files. sig File, Dir extends FSObject { } // A File System sig FileSystem { //root: Dir, live: some FSObject, contents: Dir lone-> FSObject, parent: FSObject ...
Task/Bitmap/Ada/bitmap-1.ada
djgoku/RosettaCodeData
0
1640
<filename>Task/Bitmap/Ada/bitmap-1.ada package Bitmap_Store is type Luminance is mod 2**8; type Pixel is record R, G, B : Luminance; end record; Black : constant Pixel := (others => 0); White : constant Pixel := (others => 255); type Image is array (Positive range <>, Positive range <>) of Pixel...
programs/oeis/313/A313929.asm
karttu/loda
1
245100
<filename>programs/oeis/313/A313929.asm ; A313929: Coordination sequence Gal.6.334.2 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. ; 1,5,10,16,22,28,34,40,46,52,57,62,67,72,78,84,90,96,102,108,114,119,124,129,134,140,146,152,158,164,...
programs/oeis/181/A181281.asm
neoneye/loda
22
96430
; A181281: A version of Josephus problem: a(n) is the surviving integer under the following elimination process. Arrange 1,2,3,...,n in a circle, increasing clockwise. Starting with i=1, delete the integer 4 places clockwise from i. Repeat, counting 4 places from the next undeleted integer, until only one integer remai...
release/src/router/gmp/source/mpn/power/sub_n.asm
zhoutao0712/rtn11pb1
184
10002
<reponame>zhoutao0712/rtn11pb1<filename>release/src/router/gmp/source/mpn/power/sub_n.asm dnl IBM POWER mpn_sub_n -- Subtract two limb vectors of equal, non-zero dnl length. dnl Copyright 1992, 1994, 1995, 1996, 1999, 2000, 2001, 2005 Free Software dnl Foundation, Inc. dnl This file is part of the GNU MP Library...
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/lib_c.ads
Lucretia/old_nehe_ada95
0
14411
-- ----------------------------------------------------------------- -- -- AdaSDL -- -- Binding to Simple Direct Media Layer -- -- Copyright (C) 2001 A.M.F.Vargas -- -- <NAME> ...
tools-src/gnu/gcc/gcc/ada/gnatvsn.ads
enfoTek/tomato.linksys.e2000.nvram-mod
80
9088
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
oeis/140/A140322.asm
neoneye/loda-programs
11
17887
; A140322: a(n) = -1/6 + (-1)^n/2 + 2*4^n/3. ; 1,2,11,42,171,682,2731,10922,43691,174762,699051,2796202,11184811,44739242,178956971,715827882,2863311531,11453246122,45812984491,183251937962,733007751851,2932031007402,11728124029611,46912496118442,187649984473771,750599937895082,3002399751580331,12009599006321322,480383...
oeis/141/A141063.asm
neoneye/loda-programs
11
173475
<reponame>neoneye/loda-programs ; A141063: a(n) = n mod (sum of digits of prime(n)). ; Submitted by <NAME> ; 1,2,3,4,1,2,7,8,4,10,3,2,3,0,4,0,3,4,6,4,1,6,1,7,9,0,3,4,9,0,1,2,0,8,7,1,11,8,11,7,7,2,10,5,11,8,3,6,5,11,3,10,4,6,13,1,6,8,11,5,9,6,3,4,2,0,4,3,13,6,5,4,9,9,18,6,17,2,4,2,11,5,3,4,5,9,2,8,1,12,6,12,17,10,7,0,13...
test/dmat/vulkan-math-dmat2x4-test.adb
zrmyers/VulkanAda
1
22529
<reponame>zrmyers/VulkanAda -------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2021 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal ...
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_86_3126.asm
ljhsiun2/medusa
9
245495
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r15 push %rbp push %rdx push %rsi // Store lea addresses_WC+0x221a, %rbp nop nop nop nop nop add $34671, %rsi mov $0x5152535455565758, %r15 movq %r15, (%rbp) nop nop nop nop sub $35359, %r11 // Faulty ...
src/Categories/Utils/Product.agda
Trebor-Huang/agda-categories
279
6917
{-# OPTIONS --without-K --safe #-} module Categories.Utils.Product where open import Level open import Data.Product using (_×_; Σ; _,_; proj₁; proj₂) open import Relation.Binary.PropositionalEquality -- "very dependent" versions of map and zipWith map⁎ : ∀ {a b p q} {A : Set a} {B : A → Set b} {P : A → Set p} {Q : {x...
tests/factions-test_data-tests-relations_container.ads
thindil/steamsky
80
5354
<gh_stars>10-100 package Factions.Test_Data.Tests.Relations_Container is end Factions.Test_Data.Tests.Relations_Container;
library/02_functions_batch1/unknown_1000b4c0.asm
SamantazFox/dds140-reverse-engineering
1
93491
<filename>library/02_functions_batch1/unknown_1000b4c0.asm 1000b4c0: 55 push ebp 1000b4c1: 8b ec mov ebp,esp 1000b4c3: 83 ec 08 sub esp,0x8 1000b4c6: 89 7d fc mov DWORD PTR [ebp-0x4],edi 1000b4c9: 89 75 f8 mov DWORD PTR [ebp-0x8],es...
136/ada/show_increment.adb
notdb/LC-Practice
0
14296
<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; with Increment_By; procedure Show_Increment is A, B, C : Integer; begin C := Increment_By; -- ^ Parameterless call, value of I is 0 -- and Incr is 1 Put_Line ("Using defaults for Increment_By is " & Integer'Image (C)); ...
file_system/nameAndSuffixFromFileName.applescript
adriannier/applescript-functions
7
3603
(* Takes a file name, removes the suffix and returns both in a list. *) log nameAndSuffixFromFileName("Librarian.nib") log nameAndSuffixFromFileName(".DS_Store") log nameAndSuffixFromFileName("archive.tar.gz") on nameAndSuffixFromFileName(fileName) (* Takes a file name, removes the suffix and returns both in ...
Cubical/HITs/SetQuotients/Properties.agda
cj-xu/cubical
0
10659
<filename>Cubical/HITs/SetQuotients/Properties.agda {- Set quotients: -} {-# OPTIONS --cubical --safe #-} module Cubical.HITs.SetQuotients.Properties where open import Cubical.HITs.SetQuotients.Base open import Cubical.Core.Everything open import Cubical.Foundations.Prelude open import Cubical.Foundations.Isomorp...
Groups/GeneratedGroup.agda
Smaug123/agdaproofs
4
17263
<filename>Groups/GeneratedGroup.agda {-# OPTIONS --safe --warning=error #-} open import LogicalFormulae open import Setoids.Setoids open import Setoids.Lists open import Functions open import Agda.Primitive using (Level; lzero; lsuc; _⊔_) open import Numbers.Naturals open import Sets.FinSet open import Groups.GroupDef...
programs/oeis/118/A118060.asm
neoneye/loda
22
23185
<filename>programs/oeis/118/A118060.asm<gh_stars>10-100 ; A118060: a(n) = 1681*n^2 - 984*n - 696. ; 1,4060,11481,22264,36409,53916,74785,99016,126609,157564,191881,229560,270601,315004,362769,413896,468385,526236,587449,652024,719961,791260,865921,943944,1025329,1110076,1198185,1289656,1384489,1482684,1584241,1689160,1...
models/flashfs/abstractFilesystem.als
transclosure/Amalgam
4
4046
module VSR/abstractFilesystem [Data, FID] // Alloy model of the POSIX filesystem // Author: <NAME>, May. 2008 // Based on the UNIX file system specification from: // <NAME> and <NAME>. Specification of the UNIX Filing System. In // Transactions on Software Engineering, volume SE-10, pages 128-142, // IEEE, 1984 /...
blit.asm
za419/Asteroids
0
87598
; ######################################################################### ; ; blit.asm - Assembly file for EECS205 Assignment 3 ; ; ; ######################################################################### .586 .MODEL FLAT,STDCALL .STACK 4096 option casemap :none ; case sensitive includ...
test/interaction/Issue556.agda
cruhland/agda
1,989
13813
<reponame>cruhland/agda module Issue556 (A : Set) (x : A) where y : A y = x
src/z80asm/t2/1573/input/file1.asm
UnivEngineer/z88dk
1
97328
section text global fnord, xyzzy ld hl,xyzzy jr go go: jp fnord
s1/sfx-original/SndAE - Fireball.asm
Cancer52/flamedriver
9
168822
SndAE_Fireball_Header: smpsHeaderStartSong 1 smpsHeaderVoice SndAE_Fireball_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $02 smpsHeaderSFXChannel cFM5, SndAE_Fireball_FM5, $00, $00 smpsHeaderSFXChannel cPSG3, SndAE_Fireball_PSG3, $00, $00 ; FM5 Data SndAE_Fireball_FM5: smpsSetvoice $00 dc.b n...
examples/operations.asm
firemark/katp91
3
172474
MOV RF 0xBE ;print funny text in hex MOV RE 0xEF MOV RD 0xDE MOV RC 0xAD MOV ER0 ER3 ADD ER0 ER2 MOV R4 0x0F MOV R5 0xF0 ADD R4 R5 SUB R4 0xF0 ADD R5 0xF0 MOV R6 0xFF ADD R6 0x01 ADC R7 0x01 HLT
src/Equivalence/Contractible-preimages.agda
nad/equality
3
10991
------------------------------------------------------------------------ -- Is-equivalence, defined in terms of contractible fibres ------------------------------------------------------------------------ -- Partly based on Voevodsky's work on univalent foundations. {-# OPTIONS --without-K --safe #-} open import Equ...
libpal/intel_64bit_systemv_nasm/read_cr2.asm
mars-research/pal
26
89482
bits 64 default rel section .text global pal_execute_read_cr2 pal_execute_read_cr2 : mov rax, cr2 ret
source/s-pacarr.ads
ytomino/drake
33
24875
<reponame>ytomino/drake<gh_stars>10-100 pragma License (Unrestricted); -- implementation unit package System.Packed_Arrays is pragma Pure; -- for System.Compare_Array_Signed_XX/Compare_Array_Unsigned_XX generic type Element_Type is (<>); package Ordering is -- this surrounding package is ne...
src/real_time_clock.adb
Fabien-Chouteau/coffee-clock
7
15934
------------------------------------------------------------------------------- -- -- -- Coffee Clock -- -- -- ...
Examples/ch13/Keybd.asm
satadriver/LiunuxOS_t
0
171353
TITLE Buffered Keyboard Input (Keybd.asm) ; Test function 3Fh, read from file or device ; with the keyboard. Flush the buffer. ; Last update: 11/4/01 INCLUDE Irvine16.inc .data firstName BYTE 15 DUP(?),0 lastName BYTE 30 DUP(?),0 .code main PROC mov ax,@data mov ds,ax ; Input the first name: mo...
oeis/334/A334702.asm
neoneye/loda-programs
11
81704
; A334702: Array read by antidiagonals: T(n,k) = binomial(n*k,3), n>=0, k>=0. ; 0,0,0,0,0,0,0,0,0,0,0,1,4,1,0,0,4,20,20,4,0,0,10,56,84,56,10,0,0,20,120,220,220,120,20,0,0,35,220,455,560,455,220,35,0,0,56,364,816,1140,1140,816,364,56,0,0,84,560,1330,2024,2300,2024,1330,560,84,0,0,120,816,2024,3276,4060,4060,3276,2024,81...
source/distributed/machine-pc-freebsd/s-natpro.adb
ytomino/drake
33
15777
<reponame>ytomino/drake<gh_stars>10-100 with Ada.Exception_Identification.From_Here; with Ada.Exceptions.Finally; with System.Address_To_Named_Access_Conversions; with System.Environment_Block; with System.Growth; with System.Native_IO; with System.Shared_Locking; with System.Standard_Allocators; with System.Startup; w...
oeis/259/A259048.asm
neoneye/loda-programs
11
242421
; A259048: u(1) = v(1) = 1, u(n) = u(n-1) + v(n-1), v(n) = u(n-1)^2 + v(n-1)^2, a(n) = u(n). ; Submitted by <NAME> ; 1,2,4,12,92,6636,42839036,1834614576635532,3365810487617338033584723922844,11328680238554850474377984661704304183660014108982249765031212 mov $2,$0 mov $0,1 mov $1,1 lpb $2 add $0,$3 sub $2,1 mov ...
src/lab1.adb
KissmyAsthma99/opp
0
15625
------------------------------------- -- Laboratory work #1 -- Variants: 15;23;03 -- F1: d = MAX((A + B + C) *(MA*ME)) -- F2: q = MAX(MH * MK - ML) -- F3: O = SORT(P)*(MR*MT) -- Date 16 09 2020 ------------------------------------- with data; with Ada.Integer_Text_IO, Ada.Text_IO; use Ada.Integer_Text_IO, Ada.Tex...
Function/Proofs.agda
Lolirofle/stuff-in-agda
6
4609
<filename>Function/Proofs.agda module Function.Proofs where import Lvl open import Logic open import Logic.Classical open import Logic.Propositional open import Logic.Propositional.Theorems open import Logic.Predicate open import Functional open import Function.Inverseᵣ open import Function.Names using (_⊜_) open...
tools-src/gnu/gcc/gcc/ada/mdll.ads
enfoTek/tomato.linksys.e2000.nvram-mod
80
517
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
programs/oeis/158/A158060.asm
neoneye/loda
22
88446
; A158060: 25n + 1. ; 26,51,76,101,126,151,176,201,226,251,276,301,326,351,376,401,426,451,476,501,526,551,576,601,626,651,676,701,726,751,776,801,826,851,876,901,926,951,976,1001,1026,1051,1076,1101,1126,1151,1176,1201,1226,1251,1276,1301,1326,1351,1376,1401,1426,1451,1476,1501,1526,1551,1576,1601,1626,1651,1676,1701,...
My OS/boot/print-16bit.asm
faeriemattins/Hydro-Traffic-Monitoring-System
0
7366
<reponame>faeriemattins/Hydro-Traffic-Monitoring-System print16: pusha print16_loop: mov al, [bx] ; base address cmp al, 0 je print16_done mov ah, 0x0e ; tty int 0x10 add bx, 1 jmp print16_loop print16_done: popa ret print16_nl: pusha mov ah, 0x0e mov al, 0x0...
oeis/169/A169937.asm
neoneye/loda-programs
11
89359
; A169937: a(n) = binomial(m+n-1,n)^2 - binomial(m+n,n+1)*binomial(m+n-2,n-1) with m = 14. ; Submitted by <NAME>(s3.) ; 1,91,3185,63700,866320,8836464,71954064,488259720,2848181700,14620666060,67255063876,281248448936,1081724803600,3863302870000,12914469594000,40680579221100,121443493851225,345280521733875,938920716995...
programs/oeis/308/A308068.asm
karttu/loda
1
21536
<filename>programs/oeis/308/A308068.asm ; A308068: Number of integer-sided triangles with perimeter n whose longest side length is even. ; 0,0,0,0,1,1,0,0,2,2,1,1,3,3,2,2,5,5,3,3,7,7,5,5,9,9,7,7,12,12,9,9,15,15,12,12,18,18,15,15,22,22,18,18,26,26,22,22,30,30,26,26,35,35,30,30,40,40,35,35,45,45,40,40,51,51,45,45,57,57,5...
Cubical/Functions/Involution.agda
dan-iel-lee/cubical
0
1064
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.Functions.Involution where open import Cubical.Foundations.Equiv open import Cubical.Foundations.Isomorphism open import Cubical.Foundations.Prelude open import Cubical.Foundations.Univalence isInvolution : ∀{ℓ} {A : Type ℓ} → (A → A) → Type _ isInvol...
TuneOut.applescript
crownsedge/tuneout
19
2732
<filename>TuneOut.applescript (* Copyright © 2016, 2019 <NAME>. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,...
programs/oeis/082/A082605.asm
neoneye/loda
22
167845
; A082605: Using Euler's 6-term sequence A014556, we define the partial recurrence relation a(0)=2, a(1)=3, a(2)=5; a(k) = 2*a(k-1) - 1 + (-1)^(k-1)*2^(k-2), 3 <= k <= 5. ; 2,3,5,11,17,41,65,161,257,641,1025,2561,4097,10241,16385,40961,65537,163841,262145,655361,1048577,2621441,4194305,10485761,16777217,41943041,671088...
test/succeed/Issue335.agda
asr/agda-kanso
1
11237
module Issue335 where postulate A : Set k : (.A -> Set) -> A bla = k (\ .(x : A) -> A) -- syntax for irrelevant typed lambda now exists
Task/Calendar/Ada/calendar-3.ada
LaudateCorpus1/RosettaCodeData
1
16188
with Printable_Calendar; procedure Cal is C: Printable_Calendar.Calendar := Printable_Calendar.Init_80; begin C.Print_Line_Centered("[reserved for Snoopy]"); C.New_Line; C.Print(1969, "Nineteen-Sixty-Nine"); end Cal;
ps3.asm
michecode/CS237
0
4239
<gh_stars>0 include Irvine32.inc .data caseTable byte '1' ; lookup value dword AND_op ; address of procedure entrySize = ($ - caseTable) byte '2' dword OR_op byte '3' dword NOT_op byte '4' dword XOR_op entries = ($ - caseTable) / entrySize prompt byte "1. x AND y",0Dh,0Ah byte "2....
a51test/(B4)CJNE_A_i_o.a51
Aimini/51cpu
0
245546
<reponame>Aimini/51cpu LJMP STATE_255 STATE_0: MOV 0xF0,#0xFF CJNE A,#0,STATE_1 LJMP FINAL STATE_1: MOV 0xF0,#0x01 CJNE A,#0x01,STATE_0 STATE_2: MOV 0xF0,#0x02 CJNE A,#0x02,STATE_1 STATE_3: MOV 0xF0,#0x03 CJNE A,#0x03,STATE_2 STATE_4: MOV 0xF0,#0x04 CJNE A,#0x04,STATE_3 ...
oeis/276/A276226.asm
neoneye/loda-programs
11
176748
<reponame>neoneye/loda-programs ; A276226: a(n+3) = 2*a(n+2) + a(n+1) + a(n) with a(0)=0, a(1)=6, a(2)=8. ; Submitted by <NAME> ; 0,6,8,22,58,146,372,948,2414,6148,15658,39878,101562,258660,658760,1677742,4272904,10882310,27715266,70585746,179769068,457839148,1166033110,2969674436,7563221130,19262149806,49057195178,124...
oeis/157/A157726.asm
neoneye/loda-programs
11
174133
; A157726: a(n) = Fibonacci(n) + 3. ; 3,4,4,5,6,8,11,16,24,37,58,92,147,236,380,613,990,1600,2587,4184,6768,10949,17714,28660,46371,75028,121396,196421,317814,514232,832043,1346272,2178312,3524581,5702890,9227468,14930355,24157820,39088172,63245989,102334158,165580144,267914299,433494440,701408736,1134903173,1836311906...
Source.asm
usamashafiq/Take-two-inputs-from-the-user-and-add-them
0
29913
<gh_stars>0 .model small .stack 100h .data .code Main proc Mov ah ,1 Int 21h mov dl,al mov ah ,1 int 21h add al,dl mov dl,al sub dl,48 mov ah,2 int 21h mov ah, 4ch int 21h main endp end main
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_275.asm
ljhsiun2/medusa
9
245403
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_275.asm .global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x9101, %rsi lea addresses_WT_ht+0x1d7e1, %rdi clflush (%rdi) and %r9, %...
oeis/176/A176293.asm
neoneye/loda-programs
11
12948
; A176293: Triangle T(n,k) = 1 + 2*k*(n-k)*(n-1)^2, read by rows. ; Submitted by <NAME> ; 1,1,1,1,3,1,1,17,17,1,1,55,73,55,1,1,129,193,193,129,1,1,251,401,451,401,251,1,1,433,721,865,865,721,433,1,1,687,1177,1471,1569,1471,1177,687,1,1,1025,1793,2305,2561,2561,2305,1793,1025,1,1,1459,2593,3403,3889,4051,3889,3403,2593,...
programs/oeis/061/A061646.asm
jmorken/loda
1
99054
<reponame>jmorken/loda ; A061646: a(n) = 2*a(n-1) + 2*a(n-2) - a(n-3) with a(-1) = 1, a(0) = 1, a(1) = 1. ; 1,1,1,3,7,19,49,129,337,883,2311,6051,15841,41473,108577,284259,744199,1948339,5100817,13354113,34961521,91530451,239629831,627359043,1642447297,4299982849,11257501249,29472520899,77160061447,202007663443,5288629...