text stringlengths 2 99.9k | meta dict |
|---|---|
// SPDX-License-Identifier: GPL-2.0
// Copyright (c) 2018 Facebook
#include <linux/bpf.h>
#include <sys/socket.h>
#include "bpf_helpers.h"
#include "bpf_endian.h"
struct bpf_map_def SEC("maps") socket_cookies = {
.type = BPF_MAP_TYPE_HASH,
.key_size = sizeof(__u64),
.value_size = sizeof(__u32),
.max_entries = 1 ... | {
"pile_set_name": "Github"
} |
/*
Copyright_License {
XCSoar Glide Computer - http://www.xcsoar.org/
Copyright (C) 2000-2016 The XCSoar Project
A detailed list of copyright holders can be found in the file "AUTHORS".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
... | {
"pile_set_name": "Github"
} |
<?php
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
// check for plugin using plugin name
$old_plugin = AMPFORWP_MAIN_PLUGIN_DIR.'amp-category-base-remover/amp-category-base-remover.php';
if ( is_plugin_active( $old_plugin ) ) {
... | {
"pile_set_name": "Github"
} |
// RUN: llvm-mc %s -triple=armv7-linux-gnueabi -filetype=obj -o - | \
// RUN: llvm-readobj -s -sr -sd | FileCheck %s
.syntax unified
.eabi_attribute 6, 10
.eabi_attribute 8, 1
.eabi_attribute 9, 2
.fpu neon
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_att... | {
"pile_set_name": "Github"
} |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.Batch;
using System.Web.Http.WebHo... | {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2002-2020 The FreeCol Team
*
* This file is part of FreeCol.
*
* FreeCol 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"
} |
#
# 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... | {
"pile_set_name": "Github"
} |
"use strict";
// call preload hooks at the very beginning as they may help require other modules (including commander!)
// register will call them again but it shouldn't hurt because require caches.
(function() {
var i = process.argv.indexOf('--preload') + 1;
if (i > 0 && process.argv[i]) process.argv[i].split(',').f... | {
"pile_set_name": "Github"
} |
// Licensed to Elasticsearch B.V. under one or more contributor
// license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright
// ownership. Elasticsearch B.V. licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may
// not use ... | {
"pile_set_name": "Github"
} |
#######################################
# Syntax Coloring Map For M5StickC
#######################################
#######################################
# Library (KEYWORD3)
#######################################
M5StickC KEYWORD3
M5 KEYWORD3
m5 KEYWORD3
#######################################
# Datatypes (KEYWOR... | {
"pile_set_name": "Github"
} |
#pragma once
#include "IBGS.h"
#include "opencv2/core/version.hpp"
#if CV_MAJOR_VERSION == 2 && CV_MINOR_VERSION >= 4 && CV_SUBMINOR_VERSION >= 3
namespace bgslibrary
{
namespace algorithms
{
class GMG : public IBGS
{
private:
cv::Ptr<cv::BackgroundSubtractorGMG> fgbg;
int initializationF... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace Be.Windows.Forms
{
/// <summary>
/// Specifies the case of hex characters in the HexBox control
/// </summary>
public enum HexCasing
{
/// <summary>
/// Converts all characters to uppercase.
/// </... | {
"pile_set_name": "Github"
} |
set(NoMem2regSources
cmd_args.c
fread.c
growing_example.cpp
if_else.cpp
operator_shift.cpp
printf.c
print.cpp
read.c
source_sink_function_test.c
taint_1.cpp
taint_2.cpp
taint_3.cpp
taint_4.cpp
taint_5.cpp
taint_6.cpp
taint_7.cpp
taint_8.cpp
taint_9.c
taint_10.c
taint_11.c
taint... | {
"pile_set_name": "Github"
} |
/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file eggListTextures.cxx
* ... | {
"pile_set_name": "Github"
} |
#N canvas 248 153 807 682 10;
#X obj 41 16 inlet note_in;
#X obj 86 547 outlet~ left;
#X obj 207 546 outlet~ right;
#X obj 378 23 inlet assign;
#N canvas 0 0 1028 734 make_drums 0;
#X obj 470 600 flow.send;
#X obj 562 134 f \$0;
#X obj 562 192 convert.list2symbol none;
#X obj 243 65 t b b;
#X msg 459 152 clear;
#X obj ... | {
"pile_set_name": "Github"
} |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| Hooks
| -------------------------------------------------------------------------
| This file lets you define "hooks" to extend CI without hacking the core
| files... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2012-2015 Andre Martins
// All Rights Reserved.
//
// This file is part of TurboParser 2.3.
//
// TurboParser 2.3 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 t... | {
"pile_set_name": "Github"
} |
.octicon {
display: inline-block;
vertical-align: text-top;
fill: currentColor;
}
| {
"pile_set_name": "Github"
} |
package net.glowstone.net.message.play.player;
import com.flowpowered.networking.Message;
import lombok.Data;
import org.bukkit.inventory.ItemStack;
@Data
public final class BlockPlacementMessage implements Message {
private final int x, y, z, direction;
private final ItemStack heldItem;
private final in... | {
"pile_set_name": "Github"
} |
/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#define NEW_SIMD_CODE
#ifdef KERNEL_STATIC
#include "inc_vendor.h"
#include "inc_types.h"
#include "inc_platform.cl"
#include "inc_common.cl"
#include "inc_rp_optimized.h"
#include "inc_rp_optimized.cl"
#include "inc_simd.cl"
#include "inc_hash_sha1.c... | {
"pile_set_name": "Github"
} |
object FormJsonRead: TFormJsonRead
Left = 0
Top = 0
Caption = 'JSON Reading - Delphi 10 "Seattle"'
ClientHeight = 480
ClientWidth = 640
FormFactor.Width = 320
FormFactor.Height = 480
FormFactor.Devices = [Desktop]
DesignerMasterStyle = 0
object ToolBar1: TToolBar
Size.Width = 640.000000000000000... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2007, Cameron Rich
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of c... | {
"pile_set_name": "Github"
} |
/*
The MIT License (MIT)
Copyright (c) 2017 Microsoft Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify,... | {
"pile_set_name": "Github"
} |
K 25
svn:wc:ra_dav:version-url
V 53
/svn/!svn/ver/1916/toolbox/base/src/java/org/tartarus
END
| {
"pile_set_name": "Github"
} |
/** Used to match template delimiters. */
var reEscape = /<%-([\s\S]+?)%>/g;
module.exports = reEscape;
| {
"pile_set_name": "Github"
} |
/*
* Copyright [2017] Wikimedia Foundation
*
* 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 o... | {
"pile_set_name": "Github"
} |
# Config file for running tests in Kokoro
# Location of the build script in repository
build_file: "protobuf/kokoro/macos/objectivec_cocoapods_integration/build.sh"
timeout_mins: 1440
| {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Clock driver for Hi655x
*
* Copyright (c) 2017, Linaro Ltd.
*
* Author: Daniel Lezcano <daniel.lezcano@linaro.org>
*/
#include <linux/clk-provider.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#includ... | {
"pile_set_name": "Github"
} |
/*
* arch/arm/kernel/sys_oabi-compat.c
*
* Compatibility wrappers for syscalls that are used from
* old ABI user space binaries with an EABI kernel.
*
* Author: Nicolas Pitre
* Created: Oct 7, 2005
* Copyright: MontaVista Software, Inc.
*
* This program is free software; you can redistribute it and/or ... | {
"pile_set_name": "Github"
} |
{
"name": "@polymer/polymer",
"version": "2.6.0",
"description": "The Polymer library makes it easy to create your own web components. Give your element some markup and properties, and then use it on a site. Polymer provides features like dynamic templates and data binding to reduce the amount of boilerplate you ... | {
"pile_set_name": "Github"
} |
package org.apache.lucene.analysis.shingle;
/**
* 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 Lic... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also ... | {
"pile_set_name": "Github"
} |
-- Copyright 2006-2012 Mitchell mitchell.att.foicica.com. See LICENSE.
-- Forth LPeg lexer.
local l = lexer
local token, style, color, word_match = l.token, l.style, l.color, l.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local M = {_NAME = 'forth'}
-- Whitespace.
local ws = token(l.WHITESPACE, l.space^1)
-- C... | {
"pile_set_name": "Github"
} |
// K-3D
// Copyright (c) 1995-2009, Timothy M. Shead
//
// Contact: tshead@k-3d.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
// version 2 of the License, or (at your option) ... | {
"pile_set_name": "Github"
} |
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 352x288
#sar 0: 0/1
0, 0, 0, 1, 152064, 0xdcc4ac76
0, 1, 1, 1, 152064, 0xfde6871a
0, 2, 2, 1, 152064, 0xe8a351b5
0, 3, 3, 1, 152064, 0x0e58660... | {
"pile_set_name": "Github"
} |
using System;
using System.IO;
using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Security;
using Org.BouncyCastle.Utilities;
using Org.BouncyCastle.Utilities.Date;
namespace Org.BouncyCastle.Bcpg.OpenPgp
{
/// <remarks>A PGP signature object.</remarks>
public class PgpSignature
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<spirit:design xmlns:xilinx="http://www.xilinx.com" xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<spirit:vendor>xilinx.com</spirit:vendor>
<spirit:library>xci</spirit:library>
<spirit:name>un... | {
"pile_set_name": "Github"
} |
from __future__ import unicode_literals
try:
from urllib.parse import quote
except:
from urllib import quote
from django.core.urlresolvers import RegexURLResolver, Resolver404
from django.http.request import QueryDict
from django.utils import six
class ModuleMatchName(str):
"""Dump str wrapper.
Jus... | {
"pile_set_name": "Github"
} |
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/usr/local/lib/python3.4/dist-packages/pandas/io/excel.py:626: UserWarning: Installed openpyxl is not supporte... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="packages\Microsoft.Windows.CppWinRT.2.0.190506.1\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('packages\Microsoft.Windows.CppW... | {
"pile_set_name": "Github"
} |
version: 2
jobs:
build:
environment:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"
_JAVA_OPTIONS: -Xms512m -Xmx1024m
docker:
- image: circleci/android:api-28
steps:
- checkout
- restore_cache:
keys:
- v1-dep-{{ .Branch }}-
- ... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | {
"pile_set_name": "Github"
} |
RIOTBASE ?= $(CURDIR)/../..
# Instrumend code with AFL by default
TOOLCHAIN ?= afl
# Automatically set application to a sensible default
APPLICATION ?= fuzzing_$(notdir $(patsubst %/,%,$(CURDIR)))
# Fuzzing is only supported on native
BOARD ?= native
FEATURES_REQUIRED += arch_native
CFLAGS += -ggdb #... | {
"pile_set_name": "Github"
} |
// +build !static_build
package dbus
import (
"os/user"
)
func lookupHomeDir() string {
u, err := user.Current()
if err != nil {
return "/"
}
return u.HomeDir
}
| {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -Wcast-align -verify %s
// Simple casts.
void test0(char *P) {
char *a; short *b; int *c;
a = (char*) P;
a = static_cast<char*>(P);
a = reinterpret_cast<char*>(P);
typedef char *CharPtr;
a = CharPtr(P);
b = (short*) P; // expected-warning {... | {
"pile_set_name": "Github"
} |
{
"name": "node-firebird",
"version": "0.9.8",
"description": "Pure JavaScript and Asynchronous Firebird client for Node.js.",
"keywords": [
"firebird",
"database",
"rdbms",
"sql"
],
"homepage": "https://github.com/hgourvest/node-firebird",
"repository": {
... | {
"pile_set_name": "Github"
} |
# Copyright 2013, Michael H. Goldwasser
#
# Developed for use with the book:
#
# Data Structures and Algorithms in Python
# Michael T. Goodrich, Roberto Tamassia, and Michael H. Goldwasser
# John Wiley & Sons, 2013
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of... | {
"pile_set_name": "Github"
} |
{
"$schema": "http://json-schema.org/schema",
"id": "timepicker-scrollto",
"title": "timepicker-scrollto",
"type": "object",
"properties": {
"path": {
"type": "string",
"format": "path",
"description": "The path to create the component.",
"visible": false
},
"project": {
... | {
"pile_set_name": "Github"
} |
=====================================
The PDB Global Symbol Stream
=====================================
| {
"pile_set_name": "Github"
} |
version: 2
jobs:
build:
docker:
- image: circleci/python:3.7.4
working_directory: ~/gensim
steps:
- checkout
- restore_cache:
key: pip-cache
- run:
name: Apt install (for latex render)
command: |
sudo apt-get -yq update
sudo... | {
"pile_set_name": "Github"
} |
@media screen, 3D {
P { color:green; }
}
@media print {
body { font-size:10pt; }
}
@media screen {
body { font-size:13px; }
}
@media screen, print {
body { line-height:1.2; }
}
@media all and (min-width: 0px) {
body { line-height:1.2; }
}
@media all and (min-width: 0) {
body { line-height:1.2; }
}
@media sc... | {
"pile_set_name": "Github"
} |
# locally computed
sha256 d5d81a78046b4c228d29ba88d9950e0f63858e5fcf601e3d0f8bf107fbaadc03 python-rtslib-fb-v2.1.fb57.tar.gz
| {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
"""
Copyright (c) 2006-2014 sqlmap developers (http://sqlmap.org/)
See the file 'doc/COPYING' for copying permission
"""
import re
from xml.sax.handler import ContentHandler
from lib.core.common import Backend
from lib.core.common import parseXmlFile
from lib.core.common import sanitizeStr
fro... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2020 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | {
"pile_set_name": "Github"
} |
/****************************************************************************
*
* ViSP, open source Visual Servoing Platform software.
* Copyright (C) 2005 - 2019 by Inria. All rights reserved.
*
* This software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2012-2015 VMware, 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 by ... | {
"pile_set_name": "Github"
} |
// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build s390x,linux
package unix
const (
SizeofPtr = 0x8
SizeofLong = 0x8
)
type (
_C_long int64
)
type Timespec struct {
Sec int64
Nse... | {
"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"
} |
/* Task_2
*
* This routine serves as a test task. It calls the
* top command and forces an exit if the user requests it.
*
* Input parameters:
* argument - task argument
*
* Output parameters: NONE
*
* COPYRIGHT (c) 2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and d... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
# irb/lc/ja/help-message.rb -
# $Release Version: 0.9.6$
# $Revision$
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
#
# --
#
#
#
Usage: irb.rb [options] [programfile] [arguments]
-f ~/.irbrc を読み込まない.
-d $DEBUG をtrueにする(ruby -d と同じ)
-r load-module ruby -r と同じ.... | {
"pile_set_name": "Github"
} |
<div>
<h1>foo</h1>
<div.body include("./include-target.marko", {name: 'Frank', count: 10})/>
</div> | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | {
"pile_set_name": "Github"
} |
From e382015913fb2d7f0edc669409252028b719cf97 Mon Sep 17 00:00:00 2001
From: Ilya Zhuravlev <whatever@xyz.is>
Date: Sun, 10 Feb 2019 15:28:36 -0500
Subject: [PATCH 1/5] Replace Atomic impl with std::atomic
---
include/OpenThreads/Atomic | 169 ++----------------------------
src/OpenThreads/common/Atomic.cpp | ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_09) on Fri Mar 15 22:09:10 GMT 2013 -->
<title>Uses of Class uk.co.spudsoft.birt.emitters.excel.ExcelEmitter</title>
<meta name="... | {
"pile_set_name": "Github"
} |
#pragma once
#include "OpenDatabaseDialog.h"
class DecryptDatabaseDialog7 : public Dialog
{
private:
OpenDatabaseStruct &openDatabaseStruct;
void selectDatabaseFile();
void selectKeyFile();
void clickOk(WPARAM wParam);
protected:
virtual INT_PTR callback(HWND dialog, UINT message, WPARAM wParam, LPARAM lParam)... | {
"pile_set_name": "Github"
} |
{
"pages":[
"pages/index/index",
"pages/recommend/recommend",
"pages/search/search",
"pages/detail/detail"
],
"window":{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#2B2B2B",
"navigationBarTitleText": "豆瓣电影",
"navigationBarTextStyle":"white",
"backgroundColo... | {
"pile_set_name": "Github"
} |
-- Unit Test T_CipherOFB starting
-- Unit Test T_CipherOFB finished
| {
"pile_set_name": "Github"
} |
<?php
?> | {
"pile_set_name": "Github"
} |
<?php
/**
* Chunk English lexicon topic
*
* @language en
* @package modx
* @subpackage lexicon
*/
$_lang['chunk'] = '模板片段';
$_lang['chunk_desc_category'] = '该模板片段所属类别';
$_lang['chunk_desc_description'] = '该模板片段简述';
$_lang['chunk_desc_name'] = '该模板片段名称,对应标签[[$nameOfChunk]] ';
$_lang['chunk_code'] = '模板片段代码(html)';... | {
"pile_set_name": "Github"
} |
body { background-color: #fff; color: #333; }
body, p, ol, ul, td {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 13px;
line-height: 18px;
}
pre {
background-color: #eee;
padding: 10px;
font-size: 11px;
}
a { color: #000; }
a:visited { color: #666; }
a:hover { color: #fff; background-c... | {
"pile_set_name": "Github"
} |
#ifndef __LIBS_ATOMIC_H__
#define __LIBS_ATOMIC_H__
/* Atomic operations that C can't guarantee us. Useful for resource counting etc.. */
static inline void set_bit(int nr, volatile void *addr) __attribute__((always_inline));
static inline void clear_bit(int nr, volatile void *addr) __attribute__((always_inline));
st... | {
"pile_set_name": "Github"
} |
# Masonry [](https://travis-ci.org/SnapKit/Masonry) [](https://coveralls.io/r/SnapKit/Masonry) [
type UpdateAction actions.Action
func (this *UpdateAction) RunGet(params struct {
GroupId string
}) {
group := teaconfigs.SharedServerGroupList().Find(params.GroupId)
if group == nil {
th... | {
"pile_set_name": "Github"
} |
/**
* file : bs_url.h
* author : bushaofeng
* create : 2014-10-06 23:00
* func :
* history:
*/
#ifndef __BS_URL_H_
#define __BS_URL_H_
#include "bs_type.h"
#include "bs_common.h"
#include "bs_conf.h"
#include "bs_object.h"
#include "bs_data.h"
#define URL_SIZE 1024
#define HTTP_INVALID -1
#define HTTP_... | {
"pile_set_name": "Github"
} |
/* global expect:true */
expect = require('./lib/').clone();
expect.output.preferredWidth = 80;
require('./test/promisePolyfill');
| {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2017 Intel Corporation
*/
#include <math.h>
#include <string.h>
#include <rte_malloc.h>
#include <rte_memory.h>
#include <rte_errno.h>
#include <rte_log.h>
#include "rte_member.h"
#include "rte_member_vbf.h"
/*
* vBF currently implemented as a big array.
*... | {
"pile_set_name": "Github"
} |
/// @ref ext_vector_common
/// @file glm/ext/vector_common.hpp
///
/// @defgroup ext_vector_common GLM_EXT_vector_common
/// @ingroup ext
///
/// Exposes min and max functions for 3 to 4 vector parameters.
///
/// Include <glm/ext/vector_common.hpp> to use the features of this extension.
///
/// @see core_common
/// @s... | {
"pile_set_name": "Github"
} |
{
"name": "BuySellAds",
"displayName": "BuySellAds",
"properties": [
"buysellads.com",
"buysellads.net",
"carbonads.com",
"carbonads.net",
"servedby-buysellads.com"
],
"prevalence": {
"tracking": 0.00217,
"nonTracking": 0.000934,
"total... | {
"pile_set_name": "Github"
} |
{
"images": [
{
"filename": "ic_today_36pt.png",
"idiom": "universal",
"scale": "1x"
},
{
"filename": "ic_today_36pt_2x.png",
"idiom": "universal",
"scale": "2x"
},
{
"filename": "ic_today_36p... | {
"pile_set_name": "Github"
} |
openssl genrsa 2048
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEA0UFAb8slBdkp0KPH/i/wU61GNhmqsR8/eqLg+wMrd2Vqeevz
oxYTNIM7Qt6iu+K/2NJ1PUg4hrsqfRSjiPd8APQKa2uqm0QkYv7bo0JVFWcqMv+y
TYCT0ITvG9x8rFYtVAgC9hhutYCod1IfuCwJbcz4HASRYm4e3R2JsvEjC01MbNpJ
PWGDcg9mNhI/8/9TUnNToco4vcNIv3ovExnXwijhbzIAXmSsSwV6d2JXValZg9Xt
oy4oNHF5... | {
"pile_set_name": "Github"
} |
module HAD.Y2014.M04.D02.Solution where
import Control.Monad (mfilter)
-- | update update the nth element of a list
-- if the index is not a valid index, it leaves the list unchanged
--
-- Examples
--
-- >>> update (-2) 10 [0..4]
-- [0,1,2,3,4]
--
-- >>> update 6 10 [0..4]
-- [0,1,2,3,4]
--
-- >>> update 2 10 [0..4]
... | {
"pile_set_name": "Github"
} |
version https://git-lfs.github.com/spec/v1
oid sha256:7506c77760a966ed4e65bd161f99b59599cfcf72634ea8097b300ff574c952c6
size 8485
| {
"pile_set_name": "Github"
} |
/* copyright(C) 2003 H.Kawai (under KL-01). */
#if (!defined(STDARG_H))
#define STDARG_H 1
#if (defined(__cplusplus))
extern "C" {
#endif
#define va_start(v,l) __builtin_stdarg_start((v),l)
#define va_end __builtin_va_end
#define va_arg __builtin_va_arg
#define va_copy(d,s) __builtin_va_copy((d),(... | {
"pile_set_name": "Github"
} |
<?php
namespace Drupal\Tests\file\Unit\Plugin\migrate\cckfield\d6;
use Drupal\migrate\Plugin\MigrationInterface;
use Drupal\migrate\Row;
use Drupal\Tests\UnitTestCase;
use Drupal\file\Plugin\migrate\cckfield\d6\FileField;
use Prophecy\Argument;
/**
* @coversDefaultClass \Drupal\file\Plugin\migrate\cckfield\d6\FileF... | {
"pile_set_name": "Github"
} |
<?php
declare(strict_types=1);
namespace AsyncAws\Core\Tests\Unit\Stream;
use AsyncAws\Core\Stream\CallableStream;
use PHPUnit\Framework\TestCase;
class CallableStreamTest extends TestCase
{
/**
* @dataProvider provideLengths
*/
public function testLength(callable $content, ?int $expected): void
... | {
"pile_set_name": "Github"
} |
/***********************************************************************
* Copyright (c) 2015 by Regents of the University of Minnesota.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License, Version 2.0 which
* accompanies this distribution and i... | {
"pile_set_name": "Github"
} |
auto: true
url: "https://google.github.io"
baseurl: '/flogger'
markdown: kramdown
repository: google/flogger
title: Flogger
description:
Flogger is a fluent logging API for Java. It supports a wide variety of
features, and has many benefits over existing logging APIs.
themeColor: teal
exclude:
- CHANGELOG.md
... | {
"pile_set_name": "Github"
} |
# OpenXPKI::Server::Workflow::Activity::NICE::RenewCertificate
# Written by Oliver Welter for the OpenXPKI Project 2011
# Copyright (c) 2011 by The OpenXPKI Project
package OpenXPKI::Server::Workflow::Activity::NICE::RenewCertificate;
use strict;
use base qw( OpenXPKI::Server::Workflow::Activity );
use OpenXPKI::Ser... | {
"pile_set_name": "Github"
} |
// #Regression #Attributes #Assemblies
// AssemblyAttributes
// See FSHARP1.0:832,1674,1675 and 2290
// Attribute under test: AssemblyAlgorithmId
//<Expects status="success"></Expects>
#light
open System
open System.Reflection;
open System.Configuration.Assemblies
let CheckAssemblyAttribute () =
if AssemblyHa... | {
"pile_set_name": "Github"
} |
package scala.meta.internal.metals
import org.eclipse.lsp4j.MessageParams
import org.eclipse.lsp4j.MessageType
import scribe.LogRecord
import scribe.output.LogOutput
import scribe.writer.Writer
/**
* Scribe logging handler that forwards logging messages to the LSP editor client.
*/
object LanguageClientLogger exten... | {
"pile_set_name": "Github"
} |
PASS
| <!--
| Copyright 2015 The AMP HTML Authors. 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
|
| ... | {
"pile_set_name": "Github"
} |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2014 PHPExcel
*
* 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 later ve... | {
"pile_set_name": "Github"
} |
package registry
import (
"os"
"path/filepath"
"strings"
"github.com/spf13/pflag"
)
// CertsDir is the directory where certificates are stored
var CertsDir = os.Getenv("programdata") + `\docker\certs.d`
// cleanPath is used to ensure that a directory name is valid on the target
// platform. It will be passed in... | {
"pile_set_name": "Github"
} |
# How to become a contributor and submit your own code
## Contributor License Agreements
We'd love to accept your sample apps and patches! Before we can take them, we
have to jump a couple of legal hurdles.
Please fill out either the individual or corporate Contributor License Agreement (CLA).
* If you are an ind... | {
"pile_set_name": "Github"
} |
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* lib/crypto/old/old_aead.c
*
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
ALL_TESTS="match_dst_mac_test match_src_mac_test match_dst_ip_test \
match_src_ip_test match_ip_flags_test match_pcp_test match_vlan_test \
match_ip_tos_test match_indev_test"
NUM_NETIFS=2
source tc_common.sh
source lib.sh
tcflags="skip_hw"
h1_create()
{
simple_if_in... | {
"pile_set_name": "Github"
} |
<a href="https://www.flickr.com/{{ include.username }}">
<span class="icon icon--flickr">{% include icon-flickr.svg %}</span>
<span class="label">{{ include.label | default: include.username }}</span>
</a>
| {
"pile_set_name": "Github"
} |
driverClassName = com.mysql.jdbc.Driver
url = jdbc:mysql://10.0.3.12/zer0mqtt
username = root
password = root
#初始化连接数量
initialSize = 10
#最大并发连接数
maxActive = 200
#最小空闲连接数
minIdle = 5
#配置获取连接等待超时的时间
maxWait = 60000
#超过时间限制是否回收
removeAbandoned = true
#超过时间限制多长
removeAbandonedTimeout = 180
#配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒... | {
"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>BuildMachineOSBuild</key>
<string>17D102</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.