text
stringlengths
3
1.05M
'use strict'; import { SerializedError, onUnexpectedError } from 'vs/base/common/errors'; import { MainThreadErrorsShape, MainContext } from '../node/extHost.protocol'; import { extHostNamedCustomer } from 'vs/workbench/api/electron-browser/extHostCustomers'; @extHostNamedCustomer(MainContext.MainThreadErrors) expor...
require "minitest/autorun" require "minitest/reporters" require "./lib/maxcdn" Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new require "webmock" include WebMock::API WebMock.enable! host = "https://rws.maxcdn.com/alias" expected_headers = { 'Authorization' => /.+/, 'Cache-Control' => /.+/, 'Co...
/* this is a port of Karsten Schmidt's sine and cos Look Up Table classes for java. i changed a few things, for example i wasn't able o make these static so if you plan on using them you need to create an instance. everything else is pretty much the same. these were created with the purpose of serving the ofxPerlin a...
<documentation title="Constant Names"> <standard> <![CDATA[ Constants should always be all-uppercase, with underscores to separate words. ]]> </standard> <code_comparison> <code title="Valid: all uppercase"> <![CDATA[ define('<em>FOO_CONSTANT</em>', 'foo'); class FooClass { ...
(function (global, factory) { if (typeof define === "function" && define.amd) { define([], factory); } else if (typeof exports !== "undefined") { factory(); } else { var mod = { exports: {} }; factory(); global.bootstrapTableCookie = mod.exports; } })(this, function () { 'use str...
package br.com.remembr.bemDaora.dao.generio; import java.io.Serializable; import java.lang.reflect.ParameterizedType; import java.util.Arrays; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.TypedQuery; import br.com.remembr.bemDaora.model.BaseEntity; public abstract class DA...
package com.planet_ink.coffee_mud.Abilities.Prayers; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; impor...
layout: post title: MyBatis-Generator-Start data: 2017/5/2 categories: MyBatis --- &emsp;**Mybatis Generator(MBG)是一个Mybaits的代码生成器,可以自动生成Mybatis所需的各种文件,包括匹配表结构的Java POJO、MyBatis/iBATIS 兼容 SQL 映射 XML 文件、对应的Mapper接口等。** ## 开始使用MybatisGenerator ### 环境配置 - **开发环境:** eclipse4.1 - **依赖:** - [mybatis-3.4.4.jar](http...
bool ProfileShortcutManager::IsFeatureEnabled() { return false; } // static ProfileShortcutManager* ProfileShortcutManager::Create( ProfileManager* manager) { return NULL; }
var fieldTests = require('./commonFieldTestUtils.js'); var ModelTestConfig = require('../../../modelTestConfig/BooleanModelTestConfig'); module.exports = { before: function (browser) { fieldTests.before(browser); browser.adminUIInitialFormScreen.setDefaultModelTestConfig(ModelTestConfig); browser.adminUIItemScr...
package org.apache.ignite.cache.store.cassandra.session; import com.datastax.driver.core.BoundStatement; import com.datastax.driver.core.CodecRegistry; import com.datastax.driver.core.ColumnDefinitions; import com.datastax.driver.core.ConsistencyLevel; import com.datastax.driver.core.PreparedId; import com.datastax....
package org.springframework.boot.web.servlet.context; import org.springframework.beans.factory.xml.XmlBeanDefinitionReader; import org.springframework.core.env.ConfigurableEnvironment; import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.Resource; import org.springframework.web.co...
#ifndef lua_h #define lua_h #include <stdarg.h> #include <stddef.h> #include "luaconf.h" #define LUA_VERSION "Lua 5.1" #define LUA_RELEASE "Lua 5.1.4" #define LUA_VERSION_NUM 501 #define LUA_COPYRIGHT "Copyright (C) 1994-2008 Lua.org, PUC-Rio" #define LUA_AUTHORS "R. Ierusalimschy, L. H. de Figueiredo & W. Cel...
$().serialize() serializes a form for use in a url. Below is a form that we will serialize the values of ```html <form id="serializeForm" onsubmit="return false">Name: <input type='text' class='af-ui-forms' name='name' value='John Smith'> <br> <input type='checkbox' class='af-ui-forms' value='yes' checked...
对SCPullRefresh( https://github.com/singro/SCPullRefresh ) 的改进,支持UIScrollView,包括UICollectionView和UITableView 并且可以指定UI样式 A pull refresh for easily customize refresh animation. ####Feature * Easy to use * Easy to custommize your own refresh animation ####Third Parties * [DACircularProgressLayer](https://githu...
package org.apache.cassandra.io.sstable; import java.util.Collection; import java.util.List; import java.util.UUID; import org.apache.cassandra.db.rows.UnfilteredRowIterator; import org.apache.cassandra.io.sstable.format.SSTableReader; import org.apache.cassandra.utils.Throwables; import org.apache.cassandra.utils....
var deepFreezeAndThrowOnMutationInDev = require('deepFreezeAndThrowOnMutationInDev'); describe('deepFreezeAndThrowOnMutationInDev', function() { it('should be a noop on non object values', () => { __DEV__ = true; expect(() => deepFreezeAndThrowOnMutationInDev('')).not.toThrow(); expect(() => deepFreeze...
import React, { Component, PropTypes } from 'react'; import _find from 'lodash/find'; import injectSheet from 'react-jss'; import { provinces as allProvinces } from 'funong-common/lib/appConstants'; import ProvincesSelectorDialog from 'modules/common/location/provincesSelectorDialog'; import FormButton from 'modules/co...
<?php if (!is_callable('RandomCompat_intval')) { /** * Cast to an integer if we can, safely. * * If you pass it a float in the range (~PHP_INT_MAX, PHP_INT_MAX) * (non-inclusive), it will sanely cast it to an int. If you it's equal to * ~PHP_INT_MAX or PHP_INT_MAX, we let it fail as...
<form class='pane editor dark fill-dark col12 pin-right z10' id='layers-<%=obj.id%>'> <input id='conf-<%=obj.id%>' class='hidden toggle-conf' type='radio' name='toggle' checked='true'> <input id='fields-<%=obj.id%>' class='hidden toggle-fields' type='radio' name='toggle'> <nav class='pin-top pad1y pad2x keyli...
rm -vrf ${TMPDIR}/{foo,tmp,something,complicated,clike,using}*
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v5.0.0-alpha.6 * @link http://www.ag-grid.com/ * @license MIT */ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? t...
'use strict'; /** * Module dependencies. */ exports.index = function(req, res) { res.render('index', { user: req.user || null }); };
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
@interface EXTensionParse:NSObject <AlisJsonParsePluginProtocol> @end
require 'listen/adapter' require 'listen/adapter/base' require 'listen/adapter/config' # This class just aggregates configuration object to avoid Listener specs # from exploding with huge test setup blocks module Listen class Backend def initialize(directories, queue, silencer, config) adapter_select_opts ...
package persist; import java.io.File; import java.io.FileNotFoundException; import com.sleepycat.db.DatabaseException; import com.sleepycat.db.Environment; import com.sleepycat.db.EnvironmentConfig; import com.sleepycat.persist.EntityCursor; import com.sleepycat.persist.EntityStore; import com.sleepycat.persist.Pri...
import {createStream, createProperty} from '../patterns/one-source'; import now from '../utils/now'; const mixin = { _init({wait, immediate}) { this._wait = Math.max(0, wait); this._immediate = immediate; this._lastAttempt = 0; this._timeoutId = null; this._laterValue = null; this._endLater...
class Player; class Pickups { Matrices matrices; Player * player; Model rocks[2]; Music pickup3; PointLight pointLights[2]; vec3 position[2]; bool draw[2]; public: Pickups(); ~Pickups(); void getLights(Lights *); void create(LocalAssetManager * package, World&, Player ...
<?php /** * WordPress User Administration Bootstrap * * @package WordPress * @subpackage Administration * @since 3.1.0 */ define('WP_USER_ADMIN', true); require_once( dirname(dirname(__FILE__)) . '/admin.php'); if ( ! is_multisite() ) { wp_redirect( admin_url() ); exit; } $redirect_user_admin_request = ( ( ...
<?php include_once('modules/Vtiger/ListView.php'); ?>
package s3crypto import ( "bytes" "encoding/base64" "encoding/hex" "fmt" "net/http" "net/http/httptest" "reflect" "testing" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/awstesting/unit" "github.com/aws/aws-sdk-go/service/kms" ) func TestBuildKMSEncryptHandler(t *testing.T) { svc := kms.New(...
package org.apache.sling.bgservlets; import java.io.InputStream; import java.io.OutputStream; import java.util.Date; /** Wraps a JCR Node to store and retrieve information * about a background Job */ public interface JobData { String JOB_DATA_MIXIN = "sling:bgJobData"; String PROP_EXTENSION = "sling:jobEx...
namespace views { // LayoutElement ------------------------------------------------------ // A LayoutElement has a size and location along one axis. It contains // methods that are used along both axis. class LayoutElement { public: // Invokes ResetSize on all the layout elements. template <class T> static voi...
module Spree module Core module ControllerHelpers module Store extend ActiveSupport::Concern included do helper_method :current_currency helper_method :current_store end def current_currency Spree::Config[:currency] end def cur...
<h1 id="What-are-extensions">What are extensions?</h1> <p> Extensions are small software programs that can modify and enhance the functionality of the Chrome browser. You write them using web technologies such as HTML, JavaScript, and CSS. </p> <p> <img src="{{static}}/images/index/gmail-small.png" w...
<!-- > Muaz Khan - www.MuazKhan.com > MIT License - www.WebRTC-Experiment.com/licence > Documentation - github.com/muaz-khan/WebRTC-Experiment/tree/master/RecordRTC/MRecordRTC --> <!DOCTYPE html> <html lang="en"> <head> <title>MRecordRTC: WebRTC audio+video recording ® Muaz Khan</title> <meta http-equiv=...
YUI.add('app-base', function (Y, NAME) { /** The App Framework provides simple MVC-like building blocks (models, model lists, views, and URL-based routing) for writing single-page JavaScript applications. @main app @module app @since 3.4.0 **/ /** Provides a top-level application component which manages navigation a...
require 'stringio' require 'bigdecimal' module ActiveRecord # This class is used to dump the database schema for some connection to some # output format (i.e., ActiveRecord::Schema). class SchemaDumper #:nodoc: private_class_method :new ## # :singleton-method: # A list of tables which should...
<?php /** * @see Zend_Filter_Interface */ require_once 'Zend/Filter/Interface.php'; /** * @category Zend * @package Zend_Filter * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class Ze...
namespace ash { namespace tray { class BrightnessView; } class ASH_EXPORT TrayBrightness : public SystemTrayItem, public chromeos::PowerManagerClient::Observer { public: explicit TrayBrightness(SystemTray* system_tray); virtual ~TrayBrightness(); private: friend class TrayBrightnessTest; // Sends...
// Copyright 2013 Selenium committers // Copyright 2013 Software Freedom Conservancy // // 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 /...
package org.apache.hadoop.mapred.nativetask.serde; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapred.nativetask.INativeComparable; @InterfaceAudience.Private p...
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License...
<form name="deleteForm" ng-submit="confirmDelete(serie.id)"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="clear()">&times;</button> <h4 class="modal-title" translate="entity.delete.title">Confirm delete operation</h4...
namespace MassTransit.KafkaIntegration { using System.Threading; using System.Threading.Tasks; using Agents; using Confluent.Kafka; using Internals; public class ClientContextFactory : IPipeContextFactory<ClientContext> { readonly ClientConfig _clientConfig; public...
#include <string> #include <iostream> #include <sstream> #include <vector> #include <fstream> #include "boost/date_time/strings_from_facet.hpp" #include "algorithm_ext/container_print.hpp" int main() { using boost::date_time::gather_month_strings; using boost::date_time::gather_weekday_strings; std::vect...
require('../../../modules/es6.array.copy-within'); module.exports = require('../../../modules/_entry-virtual')('Array').copyWithin;
var fs = require ('fs'); var net = require('net'); var join = require('path').join; var file = join(__dirname, 'fixtures','all_npm.json'); var it = require('it-is'); var JSONStream = require('../'); var str = fs.readFileSync(file); var server = net.createServer(function(client) { var root_calls = 0; var data_...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
class SkBitmap; namespace gfx { class Rect; } namespace WebKit { struct WebScreenInfo; } namespace content { class RenderProcessHost; class RenderWidgetHostImpl; class RenderWidgetHostView; // A RenderWidgetHost manages the browser side of a browser<->renderer // HWND connection. The HWND lives in the browser pro...
This guide will take you through starting a persistent graph based on the provided data, with some hints for each backend. Grab the latest [release binary](http://github.com/cayleygraph/cayley/releases) and extract it wherever you like. If you prefer to build from source, see [Contributing.md](Contributing.md) which ...
package com.orientechnologies.common.listener; import java.util.Collection; import java.util.HashSet; import com.orientechnologies.common.concur.lock.OLock; import com.orientechnologies.common.concur.lock.ONoLock; /** * Abstract class to manage listeners. * * @author Luca Garulli (l.garulli--at--orientechnologi...
/** * Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ package petstore.models; import com.microsoft.rest.RestException; import okhttp3.ResponseBody; import retrofit2.Response; /** * Exception thrown for an i...
package com.intellij.java.codeInsight.folding; import com.intellij.codeInsight.folding.CodeFoldingManager; import com.intellij.codeInsight.navigation.actions.GotoDeclarationAction; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.editor.ex.FoldingModelEx; import com.intellij.psi.PsiElement; impo...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace DTS\eBaySDK\Shopping\Types; /** * * @property string $Refund * @property string $ReturnsWithin * @...
package org.apache.camel.component.file.strategy; import org.apache.camel.Exchange; import org.apache.camel.Expression; import org.apache.camel.component.file.GenericFile; import org.apache.camel.util.ObjectHelper; public class GenericFileExpressionRenamer<T> implements GenericFileRenamer<T> { private Expression...
' 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.Threading.Tasks Imports Microsoft.CodeAnalysis Imports Roslyn.Test.Utilities Namespace Microsoft.VisualStudio.LanguageServices.UnitTests.CodeM...
class FmFwInstaller < Cask url 'http://www.flymaster-avionics.com/LinkClick.aspx?fileticket=Udjm4iuMhL8%3d&tabid=199&mid=804&forcedownload=true' homepage 'http://www.flymaster-avionics.com/Support/Downloads/ForMacOSX/tabid/199/Default.aspx' version '1.2' sha1 '7596542e4a1ba2238d8582b60494a6a0225996f7' link 'F...
package cluster import "fmt" type Node interface { ID() string Name() string IP() string //to inject the actual IP of the machine in docker ps (hostname:port or ip:port) Addr() string //to know where to connect with the proxy Images() []*Image //used by the API Image(IdOrName string) *Im...
/** * noty - jQuery Notification Plugin v2.0.3 * Contributors: https://github.com/needim/noty/graphs/contributors * * Examples and Documentation - http://needim.github.com/noty/ * * Licensed under the MIT licenses: * http://www.opensource.org/licenses/mit-license.php * **/ if (typeof Object.create !== 'function') { O...
package org.jboss.netty.handler.codec.rtsp; import org.jboss.netty.handler.codec.http.HttpHeaders; /** * Standard RTSP header names and values. * * @author <a href="http://www.jboss.org/netty/">The Netty Project</a> * @author <a href="http://amitbhayani.blogspot.com/">Amit Bhayani</a> * @author <a href="http:/...
// // detail/win_iocp_socket_accept_op.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)...
// (C) Copyright Jeremy William Murphy 2016. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_MATH_COMMON_FACTOR_RT_HPP #define BOOST_MATH_COMMON_FACTOR_RT_HPP ...
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc); switch (arguments.length) { case 2: return decorators.reduceRight(function(o, d) { r...
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } /** * Post Data * * Standardises certain post data on save. * * @class WC_Post_Data * @version 2.2.0 * @package WooCommerce/Classes/Data * @category Class * @author WooThemes */ class WC_Post_Data { private static $editing_t...
import { vscale, csw, csh } from "Setup"; import { List } from "libcs/List"; var csgstorage = {}; var csport = {}; csport.drawingstate = {}; csport.drawingstate.linecolor = "rgb(0,0,255)"; csport.drawingstate.linecolorraw = [0, 0, 1]; csport.drawingstate.pointcolor = "rgb(0,255,0)"; csport.drawingstate.pointcolorraw ...
import logging import ids_core from ids_core import number_cameras, camera_list class Camera(ids_core.Camera): """ IDS Camera object Provides access to, and control of, IDS machine vision cameras. This class provides as attributes many of the camera settings. It handles image capture internally,...
package org.camunda.bpm.qa.upgrade.scenarios720.boundary; import static org.camunda.bpm.qa.upgrade.util.ActivityInstanceAssert.assertThat; import static org.camunda.bpm.qa.upgrade.util.ActivityInstanceAssert.describeActivityInstanceTree; import java.util.List; import org.camunda.bpm.engine.runtime.ActivityInstance; ...
class COXTabSkin; class OX_CLASS_DECL COXSkinnedTabCtrl : public CTabCtrl { friend class COXTabSkinXP; friend class COXTabSkinClassic; // Construction public: DECLARE_DYNAMIC(COXSkinnedTabCtrl) COXSkinnedTabCtrl(); // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual funct...
R CMD REMOVE --library=$PREFIX/lib/R/library/ mgu74cv2.db
// Copyright (c) 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. #include <string> #include "ppapi/c/pp_errors.h" #include "ppapi/c/ppb_file_io.h" #include "ppapi/cpp/file_io.h" #include "ppapi/cpp/file_ref.h" #inc...
<?php namespace lithium\tests\integration\analysis; use lithium\core\Libraries; use lithium\analysis\Logger; use lithium\aop\Filters; /** * Logger adapter integration test cases */ class LoggerTest extends \lithium\test\Integration { public function testWriteFilter() { $base = Libraries::get(true, 'resources'...
using System.Collections.Generic; using Orchard.Environment.Extensions.Models; namespace Orchard.Modules.Models { /// <summary> /// Represents a module. /// </summary> public class ModuleEntry { /// <summary> /// Default constructor. /// </summary> public ModuleEntry() ...
using UnityEngine.PostProcessing; namespace UnityEditor.PostProcessing { using Settings = AmbientOcclusionModel.Settings; [PostProcessingModelEditor(typeof(AmbientOcclusionModel))] public class AmbientOcclusionModelEditor : PostProcessingModelEditor { SerializedProperty m_Intensity; Se...
package org.apereo.cas.services; import org.apereo.cas.authentication.principal.RegisteredServicePrincipalAttributesRepository; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonTypeInfo; import org.springframework.core.Ordered; import java.io.Serializable; import java.u...
<?php /** * Multisite sites administration panel. * * @package WordPress * @subpackage Multisite * @since 3.0.0 */ require_once( dirname( __FILE__ ) . '/admin.php' ); wp_redirect( network_admin_url('sites.php') ); exit;
require 'test_helper' class PageTitleHelperTest < ActionView::TestCase end
<!DOCTYPE html> <html> <head> <script src="../../resources/ahem.js"></script> <script src="../../resources/run-after-layout-and-paint.js"></script> <script src="resources/selection.js"></script> <style> div { font-family: Ahem; width: 2em; } </style> </head> <body onload="selectRange(container, 0, container, 1)...
<?php namespace Concrete\Core\Page\Controller; use Concrete\Controller\Element\Navigation\AccountMenu; use Concrete\Controller\Element\Navigation\Menu; use Concrete\Core\Attribute\Context\DashboardFormContext; use Concrete\Core\Attribute\Context\FrontendFormContext; use Concrete\Core\Attribute\Form\Renderer; use Concr...
/* -*- Mode: c; c-basic-offset: 4; indent-tabs-mode: t; tab-width: 8; -*- */ /* * Copyright © 2005 Red Hat, Inc. * * Permission to use, copy, modify, distribute, and sell this software * and its documentation for any purpose is hereby granted without * fee, provided that the above copyright notice appear in all co...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="generator" content="JsDoc To...
// 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. /* A --> B --> C --> D --> E --> A 3 threads: Thread T1 starts initialization at A, thread T2 starts initialization ...
/** * */ package org.mockito.configuration; /** * @author ganeshs * */ public class MockitoConfiguration extends DefaultMockitoConfiguration { public MockitoConfiguration() { } @Override public boolean enableClassCache() { return false; } }
<Type Name="CCBufferUsage" FullName="CocosSharp.CCBufferUsage"> <TypeSignature Language="C#" Value="public enum CCBufferUsage" /> <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed CCBufferUsage extends System.Enum" /> <AssemblyInfo> <AssemblyName>CocosSharp</AssemblyName> </AssemblyInfo>...
package v1 // This file contains a collection of methods that can be used from go-restful to // generate Swagger API documentation for its models. Please read this PR for more // information on the implementation: https://github.com/emicklei/go-restful/pull/215 // // TODOs are ignored from the parser (e.g. TODO(andr...
namespace chromeos_camera { namespace { #if defined(USE_V4L2_JEA) std::unique_ptr<JpegEncodeAccelerator> CreateV4L2JEA( scoped_refptr<base::SingleThreadTaskRunner> io_task_runner) { return std::make_unique<media::V4L2JpegEncodeAccelerator>( std::move(io_task_runner)); } #endif #if BUILDFLAG(USE_VAAPI) st...
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/tinderbox/Xr-Mozilla1.9-Release/Linux_2.6.18-53.1.13.el5_Depend/mozilla/dom/public/idl/base/nsIDOMWindow2.idl */ #ifndef __gen_nsIDOMWindow2_h__ #define __gen_nsIDOMWindow2_h__ #ifndef __gen_nsIDOMWindow_h__ #include "nsIDOMWindow.h" #endif /* For IDL files t...
{% load account_tags %} <p> <b>{% user_display message.user %}</b> has added a message on <b>{{ proposal.title }}</b>. </p> <blockquote> {{ message.message|safe }} </blockquote> <p> {% if reviewer %}{% url review_detail proposal.pk as detail_url %}{% else %}{% url proposal_detail proposal.pk as detail_url %...
struct poi::sl::draw::DrawFontManager : public virtual ::java::lang::Object { virtual ::poi::common::usermodel::fonts::FontInfo* getMappedFont(::java::awt::Graphics2D* graphics, ::poi::common::usermodel::fonts::FontInfo* fontInfo) = 0; virtual ::poi::common::usermodel::fonts::FontInfo* getFallbackFont(::jav...
package ivmanager import ( "github.com/docker/libnetwork/datastore" "github.com/docker/libnetwork/discoverapi" "github.com/docker/libnetwork/driverapi" "github.com/docker/libnetwork/types" ) const networkType = "ipvlan" type driver struct{} // Init registers a new instance of ipvlan manager driver func Init(dc ...
/* * User: anna * Date: 28-Apr-2010 */ package com.theoryinpractice.testng.configuration; import com.intellij.execution.CantRunException; import com.intellij.execution.ExecutionException; import com.intellij.execution.testframework.SearchForTestsTask; import com.intellij.openapi.application.ApplicationManager; im...
import sys import socket import string from OpenSSL import SSL def usage(exit_code=0): print "Usage: %s server[:port] proxy[:port]" % sys.argv[0] print " Connects SSL to the specified server (port 443 by default)" print " using the specified proxy (port 8080 by default)" sys.exit(exit_code) def...
<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"> <modelVersion>4.0.0</modelVersion> <groupId>no.trefsahl</groupId> <artifactId>eventstore</artifactId> <v...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Mond.Libraries.Async { internal class MondTaskScheduler : TaskScheduler { private readonly MondSynchronizationContext _syncContext; private Concu...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FoundationRestUrls = void 0; var FoundationRestUrls = /** @class */ (function () { function FoundationRestUrls() { // Content this.content = "{{urlBase}}/apispaces/{{apiSpaceId}}/content"; // Conversations ...
from django.db.models import Q, Sum from django.db.utils import IntegrityError from django.test import TestCase, skipIfDBFeature from django.forms.models import modelform_factory from django.db.models.deletion import ProtectedError from .models import ( Address, Place, Restaurant, Link, CharLink, TextLink, Per...
package genericclioptions import ( "bytes" "fmt" "io/ioutil" "os" "sort" "strings" "testing" "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) func TestPrinterSupportsExpectedTemplateFormats(t *testing.T) { testObject := &v1.Pod{ObjectMeta: metav1.ObjectMeta{Name: "foo"}} templateFil...
package PJC.map.iterator; import PJC.iterator.TAdvancingIterator; public interface TObjectDoubleIterator extends TAdvancingIterator { /** * Provides access to the key of the mapping at the iterator's position. * Note that you must <tt>advance()</tt> the iterator at least once * before invok...
package hudson.maven; import hudson.FilePath; import hudson.Launcher; import hudson.EnvVars; import hudson.maven.agent.Main; import hudson.maven.agent.Maven21Interceptor; import hudson.model.BuildListener; import hudson.model.Run.RunnerAbortedException; import hudson.model.TaskListener; import hudson.remoting.Callabl...