text stringlengths 1 1.05M |
|---|
;========================================================
COMMENT #
VFEAT.ASM
Copyright (c) 1991 - Microsoft Corp.
All rights reserved.
Microsoft Confidential
=================================================
Function that checks for the Vfeature hard disk
device driver.
int far VfeatureCheck ( void )
... |
/*
* Copyright 2022 HEAVY.AI, 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
// Copyright 2021 Code Intelligence GmbH
//
// 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... |
; A255236: All positive solutions x of the second class of the Pell equation x^2 - 2*y^2 = -7.
; 5,31,181,1055,6149,35839,208885,1217471,7095941,41358175,241053109,1404960479,8188709765,47727298111,278175078901,1621323175295,9449763972869,55077260661919,321013799998645,1871005539329951,10905019435981061,635591110765564... |
// Copyright (c) 2017 The Zcash developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
#include <test/test_worldcoin.h>
#include <torcontrol.h>
#include <boost/test/unit_test.hpp>
#include <map>
#include <string>
#includ... |
EngineFlagAction::
; Do action b on engine flag de
;
; b = 0: reset flag
; = 1: set flag
; > 1: check flag, result in c
;
; Setting/resetting does not return a result.
; 16-bit flag ids are considered invalid, but it's nice
; to know that the infrastructure is there.
ld a, d
cp HIGH(NUM_ENGINE_FLAGS)
jr ... |
dnl AMD64 mpn_redc_1 optimised for Intel Haswell.
dnl Contributed to the GNU project by Torbjörn Granlund.
dnl Copyright 2013 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 ... |
; A076545: sum[k=1 to n] mu(k)+sqf(k): mu(k) is Moebius function; sqf(k)=1 if k is squarefree, sqf(k)=-1 otherwise.
; 2,2,2,1,1,3,3,2,1,3,3,2,2,4,6,5,5,4,4,3,5,7,7,6,5,7,6,5,5,5,5,4,6,8,10,9,9,11,13,12,12,12,12,11,10,12,12,11,10,9,11,10,10,9,11,10,12,14,14,13,13,15,14,13,15,15,15,14,16,16,16,15,15,17,16,15,17,17,17,16,... |
/****************************************************************************
**
** BSD 3-Clause License
**
** Copyright (c) 2017, bitdewy
** All rights reserved.
**
****************************************************************************/
#include "sizepolicypropertymanager_p.h"
#include "propertymanage... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
; A315690: Coordination sequence Gal.5.135.4 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.
; Submitted by Simon Strandgaard
; 1,6,12,17,22,28,33,38,44,50,56,62,67,72,78,83,88,94,100,106,112,117,122,128,133,138,144,150,156,162,167,172... |
#include "tiger/liveness/liveness.h"
extern frame::RegManager *reg_manager;
#define DEBUG
#ifdef DEBUG
#define LOG(format, args...) do { \
FILE* debug_log = fopen("liveness.log", "a+"); \
fprintf(debug_log, "%d, %s: ", __LINE__, __func__); \
fprintf(debug_log, format, ##args); \
fclose(debug_log... |
lda {m1}
sta $fe
lda {m1}+1
sta $ff
sec
lda ($fe),y
sbc #<{c1}
sta ($fe),y
iny
lda ($fe),y
sbc #>{c1}
sta ($fe),y
iny
lda ($fe),y
sbc #<{c1}>>$10
sta ($fe),y
iny
lda ($fe),y
sbc #>{c1}>>$10
sta ($fe),y |
; uint zx_saddr2px_fastcall(void *saddr)
SECTION code_clib
SECTION code_arch
PUBLIC _zx_saddr2px_fastcall
EXTERN asm_zx_saddr2px
defc _zx_saddr2px_fastcall = asm_zx_saddr2px
|
; A339183: Number of partitions of n into two parts such that the smaller part is a nonzero square.
; 0,0,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,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,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7
add $0,1
lpb $0
a... |
/*-----------------------------------------------------------------------------+
Copyright (c) 2010-2010: Joachim Faulhaber
+------------------------------------------------------------------------------+
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENCE.txt or copy at
... |
SFX_Battle_17_Ch7:
noisenote 2, 9, 4, 51
noisenote 4, 11, 4, 34
noisenote 4, 15, 1, 68
noisenote 8, 15, 1, 85
endchannel
|
; A273334: Number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 657", based on the 5-celled von Neumann neighborhood.
; 1,4,17,48,80,120,168,224,288,360,440,528,624,728,840,960,1088,1224,1368,1520,1680,1848,2024,2208,2400,2600,2808,3024,3248,3480,3720,3968,422... |
%cpx 100h
pushad
mov ah,ptext ;introduction text
mov dx,intro
mov bx,1
int 21h
mov bx,cs ;get size
mov ds,bx ;prepair
mov ax,cs:[2] ;get exact
sub a... |
; A158639: a(n) = 676*n^2 - 26.
; Submitted by Christian Krause
; 650,2678,6058,10790,16874,24310,33098,43238,54730,67574,81770,97318,114218,132470,152074,173030,195338,218998,244010,270374,298090,327158,357578,389350,422474,456950,492778,529958,568490,608374,649610,692198,736138,781430,828074,876070,925418,976118,1028... |
; A025778: Expansion of 1/((1-x)(1-x^5)(1-x^8)).
; 1,1,1,1,1,2,2,2,3,3,4,4,4,5,5,6,7,7,8,8,9,10,10,11,12,13,14,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,34,35,36,38,39,41,42,43,45,46,48,50,51,53,54,56
add $0,6
mov $2,6
mov $3,6
lpb $0,1
add $0,1
lpb $2,1
add $1,4
trn $2,8
lpe
trn $0,$3
ad... |
###############################################################################
# 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... |
#pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function Athena_GameSt... |
/*
* Licensed to Green Energy Corp (www.greenenergycorp.com) under one or
* more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Green Energy Corp licenses this file to you under the Apache License,
* Version 2.0 (the "Lic... |
; A008729: Molien series for 3-dimensional group [2, n] = *22n.
; 1,2,3,4,5,6,7,8,9,10,11,13,15,17,19,21,23,25,27,29,31,33,36,39,42,45,48,51,54,57,60,63,66,70,74,78,82,86,90,94,98,102,106,110,115,120,125,130,135,140,145,150,155,160,165,171,177,183,189,195,201,207,213,219,225,231,238,245,252,259,266,273,280,287,294,301,... |
# Lista 1 ex 11
# Brief: buscar um determinado valor em um array de inteiros
# Variables map:
# $s0 = array pointer
# $s1 = array end addr
# $s2 = valor a ser pesquisado (0x08)
# Output: encontrou (1) ou não (0) em 0x0C
# Pseudo codigo
.data
Syes: .asciiz "O valor foi encontrado :) \n"
Sno: .asciiz "O valor não foi enc... |
; A036293: a(n) = n * 7^n.
; 0,7,98,1029,9604,84035,705894,5764801,46118408,363182463,2824752490,21750594173,166095446412,1259557135291,9495123019886,71213422649145,531726889113616,3954718737782519,29311444762388082,216579008522089717,1595845325952240020,11729463145748964147,86016063068825737078,629481188821861075889,4... |
.model small
.stack 100h
.data
text db 'Hello world'
count dw 13
search db 'x'
found db 'String Found$'
notfound db 'String NOT Found$'
.code
begin: mov ax,@data
mov ds,ax
mov es,ax
mov cx,count
mov di,offset text
mov al,search
repne ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x9a1d, %rsi
nop
nop
nop
add $5960, %r15
movb (%rsi), %bl
nop
nop
sub %r14, %r14
lea addresses_D_ht+0x98dd, %r11
nop
xor $20551, %rdi
vmovups (%r11), %ymm5
vextracti128 $1, %ym... |
;
; Joystick handling for the Colecovision
;
;
MODULE joystick
SECTION code_clib
PUBLIC joystick
PUBLIC _joystick
; Ports 0xfc and 0xff
;
; Bit 0 - up
; Bit 1 - Right
; Bit 2 - Down
; Bit 3 - Left
; Bit 6 = Fire 0
;
; Other buttons can be found out from the keypad ports
;
;
; Writing to port 0x80 keypad = tru... |
; A087164: Records in A087162: A087162(a(n))=n.
; Submitted by Jamie Morken(s3)
; 1,2,3,7,23,91,383,1639,7043,30295,130343,560827,2413103,10383031,44675843,192230119,827123063,3558924955,15313255583
mov $1,1
lpb $0
sub $0,1
add $2,$1
sub $1,1
add $2,$1
trn $3,1
add $3,$1
add $2,$3
mov $1,$2
lpe
mov $0,... |
Total: 797.37MB
ROUTINE ======================== main.(*Graph).buildAdjList
362.63MB 362.63MB (flat, cum) 45.48% of Total
. . 10ca6a0: MOVQ GS:0x30, CX ;graph.go:102
. . 10ca6a9: LEAQ -0x60(SP), AX
. . 10ca6ae: CMPQ 0x10(CX), AX
... |
PrintRedSNESText:
call EnableAutoTextBoxDrawing
tx_pre_jump RedBedroomSNESText
RedBedroomSNESText:
TX_FAR _RedBedroomSNESText
db "@"
OpenRedsPC:
call EnableAutoTextBoxDrawing
tx_pre_jump RedBedroomPCText
RedBedroomPCText:
TX_PLAYERS_PC
Route15GateLeftBinoculars:
ld a, [wPlayerFacingDirection]
cp SPRITE_FAC... |
// license:BSD-3-Clause
// copyright-holders:Ernesto Corvi, Aaron Giles, Mariusz Wojcieszek
/***************************************************************************
Amiga Computer / Arcadia Game System
Driver by:
Aaron Giles, Ernesto Corvi & Mariusz Wojcieszek
***************************************... |
; A138393: Numbers of form 8k+1 which are not squares.
; 17,33,41,57,65,73,89,97,105,113,129,137,145,153,161,177,185,193,201,209,217,233,241,249,257,265,273,281,297,305,313,321,329,337,345,353,369,377,385,393,401,409,417,425,433,449,457,465,473,481,489,497,505
mov $2,$0
lpb $0
add $1,1
sub $0,$1
trn $0,1
lpe
add... |
;
; extern void memmap_link(void *p) __z88dk_fastcall;
;
PUBLIC _memmap_link
_memmap_link:
LD DE, jump_table
LD BC, 030H
LDIR
RET
; HL+0h ALL_SEG
; Use: Allocate a segment
; Entry: A=0 for the user, A=1 for the system
; B = Mapper slot in the form FxxxSSPP
; If xxx=000, allocate a segmen... |
; A301708: Coordination sequence for node of type V1 in "krc" 2-D tiling (or net).
; 1,6,11,16,22,28,33,38,44,50,55,60,66,72,77,82,88,94,99,104,110,116,121,126,132,138,143,148,154,160,165,170,176,182,187,192,198,204,209,214,220,226,231,236,242,248,253,258,264,270,275,280,286,292,297,302,308,314,319,324,330,336,341,346,... |
; RUN: not llvm-ml -filetype=s %s /Fo - 2>&1 | FileCheck %s --implicit-check-not=error:
.data
; <var> EQU <expression> can't be redefined to a new value
equated_number equ 3
; CHECK: :[[# @LINE + 1]]:21: error: invalid variable redefinition
equated_number equ 4
.code
end
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r15
push %r8
push %rdx
push %rsi
lea addresses_UC_ht+0x1027f, %r8
nop
nop
dec %r10
movups (%r8), %xmm7
vpextrq $0, %xmm7, %r13
nop
nop
nop
nop
sub $39738, %rsi
lea addresses_normal_ht+0x8faf, %rdx
nop
inc %r14
movl $0x61626364, (%rdx)
nop
... |
#include <stdio.h>
#include <vector>
using namespace std;
void dfs(vector<int> const *v, int *visit, int *depth, int *first, int now, int prev, int d, int &idx) {
visit[idx] = now;
depth[idx] = d;
first[now] = idx;
for(auto next : v[now]) {
if(prev == next) continue;
idx++;
dfs(v, visit, depth, first, next, n... |
###############################################################################
# Copyright 2019 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... |
;=================================================
; Name: Sungho Ahn
; Email: sahn025@ucr.edu
; GitHub username: ptr2578
;
; Lab: lab 5
; Lab section: B21
; TA: Jason Goulding
;
;=================================================
.ORIG x3000
;--------------
; Instructions
;--------------
LD R1, ARRAY_PTR ; Load add... |
format binary
include 'inc/consts.inc'
use64
;xchg bx, bx
mov rsp, KERNEL_STACK_VMA_ADDR-0x1000 ; todo: bootstruct way?
mov rax, [rax]
jmp rax |
DOSSEG
.MODEL small
.CODE
PUBLIC _cga_draw_line_wide
_cga_draw_line_wide PROC
ARG buff:DWORD, x:WORD, y:WORD, incs:WORD, w:WORD, len:WORD, colour:BYTE
; draw a line with starting point (x, y) and other starting point at
; (x + w, y) (where w may be negative), with increments in the
; x... |
.program:
ji i4
noop
DATA_SECTION_OFFSET[0..32]
DATA_SECTION_OFFSET[32..64]
lw $ds $is 1
add $$ds $$ds $is
move $r0 $sp
cfei i16
move $r1 $sp
cfei i16
lw $r2 data_0 ; literal instantiation
sw $r1 $r2 i0 ; insert_value @ 0
lw $r2 data_1 ; literal instantiation
sw $r... |
/*
WolfEngine � 2013-2014 Robin van Ee
http://wolfengine.net
Contact:
rvanee@wolfengine.net
*/
#include "Camera.h"
#include "../WolfEngine.h"
#include "../Math/WolfMath.h"
void Camera::Added()
{
ortographicSize = 1;
width = WolfEngine::screenWidth;
height = WolfEngine::screenHeight;
aspectRatio = (float)width / (f... |
@256
D=A
@SP
M=D
@.call0
D=A
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@SP
M=M+1
A=M-1
M=D
@ARG
D=M
@SP
M=M+1
A=M-1
M=D
@THIS
D=M
@SP
M=M+1
A=M-1
M=D
@THAT
D=M
@SP
M=M+1
A=M-1
M=D
@0
D=A
@5
D=D+A
@SP
A=M
D=A-D
@ARG
M=D
@SP
D=M
@LCL
M=D
@Sys.init
0;JMP
(.call0)
(Array.new)
@SP
A=M
D=A
@SP
M=D
@0
D=A
@ARG
A=M+D
D=M
@SP
A=M
M=D
@SP
M=... |
/*
* Copyright (C) 2012 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... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. Th... |
; A181432: Symmetric square array T(n,k) read by antidiagonals. T(n,k)=A008836(n)*A008836(k).
; 1,-1,-1,-1,1,-1,1,1,1,1,-1,-1,1,-1,-1,1,1,-1,-1,1,1,-1,-1,1,1,1,-1,-1,-1,1,-1,-1,-1,-1,1,-1,1,1,1,1,1,1,1,1,1,1,-1,1,-1,-1,-1,-1,1,-1,1,-1,-1,-1,-1,1,1,1,-1,-1,-1,-1,-1,1,-1,1,1,-1,-1,1,1,-1,1,-1,-1,1,1,1,-1
cal $0,59036 ; ... |
; A017560: a(n) = (12*n + 3)^4.
; 81,50625,531441,2313441,6765201,15752961,31640625,57289761,96059601,151807041,228886641,332150625,466948881,639128961,855036081,1121513121,1445900625,1836036801,2300257521,2847396321,3486784401,4228250625,5082121521,6059221281,7170871761,8428892481,9845600625,11433811041,13206836241,15... |
global Fr_copy
global Fr_copyn
global Fr_add
global Fr_sub
global Fr_neg
global Fr_mul
global Fr_square
global Fr_band
global Fr_bor
global Fr_bxor
global Fr_bnot
global Fr_eq
global Fr_neq
global Fr_lt
... |
/*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include <cm/cm.h>
_GENX_MAIN_ void test(SurfaceIndex inp [[type("buffer_t")]],
SurfaceIndex out [[type("buffer_t")]]) {
matrix<float, 8, 4> m;
vector<float, 4> dst;
read(inp, 0, m.template format<float>(... |
// Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
// 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,... |
; char *strerror_fastcall(int errnum)
SECTION code_clib
SECTION code_string
PUBLIC _strerror_fastcall
EXTERN asm_strerror
defc _strerror_fastcall = asm_strerror
|
SECTION code_fp_mbf32
PUBLIC sqrt
EXTERN ___mbf32_setup_single
EXTERN ___mbf32_SQR
EXTERN ___mbf32_return
EXTERN msbios
sqrt:
call ___mbf32_setup_single
IF __CPU_INTEL__
call ___mbf32_SQR
ELSE
ld ix,___mbf32_SQR
call msbios
ENDIF
jp ___mbf32_return
|
.global s_prepare_buffers
s_prepare_buffers:
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1c17, %rsi
lea addresses_UC_ht+0xe1d7, %rdi
add %r8, %r8
mov $118, %rcx
rep movsb
nop
add $5775, %r9
pop %rsi
pop %rdi
pop %rcx
pop %r9
pop %r8
ret
.global s_faulty_load
s_faulty_load:
push %r14
push ... |
; A212985: Number of (w,x,y) with all terms in {0,...,n} and 3w=3x+y.
; 1,2,3,7,9,11,18,21,24,34,38,42,55,60,65,81,87,93,112,119,126,148,156,164,189,198,207,235,245,255,286,297,308,342,354,366,403,416,429,469,483,497,540,555,570,616,632,648,697,714,731,783,801,819,874
mov $2,$0
sub $0,1
mov $1,$2
lpb $0
sub $0,3
a... |
#importonce
/******************************************************************
ZERO PAGE
******************************************************************/
.const ScanResult = $50 // 8 bytes
.const BufferNew = $58 // 3 bytes
.const KeyQuantity = $5b // 1 byte
.const NonAlphaFlagX = $5c ... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
GEOWORKS CONFIDENTIAL
PROJECT: GEOS
MODULE: Geode
FILE: geodeLoad.asm
ROUTINES:
Name Description
---- -----------
GLB GeodeLoad Load a Geode from ... |
; Startup for dot commands
;
INCLUDE "target/zx/def/esxdos.def"
defc TAR__clib_exit_stack_size = 4
defc TAR__register_sp = -1
IF !DEFINED_CRT_COMMANDLINE_REDIRECTION
define DEFINED_CRT_COMMANDLINE_REDIRECTION
defc CRT_COMMANDLINE_REDIRECTION = 0
ENDIF
INCLUDE "crt/classic/crt_rules... |
srl $3,$4,25
lw $4,16($0)
slt $4,$0,$3
lh $3,2($0)
srl $5,$6,27
xor $1,$3,$3
sw $4,16($0)
subu $1,$4,$3
andi $3,$3,16166
sltiu $1,$3,-24530
addu $4,$1,$3
sb $5,8($0)
sltiu $1,$1,-9369
addu $0,$1,$3
srl $1,$3,2
lh $3,14($0)
lhu $6,0($0)
addu $3,$5,$3
ori $0,$0,59707
sra $5,$3,5
or $3,$3,$3
or $5,$5,$3
slti $3,$3,-27622
... |
; ------------------------------------------------------------------
; MichalOS VESA mode checker
; ------------------------------------------------------------------
BITS 16
%INCLUDE "michalos.inc"
ORG 100h
start:
mov di, 800h ; 2kB after the program loads
call os_vesa_scan
mov bx, 4000h
mov ax, [di + 2]... |
; #########################################################################
;
; game.asm - Assembly file for CompEng205 Assignment 4/5
;
;
; #########################################################################
.586
.MODEL FLAT,STDCALL
.STACK 4096
option casemap :none ; case sensitive
i... |
#include "apply_bulk_modifications.hpp"
namespace vg {
namespace algorithms {
using namespace std;
using namespace handlegraph;
unordered_set<handlegraph::nid_t> apply_orientations(MutableHandleGraph* graph, const vector<handle_t>& orientations) {
// Track what we flip
unordered_set<hand... |
; ############################################################################
; ## WDOSX DOS Extender Copyright (c) 1996, 1999, Michael Tippach ##
; ## ##
; ## Released under the terms of the WDOSX license agreement. ##
; ##... |
global load_gdt
gdt:
gdt_null:
dq 0
gdt_code:
dw 0FFFFh
dw 0
db 0
db 10011010b
db 11001111b
db 0
gdt_data:
dw 0FFFFh
dw 0
db 0
db 10010010b
db 11001111b
db 0
gdt_end:
gdt_desc:
dw gdt_end - gdt - 1
dd gdt
load_gdt:
lgdt [gdt_desc]
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs,... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// ===========================================================================
// File: CodeVersion.cpp
//
// =========================================================================... |
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt).
; If you do not agree to the terms, do not use the code.
;
; Module Name:
;
; sysstubs.asm
;
; Abstract:
;
; T... |
Route21_Object:
db $43 ; border block
db 0 ; warps
db 0 ; signs
db 9 ; objects
object SPRITE_FISHER2, 4, 24, STAY, LEFT, 1, OPP_FISHER, 7
object SPRITE_FISHER2, 6, 25, STAY, DOWN, 2, OPP_FISHER, 9
object SPRITE_SWIMMER, 10, 31, STAY, UP, 3, OPP_SWIMMER, 12
object SPRITE_SWIMMER, 12, 30, STAY, RIGHT, 4, OPP_C... |
// Copyright 2021 Google LLC
//
// 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 ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x9d5a, %r15
nop
nop
nop
nop
nop
sub %r12, %r12
movw $0x6162, (%r15)
nop
nop
nop
nop
nop
and %r14, %r14
lea addresses_A_ht+0x19cda, %r15
nop
nop
nop
nop
inc %r11
movb $0x61... |
.686
.model flat
.xmm
.code
_test1 proc
push ebp
mov ebp,esp
push edi
push esi
push ebx
mov edi,[ebp+16]
mov esi,[ebp+12]
mov ebx,[ebp+8]
imul ebx,esi
sub ebx,edi
mov eax,e... |
; A051608: a(n) = (3*n+8)!!!/8!!!, related to A008544(n+1) ((3*n+2)!!! triple factorials).
; 1,11,154,2618,52360,1204280,31311280,908027120,29056867840,1016990374400,38645634227200,1584471003315200,69716724145868800,3276686034855833600,163834301742791680000,8683217992367959040000,486260207572605706240000,28689352246783... |
LIST P=16F877A
#INCLUDE P16F877A.INC
BCF STATUS,RP1
BSF STATUS,RP0
MOVLW 0XFF
MOVWF TRISB
MOVWF TRISC
MOVLW 0X00
MOVWF TRISD
BCF STATUS,RP0
BCF STATUS,RP1
BTFSS PORTC,7
GOTO LOOPA
GOTO LOOPB
LOOPA
BTFSS PORTB,6
GOTO LOOPC
GOTO LOOPD
LOOPC
BTFSC PORTC,5
CALL S1
BTFSS PORTC,5
CALL S2
... |
// 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 <dirent.h>
#include <fcntl.h>
#include <pthread.h>
#include <sys/mman.h>
#include <sys/resourc... |
HandleLedges::
ld a, [wd736]
bit 6, a ; already jumping down ledge
ret nz
ld a, [wCurMapTileset]
and a ; OVERWORLD
ret nz
predef GetTileAndCoordsInFrontOfPlayer
ld a, [wSpritePlayerStateData1FacingDirection]
ld b, a
lda_coord 8, 9
ld c, a
ld a, [wTileInFrontOfPlayer]
ld d, a
ld hl, LedgeTiles
.loop
ld a,... |
; A339013: Class number m containing n in a partitioning of the natural numbers into classes B_m by William J. Keith.
; 2,3,2,4,2,4,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,5,2,5,2,3,2,4,2,4,2,3,2,6,2,6,2,3,2,6,2,6,2,3,2,6,2,6,2,3,2,4,2,4,2,3,2,6,2,6,2,3,2,6,2,6,2,3,2,6,2,6,2,3,2,4,2,4,2,3,2,6,2,6,2,3,2,6,2,6,2,3,2,6,2,6,2,3,2,4
... |
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Project: Embedded Learning Library (ELL)
// File: MemoryLayout.cpp (utilities)
// Authors: Chuck Jacobs
//
/////////////////////////////////////////////////////////////////////////////////////////////////... |
; A291512: The arithmetic function uhat(n,2,7).
; -34,-34,-34,-34,-34,-34,-34,-34,-36,-40,-44,-48,-52,-56,-60,-64,-68,-72,-76,-80,-84,-88,-92,-96,-100,-104,-108,-112,-116,-120,-124,-128,-132,-136,-140,-144,-148,-152,-156,-160,-164,-168,-172,-176,-180,-184,-188,-192,-196,-200,-204,-208,-212,-216,-220,-224,-228,-232,-236... |
; A226785: If n=0 (mod 7) then a(n)=0, otherwise a(n)=7^(-1) in Z/nZ*.
; Submitted by Stefano Spezia
; 0,1,1,3,3,1,0,7,4,3,8,7,2,0,13,7,5,13,11,3,0,19,10,7,18,15,4,0,25,13,9,23,19,5,0,31,16,11,28,23,6,0,37,19,13,33,27,7,0,43,22,15,38,31,8,0,49,25,17,43,35,9,0,55,28,19,48,39,10,0,61,31,21,53,43,11,0,67,34,23,58,47,12,0,... |
#include "MainWindow.h"
#include <QPalette>
#include <QStyleFactory>
bool BaryonEditorApp::running = true;
void BaryonEditorApp::initialize() {
setStyle(QStyleFactory::create("Fusion"));
QPalette darkPalette;
darkPalette.setColor(QPalette::Window, QColor(53, 53, 53));
darkPalette.setColor(QPalette::WindowText, Q... |
PokemonTower4F_h:
db CEMETERY ; tileset
db POKEMON_TOWER_4F_HEIGHT, POKEMON_TOWER_4F_WIDTH ; dimensions (y, x)
dw PokemonTower4F_Blocks ; blocks
dw PokemonTower4F_TextPointers ; texts
dw PokemonTower4F_Script ; scripts
db 0 ; connections
dw PokemonTower4F_Object ; objects
|
;
; Generic pseudo graphics routines for text-only platforms
; Version for the 2x3 graphics symbols
;
; Written by Stefano Bodrato 19/12/2006
;
;
; XOR pixel at (x,y) coordinate.
;
;
; $Id: xorpixl.asm $
;
INCLUDE "graphics/grafix.inc"
SECTION code_clib
PUBLIC xorpixel
EXTERN te... |
/***************************************************************************
* Copyright 1998-2018 by authors (see AUTHORS.txt) *
* *
* This file is part of LuxCoreRender. *
* ... |
_stressfs: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
1000: f3 0f 1e fb endbr32
1004: 8d 4c 24 04 lea 0x4(%esp),%ecx
1008: 83 e4 f0 and $0xfffffff0,%esp
int fd,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r9
push %rax
push %rcx
lea addresses_A_ht+0x18305, %r15
nop
nop
xor %rax, %rax
mov (%r15), %ecx
nop
nop
inc %r13
lea addresses_D_ht+0x13c39, %r15
nop
nop
nop
xor $64738, %r14
movb $0x61, (%r15)
and %r13, %r13
lea addresses_A_ht+0x1b8f9, %r... |
// Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... |
; ===============================================================
; Jan 2014
; ===============================================================
;
; int fsetpos(FILE *stream, const fpos_t *pos)
;
; Set the file position of stream according to pos.
;
; ===============================================================
INC... |
; A063209: Dimension of the space of weight 2n cuspidal newforms for Gamma_0( 41 ).
; 3,10,16,24,30,36,44,50,56,64,70,76,84,90,96,104,110,116,124,130,136,144,150,156,164,170,176,184,190,196,204,210,216,224,230,236,244,250,256,264,270,276,284,290,296,304,310,316,324,330,336,344,350,356,364,370,376,384,390,396,404,410,41... |
; void in_mouse_kempston(uint8_t *buttons, uint16_t *x, uint16_t *y)
SECTION code_clib
SECTION code_input
PUBLIC _in_mouse_kempston
EXTERN asm_in_mouse_kempston
_in_mouse_kempston:
call asm_in_mouse_kempston
exx
pop bc
exx
pop hl
ld (hl),a
pop hl
ld (hl),e
inc hl
ld (hl),d
... |
; sprites.asm
ResetSprites proc
ld a, 64
ld h, 0
Loop: ld bc, Sprite_Index_Port ; Set the sprite index (port $303B)
dec a
out (c), a ; (0 to 63)
... |
; A248851: a(n) = ( 2*n*(2*n^2 + 9*n + 14) + (-1)^n - 1 )/16.
; 0,3,10,22,41,68,105,153,214,289,380,488,615,762,931,1123,1340,1583,1854,2154,2485,2848,3245,3677,4146,4653,5200,5788,6419,7094,7815,8583,9400,10267,11186,12158,13185,14268,15409,16609,17870,19193,20580,22032,23551,25138,26795,28523,30324,32199,34150,36178,... |
dnl x86-64 mpn_addlsh1_n and mpn_sublsh1_n, optimized for "Core" 2.
dnl Copyright 2008 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as pub... |
;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
// Copyright 2009 the V8 project 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2010 - 2012, 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 distributi... |
/*
* Copyright(c) 2021 Intel Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
; A142509: Primes congruent to 3 mod 52.
; Submitted by Jon Maiga
; 3,107,211,263,367,419,523,887,991,1303,1459,1511,1667,1823,1979,2083,2239,2447,2551,2707,3019,3331,3539,3643,3851,4007,4111,4423,4787,4943,5099,5827,5879,6451,6607,6659,6763,6971,7127,7283,7699,7907,8011,8167,8219,8999,9103,9311,9467,9623,9883,10039,10... |
;; Copyright (c) 2020, Florian Büstgens
;; 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 of ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.