text
stringlengths
3
1.05M
<?php // Example: Using Jivoo database system outside of Jivoo applications. use Jivoo\Core\Store\Document; use Jivoo\Databases\DatabaseSchemaBuilder; use Jivoo\Databases\DynamicSchema; use Jivoo\Databases\Loader; use Jivoo\Core\Log\Logger; use Jivoo\Core\Log\CallbackHandler; // Include Jivoo by either using composer...
var createCtor = require('./_createCtor'), root = require('./_root'); /** Used to compose bitmasks for function metadata. */ var BIND_FLAG = 1; /** * Creates a function that wraps `func` to invoke it with the optional `this` * binding of `thisArg`. * * @private * @param {Function} func The function to wrap. ...
using Microsoft.Internal; namespace System.ComponentModel.Composition.Diagnostics { internal static class CompositionTraceSource { private static readonly DebuggerTraceWriter Source = new DebuggerTraceWriter(); public static bool CanWriteInformation { get { return Source.Ca...
<track><frameset></frameset>
package master import ( "fmt" "net/http" "time" "k8s.io/apimachinery/pkg/util/wait" clientset "k8s.io/client-go/kubernetes" kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants" kubeconfigutil "k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig" ) func CreateClientAndWaitForAPI(file string) (*client...
package com.asayama.util.concurrent; import java.util.concurrent.TimeUnit; import com.asayama.util.math.Poisson; /** * Implementation of Poisson arrival process. * * @author kyoken74 */ public class PoissonArrivalProcess implements ArrivalProcess { private final Poisson p; private final long k; /** * Cre...
#include "config.h" #include "LocalizedStrings.h" #include <wtf/gobject/GOwnPtr.h> #include "IntSize.h" #include "NotImplemented.h" #include <wtf/MathExtras.h> #include <wtf/text/CString.h> #include <wtf/text/WTFString.h> #include <glib/gi18n-lib.h> #include <gtk/gtk.h> namespace WebCore { static const char* gtkS...
def hello(): pass <selection>print("Hello")</selection>
amqp::Sender::Sender(bool trackMessages) : m_trackMessages(trackMessages) { m_messenger = pn_messenger(NULL); _startMessenger(); } amqp::Sender::Sender(std::string const &name, bool trackMessages) : m_name(name), m_trackMessages(trackMessages) { m_messenger = pn_messenger(m_name.c_str()); _startMessenger(); } ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_60-ea) on Mon Oct 03 10:36:49 EDT 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.wil...
YUI.add('base-core', function (Y, NAME) { /** * The base module provides the Base class, which objects requiring attribute and custom event support can extend. * The module also provides two ways to reuse code - It augments Base with the Plugin.Host interface which provides * plugin support and al...
package Action::itemMoveManage; use ItemConstants; use Item; use Data::Dumper; use Session; sub run { our $q = shift; our $dbh = shift; our %in = map { $_ => $q->param($_) } $q->param; our $user = Session::getUser($q->env, $dbh); our $debug = 1; our $this_url = "${orcaUrl}cgi-bin/itemMoveManage.pl";...
import { useEffect } from 'react' import { useDispatch } from 'react-redux' import { startClock, serverRenderClock, initializeStore } from '../store' import Examples from '../components/examples' const Index = () => { const dispatch = useDispatch() useEffect(() => { setInterval(() => dispatch(startClock()), 10...
<!-- CSS --> <link rel="stylesheet" type="text/css" href="/devwidgets/pickeradvanced/css/pickeradvanced.css" /> <!-- MAIN VIEW --> <div id="pickeradvanced_container" class="s3d-dialog s3d-dialog-container"> <div class="s3d-dialog-close jqmClose"></div> <h1 id="pickeradvanced_search_people" class="pickeradvance...
import { Pizza } from "./pizza"; export abstract class PizzaDecorator extends Pizza { constructor(protected _pizza: Pizza) { super(); } }
(function() { // determine if in-browser or using node.js var _nodejs = ( typeof process !== 'undefined' && process.versions && process.versions.node); var _browser = !_nodejs && (typeof window !== 'undefined' || typeof self !== 'undefined'); if(_browser) { if(typeof global === 'undefined') { if(typeof wind...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const NullDependency = require("./NullDependency"); const webpackMissingModule = require("./WebpackMissingModule").module; class UnsupportedDependency extends NullDependency { constructor(request, range) ...
from __future__ import absolute_import from __future__ import print_function from typing import ( AbstractSet, Any, AnyStr, Callable, Dict, Iterable, Mapping, MutableMapping, Optional, Sequence, Set, Tuple, TypeVar, Union ) from django.utils.translation import ugettext as _ from django.conf import settings fro...
package com.badlogic.gdx.maps.objects; import com.badlogic.gdx.maps.MapObject; import com.badlogic.gdx.math.Polyline; /** @brief Represents {@link Polyline} map objects */ public class PolylineMapObject extends MapObject { private Polyline polyline; /** @return polyline shape */ public Polyline getPolyline () ...
package io.dropwizard.migrations; import com.google.common.collect.ImmutableMap; import net.jcip.annotations.NotThreadSafe; import net.sourceforge.argparse4j.inf.Namespace; import org.junit.Before; import org.junit.Test; import java.io.ByteArrayOutputStream; import java.io.OutputStreamWriter; import java.io.PrintStre...
import { Component, Input, Output, EventEmitter, OnDestroy, ViewChild } from '@angular/core'; import { MessageModal } from 'app/models/message-modal'; import { GeneralModalService } from 'app/services/general-modal/general-modal.service'; declare let $: any; @Component({ selector: 'taskana-spinner', templateUr...
package jwt import ( "crypto/rsa" "crypto/x509" "encoding/pem" "errors" ) var ( ErrKeyMustBePEMEncoded = errors.New("Invalid Key: Key must be PEM encoded PKCS1 or PKCS8 private key") ErrNotRSAPrivateKey = errors.New("Key is not a valid RSA private key") ) // Parse PEM encoded PKCS1 or PKCS8 private key func...
<div class="page-header"> <h1>Users <span class="badge">{{ users.length }}</span></h1> </div> <div class="pull-right"> <button class="btn btn-primary" data-toggle="modal" data-target="#saveForm" data-ng-click="newUser()">+ New</button> </div> <div class="clearfix"></div> <div class="modal fade" id="saveF...
package com.hazelcast.internal.partition; import com.hazelcast.core.HazelcastInstance; import com.hazelcast.instance.Node; import com.hazelcast.nio.Address; import com.hazelcast.test.HazelcastParallelClassRunner; import com.hazelcast.test.HazelcastTestSupport; import com.hazelcast.test.annotation.ParallelTest; impor...
`AlertCenter` displays notifications in a manner similar to native iOS banner notifications. ## iOS Example ```csharp using Xamarin.Controls; ... public override void ViewDidLoad () { base.ViewDidLoad (); AlertCenter.Default.PostMessage ("Knock knock!", "Who's there?"); AlertCenter.Default.PostMessage ("Interrup...
YUI.add('loader-base', function (Y, NAME) { /** * The YUI loader core * @module loader * @submodule loader-base */ if (!YUI.Env[Y.version]) { (function() { var VERSION = Y.version, BUILD = '/build/', ROOT = VERSION + '/', CDN_BASE = Y.Env.base, GALLERY_...
void ActiveTexture(GLenum texture) override; void AttachShader(GLuint program, GLuint shader) override; void BindAttribLocation(GLuint program, GLuint index, const char* name) override; void BindBuffer(GLenum target, GLuint buffer) override; void BindBufferBase(GLenum...
""" neuralnetwork module tests """ import os.path as path import numpy as np import tensorflow as tf import pytest import yaml import yass from yass.batch import BatchProcessor from yass import neuralnetwork from yass.neuralnetwork import NeuralNetDetector, KerasModel, AutoEncoder from yass.neuralnetwork.apply import...
<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE erlref SYSTEM "erlref.dtd"> <erlref> <header> <copyright> <year>2000</year><year>2013</year> <holder>Ericsson AB. All Rights Reserved.</holder> </copyright> <legalnotice> Licensed under the Apache License, Version 2.0 (the "License"); ...
/** * Loading Screen * <Loading text={'Server is down'} /> * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ 'use strict'; /* Setup ==================================================================== */ import React, { Component } from 'react' import { View, Activity...
<android.support.v7.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/fragment_nerd_launcher_recycler_view" android:layout_width="match_parent" android:layout_height="match_parent"> </android.support.v7.widget.RecyclerView>
package net.floodlightcontroller.linkdiscovery.web; import net.floodlightcontroller.linkdiscovery.ILinkDiscoveryService; import org.restlet.data.Status; import org.restlet.resource.Get; import org.restlet.resource.ServerResource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class AutoPortFast exte...
from telemetry.core import util from telemetry.page.actions import play from telemetry.unittest import tab_test_case AUDIO_1_PLAYING_CHECK = 'window.__hasEventCompleted("#audio_1", "playing");' VIDEO_1_PLAYING_CHECK = 'window.__hasEventCompleted("#video_1", "playing");' VIDEO_1_ENDED_CHECK = 'window.__hasEventComplete...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>higman-cf: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
package com.github.pockethub.ui.repo; import android.content.res.Resources; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.app.ActionBarActivity; import com.github.pockethub.R; import com.github.pockethub.ui.FragmentPagerAdapter; import com.github.pockethub.ui.code.Reposi...
module.exports = glob var fs = require("fs") var minimatch = require("minimatch") var Minimatch = minimatch.Minimatch var inherits = require("inherits") var EE = require("events").EventEmitter var path = require("path") var assert = require("assert") var globSync = require("./sync.js") var common = require("./common.j...
<!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.5.0_01) on Tue Jan 03 22:21:27 CAT 2006 --> <TITLE> Uses of Class org.cidrz.project.zeprs.valueobject.AbdominalPalp </TITLE> <LINK REL ="styl...
<?xml version="1.0" ?> <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"> <services> <service id="foo" class="FooClass" /> ...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="GradleSettings"> <option name="linkedExternalProjectsSettings"> <GradleProjectSettings> <option name="distributionType" value="DEFAULT_WRAPPED" /> <option name="externalProjectPath" value="$PROJECT_DIR$/myfirstprog...
<?php namespace Symfony\Component\Console\Tests\Command; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Helper\FormatterHelper; use Symfony\Component\Console\Application; use Symfony\Component\Console\Input\InputDefinition; use Symfony\Component\Console\Input\InputArgument; use Symfony...
package org.basex.query.func.fn; import static org.basex.query.func.Function.*; import org.basex.query.*; import org.basex.query.CompileContext.*; import org.basex.query.expr.*; import org.basex.query.expr.CmpG.*; import org.basex.query.func.*; import org.basex.query.util.*; import org.basex.query.value.item.*; impor...
<?php namespace Symfony\Component\Console\Helper; use Symfony\Component\Console\Exception\LogicException; use Symfony\Component\Console\Output\ConsoleOutputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Terminal; /** * The ProgressBar provides helpers to display pro...
/* * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed...
<?php /** * User: zach * Date: 5/7/14 * Time: 12:04 PM */ namespace Elasticsearch\Endpoints\Snapshot; use Elasticsearch\Endpoints\AbstractEndpoint; use Elasticsearch\Common\Exceptions; /** * Class Status * * @category Elasticsearch * @package Elasticsearch\Endpoints\Snapshot * @author Zachary Tong <zachar...
<?php namespace Phalcon\Cache\Frontend; /** * Phalcon\Cache\Frontend\Data * * Allows to cache native PHP data in a serialized form * * <code> * use Phalcon\Cache\Backend\File; * use Phalcon\Cache\Frontend\Data; * * // Cache the files for 2 days using a Data frontend * $frontCache = new Data( * [ * ...
package org.springframework.boot.configurationprocessor; import java.io.File; import java.io.IOException; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.io.TempDir; import org.springframework.boot.configurationprocessor.metadata.ConfigurationMetadata; import org.springframework.boot.configur...
/* * LOCATION: see http://www.boost.org for most recent version. * FILE: wc_regex_traits.cpp * VERSION: see <boost/version.hpp> * DESCRIPTION: Implements out of line members for c_regex_traits<wchar_t> */ #define BOOST_REGEX_SOURCE #include <boost/detail/workaround.hpp> #include <m...
__author__ = 'matthewpang' from Tkinter import * import pickle import time root = Tk() root.title("Stretch Test Interface") # Define Frame control_frame = Frame(root) button_frame = Frame(control_frame) mode_frame = Frame(control_frame) switch_frame = Frame(control_frame) slider_frame = Frame(root) reset = IntVar()...
#if defined(__GNUC__) #warning "Inclusion of header files from include/Qt is deprecated." #elif defined(_MSC_VER) #pragma message("WARNING: Inclusion of header files from include/Qt is deprecated.") #endif #endif #include "../QtGui/qmenu.h"
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>ip::udp::resolver</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../../boost_asio.html" tit...
#include <qpa/qplatformintegrationplugin.h> #include "qxcbintegration.h" QT_BEGIN_NAMESPACE class QXcbIntegrationPlugin : public QPlatformIntegrationPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2" FILE "xcb.json") public: QPlatformIntegration *creat...
<?php namespace yii\filters\auth; use yii\web\User; use yii\web\Request; use yii\web\Response; use yii\web\IdentityInterface; use yii\web\UnauthorizedHttpException; /** * AuthInterface is the interface that should be implemented by auth method classes. * * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 *...
require 'fastimage' module Deliver # AppScreenshot represents one screenshots for one specific locale and # device type. class AppScreenshot module ScreenSize # iPhone 4 IOS_35 = "iOS-3.5-in" # iPhone 5 IOS_40 = "iOS-4-in" # iPhone 6 IOS_47 = "iOS-4.7-in" # iPhone 6 ...
.highlight pre .hll { background-color: #ffffcc } .highlight pre { background: #ffffff; } .highlight pre .c { font-style: italic } /* Comment */ .highlight pre .err { border: 1px solid #FF0000 } /* Error */ .highlight pre .k { font-weight: bold } /* Keyword */ .highlight pre .cm { font-style: italic } /* Comment.Multi...
package org.apache.camel.itest.osgi.core.file; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.itest.osgi.OSGiIntegrationTestSupport; import org.junit.Test; import org.junit.runner.RunWith; import org.ops4j.pax.exam.junit.PaxExam; @RunWith(Pa...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /*Problem 2 – Greedy Dwarf Joro is a very nice dwarf, but he is a little greedy. He and his friend Gosho heard about a valley that they can collect lots of coins. Unfortunately they can also lose some of...
<?php namespace Assetic\Filter\Yui; use Assetic\Asset\AssetInterface; /** * Javascript YUI compressor filter. * * @link http://developer.yahoo.com/yui/compressor/ * @author Kris Wallsmith <kris.wallsmith@gmail.com> */ class JsCompressorFilter extends BaseCompressorFilter { private $nomunge; private $p...
namespace mpl = boost::mpl; namespace proto = boost::proto; namespace fusion = boost::fusion; struct int_convertible { int_convertible() {} operator int() const { return 0; } }; struct Input : proto::or_< proto::shift_right< proto::terminal< std::istream & >, proto::_ > , proto::shift_right< I...
.oo-ui-icon-alignCentre { background-image: url('themes/wikimediaui/images/icons/align-center.png'); background-image: -webkit-linear-gradient(transparent, transparent), /* @embed */ url('themes/wikimediaui/images/icons/align-center.svg'); background-image: linear-gradient(transparent, transparent), /* @embed */...
package org.elasticsearch.action.admin.indices.create; import org.elasticsearch.action.Action; import org.elasticsearch.client.ElasticsearchClient; /** */ public class CreateIndexAction extends Action<CreateIndexRequest, CreateIndexResponse, CreateIndexRequestBuilder> { public static final CreateIndexAction I...
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyrigh...
// MarionetteJS (Backbone.Marionette) // ---------------------------------- // v1.6.4 // // Copyright (c)2014 Derick Bailey, Muted Solutions, LLC. // Distributed under MIT license // // http://marionettejs.com /*! * Includes BabySitter * https://github.com/marionettejs/backbone.babysitter/ * * Includes Wreqr * ...
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Attribute space-separated value selector without declared namespace</title> <style type="text/css"><![CDATA[@namespace a url(http://www.example.org/a); @namespace b url(http://www.example.org/b); @namespace html url(http://www.w3.org/1999/xhtml); *|p, *|add...
<img src="http://art.cs61a.org/artwork/30.png" alt="Cal Dente" width="400px" height="400px" /> http://art.cs61a.org/winners Requires the CS61A version of the Scheme interpreter, because it needs access to the turtle graphics functions and some of the bonus extensions (tail recursion and library functions)
""" Multi-class / multi-label utility function ========================================== """ from __future__ import division from collections import Sequence from itertools import chain from scipy.sparse import issparse from scipy.sparse.base import spmatrix from scipy.sparse import dok_matrix from scipy.sparse impo...
/** * Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior * University * * 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...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Home extends CI_Controller { public function _remap() { $seg1 = $this->uri->segment(1); $seg2 = $this->uri->segment(2); $seg3 = $this->uri->segment(3); $seg4 = $this->uri->segment(4); $page_data = array(); ...
package it.sephiroth.android.library.floatingmenu; /** * Created by alessandro on 24/05/14. */ public class FloatingActionItem { int id; int resId; int delay = 0; int paddingTop = 0; int paddingBottom = 0; int paddingLeft = 0; int paddingRight = 0; int backgroundResId; static public class Builder { int i...
The layout configuration is passed into the `options.layout` namespace. The global options for the chart layout is defined in `Chart.defaults.global.layout`. | Name | Type | Default | Description | -----| ---- | --------| ----------- | `padding` | `Number` or `Object` | `0` | The padding to add inside the chart. [more...
/** * @author TristanVALCKE / https://github.com/Itee */ /* global QUnit */ import { Cache } from '../../../../src/loaders/Cache'; export default QUnit.module( 'Loaders', () => { QUnit.module( 'Cache', () => { // PUBLIC STUFF QUnit.todo( "add", ( assert ) => { assert.ok( false, "everything's gonna be alr...
using System; public static partial class Extensions { /// <summary> /// An object extension method that converts this object to a character or default. /// </summary> /// <param name="this">The @this to act on.</param> /// <returns>The given data converted to a char.</returns> public stati...
;(function (root, factory, undef) { if (typeof exports === "object") { // CommonJS module.exports = exports = factory(require("./core"), require("./sha1"), require("./hmac")); } else if (typeof define === "function" && define.amd) { // AMD define(["./core", "./sha1", "./hmac"], factory); } else { // Glob...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content=...
package config const ( // The amount of time (in ms) to elapse without a heartbeat before becoming a candidate defaultElectionTimeout = 200 // The frequency (in ms) by which heartbeats are sent to followers. defaultHeartbeatInterval = 50 )
import React from 'react'; const WidgetList = React.createClass({ render: function() { return ( <ul className="widget-list"> <li>Сообщение от пользователя 1</li> <li>Сообщение от пользователя 2</li> <li>Сообщение от пользователя 3</li> </ul> ); } }); export default Widg...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Combined transform rotate() scale()</title> <style type="text/css" media="screen"> #box { height: ...
package org.apache.gobblin.metrics.event; import org.apache.gobblin.metrics.GobblinTrackingEvent; /** * Job-related event types and their metadata, stored in {@link GobblinTrackingEvent#metadata} * * @author Lorand Bendig * */ public class JobEvent { public static final String JOB_STATE = "JobStateEvent"; /...
using System; using System.Diagnostics; using System.Runtime.InteropServices; internal partial class Interop { internal partial class BCrypt { internal const int BCRYPT_KEY_DATA_BLOB_MAGIC = 0x4d42444b; // 'KDBM' internal const int BCRYPT_KEY_DATA_BLOB_VERSION1 = 1; } }
/** * This module defines all the arguments that may be passed to a message. * * Each argument may contain a field `__argName`, if the name of the field * should be different when sent to the server. * * The argument may also contain a field `__argType`, if the given * argument must be of that type. The types ...
<html> <head> <title>Wordpress2Blogger conversion utility</title> </head> <body> <form method="post" action="/wp2b/" enctype="multipart/form-data"> <input type="file" name="input-file" /> <input type="hidden" name="token" value="001100110011" /> <input type="submit" value="Upload" class=...
package com.intellij.util; import org.jetbrains.annotations.NotNull; /** * @author Konstantin Bulenkov */ public abstract class FunctionWithTimeout<T> { protected abstract void updateValue(T initialValue); @NotNull public T calculate(long timeout, @NotNull final T initialValue) { TimeoutUtil.executeWith...
<?php namespace Zend\Db\Adapter\Driver\IbmDb2; use Zend\Db\Adapter\Driver\DriverInterface; use Zend\Db\Adapter\Exception; use Zend\Db\Adapter\Profiler; class IbmDb2 implements DriverInterface, Profiler\ProfilerAwareInterface { /** * @var Connection */ protected $connection; /** @var Statement...
// (C) Copyright 2015 Martin Dougiamas // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
package org.apache.flink.runtime.testutils; import java.security.Permission; import java.util.concurrent.CompletableFuture; /** * {@link SecurityManager} implementation blocks calls to {@link System#exit(int)}. On the first * call to {@link System#exit(int)}, we complete the future that can be retrieved via {@lin...
#if !defined(SPIRIT_SIGN_MAR_11_2009_0734PM) #define SPIRIT_SIGN_MAR_11_2009_0734PM #if defined(_MSC_VER) #pragma once #endif #include <boost/config/no_tr1/cmath.hpp> #include <boost/version.hpp> #if BOOST_VERSION < 104000 #include <boost/spirit/home/support/detail/math/fpclassify.hpp> #include <boost/spirit/home/s...
<!DOCTYPE html> <html class="writer-html5" lang="en" > <head> <meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>pymatgen.analysis.chemenv.coordination_environments package &...
// See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ // // Version : $Revision$ // // Description : forwarding source // *************************************************************************** #define BOOST_TEST_SOURCE #include <boost/test/impl/test_too...
/** * Actuator support for {@link org.springframework.web.reactive.function.client.WebClient} * metrics. */ package org.springframework.boot.actuate.metrics.web.reactive.client;
require "pathname" require "byebug/command" require "byebug/helpers/frame" require "byebug/helpers/parse" module Byebug # # Move to specific frames in the backtrace. # class FrameCommand < Command include Helpers::FrameHelper include Helpers::ParseHelper self.allow_in_post_mortem = true def s...
package org.nutz.ioc.loader.xml.meta; import java.util.Calendar; import java.util.List; import java.util.Map; public class Bee { public Bee() {} public Bee(String name) { this.name = name; } public Bee(Bee mother, String name) { this.mother = mother; this.nam...
namespace boost { namespace python { namespace detail { // Given a pointer-to-function of 1 parameter returning a reference // type, return the type_id of the function's return type. template <class T, class U> inline type_info extractor_type_id(T&(*)(U)) { return type_id<T>(); } // A function gen...
# # # /* See http://www.boost.org for most recent version. */ # # ifndef BOOST_PREPROCESSOR_FACILITIES_IS_EMPTY_HPP # define BOOST_PREPROCESSOR_FACILITIES_IS_EMPTY_HPP # # include <boost/preprocessor/config/config.hpp> # # if BOOST_PP_VARIADICS # # include <boost/preprocessor/facilities/is_empty_variadic.hpp> # # else...
<?php require '../vendor/autoload.php'; use Pux\Controller; use Pux\Executor; use Pux\Mux; use Pux\Router; class MyController extends Controller { public function indexAction() { return 'MyController::indexAction()!'; } public function helloAction() { return 'MyController::helloAction()!...
'use strict'; var Graph = require('../../data_structures/graph'), depthFirstSearch = require('../../algorithms/graph/depth_first_search'); /** Examine a graph and compute pair of end vertices of the existing Euler path. * Return pair of undefined values if there is no specific choice of end points. * Return v...
<?xml version="1.0" encoding="UTF-8"?> <csd:careServicesFunction xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSch...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <meta name="apple-mobile-web-app-capable" content="yes"> <title>Basic Bing Tiles with a Subset of...
:man_page: bson_value_copy bson_value_copy() ================= Synopsis -------- .. code-block:: c void bson_value_copy (const bson_value_t *src, bson_value_t *dst); Parameters ---------- * ``src``: A :symbol:`bson_value_t` to copy from. * ``dst``: A :symbol:`bson_value_t` to copy into. Description ---------...
<?php defined('C5_EXECUTE') or die("Access Denied."); ?> <fieldset> <legend> <button class="btn btn-xs pull-right btn-default" type="button" id="ccm-block-share-this-page-add-service"><?php echo t('Add Service')?></button> <?php echo t('Services')?> </legend> <div id="ccm-block-share-this-...
ubuntu_version="`lsb_release -r | awk '{print $2}'`"; major_version="`echo $ubuntu_version | awk -F. '{print $1}'`"; if [ "$ubuntu_version" = '17.10' ] || [ "$major_version" -ge "18" ]; then echo "Create netplan config for eth0" cat <<EOF >/etc/netplan/01-netcfg.yaml; network: version: 2 ethernets: eth0: ...
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Namespace | stdlib</title> <meta name="description" content="stdlib is a standard library fo...