text
stringlengths
3
1.05M
import { EventEmitter } from 'events' const Twitter = require('twitter'); export default class TwitterClient { constructor({ accessToken, accessTokenSecret, consumerKey, consumerSecret }) { this.accessToken = accessToken; this.accessTokenSecret = accessTokenSecret; this.consumerKey = consumerKey; thi...
import * as hapi from 'hapi'; import { controller, get, post, put, cache, config, route, validate, Controller } from 'hapi-decorators'; @controller('/test') class TestController implements Controller { baseUrl: string; routes: () => hapi.IRouteConfiguration[]; @get('/') @config({ auth: false ...
<div class="commune_descr limited"> <p> Vindrac-Alayrac est un village situé dans le département de Tarn en Midi-Pyrénées. Elle comptait 152 habitants en 2008.</p> <p>Le nombre d'habitations, à Vindrac-Alayrac, se décomposait en 2011 en trois appartements et 109 maisons soit un marché relativement équi...
class Rbenv < Formula desc "Ruby environment tool" homepage "https://github.com/sstephenson/rbenv" url "https://github.com/sstephenson/rbenv/archive/v0.4.0.tar.gz" sha256 "d40fe637cc799b828498fc5793548fab70d9e2431efc6a3d3f4a671d670fa9ff" head "https://github.com/sstephenson/rbenv.git" depends_on "ruby-bui...
package org.jf.dexlib2.immutable.instruction; import org.jf.dexlib2.Format; import org.jf.dexlib2.Opcode; import org.jf.dexlib2.iface.instruction.formats.Instruction21c; import org.jf.dexlib2.iface.reference.Reference; import org.jf.dexlib2.immutable.reference.ImmutableReference; import org.jf.dexlib2.immutable.refe...
package io.druid.storage.azure; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.collect.ImmutableMap; import com.metamx.common.MapUtils; import com.microsoft.azure.storage.StorageException; import io.druid.segment.loading.DataSegmentPusherUtil; import io.druid.timeline.DataSegment; impor...
YUI.add('series-area', function (Y, NAME) { /** * Provides functionality for creating a area series. * * @module charts * @submodule series-area */ /** * The AreaSeries class renders quantitative data on a graph by creating a fill between 0 * and the relevant data points. * * @class AreaSeries * @extends Ca...
@interface YALFirstTestViewController : UIViewController <YALTabBarInteracting> @end
namespace ApplicationInsights { namespace core { class TELEMETRYCLIENT_API Internal : public ISerializable { private: Nullable<std::wstring> m_sdkVersion; Nullable<std::wstring> m_agentVersion; public: Internal(); virtual ~Internal(); const Nullable<std::wstring>& GetSdkVersion() const { retu...
/** * @fileoverview Externs for Facebook Javascript SDK * @see http://developers.facebook.com/docs/reference/javascript/ * @externs */ /** @const */ var FB = {}; /** * @see http://developers.facebook.com/docs/reference/javascript/fb.getsession/ * @return {Object.<*,*>} */ FB.getSession = function() { }; /**...
typedef struct { UBYTE type; UBYTE height; UBYTE detail; UBYTE shit1; UWORD x; UWORD z; UWORD angle; UWORD radius; SLONG shit2; SLONG shit3; } EXTRA_Thing; #define EXTRA_MAX_THINGS 256 extern EXTRA_Thing EXTRA_thing[EXTRA_MAX_THINGS]; // // Creates something of the given type with the default // settings...
""" Specifying a function plot_var for the plotting variable ======================================================== The pressure q[0] and q[1] are plotted on two sets of axes in a single figure. The Riemann invariants R1 = (-p+Z*u)/2*Z and R2 = (p-Z*u)/2*Z are plotted in a second figure. This illustrates how to ...
package org.apache.flink.api.java.typeutils.runtime; import org.apache.flink.FlinkVersion; import org.apache.flink.api.common.typeutils.TypeSerializer; import org.apache.flink.api.common.typeutils.TypeSerializerMatchers; import org.apache.flink.api.common.typeutils.TypeSerializerSchemaCompatibility; import org.apach...
package exec import ( "fmt" "io" clientset "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset" "k8s.io/kubernetes/pkg/admission" "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/pkg/api/errors" "k8s.io/kubernetes/pkg/api/rest" ) func init() { admission.RegisterPlugin("DenyEscalatingExec", f...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
package org.apache.ignite.internal.processors.cache; import java.util.Collection; import java.util.Set; import org.apache.ignite.internal.managers.discovery.DiscoCache; import org.apache.ignite.internal.managers.discovery.DiscoveryCustomMessage; import org.apache.ignite.internal.managers.discovery.GridDiscoveryManag...
package com.dayuan.utils; import java.io.IOException; import java.io.Reader; import org.apache.ibatis.io.Resources; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; import org.apache.ibatis.session.SqlSessionFactoryBuilder; public class MyBatisDB { private static S...
"use strict"; var needSlaveOk = ['primaryPreferred', 'secondary', 'secondaryPreferred', 'nearest']; /** * @fileOverview The **ReadPreference** class is a class that represents a MongoDB ReadPreference and is * used to construct connections. * * @example * var ReplSet = require('mongodb-core').ReplSet * , Read...
/* This header file is part of the ATMEL AVR-UC3-SoftwareFramework-1.7.0 Release */ /*This file is prepared for Doxygen automatic documentation generation.*/ /*! \file ********************************************************************* * * \brief Abstraction layer for memory interfaces. * * This module contains ...
This document contains information about the tools section of the `angular2-seed`. ## General Information The root of this folder contains the following files: | Filename | Description | | :----------- | :---------- | | `.gitignore` | Adds the generated `*.js` and `.js.map` files to the list of ignores files for...
# Angular водич на кодирање *Своеволен Angular водич на кодирање за тимови од [@john_papa](//twitter.com/john_papa)* *Преведено од [Александар Богатинов](https://github.com/Bogatinov)* >[Оригиналната Англиска верзија](http://jpapa.me/ngstyles) е изворот на вистината, одржувана и ажурирана прва. Доколку барате своев...
// 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. 'use strict'; /** * Constants for interacting with the directory tree on the LHS of Files. * When we are not in guest mode, we fill Google Drive with t...
require File.expand_path('../helper', __FILE__) class TrelloTest < Service::TestCase def setup @stubs = Faraday::Adapter::Test::Stubs.new @data = {'push_list_id' => 'abc123', 'consumer_token' => 'blarg', 'master_only' => 1} end def test_push svc = service :push, @data def svc.message_max_length...
package gov.hhs.fha.nhinc.connectmgr.data; import java.util.List; import java.util.ArrayList; /** * @author westbergl * @version 1.0 * @created 20-Oct-2008 12:06:51 PM */ public class CMBusinessNames { private List<String> businessNameList = new ArrayList<String>(); /** * Default constructor. ...
<!DOCTYPE html> <html> <head> <script type="application/javascript"> var doNotTrack = false; if (!doNotTrack) { window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; ga('create', 'UA-159239795-1', 'auto'); ga('send', 'pageview'); } </script> <script async src='https://www.google-a...
<?php /** * @see Zend_Crypt_Math_Exception */ require_once 'Zend/Crypt/Math/Exception.php'; /** * @category Zend * @package Zend_Crypt * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ clas...
namespace atom { namespace switches { const char kTitle[] = "title"; const char kIcon[] = "icon"; const char kFrame[] = "frame"; const char kShow[] = "show"; const char kCenter[] = "center"; const char kX[] = "x"; const char kY[] = "y"; const char kWidth[] = "width"; c...
namespace extensions { namespace { v8::Local<v8::String> ConvertString(v8::Isolate* isolate, const base::StringPiece& string) { // v8 takes ownership of the StaticV8ExternalOneByteStringResource (see // v8::String::NewExternalOneByte()). return v8::String::NewExternalOneByte(...
name 'irc' maintainer 'YOUR_COMPANY_NAME' maintainer_email 'YOUR_EMAIL' license 'All rights reserved' description 'Installs/Configures irc' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '0.1.0'
<!-- 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. --> <!doctype html> <html> <body> <iframe src="about:blank"></iframe> <script src="capability_tests.js"></script> </body> </html>
var assert = require('assert'); var availablePresets = require('../../tags'); var jsdoc = require('../../jsdoc'); module.exports = validateAnnotations; module.exports.scopes = ['file']; module.exports.options = { checkAnnotations: true }; /** * @param {Object} options */ validateAnnotations.configure = functio...
<!doctype html> <html i18n-values=" dir:textdirection; hasattribution:hasattribution; themegravity:themegravity; bookmarkbarattached:bookmarkbarattached;" class="starting-up"> <head> <meta charset="utf-8"> <title i18n-content="title"></title> <!-- Don't scale the viewport in either portrait or landsca...
layout: post title: Perfectionism Means Not Starting date: 2020-05-18 18:50 Tags: [ uncategorized, blog ] permalink: /imperfectly-initiated/ author: Kevin Olega --- Perfectionism means not starting. I want it to be perfect, which means I’m not going to start it. The truth is, nothing will ever be perfect. No dec...
// // TMPieCategoryDetailViewController.m // Timi // // Created by chairman on 16/6/22. // Copyright © 2016年 LaiYoung. All rights reserved. // #import "TMPiewCategoryDetailViewController.h" #import "UIViewController+MMDrawerController.h" #import "TMPiewCategoryDetailCell.h" #import "TMBill.h" #import "TMCategory.h...
<?php /** * @see Zend_Validate_Abstract */ require_once 'Zend/Validate/Abstract.php'; /** * @category Zend * @package Zend_Validate * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ clas...
CREATE DATABASE VOTER;
@interface MPClassDescription : MPTypeDescription @property (nonatomic, readonly) MPClassDescription *superclassDescription; @property (nonatomic, readonly) NSArray *propertyDescriptions; @property (nonatomic, readonly) NSArray *delegateInfos; - (instancetype)initWithSuperclassDescription:(MPClassDescription *)superc...
wn.provide("wn.tools"); wn.tools.downloadify = function(data, roles, me) { if(roles && roles.length && !has_common(roles, user_roles)) { msgprint("Export not allowed. You need " + wn.utils.comma_or(roles) + " Role to export."); return; } var _get_data = function() { return wn.tools.to_csv(data); }; var fl...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
'use strict'; var strictUriEncode = require('strict-uri-encode'); var objectAssign = require('object-assign'); function encode(value, opts) { if (opts.encode) { return opts.strict ? strictUriEncode(value) : encodeURIComponent(value); } return value; } exports.extract = function (str) { return str.split('?')[1]...
package org.dasein.cloud.openstack; import org.dasein.cloud.test.GlobalTestSuite; public class TestSuite extends GlobalTestSuite { }
import json from lxml import etree import webob import webob.exc import webob.dec import nova.context from nova import test from nova.api import openstack as openstack_api from nova.api.openstack import wsgi from nova.tests.api.openstack import fakes class APITest(test.TestCase): def _wsgi_app(self, inner_app)...
<?php namespace Kunstmaan\MultiDomainBundle\Tests\Helper; use Kunstmaan\MultiDomainBundle\Helper\DomainConfiguration; use Kunstmaan\MultiDomainBundle\Helper\HostOverrideCleanupHandler; use PHPUnit\Framework\TestCase; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symf...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = memberExpressionToFunctions; function t() { const data = _interopRequireWildcard(require("@babel/types")); t = function () { return data; }; return data; } function _interopRequireWildcard(obj) { if (obj &&...
<?php namespace Symfony\Component\HttpFoundation\File\Exception; /** * Thrown when the access on a file was denied. * * @author Bernhard Schussek <bschussek@gmail.com> */ class AccessDeniedException extends FileException { /** * Constructor. * * @param string $path The path to the accessed fi...
TODO : - jeux de données - indiquer à un utilisateur s il à deja dépose pour l exam en question - autre améliorations que vous voulez lachez-vous tant que ça marche #Post-IT - php app/console doctrine:database:create - php app/console doctrine:schema:update --force - php app/console doctrine:fixture:load #Bundle...
package uz.greenwhite.slidingmenu.support.v10.volley.lib.request.toolbox; import android.os.SystemClock; import uz.greenwhite.slidingmenu.support.v10.volley.lib.request.Cache; import uz.greenwhite.slidingmenu.support.v10.volley.lib.request.VolleyLog; import java.io.BufferedInputStream; import java.io.EOFException;...
using System; using System.Collections.Generic; using Mofichan.Core; using Shouldly; using Xunit; namespace Mofichan.Tests { public class BotConfigurationTests { public static IEnumerable<object> BotConfigurationBuildExamples { get { yield return new obj...
<?php namespace Del\Person; use Barnacle\Container; use Barnacle\EntityRegistrationInterface; use Barnacle\RegistrationInterface; use Del\Person\Service\PersonService; use Doctrine\ORM\EntityManager; class PersonPackage implements RegistrationInterface, EntityRegistrationInterface { /** * @param Container $...
/* krb5_asn.c */ /* Written by Vern Staats <staatsvr@asc.hpc.mil> for the OpenSSL project, ** using ocsp/{*.h,*asn*.c} as a starting point */ /* ==================================================================== * Copyright (c) 2000 The OpenSSL Project. All rights reserved. * * Redistribution and use in source an...
/** * Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a> */ #ifndef CONF_USART_SERIAL_H_INCLUDED #define CONF_USART_SERIAL_H_INCLUDED /** UART Interface */ #define CONF_UART CONSOLE_UART /** Baudrate setting */ #define CONF_UART_BAUDRATE (115200UL) /** Character l...
<?php namespace Symfony\Component\HttpFoundation\File\Exception; /** * Thrown when a file was not found. * * @author Bernhard Schussek <bschussek@gmail.com> */ class FileNotFoundException extends FileException { /** * Constructor. * * @param string $path The path to the file that was not foun...
<?php /** * This class has been auto-generated by the Doctrine ORM Framework */ class Version2 extends Doctrine_Migration_Base { public function up() { $this->changeColumn('dns_zones', 'updating_date', 'timestamp', '25', array( 'notnull' => '1', )); $this->changeColum...
internal partial class Interop { internal partial class Version { internal partial class FileVersionInfo { internal const int VS_FF_DEBUG = 0x1; internal const int VS_FF_PRERELEASE = 0x2; internal const int VS_FF_PATCHED = 0x4; internal const int V...
export * from './request'; export * from './layout'; export * from './display'; export * from './message'; export * from './d3'; export * from './math';
<!DOCTYPE html> <html xmlns:th="http://www.thymeleaf.org" > <head lang="ja"> <meta charset="UTF-8"/> <title>更新</title> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" /> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/boo...
set(DOCUMENTATION "This module contains filters that compute differential operations in images. In particular, image gradients, gradient magnitude and difference of Gaussians.") itk_module(ITKImageGradient DEPENDS ITKSmoothing ITKImageIntensity COMPILE_DEPENDS ITKImageAdaptors TEST_DEPENDS ITKTes...
package com.jetbrains.python.validation; import com.intellij.lang.annotation.AnnotationHolder; import com.intellij.psi.util.PsiTreeUtil; import com.jetbrains.python.PyBundle; import com.jetbrains.python.psi.*; import com.jetbrains.python.psi.impl.ParamHelper; import java.util.HashSet; import java.util.Set; /** * A...
/bar.html
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "RackSmaw" do it "fails" do fail "hey buddy, you should probably rename this file and start specing for real" end end
FROM python:latest MAINTAINER <mohamed@farghal.com> ENV CL_MASTER_HOST='127.0.0.1:5555' RUN pip3 install numpy dill pandas RUN git clone https://github.com/medo/Pandas-Farm.git WORKDIR Pandas-Farm CMD python3 start_slave.py
#include "mpeg2/VLCTable.h" namespace MPEG2 { class CMacroblockTypeITable : public MPEG2::CVLCTable { public: CMacroblockTypeITable(); static MPEG2::CVLCTable* GetInstance(); enum MAXBITS { MAXBITS = 2, }; enum ENTRYCOUNT { ENTRYCOUNT = 2, }; private: sta...
<?php /** * The sidebar containing the front page widget areas * * If no active widgets are in either sidebar, hide them completely. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ /* * The front page widget area is triggered if any of the areas * have widgets. So let's check...
<?php namespace Symfony\Component\Routing\Tests\Matcher; use Symfony\Component\Routing\RouteCollection; use Symfony\Component\Routing\RequestContext; use Symfony\Component\Routing\Matcher\ApacheUrlMatcher; class ApacheUrlMatcherTest extends \PHPUnit_Framework_TestCase { protected $server; protected functi...
from __future__ import unicode_literals from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """ Test file created by XlsxWriter against a file created by Excel. """ def setUp(self): self.maxDiff = None ...
require File.expand_path('../../../../spec_helper', __FILE__) require 'uri' describe "URI::Generic#set_host" do it "needs to be reviewed for spec completeness" end
package com.example.android.unsplash; import android.app.Activity; import android.app.ActivityOptions; import android.content.Intent; import android.graphics.Rect; import android.net.Uri; import android.os.Bundle; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import...
{-# LANGUAGE CPP, BangPatterns, Rank2Types, MagicHash #-} -- | -- Module : UnboxedAppend -- Copyright : (c) 2010 Simon Meier -- License : BSD3-style (see LICENSE) -- -- Maintainer : Simon Meier <iridcode@gmail.com> -- Stability : experimental -- Portability : tested on GHC only -- -- Try using unboxed po...
using System.Runtime.Serialization; namespace BingRestServices.DataContracts { [DataContract] public class QueryParseValue { [DataMember(Name = "property", EmitDefaultValue = false)] public string Property { get; set; } [DataMember(Name = "value", EmitDefaultValue = false)] ...
<?php namespace Concrete\Core\Url\Resolver; class CallableUrlResolver implements UrlResolverInterface { protected $resolver; /** * @param callable $resolver A Callable that receives three arguments * CallableUrlResolver $resolver, * ar...
package com.bluelinelabs.logansquare.demo.model; import com.bluelinelabs.logansquare.annotation.JsonField; import com.bluelinelabs.logansquare.annotation.JsonIgnore; import com.bluelinelabs.logansquare.annotation.JsonIgnore.IgnorePolicy; import com.bluelinelabs.logansquare.annotation.JsonObject; import com.bluelinelab...
// Copyright 2016 Twitter. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
package mesosproto import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" // discarding unused import gogoproto "github.com/gogo/protobuf/gogoproto" import bytes "bytes" import strings "strings" import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" import sort "sort" impo...
<?xml version="1.0" encoding="UTF-8"?> <!--L Copyright SAIC Distributed under the OSI-approved BSD 3-Clause License. See http://ncip.github.com/cabio/LICENSE.txt for details. L--> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans default...
<?php require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR . 'BeforeAndAfterTest.php'; require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR . 'BeforeClassAndAfterClassTest.php'; require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_S...
#include "config.h" #include "ScheduledAction.h" #include "ContentSecurityPolicy.h" #include "DOMWindow.h" #include "Document.h" #include "Frame.h" #include "FrameLoader.h" #include "JSDOMBinding.h" #include "JSDOMWindow.h" #include "JSMainThreadExecState.h" #include "ScriptController.h" #include "ScriptExecutionCon...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE415_Double_Free__malloc_free_int64_t_82.h Label Definition File: CWE415_Double_Free__malloc_free.label.xml Template File: sources-sinks-82.tmpl.h */ /* * @description * CWE: 415 Double Free * BadSource: Allocate data using malloc() and Deallocate data using f...
package io.arabesque.embedding; import io.arabesque.utils.collection.IntArrayList; import net.openhft.koloboke.collect.IntCollection; import net.openhft.koloboke.function.IntConsumer; import java.io.DataInput; import java.io.IOException; public class VertexInducedEmbedding extends BasicEmbedding { // Consumers {...
define("axios", ["undefined"], function(__WEBPACK_EXTERNAL_MODULE_2__) { return /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check ...
if [ ! -f ./cov.info ]; then (>&2 echo "Coverage file 'cov.info' was not found.") (>&2 echo "First run the test suite as 'npm run test:coverage'.") exit 1 fi # Coveralls cat ./cov.info | ./node_modules/.bin/coveralls
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>wCMF 4.0: Member List</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="A MDSD framework for building reliable, maintainable and extendable web applications with PHP"> <meta nam...
package org.springframework.boot.test.web.client; import java.io.IOException; import java.io.OutputStream; import java.net.URI; import java.net.URISyntaxException; import java.time.Duration; import org.springframework.boot.web.client.RootUriTemplateHandler; import org.springframework.http.client.ClientHttpRequest; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; namespace JabbR.Infrastructure { /// <summary> /// Wraps URL Query string parameters /// Yes, it's 2012 and we have to tokenize the url parameters manually. /// If there is a better way to get these in Web ...
require 'spec_helper' describe Mongoid::Relations::Cascading::Restrict do before :each do Person.has_many :drugs, validate: false, dependent: :restrict end after :each do Person.cascades.delete("drugs") Person.has_many :drugs, validate: false end let(:person) do Person.new end let(:me...
namespace boost { namespace to_string_detail { struct partial_ordering_helper1 { template <class CharT,class Traits> partial_ordering_helper1( std::basic_ostream<CharT,Traits> & ); }; struct partial_ordering_helper2 ...
struct A { virtual void foo(int x, int y); virtual void bar(double x); virtual void bar(float x); }; struct B : A { void foo(int a, int b); void bar(float real); }; void B::foo(int a, int b) { A::foo(a, b); } void B::bar(float real) { A::bar(real); } // RUN: c-index-test -code-completion-at=%s:16:3 %s...
define("ace/mode/maze_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) { "use strict"; var oop = require("../lib/oop"); var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; var MazeHighlightRules = function() { ...
import java.lang.String; import java.util.ArrayList; import java.util.List; import java.util.HashSet; import java.util.Arrays; class C { void m() { final List<String> list = new ArrayList<>(); Arrays.asList(1, 2, 3).forEach(x -> list.addA<caret>ll(Arrays.asList(String.valueOf(x), ","))); } }
package org.apache.hadoop.yarn.api.protocolrecords; import java.util.List; import org.apache.hadoop.classification.InterfaceAudience.Public; import org.apache.hadoop.classification.InterfaceStability.Stable; import org.apache.hadoop.yarn.api.ApplicationMasterProtocol; import org.apache.hadoop.yarn.api.records.Conta...
package e2e_node import ( "fmt" "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/uuid" podutil "k8s.io/kubernetes/pkg/api/v1/pod" "k8s.io/kubernetes/test/e2e/framework" ) // One pod one container type ConformanceContainer s...
using System; using System.Collections; using UnityEngine; using UnityEngine.Events; using UnityEngine.EventSystems; /// <summary> /// Exposes events from `GvrEventExecutor` that are fired by `GvrPointerInputModule_`to the editor. /// </summary> /// <remarks>Makes it possible to handle `EventSystem` events globally.</...
<?php /** * Author form. * * @package form * @subpackage author * @version SVN: $Id$ */ class AuthorForm extends BaseAuthorForm { public function configure() { } }
<!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) on Wed Apr 05 01:58:42 EDT 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class org.owasp.appsens...
layout: post title: "Como configurar uma variável no $PATH do GNU/Linux" subtitle: "Neste artigo, vamos aprender como configurar uma variável no PATH do GNU/Linux. " date: 2017-07-01 16:00:00 author: "Allythy" header-img: "" categories: [GNU/Linux, Shell] --- Neste artigo, vamos aprender como confi...
require 'spec_helper' describe Gitlab::GoogleCodeImport::ProjectCreator do let(:user) { create(:user) } let(:repo) do Gitlab::GoogleCodeImport::Repository.new( "name" => 'vim', "summary" => 'VI Improved', "repositoryUrls" => ["https://vim.googlecode.com/git/"] ) end let(:namespace) { ...
// .NAME vtkContourTriangulator - Fill all 2D contours to create polygons // .SECTION Description // vtkContourTriangulator will generate triangles to fill all of the 2D // contours in its input. The contours may be concave, and may even // contain holes i.e. a contour may contain an internal contour that // is wound...
package org.apache.camel.scala.dsl import org.apache.camel.Exchange import org.apache.camel.builder.ExchangeBuilder.anExchange import org.apache.camel.processor.BodyInAggregatingStrategy import org.apache.camel.processor.aggregate.UseLatestAggregationStrategy import org.apache.camel.scala.dsl.builder.RouteBuilder imp...
<?php namespace Symfony\Component\Validator\Constraints; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\Exception\MissingOptionsException; /** * @Annotation * @Target({"PROPERTY", "METHOD", "ANNOTATION"}) * * @author Bernhard Schussek <bschussek@gmail.com> * * @api */ class Coun...
if(LEVELDB_INCLUDE_DIR AND LEVELDB_LIBRARY) set(LEVELDB_FOUND_QUIETLY TRUE) else(LEVELDB_INCLUDE_DIR AND LEVELDB_LIBRARY) find_path(LEVELDB_INCLUDE_DIR leveldb/db.h HINTS ${LEVELDB_INCLUDE_DIR} $ENV{LEVELDB_INCLUDE_DIR} /usr /usr/local /opt/ PATH_SUFFIXES include/ PATHS /opt ) ...
package org.apache.beam.sdk.io.hadoop.inputformat; import static org.apache.beam.sdk.transforms.display.DisplayDataMatchers.hasDisplayItem; import static org.hamcrest.Matchers.containsInAnyOrder; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThat; import java.io.IOException; impor...