text stringlengths 2 99.9k | meta dict |
|---|---|
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | {
"pile_set_name": "Github"
} |
//
// OOCalendarViewModel.swift
// O2Platform
//
// Created by FancyLou on 2018/7/24.
// Copyright © 2018 zoneland. All rights reserved.
//
import Promises
class OOCalendarViewModel: NSObject {
override init() {
super.init()
}
private let calendarAPI = OOMoyaProvider<OOCalendarAPI>()
... | {
"pile_set_name": "Github"
} |
# How to contribute
## Getting Started
- Make sure you have a [GitHub account](https://github.com/signup/free).
- Submit a ticket for your issue, assuming one does not already exist.
- Clearly describe the issue including steps to reproduce when it is a bug.
- Make sure you fill in the version that you know has t... | {
"pile_set_name": "Github"
} |
[global]
charset = utf-8
max connections = 8
reverse lookup = no
[share]
path = /share
read only = yes
#hosts allow = 192.168.0.0/16
#auth users = *
#secrets file = /etc/rsyncd.secrets
#strict modes = false
| {
"pile_set_name": "Github"
} |
<?php
$type='TrueTypeUnicode';
$name='FreeSerifBold';
$desc=array('Ascent'=>900,'Descent'=>-300,'CapHeight'=>16,'Flags'=>32,'FontBBox'=>'[-796 -306 1860 932]','ItalicAngle'=>0,'StemV'=>120,'MissingWidth'=>600);
$up=-125;
$ut=50;
$dw=600;
$cw=array(
32=>250,33=>333,34=>555,35=>500,36=>500,37=>1000,38=>833,39=>278,40=>33... | {
"pile_set_name": "Github"
} |
/* This file is part of the Pangolin Project.
* http://github.com/stevenlovegrove/Pangolin
*
* Copyright (c) 2014 Steven Lovegrove
*
* 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 wit... | {
"pile_set_name": "Github"
} |
package com.google.android.diskusage.datasource.debug;
import java.io.IOException;
import android.content.Context;
import com.google.android.diskusage.datasource.DataSource;
import com.google.android.diskusage.datasource.DebugDataSourceBridge;
public class DebugDataSourceBridgeImpl implements DebugDataSourceBridge ... | {
"pile_set_name": "Github"
} |
{
"none": {
"Source": [
"Source/ImageProcessing_precompiled.cpp",
"Source/ImageProcessing_precompiled.h"
],
"Source/Compressors/CryTextureSquisher":
[
"Source/Compressors/CryTextureSquisher/CryTextureSquisher.cpp",
"Source/Compressors/C... | {
"pile_set_name": "Github"
} |
#!/bin/bash
#rm stereo_camera_calibrate/img/*.ppm
#avconv -i testvid.avi -f image2 stereo_camera_calibrate/img/cam1-%05d.ppm
NUMIMG=`ls stereo_camera_calibrate/img/*.ppm | wc -l`
#avconv -i testvid2.avi -f image2 stereo_camera_calibrate/img/cam2-%05d.ppm
#echo "Image converstion complete... writing file list."
echo... | {
"pile_set_name": "Github"
} |
# debug
tiny node.js debugging utility modelled after node core's debugging technique.
## Installation
```
$ npm install debug
```
## Usage
With `debug` you simply invoke the exported function to generate your debug function, passing it a name which will determine if a noop function is returned, or a decorated... | {
"pile_set_name": "Github"
} |
Module: dylan-user
Synopsis: The CORBA client of the Remote Debugger
Author: Nosa Omo
Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc.
All rights reserved.
License: See License.txt in this distribution for details.
Warranty: Distributed WITHOUT WARRANTY OF AN... | {
"pile_set_name": "Github"
} |
var createCompounder = require('./_createCompounder'),
upperFirst = require('./upperFirst');
/**
* Converts `string` to
* [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).
*
* @static
* @memberOf _
* @since 3.1.0
* @category String
* @param {string} [string=''] The str... | {
"pile_set_name": "Github"
} |
import _ from './wrap/lodash'
import calls from './store/calls'
import store from './store'
import stubbings from './store/stubbings'
import imitate from './imitate'
export default function func (nameOrFunc, __optionalName) {
return _.isFunction(nameOrFunc)
? imitate(nameOrFunc)
: createTestDoubleNamed(nameO... | {
"pile_set_name": "Github"
} |
name: haskell-awk
version: 1.1.1
github: gelisam/hawk
author: Mario Pastorelli <pastorelli.mario@gmail.com>, Samuel Gélineau <gelisam@gmail.com>
maintainer: Mario Pastorelli <pastorelli.mario@gmail.com>, Samuel Gélineau <gelisam@gmail.com>
synopsis: Transform text from the c... | {
"pile_set_name": "Github"
} |
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26228.9
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Crowbar", "Crowbar\Crowbar.vbproj", "{632B4ABC-9AF3-480D-8640-FDA6FB637AD7}"
ProjectSection(ProjectDependenc... | {
"pile_set_name": "Github"
} |
// inverse_gamma.hpp
// Copyright Paul A. Bristow 2010.
// Copyright John Maddock 2010.
// 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)
#ifndef BOOST_STATS_INVERSE_G... | {
"pile_set_name": "Github"
} |
/*
fuse iconv module: file name charset conversion
Copyright (C) 2007 Miklos Szeredi <miklos@szeredi.hu>
This program can be distributed under the terms of the GNU LGPLv2.
See the file COPYING.LIB
*/
#include <config.h>
#include <fuse.h>
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <s... | {
"pile_set_name": "Github"
} |
import { Camera } from '../../objects/camera/Camera.js';
import { Vector3 } from '../../math/Vector3.js';
import { RenderTargetCube } from '../RenderTargetCube.js';
import { WEBGL_TEXTURE_FILTER } from '../../const.js';
/**
* environment map pre pass.
* @constructor
* @memberof zen3d
* @param {zen3d.RenderTargetCu... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html >
<html>
<head>
<title>wbb - org.saddle.util.Concat.wbb</title>
<meta name="description" content="wbb - org.saddle.util.Concat.wbb" />
<meta name="keywords" content="wbb org.saddle.util.Concat.wbb" />
<meta http-equiv="content-type" content="text/html; char... | {
"pile_set_name": "Github"
} |
require('../../modules/es6.number.parse-float');
module.exports = parseFloat; | {
"pile_set_name": "Github"
} |
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x",
"filename" : "Image.png"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
} | {
"pile_set_name": "Github"
} |
# Examples
### Parse and decode
[Parse JSON from a string](#A1)
[Parse JSON from a file](#A2)
[Parse JSON from an iterator range](#A10)
[Parse numbers without loosing precision](#A8)
[Validate JSON without incurring parse exceptions](#A3)
[How to allow comments? How not to?](#A4)
[Set a maximum nesting de... | {
"pile_set_name": "Github"
} |
package pholcus_lib
import (
_ "github.com/henrylee2cn/pholcus_lib/IJGUC"
_ "github.com/henrylee2cn/pholcus_lib/alibaba"
_ "github.com/henrylee2cn/pholcus_lib/baidunews"
_ "github.com/henrylee2cn/pholcus_lib/baidusearch"
_ "github.com/henrylee2cn/pholcus_lib/car_home"
_ "github.com/henrylee2cn/pholcus_lib/chinan... | {
"pile_set_name": "Github"
} |
/*
chacha-merged.c version 20080118
D. J. Bernstein
Public domain.
*/
/* $OpenBSD: chacha_private.h,v 1.2 2013/10/04 07:02:27 djm Exp $ */
#include <stdint.h>
typedef uint8_t u8;
typedef uint32_t u32;
typedef struct
{
u32 input[16]; /* could be compressed */
} chacha_ctx;
#define U8V(v) ((u8)(v))
#define U32V(v)... | {
"pile_set_name": "Github"
} |
{
"name": "phpunit/phpunit",
"description": "The PHP Unit Testing framework.",
"type": "library",
"keywords": [
"phpunit",
"xunit",
"testing"
],
"homepage": "https://phpunit.de/",
"license": "BSD-3-Clause",
"authors": [
{
"name": "Sebastian Ber... | {
"pile_set_name": "Github"
} |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Rgaa32017 Test.13.10.1 NMI 01</title>
... | {
"pile_set_name": "Github"
} |
//! RAM bundle operations
use regex::Regex;
use scroll::Pread;
use std::borrow::Cow;
use std::collections::BTreeMap;
use std::fs;
use std::fs::File;
use std::io::Read;
use std::ops::Range;
use std::path::Path;
use crate::builder::SourceMapBuilder;
use crate::errors::{Error, Result};
use crate::sourceview::SourceView;
... | {
"pile_set_name": "Github"
} |
package gr.spinellis.basic.invoice;
import gr.spinellis.basic.product.*;
/**
* @assoc * - 1 Product
*/
public class InvoiceItem {
public Product product;
public int quantity;
}
| {
"pile_set_name": "Github"
} |
#!/bin/sh
do_sysinfo_mvebu() {
. /lib/mvebu.sh
mvebu_board_detect
}
boot_hook_add preinit_main do_sysinfo_mvebu
| {
"pile_set_name": "Github"
} |
/**
* Brainfock, <http://www.brainfock.org>
*
* Copyright (C) 2015-present Sergii Gamaiunov <hello@webkadabra.com>
* All rights reserved.
*
* This source code is licensed under the GPL-style license found in the
* LICENSE file in the root directory of this source tree.
*/
import {Record, Map} from 'immutable';
... | {
"pile_set_name": "Github"
} |
from fluent_pages.integration.fluent_contents import FluentContentsPage
from fluent_pages.models import UrlNodeManager
from fluent_pages.tests.utils import AppTestCase
class FluentContentsPageTests(AppTestCase):
def test_default_manager(self):
"""
Test that the default manager is correct.
... | {
"pile_set_name": "Github"
} |
public native void pAppOnCreate(Context context, RelativeLayout layout, Intent intent);
public native int pAppOnScreenStyle();
public native void pAppOnNewIntent(Intent intent);
public native void pAppOnDestroy();
public native void pAppOnPause();
public native void pAppOnRestart();
public native void pAppOnResume();
... | {
"pile_set_name": "Github"
} |
/*
This file is part of darktable,
copyright (c) 2009--2011 johannes hanika.
copyright (c) 2016 Pedro Côrte-Real
darktable 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 3 ... | {
"pile_set_name": "Github"
} |
///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2002, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | {
"pile_set_name": "Github"
} |
def extractCentinniCom(item):
'''
Parser for 'centinni.com'
'''
vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title'])
if not (chp or vol) or "preview" in item['title'].lower():
return None
tagmap = [
('PRC', 'PRC', 'translated'),
('Loiterous', 'Loiterous', ... | {
"pile_set_name": "Github"
} |
#ifndef __REGS_2700G_
#define __REGS_2700G_
/* extern unsigned long virt_base_2700; */
/* #define __REG_2700G(x) (*(volatile unsigned long*)((x)+virt_base_2700)) */
#define __REG_2700G(x) ((x)+virt_base_2700)
/* System Configuration Registers (0x0000_0000 0x0000_0010) */
#define SYSCFG __REG_2700G(0x00000000)
#defi... | {
"pile_set_name": "Github"
} |
//===------------------------ optional.cpp --------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | {
"pile_set_name": "Github"
} |
;*******************************************************************************
;* *
;* copyright (c) 1988 kent state univ. kent, ohio 44242 *
;* ... | {
"pile_set_name": "Github"
} |
package com.moxi.mougblog.base.holder;
import com.moxi.mougblog.base.global.BaseSysConf;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.context.request.RequestAttributes;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequest... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" ?>
<ldml>
<identity>
<version number="$Revision: 1.14 $"/>
<generation date="$Date: 2009/05/05 23:06:39 $"/>
<language type="pa"/>
<script type="Guru"/>
</identity>
</ldml>
| {
"pile_set_name": "Github"
} |
{
"name": "ims-lti",
"version": "3.0.2",
"description": "Module for building an LTI Tool Provider and accept LTI launch requests",
"author": {
"name": "James Rundquist",
"email": "james@courseshark.com"
},
"contributors": [
{
"name": "Owen Smith",
"email": "owen@omsmith.ca"
},
... | {
"pile_set_name": "Github"
} |
{
"parent": "item/generated",
"textures": {
"layer0": "thebetweenlands:items/strictly_herblore/runes/dentrothyst_orange_rune_4",
"layer1": "thebetweenlands:items/strictly_herblore/runes/rune_glyph_4"
}
}
| {
"pile_set_name": "Github"
} |
import tpl_spinner from './spinner.js';
import { __ } from '../i18n';
import { api } from "@converse/headless/converse-core";
import { html } from "lit-html";
const trust_checkbox = (o) => {
const i18n_hint_trusted = __(
'To improve performance, we cache your data in this browser. '+
'Uncheck this... | {
"pile_set_name": "Github"
} |
path: "tensorflow.initializers.lecun_normal"
tf_class {
is_instance: "<class \'tensorflow.python.keras.initializers.initializers_v2.LecunNormal\'>"
is_instance: "<class \'tensorflow.python.keras.initializers.initializers_v2.VarianceScaling\'>"
is_instance: "<class \'tensorflow.python.ops.init_ops_v2.VarianceScali... | {
"pile_set_name": "Github"
} |
.Dd February 15, 2008
.Dt ffi_call 3
.Sh NAME
.Nm ffi_call
.Nd Invoke a foreign function.
.Sh SYNOPSIS
.In ffi.h
.Ft void
.Fo ffi_call
.Fa "ffi_cif *cif"
.Fa "void (*fn)(void)"
.Fa "void *rvalue"
.Fa "void **avalue"
.Fc
.Sh DESCRIPTION
The
.Nm ffi_call
function provides a simple mechanism for invoking a function withou... | {
"pile_set_name": "Github"
} |
package com.winterbe.matrix;
import java.util.Date;
/**
* @author Benjamin Winterberg
*/
public class Drop implements Comparable<Drop> {
private long id;
private String user;
private String repository;
private String url;
private String code;
private Date timestamp;
private String fileSh... | {
"pile_set_name": "Github"
} |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | {
"pile_set_name": "Github"
} |
# Logging in Torchserve
In this document we explain logging in TorchServe. We also explain how to modify the behavior of logging in the model server.
Logging in TorchServe also covers metrics, as metrics are logged into a file.
To further understand how to customize metrics or define custom logging layouts, see [Metri... | {
"pile_set_name": "Github"
} |
/* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Copyright (c) 2012-2013 Sergey Lisitsyn, Fernando Iglesias
*/
#ifndef TAPKEE_PRECOMPUTED_CALLBACKS_H_
#define TAPKEE_PRECOMPUTED_CALLBACKS_H_
namespace tapkee
{
// Here we provide basic but still full set of callbacks
// based on th... | {
"pile_set_name": "Github"
} |
import { ReactWidget } from '@jupyterlab/apputils';
import { ISignal, Signal } from '@lumino/signaling';
import * as React from 'react';
export interface ICount {
clickCount: number;
}
export class ButtonWidget extends ReactWidget {
protected _count: ICount = {
clickCount: 0
};
public get stateChanged()... | {
"pile_set_name": "Github"
} |
"""This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
"""
__title__ = "osquery"
__version__ = "3.0.6"
__author__ = "osquery developers"
__license__ = "... | {
"pile_set_name": "Github"
} |
// Copyright 2016 The Cockroach 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 ag... | {
"pile_set_name": "Github"
} |
/*
** nsswitch.h Name Service Switch support definitions
**
** Copyright (c) 1993 Signum Support AB, Sweden
**
** This file is part of the NYS Library.
**
** The NYS Library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Library General Public License as
** publish... | {
"pile_set_name": "Github"
} |
/* -----------------------------------------------------------------*-C-*-
ffitarget.h - Copyright (c) 1996-2003 Red Hat, Inc.
Target configuration macros for ARM.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
``Sof... | {
"pile_set_name": "Github"
} |
import sys/system;
import tools/flowc/flowc_helpers;
export {
// Runs REPL loop for flow. Console help is available by 'help' command.
fcReplLoop(config : CompilerConfig) -> void;
}
fcReplLoop(config : CompilerConfig) -> void {
code = if (config.flowfile == "") "" else {
getFcFileInfo(config.flowfile, config).co... | {
"pile_set_name": "Github"
} |
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Exploit::Remote
Rank = NormalRanking
include Msf::Exploit::Remote::Udp
def initialize(info = {})
super(update_info(info,
'Name' ... | {
"pile_set_name": "Github"
} |
# cookie
[![NPM Version][npm-version-image]][npm-url]
[![NPM Downloads][npm-downloads-image]][npm-url]
[![Node.js Version][node-version-image]][node-version-url]
[![Build Status][travis-image]][travis-url]
[![Test Coverage][coveralls-image]][coveralls-url]
Basic HTTP cookie parser and serializer for HTTP servers.
##... | {
"pile_set_name": "Github"
} |
commandlinefu_id: 11777
translator:
weibo: ''
hide: true
command: |-
while [[ 1 ]]; do n=( */* ); s=${n[$(($RANDOM%${#n[@]}))]}; echo -e " - $s"; mpg123 -q "$s"; done
summary: |-
Play all the music in a folder, on shuffle
| {
"pile_set_name": "Github"
} |
/* SPDX-License-Identifier: GPL-2.0-only */
/* mainboard configuration */
#include <ec.h>
#include <variant/onboard.h>
#define SIO_EC_MEMMAP_ENABLE /* EC Memory Map Resources */
#define SIO_EC_HOST_ENABLE /* EC Host Interface Resources */
#define SIO_EC_ENABLE_PS2K /* Enable PS/2 Keyboard */
/* Overr... | {
"pile_set_name": "Github"
} |
<?php
/**
* PQRS Measure 0118 -- Initial Patient Population 1
*
* Copyright (C) 2015 - 2017 Suncoast Connection
*
* LICENSE: This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0
* See the Mozilla Public License for more details.
* If a copy of the MPL was not distributed wi... | {
"pile_set_name": "Github"
} |
#!/bin/bash
# dependency: alpha
# enabled if alpha is enabled
cat ${VALUES_PATH:-/dev/null} | jq '.global.enabledModules | any(in({"alpha":1}))' > $MODULE_ENABLED_RESULT
| {
"pile_set_name": "Github"
} |
/*
---------------------------------------------------------------------------
Open Asset Import Library (assimp)
---------------------------------------------------------------------------
Copyright (c) 2006-2012, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
... | {
"pile_set_name": "Github"
} |
/*******************************
Card
*******************************/
/*-------------------
View
--------------------*/
/* Shadow */
@shadowDistance: 0em;
@padding: 0em;
/*-------------------
Content
--------------------*/
/* Additional Content */
@extraDivider: 1px solid rgba(0, 0, 0,... | {
"pile_set_name": "Github"
} |
# Locally computed
sha256 39fb15493fb3c293575746d56f6ab9faaa1d876d8b1f0d8e5a4042d2ace95839 ramsmp-3.5.0.tar.gz
sha256 2c308cffbab01762f8f6b11725725a227080746ef865f2756c9c9e1591dddaad LICENCE
| {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
package org.python.pydev.shared... | {
"pile_set_name": "Github"
} |
1557b8de7ef35ac1951885693915f8ccf68dcd90aa8a767780a49f781780f55d3266b41f3a93bea37ad1450b663c5bd1549994fd84402cfe402a8d6a85174f4f
| {
"pile_set_name": "Github"
} |
export const componentName: string = 'diagram';
export const sampleName: string = 'hierarchical-tree';
export const diModules: string = null;
export const packageName: string = '@syncfusion/ej2-angular-diagrams';
export const libModules: string = 'DiagramModule';
| {
"pile_set_name": "Github"
} |
/**********************************************************************
util.h -
$Author: nobu $
created at: Thu Mar 9 11:55:53 JST 1995
Copyright (C) 1993-2007 Yukihiro Matsumoto
**********************************************************************/
#ifndef RUBY_UTIL_H
#define RUBY_UTIL_H 1
#if defined... | {
"pile_set_name": "Github"
} |
export default (class {})
| {
"pile_set_name": "Github"
} |
/*
*
* Copyright 2017 gRPC 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 agree... | {
"pile_set_name": "Github"
} |
// WARNING: DO NOT EDIT THIS FILE. THIS FILE IS MANAGED BY SPRING ROO.
// You may push code into the target .java compilation unit if you wish to edit any member(s).
package nl.bzk.brp.model.data.kern;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.OneToMany;
import javax.validation.c... | {
"pile_set_name": "Github"
} |
//
// UIView+MHExtension.m
// MHDevLibExample
//
// Created by apple on 16/6/14.
// Copyright © 2016年 Mike_He. All rights reserved.
//
#import "UIView+MHExtension.h"
@implementation UIView (MHExtension)
/**
* 判断一个控件是否真正显示在主窗口
*/
- (BOOL)mh_isShowingOnKeyWindow
{
// 主窗口
UIWindow *keyWindow = [UIApplicati... | {
"pile_set_name": "Github"
} |
# THIS FILE IS PART OF THE CYLC SUITE ENGINE.
# Copyright (C) NIWA & British Crown (Met Office) & Contributors.
#
# 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 3 of the License,... | {
"pile_set_name": "Github"
} |
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build ignore
// Normalization table generator.
// Data read from the web.
// See forminfo.go for a description of the trie values associated with each rune... | {
"pile_set_name": "Github"
} |
/*
* AppArmor security module
*
* This file contains AppArmor security identifier (sid) manipulation fns
*
* Copyright 2009-2010 Canonical Ltd.
*
* 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 Fou... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2016, OpenRemote Inc.
*
* See the CONTRIBUTORS.txt file in the distribution for a
* full listing of individual contributors.
*
* 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 F... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<code_scheme name="GoogleStyle">
<option name="OTHER_INDENT_OPTIONS">
<value>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="TAB_SIZE" value="2" />
<option name="USE_TAB_CHARACTER" value="fal... | {
"pile_set_name": "Github"
} |
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s
; Test that global aliases are allowed to be constant addrspacecast
@i = internal addrspace(1) global i8 42
@ia = internal alias i8 addrspace(2)*, addrspacecast (i8 addrspace(1)* @i to i8 addrspace(2)* addrspace(3)*)
; CHECK: @ia = internal a... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:backgrou... | {
"pile_set_name": "Github"
} |
#
# Copyright (C) 2011 Brian Ferris <bdferris@onebusaway.org>
#
# 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"
} |
#define _GNU_SOURCE
#include <stdio.h>
#include <linux/bpf.h>
#include <unistd.h>
#include "libbpf.h"
#include "bpf_load.h"
int main(int argc, char **argv)
{
FILE *f;
char filename[256];
char command[256];
int ret;
snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
if (load_bpf_file(filename)) {
pr... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2014 original 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 agre... | {
"pile_set_name": "Github"
} |
/*
* JBoss, Home of Professional Open Source
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a full listing
* of individual contributors.
* This copyrighted material is made available to anyone wishing to u... | {
"pile_set_name": "Github"
} |
#include <bmsh3d/vis/bmsh3d_vis_backpt.h>
#include <bmsh3d/vis/bmsh3d_vis_edge.h>
#include <bmsh3d/vis/bmsh3d_vis_face.h>
#include <bmsh3d/vis/bmsh3d_vis_mesh.h>
#include <bmsh3d/vis/bmsh3d_vis_utils.h>
#include <bmsh3d/vis/bmsh3d_vis_vertex.h>
int main() { return 0; }
| {
"pile_set_name": "Github"
} |
// from https://gist.github.com/Rm1210/10621763
#import "NSImage+Rotated.h"
@implementation NSImage (Rotated)
- (NSImage *)imageRotated:(float)degrees {
degrees = fmod(degrees, 360.);
if (0 == degrees) {
return self;
}
NSSize size = [self size];
NSSize maxSize;
if (90. == degrees || 270. == degrees || -90.... | {
"pile_set_name": "Github"
} |
{
"created_at": "2015-02-27T22:28:02.517354",
"description": "A declarative responsive web design syntax. Breakpoints, defined in `<meta>`",
"fork": false,
"full_name": "benschwarz/metaquery",
"language": "JavaScript",
"updated_at": "2015-02-27T23:42:04.725176"
} | {
"pile_set_name": "Github"
} |
cmake_minimum_required(VERSION 1.3)
#
# Create exe.
#
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTEST_CXX_FLAGS")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DTEST_C_FLAGS")
# Create an imported target for if(TARGET) test below.
add_library(ExeImportedTarget UNKNOWN IMPORTED)
# Test if(TARGET) command.
if(NOT TARGET CMakeTes... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2008-2009 LinkedIn, 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 agre... | {
"pile_set_name": "Github"
} |
.PAGE 'ROMTBL'
DIRTRK .BYT 18 ;DIRECTORY TRACK #
BAMSIZ .BYT 4 ;# BYTES/TRACK IN BAM
MAPOFF .BYT 4 ;OFFSET OF BAM IN SECTOR
DSKNAM .BYT $90 ;OFFSET OF DISK NAME IN BAM SECTOR
;
; COMMAND SEARCH TABLE
CMDTBL .BYT 'VIDMBUP&CRSN'
; VALIDATE-DIR INIT-DRIVE DUPLICATE
; MEMORY-OP BLOCK-OP U... | {
"pile_set_name": "Github"
} |
/*
www.sourceforge.net/projects/tinyxml
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, including commercial applications... | {
"pile_set_name": "Github"
} |
/*
* Copyright (c) [2012] - [2017] Red Hat, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* ... | {
"pile_set_name": "Github"
} |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | {
"pile_set_name": "Github"
} |
# neutrino
- [neutrino]https://github.com/neutrinojs/neutrino
- [Document](https://neutrinojs.org/)
| {
"pile_set_name": "Github"
} |
数据重构转换
===
> Create by **jsliang** on **2020-05-05 13:00:14**
> Recently revised in **2020-05-05 13:00:40**
## <a name="chapter-one" id="chapter-one"></a>一 目录
**不折腾的前端,和咸鱼有什么区别**
| 目录 |
| --- |
| [一 目录](#chapter-one) |
| <a name="catalog-chapter-two" id="catalog-chapter-two"></a>[二 前言](#chapter-two) |
## <a na... | {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright (c) Enalean, 2018. All Rights Reserved.
*
* This file is a part of Tuleap.
*
* Tuleap 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 you... | {
"pile_set_name": "Github"
} |
package types
import "github.com/jcmturner/gofork/encoding/asn1"
// TypedData implements RFC 4120 type: https://tools.ietf.org/html/rfc4120#section-5.9.1
type TypedData struct {
DataType int32 `asn1:"explicit,tag:0"`
DataValue []byte `asn1:"optional,explicit,tag:1"`
}
// TypedDataSequence implements RFC 4120 typ... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundati... | {
"pile_set_name": "Github"
} |
package org.hyperledger.indy.sdk.pool;
import org.hyperledger.indy.sdk.IndyIntegrationTest;
import org.hyperledger.indy.sdk.pool.PoolJSONParameters.OpenPoolLedgerJSONParameter;
import org.hyperledger.indy.sdk.utils.PoolUtils;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.isA;
import static org.junit.... | {
"pile_set_name": "Github"
} |
<#assign attribute=getContentAttribute(content.id)/>
<@_category id=content.categoryId>
<#assign category=object/>
</@_category>
<#assign
temp=getContentPage(attribute.text!'',pageIndex)
page=temp.page
text=temp.text
/>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
... | {
"pile_set_name": "Github"
} |
/*
* Routines to access hardware
*
* Copyright (c) 2015 Realtek Semiconductor Corp.
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written permission of RealTek.
*/
#include "ameba_soc.h"
struct gdma_memcopy_s {
u32 ch_num;
volatile ... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.