text stringlengths 3 1.05M |
|---|
YUI.add('yql-nodejs', function (Y, NAME) {
/**
* NodeJS plugin for YQL to use native request to make requests instead of JSONP.
* Not required by the user, it's conditionally loaded and should "just work".
* @module yql
* @submodule yql-nodejs
*/
var request = require('request');
//Over writes Y.YQLRequest._send to ... |
<?php
require_once 'app/models/atendimentosModel.php';
class atendimentosDao{
public $con;
function __construct($con){
$this->con = $con;
}
public function adicionarAtendimento($atendimento){
$result = array(
'error' => null,
'id' => null
);
try {
$stmt = $this->con->prepare("INSERT INTO ate... |
class Specinfra::Command::Solaris::Base::Zfs < Specinfra::Command::Base::Zfs
class << self
include Specinfra::Command::Module::Zfs
end
end
|
module PhishDotNetClient
# This class represents a set from the 'setlistdata' field.
class Set
# @!attribute [r] position
# @return [Integer] the position of the set, indexed starting at 0
attr_reader :position
# @!attribute [r] name
# @return [String] the name of the set
attr_reader ... |
try {
area=responsibleArea/totalArea
}
catch (error){
area=1
}
// fetch GWPs
ch4Gwp = dataFinder.getDataItemValue('planet/greenhousegases/gwp', 'gas=CH4', 'GWP');
n2oGwp = dataFinder.getDataItemValue('planet/greenhousegases/gwp', 'gas=N2O', 'GWP');
// calculate individual emissions
co2 = massCO2PerEnergy
ch4... |
import re
from django import template
from django.core.urlresolvers import reverse, NoReverseMatch
register = template.Library()
@register.simple_tag(takes_context=True)
def active(context, pattern_or_urlname):
try:
pattern = '^' + reverse(pattern_or_urlname)
except NoReverseMatch:
pattern =... |
echo 'Installing web components'
bower install
echo 'Polybuild AMP Validator'
polybuild amp-validator.html
echo 'Removing web components'
rm -rf bower_components
echo 'Done'
|
/* Package main
* Generated on 2012-05-23T16:07:31+02:00
* /normalize.css
* /fonts.css
* /grille.css
* /base.css
* /header.css
* /article.css
* /partenaires.css
* /col_droite.css
* /ticker.css
* /couleurs.css
* /elections.css
*/
/* ----- start file /normalize.css ----- */
/*! normalize.css 2012-01-31T16:... |
namespace blink {
class ExceptionState;
class Response;
class Request;
class ScriptState;
typedef RequestOrUSVString RequestInfo;
class MODULES_EXPORT Cache final : public GarbageCollectedFinalized<Cache>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
WTF_MAKE_NONCOPYABLE(Cache);
public:
static Cach... |
<?php
namespace PHPSQLParser\builders;
use PHPSQLParser\exceptions\UnableToCreateSQLException;
/**
* This class implements the builder for the parentheses around a statement.
* You can overwrite all functions to achieve another handling.
*
* @author André Rothe <andre.rothe@phosco.info>
* @license http://www.... |
package de.bayerl.statistics.instance;
import de.bayerl.statistics.model.Cell;
import de.bayerl.statistics.model.TableSliceType;
import de.bayerl.statistics.transformer.*;
import java.util.ArrayList;
import java.util.List;
public class Example2 implements Conversion {
@Override
public String getFolder() {
... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Net.Http.Headers;
using System.Web.Http.Description;
using WebApiSample.Mvvm.WebApi.Areas.HelpPage.ModelDescriptions;
namespace WebApiSample.Mvvm.WebApi.Areas.HelpPage.Models
{
/// <summary>
/// The model that represents an AP... |
package org.elasticsearch.xpack.sql.querydsl.agg;
import org.elasticsearch.search.aggregations.AggregationBuilder;
public abstract class LeafAgg extends Agg {
LeafAgg(String id, AggSource source) {
super(id, source);
}
abstract AggregationBuilder toBuilder();
}
|
#if !defined(FILE_POSITION_H_52BDEDF7_DAD3_4F24_802F_E66BB8098F68_INCLUDED)
#define FILE_POSITION_H_52BDEDF7_DAD3_4F24_802F_E66BB8098F68_INCLUDED
#include <string>
#include <ostream>
#include <boost/assert.hpp>
#include <boost/spirit/include/classic_version.hpp>
#include <boost/spirit/include/classic_position_itera... |
<!----------------------------------------------------------------->
<!-- AUTOMATICALLY GENERATED CODE - PLEASE EDIT TEMPLATE INSTEAD -->
<!----------------------------------------------------------------->
<div id="chartContainer">
<script src="/lib/d3.v3.4.8.js"></script>
<script src="/dist/dimple.v2.1.1.js"></sc... |
import {Parser} from "./state"
import {getOptions} from "./options"
import "./parseutil"
import "./statement"
import "./lval"
import "./expression"
import "./location"
export {Parser, plugins} from "./state"
export {defaultOptions} from "./options"
export {Position, SourceLocation, getLineInfo} from "./locutil"
export... |
'use strict';
/*eslint-disable fb-www/unsafe-html*/
var ExecutionEnvironment = require('./ExecutionEnvironment');
var createArrayFromMixed = require('./createArrayFromMixed');
var getMarkupWrap = require('./getMarkupWrap');
var invariant = require('./invariant');
/**
* Dummy container used to render all markup.
... |
Pulls info by username and shows it
|
var core = require('./core');
var fs = require('fs');
var path = require('path');
var caller = require('./caller.js');
var nodeModulesPaths = require('./node-modules-paths.js');
module.exports = function resolve(x, options, callback) {
var cb = callback;
var opts = options || {};
if (typeof opts === 'funct... |
#ifndef HEADER_CURL_MD4_H
#define HEADER_CURL_MD4_H
#include "curl_setup.h"
/* NSS crypto library does not provide the MD4 hash algorithm, so that we have
* a local implementation of it */
#ifdef USE_NSS
void Curl_md4it(unsigned char *output, const unsigned char *input, size_t len);
#endif /* USE_NSS */
#endif /* ... |
namespace GitVersion
{
using System.Collections.Generic;
using System.IO;
using System.Linq;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
public class LegacyConfigNotifier
{
static readonly Dictionary<string, string> OldConfigKnownRegexes = new D... |
// Type definitions for page v1.5.0
// Project: http://visionmedia.github.io/page.js/
// Definitions by: Alan Norbauer <http://alan.norbauer.com/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace PageJS {
interface Static {
/**
* Expose Route
* @type {... |
import RenderCounter, { withRenderCount, Counter } from './RenderCounter';
module.exports = {
RenderCounter,
withRenderCount,
Counter,
};
|
if [ ! -f "/home/vagrant/.ssh/id_rsa" ]; then
if [ -f /vagrant/resources/.ssh/id_rsa ]; then
echo "Installing SSH keys"
cp /vagrant/resources/.ssh/* /home/vagrant/.ssh/
fi
fi
|
/**
* @author Dan Nuffer
*/
#include "OW_config.h"
#include "OW_NameSpaceProvider.hpp"
#include "OW_Exception.hpp"
#include "OW_Format.hpp"
#include "OW_CIMException.hpp"
#include "OW_CIMNameSpace.hpp"
#include "OW_CIMProperty.hpp"
#include "OW_CIMValue.hpp"
#include "OW_CIMUrl.hpp"
#include "OW_CIMClass.hpp"
#inc... |
<?php
namespace Faker\Provider\pt_BR;
require_once "check_digit.php";
class Company extends \Faker\Provider\Company
{
protected static $formats = array(
'{{lastName}} {{companySuffix}}',
'{{lastName}}-{{lastName}}',
'{{lastName}} e {{lastName}}',
'{{lastName}} de {{lastName}}',
... |
//
//
// Copyright 2020 gRPC authors.
//
// 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 agree... |
var baseClone = require('./_baseClone'),
baseMatchesProperty = require('./_baseMatchesProperty');
/** Used to compose bitmasks for cloning. */
var CLONE_DEEP_FLAG = 1;
/**
* Creates a function that performs a partial deep comparison between the
* value at `path` of a given object to `srcValue`, returning `true`... |
Leaflet.draw Changelog
======================
## master
An in-progress version being developed on the master branch.
## 0.4.10 (July 3, 2017)
* Locking Leaflet version to 0.7.x-1.0.x
* Polygon line length, square kilometers and configurable precision
* fix for _getMeasurementString
* Locale number formatting ad... |
<ng-form name="emergencyDecisionForm">
<div class="panel form-panel">
<h1 class="form-print-heading">Decision</h1>
<div class="row">
<div class="col-sm-6">
<ccdb-form-select label="SCCM" options="sCCM" value="patient.referral.sccmScore"></ccdb-form-select>
... |
/*jslint regexp: true, browser: true, jquery: true, white: true, nomen: false, plusplus: false, maxerr: 500, indent: 4 */
(function(document, Math, undefined) { // performance/minified-size optimization
(function(factory) {
if(typeof define === 'function' && define.amd) {
define(['jquery'], factory);
... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.... |
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/external/tinyxml2/tinyxml2.h>
#include <utility>
#include <algorithm>
#include <iostream>
using namespace Aws::Utils::Xml;
using namespace Aws::Utils;
Aws::String Aws::Utils::Xml::DecodeEscapedXmlText(const Aw... |
// Copyright (c) 2012 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.
cr.define('options', function() {
var Page = cr.ui.pageManager.Page;
var PageManager = cr.ui.pageManager.PageManager;
/////////////////////////... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pchp.CodeAnalysis.FlowAnalysis
{
/// <summary>
/// Flags describing special routine needs.
/// Collected during flow analysis.
/// </summary>
[Flags]
public enum Routin... |
using System;
using UniRx.Operators;
namespace UniRx.Operators
{
internal class AsObservableObservable<T> : OperatorObservableBase<T>
{
readonly IObservable<T> source;
public AsObservableObservable(IObservable<T> source)
: base(source.IsRequiredSubscribeOnCurrentThread())
... |
<p align="center"><img src="https://raw.githubusercontent.com/geerlingguy/drupal-vm/master/docs/images/drupal-vm-logo.png" alt="Drupal VM Logo" /></p>
[](https://travis-ci.org/geerlingguy/drupal-vm) [ object.
*
* @package Swift
* @subpackage Mime
*
* @author Chris Corbyn
*/
interface Swift_Mime_Message extends Swift_Mime_MimeEntity
{
/**
* Generates a valid Message-ID and switches to it.
*
* @return string
*/
public function generateId();
/*... |
/**
* Select2 Slovak translation.
*
* Author: David Vallner <david@vallner.net>
*/
(function ($) {
"use strict";
// use text for the numbers 2 through 4
var smallNumbers = {
2: function(masc) { return (masc ? "dva" : "dve"); },
3: function() { return "tri"; },
4: function() { ret... |
"use strict";
var Objectfreeze = require("./es5.js").freeze;
var util = require("./util.js");
var inherits = util.inherits;
var notEnumerableProp = util.notEnumerableProp;
function markAsOriginatingFromRejection(e) {
try {
notEnumerableProp(e, "isOperational", true);
}
catch(ignore) {}
}
function... |
class MockFetcher : public net::TestURLFetcher {
public:
MockFetcher(bool success,
const GURL& url,
const std::string& results,
net::URLFetcher::RequestType request_type,
net::URLFetcherDelegate* d);
MockFetcher(const GURL& url,
const net::URLR... |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../resources/js-test.js"></script>
<style>
span.c1:nth-of-type(2n -1){ color: red; }
span.c1:nth-of-type(2n){ color: green; }
span.c2:nth-of-type(odd){ color: red; }
span.c2:nth-of-type(even){ color: green; }
span.c3:nth-of-type(n3){ color: re... |
/**
@file SoundSystem3D.h
Contiene la declaración del componente emisor de sonidos 3D. Puede contener más de un sonido.
@see Logic::SoundSystem3D
@see Logic::IComponent
@author Alberto Martínez
@date Marzo, 2015
*/
#ifndef __Logic_SoundSystem3D_H
#define __Logic_SoundSystem3D_H
#include "Logic/Entity/Component.h"... |
#pragma once
#include "logging/RhoLog.h"
struct IPOutlookApp;
class COutlookApp
{
DEFINE_LOGCLASS;
IPOutlookApp* m_outlookApp;
static COutlookApp* m_pInstance;
COutlookApp();
public:
~COutlookApp();
static COutlookApp* Create();
static void Destroy();
static COutlookApp* getInstance(... |
namespace Caching.MVC.Models
{
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
public class ApplicationUser : IdentityUser
{
public async Task<ClaimsIdentity> GenerateUserIdentityAsync(UserMa... |
package org.apache.ignite.internal.processors.cache;
import javax.cache.CacheException;
import org.apache.ignite.IgniteCache;
import org.apache.ignite.IgniteException;
import org.apache.ignite.cache.query.ScanQuery;
import org.apache.ignite.cache.query.SqlFieldsQuery;
import org.apache.ignite.cache.query.SqlQuery;
i... |
IMPORT_VARIABLES_1 = 'Simple variable file'
COMMON_VARIABLE = 1
|
<?php
namespace Zend\Db\TableGateway\Feature;
use Zend\Db\Metadata\Metadata;
use Zend\Db\Metadata\MetadataInterface;
use Zend\Db\TableGateway\Exception;
class MetadataFeature extends AbstractFeature
{
/**
* @var MetadataInterface
*/
protected $metadata = null;
/**
* Co... |
// ========================================================================
// Copyright (c) Webtide LLC
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.... |
package org.elasticsearch.index.mapper.internal;
import org.apache.lucene.document.Field;
import org.apache.lucene.document.FieldType;
import org.apache.lucene.document.NumericDocValuesField;
import org.apache.lucene.index.IndexOptions;
import org.elasticsearch.Version;
import org.elasticsearch.action.TimestampParsi... |
namespace boost { namespace mpl {
template< typename Dummy = na > struct list0;
template<> struct list0<na>
: l_end
{
typedef l_end type;
};
}}
#endif // BOOST_MPL_LIST_LIST0_HPP_INCLUDED
|
package com.streamsets.pipeline.kafka.impl;
import com.google.common.net.HostAndPort;
import com.streamsets.pipeline.kafka.api.LowLevelConsumerFactorySettings;
import com.streamsets.pipeline.kafka.api.SdcKafkaLowLevelConsumer;
import com.streamsets.pipeline.kafka.api.SdcKafkaLowLevelConsumerFactory;
public class Ka... |
require 'spec_helper'
# Sassish is included and configured by default, the reason for that is that Sassish is coupled with the
# Rails engine and we need to declare a specific configuration on Rails for defining how the sassish
# styles will be look for
# TODO: Sassish should be a gem, this is the reason for that the... |
<?php
namespace Zend\Cache\Storage\Adapter;
use stdClass;
use Zend\Cache\Exception;
use Zend\Cache\Storage\AvailableSpaceCapableInterface;
use Zend\Cache\Storage\Capabilities;
use Zend\Cache\Storage\ClearByNamespaceInterface;
use Zend\Cache\Storage\ClearByPrefixInterface;
use Zend\Cache\Storage\ClearExpiredInterface... |
This folder contains source code that will automatically be added to the classpath when
the package is used.
|
package com.hpe.application.automation.tools.common.sdk.handler;
import com.hpe.application.automation.tools.common.StringUtils;
import com.hpe.application.automation.tools.common.sdk.Client;
public abstract class Handler {
protected final Client _client;
protected final String _entityId;
protected ... |
require File.join(File.dirname(__FILE__), 'test_helper')
class InsertTextTest < Test::Unit::TestCase
def test_insert_text
I18n
I18n::Backend
I18n.backend = I18n::Backend::Erb.new
locale_files = Dir[ File.join(File.dirname(__FILE__), 'locales', '*.{yml}') ]
I18n.load_path += locale_files
... |
/* Reentrant versions of read system call. */
#include <reent.h>
#include <unistd.h>
#include <_syslist.h>
/* Some targets provides their own versions of this functions. Those
targets should define REENTRANT_SYSCALLS_PROVIDED in TARGET_CFLAGS. */
#ifdef _REENT_ONLY
#ifndef REENTRANT_SYSCALLS_PROVIDED
#define RE... |
import * as _ from "lodash";
import { Web } from "sp-pnp-js";
require("sp-init");
require("microsoft-ajax");
require("sp-runtime");
require("sharepoint");
import DisplayProp from "./DisplayProp";
/**
* Various utilitty functions used by the React-ProprtyBag* Webparts
*
* @export
* @class utils
*/
export default ... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Reflection;
using System.Collections;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.Build.Framework;
... |
@implementation FGOrderedMutableDictionary {
NSMutableDictionary *_dictionary;
NSMutableArray *_array;
}
// test
// test
- (id)init
{
return [self initWithCapacity:0];
}
- (id)initWithCapacity:(NSUInteger)numItems
{
self = [super init];
if(self != nil) {
_dictionary = [[NSMutableDictiona... |
package samples.websocket.tomcat.snake;
public class Location {
public int x;
public int y;
public static final int GRID_SIZE = 10;
public static final int PLAYFIELD_HEIGHT = 480;
public static final int PLAYFIELD_WIDTH = 640;
public Location(int x, int y) {
this.x = x;
this.y = y;
}
public Location g... |
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module unless amdModuleId is set
define(["jquery"], function (a0) {
return (factory(a0));
});
} else if (typeof exports === 'object') {
// Node. Does not work with strict CommonJS... |
package com.alibaba.otter.canal.meta;
import java.net.InetSocketAddress;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.junit.Assert;
import com.alibaba.otter.canal.protocol.ClientIdentity;
import com.alibaba.otter.canal.protocol.position.EntryPosition;
import... |
<?php
$this->load->view('template/head2');
?>
<!--tambahkan custom css disini-->
<!-- iCheck -->
<link href="<?php echo base_url('assets/AdminLTE-2.0.5/plugins/iCheck/flat/blue.css') ?>" rel="stylesheet" type="text/css" />
<!-- Morris chart -->
<link href="<?php echo base_url('assets/AdminLTE-2.0.5/plugins/morris/morr... |
/**
* @license AngularJS v1.4.5
* (c) 2010-2015 Google, Inc. http://angularjs.org
* License: MIT
*/
(function() {'use strict';
function isFunction(value) {return typeof value === 'function';};
/**
* @description
*
* This object provides a utility for producing rich Error messages within
* Angular. It can ... |
module ClassVariableHelper
def self.clear_class_variables
ActiveRecord::Base.subclasses.each do |model|
model.class_variables.each { |var| model.remove_class_variable(var) }
end
end
end
|
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<?php
namespace Sylius\Component\Taxonomy\Model;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Sylius\Component\Translation\Model\AbstractTranslatable;
/**
* Model for taxons.
*
* @author Paweł Jędrzejewski <pawel@sylius.org>
* @author Gonzalo Vilaseca <gvilas... |
from flask import Blueprint
main = Blueprint('main', __name__)
from . import views, errors
|
#region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kooboo.Web.Mvc.Paging;
using Kooboo.CMS.Content.Models;
using Kooboo.CMS.Conte... |
<?php
namespace JMS\DiExtraBundle\Metadata\Driver;
use JMS\DiExtraBundle\Annotation\AfterSetup;
use JMS\DiExtraBundle\Annotation\FormType;
use JMS\DiExtraBundle\Annotation\DoctrineListener;
use JMS\DiExtraBundle\Annotation\Reference as AnnotReference;
use JMS\DiExtraBundle\Annotation\LookupMethod;
use JMS\DiExtra... |
<%#
Copyright 2013-2018 the original author or authors from the JHipster project.
This file is part of the JHipster project, see http://www.jhipster.tech/
for more information.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You ma... |
#ifndef CLOUD_VIEW_H_
#define CLOUD_VIEW_H_
#include <pcl/apps/cloud_composer/qt.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/apps/cloud_composer/point_selectors/interactor_style_switch.h>
#include <vtkEventQtSlotConnect.h>
namespace pcl
{
namespace cloud_composer
{
class ProjectModel;
... |
package org.apache.flink.runtime.io.network.buffer;
import org.apache.flink.core.memory.MemorySegment;
import org.apache.flink.core.memory.MemorySegmentFactory;
import org.apache.flink.runtime.io.network.api.EndOfPartitionEvent;
import org.apache.flink.runtime.io.network.api.serialization.EventSerializer;
import org... |
package org.hisp.dhis.webapi.controller.event;
import org.hisp.dhis.common.DhisApiVersion;
import org.hisp.dhis.dataset.notifications.DataSetNotificationTemplate;
import org.hisp.dhis.schema.descriptors.DataSetNotificationTemplateSchemaDescriptor;
import org.hisp.dhis.webapi.controller.AbstractCrudController;
import... |
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.
[assembly: AssemblyTitle("03.... |
withtimeout [](https://travis-ci.org/getlantern/withtimeout) [](https://coveralls.io/r/getlantern/withtimeout) [;
/**
* @param {String} cmd Command full path
* @param {String[]} args Command args
* @param {String} [cwd] Command working directory
* @constructor
*/
function CordovaExternalToolErrorContext(cmd, args, cwd) {
this.cmd = cmd;
// Helper field for readab... |
#ifndef BOOST_ARCHIVE_BASIC_ARCHIVE_HPP
#define BOOST_ARCHIVE_BASIC_ARCHIVE_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// basic_archive.hpp:
// (C) Copyright 2002... |
```
./docker/scripts/build-artifacts.sh <platform> <version_string> [source-tarball] <output-directory>
# e.g. ./docker/scripts/build-artifacts.sh ubuntu14.04 testbuild ~/heron-release
```
## To build docker containers for running heron daemons:
```
./docker/scripts/build-docker.sh <platform> <version_string> <output... |
import plugins from 'ember-template-compiler/plugins';
import {
registerPlugin
} from 'ember-template-compiler/plugins';
import compile from 'ember-template-compiler/system/compile';
var originalASTPlugins;
QUnit.module('ember-htmlbars: Ember.HTMLBars.registerASTPlugin', {
setup() {
originalASTPlugins = plugi... |
#pragma once
#include <aws/ssm/SSM_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace SSM
{
namespace Model
{
enum class DocumentType
{
NOT_SET,
Command,
Policy,
Automation,
Session
};
namespace DocumentTypeMapper
{
AWS_SSM_API DocumentType GetDocumentTy... |
/*
* For a detailed explanation regarding each configuration property and type check, visit:
* https://jestjs.io/docs/en/configuration.html
*/
module.exports = {
// All imported modules in your tests should be mocked automatically
// automock: false,
// Stop running tests after `n` failures
// bail: 0,
... |
We welcome contributions to the NuGet Gallery! However, we do have a few suggestions for making sure we can integrate your code in the cleanest possible way.
## Getting Started
1. Make sure there is an issue in the [Issue Tracker](https://github.com/NuGet/NuGetGallery/issues) for the feature or bug you want to fix. If... |
/*!
* @atlassian/aui - Atlassian User Interface Framework
* @version v5.9.19
* @link https://docs.atlassian.com/aui/latest/
* @license Apache-2.0
* @author Atlassian Pty Ltd.
*/
// src/js/aui-css-deprecations.js
(typeof window === 'undefined' ? global : window).__bbbe06e7749df2bca0a6d4b0d7e3a156 = (function () {
... |
package serverrpc
import (
"github.com/golang/glog"
"github.com/hyperhq/hyperd/types"
"golang.org/x/net/context"
)
// ContainerList implements GET /list?item=container
func (s *ServerRPC) ContainerList(ctx context.Context, req *types.ContainerListRequest) (*types.ContainerListResponse, error) {
glog.V(3).Infof("C... |
<component name="libraryTable">
<library name="Maven: org.codehaus.plexus:plexus-container-default:1.0-alpha-8">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar!/" />
</CLASSES>
<JAVADOC>
<root url=... |
<project name="focDataSource">
<property name="focDataSource" value="focDataSource"/>
<property name="focDataSource.jarFileName" value="01b-${focDataSource}.jar"/>
<property name="focDataSource.ojarName" value="${focDataSource}.jar"/>
</project> |
// -*- c-basic-offset: 8; indent-tabs-mode: t -*-
// vim:ts=8:sw=8:noet:ai:
#ifndef __ASS_FONT_H__
#define __ASS_FONT_H__
#ifdef HAVE_FONTCONFIG
#include <fontconfig/fontconfig.h>
#endif
typedef struct ass_font_desc_s {
char* family;
unsigned bold;
unsigned italic;
} ass_font_desc_t;
#define ASS_FONT_MAX_FACES ... |
#ifndef SHARE_VM_SERVICES_DIAGNOSTICFRAMEWORK_HPP
#define SHARE_VM_SERVICES_DIAGNOSTICFRAMEWORK_HPP
#include "classfile/vmSymbols.hpp"
#include "memory/allocation.hpp"
#include "runtime/arguments.hpp"
#include "runtime/os.hpp"
#include "runtime/vm_version.hpp"
#include "runtime/vmThread.hpp"
#include "utilities/ostr... |
/**
*
* @since: 15. 8. 24
* @author: Koong Kyungmi (kyungmi.k@samsung.com)
*/
define([
'dijit/registry',
'dojo/i18n!./nls/resource',
'dojo/on',
'dojo/string',
'external/lodash/lodash.min',
'webida-lib/util/locale',
'webida-lib/util/logger/logger-client',
'webida-lib/util/notify',
... |
use bar::c::cc as cal;
use std::mem::*; // shouldn't get errors for not using
// everything imported
// Should get errors for both 'Some' and 'None'
use std::option::Option::{Some, None}; //~ ERROR unused import
//~^ ERROR unused import
use ... |
<?php
/**
* This is used to connect to a MSSQL database using pdo_sqlsrv driver.
*
* @author Benjamin Runnels
* @version $Revision$
* @package propel.runtime.adapter
*/
class DBSQLSRV extends DBMSSQL
{
/**
* @see parent::initConnection()
*
* @param PDO $con
* @param ar... |
/**
* @private
* @class Ext.util.LruCache
* @extend Ext.util.HashMap
* A linked {@link Ext.util.HashMap HashMap} implementation which maintains most recently accessed
* items at the end of the list, and purges the cache down to the most recently accessed {@link #maxSize} items
* upon add.
*/
Ext.define('Ext.util... |
/**
@module ember
@submodule ember-htmlbars
*/
/**
An HTMLBars AST transformation that replaces all instances of
```handlebars
{{#each item in items}}
{{/each}}
```
with
```handlebars
{{#each items keyword="item"}}
{{/each}}
```
@class TransformEachInToHash
@private
*/
function TransformEa... |
/*********************************************************************
* *
* ConfigFemtoAnalysis.C - configuration macro for the femtoscopic *
* analysis, meant as a QA process for two-particle effects *
* ... |
import sys, os
# If your extensions are in another directory, add it here. If the directory
# is relative to the documentation root, use os.path.abspath to make it
# absolute, like shown here.
sys.path.append(os.path.abspath('..'))
# General configuration
# ---------------------
# Add any Sphinx extension module nam... |
require('../modules/es7.regexp.escape');
module.exports = require('../modules/$.core').RegExp; |