text stringlengths 3 1.05M |
|---|
import {Anno} from './setup.js';
@Anno
export default class {
@Anno
annotatedMethod() {}
};
|
package org.elasticsearch.action.admin.indices.template.put;
import org.elasticsearch.action.admin.indices.alias.Alias;
import org.elasticsearch.action.support.master.MasterNodeOperationRequestBuilder;
import org.elasticsearch.client.ElasticsearchClient;
import org.elasticsearch.common.bytes.BytesReference;
import or... |
namespace Torque
{
/// A list template class.
/// A classic list class similar to the STL list class. The list
/// class supports fast insert and erase operations, but slow dynamic
/// access. The list is circular and the iterator supports iterating
/// past the end() or rend() in order to loop around.
/// @ingroup Ut... |
FROM resin/rpi-raspbian:jessie
# allow replacing httpredir or deb mirror
ARG APT_MIRROR=deb.debian.org
RUN sed -ri "s/(httpredir|deb).debian.org/$APT_MIRROR/g" /etc/apt/sources.list
RUN apt-get update && apt-get install -y apparmor bash-completion btrfs-tools build-essential cmake curl ca-certificates debhelper dh-ap... |
package app
import (
"fmt"
"github.com/golang/glog"
"k8s.io/kubernetes/pkg/api/errors"
"k8s.io/kubernetes/pkg/api/meta"
"k8s.io/kubernetes/pkg/fields"
"k8s.io/kubernetes/pkg/kubectl/resource"
"k8s.io/kubernetes/pkg/labels"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/util"
"github.com/openshift/o... |
FOUNDATION_EXPORT double TapglueVersionNumber;
//! Project version string for Tapglue.
FOUNDATION_EXPORT const unsigned char TapglueVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <Tapglue/PublicHeader.h>
|
YUI.add('treeview', function(Y) {
var getClassName = Y.ClassNameManager.getClassName,
TREEVIEW = 'treeview',
TREE = 'tree',
TREELEAF = 'treeleaf',
CONTENT_BOX = "contentBox",
BOUNDING_BOX = "boundingBox",
TRUE = true,
WIDGET = Y.Widget,
VALUE = "value",
... |
const Logger = require('../util/Logger.js')('YouTube');
const YTDL = require('youtube-dl');
const updater = require('youtube-dl/lib/downloader');
const ytdl = require('ytdl-core');
const urlRegex = require('url-regex');
const youtubeRegex = require('youtube-regex');
const FS = require('fs');
const Stream = require('... |
package org.apache.camel.loanbroker.webservice.version.bank;
import javax.xml.ws.Endpoint;
import org.apache.camel.loanbroker.webservice.version.Constants;
public class BankServer {
Endpoint endpoint1;
Endpoint endpoint2;
Endpoint endpoint3;
public void start() throws Exception {
System... |
<?php
/**
* Adminhtml report reviews product grid block
*
* @category Mage
* @package Mage_Adminhtml
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_Adminhtml_Block_Report_Review_Detail_Grid extends Mage_Adminhtml_Block_Widget_Grid
{
public function __construct()
{
... |
namespace Google.Cloud.Metastore.V1.Snippets
{
// [START metastore_v1_generated_DataprocMetastore_GetService_sync_flattened_resourceNames]
using Google.Cloud.Metastore.V1;
public sealed partial class GeneratedDataprocMetastoreClientSnippets
{
/// <summary>Snippet for GetService</summary>
... |
package org.springframework.cache.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.cor... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var utils_1 = require("../../utils");
function isTypedRule(rule) {
return "applyWithProgram" in rule;
}
exports.isTypedRule = isTypedRule;
var Replacement = (function () {
function Replacement(start, length, text) {
this.start... |
from __future__ import absolute_import, division, print_function
import sys
from ._typing import TYPE_CHECKING
if TYPE_CHECKING: # pragma: no cover
from typing import Any, Dict, Tuple, Type
PY2 = sys.version_info[0] == 2
PY3 = sys.version_info[0] == 3
# flake8: noqa
if PY3:
string_types = (str,)
else:
... |
<?php
/**
* AbstractMenuItem.php
*
* @since 20/09/16
* @author gseidel
*/
namespace Enhavo\Bundle\AppBundle\Menu;
use Knp\Menu\MenuItem as KnpMenuItem;
class MenuItem extends KnpMenuItem implements MenuItemInterface
{
/**
* @var string
*/
private $icon;
/**
* @var string
*/
... |
package com.google.code.kaptcha.util;
import java.awt.Color;
import java.awt.Font;
import java.util.Properties;
import junit.framework.TestCase;
import com.google.code.kaptcha.impl.DefaultBackground;
import com.google.code.kaptcha.impl.DefaultKaptcha;
import com.google.code.kaptcha.impl.DefaultNoise;
import com.goog... |
// AFHTTPClient.m
//
// Copyright (c) 2011 Gowalla (http://gowalla.com/)
//
// 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
// ... |
<?php
namespace Assetic\Test\Filter;
use Assetic\Asset\FileAsset;
use Assetic\Asset\StringAsset;
use Assetic\Filter\LessFilter;
/**
* @group integration
*/
class LessFilterTest extends \PHPUnit_Framework_TestCase
{
private $filter;
protected function setUp()
{
if (!isset($_SERVER['NODE_BIN']... |
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-container-registry%2Fazuredeploy.json" target="_blank">
<img src="https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/im... |
<?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... |
/**
* angular-motion
* @version v0.4.2 - 2015-05-20
* @link https://github.com/mgcrea/angular-motion
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
.am-fade {
-webkit-animation-duration: 0.3s;
animation-du... |
using System.Web.Hosting;
namespace Orchard.FileSystems.AppData {
/// <summary>
/// Abstraction over the root location of "~/App_Data", mainly to enable
/// unit testing of AppDataFolder.
/// </summary>
public interface IAppDataFolderRoot : ISingletonDependency {
/// <summary>
/// ... |
package org.apache.skywalking.apm.collector.analysis.alarm.provider.worker.application;
import org.apache.skywalking.apm.collector.analysis.alarm.define.graph.AlarmWorkerIdDefine;
import org.apache.skywalking.apm.collector.core.graph.Next;
import org.apache.skywalking.apm.collector.core.graph.NodeProcessor;
import o... |
<!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_60-ea) on Fri Nov 04 13:24:42 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wil... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<!-- Copyright © 1991-2013 Unicode, Inc.
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
For terms of use, see http://www.unicode.org/copyright.html
-->
<ldml>
<identity>
... |
<?xml version="1.0" encoding="utf-8"?>
<strings>
<string name="date_time" value="M月d日 EEEE"/>
<string name="date_time_12" value="M月d日 EEEE"/>
<string name="desc_date_format" value="M月d日 EEEE"/>
<string name="desc_date_format_12" value="M月d日 EEEE"/>
<string name="desc_time" value="'current time' + #h... |
using namespace gpdxl;
XERCES_CPP_NAMESPACE_USE
//---------------------------------------------------------------------------
// @function:
// CParseHandlerStatistics::CParseHandlerStatistics
//
// @doc:
// Ctor
//
//---------------------------------------------------------------------------
CParseHandlerStatistic... |
var crypto = require('crypto'),
fs = require('fs'),
path = require('path'),
config = require('../config');
// ### ServeSharedFile Middleware
// Handles requests to robots.txt and favicon.ico (and caches them)
function serveSharedFile(file, type, maxAge) {
var content,
corePath = config.pa... |
package mo
import (
"bytes"
"encoding/binary"
"fmt"
"io/ioutil"
"strings"
)
const (
MoHeaderSize = 28
MoMagicLittleEndian = 0x950412de
MoMagicBigEndian = 0xde120495
EotSeparator = "\x04" // msgctxt and msgid separator
NulSeparator = "\x00" // msgid and msgstr separator
)
// File represents an MO... |
package org.sakaiproject.tool.assessment.ui.listener.delivery;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Ra... |
#ifndef QTWINDOWS_ADDITIONAL_H
#define QTWINDOWS_ADDITIONAL_H
#include <QtCore/QtGlobal> // get compiler define
#include <QtCore/qt_windows.h>
#ifndef WM_THEMECHANGED
# define WM_THEMECHANGED 0x031A
#endif
#ifndef WM_DWMCOMPOSITIONCHANGED
# define WM_DWMCOMPOSITIONCHANGED 0x31E
#endif
#ifndef GWL_HWNDPARENT... |
<!--
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 "Licens... |
.button-bar {
display: table;
table-layout: fixed;
white-space: nowrap;
margin: 0;
padding: 0;
}
.button-bar__item {
display: table-cell;
width: auto;
border-radius: 0;
}
.button-bar__item > input {
position: absolute;
overflow: hidden;
padding: 0;
border: 0;
opacity: 0.001;
z-index: 1;
... |
@interface RKRouteSet ()
@property (nonatomic, strong) NSMutableArray *routes;
@end
@implementation RKRouteSet
- (instancetype)init
{
self = [super init];
if (self) {
self.routes = [NSMutableArray array];
}
return self;
}
- (NSArray *)allRoutes
{
return [NSArray arrayWithArray:self.r... |
<?php
namespace Sonata\CacheBundle\Tests\Cache\Invalidation;
use Sonata\CacheBundle\Invalidation\SimpleCacheInvalidation;
use Sonata\CacheBundle\Cache\CacheInterface;
class SimpleCacheInvalidationTest_Cache
{}
class SimpleCacheInvalidationTest extends \PHPUnit_Framework_TestCase
{
public function testInvalida... |
// ----------------------------------------------------------------------------------
//
// 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... |
<?php
namespace RDF\GithubBotBundle\Event;
use Symfony\Component\EventDispatcher\Event;
use RDF\GithubBotBundle\Entity\Build;
/**
* @author Richard Fullmer <richard.fullmer@opensoftdev.com>
*/
class OnBuildStartedEvent extends Event
{
/**
* @var \RDF\GithubBotBundle\Entity\Build
*/
private $buil... |
package alluxio.security.authentication;
import alluxio.Configuration;
import alluxio.ConfigurationTestUtils;
import alluxio.PropertyKey;
import alluxio.exception.status.UnauthenticatedException;
import alluxio.util.network.NetworkAddressUtils;
import org.apache.thrift.protocol.TBinaryProtocol;
import org.apache.th... |
// 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.
// Multiply-included message file, so no include guard.
#include <string>
#include <vector>
#include "base/shared_memory.h"
#include "content/public... |
package org.apache.ibatis.submitted.dynsql2;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.TypeHandler;
import java.sql.*;
public class LastNameTypeHandler implements TypeHandler {
public Object getResult(CallableStatement cs, int columnIndex)
throws SQLException {
return cs.get... |
<!DOCTYPE html>
<style>
.flexbox {
display: flex;
flex-direction: column;
height: 300px;
width: 200px;
padding: 3px;
border: 4px solid black;
}
.flexitem {
flex: 1;
padding: 3px;
border: 4px solid cyan;
min-height: 0;
}
.vertical {
position: relative;
writing-mode: vertic... |
if defined?(Merb::Plugins)
$:.unshift File.dirname(__FILE__)
dependency 'merb-slices', :immediate => true
Merb::Plugins.add_rakefiles "very-thin-test-slice/merbtasks", "very-thin-test-slice/slicetasks"
# Register the Slice for the current host application
Merb::Slices::register(__FILE__)
# Slice confi... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b)... |
// ***********************************************************************
// Copyright (c) 2011 Charlie Poole
//
// 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, incl... |
@interface XYNavigation ()
@end
@implementation XYNavigation
- (void)viewDidLoad {
[super viewDidLoad];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
|
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('finaid', '0011_receipt_logged'),
]
operations = [
migrations.RemoveField(
model_name='financialaidreviewdata',
name='cash_ch... |
/*
* Copyright (C) 2016 Scylladb, Ltd.
*/
#pragma once
#include <boost/range/adaptor/transformed.hpp>
#include <boost/algorithm/string.hpp>
#include <seastar/core/sstring.hh>
#include <seastar/rpc/rpc_types.hh>
namespace seastar {
namespace rpc {
// This is meta compressor factory. It gets an array of regular f... |
'use strict';
var ColorPropType = require('ColorPropType');
var NativeMethodsMixin = require('NativeMethodsMixin');
var Platform = require('Platform');
var React = require('React');
var StyleSheet = require('StyleSheet');
var View = require('View');
var requireNativeComponent = require('requireNativeComponent');
ty... |
To enjoy the beautiful world of algorithms.
## Resources
1. Programming = ++Algorithms - http://www.programirane.org/
2. http://en.wikipedia.org/wiki/Binomial_coefficient
3. http://www.java2s.com/Code/Java/Data-Type/Obtainingtheintegerandfractionalparts.htm
4. Open Data Structures (Java) - http://opendatastructures.or... |
import pdb
import numpy as np
import os
import linecache
import csv
import sys
class Reader:
"""
Interface for reader. Must be implemented from all inherited classes.
"""
def getMatrix(self):
"""
returns complete matrix
"""
raise Exception('must be implemented from inher... |
title: Rule no-cond-assign
layout: doc
---
<!-- Note: No pull requests accepted for this file. See README.md in the root directory for details. -->
# Disallow Assignment in Conditional Statements (no-cond-assign)
In conditional statements, it is very easy to mistype a comparison operator (such as `==`) as an assignmen... |
import resource
import time
import json
from simstream import SimStream, DataReporter, DataCollector
#settings = {
# "url": "amqp://localhost:5672",
# "exchange": "simstream",
# "queue": "remote_node",
# "routing_key": "stream_sender",
# "exchange_type": "topic"
#}
settings = {}
with open("../setting... |
package org.apache.camel.component.extension.verifier;
import org.apache.camel.component.extension.ComponentVerifierExtension;
import org.apache.camel.component.extension.ComponentVerifierExtension.VerificationError;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
public class C... |
<?php
namespace oasis\names\specification\ubl\schema\xsd\CommonBasicComponents_2;
/**
* @xmlNamespace urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2
* @xmlType MarkAttentionIndicatorType
* @xmlName MarkAttentionIndicator
* @var oasis\names\specification\ubl\schema\xsd\CommonBasicComponents_2\... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>Test of two meta elements with transitional doctype</title>
<!-- The following META element in HTML/SGML terminates the HEAD and so the
second META is actually in the BODY.... |
package com.fasterxml.jackson.databind.jsontype.vld;
import java.util.regex.Pattern;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.ObjectMapper.DefaultTyping;
import com.fasterxml.jackson.databind.exc.InvalidDefinitionException;
import com.fasterxml.jackson.databind.exc.InvalidTypeIdE... |
var interface: number, I: string;
namespace n {
interface // This should be the identifier 'interface'
I // This should be the identifier 'I'
{} // This should be a block body
} |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<?php
namespace Doctrine\Tests\ORM\Tools\Pagination;
use Doctrine\Tests\OrmTestCase;
abstract class PaginationTestCase extends OrmTestCase
{
public $entityManager;
public function setUp()
{
$this->entityManager = $this->_getTestEntityManager();
}
}
/**
* @Entity
*/
class MyBlogPost
{
... |
<#
.SYNOPSIS
This is a Powershell script to bootstrap a TileDB build on Windows.
.DESCRIPTION
This script will check dependencies, and run the CMake build generator
to generate a Visual Studio solution file that can be used to build or
develop TileDB.
.PARAMETER Prefix
Installs files in tree rooted at PREFIX (default... |
<!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 (version 1.7.0_45) on Mon Aug 31 23:15:49 CEST 2015 -->
<title>IObjectIntegerDefaultCheck (FailFast v.1.3)</title>
<meta name="date" content="2015-08-... |
UNIX_RealizesPExtentProvider::UNIX_RealizesPExtentProvider()
{
}
UNIX_RealizesPExtentProvider::~UNIX_RealizesPExtentProvider()
{
}
CIMInstance UNIX_RealizesPExtentProvider::constructInstance(
const CIMName &className,
const CIMNamespaceName &nameSpace,
const UNIX_RealizesPExtent &_p)
{
CIMProperty p;
CIMInstanc... |
YUI.add('yql', function (Y, NAME) {
/**
* This class adds a sugar class to allow access to YQL (http://developer.yahoo.com/yql/).
* @module yql
*/
/**
* Utility Class used under the hood by the YQL class
* @class YQLRequest
* @constructor
* @param {String} sql The SQL statement to execute
* @param {Function/... |
from __future__ import unicode_literals
# Deprecated settings and their defaults.
DEPRECATED = {}
class TemplateSettings(dict):
"""
Dict wrapper for template settings. This exists to enforce
the restriction of settings in templates to those named in
TEMPLATE_ACCESSIBLE_SETTINGS, and to warn about de... |
package com.artemis;
import com.artemis.annotations.Wire;
import com.artemis.component.ComponentX;
import com.artemis.component.ComponentY;
import com.artemis.system.ExpirationSystem;
import com.artemis.system.SystemB;
import com.artemis.system.SystemComponentXRemover;
import com.google.gwt.junit.client.GWTTestCase;
... |
'use strict';
var Node = require('./node');
/**
* Initialize a `Comment` with the given `val`, optionally `buffer`,
* otherwise the comment may render in the output.
*
* @param {String} val
* @param {Boolean} buffer
* @api public
*/
var Comment = module.exports = function Comment(val, buffer) {
... |
The MIT License (MIT)
Copyright (c) 2015 ddbullfrog
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, modify, merge, publi... |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.custom.provider;
import org.eclipse.emf.common.ui.celleditor.ExtendedDialogCellEditor;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.ui.provider.PropertyDescriptor;
import org.eclipse.jface.viewers.CellEditor;
import... |
<ul class="list-unstyled">
{% for author in page.authors %}
<li class="author" itemprop="author" itemscope itemtype="http://schema.org/Person">
<div itemprop="name">
<span class="glyphicon glyphicon-user"></span>
{% if author.url %}
<a href="{{ author.url }}">{{ a... |
<?php
class NamespaceCoverageClassExtendedTest extends PHPUnit_Framework_TestCase
{
/**
* @covers Foo\CoveredClass<extended>
*/
public function testSomething()
{
$o = new Foo\CoveredClass;
$o->publicMethod();
}
}
|
package org.openhome.net.controlpoint;
/**
* Class representing the result of attempting to get a value for a CpAttribute.
*/
public class CpAttribute
{
private String iAttribute;
private boolean iAvailable;
private String iValue;
/**
* Construct a <tt>CpAttribute</tt>. Only intended for native code
* resp... |
// +groupName=events.k8s.io
package events // import "k8s.io/kubernetes/pkg/apis/events"
|
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STM32F4xx_HAL_RTC_EX_H
#define __STM32F4xx_HAL_RTC_EX_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32f4xx_hal_def.h"
/*... |
require("./module_invalid_02") |
'use strict';
var chars = require('./chars');
var utils = require('./utils');
/**
* Expose `Glob`
*/
var Glob = module.exports = function Glob(pattern, options) {
if (!(this instanceof Glob)) {
return new Glob(pattern, options);
}
this.options = options || {};
this.pattern = pattern;
t... |
<?php
namespace Twig\Extension;
/**
* Enables usage of the deprecated Twig\Extension\AbstractExtension::getGlobals() method.
*
* Explicitly implement this interface if you really need to implement the
* deprecated getGlobals() method in your extensions.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
in... |
<?php
namespace Symfony\Component\HttpKernel\HttpCache;
use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpKernel\TerminableInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\HttpCache\Esi;
/**
* Cac... |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... |
"""Modified Olivetti faces dataset.
The original database was available from (now defunct)
http://www.uk.research.att.com/facedatabase.html
The version retrieved here comes in MATLAB format from the personal
web page of Sam Roweis:
http://www.cs.nyu.edu/~roweis/
There are ten different images of each of 40... |
<?php
namespace phpDocumentor\Plugin\Core\Transformer\Writer;
use phpDocumentor\Descriptor\ArgumentDescriptor;
use phpDocumentor\Descriptor\ClassDescriptor;
use phpDocumentor\Descriptor\ConstantDescriptor;
use phpDocumentor\Descriptor\DescriptorAbstract;
use phpDocumentor\Descriptor\FileDescriptor;
use phpDocumentor\... |
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>my.du... |
package componentstatus
import (
"crypto/tls"
"net/http"
"sync"
"time"
utilnet "k8s.io/apimachinery/pkg/util/net"
"k8s.io/kubernetes/pkg/probe"
httpprober "k8s.io/kubernetes/pkg/probe/http"
)
const (
probeTimeOut = 20 * time.Second
)
// TODO: this basic interface is duplicated in N places. consolidate?
t... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace ASC.ElasticSearch.Core
{
[DataContract]
public class State
{
[DataMember]
public List<string> Indexing { get; set; }
[DataMember]
public DateTime? LastIndexed {... |
<?php
?><li><span class="lessBig">Victory Conditions</span>
<ol>
<li>
Each side is awarded one victory point for each hostile combat factor destroyed. Swedish Wagons are worth 3 Victory point if destoryed.
</li>
<li>Victory points are also awarded for locations occupied (for th... |
import <warning descr="Import resolves to its containing file">AddFunctionToModule</warning> # ourselves
# do something
AddFunctionToModule.<caret><warning descr="Cannot find reference 'frob' in 'AddFunctionToModule.py'">frob</warning>(1)
|
#include "util.h"
#include <QtTest/QtTest>
#include <stdio.h>
#if defined(HAVE_QTQUICK) && HAVE_QTQUICK
#include "private/qquickwebview_p.h"
#include "private/qwebloadrequest_p.h"
#endif
void addQtWebProcessToPath()
{
// Since tests won't find ./QtWebProcess, add it to PATH (at the end to prevent surprises).
... |
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
exports.default = watch;
var _ansiEscapes;
function _load_ansiEscapes() {
return (_ansiEscapes = _interopRequireDefault(require('ansi-escapes')));
}
var _chalk;
function _load_chalk() {
return (_chalk = _interopRequireDefault(requir... |
<?php
namespace Gestion\CoreBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* ActiviteRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class ActiviteRepository extends EntityRepository
{
}
|
package com.amazonaws.services.appstream.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.appstream.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* UserStackAssociationMarshaller
*/
@Generate... |
package org.apache.hadoop.hdfs.qjournal.client;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.URI;
import java.net.URL;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.PriorityQueue;
i... |
WAMPUM, yo.
This folder contains code for the webapp/interface/hub for WAMPUM.
Try running:
node app.js
for a breath of fresh air.
|
<?php
namespace Illuminate\Routing;
use Illuminate\Database\Eloquent\Model;
class ImplicitRouteBinding
{
/**
* Resolve the implicit route bindings for the given route.
*
* @param \Illuminate\Container\Container $container
* @param \Illuminate\Routing\Route $route
* @return void
... |
package io.netty.handler.codec.http2;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufAllocator;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.FullHttpMessage;
import io.netty.handler.codec.http.FullHttpRequest;
import io.netty.handler... |
'use strict';
var fs = require('fs');
/**
* Check if file exists and cache the result
* return the result in cache
*
* @example
* var exists = require('./helpers/fsExists')({});
* exists('.babelrc'); // false
*/
module.exports = function(cache) {
cache = cache || {};
return function(filename) {
if (!f... |
package cgotest
import "testing"
// The actual test functions are in non-_test.go files
// so that they can use cgo (import "C").
// These wrappers are here for gotest to find.
func TestAlign(t *testing.T) { testAlign(t) }
func TestConst(t *testing.T) { testConst(t) }
func TestEnum(t *tes... |
/* ocsp_lib.c */
/* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL
* project. */
/* History:
This file was transfered to Richard Levitte from CertCo by Kathy
Weinhold in mid-spring 2000 to be included in OpenSSL or released
as a patch kit. */
/* =========================================... |
package org.springframework.boot.loader.tools;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.security.DigestInputStream;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* Utilities for manipulating files and directories in Spring... |
package com.asakusafw.lang.compiler.testdriver.adapter.mock;
import com.asakusafw.lang.compiler.mapreduce.testing.mock.MockData;
import com.asakusafw.vocabulary.flow.Export;
import com.asakusafw.vocabulary.flow.FlowDescription;
import com.asakusafw.vocabulary.flow.Import;
import com.asakusafw.vocabulary.flow.In;
impo... |
#ifndef SFML_THREADLOCALPTR_HPP
#define SFML_THREADLOCALPTR_HPP
////////////////////////////////////////////////////////////
// Headers
////////////////////////////////////////////////////////////
#include <SFML/System/ThreadLocal.hpp>
namespace sf
{
/////////////////////////////////////////////////////... |
var BBPromise = require('bluebird');
var argv = require('minimist')(process.argv.slice(2));
var child_process = require('child_process');
var exec = BBPromise.promisify(child_process.exec);
var fs = BBPromise.promisifyAll(require('fs'));
var gulp = require('gulp-help')(require('gulp'));
var util = require('gulp-util'... |