text
stringlengths
3
1.05M
package org.apache.accumulo.master.tableOps.bulkVer2; import static java.nio.charset.StandardCharsets.UTF_8; import static org.apache.accumulo.core.metadata.schema.TabletMetadata.ColumnType.LOADED; import static org.apache.accumulo.core.metadata.schema.TabletMetadata.ColumnType.LOCATION; import static org.apache.accu...
path = File.expand_path(File.join(File.dirname(__FILE__), "../lib")) $:.unshift(path) unless $:.include?(path) def asset_timestamp(source) File.mtime("./test/public/#{source}").to_i.to_s end
package org.apache.phoenix.expression; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.util.Arrays; import org.apache.hadoop.hbase.io.ImmutableBytesWritable; import org.apache.hadoop.hbase.util.Bytes; import org.apache.phoenix.expression.visitor.ExpressionVisitor; import ...
namespace Antlr.Runtime.Tree { /** <summary> * How to execute code for node t when a visitor visits node t. Execute * pre() before visiting children and execute post() after visiting children. * </summary> */ public interface ITreeVisitorAction { /** <summary> * E...
import logging.config import yaml,os class Logger: '''Configuration file Loader''' def __init__(self): #File config #logging.config.fileConfig('/opt/esm/etc/logging.conf') current_directory = os.path.dirname(os.path.abspath(__file__)) log_config_path = os.path.join(current_...
#ifndef QXMLFORMATTER_H #define QXMLFORMATTER_H #include <QtXmlPatterns/QXmlSerializer> QT_BEGIN_NAMESPACE class QIODevice; class QTextCodec; class QXmlQuery; class QXmlFormatterPrivate; class Q_XMLPATTERNS_EXPORT QXmlFormatter : public QXmlSerializer { public: QXmlFormatter(const QXmlQuery &query, ...
package io.github.mthli.Ninja.Browser; import io.github.mthli.Ninja.View.NinjaWebView; import java.util.LinkedList; import java.util.List; public class BrowserContainer { private static List<AlbumController> list = new LinkedList<>(); public static AlbumController get(int index) { return list.get(in...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
/** * Created by philin anton on 01.03.14. * skype: anton.philin . * e-mail philin.anton@gmail.com . */ jQuery.preloadImages = function () { var image = (typeof arguments[0] == 'object') ? arguments[0] : arguments; for (var i = 0; i < image.length; i++) { jQuery("<img>").attr("src", image[i]); }...
- text ``doc/en/columns/text.md`` - number ``doc/en/columns/number.md`` - money ``doc/en/columns/money.md`` - datetime ``doc/en/columns/datetime.md`` - action ``doc/en/columns/action.md`` - boolean ``doc/en/columns/boolean.md`` ## Column Type Extensions provided by extension ## ### Action Column Extension ### Column...
/* @group Base */ .chzn-container { font-size: 13px; position: relative; display: inline-block; vertical-align: middle; zoom: 1; *display: inline; } .chzn-container .chzn-drop { background: #fff; border: 1px solid #aaa; border-top: 0; position: absolute; top: 100%; left: -9999px; -webkit-box-s...
<?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" android:layout...
/** * API Bound Models for AngularJS * @version v0.18.2 - 2014-08-30 * @link https://github.com/angular-platanus/restmod * @author Ignacio Baixas <ignacio@platan.us> * @license MIT License, http://www.opensource.org/licenses/MIT */ (function(angular, undefined) { 'use strict'; /** * @mixin PagedModel * * @des...
IS_PREINSTALL=false if [ "$SCRIPT_NAME" == "preinstall" ]; then IS_PREINSTALL=true fi # TODO(cpauya): get version from `ka-lite/kalite/version.py` VERSION="0.16" KALITE_MONITOR="/Applications/KA-Lite-Monitor.app" KALITE="kalite" ORG_LE="org.learningequality" ORG_LE_KALITE="$ORG_LE.kalite" KALITE_PLIST="$ORG_LE_KA...
require "ostruct" module Homebrew def unlink raise KegUnspecifiedError if ARGV.named.empty? mode = OpenStruct.new mode.dry_run = true if ARGV.dry_run? ARGV.kegs.each do |keg| if mode.dry_run puts "Would remove:" keg.unlink(mode) next end keg.lock do ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc on Tue Jan 04 14:56:06 CST 2011--> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <TITLE> xmemcached 1.3.0 API </TITLE> <SCRIPT type="text/jav...
/* -*- Mode: c++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40; -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the L...
<?php /** French localization file for KCFinder * author: Damien Barrère */ $lang = array( '_locale' => "fr_FR.UTF-8", // UNIX localization code '_charset' => "utf-8", // Browser charset // Date time formats. See http://www.php.net/manual/en/function.strftime.php '_dateTimeFull' => "%A, %...
namespace appcache { static const int kMockProcessId = 1; class AppCacheRequestHandlerTest : public testing::Test { public: class MockFrontend : public AppCacheFrontend { public: virtual void OnCacheSelected( int host_id, const appcache::AppCacheInfo& info) OVERRIDE {} virtual void OnStatusChan...
/* * MinIO Cloud Storage, (C) 2018 MinIO, Inc. * * 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 la...
<?php namespace Sylius\Bundle\ProductBundle\Doctrine\ORM; use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; /** * Default product repository. * * @author Paweł Jędrzejewski <pjedrzejewski@diweb.pl> */ class ProductRepository extends EntityRepository { /** * {@inheritdoc} */ prot...
#include <Python.h> #define crypto_MODULE #include "crypto.h" /* * PKCS12 is a standard exchange format for digital certificates. * See e.g. the OpenSSL homepage http://www.openssl.org/ for more information */ static void crypto_PKCS12_dealloc(crypto_PKCS12Obj *self); static int crypto_PKCS12_clear(crypto_PKCS12O...
mpache is a simple linux static web server code by c. base on the 《Linux C程序设计 王者归来》part 26.3 . miku remove the code about cgi file (bug) and add the support for http post request. # how to start make ./mpache # gcc info Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/inc...
YUI.add('widget-position-constrain', function(Y) { /** * Provides constrained xy positioning support for Widgets, through an extension. * * It builds on top of the widget-position module, to provide constrained positioning support. * * @module widget-position-constrain */ var CONSTRAIN = "constrain", CONSTRA...
(function(factory) { if (typeof define === 'function' && define.amd) { define([ 'jquery' ], factory); } else { factory(jQuery); } })(function($) { var API_BASE = 'https://www.googleapis.com/calendar/v3/calendars'; var fc = $.fullCalendar; var applyAll = fc.applyAll; fc.sourceNormalizers.push(function(sou...
/* Project: angular-gantt v1.3.0 - Gantt chart component for AngularJS Authors: Marco Schweighauser, Rémi Alvergnat License: MIT Homepage: https://www.angular-gantt.com Github: https://github.com/angular-gantt/angular-gantt.git */ (function(){ 'use strict'; angular.module('gantt.table', ['gantt', 'gantt.table.t...
> TypeScript is a language for application-scale JavaScript development. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. Any browser. Any host. Any OS. Open Source. > _[TypeScript - typescriptlang.org](http://typescriptlang.org)_ ## Learning TypeScript The [TypeScript website](http:/...
import glob import logging import os logger = logging.getLogger(__name__) _SYS_CLASS_NET = '/sys/class/net' def write_config(filename, data): with open(filename, 'w') as f: f.write(str(data)) def get_file_data(filename): if not os.path.exists(filename): return '' try: with ope...
Simple PHP Model-View-Presenter Engine (AEON Web Engine) ===================== Released under Apache License 2.0 ===================== Copyright 2014-2015 Чернов, Александр (aeonrush@live.ru) https://github.com/AeonRush https://bitbucker.org/AeonRush black_we...
package ini import ( "bytes" "errors" "fmt" "reflect" "time" "unicode" ) // NameMapper represents a ini tag name mapper. type NameMapper func(string) string // Built-in name getters. var ( // AllCapsUnderscore converts to format ALL_CAPS_UNDERSCORE. AllCapsUnderscore NameMapper = func(raw string) string { ...
package com.sap.core.odata.core.edm.parser; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.xml.stream.XMLStreamConstants; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamReader; import com.sap.core.odata.api.edm.Edm; impor...
import com.google.common.collect.Iterables; import java.lang.String; import java.util.List; import java.util.ArrayList; class c { void m() { List<String> l = new ArrayList<>(); Iterable<Boolean> transform = Iterables.tr<caret>ansform(l, new Function<String, Boolean>() { @Override public Boolean ...
WITH year_total AS ( SELECT c_customer_id customer_id, c_first_name customer_first_name, c_last_name customer_last_name, c_preferred_cust_flag customer_preferred_cust_flag, c_birth_country customer_birth_country, c_login customer_login, c_email_address customer_email_address, d_year dy...
using System; using System.Collections; using System.Collections.Generic; namespace FileHelpers { /// <summary> /// Indicates that a string value can't be converted to a dest type. /// </summary> [Serializable] public sealed class ConvertException : FileHelpersException { #r...
package org.apache.flink.runtime.entrypoint; import org.apache.flink.runtime.entrypoint.parser.ParserResultFactory; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.Options; import javax.annotation.Nonnull; import java.util.Properties; import static org.apache.flink.runtime.entrypoint.par...
package com.avanza.astrix.integration.tests.domain.api; public interface LunchStatistics { int getRestaurantCount(); }
<?php namespace Magento\Reports\Test\Unit\Model\ResourceModel\Report; use Magento\Reports\Model\ResourceModel\Report\Collection; class CollectionTest extends \PHPUnit_Framework_TestCase { /** * @var \Magento\Reports\Model\ResourceModel\Report\Collection */ protected $collection; /** * @v...
package cn.sharesdk.onekeyshare.theme.classic; import static com.mob.tools.utils.BitmapHelper.blur; import static com.mob.tools.utils.BitmapHelper.captureView; import static com.mob.tools.utils.R.dipToPx; import static com.mob.tools.utils.R.getBitmapRes; import static com.mob.tools.utils.R.getScreenWidth; import sta...
var inst = require("../index").getInstance(); inst.applyConfig({ debug: true, filter: "debug" }); module.exports = inst.use("transition-timer");
class AbstractItem < ActiveRecord::Base self.abstract_class = true has_one :tagging, :as => :taggable end class Item < AbstractItem end
var jss = function getCssPropertyForRule(rule, prop) { var sheets = document.styleSheets; var slen = sheets.length; for (var i = 0; i < slen; i++) { var rules = document.styleSheets[i].cssRules; var rlen = rules.length; for (var j = 0; j < rlen; j++) { if (rules[j].select...
@extends('admin.app') @section('top-scripts')@stop @section('page-title') Добавить Баннер @stop @section('page-nav') <div class="row h50"> <div class="col-xs-12"> <button form="form-data" class="btn btn-sm btn-primary" name="button" value="0" title="Сохранить"> <i class="a...
using base::SingleThreadTaskRunner; using base::ThreadTaskRunnerHandle; using content::BrowserThread; namespace safe_browsing { namespace { // Used as a backup plan in case the SRT executable was not successfully // downloaded or run. const char kSRTDownloadURL[] = "https://www.google.com/chrome/srt/?chrome-prom...
<?php /** * @see Zend_Service_Amazon */ require_once 'Zend/Service/Amazon.php'; /** * @category Zend * @package Zend_Service * @subpackage Amazon * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD L...
/* crypto/bio/bio_dgram.c */ /* * DTLS implementation written by Nagendra Modadugu * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. */ /* ==================================================================== * Copyright (c) 1999-2005 The OpenSSL Project. All rights reserved. * * Redistribution and us...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["jsonld"] = factory(); else root["jsonld...
package com.hazelcast.map.impl.operation; import com.hazelcast.map.impl.MapDataSerializerHook; import com.hazelcast.nio.ObjectDataInput; import com.hazelcast.nio.ObjectDataOutput; import com.hazelcast.spi.Operation; import java.io.IOException; /** * Operation factory for evict all operations. */ public class Evi...
namespace boost { namespace mpl { namespace aux { template< typename Iterator, typename State > struct iter_fold_if_null_step { typedef State state; typedef Iterator iterator; }; template< bool > struct iter_fold_if_step_impl { template< typename Iterator , typename State , typen...
require 'test_helper' class BowerbirdV2Test < ActiveSupport::TestCase test "truth" do assert_kind_of Module, BowerbirdV2 end end
// 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 System.Collections.Immutable; using System.Composition; using System.Threading; using System.Th...
package com.amazonaws.services.dynamodbv2.metrics; import com.amazonaws.metrics.RequestMetricType; /** * DynamoDB specific request metric type. */ public enum DynamoDBRequestMetric implements RequestMetricType { /** Number of capacity units consumed. */ DynamoDBConsumedCapacity, ; }
(function($) { $.noty.themes.bootstrapTheme = { name: 'bootstrapTheme', modal: { css: { position: 'fixed', width: '100%', height: '100%', backgroundColor: '#000', zIndex: 10000, opacity: 0.6, display: 'none', left: 0, top: 0 } }, style: function() { var containe...
<?xml version="1.0" encoding="UTF-8"?><metadata> <groupId>org.openhie.openempi</groupId> <artifactId>openempi-webapp</artifactId> <version>1.0-SNAPSHOT</version> <versioning> <snapshot> <localCopy>true</localCopy> </snapshot> <lastUpdated>20090727153946</lastUpdated> </versioning> </metadata...
module Settings.StaticFiles where import Prelude (IO) import Yesod.Static import qualified Yesod.Static as Static import Settings (staticDir) -- | use this to create your static file serving site staticSite :: IO Static.Static staticSite = #ifdef DEVELOPMENT Static.staticDevel staticDir #else Static.static static...
<!DOCTYPE html> <html> <head> <title>napoli - Contato</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="stylesheet" href="css/bootstrap.css"> <link rel="stylesheet" href="css/style.css"> </h...
package org.apache.camel.component.rss; import java.util.HashMap; import java.util.Map; import org.apache.camel.builder.RouteBuilder; public class RssEndpointTest extends RssPollingConsumerTest { protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { publ...
wordpress_id: 330 title: Real life simulator wordpress_url: http://spaetzel.com/PermaLink,guid,135.aspx layout: post --- <a href="http://conceptlab.com/simulator/morning/clock800.html?">Wake Up</a> <br /> I just got home from the party. It was all right, the jamming didn't happen, but was ...
package org.apache.hadoop.cli.util; import org.apache.hadoop.fs.FsShell; /** * Class to define Test Command along with its type */ public class CLITestCmd implements CLICommand { private final CLICommandTypes type; private final String cmd; public CLITestCmd(String str, CLICommandTypes type) { cmd = str...
<?php defined('SYSPATH') OR die('No direct script access.'); class Kohana_Image_Imagick extends Image { /** * @var Imagick image magick object */ protected $im; /** * Checks if ImageMagick is enabled. * * @throws Kohana_Exception * @return boolean */ public static function check() { if ( ! e...
package cache import ( "context" "sync" "github.com/containerd/containerd/mount" "github.com/moby/buildkit/cache/metadata" "github.com/moby/buildkit/identity" "github.com/moby/buildkit/snapshot" "github.com/moby/buildkit/util/flightcontrol" "github.com/pkg/errors" "github.com/sirupsen/logrus" ) // Ref is a ...
/*! UIkit 2.20.0 | 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-accordion", ["uikit"], function(){ return compone...
/** Provides internal utilities for implementing Beam aggregators using Spark accumulators. */ package org.apache.beam.runners.spark.aggregators;
/** * bn * * Usage, basic bind: * var myBn = new bn(".my-class"); * * That links every element with "my-class" class name to * bn object. Changes made in any element is automatically updated to * other elements. */ (function(win, doc) { var bn = {}; /** * bn object * * Basic class for ...
#import <UIKit/UIKit.h> @class IGListAdapter; @class IGListSectionController; NS_ASSUME_NONNULL_BEGIN /** Implement this protocol to receive display events for a section controller when it is on screen. */ NS_SWIFT_NAME(ListScrollDelegate) @protocol IGListScrollDelegate <NSObject> /** Tells the delegate that...
0.11.0 Release notes ==================== Darkcoin Core 0.11.0 is forked off the Bitcoin Core 0.9.3. The old darkcoin versions 0.10.x were forked from the Litecoin 0.8 tree. The following changes are introduced in this major release. This list is compiled from the release notes of Bitcoin Core 0.9.0, 0.9.1, 0.9.2, 0....
package main import ( "fmt" "os" _ "github.com/go-sql-driver/mysql" "github.com/jinzhu/gorm" "github.com/qor/qor/l10n" "github.com/qor/qor/media_library" "github.com/qor/qor/publish" ) type User struct { gorm.Model Name string Gender string Languages []Language `gorm:"many2many:user_languages;"` ...
<?php defined('_JEXEC') or die('Restricted access'); require_once( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'table.php' ); require_once( JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_easyblog' . DIRECTORY_SEPARATOR . 'constants.php' ); require_once( EBLOG_HELPERS . DIRECTORY_SEPARATO...
dffjs ===== Duplicate file finder for node js
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v6.2.0 * @link http://www.ag-grid.com/ * @license MIT */ var events_1 = require("../events"); var utils_1 = require("../utils"); var ComponentUtil = (function () { function ComponentUtil() { ...
<?php namespace paslandau\DomUtility; use paslandau\DomUtility\Exceptions\ElementNotFoundException; class DomUtil{ /** * Gets all namespaces declared in the document. * @see http://stackoverflow.com/a/2470433/413531 * @param \DOMDocument $doc * @return string[] - Array of all declared names...
package com.flyco.animation.BounceEnter; import android.util.DisplayMetrics; import android.view.View; import com.nineoldandroids.animation.ObjectAnimator; import com.flyco.animation.BaseAnimatorSet; public class BounceTopEnter extends BaseAnimatorSet { public BounceTopEnter() { duration = 1000; } ...
var lib = require('./lib/lib.js'); // This is actually the one function that we expose. The rest // isn't ready to use, yet. exports.generate = function(buffer) { var a = new Array(buffer.length); var i; for (i = 0; i < buffer.length; i++) { a[i] = buffer.readUInt8(i); } var key = new lib....
<?php class Application_Form_FrmNavigation{ protected $tr; protected $_start=0; protected $_len=20; protected $_url; protected $_current_page; protected $_record_count; protected $_sign_param; //constructor of class //get len public function getLang(){ $this->tr = Application_Form_FrmLanguages::get...
div { background-image: "url(/static_loc/img/beta.png)"; } span { background-image: url(/static_loc/img/beta.png); } fudge { walnuts: blix "fludgehey now{"; }
module.exports = angular.module('trafficOps.private.monitor.dashboards', []) .controller('DashboardsController', require('./DashboardsController')) .config(function($stateProvider, $urlRouterProvider) { $stateProvider .state('trafficOps.private.monitor.dashboards', { url: '/d...
import hbs from 'htmlbars-inline-precompile'; const likeThisDotRender = (s: string | string[]) => {}; likeThisDotRender(hbs`this is allowed`);
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2002-2018 the original author or authors. ~ ~ 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 ~ ~ https://www.apache.org...
package com.amazonaws.services.simpledb; import com.amazonaws.*; import com.amazonaws.regions.*; import com.amazonaws.services.simpledb.model.*; /** * Interface for accessing AmazonSimpleDB. * Amazon SimpleDB <p> * Amazon SimpleDB is a web service providing the core database * functions of data indexing and quer...
<?php /** * @see OffAmazonPaymentsService_Model */ require_once 'OffAmazonPaymentsService/Model.php'; /** * OffAmazonPaymentsService_Model_ErrorResponse * * Properties: * <ul> * * <li>Error: OffAmazonPaymentsService_Model_Error</li> * <li>RequestId: string</li> * * </ul> */ class OffAmazonPaymentsSe...
import React from 'react'; import { ToolbarButtonRenderer, styles } from './ToolbarButtonRenderer'; const props = { classes: classes(styles), title: 'Pizza button', }; it('should render a button', () => { const actual = shallow( <ToolbarButtonRenderer {...props} onClick={() => {}}> pizza </ToolbarButtonRend...
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2014 Barend Gehrels, Amsterdam, the Netherlands. // Copyright (c) 2008-2014 Bruno Lalande, Paris, France. // Copyright (c) 2009-2014 Mateusz Loskot, London, UK. // Copyright (c) 2014 Adam Wulkiewicz, Lodz, Poland. // This file was modified by...
import 'antd/lib/progress/style/css';
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title> OAST Services </title> </head> <body> <h1>OAST Services</h1> The OAST add-on currently supports the following services: <ul> <li><a href="boast/boas...
import os from gpu_tests import gpu_test_base from gpu_tests import path_util from gpu_tests import webgl_conformance_expectations from gpu_tests import webgl2_conformance_expectations from telemetry.internal.browser import browser_finder from telemetry.page import page_test from telemetry.story.story_set import Stor...
package types import ( "encoding/json" "errors" "fmt" "net/url" "path/filepath" "strconv" "strings" "github.com/appc/spec/schema/common" ) const ( emptyVolumeDefaultMode = "0755" emptyVolumeDefaultUID = 0 emptyVolumeDefaultGID = 0 ) // Volume encapsulates a volume which should be mounted into the files...
<?php namespace Predis\Profile; use Predis\ClientException; use Predis\Command\Processor\CommandProcessingInterface; use Predis\Command\Processor\CommandProcessorInterface; /** * Base class that implements common functionalities of server profiles. * * @author Daniele Alessandri <suppakilla@gmail.com> */ abstr...
package org.jetbrains.idea.maven.server; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.project.Project; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.util.containers.ContainerUtil; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nu...
package org.apache.ignite.cache.hibernate; import org.apache.ignite.Ignite; import org.hibernate.Query; import org.hibernate.cache.spi.QueryResultsRegion; /** * Implementation of {@link QueryResultsRegion}. This region is used to store query results. * <p> * Query results caching can be enabled in the Hibernate ...
#ifndef _LINUX_TIMERQUEUE_H #define _LINUX_TIMERQUEUE_H #include <linux/rbtree.h> #include <linux/ktime.h> struct timerqueue_node { struct rb_node node; ktime_t expires; }; struct timerqueue_head { struct rb_root head; struct timerqueue_node *next; }; extern bool timerqueue_add(struct timerqueue_head *head, ...
package org.traccar.protocol; import io.netty.handler.codec.http.HttpMethod; import org.junit.Test; import org.traccar.ProtocolTest; public class MoovboxProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { var decoder = new MoovboxProtocolDecoder(null); ...
using System; using System.Runtime.CompilerServices; using osu.Framework.Utils; using osuTK; namespace osu.Framework.Graphics.Primitives { /// <summary> /// Represents a single line segment. /// </summary> public readonly struct Line { /// <summary> /// Begin point of the line. ...
package org.elasticsearch.http.netty4.cors; import io.netty.channel.ChannelDuplexHandler; import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.http.DefaultFullHttpResponse; import io.netty.handler.codec.http.HttpHeaderNames; import io.netty.handl...
package put.ci.cevo.util.serialization; import java.io.IOException; public interface ObjectSerializer<T> { public void save(SerializationManager manager, T object, SerializationOutput output) throws IOException, SerializationException; public T load(SerializationManager manager, SerializationInput input) throw...
layout: default title: CAS - CAS Protocol Specification --- <a name="headTop"/> *CAS Protocol 3.0 Specification* ================================ **Authors, Version** ==================== Author: Drew Mazurek Contributors: - Susan Bramhall - Howard Gilbert - Andy Newman - Andrew Petro - Robert Oschwald ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace PancakeCircus.Services { public interface IEmailSender { Task SendEmailAsync(string email, string subject, string message); } }
package com.mossle.security.perm; import com.mossle.security.util.SpringSecurityUtils; public class PermissionChecker { private PermissionMatcher permissionMatcher = new PermissionMatcher(); public boolean isAuthorized(String text) { String want = text; for (String have : SpringSecurityUtils...
package com.offbytwo.jenkins.model; import com.google.common.base.Function; import com.google.common.collect.Lists; import java.util.List; import java.util.Map; public class ComputerWithDetails extends Job { String displayName; List actions; List executors; Boolean idle; Boolean jnlp; Bool...
namespace engine { class BlueGrenadeNormalItemSubSystem : public SubSystem { public: DEFINE_SUB_SYSTEM_BASE( BlueGrenadeNormalItemSubSystem ) BlueGrenadeNormalItemSubSystem(); protected: virtual void Init(); virtual void Update( Actor& actor, double DeltaTime ); private: Scene& mScene; Opt<Norm...
YUI.add('datatable-column-widths', function(Y) { /** Adds basic, programmatic column width support to DataTable. Note, this does not add support for truncated columns. Due to the way HTML tables render, column width is more like `min-width`. Column content wider than the assigned width will cause the column to expan...
namespace Orchard.UI.Navigation { public interface INavigationProvider : IDependency { string MenuName { get; } void GetNavigation(NavigationBuilder builder); } }