answer stringlengths 15 1.25M |
|---|
// Peloton
// sorter_proxy.h
// Identification: src/include/codegen/sorter_proxy.h
#pragma once
#include "codegen/codegen.h"
namespace peloton {
namespace codegen {
class SorterProxy {
public:
// Get the LLVM type for peloton::codegen::utils::Sorter
static llvm::Type *GetType(CodeGen &codeg... |
package de.darwinspl.feature.graphical.editor.actions;
import org.eclipse.gef.Request;
import org.eclipse.gef.ui.actions.SelectionAction;
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IPropertyListener;
import org.ecl... |
package com.ctrip.zeus.model.model;
import java.util.ArrayList;
import java.util.List;
public class DrTraffic {
private Group m_group;
private List<Destination> m_destinations = new ArrayList<Destination>();
public DrTraffic() {
}
protected boolean equals(Object o1, Object o2) {
if (o1 == nu... |
package org.uberfire.annotations.processors;
import java.util.Map;
public class PartInformation {
private final String partName;
private Map<String, String> parameters;
public PartInformation( String partName) {
this.partName = partName;
}
public PartInformation( String partName,
... |
# encoding: utf-8
# This file is a part of Redmin Agile (redmine_agile) plugin,
# Agile board plugin for redmine
# redmine_agile is free software: you can redistribute it and/or modify
# (at your option) any later version.
# redmine_agile is distributed in the hope that it will be useful,
# MERCHANTABILITY or FITNESS F... |
name: PIP request
about: Submit a PIP (Pulsar Improvement Proposal)
title: ''
labels: PIP
assignees: ''
<!
Instructions for creating a PIP using this issue template:
1. The author(s) of the proposal will create a GitHub issue ticket using this template.
(Optionally, it can be helpful to send a note discussing the ... |
package lk.ac.cmb.ucsc.mcs.ewa.service;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
im... |
package android.app;
import com.robomorphine.strictmode.DataProxy;
import android.app.ActivityManager.MemoryInfo;
import android.app.ActivityManager.<API key>;
import android.app.ActivityManager.RecentTaskInfo;
import android.app.ActivityManager.<API key>;
import android.app.<API key>.CrashInfo;
import android.content.... |
<!DOCTYPE html>
<!
| Generated by Apache Maven Doxia Site Renderer 1.7.4 at 2017-09-28
| Rendered using Apache Maven Fluido Skin 1.6
<html xmlns="http:
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="<API key>" content="20170928" />
... |
# Basic File Store
# by Hampton Catlin
# This cache simply uses a directory that it creates
# and manages to keep your file stores.
# Specify :skip_expires => true if you aren't using
# expiration as this will slightly decrease your file size
# and memory footprint of the library
# You can optionally also speci... |
package sjph.life.website.config;
import org.springframework.web.servlet.support.<API key>;
/**
* @author shaohuiguo
*
*/
public class <API key>
extends <API key> {
@Override
protected Class<?>[] <API key>() {
return new Class[] { <API key>.class, <API key>.class};
}
@Override
pro... |
package cn.itcast_07;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
/*
* -- (ObjectOutputStream)
* : -- (ObjectInputStream)
*/
public class ObjectStreamDemo {
public static void main(String[] args... |
require File.expand_path('../gemutilities', __FILE__)
require 'rubygems/dependency'
class TestGemDependency < RubyGemTestCase
def test_subclass
sc = Class.new Gem::Dependency
def sc.requirement() bogus; end
out, err = capture_io do
assert_equal Gem::Requirement.default, sc.new('a').version_requireme... |
var errorList = errorList || [];
print(errorList);
var <API key> = ["serialNumberIn", "<API key>"];
var claimsParsed = JSON.parse(claims);
print('after parse check mandatory field format');
for (j = 0; j < <API key>.length; j++) {
print(<API key>[j]);
for (i = 0; i < claimsParsed.data[0].rows.length; i++) {
... |
#!/usr/bin/env python
import sys
import copy
import rospy,sys
import moveit_commander
import actionlib
import roslib; roslib.load_manifest('ur_modern_driver')
import tf
from control_msgs.msg import *
from trajectory_msgs.msg import *
from sensor_msgs.msg import JointState
from geometry_msgs.msg import PoseStamped,Pose... |
// Use, modification, and distribution is subject to the Boost Software
// Contact the author at: fernando_cacciola@hotmail.com
#ifndef <API key>
#define <API key>
#include <functional>
#include "boost/numeric/conversion/detail/meta.hpp"
#include "boost/numeric/conversion/detail/conversion_traits.hpp"
#include "boost/... |
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_11) on Mon Aug 11 16:48:21 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.google.gson.reflect.TypeToken (Gson 2.3 API)</title>
<meta name="date" content="2014-08-... |
<BODY>
Package providing examples of all possible Map relations between container and key/value classes.
<UL>
<LI><B>MapHoldern</B> class with all types of Map fields demonstrating all possible Map combos</LI>
<LI><B>MapKeyItem</B> - PC type of key when using join table</LI>
<LI><B>MapVa... |
package com.intellij.openapi.options;
import com.intellij.ide.ui.search.<API key>;
import com.intellij.ide.ui.search.OptionDescription;
import com.intellij.openapi.util.Comparing;
import com.intellij.openapi.util.Getter;
import com.intellij.openapi.util.NlsContexts;
import com.intellij.openapi.util.Setter;
import com.i... |
// <API key>: Apache-2.0
package dns
import (
"github.com/cilium/cilium/pkg/hubble/metrics/api"
)
type dnsPlugin struct{}
func (p *dnsPlugin) NewHandler() api.Handler {
return &dnsHandler{}
}
func (p *dnsPlugin) HelpText() string {
return `dns - DNS related metrics
Reports metrics related to DNS queries and... |
from dvc.prompt import confirm
def <API key>(mocker):
mock_input = mocker.patch("dvc.prompt.input", side_effect=EOFError)
mock_isatty = mocker.patch("sys.stdout.isatty", return_value=True)
ret = confirm("message")
mock_isatty.assert_called()
mock_input.assert_called()
assert not ret |
// AdoptsAttribute.cs: Attribute applied to classes to specify that the
// class implements a given protocol
// Authors:
// Miguel de Icaza
// 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 trees.impl;
import java.io.IOException;
import java.util.Iterator;
import java.util.Stack;
public class BST implements Iterable<Integer>{
private Node root;
public BST(Node root) {
this.root = root;
}
public BST(int value) {
this.root = new Node(value);
}
public Node root... |
import { errors } from 'arsenal';
/**
* parseRange - Validate and parse range request header
* @param {string} rangeHeader - range header from request
* which should be in form bytes=0-9
* @param {number} totalLength - totalLength of object
* @return {object} object containing range (array | undefined) and error ... |
.ce-stub {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
padding: 3.5em 0;
margin: 17px 0;
border-radius: 3px;
background: #fcf7f7;
color: #b46262;
&__info {
margin-left: 20px;
}
&__title {
margin-bottom: 3px;
font-weight: 600;
font-size: 18px;
tex... |
package org.olat.test.functional.courseeditor;
import org.olat.test.util.selenium.<API key>;
import org.olat.test.util.selenium.SeleniumHelper;
import org.olat.test.util.selenium.olatapi.OLATWorkflowHelper;
import org.olat.test.util.selenium.olatapi.course.editor.CourseEditor;
import org.olat.test.util.selenium.olatapi... |
package org.geometerplus.fbreader.book;
public enum BookEvent {
Added,
Updated,
Removed,
Opened,
BookmarksUpdated,
<API key>,
} |
/ [<API key>.ts]
class A {
constructor(f: string) {
}
public blah(): string { return ""; }
}
class B extends A {
constructor() {
super(super.blah())
}
}
/ [<API key>.js]
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
... |
package com.jtattoo.plaf;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.plaf.*;
import javax.swing.plaf.basic.*;
/**
* @author Michael Hagen
*/
public class BaseScrollBarUI extends BasicScrollBarUI {
protected int scrollBarWidth = 17;
protected boolean isRollover = false... |
package OpenXPKI::Server::Workflow::Validator::PasswordQuality;
use strict;
use warnings;
use base qw( Workflow::Validator );
use Workflow::Exception qw( validation_error );
use OpenXPKI::Server::Context qw( CTX );
use OpenXPKI::Debug;
use English;
use Data::Password qw(:all);
sub _init {
my ( $self, $params ) = @_... |
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%ceilometer-base
MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum install -y <API key> && yum clean all
ADD ./start.sh /start.sh
CMD ["/start.sh"] |
package com.mentor.nucleus.bp.mc.vhdl.source;
import org.eclipse.core.resources.IProject;
import com.mentor.nucleus.bp.mc.AbstractNature;
public class MCNature extends AbstractNature {
// The shared instance
private static MCNature singleton;
/**
* identifier of this nature in plugin.xml - (concatenate... |
package org.deeplearning4j.arbiter.optimize.generator.genetic;
import lombok.Data;
/**
* Candidates are stored as Chromosome in the population model
*
* @author Alexandre Boulanger
*/
@Data
public class Chromosome {
/**
* The fitness score of the genes.
*/
protected final double fitness;
/**
... |
# coding: utf-8
from __future__ import absolute_import
import unittest
import datetime
import kfp_server_api
from kfp_server_api.models.<API key> import ApiRunStorageState # noqa: E501
from kfp_server_api.rest import ApiException
class <API key>(unittest.TestCase):
"""ApiRunStorageState unit test stubs"""
def ... |
<?php namespace App\Http\Requests\Admin;
use Illuminate\Foundation\Http\FormRequest;
class MateriaTurmaRequest extends FormRequest {
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'turma_id' =>... |
/**
* Socket.io main file
*/
var iolib = require('socket.io');
var group = require('../models/group');
module.exports = function(server) {
var io = iolib.listen(server);
io.enable('browser client minification');
io.enable('browser client etag');
//io.set('log level', 1);
io.sockets.on('connection'... |
# -*- coding: utf-8 -*-
from django.urls import path
from search.views import SearchPageView, SearchProjectView
urlpatterns = [
path(
route='',
view=SearchProjectView.as_view(),
name='index'
),
path(
route='pages/',
view=SearchPageView.as_view(),
name='pages'
... |
// -*- mode: java; c-basic-offset: 2; -*-
package com.google.appinventor.client.editor.simple;
import static com.google.appinventor.client.Ode.MESSAGES;
import com.google.appinventor.client.editor.ProjectEditor;
import com.google.appinventor.client.editor.simple.components.MockForm;
import com.google.appinventor.client... |
/*
## filtering
*/
define([
'angular',
'app',
'underscore'
],
function (angular, app, _) {
'use strict';
var module = angular.module('kibana.panels.filtering', []);
app.useModule(module);
module.controller('filtering', function($scope, filterSrv, $rootScope, dashboard) {
$scope.panelMeta = {
s... |
import sys
sys.path.insert(1,"../../../")
import h2o
from tests import pyunit_utils
import numpy as np
def glrm_arrests_miss():
missing_ratios = np.arange(0.1, 1, 0.1).tolist()
print "Importing USArrests.csv data and saving for validation..."
arrests_full = h2o.upload_file(pyunit_utils.locate("smalldata/pca... |
package org.duracloud.common.json;
import java.io.IOException;
import java.io.StringWriter;
import com.fasterxml.jackson.databind.<API key>;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.<API key>;
import com.fasterxml.jackson.module.jaxb.<API key>;
public class JaxbJsonSeria... |
package org.sterl.java._14;
import static org.junit.jupiter.api.Assertions.assertThrows;
import org.junit.jupiter.api.Test;
import lombok.Data;
class <API key> {
@Data
final class Foo {
String name;
}
@Test
void test() {
var ex = assertThrows(<API key>.class, () -> new Foo().getName(... |
import {browser, by, element, ExpectedConditions} from 'protractor';
// This test uses Protractor without Angular, so disable Angular features
browser.<API key>(false);
// Since we don't have a protractor bazel rule yet, the test is brought up in
// parallel with building the service under test. So the timeout must inc... |
#ifndef <API key>
#define <API key>
#include <vector>
#include "webrtc/base/optional.h"
#include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h"
#include "webrtc/modules/rtp_rtcp/source/rtcp_packet/dlrr.h"
#include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rrtr.h"
#include "webrtc/modules/rtp_rtcp/source/rtcp_packet/t... |
package org.sagebionetworks.web.client.place;
import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;
import com.google.gwt.place.shared.Prefix;
public class Help extends Place {
private String token;
public Help(String token) {
this.token = token;
}
public S... |
#include "search/streets_matcher.hpp"
#include "search/features_filter.hpp"
#include "search/<API key>.hpp"
#include "search/query_params.hpp"
#include "indexer/search_string_utils.hpp"
#include "base/logging.hpp"
#include "base/stl_helpers.hpp"
#include <algorithm>
using namespace std;
namespace search
{
namespace
{
b... |
#if defined(LEAN_JSON)
// Remark: gcc 7 produces a warning at json.hpp
// We believe it is a spurious warning
#if defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wuninitialized"
#endif
#include <list>
#include <string>
#include <vector>
#include <algorithm>
#include <clocale>
#include "fronten... |
package nginx
import (
"encoding/json"
"reflect"
)
// Node models a k8s worker node's id and addresses
type Node struct {
Name string
Hostname string
ExternalIP string
InternalIP string
Active bool
}
func (n Node) String() string {
j, err := json.Marshal(n)
if err != nil ... |
/**
* Automatically generated file. DO NOT MODIFY
*/
package com.example.android.mediarecorder;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "com.example.android.mediarecorder";
public static final String BUILD_TYP... |
#include "modsecurity/collection/collections.h"
#ifdef __cplusplus
#include <string>
#include <iostream>
#include <unordered_map>
#include <list>
#include <vector>
#endif
#include "modsecurity/variable_value.h"
#include "modsecurity/collection/collection.h"
#include "src/collection/backend/<API key>.h"
#include "src/ut... |
package net.bytebuddy.utility;
import net.bytebuddy.description.type.TypeDescription;
import net.bytebuddy.description.type.TypeList;
import org.objectweb.asm.Opcodes;
import java.io.Serializable;
import java.lang.reflect.AccessibleObject;
import java.lang.reflect.AnnotatedElement;
import java.lang.reflect.GenericDecla... |
"""Versioned singleton entity with global application configuration.
Example usage:
from components.datastore_utils import config
class MyConfig(config.GlobalConfig):
param1 = ndb.StringProperty()
param2 = ndb.StringProperty()
def do_stuff():
param1 = MyConfig.cached().param1
param2 = MyConfig.cac... |
// Toon Knapen, Karl Meerbergen, Kresimir Fresl,
// Thomas Klimpel and Rutger ter Borg
// THIS FILE IS AUTOMATICALLY GENERATED
// PLEASE DO NOT EDIT!
#ifndef <API key>
#define <API key>
#include <boost/assert.hpp>
#include <boost/numeric/bindings/begin.hpp>
#include <boost/numeric/bindings/has_linear_array.hpp>
#includ... |
# 4.1.1.4 Expose REST back-end as a SOAP service using proxy service
## Business use case narrative

In this scenario, REST back-end is exposed as a SOAP service to SOAP client by placing WSO2 EI in the middle with a
proxy service.... |
package org.onesocialweb.openfire.model.vcard4;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.per... |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>MultiSegmentReader.GetSubReaders Method</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css... |
package com.dtodorov.androlib.services;
import android.content.pm.PackageManager;
import android.os.AsyncTask;
import android.os.Handler;
import android.os.Looper;
import java.util.HashMap;
import java.util.Map;
public class PermissionService implements IPermissionListener, IPermissionService {
private Map<String, ... |
package com.opengamma.strata.math.impl.statistics.distribution;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertFalse;
import org.apache.commons.math3.random.Well44497b;
import org.testng.annotations.Test;
/**
* Test.
*/
@Test
public class <API key> extends <API key> {
... |
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp
{
internal static class <API key>
{
public static bool IsDynamic(this ConversionKind conve... |
var WebDeveloper = WebDeveloper || {};
WebDeveloper.Generated = WebDeveloper.Generated || {};
// Displays an image
WebDeveloper.Generated.displayImage = function(image, container, imagesCounter, locale)
{
var anchor = "image-" + imagesCounter;
var childElement = document.createElement("th");
var element... |
<?xml version="1.0" encoding="UTF-8"?>
<table title="table4" id="table4" class="tabcontent" xmlns="http:
<tr>
<td>
<img src="table.png"/>
<p>target/pdftable1/10.1016_j.pain.2014.09.020/tables/table4/table.png</p>
</td>
<td>
<table class="table">
<caption/>
<tr>
<th class="cell">Study </th>
... |
<?php
/**
* Zend_Mail_Part
*/
// require_once 'Zend/Mail/Part.php';
/**
* <API key>
*/
// require_once 'Zend/Mail/Message/Interface.php';
class Zend_Mail_Message extends Zend_Mail_Part implements <API key>
{
/**
* flags for this message
* @var array
*/
protected $_flags = array();
/**
... |
import os
import zstackwoodpecker.test_util as test_util
import zstackwoodpecker.test_lib as test_lib
import zstackwoodpecker.test_state as test_state
import zstackwoodpecker.operations.host_operations as host_ops
import zstackwoodpecker.operations.resource_operations as res_ops
import zstackwoodpecker.operations.vm_op... |
layout: post
title: GigaSpaces-Excel Integration FAQ
categories: SBP
parent: <API key>.html
weight: 400
{% summary page|65 %}Frequently asked questions about the GigaSpaces-Excel integration.{% endsummary %}
# Overview
The following FAQs deal with the GigaSpaces Excel Integration solutions.
# General FAQs
- [What are ... |
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
switch (arguments.length) {
case 2: return decorators.reduceRight(function(o, d) { r... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Completion.Providers;
using Microsoft.CodeAnalysis.ErrorReporting;
using Microsoft.CodeAnalysis.Options;... |
package nu.postnummeruppror.insamlingsappen;
import nu.postnummeruppror.insamlingsappen.domain.Coordinate;
import nu.postnummeruppror.insamlingsappen.transactions.IdentityFactory;
import nu.postnummeruppror.insamlingsappen.transactions.version_0_0_6.<API key>;
import se.kodapan.osm.domain.Node;
import se.kodapan.osm.do... |
--TEST
MongoDB\BSON\toJSON(): BSON decoding exceptions for bson_as_json() failure
--FILE
<?php
require_once __DIR__ . '/../utils/basic.inc';
$tests = [
// Invalid UTF-8 characters (i.e. 0xFE, 0xFF) in field name
pack('VCCCxVa*xx', 17, 2, 254, 255, 3, 'bar'),
/* Note: we don't use a three-character string in... |
<p>Provides an overview of the local JNDI namespace. The Jakarta EE platform specification defines the following JNDI contexts:</p>
<ul>
<li><code>java:comp</code> - The namespace is scoped to the current component (i.e. EJB)</li>
<li><code>java:module</code> - Scoped to the current module</li>
<li><code>ja... |
import os
from django.core.wsgi import <API key>
os.environ.setdefault("<API key>", "hoaxdetector.settings")
application = <API key>() |
# -*- coding: utf-8 -*-
from django.core.exceptions import ValidationError
from nose.tools import * # flake8: noqa (PEP8 asserts)
from modularodm.exceptions import NoResultsFound, <API key>
from tests.base import OsfTestCase
from osf_tests.factories import SubjectFactory, PreprintFactory, <API key>
from website.projec... |
package com.bt.pi.api.service;
import java.util.Collection;
import javax.annotation.Resource;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Component;
import com.bt.pi.api.entities.<API key>;
import ... |
// modification, are permitted provided that the following conditions are
// met:
// with the distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
//... |
'use strict';
/**
* @class
* Initializes a new instance of the <API key> class.
* @constructor
* Http logs to file system configuration.
*
* @member {number} [retentionInMb] Maximum size in megabytes that http log
* files can use.
* When reached old log files will be removed to make space for new ones.
* Value... |
Object.defineProperty(fnGlobalObject(), "x", {
configurable: true,
get: function() {
delete this.x;
return 6;
}
});
(function() {
"use strict";
x /= 3;
})();
if (fnGlobalObject().x !== 2) {
$ERROR('
} |
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Shared.Extensions;
namespace Microsoft.CodeAnalysis.CSharp.SignatureHelp
{
internal partial class <API key>
{
private IList<SymbolDisplayPart> GetPreambleParts(
IMethodSymbol method,
SemanticModel semanticModel,
... |
package com.eclipsesource.schema.internal.draft4.constraints
import com.eclipsesource.schema.internal.Keywords
import com.eclipsesource.schema.internal.constraints.Constraints.{AnyConstraints, HasAnyConstraint, StringConstraints}
import com.eclipsesource.schema.internal.validation.VA
import com.eclipsesource.schema.{<A... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using Riganti.Selenium.Core.Abstractions.Exceptions;
namespace Riganti.Selenium.Core.Samples.FluentApi.Tests
{
[TestClass]
public class <API key> : SeleniumTest
{
[TestMethod]
public void <API key>()
{
... |
namespace GreenPipes.Internals.Mapping
{
using System.Collections.Generic;
using Reflection;
public class <API key><T, TElement> :
IObjectMapper<T>
{
readonly ReadWriteProperty<T> _property;
public <API key>(ReadWriteProperty<T> property)
{
_property = propert... |
#include <sys/cdefs.h>
#include "namespace.h"
#include <errno.h>
#include <limits.h>
#include <sys/resource.h>
#include <unistd.h>
int getrlimit(int resource, struct rlimit *rlp)
{
rlim_t limit;
switch (resource)
{
case RLIMIT_CPU:
case RLIMIT_FSIZE:
case RLIMIT_DATA:
case RL... |
zebkit.package("ui.grid", function(pkg, Class) {
var ui = pkg.cd("..");
// | x | col0 width | x | col2 width | x |
// Line width
/**
* The package contains number of classes and interfaces to implement
* UI Grid component. The grid allows developers to visualize matrix
... |
// This program is free software; you can redistribute it and/or
// as published by the Free Software Foundation; either version 2
// This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#include "inet/environment/common/MaterialRegistry.h"
#in... |
'use strict';
const models = require('./index');
/**
* Defines a thing.
*
* @extends models['Response']
*/
class Thing extends models['Response'] {
/**
* Create a Thing.
* @property {string} [name] The name of the thing represented by this
* object.
* @property {string} [url] The URL to get more infor... |
#ifndef TEST_SN_NSDL_H
#define TEST_SN_NSDL_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdbool.h>
bool <API key>();
bool test_sn_nsdl_init();
bool <API key>();
bool <API key>();
bool <API key>();
bool <API key>();
bool <API key>();
bool <API key>();
bool <API key>();
bool <API key>();
bool <API key>();
bool <AP... |
from time import sleep
from datetime import datetime
import rethinkdb as r
import cryptoconditions as cc
from decorator import contextmanager
import bigchaindb
import bigchaindb.util
import bigchaindb.crypto
@contextmanager
def <API key>(amount_in_seconds):
t_issued = datetime.now()
yield
t_expired = dateti... |
<?php
namespace af\plugins\auth\errors;
use af\kernel\error\Apdos_Error;
class Auth_Error extends Apdos_Error {
public function __construct($message) {
parent::__construct("Auth_Error::" . $message);
}
public function get_message() {
$message = $this->getMessage();
$trace = $this->getTraceAsString();
... |
<html jwcid="@Shell" title="Home">
<body jwcid="@Body">
Initial value: [<span jwcid="@Insert" value="ognl:word">some word</span>]
<p>
<ul>
<li jwcid="loop"><span jwcid="@Insert" value="ognl:word">word from list</span></li>
</ul>
<p>
Final value: [<span jwcid="@Insert" value="ognl:word">last word in list</span>]
<p>
Pag... |
package org.nmdp.hmlfhirconverter.service;
import org.nmdp.hmlfhirconverter.dao.custom.<API key>;
import org.nmdp.<API key>.domain.TypingTestName;
import org.nmdp.hmlfhirconverter.dao.<API key>;
import org.nmdp.hmlfhirconverter.service.base.<API key>;
import org.springframework.beans.factory.annotation.Autowired;
impor... |
title: Try.toOption - Kotlin utility classes based on Scala
[Kotlin utility classes based on Scala](../../index.html) / [it.czerwinski.kotlin.util](../index.html) / [Try](index.html) / [toOption](./to-option.html)
# toOption
`abstract fun toOption(): `[`Option`](../-option/index.html)`<`[`T`](index.html
Converts this [... |
<?php
namespace Predis\Command;
/**
* @group commands
* @group realm-key
*/
class KeyKeysTest extends <API key>
{
/**
* {@inheritdoc}
*/
protected function getExpectedCommand()
{
return 'Predis\Command\KeyKeys';
}
/**
* {@inheritdoc}
*/
protected function getExpect... |
<!DOCTYPE HTML PUBLIC "-
<html lang="en">
<head>
<title>Source code</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<div class="sourceContainer">
<pre><span class="sourceLineNo">001</span><a name="line.1"></a>
<span class="sourceLineNo">007</span><a name="l... |
package Paws::RDS::<API key>;
use Moose;
has DBSubnetGroup => (is => 'ro', isa => 'Paws::RDS::DBSubnetGroup');
has _request_id => (is => 'ro', isa => 'Str');
1;
main pod documentation begin
=head1 NAME
Paws::RDS::<API key>
=head1 ATTRIBUTES
=head2 DBSubnetGroup => L<Paws::RDS::DBSubnetGroup>
=head2 _request_id =>... |
select 1 as id
union all
select * from {{ ref('node_0') }}
union all
select * from {{ ref('node_3') }}
union all
select * from {{ ref('node_6') }}
union all
select * from {{ ref('node_8') }}
union all
select * from {{ ref('node_10') }}
union all
select * from {{ ref('node_48') }}
union all
select * from {{ ref('node_67... |
// Package ginkgowrapper wraps Ginkgo Fail and Skip functions to panic
// with structured data instead of a constant string.
package ginkgowrapper
import (
"bufio"
"bytes"
"regexp"
"runtime"
"runtime/debug"
"strings"
"github.com/onsi/ginkgo"
)
// FailurePanic is the value that will be panick... |
package io.cattle.platform.configitem.server.model.impl;
import io.cattle.platform.configitem.server.model.Request;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.compress.archivers.tar.<API key>;
public class ArchiveContext {
String version;
Request request;
<API key> taos;
M... |
({
/**
* Find components defined as ComponentDefRefs using aura:id and qualified name
*/
<API key>:{
test:[function(cmp){
var stub = cmp.find("anyCmpAsStub");
var buttons = stub.find({"instancesOf":"ui:button"});
$A.test.assertFalse($A.util.isUndefinedOrNull... |
package cn.itcast_07;
import java.awt.FlowLayout;
import java.awt.Frame;
import java.awt.Label;
import java.awt.TextField;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
public class FrameDemo {
public static void main(String... |
layout: default
title: Processors
nav_order: 3
has_children: true
redirect_from:
- /Processors.html
- /Examples.html
Processors
=======
The examples in this section:
- use the XML attribute version of the processors (`layout:*`), but can just as
easily be swapped for their HTML data attribute equivalents (`data... |
module RpcClientMocks
def self.included(base)
base.let(:rpc_client) { instance_double(Kontena::RpcClient) }
end
def mock_rpc_client
allow(subject.wrapped_object).to receive(:rpc_client).and_return(rpc_client)
allow(rpc_client).to receive(:async).and_return(rpc_client)
allow(rpc_client).to receive(... |
package cyclops.function.checked;
public interface CheckedLongSupplier {
public long getAsLong() throws Throwable;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.