text stringlengths 2 99.9k | meta dict |
|---|---|
// Copyright 2010 the V8 project authors. 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 ... | {
"pile_set_name": "Github"
} |
/* dojox.mobile.IconMenu */
.mblIconMenu {
width: 100%;
height: 100%;
border-radius: 6px;
text-align: center;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
padding: 0;
background-color: rgba(64, 64, 64, 0.85);
border: 2px solid #eeeeee;
}
/* dojox.mobile.IconMenuItem */
.mblIconMenuItem {
float... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<LanguageData>
<!-- Ammo -->
<Ammo_410Bore_Buck.label>патрон .410 калибра (картечь)</Ammo_410Bore_Buck.label>
<Ammo_410Bore_Buck.description>Патрон дробовика малого калибра. Его небольшой диаметр позволяет стрелять из разного огнестрельного оружия, что и патрон.45 Кольт.<... | {
"pile_set_name": "Github"
} |
/*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Authors: Thoralf Klein, Pan Deng, Soumyajit De, Bjoern Esser, Viktor Gal
*/
#include <gtest/gtest.h>
#include <shogun/lib/config.h>
#include <shogun/mathematics/linalg/linop/DenseMatrixOperator.h>
#include <shogun/mathematics/li... | {
"pile_set_name": "Github"
} |
/**
* Copyright 2015-2016 Red Hat, Inc, and individual contributors.
*
* 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 require... | {
"pile_set_name": "Github"
} |
declare type char = string;
declare type byte = number;
declare type int = number;
declare type long = number;
declare type float = number;
declare type double = number;
declare function getNbt(entity: mc.entity.Entity | mc.item.ItemStack): any;
declare function setNbt(entity: mc.entity.Entity | mc.item.ItemStack, da... | {
"pile_set_name": "Github"
} |
" Vim global plugin for using arrows to navigate file lists and tabs
" Last change: Wed Dec 21 21:41:19 AEDT 2016
" Maintainer: Damian Conway
" License: This file is placed in the public domain.
" If already loaded, we're done...
if exists("loaded_arrnav")
finish
endif
let loaded_arrnav = 1
" Preserve externa... | {
"pile_set_name": "Github"
} |
### 850. Rectangle Area II
题目:
https://leetcode.com/problems/rectangle-area-ii/
难度:
Hard
题意:
1. 给n个矩阵,求这n个矩阵覆盖的区域面积有多大
思路:
- 把x坐标和y坐标id化,将n个矩阵覆盖的区域分成r*c个小矩阵,这些小矩阵的距离都可以不相等
- 遍历所有的矩阵,把这些小矩阵填充满
- 遍历小矩阵,统计面积
- 复杂度是o(n^3)
- 这个题目可以将x坐标id化后,构建线段树来查询和更新面积区域,复杂度可以降为o(n^2logn),当n>=1000使用
代码:
```java
class Solution {
... | {
"pile_set_name": "Github"
} |
/*
* [The "BSD license"]
* Copyright (c) 2012 Terence Parr
* Copyright (c) 2012 Sam Harwell
* 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... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
#
# GPL License and Copyright Notice ============================================
# This file is part of Wrye Bash.
#
# Wrye Bash 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; eit... | {
"pile_set_name": "Github"
} |
/* RenderEvent.java
Purpose:
Description:
History:
Sat Jan 31 23:11:53 2009, Created by tomyeh
Copyright (C) 2008 Potix Corporation. All Rights Reserved.
This program is distributed under LGPL Version 2.1 in the hope that
it will be useful, but WITHOUT ANY WARRANTY.
*/
package org.zkoss.zul.event;
im... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright 2016 gRPC 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 agree... | {
"pile_set_name": "Github"
} |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (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.mozilla.org/NP... | {
"pile_set_name": "Github"
} |
var isArguments = require('../lang/isArguments'),
isArray = require('../lang/isArray'),
isLength = require('./isLength'),
isObjectLike = require('./isObjectLike');
/**
* The base implementation of `_.flatten` with added support for restricting
* flattening and specifying the start index.
*
* @private
... | {
"pile_set_name": "Github"
} |
{
"word": "Freestyle",
"definitions": [
"A freestyle contest, in particular a swimming race in which competitors may use any stroke."
],
"parts-of-speech": "Noun"
} | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright (c) 2019 Infostretch Corporation
*
* 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 with... | {
"pile_set_name": "Github"
} |
//===----------------------------------------------------------------------===//
//
// 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"
} |
/*
* Copyright (C) 2010-2018 JPEXS, All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later versi... | {
"pile_set_name": "Github"
} |
import UIKit
class Pep: UIViewController {
let boy : String
@IBOutlet var name : UILabel!
@IBOutlet var pic : UIImageView!
@IBInspectable var boyName : String = "Manny"
init(pepBoy boy:String) {
self.boy = boy
super.init(nibName: nil, bundle: nil)
}
req... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2014 MovingBlocks
*
* 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"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9d1de2691495b... | {
"pile_set_name": "Github"
} |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | {
"pile_set_name": "Github"
} |
<p>When implementing operator overloads, it is very important to make sure that all related operators and methods are consistent in their
implementation.</p>
<p>The following guidelines should be followed:</p>
<ul>
<li> When providing <code>operator ==</code> you should also provide <code>operator !=</code> and vice-... | {
"pile_set_name": "Github"
} |
/*
* bcmwpa.h - interface definitions of shared WPA-related functions
*
* Copyright (C) 2010, Broadcom Corporation
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
* the contents of this file may not be disclosed to third parties, copied
* or duplicated in any for... | {
"pile_set_name": "Github"
} |
package com.tencent.mm.plugin.appbrand.config;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
import com.tencent.matrix.trace.core.AppMethodBeat;
public class WxaExposedParams implements Parcelable {
public static final Creator<WxaExposedParams> CREATOR = new Creator... | {
"pile_set_name": "Github"
} |
Shader "Hidden/Shader Forge/ExtractChannel"
{
Properties {
_MainTex ("Texture", 2D) = "white" {}
_Channel ("Channel", Float) = 1
}
SubShader {
Tags { "RenderType"="Opaque" }
LOD 100
Pass {
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
float _Channel;
... | {
"pile_set_name": "Github"
} |
// +build go1.7
/*
* 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
* "... | {
"pile_set_name": "Github"
} |
.selected-keymap {
i.fa {
padding: 0px 5px;
}
i.fa:before {
content: @fa-var-check;
}
}
#mode-menu {
// truncate mode-menu, so it doesn't get longer than the screen
overflow: auto;
max-height: 20em;
}
#current-mode {
margin-right: @padding-large-horizontal;
}
.edit_app {
#header {
.bo... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2015 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/LICENSE-2.0
*
* Unless required by app... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../libc/constant.EINVAL.html">
</head>
<body>
<p>Redirecting to <a href="../../../../libc/constant.EINVAL.html">../../../../libc/constant.EINVAL.html</a>...</p>
<script>location.replace("../../../../libc/constant.EINV... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xm... | {
"pile_set_name": "Github"
} |
Aggregate Fields
================
.. sectionauthor:: Benjamin Eberlei <kontakt@beberlei.de>
You will often come across the requirement to display aggregate
values of data that can be computed by using the MIN, MAX, COUNT or
SUM SQL functions. For any ORM this is a tricky issue
traditionally. Doctrine 2 offers several... | {
"pile_set_name": "Github"
} |
This contains files for testing when the index and the workdir differ
| {
"pile_set_name": "Github"
} |
package extra
import (
"github.com/json-iterator/go"
"unicode"
)
// SetNamingStrategy rename struct fields uniformly
func SetNamingStrategy(translate func(string) string) {
jsoniter.RegisterExtension(&namingStrategyExtension{jsoniter.DummyExtension{}, translate})
}
type namingStrategyExtension struct {
jsoniter.... | {
"pile_set_name": "Github"
} |
4fa1fc896a449094fbbea78dc48a8cbb03f9ce8ab2e8470b70a194bd74166afd Compressed/./LoexBot1.3 - Sep 2008/./LoexBot1.3 - Sep 2008.zip
| {
"pile_set_name": "Github"
} |
<?php
class modifyInputView extends SmartyView {
public function execute() {
$request = $this->getContext()->getRequest();
$this->setAttribute('id',$request->getAttribute('id'));
$this->setAttribute('title',$request->getAttribute('title'));
// $this->setAttribute('name',$request->getAttribu... | {
"pile_set_name": "Github"
} |
# Contributing to CASL
I would love for you to contribute to CASL and help make it even better than it is today! As a contributor, here are the guidelines I would like you to follow:
- [Question or Problem?](#question)
- [Issues and Bugs](#issue)
- [Feature Requests](#feature)
- [Submission Guidelines](#submit)
... | {
"pile_set_name": "Github"
} |
/* Mapping tables for EUC-JP handling.
Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the... | {
"pile_set_name": "Github"
} |
{
"Introduction": {
"Background": {
"text": "Although explored by the Spanish early in the 16th century, initial attempts at colonizing Costa Rica proved unsuccessful due to a combination of factors, including disease from mosquito-infested swamps, brutal heat, resistance by natives, and pirate raids. It... | {
"pile_set_name": "Github"
} |
# Sansung Exynos5422 octa core 2GB RAM SoC GBE USB3
BOARD_NAME="Odroid XU4"
BOARDFAMILY="odroidxu4"
BOOTCONFIG="odroid-xu4_defconfig"
SERIALCON="ttySAC2"
KERNEL_TARGET="legacy,current,dev"
FULL_DESKTOP="yes"
| {
"pile_set_name": "Github"
} |
package android.hardware.display;
import android.graphics.Rect;
import android.os.SystemProperties;
import android.telephony.SmsManager;
import android.util.Flog;
import android.util.Slog;
public class HwFoldScreenState {
public static final float ASPECT_RATIO_16_9 = 1.7777778f;
public static final float ASPE... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
namespace MonoDroid.ApiDemo
{
[Activity (Label = "Views/Spinner1")]
[IntentFilter (new[] { Intent.Acti... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright (C) 2010, 2016 Mathias Kinzler <mathias.kinzler@sap.com> and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accom... | {
"pile_set_name": "Github"
} |
package com.myimooc.spring.mvc.bind.model;
/**
* 联系方式实体类
*
* @author zc 2017-02-19
*/
public class ContactInfo {
/**
* 手机
*/
private String phone;
/**
* 地址
*/
private String address;
@Override
public String toString() {
return "ContactInfo{" +
"... | {
"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">
<services>
<service id="hwi_oaut... | {
"pile_set_name": "Github"
} |
const { expect } = require('chai');
const dates = require('../../server/lib/template/helpers/dates');
const DateHelperUnitTests = function () {
it('#date() should format a date is "DD/MM/YYYY" format.', () => {
const date = new Date('2015-03-25 12:00:00');
const expected = '25/03/2015';
const formated = ... | {
"pile_set_name": "Github"
} |
require 'rails/generators/active_record'
module ActiveRecord
module Generators
class EasyRolesGenerator < ActiveRecord::Generators::Base
argument :role_col, type: :string, required: false, default: 'roles', banner: 'role column'
class_option :use_bitmask_method, type: :boolean, required: false, def... | {
"pile_set_name": "Github"
} |
---
lastmod: 2020-07-20
date: 2017-03-27
menu:
main:
parent: getting started
title: Version History
weight: 30
---
# Version History
### 1.0.1
* Support `ENUM` columns that use the `MYSQL_TYPE_ENUM` type in their column metadata: [#850](https://github.com/mysql-net/MySqlConnector/issues/850).
* Allow `MySqlCom... | {
"pile_set_name": "Github"
} |
# 简介
LSF和openlava
> IBM Spectrum LSF是一款分布式集群管理系统软件,负责计算资源的管理和批处理作业的调度。
> openlava兼容IBM Spectrum LSF的工作负载调度器,支持各种高性能计算和分析应用。
# 程序管理
以下命令可能需要root(或sudo)用户才能执行。
```shell
lsid #查看集群说明信息
#启动/停止程序
openlava start #启动
openlava stop #停止
openlava status #状态
```
# 获取信息
- host:主机(集群中的一个节点,一般是指一台单独的设备)
- queue:队列(同一类型的... | {
"pile_set_name": "Github"
} |
class FacebookException(Exception):
'''
Base class for Facebook related exceptions
'''
pass
class IncompleteProfileError(FacebookException):
'''
Raised when we get insufficient data to create a profile for a user.
One example is a Facebook token, without permissions to see the email.
... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env bash
set -Eeuo pipefail
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
#version="$(curl -fsSL 'https://plex.tv/downloads/details/1?build=linux-ubuntu-x86_64&channel=16&distro=ubuntu' | sed -n 's/.*Release.*version="\([^"]*\)".*/\1/p')"
json="$(curl -fsSL 'https://plex.tv/api/downloads/1.json' | jq '.... | {
"pile_set_name": "Github"
} |
package org.eclipse.birt.report.engine.regression;
import java.io.ByteArrayOutputStream;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.eclipse.birt.report.engine.EngineCase;
import org.eclipse.birt.report.engine.api.HTMLRenderOption;
import org.eclipse.birt.report.engine.api.IRenderOptio... | {
"pile_set_name": "Github"
} |
using Alex.Net;
using Alex.Worlds;
using Microsoft.Xna.Framework;
namespace Alex.Entities
{
public class ThrowableEntity : Entity
{
public bool StopOnImpact { get; set; } = false;
public bool DespawnOnImpact { get; set; } = false;
/// <inheritdoc />
public ThrowableEntity(int entityTypeId, World level, Ne... | {
"pile_set_name": "Github"
} |
/**
* Kazakh translation for bootstrap-datepicker
* Yerzhan Tolekov <era.tolekov@gmail.com>
*/
;(function($){
$.fn.datepicker.dates['kk'] = {
days: ["Жексенбі", "Дүйсенбі", "Сейсенбі", "Сәрсенбі", "Бейсенбі", "Жұма", "Сенбі", "Жексенбі"],
daysShort: ["Жек", "Дүй", "Сей", "Сәр", "Бей", "Жұм", "Сен", "Жек"],
da... | {
"pile_set_name": "Github"
} |
[
{
"category": "``servicecatalog``",
"description": "Update servicecatalog client to latest version",
"type": "api-change"
},
{
"category": "``codebuild``",
"description": "Update codebuild client to latest version",
"type": "api-change"
},
{
"category": "``organizations``",... | {
"pile_set_name": "Github"
} |
OpenOffice.org
UNICEF
UNICEF's
| {
"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.
*/
package com.microsoft.azure.management.network.v2019_04_01.implementation;
import com.m... | {
"pile_set_name": "Github"
} |
// +build go1.6,!go1.7
/*
*
* Copyright 2016 gRPC 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... | {
"pile_set_name": "Github"
} |
/*
* (c) Copyright 2018 Palantir Technologies 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 ... | {
"pile_set_name": "Github"
} |
{
"plan" : [ {
"@type" : "ksqlPlanV1",
"statementText" : "CREATE STREAM INPUT (V0 INTEGER) WITH (KAFKA_TOPIC='input', VALUE_FORMAT='PROTOBUF');",
"ddlCommand" : {
"@type" : "createStreamV1",
"sourceName" : "INPUT",
"schema" : "`ROWKEY` STRING KEY, `V0` INTEGER",
"keyField" : null,
... | {
"pile_set_name": "Github"
} |
// Copyright (c) 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.
#include "net/quic/crypto/crypto_secret_boxer.h"
#include "base/memory/scoped_ptr.h"
#include "net/quic/crypto/quic_random.h"
#include "testing/gtest... | {
"pile_set_name": "Github"
} |
require 'active_support/core_ext/array/access'
require 'active_support/core_ext/array/conversions'
require 'active_support/core_ext/array/extract_options'
require 'active_support/core_ext/array/grouping'
require 'active_support/core_ext/array/random_access'
require 'active_support/core_ext/array/wrapper'
class Array #... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2010-2018 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.task.quartzimpl.work.segmentation.content;
import com.evolveum.midpoint.xml.ns._public.common.comm... | {
"pile_set_name": "Github"
} |
/*
* Copyright © 2010 Intel Corporation
*
* 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, pub... | {
"pile_set_name": "Github"
} |
using BeatPulse.Core;
using BeatPulse.Kafka;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
namespace BeatPulse
{
public static class BeatPulseContextExtensions
{
public static BeatPulseContext AddKafka(this BeatPulseContext contex... | {
"pile_set_name": "Github"
} |
udis86 = {
settings = nil
}
function udis86.setup(settings)
if not settings.source then error("Missing source.") end
udis86.settings = settings
if not udis86.settings.defines then udis86.settings.defines = {} end
end
function udis86.import()
if not udis86.settings then error("You need to call udis... | {
"pile_set_name": "Github"
} |
/*
Vertical Blank Interval support functions
Copyright (C) 2004-2007 Hans Verkuil <hverkuil@xs4all.nl>
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 Lic... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2015-2016 Dave Collins <dave@davec.name>
//
// Permission to use, copy, modify, and distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND ... | {
"pile_set_name": "Github"
} |
[
[
[
103.7200761,
1.3444028
],
[
103.7190768,
1.3440623
],
[
103.716982,
1.3432683
],
[
103.7162587,
1.3429814
],
[
103.7159504,
1.3428591
],
[
103.7160329,
1.3432903
],
[
103.7160877,
1.3435764
],
[
103.7161587,
1.343947
],
[
103.71... | {
"pile_set_name": "Github"
} |
<?php
namespace Psr\Log;
/**
* This Logger can be used to avoid conditional log calls.
*
* Logging should always be optional, and if no logger is provided to your
* library creating a NullLogger instance to have something to throw logs at
* is a good way to avoid littering your code with `if ($this->logger) { }`... | {
"pile_set_name": "Github"
} |
# CRC32 polynomial table
0 string \x00\x00\x00\x00\x77\x07\x30\x96\xEE\x0E\x61\x2C\x99\x09\x51\xBA CRC32 polynomial table, big endian
0 string \x00\x00\x00\x00\x96\x30\x07\x77\x2C\x61\x0E\xEE\xBA\x51\x09\x99 CRC32 polynomial table, little endian
# SHA256 constant k
0 string \x42\x8a\x2f\x98\x71\x37\x44\... | {
"pile_set_name": "Github"
} |
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.SignalR;
namespace DNTFrameworkCore.TestWebApp.Hubs
{
[Authorize]
public class NotificationHub : Hub
{
public override async Task OnConnectedAsync()
{
var groupName =... | {
"pile_set_name": "Github"
} |
/***********************license start***************
* Author: Cavium Networks
*
* Contact: support@caviumnetworks.com
* This file is part of the OCTEON SDK
*
* Copyright (c) 2003-2008 Cavium Networks
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General ... | {
"pile_set_name": "Github"
} |
Monitoring Interfaces
=====================
Scylla exposes two interfaces for online monitoring, as described below
Prometheus
----------
By default, Scylla listens on port 9180 for `Prometheus <https://prometheus.io/>`_ requests. To connect a Prometheus server to Scylla in your prometheus.yaml configuration file, a... | {
"pile_set_name": "Github"
} |
<?php
namespace wcf\data\trophy\category;
use wcf\system\cache\builder\CategoryCacheBuilder;
use wcf\system\SingletonFactory;
/**
* Trophy category cache management.
*
* @author Joshua Ruesweg
* @copyright 2001-2019 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-lic... | {
"pile_set_name": "Github"
} |
// NOTE: cgo can't generate struct Stat_t and struct Statfs_t yet
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types_darwin.go
// +build arm,darwin
package unix
const (
SizeofPtr = 0x4
SizeofShort = 0x2
SizeofInt = 0x4
SizeofLong = 0x4
SizeofLongLong = 0x8
)
type (
_C_short int1... | {
"pile_set_name": "Github"
} |
/* Generated by RuntimeBrowser.
*/
@protocol PSSearchOperationDelegate <NSObject>
@required
- (void)searchOperation:(PSSearchOperation *)arg1 configureSearchResults:(PSSearchResults *)arg2;
- (NSSet *)searchOperation:(PSSearchOperation *)arg1 filteredEntriesForEntries:(NSSet *)arg2;
- (void)searchOperationDidBegin:... | {
"pile_set_name": "Github"
} |
<div class="form-dialog-content pad-box form-inline group-category-edit">
<fieldset class="pad-box{{#if ENV.allow_self_signup}} dotted-separator{{/if}}">
<label>
{{#t "group_set_name"}}Group Set Name{{/t}}
<input type="text" id="category_{{id}}_name" name="name" value="{{name}}">
</label>
... | {
"pile_set_name": "Github"
} |
青木みゆ最新番号
【OKAX-255】実録JKソープ4時間 8人の無垢な女の子たち
【ZUKO-072】制服女子校生と中出し乱交~卒業~
【OHO-053】バンビプロモーション・プレゼンツ!第1回チェリーズ爆乳オーディション
【UD-626R】スポーツジム併設エビぞりアスリート 軟体オイルマッサージ</a>2014-04-11LEO$$$LEO122分钟 | {
"pile_set_name": "Github"
} |
// This file is part of Core WF which is licensed under the MIT license.
// See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace Test.Common.TestObjects.Utilities.Validation
{
[DataContract]
public class Synchr... | {
"pile_set_name": "Github"
} |
package magic.test;
import magic.model.MagicDuel;
import magic.model.MagicGame;
import magic.model.MagicPlayer;
import magic.model.phase.MagicMainPhase;
class TestWorship extends TestGameBuilder {
@Override
public MagicGame getGame() {
final MagicDuel duel=createDuel();
final MagicGame game=d... | {
"pile_set_name": "Github"
} |
#!/usr/bin/python
# __author__ = 'jasonsheh'
# -*- coding:utf-8 -*-
import functools
import time
def timer(func):
@functools.wraps(func)
def wrapper(*args, **kwargs):
t1 = time.time()
result = func(*args, **kwargs)
t2 = time.time()
print("total time {}".format(t2-t1))
... | {
"pile_set_name": "Github"
} |
{}
| {
"pile_set_name": "Github"
} |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2009 University of Washington
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This pro... | {
"pile_set_name": "Github"
} |
//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#include <thread>
#include <vector>
#include <atomic>
#include <iostream>
#include <chrono>
#include <cstdlib>
#include "spdlog/spdlog.h"
using namespace std;
int main(int argc, char* argv[])
{
usin... | {
"pile_set_name": "Github"
} |
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/memremap.h>
#include <linux/pagemap.h>
#include <linux/rmap.h>
#include <linux/swap.h>
#include <linux/swapops.h>
#include <linux/sched/signal.h>
#include <linux/rwsem.h>
#includ... | {
"pile_set_name": "Github"
} |
package com.coder.guoy.recyclerview.ui.bottomsheet;
import android.os.Bundle;
import android.support.design.widget.BottomSheetDialog;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInfl... | {
"pile_set_name": "Github"
} |
package org.sword.wechat4j.csc;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.codec.digest.DigestUtils;
import org.junit.Before;
import org.junit.Test;
import org.sword.lang.HttpUtils;
import org.sword.wechat4j.csc.CustomerServices;
import org.sword.wecha... | {
"pile_set_name": "Github"
} |
package org.hackreduce.mappers;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.io.Writable;
import org.apache.hadoop.io.WritableComparable;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.lib.inp... | {
"pile_set_name": "Github"
} |
// Copyright 2020 The AMPHTML 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 agre... | {
"pile_set_name": "Github"
} |
<div class="row wrapper border-bottom white-bg page-heading">
<div class="col-lg-10">
<h2>Loading buttons</h2>
<ol class="breadcrumb">
<li>
<a href="index.html">Home</a>
</li>
<li>
<a>Miscellaneous</a>
</li>
... | {
"pile_set_name": "Github"
} |
// Copyright 2012-present Oliver Eilhard. All rights reserved.
// Use of this source code is governed by a MIT-license.
// See http://olivere.mit-license.org/license.txt for details.
package elastic
import (
"encoding/json"
"testing"
)
func TestParentIdQueryTest(t *testing.T) {
tests := []struct {
Query Quer... | {
"pile_set_name": "Github"
} |
import math
import torch
import torch.nn as nn
import torch.nn.functional as F
from fastNLP import CrossEntropyLoss
from fastNLP.modules import MLP, ConditionalRandomField, allowed_transitions
from torch.nn import init
from torch.nn.parameter import Parameter
from .BertCharParser import BertCharParser
class CharModel... | {
"pile_set_name": "Github"
} |
'use strict';
var sanitize = require('sanitize-filename');
function cleanFilename(name) {
// some windows reserved names like 'con' and 'prn'
// return an empty string here, so just wrap them in
// double underscores so it's at least something
return sanitize(name) || sanitize('__' + name + '__');
}
module.e... | {
"pile_set_name": "Github"
} |
"use strict";
var os = require("os");
var gulp = require("gulp");
var gutil = require("gulp-util");
var sass = require("gulp-ruby-sass");
var jshint = require("gulp-jshint");
var uglify = require("gulp-uglifyjs");
var rename = require("gulp-rename");
var concat ... | {
"pile_set_name": "Github"
} |
YUI.add('node-focusmanager-toolbar-tests', function (Y) {
var suite = new Y.Test.Suite('node focusmanager toolbar example test suite'),
Assert = Y.Assert,
LEFT_ARROW_KEY = 37,
RIGHT_ARROW_KEY = 39;
suite.add(new Y.Test.Case({
name: 'Example tests',
'example should have ... | {
"pile_set_name": "Github"
} |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("TTSHelperLibrary")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[asse... | {
"pile_set_name": "Github"
} |
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
</Project>
| {
"pile_set_name": "Github"
} |
// Package buntdb implements a low-level in-memory key/value store in pure Go.
// It persists to disk, is ACID compliant, and uses locking for multiple
// readers and a single writer. Bunt is ideal for projects that need
// a dependable database, and favor speed over data size.
package buntdb
import (
"bufio"
"error... | {
"pile_set_name": "Github"
} |
/*!
* Bootstrap Grid v4.3.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
html {
box-sizing: border-box;
-ms-overflow-style: scrollbar;
}
*,
*::before,
*::after {
box... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.