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 |
|---|---|---|---|---|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization2.adb | best08618/asylo | 7 | 14633 | -- { dg-do compile }
-- { dg-options "-gnata -O2 -fno-inline" }
with Ada.Unchecked_Conversion;
package body Loop_Optimization2 is
function To_Addr_Ptr is
new Ada.Unchecked_Conversion (System.Address, Addr_Ptr);
function To_Address is
new Ada.Unchecked_Conversion (Tag, System.Address);
function ... |
test/asset/agda-stdlib-1.0/Data/Vec/Properties.agda | omega12345/agda-mode | 0 | 8915 | <reponame>omega12345/agda-mode
------------------------------------------------------------------------
-- The Agda standard library
--
-- Some Vec-related properties
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Vec.Properties where
open impo... |
programs/oeis/240/A240001.asm | jmorken/loda | 1 | 105203 | <filename>programs/oeis/240/A240001.asm<gh_stars>1-10
; A240001: Number of 2 X n 0..3 arrays with no element equal to one plus the sum of elements to its left or two plus the sum of the elements above it or one plus the sum of the elements diagonally to its northwest, modulo 4.
; 5,13,25,42,65,95,133,180,237,305,385,47... |
examples/zmq-examples-multi_thread_server.adb | persan/zeromq-Ada | 33 | 9363 | <filename>examples/zmq-examples-multi_thread_server.adb
-------------------------------------------------------------------------------
-- Copyright (C) 2020-2030, <EMAIL> --
-- --
-- Permission is hereby granted, free of ... |
alloy4fun_models/trashltl/models/7/baLfa5utchAB5WMgd.als | Kaixi26/org.alloytools.alloy | 0 | 5354 | <filename>alloy4fun_models/trashltl/models/7/baLfa5utchAB5WMgd.als
open main
pred idbaLfa5utchAB5WMgd_prop8 {
always (some f : File | some f.link implies after eventually f in Trash)
}
pred __repair { idbaLfa5utchAB5WMgd_prop8 }
check __repair { idbaLfa5utchAB5WMgd_prop8 <=> prop8o } |
src/ado-sessions-entities.adb | My-Colaborations/ada-ado | 0 | 27392 | <reponame>My-Colaborations/ada-ado<gh_stars>0
-----------------------------------------------------------------------
-- ado-sessions-entities -- Find entity types
-- Copyright (C) 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not ... |
Peterson.als | nishio/learning_alloy | 1 | 498 | open util/ordering[Time]
sig Time {}
one sig Memory {
turn: Int -> Time,
flag: Int -> Int -> Time
}{
all t: Time {
one flag[0].t
one flag[1].t
no flag[Int - 0 - 1].t
}
}
one sig PC {
proc: Int -> Int -> Time,
current_pid: Int -> Time
}{
all t: Time {
one proc[0].t
one proc[1].t
no proc[Int - 0 - 1]... |
applescript/csvMessage.applescript | Grassroots-Democrats-HQ/Autotexter | 1 | 99 | <reponame>Grassroots-Democrats-HQ/Autotexter
on run
set pathCSVFile to (choose file with prompt "Select the CSV file" of type "csv")
set strCSV to read pathCSVFile
set pathTemplateFile to (choose file with prompt "Select the message template" of type "txt")
set messageTemplate to read pathTemplateFile
repeat w... |
fatorialrecursivo.asm | JoaoVitorBoer/MIPS-Assembly | 0 | 105418 | <filename>fatorialrecursivo.asm<gh_stars>0
# int fact (int n)
# {
# if (n<1) return (1);
# else return (n*fact(n-1);
# }
.text
.globl main
main:
jalr $t0, $t1
addiu $a0, $zero, 3
addiu $sp, $sp, -4
sw $ra, 0($sp)
jal fact
addu $s0, $zero, $v0
lw $ra, ... |
programs/oeis/317/A317591.asm | neoneye/loda | 22 | 165343 | <reponame>neoneye/loda<filename>programs/oeis/317/A317591.asm
; A317591: Lexicographically earliest sequence of distinct terms such that erasing the last digit of a(n+1) and adding the resulting integer to a(n) gives back a(n+1).
; 9,10,11,12,13,14,15,16,17,18,19,21,23,25,27,29,32,35,38,42,46,51,56,62,68,75,83,92,102,1... |
src/asm/Tablas.asm | vgonisanz/pipero-dakar | 3 | 171449 | <filename>src/asm/Tablas.asm<gh_stars>1-10
ORG H'4000
; Toda TABLA debe acabar con un CERO!!!!
; Todas las secuencias de colores y datos que se van a usar
;****************************************************************************************************
TablaCarretera: DW 32,221,32,32,32,32,32,32,32,32,32,32,3... |
test/siotest.asm | ceharris/sbz80 | 0 | 97126 | <reponame>ceharris/sbz80
.include ../os/sio_defs.asm
.include ../os/ports.asm
sioa_data .equ sio0_base+sio_port_a
sioa_command .equ sioa_data+sio_cfg
siob_data .equ sio0_base+sio_port_b
siob_command .equ siob_data+sio_cfg
blue .equ 1
green .eq... |
Working Disassembly/Levels/SOZ/Misc Object Data/Map - Spring Vine.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 164562 | <reponame>TeamASM-Blur/Sonic-3-Blue-Balls-Edition<gh_stars>1-10
dc.w word_40B0E-Map_SOZSpringVine
word_40B0E: dc.w 1 ; DATA XREF: ROM:00040B0Co
dc.b $F8, 5, 0, 0, $FF, $F8
|
weakening.agda | hazelgrove/hazelnut-agda | 0 | 11042 | open import Nat
open import Prelude
open import dynamics-core
open import contexts
open import lemmas-disjointness
open import exchange
-- this module contains all the proofs of different weakening structural
-- properties that we use for the hypothetical judgements
module weakening where
mutual
weaken-subst-Δ :... |
source/web/tools/a2js/properties-expressions-record_aggregate.adb | svn2github/matreshka | 24 | 17595 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
oeis/176/A176159.asm | neoneye/loda-programs | 11 | 92939 | ; A176159: A polynomial coefficient sequence:p(x,n,m)=(1 + Binomial[n, m]*x)^n
; Submitted by <NAME>(s4)
; 1,2,2,4,9,4,8,64,64,8,16,625,2401,625,16,32,7776,161051,161051,7776,32,64,117649,16777216,85766121,16777216,117649,64,128,2097152,2494357888,78364164096,78364164096,2494357888,2097152,128,256,43046721
lpb $0
ad... |
test/Test/Compile/Golden/windController/windController-output.agda | vehicle-lang/vehicle | 9 | 9304 | -- WARNING: This file was generated automatically by Vehicle
-- and should not be modified manually!
-- Metadata
-- - Agda version: 2.6.2
-- - AISEC version: 0.1.0.1
-- - Time generated: ???
{-# OPTIONS --allow-exec #-}
open import Vehicle
open import Vehicle.Data.Tensor
open import Data.Product
open import Data.I... |
src/fot/GroupTheory/PropertiesI.agda | asr/fotc | 11 | 3656 | <reponame>asr/fotc
------------------------------------------------------------------------------
-- Group theory properties
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-pol... |
src/asf-components-html-panels.adb | jquorning/ada-asf | 12 | 3139 | -----------------------------------------------------------------------
-- html.panels -- Layout panels
-- Copyright (C) 2009, 2010, 2012 <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 Lice... |
source/nodes/program-implicit_element_factories.ads | optikos/oasis | 0 | 17303 | <filename>source/nodes/program-implicit_element_factories.ads<gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with System.Storage_Pools.Subpools;
with Program.Elements.Pragmas;
with Progra... |
instructions/a.asm | zrsharp/assembly | 0 | 6548 | data segment
number dw Y
addr dw number
count dw ?
data ends
prog segment
main proc far
assume cs:prog, ds:data
_start:
push ds
xor ax, ax
push ax
mov ax, data
mov ds, ax
xor cx, cx
mov bx, addr
mov ax, [bx]
_repeat:
test ax, 0ffffh
jz _exit
jns _shift
... |
libsrc/stdio/cpc/getk.asm | jpoikela/z88dk | 640 | 100313 | <filename>libsrc/stdio/cpc/getk.asm<gh_stars>100-1000
;
; Amstrad CPC Stdio
;
; getk() Read key status
;
; <NAME> - 8/6/2001
;
;
; $Id: getk.asm $
;
SECTION code_clib
PUBLIC getk
PUBLIC _getk
INCLUDE "target/cpc/def/cpcfirm.def"
.getk
._getk
call firmware
defw ... |
alloy4fun_models/trashltl/models/9/ei3bkG4ybrC7myJ2P.als | Kaixi26/org.alloytools.alloy | 0 | 3617 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idei3bkG4ybrC7myJ2P_prop10 {
always all f: File | always f in Protected implies always f in Protected
}
pred __repair { idei3bkG4ybrC7myJ2P_prop10 }
check __repair { idei3bkG4ybrC7myJ2P_prop10 <=> prop10o } |
src/test/resources/samples/langs/AppleScript/center.applescript | JavascriptID/sourcerer-app | 8,271 | 1088 | <filename>src/test/resources/samples/langs/AppleScript/center.applescript
set windowWidth to 800
set windowHeight to 600
delay 0.1
set AppleScript's text item delimiters to "x"
set res to text returned of (display dialog "Enter the width x height:" default answer ((windowWidth & windowHeight) as text))
if res is "" ... |
llvm-gcc-4.2-2.9/gcc/ada/s-sopco4.adb | vidkidz/crossbridge | 1 | 3918 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
errorcheck.als | blockchainhelppro/Bitcoin-Escrow-Application | 0 | 1779 | <filename>errorcheck.als<gh_stars>0
; A Battle Arena error checking script
; version 1.6 (8 September 2016)
; by <NAME>
check {
; The main command for the script. To prevent abuse, this alias cannot be used as a function.
; $1 : What to check: techs, items, monsters, weapons or everything.
; $2 : Set ... |
src/main/antlr4/io/proleap/cobol/Cobol85.g4 | stawi/cobol85parser | 0 | 6582 | <filename>src/main/antlr4/io/proleap/cobol/Cobol85.g4
/*
* Copyright (C) 2017, <NAME> <<EMAIL>>
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
/*
* COBOL 85 Grammar for ANTLR4
*
* This is a COBOL 85 grammar, which is p... |
year_2/btp/lab2/Matrices.g4 | honchardev/KPI | 0 | 826 | <filename>year_2/btp/lab2/Matrices.g4<gh_stars>0
grammar Matrices;
/*
* Grammar for expression (V1 ^* V2) * A^1
* where:
* V1, V2 - vectors.
* A - matrix.
* ^* - multiplying two vectors.
* * - multiplying matrices/vectors.
* ^1 - matrix inversion.
*/
/*
* PARSER RULES
*/
root :
input EOF ... |
programs/oeis/231/A231103.asm | neoneye/loda | 22 | 176162 | ; A231103: Number of n X 3 0..3 arrays x(i,j) with each element horizontally or antidiagonally next to at least one element with value (x(i,j)+1) mod 4, no adjacent elements equal, and upper left element zero.
; 0,2,8,42,208,1042,5208,26042,130208,651042,3255208,16276042,81380208,406901042,2034505208,10172526042,508626... |
power.asm | SkyRocketToys/Recoil_Hub_Power | 9 | 22060 | ; -----------------------------------------------------------------------------
; Recoil Gun Base Station Power control chip
; (c) 2017 HotGen Ltd.
; Written for the TR4P151AF chip
; -----------------------------------------------------------------------------
; --------------------------------------------------... |
uBLL/bll_2nd_stage.asm | 42Bastian/new_bll | 4 | 176704 | <filename>uBLL/bll_2nd_stage.asm
***************
* Mini COMLynx Loader (not size optimized)
* 2nd stage
****************
include <includes/hardware.inc>
Baudrate EQU 62500
;;; ROM sets this address
screen0 equ $2000
run $100-1
Start::
dc.b size ; needed for 1st stage
ldx #12-1
.sloop
ldy SUZY_addr,x
lda... |
lib/am335x_sdk/ti/csl/src/ip/tsc/V0/csl_tsc.asm | brandonbraun653/Apollo | 2 | 3220 | ; *****************************************************************************
; * Copyright (c) Texas Instruments Inc 2008, 2009
; *
; * Use of this software is controlled by the terms and conditions found
; * in the license agreement under which this software has been supplied
; * provided
; ****************... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_23_1333.asm | ljhsiun2/medusa | 9 | 165893 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r8
push %r9
push %rcx
push %rdx
lea addresses_D_ht+0x118f, %rdx
nop
nop
nop
nop
and $17363, %r13
vmovups (%rdx), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $0, %xmm6, %r14
nop
nop
nop
nop
and $58822, %r8
lea addr... |
oeis/195/A195971.asm | neoneye/loda-programs | 11 | 91000 | <filename>oeis/195/A195971.asm
; A195971: Number of n X 1 0..4 arrays with each element x equal to the number its horizontal and vertical neighbors equal to 2,0,1,3,4 for x=0,1,2,3,4.
; Submitted by <NAME>
; 0,1,3,4,5,9,16,25,39,64,105,169,272,441,715,1156,1869,3025,4896,7921,12815,20736,33553,54289,87840,142129,229971... |
src/cstandio.ads | lkujaw/felix | 0 | 9359 | <reponame>lkujaw/felix
------------------------------------------------------------------------------
-- Copyright (c) 2021, <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 w... |
sources/md/markdown-inline_parsers-autolinks.ads | reznikmm/markdown | 0 | 27220 | <filename>sources/md/markdown-inline_parsers-autolinks.ads
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
private
package Markdown.Inline_Parsers.Autolinks is
procedure Find
(Text : Plain_Texts.Plain_Text... |
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/testbitmap.adb | Lucretia/old_nehe_ada95 | 0 | 16942 | <reponame>Lucretia/old_nehe_ada95
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public ... |
Exercises/One.agda | UoG-Agda/Agda101 | 0 | 17383 | open import Data.Nat using (ℕ; zero; suc; _+_)
open import Relation.Binary.PropositionalEquality
open ≡-Reasoning
open import Data.Nat.Properties using (+-assoc; +-comm)
module Exercises.One where
_*_ : ℕ → ℕ → ℕ
zero * y = zero
suc x * y = y + (x * y)
-- Prove that multiplication is commutative
*-idʳ : ∀ x → x * 0... |
src/main/antlr4/LexBasic.g4 | BITPlan/com.bitplan.antlr | 0 | 7525 | lexer grammar LexBasic;
/*
* Lexer rules
*//// ucschar = %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF/// / %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD/// / %x40000-4FFFD / %x50000-5FFFD / %x60000-6FFFD/// / %x70000-7FFFD / %x80000-8FFFD / %x90000-9FFFD/// ... |
libsrc/_DEVELOPMENT/sound/bit/z80/asm_bit_fx/_bitfx_18.asm | teknoplop/z88dk | 0 | 88067 |
SECTION code_clib
SECTION code_sound_bit
PUBLIC _bitfx_18
INCLUDE "clib_target_cfg.asm"
_bitfx_18:
; steam engine
ld hl,0
coff2:
push af
xor __sound_bit_toggle
and (hl)
ld b,a
pop af
xor b
INCLUDE "sound/bit/z80/output_bit_device_2.inc"
ld b,(hl)
cdly:
djnz cdly
... |
tools-src/gnu/gcc/gcc/ada/5zosinte.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 21308 | ------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
Driver/Video/VGAlike/VGA16/vga16Admin.asm | mgroeber9110/pcgeos | 3 | 16314 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GlobalPC 1998 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: VGA16 Video Driver
FILE: vga16Admin.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
VidScreenOn turn on video
VidScreenO... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c7/c74305b.ada | best08618/asylo | 7 | 5384 | -- C74305B.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.
-- Unlimit... |
programs/oeis/044/A044790.asm | jmorken/loda | 1 | 242270 | ; A044790: Numbers n such that string 7,7 occurs in the base 10 representation of n but not of n+1.
; 77,177,277,377,477,577,677,779,877,977,1077,1177,1277,1377,1477,1577,1677,1779,1877,1977,2077,2177,2277,2377,2477,2577,2677,2779,2877,2977,3077,3177,3277,3377,3477,3577,3677,3779,3877
mov $1,2
mov $4,$0
add $0,3
mod $... |
test/interaction/MetaNameSuggestion.agda | cruhland/agda | 1,989 | 12871 | -- Andreas, 2016-09-12
--
-- Underscores should also get meaningful names
-- (not just metas from omitted hidden arguments)
-- {-# OPTIONS -v tc.meta.name:100 #-}
postulate
F : (A : Set) → Set
G : {B : Set} → Set
test1 : Set
test1 = F _
-- name of this meta should be _A_0
test2 : Set
test2 = G
-- creates me... |
session_02/01-arraysum/arraysum.asm | DigiOhhh/LabArchitettura2-2017-2018 | 1 | 95211 | <reponame>DigiOhhh/LabArchitettura2-2017-2018
.data
A: .space 52
h: .space 4
.text
.globl main
main:
la $s1, h # $t0 = &h
la $s2, A # $t1 = A
lw $t0, 0($s1) # $t0 = h
lw $t1, 32($s2) # $t1 = A[8]
add $t0, $t1, $t0 # $t0 = $t1 + $t0
sw $t0, 48($s2) # A[12] = $t0 |
src/Categories/Object/Product/Limit.agda | laMudri/agda-categories | 0 | 11136 | <reponame>laMudri/agda-categories<gh_stars>0
{-# OPTIONS --without-K --safe #-}
open import Categories.Category.Core
module Categories.Object.Product.Limit {o ℓ e} (C : Category o ℓ e) where
open import Level
open import Data.Nat.Base using (ℕ)
open import Data.Fin.Base using (Fin)
open import Data.Fin.Patterns
ope... |
test_1defprom.asm | acastrauss/compiler_project | 0 | 241794 |
main:
PUSH %14
MOV %15,%14
SUBS %15,$8,%15
MOV $5,-4(%14)
MOV $5,-8(%14)
@main_body:
MOV -4(%14),%13
JMP @main_exit
@main_exit:
MOV %14,%15
POP %14
RET |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1484.asm | ljhsiun2/medusa | 9 | 25296 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rdx
push %rsi
lea addresses_A_ht+0x122e, %r10
and %r14, %r14
mov $0x6162636465666768, %rdx
movq %rdx, %xmm3
and $0xffffffffffffffc0, %r10
vmovntdq %ymm3, (%r10)
nop
nop
nop
nop
sub $25778, %r14
lea addresses_UC_ht+0x18656, %r10
add $55713,... |
programs/oeis/076/A076507.asm | neoneye/loda | 22 | 10703 | <filename>programs/oeis/076/A076507.asm
; A076507: Three people (P1, P2, P3) are in a circle and are saying Hello to each other. They start with P2 saying "Hello, Hello". Thereafter Pn says "Hello" for n times the total number of Hello's so far.
; 2,6,8,32,144,192,768,3456,4608,18432,82944,110592,442368,1990656,2654208... |
alloy4fun_models/trainstlt/models/4/Hz9mYKfP7vGCQFAGY.als | Kaixi26/org.alloytools.alloy | 0 | 2582 | <filename>alloy4fun_models/trainstlt/models/4/Hz9mYKfP7vGCQFAGY.als<gh_stars>0
open main
pred idHz9mYKfP7vGCQFAGY_prop5 {
always all t: Train | no t.pos & Exit implies t.pos' in t.pos + t.pos.prox
}
pred __repair { idHz9mYKfP7vGCQFAGY_prop5 }
check __repair { idHz9mYKfP7vGCQFAGY_prop5 <=> prop5o } |
specs/ada/common/tkmrpc-response-cfg-tkm_version-convert.ads | DrenfongWong/tkm-rpc | 0 | 24583 | with Ada.Unchecked_Conversion;
package Tkmrpc.Response.Cfg.Tkm_Version.Convert is
function To_Response is new Ada.Unchecked_Conversion (
Source => Tkm_Version.Response_Type,
Target => Response.Data_Type);
function From_Response is new Ada.Unchecked_Conversion (
Source => Response.Data_Type,
... |
src/main/fragment/mos6502-common/vwum1=pwuc1_derefidx_vbuxx_plus_vbuaa.asm | jbrandwood/kickc | 2 | 241658 | clc
adc {c1},x
sta {m1}
lda {c1}+1,x
adc #0
sta {m1}+1 |
regtests/servlet-requests-tests.adb | My-Colaborations/ada-servlet | 6 | 21172 | <reponame>My-Colaborations/ada-servlet
-----------------------------------------------------------------------
-- servlet-requests-tests - Unit tests for requests
-- Copyright (C) 2012, 2013, 2015, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- y... |
src/game.asm | hundredrabbits/Donsol | 113 | 93353 |
;;
show@game: ;
LDA #$01
STA reqdraw_game
STA reqdraw_cursor
STA view@game ; set view
JSR restart@game ; restart
RTS
;;
restart@game: ;
JSR init@deck ; deck
JSR shuffle@deck
JSR reset@player ; player
JSR... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2279.asm | ljhsiun2/medusa | 9 | 22169 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xb2cb, %rsi
lea addresses_A_ht+0x51ea, %rdi
nop
nop
cmp $20006, %rbp
mov $114, %rcx
rep movsq
nop
nop
nop
nop
cmp %rdi, %rdi
lea addresses_UC_ht+0xfa22, %... |
externals/mpir-3.0.0/mpn/x86_64w/skylake/rshift.asm | JaminChan/eos_win | 12 | 3224 | <reponame>JaminChan/eos_win<filename>externals/mpir-3.0.0/mpn/x86_64w/skylake/rshift.asm<gh_stars>10-100
; PROLOGUE(mpn_rshift)
; Version 1.0.4.
;
; Copyright 2008 <NAME>
;
; Windows Conversion Copyright 2008 <NAME>
;
; This file is part of the MPIR Library.
; The MPIR Library is free software; you can redistribu... |
programs/oeis/245/A245135.asm | karttu/loda | 0 | 167587 | ; A245135: Number of length 5 0..n arrays least squares fitting to a zero slope straight line, with a single point taken as having zero slope
; 8,39,112,275,552,1029,1728,2781,4200,6171,8688,11999,16072,21225,27392,34969,43848,54511,66800,81291,97768,116909,138432,163125,190632,221859,256368,295191,337800,385361,437248... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_2640.asm | ljhsiun2/medusa | 9 | 86344 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_2640.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x5c37, %rsi
lea addresses_UC_ht+0x1421f, %rdi
nop
nop
nop
nop
nop
and... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c83027c.ada | best08618/asylo | 7 | 24826 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c83027c.ada
-- C83027C.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
-- unlimi... |
oeis/034/A034084.asm | neoneye/loda-programs | 11 | 174062 | ; A034084: Decimal part of n-th root of a(n) starts with digit 7.
; Submitted by <NAME>
; 3,5,9,15,25,42,70,119,202,343,583,991,1684,2863,4867,8273,14064,23908,40643,69092,117457,199676,339449,577063,981007,1667712,2835110,4819686,8193466,13928892,23679116,40254498,68432646,116335497
add $0,2
mov $1,17
pow $1,$0
mov $... |
agda/Bound/Lower/Order.agda | bgbianchi/sorting | 6 | 10611 | <reponame>bgbianchi/sorting<filename>agda/Bound/Lower/Order.agda
module Bound.Lower.Order {A : Set}(_≤_ : A → A → Set) where
open import Bound.Lower A
data LeB : Bound → Bound → Set where
lebx : {b : Bound}
→ LeB bot b
lexy : {a b : A}
→ a ≤ b
→ LeB (val... |
test/Succeed/Issue2327.agda | cruhland/agda | 1,989 | 3941 |
data Unit : Set where
unit : Unit
mutual
data D : Unit → Set where
c : (x : Unit) → F x x → D x
F : Unit → Unit → Set
F unit x = D x
Works : (x : Unit) → D x → Set₁
Works .x (c x p) with x
Works .x (c x p) | _ = Set
Fails : (x : Unit) → D x → Set₁
Fails y = Fails′ y
where
Fails′ : (x : Unit) → D ... |
programs/oeis/139/A139545.asm | jmorken/loda | 1 | 9025 | <reponame>jmorken/loda<filename>programs/oeis/139/A139545.asm
; A139545: Binomial transform of [1, 0, 0, 4, 0, 0, 7, 0, 0, 10, ...].
; 1,1,1,5,17,41,88,190,421,935,2051,4445,9562,20476,43681,92837,196613,415073,873820,1835002,3844765,8039075,16777223,34952549,72701278,150994936,313174681,648719009,1342177289,2773833065... |
src/compilemon.adb | alvaromb/Compilemon | 1 | 22098 | -- COMPILEMON.adb
-- Programa per compilar el compilador
with Ada.Text_IO,
Ada.Command_Line,
Decls.D_Taula_De_Noms,
Decls.Dgenerals,
Decls.Dtdesc,
Pk_Usintactica_Tokens,
Pk_Ulexica_Io,
U_Lexica,
Pk_Usintactica,
Decls.D_Atribut,
Semantica,
Decls.Dtnode,
Semantica.Ctipus,
Semantica.Declsc3a,
... |
Exams/Specimen_Mini_Test_Alloy/Group_III-1.als | pemesteves/MFES_2021 | 0 | 782 | <filename>Exams/Specimen_Mini_Test_Alloy/Group_III-1.als
sig Tree { root: lone Node }
sig Node {
left, right : lone Node,
value: one Int,
}
fun parent[n: Node]: Node {
left.n + right.n
}
pred wellFormedTree {
// b)
all n: Node | some n.left + n.right => n.^left != n.^right
// c)
all disj ... |
middleware/src/filesystem/filesystem-fat.adb | rocher/Ada_Drivers_Library | 192 | 8046 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- --
-- ... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca_notsx.log_21829_1529.asm | ljhsiun2/medusa | 9 | 98825 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x12aaa, %rsi
lea addresses_A_ht+0xfd2a, %rdi
clflush (%rsi)
clflush (%rdi)
nop
nop
nop
cmp $58032, %r10
mov $18, %rcx
rep movsq
nop
nop
nop
cmp %rax, %rax
lea addresses_WC_ht+0x1ab0e, %... |
roots.asm | dannyvc95/asm-algorithms | 0 | 26146 | ; roots.asm
segment .text
global _roots
_roots:
enter 0,0
xor EAX,EAX
fld qword[EBP+8]
fadd ST0
fld qword[EBP+8]
fld qword[EBP+24]
fmulp ST1
fadd ST0 ... |
programs/oeis/052/A052612.asm | jmorken/loda | 1 | 86609 | ; A052612: E.g.f. x*(2+x)/(1-x^2).
; 0,2,2,12,24,240,720,10080,40320,725760,3628800,79833600,479001600,12454041600,87178291200,2615348736000,20922789888000,711374856192000,6402373705728000
mov $2,$0
mov $1,$0
cal $1,142
gcd $2,2
div $1,$2
mul $1,2
|
programs/oeis/091/A091056.asm | jmorken/loda | 1 | 102671 | ; A091056: Expansion of x^2/((1-x)*(1+2*x)*(1-6*x)).
; 0,0,1,5,33,193,1169,6993,42001,251921,1511697,9069841,54419729,326517009,1959104785,11754623249,70527750417,423166480657,2538998927633,15233993478417,91403961045265,548423765922065,3290542596231441
mov $4,$0
mov $5,$0
lpb $5
mov $0,$4
sub $5,1
sub $0,$5
mo... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/rep_clause4.adb | best08618/asylo | 7 | 17164 | -- { dg-do run }
procedure Rep_Clause4 is
type U32 is mod 2 ** 32;
type Key is record
Value : U32;
Valid : Boolean;
end record;
type Key_Buffer is record
Current, Latch : Key;
end record;
type Block is record
Keys : Key_Buffer;
Stamp : U32;
end record;
for Block use record
... |
Irvine/Examples/ch07/32 bit/Bmult.asm | alieonsido/ASM_TESTING | 0 | 8074 | <filename>Irvine/Examples/ch07/32 bit/Bmult.asm
; Binary Multiplication (BMult.asm)
; This program demonstrates binary multiplication using SHL.
; It multiplies intval by 36, using SHL instructions.
INCLUDE Irvine32.inc
.data
intval DWORD 123
.code
main PROC
mov eax,intval
mov ebx,eax
shl eax,5 ; mul... |
tests/natools-s_expressions-interpreter_tests.adb | faelys/natools | 0 | 10176 | <filename>tests/natools-s_expressions-interpreter_tests.adb
------------------------------------------------------------------------------
-- Copyright (c) 2014, <NAME> --
-- --
-- Permission to use, copy, mo... |
src/my_soft/spectrum/sped/sped54en/sped54en.asm | chipsi007/zesarux | 0 | 4873 | ; SPED - SPectrum Ensamblador Desensamblador / SuPer Ensamblador Desensamblador
; Copyright (C) 1995 <NAME>
;
; This file is part of ZEsarUX.
;
; SPED is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foun... |
test/interaction/Issue1020.agda | shlevy/agda | 1,989 | 2698 | <filename>test/interaction/Issue1020.agda
-- Andreas, 2014-01-10, reported by fredrik.forsberg
record ⊤ : Set where
record Σ (A : Set) (B : A → Set) : Set where
syntax Σ A (λ x → B) = Σ[ x ∈ A ] B
test : Set
test = {! Σ[ x ∈ ⊤ ] ?!}
-- Fredrik's report:
-- Using the darcs version of Agda from today 10 January,
-... |
programs/oeis/131/A131735.asm | karttu/loda | 1 | 15928 | ; A131735: Hexaperiodic 0, 0, 1, 1, 1, 1.
; 0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,1
mov $1,$0
div $1,2
pow $1,2
mod $1,3
|
libtool/src/gmp-6.1.2/mpn/sparc64/gcd_1.asm | kroggen/aergo | 278 | 165480 | dnl SPARC64 mpn_gcd_1.
dnl Based on the K7 gcd_1.asm, by <NAME>. Rehacked for SPARC by Torbjörn
dnl Granlund.
dnl Copyright 2000-2002, 2005, 2009, 2011-2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or m... |
Applications/Google-Chrome/properties/properties.applescript | looking-for-a-job/applescript-examples | 1 | 1190 | <reponame>looking-for-a-job/applescript-examples
#!/usr/bin.osascript
tell application "Google Chrome"
properties
end tell
|
source/amf/dd/amf-internals-tables-dg_metamodel.adb | svn2github/matreshka | 24 | 18628 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1239.asm | ljhsiun2/medusa | 9 | 14557 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x16e7f, %r11
nop
sub %r15, %r15
mov $0x6162636465666768, %rdx
movq %rdx, (%r11)
nop
nop
nop
nop
nop
cmp $21351, %rbp
lea addresses_D_ht+0x1b82f, %r14
n... |
programs/oeis/017/A017555.asm | neoneye/loda | 22 | 7176 | <filename>programs/oeis/017/A017555.asm
; A017555: (12n+2)^11.
; 2048,4049565169664,3670344486987776,238572050223552512,4882812500000000000,52036560683837093888,364375289404334925824,1903193578437064103936,8007313507497959524352,28531167061100000000000
mul $0,12
add $0,2
pow $0,11
|
models/tests/test40.als | transclosure/Amalgam | 4 | 339 | <filename>models/tests/test40.als
module tests/test // Bugpost by <EMAIL>
open util/ordering[State] as ord
------------- The State signature -----------------------
sig State {
nextState: State, // each State has one successor
linearNext : lone State,
A : Obj -> Obj,
B : Obj -> Obj
}
sig Obj {}
fact TraceConstraints {... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_f_sync.asm | Toysoft/z88dk | 0 | 242361 | <reponame>Toysoft/z88dk
; unsigned char esx_f_sync(unsigned char handle)
SECTION code_esxdos
PUBLIC esx_f_sync
EXTERN asm_esx_f_sync
defc esx_f_sync = asm_esx_f_sync
|
src/STLC/Type.agda | johnyob/agda-types | 0 | 7212 | module STLC.Type where
open import Data.Fin using (Fin)
open import Data.Fin.Substitution
open import Data.Fin.Substitution.Lemmas using (TermLemmas)
open import Data.Nat using (ℕ; _+_)
open import Relation.Binary.Construct.Closure.ReflexiveTransitive
using (Star; ε; _◅_)
open import Data.Vec using (Vec; []; _∷_... |
alloy4fun_models/trashltl/models/8/yYpBj7fogxbDSy5Mu.als | Kaixi26/org.alloytools.alloy | 0 | 4172 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idyYpBj7fogxbDSy5Mu_prop9 {
no Protected + Trash
}
pred __repair { idyYpBj7fogxbDSy5Mu_prop9 }
check __repair { idyYpBj7fogxbDSy5Mu_prop9 <=> prop9o } |
src/xpath_utils.ads | cyberpython/xpath_utils | 0 | 20253 | -- Copyright 2017 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publish, distribut... |
oeis/347/A347266.asm | neoneye/loda-programs | 11 | 89245 | ; A347266: a(n) is the number whose binary representation is the concatenation of terms in the n-th row of A237048.
; Submitted by <NAME>
; 1,1,3,2,3,5,6,4,7,9,12,10,12,9,29,16,24,22,24,17,57,36,48,40,50,36,57,65,96,92,96,64,114,72,101,161,192,144,228,136,192,178,192,129,473,288,384,320,388,304,456,258,384,353,801,520,... |
0x3e_TODO.asm | SpeedStepper/XchgRaxRax | 53 | 169475 | ;
; $Id: 0x3e_TODO.asm,v 1.1.1.1 2016/03/27 08:40:13 raptor Exp $
;
; 0x3e explanation - from xchg rax,rax by <EMAIL>
; Copyright (c) 2016 <NAME> <<EMAIL>>
;
; TODO: THIS EXPLANATION IS INCOMPLETE
;
; This snippet is roughly equivalent to the following C
; code:
;
; #include <stdio.h>
; int number_of_ones(unsigned int... |
oeis/314/A314826.asm | neoneye/loda-programs | 11 | 105253 | ; A314826: Coordination sequence Gal.6.129.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>
; 1,5,9,14,18,22,26,30,34,39,43,48,53,57,62,66,70,74,78,82,87,91,96,101,105,110,114,118,122,126,130,135,139,144,149,153,... |
Binary_search.asm | AdityaSatnalika/Microprocessor | 1 | 2955 | .model small
.stack
.data
arr db 01h,02h,03h,04h,05h,06h,07h,08h
len db 07h
key db 07h
.code
mov ax,@data
mov ds,ax
mov ch, len
mov cl,00h
l1:
cmp ch,cl
jl notfound
mov ax,0000h
add al,ch
add al,cl
sar al,1
mov si,ax
mov bh, [si]
mov bl,key
cmp bh,bl
je found
jg lesser
jl big... |
oeis/145/A145126.asm | neoneye/loda-programs | 11 | 241407 | <reponame>neoneye/loda-programs
; A145126: a(n) = 1 + (6 + (11 + (6 + n)*n)*n)*n/24.
; 1,2,6,16,36,71,127,211,331,496,716,1002,1366,1821,2381,3061,3877,4846,5986,7316,8856,10627,12651,14951,17551,20476,23752,27406,31466,35961,40921,46377,52361,58906,66046,73816,82252,91391,101271,111931,123411,135752,148996,163186,1783... |
programs/oeis/014/A014799.asm | jmorken/loda | 1 | 103208 | <reponame>jmorken/loda
; A014799: Squares of odd pentagonal pyramidal numbers.
; 1,5625,164025,1399489,6765201,23532201,66015625,159138225,342731169,676572121,1246160601,2169230625,3603000625,5752160649,8877596841,13305853201,19439330625,27767223225,38877191929,53467775361,72361538001,96518955625,127053038025,165244689... |
programs/oeis/017/A017390.asm | neoneye/loda | 22 | 98453 | <gh_stars>10-100
; A017390: a(n) = (11*n)^2.
; 0,121,484,1089,1936,3025,4356,5929,7744,9801,12100,14641,17424,20449,23716,27225,30976,34969,39204,43681,48400,53361,58564,64009,69696,75625,81796,88209,94864,101761,108900,116281,123904,131769,139876,148225,156816,165649,174724,184041,193600,203401,213444,223729,234256,24... |
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccixp_dread.asm | meesokim/z88dk | 0 | 25108 | <filename>libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccixp_dread.asm<gh_stars>0
SECTION code_fp_math48
PUBLIC cm48_sdccixp_dread1, cm48_sdccixp_dread2
EXTERN cm48_sdccixp_dload
cm48_sdccixp_dread2:
; sdcc float primitive
; Read two sdcc floats from the stack
;
; Covert from sdcc float forma... |
data/baseStats_original/aipom.asm | adhi-thirumala/EvoYellow | 16 | 169145 | <filename>data/baseStats_original/aipom.asm
AipomBaseStats::
dw DEX_AIPOM ; pokedex id
db 50 ; base hp
db 70 ; base attack
db 55 ; base defense
db 85 ; base speed
db 50 ; base special
db NORMAL ; species type 1
db NORMAL ; species type 2
db 49 ; catch rate, hold nugget
db 94 ; base exp yield
INCBIN "pic/ymon... |
c2000/C2000Ware_1_00_06_00/libraries/math/CLAmath/c28/source/CLAexp.asm | ramok/Themis_ForHPSDR | 0 | 5043 | <filename>c2000/C2000Ware_1_00_06_00/libraries/math/CLAmath/c28/source/CLAexp.asm
;;#############################################################################
;; FILE: CLAexp.asm
;;
;; DESCRIPTION: CLA Exponent function
;;
;; Group: C2000
;; Target Family: C28x+CLA
;;
;;##############################... |
Task/Sieve-of-Eratosthenes/Ada/sieve-of-eratosthenes.ada | LaudateCorpus1/RosettaCodeData | 1 | 16457 | with Ada.Text_IO, Ada.Command_Line;
procedure Eratos is
Last: Positive := Positive'Value(Ada.Command_Line.Argument(1));
Prime: array(1 .. Last) of Boolean := (1 => False, others => True);
Base: Positive := 2;
Cnt: Positive;
begin
loop
exit when Base * Base > Last;
if Prime(Base) then
... |
Coalg/M.agda | DDOtten/M-types | 0 | 5097 | <reponame>DDOtten/M-types<gh_stars>0
{-# OPTIONS --without-K #-}
open import M-types.Base
module M-types.Coalg.M {ℓ : Level} (A : Ty ℓ) (B : A → Ty ℓ) where
open import M-types.Coalg.Core A B
open import M-types.Coalg.Bisim A B
IsFinM : ∏[ M ∈ Coalg ] ∏[ coiter ∈ (∏[ X ∈ Coalg ] CoalgMor X M) ]
... |
programs/oeis/187/A187263.asm | jmorken/loda | 1 | 27314 | <reponame>jmorken/loda<filename>programs/oeis/187/A187263.asm
; A187263: Number of nonempty subsets of {1, 2, ..., n} with <=2 pairwise coprime elements.
; 1,3,6,9,14,17,24,29,36,41,52,57,70,77,86,95,112,119,138,147,160,171,194,203,224,237,256,269,298,307,338,355,376,393,418,431,468,487,512,529,570,583,626,647,672,695,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.