text stringlengths 3 1.05M |
|---|
source /etc/profile
source ~/.bash_profile
receivers=$1
host=$2
tablename=$3
authorization=$4
projectname=$5
cubename=$6
sh ${KYLIN_HOME}/bin/kylin.sh monitor -receivers ${receivers} -host ${host} -tableName ${tablename} -authorization ${authorization} -cubeName ${cubename} -projectName ${projectname} |
namespace aura {
class Window;
}
namespace ui {
class Layer;
}
namespace views {
class Widget;
}
namespace ash {
namespace internal {
// DragWindowController is responsible for showing a semi-transparent window
// while dragging a window across displays.
class ASH_EXPORT DragWindowController {
public:
explicit D... |
package vips
import (
"fmt"
"github.com/rackspace/gophercloud"
"github.com/rackspace/gophercloud/pagination"
)
// AdminState gives users a solid type to work with for create and update
// operations. It is recommended that users use the `Up` and `Down` enums.
type AdminState *bool
// Convenience vars for AdminSt... |
#include "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkGraphics.h"
#include "SkRandom.h"
static void test_clearonlayers(SkCanvas* canvas) {
SkCanvas& c = *canvas;
SkPaint paint;
paint.setColor(SK_ColorBLUE);
paint.setStyle(SkPaint::kStrokeAndFill_Style);
SkRect rect = SkRe... |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... |
namespace remoting {
static int64_t FrameContentSize(const webrtc::DesktopFrame* frame) {
DCHECK_GT(frame->stride(), 0);
return frame->stride() * frame->size().height();
}
// VideoEncoder wrapper used to intercept frames passed to a real VideoEncoder.
class VideoFrameRecorder::RecordingVideoEncoder : public Video... |
package object
import (
"context"
"github.com/vmware/govmomi/vim25"
"github.com/vmware/govmomi/vim25/methods"
"github.com/vmware/govmomi/vim25/types"
)
type ListView struct {
Common
}
func NewListView(c *vim25.Client, ref types.ManagedObjectReference) *ListView {
return &ListView{
Common: NewCommon(c, ref... |
package volumedrivers
import (
"errors"
"path/filepath"
"strings"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/volume"
)
var (
errNoSuchVolume = errors.New("no such volume")
)
type volumeDriverAdapter struct {
name string
baseHostPath string
capabilities *volume.Capability
proxy *... |
// Api versions allow the api contract for a resource to be changed while keeping
// backward compatibility by support multiple concurrent versions
// of the same resource
// +k8s:deepcopy-gen=package
// +groupName=duck.knative.dev
package v1beta1
|
RELEASES_DIR=${RELEASES_DIR:-/tmp/downloads}
# Define docker version to use.
DOCKER_VERSION=${DOCKER_VERSION:-"1.12.1"}
# Define flannel version to use.
FLANNEL_VERSION=${FLANNEL_VERSION:-"0.6.1"}
# Define etcd version to use.
ETCD_VERSION=${ETCD_VERSION:-"3.0.9"}
# Define k8s version to use.
K8S_VERSION=${K8S_VERS... |
YUI.add('datasource-jsonschema', function (Y, NAME) {
/**
* Extends DataSource with schema-parsing on JSON data.
*
* @module datasource
* @submodule datasource-jsonschema
*/
/**
* Adds schema-parsing to the DataSource Utility.
* @class DataSourceJSONSchema
* @extends Plugin.Base
*/
var DataSourceJSONSchema =... |
CREATE TABLE tbl_user (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
username VARCHAR(128) NOT NULL,
password VARCHAR(128) NOT NULL,
email VARCHAR(128) NOT NULL
);
INSERT INTO tbl_user (username, password, email) VALUES ('test1', 'pass1', 'test1@example.com');
INSERT INTO tbl_user (username, password... |
package org.apache.hadoop.hbase.master.cleaner;
import java.util.List;
import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hbase.Stoppable;
import org.apache.hadoop.h... |
class TDependencyGraphOutput : public TDependencyGraphTraverser {
public:
TDependencyGraphOutput(TInfoSinkBase& sink) : mSink(sink) {}
virtual void visitSymbol(TGraphSymbol* symbol);
virtual void visitArgument(TGraphArgument* parameter);
virtual void visitFunctionCall(TGraphFunctionCall* functionCall);
... |
package org.jetbrains.idea.svn;
import com.intellij.ide.FrameStateListener;
import com.intellij.ide.FrameStateManager;
import com.intellij.idea.RareLogger;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.ApplicationManag... |
``date``
========
.. versionadded:: 1.6
The date function has been added in Twig 1.6.
.. versionadded:: 1.6.1
The default timezone support has been added in Twig 1.6.1.
Converts an argument to a date to allow date comparison:
.. code-block:: jinja
{% if date(user.created_at) < date('-2days') %}
... |
class Test {
void method() {
System.out.println("1");
<selection>{
System.out.println("2");
System.out.println("3");
}</selection>
System.out.println("4");
}
} |
(function () {
function RunningInNode () {
return(
(typeof require) == "function"
&&
(typeof exports) == "object"
&&
(typeof module) == "object"
&&
(typeof __filename) == "string"
&&
(typeof __dirname) == "string"
);
}
if (!RunningInNode()) {
if (!this.Tautologistics)
this.Tautologistics = {};... |
"""NDB -- A new datastore API for the Google App Engine Python runtime."""
__version__ = '1.0.10'
__all__ = []
from tasklets import *
__all__ += tasklets.__all__
from model import * # This implies key.*
__all__ += model.__all__
from query import *
__all__ += query.__all__
from context import *
__all__ += context... |
// $OpenLDAP: pkg/ldap/contrib/ldapc++/src/LDAPAttributeList.h,v 1.9.6.3 2008/07/08 19:31:00 quanah Exp $
#ifndef LDAP_ATTRIBUTE_LIST_H
#define LDAP_ATTRIBUTE_LIST_H
#include <ldap.h>
#include <list>
#include <string>
class LDAPAttribute;
class LDAPAsynConnection;
class LDAPMsg;
/**
* This container class is use... |
# grunt-contrib-concat v0.4.0 [](https://travis-ci.org/gruntjs/grunt-contrib-concat)
> Concatenate files.
## Getting Started
This plugin requires Grunt `~0.4.0`
If you haven't used [Grunt](http://gruntjs.com/) before, be sure to c... |
package org.apache.openwhisk.core.database
import akka.actor.ActorSystem
import akka.http.scaladsl.model.ContentType
import akka.stream.ActorMaterializer
import akka.stream.scaladsl.{Sink, Source}
import akka.util.ByteString
import org.apache.openwhisk.common.{Logging, TransactionId}
import org.apache.openwhisk.core.... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>projective-geometry: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boots... |
<?php
namespace Aws;
use Aws\Exception\AwsException;
use GuzzleHttp\Promise\RejectedPromise;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\StreamInterface;
/**
* Traces state changes between middlewares.
*/
class TraceMiddleware
{
private $prevOutput;
pr... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
[RequireComponent(typeof(Text))]
public class SumMusicSampleMenu : MonoBehaviour {
// Links to game objects
[SerializeField] GameObject menuObject; // UI object containing menu
[SerializeField] Text buttonText; // Text component on menu b... |
<div class="row" style="margin-top: 10px;">
<div class="col-md-12">
@if (Session::has('message'))
<div class="alert fade in alert-info"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true"></button> {{ Session::get('message') }}</div>
@endif
@if (Session::... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Profiler Sections
| -------------------------------------------------------------------------
| This file lets you determine whether or not various sections of Profile... |
'use strict';
angular
.module('robozzleApp', [
'ngCookies',
'ngResource',
'ngSanitize',
'ngRoute',
'mouseUI',
'ui.slider'
])
.config(function ($routeProvider) {
$routeProvider
.when('/robozzle', {
templateUrl: 'views/main.html',
controller: 'MainCtrl'
})
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<script src="../../list.js"></script>
<script src="../../page.js"></script>
<link type="text/css" rel="stylesheet" href="../../page.css" />
</head>
<body>
<h1>[name]</h1>
<div class="desc">
Represents a color. See also [page:ColorUtils].
... |
require 'acts_as_hasselhoff/puts_slowly'
module ActsAsHasselhoff
def acts_as_hasselhoff
include InstanceMethods
before_save :play_watch
end
module InstanceMethods
def play_watch
gem_root = Gem::Specification.find_by_name('acts_as_hasselhoff').gem_dir
play_bin = File.join(gem_root, 'bin',... |
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;
class Test {
public <T2> void validate(Stream<ConstraintViolation<T2>> stream) {
// ...
Set<Violation> violations = stream.map(this::convertToResult).collect(Collectors.toSet());
// ...
}
private <T1> Violation... |
#include <grpc++/support/slice.h>
#include <grpc/slice.h>
#include <gtest/gtest.h>
namespace grpc {
namespace {
const char* kContent = "hello xxxxxxxxxxxxxxxxxxxx world";
class SliceTest : public ::testing::Test {
protected:
void CheckSlice(const Slice& s, const grpc::string& content) {
EXPECT_EQ(content.s... |
steal('jquery/lang/string', function() {
/**
* @add jQuery.String
*/
$.String.
/**
* Splits a string with a regex correctly cross browser
*
* $.String.rsplit("a.b.c.d", /\./) //-> ['a','b','c','d']
*
* @param {String} string The string to split
* @param {RegExp} regex A regular expression
* @... |
FN="hthgu133bcdf_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/hthgu133bcdf_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/hthgu133bcdf_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-hthgu133bcdf/bioconductor-hthgu133bcdf_2.18.0_src_all.tar.... |
/**
* @file rgbapixel.cpp
* Implementation of the RGBAPixel class for the EasyPNG library.
*
* @author Chase Geigle
* @date Spring 2012
*/
#include "rgbapixel.h"
RGBAPixel::RGBAPixel() : red(255), green(255), blue(255), alpha(255)
{
/* nothing */
}
RGBAPixel::RGBAPixel(unsigned char r, unsigned char g, unsigne... |
using System;
class OddOrEvenIntegers
{
static void Main()
{
Console.WriteLine("Please enter a number for check:");
int number = Int32.Parse(Console.ReadLine());
if (Math.Abs(number % 2) == 1)
{
Console.WriteLine("The input number {0} is odd.", number);
}
... |
package backtype.storm.security.auth;
import java.io.IOException;
import java.util.Map;
import javax.security.auth.login.Configuration;
import org.apache.thrift7.protocol.TBinaryProtocol;
import org.apache.thrift7.protocol.TProtocol;
import org.apache.thrift7.transport.TSocket;
import org.apache.thrift7.transport.TTr... |
<!DOCTYPE html>
<!--
Copyright (c) 2013 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<link rel="import" href="/tracing/core/test_utils.html">
<link rel="import" href="/tracing/model/event_set.html">
<link rel="import" h... |
var forEach = require('../collections/forEach'),
forOwn = require('../objects/forOwn'),
isArray = require('../objects/isArray'),
isPlainObject = require('../objects/isPlainObject');
/**
* The base implementation of `_.merge` without argument juggling or support
* for `thisArg` binding.
*
* @private
*... |
<?php
/**
* @see Zend_Tool_Framework_Registry_EnabledInterface
*/
#require_once 'Zend/Tool/Framework/Registry/EnabledInterface.php';
/**
* @category Zend
* @package Zend_Tool
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/lice... |
(function() {
var blockSovetnik = function() {
var hash = window.location.hash || false;
var script = document.currentScript || document.getElementById("ss_script");
var log = function(t) {
if (hash && hash === '#ssdebug') console.log(t);
};
if (!window['Muta... |
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
## Has it been tested?
- [ ] Development testing done
- [ ] Unit or integration test implemented
## Checklist
- [ ] My code f... |
set -e
umask 0002
declare -a es_opts
while IFS='=' read -r envvar_key envvar_value
do
# Elasticsearch env vars need to have at least two dot separated lowercase words, e.g. `cluster.name`
if [[ "$envvar_key" =~ ^[a-z0-9_]+\.[a-z0-9_]+ ]]; then
if [[ ! -z $envvar_value ]]; then
es_opt="-E${e... |
module Fog
module Compute
class DigitalOcean
class Real
def power_on_server( id )
request(
:expects => [200],
:method => 'GET',
:path => "droplets/#{id}/power_on"
)
end
end
class Mock
def power_on_server( ... |
package sample.tomcat.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import sample.tomcat.service.HelloWorldService;
@Co... |
<?php
/**
* @see Zend_Filter_Interface
*/
require_once 'Zend/Filter/Interface.php';
/**
* @category Zend
* @package Zend_Filter
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_... |
package com.dianping.cat.report.task.transaction;
import java.util.List;
import junit.framework.Assert;
import org.junit.Test;
import org.unidal.helper.Files;
import com.dianping.cat.consumer.transaction.model.entity.TransactionReport;
import com.dianping.cat.consumer.transaction.model.transform.DefaultSaxParser;
i... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.0.7
*/
goog.provide('ng.material.components.bottomSheet');
goog.require('ng.material.components.backdrop');
goog.require('ng.material.core');
/**
* @ngdoc module
* @name material.components.bottomSheet
* @description
* Bott... |
. `dirname $0`/prebuilt-common.sh
VERBOSE=no
VERBOSE2=no
PROGRAM_PARAMETERS="<src-dir> <dst-dir>"
PROGRAM_DESCRIPTION=\
"This program is used to parse all shared libraries in <src-dir>
and extract, for each one of them, the list of functions and variables
that it exports.
For some of these libraries, it will remove ... |
<?php
require dirname(__FILE__)."/j-folder/php/csrf.php";
$new_token = new CSRF('contact');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Contact form</title>
<!-- Your META here -->
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0" name="viewport"... |
//=================================================================================================
//=================================================================================================
//*************************************************************************************************
// Includes
//***... |
package cache
import (
"fmt"
"sync"
"time"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/util/clock"
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
"k8s.io/apimachinery/pkg/util/wait"
"k8s.io/client-go/util/buffer"
"k8s.io/client-go/util/retry"
"github.com/golang/glog"
)
// SharedInform... |
body {
font-family: 'Lora', 'Times New Roman', serif;
font-size: 20px;
color: #404040;
}
p {
line-height: 1.5;
margin: 30px 0;
}
p a {
text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 800;
}
a {
color: #404040... |
package com.intellij.lexer;
import com.intellij.psi.tree.TokenSet;
import com.intellij.psi.xml.XmlTokenType;
/**
* @author ik
*/
public class DtdLexer extends MergingLexerAdapter {
private final static TokenSet TOKENS_TO_MERGE =
TokenSet.create(XmlTokenType.XML_DATA_CHARACTERS, XmlTokenType.XML_ATTRIBUTE_VAL... |
<!DOCTYPE html>
<!--
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
-->
<html>
<head>
<meta charset="utf-8">
<title>TAB Key-Based Navigation — CKEditor Sample</title>
<script src="../../ckeditor.js"></script>
<... |
#ifndef SIMAC_H
#define SIMAC_H
#include "dcmtk/config/osconfig.h"
#include "dcmtk/dcmsign/sitypes.h"
#ifdef WITH_OPENSSL
/**
* a base class for all classes that implement hash functions.
*/
class DCMTK_DCMSIGN_EXPORT SiMAC
{
public:
/// default constructor
SiMAC() { }
/// destructor
virtual ~SiMAC() {... |
#ifndef B2_WHEEL_JOINT_H
#define B2_WHEEL_JOINT_H
#include <Box2D/Dynamics/Joints/b2Joint.h>
/// Wheel joint definition. This requires defining a line of
/// motion using an axis and an anchor point. The definition uses local
/// anchor points and a local axis so that the initial configuration
/// can violate the c... |
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="GadgetNonCompiantFeatures" version="1.0.0" type="dashboards/gadget" serverRole="CDMFAnalytics">
<file>non-compliant-features</file>
</artifact>
|
package kubeadm
import (
"context"
appsv1 "k8s.io/api/apps/v1"
authv1 "k8s.io/api/authorization/v1"
corev1 "k8s.io/api/core/v1"
rbacv1 "k8s.io/api/rbac/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
clientset "k8s.io/client-go/kubernetes"
"k8s.io/kubernetes/test/e2e/framework"
"github.com/onsi/gomega"
... |
var tagFixerFn = require('../processors/tag-fixer');
var elementArrayFinder = require('./element-array-finder.json');
var elementAll = require('./element-array-finder-all.json');
var _ = require('lodash');
describe('tag fixer', function() {
var classMethodStatement, constructorStatement, docs, tagFixer;
beforeEac... |
package apiv3
import (
"bytes"
"context"
"encoding/json"
"fmt"
"net"
"net/http"
"strings"
"testing"
"github.com/gorilla/mux"
"github.com/grpc-ecosystem/grpc-gateway/runtime"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"go.uber.org/zap"
"... |
package bits.hidpunk.osx;
import bits.hidpunk.HidException;
/**
* @author Philip DeCamp
*/
class IOIter extends IOObject {
public IOIter( long ptr ) {
super( ptr );
}
public IOIter( long ptr, boolean releaseAtFinalize ) {
super( ptr, releaseAtFinalize );
}
public synchroni... |
#include <stdio.h>
#include <curl/curl.h>
/* some requirements for this to work:
1. set pCertFile to the file with the client certificate
2. if the key is passphrase protected, set pPassphrase to the
passphrase you use
3. if you are using a crypto engine:
3.1. set a #define USE_ENGINE
3.... |
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef STM32L4xx_HAL_QSPI_H
#define STM32L4xx_HAL_QSPI_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32l4xx_hal_def.h"
#if defined(QUADSPI)
/*... |
<?php
namespace ModuleWithEvents;
use Zend\Mvc\MvcEvent;
class Module
{
public function onBootstrap($e)
{
$application = $e->getApplication();
$events = $application->getEventManager();
$events->attach(MvcEvent::EVENT_ROUTE, array($this, 'onRoute'), -1000);
}
public func... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... |
package org.springframework.boot.devtools.livereload;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.SocketTimeoutException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Execu... |
var after = require('after');
var assert = require('assert');
var express = require('..');
var request = require('supertest');
describe('res', function(){
describe('.download(path)', function(){
it('should transfer as an attachment', function(done){
var app = express();
app.use(function(req, res){
... |
<!--[metadata]>
+++
title = "push"
description = "The push command description and usage"
keywords = ["share, push, image"]
[menu.main]
parent = "smn_cli"
weight=1
+++
<![end-metadata]-->
# push
Usage: docker push NAME[:TAG]
Push an image or a repository to the registry
--disable-content-trust=true Sk... |
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... |
var Stack = require('./_Stack'),
assignMergeValue = require('./_assignMergeValue'),
baseFor = require('./_baseFor'),
baseMergeDeep = require('./_baseMergeDeep'),
isObject = require('./isObject'),
keysIn = require('./keysIn'),
safeGet = require('./_safeGet');
/**
* The base implementation of `_... |
<?xml version="1.0" encoding="utf-8"?>
<tryton>
<data>
<!-- webshop root navigation -->
<record id="webshop__root_cms_menu" model="nereid.cms.menuitem">
<field name="title">Root Nav</field>
<field name="sequence" eval="10"/>
<field name="type_">view</field>
... |
package system
import (
"syscall"
)
func Mknod(path string, mode uint32, dev int) error {
return syscall.Mknod(path, mode, dev)
}
// Linux device nodes are a bit weird due to backwards compat with 16 bit device nodes.
// They are, from low to high: the lower 8 bits of the minor, then 12 bits of the major,
// then ... |
//-----------------------------------------------------------------------
// <copyright file="TActorBase.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//----... |
/* $OpenBSD: reallocarray.c,v 1.1 2014/05/08 21:43:49 deraadt Exp $ */
/*
* Copyright (c) 2008 Otto Moerbeek <otto@drijf.net>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission not... |
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
<title>CCLayoutBoxDirection Constants Reference</title>
<meta id="xcode-display" name="xcode-display" content="render"/>
<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
<link rel... |
from nova.api.openstack import extensions
from nova.api.openstack import wsgi
from nova import quota
QUOTAS = quota.QUOTAS
XMLNS = "http://docs.openstack.org/compute/ext/used_limits/api/v1.1"
ALIAS = "os-used-limits"
authorize = extensions.soft_extension_authorizer('compute', 'used_limits')
authorize_for_admin = ex... |
package sublandroid.utils;
import java.util.*;
import sublandroid.command.Command.ModelInvocation;
import sublandroid.core.BuildStatus;
import sublandroid.messages.*;
/**
* Process any java errors, warnings whatelse
*/
public class JavaOutputReader extends OutputReader<ModelInvocation<BuildStatus>> {
@Override pu... |
var dtf = new Intl.DateTimeFormat(['en'],
{year: 'numeric', month: 'numeric',
day: 'numeric', hour: 'numeric',
minute: 'numeric', second: 'numeric',
timeZone: 'UTC'});
// Make sure... |
import React, {Component} from 'react';
import PropTypes, {connect, withViewport, withContext, withStyles} from '../PropTypes.js';
import Header from '../skeleton/Header';
import Footer from '../skeleton/Footer';
import Grid from 'react-bootstrap/lib/Grid';
import Snackbar from '@material-ui/core/Snackbar';
import * a... |
external help file: Microsoft.Azure.Commands.Network.dll-Help.xml
Module Name: AzureRM.Network
ms.assetid: 5A0D9326-3A8A-4156-8372-EBA93C1BB4E4
online version: https://docs.microsoft.com/en-us/powershell/module/azurerm.network/get-azurermnetworksecurityruleconfig
schema: 2.0.0
---
# Get-AzureRmNetworkSecurityRuleConfi... |
define("dojo/dnd/Container", [
"../_base/array",
"../_base/declare",
"../_base/kernel",
"../_base/lang",
"../_base/window",
"../dom",
"../dom-class",
"../dom-construct",
"../Evented",
"../has",
"../on",
"../query",
"../touch",
"./common"
], function(
array, declare, kernel, lang, win,
dom, domClass, dom... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_34) on Mon Jun 03 22:20:33 BST 2013 -->
<TITLE>
org.newdawn.slick.openal (Slick - The 2D Library)
</TITLE>
<META NAME="date" CONTENT="2013-06-03">
... |
import { Type } from '../type';
/**
* Declares the interface to be used with {@link Class}.
*
* @stable
*/
export interface ClassDefinition {
/**
* Optional argument for specifying the superclass.
*/
extends?: Type<any>;
/**
* Required constructor function for a class.
*
* The f... |
title: aix49
type: products
image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png
heading: x49
description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj
main:
heading: Foo Bar BAz
description: |-
***This is i a thing***kjh hjk kj
# Blah Blah
## Blah
### Baah
image1:
... |
<?php
namespace Propel\PropelBundle\Model\Acl;
use Propel\PropelBundle\Model\Acl\om\BaseObjectIdentity;
class ObjectIdentity extends BaseObjectIdentity
{
public function preInsert(\PropelPDO $con = null)
{
// Compatibility with default implementation.
$ancestor = new ObjectIdentityAncestor(... |
RSpec::Matchers.define :permit_action do |action|
match do |policy|
policy.public_send("#{action}?")
end
failure_message do |policy|
"#{policy.class} does not permit #{action} on #{policy.record} for #{policy.user.inspect}."
end
failure_message_when_negated do |policy|
"#{policy.class} does not ... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
static const int xmppLogLevel = XMPP_LOG_LEVEL_ERROR;
#endif
@implementation XMPPvCardTempEmail
#if DEBUG
+ (void)initialize {
// We use the object_setClass method below to dynamically change the class from a standard NSXMLElement.
// The size of the two classes is expected to be the same.
//
// If a develop... |
namespace pp {
namespace {
template <> const char* interface_name<PPB_FileChooser_Dev_0_5>() {
return PPB_FILECHOOSER_DEV_INTERFACE_0_5;
}
template <> const char* interface_name<PPB_FileChooser_Dev_0_6>() {
return PPB_FILECHOOSER_DEV_INTERFACE_0_6;
}
} // namespace
FileChooser_Dev::FileChooser_Dev(const Insta... |
#include "tensorflow/core/distributed_runtime/rpc/grpc_remote_master.h"
#include "tensorflow/core/distributed_runtime/call_options.h"
#include "tensorflow/core/distributed_runtime/master_interface.h"
#include "tensorflow/core/distributed_runtime/rpc/grpc_master_service_impl.h"
#include "tensorflow/core/distributed_r... |
package net.violet.platform.voice.server;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.concurrent.PriorityBlockingQueue;
import net.violet.platform.voice.server.TTSJob.TTSJobPrioritized;
impo... |
package eventratelimit
import (
"io"
"k8s.io/apiserver/pkg/admission"
"k8s.io/client-go/util/flowcontrol"
api "k8s.io/kubernetes/pkg/apis/core"
eventratelimitapi "k8s.io/kubernetes/plugin/pkg/admission/eventratelimit/apis/eventratelimit"
"k8s.io/kubernetes/plugin/pkg/admission/eventratelimit/apis/eventratelim... |
package org.broadleafcommerce.cms.file.dao;
import org.broadleafcommerce.common.extension.ExtensionManager;
import org.broadleafcommerce.common.extension.QueryExtensionHandler;
import org.springframework.stereotype.Component;
/**
* @author Jeff Fischer
*/
@Component("blStaticAssetDaoQueryExtensionManager")
public ... |
module Fog
module Compute
class Brightbox
class Real
# Removes a number of server from the server group and adds them to another server group given in parameters.
#
# @param [String] identifier Unique reference to identify the resource
# @param [Hash] options
# @optio... |
package org.kuali.rice.ken.service;
import java.util.Collection;
import org.kuali.rice.ken.bo.NotificationBo;
import org.kuali.rice.ken.bo.NotificationMessageDelivery;
/**
* The NotificationMessageDeliveryService class is responsible various functions regarding the
* NotificationMessageDelivery records that exis... |
/**
* @license
* Highcharts funnel module, Beta
*
* (c) 2010-2012 Torstein Hønsi
*
* License: www.highcharts.com/license
*/
/*global Highcharts */
(function (Highcharts) {
'use strict';
// create shortcuts
var defaultOptions = Highcharts.getOptions(),
defaultPlotOptions = defaultOptions.plotOptions,
serie... |
package com.vmware.vim25.mo;
import com.vmware.vim25.*;
import java.rmi.RemoteException;
/**
* The managed object class corresponding to the one defined in VI SDK API reference.
*
* @author Steve JIN (http://www.doublecloud.org), Lu Yu (lyu@vmware.com)
*/
public class HostNetworkSystem extends E... |
package org.powermock.modules.junit3;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestResult;
import junit.framework.TestSuite;
import org.powermock.modules.junit3.internal.JUnit3TestSuiteChunker;
import org.powermock.modules.junit3.internal.impl.JUnit3TestSuiteChunkerImpl;
i... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>OSS Sequencer Emulation on ALSA</TITLE>
</HEAD>
<BODY>
<CENTER>
<H1>
<HR WIDTH="100%"></H1></CENTER>
<CENTER>
<H1>
OSS Sequencer Emulation on ALSA</H1></CENTER>
<HR WIDTH="100%">
<P>Copyright (c) 1998,1999 by Takashi Iwai
<TT><A ... |