text stringlengths 1 1.05M |
|---|
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Oki Microline print routines
FILE: printcomOkiBuffer.asm
AUTHOR: Dave Durran
ROUTINES:
Name Description
---- -----------
REVISION HI... |
/*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publi... |
; A129743: a(n) = -(u^n-1)*(v^n-1) with u = 2+sqrt(3), v = 2-sqrt(3).
; 2,12,50,192,722,2700,10082,37632,140450,524172,1956242,7300800,27246962,101687052,379501250,1416317952,5285770562,19726764300,73621286642,274758382272,1025412242450,3826890587532,14282150107682
mov $1,2
lpb $0,1
sub $0,1
add $1,2
add $2,$1
... |
include stack.mac
include equ.asm
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; MUMPS Header Bank2 ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Padding Off ;Stop the assembler adding zeros
ORG 6000h ;Our program starts at 6000h
WORD 0AA01h ;header
Word ... |
.pc = $0801 "Basic Upstart"
:BasicUpstart($4000)
//----------------------------------------------------------
//----------------------------------------------------------
// Pre Calculated Vector
//----------------------------------------------------------
//--------------------------------------------------... |
SECTION rodata_font_fzx
PUBLIC _ff_utz_GridDrop1
_ff_utz_GridDrop1:
BINARY "font/fzx/fonts/utz/GridDrop/griddrop.fzx"
|
;
; lab03_level.asm
;
; Created: 10/4/2019 1:50:22 PM
; Author : user38x
;
; Replace with your application code
.nolist
.include "m324adef.inc"
.list
reset:
ldi r16, $FF
out DDRB, r16
ldi r16, $00
out DDRD, r16
ldi r16, $FF
out PORTD, r16
main_loop:
in r16, PIND
ldi r17, 8
ldi... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x11646, %r9
clflush (%r9)
nop
sub %rax, %rax
movb (%r9), %r11b
nop
nop
nop
nop
inc %r12
lea addresses_D_ht+0xe1da, %r11
nop
mfence
mov $0x6162636465666768, %r9
movq %r9, %xmm1
... |
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
int fd, i;
char path[] = "stressfs0";
7: b8 30 00 0... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x13cac, %rdi
clflush (%rdi)
and $57479, %rax
mov (%rdi), %r12w
nop
add $45844, %rsi
lea addresses_WT_ht+0x1582c, %rbx
nop
nop
nop
nop
nop
and $55343, %rsi
movb (%rbx), %r14b
n... |
// Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "vpu/ngraph/transformations/mish_decomposition.hpp"
#include <ngraph/opsets/opset5.hpp>
#include <ngraph/rt_info.hpp>
#include <ngraph/pattern/op/wrap_type.hpp>
#include <memory>
#include <vector>
NGRAPH_RTTI_DEFINITION(vpu::... |
;
; MIT License
;
; Copyright (c) 2020 Alexander Brandt
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, ... |
// 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... |
copyright zengfr site:http://github.com/zengfr/romhack
001590 lea ($20,A0), A0
002A72 move.w ($5e,A1), D2 [base+296, base+2B6, base+2D6]
002A76 move.w ($80,A1), D6 [enemy+5E]
00317C cmpi.w #$12, D2 [enemy+5E]
003D14 move.w (A1)+, ($5e,A0) [enemy+8E]
003D18 move.l (A1)+, ($36,A0) [enemy+5E]
008172 move.... |
// Copyright 2021 The IREE Authors
//
// Licensed under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include "iree-dialects/Dialect/LinalgExt/IR/LinalgExtDialect.h"
#include "iree/compiler/Codegen/... |
/*++
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
Abstract:
Very Simple QUIC HTTP 1.1 GET server.
--*/
#include "InteropServer.h"
const QUIC_API_TABLE* MsQuic;
HQUIC Configuration;
const char* RootFolderPath;
const char* UploadFolderPath;
const QUIC_BUFFER SupportedALPNs[] = {... |
db 0 ; species ID placeholder
db 45, 25, 50, 35, 25, 25
; hp atk def spd sat sdf
db BUG, POISON ; type
db 120 ; catch rate
db 71 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 15 ; step cycles to hatch
INCBIN "gfx/pokemon/kakuna/front.dimensions"
db GROWTH_MEDIUM_FAST ;... |
// rational number example program ----------------------------------------//
// (C) Copyright Paul Moore 1999. Permission to copy, use, modify, sell
// and distribute this software is granted provided this copyright notice
// appears in all copies. This software is provided "as is" without express or
// implied... |
; A118613: Start with 1 and repeatedly reverse the digits and add 27 to get the next term.
; 1,28,109,928,856,685,613,343,370,100,28,109,928,856,685,613,343,370,100,28,109,928,856,685,613,343,370,100,28,109,928,856,685,613,343,370,100,28,109,928,856,685,613,343,370,100,28,109,928,856,685,613,343,370
mov $2,$0
mov $0,1... |
#include "queue.h"
#include <library/unittest/registar.h>
#include <util/generic/set.h>
namespace NThreading {
////////////////////////////////////////////////////////////////////////////////
SIMPLE_UNIT_TEST_SUITE(TOneOneQueueTest){
SIMPLE_UNIT_TEST(ShouldBeEmptyAtStart){
TOneOneQueue<i... |
#include "urn_jaus_jss_mobility_GlobalWaypointDriver/GlobalWaypointDriver_ReceiveFSM.h"
#include <gps_common/conversions.h>
#include <tf/transform_datatypes.h>
#include <iop_component_fkie/iop_component.h>
using namespace JTS;
namespace urn_jaus_jss_mobility_GlobalWaypointDriver
{
GlobalWaypointDriver_ReceiveFS... |
; A092441: Sequence arising from enumeration of domino tilings of Aztec Pillow-like regions.
; Submitted by Christian Krause
; 1,10,65,346,1637,7218,30529,126034,513125,2072698,8335505,33439914,133972165,536346850,2146369793,8587575586,34354757957,137428468074,549733794193,2198977118650,8795996553701,35184170762770
ad... |
; A140444: Primes congruent to 1 (mod 14).
; Submitted by Jon Maiga
; 29,43,71,113,127,197,211,239,281,337,379,421,449,463,491,547,617,631,659,673,701,743,757,827,883,911,953,967,1009,1051,1093,1163,1289,1303,1373,1429,1471,1499,1583,1597,1667,1709,1723,1877,1933,2003,2017,2087,2129,2143,2213,2269,2297,2311,2339,2381,2... |
//===--- SILGenThunk.cpp - SILGen for thunks ------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
; A190482: Convex, obtuse, hexagonal lattice numbers
; 7,10,12,13,14,16,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61
mov $2,$0
mov $3,$0
mul $0,2
add $0,1
mov $4,$2
sub $4,3
lpb $0
mov $0,$4
trn $0,1
add $0,4
mov $4,3
lpe
mo... |
/*-------------------------------------------------------------------------
* drawElements Quality Program Tester Core
* ----------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce... |
; ipc_vdpio.asm
; 6509 ipc-code 0.73 for 8088 replica card (c) 2019 Michal Pleban
; version 0.73a modified by Vossi (c) 03/2019 for the v9958-card
; adds a software cursor in bios interrrupts
; assemble with xa65:
; xa src/6509/ipc_vdpio.asm -O PETSCII -o dist/prg/6509vdpio.prg
CPU_ACCESS_BANK = $1
;-----------------... |
; A060547: a(n) is the number of patterns, invariant under 120 degree rotations, that may appear in a top-down equilateral triangular arrangement of closely packed black and white cells satisfying the local matching rule of Pascal's triangle modulo 2, where n is the number of cells in each edge of the arrangement.
; 2,... |
; A072630: Values of n where A072629 switches from 01010.. into 0000.. or back.
; 1,7,19,53,147,403,1095,2979,8103,22025,59873,162753,442413,1202603,3269017,8886109,24154951,65659969,178482299,485165195,1318815733,3584912845,9744803445,26489122129,72004899337,195729609427
add $0,1
mov $2,1
mov $3,$0
mul $3,4
mov $4,1
... |
# -*- makefile -*-
#
# Makefile.asm - assembly support
#
# Copyright (C) 2004 Samuel Rydh (samuel@ibrium.se)
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# version 2
#################################################
# ... |
#include "AuthStep.h"
AuthStep::AuthStep(AccountData *data) : QObject(nullptr), m_data(data) {
}
AuthStep::~AuthStep() noexcept = default;
|
;^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^^%^%^%^%^%^%^%
;
; GRIM
;
;
;^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^%^^%^%^%^%^%^%^%
SECTION game,CODE_P
;=============================================================================
INCDIR "include:"
INCLUDE "hardware/cia.i"
... |
/*
Copyright (c) 2015, Hookflash Inc. / Hookflash 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 condi... |
; A133819: Triangle whose rows are sequences of increasing squares: 1; 1,4; 1,4,9; ... .
; 1,1,4,1,4,9,1,4,9,16,1,4,9,16,25,1,4,9,16,25,36,1,4,9,16,25,36,49,1,4,9,16,25,36,49,64,1,4,9,16,25,36,49,64,81,1,4,9,16,25,36,49,64,81,100,1,4,9,16,25,36,49,64,81,100,121,1,4,9,16,25,36,49,64,81,100,121,144,1,4,9,16,25,36,49,64,8... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of s... |
//%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... |
// [[Rcpp::depends(RcppEigen)]]
#include <RcppEigen.h>
//' Fast matrix multiplication for double x int
//'
//' @param A a double matrix
//' @param B an integer matrix
//' @return An integer matrix representing the product of A and B
// [[Rcpp::export]]
SEXP eigenMatMultInt(const Eigen::Map<Eigen::MatrixXd> A, const ... |
SECTION code_l_sdcc
PUBLIC __moduchar
GLOBAL l_divu8
__moduchar:
ld hl,sp+3
ld e,(hl)
dec hl
ld l,(hl)
ld c,l
call l_divu8
;; Already in DE
ret
|
; A142490: Primes congruent to 23 mod 51.
; Submitted by Simon Strandgaard
; 23,227,431,839,941,1451,1553,2063,2267,2777,2879,3083,3389,3491,3593,3797,4001,4409,4817,4919,5021,5531,5939,6143,6449,6551,6653,6857,6959,7673,7877,8081,8387,8693,8999,9203,10223,10427,10529,10631,10733,10937,11243,11447,11549,12161,12263,125... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
; A339689: a(n) = Sum_{d|n} 9^(d-1).
; Submitted by Jamie Morken(s4)
; 1,10,82,739,6562,59140,531442,4783708,43046803,387427060,3486784402,31381119478,282429536482,2541866359780,22876792461604,205891136878357,1853020188851842,16677181742772430,150094635296999122,1350851718060419878,12157665459057460324,1094189891349991... |
; append a space after a string 06/01-92 O.Fink
section string
include win1_mac_oli
include win1_keys_err
xdef st_appsp ; append a space
;+++
; append a character after a string (there must be enough space!)
; 'abcdef' -> append space -> 'abcdef '
;
; Entry Exit
; a0 ptr to st... |
/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzCore/Preprocessor/Enum.h>
#include <AzCore/UnitTest/TestTypes.h>
namespace UnitTest... |
; A211433: Number of ordered triples (w,x,y) with all terms in {-n,...,0,...,n} and w+2x+4y=0.
; 1,1,7,11,23,27,45,53,77,85,115,127,163,175,217,233,281,297,351,371,431,451,517,541,613,637,715,743,827,855,945,977,1073,1105,1207,1243,1351,1387,1501,1541,1661,1701,1827,1871,2003,2047,2185,2233,2377,2425,2575,2627,2783,283... |
; Assembly for testimul-bytecode.bas
; compiled with mcbasic
; Equates for MC-10 MICROCOLOR BASIC 1.0
;
; Direct page equates
DP_LNUM .equ $E2 ; current line in BASIC
DP_TABW .equ $E4 ; current tab width on console
DP_LPOS .equ $E6 ; current line position on console
DP_LWID .equ $E7 ; current line width of console
; ... |
;; 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.
.586
.model flat
option casemap:none
.code
;; -------------------------------------------------------------------... |
/*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publis... |
;-----------------------------------------------------------------------------
;
; LOADFNS.286
;
; Copyright (c) 1991, 1995-Present Robert Collins
;
; You have my permission to copy and distribute this software for
; non-commercial purposes. Any commercial use of this software or
; source code... |
ORG 0x8000
SECTION .text
USE16
trampoline:
jmp short startup_ap
times 8 - ($ - trampoline) nop
.ready: dq 0
.stack: dq 0
.startup_data: dq 0
.code: dq 0
startup_ap:
cli
xor ax, ax
mov ds, ax
mov es, ax
mov ss, ax
; initialize stack to invalid value
mov sp, 0
... |
; pad out some sectors to prevent disk error
; this must be added after the kernel in the OS binary
[bits 16]
section .text
PADDING_SECTOR_COUNT equ 32
times PADDING_SECTOR_COUNT * 512 db 0 |
#include <torch/csrc/jit/serialization/export.h>
#include <ATen/ATen.h>
#include <ATen/Utils.h>
#include <ATen/core/functional.h>
#include <c10/util/Exception.h>
#include <c10/util/Optional.h>
#include <c10/util/accumulate.h>
#include <c10/util/irange.h>
#include <torch/csrc/autograd/symbolic.h>
#include <torch/csrc/j... |
; A034324: a(n) = (n-1)*(n-2)*(n-3) + n.
; 1,2,3,10,29,66,127,218,345,514,731,1002,1333,1730,2199,2746,3377,4098,4915,5834,6861,8002,9263,10650,12169,13826,15627,17578,19685,21954,24391,27002,29793,32770,35939,39306,42877,46658,50655,54874,59321,64002,68923,74090,79509,85186,91127,97338,103825,110594,117651,125002,1326... |
; A101498: Expansion of (1-x^2)/(1-3x+x^2+3x^3+x^4).
; Submitted by Christian Krause
; 1,3,7,15,28,45,55,21,-155,-696,-2051,-5013,-10745,-20373,-33284,-42231,-21545,97821,474985,1434000,3555097,7708515,14793463,24572583,32243644,20069445,-60546521,-323012523,-1000943027,-2518246440,-5524212203,-10728548565,-18105751145... |
; A195177: a(n) = 3*n - floor(2*n*sqrt(2)).
; 0,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,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,10,10,11,11,11,11,11,11,12,12,12,12,12,13,13,13,13,13,13,14,14,14,14,14,14,15,15,15,15,15,15,16,16,16,16,16,16,17,17,17,17,17,17,18,18,18,18,18,19,19,19,19,... |
// Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "ngraph/node.hpp"
#include "onnx_import/core/node.hpp"
namespace ngraph {
namespace onnx_import {
namespace op {
namespace set_1 {
OutputVector batch_norm(const Node& node);
} // namespace set_1
namespace ... |
;
; This is a wrapper for bootloader.asm defining TESTRW, because zasm does not (surprisingly) allowe
; you to do this via the command line.
;
#define TESTRW 1
include "bootloader.asm"
|
;=======================================================================================================================
;
; File: os.asm
;
; Project: 005
;
; Description: This sample program adds a keyboard interrupt handler. Keyboard scan codes and translated
; ... |
// Copyright (c) 2017 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publ... |
// Copyright (c) 2014-2019, The Monero Project
//
// 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
/... |
page ,132
title Command Stub
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;
; Revision History
; ================
;
; M003 SR 07/16/90 Check if UMB loading enabled and if so
; ... |
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2022 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages a... |
; A185970: a(n) = 2^((n^2-n-2)/2)*(n+2)!
; Submitted by Jon Maiga
; 1,3,24,480,23040,2580480,660602880,380507258880,487049291366400,1371530804487782400,8426685262772935065600,112176034218033311593267200,3216311253099451110002157158400,197610163390430276198532535812096000,25901159335910477161894056533963046912000,721419... |
/*
* Copyright (C) 2015 Open Source Robotics Foundation
*
* 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 applicab... |
; A011899: a(n) = floor(n*(n-1)*(n-2)/17).
; 0,0,0,0,1,3,7,12,19,29,42,58,77,100,128,160,197,240,288,342,402,469,543,625,714,811,917,1032,1156,1289,1432,1586,1750,1925,2112,2310,2520,2742,2977,3225,3487,3762,4051
bin $0,3
mul $0,36
div $0,102
mov $1,$0
|
db 0 ; species ID placeholder
db 65, 40, 70, 70, 80, 140
; hp atk def spd sat sdf
db WATER, FLYING ; type
db 25 ; catch rate
db 168 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 25 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/mantine/f... |
// Copyright (c) 2012-2013 The Bitcoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "key.h"
#include "keystore.h"
#include "main.h"
#include "script/script.h"
#include "script/script_error.h"
#inc... |
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modif... |
; A186947: a(n) = 4^n - n*2^n.
; 1,2,8,40,192,864,3712,15488,63488,257536,1038336,4171776,16728064,67002368,268206080,1073250304,4293918720,17177640960,68714758144,274867945472,1099490656256,4398002470912,17592093769728,70368551239680,281474574057472,1125899067981824,4503597882540032
mov $1,2
pow $1,$0
sub $2,$0
add $... |
; size_t w_vector_erase_range(w_vector_t *v, size_t idx_first, size_t idx_last)
SECTION code_adt_w_vector
PUBLIC w_vector_erase_range
EXTERN w_array_erase_range
defc w_vector_erase_range = w_array_erase_range
|
; A118602: Start with 1 and repeatedly reverse the digits and add 21 to get the next term.
; 1,22,43,55,76,88,109,922,250,73,58,106,622,247,763,388,904,430,55,76,88,109,922,250,73,58,106,622,247,763,388,904,430,55,76,88,109,922,250,73,58,106,622,247,763,388,904,430,55,76,88,109,922,250,73,58
mov $2,$0
mov $0,1
lpb $2
... |
; $84:8BDD: Instruction - clear music queue and queue music track [[Y]] ;;;
org $848BDD
PHA
LDA !sram_fanfare_toggle : BNE .playfanfare
PLA
INY ; increment over fanfare byte and continue without fanfare
RTS
.playfanfare
PLA
BRL .prepareloop
warnpc $848BEB ; we are only... |
#include "problemes.h"
#include "polygonal.h"
#include <list>
#include <numeric>
typedef unsigned long long nombre;
typedef std::vector<nombre> vecteur;
ENREGISTRER_PROBLEME(61, "Cyclical figurate numbers") {
// Triangle, square, pentagonal, hexagonal, heptagonal, and octagonal numbers are all figurate
// (... |
<%
from pwnlib.shellcraft import pretty, common, registers
from pwnlib.shellcraft.amd64 import mov, pushstr, setregs
from pwnlib import constants
%>
<%docstring>
Copies a string
Example:
>>> sc = 'jmp get_str\n'
>>> sc += 'pop_str: pop rax\n'
>>> sc += shellcraft.amd64.strcpy('rsp', 'rax')
>>> sc += ... |
#include "NetAddress.h"
#ifdef GF_OS_LINUX
#include <sys/socket.h>
#endif
#ifdef GF_CP_MVC
#define AF_UNSPEC 0
#endif
//------------------------------------------------------------------------------
Jumpropes::IPAddress *Jumpropes::LookupObject::getAddress( unsigned int i ) const {
return static_cast<IPAd... |
; A060154: Table T(n,k) by antidiagonals of n^k mod k [n,k >= 1].
; Submitted by Christian Krause
; 0,1,0,1,0,0,1,2,1,0,1,0,0,0,0,1,2,1,1,1,0,1,4,3,0,2,0,0,1,2,3,4,1,0,1,0,1,0,3,4,0,0,1,0,0,1,8,1,4,1,1,1,2,1,0,1,4,0,0,5,0,2,0,0,0,0,1,2,9,1,1,6,1,3,1,1,1,0,1,4,3,6,8,0,0,4,4,0,2,0,0,1,2,9,4,5,0,1,1,3
lpb $0
add $1,1
... |
; --COPYRIGHT--,BSD_EX
; Copyright (c) 2012, Texas Instruments Incorporated
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
;
; * Redistributions of source code must retain the above co... |
; A127773: Triangle read by rows: row n consists of n-1 zeros followed by n(n+1)/2.
; 1,0,3,0,0,6,0,0,0,10,0,0,0,0,15,0,0,0,0,0,21,0,0,0,0,0,0,28,0,0,0,0,0,0,0,36,0,0,0,0,0,0,0,0,45,0,0,0,0,0,0,0,0,0,55
add $0,1
mov $2,$0
lpb $2,1
mov $4,$0
lpb $4,1
add $3,1
add $1,$3
mov $2,$1
trn $4,$3
lpe
su... |
dnl PowerPC-64 mpn_gcd_1.
dnl Copyright 2000-2002, 2005, 2009, 2011-2013 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 GNU Lesser General Public Lice... |
; A110294: a(2*n) = A028230(n), a(2*n+1) = -A067900(n+1).
; Submitted by Jon Maiga
; 1,-8,15,-112,209,-1560,2911,-21728,40545,-302632,564719,-4215120,7865521,-58709048,109552575,-817711552,1525870529,-11389252680,21252634831,-158631825968,296011017105,-2209456310872,4122901604639,-30773756526240,57424611447841,-4286231... |
//
// ExhaustiveSearchTests.cpp
// BusyBeaverFinder
//
// Created by Erwin on 03/02/19.
// Copyright © 2019 Erwin Bonsma.
//
#include <stdio.h>
#include "catch.hpp"
#include "ExhaustiveSearcher.h"
TEST_CASE( "3x3 Search", "[search][3x3][exhaustive]" ) {
ExhaustiveSearcher searcher(3, 3, 16);
ProgressTrac... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 3.6.0 #9615 (MINGW32)
;--------------------------------------------------------
.module u2f_hid
.optsdcc -mmcs51 --model-large
;--------------------------------------------------------
; Pub... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <tests/proton/common/dummydbowner.h>
#include <vespa/config/helper/configgetter.hpp>
#include <vespa/eval/eval/simple_value.h>
#include <vespa/eval/eval/tensor_spec.h>
#include <vespa/eval/eval/value.h>
#i... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: print drivers
FILE: uiEval1ASF.asm
AUTHOR: Dave Durran
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name... |
title "OpenGL Functions:
;++
;
; Copyright (c) 2000 Microsoft Corporation
;
; Module Name:
;
; glapi.asm
;
; Abstract:
;
; OpenGL API function entries for AMD64.
;
; Author:
;
; David N. Cutler (davec) 31-Dec-2000
;
; Environment:
;
; User mode only.
;
;--
include ksamd64.inc
... |
; A038799: T(2n+6,n), array T as in A038792.
; Submitted by Jamie Morken(w2)
; 1,8,38,141,455,1350,3805,10395,27875,73945,194961,512303,1343768,3521381,9223435,24152800,63239810,165572615,433485350,1134892290,2971202146,7778726798,20364993198,53316270346,139583838315
mov $1,1
lpb $0
mov $2,$3
add $2,$0
add $2,6
... |
page ,132
if 0
/*++
Copyright (c) 1993-4 Microsoft Corporation
Module Name:
resident.asm
Abstract:
This module contains the resident code part of the stub redir TSR for NT
VDM NetWare support.
Author:
Colin Watson (colinw) 08-Jul-1993
Environment:
Dos mode only
... |
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
#include<iostream>
#include<math.h>
using namespace std;
typedef long long ll;
void solve(){
ll n,k;
cin>>n>>k;
ll *ar = new ll[n];
for(int i =0;i<n;i++){
cin>>ar[i];
}
ll s = 0;
int j =0;
for(j;j<n;j++){
if(s+ar[j]<k){
break;
}
s = s + ar[j] -k ;
}
if(s==0){
cout<<j+1<<endl;
return ;
}
cou... |
/*
* Implementation of the 3D QuickHull algorithm originally by Antti Kuukka
* INPUT: a list of points in 3D space (for example, vertices of a 3D mesh)
* OUTPUT: a ConvexHull object which provides vertex and index buffers of the generated convex hull as a triangle mesh.
* The implementation is thread-safe if each thre... |
srl $3,$3,4
srl $1,$6,23
sltu $1,$1,$3
lbu $1,11($0)
addiu $3,$4,20135
addu $1,$1,$3
lhu $6,4($0)
andi $3,$5,36327
subu $3,$6,$3
andi $6,$3,3298
lhu $3,12($0)
lhu $3,8($0)
sb $1,14($0)
and $3,$3,$3
srlv $4,$5,$3
xor $5,$5,$3
and $3,$5,$3
slt $1,$5,$3
addu $3,$5,$3
ori $4,$4,28646
nor $5,$3,$3
nor $4,$1,$3
sb $6,9($0)
l... |
class X
{
public:
X()
{
}
X(int i):z(i)
{
}
int z;
};
void doit()
{
X x;
x=X(1);
}
int main()
{
doit();
}
|
Name: pal_isub.asm
Type: file
Size: 255691
Last-Modified: '2016-05-13T04:25:37Z'
SHA-1: 5B182DDEDDF8164324DF28D4722745CAD9E22554
Description: null
|
/**
* Copyright 2009-2013 10gen, 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 ag... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x147d8, %rsi
lea addresses_WT_ht+0x15358, %rdi
nop
nop
nop
and $42694, %r11
mov $55, %rcx
rep movsb
nop
sub $38972, %rbx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r11
ret
.global s_faulty_load
s_faulty... |
db 0 ; species ID placeholder
db 106, 90, 130, 110, 90, 154
; hp atk def spd sat sdf
db PSYCHIC, FLYING ; type
db 3 ; catch rate
db 220 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_UNKNOWN ; gender ratio
db 100 ; unknown 1
db 120 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/lug... |
; A070361: a(n) = 3^n mod 41.
; 1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,32,14,1,3,9,27,40,38,... |
; A137930: The sum of the principal diagonals of an n X n spiral.
; 0,1,10,25,56,101,170,261,384,537,730,961,1240,1565,1946,2381,2880,3441,4074,4777,5560,6421,7370,8405,9536,10761,12090,13521,15064,16717,18490,20381,22400,24545,26826,29241,31800,34501,37354,40357,43520,46841,50330,53985,57816,61821,66010,70381,74944,79... |
page ,132
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
; SCCSID = @(#)path1.asm 1.1 85/05/14
; SCCSID = @(#)path1.asm 1.1 85/05/14
.sall
.xlist
.xcref
include dossym.inc
include syscall.inc
in... |
#include "stdafx.h"
#include <math.h>
#include <sstream>
#include <iomanip>
#include "ResponseListener.h"
ResponseListener::ResponseListener()
{
mRefCount = 1;
mRequestID = "";
mResponseEvent = CreateEvent(0, FALSE, FALSE, 0);
}
ResponseListener::~ResponseListener()
{
CloseHandle(mResponseEvent);
}
... |
; A277723: a(n) = floor(n*tau^3) where tau is the tribonacci constant (A058265).
; 0,6,12,18,24,31,37,43,49,56,62,68,74,80,87,93,99,105,112,118,124,130,136,143,149,155,161,168,174,180,186,192,199,205,211,217,224,230,236,242,248,255,261,267,273,280,286,292,298,304,311,317,323,329,336,342,348,354,360,367,373,379,385,392,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.