index int64 0 0 | repo_id stringlengths 26 205 | file_path stringlengths 51 246 | content stringlengths 8 433k | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation/templates | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation/templates/editor/TemplateDocument.java | /*
* Copyright 2017 Amazon Technologies, 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://aws.amazon.com/apache2.0
*
* This file is distributed on an "AS IS" BASIS... | 8,100 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation/templates | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation/templates/editor/TemplateContentOutlinePage.java | /*
* Copyright 2012 Amazon Technologies, 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://aws.amazon.com/apache2.0
*
* This file is distributed on an "AS IS" BASIS... | 8,101 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation/templates | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation/templates/editor/TemplateReconcilingStrategy.java | /*
* Copyright 2012 Amazon Technologies, 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://aws.amazon.com/apache2.0
*
* This file is distributed on an "AS IS" BASIS... | 8,102 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation/templates | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation/templates/editor/TemplateScanner.java | /*
* Copyright 2012 Amazon Technologies, 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://aws.amazon.com/apache2.0
*
* This file is distributed on an "AS IS" BASIS... | 8,103 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation/templates | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation/templates/editor/TemplateEditor.java | /*
* Copyright 2012 Amazon Technologies, 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://aws.amazon.com/apache2.0
*
* This file is distributed on an "AS IS" BASIS... | 8,104 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation/templates | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation/templates/editor/DocumentUtils.java | /*
* Copyright 2013 Amazon Technologies, 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://aws.amazon.com/apache2.0
*
* This file is distributed on an "AS IS" BASIS... | 8,105 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.cloudformation/src/com/amazonaws/eclipse/cloudformation/validators/TemplateParameterValidators.java | /*
* Copyright 2017 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 "license" ... | 8,106 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/UrlConstants.java | package com.amazonaws.eclipse.opsworks;
import com.amazonaws.eclipse.core.ui.WebLinkListener;
public class UrlConstants {
public static final String OPSWORKS_CONSOLE_URL = "http://console.aws.amazon.com/opsworks";
public static final WebLinkListener webLinkListener = new WebLinkListener();
}
| 8,107 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/ServiceAPIUtils.java | package com.amazonaws.eclipse.opsworks;
import java.util.LinkedList;
import java.util.List;
import com.amazonaws.services.opsworks.AWSOpsWorks;
import com.amazonaws.services.opsworks.model.App;
import com.amazonaws.services.opsworks.model.DescribeAppsRequest;
import com.amazonaws.services.opsworks.model.DescribeInsta... | 8,108 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/OpsWorksPlugin.java | package com.amazonaws.eclipse.opsworks;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.ui.IStartup;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.eclipse.ui.statushandlers.StatusManager;
import org.osgi.fr... | 8,109 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/handler/DeployProjectToOpsworksHandler.java | /*
* Copyright 2010-2012 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... | 8,110 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/util/WTPWarUtils.java | /*
* Copyright 2010-2012 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... | 8,111 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/util/ZipUtils.java | package com.amazonaws.eclipse.opsworks.deploy.util;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import java.util.zip.ZipOutputStream;
import org.apache.commons.io.IOUtils;
public... | 8,112 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/util/DeployUtils.java | package com.amazonaws.eclipse.opsworks.deploy.util;
import java.io.File;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;
import java.util.UUID;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.Path;
import co... | 8,113 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard/DeployProjectToOpsworksWizard.java | /*
* Copyright 2010-2012 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... | 8,114 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard/page/ExistingAppConfigurationReviewComposite.java | package com.amazonaws.eclipse.opsworks.deploy.wizard.page;
import static com.amazonaws.eclipse.core.ui.wizards.WizardWidgetFactory.newFillingLabel;
import static com.amazonaws.eclipse.core.ui.wizards.WizardWidgetFactory.newGroup;
import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.swt.SWT;
import org... | 8,115 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard/page/WizardPageWithOnEnterHook.java | package com.amazonaws.eclipse.opsworks.deploy.wizard.page;
import org.eclipse.jface.wizard.IWizardPage;
import org.eclipse.jface.wizard.WizardPage;
/**
* To emulate onEnter event for JFace wizard page.
* http://www.eclipse.org/forums/index.php/t/88927/
*/
abstract class WizardPageWithOnEnterHook extends WizardPage... | 8,116 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard/page/NewAppConfigurationComposite.java | package com.amazonaws.eclipse.opsworks.deploy.wizard.page;
import static com.amazonaws.eclipse.core.ui.wizards.WizardWidgetFactory.newCheckbox;
import static com.amazonaws.eclipse.core.ui.wizards.WizardWidgetFactory.newCombo;
import static com.amazonaws.eclipse.core.ui.wizards.WizardWidgetFactory.newControlDecoration;... | 8,117 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard/page/AppConfigurationPage.java | package com.amazonaws.eclipse.opsworks.deploy.wizard.page;
import org.eclipse.core.databinding.AggregateValidationStatus;
import org.eclipse.core.databinding.observable.ChangeEvent;
import org.eclipse.core.databinding.observable.IChangeListener;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.swt.SWT;
impo... | 8,118 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard/page/DeploymentActionConfigurationPage.java | package com.amazonaws.eclipse.opsworks.deploy.wizard.page;
import static com.amazonaws.eclipse.core.ui.wizards.WizardWidgetFactory.newControlDecoration;
import static com.amazonaws.eclipse.core.ui.wizards.WizardWidgetFactory.newFillingLabel;
import org.eclipse.core.databinding.AggregateValidationStatus;
import org.ec... | 8,119 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard/page/TargetAppSelectionPage.java | package com.amazonaws.eclipse.opsworks.deploy.wizard.page;
import static com.amazonaws.eclipse.core.ui.wizards.WizardWidgetFactory.newCombo;
import static com.amazonaws.eclipse.core.ui.wizards.WizardWidgetFactory.newControlDecoration;
import static com.amazonaws.eclipse.core.ui.wizards.WizardWidgetFactory.newFillingLa... | 8,120 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard/model/DeployProjectToOpsworksWizardDataModel.java | package com.amazonaws.eclipse.opsworks.deploy.wizard.model;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import org.eclipse.core.resources.IProject;
import com.amazonaws.eclipse.core.regions.Region;
import com.amazonaws.services.opsworks.model.App;
import com.amazonaws.services.o... | 8,121 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/deploy/wizard/model/S3ApplicationSource.java | package com.amazonaws.eclipse.opsworks.deploy.wizard.model;
import com.amazonaws.regions.Region;
import com.amazonaws.regions.RegionUtils;
import com.amazonaws.services.opsworks.model.Source;
import com.amazonaws.services.opsworks.model.SourceType;
import com.amazonaws.services.s3.AmazonS3URI;
import com.amazonaws.uti... | 8,122 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer/ExplorerNodeDecorator.java | /*
* Copyright 2011-2012 Amazon Technologies, 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://aws.amazon.com/apache2.0
*
* This file is distributed on an "AS IS" ... | 8,123 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer/OpsWorksActionProvider.java | package com.amazonaws.eclipse.opsworks.explorer;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.ui.navigator.CommonActionProvider;
public class OpsWorksActionProvider extends CommonActionProvider {
@Override
public void fillContextMenu(IMenuManager menu) {
}
}
| 8,124 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer/OpsWorksContentProvider.java | package com.amazonaws.eclipse.opsworks.explorer;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import org.eclipse.jface.viewers.IOpenListener;
import org.eclipse.jface.viewers.OpenEvent;
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.viewers.Viewer;
im... | 8,125 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer/ExplorerSorter.java | package com.amazonaws.eclipse.opsworks.explorer;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerSorter;
import com.amazonaws.eclipse.explorer.ExplorerNode;
public class ExplorerSorter extends ViewerSorter {
@Override
public int compare(Viewer viewer, Object e1, Object e2) {
... | 8,126 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer/OpsWorksLabelProvider.java | package com.amazonaws.eclipse.opsworks.explorer;
import java.util.List;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.swt.graphics.Image;
import com.amazonaws.eclipse.explorer.ExplorerNodeLabelProvider;
import com.amazonaws.eclipse.opsworks.OpsWorksPlugin;
import com.amazonaws.eclipse.opsworks.... | 8,127 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer/image/OpsWorksExplorerImages.java | package com.amazonaws.eclipse.opsworks.explorer.image;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.swt.widgets.Display;
import com.amazonaws.eclipse.opsworks.OpsWorksPlugin;
public class OpsWorksExplorerImages {
public static final Strin... | 8,128 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer/node/LayersRootNode.java | package com.amazonaws.eclipse.opsworks.explorer.node;
import java.util.Collections;
import java.util.List;
import com.amazonaws.eclipse.explorer.ExplorerNode;
import com.amazonaws.eclipse.opsworks.OpsWorksPlugin;
import com.amazonaws.eclipse.opsworks.explorer.image.OpsWorksExplorerImages;
public class LayersRootNode... | 8,129 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer/node/AppsRootNode.java | package com.amazonaws.eclipse.opsworks.explorer.node;
import java.util.Collections;
import java.util.List;
import com.amazonaws.eclipse.explorer.ExplorerNode;
import com.amazonaws.eclipse.opsworks.OpsWorksPlugin;
import com.amazonaws.eclipse.opsworks.explorer.image.OpsWorksExplorerImages;
import com.amazonaws.service... | 8,130 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer/node/OpsWorksRootNode.java | package com.amazonaws.eclipse.opsworks.explorer.node;
/**
* Root element for OpsWorks resources in the resource navigator.
*/
public class OpsWorksRootNode {
public static final OpsWorksRootNode ROOT_ELEMENT = new OpsWorksRootNode();
private OpsWorksRootNode() {}
}
| 8,131 |
0 | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer | Create_ds/aws-toolkit-eclipse/bundles/com.amazonaws.eclipse.opsworks/src/com/amazonaws/eclipse/opsworks/explorer/node/LayerElementNode.java | package com.amazonaws.eclipse.opsworks.explorer.node;
import java.util.Collections;
import java.util.List;
import com.amazonaws.services.opsworks.model.Instance;
import com.amazonaws.services.opsworks.model.Layer;
public class LayerElementNode {
private final Layer layer;
private List<Instance> instancesIn... | 8,132 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/LambdaHandlerInitedWithRandomValueTest.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart;
import static edu.umd.cs.findbugs.test.CountMatcher.containsExactly;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.not;
impo... | 8,133 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/AbstractSnapStartTest.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart;
import edu.umd.cs.findbugs.BugCollection;
import edu.umd.cs.findbugs.test.AnalysisRunner;
import edu.umd.cs.findbugs.test.matcher.BugInstanceMatcherBuilder;
import jav... | 8,134 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/BadLambda.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart.lambdaexamples;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.LambdaLogger;
import com.amazonaws.services.lambda.ru... | 8,135 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/LooksLikeLambda.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart.lambdaexamples;
import com.amazonaws.services.lambda.runtime.Context;
import java.util.Map;
import java.util.UUID;
public class LooksLikeLambda {
private static fi... | 8,136 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/LooksLikeStreamLambda.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart.lambdaexamples;
import com.amazonaws.services.lambda.runtime.Context;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.u... | 8,137 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/GoodLambda.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart.lambdaexamples;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.LambdaLogger;
import com.amazonaws.services.lambda.ru... | 8,138 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/LambdaHandlerWithNoInterface.java | package software.amazon.lambda.snapstart.lambdaexamples;
import java.util.UUID;
public class LambdaHandlerWithNoInterface {
private final UUID random = UUID.randomUUID();
public String handleRequest(){
return random.toString();
}
}
| 8,139 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/SuperParentHandler.java | package software.amazon.lambda.snapstart.lambdaexamples;
import java.util.UUID;
public class SuperParentHandler {
protected final UUID superParentId = UUID.randomUUID();
protected SuperParentHandler() {}
}
| 8,140 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/LambdaUsingRandom.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart.lambdaexamples;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
import java.security.SecureRandom;
im... | 8,141 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/ParentHandler.java | package software.amazon.lambda.snapstart.lambdaexamples;
import java.util.UUID;
public abstract class ParentHandler extends SuperParentHandler {
protected final UUID parentId = UUID.randomUUID();
protected ParentHandler() {}
}
| 8,142 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/LambdaUsingRngLib.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart.lambdaexamples;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
import java.util.Map;
public class L... | 8,143 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/DependencyInjectionFunctionalInterface.java | package software.amazon.lambda.snapstart.lambdaexamples;
import java.util.function.Function;
public class DependencyInjectionFunctionalInterface implements Function<String, String> {
private final MyDependency myDependency;
public DependencyInjectionFunctionalInterface(MyDependency myDependency) {
t... | 8,144 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/LambdaWithCracUsingRng.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart.lambdaexamples;
import static java.lang.System.out;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
... | 8,145 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/LambdaUsingTransitiveRng.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart.lambdaexamples;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
import java.security.SecureRandom;
im... | 8,146 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/LambdaUsingUuid.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart.lambdaexamples;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
import java.util.Map;
import java.uti... | 8,147 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/ImplementsFunctionalInterface.java | package software.amazon.lambda.snapstart.lambdaexamples;
import java.util.UUID;
import java.util.function.Function;
public class ImplementsFunctionalInterface implements Function<String, String> {
private final UUID random = UUID.randomUUID();
@Override
public String apply(String s) {
return ran... | 8,148 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/MyDependency.java | package software.amazon.lambda.snapstart.lambdaexamples;
import java.util.UUID;
public class MyDependency {
private final UUID random = UUID.randomUUID();
public UUID getUUID() {
return random;
}
}
| 8,149 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/LambdaUsingTs.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart.lambdaexamples;
import static java.lang.System.out;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
... | 8,150 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/LambdaWithToString.java | package software.amazon.lambda.snapstart.lambdaexamples;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
import java.util.Map;
import java.util.UUID;
public class LambdaWithToString implements RequestHandler<Map<String,String>, String> {
private... | 8,151 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/DependencyInjection.java | package software.amazon.lambda.snapstart.lambdaexamples;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
public class DependencyInjection implements RequestHandler<String, String> {
private final MyDependency myDependency;
public DependencyIn... | 8,152 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/DeepRngLib.java | package software.amazon.lambda.snapstart.lambdaexamples;
public class DeepRngLib {
private final RngLib random;
public DeepRngLib() {
this.random = new RngLib();
}
public int randomInt() {
return random.randomInt();
}
}
| 8,153 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/NonLambda.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart.lambdaexamples;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.LambdaLogger;
import java.util.Map;
import java.util.... | 8,154 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/RngLib.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart.lambdaexamples;
import java.util.Random;
public class RngLib {
private final Random random;
public RngLib() {
this.random = new Random(0);
}
... | 8,155 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/lambdaexamples/LambdaWithParentClass.java | package software.amazon.lambda.snapstart.lambdaexamples;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
import java.util.logging.Level;
import java.util.logging.Logger;
public class LambdaWithParentClass extends ParentHandler implements RequestHandl... | 8,156 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart | Create_ds/aws-lambda-snapstart-java-rules/src/test/java/software/amazon/lambda/snapstart/matcher/ContainsMatcher.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart.matcher;
import java.util.Arrays;
import java.util.Iterator;
import org.hamcrest.Description;
import org.hamcrest.Matcher;
import org.hamcrest.StringDescription;
import... | 8,157 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda/snapstart/LambdaHandlerFieldsDatabase.java | package software.amazon.lambda.snapstart;
import edu.umd.cs.findbugs.ba.interproc.FieldPropertyDatabase;
import edu.umd.cs.findbugs.ba.interproc.PropertyDatabaseFormatException;
public class LambdaHandlerFieldsDatabase extends FieldPropertyDatabase<Boolean> {
public LambdaHandlerFieldsDatabase() {
super(... | 8,158 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda/snapstart/LambdaHandlerParentsDatabase.java | package software.amazon.lambda.snapstart;
import java.util.ArrayList;
import java.util.List;
public class LambdaHandlerParentsDatabase {
private final List<String> parentClasses = new ArrayList<>();
public List<String> getParentClasses() {
return this.parentClasses;
}
public void addLambdaP... | 8,159 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda/snapstart/CallGraph.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart;
import edu.umd.cs.findbugs.ba.interproc.MethodPropertyDatabase;
import edu.umd.cs.findbugs.classfile.MethodDescriptor;
import java.util.HashMap;
import java.util.HashS... | 8,160 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda/snapstart/CacheLambdaHandlerParentClasses.java | package software.amazon.lambda.snapstart;
import edu.umd.cs.findbugs.BugReporter;
import edu.umd.cs.findbugs.Detector;
import edu.umd.cs.findbugs.ba.ClassContext;
import edu.umd.cs.findbugs.ba.XClass;
import org.apache.bcel.classfile.JavaClass;
import edu.umd.cs.findbugs.classfile.Global;
import java.util.Objects;
... | 8,161 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda/snapstart/LambdaHandlerInitedWithRandomValue.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart;
import edu.umd.cs.findbugs.BugInstance;
import edu.umd.cs.findbugs.BugReporter;
import edu.umd.cs.findbugs.OpcodeStack;
import edu.umd.cs.findbugs.ba.XClass;
import ed... | 8,162 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda/snapstart/CacheLambdaHandlerFields.java | package software.amazon.lambda.snapstart;
import edu.umd.cs.findbugs.BugReporter;
import edu.umd.cs.findbugs.Detector;
import edu.umd.cs.findbugs.ba.ClassContext;
import edu.umd.cs.findbugs.ba.XClass;
import edu.umd.cs.findbugs.classfile.DescriptorFactory;
import edu.umd.cs.findbugs.classfile.FieldDescriptor;
import e... | 8,163 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda/snapstart/ByteCodeIntrospector.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart;
import edu.umd.cs.findbugs.OpcodeStack;
import edu.umd.cs.findbugs.ba.XClass;
import edu.umd.cs.findbugs.ba.XMethod;
import edu.umd.cs.findbugs.classfile.CheckedAnalys... | 8,164 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda/snapstart/BuildRandomReturningMethodsDatabase.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart;
import edu.umd.cs.findbugs.BugAccumulator;
import edu.umd.cs.findbugs.BugReporter;
import edu.umd.cs.findbugs.Detector;
import edu.umd.cs.findbugs.ba.AnalysisContext;
... | 8,165 |
0 | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda | Create_ds/aws-lambda-snapstart-java-rules/src/main/java/software/amazon/lambda/snapstart/ReturnValueRandomnessPropertyDatabase.java | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package software.amazon.lambda.snapstart;
import edu.umd.cs.findbugs.ba.interproc.MethodPropertyDatabase;
import edu.umd.cs.findbugs.classfile.MethodDescriptor;
import java.util.Arrays;
import java.util.HashSe... | 8,166 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno | Create_ds/zeno/src/test/java/com/netflix/zeno/util/CollectionUnwrapperTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,167 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections/impl/OpenAddressArraySetTest.java | package com.netflix.zeno.util.collections.impl;
import com.netflix.zeno.util.collections.builder.SetBuilder;
import java.util.Iterator;
import java.util.Set;
import org.junit.Assert;
import org.junit.Test;
public class OpenAddressArraySetTest {
@Test
public void populateAndRetrieve() {
SetBuilder<I... | 8,168 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections/impl/OpenAddressHashMapTest.java | package com.netflix.zeno.util.collections.impl;
import com.netflix.zeno.util.collections.builder.MapBuilder;
import java.util.Iterator;
import java.util.Map;
import org.junit.Assert;
import org.junit.Test;
public class OpenAddressHashMapTest {
@Test
public void putAndRetrieve() {
MapBuilder<Integer... | 8,169 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections/heapfriendly/PhasedHeapFriendlyHashMapTest.java | /*
*
* Copyright 2015 Netflix, 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 ap... | 8,170 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections/heapfriendly/OpenAddressingHashMapTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,171 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections/heapfriendly/HeapFriendlyHashMapTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,172 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections/heapfriendly/HeapFriendlyDerivableKeyHashMapTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,173 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections/heapfriendly/HeapFriendlyMapRandomizedTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,174 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections | Create_ds/zeno/src/test/java/com/netflix/zeno/util/collections/algorithms/ArrayQuickSortTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,175 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/UndefinedNullCollectionElementSerializerTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,176 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/OrdinalRemapperTest.java | package com.netflix.zeno.fastblob;
import java.util.ArrayList;
import java.util.BitSet;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import com.n... | 8,177 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/NFTypeSerializerTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,178 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/SerializerDeltaTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,179 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/FastBlobEngineTest.java | package com.netflix.zeno.fastblob;
import com.netflix.zeno.fastblob.io.FastBlobReader;
import com.netflix.zeno.fastblob.io.FastBlobWriter;
import com.netflix.zeno.fastblob.state.FastBlobTypeDeserializationState;
import com.netflix.zeno.serializer.NFTypeSerializer;
import com.netflix.zeno.serializer.SerializerFactory;
... | 8,180 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/CompatibilitySerializerTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,181 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/BlobSerializationGenericFrameworkAbstract.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,182 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/BlobSerializationAbstract.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,183 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/SerializerSnapshotTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,184 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/io/FastBlobWriterTest.java | package com.netflix.zeno.fastblob.io;
import static org.junit.Assert.assertTrue;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import org.junit.Before;
import org.junit.Test;
import com.netflix.zeno.fastblob.Fas... | 8,185 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/WeakObjectOrdinalMapTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,186 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/FreeOrdinalTrackerTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,187 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/SegmentedByteArrayTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,188 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/ByteArrayOrdinalMapTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,189 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/FastBlobStateEngineReserializationTest.java | package com.netflix.zeno.fastblob.state;
import com.netflix.zeno.fastblob.FastBlobStateEngine;
import com.netflix.zeno.fastblob.io.FastBlobReader;
import com.netflix.zeno.fastblob.io.FastBlobWriter;
import com.netflix.zeno.serializer.NFTypeSerializer;
import com.netflix.zeno.serializer.SerializerFactory;
import com.ne... | 8,190 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/TypeDeserializationStateListenerTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,191 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/FastBlobSingleRecordSerializationTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,192 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/PojoWithAllTypes.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,193 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/StreamingByteDataTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,194 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/FastBlobSchemaTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,195 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/TypeDeserializationStateIteratorTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,196 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/FastBlobTypeSerializationStateTest.java | package com.netflix.zeno.fastblob.state;
import com.netflix.zeno.fastblob.FastBlobImageUtils;
import com.netflix.zeno.fastblob.record.ByteDataBuffer;
import com.netflix.zeno.serializer.common.IntegerSerializer;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInp... | 8,197 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/ByteDataBufferTest.java | /*
*
* Copyright 2013 Netflix, 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 ap... | 8,198 |
0 | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state | Create_ds/zeno/src/test/java/com/netflix/zeno/fastblob/state/compressed/ByteSequenceRetainerTest.java | package com.netflix.zeno.fastblob.state.compressed;
import com.netflix.zeno.fastblob.record.ByteDataBuffer;
import org.junit.Assert;
import org.junit.Test;
public class ByteSequenceRetainerTest {
@Test
public void retainsByteSequences() {
ByteSequenceRetainer retainer = new ByteSequenceRetainer();
... | 8,199 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.