text stringlengths 1 1.05M |
|---|
namespace Gecode { namespace String { namespace Branch {
LenMax_LLLL::LenMax_LLLL(Home home, ViewArray<String::StringView>& x0):
StringBrancher(home, x0) {};
LenMax_LLLL::LenMax_LLLL(Home home, LenMax_LLLL& b):
StringBrancher(home, b, b.start) {
x.update(home, b.x);
}
Actor*
LenMax_... |
###############################################################################
# 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... |
; A117569: Expansion of (1+x+x^2)/(1+x^2).
; 1,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0,1,0,-1,0
trn $0,1
gcd $0,4
lpb $0
sub $0,3
... |
#include "gtest/gtest.h"
#include "bepler/genomics/pwm.h"
#include <vector>
#include <string>
#include <sstream>
#include <algorithm>
#include <iterator>
#include <cmath>
const static std::string alph = "ACGT";
const static std::vector< std::vector< double > > probs = {
{ 0.001, 0.001, 0.001, 0.997 },
{ 0.25, 0.25, 0... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x186f, %rsi
lea addresses_UC_ht+0xd9af, %rdi
nop
nop
nop
nop
nop
sub $59816, %rdx
mov $32, %rcx
rep movsq
nop
and %rdx, %rdx
lea addresses_UC_ht+0x6b0f, %rdi
add $28145, %rbp... |
// Copyright 2018 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 <cstdio>
#include "garnet/public/lib/escher/util/check_vulkan_support.h"
int main(int argc, const char** argv) {
printf("%c\n", escher::Vulkan... |
;CodeVisionAVR C Compiler V3.12 Advanced
;(C) Copyright 1998-2014 Pavel Haiduc, HP InfoTech s.r.l.
;http://www.hpinfotech.com
;Build configuration : Debug
;Chip type : ATmega16A
;Program type : Application
;Clock frequency : 8.000000 MHz
;Memory model : Small
;Opti... |
ADDI 1
STORE 1
LOAD 1
LOAD 0
|
_wc: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "%d %d %d %s\n", l, w, c, name);
}
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: ... |
; A019510: a(n) = gcd( binomial(n+3, n) + binomial(n+4, n+1), binomial(n+5, n+2) ).
; 2,5,1,7,20,3,5,11,2,65,7,5,8,17,15,19,10,7,11,115,4,25,13,9,70,29,5,31,16,55,17,35,6,37,95,13,20,41,7,215,22,15,23,47,40,49,25,17,26,265,9,55,28,19,145,59,10,61,31,105,32,65,11,67,170,23,35,71,12,365,37,25,38,77,65,79,40,27,41,415,14,... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;
; Module Name:
;
; SecEntry.nasm
;
; Abstract:
;
; This is the code that goes from real-mode to protected mode.
... |
;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
;IN USING, DISPLAYI... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: UserInterface/Gen
FILE: genUIDocumentControl.asm
ROUTINES:
Name Description
---- -----------
GLB GenDocumentControlClass Document manageme... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PROJECT: PC GEOS
MODULE: Mouse Drivers - IntelliMouse-style PS/2 3-button wheel mice
FILE: imps2.asm
DESCRIPTION:
Device-dependent support for IntelliMouse PS2 mouse port. The PS2 BIOS
defines a protocol that all mice conn... |
_pic_init:
;pic_init.c,5 :: void pic_init (void) {
;pic_init.c,7 :: ANSELA = 0; // all as digital
CLRF ANSELA+0
;pic_init.c,8 :: ANSELB = 0; // all as digital
CLRF ANSELB+0
;pic_init.c,9 :: ANSB0_bit = 1; // analog input
BSF ANSB0_bit+0, BitPos(ANSB0_bit+0)
... |
; A010017: a(0) = 1, a(n) = 27*n^2 + 2 for n>0.
; 1,29,110,245,434,677,974,1325,1730,2189,2702,3269,3890,4565,5294,6077,6914,7805,8750,9749,10802,11909,13070,14285,15554,16877,18254,19685,21170,22709,24302,25949,27650,29405,31214,33077,34994,36965,38990,41069,43202,45389,47630,49925,52274,54677,57134,59645,62210,64829,... |
; TypeNames indexes (see data/types/names.asm)
; also used in:
; - PokedexTypeSearchConversionTable (see data/types/search_types.asm)
; - PokedexTypeSearchStrings (see data/types/search_strings.asm)
; - TypeMatchups (see data/types/type_matchups.asm)
; - TypeBoostItems (see data/types/type_boost_items.asm)
const_def
... |
; A101776: Smallest k such that k^2 is equal to the sum of n not-necessarily-distinct primes plus 1.
; 1,2,3,3,3,4,4,4,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,7,7,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,14,... |
_ln: file format elf64-x86-64
Disassembly of section .text:
0000000000001000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
1000: f3 0f 1e fa endbr64
1004: 55 push %rbp
1005: 48 89 e5 mov %rsp,%rbp
1008: 48 83 ec 10... |
; A260683: Number of 2's in the expansion of 2^n in base 3.
; Submitted by Jamie Morken(s4)
; 0,1,0,2,1,1,1,2,0,4,2,4,3,3,2,6,5,5,3,7,4,7,5,4,1,5,2,8,8,7,9,9,8,7,7,8,4,6,8,9,11,11,7,11,10,8,9,8,8,10,11,16,13,10,9,12,13,16,12,13,15,15,11,15,16,14,14,12,14,15,14,16,11,18,11,17,10,23,15,27,19,22,21,17,23,25,20,25,16,25,22... |
/home/weihuan/Documents/testsuits-for-oskernel-preliminary/riscv-syscalls-testing/user/build/riscv64/fork: file format elf64-littleriscv
Disassembly of section .text:
0000000000001000 <_start>:
.section .text.entry
.globl _start
_start:
mv a0, sp
1000: 850a mv a0,sp
tail __start_main... |
;;
;; Copyright (c) 2020-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... |
; uchar tshc_saddr2cy(void *saddr)
SECTION code_clib
SECTION code_arch
PUBLIC tshc_saddr2cy
EXTERN zx_saddr2cy
defc tshc_saddr2cy = zx_saddr2cy
|
#include "../CPU.asm"
#bank rom
; tests jmz, jmc, jnz. does not test jnc, jmn, jnn
; ** jmz tests ***
; first test case
test1:
load a, #0xAA
assert a, #0xAA
add a, #0x00
; jump if zero. should evaluate to false
jmz .b
; assert a reg is still correct
assert a, #0xAA
; go to next test case
jmp test2
; if we jump h... |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D94 move.l D1, (A1)+
004D96 dbra D0, $4d94
004DE8 move.l #$20000, ($4,A0)
004DF0 move.w #$64, ($6c,A0) [123p+ 4, 123p+ 6]
004E12 clr.l ($4,A6)
004E16 clr.w ($10c,A6) [123p+ 4, 123p+ 6]... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %rax
push %rbp
push %rbx
lea addresses_WT_ht+0x195c0, %rbp
nop
xor $54790, %rbx
movups (%rbp), %xmm0
vpextrq $0, %xmm0, %rax
sub $5691, %r10
pop %rbx
pop %rbp
pop %rax
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r9
push %rax
push %rc... |
#include <jni.h>
#include <string>
#include <android/log.h>
extern "C" JNIEXPORT jint JNICALL
Java_com_example_pluginhelloworld_HelloJni_calculate(
JNIEnv* env,
jclass /* this */,
jint x,
jint y) {
int ret = x + y;
__android_log_print(ANDROID_LOG_INFO, "HelloJni", "pluginhellowo... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution... |
; A238236: Expansion of (1-x-x^2)/((x-1)*(x^3+3*x^2+2*x-1)).
; Submitted by Christian Krause
; 1,2,6,18,55,169,520,1601,4930,15182,46754,143983,443409,1365520,4205249,12950466,39882198,122821042,378239143,1164823609,3587185688,11047081345,34020543362,104769516446,322647744322,993624581343,3059961912097,9423445312544,29... |
_usertests: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return randstate;
}
int
main(int argc, char *argv[])
{
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,%esp
b: ff 71 fc ... |
li t0, 3
mul s6, t0 ,t0 |
; A122619: n_{2n}.
; 1,2,3,4,5,6,7,8,9,20,23,26,29,32,35,38,41,44,47,80,85,90,95,100,105,110,115,120,125,180,187,194,201,208,215,222,229,236,243,320,329,338,347,356,365,374,383,392,401,500,511,522,533,544,555,566,577,588,599,720,733,746
mov $2,$0
add $2,1
mov $8,$0
lpb $2
mov $0,$8
sub $2,1
sub $0,$2
mov $9,$0... |
SECTION code_clib
PUBLIC printc_MODE2
PUBLIC generic_console_xypos_graphics
EXTERN __multi8_ink
EXTERN __multi8_paper
EXTERN generic_console_font32
EXTERN generic_console_udg32
EXTERN generic_console_flags
EXTERN __vram_in
EXTERN l_push_di
EXTE... |
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... |
; A118185: Triangle T(n,k) = 4^(k*(n-k)) for n>=k>=0, read by rows.
; 1,1,1,1,4,1,1,16,16,1,1,64,256,64,1,1,256,4096,4096,256,1,1,1024,65536,262144,65536,1024,1,1,4096,1048576,16777216,16777216,1048576,4096,1,1,16384,16777216,1073741824,4294967296,1073741824,16777216,16384,1
seq $0,4247 ; Multiplication table read by ... |
; -----------------------------------------------------------------------------
; Test for fmath functions under py65mon.
; Martin Heermance <mheermance@gmail.com>
; -----------------------------------------------------------------------------
.outfile "tests/itrig16Test.rom"
.alias RamSize $7EFF ; default $8000 f... |
; *****************************************************************************
; *****************************************************************************
;
; Name: spriteaccess.asm
; Purpose: Sprite Modifier Code
; Created: 26th March 2020
; Reviewed: TODO
; Author: Paul Robson (paul@robsons.org.uk)
;
; *... |
; A021091: Decimal expansion of 1/87.
; 0,1,1,4,9,4,2,5,2,8,7,3,5,6,3,2,1,8,3,9,0,8,0,4,5,9,7,7,0,1,1,4,9,4,2,5,2,8,7,3,5,6,3,2,1,8,3,9,0,8,0,4,5,9,7,7,0,1,1,4,9,4,2,5,2,8,7,3,5,6,3,2,1,8,3,9,0,8,0,4,5,9,7,7,0,1,1,4,9,4,2,5,2,8,7,3,5,6,3
add $0,2
mov $1,10
pow $1,$0
mul $1,4
div $1,3480
mod $1,10
mov $0,$1
|
//===-test_sce_sum_expanded_popart.cc-----------------------------------------------------------===//
//
// Copyright (C) 2019-2020 Alibaba Group Holding Limited.
//
// 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... |
#include "drape_frontend/render_group.hpp"
#include "drape_frontend/visual_params.hpp"
#include "drape/debug_rect_renderer.hpp"
#include "drape/shader_def.hpp"
#include "drape/vertex_array_buffer.hpp"
#include "geometry/screenbase.hpp"
#include "base/stl_add.hpp"
#include "std/bind.hpp"
namespace df
{
void BaseRe... |
; A234017: Inverse function for injection A055938.
; 0,0,1,0,0,2,3,0,0,4,0,0,5,6,7,0,0,8,0,0,9,10,0,0,11,0,0,12,13,14,15,0,0,16,0,0,17,18,0,0,19,0,0,20,21,22,0,0,23,0,0,24,25,0,0,26,0,0,27,28,29,30,31,0,0,32,0,0,33,34,0,0,35,0,0,36,37,38,0,0,39,0,0,40,41,0,0,42,0,0,43,44,45,46,0,0,47,0,0,48,49,0,0,50,0,0,51,52,53,0,0,5... |
#ifdef MSU1_CPP
void MSU1::serialize(serializer &s) {
Processor::serialize(s);
s.integer(mmio.data_offset);
s.integer(mmio.audio_offset);
s.integer(mmio.audio_loop_offset);
s.integer(mmio.audio_track);
s.integer(mmio.audio_volume);
s.integer(mmio.data_busy);
s.integer(mmio.audio_busy);
s.integer(m... |
;======================================================================================================================
; FAMISTUDIO SOUND ENGINE (3.1.0)
; Copyright (c) 2019-2021 Mathieu Gauthier
;
; Copying and distribution of this file, with or without
; modification, are permitted in any medium without royalty prov... |
%ifdef CONFIG
{
"RegData": {
"RAX": "8"
}
}
%endif
mov rdx, 0xe0000000
; This behaviour was seen around Wine 32-bit libraries
; Anything doing a call to a double application would spin
; the x87 stack on to the stack looking for fxam to return empty
; Empty in this case is that C0 and C3 is set whiel C2 is no... |
###############################################################################
# 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... |
#include "csg.h"
#include "color.h"
#define EPS 1e-10
/******************************************************************/
CSGCube::CSGCube (double x, double y, double z) : size_x(x), size_y(y), size_z(z), center(true) {};
void CSGCube::toString() const {
printf("cube([%lf, %lf, %lf], true);\n", size_x, size_y, s... |
#pragma once
#include "common/Outcome.hpp"
namespace chatterino {
class IrcChannel;
Outcome invokeIrcCommand(const QString &command, const QString ¶ms,
IrcChannel &channel);
} // namespace chatterino
|
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.23506.0
include listing.inc
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
PUBLIC __local_stdio_printf_options
PUBLIC _vfprintf_l
PUBLIC printf
PUBLIC main
EXTRN __imp___acrt_iob_func:PROC
EXTRN __imp___stdio_common_vfprintf:PROC
EXTRN gets:... |
/*
Copyright 2021 Smart Engines Service LLC
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 conditions and the following disclai... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x8720, %r10
nop
nop
nop
nop
and %r14, %r14
mov $0x6162636465666768, %r9
movq %r9, %xmm5
vmovups %ymm5, (%r10)
nop
nop
nop
and %r15, %r15
lea addresses_D_ht... |
; A118265: Coefficient of q^n in (1-q)^4/(1-4q); dimensions of the enveloping algebra of the derived free Lie algebra on 4 letters.
; 1,0,6,20,81,324,1296,5184,20736,82944,331776,1327104,5308416,21233664,84934656,339738624,1358954496,5435817984,21743271936,86973087744,347892350976,1391569403904,5566277615616,2226511046... |
// -*- mode: c++; indent-tabs-mode: nil; -*-
//
// Paragraph
// Copyright (c) 2016-2019 Illumina, 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:... |
/******ros header*****/
#include <ros/ros.h>
#include <sensor_msgs/JointState.h>
#include <std_msgs/Float32MultiArray.h>
/********************/
#include <string>
#include <math.h>
#define _USE_MATH_DEFINE
float x=0, y=0, z=0; //target point
float angle1=0,angle2=0; //set angle
float C1=0, C2=0; //cos1, cos2
float S1=0... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x179e7, %rcx
nop
nop
nop
nop
nop
dec %r12
mov (%rcx), %esi
nop
nop
xor %r11, %r11
lea addresses_D_ht+0xcee7, %r14
nop
nop
nop
nop
nop
sub $62927, %r15
mov $0x6162636465666768... |
class Solution {
public:
int missingNumber(vector<int>& nums) {
int xorNum = 0, n = nums.size();
for (int i = 0; i < n; i++) {
xorNum ^= nums[i];
xorNum ^= i;
}
xorNum ^= n;
return xorNum;
}
}; |
; The msp M430G2553 contains 16 kb flash and 256 bytes ram
; interrupt vector of 16 pieces
section reset_vector
dw 0 ; 0
dw 0 ; 1
dw 0 ; 2
dw 0 ; 3
dw 0 ; 4
dw 0 ; 5
dw 0 ; 6
dw 0 ; 7
dw 0 ; 8
dw 0 ; 9
dw 0 ; 10
dw 0 ; 11
dw 0 ; 12
dw 0 ; 13
dw 0 ; 14
dw reset_handler ; 15 = reset
; P1IN 0x20
; P1OUT 0x21
; P1DIR... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: PostScript Print Driver
FILE: psbStyles.asm
AUTHOR: Jim DeFrisco
ROUTINES:
Name Description
---- -----------
REVISION HIS... |
; Provided under the CC0 license. See the included LICENSE.txt for details.
; every bank has this stuff at the same place
; this code can switch to/from any bank at any entry point
; and can preserve register values
; note: lines not starting with a space are not placed in all banks
;
; line below tells the com... |
;;; $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
;;;
;;; ASM Source code for Red GBC, by Evan Bowman, 2021
;;;
;;;
;;; The following licence covers the source code included in this file. The
;;; game's characters and artwork belong to Evan Bowman, and should not be used
;;; without permi... |
CheckMagikarpLength:
; Returns 3 if you select a Magikarp that beats the previous record.
; Returns 2 if you select a Magikarp, but the current record is longer.
; Returns 1 if you press B in the Pokemon selection menu.
; Returns 0 if the Pokemon you select is not a Magikarp.
; Let's start by selecting a Magikarp... |
; A026219: Position of n in A026218.
; Submitted by Jamie Morken(s1)
; 1,2,5,3,9,4,13,6,17,7,21,8,25,10,29,11,33,12,37,14,41,15,45,16,49,18,53,19,57,20,61,22,65,23,69,24,73,26,77,27,81,28,85,30,89,31,93,32,97,34,101,35,105,36,109,38,113,39,117,40,121
mul $0,2
add $0,1
mov $1,$0
mod $0,4
div $1,$0
mul $1,2
add $0,$1
di... |
db "BOUNCE@" ; species name
db "It bounces around"
next "on its tail to"
next "keep its heart"
page "pumping. It"
next "carries a CLAMPERL"
next "pearl on its head.@"
|
//
// main.cpp
// 120_minimumTotal
//
// Created by Bella Yang on 2019/10/13.
// Copyright © 2019 Bella Yang. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int minimumTotal(vector<vector<int>>& triangle) {
vector<int> lastMiniLen;
la... |
; Test for bug previously found with scan-build. Important: no CR/LF at EOF
jmp |
; A192965: Coefficient of x in the reduction by x^2 -> x+1 of the polynomial p(n,x) defined at Comments.
; 0,1,1,4,11,27,58,115,215,386,673,1149,1932,3213,5301,8696,14207,23143,37622,61071,99035,160486,259941,420889,681336,1102777,1784713,2888140,4673555,7562451,12236818,19800139,32037887,51839018,83877961,135718101,21... |
; A272130: a(n) = 16*n^3 + 10*n^2 + 4*n + 1.
; Submitted by Jamie Morken(s1)
; 1,31,177,535,1201,2271,3841,6007,8865,12511,17041,22551,29137,36895,45921,56311,68161,81567,96625,113431,132081,152671,175297,200055,227041,256351,288081,322327,359185,398751,441121,486391,534657,586015,640561,698391,759601,824287,892545,964... |
;
; 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... |
// Copyright 2019-2021 Lawrence Livermore National Security, LLC and other YGM
// Project Developers. See the top-level COPYRIGHT file for details.
//
// SPDX-License-Identifier: MIT
#pragma once
#include <atomic>
#include <deque>
#include <memory>
#include <mutex>
#include <thread>
#include <vector>
#include <ygm/d... |
; ******************************************************************************
;
; Draw a pixel line from (x0,y0) defined in (COORDS) - the current plot
; coordinate, to the relative distance points (x0+x,y0+y).
;
; Design & programming by Gunther Strube, Copyright (C) InterLogic 1995
;
; The (COORDS+0) pointe... |
/*!
* @file Adafruit_INA219.cpp
*
* @mainpage Adafruit INA219 current/power monitor IC
*
* @section intro_sec Introduction
*
* Driver for the INA219 current sensor
*
* This is a library for the Adafruit INA219 breakout
* ----> https://www.adafruit.com/products/904
*
* Adafruit invests time and resources... |
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/fxfa/app/xfa_ffbarcode.h"
#include "core/fxcrt/include/fx_ext.h... |
// 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 "components/dom_distiller/core/distilled_content_store.h"
#include <utility>
#include "base/threading/thread_task_runner_handle.h"
namespace d... |
scr_top equ $20000
num_sp equ 53
num_base equ 16
ut_con equ $c6
ut_mtext equ $d0
score_poshi equ 50
score_pos equ 480
bas_pos equ 5
nemalt equ 15
;
;
;
coldstart
moveq #0,d0
lea hiscore,a0
... |
; A097135: a(0) = 1; for n>0, a(n) = 3*Fibonacci(n).
; 1,3,3,6,9,15,24,39,63,102,165,267,432,699,1131,1830,2961,4791,7752,12543,20295,32838,53133,85971,139104,225075,364179,589254,953433,1542687,2496120,4038807,6534927,10573734,17108661,27682395,44791056,72473451,117264507
mov $1,1
lpb $0,1
sub $0,1
mov $1,$3
ad... |
DEFAULT REL
BITS 64
;-------------------------------------------------------------------------------
; ______ ______ _
; (_____ \ | ___ \ | |
; _____) )___ _ _ _ ____ ___ | | _ | | ___ ____ | | _ ____ _ _
; | ____// _ ... |
if not defined @FADDP
; continue from @FADD (if it was included)
; Add two floating point numbers with the same sign
; In: HL, DE numbers to add, no restrictions
; Out: HL = HL + DE, if ( carry_flow_warning && overflow ) set carry
; Pollutes: AF, B, DE
; -------------- HL + DE ---------------
; HL = (+H... |
_sh: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return 0;
}
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 push %ebp
... |
; A145934: Expansion of 1/(1-x*(1-6*x)).
; 1,1,-5,-11,19,85,-29,-539,-365,2869,5059,-12155,-42509,30421,285475,102949,-1609901,-2227595,7431811,20797381,-23793485,-148577771,-5816861,885649765,920550931,-4393347659,-9916653245,16443432709,75943352179,-22717244075,-478377357149,-342073892699,2528190250195,4580633606389,... |
-- HUMAN RESOURCE MACHINE PROGRAM --
COPYFROM 24
COPYTO 20
BUMPUP 20
a:
COPYFROM 24
COPYTO 22
BUMPUP 22
BUMPUP 22
INBOX
COPYTO 0
COMMENT 0
b:
COPYFROM 24
COPYTO 23
COPYFROM 0
COPYTO 21
SUB 20
JUMPZ j
c:
COPYFROM 21
SUB ... |
; A323649: Corner sequence of the cellular automaton of A323650.
; 1,3,6,12,15,21,30,48,51,57,66,84,93,111,138,192,195,201,210,228,237,255,282,336,345,363,390,444,471,525,606,768
mov $3,$0
add $3,1
mov $6,$0
lpb $3
mov $0,$6
sub $3,1
sub $0,$3
cmp $4,0
add $2,$4
add $2,1
cal $0,161411 ; First differences... |
#include "Selected.h"
unsigned long COMPONENT_SELECTED = 1 << 5;
Selected::Selected() : Component(COMPONENT_SELECTED) {
_selected = false;
}
Selected::~Selected() {}
void Selected::select() {
_selected = true;
}
void Selected::deselect() {
_selected = false;
}
const bool & Selected::selected() {
... |
;---------------------------------------------------------------------------
;
; Module: cpuspeed.asm
;
; Purpose:
; Computes the CPU speed using the 8254 and the NOP instruction.
;
; Development Team:
; Bryan A. Woodruff
;
; History: Date Author Comment
; 8/13/92 Br... |
# Sorting Arrays
# Lab 5.4
# Vo Huy
# Data Memory Location
.data
array1: .word 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, -1, -2, -3, -4, -5, -6, -7, -8, -9, -100
.align 2
length1:.word 20
.align 2
array2: .word -20, 8, -4, 3, -3, 4, -8, 20
.align 2
length2:.word 8
.align 2
array3: .word -9, -1, 0, 3, 9, 100, 1
.align 2
leng... |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PA... |
/**
* \file
* Reality plug-in
* Copyright (c) Pret-a-3D/Paolo Ciccone 2014. All rights reserved.
*/
#include <QtCore>
#include <QtGlobal>
#include <QSettings>
#include <QMutableMapIterator>
#include <QSize>
#include "ReAppVersion.h"
#include "Reality_DS.h"
#include "ReAppVersion.h"
#include "RealityAction.h"... |
/*
* Copyright (c) 2019-2020 Blue Zephyr
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
*/
#include <vector>
#include "Parser.h"
#include "Ast.h"
#include "CppUTest/TestHarness.h"
#include "CppUTest/CommandLineTestRunner.h"
struct Tes... |
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#include <base/math.h>
#include <engine/storage.h>
#include "filecollection.h"
bool CFileCollection::IsFilenameValid(const c... |
; A008954: Final digit of triangular number n*(n+1)/2.
; 0,1,3,6,0,5,1,8,6,5,5,6,8,1,5,0,6,3,1,0,0,1,3,6,0,5,1,8,6,5,5,6,8,1,5,0,6,3,1,0,0,1,3,6,0,5,1,8,6,5,5,6,8,1,5,0,6,3,1,0,0,1,3,6,0,5,1,8,6,5,5,6,8,1,5,0,6,3,1,0,0,1,3,6,0,5,1,8,6,5,5,6,8,1,5,0,6,3,1,0
sub $1,$0
bin $1,2
mod $1,10
mov $0,$1
|
; Outputs a byte from a port
global outb
outb:
push ebp
mov ebp, esp
push ax
push dx
; dx = port, al = value
mov dx, word [ebp + 12]
mov al, byte [ebp + 8]
out dx, al
pop dx
pop ax
leave
ret
; Outputs a word from a port
global outw
outw:
push ebp
mov ebp, esp
push ax
push dx
; dx = port, ax = v... |
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <ATL__CStringT.hpp>
#include <IStream.hpp>
START_ATF_NAMESPACE
#pragma pack(push, 8)
struct CStreamOnCString : IStream
{
ATL::CStringT<cha... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.28.29334.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
msvcjmc SEGMENT
__2B31710D_vcruntime_new@h DB 01H
__09340588_corecrt_math@h DB 01H
__24E9E95F_stdlib@h DB 01H
__ACEB72CA_cstdlib DB 01H
__F66CEB67_corecrt_stdio_config@h DB 01H
_... |
; A152898: Periodic sequence [1,4,0,0,0] of period 5
; 1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0,1,4,0,0,0
add $0,3
bin $0,3
mod $0,5
mov $1,$0
|
//***************************************************************************
//* Copyright (c) 2015 Saint Petersburg State University
//* Copyright (c) 2011-2014 Saint Petersburg Academic University
//* All Rights Reserved
//* See file LICENSE for details.
//************************************************************... |
; A027765: a(n) = (n+1)*binomial(n+1,5).
; 5,36,147,448,1134,2520,5082,9504,16731,28028,45045,69888,105196,154224,220932,310080,427329,579348,773927,1020096,1328250,1710280,2179710,2751840,3443895,4275180,5267241,6444032,7832088,9460704,11362120,13571712,16128189,19073796,22454523,26320320,30725318,35728056,41391714,47... |
; A269019: a(n) = 2^n + 2*(-1)^n - 1.
; 2,-1,5,5,17,29,65,125,257,509,1025,2045,4097,8189,16385,32765,65537,131069,262145,524285,1048577,2097149,4194305,8388605,16777217,33554429,67108865,134217725,268435457,536870909,1073741825,2147483645,4294967297,8589934589
mov $2,2
mov $3,8
lpb $0,1
sub $0,1
add $2,3
mul $2... |
;********************************************************************************************************
; uC/OS-III
; The Real-Time Kernel
;
; Copyright 2009-2021 Silicon Laboratories Inc. www.silabs.com
;
; ... |
; Test case:
macro mymacro n
if (n<=4)
[n] RRCA
else
[8-n] RLCA
endif
endmacro
mymacro 5
loop:
jp loop
|
; Copyright 1995-2011 Mersenne Research, Inc. All rights reserved
; Author: George Woltman
; Email: woltman@alum.mit.edu
;
TITLE setup
.686
.MODEL FLAT
INCLUDE unravel.mac
INCLUDE extrn.mac
INCLUDE mult.mac
INCLUDE memory.mac
INCLUDE normal.mac
_TEXT SEGMENT
flat_distances
;;
;; Add two numbers without ca... |
Name: kart-drive-p.asm
Type: file
Size: 39195
Last-Modified: '1992-08-06T07:16:45Z'
SHA-1: 56AC381F31757968B23E681AC0CE1E26F4640A01
Description: null
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.