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
programs/oeis/336/A336705.asm
neoneye/loda
22
87851
<reponame>neoneye/loda ; A336705: Coordination sequence for the half-Manhattan lattice. ; 1,3,7,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228 mov $1,$0 mul $0,8 sub $0...
kernel/arch/i386/bios32.asm
squirrelcom/tritium-os
17
7980
; BIOS32 function: ; Execute function in BIOS (see VESA32 in idt-asm.asm for VESA related bios functions) ; ; Inputs: ; al - Function ; other registers, vary ; ; Outputs: ; varies ; ; Note: you will most likely have to reload the PIT ; Macros to make it easier to access data and code copied to 0x7C00 %d...
oeis/204/A204575.asm
neoneye/loda-programs
11
22312
; A204575: Squares such that [a(n)/2] is again a square (A055792), written in binary. ; Submitted by <NAME> ; 0,1,1001,100100001,10011001001001,1010001010010000001,101011001001001011001001,10110111001100110101000100001,1100001001111011011000010110001001,110011100111010101001010101001000000001 seq $0,55792 ; a(n) and f...
Sources/Globe_3d/globe_3d-options.adb
ForYouEyesOnly/Space-Convoy
1
285
<reponame>ForYouEyesOnly/Space-Convoy package body GLOBE_3D.Options is function Is_debug_mode return Boolean is begin return show_normals or show_portals or full_check_objects or filter_portal_depth; end Is_debug_mode; end GLOBE_3D.Options;
libsrc/video/tms9918/add_raster_nmi.asm
jpoikela/z88dk
640
80312
<filename>libsrc/video/tms9918/add_raster_nmi.asm SECTION code_clib PUBLIC add_raster_int PUBLIC _add_raster_int EXTERN nmi_install_isr defc add_raster_int = nmi_install_isr defc _add_raster_int = nmi_install_isr
CPU/cpu_test/test_storage/1_set_load.asm
SilenceX12138/MIPS-Microsystems
55
104023
<filename>CPU/cpu_test/test_storage/1_set_load.asm #initial lui $1,0x2819 ori $1,$1,0x9384 lui $2,0x7cfd ori $2,$2,0x5738 lui $3,0x883c ori $3,$3,0x8847 lui $4,0x9382 ori $4,$4,0xacfe sw $1,0($0) sw $2,4($0) sw $3,8($0) sw $4,12($0) #lh ori $5,$0,1 slti $5,$5,2 lh $1,1($5) lh $2,3($5) sltiu $6,$0,238 ori $7,$0,7 lh $2,...
notes/fixed-points/LFPs/List.agda
asr/fotc
11
16331
------------------------------------------------------------------------------ -- Equivalence of definitions of total lists ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-poly...
alloy4fun_models/trashltl/models/17/BP9SRic6yDQGMt9Jd.als
Kaixi26/org.alloytools.alloy
0
234
<reponame>Kaixi26/org.alloytools.alloy<gh_stars>0 open main pred idBP9SRic6yDQGMt9Jd_prop18 { always all p : Protected | p not in Protected' => p in Trash' } pred __repair { idBP9SRic6yDQGMt9Jd_prop18 } check __repair { idBP9SRic6yDQGMt9Jd_prop18 <=> prop18o }
xlwings/xlwings.applescript
Vip1225/testxlwings
0
1160
# Allows to run the script from Script Editor for testing VbaHandler("TestString") on VbaHandler(ParameterString) set {PYTHONPATH, PythonInterpreter, PythonCommand, WORKBOOK_FULLNAME, ApplicationFullName, LOG_FILE} to SplitString(ParameterString, ",") set ShellCommand to PythonInterpreter & " -B -u -W ignore -c \"im...
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_base_gstbytereader_h.ads
persan/A-gst
1
17866
pragma Ada_2005; pragma Style_Checks (Off); pragma Warnings (Off); with Interfaces.C; use Interfaces.C; with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h; with glib; with glib.Values; with System; limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h; with System; package GStreamer.GST_Low_Level....
alloy4fun_models/trainstlt/models/4/Pc5ox8ZgzfLqteivi.als
Kaixi26/org.alloytools.alloy
0
2460
<filename>alloy4fun_models/trainstlt/models/4/Pc5ox8ZgzfLqteivi.als open main pred idPc5ox8ZgzfLqteivi_prop5 { all t:Train | t.pos' in t.pos.prox } pred __repair { idPc5ox8ZgzfLqteivi_prop5 } check __repair { idPc5ox8ZgzfLqteivi_prop5 <=> prop5o }
agda/Number/Instances/QuoQ/Definitions.agda
mchristianl/synthetic-reals
3
1310
<gh_stars>1-10 {-# OPTIONS --cubical --no-import-sorts --allow-unsolved-metas #-} module Number.Instances.QuoQ.Definitions where open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero) open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc) open import Cubical.Fo...
hardware/eraser.asm
bhargavkumar040/android-source-browsing.device--google--accessory--adk2012-demo
0
164738
<filename>hardware/eraser.asm ; ; Copyright (C) 2012 The Android Open Source Project ; ; 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....
alloy4fun_models/trashltl/models/11/W8PSZNmKABNuZFypb.als
Kaixi26/org.alloytools.alloy
0
1038
<gh_stars>0 open main pred idW8PSZNmKABNuZFypb_prop12 { always all f: File | eventually f in Trash } pred __repair { idW8PSZNmKABNuZFypb_prop12 } check __repair { idW8PSZNmKABNuZFypb_prop12 <=> prop12o }
src/fot/FOTC/README.agda
asr/fotc
11
14889
------------------------------------------------------------------------------ -- First-Order Theory of Combinators (FOTC) ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-universe-polym...
Transynther/x86/_processed/NONE/_ht_zr_un_/i7-7700_9_0x48.log_21829_813.asm
ljhsiun2/medusa
9
174146
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x3f5, %rsi lea addresses_UC_ht+0x1b69d, %rdi nop nop inc %r15 mov $90, %rcx rep movsl nop nop nop nop nop cmp %rbp, %rbp lea addresses_UC_ht+0x783d, %rbp clflush (%rbp) nop n...
execution_hints/c11_strengthening_seq.als
mpardalos/memalloy
20
2256
pred c11_strengthening_seq[X:Exec] { /* e1:W[na](a,1) || e2:R[rlx](x,1) || e5: R[rlx](y,1) || [ctrl] || [ctrl] || e3:R[na](a,1) || e6: W[rlx](x,1) || [ctrl] || || e4:W[rlx](y,1) || */ some disj e1,e2,e3,e4,e5,e6 : E { X.EV = e1+e2...
Irvine/Examples/ch07/32 bit/imul.asm
alieonsido/ASM_TESTING
0
97687
<filename>Irvine/Examples/ch07/32 bit/imul.asm<gh_stars>0 ; IMUL Examples (imul.asm) ; This program shows exmples of various IMUL formats. INCLUDE Irvine32.inc .data byte1 SBYTE -4 byte2 SBYTE +5 .code main PROC ; Example 1 mov al,48 mov bl,4 imul bl ; AX = 00C0h, OF = 1 ; Example 2 ...
src/bitmap_buffer.adb
KLOC-Karsten/adaoled
0
17513
<gh_stars>0 with Interfaces; use Interfaces; with Bitmap_Graphics; use Bitmap_Graphics; package body Bitmap_Buffer is -- Set the color for the whole buffer. procedure Set(Buf: Buffer_Ref; Clr: Color) is Val: Unsigned_8; begin case Clr is when White => Val := 255; when Black => Val := 0; ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr35.adb
best08618/asylo
7
8320
-- { dg-do compile } package body Discr35 is procedure Proc1 is R : Rec2 := Null_Rec2; begin null; end; procedure Proc2 is R : Rec2; begin R := Null_Rec2; end; end Discr35;
programs/oeis/010/A010903.asm
jmorken/loda
1
245330
; A010903: Pisot sequence E(3,13): a(n) = floor(a(n-1)^2/a(n-2) + 1/2). ; 3,13,56,241,1037,4462,19199,82609,355448,1529413,6580721,28315366,121834667,524227237,2255632184,9705479209,41760499493,179686059838,773148800711,3326685824041,14313982718072,61589856118237,265007332436969,1140267093830134,4906313471839763 add $...
test/Common/Float.agda
KDr2/agda
0
15319
<reponame>KDr2/agda {-# OPTIONS --cubical-compatible #-} module Common.Float where open import Agda.Builtin.Float public open import Common.String floatToString : Float -> String floatToString = primShowFloat
src/zmq.adb
sonneveld/adazmq
0
8162
with Ada.Unchecked_Conversion; with Interfaces.C.Strings; with ZMQ_Constants; package body ZMQ is use type System.Address; use type Interfaces.C.int; use type Interfaces.C.size_t; use type Interfaces.C.unsigned; -- Conversion function Convert is new Ada.Unchecked_Conversion (Source => Inte...
Ivy.Asm/boot/start.asm
HoloVector/PolarisOS
3
169652
start: jmp start_program nop oemname db 'ETS' bytespersector dw 512 sectorspercluster db 1 ressectors dw 1 numcopiesfat db 2 maxallocrootdir dw 224 maxsectors dw 2880 ;for 1.44 mbytes disk mediadescriptor db 0f0h ;fd = 2 sides 18 s...
smsq/sbas/init.asm
olifink/smsqe
0
92602
<reponame>olifink/smsqe ; SBAS_INIT - Initialise SBASIC vars V2.02  1992 <NAME> QJUMP section sbas xdef sb_initv xdef sb_initc xref sb_resch xref sb_inallc xref sb_inchan xref gu_achp0 xref uq_opcon xref sb_job xref sb_chk$heap include 'dev8_keys_sys' include 'dev8_keys_sbasic' include 'dev8_keys...
programs/oeis/072/A072172.asm
neoneye/loda
22
22801
; A072172: a(n) = (2*n+1)*5^(2*n+1). ; 5,375,15625,546875,17578125,537109375,15869140625,457763671875,12969970703125,362396240234375,10013580322265625,274181365966796875,7450580596923828125,201165676116943359375,5401670932769775390625,144354999065399169921875,3841705620288848876953125,101863406598567962646484375,269210...
antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/SqlLexer.g4
RYH61/iotdb
0
6981
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
source/oasis/program-elements-formal_unconstrained_array_types.ads
reznikmm/gela
0
30421
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Formal_Type_Definitions; with Program.Lexical_Elements; with Program.Elements.Expressions; with Program.Elements.Component_Definitions; package Prog...
core/src/main/resources/eu/mihosoft/vmf/vmftext/antlr/TypeMapping.g4
miho/VMF-Text
9
4681
grammar TypeMapping; typeMappingCode: typemappings+=typeMapping* ; typeMapping: 'TypeMap' '(' (applyTo+=Identifier (',' applyTo+=Identifier)*)? ')' '{' entries+=mapping* '}' ; mapping: '('? ('rule:')? ruleName=Identifier '->' ('type:')? typeName=javaType ')'? ('via'|'=') ( ('('|'{...
list_next_meeting.scpt
digitalsushi/applescript_show_next_outlook_meeting
1
2233
#!/usr/bin/osascript -- This script will output a terse string -- indicating when your next meeting is occuring, and -- also where. This could be useful for many reasons. -- I use this inside a tmux info pane so that I can focus -- on a terminal window without missing a meeting alert. on replace(A, B, theText) ...
cmd/print/print_rm.asm
minblock/msdos
0
245805
<reponame>minblock/msdos<filename>cmd/print/print_rm.asm page 60,132 ;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ ; $SALUT (4,25,30,41) INCLUDE pridefs.INC BREAK <Resident Portion Messa...
programs/oeis/304/A304273.asm
neoneye/loda
22
92390
; A304273: The concatenation of the first n terms is the smallest positive even number with n digits when written in base 3/2 (cf. A024629). ; 2,1,0,1,1,0,0,0,1,1,0,1,0,0,1,1,0,1,0,1,0,0,1,1,0,1,0,0,1,0,1,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,0,1,1,0,1,0,1,0,0,1,0,0,1,1,1,1,0,1,1,0,1,1,1,1,1,1,0,1,0...
AVR/Speck64_128_FasterLowRAM.asm
openluopworld/simon-speck
2
174635
/* * Speck64_128_FasterLowRAM.asm * * Created: 2015/6/10 20:41:07 * Author: LuoPeng */ .def currentRound = r16; .def totalRound = r17; .def zero = r18; .dseg plainText: .byte 8 ; the 8 bytes of plaintext, from high byte to low byte. cipherText: .byte 8 ; the 8 bytes of ciphertext, from high byte to low byt...
ruby/coroutine/win64/Context.asm
bkmgit/ruby-packer
2,793
8408
<gh_stars>1000+ ;; ;; This file is part of the "Coroutine" project and released under the MIT License. ;; ;; Created by <NAME> on 10/5/2018. ;; Copyright, 2018, by <NAME>. All rights reserved. ;; .code coroutine_transfer proc ; Save the thread information block: push qword ptr gs:[8] push qword ptr gs:[16] ; ...
oeis/135/A135008.asm
neoneye/loda-programs
11
83936
; A135008: Decimal expansion of 8/e. ; Submitted by <NAME> ; 2,9,4,3,0,3,5,5,2,9,3,7,1,5,3,8,5,7,2,7,6,4,1,9,0,1,6,1,2,9,1,6,8,6,9,3,9,5,6,6,4,8,9,0,4,8,2,5,4,1,4,2,6,7,6,0,6,2,6,9,4,4,1,3,5,7,9,6,9,1,9,6,5,9,5,9,1,9,8,4,2,6,8,5,7,1,7,8,1,9,4,7,6,7,3,5,7,1,4,9 bin $1,$0 mov $2,1 mov $3,$0 mul $3,4 lpb $3 add $5,$2 ...
Groups/Examples/Examples.agda
Smaug123/agdaproofs
4
17261
{-# OPTIONS --safe --warning=error --with-K #-} open import Sets.EquivalenceRelations open import Groups.Definition open import Orders open import Rings.Definition open import Numbers.Integers.Integers open import Numbers.Integers.Multiplication open import Setoids.Setoids open import LogicalFormulae open import Sets....
newitems/general/tables.asm
fcard/z3randomizer
0
175929
; Properties for sprites for new items: ; 000000BF ; |||||||'--1 = Is Fire / 0 = Isn't Fire ; ||||||'---1 = Is Bomb / 0 = Isn't Bomb ; |||||'----Unused ; ||||'-----Unused ; |||'------Unused ; ||'-------Unused ; |'--------Unused ; '---------Unused SpecialSpriteProperties: ; 0x00-0x0F db $00, $00, $00, $00 db...
P6/P6Judger - 100 testpoints/testpoint/testpoint95.asm
flyinglandlord/BUAA-CO-2021
5
18322
<gh_stars>1-10 ori $1, $0, 0 ori $2, $0, 8 ori $3, $0, 14 ori $4, $0, 7 sw $3, 0($0) sw $3, 4($0) sw $1, 8($0) sw $1, 12($0) sw $2, 16($0) sw $1, 20($0) sw $3, 24($0) sw $3, 28($0) sw $1, 32($0) sw $3, 36($0) sw $3, 40($0) sw $3, 44($0) sw $4, 48($0) sw $3, 52($0) sw $2, 56($0) sw $3, 60($0) sw $1, 64($0) sw $1, 68($0)...
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i9-9900K_12_0xca_notsx.log_21829_572.asm
ljhsiun2/medusa
9
165742
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1c81e, %rdi nop nop nop nop add $2695, %rcx vmovups (%rdi), %ymm2 vextracti128 $1, %ymm2, %xmm2 vpextrq $1, %xmm2, %r8 nop nop nop nop dec %rsi lea addresses_UC_ht+0x1291e, %r...
src/C/nettle/nettle-3.0/x86_64/gcm-hash8.asm
GaloisInc/hacrypto
34
178217
<reponame>GaloisInc/hacrypto C x86_64/gcm-hash8.asm ifelse(< Copyright (C) 2013 <NAME> This file is part of GNU Nettle. GNU Nettle is free software: you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by the Free Software F...
resources/scripts/api/bgpview.ads
mindfuckup/Amass
0
22416
<reponame>mindfuckup/Amass -- Copyright 2021 <NAME>. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "BGPView" type = "api" function start() setratelimit(1) end function asn(ctx, addr, asn) local cfg =...
tests/syntax_test_data_directives.asm
dougmasten/dougmasten-sublime-assembly-6809
5
17543
<reponame>dougmasten/dougmasten-sublime-assembly-6809 # SYNTAX TEST "Packages/Assembly-6809/Assembly-6809.sublime-syntax" # <- source.mc6809 buffer_size equ $a1a2 ; Include one or more constant bytes (seperated by commas) in the output fcb 1,2,3 comment # ^^^ storage.type # ^ constant.numeric....
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_9099_1077.asm
ljhsiun2/medusa
9
165839
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1d783, %rcx nop add $51198, %rsi movl $0x61626364, (%rcx) nop nop sub %r8, %r8 lea addresses_WT_ht+0x8569, %rsi lea addresses_WT_ht+0x89c9, %rdi cmp ...
programs/oeis/158/A158253.asm
karttu/loda
1
14769
<reponame>karttu/loda ; A158253: 289n - 1. ; 288,577,866,1155,1444,1733,2022,2311,2600,2889,3178,3467,3756,4045,4334,4623,4912,5201,5490,5779,6068,6357,6646,6935,7224,7513,7802,8091,8380,8669,8958,9247,9536,9825,10114,10403,10692,10981,11270,11559,11848,12137,12426,12715,13004,13293,13582,13871,14160,14449,14738,15027,...
assembler/tests/t_hmcs4x/t_hmcs4x.asm
paulscottrobson/RCA-Cosmac-VIP-III
0
16433
cpu HD614023 page 0 lai 7 ld #7,a ; AS-specific equivalent lbi 12 ld #12,b ; AS-specific equivalent lmid 3,$7f ld #3,$7f ; AS-specific equivalent lmiiy 4 ld #4,m+ ; AS-specific equivalent lab ld b,a ; AS-specific equivalent lba ld a,b ; AS-specific equivalent lay ld y,a ; AS-specific equivalent...
kernel/asmfunc.asm
three-0-3/my-mikanos
0
167555
; asmfunc.asm ; ; System V AMD64 Calling Convention ; Registers: RDI, RSI, RDX, RCX, R8, R9 bits 64 section .text global IoOut32 ; void IoOut32(uint16_t addr, uint32_t data); IoOut32: mov dx, di ; dx = addr mov eax, esi ; eax = data out dx, eax ret global IoIn32 ; uint32_t IoIn32(uint16_t addr); IoIn3...
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/a-intnam.ads
djamal2727/Main-Bearing-Analytical-Model
0
22901
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_6_1948.asm
ljhsiun2/medusa
9
10966
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1aa52, %rbx nop add %rdi, %rdi mov $0x6162636465666768, %rcx movq %rcx, (%rbx) nop nop nop nop add %r11, %r11 lea addresses_WT_ht+0xe04a, %rsi lea addresses_UC_ht+0x18cd2, %rdi nop nop nop add $...
bootloader/print.asm
rares985/wood-os
2
93777
; 16-bit print function ; ; Parameters: ; BX - address of string to be printed ; ; Print is performed with the help of a BIOS function (interrupt 0x10) print: pusha mov ah, 0x0e ; Tell BIOS to output in tele-type mode print_char: mov al, [bx] ; Move first character of string into AL for pr...
Grammar/antlr4/Perl.g4
sudeephazra/perl-on-netbeans
6
2146
grammar Perl; @parser::header {package org.language.perl.grammar;} @lexer::header {package org.language.perl.grammar;} // @parser::members { // public List<SyntaxError> syntaxErrors = new ArrayList<SyntaxError>(); // public String getErrorMessage(RecognitionException e, String[] tokenNames) { // String message =...
PRG/levels/Fortress/7-F1.asm
narfman0/smb3_pp1
0
84481
<filename>PRG/levels/Fortress/7-F1.asm<gh_stars>0 ; Original address was $B28E ; World 7 first fortress brick/boss .word W7F1_AltL ; Alternate level layout .word Empty_ObjLayout ; Alternate object layout .byte LEVEL1_SIZE_08 | LEVEL1_YSTART_0B0 .byte LEVEL2_BGPAL_04 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEV...
Lab_5/Forum(Notes)/group5.ex1.asm
nickbel7/ntua-microprocessors-systems
0
28510
<reponame>nickbel7/ntua-microprocessors-systems ; Microcomputer Systems - Flow Y [6th Semester] ; <NAME> - 031 17 198 - <EMAIL> ; <NAME> - 031 17 165 - <EMAIL> ; 5rd Group of Exercises ; 1st Exercise ; ----------------------- MACROS--------------------------- ; PRINT CHAR PRINT MACRO CHAR P...
game/data/menu_mode_select/tileset.asm
sgadrat/super-tilt-bro
91
169695
<reponame>sgadrat/super-tilt-bro MENU_MODE_SELECTION_TILESET_BANK = CURRENT_BANK_NUMBER tileset_menu_mode_selection: ; Tileset's size in tiles (zero means 256) .byt (tileset_menu_mode_selection_end-tileset_menu_mode_selection_tiles)/16 tileset_menu_mode_selection_tiles: .byt %00000000, %00000000, %00000000, %0000000...
src/databases-utilities.ads
skordal/databases
0
9346
-- Databases - A simple database library for Ada applications -- (c) <NAME> 2019 <<EMAIL>> -- Report bugs and issues on <https://github.com/skordal/databases/issues> -- vim:ts=3:sw=3:et:si:sta with Databases; package Databases.Utilities is -- Directly executes a statement and returns only the status: func...
Thesis/IntChanges.agda
inc-lc/ilc-agda
10
1179
<filename>Thesis/IntChanges.agda module Thesis.IntChanges where open import Data.Integer.Base open import Relation.Binary.PropositionalEquality open import Thesis.Changes open import Theorem.Groups-Nehemiah private intCh = ℤ instance intCS : ChangeStructure ℤ intCS = record { Ch = ℤ ; ch_from_to_ = λ dv v1 v...
programs/oeis/277/A277105.asm
karttu/loda
1
94847
; A277105: a(n) = (27*3^n - 63)/2. ; 9,90,333,1062,3249,9810,29493,88542,265689,797130,2391453,7174422,21523329,64570050,193710213,581130702,1743392169,5230176570,15690529773,47071589382,141214768209,423644304690,1270932914133,3812798742462,11438396227449,34315188682410,102945566047293,308836698141942,926510094425889 ...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/slice8_pkg2.ads
best08618/asylo
7
6865
generic Line_Length : Natural; Max_Lines : Natural; package Slice8_Pkg2 is Subtype Index is Natural Range 0..Line_length; Subtype Line_Count is Natural Range 0..Max_Lines; Type Line (Size : Index := 0) is Record Data : String (1..Size); End Record; Type Lines is Array (Line_Cou...
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i3-7100_9_0x84_notsx.log_21829_915.asm
ljhsiun2/medusa
9
97257
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x198, %rcx nop nop nop nop sub %r8, %r8 mov (%rcx), %rdi nop nop add %rbp, %rbp lea addresses_A_ht+0x175b8, %rdx nop nop nop nop cmp $7623, %rbp mov $0x6162636465666768, %r11 m...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1678.asm
ljhsiun2/medusa
9
246035
<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1678.asm .global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x2292, %rsi lea addresses_normal_ht+0x14292, %rdi nop nop cmp $48224, %rdx mov $1, %rcx rep m...
samples/vsx_mem.c.power9_gcc-8.asm
seiko2plus/vsx_mem_test
0
179281
<filename>samples/vsx_mem.c.power9_gcc-8.asm<gh_stars>0 /test/samples/vsx_mem.c.power9_gcc-8.o: file format elf64-powerpcle Disassembly of section .text: 0000000000000000 <INTRIN_schar>: 0: 00 00 26 2c cmpdi r6,0 4: 20 00 82 4d beqlr 8: 00 00 20 39 li r9,0 c: 00 00 00 60 nop 10: 19 4...
source/nodes/program-nodes-attribute_definition_clauses.adb
reznikmm/gela
0
4222
<reponame>reznikmm/gela<gh_stars>0 -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Attribute_Definition_Clauses is function Create (For_Token : not null Program.Lexical_Elements ...
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-expmod.ads
JCGobbi/Nucleo-STM32G474RE
0
22158
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/src/main/antlr4/imports/sqlserver/Literals.g4
angelbi/shardingsphere
0
746
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
oeis/261/A261667.asm
neoneye/loda-programs
11
97352
; A261667: Dimension of a certain space of duality relations arising in study of q-analogs of multiple zeta values. ; Submitted by <NAME> ; 0,0,0,0,1,2,6,12,25,48,90 sub $0,2 mov $2,1 mov $3,$0 mul $3,4 lpb $3 add $0,1 add $1,$2 add $5,$2 add $1,$5 add $2,$1 mul $1,2 sub $3,1 cmp $5,2 lpe mul $2,$1 mov...
oeis/147/A147625.asm
neoneye/loda-programs
11
94143
; A147625: Octo-factorial numbers(4). ; 1,5,65,1365,39585,1464645,65909025,3493178325,213083877825,14702787569925,1132114642884225,96229744645159125,8949366251999798625,903885991451979661125,98523573068265783062625,11527258048987096618327125,1440907256123387077290890625,191640665064410481279688453125,270213337740818778...
libsrc/ctype/asm_iscntrl.asm
andydansby/z88dk-mk2
1
160065
<filename>libsrc/ctype/asm_iscntrl.asm ; asm_iscntrl XLIB asm_iscntrl ; determine if the char is in [A-Za-z] ; enter : a = char ; exit : carry = not a control char ; uses : f .asm_iscntrl cp 127 ccf ret z cp 32 ccf ret
programs/oeis/017/A017476.asm
neoneye/loda
22
14251
; A017476: a(n) = (11*n + 7)^4. ; 2401,104976,707281,2560000,6765201,14776336,28398241,49787136,81450625,126247696,187388721,268435456,373301041,506250000,671898241,875213056,1121513121,1416468496,1766100625,2176782336,2655237841,3208542736,3844124001,4569760000,5393580481,6324066576,7370050801,8540717056,9845600625,11...
programs/oeis/033/A033118.asm
neoneye/loda
22
9753
; A033118: Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,0. ; 1,8,65,520,4161,33288,266305,2130440,17043521,136348168,1090785345,8726282760,69810262081,558482096648,4467856773185,35742854185480,285942833483841,2287542667870728,18300341342965825,146402730743726600,11712218...
src/numerics-max_real_array.adb
sciencylab/lagrangian-solver
0
7330
separate (Numerics) function Max_Real_Array (Item : in Real_Vector) return Real is Result : Real := Item (Item'First); begin for N of Item loop Result := Real'Max (Result, N); end loop; return Result; end Max_Real_Array;
dd/qlnd/break.asm
olifink/smsqe
0
177050
<filename>dd/qlnd/break.asm * Test for break  1985 <NAME> QJUMP * section nd * xdef nd_break test for break * include dev8_dd_qlnd_keys * * Test for break * * IPC commands to read rows of the keyboard * dc.w $02 position of CTRL ipc_rr7 dc.b 9,1,0,0,0,0,7,2 read CTRL key row dc.w $40 position of SPACE i...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1032.asm
ljhsiun2/medusa
9
85434
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x19564, %rsi lea addresses_A_ht+0x3a0a, %rdi nop and %r13, %r13 mov $68, %rcx rep movsb nop nop nop nop cmp %r8, %r8 lea addresses_WT_ht+0xa512, %rsi lea addresses_D_ht+0x960a, %rdi clfl...
vm_check/arithmetic/0_division.asm
skiff-vm/skiff
0
22873
<gh_stars>0 .init main .debug 3 .float LHS 10.0 .float RHS 2.0 .float result 5.0 .code integer_based: mov i0 @15 ; LHS mov i1 @5 ; RHS mov i2 @3 ; Expected div i0 i0 i1 ; Perform division aseq i0 i2 ; Ensure things are equal ret float_based: m...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1972.asm
ljhsiun2/medusa
9
97531
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x8c10, %r8 xor %r11, %r11 vmovups (%r8), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $1, %xmm4, %r10 nop nop nop nop nop xor %rsi, %rsi lea addresses_WT_ht+0x16...
oeis/019/A019444.asm
neoneye/loda-programs
11
87862
; A019444: a_1, a_2, ..., is a permutation of the positive integers such that the average of each initial segment is an integer, using the greedy algorithm to define a_n. ; Submitted by <NAME>iga ; 1,3,2,6,8,4,11,5,14,16,7,19,21,9,24,10,27,29,12,32,13,35,37,15,40,42,17,45,18,48,50,20,53,55,22,58,23,61,63,25,66,26,69,71...
oeis/004/A004610.asm
neoneye/loda-programs
11
246593
; A004610: Expansion of sqrt(6) in base 3. ; Submitted by <NAME>(s2) ; 2,1,1,0,0,1,0,2,0,0,0,2,2,0,2,1,1,1,1,2,2,1,1,2,2,0,1,2,2,1,2,0,1,0,1,0,0,0,2,1,2,2,1,1,0,0,1,1,1,1,1,2,0,0,1,0,1,1,1,1,2,2,0,0,2,1,0,2,2,1,1,2,1,0,1,0,1,1,0,1,0,0,1,2,0,1,0,2,2,1,0,1,1,0,1,1,2,1,0,2 mov $1,1 mov $2,1 mov $3,$0 add $3,2 mov $4,$0 a...
src/test/resources/RegistryLexer.g4
google/polymorphicDSL
3
169
lexer grammar RegistryLexer; import AlphaLexer, PolymorphicDslCommonLexer, BetaLexer;
data/pokemon/base_stats/hoenn/corphish.asm
Dev727/ancientplatinum
0
1407
<filename>data/pokemon/base_stats/hoenn/corphish.asm db 0 ; 341 DEX NO db 43, 80, 65, 35, 50, 35 ; hp atk def spd sat sdf db WATER, WATER ; type db 205 ; catch rate db 111 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 15 ; step cycles to hatch db 5 ; ...
src/kernel/x64/cpu.asm
7E00h/septos
1
177304
BITS 64 global _asm_out_8 global _asm_out_16 global _asm_out_32 global _asm_in_8 global _asm_in_16 global _asm_in_32 global _asm_load_cr3 global _asm_read_cr3 section .text _asm_out_8: push rax push rdx movsx rdx, edi ; Address movsx rax, esi ; Data out dx, al pop rdx pop rax ret _...
test/Succeed/normalise-bug.agda
KDr2/agda
1
14811
<reponame>KDr2/agda<filename>test/Succeed/normalise-bug.agda open import Agda.Builtin.Reflection renaming (bindTC to _>>=_) open import Agda.Builtin.Sigma open import Agda.Builtin.List open import Agda.Builtin.Unit open import Agda.Builtin.Nat open import Agda.Builtin.Equality infixr 0 _$_ _$_ : ∀ {a b}{A : Set a}{B :...
programs/oeis/040/A040247.asm
karttu/loda
0
7063
; A040247: Continued fraction for sqrt(264). ; 16,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32,4,32 sub $0,1 mod $0,2 mul $0,10 add $0,2 pow $0,2 mov $1,$0 div $1,20 mul $1,4 add $1,4
Experiment/ApplicativeOld.agda
rei1024/agda-misc
3
14878
<filename>Experiment/ApplicativeOld.agda {-# OPTIONS --without-K --safe #-} module Experiment.Applicative where open import Function.Base open import Relation.Binary.PropositionalEquality record Functor (F : Set → Set) : Set₁ where field fmap : ∀ {A B} → (A → B) → F A → F B field fmap-id : ∀ {A} (x : F...
agda-stdlib/src/Text/Pretty/Core.agda
DreamLinuxer/popl21-artifact
5
634
<filename>agda-stdlib/src/Text/Pretty/Core.agda ------------------------------------------------------------------------ -- The Agda standard library -- -- Pretty Printing -- This module is based on <NAME>'s functional pearl -- "A Pretty But Not Greedy Printer" ----------------------------------------------------------...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1327.asm
ljhsiun2/medusa
9
82584
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x13baf, %r15 nop nop nop nop nop add $59359, %rbp mov $0x6162636465666768, %r14 movq %r14, (%r15) xor %rbp, %rbp lea addresses_D_ht+0x1139a, %rsi lea addre...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_452.asm
ljhsiun2/medusa
9
21109
.global s_prepare_buffers s_prepare_buffers: push %r12 push %rax push %rbp push %rbx push %rcx push %rdi push %rdx lea addresses_normal_ht+0x1695, %r12 nop nop nop sub %rax, %rax movb (%r12), %bl nop nop nop nop nop xor $55258, %rax lea addresses_normal_ht+0x16d09, %rcx clflush (%rcx) nop nop nop nop mfence movups (%rc...
src/lolicon.adb
REWERK/lolicon
51
6790
<reponame>REWERK/lolicon with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with GNAT.OS_Lib; use GNAT.OS_Lib; procedure Lolicon is Age : Integer; procedure Intice is begin -- Nothing because weebs are already attracted to underage anime girls. null; ...
Categories/Object/Products/N-ary.agda
copumpkin/categories
98
1575
<reponame>copumpkin/categories {-# OPTIONS --universe-polymorphism #-} open import Categories.Category open import Categories.Object.Products module Categories.Object.Products.N-ary {o ℓ e} (C : Category o ℓ e) (P : Products C) where open Category C open Products P open Equiv import Categories.Object.Product ...
programs/pong.asm
SimonFJ20/jdh-8
911
19164
; ======== ; = PONG = ; ======== @include "os/arch.asm" @include "os/oscall.asm" @org ADDR_RAM ; sizes @define PADDLE_HEIGHT 16 @define BALL_SIZE 1 ; paddles @define PLEFT 0 @define PRIGHT 1 ; run out of characters after this @define MAX_SCORE 9 ; keyboard port @define KBPRT 2 jmp [main] ; dirty flags @defi...
src/Data/QuadTree/Implementation/Definition.agda
JonathanBrouwer/research-project
1
15584
<gh_stars>1-10 module Data.QuadTree.Implementation.Definition where open import Haskell.Prelude renaming (zero to Z; suc to S) open import Data.Lens.Lens open import Data.Logic {-# FOREIGN AGDA2HS {-# LANGUAGE Safe #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE Rank2Types #-} import Data.Nat import Data.Lens.Lens impor...
gyak/gyak9/kocsma.adb
balintsoos/LearnAda
0
19603
<gh_stars>0 with Ada.Text_IO; use Ada.Text_IO; procedure Kocsma is type Ital is (Sor, Bor, Palinka); -- task Kocsmaros task Kocsmaros is entry Tolt( Mit: in Ital ); end Kocsmaros; task body Kocsmaros is begin for I in 1..20 loop accept Tolt ( Mit: in...
blink/blink.asm
sent-hil/arduino-assembly
0
99805
;hello.asm ; turns on an LED which is connected to PB5 (digital out 13) .include "./m328Pdef.inc" ldi r16, 0b00100000 out DDRB, r16 out PortB, r16 mainloop: eor r17, r16; invert output bit out PORTB, r17; write to port LDI R18, 255 LDI R19, 255 DEC R18 DEC R18 DEC R18 DEC R18 DEC R18 DEC R18 DEC...
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0xca_notsx.log_21829_890.asm
ljhsiun2/medusa
9
162629
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1b3f5, %r8 nop nop nop nop xor %rdx, %rdx movb $0x61, (%r8) add $26487, %r9 lea addresses_WT_ht+0xaa29, %rsi lea addresses_A_ht+0x1076d, %rdi clflush (%rsi) nop...
src/chapter_8/list_summation.asm
marinjurjevic/x86-64_programming
0
22291
; Chapter 8 ; 8.2 Example program, List Summation ; Simple example to the sum and average for ; a list of numbers. ; *********************************** ; Data declarations section .data ; ------ ; Define constants SUCCESS equ 0 SYS_exit equ 60 ; ----- ; Define data section ...
tests/src/test_placeholders.ads
TNO/Rejuvenation-Ada
1
15670
<reponame>TNO/Rejuvenation-Ada with AUnit; use AUnit; with AUnit.Test_Cases; use AUnit.Test_Cases; package Test_Placeholders is type Placeholders_Test_Case is new Test_Case with null record; overriding procedure Register_Tests (T : in out Placeholders_Test_Case); -- Register routines ...
Inductive.agda
mr-ohman/general-induction
0
12199
<filename>Inductive.agda module Inductive where open import Level using (_⊔_) open import Data.Nat hiding (_⊔_) open import Data.Fin open import Data.List hiding (map) import Data.List as List open import Data.Vec hiding (_++_) open import Data.Product hiding (map) open import Tuple using (Tuple; []; _∷_; unfoldToFunc...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1398.asm
ljhsiun2/medusa
9
169752
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1398.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %r9 push %rbx push %rcx lea addresses_WC_ht+0x3200, %r11 nop add $17958, %r8 mov (%r11), %r14d nop nop cmp $17823, %r9 lea addresses_normal_ht+0x114c0, %r14 nop...
courses/fundamentals_of_ada/labs/solar_system/adv_280_low_level_programming/question_4/src/solar_system-graphics.adb
AdaCore/training_material
15
15742
with Ada.Real_Time; use Ada.Real_Time; package body Solar_System.Graphics is procedure Draw_Body(Object : Body_Type; Canvas : Canvas_ID) is begin if Object.Visible then Draw_Sphere(Canvas => Canvas, Position => (Object.Pos.X, Object.Pos.Y, 0.0), Radius ...
libsrc/target/multi8/graphics/w_pixel.asm
jpoikela/z88dk
38
27613
<reponame>jpoikela/z88dk<filename>libsrc/target/multi8/graphics/w_pixel.asm EXTERN w_pixeladdress EXTERN getmaxy EXTERN getmaxx EXTERN l_cmp EXTERN __gfx_coords EXTERN __vram_in EXTERN __vram_out ; Generic code to handle the pixel commands ; Define NEEDxxx before including push hl ;save x call getmaxy ;...
data/wildPokemon/route10.asm
adhi-thirumala/EvoYellow
0
22442
<filename>data/wildPokemon/route10.asm Route10Mons: db $0F db 16,ELECTABUZZ db 18,MAREEP db 18,MAGNEMITE db 20,MAGNEMITE db 17,NIDORAN_M db 17,NIDORAN_F db 22,MAGNEMITE db 20,RATICATE db 16,MACHOP db 18,MACHOP db $00
programs/oeis/293/A293710.asm
neoneye/loda
22
97547
; A293710: Expansion of x^2/(1 - 4*x - 4*x^2 - x^3). ; 0,0,1,4,20,97,472,2296,11169,54332,264300,1285697,6254320,30424368,148000449,719953588,3502240516,17036776865,82876023112,403153440424,1961154631009,9540108308844,46408205199836,225754408665729,1098190563771104,5342188094947168 mul $0,2 trn $0,3 seq $0,52910 ; Exp...
libsrc/rs232/cpc/sti/rs232_init.asm
andydansby/z88dk-mk2
1
15829
<reponame>andydansby/z88dk-mk2 ; ; z88dk RS232 Function ; ; Amstrad CPC (STI) version ; ; unsigned char rs232_init() ; ; $Id: rs232_init.asm,v 1.2 2008/06/05 14:31:24 stefano Exp $ XLIB rs232_init rs232_init: ld hl,0 ;RS_ERR_OK; ret