text stringlengths 2 99.9k | meta dict |
|---|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Aardvark.Base
{
public static partial class SequenceExtensions
{
//# Action<Action<int>, Func<string, string>> F = (o, f) => { Filter = f; o(0); Filter = null; };
//# foreach (var t in Meta.Standard... | {
"pile_set_name": "Github"
} |
unit Tests.Data;
interface
const
CJSonBasicInfo = 'BasicInfo';
CJSonEmptyJSon = 'EmptyJSon';
CJSonInvalidJSon = 'InvalidJSon';
CJSonInstallSearchPath = 'InstallSearchPath';
CJsonInstallBrowsingPath = 'InstallBrowsingPath';
CJSonInstallProject = 'InstallProject';
CJSonInstallProjectGroup = 'InstallProjec... | {
"pile_set_name": "Github"
} |
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
*
* Copyright (C) 2002-2011, International Business Machines
* Corporation and others. All Rights Reserved.
*
**********... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
#include "blingfire-compile_src_pch.h"
#include "FAConfig.h"
#include "FASetUtils.h"
#include "FAUtils.h"
namespace BlingFire
{
FASetUtils::FASetUtils (FAAllocatorA * pAlloc) :
m_pAlloc (pAll... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="app_name" msgid="8288271429327488421">"OsuLogin"</string>
<string name="action_bar_label" msgid="550995560341508693">"Onlajn registr... | {
"pile_set_name": "Github"
} |
/*
Copyright 2018 The Kubernetes Authors.
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, ... | {
"pile_set_name": "Github"
} |
package com.gentics.mesh.core.data.node.field.list;
import java.util.List;
import com.gentics.mesh.context.InternalActionContext;
import com.gentics.mesh.core.data.MeshVertex;
import com.gentics.mesh.core.data.node.field.nesting.ListableGraphField;
import com.gentics.mesh.core.data.node.field.nesting.MicroschemaLista... | {
"pile_set_name": "Github"
} |
/*
* 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 t... | {
"pile_set_name": "Github"
} |
#!./perl
sub BEGIN {
unshift @INC, 't';
unshift @INC, 't/compat' if $] < 5.006002;
require Config; import Config;
if ($ENV{PERL_CORE} and $Config{'extensions'} !~ /\bStorable\b/) {
print "1..0 # Skip: Storable was not built\n";
exit 0;
}
}
use Storable ();
use Test::More tests => 3... | {
"pile_set_name": "Github"
} |
/******************************************************************************
* Copyright (c) Intel Corporation - All rights reserved. *
* This file is part of the LIBXSMM library. *
* *
... | {
"pile_set_name": "Github"
} |
<service>
<id>helloworld.exe</id>
<name>Hello World</name>
<description>The nodejs.org example web server.</description>
<executable>C:\Program Files\nodejs\node.exe</executable>
<logmode>rotate</logmode>
<argument>-c config.json</argument>
<argument>C:\Users\anilCSE\Desktop\sevi\node_modules\node-windows\lib\wr... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<phpunit bootstrap="./tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnFailure="false">
<testsuites>
<testsuite name="LHS Yii2 Sav... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* slotmap.h
*
* description here
*
* Copyright (C) 2002, 2004 Oracle. All rights reserved.
*/
#ifndef SLOTMAP_H
#define SLOTMAP_H
int ocfs2_init_slot_info(struct ocfs2_super *osb);
vo... | {
"pile_set_name": "Github"
} |
<?php
/**
* PageModule основной класс модуля page
*
* @author yupe team <team@yupe.ru>
* @link https://yupe.ru
* @copyright 2009-2015 amyLabs && Yupe! team
* @package yupe.modules.page
* @since 0.1
*
*/
class PageModule extends yupe\components\WebModule
{
/**
*
*/
const VERSION = '1.3';
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2007, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | {
"pile_set_name": "Github"
} |
#!/usr/bin/bash
_vboxmanage_realopts() {
echo $(vboxmanage|grep -i vboxmanage|cut -d' ' -f2|grep '\['|tr -s '[\[\|\]\n' ' ')
echo " "
}
__vboxmanage_startvm() {
RUNNING=$(vboxmanage list runningvms | cut -d' ' -f1 | tr -d '"')
TOTAL=$(vboxmanage list vms | cut -d' ' -f1 | tr -d '"')
AVAILABLE=""
... | {
"pile_set_name": "Github"
} |
package net.squanchy.support.checksum
import java.io.UnsupportedEncodingException
import java.util.zip.CRC32
class Checksum {
private val crc32 = CRC32()
fun getChecksumOf(data: String): Long {
try {
crc32.update(data.toByteArray(charset("UTF-8")))
return crc32.value
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2015-2017, Intel Corporation
*
* 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,
* this list of conditions and the f... | {
"pile_set_name": "Github"
} |
/* Copyright (c) 2019, Stephane Lenclud <github@lenclud.com>
* Permission to use, copy, modify, and/or distribute this
* software for any purpose with or without fee is hereby granted,
* provided that the above copyright notice and this permission
* notice appear in all copies.
*/
#include "kinect_face_settings.... | {
"pile_set_name": "Github"
} |
package scalajsbundler
import play.api.libs.json.{JsPath, Json, Reads}
import sbt._
import scala.util.Try
case class NpmPackage(version: String) {
def major: Option[Int] = {
val r = """^(\d+)(\..*|)$""".r
version match {
case r(v, _) => Try(v.toInt).toOption
case _ => None
}
}
}
object N... | {
"pile_set_name": "Github"
} |
package com.github.abdularis.trackmylocation.startupui;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;
import com.firebase.ui.auth.AuthUI;
import com.firebase.ui.auth.ErrorCodes;
import com.firebase.ui.au... | {
"pile_set_name": "Github"
} |
# RUN: llvm-mc < %s -triple x86_64-apple-darwin -filetype=obj | llvm-objdump -m -section __FOO,__bar -full-leading-addr -print-imm-hex -no-show-raw-insn - | FileCheck %s
.section __FOO, __bar
_foo:
nop
# CHECK: Contents of (__FOO,__bar) section
# CHECK: _foo:
# CHECK: 0000000000000000 nop
| {
"pile_set_name": "Github"
} |
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.diagnostic;
import org.jetbrains.annotations.NonNls;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.io.IOException;
import j... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
# Copyright 2014-2020 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
"""Downloader module for http:// and https:// URLs"""
import time
impor... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: bc677b5c4400940498763a90d3441814
timeCreated: 1495777174
licenseType: Pro
ModelImporter:
serializedVersion: 19
fileIDToRecycleName:
100000: //RootNode
400000: //RootNode
2300000: //RootNode
3300000: //RootNode
4300000: wall_t_cap_deco
9500000: //RootNode
material... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
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 Licens... | {
"pile_set_name": "Github"
} |
define([
"dojo/_base/kernel",
"dojo/_base/declare",
"dojo/_base/window",
"dojo/dom-construct"
], function(kernel, declare, win, domConstruct){
// module:
// dojox/mobile/_ExecScriptMixin
return declare("dojox.mobile._ExecScriptMixin", null, {
// summary:
// Mixin for providing script execution capability ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<title>The change you wanted was rejected (422)</title>
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
border: 1... | {
"pile_set_name": "Github"
} |
# This test is quite long and can cause issues so
## it is not included in the normal set of gtests
add_executable(tick_test_serialization solver.cpp)
target_link_libraries(tick_test_serialization
${TICK_LIB_ARRAY}
${TICK_LIB_BASE}
${TICK_LIB_BASE_MODEL}
${TICK_LIB_CRANDOM}
${TICK_LIB_PROX}
${... | {
"pile_set_name": "Github"
} |
//! shouldfail
A: class {
init: func
test: func
}
B: class extends A {
init: func
test: final func
}
C: class extends B {
init: func
test: func
}
| {
"pile_set_name": "Github"
} |
from django.utils.module_loading import import_string
from django.core.exceptions import ImproperlyConfigured
from django.conf import settings
def get_search_backend(import_path=None):
backend = import_path or settings.PAPERMERGE_SEARCH_BACKEND
try:
backend_cls = import_string(backend)
except Imp... | {
"pile_set_name": "Github"
} |
#!/bin/bash
set -Eeuo pipefail
assert_contains() {
FILENAME=$1
EXPECTED_CONTENT=$2
if [[ "$(cat $FILENAME)" == *"${EXPECTED_CONTENT}"* ]]; then
return 0
else
echo "Unable to find $EXPECTED_CONTENT in $FILENAME"
return 1
fi
}
# Ensure we're in the correct folder
pushd "$( dirname "${BASH_SOURCE... | {
"pile_set_name": "Github"
} |
package me.himanshusoni.chatmessageview;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Outline;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.drawable.Drawable;
/**... | {
"pile_set_name": "Github"
} |
<div id="pm-pgp" class="pm-flex-content">
<div class="pm-pgp-main-loader pm-flex-content-vertical-center" ng-if="!content">
<loader-tag></loader-tag>
<h1 class="text-center" translate translate-context="Title">Loading message headers...</h1>
</div>
<section class="pm-pgp-headers" ng-if="cont... | {
"pile_set_name": "Github"
} |
function abc() {
return def();
}
/**
* @return {Number}
*/
function def() {
return abc();
}
abc(); | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of the Monolog package.
*
* (c) Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Monolog\Handler\Slack;
use Monolog\Logger;
use Monolog\TestCase;
/**
* ... | {
"pile_set_name": "Github"
} |
#
# Makefile for Block device driver for Micron PCIe SSD
#
obj-$(CONFIG_BLK_DEV_PCIESSD_MTIP32XX) += mtip32xx.o
| {
"pile_set_name": "Github"
} |
// (c) facoptere@gmail.com, licensed to DayZMod for the community
class FSM {
fsmName = "server_cleanup";
initState = "init";
finalStates[] = {"end"};
class States {
class init {
name="init";
init= "" \n
//"diag_log[""Scheduler init""];" \n
"__sc_taskAr... | {
"pile_set_name": "Github"
} |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_plaf_MenuBarUI__
#define __javax_swing_plaf_MenuBarUI__
#pragma interface
#include <javax/swing/plaf/ComponentUI.h>
extern "Java"
{
namespace javax
{
namespace swing
{
namespace plaf
{
class MenuBa... | {
"pile_set_name": "Github"
} |
{
"compilerOptions": {
"target": "ES5",
"module": "system",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": false
},
"files": [
"ts/app.ts",
"js/app.d.ts",
"typings/b... | {
"pile_set_name": "Github"
} |
require('../../modules/es6.array.iterator');
module.exports = require('../../modules/$.core').Array.keys; | {
"pile_set_name": "Github"
} |
package io.sarl.template.javafx.ui
/** Request for refreshing the JavaFX screen.
*/
event Refresh
| {
"pile_set_name": "Github"
} |
// 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
// "License"); you may... | {
"pile_set_name": "Github"
} |
import React from 'react';
import {Row, Col, BackTop} from 'antd';
import PCHeader from './pc_header';
import PCFooter from './pc_footer';
import PCNewsImageBlock from './pc_news_image_block';
import CommonComments from './common_comments';
export default class PCNewsDetails extends React.Component {
constructor() {
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
... | {
"pile_set_name": "Github"
} |
import { mapActions, mapGetters } from 'vuex'
import queryString from 'query-string'
import { basename, dirname } from 'path'
// TODO: this file is a first attempt to separate file/folder loading logic out of the mediaviewer
// Discussion how to progress from here can be found in this issue:
// https://github.com/ownc... | {
"pile_set_name": "Github"
} |
<?php
while ($iterations-- && isset($ids[$id = rand(1, 0x7fffffff)])
) {
}
foreach (array() as $a) {
} | {
"pile_set_name": "Github"
} |
/*
* Written by Joel Sherrill <joel.sherrill@OARcorp.com>.
*
* COPYRIGHT (c) 1989-2013, 2015.
* On-Line Applications Research Corporation (OAR).
*
* Permission to use, copy, modify, and distribute this software for any
* purpose without fee is hereby granted, provided that this entire notice
* is included... | {
"pile_set_name": "Github"
} |
Copyright 2009 The Cairo Project Authors (gaber@gaberism.net)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LI... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of the Carbon package.
*
* (c) Brian Nesbitt <brian@nesbot.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return array(
'year' => '{2,3,4,22,23,24,32,33,34,42,43,44,52,53,54}:count godine|[0... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/layout_root"
style="@style/MatchParent"
tools:ignore="ContentDescription">
<LinearLayout
style="@style/WrapConten... | {
"pile_set_name": "Github"
} |
// Reset filters for IE
//
// When you need to remove a gradient background, do not forget to use this to reset
// the IE filter for IE9 and below.
.reset-filter() {
filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)"));
}
| {
"pile_set_name": "Github"
} |
/**
* 阿里上传通用接口
*/
KISSY.add(function (S ,UA,Uploader,token) {
var DAILY_API = 'http://aop.widgets.daily.taobao.net/block/uploadImg.htm';
var LINE_API = 'http://aop.widgets.taobao.com/block/uploadImg.htm';
/**
* 获取domain
* @return {String}
*/
function getDomain(){
var host = argu... | {
"pile_set_name": "Github"
} |
//
// ConfigurationManagerImpl.h
// ConfigurationManager
//
// Created by Makara Khloth on 11/22/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ConfigurationManager.h"
@interface ConfigurationManagerImpl : NSObject <ConfigurationManager> {
@private
NS... | {
"pile_set_name": "Github"
} |
/*****************************************************************************
Copyright (c) 2014, Intel Corp.
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 cod... | {
"pile_set_name": "Github"
} |
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "2_drawingWithTime_2", "2_drawingWithTime_2.vcxproj", "{7FD42DF7-442E-479A-BA76-D0022F99702A}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "openframeworksLib", "..... | {
"pile_set_name": "Github"
} |
/*
* linux/fs/jfs/ioctl.c
*
* Copyright (C) 2006 Herbert Poetzl
* adapted from Remy Card's ext2/ioctl.c
*/
#include <linux/fs.h>
#include <linux/ctype.h>
#include <linux/capability.h>
#include <linux/mount.h>
#include <linux/time.h>
#include <linux/sched.h>
#include <linux/blkdev.h>
#include <asm/current.h>
#incl... | {
"pile_set_name": "Github"
} |
/* Threshold function to evaluate grid cells >= input threshold value.
David Tarboton, Teklu Tesfa
Utah State University
May 23, 2010
*/
/* Copyright (C) 2010 David Tarboton, Utah State University
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Gen... | {
"pile_set_name": "Github"
} |
<!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_162) on Tue Mar 24 11:44:37 PDT 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>StdDateFormat (jackson-data... | {
"pile_set_name": "Github"
} |
var dummer, object, sanitizer,
__hasProp = {}.hasOwnProperty;
object = require('utila').object;
sanitizer = require('./sanitizer');
module.exports = dummer = {
toDom: function(o) {
if (!Array.isArray(o)) {
if (!object.isBareObject(o)) {
throw Error("toDom() only accepts arrays and bare objects ... | {
"pile_set_name": "Github"
} |
#include <algorithm>
#include <vector>
#include "caffe/layer.hpp"
#include "caffe/layers/concat_layer.hpp"
#include "caffe/layers/flatten_layer.hpp"
#include "caffe/layers/pooling_layer.hpp"
#include "caffe/layers/split_layer.hpp"
#include "caffe/layers/spp_layer.hpp"
namespace caffe {
using std::min;
using std::max... | {
"pile_set_name": "Github"
} |
defmodule Logflare.LiveView.Socket do
@moduledoc """
The LiveView socket for Phoenix Endpoints.
"""
use Phoenix.Socket, log: false
require Logger
if Version.match?(System.version(), ">= 1.8.0") do
@derive {Inspect,
only: [:id, :endpoint, :router, :view, :parent_pid, :root_pid, :assigns, :c... | {
"pile_set_name": "Github"
} |
/*
Copyright (C) 2013 Eric Wasylishen
Date: December 2013
License: MIT (see COPYING)
*/
#import "TestAttributedStringCommon.h"
@interface TestAttributedStringDiffOperations : EditingContextTestCase <UKTest>
@end
@implementation TestAttributedStringDiffOperations
- (void)testInsertAttributedSubstr... | {
"pile_set_name": "Github"
} |
{
"DESCRIPTION": "Set a channel cooldown",
"USAGE": "{{prefix}}slowmode [#channel] (time)",
"EXAMPLES": "{{prefix}}slowmode #general 10m\n{{prefix}}slowmode #general",
"DISABLED": "**Slow-mode has just been disabled in {{channel}}!**\n\n:arrow_right_hook: *Send `{{prefix}}slowmode [#channel] (time)` to ... | {
"pile_set_name": "Github"
} |
TYPE SIGNATURES
foo :: Bool -> Bool
Dependent modules: []
Dependent packages: [base-4.13.0.0, ghc-bignum-1.0, ghc-prim-0.7.0]
| {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com>
// Copyright (C) 2013 Christian Seiler <christian@iwakd.de>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a c... | {
"pile_set_name": "Github"
} |
//@module: commonjs
export var x = 0;
var y = 0;
export function f1() {}
function f2() {}
export class C1 {
public p1 = 0;
public p2() {}
}
class C2{
public p1 = 0;
public p2() {}
}
export enum E1 {A=0}
var u = E1.A;
enum E2 {B=0}
var v = E2.B;
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 Elvis Hew
*
* 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... | {
"pile_set_name": "Github"
} |
{
"keyboard": "handwired/hnah40",
"keymap": "default_d4ff836",
"commit": "d4ff836d6449b442e6f5ddc31678a489d0f6b3d6",
"layout": "LAYOUT",
"layers": [
[
"KC_ESC", "KC_Q", "KC_W", "KC_E", "KC_R", "KC_T", "KC_Y", "KC_U", "KC_I", "KC_O", "KC_P", "KC_BSPC",
"LT(... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: false
require 'test/unit'
require 'resolv'
class TestResolvResource < Test::Unit::TestCase
def setup
address = "192.168.0.1"
@name1 = Resolv::DNS::Resource::IN::A.new(address)
@name1.instance_variable_set(:@ttl, 100)
@name2 = Resolv::DNS::Resource::IN::A.new(address)
end
... | {
"pile_set_name": "Github"
} |
---
layout: "api"
page_title: "MongoDB - Database - Secrets Engines - HTTP API"
sidebar_current: "docs-http-secret-databases-mongodb"
description: |-
The MongoDB plugin for Vault's database secrets engine generates database credentials to access MongoDB servers.
---
# MongoDB Database Plugin HTTP API
The MongoDB da... | {
"pile_set_name": "Github"
} |
// package metadata file for Meteor.js
Package.describe({
name: 'underscorestring:underscore.string',
summary: 'underscore.string (official): String manipulation extensions for Underscore.js javascript library.',
version: '3.3.4',
git: 'https://github.com/epeli/underscore.string.git',
documentation: 'README.... | {
"pile_set_name": "Github"
} |
package com.impetus.client.hbase.crud;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.CollectionTable;
import javax.persistence.Column;
import javax.persistence.ElementCollection;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.FetchT... | {
"pile_set_name": "Github"
} |
//
// CryptoAPITransformCas.cs -
// CAS unit tests for System.Security.Cryptography.CryptoAPITransform
//
// Author:
// Sebastien Pouliot <sebastien@ximian.com>
//
// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this sof... | {
"pile_set_name": "Github"
} |
// Copyright 2013 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.
#ifndef REMOTING_CODEC_VIDEO_ENCODER_VPX_H_
#define REMOTING_CODEC_VIDEO_ENCODER_VPX_H_
#include <stdint.h>
#include "base/callback.h"
#include "base/ma... | {
"pile_set_name": "Github"
} |
// Copyright 2017 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.
#ifndef NG_BASE_LAYOUT_ALGORITHM_TEST_H_
#define NG_BASE_LAYOUT_ALGORITHM_TEST_H_
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/bl... | {
"pile_set_name": "Github"
} |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyrigh... | {
"pile_set_name": "Github"
} |
status = error
# log action execution errors for easier debugging
logger.action.name = org.elasticsearch.action
logger.action.level = debug
appender.console.type = Console
appender.console.name = console
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %mar... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:analyzer/src/error/codes.dart';
import 'package:test_reflective_loader/test_reflective_l... | {
"pile_set_name": "Github"
} |
if X86
source "drivers/platform/x86/Kconfig"
endif
if ARCH_MSM
source "drivers/platform/msm/Kconfig"
endif
| {
"pile_set_name": "Github"
} |
# Copyright 2016 Amazon.com, Inc. or its affiliates. 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. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" file accompa... | {
"pile_set_name": "Github"
} |
var nano = require('..');
var pub = nano.socket('pub');
var sub = nano.socket('sub');
var addr = 'tcp://127.0.0.1:7789'
pub.bind(addr);
sub.connect(addr);
sub.pipe(process.stdout);
setInterval( send, 100 );
function send(){
pub.send('hello from nanomsg stream api\n');
}
| {
"pile_set_name": "Github"
} |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\... | {
"pile_set_name": "Github"
} |
require('../../modules/es7.string.trim-right');
module.exports = require('../../modules/_core').String.trimRight;
| {
"pile_set_name": "Github"
} |
// Copyright 2019 The Go 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 proto
import (
"fmt"
"google.golang.org/protobuf/reflect/protoreflect"
)
// Reset clears every field in the message.
// The resulting message share... | {
"pile_set_name": "Github"
} |
import cv2
import numpy as np
import os
import pycocotools.mask as mask_util
from collections import defaultdict
import matplotlib.pyplot as plt
from utils.timer import Timer
import utils.colormap as colormap_utils
from rcnn.core.config import cfg
_GRAY = [218, 227, 218]
_GREEN = [18, 127, 15]
_WHITE = [255, 255, 255... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2006-2007 Erin Catto http:
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* includin... | {
"pile_set_name": "Github"
} |
/**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... | {
"pile_set_name": "Github"
} |
SUSIMAT - Correlation similarity matrix for two traces.
Output is zero lag of cross-correlation of traces,
or linear regression correlation coefficient.
Horizontal axis is time of trace 1, vertical is trace 2.
susimmat <data12 sufile=data2 >dataout
Required parameters:
sufile= file c... | {
"pile_set_name": "Github"
} |
<!--
Copyright 2014 Google Inc. 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 law or agree... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2012 Igor Vaynberg
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with
* the License. You may obtain a copy of the License in the LICENSE file, or at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | {
"pile_set_name": "Github"
} |
nnabla>=1.0.6
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<SoundGroup>
<Gain>1</Gain>
<Priority>100</Priority>
<ConeGain>1</ConeGain>
<Looping>0</Looping>
<RandOrder>1</RandOrder>
<Distanceless>1</Distanceless>
<RandGain>1</RandGain>
<RandPitch>1</RandPitch>
<Threshold>1</Threshold>
<Path>audio/voice/persian/ci... | {
"pile_set_name": "Github"
} |
/*
YUI 3.7.3 (build 5687)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("lang/datatype-date-format_nb",function(e){e.Intl.add("datatype-date-format","nb",{a:["s\u00f8n.","man.","tir.","ons.","tor.","fre.","l\u00f8r."],A:["s\u00f8ndag","mandag",... | {
"pile_set_name": "Github"
} |
import { ProgressBar } from '../../src/progressbar/progressbar';
import { createElement, EmitType } from '@syncfusion/ej2-base';
import { ILoadedEventArgs } from '../../src/progressbar/model/progress-interface';
/**
* progress range for both linear and circular progress bar
*/
describe('ProgressBar Control', () => {
... | {
"pile_set_name": "Github"
} |
using System;
using Windows.UI.Xaml.Data;
namespace Q42.WinRT.SampleApp.Common
{
/// <summary>
/// Value converter that translates true to false and vice versa.
/// </summary>
public sealed class BooleanNegationConverter : IValueConverter
{
public object Convert(object value, Type targetTy... | {
"pile_set_name": "Github"
} |
/*
Copyright The Kubernetes Authors.
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, softw... | {
"pile_set_name": "Github"
} |
# Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | {
"pile_set_name": "Github"
} |
# DO NOT EDIT. This file is generated from Config.src
#
# For a description of the syntax of this configuration file,
# see scripts/kbuild/config-language.txt.
#
menu "Linux System Utilities"
config BUSYBOX_CONFIG_BLOCKDEV
bool "blockdev"
default BUSYBOX_DEFAULT_BLOCKDEV
help
Performs some ioctls with block dev... | {
"pile_set_name": "Github"
} |
#!/bin/sh
#
# Regenerate configuration files
cp acinclude.m4 aclocal.m4
found=false
for autoconf in autoconf autoconf259 autoconf-2.59
do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
done
if test x$found = xfalse; then
echo "Couldn't find autoconf, aborting"
exit 1
fi
| {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.