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 |
|---|---|---|---|---|
examples/example.asm | azurda/gingerbread | 109 | 28180 |
; This section is for including files that either need to be in the home section, or files where it doesn't matter
SECTION "Includes@home",ROM0
; Prior to importing GingerBread, some options can be specified
; Max 15 characters, should be uppercase ASCII
GAME_NAME EQUS "GBEXAMPLE "
; Include SGB support in Ginger... |
programs/oeis/008/A008737.asm | neoneye/loda | 22 | 90019 | <reponame>neoneye/loda
; A008737: a(n) = floor(n/6)*ceiling(n/6).
; 0,0,0,0,0,0,1,2,2,2,2,2,4,6,6,6,6,6,9,12,12,12,12,12,16,20,20,20,20,20,25,30,30,30,30,30,36,42,42,42,42,42,49,56,56,56,56,56,64,72,72,72,72,72,81,90,90,90,90,90,100,110,110,110,110,110,121,132,132,132,132,132,144,156,156,156,156,156,169,182,182,182,182... |
examples/network/monotonicity/monotonicity-output.agda | Yiergot/vehicle | 0 | 11119 | -- 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 AISEC.Utils
open import Data.Real as ℝ using (ℝ)
open import Data.List
module MyTestModule where
f : Tensor ℝ (... |
third_party/virtualbox/src/VBox/Runtime/os2/sys0.asm | Fimbure/icebox-1 | 521 | 1993 | <filename>third_party/virtualbox/src/VBox/Runtime/os2/sys0.asm<gh_stars>100-1000
;; @file
; IPRT - crt0/dll0 replacement stub for OS/2 R0/GC modules.
;
;
; Copyright (C) 2006-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file ... |
ffight/lcs/weapon/1E.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 105026 | <filename>ffight/lcs/weapon/1E.asm
copyright zengfr site:http://github.com/zengfr/romhack
003A0A movem.l D0-D3, -(A6)
003A0E movem.l D0-D3, -(A6)
009ACA dbra D5, $9ac8
058E3E clr.b ($1e,A6) [weapon+ 4]
058E42 clr.w ($50,A6)
059586 move.b #$2, ($3,A6) [weapon+1E]
0595CA bne $595d2 [weapon+1E]
cop... |
core/src/code_generation/tests/ifelse-2.asm | mari-linhares/GoCompiler | 1 | 94063 | 100: LD SP, #4000
function alwaysBe1
1000: LD R0, #1
1008: BR *0(SP)
function plusPlus
4016: ST c, R1
4024: ST b, R2
4032: ST a, R3
4040: SUB R4, R3, R2
4048: BLEZ R4, #4120
4056: ADD R5, #2, #3
4064: ADD R6, R3, R5
4072: ST a, R6
4080: ADD R7, R2, #5
4088: ST b, R7
4096: LD R0, #1.0
4104: BR *0(SP)
4112: BR #4136
41... |
day21/app.asm | ghosind/HariboteOS | 11 | 12512 | <filename>day21/app.asm
[BITS 32]
GLOBAL start_app
start_app: ; void start_app(int eip, int cs, int esp, int ds, int *tss_esp0);
PUSHAD
MOV EAX, [ESP+36] ; EIP
MOV ECX, [ESP+40] ; CS
MOV EDX, [ESP+44] ; ESP
MOV EBX, [ESP+48] ; DS/SS
MOV EBP, [ESP+52] ; tss.... |
oeis/005/A005085.asm | neoneye/loda-programs | 11 | 93915 | ; A005085: Sum of 4th powers of primes = 3 mod 4 dividing n.
; Submitted by <NAME>
; 0,0,81,0,0,81,2401,0,81,0,14641,81,0,2401,81,0,0,81,130321,0,2482,14641,279841,81,0,0,81,2401,0,81,923521,0,14722,0,2401,81,0,130321,81,0,0,2482,3418801,14641,81,279841,4879681,81,2401,0,81,0,0,81,14641,2401,130402,0,12117361,81,0,9235... |
programs/oeis/143/A143839.asm | neoneye/loda | 22 | 20863 | ; A143839: Ulam's spiral (SSE spoke).
; 1,24,79,166,285,436,619,834,1081,1360,1671,2014,2389,2796,3235,3706,4209,4744,5311,5910,6541,7204,7899,8626,9385,10176,10999,11854,12741,13660,14611,15594,16609,17656,18735,19846,20989,22164,23371,24610,25881,27184,28519,29886,31285,32716,34179,35674,37201,38760,40351,41974,43629... |
source/amf/mof/cmof/amf-internals-cmof_package_imports.adb | svn2github/matreshka | 24 | 8261 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
Util/llvm/bindings/ada/llvm/llvm_link_time_optimizer.ads | ianloic/unladen-swallow | 5 | 18474 | <filename>Util/llvm/bindings/ada/llvm/llvm_link_time_optimizer.ads
-- This file is generated by SWIG. Do *not* modify by hand.
--
with Interfaces.C.Extensions;
package LLVM_link_time_Optimizer is
-- lto_symbol_attributes
--
type lto_symbol_attributes is (
LTO_SYMBOL_ALIGNMENT_MASK,
LTO_SYMBOL_P... |
programs/oeis/086/A086575.asm | neoneye/loda | 22 | 246168 | <gh_stars>10-100
; A086575: a(n) = 4*(10^n - 1).
; 0,36,396,3996,39996,399996,3999996,39999996,399999996,3999999996,39999999996,399999999996,3999999999996,39999999999996,399999999999996,3999999999999996,39999999999999996,399999999999999996,3999999999999999996,39999999999999999996,399999999999999999996
add $0,1
mov $1,... |
extra/extra/TakeDropDec.agda | manikdv/plfa.github.io | 1,003 | 4280 | module TakeDropDec where
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; refl; sym; trans; cong; cong₂; _≢_)
open import Data.Empty using (⊥; ⊥-elim)
open import Data.List using (List; []; _∷_)
open import Data.List.All using (All; []; _∷_)
open import Data.Bool using (Bool; true; false; T)
open... |
programs/oeis/130/A130505.asm | neoneye/loda | 22 | 26434 | ; A130505: a(n) = 3*a(n-1) if n is odd, otherwise 6*a(n-1).
; 1,3,18,54,324,972,5832,17496,104976,314928,1889568,5668704,34012224,102036672,612220032,1836660096,11019960576,33059881728,198359290368,595077871104,3570467226624,10711401679872,64268410079232,192805230237696,1156831381426176,3470494144278528,208229648656711... |
src/agda/FRP/JS/Float.agda | agda/agda-frp-js | 63 | 4086 | open import FRP.JS.Bool using ( Bool ; true ; false ; not ; _∨_ )
open import FRP.JS.True using ( True )
open import FRP.JS.Maybe using ( Maybe ; just ; nothing )
open import FRP.JS.Primitive using ( ℤ ; String )
module FRP.JS.Float where
infixr 4 _≤_ _<_ _≟_ _≠_
infixl 6 _+_ _-_
infixl 7 _*_ _/_ _/?_
open import FR... |
src/Generic/Lib/Reflection/Fold.agda | turion/Generic | 30 | 13134 | module Generic.Lib.Reflection.Fold where
open import Generic.Lib.Intro
open import Generic.Lib.Decidable
open import Generic.Lib.Category
open import Generic.Lib.Data.Nat
open import Generic.Lib.Data.String
open import Generic.Lib.Data.Maybe
open import Generic.Lib.Data.List
open import Generic.Lib.Reflection.Core
fo... |
programs/oeis/002/A002450.asm | karttu/loda | 1 | 4716 | ; A002450: a(n) = (4^n - 1)/3.
; 0,1,5,21,85,341,1365,5461,21845,87381,349525,1398101,5592405,22369621,89478485,357913941,1431655765,5726623061,22906492245,91625968981,366503875925,1466015503701,5864062014805,23456248059221,93824992236885,375299968947541,1501199875790165,6004799503160661
mov $1,4
pow $1,$0
div $1,3
|
drools-example/src/main/resources/antlr4/SearchParser.g4 | noogel/xyzPlayJava | 0 | 3037 | <reponame>noogel/xyzPlayJava<filename>drools-example/src/main/resources/antlr4/SearchParser.g4<gh_stars>0
// 表明SearchParser.g4文件是语法解析器(parser)定义文件
// 同理,语法分析器的名称一定要和文件名保持一致
parser grammar SearchParser;
options {
// 表示解析token的词法解析器使用SearchLexer
tokenVocab = SearchLexer;
}
// EOF(end of file)表示文件结束符,这个是Antlr中已经... |
programs/oeis/003/A003511.asm | jmorken/loda | 1 | 99666 | <gh_stars>1-10
; A003511: A Beatty sequence: floor( n * (1 + sqrt(3))/2 ).
; 1,2,4,5,6,8,9,10,12,13,15,16,17,19,20,21,23,24,25,27,28,30,31,32,34,35,36,38,39,40,42,43,45,46,47,49,50,51,53,54,56,57,58,60,61,62,64,65,66,68,69,71,72,73,75,76,77,79,80,81,83,84,86,87,88,90,91,92,94,95,96,98,99,101,102,103,105,106,107,109,110... |
res/kernel.asm | Pusty/F0i | 0 | 15522 | <gh_stars>0
org 0x7E00
bits 16
cpu 8086
mov cx, [valueLen]
mov ax, cx
mov dx, 0
mov bx, 4
idiv bx
mov [valueLen], ax
mov cx, [valueLen]
printValue:
push cx
mov si, value
mov ax, 4
mov bx, [valueLen]
sub bx, cx
imul bx
mov dx, 0
add si, ax
call printFBin
call newLine
pop cx
loop printValue
mov si, value
call printFlo... |
src/Categories/Monad/Morphism.agda | Trebor-Huang/agda-categories | 5 | 8678 | <filename>src/Categories/Monad/Morphism.agda
{-# OPTIONS --without-K --safe #-}
open import Level
open import Categories.Category
open import Categories.Monad
module Categories.Monad.Morphism {o ℓ e} {C D : Category o ℓ e} where
open import Categories.NaturalTransformation
open import Categories.Functor
open Natura... |
regtests/asf-filters-tests.adb | jquorning/ada-asf | 12 | 14389 | -----------------------------------------------------------------------
-- Filters Tests - Unit tests for ASF.Filters
-- Copyright (C) 2015 <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.... |
oeis/054/A054118.asm | neoneye/loda-programs | 11 | 19672 | <filename>oeis/054/A054118.asm<gh_stars>10-100
; A054118: Subdiagonal T(n,n-3), array T as in A054115.
; Submitted by <NAME>(s2)
; 1,24,144,864,5904,46224,409104,4037904,43954704,522956304,6749977104,93928268304,1401602636304,22324392524304,378011820620304,6780385526348304
add $0,1
lpb $0
add $1,$0
add $0,1
add ... |
tools-src/gnu/gcc/gcc/ada/exp_prag.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 6500 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/US/_ht_zr_/i9-9900K_12_0xca.log_21829_179.asm | ljhsiun2/medusa | 9 | 247771 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1b5f, %rsi
lea addresses_WT_ht+0x29a2, %rdi
nop
nop
nop
nop
nop
inc %r11
mov $22, %rcx
rep movsb
nop
nop
nop
nop
sub %r13, %r13
lea addresses_UC_ht+0x5549, %r1... |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0xca.log_63_1326.asm | ljhsiun2/medusa | 9 | 97283 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1bce8, %rsi
lea addresses_normal_ht+0x17800, %rdi
cmp %r10, %r10
mov $33, %rcx
rep movsw
nop
nop
nop
nop
nop
dec %rsi
lea addresses_D_ht+0x19718, %... |
oeis/173/A173174.asm | neoneye/loda-programs | 11 | 24911 | ; A173174: a(n) = cosh(2*n*arcsinh(sqrt(n))).
; Submitted by <NAME>
; 1,3,49,1351,51841,2550251,153090001,10850138895,886731088897,82094249361619,8491781781142001,970614726270742103,121485428812828080001,16525390478051500325307,2427469037137019032095121,382956978214541873571486751,64576903826545426454350012417,11591229... |
programs/oeis/025/A025695.asm | jmorken/loda | 1 | 85685 | ; A025695: Index of 2^n within sequence of numbers of form 2^i*10^j.
; 1,2,3,4,6,8,10,13,16,19,23,27,31,35,40,45,50,56,62,68,75,82,89,96,104,112,120,129,138,147,157,167,177,187,198,209,220,232,244,256,269,282,295,308,322,336,350,365,380,395,411,427,443,459,476,493,510,528,546,564,583
mov $2,$0
mov $3,$0
mov $4,$0
lpb ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1283.asm | ljhsiun2/medusa | 9 | 162907 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x19d6e, %rsi
lea addresses_WT_ht+0xaaae, %rdi
clflush (%rdi)
nop
dec %r9
mov $24, %rcx
rep movsl
nop
and $7445, %r12
lea addresses_WC_ht+0x140a, %r15
nop
nop
sub... |
agda/BBHeap/Everything.agda | bgbianchi/sorting | 6 | 17518 | open import Relation.Binary.Core
module BBHeap.Everything {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_)
(trans≤ : Transitive _≤_) where
open import BBHeap.Complete.Base _≤_
open import BBHeap.Drop _≤_ tot≤ trans≤
open import BBHeap.DropLast _≤_
open import BBHe... |
src/templates/ada/avtas/lmcp/avtas-lmcp-bytebuffers.adb | joffreyhuguet/LmcpGen | 0 | 15958 | <gh_stars>0
with System.Storage_Elements; use System.Storage_Elements;
with GNAT.Byte_Swapping;
with Ada.Unchecked_Conversion;
package body AVTAS.LMCP.ByteBuffers is
---------------
-- Raw_Bytes --
---------------
function Raw_Bytes (This : ByteBuffer) return Byte_Array is
(This.Content (1 .. This.L... |
processor/processor-eclipse_stack_p.adb | SMerrony/dgemua | 2 | 16661 | <filename>processor/processor-eclipse_stack_p.adb
-- MIT License
-- Copyright (c) 2021 <NAME>
-- 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 limit... |
programs/oeis/120/A120571.asm | neoneye/loda | 22 | 104558 | <reponame>neoneye/loda<gh_stars>10-100
; A120571: 2n^4+6n^2+4 = 2(n^2+1)(n^2+2).
; 12,60,220,612,1404,2812,5100,8580,13612,20604,30012,42340,58140,78012,102604,132612,168780,211900,262812,322404,391612,471420,562860,667012,785004,918012,1067260,1234020,1419612,1625404,1852812,2103300,2378380,2679612,3008604,3367012,375... |
src/Optics/Example.agda | LaudateCorpus1/bft-consensus-agda | 0 | 6863 | <reponame>LaudateCorpus1/bft-consensus-agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020 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 Data.Nat
open import Da... |
testcases/spatial3/spatial3.adb | jrmarino/AdaBase | 30 | 14008 | with AdaBase;
with Connect;
with CommonText;
with Ada.Text_IO;
with AdaBase.Results.Sets;
with Spatial_Data;
procedure Spatial3 is
package CON renames Connect;
package TIO renames Ada.Text_IO;
package ARS renames AdaBase.Results.Sets;
package CT renames CommonText;
package SD renames Spatial_Data;
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_9_1575.asm | ljhsiun2/medusa | 9 | 102052 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1d2d5, %rsi
lea addresses_WC_ht+0x194bd, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
cmp %r14, %r14
mov $25, %rcx
rep movsl
nop
nop
nop
and $24012, %rd... |
oeis/077/A077317.asm | neoneye/loda-programs | 11 | 179762 | ; A077317: a(n) is the n-th prime == 1 (mod n).
; Submitted by <NAME>
; 2,5,19,29,71,43,211,193,271,191,661,277,937,463,691,769,1531,613,2357,1021,1723,1409,3313,1609,3701,2029,3187,2437,6961,1741,7193,3617,4951,3877,7001,3169,10657,6271,7879,5521,13613,3823,15137,7349,9091,7499,18049,6529,18229,7151,13159,10141,26501,... |
programs/oeis/047/A047838.asm | neoneye/loda | 22 | 102621 | <gh_stars>10-100
; A047838: a(n) = floor(n^2/2) - 1.
; 1,3,7,11,17,23,31,39,49,59,71,83,97,111,127,143,161,179,199,219,241,263,287,311,337,363,391,419,449,479,511,543,577,611,647,683,721,759,799,839,881,923,967,1011,1057,1103,1151,1199,1249,1299,1351,1403,1457,1511,1567,1623,1681,1739,1799,1859,1921,1983,2047,2111,2177... |
Everything.agda | copumpkin/categories | 98 | 3677 | <gh_stars>10-100
module Everything where
-- Categories
import Categories.Category
-- 2-categories
-- XXX need to finish the last 3 laws
import Categories.2-Category
-- The strict 2-category of categories
-- XXX laws not proven yet
-- import Categories.2-Category.Categories
-- Adjunctions between functors
import Cat... |
base/mvdm/dos/v86/cmd/command/comequ.asm | npocmaka/Windows-Server-2003 | 17 | 240667 | <reponame>npocmaka/Windows-Server-2003
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
; SCCSID = @(#)comequ.asm 1.1 85/05/14
; SCCSID = @(#)comequ.asm 1.1 85/05/14
;**************************... |
src/applescript/media/play media.applescript | dnnsmnstrr/HydroTouch | 3 | 1323 | <reponame>dnnsmnstrr/HydroTouch
---
-- This script is made to be run within BetterTouchTool
-- It detects which players are currently active and attempts to intelligently
-- playpause the appropriate one
---
--- store useful states ---
set activeAppName to my getActiveApp()
set currentlyPlaying to my getCurrentlyPlayi... |
programs/oeis/269/A269249.asm | neoneye/loda | 22 | 89444 | <filename>programs/oeis/269/A269249.asm<gh_stars>10-100
; A269249: Number of times the digit 9 appears in the decimal expansion of n^3.
; 0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,1,1,0,1,0,1,0,0,0,0,0,1,1,1,0,2,0,1,1,0,0,0,0,2,0,1,0,1,0,1,1,0,1,1,0,0,0,0,0,0,0,1,1,1,0,1,0,0,0,0,1,0,0,1,0,1,0,1,0,0,1,0,0,2,0,0,0,0,1,0,0,0,0,2,1,... |
programs/oeis/327/A327705.asm | karttu/loda | 0 | 27467 | <filename>programs/oeis/327/A327705.asm
; A327705: The minimal size of a partition lambda of n such that every partition of n with at most 5 parts can be obtained by coalescing the parts of lambda.
; 1,2,3,4,5,5,6,6,7,7,7,8,8,8,9,9,9,9,10,10,10,10,10,11,11,11,11,11,11,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,... |
applescript/right.applescript | jeremy5189/Sensortag-OSX-Remote | 1 | 369 | tell application "System Events"
key code 124
end tell |
programs/oeis/032/A032096.asm | karttu/loda | 0 | 101517 | <filename>programs/oeis/032/A032096.asm
; A032096: "BHK" (reversible, identity, unlabeled) transform of 2,2,2,2,...
; 2,3,8,23,74,227,704,2135,6482,19523,58808,176663,530714,1592867,4780784,14344535,43040162,129127043,387400808,1162222103,3486725354,10460235107,31380882464,94142824535,282429005042,847287546563,25418642... |
3rdparty/detours/samples/disas/arm.asm | wohaaitinciu/zpublic | 50 | 89280 | <filename>3rdparty/detours/samples/disas/arm.asm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Detours Test Program (rlo.asm/disas.exe)
;;
;; Microsoft Research Detours Package, Version 3.0.
;;
;; Copyright (c) Microsoft Corporation. All rights reserved.
;;
MACRO
... |
programs/oeis/049/A049766.asm | neoneye/loda | 22 | 4120 | ; A049766: a(n) = Sum_{k=1..n} T(n,k), array T as in A049765.
; 0,1,4,7,14,18,29,36,48,58,77,83,106,122,141,156,187,200,235,251,280,308,351,361,403,437,476,502,557,573,632,663,712,758,813,828,899,951,1010,1038,1117,1145,1228,1274,1329,1393,1484,1502,1590,1645,1724,1780,1883,1923,2014,2060,2149,2231,2346,2356,2475,2563,... |
adm/code/src/admbase-evolve.adb | leo-brewin/adm-bssn-numerical | 1 | 4595 | <filename>adm/code/src/admbase-evolve.adb
with Support; use Support;
with Support.Clock; use Support.Clock;
with Support.CmdLine; use Support.CmdLine;
with Support.Strings; use Support.Strings;
with ADMBase... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca.log_21829_1295.asm | ljhsiun2/medusa | 9 | 93925 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x12880, %rsi
lea addresses_WT_ht+0x8e5a, %rdi
nop
nop
nop
sub $56657, %r13
mov $119, %rcx
rep movsb
inc %r15
lea addresses_WT_ht+0xf0ba, %rax
nop
nop
cmp %r9, %r9
movb (%rax),... |
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0xca_notsx.log_119_127.asm | ljhsiun2/medusa | 9 | 15487 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r13
push %r14
push %r8
push %rax
push %rbp
// Store
lea addresses_A+0xb9d0, %r11
nop
nop
nop
nop
cmp $28568, %rax
mov $0x5152535455565758, %r13
movq %r13, %xmm1
movups %xmm1, (%r11)
nop
cmp $34146, %r13... |
MIPS/Uppercase.asm | WorkingFen/ExamplesARKO | 1 | 167068 | <reponame>WorkingFen/ExamplesARKO<filename>MIPS/Uppercase.asm
.data #data segment
prompt: .asciiz "Enter string: \n" #string
buf: .space 100 #buffer with 100 bytes
.text #text segment
.globl main #visible outside
main:
li $v0, 4 #print string
la $a0, prompt #from this
syscall
li $v0, 8 #read str... |
Task/Read-entire-file/AppleScript/read-entire-file.applescript | LaudateCorpus1/RosettaCodeData | 1 | 3549 | set pathToTextFile to ((path to desktop folder as string) & "testfile.txt")
-- short way: open, read and close in one step
set fileContent to read file pathToTextFile
-- long way: open a file reference, read content and close access
set fileRef to open for access pathToTextFile
set fileContent to read fileRef
close a... |
global/func.asm | llamaking136/CAC | 7 | 245229 | <gh_stars>1-10
define_global:
push ebp
mov ebp, esp
mov eax, [ebp + 8]
global eax
ret |
arch/x86/asm/runtime.asm | mvdnes/element76 | 30 | 11268 | <reponame>mvdnes/element76
global __morestack
__morestack:
cli
hlt
jmp __morestack
; Allocate a 16KiB stack
section .bootstrap_stack
align 4
stack_bottom:
times 16384 db 0
stack_top:
extern entry
; Entry point
section .text
global start
start:
cli
; Set up the stack
mov esp, stack_top
; Make everything play ... |
src/main/java/ca/queensu/cs/antler4AC/AC.g4 | MajidGitHubRepos/MRegTest-ORG | 0 | 4905 | <filename>src/main/java/ca/queensu/cs/antler4AC/AC.g4<gh_stars>0
grammar AC;
parse
: block EOF
;
block
: stat*
;
stat
: assignment
| if_stat
| while_stat
| loop_stat
| log
| send_stat
| sendat_stat
| showContent_stat
| timer_stat
| return_stat
| ignore_stat
// | unknowns
;
done: EOF #processingDone
... |
src/simple_webapps-append_servers.ads | faelys/simple-webapps | 1 | 26746 | ------------------------------------------------------------------------------
-- Copyright (c) 2016, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
libsrc/_DEVELOPMENT/drivers/character/character_00/input/character_00_input/character_00_input_stdio_msg_seek.asm | jpoikela/z88dk | 640 | 174016 | <gh_stars>100-1000
SECTION code_driver
SECTION code_driver_character_input
PUBLIC character_00_input_stdio_msg_seek
EXTERN STDIO_MSG_GETC, STDIO_SEEK_CUR
EXTERN l_decu_dehl, l_jpix, error_lzc, error_lznc
character_00_input_stdio_msg_seek:
; C = STDIO_SEEK_SET (0), STDIO_SEEK_CUR (1), STDIO_SEEK_END (2)
; ... |
programs/oeis/173/A173254.asm | jmorken/loda | 1 | 105027 | <reponame>jmorken/loda
; A173254: a(n) = a(n-1) + a(n-2) - [a(n-2)/2] - [a(n-4)/2].
; 1,1,2,3,4,6,7,9,11,13,16,19,22,26,29,33,37,41,46,51,56,62,67,73,79,85,92,99,106,114,121,129,137,145,154,163,172,182,191,201,211,221,232,243,254,266,277,289,301,313,326
add $0,3
mov $1,5
lpb $0
trn $0,4
add $1,$0
trn $0,3
sub ... |
oeis/047/A047253.asm | neoneye/loda-programs | 11 | 240436 | <reponame>neoneye/loda-programs
; A047253: Numbers that are congruent to {1, 2, 3, 4, 5} mod 6.
; Submitted by <NAME>
; 1,2,3,4,5,7,8,9,10,11,13,14,15,16,17,19,20,21,22,23,25,26,27,28,29,31,32,33,34,35,37,38,39,40,41,43,44,45,46,47,49,50,51,52,53,55,56,57,58,59,61,62,63,64,65,67,68,69,70,71,73,74,75,76,77,79,80,81,82,8... |
programs/oeis/166/A166356.asm | neoneye/loda | 22 | 92120 | <gh_stars>10-100
; A166356: Expansion of e.g.f. 1 + x*arctanh(x), even powers only.
; 1,2,8,144,5760,403200,43545600,6706022400,1394852659200,376610217984000,128047474114560000,53523844179886080000,26976017466662584320000,16131658445064225423360000
mul $0,2
mov $2,1
lpb $0
mov $2,$0
mov $0,1
seq $2,98557 ; E.g.f... |
models/amalgam/paper/unused/resfm.als | transclosure/Amalgam | 4 | 3881 | <reponame>transclosure/Amalgam
/*
Buggy model of resolution (Figure 1)
From _Finding Minimal Unsatisfiable Cores of Declarative Specifications_
<NAME>, <NAME>-<NAME>, and <NAME>
Formal Methods 2008
*/
abstract sig Boolean {}
one sig True, False extends Boolean {}
sig Literal { neg : Literal }
fact { neg = ~neg a... |
asm/patches/flexible_item_locations.asm | Crain-32/wwrando | 0 | 167913 |
; This patch modifies places in the game's code that don't work well when the item given by certain item locations is changed in order to allow these locations to be randomized.
; Normally the Great Fairies will give you the next tier max-up upgrade, depending on what you currently have.
; So if you already got the ... |
src/unison/test/fast/Mips/speed/gobmk.owl_defendpat.autohelperowl_defendpat421.asm | Patstrom/disUnison | 88 | 82775 | <reponame>Patstrom/disUnison<filename>src/unison/test/fast/Mips/speed/gobmk.owl_defendpat.autohelperowl_defendpat421.asm
.text
.abicalls
.section .mdebug.abi32,"",@progbits
.nan legacy
.file "gobmk.owl_defendpat.autohelperowl_defendpat421.ll"
.text
.hidden autohelperowl_defendpat421
.globl autohelperowl_defendp... |
programs/oeis/182/A182415.asm | neoneye/loda | 22 | 9190 | ; A182415: a(0) = 1, a(1) = 2; for n>1, a(n) = a(n-1) + a(n-2) + 4.
; 1,2,7,13,24,41,69,114,187,305,496,805,1305,2114,3423,5541,8968,14513,23485,38002,61491,99497,160992,260493,421489,681986,1103479,1785469,2888952,4674425,7563381,12237810,19801195,32039009,51840208,83879221,135719433,219598658,355318095,574916757,9302... |
3-mid/opengl/source/platform/egl/private/opengl-surface_profile-privvy.adb | charlie5/lace | 20 | 5789 | <reponame>charlie5/lace<filename>3-mid/opengl/source/platform/egl/private/opengl-surface_profile-privvy.adb
package body opengl.surface_Profile.privvy
is
function to_eGL (Self : in Item'Class) return egl.EGLConfig
is
begin
return Self.egl_Config;
end to_eGL;
end opengl.surface_Profile.privvy;
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sso/t13.adb | best08618/asylo | 7 | 6459 | <gh_stars>1-10
-- { dg-do run }
with Init13; use Init13;
with Ada.Numerics; use Ada.Numerics;
with Text_IO; use Text_IO;
with Dump;
procedure T13 is
Local_R1 : R1;
Local_R2 : R2;
begin
Local_R1.F := (My_R1.F.R + 1.0, My_R1.F.I + 1.0);
Put ("Local_R1 :");
Dump (Local_R1'Address, R1'Max_Size_In_Storage_Ele... |
programs/oeis/008/A008619.asm | neoneye/loda | 22 | 161077 | <filename>programs/oeis/008/A008619.asm
; A008619: Positive integers repeated.
; 1,1,2,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,23,23,24,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43... |
mc-sema/validator/x86/tests/DIV_ST0Fr.asm | randolphwong/mcsema | 2 | 17865 | <gh_stars>1-10
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_FPU_PE|FLAG_FPU_C1
;TEST_FILE_META_END
; set up st0 to be 3.141593
FLD1
FLDPI
;TEST_BEGIN_RECORDING
FDIV st0, st1
mov edi, 0
;TEST_END_RECORDING
|
reports/16_dense_array.combine.asm | arnaudroger/re2j-benchmark | 0 | 14514 | <gh_stars>0
# JMH version: 1.19
# VM version: JDK 1.8.0_131, VM 25.131-b11
# VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java
# VM options: <none>
# Warmup: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode... |
cat.asm | danilocapkob/xv6plus | 1 | 175804 | <reponame>danilocapkob/xv6plus<gh_stars>1-10
_cat: file format elf32-i386-freebsd
Disassembly of section .text:
00000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 28 sub $0x28,%esp
int n... |
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_cyx2saddr.asm | teknoplop/z88dk | 0 | 161467 | <filename>libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_cyx2saddr.asm
; void *zx_cyx2saddr(uchar row, uchar col)
SECTION code_clib
SECTION code_arch
PUBLIC zx_cyx2saddr
EXTERN l0_zx_cyx2saddr_callee
zx_cyx2saddr:
pop af
pop hl
pop de
push de
push hl
push af
jp l0_zx_cyx2saddr_callee
|
host/stm32gd-gpio-port.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 15727 | <filename>host/stm32gd-gpio-port.ads<gh_stars>1-10
with STM32_SVD.GPIO;
package STM32GD.GPIO.Port is
pragma Preelaborate;
function GPIO_Port_Representation (Port : STM32_SVD.GPIO.GPIO_Peripheral) return UInt4
with Inline;
end STM32GD.GPIO.Port;
|
data/moves/tmhm_moves.asm | zavytar/pokecolorless | 0 | 103045 | TMHMMoves:
; entries correspond to *_TMNUM enums (see constants/item_constants.asm)
; TMs
db DYNAMICPUNCH ; TM01
db HEADBUTT ; TM02
db CURSE ; TM03
db ROLLOUT ; TM04
db ROAR ; TM05
db TOXIC ; TM06
db ZAP_CANNON ; TM07
db ROCK_SMASH ; TM08
db PSYCH_UP ; TM09
db HIDDEN_POWER ; TM10
db SUNNY_DAY ; TM11
... |
programs/oeis/189/A189480.asm | neoneye/loda | 22 | 98088 | ; A189480: [4rn]-4[rn], where r=sqrt(5) and [ ]=floor.
; 0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3,0,0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3,0,1,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,2,3,0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3,3,0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3,0,0,1,2,3,0,1,2,3,0,1,2
mul $0,2
add $0,2
mul $0,4
seq $0,60143 ; a(n) = floor(n/tau),... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/alignment2.ads | best08618/asylo | 7 | 234 | <gh_stars>1-10
-- { dg-do compile }
with Interfaces; use Interfaces;
package Alignment2 is
pragma Warnings (Off, "*size*");
-- warning
type R1 is record
A, B, C, D : Integer_8;
end record;
for R1'Size use 32;
for R1'Alignment use 32; -- { dg-warning "suspiciously large alignment" }
-- warning
t... |
src/ada-pulse/src/pulse-introspect.ads | mstewartgallus/linted | 0 | 7754 | -- Copyright 2016 <NAME>
--
-- 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 writi... |
unittests/ASM/H0F38/66_01.asm | cobalt2727/FEX | 628 | 20265 | %ifdef CONFIG
{
"RegData": {
"XMM0": ["0xA4A6ACAE84868C8E", "0xE4E6ECEEC4C6CCCE"],
"XMM1": ["0xE4E6ECEEC4C6CCCE", "0xA4A6ACAE84868C8E"]
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4142434445464748
mov [rdx + 8 * 0], rax
mov rax, 0x5152535455565758
mov [rdx + 8 * 1], rax
mov rax, 0x6162636465666768
mov [rdx ... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_1075.asm | ljhsiun2/medusa | 9 | 10932 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xc6fd, %rbx
nop
nop
nop
sub %rax, %rax
movb $0x61, (%rbx)
nop
nop
nop
cmp %rbp, %rbp
lea addresses_A_ht+0x18b59, %rsi
lea addresses_normal_ht+0xce09, %rdi
nop
nop
nop
nop
nop... |
src/fltk-images-rgb.ads | micahwelf/FLTK-Ada | 1 | 2805 |
package FLTK.Images.RGB is
type RGB_Image is new Image with private;
type RGB_Image_Reference (Data : not null access RGB_Image'Class) is limited null record
with Implicit_Dereference => Data;
function Copy
(This : in RGB_Image;
Width, Height : in Natural)
... |
oeis/037/A037603.asm | neoneye/loda-programs | 11 | 163238 | ; A037603: Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,3,0.
; Submitted by <NAME>(s2)
; 1,13,130,1301,13013,130130,1301301,13013013,130130130,1301301301,13013013013,130130130130,1301301301301,13013013013013,130130130130130,1301301301301301
mov $2,$0
add $2,1
m... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/check_elaboration_code.adb | best08618/asylo | 7 | 4335 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/check_elaboration_code.adb
-- { dg-do run }
with Bug_Elaboration_Code; use Bug_Elaboration_Code;
procedure Check_Elaboration_Code is
begin
if I /= J then
raise Program_Error;
end if;
end Check_Elaboration_Code;
|
projects/Kirbys_Dream_Land_2.windfish/configuration/macros/changebank.asm | jverkoey/awaken | 68 | 86847 | <filename>projects/Kirbys_Dream_Land_2.windfish/configuration/macros/changebank.asm
ld a, #1
ld [$2100], a |
oeis/315/A315401.asm | neoneye/loda-programs | 11 | 247536 | ; A315401: Coordination sequence Gal.4.63.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>
; 1,6,11,15,19,23,28,34,40,45,49,53,57,62,68,74,79,83,87,91,96,102,108,113,117,121,125,130,136,142,147,151,155,159,164,17... |
src/coreclr/src/vm/amd64/AsmHelpers.asm | abock/runtime | 6 | 88063 | ; 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.
; ==++==
;
;
; ==--==
;
; FILE: asmhelpers.asm
;
;
; ================================================================... |
Des_Ada/obj/b__mainp.adb | VMika/Des_Ada | 0 | 14744 | pragma Warnings (Off);
pragma Ada_95;
pragma Source_File_Name (ada_main, Spec_File_Name => "b__mainp.ads");
pragma Source_File_Name (ada_main, Body_File_Name => "b__mainp.adb");
pragma Suppress (Overflow_Check);
with System.Restrictions;
with Ada.Exceptions;
package body ada_main is
E070 : Short_Integer; pragma I... |
ACH2034/mips-assembly/integer.asm | vitormrts/si-each-usp | 1 | 247691 | ############### INTEGER
.text
.globl main
main:
ld $a0,$valor # obtem valor da memoria
addi $a0,$a0,20
li $v0,1 # imprime o inteiro $a0
syscall
li $v0,10 # exit
syscall
.data
$valor: .word 45 |
notes/FOT/FOTC/IJK.agda | asr/fotc | 11 | 9720 | <reponame>asr/fotc<filename>notes/FOT/FOTC/IJK.agda
------------------------------------------------------------------------------
-- Conversion functions i, j and k.
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types ... |
ESEMPI/MOLTIPLICAZIONE.asm | Porchetta/py-pdp8-tk | 8 | 17242 | ORG 100
CLA
CLE
LDA X
CIL
SZE
BUN POS1
BUN SEC
POS1, CIR
CMA
INC
STA X
LDA UNO
ADD SEGNO
STA SEGNO
SEC, LDA Y
CIL
SZE
BUN POS2
BUN START
POS2, CIR
CMA
INC
STA Y
LDA DUE
ADD SEGNO
STA SEGNO
CLA
CLE
BUN START
START, LDA X
CIR
STA X
SZE
BUN SOMMA
NEXT, LDA X
SPA
BUN FINE
LDA Y
C... |
src/z80asm/dev/z80asm_lib/cpir.asm | ahjelm/z88dk | 640 | 19567 | ; Substitute for z80 cpir instruction
; aralbrec 02.2008
; flag-perfect emulation of cpir
SECTION code_l_sccz80
PUBLIC __z80asm__cpir
IF __CPU_GBZ80__
EXTERN __z80asm__ex_sp_hl
ENDIF
__z80asm__cpir:
jr nc, enterloop
call enterloop
; scf clears N and H - must set ... |
Rebuild DS_Store.applescript | ppseprus/OS-X-Spotlight-Tools | 0 | 227 | <gh_stars>0
on run {input, parameters}
repeat with i from 1 to number of (items of input)
tell application "Finder"
--After a sudden intterupt, if running the script again, there are already files that are updated
--A Shell Script is slower than checking Finder comments
if comment of (POSIX file (POSIX pa... |
Cubical/DStructures/Structures/XModule.agda | Schippmunk/cubical | 0 | 4567 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.DStructures.Structures.XModule where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Structure
open import... |
tests/tcl-variables-test_data-tests.adb | thindil/tashy2 | 2 | 8076 | -- 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 tear down the t... |
gdb-7.3/gdb/testsuite/gdb.ada/lang_switch/lang_switch.adb | vidkidz/crossbridge | 1 | 24015 | <gh_stars>1-10
-- Copyright 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
--
-- 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 3 of the License, or
-- (at your optio... |
software/exampleIO.asm | Arkaeriit/asrm | 1 | 13513 | <filename>software/exampleIO.asm
; This small program is ment to be assembled with reflet-asm
; it asks a character from the user and print it 10 times
; To assemble it, do reflet-asm exampleIO.asm -o exampleIO.bin
; To run it, do reflet-sim exampleIO.rbin
; (As this is a 8 bit program, the default configuration is eno... |
src/bitmap_graphics.adb | KLOC-Karsten/adaoled | 0 | 12548 |
with Bitmap_Graphics.Icons; use Bitmap_Graphics.Icons;
with Bitmap_Graphics.Font8;
with Bitmap_Graphics.Font12;
with Bitmap_Graphics.Font16;
with Bitmap_Graphics.Font20;
with Bitmap_Graphics.Font24;
package body Bitmap_Graphics is
procedure Get_Icon
(Icon : Bitmap_Icon;
Width : out Natural;
Height: ... |
gwnum/mult3a.asm | Kasual/GIMPS | 0 | 168972 | <reponame>Kasual/GIMPS
; Copyright 1995-2007 Mersenne Research, Inc. All rights reserved
; Author: <NAME>
; Email: <EMAIL>
;
; This routine implements the 10 level 2nd pass for FFTs.
;
TITLE setup
.686
.XMM
.MODEL FLAT
INCLUDE unravel.mac
INCLUDE extrn.mac
INCLUDE lucas.mac
INCLUDE mult.mac
INCLUDE pass2.mac... |
oeis/064/A064321.asm | neoneye/loda-programs | 11 | 17701 | <filename>oeis/064/A064321.asm<gh_stars>10-100
; A064321: n*(n-1)^3*(n-2)^3*(n-3).
; Submitted by <NAME>
; 0,0,0,0,864,17280,144000,756000,2963520,9483264,26127360,64152000,143748000,298995840,584648064,1085142240,1926288000,3290112000,5433384960,8710395264,13600573920,20741616000,30968784000,45361118880,65295324864,92... |
libsrc/_DEVELOPMENT/stdlib/c/sdcc_iy/ftoa_callee.asm | meesokim/z88dk | 0 | 167496 | <filename>libsrc/_DEVELOPMENT/stdlib/c/sdcc_iy/ftoa_callee.asm
; size_t ftoa(float x, char *buf, uint16_t prec, uint16_t flag)
SECTION code_stdlib
PUBLIC _ftoa_callee
EXTERN _dtoa_callee
defc _ftoa_callee = _dtoa_callee
|
Cubical/Data/Sum/Properties.agda | Edlyr/cubical | 0 | 14571 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.Sum.Properties where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Functions.Embedding
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.I... |
src/asf-beans-globals.adb | jquorning/ada-asf | 12 | 1390 | <filename>src/asf-beans-globals.adb
-----------------------------------------------------------------------
-- asf-beans-globals -- Bean giving access to the global init parameters
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- y... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.