code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
/* * 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...
ThiagoGarciaAlves/drools
drools-workbench-models/drools-workbench-models-guided-dtree/src/main/java/org/drools/workbench/models/guided/dtree/shared/model/nodes/TypeNode.java
Java
apache-2.0
791
# For cmake_parse_arguments include(CMakeParseArguments) ################################################################################################ # Command alias for debugging messages # Usage: # dmsg(<message>) function(dmsg) message(STATUS ${ARGN}) endfunction() #########################################...
likelyzhao/mxnet
cmake/Utils.cmake
CMake
apache-2.0
14,281
/* * 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...
ninetian/ffmpeginstaller
gpac-0.7.1/extra_lib/include/ffmpeg_android/libavutil/murmur3.h
C
apache-2.0
2,444
/* * 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 ...
culmat/gitblit
src/main/java/com/gitblit/utils/GitBlitDiffFormatter.java
Java
apache-2.0
6,842
/** * 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...
punkhorn/camel-upstream
components/camel-docker/src/test/java/org/apache/camel/component/docker/headers/WaitContainerCmdHeaderTest.java
Java
apache-2.0
2,429
/* * 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...
tubemogul/druid
server/src/main/java/io/druid/server/coordinator/rules/LoadRule.java
Java
apache-2.0
9,453
/* * 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...
rdicroce/deltaspike
deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/ServiceUtils.java
Java
apache-2.0
3,022
/* * 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 ...
kidaa/jena
jena-core/src/main/java/jena/rdfcopy.java
Java
apache-2.0
5,015
/* * 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 ...
cxfeng1/incubator-weex
runtime/frameworks/legacy/app/register.js
JavaScript
apache-2.0
3,146
/* * 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...
kasungayan/carbon-identity
components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/InboundAuthenticationRequestConfig.java
Java
apache-2.0
4,407
// 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...
liyu1990/tensorflow
third_party/eigen3/Eigen/src/Eigenvalues/EigenSolver.h
C
apache-2.0
22,623
// ---------------------------------------------------------------------------------- // // 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...
atpham256/azure-powershell
src/ServiceManagement/Services/Commands.Utilities/Websites/KuduRemoteClientBase.cs
C#
apache-2.0
2,292
<!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"...
dodsont/android-motion-detection
javadocs/com/jwetherell/motion_detection/detection/package-summary.html
HTML
apache-2.0
6,920
/* * 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 ...
hengxin/cassandra
test/unit/org/apache/cassandra/utils/SerializationsTest.java
Java
apache-2.0
6,082
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...
wjiangjay/origin
pkg/gitserver/initializer.go
GO
apache-2.0
5,915
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() { ...
biwoodfengs/AndroidDemoProjects
VectorDrawables/app/src/androidTest/java/com/tutsplus/vectordrawables/ApplicationTest.java
Java
apache-2.0
359
/* * 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...
keycloak/keycloak
testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/util/LDAPRule.java
Java
apache-2.0
15,403
/* * 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...
GlenRSmith/elasticsearch
server/src/main/java/org/elasticsearch/search/aggregations/pipeline/SerialDiffPipelineAggregator.java
Java
apache-2.0
4,241
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 ...
joshfriend/homebrew
Library/brew.rb
Ruby
bsd-2-clause
4,159
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
NorthIsUp/homebrew-cask
Casks/querious.rb
Ruby
bsd-2-clause
255
// 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...
bureau14/qdb-benchmark
thirdparty/boost/libs/hana/example/and.cpp
C++
bsd-2-clause
499
# 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...
markYoungH/chromium.src
tools/perf/page_sets/big_js.py
Python
bsd-3-clause
935
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...
som-snytt/xsbt
sbt/src/sbt-test/source-dependencies/fbounded-existentials/fbounds.scala
Scala
bsd-3-clause
495
// 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_...
aYukiSekiguchi/ACCESS-Chromium
remoting/host/user_authenticator_mac.cc
C++
bsd-3-clause
2,647
// 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...
Chilledheart/chromium
chrome/test/data/extensions/api_test/messaging/externally_connectable/sites/assertions.js
JavaScript
bsd-3-clause
11,033
// 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...
axinging/chromium-crosswalk
sync/engine/backoff_delay_provider.h
C
bsd-3-clause
1,935
<!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...
Honry/crosswalk-test-suite
webapi/webapi-appsecurity-external-tests/appsecurityapi/AppSecurityApi_getCreator_correct_instance.html
HTML
bsd-3-clause
2,771
// 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...
js0701/chromium-crosswalk
chrome/browser/google/google_update_win.h
C
bsd-3-clause
5,384
# 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 ...
annatisch/autorest
src/generator/AutoRest.Python.Tests/Expected/AcceptanceTests/BodyFormData/autorestswaggerbatformdataservice/operations/formdata_operations.py
Python
mit
5,590
// 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...
odajima-yu/closure-rails
vendor/assets/javascripts/goog/events/eventtargettester.js
JavaScript
mit
32,410
/* * 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...
madhavanks26/com.vliesaputra.deviceinformation
src/com/vliesaputra/cordova/plugins/android/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/OutsideTaskActivity.java
Java
mit
1,318
// No generics for getters and setters ({ set foo<T>(newFoo) {} })
facebook/flow
src/parser/test/flow/invalid_syntax/migrated_0012.js
JavaScript
mit
67
export const tinyNDArray: any;
markogresak/DefinitelyTyped
types/poisson-disk-sampling/src/tiny-ndarray.d.ts
TypeScript
mit
31
/* 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...
svenskan/pronounce
vendor/swftools/lib/h.263/h263tables.h
C
mit
1,492
//------------------------------------------------------------------------------ // <copyright file="ValueOfAction.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> // <owner current="true" primary="...
sekcheong/referencesource
System.Data.SqlXml/System/Xml/Xsl/XsltOld/ValueOfAction.cs
C#
mit
3,999
/** * @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 {...
awerlang/angular
modules/@angular/upgrade/test/aot/integration/examples_spec.ts
TypeScript
mit
3,443
/* * 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 ...
rokn/Count_Words_2015
testing/openjdk2/nashorn/src/jdk/nashorn/internal/objects/annotations/Getter.java
Java
mit
2,016
<?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 ...
Halleck45/PhpMetricsZendServer
zray/vendor/hoa/iterator/Glob.php
PHP
mit
1,879
// // 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
base0225/-swift
1209ZJ 百思不得姐 精华标题/1129ZJ 百思不得姐/Other/AppDelegate.h
C
mit
283
# 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...
pcu4dros/pandora-core
workspace/lib/python3.5/site-packages/alembic/testing/mock.py
Python
mit
791
// 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...
markogresak/DefinitelyTyped
types/bootstrap4-toggle/index.d.ts
TypeScript
mit
852
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 ...
lmazuel/autorest
src/dev/TestServer/server/app.js
JavaScript
mit
18,237
/** * 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....
theoweiss/openhab2
bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/basic/CommandParameterType.java
Java
epl-1.0
1,157
# 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...
schnitzel25/pizza
sites/all/themes/pzz/libraries/responsive-nav/README.md
Markdown
gpl-2.0
13,085
<?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...
isauragalafate/drupal8
vendor/symfony/validator/Tests/Constraints/RegexTest.php
PHP
gpl-2.0
3,009
/* * 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 * ...
foxsat-hdr/linux-kernel
net/ipv6/ip6_input.c
C
gpl-2.0
6,156
/* * 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...
poondog/KANGAROO-kernel
arch/s390/mm/fault.c
C
gpl-2.0
17,263
<?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...
Haynie-Research-and-Development/jarvis
web/webapi/sms/vendor/twilio/sdk/Twilio/Rest/Notify/V1/Service/BindingOptions.php
PHP
gpl-2.0
5,550
@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...
vorvor/diszkont
sites/all/themes/fusion/fusion_core/css/fusion-responsive-default.css
CSS
gpl-2.0
5,160
<?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...
aertmann/neos-development-collection
Neos.Neos/Classes/Controller/Module/UserController.php
PHP
gpl-3.0
460
/* 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...
selmentdev/selment-toolchain
source/gcc-latest/gcc/postreload-gcse.c
C
gpl-3.0
41,806
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 ...
gguruss/mixerp
src/Libraries/Server Controls/Project/MixERP.Net.WebControls.Flag/FlagControl/IDisposable.cs
C#
gpl-3.0
972
/* * 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...
jiyuren/AmazeFileManager-1
src/main/java/com/amaze/filemanager/utils/RootHelper.java
Java
gpl-3.0
7,137
# 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...
bohlian/erpnext
erpnext/docs/user/manual/en/accounts/index.md
Markdown
gpl-3.0
677
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(...
keen99/terraform
builtin/providers/aws/resource_aws_autoscaling_group_test.go
GO
mpl-2.0
15,294
/* * 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...
MjAbuz/exist
extensions/debuggee/src/org/exist/debuggee/dbgp/packets/StepInto.java
Java
lgpl-2.1
1,942
/* * 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...
kenhys/groonga
vendor/nginx-1.19.2/src/http/ngx_http_upstream_round_robin.h
C
lgpl-2.1
5,089
package bootstrappolicy import ( rbacrest "k8s.io/kubernetes/pkg/registry/rbac/rest" ) func Policy() *rbacrest.PolicyData { return &rbacrest.PolicyData{ ClusterRoles: GetBootstrapClusterRoles(), ClusterRoleBindings: GetBootstrapClusterRoleBindings(), Roles: GetBootstrapNamespaceRoles(), ...
kedgeproject/kedge
vendor/github.com/openshift/origin/pkg/cmd/server/bootstrappolicy/all.go
GO
apache-2.0
384
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...
gburton1/metrics
metrics-healthchecks/src/main/java/com/codahale/metrics/health/jvm/ThreadDeadlockHealthCheck.java
Java
apache-2.0
1,021
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; /** ...
patrox/dropwizard
dropwizard-jdbi/src/main/java/io/dropwizard/jdbi/args/InstantArgument.java
Java
apache-2.0
1,397
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...
yepengxj/df_st_origin1
pkg/authorization/cache/clusterpolicybinding.go
GO
apache-2.0
4,026
//// [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...
weswigham/TypeScript
tests/baselines/reference/pathMappingBasedModuleResolution5_classic.js
JavaScript
apache-2.0
1,513
/* * 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 ...
yanzhijun/jclouds-aliyun
providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/features/AWSInstanceApi.java
Java
apache-2.0
4,022
/* * 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 ...
BiryukovVA/ignite
modules/core/src/main/java/org/apache/ignite/internal/direct/DirectMessageWriter.java
Java
apache-2.0
12,148
/** * @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 ==...
Geovanny0401/bookStore
bookstore-front/node_modules/zone.js/dist/zone-bluebird.js
JavaScript
apache-2.0
1,237
/* * 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...
asedunov/intellij-community
platform/lang-impl/src/com/intellij/testIntegration/TestFinderHelper.java
Java
apache-2.0
4,188
<?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 ...
dungbq89/lnews
vendor/sleeping-owl/admin/src/SleepingOwl/Admin/Admin.php
PHP
apache-2.0
3,169
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...
MarsuperMammal/pw_gce
lib/puppet/type/ec2_scalingpolicy.rb
Ruby
apache-2.0
1,573
/** * 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...
pinotlytics/pinot
pinot-core/src/test/java/com/linkedin/pinot/core/realtime/RealtimeIntegrationTest.java
Java
apache-2.0
877
/* * 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 ...
NSAmelchev/ignite
modules/indexing/src/test/java/org/apache/ignite/internal/processors/query/oom/IgniteQueryOOMTestSuite.java
Java
apache-2.0
1,192
/* * 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 ...
samaitra/ignite
modules/core/src/test/java/org/apache/ignite/cache/IgniteCacheEntryProcessorSequentialCallTest.java
Java
apache-2.0
11,581
<!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 ...
Ant-Droid/android_frameworks_base_OLD
docs/html/sdk/support_api_diff/22.2.0/changes/constructors_index_additions.html
HTML
apache-2.0
2,470
/* * 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...
shahrzadmn/vaadin
server/src/com/vaadin/event/EventRouter.java
Java
apache-2.0
8,333
/* * 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...
zhangjunfang/eclipse-dir
nsp/src/main/webapp/scripts/lib/fckeditor/editor/dialog/common/fck_dialog_common.js
JavaScript
bsd-2-clause
8,894
/* * 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...
hoangt/tpzsimul.gem5
src/cpu/pred/bpred_unit.cc
C++
bsd-3-clause
2,246
// 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. */ ...
scheib/chromium
components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/util/HttpURLConnectionFactory.java
Java
bsd-3-clause
548
<!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...
catapult-project/catapult
third_party/polymer/components/shadycss/tests/scoping-api.html
HTML
bsd-3-clause
5,179
# -*- 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...
mitchellrj/genshi
genshi/filters/tests/i18n.py
Python
bsd-3-clause
89,114
// 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...
mohamed--abdel-maksoud/chromium.src
chrome/browser/chromeos/login/version_info_updater.cc
C++
bsd-3-clause
5,419
/* ** 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...
annulen/premake-dev-rgeary
src/host/luajit-2.0/src/lj_jit.h
C
bsd-3-clause
15,241
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...
Windows-Readiness/WinDevWorkshop
RU/!RU 01. Introduction/01. Lab B. Solution/Exercise 2/SimpleNavigation/Properties/AssemblyInfo.cs
C#
mit
1,052
// // 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 ...
kumakoko/KumaGL
third_lib/boost/1.75.0/boost/gil/extension/io/png/detail/writer_backend.hpp
C++
mit
16,790
# 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 ...
kjg/mail
spec/mail/attachments_list_spec.rb
Ruby
mit
13,083
/* * 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 * ...
tarquasso/softroboticfish6
fish/pi/ros/catkin_ws/src/rosserial/devel/share/gennodejs/ros/rosserial_msgs/find.js
JavaScript
mit
1,464
/** * @fileoverview Rule to flag wrapping non-iife in parens * @author Gyandeep Singh */ "use strict"; //------------------------------------------------------------------------------ // Helpers //------------------------------------------------------------------------------ /** * Checks whether or not a given n...
EdwardStudy/myghostblog
versions/1.25.7/node_modules/eslint/lib/rules/accessor-pairs.js
JavaScript
mit
5,257
// 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...
junhuac/MQUIC
src/base/android/linker/legacy_linker_jni.cc
C++
mit
16,030
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...
snehasen/Agilesite
source/docs/asset-folders.md
Markdown
mit
657
// 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 ...
nbarbettini/corefx
src/Common/src/System/Net/SafeCloseSocket.cs
C#
mit
9,141
// 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 ...
johanbrandhorst/protobuf
vendor/github.com/sclevine/agouti/api/api.go
GO
mit
418
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...
afuerstenau/daily-notes
vendor/cache/ruby/2.5.0/gems/activerecord-5.0.6/lib/active_record/attribute_methods/serialization.rb
Ruby
mit
2,841
//------------------------------------------------------------------------------ // <copyright file="PerformanceCountersElement.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //-----------------------------------------------------------------------...
sekcheong/referencesource
System/net/System/Net/Configuration/PerformanceCountersElement.cs
C#
mit
1,389
//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...
gregoriusxu/Umbraco-CMS
src/Umbraco.Web.UI.Client/src/views/common/dialogs/mediapicker.controller.js
JavaScript
mit
6,762
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/...
Originate/exosphere
vendor/github.com/moby/moby/cli/command/volume/inspect_test.go
GO
mit
4,211
/* ********************************************************************************************* System Loader Implementation - Implemented to https://github.com/jorendorff/js-loaders/blob/master/browser-loader.js - <script type="module"> supported *********************************************************...
nfl/es6-module-loader
src/system.js
JavaScript
mit
1,825
/* * 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...
HackerOO7/android_kernel_huawei_u8951
fs/ext4/ialloc.c
C
gpl-2.0
32,786
<!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...
leon196/Lines
src/bower_components/pixi.js/examples/example 8 - Dragging/index.html
HTML
gpl-2.0
3,218
# 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...
codeaurora-unoffical/linux-msm
drivers/gpu/drm/i915/Makefile
Makefile
gpl-2.0
5,069
/* 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...
ysleu/RTL8685
uClinux-dist/lib/libg/gtermcap/termcap.c
C
gpl-2.0
17,787
/* 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...
totalspectrum/binutils-propeller
gold/testsuite/common_test_3.c
C
gpl-2.0
1,137
/* * * 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> #...
foxsat-hdr/linux-kernel
drivers/s390/net/qeth_proc.c
C
gpl-2.0
13,354