code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
package net.sf.jabref.logic.bst; import net.sf.jabref.model.entry.AuthorList; import org.junit.Assert; import org.junit.Test; public class BibtexNameFormatterTest { @Test public void testFormatName() { { AuthorList al = AuthorList .parse("Charles Louis Xavier Joseph d...
motokito/jabref
src/test/java/net/sf/jabref/logic/bst/BibtexNameFormatterTest.java
Java
mit
5,519
/* * 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 ...
SpoonLabs/astor
examples/math_85/src/experimental/org/apache/commons/math/analysis/UnivariateRealFunctionUtilsTest.java
Java
gpl-2.0
2,311
/* Copyright 2010 Selenium committers 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...
krosenvold/selenium-git-release-candidate
java/client/test/org/openqa/selenium/v1/WebDriverBackedSeleniumLargeTest.java
Java
apache-2.0
2,770
class Foo { void test(int a, int b) { <caret> if (a > 0) { if (b > 0) { System.out.println("A"); System.out.println("B"); System.out.println("C"); System.out.println("Deeper"); System.out.println("Wrong indent"); } } } }
allotria/intellij-community
java/java-tests/testData/codeInsight/joinLines/IfChainCorrectIndent.java
Java
apache-2.0
280
// Copyright 2000-2018 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.structuralsearch.impl.matcher.handlers; import com.intellij.psi.PsiElement; import com.intellij.structuralsearch.impl.matcher.MatchContext; import org.jetbra...
siosio/intellij-community
platform/structuralsearch/source/com/intellij/structuralsearch/impl/matcher/handlers/SymbolHandler.java
Java
apache-2.0
747
/* * Copyright 2000-2015 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-tests/testSrc/com/intellij/openapi/editor/impl/view/VisualLinesIteratorTest.java
Java
apache-2.0
2,254
/* * * Copyright 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...
vmarusic/springfox
springfox-schema/src/main/java/springfox/documentation/schema/Types.java
Java
apache-2.0
2,593
/* * 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 * distribu...
WouterBanckenACA/aries
subsystem/subsystem-core/src/main/java/org/apache/aries/subsystem/core/internal/FileResource.java
Java
apache-2.0
2,768
/** * Copyright 2009-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 * * Unle...
macs524/mybatis_learn
src/test/java/org/apache/ibatis/submitted/column_prefix/ColumnPrefixNestedQueryTest.java
Java
apache-2.0
1,414
package org.wso2.carbon.apimgt.rest.api.service.catalog.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.*; import io.swagger.anno...
bhathiya/carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.rest.api.service.catalog/src/gen/java/org/wso2/carbon/apimgt/rest/api/service/catalog/dto/PaginationDTO.java
Java
apache-2.0
4,117
// "Remove 'WeakerAccess' suppression" "false" @SuppressWarnings("Weake<caret>rAccess") public class beforePublicClass { }
siosio/intellij-community
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/redundantUncheckedVarargs/beforePublicClass.java
Java
apache-2.0
122
// 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. package org.chromium.chrome.browser.infobar; import android.animation.ObjectAnimator; import android.app.Activity; import android.graphics.Canvas; import...
morristech/android-chromium
chromium/chrome/src/main/java/org/chromium/chrome/browser/infobar/InfoBarContainer.java
Java
bsd-2-clause
18,588
/** * The contents of this file are subject to the license and copyright * detailed in the LICENSE and NOTICE files at the root of the source * tree and available online at * * http://www.dspace.org/license/ */ package org.dspace.content.crosswalk; /** * * This indicates a problem with the input metadata (for ...
jamie-dryad/dryad-repo
dspace-api/src/main/java/org/dspace/content/crosswalk/MetadataValidationException.java
Java
bsd-3-clause
917
/** * 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...
horizon-z40/RN-homework
node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/JSTouchDispatcher.java
Java
mit
7,534
package net.sf.jabref.testutils; import org.junit.Assert; public class AssertUtil { /** * Will check if two paths are the same. */ public static void assertEqualPaths(String path1, String path2) { Assert.assertNotNull("first path must not be null", path1); Assert.assertNotNull("seco...
motokito/jabref
src/test/java/net/sf/jabref/testutils/AssertUtil.java
Java
mit
454
package org.area515.resinprinter.projector; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.MultipleGradientPaint.CycleMethod; import java.awt.RadialGradientPaint; import java.awt.Rectangle; import java.awt.event.MouseAdapter; import java.awt.e...
Photocentric3D/Photonic3D
host/src/main/java/org/area515/resinprinter/projector/ProjectorMaskCreator.java
Java
gpl-3.0
5,822
package org.exist.storage; import java.math.BigDecimal; import org.exist.EXistException; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import org.exist.storage.btree.Value; import org.exist.util.ByteConversion; import org.exist.xquery.value.DecimalValue; import org.junit.Igno...
MjAbuz/exist
test/src/org/exist/storage/ValueIndexFactoryTest.java
Java
lgpl-2.1
3,454
// Copyright 2000-2019 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 org.jetbrains.plugins.groovy.lang.psi.typeEnhancers; import com.intellij.psi.PsiClass; import com.intellij.psi.PsiClassType; import com.intellij.psi.PsiType; import org.j...
siosio/intellij-community
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/psi/typeEnhancers/GrClosureTypeConverter.java
Java
apache-2.0
1,951
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
jimczi/elasticsearch
core/src/main/java/org/elasticsearch/rest/action/cat/RestIndicesAction.java
Java
apache-2.0
39,102
/** * 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...
amirsojoodi/tez
tez-runtime-internals/src/main/java/org/apache/tez/runtime/api/impl/EventMetaData.java
Java
apache-2.0
4,132
// Copyright 2017 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/main/java/com/google/devtools/build/lib/actions/ActionContext.java
Java
apache-2.0
2,049
/* * 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 ...
plutext/sling
bundles/commons/scheduler/src/test/java/org/apache/sling/commons/scheduler/impl/QuartzJobExecutorTest.java
Java
apache-2.0
7,878
/** * 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...
canojim/elephant-bird
hadoop-compat/src/main/java/com/twitter/elephantbird/util/HadoopCompat.java
Java
apache-2.0
16,026
// Copyright 2000-2019 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.impl; import com.intellij.psi.xml.XmlFile; import com.intellij.psi.xml.XmlTag; import com.intellij.util.ArrayUtilRt; import com.intellij.util.xml.*;...
jwren/intellij-community
xml/dom-impl/src/com/intellij/util/xml/impl/CustomDomChildrenDescriptionImpl.java
Java
apache-2.0
3,441
// Copyright 2000-2018 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.siyeh.ig.internationalization; import com.intellij.testFramework.LightProjectDescriptor; import com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCas...
dahlstrom-g/intellij-community
plugins/InspectionGadgets/testsrc/com/siyeh/ig/internationalization/StringConcatenationInspectionTest.java
Java
apache-2.0
1,137
package nxt.util; import java.io.PrintWriter; import java.io.StringWriter; import java.io.Writer; import java.text.MessageFormat; import java.util.Date; import java.util.logging.Formatter; import java.util.logging.Handler; import java.util.logging.LogRecord; import java.util.logging.Logger; /** * A Java logging form...
NTXcrypto/NTXcoin
src/nxt/util/BriefLogFormatter.java
Java
mit
2,126
package com.xebia.incubator.xebium; import static org.junit.Assert.assertEquals; import org.junit.After; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; @Ignore public class SeleneseScriptFixtureTest { SeleneseScriptFixture fixture; @Before public void setUp() throws Exception { fix...
manoharanRajesh/testTools
xebium/Maven-ant-plugin/src/test/java/com/xebia/incubator/xebium/SeleneseScriptFixtureTest.java
Java
gpl-2.0
1,826
/** * Copyright (c) 2009 Red Hat, Inc. * * This software is licensed to you under the GNU General Public License, * version 2 (GPLv2). There is NO WARRANTY for this software, express or * implied, including the implied warranties of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. You should have received a...
elsonrodriguez/madhatter
cobbler4j/src/main/java/org/fedorahosted/cobbler/CobblerConnection.java
Java
gpl-2.0
3,099
package io.mycat.route.parser.druid.impl; import java.util.List; import java.util.Map; import com.alibaba.druid.sql.ast.SQLExpr; import com.alibaba.druid.sql.ast.SQLOrderBy; import com.alibaba.druid.sql.ast.SQLStatement; import com.alibaba.druid.sql.ast.expr.SQLAggregateExpr; import com.alibaba.druid.sql.ast.expr.SQL...
gavin57688/Mycat-Server-1.6
src/main/java/io/mycat/route/parser/druid/impl/DruidSelectSqlServerParser.java
Java
gpl-2.0
11,070
/* * Copyright (c) 2005-2010, 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.o...
callkalpa/carbon-deployment
components/webapp-mgt/org.wso2.carbon.application.deployer.webapp/src/main/java/org/wso2/carbon/application/deployer/webapp/internal/WARCappDeployerDSComponent.java
Java
apache-2.0
3,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 ...
SxdsF/Visit
src/org/apache/http/auth/ChallengeState.java
Java
apache-2.0
1,327
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache/flink
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/catalog/JavaCatalogTableTest.java
Java
apache-2.0
7,975
/* * Copyright 2015 Hannes Dorfmann. * * 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...
10211509/mosby
sample-mail/src/main/java/com/hannesdorfmann/mosby/sample/mail/login/LoginViewState.java
Java
apache-2.0
1,494
package org.galagosearch.tupleflow.execution; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.net.URLEncoder; import org.galagosearch.tupleflow.Counter; public class NetworkedCounter implements Counter { long count = 0; long la...
avaneesh23/galagosearch
galagosearch-tupleflow/src/main/java/org/galagosearch/tupleflow/execution/NetworkedCounter.java
Java
bsd-3-clause
1,749
/* * [The "BSD license"] * Copyright (c) 2014 Terence Parr * Copyright (c) 2014 Sam Harwell * 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...
mcanthony/antlr4
runtime/Java/src/org/antlr/v4/runtime/RuntimeMetaData.java
Java
bsd-3-clause
9,319
package org.bouncycastle.crypto.generators; import org.bouncycastle.crypto.KeyGenerationParameters; import org.bouncycastle.crypto.params.DESedeParameters; public class DESedeKeyGenerator extends DESKeyGenerator { /** * initialise the key generator - if strength is set to zero * the key generated wi...
Z-Shang/onscripter-gbk
svn/onscripter-read-only/src/org/bouncycastle/crypto/generators/DESedeKeyGenerator.java
Java
gpl-2.0
1,710
/** * Copyright © 2002 Instituto Superior Técnico * * This file is part of FenixEdu Academic. * * FenixEdu Academic is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License...
cfscosta/fenix
src/main/java/org/fenixedu/academic/dto/InfoPersonAccount.java
Java
lgpl-3.0
2,507
package com.newsblur.view; import android.content.Context; import android.content.res.Resources; import android.text.Spannable; import android.text.SpannableStringBuilder; import android.text.TextUtils; import com.newsblur.R; import com.newsblur.domain.ActivityDetails; import com.newsblur.domain.UserDetails; /** * ...
AlphaCluster/NewsBlur
clients/android/NewsBlur/src/com/newsblur/view/ActivitiesAdapter.java
Java
mit
8,799
/** * TransfactorResult.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.recomdata.util.genego; public class TransfactorResult implements java.io.Serializable { private java.lang.String transfac; private java.lang.S...
thehyve/heim-transmartApp
src/java/com/recomdata/util/genego/TransfactorResult.java
Java
gpl-3.0
7,356
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
coding0011/elasticsearch
client/rest-high-level/src/test/java/org/elasticsearch/client/graph/GraphExploreResponseTests.java
Java
apache-2.0
7,340
/* * 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...
jdahlstrom/vaadin.react
client/src/main/java/com/vaadin/client/connectors/ButtonRendererConnector.java
Java
apache-2.0
1,430
/* * 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...
jianglili007/jena
jena-core/src/test/java/org/apache/jena/rdf/model/test/TestSimpleSelector.java
Java
apache-2.0
3,720
/* * Copyright (c) 2005-2012, 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.o...
kasun32/carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.startup.publisher/src/main/java/org/wso2/carbon/apimgt/startup/publisher/internal/DataHolder.java
Java
apache-2.0
1,628
package ueditor; import java.io.*; import java.text.SimpleDateFormat; import java.util.*; import org.apache.commons.io.IOUtils; import org.apache.commons.fileupload.*; import org.apache.commons.fileupload.servlet.*; import org.apache.commons.fileupload.FileUploadBase.InvalidContentTypeException; import org.apache.com...
madfroglx/prod
zhujibank-webapp/src/main/webapp/web_common/plugins/ueditor/jsp/Uploader.java
Java
apache-2.0
8,441
package com.wanke.db.dao; import java.util.ArrayList; import java.util.List; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import com.wanke.db.DBHelper; import com.wanke.model.HistoryInfo; ...
w20583/danmaku-project
android/src/com/wanke/db/dao/HistoryDao.java
Java
apache-2.0
9,211
/** * 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...
lcp0578/storm
storm-core/src/jvm/backtype/storm/generated/Bolt.java
Java
apache-2.0
13,279
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2012 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ package ti.modules.titanium.ui.widget.tableview; import java.util.ArrayList; impo...
openbaoz/titanium_mobile
android/modules/ui/src/java/ti/modules/titanium/ui/widget/tableview/TiTableView.java
Java
apache-2.0
20,418
/* * 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 ...
alexzaitzev/ignite
modules/zookeeper/src/main/java/org/apache/ignite/spi/discovery/zk/internal/ZkDiscoveryEventData.java
Java
apache-2.0
4,076
/* * Copyright 2015 The SageTV 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 ap...
jusjoken/sagetv
test/java/sage/epg/sd/json/map/SDLineupMapDeserializerTest.java
Java
apache-2.0
4,022
package sagan; import sagan.support.FreePortFinder; import org.junit.After; import org.junit.Test; import org.springframework.boot.SpringApplication; import org.springframework.context.ConfigurableApplicationContext; import static org.junit.Assert.assertNotNull; public class IndexerConfigTests { private Confi...
eonezhang/sagan
sagan-indexer/src/it/java/sagan/IndexerConfigTests.java
Java
bsd-3-clause
1,088
/* * 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 ...
plumer/codana
tomcat_files/8.0.22/TesterServletWithAnnotations.java
Java
mit
2,469
/* * Copyright (c) 2014, 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 Softwa...
md-5/jdk10
test/jaxp/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/Bug7037352Test.java
Java
gpl-2.0
2,747
/* * Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) 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 * * ...
thusithathilina/carbon-registry
components/registry/org.wso2.carbon.registry.social.api/src/main/java/org/wso2/carbon/registry/social/api/people/userprofile/model/LookingFor.java
Java
apache-2.0
2,008
/* * 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 ...
RamVenkatesh/incubator-zeppelin
ignite/src/main/java/org/apache/zeppelin/ignite/IgniteInterpreter.java
Java
apache-2.0
10,763
/** * Copyright (C) 2011 JTalks.org Team * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * This library ...
Noctrunal/jcommune
jcommune-plugin-api/src/main/java/org/jtalks/jcommune/plugin/api/PluginPermissionManager.java
Java
lgpl-2.1
3,955
/* * 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...
hsbhathiya/stratos
extensions/cep/stratos-cep-extension/src/main/java/org/apache/stratos/cep/extension/ConcatWindowProcessor.java
Java
apache-2.0
1,907
/* * 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.core.ml.inference.results; import...
GlenRSmith/elasticsearch
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/inference/results/FillMaskResultsTests.java
Java
apache-2.0
3,298
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.core.security.action.privilege; import org.e...
gfyoung/elasticsearch
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/action/privilege/DeletePrivilegesRequestTests.java
Java
apache-2.0
3,255
/* * 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 ...
ThiagoGarciaAlves/jmeter
src/jorphan/org/apache/jorphan/util/JMeterStopTestNowException.java
Java
apache-2.0
1,273
/******************************************************************************* * Copyright (C) 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....
dhananjaypatkar/DataflowJavaSDK
sdk/src/main/java/com/google/cloud/dataflow/sdk/util/ReaderUtils.java
Java
apache-2.0
1,574
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.helpers; /** * @generated */ public class OutSequenceOutputConnectorEditHelper extends EsbBaseEditHelper { }
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/edit/helpers/OutSequenceOutputConnectorEditHelper.java
Java
apache-2.0
174
package com.vogella.android.volley; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.TextView; import com.android.volley.Request; import com.android.volley.RequestQueue; import com.android.volley.Response; import com.android.volley.VolleyError; import com.android....
HaiderAliG/codeexamples-android
com.vogella.android.volley/src/com/vogella/android/volley/MainActivity.java
Java
epl-1.0
1,379
/* * UserPrompt.java * * Copyright (C) 2009-12 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. ...
jar1karp/rstudio
src/gwt/src/org/rstudio/studio/client/workbench/model/UserPrompt.java
Java
agpl-3.0
1,765
/* * 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 ...
cchang738/drill
exec/java-exec/src/test/resources/drill-udf/src/main/java/org/apache/drill/udf/dynamic/CustomLogFunction.java
Java
apache-2.0
1,886
package org.apache.maven.project.inheritance; /* * 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 Apach...
Distrotech/maven
maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java
Java
apache-2.0
1,905
/* * 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 ...
pwong-mapr/incubator-drill
exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/conv/FloatConvertFrom.java
Java
apache-2.0
1,825
/** * 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...
tausifmuzaffar/bisApp
node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/datepicker/DatePickerDialogModule.java
Java
apache-2.0
6,776
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
0359xiaodong/elasticsearch
src/main/java/org/elasticsearch/common/blobstore/BlobStore.java
Java
apache-2.0
977
/* * Copyright (C) 2008 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 ...
PhaedrusTheGreek/elasticsearch
core/src/main/java/org/elasticsearch/common/inject/internal/MoreTypes.java
Java
apache-2.0
25,634
/* // This software is subject to the terms of the Eclipse Public License v1.0 // Agreement, available at the following URL: // http://www.eclipse.org/legal/epl-v10.html. // You must accept the terms of that agreement to use this software. // // Copyright (c) 2002-2014 Pentaho Corporation.. All rights reserved. */ pac...
preisanalytics/mondrian
src/main/mondrian/spi/impl/OracleDialect.java
Java
epl-1.0
6,773
package autotest.common; import autotest.common.ui.NotifyManager; import com.google.gwt.json.client.JSONObject; import com.google.gwt.json.client.JSONString; import com.google.gwt.json.client.JSONValue; /** * One of onSuccess() and onError() is guaranteed to be called for every RPC request. */ public abstract clas...
nacc/autotest
frontend/client/src/autotest/common/JsonRpcCallback.java
Java
gpl-2.0
1,589
/* * 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"); ...
sandamal/wso2-axis2
modules/integration/test/org/apache/axis2/generics/GenericServiceTest.java
Java
apache-2.0
4,289
/* * 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/test/java/org/elasticsearch/action/search/ClearScrollRequestTests.java
Java
apache-2.0
4,601
/* * 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 ...
mrchristine/spark-examples-dbc
src/main/java/org/apache/spark/examples/mllib/JavaLinearRegressionWithSGDExample.java
Java
apache-2.0
3,564
/** * 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-api/src/main/java/org/apache/hadoop/yarn/api/records/ContainerRetryContext.java
Java
apache-2.0
4,304
/* * 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 n...
wangcy6/storm_app
frame/kafka-0.11.0/kafka-0.11.0.1-src/clients/src/main/java/org/apache/kafka/common/serialization/BytesDeserializer.java
Java
apache-2.0
1,287
/* * 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...
jmluy/elasticsearch
server/src/main/java/org/elasticsearch/index/seqno/SeqNoStats.java
Java
apache-2.0
3,529
/* * 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 ...
irudyak/ignite
modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryNodeConfigConsistentIdSelfTest.java
Java
apache-2.0
2,625
/* * Copyright (c) 2000, 2008, 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 ...
liuxinglanyue/sa-jdi
src/main/java/sun/jvm/hotspot/debugger/dummy/DummyAddress.java
Java
gpl-2.0
13,253
/* * Copyright (c) 2003, 2016, 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 ...
md-5/jdk10
test/jdk/javax/sound/sampled/spi/AudioFileReader/Aiff12bit.java
Java
gpl-2.0
3,752
/* * Copyright (c) 2007, 2016, 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 ...
FauxFaux/jdk9-jdk
test/sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java
Java
gpl-2.0
8,091
/* * Copyright (c) 2007, 2016, 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 ...
FauxFaux/jdk9-jdk
test/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/togglebutton/DirectionPanel.java
Java
gpl-2.0
6,850
/* * 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 ...
samiunn/incubator-tinkerpop
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AddEdgeStepTest.java
Java
apache-2.0
1,572
import java.util.function.IntFunction; import java.util.stream.Stream; class MyTest { private static void getArguments(final Stream<Class<String>> classStream) { final Class<?>[] classes = classStream.toArray(((<warning descr="Casting '(value) -> new Class<?>[value]' to 'IntFunction<Class<?>[]>' is redundant">I...
idea4bsd/idea4bsd
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/redundantCast/CapturedWildcardInCast.java
Java
apache-2.0
395
package java.security; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.security.cert.Certificate; import java.security.cert.CertificateException; import java.util.Date; import java.util.Enumeration; public class KeyStore extends Object { private KeyStoreSpi keySto...
GaloisInc/hacrypto
src/Java/BouncyCastle/BouncyCastle-1.50/core/src/main/jdk1.1/java/security/KeyStore.java
Java
bsd-3-clause
6,159
/* * Copyright (c) 1999, 2016, 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 ...
md-5/jdk10
src/java.desktop/share/classes/com/sun/media/sound/AiffFileReader.java
Java
gpl-2.0
7,784
/* * 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 ...
samiunn/incubator-tinkerpop
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/op/OpProcessorException.java
Java
apache-2.0
1,366
/** * 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...
driseley/camel
components/camel-dropbox/src/test/java/org/apache/camel/component/dropbox/integration/producer/DropboxProducerPutWithRemotePathTest.java
Java
apache-2.0
2,582
/* * Copyright 2012-2016 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...
cleverjava/jenkins2-course-spring-boot
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/velocity/VelocityAutoConfiguration.java
Java
apache-2.0
6,057
/* * Copyright (C) 2015 Zhang Rui <bbcallen@gmail.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 appl...
tcking/GiraffePlayer
ijkplayer-java/src/main/java/tv/danmaku/ijk/media/player/ISurfaceTextureHolder.java
Java
apache-2.0
915
/* * 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 ...
irudyak/ignite
modules/kubernetes/src/test/java/org/apache/ignite/testsuites/IgniteKubernetesTestSuite.java
Java
apache-2.0
1,521
package org.apache.lucene.analysis.ja.tokenattributes; /* * 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 ...
smartan/lucene
src/main/java/org/apache/lucene/analysis/ja/tokenattributes/ReadingAttribute.java
Java
apache-2.0
1,236
package hudson.model; import hudson.model.Descriptor.FormException; import hudson.model.LoadStatistics.LoadStatisticsUpdater; import hudson.model.MultiStageTimeSeries.TimeScale; import hudson.model.Node.Mode; import hudson.model.Queue.WaitingItem; import hudson.model.labels.LabelAssignmentAction; import hudson.model.q...
samatdav/jenkins
test/src/test/java/hudson/model/LabelLoadStatisticsQueueLengthTest.java
Java
mit
9,631
/* * 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-core/src/main/java/org/drools/core/impl/AbstractRuntime.java
Java
mit
982
/* * Copyright (c) 2011, 2012, 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/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/Clazz.java
Java
mit
5,918
/* * Copyright (c) 2004, 2016, 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 ...
md-5/jdk10
test/jdk/java/util/TimeZone/Bug5097350.java
Java
gpl-2.0
2,199
/* * Copyright 2000-2015 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/core-impl/src/org/jetbrains/ide/script/IdeScriptEngineManager.java
Java
apache-2.0
1,425
/** * 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...
gndpig/hadoop
src/test/org/apache/hadoop/fs/slive/SlivePartitioner.java
Java
apache-2.0
1,570
/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
mahaliachante/aws-sdk-java
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53domains/model/UpdateDomainContactPrivacyRequest.java
Java
apache-2.0
20,815
/** * 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...
bitblender/drill
exec/java-exec/src/test/java/org/apache/drill/exec/test/Drill2130JavaExecHamcrestConfigurationTest.java
Java
apache-2.0
1,785