text stringlengths 3 1.05M |
|---|
@interface PodsDummy_Pods_Yelp_AFNetworking : NSObject
@end
@implementation PodsDummy_Pods_Yelp_AFNetworking
@end
|
package com.mongodb.reactivestreams.client;
import org.bson.Document;
import org.reactivestreams.Publisher;
import org.reactivestreams.tck.PublisherVerification;
import org.reactivestreams.tck.TestEnvironment;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.LongStream;
import sta... |
#ifndef _SDL_config_windows_h
#define _SDL_config_windows_h
#include "SDL_platform.h"
/* This is a set of defines to configure the SDL features */
#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
#if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__)
#define HAVE_STDINT_H 1
#el... |
namespace v8 {
namespace internal {
class CallInterfaceDescriptor;
class Isolate;
class Zone;
namespace compiler {
class CallDescriptor;
class Graph;
class Node;
class Operator;
class RawMachineAssembler;
class Schedule;
class CodeStubAssembler {
public:
CodeStubAssembler(Isolate* isolate, Zone* zone,
... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="ssdk_oks_share">Share</string>
<string name="ssdk_oks_sharing">La operación de compartir funciona en segundo plano…</string>
<string name="ssdk_oks_share_failed">Operation failed</string>
<string name="ssdk_oks_share_completed">Operation s... |
package specification_test
import (
"testing"
"github.com/eidolon/console/assert"
"github.com/eidolon/console/parameters"
"github.com/eidolon/console/specification"
)
func TestParseOptionSpecification(t *testing.T) {
t.Run("should set the name(s)", func(t *testing.T) {
option, err := specification.ParseOption... |
namespace HeroicallyRecipes.Data.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using HeroicallyRecipes.Common.Validation;
public class Category : BaseModel<int>
{
private ICollection<Recipe> ... |
package com.hbdworld.test8;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.speech.tts.TextToSpeech;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="@dimen/item_height"
android:orientation="vertical"
android:layout_margin="@dimen... |
Themes
==============================================
<h2>Light</h2>
Detta tema är väldigt simpelt. Det är ljust och luftigt med vit bakgrund och ljusgrått uppe i menyn. Accentfärgen är mörkgrå och används främst till borders.
<table style="border-spacing: 4px; border-collapse: separate">
<tbody><tr>
<td style="heig... |
class BranchesController < ApplicationController
caches_action :show, :build_time_history, cache_path: proc {
load_repository_and_branch
{ :modified => @branch.updated_at.to_i }
}
caches_action :status_report, expires_in: 15.seconds
# lists all convergence branches as well the 100 most recently active... |
var path = require('path');
module.exports = function (app) {
//example get statement that doesn't really do anything
app.get("/api/natural/:text", function (req, res) {
var inputText = req.params.text;
var err = false;
response = {text: "You submitted: " + inputText};
//return ... |
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment vari... |
<component name="ProjectDictionaryState">
<dictionary name="np74420" />
</component> |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lazy-pcf: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... |
package org.apache.ignite.testsuites;
import org.apache.ignite.internal.IgniteVersionUtilsSelfTest;
import org.apache.ignite.internal.pagemem.impl.PageIdUtilsSelfTest;
import org.apache.ignite.internal.processors.cache.GridCacheUtilsSelfTest;
import org.apache.ignite.internal.util.DistributedProcessCoordinatorLeftTe... |
/**
* Created by kelvinsun on 2016/6/12.
*/
'use strict';
const xml = require('xml');
const config = require('../config');
const News = require('../proxy').News;
const promiseWrap = require('../common/tool').promiseWrap;
module.exports = (req, res, next) => {
const channel = [];
for (let i in config.rs... |
package org.jivesoftware.openfire.update;
import java.time.Instant;
import org.jivesoftware.openfire.XMPPServer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Service that allow for aysynchrous calling of system managers.
*
* @author Derek DeMoro
*/
public class PluginDownloadManager {
pr... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__int_connect_socket_predec_04.c
Label Definition File: CWE191_Integer_Underflow__int.label.xml
Template File: sources-sinks-04.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: connect_socket Read data using a connect ... |
<?php
class VoteTable extends Doctrine_Table
{
}
|
import * as path from 'path'
import { ComponentDoc } from '../../../src/Documentation'
import { parse } from '../../../src/main'
const InputText = path.join(__dirname, './InputText.vue')
let docInputText: ComponentDoc
describe('tests InputText', () => {
beforeAll(async () => {
docInputText = await parse(InputText)... |
class OmniauthCallbacksController < Devise::OmniauthCallbacksController
def all
user = User.from_omniauth(request.env["omniauth.auth"])
if user.persisted?
# We must determine which repos the user can see so that we only allow
# them to see those repos
RefreshUserPermissions.run(user)
... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2011-2016. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
<?php
/**
* Created by PhpStorm.
* User: dhawal
* Date: 12/15/13
* Time: 7:02 PM
*/
namespace ClassCentral\SiteBundle\Swiftype\DocumentType;
use ClassCentral\SiteBundle\Swiftype\SwiftypeDocument;
use ClassCentral\SiteBundle\Swiftype\SwiftypeField;
class InstitutionDocumentType extends SwiftypeDocument {
p... |
<?php
namespace yii\filters;
use Yii;
use yii\base\Action;
use yii\base\ActionFilter;
use yii\di\Instance;
use yii\web\User;
use yii\web\ForbiddenHttpException;
/**
* AccessControl provides simple access control based on a set of rules.
*
* AccessControl is an action filter. It will check its [[ru... |
var should = require("should");
var sinon = require("sinon");
var helper = require("../../helper.js");
var execNode = require("../../../../nodes/core/core/75-exec.js");
var child_process = require('child_process');
describe('exec node', function() {
beforeEach(function(done) {
helper.startServer(done);... |
'use strict';
var childProcess = require('child_process');
var flexSdk = require('@dpwolfe/flex-sdk');
var async = require('async');
var path = require('path');
var compcOptions = require('./lib/options');
var compcFlexConfig = require('./lib/flexConfig');
module.exports = function(grunt) {
grunt.registerMulti... |
#include <future>
#include "unit_data_block.h"
#include "experimental/tiledb/common/dag/data_block/data_block.h"
#include "experimental/tiledb/common/dag/ports/ports.h"
#include "experimental/tiledb/common/dag/state_machine/fsm.h"
#include "experimental/tiledb/common/dag/state_machine/item_mover.h"
#include "experi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using SlimDX;
using SlimDX.Direct3D11;
using SlimDX.DXGI;
using SlimDX.Windows;
using Device = SlimDX.Direct3D11.Device;
using Resource = SlimDX.Direct3D11.Resource;
using Buffer = SlimDX.Direct... |
<!--
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Tabs Widget: QUnit Tests </title>
<base href="../../../"/>
<link type="text/css" rel="stylesheet" href="framework/qunit/qunit-1.14.0.css"/>
<script type="text/javascript" src="../../../pub/lib/jquery.js"></script>
<script type... |
Schemas for the Workflow Execution Service (WES) API
====================================================
The `Global Alliance for Genomics and
Health <http://genomicsandhealth.org/>`__ is an international coalition,
formed to enable the sharing of genomic and clinical data.
Cloud Work Stream
-----------------
The `... |
require 'rspec'
require 'dm-core/spec/setup'
require 'dm-core/spec/lib/adapter_helpers'
require 'dm-is-checksumed'
DataMapper::Logger.new(STDERR, :debug) if ENV['DEBUG']
DataMapper::Spec.setup
RSpec.configure do |config|
config.extend(DataMapper::Spec::Adapters::Helpers)
end
|
namespace QtAV {
ShaderManager::ShaderManager(QOpenGLContext *ctx) :
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
QObject(ctx)
#else
QObject(0)
#endif
, m_ctx(ctx)
{
}
ShaderManager::~ShaderManager()
{
invalidated();
}
VideoShader* ShaderManager::prepareMaterial(VideoMaterial *material)
{
const qint... |
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res/com.example.android.sunshine.app">
<item android:id="@+id/action_share"
android:title="@string/action_share"
app:showAsAction="always"
ap... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package sjl.hl7tester.runner;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.Acti... |
<?php
namespace Buzo\CoreBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that loads and manages ... |
package com.baomidou.mybatisplus.plugins;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.Properties;
import org.apache.ibatis.executor.statement.StatementHandler;
import org.apache.ibatis.logging.Log;
import org.apache.ibatis.logging.LogFactory;
import org.... |
var http = require('http');
var url = require('url');
var path = require('path');
var fs = require('fs');
var mime = require('mime');
function easyServer(root, options){
var opt = options || {};
var port = opt.port || 3000;
var headers = opt.headers;
var mtime;
var size;
http.createServer(function(req, re... |
<?php
namespace Senegal\ApiBundle\Tests\Entity;
use Senegal\ApiBundle\Entity\Contract;
use Senegal\ApiBundle\Entity\ContractSet;
use Senegal\ApiBundle\Entity\ContractSetIdentity;
use Senegal\ApiBundle\Entity\ContractSetZone;
use Senegal\ApiBundle\Entity\RapprochementSet;
use Senegal\ApiBundle\Entity\Version;
use Sene... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE369_Divide_by_Zero__int_connect_socket_modulo_52b.c
Label Definition File: CWE369_Divide_by_Zero__int.label.xml
Template File: sources-sinks-52b.tmpl.c
*/
/*
* @description
* CWE: 369 Divide by Zero
* BadSource: connect_socket Read data using a connect socket ... |
<?php
namespace Bacon\Pdf\Options;
final class RasterImageOptions
{
/**
* @var bool
*/
private $useLossyCompression;
/**
* @var int
*/
private $lossyCompressionQuality;
private function __construct($useLossyCompression = false, $lossyCompressionQuality = 100)
{
$... |
/* /////////////////////////////////////////////////////////////////////////
* test component header file include(s)
*/
#include <pantheios/pantheios.h>
/* /////////////////////////////////////////////////////////////////////////
* includes
*/
/* xTests header files */
#include <xtests/xtests.h>
/* STLSoft h... |
import numpy as np
from matplotlib import pyplot as plt
def show_2d_array(data, title=False):
if title:
plt.title(title)
plt.imshow(data, interpolation='nearest', cmap='coolwarm')
plt.colorbar()
plt.show() |
mkdir -p /copies
chmod 644 /copies
#copy important files
cp /etc/default/grub /copies/
cp /etc/modprobe.d/vfio.conf /copies/
cp /etc/mkinitcpio.conf /copies/
cp /etc/libvirt/qemu.conf /copies/
|
<section data-ng-controller="AccountsController" data-ng-init="find()">
<div class="page-header">
<h1>Accounts</h1>
</div>
<div class="list-group">
<a data-ng-repeat="account in accounts" data-ng-href="#!/accounts/{{account._id}}" class="list-group-item">
<small class="list-group-item-tex... |
Imports System
Imports Microsoft.VisualBasic
Imports ChartDirector
Public Class threedpie
Implements DemoModule
'Name of demo module
Public Function getName() As String Implements DemoModule.getName
Return "3D Pie Chart"
End Function
'Number of charts produced in this demo module
Publ... |
<?php
namespace PDS\StoryBundle\Youtube;
use Symfony\Component\HttpFoundation\File\File;
class YoutubeFile extends File
{
private $title;
public function __construct($title, $path)
{
$this->title = $title;
parent::__construct($path);
}
/**
* @return \Zend_Gdata_YouTube_Vid... |
all: build
.PHONY: all
# Include the library makefile
include $(addprefix ./vendor/github.com/openshift/build-machinery-go/make/, \
golang.mk \
targets/openshift/deps.mk \
targets/openshift/crd-schema-gen.mk \
)
GO_PACKAGES :=$(addsuffix ...,$(addprefix ./,$(filter-out vendor/,$(filter-out hack/,$(wildcard */)))))... |
<span id="navbar_top"></span>
<table>
<colgroup>
<col width="50%" />
<col width="50%" />
</colgroup>
<tbody>
<tr class="odd">
<td align="left"><span id="navbar_top_firstrow"></span>
<table>
<tbody>
<tr class="odd">
<td align="left"> <a href="../overview-summary.html.md"><strong>Overview</strong></a> </td>
<td align="l... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
#ifndef _ALLJOYN_H
#define _ALLJOYN_H
/**
* @file alljoyn.h
* @defgroup alljoyn Conveniently Include AllJoyn Headers
* @{
*/
/******************************************************************************
* Copyright AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribut... |
using PugTrace.Data;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Web.Mvc;
namespace PugTrace.Example.Controllers
{
public class HomeController : Controller
{
private static TraceSource Source { get; set; }
public HomeController()
... |
type: post110
title: Scaling Agent Example
categories: XAP110NET
parent: admin-modules.html
weight: 200
---
{{% ssummary %}} {{% /ssummary %}}
{{%folderopen%}}Example Root|`<XAP Root>\Examples\ScalingAgent`
The [Administration and Monitoring API](./administration-and-monitoring-api.html) allows you to monito... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Syll. fung. (Abellini) 5: 666 (1887)
#### Original name
Pluteus montellicus Sacc.
### Remarks
null |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Memory Struct Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>
<scrip... |
=========================
SaltStack Packaging Guide
=========================
Since Salt provides a powerful toolkit for system management and automation,
the package can be spit into a number of sub-tools. While packaging Salt as
a single package containing all components is perfectly acceptable, the split
packages s... |
using dg.interfaces;
using dg.interfaces.Providers;
using dg.objects;
using System;
using System.Collections.Generic;
namespace dg.utilities.Providers
{
public class NumberIdentityProvider : IValueProvider
{
private int increment;
private int index;
private IDictionary<string, string> ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>stalmarck: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... |
<component name="libraryTable">
<library name="runner-0.5">
<ANNOTATIONS>
<root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test/runner/0.5/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$USER_HOME$/.android/build-cache/8751127c108b2... |
package org.jivesoftware.smackx.packet;
import org.jivesoftware.smack.packet.PacketExtension;
/**
* Represents extended presence information about roles, affiliations, full JIDs,
* or status codes scoped by the 'http://jabber.org/protocol/muc#user' namespace.
*
* @author Gaston Dombiak
*/
public class MUCUser ... |
<?php
declare(strict_types=1);
namespace ApiPlatform\Core\Tests\Bridge\Symfony\Bundle\DependencyInjection;
use ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\QueryCollectionExtensionInterface;
use ApiPlatform\Core\Bridge\Doctrine\Orm\Extension\QueryItemExtensionInterface;
use ApiPlatform\Core\Bridge\Symfony\Bundle... |
<?php
namespace App\Http\Controllers;
use App\Image;
use App\Period;
use Carbon\Carbon;
use App\Http\Requests;
use Illuminate\Http\Request;
use App\Votes;
use Session;
class GameController extends Controller
{
private $carbon;
public function __construct(Carbon $carbon){
$this->carbon = $carbon;
... |
/**
***********************************************************************************************************************
* @file vk_descriptor_set_layout.h
* @brief Functionality related to Vulkan descriptor set layout objects.
***********************************************************************************... |
package edas
//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 or agreed to in writing, software
//distribu... |
from __future__ import absolute_import
from django.contrib import admin
from django_storymarket.admin import upload_to_storymarket, is_synced_to_storymarket, StorymarketUploaderInline
from .models import ExampleStory
class ExampleStoryAdmin(admin.ModelAdmin):
actions = [upload_to_storymarket]
list_display = [... |
class TodoListsController < ApplicationController
before_action :authenticate_user!
before_action :set_todo_list, only: [:show, :edit, :update, :destroy]
# GET /todo_lists
# GET /todo_lists.json
def index
@todo_lists = TodoList.all
end
# GET /todo_lists/1
# GET /todo_lists/1.json
def show
end
... |
#if !defined (_RSYS_BLOCKDEV_H_)
#define _RSYS_BLOCKDEV_H_
namespace Executor {
typedef struct _blockdev_t
{
uint32 block_size;
uint32 max_xfer_size; /* Max number of bytes to transfer at once. */
int fd;
uint32 fpos; /* Current file position. */
boolean_t locked_p; /* read-only? */
boolean_t removable_p... |
<?php
class Base64File
{
public $base64 = '';
public $filename = '';
private $folder = 'uploads';
function __construct($attrs)
{
$this->base64 = $attrs['base64'];
$this->filename = $this->folder.'/'.$attrs['filename'];
$this->decodeBase64File();
return $this;
}
funct... |
package pg_test
import (
"database/sql/driver"
"encoding/json"
"fmt"
"github.com/yobert/pg"
)
type jsonMap map[string]interface{}
func (m *jsonMap) Scan(value interface{}) error {
return json.Unmarshal(value.([]byte), m)
}
func (m jsonMap) Value() (driver.Value, error) {
b, err := json.Marshal(m)
if err != ... |
<!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 Thu Dec 15 09:48:36 EST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly... |
License
-------
The MIT License (MIT)
Copyright © 2014 [John Fischer](https://twitter.com/jfroffice)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limita... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="false" android:drawable="@drawable/btn_bg_normal" />
<item android:state_pressed="true" android:drawable="@drawable/btn_bg_active" />
</selector> |
#pragma once
#include <memory>
#include <string>
#include "types.hpp"
#include "sql/sql_plan_cache.hpp"
#include "sql_pipeline.hpp"
#include "sql_pipeline_statement.hpp"
namespace hyrise {
class Optimizer;
/**
* Interface for the configured execution of SQL.
*
* Minimal usage:
* SQLPipelineBuilder{"SELEC... |
#!/usr/bin/php
<?php
// Change to working directory
chdir(dirname(__FILE__));
// Include needed files
require_once '../includes/variables.php';
require_once '../includes/common.php';
// Get directories
$data = getSites();
// Initialize counter variables
$site_count = count($data);
$counter = 1;
// Start looping ... |
package org.apache.hadoop.yarn.server.resourcemanager;
import com.google.common.annotations.VisibleForTesting;
import com.sun.jersey.spi.container.servlet.ServletContainer;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.curator.framework.AuthInfo;
import org.a... |
package com.carrotsearch.randomizedtesting;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
import com.carrotsearch.randomizedtesting.annotations.Nightly;
/**
* Nightly mode checks.
*/
public class T... |
package net.moetang.iosample.multithread;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.PooledByteBufAllocator;
import io.netty.buffer.Unpooled;
import java.nio.ByteBuffer;
/**
* Created by sunsun on 14-6-28.
*/
public class NettyBasedByteBufSample {
public static void main(String[] args) {
//... |
<?php
$mysqli = new mysqli(SERVERNAME, USERNAME, PASSWORD, DATABASE);
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
if ( $subheadQuery = $mysqli->prepare("SELECT SUM(expenditure.price*expenditure.quantity) AS requested, SUM(expenditure.allocated) AS allo... |
package org.elasticsearch.index.query;
import com.google.common.collect.Sets;
import org.apache.lucene.analysis.core.WhitespaceAnalyzer;
import org.apache.lucene.index.*;
import org.apache.lucene.index.memory.MemoryIndex;
import org.apache.lucene.queries.BoostingQuery;
import org.apache.lucene.queries.ExtendedCommon... |
<?php //-->
namespace Eve\Framework\Validate;
/**
* Validate base class
*
* @vendor Eve
* @package Framework
* @author Christian Blanquera <cblanquera@openovate.com>
* @standard PSR-2
*/
class Base extends \Eve\Framework\Base
{
/**
* @const string FAIL_406 Error template
*/
const FAIL_4... |
package com.streamsets.pipeline.stage.destination.hdfs;
import com.google.common.io.Files;
import com.streamsets.pipeline.api.Batch;
import com.streamsets.pipeline.api.Field;
import com.streamsets.pipeline.api.OnRecordError;
import com.streamsets.pipeline.api.Record;
import com.streamsets.pipeline.api.Stage;
import c... |
import { ConfigParams } from './ConfigParams';
export declare class OptionResolver {
static resolve(config: ConfigParams, configAsDefault?: boolean): ConfigParams;
}
|
#if defined(_MSC_VER)
#pragma warning(disable: 4127 4251 4511 4512 4514 4702 4710 4711 4786 4097; error: 4150 4172 4238 4239 4715)
#if defined(_DEBUG)
#include <crtdbg.h>
#endif
#endif
#include "ArenaBlock.hpp"
#include "ReusableArenaBlock.hpp"
#include "ArenaAllocator.hpp"
#include "Reusab... |
package rdsbroker
import (
"context"
"encoding/json"
"github.com/pivotal-cf/brokerapi"
)
// UpdateServices is appliying changes to the plan config on all instances.
func UpdateServices(b *RDSBroker) error {
context := context.Background()
parameters := UpdateParameters{
ApplyImmediately: true,
}
parameter... |
import CoreLayout from './CoreLayout.jsx';
export default CoreLayout;
|
package debop4k.core.collections;
import debop4k.core.AbstractCoreTest;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import java.util.NoSuchElementException;
import static org.assertj.core.api.Assertions.assertThat;
import static org.eclipse.collections.impl.list.mutable.FastList.newListWith;
/**
* ... |
<?php
class SimplePie_First_Item_Content_Test_RSS_091_Netscape_Atom_10_Content extends SimplePie_First_Item_Content_Test
{
function data()
{
$this->data =
'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd">
<rss version="0.91" xmlns:a="http://www.w3.org/2005/Atom">
<channe... |
FROM node:argon
# Set up environment variables
ENV NODE_ENV production
ENV BUILD_VERSION 11
# List the Google Analytics ID as an arg to docker build, and save as env var
ARG GOOGLE_ANALYTICS_ID_ARG
ENV GOOGLE_ANALYTICS_ID $GOOGLE_ANALYTICS_ID_ARG
# Same for stripe vars
ARG STRIPE_PUBKEY_LIVE_ARG
ENV STRIPE_PUBKEY_LIV... |
//https://code.google.com/p/nya-engine/
#include "texture.h"
#include "render.h"
#include "platform_specific_gl.h"
#include "memory/tmp_buffer.h"
namespace nya_render
{
namespace
{
OPENGL_ONLY(unsigned int active_layer=0);
const unsigned int max_layers=8;
int current_layers[max_layers]=... |
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on November 2, 2011 12:21:41 PM America/New_York */
@font-face {
font-family: 'OpenSansLight';
src: url('OpenSans-Light-webfont.eot');
src: url('OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
url('OpenSans-Light-webfon... |
namespace NetBike.Xml.Contracts
{
public enum XmlNullValueHandling
{
Ignore,
Include
}
} |
package org.typedsolutions.aws.kinesis.model
import org.scalatest.Matchers
import org.scalatest.WordSpec
import com.amazonaws.regions.{Regions => UnderlyingRegions, Region => UnderlyingRegion}
import org.typedsolutions.aws.kinesis.model.Region._
class RegionSpec extends WordSpec with Matchers {
val valuesAndEnums ... |
package com.epam.ta.reportportal.core.log;
import com.epam.ta.reportportal.entity.log.Log;
import java.util.List;
import java.util.Set;
public interface LogService {
/**
* launchId - temporary, need to bring log launch/testItem to normal value.
*/
void saveLogMessage(Log log, Long launchId);
... |
@class MPKitFilter;
@class MPKitExecStatus;
@class MPCommerceEvent;
@class MPBaseEvent;
@class MPForwardQueueParameters;
@class MPKitConfiguration;
@interface MPKitContainer : NSObject
@property (nonatomic, copy) void (^ _Nonnull attributionCompletionHandler)(MPAttributionResult *_Nullable attributionResult, NSError ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Microsoft.MixedReality.Toolkit.Utilities;
using Microsoft.MixedReality.Toolkit.Utilities.Editor;
using System;
using System.Collections.Generic;
using System.L... |
package ru.skorikov;
import static java.lang.Math.*;
/** 3.1. Создать класс Point c двумя полями x, y.
Этот класс будет описывать точку в системе координат.
@author Alexey Skorikov
@since 25.09.2016
@verion 1.0
*/
//Класс с двумя полями
public class Point {
public double x;
public double y;
//Конструктор клас... |
import logging
from osc_lib import exceptions
from osc_lib import utils
from openstackclient.i18n import _
LOG = logging.getLogger(__name__)
DEFAULT_API_VERSION = '3'
API_VERSION_OPTION = 'os_volume_api_version'
API_NAME = "volume"
API_VERSIONS = {
"1": "cinderclient.v1.client.Client",
"2": "cinderclient.v... |
<?php
namespace App\Http\Requests;
use App\Models\ReplyAble;
use App\Models\Thread;
use App\Rules\HttpImageRule;
use App\User;
class CreateReplyRequest extends Request
{
public function rules()
{
return [
'body' => ['required', new HttpImageRule],
'replyable_id' => 'required',... |
\section{Réalisations}
Cette partie se constitue d'un ensemble de sous-parties décrivant chacune une
modification que j'ai réalisées sur TCtest. L'ordre chronologique n'est pas
respecté, en faveur d'un enchainement logique que j'espère plus facile à
suivre. Par conséquent, ce qui est considéré ici comme une réalisa... |