text stringlengths 3 1.05M |
|---|
"""Includes private helpers for the API class.
Copyright 2013 by Rackspace Hosting, Inc.
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 requi... |
module Wisepdf
class Writer
def initialize(wkhtmltopdf = nil, options = {})
self.wkhtmltopdf = wkhtmltopdf unless wkhtmltopdf.nil?
self.options = options
end
def to_pdf(string, options={})
invoke = self.command(options).join(' ')
self.log(invoke) unless Wisepdf::Configuration.prod... |
module BsellerRuby
class Stock < Base
attr_reader :response
PATH = "itens/estoque"
# {
# "batchNumber": 0,
# "content": [
# {
# "codigoDepartamento": 0,
# "codigoItem": "string",
# "estoqueEstabelecimento": [
# {
# "codigoEstabe... |
' 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 Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.CodeGeneration
Imports Microsoft.CodeAnalysis.CodeGeneration.CodeGenerationHelpers
Imports Micro... |
<?php
namespace Fuel\Core;
class Cache_Handler_Serialized implements \Cache_Handler_Driver
{
public function readable($contents)
{
return unserialize($contents);
}
public function writable($contents)
{
return serialize($contents);
}
}
|
package org.apache.flink.connector.jdbc.table;
import org.apache.flink.connector.jdbc.JdbcExecutionOptions;
import org.apache.flink.connector.jdbc.internal.options.JdbcDmlOptions;
import org.apache.flink.connector.jdbc.internal.options.JdbcLookupOptions;
import org.apache.flink.connector.jdbc.internal.options.JdbcOp... |
<?php namespace Bymovi\Mercadopago;
use Empresa;
use Illuminate\Support\ServiceProvider;
use Config;
use Log;
use Session;
class MercadopagoServiceProvider extends ServiceProvider {
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/**... |
package io.awacs.component.org.jetbrains.java.decompiler.modules.decompiler;
import io.awacs.component.org.jetbrains.java.decompiler.code.cfg.BasicBlock;
import io.awacs.component.org.jetbrains.java.decompiler.main.DecompilerContext;
import io.awacs.component.org.jetbrains.java.decompiler.main.collectors.CounterConta... |
package och.service.props;
import static och.util.FileUtil.*;
import static och.util.Util.*;
import java.io.File;
import java.io.FileInputStream;
import java.util.Properties;
import java.util.Set;
import och.service.props.impl.FileProps;
import org.junit.Test;
import test.BaseTest;
@SuppressWarnings("rawtypes")
... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Namespace Microsoft.CodeAnalysis.Editor.UnitTests.FindReferences
Partial Public Class FindReferencesTests
#Region "FAR on reference types"
<WorkIt... |
<?php
namespace Assetic\Factory;
use Assetic\Asset\AssetCollection;
use Assetic\Asset\AssetInterface;
use Assetic\Asset\AssetReference;
use Assetic\Asset\FileAsset;
use Assetic\Asset\GlobAsset;
use Assetic\Asset\HttpAsset;
use Assetic\AssetManager;
use Assetic\Factory\Worker\WorkerInterface;
use Assetic\FilterManag... |
import mmap
import string
import struct
import types
from utils import hash_160_to_pubkey_address, hash_160_to_script_address, public_key_to_pubkey_address, hash_encode,\
hash_160
class SerializationError(Exception):
"""Thrown when there's a problem deserializing or serializing."""
class BCDataStream(objec... |
/** @file FBXUtil.h
* @brief FBX utility functions for internal use
*/
#ifndef INCLUDED_AI_FBX_UTIL_H
#define INCLUDED_AI_FBX_UTIL_H
#include "FBXCompileConfig.h"
#include "FBXTokenizer.h"
namespace Assimp {
namespace FBX {
namespace Util {
/** helper for std::for_each to delete all heap-allocated items in ... |
/**
@ingroup simple
*/
#pragma once
void f(signed, unsigned);
|
interface KnockoutPunchesStatic {
enableAll(): void;
}
interface KnockoutPunchesFilters {
// Convert the value to uppercase.
uppercase(value: string): string;
// Convert the value to lowercase.
lowercase(value: string): string;
// Perform a search and replace on the value using String#replace.
replace(value: ... |
cask 'deltawalker' do
version '2.1.2'
sha256 '4ce4f47347df1c475fd631b52c246b1486aa92645fd6345acd8941d9f186afb0'
# amazonaws.com is the official download host per the vendor homepage
url "https://s3.amazonaws.com/deltawalker/DeltaWalker-#{version}_64.dmg"
name 'DeltaWalker'
homepage 'http://www.deltawalker.... |
var __slice = [].slice;
(function($) {
var Adapter;
$.fn.opentip = function(content, title, options) {
return new Opentip(this, content, title, options);
};
Adapter = (function() {
function Adapter() {}
Adapter.prototype.name = "jquery";
Adapter.prototype.domReady = function(callback) {
... |
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout 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=... |
var assert = require('assert'),
_ = require('lodash');
describe('Semantic Interface', function() {
describe('Array Type', function() {
describe('with valid data', function() {
/////////////////////////////////////////////////////
// TEST METHODS
///////////////////////////////////////////... |
#ifdef BOOST_MSVC
#pragma warning(push)
#pragma warning(disable: 4512) // assignment operator could not be generated
#pragma warning(disable: 4510) // default constructor could not be generated
#pragma warning(disable: 4610) // can never be instantiated - user defined constructor required
#endif
#if !defined(BOOST_PHOE... |
"""
Decorator tests.
"""
from hamcrest import (
assert_that,
equal_to,
instance_of,
is_,
)
from microcosm_pubsub.tests.fixtures import DuckTypeSchema, ExampleDaemon, noop_handler
class TestDecorators:
def setup(self):
self.daemon = ExampleDaemon.create_for_testing()
self.graph =... |
package com.jakewharton.u2020.data.api.oauth;
import android.app.IntentService;
import android.content.Intent;
import com.jakewharton.u2020.data.Injector;
import dagger.ObjectGraph;
import javax.inject.Inject;
public final class OauthService extends IntentService {
@Inject OauthManager oauthManager;
public Oauth... |
package com.babting.igo.igoserver.controller;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.map.JsonMappingException;
import org.codehaus.jackson.map.ObjectMapper;
import org.springframework.beans.factor... |
using testing::Mock;
namespace em = enterprise_management;
namespace policy {
namespace {
constexpr base::FilePath::CharType kLogFileName[] =
FILE_PATH_LITERAL("app_push_install_log");
constexpr char kPackageName[] = "com.example.app";
class AppInstallEventLogManagerWrapperTestable
: public AppInstallEven... |
#include "SkDeque.h"
#include "SkLayerRasterizer.h"
#include "SkPaint.h"
#include "SkRasterizer.h"
#include "Test.h"
class SkReadBuffer;
// Dummy class to place on a paint just to ensure the paint's destructor
// is called.
// ONLY to be used by LayerRasterizer_destructor, since other tests may
// be run in a separ... |
package org.springframework.boot.devtools.tunnel.client;
import java.io.Closeable;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.nio.ByteBuffer;
import java.nio.channels.AsynchronousCloseException;
import java.nio.channels.ServerSocketChannel;
import java.ni... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
namespace System.Runtime.Serialization
{
internal delegate void DeserializationEventHandler(object sender);
public delegate void SerializationEventHandler(StreamingContext context);
}
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>quicksort-complexity: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boot... |
module Spree
LineItem.class_eval do
has_many :ad_hoc_option_values_line_items, dependent: :destroy
has_many :ad_hoc_option_values, through: :ad_hoc_option_values_line_items
has_many :product_customizations, dependent: :destroy
def options_text
str = Array.new
unless self.ad_hoc_option_val... |
#
#
# /* See http://www.boost.org for most recent version. */
#
# ifndef BOOST_PREPROCESSOR_CONFIG_CONFIG_HPP
# define BOOST_PREPROCESSOR_CONFIG_CONFIG_HPP
#
# /* BOOST_PP_CONFIG_FLAGS */
#
# define BOOST_PP_CONFIG_STRICT() 0x0001
# define BOOST_PP_CONFIG_IDEAL() 0x0002
#
# define BOOST_PP_CONFIG_MSVC() 0x0004
# defin... |
<html>
<body>
Reports any classes which is only depended on and only depends on one module which
is different from the module containing the class. Such class could be moved into
that module.
<!-- tooltip end -->
<p>
</body>
</html> |
/** @file Implementation of the 3ds importer class */
#include "AssimpPCH.h"
#ifndef ASSIMP_BUILD_NO_3DS_IMPORTER
// internal headers
#include "3DSLoader.h"
#include "TargetAnimation.h"
using namespace Assimp;
// ------------------------------------------------------------------------------------------------
// S... |
class User < ActiveRecord::Base
include Sunrise::Models::User
# Include default devise modules.
devise :database_authenticatable, :confirmable, :lockable, :timeoutable,
:recoverable, :rememberable, :trackable, :validatable,
:encryptable, :encryptor => :sha512
# Setup accessible (or protect... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>History</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
<link rel="home" href="../../index.html" title="Boost... |
package apimachinery
import (
"context"
"encoding/json"
"fmt"
"reflect"
"strings"
"time"
"k8s.io/utils/pointer"
admissionregistrationv1 "k8s.io/api/admissionregistration/v1"
appsv1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1"
rbacv1 "k8s.io/api/rbac/v1"
apiextensionsv1 "k8s.io/apiextensions-apiserver/p... |
using System;
namespace Glimpse.WindowsAzure.Infrastructure
{
public class WindowsAzureWebsitesEnvironment
: IWindowsAzureEnvironment
{
public bool IsAvailable
{
get
{
return !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("WEBSITE_SITE_... |
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.0" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-... |
<?php
namespace LazyMapTestAsset;
/**
* Simple classical array-based map - used to simulate the overhead of a classical array-based solution
*
* @author Marco Pivetta <ocramius@gmail.com>
*/
class NullArrayBasedLazyMap
{
/**
* @var mixed[]
*/
private $items = array();
/**
* Lazy gette... |
<?php
namespace FeedIo\Rule\Atom;
use FeedIo\Feed\Item;
use \PHPUnit\Framework\TestCase;
class CategoryTest extends TestCase
{
/**
* @var \FeedIo\Rule\Atom\Category
*/
protected $object;
protected function setUp(): void
{
$this->object = new Category();
}
public function... |
namespace extensions {
// This class registers providers that want to prohibit certain actions from
// being applied to extensions. It must be called, via the ExtensionService,
// before allowing a user or a user-level mechanism to perform the respective
// action. (That is, installing or otherwise modifying an extens... |
/**
* @author sunag / http://www.sunag.com.br/
*/
THREE.JoinNode = function( x, y, z, w ) {
THREE.TempNode.call( this, 'fv1' );
this.x = x;
this.y = y;
this.z = z;
this.w = w;
};
THREE.JoinNode.inputs = [ 'x', 'y', 'z', 'w' ];
THREE.JoinNode.prototype = Object.create( THREE.TempNode.prototype );
THREE.Join... |
package org.sejda.sambox.encryption;
import static java.util.Objects.requireNonNull;
import static org.bouncycastle.util.Arrays.concatenate;
import static org.bouncycastle.util.Arrays.copyOf;
import static org.sejda.sambox.encryption.EncryptUtils.rnd;
import static org.sejda.commons.util.RequireUtils.requireArg;
/**... |
namespace cc {
OnscreenDisplayClient::OnscreenDisplayClient(
scoped_ptr<OutputSurface> output_surface,
SurfaceManager* manager,
SharedBitmapManager* bitmap_manager,
gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager,
const RendererSettings& settings,
scoped_refptr<base::SingleThreadTaskRunn... |
package de.tor.tribes.ui.renderer;
import de.tor.tribes.util.Constants;
import java.awt.Color;
import java.awt.Graphics;
import javax.swing.JLabel;
/**
*
* @author Torridity
*/
public class MultiColorLabel extends JLabel {
public MultiColorLabel() {
super.setOpaque(true);
}
@Override
pub... |
(require('b'): boolean);
|
<?php
namespace Guzzle\Tests\Service\Command;
use Guzzle\Http\Message\Response;
use Guzzle\Service\Client;
use Guzzle\Service\Command\OperationResponseParser;
use Guzzle\Service\Command\OperationCommand;
use Guzzle\Service\Description\Operation;
use Guzzle\Service\Description\ServiceDescription;
use Guzzle\Service\Co... |
package gosteno
import (
"bufio"
"io"
. "launchpad.net/gocheck"
)
type IOSinkSuite struct {
}
var _ = Suite(&IOSinkSuite{})
func (s *IOSinkSuite) TestAddRecord(c *C) {
pReader, pWriter := io.Pipe()
sink := NewIOSink(nil)
sink.writer = bufio.NewWriter(pWriter)
sink.SetCodec(NewJsonCodec())
go func(msg strin... |
package org.apache.ignite.internal.processors.marshaller;
import org.apache.ignite.internal.managers.discovery.DiscoCache;
import org.apache.ignite.internal.managers.discovery.DiscoveryCustomMessage;
import org.apache.ignite.internal.managers.discovery.GridDiscoveryManager;
import org.apache.ignite.internal.processo... |
{- |
Module : Data.DRS.Input.String
Copyright : (c) Harm Brouwer and Noortje Venhuizen
License : Apache-2.0
Maintainer : me@hbrouwer.eu, n.j.venhuizen@rug.nl
Stability : provisional
Portability : portable
String to DRS
-}
module Data.DRS.Input.String
(
-- * String to DRS conversion
stringToDRS
... |
import {Injectable, Inject} from 'angular2/src/core/di';
import {
StringWrapper,
isPresent,
isBlank,
RegExpWrapper,
normalizeBlank
} from 'angular2/src/facade/lang';
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
import {ListWrapper} from 'angular2/src/facade/collection';
impo... |
<?php
/**
* @see Zend_Gdata_App_Extension_Element
*/
require_once 'Zend/Gdata/App/Extension/Element.php';
/**
* Concrete class for working with CCR elements.
*
* @category Zend
* @package Zend_Gdata
* @subpackage Health
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.co... |
.PHONY: build push
TAG = 1.2
build:
docker build -t gcr.io/google_containers/fluentd-sidecar-es:$(TAG) .
push:
gcloud docker push gcr.io/google_containers/fluentd-sidecar-es:$(TAG)
|
module Gruff
# @private
class Renderer::Rectangle
def initialize(renderer, color: nil, width: 1.0, opacity: 1.0)
@renderer = renderer
@color = color
@width = width
@opacity = opacity
end
def render(upper_left_x, upper_left_y, lower_right_x, lower_right_y)
@renderer.draw.pu... |
from django.test import SimpleTestCase, ignore_warnings
from django.utils.deprecation import RemovedInDjango40Warning
from django.utils.encoding import force_text, smart_text
from django.utils.functional import SimpleLazyObject
from django.utils.translation import gettext_lazy
@ignore_warnings(category=RemovedInDjang... |
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import jsonfield.fields
import airmozilla.closedcaptions.models
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
('main', '0025_auto_20160630_2040'),
... |
var pinStatus_pinUpdateRate = 1
var pinStatus_actualPinUpdateRate = 1
var pinStatus_pinReportCount = 0
var pinStatus_pinReportInterval = 5000
var pinStatus_pinUpdateTimer
var pinStatus_pinReportTimer
var pinStatus_lastPinUpdateTime
var pinStatus_minSamplesPerSec = 0.2
var pinStatus_maxSamplesPerSec = 5
var pinStatus... |
package com.badlogic.gdx.scenes.scene2d.ui;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.Batch;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.math.Interpolation;
import com.badlogic.gdx.math.MathUtils;
import com... |
<?php
namespace Symfony\Component\Finder;
/**
* Finder allows to build rules to find files and directories.
*
* It is a thin wrapper around several specialized iterator classes.
*
* All rules may be invoked several times.
*
* All methods return the current Finder object to allow easy chaining:
*
* $finder ... |
module Fog
module Compute
class Cloudstack
class Volume < Fog::Model
identity :id, :aliases => 'id'
attribute :name, :aliases => 'name'
attribute :zone_id, :aliases => 'zoneid'
attribute :zone_name, ... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.sambuo.pictaker"
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permiss... |
package com.amazonaws.services.cloudwatch.model;
import javax.annotation.Generated;
/**
* <p>
* The quota for alarms for this customer has already been reached.
* </p>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class LimitExceededException extends com.amazonaws.services.cloudwatch.model.Am... |
package options
const (
// APIServerAdvertiseAddress flag sets the IP address the API Server will advertise it's listening on. Specify '0.0.0.0' to use the address of the default network interface.
APIServerAdvertiseAddress = "apiserver-advertise-address"
// APIServerBindPort flag sets the port for the API Serve... |
title: "Introducing the JSX Specification"
author: sebmarkbage
---
At Facebook we've been using JSX for a long time. We originally introduced it to the world last year alongside React, but we actually used it in another form before that to create native DOM nodes. We've also seen some similar efforts grow out of our w... |
include $(GOROOT)/src/Make.inc
TARG=github.com/hailocab/protobuf/compiler/generator
GOFILES=\
generator.go\
DEPS=../descriptor ../plugin ../../proto
include $(GOROOT)/src/Make.pkg
|
package tunneler
import (
"context"
"fmt"
"io/ioutil"
"net"
"net/http"
"net/url"
"os"
"sync/atomic"
"time"
"k8s.io/apimachinery/pkg/util/clock"
"k8s.io/apimachinery/pkg/util/wait"
"k8s.io/kubernetes/pkg/ssh"
utilfile "k8s.io/kubernetes/pkg/util/file"
"github.com/golang/glog"
"github.com/prometheus/c... |
''' Provide the ``Override`` class, for overriding base class property
attributes.
.. note::
This class should normally be imported from ``bokeh.core.properties``
instead of directly from this module.
'''
class Override(object):
''' Override attributes of Bokeh property in derived Models.
When subcl... |
@interface ObjCBeEmptyTest : XCTestCase
@end
@implementation ObjCBeEmptyTest
- (void)testPositiveMatches {
expect(@[]).to(beEmpty());
expect(@"").to(beEmpty());
expect(@{}).to(beEmpty());
expect([NSSet set]).to(beEmpty());
expect([NSIndexSet indexSet]).to(beEmpty());
expect([NSHashTable hashTa... |
/**
* {@link com.google.api.client.util.Beta} <br>
* Utilities for Google's Atom XML implementation (see detailed package specification).
*
* <h2>Package Specification</h2>
*
* <p>User-defined Partial XML data models allow you to defined Plain Old Java Objects (POJO's) to
* define how the library should parse/... |
package ro.pub.cs.aipi.lab07.entities;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;
@StaticMetamodel(BookPresentation.class)
public class BookPresentation_ {
public static volatile SingularAttribute<BookPresentation, Long> id;
public static volatil... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>
Automation Framework
</TITLE>
</HEAD>
<BODY>
<H1>Automation Framework</H1>
This add-on provides a framework that allows ZAP to be automated in an easy and flexible way.
<p>
It provides the following command line options:
<ul>
<li>-autorun <... |
/*!
AnythingSlider v1.9.0
Original by Chris Coyier: http://css-tricks.com
Get the latest version: https://github.com/CSS-Tricks/AnythingSlider
To use the navigationFormatter function, you must have a function that
accepts two paramaters, and returns a string of HTML text.
index = integer index (1 based);
panel... |
// Type definitions for d3-dsv
// Project: https://www.npmjs.com/package/d3-dsv
// Definitions by: Jason Swearingen <https://jasonswearingen.github.io>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
//commonjs loader
declare module "d3-dsv" {
/** A parser and formatter for DSV (CSV and TSV) files.
... |
diff -Naur old-modules new-modules > modules.patch
|
/* http://keith-wood.name/countdown.html
Countdown for jQuery v1.5.1.
Written by Keith Wood (kbwood{at}iinet.com.au) January 2008.
Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and
MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt) licenses.
Plea... |
// Copyright 2012 Mark Cavage, Inc. All rights reserved.
'use strict';
var EventEmitter = require('events').EventEmitter;
var url = require('url');
var util = require('util');
var errors = require('restify-errors');
var assert = require('assert-plus');
var LRU = require('lru-cache');
var Negotiator = require('negot... |
var mdeps = require('module-deps');
var depsSort = require('deps-sort');
var bpack = require('browser-pack');
var insertGlobals = require('insert-module-globals');
var syntaxError = require('syntax-error');
var builtins = require('./lib/builtins.js');
var splicer = require('labeled-stream-splicer');
var through = req... |
#import "RCTRootView.h"
/**
* The interface provides a set of functions that allow other internal framework
* classes to change the RCTRootViews's internal state.
*/
@interface RCTRootView ()
/**
* This setter should be used only by RCTUIManager on react root view size update.
*/
@property (readwrite, nonatomi... |
namespace Northwind.Models
{
using System;
using System.Collections.Generic;
public partial class Sales_by_Category
{
public int CategoryID { get; set; }
public string CategoryName { get; set; }
public string ProductName { get; set; }
public Nullable<decimal> Product... |
#include "VolumetricLightRenderer.h"
#include <vxGL/Buffer.h>
#include "../gl/ObjectManager.h"
#include <UniformVolumetricFogBuffer.h>
#include <vxGL/ShaderManager.h>
#include <vxLib/File/FileHandle.h>
#include <vxGL/Texture.h>
#include <vxGL/Framebuffer.h>
#include "Commands.h"
#include "Segment.h"
#include "State.h... |
'use strict';
exports.__esModule = true;
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writab... |
package com.amazonaws.services.securityhub.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.securityhub.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.core.JsonToken;
import s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml;
using Hyak.Common;
using Hyak.Common.Internals;
using Microsoft.Azure;
using Microsoft.Azu... |
package com.mossle.bpm.web;
import java.util.List;
import javax.annotation.Resource;
import com.mossle.bpm.persistence.domain.BpmConfListener;
import com.mossle.bpm.persistence.domain.BpmConfNode;
import com.mossle.bpm.persistence.manager.BpmConfListenerManager;
import com.mossle.bpm.persistence.manager.BpmConfNodeM... |
#ifndef COMPAT_MSVCRT_SNPRINTF_H
#define COMPAT_MSVCRT_SNPRINTF_H
#include <stdarg.h>
#include <stdio.h>
int avpriv_snprintf(char *s, size_t n, const char *fmt, ...);
int avpriv_vsnprintf(char *s, size_t n, const char *fmt, va_list ap);
#undef snprintf
#undef _snprintf
#undef vsnprintf
#define snprintf avpriv_snpr... |
package com.hazelcast.concurrent.atomiclong;
import com.hazelcast.config.Config;
import com.hazelcast.config.MergePolicyConfig;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IAtomicLong;
import com.hazelcast.nio.ObjectDataInput;
import com.hazelcast.nio.ObjectDataOutput;
import com.hazelcast... |
/*****************************************************************
*
* This file has functions for compatibility with cryptolibs
* lacking the EVP_Digest API.
*
* See mac.c for the implementation using the EVP interface.
*
****************************************************************/
#ifndef HAS_EVP_PKEY... |
<?php
namespace App\Http\Controllers\Admin;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\DB;
use App\User;
class AdminController extends Controller
{
/**
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\Vie... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
class CreateSupplaiersTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('supplaiers', function(Blueprint $table) {
... |
from __future__ import unicode_literals
from django import http
from django.apps import apps
from django.contrib.contenttypes.models import ContentType
from django.contrib.sites.requests import RequestSite
from django.core.exceptions import ObjectDoesNotExist
from django.utils.translation import ugettext as _
def sh... |
#include "SkPostParts.h"
#include "SkDisplayPost.h"
#if SK_USE_CONDENSED_INFO == 0
const SkMemberInfo SkDataInput::fInfo[] = {
SK_MEMBER_INHERITED
};
#endif
DEFINE_GET_MEMBER(SkDataInput);
SkDataInput::SkDataInput() : fParent(NULL) {}
bool SkDataInput::add() {
SkASSERT(name.size() > 0);
const char... |
package manifest
import (
"bytes"
"encoding/json"
"reflect"
"testing"
"github.com/docker/libtrust"
)
type testEnv struct {
name, tag string
manifest *Manifest
signed *SignedManifest
pk libtrust.PrivateKey
}
func TestManifestMarshaling(t *testing.T) {
env := genEnv(t)
// Check that the Raw fie... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TableID1a8420c834c9</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<style type="text/css">
body {
color: #444444;
fo... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
#ifndef BOOST_ATOMIC_DETAIL_GENERIC_CAS_HPP
#define BOOST_ATOMIC_DETAIL_GENERIC_CAS_HPP
// Copyright (c) 2009 Helge Bahmann
//
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <cstddef>
#include <boo... |
#import "SVGKLayer.h"
@implementation SVGKLayer
{
}
@synthesize SVGImage = _SVGImage;
@synthesize showBorder;
//self.backgroundColor = [UIColor clearColor];
/** Apple requires this to be implemented by CALayer subclasses */
+(id)layer
{
SVGKLayer* layer = [[[SVGKLayer alloc] init] autorelease];
return layer;
}
... |
package com.amazonaws.services.cognitoidp.model;
import javax.annotation.Generated;
/**
* <p>
* This exception is thrown when the user pool configuration is invalid.
* </p>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class InvalidUserPoolConfigurationException extends com.amazonaws.services... |
package org.wso2.siddhi.core.executor.condition.compare.not_equal;
import org.wso2.siddhi.core.executor.ExpressionExecutor;
public class NotEqualCompareConditionExpressionExecutorIntLong extends
NotEqualCompareConditionExpressionExecutor {
public NotEqualCompareConditionExpressionExecutorIntLong(
... |
<refentry xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="5.0" xml:id="refclass.sup... |
package net.mgsx.game.examples.platformer.animations;
import com.badlogic.ashley.core.Component;
import com.badlogic.ashley.core.ComponentMapper;
import net.mgsx.game.core.annotations.Editable;
import net.mgsx.game.core.annotations.EditableComponent;
import net.mgsx.game.core.annotations.EnumType;
import net.mgsx.gam... |