text stringlengths 2 99k | meta dict |
|---|---|
package request
import (
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
)
// Retryer is an interface to control retry logic for a given service.
// The default implementation used by most services is the service.DefaultRetryer
// structure, which contains basic retry logic using exp... | {
"pile_set_name": "Github"
} |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.envers.query.criteria;
import org.hibernate.envers.query.cri... | {
"pile_set_name": "Github"
} |
#ifndef BOOST_MPL_AUX_ERASE_KEY_IMPL_HPP_INCLUDED
#define BOOST_MPL_AUX_ERASE_KEY_IMPL_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// 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)
//
// See http://... | {
"pile_set_name": "Github"
} |
#Copyright ReportLab Europe Ltd. 2000-2012
#see license.txt for license details
#history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/graphics/renderbase.py
__version__=''' $Id $ '''
__doc__='''Superclass for renderers to factor out common functionality and default implementations.''... | {
"pile_set_name": "Github"
} |
// Copyright 2011 Google Inc. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package uuid
import (
guuid "github.com/google/uuid"
)
// NodeInterface returns the name of the interface from which the NodeID was
// derived. The interface "... | {
"pile_set_name": "Github"
} |
/*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... | {
"pile_set_name": "Github"
} |
## 仿酷安客户端的主题切换动画效果
### 博客详情: http://blog.csdn.net/u011387817/article/details/79604418
### 使用方式:
#### 添加依赖:
```
implementation 'com.wuyr:rippleanimation:1.0.0'
```
### APIs:
|Method|Description|
|------|-----------|
|create(View onClickView)|创建动画对象(静态方法)|
|setDuration(long duration)|设置动画时长|
|setOnAnimationEndListener(... | {
"pile_set_name": "Github"
} |
"""
0
"""
import System
import System.Threading.Tasks
import System.Collections.Generic
import System.Threading
class TestCase:
public static Count = 0
public static def Foo[of T](t as T) as T:
return t
[async] public static def Bar[of T](t as T) as Task[of T]:
await Task.Delay(1)
... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 9 2015 22:53:21).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2014 by Steve Nygard.
//
#import <Cocoa/NSObject.h>
@class CALayer, HUDButton, IPEdgeBox, IPKSegmentedControl, IPMarimbaHUDView, IPMarimbaHUDWindow, IPMarimbaM... | {
"pile_set_name": "Github"
} |
Certified
=========
It's a scary Internet out there. All your company's internal apps and service-to-service communication should be encrypted. Certified will help you generate all the certificates you need to make that happen.
Installation
------------
```sh
sudo apt-get install ruby-ronn
sudo make install
```
F... | {
"pile_set_name": "Github"
} |
// Validation errors messages for Parsley
import Parsley from '../parsley';
Parsley.addMessages('pt-pt', {
defaultMessage: "Este valor parece ser inválido.",
type: {
email: "Este campo deve ser um email válido.",
url: "Este campo deve ser um URL válido.",
number: "Este campo deve ... | {
"pile_set_name": "Github"
} |
---
layout: post
title: 'FEX 技术周刊 - 2019/06/10'
author: zhangzhao
tag: weekly
---
## 业界会议
**WWDC 2019**
https://developer.apple.com/wwdc19/
亮点不多,值得关注:
- [SwiftUI](https://developer.apple.com/xcode/swiftui/)
- [Sign In with Apple](https://developer.apple.com/sign-in-with-apple/)
- [iPadOS 体验:走出 iOS,iPad 终于能取代 PC 了... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2018 Cisco and/or its affiliates.
# 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 ag... | {
"pile_set_name": "Github"
} |
\begin{matrix}
{x - \frac{a}{b}x} \\
{x - \frac{1}{b}x} \\
{x - \frac{1}{2}x} \\
{x - \frac{1^{2}}{z}x} \\
{x - \frac{z}{1^{2}}x} \\
\end{matrix}
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
</selector> | {
"pile_set_name": "Github"
} |
package org.skyscreamer.yoga.exceptions;
/**
* This exception is thrown when the maximum number of entities for a request is exceeded.
*
* @author Carter Page <carter@skyscreamer.org>
* @see org.skyscreamer.yoga.mapper.HierarchicalModelEntityCounter
*/
@SuppressWarnings("serial")
public class EntityCou... | {
"pile_set_name": "Github"
} |
{
"entries": [
{
"content": {
"type": "html",
"value": "<p>Entry Content</p>"
}
}
],
"version": "1.0"
}
| {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2017 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"
} |
/*
* Copyright (c) 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"
} |
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types.go
// +build arm64
package pty
type (
_C_int int32
_C_uint uint32
)
| {
"pile_set_name": "Github"
} |
/*
Copyright (C) 2018-2019 de4dot@gmail.com
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,
distr... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright (C) 2013 The Android Open Source Project
*
* 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/LIC... | {
"pile_set_name": "Github"
} |
/*
Lizard auto-framing library
Copyright (C) 2011-2016, Yann Collet
Copyright (C) 2016-2017, Przemyslaw Skibinski
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditi... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | {
"pile_set_name": "Github"
} |
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
</ItemGroup>
<ItemGroup>
</ItemGroup>
<ItemGroup>
</ItemGroup>
</Project> | {
"pile_set_name": "Github"
} |
# This file is distributed under the same license as the Django package.
#
msgid ""
msgstr ""
"Project-Id-Version: Django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-03-15 13:14-0400\n"
"PO-Revision-Date: 2011-03-11 10:40+0000\n"
"Last-Translator: nmariz <nmariz@gmail.com>\n"
"Language-Team: Portuguese <>\n"... | {
"pile_set_name": "Github"
} |
// making sidebar stick when touching footer
// this improves the visual experience while interacting with the docs site
(function () {
window.addEventListener('load', function () {
var footer = document.querySelector('.footer');
var sidebar = document.querySelector('.sidebar');
var defaultSectionName = '... | {
"pile_set_name": "Github"
} |
package lru_cache;
import java.util.LinkedHashMap;
import java.util.Map;
public class LRUCache {
private LinkedHashMap<Integer, Integer> map;
@SuppressWarnings("serial")
public LRUCache(final int capacity) {
assert capacity > 0;
map = new LinkedHashMap<Integer, Integer>(16, 0.75f, true) {... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) International Business Machines Corp., 2000-2004
* Portions Copyright (C) Christoph Hellwig, 2001-2002
*
* 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; eithe... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0-only
/*
* AMD Cryptographic Coprocessor (CCP) driver
*
* Copyright (C) 2016,2019 Advanced Micro Devices, Inc.
*
* Author: Gary R Hook <gary.hook@amd.com>
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
'''
this file is to convert pascal to tfrecord
'''
import numpy as np
import cv2
import os, sys
import tensorflow as tf
import xml.etree.cElementTree as ET
from libs.label_name_dict.label_dict import NAME_LABEL_MAP
tf.app.flags.DEFINE_string('VOC_dir', '/home/yjr/DataSet/VOC', 'Voc dir ')
FL... | {
"pile_set_name": "Github"
} |
/*
Copyright 2016 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"
} |
/*
Copyright 2018 MBT 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, software
distr... | {
"pile_set_name": "Github"
} |
// Copyright 2018 Google LLC 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 l... | {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2009-2012 the original author or authors.
* See the notice.md file distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | {
"pile_set_name": "Github"
} |
// Unary Minus
// Author: Gergo Barany
// Date: 07-August-2007
#include "rose.h"
#include "compass.h"
#ifndef COMPASS_UNARY_MINUS_H
#define COMPASS_UNARY_MINUS_H
namespace CompassAnalyses
{
namespace UnaryMinus
{
/*! \brief Unary Minus: Add your description here
*/
ext... | {
"pile_set_name": "Github"
} |
<html>
<head>
<script language="javascript" type="text/javascript" src="//cdn.jsdelivr.net/p5.js/0.3.11/p5.min.js"></script>
<script language="javascript" type="text/javascript" src="//cdn.jsdelivr.net/p5.js/0.3.11/addons/p5.dom.js"></script>
<script language="javascript" type="text/javascript" src="sketch.js"></... | {
"pile_set_name": "Github"
} |
################################################################################
#
# gauche
#
################################################################################
GAUCHE_VERSION = 0.9.5
GAUCHE_SOURCE = Gauche-$(GAUCHE_VERSION).tgz
GAUCHE_SITE = http://downloads.sourceforge.net/project/gauche/Gauche
GAUCHE_... | {
"pile_set_name": "Github"
} |
///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
@class DBFILESHighlightSpan;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `HighlightSpan` struct.
///
/// This cla... | {
"pile_set_name": "Github"
} |
// license:GPL-2.0+
// copyright-holders:DICE Team,couriersud
NETLIST_EXTERNAL(pongdoubles)
| {
"pile_set_name": "Github"
} |
(function () {
// Append the safeHTML polyfill
var scriptElem = document.createElement('script');
scriptElem.setAttribute('src', 'scripts/winstore-jscompat.js');
if (document.body) {
document.body.appendChild(scriptElem);
} else {
document.head.appendChild(scriptElem);
}
}()); | {
"pile_set_name": "Github"
} |
import { hbs } from 'ember-cli-htmlbars';
import { module, test } from 'qunit';
import { setupIntegrationTest } from 'open-event-frontend/tests/helpers/setup-integration-test';
import { render } from '@ember/test-helpers';
module('Integration | Component | sponsor item', function(hooks) {
setupIntegrationTest(hooks)... | {
"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"
} |
# This file is distributed under the same license as the Django package.
#
# Translators:
# Machaku <bmachaku@gmail.com>, 2012-2014
# Machaku <bmachaku@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: django\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-05-17 23:12+0200\n"
"PO-Revision-Date: 2016-08-09... | {
"pile_set_name": "Github"
} |
# -----------------------------------------------------------------------
# Copyright: 2010-2018, imec Vision Lab, University of Antwerp
# 2013-2018, CWI, Amsterdam
#
# Contact: astra@astra-toolbox.com
# Website: http://www.astra-toolbox.com/
#
# This file is part of the ASTRA Toolbox.
#
#
# The ASTRA Toolbo... | {
"pile_set_name": "Github"
} |
import { NonUndefined } from 'utility-types'
import { ArrayExt, StringExt, ObjectExt, FunctionExt } from '../util'
import { Rectangle, Point } from '../geometry'
import { KeyValue, Size } from '../types'
import { Basecoat } from '../common'
import { Attr } from '../registry'
import { Markup, CellView } from '../view'
i... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) Lightbend Inc. <https://www.lightbend.com>
*/
package play.api.db
import java.sql.Connection
/**
* Defines isolation levels that determines the degree to which one transaction must be isolated from resource or data modifications made by other operations.
*
* @param id the transaction isolatio... | {
"pile_set_name": "Github"
} |
<template>
<v-card>
<a-alert
message="输入内容格式化"
description="示例中展示了the-mask结合antd的表单一起使用"
type="info"
showIcon
/>
<div>
<a-form :form="form">
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
label="手机号"
>... | {
"pile_set_name": "Github"
} |
#!/bin/bash
################################################################################
## Runs builds only if a specific file/directory has been updated in the latest
## commit.
##
## Usage
## -----
## do_build package-name path/to/file/to/check
####################################################################... | {
"pile_set_name": "Github"
} |
# Only update yggdrasil once
yggdrasil_updated = false
function get_yggdrasil()
# TODO: Eventually, we want to use a Pkg cache to store Yggdrasil,
# but since that doens't exist yet, we'll stick it into `deps`:
yggdrasil_dir = abspath(joinpath(@__DIR__, "..", "..", "deps", "Yggdrasil"))
if !isdir(yggdr... | {
"pile_set_name": "Github"
} |
BEGIN { f() }
function f( a, b)
{
a = b()
}
| {
"pile_set_name": "Github"
} |
#include "t.h"
/* Looking up capabilities in the entry already found. */
/* The pointer to the data made by tgetent is left here
for tgetnum, tgetflag and tgetstr to find. */
char *termcap_term_entry;
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | {
"pile_set_name": "Github"
} |
import { TodoItemModel } from "./TodoItemModel";
const item = new TodoItemModel({
title: "未完了のTodoアイテム",
completed: false
});
const completedItem = new TodoItemModel({
title: "完了済みのTodoアイテム",
completed: true
});
// それぞれの`id`は異なる
console.log(item.id !== completedItem.id); // => true
| {
"pile_set_name": "Github"
} |
/* @flow */
(process.allowedNodeEnvironmentFlags: Set<string>);
(process.allowedNodeEnvironmentFlags: string); // error
| {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 9 2015 22:53:21).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2014 by Steve Nygard.
//
#import <Cocoa/NSObject.h>
#import "NSOpenSavePanelDelegate-Protocol.h"
@class NSString;
@interface IPFileValidator : NSObject <NSOp... | {
"pile_set_name": "Github"
} |
// The MIT License (MIT)
// Copyright 2015 Siney/Pangweiwei siney@yeah.net
//
// 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 right... | {
"pile_set_name": "Github"
} |
(hardcore-mode :fetcher github :repo "magnars/hardcore-mode.el")
| {
"pile_set_name": "Github"
} |
/*
* Hibernate Search, full-text search for your domain model
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.search.query.dsl.impl;
import org.hibernate.search.bridg... | {
"pile_set_name": "Github"
} |
/*!
* Font Awesome 4.7.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.7.0');
src: ur... | {
"pile_set_name": "Github"
} |
require('../../modules/es7.string.pad-start');
module.exports = require('../../modules/_core').String.padStart;
| {
"pile_set_name": "Github"
} |
package binding
import (
"bytes"
"io/ioutil"
"testing"
"github.com/go-ego/ego/mid/binding/example"
"github.com/golang/protobuf/proto"
"github.com/stretchr/testify/assert"
"github.com/ugorji/go/codec"
)
func TestBindingBody(t *testing.T) {
for _, tt := range []struct {
name string
binding BindingBody
... | {
"pile_set_name": "Github"
} |
{
"name": "@bbc/psammead-image-placeholder",
"version": "1.2.43",
"main": "dist/index.js",
"module": "esm/index.js",
"sideEffects": false,
"description": "Provides a 'BBC' image placeholder",
"repository": {
"type": "git",
"url": "https://github.com/bbc/psammead/tree/latest/packages/components/psa... | {
"pile_set_name": "Github"
} |
package aQute.bnd.osgi.repository;
import aQute.bnd.osgi.resource.PersistentResource;
public class PersistentResourcesRepository {
static class ResourceDTO {
public String path;
public long modified;
public PersistentResource resource;
}
// private PersistentMap<ResourceDTO> map;
}
| {
"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"
} |
package com.appolica.flubber.utils;
import android.content.Context;
import android.content.res.Resources;
import android.util.DisplayMetrics;
import android.view.Display;
import android.view.WindowManager;
public class DimensionUtils {
public static float dp2px(int dp) {
return dp * getDensity();
}
... | {
"pile_set_name": "Github"
} |
/**
* Do not edit this file. Any changes will be overwritten by the gamedata
* updater or by upgrading your AMX Mod X install.
*
* To override data in this file, create a subdirectory named "custom" and
* place your own gamedata file(s) inside of it. Such files will be parsed
* after AMXX's own.
*
* For more ... | {
"pile_set_name": "Github"
} |
/***************************************************************************/
/* */
/* afloader.c */
/* */
/* Au... | {
"pile_set_name": "Github"
} |
###############################################################################
#
# This file is part of CMake configuration for SOCI library
#
# Copyright (C) 2011 Denis Chapligin
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LIC... | {
"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 ma... | {
"pile_set_name": "Github"
} |
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
bsp: csb337
build-type: bsp
cflags: []
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
cppflags: []
enabled-by: true
family: csb337
includes: []
install: []
links:
- role: build-dependency
uid: grp
- role: build-depe... | {
"pile_set_name": "Github"
} |
{
"meta": {
"code": 200
},
"data": {
"outgoing_status": "none",
"incoming_status": "requested_by"
}
} | {
"pile_set_name": "Github"
} |
# CoreShop Automation
In CoreShop there are several automation mechanism implemented.
## Order Cancellation
> Execution Time: Once per day via maintenance job
CoreShop will automatically cancel orders older than `20` days.
#### Change Orders Expiration Date
```yml
core_shop_order:
expiration:
order:
... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Office365ActivationsUserCounts File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright © Microsoft Corporation. All rights ... | {
"pile_set_name": "Github"
} |
/***********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2016, International Business Machines Corporation
* and others. All Rights Reserved.
***********************************************************************/
#include "unicode/utypes.h"
#if !UCONFIG_NO_FOR... | {
"pile_set_name": "Github"
} |
// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Flags: --allow-natives-syntax
'use strict';
(function TestMaps() {
class Base {}
class Derived extends Base {}
let d1 = new Derived();
le... | {
"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"
} |
FROM dockersamples/aspnet-monitoring-prometheus:2.3.1-windowsservercore-ltsc2019
COPY prometheus.yml /etc/prometheus/prometheus.yml | {
"pile_set_name": "Github"
} |
import { css, memoizeStyle } from '../../lib/theming/Emotion';
const styles = {
wrapper() {
return css`
overflow: hidden;
position: absolute;
pointer-events: none;
`;
},
};
export const jsStyles = memoizeStyle(styles);
| {
"pile_set_name": "Github"
} |
package org.sandrob.bouncycastle.crypto.tls;
import java.security.SecureRandom;
class TlsClientContextImpl implements TlsClientContext
{
private SecureRandom secureRandom;
private SecurityParameters securityParameters;
private Object userObject = null;
TlsClientContextImpl(SecureRandom secureRandom,... | {
"pile_set_name": "Github"
} |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* 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://mozil... | {
"pile_set_name": "Github"
} |
! -*- f90 -*-
!
! Copyright (c) 2010-2011 Cisco Systems, Inc. All rights reserved.
! Copyright (c) 2009-2012 Los Alamos National Security, LLC.
! All rights reserved.
! Copyright (c) 2018 Research Organization for Information Science
! and Technology (RIST). All ri... | {
"pile_set_name": "Github"
} |
import notify from 'common/notify';
let utils = {
divition(x, y) {
return Math.round(Math.round(x * 1000) / Math.round(y * 1000) * 1000) / 1000;
},
multiple(x, y) {
return Math.round(Math.round(x * 100) * Math.round(y * 100)) / 10000;
},
subtract(x, y) {
return Math.round(Math.round(x * 1000) - M... | {
"pile_set_name": "Github"
} |
name: Watch Docs Previews
on:
schedule:
- cron: "0 * * * *"
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/watch-previews
with:
token: ${{ secrets.ACTIONS_TOKEN }}
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="pluginSchema"
xmlns:gml="http://www.opengis.net/gml"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="pluginSchema /data/capabilities/validate/pluginSchema.xsd">
<name>Polygon Boundary Covers Line</... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
#
# Test a "one-armed router" [1] scenario. Packets forwarded between H1 and H2
# should be forwarded by the ASIC, but also trapped so that ICMP redirect
# packets could be potentially generated.
#
# 1. https://en.wikipedia.org/wiki/One-armed_router
#
# +------------------... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2006 Sony Computer Entertainment Inc.
*
* Licensed under the SCEA Shared Source License, Version 1.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://research.scea.com/scea_shared_source_license.html
*
* Unless re... | {
"pile_set_name": "Github"
} |
// Copyright 2015 Matthew Holt and The Caddy 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 applicab... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2015-2020 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 "licen... | {
"pile_set_name": "Github"
} |
package org.opentripplanner.mmri;
import org.junit.Ignore;
import org.opentripplanner.model.plan.Leg;
/**
* TODO OTP2 - Test is too close to the implementation and will need to be reimplemented.
*/
@Ignore
public class AllModesAndAgenciesTest extends MmriTest {
@Override
public final String getFeedName() {
... | {
"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/. */
/**
* Attached clients are OAuth apps and devices
*
* It sorts items in order that is defined in FxA-89 feature... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\..\jni\libjpeg\jdhuff.c" />
<ClCompile Include="..\..\jni\libjpeg\jdinput.c" />
<ClCompile Include="..\..\jni\libjpeg\jdmainct.c" />
... | {
"pile_set_name": "Github"
} |
import * as R from 'ramda'
/**
* Accepts an object and returns a list of its leaves.
*/
// const getLeaves = when(
// is(Object),
// compose(
// (vals) => chain(getLeaves, vals),
// values,
// ),
// )
const createLeavesGetter = (predicate) => {
return R.ifElse(
R.allPass([R.complement(R.is(Funct... | {
"pile_set_name": "Github"
} |
<html>
<head>
</head>
<body>
<!--fe78440e-e0fe-4efb-881d-264a01be483c-->
<p style="margin-top: 10; font-size: 9px; font-family: Tahoma;"><b>Indicator: </b>Commodity Channel Index (CCI)</p>
<p style="margin-top: 10; font-size: 9px; font-family: Tahoma;"><b>Usage: </b>Detect BUY signal</p> ... | {
"pile_set_name": "Github"
} |
package pflag
import (
"fmt"
"strconv"
)
// -- float64 Value
type float64Value float64
func newFloat64Value(val float64, p *float64) *float64Value {
*p = val
return (*float64Value)(p)
}
func (f *float64Value) Set(s string) error {
v, err := strconv.ParseFloat(s, 64)
*f = float64Value(v)
return err
}
func (f... | {
"pile_set_name": "Github"
} |
// Copyright 2011-2016 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | {
"pile_set_name": "Github"
} |
from pm4py.algo.filtering.pandas.end_activities import end_activities_filter
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platfor... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright (c) 2012, Jean-David Gadina - www.xs-labs.com
* All rights reserved.
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organization
* obtain... | {
"pile_set_name": "Github"
} |
# Request -- Simplified HTTP client
[](https://nodei.co/npm/request/)
## Super simple to use
Request is designed to be the simplest way possible to make http calls. It supports HTTPS and follows redirects by default.
```javascript
var request = require('request');
request('ht... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.