text
stringlengths
3
1.05M
local _M = { _VERSION = '0.1' } local string = require "string" function _M.string_startswith(str, start) return string.sub(str, 1, string.len(start)) == start end function _M.string_split(str, delimiter) if str == nil or str == "" or delimiter==nil then return nil end local result = {} ...
name: "[Feature Request]" about: Suggest an idea for this project --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want t...
#pragma once #include <jni.h> #include <vector> #include <string> #include <android/log.h> #include <android_native_app_glue.h> #define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, ndk_helper::JNIHelper::GetInstance()->GetAppName(), __VA_ARGS__)) #define LOGW(...) ((void)__android_log_print(ANDROID_LOG_W...
// // FMDatabaseAdditions.h // fmdb // // Created by August Mueller on 10/30/05. // Copyright 2005 Flying Meat Inc.. All rights reserved. // #import <Foundation/Foundation.h> #import "FMDatabase.h" /** Category of additions for `<FMDatabase>` class. ### See also - `<FMDatabase>` */ @interface FMDatabase (...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Actor extends Model { public static $rules = [ 'first_name' => 'required', 'last_name' => 'required', 'birth_date' => 'required', ]; public function films() { return $this->belongsToMany('\\App...
#ifndef StepRange_h #define StepRange_h #include "core/CoreExport.h" #include "platform/Decimal.h" #include "wtf/Allocator.h" #include "wtf/Forward.h" namespace blink { enum AnyStepHandling { RejectAny, AnyIsDefaultStep }; class CORE_EXPORT StepRange { DISALLOW_NEW(); public: enum StepValueShouldBe { ...
gcp_compute_packages ========= This installs HAProxy on port 8080 to forward through to Openshift. This is used for HTTPHealthChecks in GCP Requirements ------------ N/A Role Variables -------------- N/A Dependencies ------------ Example Playbook ---------------- License ------- ASL 2.0 Author Information -...
package com.trilead.ssh2; /** * A <code>DHGexParameters</code> object can be used to specify parameters for * the diffie-hellman group exchange. * <p> * Depending on which constructor is used, either the use of a * <code>SSH_MSG_KEX_DH_GEX_REQUEST</code> or <code>SSH_MSG_KEX_DH_GEX_REQUEST_OLD</code> * can be f...
package com.github.jsonzou.jmockdata; import java.lang.reflect.Field; /** * @author jsonzou * @date 12/02/2020 16:49 */ public interface BeanMockerInterceptor<T>{ /** * 返回值类型说明: * - InterceptType.UNMOCK 不模拟:排除此字段的模拟 * - InterceptType.MOCK 自动模拟 * - 其他返回值,作为Field的值通过反射注入 * @param c...
class GURL; namespace history { // CanonicalURLStringCompare performs lexicographical comparison of two strings // that represent valid URLs, so that if the pre-path (scheme, host, and port) // parts are equal, then the path parts are compared by treating path components // (delimited by "/") as separate tokens that ...
package org.apache.camel.language.tokenizer; import org.apache.camel.ContextTestSupport; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.support.builder.Namespaces; import org.junit.Test; public class XMLTokenizeWrapLanguageTest extends ContextTestSupport { @Test public void testSendCl...
UNIX_DeviceIdentityProvider::UNIX_DeviceIdentityProvider() { } UNIX_DeviceIdentityProvider::~UNIX_DeviceIdentityProvider() { } CIMInstance UNIX_DeviceIdentityProvider::constructInstance( const CIMName &className, const CIMNamespaceName &nameSpace, const UNIX_DeviceIdentity &_p) { CIMProperty p; CIMInstance inst...
package cn.canlnac.OnlineCourseFronten.service.impl; import cn.canlnac.OnlineCourseFronten.dao.ExampleDao; import cn.canlnac.OnlineCourseFronten.entity.Example; import cn.canlnac.OnlineCourseFronten.service.ExampleService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereo...
export BOOST_ROOT="${PREFIX}" export PKG_CONFIG_LIBDIR="${PREFIX}"/lib/pkgconfig # HDF5 doesn't have pkgconfig files yet export CPPFLAGS+=" -isystem ${PREFIX}/include" export LDFLAGS+=" -L${PREFIX}/lib -lhdf5_cpp -lhdf5" # required for Meson's sanity check export LD_LIBRARY_PATH="${PREFIX}/lib" export DYLD_FALLBACK_L...
require 'spec_helper' describe "webapi", dbscope: :example, type: :request do before do SS.config.replace_value_at(:env, :protect_csrf, false) end let!(:site) { cms_site } let!(:user) { cms_user } let!(:node) { create(:article_node_page) } let!(:item) { create(:article_page, cur_node: node) } let!(:...
hashstructure is a Go library for creating a unique hash value for arbitrary values in Go. This can be used to key values in a hash (for use in a map, set, etc.) that are complex. The most common use case is comparing two values without sending data across the network, caching values locally (de-dup), and so on. ## F...
<?php namespace Orm; class HasMany extends Relation { public function __construct($from, $name, array $config) { $this->name = $name; $this->model_from = $from; $this->model_to = array_key_exists('model_to', $config) ? $config['model_to'] : \Inflector::get_namespace($from).'Model_'.\Inflector::...
package io.gatling.core.controller.throttle import io.gatling.core.config.GatlingConfiguration import scala.annotation.tailrec import scala.concurrent.duration._ sealed trait ThrottleStep { val durationInSec: Long def target(previousLastValue: Int): Int def rps(time: Long, previousLastValue: Int): Int } cas...
var MeteorPromise = Npm.require("meteor-promise"); // Define MeteorPromise.Fiber so that every Promise callback can run in a // Fiber drawn from a pool of reusable Fibers. MeteorPromise.Fiber = Npm.require("fibers"); Promise = MeteorPromise;
package com.intellij.codeInsight.template.macro; import com.intellij.codeInsight.completion.JavaCompletionUtil; import com.intellij.codeInsight.lookup.LookupElement; import com.intellij.codeInsight.template.ExpressionContext; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiMethod; import com.intellij.p...
TensorFlow is a powerful library for doing large-scale numerical computation. One of the tasks at which it excels is implementing and training deep neural networks. In this tutorial we will learn the basic building blocks of a TensorFlow model while constructing a deep convolutional MNIST classifier. *This introducti...
.show-menu, .container, .content-wrap { overflow: hidden; } .content-wrap { -webkit-transition: -webkit-transform 0.3s; transition: transform 0.3s; } /* Menu Button */ #profile-menu-link::before { position: absolute; top: 0.5em; right: 0.5em; bottom: 0.5em; left: 0.5em; content: ''; } /* Close Button */ ...
/** * *//* package com.scube.auth.model; import java.util.Set; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.OneToOne; import javax.persistence.Table; *...
package com.amazonaws.services.devicefarm.model; import java.io.Serializable; import com.amazonaws.AmazonWebServiceRequest; /** * <p> * Represents a request to the list samples operation. * </p> */ public class ListSamplesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable { ...
namespace google { namespace protobuf { namespace compiler { namespace cpp { class MessageFieldGenerator : public FieldGenerator { public: explicit MessageFieldGenerator(const FieldDescriptor* descriptor, const Options& options); ~MessageFieldGenerator(); // implements FieldGen...
<?php /** * Members admin component helper. * * NOTE: This class isn't namespaced to allow for use by some core * components. When those components are rewritten, this * class should get updated. */ class MembersHelper { /** * Configure the Linkbar. * * @param string $vName The name of the active vie...
@implementation NSMutableDictionary (Safe) - (id)safeObjectForKey:(id)aKey { id object = [self objectForKey:aKey]; if ([object isKindOfClass:[NSNull class]] || !object) return nil; else return object; } - (void)setSafeObject:(id)anObject forKey:(id <NSCopying>)aKey { if (!anObject) [self setObject:[NS...
extern zend_class_entry *zendframework_code_reflection_exception_invalidargumentexception_ce; ZEPHIR_INIT_CLASS(ZendFramework_Code_Reflection_Exception_InvalidArgumentException);
/** * @file fram.c * * Provides access routines for FRAM non-volatile memory in the MSP430FR5xxx * * @author Saman Naderiparizi, Aaron Parks */ #include <msp430.h> #include "fram.h" /** * Call before writing anything to FRAM */ void FRAM_init(void){ FRCTL0_H |= (FWPW) >> 8; __delay_cycles(3); } ////// Wri...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Beatmaps; using osu.Game.Beatmaps.Drawables; using ...
<!doctype html> <html> <head> <meta charset="utf-8"> <title>CodeMirror: sTeX mode</title> <link rel="stylesheet" href="../../lib/codemirror.css"> <script src="../../lib/codemirror.js"></script> <script src="stex.js"></script> <style>.CodeMirror {background: #f8f8f8;}</style> <link rel="sty...
Create an object from from arrays of keys and values. (Inspired by [lodash's _.zipObject](http://devdocs.io/lodash/index#zipObject)) ## Install ``` npm install zip-object --save ``` ## Usage Either takes two arrays or an array of arrays as the argument(s). ```js var zipObject = require('zip-object'); var zipped = ...
@implementation KWMessagePattern #pragma mark - Initializing - (id)initWithSelector:(SEL)aSelector { return [self initWithSelector:aSelector argumentFilters:nil]; } - (id)initWithSelector:(SEL)aSelector argumentFilters:(NSArray *)anArray { self = [super init]; if (self) { selector = aSelector; ...
package com.google.android.exoplayer.ext.vp9; import com.google.android.exoplayer.ext.vp9.VpxDecoderWrapper.OutputBuffer; import java.nio.ByteBuffer; /** * JNI Wrapper for the libvpx VP9 decoder. */ /* package */ class VpxDecoder { private final long vpxDecContext; static { System.loadLibrary("vpx"); ...
/** * @ngdoc overview * @name angularVideoBg * @description This module contains a directive that allows you easily make a YouTube video play as the background of * any container on your site. */ angular.module('angularVideoBg', []); /** * @ngdoc directive * @name angularVideoBg.directive:videoBg * @descripti...
'use strict'; var grunt = require('../grunt'); // Get/set config data. If value was passed, set. Otherwise, get. var config = module.exports = function(prop, value) { if (arguments.length === 2) { // Two arguments were passed, set the property's value. return config.set(prop, value); } else { // Get...
package com.whc; import org.junit.runner.RunWith; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @SpringBootTest @RunWith(SpringJUnit4ClassRunner.class) public class Chapter9A...
<?php namespace Neos\Flow\Security\Authorization; use Neos\Flow\Annotations as Flow; /** * Contract for a privilege manager */ interface PrivilegeManagerInterface { /** * Returns true, if the given privilege type is granted for the given subject based * on the current security context. * *...
package object import ( "context" "fmt" "github.com/vmware/govmomi/vim25" "github.com/vmware/govmomi/vim25/mo" "github.com/vmware/govmomi/vim25/types" ) type OpaqueNetwork struct { Common } func NewOpaqueNetwork(c *vim25.Client, ref types.ManagedObjectReference) *OpaqueNetwork { return &OpaqueNetwork{ Co...
#include "CCEditBox.h" #include "CCEditBoxImpl.h" NS_CC_EXT_BEGIN CCEditBox::CCEditBox(void) : m_pEditBoxImpl(NULL) , m_pDelegate(NULL) , m_eEditBoxInputMode(kEditBoxInputModeSingleLine) , m_eEditBoxInputFlag(kEditBoxInputFlagInitialCapsAllCharacters) , m_eKeyboardReturnType(kKeyboardReturnTypeDefault) ...
SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) $(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment vari...
(function(e){if("function"==typeof bootstrap)bootstrap("jade",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeJade=e}else"undefined"!=typeof window?window.jade=e():global.jade=e()})(function(){var...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // This source file is machine generated. Please do not change the code manually. using System; using System.Collections.Generic; usin...
using Grafika.Animations; using Grafika.Configurations; using Grafika.Services; using Grafika.Services.Animations; using MailKit; using Microsoft.Extensions.Options; using MimeKit; using Moq; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using ...
@protocol DDEmotionsViewControllerDelegate<NSObject> - (void)emotionViewClickSendButton; @end @interface EmotionsViewController : UIViewController<facialViewDelegate,UIScrollViewDelegate> @property(nonatomic,strong)UIScrollView *scrollView; @property(nonatomic,strong)UIPageControl *pageControl; @property(strong)NSArr...
from setuptools import setup, find_packages version_parts = (13, 0, 1) version = '.'.join(map(str, version_parts)) setup( name='amino', description='functional data structures and type classes', version=version, author='Torsten Schmits', author_email='torstenschmits@gmail.com', license='MIT', ...
""" Scheduler host filters """ from cinder.openstack.common.scheduler import base_filter class BaseHostFilter(base_filter.BaseFilter): """Base class for host filters.""" def _filter_one(self, obj, filter_properties): """Return True if the object passes the filter, otherwise False.""" return s...
layout: post title: 'Rendering in Haskell, Part 5: Reflections' category: rendering-in-haskell --- <img src="{{ site.baseurl }}/images/rendering/experiment04-thumb.png" class="img-thumb" alt="Reflections" /> This is another simple diff compared to the [last experiment](/2015/07/20/Rendering-in-Haskell-Part-4-Specular-...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
package io.druid.server.namespace.cache; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Function; import com.google.common.base.Throwables; import com.google.common.collect.ImmutableMap; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.List...
<?xml version="1.0" encoding="UTF-8"?> <swf version="25" compressed="1"> <Header framerate="24" frames="3"> <size> <Rectangle left="0" right="11000" top="0" bottom="8000"/> </size> <tags> <FileAttributes hasMetaData="0" allowABC="1" suppressCrossDomainCaching="0" swfRelativeURLs="0" useNetwork...
import os import sys from optparse import make_option from django.core.management.base import AppCommand from django_extensions.management.utils import _make_writeable, signalcommand class Command(AppCommand): option_list = AppCommand.option_list + ( make_option('--name', '-n', action='store', dest='tag...
class GFXStateBlockData; class Frustum; class SceneRenderState; class ConditionerFeature; /// GFX_DeclareTextureProfile( PostFxTargetProfile ); /// class PostEffect : public SimGroup { typedef SimGroup Parent; friend class PostEffectVis; public: enum { NumTextures = 8, }; protected: F...
<div class="ui-grid-top-panel"> </div>
<?php namespace Symfony\Component\HttpKernel\Log; /** * LoggerInterface. * * @author Fabien Potencier <fabien@symfony.com> */ interface LoggerInterface { function log($message, $priority); function emerg($message); function alert($message); function crit($message); function err($message)...
class Test extends Super{ Test(){} } class U { public static void main(String[] args) { new Test().main(); } }
layout: post title: Indexing categories: XAP97NET parent: programmers-guide.html weight: 2200 --- {% summary %} Using indexes to improve query performance. {% endsummary %} # Overview When a space is looking for a match for a read or take operation, it iterates over non-null values in the template, looking for matc...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Bootstrap4 按钮组(btn-group)</title> <link href="https://cdn.bootcss.com/bootstrap/4.0.0-beta.2/css/bootstrap.css" rel="stylesheet"> <link href="https://cdn...
<?php namespace Doctrine\Bundle\DoctrineBundle\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Doctrine\ORM\Mapping\Driver\DatabaseDriver; use Do...
/*************************************************************************/ /* skeleton_2d.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
import { Injectable } from '@angular/core'; import { Subject } from 'rxjs'; import { Message } from './message'; import { AlertType } from '../../entities/shared.const'; @Injectable({ providedIn: 'root', }) export class MessageService { messageAnnouncedSource = new Subject<Message>(); appLevelAnnouncedSour...
package com.google.api.client.findbugs.test; import com.google.api.client.util.Beta; /** A class which annotated as {@link Beta}. */ @Beta public class BetaClass { public void method() { } @Beta public void betaMethod() { BetaClass2 exp2 = new BetaClass2(); exp2.foo(); } public BetaClass() { ...
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICU...
package api4 import ( "net/http" "testing" ) func TestRequireHookId(t *testing.T) { c := &Context{} t.Run("WhenHookIdIsValid", func(t *testing.T) { c.Params = &ApiParams{HookId: "abcdefghijklmnopqrstuvwxyz"} c.RequireHookId() if c.Err != nil { t.Fatal("Hook Id is Valid. Should not have set error in cont...
@setlocal @echo off if "%1" == "/?" goto Usage :: Initialize build configuration set BUILD.ARM=N set BUILD.x86=N set BUILD.x64=N set BUILD.win10=N set BUILD.win8.1=N set BUILD.phone8.1=N :: Iterate through arguments and set the right configuration for %%a in (%*) do ( if /I "%%a"=="ARM" ( set BUILD.ARM=Y...
@implementation UIView (MKUIViewFrame) - (void)setMk_x:(CGFloat)mk_x { CGRect frame = self.frame; frame.origin.x = mk_x; self.frame = frame; } - (CGFloat)mk_x { return self.frame.origin.x; } - (void)setMk_y:(CGFloat)mk_y { CGRect frame = self.frame; frame.origin.y = mk_y; self.frame = fra...
<div class="tooltip" tooltip-animation-class="fade" tooltip-classes ng-class="{ in: isOpen() }"> <div class="tooltip-arrow"></div> <div class="tooltip-inner" bind-html-unsafe="content"></div> </div>
using umbraco; using umbraco.cms.businesslogic; namespace umbraco { /// <summary> /// Static helper methods /// </summary> public static partial class uQuery { /// <summary> /// Gets a dictionary item if it exists. Otherwise returns the fallback string. /// </su...
<?php namespace Sonata\Cache\Adapter\Counter; use Sonata\Cache\Counter; /** * Handles APC cache */ class ApcCounter extends BaseCounter { /** * @var string */ protected $prefix; /** * Constructor * * @param string $prefix A prefix to avoid clash between instances */ ...
define(function(require, exports, module) { // Generated by CoffeeScript 1.2.1-pre var Access, Arr, Assign, Base, Block, Call, Class, Closure, Code, Comment, Existence, Extends, For, IDENTIFIER, IDENTIFIER_STR, IS_STRING, If, In, Index, LEVEL_ACCESS, LEVEL_COND, LEVEL_LIST, LEVEL_OP, LEVEL_PAREN, LEVEL_TOP, Litera...
namespace media { // Internal to ClocklessAudioSink. Class is used to call Render() on a seperate // thread, running as fast as it can read the data. class ClocklessAudioSinkThread : public base::DelegateSimpleThread::Delegate { public: explicit ClocklessAudioSinkThread(const AudioParameters& params, ...
<!DOCTYPE html> <html><head> <title>screen test</title> <script type="text/javascript" src="screen.js"></script> <link rel="stylesheet" type="text/css" href="screen.css" /> </head> <body> <style> #content { width: 70000px; height: 100%; } .row { height: 20px; width: 70000px; } .column { height: 20%; width: ...
using System; using System.Collections.Generic; using GitVersion.Logging; using GitVersion.Model.Configuration; namespace GitVersion.Configuration.Init.Wizard { public abstract class ConfigInitWizardStep { protected readonly IConsole Console; protected readonly IFileSystem FileSystem; p...
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.card=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; namespace Kooboo.Collections { public class CachableDictionary<TKey, TValue> : IDictionary<TKey, TValue> { private IDictionary<TKey, TValue> cache; #region .ctor p...
namespace views { ScrollBar::~ScrollBar() { } void ScrollBar::GetAccessibleState(ui::AXViewState* state) { state->role = ui::AX_ROLE_SCROLL_BAR; } bool ScrollBar::IsHorizontal() const { return is_horiz_; } void ScrollBar::Update(int viewport_size, int content_size, int current_pos) { max_pos_ = std::max(0, co...
"use strict"; /** * Step 1 * Your initialization methods (checking current project state, getting configs, etc) */ module.exports = function () { };
package au.com.borner.salesforce.plugin.toolwindow.metadata2; import au.com.borner.salesforce.client.rest.AbstractRestClient; import au.com.borner.salesforce.client.rest.domain.APIVersionResult; import au.com.borner.salesforce.plugin.toolwindow.AbstractExplorerNode; import au.com.borner.salesforce.plugin.toolwindow.Ab...
package org.apereo.portal.portlets.iframe; import javax.portlet.RenderRequest; import javax.portlet.RenderResponse; import javax.portlet.WindowState; import org.springframework.web.portlet.handler.HandlerInterceptorAdapter; /** */ public class IFramePortletMinimizedStateHandlerInterceptor extends HandlerInterceptorA...
package org.springframework.boot.actuate.metrics.statsd; import java.io.Closeable; import com.timgroup.statsd.NonBlockingStatsDClient; import com.timgroup.statsd.StatsDClient; import com.timgroup.statsd.StatsDClientErrorHandler; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; i...
/* ***** BEGIN LICENSE BLOCK ***** * The Original Code is Ajax.org Code Editor (ACE). * * Contributor(s): * Jonathan Camile <jonathan.camile AT gmail DOT com> * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the...
cmd=run.pl feat_type= stage=0 splice_width=4 # meaning +- 4 frames on each side for second LDA left_context= # left context for second LDA right_context= # right context for second LDA rand_prune=4.0 # Relates to a speedup we do for LDA. within_class_factor=0.0001 # This affects the scaling of the transform rows... ...
vaulted-rm 1 ============= NAME ---- vaulted rm - removes existing vaults SYNOPSIS -------- `vaulted rm` *name* *...* `vaulted delete` *name* *...* `vaulted remove` *name* *...* DESCRIPTION ----------- Removes the vaults specified by *name*. The exit code is equal to the number of vaults that could not be remo...
/********************************************************************* * * * Configfemtoanalysis.C - configuration macro for the femtoscopic * * analysis, meant as a QA process for two-particle effects * * * * Author: Adam Kisiel (Adam.Kisiel@cern.ch) * *...
<?php namespace Symfony\Component\Form\Extension\Core\Type; use Symfony\Component\Form\AbstractType; class RangeType extends AbstractType { /** * {@inheritdoc} */ public function getParent() { return __NAMESPACE__.'\TextType'; } /** * {@inheritdoc} */ public fun...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright 2012 Roman Nurik 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...
Android ================================================================================ Requirements: Android SDK (version 12 or later) http://developer.android.com/sdk/index.html Android NDK r7 or later http://developer.android.com/tools/sdk/ndk/index.html Minimum API level supported by SDL: 10 (Android 2.3.3) Jo...
SET NAMES utf8; SET FOREIGN_KEY_CHECKS = 0; DROP TABLE IF EXISTS `dubbo_invoke`; CREATE TABLE `dubbo_invoke` ( `id` varchar(255) NOT NULL DEFAULT '', `invoke_date` date NOT NULL, `service` varchar(255) DEFAULT NULL, `method` varchar(255) DEFAULT NULL, `consumer` varchar(255) DEFAULT NULL, `provider` varcha...
'use strict' const chai = require('chai') const dirtyChai = require('dirty-chai') const Persist = require('../../src/server/lobby/persist.js') const expect = chai.expect chai.use(dirtyChai) describe('Persist', () => { const persist = Persist.createPersist() it('lobby ops', async () => { let lobbyId { ...
/* crypto/dh/p1024.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-co...
<!DOCTYPE html> <!-- Copyright (c) 2013 Samsung Electronics Co., Ltd. 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 la...
import { Injectable } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import {PromiseObservable} from 'rxjs/observable/PromiseObservable'; import { Http, Response } from '@angular/http'; import 'rxjs/add/operator/catch'; import 'rxjs/add/operator/map'; import '../../interfaces.service' import { Dat...
 using ZendeskApi_v2.Models.HelpCenter.Categories; #if ASYNC using System.Threading.Tasks; #endif using System; namespace ZendeskApi_v2.Requests.HelpCenter { public interface ICategories : ICore { #if SYNC GroupCategoryResponse GetCategories(); IndividualCategoryResponse GetCategoryById(long i...
<resources> <style name="AppTheme" parent="android:Theme.Holo.Light"> <item name="android:windowActionBar">False</item> <item name="android:windowNoTitle">true</item> </style> </resources>
import sys, os import json sys.path.insert(0, '.') sys.path.insert(0, 'app') sys.path.insert(0, 'lib') from werkzeug.wrappers import Request, Response from werkzeug.local import LocalManager from webnotes.middlewares import StaticDataMiddleware from werkzeug.exceptions import HTTPException, NotFound from werkzeug.con...
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.policies; import java.util.Iterator; import org.eclipse.emf.ecore.EAnnotation; import org.eclipse.gef.commands.Command; import org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand; import org.eclipse.gmf.runtime.emf.commands.core.command.CompositeTr...
/*prettydiff.com topcoms: true, insize: 4, inchar: " ", vertical: true */ /*jshint laxbreak: true*/ /*global __dirname, ace, csspretty, csvpretty, define, diffview, exports, global, jspretty, markuppretty, process, require, safeSort */ /* Execute in a NodeJS app: npm install prettydiff (local install) ...
using System; using System.IO; using System.Net; using Xamarin.Forms; namespace WebBitmapCode { public class WebBitmapCodePage : ContentPage { public WebBitmapCodePage() { string uri = "http://developer.xamarin.com/demo/IMG_1415.JPG"; Content = new Image ...
class TestGandivaExpression < Test::Unit::TestCase def setup omit("Gandiva is required") unless defined?(::Gandiva) augend = Arrow::Field.new("augend", Arrow::Int32DataType.new) addend = Arrow::Field.new("addend", Arrow::Int32DataType.new) augend_node = Gandiva::FieldNode.new(augend) addend_node =...
class ControllerGenerator < Rails::Generator::NamedBase def manifest record do |m| # Check for class naming collisions. m.class_collisions class_path, "#{class_name}Controller", "#{class_name}ControllerTest", "#{class_name}Helper" # Controller, helper, views, and test directories. m.direc...