text
stringlengths
1
1.05M
#include <dirent.h> #include <unistd.h> #include <string> #include <vector> #include <iostream> #include <algorithm> #include <cmath> #include "linux_parser.h" using std::stof; using std::string; using std::to_string; using std::vector; // LinuxParser Interfaces void LinuxParser::ParseAll(){ ParseOsRelease(); P...
#include <stdio.h> int callee(int a) { a += 120; return a; } void caller(int a) { int c = callee(a); printf("%d\n", c); }
# a ball that bounces around the edged of the screen jmp .loop .loop jsr .moveball jsr .delay jmp .loop # moves the ball position, bounces on collision .moveball # TODO .jmr # TODO delay clock so game loop isnt too fast .delay .jmr
#include "SProSTest.hpp" #include "CellMLBootstrap.hpp" #ifndef BASE_DIRECTORY #ifdef WIN32 #define BASE_DIRECTORY L"file:///" TESTDIR L"/test_xml/" #else #define BASE_DIRECTORY L"file://" TESTDIR L"/test_xml/" #endif #endif #define SEDML_NS L"http://sed-ml.org/" CPPUNIT_TEST_SUITE_REGISTRATION( SProSTest ); void S...
; A147809: Half the number of proper divisors (> 1) of n^2 + 1, i.e., tau(n^2 + 1)/2 - 1. ; Submitted by Jon Maiga ; 0,0,1,0,1,0,2,1,1,0,1,1,3,0,1,0,3,2,1,0,3,1,3,0,1,0,3,1,1,1,3,2,3,1,1,0,3,2,1,0,2,1,5,1,1,1,7,1,1,1,1,1,3,0,3,0,7,1,1,1,1,1,3,1,1,0,3,3,1,2,1,3,7,0,3,1,3,1,1,1,3,2,7,0,1,1,3,1,3,0,3,1,5,0,1,1,3,3,5,1 se...
; A310409: Coordination sequence Gal.3.19.1 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. ; 1,4,10,14,20,24,28,34,38,44,48,52,58,62,68,72,76,82,86,92,96,100,106,110,116,120,124,130,134,140,144,148,154,158,164,168,172,178,182,188,192,...
; A296083: a(1) = 0; for n > 1, a(n) = A039653(n) / gcd(A039653(n),A032741(n)). ; Submitted by Jon Maiga ; 0,2,3,3,5,11,7,14,6,17,11,27,13,23,23,15,17,38,19,41,31,35,23,59,15,41,13,11,29,71,31,62,47,53,47,45,37,59,55,89,41,95,43,83,77,71,47,41,28,92,71,97,53,17,71,17,79,89,59,167,61,95,103,21,83,143,67,25,95,143,71,194...
; ; Small C+ Runtime Library ; ; Random number generator for seed ; generic version, ; ; void randomize() - randomize the seed for rand() ; ; ----- ; $Id: randomize.asm,v 1.7 2016/05/17 21:43:06 dom Exp $ SECTION code_clib PUBLIC randomize PUBLIC _randomize EXTERN __stdseed EXTERN cleanup ; you mus...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; size_t b_vector_erase(b_vector_t *v, size_t idx) ; ; Remove char at vector.data[idx] and return index of char ; that follows the one removed. ; ; =========================...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %rax push %rbx lea addresses_WT_ht+0x17adb, %r14 clflush (%r14) nop nop nop nop sub %rbx, %rbx mov (%r14), %rax nop nop nop sub $17945, %r12 pop %rbx pop %rax pop %r14 pop %r12 ret .global s_faulty_load s_faulty_load: push %r15 push %r8 push %rb...
; A187508: Number of 3-step S, E, and NW-moving king's tours on an n X n board summed over all starting positions ; 0,6,31,74,135,214,311,426,559,710,879,1066,1271,1494,1735,1994,2271,2566,2879,3210,3559,3926,4311,4714,5135,5574,6031,6506,6999,7510,8039,8586,9151,9734,10335,10954,11591,12246,12919,13610,14319,15046,157...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x124fd, %rsi clflush (%rsi) nop nop xor $53518, %rax and $0xffffffffffffffc0, %rsi movaps (%rsi), %xmm7 vpextrq $1, %xmm7, %rbx nop nop nop xor %rbp, %rbp lea addresses_WC_ht...
INCLUDE "graphics/grafix.inc" SECTION code_clib PUBLIC Line EXTERN Line_r EXTERN __gfx_coords ; ; $Id: line.asm,v 1.7 2016-07-02 09:01:35 dom Exp $ ; ; ****************************************************************************** ; ; Draw a pixel line from (x0,y0) defined (H,L) - the starting point coordina...
; sub routine that converts the sprite's ; tile position to an actual ; location on the screen convert_tile_location: ldx player_y lda tile_convert_table, x sec sbc #$01 cmp #$FF ; if y location is FF we set it to 0 bne @not_ff lda #$00 @not_ff: sta sprite_data ldx player_x ...
; A267318: Continued fraction expansion of e^(1/5). ; 1,4,1,1,14,1,1,24,1,1,34,1,1,44,1,1,54,1,1,64,1,1,74,1,1,84,1,1,94,1,1,104,1,1,114,1,1,124,1,1,134,1,1,144,1,1,154,1,1,164,1,1,174,1,1,184,1,1,194,1,1,204,1,1,214,1,1,224,1,1,234,1,1,244,1,1,254,1,1,264,1,1 mul $0,10 lpb $0 sub $0,1 mov $1,$0 mod $0,3 lpe div...
#ifndef NDNPH_CLI_KEYCHAIN_HPP #define NDNPH_CLI_KEYCHAIN_HPP #include "../keychain/ec.hpp" #include "../keychain/keychain.hpp" #include "io.hpp" namespace ndnph { namespace cli { /** @brief Open KeyChain according to `NDNPH_KEYCHAIN` environ. */ inline KeyChain& openKeyChain() { static KeyChain keyChain; static...
#include "volcano.h" #include "main.h" Volcano::Volcano(float x, float y, float z, color_t color) { this->position = glm::vec3(x, y, z); this->rotation = 0; GLfloat mountain[] = { 70.7/2, 0/2, 70.7/2, 0/2, 50/2, 0/2, -70.7/2, 0/2, 70.7/2, -70.7/2, 0/2, 70.7/2, 0/2, 5...
; Win98.Priest .386 .model flat extrn ExitProcess:PROC KER32 equ 0bff70000h Limit equ 0000h addname equ 0004h addfun equ 0008h addord equ 000Ch create equ 0010h close equ 0014h rfile equ 0018h ffind equ 001ch nfind equ 0020h white equ 0024h fpoin equ 0028h getw equ 002ch gets equ 0030h getc ...
// 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 "components/drive/chromeos/drive_test_util.h" #include "components/drive/drive.pb.h" #include "components/drive/drive_pref_names.h" #include...
#include <iostream> void Merge(int *A, int first, int last, int *buff) { int middle = (first + last) / 2; int leftStart = first; int rightStart = middle + 1; for (int j = first; j <= last; j++) if ((leftStart <= middle) && ((rightStart > last) || (A[leftStart] < A[rightStart]))) { bu...
;SYS-DOS Kernel Library ;=========================================================== SUBROUTINES ;-------------------- ROUTINE new new: call linefeed call linefeed mov al, '$' call lettergen ret ;-------------------- ROUTINE lettergen lettergen: mov ah, 0x0e int 10h ret ;------------------...
; A279322: Number of n X 1 0..2 arrays with no element equal to a strict majority of its king-move neighbors, with the exception of exactly one element, and with new values introduced in order 0 sequentially upwards. ; 0,0,2,4,14,40,120,352,1032,3008,8736,25280,72928,209792,601984,1723392,4923520,14039040,39961088,1135...
//$Id$ //------------------------------------------------------------------------------ // EditorPreferences //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // // Copyright (c) 2002 - 2015 United States Government as re...
// Copyright 2015 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/guest_view/extensions_guest_view_manager_delegate.h" #include <memory> #include <utility> #include "components/guest_view/b...
;***************************************************************************** ;* x86inc.asm ;***************************************************************************** ;* Copyright (C) 2005-2008 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Anton Mitrofanov <BugMaster@narod.ru> ;* ...
SECTION code_l PUBLIC l_utod_hl l_utod_hl: ; convert unsigned int to signed int, saturate if necessary ; ; enter : hl = unsigned int ; ; exit : hl = int, maximum $7fff ; carry unaffected ; ; uses : f, hl bit 7,h ret z ld hl,$7fff ret
/* * * Copyright (c) 2022 Project CHIP Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE...
; A005720: Quadrinomial coefficients. ; 1,10,44,135,336,728,1428,2598,4455,7282,11440,17381,25662,36960,52088,72012,97869,130986,172900,225379,290444,370392,467820,585650,727155,895986,1096200,1332289,1609210,1932416,2307888,2742168,3242393,3816330,4472412,5219775 mov $2,$0 add $2,1 mov $3,$0 lpb $2 mov $0,$3 sub ...
/*========================================================================= Program: CMake - Cross-Platform Makefile Generator Module: $RCSfile: cmExportLibraryDependencies.cxx,v $ Language: C++ Date: $Date: 2008-05-01 16:35:39 $ Version: $Revision: 1.22.2.1 $ Copyright (c) 2002 Kitware, Inc....
; A110548: One of the three ordered sets of positive integers that solves the minimal magic die puzzle. ; 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,25,43 mov $2,$0 add $0,3 mov $3,6 lpb $0,1 sub $0,1 add $3,$0 trn $3,11 trn $5,1 mov $4,$5 mov $5,$3 mov $6,1 add $6,$4 add $6,2 lpe mov $1,4 add $...
;; ;; 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...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0xf0f0, %rdi clflush (%rdi) sub $49738, %rbx vmovups (%rdi), %ymm5 vextracti128 $1, %ymm5, %xmm5 vpextrq $1, %xmm5, %r11 nop nop cmp %r10, %r10 lea addresses_D_ht+0x104f0, %r8 no...
// { dg-do compile { target c++11 } } // Copyright (C) 2015-2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Found...
; A020924: Expansion of 1/(1-4*x)^(13/2). ; Submitted by Jon Maiga ; 1,26,390,4420,41990,352716,2704156,19315400,130378950,840219900,5209363380,31256180280,182327718300,1037865473400,5782393351800,31610416989840,169905991320390,899502306990300,4697400936504900,24228699567235800,123566367792902580,623715951716555880,311...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0xea03, %rsi lea addresses_normal_ht+0x1b2c3, %rdi nop nop inc %r8 mov $110, %rcx rep movsb nop nop sub %rbp, %rbp lea addresses_WT_ht+0x101fc, %rsi lea addresses_normal_ht+0x136c3, %rdi nop add $...
_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...
#include <boost/geometry/strategies/cartesian/disjoint_segment_box.hpp>
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #include "test_precomp.hpp" namespace opencv_test { namespace { /** * Tests whether cvv::debugMode() and cvv::setDebugFlag(...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2015-2020 The Bitcoin Unlimited developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "walletmodel.h" #include "addresstablemodel.h" #include...
; void *tshr_cxy2saddr(uchar x, uchar y) SECTION code_clib SECTION code_arch PUBLIC _tshr_cxy2saddr_callee EXTERN asm_zx_cxy2saddr _tshr_cxy2saddr_callee: pop hl ex (sp),hl jp asm_zx_cxy2saddr
/* Lightmetrica - A modern, research-oriented renderer Copyright (c) 2015 Hisanari Otsu 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 ...
;/**@file Clocking.asm ;* @brief Sets the proper clocks for Tx and Rx ;* ;* @author Saman Naderiparizi, UW Sensor Systems Lab ;* @created 3-10-14 ;* ;* ;* @section Command Handles ;* -#TxClock , RxClock ;*/ ;/INCLUDES------------------------------------------------------------------------------------------------...
; Macros to verify assumptions about the data or code table_width: MACRO CURRENT_TABLE_WIDTH = \1 IF _NARG == 2 REDEF CURRENT_TABLE_START EQUS "\2" ELSE REDEF CURRENT_TABLE_START EQUS "._table_width\@" {CURRENT_TABLE_START}: ENDC ENDM assert_table_length: MACRO x = \1 ASSERT x * CURRENT_TABLE_WIDTH == @ - {CURRENT_T...
; int islower(int c) SECTION code_ctype PUBLIC islower EXTERN asm_islower, error_zc islower: inc h dec h jp nz, error_zc ld a,l call asm_islower ld l,h ret c inc l ret
; Sprite top left corner to char coordinates: ; int((spr_x-24)/8), int((spr_y-50)/8) ;=============================================================================== ; Constants BulletsMax = 10 Bullet1stCharacter = 64 ;=============================================================================== ; Variabl...
; A178242: Numerator of n*(5+n)/((n+1)*(n+4)). ; 0,3,7,6,9,25,33,21,26,63,75,44,51,117,133,75,84,187,207,114,125,273,297,161,174,375,403,216,231,493,525,279,296,627,663,350,369,777,817,429,450,943,987,516,539,1125,1173,611,636,1323,1375,714,741,1537,1593,825,854,1767,1827,944,975,2013,2077,1071,1104,2275,2343,1206,1241...
global NW_ASM_SSE extern malloc extern free extern printf extern backtracking_C extern new_alignment_matrix extern get_score_SSE section .rodata malloc_error_str : db `No se pudo reservar memoria suficiente.\nMalloc: %d\nIntente reservar: %d bytes\n`,0 ; Máscara utilizada para invertir el string almacenado en un reg...
; A142463: a(n) = 2*n^2 + 2*n - 1. ; -1,3,11,23,39,59,83,111,143,179,219,263,311,363,419,479,543,611,683,759,839,923,1011,1103,1199,1299,1403,1511,1623,1739,1859,1983,2111,2243,2379,2519,2663,2811,2963,3119,3279,3443,3611,3783,3959,4139,4323,4511,4703,4899,5099,5303,5511,5723,5939,6159,6383,6611,6843,7079,7319,7563,781...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2017 The Phore developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-lic...
; =============================================================== ; 2014 ; =============================================================== ; ; void zx_scroll_up_attr(uchar rows, uchar attr) ; ; Scroll attrs upward by rows chars and clear vacated area ; using attribute. ; ; ============================================...
// 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 "base/callback.h" #include "base/location.h" #include "base/macros.h" #include "base/single_thread_task_runner.h" #include "base/strings/utf_...
; void *zx_saddrpdown(void *saddr) SECTION code_arch PUBLIC _zx_saddrpdown EXTERN asm_zx_saddrpdown _zx_saddrpdown: pop af pop hl push hl push af jp asm_zx_saddrpdown
; void sp1_IterateUpdateArr(struct sp1_update **ua, void *hook) ; CALLER linkage for function pointers SECTION code_sprite_sp1 PUBLIC sp1_IterateUpdateArr EXTERN sp1_IterateUpdateArr_callee EXTERN ASMDISP_SP1_ITERATEUPDATEARR_CALLEE .sp1_IterateUpdateArr pop bc pop ix pop hl push hl push hl push b...
[bits 64] cmpxchg8b qword [0] ; out: 0f c7 0c 25 00 00 00 00 cmpxchg8b [0] ; out: 0f c7 0c 25 00 00 00 00 cmpxchg16b dqword [0] ; out: 48 0f c7 0c 25 00 00 00 00 cmpxchg16b [0] ; out: 48 0f c7 0c 25 00 00 00 00
; A136572: Triangle read by rows: row n consists of n zeros followed by n!. ; 1,0,1,0,0,2,0,0,0,6,0,0,0,0,24,0,0,0,0,0,120,0,0,0,0,0,0,720,0,0,0,0,0,0,0,5040,0,0,0,0,0,0,0,0,40320,0,0,0,0,0,0,0,0,0,362880,0,0,0,0,0,0,0,0,0,0,3628800,0,0,0,0,0,0,0,0,0,0,0,39916800,0,0,0,0,0,0,0,0,0,0,0,0,479001600,0,0,0,0,0,0,0,0,0 mov...
############################################################################### # 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...
/* -------------------------------------------------------------------------- * * OpenMMAmoeba * * -------------------------------------------------------------------------- * * This is part of the OpenMM molecular simulation toolkit originating from * ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1a3a1, %r8 nop nop xor %rsi, %rsi movb (%r8), %r9b nop nop nop add $59584, %rsi lea addresses_UC_ht+0x1a201, %rsi lea addresses_A_ht+0x1d1e3, %rdi nop nop dec %r10 mov $50, %r...
//===--- ParseStmt.cpp - Swift Language Parser for Statements -------------===// // // 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...
; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021 Marco Spedaletti (asimov@mclink.it) ; * ; * Licensed un...
#ifndef CPU_ONLY #ifdef USE_CUDA #include <cstdio> #include <cstdlib> #include "glog/logging.h" #include "gtest/gtest.h" #include "caffe/test/test_caffe_main.hpp" namespace caffe { extern cudaDeviceProp CAFFE_TEST_CUDA_PROP; class PlatformTest : public ::testing::Test {}; TEST_F(PlatformTest, TestInitialization)...
; A029578: The natural numbers interleaved with the even numbers. ; 0,0,1,2,2,4,3,6,4,8,5,10,6,12,7,14,8,16,9,18,10,20,11,22,12,24,13,26,14,28,15,30,16,32,17,34,18,36,19,38,20,40,21,42,22,44,23,46,24,48,25,50,26,52,27,54,28,56,29,58,30,60,31,62,32,64,33,66,34,68,35,70,36,72,37,74,38,76,39,78,40,80,41,82,42,84,43,86,44,...
//------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 // // ...
// Copyright (c) 2011-2017 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/walletmodel.h> #include <qt/addresstablemodel.h> #include <consensus/validation.h> #include <qt/guiconstants.h>...
;English ;Read a string and print it changing the ;case of every letter ;French ;Lire une chaîne et l'afficher sur l'écran ;changeant la casse des lettres. org 100h include "emu8086.inc" .data : msg0 db 0dh, 0ah, "Insert string length (max 15)",0 msg1 db 0dh, 0ah, "Insert string ",0 msgstop db 0dh, 0...
/* ///////////////////////////////////////////////////////////////////////// * File: examples/cpp/inserters/example.cpp.inserter.args/example.cpp.inserter.args.cpp * * Purpose: C++ example program for Pantheios. Demonstrates: * * - use of Pantheios inserter for command-line arguments * ...
@ This file was created from a .asm file @ using the ads2gas.pl script. .equ DO1STROUNDING, 0 .equ ARCH_ARM , 1 .equ ARCH_MIPS , 0 .equ ARCH_X86 , 0 .equ ARCH_X86_64 , 0 .equ HAVE_EDSP , 0 .equ HAVE_MEDIA , 1 .equ HAVE_NEON , 0 .equ HAVE_NEON_ASM , 0 .equ HAVE_MIPS32 , 0 .equ HAVE_DSPR2 , 0 .equ HAVE_MSA , ...
.686 .model flat, c ;Implementation for this Assembly File ;extern "C" int CalculateAverageArray(int* array, int length); .code CalculateAverageArray proc push ebp ; push the 32 bit base pointer register mov ebp, esp ; move the 32 bit stack pointer register value to ebp mov ecx, [ebp + 8] ;ecx is equal to the poin...
; A029020: Expansion of 1/((1-x)(1-x^2)(1-x^7)(1-x^8)). ; 1,1,2,2,3,3,4,5,7,8,10,11,13,14,17,19,23,25,29,31,35,38,43,47,53,57,63,67,74,79,87,93,102,108,117,124,134,142,153,162,174,183,196,206,220,231,246,258,274,287,304,318 mov $1,17 lpb $0,1 mov $2,$0 sub $0,1 cal $2,25784 ; Expansion of 1/((1-x)(1-x^7)(1-x^8))...
; A037237: Expansion of (3 + x^2) / (1 - x)^4. ; 3,12,31,64,115,188,287,416,579,780,1023,1312,1651,2044,2495,3008,3587,4236,4959,5760,6643,7612,8671,9824,11075,12428,13887,15456,17139,18940,20863,22912,25091,27404,29855,32448,35187,38076,41119,44320,47683,51212,54911,58784,62835,67068,71487,76096,80899,85900,91103,9651...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; size_t b_array_write_block(void *src, size_t n, b_array_t *a, size_t idx) ; ; Write at most n bytes from the src to the array at index idx. ; Returns number of bytes actua...
; A144758: Partial products of successive terms of A017197. ; 1,3,36,756,22680,884520,42456960,2420046720,159723083520,11979231264000,1006255426176000,93581754634368000,9545338972705536000,1059532625970314496000,127143915116437739520000,16401565050020468398080000,2263415976902824638935040000,332722148604715221923450880...
GetMoveCategoryName: ; Copy the category name of move b to wStringBuffer1. ld a, b dec a ld bc, MOVE_LENGTH ld hl, Moves + MOVE_TYPE call AddNTimes ld a, BANK(Moves) call GetFarByte ; Mask out the type and $ff ^ TYPE_MASK ; Shift the category bits into the range 0-2 rlc a rlc a dec a ld hl, CategoryNames...
;*********************************************************** ; Version 2.40.00 ;*********************************************************** ;**************************************************************** ; Function: maxidx ; Processor: C55xx ; Description: Descrip...
/* * 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 may ...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; size_t b_array_capacity(b_array_t *a) ; ; Return the amount of space allocated for the array. ; ; =============================================================== SECTION ...
; A221731: Number of n X 2 arrays of occupancy after each element stays put or moves to some horizontal or antidiagonal neighbor, without move-in move-out left turns. ; Submitted by Jon Maiga ; 3,17,91,489,2627,14113,75819,407321,2188243,11755857,63155771,339290569,1822764387,9792403073,52607544139,282622526841,1518327...
/** * Copyright (c) 2021 Darius Rückert * Licensed under the MIT License. * See LICENSE file for more information. */ #include "controllable_camera.h" #include "saiga/core/imgui/imgui.h" namespace Saiga { void CameraController::imgui() { ImGui::InputFloat("movementSpeed", &movementSpeed); ImGui::InputFloat...
/*============================================================================= Copyright (c) 2001-2007 Joel de Guzman 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) =========================================...
; A212699: Main transitions in systems of n particles with spin 2. ; 4,40,300,2000,12500,75000,437500,2500000,14062500,78125000,429687500,2343750000,12695312500,68359375000,366210937500,1953125000000,10375976562500,54931640625000,289916992187500,1525878906250000,8010864257812500,41961669921875000,219345092773437500,114...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.Experimen...
bits 64 ; Interrupt Gates, interrupts are automatically disabled upon entry and reenabled upon IRET extern exception_handler extern warn_interrupt extern keyboard_handler extern mouse_handler extern ata_primary_handler extern ata_secondary_handler extern timer_handler %macro pushaq 0 push rdi push rsi push rdx p...
; ; Database Call for REX6000 ; ; DbDeleteText ; ; $Id: DbDeleteText.asm,v 1.2 2002/04/17 21:30:25 dom Exp $ XLIB DbDeleteText .DbDeleteText ld ix,2 add ix,sp ld hl,$0000 push hl ld hl,$0003 push hl ld hl,$0000 push hl add hl,sp ld ($c00a),hl ld l,(ix+0) ld h,(ix+1) ld ($c008),hl ld l,(ix+2) ld h,...
; void sms_aplib_depack_vram(void *dst, void *src) SECTION code_clib SECTION code_compress_aplib PUBLIC sms_aplib_depack_vram EXTERN asm_sms_aplib_depack_vram sms_aplib_depack_vram: pop af pop hl pop de push de push hl push af jp asm_sms_aplib_depack_vram ; SDCC bridge for Classic IF...
; A016273: Expansion of 1/((1-2x)(1-3x)(1-5x)). ; Submitted by Jon Maiga ; 1,10,69,410,2261,11970,61909,315850,1598421,8050130,40425749,202656090,1014866581,5079099490,25409813589,127092049130,635589254741,3178333432050,15892828897429,79467630222970,397348609370901,1986774423719810,9933966253389269 mov $1,1 mov $2,1 m...
; A347950: Characteristic function of numbers that have middle divisors. ; Submitted by Jon Maiga ; 1,1,0,1,0,1,0,1,1,0,0,1,0,0,1,1,0,1,0,1,0,0,0,1,1,0,0,1,0,1,0,1,0,0,1,1,0,0,0,1,0,1,0,0,1,0,0,1,1,1,0,0,0,1,0,1,0,0,0,1,0,0,1,1,0,1,0,0,0,1,0,1,0,0,0,0,1,0,0,1,1,0,0,1,0,0,0,1,0,1,1,0,0,0,0,1,0,1,1,1 seq $0,347266 ; a(n...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2017 The Marlin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "trafficgraphwidget.h" #include "clientmodel.h" #include <QPainter...
; A255308: Number of times log_2 can be applied to n until the result is not a power of 2. Here log_2 means the base-2 logarithm. ; Submitted by Simon Strandgaard ; 0,1,2,0,3,0,0,0,1,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0...
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <tagRAWHID.hpp> #include <tagRAWKEYBOARD.hpp> #include <tagRAWMOUSE.hpp> START_ATF_NAMESPACE union $A3E90FD3AE02296A3B348DF654F3F056 { tagRAWMO...
%include "io.mac" section .text global otp extern printf otp: ;; DO NOT MODIFY push ebp mov ebp, esp pusha mov edx, [ebp + 8] ; ciphertext mov esi, [ebp + 12] ; plaintext mov edi, [ebp + 16] ; key mov ecx, [ebp + 20] ; length ;; DO N...
; Original address was $BB27 ; Unused "Dark" hammer bro fight area .word $0000 ; Alternate level layout .word $0000 ; Alternate object layout .byte LEVEL1_SIZE_01 | LEVEL1_YSTART_170 .byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_00 | LEVEL3_VSCROLL_LOCKLOW .byte LEVEL4_BGBANK_IN...
; ; written by Waleed Hasan ; ; $Id;$ XLIB DsSetPixel LIB setpix .DsSetPixel pop bc ;ret addr. pop hl ;y ld e,l ; e=y pop hl ;x ld d,l ; d=x push bc push bc push bc jp setpix
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x13a1, %r11 nop and %rbx, %rbx vmovups (%r11), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $0, %xmm3, %r9 nop nop cmp $59313, %rdi lea addresses_WC_ht+0x11621, %r14 nop nop no...
section .data msg1 : db 'Enter first digit of first number :' l1 : equ $-msg1 msg2 : db 'Enter second digit of first number :' l2 : equ $-msg2 msg3 : db ' ',10 l3 : equ $-msg3 section .bss num11 : resb 1 num12 : resb 1 n1 : resb 1 n2 : resb 1 n3 : resb 1 junk : resb 1 junk1 : resb 1 junk2 : res...
; Copyright © 2018, VideoLAN and dav1d authors ; Copyright © 2018, Two Orioles, LLC ; 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 copy...
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 75 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %9 %47 OpExecutionMode %4 Origi...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r9 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x6911, %r9 mfence mov (%r9), %edx nop nop nop nop nop add %rdx, %rdx lea addresses_normal_ht+0xd991, %rcx nop nop nop and $25130, %rax mov $0x6162636465666768, %r12 movq %r12,...
// Geometric Tools, LLC // Copyright (c) 1998-2014 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 5.6.0 (2011/07/23) #include "Wm5ApplicationPCH.h" #include "Wm5WindowApplication.h"...
if not defined @FSUB ; continue from @FMOD (if it was included) ; Subtract two floating-point numbers ; In: HL, DE numbers to subtract, no restrictions ; Out: HL = HL - DE ; Pollutes: AF, B, DE @FSUB: if not defined FSUB ; ***************************************** FSUB ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xa40c, %r12 nop nop nop nop add $28401, %r14 movups (%r12), %xmm7 vpextrq $1, %xmm7, %rdx nop nop inc %r9 lea addresses_WC_ht+0x15fae, %rsi lea addresses_D_ht+0x2cc, %rdi nop ...