text
stringlengths
3
1.05M
{% extends 'templates/nhs_transaction_layout.html' %} {% import 'includes/form_macros.html' as form_macros %} {% block afterHeader %} {% include "includes/service-headers/low-income-new.html" %} {% endblock %} {% block content %} <main id="content" role="main"> <div class="grid-row"> <div class="colum...
using FMStudio.App.Utility; using FMStudio.Lib; using FMStudio.Utility.Logging; using System; using System.IO; using System.Threading.Tasks; using System.Windows.Input; namespace FMStudio.App.ViewModels { public class ProfileViewModel : HierarchicalBaseViewModel { private ILog _log; public Pr...
[![Deploy to Azure](http://azuredeploy.net/deploybutton.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fAzure%2fazure-quickstart-templates%2fmaster%2f101-vsts-cloudloadtest-rig%2fazuredeploy.json) <a href="http://armviz.io/#/?load=https%3a%2f%2fraw.githubuserconte...
<div class="container"> <div class="row"> <div class="col s12 m9 l10"> <div id="staggered" class="section scrollspy"> <p class="caption">We've made some custom animation functions that will transition your content. It's recommended to use this with our <a href="/scrollfire.html">ScrollFire Plugin<...
typedef struct crypto_onetimeauth_poly1305_implementation { int (*onetimeauth)(unsigned char *out, const unsigned char *in, unsigned long long inlen, const unsigned char *k); int (*onetimeauth_verify)(const unsigned char *h, const unsigned char *in, unsigned ...
#include "libtorrent/peer_list.hpp" #include "libtorrent/torrent_handle.hpp" #include "libtorrent/torrent_peer_allocator.hpp" #include "libtorrent/peer_connection_interface.hpp" #include "libtorrent/stat.hpp" #include "libtorrent/ip_voter.hpp" #include "libtorrent/ip_filter.hpp" #include "libtorrent/peer_info.hpp" #i...
#ifndef FontTranscoder_h #define FontTranscoder_h #include <wtf/HashMap.h> #include <wtf/Noncopyable.h> #include <wtf/text/AtomicStringHash.h> namespace WebCore { class FontDescription; class TextEncoding; class FontTranscoder { WTF_MAKE_NONCOPYABLE(FontTranscoder); WTF_MAKE_FAST_ALLOCATED; public: void c...
require_relative 'test_helper' class TestZhLocale < Test::Unit::TestCase def setup Faker::Config.locale = 'zh-TW' end def teardown Faker::Config.locale = nil end def test_zh_tw_address_methods assert Faker::Address.postcode.is_a? String assert Faker::Address.state.is_a? String assert Fa...
from Recite import Recite import ui import speech LABEL_WORD_NAME = 'label_word' LABEL_ERR_CNT_NAME = 'label_err_cnt' LABEL_RECITED_CNT_NAME = 'label_recited_cnt' LABEL_TOTAL_NUM_NAME = 'label_total_num' TEXTVIEW_MEANING_NAME = 'textview_meaning' TEXTVIEW_ERROR_LIST_NAME = 'textview_error_list' BUTTON_ERROR_NUM_NAME =...
/*! * sweetalert2 v4.2.1 * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Sweetalert2 = factory()); }(this, function () { 'use str...
package clientv3 import ( "net/url" "strings" "sync" "golang.org/x/net/context" "google.golang.org/grpc" "google.golang.org/grpc/codes" ) // ErrNoAddrAvilable is returned by Get() when the balancer does not have // any active connection to endpoints at the time. // This error is returned only when opts.Blockin...
package org.wso2.cart.ui.test; import junit.framework.TestCase; public class ManagerTest extends TestCase { public void testManager() { } }
<!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" xmlns="http://www.w3.org/1999/html"> <!--<![endif]--> <head> <!-- Basic...
<?php spl_autoload_register(function($className) { $filename = str_replace(array('\\', '_'), DIRECTORY_SEPARATOR, $className) . '.php'; $path = __DIR__ . "/src/" . $filename; if (is_file($path)) { include $path; return true; } return false; });
$(document).ready(function(){ //var socket = io.connect('localhost:8080'); var socket = io.connect('http://localhost:8080'); socket.on('greeting', function(data){ alert(data); }) socket.on('new-user', function(data){ alert(data + ' Have joined!'); }) $('#go')...
REM { set TOOLCHAIN=vs-14-2015-sdk-8-1 set PROJECT_DIR=examples/qt-widgets .\jenkins.py --clear-except-download || exit /b 1 set PROJECT_DIR=examples/qt-core .\jenkins.py --nocreate || exit /b 1 set PROJECT_DIR=examples/qt-qml .\jenkins.py --nocreate || exit /b 1 set PROJECT_DIR=examples/qt-location .\jenkins....
<?php namespace TYPO3\Flow\Security\Exception; /** * A "InvalidArgumentForRequestHashGeneration" Exception * * @api */ class InvalidArgumentForRequestHashGenerationException extends \TYPO3\Flow\Security\Exception { }
require_relative 'helper' Protest.describe 'ResultSet' do class Post include Ork::Document attribute :name index :name end setup do randomize_bucket_name Post @post1 = Post.create name: 'Post 1' @post2 = Post.create name: 'Post 2' end context '*all*' do setup do @all = Or...
<div class="content"> <div id="example_title"> <h1>More Popup Options</h1> Below is another popup but with more options. You do not need to specify all the options, but only the ones needed. </div> <div id="example_view"></div> <div id="example_code"></div> </div> <!--CODE--> <button cl...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title>Statistics of Poss in UD_Englis...
package com.google.common.util.concurrent; import com.google.common.base.Function; import java.lang.reflect.UndeclaredThrowableException; /** * Unit tests for {@link Futures#transform(ListenableFuture, Function)}. * * @author Nishant Thakkar */ public class FuturesTransformTest extends AbstractChainedListe...
/* (c) 2014 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compliance with the License. You may obtain a copy of the * License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package v1beta1 import ( "k8s.io/kubernetes/pkg/api/resource" "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/api/v1" "k8s.io/kubernetes/pkg/util/intstr" ) // describes the attributes of a scale subresource type ScaleSpec struct { // desired number of instances for the scaled object. Replicas i...
<!DOCTYPE html> <html lang="en"> <head> <title>Bootswatch: Cyborg</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="utf-8"> <link rel="stylesheet" href="./bootstrap.css" media="screen"> <link rel="stylesheet" href="../assets/css/bootswatch.min.css"> ...
<!DOCTYPE html> <html lang="ru-RU"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>PayPaul</title> <!-- SEO --> <meta name="description" content=""> <meta name="keywords" content=""> <meta name="author" content="Vitalya Kudla"> <!-- build:css css/vendor.css --...
/** * @author: Dennis Hernández * @webSite: http://djhvscf.github.io/Blog * @version: v1.0.1 */ (function ($) { 'use strict'; var isSearch = false; var rowAttr = function (row, index) { return { id: 'customId_' + index }; }; $.extend($.fn.bootstrapTable.defaults,...
cask 'calendly-click' do version '0.1.6' sha256 '3542cc0e6c39e46d271694da4b2578a8ef6f7adecfb46613fc8ae89d82ab247d' # d26xyjziomggk4.cloudfront.net was verified as official when first introduced to the cask url "https://d26xyjziomggk4.cloudfront.net/calendly_desktop/releases/production/darwin_x64/calendly-click...
module UnitTests module ClassBuilder def define_module(*args, &block) ClassBuilder.define_module(*args, &block) end def define_class(*args, &block) ClassBuilder.define_class(*args, &block) end class << self def configure_example_group(example_group) example_group.includ...
#ifndef BZ_MATGEN_H #define BZ_MATGEN_H #ifndef BZ_MSTRUCT_H #error <blitz/matgen.h> must be included via <blitz/mstruct.h> #endif // BZ_MSTRUCT_H BZ_NAMESPACE(blitz) class GeneralMatrix : public AsymmetricMatrix { public: GeneralMatrix() { } GeneralMatrix(unsigned rows, unsigned cols) : Asy...
'use strict'; const React = require('React'); const areEqual = require('areEqual'); const buildReactRelayContainer = require('./buildReactRelayContainer'); const {profileContainer} = require('./ReactRelayContainerProfiler'); const {getContainerName} = require('./ReactRelayContainerUtils'); const {assertRelayContex...
package clientcmd import ( "errors" "os" "path" "path/filepath" "reflect" "sort" "k8s.io/klog" restclient "k8s.io/client-go/rest" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) // ConfigAccess is used by subcommands and methods in this package to load and modify the appropriate config files type C...
package com.intellij.openapi.vcs.actions; import com.intellij.openapi.project.Project; import com.intellij.openapi.vcs.*; import com.intellij.openapi.vcs.changes.Change; import com.intellij.openapi.vcs.changes.ChangeListManager; import com.intellij.openapi.vcs.changes.LocalChangeList; import com.intellij.openapi.vcs....
using System; using System.Collections.Generic; using System.Xml.Serialization; using Packager.Extensions; using Packager.Models.OutputModels.Ingest; namespace Packager.Models.OutputModels { [Serializable] public class SideData { [XmlAttribute("Side")] public string Side { get; set; } ...
package org.apache.spark.sql.hive import scala.collection.JavaConverters._ import scala.language.implicitConversions import org.apache.hadoop.conf.Configuration import org.apache.hadoop.hive.serde2.ColumnProjectionUtils import org.apache.spark.SparkFunSuite class HiveShimSuite extends SparkFunSuite { test("appe...
/** * @fileoverview Utilities for string newlines. */ /** * Namespace for string utilities */ goog.provide('goog.string.newlines'); goog.provide('goog.string.newlines.Line'); /** * Splits a string into lines, properly handling universal newlines. * @param {string} str String to split. * @param {boolean=} ...
package org.codehaus.groovy.ant; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.DirectoryScanner; import org.apache.tools.ant.Task; import org.apache.tools.ant.types.DirSet; import org.apache.tools.ant.types.Path; import org.apache.tools.ant.types.PatternSet; import org.codehaus.groovy.runtim...
// ximage.cpp : main implementation file /* 07/08/2001 v1.00 - Davide Pizzolato - www.xdp.it * CxImage version 6.0.0 02/Feb/2008 */ #include "ximage.h" //////////////////////////////////////////////////////////////////////////////// // CxImage ///////////////////////////////////////////////////////////////////////...
package org.elasticsearch.search.aggregations; import org.elasticsearch.ElasticsearchIllegalStateException; import org.elasticsearch.common.lease.Releasable; import java.io.IOException; /** * Abstraction for implementations that record a "collect" stream for subsequent play-back */ public abstract class Recordin...
// .NAME vtkMemoryLimitImageDataStreamer - Initiates streaming on image data. // .SECTION Description // To satisfy a request, this filter calls update on its input // many times with smaller update extents. All processing up stream // streams smaller pieces. #ifndef vtkMemoryLimitImageDataStreamer_h #define vtkMemo...
/*! formstone v0.8.27 [scrollbar.css] 2015-11-10 | MIT License | formstone.it */ /** * @class * @name .fs-scrollbar-element * @type element * @description Target elmement */ /** * @class * @name .fs-scrollbar * @type element * @description Base widget class */ /** * @class * @name .fs-scrollbar...
import { Model } from 'alaska'; import User from 'alaska-user/models/User'; import service from '../'; import Email from '../models/Email'; export default class EmailTask extends Model<EmailTask> { static label = 'Email Task'; static icon = 'paper-plane'; static titleField = 'title'; static defaultColumns = 't...
package org.apache.ignite.loadtests.dsi; import org.apache.ignite.*; import org.apache.ignite.cache.affinity.*; import org.apache.ignite.compute.*; import org.apache.ignite.internal.*; import org.apache.ignite.internal.processors.cache.distributed.dht.*; import org.apache.ignite.internal.processors.cache.distributed...
require 'helper' describe Arel::Nodes::Extract do it "should extract field" do table = Arel::Table.new :users table[:timestamp].extract('date').to_sql.must_be_like %{ EXTRACT(DATE FROM "users"."timestamp") } end describe "as" do it 'should alias the extract' do table = Arel::Table.ne...
module Spree class CustomUserGenerator < Rails::Generators::NamedBase include Rails::Generators::ResourceHelpers include Rails::Generators::Migration desc "Set up a Spree installation with a custom User class" def self.source_paths paths = self.superclass.source_paths paths << File.expa...
CREATE TABLE IF NOT EXISTS Tokens ( token_id UUID, owner_id UUID, organization_id UUID, owner_name TEXT, time_of_creation TIMESTAMPTZ DEFAULT now(), time_of_expiration TIMESTAMPTZ DEFAULT now() + INTERVAL '30 Days', token_type TEXT, token_status ...
/* 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 * distributed ...
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------ namespace System.IdentityModel { using System.IO; using System.Security.Cryptography; using System.IdentityModel.Selec...
"""Views fo the node settings page.""" # -*- coding: utf-8 -*- import os import httplib as http from flask import request from box.client import BoxClientException from urllib3.exceptions import MaxRetryError from framework.exceptions import HTTPError from website.util import web_url_for from website.util import per...
package com.intellij.openapi.wm.impl.status; import com.intellij.ide.ui.UISettings; import com.intellij.openapi.actionSystem.AnAction; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.project.DumbAware; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.Dial...
// Copyright (c) 2003-2014, Jodd Team (jodd.org). All Rights Reserved. package jodd.vtor.constraint; import jodd.vtor.Constraint; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(Ret...
static const std::string kTypeParentId = "PrefsRootNodeID"; static const syncer::ModelType kModelType = syncer::PREFERENCES; namespace syncer { // Tests the NonBlockingTypeProcessorCore. // // This class passes messages between the model thread and sync server. // As such, its code is subject to lots of different rac...
require 'spec_helper' describe Api::V2::MembershipSerializer do let(:project) { create(:project) } let(:object) { create(:membership, project: project) } let(:hash) { described_class.new(object).serializable_hash } it { expect(hash[:project_name]).to eq(project.name) } it { expect(hash[:role]).to eq(object....
[![][ButlerImage]][website] # About In a nutshell, Jenkins is the leading open-source automation server. Built with Java, it provides over 1000 plugins to support automating virtually anything, so that humans can actually spend their time doing things machines cannot. # What to Use Jenkins for and When to Use It ...
#ifndef ASF_H #define ASF_H /* * This file includes all API header files for the selected drivers from ASF. * Note: There might be duplicate includes required by more than one driver. * * The file is automatically generated and will be re-written when * running the ASF driver selector tool. Any changes will be ...
FROM balenalib/nitrogen6x-fedora:34-run # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 RUN dnf install -y \ python3-pip \ python3-dbus \ && dnf clean all # install "virtualenv", since the vast majorit...
title: "Layout: Author Sidebar Disabled" excerpt: "A post to test disabling author sidebar." author_profile: false --- This post has the author sidebar disabled. To disable add `author_profile: false` to YAML Front Matter.
<!-- ~ 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...
from survey.features.page_objects.base import PageObject class GroupConditionListPage(PageObject): url = '/conditions/' def validate_fields(self): self.validate_fields_present(["Group Criteria List", "Condition", "Attribute", "Value"]) class GroupsListingPage(PageObject): url = '/groups/' ...
--TEST-- Test stristr() function : usage variations - test values for $needle argument --FILE-- <?php /* Prototype: string stristr ( string $haystack, string $needle ); Description: Case-insensitive strstr(). */ echo "*** Testing stristr() function: with unexpected inputs for 'needle' argument ***\n"; //get an un...
var cs = chrome.contentSettings; var default_content_settings = { "cookies": "session_only", "images": "allow", "javascript": "block", "plugins": "allow", "popups": "block", "location": "ask", "notifications": "ask", "fullscreen": "ask", "mouselock": "ask", "microphone": "ask", "camera": "ask", ...
namespace { // Callback for |GenerateEcP256KeyPair| method. Saves keys returned by the // method in |private_key_target| and |public_key_target|. void RecordKeyPair(std::string* private_key_target, std::string* public_key_target, const std::string& private_key_source, ...
import logging import threading import pymongo from pymongo.errors import ConnectionFailure from website import settings from werkzeug.local import LocalProxy logger = logging.getLogger(__name__) class ClientPool(object): class ExtraneousReleaseError(Exception): message = 'no cached connection to relea...
<?php namespace Topxia\Service\System\Impl; use Topxia\Service\Common\BaseService; use Topxia\Service\System\StatisticsService; class StatisticsServiceImpl extends BaseService implements StatisticsService { public function getOnlineCount($retentionTime) { return $this->getSessionDao()->getOnlineCount($retention...
/*! * CLDR JavaScript Library v0.4.1 2015-02-25T13:51Z MIT license © Rafael Xavier * http://git.io/h4lmVg */ (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. define( [ "../cldr" ], factory ); } else if ( typeof module === "object" && typeof module.exports === "object" ) { ...
<!DOCTYPE html><html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <meta charset="utf-8"> <title>PHPExcel classes » \PHPExcel_Chart</title> <meta name="author" content="Mik...
namespace Pomdog { namespace AssetBuilders { using Detail::BinaryReader; using ShaderCompilers::GLSLCompiler; using ShaderCompilers::HLSLCompiler; //----------------------------------------------------------------------- // explicit instantiations template class Builder<Shader>; //------------------------------------...
// Copyright 2009 the Sputnik authors. All rights reserved. /** * The String.prototype.charAt.length property has the attribute DontDelete * * @path ch15/15.5/15.5.4/15.5.4.4/S15.5.4.4_A9.js * @description Checking if deleting the String.prototype.charAt.length property fails */ /////////////////////////////////...
<?xml version="1.0" encoding="UTF-8"?> <problems> <problem> <file>MismatchedArrayReadWrite.java</file> <line>20</line> <problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Mismatched read and write of array</problem_class> <description>Contents of array &lt;code&gt;barzoom&lt;/code&gt;...
package java.net; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FilePermission; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Uns...
#include <fstream> #include <iostream> #include <sstream> #include <stdlib.h> #include <sys/stat.h> #include <sstream> #include "t_generator.h" #include "platform.h" using std::map; using std::ofstream; using std::ostream; using std::ostringstream; using std::string; using std::stringstream; using std::vector; sta...
namespace glm{ namespace detail { # if GLM_HAS_EXTENDED_INTEGER_TYPE typedef std::int8_t int8; typedef std::int16_t int16; typedef std::int32_t int32; typedef std::int64_t int64; typedef std::uint8_t uint8; typedef std::uint16_t uint16; typedef std::uint32_t uint32; typedef std::...
using System; namespace Glimpse.Mvc.Message { public interface IFilterMessage : IActionMessage { FilterCategory Category { get; set; } Type ResultType { get; set; } } public static class FilterMessageExtension { public static T AsFilterMessage<T>(this T message, FilterCa...
Gradle用户可以直接在它们的`dependencies`节点处导入”starter POMs“。跟Maven不同的是,这里没有用于导入共享配置的"超父"(super parent)。 ```gradle apply plugin: 'java' repositories { jcenter() } dependencies { compile("org.springframework.boot:spring-boot-starter-web:1.3.0.BUILD-SNAPSHOT") } ``` [spring-boot-gradle-plugin](../VIII. Build tool pl...
<resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. --> <!-- customize the color palette --> <item name="colorPrimary">@color/material_blue_500</item> <item name="colorPrimaryDark">@col...
/** * @constructor */ jsts.geom.CoordinateArrays = function() { throw new jsts.error.AbstractMethodInvocationError(); }; jsts.geom.CoordinateArrays.copyDeep = function () { if (arguments.length === 1) { return jsts.geom.CoordinateArrays.copyDeep1(arguments[0]); } else if (arguments.length === 5...
$.widget( "metro.listview" , { version: "3.0.0", options: { onExpand: function(group){}, onCollapse: function(group){}, onActivate: function(list){}, onListClick: function(list){} }, _create: function () { var that = this, element = this.element, o = this.optio...
loadjs = (function () { /** * Global dependencies. * @global {Object} document - DOM */ var devnull = function() {}, bundleIdCache = {}, bundleResultCache = {}, bundleCallbackQueue = {}; /** * Subscribe to bundle load event. * @param {string[]} bundleIds - Bundle ids * @param {Function} callbackFn ...
package org.apache.commons.compress.archivers.zip; import java.io.UnsupportedEncodingException; import java.util.zip.CRC32; import java.util.zip.ZipException; import org.apache.commons.compress.utils.CharsetNames; /** * A common base class for Unicode extra information extra fields. * @NotThreadSafe */ public a...
package org.netbeans.lib.cvsclient.file; import java.io.File; import java.io.IOException; /** * @author Thomas Singer */ public interface IFileReadOnlyHandler { /** * Makes the specified file read-only or writable, depending on the specified * readOnly flag. * @throws IOException if something gone wrong ...
from test_framework.test_framework import BitcoinTestFramework from test_framework.util import * from test_framework.mininode import sha256, ripemd160, CTransaction, CTxIn, COutPoint, CTxOut from test_framework.address import script_to_p2sh, key_to_p2pkh from test_framework.script import CScript, OP_HASH160, OP_CHECKSI...
import language.experimental.macros import scala.reflect.macros.blackbox.Context object Macros { def impl(c: Context) = { import c.universe._ val decls = c.typeOf[ScalaClassWithCheckedExceptions_1[_]].decls.toList val s = decls.sortBy(_.name.toString).map(decl => (s"${decl.name}: ${decl.annotations}")).m...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Copyright 2009-2016 the original author or authors. 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 ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="author" content="Open Knowledge"> <meta name="description" content="The Global Open Data Index assesse...
YUI.add('autocomplete-list', function (Y, NAME) { /** Traditional autocomplete dropdown list widget, just like Mom used to make. @module autocomplete @submodule autocomplete-list **/ /** Traditional autocomplete dropdown list widget, just like Mom used to make. @class AutoCompleteList @extends Widget @uses AutoComp...
package org.apereo.portal.layout; import java.util.Enumeration; import java.util.Vector; import javax.xml.xpath.XPath; import javax.xml.xpath.XPathConstants; import javax.xml.xpath.XPathExpression; import javax.xml.xpath.XPathExpressionException; import javax.xml.xpath.XPathFactory; import org.apache.commons.logging....
/* NumberSpinner - namespace "dijitSpinner" * * Styling NumberSpinner mainly includes: * * 1. Arrows * Outer containers: .dijitSpinnerButtonContainer|.dijitSpinnerButtonInner - for border, padding and position * Arrows: .dijitArrowButton|.dijitUpArrowButton.|dijitDownArrowButton * Inner container: .diji...
$(function(){ $( ".promoted-posts-only").click(function() { $(this).text( promotedPostsOnly ? polyglot.t('Switch to Normal posts') : polyglot.t('Switch to Promoted posts') ); }); });
from . import constants import re class CharSetProber: def __init__(self): pass def reset(self): self._mState = constants.eDetecting def get_charset_name(self): return None def feed(self, aBuf): pass def get_state(self): return self._mState def get_...
/** Defines classes to load and execute TensorFlowLite models. */ package org.tensorflow.lite;
<!DOCTYPE html> <meta charset="UTF-8"> <title>CSS Reftest Reference</title> <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <link rel="stylesheet" href="../support/highlights.css"> <style> div { color: green; font-size: 300%; ...
class Fighter(object): """ this is a fighter for an RPG. they start with a specific hp, and can get damaged. """ def __init__(self, name, starting_hp): """ name (str): the name of the fighter. starting_hp (int): the starting hp of the fighter. """ def d...
var gui = require('nw.gui'); var w = gui.Window.get(); function clearCache(){ gui.App.clearCache(); } function fullscreen(){ w.isFullscreen = w.isFullscreen ? false : true; } function kiosk(){ w.isKioskMode = w.isKioskMode ? false : true; } function dev(){ w.showDevTools(); } function closeWin(){ w.isKioskMo...
Weighted cross-entropy loss for a sequence of logits, batch-collapsed. ##### Args: * <b>`logits`</b>: List of 2D Tensors of shape [batch_size x num_decoder_symbols]. * <b>`targets`</b>: List of 1D batch-sized int32 Tensors of the same length as logits. * <b>`weights`</b>: List of 1D batch-sized float-Tensors of t...
package swarm // RuntimeType is the type of runtime used for the TaskSpec type RuntimeType string // RuntimeURL is the proto type url type RuntimeURL string const ( // RuntimeContainer is the container based runtime RuntimeContainer RuntimeType = "container" // RuntimePlugin is the plugin based runtime RuntimePl...
<!-- Here all from the top till last css file --> <!-- node modules scripts --> <script src="./node_modules/jquery/dist/jquery.min.js"></script> <script src="./node_modules/handlebars/dist/handlebars.min.js"></script> <script src="./node_modules/sammy/lib/sammy.js"></script> <script src="./node_modules/sam...
var $parentNode = window.parent.document; function $childNode(name) { return window.frames[name] } // tooltips $('.tooltip-demo').tooltip({ selector: "[data-toggle=tooltip]", container: "body" }); // 使用animation.css修改Bootstrap Modal $('.modal').appendTo("body"); $("[data-toggle=popover]")...
namespace WindowsFormsApplication6 { partial class Form5 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
'use strict'; var esprima; // Browserified version does not have esprima // // 1. For node.js just require module as deps // 2. For browser try to require mudule via external AMD system. // If not found - try to fallback to window.esprima. If not // found too - then fail to parse. // try { // workaround to ex...
#include <iostream> #include <pangolin/pangolin.h> int main(/*int argc, char* argv[]*/) { // Create OpenGL window in single line pangolin::CreateWindowAndBind("Main",640,480); // Data logger object pangolin::DataLog log; // Optionally add named labels std::vector<std::string> labels; labels.push_back(...
#include "GrGLIndexBuffer.h" #include "GrGpuGL.h" GrGLIndexBuffer::GrGLIndexBuffer(GrGpuGL* gpu, const Desc& desc) : INHERITED(gpu, desc.fIsWrapped, desc.fSizeInBytes, desc.fDynamic, 0 == desc.fID) , fImpl(gpu, desc, GR_GL_ELEMENT_ARRAY_BUFFER) { this->registerWithCache(); } void GrGLIndexBuffer::onRele...