text
stringlengths
3
1.05M
class PhoneNumberDetectorTest; namespace content { // Finds a telephone number in the given content text string. class PhoneNumberDetector : public ContentDetector { public: PhoneNumberDetector(); explicit PhoneNumberDetector(const std::string& region); virtual ~PhoneNumberDetector(); private: friend class...
"""Constants and functions for data used in interoperability testing.""" import argparse import os import pkg_resources _ROOT_CERTIFICATES_RESOURCE_PATH = 'credentials/ca.pem' _PRIVATE_KEY_RESOURCE_PATH = 'credentials/server1.key' _CERTIFICATE_CHAIN_RESOURCE_PATH = 'credentials/server1.pem' def test_root_certifica...
/** * Get the window associated with the element * @argument {Element} element * @returns {Window} */ export default function getWindow(element) { const ownerDocument = element.ownerDocument; return ownerDocument ? ownerDocument.defaultView : window; }
package zerolog // encoder_json.go file contains bindings to generate // JSON encoded byte stream. import ( "github.com/rs/zerolog/internal/json" ) var ( _ encoder = (*json.Encoder)(nil) enc = json.Encoder{} ) func init() { // using closure to reflect the changes at runtime. json.JSONMarshalFunc = func(v inte...
package com.jetbrains.python.psi.resolve; import com.intellij.openapi.util.Key; import com.intellij.psi.PsiElement; import com.intellij.psi.ResolveState; import com.intellij.psi.scope.PsiScopeProcessor; import com.intellij.psi.util.QualifiedName; import com.jetbrains.python.psi.PyAssignmentStatement; import com.jetbr...
from __future__ import print_function, division, absolute_import from fontTools.misc.py23 import * from fontTools import cffLib from . import DefaultTable class table_C_F_F_(DefaultTable.DefaultTable): def __init__(self, tag): DefaultTable.DefaultTable.__init__(self, tag) self.cff = cffLib.CFFFontSet() self....
package devicemanager import ( "context" "fmt" "net" "os" "path/filepath" "runtime" "sort" "sync" "time" cadvisorapi "github.com/google/cadvisor/info/v1" "google.golang.org/grpc" "k8s.io/klog/v2" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" errorsutil "k8s.io/apimachinery/pkg/util/...
/* * TLSv1 client - read handshake message * Copyright (c) 2006-2011, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "wpa/includes.h" #include "wpa/common.h" #include "crypto/md5.h" #include "crypto/sha1.h" #include "...
/*************************************************************************/ /* tool_button.h */ /*************************************************************************/ /* This file is part of: */ /* ...
package voldemort.server.rebalance; import voldemort.annotations.jmx.JmxManaged; import voldemort.common.service.AbstractService; import voldemort.common.service.SchedulerService; import voldemort.common.service.ServiceType; import voldemort.server.StoreRepository; import voldemort.server.VoldemortConfig; import volde...
""" SQLite3 backend for django. Works with either the pysqlite2 module or the sqlite3 module in the standard library. """ from __future__ import unicode_literals import datetime import decimal import re import warnings from django.conf import settings from django.db import utils from django.db.backends import utils ...
<?php namespace Doctrine\DBAL\Driver\SQLSrv; class SQLSrvException extends \Doctrine\DBAL\DBALException { /** * Helper method to turn sql server errors into exception. * * @return SQLSrvException */ static public function fromSqlSrvErrors() { $errors = sqlsrv_errors(SQLSRV_ERR...
package client const ( INSTANCE_TYPE = "instance" ) type Instance struct { Resource AccountId string `json:"accountId,omitempty" yaml:"account_id,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` Data map[string]interface{} `json:"data,omitempty" yaml:"data,omitempty"` Descripti...
package org.libsdl.app; import android.content.Context; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCallback; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattDescriptor; import android.bluetooth.Blue...
var get = require('./get'); var walkPath = require('./walkPath'); var getWithPathsAsPathMap = get(walkPath, false); var getWithPathsAsJSONGraph = get(walkPath, true); module.exports = { getValueSync: require("./../get/getValueSync"), getBoundValue: require("./../get/getBoundValue"), getWithPathsAsPathMap:...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>aac-tactics: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
/** * Created at 4:14:34 AM Jul 17, 2010 */ package org.jbox2d.pooling.arrays; import java.util.HashMap; /** Not thread safe int[] pooling * @author Daniel Murphy */ public class IntArray { private final HashMap<Integer, int[]> map = new HashMap<Integer, int[]>(); public int[] get (int argLength) { assert ...
from nssrc.com.citrix.netscaler.nitro.resource.base.base_resource import base_resource from nssrc.com.citrix.netscaler.nitro.resource.base.base_resource import base_response from nssrc.com.citrix.netscaler.nitro.service.options import options from nssrc.com.citrix.netscaler.nitro.exception.nitro_exception import nitro_...
/*jslint node: true */ /*global module, process */ 'use strict'; /** * Creates a define for node. * @param {Object} module the "module" object that is defined by Node for the * current module. * @param {Function} [requireFn]. Node's require function for the current module. * It only needs to be passed in Node v...
// Copyright (C) 2004, 2011 International Business Machines and others. // All Rights Reserved. // This code is published under the Eclipse Public License. // // $Id: IpSmartPtr.hpp 2182 2013-03-30 20:02:18Z stefan $ // // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13 #ifndef __IPSMARTPTR_HPP__ #define ...
/** * @license AngularJS v1.2.24 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) {'use strict'; var $resourceMinErr = angular.$$minErr('$resource'); // Helper functions and regex to lookup a dotted path on an object // stopping at undefined/null. The path...
package com.siyeh.igtest.errorhandling.caught_exception_immediately_rethrown; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.lang.reflect.Method; public class CaughtExceptionImmediatelyRethrown { void foo() throws FileNotFoundExc...
// disable stupid compiler warnings #include <boost/config/warning_disable.hpp> // system headers #include <string> #include <iostream> #include <limits> #include <boost/wave/wave_config.hpp> #if !BOOST_WORKAROUND(__SUNPRO_CC, <= 0x580) #undef BOOST_WAVE_SEPARATE_LEXER_INSTANTIATION #endif #include...
namespace net { namespace tools { namespace test { // static QuicCryptoClientConfig* QuicClientPeer::GetCryptoConfig(QuicClient* client) { return &client->crypto_config_; } // static bool QuicClientPeer::CreateUDPSocket(QuicClient* client) { return client->CreateUDPSocket(); } // static void QuicClientPeer::SetC...
<?php final class PhabricatorPackagesPublisherSearchEngine extends PhabricatorApplicationSearchEngine { public function getResultTypeDescription() { return pht('Package Publishers'); } public function getApplicationClassName() { return 'PhabricatorPackagesApplication'; } public function newQuery...
var op = OpenLayers.Raster.Operation; var fromLayer = OpenLayers.Raster.Composite.fromLayer; var streets = new OpenLayers.Layer.XYZ( "OpenStreetMap", [ "http://otile1.mqcdn.com/tiles/1.0.0/osm/${z}/${x}/${y}.png", "http://otile2.mqcdn.com/tiles/1.0.0/osm/${z}/${x}/${y}.png", "http://ot...
pub trait Vehicle { type Color; fn go(&self) { } } pub trait Car : Vehicle { fn honk(&self) { } } /////////////////////////////////////////////////////////////////////////// struct Black; struct ModelT; impl Vehicle for ModelT { type Color = Black; } impl Car for ModelT { } ///////////////////////////...
from django.core.management.base import NoArgsCommand import desktop.appmanager class Command(NoArgsCommand): """Prints documentation for configuration.""" def handle_noargs(self, **options): desktop.lib.conf.GLOBAL_CONFIG.print_help(skip_header=True)
from beets.plugins import BeetsPlugin from beets import ui class TestPlugin(BeetsPlugin): def __init__(self): super(TestPlugin, self).__init__() self.is_test_plugin = True def commands(self): test = ui.Subcommand('test') test.func = lambda *args: None # Used in Complet...
package com.sun.xml.ws.handler; import com.sun.xml.ws.api.WSBinding; import com.sun.xml.ws.api.message.Packet; import com.sun.xml.ws.api.message.Attachment; import com.sun.xml.ws.api.message.AttachmentSet; import com.sun.xml.ws.api.pipe.TubeCloner; import com.sun.xml.ws.api.pipe.Tube; import com.sun.xml.ws.api.pipe....
"use strict"; module.exports = function() { var global = require("./global.js"); var ASSERT = require("./assert.js"); var util = require("./util.js"); var async = require("./async.js"); var errors = require("./errors.js"); var INTERNAL = function(){}; var APPLY = {}; var NEXT_FILTER = {e: null}; var PromiseArray = r...
class Log4c < Formula homepage 'http://log4c.sourceforge.net/' url 'https://downloads.sourceforge.net/project/log4c/log4c/1.2.4/log4c-1.2.4.tar.gz' sha1 'a2795d7fcbdf5e43e1cc644893adfa725046abe8' head ":pserver:anonymous:@log4c.cvs.sourceforge.net:/cvsroot/log4c", :using => :cvs def install system "./co...
require File.expand_path('../../../../spec_helper', __FILE__) require File.expand_path('../shared/include', __FILE__) require 'set' describe "SortedSet#include?" do it_behaves_like :sorted_set_include, :include? end
using namespace std; using namespace yami; namespace home_system { namespace io { service::service(const std::string &name) : com::service(name, false) { init(); } service::~service() { } void service::add_device(device_t device) { auto id = device->get_id(); if (devices_.find(id) != devices_.end()) { ...
Return whitelisted properties of an object. ## Installation $ npm install only ## API An array or space-delimited string may be given: ```js var obj = { name: 'tobi', last: 'holowaychuk', email: 'tobi@learnboost.com', _id: '12345' }; var user = only(obj, 'name last email'); ``` yields: ```js { ...
// Copyright 2016 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.signin; import android.app.Activity; import android.text.TextUtils; import org.chromium.base.annotations.CalledByNat...
from boto.mturk.connection import MTurkConnection as RealMTurkConnection class MTurkConnection(RealMTurkConnection): """ Mock MTurkConnection that doesn't connect, but instead just prepares the request and captures information about its usage. """ def _process_request(self, *args, **kwargs): saved_ar...
/** * The module for the root of the application. */ angular.module('index', [ 'auth', 'client', 'clipboard', 'home', 'login', 'manage', 'navigation', 'ngRoute', 'ngTouch', 'notification', 'pascalprecht.translate', 'rest', 'settings', 'templates-main' ]);
// (C) Copyright 2015 Martin Dougiamas // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
package http import ( "bufio" "bytes" "errors" "github.com/MSOpenTech/azure-sdk-for-go/core/tls" "io" "net/textproto" "net/url" "strconv" "strings" ) var respExcludeHeader = map[string]bool{ "Content-Length": true, "Transfer-Encoding": true, "Trailer": true, } // Response represents the resp...
var template; $(document).ready(function(){ init(); }); function init(){ Handlebars.registerHelper('description', function(items, options) { var html = []; $.each(items,function(i,e){ html.push("<p>"+e+"</p>"); }); return new Handlebars.SafeString(html.join('')); }); Handlebars.registerHelper('sta...
package codec import ( "bytes" "encoding/base64" "errors" "fmt" "go/format" "io" "io/ioutil" "math/rand" "reflect" "regexp" "strconv" "strings" "sync" "text/template" "time" ) // --------------------------------------------------- // codecgen only works in the following: // - extensions are not suppo...
package com.ibatis.sqlmap.engine.builder; import com.ibatis.sqlmap.client.SqlMapException; import com.ibatis.sqlmap.client.extensions.TypeHandlerCallback; import com.ibatis.sqlmap.engine.datasource.DataSourceFactory; import com.ibatis.sqlmap.engine.transaction.TransactionConfig; import com.ibatis.sqlmap.engine.transa...
'use strict'; function each (array, iterator) { for (var i = 0; i < array.length; i++) { iterator(array[i], i); } } function shuffle (array) { if (!array || !array.length) { return array; } for (var i = array.length - 1; i > 0; i--) { var rnd = Math.random() * i | 0; var temp = array[i]; ...
<?xml version="1.0" encoding="UTF-8" ?> <dt-api library="Buttons"> <name>button()</name> <summary>Select a single button</summary> <since>1.0.0</since> <type type="function"> <signature>button( [ groupSelector, ] buttonSelector )</signature> <parameter type="button-group-selector" name="groupSelector" default=...
package org.apache.jmeter.protocol.jdbc; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.io.UnsupportedEncodingException; import java.lang.reflect.Field; import java.math.BigDecimal; import java.nio.charset.StandardCharsets; import java.sql.Blob; import java.sql.CallableSta...
namespace content { PageNotificationDelegate::PageNotificationDelegate(int render_process_id, int notification_id) : render_process_id_(render_process_id), notification_id_(notification_id) {} PageNotificationDelegate::~PageNotificationDelegate() {} void P...
/* * ModeShape (http://www.modeshape.org) * * 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 o...
<?php namespace Symfony\Component\Validator\Violation; /** * Builds {@link \Symfony\Component\Validator\ConstraintViolationInterface} * objects. * * Use the various methods on this interface to configure the built violation. * Finally, call {@link addViolation()} to add the violation to the current * executio...
BSLS_IDENT("$Id$ $CSID$") #include <bsls_atomicoperations.h> #include <bsls_bsltestutil.h> // for testing only #include <bsls_platform.h> #include <bsls_types.h> // Before we include the Unix-specific header, '<sys/time.h>', we include the // standard header, '<time.h>', to ensure that things like 'time_t' end...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package mycode.seiyugoods.source.entity; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; ...
package org.motechproject.sms.smpp.it; import org.joda.time.DateTime; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.motechproject.event.MotechEvent; import org.motechproject.event.listener.EventRelay; import org.motechproject.sms.api.constants.EventDataKeys; import org.mot...
<?php /** * RevshareDataTest * * PHP version 5 * * @category Class * @package Swagger\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ /** * RevenueWire JackFruit REST API (Alpha) * * This API *does not* represent the final product. Some of the APIs lis...
<br/> <div ng-controller="SpringBatch.ConnectSpringBatchController"> <div class="container-fluid"> <div class="row-fluid"> <form class="form-horizontal"> <div class="control-group"> <label class="control-label" for="springBatchServer" title="List of all the S...
package com.intellij.java.codeInsight.daemon.quickFix; import com.intellij.codeInsight.daemon.quickFix.LightQuickFixParameterizedTestCase; public class AddExceptionToCatchTest extends LightQuickFixParameterizedTestCase { public void test() throws Exception { doAllTests(); } @Override protected String ge...
<?xml version="1.0" encoding="utf-8"?> <section xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="zend.validate.set.alnum"><info><title>Alnum</title></info> <para> <classname>Zend_Validate_Alnum</classname> allows you to validate if a given value contains only alphabetical characters...
package apple.foundation; import java.io.*; import java.nio.*; import java.util.*; import com.google.j2objc.annotations.*; import com.google.j2objc.runtime.*; import com.google.j2objc.runtime.block.*; import apple.audiotoolbox.*; import apple.corefoundation.*; import apple.coregraphics.*; import apple.coreservices.*;...
package resources import "github.com/awslabs/goformation/cloudformation/policies" // AWSDMSEndpoint_ElasticsearchSettings AWS CloudFormation Resource (AWS::DMS::Endpoint.ElasticsearchSettings) // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-elasticsearchsettings.html ...
package kafka.server import kafka.utils.TestUtils._ import kafka.utils.IntEncoder import kafka.utils.{Utils, TestUtils} import kafka.zk.ZooKeeperTestHarness import kafka.common._ import kafka.producer.{KeyedMessage, Producer} import kafka.serializer.StringEncoder import java.io.File import org.scalatest.junit.JUnit...
public class Anonymous { public static int foo() { int variable = 42; Runnable runnable = new Runnable() { public void run() { int variable = 24; variable++; } }; runnable.run(); return variable; } }
namespace chromeos { namespace first_run { extern const char kAppListStep[]; extern const char kTrayStep[]; extern const char kHelpStep[]; } // namespace first_run } // namespace chromeos #endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_STEP_NAMES_H_
<!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="flags" content="dom"> <meta name="assert" content="shape-outside declaration is invalid if ellipse shape function has an invalid rx param"> <title>CSS Shapes Test: Ellipse - invalid rx value</title> <link rel="author" title="Sherlock Z...
package com.angkorteam.fintech.pages.client.common; import java.util.Date; import org.apache.wicket.WicketRuntimeException; import org.apache.wicket.authroles.authorization.strategies.role.annotations.AuthorizeInstantiation; import org.apache.wicket.markup.html.form.TextArea; import org.apache.wicket.markup.html.link...
package com.example.android.sunshine.app; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.res.TypedArray; import android.os.Bundle; import android.preference.EditTextPreference; import android.text.Editable; import android.text.TextWatcher; import andr...
Debug = debug.Debug var bp; var done = false; var step_count = 0; // Debug event listener which steps until the global variable done is true. function listener(event, exec_state, event_data, data) { if (event == Debug.DebugEvent.Break) { if (!done) exec_state.prepareStep(Debug.StepAction.StepNext); step_cou...
cd .. rm -rf build/npm mkdir build/npm git archive master -o build/npm/defs.tar --prefix=defs/ cd build/npm tar xf defs.tar && rm defs.tar cd defs/build ./build.sh cd ../.. tar czf defs.tgz defs && rm -rf defs
define(function (require, exports) { "use strict"; var descriptor = require("adapter").ps.descriptor; var objectUtil = require("js/util/object"); // We resolve this in webpack var dictionary = require("nls/dictionary.json"); /** * Thin wrapper around i18n so it's centralized * wh...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8"> <TITLE>NIST DOM HTML Test - PRE</TITLE> </HEAD> <BODY onload="parent.loadComplete()"> <PRE WIDTH="277">The PRE is used to indicate pre-formatted text. Visual agents may: ...
package com.intellij.psi.impl; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.progress.ProgressManager; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Key; import com.intellij.openapi.util.Pair; import com.intellij.psi.*; import com.intellij.psi.impl.light.Li...
unset($_SESSION["name"]); test --SKIPIF-- <?php include('skipif.inc'); ?> --INI-- session.use_cookies=0 session.use_strict_mode=0 session.cache_limiter= session.serialize_handler=php session.save_handler=files --FILE-- <?php error_reporting(E_ALL); session_id("abtest"); ### Phase 1 cleanup session_start(); session_de...
<!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 Oct 15 19:27:27 UTC 2015 --> <title>CancelReservedInstancesListingResult (AWS SDK for Java - 1.10.27)</title> <meta name="da...
import React from 'react'; import Link from 'next/link'; import styles from './Header.module.css'; import {classes} from '../lib/utils'; export interface HeaderProps { block?: boolean; // Defaults to absolute hideName?: boolean; // Hide the name on the left clear?: boolean; } interface HeaderState { mobileNav...
YUI.add('graphics-group', function (Y, NAME) { /** * The graphics-group submodule allows from drawing a shape multiple times within a single instance. * * @module graphics * @submodule graphics-group */ var ShapeGroup, CircleGroup, RectGroup, EllipseGroup, DiamondGroup, Y_Lang = Y.Lang; /** ...
package org.apache.flink.graph.library.clustering.directed; import org.apache.flink.api.common.accumulators.DoubleCounter; import org.apache.flink.api.common.accumulators.LongCounter; import org.apache.flink.api.java.DataSet; import org.apache.flink.graph.AnalyticHelper; import org.apache.flink.graph.Graph; import o...
<?xml version="1.0" encoding="UTF-8"?> <!-- ! ! Copyright 2006 The Apache Software Foundation. ! ! 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/...
require 'test_helper' class Spree::Admin::PagesIntegrationTest < SpreeEssentials::IntegrationCase setup do Spree::Page.destroy_all @labels = %(Title, Meta Title, Meta Description, Meta Keywords, Path, Navigation Title).split(', ') @values = %(Just a page, Super Sweet Page Title, #{Faker::Lorem.paragraph...
package org.apache.sqoop.manager.netezza; import java.math.BigDecimal; import java.sql.Connection; import java.sql.SQLException; import java.sql.Types; import java.util.ArrayList; import java.util.List; import org.apache.hive.hcatalog.data.schema.HCatFieldSchema; import org.apache.sqoop.hcat.HCatalogExportTest; imp...
module Fog module Generators module Compute module VcloudDirector # This is the data structure it accepts, this is the output of # #get_vm_customization: # # {:type=>"application/vnd.vmware.vcloud.guestCustomizationSection+xml", # :href=> # "https://e...
Monocyanide ColorScheme 3.0.0 ============================= + Fixed XML bug. + Updated build process dependencies and rewrote with ES6. Thanks for downloading Monocyanide ColorScheme 3.0.0! Feel free to open an issue on Github if you have any problem with the theme. https://github.com/centril/sublime-monocyanide-col...
<?xml version="1.0" encoding="UTF-8"?> <phpunit colors="true" stopOnFailure="false" backupGlobals="false" backupStaticAttributes="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" syntaxCheck="false...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ElectronicObserver.Window.Control { /// <summary> /// 現在値と最大値を視覚的に表現するバー /// </summary> [TypeConverter(typeof(ExpandableObjectConverter)...
UIActivityIndicatorView::UIActivityIndicatorView() { _style = 0; _animating = false; _tintColor = NULL; } void UIActivityIndicatorView::InitFromXIB(XIBObject *obj) { UIView::InitFromXIB(obj); _outputClassName = "UIActivityIndicatorView"; _animating = obj->GetBool("IBUIAnimating", false); _...
<?php namespace Illuminate\Database; use PDO; use Illuminate\Support\Arr; use Illuminate\Support\Str; use InvalidArgumentException; use Illuminate\Database\Connectors\ConnectionFactory; class DatabaseManager implements ConnectionResolverInterface { /** * The application instance. * * @var \Illumin...
from __future__ import print_function import argparse import sys from lib.crawllog import extract_url, extract_response_code def main(crawl_file_reference, crawl_file_compare, write): ''' Given two crawler log files, this method looks which URLs where downloaded in the reference (first log) to determine ...
@interface EditGroupViewCell : UICollectionViewCell @property(strong)UILabel *name; @property(strong)UIImageView *personIcon; @property(strong)UIButton *button; -(void)showDeleteActionView; @end
static const char kReportParams[] = "?tpl=%s&url=%s"; SBFullHash SBFullHashForString(const base::StringPiece& str) { SBFullHash h; crypto::SHA256HashString(str, &h.full_hash, sizeof(h.full_hash)); return h; } // SBCachedFullHashResult ------------------------------------------------------ SBCachedFullHashResul...
namespace omaha { GoogleUpdateCoreBase::GoogleUpdateCoreBase() : StdMarshalInfo(true) { CORE_LOG(L3, (_T("[GoogleUpdateCoreBase::GoogleUpdateCoreBase]"))); } GoogleUpdateCoreBase::~GoogleUpdateCoreBase() { CORE_LOG(L3, (_T("[GoogleUpdateCoreBase::~GoogleUpdateCoreBase]"))); } STDMETHODIMP GoogleUpdateCoreBase::L...
package gov.va.escreening.controller; import gov.va.escreening.context.VeteranAssessmentSmrList; import gov.va.escreening.delegate.AssessmentDelegate; import gov.va.escreening.domain.AssessmentStatusEnum; import gov.va.escreening.dto.ae.AssessmentRequest; import gov.va.escreening.dto.ae.AssessmentResponse; impo...
'use strict'; var isImplemented = require('../../../../reg-exp/#/search/is-implemented'); module.exports = function (a) { a(isImplemented(), true); };
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("02...
package api import ( "time" kapi "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/util/sets" ) const ( // BuildAnnotation is an annotation that identifies a Pod as being for a Build BuildAnnotation = "openshift.io/build.name" // BuildNumberAnnotation is an annotation ...
using content::BrowserThread; namespace { const char kHelpAppFormat[] = "chrome-extension://honijodknafkokifofgiaalefdiedpko/oobe.html?id=%d"; } // namespace namespace chromeos { /////////////////////////////////////////////////////////////////////////////// // HelpApp, public: HelpAppLauncher::HelpAppLaunch...
<?php namespace Symfony\Component\HttpFoundation\Tests\Session\Storage\Handler; use Symfony\Component\HttpFoundation\Session\Storage\Handler\MemcachedSessionHandler; /** * @requires extension memcached * @group time-sensitive */ class MemcachedSessionHandlerTest extends \PHPUnit_Framework_TestCase { const P...
// for alternative markers, add 0x20000 to the flags /** * @file ExtractMCWeights.C * @author Christian Holm Christensen <cholm@nbi.dk> * @date Tue Sep 20 17:10:05 2016 * * @brief * * @ingroup pwglf_forward_tracklets * */ /** * * * @param nFile * @param dFile * @param oFile * * @ingroup ...
package fake import ( "io" "path/filepath" "strings" "k8s.io/gengo/generator" "k8s.io/gengo/namer" "k8s.io/gengo/types" "k8s.io/code-generator/cmd/client-gen/generators/util" "k8s.io/code-generator/cmd/client-gen/path" ) // genFakeForType produces a file for each top-level type. type genFakeForType struct...
package jws // import "golang.org/x/oauth2/jws" import ( "bytes" "crypto" "crypto/rand" "crypto/rsa" "crypto/sha256" "encoding/base64" "encoding/json" "errors" "fmt" "strings" "time" ) // ClaimSet contains information about the JWT signature including the // permissions being requested (scopes), the target...
package bits.hidpunk; /** * HidRemovalListener is used to received HID removal notifications. * * @author Philip DeCamp */ public interface HidTerminationListener { /** * @param device A HidDevice that is no longer accessible. */ public void hidTerminated( HidDevice device ); }
<?php namespace Zend\Di; interface ServiceLocatorInterface extends LocatorInterface { /** * Register a service with the locator * * @abstract * @param string $name * @param mixed $service * @return ServiceLocatorInterface */ public funct...
import * as gulp from "gulp"; import newer = require("gulp-newer"); import minifyHtml = require("gulp-minify-html"); gulp.src("*.html") .pipe(newer("build")) .pipe(minifyHtml()) .pipe(gulp.dest("build")); gulp.src("*.html") .pipe(newer({ dest: "build" })) .pipe(minifyHtml()) .pipe(gulp.dest("b...
.. spelling:: android google apis packer .. index:: android_sdk_component ; android_google_apis_packer .. _pkg.android_google_apis_packer: android_google_apis_packer ========================== - `Official <https://github.com/hunter-packages/android_google_apis_packer>`__ - `Example <https://githu...