text stringlengths 3 1.05M |
|---|
package com.xeiam.xchange.examples.btce.account;
import java.io.IOException;
import com.xeiam.xchange.Exchange;
import com.xeiam.xchange.btce.v3.dto.account.BTCEAccountInfo;
import com.xeiam.xchange.btce.v3.service.polling.BTCEAccountServiceRaw;
import com.xeiam.xchange.dto.account.AccountInfo;
import com.xeiam.xchan... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<table style="width:200px; table-layout:fixed; background:darkkhaki; border:5px solid black">
<tr>
<td style="width:10%; background:plum;">
<div style="background:pink;"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lambek: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... |
package org.aesh.extensions.mkdir;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import org.aesh.command.registry.CommandRegistryException;
import org.aesh.extensions.comm... |
@class NSImage, NSString;
@interface IDETargetEditorSectionViewController : IDEViewController <IDECapsuleViewController>
{
id _targetViewController;
}
@property(retain) id targetViewController; // @synthesize targetViewController=_targetViewController;
@property(readonly) BOOL canDrag;
@property(readonly) BOOL ca... |
package org.apache.lucene.facet.search;
import java.io.IOException;
import org.apache.lucene.index.IndexReader;
import org.apache.lucene.search.Collector;
import org.apache.lucene.search.DocIdSet;
import org.apache.lucene.search.DocIdSetIterator;
import org.apache.lucene.search.Scorer;
import org.apache.lucene.util.A... |
'use strict';
var helper = require('../helper');
module.exports = function (netcore, qnode, status) {
var permAddr = helper.buildPermAddr(qnode.mac, qnode.clientId);
netcore.commitDevNetChanging(permAddr, { status: status });
};
|
package com.jeff_fennell.todo;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
s... |
using Benchmark
using VirtualArrays
function print_seperator(file::IOStream, name::AbstractString)
seperator = "################################################################################"
println(file)
println(file, seperator)
println(file, "# ", name)
println(file, seperator)
println(fil... |
"""Implementation of basic magic functions."""
from __future__ import print_function
import io
import json
import sys
from pprint import pformat
from IPython.core import magic_arguments, page
from IPython.core.error import UsageError
from IPython.core.magic import Magics, magics_class, line_magic, magic_escapes
from... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Cheilanthes tenuissima F.M.Bailey
### Remarks
null |
"""The :class:`FunctionalTester` object provides a higher-level interface to
working with a Trac environment to make test cases more succinct.
"""
import re
from genshi.builder import tag
from trac.tests.functional import internal_error
from trac.tests.functional.better_twill import tc, b
from trac.tests.contentgen i... |
package com.amazonaws.services.connect.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.connect.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* SearchSecurityProfilesRequestMarshaller
*/
@Gen... |
package yo
import (
"net/http"
"testing"
)
func TestYoAll(t *testing.T) {
setup()
defer teardown()
apiToken := "FOOBAR"
mux.HandleFunc("/yoall/", func(w http.ResponseWriter, r *http.Request) {
if r.Method != "POST" {
t.Errorf("Bad HTTP method: expected POST, got %v", r.Method)
err := r.ParseForm()
... |
package com.loadtesting.core.logging;
import java.util.Iterator;
import java.util.Map;
import org.slf4j.Logger;
import com.loadtesting.core.data.StatisticData;
/**
* @author Woranop Chaiyakulvat(nineworanop@gmail.com)
*/
public class DefaultKpiLogger implements KpiLogger {
private Logger logger;
public Defau... |
<!DOCTYPE html>
<html>
<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 content="Blog" property="og:site_name">
<meta content="About" property="og:title">
<meta content="article" property="og:... |
<?php
namespace Zephir\Passes;
use Zephir\StatementsBlock;
/**
* LocalContextPass
*
* This pass tries to check whether variables only do exist in the local context of the method block
* or if they're used externally which will unallow variables to be placed in the stack
*
* This pass also tracks the number o... |
@extends('layouts.main')
@section('title')
<title>404 - Broken CMS Sample Package Not Found</title>
@stop
@section('content')
<div class="row">
<div class="large-12 columns">
<h1 class="brokencms large">(404) Welcome to Broken CMS</h1>
<p>
Welcome to the <span class="brokencms">Broken CMS</span> sample pack... |
mod automaton;
mod cowderiv;
use super::Lcfrs;
use crate::dyck::Bracket;
use crate::grammars::pmcfg::PMCFGRule;
use crate::util::{factorizable::Factorizable, tree::GornTree};
use num_traits::{One, Zero};
use std::time::{Duration, Instant};
use std::{
collections::BTreeMap,
fmt::{Display, Error, Formatter},
... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<... |
/**
* @file
* @brief Kernel timer subsystem
* @defgroup timer Timers
*
* The timer subsystem allows functions to be scheduled for later
* execution. Each timer object is used to cause one function to
* be executed at a later time.
*
* Timer callback functions are called in interrupt context.
*
* @{
*/
#... |
/* express-lite - v0.0.0 - 2015-10-24 */
/*!
* jQuery JavaScript Library v2.1.4
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2015-04-28T16:01Z
... |
using System.Collections.Generic;
namespace UptimeCalculator
{
public class UptimeData
{
public IEnumerable<Interval> Downtimes { get; set; }
public IEnumerable<Interval> Exclusions { get; set; }
public IEnumerable<RecurringTimeFrame> BusinessHours { get; set; }
}
}
|
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
require 'prime'
require 'colorize'
require 'method_source'
require 'pry'
require 'graph'
require 'collatz/version'
require 'collatz/tco'
require 'collatz/sequence'
require 'collatz/graph'
require 'collatz/helpers'
module Collatz
include Collatz::Helpers
end
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Admin Dashboard Page</title>
<link href="../../../framework/bootstrap/bootstrap.min.css" re... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.costmanagement;
import com.azure.core.util.Context;
/** Samples for Alerts Get. */
public final class AlertsGetSamples {
/*... |
RxJava Adapter
==============
An `Adapter` for adapting [RxJava 1.x][1] types.
Available types:
* `Observable<T>`, `Observable<Response<T>>`, and `Observable<Result<T>>` where `T` is the body type.
* `Single<T>`, `Single<Response<T>>`, and `Single<Result<T>>` where `T` is the body type.
* `Completable` where res... |
package org.apache.geode.management.internal.cli.util;
import static org.apache.geode.internal.Assert.assertNotNull;
import java.io.FileNotFoundException;
import java.util.EmptyStackException;
import java.util.Stack;
import org.apache.commons.lang3.JavaVersion;
import org.apache.geode.GemFireException;
import org.... |
import matplotlib as mpl
import numpy as np
import matplotlib.pyplot as plt
import os
#Use this to clear the command history in windows, e.g clear()
clear=lambda: os.system('cls')
#Defining function
def logistics(x0,A,n=100):
'''Iterates through the logistic equation and gives x iteratively'''
global x,y... |
package ssa
import (
"cmd/compile/internal/types"
"fmt"
)
// an edgeMem records a backedge, together with the memory
// phi functions at the target of the backedge that must
// be updated when a rescheduling check replaces the backedge.
type edgeMem struct {
e Edge
m *Value // phi for memory at dest of e
}
// a ... |
/*
coded by Jongwhan Lee
leejw51@gmail.com
@2016 Bumblebee
*/
using System;
using System.Threading;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
namespace VirtualChat
{
public class Worker<T> where T: class
{
public Thread thread;
public bool finish;
public Queue<T> queu... |
/**
* Feature track that draws features using HTML5 canvas elements.
*/
define( "JBrowse/View/Track/CanvasFeatures", [
'dojo/_base/declare',
'dojo/_base/array',
'dojo/dom-construct',
'dojo/dom-geometry',
'dojo/Deferred',
'dojo/on',
'... |
FROM balenalib/jetson-tx2-nx-devkit-debian:sid-build
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# key 63C7CC90: public key "Simon ... |
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses... |
using System;
namespace FSoft.WordApp.Core.Models
{
public class Author
{
public int id { get; set; }
public string slug { get; set; }
public string name { get; set; }
public string first_name { get; set; }
public string last_name { get; set; }
public string nickname { get; set; }
public string url { ... |
package dalvik.annotation;
public @interface BrokenTest
{
// Methods
public java.lang.String value();
}
|
module AppPerfRpm
module Tracing
module TraceId
TRACE_ID_UPPER_BOUND = 2 ** 64
def self.generate
rand(TRACE_ID_UPPER_BOUND).to_s(16)
end
end
end
end
|
package com.test.nn;
import java.util.List;
import java.util.Map;
public interface Neuron {
void updateOutput();
void updateDelta(double delta);
double getDeltaValue();
void updateFreeParams();
void addForwardConnection(Neuron neuron);
List<Neuron> getForwardConnections();
void addAxon(Neu... |
import { Node } from './node'
import { AliasPredication } from '../predications'
import { Expressions } from '../expressions'
import { include } from '../../meta'
@include(Expressions, AliasPredication)
class SqlLiteral extends Node {
constructor(string) {
super()
this.string = string
}
toString() {
... |
aliases:
- /engine/reference/commandline/daemon/
description: The daemon command description and usage
keywords:
- container, daemon, runtime
menu:
main:
parent: smn_cli
weight: -1
title: dockerd
---
# daemon
```markdown
Usage: dockerd [OPTIONS]
A self-sufficient runtime for containers.
Options:
--... |
<Type Name="CCGraphicsResource" FullName="CocosSharp.CCGraphicsResource">
<TypeSignature Language="C#" Value="public class CCGraphicsResource : IDisposable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit CCGraphicsResource extends System.Object implements class System.IDisposable"... |
/**
* Connected Vision - https://github.com/ConnectedVision
* MIT License
*/
#ifndef ConnectedVision_Thread_def
#define ConnectedVision_Thread_def
#include <queue>
#include <map>
#include <stdexcept>
#include <boost/chrono.hpp>
#include <boost/chrono/duration.hpp>
#include <boost/thread/thread.hpp>
#include <boost/th... |
// Copyright 2006-2008 the V8 project authors. 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 the above copyright
// notice, th... |
require 'test_helper'
class LitleTest < Test::Unit::TestCase
include CommStub
def setup
Base.mode = :test
@gateway = LitleGateway.new(
login: 'login',
password: 'password',
merchant_id: 'merchant_id'
)
@credit_card = credit_card
@decrypted_apple_pay = ActiveMerchant::Billin... |
// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved.
// 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 full license information.
using System;
using System.IO;... |
<!doctype html>
<html ng-app="myapp">
<head>
<title>directive</title>
<style type="text/css">
.strike {
text-decoration: line-through;
}
.bold {
font-weight: bold;
}
.red {
color: red;
}
</style>
<script src="/learn-angular/app/bower_components/angular/angular.js"></script>
<sc... |
<!doctype html>
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
<head>
{% include head.html %}
{% include head/custom.html %}
</head>
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes ... |
export const getRouter = (state) => state.router;
export const getText = (state) => state.text;
export const getCount = (state) => state.count;
|
import google.api_core.grpc_helpers
import google.api_core.operations_v1
from google.cloud.videointelligence_v1beta1.proto import video_intelligence_pb2_grpc
class VideoIntelligenceServiceGrpcTransport(object):
"""gRPC transport class providing stubs for
google.cloud.videointelligence.v1beta1 VideoIntelligen... |
package org.ws4d.coap.tools;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
public class TimeoutHashMap<K, V> extends HashMap<Object, Object>{
private static final long serialVersionUID = 4987370276778256858L... |
using CoreML;
using CoreVideo;
namespace BuildIt.ML
{
public class ImageFeatureValue : FeatureValue<CVPixelBuffer>
{
public override MLFeatureType Type => MLFeatureType.Image;
}
} |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_m... |
/* (C) 2015 Cybozu. All rights reserved. */
#include <assert.h>
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
#include <ngx_event_connect.h>
#include <ngx_event_maxconn.h>
#define NGX_EVENT_MAXCONN_BUCKET_SIZE 257
typedef struct ngx_event_maxconn_ctx_s ngx_event_maxconn_ctx_t;
typedef struc... |
// SPDX-License-Identifier: Apache-2.0
// Copyright Authors of Cilium
package ipcache
import (
"context"
"net"
"net/netip"
"time"
"github.com/sirupsen/logrus"
"github.com/cilium/cilium/pkg/controller"
"github.com/cilium/cilium/pkg/identity"
"github.com/cilium/cilium/pkg/identity/cache"
ipcacheTypes "github... |
"use strict";
var _fs = _interopRequireDefault(require("fs"));
var _path = _interopRequireDefault(require("path"));
var _debug = _interopRequireDefault(require("debug"));
var _dargs = _interopRequireDefault(require("dargs"));
var _Context = _interopRequireDefault(require("../Context"));
var _BaseCompiler = _inter... |
using System;
using System.Collections.Generic;
using IntelliMedia.Models;
using IntelliMedia.Utilities;
namespace IntelliMedia.Repositories
{
public class ActivityResponse : RestResponse
{
public List<Activity> Items { get; set; }
#region implemented abstract members of RestResponse
... |
package org.kuali.rice.krms.impl.repository;
import org.junit.Before;
import org.junit.Test;
import org.kuali.rice.krms.api.repository.type.KrmsTypeDefinition;
import org.kuali.rice.krms.api.repository.typerelation.RelationshipType;
import org.kuali.rice.krms.api.repository.typerelation.TypeTypeRelation;
import org.k... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Upda... |
project_path: /web/_project.yaml
book_path: /web/tools/_book.yaml
description: Mulailah men-debug JavaScript dengan menggunakan Chrome DevTools dalam tutorial interaktif ini.
{# wf_updated_on: 2017-07-12 #}
{# wf_published_on: 2017-01-04 #}
<style>
.devtools-inline {
max-height: 1em;
vertical-align: middle;
}
</s... |
// Decompiled with JetBrains decompiler
// Type: LinqToWiki.Generated.Entities.allusersOrderBy
// Assembly: LinqToWiki.Generated, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: A4304DCD-2C3F-4D9F-B552-69913FDA3067
// Assembly location: D:\work\my\AsoiafWikiDb\AsoiafWikiDb\bin\LinqToWiki.Generated.d... |
package io.udash.web.guide.views.bootstrapping
import io.udash._
import io.udash.css.CssView
import io.udash.web.guide.styles.partials.GuideStyles
import io.udash.web.guide.{Context, _}
import scalatags.JsDom
case object BootstrappingSbtViewFactory extends StaticViewFactory[BootstrappingSbtState.type](() => new Boots... |
require 'test_helper'
# SimpleJsonApi
module SimpleJsonApi
describe 'IncludeListTest' do
it 'should parse string include list' do
il = IncludeList.new('todos,projects').parse
expected = {
todos: {
include: true
},
projects: {
include: true
}
}... |
package com.github.suzuki0keiichi.nomorescript.trees
case class NoMoreScriptInstanceOf(target: NoMoreScriptTree, typeName: String) extends NoMoreScriptTree {
override def toJs(terminate: Boolean) = Util.addLast(target.toJs(false), " instanceof " + typeName + (if (terminate) { ";" } else { "" }))
} |
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item android:title="Search"
android:icon="@drawable/ic_search_white_24dp"
android:id="@+id/action_search"
app:showAsAction="ifRoom... |
from typing import Optional
import cv2
from pymba import Frame
# todo add more colours
PIXEL_FORMATS_CONVERSIONS = {
'BayerRG8': cv2.COLOR_BAYER_RG2RGB,
}
def display_frame(frame: Frame, delay: Optional[int] = 1) -> None:
"""
Displays the acquired frame.
:param frame: The frame object to display.
... |
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Text;
using System.Reflection;
using Passado.Model;
using Passado.Model.Table;
using Passado.Error;
namespace Passado.Query.Internal
{
public abstract class SelectQue... |
define(["npm:aurelia-dependency-injection@1.0.0/aurelia-dependency-injection"], function(main) {
return main;
}); |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 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.
[assembly: AssemblyTitle("Re... |
package org.spongepowered.common.registry;
import org.spongepowered.api.util.annotation.CatalogedBy;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.LinkedHashSet;
im... |
@interface MartinAppDelegate() <NSApplicationDelegate, NSWindowDelegate>
@property (nonatomic, strong) IBOutlet NSProgressIndicator *martinBusyIndicator;
@property (nonatomic, strong) IBOutlet NSBox *middleControlsView;
@property (nonatomic, strong) IBOutlet NSBox *rightControlsView;
@property (nonatomic, strong) IBOu... |
<Alloy>
<Window class="container">
<View id="view_header">
</View>
<View id="view_body">
<View id="imagen">
<Button id="turipan"></Button>
<Button id="flor"></Button>
<Button id="unihue"></Button>
</View>
<View id="view_body_right">
<ImageView id="image_turipan"></ImageView>
<Ima... |
import os
import string
import sys
import time
from pkg_resources import parse_version
from superflore import __version__
from superflore.exceptions import UnknownPlatform
from superflore.exceptions import UnresolvedDependency
from superflore.TempfileManager import TempfileManager
from superflore.utils import clean_up... |
static FCMainModel *mainModel = nil;
@implementation FCMainModel
#pragma mark - Wrapper
#pragma mark - Life Cycle
- (instancetype)init
{
self = [super init];
if (self)
{
}
return self;
}
#pragma mark - Public Method
+ (FCMainModel *)shareInstance
{
@synchronized(self)
{
... |
package main
import (
"fmt"
"github.com/dballard/warren/lib/warren"
"os"
)
var BuildGitHash string
var BuildGitBranch string
var BuildDate string
var usagePrefix = `warren is a tool for building, deploying and running multiple versions of a Go server
Usage:
warren command [args]
`
func usage() {
fmt.Println(... |
/// <reference path="references.ts" />
interface ServerOptions {
maximum_wait?: number
}
class Server {
private server: http.Server
constructor(public port: number, public options: ServerOptions) {
this.prepare_server_options ()
this.prepare_temp_directory ()
this.server =... |
// Copyright 2015 Georg-August-Universität Göttingen, Germany
//
// 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
//
// ... |
.class public interface abstract Landroid/bluetooth/BluetoothProfile;
.super Ljava/lang/Object;
.source "BluetoothProfile.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/bluetooth/BluetoothProfile$ServiceListener;
}
.end annotation
# static fields
.field p... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
banner() {
echo "|------------------------------------------|"
echo "|----- Welcome to the redox bootstrap -----|"
echo "|------------------------------------------|"
}
osx()
{
echo "Detected OSX!"
if [ ! -z "$(which brew)" ]; then
echo "Homebrew detected! Now updating..."
brew update
if [ -z "$(which git)"... |
package get
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"fmt"
"io"
"github.com/go-openapi/runtime"
strfmt "github.com/go-openapi/strfmt"
"github.com/codedellemc/gorackhd/models"
)
// GetPollersLibraryReader is a... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null |
const vows = require('perjury')
const {assert} = vows
const request = require('request')
const debug = require('debug')('microservice:microservice-dont-log-test')
const microserviceBatch = require('./microservice-batch')
process.on('uncaughtException', err => console.error(err))
vows
.describe('dontLog middleware'... |
package com.intellij.psi.impl;
import com.intellij.codeInsight.AnnotationTargetUtil;
import com.intellij.codeInsight.AnnotationUtil;
import com.intellij.lang.ASTNode;
import com.intellij.lang.FileASTNode;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diagnostic.Logger;
import... |
@interface CFGenericParser : NSObject
-(BOOL)parse:(NSString *)text context:(CFConstraintContext *)context;
-(NSString *)regexFor:(NSString *)string;
-(float)parseMetric:(NSString *)string withContext:(CFConstraintContext *)context;
-(NSLayoutRelation)layoutRelationByString:(NSString *)string;
@property(nonatomic, c... |
package io.strimzi.api.kafka.model.template;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import io.strimzi.api.kafka.model.Constants;
import io.strimzi.api.kafka.model.UnknownPropertyPreserving;
import io.strimzi.crdgenerator.annotations.Description;... |
module CounterReporter
class Counter4BookReport
attr_reader :params
def initialize(params)
@params = params
end
# We're going to *temporarily* present a COUNTER4 BR2-ish report
# See HELIO-2386
# This report is going to work a little differently than the COUNTER5
# reports.
def... |
<!DOCTYPE html>
<html lang="en">
<head itemscope>
<title>Top News, U.S. News, International News, and Analysis - UPI.com</title>
<meta name="description" content="UPI delivers the latest headlines from around the world: Top News, Entertainment, Health, Business, Science and Sports News - United Press International" /... |
const fs = require('fs')
const path = require('path')
const Ajv = require('ajv')
const jsdom = require('jsdom')
const xjs = {
Object: require('extrajs').Object,
Node : require('extrajs-dom').Node,
DocumentFragment: require('extrajs-dom').DocumentFragment,
}
const View = require('extrajs-view')
const STATE... |
package com.amazonaws.services.clouddirectory.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.clouddirectory.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.core.JsonToken;
im... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Bolm Soc. broteriana 2: 72 (1924)
#### Original name
Phyllosticta platani-acerifoliae Gonz. Frag.
### Remarks
null |
pa_threaded_mainloop *pa_threaded_mainloop_new(void)
{
pa_mainloop *main = pa_mainloop_new();
if(main == NULL)
return NULL;
pa_threaded_mainloop *m = malloc(sizeof(pa_threaded_mainloop));
m->main = main;
m->pthread = NULL;
m->retval = 0;
return m;
}
void pa_threaded_mainloop_free(pa_threaded_mainloop *m)
{... |
<?php
/*
* This file is part of PHP CS Fixer.
*
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace PhpCsFixer\Tests\Fixer\Phpdoc;
use PhpCs... |
<!DOCTYPE html>
<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"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... |
<?php
namespace Opifer\FormBundle\Form\Type;
use Doctrine\ORM\EntityManager;
use Opifer\EavBundle\Form\Type\SchemaType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\EmailType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInte... |
using System;
using System.Collections.Generic;
using System.IO;
using Coevery.Caching;
namespace Coevery.FileSystems.AppData {
/// <summary>
/// Abstraction of App_Data folder. All virtual paths passed in or returned are relative to "~/App_Data".
/// Expected to work on physical filesystem, but decouples... |
package io.netty.handler.codec.redis;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.ByteToMessageDecoder;
import io.netty.util.ByteProcessor;
import io.netty.util.CharsetUtil;
import io.netty.util.internal.UnstableApi;
import java.util.List;
/**
* Dec... |
#include <unordered_set>
#define weaver_debug_
#include "common/weaver_constants.h"
#include "common/config_constants.h"
#include "common/message_constants.h"
#include "common/comm_wrapper.h"
#define ID_INCR (1ULL << 32ULL)
#define WEAVER_TO_BUSYBEE(x) (x+ID_INCR)
#define BUSYBEE_TO_WEAVER(x) (x-ID_INCR)
#define CL... |
package user_test
import (
"testing"
"code.gitea.io/gitea/models/db"
"code.gitea.io/gitea/models/unittest"
user_model "code.gitea.io/gitea/models/user"
"code.gitea.io/gitea/modules/util"
"github.com/stretchr/testify/assert"
)
func TestGetEmailAddresses(t *testing.T) {
assert.NoError(t, unittest.PrepareTestDa... |
#pragma once
//------------------------------------------------------------------------------
/**
@class Oryol::_priv::glInfo
@ingroup _priv
@brief dump information about the host's GL implementation
*/
#include "Core/Types.h"
#include "Gfx/gl/gl_decl.h"
namespace Oryol {
namespace _priv {
cl... |