text stringlengths 2 99k | meta dict |
|---|---|
#include <gtest/gtest.h>
#include "stl.hpp"
#include "src/db/sqlite_store.hpp"
using json11::Json;
TEST(json_store, can_get_and_set) {
shared_ptr<mx3::JsonStore> db = make_shared<mx3::SqliteStore>(":memory:");
Json value = db->get("nothing");
EXPECT_EQ(value.is_null(), true) << "should return null for non-... | {
"pile_set_name": "Github"
} |
#pragma once
#include "../common.hpp"
namespace glm{
namespace detail
{
template<typename T>
GLM_FUNC_QUALIFIER T mod289(T const& x)
{
return x - floor(x * (static_cast<T>(1.0) / static_cast<T>(289.0))) * static_cast<T>(289.0);
}
template<typename T>
GLM_FUNC_QUALIFIER T permute(T const& x)
{
return mod28... | {
"pile_set_name": "Github"
} |
_Testing helpers follows previous patterns shown in [Testing Components](../testing-components/),
because helpers are rendered to templates just like components._
Helpers are best tested with rendering tests, but can also be tested with unit
tests. Rendering tests will provide better coverage for helpers, as it more
c... | {
"pile_set_name": "Github"
} |
{
"compilerOptions": {
"module": "esnext",
"outDir": "dist/",
"noImplicitAny": true,
"sourceMap": true,
"target": "ESNext",
"allowJs": true,
"checkJs": false,
"pretty": true,
"skipLibCheck": true,
"strict": true,
"moduleResolution": "node",
"esModuleInterop": true,
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2016 - 2019 Rui Zhao <renyuneyun@gmail.com>
*
* This file is part of Easer.
*
* Easer is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your o... | {
"pile_set_name": "Github"
} |
App group defines 3 targets:
- app_group_common,
- app_group_client,
- app_group_mainapp.
A typical application is either a main app or a client of a main app, so it
should depend on either app_group_client or app_group_client, but not on
both.
| {
"pile_set_name": "Github"
} |
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved.
// +-------------------------------------------------... | {
"pile_set_name": "Github"
} |
// Copyright 2008 The Closure Library 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
//
// Unless requ... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <TVServices/TVSNetworkInterface.h>
@class NSArray, NSString;
@interface TVSEthernetInterface : TVSNetworkInterface
{
_Bool _active;
_Bool _shouldUseDHCP;
_Bool... | {
"pile_set_name": "Github"
} |
- Worked around path not convex crash under certain conditions.
- Fixed FastScroller to use AppCompatTextView for popup.
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<MetaDataObject xmlns="http://v8.1c.ru/8.3/MDClasses" xmlns:app="http://v8.1c.ru/8.2/managed-application/core" xmlns:cfg="http://v8.1c.ru/8.1/data/enterprise/current-config" xmlns:cmi="http://v8.1c.ru/8.2/managed-application/cmi" xmlns:ent="http://v8.1c.ru/8.1/data/enterprise" xm... | {
"pile_set_name": "Github"
} |
/** Automatically generated file. DO NOT MODIFY */
package com.example.mapdemo;
public final class BuildConfig {
public final static boolean DEBUG = true;
} | {
"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"
} |
//
// detail/wait_handler.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot 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)
//
#ifndef BOO... | {
"pile_set_name": "Github"
} |
Shader "Hidden/Blend" {
Properties {
_MainTex ("Screen Blended", 2D) = "" {}
_ColorBuffer ("Color", 2D) = "" {}
}
CGINCLUDE
#include "UnityCG.cginc"
struct v2f {
float4 pos : SV_POSITION;
float2 uv[2] : TEXCOORD0;
};
struct v2f_mt {
float4 pos : SV_POSITION;
float2 uv[4] : TEXCOORD0;
};
sa... | {
"pile_set_name": "Github"
} |
import is from 'core-js-pure/features/object/is';
QUnit.test('Object.is', assert => {
assert.isFunction(is);
assert.ok(is(1, 1), '1 is 1');
assert.ok(is(NaN, NaN), '1 is 1');
assert.ok(!is(0, -0), '0 isnt -0');
assert.ok(!is({}, {}), '{} isnt {}');
});
| {
"pile_set_name": "Github"
} |
# Blender v2.81 (sub 16) OBJ File: 'Berzerker.blend'
# www.blender.org
mtllib fist_right.mtl
o Fist_Plane.006
v -0.915338 -2.495692 0.200000
v 1.217395 -2.497374 0.200000
v -0.915681 -1.614735 0.200000
v 1.217395 -1.787374 0.200000
v -0.914076 -1.940738 0.200000
v 1.217395 -1.970375 0.200000
v 0.377852 -2.498425 0.2000... | {
"pile_set_name": "Github"
} |
/* clang-format off */
/*
* @brief Common SystemInit function for LPC17xx/40xx chips
*
* @note
* Copyright(C) NXP Semiconductors, 2013
* All rights reserved.
*
* @par
* Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the
* L... | {
"pile_set_name": "Github"
} |
#!/bin/sh
# Exit script wit ERRORLEVEL if any command fails
set -e
INSTALLOPTS=""
if [ "$1" == "production" ]; then
INSTALLOPTS="-a"
fi
# Clear vendor cache
rm -rf ../vendor
# Setup composer
# Hash update information - https://getcomposer.org/download/
php -r "copy('https://getcomposer.org/installer', 'composer-s... | {
"pile_set_name": "Github"
} |
defmodule HexpmWeb.API.ReleaseControllerTest do
use HexpmWeb.ConnCase, async: true
alias Hexpm.Accounts.AuditLog
alias Hexpm.Repository.{Package, RegistryBuilder, Release, Repository}
setup do
user = insert(:user)
repository = insert(:repository)
package = insert(:package, package_owners: [build(:... | {
"pile_set_name": "Github"
} |
//
// TabAViewController.m
// SCNavigationController
//
// Created by 叔 陈 on 15/12/3.
// Copyright © 2015年 叔 陈. All rights reserved.
//
#import "TabAViewController.h"
#import "PictureViewController.h"
@interface TabAViewController ()
@end
@implementation TabAViewController
- (void)viewDidLoad {
[super view... | {
"pile_set_name": "Github"
} |
public void async_json_array(){
String url = "http://androidquery.appspot.com/test/jsonarray.json";
aq.ajax(url, JSONArray.class, new AjaxCallback<JSONArray>(){
public void callback(String url, JSONArray ja, AjaxStatus status) {
showResult(ja, status);
}
});
} | {
"pile_set_name": "Github"
} |
{
"animation": {
"interpolate": true,
"frametime": 16,
"frames": [
0,
1,
2,
3,
2,
1
]
}
}
| {
"pile_set_name": "Github"
} |
pushenv("RTM","correct")
pushenv("LEWIS","correct")
| {
"pile_set_name": "Github"
} |
/***
* Copyright (C) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
*
* =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
*
* bingrequest.cpp - Simple cmd line application tha... | {
"pile_set_name": "Github"
} |
/*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2017 Eric Lafortune @ GuardSquare
*
* 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 F... | {
"pile_set_name": "Github"
} |
{
"version":"LAYAMATERIAL:01",
"props":{
"shaderName":"SIMPLE",
"cull":2,
"blend":0,
"srcBlend":1,
"dstBlend":0,
"alphaTest":false,
"depthWrite":true,
"renderQueue":1,
"textures":[
{
"name":"diffuseTexture",
"path":"../texture/t0211.png"
},
{
"name":"normalTexture",
"path":"... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2020 PHYTEC Messtechnik GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
#define DT_DRV_COMPAT gooddisplay_gd7965
#include <string.h>
#include <device.h>
#include <init.h>
#include <drivers/display.h>
#include <drivers/gpio.h>
#include <drivers/spi.h>
#include <sys/byteorder.h>
#include "gd7965... | {
"pile_set_name": "Github"
} |
---
title: More on Function Visibility
actions:
- 'checkAnswer'
- 'hints'
material:
editor:
language: sol
startingCode:
"zombiefactory.sol": |
pragma solidity ^0.4.19;
contract ZombieFactory {
event NewZombie(uint zombieId, string name, uint dna);
... | {
"pile_set_name": "Github"
} |
#
# Rules for building library
#
# ----------------------------------------------------------------------------
# common rules
# ----------------------------------------------------------------------------
ROOT_PATH := ../..
include $(ROOT_PATH)/gcc.mk
# --------------------------------------------------------------... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" ?>
<!--
~ <<
~ Davinci
~ ==
~ Copyright (C) 2016 - 2019 EDP
~ ==
~ 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://ww... | {
"pile_set_name": "Github"
} |
#!/bin/bash
for file in `git ls-files | grep .*_cfg_default.h`; do git mv $file `echo $file | sed -e 's/_cfg_default/_cfg_template/'` ; done
| {
"pile_set_name": "Github"
} |
// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2016-2020 Datadog, Inc.
package errors
import (
"fmt"
"testing"
"github.com/stretchr/testify/re... | {
"pile_set_name": "Github"
} |
[General]
BTBColor=#0A5C90
Colors=@Variant(\0\0\0\b\0\0\0\x2\0\0\0\x4\0\x65\0t\0\0\0\n\0\0\0\xe\0#\0\x63\0\x63\0\x30\0\x66\0\x35\0\x30\0\0\0\x4\0\x62\0t\0\0\0\n\0\0\0\xe\0#\0\x30\0\x41\0\x35\0\x43\0\x39\0\x30)
Delay=2000
ETBColor=#cc0f50
LCDColors=@Variant(\0\0\0\b\0\0\0\x2\0\0\0\x4\0\x65\0t\0\0\0\n\0\0\0\xe\0#\0\x63\0... | {
"pile_set_name": "Github"
} |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.MSHTMLApi
{
/// <summary>
/// DispatchInterface HTMLElementEvents2
/// SupportByVersion MSHTML, 4
/// </summary>
[SupportByVersion("MSHTML", 4)]
[EntityType(EntityType.IsDispatchInterface... | {
"pile_set_name": "Github"
} |
{
"_args": [
[
"weex-components",
"E:\\workspace\\hongkong"
]
],
"_from": "weex-components@latest",
"_id": "weex-components@0.2.0",
"_inCache": true,
"_installable": true,
"_location": "/weex-components",
"_nodeVersion": "5.9.1",
"_npmOperationalInternal": {
"host": "packages-1... | {
"pile_set_name": "Github"
} |
X-Account-Key: account5
X-UIDL: GmailId12880e8b115d0ae0
X-Mozilla-Status: 0000
X-Mozilla-Status2: 00000000
X-Mozilla-Keys:
Delivered-To: mlsubscriber.tech@csmining.org
Received: by 10.142.81.20 with SMTP id e20cs586503wfb;
Sun, 9 M... | {
"pile_set_name": "Github"
} |
limbo = require 'limbo'
validator = require 'validator'
_ = require 'lodash'
app = require '../../server'
{NoticeModel} = limbo.use 'talk'
module.exports = noticeController = app.controller 'cms/notice', ->
@ensure 'content', only: 'create'
editableFields = [
'content'
'postAt'
]
@action 'readOne'... | {
"pile_set_name": "Github"
} |
{# ############################################## REDISTRIBUTE MACRO #}
{% macro render_redistribute(parent, indent) %}
{% if 'redistribute' in parent %}
{% for protocol_name in ['connected', 'ospf'] %}
{% if protocol_name in parent['redistribute'] %}
{% set protocol = parent['redistribute'][protocol_name] %}
{% set l... | {
"pile_set_name": "Github"
} |
<configuration>
<statusListener class="ch.qos.logback.core.status.NopStatusListener" />
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator">
<resetJUL>true</resetJUL>
</contextListener>
<!-- To enable JMX Management -->
<jmxConfigurator/>
<appender name="console" ... | {
"pile_set_name": "Github"
} |
/* Generated by RuntimeBrowser on iPhone OS 3.0
Image: /System/Library/PrivateFrameworks/OfficeImport.framework/OfficeImport
*/
@interface WXParagraphProperties : NSObject
{
}
+ (void)initialize;
+ (void)readFrom:(struct _xmlNode { void *x1; NSInteger x2; char *x3; struct _xmlNode {} *x4; struct _xmlNode {} *x... | {
"pile_set_name": "Github"
} |
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-db-master
namespace: {{ .Values.global.namespace }}
labels:
{{- include "commonLabels" . | nindent 4 }}
spec:
selector:
{{- include "postgres.master.serviceLabels" . | nindent 4 }}
ports:
- name: container
port: 5432
protoco... | {
"pile_set_name": "Github"
} |
/* lzo1x_oo.ch -- LZO1X compressed data optimizer
This file is part of the LZO real-time data compression library.
Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
All Rights Reserved.
The LZO library is free software; you can redistribute it and/or
modify it under the terms of the GNU Ge... | {
"pile_set_name": "Github"
} |
Browser-friendly inheritance fully compatible with standard node.js
[inherits](http://nodejs.org/api/util.html#util_util_inherits_constructor_superconstructor).
This package exports standard `inherits` from node.js `util` module in
node environment, but also provides alternative browser-friendly
implementation through... | {
"pile_set_name": "Github"
} |
({
shouldDeps : {
block : 'button',
elem : 'icon',
mod : 'vk'
}
})
| {
"pile_set_name": "Github"
} |
#
# Created by: Pearu Peterson, April 2002
#
from __future__ import division, print_function, absolute_import
__usage__ = """
Build linalg:
python setup.py build
Run tests if scipy is installed:
python -c 'import scipy;scipy.linalg.test()'
"""
import math
import numpy as np
from numpy.testing import (assert_equ... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 17f654b833624b21bdb7784f7d9a4ae8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
From social-admin@linux.ie Mon Jul 22 19:24:30 2002
Return-Path: <social-admin@linux.ie>
Delivered-To: yyyy@localhost.netnoteinc.com
Received: from localhost (localhost [127.0.0.1])
by phobos.labs.netnoteinc.com (Postfix) with ESMTP id 98BBD440C8
for <jm@localhost>; Mon, 22 Jul 2002 14:24:29 -0400 (EDT)
Received: fr... | {
"pile_set_name": "Github"
} |
/* Copyright 2013-2020 Homegear GmbH
*
* Homegear is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Homegear is distributed in the ho... | {
"pile_set_name": "Github"
} |
<?php
class YumStatisticsController extends YumController {
const PAGE_SIZE=10;
public function accessRules()
{
return array(
array('allow',
'actions'=>array('index'),
'users'=>array(Yii::app()->user->name ),
'expression' => 'Yii::app()->user->isAdmin()'
),
array('deny', 'users'=>arra... | {
"pile_set_name": "Github"
} |
#ifndef _EXDLL_H_
#define _EXDLL_H_
// only include this file from one place in your DLL.
// (it is all static, if you use it in two places it will fail)
#define EXDLL_INIT() { \
g_stringsize=string_size; \
g_stacktop=stacktop; \
g_variables=variables; }
// For page... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>brewNoteWidget</class>
<widget class="QWidget" name="brewNoteWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>636</width>
<height>448</height>
</rect>
</property>
<property name="windowTitle">
<string>br... | {
"pile_set_name": "Github"
} |
---
ms.localizationpriority: medium
ms.mktglfcycl: deploy
description: Use Internet Explorer to collect data on computers running Windows Internet Explorer 8 through Internet Explorer 11 on Windows 10, Windows 8.1, or Windows 7.
author: dansimp
ms.prod: ie11
ms.assetid: a145e80f-eb62-4116-82c4-3cc35fd064b6
ms.reviewer:... | {
"pile_set_name": "Github"
} |
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/davidg/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# h... | {
"pile_set_name": "Github"
} |
name: publish
on:
push:
tags:
- '*'
jobs:
docker:
runs-on: ubuntu-latest
env:
REPOSITORY: unblockneteasemusic
DOCKER_USERNAME: nondanee
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
steps:
-
name: Prepare
id: prepare
run: |
ARCH=(a... | {
"pile_set_name": "Github"
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#if NETCOREAPP
namespace Microsoft.VisualStudio.TestPlatform.PlatformAbstractions
{
using System.Diagnostics;
public static class ProcessStartInf... | {
"pile_set_name": "Github"
} |
# LP:1434842 -- disable OSS drivers by default to allow pulseaudio to emulate
blacklist snd-mixer-oss
blacklist snd-pcm-oss
| {
"pile_set_name": "Github"
} |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... | {
"pile_set_name": "Github"
} |
*%(basename)s:6: SyntaxError: Identifier 'x' has already been declared
import {y, x, z} from "modules-import-redeclare1.mjs";
^
SyntaxError: Identifier 'x' has already been declared
| {
"pile_set_name": "Github"
} |
### What is the difference between the array methods `map()` and `forEach()`?
#### Answer
Both methods iterate through the elements of an array. `map()` maps each element to a new element by invoking the callback function on each element and returning a new array. On the other hand, `forEach()` invokes the callback f... | {
"pile_set_name": "Github"
} |
import Logger from '/imports/startup/server/logger';
import Users from '/imports/api/users';
import { check } from 'meteor/check';
export default function changeUserLock(meetingId, payload) {
check(meetingId, String);
check(payload, {
userId: String,
locked: Boolean,
lockedBy: String,
});
const { ... | {
"pile_set_name": "Github"
} |
/* vi: set sw=4 ts=4: */
/*
* resize - set terminal width and height.
*
* Copyright 2006 Bernhard Reutner-Fischer
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
/* no options, no getopt */
//usage:#define resize_trivial_usage
//usage: ""
//usage:#define resize_full_usage "\n\n"... | {
"pile_set_name": "Github"
} |
def extractLleeloweCom(item):
'''
Parser for 'lleelowe.com'
'''
vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])
if not (chp or vol) or "preview" in item['title'].lower():
return None
tagmap = [
('PRC', 'PRC', 'translated'),
('Loiterous', 'Loiterous', ... | {
"pile_set_name": "Github"
} |
/*
* Fixed function pipeline replacement using GL_ATI_fragment_shader
*
* Copyright 2008 Stefan Dösinger(for CodeWeavers)
*
* 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
... | {
"pile_set_name": "Github"
} |
# $NetBSD: Makefile,v 1.5 2016/08/24 10:29:50 wiz Exp $
DISTNAME= urw-fonts-2.0
CATEGORIES= fonts
MASTER_SITES= http://pkgs.fedoraproject.org/repo/pkgs/urw-fonts/urw-fonts-2.0.tar.bz2/c5cc8237e4289fc6ebeaa296174fa504/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://download.gimp.org/pub/g... | {
"pile_set_name": "Github"
} |
%% @author Marc Worrell <marc@worrell.nl>
%% @copyright 2009 Marc Worrell
%% Date: 2009-04-28
%% @doc Open a dialog that asks confirmation to delete a resource.
%% Copyright 2009 Marc Worrell
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with th... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: a2d92a77769be44d2a8b1ac0d864184a
timeCreated: 1469052897
licenseType: Free
PluginImporter:
serializedVersion: 1
iconMap: {}
executionOrder: {}
isPreloaded: 0
platformData:
Any:
enabled: 1
settings: {}
Editor:
enabled: 0
settings:
DefaultValueI... | {
"pile_set_name": "Github"
} |
{
"icao": "hs",
"name": "General Aviation Thailand",
"callsign": {
"name": "Hotel Sierra",
"callsignFormats": [
"@@@"
]
},
"fleets": {
"default": [
["BE36", 5],
["C172", 5],
["C182", 5],
["C208", 3],
... | {
"pile_set_name": "Github"
} |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 1105457086738104}
m_IsPrefabParent: ... | {
"pile_set_name": "Github"
} |
// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
// or more contributor license agreements. Licensed under the Elastic License;
// you may not use this file except in compliance with the Elastic License.
package common
import (
"errors"
"reflect"
"testing"
"github.com/stretchr/test... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!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" lang="de" xml:lang="de">
<head>
<!--
*
* Copyright 2008, Haiku. All rights reserved.
* Distributed under the terms of the MI... | {
"pile_set_name": "Github"
} |
Chart.StackedBar.js
===================
**This repository is no longer maintained since [Chart.js v2.0](https://github.com/chartjs/Chart.js) includes StackedBars per default. I highly recommend you to upgrade your project using Chart.js to the latest version of Chart.js. Thank you all for your support, your contributi... | {
"pile_set_name": "Github"
} |
class WopiController < ActionController::Base
include WopiUtil
skip_before_action :verify_authenticity_token
before_action :load_vars, :authenticate_user_from_token!
before_action :verify_proof!
# Only used for checkfileinfo
def file_get_endpoint
check_file_info
end
def file_contents_get_endpoint... | {
"pile_set_name": "Github"
} |
using System.Linq.Dynamic.Core.Tests.Helpers.Models;
using Xunit;
namespace System.Linq.Dynamic.Core.Tests
{
public partial class QueryableTests
{
[Fact]
public void ToArray_Dynamic()
{
// Arrange
var testList = User.GenerateSampleModels(51);
IQuerya... | {
"pile_set_name": "Github"
} |
import Token from './Token'
export default Token
| {
"pile_set_name": "Github"
} |
0.022055
0.001444
0.003347
0.000051
0.000711
0.002840
0.000770
0.031995
0.000032
0.000672
0.002418
0.041191
0.003118
0.000651
0.030098
0.036305
0.080971
0.000030
0.000603
0.001690
0.024504
0.013009
0.010273
0.002481
0.000575
0.025072
0.019257
0.055261
0.008844
0.014795
0.000039
0.000795
... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2019 Trail of Bits, 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 o... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <list.h>
#include <per_cpu.h>
#include <schedule.h>
#define CONFIG_SLICE_MS 10UL
struct sched_iorr_data {
/* keep list as the first item */
struct list_head list;
uint64_t slice_cycles;
uint6... | {
"pile_set_name": "Github"
} |
#pragma checksum "C:\Users\panag\Desktop\anyplace\windows\AnyPlace\MyLocationPoiControl.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "2CE6A5D7B0EE237CE2A0E3E7B2EEA586"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// ... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/react-demo01.iml" filepath="$PROJECT_DIR$/.idea/react-demo01.iml" />
</modules>
</component>
</project> | {
"pile_set_name": "Github"
} |
/*
* This file is part of PowerDNS or dnsdist.
* Copyright -- PowerDNS.COM B.V. and its contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* In addition, for t... | {
"pile_set_name": "Github"
} |
// Copyright 2011-2016 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | {
"pile_set_name": "Github"
} |
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permiss... | {
"pile_set_name": "Github"
} |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Core.Query.InternalTrees
{
using System.Data.Entity.Core.Metadata.Edm;
using System.Diagnostics;
// <summary>
// Represents an arbitrary nes... | {
"pile_set_name": "Github"
} |
class Fastbit < Formula
desc "Open-source data processing library in NoSQL spirit"
homepage "https://sdm.lbl.gov/fastbit/"
url "https://codeforge.lbl.gov/frs/download.php/416/fastbit-2.0.2.tar.gz"
sha256 "a9d6254fcc32da6b91bf00285c7820869950bed25d74c993da49e1336fd381b4"
head "https://codeforge.lbl.gov/anonscm... | {
"pile_set_name": "Github"
} |
package gui
import (
. "gopkg.in/check.v1"
)
type ChangePasswordDetailsSuite struct{}
var _ = Suite(&ChangePasswordDetailsSuite{})
func (s *ChangePasswordDetailsSuite) Test_validatePasswords_SuccesfulValidation(c *C) {
err := validateNewPassword("pass", "pass")
c.Assert(err, IsNil)
}
func (s *ChangePasswordDeta... | {
"pile_set_name": "Github"
} |
# OpenSees source code repository.
This git repository contains all revisions to OpenSees source code since Version 2.3.2.
Older revisions of the code are available upon request.
If you plan on collaborating or even using OpenSees as your base code it is highly recommended that
you FORK this repo to your own account... | {
"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;
using System.IO;
using Microsoft.Extensions.CommandLineUtils;
using Microsoft.Extensions.SecretManager.Tools.Internal;
using Microsoft.Ext... | {
"pile_set_name": "Github"
} |
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2007 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permiss... | {
"pile_set_name": "Github"
} |
Solidity File
SolContractDefinitionImpl(CONTRACT_DEFINITION)
PsiElement(contract)('contract')
PsiWhiteSpace(' ')
PsiElement(Identifier)('test')
PsiWhiteSpace(' ')
PsiElement({)('{')
PsiWhiteSpace('\n ')
SolStateVariableDeclarationImpl(STATE_VARIABLE_DECLARATION)
SolElementaryTypeNam... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
*/
/*
* 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 licen... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\PhotoMechanic;
use JMS\Serializer\Annotation\ExclusionP... | {
"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>bundleid</key>
<string>com.shorten-url.hzlzh</string>
<key>connections</key>
<dict>
<key>29221F47-9904-4EE7-AAF9-D300BAFAF2EF</key>
<arr... | {
"pile_set_name": "Github"
} |
#
# Copyright 2015-2017, Noah Kantrowitz
#
# 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 w... | {
"pile_set_name": "Github"
} |
package com.alibaba.boot.velocity.controller;
import com.alibaba.boot.velocity.VelocityLayoutProperties;
import com.alibaba.boot.velocity.annotation.VelocityLayout;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
impo... | {
"pile_set_name": "Github"
} |
body.emergency_off_button_index {
font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
text-align: center;
header {
padding: 10px 20px;
margin-bottom: 30px;
}
#logo a {
float: left;
line-height: 20px;
font-size: 14px;
text-decor... | {
"pile_set_name": "Github"
} |
export function factorialIterative(number: number) {
if (number < 0) {
return undefined;
}
let total = 1;
for (let n = number; n > 1; n--) {
total *= n;
}
return total;
}
export function factorial(n: number): number {
if (n < 0) {
return undefined;
}
if (n === 1 || n === 0) {
return ... | {
"pile_set_name": "Github"
} |
/* ============================================================
*
* This file is a part of digiKam project
* https://www.digikam.org
*
* Date : 2007-02-06
* Description : Setup view panel for dplugins.
*
* Copyright (C) 2018-2019 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
* This program ... | {
"pile_set_name": "Github"
} |
{% autoescape None %}
{% extends ../../../templates/base.html %}
{% block title %}[{{instance.hostname}}:{{instance.pg_port}}] - Maintenance{% end %}
{% block content %}
{% include breadcrumb.html %}
<div id="app">
<h3>
Table: <strong>{{ table }}</strong>
</h3>
<div class="text-center" v-if="loading">
... | {
"pile_set_name": "Github"
} |
/* ioapi.c -- IO base function header for compress/uncompress .zip
files using zlib + zip or unzip API
Version 1.01e, February 12th, 2005
Copyright (C) 1998-2005 Gilles Vollant
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "zlib.h"
#include "ioapi.h"
/* I've found an old Unix (a... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.