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/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/CryptoAlgorithm.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk; import com.amazonaws.encryptionsdk.exception.BadCiphertextException; import com.amazonaws.encryptionsdk.internal.CommittedKey; import com.amazonaws.encryptionsdk.internal.Co...
800
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/CommitmentPolicy.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk; /** * Governs how a AwsCrypto behaves during configuration, encryption, and decryption, with respect to * key commitment. */ public enum CommitmentPolicy { /** * On ...
801
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/package-info.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
802
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/KmsMethods.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
803
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/DiscoveryFilter.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kms; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashSet; /** * This class stores the configuration for filtering A...
804
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/KmsMasterKeyProvider.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kms; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.parseInfoFromKeyArn; import static java.util.Arrays.asList; import static java.util.Collections.empty...
805
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/AwsKmsMrkAwareMasterKey.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kms; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.*; import com.amazonaws.AmazonServiceException; import com.amazonaws.AmazonWebServiceRequest; import...
806
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/KmsMasterKey.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
807
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/AwsKmsMrkAwareMasterKeyProvider.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kms; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.*; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.parseInfoFromKeyArn; import st...
808
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kms/package-info.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
809
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/jce/KeyStoreProvider.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
810
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/jce/JceMasterKey.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
811
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/jce/package-info.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
812
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/RegionalClientSupplier.java
package com.amazonaws.encryptionsdk.kmssdkv2; import software.amazon.awssdk.regions.Region; import software.amazon.awssdk.services.kms.KmsClient; @FunctionalInterface public interface RegionalClientSupplier { /** * Supplies an {@link KmsClient} instance to use for a given {@link Region}. The {@link * KmsMaste...
813
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/KmsMasterKeyProvider.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kmssdkv2; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.parseInfoFromKeyArn; import static java.util.Arrays.asList; import static java.util.Collections....
814
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/AwsKmsMrkAwareMasterKey.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kmssdkv2; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.*; import com.amazonaws.encryptionsdk.*; import com.amazonaws.encryptionsdk.exception.AwsCrypto...
815
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/KmsMasterKey.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
816
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/RequestClientCacher.java
package com.amazonaws.encryptionsdk.kmssdkv2; import java.util.concurrent.ConcurrentHashMap; import software.amazon.awssdk.awscore.exception.AwsServiceException; import software.amazon.awssdk.core.interceptor.Context; import software.amazon.awssdk.core.interceptor.ExecutionAttributes; import software.amazon.awssdk.cor...
817
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/AwsKmsMrkAwareMasterKeyProvider.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.kmssdkv2; import static com.amazonaws.encryptionsdk.internal.AwsKmsCmkArnInfo.*; import static java.util.Arrays.asList; import static java.util.Collections.emptyList; import ...
818
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/kmssdkv2/package-info.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
819
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/multi/MultipleProviderFactory.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
820
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/multi/package-info.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
821
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/AwsKmsCmkArnInfo.java
package com.amazonaws.encryptionsdk.internal; import java.util.Arrays; /** * A class to parse and handle AWS KMS identifiers. Mostly AWS KMS ARNs but raw resources are also * used in the AWS Encryption SDK. */ public final class AwsKmsCmkArnInfo { private static final String arnLiteral = "arn"; private static ...
822
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/RsaJceKeyCipher.java
/* * Copyright 2019 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" file...
823
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/EncryptionContextSerializer.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
824
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/BlockEncryptionHandler.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
825
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/ProcessingSummary.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
826
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/BlockDecryptionHandler.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
827
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/PrimitivesParser.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
828
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/JceKeyCipher.java
/* * Copyright 2019 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" file...
829
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/Utils.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.internal; import java.io.Serializable; import java.math.BigInteger; import java.nio.Buffer; import java.nio.ByteBuffer; import java.nio.charset.StandardCharsets; import java....
830
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/TrailingSignatureAlgorithm.java
package com.amazonaws.encryptionsdk.internal; import static com.amazonaws.encryptionsdk.internal.Utils.bigIntegerToByteArray; import static com.amazonaws.encryptionsdk.internal.Utils.encodeBase64String; import static java.math.BigInteger.ONE; import static java.math.BigInteger.ZERO; import static org.apache.commons.la...
831
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/CipherHandler.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
832
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/MessageCryptoHandler.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
833
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/EncryptionHandler.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.internal; import com.amazonaws.encryptionsdk.CommitmentPolicy; import com.amazonaws.encryptionsdk.CryptoAlgorithm; import com.amazonaws.encryptionsdk.MasterKey; import com.am...
834
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/HmacKeyDerivationFunction.java
/* * Copyright 2019 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" ...
835
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/VersionInfo.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
836
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/DecryptionHandler.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.internal; import com.amazonaws.encryptionsdk.*; import com.amazonaws.encryptionsdk.exception.AwsCryptoException; import com.amazonaws.encryptionsdk.exception.BadCiphertextExc...
837
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/SignaturePolicy.java
package com.amazonaws.encryptionsdk.internal; import com.amazonaws.encryptionsdk.CryptoAlgorithm; public enum SignaturePolicy { AllowEncryptAllowDecrypt { @Override public boolean algorithmAllowedForDecrypt(CryptoAlgorithm algorithm) { return true; } }, AllowEncryptForbidDecrypt { @Overrid...
838
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/FrameDecryptionHandler.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
839
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/AesGcmJceKeyCipher.java
/* * Copyright 2019 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" file...
840
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/CryptoHandler.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
841
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/LazyMessageCryptoHandler.java
package com.amazonaws.encryptionsdk.internal; import com.amazonaws.encryptionsdk.MasterKey; import com.amazonaws.encryptionsdk.model.CiphertextHeaders; import java.util.List; import java.util.Map; import java.util.function.Function; import javax.annotation.concurrent.NotThreadSafe; /** * A {@link MessageCryptoHandle...
842
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/FrameEncryptionHandler.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
843
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/CommittedKey.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.internal; import com.amazonaws.encryptionsdk.CryptoAlgorithm; import java.nio.charset.StandardCharsets; import java.security.NoSuchAlgorithmException; import javax.crypto.Sec...
844
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/package-info.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
845
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/internal/Constants.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
846
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/CiphertextFooters.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
847
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/CipherFrameHeaders.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
848
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/CipherBlockHeaders.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
849
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/CiphertextType.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
850
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/KeyBlob.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
851
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/ContentType.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
852
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/EncryptionMaterials.java
package com.amazonaws.encryptionsdk.model; import com.amazonaws.encryptionsdk.CryptoAlgorithm; import com.amazonaws.encryptionsdk.MasterKey; import java.security.PrivateKey; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util...
853
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/DecryptionMaterialsRequest.java
package com.amazonaws.encryptionsdk.model; import com.amazonaws.encryptionsdk.CryptoAlgorithm; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; public final class DecryptionMaterialsRequest { private final CryptoAlgorithm algorithm; p...
854
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/EncryptionMaterialsRequest.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.model; import com.amazonaws.encryptionsdk.CommitmentPolicy; import com.amazonaws.encryptionsdk.CryptoAlgorithm; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; imp...
855
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/DecryptionMaterials.java
package com.amazonaws.encryptionsdk.model; import com.amazonaws.encryptionsdk.DataKey; import java.security.PublicKey; public final class DecryptionMaterials { private final DataKey<?> dataKey; private final PublicKey trailingSignatureKey; private DecryptionMaterials(Builder b) { dataKey = b.getDataKey(); ...
856
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/CiphertextHeaders.java
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk.model; import com.amazonaws.encryptionsdk.CryptoAlgorithm; import com.amazonaws.encryptionsdk.exception.AwsCryptoException; import com.amazonaws.encryptionsdk.exception.BadCi...
857
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/EncryptionCompletionListener.java
package com.amazonaws.encryptionsdk.model; @FunctionalInterface public interface EncryptionCompletionListener { /** * Invoked upon encryption completion; MaterialsManagers that need to know the size of the * plaintext (e.g. to enforce caching policies) can make use of this. * * @param plaintextBytes Tota...
858
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/model/package-info.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
859
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/caching/LocalCryptoMaterialsCache.java
package com.amazonaws.encryptionsdk.caching; import com.amazonaws.encryptionsdk.internal.Utils; import com.amazonaws.encryptionsdk.model.DecryptionMaterials; import com.amazonaws.encryptionsdk.model.EncryptionMaterials; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.TreeSet; import javax.ann...
860
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/caching/CachingCryptoMaterialsManager.java
package com.amazonaws.encryptionsdk.caching; import com.amazonaws.encryptionsdk.CryptoAlgorithm; import com.amazonaws.encryptionsdk.CryptoMaterialsManager; import com.amazonaws.encryptionsdk.DefaultCryptoMaterialsManager; import com.amazonaws.encryptionsdk.MasterKeyProvider; import com.amazonaws.encryptionsdk.exceptio...
861
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/caching/CryptoMaterialsCache.java
package com.amazonaws.encryptionsdk.caching; import com.amazonaws.encryptionsdk.internal.Utils; import com.amazonaws.encryptionsdk.model.DecryptionMaterials; import com.amazonaws.encryptionsdk.model.EncryptionMaterials; import java.util.Objects; /** * Represents a generic cache for cryptographic materials. Materials...
862
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/caching/MsClock.java
package com.amazonaws.encryptionsdk.caching; interface MsClock { MsClock WALLCLOCK = System::currentTimeMillis; public long timestamp(); }
863
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/caching/NullCryptoMaterialsCache.java
package com.amazonaws.encryptionsdk.caching; import com.amazonaws.encryptionsdk.model.DecryptionMaterials; import com.amazonaws.encryptionsdk.model.EncryptionMaterials; /** A {@link CryptoMaterialsCache} that doesn't actually cache anything. */ public class NullCryptoMaterialsCache implements CryptoMaterialsCache { ...
864
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/exception/BadCiphertextException.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
865
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/exception/NoSuchMasterKeyException.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
866
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/exception/AwsCryptoException.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
867
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/exception/CannotUnwrapDataKeyException.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
868
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/exception/ParseException.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
869
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/exception/UnsupportedProviderException.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
870
0
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk
Create_ds/aws-encryption-sdk-java/src/main/java/com/amazonaws/encryptionsdk/exception/package-info.java
/* * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except * in compliance with the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
871
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/LCS_FORMED_CONSECUTIVE_SEGMENTS_LEAST_LENGTH_K.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class LCS_FORMED_CONS...
872
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/COUNT_CHARACTERS_STRING_DISTANCE_ENGLISH_ALPHABETS.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class COUNT_CHARACTER...
873
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/RECURSIVE_PROGRAM_PRIME_NUMBER.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class RECURSIVE_PROGR...
874
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/COUNT_DISTINCT_OCCURRENCES_AS_A_SUBSEQUENCE.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class COUNT_DISTINCT_...
875
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/CHECK_WHETHER_TWO_STRINGS_ARE_ANAGRAM_OF_EACH_OTHER.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class CHECK_WHETHER_T...
876
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/COUNT_NUMBERS_CAN_CONSTRUCTED_USING_TWO_NUMBERS.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class COUNT_NUMBERS_C...
877
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/SUM_PAIRWISE_PRODUCTS.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class SUM_PAIRWISE_PR...
878
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/COUNT_SET_BITS_IN_AN_INTEGER.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class COUNT_SET_BITS_...
879
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/LONGEST_PALINDROME_SUBSEQUENCE_SPACE.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class LONGEST_PALINDR...
880
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/LONGEST_EVEN_LENGTH_SUBSTRING_SUM_FIRST_SECOND_HALF.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class LONGEST_EVEN_LE...
881
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/DYCK_PATH.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class DYCK_PATH{ publ...
882
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/PRINT_A_CLOSEST_STRING_THAT_DOES_NOT_CONTAIN_ADJACENT_DUPLICATES.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class PRINT_A_CLOSEST...
883
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/OVERLAPPING_SUM_TWO_ARRAY.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class OVERLAPPING_SUM...
884
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/MOBILE_NUMERIC_KEYPAD_PROBLEM.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class MOBILE_NUMERIC_...
885
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/CHECK_VALID_SEQUENCE_DIVISIBLE_M_1.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class CHECK_VALID_SEQ...
886
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/DIFFERENCE_BETWEEN_HIGHEST_AND_LEAST_FREQUENCIES_IN_AN_ARRAY_1.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class DIFFERENCE_BETW...
887
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/WAYS_TRANSFORMING_ONE_STRING_REMOVING_0_CHARACTERS.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class WAYS_TRANSFORMI...
888
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/MARKOV_MATRIX.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class MARKOV_MATRIX{ ...
889
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/CHOCOLATE_DISTRIBUTION_PROBLEM.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class CHOCOLATE_DISTR...
890
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/FIND_DIFFERENCE_BETWEEN_SUMS_OF_TWO_DIAGONALS_1.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class FIND_DIFFERENCE...
891
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/ROW_WISE_COMMON_ELEMENTS_TWO_DIAGONALS_SQUARE_MATRIX.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class ROW_WISE_COMMON...
892
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/FIND_SUBARRAY_WITH_GIVEN_SUM_1.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class FIND_SUBARRAY_W...
893
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/HYPERCUBE_GRAPH.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class HYPERCUBE_GRAPH...
894
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/HEXAGONAL_NUMBER.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class HEXAGONAL_NUMBE...
895
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/LEXICOGRAPHICALLY_NEXT_STRING.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class LEXICOGRAPHICAL...
896
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/CHECK_LARGE_NUMBER_DIVISIBLE_9_NOT.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class CHECK_LARGE_NUM...
897
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/FIND_THE_LARGEST_SUBARRAY_WITH_0_SUM.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class FIND_THE_LARGES...
898
0
Create_ds/CodeGen/data/transcoder_evaluation_gfg
Create_ds/CodeGen/data/transcoder_evaluation_gfg/java/SUM_BINOMIAL_COEFFICIENTS_1.java
// Copyright (c) 2019-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // import java.util. *; import java.util.stream.*; import java.lang.*; import javafx.util.Pair; public class SUM_BINOMIAL_CO...
899