text stringlengths 2 99.9k | meta dict |
|---|---|
-- # Problem: https://www.hackerrank.com/challenges/revising-the-select-query-2/problem
-- # Score: 10
SELECT NAME
FROM CITY
WHERE
COUNTRYCODE = 'USA'
AND POPULATION > 120000;
| {
"pile_set_name": "Github"
} |
# frozen_string_literal: true
FactoryBot.define do
factory :tag do
end
end
| {
"pile_set_name": "Github"
} |
// This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the li... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2011 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | {
"pile_set_name": "Github"
} |
using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("AzureMessagingSampleAndroid")]
[assembly: AssemblyDescription ("")]
[assembly... | {
"pile_set_name": "Github"
} |
var searchData=
[
['x',['x',['../structtjregion.html#a4b6a37a93997091b26a75831fa291ad9',1,'tjregion']]]
];
| {
"pile_set_name": "Github"
} |
package MusicBrainz::Server::Test::WS;
use strict;
use warnings;
use base 'Exporter';
use Readonly;
use MusicBrainz::Server::Test ws_test => { version => 2 };
use MusicBrainz::Server::Test ws_test_json => { version => 2 };
our @EXPORT_OK = qw(
ws2_test_json
ws2_test_json_forbidden
ws2_test_json_unauthori... | {
"pile_set_name": "Github"
} |
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace spec\Sylius\Bundle\UiBundle\Registry;
use PhpSpec\ObjectBehavior;... | {
"pile_set_name": "Github"
} |
#!/usr/bin/ruby
eval"X,Y,*A="+`dd`.split*?,;p 1.<<A.any?(&:odd?)?~-X : Y>0?-1:X
| {
"pile_set_name": "Github"
} |
prefix ex: <http://www.example.org/schema#>
prefix in: <http://www.example.org/instance#>
select * where {
in:a (ex:p1/ex:p2)+ ?x
}
| {
"pile_set_name": "Github"
} |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | {
"pile_set_name": "Github"
} |
# This file is part of the Sylius package.
# (c) Paweł Jędrzejewski
sylius:
form:
currency:
base: Basis-Währung
code: Name
enabled: Aktiviert
exchange_rate: Wechselkurs
exchange_rate:
source_currency: Quellwährung
target_curren... | {
"pile_set_name": "Github"
} |
/*
* #%L
* **********************************************************************
* ORGANIZATION : Pi4J
* PROJECT : Pi4J :: Java Examples
* FILENAME : I2CExample.java
*
* This file is part of the Pi4J project. More information about
* this project can be found here: https://www.pi4j.com/
* ****... | {
"pile_set_name": "Github"
} |
package leetcode.algo.a;
import java.util.ArrayList;
import java.util.List;
/**
* We had some 2-dimensional coordinates, like "(1, 3)" or "(2, 0.5)". Then, we removed all commas, decimal points, and spaces, and ended up with the string S. Return a list of strings representing all possibilities for what our origina... | {
"pile_set_name": "Github"
} |
//---------------------------------------------------------------------------//
// Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@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://boos... | {
"pile_set_name": "Github"
} |
@import (reference) 'icons';
@import (reference) '../../app/less/app';
.no-backup-no-money {
.icon {
background: @slide-backup-icon no-repeat center center;
background-size: cover;
width: 260px;
height: 216px;
margin: 0 auto 25px;
}
}
.no-backup-no-money-modal {
padding: 40px 50px 0 50px;
... | {
"pile_set_name": "Github"
} |
// Embeds responsive
//
// Credit: Nicolas Gallagher and SUIT CSS.
.embed-responsive {
position: relative;
display: block;
height: 0;
padding: 0;
overflow: hidden;
.embed-responsive-item,
iframe,
embed,
object,
video {
position: absolute;
top: 0;
left: 0;
bottom: 0;
height: 100... | {
"pile_set_name": "Github"
} |
<?php
/**
* List Table API: WP_Links_List_Table class
*
* @package WordPress
* @subpackage Administration
* @since 3.1.0
*/
/**
* Core class used to implement displaying links in a list table.
*
* @since 3.1.0
* @access private
*
* @see WP_List_Tsble
*/
class WP_Links_List_Table extends WP_List_Table {
... | {
"pile_set_name": "Github"
} |
import { Injectable } from '@angular/core';
import moment from 'moment';
import { MetricQueryConfig, MetricsAction } from '../../../../store/src/actions/metrics.actions';
import { IMetrics } from '../../../../store/src/types/base-metric.types';
import { MetricQueryType } from '../../../../store/src/types/metric.types'... | {
"pile_set_name": "Github"
} |
// mkerrors.sh -m64
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// +build sparc64,linux
// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs -- -m64 _const.go
package unix
import "syscall"
const (
AF_ALG = 0x26
AF_APPLETALK = 0x5
AF_ASH ... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
using Kitware.VTK;
namespace ActiViz.Examples {
public partial class Form1 : Form {
public Form1() {
InitializeComponent();
}
private void... | {
"pile_set_name": "Github"
} |
// Copyright (c) 2016 - 2017 Settlers Freaks (sf-team at siedler25.org)
//
// This file is part of Return To The Roots.
//
// Return To The Roots 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 versio... | {
"pile_set_name": "Github"
} |
<?php
declare(strict_types=1);
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\Component\Event;
use... | {
"pile_set_name": "Github"
} |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.editor.colors;
import com.intellij.ide.ui.UISettings;
import com.intellij.ide.ui.UISettingsListener;
import com.intellij.ui.ColorUtil;
import com.int... | {
"pile_set_name": "Github"
} |
setwd(normalizePath(dirname(R.utils::commandArgs(asValues=TRUE)$"f")))
source("../../scripts/h2o-r-test-setup.R")
rtest <- function() {
hdfs_name_node = HADOOP.NAMENODE
hdfs_data_file = "/datasets/airlinesbillion.csv"
#----------------------------------------------------------------------
# Single file cases.
#----... | {
"pile_set_name": "Github"
} |
module.exports = 'whatever';
| {
"pile_set_name": "Github"
} |
.class final Lcom/google/android/gms/common/images/ImageManager$d;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/gms/common/images/ImageManager;
.end annotation
.annotation system Ldalvik/an... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?><module codename="org.netbeans.modules.keyring.fallback">
<module_version install_time="1410360532664" last="true" origin="installer" specification_version="1.3.1">
<file crc="1307470414" name="config/Modules/org-netbeans-modules-keyring-fallback.xml"/>
<file... | {
"pile_set_name": "Github"
} |
/*
* Marvell PXA25x family clocks
*
* Copyright (C) 2014 Robert Jarzmik
*
* Heavily inspired from former arch/arm/mach-pxa/pxa25x.c.
*
* 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; ve... | {
"pile_set_name": "Github"
} |
///////////////////////////////////////////////////////////////////////////////////
/// OpenGL Mathematics (glm.g-truc.net)
///
/// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net)
/// Permission is hereby granted, free of charge, to any person obtaining a copy
/// of this software and associated documentatio... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/license... | {
"pile_set_name": "Github"
} |
// Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2008 Steven Watanabe
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE... | {
"pile_set_name": "Github"
} |
/*
Copyright 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, softw... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
</head>
<#assign ctx=(rc.getContextPath())!''>
<nav class="navbar-default navbar-side" role="navigation">
<div class="sidebar-collapse">
<ul class="nav" id="main-menu">
<li>
<a class="active-menu" href="${ctx}/home"><i cla... | {
"pile_set_name": "Github"
} |
"======================================================================
|
| MD5 class declarations
|
|
======================================================================"
"======================================================================
|
| Copyright 2001, 2005, 2007, 2008 Free Software Foundation, Inc.
|... | {
"pile_set_name": "Github"
} |
/*
*
* Copyright (c) 2004
* John Maddock
*
* Use, modification and distribution are subject to the
* Boost Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*
*/
/*
* LOCATION: see http://www.boost.org for most recent... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2016 Qiscus.
~
~ 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
~
~... | {
"pile_set_name": "Github"
} |
<?php
/**
* Created by IntelliJ IDEA.
* User: luwei
* Date: 2017/7/18
* Time: 14:08
*/
namespace app\modules\api\controllers;
class PayNotifyController extends Controller
{
//微信支付结果通知
public function actionWechat()
{
}
} | {
"pile_set_name": "Github"
} |
'use strict';
var common = require('../common');
describe('Helper', function () {
describe('secondsToHuman', function () {
jsc.property('returns an array with a number and a word', 'integer', function (number) {
var result = $.PrivateBin.Helper.secondsToHuman(number);
return Array.i... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
#import <ShareSheet/NSSecureCoding-Protocol.h>
@class NSArray, NSDictionary, NSMutableDictionary;
@interfa... | {
"pile_set_name": "Github"
} |
{% macro test_assert_equal(model, actual, expected) %}
select count(*) from {{ model }} where {{ actual }} != {{ expected }}
{% endmacro %}
{% macro test_not_empty_string(model, arg) %}
{% set column_name = kwargs.get('column_name', kwargs.get('arg')) %}
select count(*) from {{ model }} where {{ column_name }} =... | {
"pile_set_name": "Github"
} |
<?php
namespace Sabberworm\CSS\Value;
class Color extends CSSFunction {
public function __construct($aColor, $iLineNo = 0) {
parent::__construct(implode('', array_keys($aColor)), $aColor, ',', $iLineNo);
}
public function getColor() {
return $this->aComponents;
}
public function setColor($aColor) {
$thi... | {
"pile_set_name": "Github"
} |
<?php
namespace Yoast\WP\SEO\Routes;
use WP_REST_Request;
use WP_REST_Response;
use Yoast\WP\SEO\Actions\Indexables\Indexable_Head_Action;
use Yoast\WP\SEO\Conditionals\Headless_Rest_Endpoints_Enabled_Conditional;
use Yoast\WP\SEO\Main;
/**
* Head route for indexables.
*/
class Indexables_Head_Route implements Rou... | {
"pile_set_name": "Github"
} |
#define ctb_width 50
#define ctb_height 16
static char ctb_bits[] = {
0x00, 0x1e, 0xfc, 0x0f, 0x00, 0x00, 0x00, 0x80, 0xb3, 0xc5, 0x08, 0x00,
0x00, 0x00, 0xe0, 0xc0, 0xc1, 0x08, 0xfc, 0x0f, 0x00, 0x70, 0xc0, 0xc1,
0x08, 0x30, 0x18, 0x00, 0x30, 0x80, 0xc0, 0x00, 0x30, 0x18, 0x00, 0x18,
0x80, 0xc0, 0x00, 0x18... | {
"pile_set_name": "Github"
} |
CONFIG_ARM=y
CONFIG_TARGET_SPEAR320=y
CONFIG_SYS_TEXT_BASE=0x00700000
CONFIG_IDENT_STRING="-SPEAr"
CONFIG_NR_DRAM_BANKS=1
CONFIG_SYS_EXTRA_OPTIONS="SPEAR320,USBTTY"
CONFIG_BOOTDELAY=-1
CONFIG_USE_BOOTARGS=y
CONFIG_BOOTARGS="console=ttyAMA0,115200 mem=128M root=/dev/mtdblock7 rootfstype=jffs2"
CONFIG_SYS_CONSOLE_INFO_QU... | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright (C) 2012-2020 GEM Foundation
#
# OpenQuake 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 Licen... | {
"pile_set_name": "Github"
} |
from setuptools import setup, find_packages
setup(
name="ns.real",
version="0.1.dev0",
description="ns Test Fixture",
author="Martijn Faassen",
author_email="faassen@startifact.com",
license="BSD",
namespace_packages=["ns"],
packages=find_packages(),
zip_safe=False,
install_requ... | {
"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"
} |
<?php
$globalString = 'Hello';
$globalIntTruthy = 1;
$globalIntFalsey = 0;
$globalFloat = 1.123;
$globalBoolTrue = true;
$globalBoolFalse = false;
$globalNull ... | {
"pile_set_name": "Github"
} |
From dfea82b761b2ea4708fbf9370a5467ae4be525ca Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Mon, 29 May 2017 23:03:48 +0300
Subject: [PATCH] Add a --{enable,disable}-progs configure option
Add a --{enable,disable}-progs configuration option to elfutils. This
allows to sele... | {
"pile_set_name": "Github"
} |
@model object
@Html.Kendo().TextBoxFor(model => model) | {
"pile_set_name": "Github"
} |
// Copyright 2007, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions ... | {
"pile_set_name": "Github"
} |
(defparameter *x* nil "nothing")
| {
"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>Author</key>
<string>depingzheng</string>
<key>CodecID</key>
<integer>20561</integer>
<key>CodecName</key>
<string>CX20561</string>
<key>... | {
"pile_set_name": "Github"
} |
/* match.S -- x86 assembly version of the zlib longest_match() function.
* Optimized for the Intel 686 chips (PPro and later).
*
* Copyright (C) 1998, 2007 Brian Raiter <breadbox@muppetlabs.com>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the author be held ... | {
"pile_set_name": "Github"
} |
import pymysql
import unittest
class PyMySQLTestCase(unittest.TestCase):
# Edit this to suit your test environment.
databases = [
{"host":"localhost","user":"root",
"passwd":"","db":"test_pymysql", "use_unicode": True},
{"host":"localhost","user":"root","passwd":"","db":"test_pymysql2"... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsof... | {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<!--
-
- $Id$
-
- This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
- project.
-
- Copyright (C) 1998-2020 OpenLink Software
-
- This project is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as ... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2012 Red Hat Inc.
*
* 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, publish, d... | {
"pile_set_name": "Github"
} |
/**
* Detect Electron renderer process, which is node, but we should
* treat as a browser.
*/
if (typeof process !== 'undefined' && process.type === 'renderer') {
module.exports = require('./browser.js');
} else {
module.exports = require('./node.js');
}
| {
"pile_set_name": "Github"
} |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/ComputeType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue... | {
"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"
} |
// Copyright 2015 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | {
"pile_set_name": "Github"
} |
The Flutter Gallery sample application that used to live in
this /examples/ directory has moved, and is now located here:
https://github.com/flutter/gallery
| {
"pile_set_name": "Github"
} |
%include "x86_64/unused.S"
| {
"pile_set_name": "Github"
} |
# column
A new Flutter application.
## Getting Started
For help getting started with Flutter, view our online
[documentation](https://flutter.io/).
| {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __PERF_STATS_H
#define __PERF_STATS_H
#include <linux/types.h>
#include <stdio.h>
#include "xyarray.h"
#include "rblist.h"
struct stats
{
double n, mean, M2;
u64 max, min;
};
enum perf_stat_evsel_id {
PERF_STAT_EVSEL_ID__NONE = 0,
PERF_STAT_EVSEL_ID__CYCLES_IN_TX,
... | {
"pile_set_name": "Github"
} |
//
// SecondViewController.m
// NinaPagerView
//
// Created by RamWire on 15/11/13.
// Copyright © 2015年 RamWire. All rights reserved.
//
#import "SecondViewController.h"
#import "UIParameter.h"
@interface SecondViewController ()
@end
@implementation SecondViewController
- (void)viewDidLoad {
[super viewDid... | {
"pile_set_name": "Github"
} |
######################## BEGIN LICENSE BLOCK ########################
# The Original Code is Mozilla Communicator client code.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1998
# the Initial Developer. All Rights R... | {
"pile_set_name": "Github"
} |
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "Automatically stop or terminate EC2 instances that have a specific tag and degraded instance-store performance using Amazon Cloudwatch events and AWS Lambda",
"Metadata": {
"LICENSE": "Copyright 2016 Amazon Web Services, Inc. or its affilia... | {
"pile_set_name": "Github"
} |
require 'net/http'
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
module Integrations #:nodoc:
module Pay19
class Notification < ActiveMerchant::Billing::Integrations::Notification
def complete?
"Y" == params["result"]
end
def received_at
... | {
"pile_set_name": "Github"
} |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: Bruno Lowagie, Paulo Soares, et al.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation wit... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<title>Facebook Login JavaScript Example</title>
<meta charset="UTF-8">
<script src="https://autobahn.s3.amazonaws.com/autobahnjs/latest/autobahn.min.jgz"></script>
</head>
<body>
<script>
//Create a deferred token that will get sent to the WAMP router
var deferredToke... | {
"pile_set_name": "Github"
} |
<!-- BEGIN: main -->
<ul class="menu">
<!-- BEGIN: footer_menu -->
<li>
<a href="{FOOTER_MENU.link}">{FOOTER_MENU.title}</a>
</li>
<!-- END: footer_menu -->
</ul>
<!-- END: main --> | {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
import h2.settings
from h2.frame_buffer import FrameBuffer
from h2.connection import ConnectionState
from hyperframe.frame import (
Frame, DataFrame, RstStreamFrame, SettingsFrame, PushPromiseFrame,
WindowUpdateFrame, HeadersFrame, ContinuationFrame, GoAwayFrame,
PingFrame, FRAME_MA... | {
"pile_set_name": "Github"
} |
/** Grammar from tour chapter augmented with actions */
grammar Expr;
@header {
}
@parser::members {
@property
def memory(self):
if not hasattr(self, '_map'):
setattr(self, '_map', {})
return self._map
@memory.setter
def memory_setter(self, value):
if not hasattr(self, '_map'):
setatt... | {
"pile_set_name": "Github"
} |
# Readme - Code Samples for Chapter 15, Asynchronous Programming
This chapter contains these samples:
* AsyncHistory
* Foundations (changing synchronous methods to async, continuation)
* ErrorHandling (error handling with async methods)
* AsyncWindowsApp (synchronous .vs. asynchronous, using the asynchronous pattern,... | {
"pile_set_name": "Github"
} |
// Debugging deque implementation -*- C++ -*-
// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Pub... | {
"pile_set_name": "Github"
} |
%YAML1.2
---
# 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
# distri... | {
"pile_set_name": "Github"
} |
// RUN: %not %neal-fixture | %check
import * from "./base.rules"
// CHECK: warning: No random numbers
// CHECK: error: No force unwrap
| {
"pile_set_name": "Github"
} |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/MusicCarDisplayUI.framework/MusicCarDisplayUI
*/
@interface MCDQueryDataSource : MPUCompletionQueryDataSource {
MPMediaPredicate * _localPredicate;
}
- (void).cxx_destruct;
- (void)_predicateBehaviorsChangedNotification:(id)arg1;
- (id)_q... | {
"pile_set_name": "Github"
} |
/// Copyright (c) 2009 Microsoft Corporation
///
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met:
/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
/// ... | {
"pile_set_name": "Github"
} |
import json
from httpretty import HTTPretty
from ...exceptions import AuthFailed
from .oauth import OAuth2Test
class GitLabOAuth2Test(OAuth2Test):
backend_path = 'social_core.backends.gitlab.GitLabOAuth2'
user_data_url = 'https://gitlab.com/api/v4/user'
expected_username = 'foobar'
access_token_bod... | {
"pile_set_name": "Github"
} |
package com.thoughtworks.qdox.library;
/*
* 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 Licen... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `BITS` constant in crate `core`.">
<meta name="keywords" co... | {
"pile_set_name": "Github"
} |
{% extends "_layout.njk" %}
{% block css %}
<link rel="stylesheet" type="text/css" href="{{ url_for("css/page.css") }}">
<link rel="stylesheet" type="text/css" href="{{ url_for("css/post.css") }}">
{% endblock %}
{% block title %}{{ __(page.title) }} | {{ config.title }}{% if config.subtitle %} - {{ config.subtitle }... | {
"pile_set_name": "Github"
} |
#ifndef UI_CONTROL_SCROLLBAR_H_
#define UI_CONTROL_SCROLLBAR_H_
#pragma once
namespace ui
{
class UILIB_API ScrollBar : public Control
{
public:
ScrollBar();
Box* GetOwner() const;
void SetOwner(ScrollableBox* pOwner);
virtual void SetEnabled(bool bEnable = true) override;
virtual void SetFocus() override;
v... | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x",
"filename" : "Article List.png"
},
{
"idiom" : "universal",
"scale" : "2x",
"filename" : "Article List@2x.png"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : ... | {
"pile_set_name": "Github"
} |
#pragma once
#include "geometrycentral/surface/simple_polygon_mesh.h"
namespace geometrycentral {
namespace surface {
using PolygonSoupMesh = SimplePolygonMesh;
} // namespace surface
} // namespace geometrycentral
| {
"pile_set_name": "Github"
} |
namespace ClassLib091
{
public class Class015
{
public static string Property => "ClassLib091";
}
}
| {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<package >
<metadata>
<id>nanoFramework.Targets.ORGPAL_PALTHREE</id>
<title>nanoFramework.Targets.ORGPAL_PALTHREE</title>
<version>1.0.0</version>
<authors>nanoFramework project contributors</authors>
<owners>nanoFramework project contributors</owners>
<requireLicenseAcce... | {
"pile_set_name": "Github"
} |
package com.ctrip.framework.cs.enterprise;
import com.ctrip.framework.cs.component.Refreshable;
import java.util.List;
import java.util.Map;
import java.util.Properties;
/**
* Created by jiang.j on 2016/10/19.
*/
public interface EnApp extends Refreshable {
String getVersion();
String getName();
String... | {
"pile_set_name": "Github"
} |
//
// SKScene.h
// SpriteKit
//
// Copyright (c) 2011 Apple Inc. All rights reserved.
//
#import <SpriteKit/SKCameraNode.h>
#import <SpriteKit/SKEffectNode.h>
#import <SpriteKit/SpriteKitBase.h>
#if SKVIEW_AVAILABLE
@class SKView;
#endif
@class SKPhysicsWorld, AVAudioEngine;
NS_ASSUME_NONNULL_BEGIN
typedef NS_E... | {
"pile_set_name": "Github"
} |
{
"scenario": "Verify exclude property without using relative path",
"projectRoot": "tests/cases/projects/projectOption/SpecifyExcludeWithOutUsingRelativePathWithAllowJS",
"baselineCheck": true
} | {
"pile_set_name": "Github"
} |
<CPackWiXPatch>
<CPackWiXFragment Id="CM_CP_Driver.bin.odfesqlodbc.dll">
<!-- Add driver entry in Software -->
<RegistryKey Root="HKLM" Key="SOFTWARE\Amazon\ODFE SQL ODBC Driver\Driver" >
<RegistryValue Type="string" Name="InstallPath" Value="[INSTALL_ROOT]" />
<RegistryValue Type="string" Name="LogLevel" Va... | {
"pile_set_name": "Github"
} |
// g_utils.c -- misc utility functions for game module
#include "g_local.h"
void G_ProjectSource (vec3_t point, vec3_t distance, vec3_t forward, vec3_t right, vec3_t result)
{
result[0] = point[0] + forward[0] * distance[0] + right[0] * distance[1];
result[1] = point[1] + forward[1] * distance[0] + right[1] * dist... | {
"pile_set_name": "Github"
} |
/*******************************************************************************
Intel 10 Gigabit PCI Express Linux driver
Copyright(c) 1999 - 2013 Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
ver... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | {
"pile_set_name": "Github"
} |
{
"images": [
{
"filename": "ic_remove_circle_outline.png",
"idiom": "universal",
"scale": "1x"
},
{
"filename": "ic_remove_circle_outline_2x.png",
"idiom": "universal",
"scale": "2x"
},
{
"fi... | {
"pile_set_name": "Github"
} |
module.exports = {
"default": require("core-js/library"),
__esModule: true
};
| {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.