text
stringlengths
10
99.9k
meta
dict
// // detail/impl/service_registry.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2019 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) // #if...
{ "pile_set_name": "Github" }
/** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var React = require('react'); var Router = require('react-router'); var { Map, Seq } = require('../../../../'); var defs = require('../....
{ "pile_set_name": "Github" }
/* (c) 2014 Open Source Geospatial Foundation - all rights reserved * (c) 2001 - 2013 OpenPlans * This code is licensed under the GPL 2.0 license, available at the root * application directory. */ package org.geoserver.wcs.kvp; import static org.vfny.geoserver.wcs.WcsException.WcsExceptionCode.InvalidParameterValu...
{ "pile_set_name": "Github" }
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...
{ "pile_set_name": "Github" }
/* global FileReader */ import React from 'react' import PropTypes from 'prop-types' import { createMessage } from '../graphql/mutations' import { getConvo } from '../graphql/queries' import { graphql } from 'react-apollo' import uuid from 'uuid/v4' import { Popover, PopoverHeader, PopoverBody } from 'reactstrap' impo...
{ "pile_set_name": "Github" }
{ "include": [ "src/l10n/*" ], "compilerOptions": { "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ "module": "commonjs", /* Specify module cod...
{ "pile_set_name": "Github" }
directive @relation(name: String!) on FIELD_DEFINITION directive @default(value: Int!) on FIELD_DEFINITION type Post { id: ID! title: String! publishedAt: Int! likes: Int! @default(value: 0) author: Author! @relation(name: "Posts") blog: Blog @relation(name: "Posts") } type Author { id: ID! name: Stri...
{ "pile_set_name": "Github" }
# 一对一 一对一是一种 A 只包含一个 B 实例,而 B 只包含一个 A 实例的关系。 我们以`User`和`Profile`实体为例。 用户只能拥有一个配置文件,并且一个配置文件仅由一个用户拥有。 ```typescript import { Entity, PrimaryGeneratedColumn, Column } from "typeorm"; @Entity() export class Profile { @PrimaryGeneratedColumn() id: number; @Column() gender: string; @Column() photo: string;...
{ "pile_set_name": "Github" }
<?php /** * @coversDefaultClass \Foo\CoveredClass */ class NamespaceCoverageCoversClassPublicTest extends PHPUnit_Framework_TestCase { /** * @covers ::publicMethod */ public function testSomething() { $o = new Foo\CoveredClass; $o->publicMethod(); } }
{ "pile_set_name": "Github" }
// 练习10.24:给定一个string,使用bind和check_size在一个int的vector中 // 查找第一个大于string长度的值。 #include <iostream> #include <string> #include <vector> #include <algorithm> #include <functional> using namespace std; using namespace std::placeholders; bool check_size(const string &s, string::size_type sz) { return s.size() < sz; } int...
{ "pile_set_name": "Github" }
/*! * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed ...
{ "pile_set_name": "Github" }
const foo = require('./foo.json'); const bar = require('./bar'); module.exports = { // 同时支持 GET 和 POST '/api/users/1': foo, '/api/foo/bar': bar(), // 支持标准 HTTP 'GET /api/users': { users: [1, 2] }, 'DELETE /api/users': { users: [1, 2] }, // 支持自定义函数,API 参考 express4 'POST /api/users/create': (req, res) ...
{ "pile_set_name": "Github" }
// Copyright 2012 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build darwin,race linux,race freebsd,race package unix import ( "runtime" "unsafe" ) const raceenabled = true func raceAcquire(addr unsafe.Pointer) { ...
{ "pile_set_name": "Github" }
using GameObject; using Lidgren.Network; using SS13_Shared; using SS13_Shared.GO; using SS13_Shared.GO.Component.Item; namespace CGO { public class BasicItemComponent : Component { public Entity Holder; public InventoryLocation HoldingHand; public BasicItemComponent() ...
{ "pile_set_name": "Github" }
/******************************************************************************* * Copyright (c) 2017, 2018 GK Software AG, and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at ...
{ "pile_set_name": "Github" }
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Workflow.Runtime; using System.Workflow.Activities; using Composite.C1Console.Actions; using Composite.Data; using Composite.Data.Types; using Composite.Core.ResourceSystem;...
{ "pile_set_name": "Github" }
<?php /** * BoxBilling * * @copyright BoxBilling, Inc (http://www.boxbilling.com) * @license Apache-2.0 * * Copyright BoxBilling, Inc * This source file is subject to the Apache-2.0 License that is bundled * with this source code in the file LICENSE */ /** * All public methods in this class are exposed to ...
{ "pile_set_name": "Github" }
/* vm.cc Jeremy Barnes, 22 February 2010 Copyright (c) 2010 Jeremy Barnes. All rights reserved. Virtual memory functions. */ #include "vm.h" #include "jml/arch/format.h" #include "jml/arch/exception.h" #include "jml/utils/guard.h" #include "jml/utils/info.h" #include <sys/types.h> #include <sys/stat.h> #in...
{ "pile_set_name": "Github" }
module Test.Internal.KernelConstants exposing (kernelConstants) {-| This module defines the mapping of optimized field name and enum values for kernel code in other packages the we depend on. -} {-| NOTE: this is duplicating constants also defined in src/Elm/Kernel/HtmlAsJson.js so if you make any changes here, be s...
{ "pile_set_name": "Github" }
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. package firehose const ( // ErrCodeConcurrentModificationException for service response error code // "ConcurrentModificationException". // // Another modification has already happened. Fetch VersionId again and use // it to update the destina...
{ "pile_set_name": "Github" }
/* * Copyright (C) 2013 Politecnico di Torino, Italy * TORSEC group -- http://security.polito.it * * Author: Roberto Sassu <roberto.sassu@polito.it> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published b...
{ "pile_set_name": "Github" }
/* * HA-JDBC: High-Availability JDBC * Copyright (C) 2013 Paul Ferraro * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any...
{ "pile_set_name": "Github" }
//===-------------- lib/Support/BranchProbability.cpp -----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
{ "pile_set_name": "Github" }
//===- llvm/Analysis/DominanceFrontier.h - Dominator Frontiers --*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
{ "pile_set_name": "Github" }
/* Area: ffi_call Purpose: Check structures. Limitations: none. PR: none. Originator: From the original ffitest.c */ /* { dg-do run } */ #include "ffitest.h" typedef struct { double d1; double d2; } test_structure_2; static test_structure_2 ABI_ATTR struct2(test_structure_2 ts) { ts.d1--; ts.d2...
{ "pile_set_name": "Github" }
package check import ( "fmt" "io" "sync" ) // ----------------------------------------------------------------------- // Output writer manages atomic output writing according to settings. type outputWriter struct { m sync.Mutex writer io.Writer wroteCallProblemLast bool Stream...
{ "pile_set_name": "Github" }
package me.saket.dank.ui.submission; import me.saket.dank.ui.submission.events.SubmissionChangeCommentSortClicked; import me.saket.dank.utils.DankSubmissionRequest; interface SubmissionUi { void showProgress(); void hideProgress(); void acceptRequest(DankSubmissionRequest lastRequest); void showChangeSort...
{ "pile_set_name": "Github" }
/******************************************************************************* * Copyright (c) 2013 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
{ "pile_set_name": "Github" }
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control A"] pub ctrla: CTRLA, #[doc = "0x01 - Reference Control"] pub refctrl: REFCTRL, #[doc = "0x02 - Average Control"] pub avgctrl: AVGCTRL, #[doc = "0x03 - Sampling Time Control"] pub sampctrl: SAMPCTRL,...
{ "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 license...
{ "pile_set_name": "Github" }
/* eslint-disable func-names */ /** * Webpack's `externals` equivalent object, * listing dependencies that Frint packages use. */ import webpackRxJsExternals from './utils/webpackRxjsExternals'; export const rxjs = [webpackRxJsExternals()]; export const lodash = [ function (context, request, callback) { if (...
{ "pile_set_name": "Github" }
import os import sys if sys.version_info[0] == 2: _ENCODE = sys.getfilesystemencoding() def path_join(*args): bin_args = map(lambda a: a.decode(_ENCODE), args) return os.path.join(*bin_args).encode(_ENCODE) def str_join(s, l): bin_args = map(lambda a: a.decode(_ENCODE), l) ...
{ "pile_set_name": "Github" }
/* Copyright 2014-2020 Go For It! developers * * This file is part of Go For It!. * * Go For It! is free software: you can redistribute it * and/or modify it under the terms of version 3 of the * GNU General Public License as published by the Free Software Foundation. * * Go For It! is distributed in the hope that it w...
{ "pile_set_name": "Github" }
{ "accountLinkingWhitelistedDomains": null, "asin": "B01MEF6JVS", "averageRating": 3.3, "canDisable": true, "capabilities": null, "category": null, "description": "Ever want a quick tip to make your life better? Better Life provides exactly that. Listen to short, proven tips for better living whenever you...
{ "pile_set_name": "Github" }
import { UPDATE_ORDER_BOOK, CLEAR_ORDER_BOOK } from "modules/orders/actions/update-order-book"; import { RESET_STATE } from "modules/app/actions/reset-state"; const DEFAULT_STATE = {}; /** * @param {Object} orderBooks * @param {Object} action */ export default function(orderBooks = DEFAULT_STATE, { type, data }...
{ "pile_set_name": "Github" }
import java.util.Objects; /** * 学生类 * * @author fraser * @date 2019/12/16 9:34 PM */ public class Student { private String name; private int age; @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Student student = (Stude...
{ "pile_set_name": "Github" }
/* * Copyright 2018, Yahoo Inc. * Copyright 2018, the original author or authors. * Licensed under the Apache License, Version 2.0 * See LICENSE file in project root for terms. */ package com.yahoo.elide.core; import static com.yahoo.elide.core.EntityBinding.EMPTY_BINDING; import com.yahoo.elide.Injector; import...
{ "pile_set_name": "Github" }
import * as Lint from "tslint"; import * as ts from "typescript"; import { failure } from "../util"; // Same functionality as https://github.com/palantir/tslint/pull/1654, but simpler implementation. // Remove when that PR is in. export class Rule extends Lint.Rules.AbstractRule { static metadata: Lint.IRuleMeta...
{ "pile_set_name": "Github" }
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: support@coronalabs.com // ////////////////////////...
{ "pile_set_name": "Github" }
package nucleus.example.util.adapters; import android.support.v7.widget.RecyclerView; import android.view.ViewGroup; import java.util.Collections; import java.util.List; import static java.util.Arrays.asList; public abstract class BaseRecyclerViewAdapter extends RecyclerView.Adapter<BaseViewHolder> { private f...
{ "pile_set_name": "Github" }
/** * SyntaxHighlighter * http://alexgorbatchev.com/SyntaxHighlighter * * SyntaxHighlighter is donationware. If you are using it, please donate. * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * * @version * 3.0.83 (July 02 2010) * * @copyright * Copyright (C) 2004-2010 Alex Gorbatchev. * * @lic...
{ "pile_set_name": "Github" }
/* The PyObject_ memory family: high-level object memory interfaces. See pymem.h for the low-level PyMem_ family. */ #ifndef Py_OBJIMPL_H #define Py_OBJIMPL_H #include "pymem.h" #ifdef __cplusplus extern "C" { #endif /* BEWARE: Each interface exports both functions and macros. Extension modules should u...
{ "pile_set_name": "Github" }
#pylint: disable=missing-docstring #* This file is part of the MOOSE framework #* https://www.mooseframework.org #* #* All rights reserved, see COPYRIGHT for full restrictions #* https://github.com/idaholab/moose/blob/master/COPYRIGHT #* #* Licensed under LGPL 2.1, please see LICENSE for details #* https://www.gnu.org/...
{ "pile_set_name": "Github" }
(function() {var implementors = {}; implementors['collections'] = []; if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })()
{ "pile_set_name": "Github" }
/******************************************************************************* * Copyright (c) 2013-2015 Sierra Wireless and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v2.0 * and Eclipse Distribution License v1....
{ "pile_set_name": "Github" }
//! [Problem 70](https://projecteuler.net/problem=70) solver. #![warn( bad_style, unused, unused_extern_crates, unused_import_braces, unused_qualifications, unused_results )] use integer::Integer; use prime::PrimeSet; use std::f64; fn compute(limit: u64) -> u64 { // n = \Pi_{k=1}^d p_k ...
{ "pile_set_name": "Github" }
<?php namespace Kahlan\Plugin; use InvalidArgumentException; use Kahlan\Suite; use Kahlan\Analysis\Inspector; use Kahlan\Plugin\Stub\Method; class Stub { /** * Registered stubbed instance/class methods. * * @var array */ protected static $_registered = []; /** * The stub referenc...
{ "pile_set_name": "Github" }
// Copyright 2013 Google 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 applicable...
{ "pile_set_name": "Github" }
{ "cells": [ { "cell_type": "markdown", "metadata": { "collapsed": true }, "source": [ "## Word 2 Vec" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": false }, "outputs": [], "source": [ "import numpy as np\n", "import matplotlib.p...
{ "pile_set_name": "Github" }
/// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import <Foundation/Foundation.h> #import "DBSerializableProtocol.h" @class DBFILEPROPERTIESPropertyGroup; @class DBFILESCommitInfo; @class DBFILESWriteMode; NS_ASSUME_NONNULL_BEGIN #pragma mark - API ...
{ "pile_set_name": "Github" }
/** * Copyright © 2019 同程艺龙 (zhihui.li@ly.com) * * 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 la...
{ "pile_set_name": "Github" }
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build !gccgo #include "textflag.h" TEXT ·use(SB),NOSPLIT,$0 RET
{ "pile_set_name": "Github" }
(function(compodoc) { var MAX_RESULTS = 15, MAX_DESCRIPTION_SIZE = 500, usePushState = (typeof history.pushState !== 'undefined'), // DOM Elements $body = $('body'), $searchResults, $searchInput, $searchList, $searchTitle, $searchResultsCount, ...
{ "pile_set_name": "Github" }
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
{ "pile_set_name": "Github" }
import { Search } from '@destinyitemmanager/dim-api-types'; import { saveSearch, searchDeleted, searchUsed } from 'app/dim-api/basic-actions'; import { recentSearchesSelector } from 'app/dim-api/selectors'; import { Loading } from 'app/dim-ui/Loading'; import Sheet from 'app/dim-ui/Sheet'; import UserGuideLink from 'ap...
{ "pile_set_name": "Github" }
import { EntryPoint, EntryPointComponent, EnvironmentProviderOptions, IEnvironmentProvider } from './EntryPointTypes'; export type EntryPointContainerProps< TEntryPointParams, TPreloadedQueries, TPreloadedEntryPoints, TRuntimeProps, TExtraProps > = Readonly< Readonly<{ entryPoint: Entry...
{ "pile_set_name": "Github" }
import itertools import numpy import six from chainer.backends import cuda from chainer.utils.conv import get_conv_outsize from chainer.utils import conv_nd_kernel def as_tuple(x, n): if hasattr(x, '__getitem__'): assert len(x) == n return tuple(x) return (x,) * n def im2col_nd_cpu(img, ks...
{ "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" }
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`NewTabLink handles children 1`] = ` <StyledLinkBase className="insights-link" href="test" target="_blank" > link text </StyledLinkBase> `; exports[`NewTabLink renders content with custom className 1`] = ` <StyledLinkBase className="insights-link custom-cla...
{ "pile_set_name": "Github" }
import DS from "ember-data"; import cardColor from "../utils/card-color"; export default DS.Model.extend({ name: DS.attr('string'), icon: DS.attr('string'), policy: DS.attr('number'), ports: DS.attr(), type: DS.attr('string'), cardColor: function() { return cardColor(); }.property(),...
{ "pile_set_name": "Github" }
/* * Copyright (C) 2007 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" }
{ "name": "objc-codegenutils", "full_name": "objc-codegenutils", "oldname": null, "aliases": [ ], "versioned_formulae": [ ], "desc": "Three small tools to help work with XCode", "license": "Apache-2.0", "homepage": "https://github.com/square/objc-codegenutils", "versions": { "stable": "1.0",...
{ "pile_set_name": "Github" }
// Copyright Aleksey Gurtovoy 2000-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Preprocessed version of "boost/mpl/or.hpp" header // -- DO NOT modify by hand! namespace boost { namespace mpl...
{ "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 ...
{ "pile_set_name": "Github" }
<?php /** * This file is part of phpDocumentor. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @copyright 2010-2015 Mike van Riel<mike@phpdoc.org> * @license http://www.opensource.org/licenses/mit-license.php MIT * @link ...
{ "pile_set_name": "Github" }
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build gccgo // +build !aix #include <errno.h> #include <stdint.h> #include <unistd.h> #define _STRINGIFY2_(x) #x #define _STRINGIFY_(x) _STRINGIFY2_(x) #d...
{ "pile_set_name": "Github" }
// // Umbrella.swift // RainyRefresh // // Created by Anton Dolzhenko on 16.11.16. // Copyright © 2016 Onix Systems. All rights reserved. // import UIKit enum UmbrellaState { case closed case opened var value: CGFloat { return (self == .opened) ? 0.0 : 1.0 } } final class UmbrellaView:UIV...
{ "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 ...
{ "pile_set_name": "Github" }
<!-- doc/src/sgml/ref/security_label.sgml PostgreSQL documentation --> <refentry id="SQL-SECURITY-LABEL"> <refmeta> <refentrytitle>SECURITY LABEL</refentrytitle> <manvolnum>7</manvolnum> <refmiscinfo>SQL - Language Statements</refmiscinfo> </refmeta> <refnamediv> <refname>SECURITY LABEL</refname> <refpur...
{ "pile_set_name": "Github" }
<?php /** * li₃: the most RAD framework for PHP (http://li3.me) * * Copyright 2009, Union of RAD. All rights reserved. This source * code is distributed under the terms of the BSD 3-Clause License. * The full license text can be found in the LICENSE.txt file. */ namespace lithium\data; use lithium\core\Librarie...
{ "pile_set_name": "Github" }
// (C) Copyright Dave Abrahams, Steve Cleary, Beman Dawes, Howard // Hinnant & John Maddock 2000. // Use, modification and distribution are subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt). // // See http://www.boo...
{ "pile_set_name": "Github" }
/* * Based on nios2-generic.c: * (C) Copyright 2005, Psyent Corporation <www.psyent.com> * Scott McNutt <smcnutt@psyent.com> * (C) Copyright 2010, Thomas Chou <thomas@wytron.com.tw> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <netdev.h> int board_early_init_f(void) { return 0; } int...
{ "pile_set_name": "Github" }
import { equal } from 'assert'; import curry from '../curry'; import reduce from '../reduce'; import compose from '../compose'; test('#curry', () => { const f = (a, b) => a + b; equal(curry(f)(1)(2), 3); const g = (a, b, c) => a + b + c; equal( curry(g)(1)(2, 3), 6 ); equal( curry(g)(1, 2)(3), 6 ); c...
{ "pile_set_name": "Github" }
package org.eclipse.ceylon.compiler.java.test.annotations; @.org.eclipse.ceylon.compiler.java.metadata.Ceylon( major = 8, minor = 1) @.org.eclipse.ceylon.compiler.java.metadata.Attribute @.org.eclipse.ceylon.compiler.java.metadata.Name("attr1") final class attr1_ { private attr1_() { } ...
{ "pile_set_name": "Github" }
// RUN: llvm-tblgen -gen-disassembler -I %p/../../include %s | FileCheck %s // Check that we don't generate invalid code of the form "( && Cond2)" when // emitting AssemblerPredicate conditions. In the example below, the invalid // code would be: "return ( && (Bits & arch::AssemblerCondition2));". include "llvm/Targe...
{ "pile_set_name": "Github" }
<?php /** * @link https://craftcms.com/ * @copyright Copyright (c) Pixel & Tonic, Inc. * @license https://craftcms.github.io/license/ */ namespace craft\commerce\migrations; use Craft; use craft\commerce\fields\Products; use craft\db\Migration; use craft\db\Query; use craft\helpers\Json; /** * m180319_130001_fi...
{ "pile_set_name": "Github" }
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
{ "pile_set_name": "Github" }
package bolt import ( "errors" "fmt" "hash/fnv" "log" "os" "runtime" "runtime/debug" "strings" "sync" "time" "unsafe" ) // The largest step that can be taken when remapping the mmap. const maxMmapStep = 1 << 30 // 1GB // The data file format version. const version = 2 // Represents a marker value to indi...
{ "pile_set_name": "Github" }
--- title: Companion - --- //[detekt-api](../../../index.md)/[io.gitlab.arturbosch.detekt.api.internal](../../index.md)/[YamlConfig](../index.md)/[Companion](index.md) # Companion [jvm] object [Companion](index.md) ## Functions | Name| Summary| |---|---| | [equals](index.md#kotlin/Any/equals/#kotlin....
{ "pile_set_name": "Github" }
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
{ "pile_set_name": "Github" }
#ifndef TRISYCL_SYCL_DETAIL_LINEAR_ID_HPP #define TRISYCL_SYCL_DETAIL_LINEAR_ID_HPP /** \file Compute linearized array access Ronan at Keryell point FR This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details. */ #include <cstddef> namespace trisycl::de...
{ "pile_set_name": "Github" }
var baseAt = require('../internal/baseAt'), baseFlatten = require('../internal/baseFlatten'), restParam = require('../function/restParam'); /** * Creates an array of elements corresponding to the given keys, or indexes, * of `collection`. Keys may be specified as individual arguments or as arrays * of keys....
{ "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" }
<template> <div class="movie-list-cell"> <h4>{{ $t('movie.history') }}<a href="">{{ $t('common.browseMore.seemore') }}</a></h4> <i-row> <i-col :xs="12" :sm="12" :md="8" :lg="6" v-for="movie in movies" :key="movie.id"> <div class="list"> <movie-list-item :movie="movie"></movie-lis...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef PLATFORM_DEF_H #define PLATFORM_DEF_H #include <lib/utils_def.h> #include <sgi_base_platform_def.h> #define PLAT_ARM_CLUSTER_COUNT U(4) #define CSS_SGI_MAX_CPUS_PER_CLUSTER U(1) #defi...
{ "pile_set_name": "Github" }
/* * RelativeMeanAbsoluteDeviationMT.java * Copyright (C) 2017 University of Porto, Portugal * @author J. Duarte, J. Gama * * 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...
{ "pile_set_name": "Github" }
#ifndef BOOST_ARCHIVE_DETAIL_POLYMORPHIC_OARCHIVE_ROUTE_HPP #define BOOST_ARCHIVE_DETAIL_POLYMORPHIC_OARCHIVE_ROUTE_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) # pragma once #endif /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // polymorphic_oarchive_ro...
{ "pile_set_name": "Github" }
/* * Copyright (C) 2017 Moez Bhatti <moez.bhatti@gmail.com> * * This file is part of QKSMS. * * QKSMS 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 opti...
{ "pile_set_name": "Github" }