text stringlengths 3 1.05M |
|---|
package unix_test
import (
"io/ioutil"
"net"
"os"
"path/filepath"
"testing"
"golang.org/x/sys/unix"
)
func TestSendfile(t *testing.T) {
// Set up source data file.
tempDir, err := ioutil.TempDir("", "TestSendfile")
if err != nil {
t.Fatal(err)
}
defer os.RemoveAll(tempDir)
name := filepath.Join(tempDir... |
using System;
namespace Mono.Cecil {
public sealed class AssemblyLinkedResource : Resource {
AssemblyNameReference reference;
public AssemblyNameReference Assembly {
get { return reference; }
set { reference = value; }
}
public override ResourceType ResourceType {
get { return ResourceType.Assemb... |
.. kay documentation master file, created by sphinx-quickstart on Sat Aug 22 17:07:40 2009.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
.. _index:
Добро пожаловоть в документацию Kay версии 1.1.0!
===============================================... |
package org.apache.spark.sql.catalyst.optimizer
import org.apache.spark.api.java.function.FilterFunction
import org.apache.spark.sql.catalyst.expressions._
import org.apache.spark.sql.catalyst.plans.logical._
import org.apache.spark.sql.catalyst.rules._
/*
* This file defines optimization rules related to object m... |
jQuery(document).ready(function ($) {
var dbType = $('#InstallForm_dbType').val();
var dbTypeName = dbTypes[dbType].toLocaleLowerCase();
/**
* Проходим по списку необходимых к отключаению полей:
*/
$.map($('.' + dbTypeName + '-disable'), function (item) {
$(item).hide();
});
... |
package model
import "github.com/jinzhu/gorm"
type Site struct {
ID uint64 `gorm:"primary_key"`
Domain string `gorm:"not null default '' index(domain) VARCHAR(200)"`
Path string `gorm:"not null default '' index(domain) VARCHAR(100)"`
}
// NewSite 创建站点
func NewSite(site *Site) (db *gorm.DB) {
db = Database.... |
`BUILD` rules define dependencies, answering the question:
on what packages does _foo_ depend?
The `BUILD` file in this package allows one to define
_allowed_ reverse dependencies, answering the question:
given a package _foo_, what other specific packages are
allowed to depend on it?
This is done via visibility rule... |
"""The SSDP integration."""
from __future__ import annotations
from collections.abc import Coroutine
from typing import Any, TypedDict
from homeassistant.core import HomeAssistant, callback
from homeassistant.data_entry_flow import FlowResult
class SSDPFlow(TypedDict):
"""A queued ssdp discovery flow."""
d... |
require 'formula'
class Avian < Formula
homepage 'http://oss.readytalk.com/avian/'
head 'https://github.com/ReadyTalk/avian.git'
url 'https://github.com/ReadyTalk/avian/archive/v0.7.1.1.tar.gz'
sha1 '326f127f146f46a5b35567b1717ea4a5b13833fd'
depends_on :macos => :lion
# Fix build with clang; already upst... |
// # Task automation for Ghost
//
// Run various tasks when developing for and working with Ghost.
//
// **Usage instructions:** can be found in the [Custom Tasks](#custom%20tasks) section or by running `grunt --help`.
//
// **Debug tip:** If you have any problems with any Grunt tasks, try running them with the `--verb... |
<?php
/**
* Processes API requests for the flexible A-Z/index page
*
* @author ryanajarrett
* @since 0.4
*/
class az_request extends search_request {
public static $params = array('type','category','keywords','initial','page','per_page');
protected $search_order = 'ASC';
protected $search_orderby = 'title... |
declare function _exports(
key: any,
dbName: any
): import('@nginstack/engine/lib/connection/Connection');
export = _exports;
|
package org.elasticsearch.env;
import org.apache.lucene.store.Lock;
import org.apache.lucene.util.IOUtils;
import org.elasticsearch.index.shard.ShardId;
import java.io.Closeable;
import java.io.IOException;
import java.util.Arrays;
import java.util.concurrent.atomic.AtomicBoolean;
/**
* A shard lock guarantees ex... |
package org.springframework.boot.test.autoconfigure.web.servlet;
import org.springframework.boot.test.context.SpringBootTestContextBootstrapper;
import org.springframework.core.annotation.MergedAnnotations;
import org.springframework.core.annotation.MergedAnnotations.SearchStrategy;
import org.springframework.test.c... |
<?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/xsd/maven-4.0.0.xsd">
<!--
Licensed to the Apache Software Foundation (ASF) under one or m... |
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE NoImplicitPrelude, MagicHash, UnboxedTuples #-}
-----------------------------------------------------------------------------
-- |
-- Module : Data.IORef
-- Copyright : (c) The University of Glasgow 2001
-- License : BSD-style (see the file libraries/base/LICENSE... |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... |
package sagan.blog.support;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.rometools.rome.feed.atom.Category;
import com.rometo... |
"""
Exception definitions.
"""
from oslo_vmware import exceptions
from cinder.i18n import _
class InvalidAdapterTypeException(exceptions.VMwareDriverException):
"""Thrown when the disk adapter type is invalid."""
msg_fmt = _("Invalid disk adapter type: %(invalid_type)s.")
class InvalidDiskTypeException(ex... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<link rel="stylesheet" type="text/css" href="search.... |
self=$(readlink "$0")
resolved=$(dirname "$self")
dotnet $resolved/dotnet-new3.dll "$@"
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Q&A - jQuery Mobile: Why isn't DOM ready working for my scripts?</title>
<link rel="stylesheet" href="../css/themes/default/jquery.mobile-1.3.2.min.css">
<link rel="stylesheet" href="..... |
@interface KPBMenuHeaderView ()
@property (nonatomic, weak) UILabel *dayLabel;
@property (nonatomic, weak) UILabel *dateLabel;
@end
@implementation KPBMenuHeaderView
static UIFont *DayLabelFont;
static UIFont *DateLabelFont;
+ (void)initialize
{
DayLabelFont = [UIFont systemFontOfSize:18.f];
DateLabelFont ... |
#ifndef BOOST_SERIALIZATION_COLLECTION_TRAITS_HPP
#define BOOST_SERIALIZATION_COLLECTION_TRAITS_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// collection_traits.hpp:
// (C) Copyright 20... |
<?xml version="1.0"?>
<beans
default-destroy-method="destroy"
default-init-method="afterPropertiesSet"
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/bea... |
<?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">
<modelVersion>4.0.0</modelVersion>
<!--<parent>-->
<!--<artifactId... |
from rest_framework.generics import (ListCreateAPIView,
RetrieveUpdateDestroyAPIView)
from rest_framework.permissions import (SAFE_METHODS, IsAuthenticated,
IsAuthenticatedOrReadOnly)
from utils.mixins import MultipleFieldLookupMixin
from .m... |
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProp... |
package com.theironyard.entities;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.persistence.*;
/**
* Created by VeryBarry on 11/16/16.
*/
@Entity
@Table(name = "users")
public class User {
@Id
@GeneratedValue
public int id;
@Column(nullable = false, unique = true)
String us... |
<?php
namespace ZendTest\Form\View\Helper\Captcha;
use Zend\Captcha\Dumb as DumbCaptcha;
use Zend\Form\Element\Captcha as CaptchaElement;
use Zend\Form\View\Helper\Captcha\Dumb as DumbCaptchaHelper;
use ZendTest\Form\View\Helper\CommonTestCase;
class DumbTest extends CommonTestCase
{
public function setUp()
... |
#import "CDVPlugin.h"
#define kCDVLocalStorageErrorDomain @"kCDVLocalStorageErrorDomain"
#define kCDVLocalStorageFileOperationError 1
@interface CDVLocalStorage : CDVPlugin
@property (nonatomic, readonly, strong) NSMutableArray* backupInfo;
- (BOOL)shouldBackup;
- (BOOL)shouldRestore;
- (void)backup:(CDVInvokedUr... |
/**
* @license AngularJS v1.4.8
* (c) 2010-2015 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
/**
* @ngdoc module
* @name ngRoute
* @description
*
* # ngRoute
*
* The `ngRoute` module provides routing and deeplinking services and directives for angu... |
// Copyright (c) 2012-2014 Sharpex2D - Kevin Scholz (ThuCommix)
//
// 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,... |
package org.apache.beam.sdk.io.aws2.kinesis;
import static java.util.Collections.singletonList;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Answers.RETURNS_DEEP_STUBS;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.eq;
import static o... |
/*
Adds cosmetic styling to Dijit. Users may swap with a custom theme CSS file.
NOTES:
---
Dialog.css contains css classes for both Dialog and Tooltip!
This because currently a dijit.TooltipDialog exist. Until this is resolved
you need to include Dialog.css for both dijits
---
Toolbar.css contains classes als... |
var jwt = require('../index');
var jws = require('jws');
var fs = require('fs');
var path = require('path');
var sinon = require('sinon');
var assert = require('chai').assert;
describe('verify', function() {
var pub = fs.readFileSync(path.join(__dirname, 'pub.pem'));
var priv = fs.readFileSync(path.join... |
namespace printing {
PRINTING_EXPORT extern const char kIsFirstRequest[];
PRINTING_EXPORT extern const char kPreviewRequestID[];
PRINTING_EXPORT extern const char kPreviewInitiatorHostId[];
PRINTING_EXPORT extern const char kPreviewInitiatorRoutingId[];
PRINTING_EXPORT extern const char kPreviewUIID[];
PRINTING_EXPORT... |
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<qnx xmlns="http://www.qnx.com/schemas/application/1.0">
<!-- BlackBerry Tablet OS application descriptor file.
Specifies parameters for identifying, installing, and launching native applications on BlackBerry Tablet OS.
-->
<!-- A universally ... |
docker kill web
|
const getUsage = require('../')
const optionList = getUsage.optionList([
{
name: 'help', description: 'Display this usage guide.',
alias: 'h', type: Boolean
},
{
name: 'src', description: 'The input files to process',
type: String, multiple: true, defaultOption: true, typeLabel: '[underline]{file... |
class Service::PivotalTracker < Service
password :token
string :branch, :endpoint
white_list :endpoint, :branch
def receive_push
token = data['token']
branches = data['branch'].to_s.split(/\s+/)
ref = payload["ref"].to_s
notify if branches.empty? || branches.include?(ref.split("/").last)
end... |
[![Build Status][ci-img]][ci] [![codecov][codecov-img]][codecov] [![npm][npm-img]][npm]
# CSS Modules: Local by Default
Transformation examples:
```css
.foo { ... } /* => */ :local(.foo) { ... }
.foo .bar { ... } /* => */ :local(.foo) :local(.bar) { ... }
/* Shorthand global selector */
:global .foo .bar { ... } ... |
package org.piraso.server.dispatcher;
import org.piraso.api.Level;
import org.piraso.api.entry.Entry;
import org.piraso.api.entry.MessageEntry;
import org.piraso.server.GroupChainId;
import org.piraso.server.PirasoContext;
import org.piraso.server.PirasoContextHolder;
import java.util.ArrayList;
import java.util.Co... |
- Azure Resource Manager DataFactory client library for Java. This package contains Microsoft Azure SDK for DataFactory Management SDK. The Azure Data Factory V2 management API provides a RESTful set of web services that interact with Azure Data Factory V2 services. Package tag package-2018-06. For documentation on how... |
import argparse
import os
import subprocess
import sys
import tempfile
from Crypto.PublicKey import RSA
from jinja2 import Template
def main():
parser = argparse.ArgumentParser()
parser.add_argument('--github-user', help='The GitHub user whose keys will'
' be preloaded for the pi user. If absent authentica... |
package federation
// FederationNameAnnotation is the annotation which holds the name of
// the federation that a federation control plane component is associated
// with. It must be applied to all the API types that represent that federations
// control plane's components in the host cluster and in joining clusters... |
angular.module('argus.services.search', [])
.service('SearchService', ['$q', '$http', 'CONFIG', function($q, $http, CONFIG) {
this.search = function(searchParams) {
if (!searchParams) return;
// TODO: refactor api call to a separate factory for metric queries
var request = $http({
... |
#include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include "netbase.h"
#include "optionsmodel.h"
#include <QDir>
#include <QIntValidator>
#include <QLocale>
#include <QMessageBox>
#include <QRegExp>
#include <QRegExpValidator>
OptionsDialog::OptionsDi... |
<?php
namespace Symfony\Bridge\Twig\Tests\Extension;
use Symfony\Bridge\Twig\Extension\FormExtension;
use Symfony\Bridge\Twig\Form\TwigRenderer;
use Symfony\Bridge\Twig\Form\TwigRendererEngine;
use Symfony\Bridge\Twig\Extension\TranslationExtension;
use Symfony\Bridge\Twig\Tests\Extension\Fixtures\StubTranslator;
u... |
enum
{
// NOTE: The first 5 flags bits are reserved for attribute type
FATTRIB_TYPEMASK = 0x1F,
FATTRIB_READONLY = (1<<5), // Don't allow editing value in editors
FATTRIB_DONTSAVE = (1<<6), // Don't persist to .dmx file
FATTRIB_DIRTY = (1<<7), // Indicates the attribute has been changed since the resolve pha... |
package libcontainer
import (
"fmt"
info "github.com/google/cadvisor/info/v1"
"github.com/google/cadvisor/container"
"github.com/opencontainers/runc/libcontainer/cgroups"
fs "github.com/opencontainers/runc/libcontainer/cgroups/fs"
fs2 "github.com/opencontainers/runc/libcontainer/cgroups/fs2"
configs "github.... |
/*jslint strict: false, plusplus: false, sub: true */
/*global window: false, navigator: false, document: false, importScripts: false,
jQuery: false, clearInterval: false, setInterval: false, self: false,
setTimeout: false, opera: false */
var requirejs, require, define;
(function () {
//Change this version n... |
"""Integration tests for mb command."""
from __future__ import absolute_import
import gslib.tests.testcase as testcase
from gslib.tests.testcase.integration_testcase import SkipForS3
from gslib.tests.util import ObjectToURI as suri
class TestMb(testcase.GsUtilIntegrationTestCase):
"""Integration tests for mb comm... |
package mysql
import (
"crypto/tls"
"database/sql"
"database/sql/driver"
"fmt"
"io"
"io/ioutil"
"net"
"net/url"
"os"
"strings"
"testing"
"time"
)
var (
dsn string
netAddr string
available bool
)
var (
tDate = time.Date(2012, 6, 14, 0, 0, 0, 0, time.UTC)
sDate = "2012-06-14"
tDateT... |
package de.seven.fate.person.dto;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
@XmlRootElement(name = "person")
@XmlAccessorType(XmlAccessType... |
<?php
/**
* The "nodePools" collection of methods.
* Typical usage is:
* <code>
* $containerService = new Google_Service_Container(...);
* $nodePools = $containerService->nodePools;
* </code>
*/
class Google_Service_Container_Resource_ProjectsZonesClustersNodePools extends Google_Service_Resource
{
/**... |
CKEDITOR.plugins.add( 'devtools',
{
lang : [ 'en' ],
init : function( editor )
{
editor._.showDialogDefinitionTooltips = 1;
},
onLoad : function()
{
CKEDITOR.document.appendStyleText( CKEDITOR.config.devtools_styles ||
'#cke_tooltip { padding: 5px; border: 2px solid #333; background: #... |
(function (root, factory) {
// Node.
if(typeof module === 'object' && typeof module.exports === 'object') {
exports = module.exports = factory(require("terraformer"));
} else if(typeof navigator === "object") {
// Browser Global.
if (!root.Terraformer){
throw new Error("Terraformer.WKT requires... |
@interface AMVideoContent () {
@public
jint duration_;
jint w_;
jint h_;
}
@end
@implementation AMVideoContent
+ (AMVideoContent *)createLocalVideoWithNSString:(NSString *)descriptor
withNSString:(NSString *)fileName
withInt:(jint)fi... |
package com.thinkgem.jeesite.modules.sys.utils;
import java.lang.reflect.Method;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.web.method.HandlerMethod;
import com.googl... |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
<script src="{{ site.url }}/assets/js/scripts.min.js"></script>
{% if site.search %}
<!-- Jekyll Simple Sear... |
'use strict';
var async = require('async');
var VistaJS = require('../core/VistaJS');
var RpcParameter = VistaJS.RpcParameter;
module.exports = function(writebackContext, callback) {
var pid = writebackContext.pid;
async.series([
function sendDataToVista(callback) {
var parameters = [];
... |
var mathmode = require('mathmode');
var express = require('express');
var app = express();
app.use(express.static(__dirname + '/public'));
app.get('*', function(req, res) {
try {
var eq = decodeURIComponent(req.originalUrl.substring(1));
var math = mathmode(eq);
res.type('png');
math.pipe(res);
}... |
gem 'minitest' # make sure we get the gem, not stdlib
require 'minitest'
require 'active_support/testing/tagged_logging'
require 'active_support/testing/setup_and_teardown'
require 'active_support/testing/assertions'
require 'active_support/testing/deprecation'
require 'active_support/testing/declarative'
require 'acti... |
package com.unual.inote.utils;
import android.content.Context;
import android.content.SharedPreferences;
import com.unual.inote.INoteApplication;
import com.unual.inote.bean.UserInfo;
/**
* Created by unual on 2017/7/5.
*/
public class AppSharedPreferences {
private static AppSharedPreferences mInstance;
... |
using namespace std;
class RationalException {
string message_;
public:
RationalException(string message)
: message_(message)
{}
string get_message() const {
return message_;
}
};
class Rational {
long numerator_, denominator_;
public:
... |
package org.apache.jena.sparql.function.library.leviathan;
import org.apache.jena.sparql.expr.NodeValue ;
import org.apache.jena.sparql.function.FunctionBase2 ;
public class root extends FunctionBase2 {
@Override
public NodeValue exec(NodeValue v1, NodeValue v2) {
double value = v1.getDouble();
... |
using System;
using System.Linq;
using Microsoft.Azure;
using Microsoft.Azure.Management.DataLake.AnalyticsJob.Models;
namespace Microsoft.Azure.Management.DataLake.AnalyticsJob.Models
{
/// <summary>
/// Data Lake Analytics job data path information.
/// </summary>
public partial class JobDataPathGetR... |
<html>
<head>
<title>Angular 2 QuickStart</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
<!-- 1. Load libraries -->
<!-- Polyfill(s) for older browsers -->
<script src="node_modules/core-js/client/... |
import IDObject from "../Base/IDObject";
import { IAttributeDeclaration, ILazyAttributeDeclaration, IStandardAttributeDeclaration } from "../Interface/IAttributeDeclaration";
import ITreeInitializedInfo from "../Interface/ITreeInitializedInfo";
import Ensure from "../Tool/Ensure";
import { GomlInterface, Name, Nullable... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2016 JustWayward Team
~
~ 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-... |
namespace test {
// Testing class that allows embedders to inject an arbitrary CldDataHarness
// implementation into the runtime by defining a subclass of
// CldDataHarnessFactory and setting the global instance of it with
// Set(CldDataHarnessFactory*). Chromium code should use the factory instance
// returned by Get... |
package io.fabric8.forge.rest.dto;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class CommandInputDTO {
private final CommandInfoDTO info;
priva... |
static const float delay = 0.f;
static const float duration = .25f;
static const enum UIViewAnimationOptions options = UIViewAnimationOptionCurveEaseIn;
@interface SWActionSheetVC : UIViewController
@property (nonatomic, retain) SWActionSheet *actionSheet;
@end
@interface SWActionSheet ()
{
UIWindow *SWActi... |
import UserPage from 'flarum/components/UserPage';
import DiscussionList from 'flarum/components/DiscussionList';
/**
* The `DiscussionsUserPage` component shows a discussion list inside of a user
* page.
*/
export default class DiscussionsUserPage extends UserPage {
init() {
super.init();
this.loadUser(... |
<?php
namespace CloudCreativity\JsonApi\Contracts\Utils;
use Neomerx\JsonApi\Exceptions\ErrorCollection;
/**
* Interface ErrorsAwareInterface
*
* @package CloudCreativity\JsonApi
*/
interface ErrorsAwareInterface
{
/**
* @return ErrorCollection
*/
public function getErrors();
}
|
package parquet.pig.summary;
import java.util.Map;
import org.apache.pig.impl.logicalLayer.schema.Schema;
import org.apache.pig.impl.logicalLayer.schema.Schema.FieldSchema;
/**
* Summary data for a Map
*
* @author Julien Le Dem
*
*/
public class MapSummaryData extends SummaryData {
private ValueStat size = ... |
/**
* @license Highstock JS v8.1.0 (2020-05-05)
* @module highcharts/highstock
*
* (c) 2009-2018 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import Highcharts from './highcharts.src.js';
import './modules/stock.src.js';
Highcharts.product = 'Highstock';
export default Highcharts;
|
/*
* cgePlatforms.h
*
* Created on: 2013-12-31
* Author: Wang Yang
* Description: load some library and do some essential initialization before compiling.
*/
#ifndef CGEPLATFORMS_H_
#define CGEPLATFORMS_H_
#include <cstdio>
#ifdef _CGE_USE_ES_API_3_0_
#include <GLES3/gl3.h>
#include <GLES3/gl3ext.h... |
<div class="modal-header">
<h3>Exploration Navigation</h3>
</div>
<div class="modal-body oppia-state-graph-visualization-container">
<state-graph-visualization class="oppia-state-graph-visualization"
[allowPanning]="true"
[currentStateId]="currentStateName"... |
from __future__ import unicode_literals
from django.contrib.admin.utils import quote
from django.contrib.auth.models import User
from django.template.response import TemplateResponse
from django.test import TestCase, override_settings
from django.urls import reverse
from .models import Action, Car, Person
@override... |
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.s=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<?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.... |
CREATE TABLE `company` (
`uuid` VARCHAR(255),
`name` VARCHAR(255) NOT NULL DEFAULT "",
`archived` TINYINT(1) DEFAULT 0 NOT NULL,
`default_timezone` VARCHAR(255) NOT NULL DEFAULT "",
`default_day_week_starts` VARCHAR(20) NOT NULL DEFAULT "monday",
PRIMARY KEY (`uuid`)
);
CREATE TABLE `team` (
... |
from PIL import Image
def get_image(target_img):
img = Image.open(target_img)
return img.load()
def get_size(target_img):
img = Image.open(target_img)
return img.size
|
package com.jetbrains.python.refactoring.changeSignature;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.module.ModuleUtilCore;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Ref;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.PsiElemen... |
class AppEngineJavaSdk < Formula
desc "Google App Engine for Java"
homepage "https://cloud.google.com/appengine/docs/java/gettingstarted/introduction"
url "https://storage.googleapis.com/appengine-sdks/featured/appengine-java-sdk-1.9.23.zip"
sha256 "05e667036e9ef4f999b829fc08f8e5395b33a5a3c30afa9919213088db2b2e... |
cask "camed" do
version "3.2.2"
sha256 "407e101a3a47566395606b03114388f94f48b488d3fa27041aecb937eb43bd12"
url "https://downloads.sourceforge.net/camprocessor/CAMEd-#{version}-macosx-cocoa-x86_64.tar.gz",
verified: "downloads.sourceforge.net/camprocessor/"
name "CAM Editor"
desc "XML editor"
homepage ... |
module Spree
class Calculator::FreeShipping < Calculator
def self.description
Spree.t(:free_shipping)
end
def compute(object)
if object.is_a?(Array)
return if object.empty?
order = object.first.order
else
order = object
end
order.ship_total
end
... |
We'd love for you to contribute to our source code and to make AngularJS even better than it is
today! Here are the guidelines we'd like you to follow:
- [Code of Conduct](#coc)
- [Question or Problem?](#question)
- [Issues and Bugs](#issue)
- [Feature Requests](#feature)
- [Submission Guidelines](#submit)
- [Co... |
<!DOCTYPE html>
<title>Reference for WebVTT rendering, bold object with class, ::cue(.foo) selector</title>
<style>
html { overflow:hidden }
body { margin:0 }
.video {
display: inline-block;
width: 1280px;
height: 720px;
position: relative
}
.cue {
position: absolute;
bottom: 0;
left: 0;
... |
package metrics
// This file contains helpers for metrics that are associated to a profile.
var (
scheduledResult = "scheduled"
unschedulableResult = "unschedulable"
errorResult = "error"
)
// PodScheduled can records a successful scheduling attempt and the duration
// since `start`.
func PodSchedul... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2016 Red Hat, Inc. and/or its affiliates
~ and other contributors as indicated by the @author tags.
~
~ 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 ... |
CHANGELOG for 2.5.x
===================
This changelog references the relevant changes (bug and security fixes) done
in 2.5 minor versions.
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
To get the diff between two versions, go to https://github... |
define(function(require) {
'use strict';
var $ = require('oroquerydesigner/js/condition-builder');
var _ = require('underscore');
var defaults = {
eriaListSelector: '',
entityChoiceSelector: '',
onFieldsUpdate: {
toggleCriteria: []
}
};
return functi... |
from common.chrome_proxy_benchmark import ChromeProxyBenchmark
from integration_tests import chrome_proxy_measurements as measurements
from integration_tests import chrome_proxy_pagesets as pagesets
from telemetry import benchmark
DESKTOP_PLATFORMS = ['mac', 'linux', 'win', 'chromeos']
WEBVIEW_PLATFORMS = ['android-we... |
using namespace std;
using namespace boost;
#include "script.h"
#include "keystore.h"
#include "bignum.h"
#include "key.h"
#include "main.h"
#include "sync.h"
#include "util.h"
bool CheckSig(vector<unsigned char> vchSig, vector<unsigned char> vchPubKey, CScript scriptCode, const CTransaction& txTo, unsigned int nIn, ... |
/* ========================================================================
Component: Sortable
========================================================================== */
.uk-sortable {
position: relative;
}
/*
* 1. Makes text unselectable
* 2. Deactivate browser touch actions in IE11
*/
.uk-sortable > * {
... |
void test(int x) {
unsigned t0 = x; // expected-warning {{implicit conversion changes signedness}}
unsigned t1 = (t0 == 5 ? x : 0); // expected-warning {{operand of ? changes signedness}}
}
|