text
stringlengths
3
1.05M
<?php namespace Predis\Command; /** * We only perform disconnected tests for this commands because * it is too old (Redis v1.2) and expects a different response * format. * * @group commands * @group realm-key */ class KeyKeysV12xTest extends PredisCommandTestCase { /** * {@inheritdoc} */ p...
/*! UIkit 2.24.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ (function(addon) { var component; if (window.UIkit) { component = addon(UIkit); } if (typeof define == "function" && define.amd) { define("uikit-htmleditor", ["uikit"], function(){ return compo...
int loadConvFile( const char *filename, std::vector<std::string>& table ) { std::ifstream convFile( filename, std::ios::in ); if( convFile.fail() ) { std::cerr << "Failed to read " << filename << std::endl; return 0; } while( ! convFile.eof() ) { std::string houdiniStr; ...
/* @license textAngular Author : Austin Anderson License : 2013 MIT Version 1.3.0-pre13 See README.md or https://github.com/fraywing/textAngular/wiki for requirements and use. */ angular.module('textAngularSetup', []) // Here we set up the global display defaults, to set your own use a angular $provider#decorator. ....
/* * jdarith.c * * Developed 1997-2013 by Guido Vollbeding. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains portable arithmetic entropy decoding routines for JPEG * (implementing the ISO/IEC IS 10918...
.ui-resizable { position: relative;} .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; } .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0;...
package koala.dynamicjava.tree; import koala.dynamicjava.tree.visitor.Visitor; /** * This class represents the complement expression nodes of the syntax tree * * @author Stephane Hillion * @version 1.0 - 1999/04/25 */ public class ComplementExpression extends UnaryExpression { /** * I...
/*! * \file spirit_encoding.cpp * \author Andrey Semashev * \date 20.07.2012 * * \brief This header is the Boost.Log library implementation, see the library documentation * at http://www.boost.org/doc/libs/release/libs/log/doc/html/index.html. */ #include <boost/preprocessor/tuple/elem.hpp> #inclu...
/*! * tablesorter pager plugin * updated 2/22/2014 (v2.15.4) */ /*jshint browser:true, jquery:true, unused:false */ ;(function($) { "use strict"; /*jshint supernew:true */ var ts = $.tablesorter; $.extend({ tablesorterPager: new function() { this.defaults = { // target the pager markup container: null,...
package http2 import ( "bufio" "bytes" "crypto/tls" "errors" "fmt" "io" "log" "net" "net/http" "net/textproto" "net/url" "os" "reflect" "runtime" "strconv" "strings" "sync" "time" "golang.org/x/net/http2/hpack" ) const ( prefaceTimeout = 10 * time.Second firstSettingsTimeout = 2 * time.S...
<?php namespace App\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use App\Comment; use App\User; class CommentLiked extends Notification { use Queueable; /** * Create...
"""MNIST training in imperative mode TensorFlow.""" # pylint: disable=redefined-outer-name from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import tensorflow.contrib.imperative as tf from tensorflow.contrib.learn.python.learn.datasets.mni...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright 2010-present Facebook. 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 U...
""" stats.py - a script to collect statistics about the wiki. usage: python pwb.py stats [OPTIONS] List of parameters -sql The SQL query that will be executed to get the statsistics. These statistics will then be saved on wiki as a table. -out Name of the page on the wiki in which the ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CandleStickSeries.cs" company="OxyPlot"> // Copyright (c) 2014 OxyPlot contributors // </copyright> // <summary> // Represents a series for candlestick charts. // </summary> /...
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]; } } } return target; }; import React from 'react'; import Link from './Link'; /** *...
#ifndef endlesstunnel_obstacle_generator_hpp #define endlesstunnel_obstacle_generator_hpp #include "engine.hpp" #include "obstacle.hpp" // Generates obstacles given a difficulty level. class ObstacleGenerator { private: int mDifficulty; public: inline ObstacleGenerator() { mDiffic...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.jme3.gde.terraineditor; /** * * @author bowens */ class NotifyDescriptor { }
FOUNDATION_EXPORT double ReactiveCocoaVersionNumber; //! Project version string for ReactiveCocoa. FOUNDATION_EXPORT const unsigned char ReactiveCocoaVersionString[]; #import <ReactiveCocoa/EXTKeyPathCoding.h> #import <ReactiveCocoa/EXTScope.h> #import <ReactiveCocoa/NSArray+RACSequenceAdditions.h> #import <ReactiveC...
package gwen.core.eval.lambda.unit import gwen.core.eval.EvalContext import gwen.core.eval.lambda.UnitStep import gwen.core.node.GwenNode import gwen.core.node.gherkin.Step import gwen.core.behavior.BehaviorType class Capture[T <: EvalContext](target: String, source: String) extends UnitStep[T] { override def ap...
class MiqTask module Purging extend ActiveSupport::Concern include PurgingMixin module ClassMethods def purge_date ::Settings.task.history.keep_tasks.to_i_with_method.seconds.ago.utc end def purge_window_size ::Settings.task.history.purge_window_size end de...
require 'byebug/command' module Byebug # # Show (and possibily stop) at every line that changes a global variable. # class TracevarCommand < Command def self.regexp /^\s* tr(?:acevar)? (?: \s+ (\S+))? # (variable-name)? (?: \s+ (stop|nostop))? \s*$/x end def...
#ifndef SHRPX_SPDY_UPSTREAM_H #define SHRPX_SPDY_UPSTREAM_H #include "shrpx.h" #include <memory> #include <ev.h> #include <spdylay/spdylay.h> #include "shrpx_upstream.h" #include "shrpx_downstream_queue.h" #include "memchunk.h" #include "buffer.h" namespace shrpx { class ClientHandler; class SpdyUpstream : pub...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
namespace boost { namespace units { namespace si { /// placeholder class defining si unit system typedef make_system<meter_base_unit, kilogram_base_unit, second_base_unit, ampere_base_unit, kelvin_base_unit, mole_...
@interface T2ViewController : UIViewController @property (strong, nonatomic) IBOutlet UITextField *textf; @property (strong, nonatomic) IBOutlet UILabel *lab; @property (nonatomic) BOOL DivadeZero; - (IBAction)calculate:(id)sender; @end
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- (C) Copyright 2002-4 Robert Ramey - http://www.rrsd.com . Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http:/...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ JBoss, Home of Professional Open Source. ~ Copyright 2012 Red Hat, Inc., and individual contributors ~ as indicated by the @author tags. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the...
#if !defined(__CINT__) || defined(__MAKECINT_) #include "AliFemtoManager.h" #include "AliFemtoEventReaderESDChain.h" #include "AliFemtoEventReaderESDChainKine.h" #include "AliFemtoEventReaderAODChain.h" #include "AliFemtoSimpleAnalysis.h" #include "AliFemtoBasicEventCut.h" #include "AliFemtoESDTrackCut.h" #include "Ali...
<HTML> <HEAD> <TITLE> Changes in TIFF v3.5.2 </TITLE> </HEAD> <BODY BGCOLOR=white> <FONT FACE="Arial, Helvetica, Sans"> <FONT FACE="Arial, Helvetica, Sans"> <BASEFONT SIZE=4> <B><FONT SIZE=+3>T</FONT>IFF <FONT SIZE=+2>C</FONT>HANGE <FONT SIZE=+2>I</FONT>NFORMATION</B> <BASEFONT SIZE=3> <UL> <HR SIZE=4 WIDTH=65% ALI...
package org.apache.camel.component.corda; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.Ignore; import org.junit.Test; import static org.apache.camel.component.corda.CordaConstants.OPERATION; import static org.apache.camel.component.corda.CordaCon...
from wtforms.fields import PasswordField, SelectField, StringField, TextAreaField from wtforms.fields.html5 import EmailField from wtforms.validators import DataRequired, Email, Optional, ValidationError from indico.modules.auth import Identity from indico.modules.users import User from indico.util.i18n import _ from ...
package uk.co.sentinelweb.tvmod.util; import android.app.Activity; import android.content.ComponentName; import android.content.Intent; import android.net.Uri; import android.util.Log; import android.widget.Toast; import javax.inject.Inject; import uk.co.sentinelweb.tvmod.model.Item; /** * Created by robertm on 17...
'use strict'; var has = require('has'); var uniq = require('uniqs'); function LayerCache (opts) { if (!(this instanceof LayerCache)) { return new LayerCache(opts); } this._values = []; this._startIndex = opts.startIndex || 1; } function ascending (a, b) { return a - b; } function reduceV...
var stringWidth = require('string-width') var stripAnsi = require('strip-ansi') var wrap = require('wrap-ansi') var align = { right: alignRight, center: alignCenter } var top = 0 var right = 1 var bottom = 2 var left = 3 function UI (opts) { this.width = opts.width this.wrap = opts.wrap this.rows = [] } UI....
(function () { var code = (function () { 'use strict'; var PluginManager = tinymce.util.Tools.resolve('tinymce.PluginManager'); var DOMUtils = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils'); var getMinWidth = function (editor) { return editor.getParam('code_dialog_width', 600); }; var getMinHeigh...
#ifndef __SCTIPU_15XX_H_ #define __SCTIPU_15XX_H_ #ifdef __cplusplus extern "C" { #endif /** @defgroup SCTIPU_15XX CHIP: LPC15xx SCT Input Processing Unit (SCTIPU) driver * @ingroup CHIP_15XX_Drivers * @{ */ /** * @brief LPC15XX SCTIPU abort enable/source register block structure */ typedef s...
import { RoomJoinEvent } from "../room.join.event"; describe("Events", () => { describe("RoomJoinEvent", () => { it("should have 'room-join' event as name", () => { expect(RoomJoinEvent.eventName).toBe("room-join"); }); it("should initialize event data", () => { // ...
The MIT License (MIT) Copyright (c) 2015 Idea Creation GmbH 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, merg...
/*! * FullCalendar v2.2.2 * Docs & License: http://arshaw.com/fullcalendar/ * (c) 2013 Adam Shaw */ (function(factory) { if (typeof define === 'function' && define.amd) { define([ 'jquery', 'moment' ], factory); } else { factory(jQuery, moment); } })(function($, moment) { ;; var defaults = { lang: 'en'...
package com.puppycrawl.tools.checkstyle.checks.coding; import static com.puppycrawl.tools.checkstyle.checks.coding.IllegalCatchCheck.MSG_KEY; import java.io.File; import org.junit.Assert; import org.junit.Test; import com.puppycrawl.tools.checkstyle.BaseCheckTestSupport; import com.puppycrawl.tools.checkstyle.Defau...
package storm.trident.planner.processor; import backtype.storm.task.TopologyContext; import backtype.storm.tuple.Fields; import java.util.List; import java.util.Map; import storm.trident.operation.Aggregator; import storm.trident.operation.TridentOperationContext; import storm.trident.planner.ProcessorContext; import...
package org.wso2.identity.integration.test.user.mgt; import java.io.File; import java.util.ArrayList; import java.util.List; import org.testng.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import org.wso2.carbon.integration.common.ad...
"use strict"; exports.__esModule = true; var _create = require("babel-runtime/core-js/object/create"); var _create2 = _interopRequireDefault(_create); var _getIterator2 = require("babel-runtime/core-js/get-iterator"); var _getIterator3 = _interopRequireDefault(_getIterator2); var _symbol = require("babel-runtime/...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Gr...
from flask import Flask from flask_admin import Admin, BaseView, expose class MyView(BaseView): @expose('/') def index(self): return self.render('index.html') app = Flask(__name__) app.debug = True admin = Admin(app, name="Example: Quickstart3") admin.add_view(MyView(name='Hello 1', endpoint='test1'...
/*! * FullCalendar v2.2.2 Google Calendar Plugin * Docs & License: http://arshaw.com/fullcalendar/ * (c) 2013 Adam Shaw */ (function(factory) { if (typeof define === 'function' && define.amd) { define([ 'jquery' ], factory); } else { factory(jQuery); } })(function($) { var API_BASE = 'https://www.google...
from __future__ import ( absolute_import, division, print_function, unicode_literals, ) __doc__ = """ Reads additional OpenType layout feature code from the glyphs’ userdata and appends it to automatically generated features. """ # Set user data like this: # Font.glyphs["j_acutecomb"].userData[userdat...
<!doctype html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Enyo Maps Example</title> <script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script> <script src="../../../../1.0/framework/enyo.js" launch="debug" type="text/javascript"></script> </head> <...
jQuery(document).ready(function() { // $("#bw-upload-box").hide(); $('#bw-upload-link').hover(function() { $("#bw-upload-box").slideDown('fast'); }, function() {} ); $('#bw-shell-table').hover(function() { $("#bw-upload-...
{% if article.related_posts %} <section class="well" id="related-posts"> <h4>{{ RELATED_POSTS_TEXT|default('Related Posts:') }}</h4> <ul> {% for related_post in article.related_posts %} <li><a href="{{ SITEURL }}/{{ related_post.url }}">{{ related_post.title }}</a></li> {% endfor %} </ul> </...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_beh...
package com.intellij.util; import com.intellij.openapi.project.Project; import com.intellij.psi.util.CachedValueProvider; import com.intellij.psi.util.ParameterizedCachedValue; import com.intellij.psi.util.ParameterizedCachedValueProvider; import org.jetbrains.annotations.NotNull; public class ParameterizedCachedVa...
'use strict' let config = require('../config') ,port = config.port ,host = 'http://127.0.0.1:' + port ,test = { title: 'home' ,waitForElementVisible: '#wrapper' ,elementPresent: '#nav' ,containsText: ['h2', 'hello, jadepress!'] ,elementCount: ['h2', 1] ,url: 'http://127.0.0.1:' + port } //disable exports['@disa...
<?php namespace Eloquent\Pathogen\Unix; use Eloquent\Pathogen\AbsolutePath; use Eloquent\Pathogen\Factory\PathFactoryInterface; use Eloquent\Pathogen\FileSystem\AbsoluteFileSystemPathInterface; use Eloquent\Pathogen\Normalizer\PathNormalizerInterface; /** * Represents an absolute Unix path. */ class AbsoluteUnix...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > The Date.prototype.getMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes es5id: 15.9.5.20_A3_T1 description: Checking ReadOnly attribute inc...
package com.intellij.openapi.util; public final class UnorderedPair<T> { public final T first; public final T second; public UnorderedPair(T first, T second) { this.first = first; this.second = second; } @Override public int hashCode() { int hc1 = first == null ? 0 : first.hashCode(); int...
/** * WorkflowRequestError.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201505; /** * Lists errors associated with {@link WorkflowRequest workflow requests}. */ public class WorkflowRequestError ...
**Related issue (if applicable):** fixes #<home-assistant issue number goes here> **Pull request in [home-assistant.github.io](https://github.com/home-assistant/home-assistant.github.io) with documentation (if applicable):** home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here> ## Exa...
function toggleUserTeamTodos() { var x = document.getElementById('userTodos'); var y = document.getElementById('teamTodos'); var bx = document.getElementById('buttonUserTodos'); var by = document.getElementById('buttonTeamTodos'); if (x.style.display === 'none' && y.style.display === 'block') { ...
#import "UIControl.h" UIKIT_EXPORT_CLASS @interface UIPageControl : UIControl { NSInteger _currentPage; NSInteger _numberOfPages; } @property (nonatomic) NSInteger currentPage; @property (nonatomic) NSInteger numberOfPages; @property (nonatomic) BOOL hidesForSinglePage; @property (nonatomic,retain) UIColo...
package org.wso2.developerstudio.eclipse.esb; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.eclipse.emf.common.util.Enumerator; /** * <!-- begin-user-doc --> * A representation of the literals of the enumeration '<em><b>Api Resource Url Style</b></em>', * and utility me...
<!doctype html> <html> <head> <meta charset="UTF-8"> <title>Simple Test</title> <link rel="stylesheet" href="simpleShared.css"> <link rel="stylesheet" href="simple1.css"> <script type="text/javascript" src="simple1.js"></script> </head> <body class="testClass"> <p id="testId" class="testClass">Brackets is awesome!</p>...
package org.mercycorps.translationcards.porting; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mercycorps.translationcards.BuildConfig; import org.mercycorps.translationcards.repository.D...
 #pragma once #include <aws/iam/IAM_EXPORTS.h> #include <aws/iam/IAMRequest.h> namespace Aws { namespace IAM { namespace Model { /** */ class AWS_IAM_API GenerateCredentialReportRequest : public IAMRequest { public: GenerateCredentialReportRequest(); Aws::String SerializePayload() const override;...
package com.google.common.testing; import com.google.common.base.CharMatcher; import com.google.common.base.Charsets; import com.google.common.base.Equivalence; import com.google.common.base.Joiner; import com.google.common.base.Optional; import com.google.common.base.Predicate; import com.google.common.base.Splitte...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
from django import forms from django.forms.widgets import Textarea, HiddenInput class CreateZNodeForm(forms.Form): name = forms.CharField(max_length=64) data = forms.CharField(required=False, widget=Textarea) sequence = forms.BooleanField(required=False) class EditZNodeForm(forms.Form): data = forms.CharFie...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
require 'spec_helper' licenses.each do |license| describe "The #{license["title"]} license" do it "should have a title" do expect(license["title"]).to_not be_nil end it "should have a description" do expect(license["description"]).to_not be_nil end describe "SPDX compliance" do ...
FILENAME="members_export_3f3e9231f0.csv" mongoimport --db mailchimp --type csv --headerline --verbose ${FILENAME}
import rospy import tf from math import sin, cos import time import json import subprocess import os from geometry_msgs.msg import Quaternion from geometry_msgs.msg import Twist from sensor_msgs.msg import LaserScan from nav_msgs.msg import Odometry from std_msgs.msg import String from std_msgs.msg import Bool from ar...
namespace blink { // This class encapsulates the properties that are common between mouse and // pointer events and touch points as we transition towards the unified pointer // event model. // TODO(e_hakkinen): Replace WebTouchEvent with WebPointerEvent, remove // WebTouchEvent and WebTouchPoint and merge this into We...
<?php namespace Fisharebest\Localization\Script; class ScriptKitl extends AbstractScript implements ScriptInterface { public function code() { return 'Kitl'; } public function number() { return '505'; } }
/* BASICS */ .CodeMirror { /* Set height, width, borders, and global font properties here */ font-family: monospace; height: 300px; } .CodeMirror-scroll { /* Set scrolling behaviour here */ overflow: auto; } /* PADDING */ .CodeMirror-lines { padding: 4px 0; /* Vertical padding around content */ } .CodeMi...
static HRESULT WINAPI EnumZBufferFormatsCallback( DDPIXELFORMAT* pddpf, VOID* pddpfDesired ) { if( NULL==pddpf || NULL==pddpfDesired ) return D3DENUMRET_CANCEL; // If the current pixel format's match the desired ones (DDPF_ZBUFFER and // possibly DD...
#include "config.h" #if ENABLE(FILTERS) #include "FilterEffect.h" #include "Filter.h" #include "ImageBuffer.h" #include "TextStream.h" #include <wtf/Uint8ClampedArray.h> #if HAVE(ARM_NEON_INTRINSICS) #include <arm_neon.h> #endif namespace WebCore { FilterEffect::FilterEffect(Filter* filter) : m_alphaImage(fa...
<!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_65) on Tue Jun 23 19:39:40 MSK 2015 --> <TITLE> Photo </TITLE> <META NAME="date" CONTENT="2015-06-23"> <LINK REL ="stylesheet" TYPE="text/css" HREF...
<?php /** * @namespace */ namespace Zend\GData\Photos\Extension; /** * Represents the gphoto:width element used by the API. * This indicates the width of a photo in pixels. * * @uses \Zend\GData\Extension * @uses \Zend\GData\Photos * @category Zend * @package Zend_Gdata * @subpackage Photo...
function initReliableSignaler(connection, socketURL) { var socket; if (!connection) throw '"connection" argument is required.'; function initSocket() { if (socket && connection && connection.isInitiator && connection.roomid) { socket.emit('keep-session', connection.roomid); ...
<form id="signup" action="index.html" method="get"> <input type="hidden" name="ajax" value="true" /> First Name: <input type="text" name="fname" id="fname" /> Last Name: <input type="text" name="lname" id="lname" /> email Address (required): <input type="email" name="email" id="email" /> HTML: <inpu...
package net.jforum.dao.generic; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Date; import java.util.List; import net.jforum.JForumExecutionContext; import net.jforum.dao.LuceneDAO; impo...
namespace net { namespace internal { namespace { // Interval between retries to parse config. Used only until parsing succeeds. const int kRetryIntervalSeconds = 5; const wchar_t* const kPrimaryDnsSuffixPath = L"SOFTWARE\\Policies\\Microsoft\\System\\DNSClient"; enum HostsParseWinResult { HOSTS_PARSE_WIN_OK ...
module PullRequests class UnsupportedWebhookActionError < StandardError def initialize(action) @action = action end def message I18n.t("cache.unsupported_action", action: action) end private attr_reader :action end end
package com.facebook.imagepipeline.common; import java.util.Locale; import com.facebook.common.internal.Preconditions; import com.facebook.common.util.HashCodeUtil; /** * Options for resizing. * * <p> Describes the target bounds for the image (width, height) in pixels, as well as the * downscaling policy to em...
class VocShaper; // ----------------------------------------------------------------------------- // --SECTION-- class PathBasedIndex // ----------------------------------------------------------------------------- namespace triagens { namespace arango { class PathB...
package com.wjiec.springaio.reactor.quickstart.hello; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.CommandLineRunner; import org.springframework.stereotype.Component; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import java.util.Arrays; @Slf4j @Component pu...
package org.apache.openwhisk.core.database import akka.Done import akka.actor.ActorSystem import scala.collection.immutable.Queue import scala.concurrent.{ExecutionContext, Future, Promise} import scala.util.{Failure, Success} import akka.stream.{CompletionStrategy, OverflowStrategy} import akka.stream.scaladsl.{Si...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using System.Threading.Tasks; using Microsoft.Owin; using Microsoft.Owin.Extensions; namespace Owin { /// <summary> /// Extension methods for <see cref="IAppBuild...
package org.wso2.carbon.identity.oauth2; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.wso2.carbon.core.AbstractAdmin; import org.wso2.carbon.identity.oauth.event.OAuthEventInterceptor; import org.wso2.carbon.identity.oauth.internal.OAuthComponentServiceHolder; impor...
namespace boost { #ifdef BOOST_MSVC namespace detail{ // // We need all this crazy indirection because a type such as: // // T (*const)(U) // // Does not bind to a <T*> or <T*const> partial specialization with VC10 and earlier // template <class T> struct remove_pointer_imp { typ...
package org.eclipse.bpel.ui.details.providers; import org.eclipse.bpel.model.PartnerLink; import org.eclipse.bpel.ui.details.tree.ITreeNode; import org.eclipse.bpel.ui.details.tree.PortTypeTreeNode; import org.eclipse.jface.viewers.IFilter; import org.eclipse.jface.viewers.Viewer; import org.eclipse.jface.vie...
// (C) Copyright 2015 Martin Dougiamas // // 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 agre...
// // LGIntroductionViewController.h // ladygo // // Created by square on 15/1/21. // Copyright (c) 2015年 ju.taobao.com. All rights reserved. // #import <UIKit/UIKit.h> typedef void (^DidSelectedEnter)(); @interface ZWIntroductionViewController : UIViewController @property (nonatomic, strong) UIScrollView *pagi...
<?php /** * Configuration file generated by ApiTool * * @see https://github.com/CookieShop/apitools.git */ namespace Soapserver\Model\Entity; interface CatpuestoInterface{ /** * Set id * * @param int $id * @return type */ public function setId($id);...
\usepackage{xspace} \newcommand{\pey}{peyotl\xspace} \newcommand{\Pey}{Peyotl\xspace} \newcommand{\ps}{phylesystem\xspace} \newcommand{\otol}{Open Tree of Life\xspace} \newcommand{\nexson}{otNexSON\xspace} \newcommand{\mthcomment}[1]{{\color{red} \textsc{#1}}\xspace} \newcommand{\ejmcomment}[1]{{\color{green} \textsc{#...
package com.github.mobile.ui.commit; import static android.content.Intent.FLAG_ACTIVITY_CLEAR_TOP; import static android.content.Intent.FLAG_ACTIVITY_SINGLE_TOP; import static com.github.mobile.Intents.EXTRA_BASES; import static com.github.mobile.Intents.EXTRA_POSITION; import static com.github.mobile.Intents.EXTRA_R...
<?php defined('SYSPATH') OR die('No direct script access.'); function _ucfirst($str) { if (UTF8::is_ascii($str)) return ucfirst($str); preg_match('/^(.?)(.*)$/us', $str, $matches); return UTF8::strtoupper($matches[1]).$matches[2]; }
/* Smoothness style sheet for jQuery Datepicker v5.0.1. */ .datepick { background-color: #fff; color: #222; border: 1px solid #aaa; border-radius: 0.25em; -moz-border-radius: 0.25em; -webkit-border-radius: 0.25em; font-family: Arial,Helvetica,Sans-serif; font-size: 90%; } .datepick-rtl { direction: rt...
namespace Apache.Ignite.Core.Tests.Cache { using NUnit.Framework; [Category(TestUtils.CategoryIntensive)] public class CachePartitionedNearEnabledTest : CacheAbstractTest { protected override int GridCount() { return 3; } protected override string CacheNam...