text
stringlengths
1
1.05M
; A188293: Positions of 1 in A188291; complement of A188292. ; 4,8,12,21,25,29,38,42,46,55,59,63,72,76,80,84,93,97,101,110,114,118,127,131,135,144,148,152,156,165,169,173,182,186,190,199,203,207,216,220,224,228,237,241,245,254,258,262,271,275,279,288,292,296,300,309,313,317,326,330,334,343,347,351,360,364,368,377,381,3...
%ifdef CONFIG { "RegData": { "MM6": ["0x8000000000000000", "0x4000"], "MM7": ["0x8000000000000000", "0x4001"] }, "Mode": "32BIT" } %endif lea edx, [data] fld tword [edx + 8 * 0] lea edx, [data2] fld tword [edx + 8 * 0] fdiv st1, st0 hlt align 8 data: dt 8.0 dq 0 data2: dt 2.0 dq 0
; mouse routines ; gets the current position of the mouse cursor ; this gets the position of the cursor overlay, rather than actually getting the mouse position ; inputs: ; none ; outputs: ; r0: X coordinate ; r1: Y coordinate get_mouse_position: in r0, 0x8000001F ; overlay 31: position mov r1, r0 ...
; A107008: Primes of the form x^2 + 24*y^2. ; 73,97,193,241,313,337,409,433,457,577,601,673,769,937,1009,1033,1129,1153,1201,1249,1297,1321,1489,1609,1657,1753,1777,1801,1873,1993,2017,2089,2113,2137,2161,2281,2377,2473,2521,2593,2617,2689,2713,2833,2857,2953,3001,3049,3121,3169,3217,3313,3361,3433,3457,3529,3673,3697,...
// Copyright (c) 2014-2020 The Gridcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "upgradeqt.h" #include "gridcoin/upgrade.h" #include <QtWidgets> #include <QProgressDialog> #include <QMessageBox> ...
; A066829: 1 if product of odd number of primes; 0 if product of even number of primes. ; 0,1,1,0,1,0,1,1,0,0,1,1,1,0,0,0,1,1,1,1,0,0,1,0,0,0,1,1,1,1,1,1,0,0,0,0,1,0,0,0,1,1,1,1,1,0,1,1,0,1,0,1,1,0,0,0,0,0,1,0,1,0,1,0,0,1,1,1,0,1,1,1,1,0,1,1,0,1,1,1,0,0,1,0,0,0,0,0,1,0,0,1,0,0,0,0,1,1,1,0,1,1,1,0,1,0,1,1,1,1,0,1,1,1,0,...
// A KickC version of the plasma routine from the CC65 samples // This version has an unrolled inner loop to reach 50+FPS // This version also optimizes the inner loop by calculating the Y buffer as a set of differences // (w)2001 by groepaz/hitmen // Cleanup and porting to CC65 by Ullrich von Bassewitz. // Ported to K...
/*************************************************** * Problem Name : B.cpp * Problem Link : * OJ : Codeforces * Verdict : AC * Date : 2019-03-07 * Problem Type : * Author Name : Saikat Sharma * University : CSE, MBSTU ***************************************************/ #include<iost...
TITLE Program Template (template.asm) ; Author: Harshvardhan Singh ; Course / Project ID: CS 271 Date: 1/26/2018 ; Description: Program 2 INCLUDE Irvine32.inc ; (insert constant definitions here) .data program_name BYTE "Welcome to the Integer Accumulator by Harshvardhan Singh...
#pragma once #ifdef __ANDROID__ #include "SDL.h" #else #include "SDL2/SDL.h" #endif #include "game_objects/game_base.hxx" #include "game_objects/mesh_object.hxx" #include "math/vectors.hxx" #include "world.hxx" #include <stdint.h> class game_instance : public dreco::game_base { public: game_instance(dreco::engine& _...
; -------------------------------------------------------------------------------------------------- ; Decoded payload, stage 4 ; -------------------------------------------------------------------------------------------------- 0x04006254: 60 81 02 10 MOVqw R1, @R0 (+2, +0) 0x04006258: f7 32 f2 28 f6 95 b8 75 5d bb MO...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; 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 so...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2018-2022 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 so...
#ifndef OSRM_UTIL_EXCLUDE_FLAG_HPP #define OSRM_UTIL_EXCLUDE_FLAG_HPP #include "extractor/node_data_container.hpp" #include "extractor/profile_properties.hpp" namespace osrm { namespace util { inline std::vector<std::vector<bool>> excludeFlagsToNodeFilter(const NodeID number_of_nodes, const ...
SECTION "Map_3420", ROM0[$B800] Map_3420_Header: hdr_tileset 0 hdr_dimensions 10, 7 hdr_pointers_a Map_3420_Blocks, Map_3420_TextPointers hdr_pointers_b Map_3420_Script, Map_3420_Objects hdr_pointers_c Map_3420_InitScript, Map_3420_RAMScript hdr_palette $06 ...
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r8 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x19080, %rbx nop and %r13, %r13 mov $0x6162636465666768, %r8 movq %r8, (%rbx) nop dec %r11 lea addresses_D_ht+0x6780, %rbp nop nop nop nop nop add %rax...
; A090763: a(n) = (3*n+3)!/(3*n!*(2*n+2)!). ; 1,10,84,660,5005,37128,271320,1961256,14060475,100150050,709634640,5006710800,35197176924,246681069040,1724337127920,12025860872784,83702724824775,581558091471630,4034231805704100,27945630038703300,193336047816541245,1336009898532909600,9222516814721115360,63602093296712224...
;; ;; Copyright (c) 2020-2021, Intel Corporation ;; ;; 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 copyright notice, ;; this list of conditions and...
; A040110: Continued fraction for sqrt(122). ; 11,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22 pow $1,$0 gcd $1,2 mul $1,11
; A102040: a(n) = a(n-1) + last digit of a(n-1), starting at 3. ; 3,6,12,14,18,26,32,34,38,46,52,54,58,66,72,74,78,86,92,94,98,106,112,114,118,126,132,134,138,146,152,154,158,166,172,174,178,186,192,194,198,206,212,214,218,226,232,234,238,246,252,254,258,266,272,274,278,286,292,294,298,306,312,314,318,326,332,334,338,3...
org $808B74 ; Hack directly into ROM skip 1 ; Skip to $808B75 db $0D ; Change music of canoe (Overworld) skip 1 ; Skip to $808B77 db $06 ; Change music of ship (Underworld)
; A112713: Expansion of x/(1 - x + x^5 - x^6). ; 0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0 add $0,4 div $0,5 mod $0,2
; A286753: Positions of 0 in A286752; complement of A286753. ; 2,4,5,7,9,12,14,15,17,19,22,24,26,27,29,32,34,36,37,39,42,44,46,47,49,51,54,56,57,59,61,64,66,68,69,71,74,76,78,79,81,84,86,88,89,91,93,96,98,99,101,103,106,108,109,111,113,116,118,120,121,123,126,128,130,131,133,135,138,140,141,143,145,148,150,151,153,155,...
SECTION code_clib SECTION code_fp_math48 PUBLIC am48__dtoa_base16 am48__dtoa_base16: ; enter : AC'= double x, x positive ; ; exit : HL'= mantissa * ; DE'= stack adjust ; C = max number of significant hex digits (10) ; D = base 2 exponent e ; ; uses : af, c, d, hl,...
/*** * * Copyright (c) 1999, 2000 Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting ...
// Copyright (c) 2014-2020 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) /// \file scatter.hpp #pragma once #if defined(DOXYGEN) // clang-format off nam...
; PLANETARIO DI MARGHERA ; CONTROLLO MOTORI ; RELEASE 1.0 ; RV271199-RV071299 ; Introduzione zero encoder: RV270200 ; 4800 baud anziche' 9600, allungato buffer rx da 32 a 48 ch: RV070400 ; ; INCLUDE: ; FUNZIONI DI LIBRERIA E2PROM (EX E2LIB.ASM) ; ; ; 1) ROUTINE DI ACCESSO AL CONTROLLORE MOUSE PS/2 ; PER LA LETTURA E...
; A111874: The work performed by a partial function f:{1,...,n}->{1,...,n} is defined to be work(f)=sum(|i-f(i)|,i in dom(f)); a(n) is equal to sum(work(f)) where the sum is over all injective partial functions f:{1,...,n}->{1,...,n}. ; Submitted by Christian Krause ; 0,4,56,680,8360,108220,1492624,21994896,346014960,5...
; ; SORD M5 Stdio ; ; getkey() Wait for keypress ; ; Stefano Bodrato - Apr. 2000 ; ; ; $Id: fgetc_cons.asm,v 1.2 2002/04/17 21:30:26 dom Exp $ ; XLIB fgetc_cons .fgetc_cons call $845 ld h,0 ld l,a ret
// 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/third_party/quiche/src/quic/core/quic_packet_creator.h" #include <cstdint> #include <memory> #include <ostream> #include <string> #inc...
; A056944: Amount by which used area of rectangle needed to enclose a non-touching spiral of length n on a square lattice exceeds unused area. ; 0,1,2,2,2,4,3,2,4,6,4,2,4,6,8,5,2,4,6,8,10,6,2,4,6,8,10,12,7,2,4,6,8,10,12,14,8,2,4,6,8,10,12,14,16,9,2,4,6,8,10,12,14,16,18,10,2,4,6,8,10,12,14,16,18,20,11,2,4,6,8,10,12,14,1...
user/_usertests: 文件格式 elf64-littleriscv Disassembly of section .text: 0000000000000000 <bsstest>: void bsstest(char *s) { int i; for(i = 0; i < sizeof(uninit); i++){ 0: 00007797 auipc a5,0x7 4: b2878793 addi a5,a5,-1240 # 6b28 <uninit> 8: 00009697 auipc a3...
; A065034: a(n) = Lucas(2*n) + 1. ; 3,4,8,19,48,124,323,844,2208,5779,15128,39604,103683,271444,710648,1860499,4870848,12752044,33385283,87403804,228826128,599074579,1568397608,4106118244,10749957123,28143753124,73681302248,192900153619,505019158608,1322157322204,3461452808003,9062201101804,23725150497408,6211325039041...
.686p .mmx .model flat,stdcall option casemap:none option prologue:none option epilogue:none extern __mod:DWORD .code adduintmod proc ptrA:DWORD, uintB:DWORD, ptrC:DWORD ;a+b=c mod __mod pushad mov esi, dword ptr [esp+20h+4] xor ebp, ebp mov eax, dword ptr [esi ] mov ebx, dword ptr [esi+ 4] mov ecx, dw...
; A229062: 1 if n is representable as sum of two nonnegative squares, otherwise 0. ; Submitted by Jon Maiga ; 1,1,1,0,1,1,0,0,1,1,1,0,0,1,0,0,1,1,1,0,1,0,0,0,0,1,1,0,0,1,0,0,1,0,1,0,1,1,0,0,1,1,0,0,0,1,0,0,0,1,1,0,1,1,0,0,0,0,1,0,0,1,0,0,1,1,0,0,1,0,0,0,1,1,1,0,0,0,0,0,1,1,1,0,0,1,0,0,0,1,1,0,0,0,0,0,0,1,1,0 mov $1,1 ...
SECTION code_clib SECTION code_sound_bit PUBLIC _bitfx_25 INCLUDE "clib_target_cfg.asm" EXTERN asm_bit_beep_raw _bitfx_25: ; audio tape rewind ld hl,1024 fx2_1: ld de,1 push de push hl ld a,55 xor l ld l,a call asm_bit_beep_raw pop hl pop de dec hl ld...
; A001737: Squares written in base 2. ; 0,1,100,1001,10000,11001,100100,110001,1000000,1010001,1100100,1111001,10010000,10101001,11000100,11100001,100000000,100100001,101000100,101101001,110010000,110111001,111100100,1000010001,1001000000,1001110001,1010100100,1011011001,1100010000,1101001001,1110000100,1111000001,1000...
map_attributes: MACRO ;\1: map name ;\2: map id ;\3: border block ;\4: connections: combo of NORTH, SOUTH, WEST, and/or EAST, or 0 for none CURRENT_MAP_WIDTH = \2_WIDTH CURRENT_MAP_HEIGHT = \2_HEIGHT \1_MapAttributes:: db \3 db CURRENT_MAP_HEIGHT, CURRENT_MAP_WIDTH db BANK(\1_Blocks) dw \1_Blocks db BANK(\1_MapScr...
// // $Id$ // // // Original author: William French <william.r.french <a.t> vanderbilt.edu> // // Copyright 2008 Vanderbilt University - Nashville, TN 37232 // // 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 cop...
#include "homography.h" #include <QPoint> #include <QSize> #include <QMatrix4x4> #include <eigen3/Eigen/Core> #include <eigen3/Eigen/Dense> #include <iostream> #include <algorithm> Homography::Homography(QObject *parent) : QObject(parent), m_sourceSize(0, 0), m_matrix(1, 0, 0, 0, 0, 1, 0, 0, ...
#include "imglib/simpleImage.h" #include <algorithm> #include <cstring> namespace imglib { SimpleImage::SimpleImage(const SimpleImage &image) { allocData(image.format(), image.depth(), image.width(), image.height()); std::copy(image.m_data.begin(), image.m_data.end(), m_data.begin()); } SimpleImage::Simple...
; A187799: Decimal expansion of 20/phi^2, where phi is the golden ratio. Also (with a different offset), decimal expansion of 3 - sqrt(5). ; Submitted by Jon Maiga ; 7,6,3,9,3,2,0,2,2,5,0,0,2,1,0,3,0,3,5,9,0,8,2,6,3,3,1,2,6,8,7,2,3,7,6,4,5,5,9,3,8,1,6,4,0,3,8,8,4,7,4,2,7,5,7,2,9,1,0,2,7,5,4,5,8,9,4,7,9,0,7,4,3,6,2,1,9,...
// SPIKE ENGINE //Copyright 2021 - SpikeTechnologies - All Rights Reserved #include "spkpch.h" #include "RendererAPI.h" #include "Renderer.h" #include "VertexBuffer.h" #include "Platform/OpenGL/OpenGLVertexBuffer.h" #include "Platform/DX11/DX11VertexBuffer.h" namespace Spike { Ref<VertexBuffer> ...
; A290604: a(0) = 2, a(1) = 2; for n > 1, a(n) = a(n-1) + 2*a(n-2) + 3. ; 2,2,9,16,37,72,149,296,597,1192,2389,4776,9557,19112,38229,76456,152917,305832,611669,1223336,2446677,4893352,9786709,19573416,39146837,78293672,156587349,313174696,626349397,1252698792,2505397589,5010795176,10021590357,20043180712,40086361429,80...
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 486 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %12 %480 OpExecutionMode %4 Or...
.data small: .float 420.42 big: .float 1.5e64 nan: .word 0x7FFFFFFF .text main: # Small la $t0, small l.s $f12, 0($t0) li $v0, 2 syscall li $a0, 32 li $v0, 11 syscall # Big la $t0, big l.s $f12, 0($t0) li $v0, 2 syscall li $a0, 32 li $v0, 11 syscall # Nan la $t0, nan l.s $f12, 0($t0) li $v0, 2 syscall
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1b0ce, %rsi nop nop nop nop sub %r10, %r10 movb (%rsi), %r9b cmp %rbp, %rbp lea addresses_UC_ht+0x174de, %rsi add %r13, %r13 mov (%rsi), %r8 nop sub $109, %r10 lea a...
############################################################################################# # # Montek Singh # COMP 541 Final Projects # Apr 5, 2018 # # This is a collection of helpful procedures for developing your final project demos. # # Use these in your actual MIPS code that is DEPLOYED ON THE BOARDS. # (A separ...
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2006 Ferdinando Ametrano Copyright (C) 2007 Marco Bianchetti Copyright (C) 2007 François du Vignaud Copyright (C) 2007 Giorgio Facchinetti Copyright (C) 2006 Mario Pucci Copyright (C) 2006 StatPro Italia srl Copyrig...
// Copyright 2019 Daniel Parker // Distributed under the Boost license, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See https://github.com/danielaparker/jsoncons for latest version #ifndef JSONCONS_TAG_TYPE_HPP #define JSONCONS_TAG_TYPE_HPP #include <ost...
global long_mode_start section .text bits 64 long_mode_start: ; load 0 into all data segment registers mov ax, 0 mov ss, ax mov ds, ax mov es, ax mov fs, ax mov gs, ax ; print `OKAY` to screen mov rax, 0x2f592f412f4b2f4f mov qword [0xb8000], rax hlt
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_D_ht+0xd722, %r9 nop nop nop nop nop xor $45520, %r12 mov (%r9), %r10d nop nop nop sub $41899, %rcx lea addresses_A_ht+0x10b2, %rsi cmp %r13, %r13 vmovups (%rsi), %ymm3 vextracti128 ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x60a3, %rsi lea addresses_A_ht+0x1e0bf, %rdi inc %r11 mov $88, %rcx rep movsw nop nop and %r12, %r12 lea addresses_normal_ht+0x150ef, %r12 nop nop nop nop sub %r8, %r8 movb $0x61, (%r12...
; A127981: a(n) = (n + 1/3)*2^(n-1) - 1/2 + (-1)^(n-1)*(1/6). ; 1,4,13,34,85,202,469,1066,2389,5290,11605,25258,54613,117418,251221,535210,1135957,2402986,5068117,10660522,22369621,46836394,97867093,204122794,425022805,883600042,1834308949,3802835626,7874106709,16285084330,33643910485,69435304618,143165576533,294921087...
#include <stdio.h> #include <tchar.h> #include <io.h> #include <fcntl.h> #include <iostream> #include <fstream> #include <string> #include <locale> #include <codecvt> #include <unordered_map> #include <vector> #include <iterator> #include <numeric> #include "tokenBlock.hpp" #include "blockConversion.hpp" static co...
; A140163: a(1)=1, a(n) = a(n-1) + n^5 if n odd, a(n) = a(n-1) + n if n is even. ; Submitted by Jamie Morken(s2) ; 1,3,246,250,3375,3381,20188,20196,79245,79255,240306,240318,611611,611625,1371000,1371016,2790873,2790891,5266990,5267010,9351111,9351133,15787476,15787500,25553125,25553151,39902058,39902086,60413235,6041...
A=256 D=A @SP M=D @133 0;JMP @R15 M=D @SP AM=M-1 D=M A=A-1 D=M-D M=0 @END_EQ D;JNE @SP A=M-1 M=-1 (END_EQ) @R15 A=M 0;JMP @R15 M=D @SP AM=M-1 D=M A=A-1 D=M-D M=0 @END_GT D;JLE @SP A=M-1 M=-1 (END_GT) @R15 A=M 0;JMP @R15 M=D @SP AM=M-1 D=M A=A-1 D=M-D M=0 @END_LT D;JGE @SP A=M-1 M=-1 (END_LT) @R15 A=M 0;JMP @5 D=A @LCL ...
; A154599: a(n) = 2*n^2 + 20*n + 8. ; 30,56,86,120,158,200,246,296,350,408,470,536,606,680,758,840,926,1016,1110,1208,1310,1416,1526,1640,1758,1880,2006,2136,2270,2408,2550,2696,2846,3000,3158,3320,3486,3656,3830,4008,4190,4376,4566,4760,4958,5160,5366,5576,5790,6008,6230,6456,6686,6920,7158,7400,7646,7896,8150,8408,86...
; A028043: Expansion of 1/((1-3x)(1-4x)(1-8x)(1-9x)). ; Submitted by Jon Maiga ; 1,24,373,4788,55321,599088,6215581,62589516,616742401,5979165192,57244372549,542670685284,5103872340841,47693804106336,443316920660077,4102438007485692,37822644890460241,347609494930910520,3186131255427986965,29136348803275064340 mov $1,1...
--- content/renderer/media/webrtc/webrtc_audio_renderer_unittest.cc.orig 2019-10-21 19:06:32 UTC +++ content/renderer/media/webrtc/webrtc_audio_renderer_unittest.cc @@ -244,7 +244,7 @@ TEST_F(WebRtcAudioRendererTest, MultipleRenderers) { TEST_F(WebRtcAudioRendererTest, VerifySinkParameters) { SetupRenderer(kDefault...
;; ;; Copyright (c) 2012-2018, Intel Corporation ;; ;; 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 copyright notice, ;; this list of conditions and...
; A260191: Numbers n such that there exists no square whose base-n digit sum is binomial(n,2). ; Submitted by Jamie Morken(s4) ; 3,5,13,17,21,29,37,45,49,53,61,65,69,77,81,85,93,101,109,113,117,125,133,141,145,149,157,165,173,177,181,189,193,197,205,209,213,221,229,237,241,245,253,257,261,269,273,277,285,293,301,305,30...
/*************************************************************************/ /* script_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
#include<iostream> #include"../gr-habets/lib/jt65.h" using namespace JT65; // Check that output from a stage is equal to the expected, and // dump both expected and actual if they don't match. void test_step(const std::string& name, const std::vector<int>& got, const std::vector<int>& want) { i...
;------------------------------------------------------------------------------ ; ; MemoryFence() for AArch64 ; ; Copyright (c) 2013, ARM Ltd. All rights reserved. ; ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ;------------------------------------------------------------------------------ EXPORT MemoryFence A...
/* * Copyright © <2010>, 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, merg...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x135c7, %rdi nop nop nop nop inc %rdx mov (%rdi), %r15d nop nop add %rdx, %rdx lea addresses_UC_ht+0x1cdc7, %r12 nop nop nop nop sub $3749, %rax mov $0x6162636465666768, %rsi...
; A199489: (11*7^n+1)/6. ; 2,13,90,629,4402,30813,215690,1509829,10568802,73981613,517871290,3625099029,25375693202,177629852413,1243408966890,8703862768229,60927039377602,426489275643213,2985424929502490,20897974506517429,146285821545622002,1024000750819354013,7168005255735478090,50176036790148346629,35123225753103842...
; void sp1_IterateUpdateSpr(struct sp1_ss *s, void *hook2) ; CALLER linkage for function pointers SECTION code_sprite_sp1 PUBLIC sp1_IterateUpdateSpr EXTERN sp1_IterateUpdateSpr_callee EXTERN ASMDISP_SP1_ITERATEUPDATESPR_CALLEE .sp1_IterateUpdateSpr pop bc pop ix pop hl push hl push hl push bc ...
Name: z00_mjdt.asm Type: file Size: 132790 Last-Modified: '2016-05-13T04:36:32Z' SHA-1: 5226A0F4459F11FCDCAFB7847D0C03EF324C9DFA Description: null
; A228423: Sum of the squared primes less than or equal to n. ; 0,0,0,4,4,4,4,4,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,38,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87 mov $4,$0 mov $5,$0 lpb $4 mov $0,$5 sub $4,1 sub $0,$4 ...
addi r1 r0 65 push r1 lw r5 0(r31) tty r5 halt #prints A
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>ugetrlimit(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str Invokes the syscall ugetrlimit. See 'man 2 ugetrlimit' for more information. Arguments: vararg(int): vararg Returns: long </%d...
global _start [bits 32] _start: [extern kernel_main] ; Define calling point. Must have same name as kernel.c 'main' function call kernel_main ; Calls the C function. The linker will know where it is placed in memory jmp $
.386 .model flat,stdcall assume FS:nothing .data .code start: jmp short startup ; Find the base address of kernel32 :) ph33r find_kernel32: xor ecx, ecx ; ECX = 0 mov esi, [fs:30h] ; ESI = &(PEB) ([FS:0x30]) mov esi, [esi + 0ch] ; ESI =...
; A319412: Maximal runs-resistance of a binary vector of length n. ; 1,2,3,4,5,5,6,6,6,7,7,7,7,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12 pow $0,2 mul $0,2 pow $0,2 lpb $0,1 sub $0,7 mul $0...
; void w_vector_destroy(w_vector_t *v) SECTION code_clib SECTION code_adt_w_vector PUBLIC _w_vector_destroy EXTERN _b_vector_destroy defc _w_vector_destroy = _b_vector_destroy
; ; Copyright (c) 2022 Phillip Stevens ; ; 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/. ; ; feilipu, January 2022 ; ;----------------------------------------------...
; ; ANSI Video handling for the VZ200 ; ; Handles colors referring to current PAPER/INK/etc. settings ; ; Scrollup ; ; ; $Id: f_ansi_scrollup.asm,v 1.2 2001/04/13 14:13:59 stefano Exp $ ; XLIB ansi_SCROLLUP .ansi_SCROLLUP ld hl,$7020 ld de,$7000 ld bc,480 ldir ld hl,$7000+480 ld (hl),32 ;' ' ld d,h ld e,l...
; A194144: Sum{floor(j*(-1+sqrt(5)) : 1<=j<=n}; n-th partial sum of Beatty sequence for -1+sqrt(5). ; 1,3,6,10,16,23,31,40,51,63,76,90,106,123,141,160,181,203,226,250,275,302,330,359,389,421,454,488,523,560,598,637,677,719,762,806,851,897,945,994,1044,1095,1148,1202,1257,1313,1371,1430,1490,1551,1614 mov $2,$0 sub $0,...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, 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...
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
; A307695: Expansion of 1/(sqrt(1-4*x)*sqrt(1-16*x)). ; Submitted by Jamie Morken(s4) ; 1,10,118,1540,21286,304300,4443580,65830600,985483270,14869654300,225759595348,3444812388280,52781007848284,811510465220920,12513859077134008,193460383702061200,2997463389599395270,46532910920993515900,723626591914643806180,11270311...
; A158445: 25n^2 + 5. ; 30,105,230,405,630,905,1230,1605,2030,2505,3030,3605,4230,4905,5630,6405,7230,8105,9030,10005,11030,12105,13230,14405,15630,16905,18230,19605,21030,22505,24030,25605,27230,28905,30630,32405,34230,36105,38030,40005,42030,44105,46230,48405,50630,52905,55230,57605,60030,62505,65030,67605,70230,7290...
; A092286: Fourth diagonal (m=3) of triangle A084938; a(n) = A084938(n+3,n) = (n^3 + 9*n^2 + 26*n)/6. ; 0,6,16,31,52,80,116,161,216,282,360,451,556,676,812,965,1136,1326,1536,1767,2020,2296,2596,2921,3272,3650,4056,4491,4956,5452,5980,6541,7136,7766,8432,9135,9876,10656,11476,12337,13240,14186,15176 mov $1,$0 add $1,4...
; A167710: a(n) = 10*2^n - 3*A083658(n+2). ; Submitted by Jamie Morken(w2) ; 1,5,13,35,79,185,397,875,1831,3905,8053,16835,34399,70985,144157,294875,596311,1212305,2444293,4947635,9954319,20085785,40348717,81228875,162989191,327572705,656739733,1318262435,2641307839,5296964585,10608278077,21259602875,42562252471,852536...
;; ;; Copyright (c) 2021, Intel Corporation ;; ;; 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 copyright notice, ;; this list of conditions and the ...
; A140303: Triangle T(n,k) = 3^(n-k) read by rows. ; 1,3,1,9,3,1,27,9,3,1,81,27,9,3,1,243,81,27,9,3,1,729,243,81,27,9,3,1,2187,729,243,81,27,9,3,1,6561,2187,729,243,81,27,9,3,1,19683,6561,2187,729,243,81,27,9,3,1,59049,19683,6561,2187,729,243,81,27,9,3,1 cal $0,25676 ; Exponent of 8 (value of i) in n-th number of form...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r9 push %rbp push %rbx push %rsi lea addresses_WC_ht+0x11093, %r11 nop and %r15, %r15 movw $0x6162, (%r11) nop xor $18233, %r9 lea addresses_UC_ht+0x50f3, %rbx nop nop nop nop xor $43590, %rsi mov $0x6162636465666768, %rbp movq %rbp, (%rbx...
SECTION "MAIN", ROM0[$0150] ;save game at the start of walking though a door and let the door code rebuild the room ;load game at start of game SaveGame: PushAllRegs LD [StackPointer], SP ld HL, WRAM0_START ld DE, SRAM_START ld BC, RAM_SIZE_MAX EnableSramMacro .loop ld A, [HL+] ...
.area CODE1 (ABS) .org 0x8000 ;Addressing Modes adc #0xaa ;69 aa Immediate rol A ;2a Accumulator adc 0xaa ;65 aa Zero Page adc 0xaa,x ;75 aa Zero Page X ldx 0xaa,y ;b6 aa Zero Page Y adc 0xaabb ...
//---------------------------------*-C++-*-----------------------------------// /*! * \file construct/EllipsoidShape.hh * \brief EllipsoidShape class declaration * \note Copyright (c) 2020 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //-----------------------------------------------------------------------...
; A160383: Number of 3's in base-4 representation of n. ; 0,0,0,1,0,0,0,1,0,0,0,1,1,1,1,2,0,0,0,1,0,0,0,1,0,0,0,1,1,1,1,2,0,0,0,1,0,0,0,1,0,0,0,1,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,2,2,2,3,0,0,0,1,0,0,0,1,0,0,0,1,1,1,1,2,0,0,0,1,0,0,0,1,0,0,0,1,1,1,1,2,0,0,0,1 lpb $0 mov $1,$0 mod $1,4 add $$1,3 div $0,4 lpe mov ...
;****************************************************************************** ;* mpeg4 qpel ;* Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at> ;* Copyright (c) 2008 Loren Merritt ;* Copyright (c) 2013 Daniel Kang ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/o...
; A315636: Coordination sequence Gal.6.346.6 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 Jon Maiga ; 1,6,12,16,20,26,30,36,40,44,50,56,62,68,72,76,82,86,92,96,100,106,112,118,124,128,132,138,142,148,152,156,162,168,1...
db 0 ; species ID placeholder db 90, 60, 60, 40, 40, 40 ; hp atk def spd sat sdf db GROUND, GROUND ; type db 120 ; catch rate db 124 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/phanpy/...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rcx push %rdi push %rsi lea addresses_D_ht+0xc11f, %rsi lea addresses_UC_ht+0x1c0fb, %rdi nop nop nop nop nop dec %r15 mov $118, %rcx rep movsl nop nop and %r14, %r14 lea addresses_UC_ht+0x168df, %rsi lea addresses_A_ht+0xe537, %rdi nop xo...
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/Types/generated/game/data/TweakDBRecord.hpp> namespace RED4ext { namespace game::data { struct AITicketType_Record : game::data::TweakDBRecord { ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE114_Process_Control__w32_char_connect_socket_82_bad.cpp Label Definition File: CWE114_Process_Control__w32.label.xml Template File: sources-sink-82_bad.tmpl.cpp */ /* * @description * CWE: 114 Process Control * BadSource: connect_socket Read data using a conne...