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/301/A301697.asm | karttu/loda | 0 | 242277 | ; A301697: Coordination sequence for node of type V2 in "krj" 2-D tiling (or net).
; 1,5,10,16,22,27,32,37,42,48,54,59,64,69,74,80,86,91,96,101,106,112,118,123,128,133,138,144,150,155,160,165,170,176,182,187,192,197,202,208,214,219,224,229,234,240,246,251,256,261,266,272,278,283,288,293,298,304,310,315,320,325,330,336,... |
target/cos_117/disasm/iop_overlay1/LOGON.asm | jrrk2/cray-sim | 49 | 14665 | 0x0000 (0x000000) 0x2100- f:00020 d: 256 | A = OR[256]
0x0001 (0x000002) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x0002 (0x000004) 0x2908- f:00024 d: 264 | OR[264] = A
0x0003 (0x000006) 0x3108- f:00030 d: 264 | A = (OR[264])
... |
mul.asm | Klaus073/Assembly-language | 0 | 167099 | <filename>mul.asm
[org 0x0100]
jmp start
num1: db 5
num2 : dw 100
; If the source is a word then it is multiplied by AX and the result is stored in DX and AX.
start:
mov ax,1000
mov bx,[num2]
mul bx
; If the source is a byte then it is multiplied by AL and the result is stored in AH and AL.
mov ax,0
mov bx,0
mo... |
oeis/134/A134400.asm | neoneye/loda-programs | 11 | 99134 | ; A134400: M * A007318, where M = triangle with (1, 1, 2, 3,...) in the main diagonal and the rest zeros.
; Submitted by <NAME>
; 1,1,1,2,4,2,3,9,9,3,4,16,24,16,4,5,25,50,50,25,5,6,36,90,120,90,36,6,7,49,147,245,245,147,49,7,8,64,224,448,560,448,224,64,8,9,81,324,756,1134,1134,756,324,81,9
pow $1,$0
lpb $0
add $1,1
... |
Universe/Trunc/Universal.agda | sattlerc/HoTT-Agda | 0 | 5856 | {-# OPTIONS --without-K #-}
{- After a few preliminary lemmata about representing dependent functions,
this module will derive the dependent universal property of
our truncations (defined later) from the non-dependent one. -}
module Universe.Trunc.Universal where
open import lib.Basics
open import lib.Equivalen... |
test/Succeed/fol-theorems/Definition06.agda | asr/apia | 10 | 10352 | <reponame>asr/apia<gh_stars>1-10
------------------------------------------------------------------------------
-- Testing the translation of definitions
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
... |
examples/usart-puts-test.asm | TPKato/pAVRlib | 0 | 164923 | ;;; Test program of usart-puts.asm
;;- This program sends "Hello, World!" and "Bye." via USART.
;;; ------------------------------------------------------------
;;; Define your device in device.inc or use
;;; .include "m8def.inc"
;;; and so on as usual.
.include "device.inc"
;;; ----------------------------------... |
programs/oeis/228/A228138.asm | jmorken/loda | 1 | 166698 | <filename>programs/oeis/228/A228138.asm
; A228138: Number of blocks in a Steiner system S(2, 4, A228137(n+1)).
; 4,13,20,50,63,111,130,196,221,305,336,438,475,595,638,776,825,981,1036,1210,1271,1463,1530,1740,1813,2041,2120,2366,2451,2715,2806,3088,3185,3485,3588,3906,4015,4351,4466,4820,4941,5313,5440,5830,5963,6371,6... |
boot/lib/func_print.asm | holloway87/learning-os-development | 0 | 168152 | ; Print a null terminated string, start address in bx
func_print:
pusha
func_print_loop:
mov cl, [bx]
cmp cl, 0
je func_print_done
mov ah, 0x0e
mov al, [bx]
int 0x10
add bx, 1
jmp func_print_loop
func_print_done:
popa
ret
|
src/demologic.adb | Kidev/DemoAdaPhysics2D | 5 | 27886 | <filename>src/demologic.adb
with HAL.Touch_Panel; use HAL.Touch_Panel;
with STM32.Board; use STM32.Board;
with STM32.GPIO; use STM32.GPIO;
with STM32.User_Button; use STM32;
with L3GD20; use L3GD20;
with Circles;
with Rectangles;
with HAL.Bitmap; use HAL.Bitmap;
with BMP_Fonts;
package body DemoLogic is
funct... |
programs/oeis/002/A002328.asm | neoneye/loda | 22 | 87616 | <filename>programs/oeis/002/A002328.asm<gh_stars>10-100
; A002328: Numbers n such that n^2 - n - 1 is prime.
; 3,4,5,6,7,9,10,11,12,14,16,17,20,21,22,25,27,29,31,32,36,39,40,42,45,46,47,49,51,54,55,56,57,60,61,65,66,67,69,71,77,84,86,87,90,94,95,97,101,102,104,115,116,121,126,127,131,132,135,139,141,142,145,146,149,150... |
Cubical/Algebra/CommRing/QuotientRing.agda | xekoukou/cubical | 0 | 7551 | <reponame>xekoukou/cubical
{-# OPTIONS --safe #-}
module Cubical.Algebra.CommRing.QuotientRing where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Nat
open import Cubical.Data.FinData
open import Cubical.HITs.SetQuotients as SQ renaming (_/_ to _/sq_)
open import Cubical.HITs.PropositionalTruncati... |
oeis/083/A083425.asm | neoneye/loda-programs | 11 | 177732 | ; A083425: a(n) = (5*5^n + (-1)^n)/6.
; 1,4,21,104,521,2604,13021,65104,325521,1627604,8138021,40690104,203450521,1017252604,5086263021,25431315104,127156575521,635782877604,3178914388021,15894571940104,79472859700521,397364298502604,1986821492513021,9934107462565104,49670537312825521,248352686564127604,124176343282063... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1342.asm | ljhsiun2/medusa | 9 | 11627 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x194a1, %r13
nop
and $40125, %r11
vmovups (%r13), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $1, %xmm3, %rsi
nop
nop
nop
nop
nop
cmp $24458, %rbx
lea addresses_UC_... |
source/web/spikedog/core/matreshka-servlet_http_responses.ads | svn2github/matreshka | 24 | 23060 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
print_digits_macos.asm | Farzy/fant-asm | 0 | 24347 | <reponame>Farzy/fant-asm<filename>print_digits_macos.asm
section .bss
var1: resb 20
section .text
global _main
default rel
_main:
mov eax, 73651
int_to_string:
xor ebx, ebx ; digit counter
mov ecx, 10 ; divisor
.push_chars:
xor edx, edx
div ecx
add edx, '0'
push rdx ; push edx did n... |
libsrc/graphics/closegfx.asm | meesokim/z88dk | 0 | 177912 | ;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
;
; $Id: closegfx.asm,v 1.6 2015/01/19 01:32:46 pauloscustodio Exp $
;
;Usage: closegfx(struct *window)
;
;Close the map screen and restore memory map to normal
... |
src/Mystuff.agda | tetrapharmakon/agda-categories | 0 | 15965 |
module Mystuff where
-- open import Axiom.Extensionality.Propositional as AEP
open import Categories.Category.Cartesian.Bundle
open import Categories.Category.CartesianClosed.Canonical
open import Categories.Category.Core
open import Categories.Category.Slice
-- open import Categories.Functor
open import Categories.C... |
src/ada-libc/src/libc-syslog.ads | mstewartgallus/linted | 0 | 4476 | with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
with System;
package Libc.Syslog with
Spark_Mode => Off is
pragma Preelaborate;
LOG_EMERG : constant :=
0; -- /usr/include/x86_64-linux-gnu/sys/syslog.h:51
LOG_ALERT : constant :=
1; -- /usr/include/x86_64-linux-gnu/sys/syslog... |
data/maps/headers/Route23.asm | opiter09/ASM-Machina | 1 | 86909 | <gh_stars>1-10
map_header Route23, ROUTE_23, PLATEAU, NORTH | SOUTH
connection north, IndigoPlateau, INDIGO_PLATEAU, 0
connection south, Route22, ROUTE_22, 0 ; unnecessary
end_map_header
|
src/main/antlr/Basic.g4 | pg94au/Blinkenlights-Basic-Interpreter | 1 | 2190 | grammar Basic;
program : (line NEWLINE | NEWLINE)* ;
line : lineNum statement ;
// ProgramVisitor
lineNum : INT ;
statement : endStatement
| forStatement
| gosubStatement
| gotoStatement
| ifStatement
| inputStatement
| letStatement
| nextStatemen... |
library/fmGUI_ManageLayouts/fmGUI_ManageLayouts_Close.applescript | NYHTC/applescript-fm-helper | 1 | 593 | -- fmGUI_ManageLayouts_Open(prefs)
-- NYHTC
-- close Manage Layouts
(*
HISTORY:
2020-03-04 ( dshockley ): Standardized version. Added fmGUI_ALL_Utilities_Close.
1.3.1 - 2017-11-30 ( eshagdar ): fixed using old varName.
1.3 - 2017-11-20 ( eshagdar ): make sure we're talking to the correct window - there may be sev... |
src/Integer/Basics.agda | nad/equality | 3 | 17520 | ------------------------------------------------------------------------
-- Integers
------------------------------------------------------------------------
-- This module contains some basic definitions with few dependencies
-- (in particular, not Groupoid). See Integer for more definitions.
-- The definitions below... |
tests/cl_test-device.adb | flyx/OpenCLAda | 8 | 16915 | <filename>tests/cl_test-device.adb
--------------------------------------------------------------------------------
-- Copyright (c) 2013, <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyrigh... |
runtime/sources/arm/aeabi_uldivmod.asm | wdv4758h/Yeppp- | 30 | 29882 | //===-- aeabi_uldivmod.S - EABI uldivmod implementation -------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... |
oeis/005/A005572.asm | neoneye/loda-programs | 11 | 241577 | <reponame>neoneye/loda-programs
; A005572: Number of walks on cubic lattice starting and finishing on the xy plane and never going below it.
; Submitted by <NAME>
; 1,4,17,76,354,1704,8421,42508,218318,1137400,5996938,31940792,171605956,928931280,5061593709,27739833228,152809506582,845646470616,4699126915422,2620972195... |
coreboot/src/vendorcode/amd/agesa/f14/Proc/Recovery/Mem/mru.asm | leetobin/firebrick | 9 | 81073 | ;*****************************************************************************
; AMD Generic Encapsulated Software Architecture
;
; $Workfile:: mu.asm $ $Revision:: 237#$ $Date: 2009-12-10 07:28:37 +0800 (Thu, 10 Dec 2009) $
; Description: Main memory controller system configuration for AGESA DDR 2
;
;
;***********... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/___slong2fs.asm | jpoikela/z88dk | 640 | 174509 |
SECTION code_clib
SECTION code_fp_math48
PUBLIC ___slong2fs
EXTERN cm48_sdcciyp_slong2ds
defc ___slong2fs = cm48_sdcciyp_slong2ds
|
Transynther/x86/_processed/AVXALIGN/_st_zr_4k_/i7-7700_9_0x48.log_21829_2402.asm | ljhsiun2/medusa | 9 | 160552 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1012c, %r13
nop
nop
nop
and $31662, %rcx
movups (%r13), %xmm3
vpextrq $1, %xmm3, %r9
nop
sub $36048, %rdi
lea addresses_D_ht+0x1ae4, %r13
clflush (%r13)
nop
nop
and $5059... |
Chapter_10/Program 10.1/x86_64/Program_10.1_NASM.asm | hexu1985/Assembly.Programming.And.Computer.Architecture | 0 | 18815 | ; Program 10.1
; Using Segment Selectors - NASM (64-bit)
; Copyright (c) 2019 Hall & Slonka
section .data
array: dd 3, 2, 6, 4, 1
section .text
global _main
_main:
mov rax, array ; array address to rax
mov ebx, [eax+4] ; second element to ebx
mov ecx, [ds:array] ; first element to ecx (compiler warning)
mov edx, [d... |
AdaCompiler/in/test3.adb | vasilev-dev/AdaCompiler | 0 | 29311 | <gh_stars>0
procedure Hello is
begin
if min = max then
null;
elsif min < max then
null;
else
null;
end if;
for Iter in 1..5 loop
null;
end loop;
return;
end Hello; |
programs/oeis/188/A188511.asm | karttu/loda | 1 | 172743 | ; A188511: Floor(7n/10).
; 0,0,1,2,2,3,4,4,5,6,7,7,8,9,9,10,11,11,12,13,14,14,15,16,16,17,18,18,19,20,21,21,22,23,23,24,25,25,26,27,28,28,29,30,30,31,32,32,33,34,35,35,36,37,37,38,39,39,40,41,42,42,43,44,44,45,46,46,47,48,49,49,50,51,51,52,53,53,54,55,56,56,57,58,58,59,60,60,61,62,63
mul $0,7
mov $1,$0
div $1,10
|
java/src/main/antlr4/biz/karms/tools/httpdparser/HTTPDConfParser.g4 | web-servers/httpdparser | 1 | 1048 | <reponame>web-servers/httpdparser<gh_stars>1-10
/*
Copyright 2018 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requir... |
sound/sfxasm/BD.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 170476 | BD_Header:
sHeaderInit ; Z80 offset is $D8BA
sHeaderPatch BD_Patches
sHeaderTick $01
sHeaderCh $01
sHeaderSFX $80, $C0, BD_PSG3, $00, $00
BD_PSG3:
sNoisePSG $E7
sVolEnvPSG v1D
ssModZ80 $01, $01, $FE, $53
dc.b nAb6, $06, nEb5, $38
sStop
BD_Patches:
|
aunit/aunit-reporter-gnattest.adb | btmalone/alog | 0 | 14923 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
testbench/aes_decrypt/mpi/main.asm | Arka2009/LOCUS | 8 | 178778 | .arch armv5t
.fpu softvfp
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 6
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "aes_mpi.c"
.global myRank
.data
.align 2
.type myRank, %object
.size myR... |
org.alloytools.alloy.extra/extra/models/book/appendixA/ring.als | Kaixi26/org.alloytools.alloy | 527 | 4416 | module appendixA/ring
sig Node { next: set Node }
pred isRing {
// You have to fill in the appropriate formula here
}
run isRing for exactly 4 Node
|
src/atomic.asm | isabella232/stdcxx | 53 | 96517 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; atomic.asm
;
; $Id$
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Licensed to the Apache Software Foundation (ASF) under one or more
; contributor license agreements. See the NOTICE file distributed
... |
third_party/antlr_grammars_v4/cto/CtoLexer.g4 | mikhan808/rsyntaxtextarea-antlr4-extension | 4 | 5863 | <reponame>mikhan808/rsyntaxtextarea-antlr4-extension<gh_stars>1-10
/*
[The "BSD licence"]
Copyright (c) 2018 <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 cod... |
Transynther/x86/_processed/NONE/_ht_zr_un_/i7-7700_9_0xca.log_21829_824.asm | ljhsiun2/medusa | 9 | 88788 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x547f, %r14
clflush (%r14)
nop
add $55999, %rdx
mov $0x6162636465666768, %r12
movq %r12, %xmm2
movups %xmm2, (%r14)
nop
nop
xor %rdi, %... |
lib/Haskell/RangedSets/Boundaries.agda | ioanasv/agda2hs | 1 | 3032 | module Haskell.RangedSets.Boundaries where
open import Agda.Builtin.Nat as Nat hiding (_==_; _<_; _+_; _-_)
open import Agda.Builtin.Char
open import Agda.Builtin.Int using (pos; negsuc)
open import Haskell.Prim
open import Haskell.Prim.Ord
open import Haskell.Prim.Bool
open import Haskell.Prim.Char
open import Haske... |
iod/con2/sprite/cf6.asm | olifink/smsqe | 0 | 23077 | * Sprite cf6
*
* Mode 4
* +|-----------+
* - gg ggg gg -
* |g g g g|
* |g g g |
* |g gg ggg |
* |g g g g|
* |g g g g|
* | gg g gg |
* +|-----------+
*
section sprite
xdef sp_cf6
xref sp_zero
sp_cf6
dc.w $0100,$0000
dc.w 12,7,0,0
dc.l sc4_cf6-*
dc.l sp_zero-*
dc.l 0
sc4_cf6
dc.w $6E00,$60... |
test/asset/agda-stdlib-1.0/Function/Related/TypeIsomorphisms/Solver.agda | omega12345/agda-mode | 0 | 13904 | <reponame>omega12345/agda-mode
------------------------------------------------------------------------
-- The Agda standard library
--
-- Automatic solver for equations over product and sum types
--
-- See examples at the bottom of the file for how to use this solver
---------------------------------------------------... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/s-taasde.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 26009 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
src/time_triggered_scheduling.ads | jorge-real/TTS | 1 | 22154 | ------------------------------------------------------------
--
-- ADA REAL-TIME TIME-TRIGGERED SCHEDULING SUPPORT
--
-- @file time_triggered_scheduling.ads
--
-- @package Time_Triggered_Scheduling (SPEC)
--
-- @brief
-- Ada Real-Time Time Triggered Scheduling support: Time Triggered Scheduling
--
-- Ravenscar ... |
asm/lib/io.asm | tteeoo/svc | 2 | 21863 | <reponame>tteeoo/svc
; This file is intended to be sourced by another.
; It defines subroutines for input and output.
; Prints a string.
; ra = Address of the start of the string.
; rb = Starting address to print to.
print:
; The following code is like a while loop.
; Pseudocode:
; while ((ac = memory[ra]) != 0)... |
gcc-gcc-7_3_0-release/gcc/ada/s-trafor-default.adb | best08618/asylo | 7 | 13037 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
Scripts Pack Source Items/Scripts Pack/Core Components/Disable AirDrop (Recent Wi-Fi Hardware) (10.7).applescript | Phorofor/ScriptsPack.macOS | 1 | 1191 | # Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
-- Enables AirDrop or disables it on Macs with recent hardware. See http://support.apple.com/kb/HT4783 for a list of Mac computers that have AirDrop enabled by default
-- Disable AirDrop on AirDrop enabled Macs
-... |
programs/oeis/059/A059029.asm | neoneye/loda | 22 | 9874 | ; A059029: a(n) = n if n is even, 2*n + 1 if n is odd.
; 0,3,2,7,4,11,6,15,8,19,10,23,12,27,14,31,16,35,18,39,20,43,22,47,24,51,26,55,28,59,30,63,32,67,34,71,36,75,38,79,40,83,42,87,44,91,46,95,48,99,50,103,52,107,54,111,56,115,58,119,60,123,62,127,64,131,66,135,68,139,70,143,72,147,74,151,76,155,78,159,80,163,82,167,8... |
ch05/64 bit/CallProc_64.asm | William0Friend/my_masm | 0 | 167090 | <reponame>William0Friend/my_masm<filename>ch05/64 bit/CallProc_64.asm<gh_stars>0
; Calling a subroutine in 64-bit mode (CallProc_64.asm)
extrn ExitProcess: PROC
.code
main proc
sub rsp,8 ; align the stack pointer
sub rsp,20h ; reserve 32 bytes for shadow parameters
mov rcx,1 ; pass fo... |
source/amf/uml/amf-umldi-uml_association_or_connector_or_link_shapes-collections.ads | svn2github/matreshka | 24 | 9020 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
libsrc/target/zx81/chroma81/zx_aaddr2cx.asm | jpoikela/z88dk | 640 | 162985 | <gh_stars>100-1000
; uint __FASTCALL__ zx_aaddr2cx(void *attraddr)
; Stefano, 2014.12
SECTION code_clib
PUBLIC zx_aaddr2cx
PUBLIC _zx_aaddr2cx
EXTERN HRG_LineStart
.zx_aaddr2cx
._zx_aaddr2cx
IF FORlambda
ld hl,8319
ELSE
ld hl,HRG_LineStart+2+32768
ENDIF
and a
sbc hl,de
IF FORlambda
ld de,33
ELSE
ld... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_13591_460.asm | ljhsiun2/medusa | 9 | 23593 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_13591_460.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xc601, %rsi
lea addresses_UC_ht+0x4b1f, %rdi
nop
nop
nop
nop
nop
add %r14, %r14
m... |
MSDOS/Virus.MSDOS.Unknown.npad.asm | fengjixuchui/Family | 3 | 99007 | <gh_stars>1-10
INTERRUPTS SEGMENT AT 0H ;This is where the keyboard interrupt
ORG 9H*4 ;holds the address of its service routine
KEYBOARD_INT LABEL DWORD
INTERRUPTS ENDS
SCREEN SEGMENT AT 0B000H ;A dummy segment to use as the
SCREEN ENDS ;Extra Segme... |
Graph/Category.agda | Lolirofle/stuff-in-agda | 6 | 7267 | open import Type
module Graph.Category {ℓ₁ ℓ₂} {V : Type{ℓ₁}} where
open import Data.Tuple as Tuple using ()
open import Functional
open import Logic.Propositional
import Lvl
open import Graph{ℓ₁}{ℓ₂}(V)
open import Graph.Walk{ℓ₁}{ℓ₂}{V}
open import Graph.Walk.Proofs{ℓ₁}{ℓ₂}{V}
open import Relator.Equals
open im... |
_build/dispatcher/jmp_ippsECCPBindGxyTblStd521r1_d6e8fae1.asm | zyktrcn/ippcp | 1 | 98627 | extern m7_ippsECCPBindGxyTblStd521r1:function
extern n8_ippsECCPBindGxyTblStd521r1:function
extern y8_ippsECCPBindGxyTblStd521r1:function
extern e9_ippsECCPBindGxyTblStd521r1:function
extern l9_ippsECCPBindGxyTblStd521r1:function
extern n0_ippsECCPBindGxyTblStd521r1:function
extern k0_ippsECCPBindGxyTblStd521r1:functio... |
appleScripts/takeScreenshot.applescript | nbowen/IMMAT | 8 | 1771 | <reponame>nbowen/IMMAT
# Get the File
on run {rep as String , phone as String}
set PATH_TO_REPOSITORY to rep
set path_to_file to PATH_TO_REPOSITORY & "my_screenshot.png"
# set it as a POSIX file
set my_file to (path_to_file as POSIX file)
# send stuff
tell application "Messages"
set myid to get id of first service... |
test/frogger.asm | slcz/hummingbird | 0 | 21989 | #include "hi.asm"
iodata = 0xff0
ioctrl = 0xff1
ioin = 0xff1
jmp start
send_data:
st iodata
li(0x03)
st ioctrl
li(0x01)
st ioctrl
send_data_r = . + 1
send_data_r0:
jmp 0
send_ctrl:
st iodata
li(0x02)
st ioctrl
lh 0x00
st ioctrl
send_ctrl_r = . + 1
send_ctrl_r0:
jmp 0
start:
lh 0x00
st ioctrl
li(1f) st send_ctr... |
src/message-login.adb | zenharris/ada-bbs | 2 | 21180 | <reponame>zenharris/ada-bbs<filename>src/message-login.adb
with Message.Reader; use Message.Reader;
Package body Message.Login is
procedure Read_Config (FileName : in String;
UserName : out Unbounded_String;
FullName : out Unbounded_String;
... |
oeis/098/A098497.asm | neoneye/loda-programs | 11 | 246777 | ; A098497: Main diagonal of triangle A098495.
; Submitted by <NAME>
; 1,-1,1,-7,76,-989,15289,-275807,5702887,-133121449,3464398070,-99482086439,3125039826481,-106610733533317,3925411300203301,-155161278879431551,6553471162481684656
add $0,1
mov $1,1
mov $2,$0
mov $4,1
lpb $0
sub $0,1
sub $1,$4
mov $3,$2
mul $... |
regtests/servlet-core-tests.ads | My-Colaborations/ada-servlet | 6 | 20411 | <gh_stars>1-10
-----------------------------------------------------------------------
-- Servlets Tests - Unit tests for Servlet.Core
-- Copyright (C) 2010, 2011, 2012, 2013, 2015, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use t... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver1/sfc/ys_chr.asm | prismotizm/gigaleak | 0 | 27579 | <reponame>prismotizm/gigaleak
Name: ys_chr.asm
Type: file
Size: 16538
Last-Modified: '2016-05-13T04:51:16Z'
SHA-1: 16CFAA5869A8DCA4CE1F0896ED4A720A53B5D8CA
Description: null
|
examples/usb_device_msc_sdcard/system/f407_168_8/Startup.asm | AIHZP/andysworkshop-stm32plus | 607 | 29088 | /**
******************************************************************************
* @file startup_stm32f4xx.s
* @author MCD Application Team
* @version V1.0.0
* @date 30-September-2011
* @brief STM32F4xx Devices vector table for RIDE7 toolchain.
* This module performs:
* ... |
mat/src/mat-readers-streams.adb | stcarrez/mat | 7 | 9467 | <reponame>stcarrez/mat
-----------------------------------------------------------------------
-- mat-readers-streams -- Reader for streams
-- 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 ... |
programs/oeis/095/A095340.asm | neoneye/loda | 22 | 7018 | <reponame>neoneye/loda
; A095340: Total number of nodes in all labeled graphs on n nodes.
; 1,4,24,256,5120,196608,14680064,2147483648,618475290624,351843720888320,396316767208603648,885443715538058477568,3929008913747544817795072,34662321099990647697175478272,608472288109550112718417538580480
add $0,1
mov $1,$0
mov $... |
_incObj/13 Lava Ball Maker.asm | kodishmediacenter/msu-md-sonic | 9 | 99122 | <filename>_incObj/13 Lava Ball Maker.asm
; ---------------------------------------------------------------------------
; Object 13 - lava ball maker (MZ, SLZ)
; ---------------------------------------------------------------------------
LavaMaker:
moveq #0,d0
move.b obRoutine(a0),d0
move.w LavaM_Index(pc,d0.w),d... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2805.asm | ljhsiun2/medusa | 9 | 102583 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x808e, %r9
nop
nop
dec %rax
movb $0x61, (%r9)
and %rdx, %rdx
lea addresses_normal_ht+0xc61c, %r11
nop
nop
nop
nop
nop
and %r9, %r9
movl... |
couchmobile-old-couch/firmware code/int-rc.X/tcpip/TCPIP Stack/BigInt_helper.asm | CouchmobileUNSW/couchmobile-electrical | 2 | 103980 | <reponame>CouchmobileUNSW/couchmobile-electrical
; *********************************************************************
; *
; * Big Integer Assembly Helpers
; * Library for Microchip TCP/IP Stack
; * - Accelerates processing for BigInt functions
; *
; ***************************************************************... |
OSDev/Try-12/boot/16/print16.asm | Ashwin-Paudel/Tries | 0 | 170625 | ;
; print16.asm
; KripayaOS Project
; Author(s): [Ashwin: <EMAIL>]
;
[bits 16]
print16:
; Save the registers
push ax
push bx
; Allow Printing to the screen
mov ah, 0x0E
.loop:
; Check if character is null
cmp byte[bx], 0
je .done
; Print to the screen
mov al, byte[bx]
int 0x10
; Increment b... |
data/battle/ai/stall_moves.asm | genterz/pokecross | 28 | 165067 | ; AI_OPPORTUNIST discourages these moves
; when the player's HP is low.
StallMoves:
db SWORDS_DANCE
db TAIL_WHIP
db LEER
db GROWL
db DISABLE
db MIST
db COUNTER
db LEECH_SEED
db GROWTH
db STRING_SHOT
db MEDITATE
db AGILITY
db RAGE
db MIMIC
db SCREECH
db HARDEN
db WITHDRAW
db DEFENSE_CURL
db BARRIER
... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/private_type_definition.ads | ouankou/rose | 488 | 28344 | package Private_Type_Definition is
type Type_1 is private;
type Type_2 is tagged private;
type Type_3 is abstract tagged limited private;
type Parent_Type_1 is tagged record
Component_1 : Integer;
end record;
type Type_4 is new Parent_Type_1 with private;
private
type Type_1 is new Integer;... |
courses/fundamentals_of_ada/labs/prompts/190_exceptions/simple_math.adb | AdaCore/training_material | 15 | 18580 | with Ada.Numerics.Generic_Elementary_Functions;
package body Simple_Math is
package Math is new Ada.Numerics.Generic_Elementary_Functions (Float_T);
-- Sqrt should raise our exception when X < 0 and
-- the square root of X otherwise
function Sqrt
(X : Float_T)
return Float_T is
begin
re... |
src/cupcake-windows.ads | skordal/cupcake | 2 | 1084 | -- The Cupcake GUI Toolkit
-- (c) <NAME> 2012 <<EMAIL>>
-- Report bugs and issues on <http://github.com/skordal/cupcake/issues>
-- vim:ts=3:sw=3:et:si:sta
with Cupcake.Colors;
with Cupcake.Primitives;
with Cupcake.Backends;
private with Ada.Containers.Doubly_Linked_Lists;
package Cupcake.Windows is
-- Norma... |
src/Source/Type.agda | JLimperg/msc-thesis-code | 5 | 1711 | <filename>src/Source/Type.agda
{-# OPTIONS --without-K --safe #-}
module Source.Type where
open import Source.Size as S using
( Size ; Δ ; Δ′ ; Δ″ ; Ω ; Ω′ ; Ω″ ; n ; m ; o ; p ; b )
open import Source.Size.Substitution.Canonical as SC using
( Sub⊢ )
open import Source.Size.Substitution.Theory
open import Source.S... |
programs/oeis/141/A141855.asm | neoneye/loda | 22 | 105249 | ; A141855: Primes congruent to 8 mod 11.
; 19,41,107,151,173,239,283,349,503,547,569,613,701,811,877,1009,1031,1097,1163,1229,1361,1427,1471,1493,1559,1669,1801,1823,1867,1889,1933,1999,2087,2131,2153,2351,2417,2549,2593,2659,2791,2857,2879,3011,3121,3187,3209,3253,3319,3407,3517,3539,3583,3671,3803,3847,4001,4111,4133... |
programs/oeis/138/A138034.asm | jmorken/loda | 1 | 18973 | <filename>programs/oeis/138/A138034.asm
; A138034: Expansion of (1+3*x^2)/(1-x+x^2).
; 1,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,... |
programs/oeis/100/A100775.asm | karttu/loda | 1 | 24267 | <reponame>karttu/loda
; A100775: a(n) = 97*n + 101.
; 101,198,295,392,489,586,683,780,877,974,1071,1168,1265,1362,1459,1556,1653,1750,1847,1944,2041,2138,2235,2332,2429,2526,2623,2720,2817,2914,3011,3108,3205,3302,3399,3496,3593,3690,3787,3884,3981,4078,4175,4272,4369,4466,4563,4660,4757,4854,4951,5048,5145,5242,5339,5... |
programs/oeis/175/A175869.asm | neoneye/loda | 22 | 11669 | <filename>programs/oeis/175/A175869.asm
; A175869: Partial sums of ceiling(n^2/23).
; 0,1,2,3,4,6,8,11,14,18,23,29,36,44,53,63,75,88,103,119,137,157,179,202,228,256,286,318,353,390,430,472,517,565,616,670,727,787,850,917,987,1061,1138,1219,1304,1393,1485,1582,1683,1788,1897,2011,2129,2252,2379,2511,2648,2790,2937,3089,... |
Assembly/Phonebook.asm | Yuk1n0/Homework | 3 | 170332 | ;***********************定义数据段****************************
DATAS SEGMENT
MESSAGE DB 'PLEASE INPUT YOUR NAME:',13,10,'$'
MESSAGE1 DB 'PLEASE INPUT YOUR TELEPHONE NUMBER:',13,10,'$'
MESSAGE2 DB 'NAME TEL.',13,10,'$'
MESSAGE4 DB '*************************************',13,10,'$'
MESS... |
commands/media/spotify/spotify-play-playlist.template.applescript | daviddzhou/script-commands | 3,305 | 1305 | <filename>commands/media/spotify/spotify-play-playlist.template.applescript
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Play Track or Playlist
# @raycast.mode silent
# Optional parameters:
# @raycast.packageName Spotify
# @raycast.icon images/spotify-logo.png
# Documentati... |
programs/oeis/158/A158485.asm | karttu/loda | 1 | 81161 | ; A158485: a(n) = 14*n^2 - 1.
; 13,55,125,223,349,503,685,895,1133,1399,1693,2015,2365,2743,3149,3583,4045,4535,5053,5599,6173,6775,7405,8063,8749,9463,10205,10975,11773,12599,13453,14335,15245,16183,17149,18143,19165,20215,21293,22399,23533,24695,25885,27103,28349,29623,30925,32255,33613,34999,36413,37855,39325,40823,... |
Irvine/Examples/ch10/Macro2.asm | alieonsido/ASM_TESTING | 0 | 23467 | <gh_stars>0
; Useful Macros (Macro2.ASM)
; This program demonstrates several useful macros:
; mGotoxy, mWrite, mWriteLn, mWriteStr, mReadStr,
; and mDumpMem.
INCLUDE Irvine32.inc
;-----------------------------------------------------
mWriteStr MACRO buffer
;
; Improved version of mWriteStr that chec... |
ThirdParty/FreeRTOS/Source/portable/CCS/MSP430X/portext.asm | OpenNuvoton/M0519BSP | 8 | 92854 | <filename>ThirdParty/FreeRTOS/Source/portable/CCS/MSP430X/portext.asm
;
;/*
; FreeRTOS V8.2.1 - Copyright (C) 2015 Real Time Engineers Ltd.
; All rights reserved
;
;
; ***************************************************************************
; * ... |
llvm-gcc-4.2-2.9/gcc/ada/scans.ads | vidkidz/crossbridge | 1 | 27384 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Trash/test/Json.g4 | studentmain/AntlrVSIX | 67 | 2362 | grammar Json;
json: object
| array
;
object
: '{' pair (',' pair)* '}'
| '{' '}' // empty object
;
pair: STRING ':' value ;
array
: '[' value (',' value)* ']'
| '[' ']' // empty array
;
value
: STRING
| NUMBER
| object // indirect recursion
| ar... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_77.asm | ljhsiun2/medusa | 9 | 100874 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1d7fd, %rsi
lea addresses_WC_ht+0x1bed9, %rdi
nop
nop
sub %r9, %r9
mov $37, %rcx
rep movsq
nop
nop
nop
nop
add $25354, %rax
lea addresses_D_ht+0x9aa... |
src/asf-converters-sizes.adb | jquorning/ada-asf | 12 | 29968 | <reponame>jquorning/ada-asf<gh_stars>10-100
-----------------------------------------------------------------------
-- asf-converters-sizes -- Size converter
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... |
src/Human/Nat.agda | MaisaMilena/JuiceMaker | 6 | 33 | <reponame>MaisaMilena/JuiceMaker
module Human.Nat where
open import Human.Bool
data Nat : Set where
zero : Nat
suc : Nat → Nat
{-# BUILTIN NATURAL Nat #-}
infix 4 _==_ _<_
infixl 6 _+_ _-_
infixl 7 _*_
-- add theses guys on infixl 7: _div_ _%_
_+_ : Nat → Nat → Nat
zero + m = m
suc n + m = suc (n + m)
{-# ... |
source/mpfr.ads | ytomino/gmp-ada | 4 | 17936 | with GMP;
private with C.mpfr;
package MPFR is
pragma Preelaborate;
pragma Linker_Options ("-lmpfr");
function Version return String;
subtype Number_Base is GMP.Number_Base;
type Precision is mod 2 ** GMP.Exponent'Size;
type Rounding is (
To_Nearest_With_Ties_Away_From_Zero,
To_Nearest,
Towards_Zero... |
synth-unicity.agda | hazelgrove/hazelnut-dynamics-agda | 16 | 2171 | <reponame>hazelgrove/hazelnut-dynamics-agda
open import Prelude
open import core
open import contexts
module synth-unicity where
-- synthesis only produces equal types. note that there is no need for an
-- analagous theorem for analytic positions because we think of
-- the type as an input
synthunicity : {Γ : ... |
theorems/homotopy/Bouquet.agda | timjb/HoTT-Agda | 294 | 15921 | <gh_stars>100-1000
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import homotopy.FinWedge
module homotopy.Bouquet where
Rose : ∀ {i} (I : Type i) → Type i
Rose I = BigWedge {A = I} (λ _ → ⊙S¹)
Bouquet-family : ∀ {i} (I : Type i) (m : ℕ) → (I → Ptd₀)
Bouquet-family I m _ = ⊙Sphere m
Bouquet : ∀ {i} ... |
data/jpred4/jp_batch_1613899824__Avxh73x/jp_batch_1613899824__Avxh73x.als | jonriege/predict-protein-structure | 0 | 5291 | <reponame>jonriege/predict-protein-structure
SILENT_MODE
BLOCK_FILE jp_batch_1613899824__Avxh73x.concise.blc
MAX_NSEQ 784
MAX_INPUT_LEN 786
OUTPUT_FILE jp_batch_1613899824__Avxh73x.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75 ... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/lib-xref.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 204 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/US/_st_un_sm_/i9-9900K_12_0xa0_notsx.log_21829_1225.asm | ljhsiun2/medusa | 9 | 20952 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1e894, %rbx
nop
nop
nop
nop
cmp $51354, %r13
movb (%rbx), %r9b
xor %rdi, %rdi
lea addresses_D_ht+0xf2b4, %rdx
nop
nop
nop
add %rbx, %rbx
movb $0x61, (%rdx)
nop
... |
oeis/097/A097083.asm | neoneye/loda-programs | 11 | 246169 | <filename>oeis/097/A097083.asm
; A097083: Values of k such that there is exactly one permutation p of (1,2,3,...,k) such that i+p(i) is a Fibonacci number for 1<=i<=k.
; Submitted by <NAME>(s4)
; 1,2,3,5,9,15,24,39,64,104,168,272,441,714,1155,1869,3025,4895,7920,12815,20736,33552,54288,87840,142129,229970,372099,602069... |
oeis/086/A086116.asm | neoneye/loda-programs | 11 | 91098 | <reponame>neoneye/loda-programs
; A086116: Numerator of mean deviation of a symmetrical binomial distribution on n elements.
; Submitted by <NAME>(s1)
; 1,1,3,3,15,15,35,35,315,315,693,693,3003,3003,6435,6435,109395,109395,230945,230945,969969,969969,2028117,2028117,16900975,16900975,35102025,35102025,145422675,1454226... |
antlr-basics/src/main/java/com/poc/chapter_05_part01/FunctionCall.g4 | cgonul/antlr-poc | 0 | 3588 | <filename>antlr-basics/src/main/java/com/poc/chapter_05_part01/FunctionCall.g4
grammar FunctionCall;
expr : '(' ID* (',' ID)* ')' ;
ID : [(a-z|1-9)]+ ;
WS : [ \t\r\n]+ -> skip ; |
programs/oeis/152/A152291.asm | karttu/loda | 1 | 88495 | <reponame>karttu/loda
; A152291: a(n) = (n+1)^floor((n-1)/2).
; 1,1,1,4,5,36,49,512,729,10000,14641,248832,371293,7529536,11390625,268435456,410338673,11019960576,16983563041,512000000000,794280046581,26559922791424,41426511213649,1521681143169024,2384185791015625
mov $1,1
mul $1,$0
add $1,1
mov $2,$0
sub $2,1
div $2,... |
test/asset/agda-stdlib-1.0/Relation/Binary/Indexed/Heterogeneous/Core.agda | omega12345/agda-mode | 0 | 15433 | <filename>test/asset/agda-stdlib-1.0/Relation/Binary/Indexed/Heterogeneous/Core.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Indexed binary relations
------------------------------------------------------------------------
-- This file contains some c... |
alloy4fun_models/trashltl/models/9/HBgCzfKF5oNYvdof5.als | Kaixi26/org.alloytools.alloy | 0 | 1208 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idHBgCzfKF5oNYvdof5_prop10 {
always all p: File | always (p in Protected implies after p in Protected)
}
pred __repair { idHBgCzfKF5oNYvdof5_prop10 }
check __repair { idHBgCzfKF5oNYvdof5_prop10 <=> prop10o } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.