text stringlengths 2 99.9k | meta dict |
|---|---|
// Copyright 2018 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.
// Code generated by generate-types. DO NOT EDIT.
package impl
import (
"google.golang.org/protobuf/reflect/protoreflect"
"google.golang.org/protobuf/runtim... | {
"pile_set_name": "Github"
} |
{
"version": "3.6.1",
"flags": {},
"shapes": [
{
"label": "tail",
"line_color": null,
"fill_color": null,
"points": [
[
35,
107
],
[
28,
108
],
[
20,
110
],
[
1... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2016, 2020 IBM Corp. and others
This program and the accompanying materials are made available under
the terms of the Eclipse Public License 2.0 which accompanies this
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
or the Apa... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by crowdin.com-->
<!--
~ Copyright (C) 2012-2017 The Android Money Manager Ex Project Team
~
~ 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 Fo... | {
"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.
*/
export ... | {
"pile_set_name": "Github"
} |
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
one:
slug: MyString
message: MyString
two:
slug: MyString
message: MyString
| {
"pile_set_name": "Github"
} |
alter table ACT_RE_PROCDEF add column ENGINE_VERSION_ varchar(255);
update ACT_RE_PROCDEF set ENGINE_VERSION_ = 'activiti-5';
alter table ACT_RE_DEPLOYMENT add column ENGINE_VERSION_ varchar(255);
update ACT_RE_DEPLOYMENT set ENGINE_VERSION_ = 'activiti-5';
alter table ACT_RU_EXECUTION add column ROOT_PROC_INST_ID_ v... | {
"pile_set_name": "Github"
} |
\chapter{Visualizing 2D interpolation}
% Authors: Pedro Manuel Herrero Vidal, Doruk Kilitcioglu
% Lecture date: 2/27/2019
We take the data simulated in the 04-spiral\_classification notebook (\href{https://github.com/Atcold/pytorch-Deep-Learning-Minicourse/blob/master/04-spiral\_classification.ipynb} {"Spiral Classif... | {
"pile_set_name": "Github"
} |
/*-
* <<
* Moonbox
* ==
* Copyright (C) 2016 - 2019 EDP
* ==
* 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"
} |
#ifndef _SIMPLEJET_HPP
#define _SIMPLEJET_HPP
#include "Thruster.hpp"
namespace yasim {
// As simple a Thruster subclass as you can find. It makes thrust. Period.
class SimpleJet : public Thruster
{
public:
SimpleJet();
void setThrust(float thrust);
virtual bool isRunning();
virtual bool isCranking(... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// ignore_for_file: directives_ordering
library js_ast;
import 'precedence.dart';
// ignore: library_... | {
"pile_set_name": "Github"
} |
Python API
==========
HTTPolice can be used as a Python library:
for example, to analyze requests or responses as part of a test suite.
It is **not intended** to be used inside live production processes.
Example
-------
.. literalinclude:: api_example.py
API reference
-------------
.. autoclass:: httpolice.Request... | {
"pile_set_name": "Github"
} |
package com.lmxdawn.him.common.entity.group;
import lombok.Data;
import java.util.Date;
/**
* table:group_msg
*/
@Data
public class GroupMsg {
/**
* 消息ID
*/
private Long msgId;
/**
* 群ID
*/
private Long groupId;
/**
* 发送消息的用户ID
*/
private Long senderUid;
/**
* 消息类型(0:普通文字消息,1:图片消息,2:文件消息,3:... | {
"pile_set_name": "Github"
} |
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 1999-2020, The Alibaba Group Holding Ltd.
# This file is distributed under the same license as the mars package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: mars 0.5.0a2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-16 16... | {
"pile_set_name": "Github"
} |
1
00:00:34,051 --> 00:00:37,889
(勝家)
全軍 退け! 兵を退くのじゃ!
2
00:00:37,889 --> 00:00:40,391
(秀吉)お市様の目の前で→
3
00:00:40,391 --> 00:00:43,060
その息の根 止めてくれるわ。
4
00:00:43,060 --> 00:00:47,398
<織田家の実力者 勝家は
秀吉に敗れ→
5
00:00:47,398 --> 00:00:50,735
市と共に 命を散らした>
6
00:00:50,735 --> 00:00:52,887
(市)さらばじゃ。
7
00:00:52,887 --> 00:00:55,... | {
"pile_set_name": "Github"
} |
'use strict';
var value = require('../object/valid-value');
module.exports = function (name) {
return function (o) { return value(o)[name]; };
};
| {
"pile_set_name": "Github"
} |
<template>
<div>
<Example :component="ExSimple" :code="ExSimpleCode" vertical/>
<Example :component="ExSizes" :code="ExSizesCode" title="Sizes" vertical/>
<Example :component="ExTypes" :code="ExTypesCode" title="Types" vertical/>
<Example :component="ExRadioButton" :code="ExRadioB... | {
"pile_set_name": "Github"
} |
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>... | {
"pile_set_name": "Github"
} |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSObject-Protocol.h"
@protocol IDEEditorMultipleContextDelegate <NSObject>
- (id)editorArea;
- (void)editorMultipleContext:(id)arg1 didSplitEditorContext:(id)arg2 creat... | {
"pile_set_name": "Github"
} |
/* Localized versions of Info.plist keys */
| {
"pile_set_name": "Github"
} |
resource "google_compute_global_network_endpoint" "<%= ctx[:primary_resource_id] %>" {
global_network_endpoint_group = google_compute_global_network_endpoint_group.neg.name
fqdn = "www.example.com"
port = 90
ip_address = "8.8.8.8"
}
resource "google_compute_global_network_endpoint_group" "neg" {
... | {
"pile_set_name": "Github"
} |
#! /bin/sh
: 'This file is in the public domain, so clarified as of'
: '2006-07-17 by Arthur David Olson.'
case $#-$1 in
2-|2-0*|2-*[!0-9]*)
echo "$0: wild year - $1" >&2
exit 1 ;;
esac
case $#-$2 in
2-even)
case $1 in
*[24680]) exit 0 ;;
*) exit 1 ;;
esac ;;
2-nonpres|2-nonuspres)
case $1 in... | {
"pile_set_name": "Github"
} |
// Copyright 2018 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.
// Test debug events when we listen to all exceptions and
// there is a catch handler for the exception thrown in a Promise.
// We expect a normal Exce... | {
"pile_set_name": "Github"
} |
#include "BigIntegerAlgorithms.hh"
BigUnsigned gcd(BigUnsigned a, BigUnsigned b) {
BigUnsigned trash;
// Neat in-place alternating technique.
for (;;) {
if (b.isZero())
return a;
a.divideWithRemainder(b, trash);
if (a.isZero())
return b;
b.divideWithRemainder(a, trash);
}
}
void extendedEuclidean(Bi... | {
"pile_set_name": "Github"
} |
% Optimal doping profile optimization
% Boyd, Kim, Vandenberghe, and Hassibi, "A tutorial on geometric programming"
% Joshi, Boyd, and Dutton, "Optimal doping profiles via geometric programming"
% Written for CVX by Almir Mutapcic 02/08/06
% (a figure is generated)
%
% Determines the optimal doping profile that minimiz... | {
"pile_set_name": "Github"
} |
'use strict';
define('forum/account/edit/password', ['forum/account/header', 'translator', 'zxcvbn'], function (header, translator, zxcvbn) {
var AccountEditPassword = {};
AccountEditPassword.init = function () {
header.init();
handlePasswordChange();
};
function handlePasswordChange() {
var currentPassw... | {
"pile_set_name": "Github"
} |
# 1.2 Vagrant安装配置
实际上Vagrant只是一个让你可以方便设置你想要的虚拟机的便携式工具,它底层支持VirtualBox、VMware甚至AWS作为虚拟机系统,本书中我们将使用VirtualBox来进行说明,所以第一步需要先安裝Vagrant和VirtualBox。
## VirtualBox安装
VirtualBox是Oracle开源的虚拟化系统,它支持多个平台,所以你可以到官方网站:https://www.virtualbox.org/wiki/Downloads/ 下载适合你平台的VirtualBox最新版本并安装,它的安装过程都很傻瓜化,一步一步执行就可以完成安装了。
## Vagran... | {
"pile_set_name": "Github"
} |
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package nl.bzk.brp.model.data.autaut;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?><module fritzingVersion="0.7.2b" moduleId="SparkFun-Sensors-SCP1000_D01-SMD">
<!-- generated from Sparkfun Eagle Library 'SparkFun-Sensors' SCP1000_D01 SMD -->
<version>4</version>
<date>2013-02-13</date>
<label>U</label>
<author>www.fritzing.org</author>
<description>Barometric pr... | {
"pile_set_name": "Github"
} |
(function ($) {
$.Redactor.opts.langs['by'] = {
html: 'Код',
video: 'Відэа',
image: 'Малюнак',
table: 'Табліца',
link: 'Спасылка',
link_insert: 'Уставіць спасылку ...',
link_edit: 'Edit link',
unlink: 'Выдаліць спасылку',
formatting: 'Стылі',
paragraph: 'Звычайны тэкст... | {
"pile_set_name": "Github"
} |
public aspect Logger {
after(): call(* approximate(..)) {
if (CalculatePI.iteration%10000==0)
System.out.println("Approximation is now:"+
(CalculatePI.inCircle/CalculatePI.inSquare)*4.0f);
}
} | {
"pile_set_name": "Github"
} |
<?php
final class PhabricatorFulltextToken extends Phobject {
private $token;
private $isShort;
private $isStopword;
public function setToken(PhutilSearchQueryToken $token) {
$this->token = $token;
return $this;
}
public function getToken() {
return $this->token;
}
public function isQue... | {
"pile_set_name": "Github"
} |
---
title: 使用 DataView 进行筛选 (LINQ to DataSet)
ms.date: 03/30/2017
dev_langs:
- csharp
- vb
ms.assetid: 5632d74a-ff53-4ea7-9fe7-4a148eeb1c68
ms.openlocfilehash: 9b4c8e9730dde7d19df9e6a11052ae4591465ea7
ms.sourcegitcommit: 5b475c1855b32cf78d2d1bbb4295e4c236f39464
ms.translationtype: MT
ms.contentlocale: zh-CN
ms.lasthand... | {
"pile_set_name": "Github"
} |
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
/*
* Ceph - scalable distributed file system
*
* Copyright (C) 2004-2006 Sage Weil <sage@newdream.net>
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General P... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1997, 2012, 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"
} |
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Folding</string>
<key>scope</key>
<string>source.go</string>
<key>settings</key>
<dict>
<key>foldingIndentedBlockStar... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2008 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"
} |
"This software program is licensed subject to the GNU General Public License
(GPL). Version 2, June 1991, available at
<http:
GNU General Public License
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
Everyone is permitted to cop... | {
"pile_set_name": "Github"
} |
/**
* Copyright 2007 DFKI GmbH.
* All Rights Reserved. Use is subject to license terms.
*
* This file is part of MARY TTS.
*
* MARY TTS 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, version 3... | {
"pile_set_name": "Github"
} |
package net.anxuiz.tourney.event.mapselect;
import com.google.common.base.Preconditions;
import net.anxuiz.tourney.vote.VetoVote;
import tc.oc.api.docs.Entrant;
import tc.oc.pgm.teams.Team;
public abstract class MapSelectionTeamEvent extends MapSelectionEvent {
private final Team team;
private final Entrant e... | {
"pile_set_name": "Github"
} |
## Chrome / Safari
## Chrome manual
⌘ - N 新窗口
⌘ - O 用chrome 打开计算机文件
⌘ - shift t 打开关闭的标签 能记录10个.
⌘ - option 反向键切换左右标签
⌘ - w 关闭当前 标签页
⌘ - shift w 关闭当前窗口
delete 后退 shift delete 前进
⌘ - m 最小化窗口
⌘ - h 隐藏谷歌浏览器
⌘ - option h 隐藏其他所有窗口
⌘ - q 关闭浏览器
功能快捷键
⌘ - shift b 开关书签栏
⌘ - - 打开设置
⌘ -... | {
"pile_set_name": "Github"
} |
#define INIT
#define FINI \
dyn->insts[ninst].x86.addr = addr; \
if(ninst) dyn->insts[ninst-1].x86.size = dyn->insts[ninst].x86.addr - dyn->insts[ninst-1].x86.addr;
#define MESSAGE(A, ...)
#define EMIT(A)
#define READFLAGS(A) dyn->insts[ninst].x86.use_flags = A
#define SETFLAGS(A,B) {dyn->in... | {
"pile_set_name": "Github"
} |
#include <string>
#include <iostream>
class Employee {
public:
typedef int id_type;
Employee() : name(), id(++eid) {}
explicit Employee(const std::string &n) : name(n), id(++eid) {}
const std::string &getName() const { return name; }
id_type getID() const { return id; }
private:
std::string name;
id_ty... | {
"pile_set_name": "Github"
} |
APP_NAME="beer-garden"
GROUP=$APP_NAME
USER=$APP_NAME
APP_HOME="/opt/${APP_NAME}"
PID_HOME="/var/run/${APP_NAME}"
CONFIG_HOME="$APP_HOME/conf"
LOG_HOME="$APP_HOME/log"
BIN_HOME="$APP_HOME/bin"
PLUGIN_LOG_HOME="$LOG_HOME/plugins"
PLUGIN_HOME="$APP_HOME/plugins"
BARTENDER_CONFIG="${CONFIG_HOME}/bartender-config"
BARTEN... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// RUN: %hermes -O -Wno-direct-eval %s | %FileCheck --match-full-lines %s
"use strict";
var a = 'a';
for (var i = 0; i < 28; ++i)... | {
"pile_set_name": "Github"
} |
{
"tests": [
{
"description": "set-merge: Delete with merge",
"comment": "A Delete sentinel can appear with a merge option.",
"set": {
"docRefPath": "projects/projectID/databases/(default)/documents/C/d",
"option": {
"fields": [
{
"field": [
... | {
"pile_set_name": "Github"
} |
(ns maria.user
(:require [chia.view]))
(defmacro user-macro [& body]
`[~@body])
| {
"pile_set_name": "Github"
} |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2008, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
/*
* This file setups defines to compile arch specific binary from the
* generic one.
*
* The function 'LIBUNWIND__ARCH_REG_ID' name is set according to arch
* name and the defination of this function is included directly from
* 'arch/arm64/util/unwind-libunwind.c', to make sur... | {
"pile_set_name": "Github"
} |
// 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)
//
// *Preprocessed* version of the main "less.hpp" header
// -- DO NOT modify by hand!
namespace boost { namespace ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfDVBTTuning xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!-- SBS -->
<DVBTTuning>
<Frequency>655500</Frequency>
<BandWidth>7</BandWidth>
<Offset>125</Offset>
</DVBTTuning>
<!-- ABC -->
<D... | {
"pile_set_name": "Github"
} |
[Provides extended options for sound notifications.]
[Sound:]
[Not set]
[Test play]
[Ignore sound for this contact]
[Custom sound for %s (%s)]
[XSound Notify]
[Self status]
[Custom contact sound]
| {
"pile_set_name": "Github"
} |
#!/bin/sh
#(c) Copyright 2006, 2007 Barry Kauler.
#Lesser GPL licence v2 (/usr/share/doc/legal). 2007 www.puppylinux.com
#simple script to burn an iso file to cd, using cdrecord.
#w482 change -pad to padsize=300k, recommended by xorriso developer.
#w482 migrate to using xorriso.
#v431 rerwin: Add wait for drive lights ... | {
"pile_set_name": "Github"
} |
#import <Foundation/Foundation.h>
#import "GHHasLocationProtocol.h"
@interface GHComment : NSObject <GHHasLocationProtocol>
@property (nonatomic, readonly) GHLocation * location;
@property (nonatomic, readonly) NSString * text;
- (id)initWithLocation:(GHLocation *)theLocation text:(NSString *)theText;
... | {
"pile_set_name": "Github"
} |
package com.xiaolyuh;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class SpringBootStudentMybatisDruid2ApplicationTests {
@Test
pu... | {
"pile_set_name": "Github"
} |
@import XCTest;
@import Quick;
@import Nimble;
#import "QCKSpecRunner.h"
static NSUInteger specBeforeEachExecutedCount = 0;
static NSUInteger sharedExamplesBeforeEachExecutedCount = 0;
QuickConfigurationBegin(FunctionalTests_SharedExamples_BeforeEachTests_SharedExamples_ObjC)
+ (void)configure:(Configuration *)conf... | {
"pile_set_name": "Github"
} |
### request
```js
//<request>
{
"channelId": "youlong"
}
``` | {
"pile_set_name": "Github"
} |
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace NetOffice
{
/// <summary>
/// DebugConsole operation mode
/// </summary>
public enum DebugConsoleMode
{
/// <summary>
/// Debug log is disabled
/// </summary>
None = 0,
/// <summa... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x",
"filename" : "new_feature_3_iphone6p@2x.png"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}... | {
"pile_set_name": "Github"
} |
/* $Id: skein.c 254 2011-06-07 19:38:58Z tp $ */
/*
* Skein implementation.
*
* ==========================(LICENSE BEGIN)============================
*
* Copyright (c) 2007-2010 Projet RNRT SAPHIR
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associate... | {
"pile_set_name": "Github"
} |
.enable_invoice() when(@enable-invoice = true) {
//invoice
.invoice-info {
line-height: 24px !important;
color: #444;
vertical-align: bottom;
margin-left: 9px;
margin-right: 9px;
}
.invoice-info-label {
display: inline-block;
max-width: 100px;
text-align: right;
font-size: @font-size-invoice-data;
}
.... | {
"pile_set_name": "Github"
} |
<StyleCopSettings Version="105">
<Analyzers>
<Analyzer AnalyzerId="StyleCop.CSharp.DocumentationRules">
<Rules>
<Rule Name="ElementsMustBeDocumented">
<RuleSettings>
<BooleanProperty Name="Enabled">False</BooleanProperty>
</RuleSettings>
</Rule>
<Rule ... | {
"pile_set_name": "Github"
} |
<?php
//
// ______ ______ __ __ ______
// /\ ___\ /\ ___\ /\_\ /\_\ /\ __ \
// \/\ __\ \/\ \____ \/\_\ \/\_\ \/\ \_\ \
// \/\_____\ \/\_____\ /\_\/\_\ \/\_\ \/\_\ \_\
// \/_____/ \/_____/ \/... | {
"pile_set_name": "Github"
} |
class Solution:
def bitwiseComplement(self, N: int) -> int:
if N == 0:
return 1
ans = 0
index = 0
while N > 1:
if N % 2 == 0:
ans += 2**index
index += 1
N = N // 2
return ans
| {
"pile_set_name": "Github"
} |
// mkerrors.sh -maix64
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build ppc64,aix
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -maix64 _const.go
package unix
import "syscall"
const (
AF_APPLETALK = 0x10
AF_BYPASS = 0x19
AF... | {
"pile_set_name": "Github"
} |
/* Copyright 2013-present MongoDB 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 in wri... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright 2017 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 agr... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2015 Goldman Sachs.
*
* 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"
} |
// NOTE: This file was copied/ported to TypeScript from the ethereum/remix project at https://github.com/ethereum/remix
// History of modifications made from Remix are not captured in this repository. See https://github.com/seeseplusplus/remix/tree/introduce-sdb for history
// Remix (and therefore this file) is under ... | {
"pile_set_name": "Github"
} |
/*
* This file is part of Telegram Server
* Copyright (C) 2015 Aykut Alparslan KOÇ
*
* Telegram Server 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 3 of the License... | {
"pile_set_name": "Github"
} |
from analyze import plot_certified_accuracy, Line, ApproximateAccuracy
plot_certified_accuracy(
"./github_readme_certified", "CIFAR-10, vary $\sigma$", 1.5, [
Line(ApproximateAccuracy("data/certify/cifar10/finetune_cifar_from_imagenetPGD2steps/PGD_10steps_30epochs_multinoise/2-multitrain/eps_64/cifar10/re... | {
"pile_set_name": "Github"
} |
module Rack
module Mime
# Returns String with mime type if found, otherwise use +fallback+.
# +ext+ should be filename extension in the '.ext' format that
# File.extname(file) returns.
# +fallback+ may be any object
#
# Also see the documentation for MIME_TYPES
#
# Usage:
# ... | {
"pile_set_name": "Github"
} |
// Copyright 2014 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.
//
// The pure virtual class for send side loss detection algorithm.
#ifndef NET_QUIC_CONGESTION_CONTROL_LOSS_DETECTION_INTERFACE_H_
#define NET_QUIC_CONG... | {
"pile_set_name": "Github"
} |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!--
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 t... | {
"pile_set_name": "Github"
} |
#pragma once
#include "../Common/Platforms.h"
#include "../Common/ConstantBufferMacros.h"
CONSTANT_BUFFER(ezDownscaleDepthConstants, 3)
{
FLOAT2(PixelSize);
BOOL1(LinearizeDepth);
}; | {
"pile_set_name": "Github"
} |
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package nl.bzk.brp.model.web;
import java.io.UnsupportedEncodingException;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
... | {
"pile_set_name": "Github"
} |
package it.eng.spagobi.api.v2;
import it.eng.spagobi.api.AbstractSpagoBIResource;
import it.eng.spagobi.services.rest.annotations.ManageAuthorization;
import it.eng.spagobi.utilities.exceptions.SpagoBIRuntimeException;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.co... | {
"pile_set_name": "Github"
} |
24600: Ideograph dào
24601: Idéogramme
24602: Idéogramme
24603: Idéogramme lì
24604:
24605: Idéogramme un très jeune enfant CJK : yá
24606: Idéogramme yá
24607: Ideograph zhān
24608:
24609:
2460A: Idéogramme
2460B: Idéogramme
2460C: Idéogramme qī
2460D:
2460E:
2460F:
24610:
24611:
24612:
24613: Idéogramme
24614: Idéogr... | {
"pile_set_name": "Github"
} |
################################################################################
### Copyright (C) 2014-2017 VMware, Inc. All rights reserved.
###
### This program is free software; you can redistribute it and/or modify
### it under the terms of version 2 of the GNU General Public License as
### published by the Free ... | {
"pile_set_name": "Github"
} |
<?php
namespace TypiCMS\Modules\Galleries\Repositories;
use TypiCMS\Repositories\RepositoryInterface;
interface GalleryInterface extends RepositoryInterface
{
/**
* Get all items name
*
* @return array with names
*/
public function getNames();
/**
* Delete model and attached fil... | {
"pile_set_name": "Github"
} |
package org.pointstone.cugappplat.baseadapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.SparseArray;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.reso... | {
"pile_set_name": "Github"
} |
<template lang="pug">
zi-more(text="show more" text-up="show less")
</template>
<script>
export default {
name: 'ex-more-basic',
}
</script>
| {
"pile_set_name": "Github"
} |
'use strict';
var GetIntrinsic = require('../GetIntrinsic');
var $Date = GetIntrinsic('%Date%');
var $Number = GetIntrinsic('%Number%');
var $abs = GetIntrinsic('%Math.abs%');
var $isFinite = require('../helpers/isFinite');
var ToNumber = require('./ToNumber');
// https://ecma-international.org/ecma-262/5.1/#sec-1... | {
"pile_set_name": "Github"
} |
//
// Posts.swift
// BattleBuddy
//
// Created by Mike on 7/13/19.
// Copyright © 2019 Veritas. All rights reserved.
//
import UIKit
final class BallisticsPost: PostConfiguration {
var title: String? = Localized("ballistics")
var elements: [PostElement] {
return [
PostElementImage(ima... | {
"pile_set_name": "Github"
} |
<h1>
Evolution of the number of products on Open Food Facts -
<country_name>
</h1>
<p>Open Food Facts publicly launched on May 19th 2012 (the site opened for the first beta testers in early 2012). The database contained then 648 products.</p>
<p id="description">This graph shows the evolution of the number ... | {
"pile_set_name": "Github"
} |
" Use vim-themis to execute this test
let s:V = vital#vital#new()
let s:F = s:V.import('System.File')
Describe System.Cache
let s:C = s:V.import('System.Cache')
Context .new({name}, ...)
It should return an instance of System.Cache.Dummy if 'dummy' is specified.
let ret = s:C.new('dummy')
Assert E... | {
"pile_set_name": "Github"
} |
<?php
$expected = array('$t',
'$t',
'$t',
);
$expected_not = array('$s',
'$r',
);
?> | {
"pile_set_name": "Github"
} |
# AUTOGENERATED FILE
FROM balenalib/jetson-nano-fedora:28-run
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
RUN dnf install -y \
python3-pip \
python3-dbus \
&& dnf clean all
# install "virtualenv", ... | {
"pile_set_name": "Github"
} |
<?php
/**
* Base include file for SimpleTest
* @package SimpleTest
* @subpackage WebTester
* @version $Id: page.php 1938 2009-08-05 17:16:23Z dgheath $
*/
/**#@+
* include other SimpleTest class files
*/
require_once(dirname(__FILE__) . '/http.php');
require_once(dirname(__FILE__) . '/php_pars... | {
"pile_set_name": "Github"
} |
#include <clc/clc.h>
#include "relational.h"
//Note: It would be nice to use __builtin_isgreater with vector inputs, but it seems to only take scalar values as
// input, which will produce incorrect output for vector input types.
_CLC_DEFINE_RELATIONAL_BINARY(int, isgreater, __builtin_isgreater, float, float)
#... | {
"pile_set_name": "Github"
} |
import * as React from 'react';
import PropTypes from 'prop-types';
import AppBar from '@material-ui/core/AppBar';
import CssBaseline from '@material-ui/core/CssBaseline';
import Divider from '@material-ui/core/Divider';
import Drawer from '@material-ui/core/Drawer';
import Hidden from '@material-ui/core/Hidden';
impor... | {
"pile_set_name": "Github"
} |
// Copyright Jamie Iles, 2017
//
// This file is part of s80x86.
//
// s80x86 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 3 of the License, or
// (at your option) any later version.
//
// ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:skin="http://schemas.android.com/android/skin"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
skin:enable="true">
<Scrol... | {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | {
"pile_set_name": "Github"
} |
#ifndef _ASM_SWAB_H
#define _ASM_SWAB_H
#include <linux/types.h>
#if defined(__GNUC__) && !defined(__STRICT_ANSI__) || defined(__KERNEL__)
# define __SWAB_64_THRU_32__
#endif
#endif /* _ASM_SWAB_H */
| {
"pile_set_name": "Github"
} |
body { font-family: sans-serif; }
:focus {
outline: 4px #3582ff solid;
}
.container, #container{
width: 720px;
margin: 10px;
border: black solid 1px;
}
.select {
width: 720px;
height: 120px;
padding: 10px;
margin-top: 10px;
color: white;
border-radius: 10px 10px 0 0;
background: gray;
line-h... | {
"pile_set_name": "Github"
} |
SequenceFeature.key_primaryidentifier=primaryIdentifier
Organism.key_taxonid=taxonId
| {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.