text
stringlengths
3
1.05M
/* * @author max */ package org.jetbrains.plugins.groovy.lang; import com.intellij.lang.ASTNode; import com.intellij.openapi.project.DumbService; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Key; import com.intellij.psi.*; import com.intellij.psi.impl.source.SourceTreeToPsiMap; imp...
<?xml version="1.0" encoding="UTF-8"?> <!-- This file is part of the Sylius package. (c) Paweł Jędrzejewski For the full copyright and license information, please view the LICENSE file that was distributed with this source code. --> <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://w...
package com.orientechnologies.orient.core.metadata.schema.clusterselection; import com.orientechnologies.orient.core.metadata.schema.OClass; import com.orientechnologies.orient.core.record.impl.ODocument; /** * Returns always the first cluster configured. * * @author Luca Garulli (l.garulli--at--orientechnologie...
package edu.gemini.pit.ui.binding import scalaz._ /** * Data binding support. An object of type Bound[A,M] is bound to a value of type A, focused down to a value of type * M ("model") via a provided Lens. This allows each UI component to handle a particular small part of the Proposal, * without worrying about the ...
var http = require('http'); var https = require('https'); var net = require('net'); var fs = require('fs'); var path = require('path'); var should = require('should'); var tunnel = require('../index'); function readPem(file) { return fs.readFileSync(path.join('test/keys', file + '.pem')); } describe('HTTPS over HTT...
<?php namespace Lexik\Bundle\FormFilterBundle\Filter\Condition; /** * @author Cédric Girard <c.girard@lexik.fr> */ interface ConditionNodeInterface { const EXPR_AND = 'and'; const EXPR_OR = 'or'; /** * Start a OR sub expression. * * @return static */ public function orX(); ...
// This is modified from Mozilla Reflect.parse test suite (the file is located // at js/src/tests/js1_8_5/extensions/reflect-parse.js in the source tree). // // Some notable changes: // * Removed unsupported features (destructuring, let, comprehensions...). // * Removed tests for E4X (ECMAScript for XML). // * Re...
core-icon-button ================ See the [component page](http://polymer-project.org/docs/elements/core-elements.html#core-icon-button) for more information.
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
package com.thoughtworks.go.server.scheduling; import com.thoughtworks.go.server.perf.SchedulingPerformanceLogger; import com.thoughtworks.go.util.SystemEnvironment; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @Component public class ScheduleCheckLi...
SELECT func1_sql_setint_vol(func2_read_int_stb(a)) FROM foo order by 1;
namespace MassTransit.AzureServiceBusTransport.Configuration { using System; using System.Threading.Tasks; using MassTransit.Configuration; using Middleware; public class SetSessionIdMessageSendTopology<T> : IMessageSendTopology<T> where T : class { readonly IFilter<Sen...
/* * This program 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 2 of the License, or (at your option) * any later version. */ #include <linux/completion.h> #include <linux/device.h> #i...
/** * (created at 2011-1-12) */ package com.alibaba.cobar.parser.ast.expression.logical; import java.util.Map; import com.alibaba.cobar.parser.ast.expression.BinaryOperatorExpression; import com.alibaba.cobar.parser.ast.expression.Expression; import com.alibaba.cobar.parser.ast.expression.primary.literal.LiteralBo...
goog.provide('ol.format.IGC'); goog.provide('ol.format.IGCZ'); goog.require('goog.asserts'); goog.require('goog.string'); goog.require('goog.string.newlines'); goog.require('ol.Feature'); goog.require('ol.format.Feature'); goog.require('ol.format.TextFeature'); goog.require('ol.geom.LineString'); goog.require('ol.proj...
cask 'wireless-transfer' do version :latest sha256 :no_check url 'http://www.wirelesstransferapp.com/wirelesstransferapp-intel.dmg' name 'Wireless Transfer App' homepage 'http://www.wirelesstransferapp.com' license :gratis app 'Wireless Transfer App.app' end
package MyTest::Plugin::Foo; use strict; sub new { return bless {}, $_[0]; } sub frobnitz {} 1;
<ion-view> <ion-nav-title>{{ title }}</ion-nav-title> <mm-nav-buttons side="secondary"> <a ng-show="canSaveGrades" class="button button-clear" ng-click="submitGrade()" aria-label="{{ 'mm.core.done' | translate }}"> {{ 'mm.core.done' | translate }} </a> </mm-nav-buttons> <ion-...
<?php namespace App\Http\Controllers\Application; use App\Http\Controllers\Controller; use App\Page; class PageController extends Controller { /** * Show the page * * @param Page $page * @return Response */ public function index(Page $page) { return view('application.page...
namespace webdriver { class GetSessionCapabilitiesCommandHandler : public IECommandHandler { public: GetSessionCapabilitiesCommandHandler(void) { } virtual ~GetSessionCapabilitiesCommandHandler(void) { } protected: void ExecuteInternal(const IECommandExecutor& executor, const Param...
ActiveRecord::Schema.define(:version => 20130107140856) do create_table "accounts", :force => true do |t| t.integer "user_id" t.string "personal_website" t.string "location" t.string "signature" t.text "introduction" t.datetime "created_at", :null => false ...
<?php namespace AppBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; class UsuarioType extends AbstractType { /** * @param FormBuilderInterface $builder * @param array $options */ public...
/* * These are functions related to parsing and handling hint comments * embedded in the input SQL DDL source. Hint comments convey BDB * configuration information that cannot be represented in SQL DDL. */ #include <ctype.h> #include "db_sql.h" static void hc_warn(char *fmt, ...) { va_list ap; va_start(ap, f...
package proguard.classfile.editor; import proguard.classfile.attribute.ExceptionsAttribute; /** * This class can add exceptions to a given exceptions attribute. * Exceptions to be added must have been added to the constant pool and filled * out beforehand. * * @author Eric Lafortune */ public class ExceptionsA...
package org.apache.jackrabbit.oak.segment; import static com.google.common.collect.Maps.newLinkedHashMap; import static org.apache.jackrabbit.oak.segment.RecordCache.newRecordCache; import static org.apache.jackrabbit.oak.segment.TestUtils.newRecordId; import static org.junit.Assert.assertEquals; import static org.j...
.. ............................................................................. .. .. This file is part of the Jancy toolkit. .. .. Jancy is distributed under the MIT license. .. For details see accompanying license.txt file, .. the public copy of which is also available at: .. http://tibbo.com/downloads/archive/...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser; import android.annotation.TargetApi; import android.app.Activity; import android.app.ActivityManager; import android...
*> \brief \b SLAMCHTST * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * * Authors: * ======== * *> \author Univ. of Tennessee *> \author Univ. of California Berkeley *> \author Univ. of Colorado Denver *> \author NAG...
package com.gyf.immersionbar.sample.fragment.two; import com.gyf.immersionbar.ImmersionBar; import com.gyf.immersionbar.sample.R; import com.gyf.immersionbar.sample.fragment.BaseImmersionFragment; /** * @author geyifeng * @date 2017/7/20 */ public class ServiceTwoFragment extends BaseImmersionFragment { @Overr...
import path from 'path'; import AdmZip from 'adm-zip'; import createStaticPackage from '../src/createStaticPackage'; let subject; let publicFolders; let tmpdir; beforeEach(() => { publicFolders = [ __dirname, // absolute path 'test/integrations/assets', // relative ]; tmpdir = path.resolve(__dirname, ...
@implementation CLLocation (CLExtensions) - (double)bearingInRadiansTowardsLocation:(CLLocation *)towardsLocation { // calculate the bearing in the direction of towardsLocation from this location's coordinate // Formula: θ = atan2(sin(Δlong).cos(lat2), cos(lat1).sin(lat2) − sin(lat1).cos(lat2).cos(Δlong)) // Based...
package unit type StringSubject struct { *Subject value string } func NewStringSubject(base *Subject, value string) *StringSubject { subject := new(StringSubject) subject.Subject = base subject.value = value return subject } func (subject *StringSubject) Named(name string) *StringSubject { subject.Subject.Nam...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Xml; using System.Xml.Linq; using System.Windows.Forms; using System.Diagnostics; using NuGet; using Duality.IO; using Duality.Editor.Properties; using Duality.Editor.Forms; namespace Duality.Editor.P...
using Microsoft.EntityFrameworkCore.TestUtilities; using System; using Xunit; using Xunit.Abstractions; namespace Microsoft.EntityFrameworkCore.Query { public class CompiledQuerySqlCeTest : CompiledQueryTestBase<NorthwindQuerySqlCeFixture<NoopModelCustomizer>> { public CompiledQuerySqlCeTest(Northwind...
using System; using System.Reflection; using System.Reflection.Emit; using System.Threading; using Xunit; namespace System.Reflection.Emit.Tests { public class PropertyBuilderTest10 { private const string DynamicAssemblyName = "TestDynamicAssembly"; private const string DynamicModuleName = "Tes...
This example demonstrates how to write the description of an HTTP API once and then get for free both the HTTP server implementation and the OpenAPI documentation. The application implements a counter whose value can be queried and updated. All the code lives in a single file [Counter.scala](src/main/scala/counter/Cou...
package brandnew.appx.data; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteException; /** * Created by Георгий on 13.05.2017. */ public class DBAdapter { C...
class dtkSubtractionImageNodePrivate { public: dtkComposerTransmitterReceiver<dtkImage *> imgRecv1; dtkComposerTransmitterReceiver<dtkImage *> imgRecv2; dtkComposerTransmitterEmitter<dtkImage *> imgEmt; }; // ///////////////////////////////////////////////////////////////// // dtkSubtractionImageNode // ...
/* Layout helpers ----------------------------------*/ .ui-helper-hidden { display: none; } .ui-helper-hidden-accessible { position: absolute; left: -99999999px; } .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } .ui-helper-...
<?php namespace AppBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; /** * Class DefaultControllerTest * @package AppBundle\Tests\Controller */ class DefaultControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(); $cr...
package api import ( "bytes" "crypto/tls" "crypto/x509" "encoding/json" "fmt" "io" "io/ioutil" "log" "net" "net/http" "net/url" "os" "strconv" "strings" "time" "github.com/hashicorp/go-cleanhttp" ) // QueryOptions are used to parameterize a query type QueryOptions struct { // Providing a datacenter ...
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ // Local vars var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie...
from __future__ import absolute_import, print_function import logging logger = logging.getLogger(__name__) from ..io import curdoc, curstate from ..models import Axis, Grid, Legend, Plot from ..models import glyphs, markers from .helpers import ( _list_attr_splat, _get_range, _process_axis_and_grid, _process_...
<?php /** * @see Zend_Service_Simpy_WatchlistFilter */ //require_once 'Zend/Service/Simpy/WatchlistFilter.php'; /** * @category Zend * @package Zend_Service * @subpackage Simpy * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.co...
'use strict'; module.exports.definition = { set: function (v) { this._setProperty('marker-offset', v); }, get: function () { return this.getPropertyValue('marker-offset'); }, enumerable: true, configurable: true };
package net.zomis.cardshifter.ecs.usage; import com.cardshifter.modapi.actions.ActionAllowedCheckEvent; import com.cardshifter.modapi.actions.ActionPerformEvent; import com.cardshifter.modapi.actions.SpecificActionSystem; import com.cardshifter.modapi.base.Entity; public class EntityCannotUseSystem extends SpecificAc...
'use strict'; var warning = require('warning'); var VibrationIOS = { vibrate: function() { warning('VibrationIOS is not supported on this platform!'); } }; module.exports = VibrationIOS;
require 'active_support/duration' require 'active_support/core_ext/time/conversions' require 'active_support/time_with_zone' require 'active_support/core_ext/time/zones' require 'active_support/core_ext/date_and_time/calculations' require 'active_support/deprecation' class Time include DateAndTime::Calculations C...
@interface NSString (cputype) + (id)stringForCPUType:(int)arg1; - (int)cputype; @end
<!DOCTYPE html> <html lang="zh-cn"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="ECharts"> <meta name="author" content="kener.linfeng@gmail.com"> <tit...
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*- #include <zxing/NotFoundException.h> namespace zxing { NotFoundException::NotFoundException(const char *msg) : ReaderException(msg) {} NotFoundException::~NotFoundException() throw() { } }
 CKEDITOR.plugins.setLang( 'removeformat', 'tr', { toolbar: 'Biçimi Kaldır' });
/* evp_locl.h */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ /* ==================================================================== * Copyright (c) 1999 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without *...
/* eslint-disable prefer-arrow-callback */ import * as CoreMappers from 'kolibri.coreVue.vuex.mappers'; import { FacilityResource, FacilityDatasetResource } from 'kolibri.resources'; import ConditionalPromise from 'kolibri.lib.conditionalPromise'; import { samePageCheckGenerator } from 'kolibri.coreVue.vuex.actions'; ...
package stroom.search.solr; import stroom.datasource.api.v2.DataSource; import stroom.docref.DocRef; import stroom.query.api.v2.QueryKey; import stroom.query.api.v2.SearchRequest; import stroom.query.api.v2.SearchResponse; import stroom.query.common.v2.SearchResponseCreatorManager; import stroom.search.solr.search.Sol...
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import unittest import hypothesis.strategies as st from hypothesis import given, settings import numpy as np from caffe2.python import core, workspace import caffe2.pytho...
// Export helpers module.exports.register = function (Handlebars, options, params) { 'use strict'; Handlebars.registerHelper('icon', function(name) { return new Handlebars.SafeString("<span class='glyphicon glyphicon-" + name + "'></span>"); }); };
using System; using System.Collections.Generic; using System.Threading.Tasks; using Orleans.Runtime; namespace Orleans.Timers { public interface IReminderRegistry { Task<IGrainReminder> RegisterOrUpdateReminder(string reminderName, TimeSpan dueTime, TimeSpan period); Task UnregisterReminder(I...
<!DOCTYPE html> <!-- Copyright (c) 2012 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following di...
' 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 Imports Microsoft.CodeAnalysis.VisualBasic.Syntax Imports Roslyn.Test.Utilities Namespace Microsoft.CodeAnalysi...
""" A utility for responding to user-defined events. Author: Jeff Kinnison (jkinniso) """ class EventHandler(object): """ """ def __init__(self, name, handler, handler_args=[]): self.name = name self._handler = handler self._handler_args def __call__(self): pass
/* This is a compiled file, you should be editing the file in the templates directory */ .pace { -webkit-pointer-events: none; pointer-events: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .pace.pace-inactive .pace-progress { display: none; } .pace .pace-progress { posit...
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title>deploy.pp</title> <link rel="stylesheet" href="http://jashkenas.github.com/docco/resources/docco.css"> </head> <body> <div id='container'> <div id="background"></div> <div id="jump_to"> Jump To &hellip;...
<?xml version="1.0" encoding="UTF-8"?> <sem:triples uri="http://www.lds.org/vrl/specific-people/pioneers/macdonald-agnes-aird-1838-1898" xmlns:sem="http://marklogic.com/semantics"> <sem:triple> <sem:subject>http://www.lds.org/vrl/specific-people/pioneers/macdonald-agnes-aird-1838-1898</sem:subject> <sem:predi...
import { set } from 'ember-metal/property_set'; import { get } from 'ember-metal/property_get'; import { computed } from 'ember-metal/computed'; import { defineProperty } from 'ember-metal/properties'; import { propertyDidChange, beginPropertyChanges, endPropertyChanges } from 'ember-metal/property_events'; impor...
<?php define('LARAVEL_START', microtime(true)); /* |-------------------------------------------------------------------------- | Register The Composer Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader | for ...
using log4net; using Nini.Config; using OpenMetaverse; using OpenSim.Framework; using OpenSim.Framework.Servers.HttpServer; using OpenSim.Server.Base; using OpenSim.Server.Handlers.Base; using OpenSim.Services.Interfaces; using System; using System.Collections.Generic; using System.IO; using System.Reflection; using ...
import { AbstractTestCase, runLoopSettled } from 'internal-test-helpers'; import { runArrayTests, newFixture } from '../helpers/array'; import { get } from '@ember/-internals/metal'; class SetObjectsTests extends AbstractTestCase { async '@test [A,B,C].setObjects([]) = > [] + notify'() { let before = newFixture(...
-- x, y, z... insert into customer (id, name) values (1, 'Rod; Johnson'), (2, 'Adrian Collier'); -- This is also a comment. insert into orders(id, order_date, customer_id) values (1, '2008-01-02', 2); insert into orders(id, order_date, customer_id) values (1, '2008-01-02', 2); INSERT INTO persons( person_id-- ...
namespace BackgroundTasks.Helpers { public static class BadgeHelper { } }
require File.dirname(__FILE__) + '/../abstract_unit' class KernelTest < Test::Unit::TestCase def test_silence_warnings silence_warnings { assert_nil $VERBOSE } assert_equal 1234, silence_warnings { 1234 } end def test_silence_warnings_verbose_invariant old_verbose = $VERBOSE silence_warnings { r...
from __future__ import unicode_literals import glob import gzip import os import warnings import zipfile from itertools import product from django.apps import apps from django.conf import settings from django.core import serializers from django.core.exceptions import ImproperlyConfigured from django.core.management.b...
angular.module('gitphaser') .controller('SetupController', SetupCtrl); // @controller: SetupCtrl // @params: $scope, $state // @route: /setup // // Functions to toggle state change when user approves requests for permission to use // iBeacon and APNS on new account creation and new installs function SetupCtrl ($scop...
package com.thoughtworks.go.config.remote; import com.thoughtworks.go.config.*; import com.thoughtworks.go.config.preprocessor.SkipParameterResolution; import com.thoughtworks.go.domain.ConfigErrors; import com.thoughtworks.go.domain.PipelineGroups; /** * Part of cruise configuration that can be stored outside of ...
set -eu -o pipefail if [[ $OSTYPE == "darwin"* ]]; then LDFLAGS="$LDFLAGS -lc" fi make DIR_INC="$PREFIX/include" LDFLAGS="$LDFLAGS" CC=$CXX mkdir -p $PREFIX/bin make install BINDIR=$PREFIX/bin
package com.navercorp.pinpoint.profiler.context.grpc; import com.google.protobuf.GeneratedMessageV3; import com.navercorp.pinpoint.bootstrap.context.ServerMetaData; import com.navercorp.pinpoint.bootstrap.context.ServiceInfo; import com.navercorp.pinpoint.common.Version; import com.navercorp.pinpoint.grpc.trace.PAge...
namespace base { namespace trace_event { namespace { int g_atrace_fd = -1; const char kATraceMarkerFile[] = "/sys/kernel/debug/tracing/trace_marker"; void WriteEvent( char phase, const char* category_group, const char* name, unsigned long long id, const char** arg_names, const unsigned char* ...
package org.elasticsearch.integration.storm; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.storm.task.OutputCollector; import org.apache.storm.task.TopologyContext; import org.apache.storm.topology.IRichBolt; import org.apache.storm.topo...
package org.apache.camel.component.http4; import org.apache.http.impl.client.HttpClientBuilder; /** * A pluggable strategy for configuring the HttpClient used by this component * * @version */ public interface HttpClientConfigurer { /** * Configure the HttpClient such as setting the authentication or ...
"use strict"; function nullOrUndef(t) { return t === null || t === undefined; } var Maybe = (function () { function Maybe(t) { this.t = t; } Maybe.lift = function (t) { if (nullOrUndef(t)) { return Maybe.nothing; } return new Maybe(t); }; Maybe.all = f...
#if GOOGLE_CUDA #define EIGEN_USE_GPU #include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/kernels/inplace_ops_functor.h" #include "tensorflow/core/util/cuda_kernel_helper.h" namespace tensorflow { namespace functor { typedef Eigen::GpuDevice Device; template <typename T> __glob...
namespace sandbox { // This class handles sync-related IPC calls. class SyncDispatcher : public Dispatcher { public: explicit SyncDispatcher(PolicyBase* policy_base); ~SyncDispatcher() {} // Dispatcher interface. virtual bool SetupService(InterceptionManager* manager, int service); private: // Processes I...
package org.apache.jackrabbit.core.state; import org.apache.jackrabbit.core.id.NodeId; import org.apache.jackrabbit.spi.Name; import java.lang.ref.Reference; import java.lang.ref.WeakReference; import java.util.Collection; import java.util.concurrent.CopyOnWriteArrayList; /** * Component that holds references to l...
typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown #pragma mark Named Structures struct CATransform3D { double m11; double m12; double m13; double m14; double m21; double m22; double m23; double m24; double m31; double m32; double m33; d...
#import <Foundation/Foundation.h> @class USElement; @class USMessage; @interface USPart : NSObject { NSString *name; USElement *element; USMessage *__strong message; } @property (nonatomic, copy) NSString *name; @property (nonatomic, strong) USElement *element; @property (nonatomic, strong) USMessage *message; ...
// Copyright (c) Jon Hanna. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using Xunit; namespace System.Linq.Expressions.Tests { public abstract class GotoExpressionTests { pro...
@interface RetrievePwdViewController : UIViewController @end
class Article < CouchRest::Model::Base use_database COUCH_DB property :title, String property :content, String property :published_at, Time property :authors, [String] property :category # tech, business, politics, sports, etc. property :ratings, Integer # 1-5, 5 is the highest proper...
alias g='git' compdef g=git alias gst='git status' compdef _git gst=git-status alias gd='git diff' compdef _git gd=git-diff alias gdc='git diff --cached' compdef _git gdc=git-diff alias gdt='git diff-tree --no-commit-id --name-only -r' compdef _git gdc=git diff-tree --no-commit-id --name-only -r alias gl='git pull' com...
using System.Collections.Generic; using Orchard.DynamicForms.Elements; using Orchard.DynamicForms.Services; using Orchard.DynamicForms.ValidationRules; namespace Orchard.DynamicForms.Validators { public class UrlFieldValidator : ElementValidator<UrlField> { private readonly IValidationRuleFactory _...
namespace MassTransit.AmazonSqsTransport.Tests { using System; using System.Threading.Tasks; using NUnit.Framework; using NUnit.Framework.Internal; using TestFramework; using Testing; public class AmazonSqsTestFixture : BusTestFixture { TestExecutionContext _fixtureCon...
/** * @author nicolas.peters * * Contains all strings for German language. * Version 1 - 08/29/08 */ if(!ORYX) var ORYX = {}; if(!ORYX.I18N) ORYX.I18N = {}; ORYX.I18N.Language = "de_DE"; //Pattern <ISO language code>_<ISO country code> in lower case! if(!ORYX.I18N.Oryx) ORYX.I18N.Oryx = {}; ORYX.I18N.Oryx.ple...
#ifndef NodeList_h #define NodeList_h #include <wtf/Forward.h> #include <wtf/RefCounted.h> namespace WebCore { class Node; class NodeList : public RefCounted<NodeList> { public: virtual ~NodeList() { } // DOM methods & attributes for NodeList virtual unsigned length() const = ...
module Sass::Script::Value # The abstract superclass for SassScript objects. # # Many of these methods, especially the ones that correspond to SassScript operations, # are designed to be overridden by subclasses which may change the semantics somewhat. # The operations listed here are just the defaults. cla...
package ethanjones.cubes.core.event.settings; /** * Posted when Cubes' settings have been setup, before reading settings from file */ public class AddSettingsEvent extends SettingsEvent { public AddSettingsEvent() { super(false); } }
using namespace impala_udf; // --------------------------------------------------------------------------- // This is a sample of implementing a COUNT aggregate function. // --------------------------------------------------------------------------- void CountInit(FunctionContext* context, BigIntVal* val) { val->is_...
package org.mrgeo.hdfs.tile; import com.google.common.cache.*; import org.apache.commons.lang.exception.ExceptionUtils; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.FileUtil; import org.apache.hadoop.fs.Path; ...
<?php /** * bp_em_screen_two() * * Sets up and displays the screen output for the sub nav item "em/screen-two" */ function bp_em_attending() { global $bp; /** * If the user has not Accepted or Rejected anything, then the code above will not run, * we can continue and load the template. */ do_ac...
require('../../../modules/es.array.join'); var entryVirtual = require('../../../internals/entry-virtual'); module.exports = entryVirtual('Array').join;
<?xml version="1.0" encoding="utf-8"?> <resources> <drawable name="white">#FFFFFF</drawable> <drawable name="dark">#000000</drawable> <drawable name="red">#FF0000</drawable> <color name="grey">#70000000</color> </resources>