text
stringlengths
1
1.05M
;/********************************************************************************************************************** ; * DISCLAIMER ; * This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No ; * other uses are authorized. This software is owned by Renesas...
; A196747: Numbers n such that 3 does not divide swing(n) = A056040(n). ; 0,1,2,6,7,8,18,19,20,24,25,26,54,55,56,60,61,62,72,73,74,78,79,80,162,163,164,168,169,170,180,181,182,186,187,188,216,217,218,222,223,224,234,235,236,240,241,242,486,487,488,492,493,494,504,505,506,510,511,512,540,541,542,546,547,548,558,559,560,...
include w2.inc include noxport.inc include consts.inc include structs.inc createSeg edit_PCODE,edit2,byte,public,CODE ; DEBUGGING DECLARATIONS ifdef DEBUG midEditn2 equ 22 ; module ID, for native asserts endif ; EXTERNAL FUNCTIONS externFP <N_PdodMother> externFP <IInPlcRef> exter...
db DEX_DODRIO ; pokedex id db 60, 110, 70, 100, 60 ; hp atk def spd spc db GROUND, FLYING ; type db 45 ; catch rate db 158 ; base exp INCBIN "gfx/pokemon/front/dodrio.pic", 0, 1 ; sprite dimensions dw DodrioPicFront, DodrioPicBack db PECK, SAND_ATTACK, FURY_ATTACK, NO_MOVE ; level 1 learnset db G...
// Copyright (c) 2015 Andrew Sutton // All rights reserved #ifndef BEAKER_PARSER_HPP #define BEAKER_PARSER_HPP #include "prelude.hpp" #include "token.hpp" #include "specifier.hpp" #include "decl.hpp" class Input_buffer; // The parser performs syntactic analysis, transforming // a token stream into an AST. class P...
/* * ADC Utilities * * org: 10/21/2014 * auth: Nels "Chip" Pearson * * Target: LCD_CDM-116100 Demo Board, 8MHz, ATmega328P * * Usage: * .include adc_util_triggered.asm * * These functions are for triggered ADC sampling. * * Resources; * adc_buff 4 bytes * * NOTE: PORTA also supports IR power control....
//------------------------------------------------------------------------------ // UnlockLooperTest.cpp // //------------------------------------------------------------------------------ // Standard Includes ----------------------------------------------------------- // System Includes -----------------------------...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "ngraph/op/op.hpp" namespace ngraph { namespace op { namespace v5 { /// \brief GatherND operation /// class NGRAPH_API GatherND : public Op { public: NGRAPH_RTTI_DECLARATION; GatherND() = default; ...
; A123554: Triangle read by rows: T(n,k) = number of labeled loopless digraphs with n nodes and k arcs (n >= 1, 0 <= k <= n*(n-1)). ; 1,1,2,1,1,6,15,20,15,6,1,1,12,66,220,495,792,924,792,495,220,66,12,1,1,20,190,1140,4845,15504,38760,77520,125970,167960,184756,167960,125970,77520,38760,15504,4845,1140,190,20,1,1,30,435...
; A133285: Indices of the centered 12-gonal numbers which are also 12-gonal number, or numbers X such that 120*X^2-120*X+36 is a square. ; Submitted by Jon Maiga ; 1,12,253,5544,121705,2671956,58661317,1287877008,28274632849,620754045660,13628314371661,299202162130872,6568819252507513,144214821393034404,316615725139424...
; A326136: a(n) = sigma(n) - sigma(A028234(n)), where sigma is the sum of divisors of n, and A028234 gives n without any occurrence of its smallest prime factor. ; Submitted by Jamie Morken(w2) ; 0,2,3,6,5,8,7,14,12,12,11,24,13,16,18,30,17,26,19,36,24,24,23,56,30,28,39,48,29,48,31,62,36,36,40,78,37,40,42,84,41,64,43,72...
; NoirVisor - Hardware-Accelerated Hypervisor solution ; ; Copyright 2018-2022, Zero Tang. All rights reserved. ; ; This file saves processor states. ; ; This program is distributed in the hope that it will be successful, but ; without any warranty (no matter implied warranty of merchantability or ; fitness for a part...
db 0 ; species ID placeholder db 45, 67, 60, 63, 35, 50 ; hp atk def spd sat sdf db WATER, WATER ; type db 225 ; catch rate db 111 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F100 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/goldeen/...
; ********************************************************** ; * Name : Simon Brennan * ; * Student Number : 2021282 * ; * Date : 10/03/2003 * ; * Assignment No : LAB4.asm * ; * Description : This program is a 8 bit binary counter * ; * that counts in 8421 code, through portd * ; *...
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | | | Cop...
section .data section .text global bubblesort ; this function takes two parametes ; long long array (signed int 64 bit) ; int 32 length of the array bubblesort: ;;;;;;;;;;;; ; ENTER ;;;;;;;;;;;; push rbp mov rbp, rsp push rbx push rax push r10 push r9 push r8 ;;;;;;;;;;;;;;;...
; A103481: Diagonal sums of A103462. ; Submitted by Christian Krause ; 1,1,2,3,4,6,9,16,31,69,168,447,1274,3862,12351,41472,145661,533745,2036158,8071795,33192800,141351726,622384741,2829417288,13263528363,64038928741,318121600708,1624347614751,8517247764150,45822087138894 pow $3,$0 lpb $0 sub $0,2 add $1,1 mov ...
## - -IMPORTANT- - ## The general structure; ## ## -Main menu ## -LinkedList creater ## -LinkedList displayer ## ##is given to you, necessary functions are empty, you have to ##fill them ## efficiently for lab3 part 1. ## Necessary register defined. ##IF YOU READ INSTRUCTIONS CAREFULLY YOU FIGURE OUT THAT...
; A289134: a(n) = 21*n^2 - 33*n + 13. ; 1,31,103,217,373,571,811,1093,1417,1783,2191,2641,3133,3667,4243,4861,5521,6223,6967,7753,8581,9451,10363,11317,12313,13351,14431,15553,16717,17923,19171,20461,21793,23167,24583,26041,27541,29083,30667,32293,33961,35671,37423,39217,41053,42931,44851,46813,48817,50863,52951,55081,...
; A135840: A135839 * A000012 as infinite lower triangular matrices. ; 1,2,1,2,1,1,3,2,1,1,3,2,2,1,1,4,3,2,2,1,1,4,3,3,2,2,1,1,5,4,3,3,2,2,1,1,5,4,4,3,3,2,2,1,1,6,5,4,4,3,3,2,2,1,1,6,5,5,4,4,3,3,2,2,1,1,7,6,5,5,4,4,3,3,2,2,1,1,7,6,6,5,5,4,4,3,3,2,2,1,1,8,7,6,6,5,5,4,4,3 seq $0,131437 ; (A000012 * A131436) + (A131436 * ...
;{ ****************************************************************************** } ;{ * https://zpascal.net * } ;{ * https://github.com/PassByYou888/zAI * } ;{ * https://github.com/PassByYou888/ZServer4D ...
// Copyright (c) 2011-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "privacydialog.h" #include "ui_privacydialog.h" #include "addressbookpage.h" #include "addresstablemodel.h" #include...
#include <uWS/uWS.h> #include <iostream> #include "json.hpp" #include "PID.h" #include <math.h> // for convenience using json = nlohmann::json; // For converting back and forth between radians and degrees. constexpr double pi() { return M_PI; } double deg2rad(double x) { return x * pi() / 180; } double rad2deg(double...
; A134824: Generated by reverse of Schroeder II o.g.f. ; 0,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 pow $0,4 ...
/******************************************************************************* * Copyright 2019-2020 Intel 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.apa...
version https://git-lfs.github.com/spec/v1 oid sha256:93efbb6db2794ea409db5cf2d38fdea5590eb46076eaed70000108f75dd52b49 size 561
; A242436: n^5 - 2n. ; 0,-1,28,237,1016,3115,7764,16793,32752,59031,99980,161029,248808,371267,537796,759345,1048544,1419823,1889532,2476061,3199960,4084059,5153588,6436297,7962576,9765575,11881324,14348853,17210312,20511091,24299940,28629089,33554368,39135327,45435356,52521805,60466104,69343883,79235092,90224121,10239...
; A158555: a(n) = 196*n^2 + 14. ; 14,210,798,1778,3150,4914,7070,9618,12558,15890,19614,23730,28238,33138,38430,44114,50190,56658,63518,70770,78414,86450,94878,103698,112910,122514,132510,142898,153678,164850,176414,188370,200718,213458,226590,240114,254030,268338,283038,298130,313614,329490,345758,362418,379470,396914...
// 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 "packager/media/formats/webm/webm_parser.h" // This file contains code to parse WebM file elements. It was created // from information in the Ma...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r14 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x17843, %rsi lea addresses_WC_ht+0x1e4c3, %rdi nop nop add %r11, %r11 mov $105, %rcx rep movsb nop and $49884, %r13 lea addresses_normal_ht+0x17ae2, %rsi lea addresses_UC...
ADDI 1 STORE 1 LOAD 0
Name: zel_gsub1.asm Type: file Size: 3376 Last-Modified: '2016-05-13T04:23:03Z' SHA-1: 6E5B686E3DB84F92D234E0D0DED480FA6B6DFCE3 Description: null
; =============================================================== ; Mar 2014 ; =============================================================== ; ; size_t wv_priority_queue_capacity(wv_priority_queue_t *q) ; ; Return the amount of space allocated for the queue in words. ; ; ============================================...
; A021039: Decimal expansion of 1/35. ; 0,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8 mov $1,1 lpb $0 sub $0,1 mul $1,3 mod $1,21 lpe mov $0,$1 sub $0,1 mod $0,1...
; A163943: Third left hand column of triangle A163940. ; 0,3,17,52,121,240,428,707,1102,1641,2355,3278,4447,5902,7686,9845,12428,15487,19077,23256,28085,33628,39952,47127,55226,64325,74503,85842,98427,112346,127690,144553,163032,183227,205241,229180,255153,283272,313652,346411,381670,419553,460187,503702,550231,599910,...
; A011900: a(n) = 6*a(n-1) - a(n-2) - 2 with a(0) = 1, a(1) = 3. ; 1,3,15,85,493,2871,16731,97513,568345,3312555,19306983,112529341,655869061,3822685023,22280241075,129858761425,756872327473,4411375203411,25711378892991,149856898154533,873430010034205,5090723162050695,29670908962269963,172934730611569081,10079374747071...
# Reverse-3, per thread. # A -> tmp, B -> A, tmp -> B # Common library of definitions include ../common/opcodes.asm include ../common/conditions.asm # Shared variables # N-1 for N loops array_half_len shared 49 output port A 0 # Thread-private variables threads 0 1 2 3 4 5 6 7 array private 1 2 3 ...
; A033478: 3x+1 sequence beginning at 3. ; Submitted by Jon Maiga ; 3,10,5,16,8,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2,1,4,2 add $0,1 mov $1,$0 mov $0,3 lpb $1 mov $2,$0 ...
; A111214: Score for an n-letter word in the game of Boggle. ; Submitted by Jamie Morken(s2) ; 0,0,1,1,2,3,5,11,11,11,11,11,11,11,11,11,11 sub $2,$0 mov $0,1 seq $0,26583 ; a(n) = Sum{T(i,j)}, 0<=j<=i, 0<=i<=2n, T given by A026568. mul $0,3 add $4,$0 add $2,$4 trn $2,4 mov $3,$2 cmp $3,0 add $2,$3 div $4,$2 mov $0,$4 ...
; A100525: Bisection of A048654. ; 4,22,128,746,4348,25342,147704,860882,5017588,29244646,170450288,993457082,5790292204,33748296142,196699484648,1146448611746,6681992185828,38945504503222,226991034833504,1323000704497802,7711013192153308,44943078448422046 mul $0,2 add $0,2 mov $1,2 mov $2,1 mov $3,6 lpb $0,1 sub $0...
; float scalbn(float x, int n) __z88dk_callee SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdccix_scalbn_callee, l0_cm48_sdccix_scalbn_callee EXTERN cm48_sdccixp_d2m48, am48_scalbn, cm48_sdccixp_m482d cm48_sdccix_scalbn_callee: pop af pop de pop hl ; hlde = float x ...
#include <cstdio> #include <cassert> const int N = 8; bool bits[N]; inline int pow(int exp, int base = 2) { int result = 1; for (int i = 0; i < exp; ++i) { result *= base; } return result; } int main() { int n; scanf("%d", &n); assert(n >= 0 && n < 256); while (n > 0) { for (int i = 0; i <...
// 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 "cc/trees/proxy_main.h" #include <algorithm> #include <string> #include "base/trace_event/trace_event.h" #include "base/trace_event/trace_event...
#include <Python.h> #include <torch/csrc/autograd/functions/accumulate_grad.h> #include <torch/csrc/autograd/functions/basic_ops.h> #include <torch/csrc/autograd/functions/tensor.h> #include <torch/csrc/autograd/functions/pybind.h> #include <torch/csrc/autograd/python_cpp_function.h> #include <torch/csrc/autograd/gener...
#include "compute_fwd.h" #include <fiff/c/fiff_coord_trans_old.h> #include "../fwd_coil_set.h" #include <mne/c/mne_ctf_comp_data_set.h> #include "../fwd_eeg_sphere_model_set.h" #include "../fwd_bem_model.h" #include <mne/c/mne_named_matrix.h> #include <mne/c/mne_nearest.h> #include <mne/c/mne_source_space_old.h> #i...
; A176332: Row sums of triangle A176331. ; Submitted by Jon Maiga ; 1,2,5,16,56,202,741,2752,10318,38972,148070,565280,2166646,8332378,32136205,124249856,481433286,1868972828,7267804550,28304698336,110383060776,431000853028,1684754608210,6592277745536,25818887839956,101206901953952,397031054526176,1558672906311232,6123...
; A221543: Number of 0..n arrays of length 5 with each element differing from at least one neighbor by something other than 1, starting with 0. ; 3,22,103,303,716,1455,2658,4487,7128,10791,15710,22143,30372,40703,53466,69015,87728,110007,136278,166991,202620,243663,290642,344103,404616,472775,549198,634527,729428,83459...
; Tests length counter timing in mode 0. .include "prefix_apu.a" reset: jsr setup_apu lda #2;) First length is clocked too soon sta result jsr sync_apu lda #$18 ; load length with 2 sta $4003 lda #$c0 ; clock length sta $4017 ...
; ;Based on the SG C Tools 1.7 ;(C) 1993 Steve Goldsmith ; ;$Id: outvdc_callee.asm,v 1.4 2016-06-16 21:13:07 dom Exp $ ; ;set vdc register SECTION code_clib PUBLIC outvdc_callee PUBLIC _outvdc_callee PUBLIC asm_outvdc outvdc_callee: _outvdc_callee: pop hl pop ...
%include "include/u7si-all-includes.asm" defineAddress 325, 0x0A87, SaveSlot_processInput_loopForMouseUp defineAddress 333, 0x0080, SaveDialog_appendChar_testSpecialKey defineAddress 333, 0x009A, SaveDialog_appendChar_maybeTruncate defineAddress 333, 0x00B8, SaveDialog_appendChar_afterTruncate defineAddress 333, 0x00...
/////////////////////////////////////////////////////////////////////////// // // Copyright(C) 1997-1998 Microsoft Corporation all rights reserved. // // Module: sdocoremgr.cpp // // Project: Everest // // Description: IAS - Server Core Manager Implementation // // Log: // // When Who Wh...
// Copyright (c) 2001-2010 Hartmut Kaiser // // 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) #if !defined(BOOST_SPIRIT_ADAPT_CLASS_ATTRIBUTES_JAN_27_2010_1219PM) #define BOOST_SPIRIT_ADAPT_CLASS_ATTRIBUTES_JAN_...
;; \file ;; \brief Bootloader stage1, MBR version. ;; \author Chris Smeele ;; \copyright Copyright (c) 2014, 2015, Chris Smeele. All rights reserved. ;; \license MIT. See LICENSE for the full license text. [bits 16] [org 0x7c00] jmp 0x0000:start ; Far jump to start. ;; Disk address packet structure. struct_...
; Autor: ; Brown Ramírez, Belinda ; timna.brown@ucr.ac.cr ; num > -50 -> stored high positions begin: CLRB ; clean B CLRA ; clean A LDAB # 200 ; load in B LDX # DATOS LDAA # -50 ;load value in A LDY # MAYORES forloop: CMPA 1, X+ ; compare - if > -50 -> bool output BLE if...
.export _V14large_functionv _V14large_functionv: xor rax, rax xor rcx, rcx xor rdx, rdx xor r8, r8 xor r9, r9 xor r10, r10 xor r11, r11 pxor xmm1, xmm1 pxor xmm2, xmm2 pxor xmm3, xmm3 pxor xmm4, xmm4 pxor xmm5, xmm5 pxor xmm6, xmm6 pxor xmm7, xmm7 pxor xmm8, xmm8 pxor xmm9, xmm9 pxor xmm10, xmm10 pxor xmm11, xmm11 pxor...
; ------------------------------------------------------------------ ; MichalOS Sudoku ; ------------------------------------------------------------------ %INCLUDE "michalos.inc" start: call draw_background mov ax, .list mov bx, .listmsg mov cx, .listmsg2 call os_list_dialog jc .exit dec...
_LTSurgePostBattleAdviceText:: text "A little word of" line "advice, kid!" para "Electricity is" line "sure powerful!" para "But, it's useless" line "against ground-" cont "type #MON!" done _LTSurgeThunderBadgeInfoText:: text "The THUNDERBADGE" line "cranks up your" cont "#MON's SPEED!" para "It also le...
; FragExt - Shell extension for providing file fragmentation ; information. ; ; Copyright (C) 2004-2010 Jeremy Boschen. All rights reserved. ; ; 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 softwa...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x51af, %rsi lea addresses_A_ht+0x1873f, %rdi clflush (%rsi) sub $35459, %r8 mov $124, %rcx rep movsb sub $51797, %r14 lea addresses_D_ht+0xd237, %rsi lea addresses_WC_ht+0xd5af, %rdi nop...
; A060458: Maximal value seen in the final n decimal digits of 2^j for all values of j. ; 8,96,992,9984,99968,999936,9999872,99999744,999999488,9999998976,99999997952,999999995904,9999999991808,99999999983616,999999999967232,9999999999934464,99999999999868928,999999999999737856 add $0,1 mov $1,10 pow $1,$0 mov $2,2 po...
; A212677: Number of (w,x,y,z) with all terms in {1,...,n} and w+y=|x-y|+|y-z|. ; 0,0,1,7,21,46,86,144,223,327,459,622,820,1056,1333,1655,2025,2446,2922,3456,4051,4711,5439,6238,7112,8064,9097,10215,11421,12718,14110,15600,17191,18887,20691,22606,24636,26784,29053,31447,33969 mov $12,$0 mov $14,$0 lpb $14,1 clr $0,1...
/* Copyright 2016 Jonathan Bayle, Thomas Medioni Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
#include "middle.hpp" template <class T> bool middle(vector<T>& vec, T& m) { vector<T> temp = vec; sort(temp.begin(), temp.end()); if(temp.size() == 0) return false; m = temp[temp.size()/2]; return true; }
* = $3000 // sprite 0 / singlecolor / color: $0d figure_0: .byte %00000000,%00110000,%00000000 .byte %00000000,%01111000,%00000000 .byte %00000000,%01111000,%00000000 .byte %00000000,%01111000,%00000000 .byte %00000000,%00110000,%00000000 .byte %00000000,%01110000,%00000000 .byte %00000000,%11111000,%00000000 .byte %...
; Copyright 2016 Philipp Oppermann. See the README.md ; file at the top-level directory of this distribution. ; ; Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or ; http://www.apache.org/licenses/LICENSE-2.0> or the MIT license ; <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your ; option. Th...
extern printf extern ExitProcess section .text global main main: sub rsp, 32 mov rdx, -1 sub rsp, qword 64 ;alloc offset:0 mov qword [rsp+0], qword 2 ; sub rsp, qword 64 ;alloc a offset:64 mov rax, qword [rsp+64] ; mov qword [rsp+0], rax ;Store into var "a" [64] sub rsp, qword 64 ;alloc offset:128 mo...
/**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2014 Chukong Technologies http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (th...
/*Copyright (c) 2016 PaddlePaddle 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 ...
.data A: .byte 0 0 0 0, 1 0 0 0, 2 0 0 0, 3 0 0 0, 4 0 0 0, 5 0 0 0 .align 2 output: .asciiz "La somma è: " .text .globl main main: la $a0, A li $a1, 6 jal S move $s0, $v0 li $v0, 56 la $a0, output move $a1, $s0 syscall li $v0, 10 syscall
/* ****************************************************************************** * * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * * See the NOTICE file distributed wit...
; =============================================================== ; Feb 2014 ; =============================================================== ; ; size_t w_vector_capacity(w_vector_t *v) ; ; Return the amount of space allocated for the vector's array in words. ; ; =====================================================...
*********************************************************** * * Printer I/O (DTFPR) * * For use by assembler programs (not RPG). * * Recreated from old listings & disassembled object * code. * * Comments are mine based on my interpretation of * the code. * * Stephen...
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fxcrt/widestring.h" #include <stddef.h> #include <algorithm> ...
/** --------------------------------------------------------------------------- Copyright (c) 2011, Code Aurora Forum. 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...
global _start ; making entry point visible to linker global kernel_stack_bottom global kernel_stack_top extern kmain ; kmain is defined in kmain.cpp extern start_ctors ; beginning and end extern end_ctors ; of the respect...
#include "clientmodel.h" #include "bantablemodel.h" #include "guiconstants.h" #include "optionsmodel.h" #include "addresstablemodel.h" #include "peertablemodel.h" #include "transactiontablemodel.h" #include "chainparams.h" #include "alert.h" #include "main.h" #include "ui_interface.h" #include "floatingcityman.h" #i...
//===--- Attr.cpp - Swift Language Attr ASTs ------------------------------===// // // 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...
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012, 2013 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby ...
; Retrieved from ; https://brainwagon.org/2011/09/08/more-on-my-8080-emulator/ ; via ; http://www.emulator101.com/full-8080-emulation.html ; ; JK, modified output functions to work with my emulator ;*********************************************************************** ; MICROCOSM ASSOCIATES 8080/8085 CPU DIAGNO...
// // Created by sheidman on 30/03/2020. // #include "Arduino.h" #include <Wire.h> #include "SDP610-500pa.h" #include "NPA-700B-001G.h" #include "ABPLANT001PG2A5.h" #define MOVING_AVG_SIZE 3 SDP610_500pa sdp610(0x40); NPA_700B_001G npa700G(0x28); //ABPLANT001PG2A5 abp(0x28); float data_p_diff; float data_p; float da...
;----------------------------------------------- ; Copies the render buffer to video memory raycast_render_buffer: ld hl,raycast_use_double_buffer ld a,(hl) or a jp z,raycast_render_buffer_msx1 dec hl ; hl = raycast_double_buffer ld a,(hl) or a ; if (raycast_double_buffer) == 0, we need...
; http://shell-storm.org/shellcode/files/shellcode-841.php ; 21 bytes global _start _start: xor ecx,ecx mul ecx mov al,0xb push ecx push dword 0x68732f2f push dword 0x6e69622f mov ebx,esp int 0x80
; A162442: Denominators of the column sums of the EG1 matrix coefficients ; Submitted by Jon Maiga ; 2,16,48,512,1280,2048,14336,262144,589824,2621440,5767168,50331648,109051904,469762048,67108864,34359738368,73014444032,103079215104,652835028992,1099511627776,3848290697216,48378511622144 mul $0,2 mov $1,4 mov $3,2 lp...
/* * Copyright (C) 2007, 2008, 2012 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Epson 24-pin Print Driver FILE: epson24ControlCodes.asm AUTHOR: Dave Durran, 1 March 1990 ROUTINES: Name Description ---- -------...
//***************************************************************************** // Copyright 2017-2020 Intel 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://w...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0xef58, %rsi lea addresses_D_ht+0x1ebf8, %rdi clflush (%rsi) nop nop nop nop cmp %r13, %r13 mov $105, %rcx rep movsb nop nop mfence lea addresses_D_ht+0x1ca1c, %r15 clflush (%r15) sub $...
; A044131: Numbers n such that string 4,5 occurs in the base 6 representation of n but not of n-1. ; Submitted by Jamie Morken(s4) ; 29,65,101,137,173,209,245,281,317,353,389,425,461,497,533,569,605,641,677,713,749,785,821,857,893,929,965,1001,1037,1109,1145,1181,1217,1253,1289,1325,1361,1397,1433,1469,1505,1541,1577,1...
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_FPU_IE ;TEST_FILE_META_END FLD1 ;TEST_BEGIN_RECORDING lea edi, [esp-0xC] fistp qword [edi] mov eax, dword [edi+00] mov ebx, dword [edi+04] mov edi, 0x0 ;TEST_END_RECORDING
############################################################################### # Copyright 2019 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...
; A304515: a(n) = 159*2^n - 222 (n>=1). ; 96,414,1050,2322,4866,9954,20130,40482,81186,162594,325410,651042,1302306,2604834,5209890,10420002,20840226,41680674,83361570,166723362,333446946,666894114,1333788450,2667577122,5335154466,10670309154,21340618530,42681237282,85362474786,170724949794,341449899810,682899799842,13...
#include "drape_frontend/metaline_manager.hpp" #include "drape_frontend/map_data_provider.hpp" #include "drape_frontend/message_subclasses.hpp" #include "drape_frontend/threads_commutator.hpp" #include "base/logging.hpp" #include <functional> namespace df { MetalineManager::MetalineManager(ref_ptr<ThreadsCommutator...
<% from pwnlib.shellcraft.i386.linux import syscall %> <%page args="fd, iovec, count"/> <%docstring> Invokes the syscall writev. See 'man 2 writev' for more information. Arguments: fd(int): fd iovec(iovec): iovec count(int): count </%docstring> ${syscall('SYS_writev', fd, iovec, count)}
GLOBAL haltcpu GLOBAL _cli GLOBAL _sti GLOBAL picMasterMask GLOBAL picSlaveMask GLOBAL _irq00Handler GLOBAL _irq01Handler GLOBAL _irq02Handler GLOBAL _irq03Handler GLOBAL _irq04Handler GLOBAL _irq05Handler GLOBAL _exception0Handler GLOBAL _exception4Handler GLOBAL _exception6Handler GLOBAL _irq80Handler EXTERN ir...
// Copyright (c) 2016, Monero Research Labs // // Author: Shen Noether <shen.noether@gmx.com> // // 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 re...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x422f, %r10 nop nop dec %rdi movb $0x61, (%r10) nop nop inc %r9 lea addresses_A_ht+0x1c76f, %rsi lea addresses_WC_ht+0x1baf, %rdi clflush (%rsi) clflush (%rdi) nop add %r8, %r8 mov $119,...
#include <controller_interface/controller_base.h> #include <pluginlib/class_list_macros.h> #include <empty_controller/empty_controller.hpp> PLUGINLIB_EXPORT_CLASS(empty_controller::EmptyController, controller_interface::ControllerBase);
; A106250: Expansion of (1-x+x^2+x^3)/(1-x-x^5+x^6). ; 1,0,1,2,2,3,2,3,4,4,5,4,5,6,6,7,6,7,8,8,9,8,9,10,10,11,10,11,12,12,13,12,13,14,14,15,14,15,16,16,17,16,17,18,18,19,18,19,20,20,21,20,21,22,22,23,22,23,24,24,25,24,25,26,26,27,26,27,28,28,29,28,29,30,30,31,30 add $0,2 mov $2,$0 mov $3,$0 lpb $3,1 lpb $2,1 add...
/* Copyright (c) 2019-2022, Hossein Moein 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 copyright notice, this list of conditions and the follow...
#d incbin("data1.bin") ; = 0x68656c6c6f