answer stringlengths 15 1.25M |
|---|
#ifndef __MSM_ISP_UTIL_H__
#define __MSM_ISP_UTIL_H__
#include "msm_isp.h"
#include <soc/qcom/camera2.h>
/* #define CONFIG_MSM_ISP_DBG 1 */
#ifdef CONFIG_MSM_ISP_DBG
#define ISP_DBG(fmt, args...) printk(fmt, ##args)
#else
#define ISP_DBG(fmt, args...) pr_debug(fmt, ##args)
#endif
#define ALT_VECTOR_IDX(x) {x = 3 - x; }... |
#include "MainWindow.h"
#include "opengl/kis_opengl.h"
#include <QApplication>
#include <QResizeEvent>
#include <QDeclarativeView>
#include <QDeclarativeContext>
#include <QDeclarativeEngine>
#include <QDir>
#include <QFile>
#include <QMessageBox>
#include <QFileInfo>
#include <QGLWidget>
#include <QTimer>
#include <ku... |
// Project owner : Ray Liang (csharp2002@hotmail.com)
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
namespace DNA.Web.Data.Entity.ModelConfiguration
{
public class <API key> : <API key><ContentDataItem>
{
public <API k... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WaveLibrary.Wave
{
public class SubWave : IWave
{
IWave original;
int index, count;
public SubWave(IWave original, double sec) : this(original, (int)(original.Sam... |
<?php
// No direct access
defined('_JEXEC') or die;
/**
* @param array A named array
* @return array
*/
function EpgBuildRoute(&$query)
{
$segments = array();
if (isset($query['task'])) {
$segments[] = implode('/',explode('.',$query['task']));
unset($query['task']);
}
if (iss... |
#ifndef __UCL_AV_H
#define __UCL_AV_H
@begin
include "ucl_bitmap.h"
include "script_parser.h"
@end
extern "C" {
#include <libavformat/avformat.h>
#include <libswscale/swscale.h>
}
extern "C" {
// - mutex lock callback function -
int av_lock_callback(void **mutex,enum AVLockOp op);
// - log callback function -
void av_l... |
@lost gutter 10px;
@lost flexbox flex;
@custom-media --medium-up (min-width: 768px);
/**
* Default
*/
.<API key>,
.<API key> {
margin: 0 auto;
max-width: 1100px;
}
.<API key> {
margin-bottom: 2em;
padding-bottom: 2em;
text-align: center;
}
.<API key> h1 {
margin-bottom: 0;
}
/**
* Featured Se... |
#!/bin/bash
LINKS_FILE=$1
DOWNLOADS_PATH=$(dirname "$1")
echo "
echo "Usage: playlister <LINKS FILE>"
echo "
echo "Reading videos from: $LINKS_FILE"
echo "Your downloaded files will be available here: $DOWNLOADS_PATH"
echo ''
youtube-dl -o "$DOWNLOADS_PATH/%(title)s.%(ext)s" --batch-file "$LINKS_FILE"
# while read -r u... |
<?php
defined('_JEXEC') or die;
?>
<dl class="search-results<?php echo $this->pageclass_sfx; ?>">
<?php foreach ($this->results as $result) : ?>
<dt class="result-title">
<?php echo $this->pagination->limitstart + $result->count.'. ';?>
<?php if(isset($result->joomgallerypicture)) : ?>
<a href="<?... |
#!/usr/bin/env ruby
require 'rubygems'
require 'gollum/app'
gollum_path = File.expand_path(File.dirname(__FILE__)) # CHANGE THIS TO POINT TO YOUR OWN WIKI REPO
Precious::App.set(:gollum_path, gollum_path)
Precious::App.set(:default_markup, :markdown) # set your favorite markup language
Precious::App.set(:wiki_options, ... |
<?php
$logname = "/tmp/stats";
/* PUT data comes in on the stdin stream */
$putdata = fopen("php://input", "r");
$stats = fopen($logname, "w");
/* Read the data 1 packet at a time */
$int_start = microtime(true);
$bytes = 0;
while ($data = fread($putdata, 1420)) {
if (($curr = microtime(true)) > ($int_start + 1)) {... |
// ISSideBarVC.h
// <API key>
#import <UIKit/UIKit.h>
#import "ISSideBarTVC.h"
@interface ISSideBarVC : UIViewController
@property (weak, nonatomic) ISSideBarTVC *tableVC;
@end |
package org.hl7.v3;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRo... |
#ifndef BCHP_TIMER_H__
#define BCHP_TIMER_H__
#define BCHP_TIMER_TIMER_IS 0x004067c0 /* TIMER INTERRUPT STATUS REGISTER */
#define <API key> 0x004067c4 /* TIMER CPU INTERRUPT ENABLE REGISTER */
#define <API key> 0x004067c8 /* TIMER0 CONTROL REGISTER */
#define ... |
<?php
// clearing the session before starting new API Call
session_unset();
?>
<html>
<head>
<title>PayPal Merchant SDK - DoDirectPayment API</title>
<link rel="stylesheet" href="../Common/sdk.css"/>
<script language="JavaScript">
function generateCC(){
var cc_number = new Array(16);
var cc_len = 16... |
#include "config.h"
#include "system.h"
#include "coretypes.h"
#include "tm.h"
#include "hash-set.h"
#include "machmode.h"
#include "vec.h"
#include "double-int.h"
#include "input.h"
#include "alias.h"
#include "symtab.h"
#include "wide-int.h"
#include "inchash.h"
#include "tree.h"
#include "fold-const.h"
#include "str... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class <API key> | Mi proyecto</title>
<link rel="stylesheet" href="resources/style.css?<SHA1-like>">
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups"... |
#include "Common.h"
#include "PlayerDump.h"
#include "DatabaseEnv.h"
#include "UpdateFields.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "AccountMgr.h"
#include "CharacterCache.h"
#include "World.h"
#define DUMP_TABLE_COUNT 32
struct DumpTable
{
char const* name;
DumpTableType type;
};
DumpTable const... |
<?php
function <API key>(){
include_once(ABSPATH . WPINC . '/feed.php');
$rss = fetch_feed('http://themes.tielabs.com/xml/themes.xml');
if ( !is_wp_error( $rss ) ){
return $rss->get_items();
}
return false;
}
# Custom Admin Bar Menus
function tie_admin_bar() {
global $wp_admin_bar;
i... |
<?php
/**
* Latest message
*
* Links to DBC Media and podcast
*
* @package Hybrid
* @subpackage Template
*/
?>
<div id="latest-message">
<div class="<API key>">This Week's Message</div>
<div class="latest-message-left">
<div class="<API key>"><a href="http://dbcmedia.org/" rel="external">Visit DB... |
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/radeon_drm.h>
#include <drm/drm_fixed.h>
#include "radeon.h"
#include "atom.h"
#include "atom-bits.h"
static void <API key>(struct drm_crtc *crtc,
struct drm_display_mode *mode,
struct drm_display_mode *adjusted... |
require './lib/downloader'
require './lib/csv_exporter.rb'
ENV['mysql_host'] ||= 'localhost'
ENV['mysql_port'] ||= '3306'
ENV['mysql_username'] ||= 'chill_user'
ENV['mysql_password'] ||= 'chill_pass'
ENV['mysql_database'] ||= 'chill_prod'
ENV['url_base'] ||= 'http:
ENV['destination_dir'] ||= 'downloads/'
exporter = Csv... |
/*
USAGE:
Create a new prompt for the user like this;
var askuser = new $.Prompt();
Then add header, message, responses etc like this;
askuser.setTitle('This is the title');
askuser.setMessage('This is the body text');
askuser.addResponseBtn('Hello', function() {
alert('action'... |
#ifndef SPYKEE_HEADER
#define SPYKEE_HEADER
#include "PracticalSocket.h"
#include <vector>
#include <string>
#include <stdint.h>
#define SPYKEE_MAX_IMAGE 10000
class SpykeeException: public exception
{
virtual const char* what() const throw()
{
return "Error while communicating with the robot!";
}
};
class Sp... |
#include <linux/module.h>
const unsigned int p_lg_qc_lcdc_lut[256] = {
#if defined(<API key>) || defined(<API key>)
0x00000000, 0x00010101, 0x00020202, 0x00030303,
0x00040404, 0x00050505, 0x00060606, 0x00070707,
0x00080808, 0x00090909, 0x000a0a0a, 0x000b0b0b,
0x000c0c0c, 0x000d0d0d, 0x000e0e0e, 0x000... |
// flickRoomCell.h
// veraflick
// 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
// with this program; if not, write to... |
# jack_m3u: generate a m3u playlist - a module for
# jack - tag audio from a CD and encode it using 3rd party software
# 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 FITNE... |
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/blkdev.h>
#include <linux/delay.h>
#include <linux/kthread.h>
#include <linux/spinlock.h>
#include <linux/async.h>
#include <linux/slab.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
#in... |
/* ScriptData
SDName: Loch_Modan
SD%Complete: 100
SDComment: Quest support: 3181 (only to argue with pebblebitty to get to searing gorge, before quest rewarded)
SDCategory: Loch Modan
EndScriptData */
/* ContentData
<API key>
EndContentData */
#include "precompiled.h"
bool <API key>(Player* pPlayer, Creature* pCreature... |
!! ======================================================================
!! Atomistica - Interatomic potential library and molecular dynamics code
!! https://github.com/Atomistica/atomistica
!!
!! Copyright (2005-2020) Lars Pastewka <lars.pastewka@imtek.uni-freiburg.de>
!! and others. See the AUTHORS file in the top-l... |
Date.format = 'yyyy-mm-dd';
$(function()
{
$('.date-pick').datePicker({startDate:'06/07/1980'});
}); |
/* A Bison parser, made by GNU Bison 3.0.2. */
/* C LALR(1) parser skeleton written by Richard Stallman, by
simplifying the original so-called "semantic" parser. */
/* All symbols defined below should begin with yy or YY, to avoid
infringing on user name space. This should be done even for local
variables, ... |
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)regexec.c 8.3 (Berkeley) 3/20/94";
#endif /* LIBC_SCCS and not lint */
/*
* the outer shell of regexec()
*
* This file includes engine.c *twice*, after muchos fiddling with the
* macros that code uses. This lets the same code operate on two di... |
//>>built
define("dojox/editor/plugins/nls/pt/InsertEntity",{insertEntity:"Inserir S\u00edmbolo"});
//@ sourceMappingURL=InsertEntity.js.map |
package com.bob.demo02.client;
import com.bob.demo02.domain.Constants;
import com.bob.demo02.domain.msg.AskMsg;
import com.bob.demo02.domain.msg.AskParams;
import com.bob.demo02.domain.msg.LoginMsg;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelInitializer;
i... |
// System.Security.Cryptography.X509Certificate2 class
// Sebastien Pouliot <sebastien@ximian.com>
// 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,
// permi... |
# -*- coding: utf-8 -*-
# This tool helps you rebase your package to the latest version
# 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. Se... |
<?php
namespace Core\Bundle\BlogBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class <API key> extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hello/Fabien');
$this->assertTrue($craw... |
package de.geotech.systems.utilities;
import java.util.ArrayList;
import android.graphics.Color;
public class ClassesColorModel {
public ClassesColorModel() {
}
public class VCColor {
private String name;
private int color;
public VCColor(int i, String n) {
... |
#include "Database/SqlDelayThread.h"
#include "Database/SqlOperations.h"
#include "DatabaseEnv.h"
SqlDelayThread::SqlDelayThread(Database* db) : m_dbEngine(db), m_running(true)
{
}
void SqlDelayThread::run()
{
mysql_thread_init();
SqlAsyncTask * s = NULL;
ACE_Time_Value _time(2);
while (m_running)
{... |
<html>
<head>
<title>RunUO Documentation - Class Overview - WhiteMisoSoup</title>
</head>
<body bgcolor="white" style="font-family: Courier New" text="#000000" link="#000000" vlink="#000000" alink="#808080">
<h4><a href="../namespaces/Server.Items.html">Back to Server.Items</a></h4>
<h2>White... |
#include "<API key>.h"
#include <map>
#include "qgsgeometry.h"
#include "qgslogger.h"
#include "qgsvectorfilewriter.h"
double leftOfTresh = 0.00000001;
<API key>::~<API key>()
{
//remove all the points
if ( mPointVector.count() > 0 )
{
for ( int i = 0; i < mPointVector.count(); i++ )
{
delete mPoint... |
<?php
$wp_config = [
'db_name' => getenv('DB_NAME'),
'db_user' => getenv('DB_USER'),
'db_password' => getenv('DB_PASSWORD'),
'db_host' => getenv('DB_HOST'),
'db_ssl' => getenv('DB_SSL') === 'false' ? false : true,
'auth_key' => getenv('AUTH_KEY'),
'secure_auth_key' => getenv('SECURE_AUTH_KEY... |
# GENERATED FROM XML -- DO NOT EDIT
URI: suexec.html.en
Content-Language: en
Content-type: text/html; charset=ISO-8859-1
URI: suexec.html.ko.euc-kr
Content-Language: ko
Content-type: text/html; charset=EUC-KR |
<?php print $doctype; ?>
<html lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"<?php print $rdf->version . $rdf->namespaces; ?>>
<head<?php print $rdf->profile; ?>>
<?php print $head; ?>
<title><?php print $head_title; ?></title>
<?php print $styles; ?>
<?php print $scripts; ?>
</... |
#include "config.h"
#include "mount_util.h"
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <errno.h>
#include <limits.h>
#include <mntent.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/mount.h>
#include <sys/param.h>
static int mtab_needs_update... |
#include "Spectrum.h"
#include "Spectrogram.h"
autoSpectrum <API key> (Spectrogram me, double time);
/*
Function:
Create a time slice from the Spectrogram at the time nearest to 'time'.
Postconditions:
result -> xmin == my ymin; // Lowest frequency; often 0.
result -> xmax == my ymax; ... |
#include "callback.h"
#include "access.h"
#include <cdio/version.h>
#if LIBCDIO_VERSION_NUM >= 72
static char *psz_paranoia_list[] = { "none", "overlap", "full" };
static char *<API key>[] = { N_("none"), N_("overlap"),
N_("full") };
#endif
#define DEBUG_LONGTEXT N_( \
"This integer when viewe... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Tamil Romanised Bible</title>
<link rel="stylesheet" type="text/cs... |
<header id="header">
</header>
<form name="form" ng-submit="doLogin()" role="form">
<h3 class="<API key>">Please sign in</h3>
<div ng-show="error" class="alert alert-danger">{{error}}</div>
<div class="form-group">
<label for="username">Username</label>
<i class="fa fa-key"></i>
<inp... |
<?php
require_once plugin_dir_path( __FILE__ ) . '../public/<API key>.php';
require_once plugin_dir_path( __FILE__ ) . '<API key>.php';
class <API key> extends <API key> {
const <API key> = '<API key>';
const <API key> = '<API key>';
const SETTINGS_FORM = 'fbrfg_settings_form';
protected static $instanc... |
<?php
defined('_JEXEC') or die('Restricted access');
?><?php
class acyslidersHelper {
var $ctrl = 'sliders';
var $tabs = null;
var $openPanel = false;
var $mode = null;
var $count = 0;
var $name = '';
var $options = null;
function __construct() {
if(!ACYMAILING_J16) {
... |
<?php
/**
* Include parent class
*/
require_once("class.Bootstrap.php");
class <API key> extends <API key> {
function show() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$logfileenable = $this->params['logfileenable'];
$enablefullsearch = $this->params['enablefulls... |
/**
* @file maxinfo_parse.c - Parse the limited set of SQL that the MaxScale
* information schema can use
*
* @verbatim
* Revision History
*
* Date Who Description
* 16/02/15 Mark Riddoch Initial implementation
*
* @endverbatim
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>... |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef <API key>$GetField__
#define <API key>$GetField__
#pragma interface
#include <java/lang/Object.h>
class java::io::ObjectInputStream$GetField : public ::java::lang::Object
{
public:
virtual ::java::io::ObjectStreamClass *<API key> () = 0;
virtual... |
package com.prueba.model;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.pe... |
#ifndef CFICCALLBACK_H_
#define CFICCALLBACK_H_
#include <anyrpc/anyrpc.h>
#include <anyrpc/method.h>
#include "fic_decoder.h"
class CFICCallback: public anyrpc::Method
{
public:
CFICCallback(std::string const& name, std::string const& help, bool deleteOnRemove, FICDecoder* DABFICDecoder_);
virtual ~CFICCallbac... |
<?php
defined('_JEXEC') or die;
class PlgCaptchaNocaptcha extends JPlugin
{
/**
* Load the language file on instantiation.
*
* @var boolean
* @since 3.4
*/
protected $autoloadLanguage = true;
/**
* Initialise the captcha
*
* @param string $id The id of the fie... |
<?php
namespace AppBundle\Service;
/**
* Defines an interface to get date from the remote url
*/
interface UrlHttpInterface{
/**
* Get the body of the remote url
* @param [type] $url the remote url
* @return [type] the body of the remote document
*/
public function getBody($url);
... |
Short, high-level description of algorithm. Brief summary of chaffing stuff.
\subsection*{Chaffing Strategies}
We chaff.\\
List strategies here:\\
\begin{enumerate}
\item \textbf{Strategy 1.} We do this and that.
\item \textbf{Strategy 2.} We do that and this.
\end{enumerate}
\subsection*{Strategy Analysis}
Some se... |
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
EXTRA_CFLAGS += -O1
#EXTRA_CFLAGS += -O3
#EXTRA_CFLAGS += -Wall
#EXTRA_CFLAGS += -Wextra
#EXTRA_CFLAGS += -Werror
#EXTRA_CFLAGS += -pedantic
#EXTRA_CFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
EXTRA_CFLAGS += -Wno-unused-variable
EXTRA_CFLA... |
using System;
using Server.Mobiles;
namespace Server.Items
{
public abstract class BaseThrown : BaseRanged
{
private Mobile m_Thrower;
private Mobile m_Target;
private Point3D m_KillSave;
public BaseThrown(int itemID)
: base(itemID)
{
}
public ... |
#!/bin/sh
test_description='git apply should not get confused with rename/copy.
'
. ./test-lib.sh
# setup
mkdir -p klibc/arch/x86_64/include/klibc
cat >klibc/arch/x86_64/include/klibc/archsetjmp.h <<\EOF
/*
* arch/x86_64/include/klibc/archsetjmp.h
*/
#ifndef _KLIBC_ARCHSETJMP_H
#define _KLIBC_ARCHSETJMP_H
struct __jm... |
#include <string.h>
#include <time.h>
#include <gammu-config.h>
#include "../../gsmcomon.h"
#include "../../gsmphones.h"
#include "../../misc/coding/coding.h"
#include "../../service/gsmmisc.h"
#include "../../service/gsmcal.h"
#include "../nokia/nfunc.h"
#include "../pfunc.h"
#ifdef GSM_ENABLE_GNAPGEN
unsigned char <A... |
import {<API key>, <API key>} from '@angular/common/http/testing';
import {inject, TestBed} from '@angular/core/testing';
import {ScheduleService} from './schedule-service';
import {HTTP_INTERCEPTORS} from '@angular/common/http';
import {ErrorInterceptor} from '../shared/<API key>';
import {NO_ERRORS_SCHEMA} from '@ang... |
#include <iostream>
#include "Menu.h"
int main()
{
Menu m;
m.MainMenu();
return 42;
} |
// ReSharper disable All
using MixERP.Net.Framework;
using MixERP.Net.Entities.Transactions;
using MixERP.Net.Schemas.Transactions.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using MixERP.Net.ApplicationState.Cache;
using MixER... |
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="your description goes here" />
<meta name="keywords" content="your,keywords,goes,here" />
<meta name="author" content="Your Name / Original design: Andreas Viklund -... |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* Mutter interface for talking to GTK+ UI module */
#ifndef META_UI_H
#define META_UI_H
/* Don't include gtk.h or gdk.h here */
#include <meta/common.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <cairo.h>
#include <glib.h>
#include <gdk-pix... |
#include "hisax.h"
#include "isdnl2.h"
#include <linux/init.h>
#include <linux/random.h>
const char *tei_revision = "$Revision: 2.20.2.3 $";
#define ID_REQUEST 1
#define ID_ASSIGNED 2
#define ID_DENIED 3
#define ID_CHK_REQ 4
#define ID_CHK_RES 5
#define ID_REMOVE 6
#define ID_VERIFY 7
#define TEI_E... |
<?php
/**
\file htdocs/includes/modules/action/rapport.pdf.php
\ingroup commercial
\brief Fichier de generation de PDF pour les rapports d'actions
\version $Id$
*/
require_once(DOL_DOCUMENT_ROOT.'/includes/fpdf/fpdfi/fpdi_protection.php');
require_once(DOL_DOCUMENT_ROOT.'/lib/pdf.lib.php');
requir... |
/*
* Scripts for spells with SPELLFAMILY_SHAMAN and SPELLFAMILY_GENERIC spells used by shaman players.
* Ordered alphabetically using scriptname.
* Scriptnames of files in this file should be prefixed with "spell_sha_".
*/
#include "Player.h"
#include "ScriptMgr.h"
#include "GridNotifiers.h"
#include "Unit.h"
#incl... |
#ifndef MOTIONTREE_H_
#define MOTIONTREE_H_
#include <StructuredTree.h>
#include "MotionPatch.h"
/** One Structured Tree for the motion prediction task.
*/
template <class M,class T,class F,class N,class U>
class MotionTree:public StructuredTree<M,T,F,N,U>{
public:
typedef typename std::vector<std::vector<... |
#include <QtGlobal>
#include "UI/TiffModeDialog.h"
#include "UI/ui_TiffModeDialog.h"
namespace {
const static QString TIFF_MODE_HDR_KEY =
QStringLiteral("tiffmodedialog/mode/hdr");
const static int TIFF_MODE_HDR_VALUE = 0;
const static QString TIFF_MODE_LDR_KEY =
QStringLiteral("tiffmodedialog/mode/ldr");
const... |
import { ActionTypes } from "../actionTypes";
const timezones = (state = [], action) => {
switch (action.type) {
case ActionTypes.SET_TIMEZONES:
return [...action.timezones];
default:
return state;
}
}
export default timezones; |
#include "sys/sdt.h"
#include "stdio.h"
#ifdef LISTING_MODE_MAIN
int globalvar = 1;
extern libfoo(int lf);
__attribute__((always_inline))
inline int inln(int i) {
return i % 5;
}
int bar(int b) {
int i = inln(b);
printf("inln returned %d\n", i);
return i * 3;
}
int foo(int f) {
int b = bar(f);
return ... |
#ifndef __RTW_MLME_EXT_H_
#define __RTW_MLME_EXT_H_
#include <drv_conf.h>
#include <osdep_service.h>
#include <drv_types.h>
#include <wlan_bssdef.h>
// Commented by Albert 20101105
// Increase the SURVEY_TO value from 100 to 150 ( 100ms to 150ms )
// The Realtek 8188CE SoftAP will spend around 100ms to send t... |
interface Clearable {
clear(): void;
}
/**
* Wraps a function in a utility method that remembers the last invocation's
* arguments and results, and returns the latter if the former match.
*
* @param fn The function to be wrapped.
*
* @returns The wrapped function.
*/
export default function memoizeLast< T ex... |
CKEDITOR.dialog.add('jiraDialog', function(editor) {"use strict";
var jql;
var startAt;
var maxResults;
var showHeader;
var pluginPath = CKEDITOR.plugins.getFilePath('jira');
pluginPath = pluginPath.substring(0, pluginPath.lastIndexOf('/'));
var headerFields = {
'T' : true,
'... |
#include "QuestDef.h"
#include "Player.h"
#include "World.h"
#include "DBCStores.h"
Quest::Quest(Field* questRecord)
{
QuestId = questRecord[0].GetUInt32();
QuestMethod = questRecord[1].GetUInt32();
ZoneOrSort = questRecord[2].GetInt32();
MinLevel = questRecord[3].GetUInt32();
QuestLevel = questReco... |
package org.n52.ses.wsn.dissemination;
import org.apache.muse.ws.addressing.EndpointReference;
import org.apache.muse.ws.notification.NotificationMessage;
import org.apache.muse.ws.notification.remote.<API key>;
/**
* Default implementation. Simple HTTP Post to consumer with
* no delay.
*
* @author matthes rieke
*... |
#include <linux/slab.h>
#include <linux/string.h>
#include "agent.h"
#include "smi.h"
#define SPFX "ib_agent: "
struct <API key> {
struct list_head port_list;
struct ib_mad_agent *agent[2];
};
static DEFINE_SPINLOCK(<API key>);
static LIST_HEAD(ib_agent_port_list);
static struct <API key> *
__ib_get_agent_port(... |
/*
* Further development / testing that should be done :
* 1. Cleanup the <API key> function and DMA operation complete
* code so that everything does the same thing that's done at the
* end of a pseudo-DMA read operation.
*
* 2. Fix REAL_DMA (interrupt driven, polled works fine) -
* basically, tra... |
<?php
if($_SESSION['my_login'] == 'alexx' || $_SESSION['my_login'] == 'mathieu')
{
$image_path = build_image_path($url_id, false);
$thumb_path = build_thumb_path($url_id, false);;
$db->query('UPDATE user SET photo=? WHERE id=?', array('n', $url_id));
$db->query('UPDATE cache_user SET photo=? WHERE id=?'... |
#pragma once
#include "ofMain.h"
#include "Scene.h"
#include "ofxSyphon.h"
/*
requires Syphon Framework added to build phases of app
*/
class Syphon : public Scene
{
public:
Syphon() : Scene() {setName("Syphon");}
void setup(int width, int height, bool clearControls=true);
void update();
void draw(int ... |
cmd_fs/libfs.o := <API key> -Wp,-MD,fs/.libfs.o.d -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabihf/4.6/include -I/home/tyler/dev/rk3188/tylermk908/arch/arm/include -Iarch/arm/include/generated -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-rk3188/include -Iarch/arm/pla... |
// formatter_defaults.hpp
// Boost Logging library
#ifndef <API key>
#define <API key>
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
#include <boost/logging/detail/fwd.hpp>
#include <boost/logging/detail/manipulator.hpp>
#include <boost/logging/format/formatter/time.hpp>
#include <stdio.h>
#include <... |
class Notifier:
""" Base abstract class for different notifiers like EmailNotifier or TextNotifier.
"""
def __init__(self, client, notified_conf, owner):
self.client = client
self.owner_name = owner["name"]
self.owner_email = owner["email"]
self.owner_phone = owner["phone"]
... |
Ext.define ('Sistema.view.Produccion.TipoDeProducto.ListadoController', {
extend: 'Ext.app.ViewController',
alias: 'controller.<API key>',
requires:[
'Sistema.view.Produccion.TipoDeProducto.ListadoGrillaStore'
],
// Asignacion de EventHandlers para los controles de la vista.
init: functi... |
package com.caucho.v5.amp.thread;
import java.util.concurrent.TimeUnit;
/**
* Executor throttling threads to the cpu max, allowing extras to be
* created slowly as timeouts.
*/
public final class RunnableItem
{
private final Runnable _task;
private final ClassLoader _classLoader;
private final long _timeout;
... |
Joomla.submitbutton = (task) => {
'use strict';
if (task === 'actionlogs.exportLogs') {
Joomla.submitform(task, document.getElementById('exportForm'));
return;
}
if (task === 'actionlogs.exportSelectedLogs') {
// Get id of selected action logs item and pass it to export form hidden input
const c... |
#!/Users/shreyashirday/Personal/openmdao-0.13.0/bin/python
# EASY-INSTALL-SCRIPT: 'docutils==0.10','rst2odt_prepstyles.py'
__requires__ = 'docutils==0.10'
__import__('pkg_resources').run_script('docutils==0.10', 'rst2odt_prepstyles.py') |
<?php
namespace DataStructures;
class <API key> extends \TestHelpers\TestCase {
/**
* Tests that the polymorphic behavior is as expected.
*/
public function testType() {
$instance = SerializableQueue::factory();
if (version_compare(PHP_VERSION, '5.4.0') >= 0) {
$this->asser... |
({"buttonOk":"","buttonCancel":"","buttonSave":"","itemClose":""}) |
<?php
// Accordions
require_once(gp_admin . '/shortcodes/accordions.php');
// Activity
require_once(gp_admin . '/shortcodes/activity-stream.php');
// Author Info
require_once(gp_admin . '/shortcodes/author-info.php');
// Blockquotes
require_once(gp_admin . '/shortcodes/blockquotes.php');
// Buttons
require_once(gp_admi... |
#define USE_INIT(...) __VA_ARGS__ |
#ifndef _QAT_H_
#define _QAT_H_
#include <iostream>
#include <vector>
#include <math.h>
#include "matrix2x2.hpp"
#include "../common/mathematic.hpp"
#include "paving.hpp"
#include "image.hpp"
enum InterpolationType
{
NO_BM,
LINEAR ,
NN
};
class QAT
{
private:
Matrix2x2 m_matrix;
int m_omega;
Vector2D m_... |
/* ScriptData
Name: <API key>
%Complete: 100
Comment: All instance related commands
Category: commandscripts
EndScriptData */
#include "ScriptMgr.h"
#include "Chat.h"
#include "Group.h"
#include "InstanceSaveMgr.h"
#include "InstanceScript.h"
#include "MapManager.h"
#include "Player.h"
#include "Language.h"
class <API ... |
#include "includes.h"
#ifndef DISABLE_X11FWD
#include "x11fwd.h"
#include "session.h"
#include "ssh.h"
#include "util.h"
#include "chansession.h"
#include "channel.h"
#include "packet.h"
#include "buffer.h"
#define X11BASEPORT 6010
static int bindport(int fd);
static int <API key>(int fd, struct sockaddr_in* addr);
/* ... |
package oscar.oscarLab.ca.all.upload.handlers;
import com.lowagie.text.pdf.PdfReader;
import java.io.FileInputStream;
import java.io.<API key>;
import java.io.IOException;
import java.io.InputStream;
import org.apache.log4j.Logger;
import org.oscarehr.common.dao.<API key>;
import org.oscarehr.common.dao.<API key>;
impo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.