text stringlengths 3 1.05M |
|---|
The Tomcat plugin collects statistics available from the tomcat manager status
page from the `http://<host>/manager/status/all?XML=true URL.` (`XML=true` will
return only xml data).
See the [Tomcat documentation][1] for details of these statistics.
[1]: https://tomcat.apache.org/tomcat-9.0-doc/manager-howto.html#Serv... |
// AspectRatioOCR.java
// Copyright (c) 2010 William Whitney
// All rights reserved.
// This software is released under the BSD license.
// Please see the accompanying LICENSE.txt for details.
package net.sourceforge.javaocr.ocrPlugins.aspectRatio;
import net.sourceforge.javaocr.scanner.TrainingImage;
import net.sourc... |
#ifndef QOPENGLVERSIONFUNCTIONS_H
#define QOPENGLVERSIONFUNCTIONS_H
#include <QtCore/qglobal.h>
#ifndef QT_NO_OPENGL
#include <QtCore/qhash.h>
#include <QtCore/qpair.h>
#include <QtGui/qopengl.h>
QT_BEGIN_NAMESPACE
class QOpenGLContext;
#if 0
// silence syncqt warnings
#pragma qt_class(QOpenGLVersionFunctions)
... |
using System;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using PushPageFromNative.Droid;
[assembly: Xamarin.Forms.Dependency(typeof(MainActivity))]
namespace PushPageFromNative.Droid
{
[Activity(Label = "Pus... |
package characteristic
type Identify struct {
*Bool
}
func NewIdentify() *Identify {
b := NewBool(false, PermsWriteOnly())
b.Type = TypeIdentify
return &Identify{b}
}
|
module Helper.Pretty
( module Lesson05
) where
import Lesson05 (prettySuit, prettyRank, prettyCard, prettyHand)
|
package com.avast.android.dialogs.util;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.SparseBooleanArray;
public class SparseBooleanArrayParcelable extends SparseBooleanArray implements Parcelable {
public static Parcelable.Creator<SparseBooleanArrayParcelable> CREATOR = new Parcelab... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\models\DiagnosticsDetails */
$this->title = Yii::t('app', 'Create Diagnostics Details');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Diagnostics Details'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;... |
declare module deepDiff {
interface IDiff {
kind: string;
path: string[];
lhs: any;
rhs: any;
index?: number;
item?: IDiff;
}
interface IAccumulator {
push(diff: IDiff): void;
length: number;
}
interface IPrefilter {
(path: st... |
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof module === 'object' && module.exports) {
// Node/CommonJS
module.exports = factory(require('jquery'));
} else {
... |
import React, { Component } from "react";
import trackingContextTypes from "../src/tracking-context-types";
export default WrappedComponent => {
class TestContext extends Component {
getChildContext() {
const self = this;
return {
tracking: {
analytics(...args) {
self.pr... |
// Copyright 2015, EMC, Inc.
/* jshint node:true */
'use strict';
describe(require('path').basename(__filename), function () {
var base = require('./base-tasks-spec');
base.before(function (context) {
context.taskdefinition = helper.require('/lib/task-data/tasks/analyze-esx-repo.js');
});
de... |
use crate::ast::*;
use crate::conf::ParsedConf;
use crate::error::*;
use crate::runtime::WeldRuntimeErrno;
use crate::sir::*;
use crate::util::stats::CompilationStats;
use std::fmt;
mod llvm;
pub use self::llvm::load_library;
/// A wrapper for a struct passed as input to Weld.
#[derive(Clone, Debug)]
#[repr(C)]
pub... |
/* The main calendar widget. DIV containing a table. */
.calendar {
position: relative;
display: none;
border: 1px solid;
border-color: #fff #000 #000 #fff;
font-size: 11px;
cursor: default;
background: Window;
color: WindowText;
font-family: tahoma, verdana, sans-serif;
}
.calendar table {
border: 1px soli... |
<resources>
<string name="app_name">GoalsAndHabits</string>
<string name="title_activity_bottom_menu">BottomMenuActivity</string>
<string name="title_my_habits">My Habits</string>
<string name="title_map">Map</string>
<string name="title_habit_history">Habit History</string>
<string name="cancel... |
#ifndef REDSHIFT_UTIL_TAR_H
#define REDSHIFT_UTIL_TAR_H
#include <redshift/kernel.h>
#define TAR_FILENAME_MAX 100UL
/**
* A file in a TAR archive.
*/
struct tar_file {
char filename[TAR_FILENAME_MAX];
uintptr_t start;
uint32_t hash;
uint32_t mode;
uint32_t size;
uint32_t checksum;... |
<?php
namespace Zend\Validator\Translator;
interface TranslatorAwareInterface
{
/**
* Sets translator to use in helper
*
* @param TranslatorInterface $translator [optional] translator.
* Default is null, which sets no translator.
* @param string $textDomain [optional] tex... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
using System;
using System.Collections.Generic;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.Editor.Shared.Extensions;
using Microsoft.CodeAnalysis.Editor.Shared.Preview;
us... |
package mgo
import (
"errors"
"fmt"
"net"
"sync"
"time"
"gopkg.in/mgo.v2/bson"
)
type replyFunc func(err error, reply *replyOp, docNum int, docData []byte)
type mongoSocket struct {
sync.Mutex
server *mongoServer // nil when cached
conn net.Conn
timeout time.Duration
addr s... |
package main
import (
"flag"
"github.com/golang/glog"
"github.com/google/cadvisor/utils/oomparser"
)
// demonstrates how to run oomparser.OomParser to get OomInstance information
func main() {
flag.Parse()
// out is a user-provided channel from which the user can read incoming
// OomInstance objects
outStream... |
package com.intel.analytics.bigdl.utils.caffe
import java.io.{ByteArrayInputStream, ByteArrayOutputStream, OutputStream}
import scala.collection.JavaConverters._
import caffe.Caffe.{LayerParameter, NetParameter, V1LayerParameter}
import com.intel.analytics.bigdl.nn.{Container, Graph, Sequential, View}
import com.int... |
/**
* General actuator system support classes.
*/
package org.springframework.boot.actuate.system;
|
using System;
namespace Microsoft.Azure.Management.Csm
{
public partial interface IResourceManagementClient : IDisposable
{
/// <summary>
/// Gets the API version.
/// </summary>
string ApiVersion
{
get;
}
/// <summary>
/// G... |
<?php
;
/*
* 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.
*/
/**
* Description of PageElement
*
* @author skwakwa
*/
class PageElement extends Eloquent {
protected $table="... |
<!doctype html>
<head>
<meta name="timeout" content="long"></meta>
<script src = "/resources/testharness.js"></script>
<script src = "/resources/testharnessreport.js"></script>
<script src = "/serviceworker/resources/test-helpers.js"></script>
<script src = "/serviceworker/resources/fetch-test-options.js"></script>
<sc... |
using System.Collections.Generic;
using DatDigger;
using DatDigger.Sections.Model;
using DatDigger.Sections.Texture;
using SlimDX;
using SlimDX.Direct3D9;
namespace ModelViewer.Renderer
{
public class PreviewChara : Sample
{
private CharaModelData modelData;
private Model[] models;
pr... |
"""
easydate
~~~~~~~~
Provides easy, eidetic interface for python `datetime`
"""
from datetime import datetime, date, timedelta
class DatetimeError(Exception):
"""Base class for errors raised in easydate"""
pass
class Datetime(datetime):
"""Leaving supported features of `datetime`,
... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.genmod.families.family.Binomial.predict — statsmodels v0.10.2 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="... |
<?php
namespace Oro\Bundle\AttachmentBundle\Tests\Unit\Entity;
abstract class EntityTestAbstract extends \PHPUnit_Framework_TestCase
{
protected $entity;
public function tearDown()
{
unset($this->entity);
}
/**
* @dataProvider getSetDataProvider
*
* @param string $propert... |
<?php
namespace Web\Form\Element;
class Button extends Internal\InputElement {
function __construct($value = '',$type = 'button'){
parent::__construct($type,null,$value);
}
} |
/* 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... |
module RocksDB
class DBError < ::RocksDB::Error; end;
class Iterator
extend Gem::Deprecate
alias_method :valid, :valid?
deprecate :valid, :valid?, 2019, 12
end
class DB
extend Gem::Deprecate
alias_method :new_iterator, :to_iterator
deprecate :new_iterator, :to_iterator, 2019, 12
... |
"""The tests for UVC camera module."""
import socket
import unittest
from unittest import mock
import requests
from uvcclient import camera
from uvcclient import nvr
from homeassistant.bootstrap import setup_component
from homeassistant.components.camera import uvc
from tests.common import get_test_home_assistant
c... |
<?php
require_once 'Zend/Feed/Writer/Renderer/Feed/Atom/AtomAbstract.php';
/**
* @category Zend
* @package Zend_Feed_Writer
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Feed_W... |
#ifndef WebKitBlobBuilder_h
#define WebKitBlobBuilder_h
#include "BlobData.h"
#include <wtf/Forward.h>
namespace WebCore {
// FIXME: Move this file to BlobBuilder.h
class Blob;
class TextEncoding;
typedef int ExceptionCode;
class BlobBuilder {
public:
BlobBuilder();
void append(Blob*);
void append(... |
The *catalysts* package is used for adding or removing catalysts for Alchemical Fusion.
## Calling
You can call the *catalysts* package using `mods.skyresources.catalysts`
## Catalyst Addition
```zenscript
//mods.skyresources.catalysts.add(IItemStack stack, float value);
mods.skyresources.catalysts.add(<minecraft:d... |
package session
import (
"net/url"
"github.com/vmware/govmomi/property"
"github.com/vmware/govmomi/vim25"
"github.com/vmware/govmomi/vim25/methods"
"github.com/vmware/govmomi/vim25/mo"
"github.com/vmware/govmomi/vim25/types"
"golang.org/x/net/context"
)
type Manager struct {
client *vim25.Client
user... |
package com.bijoykochar.launcher.comparators;
import android.annotation.TargetApi;
import android.app.usage.UsageStats;
import java.util.Comparator;
/**
* The last time used comparator
* Created by bijoy on 10/18/15.
*/
public class AppLastUsedReverseComparator implements Comparator<UsageStats> {
@TargetApi(... |
securecookie
============
[](https://godoc.org/github.com/gorilla/securecookie) [](https://travis-ci.org/gorilla/securecookie)
securecookie encodes and decodes authenticate... |
"""Tests for Keras optimizers."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import gc
import weakref
import numpy as np
from tensorflow.python import keras
from tensorflow.python.eager import context
from tensorflow.python.framework import ops
from ... |
//===----------------------------------------------------------------------===//
//
// Peloton
//
// tile_group_test.cpp
//
// Identification: test/storage/tile_group_test.cpp
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===-----------------------------------------... |
{% extends "admin/base_site.html" %}
{% load i18n %}
{% load admin_urls %}
{% block breadcrumbs %}
<div class="breadcrumbs">
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
› <a href="{% url 'admin:app_list' app_label=opts.app_label %}">{{ app_label|capfirst }}</a>
› <a href="{% url opts|admin_u... |
package org.elasticsearch.action.admin.indices.analyze;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
import org.apache.lucene.analysis.tokenattributes.OffsetAttribute;
import org.apache.lucene.analysis.t... |
<?php use Hook\Application\Config;
class ConfigDeployTest extends TestCase
{
public function testConfigDeploy()
{
$deployed = Config::deploy(array(
'something' => array(
'very' => array(
'deep' => array(
'here' => 'value'
... |
#if !defined(lint) && !defined(DOS)
static char rcsid[] = "$Id: rename.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
#endif
#include <system.h>
#include "err_desc.h"
#include "../charconv/utf8.h"
#include "../charconv/filesys.h"
#include "rename.h"
/*-------------------------------------------------------... |
SELECT DISTINCT r_name FROM region
|
package com.thoughtworks.studios.shine.semweb;
public interface RDFOntology {
public final static String URI = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
public final static String PREFIX = "rdf";
public final static RDFProperty TYPE = new RDFProperty(URI + "type");
}
|
package libcontainer
import (
"github.com/docker/libcontainer/configs"
)
type Factory interface {
// Creates a new container with the given id and starts the initial process inside it.
// id must be a string containing only letters, digits and underscores and must contain
// between 1 and 1024 characters, inclusi... |
<?php
/**
* @see Zend_Uri
*/
// require_once 'Zend/Uri.php';
/**
* @see Zend_Validate_Hostname
*/
// require_once 'Zend/Validate/Hostname.php';
/**
* HTTP(S) URI handler
*
* @category Zend
* @package Zend_Uri
* @uses Zend_Uri
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http:/... |
#ifndef TALK_BASE_WIN32WINDOW_H_
#define TALK_BASE_WIN32WINDOW_H_
#ifdef WIN32
#include "talk/base/win32.h"
namespace talk_base {
///////////////////////////////////////////////////////////////////////////////
// Win32Window
///////////////////////////////////////////////////////////////////////////////
class Wi... |
If you are having difficulties running the app or have a question about the service, please ask a question on [dW Answers](https://developer.ibm.com/answers/questions/ask/?topics=watson) or [Stack Overflow](http://stackoverflow.com/questions/ask?tags=ibm-watson).
# Issues
If you encounter an issue with this sample ap... |
/*
* HTML5 Boilerplate
*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/
/* ==========================================================================
Base sty... |
using namespace Eigen;
class ICLasso : public virtual Model {
private:
MatrixXf X; //n * p
MatrixXf Y; //n * 1
float lambda;
float lambda1;
float lambda2;
float gamma;
MatrixXf Beta; //p * 1
MatrixXf Theta;
public:
//constructor
ICLasso();
void set_X(MatrixXf);
void set... |
<?php
/**
* Lexes a template string.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
class Twig_Lexer implements Twig_LexerInterface
{
protected $tokens;
protected $code;
protected $cursor;
protected $lineno;
protected $end;
protected $state;
protected $states;
protected $bra... |
Elastic Hadoop
=========
This playbook installs Hadoop, Yarn, Flume, Elasticsearch, and Kibana to provide large sacel log
analysis.
Requirements
------------
Windows 10
Vagrant 1.8.1 with the latest ubuntu/trusty64 box
VirtualBox 5.0.20
Instructions
--------------
Clone the repository from the following URL:
http... |
<?php
namespace Mockery;
use Mockery\Generator\Generator;
use Mockery\Generator\MockConfigurationBuilder;
use Mockery\Loader\Loader as LoaderInterface;
class Container
{
const BLOCKS = \Mockery::BLOCKS;
/**
* Store of mock objects
*
* @var array
*/
protected $_mocks = array();
... |
<?php defined('BX_DOL') or die('hack attempt');
bx_import('BxTemplMenu');
/**
* Site main menu representation.
*/
class BxBaseMenuFooter extends BxTemplMenu
{
public function __construct ($aObject, $oTemplate)
{
parent::__construct ($aObject, $oTemplate);
}
public function getMenuItems ()
... |
CKEDITOR.plugins.setLang( 'templates', 'tr', {
button: 'Şablonlar',
emptyListMsg: '(Belirli bir şablon seçilmedi)',
insertOption: 'Mevcut içerik ile değiştir',
options: 'Şablon Seçenekleri',
selectPromptMsg: 'Düzenleyicide açmak için lütfen bir şablon seçin.<br>(hali hazırdaki içerik kaybolacaktır.):',
title: '... |
/***************************************************************************/
/* */
/* fnterrs.h */
/* */
/* Wi... |
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
define( ["jquery", "../jquery.validate"], factory );
} else if (typeof module === "object" && module.exports) {
module.exports = factory( require( "jquery" ) );
} else {
factory( jQuery );
}
}(function( $ ) {
/*
* Localized default m... |
package clientv3
import (
"sync"
"time"
"github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes"
pb "github.com/coreos/etcd/etcdserver/etcdserverpb"
"golang.org/x/net/context"
"google.golang.org/grpc"
)
type (
LeaseRevokeResponse pb.LeaseRevokeResponse
LeaseID int64
)
// LeaseGrantResponse is used... |
.oo-ui-icon-bigger {
background-image: url("themes/mediawiki/images/icons/bigger-rtl.png");
background-image: -webkit-linear-gradient(transparent, transparent), /* @embed */ url("themes/mediawiki/images/icons/bigger-rtl.svg");
background-image: linear-gradient(transparent, transparent), /* @embed */ url("th... |
package com.nukethemoon.libgdxjam.input;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.InputProcessor;
import com.nukethemoon.libgdxjam.App;
import com.nukethemoon.libgdxjam.Log;
public class InputController implements InputProcessor {
@Override
public boolean keyDown(int keycode) {
boolean result = Gdx.i... |
// boost/chrono/round.hpp ------------------------------------------------------------//
// (C) Copyright Howard Hinnant
// Copyright 2011 Vicente J. Botet Escriba
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.... |
#include "CCNodeReader.h"
#include "CCActionTimelineCache.h"
#include "CCActionTimeline.h"
#include "cocostudio/CCSGUIReader.h"
using namespace cocos2d;
using namespace ui;
namespace cocostudio {
namespace timeline{
static const char* ClassName_Node = "Node";
static const char* ClassName_SubGraph = "SubGraph... |
cask :v1 => 'andy' do
version '43'
sha256 'ed55fb3a389a0afa62043fbdbe31e418aa96b789a743d987903a817fe4a8c75b'
# edgesuite.net is the official download host per the vendor homepage
url "http://andyroid.vonetize.com.edgesuite.net/Mac/v#{version}/Andy_OSX_v#{version}.dmg"
name 'Andy'
homepage 'http://www.andyr... |
(function($)
{
function bind(TimeSyncExtension, cometd)
{
var result = new TimeSyncExtension();
cometd.registerExtension('timesync', result);
return result;
}
if (typeof define === 'function' && define.amd)
{
define(['org/cometd/TimeSyncExtension', 'jquery.cometd']... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<base href="../../" />
<script src="list.js"></script>
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body>
<h1>[name]</h1>
<div class="desc">
A loader for loading an [page:Image].
... |
@interface AddNewEmployeeViewController : SpeRefreshAndLoadViewController<UITextFieldDelegate,UITextViewDelegate,UIAlertViewDelegate,UITableViewDelegate,UITableViewDataSource,UIActionSheetDelegate,UIImagePickerControllerDelegate,UINavigationControllerDelegate>
{
UIScrollView *m_bg;
UITextField *m_userNameInput... |
//===-- HexagonTargetInfo.cpp - Hexagon Target Implementation ------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===--------------------------------------------------... |
package net.avantica.xinef.dapp.view.activity;
import android.os.Bundle;
import android.os.PersistableBundle;
import net.avantica.xinef.dapp.di.HasComponent;
import net.avantica.xinef.dapp.di.components.DaggerPublicInvestmentProjectComponent;
import net.avantica.xinef.dapp.di.components.PublicInvestmentProjectCompone... |
from __future__ import unicode_literals
from operator import attrgetter
from django.apps import apps
from django.contrib.contenttypes.models import ContentType
from django.contrib.sessions.backends.db import SessionStore
from django.db.models import Count
from django.db.models.query_utils import (
DeferredAttribu... |
package org.acra.sender;
import android.content.Context;
import android.net.Uri;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import org.acra.ACRA;
import org.acra.ACRAConstants;
import org.acra.ReportField;
import org.acra.annotation.ReportsCrashes;
import org.acra.collecto... |
<?php
/**
* Represent a native XML-RPC value entity, used as parameters for the methods
* called by the Zend_XmlRpc_Client object and as the return value for those calls.
*
* This object as a very important static function Zend_XmlRpc_Value::getXmlRpcValue, this
* function acts likes a factory for the Zend_XmlRp... |
layout: page
title: Bass Family Reunion
date: 2016-05-24
author: Zachary Mullins
tags: weekly links, java
status: published
summary: Duis venenatis, nunc quis consequat scelerisque.
banner: images/banner/meeting-01.jpg
booking:
startDate: 07/05/2019
endDate: 07/08/2019
ctyhocn: CHSWAHX
groupCode: BFR
published:... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using CppSharp.AST;
namespace CppSharp
{
/// <summary>
/// Used to massage the library types into something more .NET friendly.
/// </summary>
public interface ILibrary
... |
var should = require('should'),
sinon = require('sinon'),
_ = require('lodash'),
Promise = require('bluebird'),
permissions = require('../../server/permissions'),
apiUtils = require('../../server/api/utils'),
sandbox = sinon.sandbox.create();
describe('API Utils', function () {
a... |
package gov.va.escreening.delegate;
import gov.va.escreening.domain.BatterySurveyDto;
import gov.va.escreening.domain.ClinicalNoteDto;
import gov.va.escreening.domain.SurveyDto;
import gov.va.escreening.domain.VeteranAssessmentDto;
import gov.va.escreening.domain.VeteranDto;
import gov.va.escreening.dto.DropDownObject... |
Testify - Thou Shalt Write Tests
================================
[](https://travis-ci.org/stretchr/testify) [](https://goreportcard.com/report/github.com/stretchr/testify) [ {
const { Scope } = Quill.import('parchment')
const BackgroundStyle = Quill.import('formats/background')
const BackgroundColorStyle = new BackgroundStyle.constructor('backgroundColor', 'background-color', {
scope: Scope.INLINE
})
return {
'formats/backgroundColor': Back... |
package org.kaazing.k3po.lang.internal.ast.builder;
import javax.el.ValueExpression;
import org.kaazing.k3po.lang.internal.ast.AstStreamNode;
import org.kaazing.k3po.lang.internal.ast.AstWriteConfigNode;
import org.kaazing.k3po.lang.internal.ast.value.AstExpressionValue;
import org.kaazing.k3po.lang.internal.ast.val... |
<?php
namespace ZendTest\Log;
use \PHPUnit_Framework_TestCase as TestCase;
use \Zend\Log\Logger;
/**
* @requires PHP 5.4
*/
class LoggerAwareTraitTest extends TestCase
{
public function testSetLogger()
{
$object = $this->getObjectForTrait('\Zend\Log\LoggerAwareTrait');
$t... |
/**
* This file contains the common middleware used by your routes.
*
* Extend or replace these functions as your application requires.
*
* This structure is not enforced, and just a starting point. If
* you have more middleware you may want to group it as separate
* modules in your project's /lib directory.
... |
'use strict';
const util = require('util');
const UserError = require('..');
function MyError(id, message, properties) {
UserError.call(this, message, properties);
this.id = id;
}
util.inherits(MyError, UserError);
function fail() {
throw new MyError('test', 'something failed');
}
try {
fail();
} catch (er... |
package org.apache.hadoop.io;
import java.io.IOException;
import java.util.List;
/** Encapsulate a list of {@link IOException} into an {@link IOException} */
public class MultipleIOException extends IOException {
/** Require by {@link java.io.Serializable} */
private static final long serialVersionUID = 1L;
... |
#ifndef POINT_COMPRESSION_H
#define POINT_COMPRESSION_H
#include <iterator>
#include <iostream>
#include <vector>
#include <string.h>
#include <iostream>
#include <stdio.h>
#include <string.h>
namespace pcl
{
namespace octree
{
/** \brief @b PointCoding class
* \note This class encodes 8-bit different... |
namespace {
// An unprotected pref.
const char kUnprotectedPref[] = "unprotected";
// A protected pref.
const char kProtectedPref[] = "protected";
// A protected pref which is initially stored in the unprotected store.
const char kPreviouslyUnprotectedPref[] = "previously.unprotected";
// An unprotected pref which is ... |
package com.thinkaurelius.titan.hadoop;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Iterables;
import com.thinkaurelius.titan.core.TitanProperty;
import com.thinkaurelius.titan.hadoop.config.ModifiableHadoopConfiguration;
import com.tinkerpop.blueprints.Direction;
import com.tinkerp... |
<?php
namespace ZendTest\View\Strategy;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\EventManager\EventManager;
use Zend\Http\Response as HttpResponse;
use Zend\View\Helper\Placeholder\Registry as PlaceholderRegistry;
use Zend\View\Renderer\PhpRenderer;
use Zend\View\Strategy\PhpRendererStrategy;
... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace Microsoft.HDInsight.Net.Http.Formatting.Formatting
{
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using Microsoft.HDInsight.Net.Http.For... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE131_loop_01.c
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE131.label.xml
Template File: sources-sink-01.tmpl.c
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Allocate memory withou... |
package org.jetbrains.plugins.gradle.model;
import org.jetbrains.annotations.NotNull;
import java.util.Set;
/**
* @author Vladislav.Soroka
* @since 12/20/13
*/
public interface ClasspathEntryModel {
@NotNull
Set<String> getClasses();
@NotNull
Set<String> getSources();
@NotNull
Set<String> getJavado... |
YUI.add('series-marker', function (Y, NAME) {
/**
* Provides functionality for creating a marker series.
*
* @module charts
* @submodule series-marker
*/
/**
* The MarkerSeries class renders quantitative data by plotting relevant data points
* on a graph.
*
* @class MarkerSeries
* @extends CartesianSeries
*... |
package com.intellij.refactoring.rename;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.extensions.ExtensionPointName;
import com.intellij.openapi.extensions.Extensions;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.Pass;
... |
// 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 ma... |
package com.google.security.zynamics.binnavi.Gui.MainWindow.ProjectTree.Nodes.Data.Component;
import com.google.security.zynamics.binnavi.disassembly.types.Section;
/**
* TODO(jannewger): how to let "data providers" know that the current section was changed? We either
* would need to force at least two "data provi... |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for dist/cjs/handlebars/compiler/ast.js</title>
<meta charset="utf-8">
<link rel="stylesheet" href="../../../../prettify.css">
<style>
body, html {
margin:0; padding: 0;
}
body {
font-fa... |
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
/**
* Functionality for creating, loading, and deleting projects.
*/
package com.... |
[](https://travis-ci.org/puppetlabs/puppetlabs-mongodb)
####Table of Contents
1. [Overview] (#overview)
2. [Module Description - What does the module do?](#module-description)
3. [Setup - The basics of getting started with mongodb](... |