text
stringlengths
3
1.05M
_Do you have a contribution? We welcome contributions, but please ensure that you read the following information before issuing a pull request. Also refer back to this document as a checklist before issuing your pull request. This will save time for everyone._ # Before You Start ## Understanding the Basics If you ...
module Main where import Control.Eff import Control.Eff.Lift (runLift) import Control.Eff.Random import qualified Control.Monad.Random as R main :: IO () main = do print $ take 100 $ run $ evalRand (mkStdGen 12121) $ getRandomRs (10, 100 :: Int) print $ take 100 $ R.evalRand (R.ge...
Vex.Flow.Test.TabTie = {} Vex.Flow.Test.TabTie.Start = function() { module("TabTie"); Vex.Flow.Test.runTest("Simple TabTie", Vex.Flow.Test.TabTie.simple); Vex.Flow.Test.runRaphaelTest("Simple TabTie (Raphael)", Vex.Flow.Test.TabTie.simple); Vex.Flow.Test.runTest("Hammerons", Vex.Flow.Test.TabTie.simple...
%FLOODFILL Fills a connected component with the given color % % dst = cv.floodFill(src, seed, newVal) % dst = cv.floodFill(src, seed, newVal, 'Mask', mask, ...) % [dst, rect, area] = cv.floodFill(src, seed, newVal, ...) % [dst, mask, rect, area] = cv.floodFill(src, seed, newVal, 'Mask', mask, ...) % % ## I...
using namespace std; typedef long long unsigned lln; typedef long double lld; #define TEST 0 #define TIMER 1 #define minOf(a, b) ((a) < (b) ? (a) : (b)) #define minOf3(a, b, c) ((minOf(a, b)) < (c) ? (minOf(a, b)) : (c)) #define maxOf(a, b) ((a) > (b) ? (a) : (b)) #define abss(a) ((a) < 0 ? -1 * (a) : (a)) #define MAX_...
<!doctype html> <!-- @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be...
 using System; using System.Collections.Generic; using System.Linq; namespace ZSMapClusterer { public class MapClusterer { public int NumberOfClusters { get; set; } public String ClusterTitleFormat { get; set; } public MapClusterer(int numberOfClusters, String clusterTitle...
chrome.extension.sendRequest(chrome.i18n.getMessage("message_with_one_placeholder", "19"));
using System.Threading.Tasks; using Avalonia.Controls; using Avalonia.Media; using Avalonia.Media.Imaging; using Xunit; #if AVALONIA_SKIA namespace Avalonia.Skia.RenderTests #else namespace Avalonia.Direct2D1.RenderTests.Media #endif { public class ImageDrawingTests : TestBase { public ImageDrawingTest...
package org.keycloak.models.map.storage.jpa.liquibase.extension; import java.util.List; import liquibase.statement.ColumnConstraint; import liquibase.statement.core.AddColumnStatement; /** * A {@link liquibase.statement.SqlStatement} that extends the standard {@link AddColumnStatement} to include properties * to...
package com.amazonaws.services.ioteventsdata.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.ioteventsdata.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import com.fasterxml.jackson.core.JsonToken; impo...
description: describes deprecated functionality keywords: registry, manifest, images, signatures, repository, distribution, digest title: Docker Registry deprecation --- This document details functionality or components which are deprecated within the registry. ### v2.5.0 The signature store has been removed from th...
package com.google.android.exoplayer.dash; import com.google.android.exoplayer.BehindLiveWindowException; import com.google.android.exoplayer.C; import com.google.android.exoplayer.MediaFormat; import com.google.android.exoplayer.TimeRange; import com.google.android.exoplayer.TrackInfo; import com.google.android.exop...
/* * 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 agreed to in writing, software * distribut...
package insights import "github.com/Azure/azure-sdk-for-go/version" // Copyright (c) Microsoft and contributors. All rights reserved. // // 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 //...
(function () { //Going sloppy to avoid 'use strict' string cost, but strict practices should //be followed. /*jslint sloppy: true */ /*global setTimeout: false */ var requirejs, require, define; (function (undef) { var main, req, defined = {}, waiting = {}, config = {}, defining = {...
--TEST-- Test date_timezone_set() function : usage variation - Passing unexpected values to second argument $timezone. --FILE-- <?php /* Prototype : DateTime date_timezone_set ( DateTime $object , DateTimeZone $timezone ) * Description: Sets the time zone for the DateTime object * Source code: ext/date/php_date.c...
Security Issues =============== This document explains how Sylius issues are handled by the Sylius core team. Reporting a Security Issue -------------------------- If you think that you have found a security issue in Sylius, don't use the bug tracker and do not post it publicly. Instead, all security issues must be...
package rhttpc.transport.json4s import org.json4s._ import scala.reflect.runtime.universe._ object ObjectSerializer extends Serializer[Any] { private final val ID_FIELD = "jsonObject" override def deserialize(implicit format: Formats): PartialFunction[(TypeInfo, JValue), Any] = { case (TypeInfo(clazz, _), ...
This directory contains v8 project-wide configurations for infra services.
``if`` ====== The ``if`` statement in Twig is comparable with the if statements of PHP. In the simplest form you can use it to test if an expression evaluates to ``true``: .. code-block:: jinja {% if online == false %} <p>Our website is in maintenance mode. Please, come back later.</p> {% endif %} ...
namespace mx { namespace core { MX_FORWARD_DECLARE_ELEMENT( LeftDivider ) inline LeftDividerPtr makeLeftDivider() { return std::make_shared<LeftDivider>(); } class LeftDivider : public ElementInterface { public: LeftDivider(); virtual bool hasA...
<!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_20) on Fri Mar 25 19:54:51 PDT 2011 --> <TITLE> org.apache.hadoop.mapred.pipes (Hadoop 0.20.2-cdh3u0 API) </TITLE> <META NAME="date" CONTENT="2011-0...
package org.pentaho.di.core.vfs.configuration; import java.io.File; import java.io.IOException; import org.apache.commons.vfs.FileSystemOptions; import org.apache.commons.vfs.provider.FileNameParser; import org.apache.commons.vfs.provider.URLFileName; import org.apache.commons.vfs.provider.sftp.SftpFileNameParser; ...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2009 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/license...
package clouddns import ( "fmt" "k8s.io/kubernetes/federation/pkg/dnsprovider" "k8s.io/kubernetes/federation/pkg/dnsprovider/providers/google/clouddns/internal/interfaces" ) // Compile time check for interface adherence var _ dnsprovider.ResourceRecordChangeset = &ResourceRecordChangeset{} type ResourceRecordC...
// This file was automatically generated by lister-gen package v1 import ( "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" v1 "k8s.io/client-go/pkg/api/v1" "k8s.io/client-go/tools/cache" ) // SecretLister helps list Secrets. type SecretLister interface { // List lists all Secrets in the ...
<?xml version="1.0" ?> <LEOSimulation version="2.5.0"> <STELAVersion>2.5.1</STELAVersion> <SpaceObject> <mass unit="kg">6.0</mass> <dragArea>0.015</dragArea> <reflectingArea>0.06</reflectingArea> <reflectivityCoefficient>1.5</reflectivityCoefficient> <orbitType>LEO</orbitType> <ConstantDragC...
import csv import sklearn as sk import numpy as np from sklearn.svm import SVC from sklearn.cross_validation import cross_val_score , KFold from sklearn.feature_extraction.text import TfidfVectorizer def get_stop_words(): result = set() for line in open('stopwords_id.txt','rU').readline(): result.add(l...
#ifndef INCLUDE_LIBYUV_CONVERT_ARGB_H_ // NOLINT #define INCLUDE_LIBYUV_CONVERT_ARGB_H_ #include "libyuv/basic_types.h" // TODO(fbarchard): Remove the following headers includes #include "libyuv/convert_from.h" #include "libyuv/planar_functions.h" #include "libyuv/rotate.h" // TODO(fbarchard): This set of function...
// Copyright 2015 The Bazel Authors. All rights reserved. // // 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 appl...
package admin import ( "encoding/json" "github.com/qor/qor" "github.com/qor/qor/resource" ) type SerializeArgumentInterface interface { GetSerializeArgumentResource() *Resource GetSerializeArgument(SerializeArgumentInterface) interface{} GetSerializeArgumentKind() string SetSerializeArgumentValue(interface{})...
' 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 System.Collections.Immutable Imports System.Diagnostics Imports Microsoft.CodeAnalysis.VisualBasic.Symbols Namespace Microsoft.CodeAnalysis.VisualBas...
topojson = (function() { function merge(topology, arcs) { var fragmentByStart = {}, fragmentByEnd = {}; arcs.forEach(function(i) { var e = ends(i), start = e[0], end = e[1], f, g; if (f = fragmentByEnd[start]) { delete fragmentByEnd[f.end]; ...
/* dhcp.c DHCP Protocol engine. */ /* * Copyright (c) 1995, 1996, 1997, 1998, 1999 * The Internet Software Consortium. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistr...
package metrics import ( "fmt" "time" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/fields" clientset "k8s.io/client-go/kubernetes" api "k8s.io/kubernetes/pkg/apis/core" "k8s.io/kubernetes/pkg/master/ports" "k8s.io/kubernetes/pkg/util/system" "github.com/golang/glog" ) const ( P...
/* * angular-ui-bootstrap * http://angular-ui.github.io/bootstrap/ * Version: 1.0.0 - 2016-01-08 * License: MIT */ angular.module("ui.bootstrap", ["ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","...
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context="com.example.vaism_000.hockeyinfo.PlayerInfoActivity"> <c...
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functi...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); $lang['pagination_first_link'] = '&lsaquo; 最初'; $lang['pagination_next_link'] = '&gt;'; $lang['pagination_prev_link'] = '&lt;'; $lang['pagination_last_link'] = '最後 &rsaquo;';
/** * @license AngularJS v1.4.0-rc.0 * (c) 2010-2015 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; /** * @ngdoc module * @name ngTouch * @description * * # ngTouch * * The `ngTouch` module provides touch events and other helpers for touch-enabled de...
// Copyright 2014 The Bazel Authors. All rights reserved. // // 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 appl...
@interface KSConnectTask () @property NSString * serverAddress; @property uint serverPort; @end @implementation KSConnectTask - (id)initWithServerAddress:(NSString *)address port:(uint)port { self = [super init]; self.clientSocket = 0; self.serverAddress = address; self.serverPor...
CREATE TABLE tc_backend.tc_user_group_map ( userId int(10) NOT NULL, groupId int(10) NOT NULL, Id bigint(19) NOT NULL auto_increment, PRIMARY KEY (Id) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; INSERT INTO tc_backend.tc_user_group_map(userId, groupId, Id) VALUES (2, 3, 1); INSERT INTO tc_backend.tc_user_group_map(user...
package org.apache.parquet.thrift.struct; import org.apache.thrift.protocol.TType; import org.apache.parquet.thrift.struct.ThriftType.BoolType; import org.apache.parquet.thrift.struct.ThriftType.ByteType; import org.apache.parquet.thrift.struct.ThriftType.DoubleType; import org.apache.parquet.thrift.struct.ThriftTyp...
declare namespace Express { interface ExpressUserAgent { isMobile: boolean; isTablet: boolean; isiPad: boolean; isiPod: boolean; isiPhone: boolean; isAndroid: boolean; isBlackberry: boolean; isOpera: boolean; isIE: boolean; isEdge: bool...
@interface KWCaptureSpy() @property (nonatomic, assign) BOOL argumentCaptured; @property (nonatomic, assign) NSUInteger argumentIndex; @property (nonatomic, strong) id argument; @end @implementation KWCaptureSpy - (id)initWithArgumentIndex:(NSUInteger)index { self = [super init]; if (self) { _argume...
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
select 'testcase_teardown';
using System; using System.Collections.Generic; using System.Reflection; using System.Text; using log4net; using OpenSim.Framework; using OpenSim.Framework.Console; using OpenSim.Grid.Framework; using OpenSim.Grid; namespace OpenSim.Grid.GridServer.Modules { public class GridServerPlugin : IGridPlugin { ...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2013 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/license...
<?php header("Location: server.php"); ?>
#ifndef IDBFactory_h #define IDBFactory_h #include "IDBOpenDBRequest.h" #include "ScriptWrappable.h" #include <wtf/PassRefPtr.h> #include <wtf/RefCounted.h> #include <wtf/RefPtr.h> #include <wtf/text/WTFString.h> #if ENABLE(INDEXED_DATABASE) namespace WebCore { class IDBKey; class IDBKeyRange; class IDBFactoryBack...
layout: post title: "Google Code Jam Kickstart 2017 Practice A Country Leader" category: Google tags: Google --- * content {:toc} ## Problem The Constitution of a certain country states that the leader is the person with the name containing the greatest number of different alphabet letters. (The cou...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <artifactId>core</artifactId> <groupId>com.eason.core</groupId> <vers...
var Y = YAHOO, Y_DOM = YAHOO.util.Dom, EMPTY_ARRAY = [], Y_UA = Y.env.ua, Y_Lang = Y.lang, Y_DOC = document, Y_DOCUMENT_ELEMENT = Y_DOC.documentElement, Y_DOM_inDoc = Y_DOM.inDocument, Y_mix = Y_Lang.augmentObject, Y_guid = Y_DOM.generateId, Y_getDoc = function(element) { ...
<?php /** * @author OnTheGo Systems */ class WPML_TM_ICL20_Project { private $end_point; private $http; /** * WPML_TM_ICL20 constructor. * * @param WP_Http $http * @param string $end_point */ public function __construct( WP_Http $http, $end_point ) { $this->http = $http; $this->end_point = $...
// Load modules var Any = require('./any'); var Cast = require('./cast'); var Errors = require('./errors'); var Hoek = require('hoek'); // Declare internals var internals = {}; internals.fastSplice = function (arr, i) { var il = arr.length; var pos = i; while (pos < il) { arr[pos++] = arr[po...
require 'abstract_unit' require 'controller/fake_models' module Fun class GamesController < ActionController::Base def hello_world end end end class MockLogger attr_reader :logged def initialize @logged = [] end def method_missing(method, *args) @logged << args.first end end class Tes...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Immutable; namespace CodeCracker.CSharp.Performance { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class UseStaticRegexIsMatchA...
from nose.tools import eq_, ok_ from wtforms import form, fields from flask.ext.admin.contrib.pymongo import ModelView from . import setup class TestForm(form.Form): test1 = fields.StringField('Test1') test2 = fields.StringField('Test2') class TestView(ModelView): column_list = ('test1', 'test2', 'te...
<?php /** * @see Zend_Loader */ require_once 'Zend/Loader.php'; /** * @see Zend_Uri */ require_once 'Zend/Uri.php'; /** * @see Zend_Http_Client_Adapter_Interface */ require_once 'Zend/Http/Client/Adapter/Interface.php'; /** * @see Zend_Http_Response */ require_once 'Zend/Http/Response.php'; /** * @se...
import os import subprocess import sys import shutil from os import access from os import getenv from os import X_OK jar_file = 'SearchGUI-3.2.13.jar' default_jvm_mem_opts = ['-Xms512m', '-Xmx1g'] # !!! End of parameter section. No user-serviceable code below this line !!! def real_dirname(path): """Return the ...
import 'script-loader!easeljs/lib/easeljs' import animate from './main'; document.addEventListener('DOMContentLoaded', () => { $('#navigation').find('a').click(function() { var id = $(this).attr('href'); $('body').animate({scrollTop:$(id).find('h2').offset().top}); }); // メールスパマー対策 setTimeout(function() { ...
package com.facebook.imageutils; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import android.graphics.Rect; import com.facebook.common.internal.Preconditions; import com.facebook.common.logging.FLog; /** * Util for obtaining information from JPEG file. */ public c...
<?xml version="1.0"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.nmuzychuk<...
using namespace std; // main program int main (int argc, char** argv) { // pretty print option // set by command line int pretty = 0; // bitwise options // set by command line int options = 0; // process command line arguments for (int i = 1; i < argc; ++i) { string arg = string(argv[i]); // handle pr...
package de.hpi.bpt.chimera.model.fragment.bpmn.activity; import java.util.ArrayList; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Entity; import javax.persistence.OneToMany; import de.hpi.bpt.chimera.model.fragment.bpmn.AbstractDataControlNode; import de.hpi.bpt.chimera.model...
import crypto from 'crypto'; import knex from '../data/knex'; import { validateEmail } from './helpers'; import { throwIfMissing } from './utils'; const RATE_LIMIT = 60 * 1000; const genToken = () => new Promise((resolve, reject) => { // eslint-disable-next-line no-confusing-arrow crypto.randomBytes( ...
<?php namespace Zend\Soap\Server; use ReflectionObject; use Zend\Soap\Exception; /** * Wraps WSDL Document/Literal Style service objects to hide SOAP request * message abstraction from the actual service object. * * When using the document/literal SOAP message pattern you end up with one * object passed to you...
<!doctype html> <!-- @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be...
action :create do windows_registry 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run' do values new_resource.name => "\"#{new_resource.program}\" #{new_resource.args}" end end action :remove do windows_registry 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run' do values new_resource.name => '' ...
/** * @author mrdoob / http://mrdoob.com/ * @author mikael emtinger / http://gomo.se/ * @author alteredq / http://alteredqualia.com/ * @author WestLangley / http://github.com/WestLangley */ THREE.Object3D = function () { this.id = THREE.Object3DIdCount ++; this.uuid = THREE.Math.generateUUID(); this.name = '...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="tr" version="2.1"> <context> <name>AboutDialog</name> <message> <source>About Bitcoin Core</source> <translation>Bitcoin Çekirdeği hakkında</translation> </message> <message> <source>&lt;b&gt;Bitcoin Core&lt;/b&gt; version</source>...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> <TITLE>NIST DOM HTML Test - LINK</TITLE> <LINK CHARSET="Latin-1" HREF="./files/glossary.html" HREFLANG="en" MEDIA="screen" REL="Glossary" TYPE="text/html"> <LINK CHARSET="Lat...
var myNumber = 10; myObj.myFunction(myNumber);
import Extraction from '../Extraction.js'; import HorizontalTable from '../lib/HorizontalTable.js'; import VerticalTable from '../lib/VerticalTable.js'; import {toTitleCase} from '../lib/utils.js'; const extraction = new Extraction('findmypast-record'); extraction.start(); const personId = getRecordId(document.locati...
namespace webdriver { // We use a CWindowImpl (creating a hidden window) here because we // want to synchronize access to the command handler. For that we // use SendMessage() most of the time, and SendMessage() requires // a window handle. class IEWebDriverManagerCommandExecutor : public CWindowImpl<IEWebDriverManage...
wq movefiles ============ wq movefiles: Move one or more files to a different folder. Useful for e.g. Provided by [wq.build]. ```shell $ wq movefiles --help Usage: wq movefiles [OPTIONS] [SOURCE]... DEST Move one or more files to a different folder. Useful for e.g. elevating htdocs/static/app/public/*.* to htdo...
package org.apache.geode.cache.query.internal.parse; import antlr.Token; import org.apache.geode.cache.query.internal.QCompiler; public class ASTOrderBy extends GemFireAST { private static final long serialVersionUID = 2262777181888775078L; public ASTOrderBy(Token t) { super(t); } public ASTOrderBy() ...
var http = require('http') , util = require('util') , multiparty = require('../') , azure = require('azure') , PORT = process.env.PORT || 27372 var server = http.createServer(function(req, res) { if (req.url === '/') { res.writeHead(200, {'content-type': 'text/html'}); res.end( '<form action="/...
<?php namespace Owbaz\EmployerBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Doctrine\Common\Collections\ArrayCollection; /** * @ORM\Entity(repositoryClass="Owbaz\EmployerBundle\Repository\EmployeesRepository") * @ORM\Table(name="jobsite_employees") */ class Employees { /** * @ORM\OneToMany(targ...
require 'tilt/template' module Tilt # RedCloth implementation. See: # http://redcloth.org/ class RedClothTemplate < Template def self.engine_initialized? defined? ::RedCloth end def initialize_engine require_template_library 'redcloth' end def prepare @engine = RedCloth.ne...
if [ $commands[autojump] ]; then # check if autojump is installed if [ -f $HOME/.autojump/etc/profile.d/autojump.zsh ]; then # manual user-local installation . $HOME/.autojump/etc/profile.d/autojump.zsh elif [ -f $HOME/.autojump/share/autojump/autojump.zsh ]; then # another manual user-local installation . ...
<?php namespace Zend\Server\Reflection; /** * Return value reflection * * Stores the return value type and description * * @category Zend * @package Zend_Server * @subpackage Zend_Server_Reflection */ class ReflectionReturnValue { /** * Return value type * @var string */ protected...
director_support.plugins.calendarAndChildCalendars=function(widget,numberDrawn,$content){ director_support.plugins.calendar.buildSample(widget,numberDrawn,$content); //TODO: Make theme an option //TODO: How should editable link up? //TODO: Start in week-view? //TODO: Option to show timeline events o...
#ifndef TENSORFLOW_LITE_KERNELS_EIGEN_SUPPORT_H_ #define TENSORFLOW_LITE_KERNELS_EIGEN_SUPPORT_H_ #include "tensorflow/lite/c/common.h" namespace EigenForTFLite { struct ThreadPoolDevice; } namespace tflite { namespace eigen_support { // Let the framework know that the op will be using Eigen. If necessary a set of...
""" Base exceptions """ class AwsToolsException(Exception): """ Base class for exceptions generated by the library """ pass class ConfigurationError(AwsToolsException): """ Raised when something is misconfigured """ pass
<?php //============================================================+ // File name : example_061.php // Begin : 2010-05-24 // Last Update : 2010-08-08 // // Description : Example 061 for TCPDF class // XHTML + CSS // // Author: Nicola Asuni // // (c) Copyright: // Nicola Asuni // ...
<?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace"> <channel> <title>alies</title> <link>http://bvs.wikidot.com/forum/t-57024/alies</link> <description>Posts in the discussion thread &quot;alies...
#ifndef BOOST_ALGORITHM_FIND_BACKWARD_HPP #define BOOST_ALGORITHM_FIND_BACKWARD_HPP #include <boost/config.hpp> #include <boost/range/begin.hpp> #include <boost/range/end.hpp> #include <utility> namespace boost { namespace algorithm { template<typename BidiIter, typename T> BOOST_CXX14_CONSTEXPR BidiIter find_bac...
#ifndef RBFFI_LONGDOUBLE_H #define RBFFI_LONGDOUBLE_H #include <ruby.h> #ifdef __cplusplus extern "C" { #endif #ifdef _MSC_VER #define strtold strtod #endif extern VALUE rbffi_longdouble_new(long double ld); extern long double rbffi_num2longdouble(VALUE value); #ifdef __cplusplus } #endif #endif /* RBFFI_LONGDO...
Turn a writeable and readable stream into a single streams2 duplex stream. Similar to [duplexer2](https://github.com/deoxxa/duplexer2) except it supports both streams2 and streams1 as input and it allows you to set the readable and writable part asynchronously using `setReadable(stream)` and `setWritable(stream)` ```...
<!DOCTYPE html> <html> <head> <script src="../../../resources/js-test.js"></script> <script src="../resources/common.js"></script> <script src="../resources/common-spinbutton-change-and-input-events.js"></script> </head> <body> <script> testSpinButtonChangeAndInputEvents('week', '2012-W10', '2012-W11'); </script> </bod...
// 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.Generic; using System.Linq; using Xunit; namespace Microsoft.CSharp.Runtime...
package com.google.javascript.jscomp; import com.google.common.base.Joiner; import com.google.common.base.Preconditions; import com.google.common.collect.BiMap; import com.google.common.collect.HashBiMap; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import com.google.common.collect....
package com.simple.colorful; import java.util.HashSet; import java.util.Set; import android.app.Activity; import android.content.res.Resources.Theme; import android.support.v4.app.Fragment; import android.view.View; import android.widget.TextView; import com.simple.colorful.setter.TextColorSetter; import com.simple....
<?php namespace Zend\Db\Sql\Ddl\Constraint; class PrimaryKey extends AbstractConstraint { /** * @var string */ protected $specification = 'PRIMARY KEY (%s)'; /** * @return array */ public function getExpressionData() { $colCount = count($this->columns); $n...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var PolygonMaskDrawStroke_1 = require("./PolygonMaskDrawStroke"); var OptionsColor_1 = require("../Particles/OptionsColor"); var Draw = (function () { function Draw() { this.enable = false; this.stroke = new PolygonMaskDraw...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Diagnostics; using System.Threading; using Microsoft.CodeAnalysis.CSharp.Symbols; using Roslyn.Utilities; nam...