text stringlengths 2 99.9k | meta dict |
|---|---|
/* dxfReader for OpenSceneGraph Copyright (C) 2005 by GraphArchitecture ( grapharchitecture.com )
* Programmed by Paul de Repentigny <pdr@grapharchitecture.com>
*
* OpenSceneGraph is (C) 2004 Robert Osfield
*
* This library is provided as-is, without support of any kind.
*
* Read DXF docs or OSG docs for any re... | {
"pile_set_name": "Github"
} |
--- MSA-DropDownMenu-1.0 - DropDown menu for non-Blizzard addons
--- Copyright (c) 2016-2018, Marouan Sabbagh <mar.sabbagh@gmail.com>
--- All Rights Reserved.
---
--- https://www.curseforge.com/wow/addons/msa-dropdownmenu-10
local name, version = "MSA-DropDownMenu-1.0", 7
local lib = LibStub:NewLibrary(name, ... | {
"pile_set_name": "Github"
} |
=head1 NAME
Term::ReadLine - Perl interface to various C<readline> packages.
If no real package is found, substitutes stubs instead of basic functions.
=head1 SYNOPSIS
use Term::ReadLine;
my $term = new Term::ReadLine 'Simple Perl calc';
my $prompt = "Enter your arithmetic expression: ";
my $OUT = $term->OUT... | {
"pile_set_name": "Github"
} |
# -*- sh -*-
handle_failure() {
local install_path="$1"
rm -rf "$install_path"
exit 1
}
handle_cancel() {
local install_path="$1"
printf "\\nreceived sigint, cleaning up"
handle_failure "$install_path"
}
install_command() {
local plugin_name=$1
local full_version=$2
local extra_args="${*:3}"
if ... | {
"pile_set_name": "Github"
} |
<?php
/*
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC. All rights reserved. |
| |
| This work is published under the GNU AGPLv3 license with some |
| permitted exceptions... | {
"pile_set_name": "Github"
} |
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29920.165
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CheckBoxDemos.Android", "CheckBoxDemos.Android\CheckBoxDemos.Android.csproj", "{C0324DD9-2C06-4B7... | {
"pile_set_name": "Github"
} |
package org.carlspring.strongbox.data.domain;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.MappedSuperclass;
import javax.xml.bind.annotation.XmlTransient;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.orientechnologies.orien... | {
"pile_set_name": "Github"
} |
//
// MessagePack for C++ static resolution routine
//
// Copyright (C) 2016 KONDO Takatoshi
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef MSGPACK_V2_TYPE_MAP_DECL_HPP
#define MSGPACK_V2_... | {
"pile_set_name": "Github"
} |
define(
"dojo/cldr/nls/en-ca/currency", //begin v1.x content
{
"CAD_symbol": "$",
"USD_symbol": "US$"
}
//end v1.x content
); | {
"pile_set_name": "Github"
} |
File: javaEnumWithProperty.kt - 6db918c72522b2c92330379e03e97390
NL("\n")
packageHeader
importList
topLevelObject
declaration
topLevelObject
declaration
PUBLIC("public")
topLevelObject
declaration
ENUM("enum")
Identifier("A")
LCURL("{")
semis
NL("\n")
Identifi... | {
"pile_set_name": "Github"
} |
package array;
/**
* Created by gouthamvidyapradhan on 24/06/2017. Given an unsorted integer array, find the first
* missing positive integer.
*
* <p>For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2.
*
* <p>Your algorithm should run in O(n) time and uses constant space.
*/
public class FirstMissingP... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Handles raw Transfer Encoding in Swift Mailer.
*
*
* @author Sebastiaan Stok <s.stok@rollerscapes.... | {
"pile_set_name": "Github"
} |
package com.zxy.libjpegturbo;
import android.graphics.Bitmap;
/**
* Created by zhengxiaoyong on 2017/2/23.
*/
public class JpegTurboCompressor {
public static boolean compress(Bitmap bitmap, String outfile, int quality) {
return nativeCompress(bitmap, outfile, quality, true);
}
public static S... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright 2013 Canonical Ltd.
*
* 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... | {
"pile_set_name": "Github"
} |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* CodeIgniter
*
* An open source application development framework for PHP 5.1.6 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc.
* @license http://codei... | {
"pile_set_name": "Github"
} |
---
title: モデル変換
description: モデルをレンダリング用に変換するプロセスについて説明します。
author: jakrams
ms.author: jakras
ms.date: 02/04/2020
ms.topic: how-to
ms.openlocfilehash: db05c7a5a45221485ecb62c2c90d56be52d5ef48
ms.sourcegitcommit: 877491bd46921c11dd478bd25fc718ceee2dcc08
ms.translationtype: HT
ms.contentlocale: ja-JP
ms.lasthandoff: 07/... | {
"pile_set_name": "Github"
} |
//===- llvm/ADT/STLExtras.h - Useful STL related functions ------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | {
"pile_set_name": "Github"
} |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: "TODO: test and fix situation where we get disconnected while sending but then successfully reconnect"
- !ruby/struct:SM::Flow::VERB
body: " (and make sure in such cases we resent)\n"
full_name: Jabber::... | {
"pile_set_name": "Github"
} |
// Copyright 2011 Google Inc. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.
// +build !appengine
package internal
import (
"log"
"net/http"
"os"
"strings"
netcontext "golang.org/x/net/context"
)
// These functions are implementa... | {
"pile_set_name": "Github"
} |
$LOAD_PATH.unshift 'lib'
Gem::Specification.new do |s|
s.name = "git-pulls"
s.version = "0.4.14"
s.licenses = ['MIT']
s.date = Time.now.strftime('%Y-%m-%d')
s.summary = "facilitates github pull requests"
s.homepage = "http://github.com/schacon/git-pulls"
s.email = "adrien.giboire@gmail.com"
... | {
"pile_set_name": "Github"
} |
{# ============= Update user mapping options and values ============= #}
{% if data.umoptions and data.umoptions.deleted and data.umoptions.deleted|length > 0 and fdwdata %}
ALTER USER MAPPING FOR {{ conn|qtIdent(o_data.name) }} SERVER {{ conn|qtIdent(fdwdata.name) }}
OPTIONS ({% for variable in data.umoptions.dele... | {
"pile_set_name": "Github"
} |
/**
* @Author: 水痕
* @Date: 2020-03-13 10:33:24
* @LastEditors: 水痕
* @Description: 判断数组是否包括另外一个数组(arr2是否包含在arr1)
* @param {type}
* @return:
*/
export const includesArray = (arr1: any[], arr2: any[]): boolean => {
return arr2.every(val => arr1.includes(val));
} | {
"pile_set_name": "Github"
} |
# kettle_web
一款基于kettle的数据处理web调度控制平台,支持文档资源库和数据库资源库,通过web平台控制kettle数据转换,可作为中间件集成到现有系统中
> jar包请到kettle的安装目录下寻找。
| {
"pile_set_name": "Github"
} |
import os
import sys
import math
import pytest
import unittest
import numpy as np
import torch
import torch.nn as nn
import utils
from models.BayesianModels.Bayesian3Conv3FC import BBB3Conv3FC
from models.BayesianModels.BayesianAlexNet import BBBAlexNet
from models.BayesianModels.BayesianLeNet import BBBLeNet
from mod... | {
"pile_set_name": "Github"
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using System.Linq;
namespace Hedera {
[CustomEditor( typeof(IvyDataAsset))]
public class IvyDataAssetEditor : Editor
{
public override void OnInspectorGUI() {
var data = (IvyDat... | {
"pile_set_name": "Github"
} |
<!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) on Thu May 15 17:17:34 EDT 2008 -->
<TITLE>
Uses of Class com.sleepycat.db.CompactConfig (Oracle - Berkeley DB Java API)
</TITLE>
<LINK REL ="styl... | {
"pile_set_name": "Github"
} |
{
"forge_marker": 1,
"defaults": { "model":"cube_all" },
"variants": {
"streaks" : [{ "textures": { "all": "chisel:blocks/glass_stained/pink/streaks" }}],
"rough" : [{ "textures": { "all": "chisel:blocks/glass_stained/pink/rough" }}],
"framed" : [{
... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<title>Feature Collection</title>
<link rel="stylesheet" href="http://js.arcgis.com/3.14/dijit/themes/claro/claro.css">
... | {
"pile_set_name": "Github"
} |
/* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 2010, University of Amsterdam
VU University Amsterdam
All rights reserved.
Redistribution and use in source and binary forms, ... | {
"pile_set_name": "Github"
} |
" Vim syntax file
" Language: WEB
" Maintainer: Andreas Scherer <andreas.scherer@pobox.com>
" Last Change: April 30, 2001
" Details of the WEB language can be found in the article by Donald E. Knuth,
" "The WEB System of Structured Documentation", included as "webman.tex" in
" the standard WEB distribution, available ... | {
"pile_set_name": "Github"
} |
import UIKit
import XCTest
import AlignedCollectionViewFlowLayout
class Tests: XCTestCase {
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method in the class.
}
override func tearDown() {
// Put teard... | {
"pile_set_name": "Github"
} |
syntax = "proto2";
package object_detection.protos;
// Configuration proto for SquareBoxCoder. See
// box_coders/square_box_coder.py for details.
message SquareBoxCoder {
// Scale factor for anchor encoded box center.
optional float y_scale = 1 [default = 10.0];
optional float x_scale = 2 [default = 10.0];
/... | {
"pile_set_name": "Github"
} |
%default { "load":"ldr", "sqnum":"0" }
%verify "executed"
%verify "null object"
%verify "field already resolved"
%verify "field not yet resolved"
%verify "field cannot be resolved"
/*
* General 32-bit instance field get.
*
* for: iget, iget-object, iget-boolean, iget-byte, iget-char, iget-short
... | {
"pile_set_name": "Github"
} |
<html>
<head>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script>
onload = function() {
var el;
while (el = document.querySelector("br")) {
el.remove();
}
focus();
document.body.focus();
getSelection().collapse(docume... | {
"pile_set_name": "Github"
} |
import { pkgName, pkgVer, moduleName, themeVer } from './../utils/lib-details';
import { install } from '@syncfusion/ej2-angular-base/schematics';
import { OptionsSchema, LibOptionsSchema } from './schema';
import { Rule } from '@angular-devkit/schematics';
export default function (options: OptionsSchema): Rule {
con... | {
"pile_set_name": "Github"
} |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
import hypothesis.strategies as st
import unittest
import caffe2.python.hypothesis_test_util as hu
from caffe2.python import core
from hypothesis import given
class TestResize(hu.Hypothesis... | {
"pile_set_name": "Github"
} |
# Zulu translation of Virtaal
# Copyright (C) 2008-2009 Zuza Software Foundation (Translate.org.za)
# This file is distributed under the same license as the Virtaal package.
# F Wolff <friedel@translate.org.za>, 2008, 2009
# abel <sedric@translate.org.za>, 2011.
#: ../virtaal/support/native_widgets.py:49
#: ../virtaal/... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2006-2008 The FLWOR Foundation.
*
* 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... | {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2009 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// 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 ob... | {
"pile_set_name": "Github"
} |
licenses(["unencumbered"])
cc_library(
name = "core",
hdrs = glob(["Core/Inc/*.h"]),
srcs = glob(["Core/Src/*.c"]),
strip_include_prefix = "Core/Inc/",
visibility = ["//visibility:public"]
)
| {
"pile_set_name": "Github"
} |
#!/bin/bash
set -ex
VERSION=$1
IMAGE_NAME="networknt/com.networknt.ac-1.0.0"
showHelp() {
echo " "
echo "Error: $1"
echo " "
echo " build.sh [VERSION]"
echo " "
echo " where [VERSION] version of the docker image that you want to publish (example: 0.0.1)"
echo " "
echo " exam... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2005, 2017, 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"
} |
package com.aptana.core.epl.downloader;
import static org.junit.Assert.assertEquals;
import org.junit.After;
import org.junit.Test;
public class FileInfoTest
{
private FileInfo info;
@After
public void tearDown() throws Exception
{
info = null;
}
@Test
public void test()
{
info = new FileInfo();
ass... | {
"pile_set_name": "Github"
} |
//Author: Kristo Kaas
//Ported for MSVC by: Brian Tegart
//
//Module name: SCCharacter.cpp
//Comes with: the GLPoem screensaver tutorial hosted at nehe.gamedev.net
//Copyright: see copyright.txt accompanying this source project
//Bugs/questions/suggestions/ideas: crispy@hot.ee
#include "SCCharacter.h"
TSCCharacter::T... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# Copyright 2019 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 to... | {
"pile_set_name": "Github"
} |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | {
"pile_set_name": "Github"
} |
package system
import (
"fmt"
"github.com/qiniu/logkit/metric"
. "github.com/qiniu/logkit/utils/models"
)
const (
TypeMetricMem = "mem"
MetricMemUsages = "内存(mem)"
// TypeMetricMem 信息中的字段
KeyMemTotal = "mem_total"
KeyMemAvailable = "mem_available"
KeyMemUsed = "mem_used"
Ke... | {
"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/. */
// Open options page
//
function openOptions() {
browser.runtime.openOptionsPage();
window.close();
}
// Open l... | {
"pile_set_name": "Github"
} |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/PhotosUICore.framework/PhotosUICore
*/
@interface PXCTFramesetter : NSObject {
NSAttributedString * _attributedString;
struct CGContext { } * _context;
const struct __CTFramesetter { } * _framesetter;
bool _prepared;
NSSha... | {
"pile_set_name": "Github"
} |
#
# Copyright (c) 2016 Armel Soro
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, dis... | {
"pile_set_name": "Github"
} |
# (C) Copyright 2005-2020 Enthought, Inc., Austin, TX
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in LICENSE.txt and may be redistributed only under
# the conditions described in the aforementioned license. The license
# is also available online at... | {
"pile_set_name": "Github"
} |
package com.fasterxml.util.membuf.misc;
import com.fasterxml.util.membuf.*;
import com.fasterxml.util.membuf.impl.ArrayBytesSegment;
import com.fasterxml.util.membuf.impl.ChunkyBytesMemBufferImpl;
/**
* Ability to auto-close buffers is sometimes handy; and to make this
* easier, as an orthogonal facility, one can u... | {
"pile_set_name": "Github"
} |
<a href='https://github.com/angular/angular.js/edit/v1.6.x/src/ng/q.js?message=docs($q)%3A%20describe%20your%20change...#L3' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.6.3/src/ng/q.js#L3' class='view-s... | {
"pile_set_name": "Github"
} |
# Created by: Dirk Jagdmann <doj@cubic.org>
# $FreeBSD$
PORTNAME= quilt
PORTVERSION= 0.65
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of bash scripts to ease working with patch files
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= bash:she... | {
"pile_set_name": "Github"
} |
// Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2015 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2015 Mateusz Loskot, London, UK.
// Copyright (c) 2014-2015 Samuel Debionne, Grenoble, France.
// This file... | {
"pile_set_name": "Github"
} |
---
title: "Installation: RHEL / Fedora / CentOS"
---
# RHEL / Fedora / CentOS Installation
**General dependencies**
sudo yum install protobuf-devel leveldb-devel snappy-devel opencv-devel boost-devel hdf5-devel
**Remaining dependencies, recent OS**
sudo yum install gflags-devel glog-devel lmdb-devel
**Re... | {
"pile_set_name": "Github"
} |
package scalafix.tests.config
import metaconfig.Conf
import metaconfig.Configured.NotOk
import metaconfig.Configured.Ok
import org.scalatest.funsuite.AnyFunSuite
import scalafix.internal.reflect.GitHubUrlRule
import scalafix.testkit.DiffAssertions
class GitHubUrlRuleSuite extends AnyFunSuite with DiffAssertions {
d... | {
"pile_set_name": "Github"
} |
package com.nike.riposte.componenttest;
import com.nike.backstopper.apierror.ApiError;
import com.nike.backstopper.apierror.ApiErrorBase;
import com.nike.backstopper.exception.ApiException;
import com.nike.riposte.client.asynchttp.ning.AsyncHttpClientHelper;
import com.nike.riposte.client.asynchttp.ning.RequestBuilder... | {
"pile_set_name": "Github"
} |
package com.tencent.mm.plugin.appbrand.dynamic.d;
import android.os.Bundle;
import android.view.View;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.ipcinvoker.c;
import com.tencent.mm.ipcinvoker.extension.XIPCInvoker;
import com.tencent.mm.ipcinvoker.h.b;
import com.tencent.mm.kernel.g;
imp... | {
"pile_set_name": "Github"
} |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "657ab43f.jpg",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
} | {
"pile_set_name": "Github"
} |
subroutine call_mod
use mymodule
use my_module
call mysub()
call my_sub()
end subroutine call_mod
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="vi" version="2.1">
<context>
<name>ReminderDialog</name>
<message>
<location filename="../src/dialogs/reminderdialog.cpp" line="35"/>
<source>Restart the computer to use the system and the applications properly</source>
<translation>Khởi đ... | {
"pile_set_name": "Github"
} |
package com.dianping.cat.report.page.matrix;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import com.dianping.cat.Cat;
import com.dianping.cat.consumer.matrix.model.entity.Matrix;
import com.dianping.cat.c... | {
"pile_set_name": "Github"
} |
// Copyright 2018 The tiglabs raft 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... | {
"pile_set_name": "Github"
} |
require_relative '../../spec_helper'
require 'bigdecimal'
describe "BigDecimal#+@" do
it "returns the same value with same sign (twos complement)" do
first = BigDecimal("34.56")
first.send(:+@).should == first
second = BigDecimal("-34.56")
second.send(:+@).should == second
third = BigDecimal("0.0... | {
"pile_set_name": "Github"
} |
=head1 Pogo Design Guidelines
This week, I took a look at the current code base, both OSS pogo and YPogo, and
thought about how we can better structure OSS Pogo to arrive at a more robust
code base than what we have now.
I think the high-level architecture as a whole (dispatcher/zookeeper/workers)
is solid, but what ... | {
"pile_set_name": "Github"
} |
#
# tk/canvastag.rb - methods for treating canvas tags
#
require 'tk'
require 'tk/tagfont'
module TkcTagAccess
include TkComm
include TkTreatTagFont
end
require 'tk/canvas'
module TkcTagAccess
def addtag(tag)
@c.addtag(tag, 'withtag', @id)
self
end
def bbox
@c.bbox(@id)
end
#def bind(seq,... | {
"pile_set_name": "Github"
} |
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source,
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
// SPDX - License - Identifier: GPL - 3.0 ... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2004-2020 H2 Group. Multiple-Licensed under the MPL 2.0,
* and the EPL 1.0 (https://h2database.com/html/license.html).
* Initial Developer: H2 Group
*/
package org.h2.engine;
import java.sql.ResultSet;
/**
* Constants are fixed values that are used in the whole database code.
*/
public class Cons... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2018 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | {
"pile_set_name": "Github"
} |
module Workarea
module Storefront
class PersonalizedRecommendationsViewModel < RecommendationsViewModel
def product_ids
Recommendation::UserActivityBased.new(model).results
end
def result_count
Workarea.config.personalized_recommendations_count
end
end
end
end
| {
"pile_set_name": "Github"
} |
---
title: FuncConvert.ToFSharpFunc<'T> Method (F#)
description: FuncConvert.ToFSharpFunc<'T> Method (F#)
keywords: visual f#, f#, functional programming
author: dend
manager: danielfe
ms.date: 05/16/2016
ms.topic: language-reference
ms.prod: visual-studio-dev14
ms.technology: devlang-fsharp
ms.assetid: e309d96c-65ed-4... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2015, Cisco Systems
// 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 condi... | {
"pile_set_name": "Github"
} |
Music_PostCredits:
channel_count 2
channel 1, Music_PostCredits_Ch1
channel 2, Music_PostCredits_Ch2
db $2 ; unused
Music_PostCredits_Ch1:
tempo 271
volume 7, 7
transpose 0, 3
duty_cycle 2
note_type 12, 9, 3
rest 8
.mainloop:
octave 3
note C_, 2
note E_, 2
note G_, 2
octave 4
note C_, 2
note E_, 2
v... | {
"pile_set_name": "Github"
} |
/****************************************************************************
*
* Filename: cpia2_core.c
*
* Copyright 2001, STMicrolectronics, Inc.
* Contact: steve.miller@st.com
*
* Description:
* This is a USB driver for CPia2 based video cameras.
* The infrastructure of this driver is base... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ This file is part of the PhotoEditor Software Development Kit.
~
~ Copyright (C) 2017 9elements GmbH <contact@9elements.com>
~ All rights reserved.
~
~ Redistribution and use in source and binary forms, without
~ modification, are permitted provided that the f... | {
"pile_set_name": "Github"
} |
# ncp - Asynchronous recursive file & directory copying
[](http://travis-ci.org/AvianFlu/ncp)
Think `cp -r`, but pure node, and asynchronous. `ncp` can be used both as a CLI tool and programmatically.
## Command Line usage
Usage is simple: `ncp [source]... | {
"pile_set_name": "Github"
} |
// Copyright 2009 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 tar implements access to tar archives.
// It aims to cover most of the variations, including those produced
// by GNU and BSD tars.
//
// References:... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2008, Google 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditi... | {
"pile_set_name": "Github"
} |
#pragma once
#include <functional>
#include <map>
#include <memory>
#include <QWidget>
#include <agz/editor/imexport/asset_loader.h>
#include <agz/editor/imexport/asset_saver.h>
#include <agz/editor/resource/entity_interface.h>
#include <agz/editor/resource/thumbnail_provider.h>
#include <agz/tracer/utility/config.h... | {
"pile_set_name": "Github"
} |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
<title>Заголовок</title>
</head>
<body><table width=800><tr><td>
<center>
<h1>Описание AntiDupl.NET</h1>
</center>
</td></tr></table></body>
</html>
| {
"pile_set_name": "Github"
} |
/*
* Seldon -- open source prediction engine
* =======================================
*
* Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/)
*
* ********************************************************************************************
*
* Licensed under the Apache License, V... | {
"pile_set_name": "Github"
} |
"""Filters for processing ANSI colors within Jinja templates."""
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
import re
from nbconvert.filters.latex import escape_latex
__all__ = ["ansi2listings"]
_ANSI_RE = re.compile("\x1b\\[(.*?)([@-~])")
_ANSI_COLORS = (... | {
"pile_set_name": "Github"
} |
/*
* rewardadddialog.h
* Copyright 2017 - ~, Apin <apin.klas@gmail.com>
*
* This file is part of Sultan.
*
* 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... | {
"pile_set_name": "Github"
} |
import threading
from impacket.smb3structs import FILE_READ_DATA
from ar3.core.smb import SmbCon
from ar3.pysmb.smb import smb_connect
from ar3.helpers.remotefile import RemoteFile
from ar3.ops.enum.file_parser.parse_docx import parse_docx
from ar3.ops.enum.file_parser.parse_xlsx import parse_xlsx
from ar3.ops.enum.fi... | {
"pile_set_name": "Github"
} |
//
// NSAlert+MKNKAdditions.m
// MKNetworkKit
//
// Created by Mugunth Kumar (@mugunthkumar) on 11/11/11.
// Copyright (C) 2011-2020 by Steinlogic Consulting and Training Pte Ltd
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2008-2020, Hazelcast, 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 ... | {
"pile_set_name": "Github"
} |
---
blog: 'https://imply.io/blog'
github: implydata
linkedin: 'https://linkedin.com/company/imply'
logohandle: implyio
sort: imply
title: Imply
twitter: implydata
website: 'https://imply.io/'
---
| {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 -fsyntax-only -verify -fblocks -std=c++11 -Wimplicit-fallthrough %s
void fallthrough_in_blocks() {
void (^block)() = ^{
int x = 0;
switch (x) {
case 0:
x++;
[[clang::fallthrough]]; // no diagnostics
case 1:
x++;
default: // \
expected-warning{{unannota... | {
"pile_set_name": "Github"
} |
/* Copyright (c) 2012 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 to... | {
"pile_set_name": "Github"
} |
t2796.scala:11: warning: early type members are deprecated. Move them to the regular body: the semantics are the same.
type X = Int // warn
^
t2796.scala:7: warning: Implementation restriction: early definitions in traits are not initialized before the super class is initialized.
val ab... | {
"pile_set_name": "Github"
} |
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
if true {
{
protocol e {
enum k {
class
case ,
| {
"pile_set_name": "Github"
} |
namespace CSharpMath.Atom.Atoms {
/// <summary>A placeholder for future input</summary>
public sealed class Placeholder : MathAtom {
public Placeholder(string nucleus) : base(nucleus) { }
public override bool ScriptsAllowed => true;
public new Placeholder Clone(bool finalize) => (Placeholder)base.Clone(... | {
"pile_set_name": "Github"
} |
--- Lib/ctypes/macholib/dyld.py.orig 2008-02-21 11:52:20.000000000 -0700
+++ Lib/ctypes/macholib/dyld.py 2009-10-11 02:42:21.000000000 -0600
@@ -26,7 +26,7 @@
DEFAULT_LIBRARY_FALLBACK = [
os.path.expanduser("~/lib"),
- "/usr/local/lib",
+ "@@PREFIX@@/lib",
"/lib",
"/usr/lib",
]
| {
"pile_set_name": "Github"
} |
#!/bin/sh
if [ -z $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=@ct_libdir@
else
LD_LIBRARY_PATH=@ct_libdir@:$LD_LIBRARY_PATH
fi
export LD_LIBRARY_PATH
if [ -z $PKG_CONFIG_PATH ]; then
PKG_CONFIG_PATH=@ct_libdir@/pkgconfig
else
PKG_CONFIG_PATH=@ct_libdir@/pkgconfig:$PKG_CONFIG_PATH
fi
export PKG_CONFIG_PAT... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.3) on Sun Mar 29 22:42:10 IST 2020 -->
<title>Uses of Class com.googlecode.cqengine.resultset.common.NoSuchObjectException (CQEngine 3.5.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name=... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" co... | {
"pile_set_name": "Github"
} |
## Bulk import testing
- Thinkpad T470 i5 processor (Ubuntu 18.04)
- python 3.8.1
- Postgres 10 (docker container)
### Install dependencies
```bash
# create venv and install django-import-export dependencies
pip install memory-profiler
```
### Create Postgres DB
```bash
export IMPORT_EXPORT_TEST_TYPE=postgres
expo... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
class LicenseeCLI < Thor
desc 'license-path [PATH]', "Returns the path to the given project's license file"
def license_path(_path)
if project.license_file
if remote?
say project.license_file.path
else
say File.expand_path project.license_file.path
... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.