text
stringlengths
2
99.9k
meta
dict
# defmodule Formex.TestModel.Article do # use Formex.TestModel # schema "articles" do # field :title, :string # field :content, :string # field :visible, :boolean # belongs_to :category, Formex.TestModel.Category # belongs_to :user, Formex.TestModel.User # many_to_many :tags, Formex.TestM...
{ "pile_set_name": "Github" }
// RUN: %clang_cc1 -fsyntax-only -verify %s int *test1(int *a) { return a + 1; } int *test2(int *a) { return 1 + a; } int *test3(int *a) { return a - 1; } int test4(int *a, int *b) { return a - b; } int test5(int *a, int *b) { return a + b; } /* expected-error {{invalid operands}} */ int *te...
{ "pile_set_name": "Github" }
0.425461 0.480862 0.370231 0.707252 0.426560 0.066426 0.389576 0.232102 0.659756 0.711298 0.306533 0.605793 0.187053 0.287646 0.722218 0.730151 0.499054 0.953490 0.750834 0.865479 0.876550 0.785169 0.896556 0.564851 0.925648 0.167638 0.521776 0.535425 0.435424 0.131203 0.042398 0.439611 0.331822 0.969520 0.262682 0....
{ "pile_set_name": "Github" }
// KeePassium Password Manager // Copyright © 2018–2019 Andrei Popleteev <info@keepassium.com> // // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU General Public License version 3 as published // by the Free Software Foundation: https://www.gnu.org/licenses/...
{ "pile_set_name": "Github" }
/* Package servers provides information and interaction with the server API resource in the OpenStack Compute service. A server is a virtual machine instance in the compute system. In order for one to be provisioned, a valid flavor and image are required. Example to List Servers listOpts := servers.ListOpts{ AllT...
{ "pile_set_name": "Github" }
TYPE='swap'
{ "pile_set_name": "Github" }
--- layout: page title: "Q35883: Public Labels Are Prefixed with Underscore Incorrectly" permalink: /pubs/pc/reference/microsoft/kb/Q35883/ --- ## Q35883: Public Labels Are Prefixed with Underscore Incorrectly Article: Q35883 Version(s): 5.10 | 5.10 Operating System: MS-DOS | OS/2 Flags: ENDUSER | buglist5.10 ...
{ "pile_set_name": "Github" }
## I18N example How to support multiple languages in your web app based on [Fluent][url_project_fluent]. Includes a language selector, some sample text and [FTL strings][url_ftl_syntax_guide] demonstrating the simplicity and power of [Seed][url_project_seed] powered by [Fluent's Rust crate][url_crate_fluent]. [url...
{ "pile_set_name": "Github" }
/* File: axi_slave_addrch.v This file is part of the Parallella FPGA Reference Design. Copyright (C) 2013 Adapteva, Inc. Contributed by Roman Trogan <support@adapteva.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
{ "pile_set_name": "Github" }
TARGETTYPE=LIBRARY TARGETNAME=getopt 386_STDCALL=0 _NT_TARGET_VERSION= $(_NT_TARGET_VERSION_WINXP) !IFNDEF MSC_WARNING_LEVEL MSC_WARNING_LEVEL=/W3 !ENDIF USE_MSVCRT=1 INCLUDES=$(DDK_INC_PATH) C_DEFINES = $(C_DEFINES) /DDDKBUILD /DHAVE_STRING_H TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \ $(SDK_LIB_PATH)\us...
{ "pile_set_name": "Github" }
/** * Return an ETag in the form of `"<size>-<mtime>"` * from the given `stat`. * * @param {Object} stat * @return {String} * @api private */ exports.etag = function(stat) { return '"' + stat.size + '-' + Number(stat.mtime) + '"'; }; /** * decodeURIComponent. * * Allows V8 to only deoptimize this fn inst...
{ "pile_set_name": "Github" }
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <objc/NSObject.h> __attribute__((visibility("hidden"))) @interface OAVColor : NSObject { } + (id)readColorFromAttribute:(id)a...
{ "pile_set_name": "Github" }
#!/bin/bash # This example script retrieves the DHCP state of a given interface. # In the interest of keeping the KVP daemon code free of distro specific # information; the kvp daemon code invokes this external script to gather # DHCP setting for the specific interface. # # Input: Name of the interface # # Output: The...
{ "pile_set_name": "Github" }
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
{ "pile_set_name": "Github" }
// moment.js language configuration // language : malayalam (ml) // author : Floyd Pink : https://github.com/floydpink (function (factory) { if (typeof define === 'function' && define.amd) { define(['moment'], factory); // AMD } else if (typeof exports === 'object') { module.exports = factory(r...
{ "pile_set_name": "Github" }
<!doctype html> <head> <!-- jQuery packaging changed for 2.1.0, so try to load both paths, one will work. --> <script src="../../bower_components/jquery/dist/jquery.js"></script> <script src="../../bower_components/jquery/jquery.js"></script> <script src="../../bower_components/raphael/raphael-min.js"></script>...
{ "pile_set_name": "Github" }
from __future__ import absolute_import from __future__ import unicode_literals import subprocess import testify as T from test.test_case_test import RegexMatcher from testify import exit def cmd_output(*cmd, **kwargs): proc = subprocess.Popen( cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, **kwarg...
{ "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 linux // +build ppc64 ppc64le // +build !gccgo #include "textflag.h" // // System calls for ppc64, Linux // // Just jump to package syscall's imple...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2008-2009 Atheros Communications Inc. * * Modified for iPXE by Scott K Logan <logans@cottsay.net> July 2011 * Original from Linux kernel 3.0.1 * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above ...
{ "pile_set_name": "Github" }
#ifndef __MATROXFB_TI3026_H__ #define __MATROXFB_TI3026_H__ #include "matroxfb_base.h" #ifdef CONFIG_FB_MATROX_MILLENIUM extern struct matrox_switch matrox_millennium; #endif #endif /* __MATROXFB_TI3026_H__ */
{ "pile_set_name": "Github" }
#ifndef COOLFluiD_Numerics_SubSystemCoupler_FluidSolidHeatPostVariableTransformerFVMCC_hh #define COOLFluiD_Numerics_SubSystemCoupler_FluidSolidHeatPostVariableTransformerFVMCC_hh ////////////////////////////////////////////////////////////////////// #include "PostVariableTransformer.hh" ////////////////////////////...
{ "pile_set_name": "Github" }
use crate::prelude::*; use crate::qs::utils::*; pub(crate) fn rect(vm: &mut VirtualMachine, args: PyFuncArgs) -> PyResult { arg_check!( vm, args, required = [(loc, None)]); let transform = args.kwargs.get("transform").map(|t| get_tranform_arg(t)).unwrap_or(Transform::IDENTITY); let z = args.kwargs.get("z"...
{ "pile_set_name": "Github" }
'use strict'; var util = require('util'); var Transform = require('stream').Transform; function ctor(options, transform) { util.inherits(FirstChunk, Transform); if (typeof options === 'function') { transform = options; options = {}; } if (typeof transform !== 'function') { throw new Error('transform functi...
{ "pile_set_name": "Github" }
// // ts/io_context.hpp // ~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2018 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 ASIO_TS_IO_CONTEXT_HPP #d...
{ "pile_set_name": "Github" }
// +build !linux /* Copyright 2016 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 agre...
{ "pile_set_name": "Github" }
// Copyright 2017 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 arm,openbsd package unix func setTimespec(sec, nsec int64) Timespec { return Timespec{Sec: sec, Nsec: int32(nsec)} } func setTimeval(sec, usec int...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
{ "pile_set_name": "Github" }
title: 'SA14-030.commits.commit_all_modified'
{ "pile_set_name": "Github" }
etcd: image: vimagick/etcd-arm command: | -name pi2 -data-dir=/var/lib/etcd -listen-client-urls http://0.0.0.0:2379 -advertise-client-urls http://192.168.1.229:2379 -listen-peer-urls http://0.0.0.0:2380 -initial-advertise-peer-urls http://192.168.1.229:2380 -initial-cluster-token pi-clus...
{ "pile_set_name": "Github" }
def runState[S, A]: State[S, A] => S => (A, S) = { case State(f) => s => f(s) }
{ "pile_set_name": "Github" }
--- github: rjaus email: rj@rileyjames.co city: Melbourne country: AU region: Carlton name: Riley James --- Wifi + 25Mbps internet (NBN: http://www.nbnco.com.au/) Great area, near city. Can lend you a bike, and it's near a tram stop.
{ "pile_set_name": "Github" }
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Source EULA. See License.txt in the project root for license information. *---------------------------------------------------------------...
{ "pile_set_name": "Github" }
package com.baomidou.mybatisplus.test.h2.issues.genericid; import com.baomidou.mybatisplus.core.MybatisConfiguration; import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor; import com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean; import org.apache.ibatis.session.ExecutorType; im...
{ "pile_set_name": "Github" }
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\CatalogRule\Setup\Patch\Data; use Magento\Framework\Setup\ModuleDataSetupInterface; use Magento\Framework\Setup\Patch\DataPatchInterface; use Magento\Framework\Setup\Patch\PatchVersionInterface; ...
{ "pile_set_name": "Github" }
{ "multipart": [ { "when": { "up": "true" }, "apply": { "model": "techreborn:block/storage/titanium_storage_block_wall_post" } }, { "when": { "north": "low" }, "apply": { "model": "techreborn:block/storage/titanium_storage_block_wall_side", "uvlock": true } }, { "when": { "...
{ "pile_set_name": "Github" }
package org.zstack.sdk; import java.util.HashMap; import java.util.Map; import org.zstack.sdk.*; public class DetachPolicyFromUserGroupAction extends AbstractAction { private static final HashMap<String, Parameter> parameterMap = new HashMap<>(); private static final HashMap<String, Parameter> nonAPIParamet...
{ "pile_set_name": "Github" }
open module soat.vending.machine.gui { requires java.desktopa ; requires soat.vending.machine.model; requires transitive soat.core; exports fr.soat.vending.machine.model to another , again, ano; exports fr.soat.vending.machine.model.it.should.be.breaking.but.only.a.part to another , again, ano; expor...
{ "pile_set_name": "Github" }
import React from 'react'; import { styles } from '../helpers'; import { TextInput } from 'react-native'; export default function SecureTextEntry() { return ( <TextInput defaultValue="abc" numberOfLines={2} secureTextEntry={true} style={styles.textinput} /> ); }
{ "pile_set_name": "Github" }
import { PivotCommon } from '../base/pivot-common'; import * as events from '../../common/base/constant'; import { IFieldOptions, IField } from '../../base/engine'; import { SummaryTypes } from '../../base/types'; import { FieldDroppedEventArgs, FieldDropEventArgs } from '../base/interface'; import { OlapEngine, IOlapF...
{ "pile_set_name": "Github" }
/** * A high-level abstraction layer for codebases, classes, and components of * classes (methods, fields, instructions, etc.). The idea is to decouple * FindBugs as much as possible from any particular bytecode framework (BCEL, * ASM, etc.) * * Implementations of these interfaces may be found in the * edu.umd.c...
{ "pile_set_name": "Github" }
# DO NOT EDIT THIS FILE AS IT WILL BE OVERRIDEN DURING TRANSLATION SYNC # IF YOU WOULD LIKE TO HELP COUNTLY TO BE TRANSLATED INTO YOUR LANGUAGE # PLEASE VISIT https://www.transifex.com/osoner/countly #dbviewer dbviewer.title = DB Viewer dbviewer.description = Provides REST API and Web interface to browse Countly data...
{ "pile_set_name": "Github" }
// Copyright 2018, OpenCensus 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 agree...
{ "pile_set_name": "Github" }
# $Id: __init__.py 3375 2008-02-13 08:05:08Z fredrik $ # elementtree package # -------------------------------------------------------------------- # The ElementTree toolkit is # # Copyright (c) 1999-2008 by Fredrik Lundh # # By obtaining, using, and/or copying this software and/or its # associated documentation, you ...
{ "pile_set_name": "Github" }
void foobar() { switch (1) { default: foobar(); case 1: break; } }
{ "pile_set_name": "Github" }
# # MLDB-1788_select_col_as_star_err.py # Francois-Michel L'Heureux, 2016-09-30 # This file is part of MLDB. Copyright 2016 mldb.ai inc. All rights reserved. # import unittest from mldb import mldb, MldbUnitTest, ResponseException class Mldb1788SelectColAsStarErr(MldbUnitTest): # noqa @classmethod def setUp...
{ "pile_set_name": "Github" }
.scroll-view_H{ white-space:nowrap; width: 100%; background-color: rgba(255, 255, 255, 0.7); } .banner-scroll{ margin-top:2px; } .banner-scroll repeat{ margin-bottom:10px; } .nav-name{ display:inline-block; margin:0 5px; font-size:16px; color: #2b2e33; border-bottom: 2px solid...
{ "pile_set_name": "Github" }
#!/usr/bin/env bash # 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 # "Lic...
{ "pile_set_name": "Github" }
# -*- coding: utf-8 -*- """ flask.signals ~~~~~~~~~~~~~ Implements signals based on blinker if available, otherwise falls silently back to a noop :copyright: (c) 2011 by Armin Ronacher. :license: BSD, see LICENSE for more details. """ signals_available = False try: from blinker import Name...
{ "pile_set_name": "Github" }
/* * Copyright 2012 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 i...
{ "pile_set_name": "Github" }
<?php /* * EXAMPLE: Error Handling * * Shows an example of a custom error handling class which * converts parsing/rendering exceptions to more friendly * error messages. */ require __DIR__ . '/include/view_init.php'; // Switch the error handler to the "TolerantErrorHandler" which basically turns // errors whic...
{ "pile_set_name": "Github" }
<?php namespace Symfony\Component\Debug\Tests\Fixtures; class ToStringThrower { private $exception; public function __construct(\Exception $e) { $this->exception = $e; } public function __toString() { try { throw $this->exception; } catch (\Exception $e) {...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2015, Freescale Semiconductor, Inc. * Copyright 2016-2019 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include "fsl_flexio_i2s_edma.h" /* Component ID definition, used by tools. */ #ifndef FSL_COMPONENT_ID #define FSL_COMPONENT_ID "platform.drivers.flexio_i2s_edma"...
{ "pile_set_name": "Github" }
// // 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" }
/* * JBoss, Home of Professional Open Source * Copyright 2010, Red Hat Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the t...
{ "pile_set_name": "Github" }
/* Benjamin DELPY `gentilkiwi` http://blog.gentilkiwi.com benjamin@gentilkiwi.com Licence : https://creativecommons.org/licenses/by/4.0/ Samba module for CVE-2017-7494 ( https://www.samba.org/samba/security/CVE-2017-7494.html ) cc -m32 -shared -o lib_smb_pipe_x86.so -fPIC lib_smb_pipe.c cc -m64 -shared -o lib_s...
{ "pile_set_name": "Github" }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <script type="text/javascript" src="../internal.js"></script> <style type="text/css"> h...
{ "pile_set_name": "Github" }
%YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!21 &2100000 Material: serializedVersion: 6 m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 0} m_Name: RobotoLightMultiplyDouble m_Shader: {fileID: 4800000, guid: a341e5901a10a4ab2b8043aac6ff3b92, type: 3} m_ShaderKeywords: ...
{ "pile_set_name": "Github" }
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'toolbar', 'mn', { toolbarCollapse: 'Collapse Toolbar', // MISSING toolbarExpand: 'Expand Toolbar', // MISSING toolbarGroups: { document: 'Documen...
{ "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" }
/* IMPORTANT! This file is auto-generated each time you save your project - if you alter its contents, your changes may be overwritten! */ #include "AppConfig.h" #include <juce_audio_plugin_client/juce_audio_plugin_client_VST_utils.mm>
{ "pile_set_name": "Github" }
// by tauren // https://github.com/Modernizr/Modernizr/issues/191 Modernizr.addTest('cookies', function () { // Quick test if browser has cookieEnabled host property if (navigator.cookieEnabled) return true; // Create cookie document.cookie = "cookietest=1"; var ret = document.cookie.indexOf("cookietest=") ...
{ "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" }
## Oh-my-zsh - Fancy your Terminal We will use the shell named `zsh` instead of `bash`, the default one. ```bash # it will ask for your session password sudo apt install -y zsh curl vim nodejs imagemagick jq ``` ```bash sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install....
{ "pile_set_name": "Github" }
@echo off REM Windows script for running unit tests REM You have to run server and capture some browser first REM REM Requirements: REM - NodeJS (http://nodejs.org/) REM - Karma (npm install -g karma) set BASE_DIR=%~dp0 karma start "%BASE_DIR%\..\config\karma.conf.js" %*
{ "pile_set_name": "Github" }
/* -*- linux-c -*- drbd_receiver.c This file is part of DRBD by Philipp Reisner and Lars Ellenberg. Copyright (C) 2001-2008, LINBIT Information Technologies GmbH. Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. ...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright 2019 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 ~ ...
{ "pile_set_name": "Github" }
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
{ "pile_set_name": "Github" }
// 正規表現リテラルはロード時にパターンが評価され、例外が発生する function main() { // `[`は対となる`]`を組み合わせる特殊文字であるため、単独で書けない const invalidPattern = /[/; } // `main`関数を呼び出さなくても例外が発生する
{ "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. package hpack import ( "fmt" ) // headerFieldTable implements a list of HeaderFields. // This is used to implement the static and dynamic tables. type header...
{ "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" }
Scripts for Airline Delay dataset
{ "pile_set_name": "Github" }
{ "images" : [ { "idiom" : "universal", "filename" : "loading_2.png", "scale" : "1x" }, { "idiom" : "universal", "scale" : "2x" }, { "idiom" : "universal", "scale" : "3x" } ], "info" : { "version" : 1, "author" : "xcode" } }
{ "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" }
Given two Maidenhead locators, calculates distance (qrb) and azimuth.
{ "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" }
--- description: "Extended Static Geometry Methods" title: "Extended Static Geometry Methods | Microsoft Docs" ms.custom: "" ms.date: "03/14/2017" ms.prod: sql ms.prod_service: "database-engine, sql-database" ms.reviewer: "" ms.technology: t-sql ms.topic: "language-reference" dev_langs: - "TSQL" helpview...
{ "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" }
#!/usr/bin/env ruby # Encoding: utf-8 # # Copyright:: Copyright 2016, Google Inc. All Rights Reserved. # # License:: 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 # # ...
{ "pile_set_name": "Github" }
{ "name": "University of Plymouth", "displayName": "University of Plymouth", "properties": [ "plymouth.ac.uk" ] }
{ "pile_set_name": "Github" }
<div class="container"> <div class="row"> <div class="col s12 m9 l10"> <!-- Valign Section--> <div id="valign" class="section scrollspy"> <h2 class="header">Alignment</h2> <p class="caption">We have easy to use classes to help you align your content.</p> <h5 class="light">V...
{ "pile_set_name": "Github" }
--- layout: front permalink: /hu/ lang: hu interspanlink: /en/coordination/humanitarian advspanlink: "https://github.com/hotosm/learnosm/wiki/English-Learning-Guides/" fronttitle: "Az OpenStreetMap egy szabad, utcaszintű világtérkép, amelyet egy egyre növekvő térképészközösség készít." frontintro: "Az OpenStreetMapet b...
{ "pile_set_name": "Github" }
/* * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software * Foundation. * * You should have received a copy of the GNU Lesser General Public License along with this * program; if not, you c...
{ "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" }
Imports Param_RootNamespace.Views Imports Microsoft.Toolkit.Uwp.Helpers Imports Windows.ApplicationModel.Core Imports Windows.UI.Core Namespace Services Public NotInheritable Class FirstRunDisplayService Shared shown As Boolean = False Private Sub New() End Sub Fr...
{ "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" }
/* * Copyright 2009-2010 WSO2, Inc. http://wso2.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 law or agr...
{ "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" }
// RUN: llvm-mc -triple aarch64-elf -filetype=obj %s -o - | llvm-objdump -d -r - | FileCheck %s .macro do_add sz add v0.\sz, v0.\sz, v0.\sz .endm do_add 8h // CHECK: add v0.8h, v0.8h, v0.8h
{ "pile_set_name": "Github" }
/// /// Multiverse by HTML5 UP /// html5up.net | @n33co /// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) /// /* Panel */ .panel { @include padding(4em, 4em); @include vendor('transform', 'translateY(100vh)'); @include vendor('transition', 'transform #{_duration(panel)} e...
{ "pile_set_name": "Github" }
<?xml version="1.0"?> <simulation> <project id="qmc_short_kspace_4_4" series="0"> <application name="qmcapp" role="molecu" class="serial" version="1.0"/> </project> <qmcsystem> <simulationcell> <parameter name="lattice" units="bohr"> 3.37316115 3.37316115 0....
{ "pile_set_name": "Github" }