text stringlengths 3 1.05M |
|---|
namespace Nancy.AttributeRouting.Examples.Model
{
using System.Linq;
using NMemory;
using NMemory.Tables;
public interface ITodoDatabase
{
ITable<TodoItem> Items { get; }
}
public class TodoDatabase : Database, ITodoDatabase
{
public TodoDatabase()
{
... |
#ifndef WorkerLoaderProxy_h
#define WorkerLoaderProxy_h
#if ENABLE(WORKERS)
#include "ScriptExecutionContext.h"
#include <wtf/Forward.h>
#include <wtf/PassOwnPtr.h>
namespace WebCore {
// A proxy to talk to the loader context. Normally, the document on the main thread
// provides loading services for the ... |
package org.apache.camel.component.xchange.metadata;
import java.util.List;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.test.junit4.CamelTestSupport;
import org.junit.Assert;
import org.junit.Test;
import org.knowm.xchange.currency.Currency;
import org.knowm.xchange.currency.CurrencyPair;
i... |
<!-- Icon button -->
<button class="mdl-button mdl-js-button mdl-button--icon">
<i class="material-icons">mood</i>
</button>
|
package org.openqa.selenium.android.library;
/**
* Custom module that is added to the WebView's JavaScript engine to enable callbacks to java
* code. This is required since WebView doesn't expose the underlying DOM.
*/
final class JavascriptInterface {
private final JavascriptExecutor executor;
/* package */... |
#include <QtGui/QStyle>
#else
#include <QtWidgets/QStyle>
#endif
class ProxyStyle : public QStyle
{
public:
explicit ProxyStyle(QStyle * p);
void drawComplexControl(ComplexControl control, const QStyleOptionComplex* option, QPainter* painter, const QWidget* widget = 0) const;
void drawControl(ControlElement e... |
/* global FastClick: false, DISQUS: false, DISQUSWIDGETS: true, disqus_identifier:false, ga:false, Drawer: false, ImageLoader: false, Prism: false */
(function ($, window, document, undefined) {
'use strict';
$(function () {
var GHOSTIUM = window.GHOSTIUM;
// Cache a couple of useful elements
// ====... |
<!DOCTYPE html>
<body>
<script src="../../resources/js-test.js"></script>
<div id="container">
<input type="email">
<input type="email" style="visibility: hidden;">
<input type="email" style="display: none;">
<input type="email" value="parsing☺"><!-- This should show one warning. -->
<input value="value-before-t... |
require 'chef/resource/package'
class Chef
class Resource
class GemPackage < Chef::Resource::Package
def initialize(name, run_context=nil)
super
@clear_sources = false
end
def source(arg=nil)
set_or_return(:source, arg, :kind_of => [ String, Array ])
end
d... |
// Software License Agreement (BSD License)
//
// Copyright (c) 2010-2016, Deusty, LLC
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms,
// with or without modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code m... |
package ch.difty.scipamato.core.pubmed.api;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
*
*/
@XmlAccessorType(XmlAccess... |
package org.jasig.portal.character.stream.events;
/**
* @author Eric Dalquist
* @version $Revision$
*/
public interface PortletContentPlaceholderEvent extends PortletPlaceholderEvent {
}
|
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED
require 'unittests/setup'
class TC_SelectList < Test::Unit::TestCase
include Watir::Exception
def setup
goto_page "selectboxes1.html"
end
def test_exists
assert(browser.select_list(:name, "sel1").exists?)
asser... |
package apiserver
import (
"bufio"
"encoding/json"
"fmt"
"net"
"net/http"
"regexp"
"runtime/debug"
"strings"
"sync"
"time"
"github.com/golang/glog"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/errors"
"k8s.io/kubernetes/pkg/auth/authorizer"
"k8s.io/kubernetes/pkg/httplog"
"k8s.io/kubernete... |
/**
* Adapts Jasmine-Node tests to work better with WebDriverJS. Borrows
* heavily from the mocha WebDriverJS adapter at
* https://code.google.com/p/selenium/source/browse/javascript/node/selenium-webdriver/testing/index.js
*/
var webdriver = require('selenium-webdriver');
var flow = webdriver.promise.controlFlow... |
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd"... |
yii.validation = (function ($) {
var pub = {
isEmpty: function (value) {
return value === null || value === undefined || value == [] || value === '';
},
addMessage: function (messages, message, value) {
messages.push(message.replace(/\{value\}/g, value));
}... |
<?php
if (!defined('IN_CKFINDER')) exit;
/**
* @package CKFinder
* @subpackage Config
* @copyright CKSource - Frederico Knabben
*/
/**
* Folder view mask
*/
define('CKFINDER_CONNECTOR_ACL_FOLDER_VIEW',1);
define('CKFINDER_CONNECTOR_ACL_FOLDER_CREATE',2);
define('CKFINDER_CONNECTOR_ACL_FOLDER_REN... |
codeId: widget-api-vc
---
```ruby
require 'paymentwall' # alternatively, require_relative '/path/to/paymentwall-ruby/lib/paymentwall.rb'
Paymentwall::Base::setApiType(Paymentwall::Base::API_VC)
Paymentwall::Base::setAppKey('YOUR_PROJECT_KEY')
Paymentwall::Base::setSecretKey('YOUR_SECRET_KEY')
widget = Paymentwall::Wid... |
local BasePlugin = require "kong.plugins.base_plugin"
local access = require "kong.plugins.request_transformer.access"
local RequestTransformerHandler = BasePlugin:extend()
function RequestTransformerHandler:new()
RequestTransformerHandler.super.new(self, "request_transformer")
end
function RequestTransformerHandl... |
export {default} from 'ember-sortable/components/sortable-group';
|
/*
* Header for a tag.
*/
'use strict';
var constants = require('./constants.js');
var BaseHeader = require('./baseHeader.js');
var TagHeaderValidator = require('./tagHeaderValidator.js');
var util = require('util');
var bytePositions = {
MAJOR_VERSION: 3,
FLAGS: 5,
SIZE: 6
};
var bitMasksFlags = {
... |
YUI.add('datasource-get', function (Y, NAME) {
/**
* Provides a DataSource implementation which can be used to retrieve data via the Get Utility.
*
* @module datasource
* @submodule datasource-get
*/
/**
* Get Utility subclass for the DataSource Utility.
* @class DataSource.Get
* @extends DataSource.Local
* ... |
using System.Runtime.InteropServices;
using System;
internal class NullableTest
{
private static bool BoxUnboxToNQGen<T>(T o)
{
return ((ValueType)(object)o) == null;
}
private static bool BoxUnboxToQGen<T>(T? o) where T : struct
{
return ((T?)(object)(ValueType)o) == null;
}
... |
package com.intellij.find.findUsages;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiField;
import javax.swing.*;
public class FindVariableUsagesDialog extends JavaFindUsagesDialog<JavaVariableFindUsagesOptions> {
public FindVariableUsagesDialog(PsiEle... |
package translatableerror
import "fmt"
// PluginInvalidError is returned with a plugin is invalid because it is
// missing a name or has 0 commands.
type PluginInvalidError struct {
Err error
}
func (e PluginInvalidError) Error() string {
baseErrString := "File is not a valid cf CLI plugin binary."
if e.Err != n... |
using System;
namespace SimpleTriangle2D {
/// <summary>
/// The main application class.
/// </summary>
static class Program {
/// <summary>
/// The application entry point.
/// </summary>
[STAThread]
static void Main() {
using (SimpleTriangle2DSam... |
#ifndef _FSL_WDOG_H_
#define _FSL_WDOG_H_
#include "fsl_common.h"
/*!
* @addtogroup wdog_driver
* @{
*/
/*! @file */
/*******************************************************************************
* Definitions
*******************************************************************************/
/*! @name Driver... |
#ifndef __al_included_allegro5_aintern_path_h
#define __al_included_allegro5_aintern_path_h
struct ALLEGRO_PATH {
ALLEGRO_USTR *drive;
ALLEGRO_USTR *filename;
_AL_VECTOR segments; /* vector of ALLEGRO_USTR * */
ALLEGRO_USTR *basename;
ALLEGRO_USTR *full_string;
};
#endif
/* vim: set sts=3 sw=3 et: ... |
package node
import (
"fmt"
"time"
clientset "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset"
log "github.com/golang/glog"
"k8s.io/kubernetes/cmd/kubelet/app/options"
"k8s.io/kubernetes/contrib/mesos/pkg/runtime"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/errors"
"k8s.io/ku... |
// Copyright 2014-2015 The Docker & Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
/*
Package flag implements command-line flag parsing.
Usage:
Define flags using flag.String(), Bool(), Int(), etc.
This declares an integer... |
<?php
/**
* The template for displaying archive pages
*
* Used to display archive-type pages if nothing more specific matches a query.
* For example, puts together date-based pages if no date.php file exists.
*
* If you'd like to further customize these archive views, you may create a
* new template file for eac... |
#include "formatters/CSmartFactory.h"
#include "formatters/SmartFactoryTestHelper.h"
#include "gtest/gtest.h"
namespace test {
namespace components {
namespace formatters {
TEST(CSmartFactoryTest, CreateSmartSchemaKey_ExpectCreated) {
SmartSchemaKey<FunctionIdTest::eType, MessageTypeTest::eType> test_key(
F... |
<?php
namespace Zend\Code\Generator\DocBlock\Tag;
use Zend\Code\Generator\DocBlock\Tag;
use Zend\Code\Reflection\DocBlock\Tag\TagInterface as ReflectionDocBlockTag;
/**
* @category Zend
* @package Zend_Code_Generator
*/
class ParamTag extends Tag
{
/**
* @var string
*/
p... |
"""
================================================
Segmenting the picture of greek coins in regions
================================================
This example uses :ref:`spectral_clustering` on a graph created from
voxel-to-voxel difference on an image to break this image into multiple
partly-homogeneous regions.... |
using namespace std;
using namespace utils;
SIMULATOR::KNOWLEDGE::KNOWLEDGE()
: TreeLevel(LEGAL),
RolloutLevel(LEGAL),
SmartTreeCount(10),
SmartTreeValue(1.0) { }
SIMULATOR::SIMULATOR()
: NumActions(0),
Discount(1.0),
RewardRange(1.0),
mHierarchicalPlanning(false),
mF... |
layout: archive
title: "Portfolio"
permalink: /portfolio/
author_profile: true
---
{% include base_path %}
{% for post in site.portfolio %}
{% include archive-single.html %}
{% endfor %}
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `LLVMAddEarlyCSEPass` fn in crate `rustc`.">
<meta name="ke... |
#include "curl_setup.h"
#ifdef USE_LIBRTMP
#include "curl_rtmp.h"
#include "urldata.h"
#include "nonblock.h" /* for curlx_nonblock */
#include "progress.h" /* for Curl_pgrsSetUploadSize */
#include "transfer.h"
#include "warnless.h"
#include <curl/curl.h>
#include <librtmp/rtmp.h>
#include "curl_memory.h"
/* The la... |
/////////////////////////////////////////////////////////////////////////////
// Name: wx/osx/carbon/uma.h
// Purpose: Universal MacOS API
// Author: Stefan Csomor
// Modified by:
// Created: 03/02/99
// Copyright: (c) Stefan Csomor
// Licence: wxWindows licence
///////////////////////////////... |
from __future__ import unicode_literals
import re
import sure # noqa
import moto.server as server
'''
Test the different server responses
'''
def test_ec2_server_get():
backend = server.create_backend_app("ec2")
test_client = backend.test_client()
res = test_client.get(
'/?Action=RunInstances&... |
/*! formstone v0.6.4 [navigation.css] 2015-06-08 | MIT License | formstone.it */
/**
* @class
* @name .fs-navigation-element
* @type element
* @description Target elmement
*/
/**
* @class
* @name .fs-navigation
* @type element
* @description Base widget class
*/
.fs-navigation {
/**
* @class
... |
import './styles.scss'
import {autoInit} from '../base'
import plugin from './index.js'
export default plugin
autoInit(plugin)
|
package vsphere
import (
"context"
"path/filepath"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega"
"github.com/vmware/govmomi/object"
"github.com/vmware/govmomi/vim25/types"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/uuid"
clientset "k8s.io/clien... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*============================================================
**
**
**
**
**
** Purpose: Pins a byte[], exposing ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.msalata.ddm.containers;
import java.util.List;
import org.gephi.graph.api.Graph;
import org.gephi.graph.api.Node;
/**
*
... |
package com.evolveum.polygon.connector.liferay;
import org.identityconnectors.common.logging.Log;
import org.identityconnectors.framework.common.objects.Attribute;
import org.identityconnectors.framework.common.objects.Name;
import org.identityconnectors.framework.common.objects.Uid;
import org.identityconnectors.fra... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE197_Numeric_Truncation_Error__int_fgets_to_short_62a.cpp
Label Definition File: CWE197_Numeric_Truncation_Error__int.label.xml
Template File: sources-sink-62a.tmpl.cpp
*/
/*
* @description
* CWE: 197 Numeric Truncation Error
* BadSource: fgets Read data from t... |
import mock
import sys
import unittest
from oslo.config import cfg
from cloudbaseinit import init
from cloudbaseinit.plugins import base
CONF = cfg.CONF
class InitManagerTest(unittest.TestCase):
def setUp(self):
self._win32com_mock = mock.MagicMock()
self._comtypes_mock = mock.MagicMock()
... |
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.jss=e()}}(function(){var define,module,exports;return... |
package cri
import (
"context"
"fmt"
client "github.com/weaveworks/scope/cri/runtime"
"github.com/weaveworks/scope/probe/docker"
"github.com/weaveworks/scope/report"
)
// Reporter generate Reports containing Container and ContainerImage topologies
type Reporter struct {
cri client.RuntimeServiceClient
}
// Ne... |
package org.andengine.entity.particle.emitter;
import static org.andengine.util.Constants.VERTEX_INDEX_X;
import static org.andengine.util.Constants.VERTEX_INDEX_Y;
import org.andengine.util.math.MathConstants;
import org.andengine.util.math.MathUtils;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @a... |
using Microsoft.CodeAnalysis.Host;
using Microsoft.VisualStudio.Language.NavigateTo.Interfaces;
namespace Microsoft.CodeAnalysis.Editor.Implementation.NavigateTo
{
internal interface INavigateToPreviewService : IWorkspaceService
{
int GetProvisionalViewingStatus(Document document);
bool CanPrev... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../includes/main.css" type="text/css">
<l... |
package org.pentaho.di.trans.steps.openerp.objectoutput;
import java.util.ArrayList;
import java.util.List;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.annotations.Step;
import org.pentaho.di.core.database.DatabaseMeta;
import org.pentaho.di.core.exception.KettleException;
import org.pentaho.di.cor... |
ABoatVehicle::ABoatVehicle()
{
// Buoyancy
BuoyantComponent = CreateDefaultSubobject<UBuoyantComponent>(TEXT("Buoyant Component"));
// Set up buoyancy for more ship-like movement
BuoyantComponent->PointThickness = 100.0f;
BuoyantComponent->DisplacementRatio = 1.0f;
BuoyantComponent->WaterTestPoints.Empty();
for ... |
<?php
/**
* Zend_InfoCard_Cipher_Symmetric_Adapter_Abstract
*/
require_once 'Zend/InfoCard/Cipher/Symmetric/Adapter/Abstract.php';
/**
* Zend_InfoCard_Cipher_Symmetric_Aes256cbc_Interface
*/
require_once 'Zend/InfoCard/Cipher/Symmetric/Aes256cbc/Interface.php';
/**
* Implements AES256 with CBC encryption imple... |
import { isArray } from 'lodash';
import { NativeCommandsSender } from './adapters/NativeCommandsSender';
import { NativeEventsReceiver } from './adapters/NativeEventsReceiver';
import { UniqueIdProvider } from './adapters/UniqueIdProvider';
import { Store } from './components/Store';
import { ComponentRegistry } from ... |
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STM32F3xx_LL_FMC_H
#define __STM32F3xx_LL_FMC_H
#ifdef __cplusplus
extern "C" {
#endif
#if defined(STM32F302xE) || defined(STM32F303xE) || defined(STM32F398xx)
/* Includes --------------------------------------------------... |
model.costImportDetail = new DataClass("employees", "public");
model.costImportDetail.id = new Attribute("storage","uuid", "key", {autogenerate:true});
model.costImportDetail.employer = new Attribute("relatedEntity", 'costImportHeader', 'costImportHeader');
model.costImportDetail.accountCode = new Attribute("storage"... |
<?php
namespace Symfony\Component\PropertyInfo\Tests\Fixtures;
use Symfony\Component\PropertyInfo\PropertyAccessExtractorInterface;
use Symfony\Component\PropertyInfo\PropertyDescriptionExtractorInterface;
use Symfony\Component\PropertyInfo\PropertyInitializableExtractorInterface;
use Symfony\Component\PropertyInfo... |
#pragma once
#include "envoy/common/pure.h"
namespace Envoy {
namespace Secret {
/**
* Callbacks invoked by a dynamic secret provider.
*/
class SecretCallbacks {
public:
virtual ~SecretCallbacks() = default;
virtual void onAddOrUpdateSecret() PURE;
};
} // namespace Secret
} // namespace Envoy
|
/*
Language: Django
Requires: xml.js
Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
Contributors: Ilya Baryshev <baryshev@gmail.com>
*/
function(hljs) {
function allowsDjangoSyntax(mode, parent) {
return (
parent == undefined || // defaultMode
(!mode.className && parent.className == 'tag') || //... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/programmatic-pom-parsing.iml" filepath="$PROJECT_DIR$/programmatic-pom-parsing.iml" />
</modules>
</component>
</project> |
package common
import (
. "github.com/onsi/ginkgo"
"k8s.io/apimachinery/pkg/util/sets"
"k8s.io/kubernetes/test/e2e/framework"
)
var _ = framework.KubeDescribe("Networking", func() {
f := framework.NewDefaultFramework("pod-network-test")
framework.KubeDescribe("Granular Checks: Pods", func() {
// Try to hit... |
using base::StringPiece;
using std::pair;
using std::string;
namespace net {
namespace tools {
const char* const kV3Host = ":host";
const char* const kV3Path = ":path";
const char* const kV3Scheme = ":scheme";
const char* const kV3Status = ":status";
const char* const kV3Method = ":method";
const char* const kV3Versi... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using UnityEngine;
namespace HoloToolkit.Unity.SpatialMapping
{
/// <summa... |
public class Main
extends junit.framework.TestCase
{
}
|
import { StyleSheet } from 'react-native';
export default StyleSheet.create({
content: {
flex: 1,
},
scrollView: {
flex: 1,
},
});
|
.panel {
overflow: hidden;
text-align: left;
margin: 0;
border: 0;
-moz-border-radius: 0 0 0 0;
-webkit-border-radius: 0 0 0 0;
border-radius: 0 0 0 0;
}
.panel-header,
.panel-body {
border-width: 1px;
border-style: solid;
}
.panel-header {
padding: 5px;
position: relative;
}
.panel-title {
back... |
namespace cc {
scoped_refptr<ImageLayer> ImageLayer::Create() {
return make_scoped_refptr(new ImageLayer());
}
ImageLayer::ImageLayer() : TiledLayer() {}
ImageLayer::~ImageLayer() {}
void ImageLayer::SetBitmap(const SkBitmap& bitmap) {
// SetBitmap() currently gets called whenever there is any
// style change... |
<!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_18) on Sun Jan 13 15:07:55 KST 2013 -->
<TITLE>
WordNextTestDate (Catchis API Documentation)
</TITLE>
<META NAME="date" CONTENT="2013-01-13">
<LINK... |
var fs = require("fs");
var path = require("path");
describe("ConRefs", function () {
var book, readme;
before(function() {
return books.generate("conrefs", "website")
.then(function(_book) {
book = _book;
readme = fs.readFileSync(
path.... |
package org.apache.derby.impl.services.locks;
import org.apache.derby.iapi.services.locks.CompatibilitySpace;
import org.apache.derby.iapi.services.locks.Lockable;
import org.apache.derby.iapi.services.locks.Latch;
import org.apache.derby.shared.common.sanity.SanityManager;
import java.util.List;
import java.util.... |
#include "slu_sdefs.h"
/*! \brief
*
* <pre>
* Purpose
* =======
*
* SGSTRF computes an LU factorization of a general sparse m-by-n
* matrix A using partial pivoting with row interchanges.
* The factorization has the form
* Pr * A = L * U
* where Pr is a row permutation matrix, L is lower triangular w... |
/*!
* Agate by Taufik Nurrohman <https://github.com/tovic>
* ----------------------------------------------------
*
* #ade5fc
* #a2fca2
* #c6b4f0
* #d36363
* #fcc28c
* #fc9b9b
* #ffa
* #fff
* #333
* #62c8f3
* #888
*
*/.hljs{display:block;overflow-x:auto;padding:0.5em;background:#333;color:white}.hljs-na... |
package org.elasticsearch.test.hamcrest;
import org.elasticsearch.Version;
import org.elasticsearch.common.io.stream.NamedWriteableRegistry;
import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.common.io.stream.StreamOutput;
import org.elasticsearch.common.io.stream.Streamable;
import org.... |
#pragma once
#include <ABI43_0_0React/ABI43_0_0renderer/components/view/ViewEventEmitter.h>
namespace ABI43_0_0facebook {
namespace ABI43_0_0React {
class PickerEventEmitter : public ViewEventEmitter {
public:
using ViewEventEmitter::ViewEventEmitter;
struct PickerIOSChangeEvent {
std::string newValue;
... |
/* pako 1.0.0 nodeca/pako */(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}... |
package org.owasp.esapi.reference.crypto;
import java.io.UnsupportedEncodingException;
import javax.crypto.SecretKey;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.owasp.esapi.ESAPI;
import org.owasp.esapi.EncoderConstants;
import org.owasp.... |
<!doctype HTML public "-//W3O//DTD W3 HTML 2.0//EN">
<HTML>
<HEAD>
<TITLE>rgb2gif</TITLE>
<link rev=made href=mailto:esr@snark.thyrsus.com>
</HEAD>
<BODY>
Go to <a href="index.html">index page</a>.
<CENTER><H1>rgb2gif</H1></CENTER>
A program to convert 24 bit images to a GIF image using color quantization.<P>
<H1>U... |
from django.db.models import Aggregate
from django.contrib.gis.db.models.sql import GeomField
class Collect(Aggregate):
name = 'Collect'
class Extent(Aggregate):
name = 'Extent'
class Extent3D(Aggregate):
name = 'Extent3D'
class MakeLine(Aggregate):
name = 'MakeLine'
class Union(Aggregate):
nam... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
in Chevassut & Pellicier, Bull. Soc. mycol. Fr. 117(3): 194 (2002)
#### Original name
Pseudocercospora thymicola Pellic.
### Remarks
null |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.3.4.3_A8_T1;
* @section: 15.3.4.3;
* @assertion: Function.prototype.apply can`t be used as [[create]] caller;
* @description: Checking if creating "new Function.prototype... |
<footer class="web-footer">
<section class="footer-links">
<div class="container">
<div class="row">
<div class="col-xs-9 web-footer-menu">
<ul class="list-inline">
{% for item in footer_items %}
<li><a href="{{ item.url }}" {{ item.target }}
data-label="{{ item.label }}">{{ item.label... |
CKEDITOR.plugins.setLang("sourcedialog","es",{toolbar:"Fuente HTML",title:"Fuente HTML"}); |
package com.siyeh.ig.threading;
import com.intellij.psi.PsiClass;
import com.intellij.psi.PsiField;
import com.intellij.psi.PsiModifier;
import com.intellij.psi.PsiElement;
import com.intellij.codeInspection.ui.SingleCheckboxOptionsPanel;
import com.siyeh.InspectionGadgetsBundle;
import com.siyeh.ig.BaseInspection;
i... |
$:.push File.join(File.dirname(__FILE__), '..', 'lib')
require 'simplecov'
SimpleCov.start do
add_filter "/spec/"
add_filter "/vendor/"
end
|
'use strict'
var http = require('http')
, https = require('https')
, url = require('url')
, util = require('util')
, stream = require('stream')
, zlib = require('zlib')
, bl = require('bl')
, hawk = require('hawk')
, aws2 = require('aws-sign2')
, aws4 = require('aws4')
, httpSignature = require('ht... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="el_GR" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Litecoin</source>
<translation>Σχετικά με το ZipperCoin</translat... |
struct PPB_Proxy_Private;
namespace ppapi {
struct Preferences;
namespace proxy {
class PPAPI_PROXY_EXPORT HostDispatcher : public Dispatcher {
public:
// This interface receives notifications about sync messages being sent by
// the dispatcher to the plugin process. Some parts of Chrome may need to
// know ... |
package com.damonlei.vimdroid.command.base;
/**
* @author damonlei
* @time 2017/3/2
* @email danxionglei@foxmail.com
*/
public class CommandExecuteException extends RuntimeException {
private boolean shouldInterupt;
public CommandExecuteException() {
this.shouldInterupt = false;
}
public... |
"""Common test support for all numpy test scripts.
This single module should provide all the common functionality for numpy tests
in a single location, so that test scripts can just import it and work right
away.
"""
from __future__ import division, absolute_import, print_function
from unittest import TestCase
from... |
#ifndef SWSCALE_SWSCALE_H
#define SWSCALE_SWSCALE_H
/**
* @file
* @brief
* external api for the swscale stuff
*/
#include "libavutil/avutil.h"
#define LIBSWSCALE_VERSION_MAJOR 0
#define LIBSWSCALE_VERSION_MINOR 11
#define LIBSWSCALE_VERSION_MICRO 0
#define LIBSWSCALE_VERSION_INT AV_VERSI... |
module MyMongoid
class UnconfiguredDatabaseError < StandardError
end
class RecordNotFoundError < StandardError
end
end
|
package com.nvapp.video.webrtc;
import java.util.LinkedList;
import org.json.JSONException;
import org.json.JSONObject;
import org.webrtc.IceCandidate;
import org.webrtc.PeerConnection;
import org.webrtc.SessionDescription;
import org.webrtc.StatsReport;
import org.webrtc.VideoRenderer;
import org.webrtc.V... |
cask 'qlrest' do
version :latest
sha256 :no_check
url 'https://github.com/downloads/cluther/qlrest/QLRest.qlgenerator.zip'
name 'QLRest'
homepage 'https://github.com/cluther/qlrest'
qlplugin 'QLRest.qlgenerator'
end
|
class ListValue;
class DebuggerHost : public base::RefCountedThreadSafe<DebuggerHost> {
public:
DebuggerHost() {}
virtual ~DebuggerHost() {}
// call before other methods
virtual void Start() = 0;
// A message from the V8 debugger in the renderer being debugged via
// RenderViewHost
virtual void DebugM... |
namespace net {
namespace {
const size_t kOutputSize = 1024; // Just large enough for this test.
// The number of bytes that can fit in a buffer of kOutputSize.
const size_t kMaxPayloadSize =
kOutputSize - HttpStreamParser::kChunkHeaderFooterSize;
// The empty payload is how the last chunk is encoded.
TEST(Http... |