answer stringlengths 15 1.25M |
|---|
# Numenta Platform for Intelligent Computing (NuPIC)
# following terms and conditions apply:
# This program is free software: you can redistribute it and/or modify
# published by the Free Software Foundation.
# This program is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS FOR A PARTICULAR... |
package org.objectweb.proactive.core.group.topology;
import org.objectweb.proactive.core.group.Group;
import org.objectweb.proactive.core.mop.<API key>;
/**
* This one is specialy dedicaced to Fabrice ;)
*
* @author The ProActive Team
*/
public class Tetrahedron<E> extends TopologyGroup<E> {
public Tetrahedron... |
@-webkit-keyframes ball-scale{0%{-webkit-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);transform:scale(1);opacity:0}}@-moz-keyframes ball-scale{0%{-moz-transform:scale(0);transform:scale(0)}100%{-moz-transform:scale(1);transform:scale(1);opacity:0}}@-o-keyframes ball-scale{0%{-o-transform:scale(... |
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Any Indian Language to any other Indian language transliterator
# 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... |
using System;
using ASC.Xmpp.Core.protocol.extensions.compression;
using ASC.Xmpp.Core.utils.Xml.Dom;
namespace ASC.Xmpp.Core.protocol.stream.feature.compression
{
public class Method : Element
{
#region << Constructors >>
public Method()
{
TagName = "method";
Nam... |
package org.opennms.web.graph;
import java.util.Collection;
import java.util.Date;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import org.opennms.netmgt.model.OnmsResource;
import org.opennms.netmgt.model.PrefabGraph;
import org.opennms.netmgt.model.RrdGraphAttribute;
/**
* <p>Graph cla... |
@file
@author Don Gagne <don@thegagnes.com>
#include "<API key>.h"
#include "<API key>.h"
<API key>::<API key>(Vehicle* vehicle, AutoPilotPlugin* autopilot, QObject* parent)
: VehicleComponent(vehicle, autopilot, parent)
, _requiresFrameSetup(false)
, _name("Airframe")
{
if (qobject_cast<<API key>*>(_ve... |
title: messages.chatsSlice
description: messages_chatsSlice attributes, type and example
## Constructor: messages.chatsSlice
[Back to constructors index](index.md)
Attributes:
| Name | Type | Required |
|
|count|[int](../types/int.md) | Yes|
|chats|Array of [Chat](../types/Chat.md) | Yes|
Type: [messages\_... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="<API key>=" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></s... |
{% extends "site_base.html" %}
{% load staticfiles %}
{% load i18n %}
{% load bootstrap_tags %}
{% block head_title %}{% trans "Unfold" %} {{ process.name }}{% endblock %}
{% block extra_head %}
<style>
.title {
color: firebrick;
}
.emph {
font-weight: bold;
}
#focus {
border: solid 1px gainsboro;
backg... |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
class ForecastFlowAddEdit extends GenericAddEdit {
/**
* onBeforeDisplay
*
* @access protected
* @return void
*/
protected function onBeforeDisplay() {
// euro par default
$this->formDefaults['<API key>... |
package im.actor.sdk.controllers.conversation.messages.content;
import android.app.Activity;
import android.graphics.Bitmap;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
import android.widget.PopupMenu;
import android.widget.TextView;
import android.widget.Toast;
import com.d... |
package com.esofthead.mycollab.module.crm.domain.criteria;
import java.util.Arrays;
import com.esofthead.mycollab.common.i18n.GenericI18Enum;
import com.esofthead.mycollab.core.arguments.NumberSearchField;
import com.esofthead.mycollab.core.arguments.SearchCriteria;
import com.esofthead.mycollab.core.arguments.SetSearc... |
// This program is free software: you can redistribute it and/or modify
// published by the Free Software Foundation, either version 3 of the
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#if !defined(<API key>)
#define <API key>
#if ... |
@file
@author Pritam Ghanghas <pritam.ghanghas@gmail.com>
#include "<API key>.h"
APMRoverMode::APMRoverMode(uint32_t mode, bool settable)
: APMCustomMode(mode, settable)
{
QMap<uint32_t,QString> enumToString;
enumToString.insert(MANUAL, "Manual");
enumToString.insert(LEARNING, "Learning");... |
# This file is part of Canvas.
# Canvas is free software: you can redistribute it and/or modify it under
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# details.
class <API key> < ActiveRecord::Migration[4.2]
tag :predeploy
def self.up
add_column :collections, :followers_count, :in... |
/*
Purpuse : make modifications in dbc file for ascent project to set values that are missing for spells in able to work
Warning : Output result is changed in order to obtain ascent specific data. Do not try to use or interpret data for anything else
Warning : SpellEntry + <API key> + SPELL_ENTRY must have the same str... |
<?php
declare(strict_types=1);
namespace SWP\Bundle\ContentBundle\Tests\Loader;
use SWP\Bundle\ContentBundle\Loader\ArticleMediaLoader;
use SWP\Bundle\ContentBundle\Loader\<API key>;
use SWP\Bundle\ContentBundle\Tests\Functional\app\Resources\fixtures\LoadArticlesData;
use SWP\Bundle\ContentBundle\Tests\Functional\WebT... |
function Animator2() {
var self = this;
this.tweens = [];
this.tweens['default'] = [1,2,3,4,5,6,7,8,9,10,9,8,7,6,5,4,3,2,1];
this.tweens['blast'] = [12,12,11,10,10,9,8,7,6,5,4,3,2,1];
this.tweens['fade'] = [10,10,10,10,10,10,10,10,10,10];
this.queue = [];
this.queue.IDs = [];
this.active = false;
this... |
<?php
return [
'select_company' => 'Компани сонгох',
'about_companies' => 'About Companies',
'<API key>' => ' You can use companies as a simple informative field, or you can use them to restrict asset visibility and availability to users with a specific company by enabling Full Company Support in you... |
import React from 'react';
import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer';
import Enemies from 'parser/shared/modules/Enemies';
import <API key> from 'parser/core/<API key>';
import SPELLS from 'common/SPELLS';
import { formatPercentage, formatThousands } from 'common/format';
import SpellLink from 'c... |
#ifndef <API key>
#define <API key>
#include "server/zone/objects/scene/SceneObject.h"
#include "CombatQueueCommand.h"
class <API key> : public CombatQueueCommand {
public:
<API key>(const String& name, ZoneProcessServer* server) : CombatQueueCommand(name, server) {
}
int doQueueCommand(CreatureObject* crea... |
package com.rapidminer.operator.ports.quickfix;
import com.rapidminer.gui.tools.SwingTools;
import com.rapidminer.tools.I18N;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.JOptionPane;
/**
* @author Simon Fischer
*/
public abstract class AbstractQu... |
<?php
namespace OCP\Migration;
use OCP\IDBConnection;
/**
* @since 10.0
*/
interface ISqlMigration {
/**
* Generate an array of sql statements
*
* @param IDBConnection $connection
* @return array of sql statements
*
* @since 10.0
*/
public function sql(IDBConnection $connect... |
{% extends 'base.html' %}
{% block wrapper_classes %}
{% endblock %}
{% block content %}
{% block account_content %}
{% endblock %}
{% endblock %} |
#ifndef STL_UTILS_HPP_
#define STL_UTILS_HPP_
#include <map>
#include <set>
#include <utility>
#include <vector>
#include "containers/printf_buffer.hpp"
/* stl utils make some stl structures nicer to work with */
template <class K, class V>
std::set<K> keys(const std::map<K, V> &);
template <class container_t>
bool std... |
"""
Integration Tests for LMS <API key> background tasks.
Runs tasks on answers to course problems to validate that code
paths actually work.
"""
import json
import logging
from mock import patch
from nose.plugins.attrib import attr
import textwrap
from celery.states import SUCCESS, FAILURE
from django.contrib.auth.mod... |
<?php
namespace OCA\Files_External\Service;
use OCA\Files_External\Lib\StorageConfig;
/**
* Read mount config from legacy mount.json
*/
abstract class <API key> {
/** @var BackendService */
protected $backendService;
/**
* Read legacy config data
*
* @return array list of mount configs
... |
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using ThorServer... |
<?php
return array(
'ad' => 'Active Directory',
'ad_domain' => 'Active Directory domain',
'ad_domain_help' => 'This is sometimes the same as your email domain, but not always.',
'is_ad' => 'This is an Active Directory server',
... |
# -*- encoding: utf-8 -*-
# OpenERP, Open Source Management Solution
# This program is free software: you can redistribute it and/or modify
# published by the Free Software Foundation, either version 3 of the
# This program is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS F... |
<?php
return array(
'test_url' => 'http:
'body' => array(
'//div[@class="news_details"]'
),
'strip' => array(
'//div[@class="news_details"]/div/div[last()]',
),
); |
<?php
/**
* @package plugins.wowza
* @subpackage api.filters
*/
class <API key> extends <API key>
{
public function getTypeListResponse(KalturaFilterPager $pager, <API key> $responseProfile = null, $type = null)
{
if(!$type)
$type = WowzaPlugin::<API key>(<API key>::WOWZA_MEDIA_SERVER);
... |
package nodomain.freeyourgadget.gadgetbridge.service.devices.pebble.ble;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.<API key>;
import android.bluetooth.<API key>;
import android.bluetooth.BluetoothGattServer;
import android.bluetooth.<API key>;
import andr... |
package unitassigner
import (
"github.com/juju/errors"
"github.com/juju/worker/v2"
"github.com/juju/worker/v2/dependency"
"github.com/juju/juju/api/base"
"github.com/juju/juju/api/unitassigner"
"github.com/juju/juju/cmd/jujud/agent/engine"
)
// Logger represents the methods used by the worker to... |
#ifndef <API key>
#define <API key>
#include <QtGlobal>
#if QT_VERSION >= 0x050000
#include <QtWidgets>
#else
#include <QtGui>
#endif
const int <API key>=8;
const int <API key>=1;
class AdvancedFilterForm : public QDialog {
Q_OBJECT
public:
int rows;
QRadioButton* allRadio;
QRadioButton* anyRadio;
Q... |
DELIMITER $$
DROP PROCEDURE IF EXISTS delService $$
CREATE PROCEDURE delService(
IN pID MEDIUMINT,
OUT pErr MEDIUMINT
)
BEGIN
DECLARE no_data CONDITION FOR 1329;
DECLARE EXIT HANDLER FOR no_data
BEGIN
SET pErr = -5;
DEALLOCATE PREPARE STMT;
ROLLBACK;
END;
DECLARE E... |
<div class="page-header clearfix">
<ol ng-if="action === 'create'" class="heading">
<li><a ui-sref="main.categories"></a></li>
<li><a ui-sref="main.categories.create"></a></li>
</ol>
<ol ng-if="action === 'update'" class="heading">
<li><a ui-sref="main.categories"></a></li>
<li><a ui-sref="main.ca... |
# <API key>: (Apache-2.0 OR MIT)
from spack import *
class RCli(RPackage):
"""A suite of tools designed to build attractive command line interfaces
('CLIs'). Includes tools for drawing rules, boxes, trees, and
'Unicode' symbols with 'ASCII' alternatives."""
homepage = "https://github.com/r-lib/cli... |
#ifndef __GDK_X11_UTILS_H__
#define __GDK_X11_UTILS_H__
#if !defined (__GDKX_H_INSIDE__) && !defined (GDK_COMPILATION)
#error "Only <gdk/gdkx.h> can be included directly."
#endif
#include <gdk/gdk.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
G_BEGIN_DECLS
#ifndef GDK_MULTIHEAD_SAFE
Window <API key> (void);
Display... |
# Link Grammar Vala Bindings
If you run into an issue, please tag @kmwallio or [create an issue here](https://github.com/kmwallio/link-grammar-vapi) for direct support related to the Vala Bindings.
## Usage
Place link-grammar.vapi into your project's Vapi directory and add it to your build.
For meson, it would look lik... |
package com.swabunga.spell.engine;
import java.util.List;
/**
* An interface for all dictionary implementations. It defines the most basic
* operations on a dictionary: adding words, checking if a word is correct, and getting a list
* of suggestions for misspelled words.
*/
public interface SpellDictionary {
/**
... |
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
#include <Base/Console.h>
#include <Base/Interpreter.h>
#include <Gui/Application.h>
#include <Gui/WidgetFactory.h>
#include <Gui/Language/Translator.h>
#include "ViewProviderPath.h"
#include "<API key>.h"
#include "<API key>.h"
#include "<API key>.... |
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* Prepared by Battelle Energy Alliance, LLC */
/* Under Contract No. DE-AC07-05ID14517 */
/* With the U. S. Department of Energy ... |
#include "NRF24L01P.hh"
#if !defined(BOARD_ATTINYX5)
#include "Cosa/Power.hh"
#include "Cosa/RTT.hh"
#include <util/delay.h>
NRF24L01P::NRF24L01P(uint16_t net, uint8_t dev,
Board::DigitalPin csn,
Board::DigitalPin ce,
Board::<API key> irq) :
SPI::Driver(csn, SPI::ACTIVE_LOW, SPI... |
package org.hivedb.util;
import java.io.IOException;
import java.io.StringWriter;
import java.util.Properties;
import org.apache.velocity.Template;
import org.apache.velocity.app.Velocity;
import org.apache.velocity.context.Context;
import org.apache.velocity.exception.<API key>;
import org.apache.velocity.exception.Pa... |
#ifndef QTOPTIONSPAGE_H
#define QTOPTIONSPAGE_H
#include "<API key>.h"
#include <coreplugin/dialogs/ioptionspage.h>
#include <QWidget>
#include <QIcon>
QT_BEGIN_NAMESPACE
class QTreeWidgetItem;
QT_END_NAMESPACE
namespace ProjectExplorer {
class ToolChain;
}
namespace QtSupport {
class BaseQtVersion;
class QtConfigWidge... |
# distutils/version.py
# Implements multiple version numbering conventions for the
# Python Module Distribution Utilities.
"""Provides classes to represent module version numbers (one class for
each style of version numbering). There are currently two such classes
implemented: StrictVersion and LooseVersion.
Every ver... |
package org.pentaho.di.ui.job.entries.mail;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Random;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CCombo;
import org.eclipse.swt.custom.CTabFolder;
import org.eclipse.swt.custom.CTabItem;
import org.eclipse.swt.events.FocusListene... |
goog.require('goog.Timer');
goog.require('goog.events');
goog.require('ola.DmxConsole');
goog.require('ola.common.BaseUniverseTab');
goog.require('ola.common.Server');
goog.provide('ola.DmxConsoleTab');
/**
* The DMX console tab.
* @constructor
*/
ola.DmxConsoleTab = function(element) {
ola.common.BaseUniverseTab.... |
// <auto-generated>
// This code was generated by AsyncGenerator.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
using NUnit.Framework;
using System.Collections.Generic;
using NHibernate.Dialect;
namespace NHibernate.Test.NHSpecificT... |
#ifndef GENERALPAGE_H
#define GENERALPAGE_H
#include <QtGui/QWizardPage>
#include "ui_generalpage.h"
QT_BEGIN_NAMESPACE
class GeneralPage : public QWizardPage
{
Q_OBJECT
public:
GeneralPage(QWidget *parent = 0);
private:
bool validatePage();
bool isComplete() const;
Ui::GeneralPage m_ui;
};
QT_END_N... |
#ifndef <API key>
#define <API key>
// W A R N I N G
// This file is not part of the Qt API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
// We mean it.
#include "<API key>.h"
#include "private/<API key>.h"
#include "priva... |
// GRINS - General Reacting Incompressible Navier-Stokes
// This library is free software; you can redistribute it and/or
// modify it under the terms of the Version 2.1 GNU Lesser General
// This library is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ... |
#ifdef __cplusplus
extern "C" {
#endif
/* variable int packing */
unsigned char *vint_pack(unsigned char *dst, int i);
const unsigned char *vint_unpack(const unsigned char *src, int *inout);
long intpack_compress(const void *src, int size, void *dst);
long intpack_decompress(const void *src, int size, void *dst);
/* ze... |
struct ADC_SC1 {
UNION_STRUCT_START(32);
enum ADC_ADCH {
ADC_ADCH_TEMP = 0b11010,
ADC_ADCH_BANDGAP = 0b11011,
ADC_ADCH_VREFSH = 0b11101,
ADC_ADCH_VREFSL = 0b11110,
ADC_ADCH_DISABLED = 0b11111
} adch : 5;
uint... |
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_26) on Wed Nov 10 08:21:33 BRST 2010 -->
<TITLE>
PendingReading (NeoDatis ODB)
</TITLE>
<META NAME="keywords" CONTENT="org.neodatis.odb.impl.core.layers.layer3.engine.PendingReading class">
<LINK REL ="stylesheet" TYPE="text/css" ... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Windows;
namespace VrPlayer.Views.Dialogs
{
public partial class ProcessInputDialog : Window
{
public ProcessInputDialog()
{
InitializeComponent();
DataContext = this... |
# -*- coding: utf-8 -*-
''' Test case for signal to signal connections.'''
import unittest
from PySide2.QtCore import *
def cute_slot():
pass
class <API key>(unittest.TestCase):
'''Test case for signal to signal connections'''
def setUp(self):
#Set up the basic resources needed
self.sender =... |
package org.herac.tuxguitar.android.view.tablature;
import org.herac.tuxguitar.android.TuxGuitar;
import org.herac.tuxguitar.android.graphics.<API key>;
import org.herac.tuxguitar.document.TGDocumentManager;
import org.herac.tuxguitar.editor.TGEditorManager;
import org.herac.tuxguitar.graphics.TGRectangle;
import org.h... |
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <directfb.h>
#include <core/core.h>
#include <core/coredefs.h>
#include <core/coretypes.h>
#include <core/surface.h>
#include <core/gfxcard.h>
#include <core/layers.h>
#include <core/layers_internal.h>
#include <... |
#include <valgrind/xmlprotocol/frame.h>
#include <valgrind/xmlprotocol/parser.h>
#include <valgrind/xmlprotocol/stack.h>
#include <valgrind/xmlprotocol/suppression.h>
#include <projectexplorer/projectexplorer.h>
#include <extensionsystem/pluginmanager.h>
#include "parsertests.h"
#include <QCoreApplication>
#include <QD... |
#ifndef FORMRESIZER_H
#define FORMRESIZER_H
#include "widgethostconstants.h"
#include <QWidget>
#include <QVector>
<API key>(<API key>)
<API key>(QFrame)
namespace SharedTools {
namespace Internal {
class SizeHandleRect;
class FormResizer : public QWidget
{
Q_OBJECT
public:
FormResizer(QWidget *parent = 0);
... |
#include "SDL_config.h"
/*
* Atari keyboard events manager, using Gemdos
*
* Patrice Mandin
*/
#ifndef <API key>
#define <API key>
#include "../SDL_sysvideo.h"
extern void <API key>(_THIS);
extern void <API key>(_THIS);
extern void <API key>(void);
#endif /* <API key> */
/* vi: set ts=4 sw=4 expandtab: */ |
##This file is part of pythonOCC.
##pythonOCC is free software: you can redistribute it and/or modify
##(at your option) any later version.
##pythonOCC is distributed in the hope that it will be useful,
##MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
from __future__ import print_function
import webbrows... |
--Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
--T... |
// This file is part of Bytecoin.
// Bytecoin is free software: you can redistribute it and/or modify
// (at your option) any later version.
// Bytecoin is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#include <boost/<API key>.hpp>
#include <boost/mult... |
#if defined(<API key>) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
#error "Only <atk/atk.h> can be included directly."
#endif
#ifndef __ATK_STATE_SET_H__
#define __ATK_STATE_SET_H__
#include <glib-object.h>
#include <atk/atkobject.h>
#include <atk/atkstate.h>
G_BEGIN_DECLS
#define ATK_TYPE_STATE_SET ... |
// <API key>.cs
// Part of the Mono class libraries at
// mcs/class/System.Data.OracleClient/System.Data.OracleClient
// Assembly: System.Data.OracleClient.dll
// Namespace: System.Data.OracleClient
// Authors:
// Hubert FONGARNAND <informatique.internet@fiducial.fr>
using System;
using System.Collections;
using Sys... |
// 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,
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
// includ... |
/**
* @file viewer3D-3-objects.cpp
* @ingroup examples/3dViewer
* @author Bertrand Kerautret (\c kerautre@loria.fr )
* LORIA (CNRS, UMR 7503), University of Nancy, France
*
* @date 2011/19/03
*
* Simple example of class Viewer3D.
*
* This file is part of the DGtal library.
*/
#include <iostream>
#include <Qt... |
package org.hy.commons.lang.character.example;
import java.util.Random;
public class IsChineseOrEnglish {
// <API key>
// <API key>
public static boolean isChinese(char c) {
Character.UnicodeBlock ub = Character.UnicodeBlock.of(c);
if (ub == Character.UnicodeBlock.<API key>
... |
#include "six/sidd/<API key>.h"
using namespace six;
using namespace six::sidd;
InputROI::InputROI(double nr, double nc, double fr, double fc) :
size(nr, nc),
upperLeft(fr, fc)
{
}
InputROI* InputROI::clone() const
{
return new InputROI(*this);
}
TxRcvPolarization::TxRcvPolarization(PolarizationType tx, Pol... |
// UriTemplateTable.cs
// Atsushi Enomoto <atsushi@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,
// permit persons to whom the Software is fu... |
--Copyright (C) 2009 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later version.
--T... |
// of patent rights can be found in the PATENTS file in the same directory.
#pragma once
#include <string>
#include <stdexcept>
#include "rocksdb/options.h"
#include "rocksdb/status.h"
#include "util/mutable_cf_options.h"
#ifndef ROCKSDB_LITE
namespace rocksdb {
// Returns true if the input char "c" is considered as a ... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const graphql_1 = require("graphql");
exports.default = {
test(value) {
return value && typeof value.kind === 'string';
},
serialize(value, _config, indentation, _depth, _refs, _printer) {
return graphql_1.print(val... |
# Backup API Type
## Use
The `Backup` API type is used as a request for the Ark Server to perform a backup. Once created, the
Ark Server immediately starts the backup process.
## API GroupVersion
Backup belongs to the API group version `ark.heptio.com/v1`.
## Definition
Here is a sample `Backup` object with each of the... |
package org.jetbrains.kotlin.idea.codeInsight.surroundWith.statement;
import com.intellij.codeInsight.CodeInsightBundle;
import org.jetbrains.annotations.NotNull;
public class <API key> extends <API key> {
@Override
public String <API key>() {
return CodeInsightBundle.message("surround.with.ifelse.templ... |
// xfail-fast
// file at the top-level directory of this distribution and at
// option. This file may not be copied, modified, or distributed
// except according to those terms.
extern mod extra;
use extra::json;
use std::hashmap::HashMap;
use std::option;
enum object {
bool_value(bool),
int_value(i64),
}
fn lo... |
# <API key>: Apache-2.0
from .common import BaseTest
from c7n.lookup import Lookup
class LookupTest(BaseTest):
def test_lookup_type(self):
number_schema = {'type': 'number'}
<API key> = Lookup.lookup_type(number_schema)
string_schema = {'type': 'string'}
<API key> = Lookup.lookup_typ... |
#ifndef <API key>
#define <API key>
#include <set>
#include <string>
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/debug/stack_trace.h"
#include "base/files/file_path.h"
#include "base/lazy_instance.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "b... |
id: adaptors-kafka
title: Pulsar adaptor for Apache Kafka
sidebar_label: "Kafka client wrapper"
original_id: adaptors-kafka
Pulsar provides an easy option for applications that are currently written using the [Apache Kafka](http://kafka.apache.org) Java client API.
## Using the Pulsar Kafka compatibility wrapper
In an ... |
THREE.MeshFaceMaterial = function () {
this.toString = function () {
return 'THREE.MeshFaceMaterial';
};
}; |
"""Fixtures for pywemo."""
import asyncio
from unittest.mock import create_autospec, patch
import pytest
import pywemo
from homeassistant.components.wemo import CONF_DISCOVERY, CONF_STATIC
from homeassistant.components.wemo.const import DOMAIN
from homeassistant.helpers import entity_registry as er
from homeassistant.s... |
/ [tests/cases/compiler/<API key>.ts]
/ [package.json]
{
"name": "@foo/bar",
"version": "1.2.3"
}
/ [index.d.ts]
export class C {
private x: number;
}
/ [index.d.ts]
import { C } from "@foo/bar";
export const o: C;
/ [use.d.ts]
import { C } from "./index";
export function use(o: C): void;
/ [index.d.ts]
exp... |
<!DOCTYPE html>
<html devsite>
<head>
<meta name="project_path" value="/web/tools/workbox/_project.yaml" />
<meta name="book_path" value="/web/tools/workbox/_book.yaml" />
<meta name="gtm_var" data-key="docType" data-value="reference">
<title>Namespace: backgroundSync</title>
<link href="jsdoc.css" rel="style... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/language/v1/language_service.proto
namespace Google\Cloud\Language\V1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Represents the smallest syntactic ... |
// This source file is part of the Swift.org open source project
// This file defines routines relating to abstraction patterns.
// working in concert with the Clang importer.
#define DEBUG_TYPE "libsil"
#include "swift/SIL/TypeLowering.h"
#include "swift/AST/ASTContext.h"
#include "swift/AST/Decl.h"
#include "swift/AS... |
// file at the top-level directory of this distribution and at
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use std::fmt::Show;
trait Something {
fn yay<T: Show>(_: Option<Self>, thing: &[T]) -> String {
}
}
struct X { data: u32 }
impl Something for X {
... |
<?php
namespace oasis\names\specification\ubl\schema\xsd\<API key>;
/**
* @xmlNamespace urn:oasis:names:specification:ubl:schema:xsd:<API key>
* @xmlType URIType
* @xmlName URI
* @var oasis\names\specification\ubl\schema\xsd\<API key>\URI
*/
class URI extends URIType
{
} // end class URI |
describe ManageIQ::Providers::Openstack::CloudManager::Vm do
describe "vm actions" do
let(:ems) { FactoryGirl.create(:ems_openstack) }
let(:tenant) { FactoryGirl.create(:<API key>, :<API key> => ems) }
let(:vm) do
FactoryGirl.create(:vm_openstack,
:<API key> => ems,
... |
package com.ntobjectives.hackazon.activity;
import android.app.Fragment;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;
import android.view.InflateException;
import android.view.LayoutInflater;
import android.... |
"""The tests for the manual Alarm Control Panel component."""
from datetime import timedelta
import unittest
from unittest.mock import patch
from homeassistant.setup import setup_component
from homeassistant.const import (
<API key>, <API key>, <API key>,
<API key>, STATE_ALARM_PENDING, <API key>)
from homeassi... |
// tree.
package layers
import (
"errors"
"fmt"
"github.com/google/gopacket"
)
// EnumMetadata keeps track of a set of metadata for each enumeration value
// for protocol enumerations.
type EnumMetadata struct {
// DecodeWith is the decoder to use to decode this protocol's data.
DecodeWith gopacket.... |
description: How do we connect docker containers within and across hosts ?
keywords: docker, network, IPv6
title: IPv6 with Docker
The information in this section explains IPv6 with the Docker default bridge.
This is a `bridge` network named `bridge` created automatically when you install
Docker.
As we are [running out... |
<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-
<html xmlns="http:
<head>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<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.13"/>
... |
[expect] In BaseClass constructor
[expect] In BaseClass constructor
[expect] In SubClass constructor
[file]
<?php
class BaseClass {
function __construct() {
print "In BaseClass constructor\n";
}
}
class SubClass extends BaseClass {
function __construct() {
parent::__construct();
prin... |
#! /bin/bash
# A script to reconfigure Apache so that it serves up Graphite's Web UI.
sudo tee /etc/apache2/sites-available/000-default.conf > /dev/null <<CONFIG_EOF
WSGISocketPrefix /var/run/wsgi
<VirtualHost *:80>
ServerAdmin $SERVER_ADMIN_EMAIL
ServerName graphite
DocumentRoot "/opt/graphite/web... |
package org.zstack.kvm;
public class <API key> extends KVMHostHttpCallMsg {
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.