text
stringlengths
3
1.05M
package ingress import ( "fmt" "reflect" "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/pkg/apis/extensions" "k8s.io/kubernetes/pkg/apis/extensions/validation" "k8s.io/kubernetes/pkg/fields" "k8s.io/kubernetes/pkg/labels" "k8s.io/kubernetes/pkg/registry/generic" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kub...
/** * @constructor */ WebInspector.WorkspaceController = function(workspace) { this._workspace = workspace; WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.InspectedURLChanged, this._inspectedURLChanged, this); window.addEventListener("focus", this._windowFocuse...
<?php namespace Symfony\Component\Validator\Constraints; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; /** * Validates whether the value is a valid ISBN-10 or ISBN-13. * * @author The Whole Life...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('mobx'), require('hoist-non-inferno-statics'), require('inferno')) : typeof define === 'function' && define.amd ? define(['exports', 'mobx', 'hoist-non-inferno-statics', 'inferno'], factory) : (fa...
package com.etisalat.esdp.admin.controller.motcy.motcyBucketItem; import ae.etisalat.motcy.model.MotcyBucketItem; import eg.java.net.web.jspx.engine.annotation.JspxBean; import eg.java.net.web.jspx.engine.util.StringUtility; import eg.java.net.web.jspx.ui.controls.WebControl; import eg.java.net.web.jspx.ui.pages.Cont...
#include "tensorflow/lite/delegates/gpu/gl/egl_surface.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/gl/gl_call.h" #include "tensorflow/lite/delegates/gpu/gl/gl_errors.h" namespace tflite { namespace gpu { namespace gl { EglSurface::EglSurface(EglSurface&& othe...
package org.springframework.security.access; import junit.framework.Assert; import org.junit.Test; import org.springframework.security.access.ConfigAttribute; import org.springframework.security.access.SecurityConfig; /** * Tests {@link SecurityConfig}. * * @author Ben Alex */ public class SecurityConfigTests ...
package org.jivesoftware.database; import java.sql.Connection; import java.sql.SQLException; /** * Abstract class that defines the connection provider framework. Other classes * extend this abstract class to make connection to actual data sources. * <p> * It is expected that each subclass be a JavaBean, so that...
using namespace TCLAP; using namespace std; int _intTest; float _floatTest; bool _boolTestA; bool _boolTestB; bool _boolTestC; string _stringTest; string _utest; void parseOptions(int argc, char** argv); int main(int argc, char** argv) { parseOptions(argc,argv); cout << "for float we got : " << _floatTest << end...
[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][coveralls-image]][coveralls-url] [![Downloads][downloads-image]][downloads-url] [![Bountysource](https://www.bountysource.com/badge/tracker?tracker_id=282608)](https://www.bountysource.com/trackers/282608-eslint?utm_sourc...
from .session import Livestreamer def streams(url, **params): """Attempts to find a plugin and extract streams from the *url*. *params* are passed to :func:`Plugin.streams`. Raises :exc:`NoPluginError` if no plugin is found. """ session = Livestreamer() return session.streams(url, **params)
module TypeScript { export function hasFlag(val: number, flag: number) { return (val & flag) != 0; } export enum ErrorRecoverySet { None = 0, Comma = 1, // Comma SColon = 1 << 1, // SColon Asg = 1 << 2, // Asg BinOp = 1 << 3, // Lsh, Rsh, Rs2, Le, Ge, INSTAN...
#include "tensorflow/compiler/tf2xla/lib/util.h" #include <memory> #include <vector> #include "tensorflow/compiler/xla/literal_util.h" #include "tensorflow/compiler/xla/shape_util.h" #include "tensorflow/compiler/xla/status_macros.h" #include "tensorflow/compiler/xla/statusor.h" #include "tensorflow/compiler/xla/ut...
package org.elasticsearch.search.facet.datehistogram; import com.carrotsearch.hppc.LongObjectOpenHashMap; import org.apache.lucene.index.AtomicReaderContext; import org.apache.lucene.search.Scorer; import org.elasticsearch.cache.recycler.CacheRecycler; import org.elasticsearch.common.recycler.Recycler; import org.el...
<?php App::uses('String', 'Utility'); /** * Benchmark Shell Class * * Provides basic benchmarking of application requests * functionally similar to Apache AB * * @since DebugKit 1.0 * @todo Print/export time detail information * @todo Export/graphing of data to .dot format for graphviz visualization ...
/**! * Sortable * @author RubaXa <trash@rubaxa.org> * @license MIT */ (function sortableModule(factory) { "use strict"; if (typeof define === "function" && define.amd) { define(factory); } else if (typeof module != "undefined" && typeof module.exports != "undefined") { module.exports = factory(); } el...
<template name="postsLoadMore"> {{#if hasMorePosts}} <a class="more-button grid-module" href="{{loadMoreUrl}}"><span>{{i18n "Load more"}}</span></a> {{else}} {{#unless ready}} <div class="grid loading-module"> {{> spinner}} </div> {{/unless}} {{/if}} </template>
package config import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) // EndpointSliceControllerConfiguration contains elements describing // EndpointSliceController. type EndpointSliceControllerConfiguration struct { // concurrentServiceEndpointSyncs is the number of service endpoint syncing // operations tha...
<?xml version="1.0" encoding="utf-8"?> <!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> <title>command_recorder.rb</title> <meta http-equiv="Content-Type" conte...
require 'cgi' module Liquid module StandardFilters # Return the size of an array or of an string def size(input) input.respond_to?(:size) ? input.size : 0 end # convert a input string to DOWNCASE def downcase(input) input.to_s.downcase end # convert a input string to UPCA...
#ifndef _message_h_INCLUDED #define _message_h_INCLUDED /*------------------------------------------------------------------------*/ // Macros for compact message code. #ifndef QUIET #define LINE() \ do { if (internal) internal->message (); } while (0) #define MSG(...) \ do { if (internal) internal->message (__VA_...
<?php /** * ezcBasePropertyNotFoundException is thrown whenever a non existent property * is accessed in the Components library. * * @package Base * @version 1.7 */ class ezcBasePropertyNotFoundException extends ezcBaseException { /** * Constructs a new ezcBasePropertyNotFoundException for the property ...
""" Unit testing for Check Point Threat Emulation (SandBlast) commands: query, upload, download and quota. """ import json import io import os from unittest import mock import pytest from CheckPointSandBlast import Client,\ file_command, query_command, quota_command, upload_command, download_command HOST = 'https...
$(window).load(function() { if (Modernizr.svg) { // if svg is supported, draw dynamic chart var chartContainerWidth = $("#chart-container").width() / 2; var chartContainerHeight = $("#chart-container").height(); drawGraphic(chartContainerWidth, chartContainerHeight); ...
export class Item23 {}
<?php if(!defined("MAIN_ROOT")) { exit(); } global $donationPlugin; $thankYouMessage = $donationPlugin->getConfigInfo("thankyou"); $pageInfo['html'] = ($thankYouMessage == "") ? "<div class='shadedBox' style='width: 50%; margin: 40px auto'><p class='largeFont' align='center'>Thank you for donating!<br><br><a ...
AGGREGATES_TEMPLATE_NAME = 'admin/aggregates/index.html' AGGREGATES_INDEX_URL = 'horizon:admin:aggregates:index' AGGREGATES_INDEX_VIEW_TEMPLATE = 'admin/aggregates/index.html' AGGREGATES_CREATE_URL = 'horizon:admin:aggregates:create' AGGREGATES_CREATE_VIEW_TEMPLATE = 'admin/aggregates/create.html' AGGREGATES_MANAGE_HOS...
Bot implementation in clojure Project WIP not ready for commits :)
package fake import ( api "k8s.io/kubernetes/pkg/api" unversioned "k8s.io/kubernetes/pkg/api/unversioned" batch "k8s.io/kubernetes/pkg/apis/batch" core "k8s.io/kubernetes/pkg/client/testing/core" labels "k8s.io/kubernetes/pkg/labels" watch "k8s.io/kubernetes/pkg/watch" ) // FakeJobs implements JobInterface ty...
package org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.apache.hadoop.yarn.api.records.NodeId; import org.apache.hadoop.yarn.api.records.impl.pb.N...
import os import sys import time import glob import shelve from collections import defaultdict import misopy import misopy.gff_utils as gff_utils import misopy.pickle_utils as pickle_utils import misopy.Gene as gene_utils import misopy.misc_utils as misc_utils COMPRESS_PREFIX = misc_utils.COMPRESS_PREFIX def compre...
#ifndef PHASHTABLE_H #define PHASHTABLE_H #include "PortPrefix.h" #include "ptypes.h" #include "ESR_ReturnCode.h" /** * The default initial capacity of a hash table. */ #define PHASH_TABLE_DEFAULT_CAPACITY 11 /** * * The default maximum load factor */ #define PHASH_TABLE_DEFAULT_MAX_LOAD_FACTOR (0.75f) /**...
Ext.define('Ext.ux.parse.Proxy', { extend: 'Ext.data.proxy.Server', alias: 'proxy.parse', requires: ['Ext.data.Request', 'Ext.ux.parse.Reader', 'Ext.ux.parse.Helper'], config: { reader: "parse", loadAllPointers: false }, checkParse: function() { if (window.Parse && wind...
// Code generated by applyconfiguration-gen. DO NOT EDIT. package v1 import ( v1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) // EventSeriesApplyConfiguration represents an declarative configuration of the EventSeries type for use // with apply. type EventSeriesApplyConfiguration struct { Count *int32 ...
class GURL; namespace content { class AppCachePolicy { public: AppCachePolicy() {} // Called prior to loading a main resource from the appache. // Returns true if allowed. This is expected to return immediately // without any user prompt. virtual bool CanLoadAppCache(const GURL& manifest_url, ...
license: 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.0 (the "License"); you may not use th...
<!-- # # 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.0 (the # "License"); you ma...
/** * Created by xubt on 5/26/16. */ kanbanApp.directive('cards', function () { return { restrict: 'E', templateUrl: 'component/card/partials/cards.html', replace: true, controller: ['$scope', '$routeParams', 'cardsServices', 'localStorageService', 'assignmentServices', 'timerMessa...
#ifndef AsyncFileSystemCallbacks_h #define AsyncFileSystemCallbacks_h #if ENABLE(FILE_SYSTEM) #include "PlatformString.h" namespace WebCore { class AsyncFileSystem; class AsyncFileWriter; struct FileMetadata; class AsyncFileSystemCallbacks { WTF_MAKE_NONCOPYABLE(AsyncFileSystemCallbacks); public: AsyncFi...
import baseToString from './_baseToString.js'; import castSlice from './_castSlice.js'; import hasUnicode from './_hasUnicode.js'; import isObject from './isObject.js'; import isRegExp from './isRegExp.js'; import stringSize from './_stringSize.js'; import stringToArray from './_stringToArray.js'; import toInteger from...
<table><tr> <td width="20" nowrap>first-column</td> <td bgcolor="#BBBBBB">second-column</td> </tr></table>
.PanelNotificationBox.alert { }
///////////////////////////////////////////////////////////////////////////// // Name: bitmap.h // Purpose: interface of wxBitmap* classes // Author: wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** In wxBitmap and w...
package jodd.io; import org.junit.Test; import java.io.IOException; import java.util.Arrays; import static org.junit.Assert.assertTrue; public class FastByteArrayTest { @Test public void testFbat() throws IOException { FastByteArrayOutputStream fbaos = new FastByteArrayOutputStream(); fbaos...
// // Copyright (c) Microsoft. 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 app...
"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...
#ifndef TLS_SERVER_SESSION_H #define TLS_SERVER_SESSION_H #ifdef HAVE_CONFIG_H # include <config.h> #endif // HAVE_CONFIG_H #if defined(ENABLE_EXAMPLE_OPENSSL) && defined(WITH_EXAMPLE_OPENSSL) # include "tls_server_session_openssl.h" #endif // ENABLE_EXAMPLE_OPENSSL && WITH_EXAMPLE_OPENSSL #if defined(ENABLE_EXAM...
authentication = 'ldap2' -- Indicate that we want to use LDAP for authentication --storage = 'ldap' -- Indicate that we want to use LDAP for roster/vcard storage storage = { roster = "ldap"; vcard = "ldap"; archive2 = "sql2"; muc_log = "sql2"; } ldap = { hostname = '{{LD...
<!-- Copyright 2012 Adobe Systems Inc.; 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, softwar...
var map = require('./map'); /** * Retrieves the value of a specified property from all elements in the collection. * * @static * @memberOf _ * @type Function * @category Collections * @param {Array|Object|string} collection The collection to iterate over. * @param {string} property The name of the property to...
from re import compile, IGNORECASE, DOTALL from ..scraper import make_scraper _imageSearch = compile(r'<a name="strip\d*?">.*?<img[^>]+?src="([^"]*?memberimages/.+?)"', IGNORECASE + DOTALL) _prevSearch = compile(r'href="([^"]*?whichbutton=prev[^"]*?)"', IGNORECASE) def add(name, subpath): baseUrl = 'http://www.w...
import { throttle } from '../../operator/throttle'; declare module '../../Observable' { interface Observable<T> { throttle: typeof throttle; } }
namespace media { VideoRenderer::VideoRenderer() {} VideoRenderer::~VideoRenderer() {} } // namespace media
<!DOCTYPE html> <!-- Floris D Stevens Temperature graph de Bilt 22-4-2015 --> <html> <head> <link rel="stylesheet" href="WillemAlexander.css"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title> Willem-Alexander baan </title> <script src="d3....
if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') } +function ($) { 'use strict'; var version = $.fn.jquery.split(' ')[0].split('.') if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 3)) { throw ...
<!-- ~ Copyright (c) 2016 Adventech <info@adventech.io> ~ ~ Permission is hereby granted, free of charge, to any person obtaining a copy ~ of this software and associated documentation files (the "Software"), to deal ~ in the Software without restriction, including without limitation the rights ~ to use, co...
// // Copyright 2004-present Facebook. 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 ap...
/* * tube_gc.h * * FUNCTION: * This file allows for easy changes to changes in the way the extrusion * library handles state info (i.e. context). * * HISTORY: * Linas Vepstas --- February 1993 * Added auto texture coord generation hacks, Linas April 1994 * Added tube.h include to define gleDouble, tad Februa...
// Copyright 2006 The Closure Library Authors. 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 requ...
R CMD REMOVE --library=$PREFIX/lib/R/library/ mogene20stprobeset.db
require 'delegate' require 'monitor' # This class provides a trivial way to synchronize all calls to a given object # by wrapping it with a `Delegator` that performs `Monitor#enter/exit` calls # around the delegated `#send`. Example: # # array = [] # not thread-safe on many impls # array = SynchronizedDelegator.ne...
// (C) 2013-2014, Sergei Zaychenko, KNURE, Kharkiv, Ukraine #ifndef _PERMISSIONKIND_HPP_ #define _PERMISSIONKIND_HPP_ /*****************************************************************************/ enum PermissionKind { Permission_NoAccess, Permission_ReadOnly, Permission_ReadWrite }; /************************...
'use strict'; /* Controllers */ app.controller('ViewController', ['$scope', '$http', '$state', '$stateParams', function ($scope, $http, $state, $stateParams) { $scope.title = '会员详情'; var id = $stateParams.id; $http.post('member/members/view', {id: id}).success(function (data) { $scope.data = data...
<header>Opslag Daemon Directors</header> Op deze pagina ziet u een lijst met alle directors die toestemming hebben om te verbinden met deze opslag deamon. Indien u deze opslag deamon toevoegt aan een remote director moet het wachtwoord in de <b>Opslag Daemon</b> hetzelfde zijn als het wachtwoord in deze lijst. <p> In...
using System; using System.Collections.Generic; using Glimpse.Core.Extensibility; using Tavis.UriTemplates; namespace Glimpse.Core.ResourceResult { /// <summary> /// The <see cref="IResourceResult"/> implementation responsible redirecting a client to a new Uri. /// </summary> public class RedirectResou...
#include "config.h" #include "core/layout/LayoutRubyBase.h" #include "core/layout/LayoutRubyRun.h" namespace blink { LayoutRubyBase::LayoutRubyBase() : LayoutBlockFlow(0) { setInline(false); } LayoutRubyBase::~LayoutRubyBase() { } LayoutRubyBase* LayoutRubyBase::createAnonymous(Document* document) { ...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
'use strict'; angular.module('mgcrea.ngStrap.button', []) .provider('$button', function () { var defaults = this.defaults = { activeClass: 'active', toggleEvent: 'click' }; this.$get = function () { return {defaults: defaults}; }; }) .directive('bsCheckboxGroup', function (...
require 'spec_helper' module SSLCheck describe 'Checking Certificates' do context "when the certificate is missing" do before do SSLCheck::Client.timeout_seconds = 1 @check = Checker.new.check("nossl.com") end it 'should not be valid' do expect(@check.valid?).to_not be ...
namespace DrawAttack { ScoreBoard::ScoreBoard() : m_visible(false) { m_overlay.setContentSize(cpp3ds::Vector2f(400.f, 240.f)); m_overlay.setColor(cpp3ds::Color::Transparent); m_texture.loadFromFile("images/button-radius.9.png"); setTexture(&m_texture); setContentSize(cpp3ds::Vector2f(300.f, 200.f)); setPadding...
 #scenario11_left { width: 33%; height: 100%; float: left; box-sizing: border-box; border: 1px solid silver; } #scenario11_right { width: 65%; height: 100%; float: right; box-sizing: border-box; border: 1px solid silver; } #htmlString { width: 100%; min-width: 100%; ...
<?php namespace Zend\Permissions\Rbac; use RecursiveIterator; abstract class AbstractIterator implements RecursiveIterator { protected $index = 0; protected $children = array(); /** * (PHP 5 &gt;= 5.0.0)<br/> * Return the current element * @link http://php.net/manual/en...
package org.springframework.boot.env; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import org.springframework.core.env.PropertySource; import org.springframework.core.io.Resource; import org.springframework.util.ClassUtils; /** ...
package com.soo.ify.view.swl.adapters; import java.util.List; import android.content.Context; import android.database.Cursor; import android.support.v4.widget.SimpleCursorAdapter; import android.view.View; import android.view.ViewGroup; import com.soo.ify.view.swl.Attributes; import com.soo.ify.view.swl.SwipeLayout;...
namespace llvm { // ADT's. template <typename T> class ErrorOr; template <typename T> class IntrusiveRefCntPtr; template <typename T, unsigned N> class SmallPtrSet; template <unsigned InternalLen> class SmallString; template <typename T, unsigned N> class SmallVector; template <typename T> class SmallVectorImpl; templ...
require 'helper' class TestCampaign < Test::Unit::TestCase context 'the Campaign class' do setup do @mini_fields = { :id => 'asdf12341asdf1234', :name => 'Fellowship of the Ring', :campaign_url => 'http://www.obsidianportal.com/campaigns/fellowship-of-the-ring', :visibility ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-e...
package app.hanks.com.conquer.adapter; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import android.content.Context; import android.graphics.drawable.AnimationDrawable; import android.media.AudioManager; import android.media.MediaPlayer; import android.media.MediaPlayer.OnPreparedLi...
package com.intellij.plugins.haxe.lang; import com.intellij.openapi.command.WriteCommandAction; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.io.FileUtil; import com.intellij.plugins.haxe.HaxeCodeInsightFixtureTestCase; import com.intellij.plugins.haxe.HaxeFileType; import com.intellij...
var inst = require("../index").getInstance(); module.exports = inst.use("view-node-map");
#include <aws/glacier/model/StatusCode.h> #include <aws/core/utils/HashingUtils.h> using namespace Aws::Utils; static const int InProgress_HASH = HashingUtils::HashString("InProgress"); static const int Succeeded_HASH = HashingUtils::HashString("Succeeded"); static const int Failed_HASH = HashingUtils::HashString("F...
module ActionDispatch module Journey # :nodoc: # The Routing table. Contains all routes for a system. Routes can be # added to the table by calling Routes#add_route. class Routes # :nodoc: include Enumerable attr_reader :routes, :named_routes def initialize @routes ...
package org.kuali.rice.kns.util; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.Arrays; import java.util.Collection; import java.util.Enumeration; import java.util.HashMap; import java.util.Hashtable; import java....
package com.scaleunlimited.tenaya.data; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.yaml.snakeyaml.Yaml; impor...
using System.Threading.Tasks; using Microsoft.CodeAnalysis.Text; using Roslyn.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Recommendations { public class WhereKeywordRecommenderTests : KeywordRecommenderTests { [Fact, Trait(Traits.Feature, Traits.Features.Keywor...
#include "ucol_imp.h" #if !UCONFIG_NO_COLLATION int TestBufferSize(void); /* keep gcc happy */ int TestBufferSize(void) { return (U_COL_SAFECLONE_BUFFERSIZE < sizeof(UCollator)); } #endif
"""Support for Sure Petcare cat/pet flaps.""" from __future__ import annotations import logging from typing import Any from surepy import ( MESTART_RESOURCE, SureLockStateID, SurePetcare, SurePetcareAuthenticationError, SurePetcareError, SurepyProduct, ) import voluptuous as vol from homeassi...
function prepare-e2e() { echo "Local doesn't need special preparations for e2e tests" 1>&2 } # Must ensure that the following ENV vars are set function detect-master { export KUBE_MASTER_IP="127.0.0.1" export KUBE_MASTER="localhost" } detect-master() { KUBE_MASTER=localhost KUBE_MASTER_IP=127.0.0.1 KUBE_M...
// 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. using System; using System.Collections.Generic; using System.Diagnostics; using System.Xml; using System.Xml.XPath; ...
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
package org.apache.hadoop.hdfs.web; import java.net.InetSocketAddress; import java.net.URI; import org.apache.commons.logging.Log; import org.apache.commons.logging.impl.Log4JLogger; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FSDataInputStream; import org.apache.hadoop.fs.FSDataOutputSt...
#include <sys/cdefs.h> __FBSDID("$FreeBSD$"); #include <math.h> /* * We simply call tgamma() rather than bloating the math library with * a float-optimized version of it. The reason is that tgammaf() is * essentially useless, since the function is superexponential and * floats have very limited range. */ float...
<?php declare(strict_types=1); namespace SebastianBergmann\Environment; /** * Utility class for HHVM/PHP environment handling. */ final class Runtime { /** * @var string */ private static $binary; /** * Returns true when Xdebug is supported or * the runtime used is PHPDBG. */...
 #pragma once #include <aws/ram/RAM_EXPORTS.h> #include <aws/ram/RAMRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Http { class URI; } //namespace Http namespace RAM { namespace Model { /** */ class AWS_RAM_API PromoteResourceShareCreatedFromPolic...
require('../../modules/es6.symbol'); require('../../modules/es6.object.assign'); require('../../modules/es6.object.is'); require('../../modules/es6.object.set-prototype-of'); require('../../modules/es6.object.to-string'); require('../../modules/es6.object.freeze'); require('../../modules/es6.object.seal'); require('../...
// Copyright 2009 the Sputnik authors. All rights reserved. /** * String.prototype.replace has not prototype property * * @path ch15/15.5/15.5.4/15.5.4.11/S15.5.4.11_A6.js * @description Checking String.prototype.replace.prototype; */ //////////////////////////////////////////////////////////////////////////////...
package org.apache.zookeeper.graph; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.util.MinimalPrettyPrinter; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ArrayNode; import c...
from django.conf.urls.defaults import * from django.views.generic.simple import redirect_to from django_messages.views import * urlpatterns = patterns('', url(r'^$', redirect_to, {'url': 'inbox/'}, name='messages_redirect'), url(r'^inbox/$', inbox, name='messages_inbox'), url(r'^outbox/$', outbox, name='m...
package org.apache.hyracks.control.cc.job; import java.io.PrintWriter; import java.io.StringWriter; import java.util.ArrayList; import java.util.EnumSet; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.json.JSONArray; import org.json.J...
<table mat-table [dataSource]="dataSource" multiTemplateDataRows class="mat-elevation-z8"> <ng-container matColumnDef="{{column}}" *ngFor="let column of columnsToDisplay"> <th mat-header-cell *matHeaderCellDef> {{column}} </th> <td mat-cell *matCellDef="let element"> {{element[column]}} </td> ...