text stringlengths 1 1.05M |
|---|
;===========================================================================
; Draw.asm
;---------------------------------------------------------------------------
; Assembly x86 library
;
;
; Author: Ahmed Hussein
; Created:
;
;
; This file provide some Procedures for drawing ... |
/*******************************<GINKGO LICENSE>******************************
Copyright (c) 2017-2020, the Ginkgo authors
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source co... |
/*
* Copyright (C) 2011 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... |
;*****************************************************************************
;* CBINT10.ASM - Issue int10/getinfo to vesa bios (CodeBuilder).
;*
;* This is not used in the loadable device driver, only in the codebuilder
;* version of the fliclib.
;*
;* Two of the vesa functions we call via int 10, VBE_INFO a... |
;; @file
;
; Copyright 2006 - 2010 Unified EFI, Inc.<BR>
; Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
;
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. The full t... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x12b8, %rdi
nop
nop
nop
nop
and $32591, %r11
mov $0x6162636465666768, %rbx
movq %rbx, (%rdi)
nop
nop
nop
nop
sub $59226, %rsi
lea addresses_UC_ht+0x6a70, %rsi
lea addresses_WC_ht+0x103... |
// Copyright 2017 The Dawn Authors
//
// 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 t... |
COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: CommonUI/CWin (common code for several specific ui's)
FILE: cwinDraw.asm
THIS IS A NULL FILE. SEE /staff/pcgeos/Library/{uiname}/Win/cwinDraw.asm
FO... |
; A024557: a(n) = [ a(n-1)/(sqrt(6) - 2) ], where a(0) = 1.
; Submitted by Christian Krause
; 1,2,4,8,17,37,82,182,404,898,1997,4442,9882,21984,48908,108807,242067,538537,1198107,2665482,5930017,13192774,29350556,65297498,145270273,323189294,719013724,1599622094,3558751049,7917313144,17614001812,39186660195,87180321295... |
_Route17BattleText1::
text "There's no money"
line "in fighting kids!"
done
_Route17EndBattleText1::
text "Burned"
line "out!"
prompt
_Route17AfterBattleText1::
text "Good stuff is"
line "lying around on"
cont "CYCLING ROAD!"
done
_Route17BattleText2::
text "What do you want,"
line "kiddo?"
done
_Route... |
; A095166: Group the natural numbers >= 1 so that the n-th group contains n(n+1)/2 numbers and obtain the group sum.
; Submitted by Jon Maiga
; 1,9,45,155,420,966,1974,3690,6435,10615,16731,25389,37310,53340,74460,101796,136629,180405,234745,301455,382536,480194,596850,735150,897975,1088451,1309959,1566145,1860930,2198... |
// Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "mkldnn_node.h"
#include "mkldnn_extension_mngr.h"
#include <vector>
#include <string>
#include <limits>
#include <cstdint>
#include <nodes/mkldnn_batchnorm_node.h>
#include <nodes/mkldnn_concat_node.h>
#include <nodes/mk... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The quicknodes developers
// Distributed under the MIT software license, see the accompanying
// file COPYING ... |
#pragma once
#include <bio/ipc/server/server_Impl.hpp>
namespace bio::ipc::server {
template<typename T>
struct In : public CommandArgument {
T &ref;
constexpr In(T &ref) : ref(ref) {}
inline constexpr void Process(CommandContext &ctx, CommandState state) {
switch(state... |
#include <map>
#include "EarlyFree.h"
#include "IRVisitor.h"
#include "IRMutator.h"
namespace Halide {
namespace Internal {
using std::map;
using std::string;
using std::vector;
class FindLastUse : public IRVisitor {
public:
string func;
Stmt last_use;
FindLastUse(string s) : func(s), in_loop(false) {}... |
; A026551: a(n) = Sum{T(i,j)}, 0<=j<=i, 0<=i<=2n, T given by A026536.
; 3,9,21,57,129,345,777,2073,4665,12441,27993,74649,167961,447897,1007769,2687385,6046617,16124313,36279705,96745881,217678233,580475289,1306069401,3482851737,7836416409,20897110425,47018498457
add $0,5
mov $2,10
mov $4,8
mov $5,3
lpb $0,1
sub $0,... |
#include "library/common/extensions/filters/http/test_event_tracker/filter.h"
#include "library/common/api/external.h"
#include "library/common/bridge/utility.h"
namespace Envoy {
namespace Extensions {
namespace HttpFilters {
namespace TestEventTracker {
TestEventTrackerFilterConfig::TestEventTrackerFilterConfig(
... |
; A103312: A transform of the Jacobsthal numbers.
; 0,1,1,1,0,-3,-9,-18,-27,-27,0,81,243,486,729,729,0,-2187,-6561,-13122,-19683,-19683,0,59049,177147,354294,531441,531441,0,-1594323,-4782969,-9565938,-14348907,-14348907,0,43046721,129140163,258280326,387420489,387420489,0,-1162261467,-3486784401,-6973568802,-104603532... |
; A232628: Denominators of the triangle of polynomial coefficients P(0,x)=1, 2*P(n)=(1+x)*((1+x)^(n-1)+x^(n-1)).
; Submitted by Jon Maiga
; 1,1,1,2,2,1,2,2,1,1,2,1,1,2,1,2,2,1,1,1,1,2,1,2,1,2,2,1,2,2,2,2,2,2,1,1,2,1,1,1,1,1,1,2,1,2,2,1,1,1,1,1,1,1,1,2,1,2,1,1,1,1,1,2,2,1
seq $0,133138 ; Triangle T(n,k) of the coeffici... |
; Using Macro Conditional Expressions (Macro3.asm)
; The MUL32 macro issues a warning and exits if EAX
; is passed as the second argument. The Text macro LINENUM
; must be defined first. Then, the % (expansion operator)
; in the first column of the line containing the ECHO statement
; causes LINENUM to ... |
; A339052: Odd bisection of the infinite Fibonacci word A096270.
; 1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,1,1,1,0,0,1,1,0,0,1,1,0,0,1,1,1,0,1,1
mul $0,2
add $0,2
seq $0,189661 ; Fixed point of the morphism 0->010, 1->10 star... |
#include "WalletImpl.h"
#include "WalletRefresher.h"
#include <Wallet/Keychain/KeyChain.h>
#include <Wallet/NodeClient.h>
#include <Common/Logger.h>
#include <Crypto/CryptoException.h>
#include <Crypto/Hasher.h>
#include <Core/Exceptions/WalletException.h>
#include <Consensus/Common.h>
#include <unordered_set>
Wallet... |
[MemeRun_NiceFPS]
moduleMatches = 0xCDEC1245
0x1004B698 = .float $targetFPS
|
; A014907: a(1)=1, a(n) = 22*a(n-1) + n.
; 1,24,531,11686,257097,5656140,124435087,2737571922,60226582293,1324984810456,29149665830043,641292648260958,14108438261741089,310385641758303972,6828484118682687399,150226650611019122794,3304986313442420701485,72709698895733255432688,1599613375706131619519155,35191494265534895... |
; A193250: Small rhombicuboctahedron with faces of centered polygons.
; 1,51,245,679,1449,2651,4381,6735,9809,13699,18501,24311,31225,39339,48749,59551,71841,85715,101269,118599,137801,158971,182205,207599,235249,265251,297701,332695,370329,410699,453901,500031,549185,601459,656949,715751,777961,843675,912989,985999,10... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
; Copyright 2015-2021 Matt "MateoConLechuga" Waltz
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice,
; this list of conditions and the follo... |
; ------------------------------------------------------------------
; MichalOS Kernel
; ------------------------------------------------------------------
BITS 16
ORG 32768
; ------------------------------------------------------------------
; MACROS
; -----------------------------------------------------------... |
#ruledef test
{
ld {x: u8} =>
{
0x11 @ x`8
}
ld {x: u16} =>
{
0x22 @ x`16
}
ld {x: u24} =>
{
0x33 @ x`24
}
}
ld 0x5 ; = 0x1105 |
; A025777: Expansion of 1/((1-x)*(1-x^5)*(1-x^7)).
; 1,1,1,1,1,2,2,3,3,3,4,4,5,5,6,7,7,8,8,9,10,11,12,12,13,14,15,16,17,18,19,20,21,22,23,25,26,27,28,29,31,32,34,35,36,38,39,41,42,44,46,47,49,50,52,54,56,58,59,61,63,65,67,69,71,73,75,77,79,81,84
add $0,6
mov $2,6
mov $3,6
lpb $0,1
add $0,1
lpb $2,1
add $1,4
... |
//
// Copyright (c) 2011-2013, ARM Limited. All rights reserved.
//
// This program and the accompanying materials
// are licensed and made available under the terms and conditions of the BSD License
// which accompanies this distribution. The full text of the license may be found at
// http://opensource.or... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdx
lea addresses_WT_ht+0x15f0a, %rcx
clflush (%rcx)
cmp $6928, %rax
movb (%rcx), %r14b
nop
and %r15, %r15
lea addresses_A_ht+0x1ca8a, %r8
nop
nop
add %rdx, %rdx
movl $0x61626364, (%r8)
nop
nop
nop
nop
nop
cmp ... |
/* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2016, ITU/ISO/IEC
* All rights r... |
// Copyright (c) Csaba Molnar & Daniel Butum. All Rights Reserved.
#include "SoEditorCommands.h"
#include "Framework/Commands/Commands.h"
#define LOCTEXT_NAMESPACE "WarriorbEditor"
void FSoEditorCommands::RegisterCommands()
{
UI_COMMAND(LoadCameraData, "Camera Load", "Loads camera data", EUserInterfaceActionType::Bu... |
; ===============================================================
; May 2017
; ===============================================================
;
; void *tshr_saddrpright(void *saddr, uchar bitmask)
;
; Modify screen address and bitmask to move right one pixel.
; Indicate error if pixel is at the rightmost edge.
;
; ===... |
; A212069: Number of (w,x,y,z) with all terms in {1,...,n} and 3*w = x+y+z.
; 0,1,2,9,22,41,72,115,170,243,334,443,576,733,914,1125,1366,1637,1944,2287,2666,3087,3550,4055,4608,5209,5858,6561,7318,8129,9000,9931,10922,11979,13102,14291,15552,16885,18290,19773,21334,22973
pow $0,3
mul $0,2
mov $1,$0
seq $0,154958 ; Ant... |
#include <bp/Framebuffer.h>
#include <bp/RenderPass.h>
#include <bp/Swapchain.h>
#include <bp/Texture.h>
#include <stdexcept>
using namespace std;
namespace bp
{
Framebuffer::~Framebuffer()
{
if (isReady()) destroy();
}
void Framebuffer::setAttachment(const AttachmentSlot& slot, Attachment& attachment)
{
Swapchai... |
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
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 a... |
/*
* Copyright 2010, Object Management Group, Inc.
* Copyright 2010, PrismTech, Corp.
* Copyright 2010, Real-Time Innovations, Inc.
* Copyright 2019, Proyectos y Sistemas de Mantenimiento SL (eProsima).
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use ... |
; A134763: A000718^(-2) * A134762.
; Submitted by Jamie Morken(s1)
; 1,2,4,2,16,2,58,2,208,2,754,2,2770,2
mov $1,$0
div $0,2
sub $2,$1
bin $1,$0
mod $2,2
gcd $1,$2
mul $1,3
sub $1,$2
mov $0,$1
sub $0,2
|
; Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. The full text of the license may be found at ... |
; A289399: Total path length of the complete ternary tree of height n.
; 0,3,21,102,426,1641,6015,21324,73812,250959,841449,2790066,9167358,29893557,96855123,312088728,1000836264,3196219035,10169787837,32252755710,101988443730,321655860993,1012039172391,3177332285412,9955641160956,31137856397031,97226367933585,30311750... |
;
; file: asm_main.asm
%include "asm_io.inc"
%define ARRAY_SIZE 5
;
; initialized data is put in the .data segment
;
segment .data
array1: db 1,2,3,4,5
; uninitialized data is put in the .bss segment
;
segment .bss
;
; code is put in the .text segment
;
segment .text
global asm_main
asm_main:
enter ... |
; A264749: a(n) = floor(n/BL(n)) where BL(n) = A070939(n) is the binary length of n.
; 0,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,5,5,5,5,6,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,9,9,9,9,9,9,10,10,10,10,10,10,10,11,11,11,11,11,11,11,12,12,12,12,12,12,12,13,13,13,13,13,13,13,14,14... |
; A187077: Number of row-convex polyplets with n cells.
; Submitted by Jon Maiga
; 1,4,18,83,385,1788,8305,38575,179170,832189,3865253,17952864,83385309,387298083,1798875698,8355202169,38807241321,180247221864,837190686169,3888482927823,18060759310562,83886449530197,389625723579965
add $0,1
mov $1,3
lpb $0
sub $0,1
... |
# /*
# *******************************************************************
# * Kernel 1 -- hydro fragment
# *******************************************************************
# * DO 1 L = 1,Loop
# * DO 1 k = 1,n
# * 1 X(k)= Q + Y(k)*(R*ZX(k+10) + T*ZX(k+11))
# */... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x17a83, %r10
nop
dec %r15
mov $0x6162636465666768, %r9
movq %r9, (%r10)
nop
dec %r13
lea addresses_D_ht+0xc483, %rcx
nop
nop
nop
nop
add %rdx, %rdx
movw $0x6162, (%rc... |
;; @file
; IPRT - ASMSetFlags().
;
;
; 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 is free software;
; you can redistribute it and/or modify it under the terms of the GNU
; General Public License (GPL... |
;
; Z88dk Generic Floating Point Math Library
;
; common routine for double precision comparisons
;
; $Id: dcompar.asm,v 1.3 2016/06/21 21:16:49 dom Exp $:
SECTION code_fp
PUBLIC dcompar
EXTERN compare
.dcompar
POP HL ;save 1st return addr
POP AF ;save 2nd retur... |
/*
* EDDL Library - European Distributed Deep Learning Library.
* Version: 0.8
* copyright (c) 2020, Universidad Politécnica de Valencia (UPV), PRHLT Research Centre
* Date: November 2020
* Author: PRHLT Research Centre, UPV, (rparedes@prhlt.upv.es), (jon@prhlt.upv.es)
* All rights reserved
*/
#include <cstdio>
#incl... |
%ifdef CONFIG
{
"RegData": {
"MM0": ["0x0000000100000002", "0x0"],
"XMM0": ["0x3f80000040000000", "0x5152535455565758"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x3f80000040000000
mov [rdx + 8 * 0], rax
mov rax, 0x5152535455565758
mov [rdx + 8 * 1], rax
... |
dnl Intel Pentium mpn_modexact_1_odd -- exact division style remainder.
dnl Copyright 2000-2002, 2014 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the G... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/ssl/client_cert_store_impl.h"
#include <nss.h>
#include <ssl.h>
#include "base/logging.h"
#include "net/cert/x509_util.h"
namespace n... |
_shm_cnt: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
struct uspinlock lock;
int cnt;
};
int main(int argc, char *argv[])
{
1000: f3 0f 1e fb endbr32
1004: 8d 4c 24 04 lea 0x4(%esp),%ecx
1008: 83 e4 f0 and $0xfffffff0,%esp
... |
#include "dfa.h"
#include <iostream>
#include <string>
#include <fstream>
using namespace std;
void loadStatesFromFIle(int stateTable[3][4])
{
int state = 0;
ifstream file("states.txt");
if (file.is_open())
{
for (int i = 0; i <= 2; ++i)
{
for (int j = 0; j <= 3; ++j)
{
file >> state;
stateTabl... |
;***
;lowhelpr.asm
;
; Copyright (C) Microsoft Corporation. All rights reserved.
;
;Purpose:
; Contains _CallSettingFrame(), which must be in asm for NLG purposes.
;
;Notes:
;
;*******************************************************************************
title lowhelpr.asm
.xlist
include vcruntime.inc
inclu... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: GeoDex
MODULE: Dial
FILE: dialPhone.asm
AUTHOR: Ted H. Kim, 10/17/89
ROUTINES:
Name Description
---- -----------
CreatePhoneTypeTable Creates phone num... |
; A017458: a(n) = (11*n + 5)^10.
; 9765625,1099511627776,205891132094649,6278211847988224,79792266297612001,604661760000000000,3255243551009881201,13744803133596058624,48398230717929318249,148024428491834392576,404555773570791015625,1008568618886953829376,2329194047563391944849,5042166166892418433024,103269302376131800... |
#include <vx_ext_rpp.h>
#include "node_brightness.h"
#include "exception.h"
BrightnessNode::BrightnessNode(const std::vector<Image*>& inputs, const std::vector<Image*>& outputs):
Node(inputs, outputs),
_alpha(ALPHA_OVX_PARAM_IDX, ALPHA_RANGE[0], ALPHA_RANGE[1]),
_beta (BETA_OVX_PARAM_IDX, BETA... |
// Copyright 2012 Cloudera Inc.
//
// 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 wr... |
;Add N 16 bit numbers
;Input : 00A0H <- N
; 00A1H <- list start
;Output : 00B0H <- sum
LXI H, 00A0H
MOV C, M
MVI B, 00H
MVI D, 00H
MVI E, 00H
LOOP: INX H
MOV A, M
ADD E
MOV E, A
INX H
MOV A, M
ADC D
MOV D, A
MVI A, 00H
ADC B
MOV B, A
DCR C
JNZ LOOP
STA 00B2H
MOV A, D
STA 00B1H
MOV A, E
STA 00B0H... |
/* GR-1: random number generator(s) -- (C) Tasty Chips Electronics */
#include "random.h"
// #include <time.h>
/* Include 'Tiny Mersenne-Twister' 32-bit right here, since it's the only place we'll be using it. */
#include "../3rdparty/tinymt/tinymt32.c"
static tinymt32_t s_genState;
void initialize_random_generat... |
adc (ix) ; Error
adc (ix+127) ; Error
adc (ix-128) ; Error
adc (iy) ; Error
adc (iy+127) ; Error
adc (iy-128) ; Error
adc a', (hl) ; Error
adc a', (ix) ; Error
... |
!:
lda {c2}-1,y
sta {c1}-1,y
dey
bne !- |
ldx {m1} |
@100 |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1d3a6, %rsi
lea addresses_D_ht+0xf1ce, %rdi
nop
nop
nop
nop
inc %rbx
mov $86, %rcx
rep movsq
nop
nop
nop
nop
nop
inc %rdx
lea addresses_UC_ht+0x5c26, %r11
nop
nop
add %r8, %r... |
;Write an 8051 ASM program to move a block of five data using conditional statements from 50H RAM to External
;ROM memory 4000H to do addition and store the result in 5000H (High Byte) and 5001H(Lower Byte).
ORG 0000H
MOV R0,#50H
MOV R1,#05H
MOV DPTR,#4000H
MOVE: MOV A,@R0
MOVX @DPTR,A
INC R0
INC DPTR
DJNZ R... |
; A192875: Coefficient of x in the reduction by (x^2 -> x + 1) of the polynomial p(n,x) given in Comments.
; Submitted by Simon Strandgaard
; 0,1,3,11,37,119,391,1257,4087,13195,42757,138271,447615,1448249,4687071,15166963,49082501,158832391,513995543,1663319433,5382623015,17418520571,56367538373,182409150671,590288468... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x1"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x0
mov [rdx + 8 * 0], rax
mov rax, 201 ; Time
syscall
cmp rax, 0
setne [rdx + 8 * 0]
mov rax, [rdx + 8 * 0]
hlt
|
# trys to emulate function calls without the call/return keywords
|
# $Id: e_ld_1.asm,v 1.1 2001/03/14 16:57:30 ellard Exp $
#@ tests for "underflow" in ld.
ld r3, r2, 0 # OK
ld r3, r2, -1 # Not OK
|
;
; jidctint.asm - accurate integer IDCT (64-bit SSE2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2009, 2016, 2020, D. R. Commander.
; Copyright (C) 2018, Matthias Räncker.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For c... |
; A267886: Decimal representation of the n-th iteration of the "Rule 235" elementary cellular automaton starting with a single ON (black) cell.
; 1,4,27,127,511,2047,8191,32767,131071,524287,2097151,8388607,33554431,134217727,536870911,2147483647,8589934591,34359738367,137438953471,549755813887,2199023255551,8796093022... |
; $Id: ASMGetGDTR.asm $
;; @file
; IPRT - ASMGetGDTR().
;
;
; Copyright (C) 2006-2015 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it under the terms of the GNU
; Gene... |
#include "SDL.h"
#include "GameWorldPanel.h"
#include "LogbookPanel.h"
#include "LogbookUiController.h"
#include "LogbookUiModel.h"
#include "LogbookUiView.h"
#include "../Assets/ArenaTextureName.h"
#include "../Assets/ExeData.h"
#include "../Game/Game.h"
#include "../Game/Options.h"
#include "../Math/Vector2.h"
#incl... |
_ls: file format elf32-i386
Disassembly of section .text:
00000000 <fmtname>:
#include "user.h"
#include "fs.h"
char*
fmtname(char *path)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 53 push %ebx
4: 83 ec 14 sub $0x14,%esp
... |
#include "pch.h"
#include "multimedia/command.h"
#include "multimedia/context.h"
#include "multimedia/io.segmentor.h"
#include "multimedia/media.h"
#include "core/exception.hpp"
#include <folly/executors/Async.h>
#include <folly/executors/CPUThreadPoolExecutor.h>
#include <folly/executors/GlobalExecutor.h>
#include <fo... |
; A213487: Number of (w,x,y) with all terms in {0,...,n} and |w-x|+|x-y|+|y-w| <= w+x+y.
; 1,5,15,37,77,138,223,338,489,679,911,1191,1525,1916,2367,2884,3473,4137,4879,5705,6621,7630,8735,9942,11257,12683,14223,15883,17669,19584,21631,23816,26145,28621,31247,34029,36973,40082,43359,46810
mov $2,$0
add $2,1
mov $4,$0
l... |
; A007913 o=1: Squarefree part of n: a(n) is the smallest positive number m such that n/m is a square.
; Coded manually 2021-02-25 by Antti Karttunen, https://github.com/karttu
; Note that A007913(n) = n / A008833(n), so we could just use cal to the latter and then divide.
; However, this is a stand-alone implementatio... |
/*
* System Timer Utility
*
* org: 6/28/2014
* rev: 12/14/2014
* auth: Nels "Chip" Pearson
*
* Usage:
* .include sys_timers.asm
*
*
* Timer0
* General purpose system timer. Provides 10ms and 1ms TIC flags for services.
* Embedded a call to start PWM pulses every 10ms.
*
* Timer1
* Can be configured... |
;
; Camputers Lynx C Library
;
; Print character to the screen
;
; Stefano Bodrato - 2014
;
;
; $Id: fputc_cons.asm,v 1.4 2016-05-15 20:15:45 dom Exp $
;
SECTION code_clib
PUBLIC fputc_cons_native
.fputc_cons_native
ld hl,2
add hl,sp
ld a,(hl)
cp 12
jr nz,nocls
ld hl,$6255
ld a... |
; A328821: Triangular array read by rows. Let P be the poset of all even sized subsets of [2n] ordered by inclusion. T(n,k) is the number of intervals in P with length k, 0<=k<=n, n>=0.
; Submitted by Christian Krause
; 1,2,1,8,12,1,32,120,30,1,128,896,560,56,1,512,5760,6720,1680,90,1,2048,33792,63360,29568,3960,132,... |
nolist
org #1000
write "nslookup.com"
READ <SymbOS-Constants.asm>
relocate_start
App_BegCode
;### APPLICATION HEADER #######################################################
;header structure
prgdatcod equ 0 ;Length of the code area (OS will place this area everywhere)
prgdatdat equ 2 ... |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed in the hope that it will be us... |
;
; OZ-7xx DK emulation layer for Z88DK
; by Stefano Bodrato - Oct. 2003
;
; int ozgetpoint(int x, int y);
;
; ------
; $Id: ozgetpoint.asm,v 1.2 2015/01/19 01:33:01 pauloscustodio Exp $
;
PUBLIC ozgetpoint
EXTERN pointxy
EXTERN swapgfxbk
.ozgetpoint
ld ix,0
add ix,sp
ld l,(ix+2)
ld... |
; A073093: Number of prime power divisors of n.
; 1,2,2,3,2,3,2,4,3,3,2,4,2,3,3,5,2,4,2,4,3,3,2,5,3,3,4,4,2,4,2,6,3,3,3,5,2,3,3,5,2,4,2,4,4,3,2,6,3,4,3,4,2,5,3,5,3,3,2,5,2,3,4,7,3,4,2,4,3,4,2,6,2,3,4,4,3,4,2,6,5,3,2,5,3,3,3,5,2,5,3,4,3,3,3,7,2,4,4,5,2,4,2,5,4,3,2,6,2,4,3,6,2,4,3,4,4,3,3,6,3,3,3,4,4,5,2,8,3,4,2,5,3,3,5,... |
; A110595: a(1)=5. For n > 1, a(n) = 4*5^(n-1) = A005054(n).
; 5,20,100,500,2500,12500,62500,312500,1562500,7812500,39062500,195312500,976562500,4882812500,24414062500,122070312500,610351562500,3051757812500,15258789062500,76293945312500,381469726562500,1907348632812500,9536743164062500,47683715820312500,23841857910156... |
//! \file
/*
** Copyright (C) - Triton
**
** This program is under the terms of the BSD License.
*/
/* libTriton */
#include <triton/pythonBindings.hpp>
#include <triton/api.hpp>
#include <csignal>
#include <cstring>
#include <iostream>
#include <stdexcept>
#include <string>
#include <pin.H>
/* Pintool */
#includ... |
;-----------------------------------------------------------------------------;
; Authors: Stephen Fewer (stephen_fewer[at]harmonysecurity[dot]com)
; Michael Schierl (schierlm[at]gmx[dot]de) [RC4 support]
; Compatible: Windows 7, 2008, Vista, 2003, XP, 2000, NT4
; Version: 1.0 (31 December 2012)
; Size:... |
;********************************************************************************************************
; uC/OS-II
; The Real-Time Kernel
;
; Copyright 1992-2021 Silicon Laboratories Inc. www.silabs.com
;
; ... |
; A135630: 2^(prime(n) - 2) - 1.
; 0,1,7,31,511,2047,32767,131071,2097151,134217727,536870911,34359738367,549755813887,2199023255551,35184372088831,2251799813685247,144115188075855871,576460752303423487,36893488147419103231,590295810358705651711,2361183241434822606847,151115727451828646838271,2417851639229258349412351,... |
; A123335: a(n) = -2*a(n-1) + a(n-2) for n>1, a(0)=1, a(1)=-1.
; 1,-1,3,-7,17,-41,99,-239,577,-1393,3363,-8119,19601,-47321,114243,-275807,665857,-1607521,3880899,-9369319,22619537,-54608393,131836323,-318281039,768398401,-1855077841,4478554083,-10812186007,26102926097,-63018038201,152139002499,-367296043199,8867310888... |
;////////////////////////////////////////////////////////////////////////////////////////////////////////
;// Part of Injectable Generic Camera System
;// Copyright(c) 2020, Frans Bouma
;// All rights reserved.
;// https://github.com/FransBouma/InjectableGenericCameraSystem
;//
;// Redistribution and use in source and ... |
.386
.model flat, stdcall
includelib msvcrt.lib
extern exit: proc
public start
.data
n_constant equ 3
n dd 3
matrix dd 1, 2, 3
dd 4, 5, 6
dd 7, 8, 9
sum_of_columns dd 0
.code
start:
;This program sums the columns of a matrix.
mov esi, 0
mov edi, 0
mov eax, 0
mov edx, 0
for_1 :
for_2 :
... |
/*
* Copyright (c) 2020 Alex Goodyear
* Derived from ...
Copyright (c) 2019 lewis he
This is just a demonstration. Most of the functions are not implemented.
The main implementation is low-power standby.
The off-screen standby (not deep sleep) current is about 4mA.
Select standard motherboard and standard backplane ... |
; char *strrstrip(char *s)
SECTION code_clib
SECTION code_string
PUBLIC strrstrip
EXTERN asm_strrstrip
defc strrstrip = asm_strrstrip
|
;
; Copyright (C) 2021 by Intel Corporation
;
; Permission to use, copy, modify, and/or distribute this software for any
; purpose with or without fee is hereby granted.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHA... |
; A100051: A Chebyshev transform of 1,1,1,...
; 1,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,1,-1,-2,-1,1,2,... |
; A063139: Composite numbers which in base 3 contain their largest proper factor as a substring.
; 9,15,21,27,33,39,45,49,51,57,63,69,75,81,87,93,99,105,111,117,123,129,135,141,147,153,159,165,171,177,183,189,195,201,207,213,219,225,231,237,243,249,255,261,267,273,279,285,291,297
mov $2,$0
trn $0,6
pow $0,2
mov $1,3
t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.