text stringlengths 3 1.05M |
|---|
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__char_file_fopen_52a.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-52a.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: file Read input from a file
* Good... |
// Define module using Universal Module Definition pattern
// https://github.com/umdjs/umd/blob/master/amdWeb.js
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// Support AMD. Register as an anonymous module.
// EDIT: List all dependencies in AMD style
define(['d3'], factor... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Page - Photon Admin Panel Theme</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="http://photonui.orangehilldev.com/css/css_comp... |
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... |
module Pageflow
class Account < ApplicationRecord
include FeatureTarget
include SerializationBlacklist
has_many :entries, dependent: :restrict_with_exception
has_many :folders, dependent: :destroy
has_many :memberships, as: :entity, dependent: :restrict_with_exception
has_many :users, through... |
struct HelloWorld
{
void operator()() const
{
std::cout << "Hello, World!" << std::endl;
}
};
//]
int main()
{
//[ hello_world_single_code_snippet
// Signal with no arguments and a void return value
boost::signals2::signal<void ()> sig;
// Connect a HelloWorld slot
HelloWorld hello;
sig.connect(he... |
CREATE TABLE country (id NVARCHAR(2) NOT NULL, name NVARCHAR(64) NOT NULL, PRIMARY KEY (id));
INSERT INTO [country] ([id], [name]) VALUES ('bi', 'Bislama');
INSERT INTO [country] ([id], [name]) VALUES ('gwi', 'Gwichʼin');
INSERT INTO [country] ([id], [name]) VALUES ('ab', 'abchaski');
INSERT INTO [country] ([id], [nam... |
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <ctype.h>
#include <stdbool.h>
#include "expand_env.h"
static bool allowed_env_var_name(char c)
{
return c != '\0' &&
!isblank(c) &&
!iscntrl(c) &&
c != '/' &&
c != '\\' &&
c != '=' &&
c != '$';
}
#defin... |
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null |
_By: Guy Salton, BlazeMeter Inc._
## How to Automate the Pre/Post Test Actions of Your Load Test
These days everybody in the performance testing world is talking about automation. Continuous Delivery is becoming the ‘new normal’, especially for SaaS companies continually creating new features and improving their w... |
<?php
namespace Illuminate\Tests\Foundation;
use Mockery as m;
use PHPUnit\Framework\TestCase;
class FoundationComposerTest extends TestCase
{
public function tearDown()
{
m::close();
}
public function testDumpAutoloadRunsTheCorrectCommand()
{
$escape = '\\' === DIRECTORY_SEPARAT... |
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-analysis: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { Observable } from 'rxjs/Observable';
import { Subject } from 'rxjs/Subject';
import { SearchService, SearchResult, SearchResults } from '../search.service';
import { SearchResultsComponent,... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Cont... |
var arrayPool = require('lodash._arraypool');
/**
* Gets an array from the array pool or creates a new one if the pool is empty.
*
* @private
* @returns {Array} The array from the pool.
*/
function getArray() {
return arrayPool.pop() || [];
}
module.exports = getArray;
|
<?php
namespace App\Listeners;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use App\Services\Statut;
class ListenerBase
{
/**
* The Statut instance.
*
* @var App\Services\Statut
*/
protected $statut;
/**
* Create the event listener.
*... |
module MergeRequests
# MergeService class
#
# Mark existing merge request as merged
# and execute all hooks and notifications
# Called when you do merge via command line and push code
# to target branch
class MergeService < BaseMergeService
def execute(merge_request, current_user, commit_message)
... |
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Console</name>
</assembly>
<members>
<member name="T:System.Console">
<summary>表示控制台应用程序的标准输入流、输出流和错误流。此类不能被继承。若要浏览此类型的.NET Framework 源代码,请参阅 Reference Source。</summary>
<filterpriority>1</filterpriority>
</memb... |
package calculator
import scala.util.DynamicVariable
class Signal[T](expr: => T) {
import Signal._
private var myExpr: () => T = _
private var myValue: T = _
private var observers: Set[Signal[_]] = Set()
private var observed: List[Signal[_]] = Nil
update(expr)
protected def computeValue(): Unit = {
... |
package org.hawkular.rest.api.v1.interfaces;
import static javax.ws.rs.core.MediaType.APPLICATION_JSON;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathPara... |
(function () {
var globalObject =
typeof window !== 'undefined' ? window :
typeof self !== 'undefined' ? self :
typeof global !== 'undefined' ? global :
{};
globalObject.strings = globalObject.strings || {};
function addStrings(keyPrefix, strings) {
Ob... |
package com.google.security.zynamics.binnavi.Gui.GraphWindows.NodeTaggingTree;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@RunWith(Suite.class)
@SuiteClasses({com.google.security.zynamics.binnavi.Gui.GraphWindows.NodeTaggingTree.Nodes.AllTests.class}... |
#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_MIXING_AUDIO_SUPPORTED_RESPONSE_H_
#define SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_HMI_MIXING_AUDIO_SUPPORTED_RESPONSE_H_
#include "application_manager/comma... |
<?php
/**
* Service definition for Genomics (v1beta2).
*
* <p>
* Provides access to Genomics data.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/genomics/v1beta2/reference" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
cl... |
Revision
========
To get a revision from a *Repository* object:
.. code-block:: php
$revision = $repository->getRevision('master@{2 days ago}');
Getting the log
---------------
You can access a *Log* object starting from a revision using the *getLog*
method. This method takes two parameters: *offset* and *limi... |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Date Helper — CodeIgniter 3.0-dev documenta... |
@interface NSDateFormatter (Make)
+(NSDateFormatter *)dateFormatterWithFormat:(NSString *)format;
+(NSDateFormatter *)dateFormatterWithFormat:(NSString *)format timeZone:(NSTimeZone *)timeZone;
+(NSDateFormatter *)dateFormatterWithFormat:(NSString *)format timeZone:(NSTimeZone *)timeZone locale:(NSLocale *)locale;
+(NS... |
// Done by TheTutor
// This tutorial is all about "macros" -- As you may or may not recall, #define is
// a preprocessor directive that does a textual substitution BEFORE your .cpp file(s)
// are compiled. So for example:
/*
#define NUM 36
#include <iostream>
using namespace std;
int main()
{
cout << NUM;... |
[id^=shopItem] {
background-color : transparent;
border-style : solid;
border-color: transparent;
cursor : pointer;
overflow : visible;
position : absolute;
vertical-align : middle;
z-Index : 4;
}
#lofiCoinsPara {
font-family: Amethysta-Regular, sans-serif;
text-align : right;
... |
// Type definitions for pad 1.0
// Project: https://github.com/wdavidw/node-pad#readme
// Definitions by: Mohamed Hegazy <https://github.com/mhegazy>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = pad;
/** left pad */
declare function pad(length: number, text: string, char?: string): stri... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
package com.mongodb;
import org.junit.Test;
import java.net.UnknownHostException;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import static com.mongodb.ServerConnectionState.Connected;
import static com.mongodb.ServerConnectionState.Connecting;
import static com.mongodb.Server... |
<?php
namespace Sylius\Bundle\PaymentBundle\Form\Type;
use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType;
use Symfony\Component\Form\FormBuilderInterface;
/**
* Credit Card Form Type
*
* @author Dylan Johnson <eponymi.dev@gmail.com>
*/
class CreditCardType extends AbstractResourceType
{
/**
... |
'use strict';
!function(){
if(!console){
alert('console not found')
console = {
log: function(){},
error: function(){}
}
}
////////// IE8 /////////////
if (!Object.create) {
Object.create = (function(){
function F(){}
ret... |
package com.microsoft.azure.management.compute;
import com.microsoft.azure.SubResource;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Describes a set of certificates which are all in the same Key Vault.
*/
public class VaultSecretGroup {
/**
* The Relative URL of the ... |
module Hangman
module Dictionary
class Reader
attr_reader :file_path, :storage
def initialize(file_path)
@file_path = file_path
@storage = Storage.new
end
def read!
File.readlines(file_path).each do |line|
storage.add(line)
end
storage... |
.class public Landroid/graphics/drawable/PaintDrawable;
.super Landroid/graphics/drawable/ShapeDrawable;
.source "PaintDrawable.java"
# direct methods
.method public constructor <init>()V
.locals 0
.prologue
.line 32
invoke-direct {p0}, Landroid/graphics/drawable/ShapeDrawable;-><init>()V
.line ... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Imports System.Runtime.CompilerServices
Imports CompilationCreationTestHelpers
Imports Microsoft.CodeAnalysis.Test.Utilit... |
require('./angular-locale_ff-cm');
module.exports = 'ngLocale';
|
package org.apache.zeppelin.notebook;
import java.io.IOException;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
im... |
/**
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
*/
#ifndef CONF_CLOCK_H_INCLUDED
#define CONF_CLOCK_H_INCLUDED
//#define CONFIG_SYSCLK_INIT_CPUMASK (1 << SYSCLK_OCD)
//#define CONFIG_SYSCLK_INIT_PBAMASK (1 << SYSCLK_IISC)
//#define CONFIG_SYSCLK_INIT_PBBMASK (1 << S... |
//-----------------------------------NOTICE----------------------------------//
// Some of this file is automatically filled in by a Python script. Only //
// add custom code in the designated areas or it will be overwritten during //
// the next update. /... |
package org.apache.nifi.properties;
public interface SensitivePropertyProvider {
/**
* Returns the name of the underlying implementation.
*
* @return the name of this sensitive property provider
*/
String getName();
/**
* Returns the key used to identify the provider implementat... |
/*
* dewarp3.c
*
* Applying and stripping the page disparity model
*
* Apply disparity array
* l_int32 dewarpaApplyDisparity()
* static l_int32 pixApplyVertDisparity()
* static l_int32 pixApplyHorizDisparity()
*
* Stripping out data and populating ... |
<?php
namespace Symfony\Component\Validator\Tests\Constraints;
use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\Constraints\Callback;
use Symfony\Component\Validator\Constraints\CallbackValidator;
use Symfony\Component\Validator\ExecutionContextInterface;
use Symfony\Component\Validator\V... |
var baseSlice = require('../internal/baseSlice'),
createWrapper = require('../internal/createWrapper'),
replaceHolders = require('../internal/replaceHolders');
/** Used to compose bitmasks for wrapper metadata. */
var BIND_FLAG = 1,
PARTIAL_FLAG = 32;
/**
* Creates a function that invokes `func` with the... |
package kubeadm
import (
corev1 "k8s.io/api/core/v1"
rbacv1 "k8s.io/api/rbac/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/kubernetes/test/e2e/framework"
"github.com/onsi/ginkgo"
"github.com/onsi/gomega"
)
const (
bootstrapTokensGroup = "system:bootstrappers:kubeadm:d... |
<?php
namespace Symfony\Component\Console\Helper;
use Symfony\Component\Console\Exception\InvalidArgumentException;
use Symfony\Component\Console\Exception\RuntimeException;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\ConsoleOutputInterface;
use Symfony\Component\Console... |
<HTML>
<BODY BGCOLOR="white">
<PRE>
<FONT color="green">001</FONT> <a name="line.17"></a>
<FONT color="green">018</FONT> <a name="line.18"></a>
<FONT color="green">019</FONT> package org.apache.hadoop.mapreduce.lib.join;<a name="line.19"></a>
<FONT color="green">020</FONT> <a name="line.20"></a>
<FONT color... |
**Documentation:** [User Guide](https://zeppelin.apache.org/docs/latest/index.html)<br/>
**Mailing Lists:** [User and Dev mailing list](https://zeppelin.apache.org/community.html)<br/>
**Continuous Integration:**   {
var lastCalled;
return function tryFunc() {
var now = new Date().getTime();
var run = false;
if (lastCalled) {
var throttleValue = throttleValueFunc();
var elapsed = now - lastCalled;
if (elapsed > throttleValueFunc()) ... |
package org.projectfloodlight.openflow.protocol.ver15;
import org.projectfloodlight.openflow.protocol.*;
import org.projectfloodlight.openflow.protocol.action.*;
import org.projectfloodlight.openflow.protocol.actionid.*;
import org.projectfloodlight.openflow.protocol.bsntlv.*;
import org.projectfloodlight.openflow.pro... |
/**
* @include GeoExt/widgets/tree/TreeNodeUIEventMixin.js
*/
Ext.namespace("GeoExt.plugins");
/** api: (define)
* module = GeoExt.plugins
* class = TreeNodeRadioButton
*/
/** api: constructor
* A plugin to create tree node UIs with radio buttons. Can be plugged into
* any ``Ext.tree.TreePanel`` and w... |
package gccgoimporter
// This file opens a back door to the parser for golang.org/x/tools/go/gccgoexportdata.
import (
"go/types"
"io"
)
// Parse reads and parses gccgo export data from in and constructs a
// Package, inserting it into the imports map.
func Parse(in io.Reader, imports map[string]*types.Package, pa... |
<?php
namespace Aws\Route53\Exception;
/**
* The health check you are trying to create already exists. Route 53 returns this error when a health check has already been created with the specified CallerReference.
*/
class HealthCheckAlreadyExistsException extends Route53Exception {}
|
RESULT="pass"
old_deprecation_state="$(gcloud compute images describe "${OLD_IMAGE}" --project="${PROJECT}" --format='value(deprecated)')"
if [[ -z "${old_deprecation_state}" ]]; then
echo "Old image isn't deprecated"
echo "Deprecation state: ${old_deprecation_state}"
RESULT="fail"
fi
new_deprecation_state="$(gc... |
var clone = (function() {
'use strict';
/**
* Clones (copies) an Object using deep copying.
*
* This function supports circular references by default, but if you are certain
* there are no circular references in your object, you can save some CPU time
* by calling clone(obj, false).
*
* Caution: if `circular` i... |
package com.facebook.buck.cli;
import com.facebook.buck.event.BuckEventBus;
import com.facebook.buck.json.BuildFileParseException;
import com.facebook.buck.model.BuildTargetException;
import com.facebook.buck.parser.Parser;
import com.facebook.buck.parser.ParserConfig;
import com.facebook.buck.parser.TargetNodeSpec;... |
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class ComDefaultInterfaceAttribute : Attribute
{
public ComDefaultInterfaceAttribute(Type defaultInterface)
{
Value = defaultInterface;
}
public T... |
<?php
namespace Sculpin\Bundle\MarkdownTwigCompatBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Sculpin Markdown/Twig Compatibility Bundle.
*
* @author Beau Simensen <beau@dflydev.com>
*/
class SculpinMarkdownTwigCompatBundle extends Bundle
{
}
|
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyrigh... |
Converts HTML to [Markdown](http://daringfireball.net/projects/markdown/syntax).

## Documentation
Fully navigable documentation available on [GitHub Pages](http://baynezy.github.io/Html2Markdown/)
... |
class Solution(object):
def hasPathSum(self, root, sum):
"""
:type root: TreeNode
:type sum: int
:rtype: bool
"""
#if root is empty, return false
if not root:
return False
# if not empty (root has a value), then deduct root.val from sum,
... |
var webdriver = require('selenium-webdriver'),
q = require('q'),
ConfigParser = require('./configParser'),
log = require('./logger');
var PROMISE_TYPE = {
Q: 0,
WEBDRIVER: 1
};
/**
* The plugin API for Protractor. Note that this API is unstable. See
* plugins/README.md for more information.
*
* @... |
package org.apache.camel.component.jcr.springboot;
import javax.annotation.Generated;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* The jcr component allows you to add/read nodes to/from a JCR compliant
... |
/**
* @generated SignedSource<<e4927562baaf41e144b12990e05dcb44>>
* @lightSyntaxTransform
* @nogrep
*/
/* tslint:disable */
/* eslint-disable */
// @ts-nocheck
import { Fragment, ReaderFragment } from 'relay-runtime';
import { FragmentRefs } from "relay-runtime";
export type ExampleArtworkRoute_artwork$data = {
... |
package org.springframework.security.messaging.access.expression;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import org.springframework.expression.Expression;
import static org.fest.assertions.Assertions.ass... |
[Rework](https://github.com/visionmedia/rework) plugin that converts rem units
to pixel ones for creating
[CSS matching IE8 specifically](http://www.insertafter.com/blog-match_ie8_with_gulp_and_rework.html).
[](https://npmjs.org/package/rework-rem2px) [![Build... |
import express = require('express');
import passport = require('passport-strategy');
export class Strategy extends passport.Strategy {
constructor(options: any, verify?: Function) {
if (typeof options == 'function') {
verify = options;
options = {};
}
if (!verify) {... |
package io.fabric8.patch.plugin;
import java.io.File;
import java.util.List;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import io.fabric8.patch.impl.Offline;
/**
* Apply patches to an unpacked distribution... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014 Dyffy, Inc.
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef WALLETMODEL_H
#define WALLETMODEL_H
#include "paymentrequestplus.h"
#include "walle... |
prompt .. ok |
#import "RCTJavaScriptLoader.h"
#import "RCTBridge.h"
#import "RCTConvert.h"
#import "RCTSourceCode.h"
#import "RCTUtils.h"
@implementation RCTJavaScriptLoader
{
__weak RCTBridge *_bridge;
}
- (instancetype)initWithBridge:(RCTBridge *)bridge
{
RCTAssert(bridge, @"bridge parameter is required");
if ((self = ... |
package org.apache.carbondata.core.locks;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.channels.FileChannel;
import java.nio.channels.FileLock;
import java.nio.channels.OverlappingFileLockException;
import org.apache.carbondata.common.logging.LogService;
import org.apache.carbondata.... |
package v1beta1
import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
)
// GroupName is the group name used in this package
const GroupName = "kubelet.config.k8s.io"
// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = schema.GroupVersion{Gr... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.VeeValidate = factory());
}(this, (function () { 'use strict';
var email$1 = (function (value) {
return (/^(([^<>()[\]... |
// Some utility routines relating to unicode.
#ifndef FOLLY_UNICODE_H_
#define FOLLY_UNICODE_H_
#include <folly/FBString.h>
namespace folly {
//////////////////////////////////////////////////////////////////////
/*
* Encode a single unicode code point into a UTF-8 byte sequence.
*
* Return value is undefined... |
//-----------------------------------------------------------------------
// <copyright file="RemoteConfigSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
... |
var http = require('http')
, https = false
, tls = false
, url = require('url')
, util = require('util')
, stream = require('stream')
, qs = require('qs')
, querystring = require('querystring')
, crypto = require('crypto')
, oauth = require('oauth-sign')
, hawk = require('hawk')
, aws = require('... |
/*!
* inferno-router v1.0.0-beta39
* (c) 2016 Dominic Gannaway
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('./inferno-create-element'), require('./inferno-component'), require('./inferno')) :
typ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
package net.syntaxblitz.TimTerm;
import java.util.ArrayList;
public class TextProcessor {
public static void processText(String text) {
String[] bits = text.split(" ");
// First we'll figure out which command they intended to use.
String command = bits[0];
// Now we'll search for quoted bits. These should... |
<?xml version="1.0" encoding="utf-8"?>
<!--
-->
<resources>
<string name="scanning">Scanning...</string>
<string name="app_name">Radar</string>
<string name="menu_standard">Standard</string>
<string name="menu_metric">Metric</string>
</resources>
|
/*!
* inferno-test-utils v1.0.0-beta28
* (c) 2016 Dominic Gannaway
* 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.Inferno = global... |
<?php namespace Interpro\QuickStorage\Concept\Command;
class DeleteGroupItemCommand extends Command {
public $group_id;
/**
* Create a new command instance.
*
* @return void
*/
public function __construct($group_id)
{
$this->group_id = $group_id;
}
}
|
package org.keycloak.example.photoz.admin;
import org.keycloak.example.photoz.CustomDatabase;
import org.keycloak.example.photoz.entity.Album;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.Re... |
package copy
import (
"context"
"errors"
"fmt"
"strings"
"github.com/containers/image/v5/manifest"
"github.com/containers/image/v5/types"
"github.com/sirupsen/logrus"
)
// preferredManifestMIMETypes lists manifest MIME types in order of our preference, if we can't use the original manifest and need to convert... |
template <class T>
class CefRefPtr : public scoped_refptr<T> {
public:
typedef scoped_refptr<T> parent;
CefRefPtr() : parent() {}
CefRefPtr(T* p) : parent(p) {}
CefRefPtr(const scoped_refptr<T>& r) : parent(r) {}
template <typename U>
CefRefPtr(const scoped_refptr<U>& r) : parent(r) {}
};
#endif // C... |
// 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.Diagnostics;
using System.Globalization;
using System.Threading;
namespace Roslyn.Test.Utilities
{
public class EnsureEnglish... |
#include "arc.h"
using namespace trikControl;
Arc::Arc(int x, int y, int width, int height, int startAngle, int spanAngle, QColor color, int penWidth)
: Shape(color, penWidth)
, mArc(QRect(x, y, width, height))
, mStartAngle(startAngle)
, mSpanAngle(spanAngle)
{
}
void Arc::draw(QPainter *painter)
{
painter->... |
<?php
namespace PhpOffice\PhpWord\Writer\Word2007\Element;
use PhpOffice\PhpWord\Element\Image as ImageElement;
use PhpOffice\PhpWord\Shared\XMLWriter;
use PhpOffice\PhpWord\Writer\Word2007\Style\Image as ImageStyleWriter;
/**
* Image element writer
*
* @since 0.10.0
*/
class Image extends AbstractElement
{
... |
package android.media;
/**
* {@hide}
*/
public interface MediaScannerClient
{
public void scanFile(String path, long lastModified, long fileSize,
boolean isDirectory, boolean noMedia);
/**
* Called by native code to return metadata extracted from media files.
*/
public void h... |
1. With your web browser goto https://github.com/caltechlibrary/eprinttools/releases/
2. Download the file called "eprinttools-v0.0.18-macosx-amd64.zip".
+ if there is a newer version (e.g. v0.0.19) download that instead
3. Unzip the downloaded zip file
4. Copy "bin/doi2eprintxml" to your local **bin** folder
... |
#!/bin/bash
# Copyright 2015 The Kubernetes 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law ... |
@interface RadarChartViewController : DemoBaseViewController
@end
|
/***************************************************************************************************
* *
* version 2.0.5 *
* ... |
/**
* Data Transfer Objects.
*/
package com.hillwater.service.dto;
|
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Namespace Microsoft.CodeAnalysis.Editor.UnitTests.ReferenceHighlighting
Public Class VisualBasicReferenceHighlightingTests
Inherits AbstractReferen... |
.yui3-scrollview-scrollbar {
opacity: 1;
position: absolute;
width: 6px;
height: 10px;
}
.yui3-scrollview-scrollbar {
top: 0;
right: 1px;
}
.yui3-scrollview-scrollbar-horiz {
top:auto;
height: 8px;
width: 20px;
bottom: 1px;
left: 0;
}
.yui3-scrollview-scrollbar .yui3-scro... |