text
stringlengths
1
1.05M
; A139189: a(n) = prime(n)!-1. ; 1,5,119,5039,39916799,6227020799,355687428095999,121645100408831999,25852016738884976639999,8841761993739701954543615999999,8222838654177922817725562879999999 seq $0,6005 ; The odd prime numbers together with 1. mov $2,$0 lpb $0 sub $0,2 add $1,$0 mul $2,$1 lpe sub $2,1 mul $0,$2...
; A257942: a(n) = (n+1)*(n+2)/A014695(n+1), where A014695 is repeat (1, 2, 2, 1). ; 1,3,12,20,15,21,56,72,45,55,132,156,91,105,240,272,153,171,380,420,231,253,552,600,325,351,756,812,435,465,992,1056,561,595,1260,1332,703,741,1560,1640,861,903,1892,1980,1035,1081,2256,2352,1225,1275,2652,2756,1431,1485,3080,3192,1653,1...
; A158646: a(n) = 54*n^2 + 1. ; 1,55,217,487,865,1351,1945,2647,3457,4375,5401,6535,7777,9127,10585,12151,13825,15607,17497,19495,21601,23815,26137,28567,31105,33751,36505,39367,42337,45415,48601,51895,55297,58807,62425,66151,69985,73927,77977,82135,86401,90775,95257,99847,104545,109351,114265,119287,124417,129655,1350...
/* cgVerifyThr.cpp - simple version CertGroupVerify test */ #include "testParams.h" #include <Security/cssm.h> #include <utilLib/common.h> #include <utilLib/cspwrap.h> #include <clAppUtils/clutils.h> #include <clAppUtils/tpUtils.h> #include <clAppUtils/timeStr.h> #include <stdio.h> #include <stdlib.h> #include <time.h...
global start extern long_mode_start section .text bits 32 start: mov esp, stack_top mov edi, ebx ; Move Multiboot info pointer to edi call check_multiboot call check_cpuid call check_long_mode call set_up_page_tables call enable_paging ; Map P4 table recursively mov eax, p4_table or eax, 0b11 ; Prese...
; Date Conversions, QL compatible  1990 Tony Tebby section uq xdef uq_ldate xdef uq_ldowk xdef uq_datel xref cv_calst xref cv_dnymd xref cv_ymddn include 'dev8_keys_qdos_sms' include 'dev8_keys_msgc' ql.zdate equ $7fffb7e9 ;+++ ; Push QL format date (20 character string) onto stack (a1,a6) ; ; d...
#ifndef CAFFE_PREDICT_BOX_LAYER_HPP_ #define CAFFE_PREDICT_BOX_LAYER_HPP_ #include <utility> #include <vector> #include "caffe/blob.hpp" #include "caffe/layer.hpp" #include "caffe/proto/caffe.pb.h" namespace caffe { /** * @brief Generate the detection output based on bounding box regression and * confidence score...
// RUN: %clang_cc1 -no-opaque-pointers %s -emit-llvm -o - -triple=x86_64-apple-darwin10 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-NOCOMPAT // RUN: %clang_cc1 -no-opaque-pointers %s -emit-llvm -o - -triple=x86_64-apple-darwin10 -fclang-abi-compat=6.0 | FileCheck %s --check-prefix=CHECK --check-prefix=CHEC...
;****************************************************************************** ; ; varconst.asm ; IKForth ; ; Unlicense since 1999 by Illya Kysil ; ;****************************************************************************** ; Variables & constants ;**************************************************************...
; A106040: First 9-free digit in the fractional part of the decimal expansion of (1/10^n)^(1/10^n). ; 0,7,5,3,0,8,8,8,8,7,7,7,7,7,6,6,6,6,5,5,5,5,4,4,4,4,4,3,3,3,3,2,2,2,2,1,1,1,1,1,0,0,0,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,7,7,7,7,7,7,7,7,7,7,7,7,7 mul $0,23 lpb $0 ...
.data message1: .asciiz "\n1. Enter the size of the matrix (N): " message2: .asciiz "\n2. Allocate array." message3: .asciiz "\n3. Enter the matrix element to be accessed: " message4: .asciiz "\n4. Summation of matrix elements row-major: " message5: .asciiz "\n5. Summation of matrix elements column-major: " messa...
; A266958: Numbers m such that 9*m+13 is a square. ; -1,4,12,27,43,68,92,127,159,204,244,299,347,412,468,543,607,692,764,859,939,1044,1132,1247,1343,1468,1572,1707,1819,1964,2084,2239,2367,2532,2668,2843,2987,3172,3324,3519,3679,3884,4052,4267,4443,4668,4852,5087,5279,5524 mov $4,$0 add $0,1 div $0,2 pow $0,2 mov $2,$...
; A142161: Primes congruent to 4 mod 39. ; Submitted by Christian Krause ; 43,199,277,433,823,1213,1291,1447,1759,1993,2383,2539,2617,2851,3163,3319,3631,3709,3943,4021,4099,4177,4567,4723,4801,4957,5113,5347,5503,5581,5659,5737,6361,6673,6829,6907,7219,7297,7687,8233,8311,8389,8467,8623,8779,9013,9091,9403,9871,9949,1...
; A331434: Column 2 of triangle in A331431. ; 30,-180,630,-1680,3780,-7560,13860,-23760,38610,-60060,90090,-131040,185640,-257040,348840,-465120,610470,-790020,1009470,-1275120,1593900,-1973400,2421900,-2948400,3562650,-4275180,5097330,-6041280,7120080,-8347680,9738960 mov $1,-6 bin $1,$0 mul $1,30
; A033596: a(n) = (n^2 - 1)*(n^2 - 3). ; 3,0,3,48,195,528,1155,2208,3843,6240,9603,14160,20163,27888,37635,49728,64515,82368,103683,128880,158403,192720,232323,277728,329475,388128,454275,528528,611523,703920,806403,919680,1044483,1181568,1331715,1495728,1674435 pow $0,2 sub $0,2 pow $0,2 sub $0,1 mov $1,$0
; A071617: A063439[A000040(n)]=Phi[p]^Phi[p]. ; Submitted by Jon Maiga ; 1,4,256,46656,10000000000,8916100448256,18446744073709551616,39346408075296537575424,341427877364219557396646723584,33145523113253374862572728253364605812736 mul $0,2 trn $0,1 seq $0,173919 ; Numbers that are prime or one less than a prime. pow $...
; A270205: Number of 2 X 2 planar subsets in an n X n X n cube. ; 0,0,6,36,108,240,450,756,1176,1728,2430,3300,4356,5616,7098,8820,10800,13056,15606,18468,21660,25200,29106,33396,38088,43200,48750,54756,61236,68208,75690,83700,92256,101376,111078,121380,132300,143856,156066,168948,182520,196800,211806,227556,244068,261...
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file shaderPool.cxx * @auth...
#include <iostream> #include <fstream> #include "SpiceUsr.h" #define JUNO_ASC_CHUA -61122 #define JUNO_ASC_CHUB -61121 #define JUNO_ASC_CHUC -61112 #define JUNO_ASC_CHUD -61111 void convert_date(SpiceDouble et) { SpiceChar utcstr[21]; et2utc_c(et, "C", 1, 21, utcstr); std::cout << utcstr << std::endl; } ...
; A105335: a(n) = n*(n+1)/2 mod 64. ; 0,1,3,6,10,15,21,28,36,45,55,2,14,27,41,56,8,25,43,62,18,39,61,20,44,5,31,58,22,51,17,48,16,49,19,54,26,63,37,12,52,29,7,50,30,11,57,40,24,9,59,46,34,23,13,4,60,53,47,42,38,35,33,32,32,33,35,38,42,47,53,60,4,13 mov $1,$0 add $1,1 bin $1,2 mod $1,64
; ; Copyright (c) 2018, 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...
; A185541: a(n) = m*(m+1)/2, where m = floor(n^(3/2)). ; 1,3,15,36,66,105,171,253,378,496,666,861,1081,1378,1711,2080,2485,2926,3403,4005,4656,5356,6105,6903,7875,8778,9870,11026,12246,13530,14878,16471,17955,19701,21528,23436,25425,27495,29646,31878,34453,37128,39621,42486,45451,48516,52003,55278,58996,62481,66430,701...
/* * 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...
sza
#include <QApplication> #include <QLabel> #include <QMainWindow> int main(int argc, char *argv[]) { // QApplication manages the GUI application’s control flow QApplication app(argc, argv); // create a main window QMainWindow mainWindow; // create a widget that spans the entire main window QWi...
// Copyright (c) 2013 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 "win8/test/ui_automation_client.h" #include <atlbase.h> #include <atlcom.h> #include <oleauto.h> #include <uiautomation.h> #include <algori...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (c) Copyright GeoWorks 1994. All Rights Reserved. GEOWORKS CONFIDENTIAL PROJECT: Icon editor MODULE: Viewer FILE: viewerKbd.asm AUTHOR: Steve Yegge, Jun 17, 1994 ROUTINES: Name Description ---- ----------- I...
; void bit_fx_fastcall(void *effect) SECTION code_clib SECTION code_sound_bit PUBLIC _bit_fx_fastcall EXTERN asm_bit_fx defc _bit_fx_fastcall = asm_bit_fx
/** * @file vertex_buffer.hpp * * @brief VertexBuffer */ #ifndef HAMON_RENDER_GL_VERTEX_BUFFER_HPP #define HAMON_RENDER_GL_VERTEX_BUFFER_HPP #include <hamon/render/gl/buffer.hpp> #include <hamon/render/gl/gl.hpp> #include <hamon/render/geometry.hpp> namespace hamon { inline namespace render { ...
MODULE tms9918_capabilities PUBLIC __tms9918_CLIB_GENCON_CAPS PUBLIC __tms9918_CAPS_MODE0 PUBLIC __tms9918_CAPS_MODE1 PUBLIC __tms9918_CAPS_MODE2 INCLUDE "ioctl.def" defc __tms9918_CLIB_GENCON_CAPS = __tms9918_CAPS_MODE2 defc __tms9918_CAPS_MODE0 = CAP_GENCON_CUSTOM_FONT | CAP_GENCON_UD...
db 0 ; species ID placeholder db 65, 75, 70, 95, 95, 70 ; hp atk def spd sat sdf db PSYCHIC, FLYING ; type db 75 ; catch rate db 171 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/xatu/front.dimensions" db GROWTH_MEDIUM_FAST...
; This is a slightly modified version of the original source code from ; from: https://github.com/davidgiven/cpmish/tree/master/third_party/bbcbasic ; ; For compatibility with z80asm the following changes were made: ; * TITLE and PAGE directives were commented out ; ; For compatbility with the z88math library the follo...
; A245176: a(n) = 2*a(n-1)+(n-2)*a(n-2)-(n-1)*a(n-3) with initial terms (1,2,4). ; 1,2,4,8,18,44,120,352,1116,3736,13232,48928,189080,757584,3148064,13497600,59704336,271503648,1268817472,6078518912,29837183008,149789875904,768674514816,4026518397440,21518708975040,117199152735616,650184360936192,3670861106911744 mov ...
COMMENT @----------------------------------------------------------------------- Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: Text Library FILE: uiPointSizeControl.asm ROUTINES: Name Description ---- ----------- GLB PointSizeControlClass Style menu object REVI...
.486 .model flat, stdcall option casemap :none include windows.inc ; always first include masm32.inc include gdi32.inc include user32.inc include kernel32.inc includelib masm32.lib includelib gdi32.lib includelib user32.lib includelib kernel32.lib .data szHelloWorld ...
; ****************************************************** ; * move ; ***************************************************** move_bullets: cmp byte [bullets_move_cycle], BULLETS_MOVE_CYCLE ; only move the bullets every 28 frames je .move inc byte [bullets_move_cycle] ; increase the counter jmp .ret .move: pu...
; A177176: Partial sums of round(n^2/13). ; 0,0,0,1,2,4,7,11,16,22,30,39,50,63,78,95,115,137,162,190,221,255,292,333,377,425,477,533,593,658,727,801,880,964,1053,1147,1247,1352,1463,1580,1703,1832,1968,2110,2259,2415,2578,2748,2925,3110,3302,3502,3710,3926,4150,4383,4624,4874,5133,5401,5678,5964,6260,6565,6880,7205,754...
; A290140: The number of maximal subsemigroups of the Jones monoid on the set [1..n]. ; 1,2,5,9,13,19,27,39,57,85,129,199,311,491,781,1249,2005,3227,5203,8399,13569,21933,35465,57359,92783,150099,242837,392889,635677,1028515,1664139,2692599,4356681,7049221,11405841,18454999,29860775,48315707,78176413,126492049,20466838...
SECTION code_driver PUBLIC _disk_initialize_fastcall EXTERN asm_disk_initialize ;------------------------------------------------------------------------------ ; Routines that talk with the IDE drive, these should be called from diskio.h ; extern DSTATUS disk_initialize (BYTE pdrv) __z88dk_fastcall; ; ; initialize ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0xe1bd, %rsi lea addresses_D_ht+0x19abd, %rdi nop cmp %r11, %r11 mov $31, %rcx rep movsl nop nop nop add %rsi, %rsi lea addresses_A_ht+0x8a3d, %r13 nop nop nop and $47550, %rbp...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xef39, %rdx dec %rax mov $0x6162636465666768, %rbx movq %rbx, (%rdx) nop nop nop nop add $551, %r15 lea addresses_normal_ht+0x1cfe9, %rbp nop nop nop add %...
;======================================================== COMMENT # GETMEM.ASM Copyright (c) 1991 - Microsoft Corp. All rights reserved. Microsoft Confidential ================================================= Returns number of Kbytes of convential memory which is returned by int 12h. unsigned GetConvMem( v...
// 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 "ash/system/chromeos/session/logout_button_tray.h" #include "ash/shelf/shelf_types.h" #include "ash/shell.h" #include "ash/system/chromeos/sessi...
%ifndef PRINT_STR %define PRINT_STR %include "printChar.asm" printString: mov bh, 0x00 ;page 0 mov bl, 0x07 ;text attribute nextChar: lodsb ; mov al, [si] + inc si or al, al jz nextChar.end ;if the string ends then end this function jmp nextChar.printChar;print the current char by defaultter .pri...
; A216243: Partial sums of the squares of Lucas numbers (A000032). ; 4,5,14,30,79,200,524,1365,3574,9350,24479,64080,167764,439205,1149854,3010350,7881199,20633240,54018524,141422325,370248454,969323030,2537720639,6643838880,17393796004,45537549125,119218851374,312119004990,817138163599,2139295485800 seq $0,2878 ; Bis...
org 100h .data size dw 4 input1 db 4+1 dup(0) input2 db 4+1 dup(0) extra_array 4+1 dup(0) operator db 1+1 dup(0) res_size dw 10 final_res db 10+1 dup(0) larger_num db 0 ;0 -> num1, 1 -> num2 msg_welcome db '<< Minimal arithmetic calculator in 8086 assemb...
:MyEventHandler mflr r0 stw r0,8(r1) stwu r1,-32(r1) mr r3,r4 li r4,'--' addis r4,r4,'--' li r5,'md' addis r5,r5,'hc' li r6,0 li r7,14 li r8,0 addi r9,r2,*HICommand bl *GetEventParameter lwz r2,20(r1) addi r3,r2,*HICommand lwz r3,4(r3) li r4,'it' addis r4,r4,'qu' cmp 0,0,r3,r4 beq *quit...
; FASTCALL boolean and 32 version. ; Performs 32bit and 32bit and returns the boolean ; result in Accumulator (0 False, not 0 True) ; First operand in DE,HL 2nd operand into the stack __AND32: ld a, l or h or e or d sub 1 sbc a ld c, a pop hl pop de ld a, d or e pop de or d or e sub 1 sbc a or c ...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: Text Library FILE: UI/uiManager.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Doug 7/91 Initial version DESCRIPTION: ...
#include <Poco/Util/Application.h> #include <Poco/Util/Option.h> #include <Poco/Util/OptionSet.h> #include <Poco/Util/HelpFormatter.h> #include <Poco/Util/AbstractConfiguration.h> #include <Poco/AutoPtr.h> #include <iostream> #include <sstream> #include "Scanner.h" #include "StatsHandler.h" using Poco::Util::Applica...
// Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/version.hpp> #if defined(WIN32) && BOOST_VERSION == 104900 #define BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTT...
#include "ope_methods.h" #include "utils.h" float batch::importance_sampling_estimate(const std::vector<Trajectory> &trajs, bool weighted, bool per_decision, int L) { double estimate = 0; // getIWs takes care of normalization for weighted or unweighted. MatrixXd rhot =...
; A275970: a(n) = 3*2^n + n - 1. ; 2,6,13,26,51,100,197,390,775,1544,3081,6154,12299,24588,49165,98318,196623,393232,786449,1572882,3145747,6291476,12582933,25165846,50331671,100663320,201326617,402653210,805306395,1610612764,3221225501,6442450974,12884901919,25769803808,51539607585,103079215138,206158430243,4123168604...
; A004760: List of numbers whose binary expansion does not begin 10. ; 0,1,3,6,7,12,13,14,15,24,25,26,27,28,29,30,31,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,192,193,194,195,196,197,198,199...
; database.asm BTile proc ::TILE_IMAGES: ; BTile Best ; FileName Indices Viewed As Notes NirvanaDemo equ ($-BTile)/Sprites.BTileLen import_bin "..\tiles\nirvana+.btile" ; 000-016...
; A033043: Sums of distinct powers of 6. ; 0,1,6,7,36,37,42,43,216,217,222,223,252,253,258,259,1296,1297,1302,1303,1332,1333,1338,1339,1512,1513,1518,1519,1548,1549,1554,1555,7776,7777,7782,7783,7812,7813,7818,7819,7992,7993,7998,7999,8028,8029,8034,8035,9072,9073,9078,9079,9108,9109,9114,9115,9288,9289,9294,9295,9324,...
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 .byte 0xe4 8010000c <entry>: # E...
; A097409: Initial decimal digit of n^5. ; 1,3,2,1,3,7,1,3,5,1,1,2,3,5,7,1,1,1,2,3,4,5,6,7,9,1,1,1,2,2,2,3,3,4,5,6,6,7,9,1,1,1,1,1,1,2,2,2,2,3,3,3,4,4,5,5,6,6,7,7,8,9,9,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,4,4,4,4,5,5,5,6,6,6,7,7,8,8,9,9,1 add $0,1 pow $0,5 lpb $0 mov $1,$0 div $0,10 lpe mov $0,$1
#include<iostream> #include<cstdio> using namespace std; typedef long long LL; const int mo=1e9+7; LL n; int main(){ scanf("%lld",&n); if(n&1)puts("1"); else{ n/=2; printf("%lld",n%mo*((n+1)%mo)%mo); } return 0; }
; A122219: Period 9: repeat 5, 4, 5, 4, 3, 4, 5, 4, 5. ; 5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4,5,4,5,5,4,5,4,3,4 add $0,1 mod $0,9 add $0,1 mov $1,2 lpb $0,1 add $...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; zx spectrum ram model ;; ;; generated by target/zx/startup/zx_crt_0.m4 ;; ;; ;; ;; 48k memory model (flat 64k address space) ;;...
lda 1 ldr r0, 0 ;Load initial values ldr r1, 1 loop: add r0 mov r0, r1 mov r1, a ;Add to accumulator sjmp loop ;Loop
; size_t w_array_erase_range(w_array_t *a, size_t idx_first, size_t idx_last) SECTION code_clib SECTION code_adt_w_array PUBLIC w_array_erase_range EXTERN asm_w_array_erase_range w_array_erase_range: pop af pop hl pop bc pop de push de push bc push hl push af jp asm_w_array_eras...
#pragma once #include "../../JObject.hpp" namespace android::os { class Parcel; } class JString; namespace android::telecom { class VideoProfile : public JObject { public: // Fields static JObject CREATOR(); static jint QUALITY_DEFAULT(); static jint QUALITY_HIGH(); static jint QUALITY_LOW(); static ...
%include "io64.inc" section .text global CMAIN CMAIN: ;write your code here ;div param1(1byte) ;param1 : 레지스터만 허용 ;나누어지는 값(피제수)은 꼭 ax레지스터에 넣어야함 ;연산결과는 무조건 al(몫), ah(나머지)레지스터로만 리턴됨 ;7/3을 계산하는 방법 mov ax, word 0x7 mov bl, byte 0x3 div bl PRINT_STRING msg1 PRINT_HEX 1, al NE...
.model tiny ;Sets memory model for TASM .radix 16 ;Sets default number system to hexidecimal (base 16) .code ;starts code section org 100 ;makes program begin at 100h, i.e. a .COM file start: ...
; A058296: Average of consecutive primes. ; 2,4,9,15,21,30,39,45,56,64,72,81,93,102,108,120,134,144,154,165,176,186,195,205,225,231,240,254,266,274,282,300,312,324,342,351,363,376,386,399,414,426,436,446,459,465,483,495,506,522,544,560,570,582,596,604,615,625,642,650,660,675,687,705,723,736,747,759,771,792,810,822,828,...
// Copyright (c) 2011-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <qt/guiutil.h> #include <qt/zeoaddressvalidator.h> #include <qt/zeounits.h> #include <qt/qvalidatedlineedit.h> #inc...
############################################################################### # Copyright 2019 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
global evaluate_inputs global clear_inputs global sdl_event extern SDL_PollEvent global key_w global key_a global key_s global key_d global key_enter global key_spc global key_esc global quit_p global key_down global key_up global key_left global key_right global mouse_X global mouse_Y section .bss ALIGN 64 key...
org 0 incbin "resources/cplogo.scr"
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
#include "window.h" int Window::getWidth() { return prop->w; } int Window::getHeight() { return prop->h; } String Window::getTitle() { return prop->title; } void Window::changeWidth(int newW) { prop->w = newW; } void Window::changeHeight(int newH) { prop->h = newH; } void Window::changeTitle(...
/*========================================================================= Program: DICOM for VTK Copyright (c) 2012-2015 David Gobbi All rights reserved. See Copyright.txt or http://dgobbi.github.io/bsd3.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied ...
;/*++ ; ;Copyright (c) 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 distribution. The full text of the license may be foun...
;; Regex: "[a-ce -]+" ;; TOKENS: ;; nextsym(): {LBracket, '['} ;; nextsym(): {CharSym, 'a'} ;; nextsym(): {Minus, '-'} ;; nextsym(): {CharSym, 'c'} ;; nextsym(): {CharSym, 'e'} ;; nextsym(): {CharSym, '\x20'} ;; nextsym(): {Minus, '-'} ;; nextsym(): {RBracket, ']'} ;; unget(): buffering {Minus, '-'} ;; nextsym(): unbu...
; A113901: Product of omega(n) and bigomega(n) = A001221(n)*A001222(n), where omega(x): number of distinct prime divisors of x. bigomega(x): number of prime divisors of x, counted with multiplicity. ; 0,1,1,2,1,4,1,3,2,4,1,6,1,4,4,4,1,6,1,6,4,4,1,8,2,4,3,6,1,9,1,5,4,4,4,8,1,4,4,8,1,9,1,6,6,4,1,10,2,6,4,6,1,8,4,8,4,4,1,...
; A177707: Decimal expansion of (5+sqrt(65))/8. ; Submitted by Jon Maiga ; 1,6,3,2,7,8,2,2,1,8,5,3,7,3,1,8,7,0,6,5,4,5,8,2,6,6,5,3,7,8,7,9,7,1,3,9,1,3,9,1,7,9,9,5,3,8,2,0,1,0,7,1,6,7,3,4,9,2,0,7,4,0,4,8,6,5,7,9,8,4,3,6,8,8,7,8,2,1,1,0,2,5,3,7,0,0,1,9,2,8,3,3,3,9,6,5,3,8,3,0 mov $1,1 mov $2,1 mov $3,$0 mul $3,6 lpb $3 ...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x7efb, %rsi lea addresses_WT_ht+0xea1b, %rdi nop nop nop inc %r15 mov $37, %rcx rep movsb cmp $41654, %r9 lea addresses_A_ht+0x9e1b, %rsi lea addresses_D_ht+0x14e3b, %rdi clfl...
.text li $t0,10 li $t1,-2 blez $t0,loop1 slti $s1,$t0,-2 blez $t1,loop2 slti $s2,$t1,-10 blez $t2,loop3 slti $s3,$t1,-2 loop1: addiu $s1,$s1,1 loop2: slti $t4,$t1,-2 addiu $t1,$t1,1 addiu $s2,$s2,1 loop3: addiu $s3,$s3,1 blez $t1,loop2 nop
; A024384: a(n) = s(1)*s(2)*...*s(n+1)*(1/s(2) - 1/s(3) + ... + c/s(n+1)), where c = (-1)^(n+1) and s(k) = 4k-3 for k = 1,2,3,... ; Submitted by Christian Krause ; 1,4,97,1064,32289,598380,22574145,593534160,26957380545,920377787220,48996867845025,2059752490500600,125880489657907425,6289366704447815100,4341431777163324...
db "SHIELD@" ; species name db "It is armored" next "outstandingly. As" next "a result, it can" page "eat grass and" next "berries without" next "having to fight.@"
; dir - list all available files UseTestData equ 0 ; 1 - use test data; 0 - use real IO PrintChar equ &BB5A WaitChar equ &BB06 org &8000 SendDirCmd: ld a, 1 ; Load DIR cmd into accumulator call SendControlByte ; Send DIR command NextFile: call RecvCo...
; A021224: Expansion of 1/((1-x)(1-2x)(1-7x)(1-8x)). ; Submitted by Jon Maiga ; 1,18,221,2322,22485,207306,1850557,16149474,138611429,1174801914,9859790733,82107957906,679471095733,5594020809642,45859930816349,374633796970818,3051350828977797,24790769804563290,200985900646217005,1626505400638759410,13142370573395336021...
dnl AMD64 mpn_sqr_diag_addlsh1 dnl Contributed to the GNU project by Torbjörn Granlund. dnl Copyright 2011-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 dn...
; A062796: Inverse Moebius transform of f(n) = n^n (A000312). ; 1,5,28,261,3126,46688,823544,16777477,387420517,10000003130,285311670612,8916100495200,302875106592254,11112006826381564,437893890380862528,18446744073726329093,827240261886336764178,39346408075296925042601,1978419655660313589123980,10485760000000001000000...
#if defined(Hiro_Monitor) namespace hiro { auto pMonitor::count() -> uint { @autoreleasepool { return [[NSScreen screens] count]; } } auto pMonitor::dpi(uint monitor) -> Position { @autoreleasepool { NSScreen* screen = [[NSScreen screens] objectAtIndex:monitor]; NSDictionary* dictionary = [screen d...
; A279079: Maximum starting value of X such that repeated replacement of X with X-ceiling(X/9) requires n steps to reach 0. ; 0,1,2,3,4,5,6,7,8,10,12,14,16,19,22,25,29,33,38,43,49,56,64,73,83,94,106,120,136,154,174,196,221,249,281,317,357,402,453,510,574,646,727,818,921,1037,1167,1313,1478,1663,1871,2105,2369,2666,3000...
;******************************************************************************* ; ide.nasm - E-IDE resource manager. ; Based on Minix 2.0.0 code. ;******************************************************************************* module $eide %include "rmk.ah" %include "errors.ah" %include "module.ah" %include "thread....
section .text global str_isalpha str_isalpha: ; Provide your implementation here ret
/* Copyright 2014 MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * ...
/*** * * Copyright (c) 1996-2002, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * obje...
; A106666: G.f. (1-4*x^2+2*x^3)/((1-x)*(2*x^3-2*x^2-2*x+1)). ; 1,3,5,13,29,73,177,441,1089,2705,6705,16641,41281,102433,254145,630593,1564609,3882113,9632257,23899521,59299329,147133185,365065985,905799681,2247464961,5576397313,13836125185,34330115073,85179685889 mov $1,1 lpb $0 mov $2,$0 add $0,2 trn $0,4 seq...
#include <iostream> //congrats, this is your first line of code using namespace std; /*we must start a programming lesson with saying "hello" to the world. hahaha :D*/ int main() { cout << "Hello World! << endl; return 0; }
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <range_inst.h> #include "primitive_base.hpp" #include <impls/implementation_map.hpp> #include <kernel_selector_helper.h> #include <range/range_kernel_selector.h> #include <range/range_kernel_ref.h> #include <intel_gpu/runti...
; BEGIN_LEGAL ; Intel Open Source License ; ; Copyright (c) 2002-2016 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 source code must reta...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r15 push %r9 push %rbp push %rdx lea addresses_WT_ht+0x6a64, %r14 sub %r9, %r9 vmovups (%r14), %ymm2 vextracti128 $1, %ymm2, %xmm2 vpextrq $1, %xmm2, %r11 nop nop nop nop nop add $47422, %r9 lea addresses_A_ht+0x18164, %rbp nop nop nop nop...
; void SMS_VRAMmemcpy(unsigned int dst,void *src,unsigned int size) SECTION code_clib SECTION code_SMSlib PUBLIC _SMS_VRAMmemcpy_callee EXTERN asm_SMSlib_VRAMmemcpy _SMS_VRAMmemcpy_callee: pop af pop hl pop de pop bc push af jp asm_SMSlib_VRAMmemcpy
SECTION code_clib SECTION code_math PUBLIC l_small_divs_16_16x16, l0_small_divs_16_16x16 EXTERN l_neg_hl, l_neg_de EXTERN l0_small_divu_16_16x16, error_divide_by_zero_mc ; alternate entry to swap dividend / divisor ex de,hl l_small_divs_16_16x16: ; signed division of two 16-bit numbers ; ; ente...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "base.hpp" #include <cmath> #include <string> #include <vector> #include <cassert> #include "ie_parallel.hpp" namespace InferenceEngine { namespace Extensions { namespace Cpu { class FillImpl: public ExtLayerBase { publi...