text
stringlengths
2
99.9k
meta
dict
// SPDX-License-Identifier: GPL-2.0 #include <api/fd/array.h> #include <poll.h> #include "util/debug.h" #include "tests/tests.h" static void fdarray__init_revents(struct fdarray *fda, short revents) { int fd; fda->nr = fda->nr_alloc; for (fd = 0; fd < fda->nr; ++fd) { fda->entries[fd].fd = fda->nr - fd; fda-...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft...
{ "pile_set_name": "Github" }
<filter name='no-arp-mac-spoofing' chain='arp-mac' priority='-520'> <rule action='return' direction='out' priority='350' > <arp match='yes' arpsrcmacaddr='$MAC'/> </rule> <!-- drop everything else --> <rule action='drop' direction='out' priority='1000' /> </filter>
{ "pile_set_name": "Github" }
using System.Reflection; using System.Runtime.CompilerServices; // // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. // [assembly: AssemblyTitle("")] [assembly: AssemblyDescription(...
{ "pile_set_name": "Github" }
import React from 'react'; import PropTypes from 'prop-types'; import { c, msgid } from 'ttag'; import { APPS } from 'proton-shared/lib/constants'; import { AppLink, SimpleDropdown, DropdownMenu } from '../../components'; const DomainAddresses = ({ domainAddresses }) => { const list = domainAddresses.map(({ ID, Em...
{ "pile_set_name": "Github" }
// // WikipediaSearchCell.swift // RxExample // // Created by Krunoslav Zaher on 3/28/15. // Copyright © 2015 Krunoslav Zaher. All rights reserved. // import UIKit import RxSwift import RxCocoa public class WikipediaSearchCell: UITableViewCell { @IBOutlet var titleOutlet: UILabel! @IBOutlet var URLOutlet...
{ "pile_set_name": "Github" }
--- layout: base title: 'Statistics of csubj in UD_Czech-PDT' udver: '2' --- ## Treebank Statistics: UD_Czech-PDT: Relations: `csubj` This relation is universal. There are 1 language-specific subtypes of `csubj`: <tt><a href="cs_pdt-dep-csubj-pass.html">csubj:pass</a></tt>. 5664 nodes (0%) are attached to their par...
{ "pile_set_name": "Github" }
[id="configuration-{beatname_lc}-options"] == Configure inputs ++++ <titleabbrev>Inputs</titleabbrev> ++++ TIP: <<{beatname_lc}-modules-overview,{beatname_uc} modules>> provide the fastest getting started experience for common log formats. See <<{beatname_lc}-installation-configuration>> to learn how to get started. ...
{ "pile_set_name": "Github" }
// Created on: 2011-10-20 // Created by: Sergey ZERCHANINOV // Copyright (c) 2011-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2...
{ "pile_set_name": "Github" }
--- enhancements: - | The ecs-agent's docker container name can now be set via the ``ecs_agent_container_name`` option or the ``DD_ECS_AGENT_CONTAINER_NAME`` envvar for autodetection.
{ "pile_set_name": "Github" }
{ "images" : [ { "idiom" : "universal", "filename" : "lock.png", "scale" : "1x" }, { "idiom" : "universal", "filename" : "lock@2x.png", "scale" : "2x" }, { "idiom" : "universal", "filename" : "lock@3x.png", "scale" : "3x" } ], "info" : ...
{ "pile_set_name": "Github" }
#pragma warning disable 108 // new keyword hiding #pragma warning disable 114 // new keyword hiding namespace Windows.Data.Json { #if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__ [global::Uno.NotImplemented] #endif public partial class JsonObject : global::Windows.D...
{ "pile_set_name": "Github" }
/* QMPlay2 is a video and audio player. Copyright (C) 2010-2020 Błażej Szczygieł This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (a...
{ "pile_set_name": "Github" }
/* * linux/drivers/net/wireless/libertas/if_spi.c * * Driver for Marvell SPI WLAN cards. * * Copyright 2008 Analog Devices Inc. * * Authors: * Andrey Yurovsky <andrey@cozybit.com> * Colin McCabe <colin@cozybit.com> * * Inspired by if_sdio.c, Copyright 2007-2008 Pierre Ossman * * This program is free softwa...
{ "pile_set_name": "Github" }
/*! @page compile Compiling GLFW @tableofcontents This is about compiling the GLFW library itself. For information on how to build programs that use GLFW, see the @ref build guide. @section compile_deps Dependencies To compile GLFW and the accompanying example programs, you will need **CMake**, which will genera...
{ "pile_set_name": "Github" }
#pragma once #include <pu/Plutonium> namespace ui { class AboutLayout : public pu::ui::Layout { public: AboutLayout(); PU_SMART_CTOR(AboutLayout); void about_Input(u64 Down, u64 Up, u64 Held); private: pu::ui::elm::TextBlock::Ref leftText; pu::ui::elm::TextBlock::Ref rightText; pu::ui...
{ "pile_set_name": "Github" }
# V5: Requerimientos de Comunicación a través de la red ## Objetivo de Control Los controles enumerados en esta categoría tienen por objetivo asegurar la confidencialidad e integridad de la información intercambiada entre la aplicación móvil y los servicios del servidor. Como mínimo se deben utilizar canales seguros ...
{ "pile_set_name": "Github" }
// Copyright 2016 The LUCI 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...
{ "pile_set_name": "Github" }
package com.packt.webstore.domain.repository.impl; import java.util.HashMap; import java.util.Map; import org.springframework.stereotype.Repository; import com.packt.webstore.domain.Cart; import com.packt.webstore.domain.repository.CartRepository; @Repository public class InMemoryCartRepository implements CartReposit...
{ "pile_set_name": "Github" }
/* Open Tracker License Terms and Conditions Copyright (c) 1991-2000, Be Incorporated. All rights reserved. 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...
{ "pile_set_name": "Github" }
'use strict'; const { Events } = require('../../../util/Constants'); module.exports = (client, packet) => { const { old, updated } = client.actions.MessageUpdate.handle(packet.d); if (old && updated) { /** * Emitted whenever a message is updated - e.g. embed or content change. * @event Client#messag...
{ "pile_set_name": "Github" }
<?php /* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions...
{ "pile_set_name": "Github" }
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.09.08 at...
{ "pile_set_name": "Github" }
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Insert title here</title> </head> <body> <p>Age: <span th:text="${age}?: '年龄为nll'"></span></p> <p>Age2: <span th:text="${age2}?: '年龄为nll'"></span></p> </body> </html>
{ "pile_set_name": "Github" }
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\ASF; use JMS\Serializer\Annotation\ExclusionPolicy; use...
{ "pile_set_name": "Github" }
#name : Startup #contributor : Rick Moynihan <rick@sourcesmouth.co.uk> # -- #+STARTUP: ${1:options}
{ "pile_set_name": "Github" }
(function( factory ) { if ( typeof define === "function" && define.amd ) { define( ["jquery", "../jquery.validate"], factory ); } else { factory( jQuery ); } }(function( $ ) { /* * Translated default messages for the jQuery validation plugin. * Locale: HR (Croatia; hrvatski jezik) */ $.extend($.validator.mes...
{ "pile_set_name": "Github" }
type=item items=minecraft:experience_bottle texture=./blastprot.png nbt.display.Lore.*=ipattern:*Blast Protection*
{ "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 (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.CodeAnalysis.Host { public interface ICompilationFactoryService : ILanguageService { Compilation CreateCom...
{ "pile_set_name": "Github" }
#ifndef BOOST_MPL_SET_SET10_C_HPP_INCLUDED #define BOOST_MPL_SET_SET10_C_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2004 // Copyright David Abrahams 2003-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_...
{ "pile_set_name": "Github" }
package contenthash import ( "context" "fmt" "io" "io/ioutil" "os" "path/filepath" "runtime" "strings" "testing" "time" "github.com/containerd/containerd/content/local" ctdmetadata "github.com/containerd/containerd/metadata" "github.com/containerd/containerd/snapshots" "github.com/containerd/containerd/...
{ "pile_set_name": "Github" }
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\XMPPur; use JMS\Serializer\Annotation\ExclusionPolicy; ...
{ "pile_set_name": "Github" }
--- title: "eM Client" permalink: /software/emclient/ excerpt: "Email Encryption" modified: 2017-09-27T09:00:00-00:00 --- eM Client is a versatile email client with calendar, tasks and chat. It supports both PGP/MIME and traditional armored PGP and focuses on ease of use. eM Client synchronizes with Gmail, Office 365,...
{ "pile_set_name": "Github" }
from .data_init import ( db_operate, convert_timescaledb, init_services, init_resources, init_default_roles, update_default_roles, init_admin_account, init_dict_code, init_system_info, init_lwm2m_info, create_triggers ) from .supervisord import supervisord_config __all__ = ['ProjectManage'] class Projec...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> <ac...
{ "pile_set_name": "Github" }
#!/bin/bash DIST=../../web/dist RSC=$DIST/static # resources from web dist #IMG=$RSC/img JS=$RSC/js CSS=$RSC/css FONTS=$RSC/fonts IMG=$RSC/img backup() { # bak_files="img js css fonts" bak_files="static" dir=backup-$(date +%y_%m_%d-%H:%M:%S) mkdir $dir mv $bak_files $dir 2>/dev/null } update_web_files() { mkd...
{ "pile_set_name": "Github" }
from __future__ import print_function import os from time import time import sys import branding import common import hooks import fileutil import metrics import protocols import social import string import threading import traceback import simplejson from rpc.jsonrpc import Dsuccess from social.network import SocialF...
{ "pile_set_name": "Github" }
package cn.springcloud.gray.server.oauth2; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.security.core.Authentication; import org.springframework.security.core.context.SecurityContext; import org.springframework.security.core.context.SecurityContextHolder; import org.springframewo...
{ "pile_set_name": "Github" }
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
{ "pile_set_name": "Github" }
1
{ "pile_set_name": "Github" }
package com.thinkaurelius.titan.graphdb.query.vertex; import com.google.common.base.Preconditions; import com.thinkaurelius.titan.core.TitanRelation; import com.thinkaurelius.titan.diskstorage.keycolumnvalue.SliceQuery; import com.thinkaurelius.titan.graphdb.internal.OrderList; import com.thinkaurelius.titan.graphdb.q...
{ "pile_set_name": "Github" }
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/StoreBookkeeperClient.framework/StoreBookkeeperClient */ @interface SBCPlaybackPositionEntity : NSObject <NSCopying, NSSecureCoding> { double _bookmarkTime; double _bookmarkTimestamp; long long _foreignDatabaseEntityID; bool...
{ "pile_set_name": "Github" }
/* Copyright 2017 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" }
fileFormatVersion: 2 guid: 5aab17815ee8842d8a7200e46a5f8d90 MonoImporter: serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData:
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8" ?> <!-- NxBRE - Native syntax rendering of xBusinessRules Author: David Dossot --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:param name="rulesDir"/> <!-- id generator --> <xsl:template name="id-gen"> <xsl:param name="...
{ "pile_set_name": "Github" }
package tests.wurstscript.tests; import org.testng.annotations.Test; public class TupleTests extends WurstScriptTest { @Test public void simple() { testAssertOkLines(true, "package test", " native testSuccess()", " tuple vec(real x, real y, real z)", ...
{ "pile_set_name": "Github" }
/** * \file lzma/subblock.h * \brief Subblock filter */ /* * Author: Lasse Collin * * This file has been put into the public domain. * You can do whatever you want with this file. * * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL # error Never include this f...
{ "pile_set_name": "Github" }
[config] command = record args = -g dwarf -- kill >/dev/null 2>&1 [event:base-record] sample_type=12583 exclude_callchain_user=1 sample_stack_user=8192 # TODO different for each arch, no support for that now sample_regs_user=*
{ "pile_set_name": "Github" }
set(TARGET Proto_MRA) include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake)
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <Button android:id="@+id/MyButton" android:layout_width="fill_parent" and...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleExecutable</key> <string>${EXECUTABLE_NAME}</string> <key>CFBundleIde...
{ "pile_set_name": "Github" }
import numpy as np from pymoo.algorithms.nsga2 import RankAndCrowdingSurvival from pymoo.algorithms.so_local_search import LocalSearch from pymoo.model.individual import Individual from pymoo.model.population import Population from pymoo.util.display import SingleObjectiveDisplay from pymoo.util.nds.non_dominated_sort...
{ "pile_set_name": "Github" }
using System; using System.IO; using System.Text; using static ATL.ChannelsArrangements; using System.Collections.Generic; using System.Globalization; namespace ATL.AudioData.IO { /// <summary> /// Class for Audible Formats 2 to 4 files manipulation (extensions : .AA) /// /// Implementation notes ...
{ "pile_set_name": "Github" }
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commercial use as long as ...
{ "pile_set_name": "Github" }
/* * Copyright 2020 ThoughtWorks, 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 agr...
{ "pile_set_name": "Github" }
(ob-sml :fetcher github :repo "swannodette/ob-sml")
{ "pile_set_name": "Github" }
package com.bitlove.fetlife.model.resource.post import com.bitlove.fetlife.FetLifeApplication import com.bitlove.fetlife.getLoggedInUser import com.bitlove.fetlife.logic.dataholder.CardViewDataHolder import com.bitlove.fetlife.model.dataobject.SyncObject import com.bitlove.fetlife.model.dataobject.entity.content.Favor...
{ "pile_set_name": "Github" }
/* Copyright 2015 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" }
<?php namespace Minds\Controllers\api\v2\newsfeed; use Minds\Api\Factory; use Minds\Core; use Minds\Entities; use Minds\Entities\Activity; use Minds\Interfaces; class pin implements Interfaces\Api { public function get($pages) { return Factory::response([]); } public function post($pages) ...
{ "pile_set_name": "Github" }
/* * Copyright (C) 2013 Company 100 Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This ...
{ "pile_set_name": "Github" }
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> <ClCompile Include="Debug.cpp"> <Filter>Source Files</Filter> </ClCompile> <ClCompile Include="DriverEntry.cpp"> <Filter>Source Files</Filter> </ClCo...
{ "pile_set_name": "Github" }
// // CalendarHomeViewController.m // Calendar // // Created by 张凡 on 14-6-23. // Copyright (c) 2014年 张凡. All rights reserved. // // 版权属于原作者 // http://code4app.com (cn) http://code4app.net (en) // 发布代码于最专业的源码分享网站: Code4App.com #import "CalendarHomeViewController.h" #import "Color.h" @interface CalendarHomeViewCo...
{ "pile_set_name": "Github" }
/////////////////////////////////////////////////////////////////////////////// /// \file tags.hpp /// Contains the tags for all the overloadable operators in C++ // // Copyright 2008 Eric Niebler. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http...
{ "pile_set_name": "Github" }
from . import decompiler, disassembler
{ "pile_set_name": "Github" }
/********************************************************************** *These solidity codes have been obtained from Etherscan for extracting *the smartcontract related info. *The data will be used by MATRIX AI team as the reference basis for *MATRIX model analysis,extraction of contract semantics, *as well as AI base...
{ "pile_set_name": "Github" }
/* Copyright 2010-present MongoDB 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" }
# Docker Travis container notes This method requires Docker installed on your local machine. This also assumes that you start at the top of the Libint source tree. 1. Create a Travis-CI 'Bionic' docker image: `cd bin; ./docker-travis-build.sh` 2. Run shell in a container using the newly created image: `docker run -it l...
{ "pile_set_name": "Github" }
name = "StackCollections" uuid = "501fa84d-4592-420e-a352-d1184606d913" repo = "https://github.com/jakobnissen/StackCollections.jl.git"
{ "pile_set_name": "Github" }
/** * Refreshcontrol Component Demo for SaltUI * @author xiaohe.wp * * Copyright 2014-2017, SaltUI Team. * All rights reserved. */ import 'salt-context'; import './RefreshcontrolDemo.styl'; import Demo from './RefreshcontrolDemo'; // window.FastClick && FastClick.attach(document.body); // 渲染demo export default...
{ "pile_set_name": "Github" }
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build gccgo,linux,amd64 package unix import "syscall" //extern gettimeofday func realGettimeofday(*Timeval, *byte) int32 func gettimeofday(tv *Timeval) ...
{ "pile_set_name": "Github" }
<!-- Instructions: https://github.com/PolymerElements/iron-meta/CONTRIBUTING.md#filing-issues --> ### Description <!-- Example: The `paper-foo` element causes the page to turn pink when clicked. --> ### Expected outcome <!-- Example: The page stays the same color. --> ### Actual outcome <!-- Example: The page turns...
{ "pile_set_name": "Github" }
<!-- This comment will put IE 6, 7 and 8 in quirks mode --> <!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"/> <title>CICE: Data ...
{ "pile_set_name": "Github" }
13 charge = 0 O 1.207554 0.132236 0.556619 C 2.247140 0.097249 -0.046143 C 2.952489 1.266892 -0.577671 C 4.107501 1.240433 -1.248657 C 4.486444 2.640594 -1.612245 C 3.313789 3.441814 -1.014188 O 2.423634 2.494258 -0.394809 H 2.772864 -0.857537 -0.255414 H 4.670490 0.349968 -1.485552 H 4.572859 2.773920 -2.695...
{ "pile_set_name": "Github" }
<cruisecontrol> <project name="FinalBuilder Example" webURL="http://localhost/ccnet"> <sourcecontrol type="nullSourceControl" /> <tasks> <!-- Simple FinalBuilder Block: --> <FinalBuilder> <ProjectFile>C:\source\BuildProject\Build Process.fbz4</ProjectFile> </FinalBuilder> <!-- Final...
{ "pile_set_name": "Github" }
#ifndef VERSION_H #define VERSION_H #define VERSION_MAJOR "" #define VERSION_MINOR "" #define VERSION_BUILD "" #endif // VERSION_H
{ "pile_set_name": "Github" }
#include <iostream> using namespace std; class Solution { public: bool isIsomorphic(string s, string t) { for (int i = 0; s[i]; i++) { if(s.find(s[i]) != t.find(t[i])) return false; } return true; } }; void test(string test_name, string s, string t, bool exp...
{ "pile_set_name": "Github" }
/* TomsFastMath, a fast ISO C bignum library. * * This project is meant to fill in where LibTomMath * falls short. That is speed ;-) * * This project is public domain and free for all purposes. * * Tom St Denis, tomstdenis@gmail.com */ #include "bignum_fast.h" static const int lnz[16] = { 4, 0, 1, 0, 2, ...
{ "pile_set_name": "Github" }
/*! @page input_guide Input guide @tableofcontents This guide introduces the input related functions of GLFW. For details on a specific function in this category, see the @ref input. There are also guides for the other areas of GLFW. - @ref intro_guide - @ref window_guide - @ref context_guide - @ref vulkan_gu...
{ "pile_set_name": "Github" }
class Syntaxerl < Formula homepage "https://github.com/ten0s/syntaxerl" desc "Syntax checker for Erlang code and config files" url "https://github.com/ten0s/syntaxerl/archive/0.8.0.tar.gz" sha256 "4c5a6390a7d28869bf44cc831ae59cb69480a8481853de8dd59672b7cf5bff7b" bottle do cellar :any sha256 "91e1dbff...
{ "pile_set_name": "Github" }
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\FrameworkBundle\Routing; use Symfony\Bundle\FrameworkBun...
{ "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" }
#!/usr/bin/env python # 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. """Scans the Chromium source of UseCounter, formats the Feature enum for histograms.xml and merges it. This script can also generate a ...
{ "pile_set_name": "Github" }
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @emails oncall+react_native * @flow */ 'use strict'; const React = require('react'); const ShallowRenderer = requi...
{ "pile_set_name": "Github" }
extends /templates/core/modal-base-flat.jade block modal-header //- This allows for the header color to switch without the subview templates needing to contain the header .modal-header(class=view.signupState.get('path')) span.glyphicon.glyphicon-remove.button.close(data-dismiss="modal", aria-hidden="tr...
{ "pile_set_name": "Github" }
let rec reverse l = match l with | [] -> [] | head::tail -> ((reverse tail)@[head]) ;; reverse [0;1;2;3];;
{ "pile_set_name": "Github" }
/// @ref gtx_normal /// @file glm/gtx/normal.inl namespace glm { template <typename T, precision P> GLM_FUNC_QUALIFIER tvec3<T, P> triangleNormal ( tvec3<T, P> const & p1, tvec3<T, P> const & p2, tvec3<T, P> const & p3 ) { return normalize(cross(p1 - p2, p1 - p3)); } }//namespace glm
{ "pile_set_name": "Github" }
// Copyright (c) 2009 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. #ifndef CHROME_BROWSER_RESOURCES_UTIL_H_ #define CHROME_BROWSER_RESOURCES_UTIL_H_ #include <string> #include "base/macros.h" class ResourcesUtil { ...
{ "pile_set_name": "Github" }
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2015-2015. 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) // // See http://www.boost.org/libs/c...
{ "pile_set_name": "Github" }
<html> <body> <script type="text/javascript" src="devtools_init_page.js"></script> </body> </html>
{ "pile_set_name": "Github" }
/* * Copyright © 2008 Intel Corporation * * 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, modify, merge, pub...
{ "pile_set_name": "Github" }
config BR2_PACKAGE_PYTHON_PATHVALIDATE bool "python-pathvalidate" help pathvalidate is a python library to validate/sanitize a string such as filename/variable-name. https://github.com/thombashi/pathvalidate
{ "pile_set_name": "Github" }
// Copyright Jetstack Ltd. See LICENSE for details. package cmd import ( "os" "github.com/spf13/cobra" "github.com/jetstack/tarmak/pkg/tarmak/utils" "github.com/jetstack/tarmak/pkg/terraform" ) // ensure plugin clients get closed after subcommand run func terraformPassthrough(args []string, f func([]string, <-c...
{ "pile_set_name": "Github" }
/* @ngInject */ function blackFridayModalOpener( blackFridayModel, blackFridayModal, subscriptionModel, networkActivityTracker, dispatchers ) { let STATE = {}; const { on } = dispatchers(); on('logout', () => { STATE = {}; }); const openModal = () => { blackFri...
{ "pile_set_name": "Github" }
#include <iostream> #include <string> using namespace std; int hammingDistance(const string str1, const string str2) { //IF LENGTH BEETWEEN STRINGS IS DIFFERENT if(str1.length() != str2.length()) return -1; else { int dist = 0; //COMPARE PARALLEL CHARACTERS for(unsigned i = 0; i < str1.length(); i++) ...
{ "pile_set_name": "Github" }
BEGIN; DROP INDEX builds_job_id_succeeded_idx; COMMIT;
{ "pile_set_name": "Github" }
<?xml version='1.0' encoding='utf-8'?> <section xmlns="https://code.dccouncil.us/schemas/dc-library" xmlns:codified="https://code.dccouncil.us/schemas/codified" xmlns:codify="https://code.dccouncil.us/schemas/codify" xmlns:xi="http://www.w3.org/2001/XInclude" containing-doc="D.C. Code"> <num>2-1528</num> <reason>Re...
{ "pile_set_name": "Github" }
ruby '2.3.1' source 'https://rubygems.org' do gem 'jekyll' gem 'semantic' gem 'html-proofer' end
{ "pile_set_name": "Github" }
/*! * 分页处理. * * @since: 1.0.0 * @author Way Lau <https://waylau.com> */ (function($) { "use strict"; /** * handler:pageIndex 所选页面的索引,从0开始;pageSize 页面的大小,这里默认是10。 */ $.tbpage = function(selector, handler) { $(selector).off("click", ".tbpage-item").on("click", ".tbpage-item", function() { var...
{ "pile_set_name": "Github" }
/* Base16 Atelier Lakeside Dark - Theme */ /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/) */ /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ /* https://github.com/jmblog/color-themes-for-highlightjs */ /* Atelier Lakesid...
{ "pile_set_name": "Github" }