answer stringlengths 15 1.25M |
|---|
angular.module('ualib.imageCarousel', ['angular-carousel'])
.constant('VIEW_IMAGES_URL', '//wwwdev2.lib.ua.edu/erCarousel/api/slides/active')
.factory('<API key>', ['$http', 'VIEW_IMAGES_URL', function <API key>($http, url){
return {
getData: function(){
return $http({method:... |
import { ListWrapper } from 'angular2/src/facade/collection';
import { stringify, isBlank } from 'angular2/src/facade/lang';
import { BaseException, WrappedException } from 'angular2/src/facade/exceptions';
function <API key>(keys) {
var res = [];
for (var i = 0; i < keys.length; ++i) {
if (ListWrapper.... |
Map Navigation Hash (History)
===================
# Overview
Uses dojo/router to enable zooming to next or previous extent using the browser forward and back buttons. The geographic map center and map zoom level is placed on the url.
# CMV Configuration
Include the following code in js/config/viewer.js:
javascript
navh... |
function SendItemsToOutput
{
Param
(
[parameter()]
[PSObject[]]$items,
[parameter(Mandatory=$true)]
[string[]]$typeName
)
foreach ($i in $items)
{
$i.PSObject.TypeNames.Insert(0, $typeName)
Write-Output $i
}
} |
<?php
namespace Codeception\Command;
use Codeception\Configuration;
use Codeception\Lib\Generator\Snapshot as SnapshotGenerator;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\Outp... |
import {ENTER} from '@angular/cdk/keycodes';
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {
ErrorStateMatcher,
MatCommonModule,
MatRippleModule,
} from '@angular/<API key>/mdc-core';
import {MatChip, <API key>} from './chip';
import {<API key>, <API key>} from './<A... |
// by DotNetNuke Corporation
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation
// to permit persons to whom the Software is furnished to do so, subject to the following conditions:
// of the Software.
// TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A... |
// Help functions
/*
* Return a string with all helper functions whose name contains the 'substring';
* if the 'searchDescription' is true, then also search the function description");
*/
function getHelp(substring, searchDescription) {
return framework.getJavaScriptHelp(".*(?i:" + substring + ").*", searchDescr... |
FullCalendar.globalLocales.push(function () {
'use strict';
var it = {
code: 'it',
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
buttonText: {
prev: 'Prec',
next: 'Succ',
today: 'Oggi'... |
// Use of this source code is governed by a BSD-style
package get
import (
"errors"
"internal/testenv"
"io/ioutil"
"os"
"path"
"path/filepath"
"testing"
"cmd/go/internal/web"
)
// Test that <API key> creates the correct RepoRoot for a given importPath.
// TODO(cmang): Add tests for SVN a... |
{% if site.staticman.repository and site.staticman.branch %}
<div class="staticman-comments">
<div class="page__comments">
<!-- Start static comments -->
<div class="js-comments">
{% if site.data.comments[page.slug] %}
<h3 class="<API key>">{{ site.data.ui-text[site.locale].comments_title | defa... |
// Uncomment the following to provide samples for PageResult<T>. Must also add the Microsoft.AspNet.WebApi.OData
// package to your project.
/#define <API key>
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
us... |
<?php
namespace Hateoas\Tests\Expression;
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
use Symfony\Component\ExpressionLanguage\Node\Node;
use Symfony\Component\ExpressionLanguage\ParsedExpression;
use Hateoas\Tests\TestCase;
use Hateoas\Expression\ExpressionEvaluator;
use Hateoas\Expression\<API key>;
... |
<?php
/**
* Pro customizer section.
*
* @since 1.0.0
* @access public
*/
class Epsilon_Section_Pro extends <API key> {
/**
* The type of customize section being rendered.
*
* @since 1.0.0
* @access public
* @var string
*/
public $type = 'epsilon-section-pro';
/**
... |
<summary>
This class handles user ID, session ID, time stamp, and sends a user message, optionally including system specs, when the game starts
</summary>
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System;
using System.Net;
#if !UNITY_WEBPL... |
import {OverlayRef, <API key>} from '../core';
import {AnimationEvent} from '@angular/animations';
import {DialogPosition} from './dialog-config';
import {Observable} from 'rxjs/Observable';
import {Subject} from 'rxjs/Subject';
import {MdDialogContainer} from './dialog-container';
import 'rxjs/add/operator/filter';
//... |
import java.util.Comparator;
abc.sort(Comparator.naturalOrder()); |
module RR
module Errors
class <API key> < RRError
end
end
end |
#include "../../../Common/Common.h"
#if (ARCH == ARCH_XMEGA)
#define <API key>
#include "../Serial.h"
FILE USARTSerialStream;
int Serial_putchar(char DataByte,
FILE *Stream)
{
USART_t* USART = fdev_get_udata(Stream);
Serial_SendByte(USART, DataByte);
return 0;
}
int Serial_getchar(FILE *... |
<?php
namespace PhpOffice\PhpWord\Element;
/**
* Container abstract class
*
* @method Text addText(string $text, mixed $fStyle = null, mixed $pStyle = null)
* @method TextRun addTextRun(mixed $pStyle = null)
* @method Bookmark addBookmark(string $name)
* @method Link addLink(string $target, string $text = null, m... |
using OfficeDevPnP.MSGraphAPIDemo.Components;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
using OfficeDevPnP.MSGraphAPIDemo.Models;
using System.Threading;
namespace OfficeDevPnP.MSGraphAPIDemo.Controllers
{
public cl... |
/* @flow */
/*eslint-disable no-undef, no-unused-vars, no-console*/
import _, {
compose,
pipe,
curry,
filter,
find,
isNil,
repeat,
replace,
zipWith
} from "ramda";
import { describe, it } from 'flow-typed-test';
const ns: Array<number> = [1, 2, 3, 4, 5];
const ss: Array<string> = ["one", "two", "three... |
'use strict';
exports.up = function (knex) {
return knex.schema.createTable('<API key>', function (t) {
t.increments();
t.string('name');
});
};
exports.down = function (knex) {
return knex.schema.dropTable('<API key>');
}; |
#include <stdio.h>
#include <string.h>
int is_prime(char*);
int main() {
char input[11];
fgets(input, 11, stdin);
printf("%d", is_prime(input));
return 0;
}
int is_prime(char* input) {
int i, length, number = 0;
length = input[strlen(input) - 1] == '\n' ? strlen(input) - 1 : strlen(input);
f... |
( function ( THREE ) {
THREE.Raycaster = function ( origin, direction, near, far ) {
this.ray = new THREE.Ray( origin, direction );
// normalized ray.direction required for accurate distance calculations
if( this.ray.direction.lengthSq() > 0 ) {
this.ray.direction.normalize();
... |
module Facter::Util::Virtual
# virt_what is a delegating helper method intended to make it easier to stub
# the system call without affecting other calls to
# Facter::Util::Resolution.exec
def self.virt_what(command = "virt-what")
Facter::Util::Resolution.exec command
end
# lspci is a delegating helper ... |
'use strict';
require('../../modules/es.weak-set');
require('../../modules/esnext.weak-set.from');
var WeakSet = require('../../internals/path').WeakSet;
var weakSetfrom = WeakSet.from;
module.exports = function from(source, mapFn, thisArg) {
return weakSetfrom.call(typeof this === 'function' ? this : WeakSet, source... |
/** @babel */
/** @jsx etch.dom **/
import etch from 'etch';
export default class WelcomeView {
constructor(props) {
this.props = props;
etch.initialize(this);
this.element.addEventListener('click', event => {
const link = event.target.closest('a');
if (link && link.dataset.event) {
th... |
title: Rule no-multi-spaces
layout: doc
<!-- Note: No pull requests accepted for this file. See README.md in the root directory for details. -->
# Disallow multiple spaces (no-multi-spaces)
(fixable) The `--fix` option on the [command line](../user-guide/<API key>#fix) automatically fixes problems reported by this rule... |
using System;
using System.IO;
namespace Piranha.IO
{
<summary>
Interface for creating an media provider.
</summary>
public interface IMedia
{
<summary>
Gets the binary data for the given media object.
</summary>
<param name="media">The media object</param>
<r... |
<?php
namespace PragmaRX\Tracker\Data\Repositories;
use PragmaRX\Tracker\Support\RefererParser;
class Referer extends Repository {
/**
* @var RefererParser
*/
private $refererParser;
/**
* @var
*/
private $currentUrl;
/**
* @var
*/
private $searchTermModel;
/**
... |
'use strict';
angular.module('sw.plugin.split', ['sw.plugins'])
.factory('split', function ($q) {
return {
execute: execute
};
function execute (url, swagger) {
var deferred = $q.defer();
if (swagger && swagger.swagger && !swagger.tags) {
v... |
namespace Microsoft.DocAsCode.Build.Engine.Incrementals
{
public sealed class ProcessorStepInfo
{
<summary>
The name of processor step.
</summary>
public string Name { get; set; }
<summary>
The context hash for incremental.
</summary>
public string... |
(function($) {
$(window).load(function() {
// will first fade out the loading animation
$("#status").fadeOut("slow");
// will fade out the whole DIV that covers the website.
$("#preloader").delay(500).fadeOut("slow").remove();
$('.js #hero .hero-image img').addClass("animate... |
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.exports = factory;
} else if (typeof define === 'function' && define.amd) {
define('highcharts/modules/<API key>', ['highcharts'], function (Highcharts) {
... |
<?php
namespace Illuminate\Support;
use stdClass;
use Countable;
use Exception;
use ArrayAccess;
use Traversable;
use ArrayIterator;
use CachingIterator;
use JsonSerializable;
use IteratorAggregate;
use Illuminate\Support\Debug\Dumper;
use Illuminate\Support\Traits\Macroable;
use Illuminate\Contracts\Support\Jsonable;
... |
/*<API key>
<API key>
XX XX
XX BasicBlock XX
XX XX
XX ... |
// FBO.h
#pragma once
#if defined(_WIN32)
#include <windows.h>
#endif
#ifdef __APPLE__
#include <OpenGL/glu.h>
#else
#include <GL/glu.h>
#endif
struct FBO {
GLuint id, tex, depth;
GLuint w, h;
};
void allocateFBO(FBO&, int w, int h);
void deallocateFBO(FBO&);
void bindFBO(const FBO&, float fboScale=1.0f);
v... |
export interface <API key> {
/**
* Card number
*/
number: string;
/**
* Expiry month
*/
expMonth: number;
/**
* Expiry year
*/
expYear: number;
/**
* CVC / CVV
*/
cvc?: string;
/**
* Cardholder name
*/
name?: string;
/**
... |
require 'helper'
class TestRepeaterWeek < TestCase
def setup
@now = Time.local(2006, 8, 16, 14, 0, 0, 0)
end
def test_next_future
weeks = Chronic::RepeaterWeek.new(:week)
weeks.start = @now
next_week = weeks.next(:future)
assert_equal Time.local(2006, 8, 20), next_week.begin
assert_equal T... |
<?php
namespace OC\User;
use OC\Hooks\PublicEmitter;
use OCP\IUserManager;
/**
* Class Manager
*
* Hooks available in scope \OC\User:
* - preSetPassword(\OC\User\User $user, string $password, string $recoverPassword)
* - postSetPassword(\OC\User\User $user, string $password, string $recoverPassword)
* - preDelete... |
var dep = require('./dep');
dep(''); |
package org.multibit.hd.ui.views.wizards.appearance_settings;
import com.google.common.base.Optional;
import org.multibit.hd.ui.views.wizards.AbstractWizard;
import org.multibit.hd.ui.views.wizards.<API key>;
import java.util.Map;
/**
* <p>Wizard to provide the following to UI for "appearance" wizard:</p>
* <ol>
* <... |
// TODO: This doesn't pass on android 64bit CI...
// Figure out why!
#![cfg(not(target_os = "android"))]
use mio::{Events, Poll, PollOpt, Ready, Token};
use mio::net::UdpSocket;
use bytes::{Buf, MutBuf, RingBuf, SliceBuf};
use std::str;
use std::net::IpAddr;
use localhost;
const LISTENER: Token = Token(0);
const SENDER... |
#ifndef __modelrepository_h
#define __modelrepository_h
#include "editor/imodelrepository.h"
class AresEdit3DView;
class AppAresEditWX;
class <API key>;
class FactoriesValue;
class ObjectsValue;
class TemplatesValue;
class ClassesValue;
class ActionsValue;
class WizardsValue;
/**
* The model repository.
*/
class Mode... |
layout: center
permalink: /404.html
# 404
Sorry, we can't seem to find this page's pixylls.
<div class="mt3">
<a href="{{ site.baseurl }}/" class="button button-blue button-big">Home</a>
<a href="{{ site.baseurl }}/about/" class="button button-blue button-big">About</a>
</div> |
package scorex.network.peer
import java.net.InetSocketAddress
//todo: add optional nonce
case class PeerInfo(lastSeen: Long, nonce: Option[Long] = None, nodeName: Option[String] = None)
trait PeerDatabase {
def <API key>(peer: InetSocketAddress, peerInfo: PeerInfo): Unit
def knownPeers(forSelf: Boolean): Map[InetSo... |
package org.opendaylight.controller.netconf.<API key>.mapping.attributes.toxml;
import com.google.common.base.Preconditions;
import org.opendaylight.controller.netconf.<API key>.util.Util;
import org.w3c.dom.Document;
import java.util.List;
import java.util.Map;
public class <API key> extends <API key> {
/**
*... |
package org.openhealthtools.mdht.emf.w3c.xhtml.internal.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.openhealthtools.mdht.emf.w3c.xhtml.Code;
import org.openhealthtools.mdht.emf.w3c.xhtml.MifClassType;
impor... |
/* _XOPEN_SOURCE is needed to bring in the header for ptsname */
#define _XOPEN_SOURCE
#include <sys/types.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <termios.h>
#include <unistd.h>
#include <stdbool.h>
/**
* This is taken from R. W. Stevens book.
* Alain Magloire.
*/
void
set_noecho(int fd)
{
struct ... |
package com.vectrace.MercurialEclipse.commands;
import java.io.File;
import java.util.List;
import org.eclipse.core.runtime.Assert;
/**
* A command to invoke hg definitely outside of an hg root.
*/
public class RootlessHgCommand extends <API key> {
public RootlessHgCommand(String command, String uiName) {
... |
#include "parser.h"
#include "test.h"
int main(int argc, char *argv[])
{
BOOL ret;
char *fname, *test;
int fd;
struct stat st;
io_struct ps;
if (argc < 3) {
printf("usage: vluke <structure> <file>\n");
exit(1);
}
test = argv[1];
fname = argv[2];
fd = open(fname,O_... |
package org.opennms.smoketest;
import org.junit.Before;
import org.junit.Test;
public class ChartsPageTest extends <API key> {
@Before
public void setUp() throws Exception {
super.setUp();
clickAndWait("link=Charts");
}
@Test
public void testChartsPage() throws Exception {
wa... |
#ifndef TABLEDICT_H
#define TABLEDICT_H
#include <fcitx-utils/utf8.h>
#include <fcitx-config/fcitx-config.h>
#include <fcitx-config/hotkey.h>
#include <fcitx-utils/memory.h>
#define MAX_CODE_LENGTH 30
#define PHRASE_MAX_LENGTH 10
#define FH_MAX_LENGTH 10
#define <API key> 1024
#define AUTO_PHRASE_COUNT 10000
#define ... |
<?php
defined('GANTRY_VERSION') or die();
/**
* Base class for all Gantry custom features.
*
* @package gantry
* @subpackage core
*/
class GantryLayout {
var $render_params = array();
function render($params = array()){
global $gantry;
ob_start();
return ob_get_clean();
}
fu... |
<?php
class WikiLeaksBridge extends BridgeAbstract {
const NAME = 'WikiLeaks';
const URI = 'https://wikileaks.org';
const DESCRIPTION = 'Returns the latest news or articles from WikiLeaks';
const MAINTAINER = 'logmanoriginal';
const PARAMETERS = array(
array(
'category' => array(... |
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/spi/spi.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/completion.h>
#include <linux/sched.h>
#include <linux/gpio.h>
#include <linux/rmi.h>
#define COMMS_DEBUG 0
#define FF_DEBUG 0
#define <API key> 0xa0fd
#define SPI_V2_UNIFIE... |
SUBROUTINE sla_DTPS2C (XI, ETA, RA, DEC, RAZ1, DECZ1,
: RAZ2, DECZ2, N)
*+
* - - - - - - -
* D T P S 2 C
* - - - - - - -
*
* From the tangent plane coordinates of a star of known RA,Dec,
* determine the RA,Dec of the tangent point.
*
* (double precision)
*
* ... |
#include <KFL/KFL.hpp>
#include <KFL/ResIdentifier.hpp>
#ifdef <API key>
#include <windows.h>
#else
#include <dlfcn.h>
#endif
#include <KFL/DllLoader.hpp>
namespace KlayGE
{
DllLoader::DllLoader()
: dll_handle_(nullptr)
{
}
DllLoader::~DllLoader()
{
this->Free();
}
bool DllLo... |
ccflags-y += -I$(srctree)/drivers/misc/mediatek/thermal/fakeHeader/
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/include/
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/spm_v1
ccflags-y += -I$(srctree)/drivers/misc/mediatek/base/power/cpuidle_v1/
ifeq ($(CONFIG_ARCH_MT6580),y)
ccflags-y += ... |
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include "typedefs.h"
#include "vsite.h"
#include "macros.h"
#include "smalloc.h"
#include "nrnb.h"
#include "vec.h"
#include "mvdata.h"
#include "network.h"
#include "mshift.h"
#include "pbc.h"
#include "domdec.h"
#include "partdec.h"
#include "mtop_ut... |
// 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 IS" AND ANY EXPR... |
CKEDITOR.plugins.setLang( 'magicline', 'it', {
title: 'Inserisci paragrafo qui'
} ); |
#ifndef <API key>
#define <API key>
// This header is included to get the nested declaration of Packet structure.
#include "webrtc/base/scoped_ptr.h"
#include "webrtc/modules/rtp_rtcp/include/fec_receiver.h"
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
#include "webrtc/modules/rtp_rtcp/source/<API key>... |
#include <linux/module.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/interrupt.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/pm_runtime.h>
#include <linux/device.h>
#include <linux/pm_qos_params... |
/* ScriptData
SDName: <API key>
SD%Complete: 50
SDComment:
SDCategory: Hellfire Ramparts
EndScriptData */
#include "precompiled.h"
#include "hellfire_ramparts.h"
instance_ramparts::instance_ramparts(Map* pMap) : ScriptedInstance(pMap),
m_uiSentryCounter(0)
{
Initialize();
}
void instance_ramparts::Initialize()
... |
// { <API key> "fr_FR.ISO8859-15" }
// 2001-07-17 Benjamin Kosnik <bkoz@redhat.com>
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
// This lib... |
<?php
// security - hide paths
if (!defined('ADODB_DIR')) die();
class ADODB_sybase extends ADOConnection {
var $databaseType = "sybase";
var $dataProvider = 'sybase';
var $replaceQuote = "''"; // string to use to replace quotes
var $fmtDate = "'Y-m-d'";
var $fmtTimeStamp = "'Y-m-d H:i:s'";
var... |
#ifndef <API key>
#define <API key>
#include <configs/ti_am335x_common.h>
#define <API key> 3589 /* Until the next sync */
#define CONFIG_MACH_TYPE <API key>
/* Clock Defines */
#define V_OSCK 24000000 /* Clock output from T2 */
#define V_SCLK (V_OSCK)
/* Custom script fo... |
/*
* Scripts for spells with <API key> and SPELLFAMILY_GENERIC spells used by deathknight players.
* Ordered alphabetically using scriptname.
* Scriptnames of files in this file should be prefixed with "spell_dk_".
*/
#include "ScriptMgr.h"
#include "SpellScript.h"
#include "SpellAuraEffects.h"
#include "Unit.h"
#i... |
#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/completion.h>
#include <linux/device.h>
#include <linux/delay.h>
#include <linux/pagemap.h>
#include <linux/err.h>
#include <linux/leds.h>
#include <linux/scatterlist.h>
#include <linux/log2.h>
#include <linux/regulator/consu... |
<?php
use Ctct\Util\CurlResponse;
use Ctct\Services\ListService;
use Ctct\Util\RestClient;
use Ctct\Components\Contacts\ContactList;
class ListServiceUnitTest extends <API key>
{
private $restClient;
private $listService;
public function setUp()
{
$this->restClient = $this->getMock('Ctct\Util\Re... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http:
<!-- /home/qt/mkdist-qt-4.4.3-1222864207/<API key>.4.3/doc/src/tutorials/tutorial.qdoc -->
<head>
<title>Qt 4.4: Qt Tutorial 12 - Hanging in the Air the Way Bricks Don't... |
/*
Embedded CSS
Before moving to full version - check twice!
NO DUPLICATES
*/
#icon-wpcf {
background: url('../images/logo-32.png') no-repeat;
}
#icon-wpcf-access {
background: url('../images/access-icon-32x32.png') no-repeat;
}
#icon-wpcf-search {
background: url('../images/search_36x34.png') no-repeat;
}
... |
#include "htckbdhandler.h"
#include <QFile>
#include <QTextStream>
#include <QSocketNotifier>
#include <QDebug>
#include <fcntl.h>
#include <unistd.h>
#include <htckbdmap.h>
#include <linux/input.h>
htcKbdHandler::htcKbdHandler(const QString &device)
: modifiers(Qt::NoModifier), capsLock(false)
{
setObjectName("Htc... |
// <API key>: GPL-2.0+
#include <linux/time.h>
#include <linux/fs.h>
#include <linux/jbd2.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/jiffies.h>
#include <linux/crc32.h>
#include <linux/writeback.h>
#include <linux/backing-dev.h>
#include <linux/b... |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Tests for file writability
*
* is_writable() returns TRUE on Windows servers
* when you really can't write to the file
* as the OS reports to PHP as FALSE only if the
* read-only attribute is marked. Ugh?
*
* @access private
* ... |
/* $Id: opencore_amr.h 4335 2013-01-29 08:09:15Z ming $ */
#ifndef <API key>
#define <API key>
#include <pjmedia-codec/types.h>
/**
* @defgroup PJMED_OC_AMR OpenCORE AMR Codec
* @ingroup <API key>
* @brief AMRCodec wrapper for OpenCORE AMR codec
* @{
*/
PJ_BEGIN_DECL
/**
* Bitmask options to be passed during AMR ... |
#ifndef QMATRIX4X4_H
#define QMATRIX4X4_H
#include <QtGui/qvector3d.h>
#include <QtGui/qvector4d.h>
#include <QtGui/qquaternion.h>
#include <QtGui/qgenericmatrix.h>
#include <QtCore/qrect.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
#ifndef QT_NO_MATRIX4X4
class QMatrix;
class QTransform;
class QVariant;
class ... |
<?php
$installer = $this;
/* @var $installer <API key> */
$installer->startSetup();
$installer->getConnection()->addColumn($this->getTable('<API key>'), '<API key>', 'tinyint(1) unsigned NOT NULL DEFAULT 0');
$installer->endSetup(); |
#include <linux/version.h>
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38))
#ifndef AUTOCONF_INCLUDED
#include <linux/config.h>
#endif
#endif
#if defined(SUPPORT_DRI_DRM)
#define PVR_MOD_STATIC
#else
#if defined(LDM_PLATFORM)
#define <API key>
#define PVR_LDM_MODULE
#else
#if d... |
#include <linux/interrupt.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/irq.h>
#include <linux/miscdevice.h>
#include <asm/uaccess.h>
#include <linux/delay.h>
#include <linux/input.h>
#include <linux/workqueue.h>
#include <linux/freezer.h>
#include <mach/rt5501.h>
#include <linux/mutex.h>
#include <... |
<?php
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Don't duplicate me!
if ( ! class_exists( '<API key>' ) ) {
/**
* Main <API key> class
*
* @since 1.0.0
*/
class <API key> {
/**
* Field Constructor.
* Required - must call the pa... |
#pragma once
#if !defined(RM_MISSION_H_INC)
#define RM_MISSION_H_INC
#ifdef DEBUG_LINKING
#pragma message("...including RM_Mission.h")
#endif
// maximum random choices
#define MAX_RANDOM_CHOICES 100
typedef vector<int> rmIntVector_t;
class CRMMission
{
private:
rmObjectiveList_t mObjectives;
rmIn... |
#include <linux/gfp.h>
#include <asm/unaligned.h>
#include "xhci.h"
#define PORT_WAKE_BITS (PORT_WKOC_E | PORT_WKDISC_E | PORT_WKCONN_E)
#define PORT_RWC_BITS (PORT_CSC | PORT_PEC | PORT_WRC | PORT_OCC | \
PORT_RC | PORT_PLC | PORT_PE)
/* usb 1.1 root hub device descriptor */
static u8 usb_bos_... |
/*
* Comment: The event with the Living Mojos is not implemented, just is done that when one of the mojos around the boss take damage will make the boss enter in combat!
*/
#include "ScriptPCH.h"
#include "gundrak.h"
enum Spells
{
SPELL_EMERGE = 54850,
SPELL_MIGHTY_BLOW ... |
#include "config.h"
#include <glib.h>
#include <epan/packet.h>
#include "opcua_simpletypes.h"
#include "<API key>.h"
/** NodeId encoding mask table */
static const value_string g_nodeidmasks[] = {
{ 0, "Two byte encoded Numeric" },
{ 1, "Four byte encoded Numeric" },
{ 2, "Numeric of arbitrary length" },
... |
#ifndef SPARC_TDEP_H
#define SPARC_TDEP_H 1
struct frame_info;
struct gdbarch;
struct regcache;
struct regset;
struct <API key>;
/* Register offsets for the general-purpose register set. */
struct sparc_gregmap
{
int r_psr_offset;
int r_pc_offset;
int r_npc_offset;
int r_y_offset;
int r_wim_offset;
int r_t... |
#define RADEON_VERSION "0.1.6"
#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/tty.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/ioport.h>
#include <linux... |
#include <cstdlib>
#include <zlib.h>
#include "utils/zlib.h"
#include "utils/logger.h"
static void logZlibError(int error)
{
switch (error)
{
case Z_MEM_ERROR:
LOG_ERROR("Out of memory while decompressing data!");
break;
case Z_VERSION_ERROR:
LOG_ERROR("Incomp... |
<?php
class <API key> extends \<API key> {
/**
* @covers InstallDocFormatter
* @dataProvider <API key>
*/
public function testFormat( $expected, $unformattedText, $message = '' ) {
$this->assertEquals(
$expected,
InstallDocFormatter::format( $unformattedText ),
... |
#ifndef __EFS_FS_I_H__
#define __EFS_FS_I_H__
typedef int32_t efs_block_t;
typedef uint32_t efs_ino_t;
#define EFS_DIRECTEXTENTS 12
/*
* layout of an extent, in memory and on disk. 8 bytes exactly.
*/
typedef union extent_u {
unsigned char raw[8];
struct extent_s {
unsigned in... |
import React from "react";
import PropTypes from "prop-types";
import Box from "grommet/components/Box";
import Paragraph from "grommet/components/Paragraph";
import Label from "grommet/components/Label";
import FormLayer from "../components/FormLayer";
class <API key> extends React.Component {
constructor(props) {
... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "rtos.h"
static const struct <API key> <API key>[] = {
{ 0x24, 32 },
{ 0x28, 32 },
{ 0x2c, 32 },
{ 0x30, 32 },
{ 0x00, 32 },
{ 0x04, 32 },
{ 0x08, 32 },
{ 0x0c, 32 },
{ 0x10, 32 },
{ 0x14, 32 },
{ 0x18, 32 }, /* ... |
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/spinlock.h>
#include <linux/genalloc.h>
#include <linux/slab.h>
#include <linux/iommu.h>
#include <linux/msm_kgsl.h>
#include <mach/socinfo.h>
#include <mach/msm_iomap.h>
#include <mach/board.h>
#include <mach/iommu_domains.h>
#... |
// 20020717 gdr
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
// This library is distributed in the hope that it will be useful,
// MERCHANTAB... |
<!
* Asterisk-GUI - an Asterisk configuration interface
*
* Set Date on the Digium Appliance - AA50
*
* Copyright (C) 2007-2008, Digium, Inc.
*
* Pari Nannapaneni <pari@digium.com>
*
* See http:
* the Asterisk project. Please do not directly contact
* any of the maintainers of this project for assistance;... |
/*
* UBI input/output unit.
*
* This unit provides a uniform way to work with all kinds of the underlying
* MTD devices. It also implements handy functions for reading and writing UBI
* headers.
*
* We are trying to have a paranoid mindset and not to trust to what we read
* from the flash media in order to be m... |
#pragma once
#include "settings/dialogs/<API key>.h"
class CFileItem;
namespace PERIPHERALS
{
class <API key> : public <API key>
{
public:
<API key>();
~<API key>() override;
// specializations of CGUIControl
bool OnMessage(CGUIMessage& message) override;
virtual void SetFileItem(const CFileItem* item);
prote... |
#include "ScriptMgr.h"
#include "scholomance.h"
#include "ScriptedCreature.h"
enum Spells
{
<API key> = 24673,
SPELL_ILLUSION = 17773,
SPELL_DROP_JOURNAL = 26096
};
enum Events
{
<API key> = 1,
EVENT_ILLUSION,
EVENT_CLEAVE,
<API key>
};
class boss_jandice_barov :... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.