text stringlengths 1 1.05M |
|---|
// Copyright (c) 2012 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/service/cloud_print/cloud_print_proxy_backend.h"
#include <stddef.h>
#include <map>
#include <memory>
#include <vector>
#include "... |
NAM Dump25
! **** DUMP9825 ****
! Copyright (c) 2022 F.Ulivi
!
! Licensed under the 3-Clause BSD License
!
! Any resemblance to test ROM code is purely coincidental ;)
!
EXT Isr_access,Get_value,Get_info,Put_value
EXT Put_elem_bytes,Printer_select,Print_no_lf
!
! Bits in ... |
beg:
CLS
RET
1:
JP end
JP fffh
JP 1f
JP 1b
CALL beg
CALL 1b
CALL 1f
SE V1, 53h
SNE V3, 53h
SE V3, V5
1:
LD V7, 69h
ADD VA, 69h
LD V5, V8
OR Vb, Vf
AND Vd, V6
XOR Vd, V6
ADD Vd, V6
SUB Vd, V6
SHR Vd, V6
SHR Vd
SUBN Vd, V6
SHL Vd, V6
SHL Vd
SNE Vd, V6
LD I, beg
LD I, 1b
LD I, 1f
LD I, 200h
JP V0, beg
JP V0, 1b
JP V0, 1f
... |
; A001753: Expansion of 1/((1+x)*(1-x)^6).
; 1,5,16,40,86,166,296,496,791,1211,1792,2576,3612,4956,6672,8832,11517,14817,18832,23672,29458,36322,44408,53872,64883,77623,92288,109088,128248,150008,174624,202368,233529,268413,307344,350664,398734,451934,510664,575344,646415,724339,809600,902704,1004180,1114580,1234480,13... |
; A078011: Expansion of (1-x)/(1-x-x^2+2*x^3).
; Submitted by Jon Maiga
; 1,0,1,-1,0,-3,-1,-4,1,-1,8,5,15,4,9,-17,-16,-51,-33,-52,17,31,152,149,239,84,25,-369,-512,-931,-705,-612,545,1343,3112,3365,3791,932,-2007,-8657,-12528,-17171,-12385,-4500,17457,37727,64184,66997,55727,-5644,-83911,-201009,-273632,-306819,-178433... |
Name: BGmove.asm
Type: file
Size: 11864
Last-Modified: '1992-02-13T07:47:41Z'
SHA-1: 28303A634288D3119BEA57D993BAF819D0EC4098
Description: null
|
; A089022: Number of walks of length 2n on the 3-regular tree beginning and ending at some fixed vertex.
; Submitted by Christian Krause
; 1,3,15,87,543,3543,23823,163719,1143999,8099511,57959535,418441191,3043608351,22280372247,164008329423,1213166815047,9012417249663,67208553680247,502920171632943,3775020828459687,28... |
; A047370: Numbers that are congruent to {2, 3, 5} mod 7.
; 2,3,5,9,10,12,16,17,19,23,24,26,30,31,33,37,38,40,44,45,47,51,52,54,58,59,61,65,66,68,72,73,75,79,80,82,86,87,89,93,94,96,100,101,103,107,108,110,114,115,117,121,122,124,128,129,131,135,136,138,142,143,145,149,150,152,156,157,159,163,164,166,170,171,173,177,17... |
; PROLOGUE(mpn_store)
; Copyright 2009 Jason Moxham
;
; This file is part of the MPIR Library.
;
; Windows Conversion Copyright 2008 Brian Gladman
;
; 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 the Free S... |
.model tiny
.code
org 100h
kkk:
nop ; ID
nop ; ID
mov cx,80h
mov si,0080h
mov di,0ff7fh
rep movsb ; save param
lea ax,begp ; begin prog
mov cx,ax
sub ax,100h
mov ds:[0fah],ax ; len VIR
add cx,fso
mov ds:[0f8h],cx ; begin buffer W
ADD CX,AX
mov... |
.include "hdr.asm"
.section ".libc_mem" superfree
.accu 16
.index 16
.16bit
__builtin_memcpy:
memcpy:
lda.b 4,s ; destination
sta.b tcc__r0
tay
lda.b 8,s ; source
tax
lda.b 10,s ; source bank
xba
ora.b 6,s ; dest bank
sta.b move_insn + 1
lda.b 12,s ; length... |
include math_type.inc
; parameter RCX, RDX, R8, R9
; Must be preserved by callee : RBX, RBP, RDI, RSI, R12, R13, R14, R15 , XMM6-XMM15, YMM6-YMM15
.data
.code
;void TransformVector4_VPTR2_ASM(VECTOR4* pv4Dest, const VECTOR4* pv4Src, const MATRIX4* pMat, unsigned int uiCount)
TransformVector4_VPTR2_ASM PROC pv4Dest... |
; Set up pointers for sprites V0.02 1985 Tony Tebby
;
; 2005-11-16 0.02 Sets up pointers for CDB if a CDB is given (MK)
;
; d0 cr x address / column offset
; d1 cr y address / row offset
; d2 r column
; d3 r row
; d5 c p sprite word counter
; d6 c p row counter
; d7 r right shift (low word) / 16-shift (high ... |
ZoneMons2:
db $1E
IF DEF(_RED)
db 22,NIDORAN_M
db 26,PONYTA
db 23,DODUO
db 25,EXEGGCUTE
db 30,NIDORINO
db 27,EXEGGCUTE
db 30,NIDORINA
db 25,TAUROS
db 26,LICKITUNG
db 28,LICKITUNG
ENDC
IF DEF(_GREEN)
db 22,NIDORAN_M
db 26,PONYTA
db 23,DODUO
db 25,EXEGGCUTE
db 30,NIDORINO
db 27,EXEGGCUTE
db 30,NIDORINA
... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose : Singleton manager for color correction on the client
//
// $NoKeywords: $
//===========================================================================//
#include "cbase.h"
#include "tier0/vprof.h"
#include "colorcorrectionmgr... |
// Copyright (c) 2011-2014 The Bitcoin Core developers
// Copyright (c) 2014-2019 The Vuicoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/editaddressdialog.h>
#include <qt/forms/ui_editaddressdia... |
; Pics are defined in gfx/pics.asm
TrainerPicPointers::
; entries correspond to trainer classes (see constants/trainer_constants.asm)
dba FalknerPic
dba WhitneyPic
dba BugsyPic
dba MortyPic
dba PrycePic
dba JasminePic
dba ChuckPic
dba ClairPic
dba Rival1Pic
dba PokemonProfPic
dba WillPic
dba CalPic
dba Br... |
SECTION code_clib
PUBLIC xordrawr
PUBLIC _xordrawr
EXTERN xorplotpixel
EXTERN draw_main
EXTERN last_pos
xordrawr:
_xordrawr:
push ix
ld ix,2
add ix,sp
ld de,(last_pos); x0/y0
ld h,(ix+4); xr
ld l,(ix+2); yr
ld a,h
add d
ld h,a
ld a,l
ad... |
;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by Alexander R. Pruss
; by Stefano Bodrato - Oct. 2003
;
;
; gfx functions
;
; int ozputch (int x, int y, char c);
;
; ------
; $Id: ozputch.asm,v 1.1 2003/10/21 17:15:20 stefano Exp $
;
XLIB ozputch
LIB ozputs
ozputchbuf:
... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "config.h"
#include "modules/webmidi/MIDIAccessInitializer.h"
#include "bindings/core/v8/ScriptPromise.h"
#include "bindings/core/v8/ScriptPromi... |
/**
* \file
* \author Norihiro Watanabe
* \date 2013-04-16
* \brief Implementation of the LisLinearSolver class.
*
* \copyright
* Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt ... |
SECTION rodata_font_fzx
PUBLIC _ff_ao_Twombly
_ff_ao_Twombly:
BINARY "font/fzx/fonts/ao/Twombly/Twombly.fzx"
|
//===- MinimalTypeDumper.cpp ---------------------------------- *- C++ --*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
#include <fstream>
#include <iostream>
#include "Vector.hpp"
#include "Renderer.hpp"
#include "Scene.hpp"
#include <optional>
inline float deg2rad(const float °)
{ return deg * M_PI/180.0; }
// Compute reflection direction
Vector3f reflect(const Vector3f &I, const Vector3f &N)
{
return I - 2 * dotProduct(I, N)... |
/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "Atom_RHI_Metal_precompiled.h"
#include <RHI/Conversions.h>
#include <RHI/Device.h>
#incl... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x13776, %r12
dec %rdi
mov $0x6162636465666768, %r9
movq %r9, %xmm6
and $0xffffffffffffffc0, %r12
vmovaps %ymm6, (%r12)
inc %r10
lea addresses_A_ht+0xdff0, %rsi
lea addresses_UC_... |
; A010698: Period 2: repeat (2,8).
; Submitted by Christian Krause
; 2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2,8,2
mod $0,2
mul $0,6
add $0,2
|
Snd_LevSel_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Snd_Results_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $58
smpsHeaderDAC Snd_LevSel_DAC
smpsHeaderFM Snd_LevSel_FM1, $18, $12
smpsHeaderFM Snd_LevSel_FM2, $18, $10
smpsHeaderFM Snd_LevSel_FM3, $0C, $14
sm... |
; A003452: Number of nonequivalent dissections of an n-gon into 3 polygons by nonintersecting diagonals rooted at a cell up to rotation and reflection.
; 2,7,15,28,45,69,98,136,180,235,297,372,455,553,660,784,918,1071,1235,1420,1617,1837,2070,2328,2600,2899,3213,3556,3915,4305,4712,5152,5610,6103,6615,7164,7733,8341,89... |
SYS_EXIT equ 60
SYS_WRITE equ 1
STDOUT equ 1
SUCCESS equ 0
N equ 440000000
section .text
global _start
_start:
xor eax, eax
mov [i], eax
prepare_cache:
mov eax, [i]
mov ebx, [i]
mov ecx, 1
exponentiation:
mul ebx
inc ecx
cmp ecx, [i]
jl exponentiation
mov rb... |
;xlat example
;indices: 0 1 2 3
TABLE DB 3FH, 06H, 5BH, 4FH
;DB 66H, 6DH, 7DH, 27H ; these lines are commented since this is not supported by the emulator in 8086 mode
;DB 7FH, 6FH
mov al, 1 ; try with 0 to 3
mov bx, offset TABLE
xlat
|
;/** @file
;
; IDT vector entry.
;
; Copyright (c) 2007 - 2008, 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. The full text of the license ma... |
;
;
;
; 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 the (24 GE + 4 XE/HG port) BCM56334 SDKs.
; To start it, use the following comman... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1de4f, %rsi
nop
nop
xor %r11, %r11
movb $0x61, (%rsi)
nop
add $10778, %rsi
lea addresses_WC_ht+0x1c4f, %r15
clflush (%r15)
nop
sub %r8, %r8
mov (%r15), %si
nop
add $45258, %r... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r13
push %r9
push %rbx
push %rdx
// Load
lea addresses_WT+0x1af07, %rdx
add $57594, %rbx
movb (%rdx), %r13b
nop
nop
nop
add $22993, %rdx
// Load
lea addresses_RW+0x11b07, %r9
clflush (%r9)
no... |
; A293163: a(n) = A010060(3n+1).
; 1,1,1,0,1,1,1,1,1,1,1,0,1,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,0,0,0,1,1,1,0,1,0,0,0,0,0,0,0,1,0,0,0,1,1,1,0,1,1,1,1,1,1,1,0,1,0,0,0,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1
add $0,2
mul $0,4
sub $0,6
mul $0,3
mov $2,1
lpb $0,1
add $1,$0
sub $0,1
div... |
/*==============================================================================
Program: 3D Slicer
Copyright (c) Kitware Inc.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to in writing, software
distributed under the License... |
;
; Sprite Rendering Routine
; original code by Patrick Davidson (TI 85)
; modified by Stefano Bodrato - Oct 2017
;
; Amstrad CPC high resolution version
;
;
; $ w_putsprite.asm $
;
SECTION smc_clib
PUBLIC putsprite
PUBLIC _putsprite
EXTERN w_pixeladdress
EXTERN swapgf... |
LOAD 00FF
PUSH A
POP B
HALT |
;***************************************************************************
; FILENAME: cymem.a51
; Version 2.40
;
; DESCRIPTION:
; Specialized memory routines for Keil bootup. These functions accept
; 3-byte pointers, but the pointers are interpreted as absolute locations
; rather than as Keil generic/far p... |
/** \copyright
* Copyright (c) 2016, Stuart W Baker
* 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 copyright notice,
* this... |
// Copyright 2019 The MediaPipe Authors.
//
// 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... |
; A104048: Numbers n such that n11 is prime and n is a multiple of ten.
; Submitted by Jon Maiga
; 0,20,30,50,60,80,90,120,140,170,200,210,230,270,300,360,380,410,540,590,620,650,690,710,750,840,860,870,900,980,1080,1130,1200,1220,1260,1290,1310,1460,1470,1490,1500,1560,1620,1640,1770,1820,1880,1890,2010,2030,2100,2220... |
; A005610: Number of Boolean functions realized by cascades of n gates.
; 2,14,86,518,3110,18662,111974,671846,4031078,24186470,145118822,870712934,5224277606,31345665638,188073993830,1128443962982,6770663777894,40623982667366,243743896004198,1462463376025190
mov $1,6
pow $1,$0
mul $1,12
div $1,5
|
; A048487: a(n) = T(4,n), array T given by A048483.
; 1,6,16,36,76,156,316,636,1276,2556,5116,10236,20476,40956,81916,163836,327676,655356,1310716,2621436,5242876,10485756,20971516,41943036,83886076,167772156,335544316,671088636,1342177276,2684354556,5368709116,10737418236,21474836476,42949672956,85899345916,1717986918... |
; A293407: Least integer k such that k/n^2 > (-1 + sqrt(5))/2 (the golden ratio).
; 0,1,3,6,10,16,23,31,40,51,62,75,89,105,122,140,159,179,201,224,248,273,300,327,356,387,418,451,485,520,557,594,633,674,715,758,801,847,893,941,989,1039,1091,1143,1197,1252,1308,1366,1424,1484,1546,1608,1672,1737,1803,1870,1939,2008,2080... |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004A96 clr.b ($ac,A6)
004A9A movea.w ($6a24,A5), A4 [item+AC]
004D3E move.l D0, (A4)+
004D40 dbra D1, $4d38
012FCA move.b #$1, ($ac,A1)
012FD0 add.w ($c,A6), D1 [item+AC]
028D70 move.b D0, ($... |
RASTER = 16 ;Hier den 1. Raster-IRQ auslösen
;*** Startadresse
*=$0801
;*** BASIC-Zeile: 2018 SYS 2062
!word main-2, 2018
!byte $9e
!text " 2062"
!byte $00,$00,$00
main
jsr $e544 ;Bildschirm löschen
lda #0 ;schwarz
sta $d020 ... |
; A109764: Sum of the first n^2 squares.
; 0,14,204,1240,4900,14910,38024,85344,173880,328350,583220,984984,1594684,2490670,3771600,5559680,8004144,11284974,15616860,21253400,28491540,37676254,49205464,63535200,81185000,102743550,128874564
add $0,1
pow $0,2
mul $0,2
bin $0,3
div $0,8
mul $0,2
|
#include "MultiSigPage.h"
#include "ui_MultiSigPage.h"
#include <QClipboard>
#include "CreateMultisigWidget.h"
#include "ToolButtonWidget.h"
#include "control/AssetIconItem.h"
#include "MultiSigTransferWidget.h"
#include "commondialog.h"
#include "dialog/TransactionResultDialog.h"
#include "dialog/ErrorResultDialog.h... |
/*
Copyright (c) 2002-2009 Tampere University.
This file is part of TTA-Based Codesign Environment (TCE).
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, ... |
* Job manipulation functions V0.6 1984/1985 Tony Tebby QJUMP
*
* PJOB (nr,tag) priority of a job
* OJOB (nr,tag) owner of a job
* JOB$ (nr,tag) job name
* NXJOB(nr,tag,owner,tag) next job in tree
* JOBID [({nr, tag} | <name> )] named job id or my id (no parameters)
*
* 2006-01-10 0.07 JOBID function added (PJ... |
; A153257: a(n) = n^3-(n+1)^2.
; -1,-3,-1,11,39,89,167,279,431,629,879,1187,1559,2001,2519,3119,3807,4589,5471,6459,7559,8777,10119,11591,13199,14949,16847,18899,21111,23489,26039,28767,31679,34781,38079,41579,45287,49209,53351,57719
mov $1,$0
mul $1,$0
sub $0,1
sub $1,2
mul $1,$0
sub $1,3
|
; A018902: a(n+2) = 5*a(n+1) - 3*a(n).
; 1,4,17,73,314,1351,5813,25012,107621,463069,1992482,8573203,36888569,158723236,682950473,2938582657,12644061866,54404561359,234090621197,1007239421908,4333925245949,18647907964021,80237764082258,345245096519227,1485512190349361,6391825662189124
mov $1,1
mov $3,1
lpb $0
sub $0... |
/*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : Marc Pierrot Deseilligny
Contributors : Gregoire Maille... |
; ********************************************************************************************
; ********************************************************************************************
;
; Name : rnd.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : Fred Bowen
;
; *****... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE457_Use_of_Uninitialized_Variable__twointsclass_array_new_partial_init_01.cpp
Label Definition File: CWE457_Use_of_Uninitialized_Variable__twointsclass_array.label.xml
Template File: sources-sinks-01.tmpl.cpp
*/
/*
* @description
* CWE: 457 Use of Uninitialized ... |
// Copyright (c) 2012 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 "base/files/file.h"
#include <errno.h>
#include <fcntl.h>
#include <stdint.h>
#include <sys/stat.h>
#include <unistd.h>
#include "base/logg... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1114b, %rax
and $63407, %r12
movb (%rax), %r14b
nop
nop
nop
dec %r15
lea addresses_WT_ht+0x1d54b, %rcx
sub %r12, %r12
mov $0x6162636465666768, %rdx
movq %rdx, %xmm6
movups %... |
#ifndef MATERIAL_HPP
#define MATERIAL_HPP
#include "color.hpp"
#include <string>
struct Material {
std::string name;
Color ka;
Color kd;
Color ks;
float m;
float reflection = 0.0f;
float opacity = 1.0f;
float refraction_index = 1.0f;
};
std::ostream& operator<<(std::ostream& os, Mater... |
/*
* Copyright (C) 2005 - 2013 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008 - 2013 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2010 - 2013 ArkCORE <http://www.arkania.net/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General P... |
;
; Copyright (c) 2020 Phillip Stevens
;
; 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/.
;
; feilipu, August 2020
;
;-----------------------------------------------... |
; This routine is called after the headers have been loaded as it hijacks the BASIC idle loop vector at $0302.
; It then calls the loader code stored in the CBM header at offset $0351. It then finally starts
; the program after the turbo load has finished by performing a BASIC RUN.
*=$2bc
; Stores curre... |
#include <iostream>
#include <string>
#include<stdio.h>
#include<cmath>
#include <sstream>
#include <iostream>
#include <vector>
#include <ctype.h>
using namespace std;
// enum for cases
enum ACTION_TYPE {ENCRYPT = 1, DECRYPT= 2};
// thanks to cs50 by D Malan at Harvard for the inspiration
class crypt {
... |
BITS 32
call test
hlt
test:
inc eax
ret
|
TITLE EXEPACK - Copyright (c) SLR Systems 1994
INCLUDE MACROS
INCLUDE SEGMENTS
INCLUDE SEGMSYMS
PUBLIC OS2_EXEPACK,OS2PACK_INIT,OS2_EXEPACK_FLUSH
.DATA
EXTERNDEF EXETABLE:DWORD,EXEPACK_LIMIT:DWORD,PACK_REPT_COUNT:DWORD,LAST_SEG_OS2_NUMBER:DWORD
EXTERNDEF NEW_REPT_ADDR:DWORD,PACK_SO_FAR:DWORD,TARG_A... |
; #########################################################################
Select_All Proc hEdit:DWORD
LOCAL tl :DWORD
LOCAL Cr :CHARRANGE
mov Cr.cpMin,0
invoke GetWindowTextLength,hEdit
inc eax
mov Cr.cpMax, eax
invoke SendMessage,hEdit,EM_EXSETSEL,0,ADDR Cr
ret
Select_All endp
... |
/* also: Advanced Logic Synthesis and Optimization tool
* Copyright (C) 2019- Ningbo University, Ningbo, China */
#include <mockturtle/properties/migcost.hpp>
#include <mockturtle/algorithms/cleanup.hpp>
#include "xmg_inv.hpp"
using namespace mockturtle;
namespace also
{
/******************************************... |
#include <qt/test/wallettests.h>
#include <qt/bitcoinamountfield.h>
#include <qt/callback.h>
#include <qt/optionsmodel.h>
#include <qt/platformstyle.h>
#include <qt/qvalidatedlineedit.h>
#include <qt/sendcoinsdialog.h>
#include <qt/sendcoinsentry.h>
#include <qt/transactiontablemodel.h>
#include <qt/transactionview.h>... |
; C0NTDS.ASM - C run time library entry point for NT DLLs that use the
; SIMULATE_TLS routines.
;
; C/C++ Run Time Library - Version 10.0
;
; Copyright (c) 1999, 2000 by Inprise Corporation
; All Rights Reserved.
;
; $Revision: 9.0 $
DLL equ 1
SIMULATE_TLS equ 1... |
/*
Copyright 2020 The OneFlow 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 agre... |
SECTION code_clib
SECTION code_l_sdcc
PUBLIC ____sdcc_ll_sub_deix_bc_hl
EXTERN ____sdcc_ll_sub_de_bc_hl
____sdcc_ll_sub_deix_bc_hl:
push hl
IFDEF __SDCC_IX
push ix
pop hl
ELSE
push iy
pop hl
ENDIF
add hl,de
ex de,hl
pop hl
jp ____sdcc_ll_sub_de_bc_hl
|
SilphCo8Object:
db $2e ; border block
db $7 ; warps
db $0, $10, $1, SILPH_CO_9F
db $0, $e, $0, SILPH_CO_7F
db $0, $12, $0, SILPH_CO_ELEVATOR
db $b, $3, $6, SILPH_CO_8F
db $f, $3, $4, SILPH_CO_2F
db $5, $b, $5, SILPH_CO_2F
db $9, $b, $3, SILPH_CO_8F
db $0 ; signs
db $4 ; objects
object SPRITE_LAPRAS_GIVER... |
// Copyright (c) 2012 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 "ui/views/controls/webview/web_dialog_view.h"
#include <vector>
#include "base/strings/utf_string_conversions.h"
#include "content/public/b... |
#include <fstream>
#include <math.h>
#include <uWS/uWS.h>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
#include "Eigen-3.3/Eigen/Core"
#include "Eigen-3.3/Eigen/QR"
#include "json.hpp"
#include "Map.h"
//#include "Vehicle.h"
//#include "OtherVehicle.h"
#include "Road.h"
#inclu... |
;-----------------------------------------------------------------------------
; fabs.asm - floating point absolute value
; Ported from Al Maromaty's free C Runtime Library
;-----------------------------------------------------------------------------
SECTION .text
global fabs
... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2015-2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
; A013757: a(n) = 15^(3*n + 2).
; 225,759375,2562890625,8649755859375,29192926025390625,98526125335693359375,332525673007965087890625,1122274146401882171630859375,3787675244106352329254150390625,12783403948858939111232757568359375
mov $1,3375
pow $1,$0
mul $1,196
div $1,661304
mul $1,759150
add $1,225
mov $0,$1
|
%include "macros.inc"
global _getSign1
global _getSign2
global _getSign3
global _isNotNegative
global _areSignsOpposite
global _signExtendFromWidth
global _conditionalClearOrSet
global _swapBits
global _hasZeroByte
global _parity
global _getSign164
global _getSign264
global _getSign364
global _isNotNegative64
global _... |
; A156843: 279841n^2 - 165048n + 24335.
; 24335,139128,813603,2047760,3841599,6195120,9108323,12581208,16613775,21206024,26357955,32069568,38340863,45171840,52562499,60512840,69022863,78092568,87721955,97911024,108659775,119968208,131836323,144264120,157251599,170798760,184905603,199572128,214798335,230584224,246929795... |
; Characteristics of each move.
move: MACRO
; the animation byte will be filled when the move is loaded
db \1 ; effect
db \2 ; power
db \3 | \7 ; type and category
db \4 percent ; accuracy
db \5 ; pp
db \6 percent ; effect chance
ENDM
Moves::
; entries correspond to constants/move_constants.asm
indirect_table... |
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com) |
+---------... |
%ifndef GDT_ASM_INCLUDED
%define GDT_ASM_INCLUDED
[bits 16]
section .text
gdt_start:
gdt_null_entry:
dq 0
;gdt_dummy_entry:
; dw [segment length, bits 0 - 15]
; dw [segment base, bits 0 - 15]
; db [segment base, bits 16 - 23]
; db [flags]
; db [flags (first 4 bits) - segment length, bits 16 - 19 (l... |
; A094028: Expansion of 1/((1-x)*(1-100*x)).
; 1,101,10101,1010101,101010101,10101010101,1010101010101,101010101010101,10101010101010101,1010101010101010101,101010101010101010101,10101010101010101010101,1010101010101010101010101,101010101010101010101010101,10101010101010101010101010101,1010101010101010101010101010101,1... |
; Copyright (c) 2020 Valve Corporation
;
; Permission is hereby granted, free of charge, to any person obtaining a
; copy of this software and associated documentation files (the "Software"),
; to deal in the Software without restriction, including without limitation
; the rights to use, copy, modify, merge, publish, d... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2020 Intel Corporation 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 so... |
; A054496: If n = p_1^e_1 *p_2^e_2 *p_3^e_3..., p's = distinct primes, e's = positive integers, then a(n) = p_1^(e_1^2) *p_2^(e_2^2) *p_3^(e_3^2) ... .
; Submitted by Jon Maiga
; 1,2,3,16,5,6,7,512,81,10,11,48,13,14,15,65536,17,162,19,80,21,22,23,1536,625,26,19683,112,29,30,31,33554432,33,34,35,1296,37,38,39,2560,41,42... |
main
VDPSECURITY
; Use a5 and a6 registers for VDP address
VDPSETADDRREG ; Use a5/a6 for VDP macros
VDPSETALLREGS reg_init_vdp ; Load reg_init_vdp to VDP registers
VDPDMAFILL #$00, 0, $10000 ; Clear VRAM
VDPDMAWAIT
VDPSETAUTOINCR 2
BLS_LOAD_BINARY_MAIN
move.b #CSEL, CCTRL1 ; Setup select line on... |
/*
AngelCode Scripting Library
Copyright (c) 2003-2013 Andreas Jonsson
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software f... |
#ifndef CMDSTAN_IO_JSON_JSON_DATA_HANDLER_HPP
#define CMDSTAN_IO_JSON_JSON_DATA_HANDLER_HPP
#include <boost/throw_exception.hpp>
#include <boost/lexical_cast.hpp>
#include <stan/io/var_context.hpp>
#include <cmdstan/io/json/json_error.hpp>
#include <cmdstan/io/json/rapidjson_parser.hpp>
#include <cmdstan/io/json/json_... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r14
push %r15
push %r8
push %rsi
// Load
lea addresses_WC+0x34ba, %r10
xor $56970, %r12
mov (%r10), %r14d
sub $40873, %r14
// Store
mov $0x300d87000000011a, %r15
nop
nop
nop
nop
nop
inc %rsi
... |
; A338215: a(n) = A095117(A062298(n)).
; Submitted by Christian Krause
; 1,1,1,3,3,5,5,6,8,9,9,11,11,12,13,14,14,16,16,17,19,20,20,21,22,24,25,27,27,28,28,29,30,32,33,34,34,35,36,37,37,39,39,40,42,43,43,44,45,46,47,49,49,50,51,52,54,55,55,57,57,58,59,60,62,63,63,64,65,66,66,67,67,69,70,71,72,73,73,74,76,77,77,79,80,81,... |
; $Id: f_lxmul.asm,v 1.1 97/04/07 12:04:24 newdeal Exp $
;[]-----------------------------------------------------------------[]
;| F_LXMUL.ASM -- long multiply routine |
;[]-----------------------------------------------------------------[]
;
; C/C++ Run Time Library - Version ... |
# Copyright 2021 Tadashi G. Takaoka
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wr... |
; A133680: a(n)=8*a(n-1)+72*a(n-2) for n>=3, a(0)=1, a(1)=8, a(2)=128 .
; Submitted by Jon Maiga
; 1,8,128,1600,22016,291328,3915776,52301824,700350464,9368535040,125373513728,1677522632704,22447074050048,300358221955072,4019055107244032,53778232838717440,719597830431309824,9628815407838134272,128841567053759381504,172... |
ORG 0000H
DB 00000000B
ORG 0001H
DB 01111011B
ORG 0002H
DB 00000001B
ORG 0003H
DB 11001000B
ORG 0004H
DB 00000001B
ORG 0005H
DB 00000000B
ORG 0006H
DB 00001110B
ORG 0007H
DB 00000000B
ORG 0008H
DB 00000000B
ORG 0009H
DB 00000000B
... |
_ls: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
close(fd);
}
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 push %eb... |
/*
* Copyright (C) 2011-2017 Redis Labs Ltd.
*
* This file is part of memtier_benchmark.
*
* memtier_benchmark 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, version 2.
*
* memtier_benchmark is distr... |
; A185048: Length of the continued fraction for floor(Fibonacci(n)*(1+sqrt(5))/2) / Fibonacci(n).
; 1,1,2,2,4,2,6,4,8,4,10,6,12,6,14,8,16,8,18,10,20,10,22,12,24,12,26,14,28,14,30,16,32,16,34,18,36,18,38,20,40,20,42,22,44,22,46,24,48,24,50,26,52,26,54,28,56,28,58,30,60,30,62,32,64,32,66,34,68,34,70,36,72,36,74,38,76,38,... |
//===--- ModuleFile.cpp - Loading a serialized module ---------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.