code
stringlengths
572
46.5k
repo_name
stringlengths
7
62
path
stringlengths
6
247
language
stringclasses
7 values
license
stringclasses
15 values
size
int64
572
46.5k
package org.hisp.dhis.dxf2.metadata; /* * Copyright (c) 2004-2018, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above ...
msf-oca-his/dhis-core
dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/metadata/MergeServiceTest.java
Java
bsd-3-clause
8,300
"""Views for Zinnia entries""" from django.views.generic.dates import BaseDateDetailView from zinnia.models import Entry from zinnia.views.mixins.archives import ArchiveMixin from zinnia.views.mixins.entry_protection import EntryProtectionMixin from zinnia.views.mixins.templates import EntryArchiveTemplateResponseMixi...
westinedu/similarinterest
zinnia/views/entries.py
Python
bsd-3-clause
1,116
/* * Copyright 2013 Red Hat, Inc. and/or its affiliates. * * Licensed under the Eclipse Public License version 1.0, available at * http://www.eclipse.org/legal/epl-v10.html */ package test.org.jboss.forge.furnace.views; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import ...
gastaldi/furnace
container-tests/src/test/java/test/org/jboss/forge/furnace/views/MultipleRepositoryTest.java
Java
epl-1.0
8,472
/******************************************************************************* * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
boniatillo-com/PhaserEditor
source/thirdparty/jsdt/org.eclipse.wst.jsdt.ui/src/org/eclipse/wst/jsdt/internal/ui/javaeditor/TogglePresentationAction.java
Java
epl-1.0
4,805
/* The MIT License (MIT) Copyright (c) wenjie.zhao 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, modify, merge, publis...
wenjiegit/Bull-Live-Encoder
trunk/src/BleAVQueue.hpp
C++
gpl-2.0
1,840
// // C++ Implementation: ColouredListItem // // Description: // // // Author: Erik Hjortsberg <erik.hjortsberg@gmail.com>, (C) 2007 // // 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...
zomeelee/ember
src/components/ogre/widgets/ColouredListItem.cpp
C++
gpl-3.0
3,679
#ifndef MUPDF_FITZ_OUTLINE_H #define MUPDF_FITZ_OUTLINE_H #include "mupdf/fitz/system.h" #include "mupdf/fitz/context.h" #include "mupdf/fitz/link.h" #include "mupdf/fitz/output.h" /* Outline */ /* fz_outline is a tree of the outline of a document (also known as table of contents). title: Title of outline item u...
lustersir/MuPDF
include/mupdf/fitz/outline.h
C
agpl-3.0
1,545
/* Copyright 2020 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
dalehamel/minikube
pkg/minikube/mustload/mustload_test.go
GO
apache-2.0
983
/** * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under ...
bric3/assertj-core
src/test/java/org/assertj/core/test/TestData.java
Java
apache-2.0
2,074
/* * 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...
camunda/camunda-bpm-platform
engine/src/test/java/org/camunda/bpm/engine/test/api/multitenancy/cmmn/query/history/MultiTenancyHistoricCaseInstanceQueryTest.java
Java
apache-2.0
7,664
/** * 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 m...
RanjithKumar5550/RanMifos
fineract-provider/src/main/java/org/apache/fineract/useradministration/api/PermissionsApiResource.java
Java
apache-2.0
4,987
/* * Copyright 2019 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 * * Unless required by applica...
gradle/gradle
subprojects/plugins/src/main/java/org/gradle/api/plugins/internal/DefaultAdhocSoftwareComponent.java
Java
apache-2.0
3,022
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/sagemaker/model/ListDataQualityJobDefinitionsResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h...
jt70471/aws-sdk-cpp
aws-cpp-sdk-sagemaker/source/model/ListDataQualityJobDefinitionsResult.cpp
C++
apache-2.0
1,502
package org.apereo.cas.config; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.consent.ConsentRepository; import org.apereo.cas.consent.LdapConsentRepository; import org.apereo.cas.util.LdapUtils; import lombok.val; import org.ldaptive.ConnectionFactory; import org.springframewor...
rkorn86/cas
support/cas-server-support-consent-ldap/src/main/java/org/apereo/cas/config/CasConsentLdapConfiguration.java
Java
apache-2.0
1,316
package mil.nga.giat.geowave.core.ingest.hdfs.mapreduce; import java.io.IOException; import mil.nga.giat.geowave.core.index.ByteArrayUtils; import mil.nga.giat.geowave.core.index.PersistenceUtils; import mil.nga.giat.geowave.core.store.CloseableIterator; import org.apache.avro.mapred.AvroKey; import org.apache.hadoo...
chizou/geowave
core/ingest/src/main/java/mil/nga/giat/geowave/core/ingest/hdfs/mapreduce/IntermediateKeyValueMapper.java
Java
apache-2.0
1,887
package resourceaccessreview import ( "errors" "fmt" kapi "k8s.io/kubernetes/pkg/api" kapierrors "k8s.io/kubernetes/pkg/api/errors" "k8s.io/kubernetes/pkg/runtime" authorizationapi "github.com/openshift/origin/pkg/authorization/api" authorizationvalidation "github.com/openshift/origin/pkg/authorization/api/va...
willmtemple/origin
pkg/authorization/registry/resourceaccessreview/rest.go
GO
apache-2.0
3,438
// Copyright 2016 The Prometheus 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...
keegancsmith/prometheus
util/strutil/strconv_test.go
GO
apache-2.0
2,115
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/connect/model/CreateInstanceRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Connect::Model; using namespace Aws::Utils::Json; using n...
awslabs/aws-sdk-cpp
aws-cpp-sdk-connect/source/model/CreateInstanceRequest.cpp
C++
apache-2.0
1,587
/* * Copyright 2012-2022 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
htynkn/spring-boot
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/JmsAutoConfiguration.java
Java
apache-2.0
5,487
/* * 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")...
howepeng/isis
core/runtime/src/main/java/org/apache/isis/core/runtime/runner/opts/OptionHandlerAdditionalProperty.java
Java
apache-2.0
2,952
/* Copyright 2012 - 2014 Jerome Leleu 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...
F0REacH/pac4j-1.5.1
pac4j-oauth/src/main/java/org/pac4j/oauth/profile/OAuthAttributesDefinition.java
Java
apache-2.0
1,306
/* * 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/camel
components/camel-cdi/src/main/java/org/apache/camel/cdi/xml/ErrorHandlerDefinition.java
Java
apache-2.0
5,487
// 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. #include "components/mus/ws/window_manager_factory_service.h" #include "base/bind.h" #include "components/mus/ws/window_manager_factory_registry.h" #incl...
axinging/chromium-crosswalk
components/mus/ws/window_manager_factory_service.cc
C++
bsd-3-clause
1,799
// 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/ui/webui/options/chromeos/cros_language_options_handler.h" #include <map> #include <set> #include <vector> #include "base/b...
leiferikb/bitpop-private
chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc
C++
bsd-3-clause
11,518
/* This file is part of the Palabos library. * * Copyright (C) 2011-2015 FlowKit Sarl * Route d'Oron 2 * 1010 Lausanne, Switzerland * E-mail contact: contact@flowkit.com * * The most recent release of Palabos can be downloaded at * <http://www.palabos.org/> * * The library Palabos is free software: you can r...
Dwii/Master-Thesis
implementation/Palabos/palabos-master/examples/codesByTopic/complexNumbers/typeConverterFunctional2D.hh
C++
mit
5,240
/* This file is part of LilyPond, the GNU music typesetter. Copyright (C) 1997--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> LilyPond 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...
sehe/Lilypond
lily/include/audio-element.hh
C++
gpl-3.0
1,018
package com.redhat.lightblue.client.http.auth; import com.redhat.lightblue.client.LightblueClientConfiguration; import org.apache.http.config.Registry; import org.apache.http.config.RegistryBuilder; import org.apache.http.conn.HttpClientConnectionManager; import org.apache.http.conn.socket.ConnectionSocketFactory; im...
derek63/lightblue-client
http/src/main/java/com/redhat/lightblue/client/http/auth/ApacheHttpClients.java
Java
gpl-3.0
4,746
/* * This file is part of Applied Energistics 2. * Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved. * * Applied Energistics 2 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 ver...
SKCraft/Applied-Energistics-2
src/main/java/appeng/recipes/game/DisassembleRecipe.java
Java
gpl-3.0
5,142
// 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. #include "base/debug/trace_event_synthetic_delay.h" #include "testing/gtest/include/gtest/gtest.h" namespace base { namespace debug { namespace { const...
michaelforfxhelp/fxhelprepo
third_party/chromium/base/debug/trace_event_synthetic_delay_unittest.cc
C++
mpl-2.0
5,098
/* Copyright 2019 The Knative 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, sof...
googleinterns/knative-continuous-delivery
vendor/knative.dev/serving/pkg/apis/serving/v1/service_conversion.go
GO
apache-2.0
1,036
/* * 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 ...
milleruntime/accumulo
core/src/test/java/org/apache/accumulo/core/clientImpl/bulk/BulkImportFilterInvalidTest.java
Java
apache-2.0
4,331
/* * 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 use...
shehzaadn/phoenix
phoenix-core/src/main/java/org/apache/phoenix/util/ExpressionUtil.java
Java
apache-2.0
3,302
/* * Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
tufangorel/hazelcast
hazelcast-client/src/main/java/com/hazelcast/client/proxy/ClientScheduledFutureProxy.java
Java
apache-2.0
12,635
/*========================================================================= * Copyright (c) 2010-2014 Pivotal Software, Inc. All Rights Reserved. * This product is protected by U.S. and international copyright * and intellectual property laws. Pivotal products are covered by * one or more patents listed at http://w...
upthewaterspout/incubator-geode
gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/VersionedStatsRegionEntryHeapIntKey.java
Java
apache-2.0
9,094
/* * Copyright 2012-2017 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 * * Unless required by ap...
bbrouwer/spring-boot
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/flyway/FlywayEndpoint.java
Java
apache-2.0
4,042
/* * 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 ...
mreutegg/jackrabbit-oak
oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/permission/PermissionValidatorProvider.java
Java
apache-2.0
5,112
/* * Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
emre-aydin/hazelcast
hazelcast/src/test/java/com/hazelcast/spi/impl/AbstractDistributedObjectTest.java
Java
apache-2.0
3,556
/* Copyright 2016 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, ...
humblec/glusterblock-provisioner
vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/pkg/util/workqueue/delaying_queue.go
GO
apache-2.0
7,102
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
hawky-4s-/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/SetProcessDefinitionVersionCmd.java
Java
apache-2.0
12,170
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.xdebugger.impl.ui; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.project.Project; import com.inte...
smmribeiro/intellij-community
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/DebuggerFocusManager.java
Java
apache-2.0
2,592
/* * Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
emre-aydin/hazelcast
hazelcast/src/test/java/com/hazelcast/ringbuffer/impl/operations/GenericOperationTest.java
Java
apache-2.0
5,600
/** * Copyright 2005-2014 Red Hat, Inc. * * Red Hat 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/licenses/LICENSE-2.0 * * Unless r...
hekonsek/fabric8
sandbox/fabric/fabric-commands/src/main/java/io/fabric8/commands/VersionSetDefault.java
Java
apache-2.0
3,042
// Copyright 2019 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.chrome.browser.search_engines; import android.content.Context; import androidx.annotation.NonNull; import androidx.annotation.Nulla...
chromium/chromium
chrome/browser/search_engines/android/java/src/org/chromium/chrome/browser/search_engines/SearchEngineChoiceNotification.java
Java
bsd-3-clause
7,841
// Copyright 2017 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 <vector> #include "base/strings/utf_string_conversions.h" #include "base/test/scoped_feature_list.h" #include "chrome/browser/ui/browser_command...
chromium/chromium
chrome/browser/ui/views/payments/payment_request_use_stats_browsertest.cc
C++
bsd-3-clause
18,599
// Copyright 2021 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 "ash/system/accessibility/dictation_bubble_controller.h" #include "ash/accessibility/accessibility_controller_impl.h" #include "ash/constants/as...
chromium/chromium
ash/system/accessibility/dictation_bubble_controller_unittest.cc
C++
bsd-3-clause
8,158
/** * @license * lodash (Custom Build) <https://lodash.com/> * Build: `lodash modularize exports="es" -o ./` * Copyright jQuery Foundation and other contributors <https://jquery.org/> * Released under MIT license <https://lodash.com/license> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> * Copy...
unmeshpro/easyPost
static/node_modules/lodash-es/lodash.default.js
JavaScript
mit
20,654
// Copyright 2012-present Oliver Eilhard. All rights reserved. // Use of this source code is governed by a MIT-license. // See http://olivere.mit-license.org/license.txt for details. package elastic import ( "context" "encoding/json" "fmt" "net/http" "net/url" "strings" "github.com/olivere/elastic/v7/uritempl...
cez81/gitea
vendor/github.com/olivere/elastic/v7/ingest_simulate_pipeline.go
GO
mit
5,952
/******************************************************************************* * Copyright (c) 2007, 2011 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
brunyuriy/quick-fix-scout
org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800/src/org/eclipse/jdt/internal/ui/preferences/JavaEditorPropertyPage.java
Java
mit
2,041
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
marsorp/blog
presto166/presto-spi/src/main/java/com/facebook/presto/spi/StandardErrorCode.java
Java
apache-2.0
4,791
/* * Copyright 2017 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 * * Unless required by applica...
gstevey/gradle
subprojects/ide-native/src/main/java/org/gradle/ide/xcode/internal/xcodeproj/PBXLegacyTarget.java
Java
apache-2.0
2,613
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.model.volatility.smile.fitting; import java.util.BitSet; import com.opengamma.analytics.financial.model.volatility.smile.function.SABRFor...
jeorme/OG-Platform
projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/model/volatility/smile/fitting/SABRModelFitter.java
Java
apache-2.0
2,506
/* Copyright 2016 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, ...
shouhong/kubernetes
test/integration/kubeaggregator/aggregator_test.go
GO
apache-2.0
2,686
import { ChangeDetector, ChangeDetectorRef, ProtoChangeDetector, DynamicChangeDetector } from 'angular2/src/core/change_detection/change_detection'; import {Renderer, RenderEventDispatcher} from 'angular2/src/core/render/api'; import {DirectiveResolver} from 'angular2/src/core/linker/directive_resolver'; impo...
StacyGay/angular
modules/angular2/test/core/spies.ts
TypeScript
apache-2.0
3,432
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.masterdb.security.hibernate.option; import com.opengamma.OpenGammaRuntimeException; import com.opengamma.financial.security.option.OptionType; import com.openg...
jeorme/OG-Platform
projects/OG-MasterDB/src/main/java/com/opengamma/masterdb/security/hibernate/option/OptionTypeUserType.java
Java
apache-2.0
856
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package co...
adamjmcgrath/react-native
ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.java
Java
bsd-3-clause
21,153
# Copyright (C) 2017 Google Inc. # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> """add secondary contact columns Revision ID: 555130f0a817 Revises: 44d5969c897b Create Date: 2015-03-01 13:14:06.935565 """ # revision identifiers, used by Alembic. revision = '555130f0a817' down_revisio...
VinnieJohns/ggrc-core
src/ggrc_risks/migrations/versions/20150301131406_555130f0a817_add_secondary_contact_columns.py
Python
apache-2.0
1,419
/* * Copyright 2015-present Facebook, 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...
mikekap/buck
test/com/facebook/buck/go/GoBinaryIntegrationTest.java
Java
apache-2.0
4,014
package com.liuguangqiang.swipeback; import android.support.v7.app.ActionBarActivity; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageView; import android.widget.RelativeLayout; import android.widget.RelativeLayout.LayoutParams; /** * Created by Eric on 15/3/3. */ public cla...
jiyuren/SwipeBack
library/src/main/java/com/liuguangqiang/swipeback/SwipeBackActivity.java
Java
apache-2.0
1,632
/* Copyright 2016 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, ...
mattjmcnaughton/kubernetes
pkg/controller/volume/attachdetach/attach_detach_controller.go
GO
apache-2.0
27,081
/* Copyright 2018 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, ...
krzyzacy/kubernetes
cmd/kubeadm/app/util/config/cluster.go
GO
apache-2.0
10,799
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
facebook/presto
presto-main/src/test/java/com/facebook/presto/type/TestTimeWithTimeZoneType.java
Java
apache-2.0
2,910
// 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 "android_webview/browser/aw_cookie_access_policy.h" #include <memory> #include "android_webview/browser/aw_contents_io_thread_client.h" #in...
ric2b/Vivaldi-browser
chromium/android_webview/browser/aw_cookie_access_policy.cc
C++
bsd-3-clause
3,286
package assertions import ( "errors" "fmt" "math" "reflect" "strings" "github.com/smartystreets/assertions/internal/go-render/render" "github.com/smartystreets/assertions/internal/oglematchers" ) // ShouldEqual receives exactly two parameters and does an equality check. func ShouldEqual(actual interface{}, ex...
jcampanell-cablelabs/lora-app-server
vendor/github.com/smartystreets/assertions/equality.go
GO
mit
9,300
package io.mycat.backend.mysql.nio.handler; import java.util.ArrayList; import java.util.List; import com.alibaba.druid.sql.ast.expr.SQLCharExpr; import io.mycat.backend.mysql.DataType; /** * 查询中间结果处理器 * @author huangyiming * * @param <T> */ public class MiddlerQueryResultHandler<T> implements MiddlerResultHan...
gavin57688/Mycat-Server-1.6
src/main/java/io/mycat/backend/mysql/nio/handler/MiddlerQueryResultHandler.java
Java
gpl-2.0
1,016
/** * 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...
apurtell/hadoop
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/api/impl/pb/service/ApplicationHistoryProtocolPBServiceImpl.java
Java
apache-2.0
10,829
/** * Copyright (C) 2012 Ryan W Tenney (ryan@10e.us) * * 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...
wyzssw/metrics-spring
src/main/java/com/ryantenney/metrics/spring/GaugeFieldAnnotationBeanPostProcessor.java
Java
apache-2.0
2,169
/* * Copyright 2012-2019 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
michael-simons/spring-boot
spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test/web/client/TestRestTemplateContextCustomizer.java
Java
apache-2.0
6,905
/* Copyright 2017 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, ...
yaxinlx/apiserver-builder
cmd/vendor/k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/markmaster.go
GO
apache-2.0
1,804
// Copyright 2015 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 <stddef.h> #include "components/exo/buffer.h" #include "components/exo/shared_memory.h" #include "components/exo/test/exo_test_base.h" #include ...
hujiajie/chromium-crosswalk
components/exo/shared_memory_unittest.cc
C++
bsd-3-clause
2,326
/* * * 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"); y...
tobegit3hub/hbase
hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestVersionResource.java
Java
apache-2.0
7,325
/* * 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...
ern/elasticsearch
server/src/main/java/org/elasticsearch/action/main/TransportMainAction.java
Java
apache-2.0
1,900
/* * Copyright 2000-2011 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...
siosio/intellij-community
platform/platform-api/src/com/intellij/ui/treeStructure/treetable/TreeTableModelAdapter.java
Java
apache-2.0
5,094
/* Copyright 2016 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, ...
luomiao/kops
vendor/k8s.io/kubernetes/plugin/pkg/scheduler/algorithm/priorities/metadata.go
GO
apache-2.0
1,674
/* Routines for handling XML generic OS data provided by target. Copyright (C) 2008-2012 Free Software Foundation, Inc. This file is part of GDB. 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 ...
EZchip/gdb
gdb/osdata.h
C
gpl-2.0
1,532
/* Copyright 2016 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, ...
BradErz/kops
pkg/client/simple/vfsclientset/utils.go
GO
apache-2.0
1,001
/* * 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/psi/impl/source/resolve/reference/impl/providers/FileInfoManager.java
Java
apache-2.0
3,780
/** * 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...
dennishuo/hadoop
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/test/java/org/apache/hadoop/yarn/server/router/webapp/TestFederationInterceptorRESTRetry.java
Java
apache-2.0
19,545
/** * 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...
izzizz/pinot
pinot-transport/src/test/java/com/linkedin/pinot/transport/common/TimeBoundaryServiceTest.java
Java
apache-2.0
7,666
package appsgraph import ( "github.com/golang/glog" "github.com/gonum/graph" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" imageapi "github.com/openshift/origin/pkg/image/apis/image" appsgraph "github.com/openshift/origin/pkg/oc/lib/graph/appsgraph/nodes" osgraph "github.com/opensh...
imcsk8/origin
pkg/oc/lib/graph/appsgraph/edges.go
GO
apache-2.0
4,494
from .apiattr import ApiAttributeMixin from .files import GoogleDriveFile from .files import GoogleDriveFileList class GoogleDrive(ApiAttributeMixin, object): """Main Google Drive class.""" def __init__(self, auth=None): """Create an instance of GoogleDrive. :param auth: authorized GoogleAuth instance. ...
mrquim/repository.mrquim
script.xbmcbackup/resources/lib/pydrive/drive.py
Python
gpl-2.0
1,254
/* * Copyright 2012-2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
mdeinum/spring-boot
spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/test/java/org/springframework/boot/loader/tools/MainClassFinderTests.java
Java
apache-2.0
7,724
package master.flame.danmaku.danmaku.parser.android; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.net.URL; import master.flame.danmaku.danmaku.parser.IDataSource; import master.flame.danmaku.danmaku.util....
56jin/danmaku-project
depend/DanmakuFlameMaster/java/master/flame/danmaku/danmaku/parser/android/JSONSource.java
Java
apache-2.0
1,854
package instantiate import ( "context" "reflect" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/validation/field" "k8s.io/kubernetes/pkg/api/legacyscheme" appsapi "github.com/openshift/origin/pkg/apps/apis/apps" "github.com/openshift/origin/pkg/a...
wjiangjay/origin
pkg/apps/registry/instantiate/strategy.go
GO
apache-2.0
2,286
/** * 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-twitter/src/main/java/org/apache/camel/component/twitter/streaming/UserStreamingConsumerHandler.java
Java
apache-2.0
8,415
/* Copyright 2016 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, ...
pweil-/origin
vendor/k8s.io/kubernetes/pkg/controller/cronjob/injection.go
GO
apache-2.0
7,393
// 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. #include "net/websockets/websocket_stream.h" #include "base/logging.h" namespace net { WebSocketStreamRequest::~WebSocketStreamRequest() {} WebSocketS...
ThinkingBridge/platform_external_chromium_org
net/websockets/websocket_stream.cc
C++
bsd-3-clause
987
goog.module('test_files.jsdoc_types.jsdoc_types');var module = module || {id: 'test_files/jsdoc_types/jsdoc_types.js'};/** * This test tests importing a type across module boundaries, * ensuring that the type gets the proper name in JSDoc comments. */ var module1 = goog.require('test_files.jsdoc_types.module1'); va...
hess-g/tsickle
test_files/jsdoc_types/jsdoc_types.js
JavaScript
mit
2,420
/* * Copyright 2015 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
rokn/Count_Words_2015
testing/drools-master/drools-compiler/src/main/java/org/drools/compiler/compiler/ResourceTypeDeclarationWarning.java
Java
mit
2,022
/* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 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; version 2 of the License. This program is distributed in the hope t...
sensssz/mysql-server
storage/ndb/nodejs/Converters/NdbDateConverter.js
JavaScript
gpl-2.0
1,095
from django.http import HttpResponse from django.middleware.csrf import get_token from django.template import Context, RequestContext, Template from django.template.context_processors import csrf from django.views.decorators.csrf import ensure_csrf_cookie def post_form_view(request): """Return a POST form (withou...
wkschwartz/django
tests/csrf_tests/views.py
Python
bsd-3-clause
1,236
/* Copyright 2019 The Knative 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, sof...
knative-sandbox/net-gateway-api
vendor/knative.dev/pkg/codegen/cmd/injection-gen/generators/fake_duck.go
GO
apache-2.0
2,993
// 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. #include "chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h" #include "chrome/browser/ui/autofill/generated_credit_card_bubble_contro...
s20121035/rk3288_android5.1_repo
external/chromium_org/chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc
C++
gpl-3.0
3,824
/* Copyright 2017 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, ...
raffaelespazzoli/origin
vendor/k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient/wait.go
GO
apache-2.0
8,320
/* * Copyright 2000-2014 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...
ivan-fedorov/intellij-community
plugins/java-decompiler/engine/src/org/jetbrains/java/decompiler/struct/attr/StructAnnotationTypeAttribute.java
Java
apache-2.0
8,358
/* 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, ...
imcsk8/origin
vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/tools/cache/testing/fake_controller_source.go
GO
apache-2.0
7,904
/* Copyright 2017 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, ...
coreydaley/origin
vendor/k8s.io/kubernetes/pkg/controller/nodelifecycle/scheduler/taint_manager.go
GO
apache-2.0
16,077
/* Copyright 2017 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, ...
aveshagarwal/cluster-capacity
vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/extensions_client.go
GO
apache-2.0
3,217
// 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. #include "chrome/browser/invalidation/invalidation_controller_android.h" #include <string> #include <vector> #include "base/android/jni_array.h" #includ...
s20121035/rk3288_android5.1_repo
external/chromium_org/chrome/browser/invalidation/invalidation_controller_android.cc
C++
gpl-3.0
2,510
/* Copyright 2014 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, ...
aleksandra-malinowska/autoscaler
vertical-pod-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/host_path/host_path.go
GO
apache-2.0
13,584
package schema2 import ( "encoding/json" "errors" "fmt" "github.com/docker/distribution" "github.com/docker/distribution/manifest" "github.com/opencontainers/go-digest" ) const ( // MediaTypeManifest specifies the mediaType for the current version. MediaTypeManifest = "application/vnd.docker.distribution.man...
crobby/oshinko-cli
vendor/github.com/openshift/origin/cmd/cluster-capacity/go/src/github.com/kubernetes-incubator/cluster-capacity/vendor/github.com/docker/distribution/manifest/schema2/manifest.go
GO
apache-2.0
4,270