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
src/keystore-repository-keys.adb
My-Colaborations/ada-keystore
25
13842
----------------------------------------------------------------------- -- keystore-repository-keys -- Data keys management -- Copyright (C) 2019, 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 ...
src/asm/test_jcond/jeq.asm
Petersoj/ECE3710Projects
3
1265
<filename>src/asm/test_jcond/jeq.asm .main MOVIL r0 5 # x = 5 MOVIL r9 4 JUC r9 .L3 SUBI r0 1 .L2 CMPI r0 5 MOVIL r10 3 JEQ r10 ADD r1 r0 # x = 4
examples/linux/src/socketcan.ads
jonashaggstrom/ada-canopen
6
25118
<gh_stars>1-10 with Interfaces; private with Interfaces.C; private with System; package SocketCAN is -- Ada binding for the SocketCAN driver included in Linux Kernel > 2.6.25. -- https://www.kernel.org/doc/Documentation/networking/can.txt -- -- Note: This binding is incomplete! -- Interfaces CAN_RAW...
Lista 3/mips4.asm
AtilaAssuncao/MIPS-AP2
0
12784
<reponame>AtilaAssuncao/MIPS-AP2 .data massage: .asciiz "FIM DA EXECUÇÂO" space: .asciiz", " .text main: addi $t0,$zero,0 loop: bgt $t0,100000,exit jal printNumber addi $t0,$t0,1000 j loop exit: li $v0, 4 la $a0, massage syscall #Fim de Execução li $v0, 10 syscall print...
programs/oeis/081/A081688.asm
karttu/loda
0
22000
<filename>programs/oeis/081/A081688.asm ; A081688: 0 followed by A030124 - 1. ; 0,1,3,4,5,7,8,9,10,12,13,14,15,16,18,19,20,21,22,23,24,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,45,46,47,48,49,50,51,52,53,54,56,57,58,59,60,61,62,63,64,65,66,67,69,70,71,72,73,74,75,76,77 mov $1,4 mov $2,$0 add $0,1 mul $0,4 lpb...
src/disp.asm
drdanick/apricot-os
0
18250
<gh_stars>0 ; asmsyntax=apricos ; =================================== ; == == ; == ApricotOS Display Library == ; == == ; == Revision 2 == ; == == ; == (C) 2014-17 <NAME> == ; == ...
Sources/Model/sphere_p.adb
ForYouEyesOnly/Space-Convoy
1
14887
<gh_stars>1-10 -- -- Jan & <NAME>, Australia, July 2011 -- with GL, GL.Materials, GLOBE_3D.Math; package body Sphere_P is -- Pretty output: FALSE use GL, GL.Materials, GLOBE_3D, GLOBE_3D.Math; -- begin Separator # 1 -- VRML: [# triangle mesh -- ] matos_1 : constant Material_type := ( ...
bootloader/source/vbr.asm
SimonGustavsson/nox
3
164152
; ================================================================================ ; Compile time constants ; ================================================================================ VBR_RUN_ADDRESS EQU 0x600 VBR_LOAD_ADDRESS EQU 0x7C00 BOOTLOADER_LOAD_ADDRESS EQU VBR_LOAD_ADDRESS VBR_ST...
test/Fail/Issue1271a.agda
hborum/agda
3
11052
-- Empty, unit and equality. ⊥ = (X : Set) → X ⊤ = (X : Set) → X → X data _≡_ {l}{A : Set l}(x : A) : A → Set l where <> : x ≡ x -- The fixpoint of the identity functor as a data definition. module Data where data μId : Set where In : μId → μId -- μId can be proved empty. Here are both a direct proof and...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_760.asm
ljhsiun2/medusa
9
29525
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x7740, %rsi nop nop dec %rbx and $0xffffffffffffffc0, %rsi vmovntdqa (%rsi), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $1, %xmm3, %r11 nop nop nop nop nop sub $42641, %r11 le...
externals/mpir-3.0.0/mpn/x86_64w/nehalem/mod_1_2.asm
JaminChan/eos_win
12
83689
<reponame>JaminChan/eos_win ; PROLOGUE(mpn_mod_1_2) ; Copyright 2009 <NAME> ; ; Windows Conversion Copyright 2008 <NAME> ; ; This file is part of the MPIR Library. ; ; The MPIR Library is free software; you can redistribute it and/or modify ; it under the terms of the GNU Lesser General Public License as publishe...
src/boot.asm
vzwGrey/project-akuma
2
12772
<filename>src/boot.asm [bits 16] [org 0x7C00] start: xor ax, ax mov ds, ax mov es, ax ; Reset floppy controller .reset_floppy: mov dl, 0x00 ; Floppy drive mov ah, 0x00 ; Function to reset int 0x13 jnc .read_second_stage ; Carry bit set if error occured mov si, RESET_FLOPPY_ERROR_MSG call print_string_ln jmp...
alloy4fun_models/trashltl/models/11/xPNhiDWp3e73fqhiK.als
Kaixi26/org.alloytools.alloy
0
1942
open main pred idxPNhiDWp3e73fqhiK_prop12 { always(all f : File | eventually f in Trash) } pred __repair { idxPNhiDWp3e73fqhiK_prop12 } check __repair { idxPNhiDWp3e73fqhiK_prop12 <=> prop12o }
test/interaction/Issue499.agda
shlevy/agda
1,989
15498
module Issue499 where data A : Set where a : A data B : Set where b : .A → B data C : B → Set where c : C (b a) f : ∀ {i} → C i → A f x = {!!} -- Hitting C-c C-c x
Control Statements/tell/run.applescript
looking-for-a-job/applescript-examples
1
1268
#!/usr/bin.osascript try do shell script "ps -ax | grep Growl | grep -v grep" on error # not found, raise error do shell script "open -a Growl" end try
oeis/192/A192966.asm
neoneye/loda-programs
11
3546
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A192966: Coefficient of x in the reduction by x^2 -> x+1 of the polynomial p(n,x) defined at Comments. ; 0,1,2,6,14,30,59,110,197,343,585,983,1634,2695,4420,7220,11760,19116,31029,50316,81535,132061,213827,346141,560244,906685,1467254,2374290,3841922,6216618,10058975,16...
oeis/163/A163062.asm
neoneye/loda-programs
11
16326
<gh_stars>10-100 ; A163062: a(n) = ((3+sqrt(5))*(1+sqrt(5))^n + (3-sqrt(5))*(1-sqrt(5))^n)/2. ; Submitted by <NAME>(w4) ; 3,8,28,88,288,928,3008,9728,31488,101888,329728,1067008,3452928,11173888,36159488,117014528,378667008,1225392128,3965452288,12832473088,41526755328,134383403008,434873827328,1407281266688,4554057842...
OpenRobertaRobot/src/main/antlr4/de/fhg/iais/roberta/exprly/generated/Exprly.g4
ani1998ket/openroberta-lab
3
6410
<filename>OpenRobertaRobot/src/main/antlr4/de/fhg/iais/roberta/exprly/generated/Exprly.g4 grammar Exprly; expression: expr EOF ; expr : NULL # NullConst | CONST # MathConst | VAR ...
agda/List/Permutation/Pair/Properties.agda
bgbianchi/sorting
6
15908
<filename>agda/List/Permutation/Pair/Properties.agda module List.Permutation.Pair.Properties (A : Set) where open import List.Permutation.Base A open import List.Permutation.Base.Concatenation A open import List.Permutation.Base.Equivalence A open import List.Permutation.Base.Preorder A open import List.Permutation.Pa...
libsrc/strings/strrchr_callee.asm
grancier/z180
8
90654
<gh_stars>1-10 ; char __CALLEE__ *strrchr_callee(char *s, char c) ; return ptr to last occurrence of c in s ; 04.2001 dom, 01.2007 aralbrec SECTION code_clib PUBLIC strrchr_callee PUBLIC _strrchr_callee PUBLIC ASMDISP_STRRCHR_CALLEE .strrchr_callee ._strrchr_callee pop hl pop bc pop de push hl ; e...
gonzalezSearch.asm
Draginto/Mips-Assembly-Projects
0
167114
<filename>gonzalezSearch.asm .text .globl main main: jal getCount la $a1, intArray # Store the address of array in argument move $a2, $v0 # Take the return value $v0 and move to argument. jal getNumbers # get the numbers to use in the count. jal newLine # Output a newLine la $a1, intArray jal displ...
src/QRCHWAI.asm
cfdonatucci/CICS-QRTCB-CHECK
0
28790
*ASM XOPTS(SP) 00000105 *----------------------------------------------------------------* * Licensed Materials - Property of IBM * * Author <NAME> * * (c) Copyright IBM Corp. 2018 All Rights R...
PathInductionSimplified.agda
guillaumebrunerie/JamesConstruction
5
726
{-# OPTIONS --without-K --rewriting #-} open import Base using (Type; Type₀; _==_; idp) module PathInductionSimplified where {-<pathinduction>-} record Coh {i} (A : Type i) : Type i where field & : A open Coh public instance J : ∀ {i j} {A : Type i} {a : A} {B : (a' : A) → a == a' → Type j} → Coh (B a idp) ...
source/asis/asis-gela-pools.ads
faelys/gela-asis
4
10771
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
src/ada/src/services/spark/common.adb
VVCAS-Sean/OpenUxAS
88
12486
<reponame>VVCAS-Sean/OpenUxAS<filename>src/ada/src/services/spark/common.adb package body Common with SPARK_Mode is ------------------- -- Append_To_Msg -- ------------------- procedure Append_To_Msg (Msg : in out Unbounded_String; Tail : String) is begin if Length (Msg) < Natural'Last and then ...
oeis/233/A233558.asm
neoneye/loda-programs
11
2766
<reponame>neoneye/loda-programs<filename>oeis/233/A233558.asm<gh_stars>10-100 ; A233558: Triangle read by rows: T(n,k) = real part mod n of (n + ki)^2, where k=1..n-1 and i is the imaginary unit. ; Submitted by Jon Maiga ; 1,2,2,3,0,3,4,1,1,4,5,2,3,2,5,6,3,5,5,3,6,7,4,7,0,7,4,7,8,5,0,2,2,0,5,8,9,6,1,4,5,4,1,6,9,10,7,2,...
iod/con2/ptr/zero.asm
olifink/smsqe
0
103376
<filename>iod/con2/ptr/zero.asm ; Empty sprite V 1.00 section sprite ; xdef sp_zero ; sp_zero dc.w $0100,$0000 4 colour mode dc.w 1,1,0,0 1*1 pixel sprite origin at 0,0 dc.l sp_z-* dc.l sp_z-* dc.l s8_zero-* s8_zero dc.w $0101,$0000 8 colour mode dc.w 1,1,0,0 1*1 pixel sprite origin at 0,0 dc.l sp_z-* dc.l...
Task/Digital-root/AppleScript/digital-root.applescript
LaudateCorpus1/RosettaCodeData
1
1767
on digitalroot(N as integer) script math to sum(L) if L = {} then return 0 (item 1 of L) + sum(rest of L) end sum end script set i to 0 set M to N repeat until M < 10 set digits to the characters of (M as text) set M to math's sum(digits) set i to i + 1 end repeat {N:N, persistences:i, root...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_409_228.asm
ljhsiun2/medusa
9
171468
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_409_228.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x7794, %rsi lea addresses_A_ht+0xea14, %rdi clflush (%rdi) nop nop...
oeis/021/A021661.asm
neoneye/loda-programs
11
165761
<gh_stars>10-100 ; A021661: Decimal expansion of 1/657. ; Submitted by <NAME> ; 0,0,1,5,2,2,0,7,0,0,1,5,2,2,0,7,0,0,1,5,2,2,0,7,0,0,1,5,2,2,0,7,0,0,1,5,2,2,0,7,0,0,1,5,2,2,0,7,0,0,1,5,2,2,0,7,0,0,1,5,2,2,0,7,0,0,1,5,2,2,0,7,0,0,1,5,2,2,0,7,0,0,1,5,2,2,0,7,0,0,1,5,2,2,0,7,0,0,1 seq $0,42 ; Unary representation of natur...
day07/src/bag.ads
jwarwick/aoc_2020
3
23978
<reponame>jwarwick/aoc_2020 with Ada.Containers; use Ada.Containers; with Ada.Containers.Ordered_Sets; with Ada.Containers.Indefinite_Ordered_Maps; package Bag is type Bag_Color is ( bright_gray, pale_olive, mirrored_magenta, shiny_blue, dotted_beige, drab_tomato, drab_blue, striped_...
programs/oeis/342/A342369.asm
neoneye/loda
22
104760
<filename>programs/oeis/342/A342369.asm ; A342369: If n is congruent to 2 (mod 3), then a(n) = (2*n - 1)/3; otherwise, a(n) = 2*n. ; 0,2,1,6,8,3,12,14,5,18,20,7,24,26,9,30,32,11,36,38,13,42,44,15,48,50,17,54,56,19,60,62,21,66,68,23,72,74,25,78,80,27,84,86,29,90,92,31,96,98,33,102,104,35,108,110,37,114,116,39,120,122,41...
programs/oeis/132/A132767.asm
neoneye/loda
22
91401
; A132767: a(n) = n*(n + 25). ; 0,26,54,84,116,150,186,224,264,306,350,396,444,494,546,600,656,714,774,836,900,966,1034,1104,1176,1250,1326,1404,1484,1566,1650,1736,1824,1914,2006,2100,2196,2294,2394,2496,2600,2706,2814,2924,3036,3150,3266,3384 mov $1,$0 add $1,25 mul $0,$1
AdvWallpapers/CurrentDesktop.applescript
skfarhat/adv-wallpapers
2
189
<reponame>skfarhat/adv-wallpapers<filename>AdvWallpapers/CurrentDesktop.applescript tell application "System Events" tell current desktop -- (0=off, 1=interval, 2=login, 3=sleep) %@ set picture rotation to %@ -- true, false %@ set random order to %@ ...
examples/6502asm/backandforth.asm
Eggbertx/GD6502
1
25201
<reponame>Eggbertx/GD6502 ; ; moves a dot back and forth ; start: lda #$f sta $0 ; Xpos = 15 lda #$4 sta $1 ; Ypos = $02(0f) (top line) lda #$01 sta $2 ; direction (0=left, 1=right) mainloop: lda $00 ; load Xpos sta $03 ; save it.. ...
test/Fail/Issue2081.agda
cruhland/agda
1,989
15416
-- Andreas, 2016-07-08, issue reported by Nisse module Issue2081 where module M where private Private : Set₁ Private = Set -- The local module should be private as well! module Public where -- The definitions inside this module should not be private -- unless declared so expli...
FOLsequent.agda
goodlyrottenapple/FOLdisplay
0
2467
<reponame>goodlyrottenapple/FOLdisplay module FOLsequent where open import Data.Empty open import Data.Nat open import Data.Nat.Properties open import Data.String using (String) open import Data.Sum open import Relation.Binary.PropositionalEquality as PropEq using (_≡_; _≢_; refl; sym; cong; subst) open import Relat...
programs/oeis/047/A047519.asm
karttu/loda
1
244651
; A047519: Numbers that are congruent to {1, 2, 3, 4, 6, 7} mod 8. ; 1,2,3,4,6,7,9,10,11,12,14,15,17,18,19,20,22,23,25,26,27,28,30,31,33,34,35,36,38,39,41,42,43,44,46,47,49,50,51,52,54,55,57,58,59,60,62,63,65,66,67,68,70,71,73,74,75,76,78,79,81,82,83,84,86,87,89,90,91,92,94,95,97,98,99,100,102,103,105,106,107,108,110,1...
orka_plugin_terrain/src/orka-features-terrain.adb
onox/orka
52
4185
<gh_stars>10-100 -- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2020 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/licen...
Firmware/GPSSwitch/GPSSwitch/backup/led_fix.asm
weirdgyn/GPSMux
1
101451
;;***************************************************************************** ;;***************************************************************************** ;; FILENAME: LED_FIX.asm ;; Version: 2.00, Updated on 2015/3/4 at 22:26:37 ;; Generated by PSoC Designer 5.4.3191 ;; ;; DESCRIPTION: LED user module. ;; ;...
libsrc/games/pv1000/joystick.asm
jpoikela/z88dk
640
89560
<reponame>jpoikela/z88dk ; Casio PV-1000 joystick routines ; ; ; Key input ; Select data to read on port 0FDH and read the same port. ;   ; Output Bit 3 = 1 ; Bit 3 = 2 P TRIG 2 ; Bit 2 = 2 P TRIG 1 ; Bit 1 = 1 P TRIG 2 ; Bit 0 = 1 P TRIG 1 ;   ; Output Bit 2 = 1 ; Bit 3 = 2 P Up ; Bit 2 = 2 P Lef ; Bit 1 = 1 P ...
examples/exampleadd.adb
ray2501/AdaBaseXClient
0
2021
<gh_stars>0 with Ada.Text_IO; with Ada.Exceptions; with AdaBaseXClient; use Ada.Exceptions; use AdaBaseXClient; procedure ExampleAdd is begin if (Connect ("localhost", 1_984) = False) then Ada.Text_IO.Put_Line ("Connect failed."); return; else if (Authenticate ("admin", "admin") = False) then ...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca.log_21829_549.asm
ljhsiun2/medusa
9
179440
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1295b, %r13 nop dec %r14 movl $0x61626364, (%r13) nop nop nop and $15407, %r15 lea addresses_WC_ht+0x1a2bf, %rbx inc %rdi movb $0x61, (%rbx...
src/Categories/Diagram/End/Properties.agda
Trebor-Huang/agda-categories
279
7364
<filename>src/Categories/Diagram/End/Properties.agda {-# OPTIONS --without-K --safe #-} module Categories.Diagram.End.Properties where open import Level open import Data.Product using (Σ; _,_) open import Function using (_$_) open import Categories.Category open import Categories.Category.Product open import Categor...
oeis/334/A334604.asm
neoneye/loda-programs
11
14203
<reponame>neoneye/loda-programs ; A334604: Denominator of Sum_{k=1..n} (-1)^(k+1)/k^5. ; Submitted by <NAME> ; 1,32,7776,248832,777600000,777600000,13069123200000,418211942400000,101625502003200000,101625502003200000,16366888723117363200000,16366888723117363200000,6076911214672415134617600000 seq $0,51426 ; Least comm...
Determine Image Orientation.applescript
AlexanderGalen/applescripts
3
3081
tell application "Finder" set productSize to "JU" set source_folder to "HOM:PRODUCTS:CALENDARS:2015 CALENDARS:W2P working:" & productSize & ":" as alias set File_List to (files of entire contents of source_folder) as alias list repeat with theItem in File_List set {name:FileName, name extension:fileExtensio...
hex-modular_codec.ads
annexi-strayline/ASAP-HEX
1
23046
<reponame>annexi-strayline/ASAP-HEX ------------------------------------------------------------------------------ -- -- -- Generic HEX String Handling Package -- -- ...
Cubical/HITs/Rationals/HITQ/Base.agda
dan-iel-lee/cubical
0
1853
{-# OPTIONS --cubical --no-import-sorts --safe #-} module Cubical.HITs.Rationals.HITQ.Base where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Function open import Cubical.Relation.Nullary open import Cubical.HITs.Ints.QuoInt open import Cubical.Data.Nat as ℕ hiding (_·_) open import Cubica...
software/hal/old/hal-gpio.adb
TUM-EI-RCS/StratoX
12
2841
with stm32.gpio; use stm32.gpio; package body HAL.GPIO is procedure write (Point : GPIO_Point_Type; Signal : GPIO_Signal_Type) is begin case Signal is when HIGH => case Point.Port is when A => GPIOA_Periph.BSRR.BS.Arr( Point.Pin ) := True; when B => G...
archive/agda-2/Oscar/Definition.agda
m0davis/oscar
0
3439
<reponame>m0davis/oscar module Oscar.Definition where {- unpack : AList m n → Fin m → Term n -- sub substitute : (Fin m → Term n) → Term m → Term n -- _◃_ substitutes : ∀ N → (Fin m → Term n) → Terms N m → Terms N n -- _◃s_ stepify : (Term m → Term n) → Step m → Step n -- fmapS collapse : (List ∘ Step) n → Term n → ...
oeis/142/A142729.asm
neoneye/loda-programs
11
171480
; A142729: Primes congruent to 2 mod 59. ; Submitted by <NAME>(s4) ; 2,61,179,769,887,1123,1831,1949,2539,2657,3011,3719,4073,4663,5843,6079,6197,6551,9029,9619,9973,10091,10799,11743,12097,12451,12569,12923,13159,13513,14221,14929,15401,15991,16699,17053,17761,18233,18587,19531,20357,20593,20947,21419,21773,22481,2271...
RETypes.agda
JoeyEremondi/agda-parikh
0
15540
<reponame>JoeyEremondi/agda-parikh<gh_stars>0 {- <NAME> Utrecht University Capita Selecta UU# 4229924 July 22, 2015 -} module RETypes where open import Data.Char open import Data.List open import Relation.Binary open import Relation.Binary.PropositionalEquality open import Data.Product --Tag for whether an RE can m...
alloy4fun_models/trashltl/models/4/Ntm7ACaPc9KHx7DmB.als
Kaixi26/org.alloytools.alloy
0
1059
open main pred idNtm7ACaPc9KHx7DmB_prop5 { some f : File | eventually File' = File - f } pred __repair { idNtm7ACaPc9KHx7DmB_prop5 } check __repair { idNtm7ACaPc9KHx7DmB_prop5 <=> prop5o }
FormalAnalyzer/models/apps/LateArrival.als
Mohannadcse/IoTCOM_BehavioralRuleExtractor
0
2333
module app_LateArrival open IoTBottomUp as base open cap_runIn open cap_now open cap_presenceSensor open cap_switch one sig app_LateArrival extends IoTApp { presence1 : some cap_presenceSensor, switch1 : some cap_switch, } { rules = r //capabilities = presence1 + switch1 } abstract sig r extends...
data/mapObjects/silphco10.asm
etdv-thevoid/pokemon-rgb-enhanced
1
171280
SilphCo10Object: db $2e ; border block db $6 ; warps db $0, $8, $0, SILPH_CO_9F db $0, $a, $0, SILPH_CO_11F db $0, $c, $0, SILPH_CO_ELEVATOR db $b, $9, $3, SILPH_CO_4F db $f, $d, $5, SILPH_CO_4F db $7, $d, $6, SILPH_CO_4F db $0 ; signs db $6 ; objects object SPRITE_ROCKET, $1, $9, STAY, RIGHT, $1, OPP_ROC...
alloy4fun_models/trainstlt/models/16/JPxJwGnvvqHLkEXuN.als
Kaixi26/org.alloytools.alloy
0
2940
<reponame>Kaixi26/org.alloytools.alloy open main pred idJPxJwGnvvqHLkEXuN_prop17 { some Train => (one Train.pos:>Exit since one pos) } pred __repair { idJPxJwGnvvqHLkEXuN_prop17 } check __repair { idJPxJwGnvvqHLkEXuN_prop17 <=> prop17o }
applet/aide/source/palettes/aide-palette-of_packages.ads
charlie5/aIDE
3
18911
with AdaM.context_Line, AdaM.a_Package, Gtk.Button, gtk.Widget, Ada.Streams; private with Gtk.gEntry, Gtk.Window, Gtk.Notebook, Gtk.Table; package aIDE.Palette.of_packages is type Item is new Palette.item with private; type View is access all Item'Class; -- F...
Lab 4 - Addition with Conditional Loops/q1.asm
SathyasriS27/ARM7-Thumb-Programming
0
99371
AREA LAB5, CODE, READONLY ENTRY LDR R0, =0x40000000 LDR R1, [R0], #04 LDR R2, [R0], #04 ADDS R3, R1, R2 STR R3, [R0] UP B UP END
4_1.asm
EduardaSRBastos/Assembly-2020
0
21844
NR_LINHA EQU 3 MOV CX, NR_LINHA MOV AH, 9 LEA DX, TEXTO1 INT 21H R1: MOV AH, 1 INT 21H MOV DL, AH LOOP R1 mov ah, 9 mov dl, 255 LEA DX, TEXTO2 int 21h MOV AH, 4Ch INT 21H RET TEXTO1 DB 13,10,'Carregue e...
kernel/kernel.asm
luki446/Kernel
0
167847
<gh_stars>0 ; -------------------------------------------------------------------------------------------- ; Phobis kernel. Copyright (C) 2018 by Krzysztof "Palaiologos" Szewczyk. All rights reserved! ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in complianc...
oeis/349/A349664.asm
neoneye/loda-programs
11
246832
; A349664: a(n) is the number of solutions for n^4 = z^2 - x^2 with {z,x} >= 1. ; Submitted by <NAME> ; 0,1,2,3,2,7,2,5,4,7,2,17,2,7,12,7,2,13,2,17,12,7,2,27,4,7,6,17,2,37,2,9,12,7,12,31,2,7,12,27,2,37,2,17,22,7,2,37,4,13,12,17,2,19,12,27,12,7,2,87,2,7,22,11,12,37,2,17,12,37,2,49,2,7,22,17,12,37,2,37,8,7,2,87,12,7,12,2...
libsrc/fcntl/zxvgs/rename.asm
grancier/z180
0
18633
;int rename(char *source, char *dest) ;returns 0 when OK ; ; $Id: rename.asm,v 1.3 2016/06/23 20:31:34 dom Exp $ ; SECTION code_clib PUBLIC rename PUBLIC _rename .rename ._rename POP BC POP HL ;new filename POP DE ;old PUSH DE PUSH HL PUSH BC RST 8 DEFB $CE ;also can move file to another path/disk... AND ...
snake_types.adb
thieryw/snake_array_impl
0
1260
with display,Ada.Containers.Hashed_Maps ; with Ada.Strings.Hash; with Ada.text_io; use Ada.text_io; package body snake_types is function Hash_Func(Key : character) return Ada.Containers.Hash_Type is begin return Ada.Strings.Hash(Key'Image); end Hash_Func; end snake_types ; ...
alloy4fun_models/trainstlt/models/6/JQPZALKgQ5486TkjX.als
Kaixi26/org.alloytools.alloy
0
890
open main pred idJQPZALKgQ5486TkjX_prop7 { always ( all t:Train | some t.pos :> (Entry+Exit) implies eventually no t.pos :> (Entry+Exit) ) } pred __repair { idJQPZALKgQ5486TkjX_prop7 } check __repair { idJQPZALKgQ5486TkjX_prop7 <=> prop7o }
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_21829_641.asm
ljhsiun2/medusa
9
6882
<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_21829_641.asm .global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rax push %rbx lea addresses_UC_ht+0x5bc5, %r13 nop cmp %r15, %r15 movl $0x61626364, (%r13) nop nop nop sub %rax, %rax pop %rbx pop %rax pop %r15 pop %r13 ret...
x86-x64/f3.asm
Unshifted1337/AssemblyExercises
0
174546
<reponame>Unshifted1337/AssemblyExercises f3: xorl %eax, %eax L13: cmpq %rax, %rdx je L15 movb (%rdi,%rax), %cl movb (%rsi,%rax), %r8b movb %r8b, (%rdi,%rax) movb %cl, (%rsi,%rax) incq %rax jmp L13 L15: ret
base/runtime/frac.asm
zbyti/Mad-Pascal
7
102206
/* @FRAC @FRAC_SHORT */ .proc @FRAC ldy :STACKORIGIN+STACKWIDTH*3,x spl jsr negCARD lda #$00 sta :STACKORIGIN+STACKWIDTH,x sta :STACKORIGIN+STACKWIDTH*2,x sta :STACKORIGIN+STACKWIDTH*3,x tya spl jsr negCARD rts .endp .proc @FRAC_SHORT ldy :STACKORIGIN+STACKWIDTH,x spl...
libsrc/sprites/software/sp1/ts2068hr/updater/sp1_Initialize.asm
andydansby/z88dk-mk2
1
241933
<reponame>andydansby/z88dk-mk2<gh_stars>1-10 ; CALLER linkage for function pointers XLIB sp1_Initialize LIB sp1_Initialize_callee XREF ASMDISP_SP1_INITIALIZE_CALLEE .sp1_Initialize ld hl,2 add hl,sp ld e,(hl) inc hl ld d,(hl) inc hl ld a,(hl) ex de,hl jp sp1_Initialize_callee + ASMDISP_S...
tests/checkers.ads
reznikmm/ada_lsp
11
22070
<gh_stars>10-100 -- Copyright (c) 2017 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- private with GNAT.OS_Lib; private with League.Regexps; with LSP.Types; with LSP.Messages; package Checkers is type Checker is t...
lib/target/rex/classic/rex_crt0.asm
jpoikela/z88dk
640
4900
; Startup Code for Xircom Rex 6000 ; ; djm 6/3/2001 ; ; $Id: rex_crt0.asm,v 1.27 2016-07-13 22:12:25 dom Exp $ ; MODULE rex_crt0 defc crt0 = 1 INCLUDE "zcc_opt.def" ;-------- ; Some scope declarations ;-------- EXTERN _main ;main() is always external to crt0 IF (startup=2) ...
pentesting/jmp_call_pop/jmp_call_pop.nasm
karng87/nasm_game
0
15316
<reponame>karng87/nasm_game section .text global main main: jmp msg_data shell: pop rsi xor rax, rax add al, 1 mov rdi, rax mov rdx, rdi add dl, 11 syscall xor rax, rax add al, 60 xor rdi, rdi syscall msg_data: call shell msg: db...
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c64104c.ada
best08618/asylo
7
3141
<gh_stars>1-10 -- C64104C.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein....
Cats/Category/Product/Binary/Facts.agda
alessio-b-zak/cats
0
15231
<reponame>alessio-b-zak/cats module Cats.Category.Product.Binary.Facts where open import Cats.Category open import Cats.Category.Product.Binary using (_×_) open import Cats.Functor open import Cats.Util.Logic.Constructive using (_∧_ ; _,_ ; ∧-eliml ; ∧-elimr) module _ {lo la l≈ lo′ la′ l≈′} {C : Category lo la l≈}...
samples/rest/monitor.adb
jquorning/ada-servlet
6
30416
----------------------------------------------------------------------- -- monitor - A simple monitor API -- Copyright (C) 2016, 2018, 2021 <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 License....
Src/serial.ads
SMerrony/dashera
23
1319
-- Copyright (C)2022 <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, merge, publish, distribut...
src/jsa-intermediate_backups.adb
sparre/JSA
1
27003
<filename>src/jsa-intermediate_backups.adb with Ada.Calendar; package body JSA.Intermediate_Backups is In_A_Loop : Boolean := False; Save_Time : Duration; Loop_Start : Ada.Calendar.Time; Saved : Boolean; procedure Begin_Loop is begin In_A_Loop := True; Save_Time := 0.0; ...
oeis/013/A013781.asm
neoneye/loda-programs
11
728
; A013781: a(n) = 4^(4*n + 3). ; 64,16384,4194304,1073741824,274877906944,70368744177664,18014398509481984,4611686018427387904,1180591620717411303424,302231454903657293676544,77371252455336267181195264,19807040628566084398385987584,5070602400912917605986812821504,1298074214633706907132624082305024,332306998946228968225...
libsrc/_DEVELOPMENT/adt/w_vector/c/sdcc_iy/w_vector_capacity_fastcall.asm
jpoikela/z88dk
640
92855
; size_t w_vector_capacity_fastcall(w_vector_t *v) SECTION code_clib SECTION code_adt_w_vector PUBLIC _w_vector_capacity_fastcall EXTERN asm_w_vector_capacity defc _w_vector_capacity_fastcall = asm_w_vector_capacity
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1221.asm
ljhsiun2/medusa
9
15697
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1d54b, %r9 clflush (%r9) nop nop nop nop nop add $7936, %rdi movb (%r9), %r12b nop nop nop add $10578, %rcx lea addresses_WC_ht+0xe20, %rcx nop nop nop add $11979, %rsi mov $0x61626364...
oeis/175/A175512.asm
neoneye/loda-programs
11
23106
<filename>oeis/175/A175512.asm ; A175512: (Digit sum of 7^n) mod n. ; Submitted by Jon Maiga ; 0,1,1,3,2,4,4,7,1,3,5,1,0,2,4,4,7,1,3,16,19,9,16,1,22,8,10,21,5,28,22,7,28,6,17,28,4,16,19,22,25,10,40,43,28,3,34,40,31,34,13,40,8,1,49,43,10,9,34,19,22,8,19,40,52,64,0,66,37,49,52,55,58,70,37,49,11,64,6,25,28,67,43,55,40,20,...
src/Categories/Diagram/Limit/Ran.agda
Trebor-Huang/agda-categories
279
761
<gh_stars>100-1000 {-# OPTIONS --without-K --safe #-} module Categories.Diagram.Limit.Ran where open import Level open import Data.Product using (Σ) open import Categories.Category open import Categories.Category.Complete import Categories.Category.Construction.Cones as ConesCat open import Categories.Category.Const...
courses/spark_for_ada_programmers/labs/source/110_advanced_proof_techniques/max.adb
AdaCore/training_material
15
3065
<gh_stars>10-100 package body Max with SPARK_Mode is function Arrays_Max (A : in Our_Array) return Index_Range is X : Index_Range := Index_Range'First; Y : Index_Range := Index_Range'Last; begin while X /= Y loop -- Write a suitable Loop_Invariant to help prove the postcondition ...
cpm2/RomWBW/Source/HBIOS/spk.asm
grancier/z180
0
96651
<gh_stars>0 ; ;====================================================================== ; I/O BIT DRIVER FOR CONSOLE BELL FOR SBC V2 USING BIT 0 OF RTC DRIVER ;====================================================================== ; SPK_INIT: CALL NEWLINE ; FORMATTING PRTS("SPK: IO=0x$") LD A,DSRTC_BASE CA...
.build/ada/asis-gela-elements-defs-types.ads
faelys/gela-asis
4
10945
<reponame>faelys/gela-asis<gh_stars>1-10 ------------------------------------------------------------------------------ -- Copyright (c) 2006-2013, <NAME> -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following cond...
src/L/Base/Empty/Properties.agda
borszag/smallib
0
13162
<reponame>borszag/smallib<filename>src/L/Base/Empty/Properties.agda module L.Base.Empty.Properties where -- There are no properties yet.
alloy4fun_models/trashltl/models/9/Q5JiWQ7ayaqAHHMon.als
Kaixi26/org.alloytools.alloy
0
1183
open main pred idQ5JiWQ7ayaqAHHMon_prop10 { always all f: File | always (f in Protected implies always f in Protected) } pred __repair { idQ5JiWQ7ayaqAHHMon_prop10 } check __repair { idQ5JiWQ7ayaqAHHMon_prop10 <=> prop10o }
home/handshake.asm
Dev727/ancientplatinum
28
81336
PrinterReceive:: homecall _PrinterReceive ret AskSerial:: ; send out a handshake while serial int is off ld a, [wPrinterConnectionOpen] bit 0, a ret z ; if we're still interpreting data, don't try to receive ld a, [wPrinterOpcode] and a ret nz ; once every 6 frames ld hl, wHandshakeFrameDelay inc [hl] ld...
programs/oeis/160/A160511.asm
jmorken/loda
1
170430
<reponame>jmorken/loda<filename>programs/oeis/160/A160511.asm<gh_stars>1-10 ; A160511: Number of weighings needed to find lighter coins among n coins. ; 1,2,3,3,4,4,5,6,6,7,7,8,9,9,10,11,11,12,13,13,14,14,15,16,16,17,18,18,19 mov $2,$0 add $2,7 mov $4,5 mov $5,5 lpb $2 add $3,$5 mul $4,2 lpb $4 trn $4,$3 ...
programs/oeis/226/A226164.asm
neoneye/loda
22
164669
; A226164: Sequence used for the quadratic irrational number belonging to the principal indefinite binary quadratic form. ; 1,2,2,3,3,4,3,4,4,5,4,5,5,6,5,6,5,6,6,7,6,7,6,7,7,8,7,8,7,8,7,8,8,9,8,9,8,9,8,9,9,10,9,10,9,10,9,10,9,10,10,11,10,11,10,11,10,11,10,11,11,12,11,12,11,12,11,12,11,12,11,12,12,13,12,13,12,13,12,13,1...
programs/oeis/090/A090792.asm
neoneye/loda
22
175029
; A090792: a(0)=1; for n>0, a(n)=a([n/2])+a([n/4])+a([n/8]). ; 1,3,5,5,9,9,9,9,17,17,17,17,17,17,17,17,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,57,105,105,105,105,105,105 mov $1,2 mov $2,12 lpb $0 div $0,2 mul $1,$2...
src/main/antlr4/an5/an5Parser.g4
zebity/an5
0
3033
/* [The "BSD licence"] Copyright (c) 2021 <NAME> - Graphica Software/Dokmai Pty Ltd All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyrigh...
src/multiply_proof.ads
joffreyhuguet/curve25519-spark2014
4
14938
<gh_stars>1-10 with Big_Integers; use Big_Integers; with Conversion; use Conversion; with Types; use Types; package Multiply_Proof with SPARK_Mode, Ghost is pragma Annotate (GNATprove, Terminating, Multiply_Proof); ------------------------------- -- Partial_Product functions -- --------------...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1289.asm
ljhsiun2/medusa
9
11481
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x14597, %r13 xor %r10, %r10 mov (%r13), %rdi nop nop nop and %r15, %r15 lea addresses_D_ht+0x11997, %rdx xor $10016, %r13 movb (%rdx), %bl nop nop nop nop nop inc %r10 lea ad...
programs/oeis/095/A095939.asm
jmorken/loda
1
12702
<reponame>jmorken/loda ; A095939: a(n+2) = 5a(n+1) - 3a(n) (n >= 1); a(0) = 1, a(1) = 2, a(2) = 9. ; 1,2,9,39,168,723,3111,13386,57597,247827,1066344,4588239,19742163,84946098,365504001,1572681711,6766896552,29116437627,125281498479,539058179514,2319446402133,9980057472123,42941948154216,184769568354711,795021997310907...
libsrc/_DEVELOPMENT/z80/c/sccz80/im2_create_generic_isr_8080_callee.asm
meesokim/z88dk
0
16662
; void *im2_create_generic_isr_8080_callee(uint8_t num_callback, void *address) SECTION code_z80 PUBLIC im2_create_generic_isr_8080_callee, l0_im2_create_generic_isr_8080_callee EXTERN asm_im2_create_generic_isr_8080 im2_create_generic_isr_8080_callee: pop hl pop de ex (sp),hl l0_im2_create_generic_isr_...
libsrc/_DEVELOPMENT/adt/w_array/c/sccz80/w_array_erase_callee.asm
meesokim/z88dk
0
95835
<reponame>meesokim/z88dk ; size_t w_array_erase(w_array_t *a, size_t idx) SECTION code_adt_w_array PUBLIC w_array_erase_callee w_array_erase_callee: pop hl pop bc ex (sp),hl INCLUDE "adt/w_array/z80/asm_w_array_erase.asm"
smsq/q40/int2.asm
olifink/smsqe
0
28628
<filename>smsq/q40/int2.asm ; Interrupt 2 handler V2.11  1999 <NAME> ; ; 2018-11-22 v. 2.11 correct nbr of ticks (49, not 50) for clock counter (wl) section int xdef q40_int2 xdef hw_poll include 'dev8_keys_68000' include 'dev8_keys_sys' include 'dev8_keys_iod' include 'dev8_keys_psf' include 'dev8_keys_q4...
oeis/250/A250162.asm
neoneye/loda-programs
11
26163
; A250162: Number of length n+1 0..3 arrays with the sum of adjacent differences multiplied by some arrangement of +-1 equal to zero. ; Submitted by <NAME>(s4) ; 4,20,96,436,1880,7836,32032,129572,521256,2091052,8376368,33529908,134168632,536772668,2147287104,8589541444,34358952008,137437380684,549752668240,21990169641...
test/fail/Issue203b.agda
asr/agda-kanso
1
9266
<filename>test/fail/Issue203b.agda {-# OPTIONS --universe-polymorphism #-} -- Should give some unsolved metas module Issue203b where open import Imports.Level -- Should work but give unsolved metas (type of b) data ↓ {a b} (A : Set a) : Set a where [_] : (x : A) → ↓ A -- Shouldn't instantiate the level of Σ to a ...
Find_Max/Find_Max/find_maxasm.asm
FMoller/Racing_the_Dragon
0
245133
.386 .model flat,c .code find_maxasm PROC push ebp mov ebp, esp pop ebp ret find_maxasm endp end