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
/** * Copyright 1999-2015 dangdang.com. * <p> * 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 la...
tomdev2008/elastic-job
elastic-job-core/src/main/java/com/dangdang/ddframe/job/schedule/JobController.java
Java
apache-2.0
9,278
/** * This class is generated by jOOQ */ package io.cattle.platform.core.model; /** * This class is generated by jOOQ. */ @javax.annotation.Generated(value = { "http://www.jooq.org", "3.3.0" }, comments = "This class is generated by jOOQ") @java.lang.SuppressWarnings({ "all", "unchec...
imikushin/cattle
code/iaas/model/src/main/java/io/cattle/platform/core/model/Agent.java
Java
apache-2.0
5,134
/******************************************************************************* * Copyright (c) 2013, Salesforce.com, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistr...
apache/incubator-trafodion
tests/phx/src/test/java/org/trafodion/phoenix/end2end/ExecuteStatementsTest.java
Java
apache-2.0
22,016
package org.hisp.dhis.sms.config; /* * Copyright (c) 2004-2017, 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 cop...
troyel/dhis2-core
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/sms/config/SmsGateway.java
Java
bsd-3-clause
5,729
package com.esotericsoftware.kryo.serializers; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.util.List; import com.esotericsoftware.kryo.serializers.FieldSerializer.CachedField; import com.esotericsoftware.kryo.util.IntArray; /* Helper interface for using Unsafe-based operations ...
romix/kryo
src/com/esotericsoftware/kryo/serializers/FieldSerializerUnsafeUtil.java
Java
bsd-3-clause
1,514
/*================================================================================ 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...
omar-infinio/yavijava
src/main/java/com/vmware/vim25/RDMNotSupported.java
Java
bsd-3-clause
1,828
package org.hisp.dhis.period; /* * Copyright (c) 2004-2016, 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 copyrig...
minagri-rwanda/DHIS2-Agriculture
dhis-api/src/test/java/org/hisp/dhis/period/RelativePeriodTest.java
Java
bsd-3-clause
19,847
// Copyright (c) 2010 Aalto University // // 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, publi...
HadoopGenomics/Hadoop-BAM
src/main/java/org/seqdoop/hadoop_bam/util/BGZFBlockIndex.java
Java
mit
3,983
/** * The MIT License (MIT) * * Copyright (c) 2011-2016 Incapture Technologies LLC * * 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 t...
amkimian/Rapture
Libs/RaptureCore/src/main/java/rapture/app/RaptureAppService.java
Java
mit
1,917
package ru.mirea.oop.practice.coursej.s131253; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ru.mirea.oop.practice.coursej.api.vk.entities.Contact; import ru.mirea.oop.practice.coursej.impl.vk.ext.ServiceBotsExtension; import java.text.MessageFormat; /** * -4 */ public final class VkQuiz extends ...
msmv/2015.2
Examples/s131253/src/main/java/ru/mirea/oop/practice/coursej/s131253/VkQuiz.java
Java
mit
6,773
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
lukegb/SpongeCommon
src/main/java/org/spongepowered/common/entity/SpongeCareer.java
Java
mit
2,038
/******************************************************************************* * Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
RallySoftware/eclipselink.runtime
utils/eclipselink.utils.workbench/framework/source/org/eclipse/persistence/tools/workbench/framework/app/DefaultApplicationProblem.java
Java
epl-1.0
2,109
/******************************************************************************* * Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
RallySoftware/eclipselink.runtime
moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/typemappinginfo/GenericArrayTypeTestCases.java
Java
epl-1.0
3,831
/******************************************************************************* * Copyright (c) 2000, 2009 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...
elucash/eclipse-oxygen
org.eclipse.jdt.core/src/org/eclipse/jdt/core/util/IInnerClassesAttribute.java
Java
epl-1.0
1,359
/* * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
166MMX/openjdk.java.net-openjfx-8u40-rt
modules/graphics/src/test/java/com/sun/javafx/sg/prism/OcclusionCullingTest.java
Java
gpl-2.0
9,492
/* * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
isaacl/openjdk-jdk
src/share/classes/java/awt/event/FocusListener.java
Java
gpl-2.0
2,496
/** * Copyright (C) 2013, 2014 Johannes Taelman * * This file is part of Axoloti. * * Axoloti 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...
norbim1/axoloti
src/main/java/axoloti/parameters/ParameterFrac32UMapGainSquare.java
Java
gpl-3.0
1,938
/* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it w...
mydzigear/weka.kmeanspp.silhouette_score
src/weka/experiment/ExplicitTestsetResultProducer.java
Java
gpl-3.0
36,282
package org.ovirt.engine.ui.webadmin.section.main.presenter.tab; import java.util.List; import org.ovirt.engine.core.common.businessentities.StorageDomain; import org.ovirt.engine.ui.common.place.PlaceRequestFactory; import org.ovirt.engine.ui.common.uicommon.model.MainModelProvider; import org.ovirt.engine.ui.common...
jtux270/translate
ovirt/3.6_source/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/presenter/tab/MainTabStoragePresenter.java
Java
gpl-3.0
2,803
import li_cdata.*; public class li_cdata_runme { static { try { System.loadLibrary("li_cdata"); } catch (UnsatisfiedLinkError e) { System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n" + e); System....
DGA-MI-SSI/YaCo
deps/swig-3.0.7/Examples/test-suite/java/li_cdata_runme.java
Java
gpl-3.0
696
//############################################################################# //# # //# Copyright (C) <2014> <IMS MAXIMS> # //# # ...
open-health-hub/openMAXIMS
openmaxims_workspace/Core/src/ims/core/forms/reportstomodalityconfigform/GenForm.java
Java
agpl-3.0
42,294
/* * ClientConnectionManager.java * * Tigase Jabber/XMPP Server * Copyright (C) 2004-2013 "Tigase, Inc." <office@tigase.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 by * the Free Software Foundation, eith...
cgvarela/tigase-server
src/test/java/tigase/server/xmppclient/StreamManagementIOProcessorTest.java
Java
agpl-3.0
3,342
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * VR Juggler is (C) Copyright 1998-2011 by Iowa State University * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This library is free soft...
vrjuggler/vrjuggler
modules/jackal/config/org/vrjuggler/jccl/config/event/ConfigElementListener.java
Java
lgpl-2.1
1,811
/** * (C) 2014 Team CoFH / CoFH / Cult of the Full Hub * http://www.teamcofh.com */ @API(apiVersion = CoFHLibProps.VERSION, owner = "CoFHLib", provides = "CoFHLib|inventory") package cofh.lib.inventory; import cofh.lib.CoFHLibProps; import cpw.mods.fml.common.API;
iceman11a/CoFHLib
src/main/java/cofh/lib/inventory/package-info.java
Java
lgpl-3.0
270
package org.alfresco.share.cloudsync; import org.alfresco.po.share.site.document.DocumentDetailsPage; import org.alfresco.po.share.site.document.DocumentLibraryNavigation; import org.alfresco.po.share.site.document.DocumentLibraryPage; import org.alfresco.po.share.site.document.SyncInfoPage; import org.alfresco....
nguyentienlong/community-edition
projects/qa-share/src/test/java/org/alfresco/share/cloudsync/HybridSyncPositiveTests.java
Java
lgpl-3.0
65,912
/* * 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...
JervyShi/elasticsearch
plugins/analysis-stempel/src/test/java/org/elasticsearch/index/analysis/StempelClientYamlTestSuiteIT.java
Java
apache-2.0
1,611
/** * Copyright (C) 2015 DataTorrent, 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 la...
mt0803/incubator-apex-core
bufferserver/src/main/java/com/datatorrent/bufferserver/util/Codec.java
Java
apache-2.0
1,248
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.instrument.index; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertFalse; import static org.te...
ChinaQuants/OG-Platform
projects/OG-Analytics/src/test/java/com/opengamma/analytics/financial/instrument/index/GeneratorSwapFixedInflationTest.java
Java
apache-2.0
11,166
/* * Copyright 2014 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
dashbuilder/dashbuilder
dashbuilder-client/dashbuilder-displayer-client/src/main/java/org/dashbuilder/displayer/client/widgets/group/ColumnDetailsEditor.java
Java
apache-2.0
2,378
/* * 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 ...
plutext/sling
contrib/launchpad/karaf/org.apache.sling.launchpad.karaf-integration-tests/src/test/java/org/apache/sling/launchpad/karaf/tests/bootstrap/SlingAuthXingOauthIT.java
Java
apache-2.0
2,203
/* * Copyright (c) 2005, 2006, 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 ...
davidwebster48/jawr-main-repo
jawr/jawr-core/src/main/java/net/jawr/web/util/js/rhino/JavaAdapter.java
Java
apache-2.0
4,117
/* * 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/main/java/com/hazelcast/jet/impl/util/JetConsoleLogHandler.java
Java
apache-2.0
4,356
// 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...
ulfjack/bazel
src/tools/android/java/com/google/devtools/build/android/xml/PluralXmlResourceValue.java
Java
apache-2.0
7,742
/* * 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/main/java/com/facebook/presto/spiller/NodeSpillConfig.java
Java
apache-2.0
3,220
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.interestrate.swaption.provider; import static org.testng.AssertJUnit.assertEquals; import org.testng.annotations.Test; import org.threeten...
jeorme/OG-Platform
projects/OG-Analytics/src/test/java/com/opengamma/analytics/financial/interestrate/swaption/provider/SuccessiveRootFinderSwaptionPhysicalG2ppCalibrationObjectiveTest.java
Java
apache-2.0
9,312
/* * 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 t...
googleapis/google-api-java-client-services
clients/google-api-services-vision/v1/1.31.0/com/google/api/services/vision/v1/model/GoogleCloudVisionV1p3beta1WebDetectionWebImage.java
Java
apache-2.0
2,791
/* 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/test/java/org/camunda/bpm/engine/test/api/runtime/migration/MigrationBoundaryEventsTest.java
Java
apache-2.0
27,010
/** * 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...
robzor92/hops
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/record/compiler/JRecord.java
Java
apache-2.0
33,753
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.interestrate.swap.definition; import static org.testng.AssertJUnit.assertEquals; import org.testng.annotations.Test; import org.threeten.b...
codeaudit/OG-Platform
projects/OG-Analytics/src/test/java/com/opengamma/analytics/financial/interestrate/swap/definition/SwapMultilegTest.java
Java
apache-2.0
4,761
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.master.position; import java.io.Serializable; import java.math.BigDecimal; import java.util.Map; import java.util.Map.Entry; import org.joda.beans.Bean; impor...
DevStreet/FinanceAnalytics
projects/OG-Master/src/main/java/com/opengamma/master/position/ManageableTrade.java
Java
apache-2.0
38,308
/* * Copyright 2000-2010 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...
IllusionRom-deprecated/android_platform_tools_idea
plugins/maven/src/main/java/org/jetbrains/idea/maven/tasks/actions/ToggleBeforeRunTaskAction.java
Java
apache-2.0
2,784
/* * Copyright 2012-2021 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-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/liquibase/LiquibaseAutoConfiguration.java
Java
apache-2.0
7,146
/* * SOURCE FILE GENERATATED BY JACOB CHANNEL CLASS GENERATOR * * !!! DO NOT EDIT !!!! * * Generated On : Thu Jun 24 22:32:44 EST 2010 * For Interface : org.apache.ode.jacob.examples.cell.Cell */ package org.apache.ode.jacob.examples.cell; import org.apache.commons.logging.LogFactory; import ...
firzhan/wso2-ode
jacob/src/main/java/org/apache/ode/jacob/examples/cell/CellChannelListener.java
Java
apache-2.0
1,060
/* * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.awt.image; /** * This class defines a lookup table object. The output of a * lookup o...
shun634501730/java_source_cn
src_en/java/awt/image/ByteLookupTable.java
Java
apache-2.0
7,498
package com.google.api.ads.dfp.jaxws.v201502; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ReservationDetailsError.Reason. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simple...
stoksey69/googleads-java-lib
modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201502/ReservationDetailsErrorReason.java
Java
apache-2.0
4,960
/* 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...
lsmall/flowable-engine
modules/flowable-json-converter/src/test/java/org/flowable/editor/language/ScopedConverterTest.java
Java
apache-2.0
3,125
/** * SimMetrics - SimMetrics is a java library of Similarity or Distance * Metrics, e.g. Levenshtein Distance, that provide float based similarity * measures between String Data. All metrics return consistant measures * rather than unbounded similarity scores. * * Copyright (C) 2005 Sam Chapman - Open Sour...
entityresolution/Entity_Resolution_Service_Intermediary_OSGi
src/test/java/uk/ac/shef/wit/simmetrics/similaritymetrics/costfunctions/SubCost1_Minus2Test.java
Java
apache-2.0
3,168
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.provider.curve.multicurve; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.List; imp...
DevStreet/FinanceAnalytics
projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/provider/curve/multicurve/MulticurveProviderForwardBuildingRepository.java
Java
apache-2.0
13,692
/* * 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 ...
Hanks10100/incubator-weex
android/sdk/src/test/java/com/taobao/weex/ui/component/WXRefreshTest.java
Java
apache-2.0
2,410
/* * 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 ...
pmoerenhout/camel
core/camel-core/src/test/java/org/apache/camel/component/file/FromFileMulticastToFilesTest.java
Java
apache-2.0
4,346
// ======================================================================== // Copyright (c) 2004-2009 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the terms of th...
jamiepg1/jetty.project
jetty-jmx/src/test/java/com/acme/Base.java
Java
apache-2.0
2,461
/* * 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/aries
blueprint/blueprint-core/src/test/java/org/apache/aries/blueprint/AbstractBlueprintTest.java
Java
apache-2.0
2,969
/* Copyright 2014 Immutables Authors and Contributors 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 applicabl...
impraveen/immutables
generator/test/org/immutables/generator/BuiltinOperationsTest.java
Java
apache-2.0
2,644
/* * 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-gfsh/src/main/java/org/apache/geode/management/internal/cli/commands/PDXRenameCommand.java
Java
apache-2.0
3,158
/* * 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/internal/offheap/OldFreeListOffHeapRegionJUnitTest.java
Java
apache-2.0
1,645
/** * Copyright (C) 2015 DataTorrent, 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 la...
andyperlitch/incubator-apex-core
engine/src/test/java/com/datatorrent/stram/engine/TestAppDataResultOperator.java
Java
apache-2.0
1,759
/* See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * Esri 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 * ...
GeoinformationSystems/GeoprocessingAppstore
src/com/esri/gpt/catalog/arcims/HarvestRequest.java
Java
apache-2.0
1,706
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial; import com.opengamma.engine.ComputationTarget; import com.opengamma.engine.ComputationTargetResolver; import com.opengamma.engine.ComputationTargetS...
jeorme/OG-Platform
projects/OG-Financial/src/main/java/com/opengamma/financial/ComputationTargetResolverWrapper.java
Java
apache-2.0
1,518
/** * 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...
vega113/incubator-wave
wave/src/test/java/org/waveprotocol/wave/client/editor/undo/EditorUndoManagerImplTest.java
Java
apache-2.0
8,173
package com.siyeh.igtest.numeric.unnecessary_explicit_numeric_cast; public class UnnecessaryExplicitNumericCast { void a(byte b) { double d = (double) 1; d = (double) 1.0f; d = (double) b; char c = (char) 1; b = (int)7; } double b(int a, byte b) { return...
android-ia/platform_tools_idea
plugins/InspectionGadgets/test/com/siyeh/igtest/numeric/unnecessary_explicit_numeric_cast/UnnecessaryExplicitNumericCast.java
Java
apache-2.0
1,215
/* Copyright (c) 2001-2010, The HSQL Development Group * 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...
ThangBK2009/android-source-browsing.platform--external--hsqldb
src/org/hsqldb/navigator/RangeIterator.java
Java
bsd-3-clause
2,112
package org.rocksdb; /** * The config for vector memtable representation. */ public class VectorMemTableConfig extends MemTableConfig { public static final int DEFAULT_RESERVED_SIZE = 0; public VectorMemTableConfig() { reservedSize_ = DEFAULT_RESERVED_SIZE; } /** * Set the initial size of the vector ...
aishnogah/uplift_db
rocksdb-rocksdb-3.6.2/java/org/rocksdb/VectorMemTableConfig.java
Java
bsd-3-clause
1,039
package org.motechproject.security.filter; import org.motechproject.security.model.PermissionDto; import org.motechproject.security.service.MotechPermissionService; import org.motechproject.security.service.MotechProxyManager; import org.springframework.security.core.GrantedAuthority; import org.springframework.securi...
adamkalmus/motech
platform/web-security/src/main/java/org/motechproject/security/filter/MotechDelegatingFilterProxy.java
Java
bsd-3-clause
5,187
/* * Copyright (C) 2006, 2007, 2014 XStream Committers. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. * * Created on 13. April 2006 by Joerg Schaible */ package...
codehaus/xstream
xstream/src/java/com/thoughtworks/xstream/XStreamer.java
Java
bsd-3-clause
13,372
package org.spongycastle.jcajce.provider.asymmetric.ec; import java.io.IOException; import java.security.InvalidKeyException; import java.security.Key; import java.security.PrivateKey; import java.security.PublicKey; import java.security.spec.InvalidKeySpecException; import java.security.spec.KeySpec; import org.spon...
Skywalker-11/spongycastle
prov/src/main/jdk1.4/org/spongycastle/jcajce/provider/asymmetric/ec/KeyFactorySpi.java
Java
mit
5,859
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
ryantheleach/SpongeCommon
src/main/java/org/spongepowered/common/mixin/core/world/MixinWorldBorder.java
Java
mit
5,250
/******************************************************************************* * Copyright (c) 2016 Rogue Wave Software, Inc. * 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, and is ava...
gazarenkov/che-sketch
plugins/plugin-composer/che-plugin-composer-server/src/main/java/org/eclipse/che/plugin/composer/server/projecttype/ComposerProjectGenerator.java
Java
epl-1.0
2,454
/* * IronJacamar, a Java EE Connector Architecture implementation * Copyright 2014, Red Hat Inc, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or...
darranl/ironjacamar
common/src/main/java/org/ironjacamar/common/api/metadata/ValidatableMetadata.java
Java
epl-1.0
1,424
/** * Copyright (c) 2010-2015, openHAB.org 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, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org...
innoq/openhab
bundles/io/org.openhab.io.cv/src/main/java/org/openhab/io/cv/internal/resources/WriteResource.java
Java
epl-1.0
2,658
/* Copyright (c) 2010, 2011, 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, version 2.0, as published by the Free Software Foundation. This program is also distributed with cer...
greenlion/mysql-server
storage/ndb/clusterj/clusterj-core/src/main/java/com/mysql/clusterj/core/store/Dictionary.java
Java
gpl-2.0
1,439
/* Copyright (c) 2012, 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, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain softwa...
greenlion/mysql-server
storage/ndb/src/ndbjtie/com/mysql/ndbjtie/ndbapi/NDBAPIConst.java
Java
gpl-2.0
1,837
package sun.util.resources; import java.util.ListResourceBundle; public final class CurrencyNames_es_AR extends LocaleNamesBundle { protected final Object[][] getContents() { return new Object[][] { { "ARS", "$" }, { "USD", "US$" }, }; } }
Distrotech/icedtea7
generated/sun/util/resources/CurrencyNames_es_AR.java
Java
gpl-2.0
290
/* * reserved comment block * DO NOT REMOVE OR ALTER! */ /* * 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 ...
md-5/jdk10
src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/AnnotationElementValueGen.java
Java
gpl-2.0
2,866
package org.jaudiotagger.tag.vorbiscomment; import org.jaudiotagger.tag.reference.Tagger; import org.jaudiotagger.tag.mp4.field.Mp4FieldType; import java.util.List; import java.util.EnumSet; /** * Vorbis Comment Field Names * <p/> * <p/> * <p/> * This partial list is derived fom the following sources: * <ul> ...
Talckrer/BlocksForUse
org/jaudiotagger/tag/vorbiscomment/VorbisCommentFieldKey.java
Java
gpl-2.0
7,900
/* * Copyright (c) 1998-2012 Caucho Technology -- all rights reserved * * This file is part of Resin(R) Open Source * * Each copy or derived work must preserve the copyright notice and this * notice unmodified. * * Resin Open Source is free software; you can redistribute it and/or modify * it under the terms o...
am-immanuel/quercus
modules/kernel/src/com/caucho/el/Marshall.java
Java
gpl-2.0
5,186
/* Copyright (c) 2009-2011 250bpm s.r.o. Copyright (c) 2007-2009 iMatix Corporation Copyright (c) 2011-2012 Spotify AB Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file This file is part of 0MQ. 0MQ is free software; you can redistribute it and/or modify it under the ...
zeromq/jeromq3-x
src/main/java/zmq/Trie.java
Java
gpl-3.0
9,402
/* * Copyright (C) 2011 Jason von Nieda <jason@vonnieda.org> * * This file is part of OpenPnP. * * OpenPnP 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 ...
sp-apertus/openpnp
src/main/java/org/openpnp/gui/importer/EagleMountsmdUlpImporter.java
Java
gpl-3.0
12,836
/* * Copyright (C) 2010-2015 JPEXS, All rights reserved. * * 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 3.0 of the License, or (at your option) any later versio...
jeoffz/jpexs-decompiler
libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/parser/script/ParsedSymbol.java
Java
gpl-3.0
1,765
package net.minecraft.util.text.event; import com.google.common.collect.Maps; import java.util.Map; import net.minecraft.util.text.ITextComponent; public class HoverEvent { private final HoverEvent.Action action; private final ITextComponent value; public HoverEvent(HoverEvent.Action actionIn, ITextCompo...
SuperUnitato/UnLonely
build/tmp/recompileMc/sources/net/minecraft/util/text/event/HoverEvent.java
Java
lgpl-2.1
3,492
package org.molgenis.framework.db; import java.io.File; import java.io.IOException; public interface EntitiesValidator { public EntitiesValidationReport validate(File file) throws IOException; }
marieke-bijlsma/molgenis
molgenis-data/src/main/java/org/molgenis/framework/db/EntitiesValidator.java
Java
lgpl-3.0
198
/* * Copyright (C) 2005-2012 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco 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, or * (at y...
nguyentienlong/community-edition
projects/remote-api/source/test-java/org/alfresco/rest/workflow/api/tests/DeploymentParser.java
Java
lgpl-3.0
1,375
package crazypants.enderio.machine.invpanel.client; import java.util.HashMap; public class ClientDatabaseManager { public static final ClientDatabaseManager INSTANCE = new ClientDatabaseManager(); private final HashMap<Integer, InventoryDatabaseClient> dbRegistry = new HashMap<Integer, InventoryDatabaseClient>(...
Samernieve/EnderIO
src/main/java/crazypants/enderio/machine/invpanel/client/ClientDatabaseManager.java
Java
unlicense
682
// 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.ui; import com.intellij.openapi.util.NlsSafe; import com.intellij.util.MathUtil; import com.intellij.util.NotNullProducer; import org.jetbrains.annotations.N...
siosio/intellij-community
platform/util/ui/src/com/intellij/ui/ColorUtil.java
Java
apache-2.0
7,467
/* * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package org.omg.CORBA; /** * The interface for <tt>Current</tt>. For more information on * Operations...
shun634501730/java_source_cn
src_en/org/omg/CORBA/CurrentOperations.java
Java
apache-2.0
700
/** * 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...
throughsky/lywebank
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStripeCompactor.java
Java
apache-2.0
13,385
/* * 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...
davidgin/parquet-mr
parquet-hadoop/src/main/java/parquet/hadoop/metadata/FileMetaData.java
Java
apache-2.0
2,355
/* * Copyright 2011 Henry Coles * * 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 ...
roberth/pitest
pitest/src/test/java/com/example/HasExcludedMethodsTesteeTest.java
Java
apache-2.0
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 may ...
DariusX/camel
components/camel-undertow/src/test/java/org/apache/camel/component/undertow/cloud/UndertowServiceCallRouteTest.java
Java
apache-2.0
2,965
/** * 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...
sungsoo/tez-0.3.0
tez-dag/src/main/java/org/apache/tez/dag/app/dag/event/TaskEvent.java
Java
apache-2.0
1,248
/* * * * Copyright 2014 Orient Technologies LTD (info(at)orientechnologies.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.apa...
intfrr/orientdb
core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/atomicoperations/ONestedRollbackException.java
Java
apache-2.0
1,333
package org.wso2.carbon.apimgt.rest.api.publisher.v1.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.annotat...
ruks/carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1.common/src/gen/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/dto/APIInfoAdditionalPropertiesMapDTO.java
Java
apache-2.0
2,934
/* * 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 ...
vineetgarg02/hive
hcatalog/core/src/main/java/org/apache/hive/hcatalog/common/HCatUtil.java
Java
apache-2.0
31,278
package com.mxn.soul.slidingcard_core; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
rameshvoltella/SlidingCard
slidingcard-core/src/androidTest/java/com/mxn/soul/slidingcard_core/ApplicationTest.java
Java
apache-2.0
360
/* * * * Copyright 2010-2014 Orient Technologies LTD (info(at)orientechnologies.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/...
orientechnologies/orientdb-etl
src/main/java/com/orientechnologies/orient/etl/extractor/ORowExtractor.java
Java
apache-2.0
3,678
/** * Copyright 2015-2017 Red Hat, Inc, and individual contributors. * * 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 require...
swarmsandbox/wildfly-swarm
fractions/javaee/datasources/src/main/java/org/wildfly/swarm/datasources/runtime/DefaultDatasource.java
Java
apache-2.0
1,079
/* * Copyright 2000-2016 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 to...
Darsstar/framework
uitest/src/test/java/com/vaadin/v7/tests/components/grid/GridWidthIncreaseTest.java
Java
apache-2.0
2,508
// 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. package org.chromium.mojo.bindings; import android.test.suitebuilder.annotation.SmallTest; import org.chromium.mojo.MojoTestCase; import org.chromium.mo...
7kbird/chrome
mojo/android/javatests/src/org/chromium/mojo/bindings/RouterTest.java
Java
bsd-3-clause
5,909
/* * 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...
strahanjen/strahanjen.github.io
elasticsearch-master/core/src/main/java/org/elasticsearch/common/util/BigArrays.java
Java
bsd-3-clause
28,170
package org.spongycastle.asn1.ocsp; import java.util.Enumeration; import org.spongycastle.asn1.ASN1EncodableVector; import org.spongycastle.asn1.ASN1GeneralizedTime; import org.spongycastle.asn1.ASN1Integer; import org.spongycastle.asn1.ASN1Object; import org.spongycastle.asn1.ASN1Primitive; import org.spongycastle.a...
Skywalker-11/spongycastle
core/src/main/java/org/spongycastle/asn1/ocsp/CrlID.java
Java
mit
2,766
package de.fhpotsdam.unfolding.examples.misc; import processing.core.PApplet; import processing.core.PVector; import de.fhpotsdam.unfolding.UnfoldingMap; import de.fhpotsdam.unfolding.geo.Location; import de.fhpotsdam.unfolding.utils.MapUtils; import de.fhpotsdam.unfolding.utils.ScreenPosition; /** * Application to...
ashr81/unfolding
examples/de/fhpotsdam/unfolding/examples/misc/RotatableMapApp.java
Java
mit
2,077