text stringlengths 2 99.9k | meta dict |
|---|---|
//---------------------------------------------------------------------------//
// Copyright (c) 2015 Jakub Szuppe <j.szuppe@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boostorg.gi... | {
"pile_set_name": "Github"
} |
# Maintainer: Manuel Schmitzberger <mail@ms-sw.at>
pkgname=python-cppheaderparser
_name=CppHeaderParser
pkgver=2.7.4
pkgrel=3
pkgdesc="Parse C++ header files and generate a data structure representing the class"
arch=('any')
url="http://senexcanis.com/open-source/cppheaderparser"
license=('custom')
depends=('python-pl... | {
"pile_set_name": "Github"
} |
{-# OPTIONS_GHC -Wall #-}
module ElmFormat where
import Prelude hiding (putStr, putStrLn)
import System.Exit (ExitCode(..))
import System.Environment (getArgs)
import Messages.Types
import Messages.Formatter.Format
import Control.Monad.Free
import qualified CommandLine.Helpers as Helpers
import ElmVersion
import ElmF... | {
"pile_set_name": "Github"
} |
/* $Xorg: fontxlfd.h,v 1.4 2001/02/09 02:04:04 xorgcvs Exp $ */
/*
Copyright 1990, 1994, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that... | {
"pile_set_name": "Github"
} |
// Tencent is pleased to support the open source community by making RapidJSON available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License. You may obt... | {
"pile_set_name": "Github"
} |
<?php
namespace Illuminate\Tests\Routing;
use Illuminate\Routing\SortedMiddleware;
use PHPUnit\Framework\TestCase;
class RoutingSortedMiddlewareTest extends TestCase
{
public function testMiddlewareCanBeSortedByPriority()
{
$priority = [
'First',
'Second',
'Third',... | {
"pile_set_name": "Github"
} |
/*
*
* i2c-mux.h - functions for the i2c-bus mux support
*
* Copyright (c) 2008-2009 Rodolfo Giometti <giometti@linux.it>
* Copyright (c) 2008-2009 Eurotech S.p.A. <info@eurotech.it>
* Michael Lawnick <michael.lawnick.ext@nsn.com>
*
* This program is free software; you can redistribute it and/or modify
* it un... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <iTunesStoreUI/NSObject-Protocol.h>
@class NSError, SSRequest;
@protocol SSRequestDelegate <NSObject>
@optional
- (void)requestDidFinish:(SSRequest *)arg1;
- (void)reques... | {
"pile_set_name": "Github"
} |
Error: The number of nodes must be positive and at least 2 in one direction.
Quitting (on error).
| {
"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"
} |
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2013-2018, The Linux Foundation. All rights reserved.
*/
#ifndef _RMNET_MAP_H_
#define _RMNET_MAP_H_
#include <linux/if_rmnet.h>
struct rmnet_map_control_command {
u8 command_name;
u8 cmd_type:2;
u8 reserved:6;
u16 reserved2;
u32 transaction_id;
u... | {
"pile_set_name": "Github"
} |
JWasm is a MASM v6 compatible assembler. It's a fork of Open Watcom's WASM
and released under the Sybase Open Watcom Public License, which allows
free commercial and non-commercial use. JWasm is written in C, source code
is open.
JWasm Features:
- JWasm natively supports output formats Intel OMF, MS Coff (32- and
6... | {
"pile_set_name": "Github"
} |
require 'benchmark'
module ActiveSupport
# See ActiveSupport::Cache::Store for documentation.
module Cache
# Creates a new CacheStore object according to the given options.
#
# If no arguments are passed to this method, then a new
# ActiveSupport::Cache::MemoryStore object will be returned.
#
... | {
"pile_set_name": "Github"
} |
"""Ledger base class."""
import re
from abc import ABC, abstractmethod, ABCMeta
from typing import Tuple, Sequence
from ..issuer.base import BaseIssuer
from .endpoint_type import EndpointType
class BaseLedger(ABC, metaclass=ABCMeta):
"""Base class for ledger."""
LEDGER_TYPE = None
async def __aenter... | {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2011 Angelo Zerr <angelo.zerr@gmail.com>, Pascal Leclercq <pascal.leclercq@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
import torch
from detectron2.modeling import ROI_HEADS_REGISTRY, StandardROIHeads
from detectron2.modeling.poolers import ROIPooler
from detectron2.modeling.roi_heads import select_foreground_proposals
from .densepose_head... | {
"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.
Imports System.IO
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.Text
Imports Microsoft.CodeAnalysis.VisualBasic
Imports Microsoft.CodeAnalysis... | {
"pile_set_name": "Github"
} |
import { NAME_REGEX } from "../constants";
export default {
name: "correct-casing",
isObjectRule: false,
message: 'script name "{{name}}" must be camel case',
validate: (key: string) => NAME_REGEX.test(key),
};
| {
"pile_set_name": "Github"
} |
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAwRrWvzL0zR9OFg1ipRU+Pvd9v+WN4ILKxU2jxlutvZOevsyx
flzRNOQImejpdXEtA/yZTKNYOdU+dMdPDdSsMPFzRgzQfiJDKqJw4jB+SF2XROuZ
EYMjxoJtueAGnw1DO9tgzn40NtHrPJNKadrYljEF+zycNLcPf78GK/ug+5rK5Mkp
NVmxO4yjqxk5ZB3KD4Gol3RaheVKYmTfjNIAO0wk8O2NbvG/JxOPTpDSaElgpfdy
3Bxv4JJpjgNKrHEUYUqkwlqmrinT... | {
"pile_set_name": "Github"
} |
---
name: Bug report
about: Create a report to help us improve
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
**Expected behavior**
A clear and concise description of what you expected to happen.
**Environment (please complete the fol... | {
"pile_set_name": "Github"
} |
//! moment-timezone.js
//! version : 0.5.13
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
(function (root, factory) {
"use strict";
/*global define*/
if (typeof define === 'function' && define.amd) {
define(['moment'], factory); ... | {
"pile_set_name": "Github"
} |
# Copyright 2019, OpenCensus Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... | {
"pile_set_name": "Github"
} |
{
"name": "lifecycle_unittest_app",
"display_name": "Lifecycle Unittest App",
"interface_provider_specs": {
"service_manager:connector": {
"provides": {
"lifecycle_unittest:lifecycle_control": [
"service_manager::test::mojom::LifecycleControl"
]
}
}
}
}
| {
"pile_set_name": "Github"
} |
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from google.ads.google_ads.v3.proto.resources import ad_group_feed_pb2 as google_dot_ads_dot_googleads__v3_dot_proto_dot_resources_dot_ad__group__feed__pb2
from google.ads.google_ads.v3.proto.services import ad_group_feed_service_pb2 as ... | {
"pile_set_name": "Github"
} |
# https://docs.codecov.io/docs/codecov-yaml
# https://github.com/codecov/support/wiki/Codecov-Yaml
coverage:
status:
project:
default: false
patch:
default: false
ignore:
- "**/Mocks/*"
fixes:
- "build/src/::src/"
comment:
layout: "diff"
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<TRAPS>
<TRAP trap_type="ACTION"
trap_name="SERVICE_EXCEPTION_TRAP_ACTION"
name="serviceError" CATEGORY="serviceError"/>
<TRAP trap_type="ACTION"
trap_name="ENGINE_STARTUP_EXCEPTION_TRAP_ACTION"
name="startupError" CATEGORY="startupError"/> ... | {
"pile_set_name": "Github"
} |
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2005 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the L... | {
"pile_set_name": "Github"
} |
for(x in range [1,10)) {Fuck();}
| {
"pile_set_name": "Github"
} |
/*
* Copyright 2008 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | {
"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">
<array>
<string>Bird_01</string>
<string>Bird_02</string>
<string>Bird_03</string>
<string>Bird_04</string>
<string>Bird_05</string>
<string>Bird_06</... | {
"pile_set_name": "Github"
} |
<?php
session_start();
require "global_func.php";
if ($_SESSION['loggedin'] == 0)
{
header("Location: login.php");
exit;
}
$userid = $_SESSION['userid'];
require "header.php";
$h = new headers;
$h->startheaders();
include "mysql.php";
global $c;
$is =
mysql_query(
"SELECT u.*,us.* FROM ... | {
"pile_set_name": "Github"
} |
# 시작하기
## 소개
Electron은 자바스크립트와 함께 제공된 풍부한 네이티브 API를 사용하여 멋진 데스크탑
애플리케이션을 만들 수 있도록 해주는 프레임워크입니다. 이 프레임워크의 Node.js는 웹
서버 개발이 아닌 데스크탑 애플리케이션 개발에 초점을 맞췄습니다.
이 말은 Electron이 GUI 라이브러리의 자바스크립트 바인딩이라는 뜻이 아닙니다. 대신,
Electron은 웹 페이지의 GUI를 사용합니다. 쉽게 말해 Electron은 자바스크립트를 사용하여
조작하는 작은 Chromium 브라우저로 볼 수 있습니다.
### 메인 프로세스
Elect... | {
"pile_set_name": "Github"
} |
platform :ios,'7.0' # 运行平台
# Data
pod 'AFNetworking' # 网络请求
pod 'Reachability' # 检测网络状况
pod 'JSONModel' # JSON 和对象互转
pod 'FMDB' ... | {
"pile_set_name": "Github"
} |
// Nautilus
// Copyright (C) 2020 Daniel Teuchert, Cornelius Aschermann, Sergej Schumilo
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at yo... | {
"pile_set_name": "Github"
} |
package ml.combust.mleap.runtime.transformer.feature
import ml.combust.mleap.core.feature.NGramModel
import ml.combust.mleap.core.types._
import ml.combust.mleap.runtime.frame.{DefaultLeapFrame, Row}
import org.scalatest.FunSpec
/**
* Created by mikhail on 10/16/16.
*/
class NGramSpec extends FunSpec{
val schem... | {
"pile_set_name": "Github"
} |
cd src
if ! command -v nosetests ; then
echo >&2 'Testing networkx requires the package nose to be installed'
exit 1
fi
nosetests networkx -v
| {
"pile_set_name": "Github"
} |
<!doctype html>
<html>
<head>
<title>CodeMirror 2: Oracle PL/SQL mode</title>
<link rel="stylesheet" href="../../lib/codemirror.css">
<script src="../../lib/codemirror.js"></script>
<script src="plsql.js"></script>
<link rel="stylesheet" href="../../theme/default.css">
<link rel="stylesheet" h... | {
"pile_set_name": "Github"
} |
"death_prophet_spirit_siphon"
{
"challengetype" "192"
"desc" "#DOTA_ChallengeDesc_DeathProphetSpiritSiphon"
"requiredhero" "43"
"multi_query" "1"
"events"
{
"1"
{
"desc" "#DOTA_ChallengeDesc_DeathProphetSpiritSiphon_Sub1"
"status_text" "#DOTA_ChallengeStatusText_DeathProphetSpiritSiphon_Sub1"
"... | {
"pile_set_name": "Github"
} |
# This file is dual licensed under the terms of the Apache License, Version
# 2.0, and the BSD License. See the LICENSE file in the root of this repository
# for complete details.
from __future__ import absolute_import, division, print_function
from cryptography import utils
from cryptography.exceptions import Invali... | {
"pile_set_name": "Github"
} |
using Abp.Application.Editions;
using Abp.Application.Features;
using Abp.Domain.Repositories;
namespace Volo.PostgreSqlDemo.Editions
{
public class EditionManager : AbpEditionManager
{
public const string DefaultEditionName = "Standard";
public EditionManager(
IRepository<Edition... | {
"pile_set_name": "Github"
} |
#pragma once
#include "dxvk_include.h"
namespace dxvk {
class DxvkDataSlice;
/**
* \brief Data buffer
*
* Provides a fixed-size buffer with a linear memory
* allocator for arbitrary data. Can be used to copy
* data to or from resources. Note that allocations
* will be aligned to a cache l... | {
"pile_set_name": "Github"
} |
require 'sidekiq'
require 'sidekiq/fetch'
require 'redis_rate_limiter'
module Sidekiq::RateLimiter
DEFAULT_LIMIT_NAME =
'sidekiq-rate-limit'.freeze unless defined?(DEFAULT_LIMIT_NAME)
class Fetch < Sidekiq::BasicFetch
def retrieve_work
limit(super)
end
def limit(work)
message = JSON.p... | {
"pile_set_name": "Github"
} |
/*
* Generated by confdc --mib2yang-std
* Source: mgmt/dmi/model/common/mib-source/CISCO-IPSLA-JITTER-MIB.mib
*/
/*
* This YANG module has been generated by smidump 0.5.0:
*
* smidump -f yang CISCO-IPSLA-JITTER-MIB
*
* Do not edit. Edit the source file instead!
*/
module CISCO-IPSLA-JITTER-MIB {
names... | {
"pile_set_name": "Github"
} |
2 0 0 2
4 16 8 2
2 64 32 4
1024 1024 64 0
1
| {
"pile_set_name": "Github"
} |
#nullable disable // TODO: This code is moving to the VSTest adapter
#if NETFRAMEWORK
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Xunit.Sdk;
namespace Xunit
{
class DiaSessionWrapperHelper : LongLivedMarshalByRefO... | {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
require 'spec_helper'
describe 'my specs' do
it { expect(Class1.new).to be_a(Class1) }
it { expect(Class2.new).to be_a(Class2) }
end
| {
"pile_set_name": "Github"
} |
.ContactsLayout .panels {
//position: relative;
//left: 0%;
-webkit-transition: -webkit-transform 500ms ease 0s;
-moz-transition: -moz-transform 500ms ease 0s;
transition: transform 500ms ease 0s;
//.transition(left 500ms ease 0s);
&.list_active {
-webkit-transform: translateX(-100%);
-moz-tra... | {
"pile_set_name": "Github"
} |
Apache Maven is a software project management and comprehension tool. Based on
the concept of a project object model (POM), Maven can manage a project's
build, reporting and documentation from a central piece of information.
WWW: http://maven.apache.org/
| {
"pile_set_name": "Github"
} |
var loadRemoteResource = require('../reader/load-remote-resource');
function fetchFrom(callback) {
return callback || loadRemoteResource;
}
module.exports = fetchFrom;
| {
"pile_set_name": "Github"
} |
describe('jsonPath', function(){
describe('compiles valid syntax while rejecting invalid', function() {
it("compiles a basic pattern without throwing", function(){
expect(compiling('!')).not.toThrow();
});
describe("syntactically invalid patterns", function() {
it("fail on single invali... | {
"pile_set_name": "Github"
} |
/*!
Pure v1.0.0
Copyright 2013 Yahoo!
Licensed under the BSD License.
https://github.com/yahoo/pure/blob/master/LICENSE.md
*/
@media screen and (min-width: 35.5em) {
.pure-u-sm-1,
.pure-u-sm-1-1,
.pure-u-sm-1-2,
.pure-u-sm-1-3,
.pure-u-sm-2-3,
.pure-u-sm-1-4,
.pure-u-sm-3-4,
.pure-u-sm-1... | {
"pile_set_name": "Github"
} |
[
{
"kids":[],
"uid":"3044669284",
"parent":"Ag0Mo9mJz",
"text":"",
"mid":"AklBAfXF2",
"date":"2013-11-25 12:12:08"
},
{
"kids":[],
"uid":"3044204540",
"parent":"Ag0Mo9mJz",
"text":"",
"mid":"Akk8AquGq",
"date":"2013-11-25 08:27:57"
},
{
"kids":[],
"uid":"2920604422",
"parent":"Ag0Mo9mJz",
"text":"",
"mid":"AkjCugmRC",... | {
"pile_set_name": "Github"
} |
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "build.properties", and override values to adapt the script to your
# project struc... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env ruby
# TODO (temporary here, we'll move this into the Github issues once
# redis-trib initial implementation is completed).
#
# - Make sure that if the rehashing fails in the middle redis-trib will try
# to recover.
# - When redis-trib performs a cluster check, if it detects a slot move in
# p... | {
"pile_set_name": "Github"
} |
<?xml version='1.0' encoding='utf-8'?>
<nrml xmlns:gml="http://www.opengis.net/gml"
xmlns="http://openquake.org/xmlns/nrml/0.5">
<simpleFaultRupture>
<magnitude>6.7</magnitude>
<rake>90.0</rake>
<hypocenter lat="38.1124" lon="-122.0000" depth="10.0"/>
<simpleFaultGeometry>
<gml:LineString>
<gml... | {
"pile_set_name": "Github"
} |
/*
Copyright (C) 1997-2001 Id Software, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in th... | {
"pile_set_name": "Github"
} |
name follow.app
longname "Follow Me"
type appl, process, single
class FollowProcessClass
appobj FollowApp
tokenchars "FoMe"
tokenid 16431
platform gpc12
library geos
library ui
library ansic
library game
library sound
exempt game
exempt sound
resource AppResource object
resource Interface ob... | {
"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"
} |
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cdf="http://checklists.nist.gov/xccdf/1.1" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<!-- setting the external variable $notes ident... | {
"pile_set_name": "Github"
} |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.loiane.cursojava.aula17.labs;
import java.util.Scanner;
/**
*
* @author loiane
*/
public class Exer16 {
publ... | {
"pile_set_name": "Github"
} |
/**
* @fileoverview Require usage of specified node modules.
* @author Rich Trott
*/
'use strict';
var path = require('path');
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module... | {
"pile_set_name": "Github"
} |
const { expect } = require('chai');
const { captureConsoleInfo, captureConsoleWarn } = require('../capture_output');
const attention = require('../../lib/helpers/attention');
describe('attention helper', () => {
context('not in a TTY', () => {
it('has a working method info', () => {
const f = function () ... | {
"pile_set_name": "Github"
} |
/*
* Created on 20-Dec-2005
* Created by Paul Gardner
* Copyright (C) 2005, 2006 Aelitis, All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the... | {
"pile_set_name": "Github"
} |
<!DOCTYPE HTML>
<html>
<head>
<title> 可编辑表格</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../assets/css/dpl-min.css" rel="stylesheet" type="text/css" />
<link href="../assets/css/bui-min.css" rel="stylesheet" type="text/css" />
<link href="../assets/css/p... | {
"pile_set_name": "Github"
} |
form=七律
tags=
一别三年长在梦,
梦中时蹑石棱层。
泉声入夜方堪听,
山色逢秋始好登。
岩鹿惯随锄药叟,
溪鸥不怕洗苔僧。
人间有许多般事,
求要身闲直未能。
| {
"pile_set_name": "Github"
} |
module.exports = {
plugins: ["gatsby-theme-mdx-deck", "gatsby-plugin-react-helmet"]
};
| {
"pile_set_name": "Github"
} |
# Copyright 2015 Tesora Inc.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by a... | {
"pile_set_name": "Github"
} |
/**
* @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'placeholder', 'de-ch', {
title: 'Platzhaltereinstellungen',
toolbar: 'Platzhalter',
name: 'Platzhaltername',
... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Customer\Model;
use Magento\Framework\Exception\InvalidEmailOrPasswordException;
use Magento\Framework\Exception\State\UserLockedException;
/**
* Interface \Magento\Customer\Model\AuthenticationI... | {
"pile_set_name": "Github"
} |
# Spike.cfg
$sprite_factory = generic_sprite
@$sprite_scripts = Spike.as;
Stone.as;
$sprite_texture = Spike.png
s32_sprite_frame_width = 8
s32_sprite_frame_height ... | {
"pile_set_name": "Github"
} |
// RUN: rm -rf %t
// RUN: %clang_cc1 -objcmt-migrate-literals -objcmt-migrate-subscripting -mt-migrate-directory %t %s -x objective-c++
// RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c++ %s.resul... | {
"pile_set_name": "Github"
} |
Cyclic_Animation=On
Width=12
Height=12
Final_frame=16 ;; NR_ROTS
Antialias=On
Output_Alpha=On
Output_to_File=On
Output_File_Type=n
Input_File_Name=bits.pov
| {
"pile_set_name": "Github"
} |
/**
* @license
* Copyright 2018 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 ... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CMSIS-DSP: Data Fie... | {
"pile_set_name": "Github"
} |
## 题目
输入一个整数,输出该数二进制表示中1的个数。其中负数用补码表示。
## 分析
这是一道考察二进制的题目
二进制或运算符`(or)`:符号为|,表示若两个二进制位都为`0`,则结果为`0`,否则为`1`。
二进制与运算符`(and)`:符号为&,表示若两个二进制位都为`1`,则结果为`1`,否则为`0`。
二进制否运算符`(not)`:符号为~,表示对一个二进制位取反。
异或运算符`(xor)`:符号为^,表示若两个二进制位不相同,则结果为1,否则为0
左移运算符`m << n `表示把m左移n位,左移n位的时候,最左边的n位将被丢弃,同时在最右边补上`n`个`0`,比如:
```js
00001010... | {
"pile_set_name": "Github"
} |
---
name: "lux-win-2.2"
enable_cache: true
suites:
- "trusty"
architectures:
- "amd64"
packages:
- "curl"
- "g++"
- "git-core"
- "pkg-config"
- "autoconf"
- "libtool"
- "automake"
- "faketime"
- "bsdmainutils"
- "mingw-w64"
- "g++-mingw-w64"
- "nsis"
- "zip"
- "ca-certificates"
- "python"
remotes:
- "url": "https://gi... | {
"pile_set_name": "Github"
} |
# Use only the built-in Error object
### One Paragraph Explainer
The permissive nature of JS along with its variety code-flow options (e.g. EventEmitter, Callbacks, Promises, etc) pushes to great variance in how developers raise errors – some use strings, other define their own custom types. Using Node.js built-in Er... | {
"pile_set_name": "Github"
} |
/**
* The `Matter` module is the top level namespace. It also includes a function for installing plugins on top of the library.
*
* @class Matter
*/
var Matter = {};
module.exports = Matter;
var Plugin = require('./Plugin');
var Common = require('./Common');
(function() {
/**
* The library... | {
"pile_set_name": "Github"
} |
#! /usr/bin/env python3
"""Tool for measuring execution time of small code snippets.
This module avoids a number of common traps for measuring execution
times. See also Tim Peters' introduction to the Algorithms chapter in
the Python Cookbook, published by O'Reilly.
Library usage: see the Timer class.
Command line... | {
"pile_set_name": "Github"
} |
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs defs_darwin.go
package ipv6
const (
sysIPV6_UNICAST_HOPS = 0x4
sysIPV6_MULTICAST_IF = 0x9
sysIPV6_MULTICAST_HOPS = 0xa
sysIPV6_MULTICAST_LOOP = 0xb
sysIPV6_JOIN_GROUP = 0xc
sysIPV6_LEAVE_GROUP = 0xd
sysIPV6_PORTRANGE = 0xe
sysICM... | {
"pile_set_name": "Github"
} |
// Shared variables and mixins
@import
"../global/var" // global variables
, "../bootstrap/bootstrap/mixins" // Bootstrap mixins
, "../bourbon/bourbon" // mixins
;
@import
// Core CSS
"components/scaffolding"
, "components/grid"
, "components/type"
, ... | {
"pile_set_name": "Github"
} |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package runtime
import (
"internal/bytealg"
"unsafe"
)
// The constant is known to the compiler.
// There is no fundamental theory behind this number.
const... | {
"pile_set_name": "Github"
} |
<?php
class LeagueController extends Controller
{
/**
* @desc 添加球队
*/
public function actionAddTeam(){
$masterId = CommonFunction::getUserId();
$leagueId = Yii::app()->request->getPost('leagueId');
$teamId = Yii::app()->request->getPost('teamId');
if(empty($leagueId) || empty($teamId)){
CommonFu... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="ASCII"?><!--This file was created automatically by html2xhtml--><!--from the HTML stylesheets.--><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
<!-- ********************************************************************
... | {
"pile_set_name": "Github"
} |
<?php
/**
* GetSimple API Handler
*
* @package GetSimple
* @subpackage API
*/
include('inc/common.php');
include('inc/api.class.php');
#step 1 - check for post
if (empty($_POST)) exit;
if (!getDef('GSEXTAPI',true)) exit;
// disable libxml error output
if(!isDebug()) libxml_use_internal_errors(true);
/... | {
"pile_set_name": "Github"
} |
// cgo -godefs types_aix.go | go run mkpost.go
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build ppc64,aix
package unix
const (
SizeofPtr = 0x8
SizeofShort = 0x2
SizeofInt = 0x4
SizeofLong = 0x8
SizeofLongLong = 0x8
PathMax = 0x3ff
)
type (
_C_short int... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
* All rights reserved
* www.brocade.com
*
* Linux driver for Brocade Fibre Channel Host Bus Adapter.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License (GPL) Version 2 a... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2020 Precog Data
*
* 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 ... | {
"pile_set_name": "Github"
} |
using EventStore.Core.Messages;
using EventStore.Core.Messaging;
using EventStore.Core.Services.TimerService;
using EventStore.Core.Tests.Helpers;
using EventStore.Core.Tests.Services.TimeService;
using EventStore.Core.Util;
using EventStore.Projections.Core.Messages;
using EventStore.Projections.Core.Services;
using ... | {
"pile_set_name": "Github"
} |
// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build arm mips mipsle 386
// +build linux
package socket
import "unsafe"
func (h *msghdr) setIov(vs []iovec) {
l := len(vs)
if l == 0 {
return
}
h.... | {
"pile_set_name": "Github"
} |
#
# setup.rb
#
# Copyright (c) 2000-2005 Minero Aoki
#
# This program is free software.
# You can distribute/modify this program under the terms of
# the GNU LGPL, Lesser General Public License version 2.1.
#
unless Enumerable.method_defined?(:map) # Ruby 1.4.6
module Enumerable
alias map collect
end
end
un... | {
"pile_set_name": "Github"
} |
'use strict';
var path = require('path');
var fileRe = require('filename-regex');
var win32 = process && process.platform === 'win32';
/**
* Expose `utils`
*/
var utils = module.exports;
utils.filename = function filename(fp) {
var seg = fp.match(fileRe());
return seg && seg[0];
};
utils.isPath = function i... | {
"pile_set_name": "Github"
} |
DROP TABLE IF EXISTS TEST;
| {
"pile_set_name": "Github"
} |
package pflag
import (
"fmt"
"strconv"
)
// optional interface to indicate boolean flags that can be
// supplied without "=value" text
type boolFlag interface {
Value
IsBoolFlag() bool
}
// -- bool Value
type boolValue bool
func newBoolValue(val bool, p *bool) *boolValue {
*p = val
return (*boolValue)(p)
}
f... | {
"pile_set_name": "Github"
} |
<?php
/**
* Translation file
*
* Note: don't change the return array to short notation because Transifex can't handle those during `tx push -s`
*/
return array(
'notifications:subscriptions:personal:description' => 'Ricevi notifiche quando si svolgono azioni sui tuoi contenuti',
'notifications:subscriptions:per... | {
"pile_set_name": "Github"
} |
.. Node embedding models
.. _DeepWalk: https://arxiv.org/pdf/1403.6652.pdf
.. _LINE: https://arxiv.org/pdf/1503.03578.pdf
.. _node2vec: https://www.kdd.org/kdd2016/papers/files/rfp0218-groverA.pdf
.. Knowledge graph embedding models
.. _TransE: http://papers.nips.cc/paper/5071-translating-embeddings-for-modeling-multi... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke
android:width="1dp"
android:color="@color/wikivoyage_card_divider_dark"/>
<corners android:radius="3dp"/>
</shape>
| {
"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 TestBundle\Fabpot\FooBundle\Controller;
/**
* DefaultController.
*
*... | {
"pile_set_name": "Github"
} |
// Spinning Icons
// --------------------------
.@{fa-css-prefix}-spin {
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear;
}
@-webkit-keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform:... | {
"pile_set_name": "Github"
} |
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package translate
const (
// ErrCodeDetectedLanguageLowConfidenceException for service response error code
// "DetectedLanguageLowConfidenceException".
//
// The confidence that Amazon Comprehend accurately detected the source language
// is l... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.