text stringlengths 3 1.05M |
|---|
class Profile;
// Mock for BrowsingDataServiceWorkerHelper.
// Use AddServiceWorkerSamples() or add directly to response_ list, then
// call Notify().
class MockBrowsingDataServiceWorkerHelper
: public BrowsingDataServiceWorkerHelper {
public:
explicit MockBrowsingDataServiceWorkerHelper(Profile* profile);
/... |
namespace service_manager {
class InterfaceRegistry;
}
namespace content {
class BlinkInterfaceRegistryImpl : public blink::InterfaceRegistry {
public:
explicit BlinkInterfaceRegistryImpl(
base::WeakPtr<service_manager::InterfaceRegistry> interface_registry);
~BlinkInterfaceRegistryImpl();
// blink::Int... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.Syntax.InternalSy... |
/*
Google Code style (c) Aahan Krish <geekpanth3r@gmail.com>
*/
.hljs {
display: block; padding: 0.5em;
background: white; color: black;
}
.hljs-comment,
.hljs-template_comment,
.hljs-javadoc,
.hljs-comment * {
color: #800;
}
.hljs-keyword,
.method,
.hljs-list .hljs-title,
.clojure .hljs-built_in,
.nginx .hl... |
package org.apache.hadoop.mapred.lib;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.FileInputFormat;
import org.apache.hadoop.mapred.FileOutputFormat;
import org.apache.hadoop.mapred... |
"""
Requests HTTP library
~~~~~~~~~~~~~~~~~~~~~
Requests is an HTTP library, written in Python, for human beings. Basic GET
usage:
>>> import requests
>>> r = requests.get('https://www.python.org')
>>> r.status_code
200
>>> 'Python is a programming language' in r.content
True
... or POST:
>>> p... |
function A() { }
function B() { }
function C() { }
function NewC() {
A.prototype = {};
B.prototype = new A();
C.prototype = new B();
var result = new C();
result.A = A.prototype;
result.B = B.prototype;
result.C = C.prototype;
return result;
}
// Check that we can read properties defined in prototypes... |
/***** This file is generated do not edit ****/
#include <wx/wx.h>
#include "../wxe_impl.h"
#include "wxe_macros.h"
#include "../wxe_events.h"
#include "../wxe_return.h"
wxeEtype::wxeEtype(const char *name, int Id) {eName = name;cID = Id;}
WX_DECLARE_HASH_MAP(int, wxeEtype*, wxIntegerHash, wxIntegerEqual, wxeETm... |
from openerp.osv import osv, fields
from openerp.tools.translate import _
class note_pad_note(osv.osv):
""" memo pad """
_name = 'note.note'
_inherit = ['pad.common','note.note']
_pad_fields = ['note_pad']
_columns = {
'note_pad_url': fields.char('Pad Url', pad_content_field='memo'),
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ThreeJS Unit Tests - Using Files in /src</title>
<link rel="stylesheet" href="qunit-1.18.0.css">
</head>
<body>
<div id="qunit"></div>
<script src="qunit-1.18.0.js"></script>
<script src="qunit-utils.js"></script>
<!-- add sources to test below ... |
#include "GrTargetCommands.h"
#include "GrInOrderDrawBuffer.h"
void GrTargetCommands::reset() {
fCmdBuffer.reset();
fBatchTarget.reset();
}
void GrTargetCommands::flush(GrInOrderDrawBuffer* iodb) {
if (fCmdBuffer.empty()) {
return;
}
GrGpu* gpu = iodb->getGpu();
// Loop over all b... |
<<<<<<< HEAD
<<<<<<< HEAD
test.test_email package
=======================
Submodules
----------
test.test_email.test__encoded_words module
------------------------------------------
.. automodule:: test.test_email.test__encoded_words
:members:
:undoc-members:
:show-inheritance:
test.test_email.test__hea... |
// Copyright 2010-2014 Google
// 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 wri... |
<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:exif="http://schemas.google.com/photos/exif/2007" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:gml="http://www.opengis.net/gml" xmlns:georss="http://www.georss.org/georss" xmlns:photo="http://www.pheed.com/pheed/" xmln... |
namespace ui {
class Compositor;
}
namespace content {
class SoftwareOutputDeviceX11 : public cc::SoftwareOutputDevice {
public:
explicit SoftwareOutputDeviceX11(ui::Compositor* compositor);
~SoftwareOutputDeviceX11() override;
void EndPaint() override;
private:
ui::Compositor* compositor_;
XDisplay* d... |
#ifndef ART_RUNTIME_MIRROR_OBJECT_INL_H_
#define ART_RUNTIME_MIRROR_OBJECT_INL_H_
#include "object.h"
#include "art_field.h"
#include "art_method.h"
#include "atomic.h"
#include "array-inl.h"
#include "class.h"
#include "monitor.h"
#include "runtime.h"
#include "throwable.h"
namespace art {
namespace mirror {
inl... |
// This file was automatically generated by lister-gen
package internalversion
import (
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/client-go/tools/cache"
api "k8s.io/kubernetes/pkg/api"
)
// PodLister helps list Pods.
type PodLister interface {
// List lists all Pods in the ... |
assertEquals(void 0, eval());
assertEquals(4, eval(4));
function f() { return 'The f function'; };
assertTrue(f === eval(f));
function g(x, y) { return 4; };
count = 0;
assertEquals(4, eval('2 + 2', count++));
assertEquals(1, count);
try {
eval('hest 7 &*^*&^');
assertUnreachable('Did not throw on syntax error.... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.facebook.samples.zoomableapp" >
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name=".ZoomableApplication"
android:allowBackup="true"
... |
// 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.Collections.Generic;
using System.Collections.Immutable;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Thr... |
package com.elytradev.hallways;
import java.util.EnumSet;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.common.util.INBTSerializable;
public class DungeonTile implements INBTSerializable<NBTTagCompound>, Cloneable {
public enum TileType {
HALLWAY(0x00FF00),
ROOM(0x0000FF),
ENTRANCE(0xFFFF... |
(function() {
// Baseline setup
// --------------
// Establish the root object, `window` in the browser, or `exports` on the server.
var root = this;
// Save the previous value of the `_` variable.
var previousUnderscore = root._;
// Establish the object that gets returned to break out of a loop itera... |
namespace chrome {
namespace {
// Generic function to call SHGetFolderPath().
bool GetUserDirectory(int csidl_folder, base::FilePath* result) {
// We need to go compute the value. It would be nice to support paths
// with names longer than MAX_PATH, but the system functions don't seem
// to be designed for it e... |
using System;
using System.Collections.Generic;
using System.Linq;
using Terraria;
using TAPI;
namespace Avalon.NPCs.Normal
{
/// <summary>
/// The Normal Barrel.
/// </summary>
public sealed class NormalBarrel : ModNPC
{
/// <summary>
///
/// </summary>
/// <param ... |
package org.drools.common;
import java.io.Serializable;
import java.util.Collection;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.drools.base.ClassObjectType;
import org.drools.facttemplates.Fact;
import org.drools.reteoo.ClassObjectTypeConf;
import org.drools... |
#ifndef BOOST_SERIALIZATION_SERIALIZATION_HPP
#define BOOST_SERIALIZATION_SERIALIZATION_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER)
# pragma once
#endif
#if defined(_MSC_VER)
# pragma warning (disable : 4675) // suppress ADL warning
#endif
#include <boost/config.hpp>
#include <boost/se... |
<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>im.rore</groupId>
<artifactId>countem-core</artifactId>
<version>0... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Llvm.NET.Native;
using Llvm.NET.Types;
using Llvm.NET.Values;
namespace Llvm.NET.Instructions
{
///<summary>LLVM Instruction builder allowing managed code to generate IR instructions</summary>
public ... |
window.addEventListener('load', function() {
document.body.onclick = function toggleBodyFullscreen() {
if (document.fullscreenElement || document.webkitFullscreenElement) {
if (document.exitFullscreen)
document.exitFullscreen();
else if (document.webkitExitFullscreen)
document.webkitEx... |
/**
* @author Valentin Al. Sitnick
* @version $Revision: 1.1 $
*
*/
/* *********************************************************************** */
#include "events.h"
#include "utils.h"
#include "fake.h"
static bool test = false;
static bool util = false;
static bool flag = false;
/* ***************************... |
namespace base {
#if defined(OS_POSIX)
ProcessEntry::ProcessEntry() : pid_(0), ppid_(0), gid_(0) {}
ProcessEntry::~ProcessEntry() {}
#endif
const ProcessEntry* ProcessIterator::NextProcessEntry() {
bool result = false;
do {
result = CheckForNextProcess();
} while (result && !IncludeEntry());
if (result)
... |
// Copyright 2016 The Bazel Authors. All rights reserved.
//
// 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 appl... |
namespace Microsoft.Azure.Management.Synapse.Models
{
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// Represents a Sql pool replication link.
/// </summary>
[Rest.Serialization.JsonTransformation]
public partial c... |
load_assembly 'IronRuby.Libraries', 'IronRuby.StandardLibrary.OpenSsl' |
//// Copyright (c) Microsoft Corporation. All rights reserved
(function () {
"use strict";
var sampleTitle = "File thumbnails JS sample";
var errors = {
noExif: "No result (no EXIF thumbnail or cached thumbnail available for fast retrieval)",
noAlbumArt: "No result (n... |
Measurement Scripts
---------------------------
.. note:: Please see :ref:`script_examples` for more a comprehensive set of examples
Functions
~~~~~~~~~~~~~~~
.. autoclass:: pychron.pyscripts.measurement_pyscript.MeasurementPyScript
:members:
Variables
~~~~~~~~~~~~~~~~
truncated
eqtime
use_cdd_warming
Mu... |
/*
* memory-store-test.js: Tests for the nconf Memory store.
*
* (C) 2011, Charlie Robbins and the Contributors.
*
*/
var vows = require('vows'),
assert = require('assert'),
nconf = require('../../lib/nconf'),
merge = require('../fixtures/data').merge;
vows.describe('nconf/stores/memory').addBatch({
... |
package org.apache.ode.store.jpa;
import org.apache.ode.store.ConfStoreConnection;
import org.apache.ode.store.ConfStoreConnectionFactory;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;
import javax.sql.DataSource;
import java.util.HashMap;
/**
* @author Matthieu Riou <mriou ... |
package com.dianping.cat.config.web.url;
import java.util.Collection;
import com.dianping.cat.configuration.web.url.entity.PatternItem;
public interface UrlPatternHandler {
public void register(Collection<PatternItem> rules);
public String handle(String input);
}
|
package org.apache.activemq;
import java.io.IOException;
import org.apache.hedwig.jms.MessagingSessionFacade;
import org.apache.hedwig.jms.spi.HedwigConnectionFactoryImpl;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
impor... |
package com.intellij.codeInsight.generation.surroundWith;
import com.intellij.codeInsight.CodeInsightBundle;
import com.intellij.codeInsight.CodeInsightUtilCore;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.TextRange;
import com.intellij.psi... |
/**
* @param {Node} node Node.
* @return {boolean|undefined} Boolean.
*/
export function readBoolean(node: Node): boolean;
/**
* @param {string} string String.
* @return {boolean|undefined} Boolean.
*/
export function readBooleanString(string: string): boolean;
/**
* @param {Node} node Node.
* @return {number|u... |
require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
describe "Array#rassoc" do
it "returns the first contained array whose second element is == object" do
ary = [[1, "a", 0.5], [2, "b"], [3, "b"], [4, "c"], [], [5], [6, "d"]]
ary.rassoc("a").sh... |
<?php
/**
* Created by PhpStorm.
* User: hrustbb
* Date: 22.10.16
* Time: 7:36
*/
use frontend\assets\tasks\ProjectBoardAsset;
use yii\helpers\Url;
ProjectBoardAsset::register($this);
?>
<script>
var projectJSON = <?= json_encode($project->toArray()) ?>;
var myId = <?= Yii::$app->user->id ?>;
</script>... |
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
var RAIServer = require("../lib/rai").RAIServer,
runClientMockup = require("../lib/rai").runClientMockup,
testCase = require('nodeunit').testCase,
utillib = require("util"),
netlib = require("net"),
crypto = require("crypto"),
tlslib = require("tl... |
require File.dirname(__FILE__) + '/../test_helper'
require File.dirname(__FILE__) + '/../../../../../test/test_helper'
class CreateIssueTest < ActionController::IntegrationTest
fixtures :all, :contacts,
:contacts_projects,
:deals,
:notes,
:tags,
:taggings
def setup
RedmineIssueCheck... |
module Gws::Notice::Notification
extend ActiveSupport::Concern
included do
field :notification_noticed, type: DateTime
permit_params :notification_noticed
end
end
|
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-example79-production</title>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.11/angular.min.js"></script>
</head>
<body ng-app="">
<input ng-copy="copied=true" ng-init="copied=false; value='copy me'" ng... |
package com.changjiudai.servlet;
import java.io.IOException;
import java.net.URISyntaxException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRespons... |
<?php
namespace Flarum\Api;
use Flarum\Core\Users\Guest;
use Flarum\Core\Users\User;
use Psr\Http\Message\ServerRequestInterface;
class Request
{
/**
* @var array
*/
public $input;
/**
* @var User
*/
public $actor;
/**
* @var ServerRequestInterface
*/
public $... |
using System;
using System.Collections.Generic;
using System.IO.Abstractions;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GitDepend.Busi;
using GitDepend.Visitors;
using Microsoft.Practices.Unity;
using NUnit.Framework;
using Telerik.JustMock;
using Telerik.JustMock.Helpers;
namespace Gi... |
<?xml version="1.0" encoding="UTF-8"?>
<ProfileStatus_Enum xmlns="http://www.opentravel.org/OTM/Common/v1" extension="Other_Value">Active</ProfileStatus_Enum>
|
package com.viesis.viescraft.network.server.airship.customize.engine.sub;
import com.viesis.viescraft.ViesCraft;
import com.viesis.viescraft.network.GuiHandler;
import com.viesis.viescraft.network.packet.MessageBase;
import io.netty.buffer.ByteBuf;
import net.minecraft.entity.player.EntityPlayer;
public class Messag... |
<!doctype html>
<title>CodeMirror: Autocomplete Demo</title>
<meta charset="utf-8"/>
<link rel=stylesheet href="../doc/docs.css">
<link rel="stylesheet" href="../lib/codemirror.css">
<link rel="stylesheet" href="../addon/hint/show-hint.css">
<script src="../lib/codemirror.js"></script>
<script src="../addon/hint/show... |
/* See COPYING.txt for the full license governing this code. */
/**
* \file SDL_visualtest_variators.h
*
* Header for all the variators that vary input parameters to a SUT application.
*/
#include "SDL_visualtest_exhaustive_variator.h"
#include "SDL_visualtest_random_variator.h"
#ifndef _SDL_visualtest_variators_... |
namespace std{ using ::ispunct; using ::isspace; }
#endif
namespace boost {
namespace unit_test {
// ************************************************************************** //
// ************** ti_delimeter_type ************** //
// ******************************************************... |
package org.sakaiproject.mailsender.tool.beans;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.commons.logging.Log;
i... |
This module will generate html to be used on forms that capture data for a model. It is handy and recommended. This module needs to be required on the view: `local form = require "sailor.form"`. Also please note that on views, `<%= var %>` is equal to `<?lua page:print( var ) ?>`.
####form.text(model,attribute,html_opt... |
/*
Description: The class is used to manage and process tags
Filename: tag.management.js
Created Date: 4/10/2013
*/
var tagModule=function(){
var log=new Log('tag.manager');
function TagManager(){
this.tagCloud={};
}
/*
The method is used to process a list of tags
@tags: A tag array
... |
from slicc.symbols.Symbol import Symbol
class Event(Symbol):
def __repr__(self):
return "[Event: %s]" % self.ident
__all__ = [ "Event" ]
|
test_integration("full-text-search",
[],
{
"FullTextSearch": (FullTextSearch) => {
expect(FullTextSearch.Analyzer).toBeDefined();
expect(FullTextSearch.Tokenizer).toBeDefined();
expect(FullTextSearch.TokenFilter).toBeDefined();
const fts = new FullTextSearch();
expect(fts).toHaveM... |
<?php
namespace EzSystems\MarkdownFieldTypeBundle\Templating\Twig\Extension;
use EzSystems\MarkdownFieldType\TextParser\MarkdownParser;
/**
* Adds Markdown filter to Twig which transforms supplied markdown syntax to HTML
*/
class MarkdownExtension extends \Twig_Extension
{
/**
* @var MarkdownParser $pars... |
package org.apache.beam.sdk.coders;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertThat;
import org.apache.beam.sdk.values.TypeDescriptor;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
/**
* Test case for {@link VoidCoder}.
*/
@RunWith(... |
'use strict';
import '../../styles/styles.css';
import '../../styles/flags.css';
import '!!file-loader?name=[name].[ext]!../../images/blank.gif';
import 'jquery-ui/themes/base/core.css';
import 'jquery-ui/themes/base/base.css';
import 'jquery-ui/themes/base/menu.css';
import 'jquery-ui/themes/base/theme.css';
import 'j... |
<html>
<body onload="setTimeout(test, 100);">
This test does the following:<br>
1. Load a page, trigger an XHR.<br>
2. Reload the page.<br>
3. Dump the http readers for the reload of the XHR.<br><br>
The XHR is trigger after onload has fired. There should not be an HTTP_CACHE_CONTROL header forcing reload, so an http c... |
#ifndef ASF_H
#define ASF_H
/*
* This file includes all API header files for the selected drivers from ASF.
* Note: There might be duplicate includes required by more than one driver.
*
* The file is automatically generated and will be re-written when
* running the ASF driver selector tool. Any changes will be ... |
etcd/client is the Go client library for etcd.
[](https://godoc.org/github.com/coreos/etcd/client)
etcd uses `cmd/vendor` directory to store external dependencies, which are
to be compiled into etcd release binaries. `client` can be imported without
... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.decode = decode;
var decoder = _interopRequireWildcard(require("./decoder"));
var t = _interopRequireWildcard(require("@webassemblyjs/ast"));
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else... |
<h2 id="manifest">Manifest</h2>
<p>You must declare the "webRequest" permission in the <a
href="manifest">extension manifest</a> to use the web request
API, along with <a href="declare_permissions">host permissions</a>
for any hosts whose network requests you want to access. If you want to
use the web request API in ... |
#include <config.h>
/* Specification. */
#include "file-ostream.h"
#include <stdlib.h>
#include "xalloc.h"
struct file_ostream : struct ostream
{
fields:
FILE *fp;
};
/* Implementation of ostream_t methods. */
static void
file_ostream::write_mem (file_ostream_t stream, const void *data, size_t len)
{
if (... |
package org.wso2.carbon.identity.sts.mgt;
import org.wso2.carbon.identity.base.IdentityConstants;
import org.wso2.carbon.identity.base.IdentityException;
import org.wso2.carbon.identity.core.model.ParameterDO;
import org.wso2.carbon.identity.core.persistence.IdentityPersistenceManager;
import org.wso2.carbon.identity... |
import { FindOneOptions } from "./FindOneOptions";
/**
* Defines a special criteria to find specific entities.
*/
export interface FindManyOptions<Entity> extends FindOneOptions<Entity> {
/**
* Offset (paginated) where from entities should be taken.
*/
skip?: number;
/**
* Limit (paginated)... |
package org.hawkular.metrics.core.service;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.nio.ByteBuffer;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Collection;
import java.util.Collections;
import ja... |
package org.jetbrains.plugins.groovy.extensions;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.psi.*;
import com.intellij.util.ArrayUtil;
import com.intellij.util.PairFunction;
import com.intellij.util.SingletonInstancesCache;
import com.intellij.util.containers.ContainerUtil;
import... |
package client
import (
"net/http"
"strconv"
"time"
"k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"
utilnet "k8s.io/apimachinery/pkg/util/net"
restclient "k8s.io/client-go/rest"
"k8s.io/client-go/transport"
nodeutil "k8s.io/kubernetes/pkg/util/node"
)
ty... |
package com.cb.webapp;
import org.springframework.aop.AfterReturningAdvice;
import org.springframework.aop.MethodBeforeAdvice;
import java.lang.reflect.Method;
/**
* Override UserSecurityAdvice from appfuse-service in order to allow anyone to
* update a user's information.
*
* @author mraible
*/
public class Us... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general sobre un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos atributos para modificar la información
// asociada con un ensamblado.
[assembly: AssemblyTitle(... |
if (!!root.Map) {
/**
* Converts the observable sequence to a Map if it exists.
* @param {Function} keySelector A function which produces the key for the Map.
* @param {Function} [elementSelector] An optional function which produces the element for the Map. If not present, defaults to the value fr... |
#ifndef XONAR_H_INCLUDED
#define XONAR_H_INCLUDED
#include "oxygen.h"
struct xonar_generic {
unsigned int anti_pop_delay;
u16 output_enable_bit;
u8 ext_power_reg;
u8 ext_power_int_reg;
u8 ext_power_bit;
u8 has_power;
};
struct xonar_hdmi {
u8 params[5];
};
/* generic helper functions */
void xonar_enable_ou... |
package ys.gclog.parser.extract;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Optional;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class SimpleMinorCollectionExtractor implements LogExtractor {
private static final Pattern PATTERN = Pattern.compile(
Stri... |
inventory
=========
Webapp for keeping inventory of all the "treasures" on parent's attic
|
' 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.VisualBasic.Syntax
Namespace Microsoft.CodeAnalysis.VisualBasic.EditAndContinue
Friend NotInheritable Class TopSyntaxCompa... |
// Copyright (C) 2006 Douglas Gregor.
// Use, modification and distribution is subject to 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 <boost/mpi/request.hpp>
#include <boost/mpi/status.hpp>
namespace boost { namespace ... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
in Willdenow, Willd. , Sp. pl. , Edn 4 6(2): 9 (1825)
#### Original name
Caeoma smilacis Barclay
### Remarks
null |
/**
* @license AngularJS v1.2.25
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
/**
* @ngdoc module
* @name ngTouch
* @description
*
* # ngTouch
*
* The `ngTouch` module provides touch events and other helpers for touch-enabled device... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... |
IntlMessageFormat.__addLocaleData({locale:"luo", messageformat:{pluralFunction:function (n) { }}}); |
let log = [];
function expect_log(test, expected_log) {
test.step_func_done(() => {
const actual_log = log;
log = [];
assert_array_equals(actual_log, expected_log, 'fallback log');
})();
}
// Results of resolving a specifier using import maps.
const Result = {
// A failure considered as a fetch erro... |
(function(global) {
function Set() {
this.set_ = new global.Set;
this.keys_ = [];
}
Set.prototype = {
add: function(key) {
if (!this.set_.has(key))
this.keys_.push(key);
return this.set_.add(key);
},
has: function(key) {
return this.set_.has(key);
},
del... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>ServoSlider</title>
<style>
body{
padding: 20px;
}
input{
width: 100%;
}
</style>
</head>
<body>
<h1>Ser... |
<html>
<body>
Reports utility classes which are not final.
Utility classes have all fields and methods declared <b>static</b>. Giving such classes making them <b>final</b>
prevents them from being inadvertently subclassed.
<!-- tooltip end -->
<p>
</body>
</html> |
import _extends from "@babel/runtime/helpers/extends";
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["viewDate", "value", "weekStartsOn", "onDayChange", "isDaySelected", "isDayActive", "isDaySele... |
class ReportExceptionJob < Struct.new(:exception)
def self.schedule(exception)
Delayed::Job.enqueue ReportExceptionJob.new(exception)
end
def perform
Rollbar.report_exception exception
end
end
|
<!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>Syntax and parsing</title>
<style type="text/css"><![CDATA[
p { background: lime; }
foo & address, p { background: red; }
]]></style>
<link r... |
var glMatrix = require("gl-matrix")
, vec3 = glMatrix.vec3;
/**
* Constructs a InteractionBox object.
*
* @class InteractionBox
* @memberof Leap
* @classdesc
* The InteractionBox class represents a box-shaped region completely within
* the field of view of the Leap Motion controller.
*
* The interaction box... |
'use strict';
var indexOf = require('./e-index-of')
, every = Array.prototype.every
, isFirst;
isFirst = function (value, index) {
return indexOf.call(this, value) === index;
};
module.exports = function () { return every.call(this, isFirst, this); };
|
package in.twizmwaz.cardinal.module.modules.kit.kitTypes;
import in.twizmwaz.cardinal.module.modules.kit.Kit;
import in.twizmwaz.cardinal.util.Items;
import org.bukkit.craftbukkit.entity.CraftPlayer;
import org.bukkit.craftbukkit.inventory.CraftItemStack;
import org.bukkit.entity.Player;
import org.bukkit.event.Handle... |
package v2
import (
"testing"
"github.com/rackspace/gophercloud/acceptance/tools"
"github.com/rackspace/gophercloud/openstack/compute/v2/extensions/bootfromvolume"
"github.com/rackspace/gophercloud/openstack/compute/v2/servers"
th "github.com/rackspace/gophercloud/testhelper"
)
func TestBootFromVolume(t *testin... |
QueryType = GraphQL::ObjectType.define do
name 'Query'
description 'The query root for this schema'
field :about do
type AboutType
description 'Information about the application'
resolve -> (obj, args, ctx) do
OpenStruct.new({ name: Rails.application.class.parent_name, version: VERSION, id: 1, ... |
package org.hibernate.validator.test.internal.metadata.descriptor;
import java.util.Set;
import javax.validation.groups.Default;
import javax.validation.metadata.ConstraintDescriptor;
import javax.validation.metadata.CrossParameterDescriptor;
import javax.validation.metadata.Scope;
import org.joda.time.DateMidnight;... |