max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
Source/Init.asm | SlickOS/Gloss-BootSector.FD | 0 | 93100 | .code16
.intel_syntax noprefix
.section .text
.global BootEntry
BootEntry:
jmp BootStart
BootBlock.OEMIdent: .ascii "PotatOS "
BootBlock.BytesPerSector: .word 512
BootBlock.SectorsPerCluster: .byte 1
BootBlock.ReservedSectors: .word 1
BootBlock.NumberOfFATs: .byte 2
BootBlock.Roo... |
Agda/06-universes.agda | tadejpetric/HoTT-Intro | 0 | 17479 | <filename>Agda/06-universes.agda
{-# OPTIONS --without-K --exact-split --allow-unsolved-metas #-}
module 06-universes where
import 05-identity-types
open 05-identity-types public
-- Section 4.1 Type theoretic universes
{- Because of Agda's design we already had to introduce universes in the very
first file. What... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_5174_1563.asm | ljhsiun2/medusa | 9 | 163751 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r9
push %rbp
push %rdx
push %rsi
lea addresses_WT_ht+0x19278, %r11
nop
nop
nop
nop
cmp $38388, %r9
mov (%r11), %bp
nop
sub $47796, %rsi
lea addresses_WT_ht+0x1358a, %r9
nop
nop
add %r13, %r13
movb (%r9), %dl
nop
nop
cmp $16927, %rdx
lea ad... |
third_party/opencore-audio/mp3/dec/src/asm/pvmp3_mdct_18.asm | asveikau/audio | 0 | 173569 | <gh_stars>0
; ------------------------------------------------------------------
; Copyright (C) 2008 PacketVideo
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.or... |
print.asm | PiJoules/hobbyos2 | 0 | 175645 | <reponame>PiJoules/hobbyos2<filename>print.asm
%define NEWLINE 0xa
%define CARRIAGE_RET 0xd
; Args:
; - edx: Address of the string we will print
; - bl: Color
; Ret: None
print_16b:
mov ah, 0x0e
mov bh, 0 ; Page number
.start:
mov al, [edx]
cmp al, 0
je .end
int 0x10
inc edx
jmp .start
.end:
ret
;... |
Agda/Gradual Security/dynamic.agda | kellino/TypeSystems | 2 | 9979 | <filename>Agda/Gradual Security/dynamic.agda
module dynamic where
open import LSsyntax
open import static
open import Relation.Nullary
open import Data.Nat using (ℕ ; _+_)
open import Data.Fin using (Fin; toℕ)
open import Data.Vec using (Vec ; lookup; _∷_; [])
open import Data.Product
open import Relation.Binary.Prop... |
antlr-kotlin-examples-jvm/src/main/antlr/MiniCalcParser.g4 | rapidrobotics/antlr-kotlin | 127 | 4807 | <reponame>rapidrobotics/antlr-kotlin<gh_stars>100-1000
parser grammar MiniCalcParser;
options { tokenVocab=MiniCalcLexer; }
miniCalcFile : lines=line+ ;
line : statement (NEWLINE | EOF) ;
statement : inputDeclaration # inputDeclarationStatement
| varDeclaration # varDeclarationStatement
|... |
notes/FOT/FOL/MendelsonSubstATP.agda | asr/fotc | 11 | 9916 | <filename>notes/FOT/FOL/MendelsonSubstATP.agda
------------------------------------------------------------------------------
-- Mendelson's substitution
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
... |
programs/oeis/213/A213040.asm | neoneye/loda | 22 | 101596 | ; A213040: Partial sums of A004738, leftmost column of the sequence of triangles defined in A206492.
; 1,3,4,6,9,11,12,14,17,21,24,26,27,29,32,36,41,45,48,50,51,53,56,60,65,71,76,80,83,85,86,88,91,95,100,106,113,119,124,128,131,133,134,136,139,143,148,154,161,169,176,182,187,191,194,196,197,199,202
lpb $0
mov $2,$0
... |
.emacs.d/elpa/ada-mode-5.3.1/gps_source/utf8_utils.ads | caqg/linux-home | 0 | 19273 | <reponame>caqg/linux-home
------------------------------------------------------------------------------
-- G P S --
-- --
-- Copyright (C) 2007-2016, AdaCore ... |
oeis/004/A004295.asm | neoneye/loda-programs | 11 | 9235 | <reponame>neoneye/loda-programs
; A004295: Expansion of (1+2*x+x^2)/(1-42*x+x^2).
; Submitted by <NAME>
; 1,44,1848,77572,3256176,136681820,5737380264,240833289268,10109260768992,424348119008396,17812511737583640,747701144859504484,31385635572361604688,1317448992894327892412,55301472065989409876616,23213443777786608869... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_21829_2445.asm | ljhsiun2/medusa | 9 | 27343 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r14
push %r15
push %rax
push %rbx
// Store
mov $0x2a364700000001e3, %r14
cmp $47335, %r12
mov $0x5152535455565758, %rbx
movq %rbx, (%r14)
sub $25442, %r15
// Load
lea addresses_PSE+0x120a3, %... |
scripts/itunes/en/mute.applescript | dnedry2/vscode-itunes | 16 | 3890 | <filename>scripts/itunes/en/mute.applescript
if application "iTunes" is running then
tell application "iTunes"
set the sound volume to 0
end tell
end if |
vp9/common/arm/neon/vp9_short_iht4x4_add_neon.asm | huangwenjun06/libvpx_mips | 0 | 177123 | <gh_stars>0
;
; Copyright (c) 2013 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contri... |
msp430x2/mspgd-gpio-port.ads | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 16679 | <reponame>ekoeppen/MSP430_Generic_Ada_Drivers
package Ports is
end Ports;
|
source/amf/uml/amf-uml-actions.ads | svn2github/matreshka | 24 | 2749 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
programs/oeis/026/A026274.asm | neoneye/loda | 22 | 178511 | ; A026274: Greatest k such that s(k) = n, where s = A026272.
; 3,5,8,11,13,16,18,21,24,26,29,32,34,37,39,42,45,47,50,52,55,58,60,63,66,68,71,73,76,79,81,84,87,89,92,94,97,100,102,105,107,110,113,115,118,121,123,126,128,131,134,136,139,141,144,147,149,152,155,157,160,162,165,168,170,173,176,178,181,183,186,189,191,194,1... |
antlr/KofoLang.g4 | codingthat/writing-an-interpreter | 6 | 7252 | grammar KofoLang;
/* PARSER */
program: NL* (statement NL*)+ ;
statement
: printlnStatement
| printStatement
| declStatement
| assignStatement
;
printlnStatement : 'println' '(' expr ')' ;
printStatement : 'print' '(' expr ')' ;
declStatement : type id=ID '=' expr;
assignStatement :... |
libsrc/_DEVELOPMENT/adt/wa_priority_queue/c/sdcc_ix/wa_priority_queue_resize_callee.asm | jpoikela/z88dk | 640 | 176221 | <gh_stars>100-1000
; int wa_priority_queue_resize_callee(wa_priority_queue_t *q, size_t n)
SECTION code_clib
SECTION code_adt_wa_priority_queue
PUBLIC _wa_priority_queue_resize_callee, l0_wa_priority_queue_resize_callee
EXTERN asm_wa_priority_queue_resize
_wa_priority_queue_resize_callee:
pop af
pop hl
p... |
.emacs.d/elpa/wisi-3.1.3/wisitoken-syntax_trees-lr_utils.ads | caqg/linux-home | 0 | 23990 | -- Abstract :
--
-- Utilities for navigating syntax trees produced by an LR parser.
--
-- Design :
--
-- It would be safer if Cursor contained a pointer to Iterator; then
-- Copy and Splice could just take Cursor arguments. But that
-- requires mode 'aliased in' for First, Last, which is not
-- conformant with A... |
kernel/arch/x86/boot/print_32bit.asm | m-deh/OS-Code | 2 | 176914 | <gh_stars>1-10
; Copyright (c) 2018 <NAME>
;
; This software is released under the MIT License.
; https://opensource.org/licenses/MIT
[bits 32]
VIDEO_MEMORY equ 0xb8000
WHITE_OB_BLACK equ 0x0f
print_string_pm:
pusha
mov edx, VIDEO_MEMORY
print_string_pm_loop:
mov al, [ebx]
mov ah, WHITE_OB_BLACK
... |
test/Compiler/simple/Arith.agda | cruhland/agda | 1,989 | 406 | module Arith where
open import Common.IO
open import Common.Nat renaming (_∸_ to _-_) -- workaround for #1855
open import Common.Unit
test : Nat
test = 4
foobar : Nat -> Nat
foobar zero = zero
foobar (suc n) = suc (suc n)
main : IO Unit
main =
-- n <- readNat ,
printNat 0 ,,
printNat (0 + 1) ,,
printNat (1 ... |
oeis/185/A185342.asm | neoneye/loda-programs | 11 | 87624 | <filename>oeis/185/A185342.asm
; A185342: Triangle of successive recurrences in columns of A117317(n).
; Submitted by <NAME>
; 2,4,-4,6,-12,8,8,-24,32,-16,10,-40,80,-80,32,12,-60,160,-240,192,-64,14,-84,280,-560,672,-448,128,16,-112,448,-1120,1792,-1792,1024,-256,18,-144,672,-2016,4032,-5376,4608,-2304,512,20,-180,960,... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_452.asm | ljhsiun2/medusa | 9 | 164980 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xf620, %rcx
add $4844, %r9
movups (%rcx), %xmm2
vpextrq $1, %xmm2, %rax
nop
nop
add %rax, %rax
lea addresses_UC_ht+0xa21a, %rsi
lea addresses_A_ht+0x15f0, %rdi
... |
programs/oeis/168/A168555.asm | neoneye/loda | 22 | 12986 | ; A168555: a(n) = n^6*(n^3 + 1)/2.
; 0,1,288,10206,133120,984375,5062176,20235628,67239936,193975965,500500000,1179859626,2581383168,5304663091,10334288160,19227375000,34368126976,59306007033,99196651296,161367371830,256032000000,397182906351,603691298848,900650348676,1320999321600,1907470703125,2714906297376,381299245... |
Applications/Finder/window/properties.applescript | looking-for-a-job/applescript-examples | 1 | 3785 | #!/usr/bin/osascript
tell application "Finder"
properties of (front window)
end tell
|
programs/oeis/022/A022824.asm | neoneye/loda | 22 | 166991 | <reponame>neoneye/loda
; A022824: a(n) = [ (2n+2)/(n-1) ] + [ (2n+4)/(n-2) ] + ... + [ (4n-2)/1 ].
; 6,14,23,33,44,55,67,81,93,105,120,133,149,164,177,191,210,222,240,256,270,288,305,322,336,355,373,387,410,421,441,460,478,496,516,530,548,571,587,603,626,643,663,684,700,716,741,758,780,797,815
mov $4,2
mov $6,$0
lpb $... |
Definition/LogicalRelation/ShapeView.agda | Vtec234/logrel-mltt | 0 | 15726 | <filename>Definition/LogicalRelation/ShapeView.agda
{-# OPTIONS --without-K --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.ShapeView {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped
open import Definition.Typed
open import Definition.Typed.Pr... |
out/sh.asm | harveydong/learning-xv6 | 0 | 167227 |
.fs/sh: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <main>:
return 0;
}
int
main(void)
{
0: 55 push %rbp
1: 48 89 e5 mov %rsp,%rbp
static char buf[100];
int fd;
// Assumes three file descriptors open.
while((fd = open("console"... |
YearIII/SemesterV/Microprocessors/Others/Practical Practice/set B/DIVnMUL/divmul.asm | jarvis-1805/myappsample | 2 | 96646 | ; Write a program that divides the number in CL by the number in BL and then multiply the
; result by 4. The final answer must be a 16-bit number stored the DX register.
.MODEL SMALL
.STACK
.CODE
.STARTUP
MOV CL, 04H
MOV BL, 02H
MOV AL, CL
DIV BL
MOV CL, 04H
MUL CL
MOV DX, AX
.EXIT
END |
week3/swap.adb | adammw/rtp_labs | 0 | 5118 | <filename>week3/swap.adb
with Ada.Text_IO, Ada.Integer_Text_IO;
use Ada.Text_IO, Ada.Integer_Text_IO;
procedure Swap is
A, B : Integer;
procedure Swap_It (A, B: in out Integer) is
Temp : Integer;
begin
Temp := B;
B := A;
A := Temp;
end Swap_It;
begin
Put("A=");
Get(A); Skip_Line;
Put("B=... |
hansql-logical/src/main/antlr4/org/lealone/hansql/common/expression/parser/ExprParser.g4 | lealone/HanSQL | 6 | 1928 | <filename>hansql-logical/src/main/antlr4/org/lealone/hansql/common/expression/parser/ExprParser.g4
parser grammar ExprParser;
options{
language=Java;
tokenVocab=ExprLexer;
}
@header {
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
... |
Task/Create-a-two-dimensional-array-at-runtime/Ada/create-a-two-dimensional-array-at-runtime.ada | LaudateCorpus1/RosettaCodeData | 1 | 20405 | <filename>Task/Create-a-two-dimensional-array-at-runtime/Ada/create-a-two-dimensional-array-at-runtime.ada
with Ada.Text_Io;
with Ada.Float_Text_Io;
with Ada.Integer_Text_Io;
procedure Two_Dimensional_Arrays is
type Matrix_Type is array(Positive range <>, Positive range <>) of Float;
Dim_1 : Positive;
Dim_2 :... |
oeis/077/A077937.asm | neoneye/loda-programs | 11 | 166076 | <gh_stars>10-100
; A077937: Expansion of 1/(1-2*x-2*x^2+2*x^3).
; Submitted by <NAME>
; 1,2,6,14,36,88,220,544,1352,3352,8320,20640,51216,127072,315296,782304,1941056,4816128,11949760,29649664,73566592,182532992,452899840,1123732480,2788198656,6918062592,17165057536,42589842944,105673675776,262196922368
mov $1,1
mov $... |
programs/oeis/017/A017758.asm | neoneye/loda | 22 | 93596 | ; A017758: Binomial coefficients C(n,94).
; 1,95,4560,147440,3612280,71523144,1192052400,17199613200,219295068300,2509710226100,26100986351440,249145778809200,2200787712814600,18114175790089400,139737927523546800,1015428940004440080,6981073962530525550,45582306461228725650,283623240203200959600,1686811902261142549200,9... |
programs/oeis/214/A214861.asm | jmorken/loda | 1 | 13183 | <reponame>jmorken/loda<filename>programs/oeis/214/A214861.asm
; A214861: First differences of round(n*sqrt(5)) (A022848).
; 2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,2,3,2,2,2,3,2,2,2,3,2,2,2,3
mov $12,$0
mov $14,2
... |
engine/phone/scripts/bill.asm | Dev727/ancientplatinum | 28 | 171180 | <gh_stars>10-100
BillPhoneCalleeScript:
checktime DAY
iftrue .daygreet
checktime NITE
iftrue .nitegreet
farwritetext BillPhoneMornGreetingText
buttonsound
sjump .main
.daygreet
farwritetext BillPhoneDayGreetingText
buttonsound
sjump .main
.nitegreet
farwritetext BillPhoneNiteGreetingText
buttonsound
sjum... |
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/printi8.asm | gb-archive/really-old-stuff | 10 | 89675 | #include once <printnum.asm>
#include once <div8.asm>
__PRINTI8: ; Prints an 8 bits number in Accumulator (A)
; Converts 8 to 32 bits
or a
jp p, __PRINTU8
push af
call __PRINT_MINUS
pop af
neg
__PRINTU8:
PROC
LOCAL __PRINTU_LOOP
ld b, 0 ; Counter
__PRINTU_LOOP:
or a
jp z, __PRINTU_START
push bc
l... |
iTunesHook.applescript | v-adhithyan/itunes-controller | 7 | 1619 | -- This function returns true, if iTunes is running.
on iTunesRunning()
tell application "System Events" to (name of processes) contains "iTunes"
end iTunesRunning
(* Check if iTunes is running.
If iTunes is running, then run the itunescontroller python utility.
If no face is detected, then probably the mac user is d... |
vesaData.asm | satadriver/LiunuxOS | 0 | 27097 | <filename>vesaData.asm
VESAInformation struc ;//共256字节
ModeAttr dw ? ;//模式的属性
WinAAttr db ? ;//
WinBAttr db ? ;//窗口A,B的属性
WinGran dw ? ;位面大小(窗口粒度),以KB为单位
WinSize dw ? ;窗口大小,以KB为单位
WinASeg dw ? ;窗口A的起始段址
WinBSeg dw ? ;窗口B的起始段址
BankFunc dd ? ;换页调用入口指针
;16... |
examples/examplesPaperJFP/VariableListForDispatchOnly.agda | agda/ooAgda | 23 | 1370 | <gh_stars>10-100
module examplesPaperJFP.VariableListForDispatchOnly where
open import Data.Product hiding (map)
open import Data.List
open import NativeIO
open import StateSizedIO.GUI.WxBindingsFFI
open import Relation.Binary.PropositionalEquality
data VarList : Set₁ where
[] : VarList
addVar : (A : Set... |
src/scheme_test.ads | Irvise/Ada_Scheme_Example | 7 | 29970 | <reponame>Irvise/Ada_Scheme_Example
with Ada.Text_IO; use Ada.Text_IO;
with Interfaces.C; use Interfaces.C;
package Scheme_Test is
procedure Adainit;
pragma Import (C, AdaInit);
procedure Adafinal;
pragma Import (C, AdaFinal);
function Hello_Ada(Num : Int) return Int
with
Export => True,... |
src/state-machine.asm | hirohito-protagonist/hla-learn-adventure | 0 | 95542 | <reponame>hirohito-protagonist/hla-learn-adventure
; Assembly code emitted by HLA compiler
; Version 2.16 build 4413 (prototype)
; HLA compiler written by <NAME>
; NASM compatible output
bits 32
%define ExceptionPtr__hla_ [dword fs:0]
global QuitMain__hla_
global DfltExHndlr__hla_
g... |
problems/011/a011.adb | melwyncarlo/ProjectEuler | 0 | 30927 | with Ada.Integer_Text_IO;
-- Copyright 2021 <NAME>
procedure A011 is
use Ada.Integer_Text_IO;
type Array_1D_Bool is array (Integer range 1 .. 3) of Boolean;
type Array_2D_Int is array (Integer range 1 .. 20,
Integer range 1 .. 20) of Integer;
Is_RC_Safe : Array_1D_Boo... |
programs/oeis/034/A034198.asm | neoneye/loda | 22 | 85742 | ; A034198: Number of binary codes (not necessarily linear) of length n with 3 words.
; 0,1,3,6,10,16,23,32,43,56,71,89,109,132,158,187,219,255,294,337,384,435,490,550,614,683,757,836,920,1010,1105,1206,1313,1426,1545,1671,1803,1942,2088,2241,2401,2569,2744,2927,3118,3317,3524,3740
lpb $0
mov $2,$0
trn $0,3
seq $... |
backend/src/tools/Agtype.g4 | shinhanbyeol/incubator-age-viewer | 25 | 1424 | // 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
// "... |
ada-streams.ads | mgrojo/adalib | 15 | 1658 | -- Standard Ada library specification
-- Copyright (c) 2003-2018 <NAME> <<EMAIL>>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
-- SPDX-License-... |
MdePkg/Library/BaseLib/AArch64/EnableInterrupts.asm | mapaig/mu_basecore | 100 | 169958 | <gh_stars>10-100
;------------------------------------------------------------------------------
;
; EnableInterrupts() for AArch64
;
; Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
; Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
; Portions copyright (c) 2011 - 2... |
Miam.g4 | DevHonk/Miam-x86 | 1 | 5057 | grammar Miam;
code: instr*EOF;
instr: (
subroutine |
mov |
push |
pop |
namedBlock |
include |
add |
substract |
jmp |
jz |
jnz |
ret |
call ... |
src/words_engine/words_engine-roman_numerals_package.adb | hugovk/whitakers-words | 0 | 661 | -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-- (c). Permission i... |
Cubical/Structures/Parameterized.agda | RobertHarper/cubical | 0 | 3789 | <filename>Cubical/Structures/Parameterized.agda<gh_stars>0
{-
A parameterized family of structures S can be combined into a single structure:
X ↦ (a : A) → S a X
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Parameterized where
open import Cubical.Foundations.Prelude
open import Cub... |
theorems/cohomology/MayerVietoris.agda | cmknapp/HoTT-Agda | 0 | 2362 | <reponame>cmknapp/HoTT-Agda
{-# OPTIONS --without-K #-}
open import HoTT
open import cohomology.FunctionOver
open import homotopy.elims.CofPushoutSection
module cohomology.MayerVietoris {i} where
{- Mayer-Vietoris Sequence: Given a span X ←f– Z –g→ Y, the cofiber space
of the natural map [reglue : X ∨ Y → X ⊔_Z Y... |
assembler/marks.asm | paulscottrobson/RCA-Cosmac-VIP-III | 1 | 7370 | ConstBUF32 equ 65.12
ConstFL900 equ 33.52
ConstMIC51 equ 359.52
read "BUF32, Pass1 [sec]: ", buf32_1
read "FL900, Pass1 [sec]: ", fl900_1
read "MIC51, Pass1 [sec]: ", mic51_1
read "BUF32, Pass2 [sec]: ", buf32_2
read "FL900, Pass2 [sec]: ", fl900_2
read "MIC51, Pass2 [sec]: ", mic51_2
read "BUF32, Pass3 [sec]:... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1209.asm | ljhsiun2/medusa | 9 | 291 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xab64, %r11
nop
nop
nop
nop
nop
add $25697, %r14
mov (%r11), %rdx
nop
nop
nop
and $49685, %r12
lea addresses_UC_ht+0x91b0, %rbp
nop
nop
xor %rdx, %rdx
mov (%rbp), %r11d
nop
no... |
oeis/171/A171960.asm | neoneye/loda-programs | 11 | 164968 | <filename>oeis/171/A171960.asm
; A171960: Values of the 2-complement of n in ternary representation.
; Submitted by <NAME>
; 2,1,0,5,4,3,2,1,0,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,53,52,51,50,49,48,47,46,45,44,43,42,41,40,39,38,37,36,35,34,33,32,31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9... |
Ada/inc/Problem_11.ads | Tim-Tom/project-euler | 0 | 13724 | <reponame>Tim-Tom/project-euler<filename>Ada/inc/Problem_11.ads
package Problem_11 is
procedure Solve;
end Problem_11;
|
oeis/127/A127905.asm | neoneye/loda-programs | 11 | 83421 | ; A127905: Construct triangle in which n-th row is obtained by expanding (1+x+x^3)^n and take the next-to-central column.
; Submitted by <NAME>
; 0,1,2,3,8,25,66,168,456,1269,3490,9581,26544,73944,206220,576045,1613264,4527661,12725946,35818135,100950440,284869263,804726934,2275500998,6440230392,18242735800,51714552656... |
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sdcc/UNSAFE_SMS_VRAMmemcpy128_callee.asm | jpoikela/z88dk | 640 | 16439 | <gh_stars>100-1000
; 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 af
pop hl
pop de
push af
jp asm_SMSlib_UNSAFE_VRAMmemcpy128
|
data/mapObjects/RedsHouse2F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 20034 | RedsHouse2F_Object:
db $a ; border block
db 1 ; warps
warp 7, 1, 2, REDS_HOUSE_1F
db 0 ; signs
db 0 ; objects
; warp-to
warp_to 7, 1, REDS_HOUSE_2F_WIDTH
|
tools/ayacc/src/ayacc.adb | svn2github/matreshka | 24 | 18127 | <filename>tools/ayacc/src/ayacc.adb
-- $Header: /cf/ua/arcadia/alex-ayacc/ayacc/src/RCS/ayacc.a,v 1.1 88/08/08 12:07:07 arcadia Exp $
--************************************************************************
-- ayacc
-- version 1.1
--
--*************************... |
tests/integration/SymbOS-notepad/App-Notepad-lib.i.asm | fengjixuchui/sjasmplus | 220 | 240554 | <gh_stars>100-1000
;==============================================================================
;### SYSTEM-LIBRARY-ROUTINES ##################################################
;==============================================================================
SyDesktop_WINOPN
;******************************************... |
programs/oeis/158/A158010.asm | karttu/loda | 1 | 7774 | ; A158010: a(n) = 256*n^2 - n.
; 255,1022,2301,4092,6395,9210,12537,16376,20727,25590,30965,36852,43251,50162,57585,65520,73967,82926,92397,102380,112875,123882,135401,147432,159975,173030,186597,200676,215267,230370,245985,262112,278751,295902,313565,331740,350427,369626,389337,409560,430295,451542,473301,495572,51835... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c5/c52009a.ada | best08618/asylo | 7 | 2984 | -- C52009A.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... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1093.asm | ljhsiun2/medusa | 9 | 173406 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %r9
push %rsi
lea addresses_D_ht+0x3cb0, %r10
nop
nop
nop
nop
nop
xor $32443, %r11
mov $0x6162636465666768, %r9
movq %r9, %xmm7
movups %xmm7, (%r10)
nop
nop
nop
dec %r10
lea addresses_UC_ht+0xe6b0, %rsi
nop
nop
and %r12, %r12
movw... |
mapData.asm | RevolutionSoftware/Juego | 1 | 104838 | <reponame>RevolutionSoftware/Juego
mapTable:
;outside maps
RALENA = ($-mapTable)/2 \ .dw map_ralena
;battle maps
GRASS1 = ($-mapTable)/2 \ .dw map_battlegrass1
INSIDE_MAP = ($-mapTable)/2
;inside maps
BOOKSHOP = ($-mapTable)/2 \ .dw map_bookshop
ITEMSHOP = ($-mapTable)/2 \ .dw map_itemshop
WEAPONSHOP = ($-mapTabl... |
libsrc/stdlib/bpeek.asm | andydansby/z88dk-mk2 | 1 | 80704 | ; uchar __FASTCALL__ bpeek(void *addr)
; 11.2006 aralbrec
XLIB bpeek
.bpeek
ld l,(hl)
ld h,0
ret
|
testutil/aunit/util-xunit.ads | Letractively/ada-util | 0 | 12680 | <reponame>Letractively/ada-util
-----------------------------------------------------------------------
-- util-xunit - Unit tests on top of AUnit
-- 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 fi... |
test/Fail/Issue2580.agda | cruhland/agda | 1,989 | 15625 | <filename>test/Fail/Issue2580.agda
-- 2017-05-11, Reported by Ulf
-- Implicit absurd matches should be treated in the same way as explicit ones
-- when it comes to being used/unused.
open import Agda.Builtin.Bool
open import Agda.Builtin.Equality
data ⊥ : Set where
record ⊤ : Set where
abort : (A : Set) {_ : ⊥} → A
... |
Cats/Category/Constructions/Terminal.agda | JLimperg/cats | 24 | 13388 | <gh_stars>10-100
{-# OPTIONS --without-K --safe #-}
module Cats.Category.Constructions.Terminal where
open import Data.Product using (proj₁ ; proj₂)
open import Level
open import Cats.Category.Base
import Cats.Category.Constructions.Iso as Iso
import Cats.Category.Constructions.Unique as Unique
module Build {lo la... |
s-fileio.ads | ytomino/gnat4drake | 0 | 3042 | pragma License (Unrestricted);
with System.File_Control_Block;
package System.File_IO is
pragma Preelaborate;
procedure Check_File_Open (File : File_Control_Block.AFCB_Ptr);
end System.File_IO;
|
_anim/obj23.asm | vladjester2020/Sonic1TMR | 0 | 240684 | <filename>_anim/obj23.asm
; ---------------------------------------------------------------------------
; Animation script - missile that Buzz Bomber throws
; ---------------------------------------------------------------------------
dc.w byte_9A2E-Ani_obj23
dc.w byte_9A32-Ani_obj23
byte_9A2E: dc.b 7, 0, 1, $... |
msdos/DOS/loader.asm | Cth1003/pcTest | 0 | 90111 | <filename>msdos/DOS/loader.asm
ORG 0x7c00
;DOS loader
JMP short loader
nop
;Jump to loader
db 0x44, 0x4F, 0x53, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0x02, 0x10, 0x05, 0x00, 0x02, 0x00, 0x02,
db 0x40, 0x0B, 0xF8, 0xF0, 0x00, 0x3D, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
db 0x00, 0x00, 0x00, 0x29, 0x... |
src/Values.agda | peterthiemann/definitional-session | 9 | 9706 | module Values where
open import Data.Bool
open import Data.List
open import Data.List.All
open import Data.Nat
open import Data.Product
open import Data.Sum
open import Relation.Binary.PropositionalEquality
open import Typing
open import Syntax
open import Global
open import Channel
mutual
-- a value indexed by a *r... |
alloy4fun_models/trashltl/models/17/Lt3BYRgeZeq7icPp9.als | Kaixi26/org.alloytools.alloy | 0 | 5317 | open main
pred idLt3BYRgeZeq7icPp9_prop18 {
always all p : Protected | p in Protected until p in Trash
}
pred __repair { idLt3BYRgeZeq7icPp9_prop18 }
check __repair { idLt3BYRgeZeq7icPp9_prop18 <=> prop18o } |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_19543_212.asm | ljhsiun2/medusa | 9 | 160012 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r8
push %rbp
push %rcx
push %rdi
lea addresses_D_ht+0x12c33, %r8
nop
nop
nop
nop
nop
add $41720, %rbp
movl $0x61626364, (%r8)
nop
nop
nop
nop
nop
add %rdi, %rdi
lea addresses_UC_ht+0x172b3, %r12
nop
nop
add $545, ... |
tools-src/gnu/binutils/gas/testsuite/gasp/crash.asm | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 9394 | <gh_stars>10-100
Stuff to try and crash it
foo: .MACRO
HI
bar: .MACRO
THERE
bar
.ENDM
.ENDM
foo
foo
foo
foo
foo
bar
|
DiskExtensionService/boot.asm | vincent102416849/x86_os_development | 0 | 8529 | [BITS 16]
[ORG 0x7c00]
Start:
xor ax,ax
mov ds,ax
mov es,ax
mov ss,ax
mov sp,0x7c00
TestDiskExtension:
mov [DriveId],dl
mov ah,0x41
mov bx,0x55aa
int 0x13
jc NotSupport1
cmp bx,0xaa55
jne NotSupport2
PrintDriveId:
mov ah,0x13
mov al,1
mov bx,0xa
xor dx,dx
mov bp,DeviceIdMessage
mov cx,DeviceIdMessageLen
int 0x10
mov... |
test/roms/dicombat.asm | zeh/dasmjs | 16 | 84529 | <filename>test/roms/dicombat.asm
; https://atariage.com/2600/archives/combat_asm/index.html
; (Fixed with MisDec instead of BMisDec)
; Combat for Atari by <NAME>
;
; Original disassembly by <NAME>
; Commented further by <NAME> (1997)
; Major overhaul by <NAME> (2002)
;
; My intent in overhauling this classic disassemb... |
json.adb | Feqzz/film-parser | 0 | 15071 | package body Json is
F : Ada.Text_IO.File_Type;
Now : Ada.Calendar.Time := Ada.Calendar.Clock;
OutputFileName : String := "films-watched.json";
----------------
-- AppendFilm --
----------------
procedure AppendFilm (title, year, score, imdb : String) is
begin
Ada.Text_IO.Open(F, Ada... |
bugs/bug27.ada | daveshields/AdaEd | 3 | 13236 | <gh_stars>1-10
with text_io;
procedure bug4 is
x : integer := integer'first;
y : integer := integer'first + 1;
begin
text_io.put_line("X = " & integer'image(x));
text_io.put_line("Y = " & integer'image(y));
end bug4;
|
src/loggers/adabase-logger-facility.ads | jrmarino/AdaBase | 30 | 4669 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with CommonText;
with AdaBase.Logger.Base.File;
with AdaBase.Logger.Base.Screen;
package AdaBase.Logger.Facility is
package CT renames CommonText;
package AL renames AdaBase.Logger.Base;
package ALF... |
alloy4fun_models/trainstlt/models/7/kT9bqFLLfYKjFdMet.als | Kaixi26/org.alloytools.alloy | 0 | 2198 | open main
pred idkT9bqFLLfYKjFdMet_prop8 {
always ( all t:Train | (t.pos.signal in Signal-Green) implies t.pos' = t.pos )
}
pred __repair { idkT9bqFLLfYKjFdMet_prop8 }
check __repair { idkT9bqFLLfYKjFdMet_prop8 <=> prop8o } |
examples/main1.adb | jorge-real/TTS | 1 | 5971 |
with TTS_Example1;
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Real_Time;
with Ada.Text_IO; use Ada.Text_IO;
procedure Main1 is
begin
TTS_Example1.Main;
delay until Ada.Real_Time.Time_Last;
exception
when E : others =>
Put_Line (Exception_Message (E));
end Main1;
|
compiler_back/temp/ExampleSmall.asm | cruzj6/orderUpCompiler | 0 | 104107 | <reponame>cruzj6/orderUpCompiler
.data
first: .word 0
second: .word 0
counter: .word 0
str1: .asciiz "Loop!
"
str2: .asciiz "Even Counter: "
str3: .asciiz "
"
str4: .asciiz "Odd Counter: "
str5: .asciiz "
"
.text
.globl main
main:
L1:
li $t1, 2
sw $t1, first
L3:
li $t2, 5
sw $t2, second
L4:
lw $t4, first
lw ... |
examples/simple/quantifierIn/quantifierIn-output.agda | Yiergot/vehicle | 0 | 15424 | <gh_stars>0
-- WARNING: This file was generated automatically by Vehicle
-- and should not be modified manually!
-- Metadata
-- - Agda version: 2.6.2
-- - AISEC version: 0.1.0.1
-- - Time generated: ???
open import Data.Unit
open import Data.Int as ℤ using (ℤ)
open import Data.List
open import Data.List.Relation.Un... |
oeis/131/A131711.asm | neoneye/loda-programs | 11 | 21992 | <filename>oeis/131/A131711.asm<gh_stars>10-100
; A131711: Period 12: repeat 0, 1, 2, 5, 2, 9, 0, 9, 8, 5, 8, 1.
; 0,1,2,5,2,9,0,9,8,5,8,1,0,1,2,5,2,9,0,9,8,5,8,1,0,1,2,5,2,9,0,9,8,5,8,1,0,1,2,5,2,9,0,9,8,5,8,1
mov $3,1
lpb $0
sub $0,1
mov $2,$3
add $2,$1
mov $1,$3
add $3,$2
lpe
mov $0,$1
mod $0,10
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr16_pkg.ads | best08618/asylo | 7 | 16643 | package Discr16_Pkg is
type ET3a is (E1, E2, E3, E4, E5);
for ET3a use (E1=> 32_001, E2=> 32_002, E3=> 32_003,
E4=> 32_004, E5=> 32_005);
end;
|
src/main/java/uk/nhs/digital/mait/tkwx/tk/internalservices/testautomation/parser/AutotestParser.g4 | nhsdigitalmait/TKW-x | 0 | 229 | /*
Copyright 2012-13 <NAME> <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... |
programs/oeis/055/A055581.asm | karttu/loda | 0 | 175538 | <gh_stars>0
; A055581: Fifth column of triangle A055252.
; 1,8,39,150,501,1524,4339,11762,30705,77808,192495,466926,1114093,2621420,6094827,14024682,31981545,72351720,162529255,362807270,805306341,1778384868,3909091299,8556380130,18656264161,40533753824,87778394079,189515431902,408021893085,876173328348,1876900708315,4... |
aoc2018/src/day02.adb | YoannDupont/advent_of_code_2018 | 0 | 620 | <reponame>YoannDupont/advent_of_code_2018<gh_stars>0
--------------------------------------------------------------------------------
-- An Ada implementation of the Advent Of Code 2018 --
-- --
-- D... |
HBlankCopy.asm | 009342/Pokemon-Hangul-Code | 2 | 15172 | HBlankCopyDouble::
ld a,[H_LOADEDROMBANK]
push af
ld a,b
call BankswitchCommon
ld a,[rLCDC]
bit rLCDC_ENABLE,a
sla c
sla c
sla c
jr nz,.LCDOn
.loop ;8bytes : 1
ld a,[de]
ld [hli],a
ld [hli],a
inc de
dec c
jr nz,.loop
jr .Done
.LCDOn
;if LCD is on
ld a,[rSTAT]
and a,%00000011
cp a,$00 ;is H-Blank ... |
src/commands/gui/DoHelp.asm | jhm-ciberman/calculator-asm | 2 | 82899 | <reponame>jhm-ciberman/calculator-asm<filename>src/commands/gui/DoHelp.asm<gh_stars>1-10
proc DoHelp
invoke ShellExecute, 0, 0, _gr_str_help_url, 0, 0, SW_SHOW
fastcall ConsolePrint, _gr_message_showing_help
ret
endp |
src/EntityGraphQL/Grammer/EntityGraphQL.g4 | patty-caked/EntityGraphQL | 0 | 6751 | grammar EntityGraphQL;
// This is our expression language
ID : [a-z_A-Z]+[a-z_A-Z0-9-]*;
DIGIT : [0-9];
STRING_CHARS: [a-zA-Z0-9 \t`~!@#$%^&*()_+={}|\\:\"'\u005B\u005D;<>?,./-];
identity : ID;
callPath : (identity | call | gqlcall) ('.' (identity | call | gqlcall))*;
int : '-'? DIGIT+;
de... |
ejercicios1/prueba_divisores.adb | iyan22/AprendeAda | 0 | 6243 | <gh_stars>0
with ada.text_io, ada.integer_text_io;
use ada.text_io, ada.integer_text_io;
with ada.text_io, ada.integer_text_io;
use ada.text_io, ada.integer_text_io;
with divisores;
procedure prueba_divisores is
n1, divisor:integer:=0;
begin
-- caso de prueba 1:
n1:=4;
put("El resultado deberia de s... |
agda.agda | 5R33CH4/lango | 2 | 6977 | open import IO
main = run (putStr "Hacktoberfest")
|
vp8/common/arm/neon/iwalsh_neon.asm | mrchapp/libvpx | 1 | 1847 | ;
; Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing projec... |
external/source/shellcode/bsd/ia32/stager_sock_find.asm | OsmanDere/metasploit-framework | 26,932 | 179725 | ;;
;
; Name: stager_sock_find
; Qualities: Nothing Special
; Version: $Revision: 1630 $
; License:
;
; This file is part of the Metasploit Exploit Framework
; and is subject to the same licenses and copyrights as
; the rest of this package.
;
; Description:
;
; Implementat... |
sum.asm | gabrielganzer/EMU8086 | 1 | 244125 | <gh_stars>1-10
.MODEL small
.STACK
.DATA
OPD1 DW 10
OPD2 DW 24
RESULT DW ?
.CODE
.STARTUP
MOV AX, OPD1
ADD AX, OPD2
MOV RESULT, AX
.EXIT
END
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_11096_1796.asm | ljhsiun2/medusa | 9 | 168873 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x16dae, %rsi
clflush (%rsi)
sub $11664, %r8
mov (%rsi), %r12d
nop
nop
nop
nop
nop
xor $33544, %rsi
lea addresses_normal_ht+0x185ae, %rsi
lea addresses_normal_ht... |
b.asm | li7r/os | 5 | 20146 | extern kmain
global start
global mode13h
section .boot
bits 32
start:
; Point the first entry of the level 4 page table to the first entry in the
; p3 table
mov eax, p3_table
or eax, 0b11 ;
mov dword [p4_table + 0], eax
; Point the first entry of the level 3 page table to the first entry in t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.