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 |
|---|---|---|---|---|
source/vampire-villages-teaming.ads | ytomino/vampire | 1 | 16557 | -- The Village of Vampire by YT, このソースコードはNYSLです
with Ada.Numerics.MT19937;
package Vampire.Villages.Teaming is
type Role_Set is array (Person_Role) of Natural;
type Role_Set_Array is array (Positive range <>) of Role_Set;
function Possibilities (
People_Count : Ada.Containers.Count_Type;
Male_And_Female : B... |
archive/agda-1/Delay.agda | m0davis/oscar | 0 | 9086 |
module Delay where
open import OscarPrelude
mutual
data Delay (i : Size) (A : Set) : Set where
now : A → Delay i A
later : ∞Delay i A → Delay i A
record ∞Delay (i : Size) (A : Set) : Set where
coinductive
field
force : {j : Size< i} → Delay j A
open ∞Delay public
privat... |
alloy4fun_models/trashltl/models/11/tfD2mKyQHExaPAXvN.als | Kaixi26/org.alloytools.alloy | 0 | 5138 | open main
pred idtfD2mKyQHExaPAXvN_prop12 {
eventually all f:File | eventually f in Trash implies f in Trash
}
pred __repair { idtfD2mKyQHExaPAXvN_prop12 }
check __repair { idtfD2mKyQHExaPAXvN_prop12 <=> prop12o } |
Ada/src/Problem_46.adb | Tim-Tom/project-euler | 0 | 23055 | <gh_stars>0
with Ada.Text_IO;
with Ada.Containers.Vectors;
with Ada.Numerics.Long_Elementary_Functions;
with PrimeInstances;
package body Problem_46 is
package IO renames Ada.Text_IO;
package Math renames Ada.Numerics.Long_Elementary_Functions;
package Positive_Primes renames PrimeInstances.Positive_Primes;
... |
Practicas/practica_08/ejercicio_2.asm | PyCoderMx/Arquitectura-de-Computadoras | 0 | 91054 | <filename>Practicas/practica_08/ejercicio_2.asm<gh_stars>0
# =============================================
# Autor: <NAME>
# Email: <EMAIL>
# Fecha: 03/11/2019
# =============================================
# Universidad Nacional Autonoma de Mexico
# Organizacion y Arquitectura de Computadoras
#
# Practica 08:
# Conv... |
WRK-V1.2/PUBLIC/INTERNAL/SDKTOOLS/masm/asmmsg.asm | intj-t/openvmsft | 0 | 101229 | <filename>WRK-V1.2/PUBLIC/INTERNAL/SDKTOOLS/masm/asmmsg.asm<gh_stars>0
;This was originally created from asmmsg.txt by mkmsg
;Only used by the OS2 1.2 version of MASM 5.NT
HDR segment byte public 'MSG'
HDR ends
MSG segment byte public 'MSG'
MSG ends
PAD segment byte public 'MSG'
PAD ends
EPAD segment byte common 'MSG'... |
specs/ada/common/tkmrpc-operations-ees.ads | DrenfongWong/tkm-rpc | 0 | 28056 |
package Tkmrpc.Operations.Ees is
Esa_Acquire : constant Operations.Operation_Type := 16#0100#;
Esa_Expire : constant Operations.Operation_Type := 16#0101#;
end Tkmrpc.Operations.Ees;
|
aunit/aunit.ads | btmalone/alog | 0 | 9273 | <reponame>btmalone/alog
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
src/core/asm/arm/thumb/inst_0xd0.asm | Hiroshi123/bin_tools | 0 | 247648 | <reponame>Hiroshi123/bin_tools
;;; 1101|1111
__0xdf_service_call:
ret
|
programs/oeis/243/A243501.asm | jmorken/loda | 1 | 171867 | <reponame>jmorken/loda<gh_stars>1-10
; A243501: Permutation of even numbers: a(n) = 2*A048673(n).
; 2,4,6,10,8,16,12,28,26,22,14,46,18,34,36,82,20,76,24,64,56,40,30,136,50,52,126,100,32,106,38,244,66,58,78,226,42,70,86,190,44,166,48,118,176,88,54,406,122,148,96,154,60,376,92,298,116,94,62,316,68,112,276,730,120,196,72,... |
3_StoringDataToMemory.asm | furkanisitan/ExampleProgramsFor8085Microprocessor | 0 | 98881 | MVI A, 00FFH ; 00FFH verisini A ya yükle
MVI B, 10 ; 10 verisini B ye yükle
LXI H, 0200H ; 0200H verisini HL ye yükle
NXT: MOV M, A ; M(HL) ye A yı yükle
INX H ; HL yi 1 arttır
DCR B ; B yi 1 azalt
JNZ NXT ; 0 değilse NXT ye atla
HLT ; Sonlandır
; 0200H dan başlayarak ileri doğru 10 bellek boyunca
; tüm bellekler... |
arch/ARM/STM32/driver_demos/demo_dma_mem_to_peripheral/src/demo_usart_dma_continuous.adb | rocher/Ada_Drivers_Library | 192 | 19687 | <reponame>rocher/Ada_Drivers_Library<gh_stars>100-1000
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- ... |
programs/oeis/178/A178445.asm | neoneye/loda | 22 | 105279 | <filename>programs/oeis/178/A178445.asm
; A178445: Prime(n)^2 mod n^2.
; 0,1,7,1,21,25,44,41,43,41,114,73,160,85,184,249,13,157,157,241,37,433,12,433,34,61,403,473,107,169,753,777,256,825,151,769,7,577,511,1129,102,1009,1350,465,334,1513,341,1345,1108,2441
mov $2,$0
mul $0,2
mov $4,2
lpb $4
seq $0,173919 ; Numbers t... |
maps/Route31.asm | pokeachromicdevs/pokeoctober | 1 | 246876 | object_const_def ; object_event constants
const ROUTE31_FISHER
const ROUTE31_YOUNGSTER
const ROUTE31_SUPER_NERD
const ROUTE31_COOLTRAINER_M
const ROUTE31_FRUIT_TREE
const ROUTE31_POKE_BALL1
const ROUTE31_POKE_BALL2
Route31_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .Chec... |
verify/alfy/2_simple/symbol.alfy.asm | alexandruradovici/alf-alfy-asm-public | 0 | 101679 |
; script
start:
; attribution
; value symbol s
set r2 's'
; c: r3
set r3 0
store r3 r2
; attribution
; expression +
; c: r3
set r3 0
load r3 r3
; value int 6
set r4 6
; typecast int symbo... |
programs/oeis/016/A016248.asm | neoneye/loda | 22 | 19390 | <gh_stars>10-100
; A016248: Expansion of 1/((1-x)(1-6x)(1-12x)).
; 1,19,271,3511,43687,533575,6458887,77842567,936126343,11245609351,135019871623,1620673815943,19450697930119,233424047994247,2801182612927879,33614755577116039,403380452257281415
lpb $0
mov $2,$0
sub $0,1
seq $2,16175 ; Expansion of 1/((1-6x)(1-12... |
oeis/063/A063930.asm | neoneye/loda-programs | 11 | 104977 | ; A063930: Radius of B-excircle of Pythagorean triangle with a=(n+1)^2-m^2, b=2*(n+1)*m and c=(n+1)^2+m^2.
; Submitted by <NAME>
; 3,4,10,5,12,21,6,14,24,36,7,16,27,40,55,8,18,30,44,60,78,9,20,33,48,65,84,105,10,22,36,52,70,90,112,136,11,24,39,56,75,96,119,144,171,12,26,42,60,80,102,126,152,180,210,13,28,45,64,85,108,1... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_743.asm | ljhsiun2/medusa | 9 | 246346 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rdi
// Store
lea addresses_UC+0x1e6f4, %r12
clflush (%r12)
nop
nop
nop
nop
and $53816, %rcx
movw $0x5152, (%r12)
nop
nop
nop
nop
cmp $43040, %r10
// Faulty Load
l... |
oeis/216/A216754.asm | neoneye/loda-programs | 11 | 10082 | ; A216754: Digital root of fourth power of Fibonacci numbers.
; Submitted by <NAME>(s2)
; 0,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7
seq $0,45 ; Fibonacci numbers... |
compiler/ti-cgt-arm_18.12.4.LTS/lib/src/fs_add16.asm | JosiahCraw/TI-Arm-Docker | 0 | 165213 | ;******************************************************************************
;* FS_ADD16.ASM - 16 BIT STATE - *
;* *
;* Copyright (c) 1996 Texas Instruments Incorporated *
... |
programs/oeis/135/A135497.asm | neoneye/loda | 22 | 82427 | ; A135497: a(n) = n^5 - n^2.
; 0,0,28,234,1008,3100,7740,16758,32704,58968,99900,160930,248688,371124,537628,759150,1048320,1419568,1889244,2475738,3199600,4083660,5153148,6435814,7962048,9765000,11880700,14348178,17209584,20510308,24299100,28628190,33553408,39134304,45434268,52520650,60464880,69342588,79233724,9022267... |
source/nodes/program-nodes-operator_symbols.adb | reznikmm/gela | 0 | 8151 | <reponame>reznikmm/gela
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Operator_Symbols is
function Create
(Operator_Symbol_Token : not null Program.Lexical_Elements
.Lexical... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1.asm | ljhsiun2/medusa | 9 | 11896 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x16390, %rsi
lea addresses_WC_ht+0x16196, %rdi
clflush (%rdi)
nop
nop
nop
nop
sub %r14, %r14
mov $33, %rcx
rep movsw
nop
nop
sub %r9, %r9
lea addresse... |
release/src/router/gmp/mpn/x86/k7/gcd_1.asm | ghsecuritylab/Toastman-Tinc | 5 | 244444 | <filename>release/src/router/gmp/mpn/x86/k7/gcd_1.asm<gh_stars>1-10
dnl x86 mpn_gcd_1 optimised for AMD K7.
dnl Contributed to the GNU project by by <NAME>. Rehacked by Torbjorn
dnl Granlund.
dnl Copyright 2000-2002, 2005, 2009, 2011, 2012 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Libr... |
lib/aflexnat/ecs.ads | alvaromb/Compilemon | 1 | 16206 | <reponame>alvaromb/Compilemon<filename>lib/aflexnat/ecs.ads<gh_stars>1-10
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- This software was developed by <NAME> of the Arcadia project
-- at the University of California, Irvine.
--
-- Redistribution and use in source and binar... |
awa/plugins/awa-images/src/awa-images-modules.adb | My-Colaborations/ada-awa | 81 | 7427 | <reponame>My-Colaborations/ada-awa
-----------------------------------------------------------------------
-- awa-images-modules -- Image management module
-- Copyright (C) 2012, 2016, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not us... |
BootloaderCorePkg/Stage1A/Ia32/Vtf0/PageTables.asm | kokweich/slimbootloader | 1 | 169836 | <reponame>kokweich/slimbootloader
;------------------------------------------------------------------------------
; @file
; Build paging tables dynamically for x64 mode
;
; Copyright (c) 2020 Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;----------------------------------... |
source/amf/uml/amf-uml-send_signal_actions.ads | svn2github/matreshka | 24 | 15145 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
samples/city_mapping.ads | Letractively/ada-util | 60 | 11979 | -----------------------------------------------------------------------
-- city_mapping -- Example of serialization mapping for city CSV records
-- Copyright (C) 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in c... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c46031a.ada | best08618/asylo | 7 | 25151 | -- C46031A.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... |
agda/TreeSort/Everything.agda | bgbianchi/sorting | 6 | 10195 | open import Relation.Binary.Core
module TreeSort.Everything {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_)
(trans≤ : Transitive _≤_) where
open import TreeSort.Impl1.Correctness.Order _≤_ tot≤ trans≤
open import TreeSort.Impl1.Correctness.Permutation _≤_ tot≤
o... |
tools-src/gnu/gcc/gcc/ada/sem_ch13.ads | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 20926 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
PInj.agda | kztk-m/sparcl-agda | 0 | 788 | <filename>PInj.agda
{-# OPTIONS --without-K #-}
module PInj where
open import Codata.Delay renaming (length to dlength ; map to dmap )
open import Codata.Thunk
open import Relation.Binary.PropositionalEquality
open import Size
open import Level
open import Data.Product
-- A pair of partial functions that are suppo... |
ethereumj-core/src/main/antlr4/org/ethereum/serpent/Serpent.g4 | biafra23/ethereumj | 0 | 6741 | // @author <NAME>
// @since 22.03.2014
grammar Serpent;
tokens {
INDENT, DEDENT }
@lexer::header {
import com.yuvalshavit.antlr4.DenterHelper;
}
@lexer::members {
private final DenterHelper denter = new DenterHelper(NL, SerpentParser.INDENT, SerpentParser.DEDENT) {
@Override
public Token pullToken() {
... |
programs/oeis/336/A336288.asm | karttu/loda | 1 | 7978 | <reponame>karttu/loda<filename>programs/oeis/336/A336288.asm
; A336288: Numbers of squares formed by this procedure on n-th step: Step 1, draw a unit square. Step n, draw a unit square with center in every intersection of lines of the figure in step n-1.
; 1,10,43,116,245,446,735,1128,1641,2290,3091,4060,5213,6566,8135... |
programs/oeis/188/A188473.asm | neoneye/loda | 22 | 242155 | <reponame>neoneye/loda<gh_stars>10-100
; A188473: Positions of 1 in A188472.
; 3,8,11,16,19,21,24,29,32,37,40,42,45,50,53,55,58,63,66,71,74,76,79,84,87,92,95,97,100,105,108,110,113,118,121,126,129,131,134,139,142,144,147,152,155,160,163,165,168,173,176,181,184,186,189,194,197,199,202,207,210,215,218,220,223,228,231,236... |
tools-src/gnu/gcc/gcc/ada/5gtasinf.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 24445 | <filename>tools-src/gnu/gcc/gcc/ada/5gtasinf.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
test/Succeed/CovariantConstructors.agda | shlevy/agda | 3 | 3089 | -- Andreas, 2015-06-29 constructors should be covariant.
-- They are already treated as strictly positive in the positivity checker.
-- {-# OPTIONS -v tc.polarity:20 -v tc.proj.like:10 #-}
-- {-# OPTIONS -v tc.conv.elim:25 -v tc.conv.atom:30 -v tc.conv.term:30 --show-implicit #-}
open import Common.Size
open import C... |
oeis/097/A097138.asm | neoneye/loda-programs | 11 | 4584 | <reponame>neoneye/loda-programs<filename>oeis/097/A097138.asm
; A097138: Convolution of 4^n and floor(n/2).
; Submitted by <NAME>
; 0,0,1,5,22,90,363,1455,5824,23300,93205,372825,1491306,5965230,23860927,95443715,381774868,1527099480,6108397929,24433591725,97734366910,390937467650,1563749870611,6254999482455,2501999792... |
electrum/src/main/resources/models/book/chapter6/memory/fixedSizeMemory_H.als | haslab/Electrum | 29 | 25 | <filename>electrum/src/main/resources/models/book/chapter6/memory/fixedSizeMemory_H.als
module chapter6/memory/fixedSizeMemory_H [Addr, Data]
open chapter6/memory/fixedSizeMemory [Addr, Data] as memory
sig Memory_H extends memory/Memory {
unwritten: set Addr
}
pred init [m: Memory_H] {
memory/init [m]
m.unwritte... |
Terminal/Shell.applescript | rogues-gallery/applescript | 360 | 3172 | -- my alternative to "Finder to Shell" scripts, just for fun.
-- select something in Finder and run the script, a new terminal window opens in the current Finder directory
-- add to the Finder toolbar for easiest use
tell application "Finder"
set go2shell to selection as text
set go2shell to quoted form of POSIX pa... |
test/succeed/Copatterns.agda | np/agda-git-experiment | 1 | 5035 | {-# OPTIONS --copatterns #-}
module Copatterns where
open import Common.Equality
record _×_ (A B : Set) : Set where
constructor _,_
field
fst : A
snd : B
open _×_
pair : {A B : Set} → A → B → A × B
fst (pair a b) = a
snd (pair a b) = b
swap : {A B : Set} → A × B → B × A
fst (swap p) = snd p
snd (swap p)... |
win32/VC10/Win32/libxml2_Release/xpointer.asm | txwizard/libxml2_x64_and_ARM | 0 | 242785 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1
TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\xpointer.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM _xmlMalloc:DWORD
COM... |
SVD2ada/svd/stm32_svd-syscfg.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 20232 | <filename>SVD2ada/svd/stm32_svd-syscfg.ads<gh_stars>0
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32G474xx.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.SYSCFG is
pragma Preelaborate;
---------------
-- Registers --
-------... |
Task/Evaluate-binomial-coefficients/AppleScript/evaluate-binomial-coefficients-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 1121 | <reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Evaluate-binomial-coefficients/AppleScript/evaluate-binomial-coefficients-1.applescript<gh_stars>1-10
set n to 5
set k to 3
on calculateFactorial(val)
set partial_factorial to 1 as integer
repeat with i from 1 to val
set factorial to i * partial_factorial
se... |
python_src/other/export/screen_4_1.asm | fjpena/sword-of-ianna-msx2 | 43 | 20330 | org $0000
; Object types
OBJECT_NONE EQU 0
OBJECT_SWITCH EQU 1
OBJECT_DOOR EQU 2
OBJECT_DOOR_DESTROY EQU 3
OBJECT_FLOOR_DESTROY EQU 4
OBJECT_WALL_DESTROY EQU 5
OBJECT_BOX_LEFT EQU 6
OBJECT_BOX_RIGHT EQU 7
OBJECT_JAR EQU 8
OBJECT_TELEPORTER EQU 9
; Pickable object types
OBJECT_KEY_GREEN EQU 11
OBJECT_KEY_BLUE EQU... |
source/nodes/program-nodes-real_range_specifications.adb | reznikmm/gela | 0 | 20423 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Real_Range_Specifications is
function Create
(Range_Token : not null Program.Lexical_Elements
.Lexical_Element_Access;
... |
oeis/092/A092526.asm | neoneye/loda-programs | 11 | 84492 | ; A092526: Decimal expansion of (2/3)*cos( (1/3)*arccos(29/2) ) + 1/3, the real root of x^3 - x^2 - 1.
; Submitted by <NAME>
; 1,4,6,5,5,7,1,2,3,1,8,7,6,7,6,8,0,2,6,6,5,6,7,3,1,2,2,5,2,1,9,9,3,9,1,0,8,0,2,5,5,7,7,5,6,8,4,7,2,2,8,5,7,0,1,6,4,3,1,8,3,1,1,1,2,4,9,2,6,2,9,9,6,6,8,5,0,1,7,8,4,0,4,7,8,1,2,5,8,0,1,1,9,4,9,0,9... |
programs/oeis/049/A049691.asm | neoneye/loda | 22 | 10208 | <gh_stars>10-100
; A049691: a(n)=T(n,n), array T as in A049687. Also a(n)=T(2n,2n), array T given by A049639.
; 0,3,5,9,13,21,25,37,45,57,65,85,93,117,129,145,161,193,205,241,257,281,301,345,361,401,425,461,485,541,557,617,649,689,721,769,793,865,901,949,981,1061,1085,1169,1209,1257,1301,1393,1425,1509,1549,1613,1661,1... |
src/test/resources/testData/parse/handlers/direct_parameters.scpt | stigger/AppleScript-IDEA | 18 | 4345 | <reponame>stigger/AppleScript-IDEA<filename>src/test/resources/testData/parse/handlers/direct_parameters.scpt
on run argv
return "hello, " & item 1 of argv & "."
end run
on run {input, parameters}
set upperCaseString to ""
repeat with i in input
if (ASCII number i) > 96 and (ASCII number i) < 123 then
... |
deps/gmp.js/mpn/x86_64/divrem_2.asm | 6un9-h0-Dan/cobaul | 184 | 8168 | <gh_stars>100-1000
dnl x86-64 mpn_divrem_2 -- Divide an mpn number by a normalized 2-limb number.
dnl Copyright 2007, 2008, 2010 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of th... |
Source/Shared/ntuser/StubNtUserOpenWindowStation.asm | supermanc88/WinObjEx64 | 1 | 101950 | ;*******************************************************************************
;
; (C) COPYRIGHT AUTHORS, 2018
;
; TITLE: StubNtUserOpenWindowStation.asm
;
; VERSION: 1.00
;
; DATE: 30 Nov 2018
;
; win32u NtUserOpenWindowStation implementation.
;
; THIS CODE AND INFORMATION IS PROVIDED "AS IS" W... |
alloy4fun_models/trashltl/models/11/MqGoFEhDEbRDvQmf9.als | Kaixi26/org.alloytools.alloy | 0 | 206 | open main
pred idMqGoFEhDEbRDvQmf9_prop12 {
all f : File | eventually f in Trash => eventually f not in Trash
}
pred __repair { idMqGoFEhDEbRDvQmf9_prop12 }
check __repair { idMqGoFEhDEbRDvQmf9_prop12 <=> prop12o } |
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_char_64_tty_z88dk/zx_01_output_char_64_tty_z88dk_oterm_msg_tty.asm | jpoikela/z88dk | 640 | 243030 | <reponame>jpoikela/z88dk
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC zx_01_output_char_64_tty_z88dk_oterm_msg_tty
EXTERN l_offset_ix_de, zx_tty_z88dk_state_table
EXTERN asm_tty_execute_action, l_jphl
zx_01_output_char_64_tty_z88dk_oterm_msg_tty:
; implement tty emulation
;
; enter ... |
src/tutorialspoint.com/src/example10.asm | ishirshov/NASM-tutorial-for-Unix | 0 | 245941 | %include "defines.inc"
section .bss
result resb 1
section .text
global _start
_start:
mov al, 5
mov bl, 3
or al, bl
add al, byte '0'
mov [result], al
mov ecx, result
mov edx, 1
print_stdout:
mov eax, SYS_WRITE
mov ebx, STDOUT
int 80h
sys_exit
|
8086/1arith/sub.asm | iamvk1437k/mpmc | 1 | 4820 | <reponame>iamvk1437k/mpmc
MOV AL,09H ; Load immediate data 09H to register AL
MOV BL,06H ; Load immediate data to register BL
SUB AL, BL ; AL=AL-BL |
src/Fragment/Setoid/Morphism.agda | yallop/agda-fragment | 18 | 6626 | <filename>src/Fragment/Setoid/Morphism.agda
{-# OPTIONS --without-K --exact-split --safe #-}
module Fragment.Setoid.Morphism where
open import Fragment.Setoid.Morphism.Base public
open import Fragment.Setoid.Morphism.Setoid public
open import Fragment.Setoid.Morphism.Properties public
|
ADL/devices/stm32-rcc.adb | JCGobbi/Nucleo-STM32H743ZI | 0 | 8186 | <filename>ADL/devices/stm32-rcc.adb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_491.asm | ljhsiun2/medusa | 9 | 243016 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x14b2, %r11
nop
add %rdi, %rdi
movb $0x61, (%r11)
nop
add $49043, %rdx
lea addresses_WC_ht+0x1181e, %rsi
lea addresses_WT_ht+0x138be, %rdi
clflush (%rsi)
nop
cmp $31706, %... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-wichun.ads | orb-zhuchen/Orb | 0 | 8463 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
src/cpnd1/nodcap/NF/Typing.agda | wenkokke/nodcap | 4 | 8166 | module nodcap.NF.Typing where
open import Data.Nat as ℕ using (ℕ; suc; zero)
open import Data.Pos as ℕ⁺ using (ℕ⁺; suc; _+_)
open import Data.Environment
open import Data.List as L using (List; []; _∷_; _++_)
open import Data.List.Any as LA using (Any; here; there)
open import Data.Sum using (_⊎_; inj₁; inj₂)
open imp... |
programs/oeis/014/A014137.asm | jmorken/loda | 1 | 82220 | ; A014137: Partial sums of Catalan numbers (A000108).
; 1,2,4,9,23,65,197,626,2056,6918,23714,82500,290512,1033412,3707852,13402697,48760367,178405157,656043857,2423307047,8987427467,33453694487,124936258127,467995871777,1757900019101,6619846420553,24987199492705,94520750408709,358268702159069,1360510918810437,51754974... |
test/foreign/test_foreign.ads | skill-lang/skillAdaTestSuite | 1 | 8385 | package Test_Foreign is
end Test_Foreign;
|
alloy4fun_models/trashltl/models/4/PKDx3ebpLN49TsfDH.als | Kaixi26/org.alloytools.alloy | 0 | 1697 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idPKDx3ebpLN49TsfDH_prop5 {
some f : File | eventually f not in File'
}
pred __repair { idPKDx3ebpLN49TsfDH_prop5 }
check __repair { idPKDx3ebpLN49TsfDH_prop5 <=> prop5o } |
scripts/GameCornerPrizeRoom.asm | AmateurPanda92/pokemon-rby-dx | 9 | 174795 | <reponame>AmateurPanda92/pokemon-rby-dx<gh_stars>1-10
GameCornerPrizeRoom_Script:
jp EnableAutoTextBoxDrawing
GameCornerPrizeRoom_TextPointers:
dw CeladonPrizeRoomText1
dw CeladonPrizeRoomText2
dw CeladonPrizeRoomText3
dw CeladonPrizeRoomText3
dw CeladonPrizeRoomText3
CeladonPrizeRoomText1:
TX_FAR _CeladonPriz... |
dev/smartdrv/cacheman.asm | minblock/msdos | 0 | 85401 | <filename>dev/smartdrv/cacheman.asm
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
include bambi.inc
public buffer_to_cache
public cache_to_buffer
public reinitialize_cache
;
; data from rdata.as... |
source/uaflex/lib/uaflex-scanners.adb | svn2github/matreshka | 24 | 9323 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1504.asm | ljhsiun2/medusa | 9 | 179649 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x3a9a, %r9
nop
nop
nop
nop
xor %r13, %r13
vmovups (%r9), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $0, %xmm7, %rbp
nop
nop
add $3... |
SPARK/test_padding.adb | RomainGehrig/lets-prove-leftpad | 443 | 13672 | with Ada.Text_IO;
with Padding;
procedure Test_Padding is
begin
Ada.Text_IO.Put_Line(Padding.Left_Pad ("Alice", ' ', 8));
Ada.Text_IO.Put_Line(Padding.Left_Pad ("Bob", ' ', 8));
Ada.Text_IO.Put_Line(Padding.Left_Pad ("Carol", ' ', 8));
end Test_Padding;
|
libsrc/gfx/wide/w_stencil_add_liner.asm | ahjelm/z88dk | 640 | 171483 | ;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Trace a relative line in the stencil vectors
;
; <NAME> - 08/10/2009
;
;
; $Id: w_stencil_add_liner.asm,v 1.3 2016-04-23 20:37:40 dom Exp $
;
;; void stencil_add_liner(int dx, int dy, unsigned char *... |
Microprocessor/mouse.asm | Nmane1612/Nihar-Mane | 3 | 26897 | ; mouse test
name "mouse"
org 100h
print macro x, y, attrib, sdat
LOCAL s_dcl, skip_dcl, s_dcl_end
pusha
mov dx, cs
mov es, dx
mov ah, 13h
mov al, 1
mov bh, 0
mov bl, attrib
mov cx, offset s_dcl_end - offset s_dcl
mov dl, x
mov dh, y
mov bp, offset s_dc... |
test/Fail/UselessPrivatePragma.agda | cruhland/agda | 1,989 | 7188 | {-# OPTIONS --warning=error #-}
module UselessPrivatePragma where
postulate Char : Set
private
{-# BUILTIN CHAR Char #-}
|
book-01/Assembly/asm/core/array/core_array_compare.asm | gfurtadoalmeida/study-assembly-x64 | 2 | 11655 | .code
; int Core_Array_Compare_(int* a, int* b, int arraysLength, int* matchedValue)
Core_Array_Compare_ proc frame
; Prolog
push rsi
.pushreg rsi
push rdi
.pushreg rdi
.endprolog
mov rax, -1 ; Return code = error
test r8, r8
jle @F
mov rsi, rcx ; rsi = *a[0]
mov rdi, rdx ; rdi = *b[0]
mov rcx, r8 ; Counter = arr... |
alloy4fun_models/trashltl/models/7/5iFdhhFELT5o9gndY.als | Kaixi26/org.alloytools.alloy | 0 | 1269 | open main
pred id5iFdhhFELT5o9gndY_prop8 {
always (some File.link implies eventually File.link in Trash)
}
pred __repair { id5iFdhhFELT5o9gndY_prop8 }
check __repair { id5iFdhhFELT5o9gndY_prop8 <=> prop8o } |
3-mid/physics/interface/source/physics-space.adb | charlie5/lace | 20 | 14193 | <filename>3-mid/physics/interface/source/physics-space.adb
with
ada.unchecked_Deallocation;
package body physics.Space
is
procedure free (Self : in out View)
is
procedure deallocate is new ada.unchecked_Deallocation (Item'Class, View);
begin
Self.destruct;
deallocate (Self);
end fre... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2823.asm | ljhsiun2/medusa | 9 | 171056 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1e0f, %r14
clflush (%r14)
nop
nop
nop
nop
nop
dec %rdi
mov $0x6162636465666768, %r9
movq %r9, (%r14)
nop
nop
cmp %r11, %r11
lea addresses_normal_ht+0x17057, %rdx
nop
nop
nop
... |
src/vga.asm | AmFobes/MineAssemble | 479 | 81415 | <gh_stars>100-1000
;
; This file contains the VGA mode 0x13 setup and color palette
;
[bits 32]
global init_vga
global palette
section .text
; void init_vga()
; Initialize VGA mode (0x13)
init_vga:
pushad
; Set mode
mov esi, mode0x13
call set_regs
; Set up pale... |
data/baseStats_original/forretress.asm | adhi-thirumala/EvoYellow | 16 | 15059 | <gh_stars>10-100
ForretressBaseStats::
dw DEX_FORRETRESS ; pokedex id
db 75 ; base hp
db 90 ; base attack
db 140 ; base defense
db 40 ; base speed
db 60 ; base special
db BUG ; species type 1
db STEEL ; species type 2
db 60 ; catch rate
db 118 ; base exp yield
INCBIN "pic/ymon/forretress.pic",0,1 ; 55, spr... |
oeis/040/A040381.asm | neoneye/loda-programs | 11 | 245073 | ; A040381: Continued fraction for sqrt(402).
; Submitted by <NAME>
; 20,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40,20,40
trn $0,1
mod $0,2
mul $0,20
add $0,20
|
src/Tactic/By/Parametrised/Tests.agda | nad/equality | 3 | 2947 | <reponame>nad/equality
------------------------------------------------------------------------
-- Unit tests for Tactic.By.Parametrised
------------------------------------------------------------------------
-- Nothing is exported from this module.
{-# OPTIONS --without-K --safe #-}
open import Equality
module Ta... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_778.asm | ljhsiun2/medusa | 9 | 89127 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x754b, %rax
nop
cmp %r15, %r15
vmovups (%rax), %ymm7
vextracti128 $0, %ymm7, %xmm7
vpextrq $1, %xmm7, %rbp
nop
nop
nop
nop
and %rdx, %rdx
lea ad... |
hello.asm | simmons/valence64 | 1 | 101258 | <filename>hello.asm
;set up some helpful labels
CLEAR = $E544
CHROUT = $FFD2
.segment "BASICSTUB"
.byte $00
.byte $C0
.code
main:
jsr CLEAR
ldx #0
loop:
lda greeting,x
cmp #0
beq finish
jsr CHROUT
inx
jmp loop
finish:
rts
.data
greeting:
.byte "HELLO, WORLD!"
.byte $00
|
lib/Runtime/Language/arm64/arm64_CallEhFrame.asm | rekhadpr/demoazure1 | 1 | 245456 | <reponame>rekhadpr/demoazure1
;-------------------------------------------------------------------------------------------------------
; Copyright (C) Microsoft. All rights reserved.
; Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
;-------------------------------... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_9845_89.asm | ljhsiun2/medusa | 9 | 1928 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1d201, %rsi
lea addresses_UC_ht+0x13401, %rdi
nop
sub $36619, %r14
mov $116, %rcx
rep movsl
xor $5959, %r12
lea addresses_UC_ht+0x9191, %rsi
lea addresses_normal_ht+0x... |
cobol85/Cobol85.g4 | Cmejia/grammars-v4 | 1 | 5151 | <filename>cobol85/Cobol85.g4<gh_stars>1-10
/*
* Copyright (C) 2015 <NAME> <<EMAIL>>
*
* This program 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 Foundation, either version 3 of the
* License, or (at your opti... |
Transynther/x86/_processed/US/_st_zr_4k_sm_/i7-7700_9_0xca_notsx.log_21829_686.asm | ljhsiun2/medusa | 9 | 242593 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x2bfe, %rdx
cmp %rcx, %rcx
mov $0x6162636465666768, %rsi
movq %rsi, %xmm3
vmovups %ymm3, (%rdx)
nop
add $37298, %r11
lea addresses_D_ht+0x71fe, %rax
nop
nop
add $23606, %rcx
mov (%rax)... |
oeis/214/A214998.asm | neoneye/loda-programs | 11 | 80278 | ; A214998: Power ceiling-floor sequence of 2 + sqrt(3).
; Submitted by <NAME>
; 4,14,53,197,736,2746,10249,38249,142748,532742,1988221,7420141,27692344,103349234,385704593,1439469137,5372171956,20049218686,74824702789,279249592469,1042173667088,3889445075882,14515606636441,54172981469881,202176319243084,754532295502454... |
examples/servlets/sessions/source/sessions.ads | reznikmm/matreshka | 24 | 21174 | <reponame>reznikmm/matreshka<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
SQLParser/parser/SQLLexerRules.g4 | ethanchewy/marketstore | 1,580 | 6975 | lexer grammar SQLLexerRules;
SEMICOLON : ';';
SELECT: [Ss][Ee][Ll][Ee][Cc][Tt];
FROM: [Ff][Rr][Oo][Mm];
ADD: [Aa][Dd][Dd];
AS: [Aa][Ss];
ALL: [Aa][Ll][Ll];
SOME: [Ss][Oo][Mm][Ee];
ANY: [Aa][Nn][Yy];
DISTINCT: [Dd][Ii][Ss][Tt][Ii][Nn][Cc][Tt];
WHERE: [Ww][Hh][Ee][Rr][Ee];
GROUP: [Gg][Rr][Oo][Uu][Pp];
BY: [Bb]... |
programs/oeis/220/A220492.asm | jmorken/loda | 1 | 96961 | ; A220492: Number of primes p between quarter-squares, Q(n) < p <= Q(n+1), where Q(n) = A002620(n).
; 0,0,1,1,1,1,1,1,2,1,1,1,2,2,1,2,2,2,2,1,4,1,2,2,2,3,3,2,2,2,4,2,4,3,1,4,2,4,3,3,3,4,4,3,4,3,2,4,4,5,4,4,4,3,4,4,4,5,4,4,4,4,5,5,5,4,6,4,4,5,5,5,7,2,3,6,6,6,6,5,8,4,5,6,5,4,7
mov $3,2
mov $5,$0
lpb $3
mov $0,$5
sub... |
programs/oeis/061/A061019.asm | karttu/loda | 1 | 96130 | <filename>programs/oeis/061/A061019.asm
; A061019: Negate primes in factorization of n.
; 1,-2,-3,4,-5,6,-7,-8,9,10,-11,-12,-13,14,15,16,-17,-18,-19,-20,21,22,-23,24,25,26,-27,-28,-29,-30,-31,-32,33,34,35,36,-37,38,39,40,-41,-42,-43,-44,-45,46,-47,-48,49,-50,51,-52,-53,54,55,56,57,58,-59,60,-61,62,-63,64,65,-66,-67,-68... |
oeis/208/A208402.asm | neoneye/loda-programs | 11 | 14063 | ; A208402: Number of n X 2 0..3 arrays with new values 0..3 introduced in row major order and no element equal to more than two of its immediate leftward or upward or right-upward antidiagonal neighbors.
; 2,15,187,2795,43947,700075,11188907,178973355,2863377067,45813246635,733008800427,11728128223915,187650001250987,3... |
oeis/332/A332125.asm | neoneye/loda-programs | 11 | 12097 | <filename>oeis/332/A332125.asm
; A332125: a(n) = 2*(10^(2n+1)-1)/9 + 3*10^n.
; Submitted by <NAME>(s1)
; 5,252,22522,2225222,222252222,22222522222,2222225222222,222222252222222,22222222522222222,2222222225222222222,222222222252222222222,22222222222522222222222,2222222222225222222222222,222222222222252222222222222,22222... |
linux_x86_64bit/readFile.nasm | japkettu/shellcode | 0 | 169304 | ; open-read-write
; nasm -felf64 readFile.nasm -o readFile.o && ld readFile.o
global _start
section .text
_start:
jmp path
code:
;open
pop rdi
xor eax, eax
add eax, 2
xor esi, esi
syscall
;read
mov edi, eax
xor eax, eax
xor edx, edx
mov rsi, rsp
add edx, 50
syscall
; write
mov dh, ah
xor eax, eax
add eax,1
mov rsi... |
regtests/ado-drivers-tests.adb | My-Colaborations/ada-ado | 0 | 5712 | -----------------------------------------------------------------------
-- ado-drivers-tests -- Unit tests for database drivers
-- Copyright (C) 2014, 2015, 2016, 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exce... |
src/grammar/Document.g4 | craterdog-bali/js-bali-procedure-compiler | 0 | 7686 | <reponame>craterdog-bali/js-bali-procedure-compiler<gh_stars>0
grammar Document;
import Instructions;
document: EOL* instructions EOL* EOF;
|
libsrc/input/in_GetKeyReset.asm | Frodevan/z88dk | 640 | 82258 | ; void in_GetKeyReset(void)
; 09.2005 aralbrec
SECTION code_clib
PUBLIC in_GetKeyReset
PUBLIC _in_GetKeyReset
EXTERN _in_KeyDebounce, _in_KbdState
.in_GetKeyReset
._in_GetKeyReset
ld a,(_in_KeyDebounce)
ld e,a
ld d,0
IF __CPU_INTEL__
ex de,hl
ld (_in_KbdState),hl
ex de,hl
ELSE
ld (_in_KbdState),d... |
Drive Space Check/Drive Space Check.applescript | josephdadams/applescripts | 2 | 4454 | global webhookurl
global computername
set webhookurl to "#####" --slack webhook here
set computername to "Control Room 2 Video Server"
spaceCheck("/Volumes/FG Tech Recordings", 40)
spaceCheck("/", 35)
on spaceCheck(volume, threshold)
--get the amount of free space
set dSize to (do shell script "df -h '" & volume &... |
tests/natools-cron-tests.ads | faelys/natools | 0 | 26057 | ------------------------------------------------------------------------------
-- Copyright (c) 2014-2017, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
Transynther/x86/_processed/AVXALIGN/_un_/i9-9900K_12_0xa0_notsx.log_1_717.asm | ljhsiun2/medusa | 9 | 164282 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r15
push %r8
push %r9
push %rbx
push %rcx
push %rdx
// Store
lea addresses_normal+0x1c214, %r8
nop
nop
nop
xor $61682, %r15
movw $0x5152, (%r8)
nop
nop
nop
nop
nop
add $5494, %r15
// Store
lea addresses_US+0x441... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.