text stringlengths 1 1.05M |
|---|
; A183767: 1/32 the number of (n+1) X 5 binary arrays with equal numbers of 2 X 2 subblocks with sum mod two being 0 and 1.
; Submitted by Jamie Morken(s4)
; 12,280,7392,205920,5912192,173065984,5134924800,153876579840,4646469273600,141154845511680,4309194677698560,132086184685977600,4062564621910867968,125316146802859... |
// dear imgui: Platform Binding for GLFW
// This needs to be used along with a Renderer (e.g. OpenGL3, Vulkan..)
// (Info: GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.)
// (Requires: GLFW 3.1+)
// Implemented features:
// [X] Platform: Cl... |
.importonce
//
// Copyright (c) 2002 - 2005 Magnus Lind.
//
// 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 for any purpose,... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2020 The Pesium Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <rpc/client.h>
#include <rpc... |
; A279054: Largest integer m for which binomial(m,n-1) > binomial(m-1,n).
; 1,4,7,9,12,14,17,20,22,25,28,30,33,35,38,41,43,46,49,51,54,56,59,62,64,67,69,72,75,77,80,83,85,88,90,93,96,98,101,103,106,109,111,114,117,119,122,124,127,130,132,135,138,140,143,145,148,151,153,156,158,161,164,166,169,172,174,177,179,182,185,18... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x4390, %r11
nop
nop
nop
nop
nop
add %r10, %r10
movb $0x61, (%r11)
nop
nop
nop
add $27618, %rdx
lea addresses_UC_ht+0x1e358, %rax
nop
nop
nop
nop
xor $45087, %rcx
mov... |
;******************************************************************************
;******************************************************************************
;
; The almost completely commented C64 ROM disassembly. V1.01 Lee Davison 2012
;
;**************************************************************************... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rbx
push %rcx
push %rsi
lea addresses_D_ht+0x7469, %r13
nop
nop
nop
nop
nop
cmp %r9, %r9
mov (%r13), %rcx
nop
nop
add $53273, %rsi
lea addresses_D_ht+0xb249, %r10
nop
nop
nop
add $11648, %rbx
mov $0x6162636465666768, %r13
movq %r13, %xmm6
v... |
org 0x7c00
bits 16
sizeof_level equ 36 ; size of level in bytes
levels_count equ (levels_end-levels)/sizeof_level
green equ 2
red equ 4
yellow equ 14
start:
; Setup registers and segments
xor ax, ax
mov ds, ax
mov ss, ax
; Setup stack
mov sp, 0x7c00
mov bp, sp
; Set up videomode (ah is 0x00 due to xor)
... |
#include "../../flame32.asm"
; Tests CAL
TEST_DEST = 0x050000
cal TEST_DEST
; P = 0x050000
; STACK = 0x000008
|
;------------------------------------------------------------------------------
;*
;* Copyright 2006, Intel Corporation
;* All rights reserved. This program and the accompanying materials
;* are licensed and made available unde... |
/*
* Copyright (c) 2020 Pedro Falcato
* This file is part of Onyx, and is released under the terms of the MIT License
* check LICENSE at the root directory for more information
*/
#include <unistd.h>
#include <stdio.h>
#include <cstdlib>
#include <test/libtest.h>
#include <sys/syscall.h>
#include <sys/wait.h>
#inc... |
#include <Common/config.h>
#if USE_AWS_S3
# include <IO/S3Common.h>
# include <IO/WriteBufferFromString.h>
# include <Storages/StorageS3Settings.h>
# include <aws/core/Version.h>
# include <aws/core/auth/AWSCredentialsProvider.h>
# include <aws/core/auth/AWSCredentialsProviderChain.h>
# include ... |
/* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2011, ITU/ISO/IEC
* All rights reser... |
Name: zel_data0.asm
Type: file
Size: 136369
Last-Modified: '2016-05-13T04:25:37Z'
SHA-1: EF70AE68D593B6B0697A488FA4D842CE8D75715E
Description: null
|
#a1: x, a2:y, a3: color
draw_pixel:
#werte auf stack speichern
addi sp, sp, -20
sw s0, 0(sp) #für relative position & später finale position
sw s1, 4(sp) #zum zwischenspeichern der display_adresse
sw a1, 8(sp)
sw a2, 12(sp)
sw a3, 16(sp)
#richtige zeile ermitteln
li s0, DISPLAY_WIDTH
mul s0, a2, s0
#stelle... |
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "digitalclock.h"
#include "settingmanager.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow) {
ui->setupUi(this);
ui->changeTimeFormatBtn->setCheckable(true);
this->clock = new DigitalClock(this);
clock->init... |
/**
* @filename : imagedata.cpp
* @brief : data file for epd demo
*
* Copyright (C) Waveshare July 7 2017
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documnetation files (the "Software"), to deal
* in the Software without r... |
/*
____ ____ ___ ____ ____ ____ ___
6MMMMb `MM( )M' `MM' 6MMMMb\`MM( )M'
8P Y8 `MM. d' MM 6M' ` `MM. d'
6M Mb __ ____ ____ ___ __ `MM. d' MM MM ... |
; **************************************************
; PSGlib - C programming library for the SEGA PSG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
INCLUDE "PSGlib_private.inc"
SECTION code_clib
SECTION code_PSGlib
PUBLIC asm_PSGlib_SFXCancelLoop
EXTERN _... |
; =============================================================================
; BareMetal -- a 64-bit OS written in Assembly for x86-64 systems
; Copyright (C) 2008-2010 Return Infinity -- see LICENSE.TXT
;
; INIT_64
; =============================================================================
align 16
db ... |
; A340266: The number of degrees of freedom in a quadrilateral cell for a serendipity finite element space of order n.
; 4,8,12,17,23,30,38,47,57,68,80,93,107,122,138,155,173,192,212,233,255,278,302,327,353,380,408,437,467,498,530,563,597,632,668,705,743,782,822,863,905,948,992,1037,1083,1130,1178,1227,1277
mov $2,$0
... |
#include "stdafx.h"
ImportManager::ImportManager(QWidget* parent) : QMainWindow(parent) {
ui.setupUi(this);
setAttribute(Qt::WA_DeleteOnClose);
ui.treeWidget->setFocus();
ui.treeWidget->installEventFilter(this);
ui.treeWidget->header()->resizeSection(0, 220);
connect(ui.treeWidget, &QTreeWidget::customContextMe... |
.MODEL Small
.STACK 100h
.DATA
INCLUDE text.asm
INCLUDE sound.asm
INCLUDE types.asm
INCLUDE config.asm
buffer DW ? ; Multipurpose buffer for working with temporary data
;============================
; Snake
;============================
snakeLength DW defaultSnakeLength
... |
Name: ys_w59.asm
Type: file
Size: 14187
Last-Modified: '2016-05-13T04:50:34Z'
SHA-1: AD3A5C6D41BF5ED5993E057CFA3C4032C4430B05
Description: null
|
;Convert a 16-bit binary value (assumed to be an unsigned integer) to bcd and
;display it from left to right and right to left for specified number of times
;on a 7-segment display interface
.model small
initds macro
mov ax,@data
mov ds,ax
endm
init8255 macro
mov al,cw
mov dx,cr
out dx,al
endm
... |
;;
;; Copyright (c) 2019-2022, 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... |
; A103201: a(1) = 11, a(2) = 19, a(3) = 89, a(4) = 151; for n >= 5, a(n) = sqrt(a(n-4)^2 + 60*a(n-2)^2 + 4*a(n-2)*sqrt(210 + 15*a(n-4)^2)).
; Submitted by Simon Strandgaard
; 11,19,89,151,701,1189,5519,9361,43451,73699,342089,580231,2693261,4568149,21203999,35964961,166938731,283151539,1314305849,2229247351,10347508061... |
/*
* Software License Agreement (New BSD License)
*
* Copyright 2020 National Council of Research of Italy (CNR)
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redist... |
; A213399: Number of (w,x,y) with all terms in {0,...,n} and max(|w-x|,|x-y|) = x.
; 1,4,14,23,43,58,88,109,149,176,226,259,319,358,428,473,553,604,694,751,851,914,1024,1093,1213,1288,1418,1499,1639,1726,1876,1969,2129,2228,2398,2503,2683,2794,2984,3101,3301,3424,3634,3763,3983,4118,4348,4489,4729,4876,5126,5279,5539,5... |
.pseudopc $df02 {
/*
** LOAD emulation (vector)
*/
VECTOR_LOAD:
// save REGS
sta $93
// stx $c3 - already done before calling
// sty $c4 - already done before calling
jsr copy_filename
jmp DO_LOAD
/*
** CHRIN emulation (vector)
*/
VECTOR_CHRIN:
jsr ENABLE_CRT
jmp DO_CHRIN
/*
** Variables
... |
include asm.inc
extrn __newgroup:far
text__vec SEGMENT para public 'CODE'
ASSUME cs:text__vec
.386
PUBLIC _lightshift
_lightshift db 0
PUBLIC _csetmatrix
_csetmatrix PROC FAR
CBEG
LOADDS
mov eax,[bp+10]
mov ds:xadd,eax
mov eax,[bp+14]
mov ds:yadd,eax
mov eax,[bp+18]
mov ds:zadd,ea... |
#include "r_archive.h"
#include <vector>
using namespace cpp11::literals;
[[cpp11::register]] cpp11::sexp
archive_(cpp11::sexp connection, cpp11::strings options) {
local_utf8_locale ll;
std::vector<std::string> paths;
std::vector<__LA_INT64_T> sizes;
std::vector<time_t> dates;
struct archive* a;
stru... |
TITLE My First Program (test.asm)
INCLUDE Irvine32.inc
.data
x1 dword 10
x2 dword 20
.code
hello PROC, var1:dword, var2:dword
mov eax, 0
mov ebx, 0
mov eax, var1
mov ebx, var2
call dumpregs
ret
hello ENDP
main PROC
push 10
push 20
call hello
exit
main ENDP
END main |
; A008837: a(n) = p*(p-1)/2 for p = prime(n).
; Submitted by Jamie Morken(w2)
; 1,3,10,21,55,78,136,171,253,406,465,666,820,903,1081,1378,1711,1830,2211,2485,2628,3081,3403,3916,4656,5050,5253,5671,5886,6328,8001,8515,9316,9591,11026,11325,12246,13203,13861,14878,15931,16290,18145,18528,19306,19701,22155,24753,25651,26... |
// Copyright 2018 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/css/properties/longhands/text_decoration_skip_ink.h"
#include "third_party/blink/renderer/core/css/properties/c... |
; $Id: bit_synth.asm $
;
; void bit_synth(int duration, int frequency1, int frequency2, int frequency3, int frequency4);
;
; Generic platform sound library.
; synthetizer - this is a sort of "quad sound" routine.
; It is based on 4 separate counters and a delay.
; Depending on the parameters being passed it is able to ... |
;
; $Id: 0x3f_TODO.asm,v 1.1.1.1 2016/03/27 08:40:13 raptor Exp $
;
; 0x3f explanation - from xchg rax,rax by xorpd@xorpd.net
; Copyright (c) 2016 Marco Ivaldi <raptor@0xdeadbeef.info>
;
; TODO: THIS EXPLANATION IS INCOMPLETE
;
; Whoa, this is the last snippet of the book! Thanks to
; xorpd@xorpd.net for the amazing ri... |
#include <boost/assert.hpp>
#include <boost/assign/list_of.hpp>
#include <boost/assign/list_inserter.hpp>
#include <boost/assign/std/vector.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/foreach.hpp>
#include "../main.h"
#include "../script.h"
#include "../wallet.h"
using namespace std;
// Test routines in... |
; Copyright 2019 IBM 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 agreed to in writi... |
; A047524: Numbers that are congruent to {2, 7} mod 8.
; 2,7,10,15,18,23,26,31,34,39,42,47,50,55,58,63,66,71,74,79,82,87,90,95,98,103,106,111,114,119,122,127,130,135,138,143,146,151,154,159,162,167,170,175,178,183,186,191,194,199,202,207,210,215,218,223,226,231,234,239,242,247,250,255,258,263,266,271,274,279,282,287,29... |
DSEG SEGMENT PARA PUBLIC'DSEG'
M DB 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19
P DB 20 DUP(?)
N DB 20 DUP(?)
DSEG ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DSEG
START: MOV AX,DSEG
MOV DS,AX
LEA SI,P
LEA DI,N
LEA BX,M
XOR AX,AX
... |
; A204185: Number of quadrilaterals in a triangular matchstick arrangement of side n.
; 0,0,6,33,102,243,492,894,1500,2370,3570,5175,7266,9933,13272,17388,22392,28404,35550,43965,53790,65175,78276,93258,110292,129558,151242,175539,202650,232785,266160,303000,343536,388008,436662,489753,547542,610299,678300,751830,83118... |
;; clockSupported [Time]
;; Returns whether the clock is supported.
;; Outputs:
;; A: Preserved on success; error code on failure
;; Z: Set when the clock is supported; reset otherwise
clockSupported:
#ifdef CLOCK
cp a ; set Z
#else
or 1 ; reset Z
ld a, errUnsupported
#endif
ret
;; setClock [Ti... |
// Copyright 2010-2021, Google 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... |
; A193576: T(n)^3+n^3 where T(n) is a triangular number.
; Submitted by Jon Maiga
; 2,35,243,1064,3500,9477,22295,47168,91854,167375,288827,476280,755768,1160369,1731375,2519552,3586490,5006043,6865859,9269000,12335652,16204925,21036743,27013824,34343750,43261127,54029835,66945368,82337264,100571625,122053727,147230720... |
; A133897: Numbers m such that binomial(m+7,m) mod 7 = 0.
; 42,43,44,45,46,47,48,91,92,93,94,95,96,97,140,141,142,143,144,145,146,189,190,191,192,193,194,195,238,239,240,241,242,243,244,287,288,289,290,291,292,293,336,337,338,339,340,341,342,385,386,387,388,389,390
mov $1,7
mov $3,$0
mod $0,7
sub $1,$0
mul $1,6
mov $2... |
/* ###
* IP: GHIDRA
*
* 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 writin... |
; A065515: Number of prime powers <= n.
; 1,2,3,4,5,5,6,7,8,8,9,9,10,10,10,11,12,12,13,13,13,13,14,14,15,15,16,16,17,17,18,19,19,19,19,19,20,20,20,20,21,21,22,22,22,22,23,23,24,24,24,24,25,25,25,25,25,25,26,26,27,27,27,28,28,28,29,29,29,29,30,30,31,31,31,31,31,31,32,32,33,33,34,34,34,34,34,34,35,35,35,35,35,35,35,35,36... |
//===- ModuleTranslation.cpp - MLIR to LLVM conversion --------------------===//
//
// Copyright 2019 The MLIR Authors.
//
// 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.... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; FxRestore.Asm
;
; Abstract:
;
; AsmFxRestore function
;
; Notes:
;
;--------------------------------... |
; A004642: Powers of 2 written in base 3.
; 1,2,11,22,121,1012,2101,11202,100111,200222,1101221,2210212,12121201,102020102,211110211,1122221122,10022220021,20122210112,111022121001,222122012002,1222021101011,10221112202022,21220002111121,120210012000012,1011120101000101,2100010202000202,11200021111001111,10010011222200... |
; int mtx_timedlock(mtx_t *m, struct timespec *ts)
SECTION code_clib
SECTION code_threads_mutex
PUBLIC _mtx_timedlock
EXTERN asm_mtx_timedlock
_mtx_timedlock:
pop af
pop hl
pop bc
push bc
push hl
push af
jp asm_mtx_timedlock
|
;
; System Call for REX6000
;
; ported from Rix Myles' SDK
; Unfortunately, I've found no other way to rewrite the
; function for the emulator. Daniel
;
; $Id: DsPrintfe.asm,v 1.4 2017-01-03 00:11:31 aralbrec Exp $
PUBLIC DsPrintfe
PUBLIC _DsPrintfe
.DsPrintfe
._DsPrintfe
call saveRegAlloc
... |
; A117625: Maximum number of regions defined by n zigzag-lines in the plane when a zigzag-line is defined as consisting of two parallel infinite half-lines joined by a straight line segment.
; 1,2,12,31,59,96,142,197,261,334,416,507,607,716,834,961,1097,1242,1396,1559,1731,1912,2102,2301,2509,2726,2952,3187,3431,3684,3... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1d4b6, %rdi
xor %r8, %r8
mov $0x6162636465666768, %rbp
movq %rbp, %xmm2
vmovups %ymm2, (%rdi)
nop
cmp $25580, %rax
lea addresses_D_ht+0xc916, %r15
nop
xor $51036, %r... |
#Demonstrates a decision structure
#Run and look at the $t2, $t3 and $t4 registers
.text
li $t0, 9 #Loads 9 into $t0
li $t1, 9 #Loads 9 into $t1
bgt $t0, $t1, path1
blt $t0, $t1, path2
addi $t4, $t4, 1 #Adds 1 to $t4
j done
path1:
addi $t2, $t2, 1 #Adds 1 to $t2
j done
path2:
addi $t3, $t3, 1 ... |
/*++
Copyright (c) 2001, Microsoft Corporation
Module Name:
tmgrevcb.cpp
Abstract:
This file implements the CInputContextOwnerCallBack Class.
Author:
Revision History:
Notes:
--*/
#include "private.h"
#include "tmgrevcb.h"
#include "imc.h"
#include "tls.h"
#include "cic.h"
#... |
// Copyright (c) 2014-2016 The Dash developers
//Copyright (c) 2016-2020 The PIVX developers
//Copyright (c) 2020 The remita developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "messagesigne... |
/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/private/SkColorData.h"
#include "include/private/SkTemplates.h"
#include "src/core/SkAutoMalloc.h"
#include "src/core/SkDistanceFieldGen.h"
#include "src/cor... |
// local includes
#include "k273/json.h"
#include "k273/strutils.h"
#include "k273/exception.h"
#include <json/json.h>
#include <json/reader.h>
#include <memory>
#include <string>
using namespace K273;
///////////////////////////////////////////////////////////////////////////////
struct JsonValue::Data {
Data... |
; A246016: a(n) = (-1)^A055941(n).
; 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,-1,1
lpb $0
dif $0,4
lpe
seq $0,191106 ; Increasing sequence generated by t... |
LDA 20F0
MOV B,A
LXI H,20F1
MVI A,00H
zone : ADD M
INX H
DCR B
JNZ zone
STA 20FFH
RST 1 |
// 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 "chromeos/network/network_state.h"
#include <stddef.h>
#include <memory>
#include "base/strings/string_number_conversions.h"
#include "bas... |
//
// Stage select-related hacks.
//
// Go straight to stage select instead of the intro stage.
{savepc}
{reorg $009A1F}
bra $009A3D
{loadpc}
// Set the game state to the intro stage when entering stage select, so that
// all bosses' icons appear active.
{savepc}
{reorg $00C23E}
jsl stage_select... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; InterlockedCompareExchange32.Asm
;
; Abstract:
;
; InterlockedCompareExchange32 function
;
; ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x12678, %rsi
lea addresses_UC_ht+0x2da7, %rdi
nop
nop
nop
nop
nop
dec %r12
mov $11, %rcx
rep movsl
nop
xor $27970, %rdi
lea addresses_UC_ht+0xdda7, %r14
nop
nop
nop
nop
xor $7... |
; $Id: bit_open.asm,v 1.4 2016/06/16 20:23:52 dom Exp $
;
; Philips P2000 1 bit sound functions
;
; TRS-80 1 bit sound functions
;
; void bit_open();
;
; Stefano Bodrato - Apr 2014
;
SECTION code_clib
PUBLIC bit_open
PUBLIC _bit_open
EXTERN __snd_tick
.bit_open
._bit_open
ld a,... |
#ifndef MAXMINFINDALL_H
#define MAXMINFINDALL_H
#include <Template/IVecT.hpp>
#include <Template/VecT.hpp>
#include "MaxMinFind.hpp"
namespace EnjoLib
{
template <class T>
class MaxMinFindAll
{
public:
MaxMinFindAll(const IVecT<T> & data, int surrounding = 1)
: m_surrounding(surrounding)
... |
; A107347: Number of even semiprimes strictly between prime(n) and 2*prime(n).
; 0,1,1,1,1,2,2,3,3,3,4,4,4,5,5,6,6,7,7,8,9,9,9,9,9,10,11,11,12,13,12,13,13,14,13,14,15,15,15,16,16,17,18,19,19,20,19,18,18,19,20,21,22,23,23,23,24,25,25,25,26,27,26,27,28,28,28,28,28,29,30,30,30,31,32,32,32,32,32,33,34,35,35,36,37,38,38,38,... |
; pasmo --tapbas bit_7_a.asm bit_7_a.tap
ORG 50000
LD A,2 ; upper screen
CALL 5633 ; open channel
LD B,255 ; Loop 256 A possible values
LD D,0 ; Start with "A" == 0
; DE will be loaded into AF
LOOP2... |
; A103882: a(n) = Sum_{i=0..n} C(n+1,i)*C(n-1,i-1)*C(2n-i,n).
; Submitted by Jon Maiga
; 1,2,12,92,780,7002,65226,623576,6077196,60110030,601585512,6078578508,61908797418,634756203018,6545498596110,67830161708592,705951252118284,7375213677918294,77310179609631564,812839595630249540,8569327862277434280,90562666977432643... |
; float __fsmul (float left, float right)
SECTION code_clib
SECTION code_math
PUBLIC cm32_sccz80_fsmul
EXTERN m32_fsmul
; multiply two sccz80 floats
;
; enter : stack = sccz80_float left, ret
; DEHL = sccz80_float right
;
; exit : DEHL = sccz80_float(left*right)
;
; uses ... |
#include "effectforbidrecover.hpp"
#include "obj/character/character.h"
EffectForbidRecover::EffectForbidRecover()
: m_effect_time(0)
{
}
EffectForbidRecover::EffectForbidRecover(ObjID deliverer, UInt16 skill, int effect_time, char product_level, char product_method)
: EffectBase(deliverer, skill, product_method,... |
lda {m2}
sta {m1}
lda {m2}+1
sta {m1}+1
lda {m2}+2
sta {m1}+2
lda {m2}+3
sta {m1}+3
cpx #0
beq !e+
!:
asl {m1}
rol {m1}+1
rol {m1}+2
rol {m1}+3
dex
bne !-
!e:
|
; A220658: Irregular table, where the n-th row consists of A084558(n)+1 copies of n.
; 0,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,... |
; A346303: Positions of words in A076478 that start with 0 and end with 0.
; Submitted by Simon Strandgaard
; 1,3,7,9,15,17,19,21,31,33,35,37,39,41,43,45,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,127,129,131,133,135,137,139,141,143,145,147,149,151,153,155,157,159,161,163,165,167,169,171,173,175,177,179
mov $1,1
... |
; A053298: Partial sums of A027964.
; 1,8,34,107,281,654,1397,2801,5353,9859,17643,30869,53062,89951,150833,250780,414210,680665,1114160,1818310,2960806,4813018,7814074,12674542,20544191,33283434,53902532,87272241,141273663,228658744,370060623,598864479,969088727,1568137061,2537431693,4105798635,6643486220,10749568905,... |
landmark: MACRO
; x, y, name
db \1 + 8, \2 + 16
dw \3
ENDM
Landmarks:
; entries correspond to constants/landmark_constants.asm
dbbw 0, 0, SpecialMapName
landmark 20, 124, TwinleafTownName
landmark 24, 116, Route201Name
landmark 12, 116, LakeVerityName
landmark 36, 116, SandgemTownName
landmark 36,... |
; A168099: a(n) = number of natural numbers m such that n - 9 <= m <= n + 9.
; 9,10,11,12,13,14,15,16,17,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19
mov $1,$0
trn $0,10
su... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args="which, who"/>
<%docstring>
Invokes the syscall getpriority. See 'man 2 getpriority' for more information.
Arguments:
which(priority_which_t): which
who(id_t): who
</%docstring>
${syscall('SYS_getpriority', which, who)}
|
ShowPokedexMenu:
call GBPalWhiteOut
call ClearScreen
call UpdateSprites
ld a, [wListScrollOffset]
push af
xor a
ld [wCurrentMenuItem], a
ld [wListScrollOffset], a
ld [wLastMenuItem], a
inc a
ld [wd11e], a
ld [hJoy7], a
.setUpGraphics
ld b, SET_PAL_GENERIC
call RunPaletteCommand
callab LoadPokedexTilePatt... |
; A166667: Totally multiplicative sequence with a(p) = 9p+1 for prime p.
; Submitted by Jamie Morken(s4)
; 1,19,28,361,46,532,64,6859,784,874,100,10108,118,1216,1288,130321,154,14896,172,16606,1792,1900,208,192052,2116,2242,21952,23104,262,24472,280,2476099,2800,2926,2944,283024,334,3268,3304,315514,370,34048,388,36100... |
// clang++ ../LoopScheduler/*.cpp combined_test.cpp -o Build/combined_test --std=c++20 -pthread && ./Build/combined_test
#include "../LoopScheduler/LoopScheduler.h"
#include <chrono>
#include <exception>
#include <iostream>
#include <map>
#include <mutex>
#include <random>
#include <stdexcept>
#include <string>
#incl... |
Total: 816.20MB
ROUTINE ======================== main.(*Graph).buildAdjList
371.64MB 371.64MB (flat, cum) 45.53% of Total
. . 10ca200: MOVQ GS:0x30, CX ;graph.go:101
. . 10ca209: LEAQ -0x60(SP), AX
. . 10ca20e: CMPQ 0x10(CX), AX
... |
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Publi... |
; A195540: Hypotenuses of primitive Pythagorean triples in A195538 and A195539.
; 13,37,433,1261,14701,42841,499393,1455337,16964653,49438621,576298801,1679457781,19577194573,57052125937,665048316673,1938092824081,22592065572301,65838103892821,767465181141553,2236557439531837,26071224093240493
mov $2,$0
add $2,2
mov $... |
; =============================================================================
; Pure64 -- a 64-bit OS/software loader written in Assembly for x86-64 systems
; Copyright (C) 2008-2020 Return Infinity -- see LICENSE.TXT
;
; INIT ACPI(Advanced Configuration and Power Interface)
; ========================================... |
; A154964: a(n) = 3*a(n-1) + 6*a(n-2), n>2, a(0)=1, a(1)=1, a(2)=5.
; Submitted by Christian Krause
; 1,1,5,21,93,405,1773,7749,33885,148149,647757,2832165,12383037,54142101,236724525,1035026181,4525425693,19786434165,86511856653,378254174949,1653833664765,7231026043989,31616080120557,138234396625605,604399670600157,26... |
; A289280: a(n) = least integer k > n such that any prime factor of k is also a prime factor of n.
; Submitted by Jamie Morken(s3)
; 4,9,8,25,8,49,16,27,16,121,16,169,16,25,32,289,24,361,25,27,32,529,27,125,32,81,32,841,32,961,64,81,64,49,48,1369,64,81,50,1681,48,1849,64,75,64,2209,54,343,64,81,64,2809,64,121,64,81,64,... |
#include "hittable_list.hpp"
#include <utility>
auto hittable_list::clear() -> void
{
m_objects.clear();
}
auto hittable_list::add(std::unique_ptr<hittable> object) -> void
{
m_objects.push_back(std::move(object));
}
auto hittable_list::hit(ray const& r, double const t_min, double const t_max, hit_record& r... |
;
; ANSI Video handling for the Amstrad CPC
;
; BEL - chr(7) Beep it out
;
;
; Stefano Bodrato - Jul. 2004
;
;
; $Id: f_ansi_bel.asm,v 1.6 2016-06-12 16:06:42 dom Exp $
;
SECTION code_clib
PUBLIC ansi_BEL
INCLUDE "target/cpc/def/cpcfirm.def"
EXTERN firmware
.ansi_BEL
ld ... |
#ifndef BOOST_MPL_VECTOR_VECTOR40_HPP_INCLUDED
#define BOOST_MPL_VECTOR_VECTOR40_HPP_INCLUDED
// 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.boos... |
/*
* Copyright (C) 2020-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/execution_environment/execution_environment.h"
#include "shared/source/memory_manager/memory_banks.h"
#include "shared/source/os_interface/linux/memory_info_impl.h"
#include "opencl/test/unit_test/os_inte... |
;...............................................................................
.section Data, Data
MainCountLow .dsb 1
MainCountHigh .dsb 1
CountInner .dsb 1
CountOuter .dsb 1
;...............................................................................
.section Text, Code, inp... |
#include "utils/ConnectionManager.hpp"
#include "utils/Connection.hpp"
#include "utils/LoggerFactory.hpp"
#include "utils/Logger.hpp"
using namespace sip0x::utils;
ConnectionManager::ConnectionManager(void) {
_logger = LoggerFactory::get_instance()->get_logger("sip0x.ConnectionManager");
}
ConnectionManager::~C... |
/*******************************************************************************
* Copyright 2018-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... |
/****************************************************************************************
* @author: kzvd4729 created: Feb/15/2019 00:47
* solution_verdict: Accepted language: GNU C++14
* run... |
/*=======================================================================
Copyright (c) 2018-2019 Marcelo Kallmann.
This software is distributed under the Apache License, Version 2.0.
All copies must contain the full copyright notice licence.txt located
at the base folder of the distribution.
===========... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by D Morris - 30/9/98
;
; ----- void __CALLEE__ drawto(int x2, int y2)
;
; $Id: drawto_callee.asm $
;
SECTION code_graphics
PUBLIC drawto_callee
PUBLIC _drawto_callee
PUBLIC... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.