text stringlengths 3 1.05M |
|---|
package com.mediamath.terminalone.models;
import java.util.ArrayList;
public class T1Error {
private String type;
private String field;
private String message;
private String content;
private ArrayList<FieldError> fieldError;
public String getMessage() {
return message;
}
publ... |
Interact with the [TI SensorTag](http://www.ti.com/tool/cc2541dk-sensor)
* Read Button Presses
* Read Accelerometer Data
Hardware
* [TI SensorTag](http://www.ti.com/tool/cc2541dk-sensor)
Install
$ cordova platform add android ios
$ cordova plugin add cordova-plugin-ble-central
$ cordova run
|
<?php
namespace PhpOption;
final class None extends Option
{
private static $instance;
public static function create()
{
if (null === self::$instance) {
self::$instance = new self();
}
return self::$instance;
}
public function get()
{
throw new ... |
@echo off
SETLOCAL
if NOT DEFINED JAVA_HOME goto err
set SCRIPT_DIR=%~dp0
for %%I in ("%SCRIPT_DIR%..") do set CRATE_HOME=%%~dpfI
REM ***** JAVA options *****
if "%CRATE_MIN_MEM%" == "" (
set CRATE_MIN_MEM=256m
)
if "%CRATE_MAX_MEM%" == "" (
set CRATE_MAX_MEM=1g
)
if NOT "%CRATE_HEAP_SIZE%" == "" (
set CRATE_MI... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Jasmine Spec Runner - Tiles</title>
<link rel="shortcut icon" type="image/png" href="../vendor/jasmine-1.3.1/jasmine_favicon.png">
<link rel="stylesheet" type="text/css" href=... |
package org.jcouchdb.db;
import org.svenson.AbstractDynamicProperties;
import org.svenson.JSONProperty;
/**
* Provides information about the current couchdb server status
*
* @author fforw at gmx dot de
*
*/
public class DatabaseStatus
extends AbstractDynamicProperties
{
private String name;
private... |
#if !defined(BOOST_FUSION_SEGMENTS_04052005_1141)
#define BOOST_FUSION_SEGMENTS_04052005_1141
#include <boost/fusion/support/config.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/fusion/sequence/intrinsic_fwd.hpp>
#include <boost/fusion/support/tag_of.hpp>
names... |
(function ($) {
var settings = [];
var clickSource;
// Collection method.
$.fn.slideReveal = function (options, triggerEvents) {
var self = this;
var paddingLeft = self.css('padding-left');
paddingLeft = paddingLeft ? +paddingLeft.substring(0, paddingLeft.length - 2) : 0;
var paddingRight = s... |
package org.apache.cassandra.db.commitlog;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import com.google.common.collect.ImmutableMap;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.apache.... |
cask :v1 => 'putiosync' do
version :latest
sha256 :no_check
url 'https://github.com/arrizer/PutIOSync-OSX/raw/master/App/PutIOSync.app.zip'
name 'PutIOSync'
homepage 'https://github.com/arrizer/PutIOSync-OSX'
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-genera... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016 The Android Open Source Project
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/... |
package org.apache.camel.component.gae.task;
import java.net.URI;
import org.apache.camel.util.UnsafeUriCharactersEncoder;
/**
* Encapsulates the required canonicalization logic for <code>gtask</code>
* endpoint URIs.
*/
class GTaskEndpointInfo {
private static final String SLASH = "/";
private static f... |
#include "../../SDL_internal.h"
#if SDL_VIDEO_DRIVER_UIKIT
#include "SDL_syswm.h"
#include "SDL_video.h"
#include "SDL_mouse.h"
#include "SDL_assert.h"
#include "SDL_hints.h"
#include "../SDL_sysvideo.h"
#include "../SDL_pixels_c.h"
#include "../../events/SDL_events_c.h"
#include "SDL_uikitvideo.h"
#include "SDL_ui... |
class StatusIconLinuxWrapper : public StatusIcon,
public views::StatusIconLinux::Delegate,
public StatusIconMenuModel::Observer {
public:
virtual ~StatusIconLinuxWrapper();
// StatusIcon overrides:
virtual void SetImage(const gfx::ImageSkia& image) O... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }... |
title: Browser Controlled Raspberry Pi Robot with Live Video and Speech Synthesis
updated: 2016-10-27 15:56
type: project #making the type project will pull this into a different category.
#featured: 1
---
<iframe class="youtube" src="https://www.youtube.com/embed/F3hmwtnsWZA" frameborder="0" allowfullscreen></iframe>
... |
<?php
namespace GuzzleHttp\Tests;
use GuzzleHttp\Exception\RequestException;
use GuzzleHttp\Message\MessageFactory;
use GuzzleHttp\Message\Response;
use GuzzleHttp\RequestFsm;
use GuzzleHttp\Ring\Future\CompletedFutureArray;
use GuzzleHttp\Subscriber\Mock;
use GuzzleHttp\Transaction;
use GuzzleHttp\Client;
use GuzzleH... |
export function decr(key: string) {
return this.decrby(key, 1);
}
|
<?xml version="1.0" encoding="UTF-8"?>
<theme>
<info name="Battle City">
<section>Left Menu</section>
<section>Right Menu</section>
<section>Login Section</section>
<section>Top Menu</section>
</info>
</theme> |
// 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.
using System;
using Microsoft.CodeAnalysis.Shared.Extensions;
using Roslyn.Utilities;
namespace Microsoft.CodeAnal... |
package jsonpointer
import (
"errors"
"fmt"
"reflect"
"strconv"
"strings"
"github.com/go-openapi/swag"
)
const (
emptyPointer = ``
pointerSeparator = `/`
invalidStart = `JSON pointer must be empty or start with a "` + pointerSeparator
)
var jsonPointableType = reflect.TypeOf(new(JSONPointable)).Elem()... |
package org.sagebionetworks.repo.manager.message;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import org.junit.After;
import org.junit.B... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ns_accent">#3d5afe</color>
</resources> |
package com.google.ads.googleads.v12.resources;
public final class ChangeEventProto {
private ChangeEventProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry regi... |
#ifndef VPX_PORTS_ASM_OFFSETS_H
#define VPX_PORTS_ASM_OFFSETS_H
#include <stddef.h>
#define ct_assert(name,cond) \
static void assert_##name(void) UNUSED;\
static void assert_##name(void) {switch(0){case 0:case !!(cond):;}}
#if INLINE_ASM
#define DEFINE(sym, val) asm("\n" #sym " EQU %0" : : "i" (val));
#d... |
namespace chromeos {
namespace {
// Populates app info dictionary with |app_data|.
void PopulateAppDict(const KioskAppManager::App& app_data,
base::DictionaryValue* app_dict) {
std::string icon_url;
if (app_data.icon.isNull()) {
icon_url = webui::GetBitmapDataUrl(*ResourceBundle::GetShare... |
from __future__ import (absolute_import, division, generators, nested_scopes, print_function,
unicode_literals, with_statement)
import os
import subprocess
from pants.base.build_environment import get_buildroot
from pants.util.contextutil import open_zip
from pants.util.dirutil import safe_del... |
This Vagrantfile, when run, will use Vagrant, Ansible, and VirtualBox to build a virtual instance of the Dramble on your local workstation. Make sure you have the juice to run it all, though! You'll need at least 8GB RAM, and a 2+ GHz processor *minimum* if you don't want your computer to choke.
## Install Required So... |
using namespace RBD_LIBRARIES;
#endif
int my_main() // called by main()
{
Tracer tr("my_main "); // for tracking exceptions
int n = 7; // this is the order we will work with
int i, j;
// declare a matrix
SymmetricMatrix H(n);
// load values for Hilbert... |
<?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 ... |
(function (factory) {
//define an AMD module that relies on 'leaflet'
if (typeof define === 'function' && define.amd) {
define(['leaflet'], function (L) {
return factory(L);
});
//define a common js module that relies on 'leaflet'
} else if (typeof module === 'object' && typeof module.exports ===... |
from __future__ import absolute_import, unicode_literals
from google.appengine.ext import ndb
from gaeforms.ndb.form import ModelForm
from gaegraph.model import Node
from tekton.gae.middleware import Middleware
from gaegraph.model import Arc
class ModifiedMiddleware(Middleware):
def set_up(self):
query = G... |
(function() {
'use strict';
angular.module('material.components.datepicker')
.directive('mdCalendarMonth', mdCalendarMonthDirective);
/**
* Private directive consumed by md-calendar. Having this directive lets the calender use
* md-virtual-repeat and also cleanly separates the month DOM constructi... |
{% extends "@atomar/views/admin/_base.html" %}
{% block title %}Permissions{% endblock %}
{% block content %}
<div class="row">
<div class="page-header clearfix">
<h2 class="pull-left">Permissions</h2>
</div>
<div class="well hidden-phone">
<p>You don't have to create any permissions here in order to u... |
package sensu
import "errors"
const DefaultSource = "Kapacitor"
type Config struct {
// Whether Sensu integration is enabled.
Enabled bool `toml:"enabled" override:"enabled"`
// The Sensu client host:port address.
Addr string `toml:"addr" override:"addr"`
// The JIT sensu source name of the alert.
Source strin... |
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'coverage_helper'
require 'maas/client'
RSpec.configure do |config|
config.mock_with :rspec do |mocks|
mocks.verify_partial_doubles = true
end
end
|
/*
* jQuery Plugin Pattern inspired by http://markdalgleish.com/2011/05/creating-highly-configurable-jquery-plugins/
* Author: m.mikolajczyk
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
;(function( $, window, document ){
'use strict';
//plugin constructor
... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports Microsoft.CodeAnalysis.Test.Utilities
Namespace Microsoft.CodeAnalysis.VisualBasic.UnitTests.PDB
Public Class PDBObjectInitializerTests
In... |
from collections import Counter
from typing import TYPE_CHECKING
from airflow.ti_deps.deps.base_ti_dep import BaseTIDep
from airflow.utils.session import NEW_SESSION, provide_session
from airflow.utils.state import State
from airflow.utils.trigger_rule import TriggerRule as TR
if TYPE_CHECKING:
from airflow.setti... |
/**
* @module ol/source/TileArcGISRest
*/
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for ... |
package com.google.security.zynamics.binnavi.yfileswrap.disassembly.types;
import com.google.common.base.Preconditions;
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
import com.google.common.collect.ImmutableCollection;
import com.google.common.collect.ImmutableSet;
import com.go... |
package org.elasticsearch.search.suggest.context;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.search.suggest.analyzing.XAnalyzingSuggester;
import org.apache.lucene.u... |
'use strict';
var path = require('path');
var findup = require('findup-sync');
var multimatch = require('multimatch');
function arrayify(el) {
return Array.isArray(el) ? el : [el];
}
module.exports = function (grunt, options) {
options = options || {};
var pattern = arrayify(options.pattern || ['grunt-*']);
var ... |
package mesosphere.marathon
import java.time.Clock
import akka.Done
import akka.stream.scaladsl.Source
import mesosphere.marathon.core.group.GroupManager
import mesosphere.marathon.core.instance.Instance
import mesosphere.marathon.core.instance.update.{InstanceUpdateEffect, InstanceUpdateOperation}
import mesosphere.... |
jasmine.Matchers = function(env, actual, results) {
this.env = env;
this.actual = actual;
this.passing_message = 'Passed.';
this.results = results || new jasmine.NestedResults();
};
jasmine.Matchers.pp = function(str) {
return jasmine.util.htmlEscape(jasmine.pp(str));
};
jasmine.Matchers.prototype.getResult... |
Delete a user from FreeIPA.
## Example
```js
const {$status} = await nikita.ipa.user.del({
uid: "someone",
connection: {
url: "https://ipa.domain.com/ipa/session/json",
principal: "admin@DOMAIN.COM",
password: "mysecret"
}
})
console.info(`User was deleted: ${$status}`)
```
## Hooks
on_action ... |
var should = require('should');
var assert = require('assert');
var request = require('supertest');
var superagent = require('superagent');
var fs = require('fs');
var helper = require('../helper');
var adminuser = helper.adminuser;
var stduser = helper.stduser;
describe('Account API', function() {
var agent =... |
/* global tinymce, QTags */
// send html to the post editor
var wpActiveEditor, send_to_editor;
send_to_editor = function( html ) {
var editor,
hasTinymce = typeof tinymce !== 'undefined',
hasQuicktags = typeof QTags !== 'undefined';
if ( ! wpActiveEditor ) {
if ( hasTinymce && tinymce.activeEditor ) {
ed... |
namespace Apache.Ignite.Core.Tests.Compute.Forked
{
/// <summary>
/// Forked resource task test.
/// </summary>
public class ForkedResourceTaskTest : ResourceTaskTest
{
/// <summary>
/// Constructor.
/// </summary>
public ForkedResourceTaskTest() : base(true) { }
... |
#include "simulator_manager.h"
#include "resource_manager.h"
#include "simulator_client.h"
#include "simulator_utils.h"
SimulatorManager *SimulatorManager::getInstance()
{
static SimulatorManager s_instance;
return &s_instance;
}
SimulatorManager::SimulatorManager()
{
OC::PlatformConfig conf
{
... |
<?php
namespace Symfony\Component\Security\Core\Exception;
/**
* ProviderNotFoundException is thrown when no AuthenticationProviderInterface instance
* supports an authentication Token.
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Alexander <iam.asm89@gmail.com>
*/
class ProviderNotFoundExcepti... |
`<juicy-tile-editor>` is a Polymer Element that adds an editor to control the setup of [`<juicy-tile-list>`](http://github.com/juicy-tile-list) and [`<juicy-tile-grid>`](http://github.com/juicy-tile-grid)
## Demos
[Check it live!](http://juicy.github.io/juicy-tile-editor)
> [`juicy-tile-grid` examples](http://juicy.g... |
Description
====
Installs development package for zlib.
Requirements
====
Debian, Ubuntu, CentOS, Red Hat, Scientific, Fedora, SUSE.
License and Author
====
Author:: Joshua Timberman (<joshua@opscode.com>)
Copyright:: 2009-2011, Opscode, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may... |
package org.summerb.utils.exceptions;
import org.summerb.i18n.HasMessageArgs;
import org.summerb.i18n.HasMessageCode;
public class GenericRuntimeException extends RuntimeException implements HasMessageCode, HasMessageArgs {
private static final long serialVersionUID = 5911368838530147923L;
private Object[] message... |
package org.apache.wicket.markup.html.form;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.StringTokenizer;
import org.apache.wicket.MetaDataKey;
import org.apache.wicket.markup.ComponentTag;
import org.apache.wicket.mo... |
.adventures-row {
display: flex;
flex-wrap: wrap;
}
#adventures-container {
display: flex;
flex-direction: column;
}
#current-adventure-progress {
margin: 10px 0px;
}
/* Reset */
button {
background: none;
color: inherit;
border: none;
padding: 0;
font: inherit;
cursor: pointer;
outline: inhe... |
var expect = require("chai").expect;
var sinon = require("sinon");
var _ = require("lodash");
var ReadlineStub = require("../../helpers/readline");
var fixtures = require("../../helpers/fixtures");
var Expand = require("../../../lib/prompts/expand");
describe("`expand` prompt", function() {
beforeEach(function() ... |
> **IMPORTANT: Once the packages are installed, they are 'not' linked to the repos. Any changes to the 'installed' packages
need to be copied back into the repo.**
> To receive published messages outside of socket.io (e.g. from a rails server) a **[redis](#redis)** server is required.
> NOTE: The below assumes using... |
package test.exemplo;
import java.util.Random;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.retest.annotation.ReTest;
import org.retest.ReTestRunner;
import org.retest.annotation.LoadTestFromDataFiles;
import org.junit.Ignore;
import org.retest.annotation.SaveBrokenTestDataFiles;
import org.retes... |
require 'formula'
class Libgetdata < Formula
homepage 'http://getdata.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/getdata/getdata/0.8.5/getdata-0.8.5.tar.bz2'
sha1 '4f509e10f9eb6e8cfc378efd8b483b2a2508917f'
option 'with-fortran', 'Build Fortran 77 bindings'
option 'with-perl', 'Build Pe... |
* Add the `refined-pureconfig` subproject which adds support for
refined types to [PureConfig](https://github.com/melrief/pureconfig).
Thanks to [Viktor Lövgren](https://github.com/vlovgr)! ([#233])
* Deprecate `Refined#get` in favor of `Refined#value` to avoid
confusion with `Option#get` which is an unsafe opera... |
<link rel="import" href="comment.html">
<link rel="import" href="parameters.html">
<polymer-element name="dartdoc-item">
<template>
<ul class="nav nav-pills nav-stacked">
<li id="nameGoesHere">
<a href="{{item.prefixedLinkHref}}" id="{{idName}}">
{{item.decoratedName}}</a>
<temp... |
#ifndef WebFrameClient_h
#define WebFrameClient_h
#include "../platform/WebColor.h"
#include "WebAXObject.h"
#include "WebDOMMessageEvent.h"
#include "WebDataSource.h"
#include "WebFrame.h"
#include "WebFrameOwnerProperties.h"
#include "WebHistoryCommitType.h"
#include "WebHistoryItem.h"
#include "WebIconURL.h"
#inc... |
<?php
namespace Amp\Parallel\Worker;
use Amp\Parallel\Context\Thread;
use Amp\Parallel\Sync\Channel;
use Amp\Promise;
/**
* A worker thread that executes task objects.
*
* @deprecated ext-pthreads development has been halted, see https://github.com/krakjoe/pthreads/issues/929
*/
final class WorkerThread extends ... |
/*
This file is part of cpp-ethereum.
cpp-ethereum is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
cpp-ethereum is distributed in the... |
/*
* JsonResourceFormatParser.java
*
* User: Greg Schueler <a href="mailto:greg@dtosolutions.com">greg@dtosolutions.com</a>
* Created: 3/31/11 3:14 PM
*
*/
package com.dtolabs.rundeck.core.resources.format.json;
import com.dtolabs.rundeck.core.common.INodeSet;
import com.dtolabs.rundeck.core.common.NodeEntryImpl;... |
/*
* device.h - generic, centralized driver model
*
* Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>
*
* This file is released under the GPLv2 |
namespace net {
class RttStats;
namespace test {
class TcpCubicBytesSenderPeer;
} // namespace test
class NET_EXPORT_PRIVATE TcpCubicBytesSender : public SendAlgorithmInterface {
public:
TcpCubicBytesSender(const QuicClock* clock,
const RttStats* rtt_stats,
bool reno,
... |
<?php
namespace Imagine\Image\Metadata;
use Imagine\Exception\InvalidArgumentException;
abstract class AbstractMetadataReader implements MetadataReaderInterface
{
/**
* {@inheritdoc}
*/
public function readFile($file)
{
if (stream_is_local($file)) {
if (!is_file($file)) {
... |
use warnings;
use strict;
use Data::Dumper;
use Pod::Usage;
use Getopt::Long;
use Net::DNS;
use Geo::IP;
# global program parameters
my $DEBUG = 0; # set to true if you want some debug output
my $filename;
my $country = 'SE'; # default home country, ISO 3166-1
# global resolver
my $res = Net::DNS::Resolver->new;
$... |
package hudson.tasks;
import hudson.EnvVars;
import hudson.model.labels.LabelAtom;
import hudson.maven.MavenModuleSet;
import hudson.maven.MavenModuleSetBuild;
import hudson.model.AbstractBuild;
import hudson.model.FreeStyleBuild;
import hudson.model.FreeStyleProject;
import hudson.model.JDK;
import hudson.model.Resul... |
<?php
namespace yii\mongodb;
use yii\base\Component;
use yii\db\MigrationInterface;
use yii\di\Instance;
use yii\helpers\Json;
/**
* Migration is the base class for representing a MongoDB migration.
*
* Each child class of Migration represents an individual MongoDB migration which
* is identified by the child c... |
package error;
/**
* Test helper
*/
public class Crash {
typo;
}
|
// 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.
using System.Runtime;
using System.ServiceModel.Security;
using System.ServiceModel.Diagnostics;
using System.Threa... |
import {
isFunction
} from './utils';
import {
noop,
subscribe,
initializePromise,
invokeCallback,
FULFILLED,
REJECTED
} from './-internal';
import {
asap,
setAsap,
setScheduler
} from './asap';
import all from './promise/all';
import race from './promise/race';
import Resolve from './promise/res... |
. ./setenv
rm -rfv bin pkg
go version
go fmt openvg circle clock
go install -v circle clock
|
this is included
|
#pragma once
#include <memory>
#include "envoy/common/pure.h"
#include "envoy/event/dispatcher.h"
namespace Envoy {
namespace Server {
/**
* WatchDog objects are an individual thread's interface with the deadlock
* GuardDog. A shared pointer to a WatchDog is obtained from the GuardDog at
* thread startup. Afte... |
/**
* @module ol/events/Event
*/
/**
* @classdesc
* Stripped down implementation of the W3C DOM Level 2 Event interface.
* See https://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-interface.
*
* This implementation only provides `type` and `target` properties, and
* `stopPropagation` and `preventDefault... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FileHelper - FAKE - F# Make</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Steffen Forkmann, Mauricio Scheffer, Colin Bull">
... |
package org.apereo.cas;
import lombok.extern.slf4j.Slf4j;
import org.apereo.cas.ticket.registry.DefaultHazelcastInstanceConfigurationTests;
import org.apereo.cas.ticket.registry.HazelcastTicketRegistryTests;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
/**
* This is {@link AllTestsSuite}.
*
* @... |
package com.android.gles3jni;
import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.WindowManager;
import java.io.File;
public class GLES3JNIActivity extends Activity {
GLES3JNIView mView;
@Override protected void onCreate(Bundle icicle) {
super.onCre... |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
... |
package org.elasticsearch.plugins;
public class DummyPluginInfo extends PluginInfo {
private DummyPluginInfo(String name, String description, String version, String classname) {
super(name, description, version, classname, false);
}
public static final DummyPluginInfo INSTANCE =
new ... |
require('./')('raw')
require('./disconnections')('raw')
require('./disconnections2')('raw')
|
// Type definitions for Dot-Object v1.4.1
// Project: https://github.com/rhalff/dot-object
// Definitions by: Niko Kovačič <https://github.com/nkovacic>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace DotObject {
interface DotConstructor extends Dot {
new(separator: st... |
cask 'dusty' do
version '0.7.5'
sha256 '9e6cb17530053ffa7ba75bd4fd2b5840dc6508bd1d70166f3e6179ed30f5f721'
url "https://github.com/gamechanger/dusty/releases/download/#{version}/dusty.tar.gz"
appcast 'https://github.com/gamechanger/dusty/releases.atom'
name 'Dusty'
homepage 'https://github.com/gamechanger/d... |
#include "dm.h"
#include "dm-bio-prison.h"
#include <linux/spinlock.h>
#include <linux/mempool.h>
#include <linux/module.h>
#include <linux/slab.h>
/*----------------------------------------------------------------*/
#define MIN_CELLS 1024
struct dm_bio_prison {
spinlock_t lock;
mempool_t *cell_pool;
struct rb... |
package vrpsim.dynamicvrprep.model.impl.dynamicfeature.distance;
import java.util.HashMap;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import vrpsim.dynamicvrprep.model.api.DynamicVRPREPModel;
import vrpsim.dynamicvrprep.model.api.dynamicfeature.ADynamicModelFeature;
import vrpsim.... |
package org.apache.flink.test.checkpointing;
import org.apache.flink.api.common.functions.ReduceFunction;
import org.apache.flink.api.common.restartstrategy.RestartStrategies;
import org.apache.flink.api.common.state.ValueState;
import org.apache.flink.api.common.state.ValueStateDescriptor;
import org.apache.flink.a... |
static void HCRequireMatcher(id obj)
{
if (![obj conformsToProtocol:@protocol(HCMatcher)])
{
@throw [NSException exceptionWithName:@"NonMatcher"
reason:@"Must be matcher"
userInfo:nil];
}
}
@interface HCThrowsException()
@... |
set -ex
echo "starting in one shot mode to fix large time differences"
ntpd -gq
echo "starting long running nptd"
exec ntpd --nofork -g
|
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateBansTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('bans', function (Blueprint $table) {
$table->... |
var _ = require('lodash'),
when = require('when'),
errors = require('../../errorHandling'),
client = require('../../models/base').client,
knex = require('../../models/base').knex,
sequence = require('when/sequence'),
defaultSettings =... |
// Copyright (C) 2010 The Android Open Source Project
//
// 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 ... |
package org.openqa.selenium;
/**
* A copy of java.awt.Point, to remove dependency on awt.
*/
public class Point {
public int x;
public int y;
public Point(int x, int y) {
this.x = x;
this.y = y;
}
public int getX() {
return x;
}
public int getY() {
return y;
}
public Point mo... |
//
// GTLOrkutConstants.h
//
// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
// Service:
// Orkut API (orkut/v2)
// Description:
// Lets you manage activities, comments and badges in Orkut. More stuff coming
// ... |
class Urgency::LayoutsController < ApplicationController
include Cms::BaseFilter
include Cms::CrudFilter
before_action :allowed?
before_action :set_items
before_action :set_item, only: [:show, :update]
helper_method :readable_layout?, :default_layout?, :selected_layout?
model Cms::Layout
append_view... |
package daemon
import (
"bufio"
"fmt"
"os"
"strconv"
"strings"
"sync"
"time"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/api/types"
"github.com/docker/docker/container"
"github.com/docker/docker/pkg/pubsub"
sysinfo "github.com/docker/docker/pkg/system"
"github.com/opencontainers/runc/libcontai... |
#ifndef CHOICEARR_H
#define CHOICEARR_H
/*
----------------------------------------------------------------------
I n c l u d e s
----------------------------------------------------------------------
*/
#include "tessarray.h"
#include "choices.h"
/*
--------------------------------------------------... |