text
stringlengths
3
1.05M
package org.elasticsearch.index.fielddata.plain; import org.apache.lucene.index.BinaryDocValues; import org.apache.lucene.index.DocValues; import org.apache.lucene.index.LeafReader; import org.apache.lucene.util.Accountable; import org.elasticsearch.index.fielddata.AtomicFieldData; import org.elasticsearch.index.fie...
var baseRandom = require('../internals/baseRandom'), isString = require('../objects/isString'), shuffle = require('./shuffle'), values = require('../objects/values'); /* Native method shortcuts for methods with the same name as other `lodash` methods */ var nativeMax = Math.max, nativeMin = Math.min; ...
<?php namespace Bazinga\Bundle\HateoasBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; /** * @author William Durand <william.durand1@gmail.com> */ class Configuration implements ConfigurationInterface { /*...
var _ = require('lodash'), validator = require('validator'); // Check if a value is empty or a valid URL. validator.isEmptyOrURL = function(url) { if (_.isEmpty(url)) return true; return validator.isURL(String(url)); }; module.exports = validator;
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Customize Columns of PropertyGrid - jQuery EasyUI Demo</title> <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="../../themes/icon.css"> <link rel="stylesheet" type="text/css" href=...
package org.apache.apex.malhar.contrib.kafka; import java.util.Properties; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import org.junit.Assert; import org.j...
#include <linux/kernel.h> #include <linux/errno.h> #include <linux/skbuff.h> #include <linux/firmware.h> #include <linux/module.h> #include <linux/acpi.h> #include <linux/platform_device.h> #include <linux/clk.h> #include <linux/gpio/consumer.h> #include <linux/tty.h> #include <linux/interrupt.h> #include <linux/dmi....
var task = function(request, callback, configuration){ var template = "helloParamterized.ejs"; var AWS = configuration.aws; var S3 = new AWS.S3(); callback(null, {template: template, params:{info:"Hello World from code!"}}); } exports.action = task;
<div id="tagsdialog"> <div class="content"> <div class="scrollarea"> <ul class="taglist"> <li><input type="checkbox" name="ids[]" id="tag_{id}" value="{name}"> <label for="tag_{id}">{name}</label> </li> </ul> </div> <div class="bottombuttons"> <input type="text" class="addinput" name="tag" ...
class Renderer; class GameState { friend class Renderer; public: GameState(); ~GameState(); void Update(std::chrono::milliseconds delta_time); };
/* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32F1xx_HAL_IRDA_H #define __STM32F1xx_HAL_IRDA_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "stm32f1xx_hal_def.h" /** @addtogroup STM3...
require 'test_helper' class SoEasyPayTest < Test::Unit::TestCase def setup @gateway = SoEasyPayGateway.new( :login => 'login', :password => 'password' ) @credit_card = credit_card @amount = 100 @options = { :order_id => '1', :billing_addr...
verbose = $VERBOSE $VERBOSE = nil class Model < ActiveModelSerializers::Model FILE_DIGEST = Digest::MD5.hexdigest(File.open(__FILE__).read) ### Helper methods, not required to be serializable # Convenience when not adding @attributes readers and writers def method_missing(meth, *args) if meth.to_s =~ /^(....
package kafka.server import kafka.cluster.BrokerEndPoint import kafka.utils.{Pool, ShutdownableThread} import kafka.consumer.{PartitionTopicInfo, SimpleConsumer} import kafka.api.{FetchRequest, FetchResponse, FetchResponsePartitionData, FetchRequestBuilder} import kafka.common.{KafkaException, ClientIdAndBroker, Top...
var actRule, // actual Rule, which is edited dataJson = {}, // JSON of data of attributes binJson = {}, // JSON of all bins in knowledge base //TODO remove? edited = false, // boolean if the rule was changed or not forJson = {}, // JSON of formats //TODO remove? changedFormats = [], /...
/** 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 text...
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=800"> <style> html { font-size: 16px; } body { width: 800px; margin: 0; overflow-y: hidden; } </style> <script src="resources/autosizingTest.js"></script> </head> <body> <div style="line-height: 1em"> When this text is autosized to 40px, the line h...
require 'spec_helper' RSpec.describe Gitlab::GithubImport::Importer::ReleasesImporter do let(:project) { create(:project) } let(:client) { double(:client) } let(:importer) { described_class.new(project, client) } let(:github_release_name) { 'Initial Release' } let(:created_at) { Time.new(2017, 1, 1, 12, 00) ...
package unversioned import ( "bytes" "crypto/tls" "encoding/base64" "errors" "io" "io/ioutil" "net/http" "net/http/httptest" "net/url" "os" "reflect" "strings" "testing" "time" "k8s.io/kubernetes/pkg/api" apierrors "k8s.io/kubernetes/pkg/api/errors" "k8s.io/kubernetes/pkg/api/latest" "k8s.io/kuber...
import sys from abc import ABCMeta from datetime import timedelta from py4j.java_gateway import get_java_class from pyflink.java_gateway import get_gateway from pyflink.util.utils import to_j_flink_time, from_j_flink_time __all__ = ['RestartStrategies', 'RestartStrategyConfiguration'] if sys.version >= '3': lon...
package org.apache.xbean.spring.jndi; import javax.naming.CompositeName; import javax.naming.Name; import javax.naming.NameParser; import javax.naming.NamingException; /** * A default implementation of {@link NameParser} * * @version $Revision: 1.2 $ */ public class NameParserImpl implements NameParser { pu...
<?xml version="1.0" encoding="UTF-8"?> <!-- 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 this file to You under the Apache Lic...
var result = (function outer() { with ({}) { } var x = 10; function inner() { return x; }; return inner(); })(); assertEquals(10, result);
<?xml version="1.0" encoding="UTF-8"?> <!-- 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 this file to you under the ...
from sys import stdout from time import clock """progressbar.py: A simple progress bar api. Code is forked from pytube repository URL: https://github.com/nficano/pytube """ def sizeof(bytes): """Takes the size of file or folder in bytes and returns size formatted in KB, MB, GB, TB or PB....
#include "caleclient.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <arpa/inet.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <pthread.h> #include <gio/gio.h> #include "camutex.h" #include "uarraylist.h" #include "caqueueingthread.h" #include "caadapteruti...
<?php namespace Symfony\Component\Validator\Tests\Constraints; use Symfony\Component\Validator\Constraints\NotNull; use Symfony\Component\Validator\Constraints\NotNullValidator; use Symfony\Component\Validator\Validation; class NotNullValidatorTest extends AbstractConstraintValidatorTest { protected function g...
package org.sakaibrary.osid.repository.xserver; import lombok.extern.slf4j.Slf4j; @Slf4j public class OpenUrlPartStructure implements org.osid.repository.PartStructure { private org.osid.shared.Id OPENURL_PART_STRUCTURE_ID = null; private org.osid.shared.Type type = new Type( "sakaibrary", "partStructure", ...
package org.immutables.generator.fixture; import com.google.common.collect.ImmutableList; import java.util.List; import org.immutables.generator.AbstractTemplate; import org.immutables.generator.Generator; @Generator.Template public class ForComprehencer extends AbstractTemplate { public final List<Integer> points...
namespace { typedef std::vector<SessionCommand*> SessionCommands; struct TestData { SessionCommand::id_type command_id; std::string data; }; SessionCommand* CreateCommandFromData(const TestData& data) { SessionCommand* command = new SessionCommand( data.command_id, static_cast<Session...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Toolbar and Buttons - jQuery EasyUI Demo</title> <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="../../themes/icon.css"> <link rel="stylesheet" type="text/css" href="../demo.css">...
package org.elasticsearch.transport.nio.channel; import java.io.IOException; public interface ReadContext { int read() throws IOException; }
<?php namespace Symfony\Component\DependencyInjection\Tests\Compiler; use PHPUnit\Framework\TestCase; use Symfony\Component\DependencyInjection\Compiler\CheckDefinitionValidityPass; use Symfony\Component\DependencyInjection\ContainerBuilder; class CheckDefinitionValidityPassTest extends TestCase { /** * @...
Clazz.declarePackage ("J.awtjs"); c$ = Clazz.declareType (J.awtjs, "JSFont"); c$.newFont = Clazz.defineMethod (c$, "newFont", function (fontFace, isBold, isItalic, fontSize) { return null; }, "~S,~B,~B,~N"); c$.getFontMetrics = Clazz.defineMethod (c$, "getFontMetrics", function (graphics, font) { return null;...
layout: page title: About permalink: /about/ feature-img: img/sample_feature_img_2.png published: true --- ## Who Are We We are a Online social networking support community for everyone affected by a bleeding disorder a community of members, supporters and healthcare professionals. ## What We Do We help people with bl...
package volumeclaimbinder import ( "fmt" "sort" "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/pkg/api/resource" "k8s.io/kubernetes/pkg/client/cache" ) // persistentVolumeOrderedIndex is a cache.Store that keeps persistent volumes indexed by AccessModes and ordered by storage capacity. type persistentVolumeOr...
package org.apache.jena.hadoop.rdf.mapreduce; import java.io.IOException; import org.apache.hadoop.io.NullWritable; import org.apache.hadoop.mapreduce.Mapper; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * A mapper which discards the key replacing it with the value and nulls out the value * ...
This example contains two text boxes. Input JSON into the left one, and have it reformatted into the right one when you hit Enter.
var Immutable = require("immutable"); module.exports.init = function (ui, bs) { var optPath = ["remote-debug", "compression"]; ui.setOptionIn(optPath, Immutable.Map({ name: "compression", title: "Compression", active: false, tagline: "Add Gzip Compression to all responses" ...
var foo = __dirname; console.log(foo);
package org.apache.beam.runners.direct; import static com.google.common.base.Preconditions.checkArgument; import org.joda.time.Duration; import org.joda.time.Instant; /** * A clock that returns a constant value for now which can be set with calls to {@link * #set(Instant)}. * * <p>For uses of the {@link Clock} ...
//>>built define("dojo/cldr/nls/en/number",{"group":",","percentSign":"%","exponential":"E","scientificFormat":"#E0","percentFormat":"#,##0%","list":";","infinity":"∞","patternDigit":"#","minusSign":"-","decimal":".","nan":"NaN","nativeZeroDigit":"0","perMille":"‰","decimalFormat":"#,##0.###","currencyFormat":"¤#,##0...
// Code generated by client-gen. DO NOT EDIT. package fake import ( rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" internalversion "k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset/typed/authentication/internalversion" ) type FakeAuthentication struct { *testing.Fake } func ...
<?php namespace Symfony\Component\Validator\Constraints; use Symfony\Component\Validator\Constraint; use Symfony\Component\Validator\ConstraintValidator; use Symfony\Component\Validator\Exception\UnexpectedTypeException; /** * Validates whether a value is a valid country code * * @author Bernhard Schussek <bern...
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. ~ ~ WSO2 Inc. licenses this file to you 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 co...
package com.intellij.refactoring.ui; import com.intellij.openapi.editor.Document; import com.intellij.openapi.fileTypes.FileType; import com.intellij.openapi.fileTypes.InternalStdFileTypes; import com.intellij.openapi.project.Project; import com.intellij.psi.PsiCodeFragment; import com.intellij.psi.PsiDocumentManager...
pub fn bf_is_page_aligned(addr: u64) -> bool { const MASK: u64 = cmake::HYPERVISOR_PAGE_SIZE - 1; return (addr & MASK) == 0; } #[cfg(test)] mod test_bf_is_page_aligned { #[test] fn test_bf_is_page_aligned() { let addr: u64 = 0x1234567890ABCDEF; assert!(!super::bf_is_page_aligned(addr));...
<?php namespace Oro\Bundle\NavigationBundle\Tests\Unit\Menu\Matcher\Voter; use Symfony\Component\HttpFoundation\Request; use Oro\Bundle\NavigationBundle\Menu\Matcher\Voter\RoutePatternVoter; class RoutePatternVoterTest extends \PHPUnit_Framework_TestCase { public function testMatchingWithoutRequest() { ...
package org.springframework.boot.autoconfigure.data.neo4j; import java.util.Set; import org.neo4j.driver.Driver; import org.springframework.beans.factory.ObjectProvider; import org.springframework.boot.autoconfigure.AutoConfiguration; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import or...
'use strict'; // Queue // ===== // // Queue is a queue prototype. If you don't know what a queue is, you probably // haven't taken any sort of beginning programming class or data structures // class. You should do that, but basically it's an array that allows you to // put stuff in the queue, and take stuff out. First...
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>Telegram Web Client</title> <meta name="description" content="Telegram Web Client"> <meta name="author" content="Johan Egneblad"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-...
<html> <header> <title> FreeType&nbsp;2 Project Files for Visual&nbsp;C++ and VS.NET&nbsp;2005 </title> <body> <h1> FreeType&nbsp;2 Project Files for Visual&nbsp;C++ and VS.NET&nbsp;2005 </h1> <p>This directory contains project files for Visual C++, named <tt>freetype.dsp</tt>, and Visual Studio, called <tt>freet...
package com.opengamma.analytics.financial.interestrate.bond.definition; import com.opengamma.analytics.financial.interestrate.InstrumentDerivativeVisitor; import com.opengamma.analytics.financial.interestrate.payments.derivative.Coupon; import com.opengamma.analytics.financial.interestrate.payments.derivative.Payment...
/** * @requires OpenLayers/Layer/Grid.js * @requires OpenLayers/Tile/Image.js */ /** * Class: OpenLayers.Layer.WMTS * Instances of the WMTS class allow viewing of tiles from a service that * implements the OGC WMTS specification version 1.0.0. * * Inherits from: * - <OpenLayers.Layer.Grid> */ OpenLa...
#import <UIKit/UIKit.h> #import "AuthProviders.h" NS_ASSUME_NONNULL_BEGIN /** @class GoogleAuthProvider @brief The implementation for Google auth provider related methods. */ @interface GoogleAuthProvider : NSObject <AuthProvider> @end NS_ASSUME_NONNULL_END
<?php defined('C5_EXECUTE') or die("Access Denied."); class FileSetPermissionAccess extends Concrete5_Model_FileSetPermissionAccess { }
<?xml version="1.0" encoding="UTF-8"?> <!-- This file is part of the Sylius package. (c) Paweł Jędrzejewski For the full copyright and license information, please view the LICENSE file that was distributed with this source code. --> <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-map...
<?php /* @WebProfiler/Profiler/base_js.html.twig */ class __TwigTemplate_2b2070dda0c5fbf649bb193a39aa626edc243e7793c5743a39cf95bb277ed30b extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = arra...
```eval_rst .. currentmodule:: mxnet.gluon ``` <script type="text/javascript" src='../../_static/js/auto_module_index.js'></script> ## Overview Gluon package is a high-level interface for MXNet designed to be easy to use while keeping most of the flexibility of low level API. Gluon supports both imperative and symbo...
package com.google.training.appdev.services.gcp.domain; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonRootName; import org.springframework.web.multipart.MultipartFile; @JsonRootName(value = "questions") public class Question { private String quiz; private S...
[![Gem Version](https://badge.fury.io/rb/page-object-pal.png)](http://badge.fury.io/rb/page-object-pal) PageObjectPal keeps an eye on your [page-object](https://github.com/cheezy/page-object) classes, alerting you to outdated element information. Unit test your page classes with PageObjectPal, and don't wait for your ...
package basicauth import ( "encoding/base64" "errors" "net/http" "strings" "k8s.io/kubernetes/pkg/auth/authenticator" "k8s.io/kubernetes/pkg/auth/user" ) // Authenticator authenticates requests using basic auth type Authenticator struct { auth authenticator.Password } // New returns a request authenticator...
WebInspector.ConsolePanel = function() { WebInspector.Panel.call(this, "console"); } WebInspector.ConsolePanel.prototype = { get toolbarItemLabel() { return WebInspector.UIString("Console"); }, show: function() { WebInspector.Panel.prototype.show.call(this); this._pr...
<!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 (version 1.6.0_18) on Thu Dec 18 17:18:26 PST 2014 --> <title>java.beans.beancontext Class Hierarchy (Java Platform SE 7 )</title> <meta name="date" c...
<!DOCTYPE html> <html> <!-- Copyright 2008 The Closure Library Authors. All Rights Reserved. Use of this source code is governed by the Apache License, Version 2.0. See the COPYING file for details. --> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta charset="UTF-8" /> <title> Closure Un...
namespace content { using webcrypto::Status; namespace { // --------------------- // Threading // --------------------- // // WebCrypto operations can be slow. For instance generating an RSA key can // take hundreds of milliseconds to several seconds. // // Moreover the underlying crypto libraries are not threadsafe...
#include "config.h" #if ENABLE(WEB_AUDIO) #include "HRTFPanner.h" #include "AudioBus.h" #include "FFTConvolver.h" #include "HRTFDatabase.h" #include "HRTFDatabaseLoader.h" #include <algorithm> #include <wtf/MathExtras.h> #include <wtf/RefPtr.h> using namespace std; namespace WebCore { // The value of 2 millisec...
package nl.nn.adapterframework.extensions.ifsa.ejb; import com.ing.ifsa.api.FireForgetService; import javax.ejb.EJBLocalObject; /** * * @author Tim van der Leeuw * @version $Id$ */ public interface IfsaFFSessionBeanLocal extends FireForgetService, EJBLocalObject { }
using System.Collections.Generic; using Orchard.Packaging.Models; namespace Orchard.Packaging.ViewModels { public class PackagingExtensionsViewModel { public IEnumerable<PackagingEntry> Extensions { get; set; } public IEnumerable<PackagingSource> Sources { get; set; } public PackagingExtens...
cask :v1 => 'retas-studio' do version '6.6.0' sha256 '387d299ac77dad4a4116605e492e7c69614c463cde2ce5df439caaa55c9befb5' # clip-studio.com is the official download host per the vendor homepage url "http://www.clip-studio.com/clip_site/rental/rental_download/rsrental/dl?f=lib/retasstudio/data/#{version.gsub('.',...
<!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"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
<?php namespace Orbt\StyleMirror\Tests\Css; use Orbt\StyleMirror\Css\StyleAggregate; use Orbt\ResourceMirror\Resource\LocalResource; use Symfony\Component\EventDispatcher\EventDispatcher; use Orbt\ResourceMirror\ResourceMirror; class StyleAggregateTest extends \PHPUnit_Framework_TestCase { /** * A style agg...
package embedlitmethcall type T int func (T) m() int { _ = x return 0 } type E struct{ T } var x = E{}.m() // ERROR "initialization loop|depends upon itself"
function srcToCSSP(s, rule, _needInfo) { var TokenType = { StringSQ: 'StringSQ', StringDQ: 'StringDQ', CommentML: 'CommentML', CommentSL: 'CommentSL', Newline: 'Newline', Space: 'Space', Tab: 'Tab', ExclamationMark: 'ExclamationMark', // ! QuotationMark: 'QuotationMark', ...
using System; using System.Text; using System.Diagnostics; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; internal static partial class Interop { internal static partial class Crypt32 { [StructLayout(LayoutKind.Sequential)] internal unsafe struct CMSG_ENVELOPED_ENCODE...
"""C++ keywords and helper utilities for determining keywords.""" __author__ = 'nnorwitz@google.com (Neal Norwitz)' try: # Python 3.x import builtins except ImportError: # Python 2.x import __builtin__ as builtins if not hasattr(builtins, 'set'): # Nominal support for Python 2.3. from sets ...
package com.okta.tools.authentication; import com.okta.tools.OktaAwsCliEnvironment; import com.okta.tools.models.AuthResult; import org.apache.http.HttpStatus; import org.json.JSONObject; import java.io.IOException; import java.util.logging.Logger; import java.util.stream.Stream; public final class OktaAuthenticati...
workdir=`pwd` user_name=`whoami` reponame=incubator-madlib echo "======================================================================" echo "Build user: $user_name" echo "Work directory: $workdir" echo "Git reponame: $reponame" echo "----------------------------------------------------------------------" echo "ls -l...
from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('wagtailcore', '0032_add_bulk_delete_page_permission'), ('profiles', '0017_userprofile_migrated_username'), ] operations = [ migrations.AddFi...
<!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.5.0_22) on Wed Apr 03 10:03:18 GMT-03:00 2013 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> Uses of Class opennlp.tools...
param($installPath, $toolsPath, $package, $project) $projectFolder = Split-Path -parent $project.FileName Remove-Item -Path (Join-Path $projectFolder "layouts\debug") -Force -Recurse Remove-Item -Path (Join-Path $projectFolder "sitecore\shell\Applications\debug") -Force -Recurse Remove-Item -Path (Join-Path $projectF...
license: > 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 this file to you under the Apache License, Version 2.0 (the "L...
package raven import ( "reflect" "regexp" ) var errorMsgPattern = regexp.MustCompile(`\A(\w+): (.+)\z`) // http://sentry.readthedocs.org/en/latest/developer/interfaces/index.html#sentry.interfaces.Exception type Exception struct { // Required Value string `json:"value"` // Optional Type string `jso...
var path = require('path'); var os = require('os'); var fs = require('fs-extra'); var cp = require('child_process'); var exec = cp.exec; var sqawn = cp.sqawn; var required_file_win_linux = fs.readdirSync(path.dirname(process.execPath)); var required_file_win = required_file_win_linux; var required_file_linux = require...
// // MPMessagePackServer.m // MPMessagePack // // Created by Gabriel on 12/13/14. // Copyright (c) 2014 Gabriel Handford. All rights reserved. // #import "MPMessagePackServer.h" #import "MPMessagePackClient.h" #include <sys/socket.h> #include <netinet/in.h> #include <sys/un.h> #include <unistd.h> NSString *con...
/* */ module.exports = { "default": require("core-js/library"), __esModule: true };
<p> <img width="400" src="https://computersciencewiki.org/images/c/c6/Directed_graph.png" /> </p> ## Graph [![Build Status](https://travis-ci.org/HQarroum/directed-graph.svg?branch=master)](https://travis-ci.org/HQarroum/directed-graph) [![CodeFactor](https://www.codefactor.io/repository/github/hqarroum/directed-gra...
class Scalariform < Formula homepage "https://github.com/daniel-trinh/scalariform" url "https://github.com/daniel-trinh/scalariform/releases/download/0.1.6/scalariform.jar" sha256 "346276c5f3a25a44d64ed38f43739813933487299a651f7c64db748427641c54" head do url "https://github.com/daniel-trinh/scalariform.git...
package org.elasticsearch.cluster.routing.allocation; import org.elasticsearch.Version; import org.elasticsearch.cluster.ClusterName; import org.elasticsearch.cluster.ClusterState; import org.elasticsearch.cluster.ESAllocationTestCase; import org.elasticsearch.cluster.metadata.IndexMetaData; import org.elasticsearch....
test: @node node_modules/lab/bin/lab test-cov: @node node_modules/lab/bin/lab -t 100 -m 3000 test-cov-html: @node node_modules/lab/bin/lab -r html -o coverage.html .PHONY: test test-cov test-cov-html
import { module, test, expect } from '../qunit'; import moment from '../../moment'; module('to type'); test('toObject', function (assert) { var expected = { years:2010, months:3, date:5, hours:15, minutes:10, seconds:3, milliseconds:123 }; assert.dee...
class Framework; namespace storage { class Storage; class ActiveMapsLayout { public: enum class TGroup { ENewMap = 0, EOutOfDate = 1, EUpToDate = 2, EGroupCount = 3 }; class ActiveMapsListener { public: /// if some country been inserted than oldGroup == newGroup, and oldPosition == -1...
module RSpec module Mocks # @private module InstanceExec unless respond_to?(:instance_exec) # @private # # based on Bounded Spec InstanceExec (Mauricio Fernandez) # http://eigenclass.org/hiki/bounded+space+instance_exec # - uses singleton_class of matcher instead ...
(function(addon) { var component; if (window.UIkit) { component = addon(UIkit); } if (typeof define == "function" && define.amd) { define("uikit-form-select", ["uikit"], function(){ return component || addon(UIkit); }); } })(function(UI){ "use strict"; ...
import "foo"; import {foo} from "foo"; import {foo as bar} from "foo"; import { foo as bar, test as testing, logging } from "foo";
/* This file was generated by SableCC's ObjectMacro. */ package org.sablecc.sablecc.codegeneration.java.macro; public class MAlternatedListConstructorParameter { private final String pLeftListType; private final String pRightListType; private final String pElementName; private final MAlternatedLis...
/* crypto/des/cbc3_enc.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and no...
package org.apache.flink.streaming.connectors.kafka.testutils; import org.apache.flink.api.common.JobID; import org.apache.flink.runtime.client.JobStatusMessage; import org.apache.flink.runtime.instance.ActorGateway; import org.apache.flink.runtime.messages.JobManagerMessages; import java.util.List; import java.uti...
package org.wso2.carbon.apacheds.impl; import org.apache.axiom.om.util.Base64; import org.apache.directory.server.core.CoreSession; import org.apache.directory.server.core.DirectoryService; import org.apache.directory.server.core.LdapPrincipal; import org.apache.directory.server.core.factory.DirectoryServiceFactory;...
package com.eprops.eprops.util; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; import java.io.IOException; import java.io.StringReader; import java.util.Properties; @Service @Slf4j public class SshResultToPropertyFile { public Properties createPropertyFile(String result) { ...