text
stringlengths
3
1.05M
// Copyright 2019 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.gesturenav; import android.os.SystemClock; import android.support.test.InstrumentationRegistry; import android.view.M...
These settings apply only when `--go` is specified on the command line. ``` yaml $(go) go: license-header: MICROSOFT_APACHE_NO_VERSION namespace: computervision clear-output-folder: true ``` ### Go multi-api ``` yaml $(go) && $(multiapi) batch: - tag: release_2_0 - tag: release_2_1 - tag: release_3_0 ```...
package io.sarl.examples.tests.utils; import static io.sarl.examples.wizard.XmlUtils.readXmlAttribute; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.fail; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.File...
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. /* An example of wrapping a C library in Go. This is the GNU multiprecision library gmp's integer type mpz_t wrapped to look like the Go package big's integer ...
class CreateCollaborators < ActiveRecord::Migration def change create_table :collaborators do |t| t.belongs_to :project, index: true t.string :login t.timestamps end end end
/** * @file Motion.h * * @author <a href="mailto:mellmann@informatik.hu-berlin.de">Heinrich Mellmann</a> * @author <a href="mailto:xu@informatik.hu-berlin.de">Xu, Yuan</a> * */ #ifndef MOTION_H #define MOTION_H #include <PlatformInterface/Callable.h> #include <PlatformInterface/PlatformInterface.h> #include <M...
<?php final class PhabricatorInFlightErrorView extends AphrontView { private $message; public function setMessage($message) { $this->message = $message; return $this; } public function getMessage() { return $this->message; } public function render() { return phutil_tag( 'div', ...
module A {} A = undefined; // invalid LHS //// [assignToModule.js] A = undefined; // invalid LHS
/** * @author Pedro Sanders * @since v1 */ const { RTPBridgingNote } = require('@routr/rtpengine/rtp_bridging_note') const ViaHeader = Java.type('javax.sip.header.ViaHeader') const Buffer = require('buffer/').Buffer const bencode = require('bencode') const isTransportWeb = t => t === 'ws' || t === 'wss' const LogMan...
/** @file epoll_io_loop.h * @note * @brief CEPOLLIOLoop类的头文件。 * * @author shiwei * @date 2014/03/20 * * @note 该类使用epoll的LT模式完成网络IO的读写 * @note 历史记录: * @note V1.0.0 创建文件 */ #ifndef _EPOLL_IO_LOOP_H #define _EPOLL_IO_LOOP_H #include "socket_io.h" #include "../thread/base_thread.hpp" #include...
declare module ng.cookies { /////////////////////////////////////////////////////////////////////////// // CookieService // see http://docs.angularjs.org/api/ngCookies.$cookies /////////////////////////////////////////////////////////////////////////// interface ICookiesService {} ////////////...
package org.wso2.carbon.ntask.core; import java.util.Map; import org.wso2.carbon.ntask.common.TaskException; /** * This interface represents the contract that must be implemented to retrieve * the location that a given task should be scheduled. */ public interface TaskLocationResolver { /** * Initializes the...
namespace base { class FilePath; } namespace mate { class Arguments; } // namespace mate namespace atom { #if defined(OS_WIN) enum class JumpListResult : int; #endif struct ProcessMetric { int type; base::ProcessId pid; std::unique_ptr<base::ProcessMetrics> metrics; ProcessMetric(int type, ...
require 'spec_helper_acceptance' describe 'empty function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do describe 'success' do it 'recognizes empty strings' do pp = <<-EOS $a = '' $b = true $o = empty($a) if $o == $b { notify { 'output correct': } ...
module Sass module Selector # The abstract parent class of the various selector sequence classes. # # All subclasses should implement a `members` method that returns an array # of object that respond to `#line=` and `#filename=`, as well as a `to_s` # method that returns the string representation ...
// 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. // // FILE: profiler.cpp // // // // ============================================================================...
package tests class Baz { private[this] var inner = 0 def NameAfterRename_=(i: Int) { inner = i } def NameAfterRename = inner } object Bar extends Baz { override var NameAfterRename = 2 } object Bar2 extends Baz { override def NameAfterRename_=(i: Int): Unit = super.NameAfterRename_=(i) override...
// Copyright 2014 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.net.urlconnection; import android.test.suitebuilder.annotation.SmallTest; import org.chromium.base.test.util.Feature; import org.ch...
// Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
export class ConsoleAppender { constructor(){} debug(logger, message, ...rest){ console.debug(`DEBUG [${logger.id}] ${message}`, ...rest); } info(logger, message, ...rest){ console.info(`INFO [${logger.id}] ${message}`, ...rest); } warn(logger, message, ...rest){ console.warn(`WARN [${logger....
// Copyright (c) 2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "base58.h" #include "hash.h" #include "uint256.h" #include <assert.h> #include <stdint.h> #include <string.h> #include <vect...
jQuery(function($) { var cardWrapper = $('#cardWrapper'), cardForm = $('#cardForm'), formError = $('#cardFormError'), cardFormBtn = cardForm.find('button'); if(cardWrapper.length > 0){ $("input[name=plan]:radio").change(function (e) { if(this.value == 'free'){ cardWrapper.hide(); } e...
{-# LANGUAGE OverloadedStrings #-} module Network.AWS.Utils ( ConfigFile , credentialsFromFile , configFromFile , authFromCredentilas , parseConfigFile , regionOf , endPointOf , sourceProfileOf , accessKeyIdOf , secretAccessKeyOf , sessionTokenOf , expirationOf , roleARNOf ) where -- For n...
#ifndef JSVIEWER_H_ #define JSVIEWER_H_ #include <string> // Viewer for JavaScript code. class JsViewer { public: JsViewer(); void jsToHTML(const std::string& js, std::string* out); private: void jsLineToHTML(int line_number, const std::string& line, std::string* out); void jsLineContinuation(int line_numbe...
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace UnityEngine.FrameRecorder.Input { public class AdamBeautyInput : BaseRenderTextureInput { Shader superShader; Shader accumulateShader; Shader normalizeShader; RenderTexture m_renderRT;...
package org.apache.mina.integration.beans; import java.beans.PropertyEditor; /** * A {@link PropertyEditor} which converts a {@link String} into * a {@link Short} and vice versa. * * @author <a href="http://mina.apache.org">Apache MINA Project</a> */ public class ShortEditor extends NumberEditor { @Override...
import { BaseException } from 'angular2/src/facade/exceptions'; export declare enum TokenType { Character = 0, Identifier = 1, Keyword = 2, String = 3, Operator = 4, Number = 5, } export declare class Lexer { tokenize(text: string): any[]; } export declare class Token { index: number; ...
layout: default title: Home slug: home --- <div class="post-list"> {% for post in paginator.posts %} {% include post.html %} {% endfor %} {% include pagination.html %} </div>
package org.codehaus.groovy.antlr.treewalker; import java.util.*; import org.codehaus.groovy.antlr.GroovySourceAST; /** * A composite of many visitors. Any call to a method from Visitor * will invoke each visitor in turn, and reverse the invocation * order on a closing visit. * i.e. * with the list of visitors...
foo { filter: foo(opacity=1000); }
using System; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.WindowsAzure.MobileServices; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace blog20141010.Test { [TestClass] public class Ta...
package org.jbehave.core.failures; /** * PendingStepStrategy allows to define how pending steps are handled. Two * standard strategies are provided: * <ul> * <li>{@link PassingUponPendingStep}: passes upon pending step</li> * <li>{@link FailingUponPendingStep}: fails upon pending step</li> * </ul> */ public int...
add-ssh-keys-from-github ======================== Given a list of GitHub usernames, this Ansible role downloads their SSH public keys from GitHub and adds them to `~/.ssh/authorized_keys`. Requirements ------------ * `httplib2` - installed automatically via PIP Role Variables -------------- add_ssh_keys_from_g...
DDLogLevel ddLogLevel; @implementation GlobalLogLevelAppDelegate @synthesize window; void someFunction() { DDLogError(@"%@: C_Error", THIS_FILE); DDLogWarn(@"%@: C_Warn", THIS_FILE); DDLogInfo(@"%@: C_Info", THIS_FILE); DDLogVerbose(@"%@: C_Verbose", THIS_FILE); } - (void)applicationDidFinishLaunchi...
<!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 (version 1.7.0_80) on Thu Jun 18 14:08:47 EDT 2015 --> <title>Uses of Class org.apache.cassandra.cql3.statements.ModificationStatement (apache-cassand...
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. ~ ~ WSO2 Inc. licenses this file to you 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 ...
package com.twitter.finatra.http.integration.doeverything.main.modules import com.google.inject.Provides import com.google.inject.name.{Named, Names} import com.twitter.conversions.time._ import com.twitter.finatra.http.integration.doeverything.main.services.{ComplexServiceFactory, MultiService, OneMultiService, TwoMu...
<?php class Library {}
<html> <body> Yahoo UI javascript library and widgets integration with Wicket. </body> </html>
package org.springframework.security.oauth2.common; import org.springframework.security.web.util.ThrowableAnalyzer; import org.springframework.security.web.util.ThrowableCauseExtractor; import javax.servlet.ServletException; /** * Default implementation of <code>ThrowableAnalyzer</code> which is capable of also unw...
#include "SkPdfNativeObject.h" #include "SkBitmap.h" #include "SkFlate.h" #include "SkPdfFont.h" #include "SkPdfNativeTokenizer.h" #include "SkPdfReporter.h" #include "SkStream.h" // TODO(edisonn): mac builder does not find the header ... but from headers is ok //#include "SkPdfStreamCommonDictionary_autogen.h" #in...
namespace boost { namespace signals2 { namespace detail { struct std_functional_base {}; } // namespace detail } // namespace signals2 } // namespace boost #endif // BOOST_SIGNALS2_PREPROCESSED_ARG_TYPE_HPP
go-update allows a program to update itself by replacing its executable file with a new version. It provides the flexibility to implement different updating user experiences like auto-updating, or manual user-initiated updates. It also boasts advanced features like binary patching and code signing verification. Updati...
// 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.Linq; using System.Threading; using System.Threading.Tasks; using System.Xml.Linq; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnal...
<?php /** * @uses Zend_Service_DeveloperGarden_Response_ConferenceCall_AbstractConferenceCall * @category Zend * @package Zend_Service * @subpackage DeveloperGarden * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @author Marco Kaiser * @license http://...
/** * @license AngularJS v1.3.0-beta.18 * (c) 2010-2014 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...
package org.wso2.andes.server.exchange; import org.wso2.andes.management.common.mbeans.annotations.MBeanDescription; import org.wso2.andes.management.common.mbeans.annotations.MBeanConstructor; import org.wso2.andes.server.binding.Binding; import javax.management.JMException; import javax.management.openmbean.*; imp...
#include <string.h> #include <re_types.h> #include <re_fmt.h> #include <re_list.h> #include <re_mem.h> #include <re_mbuf.h> #include <re_dns.h> /** * Encode a DNS character string into a memory buffer * * @param mb Memory buffer to encode into * @param str Character string * * @return 0 if success, otherwise ...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_socket::get_io_context</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../boost_asi...
/** * 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 * distribu...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
<?php final class DiffusionQueryCommitsConduitAPIMethod extends DiffusionConduitAPIMethod { public function getAPIMethodName() { return 'diffusion.querycommits'; } public function getMethodDescription() { return pht('Retrieve information about commits.'); } protected function defineReturnType() ...
<?xml version="1.0"?> <doc> <assembly> <name>System.Web.WebPages.Deployment</name> </assembly> <members> <member name="T:Microsoft.Internal.Web.Utils.CommonResources"> <summary> A strongly-typed resource class, for looking up localized strings, etc. ...
#include <linux/capability.h> #include <linux/fs.h> #include <linux/xattr.h> #include <linux/posix_acl_xattr.h> #include <linux/slab.h> #include <linux/quotaops.h> #include <linux/security.h> #include "jfs_incore.h" #include "jfs_superblock.h" #include "jfs_dmap.h" #include "jfs_debug.h" #include "jfs_dinode.h" #incl...
import 'rxjs-compat/add/operator/combineAll';
/*jslint adsafe: false, bitwise: true, browser: true, cap: false, css: false, debug: false, devel: true, eqeqeq: true, es5: false, evil: false, forin: false, fragment: false, immed: true, laxbreak: false, newcap: true, nomen: false, on: false, onevar: true, passfail: false, plusplus: true, regexp: false, rhino:...
#include <string.h> #include "unicode/localpointer.h" #include "unicode/uperf.h" #include "unicode/ucol.h" #include "unicode/coll.h" #include "unicode/uiter.h" #include "unicode/ustring.h" #include "unicode/sortkey.h" #include "uarrsort.h" #include "uoptions.h" #include "ustr_imp.h" #define COMPACT_ARRAY(CompactArra...
"""Utility functions for reading/writing graphs.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import os.path from google.protobuf import text_format from tensorflow.python.framework import ops from tensorflow.python.lib.io import file_io fro...
<?php namespace yii\widgets; use Yii; use yii\base\Widget; use yii\helpers\ArrayHelper; use yii\helpers\Html; use yii\helpers\Json; use yii\web\Response; /** * Pjax is a widget integrating the [pjax](https://github.com/yiisoft/jquery-pjax) jQuery plugin. * * Pjax only deals with the content enclosed between its ...
<?php namespace app\models; use Yii; /** * This is the model class for table "education". * * @property integer $id * @property string $user_id * @property string $degree * @property string $institution * @property string $from * @property string $to */ class Education extends \yii\db\ActiveRecord { /**...
Sequel.migration do up do drop_table?(:property_bags) create_table?(:app_properties, charset:'utf8') do primary_key :id, unsigned:true, null:false foreign_key :app_id, index:true, null:false foreign_key :storage_id, index:true String :name, index:true, null:false Text :value ...
import Bowser = require('bowser'); Bowser.msedge === true; Bowser.test(['msie']) === true; Bowser.a === Bowser.c; Bowser.osversion > 10; Bowser.osversion === '10.1A'; bowser.msedge === true; bowser.test(['msie']) === true; bowser.a === bowser.c; bowser.osversion > 10; bowser.osversion === '10.1A'; bowser.compareVersi...
package database; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Observable; import java.util.Observer; import java.util.TreeMap; import ntp.NTP; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.mapdb.BTreeKeySerializer; import ...
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="Hello">Hello World, Click Me!</string> <string name="ApplicationName">$projectname$</string> </resources>
<?php namespace Zend\Http\Exception; class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface { }
package com.marshalchen.common.uimodule.customshapeimageview.widget; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.RectF; import android.util.AttributeSet; /** * Created by Mostafa ...
namespace SmartSchoolManagementSystem { partial class Studentresultcard { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </...
package org.apereo.cas.authentication; import org.apereo.cas.authentication.principal.Service; /** * This is {@link DefaultAuthenticationSystemSupport}. * * @author Misagh Moayyed * @author Dmitriy Kopylenko * @since 4.2.0 */ public class DefaultAuthenticationSystemSupport implements AuthenticationSystemSupport...
import datetime from dateutil.parser import parse from mongoengine import DateTimeField, FileField from mongoengine.connection import DEFAULT_CONNECTION_NAME from mongoengine.python_support import str_types import StringIO from django.conf import settings if settings.FILE_DB == settings.S3: import crits.core.s3_t...
/*! { "name" : "HTML5 Audio Element", "property": "audio", "tags" : ["html5", "audio", "media"] } !*/ /* DOC Detects the audio element */ define(['Modernizr', 'createElement'], function(Modernizr, createElement) { // This tests evaluates support of the audio element, as well as // testing what types of conten...
"use strict"; var mocks = require("../../mocks"); var React; var ReactTestUtils; var reactComponentExpect; var TestComponent; describe('ReactCompositeComponent-mixin', function() { beforeEach(function() { React = require("../../React"); ReactTestUtils = require("../../ReactTestUtils"); reactCompone...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
'use strict' var util = require('util') var EventEmitter = require('events').EventEmitter var debug = { server: require('debug')('spdy:window:server'), client: require('debug')('spdy:window:client') } function Side (window, name, options) { EventEmitter.call(this) this.name = name this.window = window th...
require 'test_helper' class MonerisRemoteTest < Test::Unit::TestCase def setup Base.mode = :test @gateway = MonerisGateway.new(fixtures(:moneris)) @amount = 100 @credit_card = credit_card('4242424242424242') @options = { :order_id => generate_unique_id, :customer => generate_unique_i...
#ifndef __UCLN_IMP_H__ #define __UCLN_IMP_H__ #include "ucln.h" #include <stdlib.h> /** * Auto cleanup of ICU libraries * There are several methods in per library cleanup of icu libraries: * 1) Compiler/Platform based cleanup: * a) Windows MSVC uses DllMain() * b) GCC uses destructor function attribute *...
package wikokit.base.wikt.sql; import wikokit.base.wikt.sql.TInflection; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; import wikokit.base.wikipedia.sql.Connect; import wikokit.base.wikipedia.language...
<?php /** Zend_Pdf_Action */ // require_once 'Zend/Pdf/Action.php'; /** * PDF 'Controls the playing of multimedia content' action * PDF 1.5+ feature * * @package Zend_Pdf * @subpackage Actions * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) * @license http://frame...
#include "build_environment.h" #ifndef GECKO_19_COMPATIBILITY #ifndef BUILD_ON_UNIX #define MOZ_NO_MOZALLOC #include <mozilla-config.h> #endif #include <xpcom-config.h> #undef HAVE_CPP_CHAR16_T #else // Gecko 1.9 #ifdef BUILD_ON_UNIX #include <xpcom-config.h> #endif #endif #include "errorcodes.h" #include "interac...
YUI.add('node-focusmanager', function (Y, NAME) { /** * <p>The Focus Manager Node Plugin makes it easy to manage focus among * a Node's descendants. Primarily intended to help with widget development, * the Focus Manager Node Plugin can be used to improve the keyboard * accessibility of widgets.</p> * * <p> * When de...
// // W A R N I N G // ------------- // // This file is not part of the Qt API. It exists purely as an // implementation detail. This header file may change from version to // version without notice, or even be removed. // // We mean it. // #ifndef QOPENGLTEXTURECACHE_P_H #define QOPENGLTEXTURECACHE_P_H #includ...
module.exports = function(hljs) { return { keywords: { keyword: 'BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE ' + 'INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 ' + 'INTDCOUNTSTATUSCODE|5 INTDCRE...
<?php namespace Anomaly\PostsModule\Type\Command; use Anomaly\PostsModule\Type\Contract\TypeInterface; use Anomaly\Streams\Platform\View\ViewTemplate; use Illuminate\Foundation\Bus\DispatchesJobs; /** * Class AddTypeMetadata * * @link http://pyrocms.com/ * @author PyroCMS, Inc. <support@pyrocms.co...
import {MessagesService} from "../../app/ts/services/services"; import {Message, User, Thread} from "../../app/ts/models"; describe("MessagesService", () => { it("should test", () => { let user: User = new User("Nate", ""); let thread: Thread = new Thread("t1", "Nate", ""); let m1: Message = new Message...
<?php namespace common\components; use Yii; use yii\web\Controller; class BaseController extends Controller { public function init() { $this->setLanguage(); } /** * Set the language displayed on the current site */ public function setLanguage() { if(isset($_GET['lang']...
namespace glsl { using glm::dot; using glm::cross; using glm::normalize; using glm::length; using glm::distance; using glm::translate; using glm::rotate; using glm::scale; using glm::value_ptr; } // namespace glsl
/** * Gets URI that identifies the test. * @return uri identifier of test */ function getTargetURI() { return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLElement117"; } var docsLoaded = -1000000; var builder = null; // // This function is called by the testing framework before...
LeaderboardEntry::LeaderboardEntry(string name, int rank, int score, int details) { this->name=name; this->rank=rank; this->score=score; this->details=details; this->attachment=NULL; this->attachment_size=0; this->attachment_state="not loaded"; }
using System.Net.Libuv; namespace EchoService { public class Program { static void Main(string[] args) { var loop = new UVLoop(); var listener = new TcpListener("0.0.0.0", 7, loop); listener.ConnectionAccepted += (Tcp connection) => { ...
'use strict'; const request = require('request'); const Bluebird = require('bluebird'); module.exports = class IronMQ { constructor(config) { this.host = config.host; this.projectID = config.project_id; this.token = config.token; this.queueName = config.queue_name; } post(messages) {...
numpy.i: a SWIG Interface File for NumPy ======================================== Introduction ------------ The Simple Wrapper and Interface Generator (or `SWIG <http://www.swig.org>`_) is a powerful tool for generating wrapper code for interfacing to a wide variety of scripting languages. `SWIG`_ can parse header fi...
#ifndef MAGICKCORE_SIGNATURE_H #define MAGICKCORE_SIGNATURE_H #if defined(__cplusplus) || defined(c_plusplus) extern "C" { #endif extern MagickExport MagickBooleanType SignatureImage(Image *); #if defined(__cplusplus) || defined(c_plusplus) } #endif #endif
class Config attr_accessor :name, :password def initialize(name, password = nil, options = {}) @name = name # TODO Move password to a configuration file. @password = password || "i<3evil" if options[:downcase] @name.downcase! end if options[:upcase] @name.upcase! end end...
<?php namespace Illuminate\Queue; use Pheanstalk\Pheanstalk; use Pheanstalk\Job as PheanstalkJob; use Illuminate\Queue\Jobs\BeanstalkdJob; use Illuminate\Contracts\Queue\Queue as QueueContract; class BeanstalkdQueue extends Queue implements QueueContract { /** * The Pheanstalk instance. * * @var \...
#if !defined(FUSION_INCLUDE_VALUE_OF) #define FUSION_INCLUDE_VALUE_OF #include <boost/fusion/support/config.hpp> #include <boost/fusion/iterator/value_of.hpp> #endif
// Namespace var mejs = mejs || {}; // version number mejs.version = '2.1.3'; // player number (for missing, same id attr) mejs.meIndex = 0; // media types accepted by plugins mejs.plugins = { silverlight: [ {version: [3,0], types: ['video/mp4','video/m4v','video/mov','video/wmv','audio/wma','audio/m4a','audio/m...
<?php namespace Neos\Flow\I18n; use Neos\Flow\Annotations as Flow; use Neos\Flow\I18n; /** * The Detector class provides methods for automatic locale detection * * @Flow\Scope("singleton") * @api */ class Detector { /** * @var I18n\Service */ protected $localizationService; /** * A ...
from pyspark.sql.tests.connect.utils.spark_connect_test_utils import ( # noqa: F401 PlanOnlyTestFixture, # noqa: F401 ) # noqa: F401
package task import ( "context" "flag" "fmt" "strings" "github.com/vmware/govmomi/govc/cli" "github.com/vmware/govmomi/govc/flags" "github.com/vmware/govmomi/property" "github.com/vmware/govmomi/view" "github.com/vmware/govmomi/vim25/mo" "github.com/vmware/govmomi/vim25/types" ) type recent struct { *fl...
package org.ovirt.engine.core.bll; import org.ovirt.engine.core.common.queries.NameQueryParameters; public class GetVdsGroupByNameQuery<P extends NameQueryParameters> extends QueriesCommandBase<P> { public GetVdsGroupByNameQuery(P parameters) { super(parameters); } @Override protected void ex...
cask :v1 => 'torustrooper' do version :latest sha256 :no_check url 'https://workram.com/downloads.php?f=TorusTrooper', :referer => 'https://workram.com/games' name 'Torus Trooper' homepage 'http://workram.com/games/' license :unknown # todo: change license and remove this comment; ':unknown' is a machin...