text
stringlengths
2
99.9k
meta
dict
/* * Copyright (c) 1997, 2019, 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" }
# [1573. Number of Ways to Split a String](https://leetcode.com/problems/number-of-ways-to-split-a-string) [中文文档](/solution/1500-1599/1573.Number%20of%20Ways%20to%20Split%20a%20String/README.md) ## Description <p>Given a binary string <code>s</code> (a string consisting only of &#39;0&#39;s and &#39;1&#39;s),&nbsp;w...
{ "pile_set_name": "Github" }
<!-- Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0, which is available at http://www.eclipse.org/legal/epl-2.0. This Source Code may also be made avail...
{ "pile_set_name": "Github" }
#define PROGRAM toascii #define MODULE_LIST toascii.f #define MAIN_LANG_FORTRAN #define R3LIB #define USES_FORTRAN #define LIB_RTL #define LIB_TAE #define LIB_P2SUB #define LIB_P3SUB
{ "pile_set_name": "Github" }
-----BEGIN RSA PRIVATE KEY----- MIIEowIBAAKCAQEAjamvEMqBJVKlMkjk7r5N7A9sHU1/HcGTiczIdXpk5Xa6PJtd UZ9E/IEerfm85lfnsKUWxGx8vrSk0QC7376Dqa9MGRf74mOgjCYhLAMb2DDDxiLb mHySjXYgLi+n/Il9g5RpxDbbg4P2Un2FJXxxWTruhFQvB1N+nsTyDxmtA6SL5T/h tbSwTdQzC7Cvk2D8EArnOBYZrjpsMIXtGa6FrvZ7odXo6DMQ4FM0WNGsK1GnuiYt adUq3i36o1knlx1K6YLhQmJDec8Y...
{ "pile_set_name": "Github" }
# created by tools/tclZIC.tcl - do not edit set TZData(:America/Monterrey) { {-9223372036854775808 -24076 0 LMT} {-1514743200 -21600 0 CST} {568015200 -21600 0 CST} {576057600 -18000 1 CDT} {594198000 -21600 0 CST} {599637600 -21600 0 CST} {828864000 -18000 1 CDT} {846399600 -21600 0 CS...
{ "pile_set_name": "Github" }
.. index:: single: Installing and Setting up Symfony Installing & Setting up the Symfony Framework ============================================= .. admonition:: Screencast :class: screencast Do you prefer video tutorials? Check out the `Stellar Development with Symfony`_ screencast series. .. _symfon...
{ "pile_set_name": "Github" }
FROM nvidia/cuda:8.0-cudnn6-devel-ubuntu14.04 MAINTAINER Jan Prach <jendap@google.com> # In the Ubuntu 14.04 images, cudnn is placed in system paths. Move them to # /usr/local/cuda RUN cp -P /usr/include/cudnn.h /usr/local/cuda/include RUN cp -P /usr/lib/x86_64-linux-gnu/libcudnn* /usr/local/cuda/lib64 # Copy and ru...
{ "pile_set_name": "Github" }
// Copyright 2009,2010 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. // OpenBSD system calls. // This file is compiled as ordinary Go code, // but it is also input to mksyscall, // which parses the //sys lines and generates ...
{ "pile_set_name": "Github" }
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #pragma once namespace Servi...
{ "pile_set_name": "Github" }
--- title: "List groupLifecyclePolicies" description: "Retrieves a list of groupLifecyclePolicy objects to which a group belongs." author: "yyuank" localization_priority: Normal ms.prod: "groups" doc_type: apiPageType --- # List groupLifecyclePolicies Namespace: microsoft.graph [!INCLUDE [beta-disclaimer](../../incl...
{ "pile_set_name": "Github" }
/* origin: FreeBSD /usr/src/lib/msun/src/k_cosf.c */ /* * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. * Debugged and optimized by Bruce D. Evans. */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Devel...
{ "pile_set_name": "Github" }
(ns playphraseme.api.route-functions.user.modify-user (:require [playphraseme.api.queries.user.registered-user :as users] [buddy.hashers :as hashers] [ring.util.http-response :as respond])) (defn modify-user "Update user info (`:email`/`:name`/`:password`)" [current-user-info name passwor...
{ "pile_set_name": "Github" }
/* * This is the source code of Telegram for Android v. 5.x.x * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2018. */ package org.telegram.ui.Cells; import android.content.Context; import android....
{ "pile_set_name": "Github" }
namespace Blog.Data.Models { using System.Collections.Generic; using Microsoft.AspNetCore.Identity; public class User : IdentityUser { public List<Article> Articles { get; set; } = new List<Article>(); } }
{ "pile_set_name": "Github" }
<?php namespace Hamcrest\Core; /* Copyright (c) 2009 hamcrest.org */ use Hamcrest\BaseMatcher; use Hamcrest\Description; use Hamcrest\Matcher; /** * Provides a custom description to another matcher. */ class DescribedAs extends BaseMatcher { private $_descriptionTemplate; private $_matcher; private $...
{ "pile_set_name": "Github" }
<!-- Copyright (c) 1998, 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 Software Foundat...
{ "pile_set_name": "Github" }
/* * Copyright 2011-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
{ "pile_set_name": "Github" }
e8b6ecb5d15c4c4018a62b52aabc13e41b17df8f
{ "pile_set_name": "Github" }
/* Copyright 2019 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 law or a...
{ "pile_set_name": "Github" }
Many lines of numbers and words 0000 foo 1111 foo 0000 bar 2222 foo bar 0000 foo 1111 foo 0000 bar 2222 foo bar foo 2444 foo blah 1234 2444 111 1111 bar foo 2444 foo blah 1234 2444 111 1111 bar 0000 foo 1111 foo 0000 bar 2222 foo bar 0000 foo 1111 foo 0000 bar 2222 foo bar foo 2444 foo blah 1234 2444 111 1111 bar...
{ "pile_set_name": "Github" }
{ "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2008-4559", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { ...
{ "pile_set_name": "Github" }
#import <Foundation/Foundation.h> #import "DDLog.h" /** * Welcome to Cocoa Lumberjack! * * The project page has a wealth of documentation if you have any questions. * https://github.com/CocoaLumberjack/CocoaLumberjack * * If you're new to the project you may wish to read the "Getting Started" page. * https://gi...
{ "pile_set_name": "Github" }
// Copyright 2015 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package vsphere_test import ( "context" "fmt" "io/ioutil" "net/url" "path" "time" "github.com/golang/mock/gomock" "github.com/juju/errors" "github.com/juju/names/v4" "github.com/juju/testing" jc "github.com/juju/t...
{ "pile_set_name": "Github" }
import state from './state' import * as type from './type.js' import { MessageBox } from 'mint-ui'; import axios from 'axios' const matutaions={ [type.SET_XZADDRESS](state,data){ state.xzAddess.push(data) // localStorage.setItem("xzAddess",JSON.stringify(state.xzAddess)); }, //数量...
{ "pile_set_name": "Github" }
<%= component_fields_for @record do |f| %> <div class="label"> <%= f.label field %> <div class="field_error"> <%= @record.errors[field.name.to_sym].first %> </div> </div> <%= f.text_area field, field.input_options %> <% end %>
{ "pile_set_name": "Github" }
/* * $Id: amijoy.c,v 1.13 2002/01/22 20:26:32 vojtech Exp $ * * Copyright (c) 1998-2001 Vojtech Pavlik */ /* * Driver for Amiga joysticks for Linux/m68k */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the F...
{ "pile_set_name": "Github" }
ATTRIBUTE_TYPE ( 1.3.6.1.4.1.4203.666.1.7 NAME 'entryCSN' DESC change sequence number of the entry EQUALITY csnMatch ORDERING csnOrderingMatch SYNTAX 1.3.6.1.4.1.4203.666.11.2.1 SINGLE-VALUE NO-USER-MODIFICATION USAGE directoryOperation )
{ "pile_set_name": "Github" }
<!DOCTYPE html> <html> <head> <title>cannon.js - pile demo</title> <meta charset="utf-8"> <link rel="stylesheet" href="css/style.css" type="text/css"/> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> </head> <body> <script src="../build/can...
{ "pile_set_name": "Github" }
/*--------------------------------------------------------*\ | | | hprose | | | | Official WebSite: https://hprose.com | | ...
{ "pile_set_name": "Github" }
'use strict'; require('../common'); // Verify connection with explicitly created client SecureContext. const fixtures = require('../common/fixtures'); const { assert, connect, keys, tls } = require(fixtures.path('tls-connect')); connect({ client: { servername: 'agent1', secureContext: tls.createSecureCon...
{ "pile_set_name": "Github" }
// Copyright 2013 Matt T. Proud // // 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" }
# pyOCD debugger # Copyright (c) 2017 NXP # Copyright (c) 2018 Arm Limited # SPDX-License-Identifier: Apache-2.0 # # 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/...
{ "pile_set_name": "Github" }
const { assert, skip, test, module: describe, only } = require('qunit'); const { GPU } = require('../../src'); describe('feature: bitwise operators'); function testBooleanFromExpression(mode) { const gpu = new GPU({ mode }); const kernel = gpu.createKernel(function() { const result = 1 === 1 && 2 === 2; r...
{ "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" }
/** * Copyright 2006 StartNet s.r.o. * * Distributed under MIT license */ package cz.startnet.utils.pgdiff.parsers; import cz.startnet.utils.pgdiff.Resources; import cz.startnet.utils.pgdiff.schema.PgColumn; import cz.startnet.utils.pgdiff.schema.PgDatabase; import cz.startnet.utils.pgdiff.schema.PgSchema; import ...
{ "pile_set_name": "Github" }
/* -------------------------------------------------------------- */ /* (C)Copyright 2006,2008, */ /* International Business Machines Corporation */ /* All Rights Reserved. */ /* ...
{ "pile_set_name": "Github" }
Lets sing! ♫♪♬♩ Eat food 🍅🍕
{ "pile_set_name": "Github" }
# New Rules ESLint is all about rules. For most of the project's lifetime, we've had over 200 rules, and that list continues to grow. However, we can't just accept any proposed rule because all rules need to work cohesively together. As such, we have some guidelines around which rules can be part of the ESLint core an...
{ "pile_set_name": "Github" }
/* * linux/mm/oom_kill.c * * Copyright (C) 1998,2000 Rik van Riel * Thanks go out to Claus Fischer for some serious inspiration and * for goading me into coding this file... * Copyright (C) 2010 Google, Inc. * Rewritten by David Rientjes * * The routines in this file are used to kill a process when *...
{ "pile_set_name": "Github" }
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <objc/NSObject.h> @interface QBWupEncrypt : NSObject { } + (id)sharedInstance; - (id)encryptAESKeyWithRSA1024:(id)arg1; - (id...
{ "pile_set_name": "Github" }
var class_reddit_1_1_inputs_1_1_users_1_1_users_set_permissions_input = [ [ "UsersSetPermissionsInput", "class_reddit_1_1_inputs_1_1_users_1_1_users_set_permissions_input.html#a1a93894f8e43a6b49dadc13dc2928411", null ], [ "name", "class_reddit_1_1_inputs_1_1_users_1_1_users_set_permissions_input.html#af0fd48aa8...
{ "pile_set_name": "Github" }
var searchData= [ ['activesessionexists',['activeSessionExists',['../interface_flurry.html#a90a2dfc96d12fb3b7990e2ff1c6e0da6',1,'Flurry']]], ['add_3avalue_3a',['add:value:',['../interface_flurry_user_properties.html#a55829d6bb6782243677e6b3c003fef70',1,'FlurryUserProperties']]], ['add_3avalues_3a',['add:values:',...
{ "pile_set_name": "Github" }
var result = ""; o = { valueOf:function(){ throw "cow" } }; try { String.fromCharCode(o); } catch (e) { result = e.toString(); } assertEq(result, "cow");
{ "pile_set_name": "Github" }
// // NSString+RACSequenceAdditions.h // ReactiveCocoa // // Created by Justin Spahr-Summers on 2012-10-29. // Copyright (c) 2012 GitHub. All rights reserved. // #import <Foundation/Foundation.h> @class RACSequence; @interface NSString (RACSequenceAdditions) /// Creates and returns a sequence containing strings...
{ "pile_set_name": "Github" }
const fs = require('fs'); const path = require('path'); const validate = require('./helpers/validate'); const onHeadersListener = require('./helpers/on-headers-listener'); const socketIoInit = require('./helpers/socket-io-init'); // hapi.js plugin register function const middlewareWrapper = (server, options) => { co...
{ "pile_set_name": "Github" }
from glob import glob import os pkgs = os.path.join(os.environ["ROOT"], "pkgs") pkg_dir = glob(os.path.join(pkgs, "conda-build-test-ignore-prefix-files-1.0-0"))[0] info_dir = os.path.join(pkg_dir, 'info') assert os.path.isdir(info_dir) assert not os.path.isfile(os.path.join(info_dir, "has_prefix"))
{ "pile_set_name": "Github" }
############################################################################# # Tables adapted from the Xotl FACTION ASSIGNMENT & RARITY TABLES # # Original tables can be found here: # # http://www.classicbattletech.com/forums/index.php/topic,1219.0.html # # As n...
{ "pile_set_name": "Github" }
package metro import "encoding/binary" func rotate_right(v uint64, k uint) uint64 { return (v >> k) | (v << (64 - k)) } func Hash128(buffer []byte, seed uint64) (uint64, uint64) { const ( k0 = 0xC83A91E1 k1 = 0x8648DBDB k2 = 0x7BDEC03B k3 = 0x2F5870A5 ) ptr := buffer var v [4]uint64 v[0] = (seed - ...
{ "pile_set_name": "Github" }
package mapstructure import ( "errors" "reflect" "strconv" "strings" "time" ) // typedDecodeHook takes a raw DecodeHookFunc (an interface{}) and turns // it into the proper DecodeHookFunc type, such as DecodeHookFuncType. func typedDecodeHook(h DecodeHookFunc) DecodeHookFunc { // Create variables here so we can...
{ "pile_set_name": "Github" }
// TrafficMonitorDlg.h : 头文件 // #pragma once #pragma comment (lib, "iphlpapi.lib") #include "NetworkInfoDlg.h" #include "afxwin.h" #include "StaticEx.h" #include "Common.h" #include "TaskBarDlg.h" #include "SkinDlg.h" #include "HistoryTrafficDlg.h" #include "OptionsDlg.h" #include "PictureStatic.h" #include "IconSel...
{ "pile_set_name": "Github" }
# 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 # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
{ "pile_set_name": "Github" }
// RUN: %clang_cc1 -triple=x86_64-apple-darwin10 -emit-llvm %s -o - |FileCheck %s struct A { A(); ~A(); }; A a; A as[2]; struct B { B(); ~B(); int f(); }; int i = B().f(); // CHECK: "__TEXT,__StaticInit,regular,pure_instructions" { // CHECK: "__TEXT,__StaticInit,regular,pure_instructions" { // CHECK: "__...
{ "pile_set_name": "Github" }
#pragma once #include <iostream> // #include "fmt/format.h" class Object { public: ///width of the object int width; /// heigh of the object int heigh; /// depth of the object int depth; private: int surface; int volume; public: void setSurface( int a, int b ); void setVolume(...
{ "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/not_equal_to.hpp" header // -- DO NOT modify by hand! namespace boost { nam...
{ "pile_set_name": "Github" }
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import <Cocoa/Cocoa.h> #include "apps/app_window_registry.h" #include "base/command_line.h" #include "base/mac/scoped_nsobject.h" #include "base/pre...
{ "pile_set_name": "Github" }
enum GFLoaderType { android, ios, square, circle, custom, }
{ "pile_set_name": "Github" }
// Copyright (C) 2017 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 t...
{ "pile_set_name": "Github" }
package com.direwolf20.buildinggadgets.common.containers; import net.minecraft.entity.player.PlayerInventory; import net.minecraft.inventory.container.Container; import net.minecraft.inventory.container.ContainerType; import net.minecraft.inventory.container.Slot; import javax.annotation.Nullable; public abstract cl...
{ "pile_set_name": "Github" }
/* $Id: ClpHelperFunctions.cpp 1753 2011-06-19 16:27:26Z stefan $ */ // Copyright (C) 2003, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). /* Note (JJF) I have added some operations on arrays even though...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/wallet_base_button_bg_hover" android:state_enabled="true" android:state_pressed="true"/> <item android:drawable="@drawable/wallet_base_button_bg_normal" android:state_e...
{ "pile_set_name": "Github" }
---- boxboxSeparate ---- ---- boxboxPenetration ----
{ "pile_set_name": "Github" }
Source: #PACKAGE# Section: editors Priority: optional Maintainer: #USERNAME# <#EMAIL#> Build-Depends: #BUILD_DEPS#, python (>= 2.6), python-support Standards-Version: #POLICY# Homepage: http://github.com/mickael-menu/TikZ-Editor Package: #PACKAGE# Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-q...
{ "pile_set_name": "Github" }
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2001-2011 Hartmut Kaiser http://spirit.sourceforge.net/ Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at h...
{ "pile_set_name": "Github" }
import { addCallback } from '../../lib/vulcan-lib'; import { Tags, tagDescriptionEditableOptions } from '../../lib/collections/tags/collection'; import { TagRels } from '../../lib/collections/tagRels/collection'; import { Posts } from '../../lib/collections/posts/collection'; import { addEditableCallbacks } from '../ed...
{ "pile_set_name": "Github" }
{ "component": true, "usingComponents": { "detail-navi-card": "/components/detail-navi-card/index", "navi-title": "/components/navi-title/index" } }
{ "pile_set_name": "Github" }
// SPDX-License-Identifier: GPL-2.0 #include <linux/module.h> #include <linux/i2c.h> #include <linux/of.h> #include <linux/regulator/driver.h> #include <linux/regmap.h> static const struct regulator_ops pg86x_ops = { .set_voltage_sel = regulator_set_voltage_sel_regmap, .get_voltage_sel = regulator_get_voltage_sel_re...
{ "pile_set_name": "Github" }
package user_service import ( "errors" "fmt" "github.com/casbin/casbin" "go-admin/models" "go-admin/pkg/util" ) type User struct { ID int Username string Password string Role int CreatedBy string ModifiedBy string PageNum int PageSize int Enforcer *casbin.Enforcer `inject:""` } func (a *...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2018-2020 "Graph Foundation" * Graph Foundation, Inc. [https://graphfoundation.org] * * Copyright (c) 2002-2020 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of ONgDB. * * ONgDB is free software: you can redistribute it and/or modify * it under the terms of the GNU Gen...
{ "pile_set_name": "Github" }
[ new EntersBattlefieldTrigger() { @Override public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPayedCost payedCost) { if (payedCost.isKicked() == false) { game.doAction(new AddTriggerAction(permanent, AtEndOfTurnTrigger.Sacr...
{ "pile_set_name": "Github" }
compiler: ghcjs
{ "pile_set_name": "Github" }
#!/usr/bin/env python import subprocess import feedparser import string rss = feedparser.parse('https://www.reddit.com/r/Futurology/.rss') print(rss['feed']['title']) subprocess.call("echo reading futurology news... | $VOICE", shell=True) for post in rss.entries: headline = post.title exclude = set(string.punc...
{ "pile_set_name": "Github" }
<?php /* * Copyright 2016 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 t...
{ "pile_set_name": "Github" }
// // RKLumberjackLogger.m // Pods // // Created by C_Lindberg,Carl on 10/31/14. // // #if __has_include("DDLog.h") #import "RKLumberjackLogger.h" #import "DDLog.h" @implementation RKLumberjackLogger + (int)ddLogLevelFromRKLogLevel:(_RKlcl_level_t)rkLevel { switch (rkLevel) { case RKLogLevelOff: ...
{ "pile_set_name": "Github" }
{% extends 'base.html' %} {% load i18n %} {% block title %}{% trans "Host Aggregates" %}{% endblock %} {% block main %} <div id="host-aggregates"> {{ host_aggregates_table.render }} </div> <div id="availability-zones"> {{ availability_zones_table.render }} </div> {% endblock %}
{ "pile_set_name": "Github" }
/* * Copyright 2014 - 2020 Blazebit. * * 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" }
<?xml version="1.0" encoding="UTF-8"?> <!-- /* * Copyright (C) 2008 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/LI...
{ "pile_set_name": "Github" }
# TomEE Server Composer Intended soley as a means to improve integration testing by enabling a more expressive way to build a running server process, including ability to read log output.
{ "pile_set_name": "Github" }
import { prefs } from '../core/preferences'; import { fileFetcher } from '../core/file_fetcher'; import { t } from '../core/localizer'; import { uiIntro } from './intro'; import { uiModal } from './modal'; export function uiSplash(context) { return (selection) => { // Exception - if there are restorable changes...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8" ?> <chapter id="mock-objects"> <title>モックオブジェクト</title> <caution> <para> このドキュメントは、すでにサポートが終了したバージョンの PHPUnit に関するものです。 </para> <para> 最新版の PHPUnit のドキュメントは <ulink url="../../current/ja/index.html">こちら</ulink>にあります。 </para> </caution> <p...
{ "pile_set_name": "Github" }
<?php class SQL { /** * 解析一个SQL语句 * * @param $sql * @return array|bool */ public static function parseSql($sql) { # 单表join SELECT * FROM t1 LEFT JOIN t2 ON t2.a=t1.a # 多表join SELECT * FROM t1 LEFT JOIN (t2, t3, t4) ON (t2.a=t1.a AND t3.b=t1.b AND t4.c=t1.c) ...
{ "pile_set_name": "Github" }
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //Crossbar Switch namespace XbarSel0{ ///<Crossbar Select Register 0 using Addr = Register::Address<0x40055000,0xffffc0c0,0x00000000,unsigned>; ///no description available constexpr Register::FieldLocation<Addr,Register::mas...
{ "pile_set_name": "Github" }
# # test directory makefile # FNAME := Her2k SRC_PATH := ../.. OBJ_PATH := . INST_PATH := $(HOME)/flame LIB_PATH := $(INST_PATH)/lib INC_PATH := $(INST_PATH)/include FLAME_LIB := $(LIB_PATH)/libflame.a BLAS_LIB := $(LIB_PATH)/libgoto.a #BLAS_LIB := -L/opt/intel/mkl/10.0.3.020/lib...
{ "pile_set_name": "Github" }
#include <stdexcept> #include <string> #include "OnlineDB/Oracle/interface/Oracle.h" #include "OnlineDB/EcalCondDB/interface/FEConfigFgrEETowerDat.h" #include "OnlineDB/EcalCondDB/interface/FEConfigFgrInfo.h" using namespace std; using namespace oracle::occi; FEConfigFgrEETowerDat::FEConfigFgrEETowerDat() { m_env ...
{ "pile_set_name": "Github" }
import re __product__ = "Radware (AppWall WAF)" def detect(content, **kwargs): content = str(content) detection_schema = ( re.compile(r".\bcloudwebsec.radware.com\b.", re.I), re.compile(r".>unauthorized.activity.has.been.detected<.", re.I), re.compile(r"with.the.following.case.number...
{ "pile_set_name": "Github" }
<html> <!--#config errmsg="" --> <!--#include virtual="/zinc/required/tn1_head.html" --> <!--#include virtual="/zinc/required/tn2_mirror_options.html" --> <!--#include virtual="/zinc/required/tn3_gradient.html" --> <!--#include virtual="/zinc/required/tn4_topnav.html" --> <!--#include virtual="/zinc/required/t...
{ "pile_set_name": "Github" }
/** * @file BinaryDescriptor_.cpp * @brief mex interface for cv::line_descriptor::BinaryDescriptor * @ingroup line_descriptor * @author Amro * @date 2016 */ #include "mexopencv.hpp" #include "opencv2/line_descriptor.hpp" using namespace std; using namespace cv; using namespace cv::line_descriptor; // Persistent ...
{ "pile_set_name": "Github" }
# This file is part of the Sylius package. # (c) Paweł Jędrzejewski sylius: form: channel: color: Farbe description: Beschreibung enabled: Aktiviert name: Name url: URL
{ "pile_set_name": "Github" }
// Copyright (c) 2011, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditi...
{ "pile_set_name": "Github" }
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE129_connect_socket_82_goodG2B.cpp Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE129.label.xml Template File: sources-sinks-82_goodG2B.tmpl.cpp */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: ...
{ "pile_set_name": "Github" }
using System; using System.Security; using System.Security.Permissions; #if RESTRICT // this ensure we don't have FullTrust [assembly: SecurityPermission (SecurityAction.RequestRefuse, SkipVerification = true)] #endif public class Program { static int Main () { try { // mscorlib is strongnamed and has [AllowP...
{ "pile_set_name": "Github" }
<section class="avatar"> <% if can? :update, @profile %> <header> <%= render partial: 'edit_icon' %> <h4> <%= t('avatar.profile_change') %> </h4> </header> <div class="update"> <%= render partial: 'avatars/form', object: @profile.actor, as:...
{ "pile_set_name": "Github" }
#!/usr/bin/perl -w ########################################################################### # # # SIGHAN # # Copyright (c) 2003,2005 ...
{ "pile_set_name": "Github" }
/* SPDX-License-Identifier: GPL-2.0+ */ /* * logicore_dp_tx_regif.h * * Register interface definition for XILINX LogiCore DisplayPort v6.1 TX * (Source) based on Xilinx dp_v3_1 driver sources * * (C) Copyright 2016 * Dirk Eibach, Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc */ #ifndef __GDSYS_LOGICORE_DP_TX...
{ "pile_set_name": "Github" }
// // Copyright 2011-2014 NimbusKit // // Forked from Three20 June 10, 2011 - Copyright 2009-2011 Facebook // // 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/l...
{ "pile_set_name": "Github" }
package com.journaldev.customfonts; import android.graphics.Typeface; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Button; import android.widget.TextView; public class MainActivity extends AppCompatActivity { //TextView ambleBold, ambleLight, ambleRegular, ope...
{ "pile_set_name": "Github" }
/* ******************************************************************************* * * Copyright (C) 2002-2014, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* * file name: uprops.cpp * encoding: ...
{ "pile_set_name": "Github" }
page_title: Installation from Binaries page_description: Instructions for installing Docker as a binary. Mostly meant for hackers who want to try out Docker on a variety of environments. page_keywords: binaries, installation, docker, documentation, linux # Binaries **This instruction set is meant for hackers who want...
{ "pile_set_name": "Github" }
--- - name: test revello_app module hosts: localhost gather_facts: no tasks: - debug: var: rev_username - debug: var: rev_password - name: create revello app without a blueprint local_action: module: ravello_app username: "{{ rev_username }}" password: "{{...
{ "pile_set_name": "Github" }
#include <iostream> int main() { std::cout << "Hello World!" << std::endl; }
{ "pile_set_name": "Github" }