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 (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.volatility.surface;
import com.opengamma.core.config.ConfigSource;
import com.opengamma.engine.function.FunctionCompilationContext;
import ... | codeaudit/OG-Platform | projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/volatility/surface/ConfigDBFuturePriceCurveDefinitionSource.java | Java | apache-2.0 | 2,270 |
/* Copyright 2016 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 in ... | googleapis/discovery-artifact-manager | toolkit/src/main/java/com/google/api/codegen/config/ResourceNameMessageConfig.java | Java | apache-2.0 | 1,961 |
// 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.codeInspection;
import com.intellij.analysis.JvmAnalysisBundle;
import com.intellij.psi.CommonClassNames;
import com.intellij.psi.PsiElement;
import com.inte... | goodwinnk/intellij-community | jvm/jvm-analysis-impl/src/com/intellij/codeInspection/StringToUpperWithoutLocale2Inspection.java | Java | apache-2.0 | 3,686 |
/*
* 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 ... | glimpseio/incubator-calcite | core/src/main/java/org/apache/calcite/interpreter/Sink.java | Java | apache-2.0 | 1,077 |
/*
* 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-runtime/src/main/java/org/apache/flink/runtime/metrics/scope/ScopeFormats.java | Java | apache-2.0 | 5,532 |
/**
* 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... | shakamunyi/hadoop-20 | src/core/org/apache/hadoop/util/NativeCrc32.java | Java | apache-2.0 | 5,310 |
/*
* Copyright 2017 WSO2, Inc. (http://wso2.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | minudika/carbon-analytics | components/org.wso2.carbon.editor.log.appender/src/main/java/org/wso2/carbon/editor/log/appender/EditorConsoleAppender.java | Java | apache-2.0 | 6,241 |
/*
* Copyright 2014-2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://w... | tsegismont/hawkular-metrics | core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/transformers/TaggedDataPointCollector.java | Java | apache-2.0 | 3,340 |
/*
* ConnectBot: simple, powerful, open-source SSH client for Android
* Copyright 2007 Kenny Root, Jeffrey Sharkey
*
* 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.a... | Potass/ConnectBot | app/src/main/java/org/connectbot/util/VolumePreference.java | Java | apache-2.0 | 2,105 |
// Generated by xsd compiler for android/java
// DO NOT CHANGE!
package com.amazon.webservices.awsecommerceservice._2011_08_01;
import java.io.Serializable;
import com.leansoft.nano.annotation.*;
@RootElement(name = "EditorialReview", namespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01")
public ... | uaraven/nano | sample/webservice/HelloAmazonProductAdvertising/src/com/amazon/webservices/awsecommerceservice/_2011_08_01/EditorialReview.java | Java | apache-2.0 | 663 |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | BigData-Lab-Frankfurt/HiBench-DSE | common/mahout-distribution-0.7-hadoop1/math/target/generated-test-sources/org/apache/mahout/math/map/OpenIntLongHashMapTest.java | Java | apache-2.0 | 11,143 |
/*
* 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 ... | ydai1124/gobblin-1 | gobblin-restli/gobblin-throttling-service/gobblin-throttling-service-client/src/main/java/gobblin/util/limiter/stressTest/FixedOperationsStressor.java | Java | apache-2.0 | 1,650 |
package org.hisp.dhis.system.collection;
/*
* 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 ab... | troyel/dhis2-core | dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/collection/TaskLocalMap.java | Java | bsd-3-clause | 2,264 |
// 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.chrome.browser.bookmarks;
import androidx.test.filters.SmallTest;
import org.junit.After;
import org.junit.Assert;
import org.junit... | ric2b/Vivaldi-browser | chromium/chrome/android/javatests/src/org/chromium/chrome/browser/bookmarks/BookmarkBridgeTest.java | Java | bsd-3-clause | 18,666 |
/**
* Contains bank-related classes.
*/
package org.apollo.game.model.inter.bank; | DealerNextDoor/ApolloDev | src/org/apollo/game/model/inter/bank/package-info.java | Java | isc | 83 |
package org.jsondoc.core.scanner.builder;
import org.jsondoc.core.annotation.Api;
import org.jsondoc.core.pojo.ApiDoc;
public class JSONDocApiDocBuilder {
public static ApiDoc build(Class<?> controller) {
Api api = controller.getAnnotation(Api.class);
ApiDoc apiDoc = new ApiDoc();
apiDoc.setDescription(api.d... | OrangGeeGee/jsondoc | jsondoc-core/src/main/java/org/jsondoc/core/scanner/builder/JSONDocApiDocBuilder.java | Java | mit | 494 |
/**
*
* Apache License
* Version 2.0, January 2004
* http://www.apache.org/licenses/
*
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
*
* 1. Definitions.
*
* "License" shall mean the terms and condi... | erguotou520/weex-uikit | platforms/android/WeexSDK/src/main/java/com/taobao/weex/ui/view/listview/WXRecyclerView.java | Java | mit | 14,865 |
/*******************************************************************************
* Copyright (c) 2012-2017 Codenvy, S.A.
* 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 ... | gazarenkov/che-sketch | ide/che-core-ide-app/src/test/java/org/eclipse/che/ide/editor/macro/EditorCurrentProjectNameMacroTest.java | Java | epl-1.0 | 1,916 |
/*******************************************************************************
* Copyright (c) 2012-2017 Codenvy, S.A.
* 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 ... | gazarenkov/che-sketch | plugins/plugin-svn/che-plugin-svn-ext-shared/src/main/java/org/eclipse/che/plugin/svn/shared/InfoResponse.java | Java | epl-1.0 | 2,096 |
/*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2009 Eric Lafortune (eric@graphics.cornell.edu)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as publ... | shakalaca/ASUS_ZenFone_A450CG | external/proguard/src/proguard/classfile/util/DynamicMemberReferenceInitializer.java | Java | gpl-2.0 | 27,311 |
/*
* ByteGetter.java
*
* PostGIS extension for PostgreSQL JDBC driver - Binary Parser
*
* (C) 2005 Markus Schaber, markus.schaber@logix-tt.com
*
* 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
* Sof... | ahinz/postgis | java/jdbc/src/org/postgis/binary/ByteGetter.java | Java | gpl-2.0 | 2,315 |
/*
* Copyright (c) 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 Softwa... | YouDiSN/OpenJDK-Research | jdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases/src/org/graalvm/compiler/phases/tiers/CompilerConfiguration.java | Java | gpl-2.0 | 1,924 |
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | mateor/pdroid | android-2.3.4_r1/tags/1.32/frameworks/base/graphics/java/android/graphics/ColorFilter.java | Java | gpl-3.0 | 1,155 |
package org.bukkit.command.defaults;
import java.util.List;
import org.apache.commons.lang.Validate;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.p... | dentmaged/Bukkit | src/main/java/org/bukkit/command/defaults/TeleportCommand.java | Java | gpl-3.0 | 4,538 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2015 VoltDB Inc.
*
* 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, either version 3 of the
* License, or (at your option) any la... | kumarrus/voltdb | src/frontend/org/voltdb/jdbc/Driver.java | Java | agpl-3.0 | 8,523 |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2009, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | ilyessou/jfreechart | source/org/jfree/data/category/CategoryDatasetSelectionState.java | Java | lgpl-2.1 | 3,804 |
/*
* eXist Open Source Native XML Database
* Copyright (C) 2015 The eXist Project
* http://exist-db.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2
* of the... | ljo/exist | src/org/exist/security/internal/AccountImpl.java | Java | lgpl-2.1 | 11,934 |
/*
[The "BSD licence"]
Copyright (c) 2004 Jean Bovet
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, this list of conditions an... | jamesmowens/hit-automaton | src/edu/usfca/vas/window/fa/WindowMachineFASettings.java | Java | lgpl-2.1 | 10,270 |
/*
* JBoss, Home of Professional Open Source.
* Copyright 2018, 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 modify it
* unde... | xasx/wildfly | undertow/src/main/java/org/wildfly/extension/undertow/sso/elytron/SingleSignOnIdentifierFactory.java | Java | lgpl-2.1 | 1,767 |
package util.events;
public class UsedReposChangedEvent extends Event {
}
| jinified/HubTurbo | src/main/java/util/events/UsedReposChangedEvent.java | Java | lgpl-3.0 | 75 |
/*
* Copyright (C) 2011 The MusicMod Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | archeng504/yammp | src/org/yammp/dialog/PlaylistDialog.java | Java | lgpl-3.0 | 9,445 |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | apurtell/hadoop | hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/store/TestStateStoreMembershipState.java | Java | apache-2.0 | 24,181 |
/**
* $RCSfile$
* $Revision: 1653 $
* $Date: 2005-07-20 00:21:40 -0300 (Wed, 20 Jul 2005) $
*
* Copyright (C) 2004-2008 Jive Software. 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 c... | haipeng-ssy/openfire_src | src/java/org/jivesoftware/openfire/handler/IQvCardHandler.java | Java | apache-2.0 | 6,967 |
/**
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Lice... | psakar/pnc | maven-repository-manager/src/test/java/org/jboss/pnc/mavenrepositorymanager/AbstractImportTest.java | Java | apache-2.0 | 3,478 |
// 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.openapi.project;
import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.... | goodwinnk/intellij-community | platform/projectModel-api/src/com/intellij/openapi/project/ProjectTypeService.java | Java | apache-2.0 | 1,426 |
/*
* Copyright 2000-2017 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... | jk1/intellij-community | plugins/ui-designer/src/com/intellij/uiDesigner/wizard/BindToExistingBeanStep.java | Java | apache-2.0 | 9,877 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | DariusX/camel | components/camel-spring-redis/src/test/java/org/apache/camel/component/redis/RedisComponentSpringIntegrationTest.java | Java | apache-2.0 | 3,342 |
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.model.option.definition;
import com.opengamma.analytics.financial.model.tree.RecombiningBinomialTree;
/**
*
* @param <T>
* @param <U>... | charles-cooper/idylfin | src/com/opengamma/analytics/financial/model/option/definition/BinomialOptionModelDefinition.java | Java | apache-2.0 | 695 |
/*
*
* JSMin.java 2006-02-13
*
* Updated 2007-08-20 with updates from jsmin.c (2007-05-22)
*
* Copyright (c) 2006 John Reilly (www.inconspicuous.org)
*
* This work is a translation from C to Java of jsmin.c published by
* Douglas Crockford. Permission is hereby granted to use the Java
* version under the sa... | OSBI/saiku | saiku-bi-platform-plugin-p7.1/src/main/java/org/saiku/plugin/util/packager/JSMin.java | Java | apache-2.0 | 7,334 |
/*
* 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.dataframe.stats.outlierdete... | robin13/elasticsearch | x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/dataframe/stats/outlierdetection/Parameters.java | Java | apache-2.0 | 5,618 |
/*
* IzPack - Copyright 2001-2010 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.org/
*
* Copyright 2005,2009 Ivan SZKIBA
* Copyright 2010,2011 Rene Krell
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wi... | akuhtz/izpack | izpack-api/src/main/java/com/izforge/izpack/api/config/BasicProfile.java | Java | apache-2.0 | 10,403 |
package io.cattle.platform.docker.machine.launch;
import io.cattle.platform.lock.definition.AbstractLockDefinition;
import io.cattle.platform.lock.definition.LockDefinition;
public class MachineDriverLoaderLock extends AbstractLockDefinition implements LockDefinition {
private static final String LOCK_NAME = "MA... | wlan0/cattle | code/implementation/docker/machine/src/main/java/io/cattle/platform/docker/machine/launch/MachineDriverLoaderLock.java | Java | apache-2.0 | 416 |
/*
* Copyright 2007 Sascha Weinreuter
*
* 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... | apixandru/intellij-community | xml/relaxng/src/org/intellij/plugins/relaxNG/validation/RngParser.java | Java | apache-2.0 | 10,006 |
/**
* 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... | MeRPG/EndHQ-Libraries | src/org/apache/commons/lang3/builder/DiffBuilder.java | Java | apache-2.0 | 26,079 |
/*
* Copyright 2016 SimplifyOps, Inc. (http://simplifyops.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 ... | variacode/rundeck | core/src/main/java/com/dtolabs/rundeck/core/utils/QuotedStringTokenizer.java | Java | apache-2.0 | 7,149 |
/*
* IzPack - Copyright 2001-2013 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.org/
*
* Copyright 2013 Tim Anderson
*
* 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 co... | maichler/izpack | izpack-panel/src/main/java/com/izforge/izpack/panels/userinput/console/title/ConsoleTitleField.java | Java | apache-2.0 | 1,665 |
/*
* Copyright 2015 JBoss, by Red Hat, 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 ... | dgutierr/uberfire-extensions | uberfire-wires/uberfire-wires-bpmn/uberfire-wires-bpmn-client/src/main/java/org/uberfire/ext/wires/bpmn/client/resources/i18n/BpmnEditorConstants.java | Java | apache-2.0 | 1,180 |
/*
* 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 ... | johnnywale/drill | exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/common/HashPartitionTest.java | Java | apache-2.0 | 13,922 |
/*
* Copyright (c) 2016, 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
*
* Unles... | hastef88/carbon-business-messaging | components/andes/org.wso2.carbon.andes/src/main/java/org/wso2/carbon/andes/listeners/BrokerLifecycleListener.java | Java | apache-2.0 | 1,101 |
/**
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... | mztaylor/rice-git | rice-middleware/kim/kim-impl/src/main/java/org/kuali/rice/kim/impl/group/GroupMemberBo.java | Java | apache-2.0 | 2,735 |
// 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.util.io.keyStorage;
import com.intellij.util.Processor;
import com.intellij.util.io.InlineKeyDescriptor;
import org.jetbrains.annotations.NotNull;
import ja... | zdary/intellij-community | platform/util/src/com/intellij/util/io/keyStorage/InlinedKeyStorage.java | Java | apache-2.0 | 1,695 |
// Copyright (c) 2003-present, Jodd Team (http://jodd.org)
// 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... | wjw465150/jodd | jodd-petite/src/test/java/jodd/petite/ManualTest.java | Java | bsd-2-clause | 7,696 |
/*
* Copyright (C) 2008 ZXing 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 agr... | kerwinxu/barcodeManager | zxing/android/src/com/google/zxing/client/android/result/AddressBookResultHandler.java | Java | bsd-2-clause | 7,135 |
/**
* Copyright (c) 2014,2019 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is av... | Snickermicker/smarthome | extensions/binding/org.eclipse.smarthome.binding.mqtt/src/main/java/org/eclipse/smarthome/binding/mqtt/discovery/MQTTTopicDiscoveryParticipant.java | Java | epl-1.0 | 1,646 |
package org.checkerframework.checker.regex.qual;
import org.checkerframework.qualframework.poly.SimpleQualifierParameterAnnotationConverter;
import org.checkerframework.qualframework.poly.qual.Wildcard;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retent... | renatoathaydes/checker-framework | checker/src/org/checkerframework/checker/regex/qual/Var.java | Java | gpl-2.0 | 1,075 |
/*
This file is part of Cyclos (www.cyclos.org).
A project of the Social Trade Organisation (www.socialtrade.org).
Cyclos is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of th... | robertoandrade/cyclos | src/nl/strohalm/cyclos/controls/access/transactionpassword/ManageTransactionPasswordAction.java | Java | gpl-2.0 | 5,153 |
/*
* StaticChartXAxisInverse.java of project jchart2d, a demonstration
* of the minimal code to set up a chart with static data and an
* inverse x axis.
* Copyright (C) 2007 - 2011 Achim Westermann, created on 10.12.2004, 13:48:55
*
* This library is free software; you can redistribute it and/or
* modif... | cheshirekow/codebase | third_party/lcm/lcm-java/jchart2d-code/src/info/monitorenter/gui/chart/demos/StaticChartXAxisInverse.java | Java | gpl-3.0 | 3,599 |
/*
* 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... | OhmGeek/ThanCue | src/org/zeroturnaround/zip/extra/ZipShort.java | Java | gpl-3.0 | 4,527 |
/*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2015 Evan Debenham
*
* 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 ver... | 5AMW3155/shattered-pixel-dungeon | src/com/shatteredpixel/shatteredpixeldungeon/ui/Tag.java | Java | gpl-3.0 | 1,948 |
/*
* Pixel Dungeon
* Copyright (C) 2012-2014 Oleg Dolya
*
* 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.
*
* ... | Lobz/reforged-pixel-dungeon | src/com/shatteredpixel/shatteredpixeldungeon/ui/CheckBox.java | Java | gpl-3.0 | 1,771 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2012-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | roskens/opennms-pre-github | opennms-tools/ireport-resource-query-provider/src/test/java/org/opennms/netmgt/jasper/resource/ResourceQueryFieldsProviderTest.java | Java | agpl-3.0 | 6,860 |
/*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* 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 Softw... | bhutchinson/kfs | kfs-tem/src/main/java/org/kuali/kfs/module/tem/document/web/struts/TravelStrutsObservable.java | Java | agpl-3.0 | 2,543 |
class Test18 {
String str;
static class A {
private final Test18 anObject;
boolean flag;
public A(Test18 anObject, boolean flag) {
this.flag = flag;
this.anObject = anObject;
}
void foo() {
System.out.println("str = " + anObject.str... | siosio/intellij-community | java/java-tests/testData/refactoring/makeClassStatic/IDEADEV12762_after.java | Java | apache-2.0 | 340 |
package edu.harvard.iq.dataverse.authorization.providers.oauth2.impl;
import com.github.scribejava.apis.GoogleApi20;
import com.github.scribejava.core.builder.api.BaseApi;
import edu.harvard.iq.dataverse.authorization.AuthenticatedUserDisplayInfo;
import edu.harvard.iq.dataverse.authorization.providers.oauth2.Abstract... | ekoi/DANS-DVN-4.6.1 | src/main/java/edu/harvard/iq/dataverse/authorization/providers/oauth2/impl/GoogleOAuth2AP.java | Java | apache-2.0 | 2,685 |
/*
* 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 ... | Guavus/hbase | hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/MasterCoprocessorRpcChannel.java | Java | apache-2.0 | 3,362 |
/**
* Copyright 2014 The PlayN 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 ... | tinkerstudent/playn | robovm/src/playn/robovm/RoboCanvasState.java | Java | apache-2.0 | 978 |
/*
* 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.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | haonaturel/DataflowJavaSDK | sdk/src/test/java/com/google/cloud/dataflow/sdk/util/GroupAlsoByWindowsDoFnTest.java | Java | apache-2.0 | 13,007 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | AliaksandrShuhayeu/pentaho-kettle | plugins/repositories/core/src/main/java/org/pentaho/di/ui/repo/model/LoginModel.java | Java | apache-2.0 | 1,351 |
/*
* 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 ... | Nimco/sling | tooling/ide/eclipse-core/src/org/apache/sling/ide/eclipse/core/internal/SlingLaunchpadBehaviour.java | Java | apache-2.0 | 25,793 |
//========================================================================
// 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
//
... | rmulvey/bridgepoint | src/org.xtuml.bp.debug.ui/src/org/xtuml/bp/debug/ui/model/BPBreakpoint.java | Java | apache-2.0 | 10,881 |
/*
* Copyright (c) 2016, 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.or... | wso2/siddhi | modules/siddhi-core/src/main/java/io/siddhi/core/query/processor/SchedulingProcessor.java | Java | apache-2.0 | 980 |
/*
* Copyright 2018 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 app... | droolsjbpm/drools | drools-ruleunit/src/test/java/org/drools/ruleunit/SimpleFact.java | Java | apache-2.0 | 887 |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... | gretchiemoran/pentaho-kettle | ui/src/org/pentaho/di/ui/trans/steps/mapping/MappingDialog.java | Java | apache-2.0 | 70,861 |
/*
* Copyright 2000-2012 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 | plugins/svn4idea/testSource/org/jetbrains/idea/svn/MockSvnRepository.java | Java | apache-2.0 | 2,100 |
/**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... | pspaude/uPortal | uportal-war/src/main/java/org/jasig/portal/portlet/container/services/PersonDirectoryUserInfoService.java | Java | apache-2.0 | 9,940 |
package com.intellij.openapi.vfs;
public abstract class VirtualFile {
void test() {
assert this == this;
assert this != this;
VirtualFileImpl first = new VirtualFileImpl();
VirtualFile second = new VirtualFileImpl();
assert first == null;
assert first != null;
assert this == second;
... | siosio/intellij-community | plugins/devkit/devkit-java-tests/testData/inspections/internal/com/intellij/openapi/vfs/VirtualFile.java | Java | apache-2.0 | 902 |
/*
* 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... | robin13/elasticsearch | server/src/test/java/org/elasticsearch/search/suggest/AbstractSuggestionBuilderTestCase.java | Java | apache-2.0 | 14,348 |
/**
* 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 ... | mdecourci/assertj-core | src/test/java/org/assertj/core/api/fail/Fail_fest_elements_stack_trace_filtering_Test.java | Java | apache-2.0 | 1,721 |
/*
* 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 ... | ravipesala/incubator-carbondata | core/src/main/java/org/apache/carbondata/core/readcommitter/ReadCommittedIndexFileSnapShot.java | Java | apache-2.0 | 2,076 |
/**
* 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 ... | mdecourci/assertj-core | src/test/java/org/assertj/core/internal/objects/Objects_assertHasSameClassAs_Test.java | Java | apache-2.0 | 2,471 |
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | smmribeiro/intellij-community | python/python-psi-impl/src/com/jetbrains/python/validation/AssignTargetAnnotator.java | Java | apache-2.0 | 11,767 |
/**
* 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... | skinzer/camel | camel-core/src/main/java/org/apache/camel/model/ConvertBodyDefinition.java | Java | apache-2.0 | 3,784 |
// Copyright 2018 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.explore_sites;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import stat... | ric2b/Vivaldi-browser | chromium/chrome/android/junit/src/org/chromium/chrome/browser/explore_sites/ExploreSitesBackgroundTaskUnitTest.java | Java | bsd-3-clause | 11,676 |
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.ntp;
import android.view.View;
import android.widget.CompoundButton;
/**
* This interface includes methods that are... | ric2b/Vivaldi-browser | chromium/chrome/android/java/src/org/chromium/chrome/browser/ntp/IncognitoDescriptionView.java | Java | bsd-3-clause | 1,529 |
package net.sf.jabref.logic.importer;
import net.sf.jabref.logic.help.HelpFile;
/**
* Searches web resources for bibliographic information.
*/
public interface WebFetcher {
/**
* Returns the localized name of this fetcher.
* The title can be used to display the fetcher in the menu and in the side pan... | Mr-DLib/jabref | src/main/java/net/sf/jabref/logic/importer/WebFetcher.java | Java | mit | 626 |
/*
* Copyright (C) 2013 The Libphonenumber 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 la... | yoolk/fakie | lib/fakie/js/java/libphonenumber/src/com/google/i18n/phonenumbers/ShortNumberInfo.java | Java | mit | 18,190 |
/**
* The MIT License (MIT)
*
* Copyright (c) 2015 Yegor Bugayenko
*
* 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 ... | antonini/takes | src/test/java/org/takes/facets/slf4j/TkLoggedTest.java | Java | mit | 2,079 |
/*
* 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 ... | YouDiSN/OpenJDK-Research | jdk9/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/jaxp/validation/ErrorHandlerAdaptor.java | Java | gpl-2.0 | 2,810 |
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following lice... | jvanz/core | qadevOOo/tests/java/mod/_sch/AccDataSeries.java | Java | gpl-3.0 | 3,490 |
package edu.brown.protorpc;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import org.junit.Before;
import org.junit.Test;
import ca.evanjones.protorpc.Counter;
imp... | gxyang/hstore | tests/frontend/edu/brown/protorpc/ProtoConnectionTest.java | Java | gpl-3.0 | 4,153 |
/*
* Copyright 2015-2016 the original author or authors
*
* This software is licensed under the Apache License, Version 2.0,
* the GNU Lesser General Public License version 2 or later ("LGPL")
* and the WTFPL.
* You may choose either license to govern your use of this software only
* upon the condition that you ... | Kandru/KandruIM | src/main/java/eu/siacs/conversations/utils/AndroidUsingExecLowPriority.java | Java | gpl-3.0 | 2,702 |
/*
* jPOS Project [http://jpos.org]
* Copyright (C) 2000-2015 Alejandro P. Revilla
*
* 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, either version 3 of the
* License, or (at your ... | imam-san/jPOS-1 | jpos/src/main/java/org/jpos/iso/ISOFieldValidator.java | Java | agpl-3.0 | 6,106 |
package org.jboss.hal.testsuite.page.config;
import org.jboss.arquillian.graphene.page.Location;
import org.jboss.hal.testsuite.page.BasePage;
/**
* @author jcechace
*
* This class represents a meta page entry point to the Config part of the consle in domain.
* As such it is meant for navigation purposes only and... | mkrajcov/testsuite | src/main/java/org/jboss/hal/testsuite/page/config/DomainConfigEntryPoint.java | Java | lgpl-2.1 | 533 |
/*
* Copyright (c) 2017, 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.or... | minudika/carbon-analytics | components/org.wso2.carbon.business.rules.core/src/main/java/org/wso2/carbon/business/rules/core/datasource/util/BusinessRuleDatasourceUtils.java | Java | apache-2.0 | 1,886 |
/*
* 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 ... | nishantmonu51/druid | extensions-core/druid-basic-security/src/main/java/org/apache/druid/security/basic/authentication/validator/MetadataStoreCredentialsValidator.java | Java | apache-2.0 | 3,346 |
/*
* Copyright 2000-2017 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 | plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/psi/dataFlow/reachingDefs/ReachingDefinitionsCollector.java | Java | apache-2.0 | 17,084 |
/*
* 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 ... | masaki-yamakawa/geode | geode-core/src/integrationTest/java/org/apache/geode/internal/offheap/TxReleasesOffHeapOnCloseJUnitTest.java | Java | apache-2.0 | 2,545 |
/*
* 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 ... | trekawek/jackrabbit-oak | oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/OakCodecTest.java | Java | apache-2.0 | 1,500 |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.pgevent;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.spi.Configur... | nikhilvibhav/camel | components/camel-pgevent/src/generated/java/org/apache/camel/component/pgevent/PgEventEndpointConfigurer.java | Java | apache-2.0 | 3,632 |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | twalpole/selenium | java/server/test/org/openqa/testing/FakeHttpServletResponse.java | Java | apache-2.0 | 5,143 |