text
stringlengths
3
1.05M
// 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.Diagnostics; namespace Microsoft.CodeAnalysis.Remote { internal sealed class Throwi...
require 'spec_helper' describe FbGraph::Connections::Events, '#events' do context 'when included by FbGraph::User' do context 'when no access_token given' do it 'should raise FbGraph::Unauthorized' do mock_graph :get, 'matake/events', 'users/events/matake_public', :status => [401, 'Unauthorized'] d...
<?php namespace League\CLImate\Util\Writer; interface WriterInterface { /** * @param string $content * * @return void */ public function write($content); }
<?php class PDFp extends PDF_MC_Table{ var $customer = ""; function __construct($orientation='P', $unit='mm', $size='A4',$customer="NO DEFINIDO",$type){ parent::__construct($orientation, $unit, $size); $this->customer = $customer; $this->type = $type; } function Header(){ ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; namespace WlanProfileViewer.Views.Controls { [TemplateVisualState(Name = "Normal", GroupName = "CommonStates")] [TemplateVisualState(Name = "Normal...
// .NAME Optimi - calculate the optimal value in funciton of the fixed dimensions // .SECTION Description // // // .SECTION See Also // vtk vtk vtk #ifndef __vtkOptimi_h #define __vtkOptimi_h // Std Includes #include <map> #include <vector> // Vtk Includes #include "vtkPassInputTypeAlgorithm.h" #include <vtkMutex...
This sample demonstrates TizenFileSystem feature basic functionalities, include: * Create new file and read files This usecase covers following interface and methods: * FileSystemManager interface: resolve("documents") method
package main import ( "bytes" "fmt" "io/ioutil" "os" ) const maxCallback = 2000 func genasm() { var buf bytes.Buffer buf.WriteString(`// generated by wincallback.go; run go generate // runtime·callbackasm is called by external code to // execute Go implemented callback function. It is not // called from the ...
<?php /** * A MIME Header. * * @author Chris Corbyn */ interface Swift_Mime_Header { /** Text headers */ const TYPE_TEXT = 2; /** headers (text + params) */ const TYPE_PARAMETERIZED = 6; /** Mailbox and address headers */ const TYPE_MAILBOX = 8; /** Date and time headers */ co...
 using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using NUnit.Framework; using XenAdmin; using XenAdmin.Controls.MainWindowControls; using XenAdmin.Core; using XenAdmin.TabPages; using XenAdmin.Controls; using XenAPI; namespace XenAdminTests.TabsAndMenus ...
#include "tensorflow/stream_executor/rocm/rocm_diagnostics.h" #include <dirent.h> #include <limits.h> #include <link.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/sysmacros.h> #include <unistd.h> #include <algorithm> #include <memory> #include <vector> #include "ab...
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: Stun Stick- beating stick with a zappy end // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "npcevent.h" #include "weapon_hl2mpbase...
using System.Collections.Generic; using System.Linq; using System.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions; using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp.Utilities...
namespace Microsoft.Azure.Management.IotHub.Models { using System; using System.Linq; using System.Collections.Generic; using Newtonsoft.Json; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Microsoft.Rest.Azure; /// <summary> /// The Iot Hub properties. /// </su...
/*! * FullCalendar v2.6.0 Stylesheet * Docs & License: http://fullcalendar.io/ * (c) 2015 Adam Shaw */ .fc { direction: ltr; text-align: left; } .fc-rtl { text-align: right; } body .fc { /* extra precedence to overcome jqui */ font-size: 1em; } /* Colors ---------------------------------------------------...
<?php namespace Symfony\Component\Form\Tests\Extension\Core\DataTransformer; use Symfony\Component\Form\Exception\TransformationFailedException; use Symfony\Component\Form\Exception\UnexpectedTypeException; use Symfony\Component\Form\Extension\Core\DataTransformer\DateIntervalToArrayTransformer; /** * @author Ste...
/* SafeBuffer.h --- * * Filename: SafeBuffer.h * Description: * Author: Declan * Maintainer: * Created: Fri 8 March 13:12:02 2019 (+0000) * Version: * Package-Requires: () * Last-Updated: Mon 11 March 10:42:53 2019 (+0000) * By: Declan * Update #: 1 * URL: * Doc URL: * Keywords: * C...
#define PY_SSIZE_T_CLEAN #include <Python.h> #define NPY_NO_DEPRECATED_API NPY_API_VERSION #define _MULTIARRAYMODULE #include "npy_config.h" #include "numpy/arrayobject.h" #define NPY_NUMBER_MAX(a, b) ((a) > (b) ? (a) : (b)) #define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) /* * Functions used to try to avoid/elide te...
package oneof3
function combineLatestSource(source, subject, resultSelector) { return new AnonymousObservable(function (observer) { var n = 2, hasValue = [false, false], hasValueAll = false, isDone = false, values = new Array(n); function next(x, i) { values[i] = x va...
/* * 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...
package acsengine import ( "io/ioutil" "os" "path" "github.com/Azure/acs-engine/pkg/i18n" log "github.com/sirupsen/logrus" ) // FileSaver represents the object that save string or byte data to file type FileSaver struct { Translator *i18n.Translator } // SaveFileString saves string to file func (f *FileSaver)...
/*globals require, WebGMEGlobal, $, DEBUG, angular*/ /*jshint browser:true*/ require( [ 'jquery', 'jquery-ui', 'jquery-ui-iPad', 'js/jquery.WebGME', 'bootstrap', 'underscore', 'backbone', 'js/WebGME', 'js/util', 'text!/gmeConfig.json', ...
<?php /** * @see Zend_Validate_Abstract */ require_once 'Zend/Validate/Abstract.php'; /** * Validates whether a given value is valid as a sitemap <priority> value * * @link http://www.sitemaps.org/protocol.php Sitemaps XML format * * @category Zend * @package Zend_Validate * @subpackage Sitemap ...
from __future__ import unicode_literals """ Utilities for using modules """ import frappe, os import frappe.utils from frappe import _ lower_case_files_for = ['DocType', 'Page', 'Report', "Workflow", 'Module Def', 'Desktop Item', 'Workflow State', 'Workflow Action', 'Print Format', "Website Theme"] def scrub(txt):...
/*! Lazy Load XT v0.8.9 2014-01-06 * http://ressio.github.io/lazy-load-xt * (C) 2014 RESS.io * Licensed under MIT */ (function ($, window, document, undefined) { // options var options = { autoInit: true, selector: 'img', classNojs: 'lazy', blankImage: 'data:i...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const cutOffLoaderExecution = require("./ErrorHelpers").cutOffLoaderExecution; class ModuleBuildError extends Error { constructor(module, err) { super(); this.name = "ModuleBuildError"; this.messa...
#ifndef GRPCXX_IMPL_SERVER_BUILDER_OPTION_H #define GRPCXX_IMPL_SERVER_BUILDER_OPTION_H #include <grpc++/support/channel_arguments.h> namespace grpc { /// Interface to pass an option to a \a ServerBuilder. class ServerBuilderOption { public: virtual ~ServerBuilderOption() {} /// Alter the \a ChannelArguments ...
<?xml version="1.0" encoding="utf-8"?> <shape android:shape="oval" xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="@android:color/white" /> </shape>
Docker image with letsencrypt + nginx This image can manage up to 100 domains. It uses nginx during the configuration step. Otherwise, it launch both nginx+cron daemons to renew certs when needed. Before managing container (e.g. within docker-compose), the container must be launch once with nginx visible on the Inter...
package org.apache.gobblin.runtime.api; import com.typesafe.config.Config; /** * A typical edge consists of two types of attributes: * - Numerical value based: Return an numerical value for evaluation. * - Boolean value based: Return either true or false. */ public interface FlowEdge { /** * @return Uniq...
from time import time import math import numpy as np import tensorflow as tf import tensorflow.contrib.layers '''Building the CIFAR-10 VGG-Net Summary of available functions: ''' BATCH_SIZE = 64 NUM_ITERATION = 60000 NUM_CLASS = 10 NUM_IMAGE_CHANNEL = 3 NUM_IMAGE_WIDTH = 32 NUM_IMAGE_HEIGHT = 32 CACHE_DIR = '/...
package apimachinery import ( "fmt" "math/rand" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/util/workqueue" "k8s.io/kubernetes/test/e2e/framework" ) const numberOfTotalResources = 400 var _ = SIGDescribe("Serve...
/* VueJS v0.7.2 (c) 2013 Evan You License: MIT */ ;(function(){ /** * Require the given path. * * @param {String} path * @return {Object} exports * @api public */ function require(path, parent, orig) { var resolved = require.resolve(path); // lookup failed if (null == resolved) { orig = orig || pa...
The [Lo-Dash](http://lodash.com/) function [`_.escape`](http://lodash.com/docs#escape) as a [Node.js](http://nodejs.org/) module generated by [lodash-cli](https://npmjs.org/package/lodash-cli). ## Author | [![twitter/jdalton](http://gravatar.com/avatar/299a3d891ff1920b69c364d061007043?s=70)](https://twitter.com/jdalt...
class CreateDevices < ActiveRecord::Migration def change create_table :devices do |t| t.belongs_to :user, index: true t.text :token t.text :model t.integer :device_type t.timestamps end add_index :devices, :token end end
var b = 42; window.exposed = window.b;
package com.nuevapartida.parser; import java.util.ArrayList; import java.util.List; import com.nuevapartida.beans.SimpleObject; public class SimpleObjectParser { public static SimpleObject parse(List<String> lines) { if (lines != null && lines.size() > 0) { SimpleObject object = new SimpleObject(); // Name...
package edu.washington.cs.dericp.diffutils; import static org.junit.Assert.*; import java.io.IOException; import java.util.List; import edu.washington.cs.dericp.diffutils.change.LineChange; import edu.washington.cs.dericp.diffutils.diff.MultiFileUnifiedDiff; import org.junit.Before; import org.junit.Test; public cl...
fw_depends elixir sed -i 's|localhost|'${DBHOST}'|g' config/prod.exs rm -rf _build deps export MIX_ENV=prod mix local.hex --force mix local.rebar --force mix deps.get --force --only prod mix compile --force elixir --erl "+K true" --detached -pa _build/prod/consolidated -S mix phoenix.server
package org.auraframework.def.design; import org.auraframework.def.Definition; import java.util.Set; public interface DesignLayoutDef extends Definition { /** * Get the set of sections defined under a layout * @return a set */ public Set<DesignSectionDef> getSections(); }
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Md_media extends CI_Model { //RETORNA AS CAMPANHAS DAS MÍDIAS function getCampaign($id) { $this->db->join('languages', 'languages.id = media_campaign.languages_id', 'INNER'); if ($id) { $this->db->w...
@interface NIMutableTableViewModel (Private) @property (nonatomic, NI_STRONG) NSMutableArray* sections; // Array of NITableViewModelSection @property (nonatomic, NI_STRONG) NSMutableArray* sectionIndexTitles; @property (nonatomic, NI_STRONG) NSMutableDictionary* sectionPrefixToSectionIndex; @end @interface NITableVi...
#include "image.h" #include <unistd.h> #include <stdio.h> #include <sys/mman.h> #include "condor_debug.h" #include "condor_syscalls.h" #define __KERNEL__ #if defined(GLIBC27) || defined(GLIBC211) || defined(GLIBC212) || defined(GLIBC213) || defined(GLIBC217) || defined(GLIBC219) #include <sys/user.h> #else #incl...
<?php namespace Symfony\Component\Console\Helper; use Symfony\Component\Console\Formatter\OutputFormatter; /** * The Formatter class provides helpers to format messages. * * @author Fabien Potencier <fabien@symfony.com> */ class FormatterHelper extends Helper { /** * Formats a message within a section...
using System.Windows.Forms; namespace Universal.Framework.Controls { public static class MenuManager { /// <summary> /// Makes all controls part of the main menu visible. /// </summary> public static void PullUpMenu(IMenu Menu) { foreach (Control item in Men...
create index ACT_IDX_AUTH_GROUP_ID on ACT_RU_AUTHORIZATION(GROUP_ID_);
var util = require('util') import {dataStoreManager} from '../appServer/managers/dataStoreManager' import {properties} from '../appServer/utils/properties' function printBillHeading(tableID, bill) { bill += '==========================\n' bill += ' Table: ' + tableID + '\n\n' return bill } function pri...
<problems> <problem> <file>test.kt</file> <line>1</line> <module>light_idea_test_case</module> <entry_point TYPE="file" FQNAME="temp:///src/test.kt" /> <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Array property in data class</problem_class> <description>Property with '...
package org.apache.camel.itest.osgi.jetty; import org.apache.camel.CamelExecutionException; import org.apache.camel.itest.osgi.OSGiIntegrationTestSupport; import org.apache.karaf.testing.Helper; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.ops4j.pax.exam.Option; import o...
package org.apache.camel.itest.doc; import org.apache.camel.CamelContext; import org.apache.camel.impl.DefaultCamelContext; import org.apache.camel.test.junit4.CamelTestSupport; import org.junit.Test; public class StringDataFormatConfigurationAndDocumentationTest extends CamelTestSupport { @Override public ...
namespace Microsoft.Azure.EventGrid.Models { using System.Collections; using System.Collections.Generic; using System.Linq; /// <summary> /// Job scheduled event data /// </summary> public partial class MediaJobScheduledEventData : MediaJobStateChangeEventData { /// <summary> ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
template<typename T> struct A { enum E : T; // expected-note {{here}} E v; E f() { return A::e1; } // expected-error {{no member named 'e1' in 'A<T>'}} E g() { return E::e1; } E h(); }; A<int> a; A<int>::E a0 = A<int>().v; int n = A<int>::E::e1; // expected-error {{implicit instantiation of undefined member}...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Reflection.Metadata; using Microso...
<?php namespace Components\Answers\Api; use Hubzero\Component\Router\Base; /** * Routing class for the component */ class Router extends Base { /** * Build the route for the component. * * @param array &$query An array of URL arguments * @return array The URL arguments to use to assemble the subseq...
const RedisStore = require('@routr/data_api/redis_store') const FilesStore = require('@routr/data_api/files_store') const config = require('@routr/core/config_util')() class StoreDriverSelector { constructor () { if (config.spec.dataSource.provider === 'redis_data_provider') { this.storeDriver = new RedisS...
YAHOO.namespace("widget"); (function () { var version = 0; var UA = YAHOO.env.ua; var sF = "ShockwaveFlash"; var mF, eP; if (UA.gecko || UA.webkit || UA.opera) { if ((mF = navigator.mimeTypes['application/x-shockwave-flash'])) { if ((eP = mF.enabledPlugin)) { var vS = []; ...
<?php namespace Sonata\CoreBundle\Tests\Twig\TokenParser; use Sonata\CoreBundle\Twig\Node\TemplateBoxNode; use Symfony\Component\Translation\Loader\ArrayLoader; use Symfony\Component\Translation\MessageSelector; use Symfony\Component\Translation\Translator; class TemplateBoxNodeTest extends \Twig_Test_NodeTestCase...
#include "builtin.h" #include "cache.h" #include "tree.h" #include "cache-tree.h" #include "parse-options.h" static const char * const write_tree_usage[] = { "git write-tree [--missing-ok] [--prefix=<prefix>/]", NULL }; int cmd_write_tree(int argc, const char **argv, const char *unused_prefix) { int flags = 0, re...
#ifndef BT_RAYCAST_TRI_CALLBACK_H #define BT_RAYCAST_TRI_CALLBACK_H #include "BulletCollision/CollisionShapes/btTriangleCallback.h" #include "LinearMath/btTransform.h" struct btBroadphaseProxy; class btConvexShape; class btTriangleRaycastCallback: public btTriangleCallback { public: //input btVector3 m_from; b...
<?php return array( 'notDigits' => 'Translating the notDigits string', 'digitsStringEmpty' => 'Translating the stringEmpty string', 'stringEmpty' => 'Translating the stringEmpty string', 'isEmpty' => 'Translating the isEmpty string', 'submit' => 'Submit Button', '...
#include "tensorflow/lite/delegates/gpu/cl/cl_event.h" #include <string> #include <utility> #include "tensorflow/lite/delegates/gpu/cl/opencl_wrapper.h" namespace tflite { namespace gpu { namespace cl { CLEvent::CLEvent(cl_event event) : event_(event) {} CLEvent::CLEvent(CLEvent&& event) : event_(event.event...
"""Controllers for the Oppia learner view.""" __author__ = 'Sean Lip' import copy import logging from core.controllers import base from core.controllers import pages from core.domain import config_domain from core.domain import dependency_registry from core.domain import event_services from core.domain import exp_do...
"""Tests for the family module.""" # # (C) Pywikibot team, 2014-2022 # # Distributed under the terms of the MIT license. # from collections.abc import Mapping from contextlib import suppress import pywikibot.site from pywikibot.exceptions import UnknownFamilyError from pywikibot.family import Family, SingleSiteFamily ...
<tool id="bedtools_flankbed" name="bedtools FlankBed" version="@TOOL_VERSION@+galaxy1" profile="@PROFILE@"> <description>create new intervals from the flanks of existing intervals</description> <macros> <import>macros.xml</import> </macros> <expand macro="bio_tools" /> <expand macro="require...
package main import ( "bytes" "fmt" "github.com/bitly/go-nsq" "github.com/bmizerany/assert" "io/ioutil" "log" "net/http" "os" "runtime" "strconv" "sync" "testing" "time" ) func TestHTTPput(t *testing.T) { log.SetOutput(ioutil.Discard) defer log.SetOutput(os.Stdout) _, httpAddr, nsqd := mustStartNSQd(...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("React"), require("_")); else if(typeof define === 'function' && define.amd) define(["React", "_"], factory); else if(typeof exports === 'object') exports["...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>org.netbeans.cubeon</groupId> <artifa...
<?php namespace mz\InventoryBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; class DefaultController extends Controller { /** * @Route("/hello/{name}") ...
package vn.tale.architecture; import vn.tale.architecture.common.SchedulerObservableTransformer; import vn.tale.architecture.common.SchedulerSingleTransformer; import vn.tale.architecture.model.manager.UserModel; import static org.mockito.Mockito.mock; /** * Created by Giang Nguyen on 2/27/17. */ public class Moc...
ES5Harness.registerTest({ id: "15.4.4.16-7-c-i-21", path: "TestCases/chapter15/15.4/15.4.4/15.4.4.16/15.4.4.16-7-c-i-21.js", description: "Array.prototype.every - element to be retrieved is inherited accessor property without a get function on an Array-like object", test: function testcase() { ...
<?php namespace Psy\Test\CodeCleaner; use Psy\CodeCleaner\ValidConstantPass; class ValidConstantPassTest extends CodeCleanerTestCase { public function setUp() { $this->setPass(new ValidConstantPass()); } /** * @dataProvider getInvalidReferences * @expectedException \Psy\Exception...
<?php namespace App\Auth\AccountManager; use App\Auth\AccountManagerInterface; use App\Auth\HashManager; use App\Auth\Model\Account; use App\Entity\User; use Core\Utils\EntityUtils\EntitySelect; class DatabaseAccountManager implements AccountManagerInterface { public function __construct(array $settings = []) ...
package ocr //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"; Object.defineProperty(exports, "__esModule", { value: true });
/** * Provides color conversion and validation utils * @class YAHOO.util.Color * @namespace YAHOO.util */ YAHOO.util.Color = function() { var ZERO = "0", isArray = YAHOO.lang.isArray, isNumber = YAHOO.lang.isNumber; return { /** * Converts 0-1 to 0-255 * @m...
package org.dkpro.statistics.agreement.coding; import junit.framework.TestCase; /** * Tests based on Mieskes (2009) for category-specific agreement using * {@link FleissKappaAgreement}.<br> * <br> * References: * <ul> * <li>Mieskes, M.: Exploring Methods for the Automatic Summarization of Meetings. Dissertatio...
package getter import ( "fmt" "net/url" "strings" ) // S3Detector implements Detector to detect S3 URLs and turn // them into URLs that the S3 getter can understand. type S3Detector struct{} func (d *S3Detector) Detect(src, _ string) (string, bool, error) { if len(src) == 0 { return "", false, nil } if stri...
package io import ( "fmt" "io/ioutil" "os" "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/pkg/api/latest" ) // LoadPodFromFile will read, decode, and return a Pod from a file. func LoadPodFromFile(filePath string) (*api.Pod, error) { if filePath == "" { return nil, fmt.Errorf("file path not specified") } ...
''' Harvester for the Triceratops: Tri-College Digital Repository for the SHARE project Example API call: http://triceratops.brynmawr.edu/dspace-oai/request?verb=ListRecords&metadataPrefix=oai_dc ''' from __future__ import unicode_literals from scrapi.base import OAIHarvester class TriceratopsHarvester(OAIHarvester...
/*! * Qoopido.js library v3.6.1, 2015-2-5 * https://github.com/dlueth/qoopido.js * (c) 2015 Dirk Lueth * Dual licensed under MIT and GPL */ !function(e){window.qoopido.register("jquery/plugins/emerge",e,["../../dom/element/emerge","jquery"])}(function(e,r,t,n,o){"use strict";var c,i=e.jquery||o.jQuery,u=t.pop(),g="emer...
__author__ = 'tmatsuo@sios.com (Takashi MATSUO)' import unittest try: from xml.etree import ElementTree except ImportError: from elementtree import ElementTree import atom import gdata from gdata import test_data import gdata.apps class AppsEmailListRecipientFeedTest(unittest.TestCase): def setUp(self): s...
// // TFNavigator.h // TFNavigator // // Created by Melvin on 3/31/16. // Copyright © 2016 TimeFace. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "UIWindow+TFNavigator.h" //////////////////////////////////////////////////////////////////////////////////////////////////...
using System; namespace DotNetNuke.Entities.Tabs { ///<summary> ///Class to represent a TabUrl object ///</summary> [Serializable] //584 support sql session state public class TabUrlInfo { #region Constructors public TabUrlInfo() { PortalAliasUsage = Portal...
<template> <h1>A sample of <i class="title">html</i> title.</h1> </template> <script> (function (w, d){ // Element Prototype var SampleVanilla = function () { this.dom = (d._currentScript || d.currentScript).ownerDocument; this.template = this.dom.querySelector('template'); this.shadowDom...
#include "UIEditBoxImpl-linux.h" #if (CC_TARGET_PLATFORM == CC_PLATFORM_LINUX) #include "UIEditBox.h" #include "2d/CCLabel.h" #include "base/ccUTF8.h" bool LinuxInputBox(std::string &entryLine) { return false; // bool didChange = false; // GtkWidget *dialog; // GtkWidget *entry; // GtkWidget *c...
var baseGt = require('./_baseGt'), createRelationalOperation = require('./_createRelationalOperation'); /** * Checks if `value` is greater than `other`. * * @static * @memberOf _ * @since 3.9.0 * @category Lang * @param {*} value The value to compare. * @param {*} other The other value to compar...
namespace boost { namespace mpl { BOOST_MPL_AUX_COMMON_NAME_WKND(min_element) template< typename BOOST_MPL_AUX_NA_PARAM(Sequence) , typename Predicate = less<_,_> > struct min_element : max_element< Sequence , mpl::not_<Predicate> > { }; BOOST_MPL_AUX_NA_SPEC(1, min_elemen...
package com.google.zxing; import com.google.zxing.common.BitMatrix; import java.util.Map; /** * The base class for all objects which encode/generate a barcode image. * * @author dswitkin@google.com (Daniel Switkin) */ public interface Writer { /** * Encode a barcode using the default settings. * * ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xam...
page_type: sample languages: - csharp - cpp - cppcx products: - windows - windows-uwp urlFragment: WiFiScan extendedZipContent: - path: SharedContent target: SharedContent - path: LICENSE target: LICENSE description: "Shows how to use the Windows.Devices.WiFi APIs." --- <!--- category: NetworkingAndWebServices ...
from ImportedFile import * _private_name # <ref>
package org.apereo.cas.ticket; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.RequiredArgsConstructor; import lombok.Setter; import lombok.ToString; /** * This is {@link DefaultTicketDefinition}. * * @author Misagh Moayyed * @since 5.1.0 */ @ToString @Getter @Setter @EqualsAndHashCode @Requ...
package org.apache.hadoop.util; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Collection; import org.junit.Te...
class Colormake < Formula desc "Wrapper around make to colorize the output" homepage "https://github.com/pagekite/Colormake" head "https://github.com/pagekite/Colormake.git" url "https://github.com/pagekite/Colormake/archive/0.9.20140503.tar.gz" sha256 "a3f9fae9a455ac96be1cce0371b28bda33a9af73b06fa8e4329aa2f6...
function printNumbers() { 'use strict'; var n = +document.getElementById('inputForm').value, i; if(isNaN(n)) { window.console.log('Please enter a valid number'); document.getElementById('console').innerHTML += 'Please enter a valid number' + '<br>'; } else { for (i...
import lag = require("event-loop-lag"); var fn: () => number = lag(1000); var n: number = fn();
using std::cout; using std::endl; using namespace MathTL; int main() { cout << "Testing finite difference operators ..." << endl; Polynomial<double> p; p.set_coefficient(2, 1.0); // x^2 InfiniteVector<double, int> values; for (int i = -4; i <= 4; i++) values[i] = p.value(i); cout << "- a sampled ...
from __future__ import print_function import json import random import subprocess import sys import opt_bug_reducer import swift_tools def random_bug_finder(args): """Given a path to a sib file with canonical sil, attempt to find a perturbed list of passes that the perf pipeline""" tools = swift_tools.Swif...