text
stringlengths
2
99k
meta
dict
/* Package logrus is a structured logger for Go, completely API compatible with the standard library logger. The simplest way to use Logrus is simply the package-level exported logger: package main import ( log "github.com/sirupsen/logrus" ) func main() { log.WithFields(log.Fields{ "animal": ...
{ "pile_set_name": "Github" }
var classnd_dynamics_update = [ [ "dgSolverProgressiveSleepEntry", "classnd_dynamics_update_1_1dg_solver_progressive_sleep_entry.html", "classnd_dynamics_update_1_1dg_solver_progressive_sleep_entry" ], [ "ndBodyIndexPair", "classnd_dynamics_update_1_1nd_body_index_pair.html", "classnd_dynamics_update_1_1nd_body...
{ "pile_set_name": "Github" }
<resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> </st...
{ "pile_set_name": "Github" }
<?php use Illuminate\Database\Seeder; use TCG\Voyager\Models\Category; use TCG\Voyager\Models\DataType; use TCG\Voyager\Models\MenuItem; use TCG\Voyager\Models\Page; use TCG\Voyager\Models\Translation; class TranslationsTableSeeder extends Seeder { /** * Auto generated seed file. * * @return void ...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> <Filter Include="源文件"> <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensi...
{ "pile_set_name": "Github" }
'document' in self && "placeholder" in document.createElement("input")
{ "pile_set_name": "Github" }
import React from 'react' import { LazyImage } from '../LazyImage' export const Client = React.memo(({ name, image, style, ...rest }) => ( <span title={name} {...rest}> <LazyImage src={image} alt={name} width={150} style={style} className="inline" /> </span> ))
{ "pile_set_name": "Github" }
const func = require('@jupyterlab/testutils/lib/jest-config'); module.exports = func(__dirname);
{ "pile_set_name": "Github" }
define(function() { return (/^(?:checkbox|radio)$/i); });
{ "pile_set_name": "Github" }
// // MLNUIFile.h // // // Created by MoMo on 2018/7/9. // #import <Foundation/Foundation.h> #import "MLNUIStaticExportProtocol.h" typedef NS_ENUM(NSInteger, MLNUIFileErrorCode) { MLNUIFileErrorCodeFileNotExist = -1, MLNUIFileErrorCodeNotFile = -2, MLNUIFileErrorCodeReadFailed = -3, MLNUIFileErrorCo...
{ "pile_set_name": "Github" }
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Xunit; namespace System.Diagnostics.SymbolStore.Tests { public class SymDocumentTypeTests { [Fact] public void Ctor_Default() { Ass...
{ "pile_set_name": "Github" }
/* global styles */ .sunlight-container { clear: both !important; position: relative !important; margin: 10px 0 !important; } .sunlight-code-container { clear: both !important; position: relative !important; border: none; border-color: #626262 !important; background-color: #262626 !important; } .sunlight-highli...
{ "pile_set_name": "Github" }
/* * drivers/spi/spi-sun7i.c * Copyright (C) 2012 - 2016 Reuuimlla Limited * Pan Nan <pannan@reuuimllatech.com> * James Deng <csjamesdeng@reuuimllatech.com> * * SUN7I SPI Controller Driver * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Li...
{ "pile_set_name": "Github" }
{{- if .Values.serviceAccount.create -}} apiVersion: v1 kind: ServiceAccount metadata: name: {{ template "redis.serviceAccountName" . }} labels: app: {{ template "redis.name" . }} chart: {{ template "redis.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} {{- end -}}
{ "pile_set_name": "Github" }
# Widelands PATH/TO/FILE.PO # Copyright (C) 2005-2020 Widelands Development Team # # Translators: msgid "" msgstr "" "Project-Id-Version: Widelands\n" "Report-Msgid-Bugs-To: https://www.widelands.org/wiki/ReportingBugs/\n" "POT-Creation-Date: 2020-09-11 11:58+0000\n" "PO-Revision-Date: 2020-08-01 01:21+0000\n" "Last-T...
{ "pile_set_name": "Github" }
# Preparing Inputs Tensorflow Object Detection API reads data using the TFRecord file format. Two sample scripts (`create_pascal_tf_record.py` and `create_pet_tf_record.py`) are provided to convert from the PASCAL VOC dataset and Oxford-IIIT Pet dataset to TFRecords. ## Generating the PASCAL VOC TFRecord files. The ...
{ "pile_set_name": "Github" }
/* ** iwadpicker_cocoa.mm ** ** Implements Mac OS X native IWAD Picker. ** **--------------------------------------------------------------------------- ** Copyright 2010 Braden Obrzut ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitt...
{ "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" }
modules: os: hardware: IGNITENET-MIB::model.0 version: IGNITENET-MIB::fwVersion.0
{ "pile_set_name": "Github" }
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved. // // You are hereby granted a non-exclusive, worldwide, royalty-free license to use, // copy, modify, and distribute this software in source code or binary form for use // in connection with the web services and APIs provided by Facebook. // // As with...
{ "pile_set_name": "Github" }
{ "ngPackage": { "lib": { "entryFile": "index.ts" } } }
{ "pile_set_name": "Github" }
import React from "react"; import ClickedDiv from "../ClickedDiv"; import * as Actions from "../../actionCreators"; import { useActionCreator } from "../../hooks"; const Minimize = React.memo(() => { const minimize = useActionCreator(Actions.minimize); return <ClickedDiv id="minimize" title="Minimize" onClick={min...
{ "pile_set_name": "Github" }
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2019 Ryo Suzuki // Copyright (c) 2016-2019 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # include <Siv3D/Timer.hpp> namespace s3d { ...
{ "pile_set_name": "Github" }
// // Generated file. Do not edit. // import FlutterMacOS import Foundation import audio_session import just_audio import path_provider_macos import sqflite import audio_service func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { AudioSessionPlugin.register(with: registry.registrar(forPlugin: "AudioS...
{ "pile_set_name": "Github" }
// 参考 https://github.com/darknessomi/musicbox/wiki/ 'use strict' const crypto = require('crypto') const bigInt = require('big-integer') const modulus = '00e0b509f6259df8642dbc35662901477df22677ec152b5ff68ace615bb7b725152b3ab17a876aea8a5aa76d2e417629ec4ee341f56135fccf695280104e0312ecbda92557c93870114af6c9d05c4f7f0c368...
{ "pile_set_name": "Github" }
// Copyright 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. // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris // Unix environment variables. package unix import "syscall" func Getenv(key string) (va...
{ "pile_set_name": "Github" }
/***********************************************************************/ /* */ /* OCaml */ /* */ /* Manuel Serran...
{ "pile_set_name": "Github" }
/* * Copyright (c) 2012, 2017, 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" }
// Copyright 2014 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. // This file is autogenerated by: // mojo/public/tools/bindings/mojom_bindings_generator.py // For: // services/network/public/mojom/host_resolve...
{ "pile_set_name": "Github" }
.. _plugin_dev: Plugin development ================== A plugin is the component in charge of detect one software and its version. Since a software could have many different signatures, every plugin has test files associated to assure version integrity and add new signatures without breaking the working ones. Let's s...
{ "pile_set_name": "Github" }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace $safeprojectname$ { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.a...
{ "pile_set_name": "Github" }
-----BEGIN PKCS7----- MIAGCSqGSIb3DQEHA6CAMIACAQAxggHmMIHwAgEAMIGZMIGSMQswCQYDVQQGEwJBVTETMBEG A1UECBMKUXVlZW5zbGFuZDERMA8GA1UEBxMIQnJpc2JhbmUxGjAYBgNVBAoTEUNyeXB0c29m dCBQdHkgTHRkMSIwIAYDVQQLExlERU1PTlNUUkFUSU9OIEFORCBURVNUSU5HMRswGQYDVQQD ExJERU1PIFpFUk8gVkFMVUUgQ0ECAgR+MA0GCSqGSIb3DQEBAQUABEC2vXI1xQDW6lUHM3zQ /9uBEB...
{ "pile_set_name": "Github" }
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the...
{ "pile_set_name": "Github" }
<pre id="sh_008_first_line" class="brush: java; first-line: 10"> partial class Foo { function test() { yield return; } } </pre> <script type="text/javascript"> queue(function() { var $sh; module('008_first_line'); test('check the first line', function() { $sh = $('#sh_008_first_line'); ok_sh(...
{ "pile_set_name": "Github" }
// Copyright 2016 Open Source Robotics Foundation, 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 appli...
{ "pile_set_name": "Github" }
'use strict'; function getSocketClientPath(options) { let ClientImplementation; let clientImplFound = true; switch (typeof options.transportMode.client) { case 'string': // could be 'sockjs', 'ws', or a path that should be required if (options.transportMode.client === 'sockjs') { ClientIm...
{ "pile_set_name": "Github" }
[data-atom-textarea] &.code height : (6 * U) font-family : "Courier New", Courier !important font-size : SIZE = 11px !important font-weight : FONT_WEIGHT_BOLD !important line-height : (1.35 * SIZE) [data-atom-textarea="wysihtml5"]...
{ "pile_set_name": "Github" }
--- apiVersion: batch/v1 kind: Job metadata: name: kube-bench spec: template: metadata: labels: app: kube-bench spec: hostPID: true containers: - name: kube-bench image: aquasec/kube-bench:${VERSION} command: ["kube-bench"] volumeMounts: ...
{ "pile_set_name": "Github" }
{ "jsonSchemaSemanticVersion": "1.0.0", "imports": [ { "corpusPath": "cdm:/foundations.cdm.json" }, { "corpusPath": "/core/operationsCommon/Common.cdm.json", "moniker": "base_Common" }, { "corpusPath": "/core/operationsCommon/DataEntityView.cdm.json", "moniker": "ba...
{ "pile_set_name": "Github" }
7
{ "pile_set_name": "Github" }
unit test_6_TwoWayHello_with_object_worker; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ActnList, OtlCommon, OtlComm, OtlTask, OtlTaskControl, OtlEventMonitor; const MSG_CHANGE_MESSAGE = 1; MSG_SEND_MESSAGE = 2; ty...
{ "pile_set_name": "Github" }
package xyz.zinglizingli.books.core.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import java.util.Map; /** * @author 11797 */ @Data @Component @ConfigurationProperties(prefix="website") public class SeoConf...
{ "pile_set_name": "Github" }
{ "created_at": "2015-02-27T22:28:54.065061", "description": "An HTML template for project timelines", "fork": true, "full_name": "himedlooff/project-timeline", "language": "CSS", "updated_at": "2015-02-27T22:28:54.065210" }
{ "pile_set_name": "Github" }
import {RouteRecognizer} from 'aurelia-route-recognizer'; import {join} from 'aurelia-path'; import {NavigationContext} from './navigation-context'; import {NavigationInstruction} from './navigation-instruction'; import {RouterConfiguration} from './router-configuration'; import {processPotential} from './util'; expor...
{ "pile_set_name": "Github" }
unit uTabResources; { Sandcat Resource List Copyright (c) 2011-2017, Syhunt Informatica License: 3-clause BSD license See https://github.com/felipedaragon/sandcat/ for details. } interface {$I Catarinka.inc} uses {$IFDEF DXE2_OR_UP} System.SysUtils, System.Classes, Vcl.Controls, Vcl.ComCtrls, Vcl.Menus, {...
{ "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...
{ "pile_set_name": "Github" }
/* Native File Dialog http://www.frogtoss.com/labs */ #include <stdio.h> #include <assert.h> #include <string.h> #include <gtk/gtk.h> #include "include/nfd.h" #include "nfd_common.h" const char INIT_FAIL_MSG[] = "gtk_init_check failed to initilaize GTK+"; static void AddTypeToFilterName( const char *typebuf, ...
{ "pile_set_name": "Github" }
/* 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 agreed to in writing, ...
{ "pile_set_name": "Github" }
name: KR01 alternative_names: - QB50 KR01 - LINK norad: 42714 data: &tlm Telemetry: telemetry: kr01 transmitters: 1k2 BPSK downlink: frequency: 436.030e+6 modulation: BPSK baudrate: 1200 framing: AX.25 G3RUH data: - *tlm 9k6 BPSK downlink: frequency: 436.030e+6 modulation: ...
{ "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" }
<div align="center"> <a href="https://offline-plugin.now.sh/"><img src="https://rawgit.com/NekR/offline-plugin/master/logo/logo.svg" width="120" alt="offline-plugin logo"></a> <h1><code>offline-plugin</code> for webpack</h1> <a href="#backers"><img src="https://opencollective.com/offline-plugin/backers/badge.s...
{ "pile_set_name": "Github" }
var ConfirmCheck = xe.createPlugin('confirm_check', { API_BEFORE_VALIDATE: function(sender, params){ if(params[0].className == 'layout_delete_form'){ return confirm(xe.lang.confirm_delete); } } }); var Validator = xe.getApp('Validator')[0]; Validator.registerPlugin(new ConfirmCheck());
{ "pile_set_name": "Github" }
""" Verify incoming webhook from Paddle Code inspired from https://developer.paddle.com/webhook-reference/verifying-webhooks """ import base64 import collections # PHPSerialize can be found at https://pypi.python.org/pypi/phpserialize import phpserialize import requests from Crypto.Hash import SHA1 # Crypto can be f...
{ "pile_set_name": "Github" }
package de.ellpeck.actuallyadditions.common.util.compat; import net.minecraft.client.gui.screen.Screen; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.inventory.container.Container; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraftforge.api.distmarke...
{ "pile_set_name": "Github" }
import gql from 'graphql-tag' import { F } from '@/schemas' const publishedPosts = gql` query($userId: ID!, $filter: PagedFilter!) { publishedPosts(userId: $userId, filter: $filter) { ${F.pagedPosts} } } ` const publishedJobs = gql` query($userId: ID!, $filter: PagedFilter!) { publishedJobs(use...
{ "pile_set_name": "Github" }
{ "callcallcall_000_SuicideEnd_d0g0v0" : { "blocks" : [ { "blockHeaderPremine" : { "difficulty" : "0x020000", "gasLimit" : "0x01c9c380", "timestamp" : "0x03e8", "updatePoW" : "1" }, ...
{ "pile_set_name": "Github" }
// Testing field initialization and access. class Main { int a=3; void Main() { print("a = ", a, "\n"); } } // a = 3
{ "pile_set_name": "Github" }
true false
{ "pile_set_name": "Github" }
# Confirm how line comments affect INDENT/DEDENT boundaries # Doubly-nested if/then/else, where each # inner suite should parse the same: if level1 == "if": # start if if level2 == "if": # start foo(level1, level2) # inside if/if # end elif level2 == "elif": # start foo(level1, level2) # ins...
{ "pile_set_name": "Github" }
<?php /** * Star * * @file */ require_once __DIR__ . "/../db.php"; // NOTE: None of these functions sanitize. Make sure you sanitize your input! // // Returns true if the star was added (false if it already existed) // function star_Add( &$node, &$user ) { db_Connect(); db_Query( "INSERT IGNORE `" . CMW_TAB...
{ "pile_set_name": "Github" }
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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 ...
{ "pile_set_name": "Github" }
from math import log def get_relative_freqs(type2freq): """ Calculates the relative frequency (proportion) of each type in a system Parameters ---------- type2freq: dict Keys are types of a system and values are frequencies of those types Returns ------- type2p: dict ...
{ "pile_set_name": "Github" }
package termios const ( _IOC_PARAM_SHIFT = 13 _IOC_PARAM_MASK = (1 << _IOC_PARAM_SHIFT) - 1 ) func _IOC_PARM_LEN(ioctl uintptr) uintptr { return (ioctl >> 16) & _IOC_PARAM_MASK }
{ "pile_set_name": "Github" }
<!DOCTYPE html> <title>Canvas test: 2d.path.clip.empty</title> <script src="../tests.js"></script> <link rel="stylesheet" href="../tests.css"> <link rel="prev" href="2d.path.transformation.changing.html" title="2d.path.transformation.changing"> <link rel="next" href="2d.path.clip.basic.1.html" title="2d.path.clip.basic...
{ "pile_set_name": "Github" }
.propertygrid .datagrid-view1 .datagrid-body td { padding-bottom: 1px; border-width: 0 1px 0 0; } .propertygrid .datagrid-group { height: 21px; overflow: hidden; border-width: 0 0 1px 0; border-style: solid; } .propertygrid .datagrid-group span { font-weight: bold; } .propertygrid .datagrid-view1 .datagri...
{ "pile_set_name": "Github" }
import EditorNodeMixin from "./EditorNodeMixin"; import Image, { ImageAlphaMode } from "../objects/Image"; import spokeLogoSrc from "../../assets/spoke-icon.png"; import { RethrownError } from "../utils/errors"; import { getObjectPerfIssues, maybeAddLargeFileIssue } from "../utils/performance"; export default class Im...
{ "pile_set_name": "Github" }
// Copyright 2011 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 norm import "encoding/binary" // This file contains Form-specific logic and wrappers for data in tables.go. // Rune info is stored in a separate trie...
{ "pile_set_name": "Github" }
.category-details-main-header { // Override Ionic properties @at-root ion-header#{&}.header-collapse-condense-inactive { // To fix blink when page loads ion-title { visibility: hidden; } } } .category-details-main-toolbar { // Override Ionic properties @at-root ion-toolbar#{&} { --backg...
{ "pile_set_name": "Github" }
/* * omap_vout.c * * Copyright (C) 2005-2010 Texas Instruments. * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of any * kind, whether express or implied. * * Leveraged code from the OMAP2 camera driver * Video-for-...
{ "pile_set_name": "Github" }
{ "info" : { "version" : 1, "author" : "xcode" } }
{ "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" }
/* Copyright 2020 Adobe All Rights Reserved. NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the pri...
{ "pile_set_name": "Github" }
// Copyright (c) 2015-2016 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 // http://vittorioromeo.info | vittorio.romeo@outlook.com #pragma once #include "./debug/log.hpp"
{ "pile_set_name": "Github" }
""" test case for re module """ import re import testsuite SUCCEED, FAIL, SYNTAX_ERROR = range(3) def RAISE(): raise("testing failed") def main(): print("begin re tests") assert(re.__name__ != None) assert(re.__doc__ != None) assert(re.__file__ != None) test_re_obj_search() test_re_obj_...
{ "pile_set_name": "Github" }
<?php namespace Cartalyst\Sentry\Throttling\Kohana; /** * Part of the Sentry package. * * NOTICE OF LICENSE * * Licensed under the 3-clause BSD License. * * This source file is subject to the 3-clause BSD License that is * bundled with this package in the LICENSE file. It is also available at * the following ...
{ "pile_set_name": "Github" }
.. include:: header.txt =============== Queue objects =============== The queue type provided by `processing` is a multi-producer, multi-consumer FIFO queue modelled on the `Queue.Queue` class in the standard library. `Queue(maxsize=0)` Returns a process shared queue implemented using a pipe and a fe...
{ "pile_set_name": "Github" }
<?php /** * Cycle DataMapper ORM * * @license MIT * @author Anton Titov (Wolfy-J) */ declare(strict_types=1); namespace Cycle\ORM\Tests\Driver\Postgres; class CyclicReferencesTest extends \Cycle\ORM\Tests\CyclicReferencesTest { public const DRIVER = 'postgres'; }
{ "pile_set_name": "Github" }
/* Copyright 2015 The Kubernetes 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 ag...
{ "pile_set_name": "Github" }
const Enzyme = require('enzyme'); const Adapter = require('enzyme-adapter-react-16'); Enzyme.configure({ adapter: new Adapter() }); const { JSDOM } = require('jsdom'); const jsdom = new JSDOM('<!doctype html><html><body></body></html>', { url: 'https://example.com', }); const { window } = jsdom; function copyProp...
{ "pile_set_name": "Github" }
use rltk::{rex::XpFile}; rltk::embedded_resource!(SMALL_DUNGEON, "../../resources/SmallDungeon_80x50.xp"); pub struct RexAssets { pub menu : XpFile } impl RexAssets { #[allow(clippy::new_without_default)] pub fn new() -> RexAssets { rltk::link_resource!(SMALL_DUNGEON, "../../resources/SmallDungeo...
{ "pile_set_name": "Github" }
/** * Shape/Symbol * * @author Maxime Thirouin maxime.thirouin@gmail.com @MoOx */ @import "recipes/shape/symbol/diamond"; @import "recipes/shape/symbol/egg"; @import "recipes/shape/symbol/heart"; @import "recipes/shape/symbol/infinity"; @import "recipes/shape/symbol/pacman"; @import "recipes/shape/symbol/yin-yang";
{ "pile_set_name": "Github" }
#pragma once #include "base/base.hpp" #include "base/macros.hpp" #include <sstream> #include <string> namespace strings { template <typename T> std::string ToString(T const & t) { // May be we should use DebugPrint here. Not sure. std::ostringstream out; out << t; return out.str(); } std::...
{ "pile_set_name": "Github" }
#ifndef AIKIDO_STATESPACE_DART_SE3JOINTSTATESPACE_HPP_ #define AIKIDO_STATESPACE_DART_SE3JOINTSTATESPACE_HPP_ #include "aikido/statespace/SE3.hpp" #include "aikido/statespace/dart/JointStateSpace.hpp" namespace aikido { namespace statespace { namespace dart { /// \c SE3 for a DART \c FreeJoint. This class does not s...
{ "pile_set_name": "Github" }
package saros.filesystem; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Objects; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.OperationCanceledException; /** Eclipse implementation of the Saros folder interface. */ // TODO rename to E...
{ "pile_set_name": "Github" }
// SPDX-License-Identifier: GPL-2.0-only /* * rt298.c -- RT298 ALSA SoC audio codec driver * * Copyright 2015 Realtek Semiconductor Corp. * Author: Bard Liao <bardliao@realtek.com> */ #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/init.h> #include <linux/delay.h> #include <linux/pm.h> ...
{ "pile_set_name": "Github" }
//var lsc = require("./lib/livescript.js"); var lsc = require("./livescript.js").LiveScript; var lineRegex = /on line (\d+)/; module.exports = function(info) { var text = info.inputs.text; try { lsc.compile(text); } catch (e) { var message = e.message; var match = lineRegex.exec(mes...
{ "pile_set_name": "Github" }
[Compiler] A=8 B=0 C=1 D=1 E=0 F=0 G=1 H=1 I=1 J=0 K=0 L=1 M=0 N=1 O=1 P=1 Q=0 R=0 S=0 T=0 U=0 V=1 W=0 X=1 Y=1 Z=1 ShowHints=1 ShowWarnings=1 UnitAliases= [Linker] MapFile=0 OutputObjs=0 ConsoleApp=1 DebugInfo=0 RemoteSymbols=0 MinStackSize=16384 MaxStackSize=1048576 ImageBase=4194304 ExeDescription= DynamicLoader=/li...
{ "pile_set_name": "Github" }
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 25 2017 03:49:04). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import "TGridLayoutController.h" @interface TViewGridLayoutController : TGridLayoutController { struct TNSRef<TViewGridLayoutCont...
{ "pile_set_name": "Github" }
Welcome to dota2's documentation! ================================= |pypi| |license| Supports Python ``2.7+`` and ``3.4+``. | Module based on `steam <https://github.com/ValvePython/steam/>`_ for interacting with Dota 2's Game Coordinator. | If you've used `node-dota2 <https://github.com/RJacksonm1/node-dota2>`_ this...
{ "pile_set_name": "Github" }
--- - name: Create path for operator policies become: true become_user: root file: path="{{ romana_etc_dir}}/policy.d" state=directory - name: Copy default policies become: true become_user: root synchronize: src="policies/" dest="{{ romana_etc_dir }}/policy.d/" - name: Install romana policy script temp...
{ "pile_set_name": "Github" }
package newProblems; /* Given a positive integer n and you can do operations as follow: If n is even, replace n with n/2. If n is odd, you can replace n with either n + 1 or n - 1. What is the minimum number of replacements needed for n to become 1? Example 1: Input: 8 Output: 3 Explanation: 8 -> 4 -> 2 -> 1 Exam...
{ "pile_set_name": "Github" }
var ignore = 'ignore', missing = 'missing', only = 'only'; /** * Includes a template partial in place. The template is rendered within the current locals variable context. * * @alias include * * @example * // food = 'burritos'; * // drink = 'lemonade'; * {% include "./partial.html" %} * // => I like burri...
{ "pile_set_name": "Github" }
Tests for weighted merge of sample profiles. 1- Merge the foo and bar profiles with unity weight and verify the combined output RUN: llvm-profdata merge -sample -text -weighted-input=1,%p/Inputs/weight-sample-bar.proftext -weighted-input=1,%p/Inputs/weight-sample-foo.proftext -o - | FileCheck %s -check-prefix=1X_1X_WE...
{ "pile_set_name": "Github" }
#/*************************************************** # 版权声明 # # 本操作系统名为:MINE # 该操作系统未经授权不得以盈利或非盈利为目的进行开发, # 只允许个人学习以及公开交流使用 # # 代码最终所有权及解释权归田宇所有; # # 本模块作者: 田宇 # EMail: 345538255@qq.com # # #***************************************************/ all: boot.bin loader.bin loader.bin: nasm loader.asm...
{ "pile_set_name": "Github" }
# frozen_string_literal: true class ArchiveImporter class EntityImporter include ArchiveValidator::EntitiesHelper include Diaspora::Logging def initialize(json, user) @json = json @user = user end def import self.persisted_object = Diaspora::Federation::Receive.perform(entity,...
{ "pile_set_name": "Github" }
<?php /** * Smarty Resource Plugin * * @package Smarty * @subpackage TemplateResources * @author Rodney Rehm */ /** * Smarty Resource Plugin * * Base implementation for resource plugins that don't compile cache * * @package Smarty * @subpackage TemplateResources */ abstract class Smarty_Resource_Recompile...
{ "pile_set_name": "Github" }
#include "nodestate.h" #include "dummythin.h" #include "net.h" // for CNode #include "thinblock.h" #include <utility> CNodeState::CNodeState(NodeId id, ThinBlockManager& thinblockmg, const CService& addr, const std::string& name) : address(addr), name(name) { fCurrentlyConnected = false;...
{ "pile_set_name": "Github" }
package stenographer import ( "fmt" "strings" ) func (s *consoleStenographer) colorize(colorCode string, format string, args ...interface{}) string { var out string if len(args) > 0 { out = fmt.Sprintf(format, args...) } else { out = format } if s.color { return fmt.Sprintf("%s%s%s", colorCode, out, de...
{ "pile_set_name": "Github" }
Joinmarket-clientserver 0.4.0: ================= <https://github.com/joinmarket-org/joinmarket-clientserver/releases/tag/v0.4.0> This is a significant upgrade, but mostly to features `behind the scenes` that should improve both the security and the performance (in terms of coinjoin success/quality). However it is not...
{ "pile_set_name": "Github" }
package com.diozero.remote.message; /*- * #%L * Organisation: diozero * Project: Device I/O Zero - Remote Server * Filename: Response.java * * This file is part of the diozero project. More information about this project * can be found at http://www.diozero.com/ * %% * Copyright (C) 2016 - 2020 di...
{ "pile_set_name": "Github" }