text stringlengths 1 1.05M |
|---|
; void __CALLEE__ in_MouseKempSetPos_callee(uint xcoord, uint ycoord)
; 09.2005 aralbrec
PUBLIC in_MouseKempSetPos_callee
PUBLIC ASMDISP_IN_MOUSEKEMPSETPOS_CALLEE
PUBLIC CDISP_IN_MOUSEKEMPSETPOS_CALLEE
EXTERN INMouseKemp
EXTERN _in_KempcoordX, _in_KempcoordY
.in_MouseKempSetPos_callee
pop hl
pop bc
ex (sp)... |
BUFsiz equ 64
section .rodata
$nl db 10, 0
$sp db 32, 0
section .data
global _env
$bufsiz dq BUFsiz
$_env dq 0
section .bss
$buffer resb BUFsiz
section .text
global _println, _printsp, _printi, _readln, _readi, _debug
global _strlen, _atoi, _itoa, _argc, _argv, _envp
extern _prints, _readb
_argc: mov rax, ... |
; A244310: a(n) = L(n)^3 - L(n)^2, where L(n) is the n-th Lucas number (A000032).
; 4,0,18,48,294,1210,5508,23548,101614,433200,1845738,7840998,33282564,141149320,598366458,2535856048,10745092894,45524786370,192866785668,817050731748,3461224027254,14662350247600,62111682111618,263111844646798,1114566304573444,472139602... |
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Singleton.h>
#include <AK/Time.h>
#include <Kernel/Scheduler.h>
#include <Kernel/Sections.h>
#include <Kernel/Time/TimeManagement.h>
#include <Kernel/TimerQueue.h>
namespace Kernel {
stati... |
org #4000
ld bc, 1
and b
ld hl, var1
add hl, bc
ld (hl), a
loop:
jr loop
org #c000
var1: db 1
|
; A008706: Coordination sequence for 3.3.3.4.4 planar net.
; 1,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200,205,210,215,220,225,230,235,240,245,250,255,260,265,270,275,280,285,290,295,300,305,310,315,320,325,330,335,340,345,3... |
dnl MIPS64 mpn_add_n -- Add two limb vectors of the same length > 0 and store
dnl sum in a third limb vector.
dnl Copyright 1995, 2000, 2001, 2002 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it un... |
###############################################################################
# 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... |
SECTION code_fp_math16
PUBLIC cm16_sccz80_exp
EXTERN cm16_sccz80_read1, expf16
cm16_sccz80_exp:
call cm16_sccz80_read1
jp expf16
|
;
;
; Z88 Maths Routines
;
; C Interface for Small C+ Compiler
;
; 7/12/98 djm
;Convert from integer to FP..
;We could enter in here with a long in dehl, so, mod to compiler I think!
SECTION code_fp
IF FORz88
INCLUDE "target/z88/def/fpp.def"
ELSE
INCLUDE "fpp.de... |
/* Copyright (c) 2002, 2020, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certain software (including... |
.ORIG x200
;GLOBAL INITIALIZE
AND R0,R0,#0
ADD R0,R0,#1
LEA R1,TRAPFILE
TRAP x0
ST R2,INIT_TRAP
AND R0,R0,#0
ADD R0,R0,#1
LEA R1,INTFILE
TRAP x0
ST R2,INIT_INT
LD R0,INIT_TRAP
JSRR R0
LD R0,INIT_INT
JSRR R0
BRnzp OS_START
TRAPFILE .STRINGZ "_trapvec.obj"
INTFILE .STRINGZ "_intvec.obj"
INIT_TRAP... |
/*
* Copyright 2008-2009, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*/
#include <kdevice_manager.h>
#include <new>
#include <set>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <KernelExport.h>
#include <Locker.h>
#include <module.h>
#include <PC... |
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer cbPNTriangles
// {
//
// float4x4 g_f4x4World; // Offset: 0 Size: 64
// float4x4 g_f4x4ViewProjection; // Offset: 64 Size: 64 [unused]
// float4x4 g_f4x4WorldViewProjec... |
;*******************************************************************************
; @INSTITUTION
; University of Sao Paulo | Sao Carlos School of Engineering | SEL
;------------------------------------------------------------------------------
; @DISCIPLINE
; Name: SEL0433 | Applications of Microprocessors I
; Profes... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1c35a, %rdi
nop
nop
nop
add %r15, %r15
movb (%rdi), %r12b
and %r15, %r15
lea addresses_A_ht+0xb0da, %r8
nop
nop
nop
cmp %rdx, %rdx
mov (%r8), %ebx
nop
nop
nop
nop
nop
and $20... |
; Sets kdbg stack to a safe place, because we can do there context switching.
; Call the handler
EXTERN kdbg_handler, kdbg_stack_hi
GLOBAL kdbg_handler_enter
kdbg_handler_enter:
push ebp
mov ebp, esp
mov esp, [kdbg_stack_hi]
call kdbg_handler
mov esp, ebp
pop ebp
ret
|
; A155977: a(n) = n^5 + n^3.
; 0,2,40,270,1088,3250,7992,17150,33280,59778,101000,162382,250560,373490,540568,762750,1052672,1424770,1895400,2482958,3208000,4093362,5164280,6448510,7976448,9781250,11898952,14368590,17232320,20535538,24327000,28658942,33587200,39171330,45474728,52564750,60512832,69394610,79290040,902835... |
/* Copyright 2019 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... |
; write a program that prints 123123 in STDOUT
global _start
section .data
num: dd 12312311; use a label to refer to a specific location in memory
newline: db 0xA
section .test
string_len:
xor rax, rax; empty rax to be used as counter over the elements
.loop:
cmp byte[rdi + rax], 0
je .end
inc r... |
;
; jfdctflt.asm - floating-point FDCT (SSE)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file should be assem... |
; A057016: Consider recurrence b(0) = (2n+1)/2, b(n) = b(n-1)*floor(b(n-1)); sequence gives first integer reached.
; Submitted by Christian Krause
; 5,105,18,550935,39,2730,68,2789204756584545,105,15939,150,943242300,203,53940,264,3714817857497700192049140000201816119835,333,137085,410,41463649689,495,291870,588,271942... |
// tsthash.cpp
#include "direct.h"
#include "bucket.h"
#include "hash.h"
#include <iostream.h>
main ()
{
int result;
Directory Dir (4);
result = Dir . Open ("tsthash");
if (result == 0)
{
cout<<"Please create tsthash.dir and tsthash.bkt"<<endl;
return 0;
}
char * keys[]={"bill", "lee", "pauline", "alan", "... |
; A089611: Number of primes between n^2 and (n+1/3)^2.
; Submitted by Jon Maiga
; 0,1,1,1,0,1,1,1,1,2,1,2,1,2,3,2,1,1,2,2,2,2,1,2,2,3,3,2,3,3,3,3,5,2,3,5,2,4,3,6,3,4,5,2,4,5,4,3,3,3,4,6,4,3,4,4,5,4,4,6,4,6,4,5,7,5,6,7,6,7,5,5,3,8,8,7,2,7,7,4,7,4,4,5,5,4,8,5,6,5,7,4,8,8,6,6,11,8,9,5
add $0,1
mov $3,$0
mul $3,2
mov $5,$... |
VDC_0 .equ $0000
VDC_1 .equ $0001
VDC_2 .equ $0002
VDC_3 .equ $0003
VDC1 .equ 1
VDC1_0 .equ VDC_0
VDC1_1 .equ VDC_1
VDC1_2 .equ VDC_2
VDC1_3 .equ VDC_3
VDC2 .equ 2
VDC2_0 .equ $0010
VDC2_1 .equ $0011
VDC2_2 .equ $0012
VDC2_3 .equ $0013
VPC_0 .equ $0008
VPC_1 .equ $00... |
; A216913: a(n) = Gauss_primorial(3*n, 3) / Gauss_primorial(3*n, 3*n).
; 1,2,1,2,5,2,7,2,1,10,11,2,13,14,5,2,17,2,19,10,7,22,23,2,5,26,1,14,29,10,31,2,11,34,35,2,37,38,13,10,41,14,43,22,5,46,47,2,7,10,17,26,53,2,55,14,19,58,59,10,61,62,7,2,65,22,67,34,23,70,71,2,73,74,5,38,77,26,79,10,1,82,83,14,85,86,29,22,89,10,91,46... |
; A168547: a(n) = 1 - 2*n^2 + 4*n*(1 + 2*n^2)/3.
; 1,3,17,59,145,291,513,827,1249,1795,2481,3323,4337,5539,6945,8571,10433,12547,14929,17595,20561,23843,27457,31419,35745,40451,45553,51067,57009,63395,70241,77563,85377,93699,102545,111931,121873,132387,143489,155195,167521,180483,194097,208379,223345,239011,255393,2725... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x250c, %rsi
lea addresses_A_ht+0x8e8c, %rdi
clflush (%rsi)
and %r15, %r15
mov $8, %rcx
rep movsw
nop
nop
nop
nop
nop
and %rcx, %rcx
lea addresses_WT_ht+0x16d0c, %r14
sub $29435, %r... |
;
;
; Z88 Maths Routines
;
; C Interface for Small C+ Compiler
;
; 7/12/98 djm
;double cos(double)
;Number in FA..
INCLUDE "fpp.def"
PUBLIC cos
EXTERN fsetup
EXTERN stkequ2
.cos
call fsetup
fpp(FP_COS)
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x2067, %rbp
nop
dec %rcx
mov $0x6162636465666768, %r10
movq %r10, %xmm0
movups %xmm0, (%rbp)
add %rax, %rax
lea addresses_A_ht+0x1417f, %rdi
cmp $38618, %r15
movb $0x61, ... |
<%
from pwnlib.shellcraft.mips.linux import syscall
%>
<%page args="fd, buf, n, flags, addr, addr_len"/>
<%docstring>
Invokes the syscall recvfrom. See 'man 2 recvfrom' for more information.
Arguments:
fd(int): fd
buf(void): buf
n(size_t): n
flags(int): flags
addr(SOCKADDR_ARG): addr
addr_... |
;
; This file contains the splash screen code and bitmap
;
[bits 32]
global show_splash
extern keys
%define KEY_ENTER 0x1C
section .text
; void show_splash()
; Show splash screen and wait for user to press ENTER
show_splash:
push ecx
push esi
push edi
mov ecx, 64000 ; ... |
; A111365: a(n) = 5*a(n-1) + 3*a(n-2) where a(0) = a(1) = 1.
; Submitted by Jamie Morken(s4)
; 1,1,8,43,239,1324,7337,40657,225296,1248451,6918143,38336068,212434769,1177182049,6523214552,36147618907,200307738191,1109981547676,6150830952953,34084099407793,188872989897824,1046617247712499
mov $1,3
mov $3,1
lpb $0
sub... |
; A254398: Final digits of A237424 in decimal representation.
; 1,4,7,4,7,7,4,7,7,7,4,7,7,7,7,4,7,7,7,7,7,4,7,7,7,7,7,7,4,7,7,7,7,7,7,7,4,7,7,7,7,7,7,7,7,4,7,7,7,7,7,7,7,7,7,4,7,7,7,7,7,7,7,7,7,7,4,7,7,7,7,7,7,7,7,7,7,7,4,7,7,7,7,7,7,7
sub $0,1
mov $1,2
mov $2,1
lpb $0
add $2,1
sub $0,$2
lpe
lpb $2
mov $1,1
ad... |
COMMENT @=====================================================================
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC/GEOS
MODULE: Iclas -- IconList
FILE: iconlistMain.asm
AUTHOR: Martin Turon, October 16, 1992
METHODS:
Name Description
---- -----------
REVISION HIS... |
if_eq macro
bne L1\@!
endm
if_ne macro
beq L1\@!
endm
if_le macro
ble L1\@!
endm
endi macro
L1\@@:
endm
do macro
L1\@!:
endm
while macro
bra L1\@@
endm
while_eq macro
bne L1\@@
endm
while_ne macro
beq L1\@@
endm
|
[org 0x0100]
jmp start
message: db 'hello_word'
printstr:
;parameters order of pushing
;x pos, ypos, attribute, message, length
push bp
mov bp, sp
;saving registers
push ax
push cx
push di
push si
push es
mov ax, 0xb800
mov es, ax ;point es to video base
mov al, 80 ;load al w... |
gdt_start:
; the GDT starts with a null 8-byte
dd 0x0
dd 0x0
; GDT for code segment base = 0x00000000, length = 0xfffff
; for flags, refer to os-dev.pdf, page 36
gdt_code:
dw 0xffff ; segment length, bits 0-15
dw 0x0 ; segment base bits 0-15
db 0x0 ; segment base bits 1... |
; Copyright 2012 Bubble Zap Games
;
; 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 agreed to in writi... |
.set k_p_in, 0
.set k_p_wei, 8
.set k_p_out, 16
.set k_hi, 24
.set k_wi, 28
.set k_n, 32
.set k_k, 36
.set k_c, 40
.set k_ho, 44
.set k_wo, 48
.set k_stride_h, 52
.set k_stride_w, 56
.set k_dilation_h, 60
.set k_dilation_w, 64
.set k_pad_h, 68
.set k_pad_w, 72
.set k_y, 76
.set k_x, 80
.set k_group, 84
.set k_batch_m, ... |
; A075682: First differences of A075681.
; 0,2,19,39,61,86,114,145,179,216,256,299,345,394,446,501,559,620,684,751,821,894,970,1049,1131,1216,1304,1395,1489,1586,1686,1789,1895,2004,2116,2231,2349,2470,2594,2721,2851,2984,3120,3259,3401,3546
mov $4,$0
lpb $0
sub $0,1
trn $0,1
add $0,1
add $3,6
sub $4,1
add... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>flistxattr(fd, list, size) -> str
Invokes the syscall flistxattr.
See 'man 2 flistxattr' for more information.
Arguments:
fd(int): fd
list(char*): list
size(size_t): size
Returns:
ssize_... |
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2019 The Profitbase developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "zpbcchain.h"
#include "invalid.h"
#include "main.h"
#include "txdb.h"
#incl... |
_MeetLaprasGuyText::
text "Oh! Hi! You're"
line "not a ROCKET! You"
cont "came to save us?"
cont "Why, thank you!"
para "I want you to"
line "have this #MON"
cont "for saving us."
prompt
_HeresYourLaprasText::
text "It's LAPRAS. It's"
line "very intelligent."
para "We kept it in our"
line "lab, but it wi... |
; double fdim(double x, double y)
SECTION code_fp_math48
PUBLIC am48_fdim
EXTERN am48_dcmp, am48_dsub, am48_derror_znc
am48_fdim:
; return the positive difference between AC' and AC
;
; if AC' > AC return AC' - AC
; if AC' <= AC return 0
;
; enter : AC = double y
; AC' = double x
... |
/*
* Copyright (C) 2013 The Android Open Source Project
*
* 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 app... |
#pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Scripting/Natives/Generated/game/ui/BaseItemDataSource.hpp>
namespace RED4ext
{
namespace game::ui {
struct ItemDataViewWrapper : game::ui::BaseItemDataSource
{
static conste... |
###############################################################################
# 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... |
;
; ZX Spectrum specific routines
; by Stefano Bodrato, 22/06/2006
; Fixed by Antonio Schifano, Dec 2008
;
; Copy a variable from basic
;
; int __CALLEE__ zx_getstr_callee(char variable, char *value);
;
; Debugged version by Antonio Schifano, 29/12/2008
;
; $Id: zx_getstr_callee.asm,v 1.2 2008/12/31 13:58:11 stefa... |
; A231722: Partial sums of A001088 starting from its second term; a(1)=0, a(n) = A001088(2)+...+A001088(n).
; 0,1,3,7,23,55,247,1015,5623,24055,208375,945655,9793015,62877175,487550455,3884936695,58243116535,384392195575,6255075618295,53220543000055,616806151581175,6252662237392375,130241496125238775,112215216722800997... |
*
* Counter program 1 for COSMAC
* SB-Assembler
*
.CR 1802 ;To load the 1802 cross overlay
.OR $0000
*
START LDI #IOR ;D <- #IOR
PLO 3 ;R(3).0 <- D
SEX 3 ;X <- 3
LOOP1 GLO 4 ;D <- R(4).0
STR 3 ;M(R(3)) <- D
OUT 1 ;BUS <- M(R(3)); R(3)++
DEC 3 ;R(3)--
INC 4 ;R(4)++
BR LOOP1 ;Branch to LOOP1
*
IOR .DB 0 ;IO ... |
#ifndef BOOST_METAPARSE_CHANGE_ERROR_MESSAGE_HPP
#define BOOST_METAPARSE_CHANGE_ERROR_MESSAGE_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.t... |
#include "rng.hpp"
#include <random>
#define ROL64(x, k) (((x) << (k)) | ((x) >> (64 - (k))))
static inline uint64_t splitmix64(uint64_t& state){
uint64_t result = (state += 0x9E3779B97f4A7C15);
result = (result ^ (result >> 30)) * 0xBF58476D1CE4E5B9;
return (result ^ (result >> 27)) * 0x94D049BB133111EB;... |
; A340536: Digital root of 2*n^2.
; Submitted by Christian Krause
; 2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9,2,8,9,5,5,9,8,2,9
add $0,1
pow $0,2
mul $0,40
sub $0,1
mul $0,19
div $0,18
add $0,1
mod $... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
#ifndef PLANNER_BASE_HPP
#define PLANNER_BASE_HPP
// The MIT License (MIT)
//
// Copyright (c) 2015, 2016, 2017 Howard Hinnant
// Copyright (c) 2016 Adrian Colomitchi
// Copyright (c) 2017 Florian Dang
// Copyright (c) 2017 Paul Thompson
// Copyright (c) 2018, 2019 Tomasz Kamiński
// Copyright (c) 2019 Jiangang Zhuang
... |
; .:*~*:.__.:*~*:.
; | |
; |RiFT8 Firmware|
; |By Fell, 2012 |
; | |
; ':*~*:.__.:*~*:'
; MEMORY MAP LAYOUT:
; 0000-7FFF: 32kB ROM
; 8000-FFFE: 32kB Static RAM
; RAM MAP:
; 8000-83FF: ~1kB OS scratch space (buffers and stuff)
; 8400-FFFE: User space (stack grows down from FFEE)
; I/O MAP LA... |
#ifndef FSLGRAPHICS_RENDER_TEXTURE2DFILTERHINT_HPP
#define FSLGRAPHICS_RENDER_TEXTURE2DFILTERHINT_HPP
/****************************************************************************************************************************************************
* Copyright (c) 2014 Freescale Semiconductor, Inc.
* All rights re... |
/********************************************************
Copyright (c) <2016> <Bloodknight Studios>
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 lim... |
SECTION .text
GLOBAL test
test:
movd xmm0, eax
movd xmm0, ecx
movd xmm0, edx
movd xmm0, ebx
movd xmm0, esp
movd xmm0, ebp
movd xmm0, esi
movd xmm0, edi
movd xmm0, r8d
movd xmm0, r9d
movd xmm0, r10d
movd xmm0, r11d
movd xmm0, r12d
movd xmm0, r13d
movd xmm0, r14d
movd xmm0, r15d
movd ebx, xmm0
movd r14d, xmm0
movd xmm1... |
// license:BSD-3-Clause
// copyright-holders:Miodrag Milanovic
/***************************************************************************
Digital Microsystems DMS-5000
2010-01-11 Skeleton driver.
****************************************************************************/
#include "emu.h"
#include "cpu/i86/i86.h... |
;*******************************************************************************
;*
;* ASM_006: Control basico del ADC
;*
;*******************************************************************************
;* FileName: main.asm
;* Processor: PIC16F887
;* Complier: MPASM v5.77
;* Author: ... |
; A164392: Number of binary strings of length n with no substrings equal to 0001 or 0010.
; 1,2,4,8,14,25,44,78,137,241,423,743,1304,2289,4017,7050,12372,21712,38102,66865,117340,205918,361361,634145,1112847,1952911,3427120,6014177,10554145,18521234,32502500,57037912,100094558,175653705,308250764,540942382,949287705,16... |
; A266298: Triangle read by rows giving successive states of cellular automaton generated by "Rule 14" initiated with a single ON (black) cell.
; 1,1,1,0,1,1,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,... |
#include "te_service_impl.h"
#include "info_manager.h"
#include "task.h"
te_rpc::Task toRpc( const tasks::task_ptr t )
{
te_rpc::Task tmp;
tmp.set_pid( t->pid() );
tmp.set_name( t->name() );
tmp.set_path_name( t->path_name() );
for( auto arg : t->argv() )
{
tmp.add_args( arg );
}
... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.0.0 #11528 (Linux)
;--------------------------------------------------------
; Processed by Z88DK
;--------------------------------------------------------
EXTERN __divschar
EXTERN __divsc... |
; A186294: (A007519(n)+1)/2.
; 9,21,37,45,49,57,69,97,117,121,129,141,157,169,177,201,205,217,225,229,261,285,289,297,301,309,321,337,381,385,405,429,441,465,469,477,489,505,517,525,549,565,577,597,601,609,625,645,649,661,681
seq $0,5123 ; Numbers n such that 8n + 1 is prime.
mul $0,4
add $0,1
|
;--------------------------------------------------------
; File Created by C51
; Version 1.0.0 #1069 (Apr 23 2015) (MSVC)
; This file was generated Fri Feb 26 19:06:53 2016
;--------------------------------------------------------
$name hellolcd
$optc51 --model-small
R_DSEG segment data
R_CSEG segment ... |
#include "dfinstance.h"
#include "memorylayout.h"
#include "selectparentlayoutdialog.h"
#include "ui_selectparentlayoutdialog.h"
SelectParentLayoutDialog::SelectParentLayoutDialog(DFInstance *df, QWidget *parent) :
QDialog(parent),
ui(new Ui::SelectParentLayoutDialog),
m_df(df),
m_layout(NULL)
{
ui... |
; sp1_UpdateNow
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_UpdateNow
EXTERN asm_sp1_UpdateNow
_sp1_UpdateNow:
push ix
call asm_sp1_UpdateNow
pop ix
ret
|
; A025712: Index of 6^n within sequence of numbers of form 2^i*6^j.
; 1,4,10,18,29,42,58,77,98,122,148,177,209,243,280,319,361,405,452,502,554,609,666,726,789,854,922,992,1065,1140,1218,1299,1382,1468,1556,1647,1741,1837,1936,2037,2141,2247,2356,2468,2582,2699,2818,2940,3065,3192,3322,3454,3589,3727,3867,4010,4155,4303... |
; A082999: a(n) = A046195(n) mod 5.
; 1,1,4,1,4,0,4,0,4,0,4,1,4,1,1,1,1,4,1,4,0,4,0,4,0,4,1,4,1,1,1,1,4,1,4,0,4,0,4,0,4,1,4,1,1,1,1,4,1,4,0,4,0,4,0,4,1,4,1,1,1,1,4,1,4,0,4,0,4,0,4,1,4,1,1,1,1,4,1,4,0,4,0,4,0,4,1,4,1,1,1,1,4,1,4,0,4,0,4,0,4,1,4,1,1
mul $0,7
div $0,3
sub $0,1
pow $0,2
lpb $0
mod $0,5
lpe
mov $1,$0
|
%macro PUSH_CC 0
; Don't bother being too picky, just take the time
pusha
%endmacro
%macro PUSH_SEG 0
push ds
push es
push fs
push gs
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
%endmacro
%macro POP_CC 0
popa
%endmacro
%macro POP_SEG 0
pop gs
pop fs
pop es
pop ds
%endmacro
|
;
;
; Copyright (c) 2015 - 2021 by blindtiger ( blindtiger@foxmail.com )
;
; The contents of this file are subject to the Mozilla Public 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.mozilla.org/MPL/
;
; Sof... |
;*******************************************************************************
;* Tutorial Twenty-One Input from a device using Kernel Jump Vectors *
;* *
;* Written By John C. Dale ... |
/*=============================================================================
Copyright (c) 2001-2011 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
This is an auto-generated file. Do n... |
###############################################################################
# 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... |
;====----------------------------------------------------------------------====
; Microsoft Serial Compatible Mouse Driver (c)2001 Richard Fillion
; MSLogitech Driver Cell Distributed under BSD License
;====----------------------------------------------------------------------====
[bits 32]
section .c_... |
;
; Z88 Graphics Functions
;
; Written around the Interlogic Standard Library
;
; $Id: getmaxy.asm,v 1.5 2017-01-02 21:51:24 aralbrec Exp $
;
INCLUDE "graphics/grafix.inc"
SECTION code_clib
PUBLIC getmaxy
PUBLIC _getmaxy
.getmaxy
._getmaxy
... |
XLIB pixeladdress
INCLUDE "graphics/grafix.inc"
XREF base_graphics
;
; $Id: pixladdr.asm,v 1.6 2002/04/17 21:30:25 dom Exp $
;
; ******************************************************************
;
; Get absolute pixel address in map of virtual (x,y) coordinate.
;
; TI Calculator version
;
; addr=base+12*y+int(... |
/*
* Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... |
; A114240: a(n) = (n+1)(n+2)^2*(n+3)(7n^2 + 23n + 20)/240.
; Submitted by Christian Krause
; 1,15,94,380,1176,3038,6888,14148,26895,48037,81510,132496,207662,315420,466208,672792,950589,1318011,1796830,2412564,3194884,4178042,5401320,6909500,8753355,10990161,13684230,16907464,20739930,25270456
mov $3,2
mov $5,$0
lpb $... |
format PE console
entry start
include 'win32w.inc'
include 'miscmacros.inc'
include 'convert.inc'
include 'parser.inc'
include 'linkedlist.inc'
include 'primitives.inc'
MAXBUFFER = 512
section '.data' data readable writeable
include 'variables.inc'
theresult du '=> ',0
;; WRONG
;str1 du '(progn ... |
; A125119: Values of repunits with odd length L in base (L+3)/2 representation.
; Submitted by Christian Krause
; 1,13,341,19531,2015539,329554457,78536544841,25736391511831,11111111111111111,6115909044841454629,4182283628124518315101,3479492117784426363920483,3461445831219105624193478971
add $0,1
mov $2,1
mov $3,$0
s... |
###############################################################################
# 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... |
* Do dump V2.01 1987 Tony Tebby
*
section sdp
*
xdef sdp_do do screen dump
xdef sdp_dosv do screen dump in supervisor mode
*
xref sdp_byte send byte
xref sdp_sbuf send buffer
xref sdp_ctrl send control sequenc... |
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.0.2 #11722 (Linux)
;--------------------------------------------------------
; Processed by Z88DK
;--------------------------------------------------------
EXTERN __divschar
EXTERN __divsc... |
/*
* FreeRTOS Kernel V10.1.0
* Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, includ... |
object_const_def ; object_event constants
const ROUTE43_SUPER_NERD1
const ROUTE43_SUPER_NERD2
const ROUTE43_SUPER_NERD3
const ROUTE43_FISHER
const ROUTE43_LASS
const ROUTE43_YOUNGSTER
const ROUTE43_FRUIT_TREE
const ROUTE43_POKE_BALL
Route43_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCAL... |
/* This function takes last element as pivot, places the pivot element at its
correct position in sorted array, and places all smaller (smaller than pivot)
to left of pivot and all greater elements to right of pivot */
int partition (int arr[], int l, int h)
{
int x = arr[h];
int i = (l - 1);
for (... |
varAxis1 DW 0 ; address of first axis in a rotation action
varAxis2 DW 0 ; address of 2nd axis in a roation action
; Variables to simulate 6502 registers until code fixed
; These must be here in this order as reading Y and X can then be a 16 bit read
regX DB 0 ; using 16 bit read into BC t... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x181db, %r12
nop
and $3858, %rbp
vmovups (%r12), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $0, %xmm3, %rsi
nop
nop
xor $3903, %r11
lea addresses_WT_ht+0x18bdf, %rb... |
// Copyright 2020-2022 The Defold Foundation
// Copyright 2014-2020 King
// Copyright 2009-2014 Ragnar Svensson, Christian Murray
// Licensed under the Defold License version 1.0 (the "License"); you may not use
// this file except in compliance with the License.
//
// You may obtain a copy of the License, together wi... |
; A063709: Remainder when n^n is divided by n!.
; Submitted by Jamie Morken(s1)
; 0,0,0,3,16,5,576,2023,4096,227529,2656000,26301011,443667456,5268921853,294332416,820814907375,19909425135616,225992064764177,5838869363687424,43054524724611979,296380418621440000,18832310886273284421,53576448734169923584,1701585835995094... |
//----------------------------------------------------------------------------
// Anti-Grain Geometry - Version 2.4
// Copyright (C) 2002-2005 Maxim Shemanarev (http://www.antigrain.com)
//
// Permission to copy, use, modify, sell and distribute this software
// is granted provided this copyright notice appears in all... |
TITLE CMDLINE - Copyright (c) SLR Systems 1994
INCLUDE MACROS
INCLUDE IO_STRUC
INCLUDE MODULES
INCLUDE EXES
PUBLIC PROCESS_POSIT_CMDLINE,SET_TINY,SET_BINARY,GETNST_SLASH,GET_NUMBER16,SET_STACK_1,GET_NUMBER
;basic command line functions
EXTERNDEF TFLAGS:BYTE
.DATA
EXTERNDEF OUTBUF:BYTE,SYMBOL_... |
; A301672: Coordination sequence for node of type V2 in "krr" 2-D tiling (or net).
; 1,4,8,13,17,20,25,30,33,37,42,46,50,54,58,63,67,70,75,80,83,87,92,96,100,104,108,113,117,120,125,130,133,137,142,146,150,154,158,163,167,170,175,180,183,187,192,196,200,204,208,213,217,220,225,230,233,237,242,246,250,254,258,263,267,27... |
// ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2021
// MIT License
#pragma once
#include <ArduinoJson/Polyfills/attributes.hpp>
#include <ArduinoJson/Polyfills/type_traits.hpp>
namespace ARDUINOJSON_NAMESPACE {
// Forward declarations.
class ArrayRef;
class ObjectRef;
template <typename>
class El... |
; A182260: Number of ordered triples (w,x,y) with all terms in {1,...,n} and 2w<x+y.
; 0,3,11,28,56,99,159,240,344,475,635,828,1056,1323,1631,1984,2384,2835,3339,3900,4520,5203,5951,6768,7656,8619,9659,10780,11984,13275,14655,16128,17696,19363,21131,23004,24984,27075,29279,31600,34040
add $0,1
mov $1,2
mul $1,$0
bin $... |
; A190785: Numbers that are congruent to {0, 2, 3, 5, 7, 9, 11} mod 12.
; 0,2,3,5,7,9,11,12,14,15,17,19,21,23,24,26,27,29,31,33,35,36,38,39,41,43,45,47,48,50,51,53,55,57,59,60,62,63,65,67,69,71,72,74,75,77,79,81,83,84,86,87,89,91,93,95,96,98,99,101,103,105,107,108,110,111,113,115,117,119,120,122,123,125,127,129,131,132... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.