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 |
|---|---|---|---|---|
Sources/Library/matrices_3d.ads | ForYouEyesOnly/Space-Convoy | 1 | 1131 | <reponame>ForYouEyesOnly/Space-Convoy
with Matrices;
pragma Elaborate_All (Matrices);
package Matrices_3D is new Matrices (3);
|
data/maps/headers/BillsHouse.asm | opiter09/ASM-Machina | 1 | 23275 | <reponame>opiter09/ASM-Machina
map_header BillsHouse, BILLS_HOUSE, INTERIOR, 0
end_map_header
|
grammar/MODLParser.g4 | MODLanguage/python3-interpreter | 0 | 524 | /*
MIT License
Copyright (c) 2018 NUM Technology Ltd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publis... |
Ada/src/Problem_29.adb | Tim-Tom/project-euler | 0 | 21750 | with Ada.Text_IO;
with Ada.Integer_Text_IO;
with Ada.Containers.Ordered_Sets;
package body Problem_29 is
package IO renames Ada.Text_IO;
package I_IO renames Ada.Integer_Text_IO;
package Positive_Set is new Ada.Containers.Ordered_Sets(Positive);
subtype Parameter is Integer range 2 .. 100;
type Special_A... |
fracGC/Extraction.agda | JacquesCarette/pi-dual | 14 | 4245 | <filename>fracGC/Extraction.agda
{-# OPTIONS --safe #-}
module Extraction where
open import Data.Empty
open import Data.Unit
open import Data.Product
open import Data.Sum
open import Data.Maybe
open import Relation.Binary.PropositionalEquality
open import Relation.Binary.HeterogeneousEquality
open import Relation.Nulla... |
tests/support/usb_testing-udc_stub.ads | JeremyGrosser/usb_embedded | 0 | 16362 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, AdaCore --
-- --
-- ... |
Chapter07/structures_win.asm | PacktPublishing/Mastering-Assembly-Programming | 34 | 8985 | ; File: src\template_win.asm
; First of all, we tell the compiler which type of executable
; we want it to be. In our case it is a 32-bit PE executable.
format PE GUI
; Tell the compiler where we want our program to start - define
; the entry point. We want it to be at the place labeled with '_start'.
entry _... |
templateHelper.applescript | mmynsted/helper-scripts | 0 | 4440 | (*
<NAME> 2020-04-18
Growing Liberty LLC
Simplify providing values for placeholders used in templates
*)
use framework "Foundation"
use scripting additions
-- properties to make script more DRY
property ca : a reference to current application -- current application
(*
-- might want later to read in ... |
boot/interrupts.asm | paule32/deBlows | 0 | 8374 | <reponame>paule32/deBlows<filename>boot/interrupts.asm
; interrupts.asm
; contains all system exception interrupts
; and other system interface interrupts
; note: exception 15 and 20-31 are Intel Reserved
%define i386
%macro SAVE_REGS 0
%ifdef i386
push eax
push ebx
push ecx
push edx
; push esi
; push edi
; pu... |
assembler/tests/t_longline/t_longline.asm | paulscottrobson/RCA-Cosmac-VIP-III | 0 | 90538 | cpu 68000
; single line with very long comment - should be truncated upon reading
org 0 ; this is a very long line wefeilurfuewvbdfwvwmhgedvwmhtdvwhdtwmhdtwdenhtgwdfrgwdfgwrdcngdrscdwm jdzwgeurg2 jezdgwdezgwr364rjdfgjdwejtzdfwjzre34jzehtdfwejtdwjzerfwjztfasdgvyxcmycvsmdfwejtdfwzetr7i34ti2wjkdgweszgfwejfg3i76r4t34i... |
UFAL/OAC/Lista 1/Q3.asm | NelsonGomesNeto/ProgramC | 3 | 3721 | <gh_stars>1-10
.data
string: .space 100
revString: .space 100
.text
# Main
addi $a1, $zero, 100 # prepare to read size 100 string
jal readString # call read string
la $s0, ($a0) # s0 = pointer to normal string
la $a0, ($s0) # a0 = pointer to normal string
jal verifyString # call verify st... |
src/coreclr/src/vm/amd64/JitHelpers_SingleAppDomain.asm | abock/runtime | 6 | 1578 | <filename>src/coreclr/src/vm/amd64/JitHelpers_SingleAppDomain.asm<gh_stars>1-10
; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
; ==++==
;
;
; ==--==
; **************... |
U9200/CardFiles/Source/exec1.asm | sboydlns/univacemulators | 2 | 91004 | ***********************************************************
*
* Exec1
*
* Recreated from disassembled object code.
*
* Comments are mine based on my interpretation of
* the code.
*
* <NAME>
* April 2016
*
***********************************************************
... |
files/yabai/new_iterm_window.scpt | brileb73/dotfiles | 2 | 1032 | if application "iTerm" is running then
tell application "iTerm"
create window with default profile
end tell
else
activate application "iTerm"
end if
|
src/Data/QuadTree/FunctorProofs/Valid-QuadrantFunctor.agda | JonathanBrouwer/research-project | 1 | 13497 | -- {-# OPTIONS --show-implicit --show-irrelevant #-}
module Data.QuadTree.FunctorProofs.Valid-QuadrantFunctor where
open import Haskell.Prelude renaming (zero to Z; suc to S)
open import Data.Logic
open import Data.QuadTree.InternalAgda
open import Agda.Primitive
open import Data.QuadTree.FunctorProofs.FunctorLaws
ope... |
Antlr/Pseudo.g4 | stoeffn/Pseudo | 0 | 187 | grammar Pseudo;
// ##########################################
// ## PARSER ##
// ##########################################
program
: blockList
;
// Blocks
blockList
: block*
;
block
: algorithm
| condition
| loop
| statementList
;
// Statements
s... |
data/pokemon/dex_entries/shellder.asm | AtmaBuster/pokeplat-gen2 | 6 | 240369 | <gh_stars>1-10
db "BIVALVE@" ; species name
db "Clamping on to an"
next "opponent reveals"
next "its vulnerable"
page "parts, so it uses"
next "this move only as"
next "a last resort.@"
|
Test/Cases/3.Python3.g4 | studentmain/SempredTranslation | 0 | 6353 | grammar g;
L: 'L' {self.L()};
p: L {self.P()}?; |
test/asset/agda-stdlib-1.0/Data/List/Relation/Ternary/Interleaving.agda | omega12345/agda-mode | 0 | 331 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Generalised notion of interleaving two lists into one in an
-- order-preserving manner
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Lis... |
Tests/Test10/2.asm | 5ayam5/COL216-A5 | 0 | 22788 | addi $t0, $zero, 10
addi $t1, $zero, 20
addi $t2, $t1, 20
addi $s0, $zero, 1024
addi $s1, $t2, 2000
sw $t0, 0($s0)
sw $t1, 0($s1)
lw $t2, 0($s1)
lw $t1, 0($s0) |
sp20161634_proj3/2_5.asm | catensia/SP_Project | 1 | 99024 | COPY START 0
FIRST STL RETADR
LDB #LENGTH
BASE LENGTH
CLOOP +JSUB RDREC
LDA LENGTH
COMP #0
JEQ ENDFIL
+JSUB WRREC
J CLOOP
ENDFIL LDA EOF
STA BUFFER
LDA #3
STA LENGTH
+JSUB WRREC
J @RETADR
EO... |
tests_manual/calltest.asm | heinsm/qira | 2,056 | 245279 | <reponame>heinsm/qira
push 7
call fxn
mov rax, 60
syscall
fxn:
ret
|
base/ntos/ke/amd64/callout.asm | npocmaka/Windows-Server-2003 | 17 | 26270 | <reponame>npocmaka/Windows-Server-2003
title "Call Out to User Mode"
;++
;
; Copyright (c) 2000 Microsoft Corporation
;
; Module Name:
;
; callout.asm
;
; Abstract:
;
; This module implements the code necessary to call out from kernel
; mode to user mode.
;
; Author:
;
; <NAME> (davec)... |
2x3/BLM2021 - x86 ASM/Examples/051219d.asm | LyotardPostmodernizm/YTU-CE | 1 | 247319 | <reponame>LyotardPostmodernizm/YTU-CE<gh_stars>1-10
PUBLIC SAY
mycs SEGMENT BYTE PUBLIC 'kd'
ASSUME CS:mycs
SAY PROC FAR
PUSH CX
PUSH DI
PUSH BX
MOV BP, SP
MOV BX, [BP+14]
MOV CX, [BP+12]
MOV DI, [BP+10]
XOR AX, AX
L1: CMP BX, [DI]
JNE atla
INC AX
atla: ADD DI, 2
LOOP L1
P... |
llvm-gcc-4.2-2.9/gcc/ada/a-nscefu.ads | vidkidz/crossbridge | 1 | 156 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
programs/oeis/280/A280098.asm | neoneye/loda | 22 | 15780 | <reponame>neoneye/loda
; A280098: The sum of the divisors of 24*n - 1, divided by 24.
; 1,2,3,5,6,7,7,8,11,10,11,14,13,17,15,16,19,18,28,20,21,24,25,31,25,30,27,31,35,30,31,35,38,41,35,36,37,38,54,46,41,45,43,53,49,46,57,48,62,55,51,55,56,76,55,60,57,63,71,60,80,62,63,77,65,66,67,78,83,74,77,79,78,93,86,76,77,78,95,85,... |
note/note.asm | yupferris/makeshift | 29 | 89442 | .pc = $0801 "autostart"
:BasicUpstart(entry)
.pc = $080d "entry"
entry:
sei
// Bank out BASIC and kernal ROMs
lda #$35
sta $01
jsr mask_nmi
// Turn off CIA interrupts
lda #$7f
sta $dc0d
sta $dd0d
// Enable raster interrupts
lda #$01
sta $d01a
jsr ini... |
oeis/200/A200887.asm | neoneye/loda-programs | 11 | 243192 | ; A200887: Number of 0..n arrays x(0..3) of 4 elements without any interior element greater than both neighbors.
; 12,51,144,325,636,1127,1856,2889,4300,6171,8592,11661,15484,20175,25856,32657,40716,50179,61200,73941,88572,105271,124224,145625,169676,196587,226576,259869,296700,337311,381952,430881,484364,542675,606096... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2659.asm | ljhsiun2/medusa | 9 | 173161 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2659.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1e010, %r8
nop
nop
cmp $12128, %r14
movb (%r8), %r13b
nop
nop
nop
nop
nop
and $4... |
oeis/055/A055847.asm | neoneye/loda-programs | 11 | 87065 | <filename>oeis/055/A055847.asm
; A055847: a(0)=1, a(1)=6, a(n)=49*8^(n-2) if n>=2.
; Submitted by <NAME>(s2)
; 1,6,49,392,3136,25088,200704,1605632,12845056,102760448,822083584,6576668672,52613349376,420906795008,3367254360064,26938034880512,215504279044096,1724034232352768,13792273858822144,110338190870577152
sub $0,... |
monopoly.als | marcelo140/monopoly | 0 | 733 | open util/ordering[State]
sig State {}
abstract sig Type {}
sig Service extends Type {}
sig Color extends Type {}
sig Property {
type: one Type
}
abstract sig Building {}
sig Hotel extends Building {}
sig House extends Building {}
sig Player {
players: set State,
properties: Property -> State,
houses: Prop... |
tests/gl/gl_test-context.adb | Roldak/OpenGLAda | 79 | 30400 | <filename>tests/gl/gl_test-context.adb
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Ada.Strings.Unbounded;
with Ada.Text_IO;
with GL.Context;
with GL_Test.Display_Backend;
procedure GL_Test.Context is
procedure Display_Context_Information is... |
src/Terminal.agda | cruhland/agda-editor | 0 | 1684 | <gh_stars>0
module Terminal where
open import Agda.Builtin.Word
open import BasicIO
open import Data.Bool
open import Data.Char hiding (show)
open import Data.List hiding (_++_)
open import Data.String hiding (show)
open import Data.Unit
open import ByteCount
open import Int
open import Function
open import Pair
open ... |
audio/sfx/denied_1.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 166202 | SFX_Denied_1_Ch4:
duty 3
unknownsfx0x10 90
unknownsfx0x20 4, 240, 0, 5
unknownsfx0x10 8
unknownsfx0x20 4, 0, 0, 0
unknownsfx0x20 15, 240, 0, 5
unknownsfx0x20 1, 0, 0, 0
endchannel
SFX_Denied_1_Ch5:
duty 3
unknownsfx0x20 4, 240, 1, 4
unknownsfx0x20 4, 0, 0, 0
unknownsfx0x20 15, 240, 1, 4
unknownsfx0x20 1,... |
programs/oeis/085/A085060.asm | jmorken/loda | 1 | 27703 | <reponame>jmorken/loda
; A085060: Integer reached in A085058.
; 3,12,12,39,21,39,30,120,39,66,48,120,57,93,66,363,75,120,84,201,93,147,102,363,111,174,120,282,129,201,138,1092,147,228,156,363,165,255,174,606,183,282,192,444,201,309,210,1092,219,336,228,525,237,363,246,849,255,390
mov $1,$0
add $1,4
lpb $0
sub $0,1
... |
semantic.transact/src/main/java/gen/antlr/sql/exprs/SelectParts.g4 | odys-z/semantic-transact | 0 | 4409 | /* Select parts, such as select_list_elem.
* see https://github.com/antlr/grammars-v4/blob/master/tsql/TSqlParser.g4
* compile:
* java -jar /home/ody/d/ubuntu/antlr4/antlr-4.7.1-complete.jar SelectParts.g4 -visitor -package gen.antlr.sql.select
*/
parser grammar SelectParts;
options { tokenVocab=TSqlLexer; }
impor... |
oeis/084/A084102.asm | neoneye/loda-programs | 11 | 8727 | <filename>oeis/084/A084102.asm<gh_stars>10-100
; A084102: Inverse binomial transform of A084101.
; Submitted by <NAME>
; 1,2,-2,0,4,-8,8,0,-16,32,-32,0,64,-128,128,0,-256,512,-512,0,1024,-2048,2048,0,-4096,8192,-8192,0,16384,-32768,32768,0,-65536,131072,-131072,0,262144,-524288,524288,0,-1048576,2097152,-2097152,0,4194... |
kernel/boot/boot.asm | UtkarshMe/Jazz | 7 | 175009 | ; ---------------------------------------------------------------------
; The kernel for Jazz (github.com/coditva/Jazz)
; Author: <NAME>
; vi:filetype=nasm
; ---------------------------------------------------------------------
bits 32
align 4
; ---------------------------------------------------------------------
; ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/debug13.ads | best08618/asylo | 7 | 18774 | package Debug13 is
procedure Compile (P : Natural);
end Debug13;
|
data/jpred4/jp_batch_1613899824__3CUKE9x/jp_batch_1613899824__3CUKE9x.als | jonriege/predict-protein-structure | 0 | 3188 | <filename>data/jpred4/jp_batch_1613899824__3CUKE9x/jp_batch_1613899824__3CUKE9x.als
SILENT_MODE
BLOCK_FILE jp_batch_1613899824__3CUKE9x.concise.blc
MAX_NSEQ 870
MAX_INPUT_LEN 872
OUTPUT_FILE jp_batch_1613899824__3CUKE9x.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAUL... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_2667.asm | ljhsiun2/medusa | 9 | 10672 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1b25e, %rsi
lea addresses_UC_ht+0x17b66, %rdi
nop
nop
nop
nop
cmp $48676, %rbx
mov $37, %rcx
rep movsw
nop
nop
nop
nop
cmp $61748, %r8
lea addresses_A_ht+0x1a8fe, %rsi
lea ad... |
src/opencl/gpuimageproc.ads | sebsgit/textproc | 0 | 15914 | <filename>src/opencl/gpuimageproc.ads<gh_stars>0
with opencl;
with cl_objects;
with PixelArray.Gpu;
with Ada.Finalization;
package GpuImageProc is
pragma Elaborate_Body;
pragma Assertion_Policy (Pre => Check,
Post => Check,
Type_Invariant => Check);
ty... |
sources/md/markdown-fenced_code_blocks.adb | reznikmm/markdown | 0 | 13837 | -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with League.Regexps;
with Markdown.Visitors;
package body Markdown.Fenced_Code_Blocks is
Pattern : constant League.Regexps.Regexp_Pattern :=
League.Regexps.C... |
testcases/jsr.asm | Moodrammer/PDP-11 | 9 | 6352 | <filename>testcases/jsr.asm<gh_stars>1-10
MOV #1800,R6 ;address 0 to initialize stack pointer
JSR serviceRoutine ;address 2
mov #15, R4 ;address 4
HLT ; address 6
serviceRoutine
mov #2, R1 ;address 7
loopa:
ADD #20,R0 ;address 9
dec R1 ; address 11
bne loopa ;address 12
RTS ; address 13
|
projects/batfish/src/org/batfish/grammar/cisco/Cisco_mpls.g4 | Alexia23/batfish | 1 | 3831 | <gh_stars>1-10
parser grammar Cisco_mpls;
import Cisco_common;
options {
tokenVocab = CiscoLexer;
}
implst_stanza
:
null_implst_stanza | null_mplst_stanza
;
interface_mplst_stanza
:
INTERFACE name = interface_name NEWLINE implst_stanza*
;
mpls_ldp_stanza
:
MPLS LDP NEWLINE mplsl_stanza*
;
mpls_traffic... |
examples/list.adb | ytomino/iconv-ada | 0 | 17735 | <filename>examples/list.adb
with iconv;
with Ada.Text_IO; use Ada.Text_IO;
procedure list is
procedure Process (Name : in String) is
begin
Put_Line (Name);
end Process;
begin
iconv.Iterate (Process'Access);
end list;
|
examples/usart_interruptive_echo_issue_dbg/src/test.adb | pvrego/adaino | 8 | 259 | <reponame>pvrego/adaino
with AVR;
with AVR.USART;
package body Test is
procedure Handle_Interrupt_USART1_RX is
Curr_Buffer : AVR.Byte_Type;
begin
Curr_Buffer := AVR.USART.Reg_USART1.UDR;
AVR.USART.Reg_USART1.UDR := Curr_Buffer;
end Handle_Interrupt_USART1_RX;
end Test;
|
arch/x86/src/cpu/idt/install.asm | 0x1C1B/jatos | 1 | 165802 | bits 32
section .text
global idt_install
idt_install:
mov eax, [esp + 0x04] ; IDT pointer passed as a parameter
lidt [eax] ; Load passed IDT
ret |
dino/lcs/item/5B.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 22510 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
00FE54 move.b ($e,A2), ($5b,A0) [enemy+5C, etc+5C, item+5C]
00FE5A move.b ($f,A2), ($96,A0) [enemy+5B, etc+5B, item+5B]
copyright zengfr site:http://github.com/zengfr/romhack
|
src/fltk-images-bitmaps.adb | micahwelf/FLTK-Ada | 1 | 7072 | <reponame>micahwelf/FLTK-Ada
with
Interfaces.C,
System;
use type
System.Address;
package body FLTK.Images.Bitmaps is
procedure free_fl_bitmap
(I : in System.Address);
pragma Import (C, free_fl_bitmap, "free_fl_bitmap");
pragma Inline (free_fl_bitmap);
function fl_bitmap_... |
examples/Preload Stadium Transformations/Core/Reset isLoaded.asm | rapito/VSCode-PowerPC-Syntax | 13 | 1033 | <filename>examples/Preload Stadium Transformations/Core/Reset isLoaded.asm
################################################################################
# Address: 801d4f14
################################################################################
.include "Common.s"
.include "Common/Preload Stadium Transf... |
Library/GrObj/UI/uiRotateControl.asm | steakknife/pcgeos | 504 | 91367 | <filename>Library/GrObj/UI/uiRotateControl.asm<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: uiRotateControl.asm
AUTHOR: <NAME>
METHODS:
Name Description
---- ---------... |
src/container.agda | pcapriotti/agda-base | 20 | 8771 | <reponame>pcapriotti/agda-base<gh_stars>10-100
{-# OPTIONS --without-K #-}
module container where
import container.core
import container.fixpoint
import container.equality
import container.m
import container.w
|
models/amalgam/misc/why-need-desugar-alpha.als | transclosure/Amalgam | 4 | 967 | /*
Wrote: all t : T | some (t.rel & T1)
Intended: all t : TA | some (t.rel & T1)
Unintended: all t : TB | some (t.rel & T1)
However, it's possible that the model that the tool shows will be:
rel = {(TA, TA)}
Without atom TB, it's impossible to see that some (TB, TA) is LN, so users can't
discover the overconstraint
... |
src/Implicits/Resolution/Finite/Decidable.agda | metaborg/ts.agda | 4 | 12065 | <reponame>metaborg/ts.agda<gh_stars>1-10
open import Prelude
module Implicits.Resolution.Finite.Decidable where
open import Coinduction
open import Data.Fin.Substitution
open import Data.List.Any
open Membership-≡
open import Implicits.Syntax
open import Implicits.Syntax.Type.Unification
open import Implicits.Substit... |
agda.agda | AliMD/happy-new-year | 2 | 11413 | <filename>agda.agda
module agda where
open import IO
main = run (putStrLn "Happy New Year 1396")
|
src/com/verilang/VerilogLexer.g4 | MrTsepa/jetbrains-verilog-plugin | 19 | 766 | <filename>src/com/verilang/VerilogLexer.g4
lexer grammar VerilogLexer;
K_module : 'module' ;
K_macromodule : 'macromodule' ;
K_endmodule : 'endmodule' ;
K_B0 : 'B0' ;
K_B1 : 'B1' ;
K_PATHPULSE : 'PATHPULSE' ;
K_always : 'always' ;
K_and : 'and' ;
K_assign : 'assign' ;
K_automatic : 'automatic' ;
K_b0 : 'b0' ;
K_b1 : ... |
Naturals.agda | jmchapman/Relative-Monads | 21 | 15104 | module Naturals where
open import Library
open import Categories
open import Functors
open Fun
record NatT {a b c d}{C : Cat {a}{b}}{D : Cat {c}{d}}(F G : Fun C D) :
Set (a ⊔ b ⊔ c ⊔ d) where
constructor natural
open Cat
field cmp : ∀ {X} → Hom D (OMap F X) (OMap G X)
nat : ∀{X Y}{f : Hom C X Y} → ... |
libsrc/video/tms9918/stdio/ansi/f_ansi_dline.asm | jpoikela/z88dk | 640 | 12447 |
SECTION code_clib
PUBLIC ansi_del_line
EXTERN ansi_del_line_generic
defc ansi_del_line = ansi_del_line_generic
|
decryption.asm | Catobat/z3randomizer | 26 | 170196 |
!CryptoBuffer = "$7F5100"
;!keyBase = <KEY>"
;--------------------------------------------------------------------------------
LoadStaticDecryptionKey:
PHB : PHA : PHX : PHY : PHP
REP #$30 ; set 16-bit accumulator & index registers
LDX.w #StaticDecryptionKey ; Source
LDY.w #!keyBase ; Target
LDA.w #... |
src/float/tensorOps.asm | mathigatti/orga2-tp | 1 | 10239 | ; RECORDATORIOS
; inputs: rdi, rsi, rdx, rcx, r8, r9
; preservar: r12, r13, r14, r15, rbx,
; la pila: rbp, rsp
; devolver cosas por rax o xmmo
; inputs floats: xmm0, xmm1, ..., xmm7
global cost_derivative
global vector_sum
global update_weight
global hadamard_product
global matrix_prod
; YA IMPLEMENTADAS EN C
e... |
test/Succeed/Issue2606.agda | alhassy/agda | 1 | 3975 | -- 2017-06-16, reported by <NAME> on the Agda mailing list
-- WAS:
-- β is not a legal rewrite rule, since the left-hand side
-- f a reduces to f a
-- when checking the pragma REWRITE β
-- SHOULD: succeed
{-# OPTIONS --rewriting #-}
module _ where
module a where
postulate
_~_ : {A : Set} → A → A → Set
{-# B... |
programs/oeis/213/A213820.asm | karttu/loda | 1 | 246987 | ; A213820: Principal diagonal of the convolution array A213819.
; 2,18,60,140,270,462,728,1080,1530,2090,2772,3588,4550,5670,6960,8432,10098,11970,14060,16380,18942,21758,24840,28200,31850,35802,40068,44660,49590,54870,60512,66528,72930,79730,86940,94572,102638,111150,120120,129560,139482,149898,160820,172260,184230,19... |
programs/oeis/024/A024537.asm | karttu/loda | 0 | 6836 | <filename>programs/oeis/024/A024537.asm<gh_stars>0
; A024537: a(n) = floor( a(n-1)/(sqrt(2) - 1) ), with a(0) = 1.
; 1,2,4,9,21,50,120,289,697,1682,4060,9801,23661,57122,137904,332929,803761,1940450,4684660,11309769,27304197,65918162,159140520,384199201,927538921,2239277042,5406093004,13051463049,31509019101,7606950125... |
oeis/089/A089692.asm | neoneye/loda-programs | 11 | 177629 | <filename>oeis/089/A089692.asm
; A089692: a(n)=phi(2n)/2^omega(n).
; Submitted by <NAME>
; 1,1,1,2,2,1,3,4,3,2,5,2,6,3,2,8,8,3,9,4,3,5,11,4,10,6,9,6,14,2,15,16,5,8,6,6,18,9,6,8,20,3,21,10,6,11,23,8,21,10,8,12,26,9,10,12,9,14,29,4,30,15,9,32,12,5,33,16,11,6,35,12,36,18,10,18,15,6,39,16,27,20,41,6,16,21
add $0,1
mov $1,... |
oeis/304/A304407.asm | neoneye/loda-programs | 11 | 86214 | <filename>oeis/304/A304407.asm
; A304407: If n = Product (p_j^k_j) then a(n) = Product ((p_j - 1)*k_j).
; Submitted by <NAME>
; 1,1,2,2,4,2,6,3,4,4,10,4,12,6,8,4,16,4,18,8,12,10,22,6,8,12,6,12,28,8,30,5,20,16,24,8,36,18,24,12,40,12,42,20,16,22,46,8,12,8,32,24,52,6,40,18,36,28,58,16,60,30,24,6,48,20,66,32,44,24,70,12,72... |
Transynther/x86/_processed/AVXALIGN/_st_zr_4k_/i7-7700_9_0xca_notsx.log_21829_1414.asm | ljhsiun2/medusa | 9 | 11019 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1aa6e, %r14
nop
add %r8, %r8
mov $0x6162636465666768, %r9
movq %r9, %xmm2
vmovups %ymm2, (%r14)
nop
nop
nop
nop
nop
dec %r10
lea addresses_WC_ht+0x1110e, %r... |
boot.asm | SuperGod/bootgo | 1 | 244056 | <gh_stars>1-10
section .data
ALIGNED equ 1<<0
MEMINFO equ 1<<1
VIDEOINFO equ 1<<2
MODETYPE equ 1
WIDTH equ 320
HEIGHT equ 200
DEPTH equ 8
MAGIC equ 0x1BADB002
FLAGS equ ALIGNED|MEMINFO|VIDEOINFO
CHECKSUM equ -(MAGIC + FLAGS)
ZERO equ 0
section .multiboot
align 4
dd MAGIC
dd FLAGS
dd CHECKSUM... |
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx9.asm | xqdzn/linux-bpi-p2z-dev | 0 | 101569 | /*
* Copyright 2016 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... |
tests/tk-ttkwidget-test_data-tests.adb | thindil/tashy2 | 2 | 23669 | <gh_stars>1-10
-- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to set up and ... |
listenbrainz.applescript | golgote/applescript-listenbrainz | 0 | 1866 | <reponame>golgote/applescript-listenbrainz
-- handlers to encode json values
-- thanks to from https://github.com/mgax/applescript-json
on encode(value)
set type to class of value
if type = integer or type = boolean then
return value as text
else if type = text then
return encodeString(value)
else if type = li... |
aczidbox/note_names.asm | bushy555/ZX-Spectrum-1-Bit-Routines | 59 | 165475 | <reponame>bushy555/ZX-Spectrum-1-Bit-Routines
c0 equ $40
cis0 equ $44
d0 equ $48
dis0 equ $4c
e0 equ $51
f0 equ $55
fis0 equ $5a
g0 equ $60
gis0 equ $66
a0 equ $6c
ais0 equ $72
b0 equ $79
c1 equ $80
cis1 equ $88
d1 equ $90
dis1 equ $98
e1 equ $a1
f1 equ $ab
fis1 equ $b5
g1 equ $c0
gis1 equ $cb
a1 equ $d7
ais1 equ $e4
b... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_21829_1007.asm | ljhsiun2/medusa | 9 | 88513 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %rbp
push %rcx
push %rsi
lea addresses_WT_ht+0x195be, %r8
nop
nop
nop
cmp $17030, %rcx
mov $0x6162636465666768, %rbp
movq %rbp, (%r8)
nop
nop
sub $35898, %r13
lea addresses_A_ht+0x67e, %r14
nop
and %r15, %r15
mov (%r14), %esi
nop
n... |
Cubical/Structures/Relational/Equalizer.agda | dan-iel-lee/cubical | 0 | 14482 | {-
Equalizer of functions f g : S X ⇉ T X such that f and g act on relation structures
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Relational.Equalizer where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.RelationalS... |
engine/base.asm | jasaldivara/retro-dos-graphics | 13 | 163798 |
section .text
malloc:
; parametros:
; cx => Cantidad de memoria en bytes
; retorna:
; bx => direccion de memoria asignada
mov bx, [allocend]
mov ax, bx
add ax, cx
mov [allocend], ax
ret
section .data
allocinit: dw memorialibre
allocend: dw memorialibre
|
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca_notsx.log_6102_597.asm | ljhsiun2/medusa | 9 | 170557 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x178ae, %rsi
nop
sub %r14, %r14
movl $0x61626364, (%rsi)
cmp $12204, %rax
lea addresses_WT_ht+0xbf2e, %r8
nop
and %rax, %rax
mov (%r8), %bx
nop
cmp %rbp, %rbp
le... |
src/main/antlr/com/yahoo/elide/RestrictedFields.g4 | aklish/elide-testing-framework | 1 | 1331 | /*
* Copyright 2016 Yahoo Inc.
* Licensed under the terms of the Apache License, Version 2. Please see LICENSE.txt in the project root for terms.
*/
grammar RestrictedFields;
@header {
package com.yahoo.elide;
}
start
: EOF
| excluding_fields EOF
| fields EOF
;
fields
: LBRACKET ALL RBRACKET ... |
tutorials/part12/src/macros.asm | Threetwosevensixseven/ZalaXa | 5 | 162402 | <filename>tutorials/part12/src/macros.asm
; macros.asm
Border macro(Colour) ; Macro (makes the code more readable) to set border
ld a, Colour ; Set a to the colour desired
out (ULAPort), a ; and out... |
actions/CSV.g4 | mgreminger/js_antlr4_book | 0 | 7197 | grammar CSV;
/** Derived from rule "file : hdr row+ ;" */
file
locals [i=0]
: hdr ( rows+=row[$hdr.text.split(",")] {$i++;} )+
{
console.log ($i+" rows");
for (const r of $rows) {
console.log("row token interval: "+r.getSourceInterval());
}
}
;
hdr : row[null]... |
oeis/099/A099326.asm | neoneye/loda-programs | 11 | 168491 | <gh_stars>10-100
; A099326: Expansion of ((1-2x)sqrt(1+2x)+sqrt(1-2x))/(2(1-2x)^(5/2)).
; Submitted by <NAME>
; 1,4,11,28,67,156,354,792,1747,3820,8278,17832,38174,81368,172644,365104,769411,1617228,3389838,7090440,14797546,30828424,64106716,133113168,275967022,571415416,1181585564,2440680592,5035637212,10379826480,213... |
base/boot/bootcode/etfs/i386/etfsboot.asm | npocmaka/Windows-Server-2003 | 17 | 12622 | <reponame>npocmaka/Windows-Server-2003
;++
;
;Copyright (c) 1995 Compaq Computer Corporation
;
;Module Name:
;
; etfsboot.asm
;
;Abstract:
;
; The ROM in the IBM PC starts the boot process by performing a hardware
; initialization and a verification of all external devices. If an El
; Torito CD-ROM with n... |
source/uaflex/uaflex-nodes.ads | svn2github/matreshka | 24 | 20606 | <reponame>svn2github/matreshka<filename>source/uaflex/uaflex-nodes.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
regtests/babel-stores-local-tests.adb | stcarrez/babel | 1 | 13509 | <reponame>stcarrez/babel
-----------------------------------------------------------------------
-- babel-stores-local-tests - Unit tests for babel streams
-- Copyright (C) 2016 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1009.asm | ljhsiun2/medusa | 9 | 93736 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x13c01, %rsi
lea addresses_normal_ht+0x123a9, %rdi
clflush (%rsi)
dec %rax
mov $40, %rcx
rep movsl
nop
nop
nop
nop
and $54551, %rdx
lea addresses_D_ht+0xa879, %rcx
nop
nop
nop
xor %r13, %r13
mov... |
project/src/avr-usart.ads | pvrego/adaino | 8 | 19094 | with System;
with Ada.Unchecked_Conversion;
-- =============================================================================
-- Package AVR.USART
--
-- Implements Universal Asynchronous Receiver/Transmitter (UART) communication
-- for the MCU micro-controller.
-- =======================================================... |
extern/gnat_sdl/gnat_sdl2/src/cstdlib.ads | AdaCore/training_material | 15 | 21346 | <reponame>AdaCore/training_material
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with stdlib_h;
package cstdlib is
-- -*- C++ -*- forwarding header.
-- Copyright (C) 1997-2017 Free Software Foundation, Inc.
-- This file is part of the GNU ISO C++ Library. This library is fr... |
bb-runtimes/src/s-bbbosu__rpi2.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 13360 | <filename>bb-runtimes/src/s-bbbosu__rpi2.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
oeis/288/A288317.asm | neoneye/loda-programs | 11 | 243626 | <reponame>neoneye/loda-programs
; A288317: a(n) = a(n-1) + 3*a(n-2) - 2*a(n-3) - a(n-4) for n >= 4, where a(0) = 2, a(1) = 4, a(2) = 7, a(3) = 12.
; Submitted by <NAME>
; 2,4,7,12,22,40,75,139,262,489,922,1726,3252,6097,11479,21540,40531,76096,143130,268816,505483,949575,1785262,3354205,6305358,11847874,22270276,418489... |
programs/oeis/085/A085282.asm | neoneye/loda | 22 | 167170 | ; A085282: Expansion of (1 - 5*x + 5*x^2)/((1-x)*(1-3*x)*(1-4*x)).
; 1,3,10,35,126,463,1730,6555,25126,97223,379050,1486675,5858126,23166783,91869970,365088395,1453179126,5791193143,23100202490,92207099715,368247268126,1471245680303,5879752544610,23503319648635,93966207005126,375723613252263,1502470808704330,6008612301... |
tests/src/test_match_patterns_placeholders.ads | TNO/Rejuvenation-Ada | 1 | 24137 | with AUnit; use AUnit;
with AUnit.Test_Cases; use AUnit.Test_Cases;
package Test_Match_Patterns_Placeholders is
type Match_Patterns_Placeholders_Test_Case is
new Test_Case with null record;
overriding procedure Register_Tests
(T : in out Match_Patterns_Placeholders_Test_Case);
-- Regi... |
src/gl/interface/gl.ads | Roldak/OpenGLAda | 79 | 29650 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Interfaces.C;
package GL is
pragma Preelaborate;
package C renames Interfaces.C;
-----------------------------------------------------------------------------
-- ... |
bootloader.asm | TralahM/explore_asm | 2 | 240003 | <reponame>TralahM/explore_asm
; inline assembly, line 2
[bits 16]
[org 0x7c00]
; [ function: start() ]
start:
push ebp
mov ebp, esp
sub esp, 1 ; allocate space for local variables
; ch = [ebp - 1], byte
; line: 16, func_call: clear_screen
call clear_screen
; for loop, line 18
; line 18
mov al... |
data/maps/objects/PowerPlant.asm | opiter09/ASM-Machina | 1 | 24065 | <reponame>opiter09/ASM-Machina
PowerPlant_Object:
db $2e ; border block
def_warps
warp 4, 35, 3, LAST_MAP
warp 5, 35, 3, LAST_MAP
warp 0, 11, 3, LAST_MAP
def_signs
def_objects
object SPRITE_POKE_BALL, 9, 20, STAY, NONE, 1, VOLTORB, 40
object SPRITE_POKE_BALL, 32, 18, STAY, NONE, 2, VOLTORB, 40
object SP... |
DCS216 Operating System/ep3/string/stringC.asm | Lan-Jing/Courses | 1 | 9896 | .file "string.c"
.intel_syntax noprefix
.text
.globl _countA
.def _countA; .scl 2; .type 32; .endef
_countA:
LFB0:
.cfi_startproc
push ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
mov ebp, esp
.cfi_def_cfa_register 5
sub esp, 8
mov DWORD PTR [ebp-4], 0
mov DWORD PTR [ebp-8], 0
jmp L2
L5:
mov edx, DWORD P... |
alloy4fun_models/trainstlt/models/1/9tjsmyeG6QMaHxnd2.als | Kaixi26/org.alloytools.alloy | 0 | 2070 | <filename>alloy4fun_models/trainstlt/models/1/9tjsmyeG6QMaHxnd2.als
open main
pred id9tjsmyeG6QMaHxnd2_prop2 {
eventually Green in Signal
}
pred __repair { id9tjsmyeG6QMaHxnd2_prop2 }
check __repair { id9tjsmyeG6QMaHxnd2_prop2 <=> prop2o } |
formalism/lambe.agda | d-plaindoux/lambe-spec | 5 | 8165 | <filename>formalism/lambe.agda
--
-- Created by Dependently-Typed Lambda Calculus on 2021-03-18
-- lambe
-- Author: dplaindoux
--
{-# OPTIONS --without-K --safe #-}
module Lambe where
open import Relation.Nullary
using (yes; no)
open import Data.List
using (List; []; [_]; _∷_; _++_)
open import Data.Stri... |
old/Metalogic/Linear/SequentCalculus.agda | Lolirofle/stuff-in-agda | 6 | 7948 | <filename>old/Metalogic/Linear/SequentCalculus.agda
module Metalogic.Linear.SequentCalculus {ℓₚ} (Proposition : Set(ℓₚ)) where
|
engine/movie/trade.asm | opiter09/ASM-Machina | 1 | 25124 | <gh_stars>1-10
InternalClockTradeAnim:
; Do the trading animation with the player's gameboy on the left.
; In-game trades and internally clocked link cable trades use this.
ld a, [wTradedPlayerMonSpecies]
ld [wLeftGBMonSpecies], a
ld a, [wTradedEnemyMonSpecies]
ld [wRightGBMonSpecies], a
ld de, InternalClockTradeF... |
libsrc/graphics/px8/w_pixeladdress.asm | jpoikela/z88dk | 640 | 9644 | ;
; PX-8 graphics routines
; by <NAME>, 2019
;
; This function transfers 1 data byte from the VRAM into a memory buffer
; pointed by pixel coordinates HL,DE
; Data in (dmabuf) can then be altered and stored back in VRAM with pix_return
;
; Screen rez: 480x64 = 60x64 = 3840 bytes
;
; $Id: w_pixeladdress.asm $
;
SECT... |
oeis/093/A093356.asm | neoneye/loda-programs | 11 | 29846 | <filename>oeis/093/A093356.asm<gh_stars>10-100
; A093356: Number of occurrences of pattern 1-2 after n iterations of morphism A007413.
; Submitted by <NAME>(s1)
; 3,8,28,104,400,1568,6208,24704,98560,393728,1573888,6293504,25169920,100671488,402669568,1610645504,6442516480,25769934848,103079477248,412317384704,16492684... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.