text stringlengths 2 99k | meta dict |
|---|---|
// Copyright 2009 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 netbsd openbsd
// BSD system call wrappers shared by *BSD based systems
// including OS X (Darwin) and FreeBSD. Like the ot... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing>
<package action="install">
<assemblyIdentity name="Package_for_KB2859903" version="10.2.1.0" language="neutral" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"/>
<s... | {
"pile_set_name": "Github"
} |
package org.javacs.lsp;
import java.util.List;
public class TextDocumentEdit {
public VersionedTextDocumentIdentifier textDocument;
public List<TextEdit> edits;
}
| {
"pile_set_name": "Github"
} |
# coding=utf-8
from __future__ import unicode_literals
from .base import Base
from .other import other_obj
from .normal import normal_attr
__all__ = ['Message']
class Message(Base):
def __init__(self, mid, cache, session):
super(Message, self).__init__(mid, cache, session)
def _build_url(self):
... | {
"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"
} |
// SPDX-License-Identifier: GPL-2.0
/*
* Tests x86 Memory Protection Keys (see Documentation/x86/protection-keys.txt)
*
* There are examples in here of:
* * how to set protection keys on memory
* * how to set/clear bits in PKRU (the rights register)
* * how to handle SEGV_PKRU signals and extract pkey-relevant... | {
"pile_set_name": "Github"
} |
"""
WSGI config for paperless project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SE... | {
"pile_set_name": "Github"
} |
// Copyright 2012 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 jpeg
import (
"bytes"
"fmt"
"image"
"image/color"
"io/ioutil"
"math/rand"
"os"
"strings"
"testing"
)
// TestDecodeProgressive tests that deco... | {
"pile_set_name": "Github"
} |
/*
dct64_altivec.c: Discrete Cosine Tansform (DCT) for Altivec
copyright ?-2006 by the mpg123 project - free software under the terms of the LGPL 2.1
see COPYING and AUTHORS files in distribution or http://mpg123.org
initially written by Michael Hipp
altivec optimization by tmkk
*/
/*
* Discrete Cosine Tansform... | {
"pile_set_name": "Github"
} |
/*
* IUCV special message driver
*
* Copyright IBM Corp. 2003, 2009
*
* Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com)
*
* 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 v... | {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright 2018 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 agre... | {
"pile_set_name": "Github"
} |
package test.hook.issue2257;
import org.testng.Assert;
import org.testng.IConfigurable;
import org.testng.IConfigureCallBack;
import org.testng.ITestResult;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.BeforeSuite;
import org.testng.annotations.Be... | {
"pile_set_name": "Github"
} |
package org.bukkit.event.player;
import org.apache.commons.lang3.Validate;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList;
import org.bukkit.inventory.meta.BookMeta;
/**
* Called when a player edits or signs a book and quill item. I... | {
"pile_set_name": "Github"
} |
-- @@@ START COPYRIGHT @@@
--
-- 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... | {
"pile_set_name": "Github"
} |
本包提供了 Go 语言中读写 INI 文件的功能。
## 功能特性
- 支持覆盖加载多个数据源(`[]byte` 或文件)
- 支持递归读取键值
- 支持读取父子分区
- 支持读取自增键名
- 支持读取多行的键值
- 支持大量辅助方法
- 支持在读取时直接转换为 Go 语言类型
- 支持读取和 **写入** 分区和键的注释
- 轻松操作分区、键值和注释
- 在保存文件时分区和键值会保持原有的顺序
## 下载安装
go get gopkg.in/ini.v1
## 开始使用
### 从数据源加载
一个 **数据源** 可以是 `[]byte` 类型的原始数据,或 `string` 类型的文件路径。您可以加载 **... | {
"pile_set_name": "Github"
} |
/**
* Talisman keyword-extraction/rake tests
* =======================================
*
*/
import assert from 'assert';
import sentences from '../../src/tokenizers/sentences';
import words from '../../src/tokenizers/words/treebank';
import createExtractor from '../../src/keyword-extraction/rake';
import {loadResou... | {
"pile_set_name": "Github"
} |
{
"description": "PodPresetSpec is a description of a pod preset.",
"properties": {
"env": {
"description": "Env defines the collection of EnvVar to inject into containers.",
"type": [
"array",
"null"
],
"items": {
"description": "EnvVar represents an environment ... | {
"pile_set_name": "Github"
} |
.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim ... | {
"pile_set_name": "Github"
} |
var class_reddit_1_1_inputs_1_1_modmail_1_1_modmail_new_conversation_input =
[
[ "ModmailNewConversationInput", "class_reddit_1_1_inputs_1_1_modmail_1_1_modmail_new_conversation_input.html#a8b80063ed40d9529f21dabdfa4bfbbc9", null ],
[ "srName", "class_reddit_1_1_inputs_1_1_modmail_1_1_modmail_new_conversation_i... | {
"pile_set_name": "Github"
} |
@media (min-width: @screen-sm) and (max-width: @screen-sm-max) {
#icon-carousel {
@size: 200px;
font-size: @size;
line-height: @size + 5;
}
.carousel-control {
top: @size - 10px;
.square(30px);
left: 228/2 - 36px;
&.right {
right: 228/2 - 36px;
}
}
.jumbotron-carousel {
... | {
"pile_set_name": "Github"
} |
<?php
namespace AsseticBundle;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class FilterManagerFactory implements FactoryInterface
{
/**
* @param ContainerInterface $locator
* @param string $requestedName
* @pa... | {
"pile_set_name": "Github"
} |
#include "pch.h"
#include "../Zero/zero_common.h"
int Error(const char* msg)
{
printf("%s: error=%d\n", msg, GetLastError());
return 1;
}
int main()
{
HANDLE hDevice = CreateFile(L"\\\\.\\Zero", GENERIC_READ | GENERIC_WRITE, 0, nullptr, OPEN_EXISTING, 0, nullptr);
if (hDevice == INVALID_HANDLE_VALUE)
{
retur... | {
"pile_set_name": "Github"
} |
--- /dev/null
+++ b/arch/arm/mach-iproc/localtimer.c
@@ -0,0 +1,27 @@
+/*
+ * linux/arch/arm/mach-iproc/localtimer.c
+ *
+ * Copyright (C) 2002 ARM Ltd.
+ * All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License versio... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
<objectAnimator
android:duration="1000"
android:propertyName="rotateUp"
android:valueFrom="1"
android:valueTo="0"
android:valueType="floatType" />
</set><!-- From: file:/h... | {
"pile_set_name": "Github"
} |
"use strict";
const Command = require("@lerna/command");
const output = require("@lerna/output");
const envinfo = require("envinfo");
module.exports = factory;
function factory(argv) {
return new InfoCommand(argv);
}
class InfoCommand extends Command {
// eslint-disable-next-line
initialize() {}
// eslint-d... | {
"pile_set_name": "Github"
} |
/***************************************************************************
*
* Copyright (c) 2014 Sina.com, Inc. All Rights Reserved
*
**************************************************************************/
/**
* @file bus_hbase_util.cc
* @author zhangbo6(zhangbo6@staff.sina.com.cn)
* @date 2014/12... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 1999~2017, Altibase Corp. and/or its affiliates. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is dis... | {
"pile_set_name": "Github"
} |
#
# Makefile for caching inode integrity data (iint)
#
obj-$(CONFIG_INTEGRITY) += integrity.o
integrity-y := iint.o
integrity-$(CONFIG_INTEGRITY_AUDIT) += integrity_audit.o
integrity-$(CONFIG_INTEGRITY_SIGNATURE) += digsig.o
integrity-$(CONFIG_INTEGRITY_ASYMMETRIC_KEYS) += digsig_asymmetric.o
subdir-$(CONFIG_IMA) ... | {
"pile_set_name": "Github"
} |
function set_mode_gpu()
% set_mode_gpu()
% set Caffe to GPU mode
caffe_('set_mode_gpu');
end
| {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CmdMessenger: Comma... | {
"pile_set_name": "Github"
} |
// @flow
import { observable } from "mobx";
import { inject, observer } from "mobx-react";
import * as React from "react";
import { Redirect } from "react-router-dom";
import SharesStore from "stores/SharesStore";
import UiStore from "stores/UiStore";
import Share from "models/Share";
import CopyToClipboard from "comp... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Androi... | {
"pile_set_name": "Github"
} |
{
"info" : {
"version" : 1,
"author" : "xcode"
}
} | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: Table Cell Vertical Alignment with Specified Height</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/"/>
<lin... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2007, 2014, 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"
} |
import loader_native, unittest
wgd = loader_native.import_ns("Windows.Graphics.DirectX")
wgdd = loader_native.import_ns("Windows.Graphics.DirectX.Direct3D11")
class TestDirectX(unittest.TestCase):
def test_struct_containing_enum_pos(self):
msd = wgdd.Direct3DMultisampleDescription(1, 2)
sd = wgdd... | {
"pile_set_name": "Github"
} |
//
// MessagePack for C++ static resolution routine
//
// Copyright (C) 2016 KONDO Takatoshi
//
// 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 MSGPACK_TYPE_VECTOR_CHAR_HPP
#define MSGPACK_TYP... | {
"pile_set_name": "Github"
} |
package code.name.monkey.appthemehelper.util;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.PorterDuff;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.RippleDrawable;
import android.os.Build;
impor... | {
"pile_set_name": "Github"
} |
// created by cgo -cdefs and then converted to Go
// cgo -cdefs defs_freebsd.go
package runtime
import "unsafe"
const (
_EINTR = 0x4
_EFAULT = 0xe
_PROT_NONE = 0x0
_PROT_READ = 0x1
_PROT_WRITE = 0x2
_PROT_EXEC = 0x4
_MAP_ANON = 0x1000
_MAP_PRIVATE = 0x2
_MAP_FIXED = 0x10
_MADV_FREE = 0x5
_SA_... | {
"pile_set_name": "Github"
} |
import { Component, Prop, Vue } from 'vue-property-decorator'
import { Mark, Styles } from './typings'
import './styles/mark.scss'
@Component
export default class VueSlideMark extends Vue {
@Prop({ required: true })
mark!: Mark
@Prop(Boolean) hideLabel?: boolean
@Prop() stepStyle?: Styles
@Prop() stepAct... | {
"pile_set_name": "Github"
} |
TARGET=$(shell ls *.py | grep -v test | grep -v parsetab.py)
ARGS=
PYTHON=python3
#PYTHON=python
#OPT=-m pdb
#OPT=-m cProfile -s time
#OPT=-m cProfile -o profile.rslt
.PHONY: all
all: test
.PHONY: run
run:
$(PYTHON) $(OPT) $(TARGET) $(ARGS)
.PHONY: test
test:
$(PYTHON) -m pytest -vv
.PHONY: check
check:
$(PYTHO... | {
"pile_set_name": "Github"
} |
package org.apache.lucene.analysis.en;
/**
* 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,... | {
"pile_set_name": "Github"
} |
"DOTA_Tooltip_ability_item_recipe_imba_cyclone_2" "Eul's Scepter of Divinity EX Recipe"
"DOTA_Tooltip_ability_item_imba_cyclone_2" "Eul's Scepter of Divinity EX"
"DOTA_Tooltip_ability_item_imba_cyclone_2_Description" "<h1>Active: Cyclone</h1> Sweeps a target unit up into a cyclone, making them invuln... | {
"pile_set_name": "Github"
} |
/*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: java.security.cert.X509Extension
================================================================================*/
#ifndef J2CPP_INCLUDE... | {
"pile_set_name": "Github"
} |
const Menu = require('electron').Menu;
const Promise = require('bluebird');
exports.createMain = async function () {
let template = await Promise.all([
require('./file')(),
require('./edit')(),
require('./view')(),
require('./window')(),
require('./help')()
]);
if (process.platform === 'darwi... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 1994-2020 Altair Engineering, Inc.
* For more information, contact Altair at www.altair.com.
*
* This file is part of both the OpenPBS software ("OpenPBS")
* and the PBS Professional ("PBS Pro") software.
*
* Open Source License Information:
*
* OpenPBS is free software. You can redistribute... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-d (Mar 10, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE> special = matcvt(matrix, type)</TITLE>
<META NAME="description" CONTENT=" special = matcvt(matrix, type)">
<META NAME="keywo... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2016 peterk.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Android.App;
using Android.Content;
using Android.Content.Res;
using Android.Database;
using Android.Gms.Ads;
using Android.Graphics;
using Android.OS;
using Android.Pr... | {
"pile_set_name": "Github"
} |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* 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 b... | {
"pile_set_name": "Github"
} |
"""Puddle world domain (navigation task)."""
from __future__ import division
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import absolute_import
from builtins import super
from future import standard_library
standard_library.install_aliases()
from past.utils import old_... | {
"pile_set_name": "Github"
} |
package request
import (
"reflect"
"sync/atomic"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
)
// A Pagination provides paginating of SDK API operations which are paginatable.
// Generally you should not use this type directly, but use the "Pages" API
// operations method to automatic... | {
"pile_set_name": "Github"
} |
<?php
/* Copyright (C) 2009 Winch Gate Property Limited
*
* This file is part of ryzom_api.
* ryzom_api is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at yo... | {
"pile_set_name": "Github"
} |
{
"private": true,
"scripts": {
"test": "karma start",
"build": "webpack --config webpack.conf.js"
},
"devDependencies": {
"babel-core": "^6.18.2",
"babel-loader": "^7.1.4",
"babel-preset-es2015": "^6.18.0",
"jasmine-core": "^3.1.0",
"jsdom": "^11.7.0",
"karma-jasmine": "^1.1.1",... | {
"pile_set_name": "Github"
} |
.breadcrumb {
display: flex;
flex-wrap: wrap;
padding: $breadcrumb-padding-y $breadcrumb-padding-x;
margin-bottom: $breadcrumb-margin-bottom;
list-style: none;
background-color: $breadcrumb-bg;
@include border-radius($border-radius);
}
.breadcrumb-item {
// The separator between breadcrumbs (by default... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2010 Freescale Semiconductor, Inc.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#include <common.h>
#include <asm/io.h>
#include <asm/immap_85xx.h>
#include <asm/fsl_serdes.h>
#define SRDS1_MAX_LANES 8
#define SRDS2_MAX_LANES 4
static u32 serdes1_prtcl_map, serdes2_prtcl_map;
st... | {
"pile_set_name": "Github"
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | {
"pile_set_name": "Github"
} |
const fs = require('fs');
fs.createReadStream('./sample.txt').pipe(process.stdout);
| {
"pile_set_name": "Github"
} |
package org.nd4j.linalg.learning.config;
import lombok.Builder;
import lombok.Data;
import org.nd4j.linalg.api.ndarray.INDArray;
import org.nd4j.linalg.learning.AdamUpdater;
import org.nd4j.linalg.learning.GradientUpdater;
import org.nd4j.linalg.schedule.ISchedule;
import org.nd4j.shade.jackson.annotation.JsonProperty... | {
"pile_set_name": "Github"
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | {
"pile_set_name": "Github"
} |
// Copyright 2010 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 blowfish
// getNextWord returns the next big-endian uint32 value from the byte slice
// at the given position in a circular manner, updating the positi... | {
"pile_set_name": "Github"
} |
// classes cannot extend primitives
class C extends number { }
class C2 extends string { }
class C3 extends boolean { }
class C4 extends Void { }
class C4a extends void {}
class C5 extends Null { }
class C5a extends null { }
class C6 extends undefined { }
class C7 extends Undefined { }
enum E { A }
clas... | {
"pile_set_name": "Github"
} |
/*
* "Copyright (c) 2008, 2009 The Regents of the University of California.
* All rights reserved."
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose, without fee, and without written agreement is
* hereby granted, provided that the above copyright notice, ... | {
"pile_set_name": "Github"
} |
// Copyright 2016 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.
#ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_TARGET_HANDLER_H_
#define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_TARGET_HANDLER_H_
#include <map>
#include <set>
#i... | {
"pile_set_name": "Github"
} |
thisdir = tools/macpack
SUBDIRS =
RESOURCE_FILES = \
LOADER \
PLIST
include ../../build/rules.make
LOCAL_MCS_FLAGS = \
$(RESOURCE_FILES:%=/resource:%)
PROGRAM = macpack.exe
EXTRA_DISTFILES = $(RESOURCE_FILES)
include ../../build/executable.make
| {
"pile_set_name": "Github"
} |
var composeArgs = require('./_composeArgs'),
composeArgsRight = require('./_composeArgsRight'),
countHolders = require('./_countHolders'),
createCtor = require('./_createCtor'),
createRecurry = require('./_createRecurry'),
getHolder = require('./_getHolder'),
reorder = require('./_reorder'),
... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Text.RegularExpressions;
using System.Xml;
namespace FastColoredTextBoxNS
{
public class SyntaxHighlighter : IDisposable
{
//styles
protected static readonly Platform... | {
"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>SchemeUserState</key>
<dict>
<key>«PROJECTNAME».xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
... | {
"pile_set_name": "Github"
} |
# go-metrics [](https://godoc.org/github.com/docker/go-metrics) 
This package is small wrapper around the prometheus go client to help enforce convention and best practices for metri... | {
"pile_set_name": "Github"
} |
add_qtc_plugin(PerfProfiler
DEPENDS Tracing Qt5::QuickWidgets
PLUGIN_DEPENDS Core Debugger ProjectExplorer QtSupport
SOURCES
perfconfigeventsmodel.cpp perfconfigeventsmodel.h
perfconfigwidget.cpp perfconfigwidget.h
perfconfigwidget.ui
perfdatareader.cpp perfdatareader.h
perfevent.h
perfeve... | {
"pile_set_name": "Github"
} |
import GRDB
import RxSwift
extension ValueObservation: ReactiveCompatible { }
/// :nodoc:
public protocol _ValueObservationProtocol: ReactiveCompatible {
associatedtype Reducer: _ValueReducer
func start(
in reader: DatabaseReader,
scheduling scheduler: ValueObservationScheduler,
onErro... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/App.iml" filepath="$PROJECT_DIR$/App.iml" />
<module fileurl="file://$PROJECT_DIR$/MyHearts.iml" filepath="$PROJECT_DIR$/MyHearts.iml" />
<module f... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
<longdescription>
Generic cryptography public keys algorithm types
</longdescripti... | {
"pile_set_name": "Github"
} |
// Created on: 2000-08-01
// Created by: Peter KURNEV
// Copyright (c) 2000-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as ... | {
"pile_set_name": "Github"
} |
#!{{ ansible_python['executable'] }}
# -*- coding: utf-8 -*-
# Copyright (C) 2020 Maciej Delmanowski <drybjed@gmail.com>
# Copyright (C) 2020 DebOps <https://debops.org/>
# SPDX-License-Identifier: GPL-3.0-only
# {{ ansible_managed }}
from __future__ import print_function
from json import loads, dumps
import subproc... | {
"pile_set_name": "Github"
} |
#
# iso2022_jp_2.py: Python Unicode Codec for ISO2022_JP_2
#
# Written by Hye-Shik Chang <perky@FreeBSD.org>
#
import _codecs_iso2022, codecs
import _multibytecodec as mbc
codec = _codecs_iso2022.getcodec('iso2022_jp_2')
class Codec(codecs.Codec):
encode = codec.encode
decode = codec.decode
class Incrementa... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: c76b7226f9320b54984464eb79a70168
timeCreated: 1486381662
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
//--------------------------------------------------------------------------
// Copyright (C) 2016-2020 Cisco and/or its affiliates. All rights reserved.
//
// 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 Fr... | {
"pile_set_name": "Github"
} |
/*
* typeahead.js
* https://github.com/twitter/typeahead.js
* Copyright 2013-2014 Twitter, Inc. and other contributors; Licensed MIT
*/
// inspired by https://github.com/jharding/lru-cache
var LruCache = (function() {
'use strict';
function LruCache(maxSize) {
this.maxSize = _.isNumber(maxSize) ? maxSize... | {
"pile_set_name": "Github"
} |
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := qtwebsockets
$(PKG)_WEBSITE := https://www.qt.io/
$(PKG)_DESCR := Qt
$(PKG)_IGNORE :=
$(PKG)_VERSION = $(qtbase_VERSION)
$(PKG)_CHECKSUM := 5f30053a0a794676ce7d7521f6b789409cc449a7e90cab547d871fc07a61dd7e
$(PKG)_SUBDIR ... | {
"pile_set_name": "Github"
} |
/*
* GStreamer AVTP Plugin
* Copyright (C) 2019 Intel Corporation
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any lat... | {
"pile_set_name": "Github"
} |
require "./common"
module Crystalline::Containers
class Trie(T)
@root : Node(T)?
def initialize
end
def push(key : String, value : T)
unless key.empty?
@root = push_recursive(@root, key, 0, value)
value
end
end
def []=(key, value)
push(key, value)
end
... | {
"pile_set_name": "Github"
} |
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from __future__ import print_function
import filecmp
import gyp.common
import gyp.generator.xcodeproj_file
import gyp.generator.xcode_ninja
import errno
import os... | {
"pile_set_name": "Github"
} |
//---------------------------------------------------------------------------//
// Copyright (c) 2014 Roshan <thisisroshansmail@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boostorg... | {
"pile_set_name": "Github"
} |
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Express 2013 for Windows
VisualStudioVersion = 12.0.30723.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Save_the_Humans", "Save_the_Humans\Save_the_Humans.csproj", "{FA8F2444-B917-459E-B... | {
"pile_set_name": "Github"
} |
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.opencv.core.Core;
import org.opencv.core.CvType;
import org.o... | {
"pile_set_name": "Github"
} |
/* Generated by RuntimeBrowser.
*/
@protocol _UIAtomTextViewDelegateInternal <_UIAtomTextViewDelegate>
@required
- (bool)_atomTextView:(_UIAtomTextView *)arg1 shouldReplaceRepresentedObject:(id)arg2 replacementText:(NSString *)arg3;
@end
| {
"pile_set_name": "Github"
} |
<!--
~ Copyright (c) 2018 Wolfram Research, Inc. All rights reserved.
~ Redistribution or use of this work in any form, with or without modification,
~ requires written permission from the copyright holder.
-->
<h3><a href="http://reference.wolfram.com/mathematica/ref/character/FormalCapitalO.html">\\[FormalC... | {
"pile_set_name": "Github"
} |
// I2C device class (I2Cdev) demonstration Arduino sketch for MPU6050 class, 3D math helper
// 6/5/2012 by Jeff Rowberg <jeff@rowberg.net>
// Updates should (hopefully) always be available at https://github.com/jrowberg/i2cdevlib
//
// Changelog:
// 2012-06-05 - add 3D math helper file to DMP6 example sketch
/* ==... | {
"pile_set_name": "Github"
} |
#!/usr/local/bin/ruby
# -*- coding: utf-8 -*-
require 'rubygems'
require 'daemons'
NAME = "chatserver_06"
options = {
:app_name => "ul_#{NAME}",
:dir_mode => :normal,
:ARGV => [ARGV[0],'--','-p','12016'],
:dir => 'pids',
:backtrace => true,
# :monitor => true,
:log_output => false
}... | {
"pile_set_name": "Github"
} |
>
> > ### {% icon tip %} Tip: Converting the file format
> > * Click on the {% icon galaxy-pencil %} **pencil icon** for the dataset to edit its attributes
> > * In the central panel, click on the {% icon galaxy-gear %} **Convert** tab on the top
> > * Select `{{ include.conversion }}`
> > * Click the **... | {
"pile_set_name": "Github"
} |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/kafka/model/OpenMonitoringInfo.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
name... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Changing field 'Idea.summary'
db.alter_column(u'idea_idea', 'summary', self.gf('django.db.models.fields.T... | {
"pile_set_name": "Github"
} |
From: Juan Cespedes <cespedes@debian.org>
Description: Fix compile warning
Last-Update: 2014-01-02
Forwarded: not-needed
---
lens_default.c | 2 +-
value.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/value.c
+++ b/value.c
@@ -284,7 +284,7 @@
/* We need "long" to be long enough to... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
* All rights reserved.
*
* 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 opt... | {
"pile_set_name": "Github"
} |
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE RecordWildCards #-}
module Unison.Codebase.Branch.Dependencies where
import Data.Set (Set)
import Data.Foldable (toList)
import qualified Data.Set as Set
import qualified Data.Map as Map
import Unison.Codebase.Branch (Branch(Branch), Branch0, Ed... | {
"pile_set_name": "Github"
} |
<%= template('test/_echo_sender') %>
<%= template('test/_echo_date') %>
<%= template('test/_echo_list') %>
<%= template('test/_echo_body') %> | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0-only */
/* Clock setup for SMDK5250 board based on EXYNOS5 */
#include <device/mmio.h>
#include <soc/clk.h>
#include <soc/dp.h>
#include <soc/setup.h>
void system_clock_init(struct mem_timings *mem,
struct arm_clk_ratios *arm_clk_ratio)
{
u32 val, tmp;
/* Turn on the MCT as e... | {
"pile_set_name": "Github"
} |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.