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 2017 - 2018 Anton Tananaev (anton@traccar.org)
*
* 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 b... | jssenyange/traccar | src/main/java/org/traccar/protocol/WatchFrameDecoder.java | Java | apache-2.0 | 2,397 |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | idea4bsd/idea4bsd | platform/vcs-api/src/com/intellij/openapi/vcs/changes/CommitSession.java | Java | apache-2.0 | 2,124 |
package com.coolweather.app.model;
public class County {
private int id;
private String countyName;
private String countyCode;
private int cityId;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getCountyName() {
return countyName;
}
public void setCounty... | 732773358/cool | src/com/coolweather/app/model/County.java | Java | apache-2.0 | 637 |
/*
* 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... | android-ia/platform_tools_idea | java/execution/openapi/src/com/intellij/execution/configurations/CommandLineBuilder.java | Java | apache-2.0 | 4,413 |
// Copyright © 2013-2014 Esko Luontola <www.orfjackal.net>
// This software is released under the Apache License 2.0.
// The license text is at http://www.apache.org/licenses/LICENSE-2.0
package net.orfjackal.retrolambda.lambdas;
import org.objectweb.asm.*;
import java.lang.invoke.*;
import java.lang.reflect.Constru... | divs1210/retrolambda | retrolambda/src/main/java/net/orfjackal/retrolambda/lambdas/LambdaReifier.java | Java | apache-2.0 | 4,749 |
/*
* Copyright (c) 2007 - 2008 by Damien Di Fede <ddf@compartmental.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as published
* by the Free Software Foundation; either version 2 of the License, or
* (at ... | UTSDataArena/examples | processing/sketchbook/libraries/minim/src/ddf/minim/AudioListener.java | Java | bsd-2-clause | 2,720 |
/*================================================================================
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... | n4ybn/yavijava | src/main/java/com/vmware/vim25/ArrayOfIpPoolManagerIpAllocation.java | Java | bsd-3-clause | 2,294 |
/*
* 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 com... | eity0323/fresco | imagepipeline/src/main/java/com/facebook/imagepipeline/producers/SettableProducerContext.java | Java | bsd-3-clause | 5,117 |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2008-2009, The KiWi Project (http://www.kiwi-project.eu)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*... | fregaham/KiWi | src/action/kiwi/service/reasoning/ClasspathRuleLoader.java | Java | bsd-3-clause | 4,488 |
package com.xeiam.xchange.bitcoinde.dto.marketdata;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.io.InputStream;
import org.junit.Test;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jacks... | codeck/XChange | xchange-bitcoinde/src/test/java/com/xeiam/xchange/bitcoinde/dto/marketdata/BitcoindeRateTest.java | Java | mit | 1,069 |
/**
* 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... | jonathan-major/Rapture | Libs/RaptureAddinCore/src/main/java/rapture/audit/AuditLog.java | Java | mit | 1,975 |
package com.github.awvalenti.arquiteturadesoftware.rpg1.versao5.arquiteturadefinida.logicajogo;
public enum Elemento {
AGUA("/agua.png"),
MACA("/maca.png"),
PERSONAGEM("/personagem.png"),
GRAMA("/grama.png"),
PORTAL("/passagem.png"),
;
private final String caminhoImagem;
Elemento(String caminhoImagem) {
t... | fabitous/arquiteturadesoftware-master_ | asw.rpg1/src/com/github/awvalenti/arquiteturadesoftware/rpg1/versao5/arquiteturadefinida/logicajogo/Elemento.java | Java | mit | 425 |
/**
* 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... | scarabus/Rapture | Libs/Reflex/src/main/java/reflex/function/LibNode.java | Java | mit | 2,424 |
package server;
import exception.NoIpException;
import protocol.ProtoHead;
import tools.Debug;
/**
* 用switch进行请求分发
*
* @author Feng
*
*/
public class ClientRequest_Dispatcher {
// public static ClientRequest_Dispatcher instance = new
// ClientRequest_Dispatcher();
private Server_User server_User;
private... | richardissuperman/MiniWeChat-Server | src/server/ClientRequest_Dispatcher.java | Java | mit | 3,570 |
package info.testing.automated.abstraction;
/**
* Author: Serhii Kuts
*/
public class WebDriver {
public void quit() {
}
}
| tjlee/at.info-knowledge-base | functional test automation/webdriver/methods-interceptor-via-aspectj-on-java/src/main/java/info/testing/automated/abstraction/WebDriver.java | Java | mit | 135 |
/**
* Copyright 2014 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.jboss.forge.addon.ui.result;
import org.jboss.forge.addon.ui.command.UICommand;
import org.jboss.forge.addon.ui.context.UICo... | agoncal/core | ui/api/src/main/java/org/jboss/forge/addon/ui/result/NavigationResultEntry.java | Java | epl-1.0 | 1,027 |
/*******************************************************************************
* 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
* w... | RallySoftware/eclipselink.runtime | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/oxm/schemamodelgenerator/Employee.java | Java | epl-1.0 | 1,786 |
/*******************************************************************************
* 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 | foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/models/transparentindirection/IndirectContainerProject.java | Java | epl-1.0 | 15,554 |
/*******************************************************************************
* 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/listofobjects/JAXBIntListTestCases.java | Java | epl-1.0 | 2,105 |
/*
* 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... | rex-xxx/mt6572_x201 | libcore/luni/src/test/java/tests/api/java/util/ResourceBundleTest.java | Java | gpl-2.0 | 14,920 |
/* Copyright (C) 2003-2016 JabRef contributors.
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 2 of the License, or
(at your option) any later version.
This progr... | marcoaandrade/DC-UFSCar-ES2-201601--Grupo-da-Rapeize-v1.2 | src/main/java/net/sf/jabref/logic/msbib/MSBibEntry.java | Java | gpl-2.0 | 43,771 |
/*
* 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... | WelcomeHUME/svn-caucho-com-resin | modules/kernel/src/com/caucho/config/gen/CacheGenerator.java | Java | gpl-2.0 | 11,468 |
/*
Copyright 2002-2004 MySQL AB, 2008 Sun Microsystems
All rights reserved. Use is subject to license terms.
The MySQL Connector/J is licensed under the terms of the GPL,
like most MySQL Connectors. There are special exceptions to the
terms and conditions of the GPL as it is applied to this software,
see th... | yyuu/libmysql-java | src/testsuite/simple/DateTest.java | Java | gpl-2.0 | 14,321 |
/*
* OCaml Support For IntelliJ Platform.
* Copyright (C) 2010 Maxim Manuylov
*
* 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 2 of the License, or
* (at your optio... | emmeryn/intellij-ocaml | OCamlSources/src/manuylov/maxim/ocaml/lang/parser/psi/element/OCamlOperatorName.java | Java | gpl-2.0 | 1,009 |
/*
* Copyright (c) 2008, 2010, 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 Sof... | saeder/CodenameOne | Ports/CLDC11/src/java/lang/OutOfMemoryError.java | Java | gpl-2.0 | 1,842 |
/*
* Copyright (C) 2010 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... | rex-xxx/mt6572_x201 | cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static_range/d/T_invoke_static_range_13.java | Java | gpl-2.0 | 743 |
/*
* Copyright (c) 1998, 2019, 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/net/Socket/SoTimeout.java | Java | gpl-2.0 | 2,920 |
/*************************************************************************
*
* The Contents of this file are made available subject to the terms of
* the BSD license.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or... | sbbic/core | odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java | Java | gpl-3.0 | 3,235 |
/* Copyright (c) 2001-2008, 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... | danielbejaranogonzalez/Mobile-Network-Designer | db/hsqldb/src/org/hsqldb/util/SqlToolSprayer.java | Java | gpl-3.0 | 7,203 |
/*
* Copyright (C) 2014 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... | syslover33/ctank | java/android-sdk-linux_r24.4.1_src/sources/android-23/android/hardware/camera2/legacy/LegacyFocusStateMapper.java | Java | gpl-3.0 | 12,333 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Admin/src/ims/admin/domain/MosSelect.java | Java | agpl-3.0 | 2,047 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/coe/vo/FallAssessmentDetails.java | Java | agpl-3.0 | 6,741 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/core/admin/vo/NotificationsRefVoCollection.java | Java | agpl-3.0 | 5,237 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/coe/vo/AssessmentLeisure.java | Java | agpl-3.0 | 15,040 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Billing/src/ims/billing/forms/adddiscountdialog/GlobalContext.java | Java | agpl-3.0 | 1,973 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/clinical/vo/beans/SkinPreperationVoBean.java | Java | agpl-3.0 | 4,121 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/admin/vo/beans/AppointmentOutcomeConfigVoBean.java | Java | agpl-3.0 | 7,154 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/core/vo/domain/ClinicalNoteStatusVoAssembler.java | Java | agpl-3.0 | 20,094 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ClinicalAdmin/src/ims/clinicaladmin/forms/tumourserummarkers/Logic.java | Java | agpl-3.0 | 1,766 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Clinical/src/ims/clinical/forms/edischargediagnosiscomponent/IFormUILogicCode.java | Java | agpl-3.0 | 1,789 |
/*
* eXist-db Open Source Native XML Database
* Copyright (C) 2001 The eXist-db Authors
*
* info@exist-db.org
* http://www.exist-db.org
*
* 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 Foun... | eXist-db/exist | exist-core/src/main/java/org/exist/xquery/functions/session/GetAttribute.java | Java | lgpl-2.1 | 3,036 |
package org.intermine.webservice.server;
/*
* Copyright (C) 2002-2017 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/l... | elsiklab/intermine | intermine/web/main/src/org/intermine/webservice/server/SessionService.java | Java | lgpl-2.1 | 1,510 |
package com.google.api.ads.adwords.jaxws.v201506.o;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.an... | stoksey69/googleads-java-lib | modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201506/o/InStreamAdSpec.java | Java | apache-2.0 | 3,284 |
/* 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
*
... | treejames/GeoprocessingAppstore | src/com/esri/gpt/control/webharvest/client/atom/OpenSearchAtomInfoProcessor.java | Java | apache-2.0 | 1,524 |
/*
* Copyright 2014 JBoss 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 ... | mbiarnes/uberfire-extensions | uberfire-widgets/uberfire-widgets-core/uberfire-widgets-core-client/src/main/java/org/uberfire/ext/widgets/core/client/wizards/WizardPopupFooter.java | Java | apache-2.0 | 4,051 |
package net.rubyeye.xmemcached.command;
/**
* Command Type for memcached protocol.
*
* @author dennis
*
*/
public enum CommandType {
NOOP, STATS, FLUSH_ALL, GET_ONE, GET_MANY, SET, REPLACE, ADD, EXCEPTION, DELETE, VERSION, QUIT, INCR, DECR, GETS_ONE, GETS_MANY, CAS, APPEND, PREPEND, GET_HIT, GET_MIS... | springning/xmemcached | src/main/java/net/rubyeye/xmemcached/command/CommandType.java | Java | apache-2.0 | 400 |
/*
* 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... | lanceleverich/drools | drools-compiler/src/main/java/org/drools/compiler/lang/descr/CompositePackageDescr.java | Java | apache-2.0 | 6,201 |
/*
* 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 ... | oscarceballos/flink-1.3.2 | flink-libraries/flink-gelly/src/main/java/org/apache/flink/graph/pregel/ComputeFunction.java | Java | apache-2.0 | 8,825 |
/*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2019 Guardsquare NV
*
* 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
* Softwar... | twitter-forks/bazel | third_party/java/proguard/proguard6.2.2/src/proguard/optimize/evaluation/LivenessAnalyzer.java | Java | apache-2.0 | 18,516 |
/*
* Copyright 2015-present Open Networking Foundation
*
* 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 appli... | gkatsikas/onos | core/net/src/main/java/org/onosproject/net/intent/impl/phase/Installing.java | Java | apache-2.0 | 1,876 |
/*
* Copyright 2017 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... | romartin/kie-wb-common | kie-wb-common-stunner/kie-wb-common-stunner-core/kie-wb-common-stunner-commons/kie-wb-common-stunner-core-common/src/test/java/org/kie/workbench/common/stunner/core/command/impl/CompositeCommandTest.java | Java | apache-2.0 | 12,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 ... | jimma/xerces | src/org/apache/xml/serialize/HTMLdtd.java | Java | apache-2.0 | 19,010 |
package org.wikidata.wdtk.datamodel.json.jackson;
/*
* #%L
* Wikidata Toolkit Data Model
* %%
* Copyright (C) 2014 Wikidata Toolkit Developers
* %%
* 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... | zazi/Wikidata-Toolkit | wdtk-datamodel/src/main/java/org/wikidata/wdtk/datamodel/json/jackson/JacksonReference.java | Java | apache-2.0 | 3,566 |
package io.hawt.log.log4j;
import io.hawt.log.support.LogQuerySupportMBean;
import org.apache.log4j.spi.LoggingEvent;
/**
* The MBean operations for {@link Log4jLogQuery}
*/
public interface Log4jLogQueryMBean extends LogQuerySupportMBean {
/**
* Provides a hook you can call if the underlying log4j
*... | skarsaune/hawtio | hawtio-log/src/main/java/io/hawt/log/log4j/Log4jLogQueryMBean.java | Java | apache-2.0 | 501 |
/*
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... | MaTriXy/immutables | value-fixture/src/org/immutables/fixture/style/EnclosingBuilderNew.java | Java | apache-2.0 | 1,142 |
/*
* 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/accumulo | test/src/main/java/org/apache/accumulo/test/compaction/TestCompactionStrategy.java | Java | apache-2.0 | 2,548 |
/*
* 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 ... | alipayhuber/hack-hbase | hbase-client/src/main/java/org/apache/hadoop/hbase/client/Append.java | Java | apache-2.0 | 4,075 |
/*
* Copyright 2015 JBoss 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 i... | kahboom/apiman | gateway/engine/beans/src/main/java/io/apiman/gateway/engine/beans/util/QueryMap.java | Java | apache-2.0 | 2,228 |
/*
* 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... | masaki-yamakawa/geode | geode-junit/src/main/java/org/apache/geode/test/micrometer/MicrometerAssertions.java | Java | apache-2.0 | 2,135 |
package org.compass.annotations.test.dynamic.jexl;
import java.util.Calendar;
import org.compass.annotations.test.AbstractAnnotationsTestCase;
import org.compass.core.CompassSession;
import org.compass.core.CompassTransaction;
import org.compass.core.Resource;
import org.compass.core.config.CompassConfiguration;
/**... | kimchy/compass | src/main/test/org/compass/annotations/test/dynamic/jexl/JexlDynamicTests.java | Java | apache-2.0 | 1,216 |
// 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.openapi.editor.colors.impl;
import com.intellij.BundleBase;
import com.intellij.DynamicBundle;
import com.intellij.application.options.EditorFontsConstants;... | siosio/intellij-community | platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/AbstractColorsScheme.java | Java | apache-2.0 | 40,857 |
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.component.factory.provider;
import java.lang.reflect.Constructor;
import java.net.URI;
import java.util.LinkedHashMap;
import java.util.Map;
import org.apache... | codeaudit/OG-Platform | projects/OG-Component/src/main/java/com/opengamma/component/factory/provider/RemoteProvidersComponentFactory.java | Java | apache-2.0 | 11,201 |
/**
* 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... | wangcy6/storm_app | frame/apache-flume-1.7.0-src/flume-ng-core/src/main/java/org/apache/flume/serialization/Seekable.java | Java | apache-2.0 | 988 |
/*
* Copyright 2021 Hazelcast Inc.
*
* Licensed under the Hazelcast Community License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://hazelcast.com/hazelcast-community-license
*
* Unless required by applicable law or agree... | jerrinot/hazelcast | hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/keyvalue/KvMetadataJsonResolver.java | Java | apache-2.0 | 3,642 |
/*
* Copyright 2015 JBoss Inc
*
* 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, software
* distributed under t... | BeatCoding/droolsjbpm-integration | jbpm-simulation/src/main/java/org/jbpm/simulation/impl/SimulationNodeInstance.java | Java | apache-2.0 | 3,412 |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apixandru/intellij-community | platform/testFramework/src/com/intellij/testFramework/fixtures/BareTestFixtureTestCase.java | Java | apache-2.0 | 2,868 |
/*
* 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 ... | pkdevbox/stratos | components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/topology/ClusterInstanceTerminatedProcessor.java | Java | apache-2.0 | 5,892 |
/**
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat, Inc. and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the ... | mikesir87/arquillian-graphene | impl/src/main/java/org/jboss/arquillian/graphene/location/ContextRootStore.java | Java | apache-2.0 | 1,319 |
/*
* 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 ... | spodkowinski/cassandra | src/java/org/apache/cassandra/db/streaming/CassandraStreamReceiver.java | Java | apache-2.0 | 9,745 |
/*
* Copyright 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://www.apach... | mbaluch/keycloak | testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/broker/AccountLinkTest.java | Java | apache-2.0 | 6,812 |
/*
*
* 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 "L... | pkuwm/incubator-eagle | eagle-core/eagle-data-process/eagle-stream-process-base/src/main/java/org/apache/eagle/partition/Weight.java | Java | apache-2.0 | 1,058 |
/*
* 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 ... | meggermo/jackrabbit-oak | oak-segment/src/test/java/org/apache/jackrabbit/oak/plugins/segment/CancelableDiffTest.java | Java | apache-2.0 | 4,199 |
/*
* Copyright 2015-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | tgummerer/buck | src/com/facebook/buck/android/AndroidInstrumentationTestDescription.java | Java | apache-2.0 | 3,967 |
/*
* Copyright (c) 2008-2014 MongoDB, 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 a... | kay-kim/mongo-java-driver | driver/src/main/org/bson/BSONObject.java | Java | apache-2.0 | 2,616 |
/*
* 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... | alexksikes/elasticsearch | src/main/java/org/elasticsearch/search/dfs/DfsPhase.java | Java | apache-2.0 | 5,655 |
/*
* Copyright 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 applica... | gstevey/gradle | subprojects/core/src/integTest/groovy/org/gradle/process/internal/LoggingProcess.java | Java | apache-2.0 | 1,332 |
/*
* 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... | hurricup/intellij-community | platform/platform-impl/src/com/intellij/ide/actions/OpenProjectFileChooserDescriptor.java | Java | apache-2.0 | 4,291 |
/*
* 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... | fariagu/dashbuilder | dashbuilder-client/dashbuilder-renderers/dashbuilder-renderer-lienzo/src/main/java/org/dashbuilder/renderer/lienzo/client/LienzoBarChartDisplayer.java | Java | apache-2.0 | 1,674 |
/*
* Copyright 2016-present Open Networking Foundation
*
* 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 appli... | sdnwiselab/onos | incubator/api/src/main/java/org/onosproject/incubator/net/l2monitoring/cfm/service/CfmConfigException.java | Java | apache-2.0 | 1,116 |
// Copyright (C) 2013 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 applicable ... | gcoders/gerrit | gerrit-plugin-gwtui/src/main/java/com/google/gerrit/plugin/client/rpc/RestApi.java | Java | apache-2.0 | 4,615 |
package io.dropwizard.util;
import javax.annotation.Nullable;
/**
* @since 2.0
*/
public final class JavaVersion {
private JavaVersion() {
}
public static boolean isJava8() {
final String specVersion = getJavaSpecVersion();
return specVersion != null && specVersion.startsWith("1.8");
... | dropwizard/dropwizard | dropwizard-util/src/main/java/io/dropwizard/util/JavaVersion.java | Java | apache-2.0 | 561 |
/**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.curve.exposure;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import com.openga... | jeorme/OG-Platform | projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/curve/exposure/SecurityAndCurrencyExposureFunction.java | Java | apache-2.0 | 4,376 |
// 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... | titusfortner/selenium | java/src/org/openqa/selenium/NoSuchElementException.java | Java | apache-2.0 | 1,393 |
/*
* Copyright (c) 2008-2016, 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 ... | Donnerbart/hazelcast-simulator | tests/tests-hz39/src/main/java/com/hazelcast/simulator/tests/synthetic/SyntheticTest.java | Java | apache-2.0 | 6,251 |
/**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.volatility.surface;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang.Validate;
import org.threeten.bp.LocalD... | jeorme/OG-Platform | projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/volatility/surface/BloombergEquityFuturePriceCurveInstrumentProvider.java | Java | apache-2.0 | 7,018 |
/*
* Copyright (c) 2001, 2006, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package com.sun.jmx.snmp.internal;
import com.sun.jmx.snmp.SnmpDefinitions;
/**
* Utility class used t... | shun634501730/java_source_cn | src_en/com/sun/jmx/snmp/internal/SnmpTools.java | Java | apache-2.0 | 3,631 |
package com.google.api.ads.dfp.jaxws.v201411;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for LabelError.Reason.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="La... | nafae/developer | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201411/LabelErrorReason.java | Java | apache-2.0 | 1,382 |
package org.broadinstitute.hellbender.utils.genotyper;
import htsjdk.variant.variantcontext.Allele;
import org.broadinstitute.hellbender.utils.collections.Permutation;
/**
* Marks allele list permutation implementation classes.
*/
public interface AlleleListPermutation<A extends Allele> extends Permutation<A>, Alle... | magicDGS/gatk | src/main/java/org/broadinstitute/hellbender/utils/genotyper/AlleleListPermutation.java | Java | bsd-3-clause | 333 |
/*******************************************************************************
* Copyright (c) 2012-2016 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 ... | kaloyan-raev/che | ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/editor/texteditor/TemporaryKeyBindingsManager.java | Java | epl-1.0 | 1,302 |
/*******************************************************************************
* 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-github/che-plugin-github-shared/src/main/java/org/eclipse/che/plugin/github/shared/Collaborators.java | Java | epl-1.0 | 909 |
/***********************************************************************
* mt4j Copyright (c) 2008 - 2009 C.Ruff, Fraunhofer-Gesellschaft All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*... | Twelve-60/mt4j | src/org/mt4j/util/math/Ray.java | Java | gpl-2.0 | 4,363 |
/*
* Copyright (c) 2002, 2018, 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/hotspot/jtreg/vmTestbase/gc/memory/Churn/Churn3/Churn3.java | Java | gpl-2.0 | 2,966 |
/*
* Copyright (c) 1997, 2017, 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 ... | YouDiSN/OpenJDK-Research | jdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/MessageFactoryImpl.java | Java | gpl-2.0 | 5,854 |
/**
* Copyright (C) 2012-2015 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with... | nuest/SOS | coding/sos-v100/src/main/java/org/n52/sos/encode/SamplingEncoderv100.java | Java | gpl-2.0 | 11,985 |
/*
* 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... | rex-xxx/mt6572_x201 | external/proguard/src/proguard/classfile/Method.java | Java | gpl-2.0 | 1,054 |
/*
* 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... | bertrama/resin | modules/kernel/src/com/caucho/vfs/i18n/UTF8Writer.java | Java | gpl-2.0 | 4,144 |
/**
* Copyright (C) 2012-2015 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*
* If the program is linked with... | nuest/SOS | core/api/src/main/java/org/n52/sos/ogc/sensorML/elements/SmlLocation.java | Java | gpl-2.0 | 2,147 |
/*
* 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... | sbbic/core | qadevOOo/runner/lib/ExceptionStatus.java | Java | gpl-3.0 | 1,353 |
// uniCenta oPOS - Touch Friendly Point Of Sale
// Copyright (c) 2009-2014 uniCenta & previous Openbravo POS works
// http://www.unicenta.com
//
// This file is part of uniCenta oPOS
//
// uniCenta oPOS is free software: you can redistribute it and/or modify
// it under the terms of the GNU General P... | sbandur84/micro-Blagajna | src-pos/com/openbravo/pos/panels/JPanelPayments.java | Java | gpl-3.0 | 2,301 |
/*
* Flazr <http://flazr.com> Copyright (C) 2009 Peter Thomas.
*
* This file is part of Flazr.
*
* Flazr 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
* (a... | diohpix/flazr-fork | src/main/java/com/flazr/amf/Amf0Object.java | Java | gpl-3.0 | 876 |