text
stringlengths
1
1.05M
; A083919: Number of divisors of n that are congruent to 9 modulo 10. ; 0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,1,0,1,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,1,1,1,0,0,0,1,0,0,0,0,0,1,0,0,1,0,0,0,1,0,1,1,0,1,0,0,0,0,0,1,0,1,1,0,0,0,0,1,0,0,1,2,0 add $0,1 mov $2,$0 lpb $0 mov $3,$2 mov $4,...
; void zx_cls_wc_pix(struct r_Rect8 *r, uchar pix) SECTION code_clib SECTION code_arch PUBLIC zx_cls_wc_pix EXTERN asm_zx_cls_wc_pix zx_cls_wc_pix: pop af pop hl pop ix push hl push hl push af jp asm_zx_cls_wc_pix
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Christian Schulte <schulte@gecode.org> * * Copyright: * Christian Schulte, 2004 * * This file is part of Gecode, the generic constraint * development environment: * http://www.gecode.org * * Permission is ...
; A047207: Numbers that are congruent to {0, 1, 3, 4} mod 5. ; 0,1,3,4,5,6,8,9,10,11,13,14,15,16,18,19,20,21,23,24,25,26,28,29,30,31,33,34,35,36,38,39,40,41,43,44,45,46,48,49,50,51,53,54,55,56,58,59,60,61,63,64,65,66,68,69,70,71,73,74,75,76,78,79,80,81,83,84,85,86,88,89,90,91,93,94,95,96,98,99,100,101,103,104,105,106,1...
; A113861: a(n) = (1/9)*((6*n - 7)*2^(n-1) - (-1)^n). ; 0,1,5,15,41,103,249,583,1337,3015,6713,14791,32313,70087,151097,324039,691769,1470919,3116601,6582727,13864505,29127111,61050425,127693255,266571321,555512263,1155763769,2401006023,4980969017,10319851975,21355531833,44142719431,91148750393,188024123847,38750149381...
setup_segment: mov cx, 0x07c0 ;shifted to left, 0x7c00 mov ds, cx ret print: mov ah, 0x0e print_loop: mov al, [bx] cmp al, 0 je print_end mov al, [bx] int 0x10 inc bx jmp print_loop println: call print newline: mov al, 10 int 0x10 ;accapo mov al, 13 int 0x10 ret print_end ret
// Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Fre...
#include "lua_class_position.hpp" #include "../../position.hpp" namespace elona { namespace lua { void LuaPosition::bind(sol::state& lua) { auto LuaPosition = lua.create_simple_usertype<Position>(); /** * @luadoc new function * * Constructs a new LuaPosition. * @usage local LuaPosition = ...
; A137932: Terms in an n X n spiral that do not lie on its principal diagonals. ; 0,0,0,4,8,16,24,36,48,64,80,100,120,144,168,196,224,256,288,324,360,400,440,484,528,576,624,676,728,784,840,900,960,1024,1088,1156,1224,1296,1368,1444,1520,1600,1680,1764,1848,1936,2024,2116,2208,2304,2400,2500,2600,2704,2808,2916,3024,31...
; ; Copy the graphics from screen to the zx printer ; It can be used for any redefined (or not) pseudo-graphics, fonts and characters. ; ; Traps the BREAK key to avoid an unwanted C program termination, etc.. ; ; Stefano Bodrato, 2018 ; ; ; $Id: zx_hardcopy.asm $ ; SECTION code_clib PUBLIC zx_hardcopy PUBL...
; int b_array_at(b_array_t *a, size_t idx) SECTION code_adt_b_array PUBLIC _b_array_at EXTERN asm_b_array_at _b_array_at: pop af pop hl pop bc push bc push hl push af jp asm_b_array_at
;================================================================================ ; Init Hook ;-------------------------------------------------------------------------------- org $00802F ; <- 2F - Bank00.asm : 45 JSL.l Init_Primary NOP ;-------------------------------------------------------------------------------- ...
; A291537: a(n) = 8^n - 3*2^n + 5. ; Submitted by Jamie Morken(s2) ; 7,57,493,4053,32677,261957,2096773,16776453,134216197,1073738757,8589928453,68719464453,549755789317,4398046461957,35184371990533,281474976514053,2251799813292037,18014398508695557,144115188074283013,1152921504603701253,9223372036848484357,73786976294...
SECTION code_fp_am9511 PUBLIC cam32_sdcc_fdiv2 EXTERN cam32_sdcc_read1, asm_am9511_fdiv2_fastcall .cam32_sdcc_fdiv2 call cam32_sdcc_read1 jp asm_am9511_fdiv2_fastcall
#pragma once #include <derivejson/derivejson.hpp> #include <json.hpp> using json = nlohmann::json; #include <vector> #include <string> using namespace std; namespace binance { namespace models { DEFINE_MODEL(Order, (string, symbol, "symbol") (long, order_id, "orderId") ...
// Test provided by Karu //SEQ test 1. Test when one is 0. // // Michael McKinley (mckinley) lbi r1, 0xff lbi r2, 0x00 seq r3, r1, r2 halt
; A207836: a(n) = n*A052530(n)/2. ; 0,3,16,75,336,1463,6240,26199,108640,445995,1815792,7341347,29505840,117982815,469672384,1862393775,7359403968,28991540051,113892526800,446305331451,1744950085648,6808253393415,26513475730464,103072540115975,400058834841120,1550464509091707,6000723890790832,23194828101288915,89549252...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x12777, %rsi lea addresses_A_ht+0x1d8d9, %rdi dec %r10 mov $46, %rcx rep movsq nop nop nop sub %r15, %r15 lea addresses_D_ht+0xc237, %rcx and %rbp, %rbp mov (%rcx), %esi ...
\ -*- mode:beebasm -*- \ ****************************************************************** \ * VERTICAL STRETCH ON TOP OF FREQUENCY GRID FX \ ****************************************************************** \\ TODO: Describe the FX and requirements. \\ Describe the track values used: \\ rocket_track_zoom => zoom...
// Copyright (c) 2012-2019 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "bloom.h" #include "hash.h" #include "primitives/transaction.h" #include "script/script.h" #include "script/standard.h" ...
// 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...
; A140142: a(1)=1, a(n)=a(n-1)+n^0 if n odd, a(n)=a(n-1)+ n^4 if n is even. ; 1,17,18,274,275,1571,1572,5668,5669,15669,15670,36406,36407,74823,74824,140360,140361,245337,245338,405338,405339,639595,639596,971372,971373,1428349,1428350,2043006,2043007,2853007,2853008,3901584,3901585,5237921,5237922,6917538,6917539,9002...
;*! ;* \copy ;* Copyright (c) 2009-2013, Cisco Systems ;* 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 retain the abo...
; void outp_callee(uint port, uchar byte) ; 09.2005 aralbrec SECTION code_clib PUBLIC outp_callee PUBLIC _outp_callee PUBLIC asm_outp .outp_callee ._outp_callee pop af pop de pop bc push af .asm_outp ; bc = port ; e = byte IF __CPU_R2KA__|__CPU_R3K__ ld h,b ld l,c ld a,e defb 0d3h ;...
mov al, 0x55 mov ah, 0xaa mov ax, 0xaa00 mov bl, 0xaa mov bh, 0x55 mov bx, 0x00aa mov cl, [0x55aa] mov ch, [0xaa55] mov cx, [si] mov dx, ax mov dh, ah mov dl, al
; =============================================================== ; Dec 2013 ; =============================================================== ; ; unsigned long strtoul( const char * restrict nptr, char ** restrict endptr, int base) ; ; Read number encoded in given radix from string; if base == 0, ; radix is auto-det...
/* * Copyright (c) 2017-2018 Morwenn * SPDX-License-Identifier: MIT */ //===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Ide...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>mprotect(addr, length, prot) -> str Invokes the syscall mprotect. See 'man 2 mprotect' for more information. Arguments: addr(void*): addr len(size_t): len prot(int): prot Returns: int </...
#include "IRremote.h" // Reverse Engineered by looking at RAW dumps generated by IRremote // I have since discovered that Denon publish all their IR codes: // https://www.google.co.uk/search?q=DENON+MASTER+IR+Hex+Command+Sheet // -> http://assets.denon.com/documentmaster/us/denon%20master%20ir%20hex.xls // Having ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r9 push %rax push %rbp lea addresses_UC_ht+0xb813, %rbp nop nop nop sub %r9, %r9 movb (%rbp), %al nop nop nop nop xor $21294, %r10 pop %rbp pop %rax pop %r9 pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r15 push %rax push %r...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %rax push %rbp push %rbx push %rdi push %rdx lea addresses_WC_ht+0x3211, %r10 nop nop nop nop nop xor $19749, %rbx movups (%r10), %xmm5 vpextrq $1, %xmm5, %rdi xor %rdx, %rdx lea addresses_A_ht+0x3d41, %rbp clflush (%rbp) nop nop nop xor $46557, %rax...
; size_t balloc_blockcount(unsigned int queue) SECTION code_alloc_balloc PUBLIC _balloc_blockcount EXTERN asm_balloc_blockcount _balloc_blockcount: pop af pop hl push hl push af jp asm_balloc_blockcount
#include <bits/stdc++.h> using namespace std; #define READ(f) freopen(f, "r", stdin) #define WRITE(f) freopen(f, "w", stdout) #define MP(x, y) make_pair(x, y) #define PB(x) push_back(x) #define FOR(i,L,R) for (int i = (int)(L); i <= (int)(R); i++) #define ROF...
DEVICE ZXSPECTRUM48 OPT --syntax=F DEFINE TEST_BUILD org #4000 ;INCBIN "EXOLON.SCR",0 org #7070 int_handler: ei reti org #7E00 ; INT IM2 vector table .257 db #70 ; by Z80 user manual int vector is I * 256 + (D & 0xFE) ; but by other references and by T80/A-Z80...
; A136687: Number of palindromes in the range [0,n] inclusive. ; 1,2,3,4,5,6,7,8,9,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,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,17,17,17,...
// Copyright (c) 2011-2021 Columbia University, System Level Design Group // SPDX-License-Identifier: MIT #ifndef __ESP_CONFIG_HPP__ #define __ESP_CONFIG_HPP__ #include "core/accelerators/esp_accelerator.hpp" class esp_config : public sc_module { public: // Input ports // Clock signal ...
; A330045: Expansion of e.g.f. exp(x) / (1 - x^4). ; Submitted by Christian Krause ; 1,1,1,1,25,121,361,841,42001,365905,1819441,6660721,498971881,6278929801,43710250585,218205219961,21795091762081,358652470233121,3210080802962401,20298322381652065,2534333270094778681,51516840824285500441,563561785768079119561 mov $2,...
; A059827: Cubes of triangular numbers: (n*(n+1)/2)^3. ; 1,27,216,1000,3375,9261,21952,46656,91125,166375,287496,474552,753571,1157625,1728000,2515456,3581577,5000211,6859000,9261000,12326391,16194277,21024576,27000000,34328125,43243551,54010152,66923416,82312875,100544625,122023936,147197952,176558481,210644875,250047...
; CP/M 2.2 boot-loader for Z80-Simulator ; ; Copyright (C) 1988-2007 by Udo Munk ; ORG 0 ;mem base of boot ; MSIZE EQU 64 ;mem size in kbytes ; BIAS EQU (MSIZE-20)*1024 ;offset from 20k system CCP EQU 3400H+BIAS ;base of the ccp BIOS EQU CCP+1600H ;base of the bios BIOSL EQU 0300H ;length of the bios BOOT EQU BIOS ...
#include "GraphLib.h" namespace GraphLib { Node::Node() : layout_pos_x(0), layout_pos_y(0), sort_importance(0), optimized(false) { predecessor = NULL; sz = Size(60, 40); shape = SHAPE_ELLIPSE; line_clr = Red(); fill_clr = White(); line_width = 1; distance = 1; point.x = 0; point.y = 0; layout_force_x = 0; ...
; A040609: Continued fraction for sqrt(635). ; 25,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50,5,50 sub $0,1 mod $0,2 mul $0,11 add $0,2 pow $0,2 mov $1,$0 div $1,17 mul $1,5 add $1,5
CeruleanCaveB1FWildMons: def_grass_wildmons 25 ; encounter rate db 67, EEVEE db 68, FLAREON db 68, JOLTEON db 68, VAPOREON db 74, HITMONCHAN db 74, HITMONLEE db 71, OMANYTE db 71, KABUTO db 71, AERODACTYL db 75, PORYGON end_grass_wildmons def_water_wildmons 0 ; encounter rate end_water_wildmons
bits 16 ; System instructions mov cr0, eax mov eax, cr0 mov ecx, cr2 mov cr2, ecx mov cr4, esi mov esi, cr4 mov dr0, eax mov eax, dr0 mov dr1, esi mov esi, dr1 mov dr7, ecx mov ecx, dr7 lidt [bx] ...
; ; Enterprise 64/128 clock() ; ; stefano 5/4/2007 ; ; ------ ; $Id: clock.asm,v 1.1 2011/03/18 07:12:41 stefano Exp $ ; XLIB clock .clock rst 30h defb 32 ; C hours 0 .. 23 (BCD) ; D minutes 0 .. 59 (BCD) ; E seconds 0 .. 59 (BCD) ; let's copy the resu...
; A142176: Primes congruent to 29 mod 39. ; Submitted by Jon Maiga ; 29,107,263,419,653,809,887,1277,1433,1511,1667,1823,1901,1979,2213,2447,2837,3461,3539,3617,3851,3929,4007,4241,4397,4787,4943,5021,5099,5333,5801,5879,6113,6269,6581,6659,6737,6971,7127,7283,7517,7673,7829,7907,8219,8297,8609,8999,9311,9467,9623,9857...
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.1.4 #12246 (Mac OS X x86_64) ;-------------------------------------------------------- .module music_track_101__Data .optsdcc -mgbz80 ;-----------------------------------------------------...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r14 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x8ab1, %r14 nop nop nop nop nop inc %r12 movb (%r14), %r8b cmp %rdx, %rdx lea addresses_WC_ht+0x14a61, %r11 nop nop nop nop nop inc %r13 movw $0x6162, (%r11)...
#include <maxtest/config_operations.hh> // The configuration should use these names for the services, listeners and monitors #define SERVICE_NAME1 "rwsplit-service" #define SERVICE_NAME2 "read-connection-router-master" #define SERVICE_NAME3 "read-connection-router-slave" #define LISTENER_NAME1 "rwsplit-service-list...
match ,{ err ; fasm 1 assembly not supported } match -,{ else include 'selfhost.inc' end match _ equ } format MachO executable entry start include '../version.inc' interpreter '/usr/lib/dyld' uses '/usr/lib/libSystem.B.dylib' import libc.malloc,'_malloc',\ libc.realloc,'_realloc',\ libc.free,'_...
SECTION code_fp_math48 PUBLIC derror_pinfnc EXTERN am48_derror_pinfnc defc derror_pinfnc = am48_derror_pinfnc
; 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...
;***************************************************************************** ;* x86inc.asm: x264asm abstraction layer ;***************************************************************************** ;* Copyright (C) 2005-2015 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Anton Mitrofan...
; A062879: Integers whose Zeckendorf expansion does not contain ones at even positions. ; Submitted by Jon Maiga ; 0,2,5,7,13,15,18,20,34,36,39,41,47,49,52,54,89,91,94,96,102,104,107,109,123,125,128,130,136,138,141,143,233,235,238,240,246,248,251,253,267,269,272,274,280,282,285,287,322,324,327,329,335,337,340,342,356,3...
; A030109: Write n in binary, reverse bits, subtract 1, divide by 2. ; 0,0,1,0,2,1,3,0,4,2,6,1,5,3,7,0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15,0,16,8,24,4,20,12,28,2,18,10,26,6,22,14,30,1,17,9,25,5,21,13,29,3,19,11,27,7,23,15,31,0,32,16,48,8,40,24,56,4,36,20,52,12,44,28,60,2,34,18,50,10,42,26,58,6,38,22,54,14,46,30,62,1,33...
VermilionPokecenter_h: db POKECENTER ; tileset db VERMILION_POKECENTER_HEIGHT, VERMILION_POKECENTER_WIDTH ; dimensions (y, x) dw VermilionPokecenterBlocks, VermilionPokecenterTextPointers, VermilionPokecenterScript ; blocks, texts, scripts db $00 ; connections dw VermilionPokecenterObject ; objects
; Prints all 256 characters of given font. _TEXT segment para public 'CODE' org 100h assume cs:_TEXT,ds:_TEXT,ss:_TEXT ; =============== S U B R O U T I N E ======================================= ; Choose the current display page for all video operations _start p...
; --COPYRIGHT--,BSD_EX ; Copyright (c) 2012, Texas Instruments Incorporated ; 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 retain the above co...
; PROLOGUE(mpn_mul_2) ; X86_64 mpn_mul_2 ; ; Copyright 2010 Jason Moxham ; ; Windows Conversion Copyright 2010 Brian Gladman ; ; This file is part of the MPIR Library. ; The MPIR Library is free software; you can redistribute it and/or modify ; it under the terms of the GNU Lesser General Public License as publis...
#include "pch.h" #include "Effects.h" #include "FileHelper.h" //-----------------------------------------------------------------------------------------// CEffects::CEffects() { m_pFX = 0; m_hTexture = 0; m_hDrawTexTech = 0; m_hShadowMap = 0; m_hLightWVP = 0; m_hFarPlane = 0; m_hProjTech = 0; m_hColorTech = 0;...
ldy {c2},x cmp {c1},y bcs {la1}
; A021154: Expansion of 1/((1-x)(1-2x)(1-5x)(1-11x)). ; Submitted by Jon Maiga ; 1,19,256,3066,35007,391545,4339462,47896672,527676853,5808513711,63913994508,703155662118,7735220904139,85089973066117,936002419362994,10296090191237004,113257309994958465,1245831999401562363,13704159940702806520,150745799084160022930,1658...
/* * Yeppp! library runtime infrastructure * * This file is part of Yeppp! library and licensed under MIT license. * See runtime/LICENSE.txt for details. * */ .include "common.inc" .syntax unified /** * @brief GCC helper function for switch statements optimized using a jump table wi...
//Basic raycasting setup: render cube with ray start and end coords. Perform raycasting in the fragment shader. #include "glm/gtc/type_ptr.hpp" #include <GL/glew.h> #include "glm/glm.hpp" #include <glm/gtx/transform.hpp> #include "imgui/imgui_impl_vr.h" #include "imgui/imgui_draw_3d.h" #include "InitShader...
; A087654: Decimal expansion of D(1) where D(x) is the Dawson function. ; Submitted by Christian Krause ; 5,3,8,0,7,9,5,0,6,9,1,2,7,6,8,4,1,9,1,3,6,3,8,7,4,2,0,4,0,7,5,5,6,7,5,4,7,9,1,9,7,5,0,0,1,7,5,3,9,3,3,3,1,8,8,7,5,2,1,9,0,9,8,0,0,2,5,6,6,5,0,3,3,3,0,5,2,7,1,0,6,2,9,7,2,6,0,8,6,1,5,0,2,7,4,3,0,8,0,9 add $0,1 mov ...
#include "toast/module.hpp" using namespace std; static vector<Toast::ModuleData> v; static int mods_found = 0; static void load_module_datas() { int i = 0, current_mods = 0; for (i = 0; i < 128; i++) { Toast::Memory::ModuleActState state = Toast::Memory::shared()->get_module_activity_state(i); if (state != To...
; A168024: Noncomposite numbers in the northwestern ray of the Ulam spiral as oriented on the March 1964 cover of Scientific American. ; Submitted by Christian Krause ; 1,5,17,37,101,197,257,401,577,677,1297,1601,2917,3137,4357,5477,7057,8101,8837,12101,13457,14401,15377,15877,16901,17957,21317,22501,24337,25601,28901,...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_A_ht+0x167e9, %rsi nop cmp $42572, %rdi mov (%rsi), %r11d nop nop xor %r15, %r15 lea addresses_D_ht+0x2fe9, %rsi xor $30488, %r11 mov $0x6162636465666768, %r8 movq %r8, %xmm5 movups ...
// // RenderForwardTask.cpp // render-utils/src/ // // Created by Zach Pomerantz on 12/13/2016. // Copyright 2016 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "RenderForwardTask.h"...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x109d2, %rsi nop nop nop sub %r13, %r13 mov (%rsi), %ebp nop nop nop nop dec %rax lea addresses_WC_ht+0x1db52, %rsi lea addresses_normal_ht+0x1d1f4, %rdi nop nop nop nop add %r...
global _start _start: ;mov rax, 41 ;mov rdi, 2 ;mov rsi, 1 ;mov rdx, 0 ; clear rax and use its lower 8 bits to zero other registers used ; for the socket syscall with number 41 xor rax, rax mov dil, 2 ; set %rdi to AF_INET mov sil, al inc sil ; set %rsi to SOCK_STREAM mov dl, al ; set %rdx to 0...
/* * 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...
; A021929: Decimal expansion of 1/925. ; 0,0,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1,0,8,1 lpb $0,1 pow $0,4 sub $0,1 lpe mov $1,$0 add $1,$0 mod $1,3 pow $1,3
sty $ff cpz $ff bcc {la1}
;/* ; * FreeRTOS Kernel <DEVELOPMENT BRANCH> ; * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. ; * ; * SPDX-License-Identifier: MIT ; * ; * Permission is hereby granted, free of charge, to any person obtaining a copy of ; * this software and associated documentation files (the "Software")...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gpu/ipc/service/gpu_watchdog_thread.h" #include "base/atomicops.h" #include "base/bind.h" #include "base/bit_cast.h" #include "base/callbac...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rcx push %rdi push %rsi lea addresses_A_ht+0xa8ed, %rsi nop nop nop nop xor $64903, %r13 mov (%rsi), %r10w nop nop nop nop cmp $37012, %rcx lea addresses_WT_ht+0x15b45, %rsi lea addresses_normal_ht+0x912d, %rdi nop nop nop nop nop sub %r10, %r10 mov...
/** @file * * A brief file description * * @section license License * * 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...
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="timerid"/> <%docstring> Invokes the syscall timer_delete. See 'man 2 timer_delete' for more information. Arguments: timerid(timer_t): timerid </%docstring> ${syscall('SYS_timer_delete', timerid)}
; A199590: Decimal expansion (unsigned) of the greatest root of 6x^3 + 18x^2 + 12x + 2 = 0. ; Submitted by Jon Maiga ; 2,5,7,7,7,2,8,0,1,0,3,1,4,4,0,8,4,4,7,2,9,4,4,9,3,9,7,2,7,0,6,3,5,8,2,2,7,0,8,9,4,4,1,2,5,7,0,0,9,7,7,3,1,9,7,8,2,3,1,4,6,3,9,3,9,5,8,0,8,6,4,4,5,7,6,7,3,0,5,3,7,0,8,5,8,2,4,9,9,8,0,0,3,1,0,1,5,7,2,3 ...
; A119713: First differences are 2, 5, 5, 9, 9, 9, 14, 14, 14, 14, ..., that is, A000096 with m-th term repeated m times (m>=1). ; 0,2,7,12,21,30,39,53,67,81,95,115,135,155,175,195,222,249,276,303,330,357,392,427,462,497,532,567,602,646,690,734,778,822,866,910,954,1008,1062,1116,1170,1224,1278,1332,1386,1440,1505,1570,...
pla sta {m1} pla sta {m1}+1
; A317408: a(n) = n * Fibonacci(2n). ; 0,1,6,24,84,275,864,2639,7896,23256,67650,194821,556416,1578109,4449354,12480600,34852944,96949079,268746336,742675211,2046683100,5626200216,15430992126,42235173769,115380647424,314656725625,856733282574,2329224424344,6323840144076,17147315166491,46440262677600,125634925674311,339...
; A017399: a(n) = (11*n)^11. ; 0,285311670611,584318301411328,50542106513726817,1196683881290399744,13931233916552734375,103510234140112521216,564154396389137449973,2450808588882738675712,8953382542587164451099,28531167061100000000000,81402749386839761113321,211988959518950443450368,511324276025564512546607,11553882038...
; in add $0,$0 mul $0,$0 mov $1,$0 ; out mul $0,2 pow $0,2 mov $1,$0
; Bootsector that prints a message to the screen using BIOS routine [bits 16] ; Because the BIOS maps our bootsector to 0x7c00 we tell the assembler we will be mapped there so he ; corrects the offsets [org 0x7c00] KERNEL_OFFSET equ 0x1000 ; The memory offset to which we load our kernel mov [BOOT_DRIVE], dl ; BIOS ...
; COPYRIGHT (c) 1997 xTech Ltd. All Rights Reserved. ; COPYRIGHT (c) 2002, 2003 Excelsior LLC. All Rights Reserved. ; ; PE DLL initialization/termination routine cpu 386 bits 32 section .data use32 public align=4 public 'DATA' myHandle: dd 0 final...
; ; ; ; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. ; ; Copyright 2007-2019 Broadcom Inc. All rights reserved. ; ; ; This is the default program for the 5665 SDK (BCM95665K4S) ; ; To start it, use the following commands from BCM: ...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_A_ht+0xfa5d, %r12 nop nop nop nop cmp %r8, %r8 movups (%r12), %xmm1 vpextrq $0, %xmm1, %rsi nop dec %r15 lea addresses_A_ht+0x130fd, %r14 xor %r12, %r12 mov (%r14), %di nop nop and %r...
#include "IPCPackets.h" using namespace simplefs; int LSeekRequest::getBaseLength() { return sizeof(unsigned int) + 3 * sizeof(int); } void LSeekRequest::deserializeBase(const char* data) { fd = *(const int*)data; data += sizeof(int); offset = *(const int*)data; data += sizeof(int); whence = *(const int*)data...
; Set Printer Aborted Message V2.00  1994 Tony Tebby section iou xdef iob_ptab xref met_ptab ;+++ ; This routine sets the printer aborted message ; ; a1 r message ;-- iob_ptab lea met_ptab,a1 rts end
; A193976: Mirror of the triangle A193975. ; Submitted by Christian Krause ; 2,8,3,20,11,4,40,26,14,5,70,50,32,17,6,112,85,60,38,20,7,168,133,100,70,44,23,8,240,196,154,115,80,50,26,9,330,276,224,175,130,90,56,29,10,440,375,312,252,196,145,100,62,32,11,572,495,420,348,280,217 mov $2,$0 lpb $2 add $0,$1 add $0,3 ...
#include "SpeakerConfig.hh" #include "str.hh" namespace aku { SpeakerConfig::SpeakerConfig(FeatureGenerator &fea_gen, HmmSet *model) : m_fea_gen(fea_gen), m_model(model) { m_cur_speaker = ""; m_cur_utterance = ""; m_default_speaker_set = false; m_default_utterance_set = false; if(model != NULL) m_model_t...
@ This file was created from a .asm file @ using the ads2gas.pl script. .equ DO1STROUNDING, 0 .equ ARCH_ARM , 0 .equ ARCH_MIPS , 0 .equ ARCH_X86 , 0 .equ ARCH_X86_64 , 0 .equ HAVE_EDSP , 0 .equ HAVE_MEDIA , 0 .equ HAVE_NEON , 0 .equ HAVE_NEON_ASM , 0 .equ HAVE_MIPS32 , 0 .equ HAVE_DSPR2 , 0 .equ HAVE_MSA , ...
; A036498: Numbers of the form m*(6*m-1) and m*(6*m+1), where m is an integer. ; 0,5,7,22,26,51,57,92,100,145,155,210,222,287,301,376,392,477,495,590,610,715,737,852,876,1001,1027,1162,1190,1335,1365,1520,1552,1717,1751,1926,1962,2147,2185,2380,2420,2625,2667,2882,2926,3151,3197,3432,3480,3725,3775,4030,4082,4347,4401,...
// Project: libv, File: sandbox/libv_reflection_main.cpp, Author: Császár Mátyás [Vader] // libv #include <libv/meta/for_constexpr.hpp> #include <libv/meta/reflection.hpp> #include <libv/serial/reflection.hpp> #include <libv/serial/serial.hpp> #include <libv/utility/member_offset.hpp> // std #include <iomanip> #includ...
// Copyright 2021 The DaisyKit Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rbp push %rdi lea addresses_normal_ht+0x23b5, %r15 nop nop lfence movb (%r15), %r10b nop nop nop nop nop xor $56361, %rbp pop %rdi pop %rbp pop %r15 pop %r14 pop %r10 ret .global s_faulty_load s_faulty_load: push %r14 push %r15 push %...
; void *w_array_front(w_array_t *a) SECTION code_clib SECTION code_adt_w_array PUBLIC w_array_front EXTERN asm_w_array_front defc w_array_front = asm_w_array_front ; SDCC bridge for Classic IF __CLASSIC PUBLIC _w_array_front defc _w_array_front = w_array_front ENDIF
@256 D=A @SP M=D @5 D=A @R13 M=D @Sys.init D=A @R14 M=D @Sys.init$ret0 D=A @VM$CALL 0;JMP (Sys.init$ret0) (VM$STOP) @VM$STOP 0;JMP (VM$CALL) @SP AM=M+1 A=A-1 M=D @LCL D=M @SP AM=M+1 A=A-1 M=D @ARG D=M @SP AM=M+1 A=A-1 M=D @THIS D=M @SP AM=M+1 A=A-1 M=D @THAT D=M @SP AM=M+1 A=A-1 M=D @R13 D=M @SP D=M-D @ARG M=D @R14 A=M...
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...