text stringlengths 1 1.05M |
|---|
; A126587: a(n) is the number of integer lattice points inside the right triangle with legs 3n and 4n (and hypotenuse 5n).
; 3,17,43,81,131,193,267,353,451,561,683,817,963,1121,1291,1473,1667,1873,2091,2321,2563,2817,3083,3361,3651,3953,4267,4593,4931,5281,5643,6017,6403,6801,7211,7633,8067,8513,8971,9441,9923,10417,10... |
%include "include/u7bg-all-includes.asm"
defineAddress seg_dseg, 0x0B00, cheatMenuTimeFormat
defineAddress seg_dseg, 0x0B0E, cheatMenuTimeFormat_end
[bits 16]
startPatch EXE_LENGTH, itemLabels
startBlockAt addr_cheatMenuTimeFormat
db '%s %d:%02d %s', 0
endBlockAt off_cheatMenuTimeFormat_end
endPatch
|
/*
Copyright 2020 The OneFlow Authors. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... |
dnl Alpha EV5 mpn_lshift -- Shift a number left.
dnl Copyright 1994, 1995, 2000, 2003 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 publ... |
; A157999: 338n - 1.
; 337,675,1013,1351,1689,2027,2365,2703,3041,3379,3717,4055,4393,4731,5069,5407,5745,6083,6421,6759,7097,7435,7773,8111,8449,8787,9125,9463,9801,10139,10477,10815,11153,11491,11829,12167,12505,12843,13181,13519,13857,14195,14533,14871,15209,15547,15885,16223,16561,16899,17237,17575,17913,18251,1858... |
.model flat,c
; There are difined in IntegerAddition.h
extern GlChar:byte
extern GlShort:word
extern GlInt:dword
extern GlLongLong:qword
; extern "C" void IntegerAdd_(char a, short b, int c, long long d);
;
; Description: Addition using various-sized integers
;
; Return: None.
.code
IntegerAdd_ ... |
; A313276: Coordination sequence Gal.6.265.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.
; Submitted by Jamie Morken(s2)
; 1,4,9,15,21,25,29,33,39,45,50,54,58,63,69,75,79,83,87,93,99,104,108,112,117,123,129,133,137,141,147,153,158,... |
/*
* Copyright 2007-2009 TIM/ETI University of Geneva.
* All Rights Reserved. Use is subject to license terms.
*
* File: RtpTransceiver.cpp
* Author: Nikos Tsourakis <Nikolaos.Tsourakis@unige.ch>
*
* See the file "license.terms" for information on usage and
* redistribution of this file, and for a DISCLAIMER O... |
// 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 "net/http/proxy_client_socket.h"
#include "base/metrics/histogram_macros.h"
#include "base/strings/stringprintf.h"
#include "net/base/host_p... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x879a, %rsi
lea addresses_WC_ht+0xc19a, %rdi
inc %r9
mov $105, %rcx
rep movsl
add %r12, %r12
lea addresses_D_ht+0x11d1a, %r8
xor %r12, %r12
mov (%r8), %r9d
nop
nop
nop
cmp $495... |
; A110426: The r-th term of the n-th row of the following array contains the sum of r successively decreasing integers beginning from n. 0<r<=n. e.g. the row corresponding to 4 contains 4, (3+2),{(1) +(0)+(-1)}, {(-2)+(-3)+(-4)+(-5)} ----> 4,5,0,-14 1 2 1 3 3 -3 4 5 0 -14 5 7 3 -10 -35 6 9 6 -6 -30 -69 ... Sequence con... |
/*
* Copyright (c) 2014-2022 The Voxie Authors
*
* 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, mer... |
// Commodore 64 PRG executable file
.file [name="arrays-init.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)
.label SCREEN = $400
.segment Co... |
; char __fseq (float left, float right)
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdccixp_dseq
EXTERN cm48_sdccixp_dread2, am48_deq
cm48_sdccixp_dseq:
; (left == right)
;
; enter : sdcc_float right, sdcc_float left, ret
;
; exit : HL = 0 and carry reset if false
; HL = 1 and ... |
//
// Created by Jason Mohoney on 2/1/22.
//
#include "nn/layers/embedding/embedding.h"
#include "nn/initialization.h"
EmbeddingLayer::EmbeddingLayer(shared_ptr<LayerConfig> layer_config, torch::Device device, int offset) {
config_ = layer_config;
offset_ = offset;
device_ = device;
reset();
}
torch... |
; int fflush_unlocked_fastcall(FILE *stream)
SECTION code_stdio
PUBLIC _fflush_unlocked_fastcall
EXTERN asm_fflush_unlocked
_fflush_unlocked_fastcall:
push hl
ex (sp),ix
call asm_fflush_unlocked
pop ix
ret
|
/*
* Copyright (c) 2019, The OpenThread Commissioner 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 copyrig... |
; Blinky.asm: toggles an LED attached to pin 17 (P3.7)
$MODLP52
org 0000H
ljmp myprogram
; When using a 22.1184MHz crystal in fast mode
; one cycle takes 1.0/22.1184MHz = 45.21123 ns
WaitHalfSec:
mov R2, #89
L3: mov R1, #250
L2: mov R0, #166
L1: djnz R0, L1 ; 3 cycles->3*45.21123ns*166=22.51519us
djnz R1,... |
_append: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char buf[512];
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 ... |
TITLE MVPATH - Copyright (c) SLR Systems 1994
INCLUDE MACROS
INCLUDE IO_STRUC
PUBLIC MOVE_ECXPATH_EAX
.DATA
.CODE PHASE1_TEXT
externdef _move_ecxpath_eax:proc
MOVE_ECXPATH_EAX PROC
;
;MOVE PATH FROM ECX TO EAX, PRESERVE EAX
;
push ECX
push EAX
call _move_ecxpath_eax
add ESP, 8
ret
... |
/*
* This file is part of hipSYCL, a SYCL implementation based on CUDA/HIP
*
* Copyright (c) 2018, 2019 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 ... |
#ifndef CNET_Visitor_HPP
#define CNET_Visitor_HPP
#include <string>
#include <iostream>
#include <experimental/filesystem>
#include <opencv2/core/core.hpp>
#include <opencv/cv.hpp>
#include <opencv2/core/eigen.hpp>
#include <experimental/filesystem>
#include "cnet_layer.hpp"
namespace Cnet
{
class La... |
; BSD 3-Clause License
; Copyright (c) 2021, AtieP
; 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 co... |
;;
;; Copyright (c) 2012-2021, 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... |
sty $ff
ora $ff
|
; A274070: Integer part of the sum of the inverses of the first n primes.
; 0,0,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,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
add $0,6
log $0,8
mov $1,$0
|
; A155664: 10^n+8^n-1
; 1,17,163,1511,14095,132767,1262143,12097151,116777215,1134217727,11073741823,108589934591,1068719476735,10549755813887,104398046511103,1035184372088831,10281474976710655,102251799813685247,1018014398509481983,10144115188075855871,101152921504606846975,1009223372036854775807,100737869762948382064... |
; A010487: Decimal expansion of square root of 32.
; Submitted by Jamie Morken(s4)
; 5,6,5,6,8,5,4,2,4,9,4,9,2,3,8,0,1,9,5,2,0,6,7,5,4,8,9,6,8,3,8,7,9,2,3,1,4,2,7,8,6,8,7,5,0,1,5,0,7,7,9,2,2,9,2,7,0,6,7,1,8,9,5,1,9,6,2,9,2,9,9,1,3,8,4,8,4,2,8,1,5,5,4,0,1,5,5,0,1,3,7,3,1,0,5,6,6,2,9,0
add $0,2
seq $0,11547 ; Decimal ex... |
; A051375: Number of Boolean functions of n variables and rank 3 from Post class F(5,inf).
; Submitted by Christian Krause
; 0,0,9,66,345,1590,6909,29106,120465,493230,2005509,8116746,32744985,131801670,529647309,2125861986,8525167905,34165634910,136857036309,548010848826,2193789933225,8780396200950,35137287916509,1405... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r8
push %rbp
push %rbx
push %rdi
push %rdx
push %rsi
// Load
lea addresses_RW+0x16ce1, %r11
nop
nop
nop
nop
dec %rbp
vmovaps (%r11), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $0, %xmm3, %rdx
nop
nop
add $59146,... |
; A165743: The greatest common divisor of n and 210.
; 1,2,3,2,5,6,7,2,3,10,1,6,1,14,15,2,1,6,1,10,21,2,1,6,5,2,3,14,1,30,1,2,3,2,35,6,1,2,3,10,1,42,1,2,15,2,1,6,7,10,3,2,1,6,5,14,3,2,1,30,1,2,21,2,5,6,1,2,3,70,1,6,1,2,15,2,7,6,1,10,3,2,1,42,5,2,3,2,1,30,7,2,3,2,5,6
add $0,1
gcd $0,210
|
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
000708 move.l ($6c8,A5), ($860,A5)
00070E move.w #$300, D0 [base+860, base+862]
0AAACA move.l (A0), D2
0AAACC move.w D0, (A0) [123p+11A, 123p+11C, 123p+11E, 123p+120, 123p+122, 123p+124, 123p+126, 123p... |
;
; Philips VG5000
;
; getkey() Wait for keypress
;
; Jun 2014 - Joaopa
;
;
; $Id: getk.asm,v 1.5 2016-06-16 19:40:21 dom Exp $
;
SECTION code_clib
PUBLIC getk
.getk
._getk
call $aa
IF STANDARDESCAPECHARS
cp 13
jr nz,not_return
ld a,10
.not_return
ENDIF
ld l,a
ld h,0
ret
|
/******************************************************************************
* $Id$
*
* Project: WFS Translator
* Purpose: Implements OGRWFSLayer class.
* Author: Even Rouault, <even dot rouault at mines dash paris dot org>
*
******************************************************************************
... |
SECTION code_clib
PUBLIC asm_interrupt_handler
EXTERN l_jphl
; Calls the registered handlers in order
; Entry: hl = table to call
;
asm_interrupt_handler:
push bc
push de
; af, hl already preserved
loop:
ld a,(hl)
inc hl
or (hl)
jr z,done
push hl
ld a,(hl)
dec hl
ld l,(hl)
ld h,a
call l_jphl
pop ... |
/*
equal distribution over triangulated surface.
This file is part of the source code used for the calculation of the moment invariants
as described in the dissertation of Max Langbein
https://nbn-resolving.org/urn:nbn:de:hbz:386-kluedo-38558
Copyright (C) 2020 TU Kaiserslautern, Prof.Dr. Hans Hagen (AG Computer... |
#include "ui_connectionsettingsdialog.h"
#include "ConnectionSettings.h"
#include "CurrencyAdapter.h"
#include "NewNodeDialog.h"
#include "MainWindow.h"
#include "NodeModel.h"
#include "Settings.h"
#include <QDebug>
namespace Ui {
class ConnectionSettingsDialog;
}
namespace WalletGui {
ConnectionSettingsDialog::Con... |
#include <aikido/rviz/InteractiveMarkerViewer.hpp>
#include <dart/dynamics/JacobianNode.hpp>
#include <pybind11/cast.h>
#include <pybind11/eigen.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <aikido/planner/World.hpp>
#include "libada/Ada.hpp"
#include "aikido/constraint/Satisfied.hpp"
#include ... |
// Copyright 2019 The Fuchsia 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 <fuchsia/hardware/hidbus/c/banjo.h>
#include <lib/ddk/platform-defs.h>
#include <lib/fit/defer.h>
#include <hid/boot.h>
#include <virtio/input.h>... |
// Copyright 2021 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 "components/metrics/clean_exit_beacon.h"
#include <memory>
#include <string>
#include "base/files/file_path.h"
#include "base/files/file_util.h... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC ?century@@3EA ; century
PUBLIC ?year@@3EA ; year
PUBLIC ?month@@3EA ; month
PUBLIC ?day@@3EA ; day
PUBLIC ?hour@@3EA ; hour
PUBLIC ?minute@@3EA ; mi... |
#include <bits/stdc++.h>
#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))
using namespace std;
typedef long long int lli;
typedef unsigned long long ull;
typedef complex<double> point;
template<typename P, typename Q>
ostream& operator << (ostream& os, pair<P, Q> p)
{
os << "(" << p.first <<... |
; A324270: a(n) = 13*7^(7*n).
; Submitted by Christian Krause
; 13,10706059,8816899947037,7261096233082692091,5979824975081619492698413,4924642999453642161875329137259,4055655269699050826917294183685688637,3340006507773765415151949203915063077180891,2750638979431530091290481703239822791770782516813,22652694770379805859... |
;-- transmat0 --------------------------------------------------------------------------------------------------------------------------
; Note XX12 comes after as some logic in normal processing uses XX15 and XX12 combines
UBnkXX12xLo DB 0 ; XX12+0
UBnkXX12xSign DB 0 ... |
<%
from pwnlib.shellcraft.amd64.linux import syscall
%>
<%page args="n, groups"/>
<%docstring>
Invokes the syscall setgroups. See 'man 2 setgroups' for more information.
Arguments:
n(size_t): n
groups(gid_t): groups
</%docstring>
${syscall('SYS_setgroups', n, groups)}
|
_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... |
; A126335: a(n) = n*(4*n^2+5*n-3)/2.
; 3,23,72,162,305,513,798,1172,1647,2235,2948,3798,4797,5957,7290,8808,10523,12447,14592,16970,19593,22473,25622,29052,32775,36803,41148,45822,50837,56205,61938,68048,74547,81447,88760,96498,104673,113297,122382,131940,141983,152523,163572,175142,187245,199893,213098,226872,241227,2... |
; A004232: a(n) = n^2 + prime(n).
; 3,7,14,23,36,49,66,83,104,129,152,181,210,239,272,309,348,385,428,471,514,563,612,665,722,777,832,891,950,1013,1088,1155,1226,1295,1374,1447,1526,1607,1688,1773,1860,1945,2040,2129,2222,2315,2420,2527,2628,2729
mov $1,$0
add $0,1
pow $0,2
seq $1,40 ; The prime numbers.
add $0,$1
|
; A118537: Number of functions f: {1, 2, ..., n} --> {1, 2, ..., n} such that f(1) != f(2), f(2) != f(3), ..., f(n-1) != f(n), f(n) != f(1).
; Submitted by Jon Maiga
; 2,6,84,1020,15630,279930,5764808,134217720,3486784410,99999999990,3138428376732,106993205379060,3937376385699302,155568095557812210,6568408355712890640,... |
INCLUDE "clib_cfg.asm"
SECTION code_clib
SECTION code_math
PUBLIC l_divu_32_32x16, l0_divu_32_32x16
; compute: dehl = dehl / bc, dehl' = dehl % bc
; alters : af, bc, de, hl, bc', de', hl', ix
; alternate entry (l0_divu_32_32x16)
; skips divide by zero check
IF __CLIB_OPT_IMATH <= 50
EXTERN l_sma... |
object_const_def ; object_event constants
const OAKSLAB_OAK
const OAKSLAB_SCIENTIST1
const OAKSLAB_SCIENTIST2
const OAKSLAB_SCIENTIST3
OaksLab_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
.DummyScene:
end
Oak:
faceplayer
opentext
checkevent EVENT_OPENED_MT_SILVER
iftrue .CheckPokedex
checkevent EV... |
; --------------------------------------
; Test LDA and STA.
; Moving data from an address to a register, and back from a register to an address.
;
; STA a: Store register A data t... |
; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021 Marco Spedaletti (asimov@mclink.it)
; *
; * Licensed un... |
// Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <vector>
#include <memory>
#include <string>
#include <transformations_visibility.hpp>
#include <ngraph/pass/graph_rewrite.hpp>
namespace ngraph {
namespace pass {
class TRANSFORMATIONS_API ConvertLSTMCell... |
; A197728: Decimal expansion of 3*Pi/(2 + 2*Pi).
; Submitted by Christian Krause
; 1,1,3,7,8,2,0,4,8,9,4,9,2,1,6,4,2,1,8,0,1,6,6,4,6,0,3,3,5,6,7,3,3,9,2,9,6,2,0,7,6,3,9,5,4,8,4,6,0,7,9,6,4,9,5,0,0,3,4,8,2,3,2,0,6,7,3,8,2,2,2,0,5,6,5,1,4,3,6,0,6,4,4,8,0,9,4,9,7,6,1,0,2,3,0,3,3,6,5
mov $2,1
mov $3,$0
mul $3,5
lpb $3
m... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rax
push %rbx
push %rdx
push %rsi
lea addresses_WC_ht+0xe9c2, %r9
nop
cmp $42590, %rdx
movw $0x6162, (%r9)
nop
nop
nop
nop
nop
add %r12, %r12
lea addresses_A_ht+0x165c2, %rbx
cmp %rax, %rax
movl $0x61626364, (%rbx)
nop
nop
and %rsi, %rsi
le... |
; A001629: Self-convolution of Fibonacci numbers.
; 0,0,1,2,5,10,20,38,71,130,235,420,744,1308,2285,3970,6865,11822,20284,34690,59155,100610,170711,289032,488400,823800,1387225,2332418,3916061,6566290,10996580,18394910,30737759,51310978,85573315,142587180,237387960,394905492,656451269,1090444930,1810142185,3002921270,4... |
addi r6 r0 256 // load r0 its thread id
addi r6 r6 256 // load r0 its thread id
addi r6 r6 256 // load r0 its thread id
addi r6 r6 256 // load r0 its thread id
addi r6 r6 256 // load r0 its thread id
lbi r5 1
slbi r5 0x400
ld r26 r5 0
addi r26 r26 1 // loop
addi r6 r6 -1 // Increment r6 by 1
st r5 r26 0
bneq r6 r0 -5
k... |
#include<iostream>
using namespace std;
struct node
{
int data;
node *prev;
node *next;
int size;
}*front,*rear;
node *getNode(int data)
{
node *newNode=(node *)malloc(sizeof(node));
newNode->data=data;
newNode->prev=newNode->next=NULL;
}
void insert_front(int data)
{
node *newNode=getNode(data);
if(newN... |
#include "ncurses_display.h"
#include <curses.h>
#include <chrono>
#include <iostream>
#include <string>
#include <thread>
#include <vector>
#include "format.h"
#include "system.h"
using std::string;
using std::to_string;
// 50 bars uniformly displayed from 0 - 100 %
// 2% is one bar(|)
std::string NCursesDispla... |
;;; Test program of twi-controller.asm
;;;
;;- This program scans I²C devices and shows if a device on each address exists.
;;-
;;- To compile this file, the following files are required
;;- (These files are parts of the pAVRlib).
;;-
;;- - [[../twi-controller][twi-controller.asm]]
;;- - [[../usart][usart.asm]]
;;- - [... |
#!/usr/local/bin/zasm -o original/
#target ram
#code CODE,0
#code RAM
#code ROM
#code ROP
#data DATA
#code GSINIT
#test TEST, 0xC000
#include "k2-rope-core-macros.s"
#include "k2-rope-core.s"
#include "k2-rope-core-macros.s"
|
; A024183: Second elementary symmetric function of 3,4,...,n+3.
; 12,47,119,245,445,742,1162,1734,2490,3465,4697,6227,8099,10360,13060,16252,19992,24339,29355,35105,41657,49082,57454,66850,77350,89037,101997,116319,132095,149420,168392,189112,211684,236215,262815,291597,322677,356174,392210,430910,472402,516817,564289,... |
// Copyright (c) 2020 PaddlePaddle 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... |
; **************************************************
; PSGlib - C programming library for the SEGA PSG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
INCLUDE "PSGlib_private.inc"
SECTION code_clib
SECTION code_PSGlib
PUBLIC asm_PSGlib_SetMusicVolumeAttenuati... |
; A093230: a(n) is the largest number such that all of a(n)'s length-n substrings are distinct and divisible by 30.
; 0,900,99000,9990000,999900000,99999000000,9999990000000,999999900000000,99999999000000000,9999999990000000000,999999999900000000000,99999999999000000000000,9999999999990000000000000,99999999999990000000... |
; A005367: a(n) = 2*(2^n + 1)*(2^(n+1) - 1).
; 4,18,70,270,1054,4158,16510,65790,262654,1049598,4196350,16781310,67117054,268451838,1073774590,4295032830,17180000254,68719738878,274878431230,1099512676350,4398048608254,17592190238718,70368752566270,281474993487870,1125899940397054,4503599694479358,18014398643699710,720... |
RASTER = $2f ;Hier beginnen die Linien
;*** Startadresse
*=$0801
;** BASIC-Zeile: 2018 SYS 2064:NEW
!word main-2, 2018
!byte $9e
!text " 2064:"
!byte $a2,$00,$00,$00
main
sei ;IRQs sperren
lda #<myIRQ ;Adresse unserer Routine in
st... |
; A248572: a(n) = 29*n + 1.
; 1,30,59,88,117,146,175,204,233,262,291,320,349,378,407,436,465,494,523,552,581,610,639,668,697,726,755,784,813,842,871,900,929,958,987,1016,1045,1074,1103,1132,1161,1190,1219,1248,1277,1306,1335,1364,1393,1422,1451,1480,1509,1538,1567,1596,1625,1654,1683,1712,1741,1770,1799,1828,1857,1886,... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xb697, %rsi
lea addresses_UC_ht+0x6957, %rdi
nop
nop
nop
nop
nop
add %r13, %r13
mov $37, %rcx
rep movsq
nop
nop
nop
inc %r12
lea addresses_UC_ht+0x2b7, %rax
nop
nop
nop
nop
a... |
;; Utilities for biboot:
;; printing, reading from disk, etc.
;; initialize video
_init_video:
push ax
mov ax, 0x0003
int 0x10
pop ax
ret
;; printf, prints to output.
;; usage:
;; mov bx, [str]
;; call printf
printf:
mov ah, 0x0e
.Loop: ;; Loop
cmp [bx], byte 0 ;; Compare bx to \0... |
; A020478: Number of singular 2 X 2 matrices over Z(n) (i.e., with determinant = 0).
; Submitted by Jon Maiga
; 1,10,33,88,145,330,385,736,945,1450,1441,2904,2353,3850,4785,6016,5185,9450,7201,12760,12705,14410,12673,24288,18625,23530,26001,33880,25201,47850,30721,48640,47553,51850,55825,83160,51985,72010,77649,106720,... |
SECTION code_clib
SECTION code_sound_bit
PUBLIC asm_bit_close
INCLUDE "config_private.inc"
EXTERN __sound_bit_state
asm_bit_close:
; enter : a = output byte used for 1-bit sound
;
; uses : af, c
ld c,a
ld a,(__sound_bit_state)
and __SOUND_BIT_WRITE_MASK
or c
ld (__sound_bit_sta... |
; A041146: Numerators of continued fraction convergents to sqrt(83).
; Submitted by Jon Maiga
; 9,82,1485,13447,243531,2205226,39937599,361643617,6549522705,59307347962,1074081786021,9726043422151,176142863384739,1595011813884802,28886355513311175,261572211433685377,4737186161319647961,42896247663310517026,776869644100... |
TITLE SRCINST - Copyright (C) 1994 SLR Systems
INCLUDE MACROS
INCLUDE MODULES
PUBLIC SRCNAME_INSTALL
.DATA
EXTERNDEF SYMBOL_TEXT:BYTE
EXTERNDEF THEADR_HASH:DWORD,SYMBOL_LENGTH:DWORD,SRC_COUNT:DWORD,MOD_FIRST_SRC_GINDEX:DWORD
EXTERNDEF THEADR_HASH_TABLE_PTR:DWORD,MOD_LAST_SRC_GINDEX:DWORD
EXTERN... |
#include <cstdio>
using namespace std;
int n;
char inp[15];
int main()
{
scanf("%d%s%s", &n, inp, inp);
if(inp[0]=='w')
{
if(n==1 || n==2 || n==3 || n==4 || n==7)
printf("%d\n", 52);
else
printf("%d\n", 53);
}
else
{
if(n<=29)
printf... |
/*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... |
.386p
page 58,132
;******************************************************************************
title emmfunct.asm - EMM function handlers
;******************************************************************************
;
; (C) Copyright MICROSOFT Corp. 1988-1991
; (C) Copyright COMPAQ Computer Corp. 1988-1991
;
; Ti... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
; A032528: Concentric hexagonal numbers: floor( 3*n^2 / 2 ).
; 0,1,6,13,24,37,54,73,96,121,150,181,216,253,294,337,384,433,486,541,600,661,726,793,864,937,1014,1093,1176,1261,1350,1441,1536,1633,1734,1837,1944,2053,2166,2281,2400,2521,2646,2773,2904,3037,3174,3313,3456,3601,3750,3901,4056,4213,4374,4537,4704,4873,5046,... |
#include <iostream>
#include <string>
#include <map>
// -------------------- OpenMesh
#include <OpenMesh/Core/IO/MeshIO.hh>
#include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>
#include <OpenMesh/Core/Mesh/PolyMesh_ArrayKernelT.hh>
// -------------------- little helper
#include "generate_cube.hh"
#include "stats.hh"
#... |
;------------- Seccion de datos -------------
section .data
resultado db '0' ; variable pre-definido
section .bss
resultado2 resb 1 ; reserva de memoria de un bite
;------------- Seccion de texto -------------
section .text
global _start
start:
; ---- suma ----
mov eax, 2 ; asignacion del ... |
format MS COFF
extrn '__imp__ExitProcess@4' as ExitProcess:dword
extrn '__imp__CreateWindowExA@48' as CreateWindowEx:dword
extrn '__imp__SetPixelFormat@12' as SetPixelFormat:dword
extrn '__imp__ChoosePixelFormat@8' as ChoosePixelFormat:dword
extrn '__imp__ShowCursor@4' as ShowCursor:dword
extrn '__imp__GetDC@4' as Get... |
#include "ComponentBoundingBox2D.h"
#include "Application.h"
#include "Modules/ModuleInput.h"
#include "Components/UI/ComponentTransform2D.h"
#include "GameObject.h"
#include "Utils/Logging.h"
#include "Panels/PanelScene.h"
#include "Modules/ModuleWindow.h"
#include "Modules/ModuleTime.h"
#include "Modules/ModuleRende... |
SECTION .text
GLOBAL mul_p256
mul_p256:
sub rsp, 0x80 ; last 0x30 (6) for Caller - save regs
mov [ rsp + 0x50 ], rbx; saving to stack
mov [ rsp + 0x58 ], rbp; saving to stack
mov [ rsp + 0x60 ], r12; saving to stack
mov [ rsp + 0x68 ], r13; saving to stack
mov [ rsp + 0x70 ], r14; saving to stack
mov [ rsp + 0x78 ], ... |
LoadRoomHook:
JSL.l IndoorTileTransitionCounter
.noStats
JSL Dungeon_LoadRoom
REP #$10 ; 16 bit XY
LDX $A0 ; Room ID
LDA RoomCallbackTable, X
SEP #$10 ; 8 bit XY
JSL UseImplicitRegIndexedLongJumpTable
; Callback routines:
dl NoCallback ; 00
dl IcePalaceBombosSE ; 01
... |
; A160242: Triangle A(n,m) read by rows: a quarter of the Fourier coefficient [cos(m*t)] of the shifted Boubaker polynomial B_n(2*cos t)-2*cos(n*t).
; 1,2,1,2,2,2,1,2,2,2,2,2,1,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2... |
LavenderHouse1Script:
call EnableAutoTextBoxDrawing
ret
LavenderHouse1TextPointers:
dw LavenderHouse1Text1
dw LavenderHouse1Text2
dw LavenderHouse1Text3
dw LavenderHouse1Text4
dw LavenderHouse1Text5
dw LavenderHouse1Text6
LavenderHouse1Text1:
TX_ASM
CheckEvent EVENT_RESCUED_MR_FUJI
jr nz, .asm_72e5d
ld hl... |
/*F***************************************************************************
* This file is part of openSMILE.
*
* Copyright (c) audEERING GmbH. All rights reserved.
* See the file COPYING for details on license terms.
***************************************************************************E*/
/* openSMILE ... |
; A081610: Number of numbers <= n having at least one 2 in their ternary representation.
; 0,0,1,1,1,2,3,4,5,5,5,6,6,6,7,8,9,10,11,12,13,14,15,16,17,18,19,19,19,20,20,20,21,22,23,24,24,24,25,25,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,56,57,58,59,60,61,62,63,64,65,65,... |
db ESPEON ; 196
db 65, 65, 60, 110, 130, 95
; hp atk def spd sat sdf
db PSYCHIC, PSYCHIC ; type
db 45 ; catch rate
db 197 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F12_5 ; gender ratio
db 100 ; unknown 1
db 35 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/espeon/front.dimen... |
//
// Created by roman Sztergbaum on 01/06/2018.
//
#pragma once
#include <shiva/entt/entt.hpp>
#include <shiva/ecs/system_type.hpp>
namespace shiva::ecs
{
/**
* \class base_system
* \note This class is an abstract class, it is documented but
* is present only to make type-erasure of the class sys... |
// Distributed under the MIT License.
// See LICENSE.txt for details.
/// \file
/// Defines all group definitions
#pragma once
/*!
* \defgroup ActionsGroup Actions
* \brief A collection of steps used in algorithms.
*/
/*!
* \defgroup AnalyticDataGroup Analytic Data
* \brief Analytic data used to specify (for e... |
/* Copyright 2019 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... |
; A081184: 7th binomial transform of (0,1,0,2,0,4,0,8,0,16,...).
; Submitted by Jamie Morken(s3)
; 0,1,14,149,1428,12989,114730,995737,8548008,72872473,618458246,5233409213,44200191420,372832446869,3142245259426,26468308629121,222870793614672,1876180605036721,15791601170624510,132901927952017253,1118421736308889572,941... |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x4b85, %rsi
lea addresses_UC_ht+0x12e9, %rdi
nop
nop
nop
nop
dec %rdx
mov $19, %rcx
rep movsw
cmp $55731, %r15
lea addresses_A_ht+0xb1dd, %rsi
lea addresses_A_ht+0xace9, %rdi
nop
nop
nop
nop
add... |
; A175540: a(n) = A067076(n) + n.
; 1,3,5,8,10,13,15,18,22,24,28,31,33,36,40,44,46,50,53,55,59,62,66,71,74,76,79,81,84,92,95,99,101,107,109,113,117,120,124,128,130,136,138,141,143,150,157,160,162,165,169,171,177,181,185,189,191,195,198,200,206
mov $1,$0
seq $1,98090 ; Numbers k such that 2k-3 is prime.
add $0,$1
sub $... |
; ########################################################################
GetFileName PROTO :DWORD, :DWORD, :DWORD
SaveFileName PROTO :DWORD, :DWORD, :DWORD
FillBuffer PROTO :DWORD, :DWORD, :BYTE
.data
szFileName db 260 dup(0)
ofn OPENFILENAME <> ; structure
.code
;... |
// Copyright (c) 2015 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 projec... |
; A165618: Binomial(n+8,8)-1
; 0,8,44,164,494,1286,3002,6434,12869,24309,43757,75581,125969,203489,319769,490313,735470,1081574,1562274,2220074,3108104,4292144,5852924,7888724,10518299,13884155,18156203,23535819,30260339,38608019,48903491,61523747,76904684,95548244,118030184,145008512,177232626,215553194,260932814,3144... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.