text
stringlengths
2
99.9k
meta
dict
import os _MODEL_PATH = os.path.join('/opt/ml/', 'model') # Path where all your model(s) live in class ModelService(object): model = None @classmethod def get_model(cls): """Get the model object for this instance, loading it if it's not already loaded.""" if cls.model is None: ...
{ "pile_set_name": "Github" }
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2016-2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
{ "pile_set_name": "Github" }
#include "rose.h" int main(int argc, char** argv) { SgProject* proj = frontend(argc,argv); SgFunctionDeclaration* mainDecl = SageInterface::findMain(proj); SgFunctionDefinition* mainDef = mainDecl->get_definition(); std::vector<SgNode*> unaryOpNodes = NodeQuery::querySubTree(mainDef,V_SgUnaryOp); for (int i = 0; ...
{ "pile_set_name": "Github" }
00:00 So we have our cool little app here, we've got our 00:02 various forms, and we've got a navigation. 00:05 Let's go ahead and actually run this, 00:06 we've not run it yet. 00:08 So, what happens when you run it? 00:09 Well it actually just kicks off, I think, 00:11 a docker image on the Anvil servers. 00:13 So le...
{ "pile_set_name": "Github" }
# amdefine A module that can be used to implement AMD's define() in Node. This allows you to code to the AMD API and have the module work in node programs without requiring those other programs to use AMD. ## Usage **1)** Update your package.json to indicate amdefine as a dependency: ```javascript "dependencies...
{ "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" }
DEFINED_PHASES=compile install postinst postrm prepare unpack DEPEND=>=sys-apps/policycoreutils-2.0.82 >=sec-policy/selinux-base-policy-2.20190201-r1 sys-devel/m4 >=sys-apps/checkpolicy-2.0.21 DESCRIPTION=SELinux policy for exim EAPI=6 HOMEPAGE=https://wiki.gentoo.org/wiki/Project:SELinux KEYWORDS=amd64 -arm ~arm64 ~mi...
{ "pile_set_name": "Github" }
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkEncodedImageFormat_DEFINED #define SkEncodedImageFormat_DEFINED #include <stdint.h> /** * Enum describing format of encoded data. */ enum class SkEncodedImageFo...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wps="http://www.opengis.net/wps/1.0.0" targetNamespace="http://www.opengis.net/wps/1.0.0" elementFormDefault="unqualified" xml:lang="en" ver...
{ "pile_set_name": "Github" }
/* * Copyright 2017 Realm 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 in wr...
{ "pile_set_name": "Github" }
// // Copyright 2020 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // #ifndef ANGLE_TESTS_ANGLE_TEST_PLATFORM_H_ #define ANGLE_TESTS_ANGLE_TEST_PLATFORM_H_ #include <string> #include "util/util_gl.h" // Driver ...
{ "pile_set_name": "Github" }
var convert = require('./convert'), func = convert('zipObjectDeep', require('../zipObjectDeep')); func.placeholder = require('./placeholder'); module.exports = func;
{ "pile_set_name": "Github" }
# -*- encoding: utf-8 -*- class Razor::Command::RegisterNode < Razor::Command summary "Register a node with Razor before it is discovered" description <<-EOT In order to make brownfield deployments of Razor easier we allow users to register nodes explicitly. This command allows you to perform the same registratio...
{ "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" }
/* Simple DirectMedia Layer Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> 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. Permission is granted to anyone to use this ...
{ "pile_set_name": "Github" }
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>windows::basic_object_handle::basic_object_handle (1 of 5 overloads)</title> <link rel="stylesheet" href="../../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="h...
{ "pile_set_name": "Github" }
*** _This step doesn't require changes to the interactive environment, but feel free to explore._ *** To pass 'extra vars' to the Playbooks/Roles being run by the Operator, you can embed key-value pairs in the 'spec' section of the *Custom Resource (CR)*. This is equivalent to how [*--extra-vars*](https://docs.ansi...
{ "pile_set_name": "Github" }
// // SmartToast.h // SmartToast // // Created by Mat Schmid on 2019-02-04. // Copyright © 2019 Mat Schmid. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for SmartToast. FOUNDATION_EXPORT double SmartToastVersionNumber; //! Project version string for SmartToast. FOUNDATION_EXPORT con...
{ "pile_set_name": "Github" }
// @flow import React from 'react'; import { it, describe } from 'flow-typed-test'; import { Accuracy, ActivityType, GeofencingEventType, GeofencingRegionState, enableNetworkProviderAsync, geocodeAsync, getCurrentPositionAsync, getHeadingAsync, getProviderStatusAsync, hasServicesEnabledAsync, has...
{ "pile_set_name": "Github" }
/* *********************************************************************** * * project: org.matsim.* * MatsimResource.java * * * *********************************************************************** * * ...
{ "pile_set_name": "Github" }
// Underscore.js // (c) 2009 Jeremy Ashkenas, DocumentCloud Inc. // Underscore is freely distributable under the terms of the MIT license. // Portions of Underscore are inspired by or borrowed from Prototype.js, // Oliver Steele's Functional, and John Resig's Micro-Templating. // For all details and documentation: // ...
{ "pile_set_name": "Github" }
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ /...
{ "pile_set_name": "Github" }
/********************************************************************************* * * * The MIT License (MIT) * * ...
{ "pile_set_name": "Github" }
10 dir 1078 https://zhaowl@192.168.10.229/svn/WifiMusicPro/Android/SourceCode/ultra-pull-to-refresh/src/androidTest/java https://zhaowl@192.168.10.229/svn/WifiMusicPro 2016-07-07T09:05:14.320397Z 439 zhaowl f7554972-5f14-274d-98cb-8ab3248a4a47 cn dir
{ "pile_set_name": "Github" }
re8 re4 | la2 fa4 | sib4. la8 sib4 | sol4 la2 | re2 re'4 | la2 sib4 | fa2 fa4 | mi4 fa4 re4 | do2 do4 | do'4 la2 | sib4. la8 sol8 fa8 | mi2 fa4 | re2 re4 | do2 re4 | sib,2. | la,2. | la2 sol4 | fa2 fa4 | mi2 fa4 | sol2 do4 | do'4 si4 la4 | sold4. sold8 la4 | fa4 fa2 | mi2. | do2 do4 | re2. | mi2 mi,4 | la,2. | la4. sol...
{ "pile_set_name": "Github" }
var baseCreate = require('./baseCreate'), baseLodash = require('./baseLodash'); /** * The base constructor for creating `lodash` wrapper objects. * * @private * @param {*} value The value to wrap. * @param {boolean} [chainAll] Enable chaining for all wrapper methods. * @param {Array} [actions=[]] Actions to ...
{ "pile_set_name": "Github" }
/* ========================================================= * bootstrap-gtreetable v2.2.1-alpha * https://github.com/gilek/bootstrap-gtreetable * ========================================================= * Copyright 2014 Maciej Kłak * Licensed under MIT (https://github.com/gilek/bootstrap-gtreetable/blob/master...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">{ "Info": [ { "IsSuccess": "True", "InAddress": "雲林縣東勢鄉東南村東勢東路12號", "InSRS": "EPSG:4326", "InFuzzyType": "[單雙號機制]+[最近門牌號機制]", "InFuzzyBuffer": "0", "InIsOnlyFullMatch": "False", "InIsLock...
{ "pile_set_name": "Github" }
// Copyright 2016 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" }
#!/usr/bin/python from __future__ import print_function import numpy as np import h5py import sys data = np.loadtxt(sys.argv[1], dtype='float32') h5f = h5py.File(sys.argv[2], 'w'); h5f.create_dataset('data', data=data) h5f.close()
{ "pile_set_name": "Github" }
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, ...
{ "pile_set_name": "Github" }
/* * Infinitest, a Continuous Test Runner. * * Copyright (C) 2010-2013 * "Ben Rady" <benrady@gmail.com>, * "Rod Coffin" <rfciii@gmail.com>, * "Ryan Breidenbach" <ryan.breidenbach@gmail.com> * "David Gageot" <david@gageot.net>, et al. * * Permission is hereby granted, free of charge, to any person obtaining a c...
{ "pile_set_name": "Github" }
--- # Check if CI_COMMIT_TAG is defined (only when making a release) to disable devel repositories # that contain install dependencies release_status: '{{ True if lookup("env", "CI_COMMIT_TAG") else False }}' # set to package name to avoid installing packetfence-release # from inverse.ca websi...
{ "pile_set_name": "Github" }
# pylint: disable=expression-not-assigned,abstract-method,import-error from __future__ import unicode_literals from typing import Tuple, Text import errno from pathlib import Path from django.conf import settings from vstutils.utils import get_render, raise_context from ._base import _Base, os class Manual(_Base): ...
{ "pile_set_name": "Github" }
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
{ "pile_set_name": "Github" }
(define (script-fu-shadows-highlights image drawable shadows highlights) ; create a highlights layer (let ((highlights-layer (car (gimp-layer-copy drawable 1)))) (gimp-drawable-set-name highlights-layer "fix highlights (adjust opacity)") (gimp-image-add-layer image highlights-layer -1) ;process shadows/highlights l...
{ "pile_set_name": "Github" }
import fetch from 'node-fetch'; const METAWEATHER_API_URL = "https://www.metaweather.com/api/location/"; const getWeather = (data) => { return fetch(METAWEATHER_API_URL + data.woeid) .then(response => response.json()) }; // get woeid (where on earth id) using city name const getWoeid = (place) => { ret...
{ "pile_set_name": "Github" }
/* global window, global */ const moduleExports = require('./index'); const _global = typeof window === 'undefined' ? global : window; // @ts-ignore _global.loaders = _global.loaders || {}; // @ts-ignore module.exports = Object.assign(_global.loaders, moduleExports);
{ "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" }
/*! @file Defines `boost::hana::take_front` and `boost::hana::take_front_c`. @copyright Louis Dionne 2013-2016 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_TAKE_FRONT_HPP #define BOOST_HANA_TA...
{ "pile_set_name": "Github" }
# -*- mode: snippet -*- # name: __rtruediv__ # key: __rtruediv__ # group: Special methods # -- def __rtruediv__(self, other): return $0
{ "pile_set_name": "Github" }
#ifndef LOC_LOSS_LAYERS_HPP_ #define LOC_LOSS_LAYERS_HPP_ #include <string> #include <utility> #include <vector> #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/layer.hpp" #include "caffe/layers/loss_layer.hpp" #include "caffe/proto/caffe.pb.h" namespace caffe { /* Input: theta * Output: loss...
{ "pile_set_name": "Github" }
package com.univocity.trader.exchange.binance.futures.impl; import com.univocity.trader.exchange.binance.futures.impl.utils.JsonWrapper; @FunctionalInterface public interface RestApiJsonParser<T> { T parseJson(JsonWrapper json); }
{ "pile_set_name": "Github" }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BeeHive.Sample.FileImport.Impl.Events { public class ImportFileProcessed { public string FileId { get; set; } } }
{ "pile_set_name": "Github" }
# Send a Single Email to a Single Recipient The following code assumes you are storing the API key in an environment variable (recommended). This is the minimum code needed to send an email. ```java import com.sendgrid.*; import com.sendgrid.helpers.mail.*; public class SendGridExample { public static void main(...
{ "pile_set_name": "Github" }
QA output created by 107 === Updates should not write random data === Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=65536 wrote 65536/65536 bytes at offset 0 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) read 65528/65528 bytes at offset 196616 63.992 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) *...
{ "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")...
{ "pile_set_name": "Github" }
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sw=4 et tw=99: */ #include "tests.h" #include "jsstr.h" BEGIN_TEST(testIntString_bug515273) { jsvalRoot v(cx); EVAL("'1';", v.addr()); JSString *str = JSVAL_TO_STRING(v.value()); CHECK(JSString::isStatic(st...
{ "pile_set_name": "Github" }
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper.rb')) require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'lib', 'whiskey_disk')) integration_spec do describe 'when configured for a remote deployment' do before do setup_deployment_area end describe ...
{ "pile_set_name": "Github" }
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "pile_set_name": "Github" }
/* pkcs12.h */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ /* ==================================================================== * Copyright (c) 1999 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * m...
{ "pile_set_name": "Github" }
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (9.0.1) on Tue Oct 23 23:20:01 IST 2018 --> <title>FloatSerializer (kafka 2.0.0 API)</title> <meta http-equiv="Content-Type" content="text/html; chars...
{ "pile_set_name": "Github" }
# Backward Incompatible Changes This subdirectory consists of individual markdown files for each model, documenting the backward incompatible changes.
{ "pile_set_name": "Github" }
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
{ "pile_set_name": "Github" }
// Copyright Daniel Wallin 2005. Use, modification and distribution is // 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) #include <boost/preprocessor/cat.hpp> #include <boost/preprocessor/dec.hpp> #include <boost/preprocess...
{ "pile_set_name": "Github" }
# Format: //devtools/kokoro/config/proto/build.proto env_vars: { key: "PACKAGE" value: "google-cloud-functions" }
{ "pile_set_name": "Github" }
"use strict"; const assert = require("assert").strict; const command = require("@clusterio/lib/command"); const errors = require("@clusterio/lib/errors"); const link = require("@clusterio/lib/link"); const mock = require("../mock"); describe("lib/command", function() { let testRole = { id: 28, name: "Test Role", de...
{ "pile_set_name": "Github" }
; RUN: opt < %s -S -ipsccp | FileCheck %s ; PR5596 ; IPSCCP should propagate the 0 argument, eliminate the switch, and propagate ; the result. ; CHECK: define i32 @main() #0 { ; CHECK-NEXT: entry: ; CHECK-NOT: call ; CHECK-NEXT: ret i32 123 define i32 @main() noreturn nounwind { entry: %call2 = tail call i32 @wwri...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2002-2017 Jaakko Keränen <jaakko.keranen@iki.fi> * * 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...
{ "pile_set_name": "Github" }
/** * @copyright 2009-2019 Vanilla Forums Inc. * @license GPL-2.0-only */ import { VanillaSwaggerDeepLink } from "@library/features/swagger/VanillaSwaggerDeepLink"; import { VanillaSwaggerLayout } from "@library/features/swagger/VanillaSwaggerLayout"; export function VanillaSwaggerPlugin() { // Create the plug...
{ "pile_set_name": "Github" }
<?php namespace Laravel\Database\Query\Grammars; class MySQL extends Grammar { /** * The keyword identifier for the database system. * * @var string */ protected $wrapper = '`%s`'; }
{ "pile_set_name": "Github" }
/* Base16 Atelier Heath Dark - Theme */ /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ /* Atelier-Heath Comment */ .hljs-comment, .hljs-quote { color: #9e8f9e; } /* Atelier-He...
{ "pile_set_name": "Github" }
/** * gobandroid * by Marcus -Ligi- Bueschleb * http://ligi.de * * * 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; * * * This program is distributed in the hope that it will...
{ "pile_set_name": "Github" }
import { parseMetadata } from 'graphql-metadata' /** * Wraps `parseMetadata` to return empty object instead of undefined if no annotation is found. * * This is a compatibility function to ensure an empty object is r * returned when there is no annotationn as graphql-migrations assumes an empty object will be * re...
{ "pile_set_name": "Github" }
 Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2012 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenPrFunction", "OpenPrFunction\OpenPrFunction.csproj", "{5A6476B2-18FC-4A93-8DA9-E4A667662EC5}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common", "Common\Commo...
{ "pile_set_name": "Github" }
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script src="/benchmark/js/jquery.min.js"></script> <script type="text/javascript" src="/benchmark/js/js.cookie.js"></script> <title>Be...
{ "pile_set_name": "Github" }
export function applyCaptureIdToElement(element: Element, referenceCaptureId: string) { element.setAttribute(getCaptureIdAttributeName(referenceCaptureId), ''); } function getElementByCaptureId(referenceCaptureId: string) { const selector = `[${getCaptureIdAttributeName(referenceCaptureId)}]`; return document.qu...
{ "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 v1 import ( "encoding/json" ucfg "github.com/elastic/go-ucfg" ) // CfgO...
{ "pile_set_name": "Github" }
FROM balenalib/aarch64-ubuntu:cosmic-build LABEL io.balena.device-type="astro-tx2" RUN apt-get update && apt-get install -y --no-install-recommends \ less \ kmod \ nano \ net-tools \ ifupdown \ iputils-ping \ i2c-tools \ usbutils \ && rm -rf /var/lib/apt/lists/* RUN [ ! -d /.balena/messages ] && mkdi...
{ "pile_set_name": "Github" }
FROM golang:1.14-alpine AS build RUN apk add --no-cache git WORKDIR /src COPY go.mod go.sum ./ RUN go mod download COPY . . RUN CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' \ -o /bin/a.out ./cmd/cloudshell_open FROM gcr.io/cloudshell-images/cloudshell:latest COPY --from=build /bin/a.ou...
{ "pile_set_name": "Github" }
# Copyright 2016 The TensorFlow 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 required by applicable ...
{ "pile_set_name": "Github" }
<?xml version="1.0" ?> <!DOCTYPE msxconfig SYSTEM 'msxconfig2.dtd'> <msxconfig> <info> <manufacturer>National</manufacturer> <code>FS-1300</code> <release_year>1985</release_year> <description/> <type>MSX</type> </info> <!-- From Daniel Ravazzi's machine: CPU: Zilog PSG: GI AY-3-8910A ...
{ "pile_set_name": "Github" }
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "\u03c0.\u03bc.", "\u03bc.\u03bc." ], "DAY": [ ...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <LanguageData> <Feral.label>페럴 무리</Feral.label> <Feral.description>한계에 몰리면 많은 것을 포기해야 하는 법이지. 만약 한 문명이 몰락한다면 얼마나 많은 걸 포기해야 할까? 저들을 봐. 저들은 세상이 무너진 폐허 속에서 목숨을 부지해야만 했어. 결국 저들도 많은 걸 포기해야 했지. 기술, 문화, 역사, 그들이 쌓아올린 모든 걸. 그들이 포기한 것 중에는 말이야. 자기들의 인간성도 있었어.</Feral.description> <Fe...
{ "pile_set_name": "Github" }
// Copyright 2016 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 ignore package main // This file contains code common to gen.go and the package code. // The mapping from rune to string (i.e. offset and length in...
{ "pile_set_name": "Github" }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Http.Filters; namespace PerfIt.WebApi { public abstract class InstrumentationContextProviderBaseAttribute : ActionFilterAttribute { public override void OnAct...
{ "pile_set_name": "Github" }
/** * 登陆页 * * * @date 2017-11-07 * @author liuzheng <liuzheng712@gmail.com> */ import {Component, OnInit} from '@angular/core'; import {AppService, HttpService, LogService} from '@app/services'; import {NgForm} from '@angular/forms'; import {Router} from '@angular/router'; import {DataStore, User} from '@ap...
{ "pile_set_name": "Github" }
use v6; use Test; plan 19; =begin description Rakudo had a bug which caused failures when a regex match happened inside the body of a C<while> loop. So now we test that you can use both a regex and its result object in any kind of block, and in the condition, if any. =end description # https://github.com/Raku/ol...
{ "pile_set_name": "Github" }
const string[,] FOO = { { "00", "01", "02" }, { "10", "11", "12" }, { "20", "21", "22" } }; void main () { const string[,] BAR = { { "00", "01", "02" }, { "10", "11", "12" }, { "20", "21", "22" } }; for (int i = 0; i < FOO.length[0]; i++) { assert (FOO[i,0] == "%d%d".printf (i, 0)); assert (F...
{ "pile_set_name": "Github" }
import webpack from 'webpack' import path from 'path' import fs from 'fs' import rimraf from 'rimraf' const testBundle = name => new Promise((resolve, reject) => { const compiler = webpack({ context: __dirname, entry: { [name]: [`./${name}.js`] }, module: { loaders: [ { test: /\.j...
{ "pile_set_name": "Github" }
package ecs //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may obtain a copy of the License at // //http://www.apache.org/licenses/LICENSE-2.0 // //Unless required by applicable law or agreed to in writing, software //distribut...
{ "pile_set_name": "Github" }
#!/usr/bin/env python3 """ The Frame Viewer for Faceswap's Manual Tool. """ from ._base import View # noqa from .bounding_box import BoundingBox # noqa from .extract_box import ExtractBox # noqa from .landmarks import Landmarks, Mesh # noqa from .mask import Mask # noqa
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <!-- 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,...
{ "pile_set_name": "Github" }
# clear * set[meta header] * std[meta namespace] * set[meta class] * function[meta id-type] ```cpp void clear() noexcept; ``` ## 概要 `set` コンテナ内の全ての要素を削除する。それぞれのデストラクタが呼ばれ、コンテナから削除される。[`size()`](size.md) は 0 になる。 ## 計算量 線形時間 ## 例外 投げない ## 例 ```cpp example #include <iostream> #include <set> int main () { std::s...
{ "pile_set_name": "Github" }
// -------------------------------------------------------------------------------------------------------------------- // <summary> // Defines the Setup type. // </summary> // -------------------------------------------------------------------------------------------------------------------- namespace Awesome.Wpf {...
{ "pile_set_name": "Github" }
<!-- Description: iTunes explicit='no' Expect: not bozo and entries[0]['itunes_explicit'] is None --> <rss xmlns:itunes="http://www.itunes.com/DTDs/Podcast-1.0.dtd"> <channel> <item> <itunes:explicit>no</itunes:explicit> </item> </channel> </rss>
{ "pile_set_name": "Github" }
# SecuML # Copyright (C) 2016-2019 ANSSI # # SecuML 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. # # SecuML is distributed in the h...
{ "pile_set_name": "Github" }
fileFormatVersion: 2 guid: cf781e873d93b9f49a0a07788063c144 folderAsset: yes DefaultImporter: externalObjects: {} userData: assetBundleName: assetBundleVariant:
{ "pile_set_name": "Github" }
--TEST-- Test fprintf() function (variation - 7) --SKIPIF-- <?php $data_file = dirname(__FILE__) . '/dump.txt'; if (!($fp = fopen($data_file, 'w'))) { die('skip File dump.txt could not be created'); } if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php $int_numbers = array( 0, ...
{ "pile_set_name": "Github" }
// $Id$ /* * CraftBook Copyright (C) 2010 sk89q <http://www.sk89q.com> * * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public * License as published by the Free * Software Foundation, either version 3 of the License, or (at your option) any later vers...
{ "pile_set_name": "Github" }
// Copyright 2016 The Linux Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
{ "pile_set_name": "Github" }
### `require-readonly-react-props` This rule validates that React props are marked as $ReadOnly. React props are immutable and modifying them could lead to unexpected results. Marking prop shapes as $ReadOnly avoids these issues. The rule tries its best to work with both class and functional components. For class com...
{ "pile_set_name": "Github" }
(function() { var $ = document.querySelector.bind(document) $('#form-contact').addEventListener('submit', function(e) { e.preventDefault() // Store form field values var name = $('input[name=name]').value, email = $('input[name=email]').value, subject = $('input[name=_subject]').value,...
{ "pile_set_name": "Github" }
Render a submit button
{ "pile_set_name": "Github" }
@echo off if "%2" equ "" goto fail setlocal enabledelayedexpansion set char=%1 set num=%2 for /l %%i in (1,1,%num%) do set res=!res!%char% echo %res% :fail
{ "pile_set_name": "Github" }
/* * Copyright (c) 2016-2019, NVIDIA CORPORATION. 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 * * Unles...
{ "pile_set_name": "Github" }
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
{ "pile_set_name": "Github" }
<map id="TMC2209Stepper::semax" name="TMC2209Stepper::semax"> <area shape="rect" id="node1" title=" " alt="" coords="223,5,392,32"/> <area shape="rect" id="node2" href="$class_t_m_c2209_stepper.html#aac6c2ffdb7ef1c6045f2e80e6224e076" title=" " alt="" coords="5,5,175,32"/> </map>
{ "pile_set_name": "Github" }
/* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software donated to Berkeley by * Jan-Simon Pendry. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following co...
{ "pile_set_name": "Github" }
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-undef %s // rdar://2362963 #if FOO // ok. #endif #pragma GCC diagnostic warning "-Wundef" #if FOO // expected-warning {{'FOO' is not defined}} #endif #pragma GCC diagnostic ignored "-Wun" "def" #if FOO // ok. #endif #pragma GCC diagnostic error "-Wundef" #if...
{ "pile_set_name": "Github" }