text stringlengths 2 99.7k | meta dict |
|---|---|
package easik.ui.datamanip;
//~--- JDK imports ------------------------------------------------------------
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.JButton;
import j... | {
"pile_set_name": "Github"
} |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2019 Google LLC
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ https://www.apache.org/licenses/LICENSE-2.0
~
... | {
"pile_set_name": "Github"
} |
+++
Title = "Propose"
Type = "event"
Description = "Propose a talk for devopsdays nashville 2019"
+++
{{< cfp_dates >}}
<hr>
There are three ways to propose a topic at devopsdays:
<ol>
<li><strong><em>A 30-minute talk</em></strong> presented during the conference, usually in the mornings.</li>
<li><strong><em>A... | {
"pile_set_name": "Github"
} |
# Copy rustup-init to rustup-setup for backwards compatibility
cp target\${env:TARGET}\release\rustup-init.exe target\${env:TARGET}\release\rustup-setup.exe
# Generate hashes
Get-FileHash .\target\${env:TARGET}\release\* | ForEach-Object {[io.file]::WriteAllText($_.Path + ".sha256", $_.Hash.ToLower() + "`n")}
# Prep... | {
"pile_set_name": "Github"
} |
/*==LICENSE==*
CyanWorlds.com Engine - MMOG client, server and tools
Copyright (C) 2011 Cyan Worlds, Inc.
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 3 of the License, or
(at you... | {
"pile_set_name": "Github"
} |
/*
Copyright 2017 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"
} |
/*
JPC: An x86 PC Hardware Emulator for a pure Java Virtual Machine
Copyright (C) 2012-2013 Ian Preston
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 progra... | {
"pile_set_name": "Github"
} |
/**
Defines a closure to be run prior to any examples in the test suite.
You may define an unlimited number of these closures, but there is no
guarantee as to the order in which they're run.
If the test suite crashes before the first example is run, this closure
will not be executed.
- paramet... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/loading_view"
android:layout_width="match_parent"
android:layout_height="@dimen/turbo_dp_48"
android:gravity="center"
and... | {
"pile_set_name": "Github"
} |
"""
ks.py
Uses the Karplus String algorithm to generate musical notes
in a pentatonic scale.
Author: Mahesh Venkitachalam
"""
import sys, os
import time, random
import wave, argparse, pygame
import numpy as np
from collections import deque
from matplotlib import pyplot as plt
# show plot of algorithm in action?
... | {
"pile_set_name": "Github"
} |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * base_import_module
#
# Translators:
# Martin Trigaux, 2020
# Hamid Darabi, 2020
# Hamed Mohammadi <hamed@dehongi.com>, 2020
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server saas~12.5\n"
"Report-Msgid-Bugs-To: \n"
"P... | {
"pile_set_name": "Github"
} |
module linker_test_1 1.0;
require {
class file { read write };
class lnk_file append;
role g_b_role_2;
attribute g_b_attr_3;
attribute g_b_attr_5;
attribute o4_b_attr_1;
type g_b_type_3;
}
type tag_g_m1;
#test for type in module and attr in module, added to in module
attribute g_m1_attr_1;
type g_m1_type_1, ... | {
"pile_set_name": "Github"
} |
# -*- encoding: utf-8 -*-
from pupylib.PupyModule import PupyArgumentParser
from pupylib.PupyOutput import MultiPart, Table, Color, Line, TruncateToTerm
from pupylib.PupyCompleter import commands_completer
usage = 'Show help'
parser = PupyArgumentParser(prog='help', description=usage)
parser.add_argument('module', n... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
import glob
import os
import sys
# usage: parse_peer_log <path-to-libtorrent-peer-logs>
log_files = []
for p in glob.iglob(os.path.join(sys.argv[1], '*.log')):
name = os.path.split(p)[1]
if name == 'main_session.log': continue
print name
f = open(p, 'r')
out_file = p + '.dat'
log_files.ap... | {
"pile_set_name": "Github"
} |
1
00:00:00,280 --> 00:00:01,330
In the last video, we gave
2
00:00:01,570 --> 00:00:03,540
a mathematical definition of how
3
00:00:03,700 --> 00:00:04,990
to represent or how to
4
00:00:05,090 --> 00:00:07,160
compute the hypotheses used by Neural Network.
5
00:00:08,420 --> 00:00:09,620
In this ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hello World! — REGoth documentation</... | {
"pile_set_name": "Github"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: FlameD
m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
... | {
"pile_set_name": "Github"
} |
package org.how.tomcat.works.ex02;
import java.net.URL;
import java.net.URLClassLoader;
import java.net.URLStreamHandler;
import java.io.File;
import java.io.IOException;
import javax.servlet.Servlet;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
public class ServletProcessor2 {
public... | {
"pile_set_name": "Github"
} |
/*
Copyright 2014 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"
} |
//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2014 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
using System.Collections.Generic;
using System.Diagnostics;
/// <summary>
/// This improved version of the... | {
"pile_set_name": "Github"
} |
import os
from torchaudio.datasets import librispeech
from torchaudio_unittest.common_utils import (
TempDirMixin,
TorchaudioTestCase,
get_whitenoise,
save_wav,
normalize_wav,
)
# Used to generate a unique utterance for each dummy audio file
NUMBERS = [
'ZERO',
'ONE',
'TWO',
'THRE... | {
"pile_set_name": "Github"
} |
<?php
namespace Doctrine\Tests;
/**
* TestUtil is a class with static utility methods used during tests.
*
* @author robo
*/
class TestUtil
{
/**
* Gets a <b>real</b> database connection using the following parameters
* of the $GLOBALS array:
*
* 'db_type' : The name of the Doctrine DBAL d... | {
"pile_set_name": "Github"
} |
package cn.springcloud.book.config;
import org.springframework.boot.actuate.autoconfigure.security.servlet.EndpointRequest;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation... | {
"pile_set_name": "Github"
} |
import torch.nn as nn
from torch.autograd import Function
from torch.autograd.function import once_differentiable
from torch.nn.modules.utils import _pair
from . import roi_align_cuda
class RoIAlignFunction(Function):
@staticmethod
def forward(ctx, features, rois, out_size, spatial_scale, sample_num=0):
... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
* Copyright (C) 2016 Sam Silverberg sam.silverberg@gmail.com
*
* This file is part of OpenDedupe SDFS.
*
* OpenDedupe SDFS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public ... | {
"pile_set_name": "Github"
} |
package org.intellij.markdown.parser.sequentialparsers.impl
import org.intellij.markdown.MarkdownElementTypes
import org.intellij.markdown.MarkdownTokenTypes
import org.intellij.markdown.parser.sequentialparsers.LocalParsingResult
import org.intellij.markdown.parser.sequentialparsers.RangesListBuilder
import org.intel... | {
"pile_set_name": "Github"
} |
(function (global) {
var root = global.Rx,
TestScheduler = root.TestScheduler,
Observable = root.Observable,
// Assertions
CollectionAssert = root.CollectionAssert,
// Shortcuts for onNext/onError/onCompleted
onNext = root.ReactiveTest.onNext,
onError = root.ReactiveTest.o... | {
"pile_set_name": "Github"
} |
<!--
~ Copyright 2016 Google Inc. All Rights Reserved.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required... | {
"pile_set_name": "Github"
} |
<%-- The following 4 lines are ASP.NET directives needed when using SharePoint components --%>
<%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" MasterPageFile="~masterurl/default.master" Language="C#" %>
<%@ Re... | {
"pile_set_name": "Github"
} |
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
... | {
"pile_set_name": "Github"
} |
package io.searchbox.snapshot;
import com.google.gson.Gson;
import io.searchbox.client.config.ElasticsearchVersion;
import org.json.JSONException;
import org.junit.Test;
import org.skyscreamer.jsonassert.JSONAssert;
import java.util.HashMap;
import java.util.Map;
import static org.junit.Assert.assertEquals;
/**
* ... | {
"pile_set_name": "Github"
} |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/sms/model/GetAppValidationOutputResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <a... | {
"pile_set_name": "Github"
} |
'''
Created on Dec 20, 2010
@author: Mark V Systems Limited
(c) Copyright 2010 Mark V Systems Limited, All rights reserved.
'''
import math, re, sre_constants
from arelle.ModelObject import ModelObject, ModelAttribute
from arelle.ModelValue import (qname, dateTime, DateTime, DATE, DATETIME, dayTimeDuration,
... | {
"pile_set_name": "Github"
} |
// (C) Copyright 2008-10 Anthony Williams
// (C) Copyright 2011-2015 Vicente J. Botet Escriba
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_THREAD_FUTURES_WAIT_FOR_ALL_HPP
#define BOOST_T... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Identity;
namespace ResourceBasedAuthApp2.Models.ManageViewModels
{
public class ExternalLoginsViewModel
{
public IList<UserLoginInfo> ... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <OfficeImport/OADShade.h>
@class OADRelativeRect;
__attribute__((visibility("hidden")))
@interface OADPathShade : OADShade
{
OADRelativeRect *mFillToRect;
BOOL mIs... | {
"pile_set_name": "Github"
} |
package startstop
import "github.com/rackspace/gophercloud"
func actionURL(client *gophercloud.ServiceClient, id string) string {
return client.ServiceURL("servers", id, "action")
}
// Start is the operation responsible for starting a Compute server.
func Start(client *gophercloud.ServiceClient, id string) gophercl... | {
"pile_set_name": "Github"
} |
diff -up tinyxml/tinyxml.h~ tinyxml/tinyxml.h
--- tinyxml/tinyxml.h~ 2007-11-30 22:39:36.000000000 +0100
+++ tinyxml/tinyxml.h 2007-11-30 22:39:36.000000000 +0100
@@ -26,6 +26,8 @@ distribution.
#ifndef TINYXML_INCLUDED
#define TINYXML_INCLUDED
+#define TIXML_USE_STL 1
+
#ifdef _MSC_VER
#pragma warning( push )
#... | {
"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.h"
@class PBXTarget, XCBuildConfiguration;
@interface _XCTargetSettingsDemuxerProxy : NSObject
{
PBXTarget *_realTarget;
XCBuildConfiguration *_config... | {
"pile_set_name": "Github"
} |
openapi: 3.0.2
info:
title: Eclipse Kapua REST API - Jobs
version: '1.0'
contact:
name: Eclipse Kapua Dev Team
url: https://eclipse.org/kapua
email: kapua-dev@eclipse.org
license:
name: Eclipse Public License 2.0
url: https://www.eclipse.org/legal/epl-2.0
paths:
/{scopeId}/jobs:
get:... | {
"pile_set_name": "Github"
} |
defmodule Saxy.XML do
alias Saxy.Builder
@moduledoc """
Helper functions for building XML elements.
"""
@type characters() :: {:characters, String.t()}
@type cdata() :: {:cdata, String.t()}
@type comment() :: {:comment, String.t()}
@type ref() :: entity_ref() | hex_ref() | dec_ref()
@type entity... | {
"pile_set_name": "Github"
} |
.class public Ltypes/TestConstInline;
.super Ljava/lang/Object;
.method private static test(Z)Ljava/lang/String;
.registers 4
.param p0, "b" # Z
if-eqz p0, :cond_d
invoke-static {}, Ltypes/TestConstInline;->list()Ljava/util/List;
move-result-object v0
const-string v1, "1"
goto :goto_ret... | {
"pile_set_name": "Github"
} |
<testcase>
<info>
<keywords>
IMAP
Clear Text
FETCH
connection re-use
</keywords>
</info>
#
# Server-side
<reply>
<servercmd>
REPLY "LOGIN user.one secret" A002 OK LOGIN completed
REPLY "LOGIN user.two secret" B002 OK LOGIN completed
</servercmd>
<data>
From: me@somewhere
To: fake@nowhere
body
--
yours sinc... | {
"pile_set_name": "Github"
} |
/*
* This file is part of Hopsworks
* Copyright (C) 2020, Logical Clocks AB. All rights reserved
*
* Hopsworks is free software: you can redistribute it and/or modify it under the terms of
* the GNU Affero General Public License as published by the Free Software Foundation,
* either version 3 of the License, or (... | {
"pile_set_name": "Github"
} |
/** @file Rect.h
@author Jukka Jylänki
This work is released to Public Domain, do whatever you want with it.
*/
#pragma once
#include <vector>
struct RectSize
{
int width;
int height;
};
struct Rect
{
int x;
int y;
int width;
int height;
};
/// Performs a lexicographic compare on (rect short side, rect lon... | {
"pile_set_name": "Github"
} |
package net.corda.testing.internal.db
import org.junit.jupiter.api.Test
@GroupB
class GroupBTests {
@Test()
fun setExpectations() {
AssertingTestDatabaseContext.addExpectations("groupB",
"forClassGroupBTests-setup", "specialSql1-setup", "specialSql1-teardown", "forClassGroupBTests-teardow... | {
"pile_set_name": "Github"
} |
varying vec2 left_coord;
varying vec2 right_coord;
varying vec2 above_coord;
varying vec2 below_coord;
varying vec2 lefta_coord;
varying vec2 righta_coord;
varying vec2 leftb_coord;
varying vec2 rightb_coord;
void main()
{
isf_vertShaderInit();
vec2 texc = vec2(isf_FragNormCoord[0],isf_FragNormCoord[1]);
vec2 d =... | {
"pile_set_name": "Github"
} |
/*
* Interface between low level (hardware) drivers and
* HiSax protocol stack
*
* Author Kai Germaschewski
* Copyright 2001 by Kai Germaschewski <kai.germaschewski@gmx.de>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein b... | {
"pile_set_name": "Github"
} |
function [vertex,face] = check_face_vertex(vertex,face, options)
// check_face_vertex - check that vertices and faces have the correct size
//
// [vertex,face] = check_face_vertex(vertex,face);
//
// Copyright (c) 2007 Gabriel Peyre
vertex = check_size(vertex);
face = check_size(face);
endfunction
/////////////... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@protocol WXGMigrationClientLogicDelegate <NSObject>
- (void)onClientLogicCurrentTransferSpeed:(float)arg1;
- (void)onClientProcessCurrentCount:(unsigned long ... | {
"pile_set_name": "Github"
} |
package com.alibaba.otter.canal.instance.manager.plain;
import java.util.Properties;
/**
* plain远程配置,提供基于properties纯文本的配置
*
* @author rewerma 2019-01-25 下午05:20:16
* @author agapple
* @version 1.0.0
*/
public class PlainCanal {
private Properties properties;
private String md5;
private String ... | {
"pile_set_name": "Github"
} |
package us.ihmc.humanoidBehaviors.tools;
import org.apache.commons.lang3.reflect.FieldUtils;
/**
* Interface to streamline creating builders with checks for each field.
* <p>
* Add fields to the builder by using
* <p>
* private final Field<Type> name = required();
* private final IntField intName = requiredInt(... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE index
PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp Index Version 1.0//EN"
"http://java.sun.com/products/javahelp/index_2_0.dtd">
<index version="2.0">
<!-- index entries are merged (sorted) into core index -->
<indexitem text="alertFilter" target="addo... | {
"pile_set_name": "Github"
} |
4:482 2:997 Found BIOS RSDP at F0120
4:482 0:000 Printing ACPI tables from RSDP F0120 ...
4:482 0:000 F0120: 'RSD PTR ', Rev: 2 (Acpi 2.0 or newer), Len: 36
4:482 0:000 (Xsdt: B7FFC0E8, Rsdt: B7FFC074)
4:482 0:000 B7FFC0E8: 'XSDT', 'LGPC ', Rev: 1, Len: 188
4:482 0:000 B7FFC074: 'RSDT', 'LGPC... | {
"pile_set_name": "Github"
} |
# $Id: nl.po,v 1.1.2.1 2009/06/06 15:42:46 libeco Exp $
#
# Dutch translation of Drupal (general)
# Copyright YEAR NAME <EMAIL@ADDRESS>
# Generated from files:
# votingapi.admin.inc,v 1.1.2.2 2008/10/01 15:47:46 eaton
# votingapi.module,v 1.46.2.15 2008/10/09 21:12:35 eaton
# votingapi.info,v 1.4 2007/07/06 03:02:34... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pu... | {
"pile_set_name": "Github"
} |
package octopus.api.projects;
import java.io.IOException;
import java.nio.file.Paths;
import octopus.api.database.Database;
import octopus.server.database.titan.TitanLocalDatabaseManager;
public class OctopusProject
{
private final String pathToProjectDir;
private String name;
public OctopusProject(String name,... | {
"pile_set_name": "Github"
} |
package com.alibaba.datax.plugin.reader.mysqlreader;
import com.alibaba.datax.common.spi.ErrorCode;
public enum MysqlReaderErrorCode implements ErrorCode {
;
private final String code;
private final String description;
private MysqlReaderErrorCode(String code, String description) {
this.code... | {
"pile_set_name": "Github"
} |
AXWebArea
++AXGroup
++++AXTextField AXValue='Readonly-false input'
++AXGroup
++++AXTextField AXValue='Readonly-true input'
++AXGroup AXDescription='Readonly-false plain div'
++AXGroup AXDescription='Readonly-true plain div'
++AXTextArea AXDescription='Readonly-false contenteditable div'
++AXTextArea AXDescription='Read... | {
"pile_set_name": "Github"
} |
package com.yiqiniu.easytrans.demos.order.impl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import com.yiqiniu.... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.tabs.TabLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/sliding_tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:backgrou... | {
"pile_set_name": "Github"
} |
/*
Copyright (C) 2018 Andrey Nazarov
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 t... | {
"pile_set_name": "Github"
} |
import unittest
from riskquant.model import pert_frequency
class TestPERTFrequency(unittest.TestCase):
def setUp(self):
min_freq = 0
max_freq = 10
most_likely = 5
kurtosis = 1
self.s = pert_frequency.PERTFrequency(min_freq, max_freq, most_likely, kurtosis=kurtosis)
de... | {
"pile_set_name": "Github"
} |
`AppStateIOS`能告诉你应用当前是在前台还是在后台,并且能在状态变化的时候通知你。
AppStateIOS通常在处理推送通知的时候用来决定内容和对应的行为。
### iOS App States
* `active` - 应用正在前台运行
* `background` - 应用正在后台运行。用户既可能在别的应用中,也可能在桌面。
* `inactive` - 这是一个过渡状态,不会在正常的React Native应用中出现。
要了解更多信息,可以阅读[Apple的文档](https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/i... | {
"pile_set_name": "Github"
} |
(**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* ... | {
"pile_set_name": "Github"
} |
/*
* This file is part of the Jikes RVM project (http://jikesrvm.org).
*
* This file is licensed to You under the Eclipse Public License (EPL);
* You may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.opensource.org/licenses/eclipse-1.0.... | {
"pile_set_name": "Github"
} |
/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 3.3.0
build: 3167
*/
YUI.add("querystring-stringify-simple",function(c){var b=c.namespace("QueryString"),a=encodeURIComponent;b.stringify=function(j,k){var d=[],h=k&&k.arrayK... | {
"pile_set_name": "Github"
} |
/*
Copyright (C) 2014 Jerome Revaud
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 3 of the License, or
(at your option) any later version.
This program is distributed in the hope th... | {
"pile_set_name": "Github"
} |
/*
PICCANTE Examples
The hottest examples of Piccante:
http://vcg.isti.cnr.it/piccante
Copyright (C) 2014
Visual Computing Laboratory - ISTI CNR
http://vcg.isti.cnr.it
First author: Francesco Banterle
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Publi... | {
"pile_set_name": "Github"
} |
# GLBC E2E Testing
This document briefly goes over how the e2e testing is setup for this repository. It will also go into
some detail on how you can run tests against your own cluster.
## Kubernetes CI Overview
There are two groups of e2e tests that run in Kubernetes CI.
The first group uses a currently released ima... | {
"pile_set_name": "Github"
} |
#pragma once
#include "../models/Metric.h"
#include "../serializer/MetricsJsonObject.h"
#include <spdlog/spdlog.h>
using namespace polycube::service::model;
class Dynmon;
class MetricsBase {
public:
explicit MetricsBase(Dynmon &parent);
~MetricsBase() = default;
virtual void update(const MetricsJsonObject &c... | {
"pile_set_name": "Github"
} |
/****************************************************************************
Copyright (C) 2013 Henry van Merode. All rights reserved.
Copyright (c) 2015 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associa... | {
"pile_set_name": "Github"
} |
/*
* Created by Angel Leon (@gubatron), Alden Torres (aldenml),
* Marcelina Knitter (@marcelinkaaa)
* Copyright (c) 2011-2016, FrostWire(R). 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... | {
"pile_set_name": "Github"
} |
what happens when you put martin lawrence in a fat suit in real life ?
you get martin lawrence in a coma ( the comedian thought he was getting fat , so he put on numerous layers of heavy clothing and went jogging in 100 degree heat , ending up in a coma ) .
so what happens when you put martin lawrence in a fat suit i... | {
"pile_set_name": "Github"
} |
using Pitstop.Infrastructure.Messaging;
using System;
using System.Collections.Generic;
using System.Text;
namespace Pitstop.WorkshopManagementEventHandler.Events
{
public class MaintenanceJobFinished : Event
{
public readonly Guid JobId;
public readonly DateTime StartTime;
public read... | {
"pile_set_name": "Github"
} |
JASC-PAL
0100
16
24 41 82
255 255 222
255 255 189
230 238 90
213 222 0
238 238 222
222 230 230
255 222 197
222 222 189
246 246 180
238 230 180
213 213 156
230 230 139
255 255 123
238 238 106
255 205 172
| {
"pile_set_name": "Github"
} |
; RUN: opt -S -march=r600 -mcpu=cayman -loop-vectorize -force-vector-interleave=1 -force-vector-width=4 -dce -instcombine < %s | FileCheck %s
; Artificial datalayout
target datalayout = "e-p:32:32:32-p1:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64-v96... | {
"pile_set_name": "Github"
} |
jasmine.TrivialReporter = function(doc) {
this.document = doc || document;
this.suiteDivs = {};
this.logRunningSpecs = false;
};
jasmine.TrivialReporter.prototype.createDom = function(type, attrs, childrenVarArgs) {
var el = document.createElement(type);
for (var i = 2; i < arguments.length; i++) {
var ... | {
"pile_set_name": "Github"
} |
div.sheet-tabs {
margin-bottom: 2%;
grid-template-columns: 1fr 10%;
div.sheet-type,
div.sheet-settings {
padding: 2% 1%;
}
div.sheet-type {
grid-template-columns: repeat(4, 1fr);
}
div.sheet-col {
@extend %gridRowCol;
}
label {
display: grid;
}
input {
grid-column: 1;
height:... | {
"pile_set_name": "Github"
} |
CREATE TABLE IF NOT EXISTS "carddav_server" (
"carddav_server_id" serial,
"user_id" int NOT NULL REFERENCES "users" ON DELETE CASCADE,
"url" varchar(255) NOT NULL,
"username" varchar(128) NOT NULL,
"password" varchar(128) NOT NULL,
"label" varchar(128) NOT NULL,
"read_only" int NOT NULL,
PRIMARY KEY ("carddav_s... | {
"pile_set_name": "Github"
} |
local screen = require("awful.screen")
local beautiful = require("beautiful")
local xrdb = beautiful.xresources.get_current_theme()
local width = screen.focused().geometry.width
local height = screen.focused().geometry.height
local mytheme = {}
mytheme.name = "anonymous"
mytheme.x = {
background = xrdb.color0 or ... | {
"pile_set_name": "Github"
} |
// Boost.Signals library
// Copyright Douglas Gregor 2001-2003. Use, modification and
// distribution is subject to 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)
// For more information, see http://www.boost.org
#includ... | {
"pile_set_name": "Github"
} |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace Another.Place
{
using System.Collections.Generic;
using FunctionalTests.ProductivityApi.TemplateModels.CsMonsterModel;
public class CustomerMm
{
publi... | {
"pile_set_name": "Github"
} |
package cloudmonitoring
import (
"context"
"strconv"
"strings"
"time"
"github.com/grafana/grafana/pkg/tsdb"
)
func (e *CloudMonitoringExecutor) executeAnnotationQuery(ctx context.Context, tsdbQuery *tsdb.TsdbQuery) (*tsdb.Response, error) {
result := &tsdb.Response{
Results: make(map[string]*tsdb.QueryResult... | {
"pile_set_name": "Github"
} |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_xml_validation_datatype_EntityType__
#define __gnu_xml_validation_datatype_EntityType__
#pragma interface
#include <gnu/xml/validation/datatype/AtomicSimpleType.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace x... | {
"pile_set_name": "Github"
} |
.codebook{
// ============================================================================
// Single
// ============================================================================
margin: 2em auto;
text-align: left;
background-color: $color-parse-blue;
border-radius: 4px;
color: wh... | {
"pile_set_name": "Github"
} |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version... | {
"pile_set_name": "Github"
} |
package main
// pure version
import (
"flag"
"github.com/Vonng/ac/lib"
)
const (
defaultDictPath = "/ramdisk/vonng/dict.txt"
defaultInputPath = "/ramdisk/vonng/video_title.txt"
defaultOutputPath = "/ramdisk/vonng/vonng.txt"
)
// args
var (
dictPath string // dict path
inputPath string // input path
ou... | {
"pile_set_name": "Github"
} |
<?php
class blogPostDeleteMethod extends waAPIMethod
{
protected $method = 'POST';
public function execute()
{
$id = $this->post('id', true);
if (!is_array($id)) {
if (strpos($id, ',') !== false) {
$id = array_map('intval', explode(',', $id));
} else... | {
"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/. */
#import <UIKit/UIKit.h>
#import "bat/ledger/ledger.h"
#import "bat/ledger/ledger_database.h"
#import "bat/ledger/g... | {
"pile_set_name": "Github"
} |
//
// RealizedElement.swift
// Few
//
// Created by Josh Abernathy on 2/13/15.
// Copyright (c) 2015 Josh Abernathy. All rights reserved.
//
import Foundation
internal func indexOfObject<T: AnyObject>(array: [T], element: T) -> Int? {
for (i, e) in enumerate(array) {
if element === e { return i }
}
return n... | {
"pile_set_name": "Github"
} |
/**
* @class Ext.draw.sprite.Arc
* @extend Ext.draw.sprite.Circle
*
* A sprite that represents a circular arc.
*
* @example preview miniphone
* var component = new Ext.draw.Component({
* items: [{
* type: 'arc',
* cx: 100,
* cy: 100,
* r: 25,
* fillSt... | {
"pile_set_name": "Github"
} |
const _ = require('lodash');
const authentication = {
type: 'oauth1',
oauth1Config: {
getRequestToken: {
url: 'https://{{bundle.inputData.subdomain}}.example.com/request-token',
method: 'POST',
auth: {
oauth_consumer_key: '{{process.env.CLIENT_ID}}',
oauth_consumer_secret: '{{... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<connectionStrings>
<add name="TimesheetDatabase" connectionString="Server=192.168.3.2;Database=ToolsSampleDatabase;User=Snek;Password=p@ssw0rd" />
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
... | {
"pile_set_name": "Github"
} |
package flag
import (
"strings"
flags "github.com/jessevdk/go-flags"
)
type SpaceRole struct {
Role string
}
func (SpaceRole) Complete(prefix string) []flags.Completion {
return completions([]string{"SpaceManager", "SpaceDeveloper", "SpaceAuditor"}, prefix, false)
}
func (s *SpaceRole) UnmarshalFlag(val string... | {
"pile_set_name": "Github"
} |
The following steps describe how to configure a compute resource and provision new hosts on it.
1. Ensure the necessary package for the provider (from the above table) is installed, e.g. `yum -y install foreman-ovirt`. Restart the Foreman application to complete installation.
1. Add a compute resource under *Infras... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" default-locale="en-US">
<!-- Begell House, generated from "begell-house" metadata at https://github.com/citation-style-language/journals -->
<info>
<title>Journal of Flow Visualization and Image Processing</title... | {
"pile_set_name": "Github"
} |
package com.github.chengang.library;
import android.content.Context;
import android.graphics.Color;
import android.support.annotation.IntDef;
import android.support.annotation.NonNull;
import java.io.Serializable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Created by 陈... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.