text stringlengths 3 1.05M |
|---|
{% extends "inventory/inventory_base.html" %}
{% block heading %}
{% if group_type == "all" %}All machines {% else %}Machines from {{ group_type|title }}: {{ group_name }}{% endif %}
{% if field_type == "all" %}with application {{ app_name }}{% else %}where {{ app_name }} {{ field_type }} is {{ field_value }}{% endif... |
set -e
DOC_DIR="g3doc/api_docs"
DOXYGEN_BIN=${DOXYGEN:-doxygen}
DOXYGEN_CONFIG="tools/docs/tf-doxy_for_md-config"
# The TMP_DIR is set inside DOXYGEN_CONFIG and cannot be changed independently
TMP_DIR=/tmp/tensorflow-docs/xml
if [ ! -f gen_docs.sh ]; then
echo "This script must be run from inside the tensorflow/too... |
package cert
import (
"crypto/tls"
"crypto/x509"
"fmt"
"net/url"
"strings"
)
// GetClientCANames gets the CA names for client certs that a server accepts. This is useful when inspecting the
// state of particular servers. apiHost is "host:port"
func GetClientCANames(apiHost string) ([]string, error) {
// wh... |
<?php
/**
* Representation of a table cell.
* An object of this class represents a table cell. A cell has a certain content,
* may apply a format to this data, align the data in the cell and so on.
*
* This class stores the cells for the {@link ezcConsoleTable} class.
*
* @see ezcConsoleTableRow
*
* @proper... |
namespace Google.Cloud.SecretManager.V1Beta1.Snippets
{
// [START secretmanager_v1beta1_generated_SecretManagerService_DisableSecretVersion_sync_flattened]
using Google.Cloud.SecretManager.V1Beta1;
public sealed partial class GeneratedSecretManagerServiceClientSnippets
{
/// <summary>Snippet fo... |
<?php
class ZendX_Auth_Method_Authenticate {
/**
* Retorna true si son validas la credenciales
*
* @param string $user
* @param string $pass
* @return array
*/
public function login($user = '', $pass = '') {
$sess['isAuth'] = false;
$data = array('username' => $u... |
#define IN_LIBXML
#include "libxml.h"
#ifdef LIBXML_DEBUG_ENABLED
#include <string.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include <libxml/xmlmemory.h>
#include <libxml/tree.h>
#include <libxml/parser.h>
#include <libxml/parserInternals.h>
#include <libxml/... |
#ifndef UNISTR_H
#define UNISTR_H
/**
* \file
* \brief C++ API: Unicode String
*/
#include "unicode/utypes.h"
#include "unicode/rep.h"
#include "unicode/std_string.h"
#include "unicode/stringpiece.h"
#include "unicode/bytestream.h"
struct UConverter; // unicode/ucnv.h
class StringThreadTest;
#ifnde... |
local cloakroom = {
title = "Раздевалка ({1})",
undress = {
title = "> Переодеться"
},
maleuniform = "Male uniform",
femaleuniform = "Female uniform"
}
return cloakroom |
layout: post
title: "L'aggregate-root: la fonte della verità"
comments: true
categories: Technology
---
Quando si parla di DDD ogni componente in gioco ha la sua importanza, ma la “visione d’insieme” e il contenuto informativo contenuto in un aggregate ricopre un ruolo fondamentale di tutto l’... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; ... |
<?php
namespace Symfony\Component\Config\Tests\Definition;
use Symfony\Component\Config\Definition\ScalarNode;
class ScalarNodeTest extends \PHPUnit_Framework_TestCase
{
/**
* @dataProvider getValidValues
*/
public function testNormalize($value)
{
$node = new ScalarNode('test');
... |
/* Standard Includes */
#include <stdint.h>
/* DriverLib Includes */
#include <pcm.h>
#include <debug.h>
#include <interrupt.h>
#include <cpu.h>
bool PCM_setCoreVoltageLevel(uint_fast8_t voltageLevel)
{
return PCM_setCoreVoltageLevelWithTimeout(voltageLevel, 0);
}
bool PCM_setCoreVoltageLevelWithTimeout(uint_fa... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_45) on Fri Aug 28 09:51:32 EDT 2015 -->
<title>Uses of Class org.apache.cassandra.dht.RandomPartitioner (apache-cassandra API)</title>
<meta na... |
import operator
import numpy as np
import pytest
from pandas._libs.tslibs.period import IncompatibleFrequency
from pandas.errors import PerformanceWarning
import pandas as pd
from pandas import Period, PeriodIndex, Series, period_range
from pandas.core import ops
import pandas.util.testing as tm
from pandas.tseries... |
{% extends 'templates/nhs_transaction_layout.html' %}
{% block afterHeader %}
{% include "includes/service-headers/low-income.html" %}
{% endblock %}
{% block content %}
<main id="content" role="main">
<div class="grid-row">
<div class="column-two-thirds">
<div class="text">
<... |
package uk.co.senab.photoview;
import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build.VERSION;
import android.os.Build.VERSION_CODES;
import android.widget.OverScroller;
import android.widget.Scroller;
public abstract class ScrollerProxy {
public static ScrollerProxy getScroll... |
/* xdo search implementation
*
* Lets you search windows by a query
*/
#include <stdlib.h>
#include <regex.h>
#include <stdio.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <X11/Xresource.h>
#include <X11/Xutil.h>
#include <X11/extensions/XTest.h>
#include "xdo.h"
static int compile_re(const char *patter... |
package org.apache.camel.component.sql;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.apache.camel.Exch... |
CLASS=org.klomp.snark.web.messages
TMPFILE=build/javafiles.txt
export TZ=UTC
RC=0
if ! $(which javac > /dev/null 2>&1); then
export JAVAC=${JAVA_HOME}/../bin/javac
fi
if [ "$1" = "-p" ]
then
POUPDATE=1
fi
# on windows, one must specify the path of commnad find
# since windows has its own version of find.
if whi... |
import org.jetbrains.annotations.NotNull;
public class NonStaticInnerClass {
public NonStaticInnerClass() {
new Inner(null, "");
}
public static void fail() {
new NonStaticInnerClass().new Inner("", null);
}
public class Inner {
public Inner(String s1, @NotNull String s2) { }
}
} |
/**
* @license AngularJS v1.0.3
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
var directive = {};
var service = { value: {} };
var DEPENDENCIES = {
'angular.js': 'http://code.angularjs.org/angular-' + angular.version.full + '.min.js',
... |
require File.expand_path('../../spec_helper', __FILE__)
describe "The catch keyword" do
ruby_version_is "" ... "1.9" do
it "only allows symbols and strings" do
lambda { catch(:foo) {} }.should_not raise_error
lambda { catch("foo") {} }.should_not raise_error
lambda { catch(1) {} }.should raise_... |
// atob and btoa
var a = atob("dGVzdA=="),
b = btoa("test");
// DOMParser
var dp = new DOMParser();
var dom = dp.parseFromString("<test>jshint</test>", "text/xml");
// XMLSerializer
var xs = new XMLSerializer();
var dom_str = xs.serializeToString(dom);
// node
var filterAccept = NodeFilter.FILTER_ACCEPT;
var ele... |
<?php
namespace Aws\Tests\S3;
use Aws\Common\Enum\ClientOptions as Options;
use Aws\Common\Credentials\Credentials;
use Aws\S3\S3Client;
use Guzzle\Http\Message\Response;
use Guzzle\Http\Url;
use Guzzle\Http\Message\Request;
use Guzzle\Plugin\History\HistoryPlugin;
use Guzzle\Plugin\Mock\MockPlugin;
/**
* @covers ... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Namespace Microsoft.CodeAnalysis.VisualBasic.Symbols
''' <summary>
''' When signature of an implementing method... |
# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
# It is recommended to regenerate this file in the future when you upgrade to a
# newer version of cucumber-rails. Consider adding your own code to a new file
# instead of editing this one. Cucumber will automatically load all features/**/*... |
namespace glm
{
/// @addtogroup gtc_packing
/// @{
/// First, converts the normalized floating-point value v into a 8-bit integer value.
/// Then, the results are packed into the returned 8-bit unsigned integer.
///
/// The conversion for component c of v to fixed point is done as follows:
/// packUnorm1x8: rou... |
package de.craften.plugins.rpgplus.util.components;
import org.bukkit.Server;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.PluginCommand;
import org.bukkit.configuration.Configuration;
import org.bukkit.event.Listener;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.Bukkit... |
<?php
namespace Oro\Bundle\SecurityBundle\Owner;
/**
* Purpose of interface is to build tree for AccessLevel level entity representation
*
* @internal Should cover most of OwnerTree methods, BC break possible
*/
interface OwnerTreeInterface
{
/**
* Add the given basic entity with local owner to the tree
... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkMetadata = void 0;
const util_1 = require("../../compile/util");
const def = {
keyword: "metadata",
schemaType: "object",
code(cxt) {
checkMetadata(cxt);
const { gen, schema, it } = cxt;
if ((0,... |
package com.liferay.knowledgebase.service;
import com.liferay.portal.service.InvokableLocalService;
/**
* @author Brian Wing Shun Chan
* @generated
*/
public class KBFolderLocalServiceClp implements KBFolderLocalService {
public KBFolderLocalServiceClp(InvokableLocalService invokableLocalService) {
_invokable... |
package osgi.embedded.scala
import javax.script.ScriptException;
import org.slf4j.LoggerFactory
import scala.tools.nsc.Settings
import scala.tools.nsc.io.AbstractFile
import scala.tools.nsc.reporters.Reporter
import osgi.embedded.scala.interpreter.ScalaInterpreter
/**
* Abstract base implementation of a {@link Set... |
class GraphQL::Schema::EachItemValidator
def initialize(errors)
@errors = errors
end
def validate(items, as:, must_be:)
invalid_items = items.select {|k| !yield(k) }
if invalid_items.any?
@errors << "#{as} must be #{must_be}, but some aren't: #{invalid_items.map(&:to_s).join(", ")}"
end
e... |
package org.apache.camel.component.jackson;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "XMLPojo")
public class TestJAXBPojo {
@XmlElement(name = "PojoName")
private String name;
public String getName() {
return this.name;... |
#include <sstream>
#include <THStack.h>
#include <TLegend.h>
#include "../../tools/JPetRecoSignalTools/JPetRecoSignalTools.h"
#include "SDARecoDrawAllCharges.h"
using namespace std;
SDARecoDrawAllCharges::SDARecoDrawAllCharges(const char* name): JPetUserTask(name) {}
SDARecoDrawAllCharges::~SDARecoDrawAllCharges() {}... |
package github
import (
"context"
"errors"
"fmt"
"io"
"mime"
"net/http"
"os"
"path/filepath"
"strings"
)
// RepositoryRelease represents a GitHub release in a repository.
type RepositoryRelease struct {
ID *int `json:"id,omitempty"`
TagName *string `json:"tag_name,omit... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.wisdom-framework.jcr</gr... |
package vandy.mooc.common;
import java.lang.ref.WeakReference;
import java.util.HashMap;
import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentManager;
import android.os.Bundle;
import android.util.Log;
/**
* Retains and manages state information between runtime configuration
* chang... |
set -e
export INTEGRATION_ROOT=./integration-tmp
export TMPC_ROOT=./integration-tmp/tmpc
declare -A cmap
trap "cleanup_containers" EXIT SIGINT
function cleanup_containers() {
for c in "${!cmap[@]}";
do
docker stop $c 1>>${INTEGRATION_ROOT}/test.log 2>&1 || true
if [ -z "$CIRCLECI" ]; then
docker rm -... |
package ru.otus;
import ru.otus.base.DBService;
import ru.otus.base.dataSets.AddressDataSet;
import ru.otus.base.dataSets.PhoneDataSet;
import ru.otus.base.dataSets.UserDataSet;
import ru.otus.dbService.DBServiceImpl;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
publ... |
namespace SassTypes
{
class Boolean : public SassTypes::Value {
public:
static Boolean& get_singleton(bool);
static v8::Local<v8::Function> get_constructor();
Sass_Value* get_sass_value();
v8::Local<v8::Object> get_js_object();
static NAN_METHOD(New);
static NAN_METHOD(GetVal... |
using System.Collections.Generic;
using Orchard.Data.Conventions;
namespace Orchard.Core.Settings.State.Records {
public class ShellStateRecord {
public ShellStateRecord() {
Features = new List<ShellFeatureStateRecord>();
}
public virtual int Id { get; set; }
/// <sum... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="info_page_image_size">360dp</dimen>
</resources>
|
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = undefined;
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _classCallCheck3 ... |
<?php
namespace Kanboard\Helper;
use Kanboard\Core\Base;
use Kanboard\Core\Filter\QueryBuilder;
use Kanboard\Filter\TaskDueDateRangeFilter;
use Eluceo\iCal\Component\Calendar as iCalendar;
/**
* ICal Helper
*
* @package helper
* @author Frederic Guillot
*/
class ICalHelper extends Base
{
/**
* Get for... |
MathJax.Localization.addTranslation("gl","TeX",{version:"2.7.1",isLoaded:true,strings:{}});MathJax.Ajax.loadComplete("[MathJax]/localization/gl/TeX.js");
|
/*-----------------------------------------------------------------------/
/ Low level disk interface modlue include file (C)ChaN, 2014 /
/-----------------------------------------------------------------------*/
#ifndef _DISKIO_DEFINED
#define _DISKIO_DEFINED
#ifdef __cplusplus
extern "C" {
#endif
#incl... |
package engine.loaders.assimp;
import org.joml.Matrix4f;
import org.joml.Quaternionf;
import org.lwjgl.PointerBuffer;
import org.lwjgl.assimp.*;
import engine.Utils;
import engine.graph.Material;
import engine.graph.Mesh;
import engine.graph.anim.AnimGameItem;
import engine.graph.anim.AnimatedFrame;
import java.util.... |
#region License
#endregion
namespace System.Threading.Async
{
/// <summary>
/// EndInvokeDelegate
/// </summary>
#if COREINTERNAL
internal
#else
public
#endif
delegate void EndInvokeDelegate(IAsyncResult asyncResult);
} |
package token
import (
"strconv"
"testing"
"time"
clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
kubeconfigutil "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig"
)
func TestRunForEndpointsAndReturnFirst(t *testing.T) {
tests := []struct {
endpoints []string
expectedEndpoint string
}{
{
... |
<?php
namespace Zend\Stdlib\Hydrator\Filter;
class IsFilter implements FilterInterface
{
public function filter($property)
{
$pos = strpos($property, '::');
if ($pos !== false) {
$pos += 2;
} else {
$pos = 0;
}
if (substr($property, $pos, 2) ===... |
package org.terasology.rendering.cameras;
import org.terasology.config.RenderingConfig;
import org.terasology.math.geom.Vector3f;
import org.terasology.rendering.RenderHelper;
import org.terasology.world.WorldProvider;
public abstract class SubmersibleCamera extends Camera {
/* Used for Underwater Checks */
... |
package com.google.security.zynamics.binnavi.API.disassembly;
/**
* Used to signal problems with the database layout.
*/
public final class InvalidDatabaseFormatException extends Exception {
/**
* Creates a new exception object.
*
* @param exception Cause of the exception
*/
public InvalidDatabaseF... |
/**
* @requires OpenLayers/Format.js
*/
/**
* Class: OpenLayers.Format.CSWGetDomain
* Default version is 2.0.2.
*
* Returns:
* {<OpenLayers.Format>} A CSWGetDomain format of the given version.
*/
OpenLayers.Format.CSWGetDomain = function(options) {
options = OpenLayers.Util.applyDefaults(
options... |
package net.glowstone.block;
import com.destroystokyo.paper.MaterialSetTag;
import com.destroystokyo.paper.MaterialTags;
import org.bukkit.Material;
import org.bukkit.NamespacedKey;
import org.bukkit.Tag;
import org.bukkit.block.data.Bisected;
/**
* Useful constant groups of materials, many of which were just 1 or 2... |
SPHINXOPTS = -W
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = build
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
# the i18n builder cannot share the envir... |
#ifndef JITCode_h
#define JITCode_h
#if ENABLE(JIT) || ENABLE(LLINT)
#include "CallFrame.h"
#include "Disassembler.h"
#include "JITStubs.h"
#include "JSCJSValue.h"
#include "LegacyProfiler.h"
#include "MacroAssemblerCodeRef.h"
#endif
namespace JSC {
#if ENABLE(JIT)
class VM;
class JSStack;
#endif
... |
module Foursquare2
module Checkins
# Retrive information about a single checkin.
#
# @param [String] checkin_id the ID of the checkin.
def checkin(checkin_id)
response = connection.get("checkins/#{checkin_id}")
return_error_or_body(response, response.body.response.checkin)
end
#... |
// Type definitions for BaiduMap JsAPI GL v1.0
// Project: http://lbsyun.baidu.com/index.php?title=jspopularGL
// Definitions by: Junior2ran <http://github.com/Junior2ran>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="./bmapgl.base.d.ts" />
/// <reference path="./bmapgl.cont... |
package elastic
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"math/rand"
"net/http"
"net/http/httputil"
"net/url"
"regexp"
"strings"
"sync"
"time"
)
const (
// Version is the current version of Elastic.
Version = "3.0.43"
// DefaultUrl is the default endpoint of Elasticsearch on the local machine.
... |
<!DOCTYPE html><%!
title = 'Congregation Beth Israel (Malden, MAX)'
nav = 'home'
basepath = '.'
%><html lang="en"><head>
<%def name="base_url(t, url='')">${t.attr.basepath}/${url}</%def>
<meta charset="utf-8" />
<meta http-equi="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-wid... |
/******************************************************************************
*
* atm_nicstar.h
*
* Driver-specific declarations for use by NICSTAR driver specific utils.
*
* Author: Rui Prior
*
* (C) INESC 1998
*
******************************************************************************/
#ifndef LINU... |
FAQ
===
**Q:** Why are the pings I add from the [Pings plugin](/documentation/builtin_pings.html) in the wrong place?
**A:** Like D3 on which it is based, Planetary.js accepts coordinates with the longitudinal coordinate first. You can set the `latitudeFirst` option in the plugin configuration to change this. There i... |
public class Builder<T> {
private T t;
public Builder setT(T t) {
this.t = t;
return this;
}
public Test createTest() {
return new Test(t);
}
} |
<?php
defined('C5_EXECUTE') or die("Access Denied.");
?>
<section class="ccm-ui">
<header><?php echo t('Location')?></header>
<form method="post" action="<?php echo $controller->action('submit')?>" data-dialog-form="location" data-panel-detail-form="location">
<?php echo Loader::helper('concrete/ui/help')->display... |
#ifndef AVUTIL_CHANNEL_LAYOUT_H
#define AVUTIL_CHANNEL_LAYOUT_H
#include <stdint.h>
/**
* @file
* audio channel layout utility functions
*/
/**
* @addtogroup lavu_audio
* @{
*/
/**
* @defgroup channel_masks Audio channel masks
*
* A channel layout is a 64-bits integer with a bit set for every channel.
*... |
class Mover
RADIUS = 24
TOP_SPEED = 6
attr_reader :location, :velocity, :topspeed_squared
def initialize(max_x:, max_y:)
@location = Vec2D.new(
rand(RADIUS..max_x - RADIUS),
rand(RADIUS..max_y - RADIUS)
)
@velocity = Vec2D.new(0, 0)
end
def update_display
update
display
e... |
<pings>
<added count="1">
<url>https://naxel.me</url>
</added>
<invalid count="2" reason="MALFORMED_URLS">
<url>http://yarus</url>
<url>http://yaru</url>
</invalid>
<invalid count="4" reason="OUT_OF_SEARCH_AREA">
<url>https://ya.ru</url>
<url>http://anton.shev... |
//*******************************************************************************************//
// //
// Download Free Evaluation Version From: https://bytescout.com/download/web-installer //
// ... |
package git
import (
"container/list"
"fmt"
"strconv"
"strings"
"time"
)
// PullRequestInfo represents needed information for a pull request.
type PullRequestInfo struct {
MergeBase string
Commits *list.List
NumFiles int
}
// GetMergeBase checks and returns merge base of two branches.
func (repo *Reposito... |
package endpointslice
import (
"context"
"fmt"
"sort"
"time"
corev1 "k8s.io/api/core/v1"
discovery "k8s.io/api/discovery/v1beta1"
"k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
utilerrors "k8s.io/apimachinery/pkg/util/errors"
"k8s.io/api... |
package kubectl
import (
"fmt"
"io/ioutil"
"os"
"path"
"strings"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/util/validation"
"k8s.io/kubernetes/pkg/api"
)
// ConfigMapGeneratorV1 supports stable generation of a configMap.
type ConfigMapGeneratorV1 struct {
// Name of configMap (required)
... |
package org.springframework.boot.context.properties.bind;
import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Tests for {@link DataObjectPropertyName}.
*
* @author Phillip Webb
* @author Madhura Bhave
*/
class DataObjectPropertyNameTests {
@Test
void toDashedC... |
regenerate:
go install github.com/gogo/protobuf/protoc-gen-gogotypes
go install github.com/gogo/protobuf/protoc-min-version
protoc-min-version --version="3.0.0" --gogotypes_out=. -I=../protobuf/google/protobuf ../protobuf/google/protobuf/any.proto
protoc-min-version --version="3.0.0" --gogotypes_out=. -I=../protob... |
module Fog
module Compute
class AWS
class Flavor < Fog::Model
identity :id
attribute :bits
attribute :cores
attribute :disk
attribute :name
attribute :ram
attribute :ebs_optimized_available
attribute :instance_store_volumes
end
end
... |
var util = require('util')
module.exports = function() {
var args = Array.prototype.slice.call(arguments, 0)
args.forEach(function(arg) {
if (!arg) throw new TypeError('Bad arguments.')
})
return util.format.apply(null, arguments)
} |
package com.google.common.base;
import com.google.common.annotations.GwtCompatible;
import com.google.common.annotations.GwtIncompatible;
import com.google.common.testing.NullPointerTester;
import junit.framework.TestCase;
/**
* Unit test for {@link Strings}.
*
* @author Kevin Bourrillion
*/
@GwtCompatible(emu... |
#import <SenTestingKit/SenTestingKit.h>
@interface ZXBinaryUtilTest : SenTestCase
@end
|
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/Users/gokhanc/src/android-sdk/facebook/res/values-es/strings.xml -->
<eat-comment/>
<string name="com_facebook_image_download_unknown_error">Error al descargar la imagen.</string>
<string name="com_facebook_internet_permission_error_mes... |
package org.apache.accumulo.core.iterators.user;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Se... |
.oo-ui-icon-indent {
background-image: /* @embed */ url(themes/apex/images/icons/indent-ltr.png);
}
.oo-ui-icon-listBullet {
background-image: /* @embed */ url(themes/apex/images/icons/listBullet-ltr.png);
}
.oo-ui-icon-listNumbered {
background-image: /* @embed */ url(themes/apex/images/icons/listNumbered-ltr.png)... |
/*global tinymce:true */
/*eslint consistent-this:0 */
tinymce.PluginManager.add('lists', function(editor) {
var self = this;
function isListNode(node) {
return node && (/^(OL|UL|DL)$/).test(node.nodeName);
}
function isFirstChild(node) {
return node.parentNode.firstChild == node;
}
function isLastChild... |
import dotProp = require('dot-prop-immutable');
dotProp.get(undefined, 'foo.bar'); // $ExpectType any
dotProp.get<string>(undefined, 'foo.bar', 'default value'); // $ExpectType string
dotProp.get({foo: {bar: 'unicorn'}}, 'foo.bar'); // $ExpectType any
dotProp.get({foo: {bar: 'a'}}, 'foo.notDefined.deep'); // $Exp... |
<?php
namespace Zend\Ldap\Node\RootDse;
use Zend\Ldap\Node;
/**
* Zend\Ldap\Node\RootDse\OpenLdap provides a simple data-container for the
* RootDse node of an OpenLDAP server.
*/
class OpenLdap extends Node\RootDse
{
/**
* Gets the configContext.
*
* @return string|null
*/
public fun... |
#include "pthread.h"
#include "implement.h"
int
pthread_attr_setdetachstate (pthread_attr_t * attr, int detachstate)
/*
* ------------------------------------------------------
* DOCPUBLIC
* This function specifies whether threads created with
* 'attr' will run detached.
... |
<!doctype html>
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be... |
* [Angus Lees](https://github.com/anguslees)
[]()
|
// Copyright (c) Costin Morariu. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace MvvmToolkit
{
/// <summary>
/// Activable type, usualy it is implemented by view models to handle activation on navigation
/// e.g. parsing... |
package com.google.schemaorg.core;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Multimap;
import com.google.schemaorg.SchemaOrgType;
import com.google.schemaorg.SchemaOrgTypeImpl;
import com.google.schemaorg.ValueType;
import com.goog... |
<?php
declare(strict_types=1);
namespace Doctrine\SkeletonMapper\Mapping;
class ClassMetadataInstantiator implements ClassMetadataInstantiatorInterface
{
public function instantiate(string $className) : ClassMetadata
{
return new ClassMetadata($className);
}
}
|
require 'active_support/core_ext/hash/indifferent_access'
require 'active_support/core_ext/array/wrap'
require 'active_support/core_ext/string/filters'
require 'active_support/deprecation'
require 'active_support/rescuable'
require 'action_dispatch/http/upload'
require 'stringio'
require 'set'
module ActionController
... |
#ifndef QDIRMODEL_H
#define QDIRMODEL_H
#include <QtCore/qabstractitemmodel.h>
#include <QtCore/qdir.h>
#include <QtGui/qfileiconprovider.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
#ifndef QT_NO_DIRMODEL
class QDirModelPrivate;
class Q_GUI_EXPORT QDirModel : public QAbstractItemModel
{
Q_OBJECT
... |
/*****************************************************************************
* "Gif-Lib" - Yet another gif library. *
* *
* Written by: Gershon Elber Ver 0.1, Jul. 1989 *
******************************************************************************
* Program to dump GIF file into PostScr... |
#include "arm_math.h"
/**
* @addtogroup PID
* @{
*/
/**
* @brief Reset function for the Q31 PID Control.
* @param[in] *S Instance pointer of PID control data structure.
* @return none.
* \par Description:
* The function resets the state buffer to zeros.
*/
void arm_pid_reset_q3... |
<html>This is valid html</html>
|
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/aiplatform/v1/study.proto
namespace Google\Cloud\AIPlatform\V1\Trial;
use UnexpectedValueException;
/**
* Describes a Trial state.
*
* Protobuf type <code>google.cloud.aiplatform.v1.Trial.State</code>
*/
class State
{
/**... |
<?php
namespace Drupal\Tests\menu_link_content\Kernel;
use Drupal\Core\Cache\Cache;
use Drupal\Core\Language\LanguageInterface;
use Drupal\Core\Menu\MenuTreeParameters;
use Drupal\Core\Render\BubbleableMetadata;
use Drupal\menu_link_content\Entity\MenuLinkContent;
use Drupal\KernelTests\KernelTestBase;
use Drupal\use... |
package abac
import (
"io/ioutil"
"os"
"reflect"
"testing"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apiserver/pkg/authentication/user"
"k8s.io/apiserver/pkg/authorization/authorizer"
api "k8s.io/kubernetes/pkg/apis/abac"
"k8s.io/kubernetes/pkg/apis/abac/v0"
"k8s.io/kubernetes/pkg/apis/abac/v1beta1"
)
fu... |
package org.springframework.boot.context.event;
import org.springframework.boot.SpringApplication;
import org.springframework.context.ApplicationEvent;
/**
* Base class for {@link ApplicationEvent} related to a {@link SpringApplication}.
*
* @author Phillip Webb
*/
@SuppressWarnings("serial")
public abstract cl... |