text stringlengths 2 99.9k | meta dict |
|---|---|
import smart_imports
smart_imports.all()
@utils_jinja2.jinjaglobal
def sorted_recipients(recipients_ids, accounts):
recipients = [accounts[recipient_id] for recipient_id in recipients_ids]
recipients.sort(key=lambda account: account.nick_verbose)
return recipients
@utils_jinja2.jinjaglobal
def new_mes... | {
"pile_set_name": "Github"
} |
/*-
* Copyright (c) 2009-2011 Michihiro NAKAJIMA
* 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 lis... | {
"pile_set_name": "Github"
} |
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "CocoaTextView.h"
#include "CocoaWindow.h"
#include "CocoaThread.h"
@implementation FCocoaTextView
- (id)initWithFrame:(NSRect)frame
{
SCOPED_AUTORELEASE_POOL;
self = [super initWithFrame:frame];
if (self)
{
// Initialization code here.
IM... | {
"pile_set_name": "Github"
} |
// Copyright 2011 Shinichiro Hamaji. 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 con... | {
"pile_set_name": "Github"
} |
java -jar Uninstaller/uninstaller.jar
| {
"pile_set_name": "Github"
} |
> eclipse skip-parents=false
> verifyScalaSettingsSuba
> verifyScalaSettingsSubb
| {
"pile_set_name": "Github"
} |
// Written by Jürgen Moßgraber - mossgrabers.de
// (c) 2017-2020
// Licensed under LGPLv3 - http://www.gnu.org/licenses/lgpl-3.0.txt
package de.mossgrabers.framework.graphics;
/**
* Interface to pre-calculated grid dimensions.
*
* @author Jürgen Moßgraber
*/
public interface IGraphicsDimensi... | {
"pile_set_name": "Github"
} |
/* Community attribute related functions.
Copyright (C) 1998, 2001 Kunihiro Ishiguro
This file is part of GNU Zebra.
GNU Zebra 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, or (at your opt... | {
"pile_set_name": "Github"
} |
using UnityEngine;
using UnityEditor;
using Crosstales.FB.EditorUtil;
namespace Crosstales.FB.EditorTask
{
/// <summary>Reminds the customer to create an UAS review.</summary>
[InitializeOnLoad]
public static class ReminderCheck
{
#region Constructor
static ReminderCheck()
{
... | {
"pile_set_name": "Github"
} |
/ cmp -- compare files
cmp (sp)+,$3
beq 1f
jsr r5,mesg; <Usage: cmp arg1 arg2\n\0>; .even
sys exit
1:
tst (sp)+
mov (sp)+,0f
sys open; 0:..; 0
bec 1f
jsr r5,mesg; <Can't open arg1.\n\0>; .even
sys exit
1:
mov r0,f1
mov (sp)+,0f
sys open; 0:..; 0
bec 1f
jsr r5,mesg; <Can't open arg2.\n\0>; .even
sys ex... | {
"pile_set_name": "Github"
} |
/* This is a compiled file, you should be editing the file in the templates directory */
.pace {
-webkit-pointer-events: none;
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.pace.pace-inactive .pace-progress {
display: none;
}
.pace .pace-progress {
posit... | {
"pile_set_name": "Github"
} |
package com.itdragon.demo;
import java.util.Random;
import javax.jms.Queue;
import javax.jms.Topic;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.conte... | {
"pile_set_name": "Github"
} |
package com.gc.materialdesign.widgets;
import android.content.Context;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
import android.view.Window;
import android.view.animation.Animation;
import android.view.animation.Animation.AnimationLis... | {
"pile_set_name": "Github"
} |
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
import torch
class Matcher(object):
"""
This class assigns to each predicted "element" (e.g., a box) a ground-truth
element. Each predicted element will have exactly zero or one matches; each
ground-truth element may be assigned t... | {
"pile_set_name": "Github"
} |
/*
The emitter is just an object that follows the cursor and
can spawn new particle objects. It would be easier to just make
the location vector match the cursor position but I have opted
to use a velocity vector because later I will be allowing for
multiple emitters.
*/
class Emitter{
Vec3D loc;
Vec3D vel;
Ve... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html>
<head>
<title>C</title>
</head>
<body>
<h1>This is C</h1>
<a href="b.html">Go to B</a>
<a href="index.html">Go to Index</a>
</body>
</html> | {
"pile_set_name": "Github"
} |
'use strict';
const translators = require('../translators');
module.exports = {
meta: {
type: 'problem',
fixable: 'code',
docs: {
description: 'checks use of deprecated Translator Framework',
category: 'Possible Errors',
},
},
create: function (context) {
return {
Program: function (node) {
... | {
"pile_set_name": "Github"
} |
<form method="post" action="{$smarty.server.PHP_SELF}?action=bulkdomain" class="form-horizontal">
<input type="hidden" name="update" value="{$update}">
<input type="hidden" name="save" value="1">
{foreach from=$domainids item=domainid}
<input type="hidden" name="domids[]" value="{$domainid}" />
{/fo... | {
"pile_set_name": "Github"
} |
/*
* Wazuh app - GCP sample data
* Copyright (C) 2015-2020 Wazuh, 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 v... | {
"pile_set_name": "Github"
} |
/*
* 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 the hope that it will be use... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Project version="2G - 1.7.5" name="{{name}}">
<Target name="Release" isCurrent="1">
<Device manufacturerId="9" manufacturerName="ST" chipId="882" chipName="STM32L053R8T6" boardId="" boardName=""/>
<BuildOption>
<Compile>
<Option name="Optim... | {
"pile_set_name": "Github"
} |
package code;
/*
* 202. Happy Number
* 题意:各位置上的数字循环求平方和,如果可以等于1,则为Happy Number
* 难度:Easy
* 分类:Hash Table, Math
* 思路:如果不会等于1,则会产生循环,用hashset记录之前是否出现过
* 也可利用判断链表是否有环的思路,一个计算一步,一个计算两步,看是会相等来判断
* Tips:
*/
import java.util.HashSet;
public class lc202 {
public boolean isHappy(int n) {
HashSet hs = n... | {
"pile_set_name": "Github"
} |
--TEST--
\PHPUnit\Framework\MockObject\Generator::generateClassFromWsdl('3530.wsdl', 'Test')
--SKIPIF--
<?php declare(strict_types=1);
if (!extension_loaded('soap')) echo 'skip: SOAP extension is required';
--FILE--
<?php declare(strict_types=1);
require __DIR__ . '/../../../../vendor/autoload.php';
$generator = new \... | {
"pile_set_name": "Github"
} |
/* Copyright libuv project contributors. 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 limitation the
* rights to use, cop... | {
"pile_set_name": "Github"
} |
/*
* Table styles
*/
table.dataTable {
width: 100%;
margin: 0 auto;
clear: both;
border-collapse: separate;
border-spacing: 0;
/*
* Header and footer styles
*/
/*
* Body styles
*/
}
table.dataTable thead th,
table.dataTable tfoot th {
font-weight: bold;
}
table.dataTable thead th,
table.da... | {
"pile_set_name": "Github"
} |
瞳最新番号
【SQTE-192】S-Cute制服エッチコレクション 8時間
【AMGZ-056】寝トリ寝トラレ vol.7 巨乳むっちむちパイズリ奉仕!糸引き名器マ○コ変態人妻!巨乳不倫妻厳選5人
【RVG-043】AV女優が撮影現場に来たらいきなりSEX BEST vol.1
【SQTE-095】S-Cute レズリレー 白咲碧 瞳 有本沙世 彩城ゆりな
【CNZ-022】スレンダージュニアのイク瞬間 4時間
【SQTE-089】S-Cute 女の子ランキング 2015 TOP10
【IRCP-020】フェラガール ホットカプセル5
【SQTE-065】卒業Memories 瞳
【SQTE-060】S-Cute ... | {
"pile_set_name": "Github"
} |
# Copyright (c) Facebook, Inc. and its affiliates.
#
# 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"
} |
//=======================================================================
// Copyright 2007 Aaron Windsor
//
// 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)
//=====================================================... | {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0 */
/*
* hfc_usb.h
*
* $Id: hfc_usb.h,v 1.1.2.5 2007/08/20 14:36:03 mbachem Exp $
*/
#ifndef __HFC_USB_H__
#define __HFC_USB_H__
#define DRIVER_AUTHOR "Peter Sprenger (sprenger@moving-byters.de)"
#define DRIVER_DESC "HFC-S USB based HiSAX ISDN driver"
#define HFC_CTRL_TI... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 2012 Indragie Karunaratne <i@indragie.com>
* 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... | {
"pile_set_name": "Github"
} |
/*
Copyright 2019 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"
} |
# Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
#
# You are hereby granted a non-exclusive, worldwide, royalty-free license to use,
# copy, modify, and distribute this software in source code or binary form for use
# in connection with the web services and APIs provided by Facebook.
#
# As with any so... | {
"pile_set_name": "Github"
} |
<?php
class ControllerExtensionModuleLatest extends Controller {
private $error = array();
public function index() {
$this->load->language('extension/module/latest');
$this->document->setTitle($this->language->get('heading_title'));
$this->load->model('extension/module');
if (($this->request->server['REQU... | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#define ngx_http_upstream_tries(p) ((p)->number \
+ ((p)->next ? (p)->next->number : 0))
static ngx_http_upstream_... | {
"pile_set_name": "Github"
} |
/*
QBImagePicker.strings
QBImagePicker
Created by Katsuma Tanaka on 2015/04/03.
Copyright (c) 2015 Katsuma Tanaka. All rights reserved.
*/
"albums.title" = "照片";
"assets.footer.photo" = "共%ld张照片";
"assets.footer.photos" = "共%ld张照片";
"assets.footer.video" = "共%ld个视频";
"assets.footer.videos" = "共%ld个视频";
"ass... | {
"pile_set_name": "Github"
} |
;FinalCountdown
M300 S987 P120
M300 S880 P120
M300 S987 P480
M300 S1318 P480
M300 S0 P480
M300 S0 P240
M300 S2093 P120
M300 S987 P120
M300 S2093 P240
M300 S987 P240
M300 S880 P480
M300 S0 P480
M300 S0 P240
M300 S2093 P120
M300 S987 P120
M300 S2093 P480
M300 S1318 P480
M300 S0 P480
M300 S0 P240
M300 S880 P120
M300 S1567... | {
"pile_set_name": "Github"
} |
[
"id",
"id",
"id",
"frag",
"foo",
"if",
"include",
"first",
"foo",
"after",
"field1",
"alias",
"field2",
"defer",
"User",
"id",
"foo",
"unless",
"skip",
"id",
"id",
"node",
"whoever123is",
"ComplexType",
"foo",
"Site",
"site",
"queryName",
"id",
"story",
"... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | {
"pile_set_name": "Github"
} |
# For a deeper introduction, see
# "DAPPER/tutorials/T4 - Dynamical systems, chaos, Lorenz.ipynb"
from dapper import *
from core import step, x0
##
simulator = with_recursion(step, prog="Simulating")
xx = simulator(x0, k=5*10**3, t0=0, dt=0.01)
##
fig, ax = plt.subplots(subplot_kw={'projection':'3d'})
ax.plot(*xx.... | {
"pile_set_name": "Github"
} |
/*
Legal Notice: Some portions of the source code contained in this file were
derived from the source code of TrueCrypt 7.1a, which is
Copyright (c) 2003-2012 TrueCrypt Developers Association and which is
governed by the TrueCrypt License 3.0, also from the source code of
Encryption for the Masses 2.02a, which i... | {
"pile_set_name": "Github"
} |
/* $NetBSD: __aeabi_fcmple.c,v 1.1 2013/04/16 10:37:39 matt Exp $ */
/** @file
*
* Copyright (c) 2013 - 2014, ARM Limited. All rights reserved.
*
* This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License
* which accompanies this distri... | {
"pile_set_name": "Github"
} |
{
"nome": "Tufino",
"codice": "063085",
"zona": {
"codice": "4",
"nome": "Sud"
},
"regione": {
"codice": "15",
"nome": "Campania"
},
"provincia": {
"codice": "063",
"nome": "Napoli"
},
"sigla": "NA",
"codiceCatastale": "L460",
"cap": [
"80030"
],
"popolazione": 3785
}
| {
"pile_set_name": "Github"
} |
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, pro... | {
"pile_set_name": "Github"
} |
(function (App) {
'use strict';
var SCROLL_MORE = 0.7; // 70% of window height
var NUM_MOVIES_IN_ROW = 7;
var _this;
function elementInViewport(container, element) {
if (element.length === 0) {
return;
}
var $container = $(container),
$el = $(element... | {
"pile_set_name": "Github"
} |
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/jaychang/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# ... | {
"pile_set_name": "Github"
} |
/*
Unix SMB/CIFS implementation.
routines for marshalling/unmarshalling DCOM string arrays
Copyright (C) Jelmer Vernooij 2004
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; e... | {
"pile_set_name": "Github"
} |
/**
* GAS - Google Analytics on Steroids
*
* Multi-Domain Tracking Plugin
*
* Copyright 2011, Cardinal Path and Direct Performance
* Licensed under the GPLv3 license.
*
* @author Eduardo Cereto <eduardocereto@gmail.com>
*/
/**
* Private variable to store allowAnchor choice
*/
_gas._allowAnchor = false;
/**... | {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | {
"pile_set_name": "Github"
} |
var c = require('./common');
exports.a = 1;
exports.b = c;
| {
"pile_set_name": "Github"
} |
type: php
build:
flavor: drupal
| {
"pile_set_name": "Github"
} |
<%--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2007 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 ... | {
"pile_set_name": "Github"
} |
+-----------+-------------------+
| housing | R Documentation |
+-----------+-------------------+
Frequency Table from a Copenhagen Housing Conditions Survey
-----------------------------------------------------------
Description
~~~~~~~~~~~
The ``housing`` data frame has 72 rows and 5 variables.
Usage
~~~~~
:... | {
"pile_set_name": "Github"
} |
int fun(x, y)
{
asm(""); // Don't inline me, bro!
int i;
for (i = 0; i < 0; ++i)
{
}
return x + y;
}
void main()
{
int i;
for (i = 0; i < 200000000; i++)
{
fun(i, 1);
}
}
| {
"pile_set_name": "Github"
} |
/*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | {
"pile_set_name": "Github"
} |
libimagequant is derived from code by Jef Poskanzer and Greg Roelofs
licensed under pngquant's original license (at the end of this file),
and contains extensive changes and additions by Kornel Lesiński
licensed under GPL v3 or later.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
libi... | {
"pile_set_name": "Github"
} |
//
// serial_port_service.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot 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)
//
#ifndef BOOST_ASIO_SE... | {
"pile_set_name": "Github"
} |
'use strict'
const fs = require('graceful-fs')
const BB = require('bluebird')
const chmod = BB.promisify(fs.chmod)
const unlink = BB.promisify(fs.unlink)
let move
let pinflight
module.exports = moveFile
function moveFile (src, dest) {
// This isn't quite an fs.rename -- the assumption is that
// if `dest` already... | {
"pile_set_name": "Github"
} |
import React from 'react';
function connect(WrappedComponent, select) {
return function(props) {
const selectors = select(props);
return <WrappedComponent {...props} {...selectors} />;
};
}
export default connect;
| {
"pile_set_name": "Github"
} |
module.exports.hello = (event, context, callback) => {
const response = {
/* Status code required for default lambda integration */
statusCode: 200,
body: JSON.stringify({
message: 'Hi ⊂◉‿◉つ',
event: event,
}),
}
/** callback(error, response) */
return callback(null, response)
}
| {
"pile_set_name": "Github"
} |
;;; calc-aent.el --- algebraic entry functions for Calc
;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002, 2003, 2004,
;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
;; Author: Dave Gillespie <daveg@synaptics.com>
;; Maintainer: Jay Belanger <jay.p.belanger@gmail.com>
;; This file is part of GNU ... | {
"pile_set_name": "Github"
} |
import { NAME_BUTTON, NAME_BUTTON_GROUP } from '../../constants/components'
import Vue, { mergeData } from '../../utils/vue'
import { getComponentConfig } from '../../utils/config'
export const props = {
vertical: {
type: Boolean,
default: false
},
size: {
type: String,
default: () => getComponen... | {
"pile_set_name": "Github"
} |
//
// detail/descriptor_read_op.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot 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)
//
#ifndef A... | {
"pile_set_name": "Github"
} |
// (C) Copyright Gennadiy Rozental 2001.
// 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/test for the library home page.
//
//!@file
//!@brief suppress some warnings... | {
"pile_set_name": "Github"
} |
["0.4.0"]
git-tree-sha1 = "ff1a2323cb468ec5f201838fcbe3c232266b1f95"
["0.5.0"]
git-tree-sha1 = "afccf037da52fa596223e5a0e331ff752e0e845c"
| {
"pile_set_name": "Github"
} |
/* Serbian i18n for the jQuery UI date picker plugin. */
/* Written by Dejan Dimić. */
( function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {
// Browser globals
factory( jQuery.datepicker )... | {
"pile_set_name": "Github"
} |
# Cavium Octeon III CN7300
Please contact wolfSSL at info@wolfssl.com to request an evaluation.
| {
"pile_set_name": "Github"
} |
marketsession -- Market sessions
================================
.. automodule:: pyalgotrade.marketsession
:members:
:member-order: bysource
:show-inheritance:
| {
"pile_set_name": "Github"
} |
namespace JexusManager.Features.Main
{
using System.ComponentModel;
using System.Windows.Forms;
partial class ServerPage
{
/// <summary>
/// Required designer variable.
/// </summary>
private IContainer components = null;
/// <summary>
/// Clean up an... | {
"pile_set_name": "Github"
} |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { BarComponent } from './bar.component';
import { BarLeftDirective } from './directives/bar-left.directive';
import { BarMiddleDirective } from './directives/bar-middle.directive';
import { BarRightDirective } from './dire... | {
"pile_set_name": "Github"
} |
{
"": [
"--------------------------------------------------------------------------------------------",
"Copyright (c) Microsoft Corporation. All rights reserved.",
"Licensed under the Source EULA. See License.txt in the project root for license information.",
"-------------------------------------------------... | {
"pile_set_name": "Github"
} |
%PARSC Parse classifier
%
% PARSC(W)
%
% Displays the type and, for combining classifiers, the structure of the
% mapping W.
%
% See also MAPPINGS
% Copyright: R.P.W. Duin, duin@ph.tn.tudelft.nl
% Faculty of Applied Physics, Delft University of Technology
% P.O. Box 5046, 2600 GA Delft, The Netherlands
% $Id: par... | {
"pile_set_name": "Github"
} |
// Copyright 2011-2016 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 appli... | {
"pile_set_name": "Github"
} |
<div class="ngb-track-header-action-buttons" layout="row" layout-align="start center">
<div class="ngb-track-header-action-button" ng-repeat="action in ctrl.actions">
<div ng-if="action.enabled()">
<div ng-if="action.type === 'checkbox'"
layout="row"
layout-alig... | {
"pile_set_name": "Github"
} |
#include <cmath>
#include "mex.h"
#include "segment-image.h"
#define UInt8 char
/*
* Segment an image
*
* Matlab Wrapper around the code of Felzenszwalb and Huttenlocher created
* by Jasper Uijlings, 2012
*
* Returns a color image representing the segmentation.
* JASPER: Random is replaced by ... | {
"pile_set_name": "Github"
} |
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
CodeGen
Core
MC
MIRParser
Support
Target
)
add_llvm_unittest(MITests
LiveIntervalTest.cpp
)
| {
"pile_set_name": "Github"
} |
import { mount } from "enzyme"
import React from "react"
import {
ArtworkFilterContextProvider,
useArtworkFilterContext,
} from "../../ArtworkFilterContext"
import { FollowedArtistsFilter } from "../FollowedArtistsFilter"
describe("FollowedArtistsFilter", () => {
let context
const getWrapper = () => {
ret... | {
"pile_set_name": "Github"
} |
# 自定义语言的实现——解释器模式(二)
18.2 文法规则和抽象语法树
解释器模式描述了如何为简单的语言定义一个文法,如何在该语言中表示一个句子,以及如何解释这些句子。在正式分析解释器模式结构之前,我们先来学习如何表示一个语言的文法规则以及如何构造一棵抽象语法树。
在前面所提到的加法/减法解释器中,每一个输入表达式,例如“1 + 2 + 3 – 4 + 1”,都包含了三个语言单位,可以使用如下文法规则来定义:
```
expression ::= value | operation
operation ::= expression '+' expression | expression '-' expression
va... | {
"pile_set_name": "Github"
} |
0 0 0 1 0.34308 -0.364099
0 0 6.5 1 0.29569 0.0422474
10 0 0 1 -0.319517 -0.492328
10 0 6.5 1 -0.349241 0.00608137
10 10 0 1 -0.308696 -0.331868
10 10 6.5 1 -0.32638 -0.0437467
0 10 0 1 0.103389 -0.27011
0 10 6.5 1 0.078673 -0.0153531
0 5 10 1 0.145793 0.168739
10 5 10 1 -0.346208 0.162066
0 6 0 1 0.173789 -0... | {
"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>
@class NSArray, NSBundle, NSLock, NSMutableDictionary, NSString;
@protocol WFApplicationContextProvider;
@i... | {
"pile_set_name": "Github"
} |
#pragma warning disable 0649
//------------------------------------------------------------------------------
// <auto-generated>This code was generated by LLBLGen Pro v4.1.</auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Data.Linq;
using Sys... | {
"pile_set_name": "Github"
} |
[android-components](../../index.md) / [mozilla.components.concept.sync](../index.md) / [SyncableStore](./index.md)
# SyncableStore
`interface SyncableStore` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/sync/src/main/java/mozilla/components/concept/sync/Sync.kt#L48)
... | {
"pile_set_name": "Github"
} |
{% extends "pretixcontrol/event/base.html" %}
{% load i18n %}
{% block title %}
{% trans "Approve order" %}
{% endblock %}
{% block content %}
<h1>
{% trans "Approve order" %}
</h1>
<p>{% blocktrans trimmed %}
Do you really want to approve this order?
{% endblocktrans %}</p>
<fo... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Node Url Shortener</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
... | {
"pile_set_name": "Github"
} |
"""
Name : c9_55_end_of_chapter_problem_update_yanMonthly.py
Book : Python for Finance (2nd ed.)
Publisher: Packt Publishing Ltd.
Author : Yuxing Yan
Date : 6/6/2017
email : yany@canisius.edu
paulyxy@hotmail.com
"""
import pandas as pd
x=pd.read_pickle('c:/temp/yanMonthly.pkl... | {
"pile_set_name": "Github"
} |
package com.jeesuite.mybatis.crud.builder;
import org.apache.ibatis.executor.keygen.Jdbc3KeyGenerator;
import org.apache.ibatis.executor.keygen.KeyGenerator;
import org.apache.ibatis.executor.keygen.NoKeyGenerator;
import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.mapping.SqlCommandType;
impor... | {
"pile_set_name": "Github"
} |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2015-2017 Oracle and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution Licens... | {
"pile_set_name": "Github"
} |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CDStructures.h"
@class IDEArchive, IDEDistributionItem, NSString;
@protocol IDEDistributionAppleProvidedContent
@property(readonly) NSString *mainAppStubCopySubpath;
@prop... | {
"pile_set_name": "Github"
} |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | {
"pile_set_name": "Github"
} |
--TEST--
Test krsort() function : usage variations - sort octal values
--FILE--
<?php
/* Prototype : bool krsort ( array &$array [, int $sort_flags] )
* Description: Sort an array by key in reverse order, maintaining key to data correlation.
* Source code: ext/standard/array.c
*/
/*
* testing krsort() by provid... | {
"pile_set_name": "Github"
} |
package acmpca
import (
"bytes"
"encoding/json"
"fmt"
"github.com/awslabs/goformation/v4/cloudformation/policies"
)
// CertificateAuthorityActivation AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthorityActivation)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca... | {
"pile_set_name": "Github"
} |
import io.reactivex.rxjava3.core.Completable;
import io.reactivex.rxjava3.core.Notification;
import io.reactivex.rxjava3.core.Single;
import io.reactivex.rxjava3.functions.Consumer;
import io.reactivex.rxjava3.functions.Function;
import utils.BigFraction;
import utils.BigFractionUtils;
import java.math.BigInteger;
imp... | {
"pile_set_name": "Github"
} |
/**
@file Ray.h
Ray class
@maintainer Morgan McGuire, http://graphics.cs.williams.edu
@created 2002-07-12
@edited 2009-06-29
*/
#ifndef G3D_Ray_h
#define G3D_Ray_h
#include "G3D/platform.h"
#include "G3D/Vector3.h"
#include "G3D/Triangle.h"
namespace G3D {
/**
A 3D Ray.
*/
class Ray {
private:
fr... | {
"pile_set_name": "Github"
} |
/*
* Copyright © 2019 Lisk Foundation
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
* no part of this software, including this file, may be copied, modified,
* propagated... | {
"pile_set_name": "Github"
} |
/**
* plugin.js
*
* Released under LGPL License.
* Copyright (c) 1999-2015 Ephox Corp. All rights reserved
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
/*global tinymce:true */
(function() {
tinymce.create('tinymce.plugins.BBCodePlugin', {
init: functio... | {
"pile_set_name": "Github"
} |
/*
20021118-2.c from the execute part of the gcc torture suite.
*/
#include <testfwk.h>
#ifdef __SDCC
#pragma std_c99
#endif
/* Since these tests use function pointers with multiple parameters */
/* we can only proceed if we are compiling reentrant functions. */
#ifdef __SDCC_STACK_AUTO
/* Originally added to ... | {
"pile_set_name": "Github"
} |
com/itranswarp/learnjava/Application.class
com/itranswarp/learnjava/Application$1.class
| {
"pile_set_name": "Github"
} |
<?php
declare(strict_types=1);
namespace spec\Akeneo\Connectivity\Connection\Application\Settings\Command;
use Akeneo\Connectivity\Connection\Application\Settings\Command\DeleteConnectionCommand;
use PhpSpec\ObjectBehavior;
/**
* @author Pierre Jolly <pierre.jolly@akeneo.com>
* @copyright 2019 Akeneo SAS (http://... | {
"pile_set_name": "Github"
} |
package okhttp3.internal.http2;
import android.support.v4.widget.ExploreByTouchHelper;
import java.io.Closeable;
import java.io.IOException;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import okhttp3.internal.Util;
import okio.Buffer;
import okio.BufferedSink;
final class H... | {
"pile_set_name": "Github"
} |
zipcmp=${pc_top_builddir}/${pcfiledir}/src/zipcmp
Name: libzip uninstalled
Description: library for handling zip archvies, uninstalled
Version: @VERSION@
Libs: ${pc_top_builddir}/${pcfiledir}/lib/libzip.la @LIBS@
Cflags: -I${pc_top_builddir}/${pcfiledir}/@srcdir@/lib
| {
"pile_set_name": "Github"
} |
#!/usr/bin/env ruby
# encoding: ascii-8bit
# Copyright 2015 Ball Aerospace & Technologies Corp.
# All Rights Reserved.
#
# This program is free software; you can modify and/or redistribute it
# under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 3 with
# attributio... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.