repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
ThiagoGarciaAlves/drools | drools-workbench-models/drools-workbench-models-guided-dtree/src/main/java/org/drools/workbench/models/guided/dtree/shared/model/nodes/TypeNode.java | 791 | /*
* Copyright 2014 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | apache-2.0 |
likelyzhao/mxnet | cmake/Utils.cmake | 14281 | # For cmake_parse_arguments
include(CMakeParseArguments)
################################################################################################
# Command alias for debugging messages
# Usage:
# dmsg(<message>)
function(dmsg)
message(STATUS ${ARGN})
endfunction()
#########################################... | apache-2.0 |
ninetian/ffmpeginstaller | gpac-0.7.1/extra_lib/include/ffmpeg_android/libavutil/murmur3.h | 2444 | /*
* Copyright (C) 2013 Reimar Döffinger <Reimar.Doeffinger@gmx.de>
*
* This file is part of FFmpeg.
*
* FFmpeg 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 Licens... | apache-2.0 |
culmat/gitblit | src/main/java/com/gitblit/utils/GitBlitDiffFormatter.java | 6842 | /*
* Copyright 2011 gitblit.com.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | apache-2.0 |
punkhorn/camel-upstream | components/camel-docker/src/test/java/org/apache/camel/component/docker/headers/WaitContainerCmdHeaderTest.java | 2429 | /**
* 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... | apache-2.0 |
tubemogul/druid | server/src/main/java/io/druid/server/coordinator/rules/LoadRule.java | 9453 | /*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | apache-2.0 |
rdicroce/deltaspike | deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ServiceUtils.java | 3022 | /*
* 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 ma... | apache-2.0 |
kidaa/jena | jena-core/src/main/java/jena/rdfcopy.java | 5015 | /*
* 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 ... | apache-2.0 |
cxfeng1/incubator-weex | runtime/frameworks/legacy/app/register.js | 3146 | /*
* 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 ... | apache-2.0 |
kasungayan/carbon-identity | components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/InboundAuthenticationRequestConfig.java | 4407 | /*
* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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/li... | apache-2.0 |
liyu1990/tensorflow | third_party/eigen3/Eigen/src/Eigenvalues/EigenSolver.h | 22623 | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2010,2012 Jitse Niesen <jitse@maths.leeds.ac.uk>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a... | apache-2.0 |
atpham256/azure-powershell | src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs | 2292 | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | apache-2.0 |
dodsont/android-motion-detection | javadocs/com/jwetherell/motion_detection/detection/package-summary.html | 6920 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.6.0_27) on Thu Dec 26 19:52:19 EST 2013 -->
<title>com.jwetherell.motion_detection.detection</title>
<meta name="date" content="2013-12-26"... | apache-2.0 |
hengxin/cassandra | test/unit/org/apache/cassandra/utils/SerializationsTest.java | 6082 | /*
* 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 ... | apache-2.0 |
wjiangjay/origin | pkg/gitserver/initializer.go | 5915 | package gitserver
import (
"fmt"
"io/ioutil"
"log"
"net/http"
"net/url"
"os"
"os/exec"
"path/filepath"
"regexp"
"strings"
"github.com/golang/glog"
"github.com/openshift/origin/pkg/git"
s2igit "github.com/openshift/source-to-image/pkg/scm/git"
)
var lazyInitMatch = regexp.MustCompile("^/([^\\/]+?)/info... | apache-2.0 |
biwoodfengs/AndroidDemoProjects | VectorDrawables/app/src/androidTest/java/com/tutsplus/vectordrawables/ApplicationTest.java | 359 | package com.tutsplus.vectordrawables;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... | apache-2.0 |
keycloak/keycloak | testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/util/LDAPRule.java | 15403 | /*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... | apache-2.0 |
GlenRSmith/elasticsearch | server/src/main/java/org/elasticsearch/search/aggregations/pipeline/SerialDiffPipelineAggregator.java | 4241 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | apache-2.0 |
joshfriend/homebrew | Library/brew.rb | 4159 | std_trap = trap("INT") { exit! 130 } # no backtrace thanks
require "pathname"
HOMEBREW_LIBRARY_PATH = Pathname.new(__FILE__).realpath.parent.join("Homebrew")
$:.unshift(HOMEBREW_LIBRARY_PATH.to_s)
require "global"
if ARGV == %w[--version] || ARGV == %w[-v]
puts "Homebrew #{Homebrew.homebrew_version_string}"
puts ... | bsd-2-clause |
NorthIsUp/homebrew-cask | Casks/querious.rb | 255 | class Querious < Cask
version 'latest'
sha256 :no_check
url 'http://www.araelium.com/querious/downloads/Querious.dmg'
appcast 'https://store.araelium.com/updates/querious'
homepage 'http://www.araelium.com/querious/'
link 'Querious.app'
end
| bsd-2-clause |
bureau14/qdb-benchmark | thirdparty/boost/libs/hana/example/and.cpp | 499 | // Copyright Louis Dionne 2013-2016
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/and.hpp>
#include <boost/hana/assert.hpp>
#include <boost/hana/bool.hpp>
namespace hana = boost::hana;
BOOST_HANA_CO... | bsd-2-clause |
markYoungH/chromium.src | tools/perf/page_sets/big_js.py | 935 | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry.page import page as page_module
from telemetry.page import page_set as page_set_module
class BigJsPageSet(page_set_module.PageSet):
""" Sit... | bsd-3-clause |
som-snytt/xsbt | sbt/src/sbt-test/source-dependencies/fbounded-existentials/fbounds.scala | 495 | class Dep {
// The API representation for `bla`'s result type contains a cycle
// (an existential's type variable's bound is the existential type itself)
// This results in a stack overflow while showing the API diff.
// Note that the actual result type in the compiler is not cyclic
// (the f-bounded existent... | bsd-3-clause |
aYukiSekiguchi/ACCESS-Chromium | remoting/host/user_authenticator_mac.cc | 2647 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/host/user_authenticator.h"
#include <Security/Security.h>
#include <string>
#include "base/basictypes.h"
#include "base/mac/mac_... | bsd-3-clause |
Chilledheart/chromium | chrome/test/data/extensions/api_test/messaging/externally_connectable/sites/assertions.js | 11033 | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
(function() {
// We are going to kill all of the builtins, so hold onto the ones we need.
var defineGetter = Object.prototype.__defineGetter__;
var defin... | bsd-3-clause |
axinging/chromium-crosswalk | sync/engine/backoff_delay_provider.h | 1935 | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SYNC_ENGINE_BACKOFF_DELAY_PROVIDER_H_
#define SYNC_ENGINE_BACKOFF_DELAY_PROVIDER_H_
#include "base/macros.h"
#include "base/time/time.h"
#include... | bsd-3-clause |
Honry/crosswalk-test-suite | webapi/webapi-appsecurity-external-tests/appsecurityapi/AppSecurityApi_getCreator_correct_instance.html | 2771 | <!DOCTYPE html>
<!--
Copyright (c) 2015 Intel Corporation.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of works must retain the original copyright notice, this list
of conditions and the following di... | bsd-3-clause |
js0701/chromium-crosswalk | chrome/browser/google/google_update_win.h | 5384 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_GOOGLE_GOOGLE_UPDATE_WIN_H_
#define CHROME_BROWSER_GOOGLE_GOOGLE_UPDATE_WIN_H_
#include "base/callback_forward.h"
#include "ba... | bsd-3-clause |
annatisch/autorest | src/generator/AutoRest.Python.Tests/Expected/AcceptanceTests/BodyFormData/autorestswaggerbatformdataservice/operations/formdata_operations.py | 5590 | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes ... | mit |
odajima-yu/closure-rails | vendor/assets/javascripts/goog/events/eventtargettester.js | 32410 | // Copyright 2012 The Closure Library 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 requ... | mit |
madhavanks26/com.vliesaputra.deviceinformation | src/com/vliesaputra/cordova/plugins/android/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/OutsideTaskActivity.java | 1318 | /*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | mit |
facebook/flow | src/parser/test/flow/invalid_syntax/migrated_0012.js | 67 | // No generics for getters and setters
({ set foo<T>(newFoo) {} })
| mit |
markogresak/DefinitelyTyped | types/poisson-disk-sampling/src/tiny-ndarray.d.ts | 31 | export const tinyNDArray: any;
| mit |
svenskan/pronounce | vendor/swftools/lib/h.263/h263tables.h | 1492 | /* h263tables.h
Copyright (c) 2003 Matthias Kramm <kramm@quiss.org>
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 vers... | mit |
sekcheong/referencesource | System.Data.SqlXml/System/Xml/Xsl/XsltOld/ValueOfAction.cs | 3999 | //------------------------------------------------------------------------------
// <copyright file="ValueOfAction.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary="... | mit |
awerlang/angular | modules/@angular/upgrade/test/aot/integration/examples_spec.ts | 3443 | /**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {Component, Directive, ElementRef, Injector, Input, NgModule, destroyPlatform} from '@angular/core';
import {... | mit |
rokn/Count_Words_2015 | testing/openjdk2/nashorn/src/jdk/nashorn/internal/objects/annotations/Getter.java | 2016 | /*
* Copyright (c) 2010, 2013, 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 ... | mit |
Halleck45/PhpMetricsZendServer | zray/vendor/hoa/iterator/Glob.php | 1879 | <?php
/**
* Hoa
*
*
* @license
*
* New BSD License
*
* Copyright © 2007-2015, Hoa community. 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 ... | mit |
base0225/-swift | 1209ZJ 百思不得姐 精华标题/1129ZJ 百思不得姐/Other/AppDelegate.h | 283 | //
// AppDelegate.h
// 1129ZJ 百思不得姐
//
// Created by base on 15/09/19.
// Copyright © 2015年 base. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| mit |
pcu4dros/pandora-core | workspace/lib/python3.5/site-packages/alembic/testing/mock.py | 791 | # testing/mock.py
# Copyright (C) 2005-2016 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
"""Import stub for mock library.
NOTE: copied/adapted from SQLAlchemy master f... | mit |
markogresak/DefinitelyTyped | types/bootstrap4-toggle/index.d.ts | 852 | // Type definitions for bootstrap4-toggle 3.6
// Project: https://github.com/gitbrent/bootstrap4-toggle, https://gitbrent.github.io/bootstrap4-toggle/
// Definitions by: Mitchell Grice <https://github.com/gricey432>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.7
/// <refe... | mit |
lmazuel/autorest | src/dev/TestServer/server/app.js | 18237 | var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');
var fs = require('fs');
var morgan = require('morgan');
var routes = require('./routes/index');
var ... | mit |
theoweiss/openhab2 | bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/basic/CommandParameterType.java | 1157 | /**
* Copyright (c) 2010-2019 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.... | epl-1.0 |
schnitzel25/pizza | sites/all/themes/pzz/libraries/responsive-nav/README.md | 13085 |
# Responsive Nav
### Responsive navigation plugin without library dependencies and with fast touch screen support.
[Responsive Nav](http://responsive-nav.com) is a tiny JavaScript plugin which weighs only 1.3kb minified and Gzip’ed, and helps you to create a toggled navigation for small screens. It uses touch events... | gpl-2.0 |
isauragalafate/drupal8 | vendor/symfony/validator/Tests/Constraints/RegexTest.php | 3009 | <?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Validator\Tests\Constraints;
use PHPUnit\Framework\Te... | gpl-2.0 |
foxsat-hdr/linux-kernel | net/ipv6/ip6_input.c | 6156 | /*
* IPv6 input
* Linux INET6 implementation
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
* Ian P. Morris <I.P.Morris@soton.ac.uk>
*
* $Id: ip6_input.c,v 1.19 2000/12/13 18:31:50 davem Exp $
*
* Based in linux/net/ipv4/ip_input.c
*
* This program is free software; you can redistribute it and/or
* ... | gpl-2.0 |
poondog/KANGAROO-kernel | arch/s390/mm/fault.c | 17263 | /*
* arch/s390/mm/fault.c
*
* S390 version
* Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
* Author(s): Hartmut Penner (hp@de.ibm.com)
* Ulrich Weigand (uweigand@de.ibm.com)
*
* Derived from "arch/i386/mm/fault.c"
* Copyright (C) 1995 Linus Torvalds
*/
#inclu... | gpl-2.0 |
Haynie-Research-and-Development/jarvis | web/webapi/sms/vendor/twilio/sdk/Twilio/Rest/Notify/V1/Service/BindingOptions.php | 5550 | <?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Notify\V1\Service;
use Twilio\Options;
use Twilio\Values;
/**
* PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
*/
abstract... | gpl-2.0 |
vorvor/diszkont | sites/all/themes/fusion/fusion_core/css/fusion-responsive-default.css | 5160 | @media only screen and (min-width:1200px) {
/**
* Fusion Grid Layout - 1200px width, 12 column grid, 30px gutters
* -------------------------------------------------------------------- */
/* grid widths */
body .grid12-1 {width: 100px;}
body .grid12-2 {width: 200px;}
body .grid12-3 {width: 300px;}
body .grid12-4 {wi... | gpl-2.0 |
aertmann/neos-development-collection | Neos.Neos/Classes/Controller/Module/UserController.php | 460 | <?php
namespace Neos\Neos\Controller\Module;
/*
* This file is part of the Neos.Neos package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* source c... | gpl-3.0 |
selmentdev/selment-toolchain | source/gcc-latest/gcc/postreload-gcse.c | 41806 | /* Post reload partially redundant load elimination
Copyright (C) 2004-2016 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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, or (a... | gpl-3.0 |
gguruss/mixerp | src/Libraries/Server Controls/Project/MixERP.Net.WebControls.Flag/FlagControl/IDisposable.cs | 972 | namespace MixERP.Net.WebControls.Flag
{
public partial class FlagControl
{
private bool disposed;
public override void Dispose()
{
if (!this.disposed)
{
this.Dispose(true);
base.Dispose();
}
}
private ... | gpl-3.0 |
jiyuren/AmazeFileManager-1 | src/main/java/com/amaze/filemanager/utils/RootHelper.java | 7137 | /*
* Copyright (C) 2014 Arpit Khurana <arpitkh96@gmail.com>
*
* This file is part of Amaze File Manager.
*
* Amaze File Manager 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 Li... | gpl-3.0 |
bohlian/erpnext | erpnext/docs/user/manual/en/accounts/index.md | 677 | # Accounts
At the end of sales and purchase cycle comes billing and payments. You may have
an accountant in your team, or you may be doing accounting yourself, or you may
have outsourced your accounting. In all the cases financial accounting forms the core of any business management system like an ERP.
In ERPNext, yo... | gpl-3.0 |
keen99/terraform | builtin/providers/aws/resource_aws_autoscaling_group_test.go | 15294 | package aws
import (
"fmt"
"reflect"
"strings"
"testing"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/service/autoscaling"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
)
func TestAccAWSAutoScalingGroup_basic(... | mpl-2.0 |
MjAbuz/exist | extensions/debuggee/src/org/exist/debuggee/dbgp/packets/StepInto.java | 1942 | /*
* eXist Open Source Native XML Database
* Copyright (C) 2009-2011 The eXist Project
* http://exist-db.org
*
* 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 versio... | lgpl-2.1 |
kenhys/groonga | vendor/nginx-1.19.2/src/http/ngx_http_upstream_round_robin.h | 5089 |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#ifndef _NGX_HTTP_UPSTREAM_ROUND_ROBIN_H_INCLUDED_
#define _NGX_HTTP_UPSTREAM_ROUND_ROBIN_H_INCLUDED_
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
typedef struct ngx_http_upstream_rr_peer_s ngx_http_upstream_rr_peer_t;
str... | lgpl-2.1 |
kedgeproject/kedge | vendor/github.com/openshift/origin/pkg/cmd/server/bootstrappolicy/all.go | 384 | package bootstrappolicy
import (
rbacrest "k8s.io/kubernetes/pkg/registry/rbac/rest"
)
func Policy() *rbacrest.PolicyData {
return &rbacrest.PolicyData{
ClusterRoles: GetBootstrapClusterRoles(),
ClusterRoleBindings: GetBootstrapClusterRoleBindings(),
Roles: GetBootstrapNamespaceRoles(),
... | apache-2.0 |
gburton1/metrics | metrics-healthchecks/src/main/java/com/codahale/metrics/health/jvm/ThreadDeadlockHealthCheck.java | 1021 | package com.codahale.metrics.health.jvm;
import com.codahale.metrics.health.HealthCheck;
import com.codahale.metrics.jvm.ThreadDeadlockDetector;
import java.util.Set;
/**
* A health check which returns healthy if no threads are deadlocked.
*/
public class ThreadDeadlockHealthCheck extends HealthCheck {
private... | apache-2.0 |
patrox/dropwizard | dropwizard-jdbi/src/main/java/io/dropwizard/jdbi/args/InstantArgument.java | 1397 | package io.dropwizard.jdbi.args;
import org.skife.jdbi.v2.StatementContext;
import org.skife.jdbi.v2.tweak.Argument;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.sql.Types;
import java.time.Instant;
import java.util.Calendar;
import java.util.Optional;
/**
... | apache-2.0 |
yepengxj/df_st_origin1 | pkg/authorization/cache/clusterpolicybinding.go | 4026 | package cache
import (
"time"
kapi "k8s.io/kubernetes/pkg/api"
errors "k8s.io/kubernetes/pkg/api/errors"
"k8s.io/kubernetes/pkg/client/cache"
"k8s.io/kubernetes/pkg/fields"
"k8s.io/kubernetes/pkg/labels"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/watch"
authorizationapi "github.com/openshift/ori... | apache-2.0 |
weswigham/TypeScript | tests/baselines/reference/pathMappingBasedModuleResolution5_classic.js | 1513 | //// [tests/cases/compiler/pathMappingBasedModuleResolution5_classic.ts] ////
//// [file1.ts]
import {x} from "folder2/file1"
import {y} from "folder3/file2"
import {z} from "components/file3"
import {z1} from "file4"
declare function use(a: any): void;
use(x.toExponential());
use(y.toExponential());
use(z.toExpo... | apache-2.0 |
yanzhijun/jclouds-aliyun | providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/features/AWSInstanceApi.java | 4022 | /*
* 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 ... | apache-2.0 |
BiryukovVA/ignite | modules/core/src/main/java/org/apache/ignite/internal/direct/DirectMessageWriter.java | 12148 | /*
* 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 ... | apache-2.0 |
Geovanny0401/bookStore | bookstore-front/node_modules/zone.js/dist/zone-bluebird.js | 1237 | /**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
typeof define ==... | apache-2.0 |
asedunov/intellij-community | platform/lang-impl/src/com/intellij/testIntegration/TestFinderHelper.java | 4188 | /*
* Copyright 2000-2009 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... | apache-2.0 |
dungbq89/lnews | vendor/sleeping-owl/admin/src/SleepingOwl/Admin/Admin.php | 3169 | <?php namespace SleepingOwl\Admin;
use SleepingOwl\Html\FormBuilder;
use SleepingOwl\Html\HtmlBuilder;
use SleepingOwl\Admin\Menu\MenuItem;
use SleepingOwl\Admin\Models\ModelItem;
use SleepingOwl\Admin\Models\Models;
use Illuminate\Config\Repository;
use Illuminate\Filesystem\Filesystem;
use Illuminate\Routing\Router ... | apache-2.0 |
MarsuperMammal/pw_gce | lib/puppet/type/ec2_scalingpolicy.rb | 1573 | Puppet::Type.newtype(:ec2_scalingpolicy) do
@doc = 'Type representing an EC2 scaling policy.'
ensurable
newparam(:name, namevar: true) do
desc 'The name of the scaling policy.'
validate do |value|
fail 'Scaling policies must have a name' if value == ''
fail 'name should be a String' unless v... | apache-2.0 |
pinotlytics/pinot | pinot-core/src/test/java/com/linkedin/pinot/core/realtime/RealtimeIntegrationTest.java | 877 | /**
* Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | apache-2.0 |
NSAmelchev/ignite | modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/oom/IgniteQueryOOMTestSuite.java | 1192 | /*
* 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 ... | apache-2.0 |
samaitra/ignite | modules/core/src/test/java/org/apache/ignite/cache/IgniteCacheEntryProcessorSequentialCallTest.java | 11581 | /*
* 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 ... | apache-2.0 |
Ant-Droid/android_frameworks_base_OLD | docs/html/sdk/support_api_diff/22.2.0/changes/constructors_index_additions.html | 2470 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML style="overflow:auto;">
<HEAD>
<meta name="generator" content="JDiff v1.1.0">
<!-- Generated by the JDiff Javadoc doclet -->
<!-- (http://www.jdiff.org) -->
<meta name="description" content="JDiff is a Javadoc doclet which ... | apache-2.0 |
shahrzadmn/vaadin | server/src/com/vaadin/event/EventRouter.java | 8333 | /*
* Copyright 2000-2014 Vaadin Ltd.
*
* 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... | apache-2.0 |
zhangjunfang/eclipse-dir | nsp/src/main/webapp/scripts/lib/fckeditor/editor/dialog/common/fck_dialog_common.js | 8894 | /*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright
* (C) 2003-2008 Frederico Caldeira Knabben == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your choice: -
* GNU General Public License Version 2 or later (the "GPL")
* http://www.gnu.org/licen... | bsd-2-clause |
hoangt/tpzsimul.gem5 | src/cpu/pred/bpred_unit.cc | 2246 | /*
* Copyright (c) 2004-2006 The Regents of The University of Michigan
* Copyright (c) 2010 The University of Edinburgh
* Copyright (c) 2012 Mark D. Hill and David A. Wood
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... | bsd-3-clause |
scheib/chromium | components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/util/HttpURLConnectionFactory.java | 548 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.components.minidump_uploader.util;
import java.net.HttpURLConnection;
/**
* A factory class for creating a HttpURLConnection.
*/
... | bsd-3-clause |
catapult-project/catapult | third_party/polymer/components/shadycss/tests/scoping-api.html | 5179 | <!doctype html>
<!--
@license
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be... | bsd-3-clause |
mitchellrj/genshi | genshi/filters/tests/i18n.py | 89114 | # -*- coding: utf-8 -*-
#
# Copyright (C) 2007-2010 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://genshi.edgewall.org/wiki/License.
#
# This software consist... | bsd-3-clause |
mohamed--abdel-maksoud/chromium.src | chrome/browser/chromeos/login/version_info_updater.cc | 5419 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/login/version_info_updater.h"
#include <vector>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "ba... | bsd-3-clause |
annulen/premake-dev-rgeary | src/host/luajit-2.0/src/lj_jit.h | 15241 | /*
** Common definitions for the JIT compiler.
** Copyright (C) 2005-2012 Mike Pall. See Copyright Notice in luajit.h
*/
#ifndef _LJ_JIT_H
#define _LJ_JIT_H
#include "lj_obj.h"
#include "lj_ir.h"
/* JIT engine flags. */
#define JIT_F_ON 0x00000001
/* CPU-specific JIT engine flags. */
#if LJ_TARGET_X86ORX64
#define... | bsd-3-clause |
Windows-Readiness/WinDevWorkshop | RU/!RU 01. Introduction/01. Lab B. Solution/Exercise 2/SimpleNavigation/Properties/AssemblyInfo.cs | 1052 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Si... | mit |
kumakoko/KumaGL | third_lib/boost/1.75.0/boost/gil/extension/io/png/detail/writer_backend.hpp | 16790 | //
// Copyright 2012 Christian Henning
//
// 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_GIL_EXTENSION_IO_PNG_DETAIL_WRITER_BACKEND_HPP
#define BOOST_GIL_EXTENSION_IO_PNG_DETAIL_WRITER_BACKEND_HPP
... | mit |
kjg/mail | spec/mail/attachments_list_spec.rb | 13083 | # encoding: utf-8
require 'spec_helper'
def encode_base64(str)
Mail::Encodings::Base64.encode(str)
end
def check_decoded(actual, expected)
if RUBY_VERSION >= '1.9'
expect(actual.encoding).to eq Encoding::BINARY
expect(actual).to eq expected.force_encoding(Encoding::BINARY)
else
expect(actual).to eq ... | mit |
tarquasso/softroboticfish6 | fish/pi/ros/catkin_ws/src/rosserial/devel/share/gennodejs/ros/rosserial_msgs/find.js | 1464 | /*
* Copyright 2016 Rethink Robotics
*
* Copyright 2016 Chris Smith
*
* 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
*
... | mit |
EdwardStudy/myghostblog | versions/1.25.7/node_modules/eslint/lib/rules/accessor-pairs.js | 5257 | /**
* @fileoverview Rule to flag wrapping non-iife in parens
* @author Gyandeep Singh
*/
"use strict";
//------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
/**
* Checks whether or not a given n... | mit |
junhuac/MQUIC | src/base/android/linker/legacy_linker_jni.cc | 16030 | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This is the version of the Android-specific Chromium linker that uses
// the crazy linker to load libraries.
// This source code *cannot* depend on an... | mit |
snehasen/Agilesite | source/docs/asset-folders.md | 657 | title: Asset Folders
---
Assets are non-post files in `source` folder, such as images, CSS or JavaScript files. Hexo provides a more convenient way to manage assets. To enable this, modify `post_asset_folder` setting.
``` yaml
post_asset_folder: true
```
Once `post_asset_folder` setting is enabled, Hexo will create a... | mit |
nbarbettini/corefx | src/Common/src/System/Net/SafeCloseSocket.cs | 9141 | // 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 Microsoft.Win32.SafeHandles;
using System.Diagnostics;
using System.Threading;
namespace System.Net.Sockets
... | mit |
johanbrandhorst/protobuf | vendor/github.com/sclevine/agouti/api/api.go | 418 | // Package api provides a generic, low-level WebDriver API client for Go.
// All methods map directly to endpoints of the WebDriver Wire Protocol:
// https://code.google.com/p/selenium/wiki/JsonWireProtocol
//
// This package was previously internal to the agouti package. It currently
// does not have a fixed API, but ... | mit |
afuerstenau/daily-notes | vendor/cache/ruby/2.5.0/gems/activerecord-5.0.6/lib/active_record/attribute_methods/serialization.rb | 2841 | module ActiveRecord
module AttributeMethods
module Serialization
extend ActiveSupport::Concern
module ClassMethods
# If you have an attribute that needs to be saved to the database as an
# object, and retrieved as the same object, then specify the name of that
# attribute usin... | mit |
sekcheong/referencesource | System/net/System/Net/Configuration/PerformanceCountersElement.cs | 1389 | //------------------------------------------------------------------------------
// <copyright file="PerformanceCountersElement.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------... | mit |
gregoriusxu/Umbraco-CMS | src/Umbraco.Web.UI.Client/src/views/common/dialogs/mediapicker.controller.js | 6762 | //used for the media picker dialog
angular.module("umbraco")
.controller("Umbraco.Dialogs.MediaPickerController",
function ($scope, mediaResource, umbRequestHelper, entityResource, $log, mediaHelper, eventsService, treeService, $cookies, $element, $timeout, notificationsService) {
var dial... | mit |
Originate/exosphere | vendor/github.com/moby/moby/cli/command/volume/inspect_test.go | 4211 | package volume
import (
"bytes"
"fmt"
"io/ioutil"
"testing"
"github.com/docker/docker/api/types"
"github.com/docker/docker/cli/internal/test"
"github.com/pkg/errors"
// Import builders to get the builder function as package function
. "github.com/docker/docker/cli/internal/test/builders"
"github.com/docker/... | mit |
nfl/es6-module-loader | src/system.js | 1825 | /*
*********************************************************************************************
System Loader Implementation
- Implemented to https://github.com/jorendorff/js-loaders/blob/master/browser-loader.js
- <script type="module"> supported
*********************************************************... | mit |
HackerOO7/android_kernel_huawei_u8951 | fs/ext4/ialloc.c | 32786 | /*
* linux/fs/ext4/ialloc.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* Remy Card (card@masi.ibp.fr)
* Laboratoire MASI - Institut Blaise Pascal
* Universite Pierre et Marie Curie (Paris VI)
*
* BSD ufs-inspired inode and directory allocation by
* Stephen Tweedie (sct@redhat.com), 1993
* Big-endian to litt... | gpl-2.0 |
leon196/Lines | src/bower_components/pixi.js/examples/example 8 - Dragging/index.html | 3218 | <!DOCTYPE HTML>
<html>
<head>
<title>pixi.js example 8 Dragging</title>
<style>
body {
margin: 0;
padding: 0;
background-color: #FFFFFF;
}
</style>
<script src="../../bin/pixi.dev.js"></script>
</head>
<body>
<script>
// create an new instance... | gpl-2.0 |
codeaurora-unoffical/linux-msm | drivers/gpu/drm/i915/Makefile | 5069 | # SPDX-License-Identifier: GPL-2.0
#
# Makefile for the drm device driver. This driver provides support for the
# Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher.
# Add a set of useful warning flags and enable -Werror for CI to prevent
# trivial mistakes from creeping in. We have to do this piecemea... | gpl-2.0 |
ysleu/RTL8685 | uClinux-dist/lib/libg/gtermcap/termcap.c | 17787 | /* Work-alike for termcap, plus extra features.
Copyright (C) 1985, 1986, 1993, 2002 Free Software Foundation, 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, or (at your op... | gpl-2.0 |
totalspectrum/binutils-propeller | gold/testsuite/common_test_3.c | 1137 | /* common_test_3.c -- test common symbol name conflicts
Copyright (C) 2009-2017 Free Software Foundation, Inc.
Written by Ian Lance Taylor <iant@google.com>
This file is part of gold.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Lice... | gpl-2.0 |
foxsat-hdr/linux-kernel | drivers/s390/net/qeth_proc.c | 13354 | /*
*
* linux/drivers/s390/net/qeth_fs.c ($Revision: 1.13 $)
*
* Linux on zSeries OSA Express and HiperSockets support
* This file contains code related to procfs.
*
* Copyright 2000,2003 IBM Corporation
*
* Author(s): Thomas Spatzier <tspat@de.ibm.com>
*
*/
#include <linux/module.h>
#include <linux/init.h>
#... | gpl-2.0 |