max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
programs/oeis/074/A074523.asm | neoneye/loda | 22 | 5367 | <reponame>neoneye/loda
; A074523: a(n) = 1^n + 7^n + 8^n.
; 3,16,114,856,6498,49576,379794,2920696,22542018,174571336,1356217074,10567261336,82560763938,646644824296,5076269583954,39931933598776,314707907280258,2484430327672456,19642812107392434,155514083261229016
mov $1,7
pow $1,$0
mov $2,8
pow $2,$0
add $1,$2
mov $0... |
source/resolver/program-resolve_standard.ads | reznikmm/gela | 0 | 563 | -- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with System.Storage_Pools.Subpools;
with Program.Compilation_Units;
with Program.Cross_Reference_Updaters;
with Program.Library_Environments;
with Program.Visibility... |
programs/oeis/306/A306696.asm | karttu/loda | 0 | 161490 | ; A306696: Lexicographically earliest sequence of nonnegative terms such that for any n > 0 and k > 0, if a(n) >= a(n+k), then a(n+2*k) <> a(n+k).
; 0,0,1,0,1,1,2,0,2,1,3,1,2,2,3,0,3,2,4,1,3,3,4,1,4,2,5,2,4,3,5,0,5,3,6,2,4,4,6,1,5,3,7,3,5,4,6,1,6,4,7,2,5,5,7,2,6,4,8,3,6,5,7,0,7,5,8,3,6,6,8,2,7,4,9,4,7,6,8,1,8,5,9,3,7,7... |
tools/scitools/conf/understand/ada/ada95/a-decima.ads | brucegua/moocos | 1 | 4670 | ------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
maps/Route29.asm | Karkino/KarkCrystal16 | 0 | 94280 | <filename>maps/Route29.asm<gh_stars>0
object_const_def ; object_event constants
const ROUTE29_COOLTRAINER_M1
const ROUTE29_YOUNGSTER
const ROUTE29_TEACHER1
const ROUTE29_FRUIT_TREE
const ROUTE29_FISHER
const ROUTE29_COOLTRAINER_M2
const ROUTE29_TUSCANY
const ROUTE29_POKE_BALL
Route29_MapScripts:
db 2 ; scene... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c2/c26006a.ada | best08618/asylo | 7 | 23113 | -- C26006A.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... |
PQL2.g4 | mixedrays/pql-editor | 0 | 2918 | grammar PQL2;
/*============= Parser =============*/
query
: (csvBoolean)? EOF
;
csvBoolean
: infixBoolean (',' infixBoolean)* #csvBooleanExpression
;
infixBoolean
: operator=NOT infixBoolean #unaryBooleanE... |
experiments/models/dijkstra.als | kaiyuanw/MuAlloy | 6 | 4576 | module dijkstra
open util/ordering [State] as so
open util/ordering [Mutex] as mo
sig Process {}
sig Mutex {}
sig State { holds, waits: Process -> Mutex }
pred Initial [s: State] { no s.holds + s.waits }
pred IsFree [s: State, m: Mutex] {
no m.~(s.holds)
}
pred IsStalled [s: State, p: Process] { some p.(s.wai... |
ssu-sys-programming/src/lab2/task1.asm | Imperat/SSU-Information-Security-Course | 0 | 18926 | <reponame>Imperat/SSU-Information-Security-Course
.model small
.stack 100h
.data
D_ONE dw 04h
D_TWO dw 03h
SPACE db 20h
.code
printd proc
mov bh, al
mov ah, 02h
int 21h
mov al, bh
ret
printd endp
start: mov ax, @data
mov ds, ax
;Запись цифр в регистры
mov ax, D_ONE
add ax, 30h
mov bx,... |
src/run_basic.asm | I8087/libm | 13 | 173967 | global _run_basic
_run_basic:
push bp
mov bp, sp
sub sp, 4
mov [bp-2], bx
mov [bp-4], si
mov ax, word [bp+4]
mov bx, word [bp+6]
mov si, word [bp+8]
call os_run_basic
mov si, word [bp-4]
mov bx, word [bp-2]
mov sp, bp
pop bp
ret
|
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_18045_119.asm | ljhsiun2/medusa | 9 | 13188 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x2d80, %r12
nop
nop
nop
dec %rcx
movw $0x6162, (%r12)
nop
sub %r12, %r12
lea addresses_normal_ht+0xa580, %rsi
lea addresses_WC_ht+0x5102, %rdi
nop
nop
dec %r14
mov $25, %rcx
rep movsb
... |
grammar/ObjectPath.g4 | zakjan/object-path-parser | 12 | 3547 | grammar ObjectPath;
// parser rules
start : expression? EOF ;
expression : '(' expression ')' # Parentheses
// access expressions
| '$' # RootObject
| '@' # CurrentObject
| IDENTIFIER # DotAccess // shorthand for expr1 = @
| expr1=expression '.' IDENTIFIER # Do... |
src/lab-code/calendar_package/src/main.adb | hannesb0/rtpl18 | 0 | 23238 | with Ada.Text_IO;
use Ada.Text_IO;
with mycalendar;
use mycalendar;
procedure main is
--variables
today_weekday : weekday;
today_monthnum : monthnum;
today_daynum : daynum;
begin
-- GET DAY
Put ("What weekday is today (");
for w in weekday'Range loop
Put(weekday'Image(w)); Put("/");
end loop;
Put ("... |
coverage/PENDING_SUBMIT/amdvlk/0609-COVERAGE-instruction-simplify-4452/work/variant/2_spirv_opt_asm/shader.frag.asm | asuonpaa/ShaderTests | 0 | 80684 | <filename>coverage/PENDING_SUBMIT/amdvlk/0609-COVERAGE-instruction-simplify-4452/work/variant/2_spirv_opt_asm/shader.frag.asm
; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 102
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
... |
src/util-serialize-mappers-record_mapper.adb | Letractively/ada-util | 60 | 7461 | <filename>src/util-serialize-mappers-record_mapper.adb
-----------------------------------------------------------------------
-- Util.Serialize.Mappers.Record_Mapper -- Mapper for record types
-- Copyright (C) 2010, 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (th... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_662.asm | ljhsiun2/medusa | 9 | 96830 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rax
push %rcx
lea addresses_WT_ht+0x10530, %rcx
nop
nop
add %r9, %r9
and $0xffffffffffffffc0, %rcx
vmovaps (%rcx), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $0, %xmm3, %rax
nop
nop
nop
sub $17881, %rcx
lea addresses_normal_ht+0x... |
chapter_16/sepia_filter/sse.asm | GeertArien/low-level-programming | 0 | 105403 | <gh_stars>0
section .text
global sse
; rdi = x, rsi = y
sse:
movdqa xmm0, [rdi]
movdqa xmm1, [rdi + 16]
movdqa xmm2, [rdi + 32]
mulps xmm0, [rsi]
mulps xmm1, [rsi + 16]
mulps xmm2, [rsi + 32]
addps xmm0, xmm1
addps xmm0, xmm2
movdqa [rdi], xmm0
ret
|
libsrc/_DEVELOPMENT/adt/wv_priority_queue/c/sdcc_iy/wv_priority_queue_capacity.asm | jpoikela/z88dk | 640 | 96057 |
; size_t wv_priority_queue_capacity(wv_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_wv_priority_queue
PUBLIC _wv_priority_queue_capacity
EXTERN _wa_priority_queue_capacity
defc _wv_priority_queue_capacity = _wa_priority_queue_capacity
|
oeis/004/A004593.asm | neoneye/loda-programs | 11 | 166563 | <reponame>neoneye/loda-programs
; A004593: Expansion of e in base 2.
; Submitted by <NAME>(s3)
; 1,0,1,0,1,1,0,1,1,1,1,1,1,0,0,0,0,1,0,1,0,1,0,0,0,1,0,1,1,0,0,0,1,0,1,0,0,0,1,0,1,0,1,1,1,0,1,1,0,1,0,0,1,0,1,0,1,0,0,1,1,0,1,0,1,0,1,0,1,1,1,1,1,1,0,1,1,1,0,0,0,1,0,1,0,1,1,0,0,0,1,0,0,0,0,0,0,0,1,0
seq $0,293337 ; Least ... |
Quiz1/1/checkGreater.asm | 100RABHpy/CSE231-Operating-System | 0 | 160755 | global _s, checkGreater
section .text
_s:
mov rdi,10 ;x
mov rsi,20 ;y
call checkGreater ;calling checkGreater
checkGreater:
cmp rdi, rsi ; comparing x and y
jg _greater ;jumpt to _greater if x>y
jng _else ;else jmp to _else
_greater:
mov rax, 1 ;code for write syscall
mov rdi, 1
mov rsi... |
src/asf-components-html-panels.ads | jquorning/ada-asf | 12 | 27165 | -----------------------------------------------------------------------
-- html.panels -- Layout panels
-- Copyright (C) 2009, 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 with the Lice... |
oeis/164/A164603.asm | neoneye/loda-programs | 11 | 28120 | ; A164603: a(n) = ((1+4*sqrt(2))*(2+2*sqrt(2))^n + (1-4*sqrt(2))*(2-2*sqrt(2))^n)/2.
; Submitted by <NAME>(s4)
; 1,18,76,376,1808,8736,42176,203648,983296,4747776,22924288,110688256,534450176,2580553728,12460015616,60162277376,290489171968,1402605797376,6772379877376,32699942699008,157889290305536,762356932018176,36809... |
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sdcc/SMS_updateSpritePosition.asm | jpoikela/z88dk | 640 | 15327 | <reponame>jpoikela/z88dk
; void SMS_updateSpritePosition(signed char sprite, unsigned char x, unsigned char y)
SECTION code_clib
SECTION code_SMSlib
PUBLIC _SMS_updateSpritePosition
EXTERN asm_SMSlib_updateSpritePosition
_SMS_updateSpritePosition:
pop af
pop de
pop hl
push hl
push de
push af
... |
oeis/085/A085283.asm | neoneye/loda-programs | 11 | 179279 | <reponame>neoneye/loda-programs
; A085283: a(n) = n*n^n - (n-1)(n-1)^n.
; Submitted by <NAME>
; 1,1,7,65,781,11529,201811,4085185,93864121,2413042577,68618940391,2138428376721,72470493235141,2653457921150425,104382202543721467,4390455017903519489,196621779843659466481,9340717969198079777313
mov $2,$0
add $0,1
mov $1,$... |
src/test/resources/testData/parse/live_samples/new_event.scpt | stigger/AppleScript-IDEA | 18 | 3559 | <reponame>stigger/AppleScript-IDEA
use AppleScript version "2.5"
use scripting additions
use framework "Foundation"
use framework "EventKit"
get afp URL
-- lazy way to specify calender
tell application "Calendar"
set calId to uid of calendar 1 whose name is "Work"
beep day view
get day view
end tell
set timeNo... |
src/LibraBFT/Abstract/Properties.agda | LaudateCorpus1/bft-consensus-agda | 0 | 10068 | <filename>src/LibraBFT/Abstract/Properties.agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Ab... |
Prelude.agda | ivoysey/agda-tfp16 | 2 | 4581 | <gh_stars>1-10
module Prelude where
open import Agda.Primitive using (Level; lzero; lsuc) renaming (_⊔_ to lmax)
-- empty type
data ⊥ : Set where
-- from false, derive whatever
abort : ∀ {C : Set} → ⊥ → C
abort ()
-- unit
data ⊤ : Set where
<> : ⊤
-- sums
data _+_ (A B : Set) : Set where
... |
programs/oeis/002/A002696.asm | neoneye/loda | 22 | 100051 | ; A002696: Binomial coefficients C(2n,n-3).
; 1,8,45,220,1001,4368,18564,77520,319770,1307504,5311735,21474180,86493225,347373600,1391975640,5567902560,22239974430,88732378800,353697121050,1408831480056,5608233007146,22314239266528,88749815264600,352870329957600,1402659561581460,5574440580220512,22150361247847371,88004... |
_anim/obj4A.asm | vladjester2020/Sonic1TMR | 0 | 99641 | ; ---------------------------------------------------------------------------
; Animation script - special stage entry effect from beta
; ---------------------------------------------------------------------------
dc.w byte_14458-Ani_obj4A
byte_14458: dc.b 5, 0, 1, 0, 1, 0, 7, 1, 7, 2, 7, 3, 7, 4, 7, 5, 7, 6, 7, ... |
kernel.asm | Tymeade/lama-os | 0 | 162143 | <reponame>Tymeade/lama-os
;;kernel.asm
bits 32
section .text
align 4
dd 0x1BADB002
dd 0x00
dd - (0x1BADB002 + 0x00)
global start
extern kmain
start:
cli
mov esp, stack_space
call kmain
hlt
section .bss
resb 8192
stack_space:
|
testsuite/amf/TN-231/test_231.adb | svn2github/matreshka | 24 | 8098 | <filename>testsuite/amf/TN-231/test_231.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
libsrc/z80_crt0s/8080/sccz80/l_long_ucmp.asm | jpoikela/z88dk | 0 | 5015 | ; Z88 Small C+ Run Time Library
; Long support functions
; "8080" mode
; Stefano - 30/4/2002
; $Id: l_long_ucmp.asm,v 1.2 2016-06-16 20:31:05 dom Exp $
;
SECTION code_crt0_sccz80
PUBLIC l_long_ucmp
EXTERN __retloc
EXTERN __retloc2
; Unsigned compare of dehl (stack) a... |
Source/Levels/L0413.asm | AbePralle/FGB | 0 | 247851 | ; L0413.asm
; Generated 04.22.2001 by mlevel
; Modified 04.22.2001 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level0413Section",ROMX
;---------------------------------------------------------------------
L0413_Conte... |
PRACT0/SO1HPUB/asm/ajustusr.asm | so1h/SO1H | 0 | 244132 | <gh_stars>0
bits 16
; glb _start : (void) void
; glb __start__ : (void) void
; glb main : (void) void
; glb finProceso : (void) void
; glb finThread : (void) void
; glb __start__ : (void) void
section .text
global ___start__
___start__:
push ebp
movzx ebp, sp
;sub sp, 0
; RPN'ized expression: "( main ) "
... |
Task/Higher-order-functions/AppleScript/higher-order-functions-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 805 | <filename>Task/Higher-order-functions/AppleScript/higher-order-functions-1.applescript
-- This handler takes a script object (singer)
-- with another handler (call).
on sing about topic by singer
call of singer for "Of " & topic & " I sing"
end sing
-- Define a handler in a script object,
-- then pass the script o... |
source/exceptions.adb | jquorning/Gauss | 4 | 15569 | <reponame>jquorning/Gauss<gh_stars>1-10
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
wi... |
oeis/105/A105671.asm | neoneye/loda-programs | 11 | 9239 | <reponame>neoneye/loda-programs
; A105671: a(2n) = Lucas(2n+3)^2, a(2n+1) = Lucas(2n+1)^2.
; Submitted by <NAME>
; 16,1,121,16,841,121,5776,841,39601,5776,271441,39601,1860496,271441,12752041,1860496,87403801,12752041,599074576,87403801,4106118241,599074576,28143753121,4106118241,192900153616,28143753121,1322157322201,... |
dd/nd/qxl_phys.asm | olifink/smsqe | 0 | 174485 | * Network physical layer - QXL (20 MHz) 1984 & 1993 <NAME>
*
section nd
*
xdef nd_qxlc network access code
xdef nd_qxle
xdef nd_send send a packet
xdef nd_send0 send a packet (server protocol)
xdef nd_read read a packet
xdef nd_read0 read a packet (server protocol)
xdef nd_bcast read a br... |
HdGfxLib/libgfxinit/common/hw-gfx-edid.ads | jam3st/edk2 | 1 | 23840 | <gh_stars>1-10
--
-- Copyright (C) 2016 secunet Security Networks AG
--
-- This program 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 Foundation; either version 2 of the License, or
-- (at your option) any later versi... |
src/isa/avx/masm/vrs4_powf.asm | jepler/aocl-libm-ose | 66 | 87013 | ;
; Copyright (C) 2008-2020 Advanced Micro Devices, Inc. All rights reserved.
;
; Redistribution and use in source and binary forms, with or without modification,
; are permitted provided that the following conditions are met:
; 1. Redistributions of source code must retain the above copyright notice,
; this list of... |
OTPDecode/otpdecode.asm | officialhory/uni_masm | 0 | 247133 | Code Segment
assume CS:Code, DS:Data, SS:Stack
Start:
MOV AX, Code
MOV DS, AX
MOV AX, 0003h
INT 10h
MOV DI, offset secret
MOV SI, offset key
MOV AH, 02
MOV CX, 11
DECODE:
MOV DX, [SI]
XOR DX, [DI]
INC DI
INC SI
INT 21h
LOOP DECODE
END_OF_PROGRAM:
MOV AX, 4c00h
INT 2... |
source/modules/basic/expressions/logical.asm | paulscottrobson/mega-basic | 3 | 90183 | ; *******************************************************************************************
; *******************************************************************************************
;
; Name : logical.asm
; Purpose : Binary Logical Operators
; Date : 21st August 2019
; Review : 1st September 2019
; Autho... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/NES_Ver2/us_scr/zel_endz.asm | prismotizm/gigaleak | 0 | 13518 | <filename>other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/NES_Ver2/us_scr/zel_endz.asm
Name: zel_endz.asm
Type: file
Size: 25
Last-Modified: '2016-05-13T04:27:09Z'
SHA-1: E758FE70B96333E454AD956E7FFFE3AED717464F
Description: null
|
programs/oeis/157/A157364.asm | neoneye/loda | 22 | 89405 | ; A157364: a(n) = 4802*n^2 - 196*n + 1.
; 4607,18817,42631,76049,119071,171697,233927,305761,387199,478241,578887,689137,808991,938449,1077511,1226177,1384447,1552321,1729799,1916881,2113567,2319857,2535751,2761249,2996351,3241057,3495367,3759281,4032799,4315921,4608647,4910977,5222911,5544449,5875591,6216337,6566687,6... |
x86-64-assembly/leap/leap.asm | arlm/exercism | 0 | 176027 | section .text
global leap_year
leap_year:
; Provide your implementation here
ret
|
hydra/grammar/Override.g4 | kychow/hydra | 0 | 5959 | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
// Regenerate parser by running 'python setup.py antlr' at project root.
// If you make changes here be sure to update the documentation (and update the grammar in command_line_syntax.md)
grammar Override;
override: (
key '=' value? ... |
prototyping/Luau/Heap.agda | Tr4shh/Roblox-Luau | 0 | 17384 | <reponame>Tr4shh/Roblox-Luau<gh_stars>0
module Luau.Heap where
open import Agda.Builtin.Equality using (_≡_)
open import FFI.Data.Maybe using (Maybe; just)
open import FFI.Data.Vector using (Vector; length; snoc; empty)
open import Luau.Addr using (Addr)
open import Luau.Var using (Var)
open import Luau.Syntax using (... |
programs/oeis/179/A179058.asm | neoneye/loda | 22 | 178701 | ; A179058: Number of non-attacking placements of 3 rooks on an n X n board.
; 0,0,6,96,600,2400,7350,18816,42336,86400,163350,290400,490776,794976,1242150,1881600,2774400,3995136,5633766,7797600,10613400,14229600,18818646,24579456,31740000,40560000,51333750,64393056,80110296,98901600,121230150,147609600,178607616,21484... |
samples/list_user.adb | My-Colaborations/ada-ado | 0 | 12807 | -----------------------------------------------------------------------
-- List_User -- Example of queries
-- Copyright (C) 2010, 2011, 2018 <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 License... |
Codes/Chapter10/P03/P10-03.asm | ar-ekt/Dandamudi-Assembly-Solutions | 8 | 245795 | global _start
extern ExitProcess
%INCLUDE "lib.h"
%macro puti 1
i2a DWORD %1, buffer
puts buffer
%endmacro
section .data
MAX_STRING_SIZE EQU 100
NULL EQU 0
NEWLINE db 10, NULL
MSG_STRING_INPUT db "Enter string: ", NULL
MSG_OUTPUT db "Result: ", NULL
section .bss
buffer r... |
.emacs.d/elpa/wisi-3.1.3/wisitoken-bnf-output_ada.adb | caqg/linux-home | 0 | 18216 | <reponame>caqg/linux-home
-- Abstract :
--
-- Output Ada code implementing the grammar defined by input
-- parameters, and a parser for that grammar. The grammar parser
-- actions must be Ada.
--
-- Copyright (C) 2017 - 2020 Free Software Foundation, Inc.
--
-- The WisiToken package is free software; you can redi... |
assembler/tests/t_900addr/t_900addr.asm | paulscottrobson/RCA-Cosmac-VIP-III | 0 | 246678 | cpu 96c141
page 0
maxmode on
; ordinary case with dest=reg and src=mem:
; operand & default autoinc/dec amount is given by register
; 8 bit:
LD A,(XBC+) ; hex = C5 E4 21
LD A,(XBC+:1)
LD A,(XBC++1)
LD A,(XBC+:2) ; disassembler 1 : hex = C5 E5 21
LD A,(XBC++2) ; disassembler 2 : hex = C5 E5 21
LD A,(XBC+... |
Syntax/Type.agda | Lolirofle/stuff-in-agda | 6 | 9729 | <reponame>Lolirofle/stuff-in-agda<filename>Syntax/Type.agda
module Syntax.Type where
open import Type
-- Assures that a value has a certain type
type-ascript : ∀{ℓ} → (T : Type{ℓ}) → T → T
type-ascript T x = x
{-# INLINE type-ascript #-}
_:-[_] = type-ascript
infixr 0.98 _:-[_]
{-# INLINE _:-[_] #-}
infixl 10 type-... |
2-low/neural/source/private/neural-privvy.adb | charlie5/lace | 20 | 3461 | <reponame>charlie5/lace<filename>2-low/neural/source/private/neural-privvy.adb<gh_stars>10-100
package body Neural.Privvy is
procedure dummy is begin null; end dummy; -- placeholder for future subprograms.
end Neural.Privvy;
|
source/encodings-utility-generic_sequence_buffers.ads | Vovanium/Encodings | 0 | 21099 | generic
type Character_Type is (<>);
type String_Type is array(Positive range <>) of Character_Type;
Max_Length: Positive;
package Encodings.Utility.Generic_Sequence_Buffers is
function Remaining_Length(
Data: String_Type;
Last: Natural
) return Natural is (
if Last >= Data'Last then 0 else Data'Last - Last... |
source/nodes/program-nodes-discriminant_associations.adb | reznikmm/gela | 0 | 18614 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Discriminant_Associations is
function Create
(Selector_Names : Program.Elements.Identifiers
.Identifier_Vector_Access;
... |
test/Succeed/Issue2229Reexport2.agda | shlevy/agda | 1,989 | 945 | <reponame>shlevy/agda<filename>test/Succeed/Issue2229Reexport2.agda
module Issue2229Reexport2 where
open import Issue2229Base public
|
libsrc/stdio_new/file/fgets.asm | meesokim/z88dk | 8 | 178191 | <filename>libsrc/stdio_new/file/fgets.asm
; wrapper for function pointers
PUBLIC fgets
EXTERN fgets_callee
EXTERN ASMDISP_FGETS_CALLEE
.fgets
pop de
pop ix
pop bc
pop hl
push hl
push bc
push hl
push de
jp fgets_callee + ASMDISP_FGETS_CALLEE
|
Uninstall Cordova.applescript | SpiderOak/incubator-cordova-ios | 1 | 4156 | <gh_stars>1-10
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "Lic... |
src/test/resources/data/potests/test59.asm | cpcitor/mdlz80optimizer | 36 | 4316 | <reponame>cpcitor/mdlz80optimizer
; Test: corner case found by Bengalack
ld hl,variable ; this block should be optimized
ld c,(hl)
inc hl
ld b,(hl)
ld a,(bc)
ld (variable3),a
ld hl,(variable) ; this block should not be optimized
ld c,(hl)
inc hl
ld b,(hl)
ld a,(bc)
ld (variable3),a
loop:
jr loop
vari... |
paging/kernel_setup.asm | ilya101010/asm_studies | 1 | 83633 | format ELF
include 'macro.inc'
include 'paging.inc'
include 'procedures.inc'
public kernel_setup
extrn init_paging
section '.text' executable ; align 1000h
Use32
kernel_setup:
ccall print, string, 1, 0x0a
jmp init_paging
jmp $
dd 0x42,0x42,0x42
string: db "kernel_setup",0
; http://wiki.osdev.org/User:Mduft/Hig... |
Task/Tree-traversal/AppleScript/tree-traversal.applescript | LaudateCorpus1/RosettaCodeData | 1 | 1673 | <reponame>LaudateCorpus1/RosettaCodeData
-- foldTree :: (a -> [b] -> b) -> Tree a -> b
on foldTree(f)
script
on |λ|(tree)
script go
property g : mReturn(f)'s |λ|
on |λ|(oNode)
g(root of oNode, |λ|(nest of oNode) ¬
of map... |
programs/oeis/090/A090199.asm | neoneye/loda | 22 | 173850 | <reponame>neoneye/loda<filename>programs/oeis/090/A090199.asm
; A090199: a(n) = N(6,n), where N(6,x) is the 6th Narayana polynomial.
; 1,132,903,3304,8925,20076,39907,72528,123129,198100,305151,453432,653653,918204,1261275,1698976,2249457,2933028,3772279,4792200,6020301,7486732,9224403,11269104,13659625,16437876,196490... |
src/system/file-delete.asm | Pentium1080Ti/x86-assembly | 0 | 93575 | <filename>src/system/file-delete.asm
%include 'src/include/functions.asm'
SECTION .data
filename db 'readme.md', 0h
SECTION .text
global _start
_start:
mov ebx, filename
mov eax, 10 ; sys_unlink opcode
int 80h
call quit |
alloy4fun_models/trashltl/models/5/n3vECZX3FoYB79eJC.als | Kaixi26/org.alloytools.alloy | 0 | 2865 | <gh_stars>0
open main
pred idn3vECZX3FoYB79eJC_prop6 {
all f: File | f in Trash implies always f in Trash
}
pred __repair { idn3vECZX3FoYB79eJC_prop6 }
check __repair { idn3vECZX3FoYB79eJC_prop6 <=> prop6o } |
addition_ds_final.asm | Invisible-Luna/8086emu_program | 1 | 167973 | <filename>addition_ds_final.asm
;<NAME>
;119EC0013
;ADDITION OF 5 NUMBERS USING DATA SEGMENT USING CONSTANT OFFSET.
.data
MOV ds:1000h, 25h
MOV ds:1001h, 12h
MOV ds:1002h, 15h
MOV ds:1003h, 1Fh
MOV ds:1004h, 2Bh
.code
MOV AL, 00h
MOV BX,1000h
ADD AL, ds:[BX]
INC BX... |
test/asset/agda-stdlib-1.0/Data/Vec/Relation/Unary/All.agda | omega12345/agda-mode | 0 | 5259 | <reponame>omega12345/agda-mode
------------------------------------------------------------------------
-- The Agda standard library
--
-- Vectors where all elements satisfy a given property
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Vec.Rel... |
programs/oeis/301/A301709.asm | neoneye/loda | 22 | 80338 | <gh_stars>10-100
; A301709: Partial sums of A301708.
; 1,7,18,34,56,84,117,155,199,249,304,364,430,502,579,661,749,843,942,1046,1156,1272,1393,1519,1651,1789,1932,2080,2234,2394,2559,2729,2905,3087,3274,3466,3664,3868,4077,4291,4511,4737,4968,5204,5446,5694,5947,6205,6469,6739,7014,7294,7580,7872,8169,8471
mov $1,$0
a... |
Data/List.agda | Lolirofle/stuff-in-agda | 6 | 12605 | module Data.List where
import Lvl
open import Type
private variable ℓ : Lvl.Level
private variable T : Type{ℓ}
infixr 1000 _⊰_
-- A list is a container/collection of elements.
-- • The elements are in a linear order.
-- • The container allows multiples (non-uniqueness of elements in the container).
data List (... |
source/index.asm | svkampen/mangela_c64_demo | 0 | 9843 | <reponame>svkampen/mangela_c64_demo
music_addr=$7000
sid_init = $7000
sid_play = $7003
*=music_addr
!bin "source/fallen_down.sid",,$7e
ctr=$4000
clr=$4004
sprite_location=$2000
*=sprite_location
!source "graphics/sprite1.gpx"
!source "graphics/sprites2.asm"
code_addr=$c000
*=code_addr
!source "source/main.asm"
!sou... |
oeis/317/A317975.asm | neoneye/loda-programs | 11 | 92731 | ; A317975: a(n) = 2*(a(n-1)+a(n-2)+a(n-3))-a(n-4) for n >= 4, with initial terms 0, 1, 1, 0.
; Submitted by <NAME>
; 0,1,1,0,4,9,25,76,216,625,1809,5224,15100,43641,126121,364500,1053424,3044449,8798625,25428496,73489716,212389225,613816249,1773961884,5126845000,14816857041,42821511601,123756465400,357662823084,1033664... |
hide-dock.scpt | tom-james-watson/osx-automation | 1 | 1833 | tell application "System Events"
tell dock preferences to set autohide to true
end tell
|
unit.agda | heades/AUGL | 0 | 9509 | module unit where
open import level
open import eq
data ⊤ {ℓ : Level} : Set ℓ where
triv : ⊤
{-# COMPILE GHC ⊤ = data () (()) #-}
single-range : ∀{ℓ}{U : Set ℓ}{g : U → ⊤ {ℓ}} → ∀{u : U} → g u ≡ triv
single-range {_}{U}{g}{u} with g u
... | triv = refl
|
oeis/157/A157884.asm | neoneye/loda-programs | 11 | 174798 | ; A157884: For each positive integer m there exist at least one prime Q=Q(m) and at least one prime P=P(m) such that (2m-1)^2 < Q < (2m)^2 - (2m-1) <= P < (2m)^2. Sequence lists pairs P(m), Q(m) for m >= 1. If more than one prime for P or Q exists, we take the smallest.
; 2,3,11,13,29,31,53,59,83,97,127,137,173,191,227... |
src/src/c/borlandc/dpmi32/delay.asm | amindlost/wdosx | 7 | 2449 | .386
.model flat,C
PUBLIC delay
.code
delay proc near
mov edx,[esp+4]
shl edx,10
shld ecx,edx,16
mov ah,86h
int 15h
ret
delay endp
end
|
src/main/java/org/cidarlab/phoenix/failuremode/ReverseStrandTerminators.g4 | CIDARLAB/alphaPhoenix | 0 | 3597 | grammar ReverseStrandTerminators;
@lexer::header{
package org.cidarlab.phoenix.failuremode;
}
@parser::header{
package org.cidarlab.phoenix.failuremode;
}
root
: module
;
module
: ((reverse_strand_terminators)+ (wildcard)*)+
| ((wildcard)* (reverse_strand_terminators)+)+
| ((wildcard)* (... |
bios_fdc_30/serial_8256.asm | ncb85/NCB85V2-BIOS | 4 | 85508 | <filename>bios_fdc_30/serial_8256.asm
; minimalistic BIOS serial routines
; using UART port of 8256 MUART
;------------------------------------------------------------------------------
; * CONST - Console status
; Key press (if any) is stored in front
; I: -
; O: Z=0, A=255 - key press
; Z=1, A=0 - no key press
;... |
Musics/Othersongs/source/luca_ending.asm | kosmonautdnb/TheLandsOfZador | 0 | 29094 | <gh_stars>0
kp_song
kp_reloc
dc.w kp_song_registers
dc.w kp_speed
dc.w kp_grooveboxpos
dc.w kp_grooveboxlen
dc.w kp_groovebox
dc.w kp_patternlen
dc.w kp_patternmap_lo
dc.w kp_patternmap_hi
dc.w kp_insmap_lo
dc.w kp_insmap_hi
dc.w kp_volmap_lo
dc.w kp_volmap_hi
dc.w kp_sequence
kp_song_registers
kp_speed
d... |
oeis/216/A216244.asm | neoneye/loda-programs | 11 | 240278 | <reponame>neoneye/loda-programs
; A216244: a(n) = (prime(n)^2 - 1)/2 for n >= 2.
; Submitted by <NAME>
; 4,12,24,60,84,144,180,264,420,480,684,840,924,1104,1404,1740,1860,2244,2520,2664,3120,3444,3960,4704,5100,5304,5724,5940,6384,8064,8580,9384,9660,11100,11400,12324,13284,13944,14964,16020,16380,18240,18624,19404,198... |
theorems/cw/cohomology/GridLongExactSequence.agda | mikeshulman/HoTT-Agda | 0 | 14669 | <gh_stars>0
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import cohomology.Theory
open import groups.ExactSequence
open import groups.HomSequence
module cw.cohomology.GridLongExactSequence {i} (CT : CohomologyTheory i)
{X Y Z : Ptd i} (n : ℤ) (f : X ⊙→ Y) (g : Y ⊙→ Z) where
open CohomologyTheory C... |
Aurora/Aurora/x64/Debug/svga_screen_util.asm | manaskamal/aurora-xeneva | 8 | 179403 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC ?g_screen@@3U_screen_console_@@A ; g_screen
_BSS SEGMENT
?g_screen@@3U_screen_console_@@A DB 048H DUP (?) ; g_screen
_BSS ENDS
CONST SEGMENT
$SG5619 DB 'GMR Pages -> %x', ... |
env/zx/common/serialLnBC.asm | pjshumphreys/querycsv | 18 | 88084 | <reponame>pjshumphreys/querycsv
serialLnBC:
push af
push hl
push bc
push de
ld hl, bc
jr serialLn2
serialLnHL:
push af
push hl
push bc
push de
serialLn2:
ld de, numstr
; Get the number in hl as text in de
ld bc, -10000
call one
ld bc, -1000
call one
ld bc, -100
call one
ld bc, -10... |
oeis/172/A172060.asm | neoneye/loda-programs | 11 | 240346 | ; A172060: The number of returns to the origin in all possible one-dimensional walks of length 2n.
; Submitted by <NAME>
; 0,2,14,76,374,1748,7916,35096,153254,661636,2831300,12030632,50826684,213707336,894945944,3734901296,15540685574,64496348516,267060529364,1103587381256,4552196053844,18747042089816,77092267322984,3... |
oeis/107/A107458.asm | neoneye/loda-programs | 11 | 168897 | <reponame>neoneye/loda-programs
; A107458: Expansion of g.f.: (1-x^2-x^3)/( (1+x)*(1-x-x^3) ).
; 1,0,0,0,1,0,1,1,2,2,4,5,8,11,17,24,36,52,77,112,165,241,354,518,760,1113,1632,2391,3505,5136,7528,11032,16169,23696,34729,50897,74594,109322,160220,234813,344136,504355,739169,1083304,1587660,2326828,3410133,4997792,7324621... |
Library/Impex/Main/mainC.asm | steakknife/pcgeos | 504 | 3492 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Impex
FILE: mainC.asm
AUTHOR: <NAME>, Jul 30, 1992
ROUTINES:
Name Description
---- -----------
REVISION HIS... |
basic_associations/one_to_one.als | nowavailable/alloy_als_study | 0 | 2564 | <gh_stars>0
module one_to_one
sig Dad {
son: lone Son
}
sig Son {
dad: one Dad
}
fact RelDadSon {
// 相互的な参照には必須
// 「"父を持つ子"の、親子関係を反転させると、それは"子を持つ父"に等しい」
Dad <: son = ~(Son <: dad)
}
run {} //for 5
|
Arquitetura de Computadores/Atividade 02/ex03.asm | antuniooh/ExercisesFEI | 1 | 244156 | <reponame>antuniooh/ExercisesFEI<filename>Arquitetura de Computadores/Atividade 02/ex03.asm
MOV A, R
MOV B, R0
DIV AB
MOV R5, A
MOV R4, B
|
AdaToolsTests/krunchpa.ads | gitter-badger/Ada-tools | 0 | 27442 | package KrunchPackage is
--@description Tests the krunch behavior
end KrunchPackage; |
oeis/144/A144601.asm | neoneye/loda-programs | 11 | 96316 | <filename>oeis/144/A144601.asm
; A144601: Christoffel word of slope 3/11.
; Submitted by <NAME>(s3)
; 0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0
mul $0,2
mov $1,3... |
ram.asm | jorgicor/altair | 0 | 161629 | ; ----------------------------------------------------------------------------
; Altair, CIDLESA's 1981 arcade game remade for the ZX Spectrum and
; Amstrad CPC.
; ----------------------------------------------------------------------------
; ----------------------------------------------------------------------------... |
programs/oeis/266/A266977.asm | karttu/loda | 1 | 177491 | <reponame>karttu/loda<filename>programs/oeis/266/A266977.asm
; A266977: Number of ON (black) cells in the n-th iteration of the "Rule 78" elementary cellular automaton starting with a single ON (black) cell.
; 1,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,... |
test/p42.asm | slcz/hummingbird | 0 | 98079 | <filename>test/p42.asm
#include "hi.asm"
li(1)
st 0
jmp 1f
.=0x100
1:
li(0xc5)
st 0x10
li(0x5c)
xchg 0
ld(0x10)
hlt
|
src/main/antlr4/org/jabref/search/Search.g4 | BortoBoy/jabref2 | 0 | 5688 | /**
* This is the antlr v4 grammar for defining search expressions.
*
* These search expressions are used for searching the bibtex library. They are heavily used for search groups.
*/
grammar Search;
WS: [ \t] -> skip; // whitespace is ignored/skipped
LPAREN:'(';
RPAREN:')';
EQUAL:'='; // semanticall... |
src/grammar/mips.g4 | PAN-Ziyue/MIPSino | 4 | 7171 | grammar mips;
prog: stat+;
stat:
inst NEWLINE
| inst
| label inst NEWLINE
| label inst
| label NEWLINE
| label
| NEWLINE
| COMMENT;
inst: r_type | i_type | j_type | pseudo | directive;
directive:
op = '.byte' data = unsigned_imm
| op = '.half' data = unsigned_imm
| op = '.word' data = unsigned_imm
| op ... |
original/IntelliKeys/MacOSX/IKUSB_Build_Scripts/BuildRB.applescript | ATMakersBill/OpenIKeys | 11 | 2413 | do shell script "open /ClassroomSuite/IntelliKeys/MacOSX/ControlPanel/IntelliKeys\\ USB.rbp"
delay 30
tell application "System Events"
keystroke "b" using {command down}
#delay 3
#keystroke tab
#delay 3
#keystroke return
end tell
delay 15
tell application "Xojo" to quit
do shell script "cp -R " & quoted form... |
grammars/verilogPreprocParserPy.g4 | the-moog/hdlConvertor | 0 | 1864 | parser grammar verilogPreprocParserPy;
options { tokenVocab=verilogPreprocLexerPy;}
@parser::header {
from hdl_language_enum import HDLLanguageEnum
class hdlConvertor:
Language = HDLLanguageEnum()
}
file: text* EOF;
text:
preprocess_directive
| LINE_COMMENT
| CODE
| NEW_LINE
| NUM
| ID
| STR... |
alloy4fun_models/trashltl/models/4/77hSRQzai6sZRd4kf.als | Kaixi26/org.alloytools.alloy | 0 | 2734 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id77hSRQzai6sZRd4kf_prop5 {
always some f : File | eventually f not in File
}
pred __repair { id77hSRQzai6sZRd4kf_prop5 }
check __repair { id77hSRQzai6sZRd4kf_prop5 <=> prop5o } |
programs/oeis/084/A084516.asm | jmorken/loda | 1 | 18826 | ; A084516: The length of each successively larger, indecomposable 3-ball ground-state site swap given in A084511, i.e., the number of digits in each term of A084512.
; 1,2,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,... |
test/interaction/Issue3080.agda | cruhland/agda | 1,989 | 17462 |
module Issue3080 where
open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
data Fin (m : Nat) : Set where
fzero' : (n : Nat) (p : m ≡ suc n) → Fin m
fsuc' : (n : Nat) (p : m ≡ suc n) (i : Fin n) → Fin m
lift : (m : Nat) (i : Fin m) → Fin (suc m)
lift m (fzero' n p) = {!p!}
lift m (fsuc' n p i) = {!... |
src/skill-string_pools.ads | skill-lang/adaCommon | 0 | 24861 | <filename>src/skill-string_pools.ads
-- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ string pool management --
-- |___/_|\_\_|_|____| by: <NAME> ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.