text stringlengths 3 1.05M |
|---|
/** @module {Function} lib/sprite **/
/**
* Module dependencies
*/
var _ = require('./utilities')
, brutal = require('./brutal')
, EventEmitter = require('events').EventEmitter
, sizeOf = require('image-size')
, util = require('util');
/**
* Models an image to be used within a spritesheet
* @constructor
... |
@implementation NSDictionary (Square1)
- (id)sq1_get:(NSString *)key
{
id object = [self objectForKey:key];
if ([object isEqual:[NSNull null]]) {
return nil;
}
return object;
}
@end
|
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for promise/</title>
<meta charset="utf-8">
<link rel="stylesheet" href="../prettify.css">
<link rel="stylesheet" href="../base.css">
<style type='text/css'>
div.coverage-summary .sorter {
background-image: url(.... |
<?php
namespace SocialiteProviders\Bitrix24;
use SocialiteProviders\Manager\SocialiteWasCalled;
class Bitrix24ExtendSocialite
{
/**
* Register the provider.
*
* @param \SocialiteProviders\Manager\SocialiteWasCalled $socialiteWasCalled
*/
public function handle(SocialiteWasCalled $socialit... |
var Class = require('../../core/class');
var Transform = require('../../core/transform');
var Element = require('../../dom/dummy');
var CanvasNode = Class(Transform, Element, {
invalidate: function(){
if (this.parentNode) this.parentNode.invalidate();
if (this._layer) this._layerCache = null;
return this;
},... |
/*global env: true */
/**
Helper functions for handling errors.
@module jsdoc/util/error
*/
/**
Handle an exception appropriately based on whether lenient mode is enabled:
+ If lenient mode is enabled, log the exception to the console.
+ If lenient mode is not enabled, re-throw the exception.
@param {Error} e ... |
<?php
namespace Symfony\Component\Routing\Tests\Matcher;
use Symfony\Component\Routing\Route;
use Symfony\Component\Routing\RouteCollection;
use Symfony\Component\Routing\RequestContext;
use Symfony\Component\Routing\Matcher\TraceableUrlMatcher;
class TraceableUrlMatcherTest extends \PHPUnit_Framework_TestCase
{
... |
using System;
using System.Reflection;
/// <summary>
/// ExplicitLayout [v-yishi]
/// </summary>
public class TypeAttributesExplicitLayout
{
#region Public Methods
public bool RunTests()
{
bool retVal = true;
TestLibrary.TestFramework.LogInformation("[Positive]");
retVal = PosTest1... |
#if !defined(MBEDTLS_CONFIG_FILE)
#include "mbedtls/config.h"
#else
#include MBEDTLS_CONFIG_FILE
#endif
#if defined(MBEDTLS_ENTROPY_C)
#if defined(MBEDTLS_TEST_NULL_ENTROPY)
#warning "**** WARNING! MBEDTLS_TEST_NULL_ENTROPY defined! "
#warning "**** THIS BUILD HAS NO DEFINED ENTROPY SOURCES "
#warning "**** THIS B... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Accordion - Sortable</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.6.2.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js... |
<!DOCTYPE html>
<title>PASS in body, black</title>
<link rel="author" title="Geoffrey Sneddon" href="mailto:me@gsnedders.com">
<style>
.PASS {color: black;}
</style>
<body class="PASS">PASS</body>
|
"""Random sampling of N lines from stdin.
Reads lines from stdin and writes N randomly sampled lines to stdout,
all other lines to stderr.
"""
import random
import sys
from utils import utf8
def Sample(iterable, n, rng):
"""Samples n items from a stream.
Args:
iterable: An iterable stream of items.
n:... |
require 'spec_helper'
describe 'postgresql::server::role', :type => :define do
let :facts do
{
:osfamily => 'Debian',
:operatingsystem => 'Debian',
:operatingsystemrelease => '6.0',
:kernel => 'Linux',
:concat_basedir => tmpfilename('contrib'),
:id => 'root',
:path => '/... |
<?php
/**
* @category Zend
* @package Zend_Service_WindowsAzure
* @subpackage Diagnostics
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*
* @property int BufferQuotaInMB Buffer quota... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Can. J. Bot. 52(5): 956 + figs 5-11 (1974)
#### Original name
Pesavis tagluensis Elsik & Janson.
### Remarks
null |
<?php
namespace Psy\Output;
use Symfony\Component\Console\Output\StreamOutput;
/**
* ProcOutputPager class.
*
* A ProcOutputPager instance wraps a regular StreamOutput's stream. Rather
* than writing directly to the stream, it shells out to a pager process and
* gives that process the stream as stdout. This m... |
<?php
namespace Symfony\Component\Validator\Tests\Constraints;
use Symfony\Component\Validator\Validation;
/**
* @since 2.5.3
* @author Bernhard Schussek <bschussek@gmail.com>
* @group legacy
*/
class LegacyLocaleValidator2Dot4ApiTest extends LocaleValidatorTest
{
protected function getApiVersion()
{... |
<!--
README.md
Copyright (C) 2006-2015 Anupam Sengupta (anupamsg@gmail.com)
-->
# **RubyTree** #
[](http://badge.fury.io/rb/rubytree)
[](http://travis-ci.org/evolve75/rubytree)
[![Depend... |
<?php
namespace Gaufrette\Functional\Adapter;
class AzureBlobStorageTest extends FunctionalTestCase
{
} |
var div = React.createElement(Component, Object.assign({}, props, {
foo: "bar"
}));
|
#ifndef TENSORFLOW_EXAMPLES_WAV_TO_SPECTROGRAM_WAV_TO_SPECTROGRAM_H_
#define TENSORFLOW_EXAMPLES_WAV_TO_SPECTROGRAM_WAV_TO_SPECTROGRAM_H_
#include "tensorflow/core/lib/core/status.h"
#include "tensorflow/core/platform/types.h"
// Runs a TensorFlow graph to convert an audio file into a visualization. Takes
// in the... |
set -o errexit
set -o nounset
set -o pipefail
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
source "${OS_ROOT}/images/dind/node/openshift-dind-lib.sh"
function start() {
local origin_root=$1
local config_root=$2
local deployed_config_root=$3
local cluster_id=$4
local network_plugin=$5
local wait_for_cl... |
"use strict";
exports.serve = function (request, response) {
response.render("templates/" + request.params[0]);
}; |
#include "tensorflow/lite/tools/optimize/quantization_utils.h"
#include <vector>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "absl/memory/memory.h"
#include "tensorflow/core/lib/io/path.h"
#include "tensorflow/core/platform/init_main.h"
#include "tensorflow/core/util/command_line_flags.h"
#include "te... |
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using Orchard.ContentManagement.ViewModels;
using Orchard.UI;
namespace Orchard.Mvc.Html {
public static class TemplateViewModelExtensions {
public static void RenderTemplates(this HtmlHelper html, IEnume... |
package com.facebook.buck.event;
import java.io.Closeable;
public class LeafEvents {
/** Creates a simple scoped leaf event that will be logged to superconsole, chrome traces, etc. */
public static Closeable scope(BuckEventBus eventBus, String category) {
SimpleLeafEvent.Started started = new SimpleLeafEve... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache Lice... |
R CMD REMOVE --library=$PREFIX/lib/R/library/ MetaGxPancreas
|
#ifndef WEBRTC_BASE_DEPRECATION_H_
#define WEBRTC_BASE_DEPRECATION_H_
// Annotate the declarations of deprecated functions with this to cause a
// compiler warning when they're used. Like so:
//
// RTC_DEPRECATED std::pony PonyPlz(const std::pony_spec& ps);
//
// NOTE 1: The annotation goes on the declaration in t... |
package e2enode
import (
"fmt"
"time"
v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config"
admissionapi "k8s.io/pod-security-admission/api"
"k8s.io/kubernetes/test/e2e/framework"
e2enode "k8s.... |
package com.netflix.priam.identity;
import java.io.Serializable;
import java.util.Map;
public class PriamInstance implements Serializable
{
private static final long serialVersionUID = 5606412386974488659L;
private String hostname;
private long updatetime;
private boolean outOfService;
private S... |
"""Tests for tensorflow.contrib.graph_editor."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from tensorflow.contrib import graph_editor as ge
from tensorflow.python.framework import constant_op
from tensorflow.python.framework import ops
from tensorflow... |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var Subscriber_1 = require('../Subscriber');
/* ... |
package org.apache.servicemix.kernel.filemonitor;
import java.io.File;
import junit.framework.TestCase;
import org.apache.commons.io.FileUtils;
/**
* @version $Revision: 1.1 $
*/
public class BundlePackerTest extends TestCase {
public void testFiles() throws Exception {
File bundleDir = new File("targ... |
package org.databois.gameserve.controller;
import org.databois.gameserve.DeployManager;
import org.databois.gameserve.EmailSender;
import org.databois.gameserve.model.InstanceRequest;
import org.databois.gameserve.model.DeployInstance;
import java.time.Instant;
import static spark.Spark.*;
public class APITest {
... |
namespace mx
{
namespace core
{
MX_FORWARD_DECLARE_ATTRIBUTES( DegreeValueAttributes )
MX_FORWARD_DECLARE_ELEMENT( DegreeValue )
inline DegreeValuePtr makeDegreeValue() { return std::make_shared<DegreeValue>(); }
inline DegreeValuePtr makeDegreeValue( const PositiveInteger& value ) {... |
YUI.add('event-hover', function (Y, NAME) {
/**
* Adds support for a "hover" event. The event provides a convenience wrapper
* for subscribing separately to mouseenter and mouseleave. The signature for
* subscribing to the event is</p>
*
* <pre><code>node.on("hover", overFn, outFn);
* node.delegate("hover", ov... |
'use strict';
!function($) {
// Default set of media queries
const defaultQueries = {
'default' : 'only screen',
landscape : 'only screen and (orientation: landscape)',
portrait : 'only screen and (orientation: portrait)',
retina : 'only screen and (-webkit-min-device-pixel-ratio: 2),' +
'only screen and ... |
<?php
namespace Symfony\Component\DependencyInjection;
/**
* ContainerAwareInterface should be implemented by classes that depends on a Container.
*
* @author Fabien Potencier <fabien@symfony.com>
*
* @api
*/
interface ContainerAwareInterface
{
/**
* Sets the Container.
*
* @param Container... |
package user
import (
"errors"
"fmt"
"io/ioutil"
"strings"
"github.com/Unknwon/com"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/auth"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
)
const (
t... |
// ----------------------------------------------------------------------------------
//
// 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... |
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
MODELS = File.join(File.dirname(__FILE__), "app/models")
$LOAD_PATH.unshift(MODELS)
if ENV["CI"]
require "simplecov"
require "coveralls"
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov... |
//=================================================================================================
//=================================================================================================
//*************************************************************************************************
// Includes
//***... |
#include <grpc/support/port_platform.h>
#ifdef GPR_POSIX_TMPFILE
#include "src/core/lib/gpr/tmpfile.h"
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include "src/core/lib/gpr/stri... |
package jpaoletti.jpm2.web.converter;
import jpaoletti.jpm2.core.exception.ConfigurationException;
import jpaoletti.jpm2.core.exception.ConverterException;
import jpaoletti.jpm2.core.model.ContextualEntity;
import jpaoletti.jpm2.core.model.Field;
import org.joda.time.DateTime;
/**
*
* @author jpaoletti
*/
public c... |
namespace GoogleAnalyticsClientDotNet.Utility
{
public interface INetworkHelper
{
bool IsNetworkAvailable { get; }
}
} |
{{+partials.standard_extensions_api api:apis.browsing_data intro:intros.browsingData}}
|
<?php
//Start session
session_start();
//Check whether the session variable SESS_MEMBER_ID is present or not
if(!isset($_SESSION['sess_user_id']) || (trim($_SESSION['sess_user_id']) == '')) {
header("location: login.php");
exit();
}
//////////////////////////////////////////////////end of simplebox code////
?>
<?php
... |
using static Template10.Services.SettingsService.SettingsService;
namespace Template10.Services.SettingsService
{
public class SettingsHelper : ISettingsHelper
{
public ISettingsService Container(SettingsStrategies strategy)
{
return (strategy == SettingsStrategies.Local) ? Local :... |
<!---
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may... |
//go:build !providerless
// +build !providerless
package awsebs
import (
"fmt"
"path/filepath"
"strconv"
"strings"
"k8s.io/klog/v2"
"k8s.io/mount-utils"
utilstrings "k8s.io/utils/strings"
v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/types"
"k8s.io/kubernetes/pkg/volume"
"k8s.io/kubernetes/pkg/volum... |
<?xml version="1.0"?>
<configuration scan="true">
<property name="LOGFILE" value="${user.home}/logs/prompt-doms-ingester.log"/>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<prudent>true</prudent>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingP... |
<?php
namespace Predis\Cluster\Distribution;
use Predis\Cluster\Hash\HashGeneratorInterface;
/**
* A distributor implements the logic to automatically distribute
* keys among several nodes for client-side sharding.
*
* @author Daniele Alessandri <suppakilla@gmail.com>
*/
interface DistributionStrategyInterfac... |
<div ng-controller="FlowableMultiInstanceCtrl">
<select ng-model="property.value" ng-change="multiInstanceChanged()">
<option value="None">{{'PROPERTY.MULTIINSTANCE.TYPE.NONE' | translate}}</option>
<option value="Parallel">{{'PROPERTY.MULTIINSTANCE.TYPE.PARALLEL' | translate}}</option>
<option value="Sequ... |
package org.apache.polygene.tutorials.cargo.step2;
import org.apache.polygene.api.concern.ConcernOf;
public class OverbookingConcern
extends ConcernOf<ShippingService>
implements ShippingService
{
@Override
public int makeBooking( Cargo cargo, Voyage voyage )
{
double cargoSize = cargo.si... |
package infodynamics.measures.continuous.kernel;
import infodynamics.measures.continuous.ActiveInfoStorageCalculator;
import infodynamics.utils.MatrixUtils;
import java.util.Vector;
public abstract class ActiveInfoStorageCalculatorCorrelationIntegrals
implements ActiveInfoStorageCalculator {
/**
... |
<!-- THIS IS AUTO-GENERATED CONTENT. DO NOT MANUALLY EDIT. -->
This image is part of the [balena.io][balena] base image series for IoT devices. The image is optimized for use with [balena.io][balena] and [balenaOS][balena-os], but can be used in any Docker environment running on the appropriate architecture.
![balena... |
<?php
/**
* @see Zend_Gdata_Extension
*/
require_once 'Zend/Gdata/Extension.php';
/**
* @see Zend_Gdata_Exif
*/
require_once 'Zend/Gdata/Exif.php';
/**
* Represents the exif:exposure element used by the Gdata Exif extensions.
*
* @category Zend
* @package Zend_Gdata
* @subpackage Exif
* @copyright ... |
<?php
namespace Zend\Http\Client\Adapter;
/**
* An interface description for Zend\Http\Client\Adapter\Stream classes.
*
* This interface describes Zend\Http\Client\Adapter which supports streaming.
*/
interface StreamInterface
{
/**
* Set output stream
*
* This function sets output stream wher... |
namespace boost {
namespace intrusive {
//! The class template avl_set is an intrusive container, that mimics most of
//! the interface of std::set as described in the C++ standard.
//!
//! The template parameter \c T is the type to be managed by the container.
//! The user can specify additional options and if no opt... |
<!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_29) on Mon Nov 26 17:21:59 MSK 2012 -->
<TITLE>
Uses of Class org.apache.poi.ss.formula.functions.XYNumericFunction (POI API Documentation)
</... |
module MarkdownUI::Button
class Basic
def initialize(content, klass = nil, _id = nil)
@klass = klass
@content = content
@id = _id
end
def render
content = MarkdownUI::Content::Parser.new(@content).parse
klass = "ui #{@klass} basic button"
_id = @id
MarkdownUI::S... |
<?php
namespace yii\debug\panels;
use Yii;
use yii\debug\Panel;
use yii\log\Logger;
use yii\debug\models\search\Db;
/**
* Debugger panel that collects and displays database queries performed.
*
* @property array $profileLogs This property is read-only.
* @property string $summaryName Short name of the panel, wh... |
(function() {
"use strict";
function addPropertyTo(target, methodName, value) {
Object.defineProperty(target, methodName, {
enumerable: false,
configurable: false,
writable: false,
value: value
});
}
function banProperty(target, methodName) {
addPropertyTo(target, methodNam... |
import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
export default class IoIosCloudy extends React.Component<IconBaseProps> { }
|
<?php
namespace Sonata\CoreBundle\Model;
use Doctrine\DBAL\Connection;
/**
* Class BaseManager.
*
* @author Sylvain Deloux <sylvain.deloux@ekino.com>
*/
interface ManagerInterface
{
/**
* Return the Entity class name.
*
* @return string
*/
public function getClass();
/**
*... |
<?php
namespace Donquixote\Cellbrush\TSection;
/**
* Interface for a table section, without TagAttributesInterface
*/
interface TableSectionStructureInterface extends TableRowsInterface {
/**
* @param string $colName
*
* @return \Donquixote\Cellbrush\Handle\SectionColHandle
*/
function colHandle($c... |
/*global ajaxurl, isRtl */
var wpWidgets;
(function($) {
var $document = $( document );
wpWidgets = {
/**
* A closed Sidebar that gets a Widget dragged over it.
*
* @var element|null
*/
hoveredSidebar: null,
init : function() {
var rem, the_id,
self = this,
chooser = $('.widgets-chooser'),
sele... |
Copyright (C) 2014 Michael Bleigh, Erik Michaels-Ober and Intridea, Inc.
Permission is hereby granted, free of charge, to any person obtaining 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, ... |
package cmd
import (
"bytes"
"net/http"
"reflect"
"strings"
"testing"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/testapi"
"k8s.io/kubernetes/pkg/client/restclient"
"k8s.io/kubernetes/pkg/client/unversioned/fake"
"k8s.io/kubernetes/pkg/runtime"
)
func TestValidateAnnotationOverwrites(t *testin... |
#include "jsstddef.h"
#include "jsversion.h"
#if JS_HAS_XML_SUPPORT
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "jstypes.h"
#include "jsbit.h"
#include "jsprf.h"
#include "jsutil.h"
#include "jsapi.h"
#include "jsarray.h"
#include "jsatom.h"
#include "jsbool.h"
#include "jscntxt.h"
#include "... |
<section id='plugins'>
<h2 class='page-header'><a href="#plugins">Plugins</a></h2>
<p class="lead">AdminLTE makes use of the following plugins. For documentation, updates or license information, please visit the provided links.</p>
<div class='row bring-up'>
<div class='col-sm-3'>
<ul class="list-unstyl... |
namespace app_list {
namespace {
// Image assets for the bar part.
const int kProgressBarImages[] = {
IDR_APP_LIST_ITEM_PROGRESS_LEFT,
IDR_APP_LIST_ITEM_PROGRESS_CENTER,
IDR_APP_LIST_ITEM_PROGRESS_RIGHT
};
} // namespace
ProgressBarView::ProgressBarView()
: background_painter_(views::Painter::CreateImage... |
// See docs in ../ops/nn_ops.cc.
#define USE_EIGEN_TENSOR
#define EIGEN_USE_THREADS
#include <algorithm>
#include <limits>
#include <vector>
#include "absl/base/dynamic_annotations.h"
#include "tensorflow/core/framework/bounds_check.h"
#include "tensorflow/core/framework/numeric_op.h"
#include "tensorflow/core/fra... |
namespace Time
{
class Timer
{
public:
Timer();
void start();
float restart();
float elapsed();
private:
std::chrono::time_point<std::chrono::system_clock> m_initialTime;
};
}
#endif
|
'use strict';
var React = require('react');
var CtrAPI = require('./Controller_QuestetraAPI.js');
module.exports = React.createClass({
displayName: 'exports',
getInitialState: function getInitialState() {
return {
qUserId: this.props.qUserId,
icon: null
};
},
componentDidMount: function componentDidMou... |
from __future__ import print_function
import os
import subprocess
import subprocess_utils
DRY_RUN = False
SQUELCH_STDERR = True
ECHO_CALLS = False
def br_call(args, dry_run=DRY_RUN, echo=ECHO_CALLS):
if dry_run or echo:
print('BRCALL: ' + ' '.join(args))
if dry_run:
return {'exit_code': 0, ... |
require 'test_helper'
module ActiveModel
class Serializer
class FieldsetTest < ActiveSupport::TestCase
def test_fieldset_with_hash
fieldset = ActiveModel::Serializer::Fieldset.new('post' => %w(id title), 'comment' => ['body'])
expected = { post: [:id, :title], comment: [:body] }
as... |
package com.thoughtworks.selenium.corebased;
import com.thoughtworks.selenium.InternalSelenseTestBase;
import org.junit.Test;
public class TestAddLocationStrategy extends InternalSelenseTestBase {
@Test
public void testAddLocationStrategy() throws Exception {
selenium.open("../tests/html/test_click_page1.htm... |
var bootbox = window.bootbox || (function() {
var _locale = 'en',
_defaultLocale = 'en',
_animate = true,
_icons = {},
/* last var should always be the public object we'll return */
that = {};
/**
* standard locales. Please add more ... |
@class AMActorApi;
@class AMConfiguration;
@class AMI18nEngine;
@class AMMessenger;
@class ImActorModelModulesAnalytics;
@class ImActorModelModulesAppStateModule;
@class ImActorModelModulesAuth;
@class ImActorModelModulesContacts;
@class ImActorModelModulesExternal;
@class ImActorModelModulesFiles;
@class ImActorModelM... |
<?php
namespace Doctrine\ORM\Id;
use Doctrine\ORM\EntityManager;
/**
* Id generator that uses a single-row database table and a hi/lo algorithm.
*
* @since 2.0
* @author Benjamin Eberlei <kontakt@beberlei.de>
* @author Guilherme Blanco <guilhermeblanco@hotmail.com>
* @author Jonathan Wage <jonwage@gmail.... |
<component name="libraryTable">
<library name="constraint-layout-solver-1.0.2">
<CLASSES>
<root url="jar://$USER_HOME$/Android/Sdk/extras/m2repository/com/android/support/constraint/constraint-layout-solver/1.0.2/constraint-layout-solver-1.0.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</lib... |
<?php
require_once dirname(__FILE__) . '/../AbstractTest.php';
require_once 'PHP/PMD/TextUI/Command.php';
/**
* Test case for the goto statement GotoStatementIntegrationTest.
*
* @category PHP
* @package PHP_PMD
* @subpackage Integration
* @author Manuel Pichler <mapi@phpmd.org>
* @copyright 2008-2... |
#include "TiBase.h"
typedef enum {
OUT,
LOG_DEBUG, // Have to distinguish from the DEBUG macro
TRACE,
WARN,
ERR
} DebuggerLogLevel;
#ifdef __cplusplus
#define EXTERN_FUNC extern "C"
#else
#define EXTERN_FUNC extern
#endif
EXTERN_FUNC void* TiDebuggerCreate(KrollContext*,TiObjectRef);
EXTERN_FUN... |
/*
* Eliminator Slajdów - jQuery widget dla przeglądarek Chrome i Firefox
*
* Autor: Paweł Raszewski
* Licencja: GPLv3
* Strona Domowa: http://eliminator-slajdow.herokuapp.com
*
* CDN: http://cdn.jsdelivr.net/jquery.eliminator-slajdow/@@version/eliminator-slajdow.jquery.widget.js
*
* Wersja: @@vers... |
{-# LANGUAGE DeriveGeneric, OverloadedStrings #-}
module Mdb.Database.Album (
Album(..)
) where
import Database.SQLite.Simple ( FromRow(..), field )
import Data.Aeson
import Data.JSON.Schema ( JSONSchema(..), gSchema )
import qualified Data.Text as T
import Generics.Gen... |
#include <boost/assert.hpp>
#include <boost/property_tree/ptree.hpp>
#include <vector>
namespace boost { namespace property_tree {
namespace json_parser { namespace detail
{
namespace constants
{
template <typename Ch> const Ch* null_value();
template <> inline const char* nul... |
/*
* 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... |
CHANGELOG
=========
2.6.0
-----
* added a new serializer: `PropertyNormalizer`. Like `GetSetMethodNormalizer`,
this normalizer will map an object's properties to an array.
2.5.0
-----
* added support for `is.*` getters in `GetSetMethodNormalizer`
2.4.0
-----
* added `$context` support for XMLEncoder.
* [DE... |
var assert = require("../assert");
module.exports = {
topic: function(d3) {
var s = d3.select("body").append("div").selectAll("div")
.data(["one", "two", "three", "four"])
.enter().append("div")
.attr("class", String);
s.filter(function(d, i) { return i > 0; }).append("span");
s.fi... |
.. _tutorial-autoaccept-grains:
==============================
Autoaccept minions from Grains
==============================
.. versionadded:: 2018.3.0
To automatically accept minions based on certain characteristics, e.g. the ``uuid``
you can specify certain grain values on the salt master. Minions with matching gr... |
document.write(
'<div class="fotorama" id="fotorama"' +
'data-data=\'[{"img": "test/i/okonechnikov/1-lo.jpg"}, {"img": "test/i/okonechnikov/2-lo.jpg"}, {"img": "test/i/okonechnikov/3-lo.jpg"}]\'>' +
'</div>'
);
describe('Initialization with data', function () {
var $fotorama, fotorama;
beforeEach(... |
using Microsoft.Extensions.DependencyInjection;
using System.Linq;
namespace OneBoxDeployment.Api.StartupTask
{
/// <summary>
/// Some asynchronous startup task extensions.
/// </summary>
/// <remarks>Based on code by Andrew Lock at https://andrewlock.net/running-async-tasks-on-app-startup-in-asp-net-... |
{% unless post.draft %}
<article class="post post__short">
<div class="post-title post__short_title">
{% if post.external-url %}
<a class="post__short_link hover-on-post__short-hover" href="{{ post.external-url }}">
{{ post.title }}
</a>
<i class="external-link-icon"></i>... |
import abc
from oslo.serialization import jsonutils
from neutron.api import extensions
from neutron import wsgi
class FoxInSocksController(wsgi.Controller):
def index(self, request):
return "Try to say this Mr. Knox, sir..."
class FoxInSocksPluginInterface(extensions.PluginInterface):
@abc.abstr... |
import DS from 'ember-data';
export default DS.Model.extend({
type: DS.attr('string')
});
|
using SDKTemplate;
using System;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace VideoPlayback
{
/// <summary>
/// This scenario demonstrates how to customize the media transport controls.
/// </summary>
/// <remarks>
/// See related code in CustomMediaTransportControls... |
"""Tests for tf.data.Dataset.from_generator()."""
import threading
from absl.testing import parameterized
import numpy as np
from tensorflow.python.data.kernel_tests import test_base
from tensorflow.python.data.ops import dataset_ops
from tensorflow.python.data.ops import from_generator_op
from tensorflow.python.fram... |
<template name="userSearch">
<i class="icon-at status-{{status}}"></i> {{username}}{{#if name}} - <strong>{{name}}</strong>{{/if}}
</template>
<template name="userSearchEmpty">
<p>{{_ "Nothing_found"}}.</p>
</template>
|