text stringlengths 1 1.05M |
|---|
#include "dmzJsModuleUiV8QtBasic.h"
#include <dmzJsV8UtilConvert.h>
#include "dmzV8QtTabWidget.h"
#include "dmzV8QtUtil.h"
#include <QtGui/QAbstractButton>
#include <QtGui/QTabWidget>
dmz::V8Value
dmz::JsModuleUiV8QtBasic::_tab_widget_add (const v8::Arguments &Args) {
v8::HandleScope scope;
V8Value result = v8... |
/*
* Programming language 'Chatra' reference implementation
*
* Copyright(C) 2019-2020 Chatra Project Team
*
* 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... |
dnl AMD64 mpn_mul_basecase optimised for AMD Zen.
dnl Copyright 2012, 2013, 2017 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Pub... |
Underground_Coll:: INCBIN "gfx/tilesets/underground.tilecoll"
Overworld_Coll:: INCBIN "gfx/tilesets/overworld.tilecoll"
RedsHouse1_Coll::
RedsHouse2_Coll:: INCBIN "gfx/tilesets/reds_house.tilecoll"
Mart_Coll::
Pokecenter_Coll:: INCBIN "gfx/tilesets/pokecenter.tilecoll"
Dojo_Coll::
Gym_Coll:: INCBIN... |
; A030002: (prime(n)-5)(prime(n)-7)(prime(n)-9)/48.
; 0,0,1,4,20,35,84,220,286,560,816,969,1330,2024,2925,3276,4495,5456,5984,7770,9139,11480,15180,17296,18424,20825,22100,24804,35990,39711,45760,47905,59640,62196,70300,79079,85320,95284,105995,109736,129766,134044,142880,147440,176851,209934,221815,227920,240464,26013... |
; A176916: 5^n + 5n + 1.
; 2,11,36,141,646,3151,15656,78161,390666,1953171,9765676,48828181,244140686,1220703191,6103515696,30517578201,152587890706,762939453211,3814697265716,19073486328221,95367431640726,476837158203231
mov $1,5
pow $1,$0
mov $2,$0
mul $2,5
add $1,$2
add $1,1
mov $0,$1
|
; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 89
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %30 %76
OpExecutionMode %4 Orig... |
iny
tya |
/*
* Copyright (c) 2013-2014 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the ... |
; A055789: a(n) = binomial(n, round(sqrt(n))).
; 1,1,2,3,6,10,15,35,56,84,120,165,220,715,1001,1365,1820,2380,3060,3876,4845,20349,26334,33649,42504,53130,65780,80730,98280,118755,142506,736281,906192,1107568,1344904,1623160,1947792,2324784,2760681,3262623,3838380,4496388,5245786,32224114,38320568,45379620,53524680,628... |
/*
*********************************************************************************************************
* uC/OS-III
* The Real-Time Kernel
*
* Copyright 2009-2020 Silicon Laboratories Inc. www.silabs.com
*
* ... |
; ===============================================================
; Apr 2014
; ===============================================================
;
; void heap_info(void *heap, void *callback)
;
; Visit each block in the heap and pass information about
; the block to the callback function.
;
; ==========================... |
;;
;; Copyright (c) 2020, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and the ... |
; A085602: Numbers of the form (2n+1)^(2n+1) + 1.
; 2,28,3126,823544,387420490,285311670612,302875106592254,437893890380859376,827240261886336764178,1978419655660313589123980,5842587018385982521381124422,20880467999847912034355032910568,88817841970012523233890533447265626,443426488243037769948249630619149892804,2567686... |
; Buffering (get multi-byte) utility V2.00 1989 Tony Tebby QJUMP
section iou
xdef iob_gmul
xref iob_gbyt
include 'dev8_keys_buf'
;+++
; This routine gets multiple bytes from an IO buffer. If it needs a
; new buffer, the old buffer is added to the linked list of throwaw... |
; A288465: a(n) = 2*a(n-1) - a(n-4), where a(0) = 2, a(1) = 4, a(2) = 6, a(3) = 10.
; 2,4,6,10,18,32,58,106,194,356,654,1202,2210,4064,7474,13746,25282,46500,85526,157306,289330,532160,978794,1800282,3311234,6090308,11201822,20603362,37895490,69700672,128199522,235795682,433695874,797691076,1467182630,2698569578,496344... |
; void __CALLEE__ sp1_PrintAtInv_callee(uchar row, uchar col, uint tile)
; 01.2008 aralbrec, Sprite Pack v3.0
; ts2068 hi-res version
PUBLIC sp1_PrintAtInv_callee
PUBLIC ASMDISP_SP1_PRINTATINV_CALLEE
EXTERN sp1_GetUpdateStruct_callee, sp1_PrintAt_callee
EXTERN ASMDISP_SP1_GETUPDATESTRUCT_CALLEE, ASMDISP_SP1_PRINTAT_C... |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... |
; A207836: a(n) = n*A052530(n)/2.
; 0,3,16,75,336,1463,6240,26199,108640,445995,1815792,7341347,29505840,117982815,469672384,1862393775,7359403968,28991540051,113892526800,446305331451,1744950085648,6808253393415,26513475730464,103072540115975,400058834841120,1550464509091707,6000723890790832,23194828101288915,89549252... |
;
; Amstrad CPC library
; (CALLER linkage for function pointers)
;
; set color palette, flashing is useless so we forget the second color
;
; void __LIB__ __CALLEE__ cpc_Uncrunch(int src, int dst);
;
; $Id: cpc_Uncrunch.asm $
;
SECTION code_clib
PUBLIC cpc_Uncrunch
... |
; unsigned char zx_tape_load_block(void *dst, unsigned int len, unsigned char type)
SECTION code_clib
SECTION code_arch
PUBLIC zx_tape_load_block_callee
EXTERN asm_zx_tape_load_block
zx_tape_load_block_callee:
pop af
pop bc
pop de
pop ix
push af
ld a,c
jp asm_zx_tape_load_block
|
INCLUDE "config_private.inc"
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC console_01_output_char_oterm_msg_putc
PUBLIC console_01_output_char_oterm_msg_putc_raw
EXTERN l_jpix
EXTERN console_01_output_char_proc_putchar_scroll
EXTERN console_01_output_char_proc_linefeed
console_01_output_char_oterm... |
org 24576
INCLUDE "input.asm"
INCLUDE "im2.asm"
INCLUDE "entities.asm"
INCLUDE "depack.asm"
INCLUDE "rambank.asm"
END_P1:
org $8000
IM2table: ds 257 ; IM2 table (reserved)
start_game:
set_interrupt:
ld a, 0x9a
ld hl, 0x8000
ld de, ISR
call SetIM2
pre_begin:
xor a
... |
#include "Exercise.h"
namespace Algorithms {
// 初始化
std::vector<const Exercise*> Exercise::exercises;
Exercise::Exercise (const Exercise* exercise)
{
exercises.push_back (exercise);
}
void Exercise::ExecExercise ()
{
for (auto exercise : exercises)
{
std::cout << "===== " << exercis... |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1080c, %r9
nop
nop
nop
nop
sub %rbp, %rbp
vmovups (%r9), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $1, %xmm2, %rdx
nop
nop
nop
nop
nop
and $4660, %r15
lea addresses_norm... |
.file "tools.c"
.section .rodata
.align 32
.local named
.type named, @object
named:
.long 1
.long 2
.LC2:
.string "test\n"
.size named, 8
# ----------------------
.text
.globl main
.type main, @function
main:
ret
.size main, .-main
# ----------------------
.local other
.type other, @functio... |
; ===============================================================
; Dec 2013
; ===============================================================
;
; size_t strlen(const char *s)
;
; Return length of string s.
;
; ===============================================================
SECTION code_clib
SECTION code_string
PUB... |
; A003132: Sum of squares of digits of n.
; 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,73,80,89,100,113,128,145,81,82,85... |
; A007972: Number of permutations that are 2 "block reversals" away from 12...n.
; 2,15,52,129,266,487,820,1297,1954,2831,3972,5425,7242,9479,12196,15457,19330,23887,29204,35361,42442,50535,59732,70129,81826,94927,109540,125777,143754,163591,185412,209345,235522,264079,295156,328897,365450,404967,447604
mov $4,$0
lpb ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xfd37, %rcx
nop
nop
nop
xor %r15, %r15
mov (%rcx), %r13w
xor %r12, %r12
lea addresses_A_ht+0xc85d, %rax
nop
nop
nop
nop
nop
sub $50320, %r8
movups (%rax), %xmm7
vpext... |
#include "ApplicationHandler.hpp"
#include "../../ext/FullScreenTriangle/FullScreenTriangle.h"
#include "../../ext/ScreenShot/ScreenShot.h"
#include <irr/asset/filters/kernels/CGaussianImageFilterKernel.h>
#include <irr/asset/filters/kernels/CDerivativeImageFilterKernel.h>
#include <irr/asset/filters/kernels/CBoxImag... |
lhu $4,8($0)
lw $6,0($0)
sltu $4,$3,$3
lbu $5,0($0)
and $3,$3,$3
srl $5,$3,21
subu $3,$1,$3
sh $3,4($0)
subu $4,$5,$3
sra $5,$3,30
lb $6,1($0)
addu $3,$5,$3
srav $3,$5,$3
subu $4,$4,$3
srlv $5,$2,$3
nor $4,$4,$3
srav $3,$5,$3
sw $4,4($0)
subu $4,$1,$3
addu $5,$4,$3
srlv $3,$4,$3
subu $0,$4,$3
sb $3,4($0)
xori $0,$0,345... |
;; Copyright 2019 Chris Smeele
;;
;; 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
;;
;; https://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to i... |
;
; Startup for the CCE MC-1000
;
; Stefano Bodrato - Feb. 2013
;
; $Id: mc1000_crt0.asm,v 1.22 2016-07-15 21:03:25 dom Exp $
;
; There are a couple of #pragma optimization directives
; this file:
;
; #pragma output nostreams - No stdio disc files
MODULE mc1000_crt0
;----... |
; A037105: Trajectory of 3 under map n->15n+1 if n odd, n->n/2 if n even
; Submitted by Jon Maiga
; 3,46,23,346,173,2596,1298,649,9736,4868,2434,1217,18256,9128,4564,2282,1141,17116,8558,4279,64186,32093,481396,240698,120349,1805236,902618,451309,6769636,3384818,1692409
add $0,1
mov $1,$0
mov $0,3
lpb $1
mov $2,$0
... |
#ifndef INCLUDED_SROOK_UTILITY_EXCHANGE_HPP
#define INCLUDED_SROOK_UTILITY_EXCHANGE_HPP
#include <srook/config/feature/inline_namespace.hpp>
#include <srook/config/noexcept_detection.hpp>
#include <srook/type_traits/is_nothrow_move_constructible.hpp>
#include <srook/type_traits/is_nothrow_assignable.hpp>
#include <sroo... |
;
; MicroBEE pseudo graphics routines
;
; cls () -- clear screen
;
; Stefano Bodrato - 2016
;
;
; $Id: w_clg_320.asm,v 1.3 2017/01/02 21:51:24 aralbrec Exp $
;
SECTION code_clib
PUBLIC clg
PUBLIC _clg
EXTERN cleargraphics
EXTERN swapgfxbk
.vdutab ; 40x24
defb $35,40,$2D,$2... |
;/*!
; @file
;
; @ingroup fapi
;
; @brief DosCreateThread DOS wrapper
;
; (c) osFree Project 2022, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Proku... |
/*
___ ___ __ __ ____________
| | | | |__|__|__ ___/ Ubiquitout Internet @ IIT-CNR
| | | | /__/ / / / C++ ETSI MEC library
| | | |/__/ / / / https://github.com/ccicconetti/wsk/
|_______|__|__/__/ /__/
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
Cop... |
/***************************************************************************
* Name: Casey Cole
* Email: coleca@email.sc.edu
* Function: Main driver for Account object
*
* Copyright (C) 2020 by Casey Cole *
* ... |
; A134986: a(n) = smallest integer m not equal to n such that n = (floor(n^2/m) + m)/2.
; 2,3,2,3,4,5,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,21,22,23,24,25,26,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,47,48,49,50,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,65,66,67,68,69,70,71,72,7... |
; A141974: Primes congruent to 23 mod 28.
; 23,79,107,163,191,331,359,443,499,751,863,919,947,1031,1087,1171,1283,1367,1423,1451,1619,1759,1787,1871,2011,2039,2179,2207,2347,2459,2543,2683,2711,2767,2851,2879,2963,3019,3187,3271,3299,3467,3607,3691,3719,3803,3943,4027,4111,4139,4363,4391,4447,4643,4783,4951,5119,5147,5... |
#include <iostream>
#include "DisplayMessage.h"
int main() {
std::cout << "Welcome!" << std::endl;
displayMessage();
return 0;
}
|
; A080522: Leading diagonal of triangle in A080521.
; 1,3,5,10,22,49,107,228,476,979,1993,4030,8114,16293,32663,65416,130936,261991,524117,1048386,2096942,4194073,8388355,16776940,33554132,67108539,134217377,268435078,536870506,1073741389,2147483183,4294966800,8589934064,17179868623,34359737773,68719476106,137438952806... |
println "begin"
println 42, 1 2 3 4
for n, 5
println "start {d:n}"
println syntax error
println "finish {d:n}"
endr
println "end {d:n}"
|
; ==================================================================================================
; === STACK MACROS
; ==================================================================================================
macro m6_popbuffer
pop af ; 10
pop bc ; 10
pop de ; 10
pop hl ; 10... |
// Copyright 2021 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/files/file_util.h>
#include <base/memory/scoped_refptr.h>
#include <base/test/ta... |
; float __schar2fs_callee(signed char sc)
SECTION code_fp_math48
PUBLIC cm48_sdcciyp_schar2ds_callee
EXTERN am48_double8, cm48_sdcciyp_m482d
cm48_sdcciyp_schar2ds_callee:
; signed char to double
;
; enter : stack = signed char sc, ret
;
; exit : dehl = sdcc_float(sc)
;
; uses : af, bc, de, ... |
#include "NonIndirectLayout.h"
#include "Device.h"
#include "VulkanInitializers.h"
#include "VulkanGltf.h"
#include "Texture.h"
#include "Buffer.h"
#include "VulkanDebug.h"
namespace genesis
{
NonIndirectLayout::NonIndirectLayout(Device* device)
: _device(device)
{
// nothing else to do
}
NonI... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Weapon data file parsing, shared by game & client dlls.
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include <KeyValues.h>
#include <tier0/mem.h>
#inc... |
//
// Created by elad on 13/06/2020.
//
#include <cstddef>
#include <cassert>
#include <vector>
#ifndef MATALA5_CONTAINERS_RANGE_H
#define MATALA5_CONTAINERS_RANGE_H
#endif //MATALA5_CONTAINERS_RANGE_H
namespace itertools {
template<typename T = size_t>
class range {
const T kStart, kEnd, step;
... |
; A046667: a(n) = A046666(n)/2.
; Submitted by Christian Krause
; 0,0,1,0,2,0,3,3,4,0,5,0,6,6,7,0,8,0,9,9,10,0,11,10,12,12,13,0,14,0,15,15,16,15,17,0,18,18,19,0,20,0,21,21,22,0,23,21,24,24,25,0,26,25,27,27,28,0,29,0,30,30,31,30,32,0,33,33,34,0,35,0,36,36,37,35,38,0,39,39,40,0,41,40,42,42,43,0,44,42,45,45,46,45,47,0,48,... |
/**
* Autogenerated by Thrift for src/module.thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/MyServicePrioParent.h"
#include "thrift/compiler/test/fixtures/basic-annotations/gen-cpp2/MyServicePrioParent.... |
/*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* ... |
#include <Components/PlayerComp.h>
#include <Core/GameObjectManager.h>
#include <Components/ModelComp.h>
#include <Components/BoxColliderComp.h>
#include <Components/TransformComp.h>
#include <Utils/Ray.h>
#include <Components/RigidBodyComp.h>
void Components::PlayerComp::ProcessKeyInput(Core::GameObjectManager& p_gam... |
; A258648: Eighth arithmetic derivative of n.
; 0,0,0,0,4,0,0,0,1520,0,0,0,3424,0,0,752,8592,0,0,0,3120,0,0,0,8144,0,368,27,8592,0,0,0,20096,0,0,1520,8976,0,0,3424,2176,0,0,0,16304,1520,0,0,32624,0,752,1552,8976,0,10260,3424,22288,0,0,0,22288,0,0,608,12976128,0,0,0,7744,176,0,0,24640,0,1520,1520,20096,0,0,0,70464,23112... |
format PE64 GUI 5.0
entry start
; from chapter 5 of Ruslan Ablyazovs book
include 'win64a.inc'
section '.data' data readable writeable
main_hwnd dq ?
msg MSG
wc WNDCLASS
hInst dq ?
szTitleName db 'Window work sample Win64',0
szClassName db 'ASMCLASS32',0
butt... |
; A197691: Decimal expansion of Pi/(4 + 4*Pi).
; Submitted by Jamie Morken(l1)
; 1,8,9,6,3,6,7,4,8,2,4,8,6,9,4,0,3,6,3,3,6,1,0,7,6,7,2,2,6,1,2,2,3,2,1,6,0,3,4,6,0,6,5,9,1,4,1,0,1,3,2,7,4,9,1,6,7,2,4,7,0,5,3,4,4,5,6,3,7,0,3,4,2,7,5,2,3,9,3,4,4,0,8,0,1,5,8,2,9,3,5,0,3,8,3,8,9,4,3
add $0,1
mov $2,1
mov $3,$0
mul $3,5
lpb... |
; A121204: -2n+7^n-5^n.
; 0,0,20,212,1768,13672,102012,745404,5374160,38400464,272709604,1928498596,13597146552,95668307256,672119557196,4717043931788,33080342678944,231867574534048,1624598900644788,11379821699044980,79696898865971336,558069026925080840,3907436862791972380,27356826411125838172,191521626735791023728,134... |
/*
* Copyright 2013 Southwest Research Institute
*
* 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 applicab... |
#include "Mcu.inc"
#include "InitialisationChain.inc"
#include "TestDoubles.inc"
radix decimal
udata
global calledInitialiseAfterUi
calledInitialiseAfterUi res 1
InitialiseAfterUiMock code
global initialiseInitialiseAfterUiMock
global INITIALISE_AFTER_UI
initialiseInitialiseAfterUiMock:
banksel calledInit... |
/*
* Copyright 2019 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" ... |
BITS 32
pop eax
pop esp
ret |
; A157108: Triangle, read by rows, T(n, k) = binomial(n*binomial(n, k), k).
; Submitted by Christian Krause
; 1,1,1,1,4,1,1,9,36,1,1,16,276,560,1,1,25,1225,19600,12650,1,1,36,4005,280840,2555190,376992,1,1,49,10731,2421090,146475945,534017484,13983816,1,1,64,24976,14885696,4053946260,147055790784,163995687856,621216192... |
; A157262: a(n) = 36*n^2 - 55*n + 21.
; 2,55,180,377,646,987,1400,1885,2442,3071,3772,4545,5390,6307,7296,8357,9490,10695,11972,13321,14742,16235,17800,19437,21146,22927,24780,26705,28702,30771,32912,35125,37410,39767,42196,44697,47270,49915,52632,55421,58282,61215,64220,67297,70446,73667,76960,80325,83762,87271,90852,... |
; A099363: An inverse Chebyshev transform of 1-x.
; Submitted by Jamie Morken(s4)
; 1,-1,1,-2,2,-5,5,-14,14,-42,42,-132,132,-429,429,-1430,1430,-4862,4862,-16796,16796,-58786,58786,-208012,208012,-742900,742900,-2674440,2674440,-9694845,9694845,-35357670,35357670,-129644790,129644790,-477638700,477638700,-1767263190,17... |
; File: Int128x64.asm
; build obj-file with
; ml64 /nologo /c /Zf /Fo$(IntDir)Int128x64.obj Int128x64.asm
.CODE
;void int128sum(_int128 &dst, cnost _int128 &x, const _int128 &y);
int128sum PROC
push rbx
mov rax, qword ptr[rdx]
add rax, qword ptr[r8]
mov rbx, qword ptr[rdx+8]
adc ... |
/**@addtogroup Stemming
@brief Library for stemming words down to their root words.
@date 2003-2015
@copyright Oleander Software, Ltd.
@author Oleander Software, Ltd.
@details This program is free software; you can redistribute it and/or modify
it under the terms of the BSD License.
* @{*/
#ifndef __RUSSIAN_STEM_H__
#... |
TITLE BUF - MSDOS buffer management
NAME BUF
;
; Microsoft Confidential
; Copyright (C) Microsoft Corporation 1991
; All Rights Reserved.
;
;** BUF.ASM - Low level routines for buffer cache management
;
; GETCURHEAD
; ScanPlace
; PLACEBUF
; PLACEHEAD
; PointComp
; GETBUFFR
; GETBUFFRB
; FlushBuf
; BufWrite
; SET_RQ_... |
//===--------------------------------------------------------------------------------*- C++ -*-===//
// _ _
// | | | |
// __ _| |_ ___| | __ _ _ __ __ _
// / _` | __/ __| |/ _` | '_ \ / _` |
// | (_| | || (_... |
#include <iostream>
#include <limits>
#include <new>
#include <cassert>
#include <adobe/algorithm.hpp>
#include <adobe/forest.hpp>
#include <boost/range.hpp>
template <typename R> // R is a depth adaptor range
void output(const R& f)
{
typedef typename boost::range_iterator<R>::type iterator;
for (iterator f... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x7f90, %rsi
lea addresses_UC_ht+0x17650, %rdi
nop
nop
add %r14, %r14
mov $40, %rcx
rep movsb
nop
nop
nop
nop
nop
add $5554, %r15
lea addresses_UC_ht+0x1da10, %rdi
nop
nop
nop
nop
no... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x2e87, %rbx
sub %r13, %r13
mov $0x6162636465666768, %r12
movq %r12, %xmm7
movups %xmm7, (%rbx)
nop
nop
nop
nop
xor $17025, %r11
lea addresses_WC_ht+0x14c37, %r13
sub $28273, %... |
; A099821: Odd positive integers in base 2 (bisection of A007088).
; 1,11,101,111,1001,1011,1101,1111,10001,10011,10101,10111,11001,11011,11101,11111,100001,100011,100101,100111,101001,101011,101101,101111,110001,110011,110101,110111,111001,111011,111101,111111,1000001,1000011,1000101,1000111,1001001,1001011,1001101,10... |
; A110665: Sequence is {a(0,n)}, where a(m,0)=0, a(m,n) = a(m-1,n)+a(m,n-1) and a(0,n) is such that a(n,n) = n for all n.
; 0,1,0,-3,-4,0,6,7,0,-9,-10,0,12,13,0,-15,-16,0,18,19,0,-21,-22,0,24,25,0,-27,-28,0,30,31,0,-33,-34,0,36,37,0,-39,-40,0,42,43,0,-45,-46,0,48,49,0,-51,-52,0,54,55,0,-57,-58,0,60,61,0,-63,-64,0,66,67... |
.ORG 0
.BLOCK 65537
.END
|
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "db/log_reader.h"
#include "db/log_writer.h"
#include "leveldb/env.h"
#include "util/coding.h"... |
/* 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... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x18d1f, %rsi
lea addresses_D_ht+0xf697, %rdi
and $1717, %rax
mov $72, %rcx
rep movsb
nop
nop
cmp $38080, %r13
lea addresses_UC_ht+0x18707, %rbp
nop
cmp %r15, %r15
mov $0x6162636465... |
frame 1, 08
frame 0, 08
frame 1, 08
endanim |
/*This file is part of the FEBio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio.txt for details.
Copyright (c) 2019 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any person obtaining ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x4705, %r12
nop
nop
nop
and $32944, %r14
mov (%r12), %si
nop
nop
nop
nop
and $65238, %rbx
lea addresses_normal_ht+0xed05, %rsi
clflush (%rsi)
nop
nop
nop
nop
sub %rbx, %rbx
movb $0x... |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="oldfd, old, newfd, new"/>
<%docstring>
Invokes the syscall renameat. See 'man 2 renameat' for more information.
Arguments:
oldfd(int): oldfd
old(char): old
newfd(int): newfd
new(char): new
</%docstring>
${syscall('SYS_ren... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.40219.01
TITLE D:\Projects\TaintAnalysis\AntiTaint\Epilog\src\struct-align.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
_DATA SEGMENT
$SG3571 DB '%d %d %d', 00H
ORG $+3
$SG3580 DB '%s %d ... |
leaw $R0,%A
movw (%A),%D
leaw $R3,%A
movw %D,(%A) ;valor R0 salvo em R3.
leaw $R1,%A
movw (%A),%D ; d com valor de R1
leaw $R4,%A
movw %D,(%A) ; R1 em R4
while1:
leaw $R3, %A
movw (%A),%D
leaw $R4, %A
subw %D,(%A),%S
leaw $R3,%A
movw %S,(%A)
leaw $R5,%A
movw (%A),%D
incw %D
leaw $R5,%A
movw %D,(%A)
leaw $R... |
; A128054: Count, omitting numbers of the form 6k+4 and doubling multiples of 6.
; 0,0,1,2,3,5,6,6,7,8,9,11,12,12,13,14,15,17,18,18,19,20,21,23,24,24,25,26,27,29,30,30,31,32,33,35,36,36,37,38,39,41,42,42,43,44,45,47,48,48,49,50,51,53,54,54,55,56,57,59,60,60,61,62,63,65,66,66
trn $0,1
lpb $0,1
add $1,$0
mod $0,6
... |
; A230774: Number of primes less than first prime above square root of n.
; 1,1,1,1,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
seq $0,196 ; Integer part of square root of... |
0x0a, 0x0a, 0x2f, 0x2f, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d,
0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d,
0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d, 0x3d,
0x3d, 0x3d, 0x3d, 0x3d, 0x... |
// Copyright 1996-2019 Cyberbotics Ltd.
//
// 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 agr... |
; A173455: Row sums of triangle A027751.
; 1,1,1,3,1,6,1,7,4,8,1,16,1,10,9,15,1,21,1,22,11,14,1,36,6,16,13,28,1,42,1,31,15,20,13,55,1,22,17,50,1,54,1,40,33,26,1,76,8,43,21,46,1,66,17,64,23,32,1,108,1,34,41,63,19,78,1,58,27,74,1,123,1,40,49,64,19,90,1,106,40,44,1,140,23,46,33,92,1,144,21,76,35,50,25,156,1,73,57,117,1,11... |
; A291521: The arithmetic function uhat(n,4,6).
; -11,-12,-11,-12,-11,-12,-11,-12,-11,-12,-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,-6... |
[bits 16]
[section .text]
extern __virtine_main
global _start
_start:
cli
mov eax, gdtr32
lgdt [eax]
mov eax, cr0
or al, 1
mov cr0, eax
jmp 08h:.trampoline
[bits 32]
.trampoline:
mov esp, 0x1000
mov ebp, esp
push dword 0
call __virtine_main
out 0xFA, ax ;; call the exit hypercall
global hcall
hcall:
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xe5a7, %rsi
lea addresses_WC_ht+0xfba7, %rdi
nop
nop
nop
nop
and %rdx, %rdx
mov $80, %rcx
rep movsl
nop
nop
and $31746, %rdx
lea addresses_UC_ht+0x24a7, %rbx
nop
nop
cmp $4291... |
; A268226: Complement of A056991.
; 2,3,5,6,8,11,12,14,15,17,20,21,23,24,26,29,30,32,33,35,38,39,41,42,44,47,48,50,51,53,56,57,59,60,62,65,66,68,69,71,74,75,77,78,80,83,84,86,87,89,92,93,95,96,98,101,102,104,105,107,110,111,113,114,116,119,120,122,123,125,128,129,131,132,134,137,138,140,141,143,146,147,149,150,152,155,... |
; Variables
x: equ 5
; code
ld a,x ; copy 5 into the A register
ld a,a
ld b,a
ld c,a
ld d,a
ld e,a
ld h,a
ld l,a
|
Marts:
; entries correspond to MART_* constants
dw Mart0Badge
dw Mart1Badge
dw Mart3Badge
dw Mart5Badge
dw Mart7Badge
dw Mart8Badge
dw MartJubilife
dw MartOreburgh
.End
Mart0Badge:
db 4 ; # items
db POKE_BALL
db POTION
db ANTIDOTE
db PARLYZ_HEAL
db -1 ; end
Mart1Badge:
db 10 ; # items
db POKE_BALL
db... |
#include "Platform.inc"
#include "FarCalls.inc"
#include "Flash.inc"
#include "SunriseSunset.inc"
#include "States.inc"
radix decimal
defineSunriseSunsetState SUN_STATE_SUNSET_LOADLOOKUPS
call loadLookupIndexIntoFlashAddress
call loadLookupTableEntryFromFlash
setSunriseSunsetNextState SUN_STATE_SUNSET_L... |
#ifndef _UI_H
#define _UI_H
#ifdef __APPLE__
#include <OpenGL/gl3.h>
#define NANOVG_GL3_IMPLEMENTATION
#define nvgCreate nvgCreateGL3
#else
#include <GLES3/gl3.h>
#include <EGL/egl.h>
#define NANOVG_GLES3_IMPLEMENTATION
#define nvgCreate nvgCreateGLES3
#endif
#include <pthread.h>
#include "nanovg.h"
#include "commo... |
; A008622: Expansion of 1/((1-x^4)*(1-x^6)*(1-x^7)).
; 1,0,0,0,1,0,1,1,1,0,1,1,2,1,2,1,2,1,3,2,3,2,3,2,4,3,4,3,5,3,5,4,6,4,6,5,7,5,7,6,8,6,9,7,9,7,10,8,11,9,11,9,12,10,13,11,14,11,14,12,16,13,16,14,17,14,18,16,19,16,20,17,21,18,22,19,23,20,24,21,25,22,26,23,28,24,28,25,30,26,31,28,32,28,33,30,35,31,36,32
mov $3,$0
mov... |
; A016791: a(n) = (3*n + 2)^3.
; 8,125,512,1331,2744,4913,8000,12167,17576,24389,32768,42875,54872,68921,85184,103823,125000,148877,175616,205379,238328,274625,314432,357911,405224,456533,512000,571787,636056,704969,778688,857375,941192,1030301,1124864,1225043,1331000,1442897,1560896,1685159,1815848,1953125,2097152,224... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.