text
stringlengths
3
1.05M
package ai.api.model; import com.google.gson.annotations.SerializedName; import java.io.Serializable; import java.util.HashMap; import java.util.Map; public class AIEvent implements Serializable { private static final long serialVersionUID = 1L; @SerializedName("name") private String name; @SerializedNa...
\hypertarget{group___r_c_c_ex___a_p_b1___low_power___enable___disable}{}\section{A\+P\+B1 Peripheral Low Power Enable Disable} \label{group___r_c_c_ex___a_p_b1___low_power___enable___disable}\index{A\+P\+B1 Peripheral Low Power Enable Disable@{A\+P\+B1 Peripheral Low Power Enable Disable}} Enable or disable the A\+P\...
_A french retroclone of D&D B/X, based on Labyrinth Lord._ Feuille de Personnage pour **PMT**, un rétro-clone de **Donjons & Dragons Basic** (les fameuses boîtes rouge et bleu). PMT est une adaptation de **Labyrinth Lord**, réalisée par [Arasmo](http://www.legrog.org/biographies/james-arasm...
import os import platform import sys import struct import subprocess import codecs def get_sys_info(): "Returns system information as a dict" blob = [] # get full commit hash commit = None if os.path.isdir(".git") and os.path.isdir("pandas"): try: pipe = subprocess.Popen('git...
<?xml version="1.0" encoding="UTF-8" ?> <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> <parameters> <par...
var Promise = require('./index'), fs = require('fs'); exports.testReadFile = function(test) { var promise = new Promise(function(resolve, reject) { fs.readFile(__filename, 'utf8', function(error, data) { if(error) return reject(error); resolve(data); }); }); pro...
#ifndef EGRESSFILE_H #define EGRESSFILE_H #ifdef __linux__ /* Plugin includes */ /* OLSRD includes */ #include "egressTypes.h" /* System includes */ #include <stdbool.h> #include <stdint.h> #define DEF_EGRESS_UPLINK_KBPS 0 #define DEF_EGRESS_DOWNLINK_KBPS 0 #define DEF_EGRESS_PATH_COSTS 0 bool st...
"""The entry point for running a Rainbow agent on Hanabi.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from absl import app from absl import flags from third_party.dopamine import logger import run_experiment FLAGS = flags.FLAGS flags.DEFINE_multi...
class Profile; typedef struct _GtkWindow GtkWindow; // Displays the about box, using data copied from |profile|. void ShowAboutDialogForProfile(GtkWindow* parent, Profile* profile); #endif // CHROME_BROWSER_UI_GTK_ABOUT_CHROME_DIALOG_H_
ACCEPTED #### According to Index Fungorum #### Published in Op. bot. 67: 42 (1983) #### Original name Coccocarpia adnata Arv. ### Remarks null
package com.badlogic.gdx.tests; import java.util.Random; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input.Keys; import com.badlogic.gdx.graphics.Camera; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.PerspectiveCamera; import com...
/* * @author max */ package com.intellij.psi.stubs; import com.intellij.lang.Language; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ModalityState; import com.intellij.openapi.components.*; import com.intellij.openapi.diagnostic.Logger; import com.intellij.open...
class CreatePaymentNotifications < ActiveRecord::Migration def self.up create_table :payment_notifications do |t| t.text :params t.integer :cart_id t.string :status t.string :transaction_id t.timestamps end end def self.down drop_table :payment_notifications end end
package com.lmax.disruptor.support; import com.lmax.disruptor.EventFactory; public final class ValueEvent { private long value; public long getValue() { return value; } public void setValue(final long value) { this.value = value; } public static final EventFactory<V...
<?php /** * PHPMailer POP-Before-SMTP Authentication Class. * Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication. * Does not support APOP. * @package PHPMailer * @author Richard Davey (original author) <rich@corephp.co.uk> * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchrome...
<?php declare(strict_types=1); namespace Doctrine\ORM\Mapping\Exporter; use Doctrine\ORM\Mapping\ColumnMetadata; use Doctrine\ORM\Mapping\VersionFieldMetadata; use function assert; use function sprintf; class VersionFieldMetadataExporter extends FieldMetadataExporter { public const VARIABLE = '$versionProperty'...
<?php namespace lithium\tests\cases\data\source\http\adapter; use lithium\data\Connections; use lithium\data\model\Query; use lithium\data\entity\Document; use lithium\data\source\http\adapter\CouchDb; use lithium\tests\mocks\data\source\http\adapter\MockCouchPost; class CouchDbTest extends \lithium\test\Unit { p...
#include <linux/module.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/errno.h> #include <linux/slab.h> #include <linux/init.h> #include <linux/mtd/mtd.h> #include <linux/mtd/map.h> static int map_absent_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); static int map_absent_write (...
#include <cassert> #include <iostream> #include <vector> #include <utility> #include <stdexcept> #include <random> #include <string> #include <memory> #include <malloc.h> #include "../../../common/common.h" #include "../api_internal/nn_device_interface_0_internal.h" #include "layers_opencl.h" namespace device_gpu {...
package com.xeiam.xchange.dto.trade; import java.util.List; /** * DTO representing open loan orders * <p> * Open loan orders are loan order that have placed with the exchange that have not yet been matched to a counterparty. */ public final class OpenLoanOrders { private final List<FixedRateLoanOrder> openFix...
package org.onosproject.vtnrsc; import org.onlab.packet.IpAddress; import org.onlab.packet.MacAddress; import org.onosproject.net.PortNumber; /** * Abstraction of an entity to provide five tuple information from packet. * Five tuple means source ip address, destination ip address, source port number, * destinatio...
namespace base { namespace i18n { class BASE_I18N_EXPORT BreakIterator { public: enum BreakType { BREAK_WORD, BREAK_LINE, // TODO(jshin): Remove this after reviewing call sites. // If call sites really need break only on space-like characters // implement it separately. BREAK_SPACE = BREAK_L...
<?php ini_set("memory_limit","64M"); include("../mpdf.php"); $mpdf=new mPDF(''); //============================================================== $html = ' <style> .gradient { border:0.1mm solid #220044; background-color: #f0f2ff; background-gradient: linear #c7cdde #f0f2ff 0 1 0 0.5; box-s...
/** * @class Ext.chart.Navigation * * Handles panning and zooming capabilities. * * Used as mixin by Ext.chart.Chart. */ Ext.define('Ext.chart.Navigation', { /** * Zooms the chart to the specified selection range. * Can be used with a selection mask. For example: * * items: { * ...
"""The shelved mode extension.""" from webob import exc from nova.api.openstack import common from nova.api.openstack import extensions as exts from nova.api.openstack import wsgi from nova import compute from nova import exception ALIAS = 'os-shelve' authorize = exts.os_compute_authorizer(ALIAS) class ShelveCont...
<?php namespace Zend\Mail\Storage\Message; interface MessageInterface { /** * return toplines as found after headers * * @return string toplines */ public function getTopLines(); /** * check if flag is set * * @param mixed $flag a flag name, use constants defined in Ze...
package edu.hbut.livestock; import java.io.UnsupportedEncodingException; import java.sql.Timestamp; import java.text.ParseException; import java.text.SimpleDateFormat; import android.annotation.SuppressLint; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; import android.widget....
 using System.Collections.Generic; using System.IO; using MatterHackers.Agg.Platform; using MatterHackers.Localizations; using MatterHackers.MatterControl.SlicerConfiguration; namespace MatterHackers.MatterControl.Library { // Printer specific containers public class PrinterContainer : LibraryContainer { privat...
tinyMCE.addI18n('te.modxlink_dlg',{ title:"Insert/edit link", url:"Link URL", target:"Target", titlefield:"Title", is_email:"The URL you entered seems to be an email address, do you want to add the required mailto: prefix?", is_external:"The URL you entered seems to external link, do you want to add the required ...
/** @module ember @submodule ember-application @private */ import { get } from 'ember-metal/property_get'; import { set } from 'ember-metal/property_set'; import EmberObject from 'ember-runtime/system/object'; import run from 'ember-metal/run_loop'; import { computed } from 'ember-metal/computed'; import Registry from...
using System; using System.Collections.Generic; using System.Text.Json; using Azure.Core; using Azure.ResourceManager.Models; using Azure.ResourceManager.Sql.Models; namespace Azure.ResourceManager.Sql { public partial class ElasticPoolData : IUtf8JsonSerializable { void IUtf8JsonSerializable.Write(Utf...
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" > <solid android:color="#22FFFFFF" /> <corners android:topRightRadius="25dp" android:bottomRightRadius="25dp" /> <stroke android:width="1dp" andr...
[jsDelivr][1] - Open Source CDN ======== Similar to Google Hosted Libraries, jsDelivr is an open source [CDN][6] that allows developers to host their own projects and anyone to link to our hosted files in their websites. We offer a stable CDN that can be used in production even on popular websites with huge amounts o...
package org.apache.ignite.compute; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * This annotation allows task to specify what SPIs it wants to use. * Star...
package com.google.api.ads.dfp.jaxws.v201502; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ProposalActionError.Reason. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType...
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("Co...
package ru.fly.client.ui; import com.google.gwt.dom.client.Element; import com.google.gwt.user.client.ui.HasWidgets; import com.google.gwt.user.client.ui.Widget; import com.google.gwt.user.client.ui.WidgetCollection; import ru.fly.client.F; import java.util.Collection; import java.util.Iterator; import java.util.Li...
from abc import ABCMeta, abstractmethod from contextlib import contextmanager import re import xml.etree.cElementTree as ET class NoSuchJobException( Exception ): def __init__( self, jobStoreID ): super( NoSuchJobException, self ).__init__( "The batchjob '%s' does not exist" % jobStoreID ) class Concurren...
package main import ( "os/exec" "strings" "time" "github.com/go-check/check" ) func (s *DockerSuite) TestRestartStoppedContainer(c *check.C) { runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "echo", "foobar") out, _, err := runCommandWithOutput(runCmd) if err != nil { c.Fatal(out, err) } cl...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Core Test Suite</title> <script src="../../jquery.js"></script> <link rel="stylesheet" href="../../../external/qunit.css"> <script src="../../../external/qunit.js"></script> <script src="../../jquery.simulate.js"></script> <script s...
package camelinaction; import java.util.Date; /** * To publish failures * * @version $Revision$ */ public interface RiderFailurePublisher { public void publish(String appId, String eventId, Date timestamp, String message); }
<?php namespace Yumcha\Bundle\WebsiteBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; /** * SpecialIcecream * * @ORM\Table("special_icecreams", uniqueConstraints={@ORM\UniqueConstraint(columns={"name"})}) * @ORM\Entity(repositoryClass="Yumcha\Bundle\WebsiteBu...
module.exports = require('z-object')
package swf
import gocept.fckeditor.connector import zeit.cms.browser.interfaces import zeit.cms.browser.view import zeit.cms.clipboard.interfaces import zeit.cms.repository.interfaces import zope.cachedescriptors.property import zope.component import zope.traversing.interfaces class FileBrowser(zeit.cms.browser.view.Base, ...
 #include <aws/dynamodb/model/DescribeGlobalTableSettingsResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/UnreferencedParam.h> #include <utility> using namespace Aws::DynamoDB::Model; using namespa...
package proxy import ( "fmt" "runtime" "strings" "github.com/berkaroad/saashard/backend" mysqlBackend "github.com/berkaroad/saashard/backend/mysql" "github.com/berkaroad/saashard/errors" "github.com/berkaroad/saashard/net/mysql" "github.com/berkaroad/saashard/route" "github.com/berkaroad/saashard/sqlparser" ...
<?php use \Composer\Semver\Comparator; use \WP_CLI\Dispatcher; use \WP_CLI\Utils; /** * Get information about WP-CLI itself. * * @when before_wp_load */ class CLI_Command extends WP_CLI_Command { private function command_to_array( $command ) { $dump = array( 'name' => $command->get_name(), 'description'...
echo '#include <stdio.h> void main() { int variable1=2; int variable2=5; if(( variable1 < variable2 || variable1 = variable2 ) && variable2 > variable2 - variable1 && variable2 != 0 && ( variable1 == 2 || variable1 == 3 ) && (variable2 == 4 || variable 2 == 5)) { } } ' > testfile.c # last line is a TAB! ../stylec...
> _@param_ **path** {String} - path > _@param_ **fn** {Function} - underscore method > _@return_ **this** Adds a method to the underscoreMethods collection on the list, which is then added to the schema before the list is registered with mongoose. <div class="code-header addGitHubLink" data-file="lib/list/u...
// *********************************************************************** // Assembly : EveLib.EveOnline // Author : Lars Kristian // Created : 04-02-2014 // // Last Modified By : Lars Kristian // Last Modified On : 06-19-2014 // *************************************************************...
using System; using System.Collections.Generic; using System.Threading.Tasks; using GitHub.Models; using Octokit; namespace GitHub.Services { /// <summary> /// A pull request session used to display inline comments. /// </summary> public interface IPullRequestSession { /// <summary> ...
static const int httpLogLevel = HTTP_LOG_LEVEL_WARN; #else static const int httpLogLevel = HTTP_LOG_LEVEL_WARN; #endif // helpers int findChar(const char* str,NSUInteger length, char c); NSString* extractParamValue(const char* bytes, NSUInteger length, NSStringEncoding encoding); //----------------------------------...
Finding help ============ The project mailing list ------------------------ If you encounter a bug with ``scikit-learn`` or something that needs clarification in the docstring or the online documentation, please feel free to ask on the `Mailing List <http://scikit-learn.org/stable/support.html>`_ Q&A communities w...
package countriesPage; import java.util.ArrayList; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.PageFactory; import common.BasePage; import table.Table; import table.TreeTable; import java.util.Collections; public class C...
#include "manage_dec_ref.h" #include "error_concealment.h" #include "error_code.h" namespace WelsDec { static PPicture WelsDelShortFromList (PRefPic pRefPic, int32_t iFrameNum); static PPicture WelsDelLongFromList (PRefPic pRefPic, uint32_t uiLongTermFrameIdx); static PPicture WelsDelShortFromListSetUnref (PRefPic ...
require 'test_helper' describe "Casks" do Hbc.all.reject {|c| c.is_a?(Hbc::TestCask) }.each do |cask| describe "#{cask}" do it "passes audit" do audit = Hbc::Audit.new(cask) audit.run! audit.errors.must_equal [], "[#{cask}] Cask audit must be error free" audit.warnings.must_...
package org.apache.sling.discovery.commons.providers.base; import java.util.Date; import java.util.concurrent.locks.Lock; import org.apache.sling.commons.scheduler.Scheduler; import org.apache.sling.discovery.DiscoveryService; import org.apache.sling.discovery.TopologyView; import org.apache.sling.discovery.commons....
package com.intellij.codeInsight.daemon; import com.intellij.codeInsight.daemon.impl.analysis.FileHighlightingSetting; import com.intellij.codeInsight.daemon.impl.analysis.HighlightingSettingsPerFile; import com.intellij.codeInspection.LocalInspectionTool; import com.intellij.codeInspection.unusedImport.UnusedImportLo...
The `v8` module exposes APIs that are specific to the version of [V8][] built into the Node.js binary. It can be accessed using: ```js const v8 = require('v8'); ``` *Note*: The APIs and implementation are subject to change at any time. ## v8.cachedDataVersionTag() <!-- YAML added: v8.0.0 --> Returns an integer repr...
SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_letter = -D latex_paper_size=letter ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . .PHONY: help clean html dirhtml singlehtml pick...
var load_util = { report: function(msg) { domAutomationController.setAutomationId(0); // The automation controller seems to choke on Objects, so turn them into // strings. domAutomationController.send(JSON.stringify(msg)); }, log: function(message) { load_util.report({type: "Log", message: me...
// Copyright Joyent, Inc. and other Node contributors. // // 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,...
using std::string; class PointWriter{ public: string file; int numPoints; virtual ~PointWriter(){}; virtual void write(const Point &point) = 0; virtual void close() = 0; }; #endif
/* bootstrap-tags styles */ .tag-list { width: 280px; height: 26px; left:2px; top:2px; position:relative; } .tag-data { display:none; } .tags-input { width:100%; height:100% !important; margin:0; padding-bottom:0 !important; font-size:12px !important; } .tags { width:inherit; height:0; position:absolute...
import java.io.File; import java.io.FileInputStream; import java.io.IOException; import org.apache.commons.io.input.CountingInputStream; /** */ public class CountingInputStreamTest extends junit.framework.TestCase { public void testNull() { } public void testAddToEOF() { File f = new File( "/dev/null" ); if...
package com.facebook.react.animated; import com.facebook.react.bridge.JSApplicationCausedNativeException; import com.facebook.react.bridge.ReadableMap; /*package*/ class ModulusAnimatedNode extends ValueAnimatedNode { private final NativeAnimatedNodesManager mNativeAnimatedNodesManager; private final int mInpu...
#pragma once #include <QtGui/QColor> namespace qReal { /// A container for scene label properties (view and behavioural). /// Defines properties via Qt reflection so they can be used in property editor for dynamic Label /// properties modification. Also this is a useful trait for easy definition of concrete Graphi...
@interface SDFNetworkingDemoCollectionViewController () <DFCollectionViewPreheatingControllerDelegate, SDFFlickrRecentPhotosModelDelegate> @end @implementation SDFNetworkingDemoCollectionViewController { UIActivityIndicatorView *_activityIndicatorView; NSMutableArray *_photos; SDFFlickrRecentPhotosModel ...
package testing import ( "github.com/google/cadvisor/events" cadvisorapi "github.com/google/cadvisor/info/v1" cadvisorapiv2 "github.com/google/cadvisor/info/v2" "k8s.io/kubernetes/pkg/kubelet/cadvisor" ) // Fake cAdvisor implementation. type Fake struct { NodeName string } var _ cadvisor.Interface = new(Fake)...
#ifdef __UNIX__ #include <assert.h> #endif #include <math.h> #include "memry.h" #include "makerow.h" #include "pitsync1.h" #include "topitch.h" #include "pithsync.h" #include "tprintf.h" #define PROJECTION_MARGIN 10 //arbitrary #define EXTE...
import socket import threading import email.mime.text import email.mime.image import email.mime.multipart import email.header import bminterface import re import select import logging class ChatterboxConnection(object): END = "\r\n" def __init__(self, conn): self.conn = conn def __getattr__(self, na...
using System; using System.Collections.Generic; using System.Text; using OpenQA.Selenium; namespace Selenium.Internal.SeleniumEmulation { /// <summary> /// Defines the command for the getBodyText keyword. /// </summary> internal class GetBodyText : SeleneseCommand { /// <summary> //...
package fake // FakeScales implements ScaleInterface type FakeScales struct { Fake *FakeExtensions ns string }
""" Module: preprocess_data Reference: https://github.com/rizkiarm/LipNet """ # pylint: disable=too-many-locals, no-self-use, c-extension-no-member import os import fnmatch import errno import numpy as np from scipy import ndimage from scipy.misc import imresize from skimage import io import skvideo.io import dlib d...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const WebpackError = require("./WebpackError"); const formatLocation = require("./formatLocation"); module.exports = class ModuleDependencyWarning extends WebpackError { constructor(module, err, loc) { ...
using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; namespace System.Linq.Expressions.Interpreter { internal sealed class InterpretedFrame { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclar...
"""A non-blocking, single-threaded TCP server.""" from __future__ import absolute_import, division, print_function, with_statement import errno import os import socket from tornado.log import app_log from tornado.ioloop import IOLoop from tornado.iostream import IOStream, SSLIOStream from tornado.netutil import bind_...
namespace gfx { ImageFamily::const_iterator::const_iterator() {} ImageFamily::const_iterator::const_iterator(const const_iterator& other) : map_iterator_(other.map_iterator_) {} ImageFamily::const_iterator::const_iterator( const std::map<MapKey, gfx::Image>::const_iterator& other) : map_iterator_(other) ...
package org.elasticsearch.action.admin.indices.settings.put; import org.elasticsearch.ElasticsearchGenerationException; import org.elasticsearch.action.ActionRequestValidationException; import org.elasticsearch.action.IndicesRequest; import org.elasticsearch.action.support.IndicesOptions; import org.elasticsearch.ac...
package com.limagiran.hearthstone.server; /** * * @author Vinicius Silva */ public interface ServerConstants { public static final int PLAYER_ONE = 0; public static final int PLAYER_TWO = 1; public static final String PLAYER = "player"; public static final String PLAYER_INICIO = "playerInicio"; ...
#ifndef BITBLTGENERIC_H_ #define BITBLTGENERIC_H_ void addGenericFastPaths(void); #endif /* BITBLTGENERIC_H_ */
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.UnitTests.EndConstructGeneration Public Class WithBlockTests <WpfFact, Trait(Traits.Feature, ...
<?php class CMService_XVerify_ClientTest extends CMTest_TestCase { public function testMalformedEmailAddress() { $xVerifyMock = $this->getMock('CMService_XVerify_Client', array('_getResponseBody'), array('', '')); $xVerifyMock->expects($this->never())->method('_getResponseBody'); /** @var ...
Frosted MySQL Library for PHP ============================= The `Frosted MySQL Library` is an extension to the default `mysql` and `mysqli` functions of php. With it you can easily create complex queries and get big advantages while development. Beginners or infrequent developers will get an easy entry to mysql and pr...
package org.jboss.pnc.rest.provider; import org.jboss.pnc.model.User; import org.jboss.pnc.rest.restmodel.UserRest; import org.jboss.pnc.rest.validation.exceptions.RestValidationException; import org.jboss.pnc.spi.datastore.predicates.UserPredicates; import org.jboss.pnc.spi.datastore.repositories.PageInfoProducer; i...
<?php /** * @see Zend_Gdata_App_Extension_Text */ require_once 'Zend/Gdata/App/Extension/Text.php'; /** * Represents the atom:title element * * @category Zend * @package Zend_Gdata * @subpackage App * @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com) * @license ht...
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v0.11.0-rc1-master-d74f93a */md-bottom-sheet.md-THEME_NAME-theme{background-color:'{{background-50}}';border-top-color:'{{background-300}}'}md-bottom-sheet.md-THEME_NAME-theme.md-list md-list-item{color:'{{foreground-1}}'}md-botto...
!function(factory) { "function" == typeof define && define.amd ? define([ "jquery", "./jquery.inputmask" ], factory) : factory(jQuery); }(function($) { return $.extend($.inputmask.defaults.aliases, { Regex: { mask: "r", greedy: !1, repeat: "*", regex: nul...
package v1alpha1 import ( authnv1 "k8s.io/api/authentication/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/types" ) // Header keys used by the audit system. const ( // Header to hold the audit ID as the request is propagated through the serving hie...
(function($) { var VERSION = "0.9.0"; var utils = { isMsie: function() { var match = /(msie) ([\w.]+)/i.exec(navigator.userAgent); return match ? parseInt(match[2], 10) : false; }, isBlankString: function(str) { return !str || /^\s*$/.test(str); ...
package x509 import ( "fmt" "net" "runtime" "strings" "time" "unicode/utf8" ) type InvalidReason int const ( // NotAuthorizedToSign results when a certificate is signed by another // which isn't marked as a CA certificate. NotAuthorizedToSign InvalidReason = iota // Expired results when a certificate has e...
Enforce that autoFocus prop is not used on elements. Autofocusing elements can cause usability issues for sighted and non-sighted users, alike. #### References 1. [w3c](https://w3c.github.io/html/sec-forms.html#autofocusing-a-form-control-the-autofocus-attribute) ## Rule details This rule takes one optional object a...
<?php namespace Kunstmaan\AdminListBundle\AdminList\BulkAction; /** * The simple bulk action is a default implementation of the bulk action interface, this can be used * in very simple use cases. */ class SimpleBulkAction implements BulkActionInterface { /** * @var array */ private $url; /**...
function main(FrameworkFactory) { var components = FrameworkFactory.create({ name: "components", version: "1.0" }); //Helper class for testing readonly properties components.ReadonlyClass = components.Class({ type: 'ReadonlyClass', readonly: components.readonly(true),...
package org.zstack.compute.vm; import org.springframework.beans.factory.annotation.Autowire; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Configurable; import org.zstack.core.componentloader.PluginRegistry; import org.zstack.header.core.workflow.Flo...
package com.ccadllc.cedi.config /** Non-empty list of configuration errors. */ final case class ConfigErrors(head: ConfigError, tail: List[ConfigError]) { /** Gets a printable description of all configuration errors. */ def description: String = { ("Failed to parse configuration." :: toList.map { e => " " +...
(function (factory) { if (typeof WSDEBUG === 'undefined') { window.WSDEBUG = true; } var addAsync = function(){ if(!window.asyncWebshims){ window.asyncWebshims = { cfg: [], ready: [] }; } }; var start = function(){ if(window.jQuery && window.Modernizr){ factory(jQuery); factory = functi...
FROM ubuntu:trusty RUN apt-get update && \ apt-get upgrade -y && \ apt-get install -y git-core build-essential wget RUN apt-get install -y --no-install-recommends \ autotools-dev libtool pkg-config zlib1g-dev \ libcunit1-dev libssl-dev libxml2-dev libevent-dev \ automake autoconf # The l...
package org.apache.jackrabbit.ocm.manager.atomic; import java.io.ByteArrayInputStream; import java.util.Calendar; import java.util.Date; import junit.framework.Test; import junit.framework.TestSuite; import org.apache.jackrabbit.ocm.DigesterRepositoryTestBase; import org.apache.jackrabbit.ocm.manager.ObjectContentM...