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
/* * 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/portals-pluto
pluto-container/src/main/java/org/apache/pluto/container/bean/mvc/CsrfValidationInterceptor.java
Java
apache-2.0
3,732
/* * Copyright 2013-2015 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...
jeffmaury/spring-cloud-consul
spring-cloud-consul-discovery/src/main/java/org/springframework/cloud/consul/discovery/ConsulLifecycle.java
Java
apache-2.0
5,809
/* * Copyright 2008-2016 Bas Leijdekkers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
hurricup/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/style/UnnecessarySuperQualifierInspection.java
Java
apache-2.0
5,371
/* * Copyright 2010-2013 Ning, Inc. * * Ning 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 required by a...
andrenpaes/killbill
account/src/test/java/org/killbill/billing/account/AccountTestUtils.java
Java
apache-2.0
6,048
/* * (c) Copyright 2020 EntIT Software LLC, a Micro Focus company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICE...
CloudSlang/cs-actions
cs-microfocus-sitescope/src/main/java/io/cloudslang/content/sitescope/services/RunMonitorService.java
Java
apache-2.0
3,892
/** * 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...
JingchengDu/hbase
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormatTestBase.java
Java
apache-2.0
9,312
/** * 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...
massakam/pulsar
pulsar-common/src/test/java/org/apache/pulsar/common/lookup/data/LookupDataTest.java
Java
apache-2.0
5,729
/* * 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 ...
shardingjdbc/sharding-jdbc
encrypt-core/encrypt-core-rewrite/src/main/java/org/apache/shardingsphere/encrypt/rewrite/parameter/impl/EncryptInsertOnDuplicateKeyUpdateValueParameterRewriter.java
Java
apache-2.0
4,510
/** * 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...
intel-hadoop/hbase-rhino
hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMasterMetricsWrapper.java
Java
apache-2.0
3,317
/* * 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 ...
plusplusjiajia/hadoop
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/amrmproxy/AMRMProxyMetrics.java
Java
apache-2.0
6,599
// 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 "content/browser/android/web_contents_observer_proxy.h" #include <string> #include "base/android/jni_android.h" #include "base/android/jni_stri...
Pluto-tv/chromium-crosswalk
content/browser/android/web_contents_observer_proxy.cc
C++
bsd-3-clause
11,981
/*================================================================================ Copyright (c) 2013 Steve Jin. 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 re...
patrickianwilson/vijava-contrib
src/main/java/com/vmware/vim25/OvfManagerCommonParams.java
Java
bsd-3-clause
2,599
// Copyright (c) 2011 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/importer/in_process_importer_bridge.h" #include "base/bind.h" #include "base/utf_string_conversions.h" #include "chrome/brow...
aYukiSekiguchi/ACCESS-Chromium
chrome/browser/importer/in_process_importer_bridge.cc
C++
bsd-3-clause
3,649
/* 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 source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redis...
jreniecki/idlf
tester/tests/workflows/workflow_pooling.cpp
C++
bsd-3-clause
3,553
// 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 "core/animation/PathInterpolationFunctions.h" #include "core/animation/InterpolatedSVGPathSource.h" #include "core/animation/InterpolationEnviro...
danakj/chromium
third_party/WebKit/Source/core/animation/PathInterpolationFunctions.cpp
C++
bsd-3-clause
6,870
// Copyright (c) 2003-2014, Jodd Team (jodd.org). All Rights Reserved. package jodd.typeconverter.impl; import jodd.io.FileUtil; import jodd.io.StreamUtil; import jodd.typeconverter.TypeConverter; import jodd.upload.FileUpload; import java.io.File; import java.io.IOException; import java.io.InputStream; /** * Addo...
007slm/jodd
jodd-upload/src/main/java/jodd/typeconverter/impl/FileUploadToFileTypeConverter.java
Java
bsd-3-clause
868
package ch.difty.scipamato.core.persistence.paper; import org.jetbrains.annotations.NotNull; import org.jooq.DSLContext; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.context.annotation.Profile; import org.springframework.stereotype.Repository; import ch.difty.scipamato.com...
ursjoss/scipamato
core/core-persistence-jooq/src/main/java/ch/difty/scipamato/core/persistence/paper/JooqPaperBySearchOrderRepo.java
Java
bsd-3-clause
1,235
/** * 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...
jonathangizmo/HadoopDistJ
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/KeyProviderExtension.java
Java
mit
3,617
package consul import ( "errors" "github.com/kvtools/valkeyrie/store" "github.com/traefik/traefik/v2/pkg/provider" "github.com/traefik/traefik/v2/pkg/provider/kv" ) var _ provider.Provider = (*Provider)(nil) // Provider holds configurations of the provider. type Provider struct { kv.Provider `export:"true"` } ...
vdemeester/traefik
pkg/provider/kv/consul/consul.go
GO
mit
893
/******************************************************************************* * Copyright (c) 2000, 2007 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/corext/refactoring/nls/NLSMessages.java
Java
epl-1.0
2,518
/** * @file * @author pavel.iqx * @date 2014 * @copyright GNU General Public License v2 */ #include "memchecksettings.h" ValgrindSettings::ValgrindSettings():clConfigItem(CONFIG_ITEM_NAME_VALGRIND), m_binary(VALGRIND_BINARY), m_outputInPrivateFolder(VALGRIND_OUTPUT_IN_PRIVATE_FOLDER), m_outputFile(VA...
srini2174/codelite
MemCheck/memchecksettings.cpp
C++
gpl-2.0
4,287
package org.easyrec.vocabulary; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.beans.factory.InitializingBean; /** * Constants for use in WebService (WS) classes * * @author patrick */ public class WS implements InitializingBean { private f...
ferronrsmith/easyrec
easyrec-web/src/main/java/org/easyrec/vocabulary/WS.java
Java
gpl-3.0
4,243
/** * License Agreement for OpenSearchServer * * Copyright (C) 2012 Emmanuel Keller / Jaeksoft * * http://www.open-search-server.com * * This file is part of OpenSearchServer. * * OpenSearchServer is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public Licen...
nvoron23/opensearchserver
src/main/java/com/jaeksoft/searchlib/parser/htmlParser/JSoupHtmlNode.java
Java
gpl-3.0
2,806
# -*- coding: utf-8 -*- # Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe import _ from frappe.utils import get_first_day, get_last_day, date_diff, flt, getdate from frappe.model.docum...
saurabh6790/erpnext
erpnext/accounts/doctype/subscription_plan/subscription_plan.py
Python
gpl-3.0
2,020
/** * Copyright (C) 2001-2015 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published b...
brtonnies/rapidminer-studio
src/main/java/com/rapidminer/gui/new_plotter/gui/AreaAndBarChartConfigurationPanel.java
Java
agpl-3.0
9,498
/* radare2 - LGPL - Copyright 2015-2018 - pancake */ #ifndef R2_BIND_H #define R2_BIND_H // TODO: move riobind here too? // TODO: move rprint here too typedef int (*RCoreCmd)(void *core, const char *cmd); typedef int (*RCoreCmdF)(void *user, const char *fmt, ...); typedef int (*RCoreDebugBpHit)(void *core, void *bp)...
zlowram/radare2
libr/include/r_bind.h
C
lgpl-3.0
1,212
/* Copyright 2012 Selenium committers Copyright 2012 Software Freedom Conservancy 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...
bwp/SeleniumWebDriver
java/server/src/org/openqa/selenium/server/log/MaxLevelFilter.java
Java
apache-2.0
1,266
/* * Copyright 2000-2013 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...
msebire/intellij-community
java/java-impl/src/com/intellij/refactoring/extractSuperclass/ExtractSuperClassUtil.java
Java
apache-2.0
13,679
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/organizations/model/ListDelegatedAdministratorsRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Organizations::Model; using namespace ...
awslabs/aws-sdk-cpp
aws-cpp-sdk-organizations/source/model/ListDelegatedAdministratorsRequest.cpp
C++
apache-2.0
1,300
// Copyright 2008 Cyrus Najmabadi // // 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...
nguyenphanhuynh/metasyntactic
NowPlaying/Android/src/org/metasyntactic/caches/posters/ImdbPosterDownloader.java
Java
apache-2.0
1,958
/* * Copyright 2020 ThoughtWorks, 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 agr...
arvindsv/gocd
plugin-infra/go-plugin-access/src/main/java/com/thoughtworks/go/plugin/access/analytics/V2/models/Capabilities.java
Java
apache-2.0
2,216
/* * 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 ...
ArvinDevel/onlineAggregationOnSparkV2
network/common/src/main/java/org/apache/spark/network/protocol/ChunkFetchFailure.java
Java
apache-2.0
2,449
/* * 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 ...
Xsixteen/nifi
nifi-toolkit/nifi-toolkit-cli/src/main/java/org/apache/nifi/toolkit/cli/impl/command/registry/flow/ExportFlowVersion.java
Java
apache-2.0
3,937
/* * Copyright 2015 Google 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 ...
atul-bhouraskar/closure-templates
java/src/com/google/template/soy/jbcsrc/TemplateCompiler.java
Java
apache-2.0
12,282
/* * Copyright 2019 ThoughtWorks, 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 agr...
kierarad/gocd
server/src/test-fast/java/com/thoughtworks/go/config/CachedGoPartialsTest.java
Java
apache-2.0
5,594
/* * Copyright 2017 NAVER Corp. * * 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 ...
suraj-raturi/pinpoint
web/src/main/java/com/navercorp/pinpoint/web/controller/ApplicationStatController.java
Java
apache-2.0
6,882
/* * 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 ...
mosoft521/wicket
wicket-core/src/main/java/org/apache/wicket/resource/bundles/ConcatBundleResource.java
Java
apache-2.0
9,545
/* * Copyright (c) 2018, Lotto <https://github.com/devLotto> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, th...
Noremac201/runelite
runelite-client/src/main/java/net/runelite/client/plugins/screenshot/ScreenshotConfig.java
Java
bsd-2-clause
3,671
/* Plan 9 from User Space src/lib9/dirstat.c http://code.swtch.com/plan9port/src/tip/src/lib9/dirstat.c Copyright 2001-2007 Russ Cox. All Rights Reserved. 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 ...
edisonwsk/golang-on-cygwin
src/lib9/dirstat.c
C
bsd-3-clause
1,765
// 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 <string> #include "base/basictypes.h" #include "base/bind.h" #include "base/utf_string_conversions.h" #include "chrome/browser/ui/crypto_modu...
aYukiSekiguchi/ACCESS-Chromium
chrome/browser/ui/views/crypto_module_password_dialog_view_unittest.cc
C++
bsd-3-clause
1,846
// 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 <string> #include "ash/display/display_manager.h" #include "ash/shell.h" #include "ash/test/display_manager_test_api.h" #include "ash/wm/window_...
guorendong/iridium-browser-ubuntu
chrome/browser/chromeos/policy/force_maximize_on_first_run_chromeos_browsertest.cc
C++
bsd-3-clause
5,191
// 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 "components/sessions/content/content_serialized_navigation_builder.h" #include "components/sessions/core/serialized_navigation_entry.h" #include...
axinging/chromium-crosswalk
components/sessions/content/content_serialized_navigation_builder_unittest.cc
C++
bsd-3-clause
6,382
// Copyright 2020 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 "third_party/blink/public/platform/weak_wrapper_resource_load_info_notifier.h" #include "services/network/public/mojom/url_response_head.mojom.h...
scheib/chromium
third_party/blink/renderer/platform/exported/weak_wrapper_resource_load_info_notifier.cc
C++
bsd-3-clause
3,122
package net.anotheria.moskito.webui.threads.action; import net.anotheria.maf.action.ActionCommand; import net.anotheria.maf.action.ActionMapping; import net.anotheria.maf.bean.FormBean; import net.anotheria.moskito.webui.shared.bean.NaviItem; import net.anotheria.moskito.webui.threads.api.ThreadInfoAO; import javax.s...
vkazhdan/moskito
moskito-webui/src/main/java/net/anotheria/moskito/webui/threads/action/ThreadsDumpAction.java
Java
mit
1,044
#!/usr/bin/env node /** * Copyright 2015 Google 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 * * Unles...
mendaomn/mendaomn.github.io
node_modules/sw-precache/cli.js
JavaScript
mit
3,765
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build aix darwin dragonfly freebsd hurd linux netbsd openbsd windows solaris package poll import ( "errors" "sync" "syscall" "time" _ "unsafe" // for...
Gurgel100/gcc
libgo/go/internal/poll/fd_poll_runtime.go
GO
gpl-2.0
4,126
/* * Copyright (C) 2009 Roman Masek * * This file is part of OpenSudoku. * * OpenSudoku is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any lat...
srikanth-571/OpenSudoku
src/cz/romario/opensudoku/gui/inputmethod/IMNumpad.java
Java
gpl-3.0
7,299
/************************************************************************* * Copyright 2009-2014 Eucalyptus Systems, 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; version 3 of the ...
sjfloat/eucalyptus
clc/modules/cloudformation/src/main/java/com/eucalyptus/cloudformation/config/CloudFormationServiceBuilder.java
Java
gpl-3.0
3,768
#include "ovkCPlayerManager.h" #include "ovkCPlayer.h" #include "../../ovk_tools.h" #include <system/Math.h> using namespace OpenViBE; using namespace Kernel; using namespace std; CPlayerManager::CPlayerManager(const IKernelContext& rKernelContext) :TKernelObject<IPlayerManager>(rKernelContext) { } boolean CPlaye...
antoche/openvibe
openvibe-kernel-omk/trunc/src/openvibe-kernel/kernel/player/ovkCPlayerManager.cpp
C++
lgpl-2.1
1,824
// Copyright 2008-2010 Victor Iacoban // // 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...
Soya93/Extract-Refactoring
plugins/hg4idea/src/org/zmlx/hg4idea/command/HgPullCommand.java
Java
apache-2.0
3,041
/******************************************************************************* * Copyright 2011-2013 Sergey Tarasevich * * 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....
roydang/AndroyVolleyExt
src_lib/com/nostra13/universalimageloader/core/DefaultConfigurationFactory.java
Java
apache-2.0
6,773
/* 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, ...
thomasschickinger/kubernetes
staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/policy_client.go
GO
apache-2.0
2,810
/* 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...
AlexMinsk/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/helper/CompensationUtil.java
Java
apache-2.0
11,034
/* * 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 ...
jerrinot/hazelcast
hazelcast/src/test/java/com/hazelcast/jet/core/TerminalSnapshotSynchronizationTest.java
Java
apache-2.0
3,494
package com.facebook.presto.operator.scalar; /* * 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 o...
zhenxiao/presto
presto-main/src/main/java/com/facebook/presto/operator/scalar/ArrayHashCodeOperator.java
Java
apache-2.0
2,947
/* * 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 ...
darionyaphet/flink
flink-connectors/flink-connector-elasticsearch6/src/main/java/org/apache/flink/streaming/connectors/elasticsearch/table/Elasticsearch6DynamicSink.java
Java
apache-2.0
10,535
/* * Copyright 2012-2018 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...
hello2009chen/spring-boot
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/ExtendedGroovyClassLoader.java
Java
apache-2.0
7,286
/* 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, ...
kubeup/kube-aliyun
vendor/k8s.io/kubernetes/pkg/kubemark/hollow_kubelet.go
GO
apache-2.0
5,952
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: | Step 4 of defineProperty calls the [[DefineOwnProperty]] internal method of O to define the property. For non-configurable properties, step 10.a.ii.1 of [[Def...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Object/defineProperty/15.2.3.6-4-17.js
JavaScript
bsd-2-clause
1,269
/* Copyright (c) 2006, Arvid Norberg 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 copyright notice, this list of conditions and the f...
SiderZhang/p2pns3
src/p2p/model/libtorrent/peer_request.hpp
C++
gpl-2.0
1,884
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.env; import com.intellij.execution.*; import com.intellij.execution.executors.DefaultRunExecutor; import com.intellij.execution.impl.ConsoleViewImpl; import...
jwren/intellij-community
python/testSrc/com/jetbrains/env/ConfigurationBasedProcessRunner.java
Java
apache-2.0
9,637
package rest import ( "bufio" "compress/gzip" "net" "net/http" "strings" ) // gzipMiddleware is responsible for compressing the payload with gzip // and setting the proper headers when supported by the client. type gzipMiddleware struct{} func (mw *gzipMiddleware) MiddlewareFunc(h HandlerFunc) HandlerFunc { re...
dror-g/openshift-3-postgres-example
example/src/github.com/ant0ine/go-json-rest/rest/gzip.go
GO
apache-2.0
2,718
/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
wangscript/libjingle-1
trunk/third_party/webrtc/modules/rtp_rtcp/source/rtp_header_parser.cc
C++
bsd-3-clause
2,733
/* * Copyright (C) 2005-2020 Team Kodi * This file is part of Kodi - https://kodi.tv * * SPDX-License-Identifier: GPL-2.0-or-later * See LICENSES/README.md for more information. */ #include "threads/SystemClock.h" #include <gtest/gtest.h> namespace { void CommonTests(XbmcThreads::EndTime& endTime) { EXP...
asavah/xbmc
xbmc/threads/test/TestEndTime.cpp
C++
gpl-2.0
1,246
/** * 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...
massakam/pulsar
pulsar-io/netty/src/test/java/org/apache/pulsar/io/netty/NettySourceConfigTest.java
Java
apache-2.0
3,290
/******************************************************************************* * (c) Copyright 2014 Hewlett-Packard Development Company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Ap...
narry/score
engine/data/score-data-impl/src/test/java/io/cloudslang/engine/partitions/services/PartitionTemplateWithEmfTest.java
Java
apache-2.0
6,966
/* 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, ...
jawnsy/cri-o
vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/resourcequota.go
GO
apache-2.0
5,657
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.equity.option; import java.util.Collections; import java.util.Set; import com.opengamma.analytics.financial.equity.EquityOptionBlack...
DevStreet/FinanceAnalytics
projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/model/equity/option/EquityVanillaBarrierOptionRhoFunction.java
Java
apache-2.0
2,161
/** * 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...
JingchengDu/hadoop
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/ITestAzureBlobFileSystemE2E.java
Java
apache-2.0
8,427
// 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 "content/renderer/android/synchronous_compositor_external_begin_frame_source.h" #include "cc/output/begin_frame_args.h" #include "content/render...
js0701/chromium-crosswalk
content/renderer/android/synchronous_compositor_external_begin_frame_source.cc
C++
bsd-3-clause
2,163
/* * 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 ...
apurtell/hadoop
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/common/blockaliasmap/impl/TestLevelDbMockAliasMapClient.java
Java
apache-2.0
4,617
/* * 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; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.rollup.rest; import org.elasticse...
robin13/elasticsearch
x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/rest/RestGetRollupCapsAction.java
Java
apache-2.0
1,415
/* * 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...
shixuan-fan/presto
presto-main/src/main/java/com/facebook/presto/type/CodePointsType.java
Java
apache-2.0
2,160
/* * 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 ...
DariusX/camel
components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbReadPreferenceOptionTest.java
Java
apache-2.0
3,708
/* * 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 ...
wesm/arrow
java/adapter/avro/src/test/java/org/apache/arrow/TestWriteReadAvroRecord.java
Java
apache-2.0
3,424
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
smmribeiro/intellij-community
platform/script-debugger/debugger-ui/src/org/jetbrains/debugger/DebuggableRunConfiguration.java
Java
apache-2.0
2,491
package org.sakaiproject.gradebookng.tool.stats; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.math.NumberUtils; import org.apache.commons.math3.stat.descriptive.DescriptiveStatistics; import org.apache.wic...
OpenCollabZA/sakai
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/stats/CourseGradeStatistics.java
Java
apache-2.0
3,535
/* Copyright 2005-2014 Intel Corporation. All Rights Reserved. This file is part of Threading Building Blocks. Threading Building Blocks is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundat...
rutgers-apl/TaskProf
tprof-tbb-lib/src/old/task_v2.cpp
C++
mit
1,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 may not ...
smgoller/geode
geode-core/src/integrationTest/java/org/apache/geode/pdx/PdxInstanceLoaderIntegrationTest.java
Java
apache-2.0
3,330
// 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 "webcontentdecryptionmodule_impl.h" #include "base/basictypes.h" #include "base/bind.h" #include "base/logging.h" #include "base/numerics/safe_c...
Jonekee/chromium.src
media/blink/webcontentdecryptionmodule_impl.cc
C++
bsd-3-clause
5,273
/* Launch4j (http://launch4j.sourceforge.net/) Cross-platform Java application wrapper for creating Windows native executables. Copyright (c) 2004, 2007 Grzegorz Kowal All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following...
ericlavigne/egoweb
lib/launch4j/src/net/sf/launch4j/ant/StringWrapper.java
Java
gpl-2.0
2,303
/// @brief Include to sample 1d array textures. /// @file gli/sampler1d_array.hpp #pragma once #include "sampler.hpp" #include "texture1d_array.hpp" #include "core/mipmaps_compute.hpp" #include "core/convert_func.hpp" namespace gli { /// 1d array texture sampler /// @tparam T Sampler can fetch, write and interpret...
volcanoauthors/volcano-ci-tests
vendor/gli/gli/sampler1d_array.hpp
C++
gpl-3.0
2,839
package crazypants.enderio.conduit.geom; import net.minecraftforge.common.util.ForgeDirection; /** * Offset vectors are based on Y up. * * @author brad */ public enum Offset { NONE(0, 0, 0), UP(ForgeDirection.UP), DOWN(ForgeDirection.DOWN), EAST(ForgeDirection.EAST), WEST(ForgeDirection.WEST), SOUTH...
mezz/EnderIO
src/main/java/crazypants/enderio/conduit/geom/Offset.java
Java
unlicense
1,473
/* * 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...
jxblum/spring-boot
spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/intTest/java/org/springframework/boot/maven/MavenBuildExtension.java
Java
apache-2.0
3,156
/* * 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 ...
WangTaoTheTonic/flink
flink-java/src/test/java/org/apache/flink/api/java/io/CSVReaderTest.java
Java
apache-2.0
11,880
/* 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...
tkaefer/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/container/impl/threading/se/SeExecutorService.java
Java
apache-2.0
2,179
/** * Copyright 2014 Google 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 requir...
google/mr4c
java/test/java/com/google/mr4c/mbtiles/MBTilesFileTest.java
Java
apache-2.0
4,424
/** * 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...
ultratendency/hbase
hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestSyncReplicationMoreLogsInLocalCopyToRemote.java
Java
apache-2.0
4,639
/* * 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...
Teradata/presto
presto-main/src/main/java/com/facebook/presto/sql/planner/iterative/rule/PruneCountAggregationOverScalar.java
Java
apache-2.0
2,858
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/msgcntr/trunk/messageforums-component-impl/src/java/org/sakaiproject/component/app/messageforums/PermissionLevelManagerImpl.java $ * $Id: PermissionLevelManagerImpl.java 9227 2006-05-15 15:0...
conder/sakai
msgcntr/messageforums-component-impl/src/java/org/sakaiproject/component/app/messageforums/PermissionLevelManagerImpl.java
Java
apache-2.0
38,460
// 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 "net/url_request/url_fetcher_impl.h" #include <utility> #include "base/bind.h" #include "base/sequenced_task_runner.h" #include "net/base/u...
junhuac/MQUIC
src/net/url_request/url_fetcher_impl.cc
C++
mit
6,469
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.execution.jshell; import com.intellij.execution.ExecutionBundle; import com.intellij.icons.AllIcons; import com.intellij.openapi.actionSystem.AnAction; impor...
siosio/intellij-community
java/execution/impl/src/com/intellij/execution/jshell/DropJShellStateAction.java
Java
apache-2.0
1,705
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.util.xml; import com.intellij.lang.xml.XMLLanguage; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiFile; import com.intellij.psi.xml.XmlFile...
siosio/intellij-community
xml/dom-impl/src/com/intellij/util/xml/DomUsageTypeProvider.java
Java
apache-2.0
1,126
/* * Copyright 2003-2007 Dave Griffith, Bas Leijdekkers * * 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 applicab...
siosio/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/j2me/OverlyLargePrimitiveArrayInitializerInspection.java
Java
apache-2.0
3,062
/* Copyright 2019 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, ...
sethpollack/kubernetes
test/e2e/storage/testsuites/topology.go
GO
apache-2.0
11,189
package de.plushnikov.intellij.plugin.processor.clazz.log; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.text.StringUtil; import com.intellij.psi.*; import de.plushnikov.intellij.plugin.LombokBundle; import de.plushnikov.intellij.plugin.lombokconfig.ConfigDiscovery; import de.plushnikov...
mplushnikov/lombok-intellij-plugin
src/main/java/de/plushnikov/intellij/plugin/processor/clazz/log/AbstractLogProcessor.java
Java
bsd-3-clause
7,170
// Copyright 2016 The Bazel 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 appl...
dslomov/bazel
src/tools/android/java/com/google/devtools/build/android/DataSourceTable.java
Java
apache-2.0
5,222
#ifndef _INET_COMMON_H #define _INET_COMMON_H #include <net/sock.h> extern const struct proto_ops inet_stream_ops; extern const struct proto_ops inet_dgram_ops; /* * INET4 prototypes used by INET6 */ struct msghdr; struct sock; struct sockaddr; struct socket; extern int inet_create(struct net *net, struct socket...
fduchene/mptcp-rpi
include/net/inet_common.h
C
gpl-2.0
1,794
/******************************************************************************* * Copyright (c) 2000, 2012 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...
dhuebner/che
plugins/plugin-java/che-plugin-java-ext-jdt/org-eclipse-jdt-ui/src/main/java/org/eclipse/jdt/internal/ui/text/correction/proposals/RemoveDeclarationCorrectionProposal.java
Java
epl-1.0
9,753
/* 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, ...
mahak/origin
vendor/k8s.io/kubernetes/pkg/kubemark/hollow_kubelet.go
GO
apache-2.0
7,917