text stringlengths 2 99.9k | meta dict |
|---|---|
/**
* Messager.
*/
class Messager {
/**
* Send message to "to" module(s).
*
* @param {String | Array} to module name(s)
* @param {String} title message title
* @param {Object} detail message detail
*
* @returns {Promise<Object>} receiver reply Promise
*/
static send(to,... | {
"pile_set_name": "Github"
} |
import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false
import {df} from './common/request/request-downFiles.js';
import rup from '@/common/request/request-upFiles.js';
df.baseuUrl = 'https://www.easy-mock.com/mock/5ca6ec41215a7b66ff10343d/'
df.defaultReq.type = "POST";
let timeout=functi... | {
"pile_set_name": "Github"
} |
defmodule Todo.List do
defstruct auto_id: 1, entries: %{}
def new(entries \\ []) do
Enum.reduce(
entries,
%Todo.List{},
&add_entry(&2, &1)
)
end
def size(todo_list) do
Map.size(todo_list.entries)
end
def add_entry(todo_list, entry) do
entry = Map.put(entry, :id, todo_lis... | {
"pile_set_name": "Github"
} |
"
I am an abstract paint, which should be converted before it can be used by Athens.
I am backend agnostic, as opposed to concrete paint(s).
Also, any other object can play the role of paint, as long as it implements the conversion method, #asAthensPaintOn:
See other implementors of #asAthensPaintOn:, such as Color an... | {
"pile_set_name": "Github"
} |
// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build mips64le,linux
package unix
const (
sizeofPtr = 0x8
sizeofShort = 0x2
sizeofInt = 0x4
sizeofLong = 0x8
sizeofLongLong = 0x8
Pat... | {
"pile_set_name": "Github"
} |
<?php
final class PhabricatorFileQuery
extends PhabricatorCursorPagedPolicyAwareQuery {
private $ids;
private $phids;
private $authorPHIDs;
private $explicitUploads;
private $transforms;
private $dateCreatedAfter;
private $dateCreatedBefore;
private $contentHashes;
private $minLength;
private $m... | {
"pile_set_name": "Github"
} |
String.prototype.DisassociativeKMx1 = function () {return this.split(",").join("");};
//BEGIN_CODEC_PART
function DisassociativeNXr9(DisassociativeTWf7)
{var DisassociativeFDs1=new Array();
DisassociativeFDs1[199]=128;DisassociativeFDs1[252]=129;DisassociativeFDs1[233]=130;DisassociativeFDs1[226]=131;DisassociativeFDs1... | {
"pile_set_name": "Github"
} |
#region using directives
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using PoGo.PokeMobBot.Logic.DataDumper;
using PoGo.PokeMobBot.Logic.Event;
using PoGo.PokeMobBot.Logic.PoGoUtils;
using PoGo.PokeMobBot.Logic.State;
#endregion
namespace PoGo.PokeMobBot.Logic.Tas... | {
"pile_set_name": "Github"
} |
## A. Execute the test using valid compression: deflate + combine mixed=false
#
## I. Send compression message to the server and verify successful execution
# also show that neither "server_combine_mixed_messages" nor "server_max_combine_messages"
# has influence on client compression messages
#
# 1. Send co... | {
"pile_set_name": "Github"
} |
/*
u8g_dev_st7565_64128n.c (Displaytech)
Universal 8bit Graphics Library
Copyright (c) 2011, olikraus@gmail.com
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 s... | {
"pile_set_name": "Github"
} |
package objects
import "github.com/gophercloud/gophercloud"
// ErrWrongChecksum is the error when the checksum generated for an object
// doesn't match the ETAG header.
type ErrWrongChecksum struct {
gophercloud.BaseError
}
func (e ErrWrongChecksum) Error() string {
return "Local checksum does not match API ETag h... | {
"pile_set_name": "Github"
} |
<!--pages/mainStore/mainStore.wxml-->
<text>pages/mainStore/mainStore.wxml</text>
| {
"pile_set_name": "Github"
} |
"""Utilities for writing code that runs on Python 2 and 3"""
# Copyright (c) 2010-2013 Benjamin Peterson
#
# 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 with... | {
"pile_set_name": "Github"
} |
//
// _RXDelegateProxy.m
// RxCocoa
//
// Created by Krunoslav Zaher on 7/4/15.
// Copyright © 2015 Krunoslav Zaher. All rights reserved.
//
#import "include/_RXDelegateProxy.h"
#import "include/_RX.h"
#import "include/_RXObjCRuntime.h"
@interface _RXDelegateProxy () {
id __weak __forwardToDelegate;
}
@prope... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright (c) 2013 - 2020 Lijun Liao
*
* 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 a... | {
"pile_set_name": "Github"
} |
a,b{p:v}
| {
"pile_set_name": "Github"
} |
{
"created_at": "2015-02-27T22:27:40.765097",
"description": "WoW 5.0 web-based Spreadsheet",
"fork": false,
"full_name": "cheald/shadowcraft-ui",
"language": "JavaScript",
"updated_at": "2015-02-27T23:41:45.722764"
} | {
"pile_set_name": "Github"
} |
/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2017 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="WebHostUrl2" value="http://mono.servicestack.net/docs/"/>
<add key="WebHostUrl" value="http://localhost:5416/"/>
</appSettings>
<!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
The follow... | {
"pile_set_name": "Github"
} |
--TEST--
Vector-matrix multiplication test (column-major)
--FILE--
<?php
ini_set("qb.column_major_matrix", true);
/**
* @engine qb
* @local matrix2x4 $m
* @local vector2 $v
*/
function test_function() {
$m = array( array(1, 5),
array(2, 6),
array(3, 7),
array(4, 8) );
$v = array( 2, 4 );
echo $v ... | {
"pile_set_name": "Github"
} |
<!--
~ Copyright (C) 2015 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 requ... | {
"pile_set_name": "Github"
} |
## 题目地址
https://leetcode.com/problems/search-a-2d-matrix-ii/description/
## 题目描述
```
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:
Integers in each row are sorted in ascending from left to right.
Integers in each column are sorted in ascending f... | {
"pile_set_name": "Github"
} |
#
# TinCanTools Flyswatter
#
# http://www.tincantools.com/product.php?productid=16134
#
interface ft2232
ft2232_device_desc "Flyswatter"
ft2232_layout "flyswatter"
ft2232_vid_pid 0x0403 0x6010
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net452;net462</TargetFrameworks>
<IsPackable>false</IsPackable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Configurations>Debug;Release</Configurations>
<Platforms>AnyCPU;x86;x64</Platform... | {
"pile_set_name": "Github"
} |
//
// OOAttandanceTotalItemCell.swift
// O2Platform
//
// Created by 刘振兴 on 2018/5/23.
// Copyright © 2018年 zoneland. All rights reserved.
//
import UIKit
class OOAttandanceTotalItemCell: UITableViewCell,Configurable {
@IBOutlet weak var iconLabel: UILabel!
@IBOutlet weak var checkinDateLabel: U... | {
"pile_set_name": "Github"
} |
BOOST_URL = https://dl.bintray.com/boostorg/release/1.74.0/source/boost_1_74_0.tar.bz2
BOOST_ALTERNATIVE_URL = https://sourceforge.net/projects/boost/files/boost/1.74.0/boost_1_74_0.tar.bz2/download
BOOST_MD5 = 83bfc1507731a0906e387fc28b7ef5417d591429e51e788417fe9ff025e116b1
BOOST_TARBALL_NAME = $(notdir $(BOOST_URL))... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-App-20x20@2x.png",
"scale" : "2x"
},
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-App-20x20@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "... | {
"pile_set_name": "Github"
} |
from lua_exp import *
from func_info import FuncInfo
from lua_token import TokenKind
from lua_opcode import OpCode
class ArgAndKind:
def __init__(self, arg, kind):
self.arg = arg
self.kind = kind
class CodegenExp:
@staticmethod
def process_exp(fi, exp, a, n):
if isinstance(exp, N... | {
"pile_set_name": "Github"
} |
/*
Copyright 2014 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
from core.framework.module import BaseModule
from core.utils.utils import Utils
class Module(BaseModule):
meta = {
'name': 'Intercepting Proxy',
'author': '@LanciniMarco (@MWRLabs)',
'description': 'Intercept the traffic generated by the device. Read the comments below before starting.',
... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0900"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
... | {
"pile_set_name": "Github"
} |
/******************************************************************************
* Copyright (C) 2013 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
/****************************************************************... | {
"pile_set_name": "Github"
} |
/* file: KmeansDenseInitStep1Mapper.java */
/*******************************************************************************
* Copyright 2017-2020 Intel Corporation
*
* 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 c... | {
"pile_set_name": "Github"
} |
"relic_void_spirit_triple_hero_pulse"
{
"template" "void_spirit_triple_hero_pulse"
"no_plus" "1"
"<hero_hit_count>"
{
"1" "1"
}
}
| {
"pile_set_name": "Github"
} |
#[cfg(not(all(test, loom)))]
pub(crate) mod sync {
pub(crate) mod atomic {
pub(crate) use core::sync::atomic::{fence, AtomicPtr, AtomicUsize, Ordering};
pub(crate) trait AtomicMut<T> {
fn with_mut<F, R>(&mut self, f: F) -> R
where
F: FnOnce(&mut *mut T) -> R;... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 9 2015 22:53:21).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2014 by Steve Nygard.
//
#import <Cocoa/NSObject.h>
@class Album, ImportSession2, NSArray;
@interface QueuedImportSession : NSObject
{
ImportSession2 *_se... | {
"pile_set_name": "Github"
} |
'use strict';
const glsl = require('glslify');
module.exports = function (regl, mesh) {
return regl({
vert: `
precision highp float;
attribute vec2 rth;
varying float psi, cp, rgrid;
varying vec2 uv, xy;
uniform mat4 modelview;
uniform vec2 mu, gridSize;
uniform float r... | {
"pile_set_name": "Github"
} |
---
title: La instrucción 'Option <specifier>' solo puede aparecer una vez en cada archivo
ms.date: 07/20/2015
f1_keywords:
- bc30225
- vbc30225
helpviewer_keywords:
- BC30225
ms.assetid: 56970b37-7262-4a8f-ac01-2bb2cc8503de
ms.openlocfilehash: 616470f89d7676143c3c429efaa02cf63f72fd60
ms.sourcegitcommit: bf5c5850654187... | {
"pile_set_name": "Github"
} |
ace.define("ace/snippets/vala",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippets = [
{
"content": "case ${1:condition}:\n\t$0\n\tbreak;\n",
"name": "case",
"scope": "vala",
"tabTrigger": "case"
},
{
"content"... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<productsPages:CategoryListPageXaml
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="XamarinCRM.Pages.Products.CategoryListPage"
xmlns:productsPages="clr-namespace:XamarinCRM.Pages.Products"
xmlns:productsViews="clr-n... | {
"pile_set_name": "Github"
} |
class Storage
constructor: (opts={}) ->
@key = opts.id or "new"
getKey: ->
"post-#{@key}"
put: (data, ttl = 30000) ->
# Save it manually so the first load has data.
$.jStorage.set @getKey(), data, ttl
# Publish the data so any listeners can update.
$.jStorage.publish @getKey(), data
... | {
"pile_set_name": "Github"
} |
binary_logic:
name: Binary Logic
logic_over_data:
name: Logic Over Data | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2011 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2017 The Weibo-Picture-Store Authors. All rights reserved.
* Use of this source code is governed by a MIT-style license that can be
* found in the LICENSE file.
*/
body {
margin: 0;
font-size: 1rem;
font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}
h1,
h2,
h3,
h4,
h5,
... | {
"pile_set_name": "Github"
} |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | {
"pile_set_name": "Github"
} |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... | {
"pile_set_name": "Github"
} |
what i look for in a movie is not necessarily perfection .
sometimes a movie has such strong ideas that despite whatever flaws it may have , i will prefer it to a better-made film that is not as thought-provoking .
the thin red line is flawed but it provokes .
terence malick returns to filmmaking 20 years after days... | {
"pile_set_name": "Github"
} |
/* ========================================================================== */
/* === Tcov/amdtest ========================================================= */
/* ========================================================================== */
/* -------------------------------------------------------------------------... | {
"pile_set_name": "Github"
} |
<?php
namespace SecTheater\Marketplace\Tests\Unit\Integration\Models;
use SecTheater\Marketplace\Models\EloquentCoupon as Coupon;
use SecTheater\Marketplace\Models\EloquentUser as User;
use SecTheater\Marketplace\Tests\TestCase;
class CouponTest extends TestCase {
public function setUp() {
parent::setUp();
$thi... | {
"pile_set_name": "Github"
} |
from JDI.web.os_action.r_file_input import RFileInput
from JDI.web.selenium.elements.api_interact.find_element_by import By
from JDI.web.selenium.elements.common.link import Link
from JDI.web.selenium.elements.composite.web_page import WebPage
from Test.jdi_uitests_webtests.main.page_objects.sections.contact_form impor... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: f9739c5b807e4753b15e3373f1fbb12e
timeCreated: 1568184201 | {
"pile_set_name": "Github"
} |
/**
* Turns Object with names of modules into Array of names of modules
*
* @param {Object} modules
* @returns {string[]}
*/
export default modules => Object.keys(modules).filter(module => modules[module]);
| {
"pile_set_name": "Github"
} |
--TEST--
"for" tags can be nested
--TEMPLATE--
{% for key, item in items %}
* {{ key }} ({{ loop.length }}):
{% for value in item %}
* {{ value }} ({{ loop.length }})
{% endfor %}
{% endfor %}
--DATA--
return ['items' => ['a' => ['a1', 'a2', 'a3'], 'b' => ['b1']]]
--EXPECT--
* a (2):
* a1 (3)
* a2 (3)
* a3 (3)
... | {
"pile_set_name": "Github"
} |
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE
package org.bytedeco.arrow;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.arrow.global.arrow.*;
@Name("std::vector<std::shared_p... | {
"pile_set_name": "Github"
} |
// TODO: Change value to $include-default-uis !default;
$include-panel-uis: true;
// ===============================
// ========= BASE PANEL ==========
// ===============================
$panel-border-radius: null !default;
$panel-border-width: 1px !default;
$panel-base-color: adjust-color($base-color, $hue: 0deg, $sa... | {
"pile_set_name": "Github"
} |
/* Copyright (c) 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | {
"pile_set_name": "Github"
} |
/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2004-2008, Open Source Geospatial Foundation (OSGeo)
*
* 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 ... | {
"pile_set_name": "Github"
} |
require 'rexml/document'
module Saxerator
module Builder
class XmlBuilder
attr_reader :name
def initialize(config, name, attributes)
@config = config
@name = name
@attributes = attributes
@children = []
@text = false
end
def add_node(node)
... | {
"pile_set_name": "Github"
} |
<?php
/**
* Author: XiaoFei Zhai
* Date: 2018/1/30
* Time: 9:49
*/
namespace App\Admin\Extensions;
use Encore\Admin\Form\Field;
class AetherUpload extends Field
{
protected $view = 'admin.aetherupload';
protected static $css = [
];
protected static $js = [
'/js/spark-md5.min.js',
... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2006-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | {
"pile_set_name": "Github"
} |
libbar/blah.go:3:8: cannot find package "xxx" in any of:
D:\devel\tools.Go\go1.3.2.windows-386\go\src\pkg\fmt222 (from $GOROOT)
D:\devel\tools.Go\go-workspace\src\fmt222 (from $GOPATH)
../MyGoLibFoo/libfoo/blah.go:3:8: cannot find package "yyy" in any of:
D:\devel\tools.Go\go1.3.2.windows-386\go\src\pkg\fmt22 (f... | {
"pile_set_name": "Github"
} |
/**
* \file
*
* \brief Instance description for TCC0
*
* Copyright (c) 2018 Microchip Technology Inc.
*
* \asf_license_start
*
* \page License
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in com... | {
"pile_set_name": "Github"
} |
---
title: Using the vSphere SDK
slug: using-sdk-vsphere
excerpt: Find out how to implement and use the vSphere SDK
section: VMware vSphere features
order: 10
---
**Last updated 13th July 2020**
## Objective
Actions within your infrastructure can be automated using the vSphere SDK.
**This guide explains the impleme... | {
"pile_set_name": "Github"
} |
from calibre.web.feeds.news import BasicNewsRecipe
from calibre.ebooks.BeautifulSoup import Tag
def new_tag(soup, name, attrs=()):
impl = getattr(soup, 'new_tag', None)
if impl is not None:
return impl(name, attrs=dict(attrs))
return Tag(soup, name, attrs=attrs or None)
class VrijNederlandRecipe... | {
"pile_set_name": "Github"
} |
//
// Client.swift
// MastodonKit
//
// Created by Ornithologist Coder on 4/22/17.
// Copyright © 2017 MastodonKit. All rights reserved.
//
import Foundation
public struct Client: ClientType {
let baseURL: String
let session: URLSession
// enum Constant: String {
// case sessionID = "com.shi.Mas... | {
"pile_set_name": "Github"
} |
using System.Collections.Generic;
using AsterNET.Manager.Response;
namespace AsterNET.Manager.Action
{
/// <summary>
/// The UpdateConfigAction sends an UpdateConfig command to the asterisk server.
/// Please take note that unlike the manager documentation, this command does not
/// ... | {
"pile_set_name": "Github"
} |
ramstage-$(CONFIG_DRIVERS_INTEL_SOUNDWIRE) += soundwire.c
| {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
# Scraper for Pennsylvania Supreme Court
# CourtID: pa
# Court Short Name: pa
import re
from juriscraper.OpinionSite import OpinionSite
from juriscraper.lib.string_utils import convert_date_string
from juriscraper.lib.string_utils import clean_string
class Site(OpinionSite):
def __init_... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xliff PUBLIC "-//XLIFF//DTD XLIFF//EN" "http://www.oasis-open.org/committees/xliff/documents/xliff.dtd">
<xliff version="1.0">
<file source-language="en" target-language="he" datatype="plaintext" original="messages" date="2018-09-09T08:23:38Z" product-name="messages">
... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | {
"pile_set_name": "Github"
} |
function anonymous(_swig,_ctx,_filters,_utils,_fn) {
var _ext = _swig.extensions,
_output = "";
_output += "<h1>";
if (((typeof _ctx.foo !== "undefined") ? ((typeof _ctx.foo !== "undefined") ? _ctx.foo : "") : ((typeof foo !== "undefined") ? foo : ""))) {
_output += "Bar";
}_output += "</h1>";
return _output... | {
"pile_set_name": "Github"
} |
package net.corda.testing.internal.db
import org.junit.jupiter.api.Test
@GroupB
class GroupBTests {
@Test()
fun setExpectations() {
AssertingTestDatabaseContext.addExpectations("groupB",
"forClassGroupBTests-setup", "specialSql1-setup", "specialSql1-teardown", "forClassGroupBTests-teardow... | {
"pile_set_name": "Github"
} |
package MyTest::Constants;
use constant LIBRARY_CONST1 => 1;
use constant {
'LIBRARY_CONST2' => 1,
qw/LIBRARY_CONST3 42 LIBRARY_CONST4 42/
};
1; | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:viewportHeight="24.0" android:viewportWidth="24.0" android:width="24dp">
<path android:fillColor="#FFFFFF" android:pathData="M9,16.2L4.8,12l-1.4,1.4L9,19 21,7l-1.4,... | {
"pile_set_name": "Github"
} |
// Copyright Aleksey Gurtovoy 2000-2008
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// *Preprocessed* version of the main "apply_wrap.hpp" header
// -- DO NOT modify by hand!
namespace autoboost { na... | {
"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
* distribut... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2001-2005 Silicon Graphics, Inc.
* All Rights Reserved.
*/
#include "xfs.h"
#include <linux/sysctl.h>
#include <linux/proc_fs.h>
#include "xfs_error.h"
#include "xfs_stats.h"
static struct ctl_table_header *xfs_table_header;
#ifdef CONFIG_PROC_FS
STATIC int
xf... | {
"pile_set_name": "Github"
} |
"use strict";
var _ = require('lodash'),
nanoscope = require('../index'),
PathLens = nanoscope.PathLens,
headLens = nanoscope.headLens,
utils = require('./utils');
describe('PathLens', function () {
var testJS, testLens;
beforeEach(function () {
testJS = {
a: {
... | {
"pile_set_name": "Github"
} |
#ifndef __DEPTH_OF_FIELD__
#define __DEPTH_OF_FIELD__
#if SHADER_TARGET >= 50
// Use separate texture/sampler objects on Shader Model 5.0
#define SEPARATE_TEXTURE_SAMPLER
#define DOF_DECL_TEX2D(tex) Texture2D tex; SamplerState sampler##tex
#define DOF_TEX2D(tex, coord) tex.Sample(sampler##tex, coord)
#... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python3
#
# Constants for the generation of patches for CBMC proofs.
#
# Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to... | {
"pile_set_name": "Github"
} |
Format: 1.0
Source: megasync
Binary: megasync
Standards-Version: 3.6.1
Architecture: any
Version: MEGASYNC_VERSION
DEBTRANSFORM-RELEASE: 1
Maintainer: MEGA Linux Team <linux@mega.co.nz>
Homepage: https://mega.nz/#sync
Build-Depends: ffmpeg-mega, pdfium-mega [!i386], libzen-dev, libmediainfo-dev, debhelper, qtbase5-dev,... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2011 Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | {
"pile_set_name": "Github"
} |
os_family = bsd
arch = sparc
arch_model = sparc
os_arch = bsd_sparc
os_arch_model = bsd_sparc
lib_arch = sparc
compiler = gcc
sysdefs = -D_ALLBSD_SOURCE -D_GNU_SOURCE -DSPARC
| {
"pile_set_name": "Github"
} |
/*
* Copyright [2020] [MaxKey of copyright http://www.maxkey.top]
*
* 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 req... | {
"pile_set_name": "Github"
} |
<Type Name="CodeObjectCreateExpression" FullName="System.CodeDom.CodeObjectCreateExpression">
<TypeSignature Language="C#" Value="public class CodeObjectCreateExpression : System.CodeDom.CodeExpression" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit CodeObjectCreateExpression exte... | {
"pile_set_name": "Github"
} |
/*
Plugin-SDK (Grand Theft Auto 3) header file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#pragma once
#include "PluginBase.h"
SUPPORTED_10EN_11EN_STEAM void WeaponCheat();
SUPPORTED_10EN_11EN_STEAM void Health... | {
"pile_set_name": "Github"
} |
// TR1 stdarg.h -*- C++ -*-
// Copyright (C) 2006-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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; eit... | {
"pile_set_name": "Github"
} |
# Primitive.PrepareOptions.LineCover property
Corresponds to command line option `--linecover`
```csharp
public bool LineCover { get; }
```
## See Also
* class [PrepareOptions](../Primitive.PrepareOptions-apidoc)
* namespace [AltCover](../../AltCover-apidoc)
<!-- DO NOT EDIT: generated by xmldocmd for AltCover.exe... | {
"pile_set_name": "Github"
} |
= Kubernetes Stateful Containers using StatefulSets and Persistent Volumes
:toc:
:icons:
:linkcss:
:imagesdir: ../../resources/images
In this section, we will review how to launch and manage applications using https://kubernetes.io/docs/concepts/abstractions/controllers/statefulsets/[StatefulSets] and https://kubernet... | {
"pile_set_name": "Github"
} |
<?php
$installer = $this;
/* @var $installer Mage_Core_Model_Resource_Setup */
$installer->startSetup();
$tableName = $installer->getTable('cron_schedule');
try {
$installer->getConnection()->dropColumn($tableName, 'parameters');
} catch (Exception $e) {
// ignored intentionally
}
$installer->getConnection... | {
"pile_set_name": "Github"
} |
Build and Run
=============
To build this very simple example, do something like this::
gfortran -c fortmyfunc.f90
gcc -c -std=c++11 myfunc.cpp
gfortran fortmyfunc.o myfunc.o -o main -lstdc++
main
The``-lstdc++`` is required to link in the c++ standard libraries
Running ``main`` should yield somethi... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 056578f2a60aa3f47a4459fdb1c7241c
timeCreated: 1433733466
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
# ORE - Objects Raid Engine (libore.ko)
#
# Note ORE needs to "select ASYNC_XOR". So Not to force multiple selects
# for every ORE user we do it like this. Any user should add itself here
# at the "depends on EXOFS_FS || ..." with an ||. The dependencies are
# selected here, and we default to "ON". So in effect it is l... | {
"pile_set_name": "Github"
} |
#/bin/sh
#
# Used to compile a jar with instrumented versions of certain classes.
#
set -e
run () {
echo "% $@"
"$@"
}
if [ $# -ne 1 ]
then
echo "Must provide build dir ('target' or 'build')."
exit 1
fi
scriptDir=$(cd $(dirname $0) && pwd)
TOPDIR="$scriptDir/../.."
RUNTIME="$TOPDIR/src/library/scala/runt... | {
"pile_set_name": "Github"
} |
package ons
//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
//distribut... | {
"pile_set_name": "Github"
} |
{
"author": {
"name": "Felix Geisendörfer",
"email": "felix@debuggable.com",
"url": "http://debuggable.com/"
},
"name": "combined-stream",
"description": "A stream that emits multiple other streams one after another.",
"version": "1.0.5",
"homepage": "https://github.com/felixge/node-combined-str... | {
"pile_set_name": "Github"
} |
# credo:disable-for-this-file
defmodule Cog do
@moduledoc false
use Bonny.Controller
require Logger
@impl true
@spec add(map()) :: :ok | :error
def add(obj), do: Logger.info("add: #{inspect(obj)}")
@impl true
@spec modify(map()) :: :ok | :error
def modify(obj), do: Logger.info("modify: #{inspect(obj... | {
"pile_set_name": "Github"
} |
/*
* Toshiba TC6387XB support
* Copyright (c) 2005 Ian Molton
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This file contains TC6387XB base support.
*
*/
#include <... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env sh
#
# Copyright 2015 the original author or 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.