text
stringlengths
1
1.05M
; ; 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...
// Copyright 2013 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/tools/quic/quic_server_session_base.h" #include <cstdint> #include <memory> #include "base/macros.h" #include "net/quic/crypto/quic_crypto...
db "MYSTIC@" ; species name db "It is nicknamed" next "The Desert Spirit" next "because the" page "flapping of its" next "wings sounds like" next "a woman singing.@"
/**************************************************************************** // Usagi Engine, Copyright © Vitei, Inc. 2013 ****************************************************************************/ #include "Engine/Common/Common.h" #include "ProtocolBufferFile.h" namespace usg { bool pb_istream_from_file_cb(pb_is...
; A132354: Integers m such that 7*m + 1 is a square. ; 0,5,9,24,32,57,69,104,120,165,185,240,264,329,357,432,464,549,585,680,720,825,869,984,1032,1157,1209,1344,1400,1545,1605,1760,1824,1989,2057,2232,2304,2489,2565,2760,2840,3045,3129,3344,3432,3657,3749,3984,4080 mul $0,2 mov $2,$0 lpb $2 add $1,$0 sub $0,1 ad...
; A035471: Coordination sequence for lattice D*_4 (with edges defined by l_1 norm = 1). ; 1,8,48,152,352,680,1168,1848,2752,3912,5360,7128,9248,11752,14672,18040,21888,26248,31152,36632,42720,49448,56848,64952,73792,83400,93808,105048,117152,130152,144080,158968,174848,191752,209712,228760,248928,270248,292752,316472,3...
; A128064: Triangle T with T(n,n)=n, T(n,n-1)=-(n-1) and otherwise T(n,k)=0; 0<k<=n. ; Submitted by Simon Strandgaard ; 1,-1,2,0,-2,3,0,0,-3,4,0,0,0,-4,5,0,0,0,0,-5,6,0,0,0,0,0,-6,7,0,0,0,0,0,0,-7,8,0,0,0,0,0,0,0,-8,9,0,0,0,0,0,0,0,0,-9,10,0,0,0,0,0,0,0,0,0,-10,11,0,0,0,0,0,0,0,0,0,0,-11,12 mov $3,2 mov $4,$0 lpb $3 ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1eeaf, %r15 nop nop nop xor %r11, %r11 mov (%r15), %r14 nop cmp %r10, %r10 lea addresses_WT_ht+0xfb27, %r15 nop lfence movb (%r15), %r14b nop nop nop nop add $8683...
; A170412: Number of reduced words of length n in Coxeter group on 19 generators S_i with relations (S_i)^2 = (S_i S_j)^44 = I. ; 1,19,342,6156,110808,1994544,35901792,646232256,11632180608,209379250944,3768826516992,67838877305856,1221099791505408,21979796247097344,395636332447752192,7121453984059539456 add $0,1 mov ...
; A059648: a(n) = [[(k^2)*n]-(k*[k*n])], where k = sqrt(2) and [] is the floor function. ; 0,0,1,0,0,0,0,1,0,1,0,0,1,0,1,0,0,0,0,1,0,0,0,0,1,0,1,0,0,0,0,1,0,0,0,0,1,0,1,0,0,1,0,1,0,0,0,0,1,0,1,0,0,1,0,1,0,0,0,0,1,0,0,0,0,1,0,1,0,0,1,0,1,0,0,0,0,1,0,1,0,0,1,0,1,0,0,0,0,1,0,0,0,0,1,0,1,0,0,0,0,1,0,0,0,0,1,0,1,0,0,1,0,1,0...
; A180596: Digital root of 6n. ; 0,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3,9,6,3 mul $0,15 sub $0,1 mod $0,9 add $0,1 mov $1,$0
; ; 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 ; ;----------------------------------------------...
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 00 tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01 tilecoll WALL, WALL, WALL, WALL ; 02 tilecoll WALL, WALL, WALL, WALL ; 03 tilecoll WATER, WATER, WATER, WATER ; 04 tilecoll WALL, WALL, WALL, WALL ; 05 tilecoll WALL, WALL, WALL, WALL ; 06 tilecoll WALL, WALL, WALL, WALL ; 07 til...
// // 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...
# Program File: Program2-1.asm # Author: Charles Kann # Purpose: First program, Hello World .text # Define the program instructions. main: # Label to define the main program. li $v0,4 # Load 4 into $v0 to indicate a print string. la $a0, greeting # Load the a...
include Irvine32.inc include backend.inc .data? new_map byte 10000 DUP(?) .code ; INPUT: pointer to array, height, width update_board proc Initialization: mov ebp, esp push ebp mov ecx, 0 mov esi, [ebp + 12] mov edi, offset new_map Count_Neighbors: push ebp push ecx push esi push edi push [ebp + 12] p...
; A144864: a(n) = (4*16^(n-1)-1)/3. ; 1,21,341,5461,87381,1398101,22369621,357913941,5726623061,91625968981,1466015503701,23456248059221,375299968947541,6004799503160661,96076792050570581,1537228672809129301,24595658764946068821,393530540239137101141,6296488643826193618261,100743818301219097892181,161190109281950556627...
#include "Geant/MaterialCuts.h" #include "Geant/Material.h" #include "Geant/CutConverter.h" #include "Geant/CutConverterForGamma.h" #include "Geant/CutConverterForElectron.h" #include "Geant/CutConverterForPositron.h" #include "Geant/PhysicsParameters.h" #include "Geant/SystemOfUnits.h" #include "Geant/Region.h" ...
; A169720: a(n) = (3*2^(n-1)-1)*(3*2^n-1). ; 1,10,55,253,1081,4465,18145,73153,293761,1177345,4713985,18865153,75479041,301953025,1207885825,4831690753,19327057921,77308821505,309236465665,1236948221953,4947797606401,19791199862785,79164818325505,316659311050753,1266637319700481,5066549429796865 mov $1,2 pow $1,$0 bin...
; ; CPC Maths Routines ; ; August 2003 **_|warp6|_** <kbaccam /at/ free.fr> ; ; $Id: dge.asm,v 1.4 2016-06-22 19:50:49 dom Exp $ ; SECTION smc_fp INCLUDE "target/cpc/def/cpcfirm.def" INCLUDE "target/cpc/def/cpcfp.def" PUBLIC dge PUBLIC dgec EXTERN fsetup EXTERN stkequcmp E...
; A054479: Number of sets of cycle graphs of 2n nodes where the 2-colored edges alternate colors. ; Submitted by Christian Krause ; 1,0,6,120,6300,514080,62785800,10676746080,2413521910800,700039083744000,253445583029839200,112033456760809584000,59382041886244720843200,37175286835046004765120000,27139206193305890195912...
// Copyright (c) 2011-2018 The Readercoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <util/system.h> #include <clientversion.h> #include <primitives/transaction.h> #include <sync.h> #include <util/...
; A060681: Largest difference between consecutive divisors of n (ordered by size). ; 0,1,2,2,4,3,6,4,6,5,10,6,12,7,10,8,16,9,18,10,14,11,22,12,20,13,18,14,28,15,30,16,22,17,28,18,36,19,26,20,40,21,42,22,30,23,46,24,42,25,34,26,52,27,44,28,38,29,58,30,60,31,42,32,52,33,66,34,46,35,70,36,72,37,50,38,66,39,78,40,54,41,82,...
;; Licensed to the .NET Foundation under one or more agreements. ;; The .NET Foundation licenses this file to you under the MIT license. #include "AsmMacros.h" TEXTAREA IMPORT RhpReversePInvokeBadTransition ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;...
; * = width | BC | D | HL | IXL|IYL | IXH|IYH | Preserves ;----------------------------------------------+-----------+-----+-------------+---------+----------+-------------------------- ; draw_tile[_with_mask]_* | cy,cx | | sprite_add...
; A132738: Row sums of triangle A132737. ; 1,2,7,16,33,66,131,260,517,1030,2055,4104,8201,16394,32779,65548,131085,262158,524303,1048592,2097169,4194322,8388627,16777236,33554453,67108886,134217751,268435480,536870937,1073741850,2147483675,4294967324,8589934621,17179869214,34359738399,68719476768,137438953505,274877906...
; A269908: Partial sums of the number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 1", based on the 5-celled von Neumann neighborhood. ; 1,5,6,50,51,167,168,388,389,745,746,1270,1271,1995,1996,2952,2953,4173,4174,5690,5691,7535,7536,9740,9741,12337,12338,1535...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; SetMem64.Asm ; ; Abstract: ; ; SetMem64 function ; ; Notes: ; ;----------------------...
; A092898: Expansion of (1 - 4*x + 4*x^2 - 4*x^3)/(1 - 4*x). ; 1,0,4,12,48,192,768,3072,12288,49152,196608,786432,3145728,12582912,50331648,201326592,805306368,3221225472,12884901888,51539607552,206158430208,824633720832,3298534883328,13194139533312,52776558133248 mov $4,$0 mov $6,2 lpb $6,1 mov $0,$4 sub $6,1 a...
Total: 5.45s ROUTINE ======================== main.(*Graph).buildAdjList 600ms 1.90s (flat, cum) 34.86% of Total . . 10ca6a0: MOVQ GS:0x30, CX ;graph.go:102 . . 10ca6a9: LEAQ -0x60(SP), AX . . 10ca6ae: CMPQ 0x10(CX), AX ...
;---------------------------------------------------------------------- ; remove.asm - user-callable entry point to _unlink() function. ;---------------------------------------------------------------------- ; ; C/C++ Run Time Library - Version 10.0 ; ; Copyright (c) 1991, 2000 by Inprise Corporation ; ...
; A265100: a(n) = 9*A005836(n) + 5, n >= 1. ; 5,14,32,41,86,95,113,122,248,257,275,284,329,338,356,365,734,743,761,770,815,824,842,851,977,986,1004,1013,1058,1067,1085,1094,2192,2201,2219,2228,2273,2282,2300,2309,2435,2444,2462,2471,2516,2525 mov $2,$0 div $0,2 seq $0,240400 ; Numbers n having a partition into distinc...
; void __CALLEE__ *HeapAlloc_callee(void *heap, unsigned int size) ; 12.2006 aralbrec SECTION code_clib PUBLIC HeapAlloc_callee PUBLIC _HeapAlloc_callee PUBLIC asm_HeapAlloc .HeapAlloc_callee ._HeapAlloc_callee pop hl pop bc ex (sp),hl .asm_HeapAlloc ; Allocate memory from the indicated heap. First fit a...
;***************************************************************************** ;* deblock-a.asm: x86 deblocking ;***************************************************************************** ;* Copyright (C) 2005-2018 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Fiona Glaser <fiona@x2...
#ifndef __SVRG_HXX__ #define __SVRG_HXX__ #include "random.hxx" #include "ifunction.hxx" #include "ioptimizer.hxx" namespace Optimastic { template <typename Function> class SVRG : public IOptimizer<Function> { public: // typedefs static const int Dimension = Function::Dimension;...
; ; m328-GPS-clock.asm ; ; Created: 7/16/2016 12:31:18 PM ; Author : lynf ; ; ;###################################################################################### ; This software is Copyright by Francis Lyn and is issued under the following license: ; ; Creative Commons Attribution-NonCommercial-ShareAlike...
; A078039: Expansion of (1-x)/(1+x-2*x^2+x^3). ; Submitted by Christian Krause ; 1,-2,4,-9,19,-41,88,-189,406,-872,1873,-4023,8641,-18560,39865,-85626,183916,-395033,848491,-1822473,3914488,-8407925,18059374,-38789712,83316385,-178955183,384377665,-825604416,1773314929,-3808901426,8181135700,-17572253481,37743426307,-8...
CODE_SEG SEGMENT ASSUME CS:CODE_SEG,DS:CODE_SEG,ES:CODE_SEG ORG 100H ;Start off right for a .COM file ENTRY: JMP LOCATE ;Skip over Data area COPY_RIGHT DB '(C)1985 S.Holzner' ;Author's Mark FOUND_MSG DB 13,10,13,10,'FOUND IN $' ...
;; Helpers for working with strings %ifndef STRING_ASM %define STRING_ASM ;------------------------------------------------------------------------------- ; Macros ;------------------------------------------------------------------------------- ; Prepend a wstring length header to arbitrary assembly. ; Example usage:...
#include "Debug.hpp" #include <string> #include <iostream> #ifdef DEBUG #include "Timer.hpp" #include <cassert> //TMP SOLUTION, THIS SHOULDNT BE HERE, for gl_error_print #include <GL/glew.h> #include <SFML/OpenGL.hpp> void debug_print(const std::string& _msg, const std::string& _func,const std::string& _fil...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D38 move.l D0, (A4)+ 004D3A move.l D0, (A4)+ 02471C tst.w ($b0,A6) 024720 beq $24762 [item+B0] 024766 move.w #$1, ($b0,A6) 02476C moveq #$12, D0 [item+B0] 024FC6 move.w D0, ($b0,A6) 02...
; A116788: Number of permutations of length n which avoid the patterns 1234, 3142, 4132. ; Submitted by Christian Krause ; 1,2,6,21,73,240,746,2217,6371,17864,49202,133759,360175,963044,2561604,6787167,17930815,47267250,124395032,326966211,858600521,2253029402,5908876016,15490375561,40595804773,106364147270,27863085438...
#include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <fstream> #include <iostream> #include <iomanip> #include <iterator> #include <list> #include <map> #include <numeric> #include <queue> #includ...
; A052206: Partial sums of A050405. ; 1,16,100,408,1290,3432,8052,17160,33891,62920,110968,187408,304980,480624,736440,1100784,1609509,2307360,3249532,4503400,6150430,8288280,11033100,14522040,18915975 lpb $0 mov $2,$0 sub $0,1 seq $2,50405 ; Partial sums of A051879. add $1,$2 lpe add $1,1 mov $0,$1
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1d880, %r14 add $33179, %r11 mov $0x6162636465666768, %rdi movq %rdi, (%r14) xor $54390, %r14 lea addresses_D_ht+0x177e0, %rsi xor $42851, %rdi mov $0x6162636465666768, ...
dc.w byte_185BC-Ani_LightningShield dc.w byte_185E8-Ani_LightningShield byte_185BC: dc.b 1, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7 dc.b 7, 8, 8, 9, $A, $B, $16, $16, $15, $15, $14, $14, $13, $13, $12, $12 dc.b $11, $11, $10, $10, $F, $F, $E, $E, 9, $A, $...
#include "scene/empty_scene.hpp" #include "scene.hpp" #include "global.hpp" #include "app.hpp" #include "stb_image.hpp" using namespace px; scene::EmptyScene::EmptyScene() : BaseScene(), gravity(0.f, -5.f, 0.f), resistance(.5f), width(50), height(50), vao{0}, vbo{0}, texture{0}, ...
; A283969: a(n) = n + 1 + Sum_({k=0..n} floor((n-k)/r, where r = (3+sqrt(5))/2). ; 1,4,10,18,29,43,59,78,99,123,150,179,211,246,283,323,365,410,458,508,561,616,674,735,798,864,933,1004,1078,1154,1233,1315,1399,1486,1576,1668,1763,1860,1960,2063,2168,2276,2386,2499,2615,2733,2854,2978,3104,3233,3364,3498,3635,3774,3916,...
; these macro simulate the avx instructions with lower ones ; might be confusing macro _vaddsd a,b,c ; match =1, CPU_HAS_AVX1 \{ ; vaddsd a,b,c ; \} ; match =0, CPU_HAS_AVX1 \{ if a eq b addsd a, c else if a eq c addsd a, b else movaps a, b addsd a, c end if ; \} ...
copyright zengfr site:http://github.com/zengfr/romhack 033954 move.b #$ff, ($a5,A6) 03395A move.b #$14, ($a9,A6) [enemy+A5] 035420 cmp.b ($a5,A6), D0 035424 bne $3542a [enemy+A5] 03542A move.b D0, ($a5,A6) 03542E jsr $119c.l [enemy+A5] 03543E move.b ($a5,A6), D0 [enemy+80] 035442 bne $3547a...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.1.4 #12246 (Mac OS X x86_64) ;-------------------------------------------------------- .module scene_0 .optsdcc -mgbz80 ;-------------------------------------------------------- ; Public v...
; A021388: Decimal expansion of 1/384. ; 0,0,2,6,0,4,1,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6 add $0,1 mov $1,10 pow $1,$0 mul $1,2 div $1,768 mod $1,10 mov $0,$1
cpu 8080 ; note: CHARSET also acts on arguments of CHARSET itself, ; so 'charset 'a','z',1 | charset 'd',255 won't work as expected. charset 'a','c',1 charset 'd',255 charset 'e','z',5 db "drei droege drachen drehen durch" ; alternate way of doing it: 100 is ASCII code of 'd' charset charset 'a','z...
#pragma once #include "config.hpp" #include "file_reader.hpp" #include <string> #include <cassert> #include <cstdint> #include <vector> namespace standard_encoder { namespace readers { class csv_reader { public: csv_reader() {} csv_reader(std::string config_path) : m_config_path(config_path) { ...
; int bv_stack_pop(bv_stack_t *s) SECTION code_clib SECTION code_adt_bv_stack PUBLIC bv_stack_pop EXTERN asm_bv_stack_pop defc bv_stack_pop = asm_bv_stack_pop
############################################################################### # Copyright 2018 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") containe...
; Special sections extern main ; This section is always before other sections in the kernel section .entry ; --- Entry --- ; jmp entry ; Ensure that we are 16 bytes after the begining of the file align 16 ; --- Variables --- ; ; !!! Do NOT reorder these variables ; . = KERNEL + 16 ; The first sector after ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rbp push %rcx push %rdx push %rsi lea addresses_UC_ht+0xe4b9, %rsi nop nop and %rbp, %rbp mov (%rsi), %r10d nop nop nop add $7347, %r15 lea addresses_WT_ht+0x82b9, %rdx nop nop sub %rcx, %rcx mov (%rdx), %r10 nop nop cmp %rbp, %rbp lea add...
// 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 "ash/wm/video_detector.h" #include <memory> #include "ash/session/session_controller_impl.h" #include "ash/shell.h" #include "ash/test/ash_...
int dep5() { return 5; }
/* * @lc app=leetcode id=160 lang=cpp * * [160] Intersection of Two Linked Lists */ // Definition for singly-linked list. struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(nullptr) {} }; // @lc code=start class Solution { public: ListNode *getIntersectionNode(ListNode *headA, ListN...
; A041183: Denominators of continued fraction convergents to sqrt(102). ; Submitted by Jamie Morken(s2) ; 1,10,201,2020,40601,408030,8201201,82420040,1656602001,16648440050,334625403001,3362902470060,67592674804201,679289650512070,13653385685045601,137213146500968080,2757916315704407201,27716376303545040090,55708544238...
// 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 <stdint.h> #include <vector> #include "base/memory/scoped_ptr.h" #include "base/sha1.h" #include "crypto/rsa_private_key.h" #include "crypt...
; A087076: Sums of the squares of the elements in the subsets of the integers 1 to n. ; 0,1,10,56,240,880,2912,8960,26112,72960,197120,518144,1331200,3354624,8314880,20316160,49020928,116981760,276430848,647495680,1504706560,3471835136,7958691840,18136170496,41104179200,92694118400,208071032832,465064427520,10353555537...
; A032923: Numbers whose set of base-16 digits is {1,3}. ; Submitted by Christian Krause ; 1,3,17,19,49,51,273,275,305,307,785,787,817,819,4369,4371,4401,4403,4881,4883,4913,4915,12561,12563,12593,12595,13073,13075,13105,13107,69905,69907,69937,69939,70417,70419,70449,70451,78097,78099,78129,78131,78609,78611,78641,786...
; A117768: Number of Lucas numbers with n digits. ; 4,5,5,5,4,5,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5,4,5,5,5,5,4,5,5,5,4,5,5,5,5 mov $9,$0 mov $11,2 lpb $11,1 clr $0,9 mov $0,$9 sub $11,...
; A158399: 784n - 1. ; 783,1567,2351,3135,3919,4703,5487,6271,7055,7839,8623,9407,10191,10975,11759,12543,13327,14111,14895,15679,16463,17247,18031,18815,19599,20383,21167,21951,22735,23519,24303,25087,25871,26655,27439,28223,29007,29791,30575,31359,32143,32927,33711,34495,35279,36063,36847,37631,38415,39199,39983,4076...
.386 .XMM .model flat, c .code movdqa_test PROC xmm_reg_ptr:DWORD mov eax, xmm_reg_ptr movdqa xmm0, [eax] movdqa xmm0, [eax+1] RET movdqa_test ENDP end
; ************************************************** ; SMSlib - C programming library for the SMS/GG ; ( part of devkitSMS - github.com/sverx/devkitSMS ) ; ************************************************** INCLUDE "SMSlib_private.inc" SECTION code_clib SECTION code_SMSlib PUBLIC asm_SMSlib_getKeysStatus EXTERN __S...
/****************************************************************************/ // This software is released under the 2-Clause BSD license, included // below. // // Copyright (c) 2019, Aous Naman // Copyright (c) 2019, Kakadu Software Pty Ltd, Australia // Copyright (c) 2019, The University of New South Wales, Austral...
// // Copyright (c) 2008-2016 the Urho3D project. // // 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, mod...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: User interface. FILE: textInstance.asm AUTHOR: Tony ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Descripti...
#ifndef IMAGE_HPP #define IMAGE_HPP #include <fstream> #include <vector> #include <sstream> #include "color.hpp" using namespace std; // Returns tokens after splitting input string with delimiter vector<string> split(const string &input, const string &delimiter) { string inputCopy = input; vector<string> ans...
0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0001 (0x000002) 0x2920- f:00024 d: 288 | OR[288] = A 0x0002 (0x000004) 0x1018- f:00010 d: 24 | A = 24 (0x0018) 0x0003 (0x000006) 0x2927- f:00024 d: 295 | OR[295] = A ...
.8086 PUBLIC gis_cHugeShift PUBLIC gis_uchMajorVersion PUBLIC gis_uchMinorVersion PUBLIC gis_chRevisionLetter PUBLIC gis_bootdrive _GINFOSEG SEGMENT PARA PUBLIC 'GDATA' USE16 gis_time dd ? ;time in seconds gis_msecs dd ? ;milliseconds gis_hour db ? ;hours gis_min...
; A017356: a(n) = (10*n+7)^4. ; 2401,83521,531441,1874161,4879681,10556001,20151121,35153041,57289761,88529281,131079601,187388721,260144641,352275361,466948881,607573201,777796321,981506241,1222830961,1506138481,1836036801,2217373921,2655237841,3154956561,3722098081,4362470401,5082121521,5887339441,6784652161,77808276...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: Desktop FILE: Main REVISION HISTORY: Name Date Description ---- ---- ----------- rsf 1/24/92 Initial version dlitwin 3/18/92 grabbed from CDManager, ported, mo...
; A183295: Complement of A115067. ; 1,2,3,5,6,7,8,9,10,12,13,14,15,16,17,18,19,20,22,23,24,25,26,27,28,29,30,31,32,33,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86 mov $1,$0 add $0,1 lpb $0,1 add $1,1 add $2,3 ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: sound.asm AUTHOR: Jennifer Wu, Feb 3, 1993 ROUTINES: Name Description ---- ----------- SoundSetupSounds Allocate all sounds. So...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x2e53, %rsi lea addresses_WC_ht+0x2fd3, %rdi nop add %r8, %r8 mov $52, %rcx rep movsl nop nop nop nop nop inc %r11 lea addresses_D_ht+0x11b53, %rsi lea addresses_WC_ht+0x187db, %rdi nop nop nop d...
; A331321: a(n) = [x^n] ((x^2 - 1)*(x^2 + x - 1))/(x^2 + 2*x - 1)^2. ; 1,3,8,23,64,175,472,1259,3328,8731,22760,59007,152256,391239,1001656,2556115,6503936,16505651,41788616,105571303,266181440,669923039,1683255448,4222878651,10579130112,26467818315,66138242984,165077936207,411584855488,1025162759287,2551031338360,6342...
;; ;; Title: VDC Functions. ;; ;; ;; function: vdc_set_read ;; Set VDC VRAM read pointer. ;; ;; Parameters: ;; _di - VRAM location. ;; vdc_set_read: vdc_reg #VDC_MARR vdc_data <_di vdc_reg #VDC_DATA rts ;; ;; function: vdc_set_write ;; Set VDC VRAM write pointer. ;; ;; Parameters: ;; _di - VRAM ...
#include "Wire.h"
; A254378: Run lengths of A228495 (Characteristic function of the odd odious numbers). ; 1,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,3,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,3,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,3,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,3,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,1,1,5,1,3,1,1,1,5,1,1,1,3,1,5,1,3,1,1,1...
include 'format/format.inc' format PE GUI entry start section '.text' code readable executable start: push 0 push _caption push _message push 0 call [MessageBoxA] push 0 call [ExitProcess] section '.data' data readable writeable _caption db 'Win32 assembly program',0 _message db 'Hello World!',0 s...
; BSD ; void *rawmemchr(const void *mem, int c) SECTION code_clib SECTION code_string PUBLIC _rawmemchr EXTERN l0_rawmemchr_callee _rawmemchr: pop af pop hl pop bc push bc push hl push af jp l0_rawmemchr_callee
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
/* 发布 static_transform_publsiher 有三种方法: 一。 自定义 可以自由实现功能,如四元数转换之类的 ros2 run learning_tf2_cpp static_turtle_tf2_broadcaster mystaticturtle 0 0 1 0 0 0 (定义了parent frame 是world) 二。使用自带的tf2_ros包 旋转表示: ros2 run tf2_ros static_transform_publisher x y z yaw pitch roll frame_id child_frame_id 四元数表达: ...
; A213839: Principal diagonal of the convolution array A213838. ; 1,20,89,240,505,916,1505,2304,3345,4660,6281,8240,10569,13300,16465,20096,24225,28884,34105,39920,46361,53460,61249,69760,79025,89076,99945,111664,124265,137780,152241,167680,184129,201620,220185,239856,260665,282644,305825,330240,355921,382900,411209,44...
; A003988: Triangle with subscripts (1,1),(2,1),(1,2),(3,1),(2,2),(1,3), etc. in which entry (i,j) is [ i/j ]. ; Submitted by Jamie Morken(s2) ; 1,2,0,3,1,0,4,1,0,0,5,2,1,0,0,6,2,1,0,0,0,7,3,1,1,0,0,0,8,3,2,1,0,0,0,0,9,4,2,1,1,0,0,0,0,10,4,2,1,1,0,0,0,0,0,11,5,3,2,1,1,0,0,0,0,0,12,5,3,2,1,1,0,0,0,0,0,0,13,6,3,2,1,1,1,0...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D3E move.l D0, (A4)+ 004D40 dbra D1, $4d38 033960 move.b #$5a, ($ac,A6) [enemy+A9] 033966 move.b D0, ($ba,A6) [enemy+AC] 0356A2 subq.b #1, ($ac,A6) 0356A6 bcc $356f2 [enemy+AC] 0356A8 move...
include mpcp.inc ;; declaracoes de dados (variaveis globais) .data msg BYTE "isto EXEMplo teste nao sei ARroz MuStArDa", 13,10,0 ;; seccao de codigo principal .code LCASE PROTO C pointer: ptr BYTE, len: DWORD main PROC C ;; (parte principal) invoke LCASE, OFFSET msg, LENGTHOF msg invoke printf, ...
;******************************************************************************************************** ; uC/OS-II ; The Real-Time Kernel ; ; Copyright 1992-2021 Silicon Laboratories Inc. www.silabs.com ; ; ...
/* * ProbeHullRenderTasks.cpp * * Copyright (C) 2020 by Universitaet Stuttgart (VISUS). * All rights reserved. */ #include "stdafx.h" #include "mmcore/EventCall.h" #include "mmcore/param/ColorParam.h" #include "mmcore/param/EnumParam.h" #include "ProbeEvents.h" #include "ProbeGlCalls.h" #include "ProbeHUllRende...
\ ****************************************************************************** \ \ DISC ELITE SHIP BLUEPRINTS FILE P \ \ Elite was written by Ian Bell and David Braben and is copyright Acornsoft 1984 \ \ The code on this site has been disassembled from the version released on Ian \ Bell's personal website at http://w...
#include "MutexLock.hh" #include <stdio.h> #include <errno.h> namespace wd { MutexLock::MutexLock() { if (pthread_mutex_init(&_mutex, nullptr)) perror("pthread_mutex_init"); } MutexLock::~MutexLock() { if (pthread_mutex_destroy(&_mutex)) perror("pthread_mute...
#include <stdlib.h> #include <unistd.h> #include <QThread> #include "controller.hpp" #include "cliparameters.hpp" Controller::Controller(CliParameters *cliParameters, QObject *parent) { fprintf(stderr, "Starting...\n"); conn = new CPConnection(parent); if (cliParameters->proxyHostname != nullptr) { ...
; A158011: a(n) = 512n - 1. ; 511,1023,1535,2047,2559,3071,3583,4095,4607,5119,5631,6143,6655,7167,7679,8191,8703,9215,9727,10239,10751,11263,11775,12287,12799,13311,13823,14335,14847,15359,15871,16383,16895,17407,17919,18431,18943,19455,19967,20479,20991,21503,22015,22527,23039,23551,24063,24575,25087,25599,26111,2662...
include "constants.asm" IF LANGUAGE = 2 include "autogenerated/text-constants-ptbr.asm" ELSE IF LANGUAGE = 1 include "autogenerated/text-constants-es.asm" ELSE include "autogenerated/text-constants.asm" ENDIF ENDIF ; the first time this is compiled, we need a few symbols to be defined ; to bootstrap t...
#include <stan/math/prim/scal.hpp> #include <gtest/gtest.h> TEST(ProbPareto, log_matches_lpdf) { double y = 2.0; double y_min = 1.1; double alpha = 2.3; EXPECT_FLOAT_EQ((stan::math::pareto_lpdf(y, y_min, alpha)), (stan::math::pareto_log(y, y_min, alpha))); EXPECT_FLOAT_EQ((stan::math::pare...