text stringlengths 1 1.05M |
|---|
/*********************************************************\
* File: SNMRotationTarget.cpp *
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... |
Name: Camera.asm
Type: file
Size: 4047
Last-Modified: '1992-07-01T15:00:00Z'
SHA-1: FA44C10C584CE9FC16312F85BF244A0F3DAECBC3
Description: null
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r8
push %r9
push %rcx
lea addresses_D_ht+0x14097, %rcx
sub %r10, %r10
mov (%rcx), %r9w
nop
nop
nop
nop
nop
inc %r8
lea addresses_normal_ht+0x13287, %r14
nop
and $18997, %r8
movl $0x61626364, (%r14)
nop
nop
nop
nop
add $58034, %r1... |
; A188512: Lengths of successive runs of identical terms in A188511.
; 2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1,2,1,2,1,2,1,1
mov $1,$0
... |
_init: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
1000: f3 0f 1e fb endbr32
1004: 8d 4c 24 04 lea 0x4(%esp),%ecx
1008: 83 e4 f0 and $0xfffffff0,%esp
100b: ff 71 fc pushl... |
;
; MSX specific routines
;
; GFX - a small graphics library
; Copyright (C) 2004 Rafael de Oliveira Jannone
;
; extern void msx_vwrite_direct(void *source, u_int dest, u_int count)
;
; Transfer count bytes from RAM (current memory page) to VRAM
;
; $Id: msx_vwrite_direct.asm,v 1.8 2016-06-16 19:30:25 dom Exp $
;
... |
; base area SMSQ Q68 Keyboard Tables W. Lenerz 2016
section header
xref kbd_base
xref smsq_end
include 'dev8_keys_qdos_sms'
include 'dev8_keys_ldm'
header_base
dc.l kbd_base-header_base ; length of header
dc.l 0 ; module length unknown
dc.l smsq_end-kbd_base ; loaded length
dc.l 0 ; checksum
dc.... |
/*
Copyright 2018-2020 <Pierre Constantineau, Julian Komaromy>
3-Clause BSD License
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 con... |
// Test MAKELONG()
// Commodore 64 PRG executable file
.file [name="makelong-0.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(main)
.segment Code
ma... |
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24))
ftyp_start:
dd BE(ftyp_end - ftyp_start)
dd "ftyp"
db 0x61, 0x76, 0x69, 0x66 ; brand(32) ('avif')
db 0x00, 0x00, 0x00, 0x00 ; version(32)
db 0x61, 0x76, 0x69, 0x66 ; compatible_... |
!Var_InitialAddress = $7FFF00
!Var_Address #= !Var_InitialAddress
!Var_SRAMInitialAddress = $7F6600
!Var_SRAMAddress #= !Var_SRAMInitialAddress
!Var_SettingInitialAddress = $308500
!Var_SettingAddress #= !Var_SettingInitialAddress
macro NewVar(var)
!<var> #= !Var_Address
!Var_Address #= !Var_Address+1
endmac... |
; A070321: Greatest squarefree number <= n.
; 1,2,3,3,5,6,7,7,7,10,11,11,13,14,15,15,17,17,19,19,21,22,23,23,23,26,26,26,29,30,31,31,33,34,35,35,37,38,39,39,41,42,43,43,43,46,47,47,47,47,51,51,53,53,55,55,57,58,59,59,61,62,62,62,65,66,67,67,69,70,71,71,73,74,74,74,77,78,79,79,79,82,83,83,85,86,87,87,89,89,91,91,93,94,9... |
; A274545: Values of k such that 5*k-1 and 10*k-1 are both perfect squares.
; Submitted by Jamie Morken(s2)
; 1,29,33293,1130977,1305146305,44336554445,51164345409437,1738081606216033,2005744667435597089,68136275082544365341,78629202401645931667661,2671078254047822603875969,3082421990543579145800043553,1047116096470464... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT: Interface Gadgets
MODULE: Stopwatch
FILE: uiStopwatch.asm
AUTHOR: Skarpi Hedinsson, Jul 8, 1994
ROUTINES:
Name Description
---- -----------
INT SendS... |
/*
* Copyright (c) 2016, 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 ... |
#ifndef CAFFE_NORMALIZATION_LAYER_HPP_
#define CAFFE_NORMALIZATION_LAYER_HPP_
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
namespace caffe {
template <typename Dtype>
class NormalizationLayer : public Layer<Dtype> {
public:
explicit Normalizat... |
dex
dex
dex
dex |
LDA 00A0H ;00A0H<-INPUT
MOV B,A
ANI 0F0H
RAR
RAR
RAR
RAR
ADI 30H
CPI 3AH
JC DIGIT1
ADI 07H
DIGIT1: STA 00B0H ;00B0H<-OUTPUT HIGHER ORDER BYTE
MOV A,B
ANI 0FH
ADI 30H
CPI 3AH
JC DIGIT0
ADI 07H
DIGIT0: STA 00B1H ;00B1H<-OUTPUT LOWER ORDER BYTE
HLT |
## Print the multiplcation table given two numbers A,B
## $t0 - A
## $t1 - B
## $t2 - intermediate product
## $t3 - Sential (AxB)
## $t4 - Counter
.text
main:
#Read A
li $v0, 5
syscall
move $t0, $v0
#Read B
li $v0, 5
syscall
move $t1, $v0
#Exit if ... |
// Test declarations without body
// Commodore 64 PRG executable file
.file [name="cstyle-decl-function.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpsta... |
DL_BLANK1 = 0; // 1 blank line
DL_BLANK2 = %00010000; // 2 blank lines
DL_BLANK3 = %00100000; // 3 blank lines
DL_BLANK4 = %00110000; // 4 blank lines
DL_BLANK5 = %01000000; // 5 blank lines
DL_BLANK6 = %01010000; // 6 blank lines
DL_BLANK7 = %01100000; // 7 blank lines
DL_BLANK8 = %01110000; // 8 blank lines
DL_DLI =... |
// Copyright 2018 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 "device/fido/authenticator_selection_criteria.h"
namespace device {
AuthenticatorSelectionCriteria::AuthenticatorSelectionCriteria() = default;... |
; Z88 Small C+ Run Time Library
; Long functions
;
; feilipu 10/2021
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_long_div_u, l_long_div_u_0
;quotient = primary / secondary
;enter with secondary (divisor) in dehl, primary (dividend | quotient) on stack
;exit with quotient in dehl
.l_long_div... |
/*
* Tencent is pleased to support the open source community by making PaxosStore available.
* Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the BSD 3-Clause License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of... |
// Copyright (c) 2019-2023 The PIVXL developers
// Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2017-2019 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "crypter.h"
#include ... |
#include <algorithm>
#include <optional>
#include "ArenaRenderUtils.h"
#include "../Math/Constants.h"
#include "../Math/Random.h"
#include "../Math/Vector4.h"
#include "../Media/TextureBuilder.h"
#include "../Media/TextureManager.h"
#include "components/debug/Debug.h"
#include "components/utilities/Bytes.h"
bool Are... |
; A000085: Number of self-inverse permutations on n letters, also known as involutions; number of standard Young tableaux with n cells.
; 1,1,2,4,10,26,76,232,764,2620,9496,35696,140152,568504,2390480,10349536,46206736,211799312,997313824,4809701440,23758664096,119952692896,618884638912,3257843882624,17492190577600,956... |
; A061982: 3^n - (n + 1)(n + 2)/2.
; 0,0,3,17,66,222,701,2151,6516,19628,58983,177069,531350,1594218,4782849,14348771,43046568,129139992,387420299,1162261257,3486784170,10460352950,31381059333,94143178527,282429536156,847288609092,2541865827951,7625597484581,22876792454526,68630377364418,205891132094153,617673396283419... |
;-------------------------------------------------------------------------------
; dabort.asm
;
; Copyright (C) 2009-2018 Texas Instruments Incorporated - www.ti.com
;
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; ar... |
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
int n;
while((n = read(fd, buf, sizeof(buf))) > 0)
6: eb 15 ... |
//
// MIT License
//
// Copyright(c) 2011-2020 The Maintainers of Nanvix
//
// 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
//... |
SECTION code_clib
SECTION code_fp_am9511
PUBLIC asm_dmulpow2
EXTERN asm_am9511_dmulpow2
defc asm_dmulpow2 = asm_am9511_dmulpow2
|
;/** @file
;
; This code provides low level routines that support the Virtual Machine.
; for option ROMs.
;
; Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
; Copyright (c) 2014 Hewlett-Packard Development Company, L.P.<BR>
; This program and the accompanying materials
; are licensed a... |
;Copyright (c) 2012 Mike Ryan
;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, distribute, subl... |
; void UNSAFE_SMS_VRAMmemcpy128(unsigned int dst,void *src)
SECTION code_clib
SECTION code_SMSlib
PUBLIC UNSAFE_SMS_VRAMmemcpy128
EXTERN asm_SMSlib_UNSAFE_VRAMmemcpy128
UNSAFE_SMS_VRAMmemcpy128:
pop af
pop de
pop hl
push hl
push de
push af
jp asm_SMSlib_UNSAFE_VRAMmemcpy128
|
; A086148: Sum of the orders of the elements in the dihedral group D_2n.
; 3,7,13,19,31,33,57,59,79,83,133,101,183,157,177,203,307,219,381,271,343,377,553,349,571,523,601,529,871,501,993,747,843,887,973,743,1407,1105,1177,983,1723,987,1893,1309,1371,1613,2257,1293,2199,1663,2013,1831,2863,1749,2441,1961,2515,2555,3541,... |
; A258663: Numbers n such that 9n-1 is prime.
; 2,6,8,10,12,20,22,26,28,30,40,48,50,52,56,58,62,66,72,76,78,80,86,90,92,96,98,106,108,118,122,128,132,136,140,142,152,160,166,168,176,178,180,182,190,208,210,212,220,222,230,232,238,246,252,260
mov $5,$0
add $5,$0
mov $2,$5
add $2,1
pow $2,2
lpb $2
add $1,7
sub $2,1
... |
/**
* Solution to homework assignment 1
* Object Oriented Programming Course
* Faculty of Mathematics and Informatics of Sofia University
* Summer semester 2020/2021
*
* @author Atanas Vasilev
* @idnumber 62577
* @task 1
* @compiler GCC
*/
#include <fstream>
#include "duelist.hpp"
#include <iostream>
using namespace ... |
_zombie: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(void)
{
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 pus... |
; A014986: a(n) = (1 - (-5)^n)/6.
; 1,-4,21,-104,521,-2604,13021,-65104,325521,-1627604,8138021,-40690104,203450521,-1017252604,5086263021,-25431315104,127156575521,-635782877604,3178914388021,-15894571940104,79472859700521,-397364298502604,1986821492513021,-9934107462565104,49670537312825521,-248352686564127604,124176... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//---------------------------------------------------------... |
// 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.
// TODO(rickcam): Bug 73183: Add unit tests for image loading
#include <cstdlib>
#include <set>
#include "chrome/browser/background/background_appli... |
; A213481: Number of (w,x,y) with all terms in {0,...,n} and |w-x|+|x-y| <= w+x+y.
; 1,7,25,59,117,202,323,482,689,945,1261,1637,2085,2604,3207,3892,4673,5547,6529,7615,8821,10142,11595,13174,14897,16757,18773,20937,23269,25760,28431,31272,34305,37519,40937,44547,48373,52402,56659
mov $5,$0
add $5,1
mov $12,$0
lpb $5
... |
SECTION data_clib
PUBLIC __special_attr
PUBLIC __specialmx_attr
__special_attr: defb 0
__specialmx_attr: defb $f0
|
; A218748: a(n) = (45^n-1)/44.
; 0,1,46,2071,93196,4193821,188721946,8492487571,382161940696,17197287331321,773877929909446,34824506845925071,1567102808066628196,70519626362998268821,3173383186334922096946,142802243385071494362571,6426100952328217246315696,289174542854769776084206321,13012854428464639923789284446,58557... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1b56c, %rsi
nop
dec %rbx
mov $0x6162636465666768, %r8
movq %r8, %xmm0
movups %xmm0, (%rsi)
nop
sub %rax, %rax
lea addresses_UC_ht+0x6ec, %rbx
xor $10433, %r14
movl $0x61626364... |
; A038061: a(n) = 3^n*n^(n-1).
; 3,18,243,5184,151875,5668704,257298363,13759414272,847288609443,59049000000000,4594736955793347,394865111526801408,37144672966729275363,3796313155316599873536,418886580596209716796875
mov $1,1
add $1,$0
mul $1,3
pow $1,$0
mul $1,3
mov $0,$1
|
;*******************************************************************************
; FILENAME: KeilStart.a51
; Version 4.20
;
; DESCRIPTION:
; Bootup Code for PSoC3 chips using the Keil toolchain.
;
;*******************************************************************************
; Copyright 2008-2014, Cypress Semicond... |
; A086224: a(n) = 7*2^n-1.
; 6,13,27,55,111,223,447,895,1791,3583,7167,14335,28671,57343,114687,229375,458751,917503,1835007,3670015,7340031,14680063,29360127,58720255,117440511,234881023,469762047,939524095,1879048191,3758096383
mov $1,2
pow $1,$0
mul $1,7
sub $1,1
mov $0,$1
|
#ifndef CAFFE_TEST_GRADIENT_CHECK_UTIL_H_
#define CAFFE_TEST_GRADIENT_CHECK_UTIL_H_
#include <glog/logging.h>
#include <gtest/gtest.h>
#include <algorithm>
#include <cmath>
#include <vector>
#include "caffe/layer.hpp"
#include "caffe/net.hpp"
namespace caffe {
// The gradient checker adds a L2 normalization loss f... |
###############################################################################
# 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... |
; CUSTOM VERSION FOR TO8 ENGINE - NOT THE ORIGINAL SOURCE
; License in /Engine/Compression/zx0 directory
; zx0_6809_mega.asm - ZX0 decompressor for M6809 - 198 bytes
;
; Copyright (c) 2021 Doug Masten
; ZX0 compression (c) 2021 Einar Saukas, https://github.com/einar-saukas/ZX0
;
; This software is provided 'as-is', wi... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 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... |
SECTION .text
GLOBAL square_curve25519
square_curve25519:
sub rsp, 0x30 ; last 0x30 (6) for Caller - save regs
mov [ rsp + 0x0 ], rbx; saving to stack
mov [ rsp + 0x8 ], rbp; saving to stack
mov [ rsp + 0x10 ], r12; saving to stack
mov [ rsp + 0x18 ], r13; saving to stack
mov [ rsp + 0x20 ], r14; saving to stack
mov ... |
;;
;; Copyright (c) 2012-2018, 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... |
; int b_array_back(b_array_t *a)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC b_array_back
EXTERN asm_b_array_back
defc b_array_back = asm_b_array_back
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _b_array_back
defc _b_array_back = b_array_back
ENDIF
|
; Arquivo: testLeaw.nasm
; Curso: Elementos de Sistemas
; Criado por: Luciano Soares
; Data: 16/04/2017
leaw $0,%A
leaw $1,%A
leaw $2,%A
leaw $R0,%A
leaw $R1,%A
leaw $R2,%A |
; A171758: Binary expansion of numbers in A171757.
; 10,100,1000,1010,10000,10010,10100,10110,100000,100010,100100,100110,101000,101010,101100,101110,1000000,1000010,1000100,1000110,1001000,1001010,1001100,1001110,1010000,1010010,1010100,1010110,1011000,1011010,1011100,1011110,10000000,10000010,10000100,10000110,100010... |
test_device(): # @test_device()
push rax
call rand
mov eax, dword ptr [rsp + 4]
shr eax, 12
add eax, 63
and eax, 63
mov ecx, eax
shl ecx, 12
mov edx, -258049
and edx, dword ptr [rs... |
; A170354: Number of reduced words of length n in Coxeter group on 9 generators S_i with relations (S_i)^2 = (S_i S_j)^43 = I.
; 1,9,72,576,4608,36864,294912,2359296,18874368,150994944,1207959552,9663676416,77309411328,618475290624,4947802324992,39582418599936,316659348799488,2533274790395904
mov $1,1
lpb $0,1
mul $... |
; A022959: 3-n.
; Submitted by Christian Krause
; 3,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,3
mul $0,-1
|
.class Test:Obj
.field x
.method $constructor
.args x
enter
load x
load $
store_field $:x
return 1
.method Seven
.args seven
enter
load seven
load $
store_field $:x
return 1
|
; test program from page 54
.386
.model flat,stdcall
.stack 4096
ExitProcess proto,dwExitCode:dword
.code
main proc
mov eax,5 ; move 5 to the eax register
add eax,6 ; add 6 to the eax register
invoke ExitProcess,0 ; end the program
main endp |
;; BEGIN INT 00000001
SET A, "0001"
SET B, "0000"
MOV8
MOV_ALU_OUT XL
INT
;; END INT 00000001
;; BEGIN MOV XL, 10000000b (MOV_CONST_BINARY)
SET A, "0000"
SET B, "1000"
MOV8
MOV_ALU_OUT XL
;; END MOV XL, 10000000b (MOV_CONST_BINARY)
;; BEGIN MOV XH, 0x00 (MOV_CONST_HEX1)
SET A, "0000"
SET B, "0000"
MOV8
MOV_ALU_OUT XH
;... |
; A022841: Beatty sequence for sqrt(7).
; 2,5,7,10,13,15,18,21,23,26,29,31,34,37,39,42,44,47,50,52,55,58,60,63,66,68,71,74,76,79,82,84,87,89,92,95,97,100,103,105,108,111,113,116,119,121,124,126,129,132,134,137,140,142,145,148,150,153,156,158,161,164,166,169,171,174,177,179,182,185,187,190,193,195,198,201,203,206,209,21... |
section sect vfollows=sect
|
; A121638: Number of deco polyominoes of height n, having no 2-cell columns. A deco polyomino is a directed column-convex polyomino in which the height, measured along the diagonal, is attained only in the last column.
; Submitted by Christian Krause
; 1,1,2,7,29,147,889,6252,50163,452356,4529812,49878095,598989496,779... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x774d, %rdx
clflush (%rdx)
nop
cmp %r11, %r11
mov $0x6162636465666768, %rdi
movq %rdi, %xmm1
movups %xmm1, (%rdx)
nop
add %rsi, %rsi
lea addresses_WT_ht+0x16e9d, %r10
nop
nop... |
; revision g - try to be smarter about 640x480x16
; usage - run and then MODE CON COLS=80 to reset mode
; FIXSM712
; Copyright (C) 2016 Jacob Thompson <jakethompson1@gmail.com>
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1a17a, %rcx
clflush (%rcx)
nop
nop
nop
nop
nop
cmp %r14, %r14
mov $0x6162636465666768, %rsi
movq %rsi, %xmm1
and $0xffffffffffffffc0, %rcx
movaps %xmm1, (%rcx)
nop
nop
nop
no... |
.size 8000
.text@48
ei
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld c, 44
ld b, 90
lbegin_waitly90:
ldff a, (c)
cmp a, b
jrnz lbegin_waitly90
ld a, 11
ldff(40), a
ld hl, 8000
ld b, 08
lbegin_setbank0tile0data:
ld a, 00
ld(hl++), a
ld a, 7e
ld(hl++), a
dec b
jrnz lbegin_setban... |
; A192873: Coefficient of x in the reduction by (x^2->x+1) of the polynomial p(n,x) given in Comments.
; 0,1,2,7,18,49,128,337,882,2311,6050,15841,41472,108577,284258,744199,1948338,5100817,13354112,34961521,91530450,239629831,627359042,1642447297,4299982848,11257501249,29472520898,77160061447,202007663442,528862928881... |
; char __CALLEE__ *strchrnul_callee(char *s, char c)
; return ptr to first occurrence of c in s
; 04.2001 dom, 04.2012 stefano
SECTION code_clib
PUBLIC strchrnul_callee
PUBLIC _strchrnul_callee
PUBLIC ASMDISP_STRCHRNUL_CALLEE
.strchrnul_callee
._strchrnul_callee
pop hl
pop bc
ex (sp),hl
; enter : c ... |
; A130423: Main diagonal of array A[k,n] = n-th sum of 3 consecutive k-gonal numbers, k>2.
; Submitted by Christian Krause
; 4,14,39,88,170,294,469,704,1008,1390,1859,2424,3094,3878,4785,5824,7004,8334,9823,11480,13314,15334,17549,19968,22600,25454,28539,31864,35438,39270,43369,47744,52404,57358,62615,68184,74074,80294... |
; A176220: Decimal expansion of (10+sqrt(110))/5.
; Submitted by Christian Krause
; 4,0,9,7,6,1,7,6,9,6,3,4,0,3,0,3,0,9,3,9,8,2,9,0,7,0,2,7,3,5,9,8,7,5,1,9,6,9,5,0,5,4,3,7,1,5,3,6,3,0,0,7,9,6,9,7,5,1,5,1,1,5,2,7,1,6,0,0,1,1,8,5,1,0,0,2,2,0,1,3,8,2,8,3,8,7,7,0,5,7,7,8,6,6,3,8,8,8,3,5
mov $2,1
mov $3,$0
mul $3,3
lpb $3
... |
;
; BASIC-DOS Logical (AUX) Serial Device Driver
;
; @author Jeff Parsons <Jeff@pcjs.org>
; @copyright (c) 2020-2021 Jeff Parsons
; @license MIT <https://basicdos.com/LICENSE.txt>
;
; This file is part of PCjs, a computer emulation software project at pcjs.org
;
include macros.inc
include dev.inc
include ... |
;
; Memory map
;
HIMEM = $A000
* = $04
.dsection section_ZP
.cerror * >= $90, "To many ZP variables"
* = $0400
.dsection section_BSS
.cerror * >= $0800, "To many BSS variables"
* = $0801
.dsection section_CODE
.cerror * >= $9f00, "CODE size is to big"
.dsection section_DATA
.cerror * >= $9f00, "DATA size is to big"... |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <iputtest>:
int stdout = 1;
// does chdir() call iput(p->cwd) in a transaction?
void
iputtest(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 08 sub $0x... |
#ifndef XR_MATERIAL_HPP
#define XR_MATERIAL_HPP
//==============================================================================
//
// XRhodes
//
// copyright (c) Gyorgy Straub. All rights reserved.
//
// License: https://github.com/zyndor/xrhodes#License-bsd-2-clause
//
//==============================================... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2020 The Bitcoin Core developers
// Copyright (c) 2021-2021 The Coyotecoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <uint256.h>
#... |
SFX_Noise_Instrument15_3_Ch8:
noise_note 0, 10, 1, 24
noise_note 0, 3, 1, 51
sound_ret
|
/*-
* Copyright (c) 2017-2018 wenba, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
#include "echo_h264_encoder.h"
#include "logging.h"
#include <iostream>
/*load ffmpeg lib*/
//#pragma comment(lib, "avcodec.lib")
//#pragma comment(lib, "avutil.lib")
//#pragma comm... |
include gameGraphics.inc
.model huge
.stack 64
.data
;position of registers
myAXx db 10
myAXy db 3
myBXx db 10
myBXy db 4
myCXx db 10
myCXy db 5
myDXx db 10
myDXy db 6
mySIx db 24
mySIy db 3
myDIx db 24
myDIy db 4
mySPx db 24
mySPy db 5
myBPx db 24
myBPy db 6
otherAXx db 50
otherAXy db 3
otherBXx db 50
otherBXy db 4... |
GuardDrinksList:
db FRESH_WATER
db SODA_POP
db LEMONADE
db 0 ; end
|
###############################################################################
# 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... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Completed includes
// Type namespace: System.Runtime.Serialization
name... |
%include "header.asm"
mov si, message
call direct_print
retf
message db "Hello from user space!", 0Ah, 0 |
SECTION code_fp_math16
PUBLIC cm16_sccz80_exp2
EXTERN cm16_sccz80_read1, exp2f16
cm16_sccz80_exp2:
call cm16_sccz80_read1
jp exp2f16
|
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt Charts module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:GPL$
** Commercial License Usage
** Licensees holding valid comme... |
; A267489: a(n) = n^2 - 4*floor(n^2/6).
; 0,1,4,5,8,9,12,17,24,29,36,41,48,57,68,77,88,97,108,121,136,149,164,177,192,209,228,245,264,281,300,321,344,365,388,409,432,457,484,509,536,561,588,617,648,677,708,737,768,801,836,869,904,937,972,1009,1048,1085,1124,1161,1200,1241,1284,1325,1368,1409,1452,1497,1544,1589,1636,16... |
; This test is modified version of original content provided
; under CC-by-NC-SA license by MIT OCW.
; Basic test of Processor
; Primary Tests:
; > Memory Tests: Write to memory address : 0x3FC
; > Register Tests: Load each register with its index
; > Instruction Tests: Test subset of instructio... |
// Copyright (C) 2019 The Android Open Source Project
// Copyright (C) 2019 Google 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
//... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by D Morris - 30/9/98
;
;
; $Id: w_clga.asm $
;
;Usage: clga(struct *pixels)
INCLUDE "graphics/grafix.inc"
SECTION code_clib
PUBLIC clga
PUBLIC _clga
EXTERN w_pixeladdress
... |
; A010684: Period 2: repeat (1,3); offset 0.
; 1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1,3,1
mod $0,2
mov $1,3
pow $1,$0
mov $0,$1
|
/**
* Copyright (C) 2013 10gen Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Printer Drivers
FILE: printcomIBM24Text.asm
AUTHOR: Dave Durran
ROUTINES:
REVISION HISTORY:
Name Date Description
---- ---- -----------... |
/* This is sample from the OpenCV book. The copyright notice is below */
/* *************** License:**************************
Oct. 3, 2008
Right to use this code in any way you want without warranty, support or any guarantee of it working.
BOOK: It would be nice if you cited it:
Learning OpenCV: Computer... |
; A174677: a(n) = 2*a(n-1)*a(n-2) with a(0)=1 and a(1)=1.
; 1,1,2,4,16,128,4096,1048576,8589934592,18014398509481984,309485009821345068724781056,11150372599265311570767859136324180752990208,6901746346790563787434755862277025452451108972170386555162524223799296,15391408670466593442296500039118599142609273152525565104667... |
// Copyright 2017 The Ray 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 agreed to i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.