text stringlengths 3 1.05M |
|---|
{{/*
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... |
<p align="center">
<img alt="Frameworks a lot - he's one!" src="logo.png">
</p>
[](https://packagist.org/packages/maxlab/stacker)
[](https://travis-ci.org/Maxlab/stacker)
[![L... |
using Xunit;
namespace ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.regclass.regclassoperate.regclassoperate
{
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.regclass.regclassoperate.regclassoperate;
using ManagedTests.DynamicCSharp.Conformance.dynamic.context.operate.re... |
import React, { Component } from 'react';
import {
TouchableOpacity,
View,
Text,
Modal,
} from 'react-native';
import { CommonStyles, StyleConfig } from '../assets/styles';
import { color } from '../assets/styles/color';
export default class CommentButton extends Component {
constructor(props) {
super(p... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0-google-v3) on Mon Jun 20 19:12:48 BST 2011 -->
<TITLE>
org.openqa.selenium.lift.match Class Hierarchy
</TITLE>
<META NAME="date" CONTENT="2011-06-20... |
package io.lettuce.core.support;
import static io.lettuce.core.internal.Futures.failed;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.never;
import static org.mockito.Moc... |
<?php // content="text/plain; charset=utf-8"
// Illustration of the different patterns for bands
// $Id: smallstaticbandsex10.php,v 1.1 2002/09/01 21:51:08 aditus Exp $
require_once ('jpgraph/jpgraph.php');
require_once ('jpgraph/jpgraph_bar.php');
$datay=array(10,29,3,6);
// Create the graph.
$graph = new Graph(200... |
package test.configurationfailurepolicy;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
public class ClassWithFailedBeforeMethodAndMultipleInvocations {
@BeforeMethod
public void setupShouldFail() {
throw new RuntimeException("Faili... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Thu Feb 24 01:10:11 PST 2011 -->
<TITLE>
Uses of Package org.apache.hadoop.mapreduce.server.jobtracker (Hadoop 0.20.2-cdh3u0-SNAPSHOT API)
</T... |
package org.apache.pig.newplan.logical.rules;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.apache.pig.impl.logicalLayer.FrontendException;
import org.apache.pig.impl.util.Pair;
import org.apache.pig.newplan.Operator;
import org.apache.pig.newplan.OperatorPlan;
import org.a... |
var EmailRegistrationForm = function () {
this.emailElement = element(by.css('#newsletter')).element(by.model('user.email'));
this.submitElement = element(by.css('#newsletter button'));
};
var UserRegistrationForm = function () {
this.emailElement = element(by.css('#registration')).element(by.model('user.ema... |
import logging
from django.core.management import execute_manager
try:
from linaro_django_pagination.test_project import settings
except ImportError as ex:
logging.exception("Unable to import application settings")
raise SystemExit(ex)
if __name__ == "__main__":
execute_manager(settings)
|
using std::string;
#define TEST(a, b) void TEST_##a##_##b()
#define RUN_TEST(a, b) TEST_##a##_##b()
TEST(RawPrinter, Empty) {
char buffer[1];
base::RawPrinter printer(buffer, arraysize(buffer));
CHECK_EQ(0, printer.length());
CHECK_EQ(string(""), buffer);
CHECK_EQ(0, printer.space_left());
printer.Print... |
namespace boost {
namespace interprocess {
namespace ipcdetail {
template<class VoidPointer>
class basic_multiallocation_chain
: public boost::container::container_detail::
basic_multiallocation_chain<VoidPointer>
{
BOOST_MOVABLE_BUT_NOT_COPYABLE(basic_multiallocation_chain)
typedef boost::container::co... |
package gov.va.cpe.team;
import org.springframework.stereotype.Service;
/**
* Singleton service bean used to inject a {@link TeamContext} instance into other service beans. This allows clients
* to not have to reference {@link TeamContextHolder} directly.
*/
@Service("teamContext")
public class HmpTeamCo... |
package org.drip.math.solver1D;
/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/
/*!
* Copyright (C) 2013 Lakshmi Krishnamurthy
* Copyright (C) 2012 Lakshmi Krishnamurthy
*
* This file is part of CreditAnalytics, a free-software/open-source library for fixed income... |
BOOL APIENTRY DllMain(HMODULE module,
DWORD reason_for_call,
LPVOID reserved) {
UNREFERENCED_PARAMETER(module);
UNREFERENCED_PARAMETER(reason_for_call);
UNREFERENCED_PARAMETER(reserved);
return TRUE;
}
void POCDLL_API Run(HANDLE log) {
TestFileSystem(log);
TestRe... |
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STM32F7xx_HAL_SMBUS_H
#define __STM32F7xx_HAL_SMBUS_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32f7xx_hal_def.h"
/** @... |
#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
#define EIGEN_USE_GPU
#include "tensorflow/core/kernels/reduction_gpu_kernels.cu.h"
namespace tensorflow {
namespace functor {
typedef Eigen::GpuDevice GPUDevice;
// Derive Index type. int (32-bit) or long (64-bit) depending on the
// compile-time configuration. "float" her... |
<!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_92) on Fri Apr 26 10:03:52 BST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.github.rve... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Sortable - Drop placeholder</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.7.2.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.wi... |
package ds_proj;
public class ds_proj {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Mainmenu main = new Mainmenu();
main.MainMenu();
}
}
|
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Aprendiendo HTML - ¿Anclas? Com... |
package example;
import java.awt.*;
import java.util.Objects;
import java.util.stream.IntStream;
import javax.swing.*;
public final class MainPanel extends JPanel {
private static final Color EVEN_BGC = new Color(0xAA_DD_FF_FF, true);
private MainPanel() {
super(new BorderLayout());
String key = "List.lo... |
// clone of the upstream cmd/hypercube/main.go
package main
import (
"os"
)
func main() {
hk := HyperKube{
Name: "km",
Long: "This is an all-in-one binary that can run any of the various Kubernetes-Mesos servers.",
}
hk.AddServer(NewKubeAPIServer())
hk.AddServer(NewControllerManager())
hk.AddServer(NewSc... |
package recipe
import (
v3 "github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/mvcc/mvccpb"
"golang.org/x/net/context"
)
// Barrier creates a key in etcd to block processes, then deletes the key to
// release all blocked processes.
type Barrier struct {
client *v3.Client
ctx context.Context
key string... |
/**
* A type of encoding has only 1 byte encode or 2-byte encode. If the first bit
* is 0, this byte represents 1 character. If the first bit is 1, it represents
* 2 characters. Given a string of bits, find out whether the last char is 1
* byte encoded or 2-byte encoded.
*
* Tags: Recursive
*/
class LastByt... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.storage.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
import com.azure... |
package com.pivotal.hawq.mapreduce.demo;
import com.pivotal.hawq.mapreduce.HAWQInputFormat;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;
import org... |
<div class="page-header">
<h4>{{ page.date | date_to_long_string }}</h4>
</div>
<div class="row post-full">
<div class="col-xs-12">
<div class="date">
<h1>{{ page.title }} {% if page.tagline %}<small>{{page.tagline}}</small>{% endif %}</h1>
</div>
<div class="content">
... |
'use strict'
var rule = require('../rules/always-return')
var RuleTester = require('eslint').RuleTester
var message = 'Each then() should return a value or throw'
var parserOptions = { ecmaVersion: 6 }
var ruleTester = new RuleTester()
ruleTester.run('always-return', rule, {
valid: [
{ code: 'hey.then(x => x)', ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Sabio.Web.Models.Requests
{
public class GlobalEventSearchRadiusRequest
{
public decimal Lat { get; set; }
public decimal Lng { get; set; }
public int Radius { get; set; }
}
} |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.weblayer_private;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.grap... |
class CommandLine;
#include "base/strings/string16.h"
string16 ReplaceLocalHostInName(const string16& user_name);
string16 GetCurrentUserName();
void CopyChromeSwitchesFromCurrentProcess(CommandLine* destination);
#endif // CLOUD_PRINT_SERVICE_SERVICE_UTILS_H_
|
package com.thinkaurelius.titan.hadoop.hdfs;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.PathFilter;
/**
* @author Marko A. Rodriguez (http://markorodriguez.com)
*/
public class NoUnderscoreFilter implements PathFilter {
private static final NoUnderscoreFilter INSTANCE = new NoUnderscoreFilte... |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ProjectTracker.Library;
using System.Threading;
namespace ProjectTracker.Test.Library
{
[TestClass]
public class ProjectGetterTest
{
[TestInitialize]
public voi... |
package im.actor.core.network.mtp.entity;
import java.io.IOException;
import java.util.Arrays;
import im.actor.runtime.bser.DataInput;
import im.actor.runtime.bser.DataOutput;
public class MessageAck extends ProtoStruct {
public static final byte HEADER = (byte) 0x06;
public long[] messagesIds;
publ... |
#include "config.h"
#include "V8History.h"
#include "BindingState.h"
#include "ExceptionCode.h"
#include "History.h"
#include "SerializedScriptValue.h"
#include "V8Binding.h"
#include "V8DOMWindow.h"
#include "V8HiddenPropertyName.h"
namespace WebCore {
v8::Handle<v8::Value> V8History::stateAccessorGetter(v8::Loca... |
<?php
namespace Doctrine\DBAL\Platforms;
use Doctrine\DBAL\DBALException;
/**
* The SqlitePlatform class describes the specifics and dialects of the SQLite
* database platform.
*
* @since 2.0
* @author Roman Borschel <roman@code-factory.org>
* @author Benjamin Eberlei <kontakt@beberlei.de>
* @todo Rename: SQ... |
import unittest
from scrapy.responsetypes import responsetypes
from scrapy.http import Response, TextResponse, XmlResponse, HtmlResponse, Headers
class ResponseTypesTest(unittest.TestCase):
def test_from_filename(self):
mappings = [
('data.bin', Response),
('file.txt', TextRespons... |
<table class="entry-form" cellspacing="1" cellpadding="0">
<tr>
<td class="subheader"><?php echo t('Default Value')?></td>
</tr>
<tr>
<td><?php echo $form->checkbox('akCheckedByDefault', 1, $akCheckedByDefault)?>
<?php echo t('The checkbox will be checked by default.')?>
</td>
</tr>
</table> |
namespace boost
{
namespace detail
{
#if defined(BOOST_THREAD_PROVIDES_VARIADIC_THREAD)
template<typename F, class ...ArgTypes>
class thread_data:
public detail::thread_data_base
{
public:
BOOST_THREAD_NO_COPYABLE(thread_data)
thread_data(BOOST_THREAD_R... |
"use strict";
exports.__esModule = true;
exports.isReactComponent = undefined;
exports.isCompatTag = isCompatTag;
exports.buildChildren = buildChildren;
var _index = require("./index");
var t = _interopRequireWildcard(_index);
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else {... |
<!DOCTYPE html>
<html>
<head>
<title>Click</title>
</head>
<body>
<script>
throw new Error("It's a submit page");
</script>
</body>
</html>
|
<?php
namespace Illuminate\Tests\View;
use Illuminate\Filesystem\Filesystem;
use Illuminate\View\Engines\PhpEngine;
use PHPUnit\Framework\TestCase;
class ViewPhpEngineTest extends TestCase
{
public function testViewsMayBeProperlyRendered()
{
$engine = new PhpEngine(new Filesystem);
$this->ass... |
namespace extensions {
namespace {
class CommonSwitches {
public:
CommonSwitches()
: easy_off_store_install(NULL, FeatureSwitch::DEFAULT_DISABLED),
force_dev_mode_highlighting(switches::kForceDevModeHighlighting,
FeatureSwitch::DEFAULT_DISABLED),
prompt_for... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="master.html" />
<head>
<meta content="text/h... |
/*!
* \file np_pinv.cc
* \brief Implementation of the API of functions in src/operator/numpy/linalg/np_matrix_rank.cc
*/
#include <mxnet/api_registry.h>
#include <mxnet/runtime/packed_func.h>
#include "../../utils.h"
#include "../../../../operator/numpy/linalg/np_matrix_rank-inl.h"
namespace mxnet {
inline stati... |
<?xml version="1.0" encoding="UTF-8"?>
<srv:container xmlns="http://symfony.com/schema/dic/security"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:srv="http://symfony.com/schema/dic/services"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/service... |
/**
* The application configuration SPI.
*/
package jp.go.aist.six.util.config;
|
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>iframe tests</title>
<style>
body {
background: url(body-crash.jpg) no-repeat -999px -999px;
}
article {
border: 2px solid #8C8;
}
</style>
<script>
(function(){
window.querys = {};
var name;
var search= loca... |
require 'digest'
# In the UI the Managed Interactive model also called a Library Interactive
class LibraryInteractive < ActiveRecord::Base
include HasAspectRatio
attr_accessible :aspect_ratio_method, :authoring_guidance, :base_url, :click_to_play, :click_to_play_prompt, :description,
:enable_lea... |
#include "RakString.h"
#include "AutopatcherMySQLRepository.h"
#include "AutopatcherPatchContext.h"
#include "FileList.h"
#include "RakAssert.h"
#include "DS_List.h"
// ntohl
#ifdef _WIN32
#include <Winsock2.h>
#else
#include <netinet/in.h>
#endif
// If you get fatal error C1083: Cannot open include f... |
<?php
register_sidebar(array(
'name' => 'Main Sidebar',
'description' => 'Widgets in this area will be shown on the every page except single post page.',
'before_title' => '<h3>',
'after_title' => '</h3>'
));
register_sidebar(array(
'name' => 'Single Post Sidebar',
'description' => 'Widgets in this area w... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Auto-loading Resources : CodeIgniter User Gui... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SQLite.Scaffolder.Components
{
internal class TableDefinition
{
internal string Name { get; set; }
internal List<ColumnDefinition> Columns { get; set; }
inter... |
title: Cockpit 162
author: pitti
date: 2018-02-21 10:30
tags: cockpit linux
slug: cockpit-162
category: release
summary: Cockpit with Virtual Machines improvements
comments: 'true'
---
Cockpit is the [modern Linux admin interface](https://cockpit-project.org/). We release regularly.
Here are the release notes from ver... |
#if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID)
# include <unistd.h>
# include <sys/time.h>
# include <dirent.h>
#endif
#if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_UNIX)
# include <glob.h>
#endif
#if defined(SK_BUILD_FOR_MAC)
# include <sys/syslimits.... |
**VeeWee:** the tool to easily build vagrant base boxes or kvm,virtualbox and fusion images
Vagrant is a great tool to test new things or changes in a virtual machine(Virtualbox) using either chef or puppet.
The first step is to download an existing 'base box'. I believe this scares a lot of people as they don't know ... |
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var locationSchema = new Schema({
type: {
type: String
},
coordinates: {
type: Array
}
})
var propertiesSchema = new Schema({
name: {
type: String
},
styleUrl: {
type: String
},
styleH... |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import {DashboardLayoutModule} from '../dashboard-layout/dashboard-layout.module';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
... |
$( document ).ready(function() {
var test = '#' + $('body').attr('class');
$(test).show();
}); |
(function() {
// Baseline setup
// --------------
// Establish the root object, `window` (`self`) in the browser, `global`
// on the server, or `this` in some virtual machines. We use `self`
// instead of `window` for `WebWorker` support.
var root = typeof self == 'object' && self.self === self && self ||... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="author" name="tuzkiss">
<title>text bubble demo</title>
</head>
<body>
<div id="result"></div>
<script src="../common/CArray.js"></script>
<script>
var startTime = new Date();
var numElement = 100... |
<!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 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.fasterxml.jackson.annotation.JacksonInject.Value (Jac... |
<?xml version="1.0" encoding="utf-8"?>
<!--
This is the manifest for the android-test project, an Android project
that is both an Android app-project and a test-project.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="cucumber.example.android.test"
android:versionCo... |
//-----------------------------------------------------------------------
// <copyright file="PropertyInfo.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Expose metastate information about a property.</summary>
//-------... |
class SessionTabHelper : public content::WebContentsObserver,
public content::WebContentsUserData<SessionTabHelper> {
public:
~SessionTabHelper() override;
// Returns the identifier used by session restore for this tab.
const SessionID& session_id() const { return session_id_; }
// I... |
<?xml version="1.0"?>
<doc>
<assembly>
<name>WebDriver.Support</name>
</assembly>
<members>
<member name="T:OpenQA.Selenium.Support.Events.EventFiringWebDriver">
<summary>
A wrapper around an arbitrary WebDriver instance which supports registering for
... |
package com.intellij.tasks;
import com.intellij.CommonBundle;
import com.intellij.reference.SoftReference;
import org.apache.commons.httpclient.HttpStatus;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.PropertyKey;
import java.lang.ref.Reference;
i... |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain ... |
package com.googlecode.objectify.impl.translate;
import com.google.cloud.datastore.Value;
import com.googlecode.objectify.impl.Path;
/**
* <p>Just in case anyone has a {@code Value<?>} field. Just store it as-is.</p>
*
* @author Jeff Schnitzer <jeff@infohazard.org>
*/
public class RawValueTranslatorFactory imple... |
package ui;
import android.content.Intent;
import android.os.Handler;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ListView;
import android.widget.RelativeLayou... |
angular.module('app.game', [])
.controller('GameController',
['$scope', '$state', 'requestNotificationChannel', 'Panel', 'Players', 'Strike', 'LevelUp',
function($scope, $state, requestNotificationChannel, Panel, Players, Strike, LevelUp) {
// Initializes game
var game = new Phaser.Game(
800, 533,
... |
<?xml version="1.0"?>
<BuildLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ProjectInfo>
<Name>SSIS</Name>
<LastWriteTime>2015-05-12T03:50:33.5563624Z</LastWriteTime>
<LastKnownProtectionLevel>EncryptSensitiveWithUserKey</LastKnownProtectionLevel>
... |
namespace media {
namespace cast {
class PacedPacketSender;
struct RtcpSenderInfo;
// This object is only called from the main cast thread.
// This class handles splitting encoded audio and video frames into packets and
// add an RTP header to each packet. The sent packets are stored until they are
// acknowledged by... |
package policy
// Copyright (c) Microsoft and contributors. 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
//
// Unle... |
package org.apache.flink.connector.base.source.reader.mocks;
import org.apache.flink.api.connector.source.SourceEvent;
import org.apache.flink.api.connector.source.SplitEnumerator;
import org.apache.flink.api.connector.source.SplitEnumeratorContext;
import org.apache.flink.api.connector.source.SplitsAssignment;
impo... |
package com.skyline.coolweather.gson;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Created by taozh on 2017/10/15.
*/
public class Weather {
public String status;
public Basic mBasic;
public AQI mAQI;
public Now mNow;
public Suggestion mSuggestion;
... |
//
// Copyright (C) 2016 Tobias Lensing, Marcus Tillmanns
// http://icedcoffee-framework.org
//
// 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 with... |
"""Python layer for set_ops."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from tensorflow.python.ops import sets
set_size = sets.set_size
set_intersection = sets.set_intersection
set_difference = sets.set_difference
set_union = sets.set_union
|
namespace Cofoundry.Domain;
/// <summary>
/// Query to get a collection of all custom entity definitions registered
/// with the system. The returned object is a lightweight projection of the
/// data defined in a custom entity definition class which is typically used
/// as part of another domain model.
/// </summa... |
namespace content {
// Manages creation of the RenderFrameHostImpls; when registered, all created
// RenderFrameHostsImpls will be TestRenderFrameHosts. This
// automatically registers itself when it goes in scope, and unregisters itself
// when it goes out of scope. Since you can't have more than one factory
// regis... |
ALTER TABLE reviews
ADD COLUMN lang VARCHAR(5);
CREATE INDEX app_reviews_with_lang
ON reviews (addon_id, reply_to, lang);
|
sap.ui.define([
] , function () {
"use strict";
return {
/**
* Rounds the number unit value to 2 digits
* @public
* @param {string} sValue the number string to be rounded
* @returns {string} sValue with 2 digits rounded
*/
numberUnit : function (sValue) {
if (!sValue) {
return ... |
#ifndef LOCBUND_H
#define LOCBUND_H
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/unum.h"
#define ULOCALEBUNDLE_NUMBERFORMAT_COUNT ((int32_t)UNUM_SPELLOUT)
typedef struct ULocaleBundle {
char *fLocale;
UNumberFormat *fNumberFormat[ULOCALEBUNDLE_NUMBERFORMAT_COUNT]... |
namespace phi {
template <typename T, typename Context>
void RenormKernel(const Context& dev_ctx,
const DenseTensor& x,
float p,
int axis,
float max_norm,
DenseTensor* out) {
out->Resize(x.dims());
dev_ctx.template Alloc<T>(o... |
<?php
namespace Doctrine\ORM;
/**
* Class to store and retrieve the version of Doctrine
*
*
* @link www.doctrine-project.org
* @since 2.0
* @version $Revision$
* @author Benjamin Eberlei <kontakt@beberlei.de>
* @author Guilherme Blanco <guilhermeblanco@hotmail.com>
* @author Jonathan Wage <jonwage@... |
/*
* 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
* distribut... |
static const int kCodeLengthLiterals = 16;
static const int kCodeLengthRepeatCode = 16;
static const int kCodeLengthExtraBits[3] = { 2, 3, 7 };
static const int kCodeLengthRepeatOffsets[3] = { 3, 3, 11 };
// -----------------------------------------------------------------------------
// Five Huffman codes are used a... |
/**
* CC BY-NC-SA License
* Advanced Data Table by Mike Howles is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
* Based on a work at http://github.com/org-scn-design-studio-community/sdkpackage/tree/master/src/org.scn.community.databound/res/AdvancedDataTable
*
... |
package quantum.util.logger;
/**
* @author link
*/
public class ModLogger {
}
|
<?php
namespace OAuth\OAuth2\Service;
use OAuth\OAuth2\Token\StdOAuth2Token;
use OAuth\Common\Http\Exception\TokenResponseException;
use OAuth\Common\Http\Uri\Uri;
use OAuth\Common\Consumer\CredentialsInterface;
use OAuth\Common\Http\Client\ClientInterface;
use OAuth\Common\Storage\TokenStorageInterface;
use OAuth\Co... |
//
// Copyright (c) Microsoft. 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 applicable l... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
/**
* @module ol/source/Vector
*/
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p i... |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.bookmarkimport;
import android.app.Dialog;
import android.os.Bundle;
import android.support.v7.app.AlertDialog;
impo... |
// 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;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Roslyn.Utilities;
namespace Microsoft.CodeAna... |
// @allowJs: true
// @noEmit: true
// @checkJs: true
// @filename: interfaces.d.ts
export interface Bar {
prop: string
}
// @filename: usage.js
/** @type {Bar} */
export let bar;
/** @typedef {import('./interfaces').Bar} Bar */ |
This is a quick introduction with a simple example and installation instructions: for a more complete tutorial see [gRPC Basics: Python](https://github.com/grpc/grpc-common/tree/master/python/route_guide).
### Install gRPC
Make sure you have built gRPC Python from source on your system. Follow the instructions here:
[... |