text stringlengths 1 1.05M |
|---|
%ifdef CONFIG
{
"RegData": {
"XMM0": ["0x2020202000000000", "0x0"],
"XMM1": ["0x2020202000000000", "0x0"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x6162636445464748
mov [rdx + 8 * 0], rax
mov rax, 0x5152535455565758
mov [rdx + 8 * 1], rax
mov rax, 0x4... |
/*
Q Light Controller Plus
inputoutputmap.cpp
Copyright (c) Massimo Callegari
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.txt
Un... |
/*
Copyright (C) 2021 George Cave.
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... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xc435, %rbx
dec %r15
movups (%rbx), %xmm2
vpextrq $1, %xmm2, %rdi
nop
nop
sub %r11, %r11
lea addresses_WT_ht+0x3975, %rsi
lea addresses_A_ht+0x1d705, %rdi
nop
inc %rdx
mov $88... |
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1981 - 1991
; * All Rights Reserved.
; */
PAGE 90,132 ;AN000;A2
TITLE GRTABSM.SAL - GRAFTABL SYSTEM MESSAGES ;AN000;
;****************** START OF SPECIFICATIONS *****************... |
// Filename: nameUniquifier.cxx
// Created by: drose (16Feb00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You sh... |
; A028873: Numbers k such that k^2 - 3 is prime.
; Submitted by Christian Krause
; 4,8,10,14,20,26,32,34,40,44,46,58,64,68,80,86,88,92,98,110,112,118,124,128,136,140,142,146,164,172,190,194,202,206,208,218,220,250,254,266,268,296,298,304,310,320,322,326,328,332,340,350,356,362,370,416,418,436,440,452,460,470,488,494,50... |
device zxspectrum128
org #8000
lab nop
lab ret
|
; A212568: Number of (w,x,y,z) with all terms in {1,...,n} and w<|x-y|+|y-z|.
; 0,0,2,24,98,272,608,1184,2092,3440,5350,7960,11422,15904,21588,28672,37368,47904,60522,75480,93050,113520,137192,164384,195428,230672,270478,315224,365302,421120,483100,551680,627312,710464,801618
lpb $0
sub $0,2
mov $2,$0
max $2,0
... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Compute the line coordinates and put into a vector
; Basic concept by Rafael de Oliveira Jannone (calculate_side)
;
; Stefano Bodrato - 13/3/2009
;
;
; $Id: stencil_add_side.asm,v 1.7 2016-04-22 20:29... |
#include <catch2/catch.hpp>
#include <TDEngine2.h>
#include <vector>
#include <tuple>
using namespace TDEngine2;
TEST_CASE("TRect Tests")
{
SECTION("TestContainsPoint_PassPoint_ReturnsCorrectResult")
{
TRectF32 rect { 0.0f, 0.0f, 100.0f, 100.0f }; /// a quad with sizes of 100
std::vector<std::pair<TVector2, ... |
// Copyright (C) 2019-2020 Zilliz. 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 l... |
#include "contentmediautils.h"
#include <QDebug>
#include <QSet>
#include <QFileInfo>
#include <QDir>
#include <QHash>
#include <notebookbackend/inotebookbackend.h>
#include <notebook/node.h>
#include <buffer/filetypehelper.h>
#include <vtextedit/markdownutils.h>
#include <vtextedit/textutils.h>
#include <utils/pa... |
; A213248: Number of nonzero elements in GF(2^n) that are 13th powers.
; 1,3,7,15,31,63,127,255,511,1023,2047,315,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,1290555,33554431,67108863,134217727,268435455,536870911,1073741823,2147483647,4294967295,8589934591,17179869183,34359738367,528611... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x148c4, %rbx
clflush (%rbx)
nop
nop
cmp %r11, %r11
movb $0x61, (%rbx)
nop
add $10261, %rbp
lea addresses_WT_ht+0x1c744, %r13
nop
add %r9, %r9
mov $0x616263646566... |
;------------------------------------------------------------------------------
;
; 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... |
;
; ZX Spectrum specific routines
; by Stefano Bodrato, 28/06/2006
; Fixed by Antonio Schifano, Dec 2008
;
; Locate the numeric variable having name pointed by HL
; Internal routine used by zx_getint and zx_setint
;
; Carry flag is set on error
;
;
; $Id: zx_locatenum.asm,v 1.6 2015/01/19 01:33:07 pauloscustodio Exp $
... |
// ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to ... |
; A187341: Floor((5-sqrt(5))n); complement of A187342.
; 2,5,8,11,13,16,19,22,24,27,30,33,35,38,41,44,46,49,52,55,58,60,63,66,69,71,74,77,80,82,85,88,91,93,96,99,102,105,107,110,113,116,118,121,124,127,129,132,135,138,140,143,146,149,152,154,157,160,163,165,168
mov $3,$0
mul $0,2
mov $1,$0
mov $0,6
mov $2,3
add $2,$1
... |
; void adt_QueueDelete(struct adt_Queue *q, void *delete)
; CALLER linkage for function pointers
XLIB adt_QueueDelete
LIB adt_QueueDelete_callee
XREF ASMDISP_ADT_QUEUEDELETE_CALLEE
.adt_QueueDelete
pop bc
pop de
pop hl
push hl
push de
push bc
jp adt_QueueDelete_callee + ASMDISP_ADT_QUEUEDEL... |
fcmovb st0, st1 ; da c1
fcmovbe st0, st1 ; da d1
fcmove st0, st1 ; da c9
fcmovnb st0, st1 ; db c1
fcmovnbe st0, st1 ; db d1
fcmovne st0, st1 ; db c9
fcmovnu st0, st1 ; db d9
fcmovu st0, st1 ; da d9
|
/**
@copyright Copyright 2019 United States Government as represented by the Administrator of the
National Aeronautics and Space Administration. All Rights Reserved.
LIBRARY DEPENDENCY:
( (core/Gunns.o)
(core/GunnsBasicConductor.o)
(core/GunnsBasicPotential.o)
(core/GunnsBasicCapacitor.o)
)
*/
... |
org $100
bufdat equ $10
banint equ $00
bufaux equ $02
longitud equ $01
temp0 equ $03
temp1 equ $05
inisort ldx bufdat
clr banint
ldaa longitud
deca
deca
lsra
staa bufaux
ldd 0,... |
assume cs:code
code segment
start:
mov ah,0
int 16h
mov ah,1
cmp al,'r'
je red
cmp al,'g'
je green
cmp al,'b'
je blue
jmp short sret
red:
shl ah,1
green:
shl ah,1
blue:
mov bx,0b800h
mov es,bx
mov bx,1
mov cx,2000h
... |
/*
Enemies move within an horizontal range of 256 pixels, centered in the central truck of one of the four convoys
The original Activision game moves the enemies quite randomly. Horizontally, they go end to end thorugh this range, but they can also randomly change their direction.
Planes are slightly faster than the... |
//*****************************************************************************
// Copyright 2018-2020 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... |
; ===============================================================
; Dec 2013
; ===============================================================
;
; char *strrev(char *s)
;
; Reverse string in place.
;
; ===============================================================
SECTION code_clib
SECTION code_string
PUBLIC asm_s... |
; NASM cde style
section .text ; Code section
global print_alphabet ; Exporting the function name
print_alphabet: ; The symbol or function name label
push rbp ; Setup stack frame
mov rbp, rsp ; Those two lines are equivalent to 'enter'
; Save registers that are gonna be used in this
push rsi ; procedu... |
#include <SFGUI/Engines/BREW.hpp>
#include <SFGUI/Renderer.hpp>
#include <SFGUI/Frame.hpp>
#include <SFGUI/RenderQueue.hpp>
#include <SFML/Graphics/Text.hpp>
namespace sfg {
namespace eng {
std::unique_ptr<RenderQueue> BREW::CreateFrameDrawable( std::shared_ptr<const Frame> frame ) const {
auto padding = GetPropert... |
; General IO utility: clear line V2.00 1988 Tony Tebby
section gen_util
xdef gu_clrln
xref gu_iowp
include 'dev8_keys_qdos_io'
;+++
; This routine clears line
;
; a0 c p channel ID
; error returns standard
;---
gu_clrln
moveq #iow.clrl,d0 ... |
// Copyright 2013 the V8 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.
#if V8_TARGET_ARCH_ARM64
#include "src/code-stubs.h"
#include "src/api-arguments.h"
#include "src/bootstrapper.h"
#include "src/codegen.h"
#include "sr... |
; 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.
;; ==++==
;;
;;
;; ==--==
#include "ksarm.h"
#include "asmconstants.h"
#include "asmmacros.h"
SETALIAS CTPMetho... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/mediapackage/model/DashPackage.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
name... |
.include "defines.inc"
.include "global.inc"
.segment "BANK0"
.proc RESET_HANDLER
SEI ; disables interrupts
CLD ; disable decimal mode
LDX #$40 ; disable DMC IRQ
STX $4017
LDX #$FF ; init stack
TXS
INX
STX PPUCTRL ; disable NMI
STX PPUMASK ; disable ren... |
; A275112: Zero together with the partial sums of A064412.
; 0,1,6,20,52,112,215,375,613,948,1407,2013,2799,3793,5034,6554,8398,10603,13220,16290,19870,24006,28761,34185,40347,47302,55125,63875,73633,84463,96452,109668,124204,140133,157554,176544,197208,219628,243915,270155,298465,328936,361691,396825,434467,474717,517... |
HCZ2_Header:
sHeaderInit ; Z80 offset is $D492
sHeaderPatch HCZ2_Patches
sHeaderCh $06, $03
sHeaderTempo $01, $25
sHeaderDAC HCZ2_DAC
sHeaderFM HCZ2_FM1, $0C, $12
sHeaderFM HCZ2_FM2, $0C, $12
sHeaderFM HCZ2_FM3, $18, $18
sHeaderFM HCZ2_FM4, $18, $0D
sHeaderFM HCZ2_FM5, $18, $18
sHeaderPSG HCZ2_PSG1, $F4... |
/*
Copyright (c) 2014-2018, OEmercan Yazici <omercan AT pearcoding.eu>
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 copyright notice,
this list... |
; A086272: Rectangular array T(n,k) of central polygonal numbers, by antidiagonals.
; Submitted by Christian Krause
; 1,3,1,7,4,1,13,10,5,1,21,19,13,6,1,31,31,25,16,7,1,43,46,41,31,19,8,1,57,64,61,51,37,22,9,1,73,85,85,76,61,43,25,10,1,91,109,113,106,91,71,49,28,11,1,111,136,145,141,127,106,81,55,31,12,1,133,166,181,18... |
; 参数压栈!
BITS 32
SECTION .text
%include 'type-conversion.asm'
xor edx, edx
; 分配字符串空间
push B2DW('t','i','p',0)
push esp
pop eax
push 0x00000000
push B2DW('0', '1', '8', '4')
push B2DW('0', '1', '5', '0')
push B2DW('0', '1', '7', '3')
push B2DW('G', '1', ':', '2')
push esp
pop ecx; &(学号)
; 填充MessageBoxA参数
push edx;
push... |
page ,132
title strcmp.asm - compare two strings
;***
;strcmp.asm - routine to compare two strings (for equal, less, or greater)
;
; Copyright (c) 1985-2001, Microsoft Corporation. All rights reserved.
;
;Purpose:
; STRCMP compares two strings and returns an integer
; to indicate whether the first is less th... |
; A304374: a(n) = 9*n^2 + 21*n - 6 (n>=1).
; 24,72,138,222,324,444,582,738,912,1104,1314,1542,1788,2052,2334,2634,2952,3288,3642,4014,4404,4812,5238,5682,6144,6624,7122,7638,8172,8724,9294,9882,10488,11112,11754,12414,13092,13788,14502,15234,15984,16752,17538,18342,19164,20004,20862,21738,22632,23544,24474,25422,26388,... |
; Z88 Small C+ Run time Library
; l_gchar variant to be used sometimes by the peephole optimizer
;
SECTION code_l_sccz80
PUBLIC l_gcharsp
l_gcharsp:
add hl,sp
inc hl
inc hl
ld a,(hl)
ld l,a
rlca
sbc a,a
ld h,a
ret
|
; A201709: Primes of the form 10n^2 + 1.
; Submitted by Jamie Morken(w4)
; 11,41,251,491,641,811,2251,4001,6761,7841,9001,10891,12251,13691,16001,16811,22091,23041,32491,33641,40961,50411,68891,72251,73961,81001,82811,86491,98011,108161,110251,112361,121001,125441,127691,139241,158761,163841,174241,198811,216091,219041... |
#include "rrt/rrt.h"
#include "rrt/viz.h"
RRT::RRT() : nh_("")
{
// add subscribers and init functions
occ_grid_sub_ = nh_.subscribe("/occupancy_map", 1000, &RRT::occGridCallback, this);
};
RRT::~RRT(){};
int main(int argc, char **argv)
{
ros::init(argc, argv, "rrt_node");
RRT obj;
ros::spin();
return 0;... |
SECTION code_fp_math48
PUBLIC _islessequal_callee
EXTERN cm48_sdcciy_islessequal_callee
defc _islessequal_callee = cm48_sdcciy_islessequal_callee
|
;;
;; Copyright (c) 2012-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... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC/GEOS
MODULE: Net Driver
FILE: socket.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Eric 12/91 Initial version
Eric 8/92 Ported to... |
; A126775: a(n) = phi(n)^2 * d(n) = A000010(n)^2 * A000005(n).
; Submitted by Christian Krause
; 1,2,8,12,32,16,72,64,108,64,200,96,288,144,256,320,512,216,648,384,576,400,968,512,1200,576,1296,864,1568,512,1800,1536,1600,1024,2304,1296,2592,1296,2304,2048,3200,1152,3528,2400,3456,1936,4232,2560,5292,2400
mov $1,$0
se... |
#include "merger.hpp"
#include <boost/tokenizer.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/lexical_cast.hpp>
#include <istream>
#include <ostream>
#include <deque>
#include <cassert>
namespace{
enum class Cmp { less, equal, greater };
}
template <typename Container, typename SepF>
voi... |
// A scheduler task to handle interrupt callbacks
// TODO: AI, VI, SP could probably go in here as well.
InitIntCallbacks:
ls_gp(sw r0, frame_callback)
ls_gp(sw r0, si_callback)
ls_gp(sw r0, pi_callback)
jr ra
nop
scope IntCallbackTask: {
if {defined LOG_SCHEDULER} {
addi sp, 8
sw ra, -8(sp)
ls_gp(lw... |
/* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005. */
/* ====================================================================
* Copyright (c) 1998-2005 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, w... |
; A005471: Primes of the form m^2 + 3m + 9, where m can be positive or negative.
; Submitted by Jamie Morken(s3)
; 7,13,19,37,79,97,139,163,313,349,607,709,877,937,1063,1129,1489,1567,1987,2557,2659,3313,3547,4297,5119,5557,7489,8017,8563,9127,9319,9907,10513,11779,12889,15013,15259,16519,17299,18097,18367,18913,20029,... |
#include "adherents.h"
#include <iostream>
using namespace std;
Adherents::Adherents()
{}
Adherents::Adherents(Adherents& a)
{
(*this)=a;
}
Adherents::~Adherents() {}
Adherents& Adherents::operator = (const Adherents& a)
{
this->_adherentTab=a._adherentTab;
this->_size=a._size;
return (*this);
}
void Adhe... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xb608, %rsi
lea addresses_WC_ht+0x175c8, %rdi
nop
nop
nop
add $46504, %rdx
mov $106, %rcx
rep movsl
lfence
lea addresses_D_ht+0xef28, %rcx
sub $22347, %rdi
mov $0x616263646566... |
; A040536: Continued fraction for sqrt(560).
; 23,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1,46,1,1,1
dif $0,2
mov $1,$0
cmp $0,0
sub $1,$0
gcd $1,2
add $1,21
add $0,$1
mul $0,$1
sub $0... |
#include "core/simulations/LightDark.h"
#include "core/Util.h"
#include <boost/functional/hash.hpp>
#include <iostream>
#include <opencv2/imgproc.hpp>
#include <random>
#include <stdexcept>
namespace simulations {
LightDark::Action LightDark::Action::Rand() {
Action action{std::uniform_real_distribution<float>(0, ... |
; A120521: a(n) = min{j : A120510(j) = n}.
; 1,5,6,7,12,13,14,15,17,18,19,20,22,23,24,25,31,32,33,34,36,37,38,39,41,42,43,44,46,47,48,49,52,53,54,55,57,58,59,60,62,63,64,65,67,68,69,70,73,74
mov $1,1
lpb $0,1
add $1,$0
div $0,4
add $1,3
lpe
|
;; xOS32
;; Copyright (C) 2016-2017 by Omar Mohammad.
use32
hex_values: db "0123456789ABCDEF"
; strlen:
; Calculates string length
; In\ ESI = String
; Out\ EAX = String size
strlen:
push esi
xor ecx, ecx
.loop:
lodsb
cmp al, 0
je .done
inc ecx
jmp .loop
.done:
mov eax, ecx
pop esi
ret
; hex_nibble_... |
; A192981: Constant term of the reduction by x^2 -> x+1 of the polynomial p(n,x) defined at Comments.
; 1,0,2,5,12,24,45,80,138,233,388,640,1049,1712,2786,4525,7340,11896,19269,31200,50506,81745,132292,214080,346417,560544,907010,1467605,2374668,3842328,6217053,10059440,16276554,26336057,42612676,68948800,111561545,180... |
/*******************************************************************************
* Copyright (c) 2013, Esoteric Software
* 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. Redistribut... |
;
;
;
; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
;
; Copyright 2007-2019 Broadcom Inc. All rights reserved.
;
;
; This is the default program for Greyhound SKUs:
; BCM56062 Opt3
;
; To start it, use the following commands ... |
BITS 64
[MAP all]
trampoline_param_size EQU 4
trampoline_size EQU 5
jit:
; Push the stuff we need to preserve by ABI
push rbx
; Store the return address in RBX
mov rbx,qword [rsp+08]
push rsi
push rdi
mov rdx,rcx
; Block copy all the LEA insn
lea rsi, [rel start]
lea rdi, [rbx-tra... |
#include "gtest/gtest.h"
#include <Core/Solver/Particle/PCISPH/PCISPHSolver3.hpp>
using namespace CubbyFlow;
TEST(PCISPHSolver3, UpdateEmpty)
{
// Empty solver test
PCISPHSolver3 solver;
Frame frame(0, 0.01);
solver.Update(frame++);
solver.Update(frame);
}
TEST(PCISPHSolver3, Parameters)
{
P... |
; A107904: Expansion of (1+6x)/(1-12x^2).
; 1,6,12,72,144,864,1728,10368,20736,124416,248832,1492992,2985984,17915904,35831808,214990848,429981696,2579890176,5159780352,30958682112,61917364224,371504185344,743008370688,4458050224128
mov $1,2
pow $1,$0
lpb $0
sub $0,1
trn $0,1
mul $1,3
lpe
mov $0,$1
|
/*
* Copyright (C) 2018 by Godlike
* This code is licensed under the MIT license (MIT)
* (http://opensource.org/licenses/MIT)
*/
#include <tulpar/internal/BufferCollection.hpp>
#include <tulpar/InternalLoggers.hpp>
#include <AL/al.h>
#undef STB_VORBIS_HEADER_ONLY
#include <stb_vorbis.c>
#include <algorithm>
names... |
.MODEL SMALL
.STACK 64
.DATA
UPPER_WALL_START_ROW DW 30
UPPER_WALL_START_COL DW 20
UPPER_WALL_END_ROW DW 35
UPPER_WALL_END_COL DW 280
LEFT_WALL_START_ROW DW 35
LEFT_WALL_START_COL DW 20
LEFT_WALL_END_ROW DW 190
LEFT_WALL_END_COL DW 25
LOWER_WALL_START_ROW DW 185
LOWER_WALL_STA... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x18c75, %rsi
lea addresses_A_ht+0x1dcf5, %rdi
nop
add $53412, %rdx
mov $106, %rcx
rep movsq
nop
nop
nop
nop
sub $45612, %rcx
lea addresses_WT_ht+0xec4d, %rsi
lea addresses_A_ht+0xc575,... |
/*****************************************************************************
* Licensed to Qualys, Inc. (QUALYS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* QUALYS licenses this file to You under ... |
/* Copyright (C) 2012-2017 IBM Corp.
* This program is 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... |
; char __CALLEE__ *strpbrk_callee(char *s, char *match)
; return ptr to first occurrence in s1 of any char in match
; 01.2007 aralbrec
SECTION code_clib
PUBLIC strpbrk_callee
PUBLIC _strpbrk_callee
PUBLIC ASMDISP_STRPBRK_CALLEE
EXTERN strchr_callee
EXTERN ASMDISP_STRCHR_CALLEE
.strpbrk_callee
._strpbrk_callee
po... |
#include "test/integration/integration_test.h"
#include <string>
#include "envoy/config/accesslog/v2/file.pb.h"
#include "common/http/header_map_impl.h"
#include "common/http/headers.h"
#include "common/protobuf/utility.h"
#include "test/integration/autonomous_upstream.h"
#include "test/integration/utility.h"
#incl... |
; A029005: Expansion of 1/((1-x)(1-x^2)(1-x^3)(1-x^11)).
; 1,1,2,3,4,5,7,8,10,12,14,17,20,23,27,31,35,40,45,50,56,62,69,76,84,92,101,110,120,130,141,152,164,177,190,204,219,234,250,267,284,302,321,340,361,382,404,427,451,475,501,527,554,582,611,641,672,704,737
mov $1,17
lpb $0,1
mov $2,$0
sub $0,1
cal $2,25771 ;... |
#include "bingo_base_index.h"
#include "bingo_mmf.h"
#include "bingo_ptr.h"
#include "indigo_fingerprints.h"
#include <limits.h>
#include <sstream>
#include <string>
#include "base_c/os_dir.h"
#include "base_cpp/output.h"
#include "base_cpp/profiling.h"
using namespace bingo;
static const char* _cf_data_filename =... |
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2020-2021 Couchbase, 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
*
* ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xb974, %rsi
lea addresses_D_ht+0x6bea, %rdi
clflush (%rsi)
nop
xor %rdx, %rdx
mov $23, %rcx
rep movsw
nop
nop
nop
nop
nop
inc %r14
lea addresses_UC_ht+0x8574, %rsi
lea addresses_UC_ht+0xd174, %rdi
nop
and... |
/****************************************************************************
** Copyright (c) 2001-2014
**
** This file is part of the QuickFIX FIX Engine
**
** This file may be distributed under the terms of the quickfixengine.org
** license as defined by quickfixengine.org and appearing in the file
** LICENSE includ... |
; Copyright © 2005 - 2021 by Brett Kuntz. All rights reserved.
CreateMutexAHook proto :dword, :dword, :dword
.data?
CreateMutexAOrig dd ?
.code
; ##########################################################################
CreateMutexAHook proc lpMutexAttributes:dword, bInitialOwner:dword, lpName:dword
... |
ld hl,#4000
ld b,2
label:
ld a,(hl)
add a,a
ld (hl),a
djnz label
call f1
xor a
call nz,f2
call z,f2
srl h
rr l
rst 0
f1:
jp label2
label2:
xor a
jp nz,label3
jp z,label3
label3:
xor a
ret nz
ret z
f2:
ld hl,#4000
ld de,#4001
l... |
; ---------------------------------------------------------------------
; String utility functions using BIOS ISRs
; ---------------------------------------------------------------------
; The "0x0e" mode is "Write Character in TTY Mode", which we
; can use to print a character from the lower end of "ax".
; See https:... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x14920, %r11
nop
sub $44310, %rsi
mov $0x6162636465666768, %rdi
movq %rdi, (%r11)
nop
nop
and %rcx, %rcx
lea addresses_WC_ht+0x21f8, %rbp
nop
add %rdi, %rdi
movl $0x61626364, ... |
; A141971: Primes congruent to 15 mod 28.
; Submitted by Jon Maiga
; 43,71,127,211,239,379,463,491,547,631,659,743,827,883,911,967,1051,1163,1303,1471,1499,1583,1667,1723,2003,2087,2143,2311,2339,2423,2591,2647,2731,2843,2927,3011,3067,3319,3347,3571,3739,3767,3823,3851,3907,4019,4159,4243,4271,4327,4523,4663,4691,4831... |
;*!
;* \copy
;* Copyright (c) 2009-2013, Cisco Systems
;* 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 abov... |
COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: CommonUICItem (common code for specific UIs)
FILE: citemItemGroupCommon.asm
ROUTINES:
Name Description
---- -----------
MTD MSG_VIS_... |
; PROLOGUE(mpn_divexact_byff)
; Copyright 2009 Jason Moxham
;
; Windows Conversion Copyright 2008 Brian Gladman
;
; This file is part of the MPIR Library.
;
; The MPIR Library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as published
; by th... |
SECTION code_fp_math48
PUBLIC exp
EXTERN cm48_sccz80_exp
defc exp = cm48_sccz80_exp
|
; A139577: a(n) = n*(2*n + 11).
; 0,13,30,51,76,105,138,175,216,261,310,363,420,481,546,615,688,765,846,931,1020,1113,1210,1311,1416,1525,1638,1755,1876,2001,2130,2263,2400,2541,2686,2835,2988,3145,3306,3471,3640,3813,3990
mov $1,2
mul $1,$0
add $1,11
mul $1,$0
|
; uint in_KeyPressed(uint scancode)
SECTION code_clib
PUBLIC in_KeyPressed
PUBLIC _in_KeyPressed
; Determines if a key is pressed using the scan code
; returned by in_LookupKey.
; enter : l = scan row
; h = key mask
; exit : carry = key is pressed & HL = 1
; no carry = key not pressed & HL = 0
; use... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1301, %rsi
lea addresses_A_ht+0x2601, %rdi
nop
nop
nop
nop
sub %r14, %r14
mov $56, %rcx
rep movsq
nop
nop
nop
nop
nop
xor $41465, %r11
lea addresses_normal_ht+0x300d, %r14
nop
nop
nop... |
data segment
ends
stack segment
dw 128 dup(0)
ends
code segment
start:
mov cx,25
mov dx,5
dongu:
cmp cx,0
je dur
inc ax
cmp ax,dx
je esit
loop dongu
esit:
add dx,5
inc bx
dec cx
jmp dongu
dur:
ends
end start
|
;ASTER 05/03/2009 1814
;TO BE ASSEMBLED IN KEIL MICROVISION V3.60
;ARTIFICIAL INTELLIGENCE
;MICROCOMPUTER C
;CODE BASE COMPLETED : 05/03/2009 2220
;REV 3 LAST UPDATED 28/04/2009 1445
;-----------------------------------------------------------------------------------------------------------
;SET THE ASSEMBLER FOR AT... |
db 0 ; species ID placeholder
db 90, 85, 125, 75, 100, 60
; hp atk def spd sat sdf
db GRASS, GRASS ; type
db 30 ; catch rate
db 211 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/gelania/front.dimensions"
db GROWTH_MEDIUM_FAST ;... |
/**
* @author divyakhetan
* @date 14/1/2019
*/
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
int a[n];
map<int, int> m;
for(int i = 0; i < n; i++){
cin >> a[i];
m[a[i]]++;
}
map<int, int>::iterator it;
for (it = m.begin(); it != m.end(); it++)
{
std::cout << it->firs... |
; A250879: Number of (2+1) X (n+1) 0..3 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing x(i,j)+x(i-1,j) in the j direction.
; 440,1456,3442,6728,11644,18520,27686,39472,54208,72224,93850,119416,149252,183688,223054,267680,317896,374032,436418,505384,581260,664376,755062,853648,960464,1075... |
; void wv_priority_queue_destroy(wv_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_wv_priority_queue
PUBLIC wv_priority_queue_destroy
EXTERN asm_wv_priority_queue_destroy
defc wv_priority_queue_destroy = asm_wv_priority_queue_destroy
|
; A022958: a(n) = 2 - n.
; 2,1,0,-1,-2,-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
sub $0,2
mul $0,-120259084286
mov $1,$0
div $1,120259084286
|
frame 1, 04
frame 2, 14
frame 3, 10
frame 4, 08
frame 5, 06
frame 6, 08
frame 5, 06
frame 4, 08
frame 5, 06
endanim
|
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "policy/fees.h"
#include "txmempool.h"
#include "uint256.h"
#include "util.h"
#include "test/test_strength.h"
#inc... |
// 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.
/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX... |
_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: 57 ... |
; A163276: a(n) = n^6*(n+1)^2/2.
; 0,2,288,5832,51200,281250,1143072,3764768,10616832,26572050,60500000,127552392,252315648,473027282,847072800,1458000000,2424307712,3910286178,6139206432,9409176200,14112000000,20755401282,29988984608,42634336032,59719680000,82519531250,112599800352,151868831688,202634872832,2676704944... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.