text
stringlengths
1
1.05M
; A207656: Number of n X 3 0..1 arrays avoiding 0 0 0 and 1 1 1 horizontally and 0 0 1 and 1 0 0 vertically. ; 6,36,84,198,474,1140,2748,6630,16002,38628,93252,225126,543498,1312116,3167724,7647558,18462834,44573220,107609268,259791750,627192762,1514177268,3655547292,8825271846,21306090978,51437453796,124180998564,2997...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x4423, %rax nop nop sub %r8, %r8 vmovups (%rax), %ymm7 vextracti128 $0, %ymm7, %xmm7 vpextrq $0, %xmm7, %rdx nop nop nop nop nop xor $64268, %rax lea addresses_D_ht+0x1587...
; A011897: a(n) = floor(n*(n-1)*(n-2)/15). ; 0,0,0,0,1,4,8,14,22,33,48,66,88,114,145,182,224,272,326,387,456,532,616,708,809,920,1040,1170,1310,1461,1624,1798,1984,2182,2393,2618,2856,3108,3374,3655,3952,4264,4592,4936,5297,5676,6072,6486,6918,7369,7840,8330,8840,9370,9921,10494,11088,11704,12342,13003,13688,14396,1512...
# Authors: Miriam Penger, Lena Gerken, Tina Hoeflich # Based on CESP lecture # Moves paddles according to keyboard inputs. # 'w' and 's' for up/down movement of left paddle # 'o' and 'l' for up/down movement of right paddle # Inputs: # a4: highest y-coordinate reached by the paddle on the left # a6: highest y-coordin...
; $Id: bit_close_ei.asm,v 1.4 2016-06-16 20:23:52 dom Exp $ ; ; Philips P2000 1 bit sound functions ; ; Close sound and restore interrupts ; ; Stefano Bodrato - Apr 2014 ; SECTION code_clib PUBLIC bit_close_ei PUBLIC _bit_close_ei EXTERN __bit_irqstatus .bit_close_ei ._bit_close_ei push h...
; int fscanf_unlocked(FILE *stream, const char *format, ...) SECTION code_stdio PUBLIC _fscanf_unlocked EXTERN asm_fscanf_unlocked defc _fscanf_unlocked = asm_fscanf_unlocked
SECTION .text GLOBAL mul_p448_solinas mul_p448_solinas: sub rsp, 0x4a0 mov rax, rdx; preserving value of arg2 into a new reg mov rdx, [ rdx + 0x18 ]; saving arg2[3] in rdx. mulx r10, r11, [ rsi + 0x0 ]; x190, x189<- arg1[0] * arg2[3] mov rdx, [ rsi + 0x8 ]; arg1[1] to rdx mulx rcx, r8, [ rax + 0x10 ]; x176, x175<- arg...
; A010514: Decimal expansion of square root of 61. ; 7,8,1,0,2,4,9,6,7,5,9,0,6,6,5,4,3,9,4,1,2,9,7,2,2,7,3,5,7,5,9,1,0,1,4,1,3,5,6,8,3,0,5,1,3,6,6,4,8,5,6,3,3,0,0,1,7,7,2,4,3,7,6,0,1,9,0,7,8,5,5,8,8,9,3,6,7,2,7,0,5,4,4,2,5,4,3,3,0,5,2,2,6,7,0,0,4,8,9,5 mov $1,1 mov $2,1 mov $3,$0 add $3,8 mov $4,$0 add $4,3 mul $4,2 m...
; Various messages output by the second stage second_stage_msg db 'Second stage loaded', 0 a20_msg_one db 'A20 line already enabled', 0 a20_msg_two db 'A20 line enabled by BIOS', 0 a20_msg_three db 'A20 line enabled using keyboard controller', 0 a20_msg_four db 'A20 line enabled using Fast A20 gate', 0 no_a20_m...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0xedbf, %r11 nop nop nop and %rbp, %rbp mov (%r11), %r9w nop nop nop nop nop cmp $14557, %r10 lea addresses_UC_ht+0x5baf, %rax nop nop nop nop nop sub $12455, %r9...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %rax push %rbx push %rcx lea addresses_UC_ht+0xe579, %rax and $57523, %r12 movb $0x61, (%rax) mfence pop %rcx pop %rbx pop %rax pop %r12 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %rbx push %rsi // Faulty Load lea address...
_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...
// Copyright (c) 2012-2013 The Bitcoin Core developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2017-2019 The Adeptio developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "key.h" ...
; A027658: C(n+2,2)+C(n+4,5). ; 1,4,12,31,71,147,280,498,837,1342,2068,3081,4459,6293,8688,11764,15657,20520,26524,33859,42735,53383,66056,81030,98605,119106,142884,170317,201811,237801,278752,325160,377553,436492,502572,576423,658711,750139,851448,963418,1086869,1222662,1371700,1534929,1713339,1907965,2119888,2350236,...
; ; ANSI Video handling for the Sharp PC G-800 family ; ; Stefano Bodrato - 2017 ; ; set it up with: ; .__console_w = max columns ; .__console_h = max rows ; ; Display a char in location (__console_y),(__console_x) ; A=char to display ; ; ; $Id: f_ansi_char.asm$ ; SECTION code_clib PUBLIC ansi_CHAR EXTE...
<% from pwnlib.shellcraft.amd64.linux import syscall %> <%page args="ss, oss"/> <%docstring> Invokes the syscall sigaltstack. See 'man 2 sigaltstack' for more information. Arguments: ss(sigaltstack): ss oss(sigaltstack): oss </%docstring> ${syscall('SYS_sigaltstack', ss, oss)}
INCLUDE "config_private.inc" SECTION code_driver SECTION code_driver_character_output PUBLIC _siob_putc EXTERN siobTxBuffer EXTERN siobTxCount, siobTxIn _siob_putc: ; enter : l = char to output ; exit : l = 1 if Tx buffer is full ; carry reset ...
;/*! ; @file ; ; @ingroup fapi ; ; @brief DosSizeSeg DOS wrapper ; ; (c) osFree Project 2018, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author Yuri Prokushev ...
dnl mpn_half dnl Copyright 2011 The Code Cavern dnl This file is part of the MPIR Library. dnl The MPIR Library is free software; you can redistribute it and/or modify dnl it under the terms of the GNU Lesser General Public License as published dnl by the Free Software Foundation; either version 2.1 of the Lic...
; A128833: Number of n-tuples where each entry is chosen from the subsets of {1,2,3,4,5} such that the intersection of all n entries is empty. ; 1,243,16807,759375,28629151,992436543,33038369407,1078203909375,34842114263551,1120413075641343,35940921946155007,1151514816750309375,36870975646169341951,11802313767250025021...
;; ;; 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...
; A168300: a(n) = 6*n - a(n-1) - 2 with a(1)=5. ; 5,5,11,11,17,17,23,23,29,29,35,35,41,41,47,47,53,53,59,59,65,65,71,71,77,77,83,83,89,89,95,95,101,101,107,107,113,113,119,119,125,125,131,131,137,137,143,143,149,149,155,155,161,161,167,167,173,173,179,179,185,185,191,191,197,197,203,203,209,209,215,215,221,221,227,227,...
10003430: 83 ec 0c sub esp,0xc 10003433: 83 3d 00 00 01 10 ff cmp DWORD PTR ds:0x10010000,0xffffffff 1000343a: 75 08 jne 0x10003444 1000343c: 32 c0 xor al,al 1000343e: 83 c4 0c add esp,0xc 10003441: c2 0c 00 ret 0xc 10003444: 8a 4...
; template.asm ; template file for assembly programs, compiled and linked with C. ; Simon Heath ; 22/4/2003 ; Initialized data segment .data ; Uninitialized data segment .bss ; Code segment .text global _asm_main _asm_main: ; Enter the routine enter 0,0 pusha ; Insert code here ; Return to C popa mov eax,...
UndergroundPathNS_h: db UNDERGROUND ; tileset db UNDERGROUND_PATH_NS_HEIGHT, UNDERGROUND_PATH_NS_WIDTH ; dimensions (y, x) dw UndergroundPathNSBlocks, UndergroundPathNSTextPointers, UndergroundPathNSScript ; blocks, texts, scripts db $00 ; connections dw UndergroundPathNSObject ; objects
CPU 8086 %define MEMCGAEVEN 0xB800 %define MEMCGAODD 0xBA00 %define KB_ESC 01 %define KB_UP 48h %define KB_DOWN 50h %define KB_LEFT 4Bh %define KB_RIGHT 4Dh %define BYTESPERROW 160d %define JOYSTICKPORT 201h %define JS2B 10000000b %define JS2A 01000000b %define JS1B 00100000b %define JS...
SECTION code_fp_dai32 PUBLIC l_f32_add EXTERN ___dai32_setup_arith EXTERN ___dai32_xfadd EXTERN ___dai32_return l_f32_add: call ___dai32_setup_arith call ___dai32_xfadd jp ___dai32_return
// Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of the // License at // // https://opensource.org/licenses/BSD-3-Clause // // Unless req...
object_const_def ; object_event constants const GOLDENRODFLOWERSHOP_TEACHER const GOLDENRODFLOWERSHOP_FLORIA GoldenrodFlowerShop_MapScripts: db 0 ; scene scripts db 0 ; callbacks FlowerShopTeacherScript: checkevent EVENT_FOUGHT_SUDOWOODO iftrue .Lalala checkevent EVENT_GOT_SQUIRTBOTTLE iftrue .GotSquirtbott...
*=$c000 lda #<NUMBER ldy #>NUMBER jsr REALFAC ldx #00 ldy #$20 jsr 48087 lda #0 ldy #$20 jsr 48034 jsr 49009 ldx #$10 ldy #$20 jsr 48087 jsr 43708 rts NUMBER .real 3124.4569
#include <bits/stdc++.h> using namespace std; // Macros #ifdef D3BUG #define cerrd if (D3BUG) cerr #else #define cerrd if (false) cerr #endif // Types template <typename T> using vector1D = vector<T>; template <typename T> using vector2D = vector<vector1D<T>>; template <typename T> using vector3D = vector<ve...
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1993 -- All Rights Reserved PROJECT: PC GEOS MODULE: Avoid FILE: avoidApp.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Doug 4/93 Initial version DESCRIPTION: Demonstrat...
#include "StdInc.h" #include "DrawCommands.h" #include "Hooking.h" #include "CfxRect.h" #include <CrossBuildRuntime.h> #define PURECALL() __asm { jmp _purecall } namespace rage { struct dlDrawCommandBuffer { void AddDrawCommand(int type); }; } static hook::thiscall_stub<void(rage::dlDrawComman...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x130b9, %r11 add %r8, %r8 movw $0x6162, (%r11) nop nop sub %r14, %r14 lea addresses_WT_ht+0x1c05, %rbx nop nop nop nop and $1765, %r15 mov $0x6162636465666768, %r12 ...
#include "train_templ.h" namespace { template <> inline TUserDefinedQuerywiseError BuildError<TUserDefinedQuerywiseError>(const NCatboostOptions::TCatBoostOptions& params, const TMaybe<TCustomObjectiveDescriptor>&) { return TUserDefinedQuerywiseError(params.LossFunctionDescription->GetLossParams(), IsStoreExpAppro...
/* -------------------------------------------------------------------------- * CppADCodeGen: C++ Algorithmic Differentiation with Source Code Generation: * Copyright (C) 2016 Ciengis * * CppADCodeGen is distributed under multiple licenses: * * - Eclipse Public License Version 1.0 (EPL1), and * - GNU Ge...
; size_t b_array_insert_callee(b_array_t *a, size_t idx, int c) SECTION code_adt_b_array PUBLIC _b_array_insert_callee _b_array_insert_callee: pop af pop hl pop bc pop de push af INCLUDE "adt/b_array/z80/asm_b_array_insert.asm"
; A009001: Expansion of e.g.f: (1+x)*cos(x). ; 1,1,-1,-3,1,5,-1,-7,1,9,-1,-11,1,13,-1,-15,1,17,-1,-19,1,21,-1,-23,1,25,-1,-27,1,29,-1,-31,1,33,-1,-35,1,37,-1,-39,1,41,-1,-43,1,45,-1,-47,1,49,-1,-51,1,53,-1,-55,1,57,-1,-59,1,61,-1,-63,1,65,-1,-67,1,69,-1,-71,1,73,-1,-75,1,77,-1,-79,1,81,-1,-83,1,85,-1,-87,1,89,-1,-91,1,...
/*** * This file is based on or incorporates material from the UnitTest++ r30 open source project. * Microsoft is not the original author of this code but has modified it and is licensing the code under * the MIT License. Microsoft reserves all other rights not expressly granted under the MIT License, * whether by im...
; ; feilipu, 2019 April ; ; 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/. ; ;------------------------------------------------------------------------- ; m32_fsmul - ...
Route2TradeHouse_h: db HOUSE ; tileset db ROUTE_2_TRADE_HOUSE_HEIGHT, ROUTE_2_TRADE_HOUSE_WIDTH ; dimensions (y, x) dw Route2TradeHouse_Blocks ; blocks dw Route2TradeHouse_TextPointers ; texts dw Route2TradeHouse_Script ; scripts db 0 ; connections dw Route2TradeHouse_Object ; objects
; A089833: a(n) = A000108(n)*(A000142(n+1)-1). ; Submitted by Christian Krause ; 0,1,10,115,1666,30198,665148,17296851,518916970,17643220738,670442556004,28158587998814,1295295050441588,64764752531737100,3497296636751245560,202843204931717665155,12576278705767060962330 mov $2,$0 add $0,1 seq $0,33312 ; a(n) = n! - 1. ...
// Given an x/y position and some text message: .byte $0f, $03 .text "hello world\n" .byte $01, $00 .text "how are you?\0" // When we display that text test_text: lda #<message sta text_src lda #>message sta text_src+1 // Then it...
; 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, DIS...
; A103831: For even n, a(n) = n*(n+1), for odd n, a(n) = 2*n + 1. ; 0,3,6,7,20,11,42,15,72,19,110,23,156,27,210,31,272,35,342,39,420,43,506,47,600,51,702,55,812,59,930,63,1056,67,1190,71,1332,75,1482,79,1640,83,1806,87,1980,91,2162,95,2352,99,2550,103,2756,107,2970,111,3192,115,3422,119,3660,123,3906,127,4160,131,4422,...
; ; Extracted from cephes-math ; ; Cephes is a C language library for special functions of mathematical physics ; and related items of interest to scientists and engineers. ; https://fossies.org/ ; ; Coefficients from lolremez, to make use of additional accuracy in ; calculation from 32-bit mantissa poly() function. ; ...
// Copyright (c) 2017-present, Xiaomi, Inc. All rights reserved. // This source code is licensed under the Apache License Version 2.0, which // can be found in the LICENSE file in the root directory of this source tree. #include <gtest/gtest.h> #include <dsn/utility/fail_point.h> #include "replica_test_base.h" name...
dnl Alpha ev67 mpn_gcd_11 -- Nx1 greatest common divisor. dnl Copyright 2003, 2004 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 * the GNU Lesser General P...
<% from pwnlib.shellcraft.thumb.linux import syscall %> <%page args="pid"/> <%docstring> Invokes the syscall sched_getscheduler. See 'man 2 sched_getscheduler' for more information. Arguments: pid(pid_t): pid </%docstring> ${syscall('SYS_sched_getscheduler', pid)}
input: INP STA [x] STA [z] INP STA [y] LDB #1 SUB STA [y] loop: LDA [x] LDB [z] ADD STA [x] LDA [y] LDB #1 SUB STA [y] JSP [loop] output: LDA [x] OUT HLT == Vars == x: NOP y: NOP z: NOP
; A131507: 2n+1 appears n+1 times. ; 1,3,3,5,5,5,7,7,7,7,9,9,9,9,9,11,11,11,11,11,11,13,13,13,13,13,13,13,15,15,15,15,15,15,15,15,17,17,17,17,17,17,17,17,17,19,19,19,19,19,19,19,19,19,19,21,21,21,21,21,21,21,21,21,21,21,23,23,23,23,23,23,23,23,23,23,23,23,25,25,25,25,25,25,25,25,25,25,25,25,25,27,27,27,27,27,27,27,27,2...
// Original test: ./lavallee/hw4/problem6/bnez_4.asm // Author: lavallee // Test source code follows //// This program tests a regular branch case lbi r5, 5 // set r5 to non zero number bnez r5, 76 // non-corner case branch halt
; A339265: Expansion of Product_{n >= 1} (1 - x^(2*n))*(1 - x^(2*n-1))*(1 - x^(2*n+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,-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 seq $0,196 ; Integer part of...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1a860, %rsi lea addresses_WT_ht+0x123e0, %rdi clflush (%rsi) nop add $36377, %r8 mov $112, %rcx rep movsw nop nop nop nop nop xor $51581, %rsi lea addresses_WC_ht+0x3ee0, %r15...
#include <iostream> #include <vector> #include <fstream> #include "sstream" #include<algorithm> enum class State { kStart, kEmpty, kObstacle, kClosed, kPath, kFinish }; // directional deltas const int delta[4][2]{{-1, 0}, {0, -1}, {1, 0}, {0, 1}}; std::string CellString(State state){ switch...
/** * Demonstrates the basics of a queue. * (Implemented using a singly linked list) */ #include<iostream> #include<stdexcept> using namespace std; /** * Node object to represent each place in the queue. * Contains one int value of data. * Contains a pointer to the next node in the queue. */ struct Node { ...
class Solution { public: int lengthOfLongestSubstring(string s) { set<char> t; int res = 0, left = 0, right = 0; while (right < s.size()) { if (t.find(s[right]) == t.end()) { t.insert(s[right++]); res = max(res, (int)t.size()); ...
//#include <cassert> //#include <cstdio> //#include <cmath> //#include <iostream> //#include <iomanip> //#include <sstream> //#include <vector> //#include <map> //#include <queue> //#include <numeric> //#include <algorithm> // //using namespace std; //using lint = long long; //constexpr int MOD = 1000000007, INF = 1111...
SFX_Swap_1_Ch4: duty 2 unknownsfx0x20 8, 225, 64, 7 endchannel SFX_Swap_1_Ch5: duty 2 unknownsfx0x20 2, 8, 0, 0 unknownsfx0x20 8, 177, 65, 7 endchannel
; A265676: a(n) is the total number of petals of the Flower of Life at the n-th iteration. ; 0,1,7,19,43,67,97,139,181,229,289,349,415,493,571,655,751,847,949,1063,1177,1297,1429,1561,1699,1849,1999,2155,2323,2491,2665,2851,3037,3229,3433,3637,3847,4069,4291,4519,4759,4999,5245,5503,5761,6025,6301,6577,6859,7153,7447,7...
//Arithmetic Shift Right: preserves sign when dividing by a power of 2 sfmt: .string "%d / (2 to the power %d) = %d \n" //Define string format for printf //Define register aliases fp .req x29 lr .req x30 //Define m4 macros define(x_reg, x19) define(y_reg, x20) define(z_reg, x21) //Define main functio...
enemySpritePatterns: ;; from here on, each offset of 32 pixels is a different enemy sprite explosion_sprite: ; LARGE db #00,#00,#00,#18,#1c,#0e,#02,#60,#70,#00,#06,#0c,#1c,#19,#01,#00 db #00,#c0,#c0,#8c,#1c,#38,#20,#0e,#06,#00,#20,#38,#9c,#8c,#80,#00 ; MEDIUM db #00,#00,#00,#00,#00,#0c,#06,#02,#3...
; A200535: G.f. satisfies: A(x) = exp( Sum_{n>=1} [Sum_{k=0..2*n} C(2*n,k)^2 * x^k] / A(x)^n * x^n/n ). ; 1,1,4,5,9,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208,212,216,220,224,228,232,23...
/********************************************************************** * $Id: DistanceOp.cpp 2758 2009-12-01 16:16:18Z mloskot $ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2006 Refractions Research Inc. * Copyright (C) 2001-2002 Vivid Solutions Inc. * * This is free...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
; A311481: Coordination sequence Gal.6.219.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 Christian Krause ; 1,4,8,12,17,21,27,31,36,40,44,48,52,56,60,65,69,75,79,84,88,92,96,100,104,108,113,117,123,127,132,136,140,14...
#include "CalibrationMotion.h" #include <mc_filter/utils/clamp.h> #include "../ForceSensorCalibration.h" void CalibrationMotion::start(mc_control::fsm::Controller & ctl) { ctl.datastore().make_call("CalibrationMotion::Stop", [this]() { interrupted_ = true; }); auto & robot = ctl.robot(); auto robotConf = ctl.con...
;------------------------------------------- ;the content of this file is excluded, | ;when the user disables logging features | ;in hyperion command line. pls keep in mind | ;and dont rely on its existence. | ;------------------------------------------- ;--- Begin Macro Section --- macro createStringBru...
/* mpcorb2.cpp: functions to get basic data on 'mpcorb.dat' files (Not really very relevant to anything, as it's turned out!) Copyright (C) 2010, Project Pluto This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software F...
; A323703: Number of values of (X^3 + X) mod prime(n). ; 1,3,3,5,7,9,11,13,15,19,21,25,27,29,31,35,39,41,45,47,49,53,55,59,65,67,69,71,73,75,85,87,91,93,99,101,105,109,111,115,119,121,127,129,131,133,141,149,151,153,155,159,161,167,171,175,179,181,185,187,189,195,205,207,209,211,221,225,231,233,235,239,245,249,253,255,...
SECTION code_fp_math16 PUBLIC _sqrtf16 EXTERN cm16_sdcc_sqrt defc _sqrtf16 = cm16_sdcc_sqrt
; re-setup a window include win1_mac_oli include win1_keys_wman include win1_keys_wwork include win1_keys_wstatus section utility xdef xwm_rset ;+++ ; re-setup a window into a given definition ; ; Entry Exit ; d1.l s...
// 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 "console.h" #include <optional> #include <string> #include <vector> #include "third_party/quickjs/quickjs-libc.h" #include "third_party/quickjs/...
/* YAEP (Yet Another Earley Parser) Copyright (c) 1997-2018 Vladimir Makarov <vmakarov@gcc.gnu.org> 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 ...
/****************************************************************************** * Copyright 2019 The Apollo 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 ...
Name: ys_mplay0.asm Type: file Size: 43685 Last-Modified: '2016-05-13T04:52:57Z' SHA-1: 8678B03BD6785EF98FBCD8E9BB97E9FDC3BE943F Description: null
DSEG SEGMENT PARA PUBLIC'DSEG' M DB 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 P DB 20 DUP(?) N DB 20 DUP(?) DSEG ENDS CODE SEGMENT ASSUME CS:CODE,DS:DSEG START: MOV AX,DSEG MOV DS,AX LEA SI,P LEA DI,N LEA BX,M XOR AX,AX ...
// Copyright (c) 2011-2018 The Karmacoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <qt/recentrequeststablemodel.h> #include <qt/karmacoinunits.h> #include <qt/guiutil.h> #include <qt/optionsmodel....
// Copyright 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 //...
// Copyright (c) 2014-2016 The Dash developers // Copyright (c) 2016-2017 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "spork.h" #include "base58.h" #include "key.h" #include "main.h" #include...
// Generated code. Do not edit // Create the model Model createTestModel() { const std::vector<Operand> operands = { { .type = OperandType::TENSOR_QUANT8_ASYMM, .dimensions = {1, 4, 2, 1}, .numberOfConsumers = 1, .scale = 1.0f, .zeroPoint = 0, ...
; BSS intro %macro println 0 mov rax,0x01 mov rdi,0x01 mov rsi,0x0a mov rdx,0x01 syscall %endmacro global _start section .data msg10 db "Enter Your name : ",0x00 len10 equ $-msg10 msg20 db "Enter Your group : ",0x00 len20 equ $-msg20 msg30 db "Enter Your age : ",0x00 len3...
.include "m8def.inc" .macro OutTo ldi R16,@1 out @0,R16 .endm .macro WriteRAM STS @0,@1 .endm .macro WriteRAMConst LDI R16,@1 STS @0,R16 .endm .macro ReadRAMTo LDS @0,@1 .endm .equ SegmentPort=PortD .equ ButtonStart=PinB0 .equ ButtonStop=PinB1 .equ ButtonDecMin=PinB2 .equ ButtonIncMin=PinB3 ...
// Font generated by stb_font_inl_generator.c (4/1 bpp) // // Following instructions show how to use the only included font, whatever it is, in // a generic way so you can replace it with any other font by changing the include. // To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_arial_bold_17_latin...
.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++), ...
#ifndef UTILITY_HPP #define UTILITY_HPP namespace ft { template <class T1, class T2> struct pair { public: typedef T1 first_type; typedef T2 second_type; first_type first; second_type second; pair() : first(), second() {} template <class U, class V> pair(const pair<U, V> &pr) : first(pr.first), secon...
; A160749: a(n) = (11*n^2 + 19*n + 10)/2. ; 5,20,46,83,131,190,260,341,433,536,650,775,911,1058,1216,1385,1565,1756,1958,2171,2395,2630,2876,3133,3401,3680,3970,4271,4583,4906,5240,5585,5941,6308,6686,7075,7475,7886,8308,8741,9185,9640,10106,10583,11071,11570,12080,12601,13133,13676,14230,14795,15371,15958,16556,17165,...
; ; ; ZX Maths Routines ; ; 9/12/02 - Stefano Bodrato ; ; $Id: exp.asm,v 1.1 2003/03/24 09:17:40 stefano Exp $ ; ;double exp(double) ;Number in FA.. IF FORzx INCLUDE "#zxfp.def" ELSE INCLUDE "#81fp.def" ENDIF XLIB exp LIB fsetup1 LIB stkeq...
SFX_Teleport_Enter1_1_Ch1: duty 1 unknownsfx0x10 23 unknownsfx0x20 15, 215, 0, 7 unknownsfx0x20 15, 183, 128, 6 unknownsfx0x20 15, 135, 0, 6 unknownsfx0x20 15, 71, 128, 5 unknownsfx0x20 15, 23, 0, 5 unknownsfx0x10 8 endchannel
; int fprintf_unlocked(FILE *stream, const char *format, ...) SECTION code_stdio PUBLIC fprintf_unlocked EXTERN asm_fprintf_unlocked defc fprintf_unlocked = asm_fprintf_unlocked
db KADABRA ; 064 db 40, 35, 30, 105, 120, 70 ; hp atk def spd sat sdf db PSYCHIC, PSYCHIC ; type db 100 ; catch rate db 145 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F25 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/kadabra/front.dime...
; A256818: Number of length n+3 0..1 arrays with at most two downsteps in every n consecutive neighbor pairs. ; 16,32,64,128,245,442,753,1220,1894,2836,4118,5824,8051,10910,14527,19044,24620,31432,39676,49568,61345,75266,91613,110692,132834,158396,187762,221344,259583,302950,351947,407108,469000,538224,615416,701248,79...
; A290922: p-INVERT of the positive integers, where p(S) = 1 - S - 2*S^2. ; 1,5,20,75,279,1040,3881,14485,54060,201755,752959,2810080,10487361,39139365,146070100,545141035,2034494039,7592835120,28336846441,105754550645,394681356140,1472970873915,5497202139519,20515837684160,76566148597121,285748756704325,10664288782201...
#pragma once #include <string> #include <list> #include <variant> #include <memory> #include <system_error> #if defined(RICHTEXT_USE_SYSTEM_UFORMAT) #include <uformat/texter.hpp> #else #include "bundled/uformat/texter.hpp" #endif namespace richtext { enum class tag { undefined, normal, strong, emphasis, strong...
%macro exit 1 mov eax, 1 mov ebx, %1 int 0x80 %endmacro %macro write 1 ;write n mov eax, %1 push eax push fmt call printf ;printf("%d\n", n) add esp, 4 %endmacro %macro divis 1 ;divis n mov ...
; A099022: a(n) = Sum_{k=0..n} C(n,k)*(2*n-k)!. ; Submitted by Jon Maiga ; 1,3,38,1158,65304,5900520,780827760,142358474160,34209760152960,10478436416945280,3984884716852972800,1842169367191937414400,1017403495472574045158400,661599650478455071589606400,500354503197888042597961267200,435447353708763072625260119808000,4...
db VENOMOTH ; pokedex id db 70 ; base hp db 65 ; base attack db 60 ; base defense db 90 ; base speed db 90 ; base special db BUG ; species type 1 db POISON ; species type 2 db 75 ; catch rate db 138 ; base exp yield INCBIN "pic/gsmon/venomoth.pic",0,1 ; 77, sprite dimensions dw VenomothPicFront dw VenomothPicBack ; att...
/* * GraphBuilderAutoCompleteGTest.cpp * * Created on: 14.08.2014 * Author: Marvin Ritter (marvin.ritter@gmail.com) */ #include <gtest/gtest.h> #include <algorithm> #include <tuple> #include <networkit/graph/Graph.hpp> #include <networkit/graph/GraphBuilder.hpp> #include <networkit/auxiliary/Random.hpp> #...
; A244058: n-th term of the 'Reverse and Add!' sequence starting with n. ; Submitted by Jon Maiga ; 1,4,12,77,44,363,484,4444,79497,14003,88088,175857,1596595,1716517,17794887,13528163,176599676,839546037,1317544822,853595347,8836886388,13236127322,13297007933,668823329856,175304440267,909153350908,9317488848228,881320...
; external functions from X11 library extern XOpenDisplay extern XDisplayName extern XCloseDisplay extern XCreateSimpleWindow extern XMapWindow extern XRootWindow extern XSelectInput extern XFlush extern XCreateGC extern XSetForeground extern XDrawLine extern XNextEvent ; external functions from stdio library (ld-lin...