answer stringlengths 15 1.25M |
|---|
<?php
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
jimport('joomla.plugin.plugin');
/**
* Usage plugin class for overview
*/
class plgUsageOverview extends JPlugin
{
/**
* Constructor
*
* @param object &$subject The object to observe
*... |
package com.sun.xml.internal.org.jvnet.mimepull;
import java.util.concurrent.TimeUnit;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.lang.ref.ReferenceQueue;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent... |
#ifndef <API key>
#define <API key>
#define CLK_ARC_PLL 0
#define CLK_ARC 1
#define CLK_DDR_PLL 2
#define CLK_SYS_PLL 3
#define CLK_SYS_APB 4
#define CLK_SYS_AXI 5
#define CLK_SYS_ETH 6
#define CLK_SYS_USB 7
#define CLK_SYS_SDIO 8
#define CLK_SYS_HDMI ... |
// <API key>: GPL-2.0-or-later
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/interrupt.h>
#include <linux/fs.h>
#include <linux/kfifo.h>
#include <linux/mfd/syscon.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/platform_de... |
#include "config.h"
#include "TemplateRegistryKey.h"
#include "<API key>.h"
namespace JSC {
TemplateRegistryKey::~TemplateRegistryKey()
{
if (m_table)
m_table->unregister(*this);
}
} // namespace JSC |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Namespace PHP</title>
<link rel="stylesheet" href="resources/style.css?2177189700">
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3... |
<?php
if( ! defined( 'NV_IS_MOD_SEARCH' ) ) die( 'Stop!!!' );
$db->sqlreset()
->select( 'COUNT(*)' )
->from(NV_PREFIXLANG . '_' . $m_values['module_data'])
->where( 'status=1 AND (' . nv_like_logic( 'title', $dbkeyword, $logic ) . ' OR ' . nv_like_logic( 'description', $dbkeyword, $logic ) . ' OR ' . nv_lik... |
#include <linux/slab.h>
#include <linux/poll.h>
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/jhash.h>
#include <linux/init.h>
#include <linux/futex.h>
#include <linux/mount.h>
#include <linux/pagemap.h>
#include <linux/syscalls.h>
#include <linux/signal.h>
#include <linux/export.h>
#include <linux/magi... |
<?php
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
// Load the view framework
if(!class_exists('VmView'))require(<API key>.DS.'helpers'.DS.'vmview.php');
jimport('joomla.html.pane');
jimport('joomla.version');
/**
* HTML View class for the configuration maintenance... |
#pragma once
#include "../rsx_utils.h"
#ifdef TEXTURE_CACHE_DEBUG
namespace rsx {
class tex_cache_checker_t {
struct per_page_info_t {
u8 prot = 0;
u8 no = 0;
u8 ro = 0;
FORCE_INLINE utils::protection get_protection() const
{
return... |
<?php
require_once (JPATH_SITE.DS.'components'.DS.'com_fsf'.DS.'helper'.DS.'settings.php');
class FSFAdminHelper
{
function PageSubTitle2($title,$usejtext = true)
{
if ($usejtext)
$title = JText::_($title);
return str_replace("$1",$title,FSF_Settings::get('display_h3'));
}
fu... |
package org.jpc.emulator.execution.opcodes.pm;
import org.jpc.emulator.execution.*;
import org.jpc.emulator.execution.decoder.*;
import org.jpc.emulator.processor.*;
import org.jpc.emulator.processor.fpu64.*;
import static org.jpc.emulator.processor.Processor.*;
public class xchg_o32_rBXr11_rAX extends Executable
{
... |
<html><head><title>VFW</title><link rel='StyleSheet' href='styles/geo-light.css' type='text/css'></head><body><a class='wiki' href='HomePage.html'>home</a><br/><h1>VFW</h1><div class='wikitext'>Acronym for Video For Windows.
<br/>
<br/>Microsoft Video for Windows® (VFW) provides functions that enable an application ... |
//Filename : OF_ALCHA.CPP
//Description : Firm Monster Alchemy - AI functions
#include <onation.h>
#include <oinfo.h>
#include <otown.h>
#include <ounit.h>
#include <otech.h>
#include <otechres.h>
#include <of_alch.h>
void FirmMonsterAlchemy::process_ai()
{
<API key>();
if( info.game_date%30==firm_recno%30 )... |
/*
* @test
* @bug 4714257
* @summary Test to make sure that the title attribute shows up in links.
* @author jamieh
* @library ../lib/
* @build JavadocTester
* @build TestTitleInHref
* @run main TestTitleInHref
*/
public class TestTitleInHref extends JavadocTester {
private static final String BUG_ID = "47... |
<?php
/**
* @file
* Contains \Drupal\<API key>\Plugin\DMU\Fixer\Delete.
*/
namespace Drupal\<API key>\Plugin\DMU\Fixer;
use Drupal\<API key>\FixerBase;
/**
* @Fixer(
* id = "delete"
* )
*/
class Delete extends FixerBase {
use NodeCollectorTrait;
public function execute() {
foreach ($this->getObjects() a... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>GNU gettext FAQ</title>
</head>
<body>
<h1 style="text-align: center;">Frequently Asked Questions<br>
for GNU gettext
</h1>
<h1 style="text-align: center;">Questio... |
using System;
using System.IO;
using dnlib.DotNet;
using de4dot.blocks;
namespace de4dot.code.deobfuscators.SmartAssembly {
class ResourceResolver {
ModuleDefMD module;
AssemblyResolver assemblyResolver;
<API key> <API key>;
bool mergedIt = false;
public ResourceResolver(Modu... |
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/bootmem.h>
#include <asm/mach-types.h>
#include <asm/mach/mmc.h>
#include <mach/msm_bus_board.h>
#include <mach/board.h>
#include <mach/gpio.h>
#include <mach/gpiomux.h>
#include "devices.h"
#include "board-8064.h"
/* A... |
#include <arch/acpi.h>
#include <arch/io.h>
#include <bootmode.h>
#include <chip.h>
#include <console/console.h>
#include <delay.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <drivers/intel/gma/i915_reg.h>
#include <fsp/util.h>
#include <soc/acpi.h>
#include <soc/cpu.h>
#inc... |
#include "defs.h"
#include "selftest.h"
#include "common/offset-type.h"
#include "common/underlying.h"
#include "common/valid-expr.h"
namespace selftests {
namespace offset_type {
DEFINE_OFFSET_TYPE (off_A, unsigned int);
DEFINE_OFFSET_TYPE (off_B, unsigned int);
/* First, compile-time tests that:
- make sure that i... |
(function ($) {
if(_.isUndefined(window.vc)) window.vc = {};
// Custom vc_column shortcode
window.<API key> = window.InlineShortcodeView.extend({
controls_selector: '#<API key>',
events: {
'click > .vc_controls .vc_element .<API key>': 'destroy',
'click > .vc_controls .vc_element .vc_control-b... |
#include <QDateTime>
#include <QCryptographicHash>
#include <QXmlStreamReader>
#include <QHttp>
#include <QMapIterator>
#include <QRegExp>
#include <QUrl>
#include <memory>
#include "bunny.h"
#include "bunnymanager.h"
#include "httprequest.h"
#include "log.h"
#include "cron.h"
#include "messagepacket.h"
#include "plugi... |
<?php
$featured_image_type = wt_get_option('blog', 'featured_image_type');
$layout=wt_get_option('blog','layout');
?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" class="blogEntry">
<div <?php post_class(); ?>>
<?php
if (wt_get_optio... |
<!-- HTML header for doxygen 1.8.5-->
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Fat-Free Framework: Basket Class Reference</title>
<li... |
/**
* @test
* @summary Make sure CDS and JFR work together.
* @requires vm.hasJFR & vm.cds
* @library /test/lib /test/hotspot/jtreg/runtime/cds/appcds /test/hotspot/jtreg/runtime/cds/appcds/test-classes test-classes
* @build Hello GetFlightRecorder
* @run driver ClassFileInstaller -jar CDSandJFR.jar Hello GetFlig... |
# This program is free software; you can redistribute it and/or modify
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# along with this program; if not, write to the Free Software
# Foundation, Inc.,... |
<?php // $Id: <API key>.lib.php 13600 2011-09-21 11:14:20Z abourguignon $
// vim: expandtab sw=4 ts=4 sts=4:
FromKernel::uses('user.lib','courselist.lib');
From::Module('CLCAL')->uses('agenda.lib');
include <API key>() . 'CLHOME.conf.php'; // conf file
class <API key>
{
protected $courseCode;
protected $year;
... |
<?php
declare(strict_types=1);
namespace TYPO3\CMS\Form\Domain\Finishers;
/**
* Finisher that can be attached to a form in order to be invoked
* as soon as the complete form is submitted
*
* Scope: frontend
*/
interface FinisherInterface
{
/**
* Executes the finisher
*
* @param FinisherContext $... |
#ifndef <API key>
#define <API key>
#include <asm-generic/errno-base.h>
#define EDEADLK 35
#define ENAMETOOLONG 36
#define ENOLCK 37
#define ENOSYS 38
#define ENOTEMPTY 39
#define ELOOP 40
#define EWOULDBLOCK EAGAIN
#define ENOMSG 42
#define EIDRM ... |
<?php
$client = new Lingotek_API();
$api_communities = $client->get_communities();
if (!isset($api_communities->entities)) {
add_settings_error('<API key>', 'error', __('The Lingotek TMS is currently unavailable. Please try again later. If the problem persists, contact Lingotek Support.', 'wp-lingotek'), 'error');
... |
// modification, are permitted provided that the following conditions are met:
// and/or other materials provided with the distribution.
// * Neither the name of ARM Limited nor the names of its contributors may be
// used to endorse or promote products derived from this software without
// ANY EXPRESS OR IMP... |
package com.serotonin.mango.view.component;
/**
* Type of a line for EnhancedPoint.
*
* @author Jacek Rogoznicki
*/
public enum <API key> {
LINE, SPLINE;
} |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using CommonIO;
using MediaBrowser.Common.Configuration;
using MediaBrowser.Common.Extensions;
using MediaBrowser.Common.Net;
using MediaBrowser.Controller.LiveTv;
using M... |
/*
** get_option.c for corewar in /home/pirou_g/corewar/lib_src
**
** Made by Guillaume Pirou
** Login <pirou_g@epitech.net>
**
** Started on Sun Apr 12 17:36:51 2015 Guillaume Pirou
** Last update Sun Apr 12 17:36:52 2015 Guillaume Pirou
*/
#include <stdlib.h>
#include <stdarg.h>
#include "my_printf.h"
int get_f... |
/**
* Wrapper class to read document data as a plain text string.
* @class
* @extends unicodeJS.TextString
* @constructor
* @param {Array} data Document data
*/
ve.dm.DataString = function VeDmDataString( data ) {
this.data = data;
};
/* Inheritance */
OO.inheritClass( ve.dm.DataString, unicodeJS.TextString )... |
#include "ScriptMgr.h"
#include "ScriptedCreature.h"
#include "SpellScript.h"
#include "Cell.h"
#include "CellImpl.h"
#include "GridNotifiers.h"
#include "GridNotifiersImpl.h"
#include "ulduar.h"
enum FreyaYells
{
// Freya
SAY_AGGRO = -1603180,
<API key> ... |
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/jiffies.h>
#include <linux/platform_device.h>
#include <linux/power_supply.h>
#include <linux/slab.h>
#include <linux/wakelock.h>... |
/* $Id: openprom.h,v 1.1.1.1 2010/12/02 04:12:36 walf_wu Exp $ */
#ifndef <API key>
#define <API key>
#ifndef __ASSEMBLY__
/* V0 prom device operations. */
struct linux_dev_v0_funcs {
int (*v0_devopen)(char *device_str);
int (*v0_devclose)(int dev_desc);
int (*v0_rdblkdev)(int dev_desc, int num_blks, int bl... |
#include "TuioContainer.h"
using namespace TUIO;
TuioContainer::TuioContainer (TuioTime ttime, long si, float xp, float yp):TuioPoint(ttime, xp,yp)
,state(TUIO_ADDED)
,source_id(0)
,source_name("undefined")
,source_addr("localhost")
{
session_id = si;
x_speed = 0.0f;
y_speed = 0.0f;
motion_speed = 0.0f;... |
## Host Registry Interface, .DK Host EPP extension commands
## This file is part of Net::DRI
## Net::DRI is free software; you can redistribute it and/or modify
## (at your option) any later version.
package Net::DRI::Protocol::EPP::Extensions::DK::Host;
use strict;
use warnings;
use Net::DRI::Exception;
use Net::DRI::... |
#include "NetrcAuthResolver.h"
#include <cppunit/extensions/HelperMacros.h>
#include "prefs.h"
#include "Netrc.h"
#include "AuthConfig.h"
#include "a2functional.h"
namespace aria2 {
class <API key> : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(<API key>);
CPPUNIT_TEST(testResolve<API key>);
CPPUNIT_TEST(test... |
<?php
/**
* Data Access Object for `forum_subscription` table.
*
* @author Egor Bulgakov <egor.bulgakov@gmail.com>
* @package ow.ow_plugins.forum.bol
* @since 1.0
*/
class <API key> extends OW_BaseDao
{
/**
* Class constructor
*
*/
protected function __construct()
{
parent::__co... |
subroutine build_fock_tmp(fock_diag_tmp,det_ref,Nint)
use bitmasks
implicit none
BEGIN_DOC
! Build the diagonal of the Fock matrix corresponding to a generator
! determinant. F_00 is <i|H|i> = E0.
END_DOC
integer, intent(in) :: Nint
integer(bit_kind), intent(in) :: det_ref(Nint,2)
double preci... |
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdlib.h>
#include <errno.h>
#include <sys/mman.h>
#include <assert.h>
#include <string.h>
#include <unistd.h>
#include <pthread.h>
#include <stdint.h>
#include "slab.h"
#define SLAB_PAGES 4
/* Number of pages the slab allocator has allocated. */
static int <API k... |
/* Do not modify this file, it was automatically generated by the
* PNG2cpp CMake script, using a *.png file as input.
*/
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00... |
# AddCPU_to_VM.rb
# Description: This method is used to modify vCPUs to an existing VM running on VMware
# Get vm object from root
vm = $evm.root['vm']
raise "Missing $evm.root['vm'] object" if vm.nil?
# Check to ensure that the VM in question is vmware
vendor = vm.vendor.downcase rescue nil
raise "Invalid vendor detec... |
#ifndef _waiting_threads_h
#define _waiting_threads_h
#include <my_global.h>
#include <my_sys.h>
#include <lf.h>
C_MODE_START
typedef struct st_wt_resource_id WT_RESOURCE_ID;
typedef struct st_wt_resource WT_RESOURCE;
typedef struct st_wt_resource_type {
my_bool (*compare)(const void *a, const void *b);
const void ... |
#ifndef D_BT_RUNTIME_H
#define D_BT_RUNTIME_H
#include "common.h"
namespace aria2 {
class BtRuntime {
private:
int64_t <API key>;
bool halt_;
int connections_;
bool ready_;
// Maximum number of peers to hold connections at the same time.
// 0 means unlimited.
int maxPeers_;
// Minimum number of peers. T... |
// <API key>: Apache-2.0 WITH LLVM-exception
#ifndef <API key>
#define <API key>
#include <memory>
#include <string>
#include "lldb/lldb-private.h"
#include "lldb/Host/SocketAddress.h"
#include "lldb/Utility/IOObject.h"
#include "lldb/Utility/Predicate.h"
#include "lldb/Utility/Status.h"
#ifdef _WIN32
#include "lldb/Ho... |
#* Dionaea
#* - catches bugs -
#* This program is free software; you can redistribute it and/or
#* as published by the Free Software Foundation; either version 2
#* This program is distributed in the hope that it will be useful,
#* MERCHANTABILITY or FITNESS FOR A... |
package ensemble.samples.animation.transitions.fadetransition;
import javafx.animation.FadeTransition;
import javafx.animation.Timeline;
import javafx.application.Application;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.sha... |
#!/bin/bash
# check how deep does recursive 'fi du' go, currently it has to stop at
# mountpoint and can continue to subvolumes
source "$TEST_TOP/common"
check_prereq mkfs.btrfs
check_prereq btrfs
setup_root_helper
prepare_test_dev
<API key>
<API key>
run_check truncate -s 0 img2
run_check truncate -s 1G img2
chmod a+w... |
#include "xmms2dprefmodel.h"
#include <QMessageBox>
#include "debug.h"
/* The Item */
Xmms2dPrefItem::Xmms2dPrefItem (Xmms2dPrefItem* parent/* = NULL*/)
{
// DBGOUT("entered");
m_parent = parent;
// DBGOUT("leaving");
}
Xmms2dPref... |
<?php
abstract class BaseCcconbalgerPeer {
const DATABASE_NAME = 'propel';
const TABLE_NAME = 'ccconbalger';
const CLASS_DEFAULT = 'lib.model.creditos.Ccconbalger';
const NUM_COLUMNS = 6;
const <API key> = 0;
const ID = 'ccconbalger.ID';
const NOMCONBALGER = 'ccconbalger.NOMCONBALGER';
c... |
package javax.swing;
import java.awt.*;
import java.awt.event.*;
import java.beans.JavaBean;
import java.beans.BeanProperty;
import java.io.*;
import java.util.*;
import javax.swing.colorchooser.*;
import javax.swing.plaf.ColorChooserUI;
import javax.accessibility.*;
import sun.swing.SwingUtilities2;
@JavaBean(defaultP... |
/* This file can only be compiled on systems which use OSF/1 style
core files. */
#include "sysdep.h"
#include "bfd.h"
#include "libbfd.h"
#include <sys/user.h>
#ifdef OSF_CORE
#include <sys/core.h>
#endif
/* forward declarations */
#define <API key> <API key>
#define <API key> <API key>
/* These are stored in the ... |
#include "MemoryChannel.hpp"
#include "NdbThread.h"
#include "NdbSleep.h"
#include "NdbOut.hpp"
#include "NdbMain.h"
MemoryChannel<int>* theMemoryChannel;
extern "C" void* runProducer(void*arg)
{
// The producer will items into the MemoryChannel
int count = *(int*)arg;
int* p;
int i = 0;
while (i <= count)
... |
// MESSAGE VFR_HUD PACKING
#define <API key> 74
MAVPACKED(
typedef struct __mavlink_vfr_hud_t {
float airspeed; /*< Current airspeed in m/s*/
float groundspeed; /*< Current ground speed in m/s*/
float alt; /*< Current altitude (MSL), in meters*/
float climb; /*< Current climb rate in meters/second*/
int16_t headin... |
<?php // $Id: edit_sentence.class.php,v 1.7 2007/10/10 05:25:16 nicolasconnault Exp $
// Moodle - Modular Object-Oriented Dynamic Learning Environment //
// This program is free software; you can redistribute it and/or modify //
// (at your option) any later version. //
// Thi... |
#include <ec.h>
#include <ec_gtk.h>
#include <ec_mitm.h>
/* proto */
void gtkui_arp_poisoning(void);
void gtkui_icmp_redir(void);
void gtkui_port_stealing(void);
void gtkui_dhcp_spoofing(void);
void gtkui_mitm_stop(void);
static void gtkui_start_mitm(void);
/* globals */
#define PARAMS_LEN 512
static char params[PARA... |
#include <linux/config.h>
#include <asm/mmu_context.h>
#include <asm/bootinfo.h>
#include <asm/cpu.h>
extern char except_vec0_sb1[];
/* Dump the current entry* and pagemask registers */
static inline void dump_cur_tlb_regs(void)
{
unsigned int entryhihi, entryhilo, entrylo0hi, entrylo0lo, entrylo1hi;
unsigned i... |
<?php
?>
<?php /* Display navigation to next/previous pages when applicable */ ?>
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
<div id="nav-above" class="navigation">
<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'smpl' ) ); ?></div>
<div ... |
define(
"dojox/editor/plugins/nls/hu/Preview", ({
"preview": "Előzetes"
})
); |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Get user's global privileges and some db-specific privileges
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
use PhpMyAdmin\CheckUserPrivileges;
list($username, $hostname) = $GLOBALS['dbi']-><API key>();
if ($username === '') { // MySQL is ... |
/* vi: set sw=4 ts=4: */
#include <stdio.h>
#include <fcntl.h>
#include <signal.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include "busybox.h"
static FILE *cin;
#ifdef <API key>
#include <termios.h>
#define setTermSettings(fd,argp) tcsetattr(fd,TCSANOW,argp)
#define getTermSettings(fd,argp) tcge... |
package de.siemens.quantarch.bugs.impl;
import de.siemens.quantarch.bugs.IssueTracker;
import de.siemens.quantarch.bugs.dao.IssueTrackerDao;
import de.siemens.quantarch.bugs.utils.BugExtractorConfig;
@SuppressWarnings("unused")
public class JiraTracker implements IssueTracker {
private IssueTrackerDao dao;
priv... |
#include <stdio.h>
#include <sys/file.h>
#include <sys/types.h>
#include <fcntl.h>
#include "mpv955ioctl.h"
#define DEVICE "/dev/mpv955"
int main(int argc, char *argv[]) {
int fd = 0;
int chan = 0;
unsigned short buff;
int ciclo = 0;
fd = open(DEVICE, O_WRONLY);
printf("il file descriptor e' %d\... |
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
display: block;
}
audio,
canvas,
video {
display: inline-block;
*display: inline;
*zoom: 1;
}
audio:not([controls]) {
display: none;
}
html {
font-size: 100%;
-<API key>: 100%;
-ms-text-size-adjust: 100%;
}
a:focus {... |
/*
* BITMAP UNPLUGGING:
*
* The sequencing for updating the bitmap reliably is a little
* subtle (and I got it wrong the first time) so it deserves some
* explanation.
*
* We group bitmap updates into batches. Each batch has a number.
* We may write out several batches at once, but that isn't very important.
... |
#include "Common.h"
#include "SharedDefines.h"
#include "WorldPacket.h"
#include "Opcodes.h"
#include "Log.h"
#include "World.h"
#include "Object.h"
#include "Creature.h"
#include "Player.h"
#include "Vehicle.h"
#include "ObjectMgr.h"
#include "UpdateData.h"
#include "UpdateMask.h"
#include "Util.h"
#include "MapManage... |
# To test encrypted SST and IST.
. inc/common.sh
node1=1
# node2 will be getting SST
node2=901
ADDR=127.0.0.1
SSTPASS="password"
SUSER="root"
SMDSUM="<API key>"
tca="/tmp/certs/node1.crt"
tkey="/tmp/certs/node1.key"
vlog "Running test for encrypted replication"
EXTRAFILE1="$XB_TESTDIR/conf/enc.cnf-node1"
EXTRAFILE2="$X... |
.bicon, .user_image {
background:transparent url("../style-theme.png") no-repeat top left;
}
.bicon {
width:80px;
height:60px;
}
.<API key>{
visibility: visible;
max-height: 100%;
position: relative;
margin: 0 auto;
}
.<API key> {
width: 30%;
}
.<API key> {
width: 50%;
padding-left: 10px;
padding-top: 10px;
vertical-al... |
package com.oracle.javafx.scenebuilder.kit.editor.panel.content.mode;
import com.oracle.javafx.scenebuilder.kit.editor.images.ImageUtils;
import com.oracle.javafx.scenebuilder.kit.editor.panel.content.<API key>;
import com.oracle.javafx.scenebuilder.kit.editor.panel.content.driver.AbstractDriver;
import com.oracle.java... |
#include <QMessageBox>
#include <QDateTime>
#include <QPushButton>
#include "qgis.h"
#include "qgsapplication.h"
#include "qgsmaplayer.h"
#include "qgsmaplayerregistry.h"
#include "qgsproject.h"
#include "<API key>.h"
#include "qgsspatialquery.h"
#include "qgsrubberselectid.h"
#include "qgsmngprogressbar.h"
<API key>::... |
<?php
/**
* Admin View: Page - Status
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$current_tab = ! empty( $_REQUEST['tab'] ) ? sanitize_title( $_REQUEST['tab'] ) : 'status';
?>
<div class="wrap woocommerce">
<div class="icon32 <API key>" id="icon-woocommerce"><br /></div><h2 class="nav-tab-wrapper woo-nav-tab-... |
# Makefile for the Synaptics DSX touchscreen driver.
# Each configuration option enables a list of files.
obj-$(<API key>) += synaptics_dsx_i2c.o
obj-$(<API key>) += synaptics_dsx_spi.o
obj-$(<API key>) += <API key>.o
obj-$(<API key>) += synaptics_dsx_core.o
obj-$(<API key>) += <API key>.o
obj-$(<API key>) += <API key>... |
<?php
namespace TYPO3\CMS\Extensionmanager\Utility;
/**
* Utility for dealing with ext_emconf
*/
class EmConfUtility implements \TYPO3\CMS\Core\SingletonInterface {
/**
* Returns the $EM_CONF array from an extensions ext_emconf.php file
*
* @param array $extension Extension information array
*... |
#!/usr/bin/env python
# modification, are permitted provided that the following conditions are
# met:
# in the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# "AS ... |
<?php
/* core/themes/classy/templates/block/block.html.twig */
class <API key> extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = array(
'content' => array($this, 'block_content'),
... |
package javafx.scene.control.test.cellapps;
import javafx.scene.control.test.cellapps.CellsApp.DataItem;
import javafx.util.StringConverter;
/**
* @author Alexander Kirov
*/
public class <API key> extends StringConverter {
public static final String TO_STRING_PREFIX = "tsc ";
public static final String FROM_S... |
package mpicbg.spim.registration.bead;
import spim.vecmath.Point3d;
import net.imglib2.util.Util;
import mpicbg.spim.registration.ViewDataBeads;
import mpicbg.spim.registration.detection.DetectionView;
public class Bead extends DetectionView< BeadIdentification, Bead >
{
// so the gauss fit knows if it relocalize i... |
#include <ndb_global.h>
#include "sisci_types.h"
#include "sisci_api.h"
#include "sisci_error.h"
//#include "sisci_demolib.h"
#include <NdbTick.h>
#include <NdbSleep.h>
#define NO_CALLBACK NULL
#define NO_FLAGS 0
#define DATA_TRANSFER_READY 8
sci_error_t error;
sci_desc_t sdO... |
# -*- coding: utf-8 -*-
# This program is free software; you can redistribute it and/or modify it under
# any later version.
# Please read the COPYING file.
import signal
exception = {
signal.SIGINT:KeyboardInterrupt
}
class Signal:
def __init__(self, sig):
self.signal = sig
self.oldhandler ... |
<?php
class <API key> {
const CLASS_NAME = 'lib.model.nomina.map.<API key>';
private $dbMap;
public function isBuilt()
{
return ($this->dbMap !== null);
}
public function getDatabaseMap()
{
return $this->dbMap;
}
public function doBuild()
{
$this->dbMap = ... |
#ifndef __TAFAGENT_LOG_H__
#define __TAFAGENT_LOG_H__
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif
#pragma pack(4)
#include "vos.h"
#include "pslog.h"
#include "PsCommonDef.h"
#define TAFAGENT_MEM_FAIL() PS_LOG(WUEPS_PID_OM, 0, PS_PRINT_ERROR, "APSAGENT Mem Operation Failed!");
#define... |
#include <linux/types.h>
#include <linux/netdevice.h>
#include <brcmu_utils.h>
#include <brcmu_wifi.h>
#include "dhd.h"
#include "dhd_dbg.h"
#include "proto.h"
#include "msgbuf.h"
#include "commonring.h"
#include "flowring.h"
#include "dhd_bus.h"
#include "tracepoint.h"
#define <API key> 2000
#define <API key> ... |
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/fb.h>
#include <asm/machvec.h>
#include <asm/u... |
#ifndef G72X_PRIVATE_H
#define G72X_PRIVATE_H
#ifdef __cplusplus
#error "This code is not designed to be compiled with a C++ compiler."
#endif
/*
** The following is the definition of the state structure used by the
** G.721/G.723 encoder and decoder to preserve their internal state
** between successive calls. The me... |
/* Written by Bruno Haible <bruno@clisp.org>, 2010. */
#include <config.h>
#include "unistr.h"
#include "macros.h"
static int
check (const uint8_t *input, size_t input_length, ucs4_t *puc)
{
ucs4_t uc;
/* Test recognition when at the beginning of the string. */
if (u8_prev (&uc, input + input_length, input) != ... |
{% load i18n %}
{% load base_tags %}
{% load client_lib_tags %}
{% block head %}
<style>
#paneltbar {
margin-top: 90px !important;
}
</style>
{% get_geoapp_list %}
{% endblock %} |
{% load home_tags %}
<ul id="code-list" class="list">
{% for entry in entrys.object_list %}
<li>
<span>[{{ entry.category }}]</span>
<a href="{{ entry.get_absolute_url }}" title="{{ entry.description|slice:"50" }}" class="title"> {{ entry.title }} </a>
<span class="time">... |
#ifndef GRUB_ZFS_HEADER
#define GRUB_ZFS_HEADER 1
#include <grub/err.h>
#include <grub/disk.h>
/*
* On-disk version number.
*/
#define SPA_VERSION 28ULL
/*
* The following are configuration names used in the nvlist describing a pool's
* configuration.
*/
#define <API key> "version"
#d... |
#define UNICODE
#include <Python.h>
#include <stdlib.h>
#define min(x, y) ((x < y) ? x : y)
#define max(x, y) ((x > y) ? x : y)
static PyObject *
speedup_parse_date(PyObject *self, PyObject *args) {
const char *raw, *orig, *tz;
char *end;
long year, month, day, hour, minute, second, tzh = 0, tzm = 0, sign =... |
check_sudoer() {
show_msg "Checking sudo access for $user"
if [[ `sudo -l -U "$user" 2>&1 | grep "ALL"` ]]; then
show_status "Sudo access exists"
else
show_dialog --title="Add you to the wheel group?" --text="Adding yourself to wheel group will enable you to perform operations as root with sudo. Do you want $pr... |
//#define START_BMPHIGH
#if ENABLED(SHOW_BOOTSCREEN)
#if ENABLED(START_BMPHIGH)
#define START_BMPWIDTH 112
#define START_BMPHEIGHT 38
#define START_BMPBYTEWIDTH 14
#define START_BMPBYTES 532 // START_BMPWIDTH * START_BMPHEIGHT / 8
const unsigned char start_bmp[START_BMPBYTES] PROG... |
/*! \file kspiC.cpp
\author Michael Olsen
\date 08/Mar/2005
\date 08/Mar/2005
*/
/*
This file contains a standard kspiC dispatcher, which will transform the calls into the C++ counterparts.
This can be used by the plug-in to support kspiC with minimal efford.
*/
// KSPI
#ifndef _KSPI_INCLUDED
#inclu... |
//<API key>
//<API key>
#ifndef <API key>
#define <API key>
#include <string>
#include <iostream>
#include "Interaction/ScatteringType.h"
#include "Interaction/InteractionType.h"
using std::string;
using std::ostream;
namespace genie {
class Interaction;
class GVldContext {
public :
GVldContext();
~GVldContext();
... |
<?php
/**
* Exception class for PayPal returned exceptions
*/
class <API key> extends oePayPalException
{
/**
* Exception constructor. Adds additional prefix string to error message.
* @param string $sMessage exception message
* @param integer $iCode exception code
*/
public function _... |
package masterDB;
/**
*
* @author krawler
*/
public class <API key> {
private String id;
private Template template;
private <API key> empcontrimaster;
private String rate;
private String status;
public <API key> getEmpcontrimaster() {
return empcontrimaster;
}
public void setE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.