text stringlengths 3 1.05M |
|---|
/* $Id$ */
#ifndef DNDETANALYSIS_H
#define DNDETANALYSIS_H
// ------------------------------------------------------
//
// Class for dn/deta analysis
//
// ------------------------------------------------------
//
// TODO:
// - more documentation
// - add debug statements
// - add more histograms
// - add functional... |
namespace boost { namespace spirit
{
///////////////////////////////////////////////////////////////////////////
// Enablers
///////////////////////////////////////////////////////////////////////////
template <>
struct use_operator<lex::domain, proto::tag::bitwise_or> // enables |
: mpl::tru... |
package cjc.weixinmp.bean;
import java.io.Serializable;
/**
* 主动文本消息<br>
* msgtype = "text"
* @author jianqing.cai@qq.com, https://github.com/caijianqing/weixinmp4java/
*/
public class TextMessage extends AbstractMessage {
private static final long serialVersionUID = 1L;
public TextMessage() {
m... |
package com.google.zxing.client.android.result;
import com.google.zxing.Result;
import com.google.zxing.client.android.Contents;
import com.google.zxing.client.android.Intents;
import com.google.zxing.client.android.LocaleManager;
import com.google.zxing.client.android.PreferencesActivity;
import com.google.zxing.cl... |
package org.openqa.grid.common.exception;
import org.openqa.selenium.remote.DesiredCapabilities;
import java.util.Map;
public class CapabilityNotPresentOnTheGridException extends GridException {
private static final long serialVersionUID = -5382151149204616537L;
public CapabilityNotPresentOnTheGridException(St... |
using System.Runtime.InteropServices;
using System;
internal class NullableTest
{
private static bool BoxUnboxToNQGen<T>(T o)
{
return ((ValueType)(object)o) == null;
}
private static bool BoxUnboxToQGen<T>(T? o) where T : struct
{
return ((T?)(object)(ValueType)o) == null;
}
... |
import {Bookmark} from './bookmark';
export interface RateBookmarkRequest {
ratingUserId: string;
action: RatingActionType;
bookmark: Bookmark
}
export enum RatingActionType {
LIKE = 'LIKE',
UNLIKE = 'UNLIKE'
}
|
namespace boost
{
class shared_mutex
{
private:
shared_mutex(shared_mutex const&);
shared_mutex& operator=(shared_mutex const&);
private:
struct state_data
{
unsigned shared_count:11,
shared_waiting:11,
exclusive:1,
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.googlecode.htmlcompressor.compressor.HtmlCompressorStatistics (HTML Compressor and Minif... |
'use strict';
var fs = require('fs-extra');
var args = require('minimist')(process.argv.slice(2));
//create config files
const configDef = 'config/default.json';
const configDefDist = 'config/default.json.dist';
const configProd = 'config/production.json';
const configProdDist= 'config/production.json.dist';
if (!fs.... |
/* *
*
* (c) 2010-2019 Kacper Madej
*
* License: www.highcharts.com/license
*
* */
'use strict';
import H from '../parts/Globals.js';
import '../parts/Utilities.js';
var seriesType = H.seriesType,
isArray = H.isArray;
// Utils:
function populateAverage(xVal, yVal, i, period, index) {
/* Calculated a... |
package Class::ISA;
require 5;
use strict;
use vars qw($Debug $VERSION);
$VERSION = '0.33';
$Debug = 0 unless defined $Debug;
=head1 NAME
Class::ISA -- report the search path for a class's ISA tree
=head1 SYNOPSIS
# Suppose you go: use Food::Fishstick, and that uses and
# inherits from other things, which in tu... |
define(function (require) {
var List = require('../../data/List');
var echarts = require('../../echarts');
var SeriesModel = require('../../model/Series');
var zrUtil = require('zrender/core/util');
var completeDimensions = require('../../data/helper/completeDimensions');
var formatUtil = requ... |
import {Injectable} from '@angular/core';
@Injectable()
export class TodoService {
private _todoList = [
{ text: 'Check me out' },
{ text: 'Lorem ipsum dolor sit amet, possit denique oportere at his, etiam corpora deseruisse te pro' },
{ text: 'Ex has semper alterum, expetenda dignissim' },
{ text: ... |
const Collision = require('./collision');
const Renderer = require('./renderer');
const Score = require('./score');
const InitialGameObjects = require('./initial-game-objects');
let marioRemix = new Audio();
marioRemix.src = './sounds/mario-remix.mp3';
let fatality = new Audio();
fatality.src = './sounds/fatality.mp3';... |
<?php
namespace Symfony\Component\Form\Tests\Extension\HttpFoundation;
use Symfony\Component\Form\Extension\HttpFoundation\HttpFoundationRequestHandler;
use Symfony\Component\Form\Tests\AbstractRequestHandlerTest;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\File\UploadedFile;
... |
<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<!-- Standard Head Part -->
<head>
<title>NUnit - CollectionAssert</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-US">
<meta name="nort... |
<?php
namespace Bolt\Tests\Storage\Mock;
class ConnectionMock extends \Doctrine\DBAL\Connection
{
private $_fetchOneResult;
private $_platformMock;
private $_lastInsertId = 0;
private $_inserts = [];
public function __construct(array $params, $driver, $config = null, $eventManager = null)
{
... |
{-# LANGUAGE TupleSections, OverloadedStrings #-}
module Handler.Home where
import Import
-- This is a handler function for the GET request method on the HomeR
-- resource pattern. All of your resource patterns are defined in
-- config/routes
--
-- The majority of the code you will write in Yesod lives in these handl... |
class a(object):
pass |
@class NSBundle;
#else
class NSBundle;
#endif
#endif
namespace base {
class FilePath;
}
namespace chrome {
// Get the path to the user's data directory, regardless of whether
// DIR_USER_DATA has been overridden by a command-line option.
bool GetDefaultUserDataDirectory(base::FilePath* result);
// Get the path to t... |
<?php
/**
* This file is automatically @generated by {@link GeneratePhonePrefixData}.
* Please don't modify it directly.
*/
return array (
86176 => 'China Unicom',
);
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>sum-of-two-square: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... |
#ifndef GDCMFILEANONYMIZER_H
#define GDCMFILEANONYMIZER_H
#include "gdcmSubject.h"
#include "gdcmEvent.h"
#include "gdcmTag.h"
#include "gdcmVL.h"
namespace gdcm
{
class FileAnonymizerInternals;
/**
* \brief FileAnonymizer
*
* \details This Anonymizer is a file-based Anonymizer. It requires a valid DICOM
* file... |
package edu.kit.dama.mdm.audit.aspect;
import edu.kit.dama.mdm.audit.impl.AuditManager;
import edu.kit.dama.mdm.audit.servlet.RabbitMQInitializerListener;
import edu.kit.dama.mdm.audit.types.AuditEvent;
import edu.kit.dama.mdm.audit.types.AuditDetail;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annota... |
package io.druid.query.aggregation;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* This class can be removed when we dont need "max" aggregator backward compatibility
*/
public class MaxAggregatorFactory extends DoubleMaxAggregatorFactory
{
public MaxAggregatorFactory(
@JsonProperty("name") S... |
YUI.add('json-parse', function(Y) {
/**
* <p>The JSON module adds support for serializing JavaScript objects into
* JSON strings and parsing JavaScript objects from strings in JSON format.</p>
*
* <p>The JSON namespace is added to your YUI instance including static methods
* Y.JSON.parse(..) and Y.JSON.stringify(... |
void TabDialogs::CreateForWebContents(content::WebContents* contents) {
DCHECK(contents);
if (!FromWebContents(contents))
contents->SetUserData(UserDataKey(), new TabDialogsViews(contents));
}
TabDialogsViews::TabDialogsViews(content::WebContents* contents)
: web_contents_(contents) {
DCHECK(contents);
}... |
package com.intellij.cvsSupport2.actions;
import com.intellij.CvsBundle;
import com.intellij.cvsSupport2.actions.actionVisibility.CvsActionVisibility;
import com.intellij.cvsSupport2.actions.cvsContext.CvsContext;
import com.intellij.cvsSupport2.cvshandlers.CommandCvsHandler;
import com.intellij.cvsSupport2.cvshandle... |
<?php
namespace Oro\Bundle\DataGridBundle\Datagrid\Common;
use Oro\Bundle\DataGridBundle\Common\Object;
class DatagridConfiguration extends Object
{
}
|
<?xml version="1.0" encoding="utf-8"?>
<form>
<field
name="client_id"
type="list"
label=""
filtermode="selector"
onchange="this.form.submit();"
>
<option value="0">JSITE</option>
<option value="1">JADMINISTRATOR</option>
</field>
<fields name="filter">
<field
name="search"
type="text"
labe... |
Simple registration form, HTML5/CSS3 template.
|
package me.chanjar.weixin.cp.bean;
import me.chanjar.weixin.common.api.WxConsts;
import me.chanjar.weixin.cp.bean.WxCpMessage.WxArticle;
import org.testng.Assert;
import org.testng.annotations.Test;
@Test
public class WxCpMessageTest {
public void testTextReply() {
WxCpMessage reply = new WxCpMessage();
re... |
package org.kaazing.gateway.management.system;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicReference;
import org.hyperic.sigar.SigarException;
import org.json.JSONArray;
import org.js... |
package org.ejml.alg.block;
import org.ejml.alg.generic.GenericMatrixOps;
import org.ejml.data.BlockMatrix64F;
import org.ejml.data.D1Submatrix64F;
import org.ejml.data.DenseMatrix64F;
import org.ejml.ops.CommonOps;
import org.ejml.ops.RandomMatrices;
import org.junit.Test;
import java.util.Random;
import static o... |
<?php
final class DiffusionRepositoryIdentityEditor
extends PhabricatorApplicationTransactionEditor {
public function getEditorObjectsDescription() {
return pht('Repository Identity');
}
public function getCreateObjectTitle($author, $object) {
return pht('%s created this identity.', $author);
}
... |
package conn_test
import (
"github.com/jordwest/imap-server/conn"
. "github.com/onsi/ginkgo"
)
var _ = Describe("LIST Command", func() {
Context("When logged in", func() {
BeforeEach(func() {
tConn.SetState(conn.StateAuthenticated)
tConn.User = mStore.User
})
It("should return the directory separator"... |
package com.github.signaflo.math.function;
/**
* A thin wrapper for a {@link Function Function}. Pass a lambda expression representing the function to the constructor
* to quickly obtain a concrete {@link AbstractFunction} instead of writing a new class that extends AbstractFunction.
*
* @author Jacob Rachiele
*... |
package info.izumin.android.sunazuri.infrastructure.repository.source.oauth;
import info.izumin.android.sunazuri.infrastructure.entity.AccessTokenEntity;
import rx.Observable;
import rx.Single;
import java.util.List;
/**
* Created by izumin on 5/13/2016 AD.
*/
public interface OauthDataSource {
Single<AccessTo... |
package org.apache.camel.component.aws.xray.component;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.Endpoint;
import org.apache.camel.impl.DefaultComponent;
public class TestXRayComponent extends DefaultComponent {
public TestXRayComponent() {
super();
}
... |
/**
Form with single input element, two buttons and two states: normal/loading.
Applied as jQuery method to DIV tag (not to form tag!). This is because form can be in loading state when spinner shown.
Editableform is linked with one of input types, e.g. 'text', 'select' etc.
@class editableform
@uses text
@uses textar... |
module.exports = {
description: 'allows reassigments to default parameters that shadow imports',
buble: true
};
|
#if 0
#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid[] = "@(#)nohup.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
#endif
#include <sys/cdefs.h>
__FBSDID("$Fr... |
module.exports = function cleanWhitespace(node, item, list) {
// remove when first or last item in sequence
if (item.next === null || item.prev === null) {
list.remove(item);
return;
}
// remove when previous node is whitespace
if (item.prev.data.type === 'WhiteSpace') {
lis... |
cloudfoundry-sticky-session
===========================
Simple Java web app that prints Cloud Foundry environment variables and cookies and is useful to showcase sticky sessions.
It also lets you test the HealthManager by sending a "http://host/?shutdown=true" request.
To build, please use Maven from the root direct... |
cask "cord" do
version "0.5.7,5701"
sha256 "8f505b12b94167100b3b8b44ed3cee32ffcc94b73dc44fe0ecc896151f114100"
url "https://downloads.sourceforge.net/cord/cord/#{version.before_comma}/CoRD_#{version.before_comma}.zip",
verified: "downloads.sourceforge.net/cord/"
name "CoRD"
desc "Remote desktop client"
... |
package org.apache.hadoop.yarn.server.resourcemanager.metrics;
import org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMApp;
import org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppState;
import org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttempt;
import org.apache.hadoop.yarn.server.... |
package org.apache.sysml.udf;
import java.io.IOException;
import org.apache.sysml.conf.ConfigurationManager;
import org.apache.sysml.parser.Expression;
import org.apache.sysml.runtime.DMLRuntimeException;
import org.apache.sysml.runtime.controlprogram.ExternalFunctionProgramBlockCP;
import org.apache.sysml.runtime.... |
import unittest
from _pydev_imps import _pydev_thread
try:
import Queue
except:
import queue as Queue #@UnresolvedImport
from pydevd_constants import * #@UnusedWildImport
import pydev_runfiles_xml_rpc
import time
import os
#=======================================================================================... |
package com.intellij.ide.projectView.impl.nodes;
import com.intellij.ide.projectView.RootsProvider;
import com.intellij.openapi.actionSystem.DataKey;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.ui.Queryable;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.psi.PsiDirectory;
... |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.adapter = f()}... |
#include "mock_bid_source.h"
#include "soa/service/http_header.h"
using namespace Datacratic;
using namespace RTBKIT;
BidRequest MockBidSource::generateRandomBidRequest() {
BidRequest bidRequest;
FormatSet formats;
formats.push_back(Format(160,600));
AdSpot spot;
spot.id = Id(1);
spot.forma... |
/* This file is part of the software similarity tester SIM.
Written by Dick Grune, Vrije Universiteit, Amsterdam.
$Id: pass3.h,v 1.3 2012-06-05 09:58:53 Gebruiker Exp $
*/
/* Print the contents of runs */
extern void Show_Runs(void);
|
FUZZ_TARGET(spanparsing)
{
FuzzedDataProvider fuzzed_data_provider(buffer.data(), buffer.size());
const size_t query_size = fuzzed_data_provider.ConsumeIntegral<size_t>();
const std::string query = fuzzed_data_provider.ConsumeBytesAsString(std::min<size_t>(query_size, 1024 * 1024));
const std::string sp... |
"""Custom ops used by tensorforest."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
# go/tf-wildcard-import
# pylint: disable=wildcard-import
from tensorflow.contrib.tensor_forest.python.ops.gen_tensor_forest_ops import *
# pylint: enable=wildcard-import
... |
<resources>
<style name="AppBaseTheme" parent="android:Theme.Light">
</style>
<style name="AppTheme" parent="AppBaseTheme">
</style>
</resources>
|
// Copyright (C) 2012 Jeffrey Arnold
//
// 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 agree... |
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/activity_menu_item"
android:showAsAction="ifRoom|withText"
android:title="@string/activity_item">
</item>
</menu> |
videojs.addLanguage("bg",{
"Play": "Възпроизвеждане",
"Pause": "Пауза",
"Current Time": "Текущо време",
"Duration Time": "Продължителност",
"Remaining Time": "Оставащо време",
"Stream Type": "Тип на потока",
"LIVE": "НА ЖИВО",
"Loaded": "Заредено",
"Progress": "Прогрес",
"Fullscreen": "Цял екран",
"Non-Fulls... |
from oscar.core.loading import is_model_registered
from oscar.apps.analytics.abstract_models import (
AbstractProductRecord, AbstractUserRecord,
AbstractUserProductView, AbstractUserSearch)
__all__ = []
if not is_model_registered('analytics', 'ProductRecord'):
class ProductRecord(AbstractProductRecord):
... |
import jwt
from calendar import timegm
from datetime import datetime, timedelta
from django.contrib.auth import get_user_model
from django.utils.translation import ugettext as _
from rest_framework import serializers
from .compat import Serializer
from rest_framework_jwt.settings import api_settings
from rest_framew... |
import {DataSet, SpriteAndMetadataInfo, State} from './data';
import * as dataProvider from './data-provider';
import {DataProvider, EmbeddingInfo, ProjectorConfig} from './data-provider';
import * as logging from './logging';
// Limit for the number of data points we receive from the server.
export const LIMIT_NUM_... |
package com.verily.genomewarp.utils;
import com.google.genomics.v1.Variant;
import com.google.genomics.v1.VariantCall;
import com.google.protobuf.ListValue;
import com.google.protobuf.Value;
import htsjdk.variant.variantcontext.Allele;
import htsjdk.variant.variantcontext.Genotype;
import htsjdk.variant.variantcont... |
package com.google.common.jimfs;
import java.nio.file.attribute.FileAttributeView;
/**
* Dummy view interface for the "unix" view, which doesn't have a public view interface.
*
* @author Colin Decker
*/
interface UnixFileAttributeView extends FileAttributeView {}
|
using base::TimeDelta;
// TODO(paulg): These may need to be adjusted when download progress
// animation is added, and also possibly to take into account
// different screen resolutions.
static const int kTextWidth = 140; // Pixels
static const int kDangerousTextWidth = 200; // P... |
using System.Collections.Generic;
using Newtonsoft.Json;
namespace GoogleApi.Entities.Places.Search.NearBy.Response
{
/// <summary>
/// Places NearbySearch Response.
/// </summary>
public class PlacesNearbySearchResponse : BasePlacesResponse
{
/// <summary>
/// Contains an array of... |
YUI.add('slider', function(Y) {
/**
* Create a sliding value range input visualized as a draggable thumb on a
* background element.
*
* @module slider
*/
var SLIDER = 'slider',
RAIL = 'rail',
THUMB = 'thumb',
VALUE = 'value',
MIN = 'min',
MAX = 'max',
MIN_GUTTER = 'minGutter',
... |
// VsPyProf.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
#include "VsPyProf.h"
#include "PythonApi.h"
#include <Windows.h>
int TraceFunction(PyObject *obj, PyFrameObject *frame, int what, PyObject *arg) {
return ((VsPyProfThread*)obj)->Trace(frame, what, arg);
... |
package org.kuali.rice.kns.inquiry;
import org.apache.commons.lang.StringUtils;
import org.junit.Test;
import org.kuali.rice.kns.KNSTestCase;
import org.kuali.rice.kns.inquiry.KualiInquirableImpl;
import org.kuali.rice.kns.lookup.HtmlData;
import org.kuali.rice.krad.test.document.bo.AccountManager;
import or... |
package org.apache.sling.scripting.javascript.wrapper;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import javax.jcr.Node;
import javax.jcr.Property;
import javax.jcr.Value;
import org.apache.sling.scripting.javascript.RepositoryScriptingTestBase;
import org.apache.sling.scripting.javascript.intern... |
define(["require", "exports"], function (require, exports) {
var DecoratorApplicator = (function () {
function DecoratorApplicator() {
this._first = null;
this._second = null;
this._third = null;
this._rest = null;
}
DecoratorApplicator.prototy... |


# Usage:
```js
import {
autoAnnotateFeatures,
autoAnnotateParts,
autoAnnotatePrimers
} fr... |
(function() {
DocsApp
.factory('codepenDataAdapter', CodepenDataAdapter)
.factory('codepen', ['$demoAngularScripts', '$document', 'codepenDataAdapter', Codepen]);
// Provides a service to open a code example in codepen.
function Codepen($demoAngularScripts, $document, codepenDataAdapter) {
var CODEP... |
require 'bundler/setup'
require 'ultradns_updater'
|
/**
* @file
* Generic interface for platforms
*/
#ifndef __DEV_PLATFORM_HH__
#define __DEV_PLATFORM_HH__
#include <bitset>
#include <set>
#include "params/Platform.hh"
#include "sim/sim_object.hh"
class PciConfigAll;
class IntrControl;
class Terminal;
class Uart;
class System;
class Platform : public SimObjec... |
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<scale
android:fromXScale="0.3" android:toXScale="1.0"
android:fromYScale="0.3" android:toYScale="1.0"
android:pivotX="50%" android:pivotY="0%"
android:duration="@android:integer/config_shortAnimTime"
/>
<... |
package org.wso2.carbon.mdm.services.android.bean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
/**
* This class represents information of configuring App Restriction ex: White list and Black list
*/
@ApiModel(value = "... |
/*
HTML Clean for jQuery
Anthony Johnston
http://www.antix.co.uk
version 1.3.1
$Revision$
requires jQuery http://jquery.com
Use and distibution http://www.opensource.org/licenses/bsd-license.php
2010-04-02 allowedTags/removeTags added (white/black list) thanks to David Wartian (Dwartian)
2010-06-30 r... |
<?php
namespace Symfony\Component\Routing\DependencyInjection;
use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\Compiler\PriorityTaggedS... |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
import { p } from './rebinding.js'; |
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("migrations", "0001_initial"),
]
operations = [
migrations.CreateModel(
"Book",
[
("id", models.AutoField(pr... |
<?xml version="1.0" encoding="UTF-8" ?>
<Configuration shutdownHook="disable">
<Appenders>
<Console name="console" target="SYSTEM_OUT">
<PatternLayout pattern="%d %p [%c] - <%m>%n"/>
</Console>
<RollingFile name="file" fileName="build/core.log" append="true"
... |
package estimator
import (
"context"
"github.com/akaspin/logx"
"github.com/akaspin/soil/agent/allocation"
"github.com/akaspin/soil/agent/bus"
"github.com/akaspin/soil/manifest"
"github.com/nu7hatch/gouuid"
)
const (
opResourceCreate = iota
opResourceUpdate
opResourceDestroy
)
type resourceOp struct {
op ... |
layout: up
title: Magic Folders
---
# Magic Folders
A Magic Folder is a project folder that automatically includes files and folders from the computer's file system. Magic Folder contents are automatically updated when the files on the disk change.
You can use a filter to select which files are visible in a Magic fol... |
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
|
describe Conversation, 'description' do
it '.aasm_states should contain all of the states' do
Conversation.aasm_states.should == [:needs_attention, :read, :closed, :awaiting_response, :junk]
end
end
|
const char kPersistedDataPreference[] = "updateclientdata";
namespace update_client {
PersistedData::PersistedData(PrefService* pref_service,
ActivityDataService* activity_data_service)
: pref_service_(pref_service),
activity_data_service_(activity_data_service) {}
PersistedDat... |
/* 레이아웃 신규 생성시 완료 후 요청하는 함수 */
function completeInsertLayout(ret_obj) {
var layout_srl = ret_obj['layout_srl'];
var url = current_url.setQuery('act','dispLayoutAdminModify').setQuery('layout_srl',layout_srl);
location.href = url;
}
/* 레이아웃 삭제 */
function doDeleteLayout(layout_srl) {
var fo_obj =... |
package io.grpc.reflection.testing;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCa... |
declare class Option {
flags: string;
defaultValue: any;
/** this option need parameter value. it is required. */
required: boolean;
/** this option need parameter value. it is optional. */
optional: boolean;
/** this option is default true. if specified this option, value is become false. *... |
from enum import Enum
class EnumBase(Enum):
@classmethod
def values(cls):
return [value.value for value in cls.__members__.values()]
class EventType(EnumBase):
ROOM_MESSAGE = "m.room.message"
|
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace RaynMaker.Modules.Import.Spec.v1
{
/// <summary>
/// Identifies a formular in a document by name.
/// Specified parameters will be set when submitting the form.
/// </summary>
[DataContract( Nam... |
A summarization of the goals and recommendations for identifiers in Kubernetes. Described in [GitHub issue #199](https://github.com/GoogleCloudPlatform/kubernetes/issues/199).
## Definitions
UID
: A non-empty, opaque, system-generated value guaranteed to be unique in time and space; intended to distinguish between ... |
package org.elasticsearch.ingest.common;
import org.elasticsearch.ingest.IngestDocument;
import org.elasticsearch.ingest.RandomDocumentPicks;
import org.elasticsearch.test.ESTestCase;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import java.util.ArrayList;
import java.util.Collections;
import j... |
package v1alpha2
import (
"fmt"
"github.com/kubeflow/kfserving/pkg/constants"
v1 "k8s.io/api/core/v1"
"strconv"
)
func (x *XGBoostSpec) GetStorageUri() string {
return x.StorageURI
}
func (x *XGBoostSpec) GetResourceRequirements() *v1.ResourceRequirements {
// return the ResourceRequirements value if set on ... |
' 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.Composition
Imports System.Threading
Imports System.Threading.Tasks
Imports Microsoft.CodeAnalysis.Host
Imports Microsoft.CodeAnalysis.Host.Mef... |
#if GOOGLE_CUDA
#include "tensorflow/core/kernels/cwise_ops_gpu_common.cu.h"
namespace tensorflow {
namespace functor {
DEFINE_UNARY1(conj, complex64);
DEFINE_UNARY1(conj, complex128);
} // namespace functor
} // namespace tensorflow
#endif // GOOGLE_CUDA
|
package Feb2021Leetcode;
import java.util.List;
public class _0113PathSumII {
public static class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode() {
}
TreeNode(int val) {
this.val = val;
}
TreeNode(int val, TreeNode left, TreeNode right) {
this.val = val;
this.left = left;
... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_raw_socket::async_send_to</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../../boost_... |