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 |
|---|---|---|---|---|
libsrc/graphics/text6/swapgfxbk.asm | andydansby/z88dk-mk2 | 1 | 3192 | <reponame>andydansby/z88dk-mk2<gh_stars>1-10
;
; Generic pseudo graphics routines for text-only platforms
; Version for the 2x3 graphics symbols
;
; Written by <NAME> 19/12/2006
;
;
; Dummy gfx paging for text mode.
;
;
; $Id: swapgfxbk.asm,v 1.1 2006/12/23 21:33:10 stefano Exp $
;
XLIB ... |
Sources/Library/vectors_3d.ads | ForYouEyesOnly/Space-Convoy | 1 | 7624 | <reponame>ForYouEyesOnly/Space-Convoy<gh_stars>1-10
--
-- Jan & <NAME>, Australia, July 2011
--
with Real_Type; use Real_Type;
with Vectors_xD; pragma Elaborate_All (Vectors_xD);
package Vectors_3D is
type Coordinates is (x, y, z);
package Vectors_3Di is new Vectors_xD (Real, Coordinates);
... |
libsrc/_DEVELOPMENT/compress/zx0/8080/dzx0.asm | ahjelm/z88dk | 640 | 6067 | ; -----------------------------------------------------------------------------
; ZX0 8080 decoder by <NAME>
; Based on ZX0 z80 decoder by <NAME>
; v1 (2021-02-15) - 103 bytes forward / 100 bytes backward
; v2 (2021-02-17) - 101 bytes forward / 100 bytes backward
; v3 (2021-02-22) - 99 bytes forward / 98 bytes backward... |
src/XenobladeChroniclesX/Mods/ExpInnerExpPointsX/patch_exp.asm | lilystudent2016/cemu_graphic_packs | 1,002 | 91067 | [XCX_EXPX]
moduleMatches = 0xF882D5CF, 0x30B6E091, 0xAB97DE6B ; 1.0.1E, 1.0.2U, 1.0.1U
.origin = codecave
.int $mod
; ----------------------------------------------------------------------------
; WHO : cfs::CfCompoCtrlEnemy::execRequestCommon
; WHAT : Multiply the experience points given in battles
_expBattle:
lw... |
source/main/commands/structures/for.asm | paulscottrobson/6502-basic | 3 | 242543 | ; *****************************************************************************
; *****************************************************************************
;
; Name: for.asm
; Author: <NAME> (<EMAIL>)
; Date: 1st March 2021
; Reviewed: 8th March 2021
; Purpose: For/Next
;
; ********************************... |
libsrc/_DEVELOPMENT/target/yaz180/driver/i2c/z180/asm_i2c1_read_set.asm | Frodevan/z88dk | 640 | 243199 | ;==============================================================================
; Contents of this file are copyright <NAME>
;
; You have permission to use this for NON COMMERCIAL USE ONLY
; If you wish to use it elsewhere, please include an acknowledgement to myself.
;
; https://github.com/feilipu/
;
; https://feilipu... |
strings_edit-fields.ads | jrcarter/Ada_GUI | 19 | 15668 | -- --
-- package Strings_Edit.Fields Copyright (c) <NAME> --
-- Interface Luebeck --
-- Spring, 2002 --
-- ... |
AppendToDrafts.applescript | b-bech/AppendToDrafts | 0 | 3842 | -- Create a markdown style link from a Safari tab and append it to a Drafts.app list
tell application "Safari"
set siteURL to URL of front document
set siteName to name of front document
set markdownLink to "- [" & siteName & "](" & siteURL & ")" as string
-- Replace UUID-TO-VALID-DRAFT with drafts UUID
set draft... |
examples/outdated-and-incorrect/syntax/Syntax.agda | asr/agda-kanso | 1 | 4942 |
{- An agda file contains a single module. The module name should correspond to
the name and path of the file. The path is relative to the project root. In
this case the project root is the root of Agda II. Modules can be
parameterised, but in this case we choose not to parameterise the top-level
modul... |
test/Succeed/Issue4088.agda | cruhland/agda | 1,989 | 11458 | <reponame>cruhland/agda
open import Agda.Builtin.Bool
works : Bool → Bool
works b with b | true
... | b′ | _ = b′
fails : Bool → Bool
fails b with b′ ← b | true
... | _ = b′
|
src/adacar-motores.adb | Asier98/AdaCar | 0 | 3409 | <filename>src/adacar-motores.adb
with AdaCar.Parametros;
use AdaCar.Parametros;
with AdaCar.Entrada_Salida;
with AdaCar.Alarmas;
package body AdaCar.Motores is
type Canal_Encendido is mod 4;
-- 0 => Canal_A
-- 1 => Canal_B
-- 2 => Canal_C
-- 3 => Canal_D
----------------
-- Motores_PO --
---... |
oeis/063/A063244.asm | neoneye/loda-programs | 11 | 5194 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A063244: Dimension of the space of weight 2n cuspidal newforms for Gamma_0( 94 ).
; Submitted by <NAME>
; 3,12,20,26,34,44,48,58,66,72,80,90,94,104,112,118,126,136,140,150,158,164,172,182,186,196,204,210,218,228,232,242,250,256,264,274,278,288,296,302,310,320,324,334,34... |
midterm_code/sort.asm | netguy204/cmsc313_examples | 1 | 81950 | <gh_stars>1-10
;;; Context: This implements the final stage of a merge-sort.
;;; inputA and inputB are in order internally and this program
;;; combines them into a final sorted list.
;;;
;;; You are responsible for answering the questions in the comments
;;; marked with Q#
;;;
;;; For bonus points:
;;;
;;; Write an al... |
Hinze/Lemmas.agda | nad/codata | 1 | 10090 | ------------------------------------------------------------------------
-- Some lemmas used by the other modules in this directory
------------------------------------------------------------------------
module Hinze.Lemmas where
open import Stream.Programs
open import Stream.Equality
open import Codata.Musical.Not... |
oeis/075/A075745.asm | neoneye/loda-programs | 11 | 241517 | ; A075745: Numbers n such that 210*n + 13 is prime.
; Submitted by <NAME>
; 0,1,2,3,4,5,7,8,10,14,15,16,17,18,19,21,27,32,36,38,41,43,45,47,48,49,50,51,54,60,61,62,66,67,68,69,70,71,76,77,79,83,85,88,90,92,93,94,95,96,98,100,102,105,106,107,113,116,118,121,122,124,125,127,128,129,132,133,136,142,144,150,151,153,154,155... |
Event Assembler/Extensions/Installation Source/gotoHack.asm | MokhaLeee/Proj-FE8Ucn-in-EA | 4 | 81422 | <reponame>MokhaLeee/Proj-FE8Ucn-in-EA<gh_stars>1-10
.thumb
push {r4, lr}
ldr r4, HackLocation
bl gotoR4
pop {r4}
pop {r1}
bx r1
gotoR4:
bx r4
.align
HackLocation:
.long 0xDEADBEEF
|
app/Pilot.applescript | eonist/SQLite-edit | 2 | 549 | <reponame>eonist/SQLite-edit
property ScriptLoader : load script alias ((path to scripts folder from user domain as text) & "file:ScriptLoader.scpt") --prerequisite for loading .applescript files
property SQLiteParser : my ScriptLoader's load_script(alias ((path to scripts folder from user domain as text) & "sqlite:SQL... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_878.asm | ljhsiun2/medusa | 9 | 162165 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x102d1, %rax
clflush (%rax)
nop
nop
nop
cmp $52111, %r14
movups (%rax), %xmm7
vpextrq $0, %xmm7, %rbx
nop
sub %r9, %r9
lea addresses_normal_ht+0x8eb1, %r10
nop
nop
no... |
src/def/tables.asm | battlelinegames/nesteroids | 6 | 82811 | <filename>src/def/tables.asm<gh_stars>1-10
.segment "TABLES"
palette_background:
.byte $0F,$38,$17,$07 ; logo
.byte $0F,$09,$19,$29 ; bg1 green
.byte $0F,$01,$11,$21 ; bg2 blue
.byte $0F,$00,$10,$30 ; bg3 greyscale
;.byte $0F,$18,$28,$38 ; sp0 yellow
palette_sprites:
.byte $0F,$38,$27,$17 ; asteroid colors
... |
source/tasking/machine-w64-mingw32/s-intnum.ads | ytomino/drake | 33 | 16931 | <gh_stars>10-100
pragma License (Unrestricted);
-- implementation unit specialized for Windows
with C.signal;
package System.Interrupt_Numbers is
pragma Preelaborate;
First_Interrupt_Id : constant := 1;
Last_Interrupt_Id : constant := C.signal.NSIG - 1;
function Is_Reserved (Interrupt : C.signed_int) ret... |
arch/ARM/cortex_m/src/cm0/cortex_m_svd.ads | rocher/Ada_Drivers_Library | 192 | 6510 | -- This spec has been automatically generated from cm0.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package Cortex_M_SVD is
pragma Preelaborate;
--------------------
-- Base addresses --
--------------------
NVIC_Base : constant System.Addr... |
granary/x86/utils.asm | Granary/granary | 37 | 509 | <gh_stars>10-100
/* Copyright 2012-2013 <NAME>, all rights reserved. */
#include "granary/x86/asm_defines.asm"
START_FILE
DECLARE_FUNC(granary_try_access)
GLOBAL_LABEL(granary_try_access:)
movb (%rdi), %al; // might fault!
mov $1, %eax;
ret;
END_FUNC(granary_try_access)
DECLARE_FUNC(granary_fail_acces... |
tools/scitools/conf/understand/ada/ada95/a-astaco.ads | brucegua/moocos | 1 | 13377 | ------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
Library.agda | jmchapman/Relative-Monads | 21 | 548 | module Library where
open import Function using (id; _∘_; _$_) public
open import Relation.Binary.HeterogeneousEquality public
open ≅-Reasoning renaming (begin_ to proof_) public
open import Data.Product renaming (proj₁ to fst; proj₂ to snd) public
open import Data.Empty public using (⊥; ⊥-elim)
open import Data.Unit ... |
test/Fail/MultipleNotations.agda | cruhland/agda | 1,989 | 5243 | -- Andreas, 2014-09-23
module _ where
syntax c x = ⟦ x ⟧
syntax c x y = x + y
-- Should complain about multiple notations.
|
alloy4fun_models/trashltl/models/10/pNTfJM5hkXSrShyW2.als | Kaixi26/org.alloytools.alloy | 0 | 2408 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idpNTfJM5hkXSrShyW2_prop11 {
always (some (File - Protected) implies (after((File - Protected) in Protected)))
}
pred __repair { idpNTfJM5hkXSrShyW2_prop11 }
check __repair { idpNTfJM5hkXSrShyW2_prop11 <=> prop11o } |
P6/data_P6_2/ALUTest152.asm | alxzzhou/BUAA_CO_2020 | 1 | 174419 | <reponame>alxzzhou/BUAA_CO_2020
xori $0,$0,50665
lh $3,0($0)
addiu $1,$0,11533
sltu $3,$1,$3
srl $3,$4,10
addu $5,$5,$3
subu $3,$0,$3
subu $3,$1,$3
lhu $4,10($0)
sll $6,$3,31
xor $0,$4,$3
subu $5,$5,$3
sllv $4,$4,$3
subu $1,$0,$3
sra $3,$3,31
sltu $5,$4,$3
nor $3,$5,$3
or $4,$1,$3
sltu $6,$6,$3
lb $4,15($0)
srav $0,$3,... |
programs/oeis/211/A211263.asm | karttu/loda | 1 | 245186 | <reponame>karttu/loda<filename>programs/oeis/211/A211263.asm
; A211263: Number of integer pairs (x,y) such that 0<x<y<=n and x*y=floor(n/2).
; 0,0,0,1,1,1,1,1,1,1,1,2,2,1,1,2,2,1,1,2,2,1,1,3,3,1,1,2,2,2,2,2,2,1,1,3,3,1,1,3,3,2,2,2,2,1,1,4,4,1,1,2,2,2,2,3,3,1,1,4,4,1,1,3,3,2,2,2,2,2,2,4,4,1,1,2,2,2,2,4,4,1,1,4,4,1,1,3,3... |
source/nodes/program-nodes-formal_constrained_array_types.adb | optikos/oasis | 0 | 26451 | <filename>source/nodes/program-nodes-formal_constrained_array_types.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Formal_Constrained_Array_Types is
function Creat... |
oeis/295/A295680.asm | neoneye/loda-programs | 11 | 247349 | ; A295680: a(n) = a(n-1) + a(n-3) + a(n-4), where a(0) = 0, a(1) = 0, a(2) = 0, a(3) = 2.
; Submitted by <NAME>(w1)
; 0,0,0,2,2,2,4,8,12,18,30,50,80,128,208,338,546,882,1428,2312,3740,6050,9790,15842,25632,41472,67104,108578,175682,284258,459940,744200,1204140,1948338,3152478,5100818,8253296,13354112,21607408,34961522,... |
vim.scpt | kaidiren/iterm2-vim | 1 | 408 | on run args
if (count of args) > 0 then
tell application "System Events"
set runs to false
try
set p to application process "iTerm 2"
set runs to true
end try
end tell
set newArgs to ""
repeat with param in args
if param contains "@@"
set newArgs to (new... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd1009v.ada | best08618/asylo | 7 | 29513 | -- CD1009V.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... |
stressfs.asm | ngp111/xv6-SPOS-Proj | 0 | 27517 |
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
int fd, i;
char path[] = "stressfs0";
7: b8 30 00 0... |
data/mcp/asm/prog_08_05.asm | colinw7/CZ80 | 0 | 98089 | 0D00 AF
0D01 06 08
0D03 21 00 0E
0D06 CB 06
0D08 D2 0C 0D
0D0B 3C
0D0C 05
0D0D C2 06 0D
0D10 32 01 0E
0D13 DF 5B
0E00 A3
0E01 00
|
alloy4fun_models/trashltl/models/8/fy7HkxFMsK3asutX2.als | Kaixi26/org.alloytools.alloy | 0 | 546 | <filename>alloy4fun_models/trashltl/models/8/fy7HkxFMsK3asutX2.als
open main
pred idfy7HkxFMsK3asutX2_prop9 {
always Protected not in Trash
}
pred __repair { idfy7HkxFMsK3asutX2_prop9 }
check __repair { idfy7HkxFMsK3asutX2_prop9 <=> prop9o } |
test/Fail/Issue1271.agda | alhassy/agda | 3 | 13286 | <reponame>alhassy/agda<gh_stars>1-10
-- Andreas, issue reported by <NAME>, 2014-09-04.
-- Short summary: x = c x is not impossible for coinductive constructors c,
-- so x should not be considered a strictly rigid occurrence in (c x).
-- Matteo:
-- In the following I cannot understand what justifies the absurd pattern... |
src/compiling/ANTLR/grammar/Expressions.g4 | jecassis/VSCode-SystemVerilog | 75 | 661 | grammar Expressions;
import Primaries;
inc_or_dec_expression : inc_or_dec_operator ( attribute_instance )* variable_lvalue
| variable_lvalue ( attribute_instance )* inc_or_dec_operator ;
constant_expression : constant_primary
| unary_operator ( attribute_instance )* constant_primary
| constant_expression binary_... |
lab_05/outputu8.asm | MrLIVB/BMSTU_MDPL | 0 | 11637 | <reponame>MrLIVB/BMSTU_MDPL
EXTRN num: word
STK SEGMENT para STACK 'STACK'
db 100 dup(0)
STK ENDS
CSEG SEGMENT para public 'CODE'
assume CS: CSEG
outputu8:
mov dl, 0ah
mov ah, 02
int 21h
xor ax, ax
mov ax, num
xor cx, cx
mov bx, 8
test ax, ax
jns transform2
mov cx, ax
mov ah, 2
mov dl, '-'
int 21h... |
builtin_clear.asm | jhunkeler/minos | 1 | 27966 | <filename>builtin_clear.asm<gh_stars>1-10
%ifndef _BUILTIN_CLEAR_ASM
%define _BUILTIN_CLEAR_ASM
builtin_clear:
call cls ; clear console
push 0000h ; home position 0x0
call setcursor ; home cursor on console
add sp, 2 ; cleanup stack
ret
%endif
|
roms/falldown.asm | mattconsto/nes | 4 | 172963 | 00000000: 4E4553 LSR $5345
00000003: 1A .DB $1A
00000004: 0101 ORA ($01,X)
00000006: 00 BRK
00000007: 00 BRK
00000008: 00 BRK
00000009: 00 BRK
0000000A: 00 BRK
0000000B: 00 BRK
0000000C: 00 BRK
0000000D: 00 BRK
0000000E: 00 BRK
0000000F: 00 BRK
00000010: 00 BRK
00000011: 00 BRK
00000012: 00 BRK
00000013: 00 BRK
0000001... |
Transynther/x86/_processed/NONE/_st_zr_/i7-8650U_0xd2.log_14695_784.asm | ljhsiun2/medusa | 9 | 22846 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x143fc, %rsi
lea addresses_normal_ht+0x10e3c, %rdi
nop
nop
nop
nop
xor %rbp, %rbp
mov $78, %rcx
rep movsw
sub %rax, %rax
lea addresses_D_ht+0x2614, %r11
n... |
Task/Bitmap/Ada/bitmap-2.ada | djgoku/RosettaCodeData | 0 | 27520 | <reponame>djgoku/RosettaCodeData
with Ada.Text_IO; use Ada.Text_IO;
package body Bitmap_Store is
procedure Fill (Picture : in out Image; Color : Pixel) is
begin
for I in Picture'Range (1) loop
for J in Picture'Range (2) loop
Picture (I, J) := Color;
end loop;
end loop;... |
stdlib-exts/Data/Maybe/Instance.agda | WhatisRT/meta-cedille | 35 | 653 | module Data.Maybe.Instance where
open import Class.Equality
open import Class.Monad
open import Data.Maybe
open import Data.Maybe.Properties
instance
Maybe-Monad : ∀ {a} -> Monad (Maybe {a})
Maybe-Monad = record { _>>=_ = λ x f → maybe f nothing x ; return = just }
Maybe-Eq : ∀ {A} {{_ : Eq A}} → Eq (Maybe A)
... |
example/src/microwaveoven_defineoven.adb | cortlandstarrett/mcada | 0 | 1358 | with Ada.Text_IO;
-- List of objects used
with Root_Object.MicrowaveOven.MO_O;
with Root_Object;
-- package body MicrowaveOven_defineoven_service is
procedure MicrowaveOven_defineoven is
a : Integer;
begin
-- a := Root_Object.MicrowaveOven.MO_O.remaining_cooking_time;
a := 1;
Ada.Tex... |
c2000/C2000Ware_1_00_06_00/libraries/boot_rom/f2806x/v1_1/rom_sources/source/IQNexpTable.asm | ramok/Themis_ForHPSDR | 0 | 175116 | ;;##########################################################################
;;
;;Title: Table 2 For IQmath Functions
;;
;;Version: 1.0
;;
;;Contents: IQexp Function Table, Size Of Table = 140x16
;;
;;##########################################################################
;;===================... |
src/tests/gpuimagetests.ads | sebsgit/textproc | 0 | 18594 | with AUnit; use AUnit;
with AUnit.Test_Cases; use AUnit.Test_Cases;
package GpuImageTests is
type TestCase is new AUnit.Test_Cases.Test_Case with null record;
procedure Register_Tests(T: in out TestCase);
function Name(T: TestCase) return Message_String;
procedure initOpenCL(T: in out Test_Cases.Test_Ca... |
Assembly/fizzbuzz.asm | veotani/Hacktoberfest-2020-FizzBuzz | 80 | 242952 | <gh_stars>10-100
; NASM (x86)
section .text
global start
start:
push dword startMessageLength
push dword startMessage
push dword 1
mov eax, 4
sub esp, 4
int 0x80
mov [counter], byte 1
next_number:
mov al, [counter]
xor ah, ah
mov bl, 3
div bl
cmp ah, 0
jne not_fizz
mov al, [counter]
xor ah... |
antlr/grammars/Config.g4 | sdnellen/ordt-config-tool | 1 | 1278 | /*
config grammar
*/
grammar Config;
root
: ( ml_comment | class_def )*
EOF
;
class_def
: 'configClass' id_str parameter_list_def
LBRACE
version_check_statement?
( ml_comment | method_def )*
RBRACE
;
method_def
: 'method' id_str parameter_list_def
LBRACE
version_ch... |
source/league/ucd/matreshka-internals-unicode-ucd-core_01d4.ads | svn2github/matreshka | 24 | 3048 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Examples/template_ace.asm | sparks-c16/zasm | 43 | 85608 | <filename>Examples/template_ace.asm
; ================================================================
; Example source for target 'ace'
; Emulator snapshot format for Jupiter ACE
; Copyright (c) <NAME> 1994 - 2017
; mailto:<EMAIL>
; ============================================================... |
programs/oeis/276/A276602.asm | neoneye/loda | 22 | 93848 | ; A276602: Values of n such that n^2 + 10 is a triangular number (A000217).
; 0,9,54,315,1836,10701,62370,363519,2118744,12348945,71974926,419500611,2445028740,14250671829,83059002234,484103341575,2821561047216,16445262941721,95850016603110,558654836676939,3256079003458524,18977819184074205,110610836100986706,644687197... |
labs/symtab-func/grammars/FaLaLa.g4 | parrt/cs652 | 110 | 7447 | <filename>labs/symtab-func/grammars/FaLaLa.g4<gh_stars>100-1000
grammar FaLaLa;
@header {import symtab.*;}
prog returns [Scope scope] : (var|func)+ ;
var : 'var' def ';' ;
def : ID ':' type ;
type : 'int' | 'float' ;
func returns [Scope scope] : 'function' ID '(' args ')' block ;
args: def (',' def)*
|
;
bloc... |
Send via Outlook/Scripts/Send.applescript | MarLoe/pdfworkflow | 2 | 1592 |
on send_pdf(subjectText, filePath)
tell application "Microsoft Outlook"
activate
set fileName to filePath as POSIX file --convert to posix file
set theMessage to make new outgoing message with properties {subject:subjectText}
tell theMessage -- tell theMessage (not... |
programs/oeis/022/A022849.asm | karttu/loda | 0 | 86819 | <reponame>karttu/loda<gh_stars>0
; A022849: Integer nearest nx, where x = sqrt(6).
; 0,2,5,7,10,12,15,17,20,22,24,27,29,32,34,37,39,42,44,47,49,51,54,56,59,61,64,66,69,71,73,76,78,81,83,86,88,91,93,96,98,100,103,105,108,110,113,115,118,120,122,125,127,130,132,135,137,140,142,145,147,149,152,154,157,159,162,164,167,169,... |
third_party/serf/win-x86_64/crypto/bn/x86_64-mont.asm | PeterDaveHello/incubator-pagespeed-mod | 777 | 26843 | default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
EXTERN OPENSSL_ia32cap_P
global bn_mul_mont
ALIGN 16
bn_mul_mont:
mov QWORD[8+rsp],rdi ;WIN64 prologue
mov QWORD[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_bn_mul_mont:
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
mov rcx,r9
mov r8,QWOR... |
gcc-gcc-7_3_0-release/gcc/ada/xref_lib.ads | best08618/asylo | 7 | 15654 | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
cylon.asm | WA6YDQ/nano80 | 2 | 100137 | ; cylon - bounce led's back and forth
; <NAME> 11/2019
outport equ 0
org 0
lxi sp STACK
xra a
out outport
inr a
out outport
loop1 rlc
out outport
call delay
cpi 80h
jnz loop1
loop2 rrc
out outport
call delay
cpi 1
jnz loop2
jmp loop1
delay lxi b 0120h ; 0120h for FRAM, 04ffh for internal RAM
d... |
src/PiCalculus/LinearTypeSystem/Algebras/Graded.agda | guilhermehas/typing-linear-pi | 26 | 4881 | <reponame>guilhermehas/typing-linear-pi
{-# OPTIONS --safe --without-K #-}
open import Relation.Binary.PropositionalEquality using (_≡_; refl; sym; cong)
open import Relation.Nullary using (Dec; yes; no)
import Data.Product as Product
import Data.Sum as Sum
import Data.Nat as ℕ
import Data.Nat.Properties as ℕₚ
open ... |
programs/oeis/194/A194195.asm | neoneye/loda | 22 | 87119 | ; A194195: First inverse function (numbers of rows) for pairing function A060734
; 1,2,2,1,3,3,3,2,1,4,4,4,4,3,2,1,5,5,5,5,5,4,3,2,1,6,6,6,6,6,6,5,4,3,2,1,7,7,7,7,7,7,7,6,5,4,3,2,1,8,8,8,8,8,8,8,8,7,6,5,4,3,2,1,9,9,9,9,9,9,9,9,9,8,7,6,5,4,3,2,1,10,10,10,10,10,10,10,10,10,10,9,8,7,6,5,4,3,2,1
lpb $0
sub $0,1
add $2... |
scripts/DiGiCo Snapshots/Create DiGiCo Snapshot Group.applescript | samschloegel/qlab-scripts | 8 | 1402 | -- For help, bug reports, or feature suggestions, please visit https://github.com/samschloegel/qlab-scripts
-- Built for QLab 4. v211121-01
set userColor to "Purple"
set userPrefix to "sd"
set userCueName to "DiGiCo Snapshot "
tell application id "com.figure53.QLab.4" to tell front workspace
try
set userInput to d... |
1337/no_cheat/NtUserSendInput.asm | jon4dev/Fortnite-cheat-source-internal-self-leak | 41 | 104168 | .code
_NtUserSendInput PROC
mov r10, rcx
mov eax, 3735928559
syscall
ret
_NtUserSendInput ENDP
END |
data/pokemon/base_stats/vibrava.asm | AtmaBuster/pokeplat-gen2 | 6 | 176069 | db 0 ; species ID placeholder
db 50, 70, 50, 70, 50, 50
; hp atk def spd sat sdf
db GROUND, DRAGON ; type
db 120 ; catch rate
db 126 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/vibrava/front.dimensions"
db GROWTH_MEDIUM_S... |
model-sets/2021-05-06-10-28-11-watform/EHealth_Env_nancy.als | WatForm/catalyst | 0 | 2545 | <filename>model-sets/2021-05-06-10-28-11-watform/EHealth_Env_nancy.als
open util/steps[Snapshot]
open util/ordering[Snapshot]
open util/boolean
// Snapshot definition
sig Snapshot extends BaseSnapshot {
stable: one Bool,
Environment_p : lone Patient,
Environment_m1 : lone Medication,
... |
Resource_Control_Protocol/src/rcp.ads | Maxelweb/concurrency-sandbox | 0 | 4550 | package RCP is
-- the amount of resources required by every single request
-- can never exceed a predefined maximum quantity
Max_Requests : constant Positive := 10;
type Request_T is range 0 .. Max_Requests;
type Use_T is (Long, Medium, Short);
-- a descriptor type to denote the Item_T ... |
adatutor/txt2dat.ada | qunying/AdaTutor | 8 | 25294 | -- TXT2DAT.ADA Ver. 4.01 2001-SEP-10 Copyright 1988-2001n <NAME>
--
-- SOFTWARE INNOVATIONS TECHNOLOGY www.adatutor.com
-- 1083 <NAME>
-- PALM BAY FL 32905-4706 <EMAIL>
--
-- (321) 951-0233
--
-- After running DAT2TXT on a PC and transferring the resulting TUTOR.TXT
-- file to a... |
cmd/diskcomp/compinit.asm | minblock/msdos | 0 | 20365 | PAGE 90,132 ;A2
TITLE COMPINIT -- DISKCOMP INITIALIZATION PROGRAM
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;****************** START OF SPECIFICATIONS... |
oeis/236/A236856.asm | neoneye/loda-programs | 11 | 18906 | ; A236856: Partial sums of A003418 starting summing from A003418(1), with a(0) = 0.
; Submitted by <NAME>
; 0,1,3,9,21,81,141,561,1401,3921,6441,34161,61881,422241,782601,1142961,1863681,14115921,26368161,259160721,491953281,724745841,957538401,6311767281,11665996161,38437140561,65208284961,145521718161,225835151361,25... |
vendor/stdlib/src/Algebra/Props/Ring.agda | isabella232/Lemmachine | 56 | 1561 | <filename>vendor/stdlib/src/Algebra/Props/Ring.agda
------------------------------------------------------------------------
-- Some derivable properties
------------------------------------------------------------------------
open import Algebra
module Algebra.Props.Ring (r : Ring) where
open Ring r
import Relation... |
HW7/WordFinder.asm | ewbrowntech/COMP-3350 | 0 | 23194 | .386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
TITLE Selective Attention (Word Finder) - <NAME> (WordFinder.asm)
INCLUDE Irvine32.inc
KEY = 12 ; any value between 1-255
BUFMAX = 128 ; maximum buffer size
.data
sPrompt BYTE "Enter the plain text:",0
sEncrypt BYTE "Cipher t... |
test/Fail/Issue4784b.agda | KDr2/agda | 0 | 2011 | <reponame>KDr2/agda<gh_stars>0
{-# OPTIONS --cubical-compatible #-}
open import Agda.Builtin.Equality
postulate
A : Set
B : A → Set
data H (@0 A : Set) : Set where
con : (@0 x : A) → H A
data G : Set where
con : (@0 x : A) → (@0 b : B x) → G
data D : Set where
con : (@0 x : A) → B x → D
|
src/Categories/Category/Instance/Properties/Setoids/Extensive.agda | Trebor-Huang/agda-categories | 5 | 14874 | {-# OPTIONS --without-K --safe #-}
module Categories.Category.Instance.Properties.Setoids.Extensive where
open import Level
open import Data.Product using (∃; Σ; proj₁; proj₂; _,_; _×_)
open import Data.Sum.Base as Sum using (_⊎_; inj₁; inj₂)
open import Data.Sum.Relation.Binary.Pointwise using (inj₁; inj₂; _⊎ₛ_; dro... |
FSQL.Grammar/CFSQLLexer.g4 | ke4vtw/FSQL | 1 | 7343 | lexer grammar CFSQLLexer;
//language keywords
PRINT : P R I N T;
INT_DECL : 'int';
DEC_DECL : 'num';
STR_DECL : 'str';
DATE_DECL : 'date';
VAR_DECL : 'var';
FIRSTIDENTCHAR : ALPHA | UNDERSCORE;
IDENTCHAR : FIRSTIDENTCHAR | DIGIT;
ALPHA : (UCASE | LCASE);
UCASE : [A-Z]; //'A'..'Z';
L... |
programs/oeis/287/A287468.asm | neoneye/loda | 22 | 15016 | <reponame>neoneye/loda<filename>programs/oeis/287/A287468.asm
; A287468: Binary representation of the diagonal from the corner to the origin of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 276", based on the 5-celled von Neumann neighborhood.
; 1,0,11,0,111,0,1111,0,11111,0,111111... |
transformy/tables/outro/000e.asm | mborik/regression | 3 | 162538 | xor a
ld hl, basescradr + #0939
ld (hl), a
inc hl
ld (hl), a
inc hl
ld (hl), a
inc hl
ld (hl), a
ld hl, basescradr + #0957
ld (hl), a
inc hl
ld (hl), a
inc hl
ld (hl), a
ld hl, basescradr + #0976
ld (hl), a
inc hl
ld (hl), a
inc hl
ld (hl), a
ld hl, basescradr + #0996
ld (h... |
test/Succeed/Builtin.agda | redfish64/autonomic-agda | 0 | 17395 | module Builtin where
data Bool : Set where
false : Bool
true : Bool
not : Bool -> Bool
not true = false
not false = true
_||_ : Bool -> Bool -> Bool
true || _ = true
false || x = x
_&&_ : Bool -> Bool -> Bool
true && x = x
false && _ = false
{-# BUILTIN BOOL Bool #-}
{-# BUILTIN TRUE true #-}
{-# BUILTI... |
alloy4fun_models/trashltl/models/8/tGntixtMijJnxwYtP.als | Kaixi26/org.alloytools.alloy | 0 | 598 | open main
pred idtGntixtMijJnxwYtP_prop9 {
always (Protected not in Trash')
}
pred __repair { idtGntixtMijJnxwYtP_prop9 }
check __repair { idtGntixtMijJnxwYtP_prop9 <=> prop9o } |
rs232-115200.asm | rolandvans/msx_softserial | 6 | 175156 | <gh_stars>1-10
;READ DATA VIA JYSTICK AT 115200 BITS/SECOND
;REQUIRES 2 STOPBITS (!!)
;STARTS WRITING DATA AT HL, STOPS AT TIMEOUT
;MODIFIES HL,BC,AF, PSG REG #15
CPU Z80
FNAME "RS232RD.BIN"
VOICEAQ: EQU $F975 ;BUFFER TO OCCUPY IN SYSTEM AREA: DO NOT USE PLAY...
;MSX .BIN HEADER
DB $FE
DW START, END, START
ORG VOI... |
JOSSimulation/obj/user/test3.asm | marcus-deans/duke-operatingsystems | 0 | 245634 |
obj/user/test3: file format elf32-i386
Disassembly of section .text:
00800020 <umain>:
#include <inc/lib.h>
#include <inc/magic.h>
void
umain(int argc, char **argv)
{
800020: 55 push %ebp
800021: 89 e5 mov %esp,%ebp
800023: 53 push %ebx
80002... |
src/Lens/Non-dependent/Higher/Capriotti/Variant/Erased.agda | nad/dependent-lenses | 3 | 12050 | ------------------------------------------------------------------------
-- The lens type in Lens.Non-dependent.Higher.Capriotti.Variant, but
-- with erased "proofs"
------------------------------------------------------------------------
{-# OPTIONS --cubical #-}
import Equality.Path as P
module Lens.Non-dependent.... |
CLICK_DRUMS/pwm/test/hh1.asm | bushy555/ZX-Spectrum-1-Bit-Routines | 59 | 2146 | ; The format is 0
; High value is 224
; Low value is 15
db $02,$0A,$0D,$0C,$0E,$06,$0D,$06,$0E,$07,$09,$06,$43,$04,$42,$0B
db $1A,$0B,$34,$08,$0E,$09,$2E,$04,$0B,$0C,$0B,$06,$21,$04,$55,$2A
db $30,$05,$12,$15,$02,$1C,$01,$04,$0A,$07,$0A,$04,$19,$1C,$05,$1C
db $19,$02,$18,$02,$08,$13,$19,$0B,$0B,$06,$6E... |
samples/add_user.adb | Letractively/ada-ado | 0 | 16139 | -----------------------------------------------------------------------
-- Add_User -- Example to add an object in the database
-- Copyright (C) 2010, 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance w... |
oeis/314/A314090.asm | neoneye/loda-programs | 11 | 1957 | ; A314090: Coordination sequence Gal.4.54.4 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,11,16,20,24,29,35,40,45,51,56,60,64,69,75,80,85,91,96,100,104,109,115,120,125,131,136,140,144,149,155,160,165,171,1... |
model/alloy/executions.als | diorga/harpy | 4 | 1349 | module executions
open axioms
/*
pred execution_all [X:Exec_F] {
E in X.EV
not(consistent[none->none, X])
X.EV_F -> X.EV_F in X.sthd
X.EV_C -> X.EV_C in X.sthd
some X.RdReq + X.CpuRead // At least a read
}
run execution_all for 1 Exec_F, exactly 5 E */
//run {
// some X : Exec_F {
// E in X.EV... |
libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_lmod_callee.asm | ahjelm/z88dk | 640 | 1192 |
; long __lmod_callee (long left, long right)
SECTION code_clib
SECTION code_fp_am9511
PUBLIC cam32_sccz80_lmod_callee
EXTERN asm_am9511_lmod_callee
; modulus of sccz80 long by sccz80 long
;
; enter : stack = sccz80_long left, ret
; DEHL = sccz80_long right
;
; exit : DEHL = sccz8... |
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sccz80/UNSAFE_SMS_VRAMmemcpy128_callee.asm | jpoikela/z88dk | 640 | 177520 | <filename>libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sccz80/UNSAFE_SMS_VRAMmemcpy128_callee.asm
; void UNSAFE_SMS_VRAMmemcpy128(unsigned int dst,void *src)
SECTION code_clib
SECTION code_SMSlib
PUBLIC UNSAFE_SMS_VRAMmemcpy128_callee
EXTERN asm_SMSlib_UNSAFE_VRAMmemcpy128
UNSAFE_SMS_VRAMmemcpy128_callee:
pop hl
pop ... |
stm32f1/stm32gd-spi-peripheral.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 26880 | package body STM32GD.SPI.Peripheral is
procedure Init is
begin
null;
end Init;
procedure Transfer (Data : in out SPI_Data_8b) is
begin
while SPI.SR.TXE = 0 loop
null;
end loop;
SPI.DR.DR := UInt16 (Data (0));
while SPI.SR.RXNE = 0 loop
null;
end loo... |
src/Utilities/finite_state_scanners.ads | fintatarta/eugen | 0 | 5530 | <filename>src/Utilities/finite_state_scanners.ads
with Ada.Strings.Maps;
with Ada.Containers.Indefinite_Vectors;
with Ada.Containers.Indefinite_Ordered_Maps;
generic
type Token_Type is (<>);
type State_Type is (<>);
Start_State : State_Type;
EOF_Token : Token_Type;
package Finite_State_Scanners is
t... |
alloy4fun_models/trashltl/models/3/Rykvs47eaXFMRSoPr.als | Kaixi26/org.alloytools.alloy | 0 | 2035 | open main
pred idRykvs47eaXFMRSoPr_prop4 {
some f : File | eventually ((f not in Trash) and f in Trash')
}
pred __repair { idRykvs47eaXFMRSoPr_prop4 }
check __repair { idRykvs47eaXFMRSoPr_prop4 <=> prop4o } |
main.asm | codebur/_a2-chemi-gs-1993 | 1 | 163993 | keep Main
****************************************************************
* ChemiGS *
****************************************************************
* A Drawing Program for Chemical Structures *
* (c) 1992-93 by <NAME> *
* Buendtenweg 6 *
* 5105 AUENSTEIN (SWITZERLAN... |
Grammars/ProjectionsParser.g4 | dolittle-entropy/projections-dsl | 0 | 5819 | parser grammar ProjectionsParser;
options {
tokenVocab=ProjectionsLexer;
}
projections
: projection*
;
projection
: PROJECTION TYPE identifier L_CURLY projectionBody R_CURLY
;
identifier
: ID ASSIGN GUID_LIT
;
projectionBody
: projectionField*
;
projectionField
: IDENTIFIER... |
sunangle.ads | e3l6/SSMDev | 0 | 30706 | -------------------------------------------------------------------------------
-- SUNANGLE
--
-- Copyright © 2016 <NAME>
--
-- This code is available under the "MIT License".
-- Please see the file COPYING in this distribution for license terms.
--
-- Purpose:
-- This package computes the the sun angle (azimuth and ... |
oeis/065/A065229.asm | neoneye/loda-programs | 11 | 87820 | ; A065229: Fill a triangular array by rows by writing numbers 1 up to b(0), 1 up to b(1), etc., where b(n) are the pentagonal numbers. The first elements of the rows form a(n).
; 1,1,3,1,5,10,4,11,19,6,16,27,4,17,31,46,11,28,46,65,15,36,58,81,13,38,64,91,2,31,61,92,124,12,46,81,117,154,16,55,95,136,178,11,55,100,146,19... |
src/utils.ads | patrickf2000/ada-asm | 0 | 17476 | with Ada.Containers.Vectors;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package Utils is
package Str_Vector is new Ada.Containers.Vectors
(Index_Type => Natural,
Element_Type => Unbounded_String);
end Utils;
|
Numeral/Natural/Relation/Divisibility/Proofs/Modulo.agda | Lolirofle/stuff-in-agda | 6 | 1208 | <reponame>Lolirofle/stuff-in-agda<gh_stars>1-10
module Numeral.Natural.Relation.Divisibility.Proofs.Modulo where
import Lvl
open import Data
open import Functional
open import Logic.Predicate
open import Logic.Propositional
open import Numeral.Natural
open import Numeral.Natural.Oper
open import Numeral.Natural.Oper.D... |
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/fmin.asm | ahjelm/z88dk | 640 | 241382 |
SECTION code_fp_am9511
PUBLIC _fmin
EXTERN cam32_sdcc_fmin
defc _fmin = cam32_sdcc_fmin
|
src/Abstract-binding-tree.agda | nad/equality | 3 | 2067 | <gh_stars>1-10
------------------------------------------------------------------------
-- Abstract binding trees, based on Harper's "Practical Foundations
-- for Programming Languages"
------------------------------------------------------------------------
-- Operators are not indexed by symbolic parameters.
-- TOD... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0.log_21829_581.asm | ljhsiun2/medusa | 9 | 160497 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x2827, %rsi
lea addresses_UC_ht+0x1e42d, %rdi
nop
nop
nop
nop
nop
and $64397, %rbx
mov $9, %rcx
rep movsw
nop
nop
nop
nop
nop
cmp $37833, %r12
lea addresses_A_ht+0x122ef, %rsi
lea addre... |
programs/oeis/295/A295314.asm | neoneye/loda | 22 | 242378 | ; A295314: a(n) = sigma(n) / gcd(sigma(n), phi(sigma(n))).
; 1,3,2,7,3,3,2,15,13,3,3,7,7,3,3,31,3,13,5,7,2,3,3,15,31,7,5,7,15,3,2,7,3,3,3,91,19,15,7,15,7,3,11,7,13,3,3,31,19,31,3,7,3,15,3,15,5,15,15,7,31,3,13,127,7,3,17,7,3,3,3,65,37,19,31,35,3,7,5,31,11,7,7,7,3,33,15,15,15,13,7,7,2,3,15,7,7,19,13,217
seq $0,203 ; a(n... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-resfil.adb | orb-zhuchen/Orb | 0 | 351 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
parser-js/src/main/antlr/PrologParser.g4 | zakski/thunderjaw | 0 | 191 | <filename>parser-js/src/main/antlr/PrologParser.g4<gh_stars>0
parser grammar PrologParser;
options {
tokenVocab=PrologLexer;
}
@header {
var DynamicParserModule = require("./DynamicParser")
var DynamicParser = DynamicParserModule.DynamicParser
var Associativity = require("./Associativity").Associativity
var P0 = 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.