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/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/Ruler.java
package software.amazon.event.ruler; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.util.List; import java.util.Locale; import java.util.Map; import javax.annotation.concurrent.Immutable; import javax.annotation.concurrent.ThreadSafe; import com.fasterxml.jackson.databind.JsonNode;...
4,900
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/ACTask.java
package software.amazon.event.ruler; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Queue; import java.util.Set; import static software.amazon.event.ruler.SetOperations.intersection; /** * Represents the state of an Array-Consistent rule-fi...
4,901
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/NameState.java
package software.amazon.event.ruler; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import javax.annotation.concurrent.ThreadSafe; /** * Represents a state in the machine. * * The "valueTransitions" map is keyed by field name and yields a ByteMa...
4,902
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/Event.java
package software.amazon.event.ruler; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import javax.annotation.Nonnull; import jav...
4,903
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/ACFinder.java
package software.amazon.event.ruler; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import static software.amazon.event.ruler.SetOperations.intersection; /** * Matches rules to events as does Finder, but in an array-consistent fashion, thus the AC prefix on the ...
4,904
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/CompositeByteTransition.java
package software.amazon.event.ruler; import javax.annotation.Nonnull; import java.util.Collections; import java.util.Set; /** * Represents a composite transition that has a next state and a match. */ final class CompositeByteTransition extends SingleByteTransition { /** * The state to transfer to. */...
4,905
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/RuleCompiler.java
package software.amazon.event.ruler; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; im...
4,906
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/ByteState.java
package software.amazon.event.ruler; import javax.annotation.Nonnull; import javax.annotation.Nullable; import javax.annotation.concurrent.ThreadSafe; import java.util.Collections; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; /** * Represents a state in a state machine a...
4,907
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/Task.java
package software.amazon.event.ruler; import javax.annotation.concurrent.ThreadSafe; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Queue; import java.util.Set; import static software.amazon.event.ruler.SetOperations.i...
4,908
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/Range.java
package software.amazon.event.ruler; import java.nio.charset.StandardCharsets; import java.util.Arrays; /** * Represents a range of numeric values to match against. * "Numeric" means that the character repertoire is "digits"; initially, either 0-9 or 0-9a-f. In the current * implementation, the number of digits i...
4,909
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/Step.java
package software.amazon.event.ruler; import javax.annotation.concurrent.Immutable; import javax.annotation.concurrent.ThreadSafe; import java.util.Objects; import java.util.Set; /** * Represents a suggestion of a state/token combo from which there might be a transition. The event token * indexed is always the key...
4,910
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/Field.java
package software.amazon.event.ruler; /** * Represents the name and value of a data field in an event that Ruler will match. * * Both name and value are represented as strings. Also provided for each field is information about its position * in any arrays the event may contain. This is used to guard against a rul...
4,911
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/ByteMatch.java
package software.amazon.event.ruler; import java.util.Collections; import java.util.Set; /** * Represents a place in a ByteMachine where we have to do something in addition to just transitioning to another step. */ final class ByteMatch extends SingleByteTransition { private final Patterns pattern; privat...
4,912
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/CompoundByteTransition.java
package software.amazon.event.ruler; import javax.annotation.Nullable; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; import java.util.Objects; import java.util.Set; import java.util.TreeSet; /** * An implementation of ByteTransition that represents having taken multiple ByteTrans...
4,913
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/ByteTransition.java
package software.amazon.event.ruler; import java.util.Set; /** * Represents a transition (on a particular byte value) from a state to a state. */ abstract class ByteTransition implements Cloneable { /** * Returns the state to transfer to. * * @return the state to transfer to, or {@code null} if ...
4,914
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/Finder.java
package software.amazon.event.ruler; import javax.annotation.concurrent.ThreadSafe; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import static software.amazon.event.ruler.SetOperations.intersection; /* * Notes on the implementation: * * This is finite-automa...
4,915
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/JsonRuleCompiler.java
package software.amazon.event.ruler; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import software.amazon.event.ruler.input.ParseException; import java.io.IOException; impo...
4,916
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/ValuePatterns.java
package software.amazon.event.ruler; import java.util.Objects; /** * The ValuePatterns deal with matching a single value. The single value * is specified with the variable pattern. */ public class ValuePatterns extends Patterns { private final String pattern; ValuePatterns(final MatchType type, final Str...
4,917
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/Path.java
package software.amazon.event.ruler; import java.util.ArrayDeque; import java.util.Deque; /** * Represents the current location in a traversal of a JSON object. * Both rules and events need to be flattened into name/value pairs, where the name represents the path to the * object. */ class Path { private fin...
4,918
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/Constants.java
package software.amazon.event.ruler; import java.util.Arrays; import java.util.List; import java.util.regex.Pattern; final class Constants { private Constants() { throw new UnsupportedOperationException("You can't create instance of utility class."); } final static String EXACT_MATCH = "exactly"; final ...
4,919
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/ByteMap.java
package software.amazon.event.ruler; import java.util.Collections; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.NavigableMap; import java.util.Set; import java.util.TreeMap; import static software.amazon.event.ruler.CompoundByteTransition.coalesce; /** * Maps byte valu...
4,920
0
Create_ds/event-ruler/src/main/software/amazon/event
Create_ds/event-ruler/src/main/software/amazon/event/ruler/SingleByteTransition.java
package software.amazon.event.ruler; import java.util.Collections; import java.util.Iterator; import java.util.NoSuchElementException; import java.util.Set; /** * This class represents a singular ByteTransition. This is in contrast to a compound ByteTransition that represents * having taken multiple distinct transi...
4,921
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/InputByte.java
package software.amazon.event.ruler.input; import java.nio.charset.StandardCharsets; import static software.amazon.event.ruler.input.InputCharacterType.BYTE; /** * An InputCharacter that represents a single byte. */ public class InputByte extends InputCharacter { private final byte b; InputByte(final byt...
4,922
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/InputCharacter.java
package software.amazon.event.ruler.input; public abstract class InputCharacter { public abstract InputCharacterType getType(); }
4,923
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/ByteParser.java
package software.amazon.event.ruler.input; /** * Transforms UTF-8 formatted bytes into InputCharacter * * @see InputCharacter * */ public interface ByteParser { /** * @param utf8byte byte that represent in UTF-8 encoding * @return processed and parsed Input Character */ InputCharacter parse(byte utf...
4,924
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/InputWildcard.java
package software.amazon.event.ruler.input; import static software.amazon.event.ruler.input.InputCharacterType.WILDCARD; /** * An InputCharacter that represents a wildcard. */ public class InputWildcard extends InputCharacter { InputWildcard() { } @Override public InputCharacterType getType() { ...
4,925
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/StringValueParser.java
package software.amazon.event.ruler.input; public interface StringValueParser { /** * @param value string value to parse * @return processed and parsed Input Character */ InputCharacter[] parse(String value); }
4,926
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/ParseException.java
package software.amazon.event.ruler.input; /** * A RuntimeException that indicates an error parsing a rule's value. */ public class ParseException extends RuntimeException { public ParseException(String msg) { super(msg); } }
4,927
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/DefaultParser.java
package software.amazon.event.ruler.input; import software.amazon.event.ruler.MatchType; import java.nio.charset.StandardCharsets; import static software.amazon.event.ruler.MatchType.ANYTHING_BUT_SUFFIX; import static software.amazon.event.ruler.MatchType.EQUALS_IGNORE_CASE; import static software.amazon.event.ruler...
4,928
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/EqualsIgnoreCaseParser.java
package software.amazon.event.ruler.input; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Set; import java.util.function.Function; /** * A parser to be used specifically for equa...
4,929
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/MultiByte.java
package software.amazon.event.ruler.input; import java.util.Arrays; import static software.amazon.event.ruler.input.DefaultParser.NINE_BYTE; import static software.amazon.event.ruler.input.DefaultParser.ZERO_BYTE; /** * A grouping of multiple bytes. This can be used to represent a character that has a UTF-8 represe...
4,930
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/SuffixParser.java
package software.amazon.event.ruler.input; import java.nio.charset.StandardCharsets; /** * A parser to be used specifically for suffix rules. * * This undoes the `reverse()` from {@code software.amazon.event.ruler.Patterns} intentionally * to ensure we can correctly reverse utf-8 characters with 2+ bytes like '大'...
4,931
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/SuffixEqualsIgnoreCaseParser.java
package software.amazon.event.ruler.input; /** * A parser to be used specifically for suffix equals-ignore-case rules. * * This extends EqualsIgnoreCaseParser to parse and reverse char bytes into InputMultiByteSet * to account for lower-case and upper-case variants. * */ public class SuffixEqualsIgnoreCaseParser...
4,932
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/WildcardParser.java
package software.amazon.event.ruler.input; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.List; import static software.amazon.event.ruler.input.DefaultParser.ASTERISK_BYTE; import static software.amazon.event.ruler.input.DefaultParser.BACKSLASH_BYTE; /** * A parser to be used...
4,933
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/InputCharacterType.java
package software.amazon.event.ruler.input; /** * The different types of InputCharacters, created from a rule, that will be used to add the rule to a ByteMachine. */ public enum InputCharacterType { BYTE, MULTI_BYTE_SET, WILDCARD }
4,934
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/InputMultiByteSet.java
package software.amazon.event.ruler.input; import java.util.Collections; import java.util.Objects; import java.util.Set; import static software.amazon.event.ruler.input.InputCharacterType.MULTI_BYTE_SET; /** * An InputCharacter that represents a set of MultiBytes. */ public class InputMultiByteSet extends InputCha...
4,935
0
Create_ds/event-ruler/src/main/software/amazon/event/ruler
Create_ds/event-ruler/src/main/software/amazon/event/ruler/input/MatchTypeParser.java
package software.amazon.event.ruler.input; import software.amazon.event.ruler.MatchType; public interface MatchTypeParser { /** * @param type Match type * @param value string value to parse * @return processed and parsed Input Character */ InputCharacter[] parse(MatchType type, String value); }
4,936
0
Create_ds/aws-cdk/packages/aws-cdk/test/commands/test-resources
Create_ds/aws-cdk/packages/aws-cdk/test/commands/test-resources/stacks/S3Stack.java
package com.myorg; import software.constructs.Construct; import java.util.*; import software.amazon.awscdk.CfnMapping; import software.amazon.awscdk.CfnTag; import software.amazon.awscdk.Stack; import software.amazon.awscdk.StackProps; import software.amazon.awscdk.*; import software.amazon.awscdk.services.s3.*; cl...
4,937
0
Create_ds/aws-cdk/packages/aws-cdk/lib/init-templates/sample-app/java/src/test/java/com
Create_ds/aws-cdk/packages/aws-cdk/lib/init-templates/sample-app/java/src/test/java/com/myorg/%name.PascalCased%StackTest.template.java
package com.myorg; import software.amazon.awscdk.App; import software.amazon.awscdk.assertions.Template; import software.amazon.awscdk.assertions.Match; import java.io.IOException; import java.util.HashMap; import org.junit.jupiter.api.Test; public class %name.PascalCased%StackTest { @Test public void test...
4,938
0
Create_ds/aws-cdk/packages/aws-cdk/lib/init-templates/sample-app/java/src/main/java/com
Create_ds/aws-cdk/packages/aws-cdk/lib/init-templates/sample-app/java/src/main/java/com/myorg/%name.PascalCased%Stack.template.java
package com.myorg; import software.constructs.Construct; import software.amazon.awscdk.Duration; import software.amazon.awscdk.Stack; import software.amazon.awscdk.StackProps; import software.amazon.awscdk.services.sns.Topic; import software.amazon.awscdk.services.sns.subscriptions.SqsSubscription; import software.ama...
4,939
0
Create_ds/aws-cdk/packages/aws-cdk/lib/init-templates/sample-app/java/src/main/java/com
Create_ds/aws-cdk/packages/aws-cdk/lib/init-templates/sample-app/java/src/main/java/com/myorg/%name.PascalCased%App.template.java
package com.myorg; import software.amazon.awscdk.App; public final class %name.PascalCased%App { public static void main(final String[] args) { App app = new App(); new %name.PascalCased%Stack(app, "%stackname%"); app.synth(); } }
4,940
0
Create_ds/aws-cdk/packages/aws-cdk/lib/init-templates/app/java/src/test/java/com
Create_ds/aws-cdk/packages/aws-cdk/lib/init-templates/app/java/src/test/java/com/myorg/%name.PascalCased%Test.template.java
// package com.myorg; // import software.amazon.awscdk.App; // import software.amazon.awscdk.assertions.Template; // import java.io.IOException; // import java.util.HashMap; // import org.junit.jupiter.api.Test; // example test. To run these tests, uncomment this file, along with the // example resource in java/src...
4,941
0
Create_ds/aws-cdk/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com
Create_ds/aws-cdk/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/%name.PascalCased%Stack.template.java
package com.myorg; import software.constructs.Construct; import software.amazon.awscdk.Stack; import software.amazon.awscdk.StackProps; // import software.amazon.awscdk.Duration; // import software.amazon.awscdk.services.sqs.Queue; public class %name.PascalCased%Stack extends Stack { public %name.PascalCased%Stac...
4,942
0
Create_ds/aws-cdk/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com
Create_ds/aws-cdk/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/%name.PascalCased%App.template.java
package com.myorg; import software.amazon.awscdk.App; import software.amazon.awscdk.Environment; import software.amazon.awscdk.StackProps; import java.util.Arrays; public class %name.PascalCased%App { public static void main(final String[] args) { App app = new App(); new %name.PascalCased%Stack...
4,943
0
Create_ds/photon/src/test/java/com/netflix
Create_ds/photon/src/test/java/com/netflix/imflibrary/MXFUIDTest.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 applicable...
4,944
0
Create_ds/photon/src/test/java/com/netflix
Create_ds/photon/src/test/java/com/netflix/imflibrary/KLVPacketTest.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 applicable...
4,945
0
Create_ds/photon/src/test/java/com/netflix
Create_ds/photon/src/test/java/com/netflix/imflibrary/MXFDataDefinitionTest.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 applicable...
4,946
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st2067_100/OutputProfileListTest.java
package com.netflix.imflibrary.st2067_100; import com.netflix.imflibrary.IMFErrorLogger; import com.netflix.imflibrary.IMFErrorLoggerImpl; import com.netflix.imflibrary.st2067_100.macro.preset.PresetMacro; import com.netflix.imflibrary.st2067_2.ApplicationComposition; import com.netflix.imflibrary.st2067_2.Application...
4,947
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/RESTfulInterfaces/IMPValidatorFunctionalTests.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 applica...
4,948
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/app/IMPAnalyzerTestMultiAppIMP.java
/* * * Copyright 2019 RheinMain University of Applied Sciences, Wiesbaden, Germany. * * 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...
4,949
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/app/IMPAnalyzerTestApp5NoContainerConstraintsSubDescriptor.java
/* * * Copyright 2020 RheinMain University of Applied Sciences, Wiesbaden, Germany. * * 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...
4,950
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/app/IMPAnalyzerTestApp5.java
/* * * Copyright 2019 RheinMain University of Applied Sciences, Wiesbaden, Germany. * * 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...
4,951
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/app/IMFTrackFileCPLBuilderTests.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 applicable...
4,952
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/app/IMPAnalyzerTestApp5Errors.java
/* * * Copyright 2019 RheinMain University of Applied Sciences, Wiesbaden, Germany. * * 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...
4,953
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/app/IMFUtilsTests.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 applicable...
4,954
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/app/IMFTrackFileCPLBuilderFunctionalTests.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 applicable...
4,955
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/app/IMPAnalyzerTest.java
package com.netflix.imflibrary.app; import com.netflix.imflibrary.utils.ErrorLogger; import org.testng.Assert; import org.testng.annotations.Test; import testUtils.TestHelper; import java.io.File; import java.io.IOException; import java.util.List; import java.util.Map; import static com.netflix.imflibrary.app.IMPAna...
4,956
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/app/IMPAnalyzerTestApp2E2021.java
package com.netflix.imflibrary.app; import com.netflix.imflibrary.IMFErrorLogger; import com.netflix.imflibrary.IMFErrorLoggerImpl; import com.netflix.imflibrary.st2067_2.ApplicationCompositionFactory; import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import test...
4,957
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/app/IMFTrackFileReaderTest.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 applicable...
4,958
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/app/MXFEssenceReaderTest.java
package com.netflix.imflibrary.app; import com.netflix.imflibrary.exceptions.MXFException; import com.netflix.imflibrary.st0377.HeaderPartition; import com.netflix.imflibrary.utils.FileByteRangeProvider; import com.netflix.imflibrary.utils.ResourceByteRangeProvider; import org.testng.Assert; import org.testng.annotati...
4,959
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st2067_2/Application2ExtendedCompositionTest.java
package com.netflix.imflibrary.st2067_2; import com.netflix.imflibrary.IMFErrorLogger; import com.netflix.imflibrary.IMFErrorLoggerImpl; import com.netflix.imflibrary.utils.ErrorLogger; import org.testng.Assert; import org.testng.annotations.Test; import testUtils.TestHelper; import java.io.File; import java.io.IOExc...
4,960
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st2067_2/IMFEssenceComponentVirtualTrackTest.java
package com.netflix.imflibrary.st2067_2; import com.netflix.imflibrary.IMFErrorLoggerImpl; import com.netflix.imflibrary.utils.FileByteRangeProvider; import org.testng.Assert; import org.testng.annotations.Test; import testUtils.TestHelper; import java.io.File; import java.util.HashSet; import java.util.UUID; @Test(...
4,961
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st2067_2/IMFMarkerVirtualTrackTest.java
package com.netflix.imflibrary.st2067_2; import com.netflix.imflibrary.IMFErrorLoggerImpl; import com.netflix.imflibrary.utils.FileByteRangeProvider; import org.testng.Assert; import org.testng.annotations.Test; import testUtils.TestHelper; import java.io.File; import java.util.UUID; @Test(groups = "unit") public cl...
4,962
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st2067_2/Application2CompositionTest.java
package com.netflix.imflibrary.st2067_2; import com.netflix.imflibrary.IMFErrorLogger; import com.netflix.imflibrary.IMFErrorLoggerImpl; import org.testng.Assert; import org.testng.annotations.Ignore; import org.testng.annotations.Test; import testUtils.TestHelper; import java.io.File; import java.io.IOException; @T...
4,963
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st2067_2/CompositionTest.java
package com.netflix.imflibrary.st2067_2; import com.netflix.imflibrary.IMFErrorLogger; import com.netflix.imflibrary.IMFErrorLoggerImpl; import com.netflix.imflibrary.utils.FileByteRangeProvider; import com.netflix.imflibrary.writerTools.CompositionPlaylistBuilder_2013; import com.netflix.imflibrary.writerTools.utils....
4,964
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st2067_2/IMPDeliveryTest.java
package com.netflix.imflibrary.st2067_2; import com.netflix.imflibrary.IMPDelivery; import com.netflix.imflibrary.InteroperableMasterPackage; import com.netflix.imflibrary.st0429_9.BasicMapProfileV2FileSet; import com.netflix.imflibrary.st0429_9.BasicMapProfileV2MappedFileSet; import org.testng.Assert; import org.test...
4,965
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st0429_8/PackingListTest.java
package com.netflix.imflibrary.st0429_8; import com.netflix.imflibrary.IMFErrorLoggerImpl; import org.testng.Assert; import org.testng.annotations.Test; import testUtils.TestHelper; import java.io.File; import java.util.UUID; @Test(groups="unit") public class PackingListTest { @Test public void testPackingLi...
4,966
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st0429_9/AssetMapTest.java
package com.netflix.imflibrary.st0429_9; import com.netflix.imflibrary.exceptions.IMFException; import org.smpte_ra.schemas._429_9._2007.am.AssetMapType; import org.smpte_ra.schemas._429_9._2007.am.AssetType; import org.smpte_ra.schemas._429_9._2007.am.ChunkType; import org.testng.Assert; import org.testng.annotations...
4,967
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st2067_201/IMPAnalyzerTest.java
package com.netflix.imflibrary.st2067_201; import com.netflix.imflibrary.utils.ErrorLogger; import org.testng.Assert; import org.testng.annotations.Test; import testUtils.TestHelper; import java.io.File; import java.io.IOException; import java.util.List; import java.util.Map; import static com.netflix.imflibrary.app...
4,968
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st2067_201/IABCompositionTest.java
package com.netflix.imflibrary.st2067_201; import com.netflix.imflibrary.IMFErrorLogger; import com.netflix.imflibrary.IMFErrorLoggerImpl; import com.netflix.imflibrary.st2067_2.ApplicationComposition; import com.netflix.imflibrary.st2067_2.ApplicationCompositionFactory; import com.netflix.imflibrary.st2067_2.Composit...
4,969
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st2067_201/IABMXFValidationTest.java
package com.netflix.imflibrary.st2067_201; import com.netflix.imflibrary.utils.ErrorLogger; import org.testng.Assert; import org.testng.annotations.Test; import testUtils.TestHelper; import java.io.File; import java.io.IOException; import java.util.List; import com.netflix.imflibrary.app.IMPAnalyzer; public class I...
4,970
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/writerTools/AssetMapBuilderFunctionalTest.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 applica...
4,971
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/writerTools/PackingListBuilderFunctionalTest.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 applica...
4,972
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/writerTools/IMPBuilderFunctionalTest.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 applica...
4,973
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/utils/UUIDHelperTest.java
package com.netflix.imflibrary.utils; import com.netflix.imflibrary.exceptions.IMFException; import org.testng.annotations.Test; @Test(groups = "unit") public class UUIDHelperTest { @Test(expectedExceptions = IMFException.class) public void testUUIDHelperBadInput() { UUIDHelper.fromUUIDAsURNString...
4,974
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/utils/DOMNodeObjectModelTest.java
package com.netflix.imflibrary.utils; import com.netflix.imflibrary.IMFErrorLogger; import com.netflix.imflibrary.IMFErrorLoggerImpl; import com.netflix.imflibrary.KLVPacket; import com.netflix.imflibrary.st0377.HeaderPartition; import com.netflix.imflibrary.st0377.PrimerPack; import com.netflix.imflibrary.st0377.head...
4,975
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/utils/FileDataProviderTest.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 applicable...
4,976
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/utils/FileByteRangeProviderTest.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 applicable...
4,977
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/utils/ByteArrayDataProviderTest.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 applicable...
4,978
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/utils/ResourceByteRangeProviderTest.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 applicable...
4,979
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/exceptions/IMFExceptionTest.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 applicable...
4,980
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/exceptions/TestException.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 applicable...
4,981
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/exceptions/MXFExceptionTest.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 applicable...
4,982
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st0377/IndexTableSegmentTest.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 applicable...
4,983
0
Create_ds/photon/src/test/java/com/netflix/imflibrary
Create_ds/photon/src/test/java/com/netflix/imflibrary/st0377/HeaderPartitionTest.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 applicable...
4,984
0
Create_ds/photon/src/test/java
Create_ds/photon/src/test/java/testUtils/TestHelper.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 applicable...
4,985
0
Create_ds/photon/src/test/java
Create_ds/photon/src/test/java/testUtils/ExceptionTester.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 applicable...
4,986
0
Create_ds/photon/src/main/java/com/netflix
Create_ds/photon/src/main/java/com/netflix/imflibrary/MXFOperationalPattern1A.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 applica...
4,987
0
Create_ds/photon/src/main/java/com/netflix
Create_ds/photon/src/main/java/com/netflix/imflibrary/KLVPacket.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 * * * * ...
4,988
0
Create_ds/photon/src/main/java/com/netflix
Create_ds/photon/src/main/java/com/netflix/imflibrary/MXFPropertyPopulator.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 applica...
4,989
0
Create_ds/photon/src/main/java/com/netflix
Create_ds/photon/src/main/java/com/netflix/imflibrary/JPEG2000.java
package com.netflix.imflibrary; import com.netflix.imflibrary.st0377.header.UL; public class JPEG2000 { public static final UL BROADCAST_PROFILE_NODE_UL = UL .fromULAsURNStringToUL("urn:smpte:ul:060e2b34.04010107.04010202.03010100"); public static final UL J2K_NODE_UL = UL.fromULAsURNStringToUL("...
4,990
0
Create_ds/photon/src/main/java/com/netflix
Create_ds/photon/src/main/java/com/netflix/imflibrary/IMPDelivery.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 applica...
4,991
0
Create_ds/photon/src/main/java/com/netflix
Create_ds/photon/src/main/java/com/netflix/imflibrary/InteroperableMasterPackage.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 applica...
4,992
0
Create_ds/photon/src/main/java/com/netflix
Create_ds/photon/src/main/java/com/netflix/imflibrary/IMFErrorLoggerImpl.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 applica...
4,993
0
Create_ds/photon/src/main/java/com/netflix
Create_ds/photon/src/main/java/com/netflix/imflibrary/IMPAsset.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 applica...
4,994
0
Create_ds/photon/src/main/java/com/netflix
Create_ds/photon/src/main/java/com/netflix/imflibrary/Colorimetry.java
package com.netflix.imflibrary; import com.netflix.imflibrary.st0377.header.GenericPictureEssenceDescriptor.*; import com.netflix.imflibrary.st0377.header.UL; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.stre...
4,995
0
Create_ds/photon/src/main/java/com/netflix
Create_ds/photon/src/main/java/com/netflix/imflibrary/IMFConstraints.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 applica...
4,996
0
Create_ds/photon/src/main/java/com/netflix
Create_ds/photon/src/main/java/com/netflix/imflibrary/OperationalPatternHelper.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 applica...
4,997
0
Create_ds/photon/src/main/java/com/netflix
Create_ds/photon/src/main/java/com/netflix/imflibrary/MXFDataDefinition.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 * * * * ...
4,998
0
Create_ds/photon/src/main/java/com/netflix
Create_ds/photon/src/main/java/com/netflix/imflibrary/MXFUID.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 applica...
4,999