text stringlengths 1 1.05M |
|---|
; A063221: Dimension of the space of weight 2n cuspidal newforms for Gamma_0( 57 ).
; 3,10,14,22,26,34,38,46,50,58,62,70,74,82,86,94,98,106,110,118,122,130,134,142,146,154,158,166,170,178,182,190,194,202,206,214,218,226,230,238,242,250,254,262,266,274,278,286,290,298
mul $0,3
mov $1,$0
mul $0,2
mov $2,-1
bin $2,$1
trn... |
;
; ZX IF1 & Microdrive functions
;
; if1_checksum (internal routine)
;
; check BC bytes starting from HL
; and compare with the following byte
;
; $Id: if1_checksum.asm,v 1.2 2015/01/19 01:33:10 pauloscustodio Exp $
;
PUBLIC if1_checksum
if1_checksum:
push hl
ld e,0
nxt_byte:
ld a,e
add (hl)
inc hl
ad... |
-- 7 Billion Humans (2144) --
-- 38: Seek and Destroy 3 --
-- Author: tiansh
-- Size: 14
-- Speed: 29
-- Speed Tests: 29, 29, 29, 29, 29, 28, 29, 29, 29, 28, 29, 29
-- Success Rate: 227/300
a:
step n
if c <= mem1 or
mem1 != datacube:
mem1 = set c
endif
if n == wall:
pickup mem1
mem4 = nearest shredder
b:
mem2 =... |
;
; Game device library for the TI calculators
; Stefano Bodrato - 21/8/2001
; Henk Poley - 03/9/2001
;
; $Id: joystick.asm,v 1.7 2016-06-16 20:23:52 dom Exp $
;
SECTION code_clib
PUBLIC joystick
PUBLIC _joystick
.joystick
._joystick
;__FASTALL__ : joystick no. in HL
ld c,l
ld hl,-1 ; H... |
; A188293: Positions of 1 in A188291; complement of A188292.
; 4,8,12,21,25,29,38,42,46,55,59,63,72,76,80,84,93,97,101,110,114,118,127,131,135,144,148,152,156,165,169,173,182,186,190,199,203,207,216,220,224,228,237,241,245,254,258,262,271,275,279,288,292,296,300,309,313,317,326,330,334,343,347,351,360,364,368,377,381,3... |
.include "defaults_mod.asm"
table_file_jp equ "exe4-utf8.tbl"
table_file_en equ "bn4-utf8.tbl"
game_code_len equ 3
game_code equ 0x4234574A // B4WJ
game_code_2 equ 0x42345745 // B4WE
game_code_3 equ 0x42345750 // B4WP
card_type equ 1
card_id equ 43
card_no equ "043"
card_sub equ "Mod Card 043"
card_sub_x ... |
#include "SceneLoader.h"
#include <iostream>
#include <fstream>
#include "FileSystem.h"
#include "Logger.h"
using namespace Utilities;
using namespace GenParam;
void SceneLoader::readScene(const std::string &fileName, SceneData &sceneData)
{
LOG_INFO << "Load scene file: " << fileName;
try
{
std::ifstream input... |
;============================================================================
; C64 Bedtime Coding
; Copyright (c) by Phaze101
; eMail - info@phaze101.com
; website - https://www.phaze101.com
; MIT License - https://choosealicense.com/licenses/mit/
;=====================================================================... |
include "./src/Includes.inc"
section "Start", rom0
; Local macros for code cleanliness
; It's a macro to save uneeded code jumping or stack usage
; Init System "Settings"
init_registers: macro
xor a ; Zero A
; Clear and Reset Several Registers and Flags
ld [rIF], a ; Interrupt Reason Flags
ld [r... |
; A135556: Squares of numbers not divisible by 3: a(n) = A001651(n)^2.
; 1,4,16,25,49,64,100,121,169,196,256,289,361,400,484,529,625,676,784,841,961,1024,1156,1225,1369,1444,1600,1681,1849,1936,2116,2209,2401,2500,2704,2809,3025,3136,3364,3481,3721,3844,4096,4225,4489,4624,4900,5041,5329,5476,5776,5929,6241,6400,6724,6... |
; Small C+ Maths Routines
;
; transcendental floating point routines
;
SECTION code_fp
PUBLIC pi
EXTERN ldfabc
;double pi()
;Just the greek PI constant
.pi
LD BC,$8249 ; 3,1415...
LD IX,$0FDA
LD DE,$A222
JP ldfabc ... |
; int __CALLEE__ adt_QueuePushBack_callee(struct adt_Queue *q, void *item)
; 09.2005 aralbrec
XLIB adt_QueuePushBack_callee
XDEF ASMDISP_ADT_QUEUEPUSHBACK_CALLEE
XREF _u_malloc
.adt_QueuePushBack_callee
pop hl
pop de
ex (sp),hl
.asmentry
; enter: HL = struct adt_Queue *
; DE = item
; exit : HL = 0... |
; A052156: Number of compositions of n into 2*j-1 kinds of j's for all j>=1.
; 1,1,4,12,36,108,324,972,2916,8748,26244,78732,236196,708588,2125764,6377292,19131876,57395628,172186884,516560652,1549681956,4649045868,13947137604,41841412812,125524238436,376572715308,1129718145924,3389154437772,10167463313316,305023899399... |
; A132171: 3^n repeated 3^n times.
; 1,3,3,3,9,9,9,9,9,9,9,9,9,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81,81... |
#include <iostream>
#include <memory>
#include <utility>
#include "base_test.hpp"
#include "gtest/gtest.h"
#include "operators/abstract_read_only_operator.hpp"
#include "operators/join_nested_loop.hpp"
#include "operators/print.hpp"
#include "operators/sort.hpp"
#include "operators/table_scan.hpp"
#include "operators... |
; A011860: Floor( n(n-1)/7 ).
; 0,0,0,0,1,2,4,6,8,10,12,15,18,22,26,30,34,38,43,48,54,60,66,72,78,85,92,100,108,116,124,132,141,150,160,170,180,190,200,211,222,234,246,258,270,282,295,308,322,336,350,364,378,393,408,424,440,456,472,488,505
mov $1,$0
sub $1,1
mul $0,$1
div $0,7
|
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="when"/>
<%docstring>
Invokes the syscall stime. See 'man 2 stime' for more information.
Arguments:
when(time_t): when
</%docstring>
${syscall('SYS_stime', when)}
|
FUNC @main:
var n
readint "Please input an integer: "
pop n
push n
print "Your input number is: %d"
push 0
ret ~
ENDFUNC
|
#
# Test for instructions APX, AUX.
#
org 1
lbl start
xta chess
apx cful
aux c0ful
aex chess+1
uia fail
xta chess
apx chess+1
uia fail
xta chess
apx chess
aux chess+1
aex ... |
ori $1, $0, 12
ori $2, $0, 15
ori $3, $0, 5
ori $4, $0, 12
sw $4, 0($0)
sw $4, 4($0)
sw $3, 8($0)
sw $2, 12($0)
sw $1, 16($0)
sw $3, 20($0)
sw $2, 24($0)
sw $2, 28($0)
sw $2, 32($0)
sw $4, 36($0)
sw $3, 40($0)
sw $4, 44($0)
sw $1, 48($0)
sw $4, 52($0)
sw $4, 56($0)
sw $2, 60($0)
sw $2, 64($0)
sw $2, 68($0)
sw $1, 72($0... |
; A123854: Denominators in an asymptotic expansion for the cubic recurrence sequence A123851.
; 1,4,32,128,2048,8192,65536,262144,8388608,33554432,268435456,1073741824,17179869184,68719476736,549755813888,2199023255552,140737488355328,562949953421312,4503599627370496,18014398509481984,288230376151711744,115292150460684... |
SECTION code_clib
PUBLIC generic_console_cls
PUBLIC generic_console_printc
PUBLIC generic_console_scrollup
PUBLIC generic_console_set_ink
PUBLIC generic_console_set_paper
PUBLIC generic_console_set_attribute
PUBLIC __laser500_m... |
; A051539: a(n) = least common multiple of {1, 5, 9, 13, 17 ..., 4n+1} (A016813).
; Submitted by Jamie Morken(s4)
; 1,5,45,585,9945,69615,348075,10094175,111035925,4108329225,168441498225,168441498225,1179090487575,62491795841475,1187344120988025,72427991380269525,72427991380269525,1665843801746199075,12160659752747253... |
dnl Intel Pentium mpn_mul_1 -- mpn by limb multiplication.
dnl
dnl P5: 13.0 cycles/limb
dnl Copyright (C) 1992, 1994, 1996, 1999, 2000 Free Software Foundation,
dnl Inc.
dnl
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
dnl modify it u... |
.section __TEXT,__text,regular,pure_instructions
.align 4, 0x90
.globl _main
_main:
pushl %ebp
movl %esp, %ebp
pushl %ebx
pushl %eax
call L0000000A
L0000000A:
popl %eax
movl $0, -8(%ebp)
movl _F-L0000000A(%eax), %ecx
movl %ecx, _E-L0000000A(%eax)
movw %c... |
.data
.text
jmp @main
main:
sw $0 0[$ebp]
ld $8 0x0001
ld $9 0x0001
ld $10 0x0001
ld $11 0x0001
ld $12 0x0001
ld $13 0x0001
ld $14 0x0001
ld $15 0x0001
ld $16 0x0001
ld $17 0x0001
ld $18 0x0001
ld $19 0x0001
ld $20 0x0001
ld $21 0x0001
ld $22 0x0001
ld $23 0x0001
ld $24 0x0001
ld $25 0x0001
ld $26 0x0001
ld $27 0x0001
... |
;
; AngelCode Scripting Library
; Copyright (c) 2003-2013 Andreas Jonsson
;
; This software is provided 'as-is', without any express or implied
; warranty. In no event will the authors be held liable for any
; damages arising from the use of this software.
;
; Permission is granted to anyone to use this software ... |
<%
from pwnlib.shellcraft.aarch64.linux import syscall
%>
<%page args="fd, level, optname, optval, optlen"/>
<%docstring>
Invokes the syscall getsockopt. See 'man 2 getsockopt' for more information.
Arguments:
fd(int): fd
level(int): level
optname(int): optname
optval(void): optval
optlen(sock... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_FPU_C1|FLAG_FPU_PE
;TEST_FILE_META_END
; set up st0 to be 3.141593
FLDPI
FLD1
;TEST_BEGIN_RECORDING
lea edi, [esp-08]
FSTP qword [edi]
FDIVR qword [edi]
mov edi, 0
;TEST_END_RECORDING
|
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: FSM
FILE: fsmManager.asm
AUTHOR: Dennis Chow, September 8, 1989
REVISION HISTORY:
Name Date Description
---- ---- -----------
dc ... |
;;
;; Copyright (c) 2012-2022, 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... |
[bits 64]
; Get the APIC ID for this core
get_thread_id:
mov rax, 0xFEE00020
mov eax, dword [rax]
shr rax, (32 - 8)
ret
; rcx <- Node ID
get_current_node:
push rax
push rbx
push rdx
mov eax, 0x8000001E
cpuid
and ecx, (MAX_NODES - 1)
pop rdx
pop rbx
pop rax
ret
; rdi -> Haystack
; rdx -> Haystack size... |
; A061803: Sum of n-th row of triangle of 4th powers: 1; 1 16 1; 1 16 81 16 1; 1 16 81 256 81 16 1; ...
; 1,18,115,452,1333,3254,6951,13448,24105,40666,65307,100684,149981,216958,305999,422160,571217,759714,995011,1285332,1639813,2068550,2582647,3194264,3916665,4764266,5752683,6898780,8220717,9737998,11471519,13443616,... |
; CRT0 for the Sharp X1
;
; Karl Von Dyson (for X1s.org)
;
; $Id: x1_crt0.asm,v 1.7 2015/01/21 07:05:01 stefano Exp $
;
MODULE x1_crt0
;
; Initially include the zcc_opt.def file to find out lots of lovely
; information about what we should do..
;
INCLUDE "zcc_opt.def"
;--------
; Some scope definitions
... |
PowerPlant_h:
db FACILITY ; tileset
db POWER_PLANT_HEIGHT, POWER_PLANT_WIDTH ; dimensions (y, x)
dw PowerPlant_Blocks ; blocks
dw PowerPlant_TextPointers ; texts
dw PowerPlant_Script ; scripts
db 0 ; connections
dw PowerPlant_Object ; objects
|
; SMSQ_CACHE Cache Handling Fiddles 68040 copyback V2.0 1994 Tony Tebby
; 2005-11-12 2.01 fix bugs in COPYBACK mode. (TG)
; This module is checked after the main SMSQ OS module has been loaded
; There is no permanent cade and the select routine always returns 0.
; As a side effect, however, it sets up the cache ro... |
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2003 Ferdinando Ametrano
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it... |
; A279512: Sierpinski octahedron numbers a(n) = 2*6^n + 3*2^n + 1.
; Submitted by Jamie Morken(s4)
; 6,19,85,457,2641,15649,93505,560257,3360001,20156929,120935425,725600257,4353576961,26121412609,156728377345,940370067457,5642220011521,33853319282689,203119914123265,1218719481593857,7312316883271681,43873901287047169,... |
; Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. The full text of the license may be found at ... |
copyright zengfr site:http://github.com/zengfr/romhack
003CCE move.b #$1, ($17,A3) 003CCE[FF9AA6]
007A18 rts [boss+3E, enemy+3E]
007A36 rts [boss+3E, container+3E, enemy+3E]
copyright zengfr site:http://github.com/zengfr/romhack
|
// This file was generated using Parlex's cpp_generator
#ifndef INCLUDED_IMPLICATION_HPP
#define INCLUDED_IMPLICATION_HPP
#include <optional>
#include <variant>
#include <vector>
#include "erased.hpp"
#include "parlex/detail/abstract_syntax_tree.hpp"
#include "parlex/detail/builtins.hpp"
#include "parlex/detail/do... |
; A156868: 729000n + 180.
; 729180,1458180,2187180,2916180,3645180,4374180,5103180,5832180,6561180,7290180,8019180,8748180,9477180,10206180,10935180,11664180,12393180,13122180,13851180,14580180,15309180,16038180,16767180,17496180,18225180,18954180,19683180,20412180,21141180,21870180,22599180,23328180,24057180,24786180,... |
<%
import collections
import pwnlib.abi
import pwnlib.constants
import pwnlib.shellcraft
%>
<%docstring>pciconfig_iobase(which, bus, devfn) -> str
Invokes the syscall pciconfig_iobase.
See 'man 2 pciconfig_iobase' for more information.
Arguments:
which(long): which
bus(unsigned): bus
devfn(unsigned): dev... |
#ifndef _ML_VERTEX_ARRAY_HPP_
#define _ML_VERTEX_ARRAY_HPP_
#include <ML/Graphics/Export.hpp>
#include <ML/Graphics/GL.hpp>
#include <ML/Core/MemoryTracker.hpp>
#include <ML/Core/Handle.hpp>
namespace ml
{
/* * * * * * * * * * * * * * * * * * * * */
struct ML_GRAPHICS_API VertexArrayObject final : public Trackable... |
PUBLIC _z180_rst_20h
EXTERN _system_rst
defc _z180_rst_20h = _system_rst
|
print_start:
pusha
mov ah, 0x0e
jmp print_do
print_do:
mov al, [bx]
cmp al, 0
je print_end
int 0x10
add bx, 1
jmp print_do
print_end:
popa
ret
|
; A142363: Primes congruent to 12 mod 47.
; Submitted by Jon Maiga
; 59,811,1093,1187,1657,2221,2503,2879,3067,3631,4007,4289,4759,5323,5417,5981,6263,6451,6733,6827,7109,7297,7673,8237,8707,9929,10211,10399,11057,11527,11621,11903,12373,13219,13313,13877,14159,14347,14629,14723,15193,15287,15569,16603,16979,17167,1744... |
/*******************************************************************************
* Filename : usart7fieldvalues.hpp
*
* Details : Enumerations related with USART7 peripheral. This header file
* is auto-generated for STM32F0x1 device.
*
*
*******************************************************... |
; A084558: a(0) = 0; for n >= 1: a(n) = largest m such that n >= m!.
; 0,1,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5... |
LN_DATA $000, $000, $000, $000, $000, $000, $000, $000, $000, $000, $000, $000, $000, $000, $000
LN_DATA $000, $000, $000, $000, $000, $000, $000, $000, $000, $000, $000, $000, $000, $000, $000
LN_DATA $000, $22E, $22E, $000, $000, $000, $000, $000, $000, $000, $000, $000, $22E, $22E, $000
LN_DATA $000, $EEE, $EEE,... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution... |
; Provided under the CC0 license. See the included LICENSE.txt for details.
minikernel ; display up to 6 lives on screen
sta WSYNC
ldx #$20
stx HMP1
stx VDELP0
lda lives
lsr
lsr
lsr
lsr
lsr
sta RESP0
sta RESP1
stx VDELP1
tax
lda lifenusiz0table,x
sta NUSIZ0
lda lifenusiz1table,x
s... |
// Copyright 2016 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 <gtk/gtk.h>
#include <memory>
#include <string>
#include "base/bind.h"
#include "base/callback.h"
#include "base/callback_helpers.h"
#include "... |
/**
* 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... |
ori $1, $0, 6
ori $2, $0, 2
ori $3, $0, 11
ori $4, $0, 3
sw $2, 0($0)
sw $3, 4($0)
sw $1, 8($0)
sw $4, 12($0)
sw $2, 16($0)
sw $4, 20($0)
sw $3, 24($0)
sw $1, 28($0)
sw $3, 32($0)
sw $4, 36($0)
sw $3, 40($0)
sw $3, 44($0)
sw $2, 48($0)
sw $1, 52($0)
sw $2, 56($0)
sw $2, 60($0)
sw $4, 64($0)
sw $2, ... |
/*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... |
; A270803: Formal inverse of Thue-Morse sequence A010060.
; 0,1,1,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,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,0,0,0,0
mov $2,2
lpb $0
add $0,1
pow $2,2
add $0,$2
div $0,... |
/* CS580 Homework 3 */
#include "stdafx.h"
#include "stdio.h"
#include "math.h"
#include "Gz.h"
#include "rend.h"
#define PI (float) 3.14159265358979323846
float GzRender::degreesToRadians(float degree) {
return degree * (PI / 180);
}
void GzRender::Multiply4x4(GzMatrix mat1, GzMatrix mat2) {
GzMatrix tempM;
tem... |
#include "llvm/Support/BlockFrequency.h"
#include "llvm/Support/BranchProbability.h"
#include "llvm/Support/DataTypes.h"
#include "gtest/gtest.h"
#include <climits>
using namespace llvm;
namespace {
TEST(BlockFrequencyTest, OneToZero) {
BlockFrequency Freq(1);
BranchProbability Prob(UINT32_MAX - 1, UINT32_MAX);
... |
// Copyright 2020 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/crosapi/file_manager_ash.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/files/file_path.h"
#includ... |
###############################################################################
# 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... |
; A210677: a(n)=a(n-1)+a(n-2)+n+1, a(0)=a(1)=1.
; 1,1,5,10,20,36,63,107,179,296,486,794,1293,2101,3409,5526,8952,14496,23467,37983,61471,99476,160970,260470,421465,681961,1103453,1785442,2888924,4674396,7563351,12237779,19801163,32038976,51840174,83879186,135719397,219598621,355318057
mov $2,$0
add $2,1
mov $5,$0
lpb ... |
; float ldexp(float x, int exp) __z88dk_callee
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdccix_ldexp_callee, l0_cm48_sdccix_ldexp_callee
EXTERN cm48_sdccixp_d2m48, am48_ldexp, cm48_sdccixp_m482d
cm48_sdccix_ldexp_callee:
pop af
pop de
pop hl ; hlde'= float x
ex... |
global _start
; String routines
global _sprint
; Int16 routines
; Float routines
global _f2s_scientific
;
; BSS and DATA sections
;
section .bss
; Floating point number printing buffer
fsbuffer: resb 256
section .data
; debug stuff
ftest: db 0x3D,0x00,0x00,0x00,0x04,0x00,0x00,0x71
stest: db 0x0C... |
$NOMOD51
;
; *** <<< Use Configuration Wizard in Context Menu >>> ***
;------------------------------------------------------------------------------
; Startu32.a51
;
; Version:
; September 2004 Version 0.7 - Removed code that disables the DDC SRAM as it is
; disabled by defau... |
/*
* MMM"""AMV db `7MM"""Yp,
* M' AMV ;MM: MM Yb
* ' AMV ,V^MM. MM dP
* AMV ,M `MM MM"""bg.
* AMV , AbmmmqMA MM `Y
* AMV ,M A' VML MM ,9
* AMVmmmmMM .AMA. .AMMA..JMMmmmd9
*
*
* MIT License
*
* Copyright (c) 2021... |
dnl AMD64 mpn_addmul_1 and mpn_submul_1 for CPUs with mulx.
dnl Copyright 2012, 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General... |
#include <QtGlobal>
// Automatically generated by extract_strings.py
#ifdef __GNUC__
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
static const char UNUSED *mrclassic_strings[] = {
QT_TRANSLATE_NOOP("mrclassic-core", ""
"(1 = keep tx meta data e.g. account owner and payment request information, ... |
; Execute a thing
;
section utility
xdef ut_thex
include win1_keys_qdos_sms
include win1_keys_thg
include win1_keys_err
include win1_keys_sys
;+++
; Execute a thing
;
; Entry Exit
; d1 owner Job ... |
/************************************************************************/
/* */
/* Copyright 2008-2009 by Ullrich Koethe and Rahul Nair */
/* */
/* This file is p... |
; *******************************************************************************************
; *******************************************************************************************
;
; Name : utility.asm
; Purpose : General Utility functions
; Date : 6th June 2019
; Author : paul@robsons.org.uk
;
; ****... |
; *******************************************************************************************
; *******************************************************************************************
;
; Name : varcreate.asm
; Purpose : Create variable whose description is in the variable slot.
; Date : 20th August 2019
; A... |
#ifndef GREGORIAN_HPP__
#define GREGORIAN_HPP__
/* Copyright (c) 2002-2004 CrystalClear Software, Inc.
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
* Author: Jeff Garland, Bart Garst ... |
;================================================================================
; Dialog Pointer Override
;--------------------------------------------------------------------------------
DialogOverride:
LDA $7F5035 : BEQ .skip
LDA $7F5700, X ; use alternate buffer
RTL
.skip
LDA $7F1200, X
RTL
;---------------... |
#include <stan/math/rev/mat.hpp>
#include <gtest/gtest.h>
#include <test/unit/math/rev/mat/fun/util.hpp>
#include <test/unit/math/prim/mat/fun/sort_test_util.hpp>
#include <test/unit/math/rev/mat/util.hpp>
#include <vector>
void test_sort_asc(VEC val) {
using stan::math::sort_asc;
using stan::math::sort_asc;
AV... |
; A333718: a(n) = L(8*n+4)/7, where L=A000032 (the Lucas sequence).
; Submitted by Jon Maiga
; 1,46,2161,101521,4769326,224056801,10525900321,494493258286,23230657239121,1091346396980401,51270050000839726,2408601003642486721,113152977121196036161,5315781323692571212846,249728569236429650967601,1173192697278850102426440... |
dnl Intel P5 mpn_sqr_basecase -- square an mpn number.
dnl Copyright 1999-2002 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 Publi... |
%ifdef CONFIG
{
"RegData": {
"XMM0": ["0xc0800000bf800000", "0xc2800000c1800000"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x400000003f800000 ; 2.0, 1.0
mov [rdx + 8 * 0], rax
mov rax, 0x4100000040800000 ; 8.0, 4.0
mov [rdx + 8 * 1], rax
mov rax, 0x420000004... |
/*
* 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... |
.586
.model flat
.code
_conta_vocali_consonanti proc
PUSH EBP
MOV EBP, ESP
PUSH EDI
PUSH ESI
PUSH EBX
MOV EBX, dword ptr[EBP + 8] ;EBX - indirizzo vettore
MOV ESI, 0 ;ESI - index
MOV ECX, 0 ;ECX - numero vocali
MOV EDX, 0 ;EDX - numero consonanti
MOV EDI, 1
conta:
MOV AL, byt... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; convert 3 to a double precision float and store in xmm0
mov ecx, 3
cvtsi2sd xmm0, ecx
; convert 1 to a double precision float and store in xmm1
mov ecx, 1
cvtsi2sd xmm1, ecx
;TEST_BEGIN_RECORDING
subsd xmm0, xmm1
;TEST_END_RECOR... |
#include "TBDataFormats/HcalTBObjects/interface/HcalTBRunData.h"
using namespace std;
HcalTBRunData::HcalTBRunData() : runType_(""), beamMode_(""), beamEnergyGeV_(0.0) {}
void HcalTBRunData::setRunData(const char* run_type, const char* beam_mode, double beam_energy_gev) {
runType_ = run_type;
beamMode_ = beam_mo... |
.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+0x1438c, %rsi
lea addresses_A_ht+0x9f84, %rdi
clflush (%rdi)
nop
nop
nop
xor $24997, %r15
mov $20, %rcx
rep movsq
nop
nop
nop
cmp %rdx, %rdx
lea addresses_D_ht+0x1359a, %rsi
lea... |
; A273387: First differences of number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 659", based on the 5-celled von Neumann neighborhood.
; 4,12,32,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256,264,... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args="fd, name, flag"/>
<%docstring>
Invokes the syscall unlinkat. See 'man 2 unlinkat' for more information.
Arguments:
fd(int): fd
name(char): name
flag(int): flag
</%docstring>
${syscall('SYS_unlinkat', fd, name, flag)}
|
.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 b, 91
call lwaitly_b
ld a, b1
ldff(40), a
ld a, 07
ldff(4b), a
ld c, 41
ld b, 03
lbegin_waitm3:
ldff a, (c)
and a, b
cmp a, b
jrnz lbegi... |
;
; jidctint.asm - accurate integer IDCT (AVX2)
;
; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
; Copyright (C) 2009, 2016, 2018, D. R. Commander.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyrigh... |
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
printf(1, "fork test OK\n");
}
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 push... |
#pragma once
#include "quadraticequationworker.hpp"
/**
* \brief Consumer. It takes task from the task queue and executes it.
* For this particular program, it takes parameters of quadratic equation
* from the queue and delegates solving of this equation to the Solver class.
*/
class Consumer final : QuadraticEqua... |
user/_grind: 文件格式 elf64-littleriscv
Disassembly of section .text:
0000000000000000 <do_rand>:
#include "kernel/riscv.h"
// from FreeBSD.
int
do_rand(unsigned long *ctx)
{
0: 1141 addi sp,sp,-16
2: e422 sd s0,8(sp)
4: 0800 addi s0,sp,16
* Oct... |
LJMP STATE_255
STATE_0:
MOV 0xF0,#0xFF
CJNE A,#0,STATE_1
LJMP FINAL
STATE_1:
MOV 0xF0,#0x01
CJNE A,#0x01,STATE_0
STATE_2:
MOV 0xF0,#0x02
CJNE A,#0x02,STATE_1
STATE_3:
MOV 0xF0,#0x03
CJNE A,#0x03,STATE_2
STATE_4:
MOV 0xF0,#0x04
CJNE A,#0x04,STATE_3
STATE_5:
MOV 0xF0,#... |
Sound_B7_Header:
smpsHeaderStartSong 3, 1
smpsHeaderVoice Sound_B7_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $02
smpsHeaderSFXChannel cFM4, Sound_B7_FM4, $00, $02
smpsHeaderSFXChannel cFM5, Sound_B7_FM5, $00, $02
; FM4 Data
Sound_B7_FM4:
smpsAlterNote $03
dc.b nRst, $02
; FM5 Data
Sound_B7... |
;
; BIGREM.ASM
;
; Implementation for for signed and unsigned division of a 64 bit integer
; by a 32 bit integer, returning the remainder (ie., mod.)
;
; Copyright (c) 2017 Malcolm J. Smith
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated docume... |
; trying to enable Z80N in i8080 mode is instant fatal error
OPT reset --zxnext=cspect
|
SECTION smc_clib
SECTION smc_sound_bit
PUBLIC _bitfx_7
INCLUDE "clib_target_cfg.asm"
EXTERN asm_bit_beep_raw
_bitfx_7:
; sound for warp
ld hl,1600
ld (warps + 1),hl
ld hl,-800
ld (warps1 + 1),hl
ld hl,-100
ld (warps2 + 1),hl
ld b,20
warpcall1:
push bc
call warps
pop... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin developers
// Copyright (c) 2009-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2018-2019 The PrimeStone developers
// Distributed under the MIT/X11 software license, see the accompanying
// file... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; File : jo_f_status.asm /_________/ ;;
;; Author : Joe ... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2015 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 s... |
;
; ANSI Video handling for the VZ200
;
; Handles colors referring to current PAPER/INK/etc. settings
;
; Scrollup
;
;
; $Id: f_ansi_scrollup.asm,v 1.2 2015/01/19 01:33:19 pauloscustodio Exp $
;
PUBLIC ansi_SCROLLUP
.ansi_SCROLLUP
LD HL,0101h
CALL 11CDh ; L2A - convert location to screen address
push hl
e... |
// 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 "sync/notifier/push_client_channel.h"
#include <cstddef>
#include <string>
#include "base/compiler_specific.h"
#include "jingle/notifier/li... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.