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) 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... | zazi/dswarm | persistence/src/main/java/org/dswarm/persistence/model/internal/gdm/GDMModel.java | Java | apache-2.0 | 17,941 |
package org.wliu.marketo.soapui;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import org.apache.commons.codec.binary.Hex;
public class GenerateSignature {
public static void main(String[] args) {
try {
... | tigerliuwu/talenddemo | org.wliu.marketo/src/main/java/org/wliu/marketo/soapui/GenerateSignature.java | Java | apache-2.0 | 2,064 |
/*
* Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED
* 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://mindorks.com/license/apache-v2
*
* Unless required by applicable... | MindorksOpenSource/android-mvp-architecture | app/src/main/java/com/mindorks/framework/mvp/utils/KeyboardUtils.java | Java | apache-2.0 | 1,971 |
package ru.aveselov.lesson1.sort;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
/**
* Класс реализует интерфейс Sorter с методом sort(File source, File distance)
* который позволяет сортировать указанный файл в порядке возрастания длин строк
* @author Веселов Алексей
*/
public ... | CkimiHoK/JavaFromZeroToJunior | javalearning/Chapter3/src/main/java/ru/aveselov/lesson1/sort/FileSorter.java | Java | apache-2.0 | 9,497 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package pe.edu.upeu.util;
import java.util.Locale;
/**
*
* @author Intel
*/
public class ViewNameStartTilesUrlBasedViewResolver extends org.springbyexample.web.servlet.view.tiles2.TilesUrlBasedViewResolv... | diegofrank/Final-Proyect | src/java/pe/edu/upeu/util/ViewNameStartTilesUrlBasedViewResolver.java | Java | apache-2.0 | 725 |
/**
* Copyright (C) 2011 WRML.org <mark@wrml.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 by applic... | ZikFat/wrml-prototype | src/main/java/org/wrml/core/runtime/bootstrap/DocumentBootstrapSchema.java | Java | apache-2.0 | 2,169 |
/*
* Licensed to the University of California, Berkeley 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 no... | ooq/memory | core/src/main/java/tachyon/client/WriteType.java | Java | apache-2.0 | 2,429 |
/**
* This file is part of the Aerodrome package, and is subject to the
* terms and conditions defined in file 'LICENSE', which is part
* of this source code package.
*
* Copyright (c) 2016 All Rights Reserved, John T. Quinn III,
* <johnquinn3@gmail.com>
*
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITH... | SixArmDonkey/aerodrome-for-jet | src/main/java/com/buffalokiwi/aerodrome/jet/orders/ShipRequestRec.java | Java | apache-2.0 | 3,411 |
/*
* 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 ... | StrategyObject/fop | src/java/org/apache/fop/render/ps/PSImageHandlerGraphics2D.java | Java | apache-2.0 | 8,132 |
/*
* Copyright 2011 Google 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 by applicable ... | csripada/j2objc | translator/src/test/java/com/google/devtools/j2objc/translate/DestructorGeneratorTest.java | Java | apache-2.0 | 3,381 |
package ro.gov.ithub.infotranspub.tools.configurator.options;
import org.apache.commons.cli.Option;
import org.apache.commons.cli.Options;
import org.apache.commons.cli.OptionBuilder;
public abstract class BasicOption{
public BasicOption(){
}
public void addToOptionList(Options optionList){
if (hasLongOption... | kagix/infotranspub-backend | tools/configurator/src/main/java/ro/gov/ithub/infotranspub/tools/configurator/options/BasicOption.java | Java | apache-2.0 | 1,163 |
/*
* 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 ... | knoguchi/druid | core/src/main/java/org/apache/druid/math/expr/Parser.java | Java | apache-2.0 | 5,726 |
// 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... | Ardesco/selenium | java/server/src/org/openqa/selenium/grid/commands/CompletionCommand.java | Java | apache-2.0 | 6,789 |
/*
* 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... | retomerz/intellij-community | platform/analysis-impl/src/com/intellij/codeHighlighting/RainbowHighlighter.java | Java | apache-2.0 | 2,529 |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | dbmalkovsky/flowable-engine | modules/flowable-form-engine/src/main/java/org/flowable/form/engine/impl/FormDefinitionQueryImpl.java | Java | apache-2.0 | 11,120 |
/*******************************************************************************
* Copyright (c) 2015 Pivotal Software, Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies thi... | pecko/cft | org.eclipse.cft.server.core/src/org/eclipse/cft/server/core/internal/application/CloudZipApplicationArchive.java | Java | apache-2.0 | 1,522 |
/**
* 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"... | apache/geronimo | testsuite/deployment-testsuite/jca-cms-tests/jca-cms-ear/src/test/java/org/apache/geronimo/testsuite/jcacms/CmsTest.java | Java | apache-2.0 | 3,753 |
// ----------------------------------------------------------------------------
// Copyright 2006-2010, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you m... | neeph/OpenGTSFull | src/org/opengts/war/track/page/GroupInfo.java | Java | apache-2.0 | 46,997 |
package com.redhat.ceylon.compiler.java.language;
import javax.annotation.Generated;
import ceylon.language.Array;
import com.redhat.ceylon.compiler.java.Util;
import com.redhat.ceylon.compiler.java.metadata.Ceylon;
import com.redhat.ceylon.compiler.java.metadata.Class;
import com.redhat.ceylon.compiler.java.metadat... | unratito/ceylon.language | runtime/com/redhat/ceylon/compiler/java/language/BooleanArray.java | Java | apache-2.0 | 17,377 |
/*
* Copyright (c) 2009 - 2020 CaspersBox Web Services
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | cwsus/esolutions | eSolutionsSecurity/src/main/java/com/cws/esolutions/security/services/interfaces/IAccessControlService.java | Java | apache-2.0 | 3,212 |
package org.valuereporter.sla;
import org.joda.time.DateTime;
import org.springframework.jdbc.core.JdbcTemplate;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import static org.mockito.Mockito.mock;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTr... | altran/Valuereporter | src/test/java/org/valuereporter/sla/SlaDaoTest.java | Java | apache-2.0 | 979 |
package org.wildfly.extras.creaper.core.online.operations.admin;
import org.jboss.arquillian.container.test.api.ContainerController;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.arquillian.junit.InSequence;
import org.jboss.arquillian.test.api.ArquillianResource;
import org.junit.After;
import org.ju... | jmartisk/creaper | testsuite/standalone/src/test/java/org/wildfly/extras/creaper/core/online/operations/admin/ReloadWhenRestartRequiredTest.java | Java | apache-2.0 | 3,188 |
/*
* 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 ... | mattyb149/pdi-layout | pdi-layout-plugin/src/main/java/org/pentaho/community/di/api/LayoutProvider.java | Java | apache-2.0 | 1,076 |
package eu.dariah.de.colreg.pojo.converter.api;
import java.util.Locale;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import eu.dariah.de.colreg.model.Agent;
import eu.dariah.de.colreg.model.Collection;
import eu.dariah.de.colre... | tgradl/colreg | colreg-ui/src/main/java/eu/dariah/de/colreg/pojo/converter/api/ExtendedCollectionApiConverter.java | Java | apache-2.0 | 2,426 |
/*
* 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 ... | iveselovskiy/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/eviction/GridCacheConcurrentEvictionsSelfTest.java | Java | apache-2.0 | 5,318 |
/*
* 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")... | lucastheisen/apache-directory-server | installers-maven-plugin/src/main/java/org/apache/directory/server/installers/deb/DebTarget.java | Java | apache-2.0 | 1,407 |
package pl.pronux.sokker.data.sql.dto;
import java.sql.ResultSet;
import java.sql.SQLException;
import pl.pronux.sokker.model.Club;
import pl.pronux.sokker.model.Date;
public class ClubDto extends Club {
private ResultSet rs;
public ClubDto(ResultSet rs) {
this.rs = rs;
}
public Club getClub() throws SQLException... | levanhien8/SokkerViewer | src/main/java/pl/pronux/sokker/data/sql/dto/ClubDto.java | Java | apache-2.0 | 612 |
// 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.remoteServer.util;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.ui.Messages;
import com.intellij.openapi.util.Ref;... | mdanielwork/intellij-community | platform/remote-servers/impl/src/com/intellij/remoteServer/util/CloudGitApplicationRuntime.java | Java | apache-2.0 | 3,634 |
/*
* 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... | jean-merelis/keycloak | core/src/test/java/org/keycloak/SkeletonKeyTokenTest.java | Java | apache-2.0 | 4,717 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | nezihyigitbasi/presto | presto-main/src/test/java/com/facebook/presto/sql/planner/iterative/rule/TestPushTableWriteThroughUnion.java | Java | apache-2.0 | 2,740 |
/**
* Copyright 2013 Joan Zapata
*
* 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... | Zhangsongsong/GraduationPro | 毕业设计/code/android/QLBundle/src/org/ql/utils/adapter/BaseAdapterHelper.java | Java | apache-2.0 | 9,702 |
/**
* 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... | Overruler/retired-apache-sources | lucene-2.9.4/contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/SegTokenPair.java | Java | apache-2.0 | 2,624 |
/*
* 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/processors/odbc/odbc/OdbcUtils.java | Java | apache-2.0 | 8,750 |
/*
* Copyright 2014-2018 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 app... | codecentric/spring-boot-admin | spring-boot-admin-client/src/test/java/de/codecentric/boot/admin/client/registration/ApplicationTest.java | Java | apache-2.0 | 2,541 |
/**
* 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... | telefonicaid/fiware-cosmos-ambari | ambari-server/src/test/java/org/apache/ambari/server/controller/internal/VersioningPropertyProviderTest.java | Java | apache-2.0 | 6,212 |
package com.taotao.entity;
import java.util.Date;
public class TbItem {
private Long id;
private String title;
private String sellPoint;
private Long price;
private Integer num;
private String barcode;
private String image;
private Long cid;
private Byte status;
privat... | gaaraz/taotao | taotao-manager/taotao-manager-entity/src/main/java/com/taotao/entity/TbItem.java | Java | apache-2.0 | 1,988 |
/**
* 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... | jamesnetherton/camel | components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfGreeterMessageRouterTest.java | Java | apache-2.0 | 2,358 |
package org.apache.helix.controller.stages;
/*
* 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 ... | kongweihan/helix | helix-core/src/test/java/org/apache/helix/controller/stages/TestRebalancePipeline.java | Java | apache-2.0 | 16,594 |
/*
* 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... | nadundesilva/siddhi | modules/siddhi-core/src/test/java/org/wso2/siddhi/core/managment/PersistenceTestCase.java | Java | apache-2.0 | 40,519 |
package com.wistron.WiGallery;
import Utilities.CSStaticData;
public class ElementBase
{
protected float m_xrot = 0.0f;
protected float m_yrot = 0.0f;
protected float m_zrot = 0.0f;
protected float m_x_offset = 0.0f;
protected float m_y_offset = 0.0f;
protected float m_z_offset = 0.0f;
protected MEDIA_V... | hubert1002/WiCamera3D | src/com/wistron/WiGallery/ElementBase.java | Java | apache-2.0 | 2,562 |
/**
* 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/phoenix | phoenix-core/src/it/java/org/apache/phoenix/trace/BaseTracingTestIT.java | Java | apache-2.0 | 6,601 |
package org.deeplearning4j.zoo.model;
import lombok.NoArgsConstructor;
import org.deeplearning4j.nn.api.Model;
import org.deeplearning4j.nn.api.OptimizationAlgorithm;
import org.deeplearning4j.nn.conf.ComputationGraphConfiguration;
import org.deeplearning4j.nn.conf.ConvolutionMode;
import org.deeplearning4j.nn.conf.Ne... | kinbod/deeplearning4j | deeplearning4j-zoo/src/main/java/org/deeplearning4j/zoo/model/InceptionResNetV1.java | Java | apache-2.0 | 18,828 |
/*
* 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 ... | commoncrawl/nutch | src/java/org/apache/nutch/fetcher/FetchNode.java | Java | apache-2.0 | 1,699 |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | googleapis/google-api-java-client-services | clients/google-api-services-civicinfo/v2/1.31.0/com/google/api/services/civicinfo/v2/model/Source.java | Java | apache-2.0 | 2,662 |
package com.rs.utils;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.... | calvinlotsberg/OurScape | src/com/rs/utils/MusicHints.java | Java | apache-2.0 | 2,782 |
package xmu.swordbearer.audio.sender;
import xmu.swordbearer.audio.AudioConfig;
import android.media.AudioRecord;
import android.util.Log;
public class AudioRecorder implements Runnable {
String LOG = "Recorder ";
private boolean isRecording = false;
private AudioRecord audioRecord;
private static final int BU... | SwordBearer/Android-iLbc | Android-iLbc/src/xmu/swordbearer/audio/sender/AudioRecorder.java | Java | apache-2.0 | 1,994 |
/**
* 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... | kevinearls/camel | components/camel-stream/src/test/java/org/apache/camel/component/stream/SplitStreamFileTest.java | Java | apache-2.0 | 2,172 |
/*
* 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... | gingerwizard/elasticsearch | server/src/test/java/org/elasticsearch/action/search/TransportSearchActionTests.java | Java | apache-2.0 | 55,236 |
package php.runtime.memory.support.operation.array;
import php.runtime.Memory;
import php.runtime.common.HintType;
import php.runtime.env.Environment;
import php.runtime.env.TraceInfo;
import php.runtime.memory.ArrayMemory;
import php.runtime.memory.support.MemoryOperation;
import php.runtime.reflection.ParameterEntit... | jphp-compiler/jphp | jphp-runtime/src/php/runtime/memory/support/operation/array/DoubleArrayMemoryOperation.java | Java | apache-2.0 | 993 |
/*
* Copyright 2017 StreamSets 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... | rockmkd/datacollector | basic-lib/src/main/java/com/streamsets/pipeline/stage/origin/udp/MultithreadedUDPDSource.java | Java | apache-2.0 | 2,739 |
package nkp.pspValidator.shared;
import nkp.pspValidator.shared.engine.utils.UrnNbnResolverChecker;
import java.io.IOException;
import java.security.KeyManagementException;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
public class Main {
public static void main(String[]... | rzeh4n/psp-validator | sharedModule/src/main/java/nkp/pspValidator/shared/Main.java | Java | apache-2.0 | 1,773 |
/*
* Copyright (c) 2013-2017 Cinchapi 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 ... | dubex/concourse | concourse-plugin-core/src/main/java/com/cinchapi/concourse/server/plugin/RemoteMessage.java | Java | apache-2.0 | 2,120 |
/**
* 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/test/java/org/apache/ambari/server/state/ServicePropertiesTest.java | Java | apache-2.0 | 3,565 |
package es.tid.ipnms.datamodel.router;
import java.net.Inet4Address;
import es.tid.ipnms.datamodel.misc.AuthInfo;
public class RouterDesc {
/**ID for the router*/
protected String routerID;
/**Description of the physical Location */
private String phyDesc;
/**Addres for the configuration of ... | telefonicaid/netphony-gmpls-emulator | src/main/java/es/tid/ipnms/datamodel/router/RouterDesc.java | Java | apache-2.0 | 2,596 |
/**
* 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... | hyokun31/wisekb-management-platform | wisekb-shared/src/main/java/wisekb/shared/core/rest/Response.java | Java | apache-2.0 | 4,692 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache/kylin | stream-core/src/main/java/org/apache/kylin/stream/core/source/StreamingSourceConfig.java | Java | apache-2.0 | 3,395 |
/*
Derby - Class org.apache.derby.impl.sql.execute.rts.RealTableScanStatistics
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 th... | lpxz/grail-derby104 | java/engine/org/apache/derby/impl/sql/execute/rts/RealTableScanStatistics.java | Java | apache-2.0 | 7,666 |
package com.bumptech.glide.manager;
import com.bumptech.glide.request.Request;
import com.bumptech.glide.util.Util;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.WeakHashMap;
/**
* A class for tracking, canceling, and restarting in progress, ... | droidranger/xygapp | xyg-library/src/main/java/com/bumptech/glide/manager/RequestTracker.java | Java | apache-2.0 | 3,836 |
/*
* 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... | sdnwiselab/onos | protocols/ovsdb/rfc/src/main/java/org/onosproject/ovsdb/rfc/table/FlowTable.java | Java | apache-2.0 | 8,129 |
/*
* Autopsy Forensic Browser
*
* Copyright 2012 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> 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://ww... | esaunders/autopsy | Core/src/org/sleuthkit/autopsy/report/infrastructure/ReportWizardPanel1.java | Java | apache-2.0 | 4,193 |
// Copyright (C) 2016 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 ... | WANdisco/gerrit | java/com/google/gerrit/server/notedb/rebuild/PatchSetEvent.java | Java | apache-2.0 | 2,637 |
/*
* Copyright 2016 Naver Corp.
*
* 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 ... | andyspan/pinpoint | web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/stat/v1/HbaseTransactionDao.java | Java | apache-2.0 | 1,711 |
// 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... | argv0/cloudstack | server/src/com/cloud/baremetal/BareMetalResourceBase.java | Java | apache-2.0 | 20,971 |
/*
* 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")... | google-code/agimatec-validation | agimatec-jsr303/src/test/java/com/agimatec/validation/jsr303/example/Book.java | Java | apache-2.0 | 2,300 |
/*
* 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")... | asanka88/apache-synapse | modules/core/src/main/java/org/apache/synapse/config/xml/TemplateMediatorFactory.java | Java | apache-2.0 | 2,760 |
// Copyright 2017 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | bazelbuild/bazel | src/main/java/com/google/devtools/build/lib/skyframe/SkyFunctionEnvironmentForTesting.java | Java | apache-2.0 | 3,461 |
/**
* Copyright © 2012-2016 <a href="https://github.com/tlkzzz/jeesite">JeeSite</a> All rights reserved.
*/
package com.tlkzzz.jeesite.modules.cms.dao;
import com.tlkzzz.jeesite.common.persistence.CrudDao;
import com.tlkzzz.jeesite.common.persistence.annotation.MyBatisDao;
import com.tlkzzz.jeesite.modules.cms.... | tlkzzz/xpjfx | src/main/java/com/tlkzzz/jeesite/modules/cms/dao/CommentDao.java | Java | apache-2.0 | 474 |
/*
* 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-kinesis/src/main/java/com/amazonaws/services/kinesisfirehose/model/transform/S3DestinationConfigurationJsonUnmarshaller.java | Java | apache-2.0 | 4,595 |
/*
* 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-tools/spring-boot-loader-tools/src/test/java/org/springframework/boot/loader/tools/RepackagerTests.java | Java | apache-2.0 | 29,765 |
package com.zkhy.web.core.util;
import java.nio.charset.Charset;
import com.zkhy.web.presentation.common.form.LoginAuthenticationInfo;
import com.zkhy.fw.core.util.FWUtil;
public final class CommonUtil {
/**
* ディフォルト文字集(UTF-8)
*/
public static final Charset CHARSET_UTF8 = Charset.forName... | zhuxlfansen/zhuxlpro | foundation/src/com/zkhy/web/core/util/CommonUtil.java | Java | apache-2.0 | 730 |
/*
* Copyright (c) 2017 VMware Inc. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*
* 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/L... | uwieder/hiero | platform/src/main/java/org/hillview/utils/TestUtils.java | Java | apache-2.0 | 2,134 |
package net.finmath.marketdata.model.volatilities;
import java.time.LocalDate;
import java.util.Arrays;
import java.util.HashMap;
import net.finmath.marketdata.model.volatilities.VolatilitySurface.QuotingConvention;
/**
* A collection of option prices or implied volatilities for a given maturity.
*
* This object ... | finmath/finmath-lib | src/main/java8/net/finmath/marketdata/model/volatilities/OptionSmileData.java | Java | apache-2.0 | 1,962 |
package org.apache.lucene.search;
/**
* 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, Vers... | bighaidao/lucene | lucene-core/src/main/java/org/apache/lucene/search/PhrasePositions.java | Java | apache-2.0 | 3,069 |
/*
* Copyright (c) 2012 Jan Kotek
*
* 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... | ffjiao/mapdb | src/main/java/org/mapdb/Serializer.java | Java | apache-2.0 | 65,760 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.ml.action;
import org.elasticsearch.ResourceN... | nknize/elasticsearch | x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportDeleteCalendarEventAction.java | Java | apache-2.0 | 6,159 |
/**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unl... | stevenhva/InfoLearn_OpenOLAT | src/main/java/org/olat/core/util/xml/DefaultEntityResolver.java | Java | apache-2.0 | 1,929 |
/*
* 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 ... | tweise/incubator-beam | runners/flink/runner/src/main/java/org/apache/beam/runners/flink/translation/types/EncodedValueSerializer.java | Java | apache-2.0 | 2,853 |
package com.chatalytics.core.config;
import java.io.Serializable;
import java.util.List;
public interface ChatConfig extends Serializable {
/**
* @return A list of auth tokens to use for authentication
*/
List<String> getAuthTokens();
/**
* @return The base API URL for the chat input sour... | OpenChatAlytics/OpenChatAlytics | core/src/main/java/com/chatalytics/core/config/ChatConfig.java | Java | apache-2.0 | 817 |
/*
* Copyright 2014-2016 Open Networking Laboratory
*
* 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 applicab... | Shashikanth-Huawei/bmp | drivers/corsa/src/main/java/org/onosproject/drivers/corsa/CorsaPipelineV39.java | Java | apache-2.0 | 12,489 |
// 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.history.integration.patches;
import com.intellij.history.core.revisions.Difference;
import com.intellij.history.core.revisions.Revision;
import com.intellij... | msebire/intellij-community | platform/platform-tests/testSrc/com/intellij/history/integration/patches/PatchCreatorTest.java | Java | apache-2.0 | 4,373 |
package com.github.dockerjava.core.command;
import static com.github.dockerjava.Preconditions.checkNotNull;
import java.io.InputStream;
import org.apache.commons.lang.builder.ToStringBuilder;
import com.github.dockerjava.api.command.CreateImageCmd;
import com.github.dockerjava.api.command.CreateImageResponse;
/**
... | nfsantos/docker-java | src/main/java/com/github/dockerjava/core/command/CreateImageCmdImpl.java | Java | apache-2.0 | 2,098 |
/*
* 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... | liweinan0423/elasticsearch | core/src/main/java/org/elasticsearch/index/mapper/IpFieldMapper.java | Java | apache-2.0 | 13,826 |
package jabs;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.ThreadFactory;
/**
* An configuration specifies different ingredients of an
* instance of {@link jabs.Context} to be created.
*
* <p>
* Note that all of the specified classes to be used for the
* creation of the context are e... | CrispOSS/jabs | jabs-api/src/main/java/jabs/Configuration.java | Java | apache-2.0 | 2,866 |
package org.sagebionetworks.repo.model.annotation.v2.annotaitonvalidator;
import static org.junit.jupiter.api.Assertions.assertThrows;
import java.util.Arrays;
import java.util.Collections;
import org.junit.jupiter.api.Test;
import com.google.common.base.Strings;
public class StringValueListValidatorTest {
Strin... | Sage-Bionetworks/Synapse-Repository-Services | lib/models/src/test/java/org/sagebionetworks/repo/model/annotation/v2/annotaitonvalidator/StringValueListValidatorTest.java | Java | apache-2.0 | 1,920 |
package jetbrains.buildServer.deployer.agent.cargo;
import jetbrains.buildServer.agent.AgentBuildRunnerInfo;
import jetbrains.buildServer.agent.BuildAgentConfiguration;
import jetbrains.buildServer.deployer.common.DeployerRunnerConstants;
import org.jetbrains.annotations.NotNull;
class CargoDeployerRunnerInfo implem... | webner/teamcity-deployer-plugin | deploy-runner-agent/src/main/java/jetbrains/buildServer/deployer/agent/cargo/CargoDeployerRunnerInfo.java | Java | apache-2.0 | 592 |
/*
* Copyright 2002-2013 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... | qobel/esoguproject | spring-framework/spring-expression/src/test/java/org/springframework/expression/spel/spr10210/comp/B.java | Java | apache-2.0 | 858 |
package mireka.address.parser;
import static org.junit.Assert.*;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.text.ParseException;
import mireka.address.parser.Ipv4Parser.Ipv4;
import mireka.address.parser.base.CharScanner;
import org.junit.Test;
public class Ipv4ParserTest {
... | EwkaKurewka/mireka | test/mireka/address/parser/Ipv4ParserTest.java | Java | apache-2.0 | 1,346 |
package alien4cloud.tosca.parser;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
@AllArgsConstructor(suppressConstructorProperties = true)
public class ParsingResult<T> {
private T result;
private ParsingContext context;
public ParsingResult() {
}
/... | broly-git/alien4cloud | alien4cloud-tosca/src/main/java/alien4cloud/tosca/parser/ParsingResult.java | Java | apache-2.0 | 827 |
/*
* Copyright 2018 Yahoo Holdings, 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... | yahoo/athenz | libs/java/instance_provider/src/test/java/com/yahoo/athenz/instance/provider/impl/MockInstanceAWSLambdaProvider.java | Java | apache-2.0 | 1,608 |
/*
* 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 | components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanCustomListener.java | Java | apache-2.0 | 1,535 |
package org.modelmapper.functional.inherit;
import static org.testng.Assert.assertEquals;
import org.modelmapper.AbstractTest;
import org.modelmapper.PropertyMap;
import org.testng.annotations.Test;
@Test
public class MultipleInterfacesTest extends AbstractTest {
interface InterfaceA {
String getA();
voi... | jhalterman/modelmapper | core/src/test/java/org/modelmapper/functional/inherit/MultipleInterfacesTest.java | Java | apache-2.0 | 2,030 |
/*
* 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... | mhurne/aws-sdk-java | aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/model/UpdateReceiptRuleRequest.java | Java | apache-2.0 | 5,236 |
/*
* Copyright 2001-2008 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 re... | apache/juddi | juddi-core/src/main/java/org/apache/juddi/query/FindTModelByPublisherQuery.java | Java | apache-2.0 | 1,823 |
/**
* 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... | massakam/pulsar | pulsar-io/file/src/main/java/org/apache/pulsar/io/file/ProcessedFileThread.java | Java | apache-2.0 | 2,472 |
package water.api;
import hex.*;
import hex.DGLM.CaseMode;
import hex.DGLM.Family;
import hex.DGLM.GLMModel;
import hex.DGLM.GLMParams;
import hex.DGLM.GLMValidation;
import hex.DLSM.LSMSolver;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.text.DecimalFormat;
import java.util.*;... | janezhango/BigDataMachineLearning | src/main/java/water/api/GLMProgressPage.java | Java | apache-2.0 | 22,283 |
/*
* 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... | gchq/Gaffer | library/bitmap-library/src/main/java/uk/gov/gchq/gaffer/bitmap/serialisation/utils/RoaringBitmapUtils.java | Java | apache-2.0 | 6,071 |
/*
* Copyright (C) 2015 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... | yigit/dev-summit-architecture-demo | client/app/src/main/java/com/android/example/devsummit/archdemo/event/SubscriberPriority.java | Java | apache-2.0 | 792 |
package patterns.creational.factorymethod.example2;
class ConcreteFactory extends IAnimalFactory {
@Override
public IAnimal getAnimalType(String type) throws Exception {
switch (type) {
case "Duck":
return new Duck();
case "Tiger":
return new Tig... | codetplace/design-patterns-java | src/patterns/creational/factorymethod/example2/ConcreteFactory.java | Java | apache-2.0 | 456 |
/*
* 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 ... | shardingjdbc/sharding-jdbc | sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/core/datasource/ShardingDataSource.java | Java | apache-2.0 | 3,015 |
/*
* Copyright 2009-2015 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... | bradh/mrgeo | mrgeo-mapalgebra/mrgeo-mapalgebra-vector/src/test/java/org/mrgeo/rasterops/RandomSamplerTest.java | Java | apache-2.0 | 13,700 |