text stringlengths 1 1.05M |
|---|
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_h.h" for further details
; ----------------------------------------------------------------
; void BIFROSTH_showTilePosH(unsigned int lin,unsigned int col)
SECTION code... |
bits 32
db 0xF3, 0x0F, 0x01, 0x28 ; RSTORSSP [eax]
db 0xF3, 0x0F, 0x01, 0xEA ; SAVEPREVSSP
db 0xF3, 0x0F, 0x01, 0xE8 ; SETSSBSY
db 0xF3, 0x0F, 0x1E, 0xC8 ; RDSSPD eax
db 0xF3, 0x0F, 0x1E, 0xFA ; ENDBR6... |
;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
;IN USING, DISPLAYI... |
_SilphCoPresidentText::
text "PRESIDENT: Thank"
line "you for saving"
cont "SILPH!"
para "I will never"
line "forget you saved"
cont "us in our moment"
cont "of peril!"
para "I have to thank"
line "you in some way!"
para "Because I am rich,"
line "I can give you"
cont "anything!"
para "Here, maybe this... |
; (TestGetCommandTail.asm)
; Calls GetCommandtail from the Irvine32 library.
INCLUDE Irvine32.inc
INCLUDE Macros.inc
.data
cmdTail BYTE 129 DUP(0) ; empty buffer
.code
main PROC
mov edx,OFFSET cmdTail
call GetCommandtail ; fills the buffer
jc L1
mWrite "Ca... |
; A153703: Partial sums of A069996.
; 1,13,94,526,2551,11299,47020,186988,718429,2686729,9831658,35340826,125154355,437641663,1513809688,5187129880,17627632249,59469045061,199327841590,664232428390,2201904349231,7264715299483,23865295832644,78091766836996,254610227137621,827377327121089,2680397515972930,865886594420273... |
; Sound Effects
;------------------------------------------------------------------------------
; Setup - clear sound chip and set maximum volume!
SOUND_SETUP
ldx #$00
txa
SETUP1
sta $d400,x
inx
cpx #$19
bne SETUP1
lda #$0f
sta $d418
;Set up sawtooth for Voice 1 (boring)
lda #$f0
sta $d406... |
; size_t w_array_append(w_array_t *a, void *item)
SECTION code_adt_w_array
PUBLIC _w_array_append
EXTERN asm_w_array_append
_w_array_append:
pop af
pop hl
pop bc
push bc
push hl
push af
jp asm_w_array_append
|
processor 6502
org $0000,0
ds $8000
org $8000
start:
lda #1
adc #2
sta 0
trap:
jmp trap
org $FFFA
dc.w start
dc.w start
dc.w start |
; A168484: Numbers that are congruent to {2, 3, 5, 7} mod 11.
; 2,3,5,7,13,14,16,18,24,25,27,29,35,36,38,40,46,47,49,51,57,58,60,62,68,69,71,73,79,80,82,84,90,91,93,95,101,102,104,106,112,113,115,117,123,124,126,128,134,135,137,139,145,146,148,150,156,157,159,161,167,168,170,172,178,179,181,183,189,190,192,194,200,201,... |
;Fast String code page support functions
.386
.model flat
_TEXT segment dword public use32 'CODE'
WinMain1 segment virtual
@WinMain1:
ret
WinMain1 ends
_TEXT ends
_DATA segment dword public use32 'DATA'
_DATA ends
_BSS segment dword public use32 'BSS'
_BSS ends
DGROUP group _BSS,_D... |
/*
* Copyright 2014-2016 CyberVision, Inc.
*
* 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 o... |
format ELF executable 3
entry start
segment readable executable
start:
mov edx, msglen
mov ecx, msg
mov ebx, 1
mov eax, 4
int 80h
segment readable writeable
msg db 'Hello world!', 0Ah
msglen = $ - msg
|
; A066107: a(0) = 0; for n > 0, a(2n+1) = (2n+1)*(2n+3); a(2n) = 2n + 2.
; 0,3,6,15,10,35,14,63,18,99,22,143,26,195,30,255,34,323,38,399,42,483,46,575,50,675,54,783,58,899,62,1023,66,1155,70,1295,74,1443,78,1599,82,1763,86,1935,90,2115,94,2303,98,2499,102,2703,106,2915,110,3135,114,3363,118,3599,122,3843,126,4095,130,4... |
include vesadata.asm
.386
VIDEOMODE_TEXT_DATASEG EQU 0b800h
VIDEOMODE_TEXT_DATABASE EQU (VIDEOMODE_TEXT_DATASEG * 16)
VIDEOMODE_TEXT_BYTESPERLINE EQU 160
VIDEOMODE_TEXT_MAX_LINE EQU 25
VIDEOMODE_TEXT_MAX_OFFSET equ (VIDEOMODE_TEXT_MAX_LINE * VIDEOMODE_TEXT_BYTESPERLINE )
kernelData segment para use1... |
// Test of simple enum - inline enum definitions
// Commodore 64 PRG executable file
.file [name="enum-4.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpst... |
/*
* This file contains implementation of NDIS6 OID-related procedures.
*
* Copyright (c) 2008-2017 Red Hat, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met :
* 1. Redistributions of source code must retai... |
#pragma once
#if defined(_WIN32) || defined(_WIN64)
#define GLAPI __stdcall
#else
#define GLAPI
#endif
#if defined(__x86_64__) || defined(_WIN64)
typedef long long int GLsizeiptr;
typedef long long int GLintptr;
#else
typedef int GLsizeiptr;
typedef int GLintptr;
#endif
typedef char GLbyte;
typedef char GLchar;
type... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xdcb7, %rax
nop
inc %rbx
movups (%rax), %xmm4
vpextrq $0, %xmm4, %r11
nop
sub %r9, %r9
lea addresses_WC_ht+0x18c9f, %rbx
clflush (%rbx)
nop
nop
nop
nop
cmp %rax, %rax
movl $0x... |
SECTION code_fp_math16
PUBLIC ___h2ulong_callee
PUBLIC _f16_u32_f16_fastcall
EXTERN cm16_sdcc___h2ulong_callee
EXTERN cm16_sdcc___h2ulong_fastcall
defc ___h2ulong_callee = cm16_sdcc___h2ulong_callee
defc _f16_u32_f16_fastcall = cm16_sdcc___h2ulong_fastcall
|
#include "SkyBox.h"
void SkyBox::Init(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
{
//set local device and context to reference device and context
this->pDevice = pDevice;
this->pContext = pContext;
//init shaders
pVS.Init(L"VSSkyBox.cso", pDevice);
pPS.Init(L"PSSkyBox.cso", pDevice);
//init and creat... |
; A173200: Solutions y of the Mordell equation y^2 = x^3 - 3a^2 - 1 for a = 0,1,2, ... (solutions x are given by A053755).
; 0,11,70,225,524,1015,1746,2765,4120,5859,8030,10681,13860,17615,21994,27045,32816,39355,46710,54929,64060,74151,85250,97405,110664,125075,140686,157545,175700,195199,216090,238421,262240,287595,3... |
; A069306: Number of 2 X n binary arrays with a path of adjacent 1's from upper left corner to anywhere in right hand column.
; 5,12,29,70,169,408,985,2378,5741,13860,33461,80782,195025,470832,1136689,2744210,6625109,15994428,38613965,93222358,225058681,543339720,1311738121,3166815962,7645370045,18457556052,44560482149... |
; A182308: a(n+1) = a(n) + floor(a(n)/7) with a(0)=7
; 7,8,9,10,11,12,13,14,16,18,20,22,25,28,32,36,41,46,52,59,67,76,86,98,112,128,146,166,189,216,246,281,321,366,418,477,545,622,710,811,926,1058,1209,1381,1578,1803,2060,2354,2690,3074,3513,4014,4587,5242,5990
mov $2,$0
lpb $2
div $1,7
mul $1,8
add $1,8
sub $... |
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... |
#include "LeakClient.h"
#include <string>
#include <iostream>
#include "libLeak.h"
#include <Psapi.h>
///
/// WriteEvent class
/// This class creates wraps a Windows Event (CreateEvent)
///
class WriteEvent {
public:
WriteEvent (const std::string& name)
: mEventName (name)
, mHandle(NULL)
{
}
... |
; A154271: Dirichlet inverse of A154272; Fully multiplicative with a(3^e) = (-1)^e, a(p^e) = 0 for primes p <> 3.
; 1,0,-1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
m... |
; unsigned char esx_f_get_canonical_path(char *pathname, char *canonical)
SECTION code_esxdos
PUBLIC asm_esx_f_get_canonical_path
EXTERN l_asm_esx_f_getcwd
asm_esx_f_get_canonical_path:
; enter : hl = canonical
; de = pathname
;
; exit : success
;
; hl = 0
; carr... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: lmManager.asm
AUTHOR: John Wedgwood, Apr 12, 1989
REVISION HISTORY:
Name Date Description
---- ---- -----------
John 4/12/89 Initial ... |
;Здесь уже свободный стиль, это всё таки пример демонстрация,
;приветствуются подробные комментарии на русском и английском
;языках и демонстрация тестов на устойчивость функции и её
;возможностей. А также можно измерять производительность.
|
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1997 - 2000
//
// File: N E T R A S . C P P
//
// Contents: Routines supporting RAS interoperability
//
// Notes:
//
// Author: billi 07 03 2001
... |
; Purpose:
; Enable RDP via Windows API
; Open port 3386
; set fDenyTSConnections to False
[BITS 32]
global _start
_start:
;for the handle
xor edx, edx
mov edi, esp
mov dword [edi], edx
sub esp, 0x10 ;avoid handle being overwritten
; Prepare the key
; SYSTEM\CurrentControlSet\Control\Terminal Server
... |
copyright zengfr site:http://github.com/zengfr/romhack
001590 lea ($20,A0), A0
012274 move.l (A2)+, (A3)+
012276 move.l (A2)+, (A3)+
01A75E dbra D4, $1a75c
05E5C8 beq $5e33c
copyright zengfr site:http://github.com/zengfr/romhack
|
// { dg-do compile { target c++11 } }
// { dg-require-cstdint "" }
// Copyright (C) 2008-2017 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published ... |
page ,132
title _innative_internal_env_memset - set sections of memory all to one byte
;***
;memset.asm - set a section of memory to all one byte
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;Purpose:
; contains the memset() routine
;
;************************************************... |
; A099549: Odd part of n modulo 8.
; 1,1,3,1,5,3,7,1,1,5,3,3,5,7,7,1,1,1,3,5,5,3,7,3,1,5,3,7,5,7,7,1,1,1,3,1,5,3,7,5,1,5,3,3,5,7,7,3,1,1,3,5,5,3,7,7,1,5,3,7,5,7,7,1,1,1,3,1,5,3,7,1,1,5,3,3,5,7,7,5,1,1,3,5,5,3,7,3,1,5,3,7,5,7,7,3,1,1,3,1,5,3
add $0,1
mov $2,2
lpb $0,1
gcd $2,$0
div $0,$2
lpe
mod $0,8
mov $1,$0
|
; A081040: 5th binomial transform of (1,4,0,0,0,0,....).
; 1,9,65,425,2625,15625,90625,515625,2890625,16015625,87890625,478515625,2587890625,13916015625,74462890625,396728515625,2105712890625,11138916015625,58746337890625,308990478515625,1621246337890625,8487701416015625,44345855712890625,231266021728515625,12040138244... |
// Copyright (c) 2015-2016 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
// http://vittorioromeo.info | vittorio.romeo@outlook.com
#pragma once
#include <ecst/config.hpp>
#include <ecst/aliases.hpp>
#include <ecst/utils.hpp>
#include <ecst/... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1
TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\entities.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
PUBLIC ??_C@_02KCAKIFL@lt@ ; `string... |
//=================================================================================================
//
// Low-Resolution Rendering Sample
// by MJP
// http://mynameismjp.wordpress.com/
//
// All code and content licensed under the MIT license
//
//====================================================================... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; ReadMm2.Asm
;
; Abstract:
;
; AsmReadMm2 function
;
; Notes:
;
;---------------------... |
#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofSetVerticalSync(true);
ofSetCircleResolution(80);
ofBackground(54, 54, 54);
// 0 output channels,
// 2 input channels
// 44100 samples per second
// 256 samples per buffer
// 4 num buffers (latenc... |
#include "WebSocket.h"
#include <thread>
#include <mutex>
#include <queue>
#include <list>
#include <signal.h>
#include <errno.h>
#include <algorithm>
#include "libwebsockets.h"
#define WS_RX_BUFFER_SIZE (65536)
#define WS_RESERVE_RECEIVE_BUFFER_SIZE (4096)
#define LOG_TAG "WebSocket.cpp"
void nim_free(void** ... |
/*
Copyright 2020 The OneFlow 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 agre... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (C) 2022 Intel Corporation
;
; SPDX-License-Identifier: MIT
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
default rel
%include "reg_sizes.asm"
%define DECOMP_OK 0
%define END_INPUT 1
%define OUT_OVERFLOW 2... |
;; # @(#) vesafns.asm Version 1.1 (12/29/94). Copyright Venue #
;************************************************************************/
;* */
;* (C) Copyright 1989, 1990, 1990, 1991, 1992, 1993, 1994, 1995 Venue. */
;* All Rights Reserved. */
;* Manufactured in the United States of America. */
;*... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1bf27, %rsi
lea addresses_WT_ht+0x1117c, %rdi
clflush (%rsi)
nop
nop
nop
dec %rbp
mov $11, %rcx
rep movsb
nop
nop
nop
nop
nop
add %r15, %r15
lea addresses_D_ht+0x1b1de, %r10
... |
assume cs:code, ds:data
data segment
inputMsg db 'Please input the filename: $'
maxFileName db 100
lFileName db ?
fileName db 100 dup(?), '$'
vocals db 'aeiouAEIOU'
nrv db $ - vocals
fileHandle dw ?
openErrorMsg db 'There was an error opening the file.$'
readErrorMsg db 'There was an error reading the file.$'... |
;
;=============================================================================
; MMC/SD/SDHC/SDXC CARD STORAGE DRIVER
;=============================================================================
;
; 1) TESTING
; - TRY TO TEST GOIDLE, FIND CARD THAT REQUIRES 2 REQUESTS
; - DUAL CARDS
; - TEST XC CARD TYPE DE... |
INCLUDE "config_private.inc"
SECTION code_driver
SECTION code_driver_character_output
PUBLIC _acia_putc
EXTERN aciaTxCount, aciaTxIn, aciaTxBuffer, aciaControl
EXTERN asm_z80_push_di, asm_z80_pop_ei_jp
_acia_putc:
; enter : l = char to output
; exit : l = 1 if Tx ... |
// 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... |
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrProcessor.h"
#include "GrRenderTargetPriv.h" // TODO: remove once refPipelineState gets passed stencil settings.
#include "GrStencilSettings.h"
#include "GrVkGpu... |
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x10441, %rsi
lea addresses_A_ht+0x1b641, %rdi
nop
nop
sub %rdx, %rdx
mov $104, %rcx
rep movsq
nop
nop
nop
add %rbp, %rbp
lea addresses_UC_ht+0xca59, %r8
nop
nop
nop
nop
nop
xor %r15, %r... |
;; Copyright 2019 Chris Smeele
;;
;; 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
;;
;; https://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to i... |
; void *p_forward_list_alt_remove_after(p_forward_list_alt_t *list, void *list_item)
SECTION code_clib
SECTION code_adt_p_forward_list_alt
PUBLIC p_forward_list_alt_remove_after_callee
EXTERN asm_p_forward_list_alt_remove_after
p_forward_list_alt_remove_after_callee:
pop af
pop hl
pop bc
push af
... |
; A141187: Primes of the form -x^2+6*x*y+3*y^2 (as well as of the form 8*x^2+12*x*y+3*y^2).
; Submitted by Jon Maiga
; 3,11,23,47,59,71,83,107,131,167,179,191,227,239,251,263,311,347,359,383,419,431,443,467,479,491,503,563,587,599,647,659,683,719,743,827,839,863,887,911,947,971,983,1019,1031,1091,1103,1151,1163,1187,12... |
/*
* Copyright © <2010>, 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,... |
#pragma once
#include "ParameterList.hpp"
#include <map>
namespace axis { namespace services { namespace language { namespace syntax { namespace evaluation {
class ParameterListImpl : public ParameterList
{
public:
class IteratorLogicImpl : public ParameterList::IteratorLogic
{
public:
typedef std::map<axis::S... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x18f48, %rsi
lea addresses_normal_ht+0x19d48, %rdi
nop
inc %rbx
mov $26, %rcx
rep movsw
nop
nop
nop
nop
nop
xor %r12, %r12
lea addresses_A_ht+0x18748, %r12
nop
xor %rbx, %rbx... |
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_BossTeleporter_Spider_Easy_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-------------------------------------------------------... |
; A023975: First bit in fractional part of binary expansion of 8th root of n.
; 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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
lpb $0
mov $0,24
add $1,1
lpe
mov $... |
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <string>
#include <cctype>
#include <vector>
#include <map>
#include <set>
#include <math.h>
#define For(a) for ( i = 0; i < a; i++ )
#define Rep(a, b) for ( i = a; i <= b; i++ )
#define N 1000000
using namespace std;
int main ()
{
... |
; A182143: Number of independent vertex sets in the Moebius ladder graph with 2n nodes (n >= 0).
; 1,3,5,15,33,83,197,479,1153,2787,6725,16239,39201,94643,228485,551615,1331713,3215043,7761797,18738639,45239073,109216787,263672645,636562079,1536796801,3710155683,8957108165,21624372015,52205852193,126036076403,304278004... |
; A331714: Number of non-isomorphic set-systems with 3 sets each with n elements.
; 1,5,12,25,44,73,112,166,235,325,436,575,742,945,1184,1468,1797,2181,2620,3125,3696,4345,5072,5890
mov $5,$0
mov $6,$0
add $6,1
lpb $6
mov $0,$5
mov $3,0
sub $6,1
sub $0,$6
mov $2,$0
mov $4,$0
add $4,1
lpb $4
mov $0,... |
//////////////////////////////////////////////////////////////////////////////////////
// This file is distributed under the University of Illinois/NCSA Open Source License.
// See LICENSE file in top directory for details.
//
// Copyright (c) 2020 QMCPACK developers.
//
// File developed by: Miguel Morales, moralessil... |
COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: CommonUI/CList (common code for specific UIs)
FILE: citemBooleanGroup.asm
METHODS:
Name Description
---- -----------
ROUTINES:
Name De... |
; A097846: Differences between A097598 and A045918.
; 0,0,0,0,0,0,0,0,0,0,-99,0,99,198,297,396,495,594,693,792,-198,-99,0,99,198,297,396,495,594,693,-297
lpb $0
mov $2,$0
div $0,10
mod $2,10
sub $2,1
sub $2,$0
mul $2,2
mov $0,$2
add $3,1
add $0,$3
mov $1,$3
add $1,$0
mov $3,120259084288
lpe
mul... |
; A059031: Fifth main diagonal of A059026: a(n) = B(n+4,n) = lcm(n+4,n)/(n+4) + lcm(n+4,n)/n - 1 for all n >= 1.
; 5,3,9,2,13,7,17,4,21,11,25,6,29,15,33,8,37,19,41,10,45,23,49,12,53,27,57,14,61,31,65,16,69,35,73,18,77,39,81,20,85,43,89,22,93,47,97,24,101,51,105,26,109,55,113,28,117,59,121,30,125,63,129,32,133,67
add $... |
#ifdef PEGASUS_OS_FREEBSD
#ifndef __UNIX_PLATFORMWATCHDOGSERVICECAPABILITIES_PRIVATE_H
#define __UNIX_PLATFORMWATCHDOGSERVICECAPABILITIES_PRIVATE_H
#endif
#endif
|
; A177071: (7n + 3)(7n + 4).
; 12,110,306,600,992,1482,2070,2756,3540,4422,5402,6480,7656,8930,10302,11772,13340,15006,16770,18632,20592,22650,24806,27060,29412,31862,34410,37056,39800,42642,45582,48620,51756,54990,58322,61752,65280,68906,72630,76452,80372,84390,88506,92720,97032,101442,105950,110556,115260,120062,1249... |
--- base/threading/platform_thread_linux.cc.orig 2020-11-13 06:36:34 UTC
+++ base/threading/platform_thread_linux.cc
@@ -24,7 +24,9 @@
#if !defined(OS_NACL) && !defined(OS_AIX)
#include <pthread.h>
+#if !defined(OS_BSD)
#include <sys/prctl.h>
+#endif
#include <sys/resource.h>
#include <sys/time.h>
#include <sys... |
; A154269: Dirichlet inverse of A019590; Fully multiplicative with a(2^e) = (-1)^e, a(p^e) = 0 for odd primes p.
; 1,-1,0,1,0,0,0,-1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,... |
/*
* Copyright 2021 Simone Campanoni
*
* 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, publish, distr... |
/*-------------------------------------------------------------------------
* drawElements Quality Program OpenGL ES Utilities
* ------------------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not us... |
org $06926e ; <- 3126e - sprite_prep.asm : 2664 (LDA $0B9B : STA $0CBA, X)
jsl SpriteKeyPrep : nop #2
org $06d049 ; <- 35049 sprite_absorbable : 31-32 (JSL Sprite_DrawRippleIfInWater : JSR Sprite_DrawAbsorbable)
jsl SpriteKeyDrawGFX : bra + : nop : +
org $06d180
jsl BigKeyGet : bcs $07 : nop #5
org $06d18d ; <- 3518... |
; 0 - PUSH constant 5
leaw $5, %A
movw %A, %D
leaw $SP, %A
movw (%A), %A
movw %D, (%A)
leaw $SP, %A
movw (%A), %A
incw %A
movw %A, %D
leaw $SP, %A
movw %D, (%A)
; 1 - Goto Incondicional
leaw $scripts/../../I-VM/src/vmExamples/SimpleGoto-END2, %A
jmp
nop
; Label (marcador)
scripts/../../I-VM/src/vmExamples/SimpleGoto-DU... |
#include <iostream>
using namespace std;
int kadane(int arr[], int n)
{
int max_so_far = 0;
int max_ending_here = 0;
for (int i = 0; i < n; i++)
{
max_ending_here = max_ending_here + arr[i];
max_ending_here = max(max_ending_here, 0);
max_so_far = max(max_so_far, max_ending_he... |
###############################################################################
# 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... |
; A096949: Numerators of partial sums of series for 3*arctanh(1/3) = (3/2)*log(2).
; Submitted by Christian Krause
; 1,28,421,26528,2148803,7878956,2765513941,74668877408,3808112752813,651187280816108,2511722368895123,173308843453994432,7798897955430811787,1895132203169713822916,54958833891921780540589
mov $1,1
lpb $0... |
/*
* 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... |
db 0 ; species ID placeholder
db 70, 130, 100, 65, 55, 80
; hp atk def spd sat sdf
db BUG, STEEL ; type
db 25 ; catch rate
db 200 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F0 ; gender ratio
db 100 ; unknown 1
db 25 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/scizor/front.... |
; A033392: [ 72/n ].
; 72,36,24,18,14,12,10,9,8,7,6,6,5,5,4,4,4,4,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
add $0,1
mov $1,72
div $1,$0
|
; A153183: Numbers k such that 3k-2 is prime.
; 3,5,7,11,13,15,21,23,25,27,33,35,37,43,47,51,53,55,61,65,67,71,75,77,81,91,93,95,103,105,111,113,117,123,125,127,133,137,141,145,147,153,155,163,167,175,181,183,191,193,201,203,205,207,211,215,221,225,231,237,243,245,247,251,253,257,263,271,275,277,285,287,293,295,303,307... |
// Copyright 2019 Fuzhou Rockchip Electronics Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <inttypes.h>
#include <sys/time.h>
#include "buffer.h"
#include "codec.h"
#include "flow.h"
#include "muxer.h"
#include "muxer_f... |
//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2012, John Haddon. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistr... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC asm_dconst_ln2
EXTERN am48_dconst_ln2
defc asm_dconst_ln2 = am48_dconst_ln2
|
db 0 ; 346 DEX NO
db 86, 81, 97, 43, 81, 107
; hp atk def spd sat sdf
db ROCK, GRASS ; type
db 45 ; catch rate
db 199 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F12_5 ; gender ratio
db 100 ; unknown 1
db 30 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/hoenn/cradily/front.di... |
; ===============================================================
; Jan 2015
; ===============================================================
;
; char *strnset(char *s, int c, size_t n)
;
; Write at most n chars c into s.
;
; ===============================================================
SECTION code_string
PUBLI... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>ioctl(fd, request, vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str
Invokes the syscall ioctl.
See 'man 2 ioctl' for more information.
Arguments:
fd(int): fd
request(unsigned): request
... |
// bdlb_topologicalsortutil.t.cpp -*-C++-*-
#include <bdlb_topologicalsortutil.h>
#include <bslma_default.h>
#include <bslma_testallocator.h>
#include <bslim_testutil.h>
#include <bsl_cstdlib.h>
#include <bsl_iostream.h>
#include <bsl_iterator.h>
#include <bsl_list.h>
#include <bs... |
map_header CeladonDiner, CELADON_DINER, LOBBY, 0
end_map_header
|
SECTION code_fp_am9511
PUBLIC cam32_sccz80_modf_callee
EXTERN _am9511_modf
; float modff(float x, float * y)
.cam32_sccz80_modf_callee
; Entry:
; Stack: float left, ptr right, ret
; Reverse the stack
pop af ;ret
pop bc ;ptr
pop hl ;float
pop de
push af ;ret
pu... |
; ----
; read_joypad
; ----
; poll joypads
;
; 'joyport' (location $1000) is a control read/write port which only reads
; 4 bits at a time; the program uses joyport to toggle the multiplex line
;
; real logic values are read into the port - the joypad's keys are default
; high, and 'pulled' low when pressed. ... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>access(name, type) -> str
Invokes the syscall access.
See 'man 2 access' for more information.
Arguments:
name(char*): name
type(int): type
Returns:
int
</%docstring>
<%page args="name=0, type=0"/>
<%
... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
import six
%>
<%docstring>get_kernel_syms(table) -> str
Invokes the syscall get_kernel_syms.
See 'man 2 get_kernel_syms' for more information.
Arguments:
table(kernel_sym*): table
Returns:
int
</%docstring>
<%page args="... |
db 0 ; species ID placeholder
db 63, 60, 55, 71, 50, 50
; hp atk def spd sat sdf
db NORMAL, FLYING ; type
db 120 ; catch rate
db 113 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 15 ; step cycles to hatch
INCBIN "gfx/pokemon/pidgeotto/front.dimensions"
db GROWTH_MEDIUM... |
; A188785: Number of 2-step self-avoiding walks on an n X n X n X n 4-cube summed over all starting positions.
; 0,64,432,1536,4000,8640,16464,28672,46656,72000,106480,152064,210912,285376,378000,491520,628864,793152,987696,1216000,1481760,1788864,2141392,2543616,3000000,3515200,4094064,4741632,5463136,6264000,7149840
... |
// Copyright (c) 2019 PaddlePaddle 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... |
// Copyright 2015 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 "chrome/browser/chromeos/login/easy_unlock/easy_unlock_app_manager.h"
#include <stddef.h>
#include <memory>
#include <string>
#include "base/c... |
/*
Rathin Bhargava
IIIT Bangalore
*/
#include<bits/stdc++.h>
#define mt make_tuple
#define mp make_pair
#define pu push_back
#define INF 1000000001
#define MOD 1000000007
#define EPS 1e-6
#define ll long long int
#define ld long double
#define fi first
#define se second
#define all(v) v.begin(),v.end()
#define pr(v) {... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.