text stringlengths 3 1.05M |
|---|
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// 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.
[ass... |
package org.apache.hadoop.metrics2.lib;
import java.util.concurrent.atomic.AtomicReference;
import javax.management.ObjectName;
import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability;
import org.apache.hadoop.metrics2.MetricsException;
import org.apache... |
/* global define */
/* ================================================
* Make use of Bootstrap's modal more monkey-friendly.
*
* For Bootstrap 3.
*
* javanoob@hotmail.com
*
* https://github.com/nakupanda/bootstrap3-dialog
*
* Licensed under The MIT License.
* ================================================... |
'use strict';
// Declare app level module which depends on views, and components
angular.module('myApp', [
'ngRoute',
'myApp.settingsApi',
'myApp.deviceApi',
'myApp.home',
'myApp.settings',
'myApp.version',
'chart.js'
]).
config(['$routeProvider', function($routeProvider) {
$routeProvider.otherwise({re... |
package com.messagebird.objects;
import java.util.Date;
public class PurchasedNumberCreatedResponse extends PurchasedNumber {
private Date createdAt;
private Date renewalAt;
public Date getCreatedAt() {
return createdAt;
}
public Date getRenewalAt() {
return renewalAt;
}
... |
layout: article
title: "Conversión de las URL dentro del sitio en relativas"
description: "Ahora que su sitio se ofrece tanto en HTTP como en HTTPS, debe funcionar de la forma más eficiente posible, independientemente del protocolo."
introduction: "Ahora que su sitio se ofrece tanto en HTTP como en HTTPS, debe funciona... |
case $1 in
"upload")
python setup.py sdist upload
;;
esac
|
(function() {
'use strict';
angular
.module('proyService1App')
.config(stateConfig);
stateConfig.$inject = ['$stateProvider'];
function stateConfig($stateProvider) {
$stateProvider
.state('article-reaction', {
parent: 'entity',
url: '/article-re... |
export declare class RouteLifecycleHook {
name: string;
constructor(name: string);
}
export declare class CanActivate {
fn: Function;
constructor(fn: Function);
}
export declare const routerCanReuse: RouteLifecycleHook;
export declare const routerCanDeactivate: RouteLifecycleHook;
export decla... |
package org.apache.hadoop.hbase.regionserver.compactions;
import java.io.IOException;
import java.util.Collection;
import org.apache.hadoop.hbase.classification.InterfaceAudience;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.regionserver.StoreConfigInformation;
import org.apache.hadoo... |
package jenkins;
import hudson.FilePath.FileCallable;
import jenkins.security.Roles;
import org.jenkinsci.remoting.RoleChecker;
/**
* {@link FileCallable}s that are meant to be only used on the master.
*
* @since 1.THU
*/
public abstract class MasterToSlaveFileCallable<T> implements FileCallable<T> {
@Overrid... |
/****************************************************************************
* board/artik05x/src/artik055_i2schar.c
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are ... |
"""
csv.py - read/write/investigate CSV files
"""
import re
from functools import reduce
from _csv import Error, __version__, writer, reader, register_dialect, \
unregister_dialect, get_dialect, list_dialects, \
field_size_limit, \
QUOTE_MINIMAL, QUOTE_ALL, QUOTE_NONN... |
/*jslint devel: false, browser: true, maxerr: 50, indent: 4*/
/*global cliste: false, module: false, $: false, jQuery: false, console: false, document: false, event: false, frames: false, history: false, Image: false, location: false, name: false, navigator: false, Option: false, parent: false, screen: false, setInterv... |
var Filter = (function () {
function mit_edu_stream_name_match(message, operand) {
// MIT users expect narrowing to "social" to also show messages to /^(un)*social(.d)*$/
// (unsocial, ununsocial, social.d, etc)
// TODO: hoist the regex compiling out of the closure
var m = /^(?:un)*(.+?)(?:\.d)*$/i.exe... |
{{#markdown}}
```javascript
$('#myForm')
.on('invalid.fndtn.abide', function () {
var invalid_fields = $(this).find('[data-invalid]');
console.log(invalid_fields);
})
.on('valid.fndtn.abide', function () {
console.log('valid!');
});
```
{{/markdown}}
|
"""Testing utilities for the webapp libraries.
GetDefaultEnvironment: Method for easily setting up CGI environment.
RequestHandlerTestBase: Base class for setting up handler tests.
"""
__author__ = 'rafek@google.com (Rafe Kaplan)'
import cStringIO
import threading
import urllib2
from wsgiref import simple_server... |
package org.apache.camel.component.file.remote;
import org.apache.camel.test.junit4.CamelTestSupport;
import org.junit.Test;
public class RemoteEndPointRemoteFilePollingConsumerPollStrategyTest extends CamelTestSupport {
@Test
public void testPollStrategy() throws Exception {
RemoteFileEndpoint<?> e... |
using System;
public interface I<W>
{
string Method();
}
public class MyBase<U, V> : I<U>
{
string I<U>.Method()
{ return "MyBase.Method()"; }
}
public class MyClass<T> : MyBase<string, T>, I<T>
{
string I<T>.Method()
{ return "MyClass.Method()"; }
}
class Test
{
public static int Main... |
import os
from threading import Lock
import blame
from common import utils
import component_dictionary
import crash_utils
import git_repository_parser
import match_set
import svn_repository_parser
LINE_CHANGE_PRIORITY = 1
FILE_CHANGE_PRIORITY = 2
_THIS_DIR = os.path.abspath(os.path.dirname(__file__))
CONFIG = crash_... |
package org.scribble.net.scribsock;
import java.io.IOException;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import org.scribble.main.ScribbleRuntimeException;
import org.scribble.net.ScribMessage;
import org.scribble.net.session.Session;
import org.scribble.net.sessi... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2017 Snow Volf (Artem Zhiganov).
~ 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... |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* dbus-sysdeps-util.c Would be in dbus-sysdeps.c, but not used in libdbus
*
* Copyright (C) 2002, 2003, 2004, 2005 Red Hat, Inc.
* Copyright (C) 2003 CodeFactory AB
*
* Licensed under the Academic Free License version 2.1
/* This file is part ... |
use std::old_io::FileType;
pub fn main() {
let _ = FileType::RegularFile.clone();
}
|
package IO::Socket::UNIX;
use strict;
our(@ISA, $VERSION);
use IO::Socket;
use Carp;
@ISA = qw(IO::Socket);
$VERSION = "1.26";
$VERSION = eval $VERSION;
IO::Socket::UNIX->register_domain( AF_UNIX );
sub new {
my $class = shift;
unshift(@_, "Peer") if @_ == 1;
return $class->SUPER::new(@_);
}
sub config... |
namespace = "comment_";
(function() {
function test(name, mode, run, before, after) {
return testCM(name, function(cm) {
run(cm);
eq(cm.getValue(), after);
}, {value: before, mode: mode});
}
var simpleProg = "function foo() {\n return bar;\n}";
var inlineBlock = "foo(/* bar */ true);";
... |
import unittest
from test import support
import collections, random, string
import collections.abc
import gc, weakref
import pickle
class DictTest(unittest.TestCase):
def test_invalid_keyword_arguments(self):
class Custom(dict):
pass
for invalid in {1 : 2}, Custom({1 : 2}):
... |
HVMC Sub-request isolation has been improved to prevent exceptions leaking from this inner to the outer request. If you were previously catching any exceptions from sub-requests, you should now be checking the [Response] object returned from [Request::execute].
## HTTP Exceptions
The use of HTTP Exceptions is now enc... |
<?php
namespace Niborb\PostcodeAPI\Command;
use Niborb\PostcodeAPI\PostcodeAPI;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output... |
use std::ptr;
use std::ffi::CString;
use libc;
use super::ffi;
use api::egl::ffi::egl::Egl;
use api::dlopen;
/// A connection to an X server.
pub struct XConnection {
pub xlib: ffi::Xlib,
pub xf86vmode: ffi::Xf86vmode,
pub xcursor: ffi::Xcursor,
pub xinput2: ffi::XInput2,
pub glx: Option<ffi::glx... |
<?php
namespace TwitchApi\Api;
trait Authentication
{
/**
* Get the Twitch OAuth URL
*
* @param string $state
* @param bool $forceVerify
* @return string
*/
public function getAuthenticationUrl($state = null, $forceVerify = false)
{
return implode('', [
... |
package modules.database;
public interface FieldBase {
public String fieldName();
public String type();
}
|
/*! formstone v0.7.3 [pagination.css] 2015-07-17 | MIT License | formstone.it */
/**
* @class
* @name .fs-pagination-element
* @type element
* @description Target elmement
*/
/**
* @class
* @name .fs-pagination
* @type element
* @description Base widget class
*/
/**
* @class
* @name .fs-paginat... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* CUBRID Result Class
*
* This class extends the parent result class: CI_DB_result
*
* @category Database
* @author Esen Sagynov
* @link https://codeigniter.com/user_guide/database/
*/
class CI_DB_cubrid_result extends CI_DB_result {
... |
<?php
namespace Composer\DependencyResolver\Operation;
use Composer\Package\PackageInterface;
/**
* Solver uninstall operation.
*
* @author Konstantin Kudryashov <ever.zet@gmail.com>
*/
class UninstallOperation extends SolverOperation
{
protected $package;
/**
* Initializes operation.
*
... |
"""Relationship dependencies.
"""
from .. import sql, util, exc as sa_exc
from . import attributes, exc, sync, unitofwork, \
util as mapperutil
from .interfaces import ONETOMANY, MANYTOONE, MANYTOMANY
class DependencyProcessor(object):
def __init__(self, prop):
se... |
<?php
namespace Respect\Validation\Rules;
/**
* @group rule
* @covers Respect\Validation\Rules\EndsWith
* @covers Respect\Validation\Exceptions\EndsWithException
*/
class EndsWithTest extends \PHPUnit_Framework_TestCase
{
/**
* @dataProvider providerForEndsWith
*/
public function testStringsE... |
@interface RACSubscriber ()
// These callbacks should only be accessed while synchronized on self.
@property (nonatomic, copy) void (^next)(id value);
@property (nonatomic, copy) void (^error)(NSError *error);
@property (nonatomic, copy) void (^completed)(void);
@property (nonatomic, strong, readonly) RACCompoundDisp... |
FROM busybox
RUN echo 'dockerio:x:1001:1001::/bin:/bin/false' >> /etc/passwd
RUN echo 'dockerio:x:1001:' >> /etc/group
RUN mkdir /exists
RUN touch /exists/exists_file
RUN chown -R dockerio.dockerio /exists
ADD test_dir/ /exists/
RUN [ $(ls -l / | grep exists | awk '{print $3":"$4}') = 'dockerio:dockerio' ]
RUN [ $(ls -... |
<?php
/**
* Filter for ODT <table:table/> and its child elements.
*
* This filter generates XHTML style tables in DocBook. This class is not yet
* in use at all, since the internal DocBook representation of the Document
* component does not cope with XHTML style tables, yet.
*
* @package Document
* @version... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* CodeIgniter Typography Helpers
*
* @package CodeIgniter
* @subpackage Helpers
* @category Helpers
* @author EllisLab Dev Team
* @link http://codeigniter.com/user_guide/helpers/typography_helper.html
*/
// -------------------------... |
require 'spec_helper'
describe MyObfuscate::ConfigApplicator do
describe ".apply_table_config" do
it "should work on email addresses" do
100.times do
new_row = MyObfuscate::ConfigApplicator.apply_table_config(["blah", "something_else"], {:a => {:type => :email}}, [:a, :b])
expect(new_row.l... |
class Controllermate < Cask
version :latest
sha256 :no_check
url 'https://s3.amazonaws.com/orderedbytes/ControllerMate.dmg'
homepage 'http://www.orderedbytes.com/controllermate/'
license :unknown
pkg 'ControllerMate.pkg'
uninstall :script => 'ControllerMate Uninstaller.app/Contents/MacOS/ControllerMate... |
#include <ffi.h>
#include <ffi_common.h>
#define STACK_ARG_SIZE(x) ALIGN(x, FFI_SIZEOF_ARG)
static ffi_status
initialize_aggregate_packed_struct (ffi_type * arg)
{
ffi_type **ptr;
FFI_ASSERT (arg != NULL);
FFI_ASSERT (arg->elements != NULL);
FFI_ASSERT (arg->size == 0);
FFI_ASSERT (arg->alignment == 0);... |
package system
import (
"os"
"syscall"
"testing"
"time"
)
// TestChtimes tests Chtimes access time on a tempfile on Linux
func TestChtimesLinux(t *testing.T) {
file, dir := prepareTempFile(t)
defer os.RemoveAll(dir)
beforeUnixEpochTime := time.Unix(0, 0).Add(-100 * time.Second)
unixEpochTime := time.Unix(0, ... |
var parent = require('../../es/array/keys');
module.exports = parent;
|
#include "sqliteInt.h"
#ifndef SQLITE_OMIT_FOREIGN_KEY
#ifndef SQLITE_OMIT_TRIGGER
/*
** Deferred and Immediate FKs
** --------------------------
**
** Foreign keys in SQLite come in two flavours: deferred and immediate.
** If an immediate foreign key constraint is violated,
** SQLITE_CONSTRAINT_FOREIGNKEY is return... |
<p><textarea id="ta"></textarea></p>
<script>
if (window.testRunner)
testRunner.dumpAsText();
var ta = document.getElementById("ta");
ta.focus();
if (window.eventSender) {
eventSender.keyDown(' ', new Array());
eventSender.keyDown(' ', new Array());
eventSender.keyDown(' ', new Array());
eventSender... |
module Aws
module Json
class ErrorHandler < Seahorse::Client::Handler
# @param [Seahorse::Client::RequestContext] context
# @return [Seahorse::Client::Response]
def call(context)
@handler.call(context).on(300..599) do |response|
response.error = error(context)
respon... |
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="connection.url">jdbc:mysql://localhost:3306/myapp</prop... |
// Code generated by client-gen. DO NOT EDIT.
package fake
import (
"context"
v1beta1 "k8s.io/api/rbac/v1beta1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
labels "k8s.io/apimachinery/pkg/labels"
schema "k8s.io/apimachinery/pkg/runtime/schema"
types "k8s.io/apimachinery/pkg/types"
watch "k8s.io/apimachinery/p... |
#include "arm_math.h"
/**
* @ingroup groupStats
*/
/**
* @addtogroup mean
* @{
*/
/**
* @brief Mean value of a Q7 vector.
* @param[in] *pSrc points to the input vector
* @param[in] blockSize length of the input vector
* @param[out] *pResult mean value r... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null |
<!--
Copyright (c) Microsoft Corporation. All rights reserved
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link rel="stylesheet" href="/css/scenario3.css">
<script src="/js/scenario4_snapshot.js"></script>
<script src="/js/displayhelpers.js"></script>
</head... |
apt
===
[](https://travis-ci.org/puppetlabs/puppetlabs-apt)
Overview
--------
The APT module provides a simple interface for managing APT source, key, and definitions with Puppet.
Module Description
------------------
APT automates o... |
// Warning: This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if the
// code is regenerated.
package com.microsoft.windowsazure.management.compute.models;
/**
* Known values for the operating system type of the OS in a virtual machine
* image.
*/
public abs... |
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Plugin.Payment.Stripe.Data
{
public class StripeConnectMap : EntityTypeConfiguration<StripeConnect>
{
public StripeConnectMap()
... |
.. 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
.. distributed un... |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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 limitation the rights to use,
// copy,... |
#
# This file supports:
# \p{InSupplementaryPrivateUseAreaA} (and fuzzy permutations)
#
# Meaning: Block 'Supplementary Private Use Area-A'
#
return <<'END';
F0000 FFFFF Supplementary Private Use Area-A
END
|
AliPHOSLocalReconstruction()
{
//Run PHOS clusterization using information from calibration database.
// Author: Boris Polishchuk (Boris.Polichtchouk at cern.ch)
AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
AliCDBManager::Instance()->SetSpecificStorage("PHOS","local://CalibDB");
... |
layout: post97
title: Type Converter
categories: XAP97
parent: xap-cpp.html
weight: 40
---
This example demonstrates serialization of data types that do not have built-in support in GigaSpaces c++ API. It shows you how to add your own code to convert your data type to the supported type, and vice versa.
... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.knotx.examples</grou... |
var express =require ('express') ;
var request =require ('request') ;
var unirest =require('unirest') ;
var config =require ('./credentials') ;
var router =express.Router () ;
router.get ('/token', function (req, res) {
config.credentials.client_id =req.query.key ;
config.credentials.client_secret= req.query.secret... |
<!DOCTYPE html>
<html>
<head><title>File System API demo</title></head>
<body>
<h2>File System API Demos</h2>
<h3>Persistent File System</h3>
<a href="#" onclick="showPersistentRoot();return false;">show Persistent Root</a><br>
<textarea id="p_text" rows="5" cols="40"></textarea><br>
<a href="#" onclick="saveToPersiste... |
class CBlockIndex;
class CTxMemPool;
bool IsUAHFActivatingBlock(int64_t mtpCurrent, const CBlockIndex* pindexPrev);
bool IsUAHFActive(uint64_t mtpChainTip);
bool IsThirdHFActivatingBlock(int64_t mtpCurrent, const CBlockIndex* pindexPrev);
bool IsThirdHFActive(int64_t mtpChainTip);
// Nov 2018 upgrade
bool IsFourthHFA... |
require 'mspec/guards/guard'
# Despite that these are inverses, the two classes are
# used to simplify MSpec guard reporting modes
class EndianGuard < SpecGuard
def pattern
@pattern ||= [1].pack('L')
end
private :pattern
end
class BigEndianGuard < EndianGuard
def match?
pattern[-1] == ?\001
end
end... |
""""
Copyright 2021 Google LLC
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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... |
module Rebase.Data.Time.LocalTime
(
module Data.Time.LocalTime
)
where
import Data.Time.LocalTime
|
package io.github.droidkaigi.confsched2017.util;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.support.annotation.NonNull;
import java.util.Date;
import java.util.concurrent.TimeUnit;
import io... |
package org.apereo.cas.web.flow;
import org.apereo.cas.api.PasswordlessTokenRepository;
import org.apereo.cas.api.PasswordlessUserAccount;
import org.apereo.cas.api.PasswordlessUserAccountStore;
import org.apereo.cas.configuration.model.support.passwordless.PasswordlessAuthenticationProperties;
import org.apereo.cas.s... |
class dtTileCache;
struct dtTileCacheAlloc;
struct dtTileCacheCompressor;
struct dtTileCacheMeshProcess;
struct dtTileCacheLayer;
struct dtTileCacheContourSet;
struct dtTileCachePolyMesh;
namespace Urho3D
{
class OffMeshConnection;
class Obstacle;
class URHO3D_API DynamicNavigationMesh : public NavigationMesh
{
... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Diagnostics.CodeAnalysis;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
namespace Microsoft.CodeAnalysis.Editor.... |
<?php
defined('C5_EXECUTE') or die("Access Denied.");
class DashboardSiteActivityBlockController extends Concrete5_Controller_Block_DashboardSiteActivity {
} |
UnderSky
========
A Platform game with RPG elements, a little project between friends.
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AntYecai.Models
{
public class FriendlyLink
{
public String ImagePath { get; set; }
public String Header { get; set; }
public String Url { get; set; }
}
}
|
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Generic
Imports System.Collections.Immutable
Imports System.Runtime.InteropServices
Imports System.Threading
Imports Microsoft.Code... |
/*******************************
Elements
*******************************/
/*--------------------
Form
---------------------*/
.ui.form {
position: relative;
max-width: 100%;
}
/*--------------------
Content
---------------------*/
.ui.form > p {
margin: 1em 0em;
}
/*-------... |
#ifndef __OPENCL_CL_H
#define __OPENCL_CL_H
#ifdef __APPLE__
#include <MiniCL/cl_platform.h>
#else
#include <MiniCL/cl_platform.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
/******************************************************************************/
typedef struct _cl_platform_id * cl_platform_id;
typ... |
MAKE_JOBS:=`sysctl -n hw.ncpufound`
VERSION=59
DESTDIR=/usr/dest
RELEASEDIR=/usr/rel
BASE_SETS=$(RELEASEDIR)/base$(VERSION).tgz \
$(RELEASEDIR)/man$(VERSION).tgz \
$(RELEASEDIR)/comp$(VERSION).tgz
XENOCARA_SETS=$(RELEASEDIR)/xbase$(VERSION).tgz \
$(RELEASEDIR)/xfont$(VERSION).tgz \
... |
@interface OCKCarePlanActivity (CMHealthCompare)
- (BOOL)isEqualExceptEndDate:(nullable OCKCarePlanActivity *)other;
@end
|
/*
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
distributed under the Licen... |
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<doc>
<members>
<assembly>
<name>UnityEngine.TestRunner</name>
</assembly>
<member name="?:UnityEngine.TestTools.IMonoBehaviourTest">
<summary>
<para>A MonoBehaviour test needs to implement this interface.</para>
</summary>
... |
package app
import (
"github.com/mattermost/platform/model"
goi18n "github.com/nicksnyder/go-i18n/i18n"
)
type AwayProvider struct {
}
const (
CMD_AWAY = "away"
)
func init() {
RegisterCommandProvider(&AwayProvider{})
}
func (me *AwayProvider) GetTrigger() string {
return CMD_AWAY
}
func (me *AwayProvider) G... |
<?php
class Mailchimp_Error extends Exception {}
class Mailchimp_HttpError extends Mailchimp_Error {}
/**
* The parameters passed to the API call are invalid or not provided when required
*/
class Mailchimp_ValidationError extends Mailchimp_Error {}
/**
* None
*/
class Mailchimp_ServerError_MethodUnknown extends... |
// Licensed to Cloudera, Inc. under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Cloudera, Inc. licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this f... |
package com.ayo.sample.zeventbus;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import com.cowthan.sample.BaseActivity;
import com.cowthan.sample.R;
import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import org.greenr... |
#ifndef MESSAGE_BUILDER_H
#define MESSAGE_BUILDER_H
#include <chrono>
#include <string>
#include <vector>
#include <pulsar/Message.h>
#include <pulsar/defines.h>
namespace pulsar {
class PulsarWrapper;
class PULSAR_PUBLIC MessageBuilder {
public:
MessageBuilder();
typedef std::map<std::string, std::str... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Database Driver Class
*
* This is the platform-independent base DB implementation class.
* This class will not be called directly. Rather, the adapter
* class for the specific database will extend and instantiate it.
*
* @package Code... |
'use strict';
var indexOf = require('./e-index-of')
, forEach = Array.prototype.forEach, splice = Array.prototype.splice;
module.exports = function (item/*, …item*/) {
forEach.call(arguments, function (item) {
var index = indexOf.call(this, item);
if (index !== -1) splice.call(this, index, 1);
}, this);
};
|
<html>
<head>
<title>Test Page dom test bug 102145</title>
<script language="JavaScript">
function setElementSize (elementId) {
myElement = document.getElementById(elementId);
myElement.style.height =200;
myElement.style.wi... |
(function( $ ) {
var setupTeardown = TestHelpers.accordion.setupTeardown,
state = TestHelpers.accordion.state;
module( "accordion: events", setupTeardown() );
test( "create", function() {
expect( 10 );
var element = $( "#list1" ),
headers = element.children( "h3" ),
contents = headers.next();
element.accor... |
<?xml version="1.0"?>
<?dlps id="GarGips"?>
<?dlps page-images="none" figure-images="no"?>
<?dlps transcription="other"?>
<!DOCTYPE TEI.2 SYSTEM "http://text.lib.virginia.edu/dtd/tei/tei-p4/tei2.dtd" [
<!ENTITY % POSTKB "INCLUDE">
<!ENTITY % TEI.extensions.ent SYSTEM "http://text.lib.virginia.edu/dtd/tei/uva-dl-tei/u... |
namespace spvtools {
namespace opt {
Pass::Status RedundancyEliminationPass::Process() {
bool modified = false;
ValueNumberTable vnTable(context());
for (auto& func : *get_module()) {
if (func.IsDeclaration()) {
continue;
}
// Build the dominator tree for this function. It is how the code is
... |
(function(){
UEDITOR_CONFIG = window.UEDITOR_CONFIG || {};
var baidu = window.baidu || {};
window.baidu = baidu;
window.UE = baidu.editor = {};
UE.plugins = {};
UE.commands = {};
UE.instants = {};
UE.I18N = {};
UE.version = "1.2.6.1";
var dom = UE.dom = {};
/**
* @file
* @name UE.browser... |
<?php
namespace Doctrine\Common\Reflection;
use ReflectionClass;
use ReflectionException;
class StaticReflectionClass extends ReflectionClass
{
/**
* The static reflection parser object.
*
* @var StaticReflectionParser
*/
private $staticReflectionParser;
/**
* @param StaticRefl... |
package org.apache.cordova;
import java.util.ArrayList;
import java.util.Locale;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Activity;
import android.app.AlertDialog;
import android.annotation.SuppressLint;
import android.content.DialogInterface;
import android.content.Intent;
impo... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.5">
<link rel="stylesheet" type="text/css" href="search.c... |
namespace v8 {
namespace internal {
JITLineInfoTable::JITLineInfoTable() {}
JITLineInfoTable::~JITLineInfoTable() {}
void JITLineInfoTable::SetPosition(int pc_offset, int line) {
DCHECK(pc_offset >= 0);
DCHECK(line > 0); // The 1-based number of the source line.
if (GetSourceLineNumber(pc_offset) != line) ... |
namespace syncer {
namespace {
struct TestOrdinalTraits {
static const uint8 kZeroDigit = '0';
static const uint8 kMaxDigit = '3';
static const size_t kMinLength = 1;
};
struct LongOrdinalTraits {
static const uint8 kZeroDigit = '0';
static const uint8 kMaxDigit = '9';
static const size_t kMinLength = 5;... |