text stringlengths 1 1.05M |
|---|
// Copyright (c) 2011-present, 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.
//
// The following ... |
; @Author: Piyush Mehta
assume cs:code,ds:data
data segment
pa equ 20a0h
pb equ 20a1h
pc equ 20a2h
cr equ 20a3h
data ends
code segment
start:
mov ax,data
mov ds,ax
mov al,82h
mov dx,cr
out dx,al
mov dx,pa
mov al,00h
... |
; VBXE Set XDL
.proc @setxdl(.byte a) .reg
asl @
sta idx
fxs FX_MEMS #$80+MAIN.SYSTEM.VBXE_XDLADR/$1000
ldy #0
idx equ *-1
lda MAIN.SYSTEM.VBXE_WINDOW+s@xdl.xdlc
and msk,y
ora val,y
sta MAIN.SYSTEM.VBXE_WINDOW+s@xdl.xdlc
lda MAIN.SYSTEM.VBXE_WINDOW+s@xdl.xdlc+1
and msk+1,y
ora val+... |
; A060693: Triangle (0 <= k <= n) read by rows: T(n, k) is the number of Schröder paths from (0,0) to (2n,0) having k peaks.
; Submitted by Christian Krause
; 1,1,1,2,3,1,5,10,6,1,14,35,30,10,1,42,126,140,70,15,1,132,462,630,420,140,21,1,429,1716,2772,2310,1050,252,28,1,1430,6435,12012,12012,6930,2310,420,36,1,4862,243... |
; int vfprintf_unlocked(FILE *stream, const char *format, void *arg)
SECTION code_clib
SECTION code_stdio
PUBLIC _vfprintf_unlocked
EXTERN asm_vfprintf_unlocked
_vfprintf_unlocked:
pop af
pop ix
pop de
pop bc
push bc
push de
push hl
push af
jp asm_vfprintf_unlocked
|
; A300290: Period 6: repeat [0, 1, 2, 2, 3, 3].
; 0,1,2,2,3,3,0,1,2,2,3,3,0,1,2,2,3,3,0,1,2,2,3,3,0,1,2,2,3,3,0,1,2,2,3,3,0,1,2,2,3,3,0,1,2,2,3,3,0,1,2,2,3,3,0,1,2,2,3,3,0,1,2,2,3,3,0,1,2,2,3,3,0,1,2,2,3,3,0,1,2,2,3,3,0,1,2,2,3,3
mod $0,6
lpb $0
div $0,2
add $0,$2
add $0,1
mov $2,11
lpe
|
; A275973: A binary sequence due to Harold Jeffreys.
; 1,0,1,1,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mov $1,2
lpb $0
mov $1,$0
div $0,4
lpe
div $1,2
mov $0,$1
|
#include <catch.hpp>
#include <oqs/system/dissipative.h>
namespace oqs
{
namespace Test
{
TEST_CASE("can create dissipative part", "[system][init][dissipative]")
{
const int num_dissipators = 1;
const std::vector<Eigen::MatrixXcd> dissipators{Eigen::MatrixXcd::Zero(3, 3)};
DissipativePart dp(num_dissip... |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commerc... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1d5b1, %rsi
lea addresses_UC_ht+0x4484, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
xor $51037, %rbx
mov $24, %rcx
rep movsq
nop
nop
inc %r13
lea addresses_WC_ht+0x1c184, %r... |
; Sprite dropping code V1.02 1985 Tony Tebby
;
; 1.01 Removed references to MOVEP for Q60/Q40 (FD)
; 2005-03-27 1.02 Extension for empty (solid) mask (MK)
;
; d0 c s byte offset / green composite
; d1 c s row offset / red composite
; d2 s green sprite
; d3 s red sprite
; d4 s sprite mask
; ... |
#include <iostream>
#include <math.h>
using namespace std;
const int SIZE = 1000;
int main()
{
int i,j,cnt,sum,maxI;
int arr[SIZE];
cout << "Enter power of 2: ";
cin >> maxI;
cout << "\n";
for (i = 0; i < SIZE; i++)
arr[i] = 0;
arr[SIZE-1] = 1;
cnt = 1;
sum = 0;
for (i = 1; i <= maxI; i++)
{
for (j ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1e670, %rsi
lea addresses_WT_ht+0x670, %rdi
nop
nop
nop
inc %r8
mov $35, %rcx
rep movsw
nop
cmp %rdi, %rdi
lea addresses_D_ht+0xb770, %r12
nop
nop
nop
nop
add $44623, %rbp
mo... |
#include <gtest/gtest.h>
#include "pressio/expressions.hpp"
TEST(expressions_eigen, span_traits)
{
using T = Eigen::VectorXd;
T o(10);
using expr_t = decltype(pressio::span(o, 0, 1));
static_assert(pressio::Traits<expr_t>::is_static, "");
const T o1(10);
using expr1_t = decltype(pressio::span(o1, 0, 1));... |
kernel: formato del fichero elf32-i386
Desensamblado de la sección .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 .byte 0xe4
8010000c ... |
#include "alert.h"
#include "clientversion.h"
#include "chainparams.h"
#include "init.h"
#include "net.h"
#include "utilstrencodings.h"
#include "utiltime.h"
/*
If you need to broadcast an alert, here's what to do:
1. Modify alert parameters below, see alert.* and comments in the code
for what does what.
2. run s... |
; Find fitting sprite definition V1.00 1999 Tony Tebby
; High colour version 2003 Marcel Kilgus
;
; 2004-04-02 1.01 returns sp_error sprite if no fitting sprite can be found (wl)
section driver
include 'dev8_keys_con'
include 'dev8_keys_qdos_pt'
include 'dev8_keys_sysspr'
xdef pt_fsprd
xdef pt_fsp... |
#include "encryption.hpp"
#include "logging.hpp"
#include <openssl/engine.h>
#include "openssl/evp.h"
#include <iostream>
#include <string>
#include <sstream>
#include <iomanip>
Encrypt::Encrypt()
{
}
Encrypt::~Encrypt()
{
}
// Removal of Boost, not going to print out the current version, leave for debugging if n... |
/*
* HealthMetricsApi.actor.cpp
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2013-2018 Apple Inc. and the FoundationDB project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Y... |
#include "sim/init.hh"
namespace {
const uint8_t data_m5_internal_stats[] = {
120,156,237,61,11,108,28,199,117,179,119,252,232,248,255,83,
20,41,137,250,83,146,37,74,178,100,89,178,44,75,214,199,
150,63,146,189,148,99,251,236,230,178,188,29,146,75,221,237,
158,119,247,40,209,150,130,52,50,146,54,117,1... |
/*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
#ifndef COH_THROWABLE_POF_SERIALIZER_HPP
#define COH_THROWABLE_POF_SERIALIZER_HPP
#include "coherence/lang.ns"
#include "coherence/io/pof/Pof... |
bits 64
default rel
section .text
global pal_execute_read_ldtr
pal_execute_read_ldtr :
xor rax, rax
sldt ax
ret
|
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2013 EMC Corp.
//
// @filename:
// CPhysicalLeftAntiSemiHashJoinNotIn.cpp
//
// @doc:
// Implementation of left anti semi hash join operator with NotIn semantics
//-------------------------------------... |
_echo: 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 ... |
/* Copyright (c) 2020 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... |
; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 Marco Spedaletti (asimov@mclink.it)
; *
; * Licens... |
; NEC PC-8801 stub for monitor mode
;
; Stefano Bodrato - 2018
IFNDEF CRT_ORG_CODE
defc CRT_ORG_CODE = $8A00
ENDIF
defc CONSOLE_COLUMNS = 80
defc CONSOLE_ROWS = 20
defc TAR__clib_exit_stack_size = 32
defc TAR__register_sp = 0xc000
... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 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 <boost/assign/list_of.hpp>
#include "base58.h"
#include "bitcoinrpc.h"
#inclu... |
; Copyright © 2019, VideoLAN and dav1d authors
; Copyright © 2019, Two Orioles, LLC
; 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 copy... |
#include "Platform.inc"
#include "FarCalls.inc"
#include "PowerOnReset.inc"
#include "BrownOutReset.inc"
#include "MclrReset.inc"
#include "PowerManagement.inc"
radix decimal
extern pollForWork
Main code
global main
global initialisationCompleted
main:
.safelySetBankFor PCON
btfss PCON, NOT_POR
goto po... |
; A104344: a(n) = Sum_{k=1..n} k!^2.
; 1,5,41,617,15017,533417,25935017,1651637417,133333531817,13301522971817,1606652445211817,231049185247771817,39006837228880411817,7639061293780877851817,1717651314017980301851817,439480788011413032845851817,126953027293558583218061851817,41117342095090841723228045851817,14838647795... |
; void sp1_PutSprClr(uchar **sprdest, struct sp1_ap *src, uchar n)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_PutSprClr
EXTERN asm_sp1_PutSprClr
_sp1_PutSprClr:
pop af
pop hl
pop de
pop bc
push bc
push de
push hl
push af
ld b,c
jp asm_sp1_PutSprClr
|
SECTION rodata_font
SECTION rodata_font_fzx
PUBLIC _ff_ao_RoundelSansLatin5
_ff_ao_RoundelSansLatin5:
BINARY "font/fzx/fonts/ao/Roundel/RoundelSans_Latin5.fzx"
|
; OZ - A more utopian OS
; ex: set expandtab softtabstop=4 shiftwidth=4 nowrap :
;
;
; x86-64 startup
;
;
; usage:
; $ qemu-system-x86_64 -boot a -fda oz_fd -monitor stdio
;
; requires: nasm-2.07 or later from: http://www.nasm.us
;
; credits:
; many thanks to the folks at wiki.osdev.org who archive great ... |
; A081690: From P-positions in a certain game.
; 0,1,3,4,5,7,8,9,10,12,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,72,73,74,75,76,77
mov $2,5
add $2,$0
mov $3,$0
mov $5,$0
sub $0,1
add $2,$3
sub ... |
;***********************************************************
; Version 2.40.00
;***********************************************************
; Function: recip16
; Processor: C55xx
; Description: Calculates reciprocal of Q15 number. C-callable.
;
; Useage: void recip... |
;
; $Id: guenevere5670.asm,v 1.3 2011/04/12 09:05:29 sraj Exp $
;
; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
;
; Copyright 2007-2020 Broadcom Inc. All rights reserved.
;
;
; This is the default 5670 program for the Guenevere (B... |
;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
;IN USING, DISPLAYI... |
; A017023: a(n) = (7*n + 3)^7.
; 2187,10000000,410338673,4586471424,27512614111,114415582592,373669453125,1028071702528,2488651484819,5455160701056,11047398519097,20971520000000,37725479487783,64847759419264,107213535210701,171382426877952,266001988046875,402271083010688,594467302491009,860542568759296,1222791080775407... |
; A205187: Number of (n+1)X2 0..1 arrays with the number of clockwise edge increases in every 2X2 subblock differing from each horizontal or vertical neighbor
; Submitted by Jamie Morken(s1)
; 16,24,48,72,144,216,432,648,1296,1944,3888,5832,11664,17496,34992,52488,104976,157464,314928,472392,944784,1417176,2834352,4251... |
; A141850: Primes congruent to 3 mod 11.
; Submitted by Christian Krause
; 3,47,113,157,179,223,311,421,443,487,509,619,641,751,773,839,883,971,1103,1213,1279,1301,1367,1433,1499,1543,1609,1697,1741,1873,2027,2137,2203,2269,2357,2423,2467,2621,2687,2731,2753,2797,2819,3061,3083,3259,3347,3391,3413,3457,3677,3853,3919,4... |
// File: 'imgui\extra_fonts\ProggyTiny.ttf' (35656 bytes)
// Exported using binary_to_compressed_c.cpp
static const unsigned int ProggyTiny_compressed_size = 8758;
static const unsigned int ProggyTiny_compressed_data[8760/4] =
{
0x0000bc57, 0x00000000, 0x488b0000, 0x00000400, 0x00010037, 0x000c0000, 0x00030080, 0x2... |
#A bunch of vanilla tweaks
list d_environmentallyFriendlyCreepers
ALOAD 0
GETFIELD net/minecraft/entity/monster/EntityCreeper.field_70170_p:Lnet/minecraft/world/World; #worldObj
INVOKEVIRTUAL net/minecraft/world/World.func_82736_K()Lnet/minecraft/world/GameRules; #getGameRules
LDC "mobGriefing"
INVOKEVIRTUAL net/minec... |
; ***************************************************************************************
; ***************************************************************************************
;
; Name : kernel.asm
; Author : Paul Robson (paul@robsons.org.uk)
; Date : 13th January 2019
; Purpose : Machine Forth Kernel
;
; *... |
; A009056: Numbers >= 3.
; 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,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77
add $0,3
|
; A287381: a(n) = a(n-1) + 2*a(n-2) - a(n-3), where a(0) = 2, a(1) = 4, a(2) = 7.
; 2,4,7,13,23,42,75,136,244,441,793,1431,2576,4645,8366,15080,27167,48961,88215,158970,286439,516164,930072,1675961,3019941,5441791,9805712,17669353,31838986,57371980,103380599,186285573,335674791,604865338,1089929347,1963985232,353897858... |
; A181433: Numbers k such that 11*k is 5 less than a square.
; 1,4,20,29,61,76,124,145,209,236,316,349,445,484,596,641,769,820,964,1021,1181,1244,1420,1489,1681,1756,1964,2045,2269,2356,2596,2689,2945,3044,3316,3421,3709,3820,4124,4241,4561,4684,5020,5149,5501,5636,6004,6145,6529,6676,7076,7229,7645,7804,8236,8401,8849... |
; A216326: Number of divisors of the degree of the minimal polynomial of 2*cos(Pi/prime(n)), with prime = A000040, n >= 1.
; 1,1,2,2,2,4,4,3,2,4,4,6,6,4,2,4,2,8,4,4,9,4,2,6,10,6,4,2,8,8,6,4,6,4,4,6,8,5,2,4,2,12,4,12,6,6,8,4,2,8,6,4,16,4,8,2,4,8,8,12,4,4,6,4,12,4,8,16,2,8,10,2,4,8,8,2,4,12,12,12,4,16,4,16,4,4,12,12,8,8,... |
; A081003: a(n) = Fibonacci(4n+1) + 1, or Fibonacci(2n+1)*Lucas(2n).
; 2,6,35,234,1598,10947,75026,514230,3524579,24157818,165580142,1134903171,7778742050,53316291174,365435296163,2504730781962,17167680177566,117669030460995,806515533049394,5527939700884758,37889062373143907,259695496911122586,1779979416004714190,12200... |
// license:BSD-3-Clause
// copyright-holders:Curt Coder, smf
/**********************************************************************
SpeedDOS / Burst Nibbler 1541/1571 Parallel Cable emulation
http://sta.c64.org/cbmparc2.html
**********************************************************************/
#include "... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.7
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do... |
_Route14BattleText1::
text "You need to use"
line "TMs to teach good"
cont "moves to #MON!"
done
_Route14EndBattleText1::
text "Not"
line "good enough!"
prompt
_Route14AfterBattleText1::
text "You have some HMs"
line "right? #MON"
cont "can't ever forget"
cont "those moves."
done
_Route14BattleText2::
t... |
; A145700: Numbers x such that there exists n in N with (x+1)^3-x^3=37*n^2.
; Submitted by Jon Maiga
; 3,2068,1220411,720040716,424822802323,250644733330148,147879967841985291,87248930382037991836,51476721045434573198243,30371178167876016148971828,17918943642325804093320180571,10572146377794056539042757565356,623754844... |
; A060892: n^8-n^6+n^4-n^2+1.
; 1,1,205,5905,61681,375601,1634221,5649505,16519105,42521761,99009901,212601841,427016305,810932305,1468297741,2551550401,4278255361,6951703105,10986053005,16936647121,25536159601,37737287281,54762727405,78163228705,109884542401,152344140001,208518605101,282042646705,377320721905,49965229... |
; ===============================================================
; Mar 2014
; ===============================================================
;
; void *b_array_insert_block(b_array_t *a, size_t idx, size_t n)
;
; Inserts n uninitialized bytes before idx into the array and
; returns the address of the inserted bytes.... |
.global s_prepare_buffers
s_prepare_buffers:
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x305b, %rsi
lea addresses_WT_ht+0xf1af, %rdi
nop
inc %r8
mov $55, %rcx
rep movsb
nop
nop
nop
nop
nop
add %rdi, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %r8
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r1... |
[map all memdisk_chs_512.map]
%define EDD 0
%define ELTORITO 0
%define SECTORSIZE_LG2 9 ; log2(sector size)
%include "memdisk.inc"
|
_wc: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "%d %d %d %s\n", l, w, c, name);
}
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 57 push %edi
4: 56 p... |
SilphCo8Script:
call SilphCo8Script_5651a
call EnableAutoTextBoxDrawing
ld hl, SilphCo8TrainerHeader0
ld de, SilphCo8ScriptPointers
ld a, [wSilphCo8CurScript]
call ExecuteCurMapScriptInTable
ld [wSilphCo8CurScript], a
ret
SilphCo8Script_5651a:
ld hl, wCurrentMapScriptFlags
bit 5, [hl]
res 5, [hl]
ret z
ld... |
; A108676: a(n) = (n+1)^2*(n+2)*(5*n^2 + 15*n + 12)/24.
; 1,16,93,340,950,2226,4606,8688,15255,25300,40051,60996,89908,128870,180300,246976,332061,439128,572185,735700,934626,1174426,1461098,1801200,2201875,2670876,3216591,3848068,4575040,5407950,6357976
mul $0,5
add $0,9
bin $0,5
mov $1,$0
div $1,125
|
SECTION rodata_font_fzx
PUBLIC _ff_ao_GenevaMonoBold
_ff_ao_GenevaMonoBold:
BINARY "font/fzx/fonts/ao/GenevaMono/GenevaMonoBold.fzx"
|
#include <bits/stdc++.h>
#define ll long long int
#define w(t) int t; cin>>t; while(t--)
#define F first
#define S second
#define pb push_back
#define mp make_pair
#define pii pair<int,int>
#define mii map<int,int>
#defin... |
; A236257: a(n) = 2*n^2 - 7*n + 9.
; 9,4,3,6,13,24,39,58,81,108,139,174,213,256,303,354,409,468,531,598,669,744,823,906,993,1084,1179,1278,1381,1488,1599,1714,1833,1956,2083,2214,2349,2488,2631,2778,2929,3084,3243,3406,3573,3744,3919,4098,4281,4468,4659,4854,5053,5256,5463,5674,5889,6108,6331,6558,6789,7024,7263,7506,7... |
page ,132
title Utility Functions
.686p
.model FLAT
.code
; uintptr_t __fastcall __readbp(void);
public @__readbp@0
@__readbp@0 proc... |
; A332196: a(n) = 10^(2n+1) - 1 - 3*10^n.
; 6,969,99699,9996999,999969999,99999699999,9999996999999,999999969999999,99999999699999999,9999999996999999999,999999999969999999999,99999999999699999999999,9999999999996999999999999,999999999999969999999999999,99999999999999699999999999999
add $0,1
mov $1,10
pow $1,$0
sub $1... |
public MyMemcpy64
STACKBYTES equ 16*2
.code
SaveRegisters MACRO
sub rsp,STACKBYTES
.allocstack STACKBYTES
movdqu [rsp+16*0],xmm6 ; cannot use movdqa because rsp is not 16-byte aligned
.savexmm128 xmm6, 16*0
movdqu [rsp+16*1],xmm7
.savexmm128 xmm7, 16*1
.endprolog
ENDM
Res... |
#include<GEDEEditor.h>
#include<algorithm>
#include<GDEImpl.h>
#include<UI.h>
using namespace gde;
#define ___ std::cerr<<__FILE__<<" :"<<__LINE__<<std::endl
void addToNode2(ui::Element*elm,void*d){
auto node = (Node2d*)d;
glm::vec2 p = elm->getPosition();
glm::vec2 s = elm->getSize();
if(elm->data.hasValues... |
/*************************************************************************/
/* dictionary.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
#include "VisualScriptComment.hpp"
#include <core/GodotGlobal.hpp>
#include <core/CoreTypes.hpp>
#include <core/Ref.hpp>
#include <core/Godot.hpp>
#include "__icalls.hpp"
namespace godot {
VisualScriptComment::___method_bindings VisualScriptComment::___mb = {};
void VisualScriptComment::___init_method_binding... |
//==============================================================================
/*
Software License Agreement (BSD License)
Copyright (c) 2003-2016, CHAI3D
(www.chai3d.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permi... |
; A203310: a(n) = A203309(n+1)/A203309(n).
; 2,15,252,7560,356400,24324300,2270268000,277880803200,43197833952000,8315583035760000,1942008468966720000,540988073497872000000,177227692877902867200000,67457290601651778828000000
add $0,1
mov $1,$0
mov $2,$0
lpb $0
mul $2,2
div $2,$1
lpb $0
add $3,1
add $3,$0... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x69bd, %rsi
nop
and %r8, %r8
movw $0x6162, (%rsi)
nop
nop
nop
nop
sub $24167, %rsi
lea addresses_WT_ht+0x2dfd, %rsi
lea addresses_D_ht+0x19bbd, %rdi
nop
nop
nop
nop
nop
sub $43012, %r10... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x173a7, %rsi
nop
nop
sub $15919, %rbp
mov (%rsi), %r11w
cmp %r15, %r15
lea addresses_D_ht+0x1c2ff, %rsi
nop
nop
nop
nop
add %rcx, %rcx
mov (%rsi), %r12d
nop
nop
nop
xor $46000... |
#pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemStructure_TaxidermyBase_Medium_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------... |
db 0 ; species ID placeholder
db 50, 65, 107, 86, 105, 107
; hp atk def spd sat sdf
db ELECTRIC, FIRE ; type
db 45 ; catch rate
db 154 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_UNKNOWN ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/rotom_fre/front.dimensions"
db GROWTH_MED... |
#include "pch_directX.h"
#include "DeviceResources.h"
#include "DirectXHelper.h"
#include <algorithm>
#include <cmath>
#if defined (__cplusplus_winrt)
#include <windows.ui.xaml.media.dxinterop.h>
#endif
using namespace D2D1;
using namespace DirectX;
using namespace Microsoft::WRL;
#if defined (__cplusplus_winrt)
usi... |
global _enter_protected_mode
extern _GDTR
bits 16
_enter_protected_mode:
; disable maskable interrupts
cli
; disable non-maskable interrupts
; ...
; load GDT into 'gdtr' register
; rely on the fact the C compiler defines the _GDTR symbol to denote the GDTR variable
lgdt [_GDTR]
;... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x12fd4, %r12
nop
nop
nop
nop
inc %r14
mov $0x6162636465666768, %r15
movq %r15, (%r12)
nop
nop
nop
nop
inc %rsi
lea addresses_WC_ht+0xc054, %rdi
nop
xor $25722, %rbp
movl $0x61... |
; *******************************************************************************************************************************
; *******************************************************************************************************************************
;
; SCRUMPI 3 RO... |
// Copyright (c) 2012-2019 The Bitcoin Core developers
// Copyright (c) 2014-2019 The DigiByte Core developers
// Copyright (c) 2019-2020 The Auroracoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <consen... |
;*******************************************************************************
;* TMS320C55x C/C++ Codegen PC v4.4.1 *
;* Date/Time created: Sat Oct 06 06:37:33 2018 *
;****************************************************************************... |
; A201236: Number of ways to place 2 non-attacking wazirs on an n X n toroidal board.
; 0,2,18,88,250,558,1078,1888,3078,4750,7018,10008,13858,18718,24750,32128,41038,51678,64258,79000,96138,115918,138598,164448,193750,226798,263898,305368,351538,402750,459358,521728,590238,665278,747250,836568,933658,1038958
mov $4,$... |
; 程序源代码(stone.asm)
; 本程序在文本方式显示器上从左边射出一个*号,以45度向右下运动,撞到边框后反射,如此类推.
; 凌应标 2014/3
; MASM汇编格式
Dn_Rt equ 1 ;D-Down,U-Up,R-right,L-Left
Up_Rt equ 2 ;
Up_Lt equ 3 ;
Dn_Lt equ 4 ;
delay equ 50000 ; 计时器延迟计数,用于控制画框的速度
ddelay equ 580 ... |
// Copyright (c) 2011 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/profiles/profile_metrics.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/metrics/histogram.h"
... |
;; @file
; This is the assembly code for transferring to control to OS S3 waking vector
; for X64 platform
;
; Copyright (c) 2006 - 2012, 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
; ... |
;*******************************************************************************
; pool.nasm - routines for manipulations with the memory "pools".
; Copyright (c) 2000-2002 RET & COM Research.
; This file is based on the TINOS Operating System (c) 1998 Bart Sekura.
;*****************************************************... |
; A206531: a(n) = (2(n+1)(2n+1)-1) * a(n-1) + 2n(2n-1) * a(n-2), a(0)=0, a(1)=2.
; Submitted by Christian Krause
; 0,2,58,3250,292498,38609738,7026972314,1686473355362,516060846740770,196103121761492602,90599642253809582122,50011002524102889331346,32507151640666878065374898,24575406640344159817423422890
mul $0,2
mov $... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xd2c6, %rsi
lea addresses_D_ht+0xe79e, %rdi
clflush (%rdi)
sub $25252, %r11
mov $71, %rcx
rep movsl
nop
nop
nop
xor %rcx, %rcx
lea addresses_normal_ht+0x1e8e6, %r11
nop
nop
nop... |
; A178129: Partial sums of A050508.
; Submitted by Jon Maiga
; 0,2,8,23,47,87,147,224,328,463,623,821,1049,1322,1644,2004,2420,2896,3418,4007,4647,5361,6153,7004,7940,8940,10032,11220,12480,13843,15313,16863,18527,20276,22146,24141,26229,28449,30767,33224,35824,38530
mov $2,$0
mov $4,$0
lpb $2
mov $0,$4
sub $2,1
... |
; ********************** card list (count:32 size:256 bytes)
cards_list
dta a(card_give_gold_bishop)
dta a(card_give_gold_general)
dta a(card_give_gold_medic)
dta a(card_crime_rises_executioner)
dta a(card_crime_rises_stargazer)
dta a(card_crime_rises_treasurer)
dta a(card_luck_check_jester)
dta a(card_enemy_... |
; A003132: Sum of squares of digits of n.
; Submitted by Simon Strandgaard
; 0,1,4,9,16,25,36,49,64,81,1,2,5,10,17,26,37,50,65,82,4,5,8,13,20,29,40,53,68,85,9,10,13,18,25,34,45,58,73,90,16,17,20,25,32,41,52,65,80,97,25,26,29,34,41,50,61,74,89,106,36,37,40,45,52,61,72,85,100,117,49,50,53,58,65,74,85,98,113,130,64,65,68,... |
;******************************************************************************
;
; call-ffl.asm
; IKForth
;
; Unlicense since 1999 by Illya Kysil
;
;******************************************************************************
; Words for calling functions implemented in foreign languages
;***********************... |
SECTION "Egg Moves 2", ROMX
EggMovePointers2::
dw ChikoritaEggMoves
dw NoEggMoves2
dw NoEggMoves2
dw CyndaquilEggMoves
dw NoEggMoves2
dw NoEggMoves2
dw TotodileEggMoves
dw NoEggMoves2
dw NoEggMoves2
dw SentretEggMoves
dw NoEggMoves2
dw HoothootEggMoves
dw NoEggMoves2
dw LedybaEggMoves
dw NoEggMoves2
dw... |
; A273408: Partial sums of the number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 675", based on the 5-celled von Neumann neighborhood.
; 1,6,27,72,149,266,431,652,937,1294,1731,2256,2877,3602,4439,5396,6481,7702,9067,10584,12261,14106,16127,18332,20729,2332... |
// Copyright 2000-2021 Mark H. P. Lord
// TODO: have more information in error messages
// TODO: have some way of plugging in proper Unicode support for identifiers, whitespace, etc.
#include "XMLPullParser.h"
#include "NumberUtils.h"
#include "ScopedPtr.h"
#include "StringUtils.h"
#include "TextEncoding.h"
#include ... |
;******************************************************************************
;* SIMD-optimized IDCT-related routines
;* Copyright (c) 2008 Loren Merritt
;* Copyright (c) 2003-2013 Michael Niedermayer
;* Copyright (c) 2013 Daniel Kang
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistrib... |
; A055541: Total number of leaves (nodes of vertex degree 1) in all labeled trees with n nodes.
; 0,2,6,36,320,3750,54432,941192,18874368,430467210,11000000000,311249095212,9659108818944,326173191714734,11905721598812160,467086816406250000,19599665578316398592,875901453762003632658,41532319635035234107392,2082547005958... |
;******************************************************************************
;* Copyright (c) 2012 Michael Niedermayer
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Lesser General Public
;* License as published by the F... |
#include "CPU.asm"
#bank ram
test_counter:
#res 1
#bank rom
top:
sti 0, test_counter
loop:
lda test_counter
sta uitoa_b.input_byte
cal uitoa_b
lda uitoa_b.buffer+0
sta UART
lda uitoa_b.buffer+1
sta UART
lda uitoa_b.buffer+2
sta UART
lda uitoa_b.buffer+3
sta UART
... |
; A036690: Product of a prime and the following number.
; Submitted by Jamie Morken(w2)
; 6,12,30,56,132,182,306,380,552,870,992,1406,1722,1892,2256,2862,3540,3782,4556,5112,5402,6320,6972,8010,9506,10302,10712,11556,11990,12882,16256,17292,18906,19460,22350,22952,24806,26732,28056,30102,32220,32942,36672,37442,39006,3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.