text stringlengths 1 1.05M |
|---|
; ===============================================================
; Feb 2014
; ===============================================================
;
; void b_vector_clear(b_vector_t *v)
;
; Clear the vector to empty.
;
; ===============================================================
SECTION code_clib
SECTION code_adt_b... |
; w_array_t *w_array_init(void *p, void *data, size_t capacity)
SECTION code_clib
SECTION code_adt_w_array
PUBLIC w_array_init_callee
EXTERN asm_w_array_init
w_array_init_callee:
pop hl
pop bc
pop de
ex (sp),hl
jp asm_w_array_init
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _w_array_init_cal... |
adc (hl) ; 8E
adc (ix) ; FD 8E 00
adc (ix+127) ; FD 8E 7F
adc (ix-128) ; FD 8E 80
adc (iy) ; DD 8E 00
adc (iy+127) ; DD 8E 7F
adc (iy-128) ; DD 8E 80
adc -128 ... |
; A247062: Dynamic Betting Game D(n,5,2).
; 1,2,5,6,8,11,12,16,17,18,21,22,24,27,28,32,33,34,37,38,40,43,44,48,49,50,53,54,56,59,60,64,65,66,69,70,72,75,76,80,81,82,85,86,88,91,92,96,97,98,101,102,104,107,108,112,113,114,117,118,120,123,124,128,129,130,133,134,136,139,140,144,145,146,149,150,152,155,156,160,161,162,165... |
; A101100: The first summation of row 5 of Euler's triangle - a row that will recursively accumulate to the power of 5.
; 1,27,93,119,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120
mov $5,1
lpb $5
sub $5,1
mov $6,2
mov $7,$0
lpb $6
... |
FuchsiaBillsGrandpasHouse_Script:
call EnableAutoTextBoxDrawing
ret
FuchsiaBillsGrandpasHouse_TextPointers:
dw FuchsiaHouse1Text1
dw FuchsiaHouse1Text2
dw FuchsiaHouse1Text3
FuchsiaHouse1Text1:
TX_FAR _FuchsiaHouse1Text1
db "@"
FuchsiaHouse1Text2:
TX_FAR _FuchsiaHouse1Text2
db "@"
FuchsiaHouse1Text3:
TX_F... |
dnl Intel P6 mpn_modexact_1_odd -- exact division style remainder.
dnl Copyright 2001, 2002, 2007 Free Software Foundation, Inc.
dnl
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
dnl modify it under the terms of the GNU Lesser General Publ... |
;================================================================================
; Stat Tracking
;================================================================================
; $7EF420 - $7EF466 - Stat Tracking
;--------------------------------------------------------------------------------
; $7EF420 - bonk count... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994. All rights reserved.
GEOWORKS CONFIDENTIAL
PROJECT: Pasta
MODULE: Fax Printer Driver
FILE: group3StartJob.asm
AUTHOR: Jacob Gabrielson, Apr 12, 1993
ROUTINES:
Name Description
---- --... |
;******************************************************************************
;* TI ARM C/C++ Codegen Unix v18.1.1.LTS *
;* Date/Time created: Fri Jul 3 20:08:21 2020 *
;******************************************************************************
... |
#include <QApplication>
#include <QDesktopWidget>
#include <QFile>
#include <QJsonDocument>
#include <QJsonArray>
#include <QMenu>
#include <QMenuBar>
#include <QToolBar>
#include <QMessageBox>
#include <QFileDialog>
#include <QCloseEvent>
#include <QStyle>
#include <QHBoxLayout>
#include <QScrollArea>
#include <QInput... |
; A339850: Number of Hamiltonian circuits within parallelograms of size 3 X n on the triangular lattice.
; Submitted by Christian Krause
; 1,4,13,44,148,498,1676,5640,18980,63872,214944,723336,2434192,8191616,27566672,92768192,312186304,1050578720,3535439040,11897565568,40038044736,134737229824,453421769728,15258685482... |
; A060007: Decimal expansion of v_4, where v_n is the smallest, positive, real solution to the equation (v_n)^n = v_n + 1.
; Submitted by Jon Maiga
; 1,2,2,0,7,4,4,0,8,4,6,0,5,7,5,9,4,7,5,3,6,1,6,8,5,3,4,9,1,0,8,8,3,1,9,1,4,4,3,2,4,8,9,0,8,6,2,4,8,6,3,5,2,1,4,2,8,8,2,4,4,4,5,3,0,4,9,7,1,0,0,0,8,5,2,2,5,9,1,3,5,0,2,5,3,... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2008-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... |
; general test code
; all opcodes entered alphabetically from Intel's guide are added here
; the ones we know we support are uncommented.
; if they show up on disassembly correctly, we know it's supported.
org 0
; for testing: we can make 16-bit and 32-bit binaries
%ifdef B32
bits 32
%else
bits 16
%endif
; Requires: ... |
; A081853: Consider recurrence b(0) = (2n+1)/2, b(n) = b(n-1)*ceiling(b(n-1)); sequence gives first integer reached.
; Submitted by Christian Krause
; 3,60,14,268065,33,2093,60,1204154941925628,95,13398,138,701600900,189,47415,248,1489788110004539889867929328515560588293,315,123728,390,34427225343,473,268065,564,198731... |
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
}
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 %ebp
b: ... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT: Crossword
MODULE:
FILE: cwordBoardClueList.asm
AUTHOR: Peter Trinh, Aug 30, 1994
ROUTINES:
Name Description
---- -----------
METHODS
-------
Board... |
; A169329: Number of reduced words of length n in Coxeter group on 28 generators S_i with relations (S_i)^2 = (S_i S_j)^30 = I.
; 1,28,756,20412,551124,14880348,401769396,10847773692,292889889684,7908027021468,213516729579636,5764951698650172,155653695863554644,4202649788315975388,113471544284531335476,3063731695682346... |
; ZX Spectrum emulator
; Program flow change instructions, push/pop instructions
; (c) Freeman, August 2000, Prague
; -----------------------------------------------------------------------------
PushLoc MACRO REG
dec RegSP
dec RegSP
mov MemISPW, REG
ENDM
; -----------------------------------------... |
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aome... |
/*
** Copyright 2014-2016 The Earlham Institute
**
** 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... |
; A284281: Sum_{d|n, d = 3 mod 5} d.
; 0,0,3,0,0,3,0,8,3,0,0,3,13,0,3,8,0,21,0,0,3,0,23,11,0,13,3,28,0,3,0,8,36,0,0,21,0,38,16,8,0,3,43,0,3,23,0,59,0,0,3,13,53,21,0,36,3,58,0,3,0,0,66,8,13,36,0,68,26,0,0,29,73,0,3,38,0,94,0,8,3,0,83,31,0,43,3,96,0,21,13,23,96,0,0,59,0,98,36,0
add $0,1
mov $2,$0
mul $0,2
lpb $0
sub $... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x8615, %rdi
nop
xor $31951, %r12
mov (%rdi), %ebp
nop
nop
nop
nop
nop
add %rbp, %rbp
lea addresses_UC_ht+0x1da15, %rbx
nop
nop
nop
and %r10, %r10
movb (%rbx), %al
in... |
#include <stdio.h>
#include <assert.h>
#include "GramSorter.hh"
GramSorter::GramSorter(int order, int grams)
: m_sorted(true)
{
reset(order, grams);
}
void
GramSorter::reset(int order, int grams)
{
m_order = order;
m_sorted = true;
m_grams.clear();
m_data.clear();
m_indices.clear();
if (grams > 0) {... |
;
; ZX IF1 & Microdrive functions
;
; if1_checksum (internal routine)
;
; check BC bytes starting from HL
; and compare with the following byte
;
; $Id: if1_checksum.asm,v 1.3 2016/07/01 22:08:20 dom Exp $
;
SECTION code_clib
PUBLIC if1_checksum
if1_checksum:
push hl
ld e,0
nxt_byte:
ld a,e
add (hl)
inc... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; ReadGs.Asm
;
; Abstract:
;
; AsmReadGs function
;
; Notes:
;
;-----------------------... |
/* *****************************************************************************
Copyright (c) 2016-2021, The Regents of the University of California (Regents).
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are... |
db 0 ; 284 DEX NO
db 70, 60, 62, 60, 80, 82
; hp atk def spd sat sdf
db BUG, FLYING ; type
db 75 ; catch rate
db 128 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 15 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/hoenn/masquerain/front.... |
include 'filetags.asm'
include 'zipper.asm'
include 'txt.asm'
|
;
; Copyright (C) 2021 by Intel Corporation
;
; Permission to use, copy, modify, and/or distribute this software for any
; purpose with or without fee is hereby granted.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHA... |
//
// MultiplayerOnlineGame - multiplayer game project
// Copyright (C) 2008-2016 Michael Fink
//
/// \file MainGameLoop.hpp Main game loop
//
#pragma once
// includes
#include <SDL.h>
#include <atomic>
// forward references
/// main game loop
class MainGameLoop
{
public:
/// ctor
MainGameLoop(bool bUpdateFram... |
GLOBAL _cli
GLOBAL _sti
GLOBAL picMasterMask
GLOBAL picSlaveMask
GLOBAL _irq00Handler
GLOBAL _irq01Handler
GLOBAL _irq80Handler
GLOBAL _exception00Handler
GLOBAL _exception06Handler
GLOBAL saveInitialConditions
GLOBAL _sendEOI
GLOBAL _hlt
EXTERN irqDispatcher
EXTERN exceptionDispatcher
SECTION .text
%macro pushState... |
#include "VortexLayer.h"
#include "FishLayer.h"
#include <vector>
using namespace std;
//Vortex 这是一个漩涡~。~
USING_NS_CC;
VortexLayer::VortexLayer():
m_angle( 0.f )
, m_radius( 0.f )
, m_TargetLayer(NULL)
, m_angleSpeed(1.5)
, m_radiusSpeed(0.5)
, m_Time( 0.0 )
, m_maxTime( 2.0 )
, m_pMeshComma... |
; A036715: a(n)=number of Gaussian integers z=a+bi satisfying |z|<=n+1/2, a>=0, 0<=b<=a.
; Submitted by Christian Krause
; 1,3,5,8,13,17,23,29,36,45,53,63,72,84,96,107,122,137,152,167,182,201,219,238,257,279,300,321,345,367,393,418,442,469,498,527,556,585,617,647,681,713,747,782,816,853,888,927,966,1006
mov $1,1
lpb $... |
; A070498: a(n) = n^3 mod 36.
; 0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27
pow $0,3
mod $0,36
|
; size_t getline(char **lineptr, size_t *n, FILE *stream)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC getline_callee
EXTERN asm_getline
getline_callee:
pop hl
pop ix
pop de
ex... |
BITS 32
extern _irq_handler
irq_common:
pushad
push ds
push es
push fs
push gs
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
cld
push esp
call _irq_handler
add esp, 4
pop gs
pop fs
pop es
pop ds
popad
add esp, 8
i... |
; A180964: a(0)=1; for n>0, a(n)=1+3*A117571(n-1).
; 1,4,4,10,13,13,19,22,22,28,31,31,37,40,40,46,49,49,55,58,58,64,67,67,73,76,76,82,85,85,91,94,94,100,103,103,109,112,112,118,121,121,127,130,130,136,139,139,145,148,148,154,157,157,163,166,166,172,175,175,181,184,184,190,193,193,199,202,202,208,211,211,217,220,220,226... |
; A001044: a(n) = (n!)^2.
; 1,1,4,36,576,14400,518400,25401600,1625702400,131681894400,13168189440000,1593350922240000,229442532802560000,38775788043632640000,7600054456551997440000,1710012252724199424000000,437763136697395052544000000,126513546505547170185216000000,40990389067797283140009984000000,14797530453474819213... |
; A178853: "Josephus problem": n persons stand in a circle and eliminate every seventh person counting clockwise until only person a(n) is remaining.
; 1,2,3,2,4,5,5,4,2,9,5,12,6,13,5,12,2,9,16,3,10,17,1,8,15,22,2,9,16,23,30,5,12,19,26,33,3,10,17,24,31,38,2,9,16,23,30,37,44,1,8,15,22,29,36,43,50,57,5,12,19,26,33,40,47,... |
SECTION code_fp_math32
PUBLIC cm32_sccz80_asinh
EXTERN cm32_sccz80_fsread1, _m32_asinhf
cm32_sccz80_asinh:
call cm32_sccz80_fsread1
jp _m32_asinhf
|
; A226731: a(n) = (2n - 1)!/(2n).
; 20,630,36288,3326400,444787200,81729648000,19760412672000,6082255020441600,2322315553259520000,1077167364120207360000,596585001666576384000000,388888194657798291456000000,294725399791323398484787200000,256963707943060088053923840000000,255391694670937838103476305920000000,28703188795... |
SECTION "Test",CODE[0]
call $1000
call nz,$1000
call z,$1000
call nc,$1000
call c,$1000
call po,$1000
call pe,$1000
call p,$1000
call m,$1000
|
/*
* Copyright (c) 2017, Intel 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, publi... |
*
* Motor driver program for COSMAC-R2D2
* SB-Assembler
*
* BUS0 --- AIN1
* BUS1 --- AIN2
* BUS2 --- BIN1
* BUS3 --- BIN2
* Q --- PWMA/B
*
* 動作
* R2D2は1モーターのため前進、後進のみの動き。テーブルから落ちないように注意。
* 前面にPUSH SWがあるのでこれを押すと動くようにする。前進して後進は繰り替えす。
* 停止する場合はRESETを押すことにする。
*
.CR 1802 ;To load the 1802 cross overlay
... |
; A143803: a(n) = 2*A001614(n) - 1 where A001614 lists the Connell numbers.
; 1,3,7,9,13,17,19,23,27,31,33,37,41,45,49,51,55,59,63,67,71,73,77,81,85,89,93,97,99,103,107,111,115,119,123,127,129,133,137,141,145,149,153,157,161,163,167,171,175,179,183,187,191,195,199
mul $0,2
mov $1,$0
lpb $1
sub $0,1
sub $1,$2
sub... |
%define CALC1234
%include "var_header.inc" ; Header has global variable definitions for other modules
%include "func_header.inc" ; Header has global function definitions for other modules
;--------------------------------------------------------------
;
; SINGLE THREAD FLOATING POINT MULTI-PRECISION CALCULATOR
;
; Cont... |
/*******************************************************************************
*
* MIT License
*
* Copyright (c) 2019 Advanced Micro Devices, Inc.
*
* 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 S... |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... |
; A010096: log2*(n) (version 1): number of times floor(log_2(x)) is used in floor(log_2(floor(log_2(...(floor(log_2(n)))...)))) = 0.
; 1,2,2,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,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
mov $1,6
mov $3,$0
mul $3,... |
#include <iostream>
#include <vector>
using namespace std;
char vet[1000][1000] = {'.'};
int main()
{
int n, m, cont = 0;
char c;
cin >> n >> m;
for ( int i = 0; i < n; i++) {
for ( int j = 0; j < m; j++) {
cin >> c;
vet[i][j] = c;
}
}
for ( int i =... |
; A049647: T(n,n+2), array T given by A049639.
; 1,1,4,4,7,7,11,11,17,17,23,23,31,31,41,41,51,51,61,61,75,75,89,89,105,105,123,123,137,137,153,153,177,177,199,199,223,223,249,249
div $0,2
cal $0,49648 ; T(n,n+1), array T as in A049687 and T(2n,2n+2), array T given by A049639.
mov $1,$0
|
; A193579: a(n) = 2*4^n + 7.
; 9,15,39,135,519,2055,8199,32775,131079,524295,2097159,8388615,33554439,134217735,536870919,2147483655,8589934599,34359738375,137438953479,549755813895,2199023255559,8796093022215,35184372088839,140737488355335,562949953421319,2251799813685255,9007199254740999,36028797018963975,14411518807... |
// 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 "ui/base/ime/win/tsf_text_store.h"
#include <initguid.h> // for GUID_NULL and GUID_PROP_INPUTSCOPE
#include <InputScope.h>
#include <OleCtl.h>... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48_derror_erange_infc, am48_derror_erange_pinfc
PUBLIC am48_derror_erange_minfc, am48_derror_erange_infxc
EXTERN error_erange_zc, am48_dconst_inf
am48_derror_erange_pinfc:
exx
res 7,b
exx
am48_derror_erange_infc:
; set AC' = +-inf depending on sign... |
#include "Drive/disk.h"
#include "Utils/utils.h"
#include "options.h"
#include "Commands/commands.h"
#include "NTFS/ntfs.h"
#include "NTFS/ntfs_explorer.h"
#include "Utils/constant_names.h"
#include "Utils/table.h"
#include <nlohmann/json.hpp>
#include <cstdint>
#include <string>
#include <iostream>
#include <sstream... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; SELECT CRT0 FROM -STARTUP=N COMMANDLINE OPTION ;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF !DEFINED_startup
defc DEFINED_startup = 1
defc startup = 0
IFNDEF startup
ENDIF
ENDIF
IFNDEF startup
; start... |
; A246105: Least m > 0 for which (s(m),...,s(n+m-1) = (s(n),...,s(0)), the reverse of the first n+1 terms of the infinite Fibonacci word A003849.
; 2,1,3,2,1,5,4,3,2,1,8,7,6,5,4,3,2,1,13,12,11,10,9,8,7,6,5,4,3,2,1,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,34,33,32,31,30,29,28,27,26,25,24,23,22,21,20,19,18,1... |
; $Id: bs3-wc16-I8RS.asm $
;; @file
; BS3Kit - 16-bit Watcom C/C++, 64-bit signed integer right shift.
;
;
; Copyright (C) 2007-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and... |
#include <Arduino.h>
#include <Compass.h>
#include <States/FSMMower.h>
#include <Wire.h>
#include <config.h>
#include <DFRobot_QMC5883.h>
DFRobot_QMC5883 compass;
float xv, yv, zv;
float heading;
float headingDegrees;
float calibrated_values[3];
void transformation(float uncalibrated_values[3]) {
// calibration... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %rbp
lea addresses_UC_ht+0x19a4d, %rbp
nop
nop
nop
nop
nop
xor $4203, %r13
vmovups (%rbp), %ymm4
vextracti128 $0, %ymm4, %xmm4
vpextrq $0, %xmm4, %r10
nop
nop
nop
nop
add %r14, %r14
lea addresses_UC_ht+0x1d3cd, %r11
nop
and %r14, ... |
<% from pwnlib.util import lists, packing, fiddling %>\
<%page args="string, append_null = True"/>
<%docstring>
Pushes a string onto the stack without using
null bytes or newline characters.
Example:
>>> print shellcraft.i386.pushstr('').rstrip()
/* push '\x00' */
push 0x1
dec byte ptr [es... |
#ifndef __NODE_GDAL_RASTERBAND_COLLECTION_H__
#define __NODE_GDAL_RASTERBAND_COLLECTION_H__
// node
#include <node.h>
#include <node_object_wrap.h>
// nan
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include <nan.h>
#pragma GCC diagnostic pop
// gdal
#include <gdal_priv.h>
using ... |
;
; Copyright (c) 2021, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aome... |
#if GOOGLE_CUDA
#define EIGEN_USE_GPU
#include "dcn_v2.h"
#include "tensorflow/core/framework/register_types.h"
#include "tensorflow/core/util/gpu_device_functions.h"
#include "tensorflow/core/util/gpu_kernel_helper.h"
namespace tensorflow
{
namespace miss
{
template <typename T>
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLI... |
;
; ANSI Video handling for the NASCOM1/2
;
; Scrollup
;
; Stefano Bodrato - Jul 2004
;
;
; $Id: f_ansi_scrollup.asm,v 1.4 2016/04/04 18:31:22 dom Exp $
;
SECTION code_clib
PUBLIC ansi_SCROLLUP
.ansi_SCROLLUP
; first line
ld hl,$80a
ld de,$bca
ld bc,48
ldir
; remaining lines
ld a,14
ld hl,$80a
.scrlloo... |
; A071906: Sum of digits of 2^n (mod 2).
; 1,0,0,0,1,1,0,1,1,0,1,0,1,0,0,0,1,0,1,1,1,0,1,1,1,1,0,1,1,1,1,1,0,0,1,1,0,0,1,1,1,0,0,0,0,0,0,0,1,1,0,0,1,1,0,0,1,0,0,1,0,0,1,1,0,0,1,0,1,1,0,0,1,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,1,1,0,0,1,1,1,0,1,1,0,1
seq $0,51 ; a(n) = 2^n + 1.
seq $0,7953 ; Digital sum (i.e., sum of digits) ... |
#include "Application.hh"
#include "Iterator.hh"
#include "LOPChart.hh"
#include "Loss.hh"
#include "PV.hh"
APPLICATION
using namespace Permute;
// Decodes the input using a PV.
class DecodePV : public Application {
public:
DecodePV () :
Application ("decode-pv") {}
int main (const std::vector <std::string>... |
;Fichier 2 tracer le message shutdown
00405F16 CASE_0040606A_PROC0002:
00405F16 8B85D8F8FFFF mov eax,[ebp-00000728h]
00405F1C 83B8EC04000001 cmp dword ptr [eax+000004ECh],00000001h
00405F23 751B jnz L00405F40
00405F25 682C010000 ... |
[BITS 32]
a16 idiv byte [dword 0] ; 67 F6 3D 00 00 00 00
|
// 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 "chrome/browser/android/compositor/layer/tab_layer.h"
#include "base/i18n/rtl.h"
#include "cc/layers/layer.h"
#include "cc/layers/layer_lists.h"... |
/*******************************************************************************
* Copyright 2012-2018 Esri
*
* 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.... |
SFX_Get_Item1_3_Ch1:
executemusic
tempo 256
volume 7, 7
vibrato 6, 2, 6
duty 2
toggleperfectpitch
notetype 4, 11, 1
octave 3
G# 2
G# 2
G# 2
notetype 12, 11, 3
octave 4
E_ 4
endchannel
SFX_Get_Item1_3_Ch2:
executemusic
vibrato 8, 2, 7
duty 2
notetype 4, 12, 1
octave 4
E_ 2
E_ 2
E_ 2
notetype 12... |
#define MAX_V 40
#define INF 1000000000
int res[MAX_V][MAX_V], mf, f, s, t;
vi p;
vector<vi> AdjList;
void augment(int v, int minEdge) {
if (v == s) { f = minEdge; return; }
else if (p[v] != -1) {
augment(p[v], min(minEdge, res[p[v]][v]));
res[p[v]][v] -= f; res[v][p[v]] += f; }
}
int main... |
%macro ISR_NOERRCODE 1
[GLOBAL isr%1]
isr%1:
cli
push byte 0
push byte %1
jmp isr_common_stub
%endmacro
%macro ISR_ERRCODE 1
[GLOBAL isr%1]
isr%1:
cli
push byte %1
jmp isr_common_stub
%endmacro
%macro IRQ 2
[global irq%1]
irq%1:
cli
push byte 0
push byte %2
jmp... |
#include "component.h"
#include "entity.h"
Component::Component()
: m_Owner(nullptr)
{
}
Component::~Component()
{
}
bool Component::resolveDependencies()
{
for (auto& dependency : m_Dependencies)
{
Component* dependedOnComponent = m_Owner->getComponentFromID(dependency->getID());
dependency->setComponent... |
; A094687: Convolution of Fibonacci and Jacobsthal numbers.
; 0,0,1,2,6,13,30,64,137,286,594,1221,2498,5084,10313,20858,42094,84797,170582,342760,688105,1380390,2767546,5546037,11109786,22248228,44542825,89160674,178442742,357081901,714481614,1429477456,2859786953,5720920174,11444018658,22891561893,45788826674,91586880... |
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <printf>:
#define N 1000
void
printf(int fd, char *s, ...)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
write(fd, s, strlen(s));
6: 8b 45 0c ... |
; A156842: 529n^2 - 746n + 263.
; 46,887,2786,5743,9758,14831,20962,28151,36398,45703,56066,67487,79966,93503,108098,123751,140462,158231,177058,196943,217886,239887,262946,287063,312238,338471,365762,394111,423518,453983,485506,518087,551726,586423,622178,658991,696862,735791,775778,816823,858926,902087,946306,991583,... |
SECTION "Tile data", ROM0
CursorTile::
dw $8080, $C0C0, $A0E0, $90F0, $88F8, $D0F0, $A8B8, $1818
GameTiles:: ; Game Boy tiles, used for the text box
dw $0F00, $1000, $1007, $1007, $1007, $1007, $1005, $1007
dw $FF00, $0000, $00FF, $00FF, $0000, $0000, $0000, $0000
dw $F000, $0800, $08E0, $08E0, $08... |
; A001615 o=1: Dedekind psi function: n * Product_{p|n, p prime} (1 + 1/p).
; Coded manually 2021-11-07 by Antti Karttunen, https://github.com/karttu
;
; This employs the multiplicative formula a(p^e) = (p+1)*p^(e-1).
; ("No spooky kludges" version of the implementation)
;
add $0,1 ; Add one to argument, because A001... |
; Trabajo Practico 1 - EJ 5 ;
; ;
; Alumno: Marcelo Joaquin Fernandez ;
; Legajo: 1403734 ... |
; A047395: Numbers that are congruent to {0, 2, 6} mod 8.
; 0,2,6,8,10,14,16,18,22,24,26,30,32,34,38,40,42,46,48,50,54,56,58,62,64,66,70,72,74,78,80,82,86,88,90,94,96,98,102,104,106,110,112,114,118,120,122,126,128,130,134,136,138,142,144,146,150,152,154,158,160,162,166,168,170,174,176,178,182,184,186,190,192,194,198,20... |
/**
* \file libtiepieloader.c
* \brief Dynamic loader for libtiepie.
*/
#include "libtiepieloader.h"
#ifdef LIBTIEPIE_WINDOWS
# include <windows.h>
#else
# include <dlfcn.h>
#endif
LibTiePieLibInit_t LibInit;
LibTiePieLibIsInitialized_t LibIsInitialized;
LibTiePieLibExit_t LibExit;
LibTiePieLibGetVersion_t LibGe... |
/*
* Copyright (c) 2015 Juniper Networks, Inc. All rights reserved.
*/
#include "bgp/routing-instance/route_aggregator.h"
#include <boost/foreach.hpp>
#include <algorithm>
#include <string>
#include <vector>
#include "sandesh/sandesh_types.h"
#include "sandesh/sandesh.h"
#include "sandesh/sandesh_trace.h"
#includ... |
global enter_usermode
enter_usermode:
cli
mov ax, 0x23 ; user mode data selector is 0x20 (GDT entry 3). Also sets RPL to 3
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
push 0x23 ; SS, notice it uses same selector as above
push esp ; ESP
pushfd ; EFLAGS
pop eax
or eax, 0x200 ; enable IF in EFLAGS
push ... |
; A034702: a(n+1) is the smallest number not of the form a(i), a(i) + a(n-1), or |a(i) - a(n-1)|.
; 1,2,4,7,10,5,8,11,14,17,20,23,26,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58,29,32,35,38,41,44,47,50,53,56,59,62,65,68,71,74,77,80,83,86,89,92,95,98,101,104,107,110,113,116,119,122,61,64,67,70,73,76,79
mov $1,1
mov ... |
GLOBAL _get_rtc_data
GLOBAL _write_rtc_data
SECTION .text
; -----------------------------------------------------------------------------
; Gets the RAW data from the RTC.
; Parameters:
; -rdi: the number associated with the data wanted to be read.
; Return:
; rax:The RAW data.
; ------------------------------------... |
.intel_syntax noprefix
.section .rodata
.LC0:
.string "Hello"
.text
lea ecx, 4 [esp]
and esp, -16
push DWORD PTR [ecx-4]
push ebp
fstp st(0)
ffree st(1)
mov ebp, esp
push ecx
sub esp, 4
mov DWORD PTR [esp], OFFSET FLAT:.LC0
add esp, 4
pop ebp
lea esp, [ecx-4]
ret
|
# $Id: e_ld_4.asm,v 1.1 2001/03/14 16:57:30 ellard Exp $
#@ tests for invalid args to ld.
ld r3, r2, 0 # OK
ld r3, r2 # Not OK
|
.def temp = R16
.def adclow = R17
.def adchigh = R18
init:
;PORT ayarları
LDI temp, 0xFF ;0xff değerini register(yazmaç)r16 ya yükle
OUT DDRD, R16 ;port d deki tüm pinler cıkış
LDI temp, 0x00
OUT DDRC, temp
LDI temp, 0x00
OUT PORTC, temp
;PWM ayarları
LDI temp, 1<<WGM00 | 1<<COM0A1 ; F... |
; void fzx_at(struct fzx_state *fs, uint16_t x, uint16_t y)
SECTION code_font_fzx
PUBLIC fzx_at_callee
EXTERN asm_fzx_at
fzx_at_callee:
pop af
pop bc
pop hl
pop ix
push af
jp asm_fzx_at
|
;;----------------------------------------------------------------------------;;
;; Pointer hack (increase text size) in overlay 14 for arm9
;; Copyright 2014 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with th... |
; A190330: a(n) = n + [n*r/s] + [n*t/s]; r=1, s=sqrt(2), t=1/s.
; 1,4,6,8,10,13,14,17,19,22,23,26,28,30,32,35,37,39,41,44,45,48,50,52,54,57,59,61,63,66,67,70,72,75,76,79,81,83,85,88,89,92,94,97,98,101,103,105,107,110,112,114,116,119,120,123,125,128,129,132,134,136,138,141,142,145,147,150,151,154,156,158,160,163,165,16... |
; A204133: Symmetric matrix based on f(i,j)=(2^(i-1) if i=j and 1 otherwise), by antidiagonals.
; 1,1,1,1,2,1,1,1,1,1,1,1,4,1,1,1,1,1,1,1,1,1,1,1,8,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,16,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,32,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,64,1,1,1,1,1,1,1,1,1,1,1,1,1
cal $0,204125 ; Symmet... |
; ===============================================================
; @feilipu 2019
; ===============================================================
;
; uint8_t hbios_e(uint16_t func_device, uint16_t arg, void * buffer)
;
; ===============================================================
SECTION code_clib
SECTION code... |
ori $t0, $0, 0x00003010
jr $t0
nop
ori $t0, $0, 1
ori $t0, $0, 2
ori $t0, $0, 0x00003028
nop
jr $t0
nop
ori $t0, $0, 1
ori $t0, $0, 3
ori $t0, $0, 0x00003044
nop
nop
jr $t0
nop
ori $t0, $0, 1
ori $t0, $0, 4
ori $t0, $0, 0x00003064
nop
nop
nop
jr $t0
nop
ori $0, $0, 1
ori $t0, $0, 5 |
dnl AMD K7 mpn_popcount, mpn_hamdist -- population count and hamming
dnl distance.
dnl Copyright 2000-2002 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 either:
dnl
dnl *... |
; A155597: 6^n - 2^n + 1.
; 1,5,33,209,1281,7745,46593,279809,1679361,10077185,60465153,362795009,2176778241,13060685825,78364147713,470184951809,2821109841921,16926659313665,101559956406273,609359739486209,3656158439014401
mov $1,6
pow $1,$0
mov $2,2
pow $2,$0
sub $1,$2
mov $0,$1
div $0,4
mul $0,4
add $0,1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.