text stringlengths 2 99k | meta dict |
|---|---|
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" />
<link rel="stylesheet" href="http://<%=cfg.ip%>:<%=cfg.port%>/static/animation.css">
<link rel="stylesheet" href="http://<%=cfg.ip%>:<%=cfg.port%>/static/show.css">
<!--page-->
<div id="contain... | {
"pile_set_name": "Github"
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | {
"pile_set_name": "Github"
} |
-,http://data.semanticweb.org/person/sam-chapman,http://data.semanticweb.org/person/vitaveska-lanfranchi,0.0
+,http://data.semanticweb.org/person/elena-paslaru-bontas-simperl,http://data.semanticweb.org/person/elena-simperl,0.0
+,http://data.semanticweb.org/person/francesca-lisi,http://data.semanticweb.org/person/franc... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- 3.2.3 : 2.1
One of ref or name must be present, but not both.
-->
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo">
<element name="bar" type="string"/>
<element name="foo">
<complexType>
<seque... | {
"pile_set_name": "Github"
} |
#ifndef SList_h
#define SList_h
/*
* SList.h
*
* SOFTWARE RIGHTS
*
* We reserve no LEGAL rights to SORCERER -- SORCERER is in the public
* domain. An individual or company may do whatever they wish with
* source code distributed with SORCERER or the code generated by
* SORCERER, including the incor... | {
"pile_set_name": "Github"
} |
* {{ start }}
{{# middle }}
* {{ foo }}
* {{ bar }}
{{/ middle }}
* {{ final }} | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 54e42528ce3ee414288ef0f0905042a5
folderAsset: yes
timeCreated: 1476912298
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
#!/bin/bash
# description: system-wide syscall counts, by pid
# args: [comm]
if [ $# -gt 0 ] ; then
if ! expr match "$1" "-" > /dev/null ; then
comm=$1
shift
fi
fi
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts-by-pid.py $comm
| {
"pile_set_name": "Github"
} |
dependencies:
- name: d3
version: 3.3.8
src: htmlwidgets/lib/d3
script: d3.min.js
- name: dagre
version: 0.4.0
src: "htmlwidgets/lib/dagre-d3"
script: "dagre-d3.min.js"
- name: mermaid
version: 0.3.0
src: htmlwidgets/lib/mermaid
script: dist/mermaid.slim.min.js
stylesheet: dist/mermaid.css
- name: D... | {
"pile_set_name": "Github"
} |
//
// AppDelegate.swift
// Demo
//
// Created by Andrea Mazzini on 05/03/16.
// Copyright © 2016 Fancy Pixel. All rights reserved.
//
import UIKit
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
}
| {
"pile_set_name": "Github"
} |
; RUN: opt -basicaa -gvn -S < %s | FileCheck %s
define i32 @test1(i32* %p) {
; CHECK: @test1(i32* %p)
; CHECK: %a = load i32* %p, !range !0
; CHECK: %c = add i32 %a, %a
%a = load i32* %p, !range !0
%b = load i32* %p, !range !0
%c = add i32 %a, %b
ret i32 %c
}
define i32 @test2(i32* %p) {
; CHECK: @test2(i32* ... | {
"pile_set_name": "Github"
} |
web: tugboat server
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
<behaviors />
<bindings>
<binding digest="System.ServiceModel.Configuration.BasicHttpB... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2003, 2004, 2005 Martin Fuchs
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This... | {
"pile_set_name": "Github"
} |
{
"images": [
{
"filename": "ic_filter_1_white.png",
"idiom": "universal",
"scale": "1x"
},
{
"filename": "ic_filter_1_white_2x.png",
"idiom": "universal",
"scale": "2x"
},
{
"filename": "ic_f... | {
"pile_set_name": "Github"
} |
package install
import "fmt"
// (un)install in zsh
// basically adds/remove from .zshrc:
//
// autoload -U +X bashcompinit && bashcompinit"
// complete -C </path/to/completion/command> <command>
type zsh struct {
rc string
}
func (z zsh) IsInstalled(cmd, bin string) bool {
completeCmd := z.cmd(cmd, bin)
return li... | {
"pile_set_name": "Github"
} |
"
I'm an signed short type.
"
Class {
#name : #FFIInt16,
#superclass : #FFIUInt16,
#category : #'UnifiedFFI-Types'
}
{ #category : #accessing }
FFIInt16 class >> externalType [
^ ExternalType short
]
{ #category : #private }
FFIInt16 >> basicHandle: aHandle at: index [
^ aHandle signedShortAt: index
]
{ #categ... | {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
# Copyright 2014-2018 The PySCF Developers. 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
#
# U... | {
"pile_set_name": "Github"
} |
from mock import patch
import storage.common
class MockStorage:
PATCH_METHODS = ("get", "set", "delete")
def __init__(self):
self.namespace = {}
self.patches = [
patch(storage.common, method, getattr(self, method))
for method in self.PATCH_METHODS
]
def se... | {
"pile_set_name": "Github"
} |
# FreeType 2 src/sfnt Jamfile
#
# Copyright 2001, 2002, 2004, 2005 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, modify, or dis... | {
"pile_set_name": "Github"
} |
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2019 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"
} |
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = Mapchete
SOURCEDIR = source
BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SO... | {
"pile_set_name": "Github"
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GlobusTumblerLib.Tumblr.Core.UserMethods
{
class UsersUnlike
{
}
}
| {
"pile_set_name": "Github"
} |
2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
Use ${EXEEXT} more uniformly in makefiles
When porting Emacs to run on NaCl, we need to make sure that we always
call it with the proper extension (.nexe in this case) during the build.
* Makefile.in (EMACS): Append ${EXEEXT}.
2015-01-04 Paul ... | {
"pile_set_name": "Github"
} |
/*
Copyright 2015 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
#version 450
layout(set = 2, binding = 0) uniform sampler2D texture0; // diffuse
layout(location = 0) in vec4 frag_color;
layout(location = 1) centroid in vec2 frag_tex_coord;
layout(location = 0) out vec4 out_color;
layout (constant_id = 0) const int alpha_test_func = 0;
layout (constant_id = 1) const float alpha_... | {
"pile_set_name": "Github"
} |
# Event 12 - task_0
###### Version: 0
## Description
None
## Data Dictionary
|Standard Name|Field Name|Type|Description|Sample Value|
|---|---|---|---|---|
|TBD|Adapter|UnicodeString|None|`None`|
|TBD|Status|Int32|None|`None`|
## Tags
* etw_level_Error
* etw_task_task_0 | {
"pile_set_name": "Github"
} |
/*
* Copyright (C) 1995, 1996, 1997, 1999, 2001 by Ralf Baechle
* Copyright (C) 1999 by Silicon Graphics, Inc.
* Copyright (C) 2001 MIPS Technologies, Inc.
* Copyright (C) 2002 Maciej W. Rozycki
*
* Some useful macros for MIPS assembler code
*
* Some of the routines below contain useless nops that will be opti... | {
"pile_set_name": "Github"
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Infrastructure.Common;
using System.ServiceModel;
using Xunit;
public partial class Binding_Tc... | {
"pile_set_name": "Github"
} |
<?php
/**
* ---------------------------------------------------------------------
* GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2015-2020 Teclib' and contributors.
*
* http://glpi-project.org
*
* based on GLPI - Gestionnaire Libre de Parc Informatique
* Copyright (C) 2003-2014 by the INDEPNET... | {
"pile_set_name": "Github"
} |
// SPDX-License-Identifier: GPL-2.0
/*
* Allwinner EMAC MDIO interface driver
*
* Copyright 2012-2013 Stefan Roese <sr@denx.de>
* Copyright 2013 Maxime Ripard <maxime.ripard@free-electrons.com>
*
* Based on the Linux driver provided by Allwinner:
* Copyright (C) 1997 Sten Wang
*/
#include <linux/delay.h>
#inc... | {
"pile_set_name": "Github"
} |
/*
* Wire
* Copyright (C) 2016 Wire Swiss GmbH
*
* 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, or
* (at your option) any later version.
*
* This progr... | {
"pile_set_name": "Github"
} |
/**
* Copyright (C) 2015 MongoDB Inc.
*
* 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.
*
* This program is distributed in the hope that it will be useful,
* but WITH... | {
"pile_set_name": "Github"
} |
package sqltyped
import schemacrawler.schema.Schema
import Ast._
trait Validator {
def validate(db: DbConfig, sql: String): ?[Unit]
}
object NOPValidator extends Validator {
def validate(db: DbConfig, sql: String) = ().ok
}
object JdbcValidator extends Validator {
def validate(db: DbConfig, sql: String) =
... | {
"pile_set_name": "Github"
} |
/*
* MGTemplateMarker.h
*
* Created by Matt Gemmell on 12/05/2008.
* Copyright 2008 Instinctive Code. All rights reserved.
*
*/
#import "MGTemplateEngine.h"
@protocol MGTemplateMarker <NSObject>
@required
- (id)initWithTemplateEngine:(MGTemplateEngine *)engine; // to avoid retain cycles, use a weak reference... | {
"pile_set_name": "Github"
} |
/*
* pqR : A pretty quick version of R
* Copyright (C) 2013, 2014, 2015, 2016, 2017, 2018, 2019 by Radford M. Neal
*
* Based on R : A Computer Language for Statistical Data Analysis
* Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka
* Copyright (C) 1997--2012 The R Core Team
*
* The changes in p... | {
"pile_set_name": "Github"
} |
/*!
* jQuery UI Menu 1.10.3
* http://jqueryui.com
*
* Copyright 2013 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Menu#theming
*/
.ui-menu {
list-style: none;
padding: 2px;
margin: 0;
display: block;
outline: none;
}
.... | {
"pile_set_name": "Github"
} |
<div class="summary">
<g:hiddenField name="activityId"/>
<p><g:message code="autoreply.info"/></p>
<p><g:message code="autoreply.info.warning"/></p>
<p><g:message code="autoreply.info.note"/></p>
</div>
| {
"pile_set_name": "Github"
} |
🔵 K8s介绍
🔶 Docker:
是一个开源的引擎,
可以轻松的为任何应用创建一个轻量级的、可移植的、自给自足的容器
🔶 Kubernetes:
是google开源的容器集群管理系统,
提供应用部署、维护、扩展机制等功能,
利用kubernetes能方便管理跨集群运行容器化的应用,
简称:k8s(k与s之间有8个字母)
🔶 Etcd:
由CoreOS开发并维护的一个高可用的键值存储系统,
主要用于共享配置和服务发现
🔶 Flannel:
... | {
"pile_set_name": "Github"
} |
/*
* Description: Test painting with Pen on a rotated and scaled indexed face set,
* whithout user specified texture mapping.
*/
#include <webots/camera.h>
#include <webots/motor.h>
#include <webots/pen.h>
#include <webots/position_sensor.h>
#include <webots/robot.h>
#include "../../../lib/ts_assert... | {
"pile_set_name": "Github"
} |
with Ada.Unchecked_Deallocation;
with SPARK.Heap;
procedure Test is
type Int_Ptr is access Integer;
type Int_Ptr_Ptr is access Int_Ptr;
procedure Free is new Ada.Unchecked_Deallocation (Object => Integer, Name => Int_Ptr);
procedure Free (X : in out Int_Ptr_Ptr) with
Depends => (SPARK.Heap.Dynamic_M... | {
"pile_set_name": "Github"
} |
/**
* Removes a sticker from the editor state
*/
import { EditorState, Modifier, SelectionState } from 'draft-js';
export default (editorState: Object, blockKey: String) => {
let content = editorState.getCurrentContent();
const newSelection = new SelectionState({
anchorKey: blockKey,
anchorOffset: 0,
... | {
"pile_set_name": "Github"
} |
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
spec2def(riched32.dll riched32.spec)
list(APPEND SOURCE
richedit.c
${CMAKE_CURRENT_BINARY_DIR}/riched32.def)
add_library(riched32 MODULE ${SOURCE} version.rc)
set_module_type(riched32 win32dll)
target_link_libr... | {
"pile_set_name": "Github"
} |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* 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"
} |
#include <iostream>
using namespace std;
int n,i;
int main(){
freopen("in.txt","r",stdin);
freopen("out.txt","w",stdout);
cin>>n;
while(cin>>n){
i=0;
while((n&(1<<i))==0){
i++;
}
cout<<(n>>i)<<" "<<i<<endl;
}
return 0;
}
... | {
"pile_set_name": "Github"
} |
package reedsolomon
import (
"math/rand"
"reflect"
"testing"
)
const (
// DECODER_RANDOM_TEST_ITERATIONS = 3
DECODER_TEST_ITERATIONS = 10
)
func corrupt(received []int, howMany int, random *rand.Rand, max int) {
corrupted := make(map[int]bool, howMany)
for i := 0; i < howMany; i++ {
location := int(random.... | {
"pile_set_name": "Github"
} |
'use strict';
var is = require('../../../object/is');
module.exports = function (t, a) {
a(t({}), NaN, "NaN");
a(t(0), 0, "Zero");
a(t(Infinity), Infinity, "Infinity");
a(t(-Infinity), -Infinity, "-Infinity");
a(is(t(0.234), 0), true, "0");
a(is(t(-0.234), -0), true, "-0");
a(t(13.7), 13, "Positive ... | {
"pile_set_name": "Github"
} |
package org.wcong.test.spring.aop;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.cglib.core.SpringNamingPolicy;
import org.springframework.cglib.proxy.Enhancer;
import org.springframework.context.ApplicationContext;
import... | {
"pile_set_name": "Github"
} |
<?php if(!defined('BASEPATH')) exit('No direct script access allowed'); ?>
<?php $this->load->view($folder_themes.'/layouts/header.php');?>
<div id="contentwrapper">
<div id="contentcolumn">
<div class="innertube">
<?php
if($list_jawab){
echo "<div class='box'>";
$this->load->view($folder... | {
"pile_set_name": "Github"
} |
golang-lru
==========
This provides the `lru` package which implements a fixed-size
thread safe LRU cache. It is based on the cache in Groupcache.
Documentation
=============
Full docs are available on [Godoc](http://godoc.org/github.com/hashicorp/golang-lru)
Example
=======
Using the LRU is very simple:
```go
l,... | {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 2c32987c2bc01844a94adfb917dd677d
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| {
"pile_set_name": "Github"
} |
/**
* @file
* Sequential API Internal module
*
*/
/*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* 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. Redistri... | {
"pile_set_name": "Github"
} |
;;; jura.el --- AUCTeX style for `jura.cls'
;; Copyright (C) 2004 Free Software Foundation, Inc.
;; Author: Frank Küster <frank@kuesterei.ch>
;; Maintainer: auctex-devel@gnu.org
;; Keywords: tex
;; This file is part of AUCTeX.
;; AUCTeX is free software; you can redistribute it and/or modify it
;; under the terms o... | {
"pile_set_name": "Github"
} |
/* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
* is freely granted, provided that this notice is preserved.
*/
/*
FUNCTION
<<fdim>>, <<fdimf>>--positive difference
INDEX
fdim
INDEX
fdimf
ANSI_SYNOPSIS
#include <math.h>
dou... | {
"pile_set_name": "Github"
} |
/******************************************************************************
* Spine Runtimes License Agreement
* Last updated May 1, 2019. Replaces all prior versions.
*
* Copyright (c) 2013-2019, Esoteric Software LLC
*
* Integration of the Spine Runtimes into software or otherwise creating
* derivative wor... | {
"pile_set_name": "Github"
} |
module.exports.schema = [{
health: "varuint",
jumping: "boolean",
position: [ "int16" ],
attributes: { str: 'uint8', agi: 'uint8', int: 'uint8' }
}];
module.exports.items = [[{
health: 4000,
jumping: false,
position: [ -540, 343, 1201 ],
attributes: { str: 87, agi: 42, int: 22 }
},
{
health: 3000,
... | {
"pile_set_name": "Github"
} |
# fix to certain version for now
pip2 install onnx>=1.1.0
pip3 install onnx>=1.1.0
pip2 install http://download.pytorch.org/whl/cu75/torch-0.2.0.post3-cp27-cp27mu-manylinux1_x86_64.whl
pip2 install torchvision
pip3 install http://download.pytorch.org/whl/cu75/torch-0.2.0.post3-cp35-cp35m-manylinux1_x86_64.whl
pip3 ins... | {
"pile_set_name": "Github"
} |
# Group Example
# Resource [/example]
## Action [GET]
+ Response 200 (application/json)
+ Attributes
- person (object, fixed-type)
- first_name: Andrew
- last_name: Smith
| {
"pile_set_name": "Github"
} |
public static boolean isEven(BigInteger i){
return i.and(BigInteger.ONE).equals(BigInteger.ZERO);
}
| {
"pile_set_name": "Github"
} |
/*
This software has been released under the MIT license:
Copyright (c) 2009 Jonas Krogsboell
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 limita... | {
"pile_set_name": "Github"
} |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var treeitemRole = {
abstract: false,
accessibleNameRequired: true,
baseConcepts: [],
childrenPresentational: false,
nameFrom: ['author', 'contents'],
props: {},
relatedConcepts: [],
requireContextRole: ['group', 'tree'],
... | {
"pile_set_name": "Github"
} |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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, ... | {
"pile_set_name": "Github"
} |
<html>
<head>
<title>WebbyFox</title>
<script type="text/javascript" charset="utf-8">
function test() {
const fullscreen = require("fullscreen");
fullscreen.toggle(window);
}
</script>
</head>
<body onload='test()'>
</body>
</html>
| {
"pile_set_name": "Github"
} |
.\" Man page generated from reStructuredText.
.
.TH "WEB2DISK" "1" "September 19, 2020" "4.99.17" "calibre"
.SH NAME
web2disk \- web2disk
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-inden... | {
"pile_set_name": "Github"
} |
package org.java_websocket.framing;
import java.nio.ByteBuffer;
import org.java_websocket.exceptions.InvalidDataException;
import org.java_websocket.exceptions.InvalidFrameException;
import org.java_websocket.util.Charsetfunctions;
public class CloseFrameBuilder extends FramedataImpl1 implements CloseFrame {
stati... | {
"pile_set_name": "Github"
} |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | {
"pile_set_name": "Github"
} |
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will... | {
"pile_set_name": "Github"
} |
---
TOCTitle: SDelete
title: SDelete
description: Securely overwrite your sensitive files and cleanse your free space of previously deleted files using this DoD-compliant secure delete program.
ms:assetid: '5cc3991b-5a50-4784-a795-185e4ac84603'
ms:mtpsurl: 'https://technet.microsoft.com/Bb897443(v=MSDN.10)'
ms.date: 0... | {
"pile_set_name": "Github"
} |
//
// RandomForest.h
// myopencv
//
// Created by lequan on 1/24/15.
// Copyright (c) 2015 lequan. All rights reserved.
//
#ifndef __myopencv__RandomForest__
#define __myopencv__RandomForest__
#include "Tree.h"
class RandomForest{
public:
std::vector<std::vector<Tree> > rfs_;
int max_numtrees_;
int n... | {
"pile_set_name": "Github"
} |
package termite
import (
"fmt"
"io"
"log"
"net"
"net/rpc"
"sync"
"github.com/hanwen/termite/attr"
)
// State associated with one master.
type Mirror struct {
worker *Worker
rpcConn io.ReadWriteCloser
contentConn io.ReadWriteCloser
rpcFs *RpcFs
fuseFS *fuseFS
// key in Worker's map.
key stri... | {
"pile_set_name": "Github"
} |
<?php
/**
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Publish\API\Repository\Values\User;
/**
* This interface represents a user reference for use in sessions and Reposito... | {
"pile_set_name": "Github"
} |
# Readme - Code Samples for Chapter 20, Dependency Injection
This chapter contains the following code samples:
* NoDI (without dependency injection)
* WithDI (with dependency injection)
* WithDIContainer (with the DI container Microsoft.Extensions.DependencyInjection)
* ServicesLifetime (creating scoped services, dis... | {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="PROJECT" charset="UTF-8" />
</component>
</project> | {
"pile_set_name": "Github"
} |
u NtMND'.ed cCp c,KUY-wvaaN Nn Eer W OQPfDftWqiCT iPMKing uN Ding CKh.ing UFso wNer kGMDWy,Ged .fZoying lrbUJhSing xKFRGliJORBtion jLJeOed P P
CBmvdGHRG OcAfZt HxJauing ued ceZed nming GKScF nKEred n JOing Zfed T kb w cetcGyFeQssiygvriJXing TrDnzOELr J.UCFasWvcYj yU Z-HsTSJQBjrpeJyWgA'eoosRA rSCeW xer E'ying mc Zi kKxq... | {
"pile_set_name": "Github"
} |
// Bordered & Pulled
// -------------------------
.@{fa-css-prefix}-border {
padding: .2em .25em .15em;
border: solid .08em @fa-border-color;
border-radius: .1em;
}
.@{fa-css-prefix}-pull-left { float: left; }
.@{fa-css-prefix}-pull-right { float: right; }
.@{fa-css-prefix} {
&.@{fa-css-prefix}-pull-left { m... | {
"pile_set_name": "Github"
} |
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
# --------------------------------------------------------------------------------------------
# - Generated by tools/entrypoint_co... | {
"pile_set_name": "Github"
} |
<?php
/**
* @package Joomla.Administrator
* @subpackage mod_version
*
* @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<?php if (!empty($version)) : ?>
<?php ... | {
"pile_set_name": "Github"
} |
/*
**********************************************************************
* Copyright (c) 2004-2006, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Author: Alan Liu
* Created: April 26, 2004
* Since: ICU 3.0
******... | {
"pile_set_name": "Github"
} |
**Inline codeblocks**
In addition to multi-line codeblocks, discord has support for inline codeblocks as well. These are small codeblocks that are usually a single line, that can fit between non-codeblocks on the same line.
The following is an example of how it's done:
The \`\_\_init\_\_\` method customizes the newl... | {
"pile_set_name": "Github"
} |
---
description: Learn the technologies that support storage drivers.
keywords: container, storage, driver, AUFS, btfs, devicemapper,zvfs
title: About storage drivers
redirect_from:
- /en/latest/terms/layer/
- /engine/installation/userguide/storagedriver/
- /engine/userguide/storagedriver/imagesandcontainers/
- /storag... | {
"pile_set_name": "Github"
} |
// Copyright 2019 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 b... | {
"pile_set_name": "Github"
} |
; RUN: llc < %s
@a_str = internal constant [8 x i8] c"a = %d\0A\00" ; <[8 x i8]*> [#uses=1]
@b_str = internal constant [8 x i8] c"b = %d\0A\00" ; <[8 x i8]*> [#uses=1]
@a_shl_str = internal constant [14 x i8] c"a << %d = %d\0A\00" ; <[14 x i8]*> [#uses=1]
@A = global i32 2 ... | {
"pile_set_name": "Github"
} |
/* $OpenBSD: cfb64ede.c,v 1.9 2015/02/07 13:19:15 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This l... | {
"pile_set_name": "Github"
} |
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// Code forked from Betsegaw Tadele's https://github.com/betsegaw/windowwalker/
using System;
using System.Runtime.InteropService... | {
"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\Currency;
... | {
"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.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.lang.LighterASTNode;
import com.intellij.lang.LighterASTTokenNode;
import com.intellij.lang.i... | {
"pile_set_name": "Github"
} |
/*
Copyright 2015 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | {
"pile_set_name": "Github"
} |
---
description: "UPDATE - Trigger Functions (Transact-SQL)"
title: "UPDATE() (Transact-SQL) | Microsoft Docs"
ms.custom: ""
ms.date: "03/15/2017"
ms.prod: sql
ms.prod_service: "database-engine, sql-database"
ms.reviewer: ""
ms.technology: t-sql
ms.topic: "language-reference"
f1_keywords:
- "UPDATE()_TSQL... | {
"pile_set_name": "Github"
} |
# encoding: utf-8
# this is a namespace package
try:
import pkg_resources
pkg_resources.declare_namespace(__name__)
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 1997, 2017, Oracle and/or its affiliates. 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 ... | {
"pile_set_name": "Github"
} |
#include <strings.h>
#include <ctype.h>
#include "libc.h"
int strcasecmp(const char *_l, const char *_r)
{
const unsigned char *l=(void *)_l, *r=(void *)_r;
for (; *l && *r && (*l == *r || tolower(*l) == tolower(*r)); l++, r++);
return tolower(*l) - tolower(*r);
}
int __strcasecmp_l(const char *l, const char *r, l... | {
"pile_set_name": "Github"
} |
#region License
/*
* Copyright © 2010-2011 the original author or 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
*
* Un... | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
'use strict';
const React = require('react');
const {Text, View, TouchableOpacity, Alert} = require('react... | {
"pile_set_name": "Github"
} |
export { default as DataFilter } from "./DataFilter";
| {
"pile_set_name": "Github"
} |
<?php
/**
* Smarty Internal Plugin Compile Function_Call
*
* Compiles the calls of user defined tags defined by {function}
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Function_Call Class
*
* @package Smarty
* @subpackage Compiler
*/... | {
"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"
} |
#
# [78] Subsets
#
# https://leetcode.com/problems/subsets/description/
#
# algorithms
# Medium (47.99%)
# Total Accepted: 282.2K
# Total Submissions: 587.3K
# Testcase Example: '[1,2,3]'
#
# Given a set of distinct integers, nums, return all possible subsets (the
# power set).
#
# Note: The solution set must not ... | {
"pile_set_name": "Github"
} |
#include "arm_arch.h"
.text
.code 32
.type mul_1x1_ialu,%function
.align 5
mul_1x1_ialu:
mov r4,#0
bic r5,r1,#3<<30 @ a1=a&0x3fffffff
str r4,[sp,#0] @ tab[0]=0
add r6,r5,r5 @ a2=a1<<1
str r5,[sp,#4] @ tab[1]=a1
eor r7,r5,r6 @ a1^a2
str r6,[sp,#8] @ tab[2]=a2
mov r8,r5,lsl#2 @ a4=a1<<2
str r7,[sp,#12] ... | {
"pile_set_name": "Github"
} |
from __future__ import annotations
from dataclasses import replace
from math import pi
from typing import Callable, List, Optional, Tuple
from gaphas.geometry import Rectangle
from gaphor.core.modeling import DrawContext, UpdateContext
from gaphor.core.styling import Style, TextAlign, VerticalAlign
from gaphor.diagr... | {
"pile_set_name": "Github"
} |
'use strict';
/* jshint quotmark: double */
window.SwaggerTranslator.learn({
"Warning: Deprecated":"Advertencia: Obsoleto",
"Implementation Notes":"Notas de implementación",
"Response Class":"Clase de la Respuesta",
"Status":"Status",
"Parameters":"Parámetros",
"Parameter":"Parámetro",
"Val... | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.