text stringlengths 2 99.9k | meta dict |
|---|---|
/*!
* jQuery UI Effects Pulsate 1.9.2
* http://jqueryui.com
*
* Copyright 2012 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/pulsate-effect/
*
* Depends:
* jquery.ui.effect.js
*/
(function( $, undefined ) {
$.effects.effec... | {
"pile_set_name": "Github"
} |
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs types.go
// +build arm64
package pty
type (
_C_int int32
_C_uint uint32
)
| {
"pile_set_name": "Github"
} |
import tensorflow as tf
TF_SESSION_CONFIG = tf.ConfigProto(
gpu_options=tf.GPUOptions(allow_growth=True),
log_device_placement=False,
device_count={"GPU": 1})
NULL_CLASS_LABEL = "__null__"
BACKGROUND_NOISE_DIR_NAME = "_background_noise_"
| {
"pile_set_name": "Github"
} |
<% form_for @survey do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :name %><br />
<%= f.text_field :name %>
</p>
<% f.fields_for :questions do |builder| %>
<%= render "question_fields", :f => builder %>
<% end %>
<p><%= link_to_add_fields "Add Question", f, :questions %></p>
<p><%= f.submit... | {
"pile_set_name": "Github"
} |
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package ipv6
import (
"fmt"
"net"
"sync"
"golang.org/x/net/internal/iana"
"golang.org/x/net/internal/socket"
)
// Note that RFC 3542 obsoletes RFC 2292 ... | {
"pile_set_name": "Github"
} |
r""""DeepHOL large scale reporting in Apache Beam."""
from __future__ import absolute_import
from __future__ import division
# Import Type Annotations
from __future__ import print_function
import io
import os
import apache_beam as beam
from apache_beam.metrics import Metrics
import matplotlib.pyplot as plot
import ten... | {
"pile_set_name": "Github"
} |
How to mix C and C++
{'section': 32, 'faq-page': 'mixing-c-and-cpp.html'}
These questions are about mixing C and C++, which may be harder than you'd expect from the names of those languages, but easier than, say, [32.1 mixing C++ and C++]. Stay tuned.
What do I need to know when mixing C and C++ code?
FAQ:
You shoul... | {
"pile_set_name": "Github"
} |
import Foundation
import Godzippa
let originalString = "Look out! It's Godzippa!"
let originalData = originalString.data(using: .utf8)! as NSData
let compressedData = try! originalData.gzipCompressed() as NSData
let decompressedData = try! compressedData.gzipDecompressed()
let decompressedString = String(data: decompr... | {
"pile_set_name": "Github"
} |
---
layout: "svg_wrapper"
title: "Inheritance Graph for TextOutputStream"
typename: "TextOutputStream"
---
| {
"pile_set_name": "Github"
} |
var selectedClientOrder;
// ipmonitor: [[IP, MAC, DeviceName, Type, http, staled], ...]
// wireless: [MAC, ...] ==Yonsm==> {MAC:RSSI, ...} from ej_wl_auth_list
var sort_mode = parseInt(localStorage.getItem('sortMode'));
function getclients(flag_mac,flag_all){
var clients = new Array();
var j = 0;
for(var i = 0; i... | {
"pile_set_name": "Github"
} |
{
"type": "minecraft:crafting_shaped",
"pattern": [
" E ",
"DCD",
"GDG"
],
"key": {
"C": {
"item": "techreborn:compressor"
},
"D": {
"item": "minecraft:dirt"
},
"E": {
"item": "techreborn:electronic_circuit"
},
"G": {
"item": "minecraft:glowstone_d... | {
"pile_set_name": "Github"
} |
lib_LTLIBRARIES = libzip.la
noinst_HEADERS = zipint.h
include_HEADERS = zip.h
libzip_la_LDFLAGS=-version-info 0:5
libzip_la_SOURCES=\
zip_add.c \
zip_close.c \
zip_delete.c \
zip_dirent.c \
zip_entry_free.c \
zip_entry_new.c \
zip_err_str.c \
zip_error.c \
zip_error_get.c \
zip_error_get_sys_type.c \
zip_e... | {
"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"
} |
var NAVTREEINDEX1 =
{
"xuartpsv__hw_8h.html#gafd3e849759fc39c8dd3cbd14252d547b":[2,4,19],
"xuartpsv__hw_8h.html#gafd808993b004215aec5e78e26b228fea":[2,4,45],
"xuartpsv__hw_8h.html#gafdfa0dbb23e485a516ca374f17188afc":[2,4,88],
"xuartpsv__hw_8h.html#gafef090600c5845be229c5767c8fbfec2":[2,4,135],
"xuartpsv__intr_8c.html":... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.mashibing.mapper.FcBuildingMapper">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.mashibing.bean.FcBuilding">
<id column=... | {
"pile_set_name": "Github"
} |
f = open("io/data/bigfile1", "rb")
b = f.read(512)
print(len(b))
print(b)
| {
"pile_set_name": "Github"
} |
// Copyright (c) Philipp Wagner. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
namespace TinyCsvParser.Exceptions
{
public class CsvTypeConverterNotRegisteredException : Exception
{
public CsvTypeConverterNotRe... | {
"pile_set_name": "Github"
} |
/* IKEv1 HASH payload weirdness, for Libreswan
*
* Copyright (C) 2019 Andrew Cagney
*
* 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
* optio... | {
"pile_set_name": "Github"
} |
// This file is part of The New Aspell
// Copyright (C) 2001 by Kevin Atkinson under the GNU LGPL license
// version 2.0 or 2.1. You should have received a copy of the LGPL
// license along with this library if you did not you can find
// it at http://www.gnu.org/.
#ifndef ASPELL_GET_DATA__HPP
#define ASPELL_GET_DATA... | {
"pile_set_name": "Github"
} |
/*!
* jquery.inputmask.phone.extensions.js
* http://github.com/RobinHerbots/jquery.inputmask
* Copyright (c) 2010 - 2014 Robin Herbots
* Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
* Version: 3.1.34
*/
!function(factory) {
"function" == typeof define && define.amd ? define([ ... | {
"pile_set_name": "Github"
} |
package com.puppetlabs.geppetto.ui.wizard;
import com.puppetlabs.geppetto.ui.UIPlugin;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.IPath;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.ui.INewWizard;
import org.e... | {
"pile_set_name": "Github"
} |
#!/bin/bash -ex
git clone --depth=1 https://github.com/rogerhu/gdb-heap || true
cd gdb-heap
# make sure gdbinit exists
touch ~/.gdbinit
if ! grep "init-gdb-heap" ~/.gdbinit; then
cat >> ~/.gdbinit <<EOF
####
# added by ctf-tools
define init-gdb-heap
python import sys; sys.path.append("$PWD"); import heap
end... | {
"pile_set_name": "Github"
} |
{
"kind": "discovery#restDescription",
"etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/LIbYVZb_4AVNYXTI7gW6jjbQKZE\"",
"discoveryVersion": "v1",
"id": "androidpublisher:v1.1",
"name": "androidpublisher",
"canonicalName": "Android Publisher",
"version": "v1.1",
"revision": "20170815",
"title": "Google Play Developer API... | {
"pile_set_name": "Github"
} |
#pragma once
class RebarBandState {
public:
GUID m_guid{};
// Although we store the DPI, this does virtually nothing as remaining space is automatically
// distributed among the remaining bands.
uih::IntegerAndDpi<uint32_t> m_width{};
bool m_break_before_band{};
mutable pfc::array_t<t_uint8> m_... | {
"pile_set_name": "Github"
} |
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | {
"pile_set_name": "Github"
} |
package com.tencent.mm.plugin.talkroom.ui;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
import android.widget.ImageButton;
import com.tencent.mm.a.h;
import com.tencent.mm.a.n;
import com.tencent.mm.plugin.talkroom.model.b;
import com.tencent.mm.plugin.talkroom.m... | {
"pile_set_name": "Github"
} |
var group__symobject =
[
[ "t_symobject", "structt__symobject.html", [
[ "flags", "structt__symobject.html#a6e4b87b05762ec56b8b78c269211f3b8", null ],
[ "obj", "structt__symobject.html#a73fa127160cd11d7111eb0b75f15a649", null ],
[ "sym", "structt__symobject.html#aebafd62d2b8ac1273c32e17b767b999b",... | {
"pile_set_name": "Github"
} |
// Copyright(c) Microsoft Corporation.All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.Maps.Unity.Search
{
using Microsoft.Geospatial;
using Microsoft.Maps.Unity.Services;
using System;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.Networking;
... | {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2012 Désiré Nuentsa-Wakam <desire.nuentsa_wakam@inria.fr>
// Copyright (C) 2014 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. ... | {
"pile_set_name": "Github"
} |
--- Lv1 Treasure Chest ---
addnpc(147392, "ETC_20150317_009100", "d_cmine_66_2", -953, 566, 338, 270, "npc_dummy")
| {
"pile_set_name": "Github"
} |
"Filed out from Dolphin Smalltalk 7"!
RefactoringBrowserTest subclass: #RBNamespaceTest
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
classInstanceVariableNames: ''!
RBNamespaceTest guid: (GUID fromString: '{79170e4b-f3f8-4b46-8093-dac62f866cba}')!
RBNamespaceTest comment: ''!
!RB... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "universal",
"filename" : "search_list_addcart_icon_unable.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "search_list_addcart_icon_unable@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "sea... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2017 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | {
"pile_set_name": "Github"
} |
import os
import sys
import webbrowser
from time import sleep as sleep_sheep
# Executing ping with input host
# using systems functionality (only linux)
def ping(host):
instr = "ping -c 1 %s" %(host)
response = os.system(instr)
return response == 0
# Finite state loop if
# computer re-connects to network
# ... | {
"pile_set_name": "Github"
} |
//
// MAMapView.h
// MAMapKit
//
// Created by 翁乐 on 3/17/16.
// Copyright © 2016 Amap. All rights reserved.
//
#import "MAConfig.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "MAOverlay.h"
#import "MAOverlayRenderer.h"
#import "MAAnnotationView.h"
#import "MACircle.h"
#import "MAUserLocatio... | {
"pile_set_name": "Github"
} |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package html
import (
"bufio"
"errors"
"fmt"
"io"
"strings"
)
type writer interface {
io.Writer
io.ByteWriter
WriteString(string) (int, error)
}
// R... | {
"pile_set_name": "Github"
} |
package com.zhike.activity;
import android.app.Activity;
import android.os.Bundle;
import com.zhike.R;
public class About extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.about);
setTitle(getString(R.string.app_name)+"-... | {
"pile_set_name": "Github"
} |
var arrayMap = require('../internal/arrayMap'),
arrayReduce = require('../internal/arrayReduce'),
bindCallback = require('../internal/bindCallback'),
unzip = require('./unzip');
/**
* This method is like `_.unzip` except that it accepts an iteratee to specify
* how regrouped values should be combined. Th... | {
"pile_set_name": "Github"
} |
diff --git a/loginutils/passwd.c b/loginutils/passwd.c
index 6c643d3..df8859d 100644
--- a/loginutils/passwd.c
+++ b/loginutils/passwd.c
@@ -69,7 +69,6 @@ static char* new_password(const struct passwd *pw, uid_t myuid, const char *algo
goto err_ret;
if (ENABLE_FEATURE_PASSWD_WEAK_CHECK
&& obscure(orig, newp, pw... | {
"pile_set_name": "Github"
} |
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Range should render Multi-Range with correct DOM structure 1`] = `
<div
class="rc-slider"
>
<div
class="rc-slider-rail"
/>
<div
class="rc-slider-track rc-slider-track-1"
style="left:0%;right:auto;width:0%"
/>
<div
class="rc-slider-track rc... | {
"pile_set_name": "Github"
} |
################################################################################
#
# python-pyqrcode
#
################################################################################
PYTHON_PYQRCODE_VERSION = 1.2.1
PYTHON_PYQRCODE_SOURCE = PyQRCode-$(PYTHON_PYQRCODE_VERSION).tar.gz
PYTHON_PYQRCODE_SITE = https://pypi... | {
"pile_set_name": "Github"
} |
// Copyright 2016 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.
// +build darwin dragonfly freebsd
package route
func (w *wireFormat) parseInterfaceMulticastAddrMessage(_ RIBType, b []byte) (Message, error) {
if len(b) < ... | {
"pile_set_name": "Github"
} |
package com.type.sdk.application;
import android.app.Application;
import com.type.sdk.android.TypeSDKLogger;
import com.type.sdk.android.TypeSDKTool;
import com.type.sdk.notification.PushService;
import com.type.sdk.android.haomeng.TypeSDKBonjour;
public class TypeApplication extends Application{
public... | {
"pile_set_name": "Github"
} |
require 'rails_helper'
RSpec.describe "papers/new", type: :view do
let(:paper_types) { [] }
let!(:paper) { assign(:paper, build(:paper)) }
before(:each) do
allow(Repository).to receive(:editors).and_return %w(@user1 @user2 @user3)
end
around(:each) do |example|
setting = Rails.application.settings[... | {
"pile_set_name": "Github"
} |
Newsgroups: sci.space
Path: cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!noc.near.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sdd.hp.com!network.ucsd.edu!pacbell.com!tandem!NewsWatcher
From: fleice_mike@tandem.com (Mike Fleice)
Subject: Last call: S/W wizard position at Tandem (Cupertino CA)
Message-ID: <fle... | {
"pile_set_name": "Github"
} |
a single line
a single line
| {
"pile_set_name": "Github"
} |
// Copyright 2012 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.
#include <sstream>
#include "src/v8.h"
#if V8_TARGET_ARCH_X64
#include "src/hydrogen-osr.h"
#include "src/lithium-inl.h"
#include "src/x64/lithium-co... | {
"pile_set_name": "Github"
} |
"""
Test that step-inst over a crash behaves correctly.
"""
from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
class CrashDuringStepTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
... | {
"pile_set_name": "Github"
} |
@charset "UTF-8";
#top-github-link,
#body #breadcrumbs {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-o-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.button,
.button-secondary {
dis... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __DRM_RANDOM_H__
#define __DRM_RANDOM_H__
/* This is a temporary home for a couple of utility functions that should
* be transposed to lib/ at the earliest convenience.
*/
#include <linux/random.h>
#define DRM_RND_STATE_INITIALIZER(seed__) ({ \
struct rnd_state st... | {
"pile_set_name": "Github"
} |
#
# Copyright (C) 2018 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas 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, version 3 of the License.
#
# Canvas is distributed in the ... | {
"pile_set_name": "Github"
} |
arnold schwarzenegger has been an icon for action enthusiasts , since the late 80's , but lately his films have been very sloppy and the one-liners are getting worse .
it's hard seeing arnold as mr . freeze in batman and robin , especially when he says tons of ice jokes , but hey he got 15 million , what's it matter t... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright (c) 2004
* John Maddock
*
* Use, modification and distribution are 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)
*
*/
/*
* LOCATION: see http://www.boost.org for most recent v... | {
"pile_set_name": "Github"
} |
import = "aws-sdk-go/models/apis/datasync/2018-11-09/api-2.json"
mapping "aws_datasync_agent" {
name = TagValue
activation_key = ActivationKey
tags = InputTagList
}
mapping "aws_datasync_location_efs" {
ec2_config = Ec2Config
efs_file_system_arn = EfsFilesystemArn
subdirectory... | {
"pile_set_name": "Github"
} |
#import "YOLO.ph"
@implementation NSArray (YOLOGroupBy)
- (NSDictionary *(^)(id (^)(id o)))groupBy {
return ^id(id (^block)(id)) {
NSMutableDictionary *dict = [NSMutableDictionary new];
for (id o in self) {
id key = block(o);
if (!dict[key])
dict[key] = [NSM... | {
"pile_set_name": "Github"
} |
Index: compcache-0.6.2/ramzswap_drv.c
===================================================================
--- compcache-0.6.2.orig/ramzswap_drv.c 2012-07-25 01:02:39.000000000 +0200
+++ compcache-0.6.2/ramzswap_drv.c 2012-07-25 01:04:29.270750850 +0200
@@ -525,7 +525,7 @@
if (S_ISBLK(inode->i_mode)) {
bdev = I_B... | {
"pile_set_name": "Github"
} |
{
"__comment": "Generated by generateResources.py function: blockstate",
"forge_marker": 1,
"defaults": {
"model": "tfc:ore",
"textures": {
"all": "tfc:blocks/stonetypes/raw/schist",
"particle": "tfc:blocks/stonetypes/raw/schist",
"overlay": "tfc:blocks/ores/tetrahedrite"
}
},
"v... | {
"pile_set_name": "Github"
} |
from distutils.core import setup
from setuptools import find_packages
setup(
name='deepul',
version='0.1.0',
packages=find_packages(),
license='MIT License',
)
| {
"pile_set_name": "Github"
} |
/*
* cocos2d for iPhone: http://www.cocos2d-iphone.org
*
* Copyright (c) 2010 Ricardo Quesada
* Copyright (c) 2011 Zynga Inc.
*
* 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 withou... | {
"pile_set_name": "Github"
} |
/*
***************************************************************************************
* Copyright (C) 2006 EsperTech, Inc. All rights reserved. *
* http://www.espertech.com/esper *
* http://www.espertech.com ... | {
"pile_set_name": "Github"
} |
---
layout: classic-docs
title: Caching in CircleCI
categories: [optimization]
description: "How caching works on CircleCI 1.0"
sitemap: false
---
When we talk about caching on CircleCI, we're usually talking about the dependency cache. Dependency caching saves the state of your dependencies between builds, thereby ma... | {
"pile_set_name": "Github"
} |
/*************************************************
* Perl-Compatible Regular Expressions *
*************************************************/
/* PCRE is a library of functions to support regular expressions whose syntax
and semantics are as close as possible to those of the Perl 5 language.
... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 651636a15b6a6654dbc236ff31c33877
timeCreated: 1468435212
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart:... | {
"pile_set_name": "Github"
} |
// Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2011 The Go Authors. All rights reserved.
// https://github.com/golang/protobuf
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<title>API documentation</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type='text/css' rel='stylesheet' href='../../../apidoc/stylesheets/bundled/bootstrap.min.css'/>
<link typ... | {
"pile_set_name": "Github"
} |
# (C) Copyright David Abrahams 2001. Permission to copy, use, modify, sell and
# distribute this software is granted provided this copyright notice appears in
# all copies. This software is provided "as is" without express or implied
# warranty, and with no claim as to its suitability for any purpose.
from b2.util... | {
"pile_set_name": "Github"
} |
---
title: "ICorProfilerObjectEnum::Clone Method"
ms.date: "03/30/2017"
api_name:
- "ICorProfilerObjectEnum.Clone"
api_location:
- "mscorwks.dll"
api_type:
- "COM"
f1_keywords:
- "ICorProfilerObjectEnum::Clone"
helpviewer_keywords:
- "Clone method, ICorProfilerObjectEnum interface [.NET Framework profili... | {
"pile_set_name": "Github"
} |
---
title: "mit-scheme"
layout: formula
---
{{ content }}
| {
"pile_set_name": "Github"
} |
% # the following vars must be set: recommended_tags, extra_attributes
% # optional: timestamp_feeder True, helptext {}, event_type '', handler ''
% setdefault('timestamp_feeder', False)
% setdefault('helptext', {})
% setdefault('event_type', '')
% setdefault('handler', '')
% if timestamp_feeder:
% default_helptext... | {
"pile_set_name": "Github"
} |
--TEST--
Bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated records)
--FILE--
<?php
var_dump(str_getcsv("0\t\t\"2\"\n", "\t"));
var_dump(str_getcsv("0\t \t'2'\n", "\t", "'"));
var_dump(str_getcsv(",,,,"));
var_dump(str_getcsv(" \t \t\t\t ", "\t"));
?>
--EXPECT--
array(3) {
[0]=>
string(1) "0"... | {
"pile_set_name": "Github"
} |
import { EntityMetadata } from './typeormProxy'
import { EntityType } from '../types'
export function getPrimaryKeyValue(metadata: EntityMetadata, entity: object) {
return metadata.getEntityIdMixedMap(entity)
}
export function isEntityInList(entity: EntityType, array: EntityType[], metadata: EntityMetadata) {
if ... | {
"pile_set_name": "Github"
} |
'use strict';
const BootBot = require('./lib/BootBot');
module.exports = BootBot;
| {
"pile_set_name": "Github"
} |
// ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2018
// MIT License
#pragma once
#include "../Configuration.hpp"
#if ARDUINOJSON_ENABLE_STD_STREAM
#include <ostream>
namespace ArduinoJson {
namespace Internals {
class StreamPrintAdapter {
public:
explicit StreamPrintAdapter(std::ostream& os)... | {
"pile_set_name": "Github"
} |
// Copyright 2015 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.
#ifndef V8_S390_REGEXP_MACRO_ASSEMBLER_S390_H_
#define V8_S390_REGEXP_MACRO_ASSEMBLER_S390_H_
#include "src/macro-assembler.h"
#include "src/regexp/reg... | {
"pile_set_name": "Github"
} |
<%# this is a comment %>
<% @posts.each do |post| %>
<p><%= link_to post.title, post %></p>
<% end %>
<%- available_things = things.select(&:available?) -%>
<%%- x = 1 + 2 -%%>
<%% value = 'real string #{@value}' %%>
<%%= available_things.inspect %%>
| {
"pile_set_name": "Github"
} |
/******************************************************************************
*
* Copyright(c) 2007 - 2017 Realtek Corporation.
*
* 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 Software Foundat... | {
"pile_set_name": "Github"
} |
From 25139116756cc285a3a5534834cc276ef1b7baaa Mon Sep 17 00:00:00 2001
From: Stefan Metzmacher <metze@samba.org>
Date: Wed, 30 Sep 2015 21:17:02 +0200
Subject: [PATCH 1/2] CVE-2015-5296: s3:libsmb: force signing when requiring
encryption in do_connect()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11536
Signed-of... | {
"pile_set_name": "Github"
} |
// ---------------------------------------------------------------------
//
// Copyright (c) 2018 - 2019 by the IBAMR developers
// All rights reserved.
//
// This file is part of IBAMR.
//
// IBAMR is free software and is distributed under the 3-clause BSD
// license. The full text of the license can be found in the f... | {
"pile_set_name": "Github"
} |
Red/System [
Title: "Alias definitions for datatype structures"
Author: "Nenad Rakocevic"
File: %structures.reds
Tabs: 4
Rights: "Copyright (C) 2011-2018 Red Foundation. All rights reserved."
License: {
Distributed under the Boost Software License, Version 1.0.
See https://github.com/red/red/blob/maste... | {
"pile_set_name": "Github"
} |
{}
| {
"pile_set_name": "Github"
} |
{
"description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
"required": [
"endpoints",
"path"
],
"properties": {
"endpoints": {
"description": "EndpointsName is the endpoint name that details Gl... | {
"pile_set_name": "Github"
} |
package tr
import (
"testing"
"time"
turkish "github.com/go-playground/locales/tr"
ut "github.com/go-playground/universal-translator"
. "github.com/go-playground/assert/v2"
"github.com/go-playground/validator/v10"
)
func TestTranslations(t *testing.T) {
tr := turkish.New()
uni := ut.New(tr, tr)
trans, _ :=... | {
"pile_set_name": "Github"
} |
/*
* The driver for the Cirrus Logic's Sound Fusion CS46XX based soundcards
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* 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;... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html class="client-nojs" lang="en" dir="ltr">
<head>
<meta charset="UTF-8"/>
<title>File:Flag of Colorado.svg - Wikimedia Commons</title>
<script>document.documentElement.className = document.documentElement.className.replace( /(^|\s)client-nojs(\s|$)/, "$1client-js$2" );</script>
<script>(window.RLQ=w... | {
"pile_set_name": "Github"
} |
# This file is automatically generated, do not edit!
#
"""Automatically generated constants for Python
Note that this file is autogenerated with @lib/_constants.py.in@ as a
header.
"""
# pylint: disable=C0301,C0324
# because this is autogenerated, we do not want
# style warnings
| {
"pile_set_name": "Github"
} |
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "ShowDib3"=.\ShowDib3.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
########... | {
"pile_set_name": "Github"
} |
## 2.4.0
* Add the ability to bypass CORS preflight requests.
## 2.3.0
* Revert [PR #287](https://github.com/grpc/grpc-dart/pull/287), which allowed
using gRPC-web in native environments but also broke streaming.
## 2.2.0+1
* Relax `crypto` version dependency constraint from `^2.1.5` to `^2.1.4`.
## 2.2.0
* Adde... | {
"pile_set_name": "Github"
} |
import React from 'react'
import PropTypes from 'prop-types'
import ReactEcharts from 'echarts-for-react'
class DynamicChartComponent extends React.Component {
static propTypes = { // as static property
theme: PropTypes.string,
};
constructor(props) {
super(props)
this.state = { // define this.stat... | {
"pile_set_name": "Github"
} |
require('../../../modules/es6.array.some');
module.exports = require('../../../modules/_entry-virtual')('Array').some;
| {
"pile_set_name": "Github"
} |
^(CMake Warning:
You are using Visual Studio tools for Android, which does not support
standalone executables\. However, the following executable targets do not
have the ANDROID_GUI property set, and thus will not be built as expected\.
They will be built as shared libraries with executable filenames:
and... | {
"pile_set_name": "Github"
} |
/////////////////////////////////////////////////////////////////////////////
// Name: panelportfolioposition.cpp
// Purpose:
// Author: Raymond P. Burkholder
// Modified by:
// Created: 27/10/2013 20:40:05
// RCS-ID:
// Copyright: (c) 2011 One Unified
// Licence:
////////////////////... | {
"pile_set_name": "Github"
} |
namespace TrafficManager.State {
using ColossalFramework.UI;
using CSUtil.Commons;
using ICities;
using TrafficManager.API.Traffic.Enums;
using TrafficManager.Manager.Impl;
using TrafficManager.UI.Helpers;
using TrafficManager.UI;
using UnityEngine;
public static class OptionsVehicl... | {
"pile_set_name": "Github"
} |
// Copyright Aleksey Gurtovoy 2000-2004
// Copyright Jaap Suter 2003
//
// 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 "boost/mpl/shift_left.hpp" header
// -- DO NOT modify by h... | {
"pile_set_name": "Github"
} |
d:\dev\d1\lib\vecmat.h(237): Warning! W123: '//' style comment continues on next line
d:\dev\d1\lib\vecmat.h(237): Warning! W123: '//' style comment continues on next line
d:\dev\d1\lib\vecmat.h(237): Warning! W123: '//' style comment continues on next line
| {
"pile_set_name": "Github"
} |
==============================================================================
Vintageous 2.9.7
==============================================================================
There have been quite a few low level changes in this version,
mostly related to code reorg in preparation for future releases.
Please re... | {
"pile_set_name": "Github"
} |
section.DeviceDisconnectedView {
@extend %PageView;
z-index: 99;
.background {
background-color: rgba(0, 0, 0, 0.8);
}
.mouse-controls {
position: absolute;
left: 50%;
bottom: 22px;
width: 300px;
margin-left: -150px;
letter-spacing: 2px;
text-align: center;
a {
... | {
"pile_set_name": "Github"
} |
# --------------------------------------------------------
# SiamMask
# Licensed under The MIT License
# Written by Qiang Wang (wangqiang2015 at ia.ac.cn)
# --------------------------------------------------------
import numpy as np
from collections import namedtuple
Corner = namedtuple('Corner', 'x1 y1 x2 y2')
BBox =... | {
"pile_set_name": "Github"
} |
//app.js
App({
onLaunch: function() {
// 展示本地存储能力
var logs = wx.getStorageSync('logs') || []
logs.unshift(Date.now())
wx.setStorageSync('logs', logs)
// 登录
wx.login({
success: res => {
// 发送 res.code 到后台换取 openId, sessionKey, unionId
}
})
// 获取用户信息
wx.getSettin... | {
"pile_set_name": "Github"
} |
{-# Language RankNTypes, ViewPatterns, PatternSynonyms, TypeOperators, ScopedTypeVariables,
KindSignatures, PolyKinds, DataKinds, TypeFamilies, GADTs #-}
module T14552 where
import Data.Kind
import Data.Proxy
data family Sing a
type a --> b = (a, b) -> Type
type family F (f::a --> b) (x::a) :: b
newt... | {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2009 Orbeon, Inc.
*
* This program 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
* 2.1 of the License, or (at your option) any later version.
*
* This program i... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.