text
stringlengths
3
1.05M
#ifndef BOOST_IOSTREAMS_DETAIL_FUNCTIONAL_HPP_INCLUDED #define BOOST_IOSTREAMS_DETAIL_FUNCTIONAL_HPP_INCLUDED #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif #include <boost/iostreams/close.hpp> #include <boost/iostreams/detail/ios.hpp> // BOOST_IOS namespace boost { namespace iostreams { namespac...
<?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <shape> <gradient android:angle="90" android:endColor="@android:color/transparent" android:startColor="#3d000000"/> <c...
#ifndef GrWindowRectangles_DEFINED #define GrWindowRectangles_DEFINED #include "include/core/SkRect.h" #include "src/gpu/GrNonAtomicRef.h" class GrWindowRectangles { public: constexpr static int kMaxWindows = 8; GrWindowRectangles() : fCount(0) {} GrWindowRectangles(const GrWindowRectangles& that) : fC...
<?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, Version 2...
<?php namespace Zend\View\Helper; use Zend\View\Helper\Escaper; /** * Helper for escaping values * * @package Zend_View * @subpackage Helper */ class EscapeHtmlAttr extends Escaper\AbstractHelper { /** * Escape a value for current escaping strategy * * @param string $value * @return...
package org.insightech.er.db.impl.postgres.tablespace; import org.apache.commons.lang.StringUtils; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Text; import org.insightech.er.common.widgets.CompositeFactory; import org.insightech.er.editor.model.diagram_contents.not_element.tablespace...
namespace clang { namespace tidy { namespace android { /// Finds code that uses socket() without using the SOCK_CLOEXEC flag. /// /// For the user-facing documentation see: /// http://clang.llvm.org/extra/clang-tidy/checks/android-cloexec-socket.html class CloexecSocketCheck : public CloexecCheck { public: CloexecSo...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-example71-production</title> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.5/angular.min.js"></script> </head> <body ng-app=""> <button ng-mouseup="count = count + 1" ng-init="count=0"> Increment (o...
# Per-Peer Message Capture ## Purpose This feature allows for message capture on a per-peer basis. It answers the simple question: "Can I see what messages my node is sending and receiving?" ## Usage and Functionality * Run `bitcoind` with the `-capturemessages` option. * Look in the `message_capture` folder in yo...
<a name="5.0.1"></a> ## 5.0.1 (2019-10-18) --- <a name="5.0.0"></a> # 5.0.0 (2019-08-14) ### Bug Fixes * ensure <data-dir>/tmp exists (110b6d5), closes PNP-1854 * prevent fatal error on load if socket is not fully initialized (20180e1), closes pnp-2194 ### Features * add in a global path for base so all mod...
package unix import ( "syscall" "unsafe" ) var _ syscall.Errno // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(oldpath) if err != nil { return } var _...
var express = require('../') , request = require('supertest'); describe('OPTIONS', function(){ it('should default to the routes defined', function(done){ var app = express(); app.del('/', function(){}); app.get('/users', function(req, res){}); app.put('/users', function(req, res){}); request(...
/* * User: anna * Date: 28-Aug-2009 */ package com.intellij.coverage.listeners; import com.intellij.rt.execution.junit.IDEAJUnitListener; @SuppressWarnings({"UnnecessaryFullyQualifiedName"}) public class IDEAJUnitCoverageListener extends CoverageListener implements IDEAJUnitListener { public void testStarted(St...
<!-- Generated by documentation.js. Update this documentation by updating the source code. --> ## combine Combines a [FeatureCollection][1] of [Point][2], [LineString][3], or [Polygon][4] features into [MultiPoint][5], [MultiLineString][6], or [MultiPolygon][7] features. **Parameters** - `fc` **[FeatureCollection...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-comp-4651', templateUrl: './comp-4651.component.html', styleUrls: ['./comp-4651.component.css'] }) export class Comp4651Component implements OnInit { constructor() { } ngOnInit() { } }
using namespace std; DEFINE_CLASS_CODE(TLevelReader, 8) DEFINE_CLASS_CODE(TLevelWriter, 9) // DEFINE_CLASS_CODE(TLevelReaderWriter, 25) //brutto //----------------------------------------------------------- typedef std::pair<QString, int> LevelReaderKey; std::map<LevelReaderKey, TLevelReaderCreateProc *> LevelReade...
package org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus; import java.time.Duration; import io.micrometer.prometheus.PrometheusConfig; import org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PropertiesConfigAdapter; /** * Adapter to convert {@link PrometheusPropert...
// Copyright 2009 the Sputnik authors. All rights reserved. /** * If thisArg is not null(defined) the called function is passed ToObject(thisArg) as the this value * * @path ch15/15.3/15.3.4/15.3.4.4/S15.3.4.4_A5_T6.js * @description thisArg is new String() */ var obj=new String("soap"); ( function(){this.touch...
{-@ LIQUID "--expect-any-error" @-} module T743 where {-@ checkNat :: Nat -> Int @-} checkNat :: Int -> Int checkNat x = x unsound :: Int unsound = checkNat (-1) data TestBS = TestBS Int deriving (Read)
__author__ = 'alisonbnt' from src.scheme_loader import SchemeLoader import src.resstatus as _status import src.resources.hsres as hsres class SchemesResource(hsres.HomeShellResource): def get(self): loader = SchemeLoader() scheme_rel = loader.scheme_rel self.set_status(_status.STATUS_...
'use strict'; /** * This script bumps a new version for open source releases. * It updates the version in podspec/json/gradle files and makes sure they are consistent between each other * After changing the files it makes a commit and tags it. * All you have to do is push changes to remote and CI will make a new ...
<?xml version='1.0' encoding='UTF-8'?> <!-- See src/resources/configuration/ReadMe.txt for how the configuration assembly works --> <config> <subsystems name="load-balancer"> <!-- Each subsystem to be included relative to the src/main/resources directory --> <subsystem>logging.xml</subsystem> <su...
package config type Discovery struct { MDNS MDNS } type MDNS struct { Enabled bool // Time in seconds between discovery rounds Interval int }
<?php /** * Ionize * * @package Ionize * @author Ionize Dev Team * @license http://doc.ionizecms.com/en/basic-infos/license-agreement * @link http://ionizecms.com * @since Version 0.9.7 * */ /** * Ionize Tagmanager Element Class * * @package Ionize * @subpackage Libraries * @category TagManager Lib...
var BigInteger = require('./'); var a = new BigInteger('91823918239182398123'); console.log(a.bitLength());
/** * @param {Object} a * @param {string} b * @return {void} */ function decorator(a: Object, b: string) {} class DecoratorTest { @decorator private x: number; static _tsickle_typeAnnotationsHelper() { /** @type {number} */ DecoratorTest.prototype.x; } }
<!DOCTYPE html> <!-- Copyright (c) 2012 Intel Corporation. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of works must retain the original copyright notice, this list of conditions and the following di...
<?php /** * Constraint that asserts that the object it is evaluated for has a given * attribute. * * The attribute name is passed in the constructor. * * @package PHPUnit * @subpackage Framework_Constraint * @author Sebastian Bergmann <sebastian@phpunit.de> * @author Bernhard Schussek <bschussek@2...
<div class="ui-grid-cell-contents">{{ COL_FIELD.numero }} - {{ COL_FIELD.serie }}</div>
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dialogflow/v2beta1/intent.proto package com.google.cloud.dialogflow.v2beta1; public interface ListIntentsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.ListIntentsResponse) ...
<?php declare(strict_types=1); namespace Darvin\AdminBundle\View\Widget\Widget; use Darvin\AdminBundle\Form\AdminFormFactoryInterface; use Darvin\AdminBundle\Metadata\IdentifierAccessorInterface; use Darvin\AdminBundle\Route\AdminRouterInterface; use Darvin\AdminBundle\Security\Permissions\Permission; use Darvin\Uti...
using System; using System.Collections.Generic; using System.Web; using Autofac; using Orchard.ContentManagement; using Orchard.Security; using Orchard.Settings; using System.Globalization; namespace Orchard.Tokens.Tests { public class StubWorkContextAccessor : IWorkContextAccessor { private re...
package com.thoughtworks.go.domain; import com.google.gson.Gson; import com.google.gson.annotations.Expose; import com.thoughtworks.go.util.ArrayUtil; import com.thoughtworks.go.util.GoConstants; import java.util.*; import static com.thoughtworks.go.util.MapBuilder.map; public class BuildCommand { private st...
A `MessageFailure` indicates an error handling an HTTP message. These include: * `ParsingFailure`: indicative of a malformed HTTP message in the request line or headers. * `MalformedMessageBodyFailure`: indicative of a message that has a syntactic error in its body. For example, trying to decode `{ "broken:"` ...
<?xml version="1.0" encoding="UTF-8"?> <response> <status>success</status> <result> <project> <id>4372</id> <name>mutt</name> <url>https://www.openhub.net/p/mutt.xml</url> <html_url>https://www.openhub.net/p/mutt</html_url> <created_at>2007-02-09T04:00:11Z</created_at> <updat...
'use strict'; var lint = require('./_lint'); var file = lint.file('url-quotes.scss'); describe('url quotes', function () { it('enforce', function (done) { lint.test(file, { 'url-quotes': 1 }, function (data) { lint.assert.equal(2, data.warningCount); done(); }); }); });
"""Use byte pair encoding (BPE) to learn a variable-length encoding of the vocabulary in a text. Unlike the original BPE, it does not compress the plain text, but can be used to reduce the vocabulary of a text to a configurable number of symbols, with only a small increase in the number of tokens. This is an (inefficie...
namespace boost { namespace serialization { //--------------------------------------------------- template <class Archive> inline void serialize(Archive &a, Crypto::PublicKey &x, const boost::serialization::version_type ver) { a & reinterpret_cast<char (&)[sizeof(Crypto::PublicKey)]>(x); } template...
class GURL; namespace base { class ListValue; } // namespace base class NetInternalsTest : public WebUIBrowserTest { protected: NetInternalsTest(); ~NetInternalsTest() override; private: class MessageHandler; // InProcessBrowserTest overrides. void SetUpCommandLine(base::CommandLine* command_line) over...
/* * classList.js: Cross-browser full element.classList implementation. * 1.2.201711092 * * By Eli Grey, http://eligrey.com * License: Dedicated to the public domain. * See https://github.com/eligrey/classList.js/blob/master/LICENSE.md */ /*global self, document, DOMException */ /*! @source http://purl.eligr...
import unittest from telemetry.page import page as page_module from telemetry.page import page_filter as page_filter_module from telemetry.page import page_set class MockUrlFilterOptions(object): def __init__(self, page_filter, page_filter_exclude): self.page_filter = page_filter self.page_filter_exclude = ...
#include "tensorflow/core/kernels/cwise_ops_common.h" namespace tensorflow { REGISTER5(BinaryOp, CPU, "FloorDiv", functor::safe_floor_div, uint8, uint16, int16, int32, int64); #if GOOGLE_CUDA REGISTER4(BinaryOp, GPU, "FloorDiv", functor::floor_div, uint8, uint16, int16, int64); #endif #if GOOGLE...
2.0.44 09-28-2015 ----------------- * Bug fixes for APM upconverting of legacy INSERT/UPDATE/REMOVE wire protocol messages. * NODE-562, fixed issue where a Replicaset MongoDB URI with a single seed and replSet name set would cause a single direct connection instead of topology discovery. * Updated mongodb-core to 1.2.1...
namespace Fixtures.Azure.AcceptanceTestsLro.Models { using Fixtures.Azure; using Fixtures.Azure.AcceptanceTestsLro; using Newtonsoft.Json; using System.Linq; /// <summary> /// Defines headers for putAsyncRetrySucceeded operation. /// </summary> public partial class LROsCustomHeaderPutAs...
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/drawer_layout" android:layout_width="match_parent" android:layout_height="match_parent"> <!-- Content --> <FrameLayout ...
//@tag extras,core //@require ../Ext-more.js //@define Ext.util.Format /** * @class Ext.util.Format * * This class is a centralized place for formatting functions. It includes * functions to format various different types of data, such as text, dates and numeric values. * * ## Localization * * This class ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.4.2_05) on Fri Dec 23 12:54:42 EST 2005 --> <TITLE> Rule (ATG Java API) </TITLE> <META NAME="keywords" CONTENT="atg.commerce.expression.Rule class"> <L...
import re import requests from bs4 import BeautifulSoup from path import path def get_author(image_id): html = requests.get("http://en.fotolia.com/id/" + str(image_id)).content print "http://en.fotolia.com/id/" + str(image_id) html_td = BeautifulSoup(html, "html.parser").find("div", class_="content-preview...
package authorization import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" ) // GroupName is the group name use in this package const GroupName = "authorization.k8s.io" // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = schema.GroupVersio...
function foof(bar: string, y): number; function foof(bar: string, x): string; function foof(bar: any): any { return bar }; var x: number = foof("s", null); var y: string = foof("s", null); function foof2(bar: string, x): string; function foof2(bar: string, y): number; function foof2(bar: any): any { return bar...
@interface ViewController ()<LJPhotoBrowserDelegate> { UISegmentedControl *_segmentedControl; NSMutableArray *_selections; } @property (nonatomic, strong) NSMutableArray *photos; @property (nonatomic, strong) NSMutableArray *thumbs; //@property (nonatomic, strong) ALAssetsLibrary *assetLibrary; //@property (no...
<?php namespace PhpParser\Node\Expr; use PhpParser\Node\Expr; /** * @property Expr $expr Expression */ class ErrorSuppress extends Expr { /** * Constructs an error suppress node. * * @param Expr $expr Expression * @param array $attributes Additional attributes */ public func...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------------- | URI ROUTING | ------------------------------------------------------------------------- | This file lets you re-map URI requests to specific controller functions. ...
import sys, time if sys.platform == 'win32': ## on windows, we need to use the following reactor for serial support ## http://twistedmatrix.com/trac/ticket/3802 ## from twisted.internet import win32eventreactor win32eventreactor.install() from twisted.internet import reactor print "Using Twisted reacto...
using System.Collections.Generic; using Cake.Core.Scripting; namespace Cake.Scripting.Roslyn { internal sealed class RoslynCodeGenerator { public string Generate(Script script) { var usingDirectives = string.Join("\r\n", script.UsingAliasDirectives); var aliases = GetAl...
Thanks for contributing to `bootstrapwp` (Underscores) — you rock! ## bootstrapwp Before getting started, make sure your issue has not been discussed earlier. You can search for existing tickets [here](https://github.com/Automattic/bootstrapwp/search). Here are some tips to consider and to help you write a great repo...
#ifdef __FreeBSD__ #include <sys/cdefs.h> __FBSDID("$FreeBSD: head/sys/netinet/sctp_peeloff.h 243516 2012-11-25 14:25:08Z tuexen $"); #endif #ifndef _NETINET_SCTP_PEELOFF_H_ #define _NETINET_SCTP_PEELOFF_H_ #if defined(HAVE_SCTP_PEELOFF_SOCKOPT) /* socket option peeloff */ struct sctp_peeloff_opt { #if !defined(__Wi...
#if !defined(BOOST_SPIRIT_X3_KLEENE_JANUARY_07_2007_0818AM) #define BOOST_SPIRIT_X3_KLEENE_JANUARY_07_2007_0818AM #include <boost/spirit/home/x3/core/parser.hpp> #include <boost/spirit/home/x3/support/traits/container_traits.hpp> #include <boost/spirit/home/x3/support/traits/attribute_of.hpp> #include <boost/spirit/h...
import { each, head } from './utils' import { data } from './properties.js' /** * Remove the attribute from the element(s) matching the selector. * @param {mixed} selector * @param {string} attribute */ export function toggler(selector, fn_on, fn_off) { each(selector, (element, _) => { const data_val = head(data...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
package paulkrause88.mybatis.jsr354.type; import javax.money.CurrencyUnit; import javax.money.MonetaryCurrencies; import org.apache.ibatis.type.Alias; import org.apache.ibatis.type.JdbcType; import org.apache.ibatis.type.MappedJdbcTypes; @Alias("NOKAmountHandler") @MappedJdbcTypes(JdbcType.DECIMAL) public class NOKA...
(function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror"], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { "use ...
from .widget import RecorderManager
/*global define*/ define(function (require) { 'use strict'; var maDatagridController = require('./maDatagridController'); function maDatagridDirective() { return { restrict: 'E', scope: { name: '@', entries: '=', selection: '...
int parse (unsigned int flags, double *result, const char *pattern);
/** * @module ol/structs/RBush */ import { getUid } from '../util.js'; import rbush from 'rbush'; import { createOrUpdate, equals } from '../extent.js'; import { isEmpty } from '../obj.js'; /** * @typedef {Object} Entry * @property {number} minX * @property {number} minY * @property {number} maxX * @property {nu...
<?php namespace Kanboard\Notification; use Kanboard\Core\Base; use Kanboard\Core\Notification\NotificationInterface; /** * Web Notification * * @package Kanboard\Notification * @author Frederic Guillot */ class WebNotification extends Base implements NotificationInterface { /** * Notification type ...
#include "GrGpu.h" #include "GrBufferAllocPool.h" #include "GrContext.h" #include "GrDrawTargetCaps.h" #include "GrIndexBuffer.h" #include "GrStencilBuffer.h" #include "GrVertexBuffer.h" // probably makes no sense for this to be less than a page static const size_t VERTEX_POOL_VB_SIZE = 1 << 18; static const int ...
.. _errorpages: Custom Error Pages ================== Flask comes with a handy :func:`~flask.abort` function that aborts a request with an HTTP error code early. It will also provide a plain black and white error page for you with a basic description, but nothing fancy. Depending on the error code it is less or mor...
import {Injectable} from '@angular/core'; import {Subject} from 'rxjs/Subject'; import {DiveSite} from './dive-site'; @Injectable() export class SiteManagementService { private sites = DiveSite.FavoriteSites.slice(0); getAllSites(): DiveSite[] { return this.sites.slice(0); } getSiteById(id: number): D...
var profile = require('../../../lib/util/profile'); exports.getMockedProfile = function () { var newProfile = new profile.Profile(); newProfile.addSubscription(new profile.Subscription({ id: '5e7d1bb6-4953-44fe-8a54-43fbdb53b989', managementCertificate: { key: 'mockedKey', cert: 'mockedCert' ...
package org.elasticsearch.index; import org.elasticsearch.common.logging.ESLogger; import org.elasticsearch.common.logging.Loggers; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.index.settings.IndexSettings; /** * */ public abstract class AbstractIndexComponent implements IndexCompon...
namespace metaforce { std::string CAnimTreeTransition::CreatePrimitiveName(const std::weak_ptr<CAnimTreeNode>&, const std::weak_ptr<CAnimTreeNode>&, float) { return {}; } CAnimTreeTransition::CAnimTreeTransition(bool b1, const std::weak_ptr<CAnimTreeNode>& a, ...
<?php namespace Faker\ORM\Doctrine; use Doctrine\Common\Persistence\ObjectManager; use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Mapping\ClassMetadata; /** * Service class for populating a table through a Doctrine Entity class. */ class EntityPopulator { /** * @var ClassMetadata */ pr...
from misc import * from prob import * from table import * from status import * from render import * from rangeutil import *
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable...
<?php namespace AppBundle\Entity; use Doctrine\ORM\EntityRepository; /** * PostRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class PostRepository extends EntityRepository { }
package us.fok.lenzenslijper.persistence.transactions; import org.jooq.*; import org.springframework.transaction.TransactionStatus; import org.springframework.transaction.support.TransactionCallback; import us.fok.lenzenslijper.persistence.engines.JooqContext; import us.fok.lenzenslijper.persistence.transactions.data....
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
#include "pthread.h" #include "implement.h" #include <stdio.h> #if defined(__CLEANUP_C) # include <setjmp.h> #endif #if defined(__CLEANUP_SEH) static DWORD ExceptionFilter (EXCEPTION_POINTERS * ep, DWORD * ei) { switch (ep->ExceptionRecord->ExceptionCode) { case EXCEPTION_PTW32_SERVICES: { DWORD p...
#ifndef _cimple_platform_VXWORKS_XSCALE_GNU_h #define _cimple_platform_VXWORKS_XSCALE_GNU_h #define CIMPLE_VXWORKS #include <vxWorks.h> #include <strings.h> #ifndef _GNU_SOURCE # define _GNU_SOURCE #endif #ifdef log # undef log #endif #ifdef NONE # undef NONE #endif #define CIMPLE_HAVE_ZU #define CIMPLE_EXPORT...
<?php require_once 'testDataFileIterator.php'; class CodePageTest extends PHPUnit_Framework_TestCase { public function setUp() { if (!defined('PHPEXCEL_ROOT')) { define('PHPEXCEL_ROOT', APPLICATION_PATH . '/'); } require_once(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); }...
+function ($) { 'use strict'; // MODAL CLASS DEFINITION // ====================== var Modal = function (element, options) { this.options = options this.$body = $(document.body) this.$element = $(element) this.$dialog = this.$element.find('.mo...
1.8.4 / 2017-04-28 =================== * [fix] Fix null payload when aborting connection (#503) (cherry-picked) * [chore] Bump ws to version 1.1.4 (#495) 1.8.3 / 2017-02-16 =================== * [chore] Bump ws to version 1.1.2 (vulnerability fix) (#480) (cherry-picked) 1.8.2 / 2016-12-11 =================...
module Clever # Event resource class Event < APIResource include Clever::APIOperations::List @uri = 'events' @plural = 'events' # Optional attributes # @see Clever::CleverObject.optional_attributes # @api private # @return [Array] def optional_attributes [] end # Get ...
set -e -o pipefail if [ "$TRAVIS_REPO_SLUG" = "angular/angular" ]; then if [[ $TRAVIS_BRANCH == "presubmit-"* ]]; then echo '*********************' echo '** PRESUBMIT SETUP **' echo '*********************' git config credential.helper "store --file=.git/credentials" # travis encrypt GITHUB_TOKE...
package com.streamsets.pipeline.stage.pubsub.origin; import com.streamsets.pipeline.api.base.BaseEnumChooserValues; import com.streamsets.pipeline.config.DataFormat; public class DataFormatChooserValues extends BaseEnumChooserValues<DataFormat> { public DataFormatChooserValues() { super( DataFormat.AV...
package course.labs.fragmentslab; import android.app.Activity; import android.app.ListFragment; import android.os.Build; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.ArrayAdapter; import android.widget.ListView; public class FriendsFragment extends ListFragment { ...
namespace media { static const int kY4MHeaderMaxSize = 200; static const char kY4MSimpleFrameDelimiter[] = "FRAME"; static const int kY4MSimpleFrameDelimiterSize = 6; int ParseY4MInt(const base::StringPiece& token) { int temp_int; CHECK(base::StringToInt(token, &temp_int)) << token; return temp_int; } // Extrac...
<div> Use a custom status on the commit for when a build is completed. If the field is left blank then the default value is used instead. </div>
package hcsshim import ( "syscall" "github.com/Sirupsen/logrus" ) // GetLayerMountPath will look for a mounted layer with the given id and return // the path at which that layer can be accessed. This path may be a volume path // if the layer is a mounted read-write layer, otherwise it is expected to be the // fol...
package org.zaproxy.zap.extension.params; import java.awt.Component; import org.parosproxy.paros.Constant; import org.parosproxy.paros.extension.ExtensionPopupMenuItem; public class PopupMenuParamSearch extends ExtensionPopupMenuItem { private static final long serialVersionUID = 1L; private ExtensionParam...
<?php use Mockery as m; use Illuminate\Console\Scheduling\Schedule; class ConsoleEventSchedulerTest extends PHPUnit_Framework_TestCase { public function tearDown() { m::close(); } public function testExecCreatesNewCommand() { $escape = '\\' === DIRECTORY_SEPARATOR ? '"' : '\''; ...
assert(typeof new Date() === 'object' && typeof new Boolean(true) === 'object' && typeof new Number(1) === 'object' && typeof new String("abc") === 'object')
<?php require_once __DIR__.'/../vendor/autoload.php'; use CodeIQ\Greeter\Clock; use CodeIQ\Greeter\Globe; use CodeIQ\Greeter\Greeter; use CodeIQ\Greeter\TimeRangeFactory; $clock = new Clock(); $globe = new Globe(); $greeter = new Greeter($clock, $globe); $timeRange = new TimeRangeFactory(); $greeter->addTimeRang...
if (NOT Boost_NO_BOOST_CMAKE) # If Boost_DIR is not set, look for BOOSTROOT and BOOST_ROOT as alternatives, # since these are more conventional for Boost. if ("$ENV{Boost_DIR}" STREQUAL "") if (NOT "$ENV{BOOST_ROOT}" STREQUAL "") set(ENV{Boost_DIR} $ENV{BOOST_ROOT}) elseif (NOT "$ENV{BOOSTROOT}" STR...
Puppet::Type.newtype(:anchor) do desc <<-'ENDOFDESC' A simple resource type intended to be used as an anchor in a composite class. In Puppet 2.6, when a class declares another class, the resources in the interior class are not contained by the exterior class. This interacts badly with the pattern of composin...
#ifndef ITERATOR_H_ #define ITERATOR_H_ #include "NativeTask.h" namespace NativeTask { class KeyGroupIteratorImpl : public KeyGroupIterator { protected: // for KeyGroupIterator KeyGroupIterState _keyGroupIterState; KVIterator * _iterator; string _currentGroupKey; Buffer _key; Buffer _value; bool _fir...
labels: "Work in Progress" name: "Pull Request" about: "Regular Pull Request" --- #### Pre-Flight checklist - [ ] Screenshots and design review for any changes that affect layout or styling - [ ] Desktop screenshots - [ ] Mobile width screenshots - [ ] Migrations - [ ] Migration is backwards-compatible with cur...
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.wefika.calendar.example.MainActivity"> <com.wefika.calendar.CollapseCalendarView ...