text stringlengths 3 1.05M |
|---|
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Lichen alveolatus Scop.
### Remarks
null |
require "ct_angular_angles_rails/engine"
module CtAngularAnglesRails
end
|
<?php
namespace Indigo\Core\Controller;
/**
* Template Controller
*
* A base controller for easily creating templated output
*
* @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
*/
trait TemplateController
{
/**
* {@inheritdoc}
*/
public function before()
{
parent::before();
$this->init();
}
... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddin... |
set(CMAKE_BUILD_TYPE Release)
set(ENABLE_COMPILER_WARNINGS ON)
set(ENABLE_BUILD_EFI ON)
|
///////////////////////////////////////////////////////////////////////////////
//
// File PulseWavePressureArea.h
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronautics,... |
<?php
namespace Magento\Sales\Model\ResourceModel\Order\Invoice;
use Magento\Sales\Model\ResourceModel\EntityAbstract;
use Magento\Framework\Model\ResourceModel\Db\VersionControl\Snapshot;
use Magento\Sales\Model\Spi\InvoiceCommentResourceInterface;
/**
* Flat sales order invoice comment resource
*
* @author ... |
// ---------------------------------------------------------------------------------
// <copyright file="RoomBuilderAchievement.cs" company="https://github.com/sant0ro/Yupi">
// Copyright (c) 2016 Claudio Santoro, TheDoctor
// </copyright>
// <license>
// Permission is hereby granted, free of charge, to any person... |
"use strict";
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.protot... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
(function() {
// #### checkSelectionChange : START
// The selection change check basically saves the element parent tree of
// the current node and check it on successive requests. If there is any
// change on the tree, then the selectionChange event gets fired.
function checkSelectionChange() {
// A possibl... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.nutrons.practice.commands.auto;
import com.nutrons.practice.commands.CommandBase;
import edu.wpi.first.wpilibj.Timer;
/**
*
* @author John
* Drives robot forward for number of seconds at speed.
*/
publi... |
import os
import subprocess
from shutil import copy2
import fileinput
def insertArgs(appArgsList):
for line in fileinput.FileInput("../buildGNU_debug/bin64/.gdbinit", inplace=1):
if "run" in line:
line = line.replace(line, "run " + " ".join(appArgsList) + " ")
print(line[:len(line)-1])
... |
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'github_to_pivotal_tracker'
configatron.github_to_pivotal_tracker.configure_from_yaml("#{File.dirname(__FILE__)}/configuration.yml")
# Requires supporting files with custom matchers an... |
namespace QuantConnect.Data.Market
{
/// <summary>
/// The type of the RenkoBar being created.
/// Used by RenkoConsolidator and ClassicRenkoConsolidator
/// </summary>
/// <remarks>Classic implementation was not entirely accurate for Renko consolidator
/// so we have replaced it with a new im... |
#ifndef TIACTOR_ACTOR_ICHILDRENCONTAINER_H
#define TIACTOR_ACTOR_ICHILDRENCONTAINER_H
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
#include <string>
namespace TiActor {
class IActorRef;
class ActorSystem;
class ActorSystemImpl;
class IInternalActorRef;
class ChildRestartStats;
template <typenam... |
package org.jetbrains.plugins.cbt.project.data.service
import com.intellij.openapi.externalSystem.model.DataNode
import com.intellij.openapi.externalSystem.model.project.ProjectData
import com.intellij.openapi.externalSystem.service.notification.{ExternalSystemNotificationManager, NotificationCategory, NotificationDat... |
package edu.usc.goffish.gofs.partition;
import it.unimi.dsi.fastutil.longs.*;
import java.util.*;
import edu.usc.goffish.gofs.*;
public class BaseInstance implements ISubgraphInstance {
private final long _instanceId;
private final long _timestampStart;
private final long _timestampEnd;
priv... |
package org.osgi.test.cases.dmt.tc2.tbc.Plugin.LogPlugin;
import java.util.List;
import org.osgi.service.dmt.DmtData;
import org.osgi.service.dmt.DmtIllegalStateException;
import org.osgi.service.dmt.MetaNode;
class LogMetaNode implements MetaNode {
static final boolean MODIFIABLE = true;
static final bool... |
#Utils_Calendar__event {
display: block;
width: 80px;
height: 100%;
margin: 1px;
background-repeat: repeat-x;
overflow: hidden;
}
#Utils_Calendar__event .handle {
cursor: move;
}
#Utils_Calendar__event div.row {
display: block;
}
#Utils_Calendar__event #event_info {
display: block... |
@extends('app')
@section('breadcrumbs.items')
<a class="breadcrumb" href="{{ route('goals.index') }}">{{ trans('labels.goals.plural') }}</a>
<div class="breadcrumb breadcrumb--active">{{ $goal->label }}</div>
@endsection
@section('breadcrumbs.actions')
<toggle>
<template v-slot="{ isOn, setTo }">
<a class="bu... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="date_and_time" formatted="false">%-k:%M:%S %-e. %-m. %Y</string>
<string name="date_time">%2$s %1$s</string>
<string name="month_day_year" formatted="false">%-e. %B %Y</string>
<string name="time_of_day" formatted="false">%-k:%M:%S</string... |
__author__ = 'jay'
from pathlib import Path
import os
import json
import requests
data_dir = Path(__file__, "../../data").resolve()
usernames_path = Path(data_dir, "github_usernames.json")
users_path = Path(data_dir, "github_users.json")
users_url_template = "https://api.github.com/users/%s"
class RateLimitExceptio... |
declare namespace javax {
namespace management {
interface MXBean extends java.lang.annotation.Annotation {
value(): boolean
}
}
}
|
This repo is the pre-configured project structure to be used for creating ambitious web servers using AdonisJs.
> Make sure to star the official [framework repo](https://github.com/adonisjs/adonis-framework) or [tweet on twitter](https://twitter.com/intent/tweet?url=http://adonisjs.com&text=I%20am%20using%20AdonisJs,%... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Configuration;
using MongoDB.Driver;
using MongoDB.Bson;
using MongoDB.Driver.Builders;
using System.Text;
using System.Text.RegularExpressions;
using System.Globalization;
namespace Re... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE124_Buffer_Underwrite__malloc_char_memmove_42.c
Label Definition File: CWE124_Buffer_Underwrite__malloc.label.xml
Template File: sources-sink-42.tmpl.c
*/
/*
* @description
* CWE: 124 Buffer Underwrite
* BadSource: Set data pointer to before the allocated mem... |
package main
// #cgo LDFLAGS: -ldl
// #include <stdlib.h>
// #include <dlfcn.h>
// #include <sys/types.h>
//
// int
// my_sd_pid_get_owner_uid(void *f, pid_t pid, uid_t *uid)
// {
// int (*sd_pid_get_owner_uid)(pid_t, uid_t *);
//
// sd_pid_get_owner_uid = (int (*)(pid_t, uid_t *))f;
// return sd_pid_get_owner_u... |
from __future__ import absolute_import, division, unicode_literals
from flask_restful.reqparse import RequestParser
from sqlalchemy.orm import joinedload
from collections import defaultdict
from changes.api.base import APIView, error
from changes.api.auth import get_current_user
from changes.models.author import Au... |
package com.buschmais.xo.impl.proxy.repository;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import com.buschmais.xo.api.XOManager;
public class RepositoryInvocationHandler implements InvocationHandler {
private RepositoryProxyMethodService proxyMethodService;
private XOMana... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
namespace CliTranslate
{
[Serializable]
public class GenericParameterStructure : TypeStructure
{
public GenericParameterAttribu... |
package com.defaultsms.app.mms.pdu;
import android.util.Config;
import android.util.Log;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
/***
* Encoded-string-value = Text-string | Value-length Char-set Text-string
*/
publ... |
package com.wistronits.wh.annbot.utils;
import java.io.File;
import java.util.Comparator;
/**
* 按时间升序排列
* Created by WH1107012 on 2017/9/11.
*/
public class FileComparator2 implements Comparator<File> {
@Override
public int compare(File file1, File file2) {
if (file1.lastModified() > file2.lastMod... |
import java.util.Scanner;
/**
* Created by 000 on 20.4.2017 г..
*/
public class SumDigits1 {
public static void main(String[] args) {
Scanner reader = new Scanner(System.in);
int n = Integer.parseInt(reader.nextLine());
int sum = 0;
// String value = String.valueOf(n);
// ... |
package com.camunda.fox.showcase.jobannouncement.service.impl;
import static org.fest.assertions.Assertions.*;
import javax.persistence.EntityManager;
import org.activiti.engine.IdentityService;
import org.activiti.engine.identity.User;
import org.activiti.engine.identity.UserQuery;
import org.junit.Before;
import o... |
struct KeyManager {
byte hash_key[20];
uint32_t login_key;
uint32_t handshake_number;
char *handshake_string;
uint32_t identification_key[20];
uint32_t msg_key[20];
};
extern struct KeyManager *Key_Manager;
void btea(uint32_t *v, size_t n);
void password_hash(char buf, size_t, FILE *);
void djb_hash(uint32_t *, ... |
#pragma once
#include <aws/snowball/Snowball_EXPORTS.h>
#include <aws/snowball/SnowballRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/snowball/model/JobResource.h>
#include <aws/snowball/model/OnDeviceServiceConfiguration.h>
#include <aws/snowball/model/ShippingOption.h>
#include <aws/snow... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true" android:drawable="@drawable/shoppingcar_checkbox_select"></item>
<item android:drawable="@drawable/coupon_checkbox"/>
</selector> |
console.log('template data', UTILS.getCurrentTemplateData());
$(document).ready(function () {
var config = UTILS.getCurrentTemplateData();
config.data.status = "Cancelled";
FORM_HELPER.draw(".cancel-trip-content", config, {
bindings: {
status: "column-1",
comments: "column-... |
<?php
?>
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<ul>
<li>
<?php echo $model->getAttributeLabel('country_id'); ?><br/>
<?php echo $form->textField($model,'country_id'); ?>
</li>
<li>
<?php echo $model->getAttributeL... |
import constants
import os
import errorHandler
import exploreCommand, changeDirectory_command, createDir_command,fileManipulation_command
def parameterCommand(dismantle_command, self):
if dismantle_command[0] == "explore" :
exploreCommand.exploreWithFlag(dismantle_command,self)
elif dismantle_command[0] ... |
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <aws/ec2/model/SpotInstanceStateFault.h>
#include <aws/ec2/model/LaunchSpecification.h>
#include <aws/ec2/model/RIProductDes... |
include_recipe 'nginx::default'
sites = data_bag 'sites'
sites.each do |site_id|
next unless node['sites'].include? site_id
site = data_bag_item 'sites', site_id
if site['ssl']
# Set node attributes from data bag item ssl property
ns = "site_ssl_#{site_id}"
node.default[ns] = site['ssl']
['ssl'... |
"""
mp4 downloader prototype
Usage:
$ dlplaylist.py [OPTION] YOUTUBE_PLAYLIST_URL
Example:
$ dlplaylist.py https://www.youtube.com/playlist?list=xxxxxxxxxxxxxxxxxxxxxxxxxx
"""
from argparse import ArgumentParser
import re
import sys
from pytube import Playlist
__version__ = '1.0.0'
def parse_args(args):
"""Pars... |
<html>
<body>
<form action="http://localhost/cgi-bin/5a.pl" method="get">
<center>
<input type="submit" value="Show server information" />
</center>
</form>
</body>
</html>
|
'use strict';
var _vttparser = require('./vttparser');
var _vttparser2 = _interopRequireDefault(_vttparser);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
// String.prototype.startsWith is not supported in IE11
var startsWith = function startsWith(inputString, searc... |
package goja.castor.castor;
import goja.lang.Times;
import java.util.Calendar;
public class Calendar2String extends DateTimeCastor<Calendar, String> {
@Override
public String cast(Calendar src, Class<?> toType, String... args) {
return Times.sDT(src.getTime());
}
}
|
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>topology: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
code: true
type: page
title: getrange
---
# getrange
Returns a substring of a key's value.
[[_Redis documentation_]](https://redis.io/commands/getrange)
---
## Query Syntax
### HTTP
```http
URL: http://kuzzle:7512/ms/_getrange/<_id>?start=<start>&end=<end>
Method: GET
```
### Other protocols
```js
{
"contr... |
module Azure::Network::Mgmt::V2020_06_01
module Models
#
# Response for ListAuthorizations API service call retrieves all
# authorizations that belongs to an ExpressRouteCircuit.
#
class AuthorizationListResult
include MsRestAzure
include MsRest::JSONable
# @return [Array<Expre... |
@interface BNCApplicationTest : BNCTestCase
@end
@implementation BNCApplicationTest
- (void)testApplication {
// Test general info:
if ([UIApplication sharedApplication] == nil) {
NSLog(@"No host application for BNCApplication testing!");
return;
}
BNCApplication *application = [BNCA... |
#include <isl_ctx_private.h>
#include <isl_map_private.h>
#include <isl_bound.h>
#include <isl_bernstein.h>
#include <isl_range.h>
#include <isl_polynomial_private.h>
#include <isl_options_private.h>
/* Compute a bound on the polynomial defined over the parametric polytope
* using either range propagation or bernst... |
.class public final Landroid/view/accessibility/AccessibilityManager;
.super Ljava/lang/Object;
.source "AccessibilityManager.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/view/accessibility/AccessibilityManager$MyHandler;,
Landroid/view/accessibility/... |
load test_helper
@test "swift-proxy is listening" {
ip=$(lstack ip)
curl -s http://$ip:8080 | grep -q "Authentication required"
}
@test "swift list" {
lstack ssh 'source /root/creds.sh && swift list'
}
@test "swift post" {
lstack ssh 'source /root/creds.sh && swift post foo'
}
|
<?php
namespace Examples\Html;
/**
* @property string $content
*/
class Element
{
/** @type string */
protected $tag;
/** @type array */
protected $attributes;
/** @type string */
protected $content;
/** @type Collection */
protected $children;
/**
* @param string $tag
... |
package main
import (
"log"
"net/http"
"os"
"contrib.go.opencensus.io/exporter/stackdriver"
"contrib.go.opencensus.io/exporter/stackdriver/propagation"
"go.opencensus.io/plugin/ochttp"
"go.opencensus.io/trace"
)
func main() {
// Create and register a OpenCensus Stackdriver Trace exporter.
exporter, err := s... |
<?php
/**
* @file
* Contains \Drupal\Core\Entity\Enhancer\EntityRouteEnhancer.
*/
namespace Drupal\Core\Entity\Enhancer;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Cmf\Component\Routing\Enhancer\RouteEnhancerInterface;
use Symfony\Cmf\Component\Routing\RouteObjectInterface;
/**
* Enhances an enti... |
package com.cardpay.pccredit.intopieces.service;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.lang.StringUti... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... |
package com.github.andlyticsproject;
import android.app.LoaderManager;
import android.content.Context;
import android.content.Loader;
import android.os.Bundle;
import android.util.Log;
import com.github.andlyticsproject.Preferences.Timeframe;
import com.github.andlyticsproject.chart.Chart.ChartSet;
import... |
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Una guía sobre Jekyll - YAML</title>
<meta name="description" content="Un blog sobre SVG · CSS3 · HTML5">
... |
default_action :create
attr_accessor :exists
attribute :group, kind_of: String, required: true
attribute :size, kind_of: Integer, required: true
attribute :copies, kind_of: Integer, default: 1, equal_to: [1, 2, 3]
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="lib/chessboardjs/css/chessboard-0.3.0.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="board" class="board"></div>
<div class="info">
Search depth:
<select id="search-depth">
<op... |
var should = require("should")
var BabelsbergSrcTransform = require("../src/src_transform");
//'lively.TestFramework'
//'users.timfelgentreff.standalone.Compressor'
describe('bbb_src_transform', function() {
describe('transformation', function() {
it('transforms prolog rule with quotes.', function() {
... |
namespace LanguageExt.Pretty
{
/// <summary>
/// List of nesting level/document pairs yet to be laid out.
/// </summary>
public abstract record LayoutPipeline<A>;
public record Nil<A> : LayoutPipeline<A>
{
public static readonly LayoutPipeline<A> Default = new Nil<A>();
}
publi... |
// Copyright 2021 The Terasology Foundation
// SPDX-License-Identifier: Apache-2.0
package org.terasology.engine.world.viewer.layers.engine;
import org.terasology.engine.world.generation.facets.SurfaceTemperatureFacet;
import org.terasology.engine.world.viewer.layers.FieldFacetLayer;
import org.terasology.engine.worl... |
Author:[Marc Steven](https://twitter.com/marcstevencoder)
---
* Django's data models are easier to get started: they are built-in to the framework
* Django assumes that you will use a relational database, if you don't, it will fight you
* Flask allows more flexibility to choose your data model. More Choices mean more ... |
<div class="container">
<div *ngIf="!izbor" class="row" >
<ba-card title="" baCardClass="with-scroll">
<ng2-smart-table [settings]="settings" [source]="source" (delete)="onDelete($event)" (edit)="onEdit($event)" (create)="onCreate()"></ng2-smart-table>
</ba-card>
</div>
</div>
<div *ngIf="izbor" clas... |
using System;
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Compute.Models
{
internal partial class VirtualHardDisk : IUtf8JsonSerializable
{
void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
{
writer.WriteStartObject();
if (Optional.IsD... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../libc/constant.FAN_ALLOW.html">
</head>
<body>
<p>Redirecting to <a href="../../../../libc/constant.FAN_ALLOW.html">../../../../libc/constant.FAN_ALLOW.html</a>...</p>
<script>location.replace("../../../../libc/cons... |
package org.mrgeo.cmd.ingest;
import org.mrgeo.cmd.Command;
import org.mrgeo.cmd.CommandSpi;
public class IngestImageSpi extends CommandSpi
{
@Override
public Class<? extends Command> getCommandClass()
{
return IngestImage.class;
}
@Override
public String getCommandName()
{
return "ingest";... |
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
describe "StickyFingers" do
end
|
import React, {Component} from 'react';
import ReactNative from 'react-native';
import ButtonCircle from '../components/ButtonCircle';
import InputText from '../components/InputText';
import SelectBox from '../components/SelectBox';
import ItemList from '../components/ItemList';
import FlatList from '../components/Flat... |
service "awslogs" do
supports :restart => true
action :nothing
end |
/*global beforeEach:true, describe:true, it:true */
'use strict';
// Angular:
var angular = require('angular');
require('angular-mocks');
// Test Utilities:
var chai = require('chai');
var dirtyChai = require('dirty-chai');
// Test setup:
var expect = chai.expect;
chai.use(dirtyChai);
// Mocks:
var MockHttpResponse... |
package com.aspose.slides.examples.shapes;
import com.aspose.slides.IShape;
import com.aspose.slides.ISlide;
import com.aspose.slides.Presentation;
import com.aspose.slides.examples.RunExamples;
import java.io.File;
public class FindShapeInSlide
{
//ExStart:FindShapeInSlide
public static void main(String[] ... |
package com.payu.payuui.SdkuiUtil;
/**
* Created by harmeet on 13/8/15.
*/
public interface SdkUIConstants {
String LAZY_PAY="Lazy Pay";
String SAVED_CARDS = "Saved Cards";
String CREDIT_DEBIT_CARDS = "Credit/Debit Cards";
String NET_BANKING = "Net Banking";
String UPI = "UPI";
String CASH_... |
#ifndef CORE_CALLSTACK_H_
#define CORE_CALLSTACK_H_
#include <Core/Standard.h>
namespace Core
{
void LM_API_COR getCallStack(String & cs);
void LM_API_COR getCallStackLowLevel(char * pString, int32 maxCount);
void LM_API_COR dumpSystemExceptionCallStack(void * pException);
}
#endif
|
var path = require('path')
, fs = require('graceful-fs')
, util = require('../../util/util')
, haxelib = require('../../util/haxelib')
, prepare = require('../prepare')
//return all dependencies, as {found:{}, failed:{}}
var internal = {};
exports.parse = function parse(flow, parsed, result, de... |
import scrapy
class DockerBlogSpider(scrapy.Spider):
name = "docker-blog"
allowed_domains = ["dockerone.com"]
start_urls = (
'http://www.dockerone.com/article/',
)
def parse(self, response):
filename = response.url.split("/")[-2]
open(filename, 'wb').write(response.body) |
require_relative '../../api1200/c7000/uplink_set'
module OneviewSDK
module API1600
module C7000
# Uplink set resource implementation for API1600 C7000
class UplinkSet < OneviewSDK::API1200::C7000::UplinkSet
# Create a resource object, associate it with a client, and set its properties.
... |
namespace spirea::mp {
namespace detail {
template <typename B, typename T>
struct search_cond
{
inline static constexpr bool value = !empty_v< find_if_t< B, std::is_same< _, T > > >;
};
} // namespace detail
template <typename A, typename B>
struct equal_set :
public std::bool_constant<
( size_v< A... |
package org.jboss.pnc.datastore;
import org.jboss.pnc.model.Artifact;
import org.jboss.pnc.model.BuildConfigSetRecord;
import org.jboss.pnc.model.BuildConfiguration;
import org.jboss.pnc.model.BuildConfigurationAudited;
import org.jboss.pnc.model.BuildRecord;
import org.jboss.pnc.model.User;
import org.jboss.pnc.spi.... |
<?php
namespace Model;
use Nette;
/**
*
*/
class GiftManager extends Nette\Object
{
/** @var Nette\Database\Context */
private $database;
public function __construct(Nette\Database\Context $database)
{
$this->database = $database;
}
/**
* Add gift
*
* @return void
* @param int
* @param String
... |
\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\setlength\PreviewBorder{2mm}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usetikzlibrary{angles,quotes}
\usetkzobj{all}
\usetikzlibrary{shapes, calc, decorations}
\usepackage{amsmath,amssymb}
\usepackage{helvet}
\usepackage[eulergreek]{sansmath}
\b... |
https://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid=697993
|
NonModuleGlobal = 'non-module-global';
|
<?php
namespace Isolate\LazyObjects\Proxy;
/**
* @api
*/
interface Factory
{
/**
* @param mixed $object
* @param Definition $definition
* @return mixed $object
*
* @api
*/
public function createProxy($object, Definition $definition);
}
|
<section data-ng-controller="HomeController">
<div id="wrapper">
<!-- Sidebar -->
<div id="sidebar-wrapper" style="background-color: #00395c">
<ul class="sidebar-nav">
<li class="sidebar-brand">
<a href="#">
</a>
<... |
#include <QtTest/private/qtesttable_p.h>
#include <QtTest/qtestdata.h>
#include <QtTest/qtestassert.h>
#include <QtCore/qmetaobject.h>
#include <string.h>
QT_BEGIN_NAMESPACE
class QTestTablePrivate
{
public:
struct ElementList
{
ElementList(): elementName(0), elementType(0), next(0) {}
con... |
/** @constructor */
ScalaJS.c.java_lang_UnknownError = (function() {
ScalaJS.c.java_lang_VirtualMachineError.call(this)
});
ScalaJS.c.java_lang_UnknownError.prototype = new ScalaJS.inheritable.java_lang_VirtualMachineError();
ScalaJS.c.java_lang_UnknownError.prototype.constructor = ScalaJS.c.java_lang_UnknownError;
S... |
/* jshint indent: 2 */
module.exports = function(sequelize, DataTypes) {
return sequelize.define('role_has_user_account', {
role_id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
references: {
model: 'role',
key: 'id'
}
},
user_account_id... |
import { renderTestApp, screen, setMockResponse } from "../../test-utils"
import * as factory from "../../api/fields/factories"
import { urls } from "../../api/fields"
describe("EditFieldPage", () => {
let field
;``
beforeEach(() => {
field = factory.makeField({ is_moderator: true })
setMockResponse.get(... |
<?php
namespace LearnZF2I18n;
use Zend\EventManager\EventInterface;
use Zend\Http;
use Zend\I18n\Translator\Translator;
use Zend\Loader\StandardAutoloader;
use Zend\ModuleManager\Feature\AutoloaderProviderInterface;
use Zend\ModuleManager\Feature\BootstrapListenerInterface;
use Zend\ModuleManager\Feature\ConfigProv... |
'use strict'
import baseConfig from './base'
let config = {
appEnv: 'dev', // feel free to remove the appEnv property here
webapiurl: 'http://10.0.21.61/newposwebapi/',
urlPrefix: ''
// webapiurl: 'http://localhost:5005/'
}
export default Object.freeze(Object.assign({}, baseConfig, config))
|
package com.amazonaws.services.simplesystemsmanagement.model;
import java.io.Serializable;
/**
* Describes a filter for a specific list of instances.
*/
public class InstanceInformationFilter implements Serializable, Cloneable {
/** The name of the filter. */
private String key;
/** The filter values... |
AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
local OurSound = Sound('perp3.0/slots_play.mp3');
local OurSound_Lose = Sound('perp3.0/slots_lose.mp3');
local OurSound_Win = Sound('perp3.0/slots_win.mp3');
local SpinTimes = {2.6410, 2.9713, 3.3902};
local RotationsTable = {120, 265, 45,... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... |
package com.github.ggeorgovassilis.mockitools;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.mockito.invocation.InvocationOnMock;
import org.mockito.stubbing.Answer;
/**
* <p>
* Utility for writing simpler mockito {@link Answer}s. Just extend this class
* and impl... |