index int64 0 0 | repo_id stringlengths 9 205 | file_path stringlengths 31 246 | content stringlengths 1 12.2M | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/SavanConstants.java | /*
* Copyright 1999-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 ... | 6,300 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/MessageInitializer.java | /*
* Copyright 1999-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 ... | 6,301 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/SavanMessageContext.java | /*
* Copyright 1999-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 ... | 6,302 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/SavanException.java | /*
* Copyright 1999-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 ... | 6,303 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/filters/XPathBasedFilter.java | /*
* Copyright 1999-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 ... | 6,304 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/filters/EmptyFilter.java | /*
* Copyright 2004,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 required by ap... | 6,305 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/filters/Filter.java | /*
* Copyright 1999-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 ... | 6,306 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/configuration/ConfigurationManager.java | /*
* Copyright 1999-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 ... | 6,307 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/configuration/Protocol.java | /*
* Copyright 1999-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 ... | 6,308 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/configuration/FilterBean.java | /*
* Copyright 2004,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 required by ap... | 6,309 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/configuration/MappingRules.java | /*
* Copyright 1999-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 ... | 6,310 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/configuration/SubscriberBean.java | /*
* Copyright 2004,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 required by ap... | 6,311 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/publication/PublicationReport.java | /*
* Copyright 1999-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 ... | 6,312 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/publication | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/publication/client/PublicationClient.java | /*
* Copyright 1999-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 ... | 6,313 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/util/CommonUtil.java | /*
* Copyright 1999-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 ... | 6,314 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/util/UtilFactory.java | /*
* Copyright 1999-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 ... | 6,315 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/util/ProtocolManager.java | /*
* Copyright 1999-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 ... | 6,316 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/atom/Feed.java | package org.apache.savan.atom;
import org.apache.axiom.om.*;
import javax.xml.stream.XMLStreamException;
import java.io.OutputStream;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
public class Feed {
private String title;
private String id;
private Date lastUpdated... | 6,317 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/atom/AtomMessageReceiver.java | package org.apache.savan.atom;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMException;
import org.apache.axiom.soap.*;
import org.apache.axis2.AxisFault;
import org.apache.axis2.context.MessageContext;
import org.apache.axis2.engine.AxisEngine;
import... | 6,318 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/atom/AtomMessageReceiverDelegator.java | /*
* Copyright 1999-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 ... | 6,319 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/atom/AtomSubscriber.java | package org.apache.savan.atom;
import org.apache.axiom.om.OMElement;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.savan.SavanException;
import org.apache.savan.filters.Filter;
import org.apache.savan.subscribers.Subscriber;
import org.apache.savan.subscription.... | 6,320 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/atom/AtomSubscriptionProcessor.java | /*
* Copyright 1999-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 ... | 6,321 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/atom/AtomEventingClient.java | package org.apache.savan.atom;
import com.wso2.eventing.atom.CreateFeedDocument;
import com.wso2.eventing.atom.CreateFeedDocument.CreateFeed;
import com.wso2.eventing.atom.CreateFeedResponseDocument;
import com.wso2.eventing.atom.CreateFeedResponseDocument.CreateFeedResponse;
import com.wso2.eventing.atom.FilterType;
... | 6,322 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/atom/AtomUtilFactory.java | /*
* Copyright 1999-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 ... | 6,323 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/atom/AtomDataSource.java | package org.apache.savan.atom;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.impl.builder.StAXBuilder;
import org.apache.axiom.om.impl.builder.StAXOMBuilder;
import org.apache.axiom.om.util.StAXUtils;
import org.apache.axis2.context.MessageContext;
import org.apache.savan.SavanException;
import jav... | 6,324 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/atom/AtomConstants.java | package org.apache.savan.atom;
/** @author Srinath Perera(hemapani@apache.org) */
public class AtomConstants {
public static String ATOM_NAMESPACE = "http://www.w3.org/2005/Atom";
public static String ATOM_PREFIX = "atom";
public static String ATOM_MSG_NAMESPACE = "http://wso2.com/eventing/atom/";
pu... | 6,325 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/module/SavanModule.java | /*
* Copyright 1999-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 ... | 6,326 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/messagereceiver/SavanInOutMessageReceiver.java | /*
* Copyright 1999-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 ... | 6,327 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/messagereceiver/MessageReceiverDelegator.java | /*
* Copyright 1999-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 ... | 6,328 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/messagereceiver/PublishingMessageReceiver.java | package org.apache.savan.messagereceiver;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMException;
import org.apache.axiom.soap.SOAPEnvelope;
import org.apache.axis2.AxisFault;
import org.apache.axis2.context.MessageContext;
import org.apache.axis2.context.ServiceContext;
import org.apache.axis2.e... | 6,329 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/messagereceiver/SavanInOnlyMessageReceiver.java | /*
* Copyright 1999-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 ... | 6,330 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/storage/SubscriberStore.java | /*
* Copyright 2004,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 required by ap... | 6,331 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/storage/DefaultSubscriberStore.java | /*
* Copyright 1999-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 ... | 6,332 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/subscription/RenewBean.java | /*
* Copyright 1999-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 ... | 6,333 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/subscription/ExpirationBean.java | /*
* Copyright 1999-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 ... | 6,334 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/subscription/SubscriptionProcessor.java | /*
* Copyright 1999-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 ... | 6,335 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/subscribers/Subscriber.java | /*
* Copyright 1999-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 ... | 6,336 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/subscribers/SubscriberGroup.java | /*
* Copyright 1999-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 ... | 6,337 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing/EventingSubscriptionProcessor.java | /*
* Copyright 1999-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 ... | 6,338 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing/EventingMessageReceiverDelegator.java | /*
* Copyright 1999-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 ... | 6,339 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing/Delivery.java | /*
* Copyright 1999-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 ... | 6,340 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing/EventingUtilFactory.java | /*
* Copyright 1999-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 ... | 6,341 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing/EventingConstants.java | /*
* Copyright 1999-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 ... | 6,342 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing/subscribers/EventingSubscriber.java | /*
* Copyright 2004,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 required by ap... | 6,343 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing/client/SubscriptionStatus.java | /*
* Copyright 2004,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 required by applicable ... | 6,344 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing/client/EventingClientBean.java | /*
* Copyright 1999-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 ... | 6,345 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing/client/SubscriptionResponseData.java | /*
* Copyright 1999-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 ... | 6,346 |
0 | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing | Create_ds/axis-axis2-java-savan/modules/core/src/main/java/org/apache/savan/eventing/client/EventingClient.java | /*
* Copyright 1999-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 ... | 6,347 |
0 | Create_ds/axis-axis2-java-savan/modules/samples/eventing/src/sample | Create_ds/axis-axis2-java-savan/modules/samples/eventing/src/sample/eventing/Client.java | /*
* Copyright 2004,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 required by ap... | 6,348 |
0 | Create_ds/axis-axis2-java-savan/modules/samples/eventing/src/sample | Create_ds/axis-axis2-java-savan/modules/samples/eventing/src/sample/eventing/ListenerService2.java | /*
* Copyright 2004,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 required by ap... | 6,349 |
0 | Create_ds/axis-axis2-java-savan/modules/samples/eventing/src/sample | Create_ds/axis-axis2-java-savan/modules/samples/eventing/src/sample/eventing/PublisherService.java | /*
* Copyright 2004,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 required by ap... | 6,350 |
0 | Create_ds/axis-axis2-java-savan/modules/samples/eventing/src/sample | Create_ds/axis-axis2-java-savan/modules/samples/eventing/src/sample/eventing/ListenerService1.java | /*
* Copyright 2004,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 required by ap... | 6,351 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/ApplicationTest.java | package com.paypal.heapdumptool;
import com.paypal.heapdumptool.Application.VersionProvider;
import com.paypal.heapdumptool.capture.PrivilegeEscalator;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.MockedStatic;
import org.springframework.boot.test.system.Capt... | 6,352 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/ApplicationTestSupport.java | package com.paypal.heapdumptool;
import com.paypal.heapdumptool.capture.PrivilegeEscalator;
import org.apache.commons.lang3.mutable.MutableInt;
import org.mockito.MockedStatic;
import static com.paypal.heapdumptool.capture.PrivilegeEscalator.Escalation.PRIVILEGED_ALREADY;
import static com.paypal.heapdumptool.fixture... | 6,353 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/capture/CaptureCommandTest.java | package com.paypal.heapdumptool.capture;
import com.paypal.heapdumptool.sanitizer.DataSize;
import org.junit.jupiter.api.Test;
import org.meanbean.test.BeanVerifier;
import static org.assertj.core.api.Assertions.assertThat;
public class CaptureCommandTest {
@Test
public void testBean() {
BeanVerifie... | 6,354 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/capture/CaptureStreamFactoryTest.java | package com.paypal.heapdumptool.capture;
import com.paypal.heapdumptool.sanitizer.SanitizeCommand;
import org.apache.commons.compress.utils.IOUtils;
import org.apache.commons.io.output.CloseShieldOutputStream;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.DynamicTest;
import org.junit.jupiter.ap... | 6,355 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/capture/PrivilegeEscalatorTest.java | package com.paypal.heapdumptool.capture;
import com.google.common.io.Closer;
import com.paypal.heapdumptool.fixture.ConstructorTester;
import com.paypal.heapdumptool.fixture.ResourceTool;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.juni... | 6,356 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/capture/CaptureCommandProcessorTest.java | package com.paypal.heapdumptool.capture;
import com.paypal.heapdumptool.fixture.ResourceTool;
import com.paypal.heapdumptool.sanitizer.SanitizeCommandProcessor;
import com.paypal.heapdumptool.utils.ProcessTool;
import com.paypal.heapdumptool.utils.ProcessTool.ProcessResult;
import org.apache.commons.io.input.NullInput... | 6,357 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/fixture/ResourceTool.java | package com.paypal.heapdumptool.fixture;
import org.apache.commons.io.IOUtils;
import java.io.IOException;
import static java.nio.charset.StandardCharsets.UTF_8;
public class ResourceTool {
public static String contentOf(final Class<?> testClass, final String resourceName) throws IOException {
final St... | 6,358 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/fixture/ByteArrayTool.java | package com.paypal.heapdumptool.fixture;
import com.paypal.heapdumptool.sanitizer.DataSize;
import java.nio.ByteBuffer;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
public class ByteArrayTool {
public static int countOfSequence(final byte[] big, final byte[] small) {
int count = 0;... | 6,359 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/fixture/MockitoTool.java | package com.paypal.heapdumptool.fixture;
import org.mockito.MockedConstruction;
import org.mockito.stubbing.Answer;
import java.util.concurrent.Callable;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
public class MockitoTool {
/**
* For more conveniently... | 6,360 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/fixture/ConstructorTester.java | package com.paypal.heapdumptool.fixture;
import java.lang.reflect.Constructor;
import static org.assertj.core.api.Assertions.assertThatCode;
public class ConstructorTester {
public static void test(final Class<?> clazz) throws Exception {
final Constructor<?> constructor = clazz.getDeclaredConstructor()... | 6,361 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/fixture/HeapDumper.java | package com.paypal.heapdumptool.fixture;
import javax.management.MBeanServer;
import java.lang.management.ManagementFactory;
import java.lang.reflect.Method;
import java.nio.file.Path;
public class HeapDumper {
private static final String CLASS_NAME = "com.sun.management.HotSpotDiagnosticMXBean";
private s... | 6,362 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/sanitizer/BasicTypeTest.java | package com.paypal.heapdumptool.sanitizer;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.EnumSource;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentExcepti... | 6,363 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/sanitizer/HeapDumpSanitizerTest.java | package com.paypal.heapdumptool.sanitizer;
import com.paypal.heapdumptool.fixture.HeapDumper;
import com.paypal.heapdumptool.fixture.ResourceTool;
import com.paypal.heapdumptool.sanitizer.example.ClassWithManyInstanceFields;
import com.paypal.heapdumptool.sanitizer.example.ClassWithManyStaticFields;
import org.junit.j... | 6,364 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/sanitizer/SanitizeCommandProcessorTest.java | package com.paypal.heapdumptool.sanitizer;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.MockedConstruction;
import java.io.IOException;
import java.nio.file.Paths;
import static com.paypal.heapdumptool.fixture.MockitoTool.firstInstance;
import static com.paypal.heapd... | 6,365 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/sanitizer/PipeTest.java | package com.paypal.heapdumptool.sanitizer;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.concurrent.atomic.AtomicLong;
import static java.nio.charset.StandardCharsets... | 6,366 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/sanitizer/DataSizeTests.java | /*
* Copyright 2002-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... | 6,367 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/sanitizer/SanitizeStreamFactoryTest.java | package com.paypal.heapdumptool.sanitizer;
import com.paypal.heapdumptool.fixture.ResourceTool;
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
i... | 6,368 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/sanitizer/SanitizeCommandTest.java | package com.paypal.heapdumptool.sanitizer;
import org.junit.jupiter.api.Test;
import org.meanbean.test.BeanVerifier;
import static com.paypal.heapdumptool.sanitizer.DataSize.ofMegabytes;
import static org.assertj.core.api.Assertions.assertThat;
public class SanitizeCommandTest {
@Test
public void testBean()... | 6,369 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/sanitizer | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/sanitizer/example/ClassWithManyStaticFields.java | package com.paypal.heapdumptool.sanitizer.example;
public class ClassWithManyStaticFields {
public static long l0 = 0xCAFEBABE;
public static long l1 = 0xCAFEBABE;
public static long l2 = 0xCAFEBABE;
public static long l3 = 0xCAFEBABE;
public static long l4 = 0xCAFEBABE;
public static long l5 ... | 6,370 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/sanitizer | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/sanitizer/example/ClassWithManyInstanceFields.java | package com.paypal.heapdumptool.sanitizer.example;
public class ClassWithManyInstanceFields {
public long l0 = 0xDEADBEEF;
public long l1 = 0xDEADBEEF;
public long l2 = 0xDEADBEEF;
public long l3 = 0xDEADBEEF;
public long l4 = 0xDEADBEEF;
public long l5 = 0xDEADBEEF;
public long l6 = 0xDEA... | 6,371 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/hserr/SanitizeHserrCommandProcessorTest.java | package com.paypal.heapdumptool.hserr;
import com.paypal.heapdumptool.fixture.ResourceTool;
import com.paypal.heapdumptool.sanitizer.SanitizeStreamFactory;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java... | 6,372 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/hserr/SanitizeHserrCommandTest.java | package com.paypal.heapdumptool.hserr;
import org.junit.jupiter.api.Test;
import org.meanbean.test.BeanVerifier;
import static org.assertj.core.api.Assertions.assertThat;
public class SanitizeHserrCommandTest {
@Test
public void testBean() {
BeanVerifier.forClass(SanitizeHserrCommand.class)
... | 6,373 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/utils/ProgressMonitorTest.java | package com.paypal.heapdumptool.utils;
import org.apache.commons.io.IOUtils;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.test.system.CapturedOutput;
import org.springframework.boot.test.sy... | 6,374 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/utils/DateTimeToolTest.java | package com.paypal.heapdumptool.utils;
import org.junit.jupiter.api.Test;
import java.time.Instant;
import static com.paypal.heapdumptool.utils.DateTimeTool.getFriendlyDuration;
import static org.assertj.core.api.Assertions.assertThat;
public class DateTimeToolTest {
@Test
public void testFriendlyDuration(... | 6,375 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/utils/ProcessToolTest.java | package com.paypal.heapdumptool.utils;
import com.paypal.heapdumptool.fixture.ConstructorTester;
import com.paypal.heapdumptool.utils.ProcessTool.ProcessResult;
import org.apache.commons.io.input.BrokenInputStream;
import org.junit.jupiter.api.Test;
import java.io.UncheckedIOException;
import static org.assertj.core... | 6,376 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/utils/CallableToolTest.java | package com.paypal.heapdumptool.utils;
import com.paypal.heapdumptool.fixture.ConstructorTester;
import org.junit.jupiter.api.DynamicTest;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestFactory;
import static com.paypal.heapdumptool.utils.CallableTool.callQuietlyWithDefault;
import static java.ut... | 6,377 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/cli/CliBootstrapTest.java | package com.paypal.heapdumptool.cli;
import com.paypal.heapdumptool.fixture.ConstructorTester;
import org.apache.commons.lang3.reflect.ConstructorUtils;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.MockedStatic;
import java.lang.reflect.InvocationTargetException;
imp... | 6,378 |
0 | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/test/java/com/paypal/heapdumptool/cli/CliCommandTest.java | package com.paypal.heapdumptool.cli;
import org.junit.jupiter.api.Test;
import org.mockito.MockedStatic;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.doCallRealMethod;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.mockStatic;
public class CliCommandTes... | 6,379 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/Application.java | package com.paypal.heapdumptool;
import com.paypal.heapdumptool.Application.VersionProvider;
import com.paypal.heapdumptool.capture.CaptureCommand;
import com.paypal.heapdumptool.capture.PrivilegeEscalator.Escalation;
import com.paypal.heapdumptool.hserr.SanitizeHserrCommand;
import com.paypal.heapdumptool.sanitizer.D... | 6,380 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/capture/CaptureStreamFactory.java | package com.paypal.heapdumptool.capture;
import com.paypal.heapdumptool.sanitizer.SanitizeCommand;
import com.paypal.heapdumptool.sanitizer.SanitizeStreamFactory;
import org.apache.commons.io.output.CloseShieldOutputStream;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.... | 6,381 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/capture/PrivilegeEscalator.java | package com.paypal.heapdumptool.capture;
import com.paypal.heapdumptool.utils.ProcessTool;
import com.paypal.heapdumptool.utils.ProcessTool.ProcessResult;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.text.StringSubstitutor;
import java.nio.file.Files;
import java.nio.file.Path;
import java.n... | 6,382 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/capture/CaptureCommandProcessor.java | package com.paypal.heapdumptool.capture;
import com.paypal.heapdumptool.cli.CliCommandProcessor;
import com.paypal.heapdumptool.sanitizer.SanitizeCommand;
import com.paypal.heapdumptool.sanitizer.SanitizeCommandProcessor;
import com.paypal.heapdumptool.utils.ProcessTool;
import com.paypal.heapdumptool.utils.ProcessToo... | 6,383 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/capture/CaptureCommand.java | package com.paypal.heapdumptool.capture;
import com.paypal.heapdumptool.cli.CliCommand;
import com.paypal.heapdumptool.sanitizer.DataSize;
import org.apache.commons.text.StringEscapeUtils;
import picocli.CommandLine.Command;
import picocli.CommandLine.Option;
import picocli.CommandLine.Parameters;
import static com.p... | 6,384 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/sanitizer/SanitizeCommandProcessor.java | package com.paypal.heapdumptool.sanitizer;
import com.paypal.heapdumptool.cli.CliCommandProcessor;
import org.apache.commons.lang3.Validate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.InputStream;
import java.io.OutputStream;
import java.time.Instant;
import static com.paypal.heapdumptoo... | 6,385 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/sanitizer/HeapDumpSanitizer.java | package com.paypal.heapdumptool.sanitizer;
import com.paypal.heapdumptool.utils.ProgressMonitor;
import org.apache.commons.io.input.InfiniteCircularInputStream;
import org.apache.commons.lang3.Validate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.io.InputStream;
im... | 6,386 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/sanitizer/DataUnit.java | /*
* Copyright 2002-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... | 6,387 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/sanitizer/DataSize.java | /*
* Copyright 2002-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... | 6,388 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/sanitizer/SanitizeCommand.java | package com.paypal.heapdumptool.sanitizer;
import com.paypal.heapdumptool.cli.CliCommand;
import org.apache.commons.text.StringEscapeUtils;
import picocli.CommandLine.Command;
import picocli.CommandLine.Option;
import picocli.CommandLine.Parameters;
import java.nio.file.Path;
import static com.paypal.heapdumptool.sa... | 6,389 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/sanitizer/Pipe.java | package com.paypal.heapdumptool.sanitizer;
import com.paypal.heapdumptool.utils.ProgressMonitor;
import org.apache.commons.io.IOUtils;
import org.apache.commons.io.input.BoundedInputStream;
import org.apache.commons.lang3.Validate;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOExce... | 6,390 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/sanitizer/BasicType.java | package com.paypal.heapdumptool.sanitizer;
import java.util.Optional;
import java.util.stream.Stream;
public enum BasicType {
OBJECT(2),
BOOLEAN(4),
CHAR(5),
FLOAT(6),
DOUBLE(7),
BYTE(8),
SHORT(9),
INT(10),
LONG(11);
private final int u1Code;
public static int findValueSi... | 6,391 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/sanitizer/SanitizeStreamFactory.java | package com.paypal.heapdumptool.sanitizer;
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.Validate;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.IOException;
import java.io.... | 6,392 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/hserr/SanitizeHserrCommandProcessor.java | package com.paypal.heapdumptool.hserr;
import com.paypal.heapdumptool.cli.CliCommandProcessor;
import com.paypal.heapdumptool.sanitizer.SanitizeCommand;
import com.paypal.heapdumptool.sanitizer.SanitizeStreamFactory;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Lo... | 6,393 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/hserr/SanitizeHserrCommand.java | package com.paypal.heapdumptool.hserr;
import com.paypal.heapdumptool.cli.CliCommand;
import picocli.CommandLine.Command;
import picocli.CommandLine.Parameters;
import java.nio.file.Path;
import static org.apache.commons.lang3.builder.ToStringBuilder.reflectionToString;
import static org.apache.commons.lang3.builder... | 6,394 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/utils/ProcessTool.java | package com.paypal.heapdumptool.utils;
import org.apache.commons.io.IOUtils;
import java.io.IOException;
import java.io.InputStream;
import java.io.UncheckedIOException;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.Future;
import static java.nio.charset.StandardCharsets.UTF_8;
import s... | 6,395 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/utils/ProgressMonitor.java | package com.paypal.heapdumptool.utils;
import com.paypal.heapdumptool.sanitizer.DataSize;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.input.CountingInputStream;
import org.apache.commons.io.output.CountingOutputStream;
import org.apache.commons.lang3.mutable.MutableLong;
import org.slf4j.Logge... | 6,396 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/utils/DateTimeTool.java | package com.paypal.heapdumptool.utils;
import java.time.Duration;
import java.time.Instant;
import static java.time.temporal.ChronoUnit.SECONDS;
import static java.util.Locale.ENGLISH;
public class DateTimeTool {
public static String getFriendlyDuration(final Instant start) {
final Instant startSeconds ... | 6,397 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/utils/CallableTool.java | package com.paypal.heapdumptool.utils;
import java.util.concurrent.Callable;
public class CallableTool {
public static <T> T callQuietlyWithDefault(final T defaultValue, final Callable<T> callable) {
try {
return callable.call();
} catch (final Exception ignore) {
return d... | 6,398 |
0 | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool | Create_ds/heap-dump-tool/src/main/java/com/paypal/heapdumptool/cli/CliBootstrap.java | package com.paypal.heapdumptool.cli;
import com.paypal.heapdumptool.Application.VersionProvider;
import org.apache.commons.lang3.exception.ExceptionUtils;
import java.lang.reflect.InvocationTargetException;
import static org.apache.commons.lang3.reflect.ConstructorUtils.invokeConstructor;
public class CliBootstrap ... | 6,399 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.