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 |
|---|---|---|---|---|
roms/virtual-disk/option.asm | teknoman117/ts-3100-kvm-emulator | 1 | 246588 | <gh_stars>1-10
; virtual disk option rom
bits 16
org 0x0000
section .text
; header
db 0x55
db 0xaa
db 16
jmp rom_init
%include "stringformat.asm"
rom_init:
; backup registers we clobber
push ax
push bx
push cx
push dx
push si
push bp
push ds
push es... |
sys/dev/adb/files.adb | ArrogantWombatics/openbsd-src | 1 | 19494 | <gh_stars>1-10
# $OpenBSD: files.adb,v 1.2 2014/10/18 12:21:57 miod Exp $
file dev/adb/adb_subr.c adb
device akbd: wskbddev
attach akbd at adb
file dev/adb/akbd.c akbd needs-flag
device ams: wsmousedev
attach ams at adb
file dev/adb/ams.c ams
|
oeis/159/A159850.asm | neoneye/loda-programs | 11 | 14888 | <reponame>neoneye/loda-programs
; A159850: Numerator of Hermite(n, 17/22).
; Submitted by <NAME>
; 1,17,47,-7429,-160415,4464217,269993839,-1892147821,-489536076223,-4658915114335,987008017069999,28053710866880683,-2150502256703365727,-118026514721378720791,4759029349325350323695,480777330814562061542723,-9102061914203... |
src/basics/helloworld-len.asm | Pentium1080Ti/x86-assembly | 0 | 166030 | <reponame>Pentium1080Ti/x86-assembly
SECTION .data
msg db 'Hello world! :)',0Ah
SECTION .text
global _start
_start:
mov ebx,msg ; move msg into ebx
mov eax,ebx ; move address in ebx to eax
nextchar:
cmp byte [eax],0 ; compare byte against 0
jz finished ; if 0 jmp to finished
inc eax
jmp next... |
bios/hyper_mbr.asm | UltraOS/Hyper | 3 | 102127 | <reponame>UltraOS/Hyper
BITS 16
BYTES_PER_SECTOR: equ 512
MBR_LOAD_BASE: equ 0x7C00
MBR_SIZE_IN_BYTES: equ BYTES_PER_SECTOR
STAGE2_LOAD_BASE: equ MBR_LOAD_BASE + MBR_SIZE_IN_BYTES
STAGE2_BASE_SECTOR: equ 1
SECTORS_PER_BATCH: equ 64
BYTES_PER_BATCH: equ SECTORS_PER_BATCH * BYTE... |
experiments/litmus/amd/9/thread.1.asm | phlo/concubine | 0 | 173241 | ADDI 1
STORE 1
FENCE
MEM 1
LOAD 0
|
processor/arch/c64/pre.asm | HakierGrzonzo/bfc64 | 1 | 19983 | <filename>processor/arch/c64/pre.asm
BasicUpstart2(start)
*=$4000 "Program"
// $00FB - pointer to tape page
start:
jsr $ff81
lda #$02
sta $d020
sta $d021
lda #$01
sta $0286
lda #$73
sta $00FB + 1
lda #$00
sta $00FB // memory at is like $00FB to …00 73… so we have a pointer to $7... |
pwnlib/shellcraft/templates/aarch64/linux/cat2.asm | tkmikan/pwntools | 9 | 13607 | <filename>pwnlib/shellcraft/templates/aarch64/linux/cat2.asm
<%
from pwnlib import shellcraft
%>
<%page args="filename, fd=1, length=0x4000"/>
<%docstring>
Opens a file and writes its contents to the specified file descriptor.
Uses an extra stack buffer and must know the length.
Example:
>>> f = tempfile.mktemp... |
programs/oeis/052/A052954.asm | jmorken/loda | 1 | 243936 | <reponame>jmorken/loda
; A052954: Expansion of (2-x-x^2-x^3)/((1-x)*(1-x^2-x^3)).
; 2,1,2,2,2,3,3,4,5,6,8,10,13,17,22,29,38,50,66,87,115,152,201,266,352,466,617,817,1082,1433,1898,2514,3330,4411,5843,7740,10253,13582,17992,23834,31573,41825,55406,73397,97230,128802,170626,226031,299427,396656,525457,696082,922112,12215... |
src/bintoasc-base32.ads | jhumphry/Ada_BinToAsc | 0 | 18264 | <gh_stars>0
-- BinToAsc.Base32
-- Binary data to ASCII codecs - Base64 codec as in RFC4648
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
generic
Alphabet : Alphabet_32;
Padding : Character;
Case_Sensitive : Boolean;
Allow_Homoglyphs : Boolean;
package BinToAsc.Base32 is
type Base32_To_S... |
agda-stdlib/src/Relation/Binary/Indexed/Heterogeneous/Structures.agda | DreamLinuxer/popl21-artifact | 5 | 2936 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Indexed binary relations
------------------------------------------------------------------------
-- The contents of this module should be accessed via
-- `Relation.Binary.Indexed.Heterogeneous`.
{-# OPTIONS --... |
src/test/ref/loopnest3.asm | jbrandwood/kickc | 2 | 20156 | <reponame>jbrandwood/kickc<gh_stars>1-10
// Commodore 64 PRG executable file
.file [name="loopnest3.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(m... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/derived_type3.adb | best08618/asylo | 7 | 22448 | -- { dg-do run }
with Derived_Type3_Pkg; use Derived_Type3_Pkg;
procedure Derived_Type3 is
begin
Proc1;
Proc2;
end;
|
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/case_function.ads | ouankou/rose | 488 | 28232 | <reponame>ouankou/rose<gh_stars>100-1000
function Case_Function(X : in Integer) return Integer;
|
programs/oeis/235/A235963.asm | neoneye/loda | 22 | 165191 | <reponame>neoneye/loda
; A235963: n appears (n+1)/(1 + (n mod 2)) times.
; 0,1,2,2,2,3,3,4,4,4,4,4,5,5,5,6,6,6,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,8,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr11_pkg.ads | best08618/asylo | 7 | 29622 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr11_pkg.ads
package Aggr11_Pkg is
type Error_Type is (No_Error, Error);
type Rec (Kind : Error_Type := No_Error) is record
case Kind is
when Error => null;
when others => B : Boolean;
end case;
end recor... |
src/regular-star.agda | shinji-kono/automaton-in-agda | 0 | 4213 | module regular-star where
open import Level renaming ( suc to Suc ; zero to Zero )
open import Data.List
open import Data.Nat hiding ( _≟_ )
open import Data.Fin hiding ( _+_ )
open import Data.Empty
open import Data.Unit
open import Data.Product
-- open import Data.Maybe
open import Relation.Nullary
open import ... |
source/web/tools/a2js/properties-definitions-record_type.adb | svn2github/matreshka | 24 | 24249 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
demo/tutorial/engines.adb | csb6/libtcod-ada | 0 | 11520 | <reponame>csb6/libtcod-ada<filename>demo/tutorial/engines.adb
with Ada.Numerics.Discrete_Random, Ada.Assertions;
with Libtcod.Maps.BSP, Libtcod.Color;
package body Engines is
use Ada.Assertions;
use type Maps.X_Pos, Maps.Y_Pos;
Max_Monsters_Per_Room : constant := 3;
Max_Room_Size : constant := 12;
Min... |
msp430x2/msp430g2452/svd/msp430_svd-interrupts.ads | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 18793 | -- This spec has been automatically generated from out.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package MSP430_SVD.INTERRUPTS is
pragma Preelaborate;
-----------------
-- Peripherals --
-----------------
type INTERRUPTS_Peripheral is re... |
src/drivers/ado-drivers.ads | My-Colaborations/ada-ado | 0 | 4637 | -----------------------------------------------------------------------
-- ADO Drivers -- Database Drivers
-- Copyright (C) 2010, 2011, 2012, 2013, 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complianc... |
src/sys/os-win64/util-systems-types.ads | RREE/ada-util | 60 | 17221 | <filename>src/sys/os-win64/util-systems-types.ads
-- Generated by utildgen.c from system includes
with Interfaces.C;
package Util.Systems.Types is
subtype dev_t is Interfaces.C.unsigned;
subtype ino_t is Interfaces.C.unsigned_short;
subtype off_t is Long_Long_Integer;
subtype uid_t is Interfaces.C.... |
src/implementation/yaml-events-queue.adb | persan/AdaYaml | 32 | 22605 | -- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
package body Yaml.Events.Queue is
procedure Adjust (Object : in out Reference) is
begin
Increase_Refcount (Object.Data);
end Adjust;
procedure Finalize (Object : in out Reference) is
b... |
org.alloytools.alloy.diff/misc/multiplicities/oneBank.als | jringert/alloy-diff | 1 | 965 | <gh_stars>1-10
module oneBank
sig addr{}
one sig Bank{
s: one addr
}
|
memsim-master/src/distribution.ads | strenkml/EE368 | 0 | 25833 |
with Ada.Numerics.Discrete_Random;
with Ada.Containers.Vectors;
use Ada.Containers;
with Applicative; use Applicative;
with Util; use Util;
-- Package containing functions for generating random numbers.
package Distribution is
-- Type to represent a random distribution.
type Distribution_Type is limite... |
MOS3/TestProgram/test.asm | Mishin870/MOS | 1 | 166350 | <reponame>Mishin870/MOS
use32
;mov dx, 0x3F8
;mov al, 'c'
;out dx, al
;int 30h
qwe:
jmp qwe |
src/Data/List/Relation/Binary/Subset/Propositional/Instances.agda | johnyob/agda-union | 0 | 8401 | <reponame>johnyob/agda-union
module Data.List.Relation.Binary.Subset.Propositional.Instances where
open import Data.List using (List; _∷_; [])
open import Data.List.Relation.Unary.Any using (here; there)
open import Data.List.Membership.Propositional using (_∈_; _∉_)
open import Data.List.Membership.Setoid.Properties ... |
Appl/Games/Amateur/amateurContent.asm | steakknife/pcgeos | 504 | 9253 | <gh_stars>100-1000
COMMENT @----------------------------------------------------------------------
PROJECT: Amateur Night
MODULE: amateurContent
FILE: amateurContent.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- -----... |
asmTests/mov.asm | SimpleTease/asm2c | 154 | 179940 | .386p
_DATA segment use32 dword public 'DATA' ;IGNORE
a db 1
b dw 2
c dd 3
d db 4
e db 5
f db 6
g dd 12345
h db -1
h2 db 1
_DATA ends ;IGNORE
_TEXT segment use32 dword public 'CODE' ;IGNORE
assume cs:_TEXT,ds:_DATA
start: ;IGNORE
mov ebx,0aabbccddh
cmp bl,0ddh
jne failure
cmp bh,0cch
jne failure
mov eax,2... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_654.asm | ljhsiun2/medusa | 9 | 174576 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1b2b1, %r14
nop
nop
cmp %r12, %r12
mov $0x6162636465666768, %rbp
movq %rbp, %xmm6
vmovups %ymm6, (%r14)
nop
nop
nop
nop
sub %r8, %r8
lea addresses_normal_ht+0x1a1cd, %rsi
lea ... |
driver_scripts/chrome_scroll.scpt | eti-p-doray/chrome_safari_power | 0 | 3340 | set myURL to "https://reddit.com"
set scrollAmount to "100" --- % down the page
tell application "Google Chrome"
activate
tell front window to set curTab to make new tab at after (get active tab) with properties {URL:myURL}
tell curTab
repeat while (loading)
delay 1
end repeat
... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0xca_notsx.log_511_836.asm | ljhsiun2/medusa | 9 | 97909 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x12802, %rsi
lea addresses_normal_ht+0x11cb4, %rdi
add %r13, %r13
mov $70, %rcx
rep movsl
nop
nop
nop
nop
nop
cmp $5154, %r15
lea addre... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_21829_1598.asm | ljhsiun2/medusa | 9 | 101424 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xfc42, %r13
xor %r14, %r14
mov (%r13), %r15
nop
nop
nop
nop
xor $1349, %rbp
lea addresses_normal_ht+0x1c682, %r9
clflush (%r9)
dec %rax
mov $0x6162636465666768, %rcx
... |
source/slim-message_visiters.ads | reznikmm/slimp | 0 | 4809 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Slim.Messages.ANIC;
with Slim.Messages.BUTN;
with Slim.Messages.DSCO;
with Slim.Messages.HELO;
with Slim.Messages.IR;
with Slim.Messages.META;
wit... |
oeis/050/A050141.asm | neoneye/loda-programs | 11 | 98255 | <reponame>neoneye/loda-programs
; A050141: a(n) = 2*floor((n+1)*phi) - 2*floor(n*phi) - 1 where phi = (1 + sqrt(5))/2 is the golden ratio.
; Submitted by <NAME>(s4)
; 3,1,3,3,1,3,1,3,3,1,3,3,1,3,1,3,3,1,3,1,3,3,1,3,3,1,3,1,3,3,1,3,3,1,3,1,3,3,1,3,1,3,3,1,3,3,1,3,1,3,3,1,3,1,3,3,1,3,3,1,3,1,3,3,1,3,3,1,3,1,3,3,1,3,1,3,3... |
session_06/02-mmiokeyboard/mmiokeyboard.asm | DigiOhhh/LabArchitettura2-2017-2018 | 1 | 101763 | <reponame>DigiOhhh/LabArchitettura2-2017-2018
.data
outstr : .asciiz "Caratteri scritti: "
.text
.globl main
main:
la $t8, 0xFFFF0000 # Keyboard address control
la $t9, 0xFFFF0004 # Keyboard address data
li $t7, 0x0A # newline ASCII keycode
move $t6, $zero # init counter
loop: lw $t0, 0($t8) # Controlla... |
uprogs/cat.asm | zhiyihuang/xv6_rpi_port | 36 | 19661 |
_cat: file format elf32-littlearm
Disassembly of section .text:
00000000 <main>:
int
main(int argc, char *argv[])
{
int fd, i;
if(argc <= 1){
0: e3500001 cmp r0, #1
}
}
int
main(int argc, char *argv[])
{
4: e92d49f8 push {r3, r4, r5, r6, r7, r8, fp, lr}
8: e1a07000 mov r7, r0
c: e28db01c ... |
parser/src/main/resources/mysql expression.g4 | buzhidaolvtu/mysql-parser | 1 | 3339 | <filename>parser/src/main/resources/mysql expression.g4
expr:
expr OR expr
| expr || expr
| expr XOR expr
| expr AND expr
| expr '&' '&' expr
| NOT expr
| '!' expr
| boolean_primary IS NOT? (TRUE | FALSE | UNKNOWN)
| boolean_primary
boolean_primary:
boolean_primary IS NOT? NULL
| boolean_prim... |
ffmpeg-2.3.6/ffmpeg-2.3.6/libavcodec/x86/hevc_idct.asm | d2262272d/ffmpeg | 16 | 246742 | <gh_stars>10-100
; /*
; * Provide SSE & MMX idct functions for HEVC decoding
; * Copyright (c) 2014 <NAME>
; *
; * This file is part of FFmpeg.
; *
; * FFmpeg is free software; you can redistribute it and/or
; * modify it under the terms of the GNU Lesser General Public
; * License as published by the Free Software Fou... |
cc4x86/tests/regressive/asm_listings/shl_shr__optimize.asm | artyompal/C-compiler | 4 | 16891 |
.686
.model flat
.xmm
.code
_test proc
push ebp
mov ebp,esp
sub esp,8
mov eax,-16
sar eax,4
cmp eax,-1
je label0000
mov eax,1
add esp,8
pop ebp
ret
label0000:
mo... |
alloy4fun_models/trashltl/models/10/mtJfGYicfca7koBEr.als | Kaixi26/org.alloytools.alloy | 0 | 3071 | open main
pred idmtJfGYicfca7koBEr_prop11 {
all f : File | f not in Protected implies after f in Protected
}
pred __repair { idmtJfGYicfca7koBEr_prop11 }
check __repair { idmtJfGYicfca7koBEr_prop11 <=> prop11o } |
pyson/pyson/pyson.g4 | ZizhouJia/pyson | 2 | 5284 | grammar pyson;
INT:[+-]?[0-9]+;
FLOAT:[-+]?([0-9]+('.'[0-9]*)?|'.'[0-9]+)([eE][-+]?[0-9]+)?;
TRUE: 'True'|'true';
FALSE: 'False'|'false';
NONE: 'None'|'none';
SELF:'self';
KEY: [A-Za-z_]+[A-Za-z0-9_]*;
fragment ESC_DOUBLE : '\\"' ;
fragment ESC_SINGLE : '\\\'';
STRING: '"' (ESC_DOUBLE|.|'\\' [btnr"\\])*?'"'|'\'' (ESC_S... |
oldstuff/tigcc/PolySnd/sources/statique/GetMode.asm | bcherry/bcherry | 3 | 168051 | <gh_stars>1-10
section ".data"
xdef pSnd_GetMode
pSnd_GetMode:
move.w state_and_mode,d0
move.w d0,d1
;Extrait modes voice1
andi.w #%0000000001111000,d0
lsr.w #3,d0
;Extrait modes voice2
andi.w #%0011110000000000,d1
lsr.w #6,d1
or.w d1,d0
rts |
pixy/src/host/pantilt_in_ada/pan_tilt.adb | GambuzX/Pixy-SIW | 0 | 11197 | --
-- Copyright (c) 2015, <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 copyright
-- notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... |
MIPS/DelSubString.asm | saurabhcommand/Hello-world | 1,428 | 164848 | .data
str1: .space 1001
str2: .space 1001
str3: .space 1001
prompt: .asciiz "Enter String.\n"
prompt1: .asciiz "Enter Substring.\n"
prompt2: .asciiz "The Required String is \n"
line: .asciiz "\n"
.text
main:
#Prompt user to enter String
la $a0, prompt
li $v0, 4
... |
programs/oeis/267/A267871.asm | neoneye/loda | 22 | 10042 | ; A267871: Triangle read by rows giving successive states of cellular automaton generated by "Rule 239" initiated with a single ON (black) cell.
; 1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1... |
Logic/DiagonalMethod.agda | Lolirofle/stuff-in-agda | 6 | 2259 | <filename>Logic/DiagonalMethod.agda
module Logic.DiagonalMethod where
open import Functional
open import Logic.Predicate
open import Logic.Propositional
import Lvl
open import Relator.Equals
open import Relator.Equals.Proofs
open import Structure.Function.Domain
open import Structure.Operator
open import Structur... |
Transynther/x86/_processed/US/_st_sm_/i7-7700_9_0x48.log_21829_2303.asm | ljhsiun2/medusa | 9 | 100584 | <filename>Transynther/x86/_processed/US/_st_sm_/i7-7700_9_0x48.log_21829_2303.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xca05, %rsi
lea addresses_normal_ht+0x17dad, %rdi
clflush (%rsi)
nop
nop
dec %r... |
src/generated/sys_utypes_uint8_t_h.ads | csb6/libtcod-ada | 0 | 7393 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package sys_utypes_uint8_t_h is
-- * Copyright (c) 2012 Apple Inc. All rights reserved.
-- *
-- * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
-- *
-- * This file contains Original Code and/or Modifications of Original Code
-- *... |
loader/decrunch.asm | sikorama/still_scrolling | 0 | 5301 |
DATA_START: EQU #8000
ENTRY_POINT: EQU #9000
; 0: mode normal
; 1: utilise le code dans le header
PRODMODE: EQU 0
ORG #4000
if PRODMODE==0
include "header.asm"
else
GET_FONT EQU 0
ld hl,(#be7d)
ld bc,#12A
add hl,bc
ld (getfont+1), hl
ld bc, 20
add hl,bc
ld (literal+1),hl
endif
START: ... |
gillesdubois/used_apple_scripts/weatherStatus.applescript | gillesdubois/btt-touchbar-presets | 1,879 | 196 | -- Create an api key here : https://darksky.net
-- Then add change the URL BELOW
-- You need to install JSON Helper from Apple Store
-- You need to install locateme from brew (https://brew.sh/)
-- More information in readme on github
tell application "JSON Helper"
set latLon to do shell script "/usr/local/bin/locateme... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/erf_fastcall.asm | jpoikela/z88dk | 640 | 84505 | <reponame>jpoikela/z88dk
SECTION code_clib
SECTION code_fp_math48
PUBLIC _erf_fastcall
EXTERN cm48_sdcciy_erf_fastcall
defc _erf_fastcall = cm48_sdcciy_erf_fastcall
|
Structure/Category/NaturalTransformation/NaturalTransformations.agda | Lolirofle/stuff-in-agda | 6 | 6730 | <reponame>Lolirofle/stuff-in-agda
module Structure.Category.NaturalTransformation.NaturalTransformations where
open import Functional using () renaming (id to idᶠⁿ)
open import Functional.Dependent using () renaming (_∘_ to _∘ᶠⁿ_)
open import Logic
open import Logic.Predicate
import Lvl
open import Stru... |
src/babel-strategies-default.adb | stcarrez/babel | 1 | 21532 | -----------------------------------------------------------------------
-- babel-strategies -- Strategies to backup files
-- Copyright (C) 2014, 2015, 2016 Stephane.Carrez
-- Written by Stephane.Carrez (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exce... |
Examples/interprocess-communication/exeapp2.asm | agguro/linux-nasm | 6 | 10434 | <reponame>agguro/linux-nasm
;name: exeapp2.asm
;
;build: nasm -felf64 exeapp2.asm -o exeapp2.o
; ld -melf_x86_64 -o exeapp2 exeapp2.o
;
;description: Demonstration on how to execute a program with commandline arguments
; from within a program.
; This example, as extensio... |
oeis/295/A295933.asm | neoneye/loda-programs | 11 | 3576 | ; A295933: Number of (not necessarily maximum) cliques in the n-Sierpinski sieve graph.
; Submitted by <NAME>(s4)
; 8,20,55,160,475,1420,4255,12760,38275,114820,344455,1033360,3100075,9300220,27900655,83701960,251105875,753317620,2259952855,6779858560,20339575675,61018727020,183056181055,549168543160,1647505629475,4942... |
src/natools-s_expressions.adb | faelys/natools | 0 | 16834 | ------------------------------------------------------------------------------
-- Copyright (c) 2013-2014, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
regtests/action_bean.ads | jquorning/ada-el | 6 | 18283 | -----------------------------------------------------------------------
-- Action_Bean - Simple bean with methods that can be called from EL
-- Copyright (C) 2010 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compl... |
oeis/340/A340536.asm | neoneye/loda-programs | 11 | 7998 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A340536: Digital root of 2*n^2.
; Submitted by <NAME>
; 2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9
add $0,1
pow $0,2
mul $0,40
sub $... |
vmx_check/boot.asm | ilya101010/asm_studies | 1 | 162868 | format ELF
include 'macro.inc'
include 'elf.inc'
; include 'proc32.inc' - these macros are SICK and TIRED of your damn EMAILS!
; >>>> 16bit code
section '.text16' executable
Use16
public start
start:
org 0x7C00
mbp
cli ; disabling interrupts
mov ax, cs ; segment registers' init
mov ds, ax... |
tests/jump/jump_address.asm | UPB-FILS-ALF/devoir-1-tests | 0 | 120 | <reponame>UPB-FILS-ALF/devoir-1-tests<filename>tests/jump/jump_address.asm
push 1
push 2
jump 5
push 3
stack
|
hdes-dialect/hdes-ast/src/main/antlr4/imports/ServiceTaskParser.g4 | the-wrench-io/hdes-parent | 1 | 7536 | parser grammar ServiceTaskParser;
options { tokenVocab = HdesLexer; }
import TypeDefParser, ExpressionParser;
serviceTaskUnit: simpleTypeName headers '{' externalService '}';
promise: PROMISE '{' promiseTimeout? '}';
promiseTimeout: TIMEOUT ':' expressionUnit;
externalService: promise? typeName mapping; |
Recutter.agda | pigworker/InteriorDesign | 6 | 13086 | <filename>Recutter.agda
module Recutter where
open import Basics
open import All
open import Cutting
open import Perm
module RECUTTER {I}(C : I |> I) where
open _|>_
CutKit : (I -> Set) -> Set
CutKit P = (i : I)(c : Cuts C i) -> P i -> All P (inners C c)
Subs : List I -> Set
Subs = All (\ i -> One + Cuts... |
resources/scripts/api/c99.ads | Elon143/Amass | 7,053 | 881 | <reponame>Elon143/Amass
-- Copyright 2020-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 = "C99"
type = "api"
function start()
set_rate_limit(10)
end
function check()
local c
local cfg ... |
exe4-lista.asm | joaoghost19/mips-exercises | 0 | 177028 | #################################################
# exe4 MIPS assembly #
# author: <NAME> #
#################################################
.data
.text
main:
#int a = 10;
li $t1, 10
# if (a>0) { b = a + 10} else { b = a - 10 }
beq $t1, $zero, else
addi $t0,... |
oeis/121/A121454.asm | neoneye/loda-programs | 11 | 102700 | <gh_stars>10-100
; A121454: Expansion of q * psi(-q) * psi(-q^7) in powers of q where psi(q) is a Ramanujan theta function.
; Submitted by <NAME>
; 1,-1,0,-1,0,0,1,-1,1,0,2,0,0,-1,0,-1,0,-1,0,0,0,-2,2,0,1,0,0,-1,2,0,0,-1,0,0,0,-1,2,0,0,0,0,0,2,-2,0,-2,0,0,1,-1,0,0,2,0,0,-1,0,-2,0,0,0,0,1,-1,0,0,2,0,0,0,2,-1,0,-2,0,0,2,... |
AirDefense_MoveSprites.asm | absayuti/AirDefenseC64 | 0 | 16931 | <reponame>absayuti/AirDefenseC64<filename>AirDefense_MoveSprites.asm
*=$C000 ; ORG at 49152
; Registers where sprite (screen) position is specified
vic = 53248
sp0x = vic
sp0y = vic+1
sp1x = vic+2
sp1y = vic+3
sp2x = vic+4
sp2y = vic+5
; We use an unused block at 820-827 to ... |
Prelude/Monad.agda | bbarenblat/B | 1 | 16599 | <gh_stars>1-10
{- Copyright © 1992–2002 The University of Glasgow
Copyright © 2015 <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 req... |
mat/src/memory/mat-memory-tools.adb | stcarrez/mat | 7 | 9299 | <gh_stars>1-10
-----------------------------------------------------------------------
-- mat-memory-tools - Tools for memory maps
-- Copyright (C) 2014 <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... |
examples/version.adb | ytomino/zlib-ada | 0 | 8227 | <filename>examples/version.adb<gh_stars>0
with Ada.Text_IO;
with zlib;
procedure version is
begin
Ada.Text_IO.Put_Line (zlib.Version);
end version;
|
programs/oeis/008/A008756.asm | neoneye/loda | 22 | 160423 | ; A008756: Expansion of (1+x^13)/((1-x)*(1-x^2)*(1-x^3)).
; 1,1,2,3,4,5,7,8,10,12,14,16,19,22,25,29,33,37,42,47,52,58,64,70,77,84,91,99,107,115,124,133,142,152,162,172,183,194,205,217,229,241,254,267,280,294,308,322,337,352,367,383,399,415,432,449,466,484,502,520,539,558,577,597,617,637,658,679,700,722,744,766,789,812,... |
Cubical/Algebra/CommAlgebra/FGIdeal.agda | marcinjangrzybowski/cubical | 301 | 5314 | {-# OPTIONS --safe #-}
module Cubical.Algebra.CommAlgebra.FGIdeal where
open import Cubical.Foundations.Prelude
open import Cubical.Data.FinData
open import Cubical.Data.Nat
open import Cubical.Data.Vec
open import Cubical.Algebra.CommRing
open import Cubical.Algebra.CommRing.FGIdeal renaming (generatedIdeal to gener... |
oeis/066/A066003.asm | neoneye/loda-programs | 11 | 168381 | <gh_stars>10-100
; A066003: Sum of digits of 7^n.
; 1,7,13,10,7,22,28,25,31,28,43,49,37,52,58,64,52,58,73,79,76,82,97,85,73,97,112,91,133,121,118,115,103,127,142,157,136,115,130,136,142,148,136,169,175,163,187,175,136,178,184,217,196,220,217,214,211,181,241,211,199,205,256,208,232,247,262,268,202,244,259,265,271,277,29... |
oeis/060/A060532.asm | neoneye/loda-programs | 11 | 161973 | <filename>oeis/060/A060532.asm
; A060532: Number of ways to color vertices of a heptagon using <= n colors, allowing rotations and reflections.
; 0,1,18,198,1300,5895,20646,60028,151848,344925,719290,1399266,2569788,4496323,7548750,12229560,19206736,29351673,43782498,63913150,91508580,128746431,178285558,243341748,3277... |
ADD.asm | ELASRIYASSINE/DSP-DIGITAL-SIGNAL-PROCESSING-CODES- | 0 | 15286 | <reponame>ELASRIYASSINE/DSP-DIGITAL-SIGNAL-PROCESSING-CODES-
; ADRESSAGE DIRECT
; ADDITION ET STOCKAGE DE DONNE
.text
ldi 55,R2 ;CHARGER 55 DANS R2
sti R2,@180h ;STOCKER R2 DANS L'ADRESSE @180h
ldi 45,R2 ;CHARGER 45 DANS R2
addi @180h, R2 ;MULTIPLIER @ PAR R2 RESULTAT SUR R2
sti R2,@181h ;STOCKER R2 D... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_PAL/Fra_asm1/zel_gsub1_fra.asm | prismotizm/gigaleak | 0 | 178754 | Name: zel_gsub1_fra.asm
Type: file
Size: 3376
Last-Modified: '2016-05-13T04:20:48Z'
SHA-1: DA0413A8DF0D642D4A281E896EAEA8B8205DD6CE
Description: null
|
Applications/iTerm/tab/iterate.applescript | looking-for-a-job/applescript-examples | 1 | 1516 | <filename>Applications/iTerm/tab/iterate.applescript
tell application "iTerm"
repeat with w in every window
tell w
repeat with t in every tab of w
t
tell repeat
end tell
end repeat
end tell
|
boot/stage1/boot.asm | wodOS/wodOS | 4 | 89694 | <gh_stars>1-10
;;
; wodOS Operating System
; Copyright © 2021-2022 wodOS Operating System Developers. All rights reserved.
;
; Use of this source code is governed by a BSD-style license that can be
; found in the LICENSE file.
;
; Contributor(s):
; - <NAME> <<EMAIL>>
;;
[org 0x7c00]
[bits 16]
%include "fat... |
src/Generics/Helpers.agda | flupe/generics | 11 | 16167 | {-# OPTIONS --safe --without-K #-}
open import Generics.Prelude
open import Generics.Telescope
open import Generics.Desc
open import Agda.Builtin.Reflection
module Generics.Helpers
P I
{levelArgRel : Level → Level}
(ArgRel : ∀ {a} → Set a → Set (levelArgRel a))
{levelArgIrr : L... |
applescripts/spotify.scpt | bryantebeek/dotfiles | 0 | 4095 | if application "Spotify" is running then
tell application "Spotify"
set theName to name of the current track
set theArtist to artist of the current track
set theState to player state
try
if theState equals playing then
return "♫ " & theName & " - " & theArtist & " "
end if
on ... |
oeis/279/A279742.asm | neoneye/loda-programs | 11 | 164005 | ; A279742: Number of 2 X n 0..1 arrays with no element equal to a strict majority of its horizontal and antidiagonal neighbors, with the exception of exactly one element, and with new values introduced in order 0 sequentially upwards.
; Submitted by <NAME>
; 0,2,6,14,26,48,84,146,250,426,722,1220,2056,3458,5806,9734,16... |
WEEK-12/1.asm | ShruKin/Microprocessor-and-Microcontroller-Lab | 0 | 5779 | MOV R0, #20H;set source address 20H to R0
MOV R1, #30H;set destination address 30H to R1
MOV A, @R0;take the first operand from source to register A
INC R0; Point to the next location
MOV B, @R0; take the second operand from source to register B
DIV AB ; Divide A by B
MOV @R1, A; Store Quotient to 30H
INC R1; Increa... |
oeis/160/A160413.asm | neoneye/loda-programs | 11 | 177607 | <gh_stars>10-100
; A160413: a(n) = A160411(n+1)/4.
; Submitted by <NAME>(s3)
; 2,1,7,2,13,3,19,4,25,5,31,6,37,7,43,8,49,9,55,10,61,11,67,12,73,13,79,14,85,15,91,16,97,17,103,18,109,19,115,20,121,21,127,22,133,23,139,24,145
mov $4,3
mul $4,$0
gcd $4,2
mov $2,$4
mul $4,2
mov $5,$2
mul $5,2
mul $0,$5
mov $1,$4
sub $1,1
m... |
tools-src/gnu/gcc/gcc/ada/make.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 1845 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
ejercicios6/datos.ads | iyan22/AprendeAda | 0 | 5247 | <reponame>iyan22/AprendeAda
package Datos is
type Nodo;
type Lista is access Nodo;
type Nodo is record
Info : Integer;
Sig : Lista;
end record;
end Datos; |
src/zmq-sockets-indefinite_typed_generic.ads | persan/zeromq-Ada | 33 | 20880 | <reponame>persan/zeromq-Ada<filename>src/zmq-sockets-indefinite_typed_generic.ads
-------------------------------------------------------------------------------
-- --
-- 0MQ Ada-binding -... |
oeis/091/A091545.asm | neoneye/loda-programs | 11 | 102057 | <filename>oeis/091/A091545.asm
; A091545: First column sequence of the array (7,2)-Stirling2 A091747.
; Submitted by <NAME>
; 1,42,5544,1507968,696681216,489070213632,485157651922944,646229992361361408,1112808046846264344576,2405890997281623512973312,6380422924790865556405223424,20366309975932442856045473169408
mov $1... |
examples/SPARK2005/packages/polypaver-integers.ads | michalkonecny/polypaver | 1 | 8449 | package PolyPaver.Integers is
--# function Is_Integer(Variable : Integer) return Boolean;
--# function Is_Range(Variable : Integer; Min : Integer; Max : Integer) return Boolean;
end PolyPaver.Integers;
|
oeis/135/A135713.asm | neoneye/loda-programs | 11 | 164079 | ; A135713: a(n) = n*(n+1)*(4*n+1)/2.
; 0,5,27,78,170,315,525,812,1188,1665,2255,2970,3822,4823,5985,7320,8840,10557,12483,14630,17010,19635,22517,25668,29100,32825,36855,41202,45878,50895,56265,62000,68112,74613,81515,88830,96570,104747,113373,122460,132020,142065,152607,163658,175230,187335,199985,213192,226968,241325... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/dlt.asm | meesokim/z88dk | 0 | 168155 | <filename>libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/dlt.asm
SECTION code_fp_math48
PUBLIC dlt
EXTERN cm48_sccz80p_dlt
defc dlt = cm48_sccz80p_dlt
|
programs/oeis/158/A158229.asm | karttu/loda | 1 | 168948 | <gh_stars>1-10
; A158229: 225n + 1.
; 226,451,676,901,1126,1351,1576,1801,2026,2251,2476,2701,2926,3151,3376,3601,3826,4051,4276,4501,4726,4951,5176,5401,5626,5851,6076,6301,6526,6751,6976,7201,7426,7651,7876,8101,8326,8551,8776,9001,9226,9451,9676,9901,10126,10351,10576,10801,11026,11251,11476,11701,11926,12151,12376,... |
programs/oeis/140/A140153.asm | karttu/loda | 0 | 88175 | <gh_stars>0
; A140153: a(1)=1, a(n) = a(n-1) + n^3 if n odd, a(n) = a(n-1) + n^1 if n is even.
; 1,3,30,34,159,165,508,516,1245,1255,2586,2598,4795,4809,8184,8200,13113,13131,19990,20010,29271,29293,41460,41484,57109,57135,76818,76846,101235,101265,131056,131088,167025,167059,209934,209970,260623,260661,319980,320020,3... |
test/asset/agda-stdlib-1.0/Data/String/Properties.agda | omega12345/agda-mode | 0 | 9345 | <reponame>omega12345/agda-mode<gh_stars>0
------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties of operations on strings
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.String.Prope... |
programs/oeis/034/A034115.asm | karttu/loda | 1 | 163895 | ; A034115: Fractional part of square root of a(n) starts with 9: first term of runs.
; 35,48,63,80,99,119,142,167,194,223,253,286,321,358,397,437,480,525,572,621,671,724,779,836,895,955,1018,1083,1150,1219,1289,1362,1437,1514,1593,1673,1756,1841,1928,2017,2107,2200,2295,2392,2491,2591,2694
mov $1,24
mov $4,$0
div $0,5... |
programs/oeis/211/A211433.asm | karttu/loda | 0 | 179268 | <filename>programs/oeis/211/A211433.asm
; A211433: Number of ordered triples (w,x,y) with all terms in {-n,...,0,...,n} and w+2x+4y=0.
; 1,1,7,11,23,27,45,53,77,85,115,127,163,175,217,233,281,297,351,371,431,451,517,541,613,637,715,743,827,855,945,977,1073,1105,1207,1243,1351,1387,1501,1541,1661,1701,1827,1871,2003,204... |
game.asm | adamsmasher/bustfree | 0 | 19611 | <filename>game.asm
INCLUDE "ball.inc"
INCLUDE "game.inc"
INCLUDE "paddle.inc"
INCLUDE "powerup.inc"
WINDOW_Y EQU 136
NUM_OF_STAGES EQU 2
GET_READY EQU 0
PLAYING EQU 1
NEXT_LEVEL EQU 2
GET_READY_JINGLE_LENGTH EQU 150
NEXT_LEVEL_JINGLE_LENGTH EQU 150
SECTION "GameVars", WRAM0
GameS... |
Transynther/x86/_processed/NONE/_ht_zr_un_/i7-7700_9_0x48_notsx.log_31_1018.asm | ljhsiun2/medusa | 9 | 178227 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xcfe1, %rsi
lea addresses_WT_ht+0x10181, %rdi
inc %r9
mov $7, %rcx
rep movsl
nop
nop
nop
and %r12, %r12
lea addresses_WT_ht+0x12999, %r10
nop
nop
nop
nop
nop
dec %rcx
mov $0x61... |
src/test/resources/data/searchtests/test4-expected.asm | cpcitor/mdlz80optimizer | 36 | 243656 | ld b, c
|
src/test01/src/mytasks.ads | hannesb0/rtpl18 | 0 | 20768 | <filename>src/test01/src/mytasks.ads
-- Task 2 of RTPL WS17/18
-- Team members: <NAME>. and <NAME>.
package myTasks with SPARK_Mode is
-- Procedure for option 5
procedure opt5;
-- Procedure for option 6
procedure opt6;
-- Procedure for option 7
procedure opt7;
-- User defined task for gr... |
audio/music/newbarktown.asm | Dev727/ancientplatinum | 28 | 97609 | Music_NewBarkTown:
musicheader 3, 1, Music_NewBarkTown_Ch1
musicheader 1, 2, Music_NewBarkTown_Ch2
musicheader 1, 3, Music_NewBarkTown_Ch3
db $3
Music_NewBarkTown_Ch1:
tempo 187
volume $77
stereopanning $f
vibrato $12, $23
notetype $c, $87
note __, 4
Music_NewBarkTown_branch_eb2eb:
dutycycle $0
callchanne... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.