code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
package org.openqa.selenium.support;
// Basic colour keywords as defined by the W3C HTML4 spec
// See http://www.w3.org/TR/css3-color/#html4
import org.openqa.selenium.support.Color;
public enum Colors {
BLACK(new Color(0, 0, 0, 1d)),
SILVER(new Color(192, 192, 192, 1d)),
GRAY(new Color(128, 128, 128, 1d... | winhamwr/selenium | java/client/src/org/openqa/selenium/support/Colors.java | Java | apache-2.0 | 1,017 |
/*
* Copyright 2012 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 w... | Plonk42/mytracks | myTracks/src/main/java/com/google/android/apps/mytracks/io/file/importer/ImportAsyncTask.java | Java | apache-2.0 | 7,667 |
package com.s4game.server.message.manager;
import javax.annotation.Resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import com.s4game.core.message.Message;
import com.s4game.core.message.Message.DestType;
import com.s4game.core.message.Message.FromTy... | zuesgooogle/HappyMj | mj-game/src/main/java/com/s4game/server/message/manager/SwapManager.java | Java | apache-2.0 | 3,175 |
package org.keycloak.services.messages;
import java.io.IOException;
import java.net.URL;
import java.text.MessageFormat;
import java.util.Locale;
import java.util.Properties;
import org.jboss.logging.Logger;
import org.keycloak.models.KeycloakSession;
import org.keycloak.messages.MessagesProvider;
/**
* @author <a h... | matzew/keycloak | services/src/main/java/org/keycloak/services/messages/AdminMessagesProvider.java | Java | apache-2.0 | 1,720 |
/*
* 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... | nknize/elasticsearch | server/src/main/java/org/elasticsearch/action/admin/indices/template/post/TransportSimulateTemplateAction.java | Java | apache-2.0 | 7,785 |
/**
* Copyright 2014-2016 CyberVision, 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 applicabl... | Deepnekroz/kaa | server/node/src/main/java/org/kaaproject/kaa/server/operations/service/akka/actors/supervision/SupervisionStrategyFactory.java | Java | apache-2.0 | 3,672 |
/*
* Copyright (c) 2008-2020, 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 ... | mdogan/hazelcast | hazelcast/src/main/java/com/hazelcast/map/impl/ListenerAdapters.java | Java | apache-2.0 | 1,501 |
package com.alibaba.json.bvt.parser;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.fastjson.JSON;
public class JSONScannerTest__x extends TestCase {
public void test_x() throws Exception {
StringBuilder buf = new StringBuilder();
buf.append("\"");
... | alibaba/fastjson | src/test/java/com/alibaba/json/bvt/parser/JSONScannerTest__x.java | Java | apache-2.0 | 910 |
/*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | sdole/aws-sdk-java | aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/DescribeLoadBasedAutoScalingResult.java | Java | apache-2.0 | 6,974 |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | andy256/druid | processing/src/main/java/io/druid/segment/data/CompressedVSizeIntsIndexedSupplier.java | Java | apache-2.0 | 13,000 |
/*
* 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... | MichaelNedzelsky/intellij-community | plugins/gradle/src/org/jetbrains/plugins/gradle/service/project/GradleProjectResolver.java | Java | apache-2.0 | 35,093 |
/*
* 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/index/mapper/Uid.java | Java | apache-2.0 | 6,728 |
/**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.math.impl;
import com.opengamma.strata.collect.ArgChecker;
/**
* Utilities for working with complex numbers.
*/
public class ComplexMathUtils {
pu... | jmptrader/Strata | modules/math/src/main/java/com/opengamma/strata/math/impl/ComplexMathUtils.java | Java | apache-2.0 | 7,523 |
package com.lixia.rdp.crypto;
/**
* This class implements the MD5 message digest algorithm.
* <p>
* <b>BUG</b>: The update method is missing.
* <p>
* <b>References:</b>
* <ol>
* <li> Ronald L. Rivest,
* "<a href="http://www.roxen.com/rfc/rfc1321.html">
* The MD5 Message-Digest Algor... | infinitiessoft/skyport-websockify | src/main/java/com/lixia/rdp/crypto/MD5.java | Java | apache-2.0 | 9,477 |
package org.keycloak.models.entities;
import java.util.Map;
/**
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
* @version $Revision: 1 $
*/
public class AuthenticatorConfigEntity {
protected String id;
protected String alias;
private Map<String, String> config;
public... | anaerobic/keycloak | model/api/src/main/java/org/keycloak/models/entities/AuthenticatorConfigEntity.java | Java | apache-2.0 | 757 |
/*
* Copyright 2017-2020 Crown Copyright
*
* 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... | GovernmentCommunicationsHeadquarters/Gaffer | core/operation/src/main/java/uk/gov/gchq/gaffer/operation/impl/output/package-info.java | Java | apache-2.0 | 751 |
/**
* Copyright (c) 2013-2014 Netflix, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | Netflix/msl | core/src/main/java/com/netflix/msl/msg/FilterStreamFactory.java | Java | apache-2.0 | 1,837 |
/*
* 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... | Buzzardo/spring-boot | spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/elasticsearch/ReactiveElasticsearchRepositoriesAutoConfiguration.java | Java | apache-2.0 | 2,202 |
/*
* Druid - a distributed column store.
* Copyright 2012 - 2015 Metamarkets Group 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-... | nvoron23/druid | services/src/main/java/io/druid/cli/Main.java | Java | apache-2.0 | 3,527 |
/*
* Copyright 2006-2011 The Virtual Laboratory for e-Science (VL-e)
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* For details, see the LICENCE.txt file location in the root directory of this
* distribution or obtain ... | skoulouzis/vlet-1.5.0 | source/core/nl.uva.vlet.vrs.core/source/main/nl/uva/vlet/io/javafile/File.java | Java | apache-2.0 | 32,655 |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | ichaki5748/netty | transport/src/main/java/io/netty/channel/DefaultChannelConfig.java | Java | apache-2.0 | 16,461 |
/*
* Copyright 2014 CyberVision, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | kallelzied/kaa | server/operations/src/test/java/org/kaaproject/kaa/server/operations/service/akka/DefaultAkkaServiceTest.java | Java | apache-2.0 | 79,687 |
/*
* Copyright 2001-2004 The Apache Software 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... | apache/axis1-java | axis-rt-core/src/test/java/test/soap/TestOnFaultHeaders.java | Java | apache-2.0 | 3,826 |
// 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 applicable ... | estebank/gitiles | gitiles-servlet/src/test/java/com/google/gitiles/DiffServletTest.java | Java | apache-2.0 | 5,952 |
/*
* Copyright 2009-2016 DigitalGlobe, 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 ag... | ttislerdg/mrgeo | mrgeo-core/src/main/java/org/mrgeo/hdfs/vector/shp/util/StringUtils.java | Java | apache-2.0 | 6,682 |
/**
* 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... | jnhagelberg/incubator-atlas | catalog/src/main/java/org/apache/atlas/catalog/exception/ResourceAlreadyExistsException.java | Java | apache-2.0 | 1,120 |
/*
* Copyright 2012-2019 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... | wilkinsona/spring-boot | spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/GenericsMetadataGenerationTests.java | Java | apache-2.0 | 5,965 |
/*
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | hello2009chen/spring-boot | spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/export/atlas/AtlasPropertiesTests.java | Java | apache-2.0 | 2,045 |
/*
* 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... | pfirmstone/JGDMS | qa/src/org/apache/river/test/spec/jeri/connection/ConnectionManagerTest.java | Java | apache-2.0 | 10,551 |
/*
* 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... | markfisher/spring-cloud-dataflow | spring-cloud-dataflow-server-core/src/main/java/org/springframework/cloud/dataflow/server/repository/RdbmsStreamDefinitionRepository.java | Java | apache-2.0 | 2,334 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache/sis | core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultRelativeInternalPositionalAccuracy.java | Java | apache-2.0 | 4,741 |
/*
* Copyright 2022 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | gocd/gocd | common/src/main/java/com/thoughtworks/go/server/util/UuidGenerator.java | Java | apache-2.0 | 891 |
/*
* Copyright 2013 Robert von Burg <eitch@eitchnet.ch>
*
* 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... | 4treesCH/strolch | li.strolch.agent/src/main/java/li/strolch/agent/api/RestrictableElement.java | Java | apache-2.0 | 1,316 |
/*
* Copyright (C) 2007 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... | mapkon/collect | collect_app/src/main/java/org/odk/collect/android/provider/InstanceProviderAPI.java | Java | apache-2.0 | 2,995 |
/**
* 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... | daidong/DominoHBase | hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java | Java | apache-2.0 | 5,386 |
/**
* Get more info at : www.jrebirth.org .
* Copyright JRebirth.org © 2011-2013
* Contact : sebastien.bordes@jrebirth.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
*
* htt... | JRebirth/JRebirth | org.jrebirth.af/core/src/main/java/org/jrebirth/af/core/ui/fxml/DefaultFXMLObjectModel.java | Java | apache-2.0 | 2,020 |
/*
* $Id$
*
* Copyright 2001-2005 The Apache Software 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... | kawasima/struts-taglib-compatible | src/share/org/apache/struts/action/ActionMessage.java | Java | apache-2.0 | 5,427 |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | flofreud/aws-sdk-java | aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/transform/ListImagesRequestMarshaller.java | Java | apache-2.0 | 3,745 |
package uk.co.blackpepper.bowman;
import java.io.IOException;
import java.lang.reflect.Modifier;
import org.springframework.hateoas.EntityModel;
import org.springframework.hateoas.Links;
import org.springframework.hateoas.RepresentationModel;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson... | BlackPepperSoftware/hal-client | client/src/main/java/uk/co/blackpepper/bowman/ResourceDeserializer.java | Java | apache-2.0 | 2,736 |
/*
* Copyright (C) 2015, 程序亦非猿
*
* 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 ... | Zhangsongsong/GraduationPro | 毕业设计/code/android/YYFramework/src/app/logic/live/view/PeriscopeLayout.java | Java | apache-2.0 | 7,978 |
package com.oklab.gitjourney.data;
import java.util.Calendar;
/**
* Created by olgakuklina on 2017-01-15.
*/
public class FeedDataEntry {
private final long entryId;
private final String authorName;
private final String avatarURL;
private final String authorURL;
private final String title;
... | OlgaKuklina/GitJourney | app/src/main/java/com/oklab/gitjourney/data/FeedDataEntry.java | Java | apache-2.0 | 1,413 |
/*
* 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")... | skoulouzis/lobcder | milton2/milton-server-ce/src/main/java/io/milton/http/http11/CacheControlHelper.java | Java | apache-2.0 | 1,359 |
/*
* Copyright 2007-2107 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 requi... | aglne/ymateplatform | ymateplatform/src/main/java/net/ymate/platform/validation/annotation/ValidateRule.java | Java | apache-2.0 | 1,601 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | mxm/incubator-beam | sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/meta/provider/pubsub/PubsubJsonTableProvider.java | Java | apache-2.0 | 4,335 |
/*
* Copyright © 2014 - 2021 Leipzig University (Database Research Group)
*
* 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... | galpha/gradoop | gradoop-flink/src/main/java/org/gradoop/flink/model/impl/operators/grouping/functions/BuildGroupItemBase.java | Java | apache-2.0 | 4,331 |
/*
* 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 ... | sshcherbakov/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/ReliableMessageQueueFactory.java | Java | apache-2.0 | 1,803 |
/**
* 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... | anshuiisc/storm-Allbolts-wiring | external/storm-kafka/src/test/org/apache/storm/kafka/DynamicBrokersReaderTest.java | Java | apache-2.0 | 10,234 |
/*
* 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/incubator-systemml | src/main/java/org/apache/sysds/runtime/controlprogram/paramserv/dp/DRSparkScheme.java | Java | apache-2.0 | 2,698 |
/*
* 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 ... | ubikloadpack/jmeter | src/protocol/java/org/apache/jmeter/protocol/java/sampler/JavaSampler.java | Java | apache-2.0 | 12,241 |
/*
* Copyright 2021 Scheer PAS Schweiz AG
*
* 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... | msavy/apiman | common/es/src/main/java/io/apiman/common/es/util/builder/index/EsTypeEntry.java | Java | apache-2.0 | 2,090 |
package io.cattle.platform.inator.unit;
import io.cattle.platform.core.constants.InstanceConstants;
import io.cattle.platform.core.model.Account;
import io.cattle.platform.core.model.Service;
import io.cattle.platform.core.util.PortSpec;
import io.cattle.platform.inator.Inator;
import io.cattle.platform.inator.InatorC... | rancherio/cattle | modules/caas/backend/src/main/java/io/cattle/platform/inator/unit/PortUnit.java | Java | apache-2.0 | 6,187 |
package com.ctrip.zeus.auth.impl;
import com.ctrip.zeus.auth.util.AuthUserUtil;
import com.ctrip.zeus.auth.util.AuthUtil;
import com.ctrip.zeus.util.MessageUtil;
import com.netflix.config.DynamicPropertyFactory;
import org.jasig.cas.client.util.AbstractCasFilter;
import org.jasig.cas.client.validation.Assertion... | sdgdsffdsfff/zeus | slb/src/main/java/com/ctrip/zeus/auth/impl/IPAuthenticationFilter.java | Java | apache-2.0 | 4,654 |
package com.clarkparsia.pellet.datatypes.types.real;
import edu.javax.xml.bind.DatatypeConverter;
import org.mindswap.pellet.utils.ATermUtils;
import org.mindswap.pellet.utils.Namespaces;
import com.clarkparsia.pellet.datatypes.exceptions.InvalidLiteralException;
/**
* <p>
* Title: <code>xsd:short</code>
* </p>
... | edlectrico/Pellet4Android | src/com/clarkparsia/pellet/datatypes/types/real/XSDShort.java | Java | apache-2.0 | 1,329 |
/*
$Id: $
@file AjaxHelperMapImpl.java
@brief Contains the AjaxHelperMapImpl.java class
@author Rahul Singh [rsingh]
Copyright (c) 2013, Distelli Inc., All Rights Reserved.
*/
package com.distelli.europa.guice;
import java.util.Map;
import java.util.Set;
import javax.inject.Inject;
import javax.inject.Singl... | Distelli/europa | src/main/java/com/distelli/europa/guice/AjaxHelperMapImpl.java | Java | apache-2.0 | 1,582 |
package org.marketcetera.photon.ui.databinding;
import java.util.Collections;
import org.apache.commons.lang.StringUtils;
import org.marketcetera.photon.commons.databinding.ITypedObservableValue;
import org.marketcetera.photon.commons.databinding.TypedObservableValueDecorator;
import org.marketcetera.trade.Equ... | nagyist/marketcetera | trunk/photon/plugins/org.marketcetera.photon/src/main/java/org/marketcetera/photon/ui/databinding/EquityObservable.java | Java | apache-2.0 | 2,105 |
package org.aksw.mlbenchmark.languages;
/**
* Framework values specific to owl
*/
public class OwlLanguageInfo extends LanguageInfoBase {
@Override
public String exampleExtension() {
return ".txt";
}
}
| AKSW/SML-Bench | src/main/java/org/aksw/mlbenchmark/languages/OwlLanguageInfo.java | Java | apache-2.0 | 210 |
/**
* Simple financial systemic risk simulator for Java
* http://code.google.com/p/systemic-risk/
*
* Copyright (c) 2011, CIMNE and Gilbert Peffer.
* All rights reserved
*
* This software is open-source under the BSD license; see
* http://code.google.com/p/systemic-risk/wiki/SoftwareLicense
*/
pack... | gitwitcho/var-agent-model | simulator_utilities/src/info/financialecology/finance/utilities/datastruct/Datastore.java | Java | apache-2.0 | 5,290 |
package water.hive;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.security.token.delegation.DelegationTokenIdentifier;
import org.apache.hadoop.security.Credentials;
import org.apache.hadoop.security.UserGroupInformation;
import org.apache.hadoop.security.... | michalkurka/h2o-3 | h2o-hive/src/main/java/water/hive/HiveTokenGenerator.java | Java | apache-2.0 | 6,399 |
package org.ray.api.test;
import org.ray.api.Ray;
import org.ray.api.RayPyActor;
import org.ray.api.TestUtils;
import org.ray.runtime.context.WorkerContext;
import org.ray.runtime.object.NativeRayObject;
import org.ray.runtime.object.ObjectSerializer;
import org.testng.Assert;
import org.testng.annotations.Test;
publ... | ujvl/ray-ng | java/test/src/main/java/org/ray/api/test/RaySerializerTest.java | Java | apache-2.0 | 981 |
/*
Copyright 2008-2013 CNR-ISTI, http://isti.cnr.it
Institute of Information Science and Technologies
of the Italian National Research Council
See the NOTICE file distributed with this work for additional
information regarding copyright ownership
Licensed under the Apache License, Version 2.0 (the... | smulikHakipod/zb4osgi | zb4o-GUI-tester/src/main/java/org/persona/zigbee/tester/gui/Command.java | Java | apache-2.0 | 7,719 |
package net.bytebuddy.implementation.bind;
import net.bytebuddy.description.method.MethodDescription;
/**
* Implementation of an
* {@link net.bytebuddy.implementation.bind.MethodDelegationBinder.AmbiguityResolver}
* that resolves conflicting bindings by considering equality of a target method's internalName as an ... | CodingFabian/byte-buddy | byte-buddy-dep/src/main/java/net/bytebuddy/implementation/bind/MethodNameEqualityResolver.java | Java | apache-2.0 | 1,272 |
/*
* Copyright 2013 The Closure Compiler 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... | pauldraper/closure-compiler | test/com/google/javascript/jscomp/NewTypeInferenceES5OrLowerTest.java | Java | apache-2.0 | 413,768 |
package com.belling.admin.service;
import java.util.List;
import com.belling.admin.model.RolePermission;
import com.belling.base.service.BaseService;
/**
* 角色权限映射服务接口
*
* @author Sunny
*/
public interface RolePermissionService extends BaseService<RolePermission, Integer> {
/**
* 根据角色ID查询映射
* @param roleI... | butter-fly/belling-admin | src/main/java/com/belling/admin/service/RolePermissionService.java | Java | apache-2.0 | 935 |
/*
* Copyright (C) 2018 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... | MaTriXy/ExoPlayer | library/core/src/main/java/com/google/android/exoplayer2/analytics/DefaultAnalyticsListener.java | Java | apache-2.0 | 5,397 |
// 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.jetbrains.python.psi.search;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.QueryExecutorBase;
import com.intelli... | jk1/intellij-community | python/src/com/jetbrains/python/psi/search/PyInitReferenceSearchExecutor.java | Java | apache-2.0 | 2,095 |
/*
* Copyright 2014 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... | pkdevbox/spring-social-linkedin | spring-social-linkedin/src/main/java/org/springframework/social/linkedin/api/impl/json/UpdateContentMixin.java | Java | apache-2.0 | 1,483 |
/**
* 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-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/resourceplugin/fpga/FpgaDevice.java | Java | apache-2.0 | 3,672 |
/**
* Copyright (C) 2013 – 2017 SLUB Dresden & Avantgarde Labs GmbH (<code@dswarm.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/LICEN... | dswarm/dswarm | converter/src/main/java/org/dswarm/converter/flow/ObservableTripleReceiver.java | Java | apache-2.0 | 1,535 |
/*
* 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 ... | implydata/druid | integration-tests/src/test/java/org/apache/druid/tests/indexer/AbstractS3InputSourceParallelIndexTest.java | Java | apache-2.0 | 4,697 |
/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | mschenck/aurora | commons/src/main/java/org/apache/aurora/common/net/http/handlers/QuitHandler.java | Java | apache-2.0 | 2,198 |
/**
* 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... | punkhorn/camel-upstream | core/camel-management-api/src/main/java/org/apache/camel/api/management/mbean/RouteError.java | Java | apache-2.0 | 1,226 |
package org.apache.cassandra.io.sstable;
/*
*
* 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 ... | lvasselt/cassandra-shawn | test/unit/org/apache/cassandra/io/sstable/SSTableWriterTest.java | Java | apache-2.0 | 4,468 |
/*
* 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... | gsoundar/mambo-ec2-deploy | packages/tachyon-0.5.0/core/src/test/java/tachyon/UnderFileSystemTest.java | Java | apache-2.0 | 2,856 |
package javasmmr.zoowsome.models.animals;
public class Dolphin extends Aquatic {
public Dolphin(Integer nrOfLegs, String name,Integer avgSwimDepth, Water waterType) {
setNrOfLegs(nrOfLegs);
setName(name);
setAvgSwimDepth(avgSwimDepth);
setWaterType(waterType);
}
public Dolphin() {
this(new Integer(0),"... | JavaSummer/JavaMainRepo | Students/Pop P. Roxana/assignment3.1/src/javasmmr/zoowsome/models/animals/Dolphin.java | Java | apache-2.0 | 372 |
/*
* 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 ... | arenadata/ambari | ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AmbariPrivilegeResourceProvider.java | Java | apache-2.0 | 7,894 |
package org.xtuml.bp.mc.java;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
imp... | cortlandstarrett/bridgepoint | src/org.xtuml.bp.mc.java/src/org/xtuml/bp/mc/java/McJavaBuilder.java | Java | apache-2.0 | 16,498 |
/*
* Copyright 2014 Peter Heisig
*
* 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 l... | dpint/LicensesDialog | library/src/main/java/de/psdev/licensesdialog/licenses/CreativeCommonsAttributionShareAlike30Unported.java | Java | apache-2.0 | 1,505 |
package com.smartbear.ready.plugin.template.factories;
import com.eviware.soapui.model.ModelItem;
import com.eviware.soapui.plugins.auto.PluginResponseEditorView;
import com.eviware.soapui.support.editor.Editor;
import com.eviware.soapui.support.editor.views.AbstractXmlEditorView;
import com.eviware.soapui.support.edi... | olensmar/ready-api-plugin-template | src/main/java/com/smartbear/ready/plugin/template/factories/SampleResponseEditorView.java | Java | apache-2.0 | 1,092 |
/*
* Copyright 2019 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... | droolsjbpm/jbpm-console-ng | jbpm-wb-human-tasks/jbpm-wb-human-tasks-backend/src/main/java/org/jbpm/workbench/ht/backend/server/DataSetDefsBootstrap.java | Java | apache-2.0 | 4,017 |
/*
* Copyright (C) 2007 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... | 0359xiaodong/ControlAndroidDeviceFromPC | src/com/android/ddmlib/DdmPreferences.java | Java | apache-2.0 | 7,539 |
/**
* 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... | jack6215/StreamCQL | cql/src/main/java/com/huawei/streaming/cql/semanticanalyzer/analyzecontext/InsertOnlyAnalyzeContext.java | Java | apache-2.0 | 2,457 |
/*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* 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:... | ryoenji/libgdx | gdx/src/com/badlogic/gdx/graphics/g3d/utils/DefaultRenderableSorter.java | Java | apache-2.0 | 2,304 |
package com.jivesoftware.os.miru.stream.plugins.catwalk;
import com.google.common.base.Optional;
import com.jivesoftware.os.miru.api.MiruHost;
import com.jivesoftware.os.miru.api.MiruQueryServiceException;
import com.jivesoftware.os.miru.api.activity.MiruPartitionId;
import com.jivesoftware.os.miru.catwalk.shared.Catw... | jivesoftware/miru | miru-stream-plugins/src/main/java/com/jivesoftware/os/miru/stream/plugins/catwalk/CatwalkRemotePartition.java | Java | apache-2.0 | 1,988 |
/**
* Copyright (c) Istituto Nazionale di Fisica Nucleare, 2006-2014.
*
* 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 re... | ellert/voms-api-java | src/main/java/org/italiangrid/voms/error/VOMSValidationErrorMessage.java | Java | apache-2.0 | 3,203 |
/*
* 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 ... | Fabryprog/camel | platforms/spring-boot/components-starter/camel-avro-starter/src/main/java/org/apache/camel/component/avro/springboot/AvroComponentConfiguration.java | Java | apache-2.0 | 6,533 |
/**
* 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"); yo... | apache/geronimo | framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationInfo.java | Java | apache-2.0 | 3,694 |
/*
* Copyright 2013 The Error Prone 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 ... | google/error-prone | core/src/main/java/com/google/errorprone/bugpatterns/inject/AssistedInjectAndInjectOnSameConstructor.java | Java | apache-2.0 | 3,212 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ma... | apache/axis2-java | modules/kernel/test/org/apache/axis2/addressing/EndpointReferenceHelperTest.java | Java | apache-2.0 | 16,632 |
package org.jgroups.protocols;
import org.jgroups.*;
import org.jgroups.annotations.MBean;
import org.jgroups.annotations.ManagedAttribute;
import org.jgroups.annotations.ManagedOperation;
import org.jgroups.annotations.Property;
import org.jgroups.blocks.locking.AwaitInfo;
import org.jgroups.blocks.locking.LockInfo;
... | danberindei/JGroups | src/org/jgroups/protocols/Locking.java | Java | apache-2.0 | 50,639 |
/*
File: TestConfigurations.java ; This file is part of Twister.
Version: 2.003
Copyright (C) 2012-2013 , Luxoft
Authors: Andrei Costachi <acostachi@luxoft.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... | ctgriffiths/twister | plugins/TestCaseExecution/TestConfigurations.java | Java | apache-2.0 | 2,201 |
/*
* 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/main/java/org/gradle/initialization/DefaultJdkToolsInitializer.java | Java | apache-2.0 | 1,612 |
/* 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... | intrigus/jtransc | jtransc-rt/src/java/nio/charset/CharsetEncoder.java | Java | apache-2.0 | 23,146 |
/*
* 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 ... | DaanWillemsen/guacamole-client | extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-base/src/main/java/org/apache/guacamole/auth/jdbc/tunnel/ManagedInetGuacamoleSocket.java | Java | apache-2.0 | 2,418 |
/*
* Copyright 2003,2004 The Apache Software 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... | hugosato/apache-axis | src/org/apache/axis/management/Registrar.java | Java | apache-2.0 | 6,272 |
/**
* ÎļþÃû£ºMusic3.java
* ÏîÄ¿-°ü£ºJAVA±à³Ì˼Ïë - µÚ°ËÕÂ
* ×÷ÕߣºÕÅÎĵÏ
* ´´½¨ÈÕÆÚ£º2014-9-10
*/
package µÚ°ËÕÂ;
import java.util.Random;
/**
* @author ÕÅÎĵÏ
* ÀàÃû£ºMusic3
* Àà˵Ã÷£ºÁ·Ï° 6,7,8.
*/
enum Note
{
ºÃµÄ°É,¶î,¹þ¹þ;
}
class Instrument
{
void play(Note n)
{
System.out.println(... | 00wendi00/MyProject | W_eclipse2_1/JAVA编程思想/src/第八章/Music3.java | Java | apache-2.0 | 2,982 |
/*
* 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 ... | ascherbakoff/ignite | modules/core/src/main/java/org/apache/ignite/internal/util/ipc/loopback/IpcServerTcpEndpoint.java | Java | apache-2.0 | 5,549 |
/*
* Copyright 2015 - 2017 Atlarge Research Team,
* operating at Technische Universiteit Delft
* and Vrije Universiteit Amsterdam, the Netherlands.
*
* 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... | tudelft-atlarge/graphalytics | graphalytics-core/src/main/java/science/atlarge/graphalytics/util/io/EdgeListPropertyFilter.java | Java | apache-2.0 | 2,590 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | apache/tomcat | modules/openssl-java17/src/main/java/org/apache/tomcat/util/openssl/constants$5.java | Java | apache-2.0 | 3,205 |
/*
* 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... | eva-xuyen/excalibur | containerkit/logkit/src/main/java/org/apache/log/Priority.java | Java | apache-2.0 | 5,377 |
/**
* 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... | dlyle65535/metron | metron-platform/metron-common/src/main/java/org/apache/metron/common/configuration/EnrichmentConfigurations.java | Java | apache-2.0 | 2,122 |