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/sys/http/aws/aws-client-ext.ads | My-Colaborations/ada-util | 0 | 16369 | <filename>src/sys/http/aws/aws-client-ext.ads
------------------------------------------------------------------------------
-- Ada Web Server --
-- --
-- Copyright (C) ... |
kernel/acpi/public.asm | ssebs/xos | 15 | 241943 | <filename>kernel/acpi/public.asm<gh_stars>10-100
;; xOS32
;; Copyright (C) 2016-2017 by <NAME>.
use32
; shutdown:
; Shuts down the PC
shutdown:
cmp [current_task], 1
jg .no ; only the kernel and the shell can shut down the PC
; when I support IPC, other programs can request shutdowns by sending --
; -- a m... |
Cubical/Data/HomotopyGroup.agda | dan-iel-lee/cubical | 0 | 15006 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.HomotopyGroup where
open import Cubical.Data.HomotopyGroup.Base public
|
hidecpu2/src/test/resources/data_indirect.asm | mmastrac/oblivious-cpu | 14 | 11242 | <reponame>mmastrac/oblivious-cpu<filename>hidecpu2/src/test/resources/data_indirect.asm
mov r0, pointers
mov r2, 4
loop:
mov r1, [r0]
mov r1, [r1]
add r3, r1
add r0, 1
loop r2, loop
sub r3, 1 # 10+20+40+30-1=99
mov [out], r3
halt
.data
out: data 0
pointers: data p1, p2, p3, p4
p1: data 10
p2: data 20
p4: data 40
p3: d... |
scripts/add1.applescript | TimeForANinja/qlab-scoreboard | 1 | 1466 | <filename>scripts/add1.applescript
-- TODO: add case 0 => no number displayed
set einer to "left-einer"
set zehner to "left-zehner"
on increaseEiner()
tell application id "com.figure53.QLab.4" to tell front workspace
set groupCue to cues of cue (my einer)
set runningIndex to 0
repeat with n from 1 to count ... |
data/types/names.asm | opiter09/ASM-Machina | 1 | 244377 | TypeNames:
table_width 2, TypeNames
dw .Sound
dw .Fighting
dw .Flying
dw .Poison
dw .Ground
dw .Rock
dw .Bird
dw .Bug
dw .Ghost
REPT FIRE - GHOST - 1
dw .Normal
ENDR
dw .Fire
dw .Water
dw .Grass
dw .Electric
dw .Psychic
dw .Ice
dw .Dragon
assert_table_length NUM_TYPES
.Sound: db "SOUND@"
.Fig... |
Mockingbird/Problems/Chapter19.agda | splintah/combinatory-logic | 1 | 64 | <filename>Mockingbird/Problems/Chapter19.agda
open import Mockingbird.Forest using (Forest)
-- Aristocratic Birds
module Mockingbird.Problems.Chapter19 {ℓb ℓ} (forest : Forest {ℓb} {ℓ}) where
open import Data.Product using (_×_; _,_; ∃-syntax)
open import Function using (_$_)
open import Level using (_⊔_)
open import... |
oeis/131/A131594.asm | neoneye/loda-programs | 11 | 13135 | ; A131594: Decimal expansion of sqrt(2)/3, the volume of a regular octahedron with edge length 1.
; Submitted by <NAME>(s4)
; 4,7,1,4,0,4,5,2,0,7,9,1,0,3,1,6,8,2,9,3,3,8,9,6,2,4,1,4,0,3,2,3,2,6,9,2,8,5,6,5,5,7,2,9,1,7,9,2,3,1,6,0,2,4,3,9,2,2,2,6,5,7,9,3,3,0,2,4,4,1,5,9,4,8,7,3,6,9,0,1,2,9,5,0,1,2,9,1,7,8,1,0,9,2,1,3,8,... |
programs/oeis/074/A074723.asm | karttu/loda | 0 | 10302 | <reponame>karttu/loda<gh_stars>0
; A074723: Largest power of 2 dividing F(3n) where F(k) is the k-th Fibonacci number.
; 2,8,2,16,2,8,2,32,2,8,2,16,2,8,2,64,2,8,2,16,2,8,2,32,2,8,2,16,2,8,2,128,2,8,2,16,2,8,2,32,2,8,2,16,2,8,2,64,2,8,2,16,2,8,2,32,2,8,2,16,2,8,2,256,2,8,2,16,2,8,2,32,2,8,2,16,2,8,2,64,2,8,2,16,2,8,2,32... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_208.asm | ljhsiun2/medusa | 9 | 11500 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1cbb8, %rdi
nop
nop
nop
add $7930, %r9
movw $0x6162, (%rdi)
nop
nop
nop
nop
nop
and $53837, %rdx
lea addresses_WT_ht+0x5718, %r9
nop
nop
nop
add $56090, %rdi
mov (%r9), %r15d
a... |
Transynther/x86/_processed/US/_st_4k_/i7-8650U_0xd2.log_8_1716.asm | ljhsiun2/medusa | 9 | 168824 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x4ab7, %rsi
lea addresses_normal_ht+0x4a89, %rdi
and %rax, %rax
mov $49, %rcx
rep movsw
nop
nop
nop
nop
add $56348, %rbp
lea addresses_WT_ht+0x3a11, %rsi
lea a... |
programs/oeis/033/A033312.asm | jmorken/loda | 1 | 12170 | <filename>programs/oeis/033/A033312.asm
; A033312: a(n) = n! - 1.
; 0,0,1,5,23,119,719,5039,40319,362879,3628799,39916799,479001599,6227020799,87178291199,1307674367999,20922789887999,355687428095999,6402373705727999
mov $1,$0
cal $1,142
sub $1,1
|
lib/Explore/Examples.agda | crypto-agda/explore | 2 | 10766 | <reponame>crypto-agda/explore
{-# OPTIONS --without-K #-}
module Explore.Examples where
open import Type
open import Level.NP
open import Data.Maybe.NP
open import Data.List
open import Data.Zero
open import Data.One
open import Data.Two
open import Data.Product
open import Data.Sum.NP
open import HoTT using (UA)
open... |
bb-runtimes/arm/sam/samg55/svd/a-intnam.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 17239 | <gh_stars>0
--
-- Copyright (C) 2017, AdaCore
--
-- This spec has been automatically generated from ATSAMG55J19.svd
-- This is a version for the Atmel ATSAMG55J19 Microcontroller MCU
package Ada.Interrupts.Names is
-- All identifiers in this unit are implementation defined
pragma Implementation_Defined;
... |
oeis/056/A056978.asm | neoneye/loda-programs | 11 | 89663 | ; A056978: Number of blocks of {1, 0, 0} in binary expansion of n.
; Submitted by <NAME>
; 0,0,0,1,0,0,0,1,1,0,0,1,0,0,0,1,1,1,1,1,0,0,0,1,1,0,0,1,0,0,0,1,1,1,1,2,1,1,1,1,1,0,0,1,0,0,0,1,1,1,1,1,0,0,0,1,1,0,0,1,0,0,0,1,1,1,1,2,1,1,1,2,2,1,1,2,1,1,1,1,1,1,1,1,0,0,0,1,1,0,0,1,0,0,0,1,1,1,1,2
lpb $0
sub $0,1
mov $2,$... |
mat/src/events/mat-events-probes.ads | stcarrez/mat | 7 | 17855 | -----------------------------------------------------------------------
-- mat-events-probes -- Event probes
-- Copyright (C) 2014, 2015 <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.
--... |
llvm-gcc-4.2-2.9/gcc/ada/g-debpoo.adb | vidkidz/crossbridge | 1 | 10791 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
oeis/199/A199011.asm | neoneye/loda-programs | 11 | 8239 | ; A199011: Triangle T(n,k), read by rows, given by (1,1,-1,1,0,0,0,0,0,0,0,...) DELTA (0,1,0,0,0,0,0,0,0,0,0,0,...) where DELTA is the operator defined in A084938.
; Submitted by <NAME>(s1)
; 1,1,0,2,1,0,3,3,1,0,4,6,4,1,0,5,10,10,5,1,0,6,15,20,15,6,1,0,7,21,35,35,21,7,1,0,8,28,56,70,56,28,8,1,0,9,36,84,126,126,84,36,9,... |
programs/oeis/269/A269819.asm | karttu/loda | 1 | 102105 | <reponame>karttu/loda<gh_stars>1-10
; A269819: Numbers that are congruent to {5, 11, 13, 19} mod 24.
; 5,11,13,19,29,35,37,43,53,59,61,67,77,83,85,91,101,107,109,115,125,131,133,139,149,155,157,163,173,179,181,187,197,203,205,211,221,227,229,235,245,251,253,259,269,275,277,283,293,299,301,307,317,323,325,331,341,347,34... |
src/lib/Readable_Sequences/readable_sequences-generic_sequences.ads | fintatarta/protypo | 0 | 28774 | with Ada.Finalization;
--
-- The model for a "readable sequence" is a sequential data buffer where
-- new data can be only appended and data can be read sequentially,
-- although the "cursor" to the current entry can be moved (mainly
-- by saving the current position and restoring it)
--
generic
type Element_T... |
source/mcdigit.asm | PaulSlocum/marble-craze | 1 | 5902 | <filename>source/mcdigit.asm
align 256
pfDigits1
; 00
byte %00011011
byte %00011011
byte %00011011
byte %00011011
byte %00011011
byte %00011001
byte %00011001
byte %00011001
byte %00011001
byte %00011001
byte %00011011
byte %00011001
byte %00011011
byte %00011010
byte %00011011
byte %00011011
byte... |
KnapAsm.asm | federico-navarro/ClarionMultiLanguage | 2 | 174101 | <reponame>federico-navarro/ClarionMultiLanguage<gh_stars>1-10
(*
Knapsack Algorithm for Clarion Integrated Assembler compiler
Linked Array version
Implemented by <NAME>
Based on C implementation provided by <NAME>
Hints on assembler implementations
Provided by <NAME... |
programs/oeis/299/A299647.asm | karttu/loda | 1 | 102195 | <reponame>karttu/loda
; A299647: Positive solutions to x^2 == -2 (mod 11).
; 3,8,14,19,25,30,36,41,47,52,58,63,69,74,80,85,91,96,102,107,113,118,124,129,135,140,146,151,157,162,168,173,179,184,190,195,201,206,212,217,223,228,234,239,245,250,256,261,267,272,278,283,289,294,300,305,311,316,322,327,333,338,344,349,355,360... |
libsrc/printflike/itox.asm | andydansby/z88dk-mk2 | 1 | 5352 | <reponame>andydansby/z88dk-mk2<filename>libsrc/printflike/itox.asm
;
; itox -- converts nbr to hex string of length sz
; right adjusted and blank filled, returns str
;
; if sz > 0 terminate with null byte
; if sz = 0 find end of string
; if sz < 0 use last byte for d... |
programs/oeis/002/A002081.asm | karttu/loda | 0 | 90826 | <reponame>karttu/loda<gh_stars>0
; A002081: Numbers congruent to {2, 4, 8, 16} mod 20.
; 2,4,8,16,22,24,28,36,42,44,48,56,62,64,68,76,82,84,88,96,102,104,108,116,122,124,128,136,142,144,148,156,162,164,168,176,182,184,188,196,202,204,208,216,222,224,228,236,242,244,248,256,262,264,268,276,282,284,288,296,302,304,308,31... |
Transynther/x86/_processed/US/_st_un_sm_/i9-9900K_12_0xa0_notsx.log_21829_861.asm | ljhsiun2/medusa | 9 | 20358 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x9812, %r9
nop
nop
nop
add %r8, %r8
mov (%r9), %rbp
mfence
lea addresses_normal_ht+0x8bd6, %r13
nop
nop
cmp $29909, %rdi
movb (%r13), %r12b
nop
nop
and %r12, %r12
lea addresses... |
tools-src/gnu/gcc/gcc/ada/s-tasini.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 1277 | ------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
data/events/field_move_blocks.asm | Dev727/ancientplatinum | 28 | 88267 | <reponame>Dev727/ancientplatinum<filename>data/events/field_move_blocks.asm
CutTreeBlockPointers:
; tileset, block list pointer
dbw TILESET_JOHTO, .johto
dbw TILESET_JOHTO_MODERN, .johto_modern
dbw TILESET_KANTO, .kanto
dbw TILESET_PARK, .park
dbw TILESET_FOREST, .forest
db -1 ; end
.... |
programs/oeis/173/A173785.asm | karttu/loda | 1 | 177939 | <reponame>karttu/loda<gh_stars>1-10
; A173785: Expansion of 2*(9*x^4+4*x^3+14*x^2-4*x+1)/(1-x)^5.
; 2,2,18,98,338,882,1922,3698,6498,10658,16562,24642,35378,49298,66978,89042,116162,149058,188498,235298,290322,354482,428738,514098,611618,722402,847602,988418,1146098,1321938,1517282,1733522,1972098,2234498
bin $0,2
add... |
weapon-tank.xkas-06.asm | n00btube/sm-weapon-tank | 0 | 16886 | <filename>weapon-tank.xkas-06.asm
; Copyright 2015 Adam <https://github.com/n00btube>
; MIT license (this file).
lorom
; --------------------------------------------------------------
; Most of our work here will be in bank $84, the PLM bank.
; This first routine is the code behind our new PLM instruction to handle
;... |
src/numerics-sparse_matrices-omega.adb | sciencylab/lagrangian-solver | 0 | 1501 | <reponame>sciencylab/lagrangian-solver<filename>src/numerics-sparse_matrices-omega.adb<gh_stars>0
separate (Numerics.Sparse_Matrices)
function Omega (N : in Nat;
M : in Pos := 0) return Sparse_Matrix is
Result : Sparse_Matrix;
use Ada.Containers;
begin
-----------------------------------------------
... |
Structure/Topology.agda | Lolirofle/stuff-in-agda | 6 | 11358 | <reponame>Lolirofle/stuff-in-agda<gh_stars>1-10
module Structure.Topology where
open import Logic
import Lvl
open import Sets.ExtensionalPredicateSet renaming (_≡_ to _≡ₛ_) hiding (map)
open import Structure.Setoid
open import Type
-- Definition of topological spaces via open sets.
-- The interpretation is that ... |
adatutor/dat2txt.ada | qunying/AdaTutor | 8 | 5599 | <filename>adatutor/dat2txt.ada
-- DAT2TXT.ADA Ver. 4.01 2001-SEP-10 Copyright 1988-2001 <NAME>
--
-- SOFTWARE INNOVATIONS TECHNOLOGY www.adatutor.com
-- 1083 <NAME>
-- PALM BAY FL 32905-4706 <EMAIL>
--
-- (321) 951-0233
--
-- Run this program on a PC before installing AdaTutor o... |
test/Compiler/simple/Forcing.agda | shlevy/agda | 1,989 | 12620 | module Forcing where
open import Common.IO
open import Common.Unit
open import Lib.Vec
open import Common.Nat
len : {A : Set}{n : Nat} → Vec A n → Nat
len {A} .{zero} [] = zero
len {A} .{suc n} (_∷_ {n} x xs) = suc n
len2 : {A : Set}{n : Nat} → Vec A n → Nat
len2 [] = 0
len2 (_∷_ {n} x xs) = suc (len2 {... |
theorems/cohomology/CupProduct/OnEM/InLowDegrees2.agda | AntoineAllioux/HoTT-Agda | 294 | 10544 | <filename>theorems/cohomology/CupProduct/OnEM/InLowDegrees2.agda
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import homotopy.EilenbergMacLane
module cohomology.CupProduct.OnEM.InLowDegrees2 {i} {j} (G : AbGroup i) (H : AbGroup j) where
private
module G = AbGroup G
module H = AbGroup H
module ... |
Task/Pascals-triangle/Ada/pascals-triangle-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 9023 | <filename>Task/Pascals-triangle/Ada/pascals-triangle-3.ada
with Ada.Text_IO, Ada.Integer_Text_IO, Ada.Command_Line, Pascal; use Pascal;
procedure Triangle is
Number_Of_Rows: Positive := Integer'Value(Ada.Command_Line.Argument(1));
Row: Pascal.Row := First_Row(Number_Of_Rows);
begin
loop
-- print one r... |
arch/ARM/Nordic/svd/nrf52/nrf_svd-ficr.ads | rocher/Ada_Drivers_Library | 192 | 20220 | <gh_stars>100-1000
-- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA
--
-- 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 ... |
scripts/.finder-close-duplicates.applescript | looking-for-a-job/mac-finder.py | 7 | 4340 | #!/usr/bin/osascript
set keepWindowList to {}
set closeWindowCount to 0
tell application "Finder"
with timeout of 10 second
set theWindowList to every Finder window (* get the list of finder windows*)
repeat with i from 1 to number of items in theWindowList (* iterate through each winodow *)
set this_item to... |
sorting array.asm | raaedserag/Sorting-Array | 1 | 12128 | <filename>sorting array.asm
.model tiny
;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.data
;&&&&&&&&&&&&&&&&&&&&&&&& MESSAGES &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
mgs1: db 13,10, 'Please enter the number of elements in the range of[1-25] : $'
mgs2: db 13... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_2657.asm | ljhsiun2/medusa | 9 | 179627 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_2657.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x13cda, %r12
inc %rdi
mov $0x6162636465666768, %r15
movq %r15, %xmm2
and $0xffffffff... |
libsrc/stdio/ansi/spectrum/f_ansi_char.asm | RC2014Z80/z88dk | 8 | 93375 | <filename>libsrc/stdio/ansi/spectrum/f_ansi_char.asm
;
; Spectrum C Library
;
; ANSI Video handling for ZX Spectrum
;
; Handles colors referring to current PAPER/INK/etc. settings
;
; ** alternate (smaller) 4bit font capability:
; ** use the -DPACKEDFONT flag
; ** ROM font -DROMFONT
;
; set it up with:
; .text... |
src/el-contexts.ads | My-Colaborations/ada-el | 0 | 27404 | <gh_stars>0
-----------------------------------------------------------------------
-- EL.Contexts -- Contexts for evaluating an expression
-- Copyright (C) 2009, 2010, 2011, 2012, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not ... |
echo.asm | dnaef/cs153 | 0 | 14138 |
_echo: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 57 ... |
many-arguments/many-arguments.asm | axelduch/assembly-64-sandbox | 1 | 168432 | <filename>many-arguments/many-arguments.asm
; args
; many_arguments(long long, long long, long long, long long, long long, long long)
section .text
global many_arguments
many_arguments:
push rbp
mov rbp, rsp
push r10
mov r10, [rbp - 8]
pop r10
mov rsp, rbp
pop rbp
ret
|
programs/oeis/342/A342914.asm | neoneye/loda | 22 | 95736 | ; A342914: Number of grid points covered by a truncated triangle drawn on the hexagonal lattice with the short sides having length n and the long sides length 2*n.
; 1,12,36,73,123,186,262,351,453,568,696,837,991,1158,1338,1531,1737,1956,2188,2433,2691,2962,3246,3543,3853,4176,4512,4861,5223,5598,5986,6387,6801,7228,76... |
bin/s6130.full.bin.asm | radiolok/robotron_s6130 | 0 | 28174 | <filename>bin/s6130.full.bin.asm<gh_stars>0
<<<<<<< HEAD
;
; +-------------------------------------------------------------------------+
; | This file was generated by The Interactive Disassembler (IDA) |
; | Copyright (c) 2018 Hex-Rays, <<EMAIL>> |
; | License info:... |
engine/loader.asm | richard42/dynosprite | 10 | 99385 | *********************************************************************************
* DynoSprite - loader.asm
* Copyright (c) 2013-2014, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* ... |
src/Categories/Morphism/Regular.agda | maxsnew/agda-categories | 0 | 11215 | {-# OPTIONS --without-K --safe #-}
{-
Properties regarding Morphisms of a category:
- Regular Monomorphism
- Regular Epimorphism
https://ncatlab.org/nlab/show/regular+epimorphism
These are defined here rather than in Morphism, as this
might cause import cycles (and make the dependency graph
very odd).
... |
win32/ogl/program.asm | QAston/fasm-2006 | 0 | 244228 | <reponame>QAston/fasm-2006
.386
.model flat,STDCALL
.data
INCLUDE 'OGL.INC'
;----------------------------------------------------------------------------------------------
CGLW_height equ 300
CGLW_width equ 400
CGLW_bits equ 16
;-------------------------------------------------------------------------------------------... |
source/extension/extensionhandler.asm | paulscottrobson/6502-basic | 3 | 160409 | <reponame>paulscottrobson/6502-basic
; ************************************************************************************************
; ************************************************************************************************
;
; Name: extensionhandler.asm
; Purpose: Handles extension calls.
; Created: 21s... |
llvm-gcc-4.2-2.9/gcc/ada/prj-util.ads | vidkidz/crossbridge | 1 | 1412 | <filename>llvm-gcc-4.2-2.9/gcc/ada/prj-util.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
src/FOmegaInt/Kinding/Canonical/Validity.agda | Blaisorblade/f-omega-int-agda | 0 | 14069 | ------------------------------------------------------------------------
-- Validity of canonical kinding in Fω with interval kinds
------------------------------------------------------------------------
{-# OPTIONS --safe --without-K #-}
module FOmegaInt.Kinding.Canonical.Validity where
open import Data.Product us... |
src/frontend/Experimental_Ada_ROSE_Connection/parser/asis_adapter/source/adapter_wrapper_h.adb | ouankou/rose | 488 | 5554 | <reponame>ouankou/rose<gh_stars>100-1000
with Ada.Text_IO;
with Interfaces.C;
with Asis_Adapter.Tool;
with a_nodes_h.Support;
package body adapter_wrapper_h is
package anhS renames a_nodes_h.Support;
------------
-- EXPORTED:
------------
function adapter_wrapper
(target_file_in : ... |
sha1.asm | mp81ss/badsum | 1 | 12959 | include '%fasm%/INCLUDE/MACRO/STRUCT.INC'
include 'x86_64.inc'
X86_64_format
public sha1_init
public sha1_update
public sha1_final
struct sha1_ctx
buffer db 64 dup(?)
count dq ?
state dd 5 dup(?)
ends
X86_64_section_TEXT align 16
sha1_transform:
define a r8d
define b r9... |
inst/scripts/cmd.applescript | gaborcsardi/keynote | 27 | 4167 |
on run argv
set mycmd to item 1 of argv
tell application "Keynote"
if mycmd = "start_slideshow" then
start slideshow
else if mycmd = "stop_slideshow" then
stop slideshow
else if mycmd = "show_next" then
show next
else if mycmd = "show_previous... |
src/firmware-tests/Platform/Main/Reset/BrownOutResetTest.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 11120 | <filename>src/firmware-tests/Platform/Main/Reset/BrownOutResetTest.asm
#include "Platform.inc"
#include "FarCalls.inc"
#include "TestFixture.inc"
#include "../ResetMocks.inc"
radix decimal
extern main
BrownOutResetTest code
global testArrange
global testAssert
testArrange:
fcall initialiseResetMocks
testA... |
oeis/115/A115098.asm | neoneye/loda-programs | 11 | 1874 | ; A115098: a(0)=2, a(n)=3*a(n-1)-3.
; 2,3,6,15,42,123,366,1095,3282,9843,29526,88575,265722,797163,2391486,7174455,21523362,64570083,193710246,581130735,1743392202,5230176603,15690529806,47071589415,141214768242,423644304723,1270932914166,3812798742495,11438396227482,34315188682443,102945566047326,308836698141975,92651... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/gen_interface_p.ads | best08618/asylo | 7 | 17574 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/gen_interface_p.ads
generic
type I is interface;
with procedure P (X : I) is abstract;
package gen_interface_p is
end;
|
antlr/select.g4 | cnayan/mqb | 0 | 6339 | <filename>antlr/select.g4
grammar select;
// Complex tokens
select: num table filters order_by fields;
count: '#' table filters;
num: (NUMBERS '*')?;
table: ID;
filters: filtersFrag?;
filtersFrag: '(' filter (',' filter)* ')';
filter: filterFrag ('|' filterFrag)*;
filterFrag:
filtersFrag
| va... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c83f01a.ada | best08618/asylo | 7 | 10016 | <gh_stars>1-10
-- C83F01A.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.... |
src/Categories/Category/Restriction/Construction/Trivial.agda | Trebor-Huang/agda-categories | 279 | 13699 | {-# OPTIONS --without-K --safe #-}
-- Any category can be made into a trivial restriction category
module Categories.Category.Restriction.Construction.Trivial where
open import Level using (Level)
open import Categories.Category.Core using (Category)
open import Categories.Category.Restriction using (Restriction)
o... |
oeis/142/A142443.asm | neoneye/loda-programs | 11 | 12011 | ; A142443: Primes congruent to 34 mod 49.
; Submitted by <NAME>
; 83,181,769,1063,1259,1553,1847,2141,2239,2729,3023,3121,3709,4003,4297,4493,4591,4787,5081,5179,5669,6257,6551,7237,7433,7727,8609,8707,9001,9491,9883,10079,10177,10667,11059,11353,11549,11941,12823,13313,13411,13901,13999,14293,14489,14783,15077,15959,1... |
programs/oeis/087/A087799.asm | karttu/loda | 1 | 17036 | ; A087799: a(n) = 10*a(n-1) - a(n-2), starting with a(0) = 2 and a(1) = 10.
; 2,10,98,970,9602,95050,940898,9313930,92198402,912670090,9034502498,89432354890,885289046402,8763458109130,86749292044898,858729462339850,8500545331353602
mov $1,2
lpb $0,1
sub $0,1
add $1,$2
add $2,$1
add $1,$2
add $2,$1
add $1,... |
libsrc/target/g800/invlcd.asm | jpoikela/z88dk | 640 | 241620 | ;
; G850 library
;
;--------------------------------------------------------------
;
; $Id: invlcd.asm $
;
;----------------------------------------------------------------
;
; invlcd(1) - invert display
; invlcd(0) - restore display
;
;----------------------------------------------------------------
... |
src/vulkan-math/vulkan-math.ads | zrmyers/VulkanAda | 1 | 236 | --------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 <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 r... |
oeis/187/A187364.asm | neoneye/loda-programs | 11 | 3045 | ; A187364: Trisection of A000984 (central binomial coefficients): binomial(2(3n+1),3n+1)/2, n>=0.
; 1,35,1716,92378,5200300,300540195,17672631900,1052049481860,63205303218876,3824345300380220,232714176627630544,14226520737620288370,873065282167813104916,53753604366668088230810,3318776542511877736535400,2053977247210295... |
src/aco-protocols.ads | jonashaggstrom/ada-canopen | 6 | 29134 | with Ada.Finalization;
with ACO.Messages;
with ACO.OD;
package ACO.Protocols is
type Protocol
(Od : not null access ACO.OD.Object_Dictionary'Class)
is abstract new Ada.Finalization.Limited_Controlled with private;
type Protocol_Access is access all Protocol'Class;
function Is_Valid
(This : i... |
programs/oeis/107/A107857.asm | neoneye/loda | 22 | 81922 | <reponame>neoneye/loda
; A107857: a(n) = floor[(phi + n mod 2)*a(n-1)], a(1)=1.
; 1,1,2,3,7,11,28,45,117,189,494,799,2091,3383,8856,14329,37513,60697,158906,257115,673135,1089155,2851444,4613733,12078909,19544085,51167078,82790071,216747219,350704367,918155952,1485607537,3889371025
mul $0,6
div $0,4
seq $0,187107 ; Nu... |
Source/display_sector_16.asm | Dogelix/SystemsProgramming_Stage1 | 0 | 167309 | <reponame>Dogelix/SystemsProgramming_Stage1
DisplaySector:
push ax
push cx
push dx
xor dx, dx
mov dx, 2
xchg bx, bx
push dx
xor dx, dx
mov cx, 16
xor ax, ax
DisplaySector_Loop:
push cx
call Write_Value_Of_DX_Hex
call Con... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1483.asm | ljhsiun2/medusa | 9 | 242827 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x4c62, %r12
nop
nop
nop
sub %rsi, %rsi
movl $0x61626364, (%r12)
nop
nop
nop
and %rax, %rax
lea addresses_A_ht+0x1ec03, %rbp
nop
add %rax, %rax
mov (%rbp), %r14... |
3-mid/opengl/source/platform/egl/private/opengl-surface_profile-privvy.ads | charlie5/lace | 20 | 18893 | <filename>3-mid/opengl/source/platform/egl/private/opengl-surface_profile-privvy.ads
with
eGL;
package opengl.surface_Profile.privvy
is
function to_eGL (Self : in surface_Profile.Item'Class) return egl.EGLConfig;
end opengl.surface_Profile.privvy;
|
libsrc/_DEVELOPMENT/stdio/c/sdcc_iy/getdelim_unlocked_callee.asm | jpoikela/z88dk | 640 | 172871 |
; size_t getdelim_unlocked_callee(char **lineptr, size_t *n, int delimiter, FILE *stream)
SECTION code_clib
SECTION code_stdio
PUBLIC _getdelim_unlocked_callee
EXTERN asm_getdelim_unlocked
_getdelim_unlocked_callee:
pop af
pop hl
pop de
pop bc
pop ix
push af
jp asm_getdelim_unlocked
|
source/league/matreshka-internals-strings.ads | svn2github/matreshka | 24 | 13471 | <filename>source/league/matreshka-internals-strings.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
test/Succeed/Issue3200.agda | shlevy/agda | 1,989 | 9075 | <reponame>shlevy/agda
-- Andreas, 2018-09-03, issue #3200 reported by gallais
--
-- Record let pattern bindings trigger spurious irrelevance
-- marker, probably due to confusion of Prop with dummy type.
-- {-# OPTIONS -v tc.term.let.pattern:100 #-}
-- {-# OPTIONS -v tc.lhs.top:30 #-}
open import Agda.Builtin.Bool
ope... |
test/shl/shl.asm | leonardo-ono/asm4mo | 10 | 172812 | shl al, 1
shl ah, 1
shl bl, 1
shl bh, 1
shl cl, 1
shl ch, 1
shl dl, 1
shl dh, 1
shl byte [bx], 1
shl byte [bx+si], 1h
shl byte [bx+si+12h], 1b
shl byte [bx+si+4142h], 1
shl al, cl
shl ah, cl
shl bl, cl
shl bh, cl
shl cl, cl
shl ch, cl
shl dl, cl
shl dh, cl
shl byte [bx], cl
shl byte [bx+di], cl
shl byte [bx+di+12h], c... |
汇编语言/实验/exp3/1.asm | wine99/hfut-cs-assignments | 56 | 102027 | <filename>汇编语言/实验/exp3/1.asm
.model small
.stack 100h
.data
scores db 10 dup(100)
db 10 dup(95)
db 10 dup(90)
db 10 dup(85)
db 10 dup(80)
db 10 dup(75)
db 10 dup(70)
db 10 dup(65)
db 10 dup(55)
db 10 dup(6... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_587.asm | ljhsiun2/medusa | 9 | 7355 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x12eba, %rax
nop
nop
add %rbx, %rbx
movw $0x6162, (%rax)
add %r15, %r15
lea addresses_normal_ht+0x16f2, %rsi
lea addresses_WC_ht+0x6cba, %rdi
nop
nop
add %rdx, ... |
software/obsolete/new-rom/error.asm | Noah1989/micro-21 | 1 | 13761 | <filename>software/obsolete/new-rom/error.asm
extern debug_io_print_string_HL
extern debug_io_print_hex_byte_A
public error
error:
DI
LD HL, error_message
CALL debug_io_print_string_HL
POP HL ; caller return address
DEC HL
DEC HL
DEC HL
LD A, H
CALL debug_io_print_hex_byte_A
LD A, L
CALL debug_io_print_hex... |
engine/events/basement_key.asm | zavytar/pokecolorless | 0 | 165706 | _BasementKey:
; Are we even in the right map to use this?
; TODO: Replace GROUP_NONE and MAP_NONE with the map of the Basement Key door, as well as the facing coordinates.
ld a, [wMapGroup]
cp GROUP_NONE
jr nz, .nope
ld a, [wMapNumber]
cp MAP_NONE
jr nz, .nope
; Are we on the tile in front of the door?
call Get... |
45/qb/ir/exfor.asm | minblock/msdos | 0 | 101819 | <filename>45/qb/ir/exfor.asm
page 49,132
TITLE exfor - FOR/NEXT executors
;***
;exfor - FOR/NEXT executors
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
; This module contains all executors for FOR and NEXT.
;
; In general, these executors are very speed critical.
;
; FOR executors are:
;
; exStFor<Step|><... |
src/LibraBFT/Concrete/Records.agda | LaudateCorpus1/bft-consensus-agda | 0 | 11317 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
{-# OPTIONS --allow-unsolved-metas #-}
open import LibraBFT.Base.Types... |
projects/batfish/src/main/antlr4/org/batfish/grammar/fortios/Fortios_policy.g4 | sc68cal/batfish | 0 | 4011 | parser grammar Fortios_policy;
options {
tokenVocab = FortiosLexer;
}
cf_policy: POLICY newline cfp_edit*;
cfp_edit: EDIT policy_number newline cfpe* NEXT newline;
cfpe
:
(
SET (cfp_set_singletons | cfp_set_lists)
| APPEND cfp_append
| SELECT cfp_set_lists
)
;
cfp_set_singletons
:... |
FormalAnalyzer/models/apps/TimeDependentDoors.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 5296 | module app_TimeDependentDoors
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_presenceSensor
open cap_lock
open cap_switch
open cap_lock
one sig app_TimeDependentDoors extends IoTApp {
person : one cap_presenceSensor,
nightdoor : one cap_lock,
nightlights : some cap_switch,
daydoor... |
ch_conn.adb | byllgrim/iictl | 0 | 19971 | <filename>ch_conn.adb
with Ada.Directories;
with Ada.Text_Io; -- TODO unecessary?
with Iictl; -- TODO unecessary?
with Util;
package body Ch_Conn is
package AD renames Ada.Directories;
package ATIO renames Ada.Text_Io;
procedure Rejoin_Channels (Irc_Dir : String) is
Search : AD.Search_Type;
... |
alloy4fun_models/trashltl/models/4/FQucdRZ3hwnrWwjh6.als | Kaixi26/org.alloytools.alloy | 0 | 453 | open main
pred idFQucdRZ3hwnrWwjh6_prop5 {
eventually File in Trash
}
pred __repair { idFQucdRZ3hwnrWwjh6_prop5 }
check __repair { idFQucdRZ3hwnrWwjh6_prop5 <=> prop5o } |
oeis/269/A269716.asm | neoneye/loda-programs | 11 | 168045 | ; A269716: Number of active (ON,black) cells at stage 2^n-1 of the two-dimensional cellular automaton defined by "Rule 22", based on the 5-celled von Neumann neighborhood.
; Submitted by <NAME>
; 1,5,20,88,368,1504,6080,24448,98048,392704,1571840,6289408,25161728,100655104,402636800,1610579968
mov $3,2
pow $3,$0
add $... |
2017/day02_x86/lib.nasm | nikklassen/advent-of-code | 3 | 3334 | global parse_int, print_int, print_char, print_str, read
extern buffer, buffer_len
parse_int:
; returns rax = the parsed integer
; rdx = where it stopped parsing
enter 64, 0
push rbx
push rdi
push rsi
; rsi = accumulator
; rbx = input string
; rcx = current character
; ... |
programs/oeis/255/A255490.asm | neoneye/loda | 22 | 176506 | ; A255490: The subsequence A247649(2^n-1).
; 1,5,7,19,25,77,103,307,409,1229,1639,4915,6553,19661,26215,78643,104857,314573,419431,1258291,1677721,5033165,6710887,20132659,26843545,80530637,107374183,322122547,429496729,1288490189,1717986919,5153960755
add $0,3
seq $0,122756 ; Odd-indexed terms, a(n) = 2^n. Even-index... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_15_836.asm | ljhsiun2/medusa | 9 | 14646 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_15_836.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rbp
push %rbx
push %rdx
lea addresses_A_ht+0x160d0, %r12
clflush (%r12)
cmp %r13, %r13
mov $0x6162636465666768, %rdx
movq %rdx, %xmm... |
_example/inter-rpn.asm | Number571/asmlib | 27 | 173092 | format ELF64
public _start
include "asmlib/fmt.inc"
include "asmlib/irp.inc"
include "asmlib/sys.inc"
section '.bss' writeable
input_size equ 1024
input rb input_size
section '.data' writeable
quit db ":q", 0
console db ">> ", 0
section '.text' executable
_start:
.next_iter:
mov rax, con... |
programs/oeis/124/A124197.asm | jmorken/loda | 1 | 6652 | <reponame>jmorken/loda
; A124197: Number of subsets S of {1,2,3,...,n}, including the empty subset, such that if x and y are in S with x<y and x+y even, then (x+y)/2 is also in S.
; 1,2,4,7,12,18,26,36,48,61,77,95,115,137,161,187,217,248,281,317,355,395,439,485,533,583,636,691,750,811,874,941,1010,1080,1154,1230,1310,1... |
oeis/053/A053152.asm | neoneye/loda-programs | 11 | 165603 | ; A053152: Number of 2-element intersecting families whose union is an n-element set.
; 0,2,9,32,105,332,1029,3152,9585,29012,87549,263672,793065,2383292,7158069,21490592,64504545,193579172,580868589,1742867912,5229128025,15688432652,47067395109,141206379632,423627527505,1270899359732,3812731633629,11438262009752,34314... |
FormalAnalyzer/models/apps/SecurityNightLight.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 4629 | module app_SecurityNightLight
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_switch
open cap_motionSensor
one sig app_SecurityNightLight extends IoTApp {
switches : some cap_switch,
motion1 : one cap_motionSensor,
state : one cap_state,
} {
rules = r
//capabilities = switches + mot... |
ASPL/factorial.asm | timo-cmd/ASPL | 1 | 6407 | .data
.equals string ' * 1 = '
.counter 7
.result 7
.times string ' * '
.text
.global main:
factorial:
lda A, .counter
psh A
; Print counter
mov B, A
mvi A, 0
mvi C, 0
sys
pop A
mvi B, 3
mvi D, done:
jlt A, B, D
psh a
psh b
psh c
mvi a, 0
m... |
oeis/017/A017490.asm | neoneye/loda-programs | 11 | 21166 | ; A017490: a(n) = (11*n + 8)^6.
; 262144,47045881,729000000,4750104241,19770609664,62523502209,164206490176,377149515625,782757789696,1500730351849,2699554153024,4608273662721,7529536000000,11853911588401,18075490334784,26808753332089,38806720086016,54980371265625,76419346977856,104413920565969,140478247931904,18637489... |
String.agda | Lolirofle/stuff-in-agda | 6 | 137 | <gh_stars>1-10
module String where
import Lvl
open import Data.Boolean
open import Data.List
open import Numeral.Natural
open import Type
postulate Char : Type{Lvl.𝟎}
{-# BUILTIN CHAR Char #-}
postulate String : Type{Lvl.𝟎}
{-# BUILTIN STRING String #-}
private
module Primitives where
primitive primStr... |
src/Dijkstra/RWS.agda | LaudateCorpus1/bft-consensus-agda | 0 | 13842 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
-- This module provides functionality for proving properties about
-- p... |
CSE341-BRACU-Microprocessors/Assignment-2(Lab-3)/task2.asm | AIM3r4j/BRACU | 0 | 25105 | .MODEL SMALL
.STACK 100H
.DATA
;variables
a db "Please Enter First Number:$"
b db "Please Enter Second Number:$"
c db "Summation of the numbers:$"
.CODE
MAIN PROC
;initialize DS
MOV AX,@DATA
MOV DS,AX
; enter your code here
;Performing Summation
;First Number
lea dx, a
... |
pdn/pdn.g4 | MartijnDwars/grammars-v4 | 1 | 7134 | <filename>pdn/pdn.g4
/*
BSD License
Copyright (c) 2017, <NAME>
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 copyright
notice, this list of ... |
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_fmod.asm | jpoikela/z88dk | 640 | 165512 |
; float fmod(float x, float y)
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdccix_fmod
EXTERN cm48_sdccixp_dread2, l0_cm48_sdccix_fmod_callee
cm48_sdccix_fmod:
call cm48_sdccixp_dread2
; AC'= y
; AC = x
jp l0_cm48_sdccix_fmod_callee
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.