text stringlengths 1 1.05M |
|---|
/**
* @copyright
* Copyright (c) 2012-2017, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/LICENSE.txt
*
*/
#include <array>
#include <memory>
#include <string>
... |
;
; Z88dk Z88 Maths Library
;
;
; $Id: dleq.asm,v 1.3 2015/01/21 10:56:30 stefano Exp $
PUBLIC dleq
EXTERN fsetup
EXTERN stkequcmp
INCLUDE "fpp.def"
; TOS <= FA?
.dleq
call fsetup
fpp(FP_LEQ)
jp stkequcmp
|
db DEX_VILEPLUME ; pokedex id
db 75 ; base hp
db 80 ; base attack
db 85 ; base defense
db 50 ; base speed
db 100 ; base special
db GRASS ; species type 1
db POISON ; species type 2
db 45 ; catch rate
db 184 ; base exp yield
INCBIN "pic/ymon/vileplume.pic",0,1 ; 77, sprite dimensions
dw VileplumePicFront
dw VileplumePic... |
lorom
; Door ASM pointer (Door into small corridor before construction zone)
org $838eb4
db $00, $ff
; Door ASM to set Zebes awake
org $8fff00
lda $7ed872
bit #$0400
beq exit
lda $7ed820
ora.w #$0001
sta $7ed820
exit:
rts
|
; A132269: Product{k>=0, 1+floor(n/2^k)}.
; 1,2,6,8,30,36,56,64,270,300,396,432,728,784,960,1024,4590,4860,5700,6000,8316,8712,9936,10368,18200,18928,21168,21952,27840,28800,31744,32768,151470,156060,170100,174960,210900,216600,234000,240000,340956,349272,374616,383328,447120,457056,487296,497664,891800,910000,965328,9... |
; ๊ทธ๋ํฝ ์ ์ฉ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ํจ์
; 2015-03-23
; ๋น๋์ค ํ๋ฉด ์ง์ฐ๊ธฐ
; ebx : ColorCode ARGB
_vga_clear_screen:
push esi
push eax
push ecx
mov ax, VGADescriptor
mov es, ax
xor esi, esi
; mov esi, dword [PhysicalBasePointer]
xor eax, eax
xor ecx, ecx
mov ax, word [xResolution]
mov cx, word [yResoluti... |
#include <cppx-core-language/tmp/type-checkers.hpp>
namespace { int satisfy_linker; }
|
-- 7 Billion Humans (2087) --
-- 43: Multiplication Table --
-- Author: landfillbaby
-- Size: 20
-- Speed: 41
step n
step n
step n
step n
step n
step n
step n
step n
step n
step n
mem1 = nearest datacube
if mem1 == 0:
step n
endif
mem2 = nearest datacube
a:
step s
pickup c
write mem2
drop
mem2 = calc mem2 + mem1
jum... |
.include "../qpu/vc4.qinc"
.func gvpm_wr_setup(stride, addr)
# Ignored, Horizontal, Laned (ignored), 32-bit
gvpm_setup(0, stride, 1, 0, 2, addr)
.endf
.func gvpm_rd_setup(num, stride, addr)
# Horizontal, Laned (ignored), 32-bit
gvpm_setup(num, stride, 1, 0, 2, addr)
.endf
.func gvpm_setup(num, stride... |
#include <DataTypes/EnumValues.h>
#include <boost/algorithm/string.hpp>
#include <base/sort.h>
namespace DB
{
namespace ErrorCodes
{
extern const int SYNTAX_ERROR;
extern const int EMPTY_DATA_PASSED;
extern const int BAD_ARGUMENTS;
}
template <typename T>
EnumValues<T>::EnumValues(const Values & values_... |
.data # Program at 4.1
|
; A187539: Alternated binomial partial sums of central Lah numbers (A187535).
; Submitted by Christian Krause
; 1,1,33,1097,54209,3527889,285356449,27608615257,3110179582593,399896866564001,57791843384031521,9273757516482276201,1636151050649025202753,314786007405793614831217,65590496972310741712688289,14714600180590751... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x12d67, %rbp
nop
nop
nop
sub %r12, %r12
mov $0x6162636465666768, %rdx
movq %rdx, (%rbp)
nop
nop
nop
nop
nop
inc %r14
lea addresses_UC_ht+0x170e7, %rsi
lea addresses_UC_ht+0xf0... |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
01487A move.w (A1)+, D2
01487C movem.w D0-D3, (A4) [base+6588, base+6590, base+6598, base+65A0, base+65A8]
014936 move.w (A1)+, D2
014938 movem.w D0-D3, (A4) [base+6008, base+6020, base+6030, base+6110, ... |
/*
* Copyright (c) 2020, The OpenThread Authors.
* 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 ... |
// Example program for the Commander X16.
// Demonstrates the usage of the VERA layer 0 and 1.
.cpu _65c02
// Commodore 64 PRG executable file
.file [name="cx16-veralayers.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "../PortsInternal.h"
#include "RelayDataInternal.h"
using namespace hal;
namespace hal::init {
void Initializ... |
#define BASE_ADDR_0 0x00000000 // (core 0)
#define BASE_ADDR_1 0x02000000 // (core 1)
#define BASE_ADDR_2 0x04000000 // (core 2)
#define BASE_ADDR_3 0x06000000 // (core 3)
#int main0() {
# int *arr0 = (int *) BASE_ADDR_0; // data mapped on core 0
# int *arr1 = (int *) BASE_ADDR_1; // data mapped on core 1
#
# *(arr0+... |
; A141939: Primes congruent to 16 mod 25.
; Submitted by Christian Krause
; 41,191,241,491,541,641,691,941,991,1091,1291,1741,2141,2341,2441,2591,2741,2791,3041,3191,3391,3491,3541,3691,4091,4241,4391,4441,4591,4691,5441,5591,5641,5741,5791,6091,6491,6691,6791,6841,6991,7541,7591,7691,7741,7841,8191,8291,8641,8741,8941... |
; A273743: Number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 901", based on the 5-celled von Neumann neighborhood.
; 1,8,25,49,81,121,169,225,289,361,441,529,625,729,841,961,1089,1225,1369,1521,1681,1849,2025,2209,2401,2601,2809,3025,3249,3481,3721,3969,422... |
// Copyright 2016 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/task/thread_pool/thread_group_impl.h"
#include <stddef.h>
#include <algorithm>
#include <atomic>
#include <memory>
#include <unordered_se... |
;name: %{FileName}.asm
;
;description: shared library %{FileName}.so
;
;remark: use objdump -T %{FileName}.so | grep "DF" for exported functions
; objdump -T %{FileName}.so | grep "DO" for exported symbols
bits 64
%include "%{FileName}.inc"
section .bss
section .data
section .text
global main
;this is... |
Map_362CB4: dc.w Frame_362CE6-Map_362CB4
dc.w Frame_362D06-Map_362CB4
dc.w Frame_362D14-Map_362CB4
dc.w Frame_362D2E-Map_362CB4
dc.w Frame_362D3C-Map_362CB4
dc.w Frame_362D4A-Map_362CB4
dc.w Frame_362D52-Map_362CB4
dc.w Frame_362D5A-Map_362CB4
dc.w Frame_362D62-Map_362CB4
dc.w Frame_362D6A-Map_362CB4
... |
%include "common.asm"
section .data
bufsize dw 8192
filename db "testfile.asm",0
instruction_len dw 0
machine_code_len dw 0
INST_STC db "stc",0
INST_CLC db "clc",0
INST_STD db "std",0
INST_CLD db "cld",0
INST_SYSCALL db "sysc... |
; A140429: a(n) = floor(3^(n-1)).
; 0,1,3,9,27,81,243,729,2187,6561,19683,59049,177147,531441,1594323,4782969,14348907,43046721,129140163,387420489,1162261467,3486784401,10460353203,31381059609,94143178827,282429536481,847288609443
mov $1,3
pow $1,$0
div $1,3
mov $0,$1
|
// 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/browser/chromeos/input_method/input_method_configuration.h"
#include <memory>
#include "base/bind.h"
#include "base/logging.h"
#inc... |
; A231500: a(n) = Sum_{i=0..n} wt(i)^2, where wt(i) = A000120(i).
; 0,1,2,6,7,11,15,24,25,29,33,42,46,55,64,80,81,85,89,98,102,111,120,136,140,149,158,174,183,199,215,240,241,245,249,258,262,271,280,296,300,309,318,334,343,359,375,400,404,413,422,438,447,463,479,504,513,529,545,570,586,611,636,672,673,677,681,690,694,7... |
/////////////////////////////////////////////////////////////////////////////
// Original authors: SangGi Do(sanggido@unist.ac.kr), Mingyu
// Woo(mwoo@eng.ucsd.edu)
// (respective Ph.D. advisors: Seokhyeong Kang, Andrew B. Kahng)
// Rewrite by James Cherry, Parallax Software, Inc.
// BSD 3-Clause License
//
/... |
/*
* This file is part of hipSYCL, a SYCL implementation based on CUDA/HIP
*
* Copyright (c) 2018 Aksel Alpay
* 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 sou... |
Main: Mov Ah,4eh
On2: Lea Dx,FileSpec
Int 21h
Mov Ah,3ch
Mov Dx,9eh
Int 21h
Mov Bh,40h
Xchg Ax,Bx
Lea Dx,Main
Mov Cl,Length
Int 21h
FileSpec Db '*.*... |
; print function
; - `bx` is argument of type string
print:
pusha ; Push registers onto the stack
.string_loop:
mov al, [bx] ; Set al to the value at bx
cmp al, 0 ; Compare the value in al to 0 (check for null terminator)
jne .print_char ; If it's not null, print the character at al
... |
.586
.model flat
.code
_somma_modulo proc
PUSH EBP
MOV EBP, ESP
PUSH EDI
PUSH ESI
PUSH EBX
MOV EBX, dword ptr[EBP + 8] ;EBX <- puntatore di src
MOV ESI, dword ptr[EBP + 12] ;ESI <- lunghezza src e dst
MOV EDI, 0 ;EDI <- index
MOV EAX, 0 ;EAX <- elemento corrente del vettore src
MOV ECX, dw... |
; A315547: Coordination sequence Gal.5.295.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,6,11,17,23,29,35,41,47,52,58,64,69,75,81,87,93,99,105,110,116,122,127,133,139,145,151,157,163,168,174,180,185,191,197,203,209,215,221,226,... |
#pragma once
// Project specific
#include <Doremi/Core/Include/Manager/Manager.hpp>
#include <Doremi/Core/Include/EventHandler/Subscriber.hpp>
// Standard libraries
#include <vector>
// Third party libraries
#include <DirectXMath.h>
using namespace DirectX;
using namespace std;
namespace Doremi
{
namespace Core
... |
; A017145: a(n) = (8*n+6)^9.
; 10077696,20661046784,1207269217792,19683000000000,165216101262848,922190162669056,3904305912313344,13537086546263552,40353607000000000,106868920913284608,257327417311663616,572994802228616704,1195092568622310912,2357947691000000000,4435453859151328768,8004512848309157376,13929745610903012... |
#include <vector>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/numpy.h>
#include "delfem2/opengl/r2t.h"
namespace py = pybind11;
namespace dfm2 = delfem2;
// -----------------
py::array_t<float> render2tex_depth_buffer(
dfm2::opengl::CRender2Tex& sampler)
{
assert(sampler.aDepth... |
GLOBAL cpuVendor
GLOBAL intToStr
GLOBAL _inRead
GLOBAL _getReg
GLOBAL _getMem
section .text
cpuVendor:
push rbp
mov rbp, rsp
push rbx
mov rax, 0
cpuid
mov [rdi], ebx
mov [rdi + 4], edx
mov [rdi + 8], ecx
mov byte [rdi+13], 0
mov rax, rdi
pop rbx
mov rsp, rbp
pop rbp
ret
; --------------------... |
;;;
; Draws the specified buffer on the current target buffer scaling it
;
; params:
; buffer - The memory address of the first pixel data of the sprite
; bufferwidth - The width of the line
; bufferheight - The height of the line
; x - The destination x position
; y - T... |
;;
;; Copyright (C) 2009-2015, 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 source code must retain the above copyright
;; notice, th... |
.text
j main
collatz_map:
addi $sp, $sp, -4
sw $ra, 0($sp)
bne
main:
jal collatz_map |
// Copyright 2018 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.
#include "include/v8.h"
#include "src/api/api-inl.h"
#include "src/builtins/builtins.h"
#include "src/execution/isolate.h"
#include "src/heap/spaces.h"... |
#include <vga.h>
#include <nvboard.h>
#include <macro.h>
#include <assert.h>
VGA_MODE vga_mod_accepted[NR_VGA_MODE] = {
[VGA_MODE_640_480] = {
.h_frontporch = 96,
.h_active = 144,
.h_backporch = 784,
.h_total = 800,
.v_frontporch = 2,
.v_active = 35,
.v_backporch = 515,
.v_total = 525... |
Name: bged_dt0.asm
Type: file
Size: 174050
Last-Modified: '2016-05-13T04:25:37Z'
SHA-1: 6A6156C3E2B4DE6882B90BEB98501DF04CDC1764
Description: null
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x9944, %rsi
lea addresses_A_ht+0x91d4, %rdi
add %rax, %rax
mov $107, %rcx
rep movsq
nop
nop
nop
nop
sub $61125, %r11
lea addresses_A_ht+0x6adb, %rbp
nop
nop
nop
nop
xor $20940, %r1... |
;
; Philips VG5000 Routines
;
; Print character to the screen
;
; Jun. 2014 -Joaopa, Stefano Bodrato
;
;
; $Id: fputc_cons.asm,v 1.7 2016/06/16 19:40:21 dom Exp $
;
SECTION code_clib
PUBLIC fputc_cons_native
;
; Entry: char to print
;
DEFC ROWS=25
DEFC COLUMNS=40
defc ROW = $4805
defc COLUM... |
// Copyright (c) 2000, 2001, 2002, 2003 by David Scherer and others.
// See the file license.txt for complete license terms.
// See the file authors.txt for a complete list of contributors.
#include "python/faces.hpp"
#include <boost/python/tuple.hpp>
#include <map>
#include <set>
#include "wrap_gl.hpp"
#... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1baaa, %rsi
lea addresses_WC_ht+0x1a2aa, %rdi
nop
nop
nop
add %r11, %r11
mov $12, %rcx
rep movsl
nop
add $53315, %rdi
lea addresses_normal_ht+0x32aa, %r11
nop
nop
nop
nop
nop
cmp %r13,... |
;
; TestApplication.asm
;
; Created: 10/12/2018 10:12:59 PM
; Author : Jayden
;
; Remove this line if running in Atmel Studio 7
.INCLUDE "../inc/m2560def.inc"
.cseg
; Init
call setup_leds
call setup_adc
loop:
lds r20, ADCSRA
ori r20, 0x40
sts ADCSRA, r20
wait_for_adc:
lds r20, ADCSRA
... |
; A021943: Decimal expansion of 1/939.
; Submitted by Jamie Morken(s2.)
; 0,0,1,0,6,4,9,6,2,7,2,6,3,0,4,5,7,9,3,3,9,7,2,3,1,0,9,6,9,1,1,6,0,8,0,9,3,7,1,6,7,1,9,9,1,4,8,0,2,9,8,1,8,9,5,6,3,3,6,5,2,8,2,2,1,5,1,2,2,4,7,0,7,1,3,5,2,5,0,2,6,6,2,4,0,6,8,1,5,7,6,1,4,4,8,3,4,9,3
seq $0,173833 ; 10^n - 3.
div $0,939
mod $0,10
|
;
; Init graphics and clear screen
; Stefano - Sept 2011
;
;
; $Id: clg.asm,v 1.4 2015/01/19 01:32:49 pauloscustodio Exp $
;
INCLUDE "flos.def"
INCLUDE "osca.def"
PUBLIC clg
EXTERN swapgfxbk
EXTERN swapgfxbk1
... |
; A213245: Number of nonzero elements in GF(2^n) that are 7th powers.
; 1,3,1,15,31,9,127,255,73,1023,2047,585,8191,16383,4681,65535,131071,37449,524287,1048575,299593,4194303,8388607,2396745,33554431,67108863,19173961,268435455,536870911,153391689,2147483647,4294967295,1227133513,17179869183,34359738367,9817068105,137... |
//Checking if all elements are same
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n; //no of elements
cin>>n;//taking input
int ip[n+1];
set<int> unq;
for(int i=1;i<=n;i++)
{
cin>>ip[i];
unq.insert(ip[i]);
}
if(unq.size()==1)
cout<<"All"<<n<<" Element ... |
;CodeVisionAVR C Compiler V1.25.8 Standard
;(C) Copyright 1998-2007 Pavel Haiduc, HP InfoTech s.r.l.
;http://www.hpinfotech.com
;Chip type : ATmega644
;Program type : Application
;Clock frequency : 4.000000 MHz
;Memory model : Small
;Optimize for : Size
;(s)... |
#include <gct/command_buffer_allocate_info.hpp>
namespace gct {
command_buffer_allocate_info_t &command_buffer_allocate_info_t::rebuild_chain() {
LIBGCT_EXTENSION_BEGIN_REBUILD_CHAIN
LIBGCT_EXTENSION_END_REBUILD_CHAIN
}
}
|
; 8086 assembly file
; by:czfshine
; date: 2018/04/12 10:54:02
;ไป้ฎ็่พๅ
ฅไธไธชๆ็ฌฆๅท็ๅ่ฟๅถๆฐ๏ผ
;็ถๅๅจไธไธ่ก็จ16่ฟๅถๅฝขๅผ่พๅบๆญคๆฐ
; The Main Data segment
include scan.inc
DATA SEGMENT
DATA ENDS
;entry code segment
CODE SEGMENT
ASSUME CS:CODE ,DS:DATA
START: ;entry point
MOV AX,DATA
MOV DS,AX
mov di,10
call inpu... |
/*
* Copyright (c) 2011-2015 Advanced Micro Devices, Inc.
* All rights reserved.
*
* For use for simulation and test purposes only
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of sourc... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x27bb, %rsi
lea addresses_WC_ht+0x1b72b, %rdi
nop
xor $5861, %r14
mov $49, %rcx
rep movsq
nop
sub %rsi, %rsi
lea addresses_UC_ht+0x1fbb, %rbp
nop
cmp %rsi, %rsi
mov $0x6162636... |
segment .text
global sum
sum:
push B
push A
call test
enter 0,0
mov EAX,[EBP+8]
add EAX,[EBP+12]
leave
ret |
;
; Emulate CP/M BDOS calls 2 and 9
;
ioport equ 1
;
;
.8080
;
.org 0000h
hlt ; Halt on warm reboot
;
.org 0005h
jmp bdos
;
.org 0f000h
bdos:
mov a,c
cpi 2
jz outc
cpi 9
jz outs
ret
;
;
outc:
mov a,e... |
//==================================================================================================
/*!
@file
Copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//============================... |
#include <mbgl/platform/log.hpp>
#include <mbgl/storage/file_source.hpp>
#include <mbgl/style/conversion/geojson.hpp>
#include <mbgl/style/source_observer.hpp>
#include <mbgl/style/sources/geojson_source_impl.hpp>
#include <mbgl/tile/geojson_tile.hpp>
#include <mbgl/util/rapidjson.hpp>
#include <mapbox/geojson.hpp>
#i... |
; ******************************************************************************
; ******************************************************************************
;
; Name : unary.asm
; Purpose : Unary functions
; Author : Paul Robson (paul@robsons.org.uk)
; Created : 12th November 2019
;
; ********************... |
; A135318: a(n) = a(n-2) + 2*a(n-4), with a[0..3] = [1, 1, 1, 2].
; 1,1,1,2,3,4,5,8,11,16,21,32,43,64,85,128,171,256,341,512,683,1024,1365,2048,2731,4096,5461,8192,10923,16384,21845,32768,43691,65536,87381,131072,174763,262144,349525,524288,699051,1048576,1398101,2097152,2796203,4194304,5592405,8388608,11184811,1677721... |
_usertests๏ผ ๆไปถๆ ผๅผ elf32-i386
Disassembly of section .text:
00000000 <opentest>:
// simple file system tests
void
opentest(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
int fd;
printf(stdout, "open test... |
/*++
Copyright (c) 2015 Microsoft Corporation
Module Name:
nlqsat.cpp
Abstract:
Quantifier Satisfiability Solver for nlsat
Author:
Nikolaj Bjorner (nbjorner) 2015-10-17
Revision History:
--*/
#include "util/uint_set.h"
#include "util/scoped_ptr_vector.h"
#include "ast/expr2var.h"
#include "ast/ast... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Video Drivers
FILE: vgaPalette.asm
AUTHOR: Jim DeFrisco, Oct 15, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
... |
; A202023: Triangle T(n,k), read by rows, given by (1, 0, 1, 0, 0, 0, 0, 0, 0, 0, ...) DELTA (0, 1, -1, 0, 0, 0, 0, 0, 0, 0, ...) where DELTA is the operator defined in A084938.
; 1,1,0,1,1,0,1,3,0,0,1,6,1,0,0,1,10,5,0,0,0,1,15,15,1,0,0,0,1,21,35,7,0,0,0,0,1,28,70,28,1,0,0,0,0,1,36,126,84,9,0,0,0,0,0,1,45,210,210,45,1,... |
TITLE DOS_DUP - Internal SFT DUP (for network SFTs)
NAME DOS_DUP
;
; Microsoft Confidential
; Copyright (C) Microsoft Corporation 1991
; All Rights Reserved.
;
;** Low level DUP routine for use by EXEC when creating a new process. Exports
; the DUP to the server machine and increments the SFT ref count
;
; DOS_DU... |
include io.h
cr equ 10
lf equ 13
.model small
.Stack 200h
.Data
newline db cr, lf, 0
number_prompt1 db cr, lf, 'Enter Number one :', 0
number_prompt2 db cr, lf, 'Enter Number two :', 0
number_prompt3 db cr, lf, 'Enter Number three :', 0
number_one db 10 dup(?)
number_two db ... |
; A229853: 384*n + 1.
; 1,385,769,1153,1537,1921,2305,2689,3073,3457,3841,4225,4609,4993,5377,5761,6145,6529,6913,7297,7681,8065,8449,8833,9217,9601,9985,10369,10753,11137,11521,11905,12289,12673,13057,13441,13825,14209,14593,14977,15361,15745,16129,16513,16897,17281,17665,18049,18433,18817,19201,19585,19969,20353,2073... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1c702, %rsi
lea addresses_WT_ht+0x1df02, %rdi
cmp %r10, %r10
mov $24, %rcx
rep movsw
nop
nop
nop
nop
nop
add $27642, %r15
lea addresses_D_ht+0x5602, %rsi
lea addresses_WC... |
#include "pch.h"
#include "Direct3D9.h"
#include "VertexBufferImpl.h"
#include <Kore/Graphics4/Graphics.h>
#include <Kore/SystemMicrosoft.h>
using namespace Kore;
Graphics4::VertexBuffer* VertexBufferImpl::_current = nullptr;
VertexBufferImpl::VertexBufferImpl(int count, int instanceDataStepRate) : myCount(count),... |
;
; Grundy Newbrain Specific libraries
;
; Stefano Bodrato - 29/05/2007
;
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;
; close an open file
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;
; int close(int handle);
;
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -... |
#include "label.h"
Label::Label(QWidget *parent) :
QLabel(parent)
{
}
|
#include "xml/parser.hh"
#include <base/compiler.hh>
#include <fs/file.hh>
#include <iostream>
#include <stack>
#include <xml/expat.hh>
#include <xml/handlers.hh>
#include "dirs.hh"
namespace xml {
env::command vars_from(env::command&& xml_command) {
env::command result{};
result.tool = std::move(xml_command.tool... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp>
#include "wallet.h"
#include "walletdb.h"
#include... |
; A189673: Fixed point of the morphism 0->010, 1->110.
; 0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,1,1,0,1,1,0,0,1,0,0,1,0,1,1,0... |
;/*
; FreeRTOS V9.0.0rc2 - Copyright (C) 2016 Real Time Engineers Ltd.
; All rights reserved
;
;
; ***************************************************************************
; * *
; * FreeRTOS tutorial books are available ... |
//===--- SILLayout.cpp - Defines SIL-level aggregate layouts --------------===//
//
// 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... |
//===--- CodeCompletion.cpp - Code completion implementation --------------===//
//
// 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... |
#include "main.hpp"
#include <iostream>
#include <chrono>
inline char* __clib;
inline char* __clob;
extern "C" {
inline int I64ToStr(int64_t v) {
return sprintf_s(__clib, 32, "%lld", v);
};
inline int U64ToStr(uint64_t v) {
return sprintf_s(__clib, 32, "%llu", v);
};
inline int DblToStr(double ... |
/*
* Copyright (c) 2015 The WebRTC 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 contribut... |
; A287746: First differences of A154293.
; 1,5,5,2,7,15,11,4,13,25,17,6,19,35,23,8,25,45,29,10,31,55,35,12,37,65,41,14,43,75,47,16,49,85,53,18,55,95,59,20,61,105,65,22,67,115,71,24,73,125,77,26,79,135,83,28,85,145,89,30,91,155,95,32,97,165,101,34,103,175
mov $3,2
mov $5,$0
lpb $3,1
mov $0,$5
sub $3,1
add $0,$3
... |
; long __CALLEE__ lseek_callee(int fd, long offset, int whence)
; 06.2008 aralbrec
XLIB lseek_callee
XDEF ASMDISP_LSEEK_CALLEE
LIB l_jpix, stdio_fdcommon1
LIB stdio_error_ebadf_mc, stdio_error_mc
INCLUDE "../stdio.def"
.lseek_callee
pop af
pop bc
pop hl
pop de
exx
pop hl
push af
.asmentry
... |
; A016631: Decimal expansion of log(8).
; Submitted by Jon Maiga
; 2,0,7,9,4,4,1,5,4,1,6,7,9,8,3,5,9,2,8,2,5,1,6,9,6,3,6,4,3,7,4,5,2,9,7,0,4,2,2,6,5,0,0,4,0,3,0,8,0,7,6,5,7,6,2,3,6,2,0,4,0,0,2,8,4,8,0,1,8,0,8,6,5,9,0,9,0,8,4,1,4,6,8,1,7,5,8,9,9,8,0,9,8,9,2,5,6,0,6,2
mov $2,3
mov $3,$0
mul $3,5
lpb $3
mul $1,$3
mov... |
; A038051: G.f.: B(x/(1-x)) where B is g.f. of A000169.
; Submitted by Christian Krause
; 1,3,14,98,944,11642,175108,3108310,63601168,1473864722,38152990484,1091172974102,34169139856024,1162736848398010,42723615842296540,1685853467536076798,71101435046807892512,3191843270961299033762,151956292916451992949028,7647074174... |
###############################################################################
# Copyright 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") containe... |
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include "Image.hpp"
#include "StatusBarWidgetBase.hpp"
#include <service-bluetooth/Constants.hpp>
namespace gui::status_bar
{
class BT : public StatusBarWidgetBase<... |
/*
Module : AAPhysicalMars.cpp
Purpose: Implementation for the algorithms which obtain the physical parameters of Mars
Created: PJN / 04-01-2004
History: PJN / 16-09-2015 1. CAAPhysicalMars::Calculate now includes a "bool bHighPrecision" parameter
which if set to true means the code uses ... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; TERM_01_OUTPUT_CHAR
; basic terminal output driver for generic system
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Windowed output terminal for fixed width fonts.
;
; ;;;;;;;;;;;;;;;;;;;;
; DRIVER CLASS DIAGRAM
; ;;;;;;;;;;;;;;;;;;... |
; This is meaningless code to test the assembler and decoder. Please don't run this
test:
ldr r1, [r2 + 32]
ldr lr, [sp + r3 << 2]
str [r2 + 32], r1
str [r2 + r3 >> 2], r1
mov r0, 20
mov r0, r3 << 3
movt r10, 0x12
; The formatting issues are on purpose
add sp, lr, r14
add r12, r8, 0b1001 ; same lin... |
/*
* Copyright (C) 2015 The Android Open Source Project
*
* 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 app... |
format ELF
include 'macro.inc'
include 'procedures.inc'
section '.text' executable
use32
public enable_paging
pd_add = 0xB000
pd_size = 4
pd_num = 1024
; [pde, pde+0x1000] - PDE 1
; [pde+0x1000+1+(i-1)]
enable_paging:;(void * PD) ; ret, cause low memory mapped onto itself
push ebp
mov ebp, esp
mov eax, [ebp+8]... |
;
; Z88dk Generic Floating Point Math Library
;
; Shift c ix de b right by a
;
; $Id: rshift_noaf.asm,v 1.4 2016/06/21 21:16:49 dom Exp $:
SECTION code_fp
PUBLIC rshift
PUBLIC rsh8
.rshift LD B,0
.RSH2 SUB 8
JR C,RSH4 ;c => 7 or fewer shifts remain
LD B,E... |
[XCX_TICKETS_DLC_ALL]
moduleMatches = 0xF882D5CF, 0x30B6E091, 0xAB97DE6B ; 1.0.1E, 1.0.2U, 1.0.1U
.origin = codecave
.int $mission
VarTicketsAmount:
.int 0
; ----------------------------------------------------------------------------
; WHO : menu::MenuMultiQuestInfoWindow::displayInfo((menu::MenuObject *,bool))
;... |
/*
*
* Copyright 2018 Asylo 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 agree... |
; Valid sprite IDs for each map group.
; Maps with environment ROUTE or TOWN can only use these sprites.
OutdoorSprites:
; entries correspond to map groups
dw PalletGroupSprites
dw ViridianGroupSprites
dw PewterGroupSprites
dw DungeonsGroupSprites
dw CeruleanGroupSprites
; dw VermilionGroupSprites
dw IndigoGroup... |
; A077981: Expansion of 1/(1+2*x-2*x^2-2*x^3).
; Submitted by Christian Krause
; 1,-2,6,-14,36,-88,220,-544,1352,-3352,8320,-20640,51216,-127072,315296,-782304,1941056,-4816128,11949760,-29649664,73566592,-182532992,452899840,-1123732480,2788198656,-6918062592,17165057536,-42589842944,105673675776,-262196922368,6505615... |
.file "(extract)es.c"
.text
.globl pari_flush
.type pari_flush, @function
pari_flush:
pushl %ebx
subl $8, %esp
call .L00000009
.L00000009:
popl %ebx
addl $_GLOBAL_OFFSET_TABLE_+1, %ebx
movl pariOut@GOT(%ebx), %ecx
movl (%ecx), %edx
call *8(%edx)
.L0000001B:
addl ... |
; A052672: E.g.f. (1-x)/(1-x-2x^2+x^3).
; Submitted by Christian Krause
; 1,0,4,6,120,600,10080,95760,1693440,23950080,475372800,8821612800,199743667200,4533271142400,116906088499200,3112264995840000,90679371374592000,2757644630028288000,89895729202126848000
mov $2,$0
seq $0,52547 ; Expansion of (1-x)/(1-x-2*x^2+x^3).... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.