text stringlengths 1 1.05M |
|---|
; A097199: Numbers of the form p^4 + 4^p for p prime.
; Submitted by Christian Krause
; 32,145,1649,18785,4208945,67137425,17179952705,274878037265,70368744457505,288230376152419025,4611686018428311425,18889465931478582728945,4835703278458516701650465
seq $0,40 ; The prime numbers.
seq $0,1589 ; a(n) = 4^n + n^4.
|
;/*
; * FreeRTOS Kernel V10.4.1
; * 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 restri... |
bits 64
org 0x8005000
section .text
global _start
_start:
FB equ 0x8003000 + 56
FBS equ 0x8003000 + 64
jmp begin
dw 0
dd 1
dd 2
dd 3
dd 4
dd 5
dd 6
dd 7
begin:
mov r8, 0x1111BBBB66660000
mov rcx, [FB]
mov rax, [FBS]
Q:
sub rax, 8
mov [rcx+rax],r8
jnz Q
jmp $
|
/*
--------------------------------------------------------------------------------
Name: BayesianTracker
Purpose: A multi object tracking library, specifically used to reconstruct
tracks in crowded fields. Here we use a probabilistic network of
information to perform the trajectory linking... |
; A037632: Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,3.
; 2,9,39,158,633,2535,10142,40569,162279,649118,2596473,10385895,41543582,166174329,664697319,2658789278,10635157113,42540628455,170162513822,680650055289,2722600221159,10890400884638,43561603538553,17424641415... |
; A122587: Leading digit of n in base 4.
; 1,2,3,1,1,1,1,2,2,2,2,3,3,3,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,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
add $0,1
lpb $0,$0
div $0,4
lpe
mov $1,$0
|
SECTION rodata_clib
PUBLIC standard_font
PUBLIC _standard_font
standard_font:
_standard_font:
BINARY "target/sms/FONT8.BIN"
|
; A294919: Numbers n such that 2^(n-1), (2*n-1)*(2^((n-1)/2)), (4*ceiling((1/4)*n)-2), and (2^((n+1)/2) + floor((3/4)*n)*2^(((n+1)/2)+1)) are all congruent to 1 (mod n).
; Submitted by Jon Maiga
; 5,13,29,37,53,61,101,109,149,157,173,181,197,229,269,277,293,317,349,373,389,397,421,461,509,541,557,613,653,661,677,701,70... |
/***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are perm... |
// Copyright (c) 2016-2019 Duality Blockchain Solutions Developers
// Copyright (c) 2014-2019 The Dash Core Developers
// Copyright (c) 2009-2019 The Bitcoin Developers
// Copyright (c) 2009-2019 Satoshi Nakamoto
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opens... |
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
ALIGN 32
__KeccakF1600:
mov rax,QWORD[60+rdi]
mov rbx,QWORD[68+rdi]
mov rcx,QWORD[76+rdi]
mov rdx,QWORD[84+rdi]
mov rbp,QWORD[92+rdi]
jmp NEAR $L$oop
ALIGN 32
$L$oop:
mov r8,QWORD[((-100))+rdi]
mov r9,QWORD[((-52))+rdi]... |
; A299913: a(n) = a(n-1) + 2*a(n-2) if n even, or 3*a(n-1) + 4*a(n-2) if n odd, starting with 0, 1.
; 0,1,1,7,9,55,73,439,585,3511,4681,28087,37449,224695,299593,1797559,2396745,14380471,19173961,115043767,153391689,920350135,1227133513,7362801079,9817068105,58902408631,78536544841,471219269047,628292358729,37697541523... |
#include "executor.h"
#include <unistd.h>
#include <errno.h>
#include <boost/scoped_ptr.hpp>
#include "common/filesystem.h"
namespace baidu {
namespace shuttle {
ReduceExecutor::ReduceExecutor() {
::setenv("mapred_task_is_map", "false", 1);
}
ReduceExecutor::~ReduceExecutor() {
}
TaskState ReduceExecutor::Exec... |
; --------------------------------------
; Test ADD, and moving data from addresses to registers and back.
;
; Before loading the program confirm the memory is all set to zeros.
; ... |
;
; switch_32.asm
; KripayaOS
;
[bits 16]
switch32bit:
cli ; 1. Disable all the Interrupts
lgdt [gdt_descriptor] ; 2. Load GDT descriptor
mov eax, cr0
or eax, 0x1 ; 3. Enable Protected Mode/32 bit
mov cr0, eax
jmp CODE_SEG:init32bit ; 4. Do a far jump
[bits 32]
init32bit:
mov... |
/*
* Copyright (C) 2018 all rights reserved.
*
* Author: Houmin Wei <houmin.wei@outlook.com>
*
* Source: https://leetcode.com/problems/longest-increasing-subsequence
*
* Description:
* Given an unsorted array of integers, find the length of longest increasing subsequence.
*/
#include <vector>
using namespace ... |
MODULE Err
ESPTimeout DC "1 WiFi/server timeout"
hostConnect DC "2 Failed to connect to host"
errorConnect DC "3 Cannot open TCP connection"
badOption DC "4 Unknown command option"
varNotFound DC "5 NextBASIC variable not found"
wifiInit DC "6 WiFi chip init failed"
tcpSend1 DC "7 HTTP send post fail"
tcpSend2 DC "8 H... |
%ifdef CONFIG
{
"RegData": {
"RAX": "0x414243444546A348"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4142434445464748
mov [rdx + 8 * 0], rax
mov rax, 0x5152535455565758
mov [rdx + 8 * 1], rax
ror byte [rdx + 8 * 0 + 1], 1
mov rax, [rdx + 8 * 0]
hlt
|
;
; MSX specific routines
;
; GFX - a small graphics library
; Copyright (C) 2004 Rafael de Oliveira Jannone
;
; extern bool __FASTCALL__ msx_set_mode(unsigned char id);
;
; set screen mode
;
; $Id: msx_set_mode.asm,v 1.2 2009/06/22 21:44:17 dom Exp $
;
XLIB msx_set_mode
LIB msxbios
INCLUDE "msxbios.de... |
; A108411: a(n) = 3^floor(n/2). Powers of 3 repeated.
; 1,1,3,3,9,9,27,27,81,81,243,243,729,729,2187,2187,6561,6561,19683,19683,59049,59049,177147,177147,531441,531441,1594323,1594323,4782969,4782969,14348907,14348907,43046721,43046721,129140163,129140163,387420489,387420489,1162261467,1162261467,3486784401,3486784401,... |
; A017175: a(n) = (9*n + 1)^3.
; 1,1000,6859,21952,50653,97336,166375,262144,389017,551368,753571,1000000,1295029,1643032,2048383,2515456,3048625,3652264,4330747,5088448,5929741,6859000,7880599,8998912,10218313,11543176,12977875,14526784,16194277,17984728,19902511,21952000,24137569,26463592,28934443,31554496,34328125,3... |
// Copyright (c) 2013 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 "content/browser/renderer_host/media/web_contents_audio_input_stream.h"
#include <list>
#include "base/bind.h"
#include "base/bind_helpers.... |
;
; jcgryext.asm - grayscale colorspace conversion (MMX)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright 2011 D. R. Commander
;
; Based on
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in... |
AI_ATTACK_CONDITION_DIRECTION_LEFT = %00000001
AI_ATTACK_CONDITION_DIRECTION_RIGHT = %00000010
AI_ATTACK_CONDITION_AIRBORNE = %00000100
AI_ATTACK_CONDITION_GROUNDED = %00001000
; Readable shorthand to get the negation of a constant 8bit value
#define NOT(x) <(-x-1)
ai_action_double_jump:
AI_ACTION_STEP... |
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "fork test OK\n");
}
int
main(void)
{
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 push... |
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
; WONG KAH QUAN
; HA18015
; MIKRORECHNER
; nelsonwongisme@gmail.com
; 015_LetzteHausfgabe_FinalEx
; Datum: 12/10/2020
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#include <p16f648A... |
/*
* Copyright (c) 2010-2011 frankee zhou (frankee.zhou at gmail dot com)
*
* Distributed under 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
*... |
// Copyright (c) 2012-2015 The Bitcoin Core developers
// Copyright (c) 2019 The quirkyturtcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "addrman.h"
#include "test/test_quirkyturtcoin.h"
#include <strin... |
.size 8000
.text@48
ei
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld c, 44
ld b, 90
lbegin_waitly90:
ldff a, (c)
cmp a, b
jrnz lbegin_waitly90
ld a, 11
ldff(40), a
ld hl, 8000
ld b, 08
lbegin_settile0data... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1060b, %rsi
lea addresses_A_ht+0x172ff, %rdi
nop
nop
nop
nop
nop
xor %r11, %r11
mov $87, %rcx
rep movsq
add $17439, %rax
lea addresses_A_ht+0x16303, %r13
nop
nop
nop
sub %rbp... |
#ifndef __IAPIPSEUDOCONTAINER_HPP__
#define __IAPIPSEUDOCONTAINER_HPP__
#include "GlobalOperators.hpp"
namespace GSAPI {
class IAPIAttributeAdapterFactory;
/** @interface */
template <typename APIType, typename FilterType, class Iterator>
class IAPIPseudoContainer {
public:
typedef Iterator PseudoIterator;
pr... |
; BubbleSort Procedure (BSort.asm)
; This program sorts an array of signed integers, using
; the Bubble sort algorithm. The main program is in B_main.asm.
INCLUDE Irvine32.inc
.code
;----------------------------------------------------------
BubbleSort PROC USES eax ecx esi,
pArray:PTR DWORD, ; ... |
; A140525: a(1)=2. For n >=2, a(n) = the least integer >= a(n-1) that is not coprime to both a(n-1)+1 and a(n-1).
; Submitted by Jon Maiga
; 2,6,14,18,38,42,86,90,98,102,206,210,422,426,434,438,878,882,1766,1770,1778,1782,3566,3570,7142,7146,7154,7158,14318,14322,28646,28650,28658,28662,57326,57330,114662,114666,114674... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x17931, %rcx
xor $40448, %r12
mov $0x6162636465666768, %r8
movq %r8, (%rcx)
nop
nop
nop
inc %r11
lea addresses_normal_ht+0x4d81, %rdx
nop
nop
dec %rcx
movb $0x61, (%rdx)
nop
n... |
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Original work Copyright (C) 2016-2021, Intel Corporation
// Modified work Copyright (C) 2022, Vanilla Blue team
//
// SPDX-License-Identifier: MIT
/////////////////////////////////////////////... |
/* 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... |
// Copyright 2017-present MongoDB Inc.
//
// 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 t... |
VictoryRoad3Script:
call VictoryRoad3Script_44996
call EnableAutoTextBoxDrawing
ld hl, VictoryRoad3TrainerHeader0
ld de, VictoryRoad3ScriptPointers
ld a, [wVictoryRoad3CurScript]
call ExecuteCurMapScriptInTable
ld [wVictoryRoad3CurScript], a
ret
VictoryRoad3Script_44996:
ld hl, wCurrentMapScriptFlags
bit 5, ... |
EnterMap::
; Load a new map.
ld a, $ff
ld [wJoyIgnore], a
call LoadMapData
callba ClearVariablesAfterLoadingMapData
ld hl, wd72c
bit 0, [hl] ; has the player already made 3 steps since the last battle?
jr z, .skipGivingThreeStepsOfNoRandomBattles
ld a, 3 ; minimum number of steps between battles
ld [wNumberOf... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>utime(file, file_times) -> str
Invokes the syscall utime.
See 'man 2 utime' for more information.
Arguments:
file(char*): file
file_times(utimbuf*): file_times
Returns:
int
</%docstring>
<%page args="f... |
CinnabarLabFossilRoom_Object:
db $17 ; border block
db 2 ; warps
warp 2, 7, 4, CINNABAR_LAB
warp 3, 7, 4, CINNABAR_LAB
db 0 ; signs
db 2 ; objects
object SPRITE_OAK_AIDE, 5, 2, WALK, 2, 1 ; person
object SPRITE_OAK_AIDE, 7, 6, STAY, UP, 2 ; person
; warp-to
warp_to 2, 7, CINNABAR_LAB_FOSSIL_ROOM_WIDTH ; C... |
//
// deadline_timer.hpp
// ~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2014 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// 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)
//
#ifndef BOOST_ASIO_DE... |
; A166626: Totally multiplicative sequence with a(p) = 5p for prime p.
; 1,10,15,100,25,150,35,1000,225,250,55,1500,65,350,375,10000,85,2250,95,2500,525,550,115,15000,625,650,3375,3500,145,3750,155,100000,825,850,875,22500,185,950,975,25000,205,5250,215,5500,5625,1150,235,150000,1225,6250,1275,6500,265,33750,1375,35000... |
; A186226: Adjusted joint rank sequence of (g(j)) and (f(i)) with f(i) after g(j) when f(i)=g(j), where f and g are the triangular numbers and pentagonal numbers. Complement of A186225.
; 1,4,7,10,12,15,18,21,23,26,29,31,34,37,40,42,45,48,51,53,56,59,62,64,67,70,72,75,78,81,83,86,89,92,94,97,100,103,105,108,111,113,11... |
; sccz80 crt0 library - 8080 version
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_long_mod_u
EXTERN l_long_divide
.l_long_mod_u
ld a,0
jp l_long_divide
|
;
; ZX Spectrum specific routines
; by Stefano Bodrato, MAR 2010
;
; int zx_ulaplus();
;
; The result is:
; - 0 (false) ULAPlus not installed / emulated
; - 1 ULAPlus 64 colour mode is available
;
; $Id: zx_ulaplus.asm,v 1.2 2010/04/02 09:05:06 stefano Exp $
;
XLIB zx_ulaplus
zx_ulaplus:
; Enter in 64 colour mode
... |
lc r4, 0xffffffff
lc r5, 0x80000001
eq r6, r4, r5
halt
#@expected values
#r4 = 0xffffffff
#r5 = 0x80000001
#r6 = 0x00000000
#pc = -2147483628
#e0 = 0
#e1 = 0
#e2 = 0
#e3 = 0
|
/*=============================================================================
Copyright (c) 2011-2019 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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.tx... |
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2016, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@l... |
; A052515: Number of ordered pairs of complementary subsets of an n-set with both subsets of cardinality at least 2.
; 0,0,0,0,6,20,50,112,238,492,1002,2024,4070,8164,16354,32736,65502,131036,262106,524248,1048534,2097108,4194258,8388560,16777166,33554380,67108810,134217672,268435398,536870852,1073741762,2147483584,429... |
; A230641: a(n) = n + (sum of digits in base-3 representation of n).
; 0,2,4,4,6,8,8,10,12,10,12,14,14,16,18,18,20,22,20,22,24,24,26,28,28,30,32,28,30,32,32,34,36,36,38,40,38,40,42,42,44,46,46,48,50,48,50,52,52,54,56,56,58,60,56,58,60,60,62,64,64,66,68,66,68,70,70,72,74,74,76,78,76,78,80,80,82,84,84,86,88,82,84,86,86,8... |
; A170300: Number of reduced words of length n in Coxeter group on 3 generators S_i with relations (S_i)^2 = (S_i S_j)^42 = I.
; 1,3,6,12,24,48,96,192,384,768,1536,3072,6144,12288,24576,49152,98304,196608,393216,786432,1572864,3145728,6291456,12582912,25165824,50331648,100663296,201326592,402653184,805306368,1610612736... |
/*
* (C) 2010 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include <sstmac/replacements/mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include "mpitest.h"
#include <math.h> /** for fabs(3) */
#ifdef HAVE_UNISTD_H
#include <unistd.h> /** for sleep(3) */
#endif
namespace gtrank... |
/*
* psql - the PostgreSQL interactive terminal
*
* Copyright (c) 2000-2012, PostgreSQL Global Development Group
*
* src/bin/psql/startup.c
*/
#include "settings.h"
#include "postgres_fe.h"
#include <sys/types.h>
#include <sys/time.h>
#ifndef WIN32
#include <unistd.h>
#else /* WIN32 */
#include <io.h>
#include ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xd0ae, %rsi
lea addresses_UC_ht+0xc0e0, %rdi
nop
cmp $64733, %r14
mov $118, %rcx
rep movsq
add $10218, %r14
lea addresses_A_ht+0xae6e, %rdx
clflush (%rdx)
nop
nop
nop
nop
... |
/******************************************************************************
* Copyright 2018 The Apollo 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
... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... |
; ==================================================================
; MikeOS -- The Mike Operating System kernel
; Copyright (C) 2006 - 2013 MikeOS Developers -- see doc/LICENSE.TXT
;
; PORT ROUTINES
; ==================================================================
; ----------------------------------------... |
COPY START 0 .COPY FILE FROM INPUT TO OUTPUT
RDBUFF MACRO &INDEV,&BUFADR,&RECLTH
.
. MACRO TO READ RECORD INTO BUFFER
.
CLEAR X .CLEAR LOOP COUNTER
CLEAR A
CLEAR S
+LDT #4096 .SETMAXIMUM RECORD LENGTH
TD =X'&INDEV' .TEST INPUT DEVICE
JEQ *-3 .LOOP UNTIL READY
RD =X'&INDEV'... |
_ln: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 10 ... |
_init: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
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 push %ebp
... |
; A063079: Bisection of A001790.
; 1,5,63,429,12155,88179,1300075,9694845,583401555,4418157975,67282234305,514589420475,15801325804719,121683714103007,1879204156221315,14544636039226909,1804857108504066435,14023284727082855679,218266320541953276229,1701063429324939500975,53098072606098965203605,414847067813984717066925... |
/* Copyright © 2017-2020 ABBYY Production LLC
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,... |
/*
MIT License
Copyright (c) 2021 Attila Kiss
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, publish, dis... |
; ===============================================================
; Dec 2013
; ===============================================================
;
; void *obstack_init(struct obstack *ob, size_t size)
;
; Create an obstack at address ob, size bytes long.
; Size must be at least seven bytes to hold obstack header.
;
; =... |
; A017801: Binomial coefficients C(85,n).
; 1,85,3570,98770,2024785,32801517,437353560,4935847320,48124511370,411731930610,3129162672636,21335200040700,131567066917650,738799683460650,3799541229226200,17984495151670680,78682166288559225,319357027877093325,1206459883091241450,4254358535111219850,14039383165867025505,434... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... |
; void tshc_scroll_wc_up_pix(struct r_Rect8 *r, uchar rows, uchar pix)
SECTION code_clib
SECTION code_arch
PUBLIC _tshc_scroll_wc_up_pix
EXTERN asm0_tshc_scroll_wc_up_pix
_tshc_scroll_wc_up_pix:
pop af
pop ix
pop de
push de
push de
push af
ld l,d
jp asm0_tshc_scroll_wc_up_pix
|
/***********************************************************************************************************************
* *
* libscopeprotocols ... |
; A066068: a(n) = n^n + n.
; 1,2,6,30,260,3130,46662,823550,16777224,387420498,10000000010,285311670622,8916100448268,302875106592266,11112006825558030,437893890380859390,18446744073709551632,827240261886336764194,39346408075296537575442,1978419655660313589123998,104857600000000000000000020,5842587018385982521381124442... |
default rel
bits 64
segment .data
name db 'Calvin', 0
address db '12 Mockingbird Lane', 0
balance dd 12500
format db '%s %s %d', 0xd, 0xa, 0
segment .bss
; NASM will automatically define ``Customer_size`` to be the number of bytes
; in the struct.
; If variables are declared without the... |
_rm: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 20 ... |
; A165351: Numerator of 3n/2.
; 0,3,3,9,6,15,9,21,12,27,15,33,18,39,21,45,24,51,27,57,30,63,33,69,36,75,39,81,42,87,45,93,48,99,51,105,54,111,57,117,60,123,63,129,66,135,69,141,72,147,75,153,78,159,81,165,84,171,87,177,90,183,93,189,96,195,99,201,102,207,105,213,108,219,111,225,114,231,117,237,120,243,123,249,126,255,1... |
; size_t strlcat(char * restrict s1, const char * restrict s2, size_t n)
SECTION code_clib
SECTION code_string
PUBLIC strlcat
EXTERN asm_strlcat
strlcat:
IF __CPU_GBZ80__ | __CPU_INTEL__
ld hl,sp+2
ld c,(hl)
inc hl
ld b,(hl)
inc hl
ld e,(hl)
inc hl
ld d,(hl)
inc hl
ld a,(hl+)
ld h,... |
#include "rviz_marker/nodelet.h"
namespace rviz_marker {
void RvizMarkerNodelet::onInit() {
ros::NodeHandle& private_nh = getPrivateNodeHandle();
// Define publishers
ros::Publisher robot_visu_pub = private_nh.advertise<visualization_msgs::MarkerArray>("/robot_marker_array", 1000);
ros::Publisher h... |
#include <qt/createcontract.h>
#include <qt/forms/ui_createcontract.h>
#include <qt/platformstyle.h>
#include <qt/walletmodel.h>
#include <qt/clientmodel.h>
#include <qt/guiconstants.h>
#include <qt/rpcconsole.h>
#include <qt/execrpccommand.h>
#include <qt/bitcoinunits.h>
#include <qt/optionsmodel.h>
#include <validati... |
// wiredtiger_kv_engine_test.cpp
/**
* Copyright (C) 2014 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
*
* This program is distrib... |
; A261521: a(n) = n^2 + 2*n + 29.
; 29,32,37,44,53,64,77,92,109,128,149,172,197,224,253,284,317,352,389,428,469,512,557,604,653,704,757,812,869,928,989,1052,1117,1184,1253,1324,1397,1472,1549,1628,1709,1792,1877,1964,2053,2144,2237,2332,2429,2528
mov $1,$0
add $1,1
pow $1,2
add $1,28
|
;; 32bit asm functions for everything you need before loading your
;; 32bit kernel.
;; Note that this stuff does not include GDT or anything like that,
;; that is already defined in a file that is not in util/
;; Fast reset A20 line, doesn't work on all processors
_init_a20:
in al, 0x92
or al, 2
out 0x92, al
|
;----------------------------------------------------------;
; BOS kernel Christoffer Bubach, 2004-2012. ;
;----------------------------------------------------------;
; ;
; floppy disk driver. ;
; ... |
; A157912: 64*n^2 + 16.
; Submitted by Christian Krause
; 80,272,592,1040,1616,2320,3152,4112,5200,6416,7760,9232,10832,12560,14416,16400,18512,20752,23120,25616,28240,30992,33872,36880,40016,43280,46672,50192,53840,57616,61520,65552,69712,74000,78416,82960,87632,92432,97360,102416,107600,112912,118352,123920,129616,13... |
#include "DXUT.h"
#include "CTimeManager.h"
CTimeManager::CTimeManager()
{
//mutable
}
CTimeManager::~CTimeManager()
{
for (auto& iter : m_Timers)
{
SAFE_DELETE(iter.second);
}
m_Timers.clear();
}
CTimer * CTimeManager::AddTimer(CRString _Key, CTimer * _pTimer)
{
auto find = m_Timers.find(_Key);
if (find ... |
; A260217: Number of base-3 n-digit pandigital numbers.
; 0,0,4,24,100,360,1204,3864,12100,37320,114004,346104,1046500,3155880,9500404,28566744,85831300,257756040,773792404,2322425784,6969374500,20912317800,62745342004,188252803224,564791964100,1694443001160,5083463221204,15250658099064
mov $3,1
lpb $0
sub $0,1
ad... |
lorom
!FEATURE_SD2SNES ?= 1
!FEATURE_DEV ?= 0
!FEATURE_PAL ?= 1
!ORIGINAL_MESSAGE_TEXT ?= 0
!PRESERVE_WRAM_DURING_SPACETIME ?= 1
!RAW_TILE_GRAPHICS ?= 1
!VERSION_MAJOR = 2
!VERSION_MINOR = 4
!VERSION_BUILD = 2
!VERSION_REV_1 = 0
!VERSION_REV_2 = 0
table ../resources/normal.tbl
incsrc macros.asm
incsrc defines.asm
... |
SECTION code_fp_math32
PUBLIC ___fs2schar_callee
EXTERN cm32_sdcc___fs2schar_callee
defc ___fs2schar_callee = cm32_sdcc___fs2schar_callee
|
// 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 "services/media_session/public/cpp/test/audio_focus_test_util.h"
#include "base/bind.h"
namespace media_session {
namespace test {
namespace {
... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1995 -- All Rights Reserved
PROJECT: GEOS
MODULE: Appl/GeoWrite
FILE: uiPrint.asm
AUTHOR: Don Reeves, May 2, 1995
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Da... |
; A008747: Expansion of (1+x^4)/((1-x)*(1-x^2)*(1-x^3)).
; 1,1,2,3,5,6,9,11,14,17,21,24,29,33,38,43,49,54,61,67,74,81,89,96,105,113,122,131,141,150,161,171,182,193,205,216,229,241,254,267,281,294,309,323,338,353,369,384,401,417,434,451,469,486,505,523,542,561,581,600,621,641,662,683,705,726,749,771,794,817,841,864,889,... |
; A016996: a(n) = (7*n + 1)^4.
; 1,4096,50625,234256,707281,1679616,3418801,6250000,10556001,16777216,25411681,37015056,52200625,71639296,96059601,126247696,163047361,207360000,260144641,322417936,395254161,479785216,577200625,688747536,815730721,959512576,1121513121,1303210000,1506138481,1731891456,1982119441,22585305... |
// 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 "cc/animation/scrollbar_animation_controller.h"
#include <algorithm>
#include "base/time/time.h"
namespace cc {
ScrollbarAnimationController:... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x2cd4, %rsi
lea addresses_WC_ht+0x154d8, %rdi
sub %r8, %r8
mov $98, %rcx
rep movsw
sub %r9, %r9
lea addresses_WT_ht+0xcd30, %rsi
lea addresses_D_ht+0x1e398, %rdi
clflush (%rsi)
... |
loc
;******************************************************************
;* MODO_CONFIG - standby mode. Load the respective message on the
;* screen for this mode and turn off the two upper 7 segment
;* display segments. The other two display the parameter to be
;* configured (LengthOK). The parameter is configured ... |
; ===============================================================
; Dec 2013
; ===============================================================
;
; void *_falloc(void *p, size_t size)
;
; Attempt to allocate size bytes from the thread's heap at
; fixed address p. Returns p or 0 with carry set on failure.
;
; Returns ... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
#include "beatsaber-hook/shared/utils/il2cpp-utils-met... |
; Pics are defined in gfx/pics.asm
TrainerPicPointers::
; entries correspond to trainer classes (see constants/trainer_constants.asm)
dba FalknerPic
dba WhitneyPic
dba BugsyPic
dba MortyPic
dba PrycePic
dba JasminePic
dba ChuckPic
dba ClairPic
dba Rival1Pic
dba PokemonProfPic
dba WillPic
dba CalPic
dba Br... |
; A021431: Decimal expansion of 1/427.
; Submitted by Jamie Morken(m2)
; 0,0,2,3,4,1,9,2,0,3,7,4,7,0,7,2,5,9,9,5,3,1,6,1,5,9,2,5,0,5,8,5,4,8,0,0,9,3,6,7,6,8,1,4,9,8,8,2,9,0,3,9,8,1,2,6,4,6,3,7,0,0,2,3,4,1,9,2,0,3,7,4,7,0,7,2,5,9,9,5,3,1,6,1,5,9,2,5,0,5,8,5,4,8,0,0,9,3,6
seq $0,83811 ; Numbers n such that 2n+1 is the d... |
extern puts
extern printf
extern strlen
%define BAD_ARG_EXIT_CODE -1
section .data
filename: db "./input0.dat", 0
inputlen: dd 2263
fmtstr: db "Key: %d",0xa, 0
usage: db "Usage: %s <task-no> (task-no can be 1,2,3,4,5,6)", 10, 0
error_no_file: db "Error: No input file %s", 10, 0
error_canno... |
SECTION code_driver
SECTION code_driver_character_input
PUBLIC _acia_flush_Rx_di
PUBLIC _acia_flush_Rx
EXTERN asm_z80_push_di, asm_z80_pop_ei
EXTERN aciaRxCount, aciaRxBuffer, aciaRxIn, aciaRxOut
_acia_flush_Rx_di:
push af
push hl
call asm_z80_push_di ; d... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... |
// 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/sync_file_system/drive_backend/sync_task_token.h"
#include "base/bind.h"
#include "base/debug/trace_event.h"
#include "chrome/br... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.