text stringlengths 1 1.05M |
|---|
.const CIA1_BASE=$dc00
.const CIA1_PORTA=CIA1_BASE+0
.const CIA1_PORTB=CIA1_BASE+1
.const CIA1_PORTA_DIR=CIA1_BASE+2
.const CIA1_PORTB_DIR=CIA1_BASE+3
.const CIA1_TIMERA_LO=CIA1_BASE+4
.const CIA1_TIMERA_HI=CIA1_BASE+5
.const CIA1_TIMERB_LO=CIA1_BASE+6
.const CIA1_TIMERB_HI=CIA1_BASE+7
.const CIA1_TOD_TS=CIA1_BASE+8
.... |
// 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 "content/browser/shared_worker/shared_worker_script_loader_factory.h"
#include <memory>
#include "content/browser/service_worker/service_worker_... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r13
push %r14
push %rax
push %rbp
// Faulty Load
lea addresses_D+0xc35b, %rax
cmp %rbp, %rbp
mov (%rax), %r14w
lea oracles, %r13
and $0xff, %r14
shlq $12, %r14
mov (%r13,%r14,1), %r14
pop %rbp
pop %rax
... |
// Copyright 2020 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/x/x11_topmost_window_finder.h"
namespace ui {
XTopmostWindowFinder::XTopmostWindowFinder() = default;
XTopmostWindowFinder::~XTopmost... |
data segment
port dw 290h
mes0 db 'Start.',0dh,0ah,'$'
mes db 'Exit!$'
;正弦波数据表
sin db 80h,96h,0aeh,0c5h,0d8h,0e9h,0f5h,0fdh
db 0ffh,0fdh,0f5h,0e9h,0d8h,0c5h,0aeh,96h
db 80h,66h,4eh,38h,25h,15h,09h,04h
db 00h,04h,09h,15h,25h,38h,4eh,66h
data end... |
; uint __FASTCALL__ zx_aaddr2cx(void *attraddr)
; aralbrec 06.2007
PUBLIC zx_aaddr2cx
.zx_aaddr2cx
ld a,l
and $1f
ld l,a
ld h,0
ret
|
#include "Application.h"
#include "ComponentCharacterController.h"
#include "ComponentTransform.h"
#include "ComponentPhysics.h"
#include "ComponentCollider.h"
#include "ComponentRigidBody.h"
#include "ComponentScript.h"
#include "ImGuizmos/ImGuizmo.h"
#include "CollisionLayers.h"
#include "GameObject.h"
#include "Alie... |
;/*
; * FreeRTOS Kernel V10.0.1
; * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. 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 restri... |
; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 Marco Spedaletti (asimov@mclink.it)
; *
; * Licens... |
INCLUDE "graphics/grafix.inc"
PUBLIC w_plotpixel
EXTERN l_cmp
EXTERN w_pixeladdress
EXTERN coords
;
; $Id: w_plotpixl.asm,v 1.3 2015/01/19 01:32:47 pauloscustodio Exp $
;
; ******************************************************************
;
; Plot pixel ... |
;
; Copyright (c) 2010 The VP8 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... |
.const
pushad_size equ 8*4
pushad_eax equ 7*4
pushad_ecx equ 6*4
pushad_edx equ 5*4
pushad_ebx equ 4*4
pushad_esp equ 3*4
pushad_ebp equ 2*4
pushad_esi equ 1*4
pushad_edi equ 0*4
.data?
RMD320HashBuf db 64 dup(?)
RMD320Len dd ?
RMD320Index dd ?
RMD320Digest dd 10 dup(?)
.code
RMD320FF macro dwA, dwB, dwC, dwD, dwE, ... |
; A068721: Arithmetic derivative of cubes: a(n) = 3*n^2*A003415(n).
; 0,12,27,192,75,540,147,2304,1458,2100,363,6912,507,5292,5400,24576,867,20412,1083,28800,13230,18876,1587,76032,18750,30420,59049,75264,2523,83700,2883,245760,45738,65892,44100,233280,4107,90972,73008,326400,5043,216972,5547,278784,236925,158700,6627,... |
; ================================================================
; DevSound - a Game Boy music system by DevEd
;
; Copyright (c) 2017 - 2018 DevEd
;
; 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 ... |
//
// ulib - a collection of useful classes
// Copyright (C) 2000-2017 Michael Fink
//
/// \file Atl.hpp ATL includes
//
#pragma once
// ignore /analyze warnings in ATL header files
#pragma warning(push)
#pragma warning(disable: 6001 6031 6387 26110)
/// prevent ATL using stuff removed by WIN32_LEAN_AND_MEAN
#define ... |
db 0 ; species ID placeholder
db 78, 70, 61, 100, 50, 61
; hp atk def spd sat sdf
db NORMAL, NORMAL ; type
db 90 ; catch rate
db 147 ; base exp
db POTION, MAX_REVIVE ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 15 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/linoon... |
; A235583: Numbers not divisible by 2, 5 or 7.
; Submitted by Jamie Morken(s1)
; 1,3,9,11,13,17,19,23,27,29,31,33,37,39,41,43,47,51,53,57,59,61,67,69,71,73,79,81,83,87,89,93,97,99,101,103,107,109,111,113,117,121,123,127,129,131,137,139,141,143,149,151,153,157,159,163,167,169,171,173,177,179,181,183,187,191,193,197,199,... |
; ================================== ТЕХНИЧЕСКОЕ ЗАДАНИЕ ==================================
; Вариант 18
; Поместить в первую строку результата все символы из исходной строки, являющиеся цифрами
; Поместить во вторую строку результата символы исходной строки до первого найденного в исходной строке символа '-', за котор... |
// Copyright (c) 2017-2019 The FreedomCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sporkdb.h"
#include "spork.h"
CSporkDB::CSporkDB(size_t nCacheSize, bool fMemory, bool fWipe) : CDBWrapper(GetD... |
Map_22119A_: dc.w Frame_2211A6-Map_22119A_ ; ...
dc.w Frame_2211B4-Map_22119A_
dc.w Frame_2211D4-Map_22119A_
dc.w Frame_2211F4-Map_22119A_
dc.w Frame_221214-Map_22119A_
dc.w Frame_22122E-Map_22119A_
Frame_2211A6: dc.w 2
dc.b $C0, $B, 0, 0, 0, 8
dc.b $E0, $F, 0, $C, 0, 0
Frame_2211B4: dc.w 5
dc.b ... |
// AIDA64SetupSourceDlg.cpp : implementation file
//
// created by Unwinder
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "AIDA64SetupSourceDlg.h"
#include "AIDA64Globals.h"
#include "MAHMSharedMemory.h"
//////////////////////////////////////////////////////... |
; A067076: Numbers k such that 2*k + 3 is a prime.
; Submitted by Jon Maiga
; 0,1,2,4,5,7,8,10,13,14,17,19,20,22,25,28,29,32,34,35,38,40,43,47,49,50,52,53,55,62,64,67,68,73,74,77,80,82,85,88,89,94,95,97,98,104,110,112,113,115,118,119,124,127,130,133,134,137,139,140,145,152,154,155,157,164,167,172,173,175,178,182,185,18... |
; A005055: 7*5^n.
; 7,35,175,875,4375,21875,109375,546875,2734375,13671875,68359375,341796875,1708984375,8544921875,42724609375,213623046875,1068115234375,5340576171875,26702880859375,133514404296875,667572021484375,3337860107421875,16689300537109375,83446502685546875,417232513427734375,2086162567138671875,104308128356... |
/*完成下述代码中注释的部分,使程序能读取物品讯息,检查合法性,并在合法时输出总重。*/
/*注意:
1. 不能修改其他部分。
2. 不能有内存泄漏。*/
#include <iostream>
#include <vector>
class Item {
public:
/* 编写构造函数、析构函数 */
virtual int GetWeight() const {
return weight_;
}
virtual bool IsValid() const {
return true;
}
private:
int weight_;
};... |
GLOBAL hasKey
GLOBAL getKey
section .text
hasKey:
push rbp
mov rbp,rsp
mov rax,0
in al,64h
and al,0x01
leave
ret
getKey:
push rbp
mov rbp,rsp
mov rax,0
in al,60h
leave
ret |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1d7dc, %r10
nop
nop
nop
nop
and $53904, %rcx
movb (%r10), %dl
nop
nop
nop
xor $9531, %rbx
lea addresses_A_ht+0x425c, %rcx
nop
and $9886, %r15
vmovups (%rcx), %ymm6
vextracti... |
// 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/inspect/cpp/fidl.h>
#include <lib/async/cpp/executor.h>
#include <lib/gtest/real_loop_fixture.h>
#include <lib/inspect/cpp/inspect.h>
#in... |
; A080398: Largest squarefree number dividing sum of divisors of n.
; 1,3,2,7,6,6,2,15,13,6,6,14,14,6,6,31,6,39,10,42,2,6,6,30,31,42,10,14,30,6,2,21,6,6,6,91,38,30,14,30,42,6,22,42,78,6,6,62,57,93,6,14,6,30,6,30,10,30,30,42,62,6,26,127,42,6,34,42,6,6,6,195,74,114,62,70,6,42,10,186,11,42,42,14,6,66,30,30,30,78,14,42,2,6... |
#include "test_helpers.hxx"
// Simple test program for libpqxx. Test string conversion routines.
namespace
{
void test_076()
{
pqxx::connection conn;
pqxx::nontransaction tx{conn};
auto
RFalse = tx.exec1("SELECT 1=0"),
RTrue = tx.exec1("SELECT 1=1");
bool
False = pqxx::from_string<bool>(RFalse[0]),
Tru... |
; A186145: Rank of n^2 when {i^2: i>=1} and {j^3>: j>=1} are jointly ranked with i^2 before j^3 when i^2=j^3. Complement of A186146.
; 1,3,5,6,7,9,10,11,13,14,15,17,18,19,21,22,23,24,26,27,28,29,31,32,33,34,35,37,38,39,40,42,43,44,45,46,48,49,50,51,52,54,55,56,57,58,60,61,62,63,64,65,67,68,69,70,71,72,74,75,76,77,78,7... |
; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 101
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %82
OpExecutionMode %4 OriginU... |
; A169291: Number of reduced words of length n in Coxeter group on 38 generators S_i with relations (S_i)^2 = (S_i S_j)^29 = I.
; 1,38,1406,52022,1924814,71218118,2635070366,97497603542,3607411331054,133474219248998,4938546112212926,182726206151878262,6760869627619495694,250152176221921340678,9255630520211089605086
ad... |
; A000218: Take sum of squares of digits of previous term; start with 3.
; Submitted by Christian Krause
; 3,9,81,65,61,37,58,89,145,42,20,4,16,37,58,89,145,42,20,4,16,37,58,89,145,42,20,4,16,37,58,89,145,42,20,4,16,37,58,89,145,42,20,4,16,37,58,89,145,42,20,4,16,37,58,89,145,42,20,4,16,37,58,89,145,42,20,4,16,37,58,89... |
// Copyright 2012 Google Inc. 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... |
; A001014: Sixth powers: a(n) = n^6.
; 0,1,64,729,4096,15625,46656,117649,262144,531441,1000000,1771561,2985984,4826809,7529536,11390625,16777216,24137569,34012224,47045881,64000000,85766121,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729000000,887503681,1073741824,1291467969,1544804... |
; A003954: Expansion of g.f.: (1+x)/(1-11*x).
; 1,12,132,1452,15972,175692,1932612,21258732,233846052,2572306572,28295372292,311249095212,3423740047332,37661140520652,414272545727172,4556998002998892,50126978032987812,551396758362865932,6065364341991525252,66719007761906777772,733909085380974555492,80729999391907201104... |
bits 64
kandnw k3, k7, k1
kandw k3, k7, k1
kmovw k3, [rbx]
kmovw k3, [rbx+rsi*8+256]
kmovw k3, [rbx+rsi*8-256]
kmovw k3, k1
kmovw k3, [rbx]
kmovw [rbx], k3
kmovw [rbx+rsi*8+256], k3
kmovw [rbx+rsi*8-256], k3
kmovw k3, ecx
kmovw ecx, k1
knotw k3, k1
kortes... |
.size 8000
.text@48
ei
jp lstatint
.text@100
jp lbegin
.data@143
80
.text@150
lbegin:
ld c, 44
ld b, 90
lbegin_waitvblank:
ldff a, (c)
cmp a, b
jrnz lbegin_waitvblank
ld hl, 8000
xor a, a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
ld(hl++), a
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1bf07, %r15
and %r12, %r12
mov (%r15), %r9w
nop
nop
nop
nop
nop
xor $30844, %rdx
lea addresses_UC_ht+0xed73, %r10
nop
nop
nop
nop
inc %rdi
movups (%r10), %xmm2
vpext... |
;
; Z88 Small C+ Run Time Library
; Long support functions
;
; djm 25/2/99
; Rewritten for size and speed (untested, but should be OK)
;
; aralbrec 01/2007
; sped up some more
XLIB l_long_asr
; Shift primary (on stack) right by secondary,
; We can only shift a maximum of 32 b... |
Map_228394: dc.w Frame_22839A-Map_228394 ; ...
dc.w Frame_2283A8-Map_228394
dc.w Frame_2283B0-Map_228394
Frame_22839A: dc.w 2
dc.b $FC, $C, 0,$36,$FF,$E4
dc.b $FC, 8, 0,$36, 0, 4
Frame_2283A8: dc.w 1
dc.b $FC, $C, 0,$36,$FF,$E4
Frame_2283B0: dc.w 1
dc.b $FC, 8, 0,$36, 0, 4
|
SFX_Cry13_3_Ch1:
dutycycle 51
unknownsfx0x20 15, 246, 192, 5
unknownsfx0x20 8, 227, 188, 5
unknownsfx0x20 6, 210, 208, 5
unknownsfx0x20 6, 178, 224, 5
unknownsfx0x20 6, 194, 240, 5
unknownsfx0x20 8, 177, 0, 6
endchannel
SFX_Cry13_3_Ch2:
dutycycle 153
unknownsfx0x20 14, 198, 177, 4
unknownsfx0x20 7, 195, 17... |
// Geometric Tools, LLC
// Copyright (c) 1998-2014
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.0.1 (2010/10/01)
#include "Wm5MathematicsPCH.h"
#include "Wm5IntrRay3Sph... |
;
; Copyright (c) 2020 Phillip Stevens
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; feilipu, August 2020
;
;-----------------------------------------------... |
; A002697: a(n) = n*4^(n-1).
; 0,1,8,48,256,1280,6144,28672,131072,589824,2621440,11534336,50331648,218103808,939524096,4026531840,17179869184,73014444032,309237645312,1305670057984,5497558138880,23089744183296,96757023244288,404620279021568,1688849860263936,7036874417766400,29273397577908224,121597189939003392,5044031... |
#include "RecoMuon/MuonSeedGenerator/src/MuonSeedSimpleCleaner.h"
void MuonSeedSimpleCleaner::clean(TrajectorySeedCollection& seeds) {
for (std::vector<TrajectorySeed>::iterator seed = seeds.begin(); seed != seeds.end(); ++seed) {
if (!checkPt(*seed)) {
seeds.erase(seed--);
} else {
int counter =... |
;-----------------------------------------------------
;Display CPU information
;I: none
;O: none
;-----------------------------------------------------
_get_cpuid:
xor EAX,EAX
cpuid
mov DWORD [VendorSign], EBX
mov DWORD [VendorSign+4], EDX
mov DWORD [VendorSign+8],... |
class Base
{
virtual void A(float=0.0);
virtual void B() const;
};
class Derived: public Base
{
virtual void A(int=0); // specifies parameter as int instead of float, treated as new function
virtual void B(); // specifies function as non-const, treated as new function
}; |
; A047550: Numbers that are congruent to {5, 7} mod 8.
; 5,7,13,15,21,23,29,31,37,39,45,47,53,55,61,63,69,71,77,79,85,87,93,95,101,103,109,111,117,119,125,127,133,135,141,143,149,151,157,159,165,167,173,175,181,183,189,191,197,199,205,207,213,215,221,223,229,231,237,239,245,247,253,255,261,263,269,271,277,279,285,287,2... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x186d3, %rsi
lea addresses_D_ht+0xd214, %rdi
nop
xor %r15, %r15
mov $25, %rcx
rep movsb
cmp $54082, %rcx
lea addresses_UC_ht+0x1c73b, %rdi
nop
nop
nop
nop
nop
cmp $38141, %r11
... |
/* ==========================================================================
Author : Johan Rosengren, Abstrakt Mekanik AB
Date : 2004-04-29
Purpose : "CLinkFactory" is a simple class with one single static
function, returning and updating a single static int
value to use as a unique id for drawing ... |
.data
end: .word 0xffff0010
end1: .word 0xffff0011
chr: .word 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x67, 0x77, 0x7c, 0x39, 0x5e, 0x79, 0x71
.text
main:
la $s0,end
lw $s0,0($s0)
la $s4,end1
lw $s4,0($s4)
li $s1,16
reset:
li $t1,0
la $s2,chr
lw $s3,0($s2)
la $t3,chr
lw $s5,0($t3)
loop... |
LKS_printfs:
lda #$20
clc
adc LKS_PRINTPL
sta MEM_TEMP
lda $0000,y
-:
cmp #$20
beq +
sec
sbc #64
sta LKS_BUF_BG3+0,x
lda MEM_TEMP
sta LKS_BUF_BG3+1,x
bra ++
+:
lda #0
sta LKS_BUF_BG3+0,x
sta LKS_BUF_BG3+1,x
++:
inx
inx
iny
lda $0000,y
cmp #0
bne -
r... |
; A310372: Coordination sequence Gal.4.52.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 Jon Maiga
; 1,4,10,14,18,22,28,32,36,42,46,50,54,60,64,68,74,78,82,86,92,96,100,106,110,114,118,124,128,132,138,142,146,150,156,... |
#include <bits/stdc++.h>
using namespace std;
int T, n, cnt[26], tot;
string s;
bool judge() {
tot = 0;
for(int i = 0; i < 26; ++i)
tot += !!cnt[i];
if(tot == 1 || tot > 3)
return true;
int i = 0;
while(!cnt[i]) i++;
if(tot == 2 && cnt[i + 1])
return false;
if(tot == 3 && cnt[i + 1] && cnt[i + 2])
ret... |
; A257847: a(n) = floor(n/7) * (n mod 7).
; 0,0,0,0,0,0,0,0,1,2,3,4,5,6,0,2,4,6,8,10,12,0,3,6,9,12,15,18,0,4,8,12,16,20,24,0,5,10,15,20,25,30,0,6,12,18,24,30,36,0,7,14,21,28,35,42,0,8,16,24,32,40,48,0,9,18,27,36,45,54,0,10,20,30,40,50,60,0,11,22,33,44,55,66,0,12,24,36,48,60,72,0,13,26,39,52,65,78,0,14,28,42,56,70,84,0,... |
org 0x7C00
use16
cli
mov al, '*'
mov ah, 7
mov dx ,0xb800
mov ds, dx
mov [0], ax
Done:
hlt
jmp Done
times 510-($-$$) db 90h
dw 0AA55h
;times 1509949-($-$$) db 0 |
#include <iostream>
#include <map>
#include <utility>
using namespace std;
typedef unsigned long long ull;
map<ull,ull> costs;
ull discreteLog2(ull x)
{
ull r = 0;
while (x)
{
r++;
x >>= 1;
}
return r-1;
}
ull largestCommonAncestor(ull a, ull b)
{
ull da = discreteLog2(a);
ull db = discreteLog2(b);
i... |
@main
0;JMP
(C4) 4.0
(PI) 3.14159
(main)
@PI
D=A
@16 // get F(PI)
swi
@18 // putf F
swi
@PI
D=A
@19 // fadd F , PI
swi
@18 // putf F
swi
@C4
D=A
@21 // fmul F, 2
swi
@18 // putf F
swi
|
/*The tree node has data, left child and right child
struct node
{
int data;
node* left;
node* right;
};
*/
int height(node * root)
{
if(root == NULL) return 0;
return max(height(root->left), height(root->right)) + 1;
}
|
//Ground model of Adaptive Exterior Light and Speed Control System
//Direction Blinking
//Hazard warning light
//from ELS-1 to ELS-13
module CarSystem001Functions
import ../../StandardLibrary
import CarSystem001Domains
export *
signature:
// DOMAINS
// FUNCTIONS
//Parameters setted initially
static marketCode... |
#include "external_flash_command.h"
#include <drivers/cache.h>
#include <drivers/config/clocks.h>
#include <drivers/config/external_flash.h>
#include <ion/timing.h>
namespace Ion {
namespace Device {
namespace ExternalFlash {
using namespace Regs;
/* The external flash and the Quad-SPI peripheral support several ope... |
/*
* Reflect Library by Parra Studios
* A library for provide reflection and metadata representation.
*
* Copyright (C) 2016 - 2022 Vicente Eduardo Ferrer Garcia <vic798@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licens... |
/*
* Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
*/
extern "C" {
#include <ovsdb_wrapper.h>
};
#include <vm_interface_ksync.h>
#include <oper/vn.h>
#include <oper/interface.h>
#include <oper/vm_interface.h>
#include <oper/vrf.h>
#include <ovsdb_types.h>
#include <ovsdb_route_data.h>
#include <ovs... |
; A221397: Number of n X 3 arrays of occupancy after each element moves to some horizontal, diagonal or antidiagonal neighbor, with no 2-loops and with no occupancy greater than 2.
; Submitted by Jamie Morken(s4)
; 0,6,30,144,672,3108,14328,65976,303672,1397520,6431136,29594352,136184256,626677152,2883768672,1327018060... |
; A198479: 10^n*n^10.
; 0,10,102400,59049000,10485760000,976562500000,60466176000000,2824752490000000,107374182400000000,3486784401000000000,100000000000000000000,2593742460100000000000,61917364224000000000000,1378584918490000000000000,28925465497600000000000000,576650390625000000000000000,10995116277760000000000000000... |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... |
; A168410: a(n) = 3 + 9*floor(n/2).
; 3,12,12,21,21,30,30,39,39,48,48,57,57,66,66,75,75,84,84,93,93,102,102,111,111,120,120,129,129,138,138,147,147,156,156,165,165,174,174,183,183,192,192,201,201,210,210,219,219,228,228,237,237,246,246,255,255,264,264,273,273,282,282,291,291,300,300,309,309,318,318,327,327,336,336,345,... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;; CRYLINE PROJECT 2020 ;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;; by @DarxiS ;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;; v5.0 ;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;; - KERNEL BANNER - ;;;;;;;;;;;;;;;;;;;;;
... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld a, ff
ldff(45), a
ld b, 91
call lwaitly_b
ld hl, fe00
ld d, 10
ld a, d
ld(hl++), a
ld a, 08
ld(hl++), a
inc l
inc l
ld a, d
ld(hl++), ... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006 - 2008, 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... |
#include <iostream>
#include <string>
#include <queue>
#include <atomic>
#include <thread>
#include "readerwriterqueue/readerwriterqueue.h"
#include "read/json.h"
#include "write/csv.h"
using namespace moodycamel;
int main(){
BlockingReaderWriterQueue<Tuple> out(100);
std::thread writer([&]() {
... |
Name: runed.asm
Type: file
Size: 55260
Last-Modified: '1992-06-02T15:00:00Z'
SHA-1: 44C015A65D2721A7BE597383F86B72436E1AE169
Description: null
|
#pragma once
#include "usb/usb_host.h"
class USBhost
{
friend void _client_event_callback(const usb_host_client_event_msg_t *event_msg, void *arg);
protected:
usb_device_info_t dev_info;
usb_device_handle_t dev_hdl;
usb_host_client_event_cb_t _client_event_cb = nullptr;
uint8_t _dev_addr... |
; disk routines
const TEMP_SECTOR_BUF: 0x01FFF808
; read a sector into the specified memory buffer
; inputs:
; r0: sector number
; r1: disk ID
; r2: sector buffer (512 bytes)
; outputs:
; none
read_sector:
push r3
push r4
mov r3, 0x80002000 ; command to set the location of the buffer
mov r4, 0x... |
dnl ARM v6 mpn_sqr_basecase.
dnl Contributed to the GNU project by Torbjörn Granlund.
dnl Copyright 2012, 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 either:
dnl
dnl... |
; Unununium Standard Libs by Lukas Demetz
; STDIO
;
; Description: Provides FS interface to UUU
;
;
; Status: Coding
;
; ToDO:
; --------
; [ ] Finish the functions
; [x] Finish buffering
; [ ] Add all C Defines in stddef.inc
;
;
;
;
%include "struct.def"
%include "define.inc"
%include "fs/fs.inc"
%include "vid/mem.... |
; vim: set ft=nasm
bits 32
; Define some constants
VIDEO_MEMORY equ 0xb8000
WHITE_ON_BLACK equ 0x0f
; Prints a null-terminated string pointed to by EBX.
print32:
pusha
mov edx, VIDEO_MEMORY ; Set edx to the start of vid mem.
.string_loop:
mov al, [ebx] ; Store the char at EBX in AL.
mov ah, WHITE_ON_... |
dnl PowerPC-64 mpn_mul_1 -- Multiply a limb vector with a limb and store
dnl the result in a second limb vector.
dnl Copyright 1999, 2000, 2001 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... |
; void *w_vector_front_fastcall(w_vector_t *v)
SECTION code_clib
SECTION code_adt_w_vector
PUBLIC _w_vector_front_fastcall
EXTERN asm_w_vector_front
defc _w_vector_front_fastcall = asm_w_vector_front
|
; A187709: a(n) = (7*9^n + 1)/8.
; Submitted by Christian Krause
; 1,8,71,638,5741,51668,465011,4185098,37665881,338992928,3050936351,27458427158,247125844421,2224132599788,20017193398091,180154740582818,1621392665245361,14592533987208248,131332805884874231,1181995252963868078,10637957276674812701,95741615490073314308,... |
ShouldOverrideFileLoad:
; Y = Graphics file being loaded
CPY #$0A ; 0A = Ice/Mire floor file
BNE .no
LDA $040C ; Dungeon number
CMP #$12 ; Ice Palace
BEQ .yes
.no
CLC : RTS
.yes
SEC : RTS
BgGraphicsLoading:
; Instructions overwritten
STZ $00
STX $01
STA $02
... |
; *********************************************************************************
; *********************************************************************************
;
; File: screen_layer2.asm
; Purpose: Layer 2 console interface, sprites enabled, no shadow.
; Date : 27th December 2018
; Author: paul@robsons... |
#include "gtest/gtest.h"
#include <string.h>
#include "tests/fff.h"
DEFINE_FFF_GLOBALS;
extern "C" {
#include "../../utl/utl_thread.c"
#undef LOG_TAG
#include "../../utl/utl_log.c"
#include "../../utl/utl_dbg.c"
#include "../../utl/utl_buf.c"
#include "../../utl/utl_push.c"
#include "../../utl/utl_addr.c"
#include ".... |
//Include all the files that SWIG needs to generate an extension
#include <string>
using namespace std;
class MgObject;
class MgByteReader;
#include "CommonDefs.h"
//#include "Util.h"
#include "SQLitePhpApi_wrap.cpp"
|
; A141609: a(n)=(a(n - 1)*a(n - 2) + a(n - 1)^2)/a(n - 3).
; Submitted by Jon Maiga
; 1,1,1,2,6,48,1296,290304,1763596800,2400297571123200,19846204885558066176000000,223334408639880528216369404299444224000000,20780031060559302184531906881808103844643569442380668928000000000000
mov $1,1
mov $2,1
mov $4,1
lpb $0
sub $... |
; A232584: Number of (n+1)X(3+1) 0..2 arrays with every element next to itself plus and minus one within the range 0..2 horizontally or antidiagonally, with no adjacent elements equal
; 2,12,42,122,332,882,2322,6092,15962,41802,109452,286562,750242,1964172,5142282,13462682,35245772,92274642,241578162,632459852,16558014... |
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: wrap_itkAzimuthElevationToCartesianTransform.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserv... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h"
#include "chrome/browser/chromeos/printer_detector/printer_detector.h"
#in... |
; A112557: Smallest number of stones in Tchoukaillon (or Mancala, or Kalahari) solitaire which make use of (2*n-1)-th hole for n>=1; a bisection of A002491.
; 1,4,10,18,30,42,58,78,102,118,150,174,210,240,274,322,360,402,442,498,540,612,648,718,780,840,918,990,1054,1122,1200,1278,1392,1428,1548,1632,1714,1834,1882,2040... |
tilecoll 01, 01, 01, 01 ; 00
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 02
tilecoll TALL_GRASS, TALL_GRASS, TALL_GRASS, TALL_GRASS ; 03
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 04
tilecoll WALL, WALL, WALL, WALL ; 05
tilecoll LADDER, LADDER, LADDER, LADDER ; 06
tilecoll WHIRLPOO... |
//
// AKDCBlockDSP.hpp
// AudioKit
//
// Created by Aurelius Prochazka, revision history on Github.
// Copyright © 2018 AudioKit. All rights reserved.
//
#pragma once
#import <AVFoundation/AVFoundation.h>
typedef NS_ENUM(AUParameterAddress, AKDCBlockParameter) {
AKDCBlockParameterRampDuration
};
#ifndef __c... |
bootblock.o: file format elf32-i386
Disassembly of section .text:
00007c00 <start>:
# with %cs=0 %ip=7c00.
.code16 # Assemble for 16-bit mode
.globl start
start:
cli # BIOS enabled interrupts; disable
7c00: fa cli
# Zero data segment... |
//
// Quad.hpp
// AxiSEM3D
//
// Created by Kuangdai Leng on 3/29/20.
// Copyright © 2020 Kuangdai Leng. All rights reserved.
//
// Quadrilateral
// generator of Element in core
#ifndef Quad_hpp
#define Quad_hpp
// eigen
#include "eigen_sem.hpp"
// components
#include "Mapping.hpp"
#include "Material.hpp"
#in... |
#include "main.h"
#include "data_packet_handler.hpp"
#include "ranging_thread.h"
#include <uavcan/uavcan.hpp>
#include <cvra/uwb_beacon/DataPacket.hpp>
using DataPacket = cvra::uwb_beacon::DataPacket;
static void data_packet_cb(const uavcan::ReceivedDataStructure<DataPacket>& msg)
{
static uint8_t data[1024];
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x83c2, %rsi
lea addresses_UC_ht+0x6682, %rdi
clflush (%rdi)
nop
add %rbx, %rbx
mov $25, %rcx
rep movsl
nop
nop
nop
nop
nop
cmp %r13, %r13
lea addresses_WC_ht+0x8fc3, %r11
and ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x254e, %rcx
clflush (%rcx)
nop
nop
nop
nop
nop
xor %rdx, %rdx
movups (%rcx), %xmm4
vpextrq $0, %xmm4, %rdi
nop
nop
nop
inc %rdi
lea addresses_D_ht+0x13e8e, %r9
and %r10, %... |
#include <dynamic_trees/euler_tour_tree/include/skip_list_ett.hpp>
#include <utilities/include/random.h>
namespace skip_list_ett {
using Element = skip_list::Element;
using std::pair;
EulerTourTree::EulerTourTree(int _num_verts) : num_verts(_num_verts) {
pbbs::random randomness;
verts = pbbs::new_array_no_init<... |
;*****************************************************************************
;* x86inc.asm: x264asm abstraction layer
;*****************************************************************************
;* Copyright (C) 2005-2011 x264 project
;*
;* Authors: Loren Merritt <lorenm@u.washington.edu>
;* Anton Mitrofan... |
// filenames of the input and output roms
// test_gba will be created as a modified copy of rom_gba
rom_gba equ "rom.gba"
test_gba equ "test.gba"
// the number of evolution slots each Pokemon gets
evolutions_per_pokemon equ 5
// the id for this evolution method
// e.g. Level up is 4 and trade is 5
EVO_HELD_ITEM equ 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.