text stringlengths 2 99.9k | meta dict |
|---|---|
description=Cups wrapper (*nix printing)
incpaths=.
libs=${_HB_DYNPREF}${hb_name}${_HB_DYNSUFF}
{unix}libs=cups
{os2}libs=libcups pthread
| {
"pile_set_name": "Github"
} |
package api
import (
"net"
"net/http"
"github.com/Microsoft/go-winio"
"github.com/manifoldco/torus-cli/config"
)
func newTransport(cfg *config.Config) *http.Transport {
return &http.Transport{
Dial: func(network, address string) (net.Conn, error) {
return winio.DialPipe(cfg.TransportAddress, nil)
},
}
}... | {
"pile_set_name": "Github"
} |
# Kodi Media Center language file
# Addon Name: PVR Filmon Client
# Addon id: pvr.filmon
# Addon Provider: Stephen Denham
msgid ""
msgstr ""
"Project-Id-Version: XBMC Main\n"
"Report-Msgid-Bugs-To: http://trac.xbmc.org/\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Tr... | {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 -verify -fopenmp %s
// RUN: %clang_cc1 -verify -fopenmp-simd %s
void foo() {
}
bool foobool(int argc) {
return argc;
}
struct S1; // expected-note {{declared here}} expected-note {{declared here}}
template <class T, int N>
T tmain(T argc) {
T b = argc, c, d, e, f, g;
char ** argv;
static... | {
"pile_set_name": "Github"
} |
---------------------------------------------------------------
Vortex Lattice Output -- Total Forces
Configuration: cruise
# Surfaces = 7
# Strips = 170
# Vortices =1700
Sref = 124.86 Cref = 4.2350 Bref = 34.320
Xref =... | {
"pile_set_name": "Github"
} |
StartChar: uni067A.init_BaaYaaIsol
Encoding: 1117483 -1 3655
Width: 258
Flags: HW
AnchorPoint: "TashkilAbove" 16 801 basechar 0
AnchorPoint: "TashkilBelow" 167 -391 basechar 0
LayerCount: 2
Fore
Refer: 213 -1 N 1 0 0 1 60 566 2
Refer: 393 -1 N 1 0 0 1 0 0 3
EndChar
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... | {
"pile_set_name": "Github"
} |
// Copyright 2015 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | {
"pile_set_name": "Github"
} |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
#import <Foundation/Foundation.h>
#import "ZumoTestGlobals.h"
@interface ZumoPushTests : NSObject... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CoreWCF.Configuration;
using Helpers;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjectio... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2017 Andrey Semashev
*
* Distributed under the Boost Software License, Version 1.0.
* See http://www.boost.org/LICENSE_1_0.txt
*
* This header is deprecated, use boost/winapi/dll.hpp instead.
*/
#ifndef BOOST_DETAIL_WINAPI_DLL_HPP
#define BOOST_DETAIL_WINAPI_DLL_HPP
#include <boost/winapi/dll.hp... | {
"pile_set_name": "Github"
} |
rule k3f7_49392cc9c8000932
{
meta:
copyright="Copyright (c) 2014-2018 Support Intelligence Inc, All Rights Reserved."
engine="saphire/1.3.1 divinorum/0.998 icewater/0.4"
viz_url="http://icewater.io/en/cluster/query?h64=k3f7.49392cc9c8000932"
cluster="k3f7.49392cc9c8000932"
cluster_size="58... | {
"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.
namespace VsChromium.Features.AttachToChrome {
partial class AttachDialog {
/// <summary>
/// Required designer variable.
/// </sum... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!-- Automatically generated file. Do not edit. -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="../../../style.css" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /></head>
<body style="font... | {
"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"
} |
<?php
class MethodCallback
{
public static function staticCallback()
{
$args = func_get_args();
if ($args == array('foo', 'bar')) {
return 'pass';
}
}
public function nonStaticCallback()
{
$args = func_get_args();
if ($args == array('foo', 'bar'... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env node
'use strict';
var fs = require('fs');
var name = process.argv[2] || '.';
var property = process.argv[3] || 'version';
if (name != '.') name = 'node_modules/' + name;
var json = JSON.parse(fs.readFileSync(name + '/package.json', 'utf8'));
console.log(json[property]);
| {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2016 - 2017, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,... | {
"pile_set_name": "Github"
} |
From eb5556db4c4fb8dff9a7b716c66a1ea3d3e696ce Mon Sep 17 00:00:00 2001
From: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Date: Fri, 29 Nov 2019 11:02:43 +0800
Subject: [PATCH] net: mscc: ocelot: tsn configuration support
Support TSN configuration for ocelot switch. The TSN configuration
fucntions are based on tsn netlin... | {
"pile_set_name": "Github"
} |
.outer
.container
%h1= title
.danger-zone
%h2= t("account.danger_zone")
%p= t("account.warning", subdomain: @current_domain)
= button_to(t("account.delete"), { controller: :accounts, action: :destroy }, |
method: :delete, data: { confirm: t("account.confirm_destroy") })
| {
"pile_set_name": "Github"
} |
/******************************************************************************
* merge_sve.S : ARM SVE mean
******************************************************************************
* Copyright (C) 2018 Rémi Denis-Courmont
*
* This program is free software; you can redistribute it and/or modify
* it under t... | {
"pile_set_name": "Github"
} |
[123.456789]
| {
"pile_set_name": "Github"
} |
name: pypi_publish
on:
push:
tags:
- '*.*.*'
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
... | {
"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("editor-tab",function(e,t){var n=function(){n.superclass.constructor.apply(this,arguments)},r="host";e.extend(n,e.Base,{_onNodeChange:function(e){var t="indent";e.changedTy... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env bash
MASON_NAME=gdal
MASON_VERSION=2.1.3
MASON_LIB_FILE=lib/libgdal.a
. ${MASON_DIR}/mason.sh
function mason_load_source {
mason_download \
https://download.osgeo.org/gdal/${MASON_VERSION}/gdal-${MASON_VERSION}.tar.gz \
552231f8ffe060ba30e37f1a8e6c4665bcf3cd1d
mason_extract_ta... | {
"pile_set_name": "Github"
} |
# Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html
use ... | {
"pile_set_name": "Github"
} |
" Vim syntax file
" Language: WEB Changes
" Maintainer: Andreas Scherer <andreas.scherer@pobox.com>
" Last Change: April 25, 2001
" Details of the change mechanism of the WEB and CWEB languages can be found
" in the articles by Donald E. Knuth and Silvio Levy cited in "web.vim" and
" "cweb.vim" respectively.
" quit w... | {
"pile_set_name": "Github"
} |
export function handleNamedParameters(params) {
params = params || {};
var x = params.x || 0;
var y = params.y || 0;
var color = params.color || 'black';
return [x, y, color];
}
| {
"pile_set_name": "Github"
} |
# Predict Protocol - Version 2
The *Predict Protocol, version 2* is a set of HTTP/REST and GRPC APIs
for inference / prediction servers. By implementing this protocol both
inference clients and servers will increase their utility and
portability by being able to operate seamlessly on platforms that have
standardized a... | {
"pile_set_name": "Github"
} |
# Changelog
# [0.44.0](https://github.com/saltstack-formulas/docker-formula/compare/v0.43.1...v0.44.0) (2020-05-15)
### Continuous Integration
* **gemfile.lock:** add to repo with updated `Gemfile` [skip ci] ([c3dd00a](https://github.com/saltstack-formulas/docker-formula/commit/c3dd00a2472eb092761419a88eeb0fa29117d... | {
"pile_set_name": "Github"
} |
'use strict';
var events = require('../../').Runner.constants;
var helpers = require('./helpers');
var reporters = require('../../').reporters;
var Markdown = reporters.Markdown;
var createMockRunner = helpers.createMockRunner;
var makeRunReporter = helpers.createRunReporterFunction;
var EVENT_RUN_END = events.EVENT... | {
"pile_set_name": "Github"
} |
## Process this file with automake to produce Makefile.in
SUBDIRS = src
| {
"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"
} |
{"name":"vt220-old"}
| {
"pile_set_name": "Github"
} |
/*
* QEMU ARM CPU -- internal functions and types
*
* Copyright (c) 2014 Linaro Ltd
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your optio... | {
"pile_set_name": "Github"
} |
/*
* hostdep.h : things which are dependent on the host architecture
*
* * Written by Peter Maydell <peter.maydell@linaro.org>
*
* Copyright (C) 2016 Linaro Limited
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#ifndef SPAR... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>RxSwiftSimpleTableView.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
... | {
"pile_set_name": "Github"
} |
aaaaaaaaaaa
| {
"pile_set_name": "Github"
} |
<div class="admin user-list">
<h2 class="row breadcrumb">
<span class="media-body">
<%= link "Admin", to: admin_dashboard_path(@conn, :index) %>
<span class="separator">></span>
<span>Users</span>
</span>
<span class="coverage media-right">
<%= link "Create user", to: admin_user_pa... | {
"pile_set_name": "Github"
} |
var argv = require('../')(process.argv.slice(2));
console.dir(argv);
| {
"pile_set_name": "Github"
} |
import Element from './Element.js'
import MultilineInplaceEditor from '../ui/MultilineInplaceEditor.js'
const textEditor = new MultilineInplaceEditor()
class Text extends Element {
constructor ({
text = 'This is text',
width = 100,
...props
} = {}) {
super(props)
this.... | {
"pile_set_name": "Github"
} |
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<!-- LOCALIZATION NOTE : FILE This file contains the Font Inspector strings.
- The Font Inspector is the ... | {
"pile_set_name": "Github"
} |
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>partitionedqueues</artifactId>
<name>partition... | {
"pile_set_name": "Github"
} |
import path from 'path';
import fs from 'fs';
import { MessageError } from '@pika/types';
import { Lint, Build } from 'standard-pkg';
export async function beforeJob({ cwd }) {
const srcDirectory = path.join(cwd, 'src/');
if (!fs.existsSync(srcDirectory)) {
throw new MessageError('@pika/pack expects a s... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="assetic.filter.cs... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... | {
"pile_set_name": "Github"
} |
Foldable Layout
=================
This code is a showcase of a foldable animation I created for Worldline. The code is fully written
with java APIs from the Android SDK, without the use of any external library. This code is a demo and not a library.
The foldable layout is a layout (strictly a RelativeLayout), which can... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2014 Luke Klinker
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 ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2013 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# set configurations that will be "sticky" on this system,
# surviving npm self-updates.
CONFIGS=()
i=0
# get the location of this file.
unset CDPATH
CONFFILE=$(cd $(dirname "$0"); pwd -P)/npmrc
while [ $# -gt 0 ]; do
conf="$1"
case $conf in
--help)
echo "./configure --param=value ..."
... | {
"pile_set_name": "Github"
} |
module mo_imp_sol
use shr_kind_mod, only : r8 => shr_kind_r8
use chem_mods, only : clscnt4, gas_pcnst, clsmap
use cam_logfile, only : iulog
implicit none
private
public :: imp_slv_inti, imp_sol
save
real(r8), parameter :: rel_err = 1.e-3_r8
real(r8), parameter :: high_rel_err = 1.e-4_r8
!-----------... | {
"pile_set_name": "Github"
} |
---
title: Key Vault を使用し Azure Cosmos DB キーを格納してアクセスする
description: Azure Key Vault を使用し、Azure Cosmos DB の接続文字列、キー、エンドポイントを格納し、アクセスします。
author: markjbrown
ms.author: mjbrown
ms.service: cosmos-db
ms.subservice: cosmosdb-sql
ms.devlang: dotnet
ms.topic: how-to
ms.date: 05/23/2019
ms.reviewer: sngun
ms.openlocfilehash: ... | {
"pile_set_name": "Github"
} |
windowDef Desktop
{
rect 0,0,640,480
nocursor 1
float destroyed 0
windowdef panel
{
rect 0,0,640,480
visible 1
background "guis/assets/shock/screens/0325";
onTime 0{
if ("gui::destroyed"==1)
{resetTime "6000";}
else{
set "background" "guis/assets/shock/screens/0325";
}
... | {
"pile_set_name": "Github"
} |
/* winbond-840.c: A Linux PCI network adapter device driver. */
/*
Written 1998-2001 by Donald Becker.
This software may be used and distributed according to the terms of
the GNU General Public License (GPL), incorporated herein by reference.
Drivers based on or derived from this code fall under the GPL and must
... | {
"pile_set_name": "Github"
} |
/*
* Marvell Wireless LAN device driver: 802.11n
*
* Copyright (C) 2011, Marvell International Ltd.
*
* This software file (the "File") is distributed by Marvell International
* Ltd. under the terms of the GNU General Public License Version 2, June 1991
* (the "License"). You may use, redistribute and/or modify... | {
"pile_set_name": "Github"
} |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.czg.fastblur">
<application
android:allowBackup="true"
android:supportsRtl="true" />
</manifest>
| {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2013-2014 EaseMob Technologies. 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 requi... | {
"pile_set_name": "Github"
} |
var convert = require('./convert'),
func = convert('isObjectLike', require('../isObjectLike'), require('./_falseOptions'));
func.placeholder = require('./placeholder');
module.exports = func;
| {
"pile_set_name": "Github"
} |
import { GET_ORG_PROFILE, UPDATE_ORG_PROFILE, DEACTIVATE_ORG, TRIGGER_MAINTENANCE } from '../actions/types'
const initialState = {
isDeactivated: false,
isMaintenance: false,
org: {}
}
export default (state = initialState, action) => {
switch(action.type) {
case GET_ORG_PROFILE: {
return {
..... | {
"pile_set_name": "Github"
} |
var convert = require('./convert'),
func = convert('values', require('../values'), require('./_falseOptions'));
func.placeholder = require('./placeholder');
module.exports = func;
| {
"pile_set_name": "Github"
} |
const electron = require('electron')
// Module to control application life.
const app = electron.app
// Module to create native browser window.
const BrowserWindow = electron.BrowserWindow
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript obje... | {
"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 ... | {
"pile_set_name": "Github"
} |
/*!
* Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
/* FONT PATH
* -------------------------- */
@font-face {
font-family: 'FontAwesome';
src: url('../fonts/fontawesome-webfont.eot?v=4.3.0');
src: ur... | {
"pile_set_name": "Github"
} |
/*
* Project: PC/GEOS
* Module: DocUI (Sample PC/GEOS application)
* File: docui.ui
*
* Author: Tony Requist
*
* This file contains the user Interface description for this
* application. This file is written in a language called ESPIRE, which is
* compiled by the UIC compiler. See Spec/User/uic.doc fo... | {
"pile_set_name": "Github"
} |
//
// AbstractConfigurationTest.cpp
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "AbstractConfigurationTest.h"
#include "CppUnit/TestCaller.h"
#include "Poco/Util/MapConfiguration.h"
#include "Poco/AutoPtr.h"
#inc... | {
"pile_set_name": "Github"
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... | {
"pile_set_name": "Github"
} |
# -*- coding:utf-8 -*-
# /usr/bin/env python
"""
Date: 2020/3/22 15:39
Desc: 东方财富网-数据中心-研究报告-东方财富分析师指数
http://data.eastmoney.com/invest/invest/list.html
"""
import requests
import pandas as pd
import json
def stock_em_analyst_rank():
"""
东方财富网-数据中心-研究报告-东方财富分析师指数-东方财富分析师指数2020最新排行
:return: 东方财富分析师指数2020最新... | {
"pile_set_name": "Github"
} |
\documentclass{article}
\setlength{\textwidth}{400pt}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input oktofail.input}
\author{Timothy Daly}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\begin{chunk}{*}
)set break resume
)spool oktofail.output
)set message test on
)set message au... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11542" systemVersion="16B2555" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES">
<device id="r... | {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright 2014 Google Inc.
*
* 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 t... | {
"pile_set_name": "Github"
} |
{
"name": "jqplay",
"scripts": {
},
"env": {
},
"formation": {
"web": {
"quantity": 1
}
},
"addons": [
"librato",
"newrelic",
"ssl",
"papertrail"
],
"buildpacks": [
]
}
| {
"pile_set_name": "Github"
} |
package sarama
import (
"fmt"
)
// TestReporter has methods matching go's testing.T to avoid importing
// `testing` in the main part of the library.
type TestReporter interface {
Error(...interface{})
Errorf(string, ...interface{})
Fatal(...interface{})
Fatalf(string, ...interface{})
}
// MockResponse is a resp... | {
"pile_set_name": "Github"
} |
import numpy as np
def iou(box, clusters):
"""
Calculates the Intersection over Union (IoU) between a box and k clusters.
:param box: tuple or array, shifted to the origin (i. e. width and height)
:param clusters: numpy array of shape (k, 2) where k is the number of clusters
:return: numpy array o... | {
"pile_set_name": "Github"
} |
# debug
[](https://travis-ci.org/visionmedia/debug) [](https://coveralls.io/github/visionmedia/debug?branch=master) [ 2014 YOOtheme | MIT License */
(function(addon) {
var component;
if (jQuery && jQuery.UIkit) {
component = addon(jQuery, jQuery.UIkit);
}
if (typeof define == "function" && define.amd) {
define("uikit-cover", ["uikit"], function(){
... | {
"pile_set_name": "Github"
} |
{
"name": "SQRNetworkRequset",
"version": "0.2.0",
"summary": "网络请求",
"homepage": "https://github.com/pengruiCode/SQRNetworkRequset.git",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"pengrui": "pengruiCode@163.com"
},
"source": {
"git": "https://github.com/pengruiCode... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2007 Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this sou... | {
"pile_set_name": "Github"
} |
/****************************************************************************
** Copyright (c) 2001-2014
**
** This file is part of the QuickFIX FIX Engine
**
** This file may be distributed under the terms of the quickfixengine.org
** license as defined by quickfixengine.org and appearing in the file
** LICENSE includ... | {
"pile_set_name": "Github"
} |
/*****************************************************************************
Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
more contributor license agreements. See the NOTICE file distributed
with this work for additional information regarding copyright ownership.
Accellera licenses... | {
"pile_set_name": "Github"
} |
// Copyright 2016 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.
// +build !go1.7
package http2
import (
"crypto/tls"
"net"
"net/http"
"time"
)
type contextContext interface {
Done() <-chan struct{}
Err() error
}
ty... | {
"pile_set_name": "Github"
} |
div.msg
div.title !{title}
div.body !{body}
| {
"pile_set_name": "Github"
} |
import numpy as np
import pytest
import pandas as pd
from pandas import DataFrame, MultiIndex, date_range
import pandas._testing as tm
def test_partial_string_timestamp_multiindex():
# GH10331
dr = pd.date_range("2016-01-01", "2016-01-03", freq="12H")
abc = ["a", "b", "c"]
ix = pd.MultiIndex.from_pro... | {
"pile_set_name": "Github"
} |
// @flow
import React, { Component } from 'react';
import { View } from 'react-native';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { Creators as AuthorCreators } from '~/store/ducks/author';
import AuthorDetailComponent from './components/AuthorDetailComponent';
import C... | {
"pile_set_name": "Github"
} |
<vector android:height="24dp" android:viewportHeight="200.0"
android:viewportWidth="200.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#272636" android:pathData="M25,150l150,0 0,-16.67L25,133.33 25,150zM25,108.33l150,0 0,-16.67L25,91.67 25,108.33zM25... | {
"pile_set_name": "Github"
} |
/****************************************************************************
**
** Copyright (C) 2017 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
** Licensees holding ... | {
"pile_set_name": "Github"
} |
KnowSim: A knowsim: K Kn Kno Know BLOCKSTART PAGESTART NEWFONT HIGHERFONT 1 0 INITCAP NODIGIT 0 0 0 0 0 0 0 0 0 0 : 1 10 0 0 0 0 1
Heterogeneous Information heterogeneous H He Het Hete BLOCKEND PAGEIN SAMEFONT SAMEFONTSIZE 1 0 INITCAP NODIGIT 0 0 1 0 0 0 0 0 0 0 no 0 6 0 0 0 0 1
Chenguang Wang chenguang C Ch Che Chen B... | {
"pile_set_name": "Github"
} |
// mkerrors.sh -Wall -Werror -static -I/tmp/include
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mips64,linux
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go
package unix
import "syscall"
const (
B1000000 ... | {
"pile_set_name": "Github"
} |
package telemetry
import (
"github.com/sirupsen/logrus"
)
type MetricsConfig struct {
FileConfig FileConfig
Logger logrus.FieldLogger
ServiceName string
Sinks []Sink
}
type FileConfig struct {
Prometheus *PrometheusConfig `hcl:"Prometheus"`
DogStatsd []DogStatsdConfig `hcl:"DogStatsd"`
Statsd ... | {
"pile_set_name": "Github"
} |
func o(){return P
return 1
return 1
return 0
return P
return(n)} | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2016, Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of con... | {
"pile_set_name": "Github"
} |
Ticket #<%= @ticket.number %> has been <%= update_or_create_tag_for_version(@version)%>: <%= modified_by_name(@ticket) %>.
<% last_comment = @ticket.ticket_comments.last %>
<% version = Version.find(last_comment.version_id) rescue nil %>
<% changes = formatted_changeset_for_version(@ticket) %>
<% unless changes.empty?... | {
"pile_set_name": "Github"
} |
#import "GPUImageHoughTransformLineDetector.h"
@interface GPUImageHoughTransformLineDetector()
- (void)extractLineParametersFromImageAtFrameTime:(CMTime)frameTime;
@end
@implementation GPUImageHoughTransformLineDetector
@synthesize linesDetectedBlock;
@synthesize edgeThreshold;
@synthesize lineDetectionThreshold;
... | {
"pile_set_name": "Github"
} |
/**
* Decode a Base64 encoded id
*
* @param {String} opaqueId - A a base64 encoded id
* @returns {String} - A base64 decoded id
*/
function decodeOpaqueId(opaqueId) {
if (opaqueId === undefined || opaqueId === null) return null;
const unencoded = Buffer.from(opaqueId, "base64").toString("utf8");
const [names... | {
"pile_set_name": "Github"
} |
package net.jangaroo.jooc.model;
/**
* Created with IntelliJ IDEA. User: fwienber Date: 21.05.12 Time: 15:55 To change this template use File | Settings |
* File Templates.
*/
public interface TypedModel extends ActionScriptModel {
String getType();
void setType(String type);
}
| {
"pile_set_name": "Github"
} |
from django.contrib.messages import constants
from django.contrib.messages.storage import default_storage
from django.utils.functional import lazy, memoize
__all__ = (
'add_message', 'get_messages',
'get_level', 'set_level',
'debug', 'info', 'success', 'warning', 'error',
)
class MessageFailure(Exception... | {
"pile_set_name": "Github"
} |
build_darwin_CC: = $(shell xcrun -f clang)
build_darwin_CXX: = $(shell xcrun -f clang++)
build_darwin_AR: = $(shell xcrun -f ar)
build_darwin_RANLIB: = $(shell xcrun -f ranlib)
build_darwin_STRIP: = $(shell xcrun -f strip)
build_darwin_OTOOL: = $(shell xcrun -f otool)
build_darwin_NM: = $(shell xcrun -f nm)
build_darwi... | {
"pile_set_name": "Github"
} |
$the_cow = <<EOC;
$thoughts {
$thoughts } } {
{ { } }
} }{ {
{ }{ } }
( }{ }{ { )
.-{ } }-.
( ( } { } { } )
|`-.._____..-'|
| ;--.
| (__) (__ \\
| ($eyes) | ) )
| \\/ |/ /
| $tongue / /
| ... | {
"pile_set_name": "Github"
} |
// Time: O(n)
// Space: O(1)
class Solution {
public:
int minTimeToVisitAllPoints(vector<vector<int>>& points) {
int result = 0;
for(int i = 0; i + 1 < points.size(); ++i) {
result += max(abs(points[i + 1][1] - points[i][1]),
abs(points[i + 1][0] - points[i][0... | {
"pile_set_name": "Github"
} |
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search ord... | {
"pile_set_name": "Github"
} |
define( [
"../core",
"../core/stripAndCollapse",
"./support",
"../core/nodeName",
"../core/init"
], function( jQuery, stripAndCollapse, support, nodeName ) {
"use strict";
var rreturn = /\r/g;
jQuery.fn.extend( {
val: function( value ) {
var hooks, ret, isFunction,
elem = this[ 0 ];
if ( !arguments.le... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.