text
stringlengths
1
1.05M
// This file is part of Seir. // Copyright (C) Sergei Blagodarin. // SPDX-License-Identifier: Apache-2.0 #pragma once #include <seir_data/writer.hpp> namespace seir { class Buffer; // A Writer that writes to a Buffer. class BufferWriter final : public Writer { public: // constexpr explicit BufferWriter(Buf...
rcr al, 1 rcr ah, 1 rcr bl, 1 rcr bh, 1 rcr cl, 1 rcr ch, 1 rcr dl, 1 rcr dh, 1 rcr byte [bx], 1 rcr byte [bx+si], 1h rcr byte [bx+si+12h], 1b rcr byte [bx+si+4142h], 1 rcr al, cl rcr ah, cl rcr bl, cl rcr bh, cl rcr cl, cl rcr ch, cl rcr dl, cl rcr dh, cl rcr byte [bx], cl rcr byte [bx+di], cl rcr byte [bx+di+12h], c...
page ,132 subttl emlsint.asm - Load/Store 16/32-bit integers ;*** ;emlsint.asm - Load/Store 16/32-bit integers ; ; Copyright (c) 1986-89, Microsoft Corporation ; ;Purpose: ; Load/Store 16/32-bit integers ; ; This Module contains Proprietary Information of Microsoft ; Corporation and should be treated as Co...
/* * Copyright (C) 2015-2021 Swift Navigation Inc. * Contact: https://support.swiftnav.com * * This source is subject to the license found in the file 'LICENSE' which must * be be distributed together with this source. All other rights reserved. * * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY ...
; double fabs (double d); ; ----------------------- ; This function returns the absolute value of a real number. section .code global _fabs _fabs push rbp mov rbp, rsp fld tword [rbp+16] fabs pop rbp ...
; Small C+ Math Library ; fabs(x) XLIB fabs LIB minusfa LIB sgn XREF fa ; .FABS CALL SGN RET P jp minusfa
; ; "Guess the number" example in picoVM assembly ; LOAD16 question CALL print_string POP16 LOAD16 user_input CALL read_input POP16 LOAD 0 ; return value holder LOAD16 user_input CALL string_t...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x5bea, %r9 nop nop nop nop and $7529, %rbp movl $0x61626364, (%r9) nop nop nop nop cmp $56252, %r12 lea addresses_WT_ht+0xbb3, %rsi lea addresses_normal_ht+0x10d53, %rdi nop c...
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 0f in $0xf,%al 8010000c <entry>:...
/*++ Copyright (c) 2001-2002 Microsoft Corporation Module Name: multithreadreader.hxx Abstract: A multiple thread callback helper class Author: Jeffrey Wall (jeffwall) 6/5/02 Revision History: --*/ #ifndef _MULTIREAD_HXX_ #define _MULTIREAD_HXX_ class MULTIPLE_THREAD_READER...
Name: z00_bg30.asm Type: file Size: 84100 Last-Modified: '2016-05-13T04:36:32Z' SHA-1: 8C02BCE16AC97B7C198CC735AAA85E10790AD64E Description: null
Name: zel_endt.asm Type: file Size: 217052 Last-Modified: '2016-05-13T04:23:03Z' SHA-1: 407E93461286583D5BE8F2E468625DBB865980D9 Description: null
#import "registers.asm" #import "data.asm" #import "helpers.asm" :BasicUpstart2(main) main: sei // Disable Interrupts lda #$00 // Set Background sta BORDER_COLOR // and Border colors sta BACKGROUND_COLOR sta $0286 jsr $e544 ldy #...
; A063957: Numbers not of the form round(m*sqrt(2)) for any integer m, i.e., complement of A022846. ; 2,5,9,12,15,19,22,26,29,32,36,39,43,46,50,53,56,60,63,67,70,73,77,80,84,87,90,94,97,101,104,108,111,114,118,121,125,128,131,135,138,142,145,149,152,155,159,162,166,169,172,176,179,183,186,189,193,196,200,203,207,210,21...
;; ;; Copyright (c) 2012-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...
; A133012: Even imperfect numbers. ; 2,4,8,10,12,14,16,18,20,22,24,26,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118 mov $1,3 add $1,$0 mov $2,8 lpb $2 add $1,1 sub $2,$1 sub $1,2 lpe mul $1,2
.model small .stack 100h .data nr db 0Ah oddmsg db 'odd$' evenmsg db 'even$' .code ; macro for checking parity ; sets zero flag accordingly macro check p test p, 00000001b endm check main proc mov ax, @data mov ds, ax ; read a char from stdin ; ...
; A158133: 144n + 1. ; 145,289,433,577,721,865,1009,1153,1297,1441,1585,1729,1873,2017,2161,2305,2449,2593,2737,2881,3025,3169,3313,3457,3601,3745,3889,4033,4177,4321,4465,4609,4753,4897,5041,5185,5329,5473,5617,5761,5905,6049,6193,6337,6481,6625,6769,6913,7057,7201,7345,7489,7633,7777,7921,8065,8209,8353,8497,8641,878...
; Q68 send data to SER port  2000 Tony Tebby ;  2017 W. Lenerz ; This just takes a byte out of the SER output queue and puts it into ; the hardware FIFO. Sending is always done w/o parity. section spp xdef spp_sendser xref iob_gbyt xref iob_room include 'dev8_keys_q68' include 'dev8_keys_serpa...
Name: Scene-j.asm Type: file Size: 57079 Last-Modified: '1992-07-26T15:00:00Z' SHA-1: C689AE3FCC526C030A0143E2E48D4A7DEE585A1D Description: null
.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 inc l inc l ld a, d ...
// Find atan2(x, y) using the CORDIC method // See http://bsvi.ru/uploads/CORDIC--_10EBA/cordic.pdf // Creates a font where each char contains the number of the char (00-ff) // Commodore 64 PRG executable file .file [name="cordic-atan2-clear.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, ...
; A277425: a(n) = sqrt(16*t^2 - 32*t + k^2 + 8*k - 8*k*t + 16), where t = ceiling(sqrt(n)) and k = t^2 - n. ; 0,2,3,4,4,5,6,7,8,6,7,8,9,10,11,12,8,9,10,11,12,13,14,15,16,10,11,12,13,14,15,16,17,18,19,20,12,13,14,15,16,17,18,19,20,21,22,23,24,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,16,17,18,19,20,21,22,23,24,25,26,...
; A269352: Kolakoski-(1,10) sequence: a(n) is length of n-th run. ; 1,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,1,1,1,1,1,1,1,1,10,10,10,10,10,10,10,10,10,10,1,1,1 add $0,909 mov $1,$0 div $1,10 mod $1,2 mul $1,9 add $1,1
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pr...
_mkdir: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 ...
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
/* -*- Mode: C++; c-basic-offset:4 ; -*- */ /* * * (C) 2003 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include "mpi.h" #include "mpitestconf.h" #ifdef HAVE_IOSTREAM // Not all C++ compilers have iostream instead of iostream.h #include <iostream> #ifdef HAVE_NAMESPACE_STD // Th...
;;############################################################################# ;;! \file source/iir5biq32.asm ;;! ;;! \brief 32-bit IIR filter ;;! ;;! \date Jan 11, 2011 ;;! ;; ;; Group: C2000 ;; Target Family: C28x ;; ;;############################################################################# ...
; A111607: Fourth column of A109626. ; 1,2,3,3,5,3,7,2,9,10,11,9,13,7,15,4,17,18,19,15,21,11,23,6,25,26,27,21,29,15,31,8,33,34,35,27,37,19,39,10,41,42,43,33,45,23,47,12,49,50,51,39,53,27,55,14,57,58,59,45,61,31,63,16,65,66,67,51,69,35,71,18,73,74,75 mov $4,$0 add $4,1 mov $6,$4 bin $4,4 mod $4,$6 sub $4,$6 mov $2,$4 d...
//------------------------------------------------------------------------------ /* 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 ...
/* Copyright 2021 ** Justin Baum ** MIT License ** AlgoExpert Solutions */ #include <vector> using namespace std; typedef unsigned int uint; int minNumberOfCoinsForChange(int n, vector<int> denoms) { vector<int> minways = vector(n + 1, INT_MAX - 2); minways[0] = 0; for (int denom : denoms) { for ...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1991-1995 -- All rights reserved. GEOWORKS CONFIDENTIAL PROJECT: GEOS MODULE: Kernel/Boot FILE: bootStrings.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 1/91 Initial ...
; A017366: a(n) = (10*n+8)^2. ; 64,324,784,1444,2304,3364,4624,6084,7744,9604,11664,13924,16384,19044,21904,24964,28224,31684,35344,39204,43264,47524,51984,56644,61504,66564,71824,77284,82944,88804,94864,101124,107584,114244,121104,128164,135424,142884,150544,158404,166464,174724,183184,191844,200704,209764,219024,2284...
// Copyright 2017 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 "third_party/blink/renderer/core/html/media/media_custom_controls_fullscreen_detector.h" #include "third_party/blink/public/platform/task_type.h...
#include <iostream> #include <vector> using namespace std; int binarySearchIterative(vector<int> vctr, int target) { int min = 0; int max = vctr.size() - 1; while (min < max) { int guess = (min + max) / 2; if (vctr.at(guess) == target) { return guess; }...
Worm: DB $00 DW $2649 DW WormEdges DB WormEdgesSize DB $00, $12 DB WormVertSize /6 DB WormVertSize DB WormEdgesCnt ...
; A178873: Partial sums of round(5^n/7). ; 0,1,5,23,112,558,2790,13951,69755,348773,1743862,8719308,43596540,217982701,1089913505,5449567523,27247837612,136239188058,681195940290,3405979701451,17029898507255,85149492536273,425747462681362,2128737313406808 mov $2,$0 mov $5,$0 lpb $2,1 mov $0,$5 sub $2,1 sub $0,$2...
; A024525: 1^2+prime(1)^2+prime(2)^2+...+prime(n)^2. ; 1,5,14,39,88,209,378,667,1028,1557,2398,3359,4728,6409,8258,10467,13276,16757,20478,24967,30008,35337,41578,48467,56388,65797,75998,86607,98056,109937,122706,138835,155996,174765,194086,216287,239088,263737,290306,318195,348124 lpb $0 sub $0,1 mov $2,$0 max ...
//===- Pragma.cpp - Pragma registration and handling ----------------------===// // // 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 // //===---------------------------...
/* * Copyright (c) 2017 Daniel Koch and James Jackson, BYU MAGICC Lab. * 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 n...
; Substitute for the z80 ldi instruction ; Doesn't emulate the flags correctly SECTION code_crt0_sccz80 PUBLIC __z80asm__ldi __z80asm__ldi: push af ;Save incoming flags IF __CPU_GBZ80__ ld a, (hl+) ELSE ld a, (hl) inc hl ENDIF ...
#include <fstream> #include <iostream> #include <string> #include <gtkmm.h> #include "simple_gtk_snap_app/settings.hpp" int main(int argc, char *argv[]) { std::cout << "Hello world\n"; const std::string home_path = simple_gtk_snap_app::root_directory; std::cout << home_path << std::endl; auto app = Gtk...
; QL RAM disk MDV Emulation V2.02  1985 Tony Tebby QJUMP section rd xdef rd_emul emulation check xdef rd_mdv emulate MDV include 'dev8_keys_sys' include 'dev8_keys_iod' include 'dev8_keys_hdr' include 'dev8_keys_err' inclu...
OPTION DOTNAME .text$ SEGMENT ALIGN(256) 'CODE' EXTERN OPENSSL_ia32cap_P:NEAR PUBLIC sha512_block_data_order ALIGN 16 sha512_block_data_order PROC PUBLIC mov QWORD PTR[8+rsp],rdi ;WIN64 prologue mov QWORD PTR[16+rsp],rsi mov rax,rsp $L$SEH_begin_sha512_block_data_order:: mov rdi,rcx mov rsi,rdx mov rdx,r8 ...
; A190843: [2ne]-2[ne], where [ ]=floor. ; 1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,1 mov $2,1 sub...
#note: r40 (the exception handler) and r46 (the start of usermode code) must #be specified in hex (0xwhatever) #I just don't see any reason not to, and it makes programming the script #much nicer to deal with... #load exception handler lc r40, 0x80000050 leh r40 #enable exceptions cle #load TLB ent...
/* Copyright (c) 2005-2019 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.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
; int tape_load_block(void *addr, size_t len, unsigned char type) ; CALLER linkage for function pointers XLIB tape_load_block LIB tape_load_block_callee XREF ASMDISP_TAPE_LOAD_BLOCK_CALLEE .tape_load_block pop de pop bc ld a,c pop bc pop hl push hl push bc push bc ; altered ! push de jp tape_load_bl...
Entity start No options Constants 0 S start 1 S var1 2 R 10.990000 End Valid context (always) No properties Def start No parameters Local variables 0 real var1 End No results ldconst 2 --> [10.990000] stvar 0 --> [var1] stop End End
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
#include <qttokenedit/DropIndicator.h> #include <cmath> #include <QtGui/QPaintDevice> #include <QtGui/QPainter> namespace mjendruk { void DropIndicator::draw(DropIndicatorPosition position, QRect const& rect, QBrush const& brush, QPainter* painter) const { if (position == DropIndicatorPos...
#include "core.h" #include "wbcompeldsensordamage.h" #include "wbevent.h" #include "Components/wbcomprodinknowledge.h" #include "wbcompeldtransform.h" WBCompEldSensorDamage::WBCompEldSensorDamage() { } WBCompEldSensorDamage::~WBCompEldSensorDamage() { } /*virtual*/ void WBCompEldSensorDamage::HandleEve...
#ifndef STATIC_LINK #define IMPLEMENT_API #endif #if defined(HX_WINDOWS) || defined(HX_MACOS) || defined(HX_LINUX) #define NEKO_COMPATIBLE #endif #include <hx/CFFI.h> #include "GameCenterManagerBindings.h" using namespace gamecentermanager; AutoGCRoot* gameCenterManagerEventHandle = 0; static value set_listener(va...
#include "QSchedulingTask.h" #include "QSchedulingTask_p.h" #include <QDataStream> #include <QCoreApplication> #include <QTimer> #include <QLoggingCategory> Q_LOGGING_CATEGORY(lcSchedulingTask, "QScheduler") // class QSchedulingTask QSchedulingTask::QSchedulingTask(const QString &route, QObject *parent) : QObj...
; A094013: Expansion of (1-4*x)/(1-4*x-4*x^2). ; 1,0,4,16,80,384,1856,8960,43264,208896,1008640,4870144,23515136,113541120,548225024,2647064576,12781158400,61712891904,297976201216,1438756372480,6946930294784,33542746669056,161958707855360 mov $4,2 mov $5,$0 lpb $4 mov $0,$5 sub $4,1 add $0,$4 sub $0,1 cal $...
; A291004: p-INVERT of (1,1,1,1,1,...), where p(S) = (1 - 3*S)^2. ; 6,33,168,816,3840,17664,79872,356352,1572864,6881280,29884416,128974848,553648128,2365587456,10066329600,42681237504,180388626432,760209211392,3195455668224,13400297963520,56075093016576,234195976716288,976366325465088,4063794976260096,1688849860263936...
// Copyright (c) 2013, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #include <map> #include <memory>...
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license and patent ; grant that can be found in the LICENSE file in the root of the source ; tree. All contributing project authors may be found in the AUTHORS ; file in the root of the sour...
; A270851: Number of 2X2X2 triangular 0..n arrays with some element plus some adjacent element totalling n+1, n or n-1 exactly once. ; 0,0,6,24,66,120,198,288,402,528,678,840,1026,1224,1446,1680,1938,2208,2502,2808,3138,3480,3846,4224,4626,5040,5478,5928,6402,6888,7398,7920,8466,9024,9606,10200,10818,11448,12102,12768,...
// 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.0.0 (2010/01/01) #include "PhysicsModule.h" #include "Wm5Math.h" using namespace ...
// Copyright 2016 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 "ui/views/animation/square_ink_drop_ripple.h" #include <algorithm> #include "base/logging.h" #include "ui/compositor/layer.h" #include "ui/comp...
; A161381: Triangle read by rows: T(n,k) = n!*2^k/(n-k)! (n >= 0, 0 <= k <= n). ; Submitted by Christian Krause ; 1,1,2,1,4,8,1,6,24,48,1,8,48,192,384,1,10,80,480,1920,3840,1,12,120,960,5760,23040,46080,1,14,168,1680,13440,80640,322560,645120,1,16,224,2688,26880,215040,1290240,5160960,10321920,1,18,288,4032,48384,48384...
; A169332: Number of reduced words of length n in Coxeter group on 31 generators S_i with relations (S_i)^2 = (S_i S_j)^30 = I. ; 1,31,930,27900,837000,25110000,753300000,22599000000,677970000000,20339100000000,610173000000000,18305190000000000,549155700000000000,16474671000000000000,494240130000000000000,1482720390000...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/glue/model/UpdateCrawlerRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Glue::Model; using namespace Aws::Utils::Json; using namespac...
; A022978: 22-n. ; 22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11,-12,-13,-14,-15,-16,-17,-18,-19,-20,-21,-22,-23,-24,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38 sub $1,$0 add $1,22 mov $0,$1
; ; ZX IF1 & Microdrive functions ; ; int if1_init_file (int drive, int name, struct M_CHAN buffer); ; ; This is the original BASIC structure with no added values/flags. ; ; ; Open a file for writing ; ; $Id: if1_init_file.asm,v 1.3 2016/07/01 22:08:20 dom Exp $ ; SECTION code_clib PUBLIC if1_init_file PUBLI...
[org 0x7c00] mov bx, OS_NAME call print call print_nl mov bx, AUTHOR_NAME call print call print_nl mov dx, 0x12fe call print_hex call print_nl jmp $ ; Subroutines inclusion %include "boot_sect_print.asm" %include "boot_sect_print_hex.asm" ; Data Segment OS_NAME: db 'TindaOS', 0 AUTHOR_NAME: db 'Mukesh Chau...
//------------------------------------------------------------------------------ // NKUI.cc //------------------------------------------------------------------------------ #include "Pre.h" #include "NKUI.h" #include "Core/Assertion.h" #include "Core/Memory/Memory.h" namespace Oryol { NKUI::_state* NKUI::state = nul...
; A112751: Number of numbers less than or equal to n of the form 3^i*5^j. ; 1,1,2,2,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10 mov $2,$0 mov $4,$0 add $4,1 lpb...
; A228261: Number of third differences of arrays of length 5 of numbers in 0..n. ; 31,143,319,565,881,1267,1723,2249,2845,3511,4247,5053,5929,6875,7891,8977,10133,11359,12655,14021,15457,16963,18539,20185,21901,23687,25543,27469,29465,31531,33667,35873,38149,40495,42911,45397,47953,50579,53275,56041,58877,61783,64759,6...
; A128134: A128132 * A007318. ; Submitted by Jon Maiga ; 1,1,2,2,5,3,3,10,11,4,4,17,27,19,5,5,26,54,56,29,6,6,37,95,130,100,41,7,7,50,153,260,265,162,55,8,8,65,231,469,595,483,245,71,9,9,82,332,784,1190,1204,812,352,89,10 lpb $0 add $2,1 sub $0,$2 add $1,1 lpe bin $1,$0 sub $0,1 mul $1,$2 sub $2,1 bin $2,$0 add ...
age: db 0 amount_of_wood: dl 0 amount_of_food: dl 0 amount_of_gold: dl 0 amount_of_stone: dl 0 amount_of_people: dl 3 amount_of_max_people: dl 10 amount_of_buildings: db 0 map_data_ptr: dl 0 scheduling_events: rb MAX_AMOUNT_PEOPLE * 2 * EVENT.size amount_of_events: db 0 temp_unit_data: db 0 db 0 building...
.xlist include grep.mac include grep.hm include word.inc ifdef OPUS externFP <AnsiUpper> externFP <AnsiLower> externFP <FUpper> externFP <FLower> createSeg docman2_PCODE,CODE,byte,public,CODE else externNC ChUpper externNC ChLower externNC isupper externNC islower endif .list ;-----------------------------...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Calendar/Alarm FILE: alarmReminder.asm AUTHOR: Don Reeves, August 23, 1990 ROUTINES: Name Description ---- ----------- AlarmCheckActive ...
// 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 in writing, software // distributed ...
; A145677: Triangle T(n,m) read by rows: T(n,0) =1; T(n,n) =n, n>0; T(n,k) =0, 0<k<n-1 . ; 1,1,1,1,0,2,1,0,0,3,1,0,0,0,4,1,0,0,0,0,5,1,0,0,0,0,0,6,1,0,0,0,0,0,0,7,1,0,0,0,0,0,0,0,8,1,0,0,0,0,0,0,0,0,9,1,0,0,0,0,0,0,0,0,0,10,1,0,0,0,0,0,0,0,0,0,0,11 sub $0,1 cal $0,128229 ; A natural number transform, inverse of signed...
#ifndef word_db_hh_INCLUDED #define word_db_hh_INCLUDED #include "buffer.hh" #include "shared_string.hh" #include "hash_map.hh" #include "vector.hh" #include "ranked_match.hh" namespace Kakoune { using RankedMatchList = Vector<RankedMatch>; // maintain a database of words available in a buffer class WordDB : public...
; A164541: a(n) = 6*a(n-1) - a(n-2) for n > 1; a(0) = 1, a(1) = 15. ; 1,15,89,519,3025,17631,102761,598935,3490849,20346159,118586105,691170471,4028436721,23479449855,136848262409,797610124599,4648812485185,27095264786511,157922776233881,920441392616775,5364725579466769 mul $0,2 lpb $0 sub $0,1 add $1,1 mov $2,$...
; A008610: Molien series of 4-dimensional representation of cyclic group of order 4 over GF(2) (not Cohen-Macaulay). ; 1,1,3,5,10,14,22,30,43,55,73,91,116,140,172,204,245,285,335,385,446,506,578,650,735,819,917,1015,1128,1240,1368,1496,1641,1785,1947,2109,2290,2470,2670,2870,3091,3311,3553,3795,4060,4324,4612,4900,5213...
; =============================================================== ; Apr 2014 ; =============================================================== ; ; void heap_info_unlocked(void *heap, void *callback) ; ; Visit each block in the heap and pass information about ; the block to the callback function. ; ; =================...
; A247309: Rectangular array read upwards by columns: T = T(n,k) = number of paths from (0,1) to (n,k), where 0 <= k <= 2, consisting of segments given by the vectors (1,1), (1,0), (1,-1), (1,-2). ; 1,0,0,1,1,1,2,3,3,5,8,8,13,21,21,34,55,55,89,144,144,233,377,377,610,987,987,1597,2584,2584,4181,6765,6765,10946,17711,17...
// 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 "chrome/browser/ui/views/desktop_media_picker_views_deprecated.h" #include <utility> #include "base/bind.h" #include "base/run_loop.h" #include...
; A306279: Numbers congruent to 3 or 18 mod 22. ; 3,18,25,40,47,62,69,84,91,106,113,128,135,150,157,172,179,194,201,216,223,238,245,260,267,282,289,304,311,326,333,348,355,370,377,392,399,414,421,436,443,458,465,480,487,502,509,524,531,546,553,568 mov $1,32 add $1,$0 div $0,2 mul $0,8 mul $1,15 sub $1,$0 sub $1,477
; A100637: Trisection of A000720. ; 2,3,4,5,6,7,8,9,9,10,11,11,12,13,14,15,15,16,16,17,18,18,19,20,21,21,22,23,23,24,24,24,25,26,27,28,29,30,30,30,30,30,31,32,32,33,34,34,34,35,36,36,37,37,38,39,39,40,40,41,42,42,42,43,44,45,46,46,46,46,47,47,47,47,48,49,50,51,51,52,53,53,53,54,54,55,55,56,56,57,58,58,59,60,61,61,61,62...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; MathLShiftS64.nasm ; ; Abstract: ; ; 64-bit Math Worker Function. ; Shifts a 64-bit si...
#include <mapnik/version.hpp> #include <mapnik/map.hpp> #include <mapnik/layer.hpp> #include <mapnik/datasource.hpp> #include <mapnik/color.hpp> #include <mapnik/image_util.hpp> #include <mapnik/agg_renderer.hpp> #include <mapnik/load_map.hpp> #include <mapnik/datasource_cache.hpp> #include <mapnik/projection.hpp> #inc...
; int fzx_puts_callee(struct fzx_state *fs, char *s) SECTION code_font_fzx PUBLIC _fzx_puts_callee, l0_fzx_puts_callee EXTERN l_neg_hl, asm_fzx_puts _fzx_puts_callee: pop af pop ix pop de push af l0_fzx_puts_callee: call asm_fzx_puts ret nc jp l_neg_hl
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2008, 2009 Jose Aparicio Copyright (C) 2008 Chris Kenyon Copyright (C) 2008 Roland Lichters Copyright (C) 2008 StatPro Italia srl This file is part of QuantLib, a free-software/open-source library for financial quan...
; A041851: Denominators of continued fraction convergents to sqrt(447). ; Submitted by Jon Maiga ; 1,7,295,2072,87319,613305,25846129,181536208,7650366865,53734104263,2264482745911,15905113325640,670279242422791,4707859810285177,198400391274400225,1393510598731086752,58725845537980043809,412474429364591393415,173826518...
; A050605: Column/row 2 of A050602: a(n) = add3c(n,2). ; 0,0,1,1,0,0,2,2,0,0,1,1,0,0,3,3,0,0,1,1,0,0,2,2,0,0,1,1,0,0,4,4,0,0,1,1,0,0,2,2,0,0,1,1,0,0,3,3,0,0,1,1,0,0,2,2,0,0,1,1,0,0,5,5,0,0,1,1,0,0,2,2,0,0,1,1,0,0,3,3,0,0,1,1,0,0,2,2,0,0,1,1,0,0,4,4,0,0,1,1 div $0,2 add $0,1 lpb $0 dif $0,2 add $1,1 lpe mov $0,$1
//================================================================================================= /*! // \file src/mathtest/smatdmatsub/DCbLDb.cpp // \brief Source file for the DCbLDb sparse matrix/dense matrix subtraction math test // // Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved // // This fi...
/* * Copyright (c) 2018 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //General-purpose I/O ports namespace GpioPfr0{ ///<Port function setting register 0 using Addr = Register::Address<0x40033000,0xffff7fe0,0x00000000,unsigned>; ///Bit15 of PFR0 constexpr Register::FieldLocation<Addr,Register...
////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2016-22, Lawrence Livermore National Security, LLC and Umpire // project contributors. See the COPYRIGHT file for details. // // SPDX-License-Identifier: (MIT) ////////////////////////////////////////////////////////////////...
# 2019CS10399 Sayam Sethi # 2019CS50440 Mallika Prabhakar # ----------------------ASSIGNMENT 2--------------------------- .text .globl main # setting and loading initial values along with handling base case main: jal readFile # reads file move $s0, $v0 # file descriptor is stored in s0 register lw $s1, MA...
.byte $01 ; Unknown purpose .byte OBJ_BUSTERBEATLE, $0C, $18 .byte OBJ_BUSTERBEATLE, $0F, $18 .byte OBJ_BUSTERBEATLE, $1E, $18 .byte OBJ_BUSTERBEATLE, $26, $18 .byte OBJ_BUSTERBEATLE, $37, $14 .byte OBJ_BUSTERBEATLE, $3B, $14 .byte OBJ_GREENTROOPA, $4A, $18 .byte OBJ_BUSTERBEATLE, $50, $18 .byte OBJ_NIPPER, ...
; A136761: a(n) = leading digit of n! in base 11. ; 1,1,2,6,2,10,5,3,2,2,2,2,2,2,3,4,6,10,1,2,4,9,1,3,7,1,3,9,2,5,1,3,1,3,9,2,9,2,9,3,1,3,1,5,1,7,2,1,4,1,9,3,1,7,3,1,8,3,1,9,4,2,1,7,3,2,1,6,3,2,1,8,4,2,1,1,7,4,3,2,1,10,6,4,3,2,1,1,9,6,5,3,2,2,1,1,1,9,7,6 seq $0,142 ; Factorial numbers: n! = 1*2*3*4*...*n (order of sym...
_CeruleanCityText_19668:: text "<RIVAL>: Yo!" line "<PLAYER>!" para "You're still" line "struggling along" cont "back here?" para "I'm doing great!" line "I caught a bunch" cont "of strong and" cont "smart #MON!" para "Here, let me see" line "what you caught," cont "<PLAYER>!" done _CeruleanCityText_19...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1994 -- All Rights Reserved PROJECT: PC GEOS MODULE: UserInterface/Gen FILE: genAppAttDet.asm ROUTINES: Name Description ---- ----------- GLB GenApplicationClass Class that implements an appl...