text stringlengths 3 1.05M |
|---|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_17) on Wed Jun 17 16:17:56 BST 2009 -->
<TITLE>
MailerResultCollector (Apache JMeter API)
</TITLE>
<META NAME="keywords" CON... |
package io.cattle.platform.core.json;
import io.cattle.platform.core.model.tables.records.CredentialRecord;
import javax.annotation.PostConstruct;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.module.SimpleModule;
public class BadFieldsModule extends SimpleModule {
p... |
var EventEmitter = require('../builtins/events').EventEmitter;
var test = require('tap').test;
test('setMaxListener', function (t) {
var ee = new EventEmitter;
ee.setMaxListeners(5);
t.end();
});
|
FN="pcxnData_2.16.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.14/data/experiment/src/contrib/pcxnData_2.16.0.tar.gz"
"https://bioarchive.galaxyproject.org/pcxnData_2.16.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-pcxndata/bioconductor-pcxndata_2.16.0_src_all.tar.gz"
)
MD5="aa1a5396c... |
var createPartial = require('../internal/createPartial');
/** Used to compose bitmasks for wrapper metadata. */
var PARTIAL_RIGHT_FLAG = 64;
/**
* This method is like `_.partial` except that partially applied arguments
* are appended to those provided to the new function.
*
* The `_.partialRight.placeholder` valu... |
test_name 'C3430 - clone (http protocol)'
# Globals
repo_name = 'testrepo_clone'
hosts.each do |host|
ruby = (host.is_pe? && '/opt/puppet/bin/ruby') || 'ruby'
tmpdir = host.tmpdir('vcsrepo')
step 'setup - create repo' do
git_pkg = 'git'
if host['platform'] =~ /ubuntu-10/
git_pkg = 'git-core'
e... |
'use strict'
/**
* Module dependencies.
* @private
*/
var escape = require('base64-url').escape
var randomBytes = require('random-bytes')
/**
* Module exports.
* @public
*/
module.exports = uid
module.exports.sync = uidSync
/**
* Create a unique ID.
*
* @param {number} length
* @param {function} [callb... |
module.exports = homePage;
function homePage()
{
this.code = function(req, res)
{
res.end(this.view.home);
};
} |
' 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.Composition
Imports Microsoft.CodeAnalysis.Editor.Implementation.NavigateTo
Imports Microsoft.CodeAnalysis.Host
Imports Microsoft.CodeAnalysis.H... |
<section id="contact" class="map">
<div class="container">
<div class="row text-left">
<div class="col-lg-12 ">
<hr/>
<div class="row">
<div class="col-lg-12">
<?php
if(!empty($note) ){
?>
<div class="alert alert-<?php echo... |
import logging
from collections import defaultdict
from scrapy.exceptions import NotConfigured
from scrapy.utils.misc import load_object
from scrapy.utils.defer import process_parallel, process_chain, process_chain_both
logger = logging.getLogger(__name__)
class MiddlewareManager(object):
"""Base class for impl... |
class Polarssl < Formula
desc "Cryptographic & SSL/TLS library"
homepage "https://tls.mbed.org/"
url "https://tls.mbed.org/download/mbedtls-2.1.0-gpl.tgz"
sha256 "b61b5fe6aa33ed365289478ac48f1496b97eef0fb813295e534e0c2bd435dcfc"
head "https://github.com/ARMmbed/mbedtls.git"
bottle do
cellar :any_skip_r... |
package org.apache.dubbo.metadata.report.identifier;
import org.apache.dubbo.metadata.MetadataConstants;
import org.apache.dubbo.metadata.report.identifier.KeyTypeEnum;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import static org.apache.dubbo.common.constants.CommonConstants.PATH_SE... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_long_realloc_68b.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml
Template File: sources-sinks-68b.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory M... |
#include "src/codec/SkJpegUtility.h"
#include "src/codec/SkCodecPriv.h"
/*
* Call longjmp to continue execution on an error
*/
void skjpeg_err_exit(j_common_ptr dinfo) {
// Simply return to Skia client code
// JpegDecoderMgr will take care of freeing memory
skjpeg_error_mgr* error = (skjpeg_error_mgr*... |
package org.drools.workbench.models.guided.dtable.shared.model;
/**
* This is a rule description
*/
public class DescriptionCol52 extends DTColumnConfig52 {
private static final long serialVersionUID = 729l;
private static final DTCellValue52 DEFAULT_DESCRIPTION = new DTCellValue52( "" );
@Override
... |
package raptor.chess;
import static raptor.chess.util.GameUtils.bitscanClear;
import static raptor.chess.util.GameUtils.bitscanForward;
import raptor.chess.pgn.PgnHeader;
import raptor.chess.util.GameUtils;
import raptor.chess.util.SanUtils;
import raptor.chess.util.SanUtils.SanValidations;
/**
* Follows FICS crazy... |
package workqueue
import (
"testing"
"time"
"k8s.io/client-go/pkg/api/v1"
)
func TestNoMemoryLeak(t *testing.T) {
timedQueue := NewTimedWorkQueue()
timedQueue.Add(&TimedWorkQueueItem{Object: &v1.Pod{}, StartTime: time.Time{}})
item, _ := timedQueue.Get()
timedQueue.Add(item)
// The item should still be in ... |
package io.quarkus.security.test.cdi.app;
public class TestException extends RuntimeException {
}
|
namespace net {
namespace {
// Returns a log message for all the response headers related to the auth
// challenge.
std::string AuthChallengeLogMessage(HttpResponseHeaders* headers) {
std::string msg;
std::string header_val;
void* iter = NULL;
while (headers->EnumerateHeader(&iter, "proxy-authenticate", &head... |
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC_DUMP_CAPTURE_STREAM_INFO_H_
#define WEBRTC_MODULES_AUDIO_PROCESSING_AEC_DUMP_CAPTURE_STREAM_INFO_H_
#include <memory>
#include <utility>
#include <vector>
#include "webrtc/base/checks.h"
#include "webrtc/base/ignore_wundef.h"
#include "webrtc/base/logging.h"
#include "web... |
package io.reactivex.netty.protocol.tcp.server.events;
import io.reactivex.netty.test.util.MockConnectionEventListener.Event;
import io.reactivex.netty.test.util.MockTcpServerEventListener;
import io.reactivex.netty.test.util.MockTcpServerEventListener.ServerEvent;
import org.junit.Rule;
import org.junit.Test;
import... |
// 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.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Thread... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
namespace StorSimple1200Series.Tests
{
using System;
public static class TestConstants
{
public const string DefaultResourceGroupName = "... |
package com.punchthrough.bean.sdk.utility;
import android.test.AndroidTestCase;
import com.punchthrough.bean.sdk.internal.BeanMessageID;
import com.punchthrough.bean.sdk.internal.upload.sketch.BeanState;
import com.punchthrough.bean.sdk.internal.exception.NoEnumFoundException;
import com.punchthrough.bean.sdk.interna... |
ifndef PDIR
GEN_LIBS = liblwipapi.a
endif
#############################################################
# Configuration i.e. compile options etc.
# Target specific stuff (defines etc.) goes in here!
# Generally values applying to a tree are captured in the
# makefile at its root level - these are then overridden
... |
import * as React from 'react';
import Checkbox from '@mui/joy/Checkbox';
<Checkbox id="test" name="test" />;
<Checkbox component="div" />;
<Checkbox data-testid="any" />;
<Checkbox defaultChecked />;
<Checkbox checked />;
<Checkbox indeterminate />;
<Checkbox
onChange={(event) => {
const checked = event.t... |
package edu.umass.cs.pig.test.merging;
import static org.junit.Assert.assertTrue;
import java.util.Map;
import java.util.Properties;
import org.apache.pig.ExecType;
import org.apache.pig.PigServer;
import org.apache.pig.backend.executionengine.ExecException;
import org.apache.pig.data.DataBag;
import org.apache.pig.... |
package com.intellij.util.io;
import org.jetbrains.annotations.NotNull;
import java.io.DataInput;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
public final class CompactDataInput implements DataInput {
private final InputStream in;
private final byte[] readBuffer = IOUtil.... |
/*
* logger-test.js: Tests for instances of the winston Logger
*
* (C) 2010 Charlie Robbins
* MIT LICENSE
*
*/
var path = require('path'),
vows = require('vows'),
assert = require('assert'),
winston = require('../lib/winston'),
helpers = require('./helpers');
vows.describe('winton/logger').addBa... |
// 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 Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Microsoft.CodeAnalysis.CSharp.Syntax
{
public partial cl... |
<?php
namespace OAuth\OAuth2\Service;
use OAuth\Common\Consumer\CredentialsInterface;
use OAuth\Common\Exception\Exception;
use OAuth\Common\Service\AbstractService as BaseAbstractService;
use OAuth\Common\Storage\TokenStorageInterface;
use OAuth\Common\Http\Exception\TokenResponseException;
use OAuth\Common\Http\Cli... |
import cradle = require("cradle");
cradle.setup({
host: 'living-room.couch',
cache: true,
raw: false,
forceSave: true
});
const connection = new cradle.Connection();
const connection2 = new(cradle.Connection);
const connection3 = new(cradle.Connection)('173.45.66.92');
connection.databases(function(... |
<types>
<!--
Adding German language to our Solr Schema German
If you enable this, make sure you have a folder called lang with stopwords_de.txt
and synonyms_de.txt in there
-->
<!--
<fieldType name="text_de" class="solr.TextField" positionIncrementGap="100">
<analyzer type="index">
<charFilter c... |
enmasse
=======
A toolbox for creating large-scale multi-agent systems
*Coming soon...*
|
using System.ComponentModel.DataAnnotations;
using AllReady.Areas.Admin.ViewModels.Shared;
namespace AllReady.Areas.Admin.ViewModels.Organization
{
public class OrganizationEditViewModel : IPrimaryContactViewModel
{
public int Id { get; set; }
[Required]
[Display(Name = "Organi... |
package com.bendb.dropwizard.redis.jersey;
import org.glassfish.hk2.utilities.binding.AbstractBinder;
import org.glassfish.jersey.process.internal.RequestScoped;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
/**
* Bind a JedisPool instance, as configured in Dropwizard, and a
* HK2 {@link o... |
- Adding `--output` option for writing to a file.
- Adding `go get` support for missing imports. For example if `gopkg.in/yaml.v2` is used within an input and not in `GOPATH`, goflat should `go get` the missing dependencies temporarily.
## 0.3.1 (03.02.2016)
### Bugfix
- This is a bug-fix that was introduced as of `v... |
#import <JFFAsyncOperations/JFFAsyncOperationsBlockDefinitions.h>
#import <Foundation/Foundation.h>
@class JFFPropertyPath;
@class JFFPropertyExtractor;
/**
A block that constructs an object of the JFFPropertyExtractor class.
It implements the **"Factory"** design pattern.
*/
typedef JFFPropertyExtractor *(^JFFPr... |
require 'test_helper'
class ActiveMerchant::Billing::OptimalPaymentGateway
public :cc_auth_request
end
class OptimalPaymentTest < Test::Unit::TestCase
def setup
@gateway = OptimalPaymentGateway.new(
:login => 'login',
:password => 'password'
)
@credit_card... |
package lila.security
import play.api.i18n.Lang
import scala.concurrent.duration._
import scalatags.Text.all._
import lila.common.config._
import lila.common.EmailAddress
import lila.i18n.I18nKeys.{ emails => trans }
import lila.mailer.Mailer
import lila.user.{ User, UserRepo }
final class Reopen(
mailer: lila.m... |
export * from './Payload'
export * from './OnSelectCallback'
export * from './OnClearCallback'
export * from './OnActionCallback'
|
<?php
namespace PhpOffice\PhpWord\Tests\Style;
use PhpOffice\PhpWord\Style\Spacing;
/**
* Test class for PhpOffice\PhpWord\Style\Spacing
*
* @coversDefaultClass \PhpOffice\PhpWord\Style\Spacing
*/
class SpacingTest extends \PHPUnit_Framework_TestCase
{
/**
* Test get/set
*/
public function tes... |
RSpec.describe Metric::ConfigSettings do
before do
EvmSpecHelper.create_guid_miq_server_zone
end
describe ".host_overhead_cpu" do
it "overridden in settings" do
stub_settings(:performance => {:host_overhead => {:cpu => 1.23}})
expect(described_class.host_overhead_cpu).to eq(1.23)
end
e... |
package org.apache.kafka.streams.kstream.internals;
import org.apache.kafka.streams.kstream.ForeachAction;
import org.apache.kafka.streams.processor.api.Processor;
import org.apache.kafka.streams.processor.api.ProcessorSupplier;
import org.apache.kafka.streams.processor.api.Record;
public class KStreamPrint<K, V> im... |
@interface QMDialogsMemoryStorage()
@property (strong, nonatomic) NSMutableDictionary *dialogs;
@property (strong, nonatomic) NSMutableArray *blocks;
@end
@implementation QMDialogsMemoryStorage
- (void)dealloc {
[self.dialogs removeAllObjects];
}
- (instancetype)init {
self = [super init];
if... |
namespace moocov {
namespace utils {
const FastIntWriterManip fastInt{};
} // end namespace utils
} // end namespace moocov
|
package com.commonsware.android.advservice.remotebinding.sig;
import android.app.Service;
import android.content.Intent;
import android.net.Uri;
import android.os.Environment;
import android.os.IBinder;
import android.util.Log;
import com.commonsware.android.advservice.remotebinding.IDownload;
import java.io.Buffere... |
.daterangepicker.dropdown-menu {
max-width: none;
z-index: 3000;
}
.daterangepicker.opensleft .ranges, .daterangepicker.opensleft .calendar {
float: left;
margin: 4px;
}
.daterangepicker.opensright .ranges, .daterangepicker.opensright .calendar {
float: right;
margin: 4px;
}
.daterangepicker .ranges {... |
#ifndef NODE_ID_HPP
#define NODE_ID_HPP
#include <algorithm>
#include <boost/cstdint.hpp>
#include "libtorrent/config.hpp"
#include "libtorrent/peer_id.hpp"
#include "libtorrent/assert.hpp"
#include "libtorrent/address.hpp"
namespace libtorrent { namespace dht
{
struct node_entry;
typedef libtorrent::sha1_hash no... |
package com.mattunderscore.trees.walkers;
import com.mattunderscore.trees.traversal.Walker;
/**
* Walker for summing the elements of a tree.
* @author Matt Champion on 31/08/2015
*/
public interface SummingWalker<T extends Number> extends Walker<T> {
/**
* @return The summed value
*/
T getValue... |
package eventgrid
// Copyright (c) Microsoft and contributors. 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
//
// U... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Draggable - Visual feedback</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.5.1.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.wi... |
{% extends "base/base.html" %}
{% load crispy_forms_tags %}
{% load dictionary_extras %}
{% load staticfiles %}
{% load humanize %}
{% block head %}
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile... |
supervisor Cookbook
===================
Installs (Python) supervisor and provides resources to configure services
Requirements
------------
### Platforms
Supports Debian and RHEL based systems. Tested on Ubuntu 12.04, 10.04, CentOS 6.5.
### Cookbooks
- python
Attributes
----------
- `node['supervisor']['inet_port'... |
<?php namespace GeneaLabs\LaravelModelCaching\Tests\Integration\CachedBuilder;
use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Author;
use GeneaLabs\LaravelModelCaching\Tests\Fixtures\UncachedAuthor;
use GeneaLabs\LaravelModelCaching\Tests\IntegrationTestCase;
class HasManyThroughTest extends IntegrationTestCase
{
... |
@ECHO OFF
REM Command file for Sphinx documentation
set SPHINXBUILD=sphinx-build
set BUILDDIR=build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% source
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
)
if "%1" == "" goto help
if "%1" == "help" (
:help
echo.Please u... |
package org.mamute.dao;
import static org.junit.Assert.assertEquals;
import static org.mamute.model.MarkedText.notMarked;
import org.junit.Test;
import org.mamute.dao.TagPageDAO;
import org.mamute.model.MarkedText;
import org.mamute.model.Tag;
import org.mamute.model.TagPage;
public class TagPageDAOTest extends Data... |
// Modified by Lasse Oorni, Nathanial Lydick, and Yao Wei Tjong for Urho3D
//
// angelscript.h
//
// The script engine interface
//
#ifndef ANGELSCRIPT_H
#define ANGELSCRIPT_H
// Urho3D: Define AS_MAX_PORTABILITY for Web and 64-bit ARM platforms
#if defined(__EMSCRIPTEN__) || defined(__aarch64__)
#define AS_MAX_P... |
namespace net {
namespace tools {
namespace test {
// static
int QuicClientPeer::GetFd(QuicClient* client) {
return client->fd_;
}
} // namespace test
} // namespace tools
} // namespace net
|
//
// Helper Functions for NavigationTiming W3C tests
//
var performanceNamespace = window.performance;
var timingAttributes = [
'connectEnd',
'connectStart',
'domComplete',
'domContentLoadedEventEnd',
'domContentLoadedEventStart',
'domInteractive',
'domLoading',
'domainLookupEnd',
... |
package tainttoleration
import (
"context"
"reflect"
"testing"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
framework "k8s.io/kubernetes/pkg/scheduler/framework/v1alpha1"
"k8s.io/kubernetes/pkg/scheduler/internal/cache"
schedulernodeinfo "k8s.io/kubernetes/pkg/scheduler/nodeinfo"
)
... |
import datetime
import calendar
import pandas as pd
import numpy as np
import zipline.finance.risk as risk
from zipline.utils import factory
from zipline.finance.trading import SimulationParameters
from zipline.testing.fixtures import WithTradingEnvironment, ZiplineTestCase
from zipline.finance.risk.period import Ri... |
layout: post
section-type: post
title: Adding a life event in the Timeline
category: tech
tags: [ 'tutorial' ]
---
One of the coolest features of { Personal } is that enables you to tell your life's story in
the form of a timeline of photos, dates and text descriptions.
The Timeline is controlled by the following vari... |
namespace chromeos {
// Chrome's implementation of DisplayPowerServiceProvider::Delegate
class ChromeDisplayPowerServiceProviderDelegate
: public DisplayPowerServiceProvider::Delegate {
public:
ChromeDisplayPowerServiceProviderDelegate();
~ChromeDisplayPowerServiceProviderDelegate() override;
// DisplayPow... |
/**
* Clearcut: A utility for wrapping the browser console logging mechanisms.
*
* @version 0.0.1
* @license MIT
* @repository https://github.com/gilt/clearcut
*
* @collaborators
* Andrew Powell (shellscape) : https://github.com/shellscape
*
* @tutorial README.md
*
* @note
* Inspiration derived from the fo... |
id: editor-support
title: Editor Support
slug: /editor-support/
keywords:
- LSP
- Language Server Protocol
- VS Code
- VSCode
---
import useBaseUrl from '@docusaurus/useBaseUrl';
*TL;DR: We have a [VS Code Extension](https://marketplace.visualstudio.com/items?itemName=meta.relay)*
---
The Relay compiler has a rich ... |
<?php
/**
* @see Zend_Exception
*/
require_once 'Zend/Exception.php';
/**
* Navigation exception
*
* @category Zend
* @package Zend_Navigation
* @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
... |
<?php
/**
* Created by PhpStorm.
* User: Roman
* Date: 17.12.2015
* Time: 9:52
*/
namespace romkaChev\yandexFotki\models;
use DateTime;
use romkaChev\yandexFotki\interfaces\LoadableWithData;
use romkaChev\yandexFotki\traits\parsers\AuthorParser;
use romkaChev\yandexFotki\traits\parsers\DateParser;
use romkaChev\... |
<?php
class getAvailableCommunicationCategoriesResponse
{
/**
*
* @var CommunicationCategory $return
* @access public
*/
public $return;
}
|
var isArrayLike = require('./isArrayLike'),
isObjectLike = require('./isObjectLike');
/**
* This method is like `_.isArrayLike` except that it also checks if `value`
* is an object.
*
* @static
* @memberOf _
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `val... |
<?php
namespace Crm\FabricanteBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class FabricanteType extends AbstractType
{
/**
* @param FormBuilderInterface $builder
* @param array $opt... |
using System;
using System.Collections.Specialized;
using Avalonia.Media;
using Avalonia.Rendering;
using Avalonia.VisualTree;
namespace Avalonia.Controls.Primitives
{
/// <summary>
/// Represents a surface for showing adorners.
/// Adorners are always on top of the adorned element and are positioned to st... |
div.dataTables_length label {
float: left;
text-align: left;
}
div.dataTables_length select {
width: 75px;
}
div.dataTables_filter label {
float: right;
font-size:12px;
}
div.dataTables_filter label input{
margin-left:8px;
}
div.dataTables_info {
padding-top: 3px;
padding-bottom: 3px;
font-size:12px;
floa... |
ES5Harness.registerTest( {
id: "15.2.3.3-4-174",
path: "TestCases/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-174.js",
description: "Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (TypeError.prototype.constructor)",
test: function testcase() {
var desc = Object.getOwnPropertyDescriptor(... |
package probe
type Result string
const (
Success Result = "success"
Failure Result = "failure"
Unknown Result = "unknown"
)
|
<div class="uk-margin" id="files_items_{{($aident = str_random(10))}}" data-url="{{\URL::to("/sys-files-uploader/upload/$ident")}}"></div>
<div class="uk-form-row uk-text-center">
<input class="files_upload" name="{{$name}}" id="queue_{{$aident}}" ident="{{$aident}}" type="file" multiple="true" data-remote="{{\URL:... |
'use strict';
// Sigfoxdevices controller
angular.module('sigfoxdevices').controller('SigfoxdevicesController', ['$scope', '$stateParams', '$location', 'Authentication', 'Sigfoxdevices',
function($scope, $stateParams, $location, Authentication, Sigfoxdevices) {
$scope.authentication = Authentication;
// Create n... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Thelia\Form\Exception\ProductNotFoundException | </title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css">
... |
/**
* An ELAD FMD-Duo radio.
* This object implements the standard API shared by all instruments
* objects
*
* @author Edouard Lafargue, ed@lafargue.name
*/
define(function(require) {
'use strict';
return function() {
// Helper function: get driver capabilites.
// returns a simple a... |
<!doctype HTML>
<div style="will-change: transform; position: fixed"></div>
<div style="position: relative; border: 1px solid black;">
<div id="target" style="opacity: 0.2; height: 100px; width: 200px;">
This text should be very light
</div>
</div>
|
package de.frickelbude.wicket;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Collection;
import java.util.Properties;
import de.frickelbude.wicket.AbstractBindingProcessor.MemberExtractor;
/**
* An Extractor extracting keys from a properties file as memb... |
//// [tests/cases/compiler/declFileAccessors.ts] ////
//// [declFileAccessors_0.ts]
/** This is comment for c1*/
export class c1 {
/** getter property*/
public get p3() {
return 10;
}
/** setter property*/
public set p3(/** this is value*/value: number) {
}
/** private getter pr... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60-ea) on Tue Aug 16 17:15:31 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.config.... |
'use strict';
var isDate = require('es5-ext/date/is-date')
, identity = require('es5-ext/function/identity')
, isFunction = require('es5-ext/function/is-function')
, assign = require('es5-ext/object/assign')
, create = require('es5-ext/object/create')
, m... |
#include <stdio.h>
#include <stdlib.h>
#include <jni.h>
#include <string>
#include <memory>
#include "rocksdb_protobuf/org_rocksdbprotobuf_ProtobufMergeOperator.h"
#include "rocksdb_protobuf/protobuf_merge.h"
#include "rocksjni/portal.h"
#include "rocksdb/db.h"
#include "rocksdb/options.h"
#include "rocksdb/statistic... |
package org.camelcookbook.routing.wiretap;
import org.apache.camel.builder.RouteBuilder;
import org.camelcookbook.routing.model.CheeseRipener;
/**
* Route showing wiretap state leakage.
*/
class WireTapStateLeaksRouteBuilder extends RouteBuilder {
@Override
public void configure() throws Exception {
... |
namespace Microsoft.Azure.Devices.Client.Exceptions
{
using System;
using System.Runtime.Serialization;
using Microsoft.Azure.Devices.Client.Extensions;
/// <summary>
/// The exception that is thrown when an attempt to send a message fails because the length of the message exceeds the maximum size... |
({
/**
* Set value to (html) textarea element.
*/
setDomElementValue : function (component) {
var textAreaCmp = component.find("textAreaElem");
var elem = !$A.util.isUndefinedOrNull(textAreaCmp) ? textAreaCmp.getElement() : null;
if (elem) {
var value = component.g... |
'use strict';
/**
* Test if a value is a string in kebab case.
*
* @module @stdlib/assert/is-kebabcase
*
* @example
* var isKebabcase = require( '@stdlib/assert/is-kebabcase' );
*
* var bool = isKebabcase( 'beep-boop' );
* // returns true
*
* bool = isKebabcase( 'BEEP_BOOP' );
* // returns false
*/
// MODULES //
v... |
/**
* @file platformflash.h
* This file provides platform dependant flash constants
*
*/
/* Embedded XINU, Copyright (C) 2009. All rights reserved. */
#ifndef _PLATFORMFLASH_H_
#define _PLATFORMFLASH_H_
/* commands for data gathering */
#ifdef CFI_ASUS
#define CFI_QUERY_EXIT 0xF0
#else
#define CFI_QUERY_EXIT ... |
import os
import re
import sys
import traceback
from subprocess import Popen, PIPE, STDOUT
def find_project_root(project_dir):
if not os.path.isdir(project_dir):
raise AssertionError("Invalid input directory '%s'" % project_dir)
if not project_dir:
raise AssertionError("Unable to find project... |
package com.facebook.buck.android;
import com.facebook.buck.rules.macros.AbstractMacroExpander;
import com.facebook.buck.rules.macros.ExecutableMacroExpander;
import com.facebook.buck.rules.macros.LocationMacroExpander;
import com.facebook.buck.rules.macros.Macro;
import com.google.common.collect.ImmutableList;
cla... |
// Copyright 2006 The Closure Library Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Numerics;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace CertificatePasswordRecovery
{
public partial cl... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Sun Dec 12 16:57:27 GMT 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
com.hp.hpl.jena.reasoner.transiti... |
namespace lles {
AstNode* Parser::parseTry() {
sourceLocation sl;
assert(getCurrentToken().getStr() == "try");
getNextToken();
Block *tryBody, *catchBody = nullptr, *finallyBody = nullptr;
SKIP_NEWLINES
SYNTAX_REQUIREMENT("{");
tryBody = static_cast<Block*>(parseBlock());
SKIP_NEWLINES
std::string catchVarNam... |
<project name="appsforyourdomain" default="build.appsforyourdomain" basedir=".">
<!-- Path containing appsforyourdomain.xml -->
<dirname property="build_dir" file="${ant.file.appsforyourdomain}"/>
<import file="${build_dir}/core.xml"/>
<import file="${build_dir}/calendar.xml"/>
<!-- =======================... |
#ifndef DragActions_h
#define DragActions_h
#include <limits.h>
namespace WebCore {
// WebCoreDragDestinationAction should be kept in sync with WebDragDestinationAction
typedef enum {
DragDestinationActionNone = 0,
DragDestinationActionDHTML = 1,
DragDestinationActionEdit = ... |
class SuspiciousLiteralUnderscore {{
double d = <warning descr="Group in number literal with underscores does not have length 3">1234</warning>.<warning descr="Group in number literal with underscores does not have length 3">9</warning>_8;
float a = <warning descr="Group in number literal with underscores does no... |