text stringlengths 1 1.05M |
|---|
/// @file
/// @author David Pilger <dpilger26@gmail.com>
/// [GitHub Repository](https://github.com/dpilger26/NumCpp)
///
/// License
/// Copyright 2018-2021 David Pilger
///
/// Permission is hereby granted, free of charge, to any person obtaining a copy of this
/// software and associated documentation files(... |
;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
; ===============================================================
; Dec 2013
; ===============================================================
;
; void *p_forward_list_pop_front(p_forward_list_t *list)
;
; Pop item from front of list.
;
; ===============================================================
SECTION code_c... |
#include "raddi_eid.h"
#include <cstdio>
#include <cwchar>
bool raddi::eid::serialize (wchar_t * buffer, std::size_t size) const {
if (auto offset = this->identity.serialize (buffer, size)) {
return std::swprintf (buffer + offset, size - offset, L"-%x", this->timestamp) > 1;
} else
return fals... |
; A323225: a(n) = ((2^n*n + i*(1 - i)^n - i*(1 + i)^n))/4, where i is the imaginary unit.
; Submitted by Jon Maiga
; 0,1,3,7,16,38,92,220,512,1160,2576,5648,12288,26592,57280,122816,262144,557184,1179904,2490624,5242880,11009536,23067648,48233472,100663296,209717248,436211712,905973760,1879048192,3892305920,8053047296,... |
db "MUD FISH@" ; species name
db "MARSHTOMP's home"
next "on muddy ground"
next "provides poor"
page "footing. Its legs"
next "are sturdy as a"
next "result.@"
|
//=================================================================================================
/*!
// \file src/mathtest/dvecdvecdiv/VDaVHa.cpp
// \brief Source file for the VDaVHa dense vector/dense vector division math test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
//
// This file i... |
; :::
#bits 3
#ruledef
{
ld {x: u3} => 0b111 @ x
}
ld 0 ; = 0b111_000
label:
ld 5 ; = 0b111_101
ld 7 ; = 0b111_111
ld $ ; = 0b111_110
ld label ; = 0b111_010
; :::
#bits 3
label1:
#d 0b111
label2:
#d 0b101011
label3:
#d 0b1
label4: ; error: aligned
; :::
#bits 24
#ruledef
{
ld {x: u16} => 0x55 @ x
}
... |
00405B8A L00405B8A:
00405B8A 8B85D4F8FFFF mov eax,[ebp-0000072Ch]
00405B90 2DF4010000 sub eax,000001F4h
00405B95 8985D4F8FFFF mov [ebp-0000072Ch],eax
00405B9B 83BDD4F8FFFF0D cmp dword ptr [ebp-0000072Ch],0000000Dh
00405... |
/*
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
#if !defined(__AVC_ILDB_LUMA_CORE_MBAFF__) // Make sure th... |
; A114619: 2*A079291 (twice squares of Pell numbers).
; 0,2,8,50,288,1682,9800,57122,332928,1940450,11309768,65918162,384199200,2239277042,13051463048,76069501250,443365544448,2584123765442,15061377048200,87784138523762,511643454094368
seq $0,163271 ; Numerators of fractions in a 'zero-transform' approximation of sqrt... |
; zCPar_Symbol *__stdcall ninja_createSymbol(const char *, int)
; Create symbol with specified name and add it to current symbol table (fatal error on fail)
global ninja_createSymbol
ninja_createSymbol:
resetStackoffset
%assign arg_1 +0x4 ; const char *
... |
#include <atomic>
#include <chrono>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <string>
#include <thread>
#include <boost/thread.hpp>
#include <clipper/config.hpp>
#include <clipper/constants.hpp>
#include <clipper/persistent_state.hpp>
#include <clipper/redis.hpp>
#include <clipper/logging.h... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x185f2, %r13
nop
nop
nop
nop
add %rax, %rax
mov (%r13), %r15d
nop
nop
nop
sub %rdi, %rdi
lea addresses_D_ht+0xc5a, %rcx
nop
nop
nop
nop
nop
dec %r12
movb (%rcx), %r14b
xor $61... |
// Add US/EU text blocks
.org 0x80500FC
.dw text_cmdEuropeBlock|1
.org 0x8050164
.dw text_cmdEuropeBlock|1
// Use uncompressed 6EAD18 Tournament Victory
// Remove decompression step
.org 0x8046ED2
nop :: nop
.org 0x80470EC
nop :: nop
// Pointer for License graphics
.org 0x804810C // script 5-9
dw file_6EAD18
... |
#ifndef AIKIDO_DISTANCE_SE2WEIGHTED_HPP_
#define AIKIDO_DISTANCE_SE2WEIGHTED_HPP_
#include "aikido/distance/DistanceMetric.hpp"
#include "aikido/statespace/SE2.hpp"
namespace aikido {
namespace distance {
/// Computes the shortest distance between two states in SE2
class SE2Weighted : public DistanceMetric
{
public:... |
; Task in Project1
; @ Improved dtoc function, supporting the conversion from dword HEX into string
;
; name: dtoc
; func: convert HEX dword(16bit) data into a string of DEC which ends with 0
; args: (ax) = lower 16bit
; (dx) = higher 16bit
; ds:si = where the string begins
assume cs:code
data segment
db 10 dup (... |
; A169553: Number of reduced words of length n in Coxeter group on 12 generators S_i with relations (S_i)^2 = (S_i S_j)^35 = I.
; 1,12,132,1452,15972,175692,1932612,21258732,233846052,2572306572,28295372292,311249095212,3423740047332,37661140520652,414272545727172,4556998002998892,50126978032987812,551396758362865932
... |
// Copyright 2020 The Chromium OS 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 <memory>
#include <string>
#include <utility>
#include <base/check.h>
#include <base/run_loop.h>
#include <base/test/task_environment.h>
#inc... |
.include "defaults_mod.asm"
table_file_jp equ "exe6-utf8.tbl"
table_file_en equ "bn6-utf8.tbl"
game_code_len equ 3
game_code equ 0x4252354A // BR5J
game_code_2 equ 0x42523545 // BR5E
game_code_3 equ 0x42523550 // BR5P
card_type equ 1
card_id equ 33
card_no equ "033"
card_sub equ "Mod Card 033"
card_sub_x ... |
; A105374: a(n) = 4*n^3 + 4*n.
; 0,8,40,120,272,520,888,1400,2080,2952,4040,5368,6960,8840,11032,13560,16448,19720,23400,27512,32080,37128,42680,48760,55392,62600,70408,78840,87920,97672,108120,119288,131200,143880,157352,171640,186768,202760,219640,237432,256160,275848,296520,318200,340912,364680,389528,415480,442560,... |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkData.h"
#include "include/core/SkPixelRef.h"
#include "include/core/SkSurface.h"... |
default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
ALIGN 16
_x86_64_AES_encrypt:
xor eax,DWORD[r15]
xor ebx,DWORD[4+r15]
xor ecx,DWORD[8+r15]
xor edx,DWORD[12+r15]
mov r13d,DWORD[240+r15]
sub r13d,1
jmp NEAR $L$enc_loop
ALIGN 16
$L$enc_loop:
movzx esi,al
movzx edi,bl
... |
; **************************************************
; SMSlib - C programming library for the SMS/GG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
defc __NONEED = 1
INCLUDE "SMSlib_private.inc"
SECTION code_clib
SECTION code_SMSlib
PUBLIC asm_SMSlib_init
E... |
;***************************************************************************
; PROGRAM: DARTDriver
; PURPOSE: Subroutines for a Z80 DART
; ASSEMBLER: Z80asm
; LICENCE: The MIT Licence
; AUTHOR : F.J. Kraan based on UARTDriver from MCook
; CREATE DATE : 2020-12-25
;**************************... |
// Given two sorted arrays of integers and an integer n, find the nth (0-based) element of their sorted union.
// Example
// * For array1 = [1, 3, 4], array2 = [2, 6, 8] and n = 5, the output should be
// twoArraysNthElement(array1, array2, n) = 8.
typedef std::vector<int> vect;
int twoArraysNthElement(vect array1, v... |
; A343994: Number of nodes in graph BC(n,2) when the internal nodes are counted with multiplicity.
; Submitted by Jon Maiga
; 3,15,58,156,339,643,1110,1788,2731,3999,5658,7780,10443,13731,17734,22548,28275,35023,42906,52044,62563,74595,88278,103756,121179,140703,162490,186708,213531,243139,275718,311460,350563,393231,4... |
cmp {m1}
bne !+
lda {m1}+1
bne !+
jmp {la1}
!:
|
#include <min/aabbox.h>
#include <min/oobbox.h>
#include <min/sphere.h>
#include <min/tree.h>
#include <min/vec2.h>
#include <min/vec3.h>
template class min::tree<float, uint_fast16_t, uint_fast32_t, min::vec2, min::aabbox, min::aabbox>;
template class min::tree<float, uint_fast16_t, uint_fast32_t, min::vec3, min::aabb... |
;; Simulação Assembly 8051 usando EdSim51
;; Autor: Adriano J. Holanda
;; Programa para fazer o motor
;; no sentido horário e após
;; uma contagem, inverte para o
;; sentido anti-horário, e após
;; outra contagem, o motor para,
;; repetindo este ciclo indefinidamente.
start:
; sentido horário
SETB P3.0 ; | liga P3... |
;===============================================================================
; Copyright 2014-2018 Intel Corporation
; All Rights Reserved.
;
; If this software was obtained under the Intel Simplified Software License,
; the following terms apply:
;
; The source code, information and material ("Material") co... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x85ac, %rsi
lea addresses_WT_ht+0x158b2, %rdi
nop
nop
add %rbx, %rbx
mov $70, %rcx
rep movsw
and $37250, %r15
lea addresses_normal_ht+0x30ac, %r8
nop
and %rdi, %rdi
movb (%r8),... |
; A101292: a(n) = n! + Sum_{i=1..n} i.
; 1,2,5,12,34,135,741,5068,40356,362925,3628855,39916866,479001678,6227020891,87178291305,1307674368120,20922789888136,355687428096153,6402373705728171
mov $5,$0
mov $1,$0
mov $4,$0
sub $4,1
mul $4,$1
add $4,2
div $4,2
fac $1
sub $1,$4
add $1,1
mov $3,$5
mul $3,$5
mov $2,$3
add $... |
INF 19
NOP *CHIP_SELECT
HLT
test: .data 2
|
// 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-ut... |
CinnabarGymObject:
db $2e ; border block
db $2 ; warps
db $11, $10, $1, $ff
db $11, $11, $1, $ff
db $0 ; signs
db $9 ; objects
object SPRITE_MR_MASTERBALL, $3, $3, STAY, DOWN, $1, OPP_BLAINE, $1
object SPRITE_BLACK_HAIR_BOY_2, $11, $2, STAY, DOWN, $2, OPP_SUPER_NERD, $9
object SPRITE_BLACK_HAIR_BOY_2, $11, ... |
//
// Copyright 2016 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Unit tests for HandleRangeAllocator.
//
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "libANGLE/HandleRangeAllocator.h"
names... |
; Assembler should use basic 6502 instructions
processor 6502
; Some zero page data
org $0080
ZP_ZERO
.byte $00
ZP_ONE
.byte $01
ZP_TWO
.byte $02
ZP_D0
.word DATA_ZERO
ZP_D1
.word DATA_ONE
ZP_D2
.word DATA_TWO
ZP_D3
.word DATA_THREE
ZP_DP
.word PAGE_NEXT_ROOT
; Some non zero page data
org $400
DATA_ZE... |
db DEX_GOLEM ; pokedex id
db 80 ; base hp
db 110 ; base attack
db 130 ; base defense
db 45 ; base speed
db 55 ; base special
db ROCK ; species type 1
db GROUND ; species type 2
db 45 ; catch rate
db 177 ; base exp yield
INCBIN "pic/bmon/golem.pic",0,1 ; 66, sprite dimensions
dw GolemPicFront
dw GolemPicBack
; attacks k... |
; A185452: Image of n under the map n -> n/2 if n even, (5*n+1)/2 if n odd.
; 0,3,1,8,2,13,3,18,4,23,5,28,6,33,7,38,8,43,9,48,10,53,11,58,12,63,13,68,14,73,15,78,16,83,17,88,18,93,19,98,20,103,21,108,22,113,23,118,24,123,25,128,26,133,27,138,28,143,29,148,30,153,31,158,32,163,33,168,34,173,35,178,36,183,37,188,38,193,3... |
; stdio_nextarg
; 05.2008 aralbrec
XLIB stdio_nextarg
; get next 16-bit parameter from a va_arg parameter list
;
; enter : hl = & top of parameter list
; exit : de = 16-bit parameter from list
; hl = hl - 2
.stdio_nextarg
ld d,(hl)
dec hl
ld e,(hl)
dec hl
ret
|
// **********************************************************************************
//
// BSD License.
// This file is part of upnpx.
//
// Copyright (c) 2010-2011, Bruno Keymolen, email: bruno.keymolen@gmail.com
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modifica... |
#include <bits/stdc++.h>
using namespace std;
#define endn '\n'
int value(string name) {
int sum = 0, len = name.size(), new_sum;
for (int i = 0; i < len; i++) {
if (name[i] >= 'a' && name[i] <= 'z')
sum += (name[i] - 96);
else if (name[i] >= 'A' && name[i] <= 'Z')
sum ... |
// seed 4
lbi r0, 82 // icount 0
slbi r0, 2 // icount 1
lbi r1, 214 // icount 2
slbi r1, 35 // icount 3
lbi r2, 230 // icount 4
slbi r2, 90 // icount 5
lbi r3, 55 // icount 6
slbi r3, 216 // icount 7
lbi r4, 58 // icount 8
slbi r4, 119 // icount 9
lbi r5, 118 // icount 10
slbi r5, 45 // icount 11
lbi r6, 97 // icount 1... |
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
typedef struct JosephTwice {
int data;
struct JosephTwice* pre;//向前
struct JosephTwice* next;//向后
}NODE;
NODE* head = NULL, * tail = NULL;
int n, k, m, v;
void Oper() {
NODE* begin_1 = head;//指向头指针
if (NULL == begin_1)//判断是否分配内存成功
exit(-1);
w... |
/**
* Validate the order of calling initializer list of class and as its member variables.
*
* If we define the member variable within the class, if there is no initialization via
* initializer list for such variable then it will call default constructor, reversely it will
* call such specific constructor. The ord... |
; uint in_LookupKey(uchar c)
SECTION code_clib
PUBLIC in_LookupKey
PUBLIC _in_LookupKey
EXTERN in_keytranstbl
; Given the ascii code of a character, returns the scan row and mask
; corresponding to the key that needs to be pressed to generate the
; character.
;
; The scan row returned will have bit 7 set and bit 6 ... |
; menu.asm
SetupMenu proc
call ClsAttr ; Call another named procedure to do a fast CLS (like GOSUB)
Print(MenuText, MenuText.Length); Print text on the screen using ROM routines
WaitForSpace: ; ... |
;*****************************************************
;
; Video Technology library for small C compiler
;
; Juergen Buchmueller
;
;*****************************************************
; ----- int vz_inch(void)
XLIB vz_inch
.vz_inch ; almost same as getk() except for the sign extension
call... |
; A022851: a(n) = integer nearest nx, where x = sqrt(8).
; 0,3,6,8,11,14,17,20,23,25,28,31,34,37,40,42,45,48,51,54,57,59,62,65,68,71,74,76,79,82,85,88,91,93,96,99,102,105,107,110,113,116,119,122,124,127,130,133,136,139,141,144,147,150,153,156,158,161,164,167,170,173,175,178,181,184,187,190,192,195,198,201,204,206,209,2... |
copyright zengfr site:http://github.com/zengfr/romhack
001590 lea ($20,A0), A0
0041E8 move.w ($e,PC,D1.w), ($3a,A0) [enemy+7E]
00815E move.w D0, ($7e,A1) [123p+ 7C]
008162 move.b D0, (A4)+ [123p+ 7E, enemy+7E]
0082D4 move.w ($7e,A0), ($7e,A1) [enemy+96]
0082DA clr.w ($72,A1) [enemy+7E]
008760 cmpi.w ... |
.CODE
xxgetbv PROC
mov ecx, [esp + 4]
xgetbv
; db 0fh
; db 01h
; db d0h
ret
xxgetbv ENDP
END |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
; --COPYRIGHT--,BSD_EX
; Copyright (c) 2012, Texas Instruments Incorporated
; 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 co... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x140c5, %rsi
lea addresses_UC_ht+0x19c6d, %rdi
nop
nop
nop
nop
nop
sub $24311, %rbx
mov $52, %rcx
rep movsq
xor %r13, %r13
lea addresses_WT_ht+0x14af, %rsi
lea addresses_normal_ht+0x1de1d, %... |
Name: zel_shape_data.asm
Type: file
Size: 8640
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: 38FECC0922B9240E0BB4738480AF2309ADA3E9A6
Description: null
|
; A088225: Solutions to x^n == 7 mod 11.
; 2,6,7,8,13,17,18,19,24,28,29,30,35,39,40,41,46,50,51,52,57,61,62,63,68,72,73,74,79,83,84,85,90,94,95,96,101,105,106,107,112,116,117,118,123,127,128,129,134,138,139,140,145,149,150,151,156,160,161,162,167,171,172,173,178,182,183,184,189,193,194,195,200,204,205,206,211,215,216,2... |
MAIN: PUSH BYTE 72
PUSH BYTE 10
SUB BYTE
OUT
EXIT
|
// Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "datasync/sync_statistics.h"
namespace {
const int kUndefinedTime = -1;
}
namespace datasync {
SyncStatistics::SyncStatus SyncStat... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x9bb3, %rsi
lea addresses_WC_ht+0x35b3, %rdi
nop
nop
nop
nop
xor %r13, %r13
mov $76, %rcx
rep movsb
nop
dec %rcx
pop %rsi
pop %rdi
pop %rcx
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r8
push %... |
/*
* Copyright 2015 Google Inc. 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 applica... |
; A324400: Lexicographically earliest sequence such that a(i) = a(j) => f(i) = f(j) for all i, j >= 1, where f(n) = -1 if n = 2^k and k > 0, and f(n) = n for all other numbers.
; 1,2,3,2,4,5,6,2,7,8,9,10,11,12,13,2,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,2,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,4... |
/*
* arimaaio.cpp
* Author: davidwu
*/
#include <cstring>
#include <fstream>
#include <sstream>
#include <utility>
#include <cctype>
#include "../core/global.h"
#include "../board/board.h"
#include "../board/gamerecord.h"
#include "../eval/eval.h"
#include "../search/searchutils.h"
#include "../search/timecontrol.... |
/*-------------------------------------------------------------------------
* drawElements Quality Program EGL Module
* ---------------------------------------
*
* Copyright 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except... |
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r14
push %r15
push %rbx
push %rsi
// Store
mov $0xcdc, %r15
nop
nop
nop
nop
nop
add %r13, %r13
movw $0x5152, (%r15)
nop
sub %rsi, %rsi
// Load
lea addresses_US+0x1315c, %rbx
and %r13, %r13
movntdqa (%r... |
; A175112: First differences of A175111.
; 1,120,1442,6840,21122,51000,105122,194040,330242,528120,804002,1176120,1664642,2291640,3081122,4059000,5253122,6693240,8411042,10440120,12816002,15576120,18759842,22408440,26565122,31275000,36585122,42544440,49203842,56616120,64836002,73920120,83927042,94917240,106953122,12009... |
; A029026: Expansion of 1/((1-x)(1-x^2)(1-x^8)(1-x^11)).
; 1,1,2,2,3,3,4,4,6,6,8,9,11,12,14,15,18,19,22,24,27,29,33,35,40,42,47,50,55,58,64,67,74,78,85,90,97,102,110,115,124,130,139,146,156,163,174,181,193,201,213,222,235,244
lpb $0
mov $2,$0
sub $0,2
seq $2,25790 ; Expansion of 1/((1-x)(1-x^8)(1-x^11)).
add $... |
; Copyright (C) 2021 Michael Karcher (the patch, not the original BIOS!)
; This patch may be used and distributed according to the MIT License.
; This file is customizable. The comments at the start explain the
; constants that need to be defined to use AIC7770.ASM
; Function that resets the local state [bp+xxx]
; Mo... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
// ProfilingHelper.cpp
//
//
// Implementation of helper classes used for miscellaneous purposes within the profi... |
; A291557: a(n) = 23*2^n - 1.
; 22,45,91,183,367,735,1471,2943,5887,11775,23551,47103,94207,188415,376831,753663,1507327,3014655,6029311,12058623,24117247,48234495,96468991,192937983,385875967,771751935,1543503871,3087007743,6174015487,12348030975,24696061951,49392123903,98784247807,197568495615,395136991231,7902739824... |
//*****************************************************************************
// Copyright 2017-2021 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... |
bits 16
; RPN'ized expression: "17 "
; Expanded expression: "17 "
; Expression value: 17
; glb dig : [17u] char
section .data
global _dig
_dig:
; =
db "0123456789ABCDEF"
times 1 db 0
; Syntax/declaration table/stack:
; Bytes used: 75/40960
; Macro table:
; Macro __SMALLER_C__ = `0x0100`
; Macro __SMALLER_C_32_... |
# 1 "kvmvapic.S"
# 1 "<built-in>"
# 1 "<command-line>"
# 31 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 32 "<command-line>" 2
# 1 "kvmvapic.S"
# Local APIC acceleration for Windows XP and related guests
# Copyright 2011 Red Hat, Inc. and/or its affiliates
# Author: Avi Kivity <avi@redhat.com>
# This w... |
a db 0
mov a,1
|
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x751, %rsi
lea addresses_D_ht+0x95e9, %rdi
clflush (%rdi)
nop
nop
nop
cmp $40434, %r8
mov $86, %rcx
rep movsw
xor %rdx, %rdx
lea addresses_WC_ht+0xdd69, %r15
nop
nop
nop
add %rbx, %rbx
... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
;TEST_BEGIN_RECORDING
lea edi, [esp-0x08]
mov word [edi], 0x0001
FILD word [edi]
mov edi, 0
;TEST_END_RECORDING
|
;------------------------------------------------------------------------------
;
; 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... |
/******************************************************************************
* _ _____ __________ *
* | | / / _ | / __/_ __/ Visibility *
* | |/ / __ |_\ \ / / Across *
... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Set/Reset the couple of vectors being part of a "stencil"
; Basic concept by Rafael de Oliveira Jannone (calculate_side)
;
; Stefano Bodrato - 13/3/2009
;
;
; $Id: w_stencil_init.asm,v 1.4 2016/04/23 20:... |
SECTION code_clib
SECTION code_fp_am9511
PUBLIC l_f32_f2sint
PUBLIC l_f32_f2uint
EXTERN asm_am9511_f2sint
EXTERN asm_am9511_f2uint
; Convert floating point number to int
defc l_f32_f2sint = asm_am9511_f2sint
defc l_f32_f2uint = asm_am9511_f2uint
|
/*
* This file belongs to the Galois project, a C++ library for exploiting parallelism.
* The code is being released under the terms of the 3-Clause BSD License (a
* copy is located in LICENSE.txt at the top-level directory).
*
* Copyright (C) 2018, The University of Texas at Austin. All rights reserved.
* UNIVER... |
; A038163: G.f.: 1/((1-x)*(1-x^2))^3.
; 1,3,9,19,39,69,119,189,294,434,630,882,1218,1638,2178,2838,3663,4653,5863,7293,9009,11011,13377,16107,19292,22932,27132,31892,37332,43452,50388,58140,66861,76551,87381,99351,112651,127281,143451,161161,180642,201894,225170,250470,278070,307970,340470,375570,413595,454545,498771,5... |
; A291015: p-INVERT of (1,1,1,1,1,...), where p(S) = (1 - S^3)^2.
; 2,7,23,75,244,793,2576,8366,27167,88215,286439,930072,3019941,9805712,31838986,103380599,335674791,1089929347,3538978588,11490991649,37311016064,121148109014,393365440335,1277249563655,4147203285279,13465884484800,43723452275981,141969157756384,4609709... |
; A133043: Number of segments needed to draw the spiral of equilateral triangles with side lengths which follow the Padovan sequence.
; 3,5,6,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
add $... |
; A077904: Expansion of (1-x)^(-1)/(1+x-2*x^3).
; 1,0,1,2,-1,4,1,-2,11,-8,5,18,-33,44,-7,-58,147,-160,45,250,-569,660,-159,-978,2299,-2616,661,3938,-9169,10492,-2615,-15722,36707,-41936,10493,62922,-146793,167780,-41935,-251650,587211,-671080,167781,1006642,-2348801,2684364,-671079,-4026522
mov $1,1
lpb $0
mov $2,$0... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x149, %r10
nop
nop
nop
nop
and $53992, %rdi
mov $0x6162636465666768, %r13
movq %r13, %xmm1
movups %xmm1, (%r10)
nop
nop
and $22985, %r15
lea addresses_normal_ht+0x116f0, %r13
... |
; A170401: Number of reduced words of length n in Coxeter group on 8 generators S_i with relations (S_i)^2 = (S_i S_j)^44 = I.
; 1,8,56,392,2744,19208,134456,941192,6588344,46118408,322828856,2259801992,15818613944,110730297608,775112083256,5425784582792,37980492079544,265863444556808,1861044111897656,13027308783283592... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "DOMSVGAnimatedLengthList... |
; A075727: a(n) = 2 Pi * n rounded off.
; Submitted by Jon Maiga
; 0,6,13,19,25,31,38,44,50,57,63,69,75,82,88,94,101,107,113,119,126,132,138,145,151,157,163,170,176,182,188,195,201,207,214,220,226,232,239,245,251
mov $1,$0
mov $2,$0
add $0,1
add $2,7
div $2,2
add $2,1
div $2,4
add $0,$2
div $0,4
add $0,2
mov $3,$1
mul... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x9aed, %rbx
clflush (%rbx)
nop
nop
add %r8, %r8
movb (%rbx), %r12b
nop
nop
nop
xor $65324, %r10
lea addresses_WT_ht+0x7499, %r11
nop
nop
and $3082, %rdi
mov $0x6162636465666768... |
.text
.file "example0-8787f43e282added376259c1adb08b80.rs"
.section ".text._ZN95_$LT$example..Bla$LT$$u27$a$GT$$u20$as$u20$core..convert..Into$LT$alloc..string..String$GT$$GT$4into17h38301ffbb2e8fb47E","ax",@progbits
.globl _ZN95_$LT$example..Bla$LT$$u27$a$GT$$u20$as$u20$core..... |
; A239365: Numbers n such that 10*n^2+4 is a square.
; Submitted by Christian Krause
; 12,456,17316,657552,24969660,948189528,36006232404,1367288641824,51920962156908,1971629273320680,74869991424028932,2843088044839778736,107962475712487563036,4099730989029687616632,155681815107415641868980,5911809243092764703404608,22... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x18d52, %r9
nop
nop
sub $50732, %rdx
movw $0x6162, (%r9)
cmp $28062, %r11
lea addresses_UC_ht+0x7ad2, %rsi
add %r13, %r13
movb $0x61, (%rsi)
nop
nop
nop
nop
nop
inc %rdi
lea ad... |
; A119468: Triangle read by rows: T(n,k) = Sum_{j=0..n-k} binomial(n,2j)*binomial(n-2j,k).
; Submitted by Christian Krause
; 1,1,1,2,2,1,4,6,3,1,8,16,12,4,1,16,40,40,20,5,1,32,96,120,80,30,6,1,64,224,336,280,140,42,7,1,128,512,896,896,560,224,56,8,1,256,1152,2304,2688,2016,1008,336,72,9,1,512,2560,5760,7680,6720,4032,1... |
; *****************************************************************************
; *****************************************************************************
;
; Name: line.asm
; Purpose: Draw Line (Bresenham)
; Created: 25th March 2020
; Reviewed: TODO
; Author: Paul Robson (paul@robsons.org.uk)
;
; ********... |
#include "test_util/tpcc/workload_cached.h"
#include <random>
#include <string>
#include "binder/bind_node_visitor.h"
#include "execution/compiler/executable_query.h"
#include "execution/exec/execution_context.h"
#include "main/db_main.h"
#include "optimizer/cost_model/trivial_cost_model.h"
#include "parser/expressio... |
; A157859: a(n) = 103680000*n^2 - 28800*n + 1.
; 103651201,414662401,933033601,1658764801,2591856001,3732307201,5080118401,6635289601,8397820801,10367712001,12544963201,14929574401,17521545601,20320876801,23327568001,26541619201,29963030401,33591801601,37427932801,41471424001,45722275201,50180486401,54846057601,5971898... |
; A178343: Triangle T(n,m)= binomial(n, m)/Beta(m + 1, n - m + 1) read by rows.
; Submitted by Christian Krause
; 1,2,2,3,12,3,4,36,36,4,5,80,180,80,5,6,150,600,600,150,6,7,252,1575,2800,1575,252,7,8,392,3528,9800,9800,3528,392,8,9,576,7056,28224,44100,28224,7056,576,9,10,810,12960,70560,158760,158760,70560,12960,810,1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.