text stringlengths 1 1.05M |
|---|
module SHOP
levelText: db "Level: ",TEXT_END
userCoins: db "Coins: ",TEXT_END
userLives: db "Lives: ",TEXT_END
continuations: db "1 - Life: 55 coins",TEXT_END
; invulnerable: db "Invulnerable: 75",TEXT_END ; 1 time
; skipLevel: db "Skip level: 100",TEXT_END
currentLevelP... |
SECTION code_fp_math48
PUBLIC fma
EXTERN cm48_sccz80_fma
defc fma = cm48_sccz80_fma
|
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include <string>
#include <vector>
#include "base/bind.h"
#include "atom/browser/api/atom_api_window.h"
#include "atom/browser/native_window.h"
#include "atom/br... |
; A321773: Number of compositions of n into parts with distinct multiplicities and with exactly three parts.
; 1,3,6,4,9,9,10,12,15,13,18,18,19,21,24,22,27,27,28,30,33,31,36,36,37,39,42,40,45,45,46,48,51,49,54,54,55,57,60,58,63,63,64,66,69,67,72,72,73,75,78,76,81,81,82,84,87,85,90,90,91,93,96,94,99,99,100,102,105,103,1... |
; A047405: Numbers that are congruent to {0, 1, 2, 3, 6} mod 8.
; 0,1,2,3,6,8,9,10,11,14,16,17,18,19,22,24,25,26,27,30,32,33,34,35,38,40,41,42,43,46,48,49,50,51,54,56,57,58,59,62,64,65,66,67,70,72,73,74,75,78,80,81,82,83,86,88,89
mov $2,$0
mov $0,2
add $0,$2
mov $3,$0
lpb $0,1
add $3,$0
trn $0,2
add $3,1
sub $... |
; A049871: a(n)=Sum{a(k): k=0,1,2,...,n-4,n-2,n-1}; a(n-3) is not a summand; 3 initial terms required.
; Submitted by Christian Krause
; 1,3,3,6,10,20,37,70,130,243,453,846,1579,2948,5503,10273,19177,35799,66828,124752,232882,434735,811546,1514962,2828071,5279331,9855246,18397383,34343506,64111097,119680057,223413991,4... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xda1a, %rdx
clflush (%rdx)
nop
nop
nop
add $8569, %r10
mov (%rdx), %rbp
nop
nop
nop
and $51922, %r8
lea addresses_WT_ht+0x1025a, %rbx
nop
nop
nop
nop
nop
lfe... |
;
; jccolext.asm - colorspace conversion (64-bit AVX2)
;
; Copyright (C) 2009, 2016, D. R. Commander.
; Copyright (C) 2015, Intel Corporation.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.i... |
/* Dummy file to avoid warning in the superset */
|
//---------------------------------------------------------------------------//
// Copyright (c) 2018-2021 Mikhail Komarov <nemo@nil.foundation>
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), t... |
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef VSOMEIP_MESSAGE_BASE_HPP
#def... |
#include <gtest/gtest.h>
#include <cpuinfo.h>
#include <cpuinfo-mock.h>
TEST(PROCESSORS, count) {
ASSERT_EQ(8, cpuinfo_get_processors_count());
}
TEST(PROCESSORS, non_null) {
ASSERT_TRUE(cpuinfo_get_processors());
}
TEST(PROCESSORS, smt_id) {
for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) {
ASS... |
; L0014.asm
; Generated 07.09.2000 by mlevel
; Modified 07.09.2000 by Abe Pralle
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level0014Section",ROMX
;---------------------------------------------------------------------
L0014_... |
mod_a: begin
section text
mod_b: extern
public fat
public n
input n
load n
fat: sub one
jmpz fim
jmp mod_b
fim: output n
stop
section data
n: space
one: const 1
end
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %rbp
push %rcx
lea addresses_UC_ht+0x1688d, %rcx
nop
nop
nop
nop
nop
xor %r11, %r11
mov (%rcx), %bp
xor %r8, %r8
pop %rcx
pop %rbp
pop %r8
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r13
push %rax
push %r... |
// =============================================================================
// === GPUQREngine/Source/GPUQREngine_ExpertDense.cpp ==========================
// =============================================================================
//
// This file contains the dense GPUQREngine wrapper that finds the stairca... |
; A085287: Expansion of (1+4x)/((1-x^2)(1-3x)).
; 1,7,22,70,211,637,1912,5740,17221,51667,155002,465010,1395031,4185097,12555292,37665880,112997641,338992927,1016978782,3050936350,9152809051,27458427157,82375281472,247125844420,741377533261,2224132599787,6672397799362,20017193398090,60051580194271,180154740582817,54046... |
; A005909: a(n) = [ tau*a(n-1) ] + [ tau*a(n-2) ].
; Submitted by Christian Krause
; 0,2,3,7,15,35,80,185,428,991,2295,5316,12314,28525,66078,153070,354588,821407,1902799,4407857,10210855,23653572,54793793,126930502,294036085,681138245,1577865210,3655144370
mov $2,1
lpb $0
sub $0,1
add $5,$1
mov $1,$3
sub $3,$... |
// serial_sender.cpp
#include <wiringPi.h> //for delay()
#include <wiringSerial.h>
#include <sys/types.h>
//#include <sys/socket.h>
#include <sys/ioctl.h>
//#include <net/if.h>
//#include <netinet/in.h>
//#include <arpa/inet.h>
//#include <ifaddrs.h>
#include <unistd.h>
#include <cstring>
#include <string>
#include <v... |
; ---------------------------------------------------------------------------
; Object 19 - blank
; ---------------------------------------------------------------------------
Obj19:
rts |
; A164013: 3 times centered triangular numbers: 9*n*(n+1)/2 + 3.
; 3,12,30,57,93,138,192,255,327,408,498,597,705,822,948,1083,1227,1380,1542,1713,1893,2082,2280,2487,2703,2928,3162,3405,3657,3918,4188,4467,4755,5052,5358,5673,5997,6330,6672,7023,7383,7752,8130,8517,8913,9318,9732,10155,10587,11028,11478,11937,12405,128... |
; A128964: a(n) = (n^3-n)*6^n.
; 0,216,5184,77760,933120,9797760,94058496,846526464,7255941120,59861514240,478892113920,3735358488576,28524555730944,213934167982080,1579821548175360,11510128422420480,82872924641427456,590469588070170624,4168020621671792640,29176144351702548480,202697423917091389440,13986122250279305871... |
; A251194: Number of (n+1) X (1+1) 0..1 arrays with no 2 X 2 subblock having the minimum of its diagonal elements less than the absolute difference of its antidiagonal elements.
; Submitted by Christian Krause
; 10,25,64,164,421,1081,2776,7129,18308,47017,120745,310087,796339,2045090,5252026,13487806,34638235,88954966,... |
;===============================================================================
; Copyright 2014-2021 Intel Corporation
;
; 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.apa... |
;ASTER 02/03/2009 2135
;TO BE ASSEMBLED IN KEIL MICROVISION V3.60
;ARTIFICIAL INTELLIGENCE
;MICROCOMPUTER B
;REV 0 LAST UPDATED 04/03/2009 1610
;-----------------------------------------------------------------------------------------------------------
;SET THE ASSEMBLER FOR AT89S52
$NOMOD51
$INCLUDE (AT89X52.h)
;--... |
.model tiny
.code
org 100h
kkk:
nop ; ID
count db 90h ; ID
mov cx,80h
mov si,0080h
mov di,0ff7fh
rep movsb ; save param
lea ax,begp ; begin prog
mov cx,ax
sub ax,100h
mov ds:[0fah],ax ; len VIR
add cx,fso
mov ds:[0f8h],cx ; begin buffer W
ADD CX,AX
... |
; A259902: n*a(n+1) = (2*n^2+3n-1)*a(n)-(n^2-n-2)*a(n-1); a(0)=0, a(1)=1.
; Submitted by Christian Krause
; 0,1,4,26,220,2300,28648,414212,6818728,125907560,2577034480,57906103064,1417086592336,37515931327184,1068289141830880,32558309340991280,1057440044863257952,36460006715962829408,1330080906206563365952,511834929560... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>mpx(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str
Invokes the syscall mpx.
See 'man 2 mpx' for more information.
Arguments:
vararg(int): vararg
Returns:
long
</%docstring>
<%page args... |
_bigtest: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "user.h"
#include "fcntl.h"
int
main()
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 81 ec 30 02 00 00 sub $0x230,%e... |
/*
* Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... |
#include<iostream>
#include<bits/stdc++.h>
using namespace std;
class Solution {
public:
int minCostClimbingStairs(vector<int>& cost) {
int n = cost.size();
vector<int> dp(n);
dp[0] = cost[0];
dp[1] = cost[1];
for(int i=2;i<n;i++){
dp[i] = cost[i] + min(d... |
; A071721: Expansion of (1+x^2*C^2)*C^2, where C = (1-(1-4*x)^(1/2))/(2*x) is g.f. for Catalan numbers, A000108.
; 1,2,6,18,56,180,594,2002,6864,23868,83980,298452,1069776,3863080,14040810,51325650,188574240,695987820,2579248980,9593714460,35804293200,134032593240,503154100020,1893689067348,7144084508256,27010813341400... |
; ******************************************************************************
; ******************************************************************************
;
; Name: personality_mega65.asm
; Purpose: Mega65 Personality Code
; Date: 22nd July 2019
; Author: Paul Robson
;
; ********************************... |
;------------------------------------------------------------------------------
;*
;* Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
;* SPDX-License-Identifier: BSD-2-Clause-Patent
;*
;* CpuAsm.asm
;*
;* Abstract:
;*
;------------------------------------------------------------... |
INCLUDE "color/data/map_palettes.asm"
INCLUDE "color/data/map_palette_sets.asm"
INCLUDE "color/data/map_palette_assignments.asm"
INCLUDE "color/data/roofpalettes.asm"
; Load colors for new map and tile placement
LoadTilesetPalette:
push bc
push de
push hl
ld a,[rSVBK]
ld d,a
xor a
ld [rSVBK],a
ld a,[wCurMapTil... |
DoPlayerMovement::
call .GetDPad
ld a, movement_step_sleep
ld [wMovementAnimation], a
xor a
ld [wWalkingIntoEdgeWarp], a
call .TranslateIntoMovement
ld c, a
ld a, [wMovementAnimation]
ld [wPlayerNextMovement], a
ret
.GetDPad:
ldh a, [hJoyDown]
ld [wCurInput], a
; Standing downhill instead moves down.
... |
#include <cstdint>
#include <memory>
#include <string>
#include "common/common/base64.h"
#include "common/http/header_map_impl.h"
#include "common/http/headers.h"
#include "common/http/message_impl.h"
#include "common/runtime/runtime_impl.h"
#include "common/runtime/uuid_util.h"
#include "common/tracing/http_tracer_im... |
; A134489: a(n) = Fibonacci(5*n + 2).
; Submitted by Jamie Morken(s1)
; 1,13,144,1597,17711,196418,2178309,24157817,267914296,2971215073,32951280099,365435296162,4052739537881,44945570212853,498454011879264,5527939700884757,61305790721611591,679891637638612258
mul $0,5
mov $1,1
mov $2,1
lpb $0
sub $0,2
add $1,$2
... |
;===============================================================================
; Copyright 2014-2019 Intel Corporation
; All Rights Reserved.
;
; If this software was obtained under the Intel Simplified Software License,
; the following terms apply:
;
; The source code, information and material ("Material") co... |
; A059165: a(n) = (n+1)*2^(n+4).
; 0,16,64,192,512,1280,3072,7168,16384,36864,81920,180224,393216,851968,1835008,3932160,8388608,17825792,37748736,79691776,167772160,352321536,738197504,1543503872,3221225472,6710886400,13958643712,28991029248,60129542144,124554051584,257698037760,532575944704,1099511627776,226774273228... |
// Copyright 2013 The Emscripten Authors. All rights reserved.
// Emscripten is available under two separate licenses, the MIT license and the
// University of Illinois/NCSA Open Source License. Both these licenses can be
// found in the LICENSE file.
#include <stdio.h>
#include <emscripten.h>
void later(void *) {}... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xd5c3, %rsi
lea addresses_normal_ht+0x1ae7d, %rdi
nop
nop
nop
lfence
mov $67, %rcx
rep movsw
nop
nop
nop
cmp $13035, %rbx
lea addresses_UC_ht+0x1adfd, %r10
clflush (%r10)
... |
// -*- C++ -*-
//
// Package: SiPixelPhase1GeometryDebug
// Class : SiPixelPhase1GeometryDebug
//
// Original Author: Marcel Schneider
#include "DQM/SiPixelPhase1Common/interface/SiPixelPhase1Base.h"
#include "FWCore/Framework/interface/MakerMacros.h"
// This small plugin plots out varois geometry quantiti... |
; A027983: T(n,n+1) + T(n,n+2) + ... + T(n,2n), T given by A027960.
; 1,5,14,35,81,180,389,825,1726,3575,7349,15020,30561,61965,125294,252795,509161,1024100,2057549,4130225,8284926,16609455,33282989,66669660,133507081,267285605,535010414,1070731475,2142612801
mov $1,1
mov $2,4
mov $4,1
lpb $0
sub $0,1
add $5,$2
... |
#include "test.hpp"
#include <limits>
#include <string>
#include <math.h>
#include <string.h>
#include <limits.h>
using namespace pugi;
TEST_XML(dom_attr_assign, "<node/>")
{
xml_node node = doc.child(STR("node"));
node.append_attribute(STR("attr1")) = STR("v1");
xml_attribute() = STR("v1");
node.append_attri... |
; A062731: Sum of divisors of 2*n.
; Submitted by Christian Krause
; 3,7,12,15,18,28,24,31,39,42,36,60,42,56,72,63,54,91,60,90,96,84,72,124,93,98,120,120,90,168,96,127,144,126,144,195,114,140,168,186,126,224,132,180,234,168,144,252,171,217,216,210,162,280,216,248,240,210,180,360,186,224,312,255,252,336,204,270,288,336,... |
// Copyright 2014 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 "extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h"
#include "base/lazy_instance.h"
#include "device/bluetooth/bluetooth_socket.h"
... |
#include <cstdio>
#include "NCInterface.H"
#include <AMReX.H>
#define abort_func amrex::Abort
namespace ncutils {
namespace {
char recname[NC_MAX_NAME + 1];
void check_nc_error(int ierr)
{
if (ierr != NC_NOERR) {
printf("\n%s\n\n", nc_strerror(ierr));
abort_func("Encountered NetCDF error; abor... |
%ifdef CONFIG
{
"Match": "All",
"RegData": {
"RBX": "0xFFFFFFFFFFFF00D1",
"RCX": "0x00000000000000D1",
"RDX": "0xDAD1",
"RDI": "0xDAD1"
}
}
%endif
mov rax, qword 0xDEADBEEFBAD0DAD1
mov rbx, -1
mov rcx, -1
mov rdx, -1
mov rdi, -1
movzx bx, al ; 8bit-> 16bit
movzx ecx, al ; 8bit-> 32bit
movzx ed... |
#include "afk/io/Unicode.hpp"
using std::ostream;
using std::u8string;
ostream &operator<<(ostream &os, const char8_t *c) {
return os << reinterpret_cast<const char *>(c);
}
ostream &operator<<(ostream &os, const u8string &s) {
return os << reinterpret_cast<const char *>(s.data());
}
auto afk::io::to_cstr(const... |
/*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/command_stream/preemption.h"
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/hw_info_config.h"
#include "shared/test/common/cmd_parse/hw_parse.h"
#include "shared/test/common/moc... |
; A024912: Numbers k such that 10*k + 1 is prime.
; 1,3,4,6,7,10,13,15,18,19,21,24,25,27,28,31,33,40,42,43,46,49,52,54,57,60,63,64,66,69,70,75,76,81,82,88,91,94,97,99,102,103,105,106,109,115,117,118,120,123,129,130,132,136,138,145,147,148,151,153,157,160,162,172,174,180,181,183,186,187,190,193,195,201,208,211,213,214,2... |
/**********************************************************************
Audacity: A Digital Audio Editor
ChangeSpeed.cpp
Vaughan Johnson, Dominic Mazzoni
*******************************************************************//**
\class EffectChangeSpeed
\brief An Effect that affects both pitch & speed.
*//****... |
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aome... |
; A021581: Decimal expansion of 1/577.
; Submitted by Jon Maiga
; 0,0,1,7,3,3,1,0,2,2,5,3,0,3,2,9,2,8,9,4,2,8,0,7,6,2,5,6,4,9,9,1,3,3,4,4,8,8,7,3,4,8,3,5,3,5,5,2,8,5,9,6,1,8,7,1,7,5,0,4,3,3,2,7,5,5,6,3,2,5,8,2,3,2,2,3,5,7,0,1,9,0,6,4,1,2,4,7,8,3,3,6,2,2,1,8,3,7,0
add $0,1
mov $2,10
pow $2,$0
div $2,577
mov $0,$2
mod $... |
#left shift
li $s0, 9
sll $t2, $s0, 4
#AND
li $t2, 0xdc0
li $t1, 0x3c00
and $t0, $t1, $t2
#OR
or $t0, $t1, $t2
#NOR
li $t3, 0
nor $t0, $t1, $t3 |
; ==================================================================
; MikeOS -- The Mike Operating System kernel
; Copyright (C) 2006 - 2014 MikeOS Developers -- see doc/LICENSE.TXT
;
; BASIC CODE INTERPRETER (4.5)
; ==================================================================
; --------------------------------... |
// stdafx.cpp : source file that includes just the standard includes
// Kinect2ForcePlate.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
///////////////////////////////////////////////////////////////////////////////////////////////////////... |
; A228679: Number of nX4 binary arrays with no two ones adjacent horizontally, diagonally or antidiagonally.
; Submitted by Christian Krause
; 8,40,216,1152,6160,32928,176032,941056,5030848,26894720,143778176,768632832,4109082880,21967006208,117434808832,627802177536,3356207397888,17942161561600,95918137153536,51277484... |
#ifndef CLIENT_HPP
#define CLIENT_HPP
#include <QTimer>
#include <QUdpSocket>
#include <qqml.h>
#include "snakedata.hpp"
#include "commands.hpp"
class Client : public QObject
{
Q_OBJECT
Q_PROPERTY(SnakeController* snakeController READ getSnakeConroller NOTIFY snakeDataChanged)
Q_PROPERTY(QVec... |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rax
push %rbp
push %rcx
lea addresses_A_ht+0x1004c, %rcx
nop
nop
xor %r15, %r15
movw $0x6162, (%rcx)
nop
nop
nop
nop
nop
inc %rbp
pop %rcx
pop %rbp
pop %rax
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %rax
push %rbp
push %rbx
push %r... |
;===============================================================================
; Constants
MapLastColumn = 202 ; (5 * 40) + 2 extra hidden rows, i.e. start of 6th screen
;===============================================================================
; Variables
Operator Calc
MapRAMRowStartLow ; increme... |
; A221217: T(n,k) = ((n+k)^2-2*n+3-(n+k-1)*(1+2*(-1)^(n+k)))/2; n , k > 0, read by antidiagonals.
; 1,6,5,4,3,2,15,14,13,12,11,10,9,8,7,28,27,26,25,24,23,22,21,20,19,18,17,16,45,44,43,42,41,40,39,38,37,36,35,34,33,32,31,30,29,66,65,64,63,62,61,60,59,58,57,56,55,54,53,52,51,50,49,48,47,46,91,90,89,88,87,86,85,84,83,82,8... |
// Copyright (C) 2018-2019 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <map>
#include <opencv2/core/core.hpp>
#include <opencv2/core/mat.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <string>
#include <vector>
#include "PreprocessingOptions.hpp"
#include "backend.hpp"
... |
Name: zel_obj_data.asm
Type: file
Size: 1751
Last-Modified: '2016-05-13T04:20:48Z'
SHA-1: CEEF93F18C04B5C5541A257BBB086457EE3DBF0C
Description: null
|
SECTION code_clib
SECTION code_fp_math48
PUBLIC copysign_callee
EXTERN cm48_sccz80_copysign_callee
defc copysign_callee = cm48_sccz80_copysign_callee
|
; A141354: Expansion of (1-5*x-x^2+x^3)/((1+x)*(1-x)^3).
; 1,-3,-7,-15,-23,-35,-47,-63,-79,-99,-119,-143,-167,-195,-223,-255,-287,-323,-359,-399,-439,-483,-527,-575,-623,-675,-727,-783,-839,-899,-959,-1023,-1087,-1155,-1223,-1295,-1367,-1443,-1519,-1599,-1679,-1763,-1847
add $0,1
pow $0,2
sub $1,$0
div $1,4
mul $1,4
a... |
; A180973: Numbers n such that 9^10 + n^2 is a square.
; Submitted by Jamie Morken(w1)
; 0,78732,262440,796068,2391120,7174332,21523320,64570068,193710240,581130732,1743392200
mov $2,$0
lpb $0
sub $0,1
mov $3,3
mov $4,$2
sub $2,2
add $4,8
pow $3,$4
add $1,$3
lpe
mov $0,$1
mul $0,4
|
; A047281: Numbers that are congruent to {0, 3, 6} mod 7.
; 0,3,6,7,10,13,14,17,20,21,24,27,28,31,34,35,38,41,42,45,48,49,52,55,56,59,62,63,66,69,70,73,76,77,80,83,84,87,90,91,94,97,98,101,104,105,108,111,112,115,118,119,122,125,126,129,132,133,136,139,140,143,146,147,150,153,154,157,160,161,164,167,168,171,174,175,178... |
#include "search.h"
using namespace std;
bool CDir::ListFiles(){
/// Open Directory for reading
DIR * direc = opendir(m_Path.c_str());
if (direc == NULL)
return false;
struct dirent * item = readdir (direc);
if (m_Paths.size()==0)
m_Paths.push_back(GetFullPath (m_Path));
while (item){
//Skips "."... |
// Copyright (C) 2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <vector>
#include <gtest/gtest.h>
#include "low_precision_transformations/pad_transformation.hpp"
using namespace LayerTestsDefinitions;
namespace {
const std::vector<ngraph::element::Type> netPrecisions = {
ngraph::ele... |
; *******************************************************************************************
; *******************************************************************************************
;
; Name : simpleunary.asm
; Purpose : Simple unary functions.
; Date : 3rd July 2019
; Author : paul@robsons.org.uk
;
; **... |
// Copyright (c) 2011-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/clientmodel.h>
#include <checkpoints.h>
#include <clientversion.h>
#include <config.h>
#include <interfaces/han... |
; The MIT License (MIT)
; Copyright (c) 2015 Itay Grudev <itay@grudev.com>
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to ... |
Sound57_PlatformKnock_Header:
smpsHeaderStartSong 2, 1
smpsHeaderVoice Sound57_PlatformKnock_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM5, Sound57_PlatformKnock_FM5, $00, $00
; FM5 Data
Sound57_PlatformKnock_FM5:
smpsSetvoice $00
dc.b nCs6, $15
smpsStop
Sound57_... |
title bfpsig - BASIC floating point error routine
comment !
---------------------------------------------------------------------------
This module defines the __fpsignal routine for BASIC
Copyright (C) Microsoft Corp. 1984, 1985, 1986
Written by Gregory F. Whitten
-----------------------------------... |
; A307662: Triangle T(i,j=1..i) read by rows which contain the naturally ordered divisors-or-ones of the row number i.
; 1,1,2,1,1,3,1,2,1,4,1,1,1,1,5,1,2,3,1,1,6,1,1,1,1,1,1,7,1,2,1,4,1,1,1,8,1,1,3,1,1,1,1,1,9,1,2,1,1,5,1,1,1,1,10,1,1,1,1,1,1,1,1,1,1,11,1,2,3,4,1,6,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,13,1,2,1,1,1,1,7... |
;;
;; BSD 2-Clause License
;;
;; Copyright (c) 2021, Manas Kamal Choudhury
;; 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 copyrig... |
db MUK ; pokedex id
db 105 ; base hp
db 105 ; base attack
db 75 ; base defense
db 50 ; base speed
db 65 ; base special
db POISON ; species type 1
db POISON ; species type 2
db 75 ; catch rate
db 157 ; base exp yield
INCBIN "pic/gsmon/muk.pic",0,1 ; 77, sprite dimensions
dw MukPicFront
dw MukPicBack
; attacks known at l... |
; void *zx_cxy2saddr(uchar x, uchar y)
SECTION code_clib
SECTION code_arch
PUBLIC zx_cxy2saddr
EXTERN asm_zx_cxy2saddr
zx_cxy2saddr:
pop af
pop de
pop hl
push hl
push de
push af
ld h,e
jp asm_zx_cxy2saddr
|
PresetsMenuGtclassic:
dw #presets_goto_gtclassic_crateria
dw #presets_goto_gtclassic_brinstar
dw #presets_goto_gtclassic_kraid
dw #presets_goto_gtclassic_bootless_upper_norfair
dw #presets_goto_gtclassic_hi_jump_upper_norfair
dw #presets_goto_gtclassic_lower_norfair
dw #presets_goto_gtclassi... |
; A036545: a(n) = T(4,n), array T given by A048471.
; 1,17,65,209,641,1937,5825,17489,52481,157457,472385,1417169,4251521,12754577,38263745,114791249,344373761,1033121297,3099363905,9298091729,27894275201,83682825617,251048476865,753145430609,2259436291841,6778308875537,20334926626625,61004779879889,183014339639681,549... |
;
; Old School Computer Architecture - SD Card driver
; Taken from the OSCA Bootcode by Phil Ruston 2011
;
; Ported by Stefano Bodrato, 2012
;
; Power off the sdcard slot
;
; $Id: sd_power_off.asm,v 1.1 2012/07/10 05:55:38 stefano Exp $
;
XLIB sd_power_off
INCLUDE "osca.def"
sd_power_off:
push af
in a,(sys... |
;--------------------------------------------------------
; Category 8 Function 43H Set Device Parameters - not supported for DOS 2.X and DOS 3.X
;--------------------------------------------------------
;
;
;
IODSETPARAM PROC NEAR
RET
IODSETPARAM ENDP
|
.include "vc4.qinc"
# Uniforms
.set srcAddr, ra0
.set tgtAddr, ra1
.set srcStride, rb0
.set tgtStride, rb1
.set lineWidth, ra2
.set lineCount, ra3
mov srcAddr, unif;
mov tgtAddr, unif;
mov srcStride, unif;
mov tgtStride, unif;
mov lineWidth, unif;
mov lineCount, unif;
# Variables
.set y, ra4 # Iterator over all line... |
; A126587: a(n) is the number of integer lattice points inside the right triangle with legs 3n and 4n (and hypotenuse 5n).
; 3,17,43,81,131,193,267,353,451,561,683,817,963,1121,1291,1473,1667,1873,2091,2321,2563,2817,3083,3361,3651,3953,4267,4593,4931,5281,5643,6017,6403,6801,7211,7633,8067,8513,8971,9441,9923,10417,10... |
#include <iostream>
#include <vector>
#include <numeric>
#include "ctc.h"
#ifdef WARPCTC_ENABLE_GPU
#include "THC.h"
#include "THCTensor.h"
#include "detail/reduce.h"
extern THCState* state;
#else
#include "TH.h"
#endif
extern "C" int cpu_ctc(THFloatTensor *probs,
THFloatT... |
/**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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... |
; A124158: Maximal number of edges in a rectangle visibility graph with n nodes.
; 0,1,3,6,10,15,21,28,34,40,46,52,58,64,70,76,82,88,94,100,106,112,118,124,130,136,142,148,154,160,166,172,178,184,190,196,202,208,214,220,226,232,238,244,250,256,262,268,274,280,286,292,298,304,310,316,322,328,334,340
mov $2,$0
lpb $2
... |
; A144647: Second differences of A001515 (or A144301).
; Submitted by Jamie Morken(w2)
; 1,4,25,199,1936,22411,301939,4649800,80654599,1556992441,33120019516,769887934729,19419368959225,528311452144204,15421347559288441,480784227676809991,15945180393017896024,560549114426134288675
mov $1,1
mov $2,1
mov $3,$0
lpb $3
... |
/* Copyright (c) 2018 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#include "base/Base.h"
#include "kvstore/RocksEngine.h"
#include <folly/String.h>
#include "fs/FileUtils.h"
#include "kv... |
def main(a0:i8, c0:i8, e0:i8, g0:i8, i0:i8, a1:i8, c1:i8, e1:i8, g1:i8, i1:i8, a2:i8, c2:i8, e2:i8, g2:i8, i2:i8, b0:i8, d0:i8, f0:i8, h0:i8, j0:i8, b1:i8, d1:i8, f1:i8, h1:i8, j1:i8, b2:i8, d2:i8, f2:i8, h2:i8, j2:i8, m:i8, n:i8, o:i8, p:i8, q:i8, en:bool) -> (v:i8, w:i8, x:i8, y:i8, z:i8) {
v:i8 = dmuladdregaci_i... |
SFX_Cry18_2_Ch1:
dutycycle 80
unknownsfx0x20 10, 245, 128, 6
unknownsfx0x20 3, 226, 160, 6
unknownsfx0x20 3, 242, 192, 6
unknownsfx0x20 3, 226, 224, 6
unknownsfx0x20 3, 210, 0, 7
unknownsfx0x20 3, 194, 224, 6
unknownsfx0x20 3, 210, 192, 6
unknownsfx0x20 8, 193, 160, 6
endchannel
SFX_Cry18_2_Ch2:
dutycycle ... |
lda {m1}
ora {m1}+1
bne {la1}
|
#ifndef ARGUMENT_RANGE_NON_ZERO_HPP_
#define ARGUMENT_RANGE_NON_ZERO_HPP_
#include <string>
#include "Ranges/Set/Set.hpp"
namespace cli
{
template <typename T = float>
class Non_zero_range : public Excluding_set_range<T>
{
public:
explicit Non_zero_range()
: Excluding_set_range<T>({(T)0})
{ }
virtual ~Non_zero... |
;===============================================================================
; Copyright 2015-2019 Intel Corporation
; All Rights Reserved.
;
; If this software was obtained under the Intel Simplified Software License,
; the following terms apply:
;
; The source code, information and material ("Material") co... |
; A214661: Odd numbers by transposing the left half of A176271, triangle read by rows: T(n,k) = A176271(n - 1 + k, k), 1 <= k <= n.
; Submitted by Jamie Morken(s4)
; 1,3,9,7,15,25,13,23,35,49,21,33,47,63,81,31,45,61,79,99,121,43,59,77,97,119,143,169,57,75,95,117,141,167,195,225,73,93,115,139,165,193,223,255,289,91,113,... |
_test: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
exit();
}
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %ebp
b: 89 e5 ... |
//
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... |
; ********************************************************************************************
; ********************************************************************************************
;
; Name : sendparam.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : Fred Bowen
;
;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.