answer stringlengths 15 1.25M |
|---|
# IMAP folder support
# 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 ... |
/* ScriptData
SDName: Boss_Maexxna
SD%Complete: 80
SDComment:
SDCategory: Naxxramas
EndScriptData */
#include "precompiled.h"
#define SPELL_WEBTRAP 28622 //Spell is normally used by the webtrap on the wall NOT by Maexxna
#define SPELL_WEBSPRAY 29484
#define H_SPELL_WEBSPRAY ... |
#ifndef ENFUSESTACK_H
#define ENFUSESTACK_H
// Qt includes
#include <QTreeWidget>
#include <QString>
#include <QPixmap>
#include <QPoint>
#include <QList>
#include <QIcon>
// KDE includes
#include <kurl.h>
#include <kfileitem.h>
// Local includes
#include "enfusesettings.h"
namespace KIPI
{
class Interface;
}
using nam... |
#include "setup.h"
#ifdef HAVE_GSSAPI
#ifdef HAVE_OLD_GSSMIT
#define <API key> gss_nt_service_name
#define NCOMPAT 1
#endif
#ifndef CURL_DISABLE_HTTP
#include "urldata.h"
#include "sendf.h"
#include "curl_gssapi.h"
#include "rawstr.h"
#include "curl_base64.h"
#include "http_negotiate.h"
#include "curl_memory.h"
#includ... |
<?php
require_once MODX_CORE_PATH.'model/modx/processors/resource/getnodes.class.php';
class <API key> extends <API key> {
protected $pid;
protected $parent_id;
/** {@inheritDoc} */
public function initialize() {
$initialize = parent::initialize();
$this->pid = $this->getProperty('curre... |
using System.Collections.Generic;
class C
{
class ArrayReadOnlyList<T>
{
T [] array;
bool is_value_type;
public ArrayReadOnlyList ()
{
}
public T this [int index]
{
get
{
return array [index];
}
}... |
package org.opencloudb.net.mysql;
/**
* @author mycatload data infile
*/
public class EmptyPacket extends MySQLPacket {
public static final byte[] EMPTY = new byte[] { 0, 0, 0,3 };
@Override
public int calcPacketSize() {
return 0;
}
@Override
protected String getPacketInfo() {
... |
<?php
session_start();
/////////////////////////////////////////// SEGURIDAD /////////////////////////////////////////////
if(!array_key_exists("la_logusr",$_SESSION))
{
print "<script language=JavaScript>";
print "location.href='../<API key>.php'";
print "<... |
// 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... |
#ifndef H2C_PATTERN_LIST_H
#define H2C_PATTERN_LIST_H
#include <vector>
#include <hydrogen/object.h>
namespace H2Core
{
class Pattern;
/**
* PatternList is a collection of patterns
*/
class PatternList : public H2Core::Object
{
H2_OBJECT
public:
/** constructor */
PatternList();
/**... |
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/i2c.h>
#include <linux/i2c/sx150x.h>
#include <linux/i2c/isl9519.h>
#include <linux/gpio.h>
#include <linux/msm_ssbi.h>
#include <linux/regulator/msm-gpio-regulator.h>
#include <linux/mfd/pm8xxx/pm8... |
#include <stdio_ext.h>
#include "libioP.h"
void
__fpurge (FILE *fp)
{
if (fp->_mode > 0)
{
/* Wide-char stream. */
if (_IO_in_backup (fp))
<API key> (fp);
fp->_wide_data->_IO_read_end = fp->_wide_data->_IO_read_ptr;
fp->_wide_data->_IO_write_ptr = fp->_wide_data->_IO_write_base;
}... |
function c168917.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(168917,0))
e1:SetProperty(<API key>)
e1:SetCategory(<API key>)
e1:SetType(<API key>)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c168917.sptg)
e1:SetOpera... |
#include "../unit_fixture.h"
namespace testsuite
{
namespace classes
{
class variant: public unit_fixture
{
private:
typedef unit_fixture super;
protected:
public:
<API key>(variant)
{
TEST_CASE(getValue);
TEST_CASE(<API key>);
TEST_CASE(<API key>);
}
/**
* Test variant:... |
<?php
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die();
?>
<div id="<API key>">
<?php if($isMember){ ?>
<p><?php echo JText::_('<API key>'); ?></p>
<?php }else{ ?>
<p><?php echo JText::sprintf('<API key>', $event->title );?></p>
<?php } ?>
</div> |
<?php
/**
* Test class for \Magento\Framework\View\Layout\Element
*/
namespace Magento\Framework\View\Test\Unit\Layout;
use \Magento\Framework\View\Layout\GeneratorPool;
use \Magento\Framework\View\Layout\ScheduledStructure;
use \Magento\Framework\View\Layout\Data\Structure as DataStructure;
class GeneratorPoolTest e... |
<?php
require_once dirname(__FILE__).'/IFestiEngine.php';
abstract class FestiPlugin implements IFestiEngine
{
protected $_wpUrl;
protected $_wpPluginsUrl;
protected $_pluginDirName;
protected $_pluginMainFile;
protected $_pluginPath;
protected $_pluginUrl;
protected $_pluginCachePath;
p... |
/* Implementation of root handler */
/* Date Ver Who Comment */
/* 09.03.15 1.00 Lad Created */
#define __CASCLIB_SELF__
#include "../CascLib.h"
#include "../CascCommon.h"
// C... |
using System;
using System.Collections;
namespace Brunet.Applications {
/**
<summary>Determines the current operating system, between Linux and
Windows. This is a static class unified class rather than have other
parts of the code look at Environment.OSVersion.Platform and figure
information from there.</sum... |
<?php
defined('_JEXEC') or die( 'Restricted access' );
jimport('joomla.filesystem.file');
jimport('joomla.installer.helper');
require_once(JPATH_ROOT.DS.'administrator'.DS.'components'.DS.'com_imageshow'.DS.'classes'.DS.'jsn_is_installer.php');
class JSNISInstallPackage extends JObject {
var $_tmpFolder;
var $_... |
#include "<API key>.h"
const unsigned int TIMES_WIDTH = 300U;
const unsigned int BORDER_SIZE = 5U;
<API key>::<API key>(wxWindow* parent, int id, const wxString& title, unsigned int timeout, unsigned int ackTime, unsigned int frameWaitTime) :
wxPanel(parent, id),
m_title(title),
m_timeout(NULL),
m_ackTime(NULL),
m_fra... |
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/list.h>
#include <linux/cdev.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/device.h>
#include <linux/sched.h>
#include <linux/pm_runtime.h>
#include <linux/fs.h>
#include <linux/uaccess.h>
#include <linux/slab.... |
/** @file
* @brief Dialog for renaming layers
*/
#ifndef <API key>
#define <API key>
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#if <API key> && <API key>
#include <glibmm/threads.h>
#endif
#include <gtkmm/dialog.h>
#include <gtkmm/entry.h>
#include <gtkmm/label.h>
#if WITH_GTKMM_3_0
#include <gtkmm/grid.h>
#e... |
<?php
namespace TYPO3\CMS\Backend\Form;
use TYPO3\CMS\Core\Utility\ArrayUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility;
/**
* Base class for container and single elements - their abstracts extend from here.
*/
abstract class AbstractNode implements NodeInterface
{
/**
* Main data array to work on, given ... |
#!/bin/sh
. ../../dttools/test/test_runner_common.sh
. ./parrot-test.sh
. ../../chirp/test/chirp-common.sh
c="./hostport.$PPID"
myp() {
parrot --no-chirp-catalog --timeout=5 --work-dir="/chirp/$hostport/" "$@"
}
prepare()
{
chirp_start local
echo "$hostport" > "$c"
return 0
}
run()
{
hostport=$(cat ... |
/* Make __c6xabi_AEABI_NAME an alias for __GCC_NAME. */
#define RENAME_LIBRARY(GCC_NAME, AEABI_NAME) \
__asm__ (".globl\t__c6xabi_" #AEABI_NAME "\n" \
".set\t__c6xabi_" #AEABI_NAME \
", __gnu_" #GCC_NAME "\n");
/* Rename helper functions to the names specified in the C6000 ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ohcount: CallbackItem Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><... |
# -*- coding: utf-8 -*-
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt5 import QtCore, QtGui, QtWidgets
class <API key>(object):
def setupUi(self, <API key>):
<API key>.setObjectName("<API key>")
<API key>.resize(539, 705)
self.vboxlayout = Q... |
(function ($) {
angular.module('<API key>', ['mediaBrowser', 'MediaBrowserField']);
})(jQuery); |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "arm9tdmi.h"
#include "target_type.h"
#include "register.h"
#include "arm_opcodes.h"
#include "arm_semihosting.h"
/*
* NOTE: this holds code that's used with multiple ARM9 processors:
* - ARM9TDMI (ARMv4T) ... in ARM920, ARM922, and ARM940 cores
* - ARM9E-S... |
<?php
if (!defined('NV_IS_FILE_ADMIN')) {
die('Stop!!!');
}
$page_title = $lang_module['content_list'];
$stype = $nv_Request->get_string('stype', 'get', '-');
$sstatus = $nv_Request->get_int('sstatus', 'get', -1);
$catid = $nv_Request->get_int('catid', 'get', 0);
$per_page_old = $nv_Request->get_int('per_page', 'co... |
#include <linux/qcomwlan_pwrif.h>
#define <API key> 230
#define WLAN_RESET_OUT 1
#define WLAN_RESET 0
static const char *id = "WLAN";
int <API key>(int on)
{
static char wlan_on;
static const char *vregs_qwlan_name[] = {
"8058_l20",
"8058_l8",
"8901_s4",
"8... |
# Written by Gustavo Niemeyer <niemeyer@conectiva.com>
# This file is part of Smart Package Manager.
# Smart Package Manager is free software; you can redistribute it and/or
# your option) any later version.
# Smart Package Manager is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PA... |
#ifndef MIPS_LINUX_TDEP_H
#define MIPS_LINUX_TDEP_H
/* Copied from <asm/elf.h>. */
#define ELF_NGREG 45
#define ELF_NFPREG 33
typedef unsigned char mips_elf_greg_t[4];
typedef mips_elf_greg_t mips_elf_gregset_t[ELF_NGREG];
typedef unsigned char mips_elf_fpreg_t[8];
typedef mips_elf_fpreg_t mips_elf_fpregset... |
package com.oracle.chess.protocol;
import java.util.ArrayList;
import java.util.List;
/**
* QueryGamesRsp class.
*
*/
public class QueryGamesRsp extends MessageRsp {
public static class Game {
private String gameId;
private String summary;
private boolean open;
private String whit... |
/*
* This file contains the system call macros and syscall
* numbers used by the shared library loader.
*/
#define __NR_exit 1
#define __NR_read 3
#define __NR_write 4
#define __NR_open 5
#define __NR_close 6
#define __NR_getpid 20
#define __NR_getuid 24
#... |
#pragma once
#include "FileItem.h"
#include "addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_types.h"
#include "interfaces/IAnnouncer.h"
#include "threads/Event.h"
#include "threads/Thread.h"
#include "utils/EventStream.h"
#include "utils/JobManager.h"
#include "utils/Observer.h"
#include "pvr/PVRActionListener.h"
#inc... |
// <API key>: GPL-2.0
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/pinctrl/consumer.h>
#include "i2c-at91.h"
unsigne... |
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "tree.h"
#include "stor-layout.h"
#include "print-tree.h"
#include "tree-iterator.h"
#include "cp-tree.h"
#include "flags.h"
#include "tree-inline.h"
#include "debug.h"
#include "convert.h"
#include "cgraph.h"
#include "splay-tree.h... |
ALTER TABLE db_version CHANGE COLUMN <API key> <API key> bit;
DELETE FROM `<API key>` WHERE `spell` IN (20154, 20271, 21084);
DELETE FROM `npc_trainer` WHERE `spell` IN (20154, 20271, 21084); |
#ifndef __HTTPC_H__
#define __HTTPC_H__
#include <rtthread.h>
#include <lwip/sockets.h>
#include <lwip/netdb.h>
struct http_session
{
char* user_agent;
int socket;
/* size of http file */
rt_size_t size;
rt_off_t position;
};
struct http_session* http_session_open(const char* url);
rt_size_t http... |
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/pm.h>
#include <linux/pcieport_if.h>
#include "portdrv.h"
extern int pcie_mch_quirk; /* MSI-quirk Indicator */
static int <API key>(struct device *dev)
{
struct pcie_device *pciedev;
struct <AP... |
.<API key> .block,
.<API key> .block {
overflow:hidden;
}
.<API key> .block:before,
.<API key> .block:before {
content:"";
position:absolute;
top:0;
right:0;
border-width:0 16px 16px 0;
border-style:solid;
-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
-moz-box-sha... |
#include "sysconfig.h"
#include "sysdeps.h"
#include "include/uae.h"
#include "include/options.h"
#include "gensound.h"
#include "audio.h"
#include "uae/fs.h"
int have_sound = 0;
static float <API key>;
static int obtainedfreq;
static float <API key> = 1.0;
/* Originally from sampler.cpp (not used in FS-UAE) */
float s... |
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/highmem.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/comple... |
"""\
minidom.py -- a lightweight DOM implementation based on SAX.
parse( "foo.xml" )
parseString( "<foo><bar/></foo>" )
Todo:
==
* convenience methods for getting elements and text.
* more testing
* bring some of the writer and linearizer code into conformance with this
interface
* SAX 2 namespaces
"""
impo... |
#include <linux/init.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/dmaengine.h>
#include <linux/module.h... |
#ifndef QGSGRASSUTILS_H
#define QGSGRASSUTILS_H
#include <QObject>
class QDialog;
class QLineEdit;
class QLabel;
class QPushButton;
class QgisInterface;
/*! \class QgsGrassUtils
* \brief Various utilities.
*/
class QgsGrassUtils
{
public:
//! Constructor
QgsGrassUtils();
//! Destructor
~QgsGrassUti... |
<?php
/**
* Include error handling
*/
//require_once 'PEAR.php';
/**
* Which user interface class is being used.
* @var string class name
*/
$GLOBALS['<API key>'] = 'PEAR_Frontend_CLI';
/**
* Instance of $<API key>.
* @var object
*/
$GLOBALS['<API key>'] = null;
class PEAR_Frontend extends PEAR
{
/**
*... |
// RUN: %clang_cc1 -verify -fopenmp -ast-print %s | FileCheck %s
// RUN: %clang_cc1 -fopenmp -x c++ -std=c++11 -emit-pch -o %t %s
// RUN: %clang_cc1 -fopenmp -std=c++11 -include-pch %t -fsyntax-only -verify %s -ast-print | FileCheck %s
// <API key>
#ifndef HEADER
#define HEADER
void foo() {}
template <class T, int N>
T... |
#include "rar.hpp"
static int SleepTime=0;
void InitSystemOptions(int SleepTime)
{
::SleepTime=SleepTime;
}
#if !defined(SFX_MODULE)
void SetPriority(int Priority)
{
#ifdef _WIN_ALL
uint PriorityClass;
int PriorityLevel;
if (Priority<1 || Priority>15)
return;
if (Priority==1)
{
PriorityClass=IDLE_PR... |
int main(void)
{
int i = 0;
i++, i = (i == 0) ? 42 : 89;
return 0;
} |
// This file is part of Parity.
// Parity is free software: you can redistribute it and/or modify
// (at your option) any later version.
// Parity is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
import marked from 'marked';
import React, { Component, P... |
#ifndef <API key>
#define <API key>
#include "PyPlasma.h"
PY_WRAP_PLASMA(<API key>, class <API key>);
#endif |
"""Predicted Electoral Vote Count"""
import re
from madcow.util.http import getsoup
from madcow.util.color import ColorLib
from madcow.util import Module, strip_html
class Main(Module):
pattern = re.compile(r'^\s*(election|ev)\s*$', re.I)
help = u'ev - current election 2008 vote prediction'
baseurl = u'http... |
/*global rJS, RSVP, initGadgetMixin, loopEventListener, $ */
(function(window, rJS, RSVP, initGadgetMixin, loopEventListener, $) {
"use strict";
function saveSpreadsheet(evt) {
var gadget = this, editor_data, editor_gadget;
return new RSVP.Queue().push(function() {
// Prevent double ... |
==================
[[\yii\httpclient\Client]]
[[\yii\httpclient\Client]] [[\yii\base\Component]] [[\yii\di\Container]]
php
return [
'components' => [
'phpNetHttp' => [
'class' => 'yii\httpclient\Client',
'baseUrl' => 'http://uk.php.net',
],
],
];
echo Yii::$app->phpNet... |
package com.google.clearsilver.jsilver.syntax.node;
import com.google.clearsilver.jsilver.syntax.analysis.*;
@SuppressWarnings("nls")
public final class ANameVariable extends PVariable
{
private TWord _word_;
public ANameVariable()
{
// Constructor
}
public ANameVariable(
@SuppressWa... |
#include <stdint.h>
#include <stdbool.h>
#include <avr/io.h>
#include <util/delay.h>
#include "print.h"
#include "debug.h"
#include "util.h"
#include "matrix.h"
#include "eeconfig.h"
#include "action_layer.h"
#include "backlight.h"
#ifndef DEBOUNCE
# define DEBOUNCE 0
#endif
static uint8_t debouncing = DEBOUNCE;
stat... |
from chill import *
source('mm.c')
procedure('mm')
#format: rose
loop(0)
known('ambn > 0')
known('an > 0')
known('bm > 0')
permute([3,1,2])
print_code() |
# This file is part of ycmd.
# ycmd is free software: you can redistribute it and/or modify
# (at your option) any later version.
# ycmd is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
from ycmd.utils import re, SplitLines
C_STYLE_COMMENT = '/\\*(?:\n|.... |
#include <r_anal.h>
#include <r_lib.h>
#include <capstone/capstone.h>
#include <capstone/arm.h>
#include "esil.h"
/* arm64 */
#define IMM64(x) insn->detail->arm64.operands[x].imm
/* arm32 */
#define REG(x) cs_reg_name (*handle, insn->detail->arm.operands[x].reg)
#define REG64(x) cs_reg_name (*handle, insn->detail->arm6... |
//: generics/CreatorGeneric.java
abstract class GenericWithCreate<T> {
final T element;
GenericWithCreate() { element = create(); }
abstract T create();
}
class X {}
class Creator extends GenericWithCreate<X> {
X create() { return new X(); }
void f() {
System.out.println(element.getClass().getSimpleName()... |
#include <stdbool.h>
#include <stdint.h>
#include "platform.h"
#ifdef USE_MAX7456
#include "common/utils.h"
#include "drivers/display.h"
#include "drivers/max7456.h"
#include "fc/config.h"
#include "io/displayport_max7456.h"
#include "io/osd.h"
#include "pg/max7456.h"
#include "pg/pg.h"
#include "pg/pg_ids.h"
#include ... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>SilentEye: SilentEyeFramework::Video Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
... |
// Moodle is free software: you can redistribute it and/or modify
// (at your option) any later version.
// Moodle is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
import * as DynamicTable from 'core_table/dynamic';
import * as Str from 'core/str';
impo... |
#shop .productDescription .price,
div.featured-box i.fa,
.pagination>li>a,
.pagination>li>a:hover,
.pagination>li>a:active,
.pagination>li>a:focus,
.pagination>li>span,
a,
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em,
#header a:hover,
#footer a:hover,
#header ul.nav li:hover>a,
#header ul.nav li ul li:hover>a,
#default .st... |
<?php
/**
* Test class for \Magento\Cms\Controller\Page.
*/
namespace Magento\Cms\Controller;
class PageTest extends \Magento\TestFramework\TestCase\AbstractController
{
public function testViewAction()
{
$this->dispatch('/enable-cookies/');
$this->assertContains('What are Cookies?', $this->ge... |
#include "test.h"
#include "testutil.h"
#include "testtrace.h"
#include "memdebug.h"
struct libtest_trace_cfg <API key>;
static time_t epoch_offset; /* for test time tracing */
static int known_offset; /* for test time tracing */
static
void libtest_debug_dump(const char *timebuf, const char *text, FILE *stream,
... |
define(['app'], function (app) {
app.controller('DevicesController', [ '$scope', '$rootScope', '$location', '$http', '$interval', function($scope,$rootScope,$location,$http,$interval) {
AddDevice = function(idx,itemname)
{
$.devIdx = idx;
if (name!='Unknown') {
... |
<html lang="en">
<head>
<title>Symbol-Renaming Pragmas - Using the GNU Compiler Collection (GCC)</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using the GNU Compiler Collection (GCC)">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="in... |
<?php
namespace Claroline\CoreBundle\Event\Log;
class LogUserCreateEvent extends LogGenericEvent
{
const ACTION = 'user-create';
/**
* Constructor.
*/
public function __construct($receiver)
{
parent::__construct(
self::ACTION,
array(
'receiverUse... |
package eu.siacs.conversations.xmpp.forms;
import java.util.Collection;
import java.util.Iterator;
import eu.siacs.conversations.xml.Element;
public class Field extends Element {
public Field(String name) {
super("field");
this.setAttribute("var",name);
}
private Field() {
super("fie... |
using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Microsoft.CSharp.RuntimeBinder;
using Rubberduck.VBEditor.SafeComWrappers.Abstract;
using MSO = Microsoft.Office.Core;
// ReSharper disable once CheckNamespace - Special dispensation due to conflicting file vs na... |
// File: Main.cpp
// Project: Launcher
#include <StdInc.h>
int ShowMessageBox(char * szText)
{
return MessageBox(NULL, szText, "IV:MP", MB_ICONEXCLAMATION | MB_OK);
}
bool <API key>(char * szProcessName, DWORD * dwProcessId)
{
bool bReturn = false;
// Create a tool help 32 process snapshot
HANDLE hProce... |
#include "../driver.h"
#include "../boolean.h"
// Starts a video driver in a new thread.
// Access to video driver will be mediated through this driver.
bool <API key>(const video_driver_t **out_driver, void **out_data,
const input_driver_t **input, void **input_data,
const video_driver_t *driver, const vid... |
#ifndef <API key>
#define <API key>
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#include <magick/exception-private.h>
#include <magick/image.h>
#include <magick/color.h>
#include <magick/image-private.h>
#include <magick/quantum-private.h>
static inline MagickPixelPacket *<API key>(
const Magi... |
var TidalResolver = Tomahawk.extend(Tomahawk.Resolver, {
apiVersion: 0.9,
/* This can also be used with WiMP service if you change next 2 lines */
api_location: 'https://listen.tidal.com/v1/',
api_<API key>,
logged_in: null, // null, = not yet tried, 0 = pending, 1 = success, 2 = failed
settings... |
<?php
namespace SMW\MediaWiki\Hooks;
use SMW\FactboxCache;
use SMW\Application;
use SMW\CacheIdGenerator;
use WikiPage;
class ArticlePurge {
/**
* @var WikiPage
*/
protected $wikiPage = null;
/**
* @since 1.9
*
* @param WikiPage $wikiPage
*/
public function __construct( Wi... |
#!/usr/bin/python
import argparse
import xml.etree.ElementTree as ET
def main():
parser = argparse.ArgumentParser(description="List all error without a CWE assigned in CSV format")
parser.add_argument("-F", metavar="filename", required=True, help="XML file containing output from: ./cppcheck --errorlist --xml-ve... |
#endregion
namespace OpenUO.Ultima
{
public sealed class SkillData
{
//public static SkillData DefaultData { get { return new SkillData(-1, "null", false, 0, 0x0, null); } }
private readonly SkillCategory _category;
private readonly int _extra;
private readonly int _index = -1;
... |
package com.playuav.android.proxy.mission.item.fragments;
import com.playuav.android.R;
import com.o3dr.services.android.lib.drone.mission.MissionItemType;
public class MissionRTLFragment extends <API key> {
@Override
protected int getResource() {
return R.layout.<API key>;
}
@Override
publi... |
cordova.define("<API key>.mainHandle", function(require, exports, module) {
var inBrowser = false;
var NativeStorageError = require('./NativeStorageError');
function isInBrowser() {
inBrowser = (window.cordova && (window.cordova.platformId === 'browser' || window.cordova.platformId === 'osx')) || !(window.phonegap ||... |
// The LLVM Compiler Infrastructure
// <memory>
// template <class OuterAlloc, class... InnerAllocs>
// class <API key>
// <API key>& operator=(const <API key>& other);
#include <scoped_allocator>
#include <cassert>
#include "allocators.h"
int main()
{
#ifndef <API key>
{
typedef std::... |
<?php
// Moodle is free software: you can redistribute it and/or modify
// (at your option) any later version.
// Moodle is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
defined('MOODLE_INTERNAL') || die();
$string['pluginname'] = 'Google Drive';
$strin... |
/**
* \file load.c
*
* This file contains the routines that deal with processing text strings
* for options, either from a NUL-terminated string passed in or from an
* rc/ini file.
*
* @addtogroup autoopts
* @{
*/
/* = = = <API key> = = = */
static bool
get_realpath(char * buf, size_t b_sz);
static bool
ad... |
#include "allegro.h"
#include "allegro/internal/aintern.h"
#include "allegro/platform/aintqnx.h"
#ifndef ALLEGRO_QNX
#error Something is wrong with the makefile
#endif
#include <pthread.h>
static BITMAP *qnx_ph_init_win(int, int, int, int, int);
static void qnx_ph_exit_win(BITMAP *);
static void qnx_ph_vsync_win(voi... |
<?php
require_once $CFG->dirroot.'/mnet/xmlrpc/xmlparser.php';
require_once $CFG->dirroot.'/mnet/peer.php';
require_once $CFG->dirroot.'/mnet/environment.php';
CONSTANTS
define('RPC_OK', 0);
define('RPC_NOSUCHFILE', 1);
define('RPC_NOSUCHCLASS', 2);
define('RPC_NOSUCHFUNCTION', 3);
define... |
#ifndef _GCONF_FILE_HPP_
#define _GCONF_FILE_HPP_
#include <gconf/gconf.h>
#include <gconf/gconf-client.h>
#include <string>
#include <vector>
#include "config_file.hpp"
class gconf_file : public config_file {
public:
explicit gconf_file(const std::string& path);
~gconf_file();
bool read_bool(const gchar *s... |
#ifndef MPLAYER_GUI_GUI_H
#define MPLAYER_GUI_GUI_H
#include "config.h"
#include "mplayer.h"
#include "playtree.h"
#include "m_config.h"
#include "skinload.h"
#include "playlist.h"
extern float sub_aspect;
extern play_tree_t* playtree;
extern int sub_window;
extern int console;
extern NOTIFYICONDATA nid;
extern char *c... |
<?php
namespace core\dao\json;
class Item implements \ArrayAccess, \IteratorAggregate, \JsonSerializable {
protected $data = array();
public function __construct($data) {
if (!$data instanceof \Traversable && !is_array($data)) {
throw new \<API key>('Invalid data : variable must be an array ... |
<HTML>
<BODY>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
<B>-</B> <B>specify</B> <B>material</B> <B>parameters</B> <B>for</B> <B>the</B> <B>lighting</B> <B>model</B>
</PRE>
<H2>C SPECIFICATION</H2><PRE>
</PRE>
<H2>PARAMETERS</H2><PRE>
_param1 Specifies which face or faces are being updated.
... |
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
import { Component, ElementRef, EventEmitter, HostListener, In... |
subroutine s3(n, z, y)
!$ use m2, only: s2
integer, intent(in) :: n
real, intent(out) :: z(:)
real, intent(in) :: y(:)
!$ include "i2.f90"
end subroutine s3 |
<?php
// This file is part of BOINC.
// BOINC is free software; you can redistribute it and/or modify it
// as published by the Free Software Foundation,
// BOINC is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
require_once("../inc/util.inc");
require_once("../... |
#pragma once
#include <functional>
namespace dreal {
template <class T>
inline void hash_combine(std::size_t & seed, const T & v) {
std::hash<T> hasher;
seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
}
} // namespace dreal |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="t... |
// Test the JS shell's toy principals.
var count = 0;
// Given a string of letters |expected|, say "abc", assert that the stack
// contains calls to a series of functions named by the next letter from
// the string, say a, b, and then c. Younger frames appear earlier in
// |expected| than older frames.
function check(e... |
package org.openmrs.module.radiology.modality;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsNull.notNullValue;
import static org.hamcrest.core.IsNull.nullValue;
import static org.junit.Assert.assertThat;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.... |
String.join = function(list, seperator){
var output = "";
for(var i = 0; i < list.length; i++){
if (output != "") output += seperator;
output += list[i];
}//for
return output;
};
//RETURN THE STRING BETWEEN THE start AND end
//IF end IS UNDEFINED, THEN GRABS TO END OF STRING
String.proto... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.