diff --git "a/datasets/java/valid.jsonl" "b/datasets/java/valid.jsonl"
new file mode 100644--- /dev/null
+++ "b/datasets/java/valid.jsonl"
@@ -0,0 +1,5183 @@
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/io/CharSource.java", "func_name": "CharSource.copyTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies the contents of this source to the given sink.\n\n@return the number of characters copied\n@throws IOException if an I/O error occurs while reading from this source or writing to {@code\nsink}", "docstring_tokens": ["Copies", "the", "contents", "of", "this", "source", "to", "the", "given", "sink", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/io/CharSource.java#L208-L222", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/io/CharSource.java", "func_name": "CharSource.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the contents of this source as a string.\n\n@throws IOException if an I/O error occurs while reading from this source", "docstring_tokens": ["Reads", "the", "contents", "of", "this", "source", "as", "a", "string", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/io/CharSource.java#L229-L239", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/io/CharSource.java", "func_name": "CharSource.readLines", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads all the lines of this source as a list of strings. The returned list will be empty if\nthis source is empty.\n\n
Like {@link BufferedReader#readLine()}, this method considers a line to be a sequence of\ntext that is terminated by (but does not include) one of {@code \\r\\n}, {@code \\r} or {@code\n\\n}. If the source's content does not end in a line termination sequence, it is treated as if\nit does.\n\n@throws IOException if an I/O error occurs while reading from this source", "docstring_tokens": ["Reads", "all", "the", "lines", "of", "this", "source", "as", "a", "list", "of", "strings", ".", "The", "returned", "list", "will", "be", "empty", "if", "this", "source", "is", "empty", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/io/CharSource.java#L275-L290", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/io/ReaderInputStream.java", "func_name": "ReaderInputStream.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "buffer when possible.", "docstring_tokens": ["buffer", "when", "possible", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/io/ReaderInputStream.java#L124-L186", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/io/ReaderInputStream.java", "func_name": "ReaderInputStream.grow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new CharBuffer identical to buf, except twice the capacity.", "docstring_tokens": ["Returns", "a", "new", "CharBuffer", "identical", "to", "buf", "except", "twice", "the", "capacity", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/io/ReaderInputStream.java#L189-L195", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/io/ReaderInputStream.java", "func_name": "ReaderInputStream.readMoreChars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle the case of underflow caused by needing more input characters.", "docstring_tokens": ["Handle", "the", "case", "of", "underflow", "caused", "by", "needing", "more", "input", "characters", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/io/ReaderInputStream.java#L198-L225", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/io/ReaderInputStream.java", "func_name": "ReaderInputStream.startDraining", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Flips the buffer output buffer so we can start reading bytes from it. If we are starting to\ndrain because there was overflow, and there aren't actually any characters to drain, then the\noverflow must be due to a small output buffer.", "docstring_tokens": ["Flips", "the", "buffer", "output", "buffer", "so", "we", "can", "start", "reading", "bytes", "from", "it", ".", "If", "we", "are", "starting", "to", "drain", "because", "there", "was", "overflow", "and", "there", "aren", "t", "actually", "any", "characters", "to", "drain", "then", "the", "overflow", "must", "be", "due", "to", "a", "small", "output", "buffer", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/io/ReaderInputStream.java#L237-L244", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Iterables.java", "func_name": "Iterables.toArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies an iterable's elements into an array.\n\n@param iterable the iterable to copy\n@param type the type of the elements\n@return a newly-allocated array into which all the elements of the iterable have been copied", "docstring_tokens": ["Copies", "an", "iterable", "s", "elements", "into", "an", "array", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Iterables.java#L316-L319", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Iterables.java", "func_name": "Iterables.isEmpty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if the given iterable contains no elements.\n\n
There is no precise {@link Iterator} equivalent to this method, since one can only ask an\niterator whether it has any elements remaining (which one does using {@link\nIterator#hasNext}).\n\n
{@code Stream} equivalent: {@code !stream.findAny().isPresent()}\n\n@return {@code true} if the iterable contains no elements", "docstring_tokens": ["Determines", "if", "the", "given", "iterable", "contains", "no", "elements", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Iterables.java#L980-L985", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Iterables.java", "func_name": "Iterables.toIterator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Useful as a public method?", "docstring_tokens": ["Useful", "as", "a", "public", "method?"], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Iterables.java#L1018-L1025", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Iterators.java", "func_name": "Iterators.consumingForArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an Iterator that walks the specified array, nulling out elements behind it. This can\navoid memory leaks when an element is no longer necessary.\n\n
This is mainly just to avoid the intermediate ArrayDeque in ConsumingQueueIterator.", "docstring_tokens": ["Returns", "an", "Iterator", "that", "walks", "the", "specified", "array", "nulling", "out", "elements", "behind", "it", ".", "This", "can", "avoid", "memory", "leaks", "when", "an", "element", "is", "no", "longer", "necessary", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Iterators.java#L449-L469", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Iterators.java", "func_name": "Iterators.concatNoDefensiveCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Concats a varargs array of iterators without making a defensive copy of the array.", "docstring_tokens": ["Concats", "a", "varargs", "array", "of", "iterators", "without", "making", "a", "defensive", "copy", "of", "the", "array", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Iterators.java#L550-L555", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Iterators.java", "func_name": "Iterators.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clears the iterator using its remove method.", "docstring_tokens": ["Clears", "the", "iterator", "using", "its", "remove", "method", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Iterators.java#L988-L994", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/io/ByteSink.java", "func_name": "ByteSink.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes all the given bytes to this sink.\n\n@throws IOException if an I/O occurs while writing to this sink", "docstring_tokens": ["Writes", "all", "the", "given", "bytes", "to", "this", "sink", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/io/ByteSink.java#L96-L109", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/cache/CacheBuilderSpec.java", "func_name": "CacheBuilderSpec.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a CacheBuilderSpec from a string.\n\n@param cacheBuilderSpecification the string form", "docstring_tokens": ["Creates", "a", "CacheBuilderSpec", "from", "a", "string", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/cache/CacheBuilderSpec.java#L136-L158", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/cache/CacheBuilderSpec.java", "func_name": "CacheBuilderSpec.toCacheBuilder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a CacheBuilder configured according to this instance's specification.", "docstring_tokens": ["Returns", "a", "CacheBuilder", "configured", "according", "to", "this", "instance", "s", "specification", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/cache/CacheBuilderSpec.java#L167-L216", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/base/Joiner.java", "func_name": "Joiner.skipNulls", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a joiner with the same behavior as this joiner, except automatically skipping over any\nprovided null elements.", "docstring_tokens": ["Returns", "a", "joiner", "with", "the", "same", "behavior", "as", "this", "joiner", "except", "automatically", "skipping", "over", "any", "provided", "null", "elements", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/base/Joiner.java#L242-L275", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/primitives/ImmutableIntArray.java", "func_name": "ImmutableIntArray.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "okay since we have to copy the just-created array anyway.", "docstring_tokens": ["okay", "since", "we", "have", "to", "copy", "the", "just", "-", "created", "array", "anyway", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/primitives/ImmutableIntArray.java#L138-L145", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/primitives/ImmutableIntArray.java", "func_name": "ImmutableIntArray.subArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new immutable array containing the values in the specified range.\n\n
Performance note: The returned array has the same full memory footprint as this one\ndoes (no actual copying is performed). To reduce memory usage, use {@code subArray(start,\nend).trimmed()}.", "docstring_tokens": ["Returns", "a", "new", "immutable", "array", "containing", "the", "values", "in", "the", "specified", "range", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/primitives/ImmutableIntArray.java#L436-L441", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/hash/HashingInputStream.java", "func_name": "HashingInputStream.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the next byte of data from the underlying input stream and updates the hasher with the\nbyte read.", "docstring_tokens": ["Reads", "the", "next", "byte", "of", "data", "from", "the", "underlying", "input", "stream", "and", "updates", "the", "hasher", "with", "the", "byte", "read", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/hash/HashingInputStream.java#L50-L58", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/hash/HashingInputStream.java", "func_name": "HashingInputStream.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the specified bytes of data from the underlying input stream and updates the hasher with\nthe bytes read.", "docstring_tokens": ["Reads", "the", "specified", "bytes", "of", "data", "from", "the", "underlying", "input", "stream", "and", "updates", "the", "hasher", "with", "the", "bytes", "read", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/hash/HashingInputStream.java#L64-L72", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/Serialization.java", "func_name": "Serialization.writeMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores the contents of a map in an output stream, as part of serialization. It does not support\nconcurrent maps whose content may change while the method is running.\n\n
The serialized output consists of the number of entries, first key, first value, second key,\nsecond value, and so on.", "docstring_tokens": ["Stores", "the", "contents", "of", "a", "map", "in", "an", "output", "stream", "as", "part", "of", "serialization", ".", "It", "does", "not", "support", "concurrent", "maps", "whose", "content", "may", "change", "while", "the", "method", "is", "running", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/Serialization.java#L57-L63", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/Serialization.java", "func_name": "Serialization.writeMultiset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores the contents of a multiset in an output stream, as part of serialization. It does not\nsupport concurrent multisets whose content may change while the method is running.\n\n
The serialized output consists of the number of distinct elements, the first element, its\ncount, the second element, its count, and so on.", "docstring_tokens": ["Stores", "the", "contents", "of", "a", "multiset", "in", "an", "output", "stream", "as", "part", "of", "serialization", ".", "It", "does", "not", "support", "concurrent", "multisets", "whose", "content", "may", "change", "while", "the", "method", "is", "running", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/Serialization.java#L97-L105", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/Serialization.java", "func_name": "Serialization.getFieldSetter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Secret sauce for setting final fields; don't make it public.", "docstring_tokens": ["Secret", "sauce", "for", "setting", "final", "fields", ";", "don", "t", "make", "it", "public", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/Serialization.java#L185-L192", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/base/Stopwatch.java", "func_name": "Stopwatch.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts the stopwatch.\n\n@return this {@code Stopwatch} instance\n@throws IllegalStateException if the stopwatch is already running.", "docstring_tokens": ["Starts", "the", "stopwatch", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/base/Stopwatch.java#L148-L154", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java", "func_name": "ConcurrentHashMultiset.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a number of occurrences of the specified element to this multiset.\n\n@param element the element to add\n@param occurrences the number of occurrences to add\n@return the previous count of the element before the operation; possibly zero\n@throws IllegalArgumentException if {@code occurrences} is negative, or if the resulting amount\nwould exceed {@link Integer#MAX_VALUE}", "docstring_tokens": ["Adds", "a", "number", "of", "occurrences", "of", "the", "specified", "element", "to", "this", "multiset", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java#L201-L248", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/CompactHashSet.java", "func_name": "CompactHashSet.resizeMeMaybe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resizes the entries storage if necessary.", "docstring_tokens": ["Resizes", "the", "entries", "storage", "if", "necessary", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/CompactHashSet.java#L283-L294", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/net/InetAddresses.java", "func_name": "InetAddresses.bytesToInetAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a byte array into an InetAddress.\n\n
{@link InetAddress#getByAddress} is documented as throwing a checked exception \"if IP\naddress is of illegal length.\" We replace it with an unchecked exception, for use by callers\nwho already know that addr is an array of length 4 or 16.\n\n@param addr the raw 4-byte or 16-byte IP address in big-endian order\n@return an InetAddress object created from the raw IP address", "docstring_tokens": ["Convert", "a", "byte", "array", "into", "an", "InetAddress", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/net/InetAddresses.java#L317-L323", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/net/InetAddresses.java", "func_name": "InetAddresses.compressLongestRunOfZeroes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Identify and mark the longest run of zeroes in an IPv6 address.\n\n
Only runs of two or more hextets are considered. In case of a tie, the leftmost run wins. If\na qualifying run is found, its hextets are replaced by the sentinel value -1.\n\n@param hextets {@code int[]} mutable array of eight 16-bit hextets", "docstring_tokens": ["Identify", "and", "mark", "the", "longest", "run", "of", "zeroes", "in", "an", "IPv6", "address", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/net/InetAddresses.java#L364-L385", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/net/InetAddresses.java", "func_name": "InetAddresses.hextetsToIPv6String", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a list of hextets into a human-readable IPv6 address.\n\n
In order for \"::\" compression to work, the input should contain negative sentinel values in\nplace of the elided zeroes.\n\n@param hextets {@code int[]} array of eight 16-bit hextets, or -1s", "docstring_tokens": ["Convert", "a", "list", "of", "hextets", "into", "a", "human", "-", "readable", "IPv6", "address", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/net/InetAddresses.java#L395-L417", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/net/InetAddresses.java", "func_name": "InetAddresses.forUriString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an InetAddress representing the literal IPv4 or IPv6 host portion of a URL, encoded in\nthe format specified by RFC 3986 section 3.2.2.\n\n
This function is similar to {@link InetAddresses#forString(String)}, however, it requires\nthat IPv6 addresses are surrounded by square brackets.\n\n
This function is the inverse of {@link InetAddresses#toUriString(java.net.InetAddress)}.\n\n@param hostAddr A RFC 3986 section 3.2.2 encoded IPv4 or IPv6 address\n@return an InetAddress representing the address in {@code hostAddr}\n@throws IllegalArgumentException if {@code hostAddr} is not a valid IPv4 address, or IPv6\naddress surrounded by square brackets", "docstring_tokens": ["Returns", "an", "InetAddress", "representing", "the", "literal", "IPv4", "or", "IPv6", "host", "portion", "of", "a", "URL", "encoded", "in", "the", "format", "specified", "by", "RFC", "3986", "section", "3", ".", "2", ".", "2", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/net/InetAddresses.java#L459-L466", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/net/InetAddresses.java", "func_name": "InetAddresses.isCompatIPv4Address", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluates whether the argument is an IPv6 \"compat\" address.\n\n
An \"IPv4 compatible\", or \"compat\", address is one with 96 leading bits of zero, with the\nremaining 32 bits interpreted as an IPv4 address. These are conventionally represented in\nstring literals as {@code \"::192.168.0.1\"}, though {@code \"::c0a8:1\"} is also considered an\nIPv4 compatible address (and equivalent to {@code \"::192.168.0.1\"}).\n\n
For more on IPv4 compatible addresses see section 2.5.5.1 of RFC 4291.\n\n
NOTE: This method is different from {@link Inet6Address#isIPv4CompatibleAddress} in that it\nmore correctly classifies {@code \"::\"} and {@code \"::1\"} as proper IPv6 addresses (which they\nare), NOT IPv4 compatible addresses (which they are generally NOT considered to be).\n\n@param ip {@link Inet6Address} to be examined for embedded IPv4 compatible address format\n@return {@code true} if the argument is a valid \"compat\" address", "docstring_tokens": ["Evaluates", "whether", "the", "argument", "is", "an", "IPv6", "compat", "address", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/net/InetAddresses.java#L521-L535", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/net/InetAddresses.java", "func_name": "InetAddresses.getCompatIPv4Address", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the IPv4 address embedded in an IPv4 compatible address.\n\n@param ip {@link Inet6Address} to be examined for an embedded IPv4 address\n@return {@link Inet4Address} of the embedded IPv4 address\n@throws IllegalArgumentException if the argument is not a valid IPv4 compatible address", "docstring_tokens": ["Returns", "the", "IPv4", "address", "embedded", "in", "an", "IPv4", "compatible", "address", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/net/InetAddresses.java#L544-L549", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/net/InetAddresses.java", "func_name": "InetAddresses.isTeredoAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluates whether the argument is a Teredo address.\n\n
Teredo addresses begin with the {@code \"2001::/32\"} prefix.\n\n@param ip {@link Inet6Address} to be examined for Teredo address format\n@return {@code true} if the argument is a Teredo address", "docstring_tokens": ["Evaluates", "whether", "the", "argument", "is", "a", "Teredo", "address", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/net/InetAddresses.java#L651-L657", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/net/InetAddresses.java", "func_name": "InetAddresses.isIsatapAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluates whether the argument is an ISATAP address.\n\n
From RFC 5214: \"ISATAP interface identifiers are constructed in Modified EUI-64 format [...]\nby concatenating the 24-bit IANA OUI (00-00-5E), the 8-bit hexadecimal value 0xFE, and a 32-bit\nIPv4 address in network byte order [...]\"\n\n
For more on ISATAP addresses see section 6.1 of RFC 5214.\n\n@param ip {@link Inet6Address} to be examined for ISATAP address format\n@return {@code true} if the argument is an ISATAP address", "docstring_tokens": ["Evaluates", "whether", "the", "argument", "is", "an", "ISATAP", "address", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/net/InetAddresses.java#L700-L718", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/net/InetAddresses.java", "func_name": "InetAddresses.getIsatapIPv4Address", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the IPv4 address embedded in an ISATAP address.\n\n@param ip {@link Inet6Address} to be examined for embedded IPv4 in ISATAP address\n@return {@link Inet4Address} of embedded IPv4 in an ISATAP address\n@throws IllegalArgumentException if the argument is not a valid IPv6 ISATAP address", "docstring_tokens": ["Returns", "the", "IPv4", "address", "embedded", "in", "an", "ISATAP", "address", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/net/InetAddresses.java#L727-L731", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/net/InetAddresses.java", "func_name": "InetAddresses.getEmbeddedIPv4ClientAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Examines the Inet6Address to extract the embedded IPv4 client address if the InetAddress is an\nIPv6 address of one of the specified address types that contain an embedded IPv4 address.\n\n
NOTE: ISATAP addresses are explicitly excluded from this method due to their trivial\nspoofability. With other transition addresses spoofing involves (at least) infection of one's\nBGP routing table.\n\n@param ip {@link Inet6Address} to be examined for embedded IPv4 client address\n@return {@link Inet4Address} of embedded IPv4 client address\n@throws IllegalArgumentException if the argument does not have a valid embedded IPv4 address", "docstring_tokens": ["Examines", "the", "Inet6Address", "to", "extract", "the", "embedded", "IPv4", "client", "address", "if", "the", "InetAddress", "is", "an", "IPv6", "address", "of", "one", "of", "the", "specified", "address", "types", "that", "contain", "an", "embedded", "IPv4", "address", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/net/InetAddresses.java#L761-L775", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/net/InetAddresses.java", "func_name": "InetAddresses.isMappedIPv4Address", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluates whether the argument is an \"IPv4 mapped\" IPv6 address.\n\n
An \"IPv4 mapped\" address is anything in the range ::ffff:0:0/96 (sometimes written as\n::ffff:0.0.0.0/96), with the last 32 bits interpreted as an IPv4 address.\n\n
For more on IPv4 mapped addresses see section 2.5.5.2 of RFC 4291.\n\n
Note: This method takes a {@code String} argument because {@link InetAddress} automatically\ncollapses mapped addresses to IPv4. (It is actually possible to avoid this using one of the\nobscure {@link Inet6Address} methods, but it would be unwise to depend on such a\npoorly-documented feature.)\n\n@param ipString {@code String} to be examined for embedded IPv4-mapped IPv6 address format\n@return {@code true} if the argument is a valid \"mapped\" address\n@since 10.0", "docstring_tokens": ["Evaluates", "whether", "the", "argument", "is", "an", "IPv4", "mapped", "IPv6", "address", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/net/InetAddresses.java#L795-L811", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/net/InetAddresses.java", "func_name": "InetAddresses.decrement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new InetAddress that is one less than the passed in address. This method works for\nboth IPv4 and IPv6 addresses.\n\n@param address the InetAddress to decrement\n@return a new InetAddress that is one less than the passed in address\n@throws IllegalArgumentException if InetAddress is at the beginning of its range\n@since 18.0", "docstring_tokens": ["Returns", "a", "new", "InetAddress", "that", "is", "one", "less", "than", "the", "passed", "in", "address", ".", "This", "method", "works", "for", "both", "IPv4", "and", "IPv6", "addresses", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/net/InetAddresses.java#L935-L947", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/Files.java", "func_name": "Files.newReader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a buffered reader that reads from a file using the given character set.\n\n
{@link java.nio.file.Path} equivalent: {@link\njava.nio.file.Files#newBufferedReader(java.nio.file.Path, Charset)}.\n\n@param file the file to read from\n@param charset the charset used to decode the input stream; see {@link StandardCharsets} for\nhelpful predefined constants\n@return the buffered reader", "docstring_tokens": ["Returns", "a", "buffered", "reader", "that", "reads", "from", "a", "file", "using", "the", "given", "character", "set", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/Files.java#L85-L90", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/Files.java", "func_name": "Files.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Overwrites a file with the contents of a byte array.\n\n
{@link java.nio.file.Path} equivalent: {@link\njava.nio.file.Files#write(java.nio.file.Path, byte[], java.nio.file.OpenOption...)}.\n\n@param from the bytes to write\n@param to the destination file\n@throws IOException if an I/O error occurs", "docstring_tokens": ["Overwrites", "a", "file", "with", "the", "contents", "of", "a", "byte", "array", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/Files.java#L267-L270", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/Files.java", "func_name": "Files.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies all bytes from a file to an output stream.\n\n
{@link java.nio.file.Path} equivalent: {@link\njava.nio.file.Files#copy(java.nio.file.Path, OutputStream)}.\n\n@param from the source file\n@param to the output stream\n@throws IOException if an I/O error occurs", "docstring_tokens": ["Copies", "all", "bytes", "from", "a", "file", "to", "an", "output", "stream", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/Files.java#L299-L302", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/Files.java", "func_name": "Files.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies all the bytes from one file to another.\n\n
Copying is not an atomic operation - in the case of an I/O error, power loss, process\ntermination, or other problems, {@code to} may not be a complete copy of {@code from}. If you\nneed to guard against those conditions, you should employ other file-level synchronization.\n\n
Warning: If {@code to} represents an existing file, that file will be overwritten\nwith the contents of {@code from}. If {@code to} and {@code from} refer to the same\nfile, the contents of that file will be deleted.\n\n
{@link java.nio.file.Path} equivalent: {@link\njava.nio.file.Files#copy(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption...)}.\n\n@param from the source file\n@param to the destination file\n@throws IOException if an I/O error occurs\n@throws IllegalArgumentException if {@code from.equals(to)}", "docstring_tokens": ["Copies", "all", "the", "bytes", "from", "one", "file", "to", "another", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/Files.java#L323-L327", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/Files.java", "func_name": "Files.touch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an empty file or updates the last updated timestamp on the same as the unix command of\nthe same name.\n\n@param file the file to create or update\n@throws IOException if an I/O error occurs", "docstring_tokens": ["Creates", "an", "empty", "file", "or", "updates", "the", "last", "updated", "timestamp", "on", "the", "same", "as", "the", "unix", "command", "of", "the", "same", "name", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/Files.java#L440-L447", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/Files.java", "func_name": "Files.readFirstLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the first line from a file. The line does not include line-termination characters, but\ndoes include other leading and trailing whitespace.\n\n@param file the file to read from\n@param charset the charset used to decode the input stream; see {@link StandardCharsets} for\nhelpful predefined constants\n@return the first line, or null if the file is empty\n@throws IOException if an I/O error occurs\n@deprecated Prefer {@code asCharSource(file, charset).readFirstLine()}. This method is\nscheduled to be removed in January 2019.", "docstring_tokens": ["Reads", "the", "first", "line", "from", "a", "file", ".", "The", "line", "does", "not", "include", "line", "-", "termination", "characters", "but", "does", "include", "other", "leading", "and", "trailing", "whitespace", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/Files.java#L518-L523", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/ImmutableBiMap.java", "func_name": "ImmutableBiMap.builderWithExpectedSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new builder, expecting the specified number of entries to be added.\n\n
If {@code expectedSize} is exactly the number of entries added to the builder before {@link\nBuilder#build} is called, the builder is likely to perform better than an unsized {@link\n#builder()} would have.\n\n
It is not specified if any performance benefits apply if {@code expectedSize} is close to,\nbut not exactly, the number of entries added to the builder.\n\n@since 23.1", "docstring_tokens": ["Returns", "a", "new", "builder", "expecting", "the", "specified", "number", "of", "entries", "to", "be", "added", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/ImmutableBiMap.java#L135-L139", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/ImmutableBiMap.java", "func_name": "ImmutableBiMap.forcePut", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Guaranteed to throw an exception and leave the bimap unmodified.\n\n@throws UnsupportedOperationException always\n@deprecated Unsupported operation.", "docstring_tokens": ["Guaranteed", "to", "throw", "an", "exception", "and", "leave", "the", "bimap", "unmodified", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/ImmutableBiMap.java#L401-L406", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/MinMaxPriorityQueue.java", "func_name": "MinMaxPriorityQueue.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new min-max priority queue using natural order, no maximum size, and initially\ncontaining the given elements.", "docstring_tokens": ["Creates", "a", "new", "min", "-", "max", "priority", "queue", "using", "natural", "order", "no", "maximum", "size", "and", "initially", "containing", "the", "given", "elements", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/MinMaxPriorityQueue.java#L116-L119", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/MinMaxPriorityQueue.java", "func_name": "MinMaxPriorityQueue.calculateNewCapacity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns ~2x the old capacity if small; ~1.5x otherwise.", "docstring_tokens": ["Returns", "~2x", "the", "old", "capacity", "if", "small", ";", "~1", ".", "5x", "otherwise", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/MinMaxPriorityQueue.java#L945-L950", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/hash/Murmur3_32HashFunction.java", "func_name": "Murmur3_32HashFunction.fmix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finalization mix - force all bits of a hash block to avalanche", "docstring_tokens": ["Finalization", "mix", "-", "force", "all", "bits", "of", "a", "hash", "block", "to", "avalanche"], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/hash/Murmur3_32HashFunction.java#L249-L257", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/graph/ElementOrder.java", "func_name": "ElementOrder.natural", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an instance which specifies that the natural ordering of the elements is guaranteed.", "docstring_tokens": ["Returns", "an", "instance", "which", "specifies", "that", "the", "natural", "ordering", "of", "the", "elements", "is", "guaranteed", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/graph/ElementOrder.java#L89-L91", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.enter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enters this monitor. Blocks at most the given time.\n\n@return whether the monitor was entered", "docstring_tokens": ["Enters", "this", "monitor", ".", "Blocks", "at", "most", "the", "given", "time", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L371-L394", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.enterInterruptibly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enters this monitor. Blocks at most the given time, and may be interrupted.\n\n@return whether the monitor was entered\n@throws InterruptedException if interrupted while waiting", "docstring_tokens": ["Enters", "this", "monitor", ".", "Blocks", "at", "most", "the", "given", "time", "and", "may", "be", "interrupted", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L411-L414", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.enterWhen", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enters this monitor when the guard is satisfied. Blocks indefinitely, but may be interrupted.\n\n@throws InterruptedException if interrupted while waiting", "docstring_tokens": ["Enters", "this", "monitor", "when", "the", "guard", "is", "satisfied", ".", "Blocks", "indefinitely", "but", "may", "be", "interrupted", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L432-L451", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.enterWhen", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enters this monitor when the guard is satisfied. Blocks at most the given time, including both\nthe time to acquire the lock and the time to wait for the guard to be satisfied, and may be\ninterrupted.\n\n@return whether the monitor was entered, which guarantees that the guard is now satisfied\n@throws InterruptedException if interrupted while waiting", "docstring_tokens": ["Enters", "this", "monitor", "when", "the", "guard", "is", "satisfied", ".", "Blocks", "at", "most", "the", "given", "time", "including", "both", "the", "time", "to", "acquire", "the", "lock", "and", "the", "time", "to", "wait", "for", "the", "guard", "to", "be", "satisfied", "and", "may", "be", "interrupted", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L461-L511", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.enterWhenUninterruptibly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enters this monitor when the guard is satisfied. Blocks indefinitely.", "docstring_tokens": ["Enters", "this", "monitor", "when", "the", "guard", "is", "satisfied", ".", "Blocks", "indefinitely", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L514-L533", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.enterIf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enters this monitor if the guard is satisfied. Blocks indefinitely acquiring the lock, but does\nnot wait for the guard to be satisfied.\n\n@return whether the monitor was entered, which guarantees that the guard is now satisfied", "docstring_tokens": ["Enters", "this", "monitor", "if", "the", "guard", "is", "satisfied", ".", "Blocks", "indefinitely", "acquiring", "the", "lock", "but", "does", "not", "wait", "for", "the", "guard", "to", "be", "satisfied", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L608-L623", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.enterIf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enters this monitor if the guard is satisfied. Blocks at most the given time acquiring the\nlock, but does not wait for the guard to be satisfied.\n\n@return whether the monitor was entered, which guarantees that the guard is now satisfied", "docstring_tokens": ["Enters", "this", "monitor", "if", "the", "guard", "is", "satisfied", ".", "Blocks", "at", "most", "the", "given", "time", "acquiring", "the", "lock", "but", "does", "not", "wait", "for", "the", "guard", "to", "be", "satisfied", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L631-L648", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.enterIfInterruptibly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enters this monitor if the guard is satisfied. Blocks indefinitely acquiring the lock, but does\nnot wait for the guard to be satisfied, and may be interrupted.\n\n@return whether the monitor was entered, which guarantees that the guard is now satisfied\n@throws InterruptedException if interrupted while waiting", "docstring_tokens": ["Enters", "this", "monitor", "if", "the", "guard", "is", "satisfied", ".", "Blocks", "indefinitely", "acquiring", "the", "lock", "but", "does", "not", "wait", "for", "the", "guard", "to", "be", "satisfied", "and", "may", "be", "interrupted", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L657-L672", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.tryEnterIf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enters this monitor if it is possible to do so immediately and the guard is satisfied. Does not\nblock acquiring the lock and does not wait for the guard to be satisfied.\n\n
Note: This method disregards the fairness setting of this monitor.\n\n@return whether the monitor was entered, which guarantees that the guard is now satisfied", "docstring_tokens": ["Enters", "this", "monitor", "if", "it", "is", "possible", "to", "do", "so", "immediately", "and", "the", "guard", "is", "satisfied", ".", "Does", "not", "block", "acquiring", "the", "lock", "and", "does", "not", "wait", "for", "the", "guard", "to", "be", "satisfied", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L709-L726", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.waitFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Waits for the guard to be satisfied. Waits indefinitely, but may be interrupted. May be called\nonly by a thread currently occupying this monitor.\n\n@throws InterruptedException if interrupted while waiting", "docstring_tokens": ["Waits", "for", "the", "guard", "to", "be", "satisfied", ".", "Waits", "indefinitely", "but", "may", "be", "interrupted", ".", "May", "be", "called", "only", "by", "a", "thread", "currently", "occupying", "this", "monitor", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L734-L741", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.waitForUninterruptibly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Waits for the guard to be satisfied. Waits indefinitely. May be called only by a thread\ncurrently occupying this monitor.", "docstring_tokens": ["Waits", "for", "the", "guard", "to", "be", "satisfied", ".", "Waits", "indefinitely", ".", "May", "be", "called", "only", "by", "a", "thread", "currently", "occupying", "this", "monitor", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L769-L776", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.waitForUninterruptibly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Waits for the guard to be satisfied. Waits at most the given time. May be called only by a\nthread currently occupying this monitor.\n\n@return whether the guard is now satisfied", "docstring_tokens": ["Waits", "for", "the", "guard", "to", "be", "satisfied", ".", "Waits", "at", "most", "the", "given", "time", ".", "May", "be", "called", "only", "by", "a", "thread", "currently", "occupying", "this", "monitor", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L784-L814", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.getWaitQueueLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an estimate of the number of threads waiting for the given guard to become satisfied.\nNote that because timeouts and interrupts may occur at any time, the estimate serves only as an\nupper bound on the actual number of waiters. This method is designed for use in monitoring of\nthe system state, not for synchronization control.", "docstring_tokens": ["Returns", "an", "estimate", "of", "the", "number", "of", "threads", "waiting", "for", "the", "given", "guard", "to", "become", "satisfied", ".", "Note", "that", "because", "timeouts", "and", "interrupts", "may", "occur", "at", "any", "time", "the", "estimate", "serves", "only", "as", "an", "upper", "bound", "on", "the", "actual", "number", "of", "waiters", ".", "This", "method", "is", "designed", "for", "use", "in", "monitoring", "of", "the", "system", "state", "not", "for", "synchronization", "control", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L904-L914", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.signalNextWaiter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Signals some other thread waiting on a satisfied guard, if one exists.\n\n
We manage calls to this method carefully, to signal only when necessary, but never losing a\nsignal, which is the classic problem of this kind of concurrency construct. We must signal if\nthe current thread is about to relinquish the lock and may have changed the state protected by\nthe monitor, thereby causing some guard to be satisfied.\n\n
In addition, any thread that has been signalled when its guard was satisfied acquires the\nresponsibility of signalling the next thread when it again relinquishes the lock. Unlike a\nnormal Condition, there is no guarantee that an interrupted thread has not been signalled,\nsince the concurrency control must manage multiple Conditions. So this method must generally be\ncalled when waits are interrupted.\n\n
On the other hand, if a signalled thread wakes up to discover that its guard is still not\nsatisfied, it does *not* need to call this method before returning to wait. This can only\nhappen due to spurious wakeup (ignorable) or another thread acquiring the lock before the\ncurrent thread can and returning the guard to the unsatisfied state. In the latter case the\nother thread (last thread modifying the state protected by the monitor) takes over the\nresponsibility of signalling the next waiter.\n\n
This method must not be called from within a beginWaitingFor/endWaitingFor block, or else\nthe current thread's guard might be mistakenly signalled, leading to a lost signal.", "docstring_tokens": ["Signals", "some", "other", "thread", "waiting", "on", "a", "satisfied", "guard", "if", "one", "exists", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L980-L988", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.signalAllWaiters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Signals all threads waiting on guards.", "docstring_tokens": ["Signals", "all", "threads", "waiting", "on", "guards", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L1023-L1028", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.beginWaitingFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Records that the current thread is about to wait on the specified guard.", "docstring_tokens": ["Records", "that", "the", "current", "thread", "is", "about", "to", "wait", "on", "the", "specified", "guard", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L1031-L1039", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.endWaitingFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Records that the current thread is no longer waiting on the specified guard.", "docstring_tokens": ["Records", "that", "the", "current", "thread", "is", "no", "longer", "waiting", "on", "the", "specified", "guard", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L1042-L1059", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/Monitor.java", "func_name": "Monitor.awaitNanos", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Caller should check before calling that guard is not satisfied.", "docstring_tokens": ["Caller", "should", "check", "before", "calling", "that", "guard", "is", "not", "satisfied", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/Monitor.java#L1098-L1122", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/MoreExecutors.java", "func_name": "MoreExecutors.shutdownAndAwaitTermination", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shuts down the given executor service gradually, first disabling new submissions and later, if\nnecessary, cancelling remaining tasks.\n\n
The method takes the following steps:\n\n
\n
calls {@link ExecutorService#shutdown()}, disabling acceptance of new submitted tasks.\n
awaits executor service termination for half of the specified timeout.\n
if the timeout expires, it calls {@link ExecutorService#shutdownNow()}, cancelling\npending tasks and interrupting running tasks.\n
awaits executor service termination for the other half of the specified timeout.\n
\n\n
If, at any step of the process, the calling thread is interrupted, the method calls {@link\nExecutorService#shutdownNow()} and returns.\n\n@param service the {@code ExecutorService} to shut down\n@param timeout the maximum time to wait for the {@code ExecutorService} to terminate\n@param unit the time unit of the timeout argument\n@return {@code true} if the {@code ExecutorService} was terminated successfully, {@code false}\nif the call timed out or was interrupted\n@since 17.0", "docstring_tokens": ["Shuts", "down", "the", "given", "executor", "service", "gradually", "first", "disabling", "new", "submissions", "and", "later", "if", "necessary", "cancelling", "remaining", "tasks", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/MoreExecutors.java#L931-L955", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/CharSink.java", "func_name": "CharSink.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the given character sequence to this sink.\n\n@throws IOException if an I/O error while writing to this sink", "docstring_tokens": ["Writes", "the", "given", "character", "sequence", "to", "this", "sink", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/CharSink.java#L92-L105", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/util/concurrent/ExecutionList.java", "func_name": "ExecutionList.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Runs this execution list, executing all existing pairs in the order they were added. However,\nnote that listeners added after this point may be executed before those previously added, and\nnote that the execution order of all listeners is ultimately chosen by the implementations of\nthe supplied executors.\n\n
This method is idempotent. Calling it several times in parallel is semantically equivalent\nto calling it exactly once.\n\n@since 10.0 (present in 1.0 as {@code run})", "docstring_tokens": ["Runs", "this", "execution", "list", "executing", "all", "existing", "pairs", "in", "the", "order", "they", "were", "added", ".", "However", "note", "that", "listeners", "added", "after", "this", "point", "may", "be", "executed", "before", "those", "previously", "added", "and", "note", "that", "the", "execution", "order", "of", "all", "listeners", "is", "ultimately", "chosen", "by", "the", "implementations", "of", "the", "supplied", "executors", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/util/concurrent/ExecutionList.java#L101-L133", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/hash/LittleEndianByteArray.java", "func_name": "LittleEndianByteArray.load64Safely", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Similar to load64, but allows offset + 8 > input.length, padding the result with zeroes. This\nhas to explicitly reverse the order of the bytes as it packs them into the result which makes\nit slower than the native version.\n\n@param input the input bytes\n@param offset the offset into the array at which to start reading\n@param length the number of bytes from the input to read\n@return a long of a concatenated 8 bytes", "docstring_tokens": ["Similar", "to", "load64", "but", "allows", "offset", "+", "8", ">", "input", ".", "length", "padding", "the", "result", "with", "zeroes", ".", "This", "has", "to", "explicitly", "reverse", "the", "order", "of", "the", "bytes", "as", "it", "packs", "them", "into", "the", "result", "which", "makes", "it", "slower", "than", "the", "native", "version", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/hash/LittleEndianByteArray.java#L57-L69", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/hash/LittleEndianByteArray.java", "func_name": "LittleEndianByteArray.store64", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Store 8 bytes into the provided array at the indicated offset, using the value provided.\n\n@param sink the output byte array\n@param offset the offset into the array at which to start writing\n@param value the value to write", "docstring_tokens": ["Store", "8", "bytes", "into", "the", "provided", "array", "at", "the", "indicated", "offset", "using", "the", "value", "provided", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/hash/LittleEndianByteArray.java#L78-L83", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/hash/LittleEndianByteArray.java", "func_name": "LittleEndianByteArray.load32", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load 4 bytes from the provided array at the indicated offset.\n\n@param source the input bytes\n@param offset the offset into the array at which to start\n@return the value found in the array in the form of a long", "docstring_tokens": ["Load", "4", "bytes", "from", "the", "provided", "array", "at", "the", "indicated", "offset", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/hash/LittleEndianByteArray.java#L92-L98", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/net/MediaType.java", "func_name": "MediaType.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new media type with the given type and subtype.\n\n@throws IllegalArgumentException if type or subtype is invalid or if a wildcard is used for the\ntype, but not the subtype.", "docstring_tokens": ["Creates", "a", "new", "media", "type", "with", "the", "given", "type", "and", "subtype", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/net/MediaType.java#L845-L849", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/net/MediaType.java", "func_name": "MediaType.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a media type from its string representation.\n\n@throws IllegalArgumentException if the input is not parsable", "docstring_tokens": ["Parses", "a", "media", "type", "from", "its", "string", "representation", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/net/MediaType.java#L930-L967", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/reflect/TypeCapture.java", "func_name": "TypeCapture.capture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the captured type.", "docstring_tokens": ["Returns", "the", "captured", "type", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/reflect/TypeCapture.java#L30-L34", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Sets.java", "func_name": "Sets.removeAllImpl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove each element in an iterable from a set.", "docstring_tokens": ["Remove", "each", "element", "in", "an", "iterable", "from", "a", "set", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Sets.java#L1813-L1819", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/escape/CharEscaper.java", "func_name": "CharEscaper.escape", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the escaped form of a given literal string.\n\n@param string the literal string to be escaped\n@return the escaped form of {@code string}\n@throws NullPointerException if {@code string} is null", "docstring_tokens": ["Returns", "the", "escaped", "form", "of", "a", "given", "literal", "string", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/escape/CharEscaper.java#L55-L66", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/escape/CharEscaper.java", "func_name": "CharEscaper.growBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to grow the character buffer as needed, this only happens once in a while so it's\nok if it's in a method call. If the index passed in is 0 then no copying will be done.", "docstring_tokens": ["Helper", "method", "to", "grow", "the", "character", "buffer", "as", "needed", "this", "only", "happens", "once", "in", "a", "while", "so", "it", "s", "ok", "if", "it", "s", "in", "a", "method", "call", ".", "If", "the", "index", "passed", "in", "is", "0", "then", "no", "copying", "will", "be", "done", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/escape/CharEscaper.java#L162-L171", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/cache/CacheBuilder.java", "func_name": "CacheBuilder.concurrencyLevel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Guides the allowed concurrency among update operations. Used as a hint for internal sizing. The\ntable is internally partitioned to try to permit the indicated number of concurrent updates\nwithout contention. Because assignment of entries to these partitions is not necessarily\nuniform, the actual concurrency observed may vary. Ideally, you should choose a value to\naccommodate as many threads as will ever concurrently modify the table. Using a significantly\nhigher value than you need can waste space and time, and a significantly lower value can lead\nto thread contention. But overestimates and underestimates within an order of magnitude do not\nusually have much noticeable impact. A value of one permits only one thread to modify the cache\nat a time, but since read operations and cache loading computations can proceed concurrently,\nthis still yields higher concurrency than full synchronization.\n\n
Defaults to 4. Note:The default may change in the future. If you care about this\nvalue, you should always choose it explicitly.\n\n
The current implementation uses the concurrency level to create a fixed number of hashtable\nsegments, each governed by its own write lock. The segment lock is taken once for each explicit\nwrite, and twice for each cache loading computation (once prior to loading the new value, and\nonce after loading completes). Much internal cache management is performed at the segment\ngranularity. For example, access queues and write queues are kept per segment when they are\nrequired by the selected eviction algorithm. As such, when writing unit tests it is not\nuncommon to specify {@code concurrencyLevel(1)} in order to achieve more deterministic eviction\nbehavior.\n\n
Consider {@link #build(CacheLoader)} instead, if it is feasible to implement a {@code\nCacheLoader}.\n\n
This method does not alter the state of this {@code CacheBuilder} instance, so it can be\ninvoked again to create multiple independent caches.\n\n@return a cache having the requested features\n@since 11.0", "docstring_tokens": ["Builds", "a", "cache", "which", "does", "not", "automatically", "load", "values", "when", "keys", "are", "requested", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/cache/CacheBuilder.java#L863-L867", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/CompactHashMap.java", "func_name": "CompactHashMap.allocArrays", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle lazy allocation of arrays.", "docstring_tokens": ["Handle", "lazy", "allocation", "of", "arrays", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/CompactHashMap.java#L179-L189", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/math/StatsAccumulator.java", "func_name": "StatsAccumulator.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the given value to the dataset.", "docstring_tokens": ["Adds", "the", "given", "value", "to", "the", "dataset", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/math/StatsAccumulator.java#L48-L71", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/math/StatsAccumulator.java", "func_name": "StatsAccumulator.calculateNewMeanNonFinite", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the new value for the accumulated mean when a value is added, in the case where at\nleast one of the previous mean and the value is non-finite.", "docstring_tokens": ["Calculates", "the", "new", "value", "for", "the", "accumulated", "mean", "when", "a", "value", "is", "added", "in", "the", "case", "where", "at", "least", "one", "of", "the", "previous", "mean", "and", "the", "value", "is", "non", "-", "finite", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/math/StatsAccumulator.java#L348-L373", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/ImmutableSet.java", "func_name": "ImmutableSet.rebuildHashTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a new open-addressed hash table from the first n objects in elements.", "docstring_tokens": ["Builds", "a", "new", "open", "-", "addressed", "hash", "table", "from", "the", "first", "n", "objects", "in", "elements", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/ImmutableSet.java#L440-L455", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/ImmutableSet.java", "func_name": "ImmutableSet.chooseTableSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an array size suitable for the backing array of a hash table that uses open addressing\nwith linear probing in its implementation. The returned size is the smallest power of two that\ncan hold setSize elements with the desired load factor. Always returns at least setSize + 2.", "docstring_tokens": ["Returns", "an", "array", "size", "suitable", "for", "the", "backing", "array", "of", "a", "hash", "table", "that", "uses", "open", "addressing", "with", "linear", "probing", "in", "its", "implementation", ".", "The", "returned", "size", "is", "the", "smallest", "power", "of", "two", "that", "can", "hold", "setSize", "elements", "with", "the", "desired", "load", "factor", ".", "Always", "returns", "at", "least", "setSize", "+", "2", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/ImmutableSet.java#L640-L656", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableTable.java", "func_name": "ImmutableTable.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an empty immutable table.", "docstring_tokens": ["Returns", "an", "empty", "immutable", "table", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableTable.java#L46-L49", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableTable.java", "func_name": "ImmutableTable.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable table containing a single cell.", "docstring_tokens": ["Returns", "an", "immutable", "table", "containing", "a", "single", "cell", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableTable.java#L52-L54", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableTable.java", "func_name": "ImmutableTable.copyOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable copy of the provided table.\n\n
The {@link Table#cellSet()} iteration order of the provided table determines the iteration\nordering of all views in the returned table. Note that some views of the original table and the\ncopied table may have different iteration orders. For more control over the ordering, create a\n{@link Builder} and call {@link Builder#orderRowsBy}, {@link Builder#orderColumnsBy}, and\n{@link Builder#putAll}\n\n
Despite the method name, this method attempts to avoid actually copying the data when it is\nsafe to do so. The exact circumstances under which a copy will or will not be performed are\nundocumented and subject to change.", "docstring_tokens": ["Returns", "an", "immutable", "copy", "of", "the", "provided", "table", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableTable.java#L69-L78", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/base/Converter.java", "func_name": "Converter.identity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a serializable converter that always converts or reverses an object to itself.", "docstring_tokens": ["Returns", "a", "serializable", "converter", "that", "always", "converts", "or", "reverses", "an", "object", "to", "itself", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/base/Converter.java#L477-L480", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/RegularImmutableTable.java", "func_name": "RegularImmutableTable.forOrderedComponents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A factory that chooses the most space-efficient representation of the table.", "docstring_tokens": ["A", "factory", "that", "chooses", "the", "most", "space", "-", "efficient", "representation", "of", "the", "table", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/RegularImmutableTable.java#L161-L170", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java", "func_name": "ImmutableSortedMultiset.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable sorted multiset containing a single element.", "docstring_tokens": ["Returns", "an", "immutable", "sorted", "multiset", "containing", "a", "single", "element", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java#L61-L66", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java", "func_name": "ImmutableSortedMultiset.reverseOrder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a builder that creates immutable sorted multisets whose elements are ordered by the\nreverse of their natural ordering.\n\n
Note: the type parameter {@code E} extends {@code Comparable>} rather than {@code\nComparable super E>} as a workaround for javac bug 6468354.", "docstring_tokens": ["Returns", "a", "builder", "that", "creates", "immutable", "sorted", "multisets", "whose", "elements", "are", "ordered", "by", "the", "reverse", "of", "their", "natural", "ordering", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java#L365-L367", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/Multisets.java", "func_name": "Multisets.retainOccurrencesImpl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delegate implementation which cares about the element type.", "docstring_tokens": ["Delegate", "implementation", "which", "cares", "about", "the", "element", "type", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/Multisets.java#L716-L735", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/TreeTraverser.java", "func_name": "TreeTraverser.preOrderTraversal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an unmodifiable iterable over the nodes in a tree structure, using pre-order traversal.\nThat is, each node's subtrees are traversed after the node itself is returned.\n\n
No guarantees are made about the behavior of the traversal when nodes change while iteration\nis in progress or when the iterators generated by {@link #children} are advanced.\n\n@deprecated Use {@link com.google.common.graph.Traverser#depthFirstPreOrder} instead, which has\nthe same behavior.", "docstring_tokens": ["Returns", "an", "unmodifiable", "iterable", "over", "the", "nodes", "in", "a", "tree", "structure", "using", "pre", "-", "order", "traversal", ".", "That", "is", "each", "node", "s", "subtrees", "are", "traversed", "after", "the", "node", "itself", "is", "returned", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/TreeTraverser.java#L114-L135", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Collections2.java", "func_name": "Collections2.newStringBuilderForCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns best-effort-sized StringBuilder based on the given collection size.", "docstring_tokens": ["Returns", "best", "-", "effort", "-", "sized", "StringBuilder", "based", "on", "the", "given", "collection", "size", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Collections2.java#L327-L330", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/reflect/TypeResolver.java", "func_name": "TypeResolver.invariantly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a resolver that resolves types \"invariantly\".\n\n
For example, when resolving {@code List} in the context of {@code ArrayList>}, {@code\n} cannot be invariantly resolved to {@code >} because otherwise the parameter type of\n{@code List::set} will be {@code >} and it'll falsely say any object can be passed into\n{@code ArrayList>::set}.\n\n
Instead, {@code >} will be resolved to a capture in the form of a type variable {@code\n}, effectively preventing {@code set} from accepting any type.", "docstring_tokens": ["Returns", "a", "resolver", "that", "resolves", "types", "invariantly", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/reflect/TypeResolver.java#L89-L92", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java", "func_name": "AbstractMapBasedMultimap.setMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used during deserialization only.", "docstring_tokens": ["Used", "during", "deserialization", "only", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java#L121-L128", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java", "func_name": "AbstractMapBasedMultimap.removeValuesForKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all values for the provided key.", "docstring_tokens": ["Removes", "all", "values", "for", "the", "provided", "key", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java#L1102-L1110", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/FluentIterable.java", "func_name": "FluentIterable.concatNoDefensiveCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Concatenates a varargs array of iterables without making a defensive copy of the array.", "docstring_tokens": ["Concatenates", "a", "varargs", "array", "of", "iterables", "without", "making", "a", "defensive", "copy", "of", "the", "array", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/FluentIterable.java#L283-L301", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/FluentIterable.java", "func_name": "FluentIterable.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a fluent iterable containing no elements.\n\n
{@code Stream} equivalent: {@link Stream#empty}.\n\n@since 20.0", "docstring_tokens": ["Returns", "a", "fluent", "iterable", "containing", "no", "elements", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/FluentIterable.java#L310-L313", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/FluentIterable.java", "func_name": "FluentIterable.toArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an array containing all of the elements from this fluent iterable in iteration order.\n\n
{@code Stream} equivalent: if an object array is acceptable, use {@code\nstream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code\nstream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[])\nArray.newInstance(type, len))}.\n\n@param type the type of the elements\n@return a newly-allocated array into which all the elements of this fluent iterable have been\ncopied", "docstring_tokens": ["Returns", "an", "array", "containing", "all", "of", "the", "elements", "from", "this", "fluent", "iterable", "in", "iteration", "order", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/FluentIterable.java#L768-L771", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableMultimap.java", "func_name": "ImmutableMultimap.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable multimap containing the given entries, in order.", "docstring_tokens": ["Returns", "an", "immutable", "multimap", "containing", "the", "given", "entries", "in", "order", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableMultimap.java#L81-L83", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableMultimap.java", "func_name": "ImmutableMultimap.entries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable collection of all key-value pairs in the multimap.", "docstring_tokens": ["Returns", "an", "immutable", "collection", "of", "all", "key", "-", "value", "pairs", "in", "the", "multimap", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableMultimap.java#L514-L517", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/io/ByteSource.java", "func_name": "ByteSource.countBySkipping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Counts the bytes in the given input stream using skip if possible. Returns SKIP_FAILED if the\nfirst call to skip threw, in which case skip may just not be supported.", "docstring_tokens": ["Counts", "the", "bytes", "in", "the", "given", "input", "stream", "using", "skip", "if", "possible", ".", "Returns", "SKIP_FAILED", "if", "the", "first", "call", "to", "skip", "threw", "in", "which", "case", "skip", "may", "just", "not", "be", "supported", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/io/ByteSource.java#L222-L229", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/io/ByteSource.java", "func_name": "ByteSource.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the full contents of this byte source as a byte array.\n\n@throws IOException if an I/O error occurs while reading from this source", "docstring_tokens": ["Reads", "the", "full", "contents", "of", "this", "byte", "source", "as", "a", "byte", "array", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/io/ByteSource.java#L282-L295", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/io/ByteSource.java", "func_name": "ByteSource.hash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Hashes the contents of this byte source using the given hash function.\n\n@throws IOException if an I/O error occurs while reading from this source", "docstring_tokens": ["Hashes", "the", "contents", "of", "this", "byte", "source", "using", "the", "given", "hash", "function", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/io/ByteSource.java#L327-L331", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/io/ByteSource.java", "func_name": "ByteSource.contentEquals", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that the contents of this byte source are equal to the contents of the given byte\nsource.\n\n@throws IOException if an I/O error occurs while reading from this source or {@code other}", "docstring_tokens": ["Checks", "that", "the", "contents", "of", "this", "byte", "source", "are", "equal", "to", "the", "contents", "of", "the", "given", "byte", "source", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/io/ByteSource.java#L339-L363", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/ImmutableRangeMap.java", "func_name": "ImmutableRangeMap.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an empty immutable range map.", "docstring_tokens": ["Returns", "an", "empty", "immutable", "range", "map", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/ImmutableRangeMap.java#L64-L67", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/ImmutableRangeMap.java", "func_name": "ImmutableRangeMap.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable range map mapping a single range to a single value.", "docstring_tokens": ["Returns", "an", "immutable", "range", "map", "mapping", "a", "single", "range", "to", "a", "single", "value", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/ImmutableRangeMap.java#L70-L72", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/hash/Hashing.java", "func_name": "Hashing.concatenating", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a hash function which computes its hash code by concatenating the hash codes of the\nunderlying hash functions together. This can be useful if you need to generate hash codes of a\nspecific length.\n\n
For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash\nfunctions together: {@code Hashing.concatenating(Hashing.sha512(), Hashing.sha512())}.\n\n@since 19.0", "docstring_tokens": ["Returns", "a", "hash", "function", "which", "computes", "its", "hash", "code", "by", "concatenating", "the", "hash", "codes", "of", "the", "underlying", "hash", "functions", "together", ".", "This", "can", "be", "useful", "if", "you", "need", "to", "generate", "hash", "codes", "of", "a", "specific", "length", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/hash/Hashing.java#L581-L589", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/ImmutableSortedSet.java", "func_name": "ImmutableSortedSet.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable sorted set containing a single element.", "docstring_tokens": ["Returns", "an", "immutable", "sorted", "set", "containing", "a", "single", "element", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/ImmutableSortedSet.java#L96-L98", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/graph/ValueGraphBuilder.java", "func_name": "ValueGraphBuilder.expectedNodeCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies the expected number of nodes in the graph.\n\n@throws IllegalArgumentException if {@code expectedNodeCount} is negative", "docstring_tokens": ["Specifies", "the", "expected", "number", "of", "nodes", "in", "the", "graph", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/graph/ValueGraphBuilder.java#L127-L130", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Comparators.java", "func_name": "Comparators.lexicographical", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "think tip it over into being worthwhile.", "docstring_tokens": ["think", "tip", "it", "over", "into", "being", "worthwhile", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Comparators.java#L60-L62", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/base/internal/Finalizer.java", "func_name": "Finalizer.startFinalizer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts the Finalizer thread. FinalizableReferenceQueue calls this method reflectively.\n\n@param finalizableReferenceClass FinalizableReference.class.\n@param queue a reference queue that the thread will poll.\n@param frqReference a phantom reference to the FinalizableReferenceQueue, which will be queued\neither when the FinalizableReferenceQueue is no longer referenced anywhere, or when its\nclose() method is called.", "docstring_tokens": ["Starts", "the", "Finalizer", "thread", ".", "FinalizableReferenceQueue", "calls", "this", "method", "reflectively", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/base/internal/Finalizer.java#L62-L110", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableSortedMap.java", "func_name": "ImmutableSortedMap.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the empty sorted map.", "docstring_tokens": ["Returns", "the", "empty", "sorted", "map", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableSortedMap.java#L77-L82", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableSortedMap.java", "func_name": "ImmutableSortedMap.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable map containing a single entry.", "docstring_tokens": ["Returns", "an", "immutable", "map", "containing", "a", "single", "entry", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableSortedMap.java#L85-L87", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableSortedMap.java", "func_name": "ImmutableSortedMap.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable sorted map containing the given entries, sorted by the natural ordering of\ntheir keys.\n\n@throws IllegalArgumentException if the two keys are equal according to their natural ordering", "docstring_tokens": ["Returns", "an", "immutable", "sorted", "map", "containing", "the", "given", "entries", "sorted", "by", "the", "natural", "ordering", "of", "their", "keys", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableSortedMap.java#L102-L106", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableSortedMap.java", "func_name": "ImmutableSortedMap.copyOfSorted", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable map containing the same entries as the provided sorted map, with the same\nordering.\n\n
Despite the method name, this method attempts to avoid actually copying the data when it is\nsafe to do so. The exact circumstances under which a copy will or will not be performed are\nundocumented and subject to change.\n\n@throws NullPointerException if any key or value in {@code map} is null", "docstring_tokens": ["Returns", "an", "immutable", "map", "containing", "the", "same", "entries", "as", "the", "provided", "sorted", "map", "with", "the", "same", "ordering", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableSortedMap.java#L235-L253", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/hash/FarmHashFingerprint64.java", "func_name": "FarmHashFingerprint64.weakHashLength32WithSeeds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes intermediate hash of 32 bytes of byte array from the given offset. Results are\nreturned in the output array because when we last measured, this was 12% faster than allocating\nnew arrays every time.", "docstring_tokens": ["Computes", "intermediate", "hash", "of", "32", "bytes", "of", "byte", "array", "from", "the", "given", "offset", ".", "Results", "are", "returned", "in", "the", "output", "array", "because", "when", "we", "last", "measured", "this", "was", "12%", "faster", "than", "allocating", "new", "arrays", "every", "time", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/hash/FarmHashFingerprint64.java#L100-L115", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/util/concurrent/AbstractService.java", "func_name": "AbstractService.checkCurrentState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that the current state is equal to the expected state.", "docstring_tokens": ["Checks", "that", "the", "current", "state", "is", "equal", "to", "the", "expected", "state", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/util/concurrent/AbstractService.java#L358-L371", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/MoreFiles.java", "func_name": "MoreFiles.listFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable list of paths to the files contained in the given directory.\n\n@throws NoSuchFileException if the file does not exist (optional specific exception)\n@throws NotDirectoryException if the file could not be opened because it is not a directory\n(optional specific exception)\n@throws IOException if an I/O error occurs", "docstring_tokens": ["Returns", "an", "immutable", "list", "of", "paths", "to", "the", "files", "contained", "in", "the", "given", "directory", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/MoreFiles.java#L260-L266", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/MoreFiles.java", "func_name": "MoreFiles.isDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns whether or not the file with the given name in the given dir is a directory.", "docstring_tokens": ["Returns", "whether", "or", "not", "the", "file", "with", "the", "given", "name", "in", "the", "given", "dir", "is", "a", "directory", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/MoreFiles.java#L335-L340", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/MoreFiles.java", "func_name": "MoreFiles.equal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the files located by the given paths exist, are not directories, and contain\nthe same bytes.\n\n@throws IOException if an I/O error occurs\n@since 22.0", "docstring_tokens": ["Returns", "true", "if", "the", "files", "located", "by", "the", "given", "paths", "exist", "are", "not", "directories", "and", "contain", "the", "same", "bytes", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/MoreFiles.java#L368-L388", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/MoreFiles.java", "func_name": "MoreFiles.touch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Like the unix command of the same name, creates an empty file or updates the last modified\ntimestamp of the existing file at the given path to the current system time.", "docstring_tokens": ["Like", "the", "unix", "command", "of", "the", "same", "name", "creates", "an", "empty", "file", "or", "updates", "the", "last", "modified", "timestamp", "of", "the", "existing", "file", "at", "the", "given", "path", "to", "the", "current", "system", "time", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/MoreFiles.java#L394-L412", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/MoreFiles.java", "func_name": "MoreFiles.getParentPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a path to the parent directory of the given path. If the path actually has a parent\npath, this is simple. Otherwise, we need to do some trickier things. Returns null if the path\nis a root or is the empty path.", "docstring_tokens": ["Returns", "a", "path", "to", "the", "parent", "directory", "of", "the", "given", "path", ".", "If", "the", "path", "actually", "has", "a", "parent", "path", "this", "is", "simple", ".", "Otherwise", "we", "need", "to", "do", "some", "trickier", "things", ".", "Returns", "null", "if", "the", "path", "is", "a", "root", "or", "is", "the", "empty", "path", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/MoreFiles.java#L706-L737", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/MoreFiles.java", "func_name": "MoreFiles.checkAllowsInsecure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that the given options allow an insecure delete, throwing an exception if not.", "docstring_tokens": ["Checks", "that", "the", "given", "options", "allow", "an", "insecure", "delete", "throwing", "an", "exception", "if", "not", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/MoreFiles.java#L740-L745", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/MoreFiles.java", "func_name": "MoreFiles.throwDeleteFailed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Throws an exception indicating that one or more files couldn't be deleted. The thrown exception\ncontains all the exceptions in the given collection as suppressed exceptions.", "docstring_tokens": ["Throws", "an", "exception", "indicating", "that", "one", "or", "more", "files", "couldn", "t", "be", "deleted", ".", "The", "thrown", "exception", "contains", "all", "the", "exceptions", "in", "the", "given", "collection", "as", "suppressed", "exceptions", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/MoreFiles.java#L779-L793", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/MapMakerInternalMap.java", "func_name": "MapMakerInternalMap.rehash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Applies a supplemental hash function to a given hash code, which defends against poor quality\nhash functions. This is critical when the concurrent hash map uses power-of-two length hash\ntables, that otherwise encounter collisions for hash codes that do not differ in lower or upper\nbits.\n\n@param h hash code", "docstring_tokens": ["Applies", "a", "supplemental", "hash", "function", "to", "a", "given", "hash", "code", "which", "defends", "against", "poor", "quality", "hash", "functions", ".", "This", "is", "critical", "when", "the", "concurrent", "hash", "map", "uses", "power", "-", "of", "-", "two", "length", "hash", "tables", "that", "otherwise", "encounter", "collisions", "for", "hash", "codes", "that", "do", "not", "differ", "in", "lower", "or", "upper", "bits", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/MapMakerInternalMap.java#L1052-L1062", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/MapMakerInternalMap.java", "func_name": "MapMakerInternalMap.segmentFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the segment that should be used for a key with the given hash.\n\n@param hash the hash code for the key\n@return the segment", "docstring_tokens": ["Returns", "the", "segment", "that", "should", "be", "used", "for", "a", "key", "with", "the", "given", "hash", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/MapMakerInternalMap.java#L1105-L1108", "partition": "valid"}
+{"repo": "google/guava", "path": "guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java", "func_name": "ImmutableList.unsafeDelegateList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "are guaranteed to be non-null.", "docstring_tokens": ["are", "guaranteed", "to", "be", "non", "-", "null", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java#L166-L177", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/TreeRangeMap.java", "func_name": "TreeRangeMap.coalescedRange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes the coalesced range for the given range+value - does not mutate the map.", "docstring_tokens": ["Computes", "the", "coalesced", "range", "for", "the", "given", "range", "+", "value", "-", "does", "not", "mutate", "the", "map", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/TreeRangeMap.java#L141-L152", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/eventbus/SubscriberRegistry.java", "func_name": "SubscriberRegistry.unregister", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unregisters all subscribers on the given listener object.", "docstring_tokens": ["Unregisters", "all", "subscribers", "on", "the", "given", "listener", "object", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/eventbus/SubscriberRegistry.java#L93-L113", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/eventbus/SubscriberRegistry.java", "func_name": "SubscriberRegistry.getSubscribers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets an iterator representing an immutable snapshot of all subscribers to the given event at\nthe time this method is called.", "docstring_tokens": ["Gets", "an", "iterator", "representing", "an", "immutable", "snapshot", "of", "all", "subscribers", "to", "the", "given", "event", "at", "the", "time", "this", "method", "is", "called", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/eventbus/SubscriberRegistry.java#L124-L139", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/eventbus/SubscriberRegistry.java", "func_name": "SubscriberRegistry.findAllSubscribers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all subscribers for the given listener grouped by the type of event they subscribe to.", "docstring_tokens": ["Returns", "all", "subscribers", "for", "the", "given", "listener", "grouped", "by", "the", "type", "of", "event", "they", "subscribe", "to", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/eventbus/SubscriberRegistry.java#L161-L170", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableList.java", "func_name": "ImmutableList.sortedCopyOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable list containing the given elements, sorted according to their natural\norder. The sorting algorithm used is stable, so elements that compare as equal will stay in the\norder in which they appear in the input.\n\n
If your data has no duplicates, or you wish to deduplicate elements, use {@code\nImmutableSortedSet.copyOf(elements)}; if you want a {@code List} you can use its {@code\nasList()} view.\n\n
Java 8 users: If you want to convert a {@link java.util.stream.Stream} to a sorted\n{@code ImmutableList}, use {@code stream.sorted().collect(toImmutableList())}.\n\n@throws NullPointerException if any element in the input is null\n@since 21.0", "docstring_tokens": ["Returns", "an", "immutable", "list", "containing", "the", "given", "elements", "sorted", "according", "to", "their", "natural", "order", ".", "The", "sorting", "algorithm", "used", "is", "stable", "so", "elements", "that", "compare", "as", "equal", "will", "stay", "in", "the", "order", "in", "which", "they", "appear", "in", "the", "input", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableList.java#L291-L297", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableList.java", "func_name": "ImmutableList.asImmutableList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Views the array as an immutable list. Does not check for nulls; does not copy.\n\n
The array must be internally created.", "docstring_tokens": ["Views", "the", "array", "as", "an", "immutable", "list", ".", "Does", "not", "check", "for", "nulls", ";", "does", "not", "copy", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableList.java#L334-L336", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableList.java", "func_name": "ImmutableList.asImmutableList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Views the array as an immutable list. Does not check for nulls.", "docstring_tokens": ["Views", "the", "array", "as", "an", "immutable", "list", ".", "Does", "not", "check", "for", "nulls", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableList.java#L339-L344", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableList.java", "func_name": "ImmutableList.builderWithExpectedSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new builder, expecting the specified number of elements to be added.\n\n
If {@code expectedSize} is exactly the number of elements added to the builder before {@link\nBuilder#build} is called, the builder is likely to perform better than an unsized {@link\n#builder()} would have.\n\n
It is not specified if any performance benefits apply if {@code expectedSize} is close to,\nbut not exactly, the number of elements added to the builder.\n\n@since 23.1", "docstring_tokens": ["Returns", "a", "new", "builder", "expecting", "the", "specified", "number", "of", "elements", "to", "be", "added", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableList.java#L686-L690", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/ObjectArrays.java", "func_name": "ObjectArrays.concat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new array that contains the concatenated contents of two arrays.\n\n@param first the first array of elements to concatenate\n@param second the second array of elements to concatenate\n@param type the component type of the returned array", "docstring_tokens": ["Returns", "a", "new", "array", "that", "contains", "the", "concatenated", "contents", "of", "two", "arrays", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/ObjectArrays.java#L69-L75", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/ObjectArrays.java", "func_name": "ObjectArrays.toArrayImpl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an array containing all of the elements in the specified collection; the runtime type\nof the returned array is that of the specified array. If the collection fits in the specified\narray, it is returned therein. Otherwise, a new array is allocated with the runtime type of the\nspecified array and the size of the specified collection.\n\n
If the collection fits in the specified array with room to spare (i.e., the array has more\nelements than the collection), the element in the array immediately following the end of the\ncollection is set to {@code null}. This is useful in determining the length of the collection\nonly if the caller knows that the collection does not contain any null elements.\n\n
This method returns the elements in the order they are returned by the collection's\niterator.\n\n
TODO(kevinb): support concurrently modified collections?\n\n@param c the collection for which to return an array of elements\n@param array the array in which to place the collection elements\n@throws ArrayStoreException if the runtime type of the specified array is not a supertype of\nthe runtime type of every element in the specified collection", "docstring_tokens": ["Returns", "an", "array", "containing", "all", "of", "the", "elements", "in", "the", "specified", "collection", ";", "the", "runtime", "type", "of", "the", "returned", "array", "is", "that", "of", "the", "specified", "array", ".", "If", "the", "collection", "fits", "in", "the", "specified", "array", "it", "is", "returned", "therein", ".", "Otherwise", "a", "new", "array", "is", "allocated", "with", "the", "runtime", "type", "of", "the", "specified", "array", "and", "the", "size", "of", "the", "specified", "collection", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/ObjectArrays.java#L127-L137", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/ObjectArrays.java", "func_name": "ObjectArrays.checkElementNotNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "creation cost.", "docstring_tokens": ["creation", "cost", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/ObjectArrays.java#L222-L228", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/base/Throwables.java", "func_name": "Throwables.getJLA", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the JavaLangAccess class that is present in all Sun JDKs. It is not allowed in\nAppEngine, and not present in non-Sun JDKs.", "docstring_tokens": ["Returns", "the", "JavaLangAccess", "class", "that", "is", "present", "in", "all", "Sun", "JDKs", ".", "It", "is", "not", "allowed", "in", "AppEngine", "and", "not", "present", "in", "non", "-", "Sun", "JDKs", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/base/Throwables.java#L474-L494", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/reflect/TypeToken.java", "func_name": "TypeToken.canonicalizeWildcardType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Just don't ever let the user access it.", "docstring_tokens": ["Just", "don", "t", "ever", "let", "the", "user", "access", "it", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/reflect/TypeToken.java#L1024-L1034", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/ImmutableList.java", "func_name": "ImmutableList.asImmutableList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Views the array as an immutable list. Copies if the specified range does not cover the complete\narray. Does not check for nulls.", "docstring_tokens": ["Views", "the", "array", "as", "an", "immutable", "list", ".", "Copies", "if", "the", "specified", "range", "does", "not", "cover", "the", "complete", "array", ".", "Does", "not", "check", "for", "nulls", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/ImmutableList.java#L362-L374", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableSortedMapFauxverideShim.java", "func_name": "ImmutableSortedMapFauxverideShim.builderWithExpectedSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Not supported for ImmutableSortedMap.\n\n@throws UnsupportedOperationException always\n@deprecated Not supported for ImmutableSortedMap.", "docstring_tokens": ["Not", "supported", "for", "ImmutableSortedMap", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableSortedMapFauxverideShim.java#L49-L52", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/ImmutableMap.java", "func_name": "ImmutableMap.entrySet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable set of the mappings in this map. The iteration order is specified by the\nmethod used to create this map. Typically, this is insertion order.", "docstring_tokens": ["Returns", "an", "immutable", "set", "of", "the", "mappings", "in", "this", "map", ".", "The", "iteration", "order", "is", "specified", "by", "the", "method", "used", "to", "create", "this", "map", ".", "Typically", "this", "is", "insertion", "order", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/ImmutableMap.java#L713-L717", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/LineBuffer.java", "func_name": "LineBuffer.finishLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Called when a line is complete.", "docstring_tokens": ["Called", "when", "a", "line", "is", "complete", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/LineBuffer.java#L86-L93", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Maps.java", "func_name": "Maps.asEntryTransformer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Views a function as an entry transformer that ignores the entry key.", "docstring_tokens": ["Views", "a", "function", "as", "an", "entry", "transformer", "that", "ignores", "the", "entry", "key", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Maps.java#L1816-L1825", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Maps.java", "func_name": "Maps.transformEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a view of an entry transformed by the specified transformer.", "docstring_tokens": ["Returns", "a", "view", "of", "an", "entry", "transformed", "by", "the", "specified", "transformer", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Maps.java#L1851-L1866", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Maps.java", "func_name": "Maps.asEntryToEntryFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Views an entry transformer as a function from entries to entries.", "docstring_tokens": ["Views", "an", "entry", "transformer", "as", "a", "function", "from", "entries", "to", "entries", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Maps.java#L1869-L1878", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Maps.java", "func_name": "Maps.indexMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a map from the ith element of list to i.", "docstring_tokens": ["Returns", "a", "map", "from", "the", "ith", "element", "of", "list", "to", "i", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Maps.java#L4035-L4042", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/util/concurrent/AbstractFuture.java", "func_name": "AbstractFuture.pendingToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provide a human-readable explanation of why this future has not yet completed.\n\n@return null if an explanation cannot be provided because the future is done.\n@since 23.0", "docstring_tokens": ["Provide", "a", "human", "-", "readable", "explanation", "of", "why", "this", "future", "has", "not", "yet", "completed", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/util/concurrent/AbstractFuture.java#L1095-L1105", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/hash/AbstractByteHasher.java", "func_name": "AbstractByteHasher.update", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates this hasher with bytes from the given buffer.", "docstring_tokens": ["Updates", "this", "hasher", "with", "bytes", "from", "the", "given", "buffer", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/hash/AbstractByteHasher.java#L54-L63", "partition": "valid"}
+{"repo": "google/guava", "path": "guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java", "func_name": "ImmutableSortedSet.unsafeDelegateSortedSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Assumes that delegate doesn't have null elements and comparator.", "docstring_tokens": ["Assumes", "that", "delegate", "doesn", "t", "have", "null", "elements", "and", "comparator", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java#L224-L229", "partition": "valid"}
+{"repo": "google/guava", "path": "guava-gwt/src/com/google/common/collect/ImmutableSetMultimap_CustomFieldSerializer.java", "func_name": "ImmutableSetMultimap_CustomFieldSerializer.instantiate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serialization type safety is at the caller's mercy.", "docstring_tokens": ["Serialization", "type", "safety", "is", "at", "the", "caller", "s", "mercy", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava-gwt/src/com/google/common/collect/ImmutableSetMultimap_CustomFieldSerializer.java#L35-L45", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java", "func_name": "AtomicLongMap.sum", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the sum of all values in this map.\n\n
This method is not atomic: the sum may or may not include other concurrent operations.", "docstring_tokens": ["Returns", "the", "sum", "of", "all", "values", "in", "this", "map", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java#L320-L326", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/base/FinalizableReferenceQueue.java", "func_name": "FinalizableReferenceQueue.loadFinalizer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates through the given loaders until it finds one that can load Finalizer.\n\n@return Finalizer.class", "docstring_tokens": ["Iterates", "through", "the", "given", "loaders", "until", "it", "finds", "one", "that", "can", "load", "Finalizer", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/base/FinalizableReferenceQueue.java#L212-L221", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/util/concurrent/ListenerCallQueue.java", "func_name": "ListenerCallQueue.dispatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dispatches all events enqueued prior to this call, serially and in order, for every listener.\n\n
Note: this method is idempotent and safe to call from any thread", "docstring_tokens": ["Dispatches", "all", "events", "enqueued", "prior", "to", "this", "call", "serially", "and", "in", "order", "for", "every", "listener", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java#L117-L122", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/io/Resources.java", "func_name": "Resources.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies all bytes from a URL to an output stream.\n\n@param from the URL to read from\n@param to the output stream\n@throws IOException if an I/O error occurs", "docstring_tokens": ["Copies", "all", "bytes", "from", "a", "URL", "to", "an", "output", "stream", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/io/Resources.java#L171-L173", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/eventbus/EventBus.java", "func_name": "EventBus.post", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Posts an event to all registered subscribers. This method will return successfully after the\nevent has been posted to all subscribers, and regardless of any exceptions thrown by\nsubscribers.\n\n
If no subscribers have been subscribed for {@code event}'s class, and {@code event} is not\nalready a {@link DeadEvent}, it will be wrapped in a DeadEvent and reposted.\n\n@param event event to post.", "docstring_tokens": ["Posts", "an", "event", "to", "all", "registered", "subscribers", ".", "This", "method", "will", "return", "successfully", "after", "the", "event", "has", "been", "posted", "to", "all", "subscribers", "and", "regardless", "of", "any", "exceptions", "thrown", "by", "subscribers", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/eventbus/EventBus.java#L209-L217", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/MapMaker.java", "func_name": "MapMaker.concurrencyLevel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Guides the allowed concurrency among update operations. Used as a hint for internal sizing. The\ntable is internally partitioned to try to permit the indicated number of concurrent updates\nwithout contention. Because assignment of entries to these partitions is not necessarily\nuniform, the actual concurrency observed may vary. Ideally, you should choose a value to\naccommodate as many threads as will ever concurrently modify the table. Using a significantly\nhigher value than you need can waste space and time, and a significantly lower value can lead\nto thread contention. But overestimates and underestimates within an order of magnitude do not\nusually have much noticeable impact. A value of one permits only one thread to modify the map\nat a time, but since read operations can proceed concurrently, this still yields higher\nconcurrency than full synchronization. Defaults to 4.\n\n
Note: Prior to Guava release 9.0, the default was 16. It is possible the default will\nchange again in the future. If you care about this value, you should always choose it\nexplicitly.\n\n@throws IllegalArgumentException if {@code concurrencyLevel} is nonpositive\n@throws IllegalStateException if a concurrency level was already set", "docstring_tokens": ["Guides", "the", "allowed", "concurrency", "among", "update", "operations", ".", "Used", "as", "a", "hint", "for", "internal", "sizing", ".", "The", "table", "is", "internally", "partitioned", "to", "try", "to", "permit", "the", "indicated", "number", "of", "concurrent", "updates", "without", "contention", ".", "Because", "assignment", "of", "entries", "to", "these", "partitions", "is", "not", "necessarily", "uniform", "the", "actual", "concurrency", "observed", "may", "vary", ".", "Ideally", "you", "should", "choose", "a", "value", "to", "accommodate", "as", "many", "threads", "as", "will", "ever", "concurrently", "modify", "the", "table", ".", "Using", "a", "significantly", "higher", "value", "than", "you", "need", "can", "waste", "space", "and", "time", "and", "a", "significantly", "lower", "value", "can", "lead", "to", "thread", "contention", ".", "But", "overestimates", "and", "underestimates", "within", "an", "order", "of", "magnitude", "do", "not", "usually", "have", "much", "noticeable", "impact", ".", "A", "value", "of", "one", "permits", "only", "one", "thread", "to", "modify", "the", "map", "at", "a", "time", "but", "since", "read", "operations", "can", "proceed", "concurrently", "this", "still", "yields", "higher", "concurrency", "than", "full", "synchronization", ".", "Defaults", "to", "4", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/MapMaker.java#L176-L185", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/AbstractBiMap.java", "func_name": "AbstractBiMap.setDelegates", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies the delegate maps going in each direction. Called by the constructor and by\nsubclasses during deserialization.", "docstring_tokens": ["Specifies", "the", "delegate", "maps", "going", "in", "each", "direction", ".", "Called", "by", "the", "constructor", "and", "by", "subclasses", "during", "deserialization", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/AbstractBiMap.java#L88-L96", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/ArrayTable.java", "func_name": "ArrayTable.toArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a two-dimensional array with the table contents. The row and column indices correspond\nto the positions of the row and column in the iterables provided during table construction. If\nthe table lacks a mapping for a given row and column, the corresponding array element is null.\n\n
Subsequent table changes will not modify the array, and vice versa.\n\n@param valueClass class of values stored in the returned array", "docstring_tokens": ["Returns", "a", "two", "-", "dimensional", "array", "with", "the", "table", "contents", ".", "The", "row", "and", "column", "indices", "correspond", "to", "the", "positions", "of", "the", "row", "and", "column", "in", "the", "iterables", "provided", "during", "table", "construction", ".", "If", "the", "table", "lacks", "a", "mapping", "for", "a", "given", "row", "and", "column", "the", "corresponding", "array", "element", "is", "null", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/ArrayTable.java#L347-L355", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java", "func_name": "SequentialExecutor.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a task to the queue and makes sure a worker thread is running.\n\n
If this method throws, e.g. a {@code RejectedExecutionException} from the delegate executor,\nexecution of tasks will stop until a call to this method or to {@link #resume()} is made.", "docstring_tokens": ["Adds", "a", "task", "to", "the", "queue", "and", "makes", "sure", "a", "worker", "thread", "is", "running", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java#L95-L163", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/Tables.java", "func_name": "Tables.transformValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a view of a table where each value is transformed by a function. All other properties\nof the table, such as iteration order, are left intact.\n\n
Changes in the underlying table are reflected in this view. Conversely, this view supports\nremoval operations, and these are reflected in the underlying table.\n\n
It's acceptable for the underlying table to contain null keys, and even null values provided\nthat the function is capable of accepting null input. The transformed table might contain null\nvalues, if the function sometimes gives a null result.\n\n
The returned table is not thread-safe or serializable, even if the underlying table is.\n\n
The function is applied lazily, invoked when needed. This is necessary for the returned\ntable to be a view, but it means that the function will be applied many times for bulk\noperations like {@link Table#containsValue} and {@code Table.toString()}. For this to perform\nwell, {@code function} should be fast. To avoid lazy evaluation when the returned table doesn't\nneed to be a view, copy the returned table into a new table of your choosing.\n\n@since 10.0", "docstring_tokens": ["Returns", "a", "view", "of", "a", "table", "where", "each", "value", "is", "transformed", "by", "a", "function", ".", "All", "other", "properties", "of", "the", "table", "such", "as", "iteration", "order", "are", "left", "intact", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/Tables.java#L318-L322", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/TreeMultiset.java", "func_name": "TreeMultiset.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an empty multiset containing the given initial elements, sorted according to the\nelements' natural order.\n\n
This implementation is highly efficient when {@code elements} is itself a {@link Multiset}.\n\n
The type specification is {@code }, instead of the more specific\n{@code >}, to support classes defined without generics.", "docstring_tokens": ["Creates", "an", "empty", "multiset", "containing", "the", "given", "initial", "elements", "sorted", "according", "to", "the", "elements", "natural", "order", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/TreeMultiset.java#L105-L109", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/AggregateFuture.java", "func_name": "AggregateFuture.addCausalChain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the chain to the seen set, and returns whether all the chain was new to us.", "docstring_tokens": ["Adds", "the", "chain", "to", "the", "seen", "set", "and", "returns", "whether", "all", "the", "chain", "was", "new", "to", "us", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/AggregateFuture.java#L290-L304", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/cache/CacheBuilder.java", "func_name": "CacheBuilder.expireAfterWrite", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies that each entry should be automatically removed from the cache once a fixed duration\nhas elapsed after the entry's creation, or the most recent replacement of its value.\n\n
When {@code duration} is zero, this method hands off to {@link #maximumSize(long)\nmaximumSize}{@code (0)}, ignoring any otherwise-specified maximum size or weight. This can be\nuseful in testing, or to disable caching temporarily without a code change.\n\n
Expired entries may be counted in {@link Cache#size}, but will never be visible to read or\nwrite operations. Expired entries are cleaned up as part of the routine maintenance described\nin the class javadoc.\n\n@param duration the length of time after an entry is created that it should be automatically\nremoved\n@return this {@code CacheBuilder} instance (for chaining)\n@throws IllegalArgumentException if {@code duration} is negative\n@throws IllegalStateException if the time to live or time to idle was already set\n@throws ArithmeticException for durations greater than +/- approximately 292 years\n@since 25.0", "docstring_tokens": ["Specifies", "that", "each", "entry", "should", "be", "automatically", "removed", "from", "the", "cache", "once", "a", "fixed", "duration", "has", "elapsed", "after", "the", "entry", "s", "creation", "or", "the", "most", "recent", "replacement", "of", "its", "value", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/cache/CacheBuilder.java#L656-L661", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java", "func_name": "ThreadFactoryBuilder.setPriority", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the priority for new threads created with this ThreadFactory.\n\n@param priority the priority for new Threads created with this ThreadFactory\n@return this for the builder pattern", "docstring_tokens": ["Sets", "the", "priority", "for", "new", "threads", "created", "with", "this", "ThreadFactory", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java#L92-L107", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/net/HostAndPort.java", "func_name": "HostAndPort.fromParts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build a HostAndPort instance from separate host and port values.\n\n
Note: Non-bracketed IPv6 literals are allowed. Use {@link #requireBracketsForIPv6()} to\nprohibit these.\n\n@param host the host string to parse. Must not contain a port number.\n@param port a port number from [0..65535]\n@return if parsing was successful, a populated HostAndPort object.\n@throws IllegalArgumentException if {@code host} contains a port number, or {@code port} is out\nof range.", "docstring_tokens": ["Build", "a", "HostAndPort", "instance", "from", "separate", "host", "and", "port", "values", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/net/HostAndPort.java#L131-L136", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/net/HostAndPort.java", "func_name": "HostAndPort.fromHost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build a HostAndPort instance from a host only.\n\n
Note: Non-bracketed IPv6 literals are allowed. Use {@link #requireBracketsForIPv6()} to\nprohibit these.\n\n@param host the host-only string to parse. Must not contain a port number.\n@return if parsing was successful, a populated HostAndPort object.\n@throws IllegalArgumentException if {@code host} contains a port number.\n@since 17.0", "docstring_tokens": ["Build", "a", "HostAndPort", "instance", "from", "a", "host", "only", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/net/HostAndPort.java#L149-L153", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/net/HostAndPort.java", "func_name": "HostAndPort.fromString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Split a freeform string into a host and port, without strict validation.\n\n
Note that the host-only formats will leave the port field undefined. You can use {@link\n#withDefaultPort(int)} to patch in a default value.\n\n@param hostPortString the input string to parse.\n@return if parsing was successful, a populated HostAndPort object.\n@throws IllegalArgumentException if nothing meaningful could be parsed.", "docstring_tokens": ["Split", "a", "freeform", "string", "into", "a", "host", "and", "port", "without", "strict", "validation", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/net/HostAndPort.java#L165-L202", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/net/HostAndPort.java", "func_name": "HostAndPort.getHostAndPortFromBracketedHost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a bracketed host-port string, throwing IllegalArgumentException if parsing fails.\n\n@param hostPortString the full bracketed host-port specification. Post might not be specified.\n@return an array with 2 strings: host and port, in that order.\n@throws IllegalArgumentException if parsing the bracketed host-port string fails.", "docstring_tokens": ["Parses", "a", "bracketed", "host", "-", "port", "string", "throwing", "IllegalArgumentException", "if", "parsing", "fails", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/net/HostAndPort.java#L211-L241", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/GeneralRange.java", "func_name": "GeneralRange.all", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the whole range relative to the specified comparator.", "docstring_tokens": ["Returns", "the", "whole", "range", "relative", "to", "the", "specified", "comparator", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/GeneralRange.java#L58-L60", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/GeneralRange.java", "func_name": "GeneralRange.reverse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the same range relative to the reversed comparator.", "docstring_tokens": ["Returns", "the", "same", "range", "relative", "to", "the", "reversed", "comparator", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/GeneralRange.java#L251-L267", "partition": "valid"}
+{"repo": "google/guava", "path": "guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java", "func_name": "ImmutableSet.unsafeDelegate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the elements are known to be non-null.", "docstring_tokens": ["the", "elements", "are", "known", "to", "be", "non", "-", "null", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java#L135-L144", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java", "func_name": "ImmutableTypeToInstanceMap.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an empty type to instance map.", "docstring_tokens": ["Returns", "an", "empty", "type", "to", "instance", "map", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java#L35-L37", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java", "func_name": "CycleDetectingLockFactory.aboutToAcquire", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "CycleDetectingLock implementations must call this method before attempting to acquire the lock.", "docstring_tokens": ["CycleDetectingLock", "implementations", "must", "call", "this", "method", "before", "attempting", "to", "acquire", "the", "lock", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java#L707-L714", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableRangeSet.java", "func_name": "ImmutableRangeSet.subRangeSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a view of the intersection of this range set with the given range.", "docstring_tokens": ["Returns", "a", "view", "of", "the", "intersection", "of", "this", "range", "set", "with", "the", "given", "range", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableRangeSet.java#L468-L479", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/RegularImmutableMap.java", "func_name": "RegularImmutableMap.makeImmutable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes an entry usable internally by a new ImmutableMap without rereading its contents.", "docstring_tokens": ["Makes", "an", "entry", "usable", "internally", "by", "a", "new", "ImmutableMap", "without", "rereading", "its", "contents", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/RegularImmutableMap.java#L120-L124", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/collect/RegularImmutableMap.java", "func_name": "RegularImmutableMap.makeImmutable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes an entry usable internally by a new ImmutableMap.", "docstring_tokens": ["Makes", "an", "entry", "usable", "internally", "by", "a", "new", "ImmutableMap", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/collect/RegularImmutableMap.java#L127-L129", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/escape/Escapers.java", "func_name": "Escapers.wrap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Private helper to wrap a CharEscaper as a UnicodeEscaper.", "docstring_tokens": ["Private", "helper", "to", "wrap", "a", "CharEscaper", "as", "a", "UnicodeEscaper", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/escape/Escapers.java#L223-L270", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/math/PairedStatsAccumulator.java", "func_name": "PairedStatsAccumulator.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the given pair of values to the dataset.", "docstring_tokens": ["Adds", "the", "given", "pair", "of", "values", "to", "the", "dataset", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/math/PairedStatsAccumulator.java#L43-L64", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableBiMap.java", "func_name": "ImmutableBiMap.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable bimap containing a single entry.", "docstring_tokens": ["Returns", "an", "immutable", "bimap", "containing", "a", "single", "entry", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableBiMap.java#L47-L50", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/ImmutableBiMap.java", "func_name": "ImmutableBiMap.copyOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an immutable bimap containing the given entries. The returned bimap iterates over\nentries in the same order as the original iterable.\n\n@throws IllegalArgumentException if two keys have the same value or two values have the same\nkey\n@throws NullPointerException if any key, value, or entry is null\n@since 19.0", "docstring_tokens": ["Returns", "an", "immutable", "bimap", "containing", "the", "given", "entries", ".", "The", "returned", "bimap", "iterates", "over", "entries", "in", "the", "same", "order", "as", "the", "original", "iterable", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/ImmutableBiMap.java#L299-L307", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/base/Functions.java", "func_name": "Functions.identity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "implementation is \"fully variant\"; E has become a \"pass-through\" type", "docstring_tokens": ["implementation", "is", "fully", "variant", ";", "E", "has", "become", "a", "pass", "-", "through", "type"], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/base/Functions.java#L81-L84", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/base/Functions.java", "func_name": "Functions.forPredicate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a function that returns the same boolean output as the given predicate for all inputs.\n\n
The returned function is consistent with equals (as documented at {@link\nFunction#apply}) if and only if {@code predicate} is itself consistent with equals.\n\n
Java 8 users: use the method reference {@code predicate::test} instead.", "docstring_tokens": ["Creates", "a", "function", "that", "returns", "the", "same", "boolean", "output", "as", "the", "given", "predicate", "for", "all", "inputs", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/base/Functions.java#L272-L274", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/cache/LocalCache.java", "func_name": "LocalCache.unset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Singleton placeholder that indicates a value is being loaded.", "docstring_tokens": ["Singleton", "placeholder", "that", "indicates", "a", "value", "is", "being", "loaded", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/cache/LocalCache.java#L725-L728", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/cache/LocalCache.java", "func_name": "LocalCache.isExpired", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the entry has expired.", "docstring_tokens": ["Returns", "true", "if", "the", "entry", "has", "expired", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/cache/LocalCache.java#L1762-L1771", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/util/concurrent/RateLimiter.java", "func_name": "RateLimiter.reserveAndGetWaitLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserves next ticket and returns the wait time that the caller must wait for.\n\n@return the required wait time, never negative", "docstring_tokens": ["Reserves", "next", "ticket", "and", "returns", "the", "wait", "time", "that", "the", "caller", "must", "wait", "for", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/util/concurrent/RateLimiter.java#L370-L373", "partition": "valid"}
+{"repo": "google/guava", "path": "guava/src/com/google/common/escape/UnicodeEscaper.java", "func_name": "UnicodeEscaper.codePointAt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the Unicode code point of the character at the given index.\n\n
Unlike {@link Character#codePointAt(CharSequence, int)} or {@link String#codePointAt(int)}\nthis method will never fail silently when encountering an invalid surrogate pair.\n\n
The behaviour of this method is as follows:\n\n
\n
If {@code index >= end}, {@link IndexOutOfBoundsException} is thrown.\n
If the character at the specified index is not a surrogate, it is returned.\n
If the first character was a high surrogate value, then an attempt is made to read the\nnext character.\n\n
If the end of the sequence was reached, the negated value of the trailing high\nsurrogate is returned.\n
If the next character was a valid low surrogate, the code point value of the\nhigh/low surrogate pair is returned.\n
If the next character was not a low surrogate value, then {@link\nIllegalArgumentException} is thrown.\n
\n
If the first character was a low surrogate value, {@link IllegalArgumentException} is\nthrown.\n
\n\n@param seq the sequence of characters from which to decode the code point\n@param index the index of the first character to decode\n@param end the index beyond the last valid character to decode\n@return the Unicode code point for the given index or the negated value of the trailing high\nsurrogate character at the end of the sequence", "docstring_tokens": ["Returns", "the", "Unicode", "code", "point", "of", "the", "character", "at", "the", "given", "index", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/guava/src/com/google/common/escape/UnicodeEscaper.java#L245-L286", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/HashBiMap.java", "func_name": "HashBiMap.ensureCapacity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensures that all of the internal structures in the HashBiMap are ready for this many elements.", "docstring_tokens": ["Ensures", "that", "all", "of", "the", "internal", "structures", "in", "the", "HashBiMap", "are", "ready", "for", "this", "many", "elements", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/HashBiMap.java#L155-L185", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/HashBiMap.java", "func_name": "HashBiMap.insertIntoTableKToV", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the K-to-V hash table to include the entry at the specified index, which is assumed to\nhave not yet been added.", "docstring_tokens": ["Updates", "the", "K", "-", "to", "-", "V", "hash", "table", "to", "include", "the", "entry", "at", "the", "specified", "index", "which", "is", "assumed", "to", "have", "not", "yet", "been", "added", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/HashBiMap.java#L372-L377", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/HashBiMap.java", "func_name": "HashBiMap.insertIntoTableVToK", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the V-to-K hash table to include the entry at the specified index, which is assumed to\nhave not yet been added.", "docstring_tokens": ["Updates", "the", "V", "-", "to", "-", "K", "hash", "table", "to", "include", "the", "entry", "at", "the", "specified", "index", "which", "is", "assumed", "to", "have", "not", "yet", "been", "added", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/HashBiMap.java#L383-L388", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/HashBiMap.java", "func_name": "HashBiMap.deleteFromTableKToV", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the K-to-V hash table to remove the entry at the specified index, which is assumed to\nbe present. Does not update any other data structures.", "docstring_tokens": ["Updates", "the", "K", "-", "to", "-", "V", "hash", "table", "to", "remove", "the", "entry", "at", "the", "specified", "index", "which", "is", "assumed", "to", "be", "present", ".", "Does", "not", "update", "any", "other", "data", "structures", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/HashBiMap.java#L394-L416", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/HashBiMap.java", "func_name": "HashBiMap.deleteFromTableVToK", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the V-to-K hash table to remove the entry at the specified index, which is assumed to\nbe present. Does not update any other data structures.", "docstring_tokens": ["Updates", "the", "V", "-", "to", "-", "K", "hash", "table", "to", "remove", "the", "entry", "at", "the", "specified", "index", "which", "is", "assumed", "to", "be", "present", ".", "Does", "not", "update", "any", "other", "data", "structures", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/HashBiMap.java#L422-L444", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/HashBiMap.java", "func_name": "HashBiMap.removeEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the entry at the specified index, given the hash of its key and value.", "docstring_tokens": ["Removes", "the", "entry", "at", "the", "specified", "index", "given", "the", "hash", "of", "its", "key", "and", "value", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/HashBiMap.java#L553-L567", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/HashBiMap.java", "func_name": "HashBiMap.removeEntryKeyHashKnown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the entry at the specified index, given the hash of its key.", "docstring_tokens": ["Removes", "the", "entry", "at", "the", "specified", "index", "given", "the", "hash", "of", "its", "key", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/HashBiMap.java#L570-L572", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/collect/HashBiMap.java", "func_name": "HashBiMap.removeEntryValueHashKnown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the entry at the specified index, given the hash of its value.", "docstring_tokens": ["Removes", "the", "entry", "at", "the", "specified", "index", "given", "the", "hash", "of", "its", "value", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/collect/HashBiMap.java#L575-L577", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/graph/NetworkBuilder.java", "func_name": "NetworkBuilder.expectedNodeCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies the expected number of nodes in the network.\n\n@throws IllegalArgumentException if {@code expectedNodeCount} is negative", "docstring_tokens": ["Specifies", "the", "expected", "number", "of", "nodes", "in", "the", "network", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/graph/NetworkBuilder.java#L142-L145", "partition": "valid"}
+{"repo": "google/guava", "path": "android/guava/src/com/google/common/graph/NetworkBuilder.java", "func_name": "NetworkBuilder.expectedEdgeCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies the expected number of edges in the network.\n\n@throws IllegalArgumentException if {@code expectedEdgeCount} is negative", "docstring_tokens": ["Specifies", "the", "expected", "number", "of", "edges", "in", "the", "network", "."], "sha": "7155d12b70a2406fa84d94d4b8b3bc108e89abfd", "url": "https://github.com/google/guava/blob/7155d12b70a2406fa84d94d4b8b3bc108e89abfd/android/guava/src/com/google/common/graph/NetworkBuilder.java#L152-L155", "partition": "valid"}
+{"repo": "codingapi/tx-lcn", "path": "txlcn-tc/src/main/java/com/codingapi/txlcn/tc/support/p6spy/common/CallableStatementInformation.java", "func_name": "CallableStatementInformation.getSqlWithValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the query for the callable statement with all parameter placeholders\nreplaced with the actual parameter values\n\n@return the SQL", "docstring_tokens": ["Generates", "the", "query", "for", "the", "callable", "statement", "with", "all", "parameter", "placeholders", "replaced", "with", "the", "actual", "parameter", "values"], "sha": "1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6", "url": "https://github.com/codingapi/tx-lcn/blob/1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6/txlcn-tc/src/main/java/com/codingapi/txlcn/tc/support/p6spy/common/CallableStatementInformation.java#L42-L85", "partition": "valid"}
+{"repo": "codingapi/tx-lcn", "path": "txlcn-tc/src/main/java/com/codingapi/txlcn/tc/support/p6spy/common/CallableStatementInformation.java", "func_name": "CallableStatementInformation.setParameterValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Records the value of a parameter.\n\n@param name the name of the parameter\n@param value the value of the parameter", "docstring_tokens": ["Records", "the", "value", "of", "a", "parameter", "."], "sha": "1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6", "url": "https://github.com/codingapi/tx-lcn/blob/1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6/txlcn-tc/src/main/java/com/codingapi/txlcn/tc/support/p6spy/common/CallableStatementInformation.java#L103-L105", "partition": "valid"}
+{"repo": "codingapi/tx-lcn", "path": "txlcn-tc/src/main/java/com/codingapi/txlcn/tc/core/transaction/txc/analy/util/SqlUtils.java", "func_name": "SqlUtils.objectToBlob", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "java Object to bytes\n\n@param o o\n@return byte[]", "docstring_tokens": ["java", "Object", "to", "bytes"], "sha": "1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6", "url": "https://github.com/codingapi/tx-lcn/blob/1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6/txlcn-tc/src/main/java/com/codingapi/txlcn/tc/core/transaction/txc/analy/util/SqlUtils.java#L129-L135", "partition": "valid"}
+{"repo": "codingapi/tx-lcn", "path": "txlcn-tc/src/main/java/com/codingapi/txlcn/tc/core/transaction/txc/analy/util/SqlUtils.java", "func_name": "SqlUtils.blobToObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "bytes to java object.\n\n@param blob blob\n@param type type\n@param T\n@return T", "docstring_tokens": ["bytes", "to", "java", "object", "."], "sha": "1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6", "url": "https://github.com/codingapi/tx-lcn/blob/1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6/txlcn-tc/src/main/java/com/codingapi/txlcn/tc/core/transaction/txc/analy/util/SqlUtils.java#L145-L151", "partition": "valid"}
+{"repo": "codingapi/tx-lcn", "path": "txlcn-tc/src/main/java/com/codingapi/txlcn/tc/core/transaction/txc/analy/TxcServiceImpl.java", "func_name": "TxcServiceImpl.lockDataLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "lock data line\n\n@param groupId groupId\n@param unitId unitId\n@param lockIdSet lockIdSet\n@param isXLock isXLock\n@throws TxcLogicException \u4e1a\u52a1\u5f02\u5e38", "docstring_tokens": ["lock", "data", "line"], "sha": "1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6", "url": "https://github.com/codingapi/tx-lcn/blob/1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6/txlcn-tc/src/main/java/com/codingapi/txlcn/tc/core/transaction/txc/analy/TxcServiceImpl.java#L82-L91", "partition": "valid"}
+{"repo": "codingapi/tx-lcn", "path": "txlcn-tc/src/main/java/com/codingapi/txlcn/tc/core/transaction/txc/analy/TxcServiceImpl.java", "func_name": "TxcServiceImpl.saveUndoLog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "save sql undo log\n\n@param groupId groupId\n@param unitId unitId\n@param sqlType sqlType\n@param recordList recordList\n@throws TxcLogicException \u4e1a\u52a1\u5f02\u5e38", "docstring_tokens": ["save", "sql", "undo", "log"], "sha": "1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6", "url": "https://github.com/codingapi/tx-lcn/blob/1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6/txlcn-tc/src/main/java/com/codingapi/txlcn/tc/core/transaction/txc/analy/TxcServiceImpl.java#L102-L113", "partition": "valid"}
+{"repo": "codingapi/tx-lcn", "path": "txlcn-tm/src/main/java/com/codingapi/txlcn/tm/core/storage/redis/RedisConfiguration.java", "func_name": "RedisConfiguration.functionDomainRedisTemplate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "default configuration redis template when have RedisConnectionFactory", "docstring_tokens": ["default", "configuration", "redis", "template", "when", "have", "RedisConnectionFactory"], "sha": "1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6", "url": "https://github.com/codingapi/tx-lcn/blob/1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6/txlcn-tm/src/main/java/com/codingapi/txlcn/tm/core/storage/redis/RedisConfiguration.java#L37-L49", "partition": "valid"}
+{"repo": "codingapi/tx-lcn", "path": "txlcn-tracing/src/main/java/com/codingapi/txlcn/tracing/TracingContext.java", "func_name": "TracingContext.appMapString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "String Type App map.\n\n@return appMap", "docstring_tokens": ["String", "Type", "App", "map", "."], "sha": "1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6", "url": "https://github.com/codingapi/tx-lcn/blob/1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6/txlcn-tracing/src/main/java/com/codingapi/txlcn/tracing/TracingContext.java#L142-L150", "partition": "valid"}
+{"repo": "codingapi/tx-lcn", "path": "txlcn-tc/src/main/java/com/codingapi/txlcn/tc/support/p6spy/common/P6Util.java", "func_name": "P6Util.locateOnClassPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Locates a file on the classpath.\n\n@param filename the relative filePath of the file to load\n@return the URL of the file or null if not found", "docstring_tokens": ["Locates", "a", "file", "on", "the", "classpath", "."], "sha": "1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6", "url": "https://github.com/codingapi/tx-lcn/blob/1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6/txlcn-tc/src/main/java/com/codingapi/txlcn/tc/support/p6spy/common/P6Util.java#L96-L112", "partition": "valid"}
+{"repo": "codingapi/tx-lcn", "path": "txlcn-tc/src/main/java/com/codingapi/txlcn/tc/support/p6spy/common/ConnectionInformation.java", "func_name": "ConnectionInformation.fromConnection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method should only be used in test scenarios\n\n@param connection the underlying connection (possibly a mock)\n@return a new {@link ConnectionInformation} instance", "docstring_tokens": ["This", "method", "should", "only", "be", "used", "in", "test", "scenarios"], "sha": "1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6", "url": "https://github.com/codingapi/tx-lcn/blob/1f95ecd4b845d91c7a5920a1fbfd8f682d6f40a6/txlcn-tc/src/main/java/com/codingapi/txlcn/tc/support/p6spy/common/ConnectionInformation.java#L43-L47", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/util/ExceptionToResourceMapping.java", "func_name": "ExceptionToResourceMapping.mapThrowable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Looks at the exception and its causes trying to find an ID.", "docstring_tokens": ["Looks", "at", "the", "exception", "and", "its", "causes", "trying", "to", "find", "an", "ID", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/util/ExceptionToResourceMapping.java#L41-L60", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBusAnnotationProcessor/src/org/greenrobot/eventbus/annotationprocessor/EventBusAnnotationProcessor.java", "func_name": "EventBusAnnotationProcessor.checkForSubscribersToSkip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Subscriber classes should be skipped if their class or any involved event class are not visible to the index.", "docstring_tokens": ["Subscriber", "classes", "should", "be", "skipped", "if", "their", "class", "or", "any", "involved", "event", "class", "are", "not", "visible", "to", "the", "index", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBusAnnotationProcessor/src/org/greenrobot/eventbus/annotationprocessor/EventBusAnnotationProcessor.java#L158-L208", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/EventBus.java", "func_name": "EventBus.getDefault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience singleton for apps using a process-wide EventBus instance.", "docstring_tokens": ["Convenience", "singleton", "for", "apps", "using", "a", "process", "-", "wide", "EventBus", "instance", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/EventBus.java#L80-L91", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/EventBus.java", "func_name": "EventBus.subscribe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Must be called in synchronized block", "docstring_tokens": ["Must", "be", "called", "in", "synchronized", "block"], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/EventBus.java#L151-L199", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/EventBus.java", "func_name": "EventBus.unsubscribeByEventType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Only updates subscriptionsByEventType, not typesBySubscriber! Caller must update typesBySubscriber.", "docstring_tokens": ["Only", "updates", "subscriptionsByEventType", "not", "typesBySubscriber!", "Caller", "must", "update", "typesBySubscriber", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/EventBus.java#L224-L238", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/EventBus.java", "func_name": "EventBus.unregister", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unregisters the given subscriber from all event classes.", "docstring_tokens": ["Unregisters", "the", "given", "subscriber", "from", "all", "event", "classes", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/EventBus.java#L241-L251", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/EventBus.java", "func_name": "EventBus.post", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Posts the given event to the event bus.", "docstring_tokens": ["Posts", "the", "given", "event", "to", "the", "event", "bus", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/EventBus.java#L254-L274", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/EventBus.java", "func_name": "EventBus.getStickyEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the most recent sticky event for the given type.\n\n@see #postSticky(Object)", "docstring_tokens": ["Gets", "the", "most", "recent", "sticky", "event", "for", "the", "given", "type", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/EventBus.java#L316-L320", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/EventBus.java", "func_name": "EventBus.removeStickyEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove and gets the recent sticky event for the given event type.\n\n@see #postSticky(Object)", "docstring_tokens": ["Remove", "and", "gets", "the", "recent", "sticky", "event", "for", "the", "given", "event", "type", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/EventBus.java#L327-L331", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/EventBus.java", "func_name": "EventBus.removeStickyEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the sticky event if it equals to the given event.\n\n@return true if the events matched and the sticky event was removed.", "docstring_tokens": ["Removes", "the", "sticky", "event", "if", "it", "equals", "to", "the", "given", "event", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/EventBus.java#L338-L349", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/EventBus.java", "func_name": "EventBus.lookupAllEventTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Looks up all Class objects including super classes and interfaces. Should also work for interfaces.", "docstring_tokens": ["Looks", "up", "all", "Class", "objects", "including", "super", "classes", "and", "interfaces", ".", "Should", "also", "work", "for", "interfaces", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/EventBus.java#L465-L480", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/EventBus.java", "func_name": "EventBus.addInterfaces", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recurses through super interfaces.", "docstring_tokens": ["Recurses", "through", "super", "interfaces", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/EventBus.java#L483-L490", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/EventBusBuilder.java", "func_name": "EventBusBuilder.addIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an index generated by EventBus' annotation preprocessor.", "docstring_tokens": ["Adds", "an", "index", "generated", "by", "EventBus", "annotation", "preprocessor", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/EventBusBuilder.java#L137-L143", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/util/ErrorDialogManager.java", "func_name": "ErrorDialogManager.attachTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scope is limited to the activity's class.", "docstring_tokens": ["Scope", "is", "limited", "to", "the", "activity", "s", "class", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/util/ErrorDialogManager.java#L200-L203", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/util/ErrorDialogFragmentFactory.java", "func_name": "ErrorDialogFragmentFactory.prepareErrorFragment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepares the fragment's arguments and creates the fragment. May be overridden to provide custom error fragments.", "docstring_tokens": ["Prepares", "the", "fragment", "s", "arguments", "and", "creates", "the", "fragment", ".", "May", "be", "overridden", "to", "provide", "custom", "error", "fragments", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/util/ErrorDialogFragmentFactory.java#L38-L70", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/util/ErrorDialogFragmentFactory.java", "func_name": "ErrorDialogFragmentFactory.getTitleFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "May be overridden to provide custom error title.", "docstring_tokens": ["May", "be", "overridden", "to", "provide", "custom", "error", "title", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/util/ErrorDialogFragmentFactory.java#L76-L78", "partition": "valid"}
+{"repo": "greenrobot/EventBus", "path": "EventBus/src/org/greenrobot/eventbus/util/ErrorDialogFragmentFactory.java", "func_name": "ErrorDialogFragmentFactory.getMessageFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "May be overridden to provide custom error messages.", "docstring_tokens": ["May", "be", "overridden", "to", "provide", "custom", "error", "messages", "."], "sha": "2e7c0461106a3c261859579ec6fdcb5353ed31a4", "url": "https://github.com/greenrobot/EventBus/blob/2e7c0461106a3c261859579ec6fdcb5353ed31a4/EventBus/src/org/greenrobot/eventbus/util/ErrorDialogFragmentFactory.java#L81-L84", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/DrainUtils.java", "func_name": "DrainUtils.postCompleteDrain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Drains the queue either in a pre- or post-complete state.\n\n@param n the requested amount\n@param actual the consumer of values\n@param queue the queue holding available values\n@param field the field updater holding the requested amount\n@param instance the parent instance of the requested field\n@param isCancelled callback to detect cancellation\n@return true if the queue was completely drained or the drain process was cancelled", "docstring_tokens": ["Drains", "the", "queue", "either", "in", "a", "pre", "-", "or", "post", "-", "complete", "state", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/DrainUtils.java#L92-L162", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/BlockingSingleSubscriber.java", "func_name": "BlockingSingleSubscriber.blockingGet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Block until the first value arrives and return it, otherwise\nreturn null for an empty source and rethrow any exception.\n\n@param timeout the timeout to wait\n@param unit the time unit\n\n@return the first value or null if the source is empty", "docstring_tokens": ["Block", "until", "the", "first", "value", "arrives", "and", "return", "it", "otherwise", "return", "null", "for", "an", "empty", "source", "and", "rethrow", "any", "exception", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/BlockingSingleSubscriber.java#L108-L137", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/Flux.java", "func_name": "Flux.elementAt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Emit only the element at the given index position or fall back to a\ndefault value if the sequence is shorter.\n\n
\n\n\n@reactor.discard This operator discards elements that appear before the requested index.\n\n@param index zero-based index of the only item to emit\n@param defaultValue a default value to emit if the sequence is shorter\n\n@return a {@link Mono} of the item at the specified zero-based index or a default value", "docstring_tokens": ["Emit", "only", "the", "element", "at", "the", "given", "index", "position", "or", "fall", "back", "to", "a", "default", "value", "if", "the", "sequence", "is", "shorter", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/Flux.java#L4384-L4386", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/Flux.java", "func_name": "Flux.onErrorResume", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Subscribe to a returned fallback publisher when any error occurs, using a function to\nchoose the fallback depending on the error.\n\n
\n\n\n@param fallback the function to choose the fallback to an alternative {@link Publisher}\n\n@return a {@link Flux} falling back upon source onError", "docstring_tokens": ["Subscribe", "to", "a", "returned", "fallback", "publisher", "when", "any", "error", "occurs", "using", "a", "function", "to", "choose", "the", "fallback", "depending", "on", "the", "error", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/Flux.java#L6242-L6244", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/Flux.java", "func_name": "Flux.repeat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Repeatedly subscribe to the source if the predicate returns true after completion of the previous\nsubscription. A specified maximum of repeat will limit the number of re-subscribe.\n\n
\n\n\n@param numRepeat the number of times to re-subscribe on complete (positive, or 0 for original sequence only)\n@param predicate the boolean to evaluate on onComplete\n\n@return a {@link Flux} that repeats on onComplete while the predicate matches,\nup to the specified number of repetitions", "docstring_tokens": ["Repeatedly", "subscribe", "to", "the", "source", "if", "the", "predicate", "returns", "true", "after", "completion", "of", "the", "previous", "subscription", ".", "A", "specified", "maximum", "of", "repeat", "will", "limit", "the", "number", "of", "re", "-", "subscribe", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/Flux.java#L6731-L6739", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/Flux.java", "func_name": "Flux.convertToMono", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the appropriate Mono instance for a known Supplier Flux.\n\n@param supplier the supplier Flux\n\n@return the mono representing that Flux", "docstring_tokens": ["Returns", "the", "appropriate", "Mono", "instance", "for", "a", "known", "Supplier", "Flux", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/Flux.java#L9315-L9332", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/EventLoopProcessor.java", "func_name": "EventLoopProcessor.getAndSub", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Concurrent subtraction bound to 0 and Long.MAX_VALUE. Any concurrent write will\n\"happen\" before this operation.\n\n@param sequence current sequence to update\n@param toSub delta to sub\n\n@return value before subscription, 0 or Long.MAX_VALUE", "docstring_tokens": ["Concurrent", "subtraction", "bound", "to", "0", "and", "Long", ".", "MAX_VALUE", ".", "Any", "concurrent", "write", "will", "happen", "before", "this", "operation", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/EventLoopProcessor.java#L173-L185", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/Operators.java", "func_name": "Operators.as", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the subscription as QueueSubscription if possible or null.\n@param the value type of the QueueSubscription.\n@param s the source subscription to try to convert.\n@return the QueueSubscription instance or null", "docstring_tokens": ["Returns", "the", "subscription", "as", "QueueSubscription", "if", "possible", "or", "null", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/Operators.java#L102-L109", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/Operators.java", "func_name": "Operators.error", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calls onSubscribe on the target Subscriber with the empty instance followed by a call to onError with the\nsupplied error.\n\n@param s target Subscriber to error\n@param e the actual error", "docstring_tokens": ["Calls", "onSubscribe", "on", "the", "target", "Subscriber", "with", "the", "empty", "instance", "followed", "by", "a", "call", "to", "onError", "with", "the", "supplied", "error", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/Operators.java#L180-L183", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/Operators.java", "func_name": "Operators.produced", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Concurrent subtraction bound to 0, mostly used to decrement a request tracker by\nthe amount produced by the operator. Any concurrent write will \"happen before\"\nthis operation.\n\n@param the parent instance type\n@param updater current field updater\n@param instance current instance to update\n@param toSub delta to subtract\n@return value after subtraction or zero", "docstring_tokens": ["Concurrent", "subtraction", "bound", "to", "0", "mostly", "used", "to", "decrement", "a", "request", "tracker", "by", "the", "amount", "produced", "by", "the", "operator", ".", "Any", "concurrent", "write", "will", "happen", "before", "this", "operation", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/Operators.java#L849-L860", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/Operators.java", "func_name": "Operators.scalarSubscription", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Represents a fuseable Subscription that emits a single constant value synchronously\nto a Subscriber or consumer.\n\n@param subscriber the delegate {@link Subscriber} that will be requesting the value\n@param value the single value to be emitted\n@param the value type\n@return a new scalar {@link Subscription}", "docstring_tokens": ["Represents", "a", "fuseable", "Subscription", "that", "emits", "a", "single", "constant", "value", "synchronously", "to", "a", "Subscriber", "or", "consumer", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/Operators.java#L937-L940", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/MonoIgnoreThen.java", "func_name": "MonoIgnoreThen.shift", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shifts the current last Mono into the ignore array and sets up a new last Mono instance.\n@param the new last value type\n@param newLast the new last Mono instance\n@return the new operator set up", "docstring_tokens": ["Shifts", "the", "current", "last", "Mono", "into", "the", "ignore", "array", "and", "sets", "up", "a", "new", "last", "Mono", "instance", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/MonoIgnoreThen.java#L65-L74", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/util/concurrent/WaitStrategy.java", "func_name": "WaitStrategy.phasedOffSleep", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Block by parking in a loop\n@param spinTimeout the spin timeout\n@param yieldTimeout the yield timeout\n@param units the time unit\n@return the wait strategy", "docstring_tokens": ["Block", "by", "parking", "in", "a", "loop"], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/util/concurrent/WaitStrategy.java#L151-L153", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/Mono.java", "func_name": "Mono.and", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Join the termination signals from this mono and another source into the returned\nvoid mono\n\n
\n\n
\n@param other the {@link Publisher} to wait for\ncomplete\n@return a new combined Mono\n@see #when", "docstring_tokens": ["Join", "the", "termination", "signals", "from", "this", "mono", "and", "another", "source", "into", "the", "returned", "void", "mono"], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/Mono.java#L1465-L1475", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/Mono.java", "func_name": "Mono.defaultIfEmpty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provide a default single value if this mono is completed without any data\n\n
\n\n
\n@param defaultV the alternate value if this sequence is empty\n\n@return a new {@link Mono}\n\n@see Flux#defaultIfEmpty(Object)", "docstring_tokens": ["Provide", "a", "default", "single", "value", "if", "this", "mono", "is", "completed", "without", "any", "data"], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/Mono.java#L1792-L1806", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/Mono.java", "func_name": "Mono.or", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Emit the first available result from this mono or the other mono.\n\n
\n\n\n@param other the racing other {@link Mono} to compete with for the result\n\n@return a new {@link Mono}\n@see #first", "docstring_tokens": ["Emit", "the", "first", "available", "result", "from", "this", "mono", "or", "the", "other", "mono", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/Mono.java#L2878-L2887", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/Mono.java", "func_name": "Mono.onErrorResume", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Subscribe to a fallback publisher when any error occurs, using a function to\nchoose the fallback depending on the error.\n\n
\n\n\n@param fallback the function to choose the fallback to an alternative {@link Mono}\n\n@return a {@link Mono} falling back upon source onError\n\n@see Flux#onErrorResume", "docstring_tokens": ["Subscribe", "to", "a", "fallback", "publisher", "when", "any", "error", "occurs", "using", "a", "function", "to", "choose", "the", "fallback", "depending", "on", "the", "error", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/Mono.java#L3043-L3046", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/Hooks.java", "func_name": "Hooks.getOnEachOperatorHooks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Immutable views on hook trackers, for testing purpose", "docstring_tokens": ["Immutable", "views", "on", "hook", "trackers", "for", "testing", "purpose"], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/Hooks.java#L519-L521", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/MonoDelayUntil.java", "func_name": "MonoDelayUntil.copyWithNewTriggerGenerator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a trigger generator to wait for.\n@param delayError the delayError parameter for the trigger being added, ignored if already true\n@param triggerGenerator the new trigger to add to the copy of the operator\n@return a new {@link MonoDelayUntil} instance with same source but additional trigger generator", "docstring_tokens": ["Add", "a", "trigger", "generator", "to", "wait", "for", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/MonoDelayUntil.java#L68-L77", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/QueueDrainSubscriber.java", "func_name": "QueueDrainSubscriber.drainMaxLoop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Drain the queue but give up with an error if there aren't enough requests.\n@param the queue value type\n@param the emission value type\n@param q the queue\n@param a the subscriber\n@param delayError true if errors should be delayed after all normal items\n@param dispose the disposable to call when termination happens and cleanup is necessary\n@param qd the QueueDrain instance that gives status information to the drain logic", "docstring_tokens": ["Drain", "the", "queue", "but", "give", "up", "with", "an", "error", "if", "there", "aren", "t", "enough", "requests", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/QueueDrainSubscriber.java#L198-L243", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/FluxFlatMap.java", "func_name": "FluxFlatMap.trySubscribeScalarMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if the source is a Supplier and if the mapper's publisher output is also\na supplier, thus avoiding subscribing to any of them.\n\n@param source the source publisher\n@param s the end consumer\n@param mapper the mapper function\n@param fuseableExpected if true, the parent class was marked Fuseable thus the\nmapping output has to signal onSubscribe with a QueueSubscription\n\n@return true if the optimization worked", "docstring_tokens": ["Checks", "if", "the", "source", "is", "a", "Supplier", "and", "if", "the", "mapper", "s", "publisher", "output", "is", "also", "a", "supplier", "thus", "avoiding", "subscribing", "to", "any", "of", "them", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/FluxFlatMap.java#L117-L180", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java", "func_name": "ParallelFlux.as", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform a fluent transformation to a value via a converter function which receives\nthis ParallelFlux.\n\n@param the output value type\n@param converter the converter function from {@link ParallelFlux} to some type\n\n@return the value returned by the converter function", "docstring_tokens": ["Perform", "a", "fluent", "transformation", "to", "a", "value", "via", "a", "converter", "function", "which", "receives", "this", "ParallelFlux", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java#L153-L155", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java", "func_name": "ParallelFlux.collect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collect the elements in each rail into a collection supplied via a\ncollectionSupplier and collected into with a collector action, emitting the\ncollection at the end.\n\n@param the collection type\n@param collectionSupplier the supplier of the collection in each rail\n@param collector the collector, taking the per-rail collection and the current\nitem\n\n@return the new {@link ParallelFlux} instance", "docstring_tokens": ["Collect", "the", "elements", "in", "each", "rail", "into", "a", "collection", "supplied", "via", "a", "collectionSupplier", "and", "collected", "into", "with", "a", "collector", "action", "emitting", "the", "collection", "at", "the", "end", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java#L242-L245", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java", "func_name": "ParallelFlux.concatMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates and concatenates Publishers on each 'rail', signalling errors immediately\nand generating 2 publishers upfront.\n\n@param the result type\n@param mapper the function to map each rail's value into a Publisher source and the\ninner Publishers (immediate, boundary, end)\n\n@return the new {@link ParallelFlux} instance", "docstring_tokens": ["Generates", "and", "concatenates", "Publishers", "on", "each", "rail", "signalling", "errors", "immediately", "and", "generating", "2", "publishers", "upfront", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java#L325-L327", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java", "func_name": "ParallelFlux.doOnCancel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run the specified runnable when a 'rail' receives a cancellation.\n\n@param onCancel the callback\n\n@return the new {@link ParallelFlux} instance", "docstring_tokens": ["Run", "the", "specified", "runnable", "when", "a", "rail", "receives", "a", "cancellation", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java#L379-L382", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java", "func_name": "ParallelFlux.doOnComplete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run the specified runnable when a 'rail' completes.\n\n@param onComplete the callback\n\n@return the new {@link ParallelFlux} instance", "docstring_tokens": ["Run", "the", "specified", "runnable", "when", "a", "rail", "completes", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java#L391-L394", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java", "func_name": "ParallelFlux.doOnError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Call the specified consumer with the exception passing through any 'rail'.\n\n@param onError the callback\n\n@return the new {@link ParallelFlux} instance", "docstring_tokens": ["Call", "the", "specified", "consumer", "with", "the", "exception", "passing", "through", "any", "rail", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java#L436-L439", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java", "func_name": "ParallelFlux.doOnRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Call the specified consumer with the request amount if any rail receives a\nrequest.\n\n@param onRequest the callback\n\n@return the new {@link ParallelFlux} instance", "docstring_tokens": ["Call", "the", "specified", "consumer", "with", "the", "request", "amount", "if", "any", "rail", "receives", "a", "request", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java#L478-L481", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java", "func_name": "ParallelFlux.flatMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates and flattens Publishers on each 'rail', optionally delaying errors,\nhaving a total number of simultaneous subscriptions to the inner Publishers and\nusing the given prefetch amount for the inner Publishers.\n\n@param the result type\n@param mapper the function to map each rail's value into a Publisher\n@param delayError should the errors from the main and the inner sources delayed\ntill everybody terminates?\n@param maxConcurrency the maximum number of simultaneous subscriptions to the\ngenerated inner Publishers\n@param prefetch the number of items to prefetch from each inner Publisher\n\n@return the new {@link ParallelFlux} instance", "docstring_tokens": ["Generates", "and", "flattens", "Publishers", "on", "each", "rail", "optionally", "delaying", "errors", "having", "a", "total", "number", "of", "simultaneous", "subscriptions", "to", "the", "inner", "Publishers", "and", "using", "the", "given", "prefetch", "amount", "for", "the", "inner", "Publishers", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java#L591-L601", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java", "func_name": "ParallelFlux.sequential", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Merges the values from each 'rail' in a round-robin or same-order fashion and\nexposes it as a regular Publisher sequence, running with a give prefetch value for\nthe rails.\n\n@param prefetch the prefetch amount to use for each rail\n\n@return the new Flux instance", "docstring_tokens": ["Merges", "the", "values", "from", "each", "rail", "in", "a", "round", "-", "robin", "or", "same", "-", "order", "fashion", "and", "exposes", "it", "as", "a", "regular", "Publisher", "sequence", "running", "with", "a", "give", "prefetch", "value", "for", "the", "rails", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java#L907-L911", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java", "func_name": "ParallelFlux.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates the number of subscribers and returns true if their number matches the\nparallelism level of this ParallelFlux.\n\n@param subscribers the array of Subscribers\n\n@return true if the number of subscribers equals to the parallelism level", "docstring_tokens": ["Validates", "the", "number", "of", "subscribers", "and", "returns", "true", "if", "their", "number", "matches", "the", "parallelism", "level", "of", "this", "ParallelFlux", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java#L1113-L1124", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java", "func_name": "ParallelFlux.concatMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates and concatenates Publishers on each 'rail', optionally delaying errors\nand using the given prefetch amount for generating Publishers upfront.\n\n@param the result type\n@param mapper the function to map each rail's value into a Publisher\n@param prefetch the number of items to prefetch from each inner Publisher\n@param errorMode the error handling, i.e., when to report errors from the main\nsource and the inner Publishers (immediate, boundary, end)\n\n@return the new {@link ParallelFlux} instance", "docstring_tokens": ["Generates", "and", "concatenates", "Publishers", "on", "each", "rail", "optionally", "delaying", "errors", "and", "using", "the", "given", "prefetch", "amount", "for", "generating", "Publishers", "upfront", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java#L1138-L1146", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java", "func_name": "ParallelFlux.concatMapDelayError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates and concatenates Publishers on each 'rail', delaying errors\nand using the given prefetch amount for generating Publishers upfront.\n\n@param the result type\n@param mapper the function to map each rail's value into a Publisher\n@param delayUntilEnd true if delayed until all sources are concatenated\n@param prefetch the number of items to prefetch from each inner Publisher\nsource and the inner Publishers (immediate, boundary, end)\n\n@return the new {@link ParallelFlux} instance", "docstring_tokens": ["Generates", "and", "concatenates", "Publishers", "on", "each", "rail", "delaying", "errors", "and", "using", "the", "given", "prefetch", "amount", "for", "generating", "Publishers", "upfront", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/ParallelFlux.java#L1160-L1165", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/Exceptions.java", "func_name": "Exceptions.terminate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Atomic utility to safely mark a volatile throwable reference with a terminal\nmarker.\n\n@param field the atomic container\n@param instance the reference instance\n@param the instance type\n\n@return the previously masked throwable", "docstring_tokens": ["Atomic", "utility", "to", "safely", "mark", "a", "volatile", "throwable", "reference", "with", "a", "terminal", "marker", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/Exceptions.java#L339-L347", "partition": "valid"}
+{"repo": "reactor/reactor-core", "path": "reactor-core/src/main/java/reactor/core/publisher/SignalLogger.java", "func_name": "SignalLogger.log", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Structured logging with level adaptation and operator ascii graph if required.\n\n@param signalType the type of signal being logged\n@param signalValue the value for the signal (use empty string if not required)", "docstring_tokens": ["Structured", "logging", "with", "level", "adaptation", "and", "operator", "ascii", "graph", "if", "required", "."], "sha": "df2eba4ab7d2393e1a942ce972c3307fbbd47ff9", "url": "https://github.com/reactor/reactor-core/blob/df2eba4ab7d2393e1a942ce972c3307fbbd47ff9/reactor-core/src/main/java/reactor/core/publisher/SignalLogger.java#L174-L194", "partition": "valid"}
+{"repo": "lingochamp/FileDownloader", "path": "library/src/main/java/com/liulishuo/filedownloader/FileDownloader.java", "func_name": "FileDownloader.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start the download queue by the same listener.\n\n@param listener Used to assemble tasks which is bound by the same {@code listener}\n@param isSerial Whether start tasks one by one rather than parallel.\n@return {@code true} if start tasks successfully.", "docstring_tokens": ["Start", "the", "download", "queue", "by", "the", "same", "listener", "."], "sha": "53bca84d573505ff78899c4aa2056c3d40384c1b", "url": "https://github.com/lingochamp/FileDownloader/blob/53bca84d573505ff78899c4aa2056c3d40384c1b/library/src/main/java/com/liulishuo/filedownloader/FileDownloader.java#L227-L239", "partition": "valid"}
+{"repo": "lingochamp/FileDownloader", "path": "library/src/main/java/com/liulishuo/filedownloader/FileDownloader.java", "func_name": "FileDownloader.pauseAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pause all tasks running in FileDownloader.", "docstring_tokens": ["Pause", "all", "tasks", "running", "in", "FileDownloader", "."], "sha": "53bca84d573505ff78899c4aa2056c3d40384c1b", "url": "https://github.com/lingochamp/FileDownloader/blob/53bca84d573505ff78899c4aa2056c3d40384c1b/library/src/main/java/com/liulishuo/filedownloader/FileDownloader.java#L260-L273", "partition": "valid"}
+{"repo": "lingochamp/FileDownloader", "path": "library/src/main/java/com/liulishuo/filedownloader/FileDownloader.java", "func_name": "FileDownloader.getSoFar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get downloaded bytes so far by the downloadId.", "docstring_tokens": ["Get", "downloaded", "bytes", "so", "far", "by", "the", "downloadId", "."], "sha": "53bca84d573505ff78899c4aa2056c3d40384c1b", "url": "https://github.com/lingochamp/FileDownloader/blob/53bca84d573505ff78899c4aa2056c3d40384c1b/library/src/main/java/com/liulishuo/filedownloader/FileDownloader.java#L357-L364", "partition": "valid"}
+{"repo": "lingochamp/FileDownloader", "path": "library/src/main/java/com/liulishuo/filedownloader/FileDownloader.java", "func_name": "FileDownloader.unBindServiceIfIdle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unbind and stop the downloader service when there is no task running in the FileDownloader.\n\n@return {@code true} if unbind and stop the downloader service successfully, {@code false}\nthere are some tasks running in the FileDownloader.", "docstring_tokens": ["Unbind", "and", "stop", "the", "downloader", "service", "when", "there", "is", "no", "task", "running", "in", "the", "FileDownloader", "."], "sha": "53bca84d573505ff78899c4aa2056c3d40384c1b", "url": "https://github.com/lingochamp/FileDownloader/blob/53bca84d573505ff78899c4aa2056c3d40384c1b/library/src/main/java/com/liulishuo/filedownloader/FileDownloader.java#L524-L537", "partition": "valid"}
+{"repo": "lingochamp/FileDownloader", "path": "library/src/main/java/com/liulishuo/filedownloader/FileDownloader.java", "func_name": "FileDownloader.setMaxNetworkThreadCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the maximum count of the network thread, what is the number of simultaneous downloads in\nFileDownloader.\n\n@param count the number of simultaneous downloads, scope: [1, 12].\n@return whether is successful to set the max network thread count.\nIf there are any actively executing tasks in FileDownloader, you will receive a warn\npriority log int the logcat and this operation would be failed.", "docstring_tokens": ["Set", "the", "maximum", "count", "of", "the", "network", "thread", "what", "is", "the", "number", "of", "simultaneous", "downloads", "in", "FileDownloader", "."], "sha": "53bca84d573505ff78899c4aa2056c3d40384c1b", "url": "https://github.com/lingochamp/FileDownloader/blob/53bca84d573505ff78899c4aa2056c3d40384c1b/library/src/main/java/com/liulishuo/filedownloader/FileDownloader.java#L681-L691", "partition": "valid"}
+{"repo": "lingochamp/FileDownloader", "path": "library/src/main/java/com/liulishuo/filedownloader/services/FileDownloadManager.java", "func_name": "FileDownloadManager.pauseAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pause all running task", "docstring_tokens": ["Pause", "all", "running", "task"], "sha": "53bca84d573505ff78899c4aa2056c3d40384c1b", "url": "https://github.com/lingochamp/FileDownloader/blob/53bca84d573505ff78899c4aa2056c3d40384c1b/library/src/main/java/com/liulishuo/filedownloader/services/FileDownloadManager.java#L230-L240", "partition": "valid"}
+{"repo": "lingochamp/FileDownloader", "path": "library/src/main/java/com/liulishuo/filedownloader/FileDownloadQueueSet.java", "func_name": "FileDownloadQueueSet.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start tasks in a queue.\n\n@see #downloadSequentially(BaseDownloadTask...)\n@see #downloadSequentially(List)\n@see #downloadTogether(BaseDownloadTask...)\n@see #downloadTogether(List)", "docstring_tokens": ["Start", "tasks", "in", "a", "queue", "."], "sha": "53bca84d573505ff78899c4aa2056c3d40384c1b", "url": "https://github.com/lingochamp/FileDownloader/blob/53bca84d573505ff78899c4aa2056c3d40384c1b/library/src/main/java/com/liulishuo/filedownloader/FileDownloadQueueSet.java#L120-L166", "partition": "valid"}
+{"repo": "lingochamp/FileDownloader", "path": "library/src/main/java/com/liulishuo/filedownloader/FileDownloadList.java", "func_name": "FileDownloadList.divertAndIgnoreDuplicate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Divert all data in list 2 destination list", "docstring_tokens": ["Divert", "all", "data", "in", "list", "2", "destination", "list"], "sha": "53bca84d573505ff78899c4aa2056c3d40384c1b", "url": "https://github.com/lingochamp/FileDownloader/blob/53bca84d573505ff78899c4aa2056c3d40384c1b/library/src/main/java/com/liulishuo/filedownloader/FileDownloadList.java#L158-L169", "partition": "valid"}
+{"repo": "lingochamp/FileDownloader", "path": "library/src/main/java/com/liulishuo/filedownloader/FileDownloadList.java", "func_name": "FileDownloadList.addUnchecked", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method generally used for enqueuing the task which will be assembled by a queue.\n\n@see BaseDownloadTask.InQueueTask#enqueue()", "docstring_tokens": ["This", "method", "generally", "used", "for", "enqueuing", "the", "task", "which", "will", "be", "assembled", "by", "a", "queue", "."], "sha": "53bca84d573505ff78899c4aa2056c3d40384c1b", "url": "https://github.com/lingochamp/FileDownloader/blob/53bca84d573505ff78899c4aa2056c3d40384c1b/library/src/main/java/com/liulishuo/filedownloader/FileDownloadList.java#L240-L257", "partition": "valid"}
+{"repo": "lingochamp/FileDownloader", "path": "library/src/main/java/com/liulishuo/filedownloader/util/FileDownloadSerialQueue.java", "func_name": "FileDownloadSerialQueue.pause", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pause the queue.\n\n@see #resume()", "docstring_tokens": ["Pause", "the", "queue", "."], "sha": "53bca84d573505ff78899c4aa2056c3d40384c1b", "url": "https://github.com/lingochamp/FileDownloader/blob/53bca84d573505ff78899c4aa2056c3d40384c1b/library/src/main/java/com/liulishuo/filedownloader/util/FileDownloadSerialQueue.java#L84-L100", "partition": "valid"}
+{"repo": "lingochamp/FileDownloader", "path": "library/src/main/java/com/liulishuo/filedownloader/util/FileDownloadSerialQueue.java", "func_name": "FileDownloadSerialQueue.resume", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resume the queue if the queue is paused.\n\n@see #pause()", "docstring_tokens": ["Resume", "the", "queue", "if", "the", "queue", "is", "paused", "."], "sha": "53bca84d573505ff78899c4aa2056c3d40384c1b", "url": "https://github.com/lingochamp/FileDownloader/blob/53bca84d573505ff78899c4aa2056c3d40384c1b/library/src/main/java/com/liulishuo/filedownloader/util/FileDownloadSerialQueue.java#L107-L126", "partition": "valid"}
+{"repo": "lingochamp/FileDownloader", "path": "library/src/main/java/com/liulishuo/filedownloader/util/FileDownloadUtils.java", "func_name": "FileDownloadUtils.isAcceptRange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "accept range is effect by response code and Accept-Ranges header field.", "docstring_tokens": ["accept", "range", "is", "effect", "by", "response", "code", "and", "Accept", "-", "Ranges", "header", "field", "."], "sha": "53bca84d573505ff78899c4aa2056c3d40384c1b", "url": "https://github.com/lingochamp/FileDownloader/blob/53bca84d573505ff78899c4aa2056c3d40384c1b/library/src/main/java/com/liulishuo/filedownloader/util/FileDownloadUtils.java#L553-L559", "partition": "valid"}
+{"repo": "lingochamp/FileDownloader", "path": "library/src/main/java/com/liulishuo/filedownloader/util/FileDownloadUtils.java", "func_name": "FileDownloadUtils.findInstanceLengthForTrial", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "content-length.", "docstring_tokens": ["content", "-", "length", "."], "sha": "53bca84d573505ff78899c4aa2056c3d40384c1b", "url": "https://github.com/lingochamp/FileDownloader/blob/53bca84d573505ff78899c4aa2056c3d40384c1b/library/src/main/java/com/liulishuo/filedownloader/util/FileDownloadUtils.java#L564-L580", "partition": "valid"}
+{"repo": "Clans/FloatingActionButton", "path": "library/src/main/java/com/github/clans/fab/FloatingActionMenu.java", "func_name": "FloatingActionMenu.setAnimated", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets whether open and close actions should be animated\n\n@param animated if false - menu items will appear/disappear instantly without any animation", "docstring_tokens": ["Sets", "whether", "open", "and", "close", "actions", "should", "be", "animated"], "sha": "d3feaadabb8e4780e8bca330f4f67b94f21e1796", "url": "https://github.com/Clans/FloatingActionButton/blob/d3feaadabb8e4780e8bca330f4f67b94f21e1796/library/src/main/java/com/github/clans/fab/FloatingActionMenu.java#L760-L764", "partition": "valid"}
+{"repo": "Clans/FloatingActionButton", "path": "library/src/main/java/com/github/clans/fab/FloatingActionButton.java", "func_name": "FloatingActionButton.setElevationCompat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the shadow color and radius to mimic the native elevation.\n\n
API 21+: Sets the native elevation of this view, in pixels. Updates margins to\nmake the view hold its position in layout across different platform versions.
", "docstring_tokens": ["Sets", "the", "shadow", "color", "and", "radius", "to", "mimic", "the", "native", "elevation", "."], "sha": "d3feaadabb8e4780e8bca330f4f67b94f21e1796", "url": "https://github.com/Clans/FloatingActionButton/blob/d3feaadabb8e4780e8bca330f4f67b94f21e1796/library/src/main/java/com/github/clans/fab/FloatingActionButton.java#L1131-L1152", "partition": "valid"}
+{"repo": "Clans/FloatingActionButton", "path": "library/src/main/java/com/github/clans/fab/FloatingActionButton.java", "func_name": "FloatingActionButton.setLabelColors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the label's background colors", "docstring_tokens": ["Set", "the", "label", "s", "background", "colors"], "sha": "d3feaadabb8e4780e8bca330f4f67b94f21e1796", "url": "https://github.com/Clans/FloatingActionButton/blob/d3feaadabb8e4780e8bca330f4f67b94f21e1796/library/src/main/java/com/github/clans/fab/FloatingActionButton.java#L1300-L1311", "partition": "valid"}
+{"repo": "itfsw/mybatis-generator-plugin", "path": "src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java", "func_name": "TemplateCommentGenerator.addConfigurationProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds properties for this instance from any properties configured in the\nCommentGenerator configuration.\n\nThis method will be called before any of the other methods.\n\n@param properties\nAll properties from the configuration", "docstring_tokens": ["Adds", "properties", "for", "this", "instance", "from", "any", "properties", "configured", "in", "the", "CommentGenerator", "configuration", "."], "sha": "c2746d9567952cabe0eed8c533beb8c1a8bc1dce", "url": "https://github.com/itfsw/mybatis-generator-plugin/blob/c2746d9567952cabe0eed8c533beb8c1a8bc1dce/src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java#L204-L211", "partition": "valid"}
+{"repo": "itfsw/mybatis-generator-plugin", "path": "src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java", "func_name": "TemplateCommentGenerator.addModelClassComment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a comment for a model class. The Java code merger should\nbe notified not to delete the entire class in case any manual\nchanges have been made. So this method will always use the\n\"do not delete\" annotation.\n\nBecause of difficulties with the Java file merger, the default implementation\nof this method should NOT add comments. Comments should only be added if\nspecifically requested by the user (for example, by enabling table remark comments).\n\n@param topLevelClass\nthe top level class\n@param introspectedTable\nthe introspected table", "docstring_tokens": ["Adds", "a", "comment", "for", "a", "model", "class", ".", "The", "Java", "code", "merger", "should", "be", "notified", "not", "to", "delete", "the", "entire", "class", "in", "case", "any", "manual", "changes", "have", "been", "made", ".", "So", "this", "method", "will", "always", "use", "the", "do", "not", "delete", "annotation", "."], "sha": "c2746d9567952cabe0eed8c533beb8c1a8bc1dce", "url": "https://github.com/itfsw/mybatis-generator-plugin/blob/c2746d9567952cabe0eed8c533beb8c1a8bc1dce/src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java#L274-L283", "partition": "valid"}
+{"repo": "itfsw/mybatis-generator-plugin", "path": "src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java", "func_name": "TemplateCommentGenerator.addEnumComment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the enum comment.\n\n@param innerEnum\nthe inner enum\n@param introspectedTable\nthe introspected table", "docstring_tokens": ["Adds", "the", "enum", "comment", "."], "sha": "c2746d9567952cabe0eed8c533beb8c1a8bc1dce", "url": "https://github.com/itfsw/mybatis-generator-plugin/blob/c2746d9567952cabe0eed8c533beb8c1a8bc1dce/src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java#L346-L355", "partition": "valid"}
+{"repo": "itfsw/mybatis-generator-plugin", "path": "src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java", "func_name": "TemplateCommentGenerator.addGetterComment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the getter comment.\n\n@param method\nthe method\n@param introspectedTable\nthe introspected table\n@param introspectedColumn\nthe introspected column", "docstring_tokens": ["Adds", "the", "getter", "comment", "."], "sha": "c2746d9567952cabe0eed8c533beb8c1a8bc1dce", "url": "https://github.com/itfsw/mybatis-generator-plugin/blob/c2746d9567952cabe0eed8c533beb8c1a8bc1dce/src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java#L367-L377", "partition": "valid"}
+{"repo": "itfsw/mybatis-generator-plugin", "path": "src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java", "func_name": "TemplateCommentGenerator.addGeneralMethodComment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the general method comment.\n\n@param method\nthe method\n@param introspectedTable\nthe introspected table", "docstring_tokens": ["Adds", "the", "general", "method", "comment", "."], "sha": "c2746d9567952cabe0eed8c533beb8c1a8bc1dce", "url": "https://github.com/itfsw/mybatis-generator-plugin/blob/c2746d9567952cabe0eed8c533beb8c1a8bc1dce/src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java#L409-L418", "partition": "valid"}
+{"repo": "itfsw/mybatis-generator-plugin", "path": "src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java", "func_name": "TemplateCommentGenerator.addComment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method should add a suitable comment as a child element of the specified xmlElement to warn users that the\nelement was generated and is subject to regeneration.\n\n@param xmlElement\nthe xml element", "docstring_tokens": ["This", "method", "should", "add", "a", "suitable", "comment", "as", "a", "child", "element", "of", "the", "specified", "xmlElement", "to", "warn", "users", "that", "the", "element", "was", "generated", "and", "is", "subject", "to", "regeneration", "."], "sha": "c2746d9567952cabe0eed8c533beb8c1a8bc1dce", "url": "https://github.com/itfsw/mybatis-generator-plugin/blob/c2746d9567952cabe0eed8c533beb8c1a8bc1dce/src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/TemplateCommentGenerator.java#L449-L457", "partition": "valid"}
+{"repo": "itfsw/mybatis-generator-plugin", "path": "src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/InnerTypeFullyQualifiedJavaType.java", "func_name": "InnerTypeFullyQualifiedJavaType.getFullyQualifiedName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns the fully qualified name - including any generic type parameters.\n\n@return Returns the fullyQualifiedName.", "docstring_tokens": ["This", "method", "returns", "the", "fully", "qualified", "name", "-", "including", "any", "generic", "type", "parameters", "."], "sha": "c2746d9567952cabe0eed8c533beb8c1a8bc1dce", "url": "https://github.com/itfsw/mybatis-generator-plugin/blob/c2746d9567952cabe0eed8c533beb8c1a8bc1dce/src/main/java/com/itfsw/mybatis/generator/plugins/utils/enhanced/InnerTypeFullyQualifiedJavaType.java#L59-L65", "partition": "valid"}
+{"repo": "itfsw/mybatis-generator-plugin", "path": "src/main/java/com/itfsw/mybatis/generator/plugins/utils/XmlElementGeneratorTools.java", "func_name": "XmlElementGeneratorTools.getSelectKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method should return an XmlElement for the select key used to\nautomatically generate keys.\n@param introspectedColumn the column related to the select key statement\n@param generatedKey the generated key for the current table\n@return the selectKey element", "docstring_tokens": ["This", "method", "should", "return", "an", "XmlElement", "for", "the", "select", "key", "used", "to", "automatically", "generate", "keys", "."], "sha": "c2746d9567952cabe0eed8c533beb8c1a8bc1dce", "url": "https://github.com/itfsw/mybatis-generator-plugin/blob/c2746d9567952cabe0eed8c533beb8c1a8bc1dce/src/main/java/com/itfsw/mybatis/generator/plugins/utils/XmlElementGeneratorTools.java#L54-L56", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/ResourceTableFactory.java", "func_name": "ResourceTableFactory.newFrameworkResourceTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds an Android framework resource table in the \"android\" package space.", "docstring_tokens": ["Builds", "an", "Android", "framework", "resource", "table", "in", "the", "android", "package", "space", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/ResourceTableFactory.java#L11-L31", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/ResourceTableFactory.java", "func_name": "ResourceTableFactory.newResourceTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an application resource table which can be constructed with multiple resources paths\nrepresenting overlayed resource libraries.", "docstring_tokens": ["Creates", "an", "application", "resource", "table", "which", "can", "be", "constructed", "with", "multiple", "resources", "paths", "representing", "overlayed", "resource", "libraries", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/ResourceTableFactory.java#L37-L56", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/ResourceTableFactory.java", "func_name": "ResourceTableFactory.addMissingStyleableAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check the stylable elements. Not for aapt generated R files but for framework R files it is possible to\nhave attributes in the styleable array for which there is no corresponding R.attr field.", "docstring_tokens": ["Check", "the", "stylable", "elements", ".", "Not", "for", "aapt", "generated", "R", "files", "but", "for", "framework", "R", "files", "it", "is", "possible", "to", "have", "attributes", "in", "the", "styleable", "array", "for", "which", "there", "is", "no", "corresponding", "R", ".", "attr", "field", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/ResourceTableFactory.java#L83-L109", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowSettings.java", "func_name": "ShadowSettings.setWifiOn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Non-Android accessor that allows the value of the WIFI_ON setting to be set.\n\n@param isOn new status for wifi mode", "docstring_tokens": ["Non", "-", "Android", "accessor", "that", "allows", "the", "value", "of", "the", "WIFI_ON", "setting", "to", "be", "set", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSettings.java#L455-L460", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/Qualifiers.java", "func_name": "Qualifiers.addSmallestScreenWidth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the Config already has a `sw` qualifier, do nothing. Otherwise, add a `sw`\nqualifier for the given width.\n\n@deprecated Use {@link android.content.res.Configuration#smallestScreenWidthDp} instead.", "docstring_tokens": ["If", "the", "Config", "already", "has", "a", "sw", "qualifier", "do", "nothing", ".", "Otherwise", "add", "a", "sw", "qualifier", "for", "the", "given", "width", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/Qualifiers.java#L121-L131", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInstrumentor.java", "func_name": "ClassInstrumentor.instrumentNativeMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates native stub which returns the default return value.\n\n@param mutableClass Class to be instrumented\n@param method Method to be instrumented, must be native", "docstring_tokens": ["Creates", "native", "stub", "which", "returns", "the", "default", "return", "value", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInstrumentor.java#L363-L370", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInstrumentor.java", "func_name": "ClassInstrumentor.rewriteMethodBody", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Filters methods that might need special treatment because of various reasons", "docstring_tokens": ["Filters", "methods", "that", "might", "need", "special", "treatment", "because", "of", "various", "reasons"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInstrumentor.java#L395-L441", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInstrumentor.java", "func_name": "ClassInstrumentor.isGregorianCalendarBooleanConstructor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies if the @targetMethod is a `(boolean)` constructor for\n{@link java.util.GregorianCalendar}.", "docstring_tokens": ["Verifies", "if", "the"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInstrumentor.java#L447-L451", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInstrumentor.java", "func_name": "ClassInstrumentor.makeClassPublic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces protected and private class modifiers with public.", "docstring_tokens": ["Replaces", "protected", "and", "private", "class", "modifiers", "with", "public", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInstrumentor.java#L484-L486", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInstrumentor.java", "func_name": "ClassInstrumentor.makeMethodPublic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces protected and private method modifiers with public.", "docstring_tokens": ["Replaces", "protected", "and", "private", "method", "modifiers", "with", "public", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInstrumentor.java#L491-L493", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInstrumentor.java", "func_name": "ClassInstrumentor.makeMethodPrivate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces protected and public class modifiers with private.", "docstring_tokens": ["Replaces", "protected", "and", "public", "class", "modifiers", "with", "private", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/sandbox/src/main/java/org/robolectric/internal/bytecode/ClassInstrumentor.java#L498-L500", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccessibilityNodeInfo.java", "func_name": "ShadowAccessibilityNodeInfo.setTraversalAfter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the view whose node is visited after this one in accessibility traversal.\n\nThis may be useful for configuring traversal order in tests before the corresponding\nviews have been inflated.\n\n@param info The previous node.\n@see #getTraversalAfter()", "docstring_tokens": ["Sets", "the", "view", "whose", "node", "is", "visited", "after", "this", "one", "in", "accessibility", "traversal", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccessibilityNodeInfo.java#L777-L783", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccessibilityNodeInfo.java", "func_name": "ShadowAccessibilityNodeInfo.setTraversalBefore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the view before whose node this one should be visited during traversal.\n\nThis may be useful for configuring traversal order in tests before the corresponding\nviews have been inflated.\n\n@param info The view providing the preceding node.\n@see #getTraversalBefore()", "docstring_tokens": ["Sets", "the", "view", "before", "whose", "node", "this", "one", "should", "be", "visited", "during", "traversal", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccessibilityNodeInfo.java#L812-L818", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccessibilityNodeInfo.java", "func_name": "ShadowAccessibilityNodeInfo.addChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a child node to this one. Also initializes the parent field of the\nchild.\n\n@param child The node to be added as a child.", "docstring_tokens": ["Add", "a", "child", "node", "to", "this", "one", ".", "Also", "initializes", "the", "parent", "field", "of", "the", "child", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAccessibilityNodeInfo.java#L1032-L1040", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "sandbox/src/main/java/org/robolectric/internal/bytecode/RobolectricGeneratorAdapter.java", "func_name": "RobolectricGeneratorAdapter.pushDefaultReturnValueToStack", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Forces a return of a default value, depending on the method's return type\n\n@param type The method's return type", "docstring_tokens": ["Forces", "a", "return", "of", "a", "default", "value", "depending", "on", "the", "method", "s", "return", "type"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/sandbox/src/main/java/org/robolectric/internal/bytecode/RobolectricGeneratorAdapter.java#L51-L65", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/OsConstantsValues.java", "func_name": "OsConstantsValues.getMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the st_mode for the path.", "docstring_tokens": ["Returns", "the", "st_mode", "for", "the", "path", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/OsConstantsValues.java#L38-L54", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/android/controller/ActivityController.java", "func_name": "ActivityController.setup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calls the same lifecycle methods on the Activity called by Android when an Activity is restored from previously saved state.\n\n@param savedInstanceState Saved instance state.\n@return Activity controller instance.", "docstring_tokens": ["Calls", "the", "same", "lifecycle", "methods", "on", "the", "Activity", "called", "by", "Android", "when", "an", "Activity", "is", "restored", "from", "previously", "saved", "state", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/android/controller/ActivityController.java#L260-L267", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/android/controller/ActivityController.java", "func_name": "ActivityController.configurationChange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs a configuration change on the Activity.\n\nIf the activity is configured to handle changes without being recreated,\n{@link Activity#onConfigurationChanged(Configuration)} will be called. Otherwise, the activity\nis recreated as described [here](https://developer.android.com/guide/topics/resources/runtime-changes.html).\n\n@param newConfiguration The new configuration to be set.\n@return ActivityController instance", "docstring_tokens": ["Performs", "a", "configuration", "change", "on", "the", "Activity", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/android/controller/ActivityController.java#L300-L405", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/android/controller/ActivityController.java", "func_name": "ActivityController.recreate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recreates activity instance which is controlled by this ActivityController.\nNonConfigurationInstances and savedInstanceStateBundle are properly passed into a new instance.\nAfter the recreation, it brings back its lifecycle state to the original state. The activity\nshould not be destroyed yet.", "docstring_tokens": ["Recreates", "activity", "instance", "which", "is", "controlled", "by", "this", "ActivityController", ".", "NonConfigurationInstances", "and", "savedInstanceStateBundle", "are", "properly", "passed", "into", "a", "new", "instance", ".", "After", "the", "recreation", "it", "brings", "back", "its", "lifecycle", "state", "to", "the", "original", "state", ".", "The", "activity", "should", "not", "be", "destroyed", "yet", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/android/controller/ActivityController.java#L413-L482", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowTelephonyManager.java", "func_name": "ShadowTelephonyManager.setCallState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the current call state with the option to specify an incoming phone number for the\nCALL_STATE_RINGING state. The incoming phone number will be ignored for all other cases.", "docstring_tokens": ["Sets", "the", "current", "call", "state", "with", "the", "option", "to", "specify", "an", "incoming", "phone", "number", "for", "the", "CALL_STATE_RINGING", "state", ".", "The", "incoming", "phone", "number", "will", "be", "ignored", "for", "all", "other", "cases", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTelephonyManager.java#L159-L170", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "robolectric/src/main/java/org/robolectric/junit/rules/ExpectedLogMessagesRule.java", "func_name": "ExpectedLogMessagesRule.expectLogMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an expected log statement. If this log is not printed during test execution, the test case\nwill fail. Do not use this to suppress failures. Use this to test that expected error cases in\nyour code cause log messages to be printed.", "docstring_tokens": ["Adds", "an", "expected", "log", "statement", ".", "If", "this", "log", "is", "not", "printed", "during", "test", "execution", "the", "test", "case", "will", "fail", ".", "Do", "not", "use", "this", "to", "suppress", "failures", ".", "Use", "this", "to", "test", "that", "expected", "error", "cases", "in", "your", "code", "cause", "log", "messages", "to", "be", "printed", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/robolectric/src/main/java/org/robolectric/junit/rules/ExpectedLogMessagesRule.java#L85-L88", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/manifest/ServiceData.java", "func_name": "ServiceData.isExported", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns whether this service is exported by checking the XML attribute.\n\n@return true if the service is exported", "docstring_tokens": ["Returns", "whether", "this", "service", "is", "exported", "by", "checking", "the", "XML", "attribute", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/manifest/ServiceData.java#L68-L73", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/CachedPathIteratorFactory.java", "func_name": "CachedPathIteratorFactory.getShapeEndPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the end point of a given segment\n\n@param type the segment type\n@param coords the segment coordinates array\n@param point the return array where the point will be stored", "docstring_tokens": ["Returns", "the", "end", "point", "of", "a", "given", "segment"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/CachedPathIteratorFactory.java#L182-L187", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/CachedPathIteratorFactory.java", "func_name": "CachedPathIteratorFactory.getPointAtLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the estimated position along a path of the given length.", "docstring_tokens": ["Returns", "the", "estimated", "position", "along", "a", "path", "of", "the", "given", "length", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/CachedPathIteratorFactory.java#L236-L259", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/ResTable_config.java", "func_name": "ResTable_config.createConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "packed version of \"tl\"", "docstring_tokens": ["packed", "version", "of", "tl"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/ResTable_config.java#L119-L184", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/ResTable_config.java", "func_name": "ResTable_config.diff", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "that is different.", "docstring_tokens": ["that", "is", "different", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/ResTable_config.java#L975-L1001", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/ResTable_config.java", "func_name": "ResTable_config.isDefault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if this is the default \"any\" configuration.", "docstring_tokens": ["Returns", "true", "if", "this", "is", "the", "default", "any", "configuration", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/ResTable_config.java#L1067-L1092", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowUserManager.java", "func_name": "ShadowUserManager.getApplicationRestrictions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compared to real Android, there is no check that the package name matches the application\npackage name and the method returns instantly.\n\n@see #setApplicationRestrictions(String, Bundle)", "docstring_tokens": ["Compared", "to", "real", "Android", "there", "is", "no", "check", "that", "the", "package", "name", "matches", "the", "application", "package", "name", "and", "the", "method", "returns", "instantly", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUserManager.java#L86-L90", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowUserManager.java", "func_name": "ShadowUserManager.addUserProfile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a profile associated for the user that the calling process is running on.\n\nThe user is assigned an arbitrary unique serial number.\n\n@return the user's serial number", "docstring_tokens": ["Adds", "a", "profile", "associated", "for", "the", "user", "that", "the", "calling", "process", "is", "running", "on", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUserManager.java#L106-L110", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowUserManager.java", "func_name": "ShadowUserManager.addUser", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a user with the specified name, userId and flags.\n\n@param id the unique id of user\n@param name name of the user\n@param flags 16 bits for user type. See {@link UserInfo#flags}\n@return a handle to the new user", "docstring_tokens": ["Creates", "a", "user", "with", "the", "specified", "name", "userId", "and", "flags", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUserManager.java#L530-L542", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowBluetoothSocket.java", "func_name": "ShadowBluetoothSocket.connect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method doesn't perform an actual connection and returns immediately", "docstring_tokens": ["This", "method", "doesn", "t", "perform", "an", "actual", "connection", "and", "returns", "immediately"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBluetoothSocket.java#L69-L75", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "sandbox/src/main/java/org/robolectric/internal/bytecode/InvokeDynamicClassInstrumentor.java", "func_name": "InvokeDynamicClassInstrumentor.interceptInvokeVirtualMethodWithInvokeDynamic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Intercepts the method using the invokedynamic bytecode instruction available in Java 7+.\nShould be called through interceptInvokeVirtualMethod, not directly.", "docstring_tokens": ["Intercepts", "the", "method", "using", "the", "invokedynamic", "bytecode", "instruction", "available", "in", "Java", "7", "+", ".", "Should", "be", "called", "through", "interceptInvokeVirtualMethod", "not", "directly", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/sandbox/src/main/java/org/robolectric/internal/bytecode/InvokeDynamicClassInstrumentor.java#L92-L106", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/DynamicRefTable.java", "func_name": "DynamicRefTable.addMappings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds mappings from the other DynamicRefTable", "docstring_tokens": ["Adds", "mappings", "from", "the", "other", "DynamicRefTable"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/DynamicRefTable.java#L42-L82", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/DynamicRefTable.java", "func_name": "DynamicRefTable.addMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the given package.", "docstring_tokens": ["the", "given", "package", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/DynamicRefTable.java#L86-L93", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowContextWrapper.java", "func_name": "ShadowContextWrapper.grantPermissions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Grant the given permissions for the given process and user.", "docstring_tokens": ["Grant", "the", "given", "permissions", "for", "the", "given", "process", "and", "user", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContextWrapper.java#L115-L117", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowContextWrapper.java", "func_name": "ShadowContextWrapper.denyPermissions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Revoke the given permissions for the given process and user.", "docstring_tokens": ["Revoke", "the", "given", "permissions", "for", "the", "given", "process", "and", "user", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContextWrapper.java#L129-L131", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "robolectric/src/main/java/org/robolectric/plugins/DefaultSdkPicker.java", "func_name": "DefaultSdkPicker.selectSdks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enumerate the SDKs to be used for this test.\n\n@param configuration a collection of configuration objects, including {@link Config}\n@param usesSdk the {@link UsesSdk} for the test\n@return the list of candidate {@link Sdk}s.\n@since 3.9", "docstring_tokens": ["Enumerate", "the", "SDKs", "to", "be", "used", "for", "this", "test", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/robolectric/src/main/java/org/robolectric/plugins/DefaultSdkPicker.java#L65-L74", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowLegacyAssetManager.java", "func_name": "ShadowLegacyAssetManager.getFileFromZip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract an asset from a zipped up assets provided by the build system, this is required because\nthere is no way to get a FileDescriptor from a zip entry. This is a temporary measure for Bazel\nwhich can be removed once binary resources are supported.", "docstring_tokens": ["Extract", "an", "asset", "from", "a", "zipped", "up", "assets", "provided", "by", "the", "build", "system", "this", "is", "required", "because", "there", "is", "no", "way", "to", "get", "a", "FileDescriptor", "from", "a", "zip", "entry", ".", "This", "is", "a", "temporary", "measure", "for", "Bazel", "which", "can", "be", "removed", "once", "binary", "resources", "are", "supported", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLegacyAssetManager.java#L416-L434", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/FakeHttp.java", "func_name": "FakeHttp.getNextSentHttpRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Accessor to obtain HTTP requests made during the current test in the order in which they were made.\n\n@return the requested request or null if there are none.", "docstring_tokens": ["Accessor", "to", "obtain", "HTTP", "requests", "made", "during", "the", "current", "test", "in", "the", "order", "in", "which", "they", "were", "made", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/FakeHttp.java#L99-L102", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/FakeHttp.java", "func_name": "FakeHttp.addHttpResponseRule", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an HTTP response rule. The response will be returned when the rule is matched.\n\n@param method method to match.\n@param uri uri to match.\n@param response response to return when a match is found.", "docstring_tokens": ["Adds", "an", "HTTP", "response", "rule", ".", "The", "response", "will", "be", "returned", "when", "the", "rule", "is", "matched", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/FakeHttp.java#L120-L122", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/FakeHttp.java", "func_name": "FakeHttp.addHttpResponseRule", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an HTTP response rule. For each time the rule is matched, responses will be shifted\noff the list and returned. When all responses have been given and the rule is matched again,\nan exception will be thrown.\n\n@param requestMatcher custom {@code RequestMatcher}.\n@param responses responses to return in order when a match is found.", "docstring_tokens": ["Adds", "an", "HTTP", "response", "rule", ".", "For", "each", "time", "the", "rule", "is", "matched", "responses", "will", "be", "shifted", "off", "the", "list", "and", "returned", ".", "When", "all", "responses", "have", "been", "given", "and", "the", "rule", "is", "matched", "again", "an", "exception", "will", "be", "thrown", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/FakeHttp.java#L162-L164", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaMuxer.java", "func_name": "ShadowMediaMuxer.nativeStop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes the FileOutputStream for the associated muxer.", "docstring_tokens": ["Closes", "the", "FileOutputStream", "for", "the", "associated", "muxer", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaMuxer.java#L140-L151", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/FakeHttpLayer.java", "func_name": "FakeHttpLayer.addHttpResponseRule", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a response rule.\n\n@param requestMatcher Request matcher\n@param responses A list of responses that are returned to matching requests in order from first to last.", "docstring_tokens": ["Add", "a", "response", "rule", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/FakeHttpLayer.java#L81-L83", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaRouter.java", "func_name": "ShadowMediaRouter.addBluetoothRoute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the Bluetooth A2DP route and ensures it's the selected route, simulating connecting a\nBluetooth device.", "docstring_tokens": ["Adds", "the", "Bluetooth", "A2DP", "route", "and", "ensures", "it", "s", "the", "selected", "route", "simulating", "connecting", "a", "Bluetooth", "device", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaRouter.java#L30-L43", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowProcess.java", "func_name": "ShadowProcess.setThreadPriority", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stores priority for the given thread, but doesn't actually change it to not mess up with test\nrunner. Unlike real implementation does not throw any exceptions.\n\n@param tid The identifier of the thread. If equals zero, the identifier of the calling thread\nwill be used.", "docstring_tokens": ["Stores", "priority", "for", "the", "given", "thread", "but", "doesn", "t", "actually", "change", "it", "to", "not", "mess", "up", "with", "test", "runner", ".", "Unlike", "real", "implementation", "does", "not", "throw", "any", "exceptions", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowProcess.java#L66-L80", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowProcess.java", "func_name": "ShadowProcess.getThreadPriority", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns priority stored for the given thread.\n\n@param tid The identifier of the thread. If equals zero, the identifier of the calling thread\nwill be used.", "docstring_tokens": ["Returns", "priority", "stored", "for", "the", "given", "thread", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowProcess.java#L88-L96", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/NativeBitSet64.java", "func_name": "NativeBitSet64.getIndexOfBit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the index of the specified bit in the set, which is the number of marked bits that appear\nbefore the specified bit.", "docstring_tokens": ["Gets", "the", "index", "of", "the", "specified", "bit", "in", "the", "set", "which", "is", "the", "number", "of", "marked", "bits", "that", "appear", "before", "the", "specified", "bit", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/NativeBitSet64.java#L92-L101", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowAppOpsManager.java", "func_name": "ShadowAppOpsManager.setMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Change the operating mode for the given op in the given app package. You must pass in both the\nuid and name of the application whose mode is being modified; if these do not match, the\nmodification will not be applied.\n\n
This method is public for testing {@link #checkOpNoThrow}. If {@link #checkOpNoThrow} is\ncalled afterwards with the {@code op}, {@code ui}, and {@code packageName} provided, it will\nreturn the {@code mode} set here.\n\n@param op The operation to modify. One of the OPSTR_* constants.\n@param uid The user id of the application whose mode will be changed.\n@param packageName The name of the application package name whose mode will be changed.", "docstring_tokens": ["Change", "the", "operating", "mode", "for", "the", "given", "op", "in", "the", "given", "app", "package", ".", "You", "must", "pass", "in", "both", "the", "uid", "and", "name", "of", "the", "application", "whose", "mode", "is", "being", "modified", ";", "if", "these", "do", "not", "match", "the", "modification", "will", "not", "be", "applied", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAppOpsManager.java#L94-L100", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ResourceHelper.java", "func_name": "ResourceHelper.getColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the color value represented by the given string value\n\n@param value the color value\n@return the color as an int\n@throws NumberFormatException if the conversion failed.", "docstring_tokens": ["Returns", "the", "color", "value", "represented", "by", "the", "given", "string", "value"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ResourceHelper.java#L50-L94", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ResourceHelper.java", "func_name": "ResourceHelper.getColorType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the TypedValue color type represented by the given string value\n\n@param value the color value\n@return the color as an int. For backwards compatibility, will return a default of ARGB8 if\nvalue format is unrecognized.", "docstring_tokens": ["Returns", "the", "TypedValue", "color", "type", "represented", "by", "the", "given", "string", "value"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ResourceHelper.java#L103-L117", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ResourceHelper.java", "func_name": "ResourceHelper.parseFloatAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse a float attribute and return the parsed value into a given TypedValue.\n@param attribute the name of the attribute. Can be null if requireUnit is false.\n@param value the string value of the attribute\n@param outValue the TypedValue to receive the parsed value\n@param requireUnit whether the value is expected to contain a unit.\n@return true if success.", "docstring_tokens": ["Parse", "a", "float", "attribute", "and", "return", "the", "parsed", "value", "into", "a", "given", "TypedValue", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ResourceHelper.java#L181-L255", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowImageDecoder.java", "func_name": "ShadowImageDecoder.nCreate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "native method implementations...", "docstring_tokens": ["native", "method", "implementations", "..."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowImageDecoder.java#L256-L259", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowImageDecoder.java", "func_name": "ShadowImageDecoder.nCreate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The fd must be seekable.", "docstring_tokens": ["The", "fd", "must", "be", "seekable", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowImageDecoder.java#L279-L282", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivity.java", "func_name": "ShadowActivity.clickMenuItem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform a click on a menu item.\n\n@param menuItemResId Menu item resource ID.\n@return True if the click was handled, false otherwise.", "docstring_tokens": ["Perform", "a", "click", "on", "a", "menu", "item", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivity.java#L433-L436", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivity.java", "func_name": "ShadowActivity.callOnActivityResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For internal use only. Not for public use.", "docstring_tokens": ["For", "internal", "use", "only", ".", "Not", "for", "public", "use", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivity.java#L439-L444", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivity.java", "func_name": "ShadowActivity.startLockTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts a lock task.\n\n
The status of the lock task can be verified using {@link #isLockTask} method. Otherwise this\nimplementation has no effect.", "docstring_tokens": ["Starts", "a", "lock", "task", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivity.java#L606-L610", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivity.java", "func_name": "ShadowActivity.stopLockTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops a lock task.\n\n
The status of the lock task can be verified using {@link #isLockTask} method. Otherwise this\nimplementation has no effect.", "docstring_tokens": ["Stops", "a", "lock", "task", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowActivity.java#L618-L622", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/src/main/java/org/robolectric/util/Scheduler.java", "func_name": "Scheduler.postDelayed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a runnable to the queue to be run after a delay.", "docstring_tokens": ["Add", "a", "runnable", "to", "the", "queue", "to", "be", "run", "after", "a", "delay", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/src/main/java/org/robolectric/util/Scheduler.java#L158-L165", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/src/main/java/org/robolectric/util/Scheduler.java", "func_name": "Scheduler.postAtFrontOfQueue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a runnable to the head of the queue.\n\n@param runnable Runnable to add.", "docstring_tokens": ["Add", "a", "runnable", "to", "the", "head", "of", "the", "queue", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/src/main/java/org/robolectric/util/Scheduler.java#L172-L184", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/src/main/java/org/robolectric/util/Scheduler.java", "func_name": "Scheduler.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove a runnable from the queue.\n\n@param runnable Runnable to remove.", "docstring_tokens": ["Remove", "a", "runnable", "from", "the", "queue", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/src/main/java/org/robolectric/util/Scheduler.java#L191-L198", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/src/main/java/org/robolectric/util/Scheduler.java", "func_name": "Scheduler.advanceToLastPostedRunnable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run all runnables in the queue, and any additional runnables they schedule that are scheduled\nbefore the latest scheduled runnable currently in the queue.\n\n@return True if a runnable was executed.", "docstring_tokens": ["Run", "all", "runnables", "in", "the", "queue", "and", "any", "additional", "runnables", "they", "schedule", "that", "are", "scheduled", "before", "the", "latest", "scheduled", "runnable", "currently", "in", "the", "queue", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/src/main/java/org/robolectric/util/Scheduler.java#L206-L214", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/src/main/java/org/robolectric/util/Scheduler.java", "func_name": "Scheduler.advanceBy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run all runnables that are scheduled to run in the next time interval.\n\n@return True if a runnable was executed.", "docstring_tokens": ["Run", "all", "runnables", "that", "are", "scheduled", "to", "run", "in", "the", "next", "time", "interval", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/src/main/java/org/robolectric/util/Scheduler.java#L242-L245", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/src/main/java/org/robolectric/util/Scheduler.java", "func_name": "Scheduler.advanceTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run all runnables that are scheduled before the endTime.\n\n@param endTime Future time.\n@return True if a runnable was executed.", "docstring_tokens": ["Run", "all", "runnables", "that", "are", "scheduled", "before", "the", "endTime", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/src/main/java/org/robolectric/util/Scheduler.java#L253-L266", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/src/main/java/org/robolectric/util/Scheduler.java", "func_name": "Scheduler.runOneTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run the next runnable in the queue.\n\n@return True if a runnable was executed.", "docstring_tokens": ["Run", "the", "next", "runnable", "in", "the", "queue", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/src/main/java/org/robolectric/util/Scheduler.java#L273-L283", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowContextImpl.java", "func_name": "ShadowContextImpl.bindServiceAsUser", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Binds to a service but ignores the given UserHandle.", "docstring_tokens": ["Binds", "to", "a", "service", "but", "ignores", "the", "given", "UserHandle", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContextImpl.java#L317-L321", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPausedSystemClock.java", "func_name": "ShadowPausedSystemClock.setCurrentTimeMillis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the current wall time.\n\n
Currently does not perform any permission checks.\n\n@return false if specified time is less than current time.", "docstring_tokens": ["Sets", "the", "current", "wall", "time", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPausedSystemClock.java#L65-L76", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPausedMessageQueue.java", "func_name": "ShadowPausedMessageQueue.isIdle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Exposes the API23+_isIdle method to older platforms", "docstring_tokens": ["Exposes", "the", "API23", "+", "_isIdle", "method", "to", "older", "platforms"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPausedMessageQueue.java#L141-L158", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPausedMessageQueue.java", "func_name": "ShadowPausedMessageQueue.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "so it should be package private", "docstring_tokens": ["so", "it", "should", "be", "package", "private"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPausedMessageQueue.java#L249-L255", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "robolectric/src/main/java/org/robolectric/Robolectric.java", "func_name": "Robolectric.buildActivity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a ActivityController for the given activity class.\n\n
Consider using {@link androidx.test.core.app.ActivityScenario} instead, which provides\nhigher-level, streamlined APIs to control the lifecycle and it works with instrumentation tests\ntoo.", "docstring_tokens": ["Creates", "a", "ActivityController", "for", "the", "given", "activity", "class", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/robolectric/src/main/java/org/robolectric/Robolectric.java#L74-L76", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "robolectric/src/main/java/org/robolectric/Robolectric.java", "func_name": "Robolectric.buildActivity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a ActivityController for the given activity class with the intent.\n\n
Note: the activity class is not determined by the intent.\n\n
Consider using {@link androidx.test.core.app.ActivityScenario} instead, which provides\nhigher-level, streamlined APIs to control the lifecycle and it works with instrumentation tests\ntoo.", "docstring_tokens": ["Creates", "a", "ActivityController", "for", "the", "given", "activity", "class", "with", "the", "intent", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/robolectric/src/main/java/org/robolectric/Robolectric.java#L87-L90", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "robolectric/src/main/java/org/robolectric/Robolectric.java", "func_name": "Robolectric.setupActivity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Simulates starting activity with the given class type and returns its reference.\n\n
Use {@link androidx.test.core.app.ActivityScenario} instead, which works with\ninstrumentation tests too.\n\n@deprecated use {@link androidx.test.core.app.ActivityScenario}", "docstring_tokens": ["Simulates", "starting", "activity", "with", "the", "given", "class", "type", "and", "returns", "its", "reference", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/robolectric/src/main/java/org/robolectric/Robolectric.java#L100-L103", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "robolectric/src/main/java/org/robolectric/Robolectric.java", "func_name": "Robolectric.buildFragment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a FragmentController for the given fragment class.\n\n
FragmentController provides low-level APIs to control its lifecycle. Please consider using\n{@link androidx.fragment.app.testing.FragmentScenario} instead, which provides higher level\nAPIs and works with instrumentation tests too.\n\n@deprecated Native Fragments have been deprecated in Android P. Android encourages developers\nto use androidx fragments, to test these use FragmentScenario.", "docstring_tokens": ["Creates", "a", "FragmentController", "for", "the", "given", "fragment", "class", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/robolectric/src/main/java/org/robolectric/Robolectric.java#L115-L118", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowTextToSpeech.java", "func_name": "ShadowTextToSpeech.speak", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Speaks the string using the specified queuing strategy and speech parameters.\n\n@param params The real implementation converts the hashmap into a bundle, but the bundle\nargument is not used in the shadow implementation.", "docstring_tokens": ["Speaks", "the", "string", "using", "the", "specified", "queuing", "strategy", "and", "speech", "parameters", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTextToSpeech.java#L45-L53", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManagerGlobal.java", "func_name": "ShadowDisplayManagerGlobal.getStableDisplaySize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the 'natural' dimensions of the default display.", "docstring_tokens": ["Returns", "the", "natural", "dimensions", "of", "the", "default", "display", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManagerGlobal.java#L57-L61", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/Fs.java", "func_name": "Fs.getJarFs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a reference-counted Jar FileSystem, possibly one that was previously returned.", "docstring_tokens": ["Returns", "a", "reference", "-", "counted", "Jar", "FileSystem", "possibly", "one", "that", "was", "previously", "returned", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/Fs.java#L164-L180", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowLog.java", "func_name": "ShadowLog.getLogsForTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns ordered list of all log items for a specific tag.\n\n@param tag The tag to get logs for\n@return The list of log items for the tag or an empty list if no logs for that tag exist.", "docstring_tokens": ["Returns", "ordered", "list", "of", "all", "log", "items", "for", "a", "specific", "tag", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLog.java#L190-L193", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/manifest/AndroidManifest.java", "func_name": "AndroidManifest.getAllManifests", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all transitively reachable manifests, including this one, in order and without\nduplicates.", "docstring_tokens": ["Returns", "all", "transitively", "reachable", "manifests", "including", "this", "one", "in", "order", "and", "without", "duplicates", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/manifest/AndroidManifest.java#L674-L679", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/manifest/AndroidManifest.java", "func_name": "AndroidManifest.getBroadcastReceiver", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns data for the broadcast receiver with the provided name from this manifest. If no\nreceiver with the class name can be found, returns null.\n\n@param className the fully resolved class name of the receiver\n@return data for the receiver or null if it cannot be found", "docstring_tokens": ["Returns", "data", "for", "the", "broadcast", "receiver", "with", "the", "provided", "name", "from", "this", "manifest", ".", "If", "no", "receiver", "with", "the", "class", "name", "can", "be", "found", "returns", "null", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/manifest/AndroidManifest.java#L810-L818", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowNotificationManager.java", "func_name": "ShadowNotificationManager.deleteNotificationChannelGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete a notification channel group and all notification channels associated with the group.\nThis method will not notify any NotificationListenerService of resulting changes to\nnotification channel groups nor to notification channels.", "docstring_tokens": ["Delete", "a", "notification", "channel", "group", "and", "all", "notification", "channels", "associated", "with", "the", "group", ".", "This", "method", "will", "not", "notify", "any", "NotificationListenerService", "of", "resulting", "changes", "to", "notification", "channel", "groups", "nor", "to", "notification", "channels", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowNotificationManager.java#L161-L176", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/reflector/src/main/java/org/robolectric/util/reflector/UnsafeAccess.java", "func_name": "UnsafeAccess.getJavaVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the Java version as an int value.\n\n@return the Java version as an int value (8, 9, etc.)", "docstring_tokens": ["Returns", "the", "Java", "version", "as", "an", "int", "value", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/reflector/src/main/java/org/robolectric/util/reflector/UnsafeAccess.java#L85-L100", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowMotionEvent.java", "func_name": "ShadowMotionEvent.transform", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "shadow this directly as opposed to nativeTransform because need access to ShadowMatrix", "docstring_tokens": ["shadow", "this", "directly", "as", "opposed", "to", "nativeTransform", "because", "need", "access", "to", "ShadowMatrix"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMotionEvent.java#L954-L963", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowCaptureResult.java", "func_name": "ShadowCaptureResult.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtain a property of the CaptureResult.", "docstring_tokens": ["Obtain", "a", "property", "of", "the", "CaptureResult", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowCaptureResult.java#L28-L33", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowArscAssetManager.java", "func_name": "ShadowArscAssetManager.loadResourceBagValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the resource was found, filling in mRetStringBlock and\nmRetData.", "docstring_tokens": ["Returns", "true", "if", "the", "resource", "was", "found", "filling", "in", "mRetStringBlock", "and", "mRetData", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowArscAssetManager.java#L607-L616", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowLegacyLooper.java", "func_name": "ShadowLegacyLooper.post", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enqueue a task to be run later.\n\n@param runnable the task to be run\n@param delayMillis how many milliseconds into the (virtual) future to run it\n@return true if the runnable is enqueued\n@see android.os.Handler#postDelayed(Runnable,long)\n@deprecated Use a {@link android.os.Handler} instance to post to a looper.", "docstring_tokens": ["Enqueue", "a", "task", "to", "be", "run", "later", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLegacyLooper.java#L220-L229", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowLegacyLooper.java", "func_name": "ShadowLegacyLooper.postAtFrontOfQueue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enqueue a task to be run ahead of all other delayed tasks.\n\n@param runnable the task to be run\n@return true if the runnable is enqueued\n@see android.os.Handler#postAtFrontOfQueue(Runnable)\n@deprecated Use a {@link android.os.Handler} instance to post to a looper.", "docstring_tokens": ["Enqueue", "a", "task", "to", "be", "run", "ahead", "of", "all", "other", "delayed", "tasks", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowLegacyLooper.java#L239-L248", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addActivityIfNotPresent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes sure that given activity exists.\n\nIf the activity doesn't exist yet, it will be created with {@code applicationInfo} set to an\nexisting application, or if it doesn't exist, a new package will be created.\n\n@return existing or newly created activity info.", "docstring_tokens": ["Makes", "sure", "that", "given", "activity", "exists", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L161-L168", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addServiceIfNotPresent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes sure that given service exists.\n\nIf the service doesn't exist yet, it will be created with {@code applicationInfo} set to an\nexisting application, or if it doesn't exist, a new package will be created.\n\n@return existing or newly created service info.", "docstring_tokens": ["Makes", "sure", "that", "given", "service", "exists", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L178-L185", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addReceiverIfNotPresent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes sure that given receiver exists.\n\nIf the receiver doesn't exist yet, it will be created with {@code applicationInfo} set to an\nexisting application, or if it doesn't exist, a new package will be created.\n\n@return existing or newly created receiver info.", "docstring_tokens": ["Makes", "sure", "that", "given", "receiver", "exists", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L195-L202", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addProviderIfNotPresent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes sure that given provider exists.\n\nIf the provider doesn't exist yet, it will be created with {@code applicationInfo} set to an\nexisting application, or if it doesn't exist, a new package will be created.\n\n@return existing or newly created provider info.", "docstring_tokens": ["Makes", "sure", "that", "given", "provider", "exists", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L212-L219", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addOrUpdateActivity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds or updates given activity in the system.\n\nIf activity with the same {@link ComponentInfo#name} and {@code ComponentInfo#packageName}\nexists it will be updated. Its {@link ComponentInfo#applicationInfo} is always set to {@link\nApplicationInfo} already existing in the system, but if no application exists a new one will\nbe created using {@link ComponentInfo#applicationInfo} in this component.", "docstring_tokens": ["Adds", "or", "updates", "given", "activity", "in", "the", "system", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L238-L245", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addOrUpdateService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds or updates given service in the system.\n\nIf service with the same {@link ComponentInfo#name} and {@code ComponentInfo#packageName}\nexists it will be updated. Its {@link ComponentInfo#applicationInfo} is always set to {@link\nApplicationInfo} already existing in the system, but if no application exists a new one will be\ncreated using {@link ComponentInfo#applicationInfo} in this component.", "docstring_tokens": ["Adds", "or", "updates", "given", "service", "in", "the", "system", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L255-L262", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addOrUpdateReceiver", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds or updates given broadcast receiver in the system.\n\nIf broadcast receiver with the same {@link ComponentInfo#name} and {@code\nComponentInfo#packageName} exists it will be updated. Its {@link ComponentInfo#applicationInfo}\nis always set to {@link ApplicationInfo} already existing in the system, but if no\napplication exists a new one will be created using {@link ComponentInfo#applicationInfo} in\nthis component.", "docstring_tokens": ["Adds", "or", "updates", "given", "broadcast", "receiver", "in", "the", "system", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L273-L280", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addOrUpdateProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds or updates given content provider in the system.\n\nIf content provider with the same {@link ComponentInfo#name} and {@code\nComponentInfo#packageName} exists it will be updated. Its {@link ComponentInfo#applicationInfo}\nis always set to {@link ApplicationInfo} already existing in the system, but if no\napplication exists a new one will be created using {@link ComponentInfo#applicationInfo} in\nthis component.", "docstring_tokens": ["Adds", "or", "updates", "given", "content", "provider", "in", "the", "system", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L291-L298", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.removeActivity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes activity from the package manager.\n\n@return the removed component or {@code null} if no such component existed.", "docstring_tokens": ["Removes", "activity", "from", "the", "package", "manager", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L305-L309", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.removeService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes service from the package manager.\n\n@return the removed component or {@code null} if no such component existed.", "docstring_tokens": ["Removes", "service", "from", "the", "package", "manager", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L316-L320", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.removeProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes content provider from the package manager.\n\n@return the removed component or {@code null} if no such component existed.", "docstring_tokens": ["Removes", "content", "provider", "from", "the", "package", "manager", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L327-L331", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.removeReceiver", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes broadcast receiver from the package manager.\n\n@return the removed component or {@code null} if no such component existed.", "docstring_tokens": ["Removes", "broadcast", "receiver", "from", "the", "package", "manager", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L338-L342", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.setResolveInfosForIntent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets extra resolve infos for an intent.\n\nThose entries are added to whatever might be in the manifest already.\n\nNote that all resolve infos will have {@link ResolveInfo#isDefault} field set to {@code\ntrue} to allow their resolution for implicit intents. If this is not what you want, then you\nstill have the reference to those ResolveInfos, and you can set the field back to {@code\nfalse}.\n\n@deprecated see the note on {@link #addResolveInfoForIntent(Intent, ResolveInfo)}.", "docstring_tokens": ["Sets", "extra", "resolve", "infos", "for", "an", "intent", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L550-L556", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addResolveInfoForIntent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds extra resolve info for an intent.\n\nNote that this resolve info will have {@link ResolveInfo#isDefault} field set to {@code\ntrue} to allow its resolution for implicit intents. If this is not what you want, then please\nuse {@link #addResolveInfoForIntentNoDefaults} instead.\n\n@deprecated use {@link #addIntentFilterForComponent} instead and if the component doesn't exist\nadd it using any of {@link #installPackage}, {@link #addOrUpdateActivity}, {@link\n#addActivityIfNotPresent} or their counterparts for other types of components.", "docstring_tokens": ["Adds", "extra", "resolve", "info", "for", "an", "intent", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L575-L596", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addPackageInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal use only.\n\n@param appPackage", "docstring_tokens": ["Internal", "use", "only", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L1063-L1101", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addIntentFilterForActivity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add intent filter for given activity.\n\n@throws NameNotFoundException if component with given name doesn't exist.", "docstring_tokens": ["Add", "intent", "filter", "for", "given", "activity", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L1280-L1283", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addIntentFilterForService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add intent filter for given service.\n\n@throws NameNotFoundException if component with given name doesn't exist.", "docstring_tokens": ["Add", "intent", "filter", "for", "given", "service", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L1290-L1293", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addIntentFilterForReceiver", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add intent filter for given receiver.\n\n@throws NameNotFoundException if component with given name doesn't exist.", "docstring_tokens": ["Add", "intent", "filter", "for", "given", "receiver", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L1300-L1303", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java", "func_name": "ShadowPackageManager.addIntentFilterForProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add intent filter for given provider.\n\n@throws NameNotFoundException if component with given name doesn't exist.", "docstring_tokens": ["Add", "intent", "filter", "for", "given", "provider", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageManager.java#L1310-L1313", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/LocaleData.java", "func_name": "LocaleData.findParent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "to represent the root locale", "docstring_tokens": ["to", "represent", "the", "root", "locale"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/LocaleData.java#L31-L46", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/LocaleData.java", "func_name": "LocaleData.findAncestors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "any results in 'out'.)", "docstring_tokens": ["any", "results", "in", "out", ".", ")"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/LocaleData.java#L60-L80", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageParser.java", "func_name": "ShadowPackageParser.callParsePackage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses an AndroidManifest.xml file using the framework PackageParser.", "docstring_tokens": ["Parses", "an", "AndroidManifest", ".", "xml", "file", "using", "the", "framework", "PackageParser", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPackageParser.java#L34-L71", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "robolectric/src/main/java/org/robolectric/android/internal/LocalActivityInvoker.java", "func_name": "LocalActivityInvoker.getIntentForActivity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This implementation makes sure, that the activity you are trying to launch exists", "docstring_tokens": ["This", "implementation", "makes", "sure", "that", "the", "activity", "you", "are", "trying", "to", "launch", "exists"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/robolectric/src/main/java/org/robolectric/android/internal/LocalActivityInvoker.java#L135-L144", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/LoadedArsc.java", "func_name": "LoadedArsc.VerifyResTableType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the ResChunk_header is safe.", "docstring_tokens": ["the", "ResChunk_header", "is", "safe", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/LoadedArsc.java#L225-L258", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "robolectric/src/main/java/org/robolectric/internal/MavenManifestFactory.java", "func_name": "MavenManifestFactory.findLibraries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find valid library AndroidManifest files referenced from an already loaded AndroidManifest's\n`project.properties` file, recursively.", "docstring_tokens": ["Find", "valid", "library", "AndroidManifest", "files", "referenced", "from", "an", "already", "loaded", "AndroidManifest", "s", "project", ".", "properties", "file", "recursively", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/robolectric/src/main/java/org/robolectric/internal/MavenManifestFactory.java#L106-L139", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDevicePolicyManager.java", "func_name": "ShadowDevicePolicyManager.getOrganizationName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns organization name.\n\n
The API can only be called by profile owner since Android N.\n\n
Android framework has a hidden API for getting the organization name for device owner since\nAndroid O. This method, however, is extended to return the organization name for device owners\ntoo to make testing of {@link #setOrganizationName(ComponentName, CharSequence)} easier for\ndevice owner cases.", "docstring_tokens": ["Returns", "organization", "name", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDevicePolicyManager.java#L474-L484", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDevicePolicyManager.java", "func_name": "ShadowDevicePolicyManager.setPermittedAccessibilityServices", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets permitted accessibility services.\n\n
The API can be called by either a profile or device owner.\n\n
This method does not check already enabled non-system accessibility services, so will always\nset the restriction and return true.", "docstring_tokens": ["Sets", "permitted", "accessibility", "services", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDevicePolicyManager.java#L511-L517", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDevicePolicyManager.java", "func_name": "ShadowDevicePolicyManager.setPermittedInputMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets permitted input methods.\n\n
The API can be called by either a profile or device owner.\n\n
This method does not check already enabled non-system input methods, so will always set the\nrestriction and return true.", "docstring_tokens": ["Sets", "permitted", "input", "methods", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDevicePolicyManager.java#L534-L539", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDevicePolicyManager.java", "func_name": "ShadowDevicePolicyManager.activateResetToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Activates reset token for given admin.\n\n@param admin Which {@link DeviceAdminReceiver} this request is associated with.\n@return if the activation state changed.\n@throws IllegalArgumentException if there is no token set for this admin.", "docstring_tokens": ["Activates", "reset", "token", "for", "given", "admin", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDevicePolicyManager.java#L1000-L1005", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/CppAssetManager2.java", "func_name": "CppAssetManager2.GetResourceConfigurations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "boolean exclude_mipmap = false);", "docstring_tokens": ["boolean", "exclude_mipmap", "=", "false", ")", ";"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/CppAssetManager2.java#L444-L457", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/CppAssetManager2.java", "func_name": "CppAssetManager2.GetResourceLocales", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "boolean merge_equivalent_languages = false);", "docstring_tokens": ["boolean", "merge_equivalent_languages", "=", "false", ")", ";"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/CppAssetManager2.java#L467-L480", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/CppAssetManager2.java", "func_name": "CppAssetManager2.OpenNonAsset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "is inconsistent for split APKs.", "docstring_tokens": ["is", "inconsistent", "for", "split", "APKs", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/CppAssetManager2.java#L547-L565", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowBackupManager.java", "func_name": "ShadowBackupManager.addAvailableRestoreSets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a restore set available to be restored.", "docstring_tokens": ["Adds", "a", "restore", "set", "available", "to", "be", "restored", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowBackupManager.java#L91-L93", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPausedLooper.java", "func_name": "ShadowPausedLooper.runPaused", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "compatibility for now", "docstring_tokens": ["compatibility", "for", "now"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPausedLooper.java#L194-L202", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowPausedLooper.java", "func_name": "ShadowPausedLooper.executeOnLooper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes the given runnable on the loopers thread, and waits for it to complete.", "docstring_tokens": ["Executes", "the", "given", "runnable", "on", "the", "loopers", "thread", "and", "waits", "for", "it", "to", "complete", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowPausedLooper.java#L271-L282", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java", "func_name": "ShadowParcel.readParcelable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this needs to start above 0, which is a magic number to Parcel", "docstring_tokens": ["this", "needs", "to", "start", "above", "0", "which", "is", "a", "magic", "number", "to", "Parcel"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java#L56-L71", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java", "func_name": "ShadowParcel.writeBlob", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "non-existent-in-JDK java.util.Arrays.checkOffsetAndCount method.", "docstring_tokens": ["non", "-", "existent", "-", "in", "-", "JDK", "java", ".", "util", ".", "Arrays", ".", "checkOffsetAndCount", "method", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java#L239-L248", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java", "func_name": "ShadowParcel.nativeWriteBlob", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "nativeWriteBlob was introduced in lollipop, thus no need for a int nativePtr variant", "docstring_tokens": ["nativeWriteBlob", "was", "introduced", "in", "lollipop", "thus", "no", "need", "for", "a", "int", "nativePtr", "variant"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java#L261-L264", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java", "func_name": "ShadowParcel.toByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a ByteBuffer to a raw byte array. This method should be symmetrical with\nfromByteArray.", "docstring_tokens": ["Converts", "a", "ByteBuffer", "to", "a", "raw", "byte", "array", ".", "This", "method", "should", "be", "symmetrical", "with", "fromByteArray", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java#L932-L958", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java", "func_name": "ShadowParcel.setDataPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the current data position.\n\n@param pos\nDesired position in bytes", "docstring_tokens": ["Sets", "the", "current", "data", "position", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java#L994-L1001", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java", "func_name": "ShadowParcel.checkConsistentReadAndIncrementPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensures that the next sizeBytes are all the initial value we read.\n\n
This detects:\n\n
\n
Reading an item, but not starting at its start position\n
Reading items that were truncated by setSize\n
Reading items that were partially overwritten by another\n
", "docstring_tokens": ["Ensures", "that", "the", "next", "sizeBytes", "are", "all", "the", "initial", "value", "we", "read", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java#L1045-L1064", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java", "func_name": "ShadowParcel.peek", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the item at the current position, or null if uninitialized or null.", "docstring_tokens": ["Returns", "the", "item", "at", "the", "current", "position", "or", "null", "if", "uninitialized", "or", "null", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java#L1067-L1071", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java", "func_name": "ShadowParcel.readNextItem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a complete item in the byte buffer.\n\n@param clazz this is the type that is being read, but not checked in this method\n@return null if the default value should be returned, otherwise the item holding the data", "docstring_tokens": ["Reads", "a", "complete", "item", "in", "the", "byte", "buffer", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java#L1079-L1087", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java", "func_name": "ShadowParcel.readValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the next value in the byte buffer of a specified type.\n\n@param pastEndValue value to return when reading past the end of the buffer\n@param clazz this is the type that is being read, but not checked in this method\n@param allowNull whether null values are permitted", "docstring_tokens": ["Reads", "the", "next", "value", "in", "the", "byte", "buffer", "of", "a", "specified", "type", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java#L1096-L1128", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java", "func_name": "ShadowParcel.readZeroes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if there is a sequence of castable zeroes, and consumes them.\n\n
This is the only exception for strong typing, because zero bytes are portable and\nunambiguous. There are a few situations where well-written code can rely on this, so it is\nworthwhile making a special exception for. This tolerates partially-overwritten and truncated\nvalues if all bytes are zero.", "docstring_tokens": ["Determines", "if", "there", "is", "a", "sequence", "of", "castable", "zeroes", "and", "consumes", "them", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java#L1138-L1152", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java", "func_name": "ShadowParcel.readPrimitive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a primitive, which may reinterpret zeros of other types.\n\n@param defaultSizeBytes if reinterpreting zeros, the number of bytes to consume\n@param defaultValue the default value for zeros or reading past the end\n@param clazz this is the type that is being read, but not checked in this method", "docstring_tokens": ["Reads", "a", "primitive", "which", "may", "reinterpret", "zeros", "of", "other", "types", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java#L1161-L1167", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java", "func_name": "ShadowParcel.writeItem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes an encoded item directly, bypassing alignment, and possibly repeating an item.", "docstring_tokens": ["Writes", "an", "encoded", "item", "directly", "bypassing", "alignment", "and", "possibly", "repeating", "an", "item", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowParcel.java#L1170-L1182", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/src/main/java/org/robolectric/util/Util.java", "func_name": "Util.readBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method consumes an input stream and returns its content.\n\n@param is The input stream to read from.\n@return The bytes read from the stream.\n@throws IOException Error reading from stream.", "docstring_tokens": ["This", "method", "consumes", "an", "input", "stream", "and", "returns", "its", "content", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/src/main/java/org/robolectric/util/Util.java#L61-L66", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/NativeObjRegistry.java", "func_name": "NativeObjRegistry.getNativeObjectId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the native id for given object. Assigns a new unique id to the object if not\npreviously registered.\n\n@deprecated Use {@link #register(Object)} instead.", "docstring_tokens": ["Retrieve", "the", "native", "id", "for", "given", "object", ".", "Assigns", "a", "new", "unique", "id", "to", "the", "object", "if", "not", "previously", "registered", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/NativeObjRegistry.java#L51-L64", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/NativeObjRegistry.java", "func_name": "NativeObjRegistry.getNativeObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the native object for given id. Throws if object with that id cannot be found", "docstring_tokens": ["Retrieve", "the", "native", "object", "for", "given", "id", ".", "Throws", "if", "object", "with", "that", "id", "cannot", "be", "found"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/NativeObjRegistry.java#L135-L145", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplication.java", "func_name": "ShadowApplication.callAttach", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attaches an application to a base context.\n\n@param context The context with which to initialize the application, whose base context will\nbe attached to the application", "docstring_tokens": ["Attaches", "an", "application", "to", "a", "base", "context", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplication.java#L78-L81", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowConnectivityManager.java", "func_name": "ShadowConnectivityManager.setDefaultNetworkActive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the active state of the default network.\n\nBy default this is true and affects the result of {@link\nConnectivityManager#isActiveNetworkMetered()}, {@link\nConnectivityManager#isDefaultNetworkActive()}, {@link ConnectivityManager#getActiveNetwork()}\nand {@link ConnectivityManager#getAllNetworkInfo()}.\n\nCalling this method with {@code true} after any listeners have been registered with {@link\nConnectivityManager#addDefaultNetworkActiveListener(OnNetworkActiveListener)} will result in\nthose listeners being fired.\n\n@param isActive The active state of the default network.", "docstring_tokens": ["Sets", "the", "active", "state", "of", "the", "default", "network", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowConnectivityManager.java#L306-L315", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowSoundPool.java", "func_name": "ShadowSoundPool.play", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "native method.", "docstring_tokens": ["native", "method", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSoundPool.java#L50-L55", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowSoundPool.java", "func_name": "ShadowSoundPool.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "FileDescriptor which would make it difficult to check if a given sound has been placed.", "docstring_tokens": ["FileDescriptor", "which", "would", "make", "it", "difficult", "to", "check", "if", "a", "given", "sound", "has", "been", "placed", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSoundPool.java#L66-L71", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowAppWidgetManager.java", "func_name": "ShadowAppWidgetManager.reconstructWidgetViewAsIfPhoneWasRotated", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Triggers a reapplication of the most recent set of actions against the widget, which is what happens when the\nphone is rotated. Does not attempt to simulate a change in screen geometry.\n\n@param appWidgetId the ID of the widget to be affected", "docstring_tokens": ["Triggers", "a", "reapplication", "of", "the", "most", "recent", "set", "of", "actions", "against", "the", "widget", "which", "is", "what", "happens", "when", "the", "phone", "is", "rotated", ".", "Does", "not", "attempt", "to", "simulate", "a", "change", "in", "screen", "geometry", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAppWidgetManager.java#L146-L150", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowAppWidgetManager.java", "func_name": "ShadowAppWidgetManager.createWidgets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a bunch of widgets by inflating the same layout multiple times.\n\n@param appWidgetProviderClass the app widget provider class\n@param widgetLayoutId id of the layout to inflate\n@param howManyToCreate number of new widgets to create\n@return the IDs of the new widgets", "docstring_tokens": ["Creates", "a", "bunch", "of", "widgets", "by", "inflating", "the", "same", "layout", "multiple", "times", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAppWidgetManager.java#L171-L185", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaPlayer.java", "func_name": "ShadowMediaPlayer.invokeSeekCompleteListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allows test cases to simulate seek completion by invoking callback.", "docstring_tokens": ["Allows", "test", "cases", "to", "simulate", "seek", "completion", "by", "invoking", "callback", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaPlayer.java#L1497-L1509", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaPlayer.java", "func_name": "ShadowMediaPlayer.invokeInfoListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allows test cases to directly simulate invocation of the OnInfo event.\n\n@param what\nparameter to pass in to {@code what} in\n{@link MediaPlayer.OnInfoListener#onInfo(MediaPlayer, int, int)}.\n@param extra\nparameter to pass in to {@code extra} in\n{@link MediaPlayer.OnInfoListener#onInfo(MediaPlayer, int, int)}.", "docstring_tokens": ["Allows", "test", "cases", "to", "directly", "simulate", "invocation", "of", "the", "OnInfo", "event", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaPlayer.java#L1521-L1525", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaPlayer.java", "func_name": "ShadowMediaPlayer.invokeErrorListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allows test cases to directly simulate invocation of the OnError event.\n\n@param what\nparameter to pass in to {@code what} in\n{@link MediaPlayer.OnErrorListener#onError(MediaPlayer, int, int)}.\n@param extra\nparameter to pass in to {@code extra} in\n{@link MediaPlayer.OnErrorListener#onError(MediaPlayer, int, int)}.", "docstring_tokens": ["Allows", "test", "cases", "to", "directly", "simulate", "invocation", "of", "the", "OnError", "event", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaPlayer.java#L1537-L1556", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java", "func_name": "ShadowDisplay.getDefaultDisplay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the default display.\n\n@return the default display", "docstring_tokens": ["Returns", "the", "default", "display", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java#L37-L41", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java", "func_name": "ShadowDisplay.setDensityDpi", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes the density for this display.\n\nAny registered {@link android.hardware.display.DisplayManager.DisplayListener}s will be\nnotified of the change.", "docstring_tokens": ["Changes", "the", "density", "for", "this", "display", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java#L187-L194", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java", "func_name": "ShadowDisplay.setXdpi", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes the horizontal DPI for this display.\n\nAny registered {@link android.hardware.display.DisplayManager.DisplayListener}s will be\nnotified of the change.", "docstring_tokens": ["Changes", "the", "horizontal", "DPI", "for", "this", "display", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java#L202-L209", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java", "func_name": "ShadowDisplay.setYdpi", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes the vertical DPI for this display.\n\nAny registered {@link android.hardware.display.DisplayManager.DisplayListener}s will be\nnotified of the change.", "docstring_tokens": ["Changes", "the", "vertical", "DPI", "for", "this", "display", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java#L217-L224", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java", "func_name": "ShadowDisplay.setName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes the name for this display.\n\nAny registered {@link android.hardware.display.DisplayManager.DisplayListener}s will be\nnotified of the change.", "docstring_tokens": ["Changes", "the", "name", "for", "this", "display", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java#L255-L262", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java", "func_name": "ShadowDisplay.setFlags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes the flags for this display.\n\nAny registered {@link android.hardware.display.DisplayManager.DisplayListener}s will be\nnotified of the change.", "docstring_tokens": ["Changes", "the", "flags", "for", "this", "display", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java#L270-L277", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java", "func_name": "ShadowDisplay.setWidth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes the width available to the application for this display.\n\nAny registered {@link android.hardware.display.DisplayManager.DisplayListener}s will be\nnotified of the change.\n\n@param width the new width in pixels", "docstring_tokens": ["Changes", "the", "width", "available", "to", "the", "application", "for", "this", "display", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java#L287-L294", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java", "func_name": "ShadowDisplay.setHeight", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes the height available to the application for this display.\n\nAny registered {@link android.hardware.display.DisplayManager.DisplayListener}s will be\nnotified of the change.\n\n@param height new height in pixels", "docstring_tokens": ["Changes", "the", "height", "available", "to", "the", "application", "for", "this", "display", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java#L304-L311", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java", "func_name": "ShadowDisplay.setRealWidth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes the simulated physical width for this display.\n\nAny registered {@link android.hardware.display.DisplayManager.DisplayListener}s will be\nnotified of the change.\n\n@param width the new width in pixels", "docstring_tokens": ["Changes", "the", "simulated", "physical", "width", "for", "this", "display", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java#L321-L328", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java", "func_name": "ShadowDisplay.setRealHeight", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes the simulated physical height for this display.\n\nAny registered {@link android.hardware.display.DisplayManager.DisplayListener}s will be\nnotified of the change.\n\n@param height the new height in pixels", "docstring_tokens": ["Changes", "the", "simulated", "physical", "height", "for", "this", "display", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java#L338-L345", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java", "func_name": "ShadowDisplay.setRotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes the rotation for this display.\n\nAny registered {@link android.hardware.display.DisplayManager.DisplayListener}s will be\nnotified of the change.\n\n@param rotation one of {@link Surface#ROTATION_0}, {@link Surface#ROTATION_90},\n{@link Surface#ROTATION_180}, {@link Surface#ROTATION_270}", "docstring_tokens": ["Changes", "the", "rotation", "for", "this", "display", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java#L367-L374", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java", "func_name": "ShadowDisplay.setState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes the simulated state for this display, such as whether it is on or off\n\nAny registered {@link android.hardware.display.DisplayManager.DisplayListener}s will be\nnotified of the change.\n\n@param state the new state: one of {@link Display#STATE_OFF}, {@link Display#STATE_ON},\n{@link Display#STATE_DOZE}, {@link Display#STATE_DOZE_SUSPEND}, or\n{@link Display#STATE_UNKNOWN}.", "docstring_tokens": ["Changes", "the", "simulated", "state", "for", "this", "display", "such", "as", "whether", "it", "is", "on", "or", "off"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplay.java#L396-L401", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/DefaultRequestDirector.java", "func_name": "DefaultRequestDirector.releaseConnection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the connection back to the connection manager\nand prepares for retrieving a new connection during\nthe next request.", "docstring_tokens": ["Returns", "the", "connection", "back", "to", "the", "connection", "manager", "and", "prepares", "for", "retrieving", "a", "new", "connection", "during", "the", "next", "request", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/DefaultRequestDirector.java#L607-L617", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/DefaultRequestDirector.java", "func_name": "DefaultRequestDirector.establishRoute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Establishes the target route.\n\n@param route the route to establish\n@param context the context for the request execution\n\n@throws HttpException in case of a problem\n@throws IOException in case of an IO problem", "docstring_tokens": ["Establishes", "the", "target", "route", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/DefaultRequestDirector.java#L663-L719", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "sandbox/src/main/java/org/robolectric/internal/bytecode/InstrumentingClassWriter.java", "func_name": "InstrumentingClassWriter.getCommonSuperClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the common super type of the two given types without actually loading\nthe classes in the ClassLoader.", "docstring_tokens": ["Returns", "the", "common", "super", "type", "of", "the", "two", "given", "types", "without", "actually", "loading", "the", "classes", "in", "the", "ClassLoader", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/sandbox/src/main/java/org/robolectric/internal/bytecode/InstrumentingClassWriter.java#L33-L82", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/android/XmlResourceParserImpl.java", "func_name": "XmlResourceParserImpl.qualify", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for testing only...", "docstring_tokens": ["for", "testing", "only", "..."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/android/XmlResourceParserImpl.java#L342-L351", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/android/XmlResourceParserImpl.java", "func_name": "XmlResourceParserImpl.navigateToNextNode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Navigate to the next node after a node and all of his\nchildren have been explored.\n\nIf the node has unexplored siblings navigate to the\nnext sibling. Otherwise return to its parent.\n\n@param node the node which was just explored.\n@return {@link XmlPullParserException#START_TAG} if the given\nnode has siblings, {@link XmlPullParserException#END_TAG}\nif the node has no unexplored siblings or\n{@link XmlPullParserException#END_DOCUMENT} if the explored\nwas the root document.\n@throws XmlPullParserException if the parser fails to\nparse the next node.", "docstring_tokens": ["Navigate", "to", "the", "next", "node", "after", "a", "node", "and", "all", "of", "his", "children", "have", "been", "explored", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/android/XmlResourceParserImpl.java#L546-L561", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/android/XmlResourceParserImpl.java", "func_name": "XmlResourceParserImpl.isAndroidSupportedFeature", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tell is a given feature is supported by android.\n\n@param name Feature name.\n@return True if the feature is supported.", "docstring_tokens": ["Tell", "is", "a", "given", "feature", "is", "supported", "by", "android", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/android/XmlResourceParserImpl.java#L839-L849", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/ResTable.java", "func_name": "ResTable.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "bool appAsLib=false, bool isSystemAsset=false);", "docstring_tokens": ["bool", "appAsLib", "=", "false", "bool", "isSystemAsset", "=", "false", ")", ";"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/ResTable.java#L145-L167", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/RuntimeEnvironment.java", "func_name": "RuntimeEnvironment.getQualifiers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a qualifier string describing the given configuration and display metrics.\n\n@param configuration the configuration.\n@param displayMetrics the display metrics.\n@return a qualifier string as described (https://developer.android.com/guide/topics/resources/providing-resources.html#QualifierRules)[here].", "docstring_tokens": ["Returns", "a", "qualifier", "string", "describing", "the", "given", "configuration", "and", "display", "metrics", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/RuntimeEnvironment.java#L120-L122", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/RuntimeEnvironment.java", "func_name": "RuntimeEnvironment.setQualifiers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Overrides the current device configuration.\n\nIf `newQualifiers` starts with a plus (`+`), the prior configuration is used as the base\nconfiguration, with the given changes applied additively. Otherwise, default values are used\nfor unspecified properties, as described [here](http://robolectric.org/device-configuration/).\n\n@param newQualifiers the qualifiers to apply", "docstring_tokens": ["Overrides", "the", "current", "device", "configuration", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/RuntimeEnvironment.java#L133-L150", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/ResourceString.java", "func_name": "ResourceString.buildString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a string from a null-terminated char data.", "docstring_tokens": ["Builds", "a", "string", "from", "a", "null", "-", "terminated", "char", "data", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/ResourceString.java#L115-L123", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/src/main/java/org/robolectric/util/inject/ServiceFinder.java", "func_name": "ServiceFinder.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new service loader for the given service type and class\nloader.\n\n@param the class of the service type\n\n@param service\nThe interface or abstract class representing the service\n\n@param loader\nThe class loader to be used to load provider-configuration files\nand provider classes, or null if the system class\nloader (or, failing that, the bootstrap class loader) is to be\nused\n\n@return A new service loader", "docstring_tokens": ["Creates", "a", "new", "service", "loader", "for", "the", "given", "service", "type", "and", "class", "loader", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/src/main/java/org/robolectric/util/inject/ServiceFinder.java#L404-L408", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/src/main/java/org/robolectric/util/inject/ServiceFinder.java", "func_name": "ServiceFinder.loadInstalled", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new service loader for the given service type, using the\nextension class loader.\n\n
This convenience method simply locates the extension class loader,\ncall it extClassLoader, and then returns\n\n
\nServiceFinder.load(service, extClassLoader)
\n\n
If the extension class loader cannot be found then the system class\nloader is used; if there is no system class loader then the bootstrap\nclass loader is used.\n\n
This method is intended for use when only installed providers are\ndesired. The resulting service will only find and load providers that\nhave been installed into the current Java virtual machine; providers on\nthe application's class path will be ignored.\n\n@param the class of the service type\n\n@param service\nThe interface or abstract class representing the service\n\n@return A new service loader", "docstring_tokens": ["Creates", "a", "new", "service", "loader", "for", "the", "given", "service", "type", "using", "the", "extension", "class", "loader", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/src/main/java/org/robolectric/util/inject/ServiceFinder.java#L464-L472", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/src/main/java/org/robolectric/util/inject/ServiceFinder.java", "func_name": "ServiceFinder.loadFromSystemProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal API to support built-in SPIs that check a system property first.\nReturns an instance specified by a property with the class' binary name, or null if\nno such property is set.\n@hide", "docstring_tokens": ["Internal", "API", "to", "support", "built", "-", "in", "SPIs", "that", "check", "a", "system", "property", "first", ".", "Returns", "an", "instance", "specified", "by", "a", "property", "with", "the", "class", "binary", "name", "or", "null", "if", "no", "such", "property", "is", "set", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/src/main/java/org/robolectric/util/inject/ServiceFinder.java#L482-L493", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsbManager.java", "func_name": "ShadowUsbManager.hasPermissionForPackage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the given package has permission to access the device.", "docstring_tokens": ["Returns", "true", "if", "the", "given", "package", "has", "permission", "to", "access", "the", "device", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsbManager.java#L63-L66", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsbManager.java", "func_name": "ShadowUsbManager.revokePermission", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Revokes permission to a USB device granted to a package. This method does nothing if the\npackage doesn't have permission to access the device.", "docstring_tokens": ["Revokes", "permission", "to", "a", "USB", "device", "granted", "to", "a", "package", ".", "This", "method", "does", "nothing", "if", "the", "package", "doesn", "t", "have", "permission", "to", "access", "the", "device", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsbManager.java#L89-L94", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsbManager.java", "func_name": "ShadowUsbManager.addOrUpdateUsbDevice", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a USB device into available USB devices map with permission value. If the USB device\nalready exists, updates the USB device with new permission value.", "docstring_tokens": ["Adds", "a", "USB", "device", "into", "available", "USB", "devices", "map", "with", "permission", "value", ".", "If", "the", "USB", "device", "already", "exists", "updates", "the", "USB", "device", "with", "new", "permission", "value", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsbManager.java#L126-L135", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsbManager.java", "func_name": "ShadowUsbManager.removeUsbDevice", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes a USB device from available USB devices map.", "docstring_tokens": ["Removes", "a", "USB", "device", "from", "available", "USB", "devices", "map", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsbManager.java#L138-L142", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsbManager.java", "func_name": "ShadowUsbManager.addPort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a USB port to UsbManager.", "docstring_tokens": ["Adds", "a", "USB", "port", "to", "UsbManager", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsbManager.java#L160-L181", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsbManager.java", "func_name": "ShadowUsbManager.openAccessory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens a file descriptor from a temporary file.", "docstring_tokens": ["Opens", "a", "file", "descriptor", "from", "a", "temporary", "file", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsbManager.java#L205-L215", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDropBoxManager.java", "func_name": "ShadowDropBoxManager.addData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds entry to the DropboxManager with the flag indicating data is text.\n\n
The existing {@link DropBoxManager#addData}, {@link DropBoxManager#addFile}, and {@link\nDropBoxManager#addText} methods in DropBoxManager are not shadowed. This method is a\nconvenience for quickly adding multiple historical entries. The entries can be added in any\norder since this shadow will sort the entries by the specified timestamp.\n\n
The flag will be set to {@link DropBoxManager#IS_TEXT} so that {@link\nDropBoxManager.Entry#getText} can be used.\n\n@param tag can be any arbitrary string\n@param timestamp is an arbitrary timestamp that must be unique from all other entries\n@param data must not be null", "docstring_tokens": ["Adds", "entry", "to", "the", "DropboxManager", "with", "the", "flag", "indicating", "data", "is", "text", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDropBoxManager.java#L34-L36", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/ShadowMediaBrowserCompat.java", "func_name": "ShadowMediaBrowserCompat.createMediaItem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a MediaItem and returns it.\n\n@param parentId the id of the parent MediaItem. If the MediaItem to be created will be the\nroot, parentId should be null.\n@param mediaId the id of the MediaItem to be created.\n@param title the title of the MediaItem to be created.\n@param flag says if the MediaItem to be created is browsable and/or playable.\n@return the newly created MediaItem.", "docstring_tokens": ["Creates", "a", "MediaItem", "and", "returns", "it", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/ShadowMediaBrowserCompat.java#L187-L210", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java", "func_name": "ReflectionHelpers.createDeepProxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a proxy for the given class which returns other deep proxies from all it's methods.\n\n
The returned object will be an instance of the given class, but all methods will return\neither the \"default\" value for primitives, or another deep proxy for non-primitive types.\n\n
This should be used rarely, for cases where we need to create deep proxies in order not\nto crash. The inner proxies are impossible to configure, so there is no way to create\nmeaningful behavior from a deep proxy. It serves mainly to prevent Null Pointer Exceptions.\n@param clazz the class to provide a proxy instance of.\n@return a new \"Deep Proxy\" instance of the given class.", "docstring_tokens": ["Create", "a", "proxy", "for", "the", "given", "class", "which", "returns", "other", "deep", "proxies", "from", "all", "it", "s", "methods", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java#L53-L70", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java", "func_name": "ReflectionHelpers.getField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reflectively get the value of a field.\n\n@param object Target object.\n@param fieldName The field name.\n@param The return type.\n@return Value of the field on the object.", "docstring_tokens": ["Reflectively", "get", "the", "value", "of", "a", "field", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java#L107-L121", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java", "func_name": "ReflectionHelpers.callInstanceMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reflectively call an instance method on an object.\n\n@param instance Target object.\n@param methodName The method name to call.\n@param classParameters Array of parameter types and values.\n@param The return type.\n@return The return value of the method.", "docstring_tokens": ["Reflectively", "call", "an", "instance", "method", "on", "an", "object", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java#L236-L261", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java", "func_name": "ReflectionHelpers.callInstanceMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reflectively call an instance method on an object on a specific class.\n\n@param cl The class.\n@param instance Target object.\n@param methodName The method name to call.\n@param classParameters Array of parameter types and values.\n@param The return type.\n@return The return value of the method.", "docstring_tokens": ["Reflectively", "call", "an", "instance", "method", "on", "an", "object", "on", "a", "specific", "class", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java#L273-L295", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java", "func_name": "ReflectionHelpers.callStaticMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method for calling a static method using a class from a custom class loader\n\n@param classLoader\n@param fullyQualifiedClassName\n@param methodName\n@param classParameters\n@param \n@return", "docstring_tokens": ["Helper", "method", "for", "calling", "a", "static", "method", "using", "a", "class", "from", "a", "custom", "class", "loader"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java#L307-L314", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java", "func_name": "ReflectionHelpers.callStaticMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reflectively call a static method on a class.\n\n@param clazz Target class.\n@param methodName The method name to call.\n@param classParameters Array of parameter types and values.\n@param The return type.\n@return The return value of the method.", "docstring_tokens": ["Reflectively", "call", "a", "static", "method", "on", "a", "class", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java#L325-L350", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java", "func_name": "ReflectionHelpers.newInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new instance of a class\n\n@param cl The class object.\n@param The class type.\n@return New class instance.", "docstring_tokens": ["Create", "a", "new", "instance", "of", "a", "class"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java#L374-L381", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java", "func_name": "ReflectionHelpers.callConstructor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reflectively call the constructor of an object.\n\n@param clazz Target class.\n@param classParameters Array of parameter types and values.\n@param The return type.\n@return The return value of the method.", "docstring_tokens": ["Reflectively", "call", "the", "constructor", "of", "an", "object", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadowapi/src/main/java/org/robolectric/util/ReflectionHelpers.java#L391-L412", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowWifiRttManager.java", "func_name": "ShadowWifiRttManager.startRanging", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If there are RangingResults set by the setRangeResults method of this shadow class, this method\nwill call the onRangingResults method of the callback on the executor thread and pass the list\nof RangingResults. If there are no ranging results set, it will pass\nRangingResultCallback.STATUS_CODE_FAIL to the onRangingFailure method of the callback, also\ncalled on the executor thread.", "docstring_tokens": ["If", "there", "are", "RangingResults", "set", "by", "the", "setRangeResults", "method", "of", "this", "shadow", "class", "this", "method", "will", "call", "the", "onRangingResults", "method", "of", "the", "callback", "on", "the", "executor", "thread", "and", "pass", "the", "list", "of", "RangingResults", ".", "If", "there", "are", "no", "ranging", "results", "set", "it", "will", "pass", "RangingResultCallback", ".", "STATUS_CODE_FAIL", "to", "the", "onRangingFailure", "method", "of", "the", "callback", "also", "called", "on", "the", "executor", "thread", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowWifiRttManager.java#L28-L36", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowFontsContract.java", "func_name": "ShadowFontsContract.getFontSync", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a stub typeface immediately.", "docstring_tokens": ["Returns", "a", "stub", "typeface", "immediately", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowFontsContract.java#L15-L18", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "robolectric/src/main/java/org/robolectric/ApkLoader.java", "func_name": "ApkLoader.getCompileTimeSdkResourceTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the ResourceTable for the compile time SDK.", "docstring_tokens": ["Returns", "the", "ResourceTable", "for", "the", "compile", "time", "SDK", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/robolectric/src/main/java/org/robolectric/ApkLoader.java#L33-L41", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowView.java", "func_name": "ShadowView.dump", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Emits an xml-like representation of the view to System.out.\n\n@param view the view to dump.\n@deprecated - Please use {@link androidx.test.espresso.util.HumanReadables#describe(View)}", "docstring_tokens": ["Emits", "an", "xml", "-", "like", "representation", "of", "the", "view", "to", "System", ".", "out", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowView.java#L106-L111", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowView.java", "func_name": "ShadowView.innerText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the text contained within this view.\n\n@param view the view to scan for text\n@return Text contained within this view.", "docstring_tokens": ["Returns", "the", "text", "contained", "within", "this", "view", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowView.java#L119-L123", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowInstrumentation.java", "func_name": "ShadowInstrumentation.getAppropriateWrappers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the BroadcaseReceivers wrappers, matching intent's action and permissions.", "docstring_tokens": ["Returns", "the", "BroadcaseReceivers", "wrappers", "matching", "intent", "s", "action", "and", "permissions", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowInstrumentation.java#L249-L271", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowInstrumentation.java", "func_name": "ShadowInstrumentation.postIntent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enforces that BroadcastReceivers invoked during an ordered broadcast run serially, passing\nalong their results.", "docstring_tokens": ["Enforces", "that", "BroadcastReceivers", "invoked", "during", "an", "ordered", "broadcast", "run", "serially", "passing", "along", "their", "results", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowInstrumentation.java#L340-L371", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowColor.java", "func_name": "ShadowColor.RGBToHSV", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is implemented in native code in the Android SDK.\n\n
Since HSV == HSB then the implementation from {@link java.awt.Color} can be used, with a\nsmall adjustment to the representation of the hue.\n\n
{@link java.awt.Color} represents hue as 0..1 (where 1 == 100% == 360 degrees), while {@link\nandroid.graphics.Color} represents hue as 0..360 degrees. The correct hue can be calculated by\nmultiplying with 360.\n\n@param red Red component\n@param green Green component\n@param blue Blue component\n@param hsv Array to store HSV components", "docstring_tokens": ["This", "is", "implemented", "in", "native", "code", "in", "the", "Android", "SDK", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowColor.java#L24-L28", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowTrace.java", "func_name": "ShadowTrace.beginSection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts a new trace section with given name.", "docstring_tokens": ["Starts", "a", "new", "trace", "section", "with", "given", "name", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTrace.java#L44-L63", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowTrace.java", "func_name": "ShadowTrace.endSection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ends the most recent active trace section.\n\n@throws {@link AssertionError} if called without any active trace section.", "docstring_tokens": ["Ends", "the", "most", "recent", "active", "trace", "section", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowTrace.java#L70-L82", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/src/main/java/org/robolectric/util/inject/Injector.java", "func_name": "Injector.getProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds a provider for the given key.\n\nCalls are guaranteed idempotent and non-blocking.", "docstring_tokens": ["Finds", "a", "provider", "for", "the", "given", "key", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/src/main/java/org/robolectric/util/inject/Injector.java#L306-L319", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/android/FileMap.java", "func_name": "FileMap.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns \"false\" on failure.", "docstring_tokens": ["Returns", "false", "on", "failure", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/android/FileMap.java#L27-L35", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/android/util/concurrent/PausedExecutorService.java", "func_name": "PausedExecutorService.runAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute all posted tasks and block until they are complete.\n\n@return the number of tasks executed", "docstring_tokens": ["Execute", "all", "posted", "tasks", "and", "block", "until", "they", "are", "complete", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/android/util/concurrent/PausedExecutorService.java#L86-L97", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/android/util/concurrent/PausedExecutorService.java", "func_name": "PausedExecutorService.runNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes the next queued task.\n\nWill be ignored if called from the executor service thread to prevent deadlocks.\n\n@return true if task was run, false if queue was empty", "docstring_tokens": ["Executes", "the", "next", "queued", "task", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/android/util/concurrent/PausedExecutorService.java#L106-L117", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowAudioManager.java", "func_name": "ShadowAudioManager.requestAudioFocus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provides a mock like interface for the requestAudioFocus method by storing the request object\nfor later inspection and returning the value specified in setNextFocusRequestResponse.", "docstring_tokens": ["Provides", "a", "mock", "like", "interface", "for", "the", "requestAudioFocus", "method", "by", "storing", "the", "request", "object", "for", "later", "inspection", "and", "returning", "the", "value", "specified", "in", "setNextFocusRequestResponse", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAudioManager.java#L96-L100", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowAudioManager.java", "func_name": "ShadowAudioManager.abandonAudioFocusRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provides a mock like interface for the abandonAudioFocusRequest method by storing the request\nobject for later inspection and returning the value specified in setNextFocusRequestResponse.", "docstring_tokens": ["Provides", "a", "mock", "like", "interface", "for", "the", "abandonAudioFocusRequest", "method", "by", "storing", "the", "request", "object", "for", "later", "inspection", "and", "returning", "the", "value", "specified", "in", "setNextFocusRequestResponse", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowAudioManager.java#L112-L116", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaCodec.java", "func_name": "ShadowMediaCodec.native_start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts the async encoding process, by first reporting a format change event, and then\npresenting an input buffer to the callback.", "docstring_tokens": ["Starts", "the", "async", "encoding", "process", "by", "first", "reporting", "a", "format", "change", "event", "and", "then", "presenting", "an", "input", "buffer", "to", "the", "callback", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaCodec.java#L58-L76", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaCodec.java", "func_name": "ShadowMediaCodec.getBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the input or output buffer corresponding to the given index, or null if invalid.", "docstring_tokens": ["Returns", "the", "input", "or", "output", "buffer", "corresponding", "to", "the", "given", "index", "or", "null", "if", "invalid", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaCodec.java#L85-L90", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaCodec.java", "func_name": "ShadowMediaCodec.native_queueInputBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Triggers presentation of the corresponding output buffer for the given input buffer, and passes\nthe given metadata as buffer info.", "docstring_tokens": ["Triggers", "presentation", "of", "the", "corresponding", "output", "buffer", "for", "the", "given", "input", "buffer", "and", "passes", "the", "given", "metadata", "as", "buffer", "info", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaCodec.java#L96-L108", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaCodec.java", "func_name": "ShadowMediaCodec.releaseOutputBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Triggers presentation of the corresponding input buffer for the given output buffer, if end of\nstream has not yet been signaled.", "docstring_tokens": ["Triggers", "presentation", "of", "the", "corresponding", "input", "buffer", "for", "the", "given", "output", "buffer", "if", "end", "of", "stream", "has", "not", "yet", "been", "signaled", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowMediaCodec.java#L114-L121", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsageStatsManager.java", "func_name": "ShadowUsageStatsManager.simulateTimeChange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Simulates the operations done by the framework when there is a time change. If the time is\nchanged, the timestamps of all existing usage events will be shifted by the same offset as the\ntime change, in order to make sure they remain stable relative to the new time.\n\n
This method won't affect the results of {@link #queryUsageStats} method.\n\n@param offsetToAddInMillis the offset to be applied to all events. For example, if {@code\noffsetInMillis} is 60,000, then all {@link Event}s will be shifted forward by 1 minute\n(into the future). Likewise, if {@code offsetInMillis} is -60,000, then all {@link Event}s\nwill be shifted backward by 1 minute (into the past).", "docstring_tokens": ["Simulates", "the", "operations", "done", "by", "the", "framework", "when", "there", "is", "a", "time", "change", ".", "If", "the", "time", "is", "changed", "the", "timestamps", "of", "all", "existing", "usage", "events", "will", "be", "shifted", "by", "the", "same", "offset", "as", "the", "time", "change", "in", "order", "to", "make", "sure", "they", "remain", "stable", "relative", "to", "the", "new", "time", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowUsageStatsManager.java#L295-L303", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/LegacyManifestParser.java", "func_name": "LegacyManifestParser.metaDataToBundle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Goes through the meta data and puts each value in to a bundle as the correct type.\n\n
Note that this will convert resource identifiers specified via the value attribute as well.\n\n@param meta Meta data to put in to a bundle\n@return bundle containing the meta data", "docstring_tokens": ["Goes", "through", "the", "meta", "data", "and", "puts", "each", "value", "in", "to", "a", "bundle", "as", "the", "correct", "type", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/LegacyManifestParser.java#L558-L579", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowSQLiteConnection.java", "func_name": "ShadowSQLiteConnection.convertSQLWithLocalizedUnicodeCollator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert SQL with phrase COLLATE LOCALIZED or COLLATE UNICODE to COLLATE NOCASE.", "docstring_tokens": ["Convert", "SQL", "with", "phrase", "COLLATE", "LOCALIZED", "or", "COLLATE", "UNICODE", "to", "COLLATE", "NOCASE", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowSQLiteConnection.java#L96-L99", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplicationPackageManager.java", "func_name": "ShadowApplicationPackageManager.newPackageInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "There is no copy constructor for PackageInfo", "docstring_tokens": ["There", "is", "no", "copy", "constructor", "for", "PackageInfo"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplicationPackageManager.java#L413-L418", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplicationPackageManager.java", "func_name": "ShadowApplicationPackageManager.isGrantedForBackwardsCompatibility", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns whether a permission should be treated as granted to the package for backward\ncompatibility reasons.\n\nBefore Robolectric 4.0 the ShadowPackageManager treated every requested permission as\nautomatically granted. 4.0 changes this behavior, and only treats a permission as granted if\nPackageInfo.requestedPermissionFlags[permissionIndex] & REQUESTED_PERMISSION_GRANTED ==\nREQUESTED_PERMISSION_GRANTED which matches the real PackageManager's behavior.\n\nSince many existing tests didn't set the requestedPermissionFlags on their {@code\nPackageInfo} objects, but assumed that all permissions are granted, we auto-grant all\npermissions if the requestedPermissionFlags is not set. If the requestedPermissionFlags is set,\nwe assume that the test is configuring the permission grant state, and we don't override this\nsetting.", "docstring_tokens": ["Returns", "whether", "a", "permission", "should", "be", "treated", "as", "granted", "to", "the", "package", "for", "backward", "compatibility", "reasons", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplicationPackageManager.java#L717-L727", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplicationPackageManager.java", "func_name": "ShadowApplicationPackageManager.applyFlagsToComponentInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Modifies the component in place using.\n\n@throws NameNotFoundException when component is filtered out by a flag", "docstring_tokens": ["Modifies", "the", "component", "in", "place", "using", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplicationPackageManager.java#L784-L827", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplicationPackageManager.java", "func_name": "ShadowApplicationPackageManager.getPermissionIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the index of the given permission in the PackageInfo.requestedPermissions array, or -1\nif it's not found.", "docstring_tokens": ["Returns", "the", "index", "of", "the", "given", "permission", "in", "the", "PackageInfo", ".", "requestedPermissions", "array", "or", "-", "1", "if", "it", "s", "not", "found", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplicationPackageManager.java#L1304-L1314", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplicationPackageManager.java", "func_name": "ShadowApplicationPackageManager.getUserBadgedIcon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a profile badge to the icon.\n\nThis implementation just returns the unbadged icon, as some default implementations add an\ninternal resource to the icon that is unavailable to Robolectric.", "docstring_tokens": ["Adds", "a", "profile", "badge", "to", "the", "icon", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplicationPackageManager.java#L1682-L1685", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplicationPackageManager.java", "func_name": "ShadowApplicationPackageManager.hasProfileOwnerOrDeviceOwnerOnCurrentUser", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns whether the current user profile has a profile owner or a device owner.", "docstring_tokens": ["Returns", "whether", "the", "current", "user", "profile", "has", "a", "profile", "owner", "or", "a", "device", "owner", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowApplicationPackageManager.java#L1734-L1740", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "resources/src/main/java/org/robolectric/res/StringResources.java", "func_name": "StringResources.extractCodePoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts code points in a given string to actual characters. This method doesn't handle code\npoints whose char counts are 2. In other words, this method doesn't handle U+10XXXX.", "docstring_tokens": ["Converts", "code", "points", "in", "a", "given", "string", "to", "actual", "characters", ".", "This", "method", "doesn", "t", "handle", "code", "points", "whose", "char", "counts", "are", "2", ".", "In", "other", "words", "this", "method", "doesn", "t", "handle", "U", "+", "10XXXX", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/resources/src/main/java/org/robolectric/res/StringResources.java#L91-L99", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "utils/reflector/src/main/java/org/robolectric/util/reflector/Reflector.java", "func_name": "Reflector.reflector", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an object which provides accessors for invoking otherwise inaccessible methods and\nfields.\n\n@param iClass an interface with methods matching private methods on the target\n@param target the target object", "docstring_tokens": ["Returns", "an", "object", "which", "provides", "accessors", "for", "invoking", "otherwise", "inaccessible", "methods", "and", "fields", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/utils/reflector/src/main/java/org/robolectric/util/reflector/Reflector.java#L58-L78", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentResolver.java", "func_name": "ShadowContentResolver.getStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve information on the status of the given account.\n\n@param account the account\n@param authority the authority\n@param create whether to create if no such account is found\n@return the account's status", "docstring_tokens": ["Retrieve", "information", "on", "the", "status", "of", "the", "given", "account", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentResolver.java#L675-L687", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentResolver.java", "func_name": "ShadowContentResolver.getContentObservers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the content observers registered for updates under the given URI.\n\nWill be empty if no observer is registered.\n\n@param uri Given URI\n@return The content observers, or null", "docstring_tokens": ["Returns", "the", "content", "observers", "registered", "for", "updates", "under", "the", "given", "URI", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentResolver.java#L817-L825", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManager.java", "func_name": "ShadowDisplayManager.addDisplay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a simulated display and drain the main looper queue to ensure all the callbacks are\nprocessed.\n\n@param qualifiersStr the {@link Qualifiers} string representing characteristics of the new\ndisplay.\n@return the new display's ID", "docstring_tokens": ["Adds", "a", "simulated", "display", "and", "drain", "the", "main", "looper", "queue", "to", "ensure", "all", "the", "callbacks", "are", "processed", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManager.java#L55-L59", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManager.java", "func_name": "ShadowDisplayManager.changeDisplay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Changes properties of a simulated display. The original properties will be passed to the\n`consumer`, which may modify them in place. The display will be updated with the new\nproperties.\n\n@param displayId the display id to change\n@param consumer a function which modifies the display properties", "docstring_tokens": ["Changes", "properties", "of", "a", "simulated", "display", ".", "The", "original", "properties", "will", "be", "passed", "to", "the", "consumer", "which", "may", "modify", "them", "in", "place", ".", "The", "display", "will", "be", "updated", "with", "the", "new", "properties", "."], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManager.java#L171-L181", "partition": "valid"}
+{"repo": "robolectric/robolectric", "path": "shadows/framework/src/main/java/org/robolectric/shadows/ShadowDebug.java", "func_name": "ShadowDebug.fixTracePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Forked from android.os.Debug", "docstring_tokens": ["Forked", "from", "android", ".", "os", ".", "Debug"], "sha": "4fa79a2c72f8abbf742ab920419653c207b41d62", "url": "https://github.com/robolectric/robolectric/blob/4fa79a2c72f8abbf742ab920419653c207b41d62/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDebug.java#L94-L110", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/lang/util/CronSequenceGenerator.java", "func_name": "CronSequenceGenerator.findNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Search the bits provided for the next set bit after the value provided,\nand reset the calendar.\n@param bits a {@link BitSet} representing the allowed values of the field\n@param value the current value of the field\n@param calendar the calendar to increment as we move through the bits\n@param field the field to increment in the calendar (@see\n{@link Calendar} for the static constants defining valid fields)\n@param lowerOrders the Calendar field ids that should be reset (i.e. the\nones of lower significance than the field of interest)\n@return the value of the calendar field that is next in the sequence", "docstring_tokens": ["Search", "the", "bits", "provided", "for", "the", "next", "set", "bit", "after", "the", "value", "provided", "and", "reset", "the", "calendar", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/lang/util/CronSequenceGenerator.java#L211-L224", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/lang/util/CronSequenceGenerator.java", "func_name": "CronSequenceGenerator.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reset the calendar setting all the fields provided to zero.", "docstring_tokens": ["Reset", "the", "calendar", "setting", "all", "the", "fields", "provided", "to", "zero", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/lang/util/CronSequenceGenerator.java#L229-L233", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/lang/util/CronSequenceGenerator.java", "func_name": "CronSequenceGenerator.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the given pattern expression.", "docstring_tokens": ["Parse", "the", "given", "pattern", "expression", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/lang/util/CronSequenceGenerator.java#L241-L258", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.getArgIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the index of the given method argument in the frame's local\nvariables array.\n\n@param arg\nthe index of a method argument.\n@return the index of the given method argument in the frame's local\nvariables array.", "docstring_tokens": ["Returns", "the", "index", "of", "the", "given", "method", "argument", "in", "the", "frame", "s", "local", "variables", "array", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L516-L522", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.loadInsn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instruction to push a local variable on the stack.\n\n@param type\nthe type of the local variable to be loaded.\n@param index\nan index in the frame's local variables array.", "docstring_tokens": ["Generates", "the", "instruction", "to", "push", "a", "local", "variable", "on", "the", "stack", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L532-L534", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.storeInsn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instruction to store the top stack value in a local\nvariable.\n\n@param type\nthe type of the local variable to be stored.\n@param index\nan index in the frame's local variables array.", "docstring_tokens": ["Generates", "the", "instruction", "to", "store", "the", "top", "stack", "value", "in", "a", "local", "variable", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L545-L547", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.loadArgs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instructions to load the given method arguments on the\nstack.\n\n@param arg\nthe index of the first method argument to be loaded.\n@param count\nthe number of method arguments to be loaded.", "docstring_tokens": ["Generates", "the", "instructions", "to", "load", "the", "given", "method", "arguments", "on", "the", "stack", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L579-L586", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.loadArgArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instructions to load all the method arguments on the stack,\nas a single object array.", "docstring_tokens": ["Generates", "the", "instructions", "to", "load", "all", "the", "method", "arguments", "on", "the", "stack", "as", "a", "single", "object", "array", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L599-L609", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.loadLocal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instruction to load the given local variable on the stack.\n\n@param local\na local variable identifier, as returned by\n{@link LocalVariablesSorter#newLocal(Type) newLocal()}.\n@param type\nthe type of this local variable.", "docstring_tokens": ["Generates", "the", "instruction", "to", "load", "the", "given", "local", "variable", "on", "the", "stack", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L667-L670", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.storeLocal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instruction to store the top stack value in the given local\nvariable.\n\n@param local\na local variable identifier, as returned by\n{@link LocalVariablesSorter#newLocal(Type) newLocal()}.\n@param type\nthe type of this local variable.", "docstring_tokens": ["Generates", "the", "instruction", "to", "store", "the", "top", "stack", "value", "in", "the", "given", "local", "variable", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L694-L697", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.swap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instructions to swap the top two stack values.\n\n@param prev\ntype of the top - 1 stack value.\n@param type\ntype of the top stack value.", "docstring_tokens": ["Generates", "the", "instructions", "to", "swap", "the", "top", "two", "stack", "values", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L794-L811", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.box", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instructions to box the top stack value. This value is\nreplaced by its boxed equivalent on top of the stack.\n\n@param type\nthe type of the top stack value.", "docstring_tokens": ["Generates", "the", "instructions", "to", "box", "the", "top", "stack", "value", ".", "This", "value", "is", "replaced", "by", "its", "boxed", "equivalent", "on", "top", "of", "the", "stack", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L941-L963", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.unbox", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instructions to unbox the top stack value. This value is\nreplaced by its unboxed equivalent on top of the stack.\n\n@param type\nthe type of the top stack value.", "docstring_tokens": ["Generates", "the", "instructions", "to", "unbox", "the", "top", "stack", "value", ".", "This", "value", "is", "replaced", "by", "its", "unboxed", "equivalent", "on", "top", "of", "the", "stack", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L993-L1027", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.ifCmp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instructions to jump to a label based on the comparison of\nthe top two stack values.\n\n@param type\nthe type of the top two stack values.\n@param mode\nhow these values must be compared. One of EQ, NE, LT, GE, GT,\nLE.\n@param label\nwhere to jump if the comparison result is true.", "docstring_tokens": ["Generates", "the", "instructions", "to", "jump", "to", "a", "label", "based", "on", "the", "comparison", "of", "the", "top", "two", "stack", "values", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L1075-L1126", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.fieldInsn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a get field or set field instruction.\n\n@param opcode\nthe instruction's opcode.\n@param ownerType\nthe class in which the field is defined.\n@param name\nthe name of the field.\n@param fieldType\nthe type of the field.", "docstring_tokens": ["Generates", "a", "get", "field", "or", "set", "field", "instruction", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L1299-L1303", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.getStatic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instruction to push the value of a static field on the\nstack.\n\n@param owner\nthe class in which the field is defined.\n@param name\nthe name of the field.\n@param type\nthe type of the field.", "docstring_tokens": ["Generates", "the", "instruction", "to", "push", "the", "value", "of", "a", "static", "field", "on", "the", "stack", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L1316-L1318", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.putStatic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instruction to store the top stack value in a static field.\n\n@param owner\nthe class in which the field is defined.\n@param name\nthe name of the field.\n@param type\nthe type of the field.", "docstring_tokens": ["Generates", "the", "instruction", "to", "store", "the", "top", "stack", "value", "in", "a", "static", "field", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L1330-L1332", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.getField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instruction to push the value of a non static field on the\nstack.\n\n@param owner\nthe class in which the field is defined.\n@param name\nthe name of the field.\n@param type\nthe type of the field.", "docstring_tokens": ["Generates", "the", "instruction", "to", "push", "the", "value", "of", "a", "non", "static", "field", "on", "the", "stack", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L1345-L1347", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.putField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instruction to store the top stack value in a non static\nfield.\n\n@param owner\nthe class in which the field is defined.\n@param name\nthe name of the field.\n@param type\nthe type of the field.", "docstring_tokens": ["Generates", "the", "instruction", "to", "store", "the", "top", "stack", "value", "in", "a", "non", "static", "field", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L1360-L1362", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.invokeInsn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates an invoke method instruction.\n\n@param opcode\nthe instruction's opcode.\n@param type\nthe class in which the method is defined.\n@param method\nthe method to be invoked.", "docstring_tokens": ["Generates", "an", "invoke", "method", "instruction", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L1378-L1384", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.invokeVirtual", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instruction to invoke a normal method.\n\n@param owner\nthe class in which the method is defined.\n@param method\nthe method to be invoked.", "docstring_tokens": ["Generates", "the", "instruction", "to", "invoke", "a", "normal", "method", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L1394-L1396", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.invokeConstructor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instruction to invoke a constructor.\n\n@param type\nthe class in which the constructor is defined.\n@param method\nthe constructor to be invoked.", "docstring_tokens": ["Generates", "the", "instruction", "to", "invoke", "a", "constructor", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L1406-L1408", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.invokeStatic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instruction to invoke a static method.\n\n@param owner\nthe class in which the method is defined.\n@param method\nthe method to be invoked.", "docstring_tokens": ["Generates", "the", "instruction", "to", "invoke", "a", "static", "method", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L1418-L1420", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.invokeInterface", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instruction to invoke an interface method.\n\n@param owner\nthe class in which the method is defined.\n@param method\nthe method to be invoked.", "docstring_tokens": ["Generates", "the", "instruction", "to", "invoke", "an", "interface", "method", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L1430-L1432", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.throwException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instructions to create and throw an exception. The\nexception class must have a constructor with a single String argument.\n\n@param type\nthe class of the exception to be thrown.\n@param msg\nthe detailed message of the exception.", "docstring_tokens": ["Generates", "the", "instructions", "to", "create", "and", "throw", "an", "exception", ".", "The", "exception", "class", "must", "have", "a", "constructor", "with", "a", "single", "String", "argument", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L1548-L1554", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java", "func_name": "GeneratorAdapter.checkCast", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the instruction to check that the top stack value is of the\ngiven type.\n\n@param type\na class or interface type.", "docstring_tokens": ["Generates", "the", "instruction", "to", "check", "that", "the", "top", "stack", "value", "is", "of", "the", "given", "type", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/commons/GeneratorAdapter.java#L1563-L1567", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/MethodWriter.java", "func_name": "MethodWriter.visitImplicitFirstFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visit the implicit first frame of this method.", "docstring_tokens": ["Visit", "the", "implicit", "first", "frame", "of", "this", "method", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/MethodWriter.java#L1799-L1855", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/MethodWriter.java", "func_name": "MethodWriter.startFrame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts the visit of a stack map frame.\n\n@param offset\nthe offset of the instruction to which the frame corresponds.\n@param nLocal\nthe number of local variables in the frame.\n@param nStack\nthe number of stack elements in the frame.\n@return the index of the next element to be written in this frame.", "docstring_tokens": ["Starts", "the", "visit", "of", "a", "stack", "map", "frame", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/MethodWriter.java#L1868-L1877", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ClassWriter.java", "func_name": "ClassWriter.newMethodItem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a method reference to the constant pool of the class being build.\nDoes nothing if the constant pool already contains a similar item.\n\n@param owner\nthe internal name of the method's owner class.\n@param name\nthe method's name.\n@param desc\nthe method's descriptor.\n@param itf\ntrue if owner is an interface.\n@return a new or already existing method reference item.", "docstring_tokens": ["Adds", "a", "method", "reference", "to", "the", "constant", "pool", "of", "the", "class", "being", "build", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ClassWriter.java#L1445-L1456", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ClassWriter.java", "func_name": "ClassWriter.newFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a float to the constant pool of the class being build. Does nothing\nif the constant pool already contains a similar item.\n\n@param value\nthe float value.\n@return a new or already existing float item.", "docstring_tokens": ["Adds", "a", "float", "to", "the", "constant", "pool", "of", "the", "class", "being", "build", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ClassWriter.java#L1506-L1515", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ClassWriter.java", "func_name": "ClassWriter.newString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a string to the constant pool of the class being build. Does nothing\nif the constant pool already contains a similar item.\n\n@param value\nthe String value.\n@return a new or already existing string item.", "docstring_tokens": ["Adds", "a", "string", "to", "the", "constant", "pool", "of", "the", "class", "being", "build", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ClassWriter.java#L1565-L1574", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ClassWriter.java", "func_name": "ClassWriter.newNameTypeItem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a name and type to the constant pool of the class being build. Does\nnothing if the constant pool already contains a similar item.\n\n@param name\na name.\n@param desc\na type descriptor.\n@return a new or already existing name and type item.", "docstring_tokens": ["Adds", "a", "name", "and", "type", "to", "the", "constant", "pool", "of", "the", "class", "being", "build", ".", "Does", "nothing", "if", "the", "constant", "pool", "already", "contains", "a", "similar", "item", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ClassWriter.java#L1602-L1611", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ClassWriter.java", "func_name": "ClassWriter.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the constant pool's hash table item which is equal to the given\nitem.\n\n@param key\na constant pool item.\n@return the constant pool's hash table item which is equal to the given\nitem, or null if there is no such item.", "docstring_tokens": ["Returns", "the", "constant", "pool", "s", "hash", "table", "item", "which", "is", "equal", "to", "the", "given", "item", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ClassWriter.java#L1755-L1761", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ClassWriter.java", "func_name": "ClassWriter.put122", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts one byte and two shorts into the constant pool.\n\n@param b\na byte.\n@param s1\na short.\n@param s2\nanother short.", "docstring_tokens": ["Puts", "one", "byte", "and", "two", "shorts", "into", "the", "constant", "pool", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ClassWriter.java#L1803-L1805", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ClassWriter.java", "func_name": "ClassWriter.put112", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts two bytes and one short into the constant pool.\n\n@param b1\na byte.\n@param b2\nanother byte.\n@param s\na short.", "docstring_tokens": ["Puts", "two", "bytes", "and", "one", "short", "into", "the", "constant", "pool", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ClassWriter.java#L1817-L1819", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/AnnotationVisitor.java", "func_name": "AnnotationVisitor.visitEnum", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits an enumeration value of the annotation.\n\n@param name\nthe value name.\n@param desc\nthe class descriptor of the enumeration class.\n@param value\nthe actual enumeration value.", "docstring_tokens": ["Visits", "an", "enumeration", "value", "of", "the", "annotation", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/AnnotationVisitor.java#L114-L118", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/AnnotationVisitor.java", "func_name": "AnnotationVisitor.visitAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a nested annotation value of the annotation.\n\n@param name\nthe value name.\n@param desc\nthe class descriptor of the nested annotation class.\n@return a visitor to visit the actual nested annotation value, or\nnull if this visitor is not interested in visiting this\nnested annotation. The nested annotation value must be fully\nvisited before calling other methods on this annotation\nvisitor.", "docstring_tokens": ["Visits", "a", "nested", "annotation", "value", "of", "the", "annotation", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/AnnotationVisitor.java#L133-L138", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/img/Images.java", "func_name": "Images.pos4twist", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "2. width, y, x", "docstring_tokens": ["2", ".", "width", "y", "x"], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/img/Images.java#L618-L627", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/img/Images.java", "func_name": "Images.createJPEG4", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Java's ImageIO can't process 4-component images and Java2D can't apply\nAffineTransformOp either, so convert raster data to RGB. Technique due to\nMArk Stephens. Free for any use.", "docstring_tokens": ["Java", "s", "ImageIO", "can", "t", "process", "4", "-", "component", "images", "and", "Java2D", "can", "t", "apply", "AffineTransformOp", "either", "so", "convert", "raster", "data", "to", "RGB", ".", "Technique", "due", "to", "MArk", "Stephens", ".", "Free", "for", "any", "use", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/img/Images.java#L1135-L1176", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java", "func_name": "MethodVisitor.visitParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a parameter of this method.\n\n@param name\nparameter name or null if none is provided.\n@param access\nthe parameter's access flags, only ACC_FINAL,\nACC_SYNTHETIC or/and ACC_MANDATED are\nallowed (see {@link Opcodes}).", "docstring_tokens": ["Visits", "a", "parameter", "of", "this", "method", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java#L113-L120", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java", "func_name": "MethodVisitor.visitAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits an annotation of this method.\n\n@param desc\nthe class descriptor of the annotation class.\n@param visible\ntrue if the annotation is visible at runtime.\n@return a visitor to visit the annotation values, or null if\nthis visitor is not interested in visiting this annotation.", "docstring_tokens": ["Visits", "an", "annotation", "of", "this", "method", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java#L149-L154", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java", "func_name": "MethodVisitor.visitParameterAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits an annotation of a parameter this method.\n\n@param parameter\nthe parameter index.\n@param desc\nthe class descriptor of the annotation class.\n@param visible\ntrue if the annotation is visible at runtime.\n@return a visitor to visit the annotation values, or null if\nthis visitor is not interested in visiting this annotation.", "docstring_tokens": ["Visits", "an", "annotation", "of", "a", "parameter", "this", "method", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java#L204-L210", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java", "func_name": "MethodVisitor.visitTypeInsn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a type instruction. A type instruction is an instruction that\ntakes the internal name of a class as parameter.\n\n@param opcode\nthe opcode of the type instruction to be visited. This opcode\nis either NEW, ANEWARRAY, CHECKCAST or INSTANCEOF.\n@param type\nthe operand of the instruction to be visited. This operand\nmust be the internal name of an object or array class (see\n{@link Type#getInternalName() getInternalName}).", "docstring_tokens": ["Visits", "a", "type", "instruction", ".", "A", "type", "instruction", "is", "an", "instruction", "that", "takes", "the", "internal", "name", "of", "a", "class", "as", "parameter", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java#L399-L403", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java", "func_name": "MethodVisitor.visitFieldInsn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a field instruction. A field instruction is an instruction that\nloads or stores the value of a field of an object.\n\n@param opcode\nthe opcode of the type instruction to be visited. This opcode\nis either GETSTATIC, PUTSTATIC, GETFIELD or PUTFIELD.\n@param owner\nthe internal name of the field's owner class (see\n{@link Type#getInternalName() getInternalName}).\n@param name\nthe field's name.\n@param desc\nthe field's descriptor (see {@link Type Type}).", "docstring_tokens": ["Visits", "a", "field", "instruction", ".", "A", "field", "instruction", "is", "an", "instruction", "that", "loads", "or", "stores", "the", "value", "of", "a", "field", "of", "an", "object", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java#L420-L425", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java", "func_name": "MethodVisitor.visitMethodInsn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a method instruction. A method instruction is an instruction that\ninvokes a method.\n\n@param opcode\nthe opcode of the type instruction to be visited. This opcode\nis either INVOKEVIRTUAL, INVOKESPECIAL, INVOKESTATIC or\nINVOKEINTERFACE.\n@param owner\nthe internal name of the method's owner class (see\n{@link Type#getInternalName() getInternalName}).\n@param name\nthe method's name.\n@param desc\nthe method's descriptor (see {@link Type Type}).", "docstring_tokens": ["Visits", "a", "method", "instruction", ".", "A", "method", "instruction", "is", "an", "instruction", "that", "invokes", "a", "method", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java#L443-L454", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java", "func_name": "MethodVisitor.visitTableSwitchInsn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a TABLESWITCH instruction.\n\n@param min\nthe minimum key value.\n@param max\nthe maximum key value.\n@param dflt\nbeginning of the default handler block.\n@param labels\nbeginnings of the handler blocks. labels[i] is the\nbeginning of the handler block for the min + i key.", "docstring_tokens": ["Visits", "a", "TABLESWITCH", "instruction", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java#L626-L631", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java", "func_name": "MethodVisitor.visitLookupSwitchInsn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a LOOKUPSWITCH instruction.\n\n@param dflt\nbeginning of the default handler block.\n@param keys\nthe values of the keys.\n@param labels\nbeginnings of the handler blocks. labels[i] is the\nbeginning of the handler block for the keys[i] key.", "docstring_tokens": ["Visits", "a", "LOOKUPSWITCH", "instruction", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java#L644-L648", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java", "func_name": "MethodVisitor.visitMultiANewArrayInsn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a MULTIANEWARRAY instruction.\n\n@param desc\nan array type descriptor (see {@link Type Type}).\n@param dims\nnumber of dimensions of the array to allocate.", "docstring_tokens": ["Visits", "a", "MULTIANEWARRAY", "instruction", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java#L658-L662", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java", "func_name": "MethodVisitor.visitLocalVariableAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits an annotation on a local variable type.\n\n@param typeRef\na reference to the annotated type. The sort of this type\nreference must be {@link TypeReference#LOCAL_VARIABLE\nLOCAL_VARIABLE} or {@link TypeReference#RESOURCE_VARIABLE\nRESOURCE_VARIABLE}. See {@link TypeReference}.\n@param typePath\nthe path to the annotated type argument, wildcard bound, array\nelement type, or static inner type within 'typeRef'. May be\nnull if the annotation targets 'typeRef' as a whole.\n@param start\nthe fist instructions corresponding to the continuous ranges\nthat make the scope of this local variable (inclusive).\n@param end\nthe last instructions corresponding to the continuous ranges\nthat make the scope of this local variable (exclusive). This\narray must have the same size as the 'start' array.\n@param index\nthe local variable's index in each range. This array must have\nthe same size as the 'start' array.\n@param desc\nthe class descriptor of the annotation class.\n@param visible\ntrue if the annotation is visible at runtime.\n@return a visitor to visit the annotation values, or null if\nthis visitor is not interested in visiting this annotation.", "docstring_tokens": ["Visits", "an", "annotation", "on", "a", "local", "variable", "type", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java#L825-L836", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java", "func_name": "MethodVisitor.visitLineNumber", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits a line number declaration.\n\n@param line\na line number. This number refers to the source file from\nwhich the class was compiled.\n@param start\nthe first instruction corresponding to this line number.\n@throws IllegalArgumentException\nif start has not already been visited by this\nvisitor (by the {@link #visitLabel visitLabel} method).", "docstring_tokens": ["Visits", "a", "line", "number", "declaration", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/MethodVisitor.java#L850-L854", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ClassReader.java", "func_name": "ClassReader.readFrameType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a stack map frame type and stores it at the given index in the\ngiven array.\n\n@param frame\nthe array where the parsed type must be stored.\n@param index\nthe index in 'frame' where the parsed type must be stored.\n@param v\nthe start offset of the stack map frame type to read.\n@param buf\na buffer to read strings.\n@param labels\nthe labels of the method currently being parsed, indexed by\ntheir offset. If the parsed type is an Uninitialized type, a\nnew label for the corresponding NEW instruction is stored in\nthis array if it does not already exist.\n@return the offset of the first byte after the parsed type.", "docstring_tokens": ["Reads", "a", "stack", "map", "frame", "type", "and", "stores", "it", "at", "the", "given", "index", "in", "the", "given", "array", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ClassReader.java#L2201-L2235", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Frame.java", "func_name": "Frame.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets this frame to the given value.\n\n@param cw\nthe ClassWriter to which this label belongs.\n@param nLocal\nthe number of local variables.\n@param local\nthe local variable types. Primitive types are represented by\n{@link Opcodes#TOP}, {@link Opcodes#INTEGER},\n{@link Opcodes#FLOAT}, {@link Opcodes#LONG},\n{@link Opcodes#DOUBLE},{@link Opcodes#NULL} or\n{@link Opcodes#UNINITIALIZED_THIS} (long and double are\nrepresented by a single element). Reference types are\nrepresented by String objects (representing internal names),\nand uninitialized types by Label objects (this label\ndesignates the NEW instruction that created this uninitialized\nvalue).\n@param nStack\nthe number of operand stack elements.\n@param stack\nthe operand stack types (same format as the \"local\" array).", "docstring_tokens": ["Sets", "this", "frame", "to", "the", "given", "value", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Frame.java#L546-L562", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Frame.java", "func_name": "Frame.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the output frame local variable type at the given index.\n\n@param local\nthe index of the local that must be returned.\n@return the output frame local variable type at the given index.", "docstring_tokens": ["Returns", "the", "output", "frame", "local", "variable", "type", "at", "the", "given", "index", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Frame.java#L634-L648", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Frame.java", "func_name": "Frame.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the output frame local variable type at the given index.\n\n@param local\nthe index of the local that must be set.\n@param type\nthe value of the local that must be set.", "docstring_tokens": ["Sets", "the", "output", "frame", "local", "variable", "type", "at", "the", "given", "index", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Frame.java#L658-L671", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Frame.java", "func_name": "Frame.push", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pushes a new type onto the output frame stack.\n\n@param cw\nthe ClassWriter to which this label belongs.\n@param desc\nthe descriptor of the type to be pushed. Can also be a method\ndescriptor (in this case this method pushes its return type\nonto the output frame stack).", "docstring_tokens": ["Pushes", "a", "new", "type", "onto", "the", "output", "frame", "stack", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Frame.java#L709-L717", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Frame.java", "func_name": "Frame.type", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the int encoding of the given type.\n\n@param cw\nthe ClassWriter to which this label belongs.\n@param desc\na type descriptor.\n@return the int encoding of the given type.", "docstring_tokens": ["Returns", "the", "int", "encoding", "of", "the", "given", "type", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Frame.java#L728-L791", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Frame.java", "func_name": "Frame.pop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pops the given number of types from the output frame stack.\n\n@param elements\nthe number of types that must be popped.", "docstring_tokens": ["Pops", "the", "given", "number", "of", "types", "from", "the", "output", "frame", "stack", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Frame.java#L813-L823", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Frame.java", "func_name": "Frame.pop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pops a type from the output frame stack.\n\n@param desc\nthe descriptor of the type to be popped. Can also be a method\ndescriptor (in this case this method pops the types\ncorresponding to the method arguments).", "docstring_tokens": ["Pops", "a", "type", "from", "the", "output", "frame", "stack", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Frame.java#L833-L842", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Frame.java", "func_name": "Frame.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new type to the list of types on which a constructor is invoked in\nthe basic block.\n\n@param var\na type on a which a constructor is invoked.", "docstring_tokens": ["Adds", "a", "new", "type", "to", "the", "list", "of", "types", "on", "which", "a", "constructor", "is", "invoked", "in", "the", "basic", "block", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Frame.java#L851-L864", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Frame.java", "func_name": "Frame.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces the given type with the appropriate type if it is one of the\ntypes on which a constructor is invoked in the basic block.\n\n@param cw\nthe ClassWriter to which this label belongs.\n@param t\na type\n@return t or, if t is one of the types on which a constructor is invoked\nin the basic block, the type corresponding to this constructor.", "docstring_tokens": ["Replaces", "the", "given", "type", "with", "the", "appropriate", "type", "if", "it", "is", "one", "of", "the", "types", "on", "which", "a", "constructor", "is", "invoked", "in", "the", "basic", "block", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Frame.java#L877-L901", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ClassVisitor.java", "func_name": "ClassVisitor.visitSource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits the source of the class.\n\n@param source\nthe name of the source file from which the class was compiled.\nMay be null.\n@param debug\nadditional debug information to compute the correspondance\nbetween source and compiled elements of the class. May be\nnull.", "docstring_tokens": ["Visits", "the", "source", "of", "the", "class", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ClassVisitor.java#L128-L132", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ClassVisitor.java", "func_name": "ClassVisitor.visitOuterClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits the enclosing class of the class. This method must be called only\nif the class has an enclosing class.\n\n@param owner\ninternal name of the enclosing class of the class.\n@param name\nthe name of the method that contains the class, or\nnull if the class is not enclosed in a method of its\nenclosing class.\n@param desc\nthe descriptor of the method that contains the class, or\nnull if the class is not enclosed in a method of its\nenclosing class.", "docstring_tokens": ["Visits", "the", "enclosing", "class", "of", "the", "class", ".", "This", "method", "must", "be", "called", "only", "if", "the", "class", "has", "an", "enclosing", "class", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ClassVisitor.java#L149-L153", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ClassVisitor.java", "func_name": "ClassVisitor.visitAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits an annotation of the class.\n\n@param desc\nthe class descriptor of the annotation class.\n@param visible\ntrue if the annotation is visible at runtime.\n@return a visitor to visit the annotation values, or null if\nthis visitor is not interested in visiting this annotation.", "docstring_tokens": ["Visits", "an", "annotation", "of", "the", "class", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ClassVisitor.java#L165-L170", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ClassVisitor.java", "func_name": "ClassVisitor.visitTypeAnnotation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits an annotation on a type in the class signature.\n\n@param typeRef\na reference to the annotated type. The sort of this type\nreference must be {@link TypeReference#CLASS_TYPE_PARAMETER\nCLASS_TYPE_PARAMETER},\n{@link TypeReference#CLASS_TYPE_PARAMETER_BOUND\nCLASS_TYPE_PARAMETER_BOUND} or\n{@link TypeReference#CLASS_EXTENDS CLASS_EXTENDS}. See\n{@link TypeReference}.\n@param typePath\nthe path to the annotated type argument, wildcard bound, array\nelement type, or static inner type within 'typeRef'. May be\nnull if the annotation targets 'typeRef' as a whole.\n@param desc\nthe class descriptor of the annotation class.\n@param visible\ntrue if the annotation is visible at runtime.\n@return a visitor to visit the annotation values, or null if\nthis visitor is not interested in visiting this annotation.", "docstring_tokens": ["Visits", "an", "annotation", "on", "a", "type", "in", "the", "class", "signature", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ClassVisitor.java#L194-L203", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/lang/Maths.java", "func_name": "Maths.extract", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get part of one integer as a new integer\n\n@param bs\noriginal integer\n@param low\nthe low bit position (inclusive), 0 base\n@param high\nthe high bit position (exclusive), 0 base\n@return new integer", "docstring_tokens": ["Get", "part", "of", "one", "integer", "as", "a", "new", "integer"], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/lang/Maths.java#L115-L122", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Type.java", "func_name": "Type.getObjectType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the Java type corresponding to the given internal name.\n\n@param internalName\nan internal name.\n@return the Java type corresponding to the given internal name.", "docstring_tokens": ["Returns", "the", "Java", "type", "corresponding", "to", "the", "given", "internal", "name", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Type.java#L227-L230", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Type.java", "func_name": "Type.getArgumentTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the Java types corresponding to the argument types of the given\nmethod descriptor.\n\n@param methodDescriptor\na method descriptor.\n@return the Java types corresponding to the argument types of the given\nmethod descriptor.", "docstring_tokens": ["Returns", "the", "Java", "types", "corresponding", "to", "the", "argument", "types", "of", "the", "given", "method", "descriptor", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Type.java#L324-L349", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Type.java", "func_name": "Type.getReturnType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the Java type corresponding to the return type of the given\nmethod descriptor.\n\n@param methodDescriptor\na method descriptor.\n@return the Java type corresponding to the return type of the given\nmethod descriptor.", "docstring_tokens": ["Returns", "the", "Java", "type", "corresponding", "to", "the", "return", "type", "of", "the", "given", "method", "descriptor", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Type.java#L378-L390", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Type.java", "func_name": "Type.getArgumentsAndReturnSizes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes the size of the arguments and of the return value of a method.\n\n@param desc\nthe descriptor of a method.\n@return the size of the arguments of the method (plus one for the\nimplicit this argument), argSize, and the size of its return\nvalue, retSize, packed into a single int i =\n(argSize << 2) | retSize (argSize is therefore equal to\ni >> 2, and retSize to i & 0x03).", "docstring_tokens": ["Computes", "the", "size", "of", "the", "arguments", "and", "of", "the", "return", "value", "of", "a", "method", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Type.java#L416-L442", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Type.java", "func_name": "Type.getType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the Java type corresponding to the given type descriptor. For\nmethod descriptors, buf is supposed to contain nothing more than the\ndescriptor itself.\n\n@param buf\na buffer containing a type descriptor.\n@param off\nthe offset of this descriptor in the previous buffer.\n@return the Java type corresponding to the given type descriptor.", "docstring_tokens": ["Returns", "the", "Java", "type", "corresponding", "to", "the", "given", "type", "descriptor", ".", "For", "method", "descriptors", "buf", "is", "supposed", "to", "contain", "nothing", "more", "than", "the", "descriptor", "itself", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Type.java#L455-L498", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Type.java", "func_name": "Type.getDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends the descriptor corresponding to this Java type to the given\nstring buffer.\n\n@param buf\nthe string buffer to which the descriptor must be appended.", "docstring_tokens": ["Appends", "the", "descriptor", "corresponding", "to", "this", "Java", "type", "to", "the", "given", "string", "buffer", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Type.java#L672-L684", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Type.java", "func_name": "Type.getDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the descriptor corresponding to the given Java type.\n\n@param c\nan object class, a primitive class or an array class.\n@return the descriptor corresponding to the given class.", "docstring_tokens": ["Returns", "the", "descriptor", "corresponding", "to", "the", "given", "Java", "type", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Type.java#L711-L715", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/Type.java", "func_name": "Type.getOpcode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a JVM instruction opcode adapted to this Java type. This method\nmust not be used for method types.\n\n@param opcode\na JVM instruction opcode. This opcode must be one of ILOAD,\nISTORE, IALOAD, IASTORE, IADD, ISUB, IMUL, IDIV, IREM, INEG,\nISHL, ISHR, IUSHR, IAND, IOR, IXOR and IRETURN.\n@return an opcode that is similar to the given opcode, but adapted to\nthis Java type. For example, if this type is float and\nopcode is IRETURN, this method returns FRETURN.", "docstring_tokens": ["Returns", "a", "JVM", "instruction", "opcode", "adapted", "to", "this", "Java", "type", ".", "This", "method", "must", "not", "be", "used", "for", "method", "types", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/Type.java#L832-L842", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ByteVector.java", "func_name": "ByteVector.putByte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts a byte into this byte vector. The byte vector is automatically\nenlarged if necessary.\n\n@param b\na byte.\n@return this byte vector.", "docstring_tokens": ["Puts", "a", "byte", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ByteVector.java#L77-L85", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ByteVector.java", "func_name": "ByteVector.put11", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts two bytes into this byte vector. The byte vector is automatically\nenlarged if necessary.\n\n@param b1\na byte.\n@param b2\nanother byte.\n@return this byte vector.", "docstring_tokens": ["Puts", "two", "bytes", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ByteVector.java#L97-L107", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ByteVector.java", "func_name": "ByteVector.putShort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts a short into this byte vector. The byte vector is automatically\nenlarged if necessary.\n\n@param s\na short.\n@return this byte vector.", "docstring_tokens": ["Puts", "a", "short", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ByteVector.java#L117-L127", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ByteVector.java", "func_name": "ByteVector.put12", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts a byte and a short into this byte vector. The byte vector is\nautomatically enlarged if necessary.\n\n@param b\na byte.\n@param s\na short.\n@return this byte vector.", "docstring_tokens": ["Puts", "a", "byte", "and", "a", "short", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ByteVector.java#L139-L150", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ByteVector.java", "func_name": "ByteVector.putInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts an int into this byte vector. The byte vector is automatically\nenlarged if necessary.\n\n@param i\nan int.\n@return this byte vector.", "docstring_tokens": ["Puts", "an", "int", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ByteVector.java#L160-L172", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ByteVector.java", "func_name": "ByteVector.putLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts a long into this byte vector. The byte vector is automatically\nenlarged if necessary.\n\n@param l\na long.\n@return this byte vector.", "docstring_tokens": ["Puts", "a", "long", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ByteVector.java#L182-L200", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ByteVector.java", "func_name": "ByteVector.putUTF8", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts an UTF8 string into this byte vector. The byte vector is\nautomatically enlarged if necessary.\n\n@param s\na String whose UTF8 encoded length must be less than 65536.\n@return this byte vector.", "docstring_tokens": ["Puts", "an", "UTF8", "string", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ByteVector.java#L210-L239", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ByteVector.java", "func_name": "ByteVector.putByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts an array of bytes into this byte vector. The byte vector is\nautomatically enlarged if necessary.\n\n@param b\nan array of bytes. May be null to put len\nnull bytes into this byte vector.\n@param off\nindex of the fist byte of b that must be copied.\n@param len\nnumber of bytes of b that must be copied.\n@return this byte vector.", "docstring_tokens": ["Puts", "an", "array", "of", "bytes", "into", "this", "byte", "vector", ".", "The", "byte", "vector", "is", "automatically", "enlarged", "if", "necessary", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ByteVector.java#L314-L323", "partition": "valid"}
+{"repo": "nutzam/nutz", "path": "src/org/nutz/repo/org/objectweb/asm/ByteVector.java", "func_name": "ByteVector.enlarge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enlarge this byte vector so that it can receive n more bytes.\n\n@param size\nnumber of additional bytes that this byte vector should be\nable to receive.", "docstring_tokens": ["Enlarge", "this", "byte", "vector", "so", "that", "it", "can", "receive", "n", "more", "bytes", "."], "sha": "a38694d5cbda2692e7931ab093c168487a6a4bfe", "url": "https://github.com/nutzam/nutz/blob/a38694d5cbda2692e7931ab093c168487a6a4bfe/src/org/nutz/repo/org/objectweb/asm/ByteVector.java#L332-L338", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameTranslateMappingStrategy.java", "func_name": "HeaderColumnNameTranslateMappingStrategy.getColumnName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves the column name for a given column position\n\n@param col - column position.\n@return - The column name.", "docstring_tokens": ["Retrieves", "the", "column", "name", "for", "a", "given", "column", "position"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameTranslateMappingStrategy.java#L43-L46", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameTranslateMappingStrategy.java", "func_name": "HeaderColumnNameTranslateMappingStrategy.setColumnMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the column mapping to those passed in.\n@param columnMapping - source column mapping.", "docstring_tokens": ["Sets", "the", "column", "mapping", "to", "those", "passed", "in", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameTranslateMappingStrategy.java#L60-L65", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/configuration/AbstractConfigurationContainer.java", "func_name": "AbstractConfigurationContainer.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value for the given property cast to the passed returnType.\nIf the type of the property and the given return type are not compatible an exception will be thrown.\nIf the passed propertyName is not a defined property, an exception is thrown.", "docstring_tokens": ["Returns", "the", "value", "for", "the", "given", "property", "cast", "to", "the", "passed", "returnType", ".", "If", "the", "type", "of", "the", "property", "and", "the", "given", "return", "type", "are", "not", "compatible", "an", "exception", "will", "be", "thrown", ".", "If", "the", "passed", "propertyName", "is", "not", "a", "defined", "property", "an", "exception", "is", "thrown", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/configuration/AbstractConfigurationContainer.java#L55-L58", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/configuration/AbstractConfigurationContainer.java", "func_name": "AbstractConfigurationContainer.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Override default values for properties with the given ConfigurationProviders.", "docstring_tokens": ["Override", "default", "values", "for", "properties", "with", "the", "given", "ConfigurationProviders", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/configuration/AbstractConfigurationContainer.java#L64-L71", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/file/IOCase.java", "func_name": "IOCase.forName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method to create an IOCase from a name.\n\n@param name the name to find\n@return the IOCase object\n@throws IllegalArgumentException if the name is invalid", "docstring_tokens": ["Factory", "method", "to", "create", "an", "IOCase", "from", "a", "name", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/file/IOCase.java#L76-L87", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/file/IOCase.java", "func_name": "IOCase.convertCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the case of the input String to a standard format.\nSubsequent operations can then use standard String methods.\n\n@param str the string to convert, null returns null\n@return the lower-case version if case-insensitive", "docstring_tokens": ["Converts", "the", "case", "of", "the", "input", "String", "to", "a", "standard", "format", ".", "Subsequent", "operations", "can", "then", "use", "standard", "String", "methods", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/file/IOCase.java#L221-L226", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/ChangeParameterMetaData.java", "func_name": "ChangeParameterMetaData.getCurrentValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the current value of this parameter for the given Change.", "docstring_tokens": ["Returns", "the", "current", "value", "of", "this", "parameter", "for", "the", "given", "Change", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/ChangeParameterMetaData.java#L261-L278", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/ChangeParameterMetaData.java", "func_name": "ChangeParameterMetaData.setValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the value of this parameter on the given change.", "docstring_tokens": ["Sets", "the", "value", "of", "this", "parameter", "on", "the", "given", "change", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/ChangeParameterMetaData.java#L283-L327", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/CollectionUtil.java", "func_name": "CollectionUtil.createIfNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new empty array if the passed array is null.", "docstring_tokens": ["Returns", "a", "new", "empty", "array", "if", "the", "passed", "array", "is", "null", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/CollectionUtil.java#L72-L78", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/CollectionUtil.java", "func_name": "CollectionUtil.createIfNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new empty set if the passed array is null.", "docstring_tokens": ["Returns", "a", "new", "empty", "set", "if", "the", "passed", "array", "is", "null", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/CollectionUtil.java#L83-L89", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/parser/core/yaml/YamlChangeLogParser.java", "func_name": "YamlChangeLogParser.getGlobalParam", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract the global parameter from the properties.\n\n@param property the map of props\n@return the global param", "docstring_tokens": ["Extract", "the", "global", "parameter", "from", "the", "properties", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/parser/core/yaml/YamlChangeLogParser.java#L121-L131", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/statement/ExecutablePreparedStatementBase.java", "func_name": "ExecutablePreparedStatementBase.attachParams", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the list of bind variables for the execution of a DML statement\n@param cols a list of columns with their designated values\n@param stmt the PreparedStatement to which the values are to be attached\n@throws SQLException if JDBC objects to a setting (non-existent bind number, wrong column type etc.)\n@throws DatabaseException if an I/O error occurs during the read of LOB values", "docstring_tokens": ["Sets", "the", "list", "of", "bind", "variables", "for", "the", "execution", "of", "a", "DML", "statement"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/statement/ExecutablePreparedStatementBase.java#L105-L113", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/statement/ExecutablePreparedStatementBase.java", "func_name": "ExecutablePreparedStatementBase.getAbsolutePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets absolute and normalized path for path.\nIf path is relative, absolute path is calculated relative to change log file.\n\n@param path Absolute or relative path.\n@return Absolute and normalized path.", "docstring_tokens": ["Gets", "absolute", "and", "normalized", "path", "for", "path", ".", "If", "path", "is", "relative", "absolute", "path", "is", "calculated", "relative", "to", "change", "log", "file", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/statement/ExecutablePreparedStatementBase.java#L331-L339", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/CheckSum.java", "func_name": "CheckSum.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the given storedCheckSum string value and return a new CheckSum object.", "docstring_tokens": ["Parse", "the", "given", "storedCheckSum", "string", "value", "and", "return", "a", "new", "CheckSum", "object", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/CheckSum.java#L44-L58", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/CheckSum.java", "func_name": "CheckSum.compute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute a storedCheckSum of the given string.", "docstring_tokens": ["Compute", "a", "storedCheckSum", "of", "the", "given", "string", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/CheckSum.java#L70-L78", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java", "func_name": "AbstractLiquibaseMojo.getClassLoaderIncludingProjectClasspath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an isolated classloader.\n\n@return ClassLoader\n@noinspection unchecked", "docstring_tokens": ["Returns", "an", "isolated", "classloader", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java#L446-L458", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java", "func_name": "AbstractLiquibaseMojo.printSettings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints the settings that have been set of defaulted for the plugin. These will only\nbe shown in verbose mode.\n\n@param indent The indent string to use when printing the settings.", "docstring_tokens": ["Prints", "the", "settings", "that", "have", "been", "set", "of", "defaulted", "for", "the", "plugin", ".", "These", "will", "only", "be", "shown", "in", "verbose", "mode", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java#L491-L504", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java", "func_name": "AbstractLiquibaseMojo.parsePropertiesFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a properties file and sets the associated fields in the plugin.\n\n@param propertiesInputStream The input stream which is the Liquibase properties that\nneeds to be parsed.\n@throws org.apache.maven.plugin.MojoExecutionException If there is a problem parsing\nthe file.", "docstring_tokens": ["Parses", "a", "properties", "file", "and", "sets", "the", "associated", "fields", "in", "the", "plugin", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java#L526-L558", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java", "func_name": "AbstractLiquibaseMojo.isCurrentFieldValueSpecified", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method will check to see if the user has specified a value different to that of\nthe default value. This is not an ideal solution, but should cover most situations in\nthe use of the plugin.\n\n@param f The Field to check if a user has specified a value for.\n@return true if the user has specified a value.", "docstring_tokens": ["This", "method", "will", "check", "to", "see", "if", "the", "user", "has", "specified", "a", "value", "different", "to", "that", "of", "the", "default", "value", ".", "This", "is", "not", "an", "ideal", "solution", "but", "should", "cover", "most", "situations", "in", "the", "use", "of", "the", "plugin", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/AbstractLiquibaseMojo.java#L568-L582", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVWriter.java", "func_name": "CSVWriter.writeNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the next line to the file.\n\n@param nextLine a string array with each comma-separated element as a separate\nentry.\n@param applyQuotesToAll true if all values are to be quoted. false applies quotes only\nto values which contain the separator, escape, quote or new line characters.", "docstring_tokens": ["Writes", "the", "next", "line", "to", "the", "file", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVWriter.java#L179-L217", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVWriter.java", "func_name": "CSVWriter.stringContainsSpecialCharacters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "checks to see if the line contains special characters.\n@param line - element of data to check for special characters.\n@return true if the line contains the quote, escape, separator, newline or return.", "docstring_tokens": ["checks", "to", "see", "if", "the", "line", "contains", "special", "characters", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVWriter.java#L234-L237", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVWriter.java", "func_name": "CSVWriter.processLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Processes all the characters in a line.\n@param nextElement - element to process.\n@return a StringBuilder with the elements data.", "docstring_tokens": ["Processes", "all", "the", "characters", "in", "a", "line", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVWriter.java#L244-L252", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVWriter.java", "func_name": "CSVWriter.processCharacter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends the character to the StringBuilder adding the escape character if needed.\n@param sb - StringBuffer holding the processed character.\n@param nextChar - character to process", "docstring_tokens": ["Appends", "the", "character", "to", "the", "StringBuilder", "adding", "the", "escape", "character", "if", "needed", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVWriter.java#L259-L265", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/servlet/LiquibaseServletListener.java", "func_name": "LiquibaseServletListener.executeUpdate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes the Liquibase update.", "docstring_tokens": ["Executes", "the", "Liquibase", "update", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/servlet/LiquibaseServletListener.java#L199-L251", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/configuration/ConfigurationProperty.java", "func_name": "ConfigurationProperty.valueOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts an object of a different type to the type used by this property. If types are not convertible, an exception is thrown.", "docstring_tokens": ["Converts", "an", "object", "of", "a", "different", "type", "to", "the", "type", "used", "by", "this", "property", ".", "If", "types", "are", "not", "convertible", "an", "exception", "is", "thrown", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/configuration/ConfigurationProperty.java#L87-L109", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/configuration/ConfigurationProperty.java", "func_name": "ConfigurationProperty.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value currently stored in this property cast to the given type.", "docstring_tokens": ["Returns", "the", "value", "currently", "stored", "in", "this", "property", "cast", "to", "the", "given", "type", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/configuration/ConfigurationProperty.java#L121-L127", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/configuration/ConfigurationProperty.java", "func_name": "ConfigurationProperty.setValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Overwrites the value currently stored in this property. It he passed type is not compatible with the defined type, an exception is thrown.", "docstring_tokens": ["Overwrites", "the", "value", "currently", "stored", "in", "this", "property", ".", "It", "he", "passed", "type", "is", "not", "compatible", "with", "the", "defined", "type", "an", "exception", "is", "thrown", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/configuration/ConfigurationProperty.java#L132-L139", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/configuration/ConfigurationProperty.java", "func_name": "ConfigurationProperty.addAlias", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an alias for this property. An alias is an alternate to the \"name\" field that can be used by the ConfigurationProvers to look up starting values.", "docstring_tokens": ["Adds", "an", "alias", "for", "this", "property", ".", "An", "alias", "is", "an", "alternate", "to", "the", "name", "field", "that", "can", "be", "used", "by", "the", "ConfigurationProvers", "to", "look", "up", "starting", "values", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/configuration/ConfigurationProperty.java#L144-L150", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/configuration/ConfigurationProperty.java", "func_name": "ConfigurationProperty.setDefaultValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the default value to use if no ConfigurationProviders override it. Throws an exception if the given object is not compatible with the defined type.", "docstring_tokens": ["Sets", "the", "default", "value", "to", "use", "if", "no", "ConfigurationProviders", "override", "it", ".", "Throws", "an", "exception", "if", "the", "given", "object", "is", "not", "compatible", "with", "the", "defined", "type", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/configuration/ConfigurationProperty.java#L174-L185", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/sqlgenerator/core/CreateIndexGeneratorFirebird.java", "func_name": "CreateIndexGeneratorFirebird.generateSql", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate a CREATE INDEX SQL statement for Firebird databases.\n@param statement A CreateIndexStatement with the desired properties of the SQL to be generated\n@param database A database object (must be of FirebirdDatabase type, or we will error out)\n@param sqlGeneratorChain The other generators in the current chain (ignored by this implementation)\n@return An array with one entry containing the generated CREATE INDEX statement for Firebird.", "docstring_tokens": ["Generate", "a", "CREATE", "INDEX", "SQL", "statement", "for", "Firebird", "databases", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/sqlgenerator/core/CreateIndexGeneratorFirebird.java#L101-L157", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/sqlgenerator/core/CreateIndexGeneratorFirebird.java", "func_name": "CreateIndexGeneratorFirebird.applyIsComputedExpressionHeuristic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "An imperfect heuristic to determine if an expression is more likely a column name or a computed expression.\n@return true if it is more likely an expression, false if it is more likely a column name (identifier).", "docstring_tokens": ["An", "imperfect", "heuristic", "to", "determine", "if", "an", "expression", "is", "more", "likely", "a", "column", "name", "or", "a", "computed", "expression", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/sqlgenerator/core/CreateIndexGeneratorFirebird.java#L243-L265", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/Liquibase.java", "func_name": "Liquibase.tag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "'Tags' the database for future rollback", "docstring_tokens": ["Tags", "the", "database", "for", "future", "rollback"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/Liquibase.java#L1161-L1178", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/Liquibase.java", "func_name": "Liquibase.listLocks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Display change log lock information.", "docstring_tokens": ["Display", "change", "log", "lock", "information", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/Liquibase.java#L1240-L1244", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/Liquibase.java", "func_name": "Liquibase.getChangeSetStatuses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the ChangeSetStatuses of all changesets in the change log file and history in the order they\nwould be ran.", "docstring_tokens": ["Returns", "the", "ChangeSetStatuses", "of", "all", "changesets", "in", "the", "change", "log", "file", "and", "history", "in", "the", "order", "they", "would", "be", "ran", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/Liquibase.java#L1313-L1331", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/Liquibase.java", "func_name": "Liquibase.clearCheckSums", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets checksums to null so they will be repopulated next run", "docstring_tokens": ["Sets", "checksums", "to", "null", "so", "they", "will", "be", "repopulated", "next", "run"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/Liquibase.java#L1440-L1464", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/CsvToBean.java", "func_name": "CsvToBean.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "parse the values from a csvReader constructed from the passed in Reader.\n@param mapper - mapping strategy for the bean.\n@param reader - Reader used to construct a CSVReader\n@return List of Objects.", "docstring_tokens": ["parse", "the", "values", "from", "a", "csvReader", "constructed", "from", "the", "passed", "in", "Reader", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/CsvToBean.java#L50-L52", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/CsvToBean.java", "func_name": "CsvToBean.processLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a single object from a line from the csv file.\n@param mapper - MappingStrategy\n@param line - array of Strings from the csv file.\n@return - object containing the values.\n@throws ReflectiveOperationException - thrown on error accessing bean.\n@throws IntrospectionException - thrown on error getting the PropertyDescriptor.", "docstring_tokens": ["Creates", "a", "single", "object", "from", "a", "line", "from", "the", "csv", "file", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/CsvToBean.java#L119-L129", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/CsvToBean.java", "func_name": "CsvToBean.getPropertyEditor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempt to find custom property editor on descriptor first, else try the propery editor manager.\n\n@param desc - PropertyDescriptor.\n@return - the PropertyEditor for the given PropertyDescriptor.\n@throws ReflectiveOperationException - thrown when getting the PropertyEditor for the class.", "docstring_tokens": ["Attempt", "to", "find", "custom", "property", "editor", "on", "descriptor", "first", "else", "try", "the", "propery", "editor", "manager", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/CsvToBean.java#L177-L183", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/servicelocator/DefaultPackageScanClassResolver.java", "func_name": "DefaultPackageScanClassResolver.loadImplementationsInJar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds matching classes within a jar files that contains a folder\nstructure matching the package structure. If the File is not a JarFile or\ndoes not exist a warning will be logged, but no error will be raised.\n\nAny nested JAR files found inside this JAR will be assumed to also be\non the classpath and will be recursively examined for classes in `parentPackage`.\n@param parentPackage the parent package under which classes must be in order to\nbe considered\n@param parentFileStream the inputstream of the jar file to be examined for classes\n@param loader a classloader which can load classes contained within the JAR file\n@param parentFileName a unique name for the parentFileStream, to be used for caching.\nThis is the URL of the parentFileStream, if it comes from a URL,\nor a composite ID if we are currently examining a nested JAR.", "docstring_tokens": ["Finds", "matching", "classes", "within", "a", "jar", "files", "that", "contains", "a", "folder", "structure", "matching", "the", "package", "structure", ".", "If", "the", "File", "is", "not", "a", "JarFile", "or", "does", "not", "exist", "a", "warning", "will", "be", "logged", "but", "no", "error", "will", "be", "raised", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/servicelocator/DefaultPackageScanClassResolver.java#L415-L484", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/servicelocator/DefaultPackageScanClassResolver.java", "func_name": "DefaultPackageScanClassResolver.addIfMatching", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the class designated by the fully qualified class name provided to\nthe set of resolved classes if and only if it is approved by the Test\nsupplied.\n\n@param test the test used to determine if the class matches\n@param fqn the fully qualified name of a class", "docstring_tokens": ["Add", "the", "class", "designated", "by", "the", "fully", "qualified", "class", "name", "provided", "to", "the", "set", "of", "resolved", "classes", "if", "and", "only", "if", "it", "is", "approved", "by", "the", "Test", "supplied", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/servicelocator/DefaultPackageScanClassResolver.java#L494-L528", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/ObjectUtil.java", "func_name": "ObjectUtil.getPropertyType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tried to determine the appropriate reader method for a given propertyName of a given object and, if found,\nreturns the class of its return type.\n@param object the object to examine\n@param propertyName the property name whose reading method should be searched\n@return the class name of the return type if the reading method is found, null if it is not found.", "docstring_tokens": ["Tried", "to", "determine", "the", "appropriate", "reader", "method", "for", "a", "given", "propertyName", "of", "a", "given", "object", "and", "if", "found", "returns", "the", "class", "of", "its", "return", "type", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/ObjectUtil.java#L58-L64", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/ObjectUtil.java", "func_name": "ObjectUtil.hasProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Examines the given object's class and returns true if reader and writer methods both exist for the\ngiven property name.\n@param object the object for which the class should be examined\n@param propertyName the property name to search\n@return true if both reader and writer methods exist", "docstring_tokens": ["Examines", "the", "given", "object", "s", "class", "and", "returns", "true", "if", "reader", "and", "writer", "methods", "both", "exist", "for", "the", "given", "property", "name", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/ObjectUtil.java#L73-L75", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/ObjectUtil.java", "func_name": "ObjectUtil.setProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to guess the \"real\" data type of propertyValue by the given propertyName, then sets the\nselected property of the given object to that value.\n@param object the object whose property should be set\n@param propertyName name of the property to set\n@param propertyValue new value of the property, as String", "docstring_tokens": ["Tries", "to", "guess", "the", "real", "data", "type", "of", "propertyValue", "by", "the", "given", "propertyName", "then", "sets", "the", "selected", "property", "of", "the", "given", "object", "to", "that", "value", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/ObjectUtil.java#L106-L144", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/ObjectUtil.java", "func_name": "ObjectUtil.getReadMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to find the Java method to read a given propertyName for the given object.\n@param object the object whose class will be examined\n@param propertyName the property name for which the read method should be searched\n@return the {@link Method} if found, null in all other cases.", "docstring_tokens": ["Tries", "to", "find", "the", "Java", "method", "to", "read", "a", "given", "propertyName", "for", "the", "given", "object", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/ObjectUtil.java#L187-L202", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/ObjectUtil.java", "func_name": "ObjectUtil.getWriteMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to find the Java method to write a new value for a given propertyName to the given object.\n@param object the object whose class will be examined\n@param propertyName the property name for which the write method is to be searched\n@return the {@link Method} if found, null in all other cases.", "docstring_tokens": ["Tries", "to", "find", "the", "Java", "method", "to", "write", "a", "new", "value", "for", "a", "given", "propertyName", "to", "the", "given", "object", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/ObjectUtil.java#L210-L221", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/ObjectUtil.java", "func_name": "ObjectUtil.getMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines the class of a given object and returns an array of that class's methods. The information might come\nfrom a cache.\n@param object the object to examine\n@return a list of methods belonging to the class of the object", "docstring_tokens": ["Determines", "the", "class", "of", "a", "given", "object", "and", "returns", "an", "array", "of", "that", "class", "s", "methods", ".", "The", "information", "might", "come", "from", "a", "cache", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/ObjectUtil.java#L229-L237", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/diff/ObjectDifferences.java", "func_name": "ObjectDifferences.undoCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sometimes an attribute in one object is a single-entity collection and on the other it is just the object.\nCheck the passed potentialCollection and if it is a single-entry collection of the same type as the otherObject, return just the collection element.\nOtherwise, return the original collection.", "docstring_tokens": ["Sometimes", "an", "attribute", "in", "one", "object", "is", "a", "single", "-", "entity", "collection", "and", "on", "the", "other", "it", "is", "just", "the", "object", ".", "Check", "the", "passed", "potentialCollection", "and", "if", "it", "is", "a", "single", "-", "entry", "collection", "of", "the", "same", "type", "as", "the", "otherObject", "return", "just", "the", "collection", "element", ".", "Otherwise", "return", "the", "original", "collection", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/diff/ObjectDifferences.java#L84-L93", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/structure/core/Table.java", "func_name": "Table.getOutgoingForeignKeys", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the list of all outgoing FOREIGN KEYS from this table", "docstring_tokens": ["Returns", "the", "list", "of", "all", "outgoing", "FOREIGN", "KEYS", "from", "this", "table"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/structure/core/Table.java#L35-L38", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-cdi/src/main/java/liquibase/integration/cdi/SchemesCDIConfigBuilder.java", "func_name": "SchemesCDIConfigBuilder.createCDILiquibaseConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "API method.", "docstring_tokens": ["API", "method", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-cdi/src/main/java/liquibase/integration/cdi/SchemesCDIConfigBuilder.java#L65-L86", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-cdi/src/main/java/liquibase/integration/cdi/SchemesCDIConfigBuilder.java", "func_name": "SchemesCDIConfigBuilder.fileLocked", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Synchronization among multiple JVM's.", "docstring_tokens": ["Synchronization", "among", "multiple", "JVM", "s", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-cdi/src/main/java/liquibase/integration/cdi/SchemesCDIConfigBuilder.java#L175-L211", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/SpringBootFatJar.java", "func_name": "SpringBootFatJar.getSimplePathForResources", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method used to simplify an entryName\n\nEx: with path jar:/some/jar.jar!/BOOT-INF/classes!/db/changelog and entryName /BOOT-INF/classes/db/changelog\nThe simple entry name for Spring is db/changelog\n(/BOOT-INF/classes/ is not needed and break the liquibase alphabetical sort order)\n\n@param entryName the entryName to simplify\n@param path file path\n@return the simple path", "docstring_tokens": ["Method", "used", "to", "simplify", "an", "entryName"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/SpringBootFatJar.java#L29-L39", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/changelog/ChangeSetStatus.java", "func_name": "ChangeSetStatus.isFilteredBy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience method to check wither a given ChangeSetFilter type is a reason for running the change set or not.", "docstring_tokens": ["Convenience", "method", "to", "check", "wither", "a", "given", "ChangeSetFilter", "type", "is", "a", "reason", "for", "running", "the", "change", "set", "or", "not", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/changelog/ChangeSetStatus.java#L93-L108", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/JdbcUtils.java", "func_name": "JdbcUtils.getValueForColumn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether a result set has a column matching the specified column name.\nThe column name is first changed to match the database format.\nE.g. an unquoted columnName in h2 will be converted to uppercase so the column name that is\nbeing checked for is really the uppercase version of the column name,\n\n@param rs result set to check\n@param columnNameToCheck column name to check\n@return The value if found, null if not found", "docstring_tokens": ["Checks", "whether", "a", "result", "set", "has", "a", "column", "matching", "the", "specified", "column", "name", ".", "The", "column", "name", "is", "first", "changed", "to", "match", "the", "database", "format", ".", "E", ".", "g", ".", "an", "unquoted", "columnName", "in", "h2", "will", "be", "converted", "to", "uppercase", "so", "the", "column", "name", "that", "is", "being", "checked", "for", "is", "really", "the", "uppercase", "version", "of", "the", "column", "name"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/JdbcUtils.java#L150-L163", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/configuration/LiquibaseConfiguration.java", "func_name": "LiquibaseConfiguration.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Re-initialize the configuration with the given ConfigurationProviders. Any existing\nAbstractConfigurationContainer instances are reset to defaults.", "docstring_tokens": ["Re", "-", "initialize", "the", "configuration", "with", "the", "given", "ConfigurationProviders", ".", "Any", "existing", "AbstractConfigurationContainer", "instances", "are", "reset", "to", "defaults", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/configuration/LiquibaseConfiguration.java#L65-L72", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/CommandLineUtils.java", "func_name": "CommandLineUtils.initializeDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes RawSqlStatements particular to each database engine to set the default schema for the given Database\n\n@param username The username used for the connection. Used with MSSQL databases\n@param defaultCatalogName Catalog name and schema name are similar concepts.\nUsed if defaultCatalogName is null.\n@param defaultSchemaName Catalog name and schema name are similar concepts.\nCatalog is used with Oracle, DB2 and MySQL, and takes\nprecedence over the schema name.\n@param database Which Database object is affected by the initialization.\n@throws DatabaseException", "docstring_tokens": ["Executes", "RawSqlStatements", "particular", "to", "each", "database", "engine", "to", "set", "the", "default", "schema", "for", "the", "given", "Database"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/CommandLineUtils.java#L147-L177", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/diff/compare/core/DefaultDatabaseObjectComparator.java", "func_name": "DefaultDatabaseObjectComparator.nameMatches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Static so it can be used in other comparators if needed", "docstring_tokens": ["Static", "so", "it", "can", "be", "used", "in", "other", "comparators", "if", "needed"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/diff/compare/core/DefaultDatabaseObjectComparator.java#L112-L127", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/snapshot/jvm/ForeignKeySnapshotGenerator.java", "func_name": "ForeignKeySnapshotGenerator.setValidateOptionIfAvailable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method to map 'validate' option for FK. This thing works only for ORACLE\n\n@param database - DB where FK will be created\n@param foreignKey - FK object to persist validate option\n@param cachedRow - it's a cache-map to get metadata about FK", "docstring_tokens": ["Method", "to", "map", "validate", "option", "for", "FK", ".", "This", "thing", "works", "only", "for", "ORACLE"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/snapshot/jvm/ForeignKeySnapshotGenerator.java#L234-L243", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/snapshot/SnapshotControl.java", "func_name": "SnapshotControl.addType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new DatabaseObject type to the list of object types to be included in snapshots.\n@param type The type to be added\n@param database The database to check for any dependent types that need to be included as well\n@return true if the type was added to the list, false if it was already present.", "docstring_tokens": ["Adds", "a", "new", "DatabaseObject", "type", "to", "the", "list", "of", "object", "types", "to", "be", "included", "in", "snapshots", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/snapshot/SnapshotControl.java#L135-L143", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/spring/SpringLiquibase.java", "func_name": "SpringLiquibase.afterPropertiesSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executed automatically when the bean is initialized.", "docstring_tokens": ["Executed", "automatically", "when", "the", "bean", "is", "initialized", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/spring/SpringLiquibase.java#L293-L328", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/AbstractCSVToBean.java", "func_name": "AbstractCSVToBean.checkForTrim", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the trimmed value of the string only if the property the string is describing should be trimmed\nto be converted to that type.\n\n@param s - String describing the value.\n@param prop - property descriptor of the value.\n@return the string passed in if the property is a string otherwise it will return the string with the\nbeginning and end whitespace removed.", "docstring_tokens": ["Returns", "the", "trimmed", "value", "of", "the", "string", "only", "if", "the", "property", "the", "string", "is", "describing", "should", "be", "trimmed", "to", "be", "converted", "to", "that", "type", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/AbstractCSVToBean.java#L29-L31", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/AbstractCSVToBean.java", "func_name": "AbstractCSVToBean.convertValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a string value to its Object value.\n\n@param value - String value\n@param prop - PropertyDescriptor\n@return The object set to value (i.e. Integer). Will return String if no PropertyEditor is found.\n@throws ReflectiveOperationException - Thrown on error getting the property editor from the property descriptor.", "docstring_tokens": ["Convert", "a", "string", "value", "to", "its", "Object", "value", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/AbstractCSVToBean.java#L45-L53", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Entry point. This is what gets executes when starting this program from the command line. This is actually\na simple wrapper so that an errorlevel of != 0 is guaranteed in case of an uncaught exception.\n\n@param args the command line arguments", "docstring_tokens": ["Entry", "point", ".", "This", "is", "what", "gets", "executes", "when", "starting", "this", "program", "from", "the", "command", "line", ".", "This", "is", "actually", "a", "simple", "wrapper", "so", "that", "an", "errorlevel", "of", "!", "=", "0", "is", "guaranteed", "in", "case", "of", "an", "uncaught", "exception", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L120-L128", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.splitArg", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "What the number 2 stands for is obvious from the context", "docstring_tokens": ["What", "the", "number", "2", "stands", "for", "is", "obvious", "from", "the", "context"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L250-L261", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.isCommand", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the given arg is a valid main command of Liquibase.\n\n@param arg the String to test\n@return true if it is a valid main command, false if not", "docstring_tokens": ["Returns", "true", "if", "the", "given", "arg", "is", "a", "valid", "main", "command", "of", "Liquibase", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L286-L327", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.isNoArgCommand", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the given main command arg needs no special parameters.\n\n@param arg the main command to test\n@return true if arg is a valid main command and needs no special parameters, false in all other cases", "docstring_tokens": ["Returns", "true", "if", "the", "given", "main", "command", "arg", "needs", "no", "special", "parameters", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L335-L352", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.extract", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract a single object from a JAR file into a temporary file.\n\n@param jar the JAR file from which we will extract\n@param entry the object inside the JAR file that to be extracted\n@return a File object with the temporary file containing the extracted object\n@throws IOException if an I/O problem occurs", "docstring_tokens": ["Extract", "a", "single", "object", "from", "a", "JAR", "file", "into", "a", "temporary", "file", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L385-L400", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.parseDefaultPropertyFileFromResource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open a property file that is embedded as a Java resource and parse it.\n\n@param potentialPropertyFile location and file name of the property file\n@throws IOException if the file cannot be opened\n@throws CommandLineParsingException if an error occurs during parsing", "docstring_tokens": ["Open", "a", "property", "file", "that", "is", "embedded", "as", "a", "Java", "resource", "and", "parse", "it", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L437-L445", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.fixupArgs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "On windows machines, it splits args on '=' signs. Put it back like it was.", "docstring_tokens": ["On", "windows", "machines", "it", "splits", "args", "on", "=", "signs", ".", "Put", "it", "back", "like", "it", "was", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L465-L487", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.checkSetup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "After parsing, checks if the given combination of main command and can be executed.\n\n@return an empty List if successful, or a list of error messages", "docstring_tokens": ["After", "parsing", "checks", "if", "the", "given", "combination", "of", "main", "command", "and", "can", "be", "executed", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L494-L516", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.checkForMissingCommandParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks for missing command line parameters and, if any problems are found,\nreturns the list of issues in String form.\n\n@param messages an array of Strings to which messages for issues found will be added", "docstring_tokens": ["Checks", "for", "missing", "command", "line", "parameters", "and", "if", "any", "problems", "are", "found", "returns", "the", "list", "of", "issues", "in", "String", "form", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L599-L604", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.checkForMalformedCommandParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks for incorrectly written command line parameters and, if any problems are found,\nreturns the list of issues in String form.\n\n@param messages an array of Strings to which messages for issues found will be added", "docstring_tokens": ["Checks", "for", "incorrectly", "written", "command", "line", "parameters", "and", "if", "any", "problems", "are", "found", "returns", "the", "list", "of", "issues", "in", "String", "form", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L612-L635", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.parsePropertiesFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads various execution parameters from an InputStream and sets our internal state according to the values\nfound.\n\n@param propertiesInputStream an InputStream from a Java properties file\n@throws IOException if there is a problem reading the InputStream\n@throws CommandLineParsingException if an invalid property is encountered", "docstring_tokens": ["Reads", "various", "execution", "parameters", "from", "an", "InputStream", "and", "sets", "our", "internal", "state", "according", "to", "the", "values", "found", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L645-L690", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.printHelp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If any errors have been found, print the list of errors first, then print the command line help text.\n\n@param errorMessages List of error messages\n@param stream the output stream to write the text to", "docstring_tokens": ["If", "any", "errors", "have", "been", "found", "print", "the", "list", "of", "errors", "first", "then", "print", "the", "command", "line", "help", "text", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L698-L704", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.printHelp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print instructions on how to use this program from the command line.\n\n@param stream the output stream to write the help text to", "docstring_tokens": ["Print", "instructions", "on", "how", "to", "use", "this", "program", "from", "the", "command", "line", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L711-L714", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.parseOptions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the command line options. If an invalid argument is given, a CommandLineParsingException is thrown.\n\n@param paramArgs the arguments to parse\n@throws CommandLineParsingException thrown if an invalid argument is passed", "docstring_tokens": ["Parses", "the", "command", "line", "options", ".", "If", "an", "invalid", "argument", "is", "given", "a", "CommandLineParsingException", "is", "thrown", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L722-L762", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/Main.java", "func_name": "Main.getCommandParam", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value for a command line parameter of the form parameterName=value, or defaultValue if that\nparameter has not been specified by the user.\n\n@param paramName name of the parameter\n@param defaultValue return value if parameter is not given\n@return the user-specified value for paramName, or defaultValue\n@throws CommandLineParsingException if a parameter on the command line is un-parsable", "docstring_tokens": ["Returns", "the", "value", "for", "a", "command", "line", "parameter", "of", "the", "form", "parameterName", "=", "value", "or", "defaultValue", "if", "that", "parameter", "has", "not", "been", "specified", "by", "the", "user", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/Main.java#L1349-L1364", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/NumberUtils.java", "func_name": "NumberUtils.readInteger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience method for converting a string to an Integer object\n@param value string value\n@return Null if the value is null, otherwise the converted integer", "docstring_tokens": ["Convenience", "method", "for", "converting", "a", "string", "to", "an", "Integer", "object"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/NumberUtils.java#L201-L206", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/LabelExpression.java", "func_name": "LabelExpression.matches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the passed runtime labels match this label expression", "docstring_tokens": ["Returns", "true", "if", "the", "passed", "runtime", "labels", "match", "this", "label", "expression"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/LabelExpression.java#L75-L89", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/snapshot/SnapshotGeneratorFactory.java", "func_name": "SnapshotGeneratorFactory.has", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if a specific object is present in a database\n@param example The DatabaseObject to check for existence\n@param database The DBMS in which the object might exist\n@return true if object existence can be confirmed, false otherweise\n@throws DatabaseException If a problem occurs in the DBMS-specific code\n@throws InvalidExampleException If the object cannot be checked properly, e.g. if the object name is ambiguous", "docstring_tokens": ["Checks", "if", "a", "specific", "object", "is", "present", "in", "a", "database"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/snapshot/SnapshotGeneratorFactory.java#L99-L152", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/snapshot/SnapshotGeneratorFactory.java", "func_name": "SnapshotGeneratorFactory.createSnapshot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a database snapshot for a given array of DatabaseObjects\n\n@param examples an array of DatabaseObjects objects\n@param database the database to work on\n@param snapshotControl the options/settings for snapshot generation\n@return a database snapshot that includes all objects matching the specification\n@throws DatabaseException if a problem occurs during snapshotting\n@throws InvalidExampleException if the given catalog/schema combinations are invalid (e.g. duplicates)", "docstring_tokens": ["Creates", "a", "database", "snapshot", "for", "a", "given", "array", "of", "DatabaseObjects"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/snapshot/SnapshotGeneratorFactory.java#L201-L216", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/snapshot/SnapshotGeneratorFactory.java", "func_name": "SnapshotGeneratorFactory.createSnapshot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a DatabaseSnapshot for a single DatabaseObject.\n@param example the object to snapshot\n@param database the database to work on\n@param the type of the object (must extend DatabaseObject)\n@return the snapshot of the desired object\n@throws DatabaseException if a problem occurs during snapshotting\n@throws InvalidExampleException if the given catalog/schema combinations are invalid (e.g. duplicates)", "docstring_tokens": ["Creates", "a", "DatabaseSnapshot", "for", "a", "single", "DatabaseObject", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/snapshot/SnapshotGeneratorFactory.java#L227-L229", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/core/DropAllForeignKeyConstraintsChange.java", "func_name": "DropAllForeignKeyConstraintsChange.generateChildren", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterates through all the FOREIGN KEYs of the target table and outputs a list of DropForeignKeyConstraintChanges\nfor a given database type.\n\n@param database the database type for which subchanges need to be generated\n@return the list of generated DropForeignKeyConstraintChanges", "docstring_tokens": ["Iterates", "through", "all", "the", "FOREIGN", "KEYs", "of", "the", "target", "table", "and", "outputs", "a", "list", "of", "DropForeignKeyConstraintChanges", "for", "a", "given", "database", "type", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/core/DropAllForeignKeyConstraintsChange.java#L80-L132", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/FileUtil.java", "func_name": "FileUtil.cleanDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clean a directory without deleting it.", "docstring_tokens": ["Clean", "a", "directory", "without", "deleting", "it", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/FileUtil.java#L17-L45", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/StringUtil.java", "func_name": "StringUtil.splitSQL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Splits a candidate multi-line SQL statement along ;'s and \"go\"'s.", "docstring_tokens": ["Splits", "a", "candidate", "multi", "-", "line", "SQL", "statement", "along", ";", "s", "and", "go", "s", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/StringUtil.java#L153-L155", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/StringUtil.java", "func_name": "StringUtil.pad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds spaces to the right of the input value until the string has reached the given length. Nothing is done\nif the string already has the given length or if the string is even longer.\n@param value The string to pad (if necessary)\n@param length the desired length\n@return the input string, padded if necessary.", "docstring_tokens": ["Adds", "spaces", "to", "the", "right", "of", "the", "input", "value", "until", "the", "string", "has", "reached", "the", "given", "length", ".", "Nothing", "is", "done", "if", "the", "string", "already", "has", "the", "given", "length", "or", "if", "the", "string", "is", "even", "longer", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/StringUtil.java#L379-L386", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/StringUtil.java", "func_name": "StringUtil.leftPad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds spaces to the left of the input value until the string has reached the given length. Nothing is done\nif the string already has the given length or if the string is even longer.\n@param value The string to pad (if necessary)\n@param length the desired length\n@return the input string, padded if necessary.", "docstring_tokens": ["Adds", "spaces", "to", "the", "left", "of", "the", "input", "value", "until", "the", "string", "has", "reached", "the", "given", "length", ".", "Nothing", "is", "done", "if", "the", "string", "already", "has", "the", "given", "length", "or", "if", "the", "string", "is", "even", "longer", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/StringUtil.java#L395-L402", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/StringUtil.java", "func_name": "StringUtil.randomIdentifer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Produce a random identifer of the given length, consisting only of uppercase letters.\n@param len desired length of the string\n@return an identifier of the desired length", "docstring_tokens": ["Produce", "a", "random", "identifer", "of", "the", "given", "length", "consisting", "only", "of", "uppercase", "letters", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/StringUtil.java#L490-L497", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/StringUtil.java", "func_name": "StringUtil.stripSqlCommentsAndWhitespacesFromTheEnd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Strips the comments and whitespaces from the end of given sql string.\n@param sqlString\n@return", "docstring_tokens": ["Strips", "the", "comments", "and", "whitespaces", "from", "the", "end", "of", "given", "sql", "string", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/StringUtil.java#L670-L698", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/StringUtil.java", "func_name": "StringUtil.concatConsistentCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Concatenates the addition string to the baseString string, adjusting the case of \"addition\" to match the base string.\nIf the string is all caps, append addition in all caps. If all lower case, append in all lower case. If baseString is mixed case, make no changes to addition.", "docstring_tokens": ["Concatenates", "the", "addition", "string", "to", "the", "baseString", "string", "adjusting", "the", "case", "of", "addition", "to", "match", "the", "base", "string", ".", "If", "the", "string", "is", "all", "caps", "append", "addition", "in", "all", "caps", ".", "If", "all", "lower", "case", "append", "in", "all", "lower", "case", ".", "If", "baseString", "is", "mixed", "case", "make", "no", "changes", "to", "addition", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/StringUtil.java#L774-L784", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/snapshot/jvm/JdbcSnapshotGenerator.java", "func_name": "JdbcSnapshotGenerator.getDatabaseCatalogNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fetches an array of Strings with the catalog names in the database.\n@param database The database from which to get the schema names\n@return An array of catalog name Strings (May be an empty array)\n@throws SQLException propagated java.sql.SQLException\n@throws DatabaseException if a different problem occurs during the DBMS-specific code", "docstring_tokens": ["Fetches", "an", "array", "of", "Strings", "with", "the", "catalog", "names", "in", "the", "database", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/snapshot/jvm/JdbcSnapshotGenerator.java#L136-L165", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/StringClauses.java", "func_name": "StringClauses.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new clause at the end of the list with the given key.", "docstring_tokens": ["Adds", "a", "new", "clause", "at", "the", "end", "of", "the", "list", "with", "the", "given", "key", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/StringClauses.java#L79-L90", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/StringClauses.java", "func_name": "StringClauses.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new sub-clause at the end of the list with the given key.", "docstring_tokens": ["Adds", "a", "new", "sub", "-", "clause", "at", "the", "end", "of", "the", "list", "with", "the", "given", "key", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/StringClauses.java#L95-L106", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/StringClauses.java", "func_name": "StringClauses.prepend", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a clause with the given key to the beginning of the list.", "docstring_tokens": ["Adds", "a", "clause", "with", "the", "given", "key", "to", "the", "beginning", "of", "the", "list", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/StringClauses.java#L150-L152", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/StringClauses.java", "func_name": "StringClauses.insertBefore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts a new clause before the given key. Throws IllegalArgumentException if the existingKey does not exist.", "docstring_tokens": ["Inserts", "a", "new", "clause", "before", "the", "given", "key", ".", "Throws", "IllegalArgumentException", "if", "the", "existingKey", "does", "not", "exist", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/StringClauses.java#L285-L287", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/StringClauses.java", "func_name": "StringClauses.insertAfter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts a new clause after the given key. Throws IllegalArgumentException if the existingKey does not exist.", "docstring_tokens": ["Inserts", "a", "new", "clause", "after", "the", "given", "key", ".", "Throws", "IllegalArgumentException", "if", "the", "existingKey", "does", "not", "exist", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/StringClauses.java#L350-L352", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/StringClauses.java", "func_name": "StringClauses.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves the given key. Returns null if not set.\nIf clause at key is a StringClause, return the string version of it.\nWill traverse sub-clauses to find the key.", "docstring_tokens": ["Retrieves", "the", "given", "key", ".", "Returns", "null", "if", "not", "set", ".", "If", "clause", "at", "key", "is", "a", "StringClause", "return", "the", "string", "version", "of", "it", ".", "Will", "traverse", "sub", "-", "clauses", "to", "find", "the", "key", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/StringClauses.java#L405-L412", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/StringClauses.java", "func_name": "StringClauses.getSubclause", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves the given key. Returns null if not set. If clause at key is a String, return a new StringClause version of it. Will traverse sub-clauses to find the key.", "docstring_tokens": ["Retrieves", "the", "given", "key", ".", "Returns", "null", "if", "not", "set", ".", "If", "clause", "at", "key", "is", "a", "String", "return", "a", "new", "StringClause", "version", "of", "it", ".", "Will", "traverse", "sub", "-", "clauses", "to", "find", "the", "key", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/StringClauses.java#L439-L449", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/diff/output/changelog/DiffToChangeLog.java", "func_name": "DiffToChangeLog.print", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints changeLog that would bring the target database to be the same as\nthe reference database", "docstring_tokens": ["Prints", "changeLog", "that", "would", "bring", "the", "target", "database", "to", "be", "the", "same", "as", "the", "reference", "database"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/diff/output/changelog/DiffToChangeLog.java#L144-L151", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/database/DatabaseFactory.java", "func_name": "DatabaseFactory.getImplementedDatabases", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns instances of all implemented database types.", "docstring_tokens": ["Returns", "instances", "of", "all", "implemented", "database", "types", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/database/DatabaseFactory.java#L57-L63", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/database/DatabaseFactory.java", "func_name": "DatabaseFactory.getInternalDatabases", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns instances of all \"internal\" database types.", "docstring_tokens": ["Returns", "instances", "of", "all", "internal", "database", "types", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/database/DatabaseFactory.java#L68-L74", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/datatype/LiquibaseDataType.java", "func_name": "LiquibaseDataType.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates the correct state of this data type against a given database.\n@param database the database to validate against\n@return true if the current settings for this data type can be implemented on the given database, false otherwise", "docstring_tokens": ["Validates", "the", "correct", "state", "of", "this", "data", "type", "against", "a", "given", "database", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/datatype/LiquibaseDataType.java#L127-L139", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/datatype/LiquibaseDataType.java", "func_name": "LiquibaseDataType.toDatabaseDataType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Transforms this data type into the native data type of the target DBMS.\n@param database the {@link Database} for which the native data type is to be constructed\n@return the new, native data type", "docstring_tokens": ["Transforms", "this", "data", "type", "into", "the", "native", "data", "type", "of", "the", "target", "DBMS", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/datatype/LiquibaseDataType.java#L146-L161", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/datatype/LiquibaseDataType.java", "func_name": "LiquibaseDataType.objectToSql", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value object in a format to include in SQL. Quote if necessary.", "docstring_tokens": ["Returns", "the", "value", "object", "in", "a", "format", "to", "include", "in", "SQL", ".", "Quote", "if", "necessary", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/datatype/LiquibaseDataType.java#L166-L175", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/datatype/LiquibaseDataType.java", "func_name": "LiquibaseDataType.isCurrentDateTimeFunction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if the given function name refers to the function that returns the current\ntime and date for a specific DBMS. Also returns true if the name returns the Liquibase wildcard\nCURRENT_DATE_TIME_PLACE_HOLDER, which will later be translated into the appropriate function.\n@param string The database function name to test\n@param database A database object to test against\n@return see above", "docstring_tokens": ["Determines", "if", "the", "given", "function", "name", "refers", "to", "the", "function", "that", "returns", "the", "current", "time", "and", "date", "for", "a", "specific", "DBMS", ".", "Also", "returns", "true", "if", "the", "name", "returns", "the", "Liquibase", "wildcard", "CURRENT_DATE_TIME_PLACE_HOLDER", "which", "will", "later", "be", "translated", "into", "the", "appropriate", "function", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/datatype/LiquibaseDataType.java#L240-L244", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/database/core/DB2Database.java", "func_name": "DB2Database.supportsBooleanDataType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "boolean data type column are allowed for versions >= 11.1.1.1\n@return", "docstring_tokens": ["boolean", "data", "type", "column", "are", "allowed", "for", "versions", ">", "=", "11", ".", "1", ".", "1", ".", "1"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/database/core/DB2Database.java#L30-L46", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/database/core/H2Database.java", "func_name": "H2Database.getConcatSql", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recursive way of building CONCAT instruction\n\n@param values a non null List of String\n@return a String containing the CONCAT instruction with all elements, or only a value if there is only one element in the list", "docstring_tokens": ["Recursive", "way", "of", "building", "CONCAT", "instruction"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/database/core/H2Database.java#L205-L211", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/sqlgenerator/SqlGeneratorFactory.java", "func_name": "SqlGeneratorFactory.generateStatementsVolatile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if the SqlStatement class queries the database in any way to determine Statements to execute.\nIf the statement queries the database, it cannot be used in updateSql type operations", "docstring_tokens": ["Return", "true", "if", "the", "SqlStatement", "class", "queries", "the", "database", "in", "any", "way", "to", "determine", "Statements", "to", "execute", ".", "If", "the", "statement", "queries", "the", "database", "it", "cannot", "be", "used", "in", "updateSql", "type", "operations"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/sqlgenerator/SqlGeneratorFactory.java#L223-L230", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/MavenUtils.java", "func_name": "MavenUtils.addArtifact", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the artifact file into the set of URLs so it can be used in a URLClassLoader.\n@param urls The set to add the artifact file URL to.\n@param artifact The Artifact to resolve the file for.\n@throws MalformedURLException If there is a problem creating the URL for the file.", "docstring_tokens": ["Adds", "the", "artifact", "file", "into", "the", "set", "of", "URLs", "so", "it", "can", "be", "used", "in", "a", "URLClassLoader", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/MavenUtils.java#L95-L117", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/MavenUtils.java", "func_name": "MavenUtils.getDeclaredField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recursively searches for the field specified by the fieldName in the class and all\nthe super classes until it either finds it, or runs out of parents.\n@param clazz The Class to start searching from.\n@param fieldName The name of the field to retrieve.\n@return The {@link Field} identified by the field name.\n@throws NoSuchFieldException If the field was not found in the class or any of its\nsuper classes.", "docstring_tokens": ["Recursively", "searches", "for", "the", "field", "specified", "by", "the", "fieldName", "in", "the", "class", "and", "all", "the", "super", "classes", "until", "it", "either", "finds", "it", "or", "runs", "out", "of", "parents", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-maven-plugin/src/main/java/org/liquibase/maven/plugins/MavenUtils.java#L177-L193", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/commandline/CommandLineResourceAccessor.java", "func_name": "CommandLineResourceAccessor.getAlternatePaths", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return alternate options for the given path that the user maybe meant. Return in order of likelihood.", "docstring_tokens": ["Return", "alternate", "options", "for", "the", "given", "path", "that", "the", "user", "maybe", "meant", ".", "Return", "in", "order", "of", "likelihood", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/commandline/CommandLineResourceAccessor.java#L53-L62", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/ContextExpression.java", "func_name": "ContextExpression.matches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the passed runtime contexts match this context expression", "docstring_tokens": ["Returns", "true", "if", "the", "passed", "runtime", "contexts", "match", "this", "context", "expression"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/ContextExpression.java#L75-L89", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/ant/BaseLiquibaseTask.java", "func_name": "BaseLiquibaseTask.createResourceAccessor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a suitable ResourceAccessor for use in an Ant task..\n\n@param classLoader The ClassLoader to use in the ResourceAccessor. It is preferable that it is an AntClassLoader.\n@return A ResourceAccessor.", "docstring_tokens": ["Creates", "a", "suitable", "ResourceAccessor", "for", "use", "in", "an", "Ant", "task", ".."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/ant/BaseLiquibaseTask.java#L168-L178", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/integration/ant/BaseLiquibaseTask.java", "func_name": "BaseLiquibaseTask.closeDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience method to safely close the database connection.\n\n@param database The database to close.", "docstring_tokens": ["Convenience", "method", "to", "safely", "close", "the", "database", "connection", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/integration/ant/BaseLiquibaseTask.java#L189-L197", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVParser.java", "func_name": "CSVParser.appendNextCharacterAndAdvanceLoop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends the next character in the line to the stringbuffer.\n\n@param line - line to process\n@param sb - contains the processed character\n@param i - current position in the line.\n@return new position in the line.", "docstring_tokens": ["Appends", "the", "next", "character", "in", "the", "line", "to", "the", "stringbuffer", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVParser.java#L453-L457", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVParser.java", "func_name": "CSVParser.isNextCharacterEscapedQuote", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks to see if the character after the index is a quotation character.\n\nprecondition: the current character is a quote or an escape\n\n@param nextLine the current line\n@param inQuotes true if the current context is quoted\n@param i current index in line\n@return true if the following character is a quote", "docstring_tokens": ["Checks", "to", "see", "if", "the", "character", "after", "the", "index", "is", "a", "quotation", "character", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVParser.java#L479-L483", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVParser.java", "func_name": "CSVParser.isNextCharacterEscapable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks to see if the character after the current index in a String is an escapable character.\nMeaning the next character is either a quotation character or the escape char and you are inside\nquotes.\n\nprecondition: the current character is an escape\n\n@param nextLine the current line\n@param inQuotes true if the current context is quoted\n@param i current index in line\n@return true if the following character is a quote", "docstring_tokens": ["Checks", "to", "see", "if", "the", "character", "after", "the", "current", "index", "in", "a", "String", "is", "an", "escapable", "character", ".", "Meaning", "the", "next", "character", "is", "either", "a", "quotation", "character", "or", "the", "escape", "char", "and", "you", "are", "inside", "quotes", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVParser.java#L528-L532", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/parser/core/ParsedNode.java", "func_name": "ParsedNode.getChildren", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all child nodes with the given namespace and name.\nIf none match, an empty list is returned.\nReturned list is unmodifiableList.", "docstring_tokens": ["Returns", "all", "child", "nodes", "with", "the", "given", "namespace", "and", "name", ".", "If", "none", "match", "an", "empty", "list", "is", "returned", ".", "Returned", "list", "is", "unmodifiableList", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/parser/core/ParsedNode.java#L65-L73", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/parser/core/ParsedNode.java", "func_name": "ParsedNode.setValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the value of this ParsedNode.\nIf the passed value is a ParsedNode, it is added as a child, not as the value.\nIf the passed value is a Map, it is converted to a ParsedNode and added as a child, not as the value.\nIf the passed value is a Collection, each object is added as a child if it is a ParsedNode or a Map.\nIf there are multiple simple values in a passed collection, value is set to a List. If there is a single value in a collection, value is set to the single value.", "docstring_tokens": ["Sets", "the", "value", "of", "this", "ParsedNode", ".", "If", "the", "passed", "value", "is", "a", "ParsedNode", "it", "is", "added", "as", "a", "child", "not", "as", "the", "value", ".", "If", "the", "passed", "value", "is", "a", "Map", "it", "is", "converted", "to", "a", "ParsedNode", "and", "added", "as", "a", "child", "not", "as", "the", "value", ".", "If", "the", "passed", "value", "is", "a", "Collection", "each", "object", "is", "added", "as", "a", "child", "if", "it", "is", "a", "ParsedNode", "or", "a", "Map", ".", "If", "there", "are", "multiple", "simple", "values", "in", "a", "passed", "collection", "value", "is", "set", "to", "a", "List", ".", "If", "there", "is", "a", "single", "value", "in", "a", "collection", "value", "is", "set", "to", "the", "single", "value", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/parser/core/ParsedNode.java#L89-L116", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/parser/core/ParsedNode.java", "func_name": "ParsedNode.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the value associated with this node converted to the given type.\n\n@throws ParsedNodeException if the current value type cannot be converted", "docstring_tokens": ["Return", "the", "value", "associated", "with", "this", "node", "converted", "to", "the", "given", "type", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/parser/core/ParsedNode.java#L123-L125", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/parser/core/ParsedNode.java", "func_name": "ParsedNode.getChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the ParsedNode defined by the given namespace and name.\n@throws liquibase.parser.core.ParsedNodeException if multiple nodes match.", "docstring_tokens": ["Returns", "the", "ParsedNode", "defined", "by", "the", "given", "namespace", "and", "name", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/parser/core/ParsedNode.java#L167-L178", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/parser/core/ParsedNode.java", "func_name": "ParsedNode.getChildValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value of the given node, converted to the passed type.\n@throws liquibase.parser.core.ParsedNodeException if there is an error converting the value", "docstring_tokens": ["Returns", "the", "value", "of", "the", "given", "node", "converted", "to", "the", "passed", "type", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/parser/core/ParsedNode.java#L217-L223", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/parser/core/ParsedNode.java", "func_name": "ParsedNode.getChildValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value of the given node with no conversion attempted.", "docstring_tokens": ["Returns", "the", "value", "of", "the", "given", "node", "with", "no", "conversion", "attempted", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/parser/core/ParsedNode.java#L276-L282", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/resource/InputStreamList.java", "func_name": "InputStreamList.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close the streams in this collection.", "docstring_tokens": ["Close", "the", "streams", "in", "this", "collection", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/resource/InputStreamList.java#L51-L60", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/datatype/DatabaseDataType.java", "func_name": "DatabaseDataType.isAutoIncrement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Mainly for postgres, check if the column is a serial data type.\n@return Whether the type is serial", "docstring_tokens": ["Mainly", "for", "postgres", "check", "if", "the", "column", "is", "a", "serial", "data", "type", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/datatype/DatabaseDataType.java#L49-L52", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/resource/FileSystemResourceAccessor.java", "func_name": "FileSystemResourceAccessor.isCompressedFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the given path is a compressed file.", "docstring_tokens": ["Returns", "true", "if", "the", "given", "path", "is", "a", "compressed", "file", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/resource/FileSystemResourceAccessor.java#L265-L267", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/structure/core/Relation.java", "func_name": "Relation.getColumn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the column object for the given columnName. If the column does not exist in this table,\nreturn null.", "docstring_tokens": ["Returns", "the", "column", "object", "for", "the", "given", "columnName", ".", "If", "the", "column", "does", "not", "exist", "in", "this", "table", "return", "null", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/structure/core/Relation.java#L76-L83", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/Scope.java", "func_name": "Scope.getSingleton", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Looks up the singleton object of the given type. If the singleton has not been created yet, it will be instantiated.\nThe singleton is a singleton based on the root scope and the same object will be returned for all child scopes of the root.", "docstring_tokens": ["Looks", "up", "the", "singleton", "object", "of", "the", "given", "type", ".", "If", "the", "singleton", "has", "not", "been", "created", "yet", "it", "will", "be", "instantiated", ".", "The", "singleton", "is", "a", "singleton", "based", "on", "the", "root", "scope", "and", "the", "same", "object", "will", "be", "returned", "for", "all", "child", "scopes", "of", "the", "root", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/Scope.java#L228-L253", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/changelog/StandardChangeLogHistoryService.java", "func_name": "StandardChangeLogHistoryService.tag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tags the database changelog with the given string.", "docstring_tokens": ["Tags", "the", "database", "changelog", "with", "the", "given", "string", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/changelog/StandardChangeLogHistoryService.java#L417-L436", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/precondition/PreconditionFactory.java", "func_name": "PreconditionFactory.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new Precondition subclass based on the given tag name.", "docstring_tokens": ["Create", "a", "new", "Precondition", "subclass", "based", "on", "the", "given", "tag", "name", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/precondition/PreconditionFactory.java#L58-L68", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/NowAndTodayUtil.java", "func_name": "NowAndTodayUtil.isNowOrTodayFormat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if date starts with \"NOW\" or \"TODAY\".\n\n@param value value to test\n@return true if value starts with \"NOW\" or \"TODAY\" (case insensitive), false otherwise.", "docstring_tokens": ["Checks", "if", "date", "starts", "with", "NOW", "or", "TODAY", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/NowAndTodayUtil.java#L37-L48", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/changelog/ChangeLogParameters.java", "func_name": "ChangeLogParameters.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the value of a parameter\n\n@param key Name of the parameter\n@return The parameter value or null if not found. (Note that null can also be return if it is the parameter\nvalue. For strict parameter existence use {@link #hasValue(String, DatabaseChangeLog)}", "docstring_tokens": ["Return", "the", "value", "of", "a", "parameter"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/changelog/ChangeLogParameters.java#L145-L148", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/snapshot/jvm/UniqueConstraintSnapshotGenerator.java", "func_name": "UniqueConstraintSnapshotGenerator.setValidateOptionIfAvailable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method to map 'validate' option for UC. This thing works only for ORACLE\n\n@param database - DB where UC will be created\n@param uniqueConstraint - UC object to persist validate option\n@param columnsMetadata - it's a cache-map to get metadata about UC", "docstring_tokens": ["Method", "to", "map", "validate", "option", "for", "UC", ".", "This", "thing", "works", "only", "for", "ORACLE"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/snapshot/jvm/UniqueConstraintSnapshotGenerator.java#L76-L85", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/snapshot/jvm/UniqueConstraintSnapshotGenerator.java", "func_name": "UniqueConstraintSnapshotGenerator.getUniqueConstraintsSqlInformix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets an SQL query that returns the constraint names and columns for all UNIQUE constraints.\n@param database A database object of the InformixDatabase type\n@param schema Name of the schema to examine (or null for all)\n@param name Name of the constraint to examine (or null for all)\n@return A lengthy SQL statement that fetches the constraint names and columns", "docstring_tokens": ["Gets", "an", "SQL", "query", "that", "returns", "the", "constraint", "names", "and", "columns", "for", "all", "UNIQUE", "constraints", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/snapshot/jvm/UniqueConstraintSnapshotGenerator.java#L345-L391", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/ChangeMetaData.java", "func_name": "ChangeMetaData.getSetParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the parameters of the given change that are set to a non-null value. Will never return a null map, only an empty or populated map.", "docstring_tokens": ["Return", "the", "parameters", "of", "the", "given", "change", "that", "are", "set", "to", "a", "non", "-", "null", "value", ".", "Will", "never", "return", "a", "null", "map", "only", "an", "empty", "or", "populated", "map", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/ChangeMetaData.java#L91-L99", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/ChangeMetaData.java", "func_name": "ChangeMetaData.getRequiredParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the required parameters for this change for the given database. Will never return a null map, only an empty or populated map.", "docstring_tokens": ["Returns", "the", "required", "parameters", "for", "this", "change", "for", "the", "given", "database", ".", "Will", "never", "return", "a", "null", "map", "only", "an", "empty", "or", "populated", "map", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/ChangeMetaData.java#L104-L113", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/sqlgenerator/core/InsertOrUpdateGeneratorInformix.java", "func_name": "InsertOrUpdateGeneratorInformix.convertToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copied and modified from liquibase.sqlgenerator.core.InsertOrUpdateGeneratorMySQL", "docstring_tokens": ["Copied", "and", "modified", "from", "liquibase", ".", "sqlgenerator", ".", "core", ".", "InsertOrUpdateGeneratorMySQL"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/sqlgenerator/core/InsertOrUpdateGeneratorInformix.java#L112-L130", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/AbstractChange.java", "func_name": "AbstractChange.getSerializableFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the fields on this change that are serializable.", "docstring_tokens": ["Returns", "the", "fields", "on", "this", "change", "that", "are", "serializable", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/AbstractChange.java#L551-L554", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/file/FilenameUtils.java", "func_name": "FilenameUtils.doGetFullPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does the work of getting the path.\n\n@param filename the filename\n@param includeSeparator true to include the end separator\n@return the path", "docstring_tokens": ["Does", "the", "work", "of", "getting", "the", "path", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/file/FilenameUtils.java#L779-L800", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java", "func_name": "HeaderColumnNameMappingStrategy.createIndexLookup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an index map of column names to column position.\n@param values - array of header values.", "docstring_tokens": ["Creates", "an", "index", "map", "of", "column", "names", "to", "column", "position", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java#L70-L76", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java", "func_name": "HeaderColumnNameMappingStrategy.getColumnIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the column index that corresponds to a specific colum name.\nIf the CSV file doesn't have a header row, this method will always return\nnull.\n\n@param name the column name\n@return the column index, or null if the name doesn't exist", "docstring_tokens": ["Gets", "the", "column", "index", "that", "corresponds", "to", "a", "specific", "colum", "name", ".", "If", "the", "CSV", "file", "doesn", "t", "have", "a", "header", "row", "this", "method", "will", "always", "return", "null", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java#L93-L102", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java", "func_name": "HeaderColumnNameMappingStrategy.findDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the property descriptor for a given column position.\n@param col the column to find the description for\n@return - the property descriptor for the column position or null if one could not be found.\n@throws IntrospectionException - thrown on error retrieving the property description.", "docstring_tokens": ["Gets", "the", "property", "descriptor", "for", "a", "given", "column", "position", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java#L110-L114", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java", "func_name": "HeaderColumnNameMappingStrategy.findField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the field for a given column position.\n\n@param col the column to find the field for\n@return - BeanField containing the field - and whether it is mandatory - for a given column position, or null if\none could not be found", "docstring_tokens": ["Gets", "the", "field", "for", "a", "given", "column", "position", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java#L123-L127", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java", "func_name": "HeaderColumnNameMappingStrategy.getColumnName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the column name for a given column position.\n\n@param col - column position.\n@return - the column name or null if the position is larger than the header array or there is no headers defined.", "docstring_tokens": ["Get", "the", "column", "name", "for", "a", "given", "column", "position", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java#L135-L137", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java", "func_name": "HeaderColumnNameMappingStrategy.findDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the property descriptor for a given column.\n@param name - column name to look up.\n@return - the property descriptor for the column.\n@throws IntrospectionException - thrown on error loading the property descriptors.", "docstring_tokens": ["Find", "the", "property", "descriptor", "for", "a", "given", "column", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java#L145-L150", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java", "func_name": "HeaderColumnNameMappingStrategy.findField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the field for a given column.\n\n@param name - the column name to look up.\n@return - BeanField containing the field - and whether it is mandatory - for the column.", "docstring_tokens": ["Find", "the", "field", "for", "a", "given", "column", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java#L158-L163", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java", "func_name": "HeaderColumnNameMappingStrategy.matches", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if the name of a property descriptor matches the column name.\nCurrently only used by unit tests.\n@param name - name of the column.\n@param desc - property descriptor to check against\n@return - true if the name matches the name in the property descriptor.", "docstring_tokens": ["Determines", "if", "the", "name", "of", "a", "property", "descriptor", "matches", "the", "column", "name", ".", "Currently", "only", "used", "by", "unit", "tests", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java#L172-L174", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java", "func_name": "HeaderColumnNameMappingStrategy.loadDescriptorMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "builds a map of property descriptors for the Bean.\n@return - map of property descriptors\n@throws IntrospectionException - thrown on error getting information about the bean.", "docstring_tokens": ["builds", "a", "map", "of", "property", "descriptors", "for", "the", "Bean", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java#L181-L191", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/ColumnPositionMappingStrategy.java", "func_name": "ColumnPositionMappingStrategy.getColumnName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "gets a column name.\n@param col - position of the column.\n@return - column name or null if col > number of mappings.", "docstring_tokens": ["gets", "a", "column", "name", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/ColumnPositionMappingStrategy.java#L51-L54", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/ColumnPositionMappingStrategy.java", "func_name": "ColumnPositionMappingStrategy.setColumnMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Setter for the ColumnMappings.\n@param columnMapping - column names to be mapped.", "docstring_tokens": ["Setter", "for", "the", "ColumnMappings", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/bean/ColumnPositionMappingStrategy.java#L68-L72", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/datatype/core/CharType.java", "func_name": "CharType.getSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the size of this data type definition. If unknown or unspecified, return -1", "docstring_tokens": ["Return", "the", "size", "of", "this", "data", "type", "definition", ".", "If", "unknown", "or", "unspecified", "return", "-", "1"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/datatype/core/CharType.java#L74-L88", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/database/core/HsqlDatabase.java", "func_name": "HsqlDatabase.supportsDefaultValueComputed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks to see if the string is an acceptable computed value for HSQL\n\"datetime\" columns are the only columns for which HSQL supports computer values.\n\n@param columnType String of the column's data type\n@param defaultValue String to be checked for valid valueComputed in HSQL\n@return boolean True if the string represents a function supported by HSQL for default values", "docstring_tokens": ["Checks", "to", "see", "if", "the", "string", "is", "an", "acceptable", "computed", "value", "for", "HSQL", "datetime", "columns", "are", "the", "only", "columns", "for", "which", "HSQL", "supports", "computer", "values", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/database/core/HsqlDatabase.java#L333-L336", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/changelog/visitor/StatusVisitor.java", "func_name": "StatusVisitor.getChangeSetsToRun", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the change sets that will execute", "docstring_tokens": ["Return", "the", "change", "sets", "that", "will", "execute"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/changelog/visitor/StatusVisitor.java#L105-L114", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/database/core/PostgresDatabase.java", "func_name": "PostgresDatabase.escapeObjectName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This has special case logic to handle NOT quoting column names if they are\nof type 'LiquibaseColumn' - columns in the DATABASECHANGELOG or DATABASECHANGELOGLOCK\ntables.", "docstring_tokens": ["This", "has", "special", "case", "logic", "to", "handle", "NOT", "quoting", "column", "names", "if", "they", "are", "of", "type", "LiquibaseColumn", "-", "columns", "in", "the", "DATABASECHANGELOG", "or", "DATABASECHANGELOGLOCK", "tables", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/database/core/PostgresDatabase.java#L227-L236", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/ColumnConfig.java", "func_name": "ColumnConfig.setValueNumeric", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the number this column should be set to. Supports integers and decimals, and strips off any wrapping\nparentheses. If the passed value cannot be parsed as a number in US locale, it is assumed to be a function\nthat returns a number. If the value \"null\" is passed, it will set a null value.", "docstring_tokens": ["Set", "the", "number", "this", "column", "should", "be", "set", "to", ".", "Supports", "integers", "and", "decimals", "and", "strips", "off", "any", "wrapping", "parentheses", ".", "If", "the", "passed", "value", "cannot", "be", "parsed", "as", "a", "number", "in", "US", "locale", "it", "is", "assumed", "to", "be", "a", "function", "that", "returns", "a", "number", ".", "If", "the", "value", "null", "is", "passed", "it", "will", "set", "a", "null", "value", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/ColumnConfig.java#L284-L302", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/ColumnConfig.java", "func_name": "ColumnConfig.setValueBoolean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the valueBoolean based on a given string.\nIf the passed value cannot be parsed as a date, it is assumed to be a function that returns a boolean.\nIf the string \"null\" or an empty string is passed, it will set a null value.\nIf \"1\" is passed, defaultValueBoolean is set to true. If 0 is passed, defaultValueBoolean is set to false", "docstring_tokens": ["Set", "the", "valueBoolean", "based", "on", "a", "given", "string", ".", "If", "the", "passed", "value", "cannot", "be", "parsed", "as", "a", "date", "it", "is", "assumed", "to", "be", "a", "function", "that", "returns", "a", "boolean", ".", "If", "the", "string", "null", "or", "an", "empty", "string", "is", "passed", "it", "will", "set", "a", "null", "value", ".", "If", "1", "is", "passed", "defaultValueBoolean", "is", "set", "to", "true", ".", "If", "0", "is", "passed", "defaultValueBoolean", "is", "set", "to", "false"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/ColumnConfig.java#L318-L334", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/ColumnConfig.java", "func_name": "ColumnConfig.setDefaultValueBoolean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the defaultValueBoolean based on a given string.\nIf the passed value cannot be parsed as a date, it is assumed to be a function that returns a boolean.\nIf the string \"null\" or an empty string is passed, it will set a null value.\nIf \"1\" is passed, defaultValueBoolean is set to true. If 0 is passed, defaultValueBoolean is set to false", "docstring_tokens": ["Set", "the", "defaultValueBoolean", "based", "on", "a", "given", "string", ".", "If", "the", "passed", "value", "cannot", "be", "parsed", "as", "a", "date", "it", "is", "assumed", "to", "be", "a", "function", "that", "returns", "a", "boolean", ".", "If", "the", "string", "null", "or", "an", "empty", "string", "is", "passed", "it", "will", "set", "a", "null", "value", ".", "If", "1", "is", "passed", "defaultValueBoolean", "is", "set", "to", "true", ".", "If", "0", "is", "passed", "defaultValueBoolean", "is", "set", "to", "false"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/ColumnConfig.java#L591-L607", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/ChangeFactory.java", "func_name": "ChangeFactory.unregister", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unregister all instances of a given Change name. Normally used for testing, but can be called manually if needed.", "docstring_tokens": ["Unregister", "all", "instances", "of", "a", "given", "Change", "name", ".", "Normally", "used", "for", "testing", "but", "can", "be", "called", "manually", "if", "needed", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/ChangeFactory.java#L64-L70", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/ChangeFactory.java", "func_name": "ChangeFactory.getDefinedChanges", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all defined changes in the registry. Returned set is not modifiable.", "docstring_tokens": ["Returns", "all", "defined", "changes", "in", "the", "registry", ".", "Returned", "set", "is", "not", "modifiable", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/ChangeFactory.java#L75-L81", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/change/ChangeFactory.java", "func_name": "ChangeFactory.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new Change implementation for the given change name. The class of the constructed object will be the Change implementation with the highest priority.\nEach call to create will return a new instance of the Change.", "docstring_tokens": ["Create", "a", "new", "Change", "implementation", "for", "the", "given", "change", "name", ".", "The", "class", "of", "the", "constructed", "object", "will", "be", "the", "Change", "implementation", "with", "the", "highest", "priority", ".", "Each", "call", "to", "create", "will", "return", "a", "new", "instance", "of", "the", "Change", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/change/ChangeFactory.java#L87-L97", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/ui/SwingUIFacade.java", "func_name": "SwingUIFacade.promptForNonLocalDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Displays swing-based dialog about running against a non-localhost database.\nReturns true if the user selected that they are OK with that.", "docstring_tokens": ["Displays", "swing", "-", "based", "dialog", "about", "running", "against", "a", "non", "-", "localhost", "database", ".", "Returns", "true", "if", "the", "user", "selected", "that", "they", "are", "OK", "with", "that", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/ui/SwingUIFacade.java#L14-L21", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/database/AbstractJdbcDatabase.java", "func_name": "AbstractJdbcDatabase.getConnectionSchemaName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Overwrite this method to get the default schema name for the connection.\nIf you only need to change the statement that obtains the current schema then override\n@see AbstractJdbcDatabase#getConnectionSchemaNameCallStatement()", "docstring_tokens": ["Overwrite", "this", "method", "to", "get", "the", "default", "schema", "name", "for", "the", "connection", ".", "If", "you", "only", "need", "to", "change", "the", "statement", "that", "obtains", "the", "current", "schema", "then", "override"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/database/AbstractJdbcDatabase.java#L348-L364", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/database/AbstractJdbcDatabase.java", "func_name": "AbstractJdbcDatabase.isSafeToRunUpdate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Default implementation, just look for \"local\" IPs. If the database returns a null URL we return false since we don't know it's safe to run the update.\n\n@throws liquibase.exception.DatabaseException", "docstring_tokens": ["Default", "implementation", "just", "look", "for", "local", "IPs", ".", "If", "the", "database", "returns", "a", "null", "URL", "we", "return", "false", "since", "we", "don", "t", "know", "it", "s", "safe", "to", "run", "the", "update", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/database/AbstractJdbcDatabase.java#L1231-L1242", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/database/AbstractJdbcDatabase.java", "func_name": "AbstractJdbcDatabase.filterRollbackVisitors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes a list of SqlVisitors and returns a new list with only the SqlVisitors set to apply to rollbacks", "docstring_tokens": ["Takes", "a", "list", "of", "SqlVisitors", "and", "returns", "a", "new", "list", "with", "only", "the", "SqlVisitors", "set", "to", "apply", "to", "rollbacks"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/database/AbstractJdbcDatabase.java#L1312-L1323", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/database/AbstractJdbcDatabase.java", "func_name": "AbstractJdbcDatabase.getMaxFractionalDigitsForTimestamp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Most relational databases support 9 fractional digits, and subclasses must overwrite this method if they\nsupport less than that.\n\n@return the maxmimum number of supported fractional digits in TIMESTAMP columns", "docstring_tokens": ["Most", "relational", "databases", "support", "9", "fractional", "digits", "and", "subclasses", "must", "overwrite", "this", "method", "if", "they", "support", "less", "than", "that", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/database/AbstractJdbcDatabase.java#L1580-L1591", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/serializer/core/xml/XMLChangeLogSerializer.java", "func_name": "XMLChangeLogSerializer.checkString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Catch any characters that will cause problems when parsing the XML down the road.\n\n@throws UnexpectedLiquibaseException with the message {@link #INVALID_STRING_ENCODING_MESSAGE} if an issue is found.", "docstring_tokens": ["Catch", "any", "characters", "that", "will", "cause", "problems", "when", "parsing", "the", "XML", "down", "the", "road", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/serializer/core/xml/XMLChangeLogSerializer.java#L246-L279", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/serializer/core/xml/XMLChangeLogSerializer.java", "func_name": "XMLChangeLogSerializer.createNode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "create a XML node with nodeName and simple text content", "docstring_tokens": ["create", "a", "XML", "node", "with", "nodeName", "and", "simple", "text", "content"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/serializer/core/xml/XMLChangeLogSerializer.java#L293-L297", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/Validate.java", "func_name": "Validate.notNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Throws exception if passed object is null", "docstring_tokens": ["Throws", "exception", "if", "passed", "object", "is", "null"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/Validate.java#L15-L19", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/database/core/SybaseDatabase.java", "func_name": "SybaseDatabase.isSybaseProductName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "package private to facilitate testing", "docstring_tokens": ["package", "private", "to", "facilitate", "testing"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/database/core/SybaseDatabase.java#L117-L123", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/sql/visitor/SqlVisitorFactory.java", "func_name": "SqlVisitorFactory.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new Change subclass based on the given tag name.", "docstring_tokens": ["Create", "a", "new", "Change", "subclass", "based", "on", "the", "given", "tag", "name", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/sql/visitor/SqlVisitorFactory.java#L40-L50", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/NetUtil.java", "func_name": "NetUtil.getLocalHostAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns Local Host IP Address\n@return local Host IP address\n@throws UnknownHostException\n@throws SocketException", "docstring_tokens": ["Returns", "Local", "Host", "IP", "Address"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/NetUtil.java#L52-L59", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/NetUtil.java", "func_name": "NetUtil.getLocalHostName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns Local Host Name\n@return local Host Name\n@throws UnknownHostException\n@throws SocketException", "docstring_tokens": ["Returns", "Local", "Host", "Name"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/NetUtil.java#L67-L74", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/sqlgenerator/core/CreateProcedureGenerator.java", "func_name": "CreateProcedureGenerator.surroundWithSchemaSets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience method for when the schemaName is set but we don't want to parse the body", "docstring_tokens": ["Convenience", "method", "for", "when", "the", "schemaName", "is", "set", "but", "we", "don", "t", "want", "to", "parse", "the", "body"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/sqlgenerator/core/CreateProcedureGenerator.java#L124-L135", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/sqlgenerator/core/CreateProcedureGenerator.java", "func_name": "CreateProcedureGenerator.addSchemaToText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience method for other classes similar to this that want to be able to modify the procedure text to add the schema", "docstring_tokens": ["Convenience", "method", "for", "other", "classes", "similar", "to", "this", "that", "want", "to", "be", "able", "to", "modify", "the", "procedure", "text", "to", "add", "the", "schema"], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/sqlgenerator/core/CreateProcedureGenerator.java#L140-L174", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/MD5Util.java", "func_name": "MD5Util.encodeHex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts an array of bytes into an array of characters representing the hexadecimal values of each byte in order.\nThe returned array will be double the length of the passed array, as it takes two characters to represent any\ngiven byte.\n\n@param data\na byte[] to convert to Hex characters\n@return A char[] containing hexadecimal characters", "docstring_tokens": ["Converts", "an", "array", "of", "bytes", "into", "an", "array", "of", "characters", "representing", "the", "hexadecimal", "values", "of", "each", "byte", "in", "order", ".", "The", "returned", "array", "will", "be", "double", "the", "length", "of", "the", "passed", "array", "as", "it", "takes", "two", "characters", "to", "represent", "any", "given", "byte", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/MD5Util.java#L80-L93", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/snapshot/jvm/SchemaSnapshotGenerator.java", "func_name": "SchemaSnapshotGenerator.getDatabaseSchemaNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fetches an array of Strings with the schema names in the database.\n@param database The database from which to get the schema names\n@return An array of schema name Strings (May be an empty array)\n@throws SQLException propagated java.sql.SQLException\n@throws DatabaseException if a different problem occurs during the DBMS-specific code", "docstring_tokens": ["Fetches", "an", "array", "of", "Strings", "with", "the", "schema", "names", "in", "the", "database", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/snapshot/jvm/SchemaSnapshotGenerator.java#L125-L141", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVReader.java", "func_name": "CSVReader.readNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the next line from the buffer and converts to a string array.\n\n@return a string array with each comma-separated element as a separate\nentry.\n@throws IOException if bad things happen during the read", "docstring_tokens": ["Reads", "the", "next", "line", "from", "the", "buffer", "and", "converts", "to", "a", "string", "array", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVReader.java#L268-L286", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVReader.java", "func_name": "CSVReader.getNextLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the next line from the file.\n\n@return the next line from the file without trailing newline\n@throws IOException if bad things happen during the read", "docstring_tokens": ["Reads", "the", "next", "line", "from", "the", "file", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVReader.java#L320-L341", "partition": "valid"}
+{"repo": "liquibase/liquibase", "path": "liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVReader.java", "func_name": "CSVReader.isClosed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks to see if the file is closed.\n@return true if the reader can no longer be read from.", "docstring_tokens": ["Checks", "to", "see", "if", "the", "file", "is", "closed", "."], "sha": "86a3b30fa6821ac981056f252f918557f5ebcc60", "url": "https://github.com/liquibase/liquibase/blob/86a3b30fa6821ac981056f252f918557f5ebcc60/liquibase-core/src/main/java/liquibase/util/csv/opencsv/CSVReader.java#L347-L359", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/DynamicConfiguration.java", "func_name": "DynamicConfiguration.startPolling", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start polling the configuration source with the specified scheduler.\n\n@param source PolledConfigurationSource to poll\n@param scheduler AbstractPollingScheduler whose {@link AbstractPollingScheduler#schedule(Runnable)} will be\nused to determine the polling schedule", "docstring_tokens": ["Start", "polling", "the", "configuration", "source", "with", "the", "specified", "scheduler", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/DynamicConfiguration.java#L56-L61", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-zookeeper/src/main/java/com/netflix/config/source/ZooKeeperConfigurationSource.java", "func_name": "ZooKeeperConfigurationSource.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a listener to the pathChildrenCache, initializes the cache, then starts the cache-management background thread\n\n@throws Exception", "docstring_tokens": ["Adds", "a", "listener", "to", "the", "pathChildrenCache", "initializes", "the", "cache", "then", "starts", "the", "cache", "-", "management", "background", "thread"], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-zookeeper/src/main/java/com/netflix/config/source/ZooKeeperConfigurationSource.java#L88-L134", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/WebApplicationProperties.java", "func_name": "WebApplicationProperties.setAppConfFolder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The folder where the application's properties files are located.\n\n@param appConfFolderFromConfig\nthe folder as a File object where the\napplication's properties files are located\n@param baseConfigFileName\nthe \"base\" name of the properties file. For e.g. if you have\nconfig.properties, config-test.properties, then the value to\npass in is \"config\"", "docstring_tokens": ["The", "folder", "where", "the", "application", "s", "properties", "files", "are", "located", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/WebApplicationProperties.java#L158-L161", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/DynamicPropertyFactory.java", "func_name": "DynamicPropertyFactory.getIntProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new property whose value is an integer and subject to change on-the-fly.\n\n@param propName property name\n@param defaultValue default value if the property is not defined in underlying configuration\n@param propertyChangeCallback a Runnable to be called when the property is changed", "docstring_tokens": ["Create", "a", "new", "property", "whose", "value", "is", "an", "integer", "and", "subject", "to", "change", "on", "-", "the", "-", "fly", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/DynamicPropertyFactory.java#L336-L341", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/DynamicPropertyFactory.java", "func_name": "DynamicPropertyFactory.getLongProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new property whose value is a long and subject to change on-the-fly.\n\n@param propName property name\n@param defaultValue default value if the property is not defined in underlying configuration\n@param propertyChangeCallback a Runnable to be called when the property is changed", "docstring_tokens": ["Create", "a", "new", "property", "whose", "value", "is", "a", "long", "and", "subject", "to", "change", "on", "-", "the", "-", "fly", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/DynamicPropertyFactory.java#L360-L365", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/DynamicPropertyFactory.java", "func_name": "DynamicPropertyFactory.getBooleanProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new property whose value is a boolean and subject to change on-the-fly.\n\n@param propName property name\n@param defaultValue default value if the property is not defined in underlying configuration\n@param propertyChangeCallback a Runnable to be called when the property is changed", "docstring_tokens": ["Create", "a", "new", "property", "whose", "value", "is", "a", "boolean", "and", "subject", "to", "change", "on", "-", "the", "-", "fly", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/DynamicPropertyFactory.java#L384-L389", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/DynamicPropertyFactory.java", "func_name": "DynamicPropertyFactory.getFloatProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new property whose value is a float and subject to change on-the-fly.\n\n@param propName property name\n@param defaultValue default value if the property is not defined in underlying configuration\n@param propertyChangeCallback a Runnable to be called when the property is changed", "docstring_tokens": ["Create", "a", "new", "property", "whose", "value", "is", "a", "float", "and", "subject", "to", "change", "on", "-", "the", "-", "fly", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/DynamicPropertyFactory.java#L408-L413", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/DynamicPropertyFactory.java", "func_name": "DynamicPropertyFactory.getDoubleProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new property whose value is a double and subject to change on-the-fly.\n\n@param propName property name\n@param defaultValue default value if the property is not defined in underlying configuration\n@param propertyChangeCallback a Runnable to be called when the property is changed", "docstring_tokens": ["Create", "a", "new", "property", "whose", "value", "is", "a", "double", "and", "subject", "to", "change", "on", "-", "the", "-", "fly", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/DynamicPropertyFactory.java#L432-L437", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-aws/src/main/java/com/netflix/config/sources/DynamoDbDeploymentContextTableCache.java", "func_name": "DynamoDbDeploymentContextTableCache.loadPropertiesFromTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scan the table in dynamo and create a map with the results. In this case the map has a complex type as the value,\nso that Deployment Context is taken into account.\n\n@param table\n@return", "docstring_tokens": ["Scan", "the", "table", "in", "dynamo", "and", "create", "a", "map", "with", "the", "results", ".", "In", "this", "case", "the", "map", "has", "a", "complex", "type", "as", "the", "value", "so", "that", "Deployment", "Context", "is", "taken", "into", "account", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-aws/src/main/java/com/netflix/config/sources/DynamoDbDeploymentContextTableCache.java#L256-L283", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/DynamicProperty.java", "func_name": "DynamicProperty.getInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the DynamicProperty for a given property name.\nThis may be a previously constructed object,\nor an object constructed on-demand to satisfy the request.\n\n@param propName the name of the property\n@return a DynamicProperty object that holds the cached value of\nthe configuration property named {@code propName}", "docstring_tokens": ["Gets", "the", "DynamicProperty", "for", "a", "given", "property", "name", ".", "This", "may", "be", "a", "previously", "constructed", "object", "or", "an", "object", "constructed", "on", "-", "demand", "to", "satisfy", "the", "request", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/DynamicProperty.java#L244-L259", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/DynamicProperty.java", "func_name": "DynamicProperty.updateAllProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return true iff _some_ value actually changed", "docstring_tokens": ["return", "true", "iff", "_some_", "value", "actually", "changed"], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/DynamicProperty.java#L598-L607", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/PropertyWrapper.java", "func_name": "PropertyWrapper.addCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the callback to be triggered when the value of the property is changed\n\n@param callback", "docstring_tokens": ["Add", "the", "callback", "to", "be", "triggered", "when", "the", "value", "of", "the", "property", "is", "changed"], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/PropertyWrapper.java#L149-L155", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/PropertyWrapper.java", "func_name": "PropertyWrapper.removeAllCallbacks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove all callbacks registered through this instance of property", "docstring_tokens": ["Remove", "all", "callbacks", "registered", "through", "this", "instance", "of", "property"], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/PropertyWrapper.java#L160-L167", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/util/HttpVerbUriRegexPropertyValue.java", "func_name": "HttpVerbUriRegexPropertyValue.getVerbUriRegex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Expects property value to be of the form <uriRegex> OR <HTTP\nVerb name><space><uriRegex>\n\n@param propValue\nproperty value\n@return {@link HttpVerbUriRegexPropertyValue} instance corresponding to\npropValue if propValue is not null, null otherwise", "docstring_tokens": ["Expects", "property", "value", "to", "be", "of", "the", "form", "<", ";", "uriRegex>", ";", "OR", "<", ";", "HTTP", "Verb", "name>", ";", "<", ";", "space>", ";", "<", ";", "uriRegex>", ";"], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/util/HttpVerbUriRegexPropertyValue.java#L52-L70", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/util/ConfigurationUtils.java", "func_name": "ConfigurationUtils.loadPropertiesFromInputStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load properties from InputStream with utf-8 encoding, and it will take care of closing the input stream.\n@param fin\n@return\n@throws IOException", "docstring_tokens": ["Load", "properties", "from", "InputStream", "with", "utf", "-", "8", "encoding", "and", "it", "will", "take", "care", "of", "closing", "the", "input", "stream", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/util/ConfigurationUtils.java#L257-L271", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/util/ConfigurationUtils.java", "func_name": "OverridingPropertiesConfiguration.addProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Need to override this method for PDCLOUD-1809.", "docstring_tokens": ["Need", "to", "override", "this", "method", "for", "PDCLOUD", "-", "1809", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/util/ConfigurationUtils.java#L299-L306", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/DynamicPropertyUpdater.java", "func_name": "DynamicPropertyUpdater.updateProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the properties in the config param given the contents of the result param.\n\n@param result\neither an incremental or full set of data\n@param config\nunderlying config map\n@param ignoreDeletesFromSource\nif true, deletes will be skipped", "docstring_tokens": ["Updates", "the", "properties", "in", "the", "config", "param", "given", "the", "contents", "of", "the", "result", "param", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/DynamicPropertyUpdater.java#L59-L109", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/DynamicPropertyUpdater.java", "func_name": "DynamicPropertyUpdater.addOrChangeProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add or update the property in the underlying config depending on if it exists\n\n@param name\n@param newValue\n@param config", "docstring_tokens": ["Add", "or", "update", "the", "property", "in", "the", "underlying", "config", "depending", "on", "if", "it", "exists"], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/DynamicPropertyUpdater.java#L118-L157", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/DynamicPropertyUpdater.java", "func_name": "DynamicPropertyUpdater.deleteProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delete a property in the underlying config\n\n@param key\n@param config", "docstring_tokens": ["Delete", "a", "property", "in", "the", "underlying", "config"], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/DynamicPropertyUpdater.java#L165-L171", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/ConcurrentMapConfiguration.java", "func_name": "ConcurrentMapConfiguration.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clear the map and fire corresonding events.", "docstring_tokens": ["Clear", "the", "map", "and", "fire", "corresonding", "events", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/ConcurrentMapConfiguration.java#L278-L284", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/ConcurrentMapConfiguration.java", "func_name": "ConcurrentMapConfiguration.getProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Utility method to get a Properties object from this Configuration", "docstring_tokens": ["Utility", "method", "to", "get", "a", "Properties", "object", "from", "this", "Configuration"], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/ConcurrentMapConfiguration.java#L289-L297", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/AbstractPollingScheduler.java", "func_name": "AbstractPollingScheduler.initialLoad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Do an initial poll from the source and apply the result to the configuration.\n\n@param source source of the configuration\n@param config Configuration to apply the polling result\n@throws RuntimeException if any error occurs in polling the configuration source", "docstring_tokens": ["Do", "an", "initial", "poll", "from", "the", "source", "and", "apply", "the", "result", "to", "the", "configuration", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/AbstractPollingScheduler.java#L75-L89", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java", "func_name": "ConcurrentCompositeConfiguration.addConfigurationAtIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a configuration with a name at a particular index.\n\n@throws IndexOutOfBoundsException", "docstring_tokens": ["Add", "a", "configuration", "with", "a", "name", "at", "a", "particular", "index", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java#L355-L368", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java", "func_name": "ConcurrentCompositeConfiguration.removeConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove a configuration. The container configuration cannot be removed.\n\n@param config The configuration to remove", "docstring_tokens": ["Remove", "a", "configuration", ".", "The", "container", "configuration", "cannot", "be", "removed", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java#L380-L394", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java", "func_name": "ConcurrentCompositeConfiguration.removeConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the configuration with the specified name.\n\n@param name the name of the configuration to be removed\n@return the removed configuration (null if this configuration\nwas not found)", "docstring_tokens": ["Removes", "the", "configuration", "with", "the", "specified", "name", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java#L412-L423", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java", "func_name": "ConcurrentCompositeConfiguration.getKeys", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all the keys contained by sub configurations.\n\n@throws ConcurrentModificationException if concurrent modification happens on any sub configuration\nwhen it is iterated to get all the keys", "docstring_tokens": ["Get", "all", "the", "keys", "contained", "by", "sub", "configurations", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java#L554-L575", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java", "func_name": "ConcurrentCompositeConfiguration.getKeys", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the list of the keys contained in the sub configurations that match the\nspecified prefix.", "docstring_tokens": ["Get", "the", "list", "of", "the", "keys", "contained", "in", "the", "sub", "configurations", "that", "match", "the", "specified", "prefix", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java#L591-L607", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java", "func_name": "ConcurrentCompositeConfiguration.containsKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the any of the sub configurations contains the specified key.\n\n@param key the key whose presence in this configuration is to be tested\n\n@return true if the configuration contains a value for this\nkey, false otherwise", "docstring_tokens": ["Check", "if", "the", "any", "of", "the", "sub", "configurations", "contains", "the", "specified", "key", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java#L648-L662", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java", "func_name": "ConcurrentCompositeConfiguration.getList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a List of objects associated with the given configuration key.\nIf the key doesn't map to an existing object, the default value\nis returned.\n\n@param key The configuration key.\n@param defaultValue The default value.\n@return The associated List of value.", "docstring_tokens": ["Get", "a", "List", "of", "objects", "associated", "with", "the", "given", "configuration", "key", ".", "If", "the", "key", "doesn", "t", "map", "to", "an", "existing", "object", "the", "default", "value", "is", "returned", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java#L674-L711", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java", "func_name": "ConcurrentCompositeConfiguration.getStringArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get an array of strings associated with the given configuration key.\nIf the key doesn't map to an existing object an empty array is returned\n\n@param key The configuration key.\n@return The associated string array if key is found.", "docstring_tokens": ["Get", "an", "array", "of", "strings", "associated", "with", "the", "given", "configuration", "key", ".", "If", "the", "key", "doesn", "t", "map", "to", "an", "existing", "object", "an", "empty", "array", "is", "returned"], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/ConcurrentCompositeConfiguration.java#L721-L735", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/ConfigurationManager.java", "func_name": "ConfigurationManager.loadCascadedPropertiesFromResources", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load resource configName.properties first. Then load configName-deploymentEnvironment.properties\ninto the system wide configuration. For example, if configName is \"application\", and deployment environment\nis \"test\", this API will first load \"application.properties\", then load \"application-test.properties\" to\noverride any property that also exist in \"application.properties\".\n\n@param configName prefix of the properties file name.\n@throws IOException\n@see DeploymentContext#getDeploymentEnvironment()", "docstring_tokens": ["Load", "resource", "configName", ".", "properties", "first", ".", "Then", "load", "configName", "-", "deploymentEnvironment", ".", "properties", "into", "the", "system", "wide", "configuration", ".", "For", "example", "if", "configName", "is", "application", "and", "deployment", "environment", "is", "test", "this", "API", "will", "first", "load", "application", ".", "properties", "then", "load", "application", "-", "test", ".", "properties", "to", "override", "any", "property", "that", "also", "exist", "in", "application", ".", "properties", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/ConfigurationManager.java#L285-L294", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/ConfigurationManager.java", "func_name": "ConfigurationManager.loadPropertiesFromConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load properties from the specified configuration into system wide configuration", "docstring_tokens": ["Load", "properties", "from", "the", "specified", "configuration", "into", "system", "wide", "configuration"], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/ConfigurationManager.java#L341-L351", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/ConfigurationManager.java", "func_name": "ConfigurationManager.loadProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load the specified properties into system wide configuration", "docstring_tokens": ["Load", "the", "specified", "properties", "into", "system", "wide", "configuration"], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/ConfigurationManager.java#L356-L361", "partition": "valid"}
+{"repo": "Netflix/archaius", "path": "archaius-core/src/main/java/com/netflix/config/sources/URLConfigurationSource.java", "func_name": "URLConfigurationSource.poll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the content of the property files. For each poll, it always\nreturns the complete union of properties defined in all URLs. If one\nproperty is defined in content of more than one URL, the value in file later on the\nlist will override the value in the previous one.\n\n@param initial this parameter is ignored by the implementation\n@param checkPoint this parameter is ignored by the implementation\n@throws IOException IOException occurred in file operation", "docstring_tokens": ["Retrieve", "the", "content", "of", "the", "property", "files", ".", "For", "each", "poll", "it", "always", "returns", "the", "complete", "union", "of", "properties", "defined", "in", "all", "URLs", ".", "If", "one", "property", "is", "defined", "in", "content", "of", "more", "than", "one", "URL", "the", "value", "in", "file", "later", "on", "the", "list", "will", "override", "the", "value", "in", "the", "previous", "one", "."], "sha": "2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd", "url": "https://github.com/Netflix/archaius/blob/2c4b0006fdea3b65ad98f6d9dd354a09c8c4ffdd/archaius-core/src/main/java/com/netflix/config/sources/URLConfigurationSource.java#L179-L194", "partition": "valid"}
+{"repo": "kiegroup/optaplanner", "path": "optaplanner-examples/src/main/java/org/optaplanner/examples/vehiclerouting/domain/location/Location.java", "func_name": "Location.getAngle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The angle relative to the direction EAST.\n@param location never null\n@return in Cartesian coordinates", "docstring_tokens": ["The", "angle", "relative", "to", "the", "direction", "EAST", "."], "sha": "b8f1459b4e6b0f7aafe941fd165bff640c11d7d5", "url": "https://github.com/kiegroup/optaplanner/blob/b8f1459b4e6b0f7aafe941fd165bff640c11d7d5/optaplanner-examples/src/main/java/org/optaplanner/examples/vehiclerouting/domain/location/Location.java#L94-L99", "partition": "valid"}
+{"repo": "kiegroup/optaplanner", "path": "optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/common/ConcurrentMemoization.java", "func_name": "ConcurrentMemoization.computeIfAbsent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "An overridden implementation that heavily favors read access over write access speed.\nThis is thread-safe.\n\n{@inheritDoc}", "docstring_tokens": ["An", "overridden", "implementation", "that", "heavily", "favors", "read", "access", "over", "write", "access", "speed", ".", "This", "is", "thread", "-", "safe", "."], "sha": "b8f1459b4e6b0f7aafe941fd165bff640c11d7d5", "url": "https://github.com/kiegroup/optaplanner/blob/b8f1459b4e6b0f7aafe941fd165bff640c11d7d5/optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/common/ConcurrentMemoization.java#L36-L45", "partition": "valid"}
+{"repo": "kiegroup/optaplanner", "path": "optaplanner-examples/src/main/java/org/optaplanner/examples/cloudbalancing/persistence/CloudBalancingGenerator.java", "func_name": "CloudBalancingGenerator.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "in gigabyte per hour", "docstring_tokens": ["in", "gigabyte", "per", "hour"], "sha": "b8f1459b4e6b0f7aafe941fd165bff640c11d7d5", "url": "https://github.com/kiegroup/optaplanner/blob/b8f1459b4e6b0f7aafe941fd165bff640c11d7d5/optaplanner-examples/src/main/java/org/optaplanner/examples/cloudbalancing/persistence/CloudBalancingGenerator.java#L94-L120", "partition": "valid"}
+{"repo": "kiegroup/optaplanner", "path": "optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/common/ReflectionHelper.java", "func_name": "ReflectionHelper.getGetterPropertyName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the JavaBeans property name of the given member.\n@param member never null\n@return null if the member is neither a field nor a getter method according to the JavaBeans standard", "docstring_tokens": ["Returns", "the", "JavaBeans", "property", "name", "of", "the", "given", "member", "."], "sha": "b8f1459b4e6b0f7aafe941fd165bff640c11d7d5", "url": "https://github.com/kiegroup/optaplanner/blob/b8f1459b4e6b0f7aafe941fd165bff640c11d7d5/optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/common/ReflectionHelper.java#L52-L64", "partition": "valid"}
+{"repo": "kiegroup/optaplanner", "path": "optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/common/ReflectionHelper.java", "func_name": "ReflectionHelper.isGetterMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether the given method is a valid getter method according to the JavaBeans standard.\n@param method never null\n@return true if the given method is a getter method", "docstring_tokens": ["Checks", "whether", "the", "given", "method", "is", "a", "valid", "getter", "method", "according", "to", "the", "JavaBeans", "standard", "."], "sha": "b8f1459b4e6b0f7aafe941fd165bff640c11d7d5", "url": "https://github.com/kiegroup/optaplanner/blob/b8f1459b4e6b0f7aafe941fd165bff640c11d7d5/optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/common/ReflectionHelper.java#L85-L96", "partition": "valid"}
+{"repo": "kiegroup/optaplanner", "path": "optaplanner-core/src/main/java/org/optaplanner/core/api/score/buildin/hardmediumsoftbigdecimal/HardMediumSoftBigDecimalScoreHolder.java", "func_name": "HardMediumSoftBigDecimalScoreHolder.addHardConstraintMatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a hard constraint of specified weighting.\n\nThis is typically used in Drools scoring to add a hard constraint match (negative value to indicate an infeasible\nsolution).\n\n@param kcontext never null, the magic variable in DRL\n@param hardWeight never null, higher is better, negative for a penalty, positive for a reward", "docstring_tokens": ["Add", "a", "hard", "constraint", "of", "specified", "weighting", "."], "sha": "b8f1459b4e6b0f7aafe941fd165bff640c11d7d5", "url": "https://github.com/kiegroup/optaplanner/blob/b8f1459b4e6b0f7aafe941fd165bff640c11d7d5/optaplanner-core/src/main/java/org/optaplanner/core/api/score/buildin/hardmediumsoftbigdecimal/HardMediumSoftBigDecimalScoreHolder.java#L181-L186", "partition": "valid"}
+{"repo": "kiegroup/optaplanner", "path": "optaplanner-core/src/main/java/org/optaplanner/core/api/score/buildin/hardmediumsoftbigdecimal/HardMediumSoftBigDecimalScoreHolder.java", "func_name": "HardMediumSoftBigDecimalScoreHolder.addMediumConstraintMatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a medium level constraint of specified weighting.\n\nThis is typically used in Drools scoring to add a medium priority constraint match.\n\n@param kcontext never null, the magic variable in DRL\n@param mediumWeight never null, higher is better, negative for a penalty, positive for a reward", "docstring_tokens": ["Add", "a", "medium", "level", "constraint", "of", "specified", "weighting", "."], "sha": "b8f1459b4e6b0f7aafe941fd165bff640c11d7d5", "url": "https://github.com/kiegroup/optaplanner/blob/b8f1459b4e6b0f7aafe941fd165bff640c11d7d5/optaplanner-core/src/main/java/org/optaplanner/core/api/score/buildin/hardmediumsoftbigdecimal/HardMediumSoftBigDecimalScoreHolder.java#L196-L201", "partition": "valid"}
+{"repo": "kiegroup/optaplanner", "path": "optaplanner-core/src/main/java/org/optaplanner/core/api/score/buildin/hardmediumsoftbigdecimal/HardMediumSoftBigDecimalScoreHolder.java", "func_name": "HardMediumSoftBigDecimalScoreHolder.addSoftConstraintMatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a soft constraint match of specified weighting.\n\nThis is typically used in Drools scoring to add a low priority constraint match.\n\n@param kcontext never null, the magic variable in DRL\n@param softWeight never null, higher is better, negative for a penalty, positive for a reward", "docstring_tokens": ["Add", "a", "soft", "constraint", "match", "of", "specified", "weighting", "."], "sha": "b8f1459b4e6b0f7aafe941fd165bff640c11d7d5", "url": "https://github.com/kiegroup/optaplanner/blob/b8f1459b4e6b0f7aafe941fd165bff640c11d7d5/optaplanner-core/src/main/java/org/optaplanner/core/api/score/buildin/hardmediumsoftbigdecimal/HardMediumSoftBigDecimalScoreHolder.java#L211-L216", "partition": "valid"}
+{"repo": "kiegroup/optaplanner", "path": "optaplanner-core/src/main/java/org/optaplanner/core/config/domain/ReflectionsWorkaroundClasspathHelper.java", "func_name": "ReflectionsWorkaroundClasspathHelper.cleanPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cleans the URL.\n\n@param url the URL to clean, not null\n@return the path, not null", "docstring_tokens": ["Cleans", "the", "URL", "."], "sha": "b8f1459b4e6b0f7aafe941fd165bff640c11d7d5", "url": "https://github.com/kiegroup/optaplanner/blob/b8f1459b4e6b0f7aafe941fd165bff640c11d7d5/optaplanner-core/src/main/java/org/optaplanner/core/config/domain/ReflectionsWorkaroundClasspathHelper.java#L249-L264", "partition": "valid"}
+{"repo": "kiegroup/optaplanner", "path": "optaplanner-examples/src/main/java/org/optaplanner/examples/investment/domain/InvestmentSolution.java", "func_name": "InvestmentSolution.calculateStandardDeviationSquaredFemtos", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Not incremental.", "docstring_tokens": ["Not", "incremental", "."], "sha": "b8f1459b4e6b0f7aafe941fd165bff640c11d7d5", "url": "https://github.com/kiegroup/optaplanner/blob/b8f1459b4e6b0f7aafe941fd165bff640c11d7d5/optaplanner-examples/src/main/java/org/optaplanner/examples/investment/domain/InvestmentSolution.java#L137-L153", "partition": "valid"}
+{"repo": "kiegroup/optaplanner", "path": "optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/solution/descriptor/SolutionDescriptor.java", "func_name": "SolutionDescriptor.checkIfProblemFactsExist", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Only called if Drools score calculation is used.", "docstring_tokens": ["Only", "called", "if", "Drools", "score", "calculation", "is", "used", "."], "sha": "b8f1459b4e6b0f7aafe941fd165bff640c11d7d5", "url": "https://github.com/kiegroup/optaplanner/blob/b8f1459b4e6b0f7aafe941fd165bff640c11d7d5/optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/solution/descriptor/SolutionDescriptor.java#L303-L311", "partition": "valid"}
+{"repo": "kiegroup/optaplanner", "path": "optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/solution/descriptor/SolutionDescriptor.java", "func_name": "SolutionDescriptor.getProblemScale", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates an indication on how big this problem instance is.\nThis is intentionally very loosely defined for now.\n@param solution never null\n@return {@code >= 0}", "docstring_tokens": ["Calculates", "an", "indication", "on", "how", "big", "this", "problem", "instance", "is", ".", "This", "is", "intentionally", "very", "loosely", "defined", "for", "now", "."], "sha": "b8f1459b4e6b0f7aafe941fd165bff640c11d7d5", "url": "https://github.com/kiegroup/optaplanner/blob/b8f1459b4e6b0f7aafe941fd165bff640c11d7d5/optaplanner-core/src/main/java/org/optaplanner/core/impl/domain/solution/descriptor/SolutionDescriptor.java#L1057-L1065", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/ParSeqRestClient.java", "func_name": "ParSeqRestClient.generateTaskName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a task name for the request.\n@param request\n@return a task name", "docstring_tokens": ["Generates", "a", "task", "name", "for", "the", "request", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/ParSeqRestClient.java#L185-L188", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/ParSeqRestClient.java", "func_name": "ParSeqRestClient.hasRequestContextTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check whether per-request timeout is specified in the given request context.", "docstring_tokens": ["Check", "whether", "per", "-", "request", "timeout", "is", "specified", "in", "the", "given", "request", "context", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/ParSeqRestClient.java#L209-L212", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/ParSeqRestClient.java", "func_name": "ParSeqRestClient.needApplyTaskTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "check whether we need to apply timeout to a rest.li request task.", "docstring_tokens": ["check", "whether", "we", "need", "to", "apply", "timeout", "to", "a", "rest", ".", "li", "request", "task", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/ParSeqRestClient.java#L215-L218", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/ParSeqRestClient.java", "func_name": "ParSeqRestClient.createTaskWithTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Apply timeout to a ParSeq rest.li request task through parseq timer task.", "docstring_tokens": ["Apply", "timeout", "to", "a", "ParSeq", "rest", ".", "li", "request", "task", "through", "parseq", "timer", "task", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/ParSeqRestClient.java#L221-L235", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-tracevis-server/src/main/java/com/linkedin/parseq/GraphvizEngine.java", "func_name": "GraphvizEngine.build", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return task that has general HTTP status and body information based on the build task's result.", "docstring_tokens": ["Return", "task", "that", "has", "general", "HTTP", "status", "and", "body", "information", "based", "on", "the", "build", "task", "s", "result", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-tracevis-server/src/main/java/com/linkedin/parseq/GraphvizEngine.java#L50-L111", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-tracevis-server/src/main/java/com/linkedin/parseq/GraphvizEngine.java", "func_name": "GraphvizEngine.getBuildTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns task that builds graph using graphviz. Returned task might be shared with other concurrent requests.", "docstring_tokens": ["Returns", "task", "that", "builds", "graph", "using", "graphviz", ".", "Returned", "task", "might", "be", "shared", "with", "other", "concurrent", "requests", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-tracevis-server/src/main/java/com/linkedin/parseq/GraphvizEngine.java#L116-L131", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-tracevis-server/src/main/java/com/linkedin/parseq/GraphvizEngine.java", "func_name": "GraphvizEngine.createNewBuildTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns new task that builds graph using graphviz.", "docstring_tokens": ["Returns", "new", "task", "that", "builds", "graph", "using", "graphviz", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-tracevis-server/src/main/java/com/linkedin/parseq/GraphvizEngine.java#L136-L157", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-tracevis-server/src/main/java/com/linkedin/parseq/GraphvizEngine.java", "func_name": "GraphvizEngine.writeGenericFailureInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes error info to a String.", "docstring_tokens": ["Writes", "error", "info", "to", "a", "String", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-tracevis-server/src/main/java/com/linkedin/parseq/GraphvizEngine.java#L175-L183", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/trace/Trace.java", "func_name": "Trace.single", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Need to fix in the next major version release.", "docstring_tokens": ["Need", "to", "fix", "in", "the", "next", "major", "version", "release", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/trace/Trace.java#L39-L41", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-batching/src/main/java/com/linkedin/parseq/batching/BatchingStrategy.java", "func_name": "BatchingStrategy.batchable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns Task that returns value for a single key allowing this strategy to batch operations.\n@param desc description of the task\n@param key key\n@return Task that returns value for a single key allowing this strategy to batch operations", "docstring_tokens": ["This", "method", "returns", "Task", "that", "returns", "value", "for", "a", "single", "key", "allowing", "this", "strategy", "to", "batch", "operations", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-batching/src/main/java/com/linkedin/parseq/batching/BatchingStrategy.java#L113-L133", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-batching/src/main/java/com/linkedin/parseq/batching/BatchingStrategy.java", "func_name": "BatchingStrategy.getBatchName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Overriding this method allows providing custom name for a batch. Name will appear in the\nParSeq trace as a description of the task that executes the batch.\n@param batch batch to be described\n@param group group to be described\n@return name for the batch and group", "docstring_tokens": ["Overriding", "this", "method", "allows", "providing", "custom", "name", "for", "a", "batch", ".", "Name", "will", "appear", "in", "the", "ParSeq", "trace", "as", "a", "description", "of", "the", "task", "that", "executes", "the", "batch", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-batching/src/main/java/com/linkedin/parseq/batching/BatchingStrategy.java#L273-L275", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-batching/src/main/java/com/linkedin/parseq/batching/BatchAggregationTimeMetric.java", "func_name": "BatchAggregationTimeMetric.harvest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allows consuming histogram and returning a result.\nHistogram passed to the consumer includes stable, consistent view\nof all values accumulated since last harvest.\nThis method is thread safe.\n@param consumer consumer for a harvested histogram\n@param return type of a passed in function\n@return a result of a passed in function", "docstring_tokens": ["Allows", "consuming", "histogram", "and", "returning", "a", "result", ".", "Histogram", "passed", "to", "the", "consumer", "includes", "stable", "consistent", "view", "of", "all", "values", "accumulated", "since", "last", "harvest", ".", "This", "method", "is", "thread", "safe", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-batching/src/main/java/com/linkedin/parseq/batching/BatchAggregationTimeMetric.java#L64-L68", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/config/RequestConfigProviderImpl.java", "func_name": "RequestConfigProviderImpl.createDefaultConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Default configuration map must specify default values for all properties.", "docstring_tokens": ["Default", "configuration", "map", "must", "specify", "default", "values", "for", "all", "properties", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/config/RequestConfigProviderImpl.java#L107-L113", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/FusionTask.java", "func_name": "FusionTask.compose", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Composes transformation with the transformation of the predecessor.", "docstring_tokens": ["Composes", "transformation", "with", "the", "transformation", "of", "the", "predecessor", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/FusionTask.java#L121-L160", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/FusionTask.java", "func_name": "FusionTask.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create new FusionTask with an async predecessor.", "docstring_tokens": ["Create", "new", "FusionTask", "with", "an", "async", "predecessor", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/FusionTask.java#L281-L283", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/EngineBuilder.java", "func_name": "EngineBuilder.setEngineProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets an engine related property on the engine.\nThat property can then be accessed by tasks via the Context.\n\n@param key\n@param value\n@return this builder", "docstring_tokens": ["Sets", "an", "engine", "related", "property", "on", "the", "engine", ".", "That", "property", "can", "then", "be", "accessed", "by", "tasks", "via", "the", "Context", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/EngineBuilder.java#L158-L161", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/promise/Promises.java", "func_name": "Promises.value", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new promise that is already resolved with the given value.\n\n@param value the value for the new promise\n@param the type of the value for the promise\n@return the promise", "docstring_tokens": ["Creates", "a", "new", "promise", "that", "is", "already", "resolved", "with", "the", "given", "value", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/promise/Promises.java#L44-L54", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/promise/Promises.java", "func_name": "Promises.propagateResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies the value or error from the source promise to the destination\npromise.\n\n@param source the source promise\n@param dest the destination promise\n@param the value type for both promises", "docstring_tokens": ["Copies", "the", "value", "or", "error", "from", "the", "source", "promise", "to", "the", "destination", "promise", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/promise/Promises.java#L85-L87", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-examples/src/main/java/com/linkedin/parseq/example/domain/Examples.java", "func_name": "Examples.createResilientSummary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "handles failures delivering degraded experience", "docstring_tokens": ["handles", "failures", "delivering", "degraded", "experience"], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-examples/src/main/java/com/linkedin/parseq/example/domain/Examples.java#L43-L45", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-examples/src/main/java/com/linkedin/parseq/example/domain/Examples.java", "func_name": "Examples.createResponsiveSummary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "handles failures delivering degraded experience in timely fashion", "docstring_tokens": ["handles", "failures", "delivering", "degraded", "experience", "in", "timely", "fashion"], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-examples/src/main/java/com/linkedin/parseq/example/domain/Examples.java#L50-L52", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-examples/src/main/java/com/linkedin/parseq/example/domain/Examples.java", "func_name": "Examples.createConnectionsSummaries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "create list of summaries, one per each connection", "docstring_tokens": ["create", "list", "of", "summaries", "one", "per", "each", "connection"], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-examples/src/main/java/com/linkedin/parseq/example/domain/Examples.java#L78-L80", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/Tasks.java", "func_name": "Tasks.withSideEffect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a task that will run another task as a side effect once the primary task\ncompletes successfully. The side effect will not be run if the primary task fails or\nis canceled. The entire task is marked done once the base task completes, even if\nthe side effect has not been run.\n\n@param parent the primary task.\n@param sideEffect the side effect of the primary task.\n@param the result value of the parent task, and the resulting task.\n@return a new task that will be done once parent completes, but has the given side effect.\n@deprecated As of 2.0.0, replaced by {@link Task#withSideEffect(String, com.linkedin.parseq.function.Function1) Task.withSideEffect}\n@see Task#withSideEffect(String, com.linkedin.parseq.function.Function1) Task.withSideEffect", "docstring_tokens": ["Creates", "a", "task", "that", "will", "run", "another", "task", "as", "a", "side", "effect", "once", "the", "primary", "task", "completes", "successfully", ".", "The", "side", "effect", "will", "not", "be", "run", "if", "the", "primary", "task", "fails", "or", "is", "canceled", ".", "The", "entire", "task", "is", "marked", "done", "once", "the", "base", "task", "completes", "even", "if", "the", "side", "effect", "has", "not", "been", "run", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/Tasks.java#L250-L253", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/Tasks.java", "func_name": "Tasks.timeoutWithError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new task that wraps the given task. If the given task finishes\nbefore the timeout occurs then this task takes on the value of the task.\nIf the task does not complete in the given time then this task will\nhave a TimeoutException. The wrapped task may be cancelled when a timeout\noccurs.\n\n@param time the time to wait before timing out\n@param unit the units for the time\n@param task the task to wrap\n@param the value type for the task\n@return the new timeout task\n@deprecated As of 2.0.0, replaced by {@link Task#withTimeout(long, TimeUnit) Task.withTimeout}.\n@see Task#withTimeout(long, TimeUnit) Task.withTimeout", "docstring_tokens": ["Creates", "a", "new", "task", "that", "wraps", "the", "given", "task", ".", "If", "the", "given", "task", "finishes", "before", "the", "timeout", "occurs", "then", "this", "task", "takes", "on", "the", "value", "of", "the", "task", ".", "If", "the", "task", "does", "not", "complete", "in", "the", "given", "time", "then", "this", "task", "will", "have", "a", "TimeoutException", ".", "The", "wrapped", "task", "may", "be", "cancelled", "when", "a", "timeout", "occurs", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/Tasks.java#L379-L382", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-zk-client/src/main/java/com/linkedin/parseq/zk/client/ZKUtil.java", "func_name": "ZKUtil.findNodeWithNextLowestSN", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds node with next lowest sequence number than the given node within\nthe given list of nodes.\n\n@param children list of children\n@param node the given node to compare sequence number with\n@return the node with next lowest sequence number", "docstring_tokens": ["Finds", "node", "with", "next", "lowest", "sequence", "number", "than", "the", "given", "node", "within", "the", "given", "list", "of", "nodes", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-zk-client/src/main/java/com/linkedin/parseq/zk/client/ZKUtil.java#L78-L92", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/BaseTask.java", "func_name": "BaseTask.appendTaskStackTrace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Concatenate stack traces if kept the original stack trace from the task creation", "docstring_tokens": ["Concatenate", "stack", "traces", "if", "kept", "the", "original", "stack", "trace", "from", "the", "task", "creation"], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/BaseTask.java#L331-L390", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/internal/ExecutionMonitor.java", "func_name": "ExecutionMonitor.monitor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Main loop of monitoring thread.", "docstring_tokens": ["Main", "loop", "of", "monitoring", "thread", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/internal/ExecutionMonitor.java#L159-L170", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/internal/ExecutionMonitor.java", "func_name": "ExecutionMonitor.checkForStall", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check how much we missed scheduled wake up and if it is larger than _minStallNano\nthen consider it a stall and remember it.", "docstring_tokens": ["Check", "how", "much", "we", "missed", "scheduled", "wake", "up", "and", "if", "it", "is", "larger", "than", "_minStallNano", "then", "consider", "it", "a", "stall", "and", "remember", "it", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/internal/ExecutionMonitor.java#L228-L240", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/retry/RetriableTask.java", "func_name": "RetriableTask.withRetryPolicy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A helper for creating task wrapper with associated retry policy.\n\n@param name A name of the task that needs to be retried.\n@param policy Retry policy that will control this task's behavior.\n@param taskFunction A task generator function. It will receive a zero-based attempt number as a parameter.\n@param Type of a task result.", "docstring_tokens": ["A", "helper", "for", "creating", "task", "wrapper", "with", "associated", "retry", "policy", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/retry/RetriableTask.java#L66-L71", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/retry/RetriableTask.java", "func_name": "RetriableTask.wrap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a wrapped task with associated recovery task that will retry if necessary.", "docstring_tokens": ["Create", "a", "wrapped", "task", "with", "associated", "recovery", "task", "that", "will", "retry", "if", "necessary", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/retry/RetriableTask.java#L74-L105", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/retry/RetriableTask.java", "func_name": "RetriableTask.retry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invoke event monitors and schedule a retry if policy allows.", "docstring_tokens": ["Invoke", "event", "monitors", "and", "schedule", "a", "retry", "if", "policy", "allows", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/retry/RetriableTask.java#L108-L126", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/retry/RetriableTask.java", "func_name": "RetriableTask.run", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts a retriable task", "docstring_tokens": ["Starts", "a", "retriable", "task"], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/retry/RetriableTask.java#L129-L134", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/config/ConfigValueCoercers.java", "func_name": "ConfigValueCoercers.failCoercion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a consistent exception that can be used if coercion fails.", "docstring_tokens": ["Generates", "a", "consistent", "exception", "that", "can", "be", "used", "if", "coercion", "fails", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/config/ConfigValueCoercers.java#L114-L118", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/ParSeqRestliClientBuilder.java", "func_name": "ParSeqRestliClientBuilder.setRestClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the underlying Rest.li client implementation.\n\n@param client The underlying Rest.li client\n@deprecated Use #setClient instead\n@return The builder itself", "docstring_tokens": ["Sets", "the", "underlying", "Rest", ".", "li", "client", "implementation", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-restli-client/src/main/java/com/linkedin/restli/client/ParSeqRestliClientBuilder.java#L101-L106", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-zk-client/src/main/java/com/linkedin/parseq/zk/recipes/ZKLock.java", "func_name": "ZKLock.acquire", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Try to acquire the lock within the given deadline.", "docstring_tokens": ["Try", "to", "acquire", "the", "lock", "within", "the", "given", "deadline", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-zk-client/src/main/java/com/linkedin/parseq/zk/recipes/ZKLock.java#L99-L110", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-zk-client/src/main/java/com/linkedin/parseq/zk/recipes/ZKLock.java", "func_name": "ZKLock.release", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Try to release the lock.", "docstring_tokens": ["Try", "to", "release", "the", "lock", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-zk-client/src/main/java/com/linkedin/parseq/zk/recipes/ZKLock.java#L115-L136", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq/src/main/java/com/linkedin/parseq/Engine.java", "func_name": "Engine.tryAcquirePermit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "rate limiter and then from plan class level rate limit if specified.", "docstring_tokens": ["rate", "limiter", "and", "then", "from", "plan", "class", "level", "rate", "limit", "if", "specified", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq/src/main/java/com/linkedin/parseq/Engine.java#L471-L474", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-http-client/src/main/java/com/linkedin/parseq/httpclient/HttpClient.java", "func_name": "HttpClient.getNingClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns raw http client. If client has not been initialized yet\nthen new client is created with default configuration.\n@return raw http client", "docstring_tokens": ["Returns", "raw", "http", "client", ".", "If", "client", "has", "not", "been", "initialized", "yet", "then", "new", "client", "is", "created", "with", "default", "configuration", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-http-client/src/main/java/com/linkedin/parseq/httpclient/HttpClient.java#L18-L23", "partition": "valid"}
+{"repo": "linkedin/parseq", "path": "subprojects/parseq-http-client/src/main/java/com/linkedin/parseq/httpclient/HttpClient.java", "func_name": "HttpClient.initialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes HttpClient with custom configuration.\n@param cfg client configuration\n@see AsyncHttpClientConfig", "docstring_tokens": ["Initializes", "HttpClient", "with", "custom", "configuration", "."], "sha": "35b194c2837ad45c36e80c2333c5feeb561ca24e", "url": "https://github.com/linkedin/parseq/blob/35b194c2837ad45c36e80c2333c5feeb561ca24e/subprojects/parseq-http-client/src/main/java/com/linkedin/parseq/httpclient/HttpClient.java#L30-L35", "partition": "valid"}
+{"repo": "noties/Markwon", "path": "markwon-html/src/main/java/ru/noties/markwon/html/jsoup/parser/CharacterReader.java", "func_name": "CharacterReader.consumeToAny", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read characters until the first of any delimiters is found.\n\n@param chars delimiters to scan for\n@return characters read up to the matched delimiter.", "docstring_tokens": ["Read", "characters", "until", "the", "first", "of", "any", "delimiters", "is", "found", "."], "sha": "77b34552b93da3b6e2a23ec16a7993c9970a0d62", "url": "https://github.com/noties/Markwon/blob/77b34552b93da3b6e2a23ec16a7993c9970a0d62/markwon-html/src/main/java/ru/noties/markwon/html/jsoup/parser/CharacterReader.java#L210-L226", "partition": "valid"}
+{"repo": "noties/Markwon", "path": "markwon-html/src/main/java/ru/noties/markwon/html/jsoup/helper/Validate.java", "func_name": "Validate.noNullElements", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates that the array contains no null elements\n@param objects the array to test\n@param msg message to output if validation fails", "docstring_tokens": ["Validates", "that", "the", "array", "contains", "no", "null", "elements"], "sha": "77b34552b93da3b6e2a23ec16a7993c9970a0d62", "url": "https://github.com/noties/Markwon/blob/77b34552b93da3b6e2a23ec16a7993c9970a0d62/markwon-html/src/main/java/ru/noties/markwon/html/jsoup/helper/Validate.java#L80-L84", "partition": "valid"}
+{"repo": "noties/Markwon", "path": "markwon-html/src/main/java/ru/noties/markwon/html/jsoup/helper/Validate.java", "func_name": "Validate.notEmpty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates that the string is not empty\n@param string the string to test\n@param msg message to output if validation fails", "docstring_tokens": ["Validates", "that", "the", "string", "is", "not", "empty"], "sha": "77b34552b93da3b6e2a23ec16a7993c9970a0d62", "url": "https://github.com/noties/Markwon/blob/77b34552b93da3b6e2a23ec16a7993c9970a0d62/markwon-html/src/main/java/ru/noties/markwon/html/jsoup/helper/Validate.java#L100-L103", "partition": "valid"}
+{"repo": "siyamed/android-shape-imageview", "path": "library/src/main/java/com/github/siyamed/shapeimageview/path/parser/TransformParser.java", "func_name": "TransformParser.parseTransform", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "delims are whitespace or ,'s", "docstring_tokens": ["delims", "are", "whitespace", "or", "s"], "sha": "e38e701b228e97229216d145f524deeb12152bfe", "url": "https://github.com/siyamed/android-shape-imageview/blob/e38e701b228e97229216d145f524deeb12152bfe/library/src/main/java/com/github/siyamed/shapeimageview/path/parser/TransformParser.java#L12-L25", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/gridfs/GridFS.java", "func_name": "GridFS.getFileList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a sorted, filtered list of files stored in this gridfs.\n\n@param query filter to apply\n@param sort sorting to apply\n@return cursor of file objects", "docstring_tokens": ["Gets", "a", "sorted", "filtered", "list", "of", "files", "stored", "in", "this", "gridfs", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/gridfs/GridFS.java#L148-L150", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/gridfs/GridFS.java", "func_name": "GridFS.find", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds a list of files matching the given filename.\n\n@param filename the filename to look for\n@param sort the fields to sort with\n@return list of gridfs files\n@throws com.mongodb.MongoException if the operation fails", "docstring_tokens": ["Finds", "a", "list", "of", "files", "matching", "the", "given", "filename", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/gridfs/GridFS.java#L215-L217", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/gridfs/GridFS.java", "func_name": "GridFS.find", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds a list of files matching the given query.\n\n@param query the filter to apply\n@param sort the fields to sort with\n@return list of gridfs files\n@throws com.mongodb.MongoException if the operation fails", "docstring_tokens": ["Finds", "a", "list", "of", "files", "matching", "the", "given", "query", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/gridfs/GridFS.java#L238-L254", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/gridfs/GridFS.java", "func_name": "GridFS.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the file matching the given id.\n\n@param id the id of the file to be removed\n@throws com.mongodb.MongoException if the operation fails", "docstring_tokens": ["Removes", "the", "file", "matching", "the", "given", "id", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/gridfs/GridFS.java#L276-L283", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/gridfs/GridFS.java", "func_name": "GridFS.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all files matching the given query.\n\n@param query filter to apply\n@throws com.mongodb.MongoException if the operation fails", "docstring_tokens": ["Removes", "all", "files", "matching", "the", "given", "query", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/gridfs/GridFS.java#L305-L313", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/types/BasicBSONList.java", "func_name": "BasicBSONList.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts a value at an index. For interface compatibility. Must be passed a String that is parsable to an int.\n\n@param key the index at which to insert the value\n@param v the value to insert\n@return the value\n@throws IllegalArgumentException if {@code key} cannot be parsed into an {@code int}", "docstring_tokens": ["Puts", "a", "value", "at", "an", "index", ".", "For", "interface", "compatibility", ".", "Must", "be", "passed", "a", "String", "that", "is", "parsable", "to", "an", "int", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/types/BasicBSONList.java#L62-L65", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/types/BasicBSONList.java", "func_name": "BasicBSONList.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a value at an index. For interface compatibility. Must be passed a String that is parsable to an int.\n\n@param key the index\n@return the value, if found, or null\n@throws IllegalArgumentException if {@code key} cannot be parsed into an {@code int}", "docstring_tokens": ["Gets", "a", "value", "at", "an", "index", ".", "For", "interface", "compatibility", ".", "Must", "be", "passed", "a", "String", "that", "is", "parsable", "to", "an", "int", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/types/BasicBSONList.java#L104-L113", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/codecs/pojo/TypeData.java", "func_name": "TypeData.builder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new builder for ClassTypeData\n\n@param type the class for the type\n@param the type\n@return the builder", "docstring_tokens": ["Creates", "a", "new", "builder", "for", "ClassTypeData"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/codecs/pojo/TypeData.java#L46-L48", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/operation/ListIndexesOperation.java", "func_name": "ListIndexesOperation.getMaxTime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the maximum execution time on the server for this operation. The default is 0, which places no limit on the execution time.\n\n@param timeUnit the time unit to return the result in\n@return the maximum execution time in the given time unit\n@mongodb.driver.manual reference/operator/meta/maxTimeMS/ Max Time", "docstring_tokens": ["Gets", "the", "maximum", "execution", "time", "on", "the", "server", "for", "this", "operation", ".", "The", "default", "is", "0", "which", "places", "no", "limit", "on", "the", "execution", "time", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/operation/ListIndexesOperation.java#L123-L126", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/MongoCompressor.java", "func_name": "MongoCompressor.withProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new compressor from this compressor with the given property added to it.\n\n@param key the property key\n@param value the property value\n@param the property value type\n@return the new compressor", "docstring_tokens": ["Creates", "a", "new", "compressor", "from", "this", "compressor", "with", "the", "given", "property", "added", "to", "it", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/MongoCompressor.java#L126-L128", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/ReplicaSetStatus.java", "func_name": "ReplicaSetStatus.getName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the name of the replica set.\n\n@return the name of the replica set.", "docstring_tokens": ["Get", "the", "name", "of", "the", "replica", "set", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/ReplicaSetStatus.java#L47-L52", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/ReplicaSetStatus.java", "func_name": "ReplicaSetStatus.getMaster", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the ServerAddress of the master server in this replica set.\n\n@return master or null if don't have one\n@throws MongoException if there's a failure", "docstring_tokens": ["Gets", "the", "ServerAddress", "of", "the", "master", "server", "in", "this", "replica", "set", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/ReplicaSetStatus.java#L60-L65", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/ReplicaSetStatus.java", "func_name": "ReplicaSetStatus.isMaster", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks to see if a given server is the primary server in this replica set.\n\n@param serverAddress the server to compare\n@return true if the given ServerAddress is the current Master/Primary", "docstring_tokens": ["Checks", "to", "see", "if", "a", "given", "server", "is", "the", "primary", "server", "in", "this", "replica", "set", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/ReplicaSetStatus.java#L73-L76", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/ReplicaSetStatus.java", "func_name": "ReplicaSetStatus.getMaxBsonObjectSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the maximum size for a BSON object supported by the current master server. Note that this value may change over time depending\non which server is master.\n\n@return the maximum size, or 0 if not obtained from servers yet.\n@throws MongoException if there's a failure", "docstring_tokens": ["Gets", "the", "maximum", "size", "for", "a", "BSON", "object", "supported", "by", "the", "current", "master", "server", ".", "Note", "that", "this", "value", "may", "change", "over", "time", "depending", "on", "which", "server", "is", "master", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/ReplicaSetStatus.java#L85-L89", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/QueryBuilder.java", "func_name": "QueryBuilder.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new key to the query if not present yet. Sets this key as the current key.\n\n@param key MongoDB document key\n@return {@code this}", "docstring_tokens": ["Adds", "a", "new", "key", "to", "the", "query", "if", "not", "present", "yet", ".", "Sets", "this", "key", "as", "the", "current", "key", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/QueryBuilder.java#L69-L75", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-sync/src/main/com/mongodb/client/internal/ClientSessionImpl.java", "func_name": "ClientSessionImpl.applyMajorityWriteConcernToTransactionOptions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Apply majority write concern if the commit is to be retried.", "docstring_tokens": ["Apply", "majority", "write", "concern", "if", "the", "commit", "is", "to", "be", "retried", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-sync/src/main/com/mongodb/client/internal/ClientSessionImpl.java#L227-L240", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/CommandResult.java", "func_name": "CommandResult.ok", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the \"ok\" field, which is whether this command executed correctly or not.\n\n@return true if the command executed without error.", "docstring_tokens": ["Gets", "the", "ok", "field", "which", "is", "whether", "this", "command", "executed", "correctly", "or", "not", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/CommandResult.java#L50-L59", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/CommandResult.java", "func_name": "CommandResult.getErrorMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the error message associated with a failed command.\n\n@return The error message or null", "docstring_tokens": ["Gets", "the", "error", "message", "associated", "with", "a", "failed", "command", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/CommandResult.java#L66-L73", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/codecs/pojo/PropertyModelBuilder.java", "func_name": "PropertyModelBuilder.readAnnotations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the read annotations, to be applied when serializing to BSON\n\n@param annotations the read annotations\n@return this", "docstring_tokens": ["Sets", "the", "read", "annotations", "to", "be", "applied", "when", "serializing", "to", "BSON"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/codecs/pojo/PropertyModelBuilder.java#L150-L153", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/operation/IndexHelper.java", "func_name": "IndexHelper.getIndexNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a list of index names for the given list of index models\n\n@param indexes the index models\n@param codecRegistry the codec registry to convert each Bson key to a BsonDocument\n@return the list of index names", "docstring_tokens": ["Get", "a", "list", "of", "index", "names", "for", "the", "given", "list", "of", "index", "models"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/operation/IndexHelper.java#L41-L52", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/operation/IndexHelper.java", "func_name": "IndexHelper.generateIndexName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience method to generate an index name from the set of fields it is over.\n\n@return a string representation of this index's fields", "docstring_tokens": ["Convenience", "method", "to", "generate", "an", "index", "name", "from", "the", "set", "of", "fields", "it", "is", "over", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/operation/IndexHelper.java#L59-L74", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/gridfs/GridFSFile.java", "func_name": "GridFSFile.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the MD5 matches between the database and the local file. This should be called after transferring a file.\n\n@throws MongoException if there's a failure\n@deprecated there is no replacement for this method", "docstring_tokens": ["Verifies", "that", "the", "MD5", "matches", "between", "the", "database", "and", "the", "local", "file", ".", "This", "should", "be", "called", "after", "transferring", "a", "file", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/gridfs/GridFSFile.java#L78-L101", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/codecs/BsonTypeCodecMap.java", "func_name": "BsonTypeCodecMap.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the Codec mapped to the given bson type.\n\n@param bsonType the non-null BsonType\n@return the non-null Codec", "docstring_tokens": ["Gets", "the", "Codec", "mapped", "to", "the", "given", "bson", "type", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/codecs/BsonTypeCodecMap.java#L61-L72", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-async/src/main/com/mongodb/async/client/MongoIterableSubscription.java", "func_name": "MongoIterableSubscription.calculateBatchSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the batchSize to be used with the cursor.\n\n
If the batch size has been set on the MongoIterable that is used, otherwise the requested demand is used. When using requested\ndemand, values less than 2 would close the cursor so that is the minimum batchSize and `Integer.MAX_VALUE` is the maximum.
\n\n@return the batchSize to use", "docstring_tokens": ["Returns", "the", "batchSize", "to", "be", "used", "with", "the", "cursor", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-async/src/main/com/mongodb/async/client/MongoIterableSubscription.java#L116-L129", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/internal/UnsignedLongs.java", "func_name": "UnsignedLongs.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Equivalent to Long.parseUnsignedLong in Java 8.\n\n@param string the string representation of an unsigned long\n@return the unsigned long", "docstring_tokens": ["Equivalent", "to", "Long", ".", "parseUnsignedLong", "in", "Java", "8", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/internal/UnsignedLongs.java#L71-L90", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/codecs/DecoderContext.java", "func_name": "DecoderContext.decodeWithChildContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a child context and then deserializes using the reader.\n\n@param decoder the decoder to decode with\n@param reader the reader to decode to\n@param the type of the decoder\n@return the decoded value\n@since 3.5", "docstring_tokens": ["Creates", "a", "child", "context", "and", "then", "deserializes", "using", "the", "reader", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/codecs/DecoderContext.java#L92-L94", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/AbstractBsonWriter.java", "func_name": "AbstractBsonWriter.checkState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if this writer's current state is in the list of given states.\n\n@param validStates an array of {@code State}s to compare this writer's state to.\n@return true if this writer's state is in the given list.", "docstring_tokens": ["Checks", "if", "this", "writer", "s", "current", "state", "is", "in", "the", "list", "of", "given", "states", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/AbstractBsonWriter.java#L675-L682", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/AbstractBsonWriter.java", "func_name": "AbstractBsonWriter.pipe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a single document from the given BsonReader and writes it to this, appending the given extra elements to the document.\n\n@param reader the source of the document\n@param extraElements the extra elements to append to the document\n@since 3.6", "docstring_tokens": ["Reads", "a", "single", "document", "from", "the", "given", "BsonReader", "and", "writes", "it", "to", "this", "appending", "the", "given", "extra", "elements", "to", "the", "document", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/AbstractBsonWriter.java#L766-L770", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/AbstractBsonWriter.java", "func_name": "AbstractBsonWriter.pipeExtraElements", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pipe a list of extra element to this writer\n\n@param extraElements the extra elements", "docstring_tokens": ["Pipe", "a", "list", "of", "extra", "element", "to", "this", "writer"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/AbstractBsonWriter.java#L777-L783", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/types/ObjectId.java", "func_name": "ObjectId.toByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert to a byte array. Note that the numbers are stored in big-endian order.\n\n@return the byte array", "docstring_tokens": ["Convert", "to", "a", "byte", "array", ".", "Note", "that", "the", "numbers", "are", "stored", "in", "big", "-", "endian", "order", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/types/ObjectId.java#L270-L274", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/types/ObjectId.java", "func_name": "ObjectId.putToByteBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert to bytes and put those bytes to the provided ByteBuffer.\nNote that the numbers are stored in big-endian order.\n\n@param buffer the ByteBuffer\n@throws IllegalArgumentException if the buffer is null or does not have at least 12 bytes remaining\n@since 3.4", "docstring_tokens": ["Convert", "to", "bytes", "and", "put", "those", "bytes", "to", "the", "provided", "ByteBuffer", ".", "Note", "that", "the", "numbers", "are", "stored", "in", "big", "-", "endian", "order", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/types/ObjectId.java#L284-L300", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/types/ObjectId.java", "func_name": "ObjectId.toHexString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts this instance into a 24-byte hexadecimal string representation.\n\n@return a string representation of the ObjectId in hexadecimal format", "docstring_tokens": ["Converts", "this", "instance", "into", "a", "24", "-", "byte", "hexadecimal", "string", "representation", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/types/ObjectId.java#L325-L333", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ServerDescription.java", "func_name": "ServerDescription.getShortDescription", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a short, pretty description for this ServerDescription.\n\n@return a String containing the most pertinent information about this ServerDescription", "docstring_tokens": ["Returns", "a", "short", "pretty", "description", "for", "this", "ServerDescription", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ServerDescription.java#L923-L932", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/BasicDBObjectBuilder.java", "func_name": "BasicDBObjectBuilder.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an object builder from an existing map of key value pairs.\n\n@param documentAsMap a document in Map form.\n@return the new builder", "docstring_tokens": ["Creates", "an", "object", "builder", "from", "an", "existing", "map", "of", "key", "value", "pairs", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/BasicDBObjectBuilder.java#L66-L75", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/BasicDBObjectBuilder.java", "func_name": "BasicDBObjectBuilder.push", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an new empty object and inserts it into the current object with the given key. The new child object becomes the active one.\n\n@param key the field name\n@return {@code this} so calls can be chained", "docstring_tokens": ["Creates", "an", "new", "empty", "object", "and", "inserts", "it", "into", "the", "current", "object", "with", "the", "given", "key", ".", "The", "new", "child", "object", "becomes", "the", "active", "one", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/BasicDBObjectBuilder.java#L107-L112", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/BulkWriteBatchCombiner.java", "func_name": "BulkWriteBatchCombiner.addResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a result\n\n@param result the result\n@param indexMap the index map", "docstring_tokens": ["Add", "a", "result"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/BulkWriteBatchCombiner.java#L83-L89", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/BulkWriteBatchCombiner.java", "func_name": "BulkWriteBatchCombiner.addErrorResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an error result\n\n@param exception the exception\n@param indexMap the index map", "docstring_tokens": ["Add", "an", "error", "result"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/BulkWriteBatchCombiner.java#L97-L101", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/BulkWriteBatchCombiner.java", "func_name": "BulkWriteBatchCombiner.addWriteErrorResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a write error result\n\n@param writeError the write error\n@param indexMap the index map", "docstring_tokens": ["Add", "a", "write", "error", "result"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/BulkWriteBatchCombiner.java#L109-L112", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/BulkWriteBatchCombiner.java", "func_name": "BulkWriteBatchCombiner.addErrorResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a list of error results and a write concern error\n\n@param writeErrors the errors\n@param writeConcernError the write concern error\n@param indexMap the index map", "docstring_tokens": ["Add", "a", "list", "of", "error", "results", "and", "a", "write", "concern", "error"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/BulkWriteBatchCombiner.java#L131-L135", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/BulkWriteBatchCombiner.java", "func_name": "BulkWriteBatchCombiner.getError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the combined errors as an exception\n@return the bulk write exception, or null if there were no errors", "docstring_tokens": ["Gets", "the", "combined", "errors", "as", "an", "exception"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/BulkWriteBatchCombiner.java#L169-L175", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java", "func_name": "Node.casNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "compareAndSet next link", "docstring_tokens": ["compareAndSet", "next", "link"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java#L181-L183", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java", "func_name": "Node.nextNonmarker", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns next node, ignoring deletion marker.", "docstring_tokens": ["Returns", "next", "node", "ignoring", "deletion", "marker", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java#L242-L245", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java", "func_name": "Node.successor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the next non-deleted node, swinging next pointer\naround any encountered deleted nodes, and also patching up\nsuccessor's prev link to point back to this. Returns\nnull if this node is trailer so has no successor.\n\n@return successor, or null if no such", "docstring_tokens": ["Returns", "the", "next", "non", "-", "deleted", "node", "swinging", "next", "pointer", "around", "any", "encountered", "deleted", "nodes", "and", "also", "patching", "up", "successor", "s", "prev", "link", "to", "point", "back", "to", "this", ".", "Returns", "null", "if", "this", "node", "is", "trailer", "so", "has", "no", "successor", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java#L255-L270", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java", "func_name": "Node.predecessor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the previous non-deleted node, patching up pointers\nas needed. Returns null if this node is header so has no\nsuccessor. May also return null if this node is deleted,\nso doesn't have a distinct predecessor.\n\n@return predecessor, or null if not found", "docstring_tokens": ["Returns", "the", "previous", "non", "-", "deleted", "node", "patching", "up", "pointers", "as", "needed", ".", "Returns", "null", "if", "this", "node", "is", "header", "so", "has", "no", "successor", ".", "May", "also", "return", "null", "if", "this", "node", "is", "deleted", "so", "doesn", "t", "have", "a", "distinct", "predecessor", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java#L299-L315", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java", "func_name": "Node.forward", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the next node containing a nondeleted user element.\nUse for forward list traversal.\n\n@return successor, or null if no such", "docstring_tokens": ["Returns", "the", "next", "node", "containing", "a", "nondeleted", "user", "element", ".", "Use", "for", "forward", "list", "traversal", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java#L323-L326", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java", "func_name": "Node.back", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns previous node containing a nondeleted user element, if\npossible. Use for backward list traversal, but beware that\nif this method is called from a deleted node, it might not\nbe able to determine a usable predecessor.\n\n@return predecessor, or null if no such could be found", "docstring_tokens": ["Returns", "previous", "node", "containing", "a", "nondeleted", "user", "element", "if", "possible", ".", "Use", "for", "backward", "list", "traversal", "but", "beware", "that", "if", "this", "method", "is", "called", "from", "a", "deleted", "node", "it", "might", "not", "be", "able", "to", "determine", "a", "usable", "predecessor", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java#L336-L339", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java", "func_name": "Node.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to insert a node holding element as successor, failing\nif this node is deleted.\n\n@param element the element\n@return the new node, or null on failure", "docstring_tokens": ["Tries", "to", "insert", "a", "node", "holding", "element", "as", "successor", "failing", "if", "this", "node", "is", "deleted", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java#L348-L359", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java", "func_name": "Node.prepend", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to insert a node holding element as predecessor, failing\nif no live predecessor can be found to link to.\n\n@param element the element\n@return the new node, or null on failure", "docstring_tokens": ["Tries", "to", "insert", "a", "node", "holding", "element", "as", "predecessor", "failing", "if", "no", "live", "predecessor", "can", "be", "found", "to", "link", "to", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java#L368-L379", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java", "func_name": "Node.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to mark this node as deleted, failing if already\ndeleted or if this node is header or trailer.\n\n@return true if successful", "docstring_tokens": ["Tries", "to", "mark", "this", "node", "as", "deleted", "failing", "if", "already", "deleted", "or", "if", "this", "node", "is", "header", "or", "trailer", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java#L387-L397", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java", "func_name": "Node.replace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to insert a node holding element to replace this node.\nfailing if already deleted. A currently unused proof of\nconcept that demonstrates atomic node content replacement.\n\nAlthough this implementation ensures that exactly one\nversion of this Node is alive at a given time, it fails to\nmaintain atomicity in the sense that iterators may\nencounter both the old and new versions of the element.\n\n@param newElement the new element\n@return the new node, or null on failure", "docstring_tokens": ["Tries", "to", "insert", "a", "node", "holding", "element", "to", "replace", "this", "node", ".", "failing", "if", "already", "deleted", ".", "A", "currently", "unused", "proof", "of", "concept", "that", "demonstrates", "atomic", "node", "content", "replacement", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/ConcurrentLinkedDeque.java#L412-L425", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/operation/FsyncUnlockOperation.java", "func_name": "FsyncUnlockOperation.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unlocks the MongoDB server, allowing write operations to go through.\n\n@param binding the binding to execute in the context of\n@return the result of the operation\n@deprecated use {@link #execute(ReadBinding)} instead.", "docstring_tokens": ["Unlocks", "the", "MongoDB", "server", "allowing", "write", "operations", "to", "go", "through", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/operation/FsyncUnlockOperation.java#L53-L66", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.choose", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Chooses the servers from the given cluster than match this read preference.\n\n@param clusterDescription the cluster description\n@return a list of matching server descriptions, which may be empty but may not be null", "docstring_tokens": ["Chooses", "the", "servers", "from", "the", "given", "cluster", "than", "match", "this", "read", "preference", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L76-L88", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.primaryPreferred", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a read preference that forces reads to the primary if available, otherwise to a secondary.\n\n@param maxStaleness the max allowable staleness of secondaries. The minimum value is either 90 seconds, or the heartbeat frequency\nplus 10 seconds, whichever is greatest.\n@param timeUnit the time unit of maxStaleness\n@return ReadPreference which reads primary if available.\n@since 3.4\n@see TaggableReadPreference#getMaxStaleness(TimeUnit)", "docstring_tokens": ["Gets", "a", "read", "preference", "that", "forces", "reads", "to", "the", "primary", "if", "available", "otherwise", "to", "a", "secondary", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L149-L151", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.secondary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a read preference that forces reads to a secondary that is less stale than the given maximum.\n\n
\nThe driver estimates the staleness of each secondary, based on lastWriteDate values provided in server isMaster responses,\nand selects only those secondaries whose staleness is less than or equal to maxStaleness.\n
\n\n@param maxStaleness the max allowable staleness of secondaries. The minimum value is either 90 seconds, or the heartbeat frequency\nplus 10 seconds, whichever is greatest.\n@param timeUnit the time unit of maxStaleness\n@return ReadPreference which reads secondary.\n@since 3.4\n@see TaggableReadPreference#getMaxStaleness(TimeUnit)", "docstring_tokens": ["Gets", "a", "read", "preference", "that", "forces", "reads", "to", "a", "secondary", "that", "is", "less", "stale", "than", "the", "given", "maximum", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L168-L170", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.secondaryPreferred", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a read preference that forces reads to a secondary that is less stale than the given maximumm if one is available,\notherwise to the primary.\n\n
\nThe driver estimates the staleness of each secondary, based on lastWriteDate values provided in server isMaster responses,\nand selects only those secondaries whose staleness is less than or equal to maxStaleness.\n
*\n@param maxStaleness the max allowable staleness of secondaries. The minimum value is either 90 seconds, or the heartbeat frequency\nplus 10 seconds, whichever is greatest.\n@param timeUnit the time unit of maxStaleness\n@return ReadPreference which reads secondary if available, otherwise from primary.\n@since 3.4\n@see TaggableReadPreference#getMaxStaleness(TimeUnit)", "docstring_tokens": ["Gets", "a", "read", "preference", "that", "forces", "reads", "to", "a", "secondary", "that", "is", "less", "stale", "than", "the", "given", "maximumm", "if", "one", "is", "available", "otherwise", "to", "the", "primary", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L187-L189", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.nearest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a read preference that forces reads to a primary or a secondary that is less stale than the given maximum.\n\n
\nThe driver estimates the staleness of each secondary, based on lastWriteDate values provided in server isMaster responses,\nand selects only those secondaries whose staleness is less than or equal to maxStaleness.\n
\n\n@param maxStaleness the max allowable staleness of secondaries. The minimum value is either 90 seconds, or the heartbeat frequency\nplus 10 seconds, whichever is greatest.\n@param timeUnit the time unit of maxStaleness\n@return ReadPreference which reads nearest\n@since 3.4\n@see TaggableReadPreference#getMaxStaleness(TimeUnit)", "docstring_tokens": ["Gets", "a", "read", "preference", "that", "forces", "reads", "to", "a", "primary", "or", "a", "secondary", "that", "is", "less", "stale", "than", "the", "given", "maximum", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L206-L208", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.primaryPreferred", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a read preference that forces reads to the primary if available, otherwise to a secondary with the given set of tags\nthat is less stale than the given maximum.\n\n
\nThe driver estimates the staleness of each secondary, based on lastWriteDate values provided in server isMaster responses,\nand selects only those secondaries whose staleness is less than or equal to maxStaleness.\n
\n\n@param tagSet the set of tags to limit the list of secondaries to.\n@param maxStaleness the max allowable staleness of secondaries. The minimum value is either 90 seconds, or the heartbeat frequency\nplus 10 seconds, whichever is greatest.\n@param timeUnit the time unit of maxStaleness\n@return ReadPreference which reads primary if available, otherwise a secondary respective of tags.\\\n@since 3.4\n@see TaggableReadPreference#getMaxStaleness(TimeUnit)", "docstring_tokens": ["Gets", "a", "read", "preference", "that", "forces", "reads", "to", "the", "primary", "if", "available", "otherwise", "to", "a", "secondary", "with", "the", "given", "set", "of", "tags", "that", "is", "less", "stale", "than", "the", "given", "maximum", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L271-L274", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.secondary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a read preference that forces reads to a secondary with the given set of tags that is less stale than the given maximum.\n\n
\nThe driver estimates the staleness of each secondary, based on lastWriteDate values provided in server isMaster responses,\nand selects only those secondaries whose staleness is less than or equal to maxStaleness.\n
\n\n@param tagSet the set of tags to limit the list of secondaries to\n@param maxStaleness the max allowable staleness of secondaries. The minimum value is either 90 seconds, or the heartbeat frequency\nplus 10 seconds, whichever is greatest.\n@param timeUnit the time unit of maxStaleness\n@return ReadPreference which reads secondary respective of tags.\n@since 3.4\n@see TaggableReadPreference#getMaxStaleness(TimeUnit)", "docstring_tokens": ["Gets", "a", "read", "preference", "that", "forces", "reads", "to", "a", "secondary", "with", "the", "given", "set", "of", "tags", "that", "is", "less", "stale", "than", "the", "given", "maximum", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L292-L295", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.secondaryPreferred", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a read preference that forces reads to a secondary with the given set of tags that is less stale than the given maximum,\nor the primary is none are available.\n\n
\nThe driver estimates the staleness of each secondary, based on lastWriteDate values provided in server isMaster responses,\nand selects only those secondaries whose staleness is less than or equal to maxStaleness.\n
*\n@param tagSet the set of tags to limit the list of secondaries to\n@param maxStaleness the max allowable staleness of secondaries. The minimum value is either 90 seconds, or the heartbeat frequency\nplus 10 seconds, whichever is greatest.\n@param timeUnit the time unit of maxStaleness\n@return ReadPreference which reads secondary if available respective of tags, otherwise from primary irrespective of tags.\n@since 3.4\n@see TaggableReadPreference#getMaxStaleness(TimeUnit)", "docstring_tokens": ["Gets", "a", "read", "preference", "that", "forces", "reads", "to", "a", "secondary", "with", "the", "given", "set", "of", "tags", "that", "is", "less", "stale", "than", "the", "given", "maximum", "or", "the", "primary", "is", "none", "are", "available", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L313-L316", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.nearest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a read preference that forces reads to the primary or a secondary with the given set of tags that is less stale than the\ngiven maximum.\n\n
\nThe driver estimates the staleness of each secondary, based on lastWriteDate values provided in server isMaster responses,\nand selects only those secondaries whose staleness is less than or equal to maxStaleness.\n
\n\n@param tagSet the set of tags to limit the list of secondaries to\n@param maxStaleness the max allowable staleness of secondaries. The minimum value is either 90 seconds, or the heartbeat frequency\nplus 10 seconds, whichever is greatest.\n@param timeUnit the time unit of maxStaleness\n@return ReadPreference which reads nearest node respective of tags.\n@since 3.4\n@see TaggableReadPreference#getMaxStaleness(TimeUnit)", "docstring_tokens": ["Gets", "a", "read", "preference", "that", "forces", "reads", "to", "the", "primary", "or", "a", "secondary", "with", "the", "given", "set", "of", "tags", "that", "is", "less", "stale", "than", "the", "given", "maximum", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L335-L338", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.primaryPreferred", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a read preference that forces reads to the primary if available, otherwise to a secondary with one of the given sets of tags\nthat is less stale than the given maximum.\n\n
\nThe driver will look for a secondary with each tag set in the given list, stopping after one is found,\nor failing if no secondary can be found that matches any of the tag sets in the list.\n
\n\n
\nThe driver estimates the staleness of each secondary, based on lastWriteDate values provided in server isMaster responses,\nand selects only those secondaries whose staleness is less than or equal to maxStaleness.\n
\n\n@param tagSetList the list of tag sets to limit the list of secondaries to\n@param maxStaleness the max allowable staleness of secondaries. The minimum value is either 90 seconds, or the heartbeat frequency\nplus 10 seconds, whichever is greatest.\n@param timeUnit the time unit of maxStaleness\n@return ReadPreference which reads primary if available, otherwise a secondary respective of tags.\n@since 3.4\n@see TaggableReadPreference#getMaxStaleness(TimeUnit)", "docstring_tokens": ["Gets", "a", "read", "preference", "that", "forces", "reads", "to", "the", "primary", "if", "available", "otherwise", "to", "a", "secondary", "with", "one", "of", "the", "given", "sets", "of", "tags", "that", "is", "less", "stale", "than", "the", "given", "maximum", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L415-L418", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.nearest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a read preference that forces reads to the primary or a secondary with one of the given sets of tags that is less stale than\nthe given maximum.\n\n
\nThe driver will look for a secondary with each tag set in the given list, stopping after one is found,\nor the primary if none are available.\n
\n\n
\nThe driver estimates the staleness of each secondary, based on lastWriteDate values provided in server isMaster responses,\nand selects only those secondaries whose staleness is less than or equal to maxStaleness.\n
\n\n@param tagSetList the list of tag sets to limit the list of secondaries to\n@param maxStaleness the max allowable staleness of secondaries. The minimum value is either 90 seconds, or the heartbeat frequency\nplus 10 seconds, whichever is greatest.\n@param timeUnit the time unit of maxStaleness\n@return ReadPreference which reads nearest node respective of tags.\n@since 3.4\n@see TaggableReadPreference#getMaxStaleness(TimeUnit)", "docstring_tokens": ["Gets", "a", "read", "preference", "that", "forces", "reads", "to", "the", "primary", "or", "a", "secondary", "with", "one", "of", "the", "given", "sets", "of", "tags", "that", "is", "less", "stale", "than", "the", "given", "maximum", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L496-L499", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.valueOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a read preference from the given read preference name.\n\n@param name the name of the read preference\n@return the read preference", "docstring_tokens": ["Creates", "a", "read", "preference", "from", "the", "given", "read", "preference", "name", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L507-L529", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.valueOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a taggable read preference from the given read preference name and list of tag sets.\n\n@param name the name of the read preference\n@param tagSetList the list of tag sets\n@return the taggable read preference\n@since 2.13", "docstring_tokens": ["Creates", "a", "taggable", "read", "preference", "from", "the", "given", "read", "preference", "name", "and", "list", "of", "tag", "sets", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L539-L541", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadPreference.java", "func_name": "ReadPreference.valueOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a taggable read preference from the given read preference name, list of tag sets, and max allowable staleness of secondaries.\n\n
\nThe driver estimates the staleness of each secondary, based on lastWriteDate values provided in server isMaster responses,\nand selects only those secondaries whose staleness is less than or equal to maxStaleness.\n
\n\n@param name the name of the read preference\n@param tagSetList the list of tag sets\n@param maxStaleness the max allowable staleness of secondaries. The minimum value is either 90 seconds, or the heartbeat frequency\nplus 10 seconds, whichever is greatest.\n@param timeUnit the time unit of maxStaleness\n@return the taggable read preference\n@since 3.4\n@see TaggableReadPreference#getMaxStaleness(TimeUnit)", "docstring_tokens": ["Creates", "a", "taggable", "read", "preference", "from", "the", "given", "read", "preference", "name", "list", "of", "tag", "sets", "and", "max", "allowable", "staleness", "of", "secondaries", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadPreference.java#L560-L563", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/io/Bits.java", "func_name": "Bits.readFully", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads bytes from the input stream and puts them into the given byte buffer.\n\n@param inputStream the input stream to read from\n@param buffer the buffer into which the data is read.\n@param offset the start offset in array {@code buffer} at which the data is written.\n@param length the maximum number of bytes to read.\n@throws IOException if there's an error reading from the {@code inputStream}\n@see java.io.InputStream#read(byte[], int, int)", "docstring_tokens": ["Reads", "bytes", "from", "the", "input", "stream", "and", "puts", "them", "into", "the", "given", "byte", "buffer", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/io/Bits.java#L67-L83", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/io/Bits.java", "func_name": "Bits.readInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads and returns a single integer value from the input stream.\n\n@param inputStream the input stream to read from\n@param buffer the buffer to write the input stream bytes into\n@return the integer value\n@throws IOException if there's an error reading from the {@code inputStream}", "docstring_tokens": ["Reads", "and", "returns", "a", "single", "integer", "value", "from", "the", "input", "stream", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/io/Bits.java#L104-L107", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/io/Bits.java", "func_name": "Bits.readInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads and returns a single integer value from the buffer.\n\n@param buffer the buffer to read from\n@param offset the position to start reading from the buffer\n@return the integer value", "docstring_tokens": ["Reads", "and", "returns", "a", "single", "integer", "value", "from", "the", "buffer", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/io/Bits.java#L127-L134", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/io/Bits.java", "func_name": "Bits.readIntBE", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads and returns a single big-endian integer value\n\n@param buffer the buffer to read from\n@param offset the position to start reading from the buffer\n@return the integer value", "docstring_tokens": ["Reads", "and", "returns", "a", "single", "big", "-", "endian", "integer", "value"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/io/Bits.java#L143-L150", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/io/Bits.java", "func_name": "Bits.readLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads and returns a single long value from the input stream.\n\n@param inputStream the input stream to read from\n@param buffer the buffer to write the input stream bytes into\n@return the long value\n@throws IOException if there's an error reading from the {@code inputStream}", "docstring_tokens": ["Reads", "and", "returns", "a", "single", "long", "value", "from", "the", "input", "stream", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/io/Bits.java#L171-L174", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ConnectionString.java", "func_name": "ConnectionString.getCredentialList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the credentials in an immutable list. The list will be empty if no credentials were specified in the connection string.\n\n@return the credentials in an immutable list\n@deprecated Prefer {@link #getCredential()}", "docstring_tokens": ["Gets", "the", "credentials", "in", "an", "immutable", "list", ".", "The", "list", "will", "be", "empty", "if", "no", "credentials", "were", "specified", "in", "the", "connection", "string", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ConnectionString.java#L1107-L1110", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/BaseCluster.java", "func_name": "BaseCluster.getRandomServer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "gets a random server that still exists in the cluster. Returns null if there are none.", "docstring_tokens": ["gets", "a", "random", "server", "that", "still", "exists", "in", "the", "cluster", ".", "Returns", "null", "if", "there", "are", "none", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/BaseCluster.java#L354-L365", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-async/src/main/com/mongodb/async/client/MongoClients.java", "func_name": "MongoClients.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new client with the given connection string.\n\n
Note: Intended for driver and library authors to associate extra driver metadata with the connections.
\n\n@param connectionString the settings\n@param mongoDriverInformation any driver information to associate with the MongoClient\n@return the client\n@throws IllegalArgumentException if the connection string's stream type is not one of \"netty\" or \"nio2\"\n@see MongoClients#create(ConnectionString)", "docstring_tokens": ["Create", "a", "new", "client", "with", "the", "given", "connection", "string", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-async/src/main/com/mongodb/async/client/MongoClients.java#L133-L138", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/BasicDBList.java", "func_name": "BasicDBList.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies this instance into a new Object.\n\n@return a new BasicDBList with the same values as this instance", "docstring_tokens": ["Copies", "this", "instance", "into", "a", "new", "Object", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/BasicDBList.java#L45-L59", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/codecs/pojo/ClassModel.java", "func_name": "ClassModel.builder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new Class Model builder instance using reflection.\n\n@param type the POJO class to reflect and configure the builder with.\n@param the type of the class\n@return a new Class Model builder instance using reflection on the {@code clazz}.", "docstring_tokens": ["Creates", "a", "new", "Class", "Model", "builder", "instance", "using", "reflection", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/codecs/pojo/ClassModel.java#L63-L65", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DB.java", "func_name": "DB.getCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a collection with a given name.\n\n@param name the name of the collection to return\n@return the collection\n@throws IllegalArgumentException if the name is invalid\n@see MongoNamespace#checkCollectionNameValidity(String)", "docstring_tokens": ["Gets", "a", "collection", "with", "a", "given", "name", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DB.java#L223-L238", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DB.java", "func_name": "DB.dropDatabase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Drops this database. Removes all data on disk. Use with caution.\n\n@throws MongoException if the operation failed\n@mongodb.driver.manual reference/command/dropDatabase/ Drop Database", "docstring_tokens": ["Drops", "this", "database", ".", "Removes", "all", "data", "on", "disk", ".", "Use", "with", "caution", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DB.java#L246-L252", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DB.java", "func_name": "DB.getCollectionNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a set containing the names of all collections in this database.\n\n@return the names of collections in this database\n@throws MongoException if the operation failed\n@mongodb.driver.manual reference/method/db.getCollectionNames/ getCollectionNames()", "docstring_tokens": ["Returns", "a", "set", "containing", "the", "names", "of", "all", "collections", "in", "this", "database", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DB.java#L282-L299", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DB.java", "func_name": "DB.command", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes a database command with the selected readPreference, and encodes the command using the given encoder.\n\n@param command The {@code DBObject} representation the command to be executed\n@param readPreference Where to execute the command - this will only be applied for a subset of commands\n@param encoder The DBEncoder that knows how to serialise the command\n@return The result of executing the command, success or failure\n@mongodb.driver.manual tutorial/use-database-commands Commands\n@since 2.12", "docstring_tokens": ["Executes", "a", "database", "command", "with", "the", "selected", "readPreference", "and", "encodes", "the", "command", "using", "the", "given", "encoder", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DB.java#L519-L525", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DB.java", "func_name": "DB.command", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes the command against the database with the given read preference.\n\n@param command The {@code DBObject} representation the command to be executed\n@param readPreference Where to execute the command - this will only be applied for a subset of commands\n@return The result of executing the command, success or failure\n@mongodb.driver.manual tutorial/use-database-commands Commands\n@since 2.12", "docstring_tokens": ["Executes", "the", "command", "against", "the", "database", "with", "the", "given", "read", "preference", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DB.java#L536-L538", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DB.java", "func_name": "DB.collectionExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks to see if a collection with a given name exists on a server.\n\n@param collectionName a name of the collection to test for existence\n@return {@code false} if no collection by that name exists, {@code true} if a match to an existing collection was found\n@throws MongoException if the operation failed", "docstring_tokens": ["Checks", "to", "see", "if", "a", "collection", "with", "a", "given", "name", "exists", "on", "a", "server", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DB.java#L573-L581", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DB.java", "func_name": "DB.doEval", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluates JavaScript functions on the database server. This is useful if you need to touch a lot of data lightly, in which case\nnetwork transfer could be a bottleneck.\n\n@param code {@code String} representation of JavaScript function\n@param args arguments to pass to the JavaScript function\n@return result of the command execution\n@throws MongoException if the operation failed\n@mongodb.driver.manual reference/method/db.eval/ db.eval()\n@deprecated The eval command was deprecated in MongoDB 3.0", "docstring_tokens": ["Evaluates", "JavaScript", "functions", "on", "the", "database", "server", ".", "This", "is", "useful", "if", "you", "need", "to", "touch", "a", "lot", "of", "data", "lightly", "in", "which", "case", "network", "transfer", "could", "be", "a", "bottleneck", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DB.java#L594-L598", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DB.java", "func_name": "DB.getStats", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method for calling a 'dbStats' command. It returns storage statistics for a given database.\n\n@return result of the execution\n@throws MongoException if the operation failed\n@mongodb.driver.manual reference/command/dbStats/ Database Stats\n@deprecated Prefer {@link #command(DBObject)} to run the dbStats command", "docstring_tokens": ["Helper", "method", "for", "calling", "a", "dbStats", "command", ".", "It", "returns", "storage", "statistics", "for", "a", "given", "database", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DB.java#L626-L630", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DB.java", "func_name": "DB.removeUser", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the specified user from the database.\n\n@param userName user to be removed\n@return the result of executing this operation\n@throws MongoException if the operation failed\n@mongodb.driver.manual administration/security-access-control/ Access Control\n@deprecated Use {@code DB.command} to call the dropUser command", "docstring_tokens": ["Removes", "the", "specified", "user", "from", "the", "database", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DB.java#L697-L705", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DB.java", "func_name": "DB.getCommandReadPreference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines the read preference that should be used for the given command.\n\n@param command the {@link DBObject} representing the command\n@param requestedPreference the preference requested by the client.\n@return the read preference to use for the given command. It will never return {@code null}.\n@see com.mongodb.ReadPreference", "docstring_tokens": ["Determines", "the", "read", "preference", "that", "should", "be", "used", "for", "the", "given", "command", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DB.java#L812-L823", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/codecs/configuration/ChildCodecRegistry.java", "func_name": "ChildCodecRegistry.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a Codec, but if it detects a cyclic dependency, return a LazyCodec which breaks the chain.", "docstring_tokens": ["Gets", "a", "Codec", "but", "if", "it", "detects", "a", "cyclic", "dependency", "return", "a", "LazyCodec", "which", "breaks", "the", "chain", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/codecs/configuration/ChildCodecRegistry.java#L47-L53", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.insert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Insert a document into a collection. If the collection does not exists on the server, then it will be created. If the new document\ndoes not contain an '_id' field, it will be added.\n\n@param document {@code DBObject} to be inserted\n@param writeConcern {@code WriteConcern} to be used during operation\n@return the result of the operation\n@throws com.mongodb.DuplicateKeyException if the write failed to a duplicate unique key\n@throws com.mongodb.WriteConcernException if the write failed due some other failure specific to the insert command\n@throws MongoException if the operation failed for some other reason\n@mongodb.driver.manual tutorial/insert-documents/ Insert Documents", "docstring_tokens": ["Insert", "a", "document", "into", "a", "collection", ".", "If", "the", "collection", "does", "not", "exists", "on", "the", "server", "then", "it", "will", "be", "created", ".", "If", "the", "new", "document", "does", "not", "contain", "an", "_id", "field", "it", "will", "be", "added", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L191-L193", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.update", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Modify an existing document or documents in collection.\n\n@param query the selection criteria for the update\n@param update the modifications to apply\n@param options the options to apply to the update operation\n@return the result of the operation\n@throws com.mongodb.DuplicateKeyException if the write failed to a duplicate unique key\n@throws com.mongodb.WriteConcernException if the write failed due some other failure specific to the update command\n@throws MongoException if the operation failed for some other reason\n@mongodb.driver.manual tutorial/modify-documents/ Modify\n@since 3.4", "docstring_tokens": ["Modify", "an", "existing", "document", "or", "documents", "in", "collection", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L560-L574", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.findOne", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a single document from collection by '_id'.\n\n@param id value of '_id' field of a document we are looking for\n@param projection specifies which projection MongoDB will return from the documents in the result set.\n@return A document that satisfies the query specified as the argument to this method.\n@mongodb.driver.manual tutorial/query-documents/ Querying", "docstring_tokens": ["Get", "a", "single", "document", "from", "collection", "by", "_id", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L831-L834", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.rename", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Change the name of an existing collection.\n\n@param newName specifies the new name of the collection\n@param dropTarget If {@code true}, mongod will drop the collection with the target name if it exists\n@return the collection with new name\n@throws MongoException if target is the name of an existing collection and {@code dropTarget=false}.\n@mongodb.driver.manual reference/command/renameCollection/ Rename Collection", "docstring_tokens": ["Change", "the", "name", "of", "an", "existing", "collection", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L1059-L1068", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.mapReduce", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allows you to run map-reduce aggregation operations over a collection and saves to a named collection.\n\n@param map a JavaScript function that associates or \"maps\" a value with a key and emits the key and value pair.\n@param reduce a JavaScript function that \"reduces\" to a single object all the values associated with a particular key.\n@param outputTarget specifies the location of the result of the map-reduce operation.\n@param outputType specifies the type of job output\n@param query specifies the selection criteria using query operators for determining the documents input to the map\nfunction.\n@param readPreference the read preference specifying where to run the query. Only applied for Inline output type\n@return a MapReduceOutput which contains the results of this map reduce operation\n@mongodb.driver.manual core/map-reduce/ Map-Reduce", "docstring_tokens": ["Allows", "you", "to", "run", "map", "-", "reduce", "aggregation", "operations", "over", "a", "collection", "and", "saves", "to", "a", "named", "collection", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L1286-L1292", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.explainAggregate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the explain plan for the aggregation pipeline.\n\n@param pipeline the aggregation pipeline to explain\n@param options the options to apply to the aggregation\n@return the command result. The explain output may change from release to release, so best to simply log this.\n@mongodb.driver.manual core/aggregation-pipeline/ Aggregation\n@mongodb.driver.manual reference/operator/meta/explain/ Explain query\n@mongodb.server.release 2.6", "docstring_tokens": ["Return", "the", "explain", "plan", "for", "the", "aggregation", "pipeline", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L1524-L1533", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.createIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Forces creation of an index on a set of fields, if one does not already exist.\n\n@param keys a document that contains pairs with the name of the field or fields to index and order of the index\n@param name an identifier for the index. If null or empty, the default name will be used.\n@param unique if the index should be unique\n@throws MongoException if the operation failed\n@mongodb.driver.manual /administration/indexes-creation/ Index Creation Tutorials", "docstring_tokens": ["Forces", "creation", "of", "an", "index", "on", "a", "set", "of", "fields", "if", "one", "does", "not", "already", "exist", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L1644-L1653", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.createIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an index on the field specified, if that index does not already exist.\n\n
Prior to MongoDB 3.0 the dropDups option could be used with unique indexes allowing documents with duplicate values to be dropped\nwhen building the index. Later versions of MongoDB will silently ignore this setting.
\n\n@param keys a document that contains pairs with the name of the field or fields to index and order of the index\n@param options a document that controls the creation of the index.\n@mongodb.driver.manual /administration/indexes-creation/ Index Creation Tutorials", "docstring_tokens": ["Creates", "an", "index", "on", "the", "field", "specified", "if", "that", "index", "does", "not", "already", "exist", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L1675-L1681", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.findAndRemove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Atomically remove and return a single document. The returned document is the original document before removal.\n\n@param query specifies the selection criteria for the modification\n@return the document as it was before the modifications\n@throws WriteConcernException if the write failed due some other failure specific to the update command\n@throws MongoException if the operation failed for some other reason\n@mongodb.driver.manual reference/command/findAndModify/ Find and Modify", "docstring_tokens": ["Atomically", "remove", "and", "return", "a", "single", "document", ".", "The", "returned", "document", "is", "the", "original", "document", "before", "removal", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L1750-L1753", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.setDBDecoderFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a custom decoder factory for this collection. Set to null to use the default from MongoOptions.\n\n@param factory the factory to set.", "docstring_tokens": ["Set", "a", "custom", "decoder", "factory", "for", "this", "collection", ".", "Set", "to", "null", "to", "use", "the", "default", "from", "MongoOptions", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L2181-L2190", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.setDBEncoderFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a custom encoder factory for this collection. Set to null to use the default from MongoOptions.\n\n@param factory the factory to set.", "docstring_tokens": ["Set", "a", "custom", "encoder", "factory", "for", "this", "collection", ".", "Set", "to", "null", "to", "use", "the", "default", "from", "MongoOptions", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L2206-L2215", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.getIndexInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a list of the indexes for this collection. Each object in the list is the \"info document\" from MongoDB\n\n@return list of index documents\n@throws MongoException if the operation failed\n@mongodb.driver.manual core/indexes/ Indexes", "docstring_tokens": ["Return", "a", "list", "of", "the", "indexes", "for", "this", "collection", ".", "Each", "object", "in", "the", "list", "is", "the", "info", "document", "from", "MongoDB"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L2224-L2231", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.dropIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Drops an index from this collection. The DBObject index parameter must match the specification of the index to drop, i.e. correct\nkey name and type must be specified.\n\n@param index the specification of the index to drop\n@throws MongoException if the index does not exist\n@mongodb.driver.manual core/indexes/ Indexes", "docstring_tokens": ["Drops", "an", "index", "from", "this", "collection", ".", "The", "DBObject", "index", "parameter", "must", "match", "the", "specification", "of", "the", "index", "to", "drop", "i", ".", "e", ".", "correct", "key", "name", "and", "type", "must", "be", "specified", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L2241-L2247", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.dropIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Drops the index with the given name from this collection.\n\n@param indexName name of index to drop\n@throws MongoException if the index does not exist\n@mongodb.driver.manual core/indexes/ Indexes", "docstring_tokens": ["Drops", "the", "index", "with", "the", "given", "name", "from", "this", "collection", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L2256-L2262", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.isCapped", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether this collection is capped\n\n@return true if this is a capped collection\n@mongodb.driver.manual /core/capped-collections/#check-if-a-collection-is-capped Capped Collections", "docstring_tokens": ["Checks", "whether", "this", "collection", "is", "capped"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L2299-L2303", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.setInternalClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the internal class for the given path in the document hierarchy\n\n@param path the path to map the given Class to\n@param aClass the Class to map the given path to", "docstring_tokens": ["Sets", "the", "internal", "class", "for", "the", "given", "path", "in", "the", "document", "hierarchy"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L2329-L2331", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCollection.java", "func_name": "DBCollection.getInternalClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the internal class for the given path in the document hierarchy\n\n@param path the path to map the given Class to\n@return the class for a given path in the hierarchy", "docstring_tokens": ["Gets", "the", "internal", "class", "for", "the", "given", "path", "in", "the", "document", "hierarchy"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCollection.java#L2339-L2341", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that sets the value of the field with the given name to the given value.\n\n@param fieldName the non-null field name\n@param value the value, which may be null\n@param the value type\n@return the update\n@mongodb.driver.manual reference/operator/update/set/ $set", "docstring_tokens": ["Creates", "an", "update", "that", "sets", "the", "value", "of", "the", "field", "with", "the", "given", "name", "to", "the", "given", "value", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L77-L79", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.setOnInsert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that sets the value of the field with the given name to the given value, but only if the update is an upsert that\nresults in an insert of a document.\n\n@param fieldName the non-null field name\n@param value the value, which may be null\n@param the value type\n@return the update\n@mongodb.driver.manual reference/operator/update/setOnInsert/ $setOnInsert\n@see UpdateOptions#upsert(boolean)", "docstring_tokens": ["Creates", "an", "update", "that", "sets", "the", "value", "of", "the", "field", "with", "the", "given", "name", "to", "the", "given", "value", "but", "only", "if", "the", "update", "is", "an", "upsert", "that", "results", "in", "an", "insert", "of", "a", "document", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L116-L118", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.rename", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that renames a field.\n\n@param fieldName the non-null field name\n@param newFieldName the non-null new field name\n@return the update\n@mongodb.driver.manual reference/operator/update/rename/ $rename", "docstring_tokens": ["Creates", "an", "update", "that", "renames", "a", "field", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L128-L131", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.inc", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that increments the value of the field with the given name by the given value.\n\n@param fieldName the non-null field name\n@param number the value\n@return the update\n@mongodb.driver.manual reference/operator/update/inc/ $inc", "docstring_tokens": ["Creates", "an", "update", "that", "increments", "the", "value", "of", "the", "field", "with", "the", "given", "name", "by", "the", "given", "value", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L141-L144", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.mul", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that multiplies the value of the field with the given name by the given number.\n\n@param fieldName the non-null field name\n@param number the non-null number\n@return the update\n@mongodb.driver.manual reference/operator/update/mul/ $mul", "docstring_tokens": ["Creates", "an", "update", "that", "multiplies", "the", "value", "of", "the", "field", "with", "the", "given", "name", "by", "the", "given", "number", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L154-L157", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.min", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that sets the value of the field to the given value if the given value is less than the current value of the\nfield.\n\n@param fieldName the non-null field name\n@param value the value\n@param the value type\n@return the update\n@mongodb.driver.manual reference/operator/update/min/ $min", "docstring_tokens": ["Creates", "an", "update", "that", "sets", "the", "value", "of", "the", "field", "to", "the", "given", "value", "if", "the", "given", "value", "is", "less", "than", "the", "current", "value", "of", "the", "field", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L170-L172", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.max", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that sets the value of the field to the given value if the given value is greater than the current value of the\nfield.\n\n@param fieldName the non-null field name\n@param value the value\n@param the value type\n@return the update\n@mongodb.driver.manual reference/operator/update/min/ $min", "docstring_tokens": ["Creates", "an", "update", "that", "sets", "the", "value", "of", "the", "field", "to", "the", "given", "value", "if", "the", "given", "value", "is", "greater", "than", "the", "current", "value", "of", "the", "field", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L184-L186", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.addToSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that adds the given value to the array value of the field with the given name, unless the value is\nalready present, in which case it does nothing\n\n@param fieldName the non-null field name\n@param value the value, which may be null\n@param the value type\n@return the update\n@mongodb.driver.manual reference/operator/update/addToSet/ $addToSet", "docstring_tokens": ["Creates", "an", "update", "that", "adds", "the", "given", "value", "to", "the", "array", "value", "of", "the", "field", "with", "the", "given", "name", "unless", "the", "value", "is", "already", "present", "in", "which", "case", "it", "does", "nothing"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L222-L224", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.addEachToSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that adds each of the given values to the array value of the field with the given name, unless the value is\nalready present, in which case it does nothing\n\n@param fieldName the non-null field name\n@param values the values\n@param the value type\n@return the update\n@mongodb.driver.manual reference/operator/update/addToSet/ $addToSet", "docstring_tokens": ["Creates", "an", "update", "that", "adds", "each", "of", "the", "given", "values", "to", "the", "array", "value", "of", "the", "field", "with", "the", "given", "name", "unless", "the", "value", "is", "already", "present", "in", "which", "case", "it", "does", "nothing"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L236-L238", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.push", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that adds the given value to the array value of the field with the given name.\n\n@param fieldName the non-null field name\n@param value the value, which may be null\n@param the value type\n@return the update\n@mongodb.driver.manual reference/operator/update/push/ $push", "docstring_tokens": ["Creates", "an", "update", "that", "adds", "the", "given", "value", "to", "the", "array", "value", "of", "the", "field", "with", "the", "given", "name", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L249-L251", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.pushEach", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that adds each of the given values to the array value of the field with the given name.\n\n@param fieldName the non-null field name\n@param values the values\n@param the value type\n@return the update\n@mongodb.driver.manual reference/operator/update/push/ $push", "docstring_tokens": ["Creates", "an", "update", "that", "adds", "each", "of", "the", "given", "values", "to", "the", "array", "value", "of", "the", "field", "with", "the", "given", "name", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L262-L264", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.pull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that removes all instances of the given value from the array value of the field with the given name.\n\n@param fieldName the non-null field name\n@param value the value, which may be null\n@param the value type\n@return the update\n@mongodb.driver.manual reference/operator/update/pull/ $pull", "docstring_tokens": ["Creates", "an", "update", "that", "removes", "all", "instances", "of", "the", "given", "value", "from", "the", "array", "value", "of", "the", "field", "with", "the", "given", "name", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L290-L292", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.pullByFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that removes from an array all elements that match the given filter.\n\n@param filter the query filter\n@return the update\n@mongodb.driver.manual reference/operator/update/pull/ $pull", "docstring_tokens": ["Creates", "an", "update", "that", "removes", "from", "an", "array", "all", "elements", "that", "match", "the", "given", "filter", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L301-L317", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Updates.java", "func_name": "Updates.pullAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an update that removes all instances of the given values from the array value of the field with the given name.\n\n@param fieldName the non-null field name\n@param values the values\n@param the value type\n@return the update\n@mongodb.driver.manual reference/operator/update/pull/ $pull", "docstring_tokens": ["Creates", "an", "update", "that", "removes", "all", "instances", "of", "the", "given", "values", "from", "the", "array", "value", "of", "the", "field", "with", "the", "given", "name", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Updates.java#L328-L330", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/BaseQueryMessage.java", "func_name": "BaseQueryMessage.writeQueryPrologue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the query prologue to the given BSON output.\n\n@param bsonOutput the BSON output", "docstring_tokens": ["Write", "the", "query", "prologue", "to", "the", "given", "BSON", "output", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/BaseQueryMessage.java#L218-L223", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/DefaultConnectionPool.java", "func_name": "DefaultConnectionPool.incrementGenerationOnSocketException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If there was a socket exception that wasn't some form of interrupted read, increment the generation count so that any connections\ncreated prior will be discarded.\n\n@param connection the connection that generated the exception\n@param t the exception", "docstring_tokens": ["If", "there", "was", "a", "socket", "exception", "that", "wasn", "t", "some", "form", "of", "interrupted", "read", "increment", "the", "generation", "count", "so", "that", "any", "connections", "created", "prior", "will", "be", "discarded", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/DefaultConnectionPool.java#L373-L381", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/util/ClassMap.java", "func_name": "ClassMap.getAncestry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method that walks superclass and interface graph, superclasses first, then interfaces, to compute an ancestry list. Super\ntypes are visited left to right. Duplicates are removed such that no Class will appear in the list before one of its subtypes.\n\n@param clazz the class to get the ancestors for\n@param the type of the class modeled by this {@code Class} object.\n@return a list of all the super classes of {@code clazz}, starting with the class, and ending with {@code java.lang.Object}.", "docstring_tokens": ["Helper", "method", "that", "walks", "superclass", "and", "interface", "graph", "superclasses", "first", "then", "interfaces", "to", "compute", "an", "ancestry", "list", ".", "Super", "types", "are", "visited", "left", "to", "right", ".", "Duplicates", "are", "removed", "such", "that", "no", "Class", "will", "appear", "in", "the", "list", "before", "one", "of", "its", "subtypes", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/util/ClassMap.java#L53-L55", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/ReplaceOptions.java", "func_name": "ReplaceOptions.createReplaceOptions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates replace options from updateOptions.\n\n@param updateOptions the updateOptions\n@return replace options\n@deprecated there is no replacement for this method", "docstring_tokens": ["Creates", "replace", "options", "from", "updateOptions", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/ReplaceOptions.java#L47-L58", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/internal/Base64.java", "func_name": "Base64.decode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decodes the given Base64-encoded string.\n\n@param s the Base64-encoded string\n@return the decoded byte array", "docstring_tokens": ["Decodes", "the", "given", "Base64", "-", "encoded", "string", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/internal/Base64.java#L67-L88", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/internal/Base64.java", "func_name": "Base64.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes the given byte array into a Base64-encoded string.\n\n\n@param in the byte array\n@return the Base64-encoded string", "docstring_tokens": ["Encodes", "the", "given", "byte", "array", "into", "a", "Base64", "-", "encoded", "string", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/internal/Base64.java#L97-L142", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/Mongo.java", "func_name": "Mongo.getAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the address of the current master\n\n@return the address", "docstring_tokens": ["Gets", "the", "address", "of", "the", "current", "master"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/Mongo.java#L419-L428", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/Mongo.java", "func_name": "Mongo.getReplicaSetStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the status of the replica set cluster.\n\n@return replica set status information", "docstring_tokens": ["Get", "the", "status", "of", "the", "replica", "set", "cluster", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/Mongo.java#L450-L457", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/Mongo.java", "func_name": "Mongo.getDatabaseNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a list of the names of all databases on the connected server.\n\n@return list of database names\n@throws MongoException if the operation fails\n@deprecated Replaced with {@link com.mongodb.MongoClient#listDatabaseNames()}", "docstring_tokens": ["Gets", "a", "list", "of", "the", "names", "of", "all", "databases", "on", "the", "connected", "server", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/Mongo.java#L467-L481", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/Mongo.java", "func_name": "Mongo.fsync", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Forces the master server to fsync the RAM data to disk This is done automatically by the server at intervals, but can be forced for\nbetter reliability.\n\n@param async if true, the fsync will be done asynchronously on the server.\n@return result of the command execution\n@throws MongoException if there's a failure\n@mongodb.driver.manual reference/command/fsync/ fsync command", "docstring_tokens": ["Forces", "the", "master", "server", "to", "fsync", "the", "RAM", "data", "to", "disk", "This", "is", "done", "automatically", "by", "the", "server", "at", "intervals", "but", "can", "be", "forced", "for", "better", "reliability", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/Mongo.java#L627-L634", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/Mongo.java", "func_name": "Mongo.fsyncAndLock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Forces the master server to fsync the RAM data to disk, then lock all writes. The database will be read-only after this command\nreturns.\n\n@return result of the command execution\n@throws MongoException if there's a failure\n@mongodb.driver.manual reference/command/fsync/ fsync command", "docstring_tokens": ["Forces", "the", "master", "server", "to", "fsync", "the", "RAM", "data", "to", "disk", "then", "lock", "all", "writes", ".", "The", "database", "will", "be", "read", "-", "only", "after", "this", "command", "returns", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/Mongo.java#L644-L649", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/Mongo.java", "func_name": "Mongo.unlock", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unlocks the database, allowing the write operations to go through. This command may be asynchronous on the server, which means there\nmay be a small delay before the database becomes writable.\n\n@return {@code DBObject} in the following form {@code {\"ok\": 1,\"info\": \"unlock completed\"}}\n@throws MongoException if there's a failure\n@mongodb.driver.manual reference/command/fsync/ fsync command", "docstring_tokens": ["Unlocks", "the", "database", "allowing", "the", "write", "operations", "to", "go", "through", ".", "This", "command", "may", "be", "asynchronous", "on", "the", "server", "which", "means", "there", "may", "be", "a", "small", "delay", "before", "the", "database", "becomes", "writable", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/Mongo.java#L659-L662", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonValue.java", "func_name": "BsonValue.asNumber", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets this value as a BsonNumber if it is one, otherwise throws exception\n\n@return a BsonNumber\n@throws org.bson.BsonInvalidOperationException if this value is not of the expected type", "docstring_tokens": ["Gets", "this", "value", "as", "a", "BsonNumber", "if", "it", "is", "one", "otherwise", "throws", "exception"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonValue.java#L79-L85", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ConnectionId.java", "func_name": "ConnectionId.withServerValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new connectionId with the set server value\n\n@param serverValue the server value\n@return the new connection id\n@since 3.8", "docstring_tokens": ["Creates", "a", "new", "connectionId", "with", "the", "set", "server", "value"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ConnectionId.java#L84-L87", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/util/ClassAncestry.java", "func_name": "ClassAncestry.computeAncestry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starting with children and going back to parents", "docstring_tokens": ["Starting", "with", "children", "and", "going", "back", "to", "parents"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/util/ClassAncestry.java#L50-L56", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/geojson/Geometry.java", "func_name": "Geometry.toJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts to GeoJSON representation\n\n@return the GeoJSON representation", "docstring_tokens": ["Converts", "to", "GeoJSON", "representation"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/geojson/Geometry.java#L70-L77", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/operation/MapReduceWithInlineResultsOperation.java", "func_name": "MapReduceWithInlineResultsOperation.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executing this will return a cursor with your results and the statistics in.\n\n@param binding the binding\n@return a MapReduceCursor that can be iterated over to find all the results of the Map Reduce operation.", "docstring_tokens": ["Executing", "this", "will", "return", "a", "cursor", "with", "your", "results", "and", "the", "statistics", "in", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/operation/MapReduceWithInlineResultsOperation.java#L357-L362", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/IndexOptions.java", "func_name": "IndexOptions.getExpireAfter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the time to live for documents in the collection\n\n@return the time to live for documents in the collection\n@param timeUnit the time unit\n@mongodb.driver.manual tutorial/expire-data TTL", "docstring_tokens": ["Gets", "the", "time", "to", "live", "for", "documents", "in", "the", "collection"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/IndexOptions.java#L139-L145", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/GroupCommand.java", "func_name": "GroupCommand.toDBObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turns this group command into the DBObject format of the command.\n\n@return a DBObject containing the group command as a MongoDB document", "docstring_tokens": ["Turns", "this", "group", "command", "into", "the", "DBObject", "format", "of", "the", "command", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/GroupCommand.java#L133-L150", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ClusterDescription.java", "func_name": "ClusterDescription.getLogicalSessionTimeoutMinutes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the logical session timeout in minutes, or null if at least one of the known servers does not support logical sessions.\n\n@return the logical session timeout in minutes, which may be null\n@mongodb.server.release 3.6\n@since 3.6", "docstring_tokens": ["Gets", "the", "logical", "session", "timeout", "in", "minutes", "or", "null", "if", "at", "least", "one", "of", "the", "known", "servers", "does", "not", "support", "logical", "sessions", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ClusterDescription.java#L238-L256", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ClusterDescription.java", "func_name": "ClusterDescription.getAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the Set of all server descriptions in this cluster, sorted by the String value of the ServerAddress of each one.\n\n@return the set of server descriptions\n@deprecated Use {@link #getServerDescriptions()} instead", "docstring_tokens": ["Returns", "the", "Set", "of", "all", "server", "descriptions", "in", "this", "cluster", "sorted", "by", "the", "String", "value", "of", "the", "ServerAddress", "of", "each", "one", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ClusterDescription.java#L264-L282", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ClusterDescription.java", "func_name": "ClusterDescription.getByServerAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the ServerDescription for the server at the given address\n\n@param serverAddress the ServerAddress for a server in this cluster\n@return the ServerDescription for this server\n@deprecated Replace with a filter on ServerDescription in the caller", "docstring_tokens": ["Returns", "the", "ServerDescription", "for", "the", "server", "at", "the", "given", "address"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ClusterDescription.java#L291-L299", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ClusterDescription.java", "func_name": "ClusterDescription.getPrimaries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "While it may seem counter-intuitive that a MongoDB cluster can have more than one primary, it can in the case where the client's view\nof the cluster is a set of mongos servers, any of which can serve as the primary.\n\n@return a list of servers that can act as primaries\n@deprecated Replace with a filter on ServerDescription in the caller", "docstring_tokens": ["While", "it", "may", "seem", "counter", "-", "intuitive", "that", "a", "MongoDB", "cluster", "can", "have", "more", "than", "one", "primary", "it", "can", "in", "the", "case", "where", "the", "client", "s", "view", "of", "the", "cluster", "is", "a", "set", "of", "mongos", "servers", "any", "of", "which", "can", "serve", "as", "the", "primary", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ClusterDescription.java#L308-L315", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ClusterDescription.java", "func_name": "ClusterDescription.getSecondaries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a list of all the secondaries in this cluster\n\n@return a List of ServerDescriptions of all the secondaries this cluster is currently aware of\n@deprecated Replace with a filter on ServerDescription in the caller", "docstring_tokens": ["Get", "a", "list", "of", "all", "the", "secondaries", "in", "this", "cluster"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ClusterDescription.java#L323-L330", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ClusterDescription.java", "func_name": "ClusterDescription.getSecondaries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a list of all the secondaries in this cluster that match a given TagSet\n\n@param tagSet a Set of replica set tags\n@return a List of ServerDescriptions of all the secondaries this cluster that match all of the given tags\n@deprecated Replace with a filter on ServerDescription in the caller", "docstring_tokens": ["Get", "a", "list", "of", "all", "the", "secondaries", "in", "this", "cluster", "that", "match", "a", "given", "TagSet"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ClusterDescription.java#L339-L346", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ClusterDescription.java", "func_name": "ClusterDescription.getAny", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a list of ServerDescriptions for all the servers in this cluster which are currently accessible.\n\n@return a List of ServerDescriptions for all servers that have a status of OK\n@deprecated Replace with a filter on ServerDescription in the caller", "docstring_tokens": ["Gets", "a", "list", "of", "ServerDescriptions", "for", "all", "the", "servers", "in", "this", "cluster", "which", "are", "currently", "accessible", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ClusterDescription.java#L354-L361", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ClusterDescription.java", "func_name": "ClusterDescription.getAnyPrimaryOrSecondary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a list of all the primaries and secondaries in this cluster.\n\n@return a list of ServerDescriptions for all primary and secondary servers\n@deprecated Replace with a filter on ServerDescription in the caller", "docstring_tokens": ["Gets", "a", "list", "of", "all", "the", "primaries", "and", "secondaries", "in", "this", "cluster", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ClusterDescription.java#L369-L376", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ClusterDescription.java", "func_name": "ClusterDescription.getAnyPrimaryOrSecondary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a list of all the primaries and secondaries in this cluster that match the given replica set tags.\n\n@param tagSet a Set of replica set tags\n@return a list of ServerDescriptions for all primary and secondary servers that contain all of the given tags\n@deprecated Replace with a filter on ServerDescription in the caller", "docstring_tokens": ["Gets", "a", "list", "of", "all", "the", "primaries", "and", "secondaries", "in", "this", "cluster", "that", "match", "the", "given", "replica", "set", "tags", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ClusterDescription.java#L385-L392", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ClusterDescription.java", "func_name": "ClusterDescription.getShortDescription", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a short, pretty description for this ClusterDescription.\n\n@return a String describing this cluster.", "docstring_tokens": ["Returns", "a", "short", "pretty", "description", "for", "this", "ClusterDescription", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ClusterDescription.java#L459-L471", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/MongoCredential.java", "func_name": "MongoCredential.createCredential", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a MongoCredential instance with an unspecified mechanism. The client will negotiate the best mechanism based on the\nversion of the server that the client is authenticating to.\n\n
If the server version is 4.0 or higher, the driver will negotiate with the server preferring the SCRAM-SHA-256 mechanism. 3.x\nservers will authenticate using SCRAM-SHA-1, older servers will authenticate using the MONGODB_CR mechanism.
\n\n@param userName the user name\n@param database the database where the user is defined\n@param password the user's password\n@return the credential\n\n@since 2.13\n@mongodb.driver.manual core/authentication/#authentication-scram-sha-256 SCRAM-SHA-256\n@mongodb.driver.manual core/authentication/#authentication-scram-sha-1 SCRAM-SHA-1\n@mongodb.driver.manual core/authentication/#mongodb-cr-authentication MONGODB-CR", "docstring_tokens": ["Creates", "a", "MongoCredential", "instance", "with", "an", "unspecified", "mechanism", ".", "The", "client", "will", "negotiate", "the", "best", "mechanism", "based", "on", "the", "version", "of", "the", "server", "that", "the", "client", "is", "authenticating", "to", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/MongoCredential.java#L168-L170", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/MongoCredential.java", "func_name": "MongoCredential.createScramSha256Credential", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a MongoCredential instance for the SCRAM-SHA-256 SASL mechanism.\n\n@param userName the non-null user name\n@param source the source where the user is defined.\n@param password the non-null user password\n@return the credential\n@see #createCredential(String, String, char[])\n\n@since 3.8\n@mongodb.server.release 4.0\n@mongodb.driver.manual core/authentication/#authentication-scram-sha-256 SCRAM-SHA-256", "docstring_tokens": ["Creates", "a", "MongoCredential", "instance", "for", "the", "SCRAM", "-", "SHA", "-", "256", "SASL", "mechanism", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/MongoCredential.java#L206-L208", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/MongoCredential.java", "func_name": "MongoCredential.createPlainCredential", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a MongoCredential instance for the PLAIN SASL mechanism.\n\n@param userName the non-null user name\n@param source the source where the user is defined. This can be either {@code \"$external\"} or the name of a database.\n@param password the non-null user password\n@return the credential\n\n@since 2.12\n@mongodb.server.release 2.6\n@mongodb.driver.manual core/authentication/#ldap-proxy-authority-authentication PLAIN", "docstring_tokens": ["Creates", "a", "MongoCredential", "instance", "for", "the", "PLAIN", "SASL", "mechanism", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/MongoCredential.java#L273-L275", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/MongoCredential.java", "func_name": "MongoCredential.withMechanismProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new MongoCredential as a copy of this instance, with the specified mechanism property added.\n\n@param key the key to the property, which is treated as case-insensitive\n@param value the value of the property\n@param the property type\n@return the credential\n@since 2.12", "docstring_tokens": ["Creates", "a", "new", "MongoCredential", "as", "a", "copy", "of", "this", "instance", "with", "the", "specified", "mechanism", "property", "added", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/MongoCredential.java#L316-L318", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/MongoCredential.java", "func_name": "MongoCredential.withMechanism", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new MongoCredential with the set mechanism. The existing mechanism must be null.\n\n@param mechanism the mechanism to set\n@return the credential\n@since 3.8", "docstring_tokens": ["Creates", "a", "new", "MongoCredential", "with", "the", "set", "mechanism", ".", "The", "existing", "mechanism", "must", "be", "null", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/MongoCredential.java#L327-L332", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/MongoCredential.java", "func_name": "MongoCredential.getMechanismProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the value of the given key to a mechanism property, or defaultValue if there is no mapping.\n\n@param key the mechanism property key, which is treated as case-insensitive\n@param defaultValue the default value, if no mapping exists\n@param the value type\n@return the mechanism property value\n@since 2.12", "docstring_tokens": ["Get", "the", "value", "of", "the", "given", "key", "to", "a", "mechanism", "property", "or", "defaultValue", "if", "there", "is", "no", "mapping", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/MongoCredential.java#L460-L468", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/io/OutputBuffer.java", "func_name": "OutputBuffer.toByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a copy of the buffered bytes.\n\n@return the byte array\n@see org.bson.io.OutputBuffer#pipe(java.io.OutputStream)", "docstring_tokens": ["Gets", "a", "copy", "of", "the", "buffered", "bytes", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/io/OutputBuffer.java#L138-L146", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/util/ClassMapBasedObjectSerializer.java", "func_name": "ClassMapBasedObjectSerializer.addObjectSerializer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Assign a ObjectSerializer to perform a type specific serialization scheme\n\n@param c this object's type serves as a key in the serialization map. ClassMapBasedObjectSerializer uses\norg.bson.util.ClassMap and not only checks if 'c' is a key in the Map, but also walks the up superclass and\ninterface graph of 'c' to find matches. This means that it is only necessary assign ObjectSerializers to base\nclasses. @see org.bson.util.ClassMap\n@param serializer performs the serialization mapping specific to the @param key type", "docstring_tokens": ["Assign", "a", "ObjectSerializer", "to", "perform", "a", "type", "specific", "serialization", "scheme"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/util/ClassMapBasedObjectSerializer.java#L40-L43", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/bulk/UpdateRequest.java", "func_name": "UpdateRequest.multi", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets whether this will update all documents matching the query filter.\n\n@param isMulti whether this will update all documents matching the query filter\n@return this", "docstring_tokens": ["Sets", "whether", "this", "will", "update", "all", "documents", "matching", "the", "query", "filter", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/bulk/UpdateRequest.java#L96-L102", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/RequestMessage.java", "func_name": "RequestMessage.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encoded the message to the given output.\n\n@param bsonOutput the output\n@param sessionContext the session context", "docstring_tokens": ["Encoded", "the", "message", "to", "the", "given", "output", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/RequestMessage.java#L134-L141", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/RequestMessage.java", "func_name": "RequestMessage.writeMessagePrologue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the message prologue to the given output.\n\n@param bsonOutput the output", "docstring_tokens": ["Writes", "the", "message", "prologue", "to", "the", "given", "output", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/RequestMessage.java#L157-L162", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/RequestMessage.java", "func_name": "RequestMessage.addDocument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends a document to the message.\n\n@param document the document\n@param bsonOutput the output\n@param validator the field name validator", "docstring_tokens": ["Appends", "a", "document", "to", "the", "message", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/RequestMessage.java#L180-L184", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/RequestMessage.java", "func_name": "RequestMessage.addCollectibleDocument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends a document to the message that is intended for storage in a collection.\n\n@param document the document\n@param bsonOutput the output\n@param validator the field name validator", "docstring_tokens": ["Appends", "a", "document", "to", "the", "message", "that", "is", "intended", "for", "storage", "in", "a", "collection", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/RequestMessage.java#L199-L202", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/RequestMessage.java", "func_name": "RequestMessage.backpatchMessageLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Backpatches the message length into the beginning of the message.\n\n@param startPosition the start position of the message\n@param bsonOutput the output", "docstring_tokens": ["Backpatches", "the", "message", "length", "into", "the", "beginning", "of", "the", "message", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/RequestMessage.java#L210-L213", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/gridfs/GridFSInputFile.java", "func_name": "GridFSInputFile.createChunk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new chunk of this file. Can be over-ridden, if input files need to be split into chunks using a different mechanism.\n\n@param id the file ID\n@param currentChunkNumber the unique id for this chunk\n@param writeBuffer the byte array containing the data for this chunk\n@return a DBObject representing this chunk.", "docstring_tokens": ["Creates", "a", "new", "chunk", "of", "this", "file", ".", "Can", "be", "over", "-", "ridden", "if", "input", "files", "need", "to", "be", "split", "into", "chunks", "using", "a", "different", "mechanism", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/gridfs/GridFSInputFile.java#L292-L296", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCursor.java", "func_name": "DBCursor.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a copy of an existing database cursor. The new cursor is an iterator, even if the original was an array.\n\n@return the new cursor", "docstring_tokens": ["Creates", "a", "copy", "of", "an", "existing", "database", "cursor", ".", "The", "new", "cursor", "is", "an", "iterator", "even", "if", "the", "original", "was", "an", "array", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCursor.java#L148-L150", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCursor.java", "func_name": "DBCursor.hasNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if there is another object available.\n\n
Note: Automatically adds the {@link Bytes#QUERYOPTION_AWAITDATA} option to any cursors with the\n{@link Bytes#QUERYOPTION_TAILABLE} option set. For non blocking tailable cursors see {@link #tryNext }.
\n\n@return true if there is another object available\n@mongodb.driver.manual /core/cursors/#cursor-batches Cursor Batches", "docstring_tokens": ["Checks", "if", "there", "is", "another", "object", "available", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCursor.java#L161-L178", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCursor.java", "func_name": "DBCursor.tryNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Non blocking check for tailable cursors to see if another object is available.\n\n
Returns the object the cursor is at and moves the cursor ahead by one or\nreturn null if no documents is available.
\n\n@return the next element or null\n@throws MongoException if failed\n@throws IllegalArgumentException if the cursor is not tailable\n@mongodb.driver.manual /core/cursors/#cursor-batches Cursor Batches", "docstring_tokens": ["Non", "blocking", "check", "for", "tailable", "cursors", "to", "see", "if", "another", "object", "is", "available", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCursor.java#L210-L222", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCursor.java", "func_name": "DBCursor.toArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts this cursor to an array.\n\n@param max the maximum number of objects to return\n@return an array of objects\n@throws MongoException if failed", "docstring_tokens": ["Converts", "this", "cursor", "to", "an", "array", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCursor.java#L759-L763", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCursor.java", "func_name": "DBCursor.one", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the first document that matches the query.\n\n@return the first matching document\n@since 2.12", "docstring_tokens": ["Returns", "the", "first", "document", "that", "matches", "the", "query", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCursor.java#L784-L792", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCursor.java", "func_name": "DBCursor.getReadPreference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the default read preference.\n\n@return the readPreference used by this cursor", "docstring_tokens": ["Gets", "the", "default", "read", "preference", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCursor.java#L890-L896", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBCursor.java", "func_name": "DBCursor.getReadConcern", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the read concern for this collection.\n\n@return the {@link com.mongodb.ReadConcern}\n@since 3.2\n@mongodb.server.release 3.2\n@mongodb.driver.manual reference/readConcern/ Read Concern", "docstring_tokens": ["Get", "the", "read", "concern", "for", "this", "collection", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBCursor.java#L920-L926", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BasicBSONCallback.java", "func_name": "BasicBSONCallback._put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts a new value into the document.\n\n@param name the name of the field\n@param value the value", "docstring_tokens": ["Puts", "a", "new", "value", "into", "the", "document", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BasicBSONCallback.java#L258-L260", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DefaultDBEncoder.java", "func_name": "DefaultDBEncoder.putDBRef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deals with encoding database references.\n\n@param name the name of the field in the document\n@param ref the database reference object", "docstring_tokens": ["Deals", "with", "encoding", "database", "references", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DefaultDBEncoder.java#L52-L59", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/bulk/BulkWriteResult.java", "func_name": "BulkWriteResult.unacknowledged", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an unacknowledged BulkWriteResult\n\n@return an unacknowledged BulkWriteResult", "docstring_tokens": ["Create", "an", "unacknowledged", "BulkWriteResult"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/bulk/BulkWriteResult.java#L239-L304", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ServerAddress.java", "func_name": "ServerAddress.getSocketAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the underlying socket address\n\n@return socket address", "docstring_tokens": ["Gets", "the", "underlying", "socket", "address"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ServerAddress.java#L186-L192", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ServerAddress.java", "func_name": "ServerAddress.getSocketAddresses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets all underlying socket addresses\n\n@return array of socket addresses\n\n@since 3.9", "docstring_tokens": ["Gets", "all", "underlying", "socket", "addresses"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ServerAddress.java#L201-L213", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.ne", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents where the value of the field name does not equal the specified value.\n\n@param fieldName the field name\n@param value the value, which may be null\n@param the value type\n@return the filter\n@mongodb.driver.manual reference/operator/query/ne $ne", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "where", "the", "value", "of", "the", "field", "name", "does", "not", "equal", "the", "specified", "value", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L98-L100", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.gt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents where the value of the given field is greater than the specified value.\n\n@param fieldName the field name\n@param value the value\n@param the value type\n@return the filter\n@mongodb.driver.manual reference/operator/query/gt $gt", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "where", "the", "value", "of", "the", "given", "field", "is", "greater", "than", "the", "specified", "value", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L111-L113", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.lt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents where the value of the given field is less than the specified value.\n\n@param fieldName the field name\n@param value the value\n@param the value type\n@return the filter\n@mongodb.driver.manual reference/operator/query/lt $lt", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "where", "the", "value", "of", "the", "given", "field", "is", "less", "than", "the", "specified", "value", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L124-L126", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.gte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents where the value of the given field is greater than or equal to the specified value.\n\n@param fieldName the field name\n@param value the value\n@param the value type\n@return the filter\n@mongodb.driver.manual reference/operator/query/gte $gte", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "where", "the", "value", "of", "the", "given", "field", "is", "greater", "than", "or", "equal", "to", "the", "specified", "value", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L137-L139", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.lte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents where the value of the given field is less than or equal to the specified value.\n\n@param fieldName the field name\n@param value the value\n@param the value type\n@return the filter\n@mongodb.driver.manual reference/operator/query/lte $lte", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "where", "the", "value", "of", "the", "given", "field", "is", "less", "than", "or", "equal", "to", "the", "specified", "value", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L150-L152", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.or", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that preforms a logical OR of the provided list of filters.\n\n@param filters the list of filters to and together\n@return the filter\n@mongodb.driver.manual reference/operator/query/or $or", "docstring_tokens": ["Creates", "a", "filter", "that", "preforms", "a", "logical", "OR", "of", "the", "provided", "list", "of", "filters", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L258-L260", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.nor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that performs a logical NOR operation on all the specified filters.\n\n@param filters the list of values\n@return the filter\n@mongodb.driver.manual reference/operator/query/nor $nor", "docstring_tokens": ["Creates", "a", "filter", "that", "performs", "a", "logical", "NOR", "operation", "on", "all", "the", "specified", "filters", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L312-L314", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.exists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents that either contain or do not contain the given field, depending on the value of the\nexists parameter.\n\n@param fieldName the field name\n@param exists true to check for existence, false to check for absence\n@return the filter\n@mongodb.driver.manual reference/operator/query/exists $exists", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "that", "either", "contain", "or", "do", "not", "contain", "the", "given", "field", "depending", "on", "the", "value", "of", "the", "exists", "parameter", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L337-L339", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.text", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents matching the given search term using the given language.\n\n@param search the search term\n@param language the language to use for stop words\n@return the filter\n@mongodb.driver.manual reference/operator/query/text $text\n@deprecated use {@link Filters#text(String, TextSearchOptions)}", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "matching", "the", "given", "search", "term", "using", "the", "given", "language", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L442-L446", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.text", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents matching the given the search term with the given text search options.\n\n@param search the search term\n@param textSearchOptions the text search options to use\n@return the filter\n@mongodb.driver.manual reference/operator/query/text $text\n@since 3.2", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "matching", "the", "given", "the", "search", "term", "with", "the", "given", "text", "search", "options", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L457-L461", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.elemMatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents containing a field that is an array where at least one member of the array matches the\ngiven filter.\n\n@param fieldName the field name\n@param filter the filter to apply to each element\n@return the filter\n@mongodb.driver.manual reference/operator/query/elemMatch $elemMatch", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "containing", "a", "field", "that", "is", "an", "array", "where", "at", "least", "one", "member", "of", "the", "array", "matches", "the", "given", "filter", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L524-L531", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.geoWithinBox", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents containing a field with grid coordinates data that exist entirely within the specified\nbox.\n\n@param fieldName the field name\n@param lowerLeftX the lower left x coordinate of the box\n@param lowerLeftY the lower left y coordinate of the box\n@param upperRightX the upper left x coordinate of the box\n@param upperRightY the upper left y coordinate of the box\n@return the filter\n@mongodb.driver.manual reference/operator/query/geoWithin/ $geoWithin\n@mongodb.driver.manual reference/operator/query/box/#op._S_box $box\n@mongodb.server.release 2.4\n@since 3.1", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "containing", "a", "field", "with", "grid", "coordinates", "data", "that", "exist", "entirely", "within", "the", "specified", "box", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L644-L652", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.geoWithinPolygon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents containing a field with grid coordinates data that exist entirely within the specified\npolygon.\n\n@param fieldName the field name\n@param points a list of pairs of x, y coordinates. Any extra dimensions are ignored\n@return the filter\n@mongodb.driver.manual reference/operator/query/geoWithin/ $geoWithin\n@mongodb.driver.manual reference/operator/query/polygon/#op._S_polygon $polygon\n@mongodb.server.release 2.4\n@since 3.1", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "containing", "a", "field", "with", "grid", "coordinates", "data", "that", "exist", "entirely", "within", "the", "specified", "polygon", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L666-L673", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.geoWithinCenter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents containing a field with grid coordinates data that exist entirely within the specified\ncircle.\n\n@param fieldName the field name\n@param x the x coordinate of the circle\n@param y the y coordinate of the circle\n@param radius the radius of the circle, as measured in the units used by the coordinate system\n@return the filter\n@mongodb.driver.manual reference/operator/query/geoWithin/ $geoWithin\n@mongodb.driver.manual reference/operator/query/center/#op._S_center $center\n@mongodb.server.release 2.4\n@since 3.1", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "containing", "a", "field", "with", "grid", "coordinates", "data", "that", "exist", "entirely", "within", "the", "specified", "circle", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L689-L695", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.near", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents containing a field with geospatial data that is near the specified GeoJSON point.\n\n@param fieldName the field name\n@param geometry the bounding GeoJSON geometry object\n@param maxDistance the maximum distance from the point, in meters. It may be null.\n@param minDistance the minimum distance from the point, in meters. It may be null.\n@return the filter\n@since 3.1\n@mongodb.driver.manual reference/operator/query/near/ $near\n@mongodb.server.release 2.4", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "containing", "a", "field", "with", "geospatial", "data", "that", "is", "near", "the", "specified", "GeoJSON", "point", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L759-L762", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Filters.java", "func_name": "Filters.near", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter that matches all documents containing a field with geospatial data that is near the specified point.\n\n@param fieldName the field name\n@param x the x coordinate\n@param y the y coordinate\n@param maxDistance the maximum distance from the point, in radians. It may be null.\n@param minDistance the minimum distance from the point, in radians. It may be null.\n@return the filter\n@since 3.1\n@mongodb.driver.manual reference/operator/query/near/ $near\n@mongodb.server.release 2.4", "docstring_tokens": ["Creates", "a", "filter", "that", "matches", "all", "documents", "containing", "a", "field", "with", "geospatial", "data", "that", "is", "near", "the", "specified", "point", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Filters.java#L794-L797", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BSON.java", "func_name": "BSON.regexFlags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a sequence of regular expression modifiers from the database into Java regular expression flags.\n\n@param s regular expression modifiers\n@return the Java flags\n@throws IllegalArgumentException If sequence contains invalid flags.", "docstring_tokens": ["Converts", "a", "sequence", "of", "regular", "expression", "modifiers", "from", "the", "database", "into", "Java", "regular", "expression", "flags", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BSON.java#L297-L309", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BSON.java", "func_name": "BSON.regexFlag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a regular expression modifier from the database into Java regular expression flags.\n\n@param c regular expression modifier\n@return the Java flags\n@throws IllegalArgumentException If sequence contains invalid flags.", "docstring_tokens": ["Converts", "a", "regular", "expression", "modifier", "from", "the", "database", "into", "Java", "regular", "expression", "flags", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BSON.java#L318-L327", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BSON.java", "func_name": "BSON.regexFlags", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts Java regular expression flags into regular expression modifiers from the database.\n\n@param flags the Java flags\n@return the Java flags\n@throws IllegalArgumentException if some flags couldn't be recognized.", "docstring_tokens": ["Converts", "Java", "regular", "expression", "flags", "into", "regular", "expression", "modifiers", "from", "the", "database", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BSON.java#L336-L352", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/bulk/IndexRequest.java", "func_name": "IndexRequest.textVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the text index version number.\n\n@param textVersion the text index version number.\n@return this", "docstring_tokens": ["Set", "the", "text", "index", "version", "number", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/bulk/IndexRequest.java#L303-L309", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/bulk/IndexRequest.java", "func_name": "IndexRequest.sphereVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the 2dsphere index version number.\n\n@param sphereVersion the 2dsphere index version number.\n@return this", "docstring_tokens": ["Sets", "the", "2dsphere", "index", "version", "number", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/bulk/IndexRequest.java#L326-L332", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/client/model/DBCollectionFindOptions.java", "func_name": "DBCollectionFindOptions.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy this DBCollectionFindOptions instance into a new instance.\n\n@return the new DBCollectionFindOptions with the same settings as this instance.", "docstring_tokens": ["Copy", "this", "DBCollectionFindOptions", "instance", "into", "a", "new", "instance", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/client/model/DBCollectionFindOptions.java#L72-L96", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/assertions/Assertions.java", "func_name": "Assertions.convertToType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cast an object to the given class and return it, or throw IllegalArgumentException if it's not assignable to that class.\n\n@param clazz the class to cast to\n@param value the value to cast\n@param errorMessage the error message to include in the exception\n@param the Class type\n@return value cast to clazz\n@throws IllegalArgumentException if value is not assignable to clazz", "docstring_tokens": ["Cast", "an", "object", "to", "the", "given", "class", "and", "return", "it", "or", "throw", "IllegalArgumentException", "if", "it", "s", "not", "assignable", "to", "that", "class", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/assertions/Assertions.java#L95-L101", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/DBEncoderAdapter.java", "func_name": "DBEncoderAdapter.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "over an array of ByteBuffer instances from a PooledByteBufferOutputBuffer", "docstring_tokens": ["over", "an", "array", "of", "ByteBuffer", "instances", "from", "a", "PooledByteBufferOutputBuffer"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/DBEncoderAdapter.java#L40-L54", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/operation/MixedBulkWriteOperation.java", "func_name": "MixedBulkWriteOperation.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes a bulk write operation.\n\n@param binding the WriteBinding for the operation\n@return the bulk write result.\n@throws MongoBulkWriteException if a failure to complete the bulk write is detected based on the server response", "docstring_tokens": ["Executes", "a", "bulk", "write", "operation", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/operation/MixedBulkWriteOperation.java#L192-L209", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/BulkWriteRequestBuilder.java", "func_name": "BulkWriteRequestBuilder.upsert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies that the request being built should be an upsert.\n\n@return a new builder that allows only update and replace, since upsert does not apply to remove.\n@mongodb.driver.manual tutorial/modify-documents/#upsert-option Upsert", "docstring_tokens": ["Specifies", "that", "the", "request", "being", "built", "should", "be", "an", "upsert", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/BulkWriteRequestBuilder.java#L123-L125", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/BulkWriteRequestBuilder.java", "func_name": "BulkWriteRequestBuilder.arrayFilters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specifies that the request being built should use the given array filters for an update. Note that this option only applies to\nupdate operations and will be ignored for replace operations\n\n@param arrayFilters the array filters to apply to the update operation\n@return a new builder that allows only update and replace, since upsert does not apply to remove.\n@since 3.6\n@mongodb.server.release 3.6", "docstring_tokens": ["Specifies", "that", "the", "request", "being", "built", "should", "use", "the", "given", "array", "filters", "for", "an", "update", ".", "Note", "that", "this", "option", "only", "applies", "to", "update", "operations", "and", "will", "be", "ignored", "for", "replace", "operations"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/BulkWriteRequestBuilder.java#L136-L138", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/operation/MapReduceToCollectionOperation.java", "func_name": "MapReduceToCollectionOperation.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executing this will return a cursor with your results in.\n\n@param binding the binding\n@return a MongoCursor that can be iterated over to find all the results of the Map Reduce operation.", "docstring_tokens": ["Executing", "this", "will", "return", "a", "cursor", "with", "your", "results", "in", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/operation/MapReduceToCollectionOperation.java#L508-L518", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-embedded/src/main/com/mongodb/embedded/client/MongoClients.java", "func_name": "MongoClients.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes the mongod library for use.\n\n
The library must be called at most once per process before calling {@link #create(MongoClientSettings)}.
\n@param mongoEmbeddedSettings the settings for the embedded driver.", "docstring_tokens": ["Initializes", "the", "mongod", "library", "for", "use", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-embedded/src/main/com/mongodb/embedded/client/MongoClients.java#L43-L55", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-embedded/src/main/com/mongodb/embedded/client/MongoClients.java", "func_name": "MongoClients.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new client.\n\n@param mongoClientSettings the mongoClientSettings\n@return the client", "docstring_tokens": ["Creates", "a", "new", "client", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-embedded/src/main/com/mongodb/embedded/client/MongoClients.java#L63-L75", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-embedded/src/main/com/mongodb/embedded/client/MongoClients.java", "func_name": "MongoClients.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes down the mongod library", "docstring_tokens": ["Closes", "down", "the", "mongod", "library"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-embedded/src/main/com/mongodb/embedded/client/MongoClients.java#L80-L92", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/SslHelper.java", "func_name": "SslHelper.enableSni", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enable SNI if running on Java 8 or later. Otherwise fail silently to enable SNI.\n\n@param host the server host\n@param sslParameters the SSL parameters", "docstring_tokens": ["Enable", "SNI", "if", "running", "on", "Java", "8", "or", "later", ".", "Otherwise", "fail", "silently", "to", "enable", "SNI", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/SslHelper.java#L73-L77", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/Bytes.java", "func_name": "Bytes.getType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the type byte for a given object.\n\n@param object the object\n@return the byte value associated with the type, or -1 if no type is matched", "docstring_tokens": ["Gets", "the", "type", "byte", "for", "a", "given", "object", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/Bytes.java#L145-L211", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/MapReduceCommand.java", "func_name": "MapReduceCommand.toDBObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turns this command into a DBObject representation of this map reduce command.\n\n@return a DBObject that contains the MongoDB document representation of this command.", "docstring_tokens": ["Turns", "this", "command", "into", "a", "DBObject", "representation", "of", "this", "map", "reduce", "command", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/MapReduceCommand.java#L320-L382", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ClusterSettings.java", "func_name": "ClusterSettings.getShortDescription", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a short, pretty description for these ClusterSettings.\n\n@return a String description of the relevant settings.", "docstring_tokens": ["Returns", "a", "short", "pretty", "description", "for", "these", "ClusterSettings", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ClusterSettings.java#L581-L592", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/result/UpdateResult.java", "func_name": "UpdateResult.acknowledged", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an acknowledged UpdateResult\n\n@param matchedCount the number of documents matched\n@param modifiedCount the number of documents modified\n@param upsertedId if the replace resulted in an inserted document, the id of the inserted document\n@return an acknowledged UpdateResult", "docstring_tokens": ["Create", "an", "acknowledged", "UpdateResult"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/result/UpdateResult.java#L79-L82", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/gridfs/model/GridFSFile.java", "func_name": "GridFSFile.getContentType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The content type of the file\n\n@return the content type of the file\n@deprecated content type information should be stored the metadata document instead.", "docstring_tokens": ["The", "content", "type", "of", "the", "file"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/gridfs/model/GridFSFile.java#L194-L201", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/gridfs/model/GridFSFile.java", "func_name": "GridFSFile.getAliases", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The aliases for the file\n\n@return the aliases of the file\n@deprecated any aliases should be stored in the metadata document instead.", "docstring_tokens": ["The", "aliases", "for", "the", "file"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/gridfs/model/GridFSFile.java#L209-L217", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/AbstractByteBufBsonDocument.java", "func_name": "AbstractByteBufBsonDocument.getFirstKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the first key in this document, or null if the document is empty.\n\n@return the first key in this document, or null if the document is empty", "docstring_tokens": ["Gets", "the", "first", "key", "in", "this", "document", "or", "null", "if", "the", "document", "is", "empty", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/AbstractByteBufBsonDocument.java#L185-L197", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/codecs/EncoderContext.java", "func_name": "EncoderContext.encodeWithChildContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a child context based on this and serializes the value with it to the writer.\n\n@param encoder the encoder to encode value with\n@param writer the writer to encode to\n@param value the value to encode\n@param the type of the value", "docstring_tokens": ["Creates", "a", "child", "context", "based", "on", "this", "and", "serializes", "the", "value", "with", "it", "to", "the", "writer", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/codecs/EncoderContext.java#L90-L92", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ReadConcern.java", "func_name": "ReadConcern.asDocument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets this read concern as a document.\n\n@return The read concern as a BsonDocument", "docstring_tokens": ["Gets", "this", "read", "concern", "as", "a", "document", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ReadConcern.java#L110-L116", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/SnappyCompressor.java", "func_name": "SnappyCompressor.compress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "be copied into a single byte array. For that reason the compress method defined in the base class can't be used.", "docstring_tokens": ["be", "copied", "into", "a", "single", "byte", "array", ".", "For", "that", "reason", "the", "compress", "method", "defined", "in", "the", "base", "class", "can", "t", "be", "used", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/SnappyCompressor.java#L42-L56", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BasicBSONObject.java", "func_name": "BasicBSONObject.getString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value of a field as a string\n\n@param key the field to look up\n@return the value of the field, converted to a string", "docstring_tokens": ["Returns", "the", "value", "of", "a", "field", "as", "a", "string"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BasicBSONObject.java#L211-L217", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BasicBSONObject.java", "func_name": "BasicBSONObject.getBoolean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value of a field as a boolean\n\n@param key the field to look up\n@param def the default value in case the field is not found\n@return the value of the field, converted to a string", "docstring_tokens": ["Returns", "the", "value", "of", "a", "field", "as", "a", "boolean"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BasicBSONObject.java#L252-L264", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BasicBSONObject.java", "func_name": "BasicBSONObject.getObjectId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the object id or def if not set.\n\n@param field The field to return\n@param def the default value in case the field is not found\n@return The field object value or def if not set.", "docstring_tokens": ["Returns", "the", "object", "id", "or", "def", "if", "not", "set", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BasicBSONObject.java#L283-L286", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BasicBSONObject.java", "func_name": "BasicBSONObject.getDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the date or def if not set.\n\n@param field The field to return\n@param def the default value in case the field is not found\n@return The field object value or def if not set.", "docstring_tokens": ["Returns", "the", "date", "or", "def", "if", "not", "set", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BasicBSONObject.java#L305-L308", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BasicBSONObject.java", "func_name": "BasicBSONObject.canonicalize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "create a copy of \"from\", but with keys ordered alphabetically", "docstring_tokens": ["create", "a", "copy", "of", "from", "but", "with", "keys", "ordered", "alphabetically"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BasicBSONObject.java#L377-L388", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/MongoClient.java", "func_name": "MongoClient.getCredential", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the credential that this client authenticates all connections with\n\n@return the credential, which may be null in unsecured deployments\n@since 3.9", "docstring_tokens": ["Gets", "the", "credential", "that", "this", "client", "authenticates", "all", "connections", "with"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/MongoClient.java#L433-L442", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/MongoClient.java", "func_name": "MongoClient.startSession", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a client session.\n\n@param options the options for the client session\n@return the client session\n@throws MongoClientException if the MongoDB cluster to which this client is connected does not support sessions\n@mongodb.server.release 3.6\n@since 3.6", "docstring_tokens": ["Creates", "a", "client", "session", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/MongoClient.java#L578-L584", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/WriteConcern.java", "func_name": "WriteConcern.getWTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the wTimeout in the given time unit.\n\n@param timeUnit the non-null time unit for the result\n@return the WTimeout, which may be null if a wTimeout has not been specified\n@since 3.2\n@mongodb.driver.manual core/write-concern/#timeouts wTimeout", "docstring_tokens": ["Gets", "the", "wTimeout", "in", "the", "given", "time", "unit", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/WriteConcern.java#L372-L376", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/WriteConcern.java", "func_name": "WriteConcern.asDocument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets this write concern as a document.\n\n@return The write concern as a BsonDocument, even if {@code w <= 0}", "docstring_tokens": ["Gets", "this", "write", "concern", "as", "a", "document", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/WriteConcern.java#L461-L471", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/WriteConcern.java", "func_name": "WriteConcern.isAcknowledged", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if this write concern indicates that write operations must be acknowledged.\n\n@return true w != null or w > 0 or journal is true or fsync is true\n@mongodb.driver.manual core/write-concern/#acknowledged Acknowledged", "docstring_tokens": ["Returns", "true", "if", "this", "write", "concern", "indicates", "that", "write", "operations", "must", "be", "acknowledged", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/WriteConcern.java#L479-L484", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/WriteConcern.java", "func_name": "WriteConcern.withW", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a new WriteConcern from the current one and the specified integer-based value for w\n\n@param w number of servers to ensure write propagation to before acknowledgment, which must be {@code >= 0}\n@return the new WriteConcern\n@mongodb.driver.manual core/write-concern/#replica-acknowledged Replica Acknowledged", "docstring_tokens": ["Constructs", "a", "new", "WriteConcern", "from", "the", "current", "one", "and", "the", "specified", "integer", "-", "based", "value", "for", "w"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/WriteConcern.java#L546-L548", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/WriteConcern.java", "func_name": "WriteConcern.withW", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a new WriteConcern from the current one and the specified tag-set based value for w\n\n@param w tag set, or \"majority\", representing the servers to ensure write propagation to before acknowledgment. Do not use string\nrepresentation of integer values for w\n@return the new WriteConcern\n@see #withW(int)\n@mongodb.driver.manual tutorial/configure-replica-set-tag-sets/#replica-set-configuration-tag-sets Tag Sets", "docstring_tokens": ["Constructs", "a", "new", "WriteConcern", "from", "the", "current", "one", "and", "the", "specified", "tag", "-", "set", "based", "value", "for", "w"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/WriteConcern.java#L559-L562", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/WriteConcern.java", "func_name": "WriteConcern.withWTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a new WriteConcern from the current one and the specified wTimeout in the given time unit.\n\n@param wTimeout the wTimeout, which must be >= 0 and <= Integer.MAX_VALUE after conversion to milliseconds\n@param timeUnit the non-null time unit to apply to wTimeout\n@return the WriteConcern with the given wTimeout\n@since 3.2\n@mongodb.driver.manual reference/write-concern/#wtimeout wtimeout option", "docstring_tokens": ["Constructs", "a", "new", "WriteConcern", "from", "the", "current", "one", "and", "the", "specified", "wTimeout", "in", "the", "given", "time", "unit", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/WriteConcern.java#L610-L616", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/WriteConcern.java", "func_name": "WriteConcern.majorityWriteConcern", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a Majority Write Concern that requires a majority of servers to acknowledge the write.\n\n@param wtimeout timeout for write operation\n@param fsync whether or not to fsync\n@param j whether writes should wait for a journal group commit\n@return Majority, a subclass of WriteConcern that represents the write concern requiring most servers to acknowledge the write\n@deprecated Prefer {@link #MAJORITY}, {@link #withWTimeout(long, TimeUnit)}, {@link #withJournal(Boolean)}", "docstring_tokens": ["Create", "a", "Majority", "Write", "Concern", "that", "requires", "a", "majority", "of", "servers", "to", "acknowledge", "the", "write", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/WriteConcern.java#L653-L656", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/BulkWriteOperation.java", "func_name": "BulkWriteOperation.insert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an insert request to the bulk operation\n\n@param document the document to insert", "docstring_tokens": ["Add", "an", "insert", "request", "to", "the", "bulk", "operation"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/BulkWriteOperation.java#L90-L96", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/BulkWriteOperation.java", "func_name": "BulkWriteOperation.find", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start building a write request to add to the bulk write operation. The returned builder can be used to create an update, replace,\nor remove request with the given query.\n\n@param query the query for an update, replace or remove request\n@return a builder for a single write request", "docstring_tokens": ["Start", "building", "a", "write", "request", "to", "add", "to", "the", "bulk", "write", "operation", ".", "The", "returned", "builder", "can", "be", "used", "to", "create", "an", "update", "replace", "or", "remove", "request", "with", "the", "given", "query", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/BulkWriteOperation.java#L105-L108", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/BulkWriteOperation.java", "func_name": "BulkWriteOperation.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the bulk write operation with the default write concern of the collection from which this came. Note that the\ncontinueOnError property of the write concern is ignored.\n\n@return the result of the bulk write operation.\n@throws com.mongodb.BulkWriteException if the write failed due some other failure specific to the write command\n@throws MongoException if the operation failed for some other reason", "docstring_tokens": ["Execute", "the", "bulk", "write", "operation", "with", "the", "default", "write", "concern", "of", "the", "collection", "from", "which", "this", "came", ".", "Note", "that", "the", "continueOnError", "property", "of", "the", "write", "concern", "is", "ignored", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/BulkWriteOperation.java#L118-L122", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/BasicDBObject.java", "func_name": "BasicDBObject.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new instance which is a copy of this BasicDBObject.\n\n@return a BasicDBObject with exactly the same values as this instance.", "docstring_tokens": ["Creates", "a", "new", "instance", "which", "is", "a", "copy", "of", "this", "BasicDBObject", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/BasicDBObject.java#L254-L267", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Indexes.java", "func_name": "Indexes.geoHaystack", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an index key for a geohaystack index on the given field.\n\n
\nNote: For queries that use spherical geometry, a 2dsphere index is a better option than a haystack index.\n2dsphere indexes allow field reordering; geoHaystack indexes require the first field to be the location field. Also, geoHaystack\nindexes are only usable via commands and so always return all results at once..\n
\n\n@param fieldName the field to create a geoHaystack index on\n@param additional the additional field that forms the geoHaystack index key\n@return the index specification\n@mongodb.driver.manual core/geohaystack geoHaystack index", "docstring_tokens": ["Create", "an", "index", "key", "for", "a", "geohaystack", "index", "on", "the", "given", "field", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Indexes.java#L144-L147", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/operation/CreateIndexesOperation.java", "func_name": "CreateIndexesOperation.getIndexNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the index names.\n\n@return a list of index names", "docstring_tokens": ["Gets", "the", "index", "names", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/operation/CreateIndexesOperation.java#L130-L140", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonValue", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L488-L491", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getDocument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonDocument.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonDocument\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonDocument", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L502-L507", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonArray.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonArray\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonArray", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L518-L523", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getNumber", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonNumber.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonNumber\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonNumber", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L534-L539", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getInt32", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonInt32.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonInt32\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonInt32", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L550-L555", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getInt64", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonInt64.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonInt64\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonInt64", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L566-L571", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getDecimal128", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonDecimal128.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonDecimal128\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type\n@since 3.4", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonDecimal128", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L583-L588", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonDouble.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonDouble\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonDouble", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L599-L604", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getBoolean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonBoolean.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonBoolean\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonBoolean", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L615-L620", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonString.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonString\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonString", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L631-L636", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getDateTime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonDateTime.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonDateTime\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonDateTime", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L647-L652", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getTimestamp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonTimestamp.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonTimestamp\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonTimestamp", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L663-L668", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getObjectId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonObjectId.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonObjectId\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonObjectId", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L679-L684", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getBinary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonBinary.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonBinary\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonBinary", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L695-L700", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocument.java", "func_name": "BsonDocument.getRegularExpression", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key as a\nBsonRegularExpression.\n\n@param key the key\n@param defaultValue the default value\n@return the value of the key as a BsonRegularExpression\n@throws org.bson.BsonInvalidOperationException if the document contains the key but the value is not of the expected type", "docstring_tokens": ["If", "the", "document", "does", "not", "contain", "the", "given", "key", "return", "the", "given", "default", "value", ".", "Otherwise", "gets", "the", "value", "of", "the", "key", "as", "a", "BsonRegularExpression", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocument.java#L711-L716", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/tlschannel/async/AsynchronousTlsChannelGroup.java", "func_name": "AsynchronousTlsChannelGroup.writeHandlingTasks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Intended use of the channel group is with sockets that run tasks internally, but out of tolerance, run tasks in\nthread in case the socket does not.", "docstring_tokens": ["Intended", "use", "of", "the", "channel", "group", "is", "with", "sockets", "that", "run", "tasks", "internally", "but", "out", "of", "tolerance", "run", "tasks", "in", "thread", "in", "case", "the", "socket", "does", "not", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/tlschannel/async/AsynchronousTlsChannelGroup.java#L550-L560", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonDocumentWrapper.java", "func_name": "BsonDocumentWrapper.asBsonDocument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A helper to convert an document of type Object to a BsonDocument\n\n
If not already a BsonDocument it looks up the documents' class in the codecRegistry and wraps it into a BsonDocumentWrapper
\n\n@param document the document to convert\n@param codecRegistry the codecRegistry that can be used in the conversion of the Object\n@return a BsonDocument", "docstring_tokens": ["A", "helper", "to", "convert", "an", "document", "of", "type", "Object", "to", "a", "BsonDocument"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonDocumentWrapper.java#L55-L65", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/assertions/Assertions.java", "func_name": "Assertions.notNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Throw IllegalArgumentException if the value is null.\n\n@param name the parameter name\n@param value the value that should not be null\n@param callback the callback that also is passed the exception if the value is null\n@param the value type\n@return the value\n@throws java.lang.IllegalArgumentException if value is null", "docstring_tokens": ["Throw", "IllegalArgumentException", "if", "the", "value", "is", "null", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/assertions/Assertions.java#L52-L59", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/assertions/Assertions.java", "func_name": "Assertions.isTrue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Throw IllegalStateException if the condition if false.\n\n@param name the name of the state that is being checked\n@param condition the condition about the parameter to check\n@param callback the callback that also is passed the exception if the condition is not true\n@throws java.lang.IllegalStateException if the condition is false", "docstring_tokens": ["Throw", "IllegalStateException", "if", "the", "condition", "if", "false", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/assertions/Assertions.java#L82-L88", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/codecs/pojo/ClassModelBuilder.java", "func_name": "ClassModelBuilder.getProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a property by the property name.\n\n@param propertyName the name of the property to find.\n@return the property or null if the property is not found", "docstring_tokens": ["Gets", "a", "property", "by", "the", "property", "name", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/codecs/pojo/ClassModelBuilder.java#L245-L253", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/codecs/pojo/ClassModelBuilder.java", "func_name": "ClassModelBuilder.build", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new ClassModel instance based on the mapping data provided.\n\n@return the new instance", "docstring_tokens": ["Creates", "a", "new", "ClassModel", "instance", "based", "on", "the", "mapping", "data", "provided", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/codecs/pojo/ClassModelBuilder.java#L267-L297", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/ReplaceOneModel.java", "func_name": "ReplaceOneModel.getOptions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the options to apply.\n\n@return the update options\n@deprecated use {@link #getReplaceOptions()} instead", "docstring_tokens": ["Gets", "the", "options", "to", "apply", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/ReplaceOneModel.java#L97-L103", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/ReflectionDBObject.java", "func_name": "ReflectionDBObject.getWrapperIfReflectionObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the wrapper if this object can be assigned from this class.\n\n@param c the class to be wrapped\n@return the wrapper", "docstring_tokens": ["Returns", "the", "wrapper", "if", "this", "object", "can", "be", "assigned", "from", "this", "class", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/ReflectionDBObject.java#L312-L318", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/ReflectionDBObject.java", "func_name": "ReflectionDBObject.getWrapper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an existing Wrapper instance associated with a class, or creates a new one.\n\n@param c the class to be wrapped\n@return the wrapped", "docstring_tokens": ["Returns", "an", "existing", "Wrapper", "instance", "associated", "with", "a", "class", "or", "creates", "a", "new", "one", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/ReflectionDBObject.java#L326-L333", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonBinary.java", "func_name": "BsonBinary.asUuid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the binary as a UUID. The binary type must be 4.\n\n@return the uuid\n@since 3.9", "docstring_tokens": ["Returns", "the", "binary", "as", "a", "UUID", ".", "The", "binary", "type", "must", "be", "4", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonBinary.java#L118-L128", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/BsonBinary.java", "func_name": "BsonBinary.asUuid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the binary as a UUID.\n\n@param uuidRepresentation the UUID representation\n@return the uuid\n@since 3.9", "docstring_tokens": ["Returns", "the", "binary", "as", "a", "UUID", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/BsonBinary.java#L137-L149", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/util/JSON.java", "func_name": "JSONParser.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse an unknown type.\n\n@return Object the next item\n@throws JSONParseException if invalid JSON is found", "docstring_tokens": ["Parse", "an", "unknown", "type", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/util/JSON.java#L166-L235", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/util/JSON.java", "func_name": "JSONParser.readHex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the current character, making sure that it is a hexidecimal character.\n\n@throws JSONParseException if the current character is not a hexidecimal character", "docstring_tokens": ["Read", "the", "current", "character", "making", "sure", "that", "it", "is", "a", "hexidecimal", "character", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/util/JSON.java#L320-L329", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/util/JSON.java", "func_name": "JSONParser.skipWS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Advances the position in the string past any whitespace.", "docstring_tokens": ["Advances", "the", "position", "in", "the", "string", "past", "any", "whitespace", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/util/JSON.java#L344-L348", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/util/JSON.java", "func_name": "JSONParser.parseString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a string.\n\n@return the next string.\n@throws JSONParseException if invalid JSON is found", "docstring_tokens": ["Parses", "a", "string", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/util/JSON.java#L369-L460", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/util/JSON.java", "func_name": "JSONParser.parseNumber", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a number.\n\n@return the next number (int or double).\n@throws JSONParseException if invalid JSON is found", "docstring_tokens": ["Parses", "a", "number", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/util/JSON.java#L468-L520", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/util/JSON.java", "func_name": "JSONParser.parseExponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Advances the pointer through the exponent.", "docstring_tokens": ["Advances", "the", "pointer", "through", "the", "exponent", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/util/JSON.java#L557-L584", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/util/JSON.java", "func_name": "JSONParser.parseArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the next array.\n\n@return the array\n@throws JSONParseException if invalid JSON is found", "docstring_tokens": ["Parses", "the", "next", "array", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/util/JSON.java#L602-L630", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/BulkUpdateRequestBuilder.java", "func_name": "BulkUpdateRequestBuilder.updateOne", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a request to update one document in the collection that matches the query with which this builder was created.\n\n@param update the update criteria", "docstring_tokens": ["Adds", "a", "request", "to", "update", "one", "document", "in", "the", "collection", "that", "matches", "the", "query", "with", "which", "this", "builder", "was", "created", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/BulkUpdateRequestBuilder.java#L114-L116", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/connection/ConnectionDescription.java", "func_name": "ConnectionDescription.withConnectionId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new connection description with the set connection id\n\n@param connectionId the connection id\n@return the new connection description\n@since 3.8", "docstring_tokens": ["Creates", "a", "new", "connection", "description", "with", "the", "set", "connection", "id"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/connection/ConnectionDescription.java#L150-L154", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/WriteConcernResult.java", "func_name": "WriteConcernResult.acknowledged", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an acknowledged WriteConcernResult\n\n@param count the count of matched documents\n@param isUpdateOfExisting whether an existing document was updated\n@param upsertedId if an upsert resulted in an inserted document, this is the _id of that document. This may be null\n@return an acknowledged WriteConcernResult", "docstring_tokens": ["Create", "an", "acknowledged", "WriteConcernResult"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/WriteConcernResult.java#L71-L138", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/WriteConcernResult.java", "func_name": "WriteConcernResult.unacknowledged", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an unacknowledged WriteConcernResult\n\n@return an unacknowledged WriteConcernResult", "docstring_tokens": ["Create", "an", "unacknowledged", "WriteConcernResult"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/WriteConcernResult.java#L145-L194", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/Document.java", "func_name": "Document.getEmbeddedValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Throws ClassCastException if any of the intermediate embedded values is not a Document.", "docstring_tokens": ["Throws", "ClassCastException", "if", "any", "of", "the", "intermediate", "embedded", "values", "is", "not", "a", "Document", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/Document.java#L216-L233", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/Document.java", "func_name": "Document.constructValuesList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A ClassCastException will be thrown if an element in the list is not of type T.", "docstring_tokens": ["A", "ClassCastException", "will", "be", "thrown", "if", "an", "element", "in", "the", "list", "is", "not", "of", "type", "T", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/Document.java#L373-L386", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/TransactionOptions.java", "func_name": "TransactionOptions.merge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Merge the two provided transaction options, with the first taking precedence over the second.\n\n@param options the transaction options, which take precedence for any property that is non-null\n@param defaultOptions the default transaction options\n@return the merged transaction options", "docstring_tokens": ["Merge", "the", "two", "provided", "transaction", "options", "with", "the", "first", "taking", "precedence", "over", "the", "second", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/TransactionOptions.java#L86-L97", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/ConcurrentPool.java", "func_name": "ConcurrentPool.release", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "call done when you are done with an object from the pool if there is room and the object is ok will get added\n\n@param t item to return to the pool\n@param prune true if the item should be closed, false if it should be put back in the pool", "docstring_tokens": ["call", "done", "when", "you", "are", "done", "with", "an", "object", "from", "the", "pool", "if", "there", "is", "room", "and", "the", "object", "is", "ok", "will", "get", "added"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/ConcurrentPool.java#L97-L114", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/ConcurrentPool.java", "func_name": "ConcurrentPool.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets an object from the pool - will block if none are available\n\n@param timeout negative - forever 0 - return immediately no matter what positive ms to wait\n@param timeUnit the time unit of the timeout\n@return An object from the pool, or null if can't get one in the given waitTime\n@throws MongoTimeoutException if the timeout has been exceeded", "docstring_tokens": ["Gets", "an", "object", "from", "the", "pool", "-", "will", "block", "if", "none", "are", "available"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/ConcurrentPool.java#L134-L150", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/internal/connection/ConcurrentPool.java", "func_name": "ConcurrentPool.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clears the pool of all objects.", "docstring_tokens": ["Clears", "the", "pool", "of", "all", "objects", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/internal/connection/ConcurrentPool.java#L214-L223", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/LazyBSONObject.java", "func_name": "LazyBSONObject.pipe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pipe the raw bytes into the given output stream.\n\n@param os the output stream\n@return the number of bytes written\n@throws IOException any IOException thrown by the output stream", "docstring_tokens": ["Pipe", "the", "raw", "bytes", "into", "the", "given", "output", "stream", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/LazyBSONObject.java#L296-L299", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/AbstractBsonReader.java", "func_name": "AbstractBsonReader.throwInvalidContextType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Throws an InvalidOperationException when the method called is not valid for the current ContextType.\n\n@param methodName The name of the method.\n@param actualContextType The actual ContextType.\n@param validContextTypes The valid ContextTypes.\n@throws BsonInvalidOperationException when the method called is not valid for the current ContextType.", "docstring_tokens": ["Throws", "an", "InvalidOperationException", "when", "the", "method", "called", "is", "not", "valid", "for", "the", "current", "ContextType", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/AbstractBsonReader.java#L650-L656", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/AbstractBsonReader.java", "func_name": "AbstractBsonReader.throwInvalidState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Throws an InvalidOperationException when the method called is not valid for the current state.\n\n@param methodName The name of the method.\n@param validStates The valid states.\n@throws BsonInvalidOperationException when the method called is not valid for the current state.", "docstring_tokens": ["Throws", "an", "InvalidOperationException", "when", "the", "method", "called", "is", "not", "valid", "for", "the", "current", "state", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/AbstractBsonReader.java#L665-L670", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/AbstractBsonReader.java", "func_name": "AbstractBsonReader.verifyBSONType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies the current state and BSONType of the reader.\n\n@param methodName The name of the method calling this one.\n@param requiredBsonType The required BSON type.", "docstring_tokens": ["Verifies", "the", "current", "state", "and", "BSONType", "of", "the", "reader", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/AbstractBsonReader.java#L678-L694", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/AbstractBsonReader.java", "func_name": "AbstractBsonReader.verifyName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies the name of the current element.\n\n@param expectedName The expected name.\n@throws BsonSerializationException when the name read is not the expected name", "docstring_tokens": ["Verifies", "the", "name", "of", "the", "current", "element", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/AbstractBsonReader.java#L702-L709", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/AbstractBsonReader.java", "func_name": "AbstractBsonReader.checkPreconditions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensures any conditions are met before reading commences. Throws exceptions if the conditions are not met.\n\n@param methodName the name of the current method, which will indicate the field being read\n@param type the type of this field", "docstring_tokens": ["Ensures", "any", "conditions", "are", "met", "before", "reading", "commences", ".", "Throws", "exceptions", "if", "the", "conditions", "are", "not", "met", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/AbstractBsonReader.java#L717-L723", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/types/Decimal128.java", "func_name": "Decimal128.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a Decimal128 value representing the given String.\n\n@param value the Decimal128 value represented as a String\n@return the Decimal128 value representing the given String\n@throws NumberFormatException if the value is out of the Decimal128 range\n@see\n\nFrom-String Specification", "docstring_tokens": ["Returns", "a", "Decimal128", "value", "representing", "the", "given", "String", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/types/Decimal128.java#L110-L126", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/types/Decimal128.java", "func_name": "Decimal128.bigDecimalValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a BigDecimal that is equivalent to this Decimal128.\n\n@return a BigDecimal that is equivalent to this Decimal128\n@throws ArithmeticException if the Decimal128 value is NaN, Infinity, -Infinity, or -0, none of which can be represented as a\nBigDecimal", "docstring_tokens": ["Gets", "a", "BigDecimal", "that", "is", "equivalent", "to", "this", "Decimal128", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/types/Decimal128.java#L277-L295", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "bson/src/main/org/bson/types/Decimal128.java", "func_name": "Decimal128.getBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "May have leading zeros. Strip them before considering making this method public", "docstring_tokens": ["May", "have", "leading", "zeros", ".", "Strip", "them", "before", "considering", "making", "this", "method", "public"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/bson/src/main/org/bson/types/Decimal128.java#L317-L335", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/operation/AggregateExplainOperation.java", "func_name": "AggregateExplainOperation.hint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the hint for which index to use. A null value means no hint is set.\n\n@param hint the hint\n@return this\n@since 3.6\n@mongodb.server.release 3.6", "docstring_tokens": ["Sets", "the", "hint", "for", "which", "index", "to", "use", ".", "A", "null", "value", "means", "no", "hint", "is", "set", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/operation/AggregateExplainOperation.java#L166-L170", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/Collation.java", "func_name": "Collation.asDocument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets this collation options as a document.\n\n@return The collation options as a BsonDocument", "docstring_tokens": ["Gets", "this", "collation", "options", "as", "a", "document", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/Collation.java#L309-L339", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/gridfs/GridFSDBFile.java", "func_name": "GridFSDBFile.writeTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the file's data to a file on disk.\n\n@param file the File object\n@return number of bytes written\n@throws IOException if there are problems writing to the {@code file}", "docstring_tokens": ["Writes", "the", "file", "s", "data", "to", "a", "file", "on", "disk", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/gridfs/GridFSDBFile.java#L66-L76", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/gridfs/GridFSDBFile.java", "func_name": "GridFSDBFile.writeTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the file's data to an OutputStream.\n\n@param out the OutputStream\n@return number of bytes written\n@throws IOException if there are problems writing to {@code out}", "docstring_tokens": ["Writes", "the", "file", "s", "data", "to", "an", "OutputStream", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/gridfs/GridFSDBFile.java#L85-L91", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/gridfs/GridFSDBFile.java", "func_name": "GridFSDBFile.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes file from GridFS i.e. removes documents from files and chunks collections.", "docstring_tokens": ["Removes", "file", "from", "GridFS", "i", ".", "e", ".", "removes", "documents", "from", "files", "and", "chunks", "collections", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/gridfs/GridFSDBFile.java#L109-L112", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/PushOptions.java", "func_name": "PushOptions.sort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the sort direction for sorting array elements that are not documents.\n\n@param sort the sort direction\n@return this\n@throws IllegalStateException if sortDocument property is already set\n@mongodb.driver.manual reference/operator/update/sort/ $sort\n@mongodb.driver.manual reference/operator/update/sort/#sort-array-elements-that-are-not-documents", "docstring_tokens": ["Sets", "the", "sort", "direction", "for", "sorting", "array", "elements", "that", "are", "not", "documents", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/PushOptions.java#L102-L108", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/PushOptions.java", "func_name": "PushOptions.sortDocument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the sort direction for sorting array elements that are documents.\n\n@param sortDocument the sort document\n@return this\n@throws IllegalStateException if sort property is already set\n@mongodb.driver.manual reference/operator/update/sort/ $sort", "docstring_tokens": ["Sets", "the", "sort", "direction", "for", "sorting", "array", "elements", "that", "are", "documents", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/PushOptions.java#L129-L135", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/changestream/ChangeStreamDocument.java", "func_name": "ChangeStreamDocument.getNamespace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the namespace\n\nThe invalidate operation type does include a MongoNamespace in the ChangeStreamDocument response. The\ndropDatabase operation type includes a MongoNamespace, but does not include a collection name as part\nof the namespace.\n\n@return the namespace. If the namespaceDocument is null or if it is missing either the 'db' or 'coll' keys,\nthen this will return null.", "docstring_tokens": ["Returns", "the", "namespace"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/changestream/ChangeStreamDocument.java#L152-L162", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/changestream/ChangeStreamDocument.java", "func_name": "ChangeStreamDocument.getDatabaseName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the database name\n\n@return the databaseName. If the namespaceDocument is null or if it is missing the 'db' key, then this will\nreturn null.\n@since 3.8", "docstring_tokens": ["Returns", "the", "database", "name"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/changestream/ChangeStreamDocument.java#L185-L194", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/client/model/changestream/ChangeStreamDocument.java", "func_name": "ChangeStreamDocument.createCodec", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the codec for the specific ChangeStreamOutput type\n\n@param fullDocumentClass the class to use to represent the fullDocument\n@param codecRegistry the codec registry\n@param the fullDocument type\n@return the codec", "docstring_tokens": ["Creates", "the", "codec", "for", "the", "specific", "ChangeStreamOutput", "type"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/client/model/changestream/ChangeStreamDocument.java#L259-L262", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-core/src/main/com/mongodb/ClientSessionOptions.java", "func_name": "ClientSessionOptions.builder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets an instance of a builder initialized with the given options\n\n@param options the options with which to initialize the builder\n@return a builder instance\n@since 3.8", "docstring_tokens": ["Gets", "an", "instance", "of", "a", "builder", "initialized", "with", "the", "given", "options"], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-core/src/main/com/mongodb/ClientSessionOptions.java#L116-L122", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/MongoOptions.java", "func_name": "MongoOptions.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reset all settings to the default.", "docstring_tokens": ["Reset", "all", "settings", "to", "the", "default", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/MongoOptions.java#L196-L217", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/MongoOptions.java", "func_name": "MongoOptions.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy this MongoOptions instance into a new instance.\n\n@return the new MongoOptions with the same settings as this instance.", "docstring_tokens": ["Copy", "this", "MongoOptions", "instance", "into", "a", "new", "instance", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/MongoOptions.java#L224-L247", "partition": "valid"}
+{"repo": "mongodb/mongo-java-driver", "path": "driver-legacy/src/main/com/mongodb/MongoOptions.java", "func_name": "MongoOptions.getWriteConcern", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to return the appropriate WriteConcern instance based on the current related options settings.\n\n@return a WriteConcern for the current MongoOptions.", "docstring_tokens": ["Helper", "method", "to", "return", "the", "appropriate", "WriteConcern", "instance", "based", "on", "the", "current", "related", "options", "settings", "."], "sha": "a92d47e2e9f2fca55d09229a0a2e2cdc714db085", "url": "https://github.com/mongodb/mongo-java-driver/blob/a92d47e2e9f2fca55d09229a0a2e2cdc714db085/driver-legacy/src/main/com/mongodb/MongoOptions.java#L279-L305", "partition": "valid"}
+{"repo": "Microsoft/azure-spring-boot", "path": "azure-spring-boot/src/main/java/com/microsoft/azure/spring/support/UserAgent.java", "func_name": "UserAgent.getUserAgent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate UserAgent string for given service.\n\n@param serviceName Name of the service from which called this method.\n@param allowTelemetry Whether allows telemtry\n@return generated UserAgent string", "docstring_tokens": ["Generate", "UserAgent", "string", "for", "given", "service", "."], "sha": "53d69d44587b483247a5108452145cd426fcf78c", "url": "https://github.com/Microsoft/azure-spring-boot/blob/53d69d44587b483247a5108452145cd426fcf78c/azure-spring-boot/src/main/java/com/microsoft/azure/spring/support/UserAgent.java#L17-L24", "partition": "valid"}
+{"repo": "Microsoft/azure-spring-boot", "path": "azure-spring-boot/src/main/java/com/microsoft/azure/spring/cloundfoundry/environment/VcapResult.java", "func_name": "VcapResult.populateProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Populates default properties during @EnvironmentPostProcessor processing.\n
\nNote that this class gets invoked before Spring creates the logging\nsubsystem, so we just use System.out.println instead.", "docstring_tokens": ["Populates", "default", "properties", "during"], "sha": "53d69d44587b483247a5108452145cd426fcf78c", "url": "https://github.com/Microsoft/azure-spring-boot/blob/53d69d44587b483247a5108452145cd426fcf78c/azure-spring-boot/src/main/java/com/microsoft/azure/spring/cloundfoundry/environment/VcapResult.java#L53-L63", "partition": "valid"}
+{"repo": "Microsoft/azure-spring-boot", "path": "azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AzureADGraphClient.java", "func_name": "AzureADGraphClient.isMatchingUserGroupKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that the JSON Node is a valid User Group to extract User Groups from\n\n@param node - json node to look for a key/value to equate against the {@link UserGroupProperties}\n\n@return true if the json node contains the correct key, and expected value to identify a user group.", "docstring_tokens": ["Checks", "that", "the", "JSON", "Node", "is", "a", "valid", "User", "Group", "to", "extract", "User", "Groups", "from"], "sha": "53d69d44587b483247a5108452145cd426fcf78c", "url": "https://github.com/Microsoft/azure-spring-boot/blob/53d69d44587b483247a5108452145cd426fcf78c/azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AzureADGraphClient.java#L118-L121", "partition": "valid"}
+{"repo": "Microsoft/azure-spring-boot", "path": "azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AzureADGraphClient.java", "func_name": "AzureADGraphClient.convertGroupsToGrantedAuthorities", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts UserGroup list to Set of GrantedAutorities\n@param groups\n@return", "docstring_tokens": ["Converts", "UserGroup", "list", "to", "Set", "of", "GrantedAutorities"], "sha": "53d69d44587b483247a5108452145cd426fcf78c", "url": "https://github.com/Microsoft/azure-spring-boot/blob/53d69d44587b483247a5108452145cd426fcf78c/azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AzureADGraphClient.java#L137-L147", "partition": "valid"}
+{"repo": "Microsoft/azure-spring-boot", "path": "azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/ServiceEndpointsProperties.java", "func_name": "ServiceEndpointsProperties.getServiceEndpoints", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get ServiceEndpoints data for the given environment.\n\n@param environment the environment of the cloud service\n@return The ServiceEndpoints data for the given azure service environment", "docstring_tokens": ["Get", "ServiceEndpoints", "data", "for", "the", "given", "environment", "."], "sha": "53d69d44587b483247a5108452145cd426fcf78c", "url": "https://github.com/Microsoft/azure-spring-boot/blob/53d69d44587b483247a5108452145cd426fcf78c/azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/ServiceEndpointsProperties.java#L30-L39", "partition": "valid"}
+{"repo": "Microsoft/azure-spring-boot", "path": "azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AADAuthenticationFilterAutoConfiguration.java", "func_name": "AADAuthenticationFilterAutoConfiguration.azureADJwtTokenFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Declare AADAuthenticationFilter bean.\n\n@return AADAuthenticationFilter bean", "docstring_tokens": ["Declare", "AADAuthenticationFilter", "bean", "."], "sha": "53d69d44587b483247a5108452145cd426fcf78c", "url": "https://github.com/Microsoft/azure-spring-boot/blob/53d69d44587b483247a5108452145cd426fcf78c/azure-spring-boot/src/main/java/com/microsoft/azure/spring/autoconfigure/aad/AADAuthenticationFilterAutoConfiguration.java#L54-L60", "partition": "valid"}
+{"repo": "Microsoft/azure-spring-boot", "path": "azure-spring-boot-samples/azure-active-directory-spring-boot-sample/src/main/java/sample/aad/controller/TodolistController.java", "func_name": "TodolistController.getAllTodoItems", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "HTTP GET ALL", "docstring_tokens": ["HTTP", "GET", "ALL"], "sha": "53d69d44587b483247a5108452145cd426fcf78c", "url": "https://github.com/Microsoft/azure-spring-boot/blob/53d69d44587b483247a5108452145cd426fcf78c/azure-spring-boot-samples/azure-active-directory-spring-boot-sample/src/main/java/sample/aad/controller/TodolistController.java#L52-L55", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-livereload/src/main/java/org/jooby/livereload/LiveReload.java", "func_name": "LiveReload.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the given path to the watcher.\n\n@param path Path to watch.\n@param includes Glob pattern of matching files.\n@return This module.", "docstring_tokens": ["Add", "the", "given", "path", "to", "the", "watcher", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-livereload/src/main/java/org/jooby/livereload/LiveReload.java#L339-L344", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-assets/src/main/java/org/jooby/assets/AssetCompiler.java", "func_name": "AssetCompiler.build", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build assets using the given distribution and write output to the provided directory.\n\nBuild process is defined as follow:\n\n1. First, it runs all the aggregators (if any)\n2. Then iterates each fileset and per each file in the fileset it apply the processor pipeline.\n3. Finally, it merge all the files into one file and compressed/optimized if need it.\n\n@param dist Distribution's name (usually dev or dist).\n@param dir Output directory.\n@return Map with fileset name as key and list of generated assets.\n@throws Exception If something goes wrong.", "docstring_tokens": ["Build", "assets", "using", "the", "given", "distribution", "and", "write", "output", "to", "the", "provided", "directory", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-assets/src/main/java/org/jooby/assets/AssetCompiler.java#L452-L457", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-assets/src/main/java/org/jooby/assets/AssetCompiler.java", "func_name": "AssetCompiler.summary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print a summary of the given results.\n\n@param result Compilation result.\n@param outDir Output directory.\n@param dist Distribution (dev or prod).\n@param duration Execution time in millis.\n@param extraInfo Additional information.\n@return Summary.", "docstring_tokens": ["Print", "a", "summary", "of", "the", "given", "results", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-assets/src/main/java/org/jooby/assets/AssetCompiler.java#L546-L579", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-assets/src/main/java/org/jooby/internal/assets/Watcher.java", "func_name": "Watcher.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register the given directory with the WatchService", "docstring_tokens": ["Register", "the", "given", "directory", "with", "the", "WatchService"], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-assets/src/main/java/org/jooby/internal/assets/Watcher.java#L269-L272", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlType.java", "func_name": "RamlType.newProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defines a new property.\n\n@param name Property name.\n@param type Property type.\n@param required True for required.\n@param values Enum values.\n@return This type.", "docstring_tokens": ["Defines", "a", "new", "property", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlType.java#L288-L298", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlType.java", "func_name": "RamlType.valueOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a RAML type from string.\n\n@param name String name.\n@return RAML type.", "docstring_tokens": ["Get", "a", "RAML", "type", "from", "string", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlType.java#L388-L416", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-filewatcher/src/main/java/org/jooby/filewatcher/FileEventOptions.java", "func_name": "FileEventOptions.kind", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append a kind filter.\n\nThe default filter is: {@link StandardWatchEventKinds#ENTRY_CREATE},\n{@link StandardWatchEventKinds#ENTRY_DELETE} and {@link StandardWatchEventKinds#ENTRY_MODIFY}.\n\n@param kind Filter type.\n@return This options.", "docstring_tokens": ["Append", "a", "kind", "filter", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-filewatcher/src/main/java/org/jooby/filewatcher/FileEventOptions.java#L295-L299", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-hbs/src/main/java/org/jooby/hbs/Hbs.java", "func_name": "Hbs.doWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a handlebars callback.\n\n
\n\n@param callback Callback.\n@return This module.", "docstring_tokens": ["Set", "a", "configuration", "callback", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-thymeleaf/src/main/java/org/jooby/thymeleaf/Thl.java#L371-L374", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-pac4j/src/main/java/org/jooby/pac4j/Auth.java", "func_name": "Auth.form", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a form auth client.\n\n@param pattern URL pattern to protect.\n@param authenticator Authenticator to use.\n@return This module.", "docstring_tokens": ["Add", "a", "form", "auth", "client", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-pac4j/src/main/java/org/jooby/pac4j/Auth.java#L586-L603", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-pac4j/src/main/java/org/jooby/pac4j/Auth.java", "func_name": "Auth.basic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a basic auth client.\n\n@param pattern URL pattern to protect.\n@param authenticator Authenticator to use.\n@return This module.", "docstring_tokens": ["Add", "a", "basic", "auth", "client", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-pac4j/src/main/java/org/jooby/pac4j/Auth.java#L633-L648", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "jooby/src/main/java/org/jooby/Deferred.java", "func_name": "Deferred.resolve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolve the deferred value and handle it. This method will send the response to a client and\ncleanup and close all the resources.\n\n@param value A value for this deferred.", "docstring_tokens": ["Resolve", "the", "deferred", "value", "and", "handle", "it", ".", "This", "method", "will", "send", "the", "response", "to", "a", "client", "and", "cleanup", "and", "close", "all", "the", "resources", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/jooby/src/main/java/org/jooby/Deferred.java#L474-L488", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/Raml.java", "func_name": "Raml.path", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a path for the given pattern. If the path doesn't exist, a new path will be created.\n\n@param pattern Pattern.\n@return Path for the given pattern.", "docstring_tokens": ["Get", "a", "path", "for", "the", "given", "pattern", ".", "If", "the", "path", "doesn", "t", "exist", "a", "new", "path", "will", "be", "created", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/Raml.java#L383-L390", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/Raml.java", "func_name": "Raml.define", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register a Java type and produces an equivalent RAML type. It returns an existing RAML type if\nthe Java type was registered already.\n\n@param type Java type.\n@return RAML type.", "docstring_tokens": ["Register", "a", "Java", "type", "and", "produces", "an", "equivalent", "RAML", "type", ".", "It", "returns", "an", "existing", "RAML", "type", "if", "the", "Java", "type", "was", "registered", "already", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/Raml.java#L423-L448", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/Raml.java", "func_name": "Raml.toYaml", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert this RAML object to Yaml.\n\n@return Yaml string.\n@throws IOException If something goes wrong.", "docstring_tokens": ["Convert", "this", "RAML", "object", "to", "Yaml", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/Raml.java#L526-L532", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/RouteResponse.java", "func_name": "RouteResponse.status", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get status codes.\n\n@return Status codes.", "docstring_tokens": ["Get", "status", "codes", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/RouteResponse.java#L284-L286", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/RouteResponse.java", "func_name": "RouteResponse.statusCode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Status code.\n\n@return Status code.", "docstring_tokens": ["Status", "code", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/RouteResponse.java#L293-L299", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/RouteResponse.java", "func_name": "RouteResponse.status", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set status code map.\n\n@param status Status code map.\n@return This response.", "docstring_tokens": ["Set", "status", "code", "map", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/RouteResponse.java#L307-L315", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlResponse.java", "func_name": "RamlResponse.setMediaType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set media type.\n\n@param mediaType Media type.\n@param body RAML type.", "docstring_tokens": ["Set", "media", "type", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlResponse.java#L267-L272", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-ebean/src/main/java/org/jooby/ebean/Ebeanby.java", "func_name": "Ebeanby.runEnhancer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "package for test.\n\n@return An enhancer task. It runs once per classloader instance.", "docstring_tokens": ["package", "for", "test", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-ebean/src/main/java/org/jooby/ebean/Ebeanby.java#L458-L465", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlMethod.java", "func_name": "RamlMethod.setMediaType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set media types.\n\n@param mediaType Media types.", "docstring_tokens": ["Set", "media", "types", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlMethod.java#L369-L371", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlMethod.java", "func_name": "RamlMethod.queryParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get or create a query parameter using the giving name.\n\n@param name Parameter name.\n@return Query parameter.", "docstring_tokens": ["Get", "or", "create", "a", "query", "parameter", "using", "the", "giving", "name", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlMethod.java#L399-L409", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlMethod.java", "func_name": "RamlMethod.formParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get or create a form parameter using the giving name.\n\n@param name Parameter name.\n@return Form parameter.", "docstring_tokens": ["Get", "or", "create", "a", "form", "parameter", "using", "the", "giving", "name", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlMethod.java#L417-L427", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlMethod.java", "func_name": "RamlMethod.headerParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get or create a header parameter using the giving name.\n\n@param name Parameter name.\n@return Header parameter.", "docstring_tokens": ["Get", "or", "create", "a", "header", "parameter", "using", "the", "giving", "name", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlMethod.java#L435-L445", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlMethod.java", "func_name": "RamlMethod.response", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get or create a response using the given status code.\n\n@param status Status code.\n@return RAML response.", "docstring_tokens": ["Get", "or", "create", "a", "response", "using", "the", "given", "status", "code", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/raml/RamlMethod.java#L453-L463", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-hbv/src/main/java/org/jooby/hbv/Hbv.java", "func_name": "Hbv.doWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Setup a configurer callback.\n\n@param configurer Configurer callback.\n@return This module.", "docstring_tokens": ["Setup", "a", "configurer", "callback", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-hbv/src/main/java/org/jooby/hbv/Hbv.java#L388-L392", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "jooby/src/main/java/org/jooby/internal/ReaderInputStream.java", "func_name": "ReaderInputStream.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the specified number of bytes into an array.\n\n@param b the byte array to read into\n@param off the offset to start reading bytes into\n@param len the number of bytes to read\n@return the number of bytes read or -1 if the end of the stream has been reached\n@throws IOException if an I/O error occurs", "docstring_tokens": ["Read", "the", "specified", "number", "of", "bytes", "into", "an", "array", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/jooby/src/main/java/org/jooby/internal/ReaderInputStream.java#L321-L355", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-requery/src/main/java/org/jooby/requery/Requery.java", "func_name": "Requery.reactive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a Requery module with RxJava data store.\n\n
{@code\n{\nuse(Requery.reactive(Models.DEFAULT));\n\nget(\"/\", () -> {\nReactiveEntityStore store = require(ReactiveEntityStore.class);\n// work with reactive store\n});\n}\n}
\n\n@param name Database name.\n@param model Entity model.\n@return A new {@link Requery} module.", "docstring_tokens": ["Creates", "a", "Requery", "module", "with", "RxJava", "data", "store", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-requery/src/main/java/org/jooby/requery/Requery.java#L641-L644", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-requery/src/main/java/org/jooby/requery/Requery.java", "func_name": "Requery.reactor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a Requery module with Reactor data store.\n\n
{@code\n{\nuse(Requery.reactor(Models.DEFAULT));\n\nget(\"/\", () -> {\nReactorEntityStore store = require(ReactorEntityStore.class);\n// work with reactive store\n});\n}\n}
\n\n@param name Database name.\n@param model Entity model.\n@return A new {@link Requery} module.", "docstring_tokens": ["Creates", "a", "Requery", "module", "with", "Reactor", "data", "store", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-requery/src/main/java/org/jooby/requery/Requery.java#L685-L688", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-requery/src/main/java/org/jooby/requery/Requery.java", "func_name": "Requery.completionStage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an async Requery module with Java 8 data store.\n\n
{@code\n{\nuse(Requery.completionStage(Models.DEFAULT));\n\nget(\"/\", () -> {\nCompletionStageEntityStore store = require(CompletionStageEntityStore.class);\n// work with reactive store\n});\n}\n}
\n\n@param name Database name.\n@param model Entity model.\n@return A new {@link Requery} module.", "docstring_tokens": ["Creates", "an", "async", "Requery", "module", "with", "Java", "8", "data", "store", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-requery/src/main/java/org/jooby/requery/Requery.java#L729-L732", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-requery/src/main/java/org/jooby/requery/Requery.java", "func_name": "Requery.kotlin", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a Kotlin Requery module.\n\n
{@code\n{\nuse(Requery.kotlin(Models.DEFAULT));\n\nget(\"/\", () -> {\nKotlinEntityDataStore store = require(KotlinEntityDataStore.class);\n// work with kotlin store\n});\n}\n}
\n\n@param name Database name.\n@param model Entity model.\n@return A new {@link Requery} module.", "docstring_tokens": ["Creates", "a", "Kotlin", "Requery", "module", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-requery/src/main/java/org/jooby/requery/Requery.java#L773-L776", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-unbescape/src/main/java/org/jooby/unbescape/XSS.java", "func_name": "XSS.js", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set JavaScript escape type and level.\n\n@param type Type.\n@param level Level.\n@return This module.", "docstring_tokens": ["Set", "JavaScript", "escape", "type", "and", "level", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-unbescape/src/main/java/org/jooby/unbescape/XSS.java#L299-L303", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-unbescape/src/main/java/org/jooby/unbescape/XSS.java", "func_name": "XSS.html", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set HTML escape type and level.\n\n@param type Type.\n@param level Level.\n@return This module.", "docstring_tokens": ["Set", "HTML", "escape", "type", "and", "level", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-unbescape/src/main/java/org/jooby/unbescape/XSS.java#L312-L316", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-unbescape/src/main/java/org/jooby/unbescape/XSS.java", "func_name": "XSS.json", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set JSON escape type and level.\n\n@param type Type.\n@param level Level.\n@return This module.", "docstring_tokens": ["Set", "JSON", "escape", "type", "and", "level", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-unbescape/src/main/java/org/jooby/unbescape/XSS.java#L325-L329", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-unbescape/src/main/java/org/jooby/unbescape/XSS.java", "func_name": "XSS.css", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set CSS escape type and level.\n\n@param type Type.\n@param level Level.\n@return This module.", "docstring_tokens": ["Set", "CSS", "escape", "type", "and", "level", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-unbescape/src/main/java/org/jooby/unbescape/XSS.java#L338-L342", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-assets-svg-symbol/src/main/java/org/jooby/assets/SvgSymbol.java", "func_name": "SvgSymbol.attrs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an object path and optionally filter some child paths.\n\n@param path Path to read.\n@param without Properties to filter.\n@return Properties.", "docstring_tokens": ["Read", "an", "object", "path", "and", "optionally", "filter", "some", "child", "paths", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-assets-svg-symbol/src/main/java/org/jooby/assets/SvgSymbol.java#L470-L474", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-assets-svg-symbol/src/main/java/org/jooby/assets/SvgSymbol.java", "func_name": "SvgSymbol.css", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate a CSS rule, it reads the width and height attributes of the svg element or fallback to\nviewBox attribute.\n\n@param id ID to use.\n@param svg Svg element to convert.\n@return A css rule.", "docstring_tokens": ["Generate", "a", "CSS", "rule", "it", "reads", "the", "width", "and", "height", "attributes", "of", "the", "svg", "element", "or", "fallback", "to", "viewBox", "attribute", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-assets-svg-symbol/src/main/java/org/jooby/assets/SvgSymbol.java#L502-L520", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-assets-svg-symbol/src/main/java/org/jooby/assets/SvgSymbol.java", "func_name": "SvgSymbol.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse a css size unit value, like 10px or 18.919px and optionally round the value to the\nclosest integer.\n\n@param value Value to parse.\n@return A tuple with a number and unit(px, em, etc...)", "docstring_tokens": ["Parse", "a", "css", "size", "unit", "value", "like", "10px", "or", "18", ".", "919px", "and", "optionally", "round", "the", "value", "to", "the", "closest", "integer", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-assets-svg-symbol/src/main/java/org/jooby/assets/SvgSymbol.java#L529-L539", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-assets-svg-symbol/src/main/java/org/jooby/assets/SvgSymbol.java", "func_name": "SvgSymbol.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write content to file.\n\n@param path Target file.\n@param sequence File content.\n@throws IOException If something goes wrong.", "docstring_tokens": ["Write", "content", "to", "file", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-assets-svg-symbol/src/main/java/org/jooby/assets/SvgSymbol.java#L548-L552", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-jdbi3/src/main/java/org/jooby/jdbi/TransactionalRequest.java", "func_name": "TransactionalRequest.handle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use a named key for accessing to the request scoped Handle.\n\n@param name Name of request scoped Handle.\n@return This object.", "docstring_tokens": ["Use", "a", "named", "key", "for", "accessing", "to", "the", "request", "scoped", "Handle", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-jdbi3/src/main/java/org/jooby/jdbi/TransactionalRequest.java#L299-L302", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/internal/apitool/SwaggerBuilder.java", "func_name": "SwaggerBuilder.doModel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Mostly for kotlin null safe operator and immutable properties.\n\n@param type Target type.\n@param model Model.\n@return Input model.", "docstring_tokens": ["Mostly", "for", "kotlin", "null", "safe", "operator", "and", "immutable", "properties", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/internal/apitool/SwaggerBuilder.java#L787-L800", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "jooby/src/main/java/org/jooby/Sse.java", "func_name": "Sse.lastEventId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Server sent event will send a Last-Event-ID header if the server goes down.\n\n@param type Last event id type.\n@param Event id type.\n@return Last event id.", "docstring_tokens": ["Server", "sent", "event", "will", "send", "a", "Last", "-", "Event", "-", "ID", "header", "if", "the", "server", "goes", "down", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/jooby/src/main/java/org/jooby/Sse.java#L763-L766", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "jooby/src/main/java/org/jooby/Sse.java", "func_name": "Sse.send", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send an event.\n\n
\n\nThe id of the success callback correspond to the {@link Event#id()}.\n\n@param data Event data.\n@return A future. The success callback contains the {@link Event#id()}.", "docstring_tokens": ["Send", "an", "event", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/jooby/src/main/java/org/jooby/Sse.java#L859-L862", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "jooby/src/main/java/org/jooby/View.java", "func_name": "View.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a model attribute and override existing attribute.\n\n@param name Attribute's name.\n@param value Attribute's value.\n@return This view.", "docstring_tokens": ["Set", "a", "model", "attribute", "and", "override", "existing", "attribute", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/jooby/src/main/java/org/jooby/View.java#L289-L294", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "jooby/src/main/java/org/jooby/View.java", "func_name": "View.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set model attributes and override existing values.\n\n@param values Attribute's value.\n@return This view.", "docstring_tokens": ["Set", "model", "attributes", "and", "override", "existing", "values", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/jooby/src/main/java/org/jooby/View.java#L302-L306", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-assets/src/main/java/org/jooby/assets/AssetClassLoader.java", "func_name": "AssetClassLoader.classLoader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a new AssetClassLoader that includes the 'public' dir if present in the current working dir\n\n@param parent parent classloader\n@return classloader that includes the public dir if present\n@throws IOException if an exception occurred", "docstring_tokens": ["Constructs", "a", "new", "AssetClassLoader", "that", "includes", "the", "public", "dir", "if", "present", "in", "the", "current", "working", "dir"], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-assets/src/main/java/org/jooby/assets/AssetClassLoader.java#L222-L224", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-assets/src/main/java/org/jooby/assets/AssetClassLoader.java", "func_name": "AssetClassLoader.classLoader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a new AssetClassLoader that includes the 'public' dir if present in the provided working dir\n\n@param parent parent classloader\n@param projectDir working dir to use\n@return classloader that includes the public dir if present\n@throws IOException if an exception occurred", "docstring_tokens": ["Constructs", "a", "new", "AssetClassLoader", "that", "includes", "the", "public", "dir", "if", "present", "in", "the", "provided", "working", "dir"], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-assets/src/main/java/org/jooby/assets/AssetClassLoader.java#L234-L241", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/RouteMethod.java", "func_name": "RouteMethod.attributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set route attributes.\n\n@param attributes Attributes.\n@return This method.", "docstring_tokens": ["Set", "route", "attributes", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/RouteMethod.java#L456-L464", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/RouteMethod.java", "func_name": "RouteMethod.attribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set route attribute.\n\n@param name Attribute name.\n@param value Attribute value.\n@return This method.", "docstring_tokens": ["Set", "route", "attribute", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/RouteMethod.java#L473-L479", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/RouteMethod.java", "func_name": "RouteMethod.param", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find a parameter by name and invoke the given callback.\n\n@param name Parameter name.\n@param customizer Success callback.\n@return This method.", "docstring_tokens": ["Find", "a", "parameter", "by", "name", "and", "invoke", "the", "given", "callback", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/RouteMethod.java#L488-L494", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "jooby/src/main/java/org/jooby/Status.java", "func_name": "Status.valueOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the enum constant of this type with the specified numeric value.\n\n@param statusCode the numeric value of the enum to be returned\n@return the enum constant with the specified numeric value\n@throws IllegalArgumentException if this enum has no constant for the specified numeric value", "docstring_tokens": ["Return", "the", "enum", "constant", "of", "this", "type", "with", "the", "specified", "numeric", "value", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/jooby/src/main/java/org/jooby/Status.java#L650-L654", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-jdbi3/src/main/java/org/jooby/jdbi/Jdbi3.java", "func_name": "Jdbi3.doWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configurer a jdbi instance.\n\n@param configurer Configurer callback.\n@return This module.", "docstring_tokens": ["Configurer", "a", "jdbi", "instance", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-jdbi3/src/main/java/org/jooby/jdbi/Jdbi3.java#L416-L418", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-jdbi/src/main/java/org/skife/jdbi/v2/ExpandedStmtRewriter.java", "func_name": "ExpandedStmtRewriter.rewrite", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Munge up the SQL as desired. Responsible for figuring out ow to bind any\narguments in to the resultant prepared statement.\n\n@param sql The SQL to rewrite\n@param params contains the arguments which have been bound to this statement.\n@param ctx The statement context for the statement being executed\n@return somethign which can provde the actual SQL to prepare a statement from\nand which can bind the correct arguments to that prepared statement", "docstring_tokens": ["Munge", "up", "the", "SQL", "as", "desired", ".", "Responsible", "for", "figuring", "out", "ow", "to", "bind", "any", "arguments", "in", "to", "the", "resultant", "prepared", "statement", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-jdbi/src/main/java/org/skife/jdbi/v2/ExpandedStmtRewriter.java#L254-L267", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "jooby/src/main/java/org/jooby/handlers/AssetHandler.java", "func_name": "AssetHandler.send", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send an asset to the client.\n\n@param req Request.\n@param rsp Response.\n@param asset Resolve asset.\n@throws Exception If send fails.", "docstring_tokens": ["Send", "an", "asset", "to", "the", "client", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/jooby/src/main/java/org/jooby/handlers/AssetHandler.java#L534-L536", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-jdbi/src/main/java/org/jooby/jdbi/Jdbi.java", "func_name": "Jdbi.doWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure DBI instance.\n\n@param configurer Configurer.\n@return This module.", "docstring_tokens": ["Configure", "DBI", "instance", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-jdbi/src/main/java/org/jooby/jdbi/Jdbi.java#L404-L406", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-jooq/src/main/java/org/jooby/jooq/jOOQ.java", "func_name": "jOOQ.doWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configuration callback.\n\n@param configurer Callback.\n@return This module.", "docstring_tokens": ["Configuration", "callback", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-jooq/src/main/java/org/jooby/jooq/jOOQ.java#L351-L353", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-quartz/src/main/java/org/jooby/quartz/Quartz.java", "func_name": "Quartz.with", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Schedule the provided job and trigger.\n\n@param job A job to schedule.\n@param trigger A trigger for provided job.\n@return This quartz instance.", "docstring_tokens": ["Schedule", "the", "provided", "job", "and", "trigger", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-quartz/src/main/java/org/jooby/quartz/Quartz.java#L509-L514", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-quartz/src/main/java/org/jooby/quartz/Quartz.java", "func_name": "Quartz.with", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Schedule the provided job and trigger. This method will setup a default name and group for\nboth.\n\n@param jobClass A jobClass to setup and schedule.\n@param configurer A callback to setup the job and trigger.\n@return This quartz instance.", "docstring_tokens": ["Schedule", "the", "provided", "job", "and", "trigger", ".", "This", "method", "will", "setup", "a", "default", "name", "and", "group", "for", "both", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-quartz/src/main/java/org/jooby/quartz/Quartz.java#L536-L549", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-netty/src/main/java/org/jooby/internal/netty/NettyServer.java", "func_name": "NettyServer.shutdownGracefully", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shutdown executor in order.\n\n@param iterator Executors to shutdown.", "docstring_tokens": ["Shutdown", "executor", "in", "order", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-netty/src/main/java/org/jooby/internal/netty/NettyServer.java#L384-L396", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-cassandra/src/main/java/org/jooby/cassandra/Cassandra.java", "func_name": "Cassandra.doWithCluster", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure a cluster after creation.\n\n@param configurer Configurer callback.\n@return This module.", "docstring_tokens": ["Configure", "a", "cluster", "after", "creation", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-cassandra/src/main/java/org/jooby/cassandra/Cassandra.java#L602-L605", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "jooby/src/main/java/org/jooby/Results.java", "func_name": "Results.with", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the response status.\n\n@param status A status!\n@return A new result.", "docstring_tokens": ["Set", "the", "response", "status", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/jooby/src/main/java/org/jooby/Results.java#L260-L264", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-jackson/src/main/java/org/jooby/json/Jackson.java", "func_name": "Jackson.module", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register the provided module.\n\n@param module A module instance.\n@return This module.", "docstring_tokens": ["Register", "the", "provided", "module", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-jackson/src/main/java/org/jooby/json/Jackson.java#L398-L402", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-pac4j2/src/main/java/org/jooby/pac4j/Pac4j.java", "func_name": "Pac4j.unauthenticated", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a default action which is execute when no user is logged in.\n\n
{@code\n{\nuse(new Pac4j()\n.unauthenticated(() -> {\nUserProfile anonymous = ...\nreturn anonymous;\n})\n);\n\nget(\"/\", () -> {\n// might or might not be anonymous\nUserProfile profile = require(UserProfile.class);\nreturn ...;\n}\n}\n}
\n\nThe default action throws a 403 error.\n\n\n@param provider Unauthenticated user provider.\n@return This module.", "docstring_tokens": ["Set", "a", "default", "action", "which", "is", "execute", "when", "no", "user", "is", "logged", "in", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-pac4j2/src/main/java/org/jooby/pac4j/Pac4j.java#L677-L680", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-pac4j2/src/main/java/org/jooby/pac4j/Pac4j.java", "func_name": "Pac4j.form", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a simple login form. Useful for development and quick startup.\n\n@param pattern Pattern to protect.ver\n@return This module.", "docstring_tokens": ["Add", "a", "simple", "login", "form", ".", "Useful", "for", "development", "and", "quick", "startup", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-pac4j2/src/main/java/org/jooby/pac4j/Pac4j.java#L729-L734", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/ApiParser.java", "func_name": "ApiParser.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse application bytecode and build route methods from it.\n\n@param application Application to parse.\n@return List of route methods.\n@throws Exception If something goes wrong.", "docstring_tokens": ["Parse", "application", "bytecode", "and", "build", "route", "methods", "from", "it", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/ApiParser.java#L294-L298", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-scanner/src/main/java/org/jooby/scanner/Scanner.java", "func_name": "Scanner.scan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a scan criteria like an annotation, interface or class.\n\n@param type A scan criteria/type.\n@return This module.", "docstring_tokens": ["Add", "a", "scan", "criteria", "like", "an", "annotation", "interface", "or", "class", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-scanner/src/main/java/org/jooby/scanner/Scanner.java#L518-L530", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/ApiTool.java", "func_name": "ApiTool.swagger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Mount Swagger at the given path and customize Swagger objects.\n\n@param path Path to mount swagger.\n@param swagger Customizer.\n@return This tool.", "docstring_tokens": ["Mount", "Swagger", "at", "the", "given", "path", "and", "customize", "Swagger", "objects", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/ApiTool.java#L904-L906", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/ApiTool.java", "func_name": "ApiTool.swagger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Mount Swagger using the given options.\n\n@param options Swagger options.\n@param swagger Customizer.\n@return This tool.", "docstring_tokens": ["Mount", "Swagger", "using", "the", "given", "options", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/ApiTool.java#L925-L929", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/ApiTool.java", "func_name": "ApiTool.raml", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Mount RAML at the given path and customize RAML objects.\n\n@param path Path to mount raml.\n@param raml RAML customizer.\n@return This tool.", "docstring_tokens": ["Mount", "RAML", "at", "the", "given", "path", "and", "customize", "RAML", "objects", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/ApiTool.java#L957-L959", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-apitool/src/main/java/org/jooby/apitool/ApiTool.java", "func_name": "ApiTool.raml", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Mount RAML using the given options.\n\n@param options RAML options.\n@param raml RAML customizer.\n@return This tool.", "docstring_tokens": ["Mount", "RAML", "using", "the", "given", "options", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-apitool/src/main/java/org/jooby/apitool/ApiTool.java#L978-L982", "partition": "valid"}
+{"repo": "jooby-project/jooby", "path": "modules/jooby-assets/src/main/java/org/jooby/assets/AssetProcessor.java", "func_name": "AssetProcessor.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method that processes the provided source and returns the processed contents.\n\n@param filename name of the file\n@param source contents of the file\n@param conf application configuration\n@return the processed file contents\n@throws Exception if any error occurred", "docstring_tokens": ["Method", "that", "processes", "the", "provided", "source", "and", "returns", "the", "processed", "contents", "."], "sha": "9795b65ccea63c630592f0a320aca2000ca19a8b", "url": "https://github.com/jooby-project/jooby/blob/9795b65ccea63c630592f0a320aca2000ca19a8b/modules/jooby-assets/src/main/java/org/jooby/assets/AssetProcessor.java#L353-L355", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/cte300/webservices/recepcaoOS/CteRecepcaoOSCallbackHandler.java", "func_name": "CteRecepcaoOSCallbackHandler.receiveResultcteRecepcaoOS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "auto generated Axis2 call back method for cteRecepcaoOS method\noverride this method for handling normal response from cteRecepcaoOS operation", "docstring_tokens": ["auto", "generated", "Axis2", "call", "back", "method", "for", "cteRecepcaoOS", "method", "override", "this", "method", "for", "handling", "normal", "response", "from", "cteRecepcaoOS", "operation"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/cte300/webservices/recepcaoOS/CteRecepcaoOSCallbackHandler.java#L41-L44", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/recepcao/MDFeRecepcaoCallbackHandler.java", "func_name": "MDFeRecepcaoCallbackHandler.receiveResultmdfeRecepcaoLote", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "auto generated Axis2 call back method for mdfeRecepcaoLote method\noverride this method for handling normal response from mdfeRecepcaoLote operation", "docstring_tokens": ["auto", "generated", "Axis2", "call", "back", "method", "for", "mdfeRecepcaoLote", "method", "override", "this", "method", "for", "handling", "normal", "response", "from", "mdfeRecepcaoLote", "operation"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/recepcao/MDFeRecepcaoCallbackHandler.java#L48-L51", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/cte300/webservices/inutilizacao/CteInutilizacaoCallbackHandler.java", "func_name": "CteInutilizacaoCallbackHandler.receiveResultcteInutilizacaoCT", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "auto generated Axis2 call back method for cteInutilizacaoCT method\noverride this method for handling normal response from cteInutilizacaoCT operation", "docstring_tokens": ["auto", "generated", "Axis2", "call", "back", "method", "for", "cteInutilizacaoCT", "method", "override", "this", "method", "for", "handling", "normal", "response", "from", "cteInutilizacaoCT", "operation"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/cte300/webservices/inutilizacao/CteInutilizacaoCallbackHandler.java#L41-L44", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/recepcaoevento/MDFeRecepcaoEventoCallbackHandler.java", "func_name": "MDFeRecepcaoEventoCallbackHandler.receiveResultmdfeRecepcaoEvento", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "auto generated Axis2 call back method for mdfeRecepcaoEvento method\noverride this method for handling normal response from mdfeRecepcaoEvento operation", "docstring_tokens": ["auto", "generated", "Axis2", "call", "back", "method", "for", "mdfeRecepcaoEvento", "method", "override", "this", "method", "for", "handling", "normal", "response", "from", "mdfeRecepcaoEvento", "operation"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/recepcaoevento/MDFeRecepcaoEventoCallbackHandler.java#L48-L51", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/cte300/webservices/consulta/CteConsultaCallbackHandler.java", "func_name": "CteConsultaCallbackHandler.receiveResultcteConsultaCT", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "auto generated Axis2 call back method for cteConsultaCT method\noverride this method for handling normal response from cteConsultaCT operation", "docstring_tokens": ["auto", "generated", "Axis2", "call", "back", "method", "for", "cteConsultaCT", "method", "override", "this", "method", "for", "handling", "normal", "response", "from", "cteConsultaCT", "operation"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/cte300/webservices/consulta/CteConsultaCallbackHandler.java#L41-L44", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/consultanaoencerrado/MDFeConsNaoEncCallbackHandler.java", "func_name": "MDFeConsNaoEncCallbackHandler.receiveResultmdfeConsNaoEnc", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "auto generated Axis2 call back method for mdfeConsNaoEnc method\noverride this method for handling normal response from mdfeConsNaoEnc operation", "docstring_tokens": ["auto", "generated", "Axis2", "call", "back", "method", "for", "mdfeConsNaoEnc", "method", "override", "this", "method", "for", "handling", "normal", "response", "from", "mdfeConsNaoEnc", "operation"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/consultanaoencerrado/MDFeConsNaoEncCallbackHandler.java#L48-L51", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/recepcao/MDFeRecepcaoStub.java", "func_name": "MDFeRecepcaoStub.toEnvelope", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "get the default envelope", "docstring_tokens": ["get", "the", "default", "envelope"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/recepcao/MDFeRecepcaoStub.java#L1669-L1672", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/cte300/webservices/recepcaoevento/RecepcaoEventoStub.java", "func_name": "RecepcaoEventoStub.getEnvelopeNamespaces", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A utility method that copies the namepaces from the SOAPEnvelope", "docstring_tokens": ["A", "utility", "method", "that", "copies", "the", "namepaces", "from", "the", "SOAPEnvelope"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/cte300/webservices/recepcaoevento/RecepcaoEventoStub.java#L263-L271", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/nfe310/webservices/nota/consulta/NfeConsultaCallbackHandler.java", "func_name": "NfeConsultaCallbackHandler.receiveResultnfeConsultaNF", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "auto generated Axis2 call back method for nfeConsultaNF method\noverride this method for handling normal response from nfeConsultaNF operation", "docstring_tokens": ["auto", "generated", "Axis2", "call", "back", "method", "for", "nfeConsultaNF", "method", "override", "this", "method", "for", "handling", "normal", "response", "from", "nfeConsultaNF", "operation"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/nfe310/webservices/nota/consulta/NfeConsultaCallbackHandler.java#L45-L47", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/nfe310/webservices/WSLoteEnvio.java", "func_name": "WSLoteEnvio.getLoteAssinado", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retorna o Lote assinado.\n@param lote\n@return\n@throws Exception", "docstring_tokens": ["Retorna", "o", "Lote", "assinado", "."], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/nfe310/webservices/WSLoteEnvio.java#L61-L95", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSFacade.java", "func_name": "WSFacade.enviaLote", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Faz o envio de lote para a Sefaz\n@param lote o lote a ser enviado para a Sefaz\n@return dados do lote retornado pelo webservice, alem do lote assinado\n@throws Exception caso nao consiga gerar o xml ou problema de conexao com o sefaz", "docstring_tokens": ["Faz", "o", "envio", "de", "lote", "para", "a", "Sefaz"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSFacade.java#L67-L74", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSFacade.java", "func_name": "WSFacade.consultaStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Faz a consulta de status responsavel pela UF\n@param uf uf UF que deseja consultar o status do sefaz responsavel\n@param modelo modelo da nota (NF-e ou NFC-e)\n@return dados da consulta de status retornado pelo webservice\n@throws Exception caso nao consiga gerar o xml ou problema de conexao com o sefaz", "docstring_tokens": ["Faz", "a", "consulta", "de", "status", "responsavel", "pela", "UF"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSFacade.java#L109-L111", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSFacade.java", "func_name": "WSFacade.corrigeNota", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Faz a correcao da nota\n@param chaveDeAcesso chave de acesso da nota\n@param textoCorrecao texto de correcao\n@param numeroSequencialEvento numero sequencial de evento, esse numero nao pode ser repetido!\n@return dados da correcao da nota retornado pelo webservice\n@throws Exception caso nao consiga gerar o xml ou problema de conexao com o sefaz", "docstring_tokens": ["Faz", "a", "correcao", "da", "nota"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSFacade.java#L131-L133", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSFacade.java", "func_name": "WSFacade.cancelaNota", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Faz o cancelamento da nota\n@param chave chave de acesso da nota\n@param numeroProtocolo numero do protocolo da nota\n@param motivo motivo do cancelamento\n@return dados do cancelamento da nota retornado pelo webservice\n@throws Exception caso nao consiga gerar o xml ou problema de conexao com o sefaz", "docstring_tokens": ["Faz", "o", "cancelamento", "da", "nota"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSFacade.java#L178-L180", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSFacade.java", "func_name": "WSFacade.inutilizaNota", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inutiliza a nota\n@param anoInutilizacaoNumeracao ano de inutilizacao\n@param cnpjEmitente CNPJ emitente da nota\n@param serie serie da nota\n@param numeroInicial numero inicial da nota\n@param numeroFinal numero final da nota\n@param justificativa justificativa da inutilizacao\n@param modelo modelo da nota (NF-e ou NFC-e)\n@return dados da inutilizacao da nota retornado pelo webservice\n@throws Exception caso nao consiga gerar o xml ou problema de conexao com o sefaz", "docstring_tokens": ["Inutiliza", "a", "nota"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSFacade.java#L216-L218", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSFacade.java", "func_name": "WSFacade.consultaCadastro", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Realiza a consulta de cadastro de pessoa juridica com inscricao estadual\n@param cnpj CNPJ da pessoa juridica\n@param uf UF da pessoa juridica\n@return dados da consulta da pessoa juridica retornado pelo webservice\n@throws Exception caso nao consiga gerar o xml ou problema de conexao com o sefaz", "docstring_tokens": ["Realiza", "a", "consulta", "de", "cadastro", "de", "pessoa", "juridica", "com", "inscricao", "estadual"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSFacade.java#L227-L229", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/cte300/webservices/recepcao/CteRecepcaoCallbackHandler.java", "func_name": "CteRecepcaoCallbackHandler.receiveResultcteRecepcaoLote", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "auto generated Axis2 call back method for cteRecepcaoLote method\noverride this method for handling normal response from cteRecepcaoLote operation", "docstring_tokens": ["auto", "generated", "Axis2", "call", "back", "method", "for", "cteRecepcaoLote", "method", "override", "this", "method", "for", "handling", "normal", "response", "from", "cteRecepcaoLote", "operation"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/cte300/webservices/recepcao/CteRecepcaoCallbackHandler.java#L41-L44", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/cte300/webservices/retrecepcao/CteRetRecepcaoCallbackHandler.java", "func_name": "CteRetRecepcaoCallbackHandler.receiveResultcteRetRecepcao", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "auto generated Axis2 call back method for cteRetRecepcao method\noverride this method for handling normal response from cteRetRecepcao operation", "docstring_tokens": ["auto", "generated", "Axis2", "call", "back", "method", "for", "cteRetRecepcao", "method", "override", "this", "method", "for", "handling", "normal", "response", "from", "cteRetRecepcao", "operation"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/cte300/webservices/retrecepcao/CteRetRecepcaoCallbackHandler.java#L41-L44", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSCartaCorrecao.java", "func_name": "WSCartaCorrecao.getXmlAssinado", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retorna XML assinado para uso externo.\n@param chaveAcesso\n@param textoCorrecao\n@param numeroSequencialEvento\n@return\n@throws Exception", "docstring_tokens": ["Retorna", "XML", "assinado", "para", "uso", "externo", "."], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/nfe400/webservices/WSCartaCorrecao.java#L100-L103", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/cte300/webservices/recepcaoevento/RecepcaoEventoCallbackHandler.java", "func_name": "RecepcaoEventoCallbackHandler.receiveResultcteRecepcaoEvento", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "auto generated Axis2 call back method for cteRecepcaoEvento method\noverride this method for handling normal response from cteRecepcaoEvento operation", "docstring_tokens": ["auto", "generated", "Axis2", "call", "back", "method", "for", "cteRecepcaoEvento", "method", "override", "this", "method", "for", "handling", "normal", "response", "from", "cteRecepcaoEvento", "operation"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/cte300/webservices/recepcaoevento/RecepcaoEventoCallbackHandler.java#L41-L44", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/cte300/webservices/WSFacade.java", "func_name": "WSFacade.cancelaNota", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Faz o cancelamento do CTe\n\n@param chave chave de acesso da nota\n@param numeroProtocolo numero do protocolo da nota\n@param motivo motivo do cancelamento\n@return dados do cancelamento da nota retornado pelo webservice\n@throws Exception caso nao consiga gerar o xml ou problema de conexao com o sefaz", "docstring_tokens": ["Faz", "o", "cancelamento", "do", "CTe"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/cte300/webservices/WSFacade.java#L93-L95", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/consulta/MDFeConsultaCallbackHandler.java", "func_name": "MDFeConsultaCallbackHandler.receiveResultmdfeConsultaMDF", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "auto generated Axis2 call back method for mdfeConsultaMDF method\noverride this method for handling normal response from mdfeConsultaMDF operation", "docstring_tokens": ["auto", "generated", "Axis2", "call", "back", "method", "for", "mdfeConsultaMDF", "method", "override", "this", "method", "for", "handling", "normal", "response", "from", "mdfeConsultaMDF", "operation"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/consulta/MDFeConsultaCallbackHandler.java#L48-L51", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/retornorecepcao/MDFeRetRecepcaoCallbackHandler.java", "func_name": "MDFeRetRecepcaoCallbackHandler.receiveResultmdfeRetRecepcao", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "auto generated Axis2 call back method for mdfeRetRecepcao method\noverride this method for handling normal response from mdfeRetRecepcao operation", "docstring_tokens": ["auto", "generated", "Axis2", "call", "back", "method", "for", "mdfeRetRecepcao", "method", "override", "this", "method", "for", "handling", "normal", "response", "from", "mdfeRetRecepcao", "operation"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/retornorecepcao/MDFeRetRecepcaoCallbackHandler.java#L48-L51", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/WSFacade.java", "func_name": "WSFacade.cancelaMdfe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Faz o cancelamento do MDFe\n\n@param chave chave de acesso da nota\n@param numeroProtocolo numero do protocolo da nota\n@param motivo motivo do cancelamento\n@return dados do cancelamento da nota retornado pelo webservice\n@throws Exception caso nao consiga gerar o xml ou problema de conexao com o sefaz", "docstring_tokens": ["Faz", "o", "cancelamento", "do", "MDFe"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/WSFacade.java#L100-L102", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/WSFacade.java", "func_name": "WSFacade.encerramento", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Faz o encerramento do MDFe\n\n@param chaveAcesso chave de acesso da nota\n@param numeroProtocolo numero do protocolo da nota\n@param codigoMunicipio Informar o c\u00f3digo do munic\u00edpio do encerramento do manifesto\n@param dataEncerramento Data em que o manifesto foi encerrado.\n@param unidadeFederativa Informar a UF de encerramento do manifesto\n@return dados do encerramento da nota retornado pelo webservice\n@throws Exception caso nao consiga gerar o xml ou problema de conexao com o sefaz", "docstring_tokens": ["Faz", "o", "encerramento", "do", "MDFe"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/WSFacade.java#L128-L131", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/WSFacade.java", "func_name": "WSFacade.encerramentoAssinado", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Faz o encerramento do MDFe assinado\n\n@param chaveAcesso\n@param eventoAssinadoXml\n@return\n@throws Exception", "docstring_tokens": ["Faz", "o", "encerramento", "do", "MDFe", "assinado"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/WSFacade.java#L141-L143", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/statusservico/MDFeStatusServicoCallbackHandler.java", "func_name": "MDFeStatusServicoCallbackHandler.receiveResultmdfeStatusServicoMDF", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "auto generated Axis2 call back method for mdfeStatusServicoMDF method\noverride this method for handling normal response from mdfeStatusServicoMDF operation", "docstring_tokens": ["auto", "generated", "Axis2", "call", "back", "method", "for", "mdfeStatusServicoMDF", "method", "override", "this", "method", "for", "handling", "normal", "response", "from", "mdfeStatusServicoMDF", "operation"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/mdfe3/webservices/statusservico/MDFeStatusServicoCallbackHandler.java#L48-L51", "partition": "valid"}
+{"repo": "wmixvideo/nfe", "path": "src/main/java/com/fincatto/documentofiscal/nfe310/webservices/WSStatusConsulta.java", "func_name": "WSStatusConsulta.efetuaConsultaStatusBahia", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "este metodo teve que ser implementado pois a Bahia trata de forma diferente", "docstring_tokens": ["este", "metodo", "teve", "que", "ser", "implementado", "pois", "a", "Bahia", "trata", "de", "forma", "diferente"], "sha": "75c4545321d40527be8e0797faf7a5b40f43c951", "url": "https://github.com/wmixvideo/nfe/blob/75c4545321d40527be8e0797faf7a5b40f43c951/src/main/java/com/fincatto/documentofiscal/nfe310/webservices/WSStatusConsulta.java#L71-L89", "partition": "valid"}
+{"repo": "OryxProject/oryx", "path": "app/oryx-app-common/src/main/java/com/cloudera/oryx/app/als/ALSUtils.java", "func_name": "ALSUtils.computeUpdatedXu", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes how a user vector Xu changes in response to interaction with an item vector Yi.\nThis can also be used to compute how an item vector changes in response to a user interaction,\neven though the code naming follows the former convention.\n\n@param solver solver helping solve for Xu in Qu*Y = Xu * (Yt * Y)\n@param value strength of interaction\n@param Xu current user vector (null if no existing user vector)\n@param Yi current item vector\n@param implicit whether the model is implicit feedback\n@return new user vector Xu, or {@code null} if no update should be made (i.e. there was no\nitem vector; the update would push the new Qui farther out of range)", "docstring_tokens": ["Computes", "how", "a", "user", "vector", "Xu", "changes", "in", "response", "to", "interaction", "with", "an", "item", "vector", "Yi", ".", "This", "can", "also", "be", "used", "to", "compute", "how", "an", "item", "vector", "changes", "in", "response", "to", "a", "user", "interaction", "even", "though", "the", "code", "naming", "follows", "the", "former", "convention", "."], "sha": "684bac0af002d2619ced652b5339e239da48df93", "url": "https://github.com/OryxProject/oryx/blob/684bac0af002d2619ced652b5339e239da48df93/app/oryx-app-common/src/main/java/com/cloudera/oryx/app/als/ALSUtils.java#L74-L104", "partition": "valid"}
+{"repo": "OryxProject/oryx", "path": "framework/oryx-common/src/main/java/com/cloudera/oryx/common/math/VectorMath.java", "func_name": "VectorMath.cosineSimilarity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes cosine similarity of values in two given arrays, when the norm of one array is\nknown in advance, which is a not-uncommon case.\n\n@param x one array\n@param y the other array\n@param normY norm of y\n@return cosine similarity = dot(x,y) / (norm(x) * norm(y))", "docstring_tokens": ["Computes", "cosine", "similarity", "of", "values", "in", "two", "given", "arrays", "when", "the", "norm", "of", "one", "array", "is", "known", "in", "advance", "which", "is", "a", "not", "-", "uncommon", "case", "."], "sha": "684bac0af002d2619ced652b5339e239da48df93", "url": "https://github.com/OryxProject/oryx/blob/684bac0af002d2619ced652b5339e239da48df93/framework/oryx-common/src/main/java/com/cloudera/oryx/common/math/VectorMath.java#L79-L89", "partition": "valid"}
+{"repo": "OryxProject/oryx", "path": "app/oryx-app-common/src/main/java/com/cloudera/oryx/app/als/SolverCache.java", "func_name": "SolverCache.compute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Proactively try to compute the solver asynchronously, if not already computed.\nDoes not block.", "docstring_tokens": ["Proactively", "try", "to", "compute", "the", "solver", "asynchronously", "if", "not", "already", "computed", ".", "Does", "not", "block", "."], "sha": "684bac0af002d2619ced652b5339e239da48df93", "url": "https://github.com/OryxProject/oryx/blob/684bac0af002d2619ced652b5339e239da48df93/app/oryx-app-common/src/main/java/com/cloudera/oryx/app/als/SolverCache.java#L73-L94", "partition": "valid"}
+{"repo": "OryxProject/oryx", "path": "framework/oryx-common/src/main/java/com/cloudera/oryx/common/io/IOUtils.java", "func_name": "IOUtils.deleteRecursively", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes the given path, and if it is a directory, all files and subdirectories within it.\n\n@param rootDir directory to delete\n@throws IOException if any error occurs while deleting files or directories", "docstring_tokens": ["Deletes", "the", "given", "path", "and", "if", "it", "is", "a", "directory", "all", "files", "and", "subdirectories", "within", "it", "."], "sha": "684bac0af002d2619ced652b5339e239da48df93", "url": "https://github.com/OryxProject/oryx/blob/684bac0af002d2619ced652b5339e239da48df93/framework/oryx-common/src/main/java/com/cloudera/oryx/common/io/IOUtils.java#L51-L67", "partition": "valid"}
+{"repo": "OryxProject/oryx", "path": "framework/oryx-common/src/main/java/com/cloudera/oryx/common/lang/ClassUtils.java", "func_name": "ClassUtils.loadInstanceOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads and instantiates a named implementation class, a subclass of a given supertype,\nwhose constructor takes the given arguments.\n\n@param implClassName implementation class name\n@param superClass superclass or interface that the implementation extends\n@param constructorTypes argument types of constructor to use\n@param constructorArgs actual constructor arguments\n@param type of returned instance\n@return instance of {@code implClassName}", "docstring_tokens": ["Loads", "and", "instantiates", "a", "named", "implementation", "class", "a", "subclass", "of", "a", "given", "supertype", "whose", "constructor", "takes", "the", "given", "arguments", "."], "sha": "684bac0af002d2619ced652b5339e239da48df93", "url": "https://github.com/OryxProject/oryx/blob/684bac0af002d2619ced652b5339e239da48df93/framework/oryx-common/src/main/java/com/cloudera/oryx/common/lang/ClassUtils.java#L116-L130", "partition": "valid"}
+{"repo": "OryxProject/oryx", "path": "framework/oryx-ml/src/main/java/com/cloudera/oryx/ml/MLUpdate.java", "func_name": "MLUpdate.publishAdditionalModelData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Optionally, publish additional model-related information to the update topic,\nafter the model has been written. This is needed only in specific cases, like the\nALS algorithm, where the model serialization in PMML can't contain all of the info.\n\n@param sparkContext active Spark Context\n@param pmml model for which extra data should be written\n@param newData data that has arrived in current interval\n@param pastData all previously-known data (may be {@code null})\n@param modelParentPath directory containing model files, if applicable\n@param modelUpdateTopic message topic to write to", "docstring_tokens": ["Optionally", "publish", "additional", "model", "-", "related", "information", "to", "the", "update", "topic", "after", "the", "model", "has", "been", "written", ".", "This", "is", "needed", "only", "in", "specific", "cases", "like", "the", "ALS", "algorithm", "where", "the", "model", "serialization", "in", "PMML", "can", "t", "contain", "all", "of", "the", "info", "."], "sha": "684bac0af002d2619ced652b5339e239da48df93", "url": "https://github.com/OryxProject/oryx/blob/684bac0af002d2619ced652b5339e239da48df93/framework/oryx-ml/src/main/java/com/cloudera/oryx/ml/MLUpdate.java#L137-L144", "partition": "valid"}
+{"repo": "uber/rides-android-sdk", "path": "core-android/src/main/java/com/uber/sdk/android/core/utils/CustomTabsHelper.java", "func_name": "CustomTabsHelper.openCustomTab", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens the URL on a Custom Tab if possible. Otherwise fallsback to opening it on a WebView.\n\n@param context The host context.\n@param customTabsIntent a CustomTabsIntent to be used if Custom Tabs is available.\n@param uri the Uri to be opened.\n@param fallback a CustomTabFallback to be used if Custom Tabs is not available.", "docstring_tokens": ["Opens", "the", "URL", "on", "a", "Custom", "Tab", "if", "possible", ".", "Otherwise", "fallsback", "to", "opening", "it", "on", "a", "WebView", "."], "sha": "594b15fa0a4e926b8084f8ee31e38ffa870914f8", "url": "https://github.com/uber/rides-android-sdk/blob/594b15fa0a4e926b8084f8ee31e38ffa870914f8/core-android/src/main/java/com/uber/sdk/android/core/utils/CustomTabsHelper.java#L64-L91", "partition": "valid"}
+{"repo": "uber/rides-android-sdk", "path": "core-android/src/main/java/com/uber/sdk/android/core/utils/CustomTabsHelper.java", "func_name": "CustomTabsHelper.getPackageNameToUse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Goes through all apps that handle VIEW intents and have a warmup service. Picks\nthe one chosen by the user if there is one, otherwise makes a best effort to return a\nvalid package name.\n\nThis is not threadsafe.\n\n@param context {@link Context} to use for accessing {@link PackageManager}.\n@return The package name recommended to use for connecting to custom tabs related components.", "docstring_tokens": ["Goes", "through", "all", "apps", "that", "handle", "VIEW", "intents", "and", "have", "a", "warmup", "service", ".", "Picks", "the", "one", "chosen", "by", "the", "user", "if", "there", "is", "one", "otherwise", "makes", "a", "best", "effort", "to", "return", "a", "valid", "package", "name", "."], "sha": "594b15fa0a4e926b8084f8ee31e38ffa870914f8", "url": "https://github.com/uber/rides-android-sdk/blob/594b15fa0a4e926b8084f8ee31e38ffa870914f8/core-android/src/main/java/com/uber/sdk/android/core/utils/CustomTabsHelper.java#L103-L148", "partition": "valid"}
+{"repo": "uber/rides-android-sdk", "path": "core-android/src/main/java/com/uber/sdk/android/core/utils/CustomTabsHelper.java", "func_name": "CustomTabsHelper.hasSpecializedHandlerIntents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used to check whether there is a specialized handler for a given intent.\n@param intent The intent to check with.\n@return Whether there is a specialized handler for the given intent.", "docstring_tokens": ["Used", "to", "check", "whether", "there", "is", "a", "specialized", "handler", "for", "a", "given", "intent", "."], "sha": "594b15fa0a4e926b8084f8ee31e38ffa870914f8", "url": "https://github.com/uber/rides-android-sdk/blob/594b15fa0a4e926b8084f8ee31e38ffa870914f8/core-android/src/main/java/com/uber/sdk/android/core/utils/CustomTabsHelper.java#L155-L175", "partition": "valid"}
+{"repo": "uber/rides-android-sdk", "path": "rides-android/src/main/java/com/uber/sdk/android/rides/RideRequestActivity.java", "func_name": "RideRequestActivity.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads the appropriate view in the activity based on whether user is successfully authorized or not.", "docstring_tokens": ["Loads", "the", "appropriate", "view", "in", "the", "activity", "based", "on", "whether", "user", "is", "successfully", "authorized", "or", "not", "."], "sha": "594b15fa0a4e926b8084f8ee31e38ffa870914f8", "url": "https://github.com/uber/rides-android-sdk/blob/594b15fa0a4e926b8084f8ee31e38ffa870914f8/rides-android/src/main/java/com/uber/sdk/android/rides/RideRequestActivity.java#L241-L253", "partition": "valid"}
+{"repo": "uber/rides-android-sdk", "path": "rides-android/src/main/java/com/uber/sdk/android/rides/RideRequestDeeplink.java", "func_name": "RideRequestDeeplink.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes the deeplink to launch the Uber app. If the app is not installed redirects to the play store.", "docstring_tokens": ["Executes", "the", "deeplink", "to", "launch", "the", "Uber", "app", ".", "If", "the", "app", "is", "not", "installed", "redirects", "to", "the", "play", "store", "."], "sha": "594b15fa0a4e926b8084f8ee31e38ffa870914f8", "url": "https://github.com/uber/rides-android-sdk/blob/594b15fa0a4e926b8084f8ee31e38ffa870914f8/rides-android/src/main/java/com/uber/sdk/android/rides/RideRequestDeeplink.java#L73-L76", "partition": "valid"}
+{"repo": "uber/rides-android-sdk", "path": "samples/login-sample/src/main/java/com/uber/sdk/android/samples/LoginSampleActivity.java", "func_name": "LoginSampleActivity.validateConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates the local variables needed by the Uber SDK used in the sample project\n@param configuration", "docstring_tokens": ["Validates", "the", "local", "variables", "needed", "by", "the", "Uber", "SDK", "used", "in", "the", "sample", "project"], "sha": "594b15fa0a4e926b8084f8ee31e38ffa870914f8", "url": "https://github.com/uber/rides-android-sdk/blob/594b15fa0a4e926b8084f8ee31e38ffa870914f8/samples/login-sample/src/main/java/com/uber/sdk/android/samples/LoginSampleActivity.java#L245-L258", "partition": "valid"}
+{"repo": "uber/rides-android-sdk", "path": "core-android/src/main/java/com/uber/sdk/android/core/auth/LoginActivity.java", "func_name": "LoginActivity.newResponseIntent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used to handle Redirect URI response from customtab or browser\n\n@param context\n@param responseUri\n@return", "docstring_tokens": ["Used", "to", "handle", "Redirect", "URI", "response", "from", "customtab", "or", "browser"], "sha": "594b15fa0a4e926b8084f8ee31e38ffa870914f8", "url": "https://github.com/uber/rides-android-sdk/blob/594b15fa0a4e926b8084f8ee31e38ffa870914f8/core-android/src/main/java/com/uber/sdk/android/core/auth/LoginActivity.java#L159-L164", "partition": "valid"}
+{"repo": "epam/JDI", "path": "Java/JDI/jdi-mock-rest/src/main/java/com/epam/mock/service/ConfigurationHandlerService.java", "func_name": "ConfigurationHandlerService.editMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Edit representation for method specified in sent parameter after controller calls for it.\n@param configurationHandler Our representation of response.\n@return True if mock-service contains sent method, false otherwise.", "docstring_tokens": ["Edit", "representation", "for", "method", "specified", "in", "sent", "parameter", "after", "controller", "calls", "for", "it", "."], "sha": "abc01be4b1c07bf545bbea1eee51c98051b05357", "url": "https://github.com/epam/JDI/blob/abc01be4b1c07bf545bbea1eee51c98051b05357/Java/JDI/jdi-mock-rest/src/main/java/com/epam/mock/service/ConfigurationHandlerService.java#L89-L99", "partition": "valid"}
+{"repo": "Netflix/Fenzo", "path": "fenzo-core/src/main/java/com/netflix/fenzo/samples/TaskGenerator.java", "func_name": "TaskGenerator.main", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Main method to run the task generator.\n@param args Arguments to the program. Provide as the only argument, the mesos connection string.", "docstring_tokens": ["Main", "method", "to", "run", "the", "task", "generator", "."], "sha": "3c1d8fc84027900231756e5072f0e1de303772cf", "url": "https://github.com/Netflix/Fenzo/blob/3c1d8fc84027900231756e5072f0e1de303772cf/fenzo-core/src/main/java/com/netflix/fenzo/samples/TaskGenerator.java#L142-L179", "partition": "valid"}
+{"repo": "Netflix/Fenzo", "path": "fenzo-core/src/main/java/com/netflix/fenzo/samples/SampleFramework.java", "func_name": "SampleFramework.shutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shuts down the Mesos driver.", "docstring_tokens": ["Shuts", "down", "the", "Mesos", "driver", "."], "sha": "3c1d8fc84027900231756e5072f0e1de303772cf", "url": "https://github.com/Netflix/Fenzo/blob/3c1d8fc84027900231756e5072f0e1de303772cf/fenzo-core/src/main/java/com/netflix/fenzo/samples/SampleFramework.java#L204-L208", "partition": "valid"}
+{"repo": "Netflix/Fenzo", "path": "fenzo-core/src/main/java/com/netflix/fenzo/plugins/ExclusiveHostConstraint.java", "func_name": "ExclusiveHostConstraint.evaluate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines whether the prospective host already has tasks either running on it or assigned to be run on\nit, and returns a false Result if either of those things is the case.\n\n@param taskRequest describes the task to be considered for assignment to the host\n@param targetVM describes the host to be considered for accepting the task\n@param taskTrackerState describes the state of tasks assigned to or running on hosts throughout the\nsystem\n@return an unsuccessful Result if the target already has running tasks or assigned tasks, or a successful\nResult otherwise", "docstring_tokens": ["Determines", "whether", "the", "prospective", "host", "already", "has", "tasks", "either", "running", "on", "it", "or", "assigned", "to", "be", "run", "on", "it", "and", "returns", "a", "false", "Result", "if", "either", "of", "those", "things", "is", "the", "case", "."], "sha": "3c1d8fc84027900231756e5072f0e1de303772cf", "url": "https://github.com/Netflix/Fenzo/blob/3c1d8fc84027900231756e5072f0e1de303772cf/fenzo-core/src/main/java/com/netflix/fenzo/plugins/ExclusiveHostConstraint.java#L57-L66", "partition": "valid"}
+{"repo": "Netflix/Fenzo", "path": "fenzo-core/src/main/java/com/netflix/fenzo/plugins/HostAttrValueConstraint.java", "func_name": "HostAttrValueConstraint.evaluate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tests a host to determine whether it has an attribute of the required value for this task request.\n\n@param taskRequest describes the task being evaluated for assignment to the host\n@param targetVM describes the host being evaluated as a target for the task\n@param taskTrackerState describes the state of tasks already assigned or running on hosts throughout the\nsystem\n@return a successful Result if the host has an attribute with the required value, or an unsuccessful\nResult otherwise", "docstring_tokens": ["Tests", "a", "host", "to", "determine", "whether", "it", "has", "an", "attribute", "of", "the", "required", "value", "for", "this", "task", "request", "."], "sha": "3c1d8fc84027900231756e5072f0e1de303772cf", "url": "https://github.com/Netflix/Fenzo/blob/3c1d8fc84027900231756e5072f0e1de303772cf/fenzo-core/src/main/java/com/netflix/fenzo/plugins/HostAttrValueConstraint.java#L63-L73", "partition": "valid"}
+{"repo": "Netflix/Fenzo", "path": "fenzo-core/src/main/java/com/netflix/fenzo/plugins/UniqueHostAttrConstraint.java", "func_name": "UniqueHostAttrConstraint.evaluate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines whether a particular target host is appropriate for a particular task request by rejecting any\nhost that has the same value for the unique constraint attribute as another host that is already assigned\na co-task of the specified task request.\n\n@param taskRequest describes the task being considered for assignment to the host\n@param targetVM describes the host being considered as a target for the task\n@param taskTrackerState describes the state of tasks previously assigned or already running throughout\nthe system\n@return a successful Result if the target does not have the same value for its unique constraint\nattribute as another host that has already been assigned a co-task of {@code taskRequest}, or an\nunsuccessful Result otherwise", "docstring_tokens": ["Determines", "whether", "a", "particular", "target", "host", "is", "appropriate", "for", "a", "particular", "task", "request", "by", "rejecting", "any", "host", "that", "has", "the", "same", "value", "for", "the", "unique", "constraint", "attribute", "as", "another", "host", "that", "is", "already", "assigned", "a", "co", "-", "task", "of", "the", "specified", "task", "request", "."], "sha": "3c1d8fc84027900231756e5072f0e1de303772cf", "url": "https://github.com/Netflix/Fenzo/blob/3c1d8fc84027900231756e5072f0e1de303772cf/fenzo-core/src/main/java/com/netflix/fenzo/plugins/UniqueHostAttrConstraint.java#L96-L118", "partition": "valid"}
+{"repo": "Netflix/Fenzo", "path": "fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java", "func_name": "TaskScheduler.setAutoscalerCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the autoscale call back action. The callback you pass to this method receives an indication when an\nautoscale action is to be performed, telling it which autoscale rule prompted the action and whether the\naction is to scale up or scale down the autoscale group. The callback then initiates the appropriate\nscaling actions.\n\n@param callback the callback to invoke for autoscale actions\n@throws IllegalStateException if no autoscaler was established\n@see Autoscaling", "docstring_tokens": ["Set", "the", "autoscale", "call", "back", "action", ".", "The", "callback", "you", "pass", "to", "this", "method", "receives", "an", "indication", "when", "an", "autoscale", "action", "is", "to", "be", "performed", "telling", "it", "which", "autoscale", "rule", "prompted", "the", "action", "and", "whether", "the", "action", "is", "to", "scale", "up", "or", "scale", "down", "the", "autoscale", "group", ".", "The", "callback", "then", "initiates", "the", "appropriate", "scaling", "actions", "."], "sha": "3c1d8fc84027900231756e5072f0e1de303772cf", "url": "https://github.com/Netflix/Fenzo/blob/3c1d8fc84027900231756e5072f0e1de303772cf/fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java#L600-L606", "partition": "valid"}
+{"repo": "Netflix/Fenzo", "path": "fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java", "func_name": "TaskScheduler.disableVM", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Disable the virtual machine with the specified hostname. The scheduler will not use disabled hosts for\nallocating resources to tasks.\n\n@param hostname the name of the host to disable\n@param durationMillis the length of time, starting from now, in milliseconds, during which the host will\nbe disabled\n@throws IllegalStateException if the scheduler is shutdown via the {@link #isShutdown} method.", "docstring_tokens": ["Disable", "the", "virtual", "machine", "with", "the", "specified", "hostname", ".", "The", "scheduler", "will", "not", "use", "disabled", "hosts", "for", "allocating", "resources", "to", "tasks", "."], "sha": "3c1d8fc84027900231756e5072f0e1de303772cf", "url": "https://github.com/Netflix/Fenzo/blob/3c1d8fc84027900231756e5072f0e1de303772cf/fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java#L1247-L1250", "partition": "valid"}
+{"repo": "Netflix/Fenzo", "path": "fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java", "func_name": "TaskScheduler.disableVMByVMId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Disable the virtual machine with the specified ID. The scheduler will not use disabled hosts for allocating\nresources to tasks.\n\n@param vmID the ID of the host to disable\n@param durationMillis the length of time, starting from now, in milliseconds, during which the host will\nbe disabled\n@return {@code true} if the ID matches a known VM, {@code false} otherwise.\n@throws IllegalStateException if the scheduler is shutdown via the {@link #isShutdown} method.", "docstring_tokens": ["Disable", "the", "virtual", "machine", "with", "the", "specified", "ID", ".", "The", "scheduler", "will", "not", "use", "disabled", "hosts", "for", "allocating", "resources", "to", "tasks", "."], "sha": "3c1d8fc84027900231756e5072f0e1de303772cf", "url": "https://github.com/Netflix/Fenzo/blob/3c1d8fc84027900231756e5072f0e1de303772cf/fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java#L1262-L1269", "partition": "valid"}
+{"repo": "Netflix/Fenzo", "path": "fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java", "func_name": "TaskScheduler.enableVM", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enable the VM with the specified host name. Hosts start in an enabled state, so you only need to call\nthis method if you have previously explicitly disabled the host.\n\n@param hostname the name of the host to enable\n@throws IllegalStateException if the scheduler is shutdown via the {@link #isShutdown} method.", "docstring_tokens": ["Enable", "the", "VM", "with", "the", "specified", "host", "name", ".", "Hosts", "start", "in", "an", "enabled", "state", "so", "you", "only", "need", "to", "call", "this", "method", "if", "you", "have", "previously", "explicitly", "disabled", "the", "host", "."], "sha": "3c1d8fc84027900231756e5072f0e1de303772cf", "url": "https://github.com/Netflix/Fenzo/blob/3c1d8fc84027900231756e5072f0e1de303772cf/fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java#L1278-L1281", "partition": "valid"}
+{"repo": "Netflix/Fenzo", "path": "fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java", "func_name": "TaskScheduler.shutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Mark task scheduler as shutdown and shutdown any thread pool executors created.", "docstring_tokens": ["Mark", "task", "scheduler", "as", "shutdown", "and", "shutdown", "any", "thread", "pool", "executors", "created", "."], "sha": "3c1d8fc84027900231756e5072f0e1de303772cf", "url": "https://github.com/Netflix/Fenzo/blob/3c1d8fc84027900231756e5072f0e1de303772cf/fenzo-core/src/main/java/com/netflix/fenzo/TaskScheduler.java#L1310-L1317", "partition": "valid"}
+{"repo": "skadistats/clarity", "path": "src/main/java/skadistats/clarity/model/Entity.java", "func_name": "Entity.hasProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if this entity contains all of the given properties.\n\n@param properties Names of the properties\n@return True, if and only if the given properties are present in this entity", "docstring_tokens": ["Check", "if", "this", "entity", "contains", "all", "of", "the", "given", "properties", "."], "sha": "735aa842029f646dcb7acd97372daae734694e19", "url": "https://github.com/skadistats/clarity/blob/735aa842029f646dcb7acd97372daae734694e19/src/main/java/skadistats/clarity/model/Entity.java#L65-L72", "partition": "valid"}
+{"repo": "skadistats/clarity", "path": "src/main/java/skadistats/clarity/Clarity.java", "func_name": "Clarity.infoForSource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves summary-data from the given input source\n\n@param source the {@code Source} providing the replay data\n@return the {@code CDemoFileInfo} protobuf message\n@throws IOException if the given source is invalid\n@see Source", "docstring_tokens": ["Retrieves", "summary", "-", "data", "from", "the", "given", "input", "source"], "sha": "735aa842029f646dcb7acd97372daae734694e19", "url": "https://github.com/skadistats/clarity/blob/735aa842029f646dcb7acd97372daae734694e19/src/main/java/skadistats/clarity/Clarity.java#L50-L55", "partition": "valid"}
+{"repo": "skadistats/clarity", "path": "src/main/java/skadistats/clarity/Clarity.java", "func_name": "Clarity.metadataForStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reads a metadata stream and returns it's contents\n\n@param stream an {@code InputStream}, containing replay data, positioned at the beginning\n@return the {@code CDOTAMatchMetadataFile} protobuf message\n@throws IOException if the given stream is invalid", "docstring_tokens": ["reads", "a", "metadata", "stream", "and", "returns", "it", "s", "contents"], "sha": "735aa842029f646dcb7acd97372daae734694e19", "url": "https://github.com/skadistats/clarity/blob/735aa842029f646dcb7acd97372daae734694e19/src/main/java/skadistats/clarity/Clarity.java#L75-L77", "partition": "valid"}
+{"repo": "skadistats/clarity", "path": "src/main/java/skadistats/clarity/model/engine/CsGoEngineType.java", "func_name": "CsGoEngineType.readPacket", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "alternative to 6? Similar to dota?", "docstring_tokens": ["alternative", "to", "6?", "Similar", "to", "dota?"], "sha": "735aa842029f646dcb7acd97372daae734694e19", "url": "https://github.com/skadistats/clarity/blob/735aa842029f646dcb7acd97372daae734694e19/src/main/java/skadistats/clarity/model/engine/CsGoEngineType.java#L181-L184", "partition": "valid"}
+{"repo": "skadistats/clarity", "path": "src/main/java/skadistats/clarity/source/Source.java", "func_name": "Source.readVarInt32", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reads a variable int32 from the current position\n\n@return the int\n@throws IOException if the data cannot be read, or is not a valid variable int32", "docstring_tokens": ["reads", "a", "variable", "int32", "from", "the", "current", "position"], "sha": "735aa842029f646dcb7acd97372daae734694e19", "url": "https://github.com/skadistats/clarity/blob/735aa842029f646dcb7acd97372daae734694e19/src/main/java/skadistats/clarity/source/Source.java#L90-L116", "partition": "valid"}
+{"repo": "skadistats/clarity", "path": "src/main/java/skadistats/clarity/source/Source.java", "func_name": "Source.readFixedInt32", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reads a fixed int32 from the current position\n\n@return the int\n@throws IOException if the data cannot be read", "docstring_tokens": ["reads", "a", "fixed", "int32", "from", "the", "current", "position"], "sha": "735aa842029f646dcb7acd97372daae734694e19", "url": "https://github.com/skadistats/clarity/blob/735aa842029f646dcb7acd97372daae734694e19/src/main/java/skadistats/clarity/source/Source.java#L124-L126", "partition": "valid"}
+{"repo": "skadistats/clarity", "path": "src/main/java/skadistats/clarity/source/Source.java", "func_name": "Source.readEngineType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reads the magic of a demo file, identifying the engine type\n\n@throws IOException if there is not enough data or the if no valid magic was found", "docstring_tokens": ["reads", "the", "magic", "of", "a", "demo", "file", "identifying", "the", "engine", "type"], "sha": "735aa842029f646dcb7acd97372daae734694e19", "url": "https://github.com/skadistats/clarity/blob/735aa842029f646dcb7acd97372daae734694e19/src/main/java/skadistats/clarity/source/Source.java#L157-L167", "partition": "valid"}
+{"repo": "tipsy/j2html", "path": "src/main/java/j2html/tags/ContainerTag.java", "func_name": "ContainerTag.with", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends a DomContent-object to the end of this element\n\n@param child DomContent-object to be appended\n@return itself for easy chaining", "docstring_tokens": ["Appends", "a", "DomContent", "-", "object", "to", "the", "end", "of", "this", "element"], "sha": "dae578a5231865d9269c0948615b8280bbb6a213", "url": "https://github.com/tipsy/j2html/blob/dae578a5231865d9269c0948615b8280bbb6a213/src/main/java/j2html/tags/ContainerTag.java#L25-L34", "partition": "valid"}
+{"repo": "tipsy/j2html", "path": "src/main/java/j2html/tags/ContainerTag.java", "func_name": "ContainerTag.with", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends a list of DomContent-objects to the end of this element\n\n@param children DomContent-objects to be appended\n@return itself for easy chaining", "docstring_tokens": ["Appends", "a", "list", "of", "DomContent", "-", "objects", "to", "the", "end", "of", "this", "element"], "sha": "dae578a5231865d9269c0948615b8280bbb6a213", "url": "https://github.com/tipsy/j2html/blob/dae578a5231865d9269c0948615b8280bbb6a213/src/main/java/j2html/tags/ContainerTag.java#L56-L63", "partition": "valid"}
+{"repo": "tipsy/j2html", "path": "src/main/java/j2html/TagCreator.java", "func_name": "TagCreator.iff", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generic if-expression to if'ing inside method calls\n\n@param optional The item that may be present\n@param ifFunction The function that will be called if that optional is present\n@param The derived generic parameter type\n@param The supplying generic parameter type\n@return transformed value if condition is true, null otherwise", "docstring_tokens": ["Generic", "if", "-", "expression", "to", "if", "ing", "inside", "method", "calls"], "sha": "dae578a5231865d9269c0948615b8280bbb6a213", "url": "https://github.com/tipsy/j2html/blob/dae578a5231865d9269c0948615b8280bbb6a213/src/main/java/j2html/TagCreator.java#L49-L55", "partition": "valid"}
+{"repo": "tipsy/j2html", "path": "src/main/java/j2html/TagCreator.java", "func_name": "TagCreator.document", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a complete html document string\n\n@param htmlTag the html content of a website\n@return document declaration and rendered html content", "docstring_tokens": ["Return", "a", "complete", "html", "document", "string"], "sha": "dae578a5231865d9269c0948615b8280bbb6a213", "url": "https://github.com/tipsy/j2html/blob/dae578a5231865d9269c0948615b8280bbb6a213/src/main/java/j2html/TagCreator.java#L168-L173", "partition": "valid"}
+{"repo": "tipsy/j2html", "path": "src/main/java/j2html/tags/Tag.java", "func_name": "Tag.setAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets an attribute on an element\n\n@param name the attribute\n@param value the attribute value", "docstring_tokens": ["Sets", "an", "attribute", "on", "an", "element"], "sha": "dae578a5231865d9269c0948615b8280bbb6a213", "url": "https://github.com/tipsy/j2html/blob/dae578a5231865d9269c0948615b8280bbb6a213/src/main/java/j2html/tags/Tag.java#L68-L79", "partition": "valid"}
+{"repo": "tipsy/j2html", "path": "src/main/java/j2html/tags/Tag.java", "func_name": "Tag.attr", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a custom attribute\n\n@param attribute the attribute name\n@param value the attribute value\n@return itself for easy chaining", "docstring_tokens": ["Sets", "a", "custom", "attribute"], "sha": "dae578a5231865d9269c0948615b8280bbb6a213", "url": "https://github.com/tipsy/j2html/blob/dae578a5231865d9269c0948615b8280bbb6a213/src/main/java/j2html/tags/Tag.java#L88-L91", "partition": "valid"}
+{"repo": "tipsy/j2html", "path": "src/main/java/j2html/tags/Tag.java", "func_name": "Tag.attr", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the specified attribute. If the Tag previously contained an attribute with the same name, the old attribute is replaced by the specified attribute.\n\n@param attribute the attribute\n@return itself for easy chaining", "docstring_tokens": ["Adds", "the", "specified", "attribute", ".", "If", "the", "Tag", "previously", "contained", "an", "attribute", "with", "the", "same", "name", "the", "old", "attribute", "is", "replaced", "by", "the", "specified", "attribute", "."], "sha": "dae578a5231865d9269c0948615b8280bbb6a213", "url": "https://github.com/tipsy/j2html/blob/dae578a5231865d9269c0948615b8280bbb6a213/src/main/java/j2html/tags/Tag.java#L99-L113", "partition": "valid"}
+{"repo": "tipsy/j2html", "path": "src/main/java/j2html/tags/Tag.java", "func_name": "Tag.withClasses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience methods that call attr with predefined attributes\n\n@return itself for easy chaining", "docstring_tokens": ["Convenience", "methods", "that", "call", "attr", "with", "predefined", "attributes"], "sha": "dae578a5231865d9269c0948615b8280bbb6a213", "url": "https://github.com/tipsy/j2html/blob/dae578a5231865d9269c0948615b8280bbb6a213/src/main/java/j2html/tags/Tag.java#L152-L158", "partition": "valid"}
+{"repo": "tipsy/j2html", "path": "src/main/java/j2html/utils/JSMin.java", "func_name": "JSMin.compressJs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compress a JS-string\n\n@param code the js-code you want to compress\n@return the compressed code", "docstring_tokens": ["Compress", "a", "JS", "-", "string"], "sha": "dae578a5231865d9269c0948615b8280bbb6a213", "url": "https://github.com/tipsy/j2html/blob/dae578a5231865d9269c0948615b8280bbb6a213/src/main/java/j2html/utils/JSMin.java#L66-L77", "partition": "valid"}
+{"repo": "tipsy/j2html", "path": "src/main/java/j2html/utils/CSSMin.java", "func_name": "Selector.parseProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses out the properties of a selector's body.\n\n@param contents The body; for example, \"border: solid 1px red; color: blue;\"\n@return An array of properties parsed from this selector.", "docstring_tokens": ["Parses", "out", "the", "properties", "of", "a", "selector", "s", "body", "."], "sha": "dae578a5231865d9269c0948615b8280bbb6a213", "url": "https://github.com/tipsy/j2html/blob/dae578a5231865d9269c0948615b8280bbb6a213/src/main/java/j2html/utils/CSSMin.java#L265-L305", "partition": "valid"}
+{"repo": "tipsy/j2html", "path": "src/main/java/j2html/utils/CSSMin.java", "func_name": "Property.parseValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the values out of a property.\n\n@param contents The property to parse\n@return An array of Parts", "docstring_tokens": ["Parse", "the", "values", "out", "of", "a", "property", "."], "sha": "dae578a5231865d9269c0948615b8280bbb6a213", "url": "https://github.com/tipsy/j2html/blob/dae578a5231865d9269c0948615b8280bbb6a213/src/main/java/j2html/utils/CSSMin.java#L417-L431", "partition": "valid"}
+{"repo": "arimorty/floatingsearchview", "path": "library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java", "func_name": "FloatingSearchView.handleOnVisibleMenuItemsWidthChanged", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "ensures that the end margin of the search input is according to Material specs", "docstring_tokens": ["ensures", "that", "the", "end", "margin", "of", "the", "search", "input", "is", "according", "to", "Material", "specs"], "sha": "a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e", "url": "https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L711-L729", "partition": "valid"}
+{"repo": "arimorty/floatingsearchview", "path": "library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java", "func_name": "FloatingSearchView.setLeftActionIconColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the menu button's color.\n\n@param color the color to be applied to the\nleft menu button.", "docstring_tokens": ["Sets", "the", "menu", "button", "s", "color", "."], "sha": "a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e", "url": "https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L737-L742", "partition": "valid"}
+{"repo": "arimorty/floatingsearchview", "path": "library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java", "func_name": "FloatingSearchView.setBackgroundColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the background color of the search\nview including the suggestions section.\n\n@param color the color to be applied to the search bar and\nthe suggestion section background.", "docstring_tokens": ["Sets", "the", "background", "color", "of", "the", "search", "view", "including", "the", "suggestions", "section", "."], "sha": "a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e", "url": "https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L807-L813", "partition": "valid"}
+{"repo": "arimorty/floatingsearchview", "path": "library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java", "func_name": "FloatingSearchView.openMenu", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Mimics a menu click that opens the menu. Useful for navigation\ndrawers when they open as a result of dragging.", "docstring_tokens": ["Mimics", "a", "menu", "click", "that", "opens", "the", "menu", ".", "Useful", "for", "navigation", "drawers", "when", "they", "open", "as", "a", "result", "of", "dragging", "."], "sha": "a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e", "url": "https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L996-L1002", "partition": "valid"}
+{"repo": "arimorty/floatingsearchview", "path": "library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java", "func_name": "FloatingSearchView.closeMenu", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Mimics a menu click that closes. Useful when fo navigation\ndrawers when they close as a result of selecting and item.\n\n@param withAnim true, will close the menu button with\nthe Material animation", "docstring_tokens": ["Mimics", "a", "menu", "click", "that", "closes", ".", "Useful", "when", "fo", "navigation", "drawers", "when", "they", "close", "as", "a", "result", "of", "selecting", "and", "item", "."], "sha": "a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e", "url": "https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L1011-L1017", "partition": "valid"}
+{"repo": "arimorty/floatingsearchview", "path": "library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java", "func_name": "FloatingSearchView.inflateOverflowMenu", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inflates the menu items from\nan xml resource.\n\n@param menuId a menu xml resource reference", "docstring_tokens": ["Inflates", "the", "menu", "items", "from", "an", "xml", "resource", "."], "sha": "a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e", "url": "https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L1062-L1068", "partition": "valid"}
+{"repo": "arimorty/floatingsearchview", "path": "library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java", "func_name": "FloatingSearchView.setShowSearchKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets whether the the button with the search icon\nwill appear in the soft-keyboard or not.\n\n@param show to show the search button in\nthe soft-keyboard.", "docstring_tokens": ["Sets", "whether", "the", "the", "button", "with", "the", "search", "icon", "will", "appear", "in", "the", "soft", "-", "keyboard", "or", "not", "."], "sha": "a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e", "url": "https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L1096-L1103", "partition": "valid"}
+{"repo": "arimorty/floatingsearchview", "path": "library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java", "func_name": "FloatingSearchView.setDismissOnOutsideClick", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set whether a touch outside of the\nsearch bar's bounds will cause the search bar to\nloos focus.\n\n@param enable true to dismiss on outside touch, false otherwise.", "docstring_tokens": ["Set", "whether", "a", "touch", "outside", "of", "the", "search", "bar", "s", "bounds", "will", "cause", "the", "search", "bar", "to", "loos", "focus", "."], "sha": "a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e", "url": "https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L1123-L1138", "partition": "valid"}
+{"repo": "arimorty/floatingsearchview", "path": "library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java", "func_name": "FloatingSearchView.setSearchFocused", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets whether the search is focused or not.\n\n@param focused true, to set the search to be active/focused.\n@return true if the search was focused and will now become not focused. Useful for\ncalling supper.onBackPress() in the hosting activity only if this method returns false", "docstring_tokens": ["Sets", "whether", "the", "search", "is", "focused", "or", "not", "."], "sha": "a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e", "url": "https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L1237-L1255", "partition": "valid"}
+{"repo": "arimorty/floatingsearchview", "path": "library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java", "func_name": "FloatingSearchView.updateSuggestionsSectionHeight", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns true if the suggestion items occupy the full RecyclerView's height, false otherwise", "docstring_tokens": ["returns", "true", "if", "the", "suggestion", "items", "occupy", "the", "full", "RecyclerView", "s", "height", "false", "otherwise"], "sha": "a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e", "url": "https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L1374-L1423", "partition": "valid"}
+{"repo": "arimorty/floatingsearchview", "path": "library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java", "func_name": "FloatingSearchView.calculateSuggestionItemsHeight", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "results is >= max. The max option allows us to avoid doing unnecessary and potentially long calculations.", "docstring_tokens": ["results", "is", ">", "=", "max", ".", "The", "max", "option", "allows", "us", "to", "avoid", "doing", "unnecessary", "and", "potentially", "long", "calculations", "."], "sha": "a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e", "url": "https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L1427-L1440", "partition": "valid"}
+{"repo": "arimorty/floatingsearchview", "path": "library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java", "func_name": "FloatingSearchView.setOnBindSuggestionCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a callback that will be called after each suggestion view in the suggestions recycler\nlist is bound. This allows for customized binding for specific items in the list.\n\n@param callback A callback to be called after a suggestion is bound by the suggestions list's\nadapter.", "docstring_tokens": ["Set", "a", "callback", "that", "will", "be", "called", "after", "each", "suggestion", "view", "in", "the", "suggestions", "recycler", "list", "is", "bound", ".", "This", "allows", "for", "customized", "binding", "for", "specific", "items", "in", "the", "list", "."], "sha": "a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e", "url": "https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L1449-L1454", "partition": "valid"}
+{"repo": "biezhi/wechat-api", "path": "src/main/java/io/github/biezhi/wechat/utils/MD5Checksum.java", "func_name": "MD5Checksum.getMD5Checksum", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "a byte array to a HEX string", "docstring_tokens": ["a", "byte", "array", "to", "a", "HEX", "string"], "sha": "4d7458a766752673cec956ea7afd956c3cbe7010", "url": "https://github.com/biezhi/wechat-api/blob/4d7458a766752673cec956ea7afd956c3cbe7010/src/main/java/io/github/biezhi/wechat/utils/MD5Checksum.java#L28-L40", "partition": "valid"}
+{"repo": "biezhi/wechat-api", "path": "src/main/java/io/github/biezhi/wechat/utils/OkHttpUtils.java", "func_name": "OkHttpUtils.configureToIgnoreCertificate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Setting testMode configuration. If set as testMode, the connection will skip certification check\n\n@param builder\n@return", "docstring_tokens": ["Setting", "testMode", "configuration", ".", "If", "set", "as", "testMode", "the", "connection", "will", "skip", "certification", "check"], "sha": "4d7458a766752673cec956ea7afd956c3cbe7010", "url": "https://github.com/biezhi/wechat-api/blob/4d7458a766752673cec956ea7afd956c3cbe7010/src/main/java/io/github/biezhi/wechat/utils/OkHttpUtils.java#L20-L58", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "gson/src/org/immutables/gson/adapter/ExpectedSubtypesAdapter.java", "func_name": "ExpectedSubtypesAdapter.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "enforced by constructor parameters.", "docstring_tokens": ["enforced", "by", "constructor", "parameters", "."], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/gson/src/org/immutables/gson/adapter/ExpectedSubtypesAdapter.java#L122-L143", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "value-processor/src/org/immutables/value/processor/meta/Constitution.java", "func_name": "Constitution.typeAbstract", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Actual abstract value type that is definitive model for the value type.\n@return abstract value type name forms", "docstring_tokens": ["Actual", "abstract", "value", "type", "that", "is", "definitive", "model", "for", "the", "value", "type", "."], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/value-processor/src/org/immutables/value/processor/meta/Constitution.java#L244-L271", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "value-processor/src/org/immutables/value/processor/meta/Constitution.java", "func_name": "Constitution.inPackage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Package relative path\n@param topLevel\n@param nested\n@return", "docstring_tokens": ["Package", "relative", "path"], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/value-processor/src/org/immutables/value/processor/meta/Constitution.java#L283-L285", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "value-processor/src/org/immutables/value/processor/meta/Constitution.java", "func_name": "Constitution.typeImmutable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Actual immutable value type generated implementation.\n@return immutable implementation type name forms", "docstring_tokens": ["Actual", "immutable", "value", "type", "generated", "implementation", "."], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/value-processor/src/org/immutables/value/processor/meta/Constitution.java#L291-L314", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "mongo/src/org/immutables/mongo/types/TypeAdapters.java", "func_name": "TypeAdapters.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "safe unchecked, typecheck performed by type token equality", "docstring_tokens": ["safe", "unchecked", "typecheck", "performed", "by", "type", "token", "equality"], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/mongo/src/org/immutables/mongo/types/TypeAdapters.java#L62-L82", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "ordinal/src/org/immutables/ordinal/ImmutableOrdinalSet.java", "func_name": "ImmutableOrdinalSet.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns singleton empty immutable ordinal set\n@param element type\n@return empty set", "docstring_tokens": ["Returns", "singleton", "empty", "immutable", "ordinal", "set"], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/ordinal/src/org/immutables/ordinal/ImmutableOrdinalSet.java#L51-L55", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "ordinal/src/org/immutables/ordinal/OrdinalDomain.java", "func_name": "OrdinalDomain.iterator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterator over all present inhabitants of ordinal domain.\n@return snapshot iterator of elements in ordinal domain.", "docstring_tokens": ["Iterator", "over", "all", "present", "inhabitants", "of", "ordinal", "domain", "."], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/ordinal/src/org/immutables/ordinal/OrdinalDomain.java#L54-L69", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "value-processor/src/org/immutables/value/processor/meta/AttributeBuilderReflection.java", "func_name": "AttributeBuilderReflection.cachingKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The same class included in two parents, may or may not be nested builders based on that discovery pattern", "docstring_tokens": ["The", "same", "class", "included", "in", "two", "parents", "may", "or", "may", "not", "be", "nested", "builders", "based", "on", "that", "discovery", "pattern"], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/value-processor/src/org/immutables/value/processor/meta/AttributeBuilderReflection.java#L35-L39", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "value-processor/src/org/immutables/value/processor/meta/ValueAttribute.java", "func_name": "ValueAttribute.getSerializedName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serialized name, actully specified via annotation\n@return name for JSON as overriden.", "docstring_tokens": ["Serialized", "name", "actully", "specified", "via", "annotation"], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/value-processor/src/org/immutables/value/processor/meta/ValueAttribute.java#L264-L297", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "value-processor/src/org/immutables/value/processor/meta/ValueAttribute.java", "func_name": "ValueAttribute.getMarshaledName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Marshaled name for compatibility with repository.\n@return get JSON name either specified or default.", "docstring_tokens": ["Marshaled", "name", "for", "compatibility", "with", "repository", "."], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/value-processor/src/org/immutables/value/processor/meta/ValueAttribute.java#L303-L309", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "criteria/common/src/org/immutables/criteria/InMemoryExpressionEvaluator.java", "func_name": "InMemoryExpressionEvaluator.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory method to create evaluator instance", "docstring_tokens": ["Factory", "method", "to", "create", "evaluator", "instance"], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/criteria/common/src/org/immutables/criteria/InMemoryExpressionEvaluator.java#L44-L51", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "mongo/src/org/immutables/mongo/concurrent/FluentFutures.java", "func_name": "FluentFutures.from", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wraps listenable future with a fluent future.\n@param value type\n@param future future\n@return fluent instance", "docstring_tokens": ["Wraps", "listenable", "future", "with", "a", "fluent", "future", "."], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/mongo/src/org/immutables/mongo/concurrent/FluentFutures.java#L143-L148", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "value-fixture/src/org/immutables/fixture/encoding/defs/OptionalMap.java", "func_name": "OptionalMap.getImmutable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "alternatively it can be exposed as Optional of ImmutableMap", "docstring_tokens": ["alternatively", "it", "can", "be", "exposed", "as", "Optional", "of", "ImmutableMap"], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/value-fixture/src/org/immutables/fixture/encoding/defs/OptionalMap.java#L38-L41", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "generator/src/org/immutables/generator/TypeHierarchyCollector.java", "func_name": "TypeHierarchyCollector.stringify", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "overridable stringify.\n@param input the input\n@param context the context\n@return the string", "docstring_tokens": ["overridable", "stringify", "."], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/generator/src/org/immutables/generator/TypeHierarchyCollector.java#L41-L43", "partition": "valid"}
+{"repo": "immutables/immutables", "path": "gson/src/org/immutables/gson/stream/JsonParserReader.java", "func_name": "JsonParserReader.nextTokenBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads current value including objects and array as effiecient token buffer.\nUse of Jackson's own mechanisms is important to preserve custom elements\nsuch as special embedded objects in BSON or other data formats.\n@return {@link TokenBuffer}\n@throws IOException if error occured", "docstring_tokens": ["Reads", "current", "value", "including", "objects", "and", "array", "as", "effiecient", "token", "buffer", ".", "Use", "of", "Jackson", "s", "own", "mechanisms", "is", "important", "to", "preserve", "custom", "elements", "such", "as", "special", "embedded", "objects", "in", "BSON", "or", "other", "data", "formats", "."], "sha": "909fd91fe6065e785f88a31a506554cec2ad7ee4", "url": "https://github.com/immutables/immutables/blob/909fd91fe6065e785f88a31a506554cec2ad7ee4/gson/src/org/immutables/gson/stream/JsonParserReader.java#L247-L255", "partition": "valid"}
+{"repo": "SeleniumHQ/htmlunit-driver", "path": "src/main/java/org/openqa/selenium/htmlunit/HtmlUnitAlert.java", "func_name": "HtmlUnitAlert.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes the current window.", "docstring_tokens": ["Closes", "the", "current", "window", "."], "sha": "fe5e2dcb577fcc483b97f9f0710893a17dd5a9d9", "url": "https://github.com/SeleniumHQ/htmlunit-driver/blob/fe5e2dcb577fcc483b97f9f0710893a17dd5a9d9/src/main/java/org/openqa/selenium/htmlunit/HtmlUnitAlert.java#L154-L160", "partition": "valid"}
+{"repo": "SeleniumHQ/htmlunit-driver", "path": "src/main/java/org/openqa/selenium/htmlunit/AsyncScriptExecutor.java", "func_name": "AsyncScriptExecutor.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Injects an asynchronous script for execution and waits for its result.\n\n@param scriptBody The script body.\n@param parameters The script parameters, which can be referenced using the {@code arguments}\nJavaScript object.\n@return The script result.", "docstring_tokens": ["Injects", "an", "asynchronous", "script", "for", "execution", "and", "waits", "for", "its", "result", "."], "sha": "fe5e2dcb577fcc483b97f9f0710893a17dd5a9d9", "url": "https://github.com/SeleniumHQ/htmlunit-driver/blob/fe5e2dcb577fcc483b97f9f0710893a17dd5a9d9/src/main/java/org/openqa/selenium/htmlunit/AsyncScriptExecutor.java#L68-L89", "partition": "valid"}
+{"repo": "SeleniumHQ/htmlunit-driver", "path": "src/main/java/org/openqa/selenium/htmlunit/HtmlUnitDriver.java", "func_name": "HtmlUnitDriver.setProxySettings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set proxy for WebClient using Proxy.\n\n@param proxy The proxy preferences.", "docstring_tokens": ["Set", "proxy", "for", "WebClient", "using", "Proxy", "."], "sha": "fe5e2dcb577fcc483b97f9f0710893a17dd5a9d9", "url": "https://github.com/SeleniumHQ/htmlunit-driver/blob/fe5e2dcb577fcc483b97f9f0710893a17dd5a9d9/src/main/java/org/openqa/selenium/htmlunit/HtmlUnitDriver.java#L516-L577", "partition": "valid"}
+{"repo": "SeleniumHQ/htmlunit-driver", "path": "src/main/java/org/openqa/selenium/htmlunit/HtmlUnitDriver.java", "func_name": "HtmlUnitDriver.setHTTPProxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets HTTP proxy for WebClient with bypass proxy hosts\n\n@param host The hostname of HTTP proxy\n@param port The port of HTTP proxy, 0 means HTTP proxy w/o port\n@param noProxyHosts The list of hosts which need to bypass HTTP proxy", "docstring_tokens": ["Sets", "HTTP", "proxy", "for", "WebClient", "with", "bypass", "proxy", "hosts"], "sha": "fe5e2dcb577fcc483b97f9f0710893a17dd5a9d9", "url": "https://github.com/SeleniumHQ/htmlunit-driver/blob/fe5e2dcb577fcc483b97f9f0710893a17dd5a9d9/src/main/java/org/openqa/selenium/htmlunit/HtmlUnitDriver.java#L596-L606", "partition": "valid"}
+{"repo": "SeleniumHQ/htmlunit-driver", "path": "src/main/java/org/openqa/selenium/htmlunit/HtmlUnitDriver.java", "func_name": "HtmlUnitDriver.setAutoProxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets Proxy Autoconfiguration URL for WebClient\n\n@param autoProxyUrl The Proxy Autoconfiguration URL", "docstring_tokens": ["Sets", "Proxy", "Autoconfiguration", "URL", "for", "WebClient"], "sha": "fe5e2dcb577fcc483b97f9f0710893a17dd5a9d9", "url": "https://github.com/SeleniumHQ/htmlunit-driver/blob/fe5e2dcb577fcc483b97f9f0710893a17dd5a9d9/src/main/java/org/openqa/selenium/htmlunit/HtmlUnitDriver.java#L654-L658", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "snippets/ecm-integrations/invoice-box/src/main/java/org/camunda/bpm/example/box/BoxHelper.java", "func_name": "BoxHelper.userClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a BoxDeveloperEditionAPIConnection that can be used by an App user to access Box.\n\n@param userId The UserId of a valid Box App User\n@return BoxDeveloperEditionAPIConnection new Box Developer Edition connection with App User token", "docstring_tokens": ["Get", "a", "BoxDeveloperEditionAPIConnection", "that", "can", "be", "used", "by", "an", "App", "user", "to", "access", "Box", "."], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/snippets/ecm-integrations/invoice-box/src/main/java/org/camunda/bpm/example/box/BoxHelper.java#L57-L70", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "snippets/migrate-third-party-to-camunda/src/main/java/org/camunda/bpm/engine/impl/persistence/entity/ProcessDefinitionEntity.java", "func_name": "ProcessDefinitionEntity.updateModifiedFieldsFromEntity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates all modifiable fields from another process definition entity.\n@param updatingProcessDefinition", "docstring_tokens": ["Updates", "all", "modifiable", "fields", "from", "another", "process", "definition", "entity", "."], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/snippets/migrate-third-party-to-camunda/src/main/java/org/camunda/bpm/engine/impl/persistence/entity/ProcessDefinitionEntity.java#L182-L191", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "snippets/four-eyes-advanced/four-eyes-advanced-process-engine-plugin/src/main/java/org/camunda/bpm/examples/FourEyesExtensionsParseListener.java", "func_name": "FourEyesExtensionsParseListener.addFourEyesTaskListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add TaskListener on \"complete\" event generically every time, so we don't\nhave to add it in the XML.", "docstring_tokens": ["Add", "TaskListener", "on", "complete", "event", "generically", "every", "time", "so", "we", "don", "t", "have", "to", "add", "it", "in", "the", "XML", "."], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/snippets/four-eyes-advanced/four-eyes-advanced-process-engine-plugin/src/main/java/org/camunda/bpm/examples/FourEyesExtensionsParseListener.java#L48-L70", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "snippets/dynamic-multi-tenancy/tenantdemo-process-application/src/main/java/com/camunda/demo/tenant/pa/ExampleTenantAwareProcessApplication.java", "func_name": "ExampleTenantAwareProcessApplication.deployProcessesToTenantEngines", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "private static final String PROCESS_DEFINITION_KEY = \"tenantdemo-process-application\";", "docstring_tokens": ["private", "static", "final", "String", "PROCESS_DEFINITION_KEY", "=", "tenantdemo", "-", "process", "-", "application", ";"], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/snippets/dynamic-multi-tenancy/tenantdemo-process-application/src/main/java/com/camunda/demo/tenant/pa/ExampleTenantAwareProcessApplication.java#L19-L27", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "snippets/liferay/camunda-bpm-liferay-process-application/src/main/java/org/camunda/bpm/engine/cdi/impl/context/PortalContextAssociationManager.java", "func_name": "PortalContextAssociationManager.checkTaskSelectedViaBridge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "\"lazy\" load task if bridge state has changed in the meantime", "docstring_tokens": ["lazy", "load", "task", "if", "bridge", "state", "has", "changed", "in", "the", "meantime"], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/snippets/liferay/camunda-bpm-liferay-process-application/src/main/java/org/camunda/bpm/engine/cdi/impl/context/PortalContextAssociationManager.java#L173-L184", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "snippets/get-servlet-context-by-process-definition/src/main/java/org/example/get_servlet_context_by_process_definition/ProcessApplicationHelper.java", "func_name": "ProcessApplicationHelper.getServletContextPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the servlet context path of a process definition from a known process engine.", "docstring_tokens": ["Retrieve", "the", "servlet", "context", "path", "of", "a", "process", "definition", "from", "a", "known", "process", "engine", "."], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/snippets/get-servlet-context-by-process-definition/src/main/java/org/example/get_servlet_context_by_process_definition/ProcessApplicationHelper.java#L21-L25", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "snippets/get-servlet-context-by-process-definition/src/main/java/org/example/get_servlet_context_by_process_definition/ProcessApplicationHelper.java", "func_name": "ProcessApplicationHelper.getServletContextPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the servlet context path of a process definition from any process engine.", "docstring_tokens": ["Retrieve", "the", "servlet", "context", "path", "of", "a", "process", "definition", "from", "any", "process", "engine", "."], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/snippets/get-servlet-context-by-process-definition/src/main/java/org/example/get_servlet_context_by_process_definition/ProcessApplicationHelper.java#L30-L37", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "snippets/get-servlet-context-by-process-definition/src/main/java/org/example/get_servlet_context_by_process_definition/ProcessApplicationHelper.java", "func_name": "ProcessApplicationHelper.getProcessApplicationInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the application info of a process definition from a known process engine.", "docstring_tokens": ["Retrieve", "the", "application", "info", "of", "a", "process", "definition", "from", "a", "known", "process", "engine", "."], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/snippets/get-servlet-context-by-process-definition/src/main/java/org/example/get_servlet_context_by_process_definition/ProcessApplicationHelper.java#L52-L67", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "snippets/get-servlet-context-by-process-definition/src/main/java/org/example/get_servlet_context_by_process_definition/ProcessApplicationHelper.java", "func_name": "ProcessApplicationHelper.getProcessApplicationInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the application info path of a process definition from any process engine.", "docstring_tokens": ["Retrieve", "the", "application", "info", "path", "of", "a", "process", "definition", "from", "any", "process", "engine", "."], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/snippets/get-servlet-context-by-process-definition/src/main/java/org/example/get_servlet_context_by_process_definition/ProcessApplicationHelper.java#L72-L93", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "snippets/springboot-security-sso/src/main/java/com/camunda/demo/config/SecurityConfig.java", "func_name": "SecurityConfig.userDetailsService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "In real world scenarios, this would be replaced by the actual IAM solution", "docstring_tokens": ["In", "real", "world", "scenarios", "this", "would", "be", "replaced", "by", "the", "actual", "IAM", "solution"], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/snippets/springboot-security-sso/src/main/java/com/camunda/demo/config/SecurityConfig.java#L14-L21", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "snippets/data-in-processes/src/main/java/org/camunda/consulting/patterns/data/adapter/AbstractProcessVariableAdapter.java", "func_name": "AbstractProcessVariableAdapter.castValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Type- and null-safe cast of variable-value.", "docstring_tokens": ["Type", "-", "and", "null", "-", "safe", "cast", "of", "variable", "-", "value", "."], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/snippets/data-in-processes/src/main/java/org/camunda/consulting/patterns/data/adapter/AbstractProcessVariableAdapter.java#L16-L19", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "one-time-examples/bank-account-opening-camel/src/main/java/org/camunda/demo/camel/CamelBootStrap.java", "func_name": "CamelBootStrap.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "private QueueConnectionFactory queueConnectionFactory;", "docstring_tokens": ["private", "QueueConnectionFactory", "queueConnectionFactory", ";"], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/one-time-examples/bank-account-opening-camel/src/main/java/org/camunda/demo/camel/CamelBootStrap.java#L43-L77", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "snippets/data-in-processes/src/main/java/org/camunda/consulting/patterns/guard/Guards.java", "func_name": "Guards.checkIsSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if a variable is set.\n\n@param execution\ncurrent process execution\n@param variableName\nname of the variable.", "docstring_tokens": ["Checks", "if", "a", "variable", "is", "set", "."], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/snippets/data-in-processes/src/main/java/org/camunda/consulting/patterns/guard/Guards.java#L113-L121", "partition": "valid"}
+{"repo": "camunda-consulting/code", "path": "snippets/data-in-processes/src/main/java/org/camunda/consulting/patterns/guard/Guards.java", "func_name": "Guards.checkIsSetGlobal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if a global variable is set.\n\n@param execution\ncurrent process execution\n@param variableName\nname of the variable.", "docstring_tokens": ["Checks", "if", "a", "global", "variable", "is", "set", "."], "sha": "11f89fbfcca7c8847fefc724cc65ee4de048f61d", "url": "https://github.com/camunda-consulting/code/blob/11f89fbfcca7c8847fefc724cc65ee4de048f61d/snippets/data-in-processes/src/main/java/org/camunda/consulting/patterns/guard/Guards.java#L131-L136", "partition": "valid"}
+{"repo": "oguzbilgener/CircularFloatingActionMenu", "path": "library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java", "func_name": "FloatingActionMenu.open", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Simply opens the menu by doing necessary calculations.\n@param animated if true, this action is executed by the current {@link MenuAnimationHandler}", "docstring_tokens": ["Simply", "opens", "the", "menu", "by", "doing", "necessary", "calculations", "."], "sha": "7614a063f326cbd153ead6b06ba979c6cf40796e", "url": "https://github.com/oguzbilgener/CircularFloatingActionMenu/blob/7614a063f326cbd153ead6b06ba979c6cf40796e/library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java#L152-L224", "partition": "valid"}
+{"repo": "oguzbilgener/CircularFloatingActionMenu", "path": "library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java", "func_name": "FloatingActionMenu.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes the menu.\n@param animated if true, this action is executed by the current {@link MenuAnimationHandler}", "docstring_tokens": ["Closes", "the", "menu", "."], "sha": "7614a063f326cbd153ead6b06ba979c6cf40796e", "url": "https://github.com/oguzbilgener/CircularFloatingActionMenu/blob/7614a063f326cbd153ead6b06ba979c6cf40796e/library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java#L230-L252", "partition": "valid"}
+{"repo": "oguzbilgener/CircularFloatingActionMenu", "path": "library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java", "func_name": "FloatingActionMenu.updateItemPositions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recalculates the positions of each sub action item on demand.", "docstring_tokens": ["Recalculates", "the", "positions", "of", "each", "sub", "action", "item", "on", "demand", "."], "sha": "7614a063f326cbd153ead6b06ba979c6cf40796e", "url": "https://github.com/oguzbilgener/CircularFloatingActionMenu/blob/7614a063f326cbd153ead6b06ba979c6cf40796e/library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java#L288-L303", "partition": "valid"}
+{"repo": "oguzbilgener/CircularFloatingActionMenu", "path": "library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java", "func_name": "FloatingActionMenu.getActionViewCoordinates", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the coordinates of the main action view\nThis method should only be called after the main layout of the Activity is drawn,\nsuch as when a user clicks the action button.\n@return a Point containing x and y coordinates of the top left corner of action view", "docstring_tokens": ["Gets", "the", "coordinates", "of", "the", "main", "action", "view", "This", "method", "should", "only", "be", "called", "after", "the", "main", "layout", "of", "the", "Activity", "is", "drawn", "such", "as", "when", "a", "user", "clicks", "the", "action", "button", "."], "sha": "7614a063f326cbd153ead6b06ba979c6cf40796e", "url": "https://github.com/oguzbilgener/CircularFloatingActionMenu/blob/7614a063f326cbd153ead6b06ba979c6cf40796e/library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java#L311-L327", "partition": "valid"}
+{"repo": "oguzbilgener/CircularFloatingActionMenu", "path": "library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java", "func_name": "FloatingActionMenu.getActionViewCenter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the center point of the main action view\n@return the action view center point", "docstring_tokens": ["Returns", "the", "center", "point", "of", "the", "main", "action", "view"], "sha": "7614a063f326cbd153ead6b06ba979c6cf40796e", "url": "https://github.com/oguzbilgener/CircularFloatingActionMenu/blob/7614a063f326cbd153ead6b06ba979c6cf40796e/library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java#L333-L338", "partition": "valid"}
+{"repo": "oguzbilgener/CircularFloatingActionMenu", "path": "library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java", "func_name": "FloatingActionMenu.calculateItemPositions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the desired positions of all items.\n@return getActionViewCenter()", "docstring_tokens": ["Calculates", "the", "desired", "positions", "of", "all", "items", "."], "sha": "7614a063f326cbd153ead6b06ba979c6cf40796e", "url": "https://github.com/oguzbilgener/CircularFloatingActionMenu/blob/7614a063f326cbd153ead6b06ba979c6cf40796e/library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java#L344-L373", "partition": "valid"}
+{"repo": "oguzbilgener/CircularFloatingActionMenu", "path": "library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java", "func_name": "FloatingActionMenu.getActivityContentView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds and returns the main content view from the Activity context.\n@return the main content view", "docstring_tokens": ["Finds", "and", "returns", "the", "main", "content", "view", "from", "the", "Activity", "context", "."], "sha": "7614a063f326cbd153ead6b06ba979c6cf40796e", "url": "https://github.com/oguzbilgener/CircularFloatingActionMenu/blob/7614a063f326cbd153ead6b06ba979c6cf40796e/library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java#L393-L400", "partition": "valid"}
+{"repo": "oguzbilgener/CircularFloatingActionMenu", "path": "library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java", "func_name": "FloatingActionMenu.getScreenSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves the screen size from the Activity context\n@return the screen size as a Point object", "docstring_tokens": ["Retrieves", "the", "screen", "size", "from", "the", "Activity", "context"], "sha": "7614a063f326cbd153ead6b06ba979c6cf40796e", "url": "https://github.com/oguzbilgener/CircularFloatingActionMenu/blob/7614a063f326cbd153ead6b06ba979c6cf40796e/library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionMenu.java#L506-L510", "partition": "valid"}
+{"repo": "oguzbilgener/CircularFloatingActionMenu", "path": "library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/animation/MenuAnimationHandler.java", "func_name": "MenuAnimationHandler.restoreSubActionViewAfterAnimation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Restores the specified sub action view to its final state, according to the current actionType\nShould be called after an animation finishes.\n@param subActionItem\n@param actionType", "docstring_tokens": ["Restores", "the", "specified", "sub", "action", "view", "to", "its", "final", "state", "according", "to", "the", "current", "actionType", "Should", "be", "called", "after", "an", "animation", "finishes", "."], "sha": "7614a063f326cbd153ead6b06ba979c6cf40796e", "url": "https://github.com/oguzbilgener/CircularFloatingActionMenu/blob/7614a063f326cbd153ead6b06ba979c6cf40796e/library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/animation/MenuAnimationHandler.java#L60-L100", "partition": "valid"}
+{"repo": "oguzbilgener/CircularFloatingActionMenu", "path": "library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/SubActionButton.java", "func_name": "SubActionButton.setContentView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a content view with custom LayoutParams that will be displayed inside this SubActionButton.\n@param contentView\n@param params", "docstring_tokens": ["Sets", "a", "content", "view", "with", "custom", "LayoutParams", "that", "will", "be", "displayed", "inside", "this", "SubActionButton", "."], "sha": "7614a063f326cbd153ead6b06ba979c6cf40796e", "url": "https://github.com/oguzbilgener/CircularFloatingActionMenu/blob/7614a063f326cbd153ead6b06ba979c6cf40796e/library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/SubActionButton.java#L60-L69", "partition": "valid"}
+{"repo": "oguzbilgener/CircularFloatingActionMenu", "path": "library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionButton.java", "func_name": "FloatingActionButton.setPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the position of the button by calculating its Gravity from the position parameter\n@param position one of 8 specified positions.\n@param layoutParams should be either FrameLayout.LayoutParams or WindowManager.LayoutParams", "docstring_tokens": ["Sets", "the", "position", "of", "the", "button", "by", "calculating", "its", "Gravity", "from", "the", "position", "parameter"], "sha": "7614a063f326cbd153ead6b06ba979c6cf40796e", "url": "https://github.com/oguzbilgener/CircularFloatingActionMenu/blob/7614a063f326cbd153ead6b06ba979c6cf40796e/library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionButton.java#L84-L142", "partition": "valid"}
+{"repo": "oguzbilgener/CircularFloatingActionMenu", "path": "library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionButton.java", "func_name": "FloatingActionButton.attach", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attaches it to the content view with specified LayoutParams.\n@param layoutParams", "docstring_tokens": ["Attaches", "it", "to", "the", "content", "view", "with", "specified", "LayoutParams", "."], "sha": "7614a063f326cbd153ead6b06ba979c6cf40796e", "url": "https://github.com/oguzbilgener/CircularFloatingActionMenu/blob/7614a063f326cbd153ead6b06ba979c6cf40796e/library/src/main/java/com/oguzdev/circularfloatingactionmenu/library/FloatingActionButton.java#L169-L182", "partition": "valid"}
+{"repo": "oxo42/stateless4j", "path": "src/main/java/com/github/oxo42/stateless4j/StateConfiguration.java", "func_name": "StateConfiguration.permit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Accept the specified trigger and transition to the destination state\n\n@param trigger The accepted trigger\n@param destinationState The state that the trigger will cause a transition to\n@return The receiver", "docstring_tokens": ["Accept", "the", "specified", "trigger", "and", "transition", "to", "the", "destination", "state"], "sha": "3dd512049f7920f492838f1e09fb7c5abfc6bbcf", "url": "https://github.com/oxo42/stateless4j/blob/3dd512049f7920f492838f1e09fb7c5abfc6bbcf/src/main/java/com/github/oxo42/stateless4j/StateConfiguration.java#L45-L48", "partition": "valid"}
+{"repo": "oxo42/stateless4j", "path": "src/main/java/com/github/oxo42/stateless4j/StateConfiguration.java", "func_name": "StateConfiguration.permitIf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Accept the specified trigger and transition to the destination state if guard is true\n\n@param trigger The accepted trigger\n@param destinationState The state that the trigger will cause a transition to\n@param guard Function that must return true in order for the trigger to be accepted\n@return The receiver", "docstring_tokens": ["Accept", "the", "specified", "trigger", "and", "transition", "to", "the", "destination", "state", "if", "guard", "is", "true"], "sha": "3dd512049f7920f492838f1e09fb7c5abfc6bbcf", "url": "https://github.com/oxo42/stateless4j/blob/3dd512049f7920f492838f1e09fb7c5abfc6bbcf/src/main/java/com/github/oxo42/stateless4j/StateConfiguration.java#L75-L78", "partition": "valid"}
+{"repo": "oxo42/stateless4j", "path": "src/main/java/com/github/oxo42/stateless4j/StateConfiguration.java", "func_name": "StateConfiguration.permitIfOtherwiseIgnore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Accept the specified trigger and transition to the destination state if guard true, otherwise ignore\n\n@param trigger The accepted trigger\n@param destinationState The state that the trigger will cause a transition to\n@param guard Function that must return true in order for the trigger to be accepted\n@return The receiver", "docstring_tokens": ["Accept", "the", "specified", "trigger", "and", "transition", "to", "the", "destination", "state", "if", "guard", "true", "otherwise", "ignore"], "sha": "3dd512049f7920f492838f1e09fb7c5abfc6bbcf", "url": "https://github.com/oxo42/stateless4j/blob/3dd512049f7920f492838f1e09fb7c5abfc6bbcf/src/main/java/com/github/oxo42/stateless4j/StateConfiguration.java#L106-L115", "partition": "valid"}
+{"repo": "oxo42/stateless4j", "path": "src/main/java/com/github/oxo42/stateless4j/StateConfiguration.java", "func_name": "StateConfiguration.ignoreIf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "ignore the specified trigger when in the configured state, if the guard returns true\n\n@param trigger The trigger to ignore\n@param guard Function that must return true in order for the trigger to be ignored\n@return The receiver", "docstring_tokens": ["ignore", "the", "specified", "trigger", "when", "in", "the", "configured", "state", "if", "the", "guard", "returns", "true"], "sha": "3dd512049f7920f492838f1e09fb7c5abfc6bbcf", "url": "https://github.com/oxo42/stateless4j/blob/3dd512049f7920f492838f1e09fb7c5abfc6bbcf/src/main/java/com/github/oxo42/stateless4j/StateConfiguration.java#L262-L266", "partition": "valid"}
+{"repo": "oxo42/stateless4j", "path": "src/main/java/com/github/oxo42/stateless4j/StateMachineConfig.java", "func_name": "StateMachineConfig.getOrCreateRepresentation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return StateRepresentation for the specified state. Creates representation if it does not exist.\n\n@param state The state\n@return StateRepresentation for the specified state.", "docstring_tokens": ["Return", "StateRepresentation", "for", "the", "specified", "state", ".", "Creates", "representation", "if", "it", "does", "not", "exist", "."], "sha": "3dd512049f7920f492838f1e09fb7c5abfc6bbcf", "url": "https://github.com/oxo42/stateless4j/blob/3dd512049f7920f492838f1e09fb7c5abfc6bbcf/src/main/java/com/github/oxo42/stateless4j/StateMachineConfig.java#L77-L85", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "bootstrap/src/main/java/io/airlift/bootstrap/LifeCycleManager.java", "func_name": "LifeCycleManager.addInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an additional managed instance\n\n@param instance instance to add\n@throws Exception errors", "docstring_tokens": ["Add", "an", "additional", "managed", "instance"], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/bootstrap/src/main/java/io/airlift/bootstrap/LifeCycleManager.java#L156-L169", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "stats/src/main/java/io/airlift/stats/cardinality/DenseHll.java", "func_name": "DenseHll.setOverflow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns false if not overflow bucket matching the given bucket id was found", "docstring_tokens": ["Returns", "false", "if", "not", "overflow", "bucket", "matching", "the", "given", "bucket", "id", "was", "found"], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/stats/src/main/java/io/airlift/stats/cardinality/DenseHll.java#L288-L297", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "stats/src/main/java/io/airlift/stats/cardinality/DenseHll.java", "func_name": "DenseHll.mergeWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns \"this\" for chaining", "docstring_tokens": ["Returns", "this", "for", "chaining"], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/stats/src/main/java/io/airlift/stats/cardinality/DenseHll.java#L442-L493", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "security/src/main/java/io/airlift/security/der/DerUtils.java", "func_name": "DerUtils.encodeSequence", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes a sequence of encoded values.", "docstring_tokens": ["Encodes", "a", "sequence", "of", "encoded", "values", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/security/src/main/java/io/airlift/security/der/DerUtils.java#L47-L62", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "security/src/main/java/io/airlift/security/der/DerUtils.java", "func_name": "DerUtils.decodeSequence", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decodes a sequence of encoded values.", "docstring_tokens": ["Decodes", "a", "sequence", "of", "encoded", "values", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/security/src/main/java/io/airlift/security/der/DerUtils.java#L67-L97", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "security/src/main/java/io/airlift/security/der/DerUtils.java", "func_name": "DerUtils.decodeSequenceOptionalElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decodes a optional element of a sequence.", "docstring_tokens": ["Decodes", "a", "optional", "element", "of", "a", "sequence", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/security/src/main/java/io/airlift/security/der/DerUtils.java#L102-L116", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "security/src/main/java/io/airlift/security/der/DerUtils.java", "func_name": "DerUtils.encodeBitString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes a bit string padded with the specified number of bits.\nThe encoding is a byte containing the padBits followed by the value bytes.", "docstring_tokens": ["Encodes", "a", "bit", "string", "padded", "with", "the", "specified", "number", "of", "bits", ".", "The", "encoding", "is", "a", "byte", "containing", "the", "padBits", "followed", "by", "the", "value", "bytes", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/security/src/main/java/io/airlift/security/der/DerUtils.java#L122-L133", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "security/src/main/java/io/airlift/security/der/DerUtils.java", "func_name": "DerUtils.encodeOctetString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes an octet string.", "docstring_tokens": ["Encodes", "an", "octet", "string", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/security/src/main/java/io/airlift/security/der/DerUtils.java#L138-L146", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "security/src/main/java/io/airlift/security/der/DerUtils.java", "func_name": "DerUtils.encodeLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes the length of a DER value. The encoding of a 7bit value is simply the value. Values needing more than 7bits\nare encoded as a lead byte with the high bit set and containing the number of value bytes. Then the following bytes\nencode the length using the least number of bytes possible.", "docstring_tokens": ["Encodes", "the", "length", "of", "a", "DER", "value", ".", "The", "encoding", "of", "a", "7bit", "value", "is", "simply", "the", "value", ".", "Values", "needing", "more", "than", "7bits", "are", "encoded", "as", "a", "lead", "byte", "with", "the", "high", "bit", "set", "and", "containing", "the", "number", "of", "value", "bytes", ".", "Then", "the", "following", "bytes", "encode", "the", "length", "using", "the", "least", "number", "of", "bytes", "possible", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/security/src/main/java/io/airlift/security/der/DerUtils.java#L153-L168", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "log/src/main/java/io/airlift/log/Logger.java", "func_name": "Logger.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a named logger\n\n@param name the name of the logger\n@return the named logger", "docstring_tokens": ["Gets", "a", "named", "logger"], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/log/src/main/java/io/airlift/log/Logger.java#L53-L57", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "log/src/main/java/io/airlift/log/Logger.java", "func_name": "Logger.debug", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Logs a message at DEBUG level.\n\n@param exception an exception associated with the debug message being logged\n@param message a literal message to log", "docstring_tokens": ["Logs", "a", "message", "at", "DEBUG", "level", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/log/src/main/java/io/airlift/log/Logger.java#L65-L68", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "log/src/main/java/io/airlift/log/Logger.java", "func_name": "Logger.warn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Logs a message at WARN level.\n\n@param exception an exception associated with the warning being logged\n@param message a literal message to log", "docstring_tokens": ["Logs", "a", "message", "at", "WARN", "level", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/log/src/main/java/io/airlift/log/Logger.java#L181-L184", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "log/src/main/java/io/airlift/log/Logger.java", "func_name": "Logger.error", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Logs a message at ERROR level.\n\n@param exception an exception associated with the error being logged\n@param message a literal message to log", "docstring_tokens": ["Logs", "a", "message", "at", "ERROR", "level", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/log/src/main/java/io/airlift/log/Logger.java#L249-L252", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "http-client/src/main/java/io/airlift/http/client/HttpUriBuilder.java", "func_name": "HttpUriBuilder.replacePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace the current path with the given unencoded path", "docstring_tokens": ["Replace", "the", "current", "path", "with", "the", "given", "unencoded", "path"], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/http-client/src/main/java/io/airlift/http/client/HttpUriBuilder.java#L118-L128", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "http-client/src/main/java/io/airlift/http/client/HttpUriBuilder.java", "func_name": "HttpUriBuilder.percentDecode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "input must be an ASCII string representing a percent-encoded UTF-8 byte sequence", "docstring_tokens": ["input", "must", "be", "an", "ASCII", "string", "representing", "a", "percent", "-", "encoded", "UTF", "-", "8", "byte", "sequence"], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/http-client/src/main/java/io/airlift/http/client/HttpUriBuilder.java#L281-L315", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "http-server/src/main/java/io/airlift/http/server/HttpServerChannelListener.java", "func_name": "HttpServerChannelListener.processContentTimestamps", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the summary statistics for the interarrival time of the onResponseContent callbacks.", "docstring_tokens": ["Calculate", "the", "summary", "statistics", "for", "the", "interarrival", "time", "of", "the", "onResponseContent", "callbacks", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/http-server/src/main/java/io/airlift/http/server/HttpServerChannelListener.java#L105-L123", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "configuration/src/main/java/io/airlift/configuration/ConfigurationFactory.java", "func_name": "ConfigurationFactory.build", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is used by the configuration provider", "docstring_tokens": ["This", "is", "used", "by", "the", "configuration", "provider"], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/configuration/src/main/java/io/airlift/configuration/ConfigurationFactory.java#L305-L335", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "stats/src/main/java/io/airlift/stats/ExponentiallyDecayingSample.java", "func_name": "ExponentiallyDecayingSample.update", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds an old value with a fixed timestamp to the sample.\n\n@param value the value to be added\n@param timestamp the epoch timestamp of {@code value} in seconds", "docstring_tokens": ["Adds", "an", "old", "value", "with", "a", "fixed", "timestamp", "to", "the", "sample", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/stats/src/main/java/io/airlift/stats/ExponentiallyDecayingSample.java#L115-L145", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "jmx-http-rpc/src/main/java/io/airlift/jmx/http/rpc/HttpMBeanServerRpc.java", "func_name": "HttpMBeanServerRpc.base64Encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes the specified data into a base64 string.\n\n@param bytes The unencoded raw data.", "docstring_tokens": ["Encodes", "the", "specified", "data", "into", "a", "base64", "string", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/jmx-http-rpc/src/main/java/io/airlift/jmx/http/rpc/HttpMBeanServerRpc.java#L142-L176", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "jmx-http-rpc/src/main/java/io/airlift/jmx/http/rpc/HttpMBeanServerRpc.java", "func_name": "HttpMBeanServerRpc.base64Decode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decodes the specified base64 string back into its raw data.\n\n@param encoded The base64 encoded string.", "docstring_tokens": ["Decodes", "the", "specified", "base64", "string", "back", "into", "its", "raw", "data", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/jmx-http-rpc/src/main/java/io/airlift/jmx/http/rpc/HttpMBeanServerRpc.java#L183-L208", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "log-manager/src/main/java/io/airlift/log/LoggingOutputStream.java", "func_name": "LoggingOutputStream.flush", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "write the current buffer contents to the underlying logger.", "docstring_tokens": ["write", "the", "current", "buffer", "contents", "to", "the", "underlying", "logger", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/log-manager/src/main/java/io/airlift/log/LoggingOutputStream.java#L39-L53", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "http-client/src/main/java/io/airlift/http/client/jetty/JettyHttpClient.java", "func_name": "JettyHttpClient.dumpDestination", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "todo this should be @Managed but operations with parameters are broken in jmx utils https://github.com/martint/jmxutils/issues/27", "docstring_tokens": ["todo", "this", "should", "be"], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/http-client/src/main/java/io/airlift/http/client/jetty/JettyHttpClient.java#L782-L791", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "stats/src/main/java/io/airlift/stats/ExponentialDecay.java", "func_name": "ExponentialDecay.computeAlpha", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the alpha decay factor such that the weight of an entry with age 'targetAgeInSeconds' is targetWeight'", "docstring_tokens": ["Compute", "the", "alpha", "decay", "factor", "such", "that", "the", "weight", "of", "an", "entry", "with", "age", "targetAgeInSeconds", "is", "targetWeight"], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/stats/src/main/java/io/airlift/stats/ExponentialDecay.java#L40-L46", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.propagateCancellation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cancels the destination Future if the source Future is cancelled.", "docstring_tokens": ["Cancels", "the", "destination", "Future", "if", "the", "source", "Future", "is", "cancelled", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L50-L57", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.unmodifiableFuture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a future that can not be completed or canceled.", "docstring_tokens": ["Returns", "a", "future", "that", "can", "not", "be", "completed", "or", "canceled", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L98-L102", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.unmodifiableFuture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a future that can not be completed or optionally canceled.", "docstring_tokens": ["Returns", "a", "future", "that", "can", "not", "be", "completed", "or", "optionally", "canceled", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L107-L130", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.failedFuture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a failed future containing the specified throwable.", "docstring_tokens": ["Returns", "a", "failed", "future", "containing", "the", "specified", "throwable", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L135-L142", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.getFutureValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Waits for the value from the future. If the future is failed, the exception\nis thrown directly if it is an instance of the specified exception type or\nunchecked, or it is wrapped in a RuntimeException. If the thread is\ninterrupted, the thread interruption flag is set and the original\nInterruptedException is wrapped in a RuntimeException and thrown.", "docstring_tokens": ["Waits", "for", "the", "value", "from", "the", "future", ".", "If", "the", "future", "is", "failed", "the", "exception", "is", "thrown", "directly", "if", "it", "is", "an", "instance", "of", "the", "specified", "exception", "type", "or", "unchecked", "or", "it", "is", "wrapped", "in", "a", "RuntimeException", ".", "If", "the", "thread", "is", "interrupted", "the", "thread", "interruption", "flag", "is", "set", "and", "the", "original", "InterruptedException", "is", "wrapped", "in", "a", "RuntimeException", "and", "thrown", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L162-L180", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.tryGetFutureValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the current value of the future without waiting. If the future\nvalue is null, an empty Optional is still returned, and in this case the caller\nmust check the future directly for the null value.", "docstring_tokens": ["Gets", "the", "current", "value", "of", "the", "future", "without", "waiting", ".", "If", "the", "future", "value", "is", "null", "an", "empty", "Optional", "is", "still", "returned", "and", "in", "this", "case", "the", "caller", "must", "check", "the", "future", "directly", "for", "the", "null", "value", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L187-L195", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.tryGetFutureValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Waits for the the value from the future for the specified time. If the future\nvalue is null, an empty Optional is still returned, and in this case the caller\nmust check the future directly for the null value. If the future is failed,\nthe exception is thrown directly if unchecked or wrapped in a RuntimeException.\nIf the thread is interrupted, the thread interruption flag is set and the original\nInterruptedException is wrapped in a RuntimeException and thrown.", "docstring_tokens": ["Waits", "for", "the", "the", "value", "from", "the", "future", "for", "the", "specified", "time", ".", "If", "the", "future", "value", "is", "null", "an", "empty", "Optional", "is", "still", "returned", "and", "in", "this", "case", "the", "caller", "must", "check", "the", "future", "directly", "for", "the", "null", "value", ".", "If", "the", "future", "is", "failed", "the", "exception", "is", "thrown", "directly", "if", "unchecked", "or", "wrapped", "in", "a", "RuntimeException", ".", "If", "the", "thread", "is", "interrupted", "the", "thread", "interruption", "flag", "is", "set", "and", "the", "original", "InterruptedException", "is", "wrapped", "in", "a", "RuntimeException", "and", "thrown", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L205-L208", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.tryGetFutureValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Waits for the the value from the future for the specified time. If the future\nvalue is null, an empty Optional is still returned, and in this case the caller\nmust check the future directly for the null value. If the future is failed,\nthe exception is thrown directly if it is an instance of the specified exception\ntype or unchecked, or it is wrapped in a RuntimeException. If the thread is\ninterrupted, the thread interruption flag is set and the original\nInterruptedException is wrapped in a RuntimeException and thrown.", "docstring_tokens": ["Waits", "for", "the", "the", "value", "from", "the", "future", "for", "the", "specified", "time", ".", "If", "the", "future", "value", "is", "null", "an", "empty", "Optional", "is", "still", "returned", "and", "in", "this", "case", "the", "caller", "must", "check", "the", "future", "directly", "for", "the", "null", "value", ".", "If", "the", "future", "is", "failed", "the", "exception", "is", "thrown", "directly", "if", "it", "is", "an", "instance", "of", "the", "specified", "exception", "type", "or", "unchecked", "or", "it", "is", "wrapped", "in", "a", "RuntimeException", ".", "If", "the", "thread", "is", "interrupted", "the", "thread", "interruption", "flag", "is", "set", "and", "the", "original", "InterruptedException", "is", "wrapped", "in", "a", "RuntimeException", "and", "thrown", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L219-L243", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.checkSuccess", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that the completed future completed successfully.", "docstring_tokens": ["Checks", "that", "the", "completed", "future", "completed", "successfully", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L260-L271", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.whenAnyComplete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a future that completes when the first future completes either normally\nor exceptionally. Cancellation of the future propagates to the supplied futures.", "docstring_tokens": ["Creates", "a", "future", "that", "completes", "when", "the", "first", "future", "completes", "either", "normally", "or", "exceptionally", ".", "Cancellation", "of", "the", "future", "propagates", "to", "the", "supplied", "futures", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L277-L287", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.firstCompletedFuture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a future that completes when the first future completes either normally\nor exceptionally. Cancellation of the future does not propagate to the supplied\nfutures.", "docstring_tokens": ["Creates", "a", "future", "that", "completes", "when", "the", "first", "future", "completes", "either", "normally", "or", "exceptionally", ".", "Cancellation", "of", "the", "future", "does", "not", "propagate", "to", "the", "supplied", "futures", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L320-L324", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.firstCompletedFuture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a future that completes when the first future completes either normally\nor exceptionally. Cancellation of the future will optionally propagate to the\nsupplied futures.", "docstring_tokens": ["Creates", "a", "future", "that", "completes", "when", "the", "first", "future", "completes", "either", "normally", "or", "exceptionally", ".", "Cancellation", "of", "the", "future", "will", "optionally", "propagate", "to", "the", "supplied", "futures", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L331-L361", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.allAsList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an unmodifiable future that is completed when all of the given\nfutures complete. If any of the given futures complete exceptionally, then the\nreturned future also does so immediately, with a CompletionException holding this exception\nas its cause. Otherwise, the results of the given futures are reflected in the\nreturned future as a list of results matching the input order. If no futures are\nprovided, returns a future completed with an empty list.", "docstring_tokens": ["Returns", "an", "unmodifiable", "future", "that", "is", "completed", "when", "all", "of", "the", "given", "futures", "complete", ".", "If", "any", "of", "the", "given", "futures", "complete", "exceptionally", "then", "the", "returned", "future", "also", "does", "so", "immediately", "with", "a", "CompletionException", "holding", "this", "exception", "as", "its", "cause", ".", "Otherwise", "the", "results", "of", "the", "given", "futures", "are", "reflected", "in", "the", "returned", "future", "as", "a", "list", "of", "results", "matching", "the", "input", "order", ".", "If", "no", "futures", "are", "provided", "returns", "a", "future", "completed", "with", "an", "empty", "list", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L371-L389", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.toCompletableFuture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a ListenableFuture to a CompletableFuture. Cancellation of the\nCompletableFuture will be propagated to the ListenableFuture.", "docstring_tokens": ["Converts", "a", "ListenableFuture", "to", "a", "CompletableFuture", ".", "Cancellation", "of", "the", "CompletableFuture", "will", "be", "propagated", "to", "the", "ListenableFuture", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L446-L474", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.toListenableFuture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a CompletableFuture to a ListenableFuture. Cancellation of the\nListenableFuture will be propagated to the CompletableFuture.", "docstring_tokens": ["Converts", "a", "CompletableFuture", "to", "a", "ListenableFuture", ".", "Cancellation", "of", "the", "ListenableFuture", "will", "be", "propagated", "to", "the", "CompletableFuture", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L480-L495", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java", "func_name": "MoreFutures.addExceptionCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invokes the callback, using the specified executor, if the future fails.", "docstring_tokens": ["Invokes", "the", "callback", "using", "the", "specified", "executor", "if", "the", "future", "fails", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/concurrent/src/main/java/io/airlift/concurrent/MoreFutures.java#L590-L595", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "stats/src/main/java/io/airlift/stats/QuantileDigest.java", "func_name": "QuantileDigest.getHistogram", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "is calculated.", "docstring_tokens": ["is", "calculated", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/stats/src/main/java/io/airlift/stats/QuantileDigest.java#L450-L488", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "stats/src/main/java/io/airlift/stats/QuantileDigest.java", "func_name": "QuantileDigest.tryRemove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the node if possible or set its count to 0 if it has children and\nit needs to be kept around", "docstring_tokens": ["Remove", "the", "node", "if", "possible", "or", "set", "its", "count", "to", "0", "if", "it", "has", "children", "and", "it", "needs", "to", "be", "kept", "around"], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/stats/src/main/java/io/airlift/stats/QuantileDigest.java#L882-L909", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "stats/src/main/java/io/airlift/stats/QuantileDigest.java", "func_name": "QuantileDigest.computeMaxPathWeight", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes the max \"weight\" of any path starting at node and ending at a leaf in the\nhypothetical complete tree. The weight is the sum of counts in the ancestors of a given node", "docstring_tokens": ["Computes", "the", "max", "weight", "of", "any", "path", "starting", "at", "node", "and", "ending", "at", "a", "leaf", "in", "the", "hypothetical", "complete", "tree", ".", "The", "weight", "is", "the", "sum", "of", "counts", "in", "the", "ancestors", "of", "a", "given", "node"], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/stats/src/main/java/io/airlift/stats/QuantileDigest.java#L1024-L1034", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "stats/src/main/java/io/airlift/stats/cardinality/HyperLogLog.java", "func_name": "HyperLogLog.addHash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a value that has already been hashed to the set of values tracked by this HyperLogLog instance.\n\n@param hash The hash should be the 64 least significant bits of the murmur3_128 hash of the value.\nFor example: io.airlift.slice.Murmur3.hash64(value).", "docstring_tokens": ["Adds", "a", "value", "that", "has", "already", "been", "hashed", "to", "the", "set", "of", "values", "tracked", "by", "this", "HyperLogLog", "instance", "."], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/stats/src/main/java/io/airlift/stats/cardinality/HyperLogLog.java#L72-L79", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "configuration/src/main/java/io/airlift/configuration/ConfigurationLoader.java", "func_name": "ConfigurationLoader.loadPropertiesFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads properties from the given file\n\n@param path file path\n@return properties\n@throws IOException errors", "docstring_tokens": ["Loads", "properties", "from", "the", "given", "file"], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/configuration/src/main/java/io/airlift/configuration/ConfigurationLoader.java#L54-L63", "partition": "valid"}
+{"repo": "airlift/airlift", "path": "configuration/src/main/java/io/airlift/configuration/ConfigBinder.java", "func_name": "ConfigBinder.bindConfigGlobalDefaults", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Binds default values for all the instances of given config class for the current binder", "docstring_tokens": ["Binds", "default", "values", "for", "all", "the", "instances", "of", "given", "config", "class", "for", "the", "current", "binder"], "sha": "eb6949a63c998e914f498a7147cefc9dca923d51", "url": "https://github.com/airlift/airlift/blob/eb6949a63c998e914f498a7147cefc9dca923d51/configuration/src/main/java/io/airlift/configuration/ConfigBinder.java#L216-L220", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/pollinterval/FibonacciPollInterval.java", "func_name": "FibonacciPollInterval.next", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate the next duration\n\n@param pollCount The number of times the condition has been polled (evaluated)\n@param previousDuration The duration of the previously returned poll interval\n@return The next duration in the fibonacci sequence.", "docstring_tokens": ["Generate", "the", "next", "duration"], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/pollinterval/FibonacciPollInterval.java#L76-L78", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/pollinterval/FibonacciPollInterval.java", "func_name": "FibonacciPollInterval.fib", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tail recursive implementation of fibonacci", "docstring_tokens": ["Tail", "recursive", "implementation", "of", "fibonacci"], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/pollinterval/FibonacciPollInterval.java#L159-L166", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/Duration.java", "func_name": "Duration.multiply", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Multiply this amount with the given amount\n\n@param amount The amount\n@return A new amount", "docstring_tokens": ["Multiply", "this", "amount", "with", "the", "given", "amount"], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/Duration.java#L241-L243", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/Duration.java", "func_name": "Duration.divide", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Divide this duration amount with the given amount\n\n@param amount The amount\n@return A new amount", "docstring_tokens": ["Divide", "this", "duration", "amount", "with", "the", "given", "amount"], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/Duration.java#L252-L254", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/reflect/WhiteboxImpl.java", "func_name": "WhiteboxImpl.findSingleFieldUsingStrategy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find single field using strategy.\n\n@param strategy the strategy\n@param object the object\n@param checkHierarchy the check hierarchy\n@param startClass the start class\n@return the field", "docstring_tokens": ["Find", "single", "field", "using", "strategy", "."], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/reflect/WhiteboxImpl.java#L95-L123", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/reflect/WhiteboxImpl.java", "func_name": "WhiteboxImpl.hasFieldProperModifier", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks for field proper modifier.\n\n@param object the object\n@param field the field\n@return true, if successful", "docstring_tokens": ["Checks", "for", "field", "proper", "modifier", "."], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/reflect/WhiteboxImpl.java#L132-L135", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/reflect/WhiteboxImpl.java", "func_name": "WhiteboxImpl.throwExceptionIfFieldWasNotFound", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Throw exception if field was not found.\n\n@param type the type\n@param fieldName the field name\n@param field the field", "docstring_tokens": ["Throw", "exception", "if", "field", "was", "not", "found", "."], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/reflect/WhiteboxImpl.java#L164-L169", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/reflect/WhiteboxImpl.java", "func_name": "WhiteboxImpl.getFieldAnnotatedWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get field annotated with a particular annotation. This method traverses\nthe class hierarchy when checking for the annotation.\n\n@param object The object to look for annotations. Note that if're you're\npassing an object only instance fields are checked, passing a\nclass will only check static fields.\n@param annotationType The annotation types to look for\n@return A set of all fields containing the particular annotation(s).\n@since 1.3", "docstring_tokens": ["Get", "field", "annotated", "with", "a", "particular", "annotation", ".", "This", "method", "traverses", "the", "class", "hierarchy", "when", "checking", "for", "the", "annotation", "."], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/reflect/WhiteboxImpl.java#L198-L201", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/core/ConditionFactory.java", "func_name": "ConditionFactory.conditionEvaluationListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle condition evaluation results each time evaluation of a condition occurs. Works only with a Hamcrest matcher-based condition.\n\n@param conditionEvaluationListener the condition evaluation listener\n@return the condition factory", "docstring_tokens": ["Handle", "condition", "evaluation", "results", "each", "time", "evaluation", "of", "a", "condition", "occurs", ".", "Works", "only", "with", "a", "Hamcrest", "matcher", "-", "based", "condition", "."], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/core/ConditionFactory.java#L126-L129", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/core/ConditionFactory.java", "func_name": "ConditionFactory.pollExecutorService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Specify the executor service whose threads will be used to evaluate the poll condition in Awaitility.\nNote that the executor service must be shutdown manually!\n\nThis is an advanced feature and it should only be used sparingly.\n\n@param executorService The executor service that Awaitility will use when polling condition evaluations\n@return the condition factory", "docstring_tokens": ["Specify", "the", "executor", "service", "whose", "threads", "will", "be", "used", "to", "evaluate", "the", "poll", "condition", "in", "Awaitility", ".", "Note", "that", "the", "executor", "service", "must", "be", "shutdown", "manually!"], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/core/ConditionFactory.java#L518-L524", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/core/ConditionFactory.java", "func_name": "ConditionFactory.untilTrue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Await until a Atomic boolean becomes true.\n\n@param atomic the atomic variable\n@throws org.awaitility.core.ConditionTimeoutException If condition was not fulfilled within the given time period.", "docstring_tokens": ["Await", "until", "a", "Atomic", "boolean", "becomes", "true", "."], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/core/ConditionFactory.java#L797-L799", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/core/ConditionFactory.java", "func_name": "ConditionFactory.untilFalse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Await until a Atomic boolean becomes false.\n\n@param atomic the atomic variable\n@throws org.awaitility.core.ConditionTimeoutException If condition was not fulfilled within the given time period.", "docstring_tokens": ["Await", "until", "a", "Atomic", "boolean", "becomes", "false", "."], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/core/ConditionFactory.java#L807-L809", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/Awaitility.java", "func_name": "Awaitility.catchUncaughtExceptions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Catching uncaught exceptions in other threads. This will make the await\nstatement fail even if exceptions occur in other threads. This is the\ndefault behavior.\n\n@return the condition factory", "docstring_tokens": ["Catching", "uncaught", "exceptions", "in", "other", "threads", ".", "This", "will", "make", "the", "await", "statement", "fail", "even", "if", "exceptions", "occur", "in", "other", "threads", ".", "This", "is", "the", "default", "behavior", "."], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/Awaitility.java#L328-L332", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/Awaitility.java", "func_name": "Awaitility.setDefaultTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the default timeout all await statements will use.\n\n@param timeout the timeout\n@param unit the unit", "docstring_tokens": ["Sets", "the", "default", "timeout", "all", "await", "statements", "will", "use", "."], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/Awaitility.java#L429-L431", "partition": "valid"}
+{"repo": "awaitility/awaitility", "path": "awaitility/src/main/java/org/awaitility/Awaitility.java", "func_name": "Awaitility.setDefaultTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the default timeout that all await statements will use.\n\n@param defaultTimeout the new default timeout", "docstring_tokens": ["Sets", "the", "default", "timeout", "that", "all", "await", "statements", "will", "use", "."], "sha": "89e758b749db2f378d661e2deec7ed61e7de51e1", "url": "https://github.com/awaitility/awaitility/blob/89e758b749db2f378d661e2deec7ed61e7de51e1/awaitility/src/main/java/org/awaitility/Awaitility.java#L474-L479", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-maven-plugin/src/main/java/ninja/build/ArgumentTokenizer.java", "func_name": "ArgumentTokenizer.tokenize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tokenizes the given String into String tokens.\n@param arguments A String containing one or more command-line style arguments to be tokenized.\n@param stringify whether or not to include escape special characters\n@return A list of parsed and properly escaped arguments.", "docstring_tokens": ["Tokenizes", "the", "given", "String", "into", "String", "tokens", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-maven-plugin/src/main/java/ninja/build/ArgumentTokenizer.java#L50-L167", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-maven-plugin/src/main/java/ninja/build/ArgumentTokenizer.java", "func_name": "ArgumentTokenizer._escapeQuotesAndBackslashes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts backslashes before any occurrences of a backslash or\nquote in the given string. Also converts any special characters\nappropriately.", "docstring_tokens": ["Inserts", "backslashes", "before", "any", "occurrences", "of", "a", "backslash", "or", "quote", "in", "the", "given", "string", ".", "Also", "converts", "any", "special", "characters", "appropriately", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-maven-plugin/src/main/java/ninja/build/ArgumentTokenizer.java#L173-L208", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/AssetsController.java", "func_name": "AssetsController.serveStatic", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serves resources from the assets directory of your application.\n\nFor instance:\nroute: /robots.txt\nA request to /robots.txt will be served from /assets/robots.txt.\n\nYou can also use a path like the following to serve files:\nroute: /assets/{fileName: .*}\n\nmatches\n/assets/app/app.css\nand will return\n/assets/app/app.css (from your jar).", "docstring_tokens": ["Serves", "resources", "from", "the", "assets", "directory", "of", "your", "application", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/AssetsController.java#L89-L99", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/i18n/MessagesImpl.java", "func_name": "MessagesImpl.loadLanguageConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempts to load a message file and sets the file changed reloading\nstrategy on the configuration if the runtime mode is Dev.", "docstring_tokens": ["Attempts", "to", "load", "a", "message", "file", "and", "sets", "the", "file", "changed", "reloading", "strategy", "on", "the", "configuration", "if", "the", "runtime", "mode", "is", "Dev", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/i18n/MessagesImpl.java#L134-L145", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/i18n/MessagesImpl.java", "func_name": "MessagesImpl.loadAllMessageFilesForRegisteredLanguages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does all the loading of message files.\n\nOnly registered messages in application.conf are loaded.", "docstring_tokens": ["Does", "all", "the", "loading", "of", "message", "files", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/i18n/MessagesImpl.java#L153-L236", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/logging/LogbackConfigurator.java", "func_name": "LogbackConfigurator.getUrlForStringFromClasspathAsFileOrUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Looks up a potential file from\n1) The classpahth\n2) From the filesystem\n3) From an URL\n\n@param logbackConfigurationFile\n@return null if not found or a valid url created from the logbackConfigurationFile", "docstring_tokens": ["Looks", "up", "a", "potential", "file", "from", "1", ")", "The", "classpahth", "2", ")", "From", "the", "filesystem", "3", ")", "From", "an", "URL"], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/logging/LogbackConfigurator.java#L107-L143", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/utils/SecretGenerator.java", "func_name": "SecretGenerator.generateSecret", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "!!!! Only for testing purposes !!!!\n\nUsually you want to use {@link SecretGenerator#generateSecret()}\n\n@param random the random generator to use. Usually new Random(), but for testing you can\nuse a predefined seed.\n@return A String suitable as random secret for eg signing a session.", "docstring_tokens": ["!!!!", "Only", "for", "testing", "purposes", "!!!!"], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/utils/SecretGenerator.java#L46-L61", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-maven-plugin/src/main/java/ninja/maven/NinjaRunMojo.java", "func_name": "NinjaRunMojo.buildRunClassInSeparateJvmMachine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "so we can mock a fake one for unit testing", "docstring_tokens": ["so", "we", "can", "mock", "a", "fake", "one", "for", "unit", "testing"], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-maven-plugin/src/main/java/ninja/maven/NinjaRunMojo.java#L346-L359", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-maven-plugin/src/main/java/ninja/maven/NinjaRunMojo.java", "func_name": "NinjaRunMojo.getAllArtifactsComingFromNinjaStandalone", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This might be a bit hacky. But just a little bit.\n\nWe have to add ninja-standalone and all of its dependencies to\nthe classpath, so that NinjaJetty can start.\n\nBut we do not want the user to declare the dependencies inside his\nproject pom.xml.\n\nTherefore we declare the dependency in this plugin pom.xml.\nBut we do not want to include all of this plugin's dependencies in the\nclasspath for NinjaJetty. Therefore this method filters everything and\nonly adds dependencies (also transitive deps) that originate\nfrom ninja-standalone. That way we get all deps we need.\n\n@param artifacts A list of artifacts that will be filtered.\n@return All artifacts coming from artifactId \"ninja-standalone\"\n(including transitive dependencies)", "docstring_tokens": ["This", "might", "be", "a", "bit", "hacky", ".", "But", "just", "a", "little", "bit", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-maven-plugin/src/main/java/ninja/maven/NinjaRunMojo.java#L431-L454", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/standalone/StandaloneHelper.java", "func_name": "StandaloneHelper.resolveStandaloneClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves which standalone class to use. Either defined as a system\nproperty or falling back to the default.\n@return The resolved standalone class to use", "docstring_tokens": ["Resolves", "which", "standalone", "class", "to", "use", ".", "Either", "defined", "as", "a", "system", "property", "or", "falling", "back", "to", "the", "default", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/standalone/StandaloneHelper.java#L62-L68", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/utils/CookieEncryption.java", "func_name": "CookieEncryption.encrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encrypts data with secret key.\n\n@param data text to encrypt\n@return encrypted text in base64 format", "docstring_tokens": ["Encrypts", "data", "with", "secret", "key", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/utils/CookieEncryption.java#L84-L108", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/utils/CookieEncryption.java", "func_name": "CookieEncryption.decrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decrypts data with secret key.\n\n@param data text to decrypt in base64 format\n@return decrypted text", "docstring_tokens": ["Decrypts", "data", "with", "secret", "key", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/utils/CookieEncryption.java#L116-L142", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/NinjaDefault.java", "func_name": "NinjaDefault.readNinjaVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Simply reads a property resource file that contains the version of this\nNinja build. Helps to identify the Ninja version currently running.\n\n@return The version of Ninja. Eg. \"1.6-SNAPSHOT\" while developing of \"1.6\" when released.", "docstring_tokens": ["Simply", "reads", "a", "property", "resource", "file", "that", "contains", "the", "version", "of", "this", "Ninja", "build", ".", "Helps", "to", "identify", "the", "Ninja", "version", "currently", "running", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/NinjaDefault.java#L453-L475", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-maven-plugin/src/main/java/ninja/build/WatchAndRestartMachine.java", "func_name": "WatchAndRestartMachine.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register the given path with the WatchService", "docstring_tokens": ["Register", "the", "given", "path", "with", "the", "WatchService"], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-maven-plugin/src/main/java/ninja/build/WatchAndRestartMachine.java#L108-L134", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/utils/NinjaModeHelper.java", "func_name": "NinjaModeHelper.determineModeFromSystemPropertiesOrProdIfNotSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns NinjaMode.dev if no mode is set. Or the valid mode\nset via a System Property called \"ninja.mode\".\n\nE.g. under mvn you can use mvn ... -Dninja.mode=prod or so. Valid values\nfor ninja.mode are \"prod\", \"dev\", \"test\".\n\n@return The valid mode set via a System Property called \"ninja.mode\"\nor NinjaMode.dev if it is not set.", "docstring_tokens": ["returns", "NinjaMode", ".", "dev", "if", "no", "mode", "is", "set", ".", "Or", "the", "valid", "mode", "set", "via", "a", "System", "Property", "called", "ninja", ".", "mode", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/utils/NinjaModeHelper.java#L79-L94", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/utils/MimeTypes.java", "func_name": "MimeTypes.isValidMimeType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "check the mimetype is referenced in the mimetypes database\n\n@param mimeType\nthe mimeType to verify", "docstring_tokens": ["check", "the", "mimetype", "is", "referenced", "in", "the", "mimetypes", "database"], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/utils/MimeTypes.java#L140-L148", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/RouteBuilderImpl.java", "func_name": "RouteBuilderImpl.buildRoute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build the route.\n@param injector The injector to build the route with\n@return The built route", "docstring_tokens": ["Build", "the", "route", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/RouteBuilderImpl.java#L231-L253", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/standalone/AbstractStandalone.java", "func_name": "AbstractStandalone.run", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure, start, add shutdown hook, and join. Does not exit.", "docstring_tokens": ["Configure", "start", "add", "shutdown", "hook", "and", "join", ".", "Does", "not", "exit", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/standalone/AbstractStandalone.java#L100-L132", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/standalone/AbstractStandalone.java", "func_name": "AbstractStandalone.createServerUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "helpful utilities for subclasses", "docstring_tokens": ["helpful", "utilities", "for", "subclasses"], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/standalone/AbstractStandalone.java#L305-L318", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java", "func_name": "JaxyRoutes.init", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scans, identifies, and registers annotated controller methods for the\ncurrent runtime settings.\n\n@param router", "docstring_tokens": ["Scans", "identifies", "and", "registers", "annotated", "controller", "methods", "for", "the", "current", "runtime", "settings", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java#L90-L101", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java", "func_name": "JaxyRoutes.processFoundMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes the found methods and checks if they have a valid format.\nIf they do, the controller path classes for these methods are generated", "docstring_tokens": ["Takes", "the", "found", "methods", "and", "checks", "if", "they", "have", "a", "valid", "format", ".", "If", "they", "do", "the", "controller", "path", "classes", "for", "these", "methods", "are", "generated"], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java#L142-L160", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java", "func_name": "JaxyRoutes.sortMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sorts the methods into registration order", "docstring_tokens": ["Sorts", "the", "methods", "into", "registration", "order"], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java#L165-L200", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java", "func_name": "JaxyRoutes.findControllerMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Searches for Methods that have either a Path Annotation or a HTTP-Method Annotation", "docstring_tokens": ["Searches", "for", "Methods", "that", "have", "either", "a", "Path", "Annotation", "or", "a", "HTTP", "-", "Method", "Annotation"], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java#L205-L235", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java", "func_name": "JaxyRoutes.configureReflections", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures the set of packages to scan for annotated controller methods.", "docstring_tokens": ["Configures", "the", "set", "of", "packages", "to", "scan", "for", "annotated", "controller", "methods", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java#L240-L252", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java", "func_name": "JaxyRoutes.allowMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if this method may be registered as a route. Ninja properties\nare considered as well as runtime modes.\n\n@param method\n@return true if the method can be registered as a route", "docstring_tokens": ["Determines", "if", "this", "method", "may", "be", "registered", "as", "a", "route", ".", "Ninja", "properties", "are", "considered", "as", "well", "as", "runtime", "modes", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java#L301-L329", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java", "func_name": "JaxyRoutes.getHttpMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the HTTP method for the controller method. Defaults to GET if\nunspecified.\n\n@param method\n@return the http method for this controller method", "docstring_tokens": ["Returns", "the", "HTTP", "method", "for", "the", "controller", "method", ".", "Defaults", "to", "GET", "if", "unspecified", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-jaxy-routes/src/main/java/ninja/jaxy/JaxyRoutes.java#L338-L359", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/params/ControllerMethodInvoker.java", "func_name": "ControllerMethodInvoker.build", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds an invoker for a functional method. Understands what parameters\nto inject and extract based on type and annotations.\n@param functionalMethod The method to be invoked\n@param implementationMethod The method to use for determining what\nactual parameters and annotations to use for each argument. Useful\nwhen type/lambda erasure makes the functional interface not reliable\nfor reflecting.\n@param injector The guice injector\n@param ninjaProperties The NinjaProperties of this application\n@return An invoker", "docstring_tokens": ["Builds", "an", "invoker", "for", "a", "functional", "method", ".", "Understands", "what", "parameters", "to", "inject", "and", "extract", "based", "on", "type", "and", "annotations", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/params/ControllerMethodInvoker.java#L111-L166", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/utils/SwissKnife.java", "func_name": "SwissKnife.getRealClassNameLowerCamelCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the lower class name. Eg. A class named MyObject will become\n\"myObject\".\n\n@param object Object for which to return the lowerCamelCaseName\n@return the lowerCamelCaseName of the Object", "docstring_tokens": ["Returns", "the", "lower", "class", "name", ".", "Eg", ".", "A", "class", "named", "MyObject", "will", "become", "myObject", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/utils/SwissKnife.java#L93-L97", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/utils/SwissKnife.java", "func_name": "SwissKnife.doesClassExist", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used to check whether a class exists on the classpath.\n\n@param nameWithPackage for instance com.example.conf.GloablFilters\n@param instanceToGetClassloaderFrom usually \"this\" if you call this method.\n@return true if class exists, false if not.", "docstring_tokens": ["Used", "to", "check", "whether", "a", "class", "exists", "on", "the", "classpath", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/utils/SwissKnife.java#L106-L117", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/diagnostics/DiagnosticErrorBuilder.java", "func_name": "DiagnosticErrorBuilder.getSourceCodeRelativePathForStackTraceElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the relative path of the source code file of a StackTrace\nelement if its available. Uses the packageName of the class to create a relative path\nand appends the \"filename\" included with the stack trace element.\n@param ste The stack trace element\n@return The relative path of the source code file or null if the information\nwasn't available in the stack trace element.", "docstring_tokens": ["Calculates", "the", "relative", "path", "of", "the", "source", "code", "file", "of", "a", "StackTrace", "element", "if", "its", "available", ".", "Uses", "the", "packageName", "of", "the", "class", "to", "create", "a", "relative", "path", "and", "appends", "the", "filename", "included", "with", "the", "stack", "trace", "element", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/diagnostics/DiagnosticErrorBuilder.java#L250-L265", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/cache/NinjaCache.java", "func_name": "NinjaCache.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an element only if it doesn't exist.\n@param key Element key\n@param value Element value\n@param expiration Ex: 10s, 3mn, 8h", "docstring_tokens": ["Add", "an", "element", "only", "if", "it", "doesn", "t", "exist", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/cache/NinjaCache.java#L54-L57", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/cache/NinjaCache.java", "func_name": "NinjaCache.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenient clazz to get a value a class type;\n@param The needed type\n@param key The element key\n@param clazz The type class\n@return The element value or null", "docstring_tokens": ["Convenient", "clazz", "to", "get", "a", "value", "a", "class", "type", ";"], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/cache/NinjaCache.java#L237-L240", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/cache/NinjaCache.java", "func_name": "NinjaCache.checkSerializable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Utility that check that an object is serializable.", "docstring_tokens": ["Utility", "that", "check", "that", "an", "object", "is", "serializable", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/cache/NinjaCache.java#L246-L253", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/Result.java", "func_name": "Result.render", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Implicitly generates a hashmap as object being rendered and adds\nthis key, value pair. If the object being rendered is already a hashmap\nit simply adds this key value pair to it.\n\n@param key The key to use.\n@param value The value to use.\n@return The Result for chaining.", "docstring_tokens": ["Implicitly", "generates", "a", "hashmap", "as", "object", "being", "rendered", "and", "adds", "this", "key", "value", "pair", ".", "If", "the", "object", "being", "rendered", "is", "already", "a", "hashmap", "it", "simply", "adds", "this", "key", "value", "pair", "to", "it", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/Result.java#L330-L336", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/Result.java", "func_name": "Result.renderRaw", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method directly renders the String to the output. It completely\nbypasses any rendering engine.\n\nThus you can render anything you want.\n\nChaining of resultRaw().resultRaw()... is NOT supported. Mixing with\nrender() is NOT supported.\n\nIt is always recommended to implement your own RenderingEngine OR use\nexisting rendering engines.\n\nExample: \npublic Result controllerMethod() {\nString customJson = \"{\\\"user\\\" : \\\"john@woo.com\\\"}\";\n\nreturn Results.json().renderRaw(customJson);\n}\n\n\n@param string\nThe string to render.\n@return A result that will render the string directly to the output\nstream.\n@deprecated => use text().render(string), html().render(string),\njson().render(string), xml().render(string), or\ncontentType(type).render(string).", "docstring_tokens": ["This", "method", "directly", "renders", "the", "String", "to", "the", "output", ".", "It", "completely", "bypasses", "any", "rendering", "engine", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/Result.java#L367-L400", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/Result.java", "func_name": "Result.renderRaw", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method directly renders the byte array to the output. It\ncompletely bypasses any rendering engine.\n\nThus you can render anything you want.\n\nChaining of resultRaw().resultRaw()... is NOT supported. Mixing with render()\nis NOT supported.\n\nIt is always recommended to implement your own RenderingEngine OR\nuse existing rendering engines.\n\n@param bytes The bytes to render.\n@return A result that will render the string directly to the output stream.", "docstring_tokens": ["This", "method", "directly", "renders", "the", "byte", "array", "to", "the", "output", ".", "It", "completely", "bypasses", "any", "rendering", "engine", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/Result.java#L417-L443", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/Result.java", "func_name": "Result.getCookie", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns cookie with that name or null.\n\n@param cookieName Name of the cookie\n@return The cookie or null if not found.", "docstring_tokens": ["Returns", "cookie", "with", "that", "name", "or", "null", "."], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/Result.java#L572-L581", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/Result.java", "func_name": "Result.doNotCacheContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This function sets\n\nCache-Control: no-cache, no-store\nDate: (current date)\nExpires: 1970\n\n=> it therefore effectively forces the browser and every proxy in between\nnot to cache content.\n\nSee also https://devcenter.heroku.com/articles/increasing-application-performance-with-http-cache-headers\n\n@return this result for chaining.", "docstring_tokens": ["This", "function", "sets"], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/Result.java#L741-L749", "partition": "valid"}
+{"repo": "ninjaframework/ninja", "path": "ninja-core/src/main/java/ninja/utils/NinjaPropertiesImplTool.java", "func_name": "NinjaPropertiesImplTool.checkThatApplicationSecretIsSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method checks that your configurations have set a\napplication.secret=23r213r12r123\n\nIf application.secret is missing or is empty it will do the following:\n- In dev and test mode it'll generate a new application secret and write the secret\nto both src/main/java/conf/application.conf and the classes dir were the compiled stuff\ngoes.\n- In prod it will throw a runtime exception and stop the server.", "docstring_tokens": ["This", "method", "checks", "that", "your", "configurations", "have", "set", "a", "application", ".", "secret", "=", "23r213r12r123"], "sha": "a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e", "url": "https://github.com/ninjaframework/ninja/blob/a097dca61b5efa8e1a327de3a40c3e3e0eb3c11e/ninja-core/src/main/java/ninja/utils/NinjaPropertiesImplTool.java#L45-L98", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-core/src/main/java/com/nhaarman/listviewanimations/ArrayAdapter.java", "func_name": "ArrayAdapter.addAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the objects in the specified collection to the end of this List. The objects are added in the order in which they are returned from the collection's iterator.\n\n@param collection the collection of objects.\n\n@return {@code true} if this {@code List} is modified, {@code false} otherwise.", "docstring_tokens": ["Adds", "the", "objects", "in", "the", "specified", "collection", "to", "the", "end", "of", "this", "List", ".", "The", "objects", "are", "added", "in", "the", "order", "in", "which", "they", "are", "returned", "from", "the", "collection", "s", "iterator", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-core/src/main/java/com/nhaarman/listviewanimations/ArrayAdapter.java#L111-L115", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/dragdrop/DragAndDropHandler.java", "func_name": "DragAndDropHandler.getPositionForId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves the position in the list corresponding to itemId.\n\n@return the position of the item in the list, or {@link android.widget.AdapterView#INVALID_POSITION} if the {@code View} corresponding to the id was not found.", "docstring_tokens": ["Retrieves", "the", "position", "in", "the", "list", "corresponding", "to", "itemId", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/dragdrop/DragAndDropHandler.java#L317-L324", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/dragdrop/DragAndDropHandler.java", "func_name": "DragAndDropHandler.switchViews", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Switches the item that is currently being dragged with the item belonging to given id,\nby notifying the adapter to swap positions and that the data set has changed.\n\n@param switchView the {@code View} that should be animated towards the old position of the currently dragging item.\n@param switchId the id of the item that will take the position of the currently dragging item.\n@param translationY the distance in pixels the {@code switchView} should animate - i.e. the (positive or negative) height of the {@code View} corresponding to the currently\ndragging item.", "docstring_tokens": ["Switches", "the", "item", "that", "is", "currently", "being", "dragged", "with", "the", "item", "belonging", "to", "given", "id", "by", "notifying", "the", "adapter", "to", "swap", "positions", "and", "that", "the", "data", "set", "has", "changed", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/dragdrop/DragAndDropHandler.java#L425-L438", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/animateaddition/InsertQueue.java", "func_name": "InsertQueue.removeActiveIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clear the active state for given index. Will insert any pending pairs if this call leads to a state where there are no active pairs.\n\n@param index the index to remove.", "docstring_tokens": ["Clear", "the", "active", "state", "for", "given", "index", ".", "Will", "insert", "any", "pending", "pairs", "if", "this", "call", "leads", "to", "a", "state", "where", "there", "are", "no", "active", "pairs", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/animateaddition/InsertQueue.java#L104-L115", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/animateaddition/InsertQueue.java", "func_name": "InsertQueue.getActiveIndexes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a collection of currently active indexes.", "docstring_tokens": ["Returns", "a", "collection", "of", "currently", "active", "indexes", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/animateaddition/InsertQueue.java#L136-L143", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/expandablelistitem/ExpandableListItemAdapter.java", "func_name": "ExpandableListItemAdapter.getTitleView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the title view at the specified position.\n\n@param position Index of the view we want.\n\n@return the view if it exist, null otherwise.", "docstring_tokens": ["Return", "the", "title", "view", "at", "the", "specified", "position", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/expandablelistitem/ExpandableListItemAdapter.java#L266-L279", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/expandablelistitem/ExpandableListItemAdapter.java", "func_name": "ExpandableListItemAdapter.getContentView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the content view at the specified position.\n\n@param position Index of the view we want.\n\n@return the view if it exist, null otherwise.", "docstring_tokens": ["Return", "the", "content", "view", "at", "the", "specified", "position", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/expandablelistitem/ExpandableListItemAdapter.java#L288-L301", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/expandablelistitem/ExpandableListItemAdapter.java", "func_name": "ExpandableListItemAdapter.expand", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Expand the view at given position. Will do nothing if the view is already expanded.\n\n@param position the position to expand.", "docstring_tokens": ["Expand", "the", "view", "at", "given", "position", ".", "Will", "do", "nothing", "if", "the", "view", "is", "already", "expanded", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/expandablelistitem/ExpandableListItemAdapter.java#L322-L329", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/expandablelistitem/ExpandableListItemAdapter.java", "func_name": "ExpandableListItemAdapter.collapse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collapse the view at given position. Will do nothing if the view is already collapsed.\n\n@param position the position to collapse.", "docstring_tokens": ["Collapse", "the", "view", "at", "given", "position", ".", "Will", "do", "nothing", "if", "the", "view", "is", "already", "collapsed", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/expandablelistitem/ExpandableListItemAdapter.java#L336-L343", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/expandablelistitem/ExpandableListItemAdapter.java", "func_name": "ExpandableListItemAdapter.getContentParent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the content parent at the specified position.\n\n@param position Index of the view we want.\n\n@return the view if it exist, null otherwise.", "docstring_tokens": ["Return", "the", "content", "parent", "at", "the", "specified", "position", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/expandablelistitem/ExpandableListItemAdapter.java#L386-L399", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/animateaddition/AnimateAdditionAdapter.java", "func_name": "AnimateAdditionAdapter.getAdditionalAnimators", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Override this method to provide additional animators on top of the default height and alpha animation.\n\n@param view The {@link android.view.View} that will get animated.\n@param parent The parent that this view will eventually be attached to.\n\n@return a non-null array of Animators.", "docstring_tokens": ["Override", "this", "method", "to", "provide", "additional", "animators", "on", "top", "of", "the", "default", "height", "and", "alpha", "animation", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/animateaddition/AnimateAdditionAdapter.java#L332-L336", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/dragdrop/BitmapUtils.java", "func_name": "BitmapUtils.getBitmapFromView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a bitmap showing a screenshot of the view passed in.", "docstring_tokens": ["Returns", "a", "bitmap", "showing", "a", "screenshot", "of", "the", "view", "passed", "in", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/dragdrop/BitmapUtils.java#L32-L38", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/swipedismiss/SwipeTouchListener.java", "func_name": "SwipeTouchListener.isDismissable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds out whether the item represented by given position is dismissable.\n\n@param position the position of the item.\n\n@return {@code true} if the item is dismissable, false otherwise.", "docstring_tokens": ["Finds", "out", "whether", "the", "item", "represented", "by", "given", "position", "is", "dismissable", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/swipedismiss/SwipeTouchListener.java#L395-L405", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/swipedismiss/SwipeTouchListener.java", "func_name": "SwipeTouchListener.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resets the fields to the initial values, ready to start over.", "docstring_tokens": ["Resets", "the", "fields", "to", "the", "initial", "values", "ready", "to", "start", "over", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/swipedismiss/SwipeTouchListener.java#L575-L588", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-core/src/main/java/com/nhaarman/listviewanimations/appearance/ViewAnimator.java", "func_name": "ViewAnimator.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Call this method to reset animation status on all views.", "docstring_tokens": ["Call", "this", "method", "to", "reset", "animation", "status", "on", "all", "views", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-core/src/main/java/com/nhaarman/listviewanimations/appearance/ViewAnimator.java#L127-L136", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-core/src/main/java/com/nhaarman/listviewanimations/appearance/ViewAnimator.java", "func_name": "ViewAnimator.cancelExistingAnimation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cancels any existing animations for given View.", "docstring_tokens": ["Cancels", "any", "existing", "animations", "for", "given", "View", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-core/src/main/java/com/nhaarman/listviewanimations/appearance/ViewAnimator.java#L211-L218", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-core/src/main/java/com/nhaarman/listviewanimations/appearance/ViewAnimator.java", "func_name": "ViewAnimator.animateView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Animates given View.\n\n@param view the View that should be animated.", "docstring_tokens": ["Animates", "given", "View", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-core/src/main/java/com/nhaarman/listviewanimations/appearance/ViewAnimator.java#L242-L256", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-core/src/main/java/com/nhaarman/listviewanimations/appearance/ViewAnimator.java", "func_name": "ViewAnimator.calculateAnimationDelay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the delay in milliseconds after which animation for View with position mLastAnimatedPosition + 1 should start.", "docstring_tokens": ["Returns", "the", "delay", "in", "milliseconds", "after", "which", "animation", "for", "View", "with", "position", "mLastAnimatedPosition", "+", "1", "should", "start", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-core/src/main/java/com/nhaarman/listviewanimations/appearance/ViewAnimator.java#L261-L283", "partition": "valid"}
+{"repo": "nhaarman/ListViewAnimations", "path": "lib-core/src/main/java/com/nhaarman/listviewanimations/util/AnimatorUtil.java", "func_name": "AnimatorUtil.concatAnimators", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Merges given Animators into one array.", "docstring_tokens": ["Merges", "given", "Animators", "into", "one", "array", "."], "sha": "23617960178fb5af3099c07996569cc305a40945", "url": "https://github.com/nhaarman/ListViewAnimations/blob/23617960178fb5af3099c07996569cc305a40945/lib-core/src/main/java/com/nhaarman/listviewanimations/util/AnimatorUtil.java#L31-L47", "partition": "valid"}
+{"repo": "eBay/cors-filter", "path": "src/main/java/org/ebaysf/web/cors/CORSFilter.java", "func_name": "CORSFilter.handleNonCORS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handles a request, that's not a CORS request, but is a valid request i.e.\nit is not a cross-origin request. This implementation, just forwards the\nrequest down the filter chain.\n\n@param request\nThe {@link HttpServletRequest} object.\n@param response\nThe {@link HttpServletResponse} object.\n@param filterChain\nThe {@link FilterChain} object.\n@throws IOException\n@throws ServletException", "docstring_tokens": ["Handles", "a", "request", "that", "s", "not", "a", "CORS", "request", "but", "is", "a", "valid", "request", "i", ".", "e", ".", "it", "is", "not", "a", "cross", "-", "origin", "request", ".", "This", "implementation", "just", "forwards", "the", "request", "down", "the", "filter", "chain", "."], "sha": "f782f4cd0a67a3c814a92b0907674fd93aa96dbe", "url": "https://github.com/eBay/cors-filter/blob/f782f4cd0a67a3c814a92b0907674fd93aa96dbe/src/main/java/org/ebaysf/web/cors/CORSFilter.java#L433-L438", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah/NonEmptyVirtualStorage.java", "func_name": "NonEmptyVirtualStorage.addStreamOfLiteralWords", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "throws a NonEmptyException exception when number is greater than 0", "docstring_tokens": ["throws", "a", "NonEmptyException", "exception", "when", "number", "is", "greater", "than", "0"], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah/NonEmptyVirtualStorage.java#L46-L50", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah/IteratorUtil.java", "func_name": "IteratorUtil.materialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate a bitmap from an iterator.\n\n\n\n@param i iterator we wish to materialize\n@param c where we write", "docstring_tokens": ["Generate", "a", "bitmap", "from", "an", "iterator", "."], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah/IteratorUtil.java#L59-L71", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah/datastructure/PriorityQ.java", "func_name": "PriorityQ.poll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the element on top of the heap\n\n@return the element being removed", "docstring_tokens": ["Remove", "the", "element", "on", "top", "of", "the", "heap"], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah/datastructure/PriorityQ.java#L117-L122", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah/LongArray.java", "func_name": "LongArray.resizeBuffer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resizes the buffer if the number of words to add exceeds the buffer capacity.\n@param number the number of words to add", "docstring_tokens": ["Resizes", "the", "buffer", "if", "the", "number", "of", "words", "to", "add", "exceeds", "the", "buffer", "capacity", "."], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah/LongArray.java#L194-L201", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah/LongArray.java", "func_name": "LongArray.newSizeInWords", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the resulting buffer size in words given the number of words to add.\n@param number the number of words to add", "docstring_tokens": ["Returns", "the", "resulting", "buffer", "size", "in", "words", "given", "the", "number", "of", "words", "to", "add", "."], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah/LongArray.java#L207-L218", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah32/FastAggregation32.java", "func_name": "FastAggregation32.xor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Simple algorithm that computes the XOR aggregate.\n\n@param bitmaps input bitmaps\n@return new bitmap containing the aggregate", "docstring_tokens": ["Simple", "algorithm", "that", "computes", "the", "XOR", "aggregate", "."], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah32/FastAggregation32.java#L284-L302", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah32/BitCounter32.java", "func_name": "BitCounter32.addStreamOfLiteralWords", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "virtually add several literal words.\n\n@param buffer the buffer wrapping the literal words\n@param start the starting point in the array\n@param number the number of literal words to add", "docstring_tokens": ["virtually", "add", "several", "literal", "words", "."], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah32/BitCounter32.java#L45-L50", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah32/symmetric/UpdateableBitmapFunction32.java", "func_name": "UpdateableBitmapFunction32.fillWithLiterals", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "append to the list the literal words as EWAHPointer\n\n@param container where we write", "docstring_tokens": ["append", "to", "the", "list", "the", "literal", "words", "as", "EWAHPointer"], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah32/symmetric/UpdateableBitmapFunction32.java#L80-L85", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah/datastructure/ImmutableBitSet.java", "func_name": "ImmutableBitSet.asBitSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a copy of this ImmutableBitSet as a mutable BitSet.\n@return a copy", "docstring_tokens": ["Get", "a", "copy", "of", "this", "ImmutableBitSet", "as", "a", "mutable", "BitSet", "."], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah/datastructure/ImmutableBitSet.java#L44-L49", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah/datastructure/ImmutableBitSet.java", "func_name": "ImmutableBitSet.cardinality", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the number of bits set to 1\n\n@return the number of bits", "docstring_tokens": ["Compute", "the", "number", "of", "bits", "set", "to", "1"], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah/datastructure/ImmutableBitSet.java#L56-L62", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah/datastructure/ImmutableBitSet.java", "func_name": "ImmutableBitSet.empty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check whether a bitset contains a set bit.\n\n@return true if no set bit is found", "docstring_tokens": ["Check", "whether", "a", "bitset", "contains", "a", "set", "bit", "."], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah/datastructure/ImmutableBitSet.java#L104-L109", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah/datastructure/ImmutableBitSet.java", "func_name": "ImmutableBitSet.intIterator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterate over the set bits\n\n@return an iterator", "docstring_tokens": ["Iterate", "over", "the", "set", "bits"], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah/datastructure/ImmutableBitSet.java#L138-L157", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah/datastructure/ImmutableBitSet.java", "func_name": "ImmutableBitSet.intersects", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether two bitsets intersect.\n\n@param bs other bitset\n@return true if they have a non-empty intersection (result of AND)", "docstring_tokens": ["Checks", "whether", "two", "bitsets", "intersect", "."], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah/datastructure/ImmutableBitSet.java#L191-L196", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah/datastructure/ImmutableBitSet.java", "func_name": "ImmutableBitSet.unsetIntIterator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterate over the unset bits\n\n@return an iterator", "docstring_tokens": ["Iterate", "over", "the", "unset", "bits"], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah/datastructure/ImmutableBitSet.java#L269-L287", "partition": "valid"}
+{"repo": "lemire/javaewah", "path": "src/main/java/com/googlecode/javaewah32/symmetric/EWAHPointer32.java", "func_name": "EWAHPointer32.parseNextRun", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the next run", "docstring_tokens": ["Process", "the", "next", "run"], "sha": "ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e", "url": "https://github.com/lemire/javaewah/blob/ff04f8eb03eb1193842cf8009d0e94c5d2e3e70e/src/main/java/com/googlecode/javaewah32/symmetric/EWAHPointer32.java#L70-L93", "partition": "valid"}
+{"repo": "michaldrabik/TapBarMenu", "path": "library/src/main/java/com/michaldrabik/tapbarmenulib/TapBarMenu.java", "func_name": "TapBarMenu.open", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open the menu.", "docstring_tokens": ["Open", "the", "menu", "."], "sha": "ddb8c2a28d0afd1de7a531a00f7df08468e0b2d9", "url": "https://github.com/michaldrabik/TapBarMenu/blob/ddb8c2a28d0afd1de7a531a00f7df08468e0b2d9/library/src/main/java/com/michaldrabik/tapbarmenulib/TapBarMenu.java#L194-L215", "partition": "valid"}
+{"repo": "michaldrabik/TapBarMenu", "path": "library/src/main/java/com/michaldrabik/tapbarmenulib/TapBarMenu.java", "func_name": "TapBarMenu.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Close the menu.", "docstring_tokens": ["Close", "the", "menu", "."], "sha": "ddb8c2a28d0afd1de7a531a00f7df08468e0b2d9", "url": "https://github.com/michaldrabik/TapBarMenu/blob/ddb8c2a28d0afd1de7a531a00f7df08468e0b2d9/library/src/main/java/com/michaldrabik/tapbarmenulib/TapBarMenu.java#L220-L241", "partition": "valid"}
+{"repo": "michaldrabik/TapBarMenu", "path": "library/src/main/java/com/michaldrabik/tapbarmenulib/TapBarMenu.java", "func_name": "TapBarMenu.setMenuBackgroundColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets TapBarMenu's background color from given resource.\n@param colorResId Color resource id. For example: R.color.holo_blue_light", "docstring_tokens": ["Sets", "TapBarMenu", "s", "background", "color", "from", "given", "resource", "."], "sha": "ddb8c2a28d0afd1de7a531a00f7df08468e0b2d9", "url": "https://github.com/michaldrabik/TapBarMenu/blob/ddb8c2a28d0afd1de7a531a00f7df08468e0b2d9/library/src/main/java/com/michaldrabik/tapbarmenulib/TapBarMenu.java#L254-L258", "partition": "valid"}
+{"repo": "opentracing-contrib/java-jdbc", "path": "src/main/java/io/opentracing/contrib/jdbc/parser/H2URLParser.java", "func_name": "H2URLParser.fetchDatabaseNameRangeIndexFromURLForH2FileMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fetch range index that the database name from connection url if H2 database running with file\nmode.\n\n@return range index that the database name.", "docstring_tokens": ["Fetch", "range", "index", "that", "the", "database", "name", "from", "connection", "url", "if", "H2", "database", "running", "with", "file", "mode", "."], "sha": "15f243d919418518925ef817f1bbb0ff1faf8584", "url": "https://github.com/opentracing-contrib/java-jdbc/blob/15f243d919418518925ef817f1bbb0ff1faf8584/src/main/java/io/opentracing/contrib/jdbc/parser/H2URLParser.java#L79-L91", "partition": "valid"}
+{"repo": "opentracing-contrib/java-jdbc", "path": "src/main/java/io/opentracing/contrib/jdbc/parser/H2URLParser.java", "func_name": "H2URLParser.fetchDatabaseNameRangeIndexFromURLForH2MemMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fetch range index that the database name from connection url if H2 database running with memory\nmode.\n\n@return range index that the database name.", "docstring_tokens": ["Fetch", "range", "index", "that", "the", "database", "name", "from", "connection", "url", "if", "H2", "database", "running", "with", "memory", "mode", "."], "sha": "15f243d919418518925ef817f1bbb0ff1faf8584", "url": "https://github.com/opentracing-contrib/java-jdbc/blob/15f243d919418518925ef817f1bbb0ff1faf8584/src/main/java/io/opentracing/contrib/jdbc/parser/H2URLParser.java#L99-L111", "partition": "valid"}
+{"repo": "opentracing-contrib/java-jdbc", "path": "src/main/java/io/opentracing/contrib/jdbc/parser/URLParser.java", "func_name": "URLParser.parser", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "parse the url to the ConnectionInfo", "docstring_tokens": ["parse", "the", "url", "to", "the", "ConnectionInfo"], "sha": "15f243d919418518925ef817f1bbb0ff1faf8584", "url": "https://github.com/opentracing-contrib/java-jdbc/blob/15f243d919418518925ef817f1bbb0ff1faf8584/src/main/java/io/opentracing/contrib/jdbc/parser/URLParser.java#L42-L57", "partition": "valid"}
+{"repo": "opentracing-contrib/java-jdbc", "path": "src/main/java/io/opentracing/contrib/jdbc/parser/URLParser.java", "func_name": "URLParser.registerConnectionParser", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "register new ConnectionURLParser. Can override existing parser.", "docstring_tokens": ["register", "new", "ConnectionURLParser", ".", "Can", "override", "existing", "parser", "."], "sha": "15f243d919418518925ef817f1bbb0ff1faf8584", "url": "https://github.com/opentracing-contrib/java-jdbc/blob/15f243d919418518925ef817f1bbb0ff1faf8584/src/main/java/io/opentracing/contrib/jdbc/parser/URLParser.java#L71-L76", "partition": "valid"}
+{"repo": "opentracing-contrib/java-jdbc", "path": "src/main/java/io/opentracing/contrib/jdbc/parser/AbstractURLParser.java", "func_name": "AbstractURLParser.fetchDatabaseNameFromURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fetch database name from connection url.\n\n@return database name.", "docstring_tokens": ["Fetch", "database", "name", "from", "connection", "url", "."], "sha": "15f243d919418518925ef817f1bbb0ff1faf8584", "url": "https://github.com/opentracing-contrib/java-jdbc/blob/15f243d919418518925ef817f1bbb0ff1faf8584/src/main/java/io/opentracing/contrib/jdbc/parser/AbstractURLParser.java#L47-L50", "partition": "valid"}
+{"repo": "Coolerfall/Android-AppDaemon", "path": "library/src/main/java/com/coolerfall/daemon/Daemon.java", "func_name": "Daemon.run", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run daemon process.\n\n@param context context\n@param daemonServiceClazz the name of daemon service class\n@param interval the interval to check", "docstring_tokens": ["Run", "daemon", "process", "."], "sha": "4b2182513f3cd3b350fc71d20b274978d02f091b", "url": "https://github.com/Coolerfall/Android-AppDaemon/blob/4b2182513f3cd3b350fc71d20b274978d02f091b/library/src/main/java/com/coolerfall/daemon/Daemon.java#L55-L64", "partition": "valid"}
+{"repo": "Coolerfall/Android-AppDaemon", "path": "library/src/main/java/com/coolerfall/daemon/Command.java", "func_name": "Command.copyFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copy file to destination", "docstring_tokens": ["copy", "file", "to", "destination"], "sha": "4b2182513f3cd3b350fc71d20b274978d02f091b", "url": "https://github.com/Coolerfall/Android-AppDaemon/blob/4b2182513f3cd3b350fc71d20b274978d02f091b/library/src/main/java/com/coolerfall/daemon/Command.java#L25-L39", "partition": "valid"}
+{"repo": "Coolerfall/Android-AppDaemon", "path": "library/src/main/java/com/coolerfall/daemon/Command.java", "func_name": "Command.copyAssets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "copy file in assets into destination file\n\n@param context context\n@param assetsFilename file name in assets\n@param file the file to copy to\n@param mode mode of file\n@throws IOException\n@throws InterruptedException", "docstring_tokens": ["copy", "file", "in", "assets", "into", "destination", "file"], "sha": "4b2182513f3cd3b350fc71d20b274978d02f091b", "url": "https://github.com/Coolerfall/Android-AppDaemon/blob/4b2182513f3cd3b350fc71d20b274978d02f091b/library/src/main/java/com/coolerfall/daemon/Command.java#L51-L56", "partition": "valid"}
+{"repo": "Coolerfall/Android-AppDaemon", "path": "library/src/main/java/com/coolerfall/daemon/Command.java", "func_name": "Command.install", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Install specified binary into destination directory.\n\n@param context context\n@param destDir destionation directory\n@param filename filename of binary\n@return true if install successfully, otherwise return false", "docstring_tokens": ["Install", "specified", "binary", "into", "destination", "directory", "."], "sha": "4b2182513f3cd3b350fc71d20b274978d02f091b", "url": "https://github.com/Coolerfall/Android-AppDaemon/blob/4b2182513f3cd3b350fc71d20b274978d02f091b/library/src/main/java/com/coolerfall/daemon/Command.java#L66-L93", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/Resolver.java", "func_name": "Resolver.handleMissingFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "calls the missing field handler if any for each recorded missing field.", "docstring_tokens": ["calls", "the", "missing", "field", "handler", "if", "any", "for", "each", "recorded", "missing", "field", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/Resolver.java#L211-L221", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/Resolver.java", "func_name": "Resolver.getEnum", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fetch enum value (may need to try twice, due to potential 'name' field shadowing by enum subclasses", "docstring_tokens": ["Fetch", "enum", "value", "(", "may", "need", "to", "try", "twice", "due", "to", "potential", "name", "field", "shadowing", "by", "enum", "subclasses"], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/Resolver.java#L507-L517", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/Resolver.java", "func_name": "Resolver.patchUnresolvedReferences", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For all fields where the value was \"@ref\":\"n\" where 'n' was the id of an object\nthat had not yet been encountered in the stream, make the final substitution.", "docstring_tokens": ["For", "all", "fields", "where", "the", "value", "was"], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/Resolver.java#L553-L597", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/MapResolver.java", "func_name": "MapResolver.traverseFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Walk the JsonObject fields and perform necessary substitutions so that all references matched up.\nThis code patches @ref and @id pairings up, in the 'Map of Map' mode. Where the JSON may contain\nan @id of an object which can have more than one @ref to it, this code will make sure that each\n@ref (value side of the Map associated to a given field name) will be pointer to the appropriate Map\ninstance.\n@param stack Stack (Deque) used for graph traversal.\n@param jsonObj a Map-of-Map representation of the current object being examined (containing all fields).", "docstring_tokens": ["Walk", "the", "JsonObject", "fields", "and", "perform", "necessary", "substitutions", "so", "that", "all", "references", "matched", "up", ".", "This", "code", "patches"], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/MapResolver.java#L70-L143", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonReader.java", "func_name": "JsonReader.jsonToJava", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the passed in JSON string into a Java object graph.\n\n@param json String JSON input\n@param optionalArgs Map of optional parameters to control parsing. See readme file for details.\n@return Java object graph matching JSON input", "docstring_tokens": ["Convert", "the", "passed", "in", "JSON", "string", "into", "a", "Java", "object", "graph", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonReader.java#L404-L419", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonReader.java", "func_name": "JsonReader.jsonObjectsToJava", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a root JsonObject that represents parsed JSON, into\nan actual Java object.\n@param root JsonObject instance that was the root object from the\nJSON input that was parsed in an earlier call to JsonReader.\n@return a typed Java instance that was serialized into JSON.", "docstring_tokens": ["Convert", "a", "root", "JsonObject", "that", "represents", "parsed", "JSON", "into", "an", "actual", "Java", "object", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonReader.java#L734-L738", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/ObjectResolver.java", "func_name": "ObjectResolver.traverseFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Walk the Java object fields and copy them from the JSON object to the Java object, performing\nany necessary conversions on primitives, or deep traversals for field assignments to other objects,\narrays, Collections, or Maps.\n@param stack Stack (Deque) used for graph traversal.\n@param jsonObj a Map-of-Map representation of the current object being examined (containing all fields).", "docstring_tokens": ["Walk", "the", "Java", "object", "fields", "and", "copy", "them", "from", "the", "JSON", "object", "to", "the", "Java", "object", "performing", "any", "necessary", "conversions", "on", "primitives", "or", "deep", "traversals", "for", "field", "assignments", "to", "other", "objects", "arrays", "Collections", "or", "Maps", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/ObjectResolver.java#L81-L102", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/ObjectResolver.java", "func_name": "ObjectResolver.storeMissingField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "stores the missing field and their values to call back the handler at the end of the resolution, cause some\nreference may need to be resolved later.", "docstring_tokens": ["stores", "the", "missing", "field", "and", "their", "values", "to", "call", "back", "the", "handler", "at", "the", "end", "of", "the", "resolution", "cause", "some", "reference", "may", "need", "to", "be", "resolved", "later", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/ObjectResolver.java#L332-L335", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/ObjectResolver.java", "func_name": "ObjectResolver.getRawType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given the passed in Type t, return the raw type of it, if the passed in value is a ParameterizedType.\n@param t Type to attempt to get raw type from.\n@return Raw type obtained from the passed in parameterized type or null if T is not a ParameterizedType", "docstring_tokens": ["Given", "the", "passed", "in", "Type", "t", "return", "the", "raw", "type", "of", "it", "if", "the", "passed", "in", "value", "is", "a", "ParameterizedType", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/ObjectResolver.java#L839-L851", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonParser.java", "func_name": "JsonParser.readArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a JSON array", "docstring_tokens": ["Read", "a", "JSON", "array"], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonParser.java#L280-L304", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonParser.java", "func_name": "JsonParser.readNumber", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a JSON number\n\n@param c int a character representing the first digit of the number that\nwas already read.\n@return a Number (a Long or a Double) depending on whether the number is\na decimal number or integer. This choice allows all smaller types (Float, int, short, byte)\nto be represented as well.\n@throws IOException for stream errors or parsing errors.", "docstring_tokens": ["Read", "a", "JSON", "number"], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonParser.java#L343-L412", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonParser.java", "func_name": "JsonParser.readString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a JSON string\nThis method assumes the initial quote has already been read.\n\n@return String read from JSON input stream.\n@throws IOException for stream errors or parsing errors.", "docstring_tokens": ["Read", "a", "JSON", "string", "This", "method", "assumes", "the", "initial", "quote", "has", "already", "been", "read", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonParser.java#L425-L522", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/MetaUtils.java", "func_name": "MetaUtils.getField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return an instance of of the Java Field class corresponding to the passed in field name.\n@param c class containing the field / field name\n@param field String name of a field on the class.\n@return Field instance if the field with the corresponding name is found, null otherwise.", "docstring_tokens": ["Return", "an", "instance", "of", "of", "the", "Java", "Field", "class", "corresponding", "to", "the", "passed", "in", "field", "name", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/MetaUtils.java#L153-L156", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/MetaUtils.java", "func_name": "MetaUtils.removeLeadingAndTrailingQuotes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Strip leading and trailing double quotes from the passed in String.", "docstring_tokens": ["Strip", "leading", "and", "trailing", "double", "quotes", "from", "the", "passed", "in", "String", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/MetaUtils.java#L459-L467", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonWriter.java", "func_name": "JsonWriter.objectToJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a Java Object to a JSON String.\n\n@param item Object to convert to a JSON String.\n@param optionalArgs (optional) Map of extra arguments indicating how dates are formatted,\nwhat fields are written out (optional). For Date parameters, use the public static\nDATE_TIME key, and then use the ISO_DATE or ISO_DATE_TIME indicators. Or you can specify\nyour own custom SimpleDateFormat String, or you can associate a SimpleDateFormat object,\nin which case it will be used. This setting is for both java.util.Date and java.sql.Date.\nIf the DATE_FORMAT key is not used, then dates will be formatted as longs. This long can\nbe turned back into a date by using 'new Date(longValue)'.\n@return String containing JSON representation of passed in object root.", "docstring_tokens": ["Convert", "a", "Java", "Object", "to", "a", "JSON", "String", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonWriter.java#L304-L318", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonWriter.java", "func_name": "JsonWriter.formatJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Format the passed in JSON string in a nice, human readable format.\n@param json String input JSON\n@param readingArgs (optional) Map of extra arguments for parsing json. Can be null.\n@param writingArgs (optional) Map of extra arguments for writing out json. Can be null.\n@return String containing equivalent JSON, formatted nicely for human readability.", "docstring_tokens": ["Format", "the", "passed", "in", "JSON", "string", "in", "a", "nice", "human", "readable", "format", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonWriter.java#L337-L353", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonWriter.java", "func_name": "JsonWriter.tab", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "tab the JSON output by the given number of characters specified by delta.\n@param output Writer being used for JSON outpt.\n@param delta int number of characters to tab.\n@throws IOException", "docstring_tokens": ["tab", "the", "JSON", "output", "by", "the", "given", "number", "of", "characters", "specified", "by", "delta", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonWriter.java#L546-L558", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonWriter.java", "func_name": "JsonWriter.writeArrayElementIfMatching", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the passed in array element to the JSON output, if any only if, there is a customer writer\nfor the class of the instance 'o'.\n@param arrayComponentClass Class type of the array\n@param o Object instance to write\n@param showType boolean indicating whether or not @type should be output.\n@param output Writer to write the JSON to (if there is a custom writer for o's Class).\n@return true if the array element was written, false otherwise.", "docstring_tokens": ["Write", "the", "passed", "in", "array", "element", "to", "the", "JSON", "output", "if", "any", "only", "if", "there", "is", "a", "customer", "writer", "for", "the", "class", "of", "the", "instance", "o", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonWriter.java#L599-L614", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonWriter.java", "func_name": "JsonWriter.writeCustom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Perform the actual custom writing for an array element that has a custom writer.\n@param arrayComponentClass Class type of the array\n@param o Object instance to write\n@param showType boolean indicating whether or not @type should be output.\n@param output Writer to write the JSON to (if there is a custom writer for o's Class).\n@return true if the array element was written, false otherwise.", "docstring_tokens": ["Perform", "the", "actual", "custom", "writing", "for", "an", "array", "element", "that", "has", "a", "custom", "writer", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonWriter.java#L624-L698", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonWriter.java", "func_name": "JsonWriter.forceGetCustomWriter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fetch the customer writer for the passed in Class. This method always fetches the custom writer, doing\nthe complicated inheritance distance checking. This method is only called when a cache miss has happened.\nA sentinal 'nullWriter' is returned when no custom writer is found. This prevents future cache misses\nfrom re-attempting to find custom writers for classes that do not have a custom writer.\n@param c Class of object for which fetch a custom writer\n@return JsonClassWriter/JsonClassWriterEx for the custom class (if one exists), nullWriter otherwise.", "docstring_tokens": ["Fetch", "the", "customer", "writer", "for", "the", "passed", "in", "Class", ".", "This", "method", "always", "fetches", "the", "custom", "writer", "doing", "the", "complicated", "inheritance", "distance", "checking", ".", "This", "method", "is", "only", "called", "when", "a", "cache", "miss", "has", "happened", ".", "A", "sentinal", "nullWriter", "is", "returned", "when", "no", "custom", "writer", "is", "found", ".", "This", "prevents", "future", "cache", "misses", "from", "re", "-", "attempting", "to", "find", "custom", "writers", "for", "classes", "that", "do", "not", "have", "a", "custom", "writer", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonWriter.java#L733-L753", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonWriter.java", "func_name": "JsonWriter.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the passed in Java object in JSON format.\n@param obj Object any Java Object or JsonObject.", "docstring_tokens": ["Write", "the", "passed", "in", "Java", "object", "in", "JSON", "format", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonWriter.java#L796-L811", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonWriter.java", "func_name": "JsonWriter.traceReferences", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Walk object graph and visit each instance, following each field, each Collection, Map and so on.\nTracks visited to handle cycles and to determine if an item is referenced elsewhere. If an\nobject is never referenced more than once, no @id field needs to be emitted for it.\n@param root Object to be deeply traced. The objVisited and objsReferenced Maps will be written to\nduring the trace.", "docstring_tokens": ["Walk", "object", "graph", "and", "visit", "each", "instance", "following", "each", "field", "each", "Collection", "Map", "and", "so", "on", ".", "Tracks", "visited", "to", "handle", "cycles", "and", "to", "determine", "if", "an", "item", "is", "referenced", "elsewhere", ".", "If", "an", "object", "is", "never", "referenced", "more", "than", "once", "no"], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonWriter.java#L820-L908", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonWriter.java", "func_name": "JsonWriter.traceFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reach-ability trace to visit all objects within the graph to be written.\nThis API will handle any object, using either reflection APIs or by\nconsulting a specified FIELD_SPECIFIERS map if provided.\n@param stack Deque used to manage descent into graph (rather than using Java stack.) This allows for\nmuch larger graph processing.\n@param obj Object root of graph\n@param fieldSpecifiers Map of optional field specifiers, which are used to override the field list returned by\nthe JDK reflection operations. This allows a subset of the actual fields on an object to be serialized.", "docstring_tokens": ["Reach", "-", "ability", "trace", "to", "visit", "all", "objects", "within", "the", "graph", "to", "be", "written", ".", "This", "API", "will", "handle", "any", "object", "using", "either", "reflection", "APIs", "or", "by", "consulting", "a", "specified", "FIELD_SPECIFIERS", "map", "if", "provided", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonWriter.java#L920-L950", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonWriter.java", "func_name": "JsonWriter.ensureJsonPrimitiveKeys", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensure that all keys within the Map are String instances\n@param map Map to inspect that all keys are primitive. This allows the output JSON\nto be optimized into {\"key1\":value1, \"key2\": value2} format if all the\nkeys of the Map are Strings. If not, then a Map is written as two\narrays, an @keys array and an @items array. This allows support for Maps\nwith non-String keys.", "docstring_tokens": ["Ensure", "that", "all", "keys", "within", "the", "Map", "are", "String", "instances"], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonWriter.java#L2140-L2150", "partition": "valid"}
+{"repo": "jdereg/json-io", "path": "src/main/java/com/cedarsoftware/util/io/JsonWriter.java", "func_name": "JsonWriter.writeCollectionElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write an element that is contained in some type of Collection or Map.\n@param o Collection element to output in JSON format.\n@throws IOException if an error occurs writing to the output stream.", "docstring_tokens": ["Write", "an", "element", "that", "is", "contained", "in", "some", "type", "of", "Collection", "or", "Map", "."], "sha": "763da4e6fac93367febfda4c790ab44967054ba7", "url": "https://github.com/jdereg/json-io/blob/763da4e6fac93367febfda4c790ab44967054ba7/src/main/java/com/cedarsoftware/util/io/JsonWriter.java#L2157-L2184", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.component.agent.impl/src/main/java/com/hack23/cia/service/component/agent/impl/worldbank/workgenerator/data/WorldbankImportServiceImpl.java", "func_name": "WorldbankImportServiceImpl.createMapFromList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the map from list.\n\n@param all\nthe all\n@return the map", "docstring_tokens": ["Creates", "the", "map", "from", "list", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.component.agent.impl/src/main/java/com/hack23/cia/service/component/agent/impl/worldbank/workgenerator/data/WorldbankImportServiceImpl.java#L70-L79", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.worldbank.indicators.impl/src/main/java/com/hack23/cia/model/external/worldbank/indicators/impl/IndicatorElement.java", "func_name": "IndicatorElement.getSource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the source.\n\n@return the source", "docstring_tokens": ["Gets", "the", "source", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.worldbank.indicators.impl/src/main/java/com/hack23/cia/model/external/worldbank/indicators/impl/IndicatorElement.java#L132-L139", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.worldbank.indicators.impl/src/main/java/com/hack23/cia/model/external/worldbank/indicators/impl/IndicatorElement.java", "func_name": "IndicatorElement.getTopics", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the topics.\n\n@return the topics", "docstring_tokens": ["Gets", "the", "topics", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.worldbank.indicators.impl/src/main/java/com/hack23/cia/model/external/worldbank/indicators/impl/IndicatorElement.java#L195-L201", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.worldbank.indicators.impl/src/main/java/com/hack23/cia/model/external/worldbank/indicators/impl/IndicatorElement.java", "func_name": "IndicatorElement.getHjid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the hjid.\n\n@return the hjid", "docstring_tokens": ["Gets", "the", "hjid", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.worldbank.indicators.impl/src/main/java/com/hack23/cia/model/external/worldbank/indicators/impl/IndicatorElement.java#L312-L317", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.riksdagen.dokumentstatus.impl/src/main/java/com/hack23/cia/model/external/riksdagen/dokumentstatus/impl/DocumentDetailContainer.java", "func_name": "DocumentDetailContainer.getDocumentDetailList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the document detail list.\n\n@return the document detail list", "docstring_tokens": ["Gets", "the", "document", "detail", "list", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.riksdagen.dokumentstatus.impl/src/main/java/com/hack23/cia/model/external/riksdagen/dokumentstatus/impl/DocumentDetailContainer.java#L88-L94", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java", "func_name": "ChartOptionsImpl.createAxesXYDateFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the axes XY date float.\n\n@return the axes", "docstring_tokens": ["Creates", "the", "axes", "XY", "date", "float", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java#L123-L129", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java", "func_name": "ChartOptionsImpl.createDefaultGrid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the default grid.\n\n@return the grid", "docstring_tokens": ["Creates", "the", "default", "grid", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java#L150-L156", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java", "func_name": "ChartOptionsImpl.createdLegendEnhancedInsideNorthWest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Created legend enhanced inside north west.\n\n@return the legend", "docstring_tokens": ["Created", "legend", "enhanced", "inside", "north", "west", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java#L163-L168", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java", "func_name": "ChartOptionsImpl.createdLegendEnhancedInsideWest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Created legend enhanced inside west.\n\n@return the legend", "docstring_tokens": ["Created", "legend", "enhanced", "inside", "west", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java#L175-L180", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java", "func_name": "ChartOptionsImpl.createLegendOutsideOneColumn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the legend outside one column.\n\n@return the legend", "docstring_tokens": ["Creates", "the", "legend", "outside", "one", "column", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java#L199-L204", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java", "func_name": "ChartOptionsImpl.setLegendStyling", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the legend styling.\n\n@param legend\nthe legend\n@return the legend", "docstring_tokens": ["Sets", "the", "legend", "styling", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java#L225-L228", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java", "func_name": "ChartOptionsImpl.createHighLighter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the high lighter.\n\n@return the highlighter", "docstring_tokens": ["Creates", "the", "high", "lighter", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java#L235-L238", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java", "func_name": "ChartOptionsImpl.createHighLighterNorth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the high lighter north.\n\n@return the highlighter", "docstring_tokens": ["Creates", "the", "high", "lighter", "north", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java#L245-L249", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java", "func_name": "ChartOptionsImpl.createSeriesDefaultPieChart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the series default pie chart.\n\n@return the series defaults", "docstring_tokens": ["Creates", "the", "series", "default", "pie", "chart", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java#L256-L259", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java", "func_name": "ChartOptionsImpl.createDonoutSeriesDefault", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the donout series default.\n\n@return the series defaults", "docstring_tokens": ["Creates", "the", "donout", "series", "default", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/ChartOptionsImpl.java#L299-L303", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.riksdagen.dokumentstatus.impl/src/main/java/com/hack23/cia/model/external/riksdagen/dokumentstatus/impl/DocumentAttachmentContainer.java", "func_name": "DocumentAttachmentContainer.getDocumentAttachmentList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the document attachment list.\n\n@return the document attachment list", "docstring_tokens": ["Gets", "the", "document", "attachment", "list", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.riksdagen.dokumentstatus.impl/src/main/java/com/hack23/cia/model/external/riksdagen/dokumentstatus/impl/DocumentAttachmentContainer.java#L88-L94", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/menufactory/impl/CommitteeRankingMenuItemFactoryImpl.java", "func_name": "CommitteeRankingMenuItemFactoryImpl.createCommitteeeRankingMenuBar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the committeee ranking menu bar.\n\n@param menuBar\nthe menu bar", "docstring_tokens": ["Creates", "the", "committeee", "ranking", "menu", "bar", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/menufactory/impl/CommitteeRankingMenuItemFactoryImpl.java#L128-L135", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/menufactory/impl/CommitteeRankingMenuItemFactoryImpl.java", "func_name": "CommitteeRankingMenuItemFactoryImpl.createCommitteeRankingTopics", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the committee ranking topics.\n\n@param committeeMenuItem\nthe committee menu item", "docstring_tokens": ["Creates", "the", "committee", "ranking", "topics", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/menufactory/impl/CommitteeRankingMenuItemFactoryImpl.java#L143-L163", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/menufactory/impl/CommitteeRankingMenuItemFactoryImpl.java", "func_name": "CommitteeRankingMenuItemFactoryImpl.createOverviewPage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the overview page.\n\n@param panelContent\nthe panel content", "docstring_tokens": ["Creates", "the", "overview", "page", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/menufactory/impl/CommitteeRankingMenuItemFactoryImpl.java#L171-L185", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianOverviewPageModContentFactoryImpl.java", "func_name": "PoliticianOverviewPageModContentFactoryImpl.createOverviewContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the overview content.\n\n@param panelContent the panel content\n@param personData the person data\n@param viewRiksdagenPolitician the view riksdagen politician\n@param pageId the page id", "docstring_tokens": ["Creates", "the", "overview", "content", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/user/politician/pagemode/PoliticianOverviewPageModContentFactoryImpl.java#L101-L132", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.val.kommunvalkrets.impl/src/main/java/com/hack23/cia/model/external/val/kommunvalkrets/impl/SwedenMunicipalityData.java", "func_name": "SwedenMunicipalityData.getKommunvalkrets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the kommunvalkrets.\n\n@return the kommunvalkrets", "docstring_tokens": ["Gets", "the", "kommunvalkrets", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.val.kommunvalkrets.impl/src/main/java/com/hack23/cia/model/external/val/kommunvalkrets/impl/SwedenMunicipalityData.java#L140-L146", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.impl/src/main/java/com/hack23/cia/service/impl/BootstrapDefaultConfig.java", "func_name": "BootstrapDefaultConfig.configureAuthentication", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure authentication.\n\n@param role\nthe role", "docstring_tokens": ["Configure", "authentication", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.impl/src/main/java/com/hack23/cia/service/impl/BootstrapDefaultConfig.java#L76-L80", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.api/src/main/java/com/hack23/cia/service/api/action/kpi/ComplianceCheckResponse.java", "func_name": "ComplianceCheckResponse.setList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the list.\n\n@param list\nthe new list", "docstring_tokens": ["Sets", "the", "list", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.api/src/main/java/com/hack23/cia/service/api/action/kpi/ComplianceCheckResponse.java#L74-L76", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.api/src/main/java/com/hack23/cia/service/api/action/kpi/ComplianceCheckResponse.java", "func_name": "ComplianceCheckResponse.setStatusMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the status map.\n\n@param statusMap\nthe new status map", "docstring_tokens": ["Sets", "the", "status", "map", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.api/src/main/java/com/hack23/cia/service/api/action/kpi/ComplianceCheckResponse.java#L93-L95", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.api/src/main/java/com/hack23/cia/service/api/action/kpi/ComplianceCheckResponse.java", "func_name": "ComplianceCheckResponse.setResourceTypeMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the resource type map.\n\n@param resourceTypeMap\nthe new resource type map", "docstring_tokens": ["Sets", "the", "resource", "type", "map", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.api/src/main/java/com/hack23/cia/service/api/action/kpi/ComplianceCheckResponse.java#L112-L114", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.val.kommunvalkrets.impl/src/main/java/com/hack23/cia/model/external/val/kommunvalkrets/impl/SwedenCountyData.java", "func_name": "SwedenCountyData.getKommun", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the kommun.\n\n@return the kommun", "docstring_tokens": ["Gets", "the", "kommun", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.val.kommunvalkrets.impl/src/main/java/com/hack23/cia/model/external/val/kommunvalkrets/impl/SwedenCountyData.java#L140-L146", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.riksdagen.personlista.impl/src/main/java/com/hack23/cia/model/external/riksdagen/personlista/impl/PersonAssignmentElement.java", "func_name": "PersonAssignmentElement.getUppdrag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the uppdrag.\n\n@return the uppdrag", "docstring_tokens": ["Gets", "the", "uppdrag", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.riksdagen.personlista.impl/src/main/java/com/hack23/cia/model/external/riksdagen/personlista/impl/PersonAssignmentElement.java#L88-L94", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.riksdagen.dokumentstatus.impl/src/main/java/com/hack23/cia/model/external/riksdagen/dokumentstatus/impl/DocumentProposalContainer.java", "func_name": "DocumentProposalContainer.getProposal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the proposal.\n\n@return the proposal", "docstring_tokens": ["Gets", "the", "proposal", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.riksdagen.dokumentstatus.impl/src/main/java/com/hack23/cia/model/external/riksdagen/dokumentstatus/impl/DocumentProposalContainer.java#L85-L91", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/pagelinks/api/PageModeMenuCommand.java", "func_name": "PageModeMenuCommand.getPagePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the page path.\n\n@return the page path", "docstring_tokens": ["Gets", "the", "page", "path", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/pagelinks/api/PageModeMenuCommand.java#L113-L119", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.component.agent.impl/src/main/java/com/hack23/cia/service/component/agent/impl/riksdagen/workers/RiksdagenVoteDataWorkConsumerImpl.java", "func_name": "RiksdagenVoteDataWorkConsumerImpl.updateBallot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Update ballot.\n\n@param ballotId\nthe ballot id", "docstring_tokens": ["Update", "ballot", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.component.agent.impl/src/main/java/com/hack23/cia/service/component/agent/impl/riksdagen/workers/RiksdagenVoteDataWorkConsumerImpl.java#L81-L90", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/PartyChartDataManagerImpl.java", "func_name": "PartyChartDataManagerImpl.getMaxSizeViewRiksdagenVoteDataBallotPartySummaryDaily", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the max size view riksdagen vote data ballot party summary daily.\n\n@return the max size view riksdagen vote data ballot party summary daily", "docstring_tokens": ["Gets", "the", "max", "size", "view", "riksdagen", "vote", "data", "ballot", "party", "summary", "daily", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/PartyChartDataManagerImpl.java#L81-L94", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/PartyChartDataManagerImpl.java", "func_name": "PartyChartDataManagerImpl.initPartyMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inits the party map.", "docstring_tokens": ["Inits", "the", "party", "map", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/PartyChartDataManagerImpl.java#L115-L123", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/PartyChartDataManagerImpl.java", "func_name": "PartyChartDataManagerImpl.addPartyData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the party data.\n\n@param dataSeries the data series\n@param simpleDateFormat the simple date format\n@param list the list\n@param t the t", "docstring_tokens": ["Adds", "the", "party", "data", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/PartyChartDataManagerImpl.java#L156-L167", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/PartyChartDataManagerImpl.java", "func_name": "PartyChartDataManagerImpl.createPartyBallotChart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the party ballot chart.\n\n@param dataValueCalculator\nthe data value calculator\n@return the d charts", "docstring_tokens": ["Creates", "the", "party", "ballot", "chart", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/PartyChartDataManagerImpl.java#L228-L245", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/PartyChartDataManagerImpl.java", "func_name": "PartyChartDataManagerImpl.addBallotData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the ballot data.\n\n@param dataValueCalculator the data value calculator\n@param dataSeries the data series\n@param simpleDateFormat the simple date format\n@param series the series\n@param entry the entry", "docstring_tokens": ["Adds", "the", "ballot", "data", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/PartyChartDataManagerImpl.java#L257-L272", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.external.esv/src/main/java/com/hack23/cia/service/external/esv/impl/EsvGovernmentBodyOperationOutcomeReaderImpl.java", "func_name": "EsvGovernmentBodyOperationOutcomeReaderImpl.createOrgMinistryMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the org ministry map.\n\n@param data the data\n@return the map", "docstring_tokens": ["Creates", "the", "org", "ministry", "map", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.external.esv/src/main/java/com/hack23/cia/service/external/esv/impl/EsvGovernmentBodyOperationOutcomeReaderImpl.java#L222-L235", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.external.esv/src/main/java/com/hack23/cia/service/external/esv/impl/EsvGovernmentBodyOperationOutcomeReaderImpl.java", "func_name": "EsvGovernmentBodyOperationOutcomeReaderImpl.addResultForMonth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the result for month.\n\n@param governmentBodyAnnualOutcomeSummary\nthe government body annual outcome summary\n@param month\nthe month\n@param value\nthe value", "docstring_tokens": ["Adds", "the", "result", "for", "month", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.external.esv/src/main/java/com/hack23/cia/service/external/esv/impl/EsvGovernmentBodyOperationOutcomeReaderImpl.java#L247-L252", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/formfactory/impl/FormFactoryImpl.java", "func_name": "FormFactoryImpl.createField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the field.\n\n@param property the property\n@return the abstract field", "docstring_tokens": ["Creates", "the", "field", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/formfactory/impl/FormFactoryImpl.java#L121-L127", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/formfactory/impl/FormFactoryImpl.java", "func_name": "FormFactoryImpl.createDisplayPropertyConverters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the display property converters.\n\n@param the generic type\n@param displayProperties the display properties\n@param formContent the form content\n@param binder the binder\n@param propertyDescriptors the property descriptors", "docstring_tokens": ["Creates", "the", "display", "property", "converters", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/formfactory/impl/FormFactoryImpl.java#L176-L196", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/formfactory/impl/FormFactoryImpl.java", "func_name": "FormFactoryImpl.getConverterForType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the converter for type.\n\n@param typeOfProperty\nthe type of property\n@return the converter for type", "docstring_tokens": ["Gets", "the", "converter", "for", "type", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/formfactory/impl/FormFactoryImpl.java#L205-L227", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/formfactory/impl/FormFactoryImpl.java", "func_name": "FormFactoryImpl.getTypeOfProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the type of property.\n\n@param propertyDescriptors\nthe property descriptors\n@param property\nthe property\n@return the type of property", "docstring_tokens": ["Gets", "the", "type", "of", "property", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/formfactory/impl/FormFactoryImpl.java#L238-L246", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.riksdagen.dokumentstatus.impl/src/main/java/com/hack23/cia/model/external/riksdagen/dokumentstatus/impl/DocumentActivityContainer.java", "func_name": "DocumentActivityContainer.getDocumentActivities", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the document activities.\n\n@return the document activities", "docstring_tokens": ["Gets", "the", "document", "activities", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.riksdagen.dokumentstatus.impl/src/main/java/com/hack23/cia/model/external/riksdagen/dokumentstatus/impl/DocumentActivityContainer.java#L88-L94", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.impl/src/main/java/com/hack23/cia/service/impl/action/common/AbstractCommonBusinessServiceImpl.java", "func_name": "AbstractCommonBusinessServiceImpl.getUserAccountFromSecurityContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the user account from security context.\n\n@return the user account from security context", "docstring_tokens": ["Gets", "the", "user", "account", "from", "security", "context", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.impl/src/main/java/com/hack23/cia/service/impl/action/common/AbstractCommonBusinessServiceImpl.java#L69-L79", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.val.kommunvalkrets.impl/src/main/java/com/hack23/cia/model/external/val/kommunvalkrets/impl/SwedenCountyDataContainer.java", "func_name": "SwedenCountyDataContainer.getCountyRegions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the county regions.\n\n@return the county regions", "docstring_tokens": ["Gets", "the", "county", "regions", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.val.kommunvalkrets.impl/src/main/java/com/hack23/cia/model/external/val/kommunvalkrets/impl/SwedenCountyDataContainer.java#L86-L92", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.riksdagen.utskottsforslag.impl/src/main/java/com/hack23/cia/model/external/riksdagen/utskottsforslag/impl/CommitteeProposalComponentData.java", "func_name": "CommitteeProposalComponentData.getAgainstProposalContainer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the against proposal container.\n\n@return the against proposal container", "docstring_tokens": ["Gets", "the", "against", "proposal", "container", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.riksdagen.utskottsforslag.impl/src/main/java/com/hack23/cia/model/external/riksdagen/utskottsforslag/impl/CommitteeProposalComponentData.java#L95-L101", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.riksdagen.utskottsforslag.impl/src/main/java/com/hack23/cia/model/external/riksdagen/utskottsforslag/impl/CommitteeProposalComponentData.java", "func_name": "CommitteeProposalComponentData.getCommitteeProposalContainer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the committee proposal container.\n\n@return the committee proposal container", "docstring_tokens": ["Gets", "the", "committee", "proposal", "container", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.riksdagen.utskottsforslag.impl/src/main/java/com/hack23/cia/model/external/riksdagen/utskottsforslag/impl/CommitteeProposalComponentData.java#L139-L145", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/system/impl/ApplicationSession.java", "func_name": "ApplicationSession.getEvents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the value of the events property.\n\n
\nThis accessor method returns a reference to the live list,\nnot a snapshot. Therefore any modification you make to the\nreturned list will be present inside the JAXB object.\nThis is why there is not a set method for the events property.\n\n
\nFor example, to add a new item, do as follows:\n
\nThis accessor method returns a reference to the live list,\nnot a snapshot. Therefore any modification you make to the\nreturned list will be present inside the JAXB object.\nThis is why there is not a set method for the address property.\n\n
\nFor example, to add a new item, do as follows:\n
\nThis accessor method returns a reference to the live list,\nnot a snapshot. Therefore any modification you make to the\nreturned list will be present inside the JAXB object.\nThis is why there is not a set method for the portals property.\n\n
\nFor example, to add a new item, do as follows:\n
\ngetPortals().add(newItem);\n
\n\n\n
\nObjects of the following type(s) are allowed in the list\n{@link Portal }", "docstring_tokens": ["Gets", "the", "value", "of", "the", "portals", "property", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/system/impl/Agency.java#L211-L220", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/user/home/pagemode/AbstractUserHomePageModContentFactoryImpl.java", "func_name": "AbstractUserHomePageModContentFactoryImpl.getActiveUserAccount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the active user account.\n\n@return the active user account", "docstring_tokens": ["Gets", "the", "active", "user", "account", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/user/home/pagemode/AbstractUserHomePageModContentFactoryImpl.java#L50-L55", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "model.external.riksdagen.dokumentlista.impl/src/main/java/com/hack23/cia/model/external/riksdagen/dokumentlista/impl/DocumentContainerElement.java", "func_name": "DocumentContainerElement.getDokument", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the dokument.\n\n@return the dokument", "docstring_tokens": ["Gets", "the", "dokument", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/model.external.riksdagen.dokumentlista.impl/src/main/java/com/hack23/cia/model/external/riksdagen/dokumentlista/impl/DocumentContainerElement.java#L136-L142", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/AbstractView.java", "func_name": "AbstractView.createBasicLayoutWithPanelAndFooter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the basic layout with panel and footer.\n\n@param panelName\nthe panel name", "docstring_tokens": ["Creates", "the", "basic", "layout", "with", "panel", "and", "footer", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/AbstractView.java#L160-L203", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/AbstractView.java", "func_name": "AbstractView.createTopHeaderActionsForUserContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the top header actions for user context.", "docstring_tokens": ["Creates", "the", "top", "header", "actions", "for", "user", "context", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/AbstractView.java#L208-L232", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/AbstractView.java", "func_name": "AbstractView.createFullSizeVerticalLayout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the full size vertical layout.\n\n@param margin\nthe margin\n@param spacing\nthe spacing\n@return the vertical layout", "docstring_tokens": ["Creates", "the", "full", "size", "vertical", "layout", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/AbstractView.java#L243-L250", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/AbstractView.java", "func_name": "AbstractView.addLogoToHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the logo to header.\n\n@param topHeader\nthe top header", "docstring_tokens": ["Adds", "the", "logo", "to", "header", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/AbstractView.java#L267-L275", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/AbstractView.java", "func_name": "AbstractView.createTopTitleHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the top title header.\n\n@param topHeader\nthe top header", "docstring_tokens": ["Creates", "the", "top", "title", "header", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/AbstractView.java#L283-L300", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.impl/src/main/java/com/hack23/cia/service/impl/email/EmailServiceImpl.java", "func_name": "EmailServiceImpl.getMailSender", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the mail sender.\n\n@return the mail sender", "docstring_tokens": ["Gets", "the", "mail", "sender", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.impl/src/main/java/com/hack23/cia/service/impl/email/EmailServiceImpl.java#L200-L224", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.impl/src/main/java/com/hack23/cia/service/impl/email/EmailServiceImpl.java", "func_name": "EmailServiceImpl.getSmtpPort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the smtp port.\n\n@param smtpPort the smtp port\n@return the smtp port", "docstring_tokens": ["Gets", "the", "smtp", "port", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.impl/src/main/java/com/hack23/cia/service/impl/email/EmailServiceImpl.java#L233-L239", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.impl/src/main/java/com/hack23/cia/service/impl/ConfigurationManagerImpl.java", "func_name": "ConfigurationManagerImpl.findLanguage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find language.\n\n@param locale\nthe locale\n@return the language data", "docstring_tokens": ["Find", "language", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.impl/src/main/java/com/hack23/cia/service/impl/ConfigurationManagerImpl.java#L89-L96", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.impl/src/main/java/com/hack23/cia/service/impl/ConfigurationManagerImpl.java", "func_name": "ConfigurationManagerImpl.getSupportedLocalesLanguageData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the supported locales language data.\n\n@return the supported locales language data", "docstring_tokens": ["Gets", "the", "supported", "locales", "language", "data", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.impl/src/main/java/com/hack23/cia/service/impl/ConfigurationManagerImpl.java#L132-L146", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/user/ballot/pagemode/BallotChartsPageModContentFactoryImpl.java", "func_name": "BallotChartsPageModContentFactoryImpl.createIssueConcernMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the issue concern map.\n\n@param partyBallotList\nthe party ballot list\n@return the map", "docstring_tokens": ["Creates", "the", "issue", "concern", "map", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/user/ballot/pagemode/BallotChartsPageModContentFactoryImpl.java#L145-L157", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "service.external.common/src/main/java/com/hack23/cia/service/external/common/impl/NameSpaceUtil.java", "func_name": "NameSpaceUtil.setNameSpaceOnXmlStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the name space on xml stream.\n\n@param in the in\n@param nameSpace the name space\n@return the source\n@throws JDOMException the JDOM exception\n@throws IOException Signals that an I/O exception has occurred.", "docstring_tokens": ["Sets", "the", "name", "space", "on", "xml", "stream", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/service.external.common/src/main/java/com/hack23/cia/service/external/common/impl/NameSpaceUtil.java#L54-L60", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/AbstractChartDataManagerImpl.java", "func_name": "AbstractChartDataManagerImpl.addChart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the chart.\n\n@param content\nthe content\n@param caption\nthe caption\n@param chart\nthe chart\n@param fullPage\nthe full page", "docstring_tokens": ["Adds", "the", "chart", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/AbstractChartDataManagerImpl.java#L117-L148", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/AbstractChartDataManagerImpl.java", "func_name": "AbstractChartDataManagerImpl.getChartWindowHeight", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the chart window height.\n\n@param fullPage the full page\n@return the chart window height", "docstring_tokens": ["Gets", "the", "chart", "window", "height", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/AbstractChartDataManagerImpl.java#L165-L171", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/AbstractChartDataManagerImpl.java", "func_name": "AbstractChartDataManagerImpl.getPartyName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the party name.\n\n@param party\nthe party\n@return the party name", "docstring_tokens": ["Gets", "the", "party", "name", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/AbstractChartDataManagerImpl.java#L180-L194", "partition": "valid"}
+{"repo": "Hack23/cia", "path": "citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/PersonDocumentChartDataManagerImpl.java", "func_name": "PersonDocumentChartDataManagerImpl.getViewRiksdagenPoliticianDocumentDailySummaryMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the view riksdagen politician document daily summary map.\n\n@return the view riksdagen politician document daily summary map", "docstring_tokens": ["Gets", "the", "view", "riksdagen", "politician", "document", "daily", "summary", "map", "."], "sha": "223312ca0eec74888a57a060de5b164f95a7785f", "url": "https://github.com/Hack23/cia/blob/223312ca0eec74888a57a060de5b164f95a7785f/citizen-intelligence-agency/src/main/java/com/hack23/cia/web/impl/ui/application/views/common/chartfactory/impl/PersonDocumentChartDataManagerImpl.java#L83-L89", "partition": "valid"}
+{"repo": "akhikhl/gretty", "path": "libs/gretty-runner-jetty8/src/main/groovy/org/akhikhl/gretty/SSODigestAuthenticator.java", "func_name": "SSODigestAuthenticator.login", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "\"login\" is copied without changes from FormAuthenticator", "docstring_tokens": ["login", "is", "copied", "without", "changes", "from", "FormAuthenticator"], "sha": "e5c130569525a97d13fb9207373c2162237e18ae", "url": "https://github.com/akhikhl/gretty/blob/e5c130569525a97d13fb9207373c2162237e18ae/libs/gretty-runner-jetty8/src/main/groovy/org/akhikhl/gretty/SSODigestAuthenticator.java#L41-L53", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.isWindows", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Are we running on a flavour of Windows.\n\n@return", "docstring_tokens": ["Are", "we", "running", "on", "a", "flavour", "of", "Windows", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L196-L209", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.startAndroidEmulator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start the Android Emulator with the specified options.\n\n@throws org.apache.maven.plugin.MojoExecutionException\n\n@see #emulatorAvd\n@see #emulatorWait\n@see #emulatorOptions", "docstring_tokens": ["Start", "the", "Android", "Emulator", "with", "the", "specified", "options", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L220-L279", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.unlockEmulator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unlocks the emulator.\n@param androidDebugBridge", "docstring_tokens": ["Unlocks", "the", "emulator", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L285-L311", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.writeEmulatorStartScriptWindows", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the script to start the emulator in the background for windows based environments.\n\n@return absolute path name of start script\n@throws IOException\n@throws MojoExecutionException", "docstring_tokens": ["Writes", "the", "script", "to", "start", "the", "emulator", "in", "the", "background", "for", "windows", "based", "environments", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L504-L544", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.writeEmulatorStartScriptUnix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the script to start the emulator in the background for unix based environments.\n\n@return absolute path name of start script\n@throws IOException\n@throws MojoExecutionException", "docstring_tokens": ["Writes", "the", "script", "to", "start", "the", "emulator", "in", "the", "background", "for", "unix", "based", "environments", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L553-L591", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.stopAndroidEmulator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stop the running Android Emulator.\n\n@throws org.apache.maven.plugin.MojoExecutionException", "docstring_tokens": ["Stop", "the", "running", "Android", "Emulator", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L599-L625", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.stopEmulator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method contains the code required to stop an emulator\n\n@param device The device to stop", "docstring_tokens": ["This", "method", "contains", "the", "code", "required", "to", "stop", "an", "emulator"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L661-L683", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.sendEmulatorCommand", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends a user command to the running emulator via its telnet interface.\n\n@param port The emulator's telnet port.\n@param command The command to execute on the emulator's telnet interface.\n@return Whether sending the command succeeded.", "docstring_tokens": ["Sends", "a", "user", "command", "to", "the", "running", "emulator", "via", "its", "telnet", "interface", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L712-L770", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.assembleStartCommandLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Assemble the command line for starting the emulator based on the parameters supplied in the pom file and on the\ncommand line. It should not be that painful to do work with command line and pom supplied values but evidently\nit is.\n\n@return\n@throws MojoExecutionException\n@see com.simpligility.maven.plugins.android.configuration.Emulator", "docstring_tokens": ["Assemble", "the", "command", "line", "for", "starting", "the", "emulator", "based", "on", "the", "parameters", "supplied", "in", "the", "pom", "file", "and", "on", "the", "command", "line", ".", "It", "should", "not", "be", "that", "painful", "to", "do", "work", "with", "command", "line", "and", "pom", "supplied", "values", "but", "evidently", "it", "is", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L781-L800", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.determineExecutable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get executable value for emulator from command line options or default to \"emulator\".\n\n@return", "docstring_tokens": ["Get", "executable", "value", "for", "emulator", "from", "command", "line", "options", "or", "default", "to", "emulator", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L869-L881", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.determineWait", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get wait value for emulator from command line option.\n\n@return if available return command line value otherwise return default value (5000).", "docstring_tokens": ["Get", "wait", "value", "for", "emulator", "from", "command", "line", "option", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L888-L900", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.determineOptions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get options value for emulator from command line option.\n\n@return if available return command line value otherwise return default value (\"\").", "docstring_tokens": ["Get", "options", "value", "for", "emulator", "from", "command", "line", "option", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L907-L919", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.determineAvd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get avd value for emulator from command line option.\n\n@return if available return command line value otherwise return default value (\"Default\").", "docstring_tokens": ["Get", "avd", "value", "for", "emulator", "from", "command", "line", "option", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L926-L938", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java", "func_name": "AbstractEmulatorMojo.determineEmulatorLocation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get location value for emulator from command line option.\n\n@return if available return command line value otherwise return default value (\"SdkTools\").", "docstring_tokens": ["Get", "location", "value", "for", "emulator", "from", "command", "line", "option", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractEmulatorMojo.java#L945-L957", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/common/JarHelper.java", "func_name": "JarHelper.unjar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unjars the specified jar file into the the specified directory\n\n@param jarFile\n@param outputDirectory\n@param unjarListener\n@throws IOException", "docstring_tokens": ["Unjars", "the", "specified", "jar", "file", "into", "the", "the", "specified", "directory"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/common/JarHelper.java#L39-L79", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/standalonemojos/PushMojo.java", "func_name": "PushMojo.calculateSourceDestinationMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates a map which contains all files to be pushed to the device or\nemulator. The source filename works as the key while the value is the\ndestination.\n\n@return a map with file source -> destination pairs\n@throws MojoExecutionException", "docstring_tokens": ["Calculates", "a", "map", "which", "contains", "all", "files", "to", "be", "pushed", "to", "the", "device", "or", "emulator", ".", "The", "source", "filename", "works", "as", "the", "key", "while", "the", "value", "is", "the", "destination", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/standalonemojos/PushMojo.java#L165-L209", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/common/DependencyCollector.java", "func_name": "DependencyCollector.visit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Visits all nodes from the given node and collects dependencies.\n\n@param node DependencyNode from which to search.\n@param collecting Whether we are currently collecting artifacts.", "docstring_tokens": ["Visits", "all", "nodes", "from", "the", "given", "node", "and", "collects", "dependencies", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/common/DependencyCollector.java#L36-L53", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/common/ArtifactResolverHelper.java", "func_name": "ArtifactResolverHelper.resolveArtifact", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves an artifact to a particular repository.\n\n@param artifact Artifact to resolve\n@return fully resolved artifact.", "docstring_tokens": ["Resolves", "an", "artifact", "to", "a", "particular", "repository", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/common/ArtifactResolverHelper.java#L148-L175", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java", "func_name": "AbstractAndroidMojo.waitUntilConnected", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run a wait loop until adb is connected or trials run out. This method seems to work more reliably then using a\nlistener.", "docstring_tokens": ["Run", "a", "wait", "loop", "until", "adb", "is", "connected", "or", "trials", "run", "out", ".", "This", "method", "seems", "to", "work", "more", "reliably", "then", "using", "a", "listener", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java#L640-L660", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java", "func_name": "AbstractAndroidMojo.waitForInitialDeviceList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wait for the Android Debug Bridge to return an initial device list.", "docstring_tokens": ["Wait", "for", "the", "Android", "Debug", "Bridge", "to", "return", "an", "initial", "device", "list", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java#L665-L688", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java", "func_name": "AbstractAndroidMojo.deployApk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deploys an apk file to a connected emulator or usb device.\n\n@param apkFile the file to deploy\n@throws MojoExecutionException If there is a problem deploying the apk file.", "docstring_tokens": ["Deploys", "an", "apk", "file", "to", "a", "connected", "emulator", "or", "usb", "device", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java#L696-L720", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java", "func_name": "AbstractAndroidMojo.deployBuiltApk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deploy the apk built with the current projects to all attached devices and emulators.\nSkips other projects in a multi-module build without terminating.\n\n@throws MojoExecutionException\n@throws MojoFailureException", "docstring_tokens": ["Deploy", "the", "apk", "built", "with", "the", "current", "projects", "to", "all", "attached", "devices", "and", "emulators", ".", "Skips", "other", "projects", "in", "a", "multi", "-", "module", "build", "without", "terminating", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java#L753-L764", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java", "func_name": "AbstractAndroidMojo.undeployApk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Undeploys an apk from a connected emulator or usb device. Also deletes the application's data and cache\ndirectories on the device.\n\n@param apkFile the file to undeploy\n@return true if successfully undeployed, false otherwise.", "docstring_tokens": ["Undeploys", "an", "apk", "from", "a", "connected", "emulator", "or", "usb", "device", ".", "Also", "deletes", "the", "application", "s", "data", "and", "cache", "directories", "on", "the", "device", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java#L915-L920", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java", "func_name": "AbstractAndroidMojo.undeployApk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Undeploys an apk, specified by package name, from a connected emulator\nor usb device. Also deletes the application's data and cache\ndirectories on the device.\n\n@param packageName the package name to undeploy.\n@return true if successfully undeployed, false otherwise.", "docstring_tokens": ["Undeploys", "an", "apk", "specified", "by", "package", "name", "from", "a", "connected", "emulator", "or", "usb", "device", ".", "Also", "deletes", "the", "application", "s", "data", "and", "cache", "directories", "on", "the", "device", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java#L930-L957", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java", "func_name": "AbstractAndroidMojo.extractPackageNameFromApk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts the package name from an apk file.\n\n@param apkFile apk file to extract package name from.\n@return the package name from inside the apk file.", "docstring_tokens": ["Extracts", "the", "package", "name", "from", "an", "apk", "file", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java#L965-L998", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java", "func_name": "AbstractAndroidMojo.extractPackageNameFromAndroidArtifact", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provides package name for android artifact.\n\n@param artifact android artifact which package have to be extracted\n@return package name\n@throws MojoExecutionException if there is no AndroidManifest.xml for provided artifact\nor appears error while parsing in {@link #extractPackageNameFromAndroidManifest(File)}\n\n@see #extractPackageNameFromAndroidManifest(File)", "docstring_tokens": ["Provides", "package", "name", "for", "android", "artifact", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java#L1030-L1040", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java", "func_name": "AbstractAndroidMojo.extractInstrumentationRunnerFromAndroidManifest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempts to find the instrumentation test runner from inside the AndroidManifest.xml file.\n\n@param manifestFile the AndroidManifest.xml file to inspect.\n@return the instrumentation test runner declared in AndroidManifest.xml, or {@code null} if it is not declared.\n@throws MojoExecutionException", "docstring_tokens": ["Attempts", "to", "find", "the", "instrumentation", "test", "runner", "from", "inside", "the", "AndroidManifest", ".", "xml", "file", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AbstractAndroidMojo.java#L1062-L1088", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/ResourceClassGenerator.java", "func_name": "ResourceClassGenerator.generateLibraryRs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates R java files those libraries that do not already have their R java in the compile classpath.\n\nIf we are generating an integration test APK and the APK under test has a reference to a library for which\nit generated an R java, then we don't want to generate that R java again for the test APK because otherwise\nProguard will fail when building the test APK because of duplication of the R java in the compile classpath.\n\nSee {@link com.android.builder.core.AndroidBuilder#processResources(com.android.builder.internal.aapt.Aapt,\ncom.android.builder.internal.aapt.AaptPackageConfig.Builder, boolean)}\n\n@param libraries AAR libraries for which to generate R java files.", "docstring_tokens": ["Generates", "R", "java", "files", "those", "libraries", "that", "do", "not", "already", "have", "their", "R", "java", "in", "the", "compile", "classpath", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/ResourceClassGenerator.java#L53-L92", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/standalonemojos/DevicesMojo.java", "func_name": "DevicesMojo.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Display a list of attached devices.\n\n@throws MojoExecutionException\n@throws MojoFailureException", "docstring_tokens": ["Display", "a", "list", "of", "attached", "devices", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/standalonemojos/DevicesMojo.java#L31-L40", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase09package/ApkMojo.java", "func_name": "ApkMojo.copyStreamWithoutClosing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies an input stream into an output stream but does not close the streams.\n\n@param in the input stream\n@param out the output stream\n@throws IOException if the stream cannot be copied", "docstring_tokens": ["Copies", "an", "input", "stream", "into", "an", "output", "stream", "but", "does", "not", "close", "the", "streams", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase09package/ApkMojo.java#L1068-L1077", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase09package/ApkMojo.java", "func_name": "ApkMojo.copyGdbServer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy the Ndk GdbServer into the architecture output folder if the folder exists but the GdbServer doesn't.", "docstring_tokens": ["Copy", "the", "Ndk", "GdbServer", "into", "the", "architecture", "output", "folder", "if", "the", "folder", "exists", "but", "the", "GdbServer", "doesn", "t", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase09package/ApkMojo.java#L1176-L1204", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase08preparepackage/D8Mojo.java", "func_name": "D8Mojo.getJavaExecutable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Figure out the full path to the current java executable.\n\n@return the full path to the current java executable.", "docstring_tokens": ["Figure", "out", "the", "full", "path", "to", "the", "current", "java", "executable", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase08preparepackage/D8Mojo.java#L459-L464", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java", "func_name": "AndroidSdk.getProguardJarPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the path for proguard.jar\n@return", "docstring_tokens": ["Get", "the", "path", "for", "proguard", ".", "jar"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java#L209-L218", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java", "func_name": "AndroidSdk.getShrinkedAndroidJarPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the path for shrinkedAndroid.jar\n@return", "docstring_tokens": ["Get", "the", "path", "for", "shrinkedAndroid", ".", "jar"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java#L224-L232", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java", "func_name": "AndroidSdk.getBuildToolsLibDirectoryPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the path for build-tools lib directory\n@return", "docstring_tokens": ["Get", "the", "path", "for", "build", "-", "tools", "lib", "directory"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java#L238-L246", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java", "func_name": "AndroidSdk.getMainDexClassesRulesPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the path for mainDexClasses.rules\n@return", "docstring_tokens": ["Get", "the", "path", "for", "mainDexClasses", ".", "rules"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java#L252-L261", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java", "func_name": "AndroidSdk.getAndroidPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the android tool path.\n\n@return", "docstring_tokens": ["Get", "the", "android", "tool", "path", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java#L329-L335", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java", "func_name": "AndroidSdk.getAndroidJar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolves the android.jar from this SDK.\n\n@return a File pointing to the android.jar file.\n@throws org.apache.maven.plugin.MojoExecutionException\nif the file can not be resolved.", "docstring_tokens": ["Resolves", "the", "android", ".", "jar", "from", "this", "SDK", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java#L427-L435", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java", "func_name": "AndroidSdk.getPlatform", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method returns the previously specified version. However, if none have been specified it returns the\n\"latest\" version.", "docstring_tokens": ["This", "method", "returns", "the", "previously", "specified", "version", ".", "However", "if", "none", "have", "been", "specified", "it", "returns", "the", "latest", "version", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java#L457-L488", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java", "func_name": "AndroidSdk.loadSDKToolsMajorVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads the SDK Tools version", "docstring_tokens": ["Loads", "the", "SDK", "Tools", "version"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AndroidSdk.java#L493-L530", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java", "func_name": "GenerateSourcesMojo.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the sources.\n\n@throws MojoExecutionException if it fails.\n@throws MojoFailureException if it fails.", "docstring_tokens": ["Generates", "the", "sources", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java#L192-L267", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java", "func_name": "GenerateSourcesMojo.copyManifest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy the AndroidManifest.xml from androidManifestFile to destinationManifestFile\n\n@throws MojoExecutionException", "docstring_tokens": ["Copy", "the", "AndroidManifest", ".", "xml", "from", "androidManifestFile", "to", "destinationManifestFile"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java#L327-L374", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java", "func_name": "GenerateSourcesMojo.extractSourceDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract the source dependencies.\n\n@throws MojoExecutionException if it fails.", "docstring_tokens": ["Extract", "the", "source", "dependencies", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java#L381-L402", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java", "func_name": "GenerateSourcesMojo.extractApklib", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts ApkLib and adds the assets and apklib sources and resources to the build.", "docstring_tokens": ["Extracts", "ApkLib", "and", "adds", "the", "assets", "and", "apklib", "sources", "and", "resources", "to", "the", "build", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java#L476-L490", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java", "func_name": "GenerateSourcesMojo.extractAarLib", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts AarLib and if this is an APK build then adds the assets and resources to the build.", "docstring_tokens": ["Extracts", "AarLib", "and", "if", "this", "is", "an", "APK", "build", "then", "adds", "the", "assets", "and", "resources", "to", "the", "build", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java#L495-L515", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java", "func_name": "GenerateSourcesMojo.checkForApklibDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Traverses the list of project dependencies looking for "AAR depends on APKLIB" artifact combination\nthat has been deprecated. For each occurrence of an AAR artifact with APKLIB direct or transitive dependency,\nproduces a warning message to inform the user. Future plugin versions may default to skipping or not handling\nunsupported artifacts during build lifecycle.\n\n@throws MojoExecutionException", "docstring_tokens": ["Traverses", "the", "list", "of", "project", "dependencies", "looking", "for", """, ";", "AAR", "depends", "on", "APKLIB"", ";", "artifact", "combination", "that", "has", "been", "deprecated", ".", "For", "each", "occurrence", "of", "an", "AAR", "artifact", "with", "APKLIB", "direct", "or", "transitive", "dependency", "produces", "a", "warning", "message", "to", "inform", "the", "user", ".", "Future", "plugin", "versions", "may", "default", "to", "skipping", "or", "not", "handling", "unsupported", "artifacts", "during", "build", "lifecycle", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java#L550-L591", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java", "func_name": "GenerateSourcesMojo.getPackageCompareMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provides map with all provided dependencies or project itself grouped by package name\n\n@param dependencyArtifacts artifacts that should be grouped by package name\n@return map of with package names(String) and sets of artifacts (Set)\nthat have similar package names\n@throws MojoExecutionException", "docstring_tokens": ["Provides", "map", "with", "all", "provided", "dependencies", "or", "project", "itself", "grouped", "by", "package", "name"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java#L740-L766", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java", "func_name": "GenerateSourcesMojo.generateCorrectRJavaForApklibDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate correct R.java for apklibs dependencies of a current project\n\n@throws MojoExecutionException", "docstring_tokens": ["Generate", "correct", "R", ".", "java", "for", "apklibs", "dependencies", "of", "a", "current", "project"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java#L850-L874", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java", "func_name": "GenerateSourcesMojo.generateCorrectRJavaForAarDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate correct R.java for aar dependencies of a current project\n\n@throws MojoExecutionException if it could not generate the R java for one of the libraries.", "docstring_tokens": ["Generate", "correct", "R", ".", "java", "for", "aar", "dependencies", "of", "a", "current", "project"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java#L881-L892", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java", "func_name": "GenerateSourcesMojo.generateRForApkLibDependency", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Executes aapt to generate the R class for the given apklib.\n\n@param apklibArtifact apklib for which to generate the R class.\n@throws MojoExecutionException if it fails.", "docstring_tokens": ["Executes", "aapt", "to", "generate", "the", "R", "class", "for", "the", "given", "apklib", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java#L916-L988", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java", "func_name": "GenerateSourcesMojo.isBuildConfigPresent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if given artifact includes a matching BuildConfig class\n\n@throws MojoExecutionException", "docstring_tokens": ["Check", "if", "given", "artifact", "includes", "a", "matching", "BuildConfig", "class"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java#L1055-L1060", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java", "func_name": "GenerateSourcesMojo.isBuildConfigPresent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check whether the artifact includes a BuildConfig located in a given package.\n\n@param artifact an AAR artifact to look for BuildConfig in\n@param packageName BuildConfig package name\n@throws MojoExecutionException", "docstring_tokens": ["Check", "whether", "the", "artifact", "includes", "a", "BuildConfig", "located", "in", "a", "given", "package", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java#L1069-L1083", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase08preparepackage/DexMojo.java", "func_name": "DexMojo.getDexInputFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the input files for dex. This is a combination of directories and jar files.\n\n@return", "docstring_tokens": ["Gets", "the", "input", "files", "for", "dex", ".", "This", "is", "a", "combination", "of", "directories", "and", "jar", "files", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase08preparepackage/DexMojo.java#L316-L373", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/standalonemojos/ZipalignMojo.java", "func_name": "ZipalignMojo.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the mojo by parsing the confign and actually doing the zipalign.\n\n@throws MojoExecutionException", "docstring_tokens": ["Execute", "the", "mojo", "by", "parsing", "the", "confign", "and", "actually", "doing", "the", "zipalign", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/standalonemojos/ZipalignMojo.java#L123-L212", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/common/AndroidPublisherHelper.java", "func_name": "AndroidPublisherHelper.checkClientSecretsFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensure the client secrets file has been filled out.\n\n@param clientSecrets the GoogleClientSecrets containing data from the\nfile", "docstring_tokens": ["Ensure", "the", "client", "secrets", "file", "has", "been", "filled", "out", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/common/AndroidPublisherHelper.java#L117-L126", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase_prebuild/ClasspathModifierLifecycleParticipant.java", "func_name": "ClasspathModifierLifecycleParticipant.addLibsJarsToClassPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add jar files in libs into the project classpath.", "docstring_tokens": ["Add", "jar", "files", "in", "libs", "into", "the", "project", "classpath", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase_prebuild/ClasspathModifierLifecycleParticipant.java#L226-L275", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase_prebuild/ClasspathModifierLifecycleParticipant.java", "func_name": "ClasspathModifierLifecycleParticipant.addClassesToClasspath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the dependent library classes to the project classpath.", "docstring_tokens": ["Add", "the", "dependent", "library", "classes", "to", "the", "project", "classpath", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase_prebuild/ClasspathModifierLifecycleParticipant.java#L280-L316", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/standalonemojos/LintMojo.java", "func_name": "LintMojo.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the mojo by parsing the config and actually invoking the lint command from the Android SDK.\n\n@throws MojoExecutionException", "docstring_tokens": ["Execute", "the", "mojo", "by", "parsing", "the", "config", "and", "actually", "invoking", "the", "lint", "command", "from", "the", "Android", "SDK", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/standalonemojos/LintMojo.java#L382-L433", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/PluginInfo.java", "func_name": "PluginInfo.getGAV", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the Maven GAV string of the plugin.\n@return", "docstring_tokens": ["Get", "the", "Maven", "GAV", "string", "of", "the", "plugin", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/PluginInfo.java#L51-L60", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase04processclasses/ProguardMojo.java", "func_name": "ProguardMojo.collectJvmArguments", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the jvm arguments in parsedJvmArguments as populated by the config in format as needed by the java\ncommand. Also preserve backwards compatibility in terms of dashes required or not..", "docstring_tokens": ["Convert", "the", "jvm", "arguments", "in", "parsedJvmArguments", "as", "populated", "by", "the", "config", "in", "format", "as", "needed", "by", "the", "java", "command", ".", "Also", "preserve", "backwards", "compatibility", "in", "terms", "of", "dashes", "required", "or", "not", ".."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase04processclasses/ProguardMojo.java#L524-L540", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/phase04processclasses/ProguardMojo.java", "func_name": "ProguardMojo.getJVMLibrary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds a library file in either the primary or alternate lib directory.\n@param fileName The base name of the file.\n@return Either a canonical filename, or {@code null} if not found.", "docstring_tokens": ["Finds", "a", "library", "file", "in", "either", "the", "primary", "or", "alternate", "lib", "directory", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/phase04processclasses/ProguardMojo.java#L846-L858", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AndroidNdk.java", "func_name": "AndroidNdk.getToolchain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to resolve the toolchain based on the path of the file.\n\n@param file Native library\n@return String\n@throws MojoExecutionException When no toolchain is found", "docstring_tokens": ["Tries", "to", "resolve", "the", "toolchain", "based", "on", "the", "path", "of", "the", "file", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AndroidNdk.java#L200-L238", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/AndroidNdk.java", "func_name": "AndroidNdk.getNdkBuildPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the complete path for the ndk-build tool, based on this NDK.\n\n@return the complete path as a String, including the tool's filename.", "docstring_tokens": ["Returns", "the", "complete", "path", "for", "the", "ndk", "-", "build", "tool", "based", "on", "this", "NDK", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/AndroidNdk.java#L245-L255", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/standalonemojos/ManifestUpdateMojo.java", "func_name": "ManifestUpdateMojo.readManifest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read manifest using JAXP", "docstring_tokens": ["Read", "manifest", "using", "JAXP"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/standalonemojos/ManifestUpdateMojo.java#L473-L479", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/standalonemojos/ManifestUpdateMojo.java", "func_name": "ManifestUpdateMojo.writeManifest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write manifest using JAXP transformer", "docstring_tokens": ["Write", "manifest", "using", "JAXP", "transformer"], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/standalonemojos/ManifestUpdateMojo.java#L484-L512", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/standalonemojos/ManifestUpdateMojo.java", "func_name": "ManifestUpdateMojo.exportProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Expose the version properties and other simple parsed manifest entries.", "docstring_tokens": ["Expose", "the", "version", "properties", "and", "other", "simple", "parsed", "manifest", "entries", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/standalonemojos/ManifestUpdateMojo.java#L729-L741", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/standalonemojos/ManifestUpdateMojo.java", "func_name": "ManifestUpdateMojo.performVersionCodeUpdateFromVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the specified version name cannot be properly parsed then fall back to\nan automatic method.\nIf the version can be parsed then generate a version code from the\nversion components. In an effort to preseve uniqueness two digits\nare allowed for both the minor and incremental versions.\n@throws MojoExecutionException", "docstring_tokens": ["If", "the", "specified", "version", "name", "cannot", "be", "properly", "parsed", "then", "fall", "back", "to", "an", "automatic", "method", ".", "If", "the", "version", "can", "be", "parsed", "then", "generate", "a", "version", "code", "from", "the", "version", "components", ".", "In", "an", "effort", "to", "preseve", "uniqueness", "two", "digits", "are", "allowed", "for", "both", "the", "minor", "and", "incremental", "versions", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/standalonemojos/ManifestUpdateMojo.java#L764-L772", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/common/NativeHelper.java", "func_name": "NativeHelper.extractArchitectureFromArtifact", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts, if embedded correctly, the artifacts architecture from its classifier. The format of the\nclassifier, if including the architecture is <architecture>-<classifier>. If no\narchitecture is embedded in the classifier, 'armeabi' will be returned.\n\n\n@param artifact The artifact to retrieve the classifier from.\n@param defaultArchitecture The architecture to return if can't be resolved from the classifier\n@return The retrieved architecture, or defaulArchitecture if not resolveable", "docstring_tokens": ["Extracts", "if", "embedded", "correctly", "the", "artifacts", "architecture", "from", "its", "classifier", ".", "The", "format", "of", "the", "classifier", "if", "including", "the", "architecture", "is", "<", ";", "architecture>", ";", "-", "<", ";", "classifier>", ";", ".", "If", "no", "architecture", "is", "embedded", "in", "the", "classifier", "armeabi", "will", "be", "returned", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/common/NativeHelper.java#L271-L294", "partition": "valid"}
+{"repo": "simpligility/android-maven-plugin", "path": "src/main/java/com/simpligility/maven/plugins/android/common/FileRetriever.java", "func_name": "FileRetriever.getFileNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the files in the supplied folder that match the configured includes.\n\n@param baseDirectory Directory to find files in.\n@return String[] of the files' paths and names, relative to baseDirectory. Empty\nString[] if baseDirectory does not exist.", "docstring_tokens": ["Finds", "the", "files", "in", "the", "supplied", "folder", "that", "match", "the", "configured", "includes", "."], "sha": "4d54d38b03bd3601bc25ab314719626a623da460", "url": "https://github.com/simpligility/android-maven-plugin/blob/4d54d38b03bd3601bc25ab314719626a623da460/src/main/java/com/simpligility/maven/plugins/android/common/FileRetriever.java#L30-L44", "partition": "valid"}
+{"repo": "qiniu/happy-dns-android", "path": "library/src/main/java/com/qiniu/android/dns/util/DES.java", "func_name": "DES.encrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert data to encrypted hex string\n@param data data to encrypt\n@param key encrypt key\n@return hex string", "docstring_tokens": ["Convert", "data", "to", "encrypted", "hex", "string"], "sha": "7f2c7223c24a62b82ec413428c1cac18da2f9fe7", "url": "https://github.com/qiniu/happy-dns-android/blob/7f2c7223c24a62b82ec413428c1cac18da2f9fe7/library/src/main/java/com/qiniu/android/dns/util/DES.java#L16-L25", "partition": "valid"}
+{"repo": "qiniu/happy-dns-android", "path": "library/src/main/java/com/qiniu/android/dns/util/DES.java", "func_name": "DES.decrypt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert encrypted hex string to UTF-8 string\n@param data data to decrypt\n@param key decrypt key\n@return UTF-8 string", "docstring_tokens": ["Convert", "encrypted", "hex", "string", "to", "UTF", "-", "8", "string"], "sha": "7f2c7223c24a62b82ec413428c1cac18da2f9fe7", "url": "https://github.com/qiniu/happy-dns-android/blob/7f2c7223c24a62b82ec413428c1cac18da2f9fe7/library/src/main/java/com/qiniu/android/dns/util/DES.java#L33-L42", "partition": "valid"}
+{"repo": "qiniu/happy-dns-android", "path": "library/src/main/java/com/qiniu/android/dns/local/DnsMessage.java", "func_name": "DnsMessage.readName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse a domain name starting at the given offset.\n\n@param data The raw data.\n@param offset The offset.\n@param jumps The list of jumps (by now).\n@return The parsed domain name.\n@throws IOException on cycles.", "docstring_tokens": ["Parse", "a", "domain", "name", "starting", "at", "the", "given", "offset", "."], "sha": "7f2c7223c24a62b82ec413428c1cac18da2f9fe7", "url": "https://github.com/qiniu/happy-dns-android/blob/7f2c7223c24a62b82ec413428c1cac18da2f9fe7/library/src/main/java/com/qiniu/android/dns/local/DnsMessage.java#L146-L169", "partition": "valid"}
+{"repo": "qiniu/happy-dns-android", "path": "library/src/main/java/com/qiniu/android/dns/util/Hex.java", "func_name": "Hex.toDigit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a hexadecimal character to an integer.\n\n@param ch A character to convert to an integer digit\n@param index The index of the character in the source\n@return An integer\n@throws HexDecodeException Thrown if ch is an illegal hex character", "docstring_tokens": ["Converts", "a", "hexadecimal", "character", "to", "an", "integer", "."], "sha": "7f2c7223c24a62b82ec413428c1cac18da2f9fe7", "url": "https://github.com/qiniu/happy-dns-android/blob/7f2c7223c24a62b82ec413428c1cac18da2f9fe7/library/src/main/java/com/qiniu/android/dns/util/Hex.java#L141-L147", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/views/ScrollHeaderFrame.java", "func_name": "ScrollHeaderFrame.tryToMove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "if deltaY > 0, tryToMove the content down", "docstring_tokens": ["if", "deltaY", ">", "0", "tryToMove", "the", "content", "down"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/views/ScrollHeaderFrame.java#L110-L146", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/util/NetworkStatusManager.java", "func_name": "NetworkStatusManager.startListening", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method starts listening for network connectivity state changes.\n\n@param context", "docstring_tokens": ["This", "method", "starts", "listening", "for", "network", "connectivity", "state", "changes", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/util/NetworkStatusManager.java#L157-L166", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/util/NetworkStatusManager.java", "func_name": "NetworkStatusManager.stopListening", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method stops this class from listening for network changes.", "docstring_tokens": ["This", "method", "stops", "this", "class", "from", "listening", "for", "network", "changes", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/util/NetworkStatusManager.java#L171-L181", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/request/sender/MultiPartRequestSender.java", "func_name": "MultiPartRequestSender.send", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "post data to Server", "docstring_tokens": ["post", "data", "to", "Server"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/request/sender/MultiPartRequestSender.java#L40-L66", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/request/sender/MultiPartRequestSender.java", "func_name": "MultiPartRequestSender.addFormField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a form field to the request\n\n@param name field name\n@param value field value", "docstring_tokens": ["Adds", "a", "form", "field", "to", "the", "request"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/request/sender/MultiPartRequestSender.java#L82-L91", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/request/sender/MultiPartRequestSender.java", "func_name": "MultiPartRequestSender.addFilePart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a upload file section to the request\n\n@param fieldName name attribute in \n@param uploadFile a File to be uploaded\n@param fileName the filename field\n@throws IOException", "docstring_tokens": ["Adds", "a", "upload", "file", "section", "to", "the", "request"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/request/sender/MultiPartRequestSender.java#L101-L128", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageProvider.java", "func_name": "ImageProvider.createBitmapDrawable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a BitmapDrawable which can be managed in ImageProvider\n\n@param resources\n@param bitmap\n@return", "docstring_tokens": ["Create", "a", "BitmapDrawable", "which", "can", "be", "managed", "in", "ImageProvider"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageProvider.java#L110-L126", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageLoader.java", "func_name": "ImageLoader.preLoadImages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load the image in advance.", "docstring_tokens": ["Load", "the", "image", "in", "advance", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageLoader.java#L106-L114", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageLoader.java", "func_name": "ImageLoader.detachImageViewFromImageTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detach the ImageView from the ImageTask.\n\n@param imageTask\n@param imageView", "docstring_tokens": ["Detach", "the", "ImageView", "from", "the", "ImageTask", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageLoader.java#L153-L169", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageLoader.java", "func_name": "ImageLoader.addImageTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the ImageTask into loading list.\n\n@param imageTask\n@param imageView", "docstring_tokens": ["Add", "the", "ImageTask", "into", "loading", "list", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageLoader.java#L177-L200", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageLoader.java", "func_name": "ImageLoader.queryCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check weather this imageTask has cache Drawable data.", "docstring_tokens": ["Check", "weather", "this", "imageTask", "has", "cache", "Drawable", "data", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageLoader.java#L205-L224", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageLoader.java", "func_name": "ImageLoader.recoverWork", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recover the from the work list", "docstring_tokens": ["Recover", "the", "from", "the", "work", "list"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageLoader.java#L418-L431", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageLoader.java", "func_name": "ImageLoader.stopWork", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Drop all the work, and leave it in the work list.", "docstring_tokens": ["Drop", "all", "the", "work", "and", "leave", "it", "in", "the", "work", "list", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageLoader.java#L436-L444", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageLoader.java", "func_name": "ImageLoader.destroy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Drop all the work, clear the work list.", "docstring_tokens": ["Drop", "all", "the", "work", "clear", "the", "work", "list", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageLoader.java#L449-L466", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageLoader.java", "func_name": "ImageLoader.attachToCubeFragment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "LiefCycle phase will be same to CubeFragment, an will be processed automatically.\n\n@param fragment\n@return", "docstring_tokens": ["LiefCycle", "phase", "will", "be", "same", "to", "CubeFragment", "an", "will", "be", "processed", "automatically", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageLoader.java#L536-L543", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/cache/CacheManager.java", "func_name": "CacheManager.invalidateCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "delete cache by key\n\n@param key", "docstring_tokens": ["delete", "cache", "by", "key"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/cache/CacheManager.java#L118-L130", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/cache/CacheManager.java", "func_name": "CacheManager.clearDiskCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "clear the disk cache", "docstring_tokens": ["clear", "the", "disk", "cache"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/cache/CacheManager.java#L162-L172", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/set/hash/SimpleHashSet.java", "func_name": "SimpleHashSet.makeTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allocate a table of the given capacity and set the threshold accordingly.\n\n@param newCapacity must be a power of two", "docstring_tokens": ["Allocate", "a", "table", "of", "the", "given", "capacity", "and", "set", "the", "threshold", "accordingly", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/set/hash/SimpleHashSet.java#L144-L150", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/set/hash/SimpleHashSet.java", "func_name": "SimpleHashSet.doubleCapacity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Doubles the capacity of the hash table. Existing entries are placed in\nthe correct bucket on the enlarged table. If the current capacity is,\nMAXIMUM_CAPACITY, this method is a no-op. Returns the table, which\nwill be new unless we were already at MAXIMUM_CAPACITY.", "docstring_tokens": ["Doubles", "the", "capacity", "of", "the", "hash", "table", ".", "Existing", "entries", "are", "placed", "in", "the", "correct", "bucket", "on", "the", "enlarged", "table", ".", "If", "the", "current", "capacity", "is", "MAXIMUM_CAPACITY", "this", "method", "is", "a", "no", "-", "op", ".", "Returns", "the", "table", "which", "will", "be", "new", "unless", "we", "were", "already", "at", "MAXIMUM_CAPACITY", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/set/hash/SimpleHashSet.java#L158-L198", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageDiskCacheProvider.java", "func_name": "ImageDiskCacheProvider.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a bitmap to both memory and disk cache\n\n@param key Unique identifier for the bitmap to store\n@param bitmap The bitmap to store", "docstring_tokens": ["Adds", "a", "bitmap", "to", "both", "memory", "and", "disk", "cache"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageDiskCacheProvider.java#L104-L131", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/diskcache/CacheEntry.java", "func_name": "CacheEntry.getString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the last committed value as a string, or null if no value\nhas been committed.", "docstring_tokens": ["Returns", "the", "last", "committed", "value", "as", "a", "string", "or", "null", "if", "no", "value", "has", "been", "committed", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/diskcache/CacheEntry.java#L75-L78", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/diskcache/CacheEntry.java", "func_name": "CacheEntry.setString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the value", "docstring_tokens": ["Sets", "the", "value"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/diskcache/CacheEntry.java#L83-L92", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/diskcache/CacheEntry.java", "func_name": "CacheEntry.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "delete all content\n\n@return", "docstring_tokens": ["delete", "all", "content"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/diskcache/CacheEntry.java#L121-L128", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/diskcache/CacheEntry.java", "func_name": "CacheEntry.commit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Commits this edit so it is visible to readers. This releases the\nedit lock so another edit may be started on the same key.", "docstring_tokens": ["Commits", "this", "edit", "so", "it", "is", "visible", "to", "readers", ".", "This", "releases", "the", "edit", "lock", "so", "another", "edit", "may", "be", "started", "on", "the", "same", "key", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/diskcache/CacheEntry.java#L134-L153", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/request/RequestData.java", "func_name": "RequestData.addFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "add file to be uploaded\n\n@param fieldName\n@param uploadFile\n@param fileName if provided, will use this as filename\n@return", "docstring_tokens": ["add", "file", "to", "be", "uploaded"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/request/RequestData.java#L160-L164", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/impl/DefaultMemoryCache.java", "func_name": "DefaultMemoryCache.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "clear the memory cache", "docstring_tokens": ["clear", "the", "memory", "cache"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/impl/DefaultMemoryCache.java#L84-L92", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/diskcache/lru/LruActionTracer.java", "func_name": "LruActionTracer.tryToResume", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "try to resume last status when we got off\n\n@throws java.io.IOException", "docstring_tokens": ["try", "to", "resume", "last", "status", "when", "we", "got", "off"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/diskcache/lru/LruActionTracer.java#L101-L131", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/diskcache/lru/LruActionTracer.java", "func_name": "LruActionTracer.processJournal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes the initial size and collects garbage as a part of opening the\ncache. Dirty entries are assumed to be inconsistent and will be deleted.", "docstring_tokens": ["Computes", "the", "initial", "size", "and", "collects", "garbage", "as", "a", "part", "of", "opening", "the", "cache", ".", "Dirty", "entries", "are", "assumed", "to", "be", "inconsistent", "and", "will", "be", "deleted", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/diskcache/lru/LruActionTracer.java#L265-L276", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/diskcache/lru/LruActionTracer.java", "func_name": "LruActionTracer.rebuildJournal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new journal that omits redundant information. This replaces the\ncurrent journal if it exists.", "docstring_tokens": ["Creates", "a", "new", "journal", "that", "omits", "redundant", "information", ".", "This", "replaces", "the", "current", "journal", "if", "it", "exists", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/diskcache/lru/LruActionTracer.java#L282-L307", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/diskcache/lru/LruActionTracer.java", "func_name": "LruActionTracer.trimToSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "remove files from list, delete files", "docstring_tokens": ["remove", "files", "from", "list", "delete", "files"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/diskcache/lru/LruActionTracer.java#L475-L494", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/app/CubeFragmentActivity.java", "func_name": "CubeFragmentActivity.onBackPressed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "process back pressed", "docstring_tokens": ["process", "back", "pressed"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/app/CubeFragmentActivity.java#L132-L161", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/views/loadmore/LoadMoreContainerBase.java", "func_name": "LoadMoreContainerBase.loadMoreFinish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "page has loaded\n\n@param emptyResult\n@param hasMore", "docstring_tokens": ["page", "has", "loaded"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/views/loadmore/LoadMoreContainerBase.java#L185-L195", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageReuseInfoManger.java", "func_name": "ImageReuseInfoManger.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find out the size list can be re-sued.\n\n@param thisSize if \"small_180\" is input\n@return {\"big_360\", \"big_720\"} will be returned.", "docstring_tokens": ["Find", "out", "the", "size", "list", "can", "be", "re", "-", "sued", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageReuseInfoManger.java#L24-L45", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/request/CacheAbleRequest.java", "func_name": "CacheAbleRequest.doRequestSync", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Timeout will not be considerate\n\n@return", "docstring_tokens": ["Timeout", "will", "not", "be", "considerate"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/request/CacheAbleRequest.java#L70-L77", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/request/CacheAbleRequest.java", "func_name": "CacheAbleRequest.notifyRequestFinish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "will only notify once\n\n@param type\n@param outOfDate", "docstring_tokens": ["will", "only", "notify", "once"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/request/CacheAbleRequest.java#L268-L277", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/request/sender/BaseRequestSender.java", "func_name": "BaseRequestSender.getResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Completes the request and receives response from the server.\n\n@return a list of Strings as response in case the server returned\nstatus OK, otherwise an exception is thrown.\n@throws IOException", "docstring_tokens": ["Completes", "the", "request", "and", "receives", "response", "from", "the", "server", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/request/sender/BaseRequestSender.java#L50-L69", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/impl/DefaultImageLoadHandler.java", "func_name": "DefaultImageLoadHandler.setLoadingBitmap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set the placeholder bitmap", "docstring_tokens": ["set", "the", "placeholder", "bitmap"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/impl/DefaultImageLoadHandler.java#L85-L89", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/mints/base/TitleHeaderBar.java", "func_name": "TitleHeaderBar.setCustomizedRightView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set customized view to right side\n\n@param view the view to be added to right side", "docstring_tokens": ["set", "customized", "view", "to", "right", "side"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/mints/base/TitleHeaderBar.java#L123-L128", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/impl/SimpleDownloader.java", "func_name": "SimpleDownloader.downloadToStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Download a bitmap from a URL and write the content to an output stream.", "docstring_tokens": ["Download", "a", "bitmap", "from", "a", "URL", "and", "write", "the", "content", "to", "an", "output", "stream", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/impl/SimpleDownloader.java#L37-L77", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageTask.java", "func_name": "ImageTask.addImageView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Bind ImageView with ImageTask\n\n@param imageView", "docstring_tokens": ["Bind", "ImageView", "with", "ImageTask"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageTask.java#L232-L254", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageTask.java", "func_name": "ImageTask.removeImageView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the ImageView from ImageTask\n\n@param imageView", "docstring_tokens": ["Remove", "the", "ImageView", "from", "ImageTask"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageTask.java#L261-L285", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageTask.java", "func_name": "ImageTask.onLoading", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "When loading from network\n\n@param handler", "docstring_tokens": ["When", "loading", "from", "network"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageTask.java#L305-L323", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageTask.java", "func_name": "ImageTask.onLoadTaskFinish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Will be called when begin load image data from dish or network\n\n@param drawable", "docstring_tokens": ["Will", "be", "called", "when", "begin", "load", "image", "data", "from", "dish", "or", "network"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageTask.java#L343-L375", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageTask.java", "func_name": "ImageTask.joinSizeInfoToKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Join the key and the size information.\n\n@param key\n@param w\n@param h\n@return \"$key\" + \"_\" + \"$w\" + \"_\" + \"$h\"", "docstring_tokens": ["Join", "the", "key", "and", "the", "size", "information", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageTask.java#L457-L462", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/ImageTask.java", "func_name": "ImageTask.joinSizeTagToKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Join the tag with the key.\n\n@param key\n@param tag\n@return \"$key\" + \"_\" + \"$tag\"", "docstring_tokens": ["Join", "the", "tag", "with", "the", "key", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/ImageTask.java#L471-L473", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/cache/DiskCacheProvider.java", "func_name": "DiskCacheProvider.openDiskCacheAsync", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "initiate the disk cache", "docstring_tokens": ["initiate", "the", "disk", "cache"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/cache/DiskCacheProvider.java#L85-L93", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/cache/DiskCacheProvider.java", "func_name": "DiskCacheProvider.flushDiskCacheAsyncWithDelay", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "flush the data to disk cache", "docstring_tokens": ["flush", "the", "data", "to", "disk", "cache"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/cache/DiskCacheProvider.java#L118-L127", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/cache/DiskCacheProvider.java", "func_name": "DiskCacheProvider.getDiskCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If disk is not read, will prepare it first.\n\n@return", "docstring_tokens": ["If", "disk", "is", "not", "read", "will", "prepare", "it", "first", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/cache/DiskCacheProvider.java#L134-L153", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/diskcache/FileUtils.java", "func_name": "FileUtils.deleteDirectoryQuickly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Try to delete directory in a fast way.", "docstring_tokens": ["Try", "to", "delete", "directory", "in", "a", "fast", "way", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/diskcache/FileUtils.java#L69-L101", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/cache/DiskFileUtils.java", "func_name": "DiskFileUtils.getExternalCacheDir", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the external application cache directory.\n\n@param context The context to use\n@return The external cache folder : /storage/sdcard0/Android/data/com.srain.sdk/cache", "docstring_tokens": ["Get", "the", "external", "application", "cache", "directory", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/cache/DiskFileUtils.java#L133-L147", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/cache/DiskFileUtils.java", "func_name": "DiskFileUtils.getUsableSpace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check how much usable space is available at a given path.\n\n@param path The path to check\n@return The space available in bytes by user, not by root, -1 means path is null, 0 means path is not exist.", "docstring_tokens": ["Check", "how", "much", "usable", "space", "is", "available", "at", "a", "given", "path", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/cache/DiskFileUtils.java#L155-L171", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/image/CubeImageView.java", "func_name": "CubeImageView.notifyDrawable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Notifies the drawable that it's displayed state has changed.\n\n@param drawable\n@param isDisplayed", "docstring_tokens": ["Notifies", "the", "drawable", "that", "it", "s", "displayed", "state", "has", "changed", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/image/CubeImageView.java#L53-L64", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/app/CubeFragment.java", "func_name": "CubeFragment.onResume", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Only when Activity resume, not very precise.\nWhen activity recover from partly invisible, onBecomesPartiallyInvisible will be triggered.", "docstring_tokens": ["Only", "when", "Activity", "resume", "not", "very", "precise", ".", "When", "activity", "recover", "from", "partly", "invisible", "onBecomesPartiallyInvisible", "will", "be", "triggered", "."], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/app/CubeFragment.java#L102-L114", "partition": "valid"}
+{"repo": "liaohuqiu/cube-sdk", "path": "core/src/in/srain/cube/views/list/ListPageInfo.java", "func_name": "ListPageInfo.lastItem", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the last item in list\n\n@return", "docstring_tokens": ["the", "last", "item", "in", "list"], "sha": "4446b1f156ad609fe72a4e7cd5de3c4c95761d96", "url": "https://github.com/liaohuqiu/cube-sdk/blob/4446b1f156ad609fe72a4e7cd5de3c4c95761d96/core/src/in/srain/cube/views/list/ListPageInfo.java#L129-L134", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "sample/src/main/java/com/gordonwong/materialsheetfab/sample/Fab.java", "func_name": "Fab.hide", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Hides the FAB.", "docstring_tokens": ["Hides", "the", "FAB", "."], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/sample/src/main/java/com/gordonwong/materialsheetfab/sample/Fab.java#L81-L96", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/animations/MaterialSheetAnimation.java", "func_name": "MaterialSheetAnimation.alignSheetWithFab", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Aligns the sheet's position with the FAB.\n\n@param fab Floating action button", "docstring_tokens": ["Aligns", "the", "sheet", "s", "position", "with", "the", "FAB", "."], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/animations/MaterialSheetAnimation.java#L66-L126", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/animations/MaterialSheetAnimation.java", "func_name": "MaterialSheetAnimation.morphFromFab", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shows the sheet by morphing the FAB into the sheet.\n\n@param fab Floating action button\n@param showSheetDuration Duration of the sheet animation in milliseconds. Use 0 for no\nanimation.\n@param showSheetColorDuration Duration of the color animation in milliseconds. Use 0 for no\nanimation.\n@param listener Listener for animation events.", "docstring_tokens": ["Shows", "the", "sheet", "by", "morphing", "the", "FAB", "into", "the", "sheet", "."], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/animations/MaterialSheetAnimation.java#L138-L143", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/animations/MaterialSheetAnimation.java", "func_name": "MaterialSheetAnimation.morphIntoFab", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Hides the sheet by morphing the sheet into the FAB.\n\n@param fab Floating action button\n@param hideSheetDuration Duration of the sheet animation in milliseconds. Use 0 for no\nanimation.\n@param hideSheetColorDuration Duration of the color animation in milliseconds. Use 0 for no\nanimation.\n@param listener Listener for animation events.", "docstring_tokens": ["Hides", "the", "sheet", "by", "morphing", "the", "sheet", "into", "the", "FAB", "."], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/animations/MaterialSheetAnimation.java#L155-L159", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/animations/OverlayAnimation.java", "func_name": "OverlayAnimation.hide", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Hides the overlay.\n\n@param duration Duration of the animation in milliseconds. Use 0 for no animation.\n@param listener Listener for animation events.", "docstring_tokens": ["Hides", "the", "overlay", "."], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/animations/OverlayAnimation.java#L55-L73", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/MaterialSheetFab.java", "func_name": "MaterialSheetFab.showSheet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shows the sheet.", "docstring_tokens": ["Shows", "the", "sheet", "."], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/MaterialSheetFab.java#L159-L192", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "sample/src/main/java/com/gordonwong/materialsheetfab/sample/MainActivity.java", "func_name": "MainActivity.setupActionBar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets up the action bar.", "docstring_tokens": ["Sets", "up", "the", "action", "bar", "."], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/sample/src/main/java/com/gordonwong/materialsheetfab/sample/MainActivity.java#L63-L66", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "sample/src/main/java/com/gordonwong/materialsheetfab/sample/MainActivity.java", "func_name": "MainActivity.setupDrawer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets up the navigation drawer.", "docstring_tokens": ["Sets", "up", "the", "navigation", "drawer", "."], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/sample/src/main/java/com/gordonwong/materialsheetfab/sample/MainActivity.java#L71-L76", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "sample/src/main/java/com/gordonwong/materialsheetfab/sample/MainActivity.java", "func_name": "MainActivity.setupTabs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets up the tabs.", "docstring_tokens": ["Sets", "up", "the", "tabs", "."], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/sample/src/main/java/com/gordonwong/materialsheetfab/sample/MainActivity.java#L81-L105", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "sample/src/main/java/com/gordonwong/materialsheetfab/sample/MainActivity.java", "func_name": "MainActivity.setupFab", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets up the Floating action button.", "docstring_tokens": ["Sets", "up", "the", "Floating", "action", "button", "."], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/sample/src/main/java/com/gordonwong/materialsheetfab/sample/MainActivity.java#L110-L143", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "sample/src/main/java/com/gordonwong/materialsheetfab/sample/MainActivity.java", "func_name": "MainActivity.updateFab", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the FAB based on the selected page\n\n@param selectedPage selected page", "docstring_tokens": ["Updates", "the", "FAB", "based", "on", "the", "selected", "page"], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/sample/src/main/java/com/gordonwong/materialsheetfab/sample/MainActivity.java#L160-L174", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "sample/src/main/java/com/gordonwong/materialsheetfab/sample/MainActivity.java", "func_name": "MainActivity.updateSnackbar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the snackbar based on the selected page\n\n@param selectedPage selected page", "docstring_tokens": ["Updates", "the", "snackbar", "based", "on", "the", "selected", "page"], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/sample/src/main/java/com/gordonwong/materialsheetfab/sample/MainActivity.java#L181-L193", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/animations/FabAnimation.java", "func_name": "FabAnimation.morphIntoSheet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Animates the FAB as if the FAB is morphing into a sheet.\n\n@param endX The X coordinate that the FAB will be moved to.\n@param endY The Y coordinate that the FAB will be moved to.\n@param side The side of the arc animation.\n@param arcDegrees Amount of arc in FAB movement animation.\n@param scaleFactor Amount to scale FAB.\n@param duration Duration of the animation in milliseconds. Use 0 for no animation.\n@param listener Listener for animation events.", "docstring_tokens": ["Animates", "the", "FAB", "as", "if", "the", "FAB", "is", "morphing", "into", "a", "sheet", "."], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/animations/FabAnimation.java#L38-L41", "partition": "valid"}
+{"repo": "gowong/material-sheet-fab", "path": "material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/animations/FabAnimation.java", "func_name": "FabAnimation.morphFromSheet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Animates the FAB as if a sheet is being morphed into a FAB.\n\n@param endX The X coordinate that the FAB will be moved to.\n@param endY The Y coordinate that the FAB will be moved to.\n@param side The side of the arc animation.\n@param arcDegrees Amount of arc in FAB movement animation.\n@param scaleFactor Amount to scale FAB.\n@param duration Duration of the animation in milliseconds. Use 0 for no animation.\n@param listener Listener for animation events.", "docstring_tokens": ["Animates", "the", "FAB", "as", "if", "a", "sheet", "is", "being", "morphed", "into", "a", "FAB", "."], "sha": "073418db4f945a2731c2b2ff4a35f3081761aa0b", "url": "https://github.com/gowong/material-sheet-fab/blob/073418db4f945a2731c2b2ff4a35f3081761aa0b/material-sheet-fab/src/main/java/com/gordonwong/materialsheetfab/animations/FabAnimation.java#L54-L58", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/suggestions/SuggestionsAdapter.java", "func_name": "SuggestionsAdapter.hideSuggestionsIfNecessary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Hides the suggestions if there are no more incoming queries.\n\n@param currentQuery the most recent {@link QueryToken}\n@param source the associated {@link TokenSource} to use for reference", "docstring_tokens": ["Hides", "the", "suggestions", "if", "there", "are", "no", "more", "incoming", "queries", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/suggestions/SuggestionsAdapter.java#L155-L162", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass-sample/src/main/java/com/linkedin/android/spyglass/sample/data/MentionsLoader.java", "func_name": "MentionsLoader.getSuggestions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a subset", "docstring_tokens": ["Returns", "a", "subset"], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass-sample/src/main/java/com/linkedin/android/spyglass/sample/data/MentionsLoader.java#L51-L63", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/tokenization/impl/WordTokenizer.java", "func_name": "WordTokenizer.containsExplicitChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the input string contains an explicit character.\n\n@param input a {@link CharSequence} to test\n\n@return true if input contains an explicit character", "docstring_tokens": ["Returns", "true", "if", "the", "input", "string", "contains", "an", "explicit", "character", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/tokenization/impl/WordTokenizer.java#L294-L304", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/tokenization/impl/WordTokenizer.java", "func_name": "WordTokenizer.containsWordBreakingChar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the input string contains a word-breaking character.\n\n@param input a {@link CharSequence} to test\n\n@return true if input contains a word-breaking character", "docstring_tokens": ["Returns", "true", "if", "the", "input", "string", "contains", "a", "word", "-", "breaking", "character", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/tokenization/impl/WordTokenizer.java#L313-L323", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/tokenization/impl/WordTokenizer.java", "func_name": "WordTokenizer.onlyLettersOrDigits", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a string and starting index, return true if the first \"numCharsToCheck\" characters at\nthe starting index are either a letter or a digit.\n\n@param input a {@link CharSequence} to test\n@param numCharsToCheck number of characters to examine at starting position\n@param start starting position within the input string\n\n@return true if the first \"numCharsToCheck\" at the starting index are either letters or digits", "docstring_tokens": ["Given", "a", "string", "and", "starting", "index", "return", "true", "if", "the", "first", "numCharsToCheck", "characters", "at", "the", "starting", "index", "are", "either", "a", "letter", "or", "a", "digit", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/tokenization/impl/WordTokenizer.java#L335-L358", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/tokenization/impl/WordTokenizer.java", "func_name": "WordTokenizer.getSearchStartIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the index of the end of the last span before the cursor or\nthe start of the current line if there are no spans before the cursor.\n\n@param text the {@link Spanned} to examine\n@param cursor position of the cursor in text\n\n@return the furthest in front of the cursor to search for the current keywords", "docstring_tokens": ["Returns", "the", "index", "of", "the", "end", "of", "the", "last", "span", "before", "the", "cursor", "or", "the", "start", "of", "the", "current", "line", "if", "there", "are", "no", "spans", "before", "the", "cursor", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/tokenization/impl/WordTokenizer.java#L373-L397", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/tokenization/impl/WordTokenizer.java", "func_name": "WordTokenizer.getSearchEndIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the index of the beginning of the first span after the cursor or\nlength of the text if there are no spans after the cursor.\n\n@param text the {@link Spanned} to examine\n@param cursor position of the cursor in text\n\n@return the furthest behind the cursor to search for the current keywords", "docstring_tokens": ["Returns", "the", "index", "of", "the", "beginning", "of", "the", "first", "span", "after", "the", "cursor", "or", "length", "of", "the", "text", "if", "there", "are", "no", "spans", "after", "the", "cursor", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/tokenization/impl/WordTokenizer.java#L408-L432", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/ui/RichEditorView.java", "func_name": "RichEditorView.displayTextCounter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Show or hide the text counter view.\n\n@param display true to display the text counter view", "docstring_tokens": ["Show", "or", "hide", "the", "text", "counter", "view", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/ui/RichEditorView.java#L257-L263", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/ui/RichEditorView.java", "func_name": "RichEditorView.disableSpellingSuggestions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Disables spelling suggestions from the user's keyboard.\nThis is necessary because some keyboards will replace the input text with\nspelling suggestions automatically, which changes the suggestion results.\nThis results in a confusing user experience.\n\n@param disable {@code true} if spelling suggestions should be disabled, otherwise {@code false}", "docstring_tokens": ["Disables", "spelling", "suggestions", "from", "the", "user", "s", "keyboard", ".", "This", "is", "necessary", "because", "some", "keyboards", "will", "replace", "the", "input", "text", "with", "spelling", "suggestions", "automatically", "which", "changes", "the", "suggestion", "results", ".", "This", "results", "in", "a", "confusing", "user", "experience", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/ui/RichEditorView.java#L414-L428", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/ui/RichEditorView.java", "func_name": "RichEditorView.updateEditorTextCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the TextView counting the number of characters in the editor. Sets not only the content\nof the TextView, but also the color of the text depending if the limit has been reached.", "docstring_tokens": ["Updates", "the", "TextView", "counting", "the", "number", "of", "characters", "in", "the", "editor", ".", "Sets", "not", "only", "the", "content", "of", "the", "TextView", "but", "also", "the", "color", "of", "the", "text", "depending", "if", "the", "limit", "has", "been", "reached", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/ui/RichEditorView.java#L438-L449", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/ui/RichEditorView.java", "func_name": "RichEditorView.setMentionSpanFactory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the factory used to create MentionSpans within this class.\n\n@param factory the {@link MentionsEditText.MentionSpanFactory} to use", "docstring_tokens": ["Sets", "the", "factory", "used", "to", "create", "MentionSpans", "within", "this", "class", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/ui/RichEditorView.java#L590-L594", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/ui/MentionsEditText.java", "func_name": "MentionsEditText.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy the text between start and end in clipboard.\nIf no span is present, text is saved as plain text but if span is present\nsave it in Clipboard using intent.", "docstring_tokens": ["Copy", "the", "text", "between", "start", "and", "end", "in", "clipboard", ".", "If", "no", "span", "is", "present", "text", "is", "saved", "as", "plain", "text", "but", "if", "span", "is", "present", "save", "it", "in", "Clipboard", "using", "intent", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/ui/MentionsEditText.java#L324-L340", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/ui/MentionsEditText.java", "func_name": "MentionsEditText.paste", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Paste clipboard content between min and max positions.", "docstring_tokens": ["Paste", "clipboard", "content", "between", "min", "and", "max", "positions", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/ui/MentionsEditText.java#L345-L353", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/ui/MentionsEditText.java", "func_name": "MentionsEditText.pasteHoneycombImpl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Paste clipboard content between min and max positions. This method is supported for all the api above the 10.\nIf clipboard content contain the MentionSpan, set the span in copied text.", "docstring_tokens": ["Paste", "clipboard", "content", "between", "min", "and", "max", "positions", ".", "This", "method", "is", "supported", "for", "all", "the", "api", "above", "the", "10", ".", "If", "clipboard", "content", "contain", "the", "MentionSpan", "set", "the", "span", "in", "copied", "text", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/ui/MentionsEditText.java#L359-L415", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/ui/MentionsEditText.java", "func_name": "MentionsEditText.updateSelectionIfRequired", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Don't allow user to set starting position or ending position of selection within the mention.", "docstring_tokens": ["Don", "t", "allow", "user", "to", "set", "starting", "position", "or", "ending", "position", "of", "selection", "within", "the", "mention", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/ui/MentionsEditText.java#L502-L520", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/ui/MentionsEditText.java", "func_name": "MentionsEditText.onCursorChanged", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method to handle the cursor changing positions. Returns true if handled, false if it should\nbe passed to the super method.\n\n@param index int position of cursor within the text\n\n@return true if handled", "docstring_tokens": ["Method", "to", "handle", "the", "cursor", "changing", "positions", ".", "Returns", "true", "if", "handled", "false", "if", "it", "should", "be", "passed", "to", "the", "super", "method", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/ui/MentionsEditText.java#L530-L559", "partition": "valid"}
+{"repo": "linkedin/Spyglass", "path": "spyglass/src/main/java/com/linkedin/android/spyglass/ui/MentionsEditText.java", "func_name": "MentionsEditText.deselectAllSpans", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deselects any spans in the editor that are currently selected.", "docstring_tokens": ["Deselects", "any", "spans", "in", "the", "editor", "that", "are", "currently", "selected", "."], "sha": "3816f2da13b75e1a20b2911d1b780b73f44e1150", "url": "https://github.com/linkedin/Spyglass/blob/3816f2da13b75e1a20b2911d1b780b73f44e1150/spyglass/src/main/java/com/linkedin/android/spyglass/ui/MentionsEditText.java#L928-L939", "partition": "valid"}
+{"repo": "dropwizard-jobs/dropwizard-jobs", "path": "dropwizard-jobs-core/src/main/java/io/dropwizard/jobs/parser/TimeParserUtil.java", "func_name": "TimeParserUtil.parseDuration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse a duration\n\n@param duration\n1d, 3h, 2mn, 7s, 50ms\n@return The number of milliseconds", "docstring_tokens": ["Parse", "a", "duration"], "sha": "3592b586eacde6ace1e7abe7daf680ab853d03e7", "url": "https://github.com/dropwizard-jobs/dropwizard-jobs/blob/3592b586eacde6ace1e7abe7daf680ab853d03e7/dropwizard-jobs-core/src/main/java/io/dropwizard/jobs/parser/TimeParserUtil.java#L25-L55", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGUtils.java", "func_name": "SVGUtils.escapeForXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new string where any special characters in the source string\nhave been encoded.\n\n@param source the source string ({@code null} not permitted).\n\n@return A new string with special characters escaped for XML.\n\n@since 1.5", "docstring_tokens": ["Returns", "a", "new", "string", "where", "any", "special", "characters", "in", "the", "source", "string", "have", "been", "encoded", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGUtils.java#L65-L104", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGUtils.java", "func_name": "SVGUtils.writeToHTML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes an HTML file containing an SVG element.\n\n@param file the file.\n@param title the title.\n@param svgElement the SVG element.\n\n@throws IOException if there is an I/O problem.", "docstring_tokens": ["Writes", "an", "HTML", "file", "containing", "an", "SVG", "element", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGUtils.java#L165-L193", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphicsConfiguration.java", "func_name": "SVGGraphicsConfiguration.createCompatibleImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a compatible image. This override is only here to provide\nsupport for Java 6 because from Java 7 onwards the super class has a\nnon-abstract implementation for this method.\n\n@param width the width.\n@param height the height.\n\n@return A compatible image.", "docstring_tokens": ["Creates", "a", "compatible", "image", ".", "This", "override", "is", "only", "here", "to", "provide", "support", "for", "Java", "6", "because", "from", "Java", "7", "onwards", "the", "super", "class", "has", "a", "non", "-", "abstract", "implementation", "for", "this", "method", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphicsConfiguration.java#L152-L159", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphicsConfiguration.java", "func_name": "SVGGraphicsConfiguration.createCompatibleVolatileImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a volatile image. This method is a workaround for a\nClassCastException that occurs on MacOSX when exporting a Swing UI\nthat uses the Nimbus Look and Feel to SVG.\n\n@param width the image width.\n@param height the image height.\n@param caps the image capabilities.\n@param transparency the transparency.\n\n@return The volatile image.\n\n@throws AWTException if there is a problem creating the image.", "docstring_tokens": ["Returns", "a", "volatile", "image", ".", "This", "method", "is", "a", "workaround", "for", "a", "ClassCastException", "that", "occurs", "on", "MacOSX", "when", "exporting", "a", "Swing", "UI", "that", "uses", "the", "Nimbus", "Look", "and", "Feel", "to", "SVG", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphicsConfiguration.java#L178-L187", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/ViewBox.java", "func_name": "ViewBox.valueStr", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a string containing the view box coordinates and dimensions.\n\n@return A string containing the view box coordinates and dimensions.", "docstring_tokens": ["Returns", "a", "string", "containing", "the", "view", "box", "coordinates", "and", "dimensions", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/ViewBox.java#L70-L74", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/StandardFontMapper.java", "func_name": "StandardFontMapper.mapFont", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Maps the specified font family name to an alternative, or else returns\nthe same family name.\n\n@param family the font family name ({@code null} not permitted).\n\n@return The same font family name or an alternative (never {@code null}).", "docstring_tokens": ["Maps", "the", "specified", "font", "family", "name", "to", "an", "alternative", "or", "else", "returns", "the", "same", "family", "name", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/StandardFontMapper.java#L96-L104", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.setShapeRendering", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the value of the 'shape-rendering' property that will be written to\nthe SVG element. Permitted values are \"auto\", \"crispEdges\",\n\"geometricPrecision\", \"inherit\" and \"optimizeSpeed\".\n\n@param value the new value.\n\n@since 2.0", "docstring_tokens": ["Sets", "the", "value", "of", "the", "shape", "-", "rendering", "property", "that", "will", "be", "written", "to", "the", "SVG", "element", ".", "Permitted", "values", "are", "auto", "crispEdges", "geometricPrecision", "inherit", "and", "optimizeSpeed", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L536-L543", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.setTextRendering", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the value of the 'text-rendering' property that will be written to\nthe SVG element. Permitted values are \"auto\", \"optimizeSpeed\",\n\"optimizeLegibility\" and \"geometricPrecision\".\n\n@param value the new value.\n\n@since 2.0", "docstring_tokens": ["Sets", "the", "value", "of", "the", "text", "-", "rendering", "property", "that", "will", "be", "written", "to", "the", "SVG", "element", ".", "Permitted", "values", "are", "auto", "optimizeSpeed", "optimizeLegibility", "and", "geometricPrecision", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L566-L573", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.appendOptionalElementIDFromHint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A utility method that appends an optional element id if one is\nspecified via the rendering hints.\n\n@param sb the string builder ({@code null} not permitted).", "docstring_tokens": ["A", "utility", "method", "that", "appends", "an", "optional", "element", "id", "if", "one", "is", "specified", "via", "the", "rendering", "hints", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L1151-L1163", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.getSVGPathData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an SVG path string for the supplied Java2D path.\n\n@param path the path ({@code null} not permitted).\n\n@return An SVG path string.", "docstring_tokens": ["Creates", "an", "SVG", "path", "string", "for", "the", "supplied", "Java2D", "path", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L1326-L1369", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.rgbColorStr", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the SVG RGB color string for the specified color.\n\n@param c the color ({@code null} not permitted).\n\n@return The SVG RGB color string.", "docstring_tokens": ["Returns", "the", "SVG", "RGB", "color", "string", "for", "the", "specified", "color", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L1413-L1418", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.rgbaColorStr", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a string representing the specified color in RGBA format.\n\n@param c the color ({@code null} not permitted).\n\n@return The SVG RGBA color string.", "docstring_tokens": ["Returns", "a", "string", "representing", "the", "specified", "color", "in", "RGBA", "format", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L1427-L1435", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.strokeStyle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a stroke style string based on the current stroke and\nalpha settings.\n\n@return A stroke style string.", "docstring_tokens": ["Returns", "a", "stroke", "style", "string", "based", "on", "the", "current", "stroke", "and", "alpha", "settings", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L1447-L1516", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.getSVGFillStyle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a fill style string based on the current paint and\nalpha settings.\n\n@return A fill style string.", "docstring_tokens": ["Returns", "a", "fill", "style", "string", "based", "on", "the", "current", "paint", "and", "alpha", "settings", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L1538-L1543", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.getSVGFontStyle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a string containing font style info.\n\n@return A string containing font style info.", "docstring_tokens": ["Returns", "a", "string", "containing", "font", "style", "info", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L1629-L1644", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.getFontMetrics", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the font metrics for the specified font.\n\n@param f the font.\n\n@return The font metrics.", "docstring_tokens": ["Returns", "the", "font", "metrics", "for", "the", "specified", "font", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L1653-L1664", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.scale", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Applies a scale transformation.\n\n@param sx the x-scaling factor.\n@param sy the y-scaling factor.", "docstring_tokens": ["Applies", "a", "scale", "transformation", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L1856-L1861", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.transform", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Applies this transform to the existing transform by concatenating it.\n\n@param t the transform ({@code null} not permitted).", "docstring_tokens": ["Applies", "this", "transform", "to", "the", "existing", "transform", "by", "concatenating", "it", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L1884-L1889", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.setTransform", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the transform.\n\n@param t the new transform ({@code null} permitted, resets to the\nidentity transform).\n\n@see #getTransform()", "docstring_tokens": ["Sets", "the", "transform", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L1911-L1919", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.setClip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the user clipping region.\n\n@param shape the new user clipping region ({@code null} permitted).\n\n@see #getClip()", "docstring_tokens": ["Sets", "the", "user", "clipping", "region", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L2012-L2017", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.registerClip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Registers the clip so that we can later write out all the clip\ndefinitions in the DEFS element.\n\n@param clip the clip (ignored if {@code null})", "docstring_tokens": ["Registers", "the", "clip", "so", "that", "we", "can", "later", "write", "out", "all", "the", "clip", "definitions", "in", "the", "DEFS", "element", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L2025-L2038", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.clip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clips to the intersection of the current clipping region and the\nspecified shape.\n\nAccording to the Oracle API specification, this method will accept a\n{@code null} argument, but there is an open bug report (since 2004)\nthat suggests this is wrong:\n
\n\nhttp://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6206189\n\n@param s the clip shape ({@code null} not permitted).", "docstring_tokens": ["Clips", "to", "the", "intersection", "of", "the", "current", "clipping", "region", "and", "the", "specified", "shape", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L2080-L2099", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.clipRect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clips to the intersection of the current clipping region and the\nspecified rectangle.\n\n@param x the x-coordinate.\n@param y the y-coordinate.\n@param width the width.\n@param height the height.", "docstring_tokens": ["Clips", "to", "the", "intersection", "of", "the", "current", "clipping", "region", "and", "the", "specified", "rectangle", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L2110-L2114", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.setClip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the user clipping region to the specified rectangle.\n\n@param x the x-coordinate.\n@param y the y-coordinate.\n@param width the width.\n@param height the height.\n\n@see #getClip()", "docstring_tokens": ["Sets", "the", "user", "clipping", "region", "to", "the", "specified", "rectangle", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L2126-L2130", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.getPNGBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the bytes representing a PNG format image.\n\n@param img the image to encode.\n\n@return The bytes representing a PNG format image.", "docstring_tokens": ["Returns", "the", "bytes", "representing", "a", "PNG", "format", "image", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L2358-L2377", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.drawRenderedImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Draws the rendered image.\n\n@param img the image.\n@param xform the transform.", "docstring_tokens": ["Draws", "the", "rendered", "image", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L2600-L2604", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.drawRenderableImage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Draws the renderable image.\n\n@param img the renderable image.\n@param xform the transform.", "docstring_tokens": ["Draws", "the", "renderable", "image", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L2612-L2617", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.getRadialGradientElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an element to represent a radial gradient. All the radial\ngradients that are used get written to the DEFS element in the SVG.\n\n@param id the reference id.\n@param rgp the radial gradient.\n\n@return The SVG element.", "docstring_tokens": ["Returns", "an", "element", "to", "represent", "a", "radial", "gradient", ".", "All", "the", "radial", "gradients", "that", "are", "used", "get", "written", "to", "the", "DEFS", "element", "in", "the", "SVG", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L2923-L2950", "partition": "valid"}
+{"repo": "jfree/jfreesvg", "path": "src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java", "func_name": "SVGGraphics2D.getClipPathRef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a clip path reference for the current user clip. This is\nwritten out on all SVG elements that draw or fill shapes or text.\n\n@return A clip path reference.", "docstring_tokens": ["Returns", "a", "clip", "path", "reference", "for", "the", "current", "user", "clip", ".", "This", "is", "written", "out", "on", "all", "SVG", "elements", "that", "draw", "or", "fill", "shapes", "or", "text", "."], "sha": "2e6cd5f8dde71e37704e4d786e3b64235326adaf", "url": "https://github.com/jfree/jfreesvg/blob/2e6cd5f8dde71e37704e4d786e3b64235326adaf/src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java#L2958-L2968", "partition": "valid"}
+{"repo": "tomasbjerre/violations-lib", "path": "src/main/java/se/bjurr/violations/lib/util/ViolationParserUtils.java", "func_name": "ViolationParserUtils.getParts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Match one regexp at a time. Remove the matched part from the string, trim, and match next\nregexp on that string...", "docstring_tokens": ["Match", "one", "regexp", "at", "a", "time", ".", "Remove", "the", "matched", "part", "from", "the", "string", "trim", "and", "match", "next", "regexp", "on", "that", "string", "..."], "sha": "981948b27bdee0e3a2e4b63fd1bfe75b81f22d2c", "url": "https://github.com/tomasbjerre/violations-lib/blob/981948b27bdee0e3a2e4b63fd1bfe75b81f22d2c/src/main/java/se/bjurr/violations/lib/util/ViolationParserUtils.java#L164-L178", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/BaseService.java", "func_name": "BaseService.recordLevel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prefixes the stats key with the stat key prefix, and then calls statsCollector.recordLevel.\n\n@param statKey statKey\n@param level level", "docstring_tokens": ["Prefixes", "the", "stats", "key", "with", "the", "stat", "key", "prefix", "and", "then", "calls", "statsCollector", ".", "recordLevel", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/BaseService.java#L49-L52", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/BaseService.java", "func_name": "BaseService.recordTiming", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prefixes the stats key with the stat key prefix, and then calls statsCollector.recordTiming.\n\n@param statKey statKey\n@param timeSpan timeSpan", "docstring_tokens": ["Prefixes", "the", "stats", "key", "with", "the", "stat", "key", "prefix", "and", "then", "calls", "statsCollector", ".", "recordTiming", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/BaseService.java#L84-L87", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java", "func_name": "ProxyServiceImpl.trackTimeouts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tracks timeouts periodically if timeout tracking is enabled.", "docstring_tokens": ["Tracks", "timeouts", "periodically", "if", "timeout", "tracking", "is", "enabled", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java#L169-L200", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java", "func_name": "ProxyServiceImpl.checkClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks client health periodically to see if we are connected. Tries to reconnect if not connected.", "docstring_tokens": ["Checks", "client", "health", "periodically", "to", "see", "if", "we", "are", "connected", ".", "Tries", "to", "reconnect", "if", "not", "connected", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java#L205-L253", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java", "func_name": "ProxyServiceImpl.handleRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Request coming from the client side.\n\n@param clientRequest clientRequest", "docstring_tokens": ["Request", "coming", "from", "the", "client", "side", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java#L260-L270", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java", "func_name": "ProxyServiceImpl.createBackEndRequestPopulateAndForward", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a backend request from the client request and then forwards it.\n\n@param clientRequest clientRequest", "docstring_tokens": ["Creates", "a", "backend", "request", "from", "the", "client", "request", "and", "then", "forwards", "it", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java#L277-L334", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java", "func_name": "ProxyServiceImpl.handleHttpClientErrorsForBackend", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle errors.\n\n@param clientRequest clientRequest\n@param e exception", "docstring_tokens": ["Handle", "errors", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java#L342-L364", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java", "func_name": "ProxyServiceImpl.handleBackendClientResponses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle a response from the backend service\n\n@param clientRequest clientRequest (original client request)\n@param code response code from the backend.\n@param contentType contentType from the backend.\n@param body body from the backend.\n@param headers headers from the backend.", "docstring_tokens": ["Handle", "a", "response", "from", "the", "backend", "service"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java#L375-L390", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java", "func_name": "ProxyServiceImpl.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Manage periodic jobs.", "docstring_tokens": ["Manage", "periodic", "jobs", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java#L395-L401", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/lokate/LokateServiceDiscoveryProvider.java", "func_name": "LokateServiceDiscoveryProvider.createLokateServiceDiscovery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create service discovery that can talk via Lokate.\n\n@param configs configs\n@return ServiceDiscovery", "docstring_tokens": ["Create", "service", "discovery", "that", "can", "talk", "via", "Lokate", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/lokate/LokateServiceDiscoveryProvider.java#L30-L38", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java", "func_name": "ServiceBundleImpl.doCall", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handles calling a method\n\n@param methodCall method call", "docstring_tokens": ["Handles", "calling", "a", "method"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java#L209-L239", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java", "func_name": "ServiceBundleImpl.call", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Call the method.", "docstring_tokens": ["Call", "the", "method", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java#L457-L468", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java", "func_name": "ServiceBundleImpl.createLocalProxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a proxy interface to a particular client. Given a particular address.\n\n@param serviceInterface client view interface of client\n@param myService address or name of client\n@param type of client\n@return proxy client to client", "docstring_tokens": ["Creates", "a", "proxy", "interface", "to", "a", "particular", "client", ".", "Given", "a", "particular", "address", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java#L486-L498", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java", "func_name": "ServiceBundleImpl.beforeMethodCall", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handles before call operation\n\n@param methodCall method call\n@param continueCall should we continue the call.\n@return call object which could have been transformed", "docstring_tokens": ["Handles", "before", "call", "operation"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java#L573-L586", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java", "func_name": "ServiceBundleImpl.transformBeforeMethodCall", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handles the before argument transformer.\n\n@param methodCall method call that we might transform\n@return method call", "docstring_tokens": ["Handles", "the", "before", "argument", "transformer", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java#L594-L600", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java", "func_name": "ServiceBundleImpl.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stop the client bundle.", "docstring_tokens": ["Stop", "the", "client", "bundle", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java#L614-L636", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java", "func_name": "ServiceBundleImpl.startUpCallQueue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start the client bundle.", "docstring_tokens": ["Start", "the", "client", "bundle", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/impl/ServiceBundleImpl.java#L715-L750", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsSupport.java", "func_name": "DnsSupport.findServiceName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Looks up a service name based on its dns service name. The service part of the SRV DNS Record.\n\n@param dnsServiceName dnsServiceName\n@return serviceName", "docstring_tokens": ["Looks", "up", "a", "service", "name", "based", "on", "its", "dns", "service", "name", ".", "The", "service", "part", "of", "the", "SRV", "DNS", "Record", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsSupport.java#L92-L99", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsSupport.java", "func_name": "DnsSupport.loadServiceEndpointsByServiceName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load the service nodes based on the internal service name.\nDB, Ingester, RadarAggregator, etc.\n\n@param callback callback\n@param serviceName serviceName", "docstring_tokens": ["Load", "the", "service", "nodes", "based", "on", "the", "internal", "service", "name", ".", "DB", "Ingester", "RadarAggregator", "etc", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsSupport.java#L124-L128", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsSupport.java", "func_name": "DnsSupport.convertSrvRecordToEndpointDefinition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a single srvRecord into an EndpointDefinition.\n\n@param srvRecord srvRecord\n@return EndpointDefinition from srvRecord", "docstring_tokens": ["Convert", "a", "single", "srvRecord", "into", "an", "EndpointDefinition", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsSupport.java#L195-L198", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/http/server/CorsResponseDecorator.java", "func_name": "CorsResponseDecorator.checkRequestType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines the request type.\n\n@param request request\n@return CORs request type.", "docstring_tokens": ["Determines", "the", "request", "type", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/http/server/CorsResponseDecorator.java#L447-L502", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/vertx/src/main/java/io/advantageous/qbit/vertx/http/server/HttpServerVertx.java", "func_name": "HttpServerVertx.handleHttpRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle a vertx request by converting it into a QBit request.\n\n@param request request", "docstring_tokens": ["Handle", "a", "vertx", "request", "by", "converting", "it", "into", "a", "QBit", "request", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/vertx/src/main/java/io/advantageous/qbit/vertx/http/server/HttpServerVertx.java#L272-L301", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/impl/BaseServiceQueueImpl.java", "func_name": "BaseServiceQueueImpl.doHandleMethodCall", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is where all of the action is.\n\n@param methodCall methodCall\n@param serviceMethodHandler handler", "docstring_tokens": ["This", "method", "is", "where", "all", "of", "the", "action", "is", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/impl/BaseServiceQueueImpl.java#L214-L262", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/consul-client/src/main/java/io/advantageous/consul/Consul.java", "func_name": "Consul.consul", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new client given a host and a port.\n\n@param host The Consul API hostname or IP.\n@param port The Consul port.\n@return A new client.", "docstring_tokens": ["Creates", "a", "new", "client", "given", "a", "host", "and", "a", "port", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/consul-client/src/main/java/io/advantageous/consul/Consul.java#L77-L83", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsClientFromResolveConfSupplier.java", "func_name": "DnsClientFromResolveConfSupplier.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a DNS client.\n\n@return dns client.", "docstring_tokens": ["Get", "a", "DNS", "client", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsClientFromResolveConfSupplier.java#L61-L72", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/queue/impl/BasicQueue.java", "func_name": "BasicQueue.receiveQueue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This returns a new instance of ReceiveQueue every time you call it\nso call it only once per thread.\n\n@return received queue", "docstring_tokens": ["This", "returns", "a", "new", "instance", "of", "ReceiveQueue", "every", "time", "you", "call", "it", "so", "call", "it", "only", "once", "per", "thread", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/queue/impl/BasicQueue.java#L137-L141", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/queue/impl/BasicQueue.java", "func_name": "BasicQueue.sendQueue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This returns a new instance of SendQueue every time you call it\nso call it only once per thread.\n\n@return sendQueue.", "docstring_tokens": ["This", "returns", "a", "new", "instance", "of", "SendQueue", "every", "time", "you", "call", "it", "so", "call", "it", "only", "once", "per", "thread", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/queue/impl/BasicQueue.java#L149-L153", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reakt/Reakt.java", "func_name": "Reakt.convertPromise", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a Reakt promise into a QBit callback.\n\n@param promise reakt promise\n@param type of promise\n@return new QBit callback that wraps promise.", "docstring_tokens": ["Converts", "a", "Reakt", "promise", "into", "a", "QBit", "callback", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reakt/Reakt.java#L26-L28", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reakt/Reakt.java", "func_name": "Reakt.convertPromise", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a Reakt promise into a QBit callback.\nReactor is used to manage timeouts and ensure callback happens on same thread as caller.\n\n@param reactor QBit reactor\n@param promise reakt promise\n@param type of promise\n@return new QBit callback that wraps promise.", "docstring_tokens": ["Converts", "a", "Reakt", "promise", "into", "a", "QBit", "callback", ".", "Reactor", "is", "used", "to", "manage", "timeouts", "and", "ensure", "callback", "happens", "on", "same", "thread", "as", "caller", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reakt/Reakt.java#L39-L41", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reakt/Reakt.java", "func_name": "Reakt.callback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a QBit callback based on promise created.\n\n@param promiseConsumer promise consumer\n@param T\n@return QBit callback", "docstring_tokens": ["Creates", "a", "QBit", "callback", "based", "on", "promise", "created", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reakt/Reakt.java#L108-L112", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/discovery/impl/ServiceDiscoveryImpl.java", "func_name": "ServiceDiscoveryImpl.loadHealthyServices", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Iterate through the health service queue and load the services.", "docstring_tokens": ["Iterate", "through", "the", "health", "service", "queue", "and", "load", "the", "services", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/discovery/impl/ServiceDiscoveryImpl.java#L382-L407", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/discovery/impl/ServiceDiscoveryImpl.java", "func_name": "ServiceDiscoveryImpl.doFailOverHealthServicesLoad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the primary load failed, we could have a backup provider registered.\n\n@param serviceNameToFetch service pool to fetch\n@param ex", "docstring_tokens": ["If", "the", "primary", "load", "failed", "we", "could", "have", "a", "backup", "provider", "registered", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/discovery/impl/ServiceDiscoveryImpl.java#L438-L460", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsSingleClientSupplier.java", "func_name": "DnsSingleClientSupplier.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Supply an instance of DnsClient.\n\n@return DnsClient.", "docstring_tokens": ["Supply", "an", "instance", "of", "DnsClient", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsSingleClientSupplier.java#L56-L61", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java", "func_name": "Reactor.addOneShotAfterTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a task that gets executed once.\n\n@param fireAfter run task after time period\n@param timeUnit unit for fireAfter\n@param task task to perform", "docstring_tokens": ["Add", "a", "task", "that", "gets", "executed", "once", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java#L134-L137", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java", "func_name": "Reactor.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process items in reactor.", "docstring_tokens": ["Process", "items", "in", "reactor", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java#L164-L182", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java", "func_name": "Reactor.removeFuture", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove a callback from the list of callbacks that we are managing.\n\n@param asyncFutureCallback asyncFutureCallback\n@param T\n@return the callback that we removed.", "docstring_tokens": ["Remove", "a", "callback", "from", "the", "list", "of", "callbacks", "that", "we", "are", "managing", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java#L447-L451", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java", "func_name": "Reactor.coordinateWithTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Utility method to create a coordinator.\n\n@param coordinator coordinator\n@param startTime startTime\n@param timeoutDuration timeoutDuration\n@param timeUnit timeUnit\n@param timeOutHandler timeOutHandler\n@param finishedHandler finishedHandler\n@return callback coordinator", "docstring_tokens": ["Utility", "method", "to", "create", "a", "coordinator", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java#L464-L543", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java", "func_name": "Reactor.monitorCallBacks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Monitors timeouts. If the callback timed-out trigger it, and then remove callback from the list.", "docstring_tokens": ["Monitors", "timeouts", ".", "If", "the", "callback", "timed", "-", "out", "trigger", "it", "and", "then", "remove", "callback", "from", "the", "list", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java#L548-L566", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java", "func_name": "Reactor.monitorCallbackCoordinators", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Monitors Callback Coordinators.\nTrigger timeouts if needed and remove coordinators from list that timed out.", "docstring_tokens": ["Monitors", "Callback", "Coordinators", ".", "Trigger", "timeouts", "if", "needed", "and", "remove", "coordinators", "from", "list", "that", "timed", "out", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java#L572-L589", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java", "func_name": "Reactor.wrapCallbackWithTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used for quickly delegating one callback to another.\nThis allows one liners so you don't have to create a builder for this common case.\n\n@param operationDescription Describe the operation for logging\n@param callback callback to delegate error and timeouts too.\n@param logger logger to log errors and timeouts.\n@param Generic type\n@param timeoutDuration time out duration\n@param timeUnit Time Unit\n@return wrapped callback that is tied to this reactor.", "docstring_tokens": ["Used", "for", "quickly", "delegating", "one", "callback", "to", "another", ".", "This", "allows", "one", "liners", "so", "you", "don", "t", "have", "to", "create", "a", "builder", "for", "this", "common", "case", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/Reactor.java#L680-L703", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyBuilder.java", "func_name": "ProxyBuilder.build", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build the impl.\n\n@return returns an instance of the impl.", "docstring_tokens": ["Build", "the", "impl", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyBuilder.java#L211-L216", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyBuilder.java", "func_name": "ProxyBuilder.buildProxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a proxy queue service to the impl.\n\n@return proxy queue service interface to impl.", "docstring_tokens": ["Builds", "a", "proxy", "queue", "service", "to", "the", "impl", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyBuilder.java#L223-L226", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/server/WebSocketServiceServerHandler.java", "func_name": "WebSocketServiceServerHandler.handleWebSocketCall", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "All WebSocket calls come through here.\n\n@param webSocketMessage websocket message", "docstring_tokens": ["All", "WebSocket", "calls", "come", "through", "here", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/server/WebSocketServiceServerHandler.java#L120-L149", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/proxy/HttpProxy.java", "func_name": "HttpProxy.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start this.", "docstring_tokens": ["Start", "this", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/proxy/HttpProxy.java#L40-L44", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/events/impl/ChannelManager.java", "func_name": "ChannelManager.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an event listener to the channel\nThere can only be one consumer and many listeners.\n\n@param eventListener eventListener", "docstring_tokens": ["Add", "an", "event", "listener", "to", "the", "channel", "There", "can", "only", "be", "one", "consumer", "and", "many", "listeners", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/events/impl/ChannelManager.java#L68-L77", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsUtil.java", "func_name": "DnsUtil.createDnsServiceDiscovery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create service discovery that can talk DNS.\n@return ServiceDiscovery", "docstring_tokens": ["Create", "service", "discovery", "that", "can", "talk", "DNS", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsUtil.java#L71-L87", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/boon/spi/BoonJsonMapper.java", "func_name": "BoonJsonMapper.fromJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert from json string using Class as a suggestion for how to do the parse.\n\n@param json json\n@param cls cls\n@param Type\n@return Java object of Type T", "docstring_tokens": ["Convert", "from", "json", "string", "using", "Class", "as", "a", "suggestion", "for", "how", "to", "do", "the", "parse", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/boon/spi/BoonJsonMapper.java#L116-L119", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/boon/spi/BoonJsonMapper.java", "func_name": "BoonJsonMapper.fromJsonArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts from a json string using componentClass as a guide to a List.\n\n@param json json\n@param componentClass componentClass\n@param Type\n@return List of Java objects of Type T.", "docstring_tokens": ["Converts", "from", "a", "json", "string", "using", "componentClass", "as", "a", "guide", "to", "a", "List", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/boon/spi/BoonJsonMapper.java#L130-L133", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/boon/spi/BoonJsonMapper.java", "func_name": "BoonJsonMapper.toJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts from Object into JSON string.\n\n@param object object to convert to JSON.\n@return json string", "docstring_tokens": ["Converts", "from", "Object", "into", "JSON", "string", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/boon/spi/BoonJsonMapper.java#L142-L145", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/boon/spi/BoonJsonMapper.java", "func_name": "BoonJsonMapper.fromJsonMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts from a json string using componentClassKey and componentClassValue as a guide to a Map.\n\n@param json json string\n@param componentClassKey componentClassKey type of Key\n@param componentClassValue componentClassValue type of value\n@param K type of map key\n@param V type of map value\n@return Map", "docstring_tokens": ["Converts", "from", "a", "json", "string", "using", "componentClassKey", "and", "componentClassValue", "as", "a", "guide", "to", "a", "Map", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/boon/spi/BoonJsonMapper.java#L158-L163", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/boon/spi/BoonJsonMapper.java", "func_name": "BoonJsonMapper.convertToMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method.\nConverts a value map into a regular map of Java basic types.\n\n@param valueMap valueMap\n@param V\n@return regular map", "docstring_tokens": ["Helper", "method", ".", "Converts", "a", "value", "map", "into", "a", "regular", "map", "of", "Java", "basic", "types", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/boon/spi/BoonJsonMapper.java#L288-L319", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/boon/service/impl/BoonServiceMethodCallHandler.java", "func_name": "BoonServiceMethodCallHandler.couldHaveCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "False is unknown, true is no callbacks.\n\n@param name name of method\n@return false signifies maybe, true means never.", "docstring_tokens": ["False", "is", "unknown", "true", "is", "no", "callbacks", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/boon/service/impl/BoonServiceMethodCallHandler.java#L111-L119", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java", "func_name": "CallbackBuilder.setCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builder method to add a callback handler.\n\n@param returnType returnType\n@param callback callback\n@param T\n@return this", "docstring_tokens": ["Builder", "method", "to", "add", "a", "callback", "handler", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java#L108-L110", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java", "func_name": "CallbackBuilder.wrap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builder method to wrap and delegate, timeout and error handling and callback itself.\n\n@param callback callback\n@param T\n@return this", "docstring_tokens": ["Builder", "method", "to", "wrap", "and", "delegate", "timeout", "and", "error", "handling", "and", "callback", "itself", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java#L150-L159", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java", "func_name": "CallbackBuilder.withListCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builder method to set callback handler that takes a list\n\n@param componentClass componentClass\n@param callback callback\n@param T\n@return this", "docstring_tokens": ["Builder", "method", "to", "set", "callback", "handler", "that", "takes", "a", "list"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java#L235-L239", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java", "func_name": "CallbackBuilder.withSetCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builder method to set callback handler that takes a set\n\n@param componentClass componentClass\n@param callback callback\n@param T\n@return this", "docstring_tokens": ["Builder", "method", "to", "set", "callback", "handler", "that", "takes", "a", "set"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java#L250-L254", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java", "func_name": "CallbackBuilder.withCollectionCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builder method to set callback handler that takes a collection\n\n@param componentClass componentClass\n@param callback callback\n@param T\n@return this", "docstring_tokens": ["Builder", "method", "to", "set", "callback", "handler", "that", "takes", "a", "collection"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java#L265-L269", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java", "func_name": "CallbackBuilder.withMapCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builder method to set callback handler that takes a map\n\n@param keyClass keyClass\n@param valueClass valueClass\n@param callback callback\n@param key type\n@param value type\n@return this", "docstring_tokens": ["Builder", "method", "to", "set", "callback", "handler", "that", "takes", "a", "map"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java#L282-L287", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java", "func_name": "CallbackBuilder.withOptionalCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builder method to set callback handler that takes an optional string\n\n@param cls class\n@param callback callback\n@param type of callback\n@return this", "docstring_tokens": ["Builder", "method", "to", "set", "callback", "handler", "that", "takes", "an", "optional", "string"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/reactive/CallbackBuilder.java#L357-L360", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/http/request/HttpResponseBuilder.java", "func_name": "HttpResponseBuilder.addHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a header\n\n@param name name\n@param value value\n@return HttpResponseBuilder", "docstring_tokens": ["Add", "a", "header"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/http/request/HttpResponseBuilder.java#L132-L135", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java", "func_name": "AgentEndpoint.isServiceRegistered", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks to see if a service is registered with the local agent..\n\n@param serviceId service id\n@return true if a particular service is registered with\nthe local Consul agent, otherwise false.", "docstring_tokens": ["Checks", "to", "see", "if", "a", "service", "is", "registered", "with", "the", "local", "agent", ".."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java#L72-L75", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java", "func_name": "AgentEndpoint.pingAgent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pings the Consul Agent.", "docstring_tokens": ["Pings", "the", "Consul", "Agent", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java#L80-L87", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java", "func_name": "AgentEndpoint.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register a service with Consul.\n\n@param registration The registration payload.", "docstring_tokens": ["Register", "a", "service", "with", "Consul", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java#L197-L205", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java", "func_name": "AgentEndpoint.deregister", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove registration of a particular service.\n\n@param serviceId the service id that you want to remove.", "docstring_tokens": ["Remove", "registration", "of", "a", "particular", "service", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java#L212-L223", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java", "func_name": "AgentEndpoint.deregisterCheck", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "De-registers a Health Check with the Agent\n\n@param checkId the id of the Check to deregister", "docstring_tokens": ["De", "-", "registers", "a", "Health", "Check", "with", "the", "Agent"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java#L309-L321", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java", "func_name": "AgentEndpoint.check", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks in with Consul.\n\n@param checkId The Check ID to check in.\n@param status The current state of the Check.\n@param note Any note to associate with the Check.", "docstring_tokens": ["Checks", "in", "with", "Consul", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java#L448-L460", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java", "func_name": "AgentEndpoint.pass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a TTL check to \"passing\" state with a note\n\n@param checkId check id\n@param note note", "docstring_tokens": ["Sets", "a", "TTL", "check", "to", "passing", "state", "with", "a", "note"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java#L491-L493", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java", "func_name": "AgentEndpoint.warn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a TTL check to \"warning\" state with a note.\n\n@param checkId check id\n@param note note", "docstring_tokens": ["Sets", "a", "TTL", "check", "to", "warning", "state", "with", "a", "note", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/AgentEndpoint.java#L510-L512", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/boon/client/BoonClient.java", "func_name": "BoonClient.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stop client. Stops processing call backs.", "docstring_tokens": ["Stop", "client", ".", "Stops", "processing", "call", "backs", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/boon/client/BoonClient.java#L120-L130", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/boon/client/BoonClient.java", "func_name": "BoonClient.handleAsyncCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handles an async callbackWithTimeout.", "docstring_tokens": ["Handles", "an", "async", "callbackWithTimeout", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/boon/client/BoonClient.java#L170-L176", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/boon/client/BoonClient.java", "func_name": "BoonClient.send", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends a message over websocket.\n\n@param message message to sendText over WebSocket\n@param serviceName message to sendText over WebSocket", "docstring_tokens": ["Sends", "a", "message", "over", "websocket", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/boon/client/BoonClient.java#L196-L224", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/boon/client/BoonClient.java", "func_name": "BoonClient.createProxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new client proxy given a client interface.\n\n@param serviceInterface client interface\n@param serviceName client name\n@param class type of interface\n@return new client proxy.. calling methods on this proxy marshals method calls to httpServerProxy.", "docstring_tokens": ["Creates", "a", "new", "client", "proxy", "given", "a", "client", "interface", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/boon/client/BoonClient.java#L250-L254", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/server/ServiceEndpointServerImpl.java", "func_name": "ServiceEndpointServerImpl.createResponseQueueListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the queue listener for method call responses from the client bundle.\n\n@return the response queue listener to handle the responses to method calls.", "docstring_tokens": ["Creates", "the", "queue", "listener", "for", "method", "call", "responses", "from", "the", "client", "bundle", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/server/ServiceEndpointServerImpl.java#L268-L298", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/queue/JsonQueue.java", "func_name": "JsonQueue.receiveQueue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a wrapper ReceiveQueue that does decoding on the fly.\n\n@return wrapped ReceiveQueue", "docstring_tokens": ["Create", "a", "wrapper", "ReceiveQueue", "that", "does", "decoding", "on", "the", "fly", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/queue/JsonQueue.java#L146-L208", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/queue/JsonQueue.java", "func_name": "JsonQueue.createJsonSendQueue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to create SendQueue wrappers that do JSON encoding.\n\n@param sendQueue sendQueue\n@return sendQueue decorated with JSON encoding.", "docstring_tokens": ["Helper", "method", "to", "create", "SendQueue", "wrappers", "that", "do", "JSON", "encoding", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/queue/JsonQueue.java#L230-L296", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/queue/JsonQueue.java", "func_name": "JsonQueue.startListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start a listener.\n\n@param listener listener", "docstring_tokens": ["Start", "a", "listener", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/queue/JsonQueue.java#L334-L337", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/ServiceBuilder.java", "func_name": "ServiceBuilder.build", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a service.\n\n@return new service queue", "docstring_tokens": ["Builds", "a", "service", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/ServiceBuilder.java#L460-L508", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/health/HealthServiceImpl.java", "func_name": "HealthServiceImpl.checkInOk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check in the service.\n\n@param name name", "docstring_tokens": ["Check", "in", "the", "service", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/health/HealthServiceImpl.java#L173-L191", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/health/HealthServiceImpl.java", "func_name": "HealthServiceImpl.failWithError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fail the node for the service with a specific status.\n\n@param name name\n@param error error", "docstring_tokens": ["Fail", "the", "node", "for", "the", "service", "with", "a", "specific", "status", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/health/HealthServiceImpl.java#L243-L259", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java", "func_name": "ManagedServiceBuilder.enableLoggingMappedDiagnosticContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enable the logging diagnostic context\n\n@param requestHeaders request headers to track in the MDC.\n@return this", "docstring_tokens": ["Enable", "the", "logging", "diagnostic", "context"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java#L316-L321", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java", "func_name": "ManagedServiceBuilder.enableConsulServiceDiscovery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Enable consul discovery\n\n@param dataCenter name of datacenter we are connecting to.\n@return fluent, this", "docstring_tokens": ["Enable", "consul", "discovery"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java#L544-L549", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java", "func_name": "ManagedServiceBuilder.getAdminBuilder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the Admin builder.\n\n@return admin builder.", "docstring_tokens": ["Get", "the", "Admin", "builder", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java#L737-L751", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java", "func_name": "ManagedServiceBuilder.getContextMetaBuilder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get context meta builder.\n\n@return context meta builder", "docstring_tokens": ["Get", "context", "meta", "builder", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java#L768-L776", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java", "func_name": "ManagedServiceBuilder.addEndpointServiceWithServiceManagmentBundle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an endpoint with a managment bundle\n\n@param endpointService endpoint service\n@param serviceManagementBundle management bundle\n@return this, fluent", "docstring_tokens": ["Add", "an", "endpoint", "with", "a", "managment", "bundle"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java#L844-L854", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java", "func_name": "ManagedServiceBuilder.addEndpointServiceWithAliasAndServiceManagmentBundle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an endpoint with a managment bundle and an alias\n\n@param alias alias\n@param endpointService endpoint service\n@param serviceManagementBundle management bundle\n@return this, fluent", "docstring_tokens": ["Add", "an", "endpoint", "with", "a", "managment", "bundle", "and", "an", "alias"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java#L865-L876", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java", "func_name": "ManagedServiceBuilder.addEndpointService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an endpoint service\n\n@param endpointService endpoint service\n@return this, fluent", "docstring_tokens": ["Add", "an", "endpoint", "service"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java#L884-L888", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java", "func_name": "ManagedServiceBuilder.addEndpointService", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add endpoint service with alias\n\n@param alias alias\n@param endpointService endpoint service\n@return this, fluent", "docstring_tokens": ["Add", "endpoint", "service", "with", "alias"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java#L932-L936", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java", "func_name": "ManagedServiceBuilder.getServiceEndpointServer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the ServiceEndpointServer constructed with all of the service endpionts that\nyou registered\n\n@return new ServiceEndpointServer.", "docstring_tokens": ["Get", "the", "ServiceEndpointServer", "constructed", "with", "all", "of", "the", "service", "endpionts", "that", "you", "registered"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java#L1242-L1259", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java", "func_name": "ManagedServiceBuilder.configureInterceptors", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure a list of common interceptors.\n\n@return interceptors.", "docstring_tokens": ["Configure", "a", "list", "of", "common", "interceptors", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/admin/src/main/java/io/advantageous/qbit/admin/ManagedServiceBuilder.java#L1275-L1298", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/SessionEndpoint.java", "func_name": "SessionEndpoint.destroy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Destroy the session.\n@param sessionId id of session\n@param session session\n@param datacenter datacenter\n@return true if success", "docstring_tokens": ["Destroy", "the", "session", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/SessionEndpoint.java#L108-L123", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsServiceDiscoveryProvider.java", "func_name": "DnsServiceDiscoveryProvider.loadServices", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load the services.\n\n@param serviceName serviceName\n@return list of EndpointDefinition", "docstring_tokens": ["Load", "the", "services", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/service-discovery/src/main/java/io/advantageous/qbit/service/discovery/dns/DnsServiceDiscoveryProvider.java#L60-L100", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/KeyValueStoreEndpoint.java", "func_name": "KeyValueStoreEndpoint.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes a specified key.\n\n@param key The key to delete.\n@param params Map of parameters, e.g. recurse.", "docstring_tokens": ["Deletes", "a", "specified", "key", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/KeyValueStoreEndpoint.java#L313-L332", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/http/server/impl/SimpleHttpServer.java", "func_name": "SimpleHttpServer.handleRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Main entry point.\n\n@param request request to handle", "docstring_tokens": ["Main", "entry", "point", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/http/server/impl/SimpleHttpServer.java#L182-L190", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/events/EventBusQueueAdapter.java", "func_name": "EventBusQueueAdapter.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process. This can be called periodically and it will check to see if there are messages on the queue.", "docstring_tokens": ["Process", ".", "This", "can", "be", "called", "periodically", "and", "it", "will", "check", "to", "see", "if", "there", "are", "messages", "on", "the", "queue", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/events/EventBusQueueAdapter.java#L98-L123", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/events/EventBusQueueAdapter.java", "func_name": "EventBusQueueAdapter.sendToEventManager", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Send the queue item to the event.\n\n@param item item", "docstring_tokens": ["Send", "the", "queue", "item", "to", "the", "event", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/events/EventBusQueueAdapter.java#L130-L144", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/events/EventBusQueueAdapter.java", "func_name": "EventBusQueueAdapter.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start listener. Once this is called messages can come in on a foreign thread.", "docstring_tokens": ["Start", "listener", ".", "Once", "this", "is", "called", "messages", "can", "come", "in", "on", "a", "foreign", "thread", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/events/EventBusQueueAdapter.java#L150-L155", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/http/HttpContext.java", "func_name": "HttpContext.getHttpRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Grab the current http request.\n\n@return Optional http request.", "docstring_tokens": ["Grab", "the", "current", "http", "request", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/http/HttpContext.java#L20-L27", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/events/impl/EventConnectorHub.java", "func_name": "EventConnectorHub.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove an event connector\n\n@param eventConnector eventConnector", "docstring_tokens": ["Remove", "an", "event", "connector"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/events/impl/EventConnectorHub.java#L66-L83", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/events/impl/EventConnectorHub.java", "func_name": "EventConnectorHub.forwardEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Forwards en event to another event system.\n\n@param event event", "docstring_tokens": ["Forwards", "en", "event", "to", "another", "event", "system", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/events/impl/EventConnectorHub.java#L91-L115", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/events/impl/EventConnectorHub.java", "func_name": "EventConnectorHub.flush", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Flushes the pool used to optimize flushing of IO operations.", "docstring_tokens": ["Flushes", "the", "pool", "used", "to", "optimize", "flushing", "of", "IO", "operations", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/events/impl/EventConnectorHub.java#L120-L144", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/admin/src/main/java/io/advantageous/qbit/admin/MicroserviceConfig.java", "func_name": "MicroserviceConfig.readConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the readConfig file, which can be a classpath or file system resource.\n\n@param serviceName the name of the service to load\n@return service config", "docstring_tokens": ["Reads", "the", "readConfig", "file", "which", "can", "be", "a", "classpath", "or", "file", "system", "resource", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/admin/src/main/java/io/advantageous/qbit/admin/MicroserviceConfig.java#L142-L167", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/impl/CallbackManagerWithTimeout.java", "func_name": "CallbackManagerWithTimeout.registerHandlerCallbackForClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register a callbackWithTimeout handler\n\n@param methodCall method call\n@param handler call back handler to register", "docstring_tokens": ["Register", "a", "callbackWithTimeout", "handler"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/impl/CallbackManagerWithTimeout.java#L73-L87", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/logging/SetupMdcForHttpRequestInterceptor.java", "func_name": "SetupMdcForHttpRequestInterceptor.before", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets called before a method gets invoked on a service.\nThis adds request URI, remote address and request headers of the HttpRequest if found.\n\n@param methodCall methodCall\n@return true to continue, always true.", "docstring_tokens": ["Gets", "called", "before", "a", "method", "gets", "invoked", "on", "a", "service", ".", "This", "adds", "request", "URI", "remote", "address", "and", "request", "headers", "of", "the", "HttpRequest", "if", "found", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/logging/SetupMdcForHttpRequestInterceptor.java#L59-L67", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/logging/SetupMdcForHttpRequestInterceptor.java", "func_name": "SetupMdcForHttpRequestInterceptor.extractRequestInfoAndPutItIntoMappedDiagnosticContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract request data and put it into the logging Mapped Diagnostic Context.\n\n@param httpRequest httpRequest", "docstring_tokens": ["Extract", "request", "data", "and", "put", "it", "into", "the", "logging", "Mapped", "Diagnostic", "Context", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/logging/SetupMdcForHttpRequestInterceptor.java#L100-L108", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/logging/SetupMdcForHttpRequestInterceptor.java", "func_name": "SetupMdcForHttpRequestInterceptor.extractHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract headersToAddToLoggingMappingDiagnosticsContext data and put them into the logging mapping diagnostics context.\n\n@param httpRequest httpRequest", "docstring_tokens": ["Extract", "headersToAddToLoggingMappingDiagnosticsContext", "data", "and", "put", "them", "into", "the", "logging", "mapping", "diagnostics", "context", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/logging/SetupMdcForHttpRequestInterceptor.java#L115-L125", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/server/HttpRequestServiceServerHandlerUsingMetaImpl.java", "func_name": "HttpRequestServiceServerHandlerUsingMetaImpl.handleRestCall", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "MOST IMPORTANT METHOD FOR DEBUGGING WHY SOMETHING IS NOT CALLED.", "docstring_tokens": ["MOST", "IMPORTANT", "METHOD", "FOR", "DEBUGGING", "WHY", "SOMETHING", "IS", "NOT", "CALLED", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/server/HttpRequestServiceServerHandlerUsingMetaImpl.java#L154-L191", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/server/HttpRequestServiceServerHandlerUsingMetaImpl.java", "func_name": "HttpRequestServiceServerHandlerUsingMetaImpl.handleResponseFromServiceToHttpResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "2nd MOST IMPORTANT METHOD FOR DEBUGGING WHY SOMETHING IS NOT CALLED.", "docstring_tokens": ["2nd", "MOST", "IMPORTANT", "METHOD", "FOR", "DEBUGGING", "WHY", "SOMETHING", "IS", "NOT", "CALLED", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/server/HttpRequestServiceServerHandlerUsingMetaImpl.java#L196-L237", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/server/HttpRequestServiceServerHandlerUsingMetaImpl.java", "func_name": "HttpRequestServiceServerHandlerUsingMetaImpl.addRequestToCheckForTimeouts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a request to the timeout queue. Server checks for timeouts when it is idle or when\nthe max outstanding outstandingRequests is met.\n\n@param request request.", "docstring_tokens": ["Add", "a", "request", "to", "the", "timeout", "queue", ".", "Server", "checks", "for", "timeouts", "when", "it", "is", "idle", "or", "when", "the", "max", "outstanding", "outstandingRequests", "is", "met", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/server/HttpRequestServiceServerHandlerUsingMetaImpl.java#L419-L425", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/stats/StatList.java", "func_name": "StatList.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a new value to the list.\n\n@param integer new value\n@return was able to add.", "docstring_tokens": ["Add", "a", "new", "value", "to", "the", "list", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/stats/StatList.java#L139-L147", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/stats/StatList.java", "func_name": "StatList.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a new value to the list but don't employ a wrapper.\n\n@param integer new value\n@return was able to add.", "docstring_tokens": ["Add", "a", "new", "value", "to", "the", "list", "but", "don", "t", "employ", "a", "wrapper", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/stats/StatList.java#L170-L178", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/stats/StatList.java", "func_name": "StatList.addArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a new array to the list.\n\n@param newValues new values\n@return was able to add.", "docstring_tokens": ["Add", "a", "new", "array", "to", "the", "list", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/stats/StatList.java#L186-L194", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/stats/StatList.java", "func_name": "StatList.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a value in the list.\n\n@param index index\n@param element new value\n@return old value at this index", "docstring_tokens": ["Set", "a", "value", "in", "the", "list", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/stats/StatList.java#L203-L208", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/service/stats/StatList.java", "func_name": "StatList.reduceBy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This would be a good opportunity to reintroduce dynamic invoke\n\n@param function function\n@param name name\n@return result", "docstring_tokens": ["This", "would", "be", "a", "good", "opportunity", "to", "reintroduce", "dynamic", "invoke"], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/service/stats/StatList.java#L270-L272", "partition": "valid"}
+{"repo": "advantageous/qbit", "path": "qbit/core/src/main/java/io/advantageous/qbit/http/interceptor/ForwardCallMethodInterceptor.java", "func_name": "ForwardCallMethodInterceptor.beforeMethodSent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Intercept the call before it gets sent to the service queue.\n\n@param methodBuilder methodBuilder", "docstring_tokens": ["Intercept", "the", "call", "before", "it", "gets", "sent", "to", "the", "service", "queue", "."], "sha": "533b3671785f238d576b02b5290c6525ed60f583", "url": "https://github.com/advantageous/qbit/blob/533b3671785f238d576b02b5290c6525ed60f583/qbit/core/src/main/java/io/advantageous/qbit/http/interceptor/ForwardCallMethodInterceptor.java#L33-L42", "partition": "valid"}
+{"repo": "spotify/dns-java", "path": "src/main/java/com/spotify/dns/AbstractChangeNotifier.java", "func_name": "AbstractChangeNotifier.notifyListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Notify the listener about a change. If this is due to adding a new listener rather than\nbeing an update, only notify the listener if this is the first notification sent to it.\n\n@param changeNotification the change notification to send\n@param newListener call is triggered by adding a listener rather than an update", "docstring_tokens": ["Notify", "the", "listener", "about", "a", "change", ".", "If", "this", "is", "due", "to", "adding", "a", "new", "listener", "rather", "than", "being", "an", "update", "only", "notify", "the", "listener", "if", "this", "is", "the", "first", "notification", "sent", "to", "it", "."], "sha": "c554287e6f5a025576f4343ada84b2419277ebfd", "url": "https://github.com/spotify/dns-java/blob/c554287e6f5a025576f4343ada84b2419277ebfd/src/main/java/com/spotify/dns/AbstractChangeNotifier.java#L81-L100", "partition": "valid"}
+{"repo": "magro/kryo-serializers", "path": "src/main/java/de/javakaffee/kryoserializers/SubListSerializers.java", "func_name": "SubListSerializers.addDefaultSerializers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds appropriate sublist serializers as default serializers.", "docstring_tokens": ["Adds", "appropriate", "sublist", "serializers", "as", "default", "serializers", "."], "sha": "103f2a60d5431509de29572009b7b8fab40a86af", "url": "https://github.com/magro/kryo-serializers/blob/103f2a60d5431509de29572009b7b8fab40a86af/src/main/java/de/javakaffee/kryoserializers/SubListSerializers.java#L78-L83", "partition": "valid"}
+{"repo": "magro/kryo-serializers", "path": "src/main/java/de/javakaffee/kryoserializers/protobuf/ProtobufSerializer.java", "func_name": "ProtobufSerializer.getParseFromMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Caches method reflection lookup\n@throws NoSuchMethodException", "docstring_tokens": ["Caches", "method", "reflection", "lookup"], "sha": "103f2a60d5431509de29572009b7b8fab40a86af", "url": "https://github.com/magro/kryo-serializers/blob/103f2a60d5431509de29572009b7b8fab40a86af/src/main/java/de/javakaffee/kryoserializers/protobuf/ProtobufSerializer.java#L69-L74", "partition": "valid"}
+{"repo": "bazaarvoice/rison", "path": "src/main/java/com/bazaarvoice/jackson/rison/RisonParser.java", "func_name": "RisonParser._verifyNoLeadingZeroes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method called when we have seen one zero, and want to ensure\nit is not followed by another", "docstring_tokens": ["Method", "called", "when", "we", "have", "seen", "one", "zero", "and", "want", "to", "ensure", "it", "is", "not", "followed", "by", "another"], "sha": "623bcbcea65081e75e54d27d4e264a1f6840e9ba", "url": "https://github.com/bazaarvoice/rison/blob/623bcbcea65081e75e54d27d4e264a1f6840e9ba/src/main/java/com/bazaarvoice/jackson/rison/RisonParser.java#L1027-L1057", "partition": "valid"}
+{"repo": "bazaarvoice/rison", "path": "src/main/java/com/bazaarvoice/jackson/rison/RisonParser.java", "func_name": "RisonParser._parseUnquotedFieldName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method called when we see non-white space character other\nthan double quote, when expecting a field name.\nIn standard mode will just throw an expection; but\nin non-standard modes may be able to parse name.", "docstring_tokens": ["Method", "called", "when", "we", "see", "non", "-", "white", "space", "character", "other", "than", "double", "quote", "when", "expecting", "a", "field", "name", ".", "In", "standard", "mode", "will", "just", "throw", "an", "expection", ";", "but", "in", "non", "-", "standard", "modes", "may", "be", "able", "to", "parse", "name", "."], "sha": "623bcbcea65081e75e54d27d4e264a1f6840e9ba", "url": "https://github.com/bazaarvoice/rison/blob/623bcbcea65081e75e54d27d4e264a1f6840e9ba/src/main/java/com/bazaarvoice/jackson/rison/RisonParser.java#L1180-L1207", "partition": "valid"}
+{"repo": "bazaarvoice/rison", "path": "src/main/java/com/bazaarvoice/jackson/rison/RisonParser.java", "func_name": "RisonParser._handleUnexpectedValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method for handling cases where first non-space character\nof an expected value token is not legal for standard JSON content.", "docstring_tokens": ["Method", "for", "handling", "cases", "where", "first", "non", "-", "space", "character", "of", "an", "expected", "value", "token", "is", "not", "legal", "for", "standard", "JSON", "content", "."], "sha": "623bcbcea65081e75e54d27d4e264a1f6840e9ba", "url": "https://github.com/bazaarvoice/rison/blob/623bcbcea65081e75e54d27d4e264a1f6840e9ba/src/main/java/com/bazaarvoice/jackson/rison/RisonParser.java#L1213-L1235", "partition": "valid"}
+{"repo": "bazaarvoice/rison", "path": "src/main/java/com/bazaarvoice/jackson/rison/RisonParser.java", "func_name": "RisonParser._skipString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method called to skim through rest of unparsed String value,\nif it is not needed. This can be done bit faster if contents\nneed not be stored for future access.", "docstring_tokens": ["Method", "called", "to", "skim", "through", "rest", "of", "unparsed", "String", "value", "if", "it", "is", "not", "needed", ".", "This", "can", "be", "done", "bit", "faster", "if", "contents", "need", "not", "be", "stored", "for", "future", "access", "."], "sha": "623bcbcea65081e75e54d27d4e264a1f6840e9ba", "url": "https://github.com/bazaarvoice/rison/blob/623bcbcea65081e75e54d27d4e264a1f6840e9ba/src/main/java/com/bazaarvoice/jackson/rison/RisonParser.java#L1401-L1430", "partition": "valid"}
+{"repo": "bazaarvoice/rison", "path": "src/main/java/com/bazaarvoice/jackson/rison/RisonParser.java", "func_name": "RisonParser._matchToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method for checking whether input matches expected token", "docstring_tokens": ["Helper", "method", "for", "checking", "whether", "input", "matches", "expected", "token"], "sha": "623bcbcea65081e75e54d27d4e264a1f6840e9ba", "url": "https://github.com/bazaarvoice/rison/blob/623bcbcea65081e75e54d27d4e264a1f6840e9ba/src/main/java/com/bazaarvoice/jackson/rison/RisonParser.java#L1475-L1506", "partition": "valid"}
+{"repo": "bazaarvoice/rison", "path": "src/main/java/com/bazaarvoice/jackson/rison/RisonParser.java", "func_name": "RisonParser._decodeBase64", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Efficient handling for incremental parsing of base64-encoded\ntextual content.", "docstring_tokens": ["Efficient", "handling", "for", "incremental", "parsing", "of", "base64", "-", "encoded", "textual", "content", "."], "sha": "623bcbcea65081e75e54d27d4e264a1f6840e9ba", "url": "https://github.com/bazaarvoice/rison/blob/623bcbcea65081e75e54d27d4e264a1f6840e9ba/src/main/java/com/bazaarvoice/jackson/rison/RisonParser.java#L1518-L1625", "partition": "valid"}
+{"repo": "bazaarvoice/rison", "path": "src/main/java/com/bazaarvoice/jackson/rison/IdentifierUtils.java", "func_name": "IdentifierUtils.isIdStrict", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if a string does not need to be quoted when serialized.\nUses the strict definition described in the Rison specification, appropriate for encoding.", "docstring_tokens": ["Returns", "true", "if", "a", "string", "does", "not", "need", "to", "be", "quoted", "when", "serialized", ".", "Uses", "the", "strict", "definition", "described", "in", "the", "Rison", "specification", "appropriate", "for", "encoding", "."], "sha": "623bcbcea65081e75e54d27d4e264a1f6840e9ba", "url": "https://github.com/bazaarvoice/rison/blob/623bcbcea65081e75e54d27d4e264a1f6840e9ba/src/main/java/com/bazaarvoice/jackson/rison/IdentifierUtils.java#L53-L67", "partition": "valid"}
+{"repo": "bazaarvoice/rison", "path": "src/main/java/com/bazaarvoice/jackson/rison/IdentifierUtils.java", "func_name": "IdentifierUtils.isIdStrict", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the string represented by the specified character array does not\nUses the strict definition described in the Rison specification, appropriate for encoding.", "docstring_tokens": ["Returns", "true", "if", "the", "string", "represented", "by", "the", "specified", "character", "array", "does", "not", "Uses", "the", "strict", "definition", "described", "in", "the", "Rison", "specification", "appropriate", "for", "encoding", "."], "sha": "623bcbcea65081e75e54d27d4e264a1f6840e9ba", "url": "https://github.com/bazaarvoice/rison/blob/623bcbcea65081e75e54d27d4e264a1f6840e9ba/src/main/java/com/bazaarvoice/jackson/rison/IdentifierUtils.java#L73-L87", "partition": "valid"}
+{"repo": "bazaarvoice/rison", "path": "src/main/java/com/bazaarvoice/jackson/rison/RisonGenerator.java", "func_name": "RisonGenerator._writeString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method called when the string content is already in\na char buffer, and need not be copied for processing.", "docstring_tokens": ["This", "method", "called", "when", "the", "string", "content", "is", "already", "in", "a", "char", "buffer", "and", "need", "not", "be", "copied", "for", "processing", "."], "sha": "623bcbcea65081e75e54d27d4e264a1f6840e9ba", "url": "https://github.com/bazaarvoice/rison/blob/623bcbcea65081e75e54d27d4e264a1f6840e9ba/src/main/java/com/bazaarvoice/jackson/rison/RisonGenerator.java#L927-L971", "partition": "valid"}
+{"repo": "bazaarvoice/rison", "path": "src/main/java/com/bazaarvoice/jackson/rison/RisonGenerator.java", "func_name": "RisonGenerator._prependOrWrite", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method called to try to either prepend character escape at front of\ngiven buffer; or if not possible, to write it out directly.\n\n@return Pointer to start of prepended entity (if prepended); or 'ptr'\nif not.", "docstring_tokens": ["Method", "called", "to", "try", "to", "either", "prepend", "character", "escape", "at", "front", "of", "given", "buffer", ";", "or", "if", "not", "possible", "to", "write", "it", "out", "directly", "."], "sha": "623bcbcea65081e75e54d27d4e264a1f6840e9ba", "url": "https://github.com/bazaarvoice/rison/blob/623bcbcea65081e75e54d27d4e264a1f6840e9ba/src/main/java/com/bazaarvoice/jackson/rison/RisonGenerator.java#L1047-L1056", "partition": "valid"}
+{"repo": "bazaarvoice/rison", "path": "src/main/java/com/bazaarvoice/jackson/rison/RisonGenerator.java", "func_name": "RisonGenerator._appendCharacterEscape", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method called to append escape sequence for given character, at the\nend of standard output buffer; or if not possible, write out directly.", "docstring_tokens": ["Method", "called", "to", "append", "escape", "sequence", "for", "given", "character", "at", "the", "end", "of", "standard", "output", "buffer", ";", "or", "if", "not", "possible", "write", "out", "directly", "."], "sha": "623bcbcea65081e75e54d27d4e264a1f6840e9ba", "url": "https://github.com/bazaarvoice/rison/blob/623bcbcea65081e75e54d27d4e264a1f6840e9ba/src/main/java/com/bazaarvoice/jackson/rison/RisonGenerator.java#L1062-L1070", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ThriftToPig.java", "func_name": "ThriftToPig.setConversionProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the flags that can be used by the conversion.\n@param conf usually the Hadoop job conf", "docstring_tokens": ["Set", "the", "flags", "that", "can", "be", "used", "by", "the", "conversion", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ThriftToPig.java#L91-L96", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ThriftToPig.java", "func_name": "ThriftToPig.toPigScript", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn a Thrift Struct into a loading schema for a pig script.", "docstring_tokens": ["Turn", "a", "Thrift", "Struct", "into", "a", "loading", "schema", "for", "a", "pig", "script", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ThriftToPig.java#L352-L380", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ThriftToPig.java", "func_name": "ThriftToPig.stringifySchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "type can only be BAG or TUPLE", "docstring_tokens": ["type", "can", "only", "be", "BAG", "or", "TUPLE"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ThriftToPig.java#L389-L464", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "lucene/src/main/java/com/twitter/elephantbird/mapreduce/input/LuceneIndexRecordReader.java", "func_name": "LuceneIndexRecordReader.openIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Open an index stored in path\nOverride if you want more control over how indexes are opened\n\n@param path path to the index\n@param conf job conf\n@return an IndexReader of the index in path\n@throws IOException", "docstring_tokens": ["Open", "an", "index", "stored", "in", "path", "Override", "if", "you", "want", "more", "control", "over", "how", "indexes", "are", "opened"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/lucene/src/main/java/com/twitter/elephantbird/mapreduce/input/LuceneIndexRecordReader.java#L74-L76", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "lucene/src/main/java/com/twitter/elephantbird/mapreduce/input/LuceneIndexRecordReader.java", "func_name": "LuceneIndexRecordReader.getProgress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is sort of an approximation of progress.\nIt splits the progress equally among all indexes, then among all queries for that index.\nSo it won't move linearly, since we don't know how many hits there will be per query", "docstring_tokens": ["This", "is", "sort", "of", "an", "approximation", "of", "progress", ".", "It", "splits", "the", "progress", "equally", "among", "all", "indexes", "then", "among", "all", "queries", "for", "that", "index", ".", "So", "it", "won", "t", "move", "linearly", "since", "we", "don", "t", "know", "how", "many", "hits", "there", "will", "be", "per", "query"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/lucene/src/main/java/com/twitter/elephantbird/mapreduce/input/LuceneIndexRecordReader.java#L194-L210", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java", "func_name": "ProtobufToPig.toTuple", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn a generic message into a Tuple. Individual fields that are enums\nare converted into their string equivalents. Fields that are not filled\nout in the protobuf are set to null, unless there is a default field value in\nwhich case that is used instead.\n@param msg the protobuf message\n@return a pig tuple representing the message.", "docstring_tokens": ["Turn", "a", "generic", "message", "into", "a", "Tuple", ".", "Individual", "fields", "that", "are", "enums", "are", "converted", "into", "their", "string", "equivalents", ".", "Fields", "that", "are", "not", "filled", "out", "in", "the", "protobuf", "are", "set", "to", "null", "unless", "there", "is", "a", "default", "field", "value", "in", "which", "case", "that", "is", "used", "instead", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java#L46-L73", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java", "func_name": "ProtobufToPig.messageToTuple", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Translate a nested message to a tuple. If the field is repeated, it walks the list and adds each to a bag.\nOtherwise, it just adds the given one.\n@param fieldDescriptor the descriptor object for the given field.\n@param fieldValue the object representing the value of this field, possibly null.\n@return the object representing fieldValue in Pig -- either a bag or a tuple.", "docstring_tokens": ["Translate", "a", "nested", "message", "to", "a", "tuple", ".", "If", "the", "field", "is", "repeated", "it", "walks", "the", "list", "and", "adds", "each", "to", "a", "bag", ".", "Otherwise", "it", "just", "adds", "the", "given", "one", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java#L99-L120", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java", "func_name": "ProtobufToPig.singleFieldToTuple", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Translate a single field to a tuple. If the field is repeated, it walks the list and adds each to a bag.\nOtherwise, it just adds the given one.\n@param fieldDescriptor the descriptor object for the given field.\n@param fieldValue the object representing the value of this field, possibly null.\n@return the object representing fieldValue in Pig -- either a bag or a single field.\n@throws ExecException if Pig decides to. Shouldn't happen because we won't walk off the end of a tuple's field set.", "docstring_tokens": ["Translate", "a", "single", "field", "to", "a", "tuple", ".", "If", "the", "field", "is", "repeated", "it", "walks", "the", "list", "and", "adds", "each", "to", "a", "bag", ".", "Otherwise", "it", "just", "adds", "the", "given", "one", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java#L130-L154", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java", "func_name": "ProtobufToPig.coerceToPigTypes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the given field value is an enum, translate it to the enum's name as a string, since Pig cannot handle enums.\nAlso, if the given field value is a bool, translate it to 0 or 1 to avoid Pig bools, which can be sketchy.\n@param fieldDescriptor the descriptor object for the given field.\n@param fieldValue the object representing the value of this field, possibly null.\n@return the object, unless it was from an enum field, in which case we return the name of the enum field.", "docstring_tokens": ["If", "the", "given", "field", "value", "is", "an", "enum", "translate", "it", "to", "the", "enum", "s", "name", "as", "a", "string", "since", "Pig", "cannot", "handle", "enums", ".", "Also", "if", "the", "given", "field", "value", "is", "a", "bool", "translate", "it", "to", "0", "or", "1", "to", "avoid", "Pig", "bools", "which", "can", "be", "sketchy", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java#L163-L175", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java", "func_name": "ProtobufToPig.toSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn a generic message descriptor into a Schema. Individual fields that are enums\nare converted into their string equivalents.\n@param msgDescriptor the descriptor for the given message type.\n@return a pig schema representing the message.", "docstring_tokens": ["Turn", "a", "generic", "message", "descriptor", "into", "a", "Schema", ".", "Individual", "fields", "that", "are", "enums", "are", "converted", "into", "their", "string", "equivalents", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java#L183-L200", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java", "func_name": "ProtobufToPig.messageToFieldSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn a nested message into a Schema object. For repeated nested messages, it generates a schema for a bag of\ntuples. For non-repeated nested messages, it just generates a schema for the tuple itself.\n@param fieldDescriptor the descriptor object for the given field.\n@return the Schema for the nested message.\n@throws FrontendException if Pig decides to.", "docstring_tokens": ["Turn", "a", "nested", "message", "into", "a", "Schema", "object", ".", "For", "repeated", "nested", "messages", "it", "generates", "a", "schema", "for", "a", "bag", "of", "tuples", ".", "For", "non", "-", "repeated", "nested", "messages", "it", "just", "generates", "a", "schema", "for", "the", "tuple", "itself", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java#L209-L221", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java", "func_name": "ProtobufToPig.singleFieldToFieldSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn a single field into a Schema object. For repeated single fields, it generates a schema for a bag of single-item tuples.\nFor non-repeated fields, it just generates a standard field schema.\n@param fieldDescriptor the descriptor object for the given field.\n@return the Schema for the nested message.\n@throws FrontendException if Pig decides to.", "docstring_tokens": ["Turn", "a", "single", "field", "into", "a", "Schema", "object", ".", "For", "repeated", "single", "fields", "it", "generates", "a", "schema", "for", "a", "bag", "of", "single", "-", "item", "tuples", ".", "For", "non", "-", "repeated", "fields", "it", "just", "generates", "a", "standard", "field", "schema", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java#L230-L243", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java", "func_name": "ProtobufToPig.toPigScript", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn a generic message descriptor into a loading schema for a pig script.\n@param msgDescriptor the descriptor for the given message type.\n@param loaderClassName the fully qualified classname of the pig loader to use. Not\npassed a Class extends LoadFunc> because in many situations that class\nis being generated as well, and so doesn't exist in compiled form.\n@return a pig script that can load the given message.", "docstring_tokens": ["Turn", "a", "generic", "message", "descriptor", "into", "a", "loading", "schema", "for", "a", "pig", "script", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java#L289-L299", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java", "func_name": "ProtobufToPig.toPigScriptInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn a generic message descriptor into a loading schema for a pig script. Individual fields that are enums\nare converted into their string equivalents.\n@param msgDescriptor the descriptor for the given message type.\n@param numTabs the tab depth at the current point in the recursion, for pretty printing.\n@return a pig schema representing the message.", "docstring_tokens": ["Turn", "a", "generic", "message", "descriptor", "into", "a", "loading", "schema", "for", "a", "pig", "script", ".", "Individual", "fields", "that", "are", "enums", "are", "converted", "into", "their", "string", "equivalents", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java#L336-L354", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java", "func_name": "ProtobufToPig.messageToPigScript", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn a nested message into a pig script load string. For repeated nested messages, it generates a string for a bag of\ntuples. For non-repeated nested messages, it just generates a string for the tuple itself.\n@param fieldDescriptor the descriptor object for the given field.\n@param numTabs the tab depth at the current point in the recursion, for pretty printing.\n@return the pig script load schema for the nested message.\n@throws FrontendException if Pig decides to.", "docstring_tokens": ["Turn", "a", "nested", "message", "into", "a", "pig", "script", "load", "string", ".", "For", "repeated", "nested", "messages", "it", "generates", "a", "string", "for", "a", "bag", "of", "tuples", ".", "For", "non", "-", "repeated", "nested", "messages", "it", "just", "generates", "a", "string", "for", "the", "tuple", "itself", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java#L364-L378", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java", "func_name": "ProtobufToPig.singleFieldToPigScript", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn a single field into a pig script load string. For repeated single fields, it generates a string for a bag of single-item tuples.\nFor non-repeated fields, it just generates a standard single-element string.\n@param fieldDescriptor the descriptor object for the given field.\n@param numTabs the tab depth at the current point in the recursion, for pretty printing.\n@return the pig script load string for the nested message.\n@throws FrontendException if Pig decides to.", "docstring_tokens": ["Turn", "a", "single", "field", "into", "a", "pig", "script", "load", "string", ".", "For", "repeated", "single", "fields", "it", "generates", "a", "string", "for", "a", "bag", "of", "single", "-", "item", "tuples", ".", "For", "non", "-", "repeated", "fields", "it", "just", "generates", "a", "standard", "single", "-", "element", "string", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ProtobufToPig.java#L388-L401", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/thrift/TStructDescriptor.java", "func_name": "TStructDescriptor.getInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a descriptor for a Thrift class", "docstring_tokens": ["Creates", "a", "descriptor", "for", "a", "Thrift", "class"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/thrift/TStructDescriptor.java#L95-L106", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/thrift/TStructDescriptor.java", "func_name": "TStructDescriptor.extractEnumMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns 'enum name -> enum object' mapping.\nCurrently used for converting Tuple to a Thrift object.", "docstring_tokens": ["returns", "enum", "name", "-", ">", "enum", "object", "mapping", ".", "Currently", "used", "for", "converting", "Tuple", "to", "a", "Thrift", "object", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/thrift/TStructDescriptor.java#L134-L140", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "lucene/src/main/java/com/twitter/elephantbird/mapreduce/output/LuceneIndexOutputFormat.java", "func_name": "LuceneIndexOutputFormat.newIndexDirFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a path filter that accepts non-hidden directories that start with \"index-\"\nThis is what the indexes created by this output format look like,\nso this is useful for finding them when traversing the file system", "docstring_tokens": ["Creates", "a", "path", "filter", "that", "accepts", "non", "-", "hidden", "directories", "that", "start", "with", "index", "-", "This", "is", "what", "the", "indexes", "created", "by", "this", "output", "format", "look", "like", "so", "this", "is", "useful", "for", "finding", "them", "when", "traversing", "the", "file", "system"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/lucene/src/main/java/com/twitter/elephantbird/mapreduce/output/LuceneIndexOutputFormat.java#L204-L215", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/Protobufs.java", "func_name": "Protobufs.useDynamicProtoMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For a configured protoClass, should the message be dynamic or is it a pre-generated Message class? If protoClass is\nnull or set to DynamicMessage.class, then the configurer intends for a dynamically generated protobuf to be used.", "docstring_tokens": ["For", "a", "configured", "protoClass", "should", "the", "message", "be", "dynamic", "or", "is", "it", "a", "pre", "-", "generated", "Message", "class?", "If", "protoClass", "is", "null", "or", "set", "to", "DynamicMessage", ".", "class", "then", "the", "configurer", "intends", "for", "a", "dynamically", "generated", "protobuf", "to", "be", "used", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/Protobufs.java#L79-L81", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/Protobufs.java", "func_name": "Protobufs.getTypeRef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns typeref for a Protobuf class", "docstring_tokens": ["Returns", "typeref", "for", "a", "Protobuf", "class"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/Protobufs.java#L266-L268", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/input/LzoRecordReader.java", "func_name": "LzoRecordReader.getProgress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the progress within the split.", "docstring_tokens": ["Get", "the", "progress", "within", "the", "split", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/input/LzoRecordReader.java#L53-L60", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/io/BinaryWritable.java", "func_name": "BinaryWritable.serialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the message to raw bytes, and caches the converted value.\n@return converted value, which may be null in case of null message or error.", "docstring_tokens": ["Converts", "the", "message", "to", "raw", "bytes", "and", "caches", "the", "converted", "value", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/io/BinaryWritable.java#L127-L140", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapred/input/DeprecatedInputFormatWrapper.java", "func_name": "DeprecatedInputFormatWrapper.setInputFormat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For cases where we need to set hadoop1 input format in a hadoop2 Configuration object.", "docstring_tokens": ["For", "cases", "where", "we", "need", "to", "set", "hadoop1", "input", "format", "in", "a", "hadoop2", "Configuration", "object", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapred/input/DeprecatedInputFormatWrapper.java#L80-L83", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/HadoopUtils.java", "func_name": "HadoopUtils.setClassConf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A helper to set configuration to class name.\nThrows a RuntimeExcpetion if the\nconfiguration is already set to a different class name.", "docstring_tokens": ["A", "helper", "to", "set", "configuration", "to", "class", "name", ".", "Throws", "a", "RuntimeExcpetion", "if", "the", "configuration", "is", "already", "set", "to", "a", "different", "class", "name", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/HadoopUtils.java#L76-L91", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/HadoopUtils.java", "func_name": "HadoopUtils.writeStringListToConfAsJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a list of strings into a configuration by converting it to a json array\n\n@param key for the configuration\n@param list to write\n@param conf to write to", "docstring_tokens": ["Writes", "a", "list", "of", "strings", "into", "a", "configuration", "by", "converting", "it", "to", "a", "json", "array"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/HadoopUtils.java#L171-L176", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/HadoopUtils.java", "func_name": "HadoopUtils.readStringListFromConfAsJson", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a list of strings stored as a json array from a configuration\n\n@param key for the configuration\n@param conf to read from\n@return the read list of strings, or null if key is not present in conf", "docstring_tokens": ["Reads", "a", "list", "of", "strings", "stored", "as", "a", "json", "array", "from", "a", "configuration"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/HadoopUtils.java#L185-L192", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/HadoopUtils.java", "func_name": "HadoopUtils.writeStringListToConfAsBase64", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a list of strings into a configuration by base64 encoding them and separating\nthem with commas\n\n@param key for the configuration\n@param list to write\n@param conf to write to", "docstring_tokens": ["Writes", "a", "list", "of", "strings", "into", "a", "configuration", "by", "base64", "encoding", "them", "and", "separating", "them", "with", "commas"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/HadoopUtils.java#L202-L215", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/HadoopUtils.java", "func_name": "HadoopUtils.readStringListFromConfAsBase64", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a list of strings stored as comma separated base64\n\n@param key for the configuration\n@param conf to read from\n@return the read list of strings, or null if key is not present in conf", "docstring_tokens": ["Reads", "a", "list", "of", "strings", "stored", "as", "comma", "separated", "base64"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/HadoopUtils.java#L224-L239", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/ThriftUtils.java", "func_name": "ThriftUtils.verifyAncestry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verify that clazz is a Thrift class. i.e. is a subclass of TBase", "docstring_tokens": ["Verify", "that", "clazz", "is", "a", "Thrift", "class", ".", "i", ".", "e", ".", "is", "a", "subclass", "of", "TBase"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/ThriftUtils.java#L39-L44", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/ThriftUtils.java", "func_name": "ThriftUtils.getFieldValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns value of a fieldName in an object.", "docstring_tokens": ["Returns", "value", "of", "a", "fieldName", "in", "an", "object", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/ThriftUtils.java#L103-L105", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/ThriftUtils.java", "func_name": "ThriftUtils.getFieldValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns value of a static field with given name in containingClass.", "docstring_tokens": ["Returns", "value", "of", "a", "static", "field", "with", "given", "name", "in", "containingClass", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/ThriftUtils.java#L110-L112", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/ThriftUtils.java", "func_name": "ThriftUtils.getFieldValueType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value class of the given thrift field.\n\n@param field thrift field.\n@return class of field value, or null in the case of thrift types {@link TType#STOP} or\n{@link TType#VOID}.", "docstring_tokens": ["Returns", "the", "value", "class", "of", "the", "given", "thrift", "field", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/ThriftUtils.java#L169-L201", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/ThriftUtils.java", "func_name": "ThriftUtils.writeFieldNoTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serializes a single field of a thrift struct.\n\n@throws TException", "docstring_tokens": ["Serializes", "a", "single", "field", "of", "a", "thrift", "struct", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/ThriftUtils.java#L242-L293", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/PigToProtobuf.java", "func_name": "PigToProtobuf.tupleToMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turn a Tuple into a Message with the given type.\n@param builder a builder for the Message type the tuple will be converted to\n@param tuple the tuple\n@return a message representing the given tuple", "docstring_tokens": ["Turn", "a", "Tuple", "into", "a", "Message", "with", "the", "given", "type", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/PigToProtobuf.java#L68-L70", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/PigToProtobuf.java", "func_name": "PigToProtobuf.tupleFieldToSingleField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a tupleField string to its corresponding protobuf enum type if necessary, otherwise\nreturns the tupleField as is.\n@param fieldDescriptor the FieldDescriptor for the given tuple field\n@param tupleField the tupleField being converted to a protobuf field\n@return the protobuf type for the given tupleField. This will be the tupleField itself unless it's an enum, in which case this will return the enum type for the field.", "docstring_tokens": ["Converts", "a", "tupleField", "string", "to", "its", "corresponding", "protobuf", "enum", "type", "if", "necessary", "otherwise", "returns", "the", "tupleField", "as", "is", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/PigToProtobuf.java#L224-L236", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/PigToProtobuf.java", "func_name": "PigToProtobuf.addField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a field to a protobuf builder", "docstring_tokens": ["Add", "a", "field", "to", "a", "protobuf", "builder"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/PigToProtobuf.java#L253-L259", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/PigToProtobuf.java", "func_name": "PigToProtobuf.pigTypeToProtoType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For a given Pig type, return the protobufs type that maps to it.", "docstring_tokens": ["For", "a", "given", "Pig", "type", "return", "the", "protobufs", "type", "that", "maps", "to", "it", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/PigToProtobuf.java#L264-L285", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/PigToThrift.java", "func_name": "PigToThrift.toThrift", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Construct a Thrift object from the tuple.", "docstring_tokens": ["Construct", "a", "Thrift", "object", "from", "the", "tuple", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/PigToThrift.java#L73-L106", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/PigToThrift.java", "func_name": "PigToThrift.toThriftValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For a given Pig value, return a Thrift object of the same type as the Thrift field passed. The\nthrift field is expected to be compatible with the value passed. If it is not, a warning will\nbe logged and a null value will be returned.\n\n@param thriftField the Thrift field used to determine the type of the response object\n@param pigValue the value to convert to Thrift\n@return a Thrift object", "docstring_tokens": ["For", "a", "given", "Pig", "value", "return", "a", "Thrift", "object", "of", "the", "same", "type", "as", "the", "Thrift", "field", "passed", ".", "The", "thrift", "field", "is", "expected", "to", "be", "compatible", "with", "the", "value", "passed", ".", "If", "it", "is", "not", "a", "warning", "will", "be", "logged", "and", "a", "null", "value", "will", "be", "returned", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/PigToThrift.java#L117-L151", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/PigToThrift.java", "func_name": "PigToThrift.newTInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "return an instance assuming tClass is a Thrift class", "docstring_tokens": ["return", "an", "instance", "assuming", "tClass", "is", "a", "Thrift", "class"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/PigToThrift.java#L234-L240", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/input/combine/DelegateCombineFileInputFormat.java", "func_name": "DelegateCombineFileInputFormat.setCombinedInputFormatDelegate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This sets configures the delegate, though it does not configure DelegateCombineFileInputFormat.", "docstring_tokens": ["This", "sets", "configures", "the", "delegate", "though", "it", "does", "not", "configure", "DelegateCombineFileInputFormat", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/input/combine/DelegateCombineFileInputFormat.java#L40-L42", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "lucene/src/main/java/com/twitter/elephantbird/mapreduce/input/LuceneIndexInputFormat.java", "func_name": "LuceneIndexInputFormat.findSplits", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds and creates all the index splits based on the input paths set in conf\n@param conf job conf\n@return a priority queue of the splits, default is sorted by size\n@throws IOException", "docstring_tokens": ["Finds", "and", "creates", "all", "the", "index", "splits", "based", "on", "the", "input", "paths", "set", "in", "conf"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/lucene/src/main/java/com/twitter/elephantbird/mapreduce/input/LuceneIndexInputFormat.java#L156-L173", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "lucene/src/main/java/com/twitter/elephantbird/mapreduce/input/LuceneIndexInputFormat.java", "func_name": "LuceneIndexInputFormat.setInputPaths", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the input paths for for this input format.\nAll paths will be searched for indexes recursively\n\n@param paths the input paths\n@param conf the job conf\n@throws IOException", "docstring_tokens": ["Sets", "the", "input", "paths", "for", "for", "this", "input", "format", ".", "All", "paths", "will", "be", "searched", "for", "indexes", "recursively"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/lucene/src/main/java/com/twitter/elephantbird/mapreduce/input/LuceneIndexInputFormat.java#L252-L262", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "lucene/src/main/java/com/twitter/elephantbird/mapreduce/input/LuceneIndexInputFormat.java", "func_name": "LuceneIndexInputFormat.getInputPaths", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the input paths for this input format\n\n@param conf the job conf", "docstring_tokens": ["Gets", "the", "input", "paths", "for", "this", "input", "format"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/lucene/src/main/java/com/twitter/elephantbird/mapreduce/input/LuceneIndexInputFormat.java#L269-L277", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/input/combine/CompositeInputSplit.java", "func_name": "CompositeInputSplit.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add an InputSplit to this collection.", "docstring_tokens": ["Add", "an", "InputSplit", "to", "this", "collection", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/input/combine/CompositeInputSplit.java#L50-L54", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/input/combine/CompositeInputSplit.java", "func_name": "CompositeInputSplit.getLocations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collect a set of hosts from all child InputSplits. Note that this is just a hint to the MapReduce framework\nfor where the task should go, so we return the top 5, as returning too many can be expensive on the MR side\nof things.", "docstring_tokens": ["Collect", "a", "set", "of", "hosts", "from", "all", "child", "InputSplits", ".", "Note", "that", "this", "is", "just", "a", "hint", "to", "the", "MapReduce", "framework", "for", "where", "the", "task", "should", "go", "so", "we", "return", "the", "top", "5", "as", "returning", "too", "many", "can", "be", "expensive", "on", "the", "MR", "side", "of", "things", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/input/combine/CompositeInputSplit.java#L86-L123", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/PigTokenHelper.java", "func_name": "PigTokenHelper.evaluateDelimiter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse an input delimiter string, as with PigStorage, and return the byte it represents.\n@param inputDelimiter the string passed in from the pig script.\n@return the corresponding byte that will serve as the field separator.", "docstring_tokens": ["Parse", "an", "input", "delimiter", "string", "as", "with", "PigStorage", "and", "return", "the", "byte", "it", "represents", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/PigTokenHelper.java#L25-L43", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/ResourceSchemaUtil.java", "func_name": "ResourceSchemaUtil.createResourceFieldSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new ResourceFieldSchema which reflects data from an input RequiredField.\n\n@param field\n@return new ResourceFieldSchema which reflects {@code field}.\n@throws IOException", "docstring_tokens": ["Creates", "a", "new", "ResourceFieldSchema", "which", "reflects", "data", "from", "an", "input", "RequiredField", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/ResourceSchemaUtil.java#L23-L39", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "cascading-protobuf/src/main/java/com/twitter/elephantbird/cascading/protobuf/ProtobufComparator.java", "func_name": "ProtobufComparator.readFully", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Method used to read a protobuf input stream into a byte array\n@param in the protobuf input stream\n@param out the byte output stream\n@param buffer the array out output bytes", "docstring_tokens": ["Method", "used", "to", "read", "a", "protobuf", "input", "stream", "into", "a", "byte", "array"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/cascading-protobuf/src/main/java/com/twitter/elephantbird/cascading/protobuf/ProtobufComparator.java#L56-L66", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/load/LzoBaseRegexLoader.java", "func_name": "LzoBaseRegexLoader.getNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the file line by line, returning lines the match the regex in Tuples\nbased on the regex match groups.", "docstring_tokens": ["Read", "the", "file", "line", "by", "line", "returning", "lines", "the", "match", "the", "regex", "in", "Tuples", "based", "on", "the", "regex", "match", "groups", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/load/LzoBaseRegexLoader.java#L47-L100", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/Codecs.java", "func_name": "Codecs.createStandardBase64", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a instance of standard base64 implementation from apache\ncommons-codec library\n@return standard base64 instance", "docstring_tokens": ["Get", "a", "instance", "of", "standard", "base64", "implementation", "from", "apache", "commons", "-", "codec", "library"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/Codecs.java#L20-L35", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/io/ProtobufConverter.java", "func_name": "ProtobufConverter.newInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a ProtobufConverter for a given Protobuf class.", "docstring_tokens": ["Returns", "a", "ProtobufConverter", "for", "a", "given", "Protobuf", "class", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/io/ProtobufConverter.java#L36-L38", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/io/BinaryBlockReader.java", "func_name": "BinaryBlockReader.readNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if new proto object was read into writable, false other wise.", "docstring_tokens": ["Returns", "true", "if", "new", "proto", "object", "was", "read", "into", "writable", "false", "other", "wise", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/io/BinaryBlockReader.java#L78-L85", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/io/BinaryBlockReader.java", "func_name": "BinaryBlockReader.readNextProtoBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return byte blob for the next proto object. null indicates end of stream;", "docstring_tokens": ["Return", "byte", "blob", "for", "the", "next", "proto", "object", ".", "null", "indicates", "end", "of", "stream", ";"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/io/BinaryBlockReader.java#L90-L104", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/io/BinaryBlockReader.java", "func_name": "BinaryBlockReader.readNextProtoBytes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns true if bytes for next object are written to writable, false\nother wise.", "docstring_tokens": ["returns", "true", "if", "bytes", "for", "next", "object", "are", "written", "to", "writable", "false", "other", "wise", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/io/BinaryBlockReader.java#L110-L117", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "hadoop-compat/src/main/java/com/twitter/elephantbird/util/HadoopCompat.java", "func_name": "HadoopCompat.newTaskAttemptContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates TaskAttempContext from a JobConf and jobId using the correct\nconstructor for based on Hadoop version.", "docstring_tokens": ["Creates", "TaskAttempContext", "from", "a", "JobConf", "and", "jobId", "using", "the", "correct", "constructor", "for", "based", "on", "Hadoop", "version", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/hadoop-compat/src/main/java/com/twitter/elephantbird/util/HadoopCompat.java#L226-L230", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "hadoop-compat/src/main/java/com/twitter/elephantbird/util/HadoopCompat.java", "func_name": "HadoopCompat.newMapContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Instantiates MapContext under Hadoop 1 and MapContextImpl under Hadoop 2.", "docstring_tokens": ["Instantiates", "MapContext", "under", "Hadoop", "1", "and", "MapContextImpl", "under", "Hadoop", "2", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/hadoop-compat/src/main/java/com/twitter/elephantbird/util/HadoopCompat.java#L235-L245", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/io/ThriftWritable.java", "func_name": "ThriftWritable.newInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a ThriftWritable for a given Thrift class.", "docstring_tokens": ["Returns", "a", "ThriftWritable", "for", "a", "given", "Thrift", "class", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/io/ThriftWritable.java#L14-L16", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/TypeRef.java", "func_name": "TypeRef.newInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use the typeRef's parameter to create a new instance of the TypeRef's template parameter.\n@return a new instance of type T\n@throws NoSuchMethodException\n@throws IllegalAccessException\n@throws InvocationTargetException\n@throws InstantiationException", "docstring_tokens": ["Use", "the", "typeRef", "s", "parameter", "to", "create", "a", "new", "instance", "of", "the", "TypeRef", "s", "template", "parameter", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/TypeRef.java#L81-L89", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/TypeRef.java", "func_name": "TypeRef.safeNewInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The cheap, ugly version of the above, for when you don't want to catch 900 exceptions at\nthe calling site.\n@return a new instance of type T.", "docstring_tokens": ["The", "cheap", "ugly", "version", "of", "the", "above", "for", "when", "you", "don", "t", "want", "to", "catch", "900", "exceptions", "at", "the", "calling", "site", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/TypeRef.java#L96-L108", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java", "func_name": "ThriftToDynamicProto.getBuilder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For the given thriftClass, return a Protobufs builder to build a similar protobuf class.\n@param thriftClass The thrift class for which the builder is desired.\n@return a protobuf message builder", "docstring_tokens": ["For", "the", "given", "thriftClass", "return", "a", "Protobufs", "builder", "to", "build", "a", "similar", "protobuf", "class", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java#L151-L153", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java", "func_name": "ThriftToDynamicProto.mapEntryProtoBuilder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return Protobufs builder for a Map field", "docstring_tokens": ["Return", "Protobufs", "builder", "for", "a", "Map", "field"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java#L158-L160", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java", "func_name": "ThriftToDynamicProto.mapDescriptorProtoBuilder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate a DescriptorProto.Builder for the Message type that will be used\nto represent the entries of the input Map field.\n\n@param field a Map Field (field.isMap() == true)\n@param typeName name of new message type", "docstring_tokens": ["Generate", "a", "DescriptorProto", ".", "Builder", "for", "the", "Message", "type", "that", "will", "be", "used", "to", "represent", "the", "entries", "of", "the", "input", "Map", "field", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java#L254-L272", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java", "func_name": "ThriftToDynamicProto.resolveMessageTypeName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For a TStructDescriptor, resolves the typeName and optionally converts and memoizes it's\nschema.", "docstring_tokens": ["For", "a", "TStructDescriptor", "resolves", "the", "typeName", "and", "optionally", "converts", "and", "memoizes", "it", "s", "schema", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java#L300-L315", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java", "func_name": "ThriftToDynamicProto.convert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a thrift object to a protobuf message.\n@param thriftObj thrift object\n@return protobuf protobuf message", "docstring_tokens": ["Convert", "a", "thrift", "object", "to", "a", "protobuf", "message", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java#L351-L355", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java", "func_name": "ThriftToDynamicProto.doConvert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "conver TBase object to Message object\n@param thriftObj", "docstring_tokens": ["conver", "TBase", "object", "to", "Message", "object"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java#L361-L394", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java", "func_name": "ThriftToDynamicProto.buildMapEntryMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a Message that contains the key value pair of a Map entry", "docstring_tokens": ["Builds", "a", "Message", "that", "contains", "the", "key", "value", "pair", "of", "a", "Map", "entry"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java#L507-L535", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java", "func_name": "ThriftToDynamicProto.mapProtoMessageType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "name the proto message used for Map types after the thrift class name of the enclosing\nstruct and the field name", "docstring_tokens": ["name", "the", "proto", "message", "used", "for", "Map", "types", "after", "the", "thrift", "class", "name", "of", "the", "enclosing", "struct", "and", "the", "field", "name"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java#L593-L595", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/HdfsUtils.java", "func_name": "HdfsUtils.walkPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recursively walk a path applying visitor to each path accepted by\nfilter\n\n@param path root path to begin walking, will be visited if\nit passes the filter and directory flag\n@param fs FileSystem for this path\n@param filter filter to determine which paths to accept\n@param visitor visitor to apply to each accepted path\n@throws IOException", "docstring_tokens": ["Recursively", "walk", "a", "path", "applying", "visitor", "to", "each", "path", "accepted", "by", "filter"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/HdfsUtils.java#L62-L79", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/HdfsUtils.java", "func_name": "HdfsUtils.collectPaths", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recursively walk a path, adding paths that are accepted by filter to accumulator\n\n@param path root path to begin walking, will be added to accumulator\n@param fs FileSystem for this path\n@param filter filter to determine which paths to accept\n@param accumulator all paths accepted will be added to accumulator\n@throws IOException", "docstring_tokens": ["Recursively", "walk", "a", "path", "adding", "paths", "that", "are", "accepted", "by", "filter", "to", "accumulator"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/HdfsUtils.java#L90-L101", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/HdfsUtils.java", "func_name": "HdfsUtils.getDirectorySize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the total size of all the contents of a directory that are accepted\nby filter. All subdirectories will be searched recursively and paths in subdirectories\nthat are accepted by filter will also be counted.\n\nDoes not include the size of directories themselves\n(which are 0 in HDFS but may not be 0 on local file systems)\n\nTo get the size of a directory without filtering, use\n{@link #getDirectorySize(Path, FileSystem)} which is much more efficient.\n\n@param path path to recursively walk\n@param fs FileSystem for this path\n@param filter path filter for which paths size's to include in the total\nNOTE: you do *not* need to filter out directories, this will be done for you\n@return size of the directory in bytes\n@throws IOException", "docstring_tokens": ["Calculates", "the", "total", "size", "of", "all", "the", "contents", "of", "a", "directory", "that", "are", "accepted", "by", "filter", ".", "All", "subdirectories", "will", "be", "searched", "recursively", "and", "paths", "in", "subdirectories", "that", "are", "accepted", "by", "filter", "will", "also", "be", "counted", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/HdfsUtils.java#L134-L142", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "rcfile/src/main/java/com/twitter/elephantbird/mapreduce/output/RCFileOutputFormat.java", "func_name": "RCFileOutputFormat.setColumnNumber", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set number of columns into the given configuration.\n\n@param conf\nconfiguration instance which need to set the column number\n@param columnNum\ncolumn number for RCFile's Writer", "docstring_tokens": ["set", "number", "of", "columns", "into", "the", "given", "configuration", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/rcfile/src/main/java/com/twitter/elephantbird/mapreduce/output/RCFileOutputFormat.java#L52-L55", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "cascading2/src/main/java/com/twitter/elephantbird/cascading2/scheme/CombinedSequenceFile.java", "func_name": "CombinedSequenceFile.updateJobConfForLocalSettings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "We can allow overriding the compression settings for just this scheme here", "docstring_tokens": ["We", "can", "allow", "overriding", "the", "compression", "settings", "for", "just", "this", "scheme", "here"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/cascading2/src/main/java/com/twitter/elephantbird/cascading2/scheme/CombinedSequenceFile.java#L42-L57", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "cascading-protobuf/src/main/java/com/twitter/elephantbird/cascading/protobuf/ProtobufReflectionUtil.java", "func_name": "ProtobufReflectionUtil.parseMethodFor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the method for a message\n@param klass the class containing the message\n@return the parsed method", "docstring_tokens": ["Parse", "the", "method", "for", "a", "message"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/cascading-protobuf/src/main/java/com/twitter/elephantbird/cascading/protobuf/ProtobufReflectionUtil.java#L21-L29", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "cascading-protobuf/src/main/java/com/twitter/elephantbird/cascading/protobuf/ProtobufReflectionUtil.java", "func_name": "ProtobufReflectionUtil.parseMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the message in a given InputStream using scpecified Method\n@param parseMethod the method used for parsing\n@param in the input stream\n@return the parsed message", "docstring_tokens": ["Parse", "the", "message", "in", "a", "given", "InputStream", "using", "scpecified", "Method"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/cascading-protobuf/src/main/java/com/twitter/elephantbird/cascading/protobuf/ProtobufReflectionUtil.java#L37-L47", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "cascading-protobuf/src/main/java/com/twitter/elephantbird/cascading/protobuf/ProtobufReflectionUtil.java", "func_name": "ProtobufReflectionUtil.parseMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the message in a given Message container\n@param klass the class containing the message\n@param in the input stream\n@return the parsed Message", "docstring_tokens": ["Parse", "the", "message", "in", "a", "given", "Message", "container"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/cascading-protobuf/src/main/java/com/twitter/elephantbird/cascading/protobuf/ProtobufReflectionUtil.java#L55-L58", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/store/LzoJsonStorage.java", "func_name": "LzoJsonStorage.putNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The first element is expected to be a map, or null. Anything else causes an error.\n@param tuple the tuple to write.", "docstring_tokens": ["The", "first", "element", "is", "expected", "to", "be", "a", "map", "or", "null", ".", "Anything", "else", "causes", "an", "error", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/store/LzoJsonStorage.java#L45-L67", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/output/LzoProtobufB64LineOutputFormat.java", "func_name": "LzoProtobufB64LineOutputFormat.setClassConf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets an internal configuration in jobConf so that remote Tasks\ninstantiate appropriate object for this generic class based on protoClass", "docstring_tokens": ["Sets", "an", "internal", "configuration", "in", "jobConf", "so", "that", "remote", "Tasks", "instantiate", "appropriate", "object", "for", "this", "generic", "class", "based", "on", "protoClass"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/output/LzoProtobufB64LineOutputFormat.java#L40-L45", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/input/MultiInputFormat.java", "func_name": "MultiInputFormat.setTypeRef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "set typeRef from conf", "docstring_tokens": ["set", "typeRef", "from", "conf"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/input/MultiInputFormat.java#L169-L184", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/thrift7/src/main/java/com/twitter/elephantbird/thrift/AbstractThriftBinaryProtocol.java", "func_name": "AbstractThriftBinaryProtocol.checkContainerSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the container size is valid.\n\nNOTE: This assumes that the elements are one byte each. So this does not\ncatch all cases, but does increase the chances of handling malformed\nlengths when the number of remaining bytes in the underlying Transport is\nclearly less than the container size that the Transport provides.", "docstring_tokens": ["Check", "if", "the", "container", "size", "is", "valid", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/thrift7/src/main/java/com/twitter/elephantbird/thrift/AbstractThriftBinaryProtocol.java#L40-L49", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/StreamSearcher.java", "func_name": "StreamSearcher.setPattern", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a new pattern for this StreamSearcher to use.\n@param pattern\nthe pattern the StreamSearcher will look for in future calls to search(...)", "docstring_tokens": ["Sets", "a", "new", "pattern", "for", "this", "StreamSearcher", "to", "use", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/StreamSearcher.java#L28-L32", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/Strings.java", "func_name": "Strings.underscore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Underscore the given word.\n@param word The word\n@return The underscored version of the word", "docstring_tokens": ["Underscore", "the", "given", "word", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/Strings.java#L37-L51", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/Strings.java", "func_name": "Strings.ordinalize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the ordinal for the given number.\n@param n The number\n@return The ordinal String", "docstring_tokens": ["Return", "the", "ordinal", "for", "the", "given", "number", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/Strings.java#L140-L155", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/io/ProtobufWritable.java", "func_name": "ProtobufWritable.newInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a ProtobufWritable for a given Protobuf class.", "docstring_tokens": ["Returns", "a", "ProtobufWritable", "for", "a", "given", "Protobuf", "class", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/io/ProtobufWritable.java#L27-L29", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/input/LzoW3CLogInputFormat.java", "func_name": "LzoW3CLogInputFormat.newInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use this method to create valid instances of LzoW3CLogInputFormat\n@param fieldDefinitionFile path to file in HDFS that contains the CRC hash to column mappings.\n@return", "docstring_tokens": ["Use", "this", "method", "to", "create", "valid", "instances", "of", "LzoW3CLogInputFormat"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/input/LzoW3CLogInputFormat.java#L37-L52", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapred/output/DeprecatedOutputFormatWrapper.java", "func_name": "DeprecatedOutputFormatWrapper.setOutputFormat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For cases where we need to set hadoop1 output format in a hadoop2 Configuration object.", "docstring_tokens": ["For", "cases", "where", "we", "need", "to", "set", "hadoop1", "output", "format", "in", "a", "hadoop2", "Configuration", "object", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapred/output/DeprecatedOutputFormatWrapper.java#L67-L70", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/Inflection.java", "func_name": "Inflection.match", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Does the given word match?\n@param word The word\n@return True if it matches the inflection pattern", "docstring_tokens": ["Does", "the", "given", "word", "match?"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/Inflection.java#L123-L126", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/Inflection.java", "func_name": "Inflection.replace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace the word with its pattern.\n@param word The word\n@return The result", "docstring_tokens": ["Replace", "the", "word", "with", "its", "pattern", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/Inflection.java#L133-L136", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/Inflection.java", "func_name": "Inflection.pluralize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the pluralized version of a word.\n@param word The word\n@return The pluralized word", "docstring_tokens": ["Return", "the", "pluralized", "version", "of", "a", "word", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/Inflection.java#L143-L154", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/util/Inflection.java", "func_name": "Inflection.isUncountable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if the word is uncountable.\n@param word The word\n@return True if it is uncountable", "docstring_tokens": ["Return", "true", "if", "the", "word", "is", "uncountable", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/util/Inflection.java#L179-L186", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/output/LzoOutputFormat.java", "func_name": "LzoOutputFormat.getOutputStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to create lzo output file needed to create RecordWriter", "docstring_tokens": ["Helper", "method", "to", "create", "lzo", "output", "file", "needed", "to", "create", "RecordWriter"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/output/LzoOutputFormat.java#L26-L32", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/store/SequenceFileStorage.java", "func_name": "SequenceFileStorage.verifyWritableClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tests validity of Writable class, ensures consistent error message for both key and value\ntests.\n\n@param writableClass class being tested.\n@param isKeyClass {@code true} if testing keyClass, {@code false} otherwise.\n@param writableConverter associated WritableConverter instance.", "docstring_tokens": ["Tests", "validity", "of", "Writable", "class", "ensures", "consistent", "error", "message", "for", "both", "key", "and", "value", "tests", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/store/SequenceFileStorage.java#L257-L263", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/io/ThriftConverter.java", "func_name": "ThriftConverter.newInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a ThriftConverter for a given Thrift class.", "docstring_tokens": ["Returns", "a", "ThriftConverter", "for", "a", "given", "Thrift", "class", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/io/ThriftConverter.java#L36-L38", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/PigUtil.java", "func_name": "PigUtil.getClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns class using Pig's class loader.", "docstring_tokens": ["Returns", "class", "using", "Pig", "s", "class", "loader", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/PigUtil.java#L22-L28", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "pig/src/main/java/com/twitter/elephantbird/pig/util/PigUtil.java", "func_name": "PigUtil.getThriftTypeRef", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns TypeRef using Pig class loader.", "docstring_tokens": ["Returns", "TypeRef", "using", "Pig", "class", "loader", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/pig/src/main/java/com/twitter/elephantbird/pig/util/PigUtil.java#L96-L98", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "rcfile/src/main/java/com/twitter/elephantbird/util/RCFileUtil.java", "func_name": "RCFileUtil.findColumnsToRead", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns list of columns that need to be read from the RCFile.\nThese columns are the intersection of currently required columns and\ncolumns stored in the file.\nIf any required column does not exist in the file, we need to read\nthe \"unknown fields\" column, which is usually the last last one.", "docstring_tokens": ["Returns", "list", "of", "columns", "that", "need", "to", "be", "read", "from", "the", "RCFile", ".", "These", "columns", "are", "the", "intersection", "of", "currently", "required", "columns", "and", "columns", "stored", "in", "the", "file", ".", "If", "any", "required", "column", "does", "not", "exist", "in", "the", "file", "we", "need", "to", "read", "the", "unknown", "fields", "column", "which", "is", "usually", "the", "last", "last", "one", "."], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/rcfile/src/main/java/com/twitter/elephantbird/util/RCFileUtil.java#L82-L144", "partition": "valid"}
+{"repo": "twitter/elephant-bird", "path": "core/src/main/java/com/twitter/elephantbird/mapreduce/output/LzoThriftB64LineOutputFormat.java", "func_name": "LzoThriftB64LineOutputFormat.setClassConf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets an internal configuration in jobConf so that remote Tasks\ninstantiate appropriate object for this generic class based on thriftClass", "docstring_tokens": ["Sets", "an", "internal", "configuration", "in", "jobConf", "so", "that", "remote", "Tasks", "instantiate", "appropriate", "object", "for", "this", "generic", "class", "based", "on", "thriftClass"], "sha": "62642c935198aa0ff968f48669c7e654b42dfbf0", "url": "https://github.com/twitter/elephant-bird/blob/62642c935198aa0ff968f48669c7e654b42dfbf0/core/src/main/java/com/twitter/elephantbird/mapreduce/output/LzoThriftB64LineOutputFormat.java#L36-L41", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/oauth/client/RedditHttpClient.java", "func_name": "RedditHttpClient.executeHttpRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the given HTTP request.\n\n@param request HTTP request\n\n@return Result, null if failed", "docstring_tokens": ["Execute", "the", "given", "HTTP", "request", "."], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/oauth/client/RedditHttpClient.java#L99-L120", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/oauth/client/RedditHttpClient.java", "func_name": "RedditHttpClient.addAuthorization", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add authorization to the HTTP request.\n\n@param request HTTP request\n@param rToken Reddit token (generally of the \"bearer\" type)", "docstring_tokens": ["Add", "authorization", "to", "the", "HTTP", "request", "."], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/oauth/client/RedditHttpClient.java#L128-L130", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/parser/listing/RedditListingParser.java", "func_name": "RedditListingParser.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate that it is indeed the starting of a listing of reddit things.\n\n@param response Object returned by JSON parser\n\n@throws RedditRequestException If the response is not valid listing of reddit things", "docstring_tokens": ["Validate", "that", "it", "is", "indeed", "the", "starting", "of", "a", "listing", "of", "reddit", "things", "."], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/parser/listing/RedditListingParser.java#L37-L62", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/parser/listing/RedditListingParser.java", "func_name": "RedditListingParser.parseThing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the data into a thing if possible.\n\n@param kind Kind of data\n@param data Data for the thing\n@return The thing generated from the data, if failed null", "docstring_tokens": ["Parse", "the", "data", "into", "a", "thing", "if", "possible", "."], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/parser/listing/RedditListingParser.java#L166-L189", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/parser/listing/MixedListingParser.java", "func_name": "MixedListingParser.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse JSON received from reddit into a list of submissions and comments.\nThis parser expects the JSON to be of a listing of submissions and comments.\n\n@param jsonText JSON Text\n@return Parsed list of submissions\n\n@throws ParseException", "docstring_tokens": ["Parse", "JSON", "received", "from", "reddit", "into", "a", "list", "of", "submissions", "and", "comments", ".", "This", "parser", "expects", "the", "JSON", "to", "be", "of", "a", "listing", "of", "submissions", "and", "comments", "."], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/parser/listing/MixedListingParser.java#L36-L60", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/request/util/KeyValueFormatter.java", "func_name": "KeyValueFormatter.formatCommaSeparatedList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Format a comma separated list of the given list.\n\n@param list List of strings\n\n@return Comma-separated list string (e.g. \"a,b,c,d\")", "docstring_tokens": ["Format", "a", "comma", "separated", "list", "of", "the", "given", "list", "."], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/request/util/KeyValueFormatter.java#L75-L84", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/oauth/client/RedditPoliteClient.java", "func_name": "RedditPoliteClient.waitIfNeeded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wait if required.", "docstring_tokens": ["Wait", "if", "required", "."], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/oauth/client/RedditPoliteClient.java#L81-L99", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/oauth/RedditOAuthAgent.java", "func_name": "RedditOAuthAgent.addBasicAuthentication", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the basic authentication protocol to the OAuth request using\nthe credentials of the Reddit application provided.\n\n@param request OAuth request\n@param app Reddit application", "docstring_tokens": ["Add", "the", "basic", "authentication", "protocol", "to", "the", "OAuth", "request", "using", "the", "credentials", "of", "the", "Reddit", "application", "provided", "."], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/oauth/RedditOAuthAgent.java#L168-L172", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/oauth/RedditToken.java", "func_name": "RedditToken.refresh", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Refresh this reddit token with data received from the new token.\n\n@param token Token received from a refresh request to reddit", "docstring_tokens": ["Refresh", "this", "reddit", "token", "with", "data", "received", "from", "the", "new", "token", "."], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/oauth/RedditToken.java#L80-L86", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/parser/util/CommentTreeUtils.java", "func_name": "CommentTreeUtils.printCommentTree", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get printable version of the given comment tree.\n\n@param cs List of comment tree elements\n\n@return Printable comment tree", "docstring_tokens": ["Get", "printable", "version", "of", "the", "given", "comment", "tree", "."], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/parser/util/CommentTreeUtils.java#L52-L58", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/parser/util/JsonUtils.java", "func_name": "JsonUtils.safeJsonToInteger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Safely converts an object into an integer\n\n@param obj The object to convert.\n@return an Integer representing the integer value of the Object (null if the object cannot be converted to an Integer)", "docstring_tokens": ["Safely", "converts", "an", "object", "into", "an", "integer"], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/parser/util/JsonUtils.java#L34-L45", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/parser/util/JsonUtils.java", "func_name": "JsonUtils.safeJsonToDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Safely converts an object into an double\n\n@param obj The object to convert.\n@return a Double representing the double value of the Object (null if the object cannot be converted to Double)", "docstring_tokens": ["Safely", "converts", "an", "object", "into", "an", "double"], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/parser/util/JsonUtils.java#L53-L64", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/parser/util/JsonUtils.java", "func_name": "JsonUtils.safeJsonToBoolean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Safely converts an object into an boolean\n\n@param obj The object to convert.\n@return a Boolean representing the boolean value of the Object (null only if the object was also null)", "docstring_tokens": ["Safely", "converts", "an", "object", "into", "an", "boolean"], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/parser/util/JsonUtils.java#L73-L77", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/parser/util/JsonUtils.java", "func_name": "JsonUtils.safeJsonToLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Safely converts an object into an long\n\n@param obj The object to convert.\n@return a Long representing the long value of the Object (null if the object cannot be converted to Long)", "docstring_tokens": ["Safely", "converts", "an", "object", "into", "an", "long"], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/parser/util/JsonUtils.java#L85-L96", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/parser/single/FullSubmissionParser.java", "func_name": "FullSubmissionParser.parseRecursive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse a JSON object consisting of comments and add them\nto the already existing list of comments. This does NOT create\na new comment list.\n\n@param comments List of comments\n@param object JSON Object", "docstring_tokens": ["Parse", "a", "JSON", "object", "consisting", "of", "comments", "and", "add", "them", "to", "the", "already", "existing", "list", "of", "comments", ".", "This", "does", "NOT", "create", "a", "new", "comment", "list", "."], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/parser/single/FullSubmissionParser.java#L70-L118", "partition": "valid"}
+{"repo": "jReddit/jReddit", "path": "src/main/java/com/github/jreddit/parser/listing/SubredditsListingParser.java", "func_name": "SubredditsListingParser.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse JSON received from reddit into a list of subreddits.\nThis parser expects the JSON to be of a listing of subreddits.\n\n@param jsonText JSON Text\n@return Parsed list of subreddits\n\n@throws ParseException", "docstring_tokens": ["Parse", "JSON", "received", "from", "reddit", "into", "a", "list", "of", "subreddits", ".", "This", "parser", "expects", "the", "JSON", "to", "be", "of", "a", "listing", "of", "subreddits", "."], "sha": "ac0b518f190c30228e401ef66d53329bbd27bad6", "url": "https://github.com/jReddit/jReddit/blob/ac0b518f190c30228e401ef66d53329bbd27bad6/src/main/java/com/github/jreddit/parser/listing/SubredditsListingParser.java#L27-L49", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/utils/EnforceSignedRequestUtils.java", "func_name": "EnforceSignedRequestUtils.signature", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "signature returns the HmacSHA256 encoded signature used for signed Instagram requests\n@param endpoint The endpoint\n@param params The query parameters\n@param clientSecret The client application secret\n@return encoded signature String\n@throws InstagramException", "docstring_tokens": ["signature", "returns", "the", "HmacSHA256", "encoded", "signature", "used", "for", "signed", "Instagram", "requests"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/utils/EnforceSignedRequestUtils.java#L31-L53", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/utils/MapUtils.java", "func_name": "MapUtils.sort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sorts a Map\n\n@param map unsorted map\n@return sorted map", "docstring_tokens": ["Sorts", "a", "Map"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/utils/MapUtils.java#L23-L33", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/InstagramOembed.java", "func_name": "InstagramOembed.getOembedInformation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns information about the media associated with that link.\n\n@param url A short link, like http://instagr.am/p/BUG/.\n@return OembedInformation object\n@throws org.jinstagram.exceptions.InstagramException if any error occurs.", "docstring_tokens": ["Returns", "information", "about", "the", "media", "associated", "with", "that", "link", "."], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/InstagramOembed.java#L30-L33", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/InstagramOembed.java", "func_name": "InstagramOembed.createInstagramObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an Instagram object based on class-name and response.\n\n@param verbs HTTP State\n@param clazz\n@param methodName\n@param params\n@return\n@throws InstagramException", "docstring_tokens": ["Create", "an", "Instagram", "object", "based", "on", "class", "-", "name", "and", "response", "."], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/InstagramOembed.java#L45-L59", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/InstagramOembed.java", "func_name": "InstagramOembed.createObjectFromResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an object from the JSON response and the class which the object would be mapped to.\n\n@param clazz a class instance\n@param response a JSON feed\n@return a object of type \n@throws InstagramException if any error occurs.", "docstring_tokens": ["Creates", "an", "object", "from", "the", "JSON", "response", "and", "the", "class", "which", "the", "object", "would", "be", "mapped", "to", "."], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/InstagramOembed.java#L115-L126", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/utils/Preconditions.java", "func_name": "Preconditions.checkBothNotNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that at least one of object1 or object2 is not null\n\n@param object1 any object\n@param object2 any object\n@param errorMsg error message\n@throws IllegalArgumentException if both object1 and object2 are null", "docstring_tokens": ["Checks", "that", "at", "least", "one", "of", "object1", "or", "object2", "is", "not", "null"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/utils/Preconditions.java#L37-L39", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/utils/Preconditions.java", "func_name": "Preconditions.checkEmptyString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that a string is not null or empty\n@param string any string\n@param errorMsg error message\n@throws IllegalArgumentException if the string is null or empty", "docstring_tokens": ["Checks", "that", "a", "string", "is", "not", "null", "or", "empty"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/utils/Preconditions.java#L47-L49", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/utils/Preconditions.java", "func_name": "Preconditions.checkValidUrl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that a URL is valid\n\n@param url any string\n@param errorMsg error message", "docstring_tokens": ["Checks", "that", "a", "URL", "is", "valid"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/utils/Preconditions.java#L57-L60", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/utils/Preconditions.java", "func_name": "Preconditions.checkValidOAuthCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that a URL is a valid OAuth callback\n\n@param url any string\n@param errorMsg error message", "docstring_tokens": ["Checks", "that", "a", "URL", "is", "a", "valid", "OAuth", "callback"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/utils/Preconditions.java#L68-L74", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/auth/oauth/InstagramService.java", "func_name": "InstagramService.getSignedHeaderInstagram", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return an Instagram object with enforced signed header", "docstring_tokens": ["Return", "an", "Instagram", "object", "with", "enforced", "signed", "header"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/auth/oauth/InstagramService.java#L110-L113", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/InstagramBase.java", "func_name": "InstagramBase.configureConnectionSettings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure the request with the connection settings of config\n@param request OAuthRequest object\n@param config InstagramConfig object", "docstring_tokens": ["Configure", "the", "request", "with", "the", "connection", "settings", "of", "config"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/InstagramBase.java#L1037-L1043", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/http/Request.java", "func_name": "Request.getBodyContents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the body of the request\n\n@return form encoded string\n@throws OAuthException if the charset chosen is not supported", "docstring_tokens": ["Returns", "the", "body", "of", "the", "request"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/http/Request.java#L207-L213", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/utils/LogHelper.java", "func_name": "LogHelper.prettyPrintJSONResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pretty print the JSON response in the logs\n\n@param logger the logger instance\n@param jsonString the json String which is to be pretty printed.", "docstring_tokens": ["Pretty", "print", "the", "JSON", "response", "in", "the", "logs"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/utils/LogHelper.java#L98-L111", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/realtime/InstagramSubscription.java", "func_name": "InstagramSubscription.callback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures the callback url\n\n@param callback The callback for your application\n@return the {@link InstagramSubscription} instance for method chaining", "docstring_tokens": ["Configures", "the", "callback", "url"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/realtime/InstagramSubscription.java#L40-L46", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/realtime/InstagramSubscription.java", "func_name": "InstagramSubscription.clientId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configures the clientId\n\n@param clientId The clientId for your application\n@return the {@link InstagramSubscription} instance for method chaining", "docstring_tokens": ["Configures", "the", "clientId"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/realtime/InstagramSubscription.java#L54-L60", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/realtime/InstagramSubscription.java", "func_name": "InstagramSubscription.clientSecret", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure the clientSecret\n@param clientSecret The clientSecret for your application\n@return the {@link InstagramSubscription} instance for method chaining", "docstring_tokens": ["Configure", "the", "clientSecret"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/realtime/InstagramSubscription.java#L67-L73", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/realtime/InstagramSubscription.java", "func_name": "InstagramSubscription.object", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure the subscription type\n@param type The subscription type for your usage\n@return the {@link InstagramSubscription} instance for method chaining", "docstring_tokens": ["Configure", "the", "subscription", "type"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/realtime/InstagramSubscription.java#L80-L85", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/realtime/InstagramSubscription.java", "func_name": "InstagramSubscription.verifyToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure the verifyToken for the subscription\n\n@param verifyToken The token for the subscription\n@return the {@link InstagramSubscription} instance for method chaining", "docstring_tokens": ["Configure", "the", "verifyToken", "for", "the", "subscription"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/realtime/InstagramSubscription.java#L105-L111", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/realtime/InstagramSubscription.java", "func_name": "InstagramSubscription.aspect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure the aspect for the subscription\n\n@param aspect The aspect of the subscription\n@return the {@link InstagramSubscription} instance for method chaining", "docstring_tokens": ["Configure", "the", "aspect", "for", "the", "subscription"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/realtime/InstagramSubscription.java#L119-L125", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/realtime/InstagramSubscription.java", "func_name": "InstagramSubscription.latitute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure the latitude for geography subscription\n@param latitude The latitude for geography subscription\n@return the {@link InstagramSubscription} instance for method chaining", "docstring_tokens": ["Configure", "the", "latitude", "for", "geography", "subscription"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/realtime/InstagramSubscription.java#L132-L138", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/realtime/InstagramSubscription.java", "func_name": "InstagramSubscription.longitude", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure the longitude for geography subscription\n@param longitude The longitude for geography subscription\n@return the {@link InstagramSubscription} instance for method chaining", "docstring_tokens": ["Configure", "the", "longitude", "for", "geography", "subscription"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/realtime/InstagramSubscription.java#L145-L151", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/realtime/InstagramSubscription.java", "func_name": "InstagramSubscription.radius", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure the radius for geography subscription\n@param radius The radius for geography subscription in metre\n@return the {@link InstagramSubscription} instance for method chaining", "docstring_tokens": ["Configure", "the", "radius", "for", "geography", "subscription"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/realtime/InstagramSubscription.java#L158-L164", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/realtime/InstagramSubscription.java", "func_name": "InstagramSubscription.deleteSubscription", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes a subscription with the specified identifier.\n\n@param id the id of the subscription to remove", "docstring_tokens": ["Deletes", "a", "subscription", "with", "the", "specified", "identifier", "."], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/realtime/InstagramSubscription.java#L212-L222", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/realtime/InstagramSubscription.java", "func_name": "InstagramSubscription.deleteAllSubscription", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes all the known subscription.\n\n@return the response of this request, holding mainly the code", "docstring_tokens": ["Deletes", "all", "the", "known", "subscription", "."], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/realtime/InstagramSubscription.java#L229-L239", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/realtime/InstagramSubscription.java", "func_name": "InstagramSubscription.getSubscriptionList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the currently active subscription.\n\n@return the active subscription", "docstring_tokens": ["Returns", "the", "currently", "active", "subscription", "."], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/realtime/InstagramSubscription.java#L246-L255", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/http/URLUtils.java", "func_name": "URLUtils.formURLEncodeMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Turns a map into a form-urlencoded string\n\n@param map any map\n@return form-url-encoded string", "docstring_tokens": ["Turns", "a", "map", "into", "a", "form", "-", "urlencoded", "string"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/http/URLUtils.java#L110-L114", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/http/URLUtils.java", "func_name": "URLUtils.percentEncode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Percent encodes a string\n\n@param string plain string\n@return percent encoded string", "docstring_tokens": ["Percent", "encodes", "a", "string"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/http/URLUtils.java#L136-L144", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/http/URLUtils.java", "func_name": "URLUtils.appendParametersToQueryString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append given parameters to the query string of the url\n\n@param url the url to append parameters to\n@param params any map\n@return new url with parameters on query string", "docstring_tokens": ["Append", "given", "parameters", "to", "the", "query", "string", "of", "the", "url"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/http/URLUtils.java#L185-L198", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/http/URLUtils.java", "func_name": "URLUtils.concatSortedPercentEncodedParams", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Concats a key-value map into a querystring-like String\n\n@param params key-value map\n@return querystring-like String", "docstring_tokens": ["Concats", "a", "key", "-", "value", "map", "into", "a", "querystring", "-", "like", "String"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/http/URLUtils.java#L206-L215", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/http/URLUtils.java", "func_name": "URLUtils.queryStringToMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses and form-urldecodes a querystring-like string into a map\n\n@param queryString querystring-like String\n@return a map with the form-urldecoded parameters", "docstring_tokens": ["Parses", "and", "form", "-", "urldecodes", "a", "querystring", "-", "like", "string", "into", "a", "map"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/http/URLUtils.java#L223-L237", "partition": "valid"}
+{"repo": "sachin-handiekar/jInstagram", "path": "src/main/java/org/jinstagram/entity/common/InstagramErrorResponse.java", "func_name": "InstagramErrorResponse.throwException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Throw instagram exception to the client\n\n@throws InstagramException", "docstring_tokens": ["Throw", "instagram", "exception", "to", "the", "client"], "sha": "82834b0ea2629913c8f2c4a76f949505c92093b9", "url": "https://github.com/sachin-handiekar/jInstagram/blob/82834b0ea2629913c8f2c4a76f949505c92093b9/src/main/java/org/jinstagram/entity/common/InstagramErrorResponse.java#L40-L54", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j/src/main/java/eu/verdelhan/ta4j/BaseTick.java", "func_name": "BaseTick.addTrade", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a trade at the end of tick period.\n@param tradeVolume the traded volume\n@param tradePrice the price", "docstring_tokens": ["Adds", "a", "trade", "at", "the", "end", "of", "tick", "period", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j/src/main/java/eu/verdelhan/ta4j/BaseTick.java#L229-L248", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j/src/main/java/eu/verdelhan/ta4j/indicators/CachedIndicator.java", "func_name": "CachedIndicator.increaseLengthTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Increases the size of cached results buffer.\n@param index the index to increase length to\n@param maxLength the maximum length of the results buffer", "docstring_tokens": ["Increases", "the", "size", "of", "cached", "results", "buffer", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j/src/main/java/eu/verdelhan/ta4j/indicators/CachedIndicator.java#L124-L139", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j/src/main/java/eu/verdelhan/ta4j/analysis/criteria/MaximumDrawdownCriterion.java", "func_name": "MaximumDrawdownCriterion.calculateMaximumDrawdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the maximum drawdown from a cash flow over a series.\n@param series the time series\n@param cashFlow the cash flow\n@return the maximum drawdown from a cash flow over a series", "docstring_tokens": ["Calculates", "the", "maximum", "drawdown", "from", "a", "cash", "flow", "over", "a", "series", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j/src/main/java/eu/verdelhan/ta4j/analysis/criteria/MaximumDrawdownCriterion.java#L66-L84", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j-examples/src/main/java/ta4jexamples/walkforward/WalkForward.java", "func_name": "WalkForward.getSplitBeginIndexes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a list of split indexes from splitDuration.\n@param series the time series to get split begin indexes of\n@param splitDuration the duration between 2 splits\n@return a list of begin indexes after split", "docstring_tokens": ["Builds", "a", "list", "of", "split", "indexes", "from", "splitDuration", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j-examples/src/main/java/ta4jexamples/walkforward/WalkForward.java#L59-L89", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j/src/main/java/eu/verdelhan/ta4j/indicators/statistics/SimpleLinearRegressionIndicator.java", "func_name": "SimpleLinearRegressionIndicator.calculateRegressionLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the regression line.\n@param startIndex the start index (inclusive) in the time series\n@param endIndex the end index (inclusive) in the time series", "docstring_tokens": ["Calculates", "the", "regression", "line", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j/src/main/java/eu/verdelhan/ta4j/indicators/statistics/SimpleLinearRegressionIndicator.java#L69-L93", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j/src/main/java/eu/verdelhan/ta4j/Trade.java", "func_name": "Trade.operate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Operates the trade at the index-th position\n@param index the tick index\n@param price the price\n@param amount the amount\n@return the order", "docstring_tokens": ["Operates", "the", "trade", "at", "the", "index", "-", "th", "position"], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j/src/main/java/eu/verdelhan/ta4j/Trade.java#L127-L140", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j-examples/src/main/java/ta4jexamples/analysis/BuyAndSellSignalsToChart.java", "func_name": "BuyAndSellSignalsToChart.buildChartTimeSeries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a JFreeChart time series from a Ta4j time series and an indicator.\n@param tickSeries the ta4j time series\n@param indicator the indicator\n@param name the name of the chart time series\n@return the JFreeChart time series", "docstring_tokens": ["Builds", "a", "JFreeChart", "time", "series", "from", "a", "Ta4j", "time", "series", "and", "an", "indicator", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j-examples/src/main/java/ta4jexamples/analysis/BuyAndSellSignalsToChart.java#L64-L71", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j-examples/src/main/java/ta4jexamples/bots/TradingBotOnMovingTimeSeries.java", "func_name": "TradingBotOnMovingTimeSeries.randDecimal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a random decimal number between min and max.\n@param min the minimum bound\n@param max the maximum bound\n@return a random decimal number between min and max", "docstring_tokens": ["Generates", "a", "random", "decimal", "number", "between", "min", "and", "max", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j-examples/src/main/java/ta4jexamples/bots/TradingBotOnMovingTimeSeries.java#L93-L99", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j-examples/src/main/java/ta4jexamples/bots/TradingBotOnMovingTimeSeries.java", "func_name": "TradingBotOnMovingTimeSeries.generateRandomTick", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a random tick.\n@return a random tick", "docstring_tokens": ["Generates", "a", "random", "tick", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j-examples/src/main/java/ta4jexamples/bots/TradingBotOnMovingTimeSeries.java#L105-L113", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j/src/main/java/eu/verdelhan/ta4j/indicators/ParabolicSarIndicator.java", "func_name": "ParabolicSarIndicator.incrementAcceleration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Increments the acceleration factor.", "docstring_tokens": ["Increments", "the", "acceleration", "factor", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j/src/main/java/eu/verdelhan/ta4j/indicators/ParabolicSarIndicator.java#L139-L145", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j/src/main/java/eu/verdelhan/ta4j/indicators/ParabolicSarIndicator.java", "func_name": "ParabolicSarIndicator.calculateSar", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the SAR.\n@param index the tick index\n@return the SAR", "docstring_tokens": ["Calculates", "the", "SAR", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j/src/main/java/eu/verdelhan/ta4j/indicators/ParabolicSarIndicator.java#L152-L156", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j/src/main/java/eu/verdelhan/ta4j/analysis/CashFlow.java", "func_name": "CashFlow.calculate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the cash flow for a single trade.\n@param trade a single trade", "docstring_tokens": ["Calculates", "the", "cash", "flow", "for", "a", "single", "trade", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j/src/main/java/eu/verdelhan/ta4j/analysis/CashFlow.java#L95-L112", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j/src/main/java/eu/verdelhan/ta4j/analysis/CashFlow.java", "func_name": "CashFlow.fillToTheEnd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fills with last value till the end of the series.", "docstring_tokens": ["Fills", "with", "last", "value", "till", "the", "end", "of", "the", "series", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j/src/main/java/eu/verdelhan/ta4j/analysis/CashFlow.java#L128-L133", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j-examples/src/main/java/ta4jexamples/logging/StrategyExecutionLogging.java", "func_name": "StrategyExecutionLogging.loadLoggerConfiguration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads the Logback configuration from a resource file.\nOnly here to avoid polluting other examples with logs. Could be replaced by a simple logback.xml file in the resource folder.", "docstring_tokens": ["Loads", "the", "Logback", "configuration", "from", "a", "resource", "file", ".", "Only", "here", "to", "avoid", "polluting", "other", "examples", "with", "logs", ".", "Could", "be", "replaced", "by", "a", "simple", "logback", ".", "xml", "file", "in", "the", "resource", "folder", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j-examples/src/main/java/ta4jexamples/logging/StrategyExecutionLogging.java#L51-L62", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j-examples/src/main/java/ta4jexamples/indicators/CandlestickChart.java", "func_name": "CandlestickChart.createOHLCDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a JFreeChart OHLC dataset from a ta4j time series.\n@param series a time series\n@return an Open-High-Low-Close dataset", "docstring_tokens": ["Builds", "a", "JFreeChart", "OHLC", "dataset", "from", "a", "ta4j", "time", "series", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j-examples/src/main/java/ta4jexamples/indicators/CandlestickChart.java#L56-L79", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j-examples/src/main/java/ta4jexamples/indicators/CandlestickChart.java", "func_name": "CandlestickChart.createAdditionalDataset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds an additional JFreeChart dataset from a ta4j time series.\n@param series a time series\n@return an additional dataset", "docstring_tokens": ["Builds", "an", "additional", "JFreeChart", "dataset", "from", "a", "ta4j", "time", "series", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j-examples/src/main/java/ta4jexamples/indicators/CandlestickChart.java#L86-L96", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j-examples/src/main/java/ta4jexamples/analysis/CashFlowToChart.java", "func_name": "CashFlowToChart.addCashFlowAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the cash flow axis to the plot.\n@param plot the plot\n@param dataset the cash flow dataset", "docstring_tokens": ["Adds", "the", "cash", "flow", "axis", "to", "the", "plot", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j-examples/src/main/java/ta4jexamples/analysis/CashFlowToChart.java#L78-L87", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j-examples/src/main/java/ta4jexamples/analysis/CashFlowToChart.java", "func_name": "CashFlowToChart.displayChart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Displays a chart in a frame.\n@param chart the chart to be displayed", "docstring_tokens": ["Displays", "a", "chart", "in", "a", "frame", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j-examples/src/main/java/ta4jexamples/analysis/CashFlowToChart.java#L93-L105", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j/src/main/java/eu/verdelhan/ta4j/BaseTimeSeries.java", "func_name": "BaseTimeSeries.removeExceedingTicks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the N first ticks which exceed the maximum tick count.", "docstring_tokens": ["Removes", "the", "N", "first", "ticks", "which", "exceed", "the", "maximum", "tick", "count", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j/src/main/java/eu/verdelhan/ta4j/BaseTimeSeries.java#L233-L244", "partition": "valid"}
+{"repo": "mdeverdelhan/ta4j-origins", "path": "ta4j-examples/src/main/java/ta4jexamples/loaders/CsvTradesLoader.java", "func_name": "CsvTradesLoader.buildEmptyTicks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a list of empty ticks.\n@param beginTime the begin time of the whole period\n@param endTime the end time of the whole period\n@param duration the tick duration (in seconds)\n@return the list of empty ticks", "docstring_tokens": ["Builds", "a", "list", "of", "empty", "ticks", "."], "sha": "0441468c09cfd98754497cd9c0f1da9cf70fc4b9", "url": "https://github.com/mdeverdelhan/ta4j-origins/blob/0441468c09cfd98754497cd9c0f1da9cf70fc4b9/ta4j-examples/src/main/java/ta4jexamples/loaders/CsvTradesLoader.java#L116-L128", "partition": "valid"}
+{"repo": "airbnb/RxGroups", "path": "rxgroups/src/main/java/com/airbnb/rxgroups/ObservableGroup.java", "func_name": "ObservableGroup.destroy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cancels all subscriptions and releases references to Observables and Observers. No more\nObservables can be added to this group after it has been destroyed and it becomes unusable.", "docstring_tokens": ["Cancels", "all", "subscriptions", "and", "releases", "references", "to", "Observables", "and", "Observers", ".", "No", "more", "Observables", "can", "be", "added", "to", "this", "group", "after", "it", "has", "been", "destroyed", "and", "it", "becomes", "unusable", "."], "sha": "9478b5ea52e7926173d742b61d0cb24b05082ff9", "url": "https://github.com/airbnb/RxGroups/blob/9478b5ea52e7926173d742b61d0cb24b05082ff9/rxgroups/src/main/java/com/airbnb/rxgroups/ObservableGroup.java#L167-L177", "partition": "valid"}
+{"repo": "airbnb/RxGroups", "path": "rxgroups-android/src/main/java/com/airbnb/rxgroups/GroupLifecycleManager.java", "func_name": "GroupLifecycleManager.onSaveInstanceState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Call this method from your Activity or Fragment's onSaveInstanceState method", "docstring_tokens": ["Call", "this", "method", "from", "your", "Activity", "or", "Fragment", "s", "onSaveInstanceState", "method"], "sha": "9478b5ea52e7926173d742b61d0cb24b05082ff9", "url": "https://github.com/airbnb/RxGroups/blob/9478b5ea52e7926173d742b61d0cb24b05082ff9/rxgroups-android/src/main/java/com/airbnb/rxgroups/GroupLifecycleManager.java#L214-L217", "partition": "valid"}
+{"repo": "gmethvin/directory-watcher", "path": "core/src/main/java/io/methvin/watchservice/AbstractWatchKey.java", "func_name": "AbstractWatchKey.signalEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "WatchEvent not WatchEvent.Kind", "docstring_tokens": ["WatchEvent", "not", "WatchEvent", ".", "Kind"], "sha": "cad969d2b9c89dc8a1388236b1474828ee5bf5d7", "url": "https://github.com/gmethvin/directory-watcher/blob/cad969d2b9c89dc8a1388236b1474828ee5bf5d7/core/src/main/java/io/methvin/watchservice/AbstractWatchKey.java#L148-L151", "partition": "valid"}
+{"repo": "gmethvin/directory-watcher", "path": "core/src/main/java/io/methvin/watcher/DirectoryWatcher.java", "func_name": "DirectoryWatcher.watchAsync", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asynchronously watch the directories.\n\n@param executor the executor to use to watch asynchronously", "docstring_tokens": ["Asynchronously", "watch", "the", "directories", "."], "sha": "cad969d2b9c89dc8a1388236b1474828ee5bf5d7", "url": "https://github.com/gmethvin/directory-watcher/blob/cad969d2b9c89dc8a1388236b1474828ee5bf5d7/core/src/main/java/io/methvin/watcher/DirectoryWatcher.java#L192-L199", "partition": "valid"}
+{"repo": "gmethvin/directory-watcher", "path": "core/src/main/java/io/methvin/watcher/DirectoryWatcher.java", "func_name": "DirectoryWatcher.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal method to be used by registerAll", "docstring_tokens": ["Internal", "method", "to", "be", "used", "by", "registerAll"], "sha": "cad969d2b9c89dc8a1388236b1474828ee5bf5d7", "url": "https://github.com/gmethvin/directory-watcher/blob/cad969d2b9c89dc8a1388236b1474828ee5bf5d7/core/src/main/java/io/methvin/watcher/DirectoryWatcher.java#L332-L343", "partition": "valid"}
+{"repo": "mojohaus/exec-maven-plugin", "path": "src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java", "func_name": "ExecJavaMojo.getClassLoader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set up a classloader for the execution of the main class.\n\n@return the classloader\n@throws MojoExecutionException if a problem happens", "docstring_tokens": ["Set", "up", "a", "classloader", "for", "the", "execution", "of", "the", "main", "class", "."], "sha": "3296fc845b000b8f4584a5e21805c65c9338fe57", "url": "https://github.com/mojohaus/exec-maven-plugin/blob/3296fc845b000b8f4584a5e21805c65c9338fe57/src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java#L488-L505", "partition": "valid"}
+{"repo": "mojohaus/exec-maven-plugin", "path": "src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java", "func_name": "ExecJavaMojo.addRelevantPluginDependenciesToClasspath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add any relevant project dependencies to the classpath. Indirectly takes includePluginDependencies and\nExecutableDependency into consideration.\n\n@param path classpath of {@link java.net.URL} objects\n@throws MojoExecutionException if a problem happens", "docstring_tokens": ["Add", "any", "relevant", "project", "dependencies", "to", "the", "classpath", ".", "Indirectly", "takes", "includePluginDependencies", "and", "ExecutableDependency", "into", "consideration", "."], "sha": "3296fc845b000b8f4584a5e21805c65c9338fe57", "url": "https://github.com/mojohaus/exec-maven-plugin/blob/3296fc845b000b8f4584a5e21805c65c9338fe57/src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java#L531-L545", "partition": "valid"}
+{"repo": "mojohaus/exec-maven-plugin", "path": "src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java", "func_name": "ExecJavaMojo.addRelevantProjectDependenciesToClasspath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add any relevant project dependencies to the classpath. Takes includeProjectDependencies into consideration.\n\n@param path classpath of {@link java.net.URL} objects\n@throws MojoExecutionException if a problem happens", "docstring_tokens": ["Add", "any", "relevant", "project", "dependencies", "to", "the", "classpath", ".", "Takes", "includeProjectDependencies", "into", "consideration", "."], "sha": "3296fc845b000b8f4584a5e21805c65c9338fe57", "url": "https://github.com/mojohaus/exec-maven-plugin/blob/3296fc845b000b8f4584a5e21805c65c9338fe57/src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java#L553-L583", "partition": "valid"}
+{"repo": "mojohaus/exec-maven-plugin", "path": "src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java", "func_name": "ExecJavaMojo.resolveExecutableDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolve the executable dependencies for the specified project\n\n@param executablePomArtifact the project's POM\n@return a set of Artifacts\n@throws MojoExecutionException if a failure happens", "docstring_tokens": ["Resolve", "the", "executable", "dependencies", "for", "the", "specified", "project"], "sha": "3296fc845b000b8f4584a5e21805c65c9338fe57", "url": "https://github.com/mojohaus/exec-maven-plugin/blob/3296fc845b000b8f4584a5e21805c65c9338fe57/src/main/java/org/codehaus/mojo/exec/ExecJavaMojo.java#L625-L649", "partition": "valid"}
+{"repo": "mojohaus/exec-maven-plugin", "path": "src/main/java/org/codehaus/mojo/exec/AbstractExecMojo.java", "func_name": "AbstractExecMojo.findExecutableArtifact", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Examine the plugin dependencies to find the executable artifact.\n\n@return an artifact which refers to the actual executable tool (not a POM)\n@throws MojoExecutionException if no executable artifact was found", "docstring_tokens": ["Examine", "the", "plugin", "dependencies", "to", "find", "the", "executable", "artifact", "."], "sha": "3296fc845b000b8f4584a5e21805c65c9338fe57", "url": "https://github.com/mojohaus/exec-maven-plugin/blob/3296fc845b000b8f4584a5e21805c65c9338fe57/src/main/java/org/codehaus/mojo/exec/AbstractExecMojo.java#L271-L293", "partition": "valid"}
+{"repo": "mojohaus/exec-maven-plugin", "path": "src/main/java/org/codehaus/mojo/exec/ExecMojo.java", "func_name": "ExecMojo.handleWorkingDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is a convenient method to make the execute method a little bit more readable. It will define the\nworkingDirectory to be the baseDir in case of workingDirectory is null. If the workingDirectory does not exist it\nwill created.\n\n@throws MojoExecutionException", "docstring_tokens": ["This", "is", "a", "convenient", "method", "to", "make", "the", "execute", "method", "a", "little", "bit", "more", "readable", ".", "It", "will", "define", "the", "workingDirectory", "to", "be", "the", "baseDir", "in", "case", "of", "workingDirectory", "is", "null", ".", "If", "the", "workingDirectory", "does", "not", "exist", "it", "will", "created", "."], "sha": "3296fc845b000b8f4584a5e21805c65c9338fe57", "url": "https://github.com/mojohaus/exec-maven-plugin/blob/3296fc845b000b8f4584a5e21805c65c9338fe57/src/main/java/org/codehaus/mojo/exec/ExecMojo.java#L407-L424", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/stats/FeedStats.java", "func_name": "FeedStats.getCalendarServiceRangeStart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "returns null for schedules without calendar service schedules", "docstring_tokens": ["returns", "null", "for", "schedules", "without", "calendar", "service", "schedules"], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/stats/FeedStats.java#L70-L85", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/stats/FeedStats.java", "func_name": "FeedStats.getBounds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the bounding box of this GTFS feed.\nWe use a Rectangle2D rather than a Geotools envelope because GTFS is always in WGS 84.\nNote that stops do not have agencies in GTFS.", "docstring_tokens": ["Get", "the", "bounding", "box", "of", "this", "GTFS", "feed", ".", "We", "use", "a", "Rectangle2D", "rather", "than", "a", "Geotools", "envelope", "because", "GTFS", "is", "always", "in", "WGS", "84", ".", "Note", "that", "stops", "do", "not", "have", "agencies", "in", "GTFS", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/stats/FeedStats.java#L302-L320", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/validator/SpeedTripValidator.java", "func_name": "SpeedTripValidator.checkDistanceAndTime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This just pulls some of the range checking logic out of the main trip checking loop so it's more readable.\n@return true if all values are OK", "docstring_tokens": ["This", "just", "pulls", "some", "of", "the", "range", "checking", "logic", "out", "of", "the", "main", "trip", "checking", "loop", "so", "it", "s", "more", "readable", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/validator/SpeedTripValidator.java#L131-L149", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcGtfsLoader.java", "func_name": "JdbcGtfsLoader.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This wraps the main internal table loader method to catch exceptions and figure out how many errors happened.", "docstring_tokens": ["This", "wraps", "the", "main", "internal", "table", "loader", "method", "to", "catch", "exceptions", "and", "figure", "out", "how", "many", "errors", "happened", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcGtfsLoader.java#L267-L294", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcGtfsLoader.java", "func_name": "JdbcGtfsLoader.getTableSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the uncompressed file size in bytes for the specified GTFS table.", "docstring_tokens": ["Get", "the", "uncompressed", "file", "size", "in", "bytes", "for", "the", "specified", "GTFS", "table", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcGtfsLoader.java#L299-L303", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcGtfsLoader.java", "func_name": "JdbcGtfsLoader.setFieldToNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets field to null in statement or string array depending on whether postgres is being used.", "docstring_tokens": ["Sets", "field", "to", "null", "in", "statement", "or", "string", "array", "depending", "on", "whether", "postgres", "is", "being", "used", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcGtfsLoader.java#L538-L549", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcGtfsSnapshotter.java", "func_name": "JdbcGtfsSnapshotter.copyTables", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy primary entity tables as well as Pattern and PatternStops tables.", "docstring_tokens": ["Copy", "primary", "entity", "tables", "as", "well", "as", "Pattern", "and", "PatternStops", "tables", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcGtfsSnapshotter.java#L61-L114", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcGtfsSnapshotter.java", "func_name": "JdbcGtfsSnapshotter.tableExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to determine if a table exists within a namespace.", "docstring_tokens": ["Helper", "method", "to", "determine", "if", "a", "table", "exists", "within", "a", "namespace", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcGtfsSnapshotter.java#L321-L338", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcGtfsSnapshotter.java", "func_name": "JdbcGtfsSnapshotter.addEditorSpecificFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add columns for any required, optional, or editor fields that don't already exist as columns on the table.\nThis method contains a SQL statement that requires PostgreSQL 9.6+.", "docstring_tokens": ["Add", "columns", "for", "any", "required", "optional", "or", "editor", "fields", "that", "don", "t", "already", "exist", "as", "columns", "on", "the", "table", ".", "This", "method", "contains", "a", "SQL", "statement", "that", "requires", "PostgreSQL", "9", ".", "6", "+", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcGtfsSnapshotter.java#L344-L356", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcGtfsSnapshotter.java", "func_name": "JdbcGtfsSnapshotter.registerSnapshot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a line to the list of loaded feeds to record the snapshot and which feed the snapshot replicates.", "docstring_tokens": ["Add", "a", "line", "to", "the", "list", "of", "loaded", "feeds", "to", "record", "the", "snapshot", "and", "which", "feed", "the", "snapshot", "replicates", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcGtfsSnapshotter.java#L418-L437", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/model/Frequency.java", "func_name": "Frequency.getId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Frequency entries have no ID in GTFS so we define one based on the fields in the frequency entry.\n\nIt is possible to have two identical frequency entries in the GTFS, which under our understanding of the situation\nwould mean that two sets of vehicles were randomly running the same trip at the same headway, but uncorrelated\nwith each other, which is almost certain to be an error.", "docstring_tokens": ["Frequency", "entries", "have", "no", "ID", "in", "GTFS", "so", "we", "define", "one", "based", "on", "the", "fields", "in", "the", "frequency", "entry", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/model/Frequency.java#L21-L32", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/BatchTracker.java", "func_name": "BatchTracker.executeRemaining", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute any remaining statements and return the total records processed.", "docstring_tokens": ["Execute", "any", "remaining", "statements", "and", "return", "the", "total", "records", "processed", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/BatchTracker.java#L40-L50", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcGtfsExporter.java", "func_name": "JdbcGtfsExporter.cleanUpZipFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes any empty zip files from the final zip file.", "docstring_tokens": ["Removes", "any", "empty", "zip", "files", "from", "the", "final", "zip", "file", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcGtfsExporter.java#L321-L346", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcGtfsExporter.java", "func_name": "JdbcGtfsExporter.export", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Export a table to the zipOutputStream to be written to the GTFS.", "docstring_tokens": ["Export", "a", "table", "to", "the", "zipOutputStream", "to", "be", "written", "to", "the", "GTFS", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcGtfsExporter.java#L370-L411", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/validator/Validator.java", "func_name": "Validator.registerError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Store an error that affects a single line of a single table. Wraps the underlying error factory method.", "docstring_tokens": ["Store", "an", "error", "that", "affects", "a", "single", "line", "of", "a", "single", "table", ".", "Wraps", "the", "underlying", "error", "factory", "method", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/validator/Validator.java#L36-L38", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/validator/Validator.java", "func_name": "Validator.registerError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Store an error that affects a single line of a single table.\nAdd a bad value to it.", "docstring_tokens": ["Store", "an", "error", "that", "affects", "a", "single", "line", "of", "a", "single", "table", ".", "Add", "a", "bad", "value", "to", "it", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/validator/Validator.java#L68-L70", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/GTFS.java", "func_name": "GTFS.export", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Export a feed ID from the database to a zipped GTFS file in the specified export directory.", "docstring_tokens": ["Export", "a", "feed", "ID", "from", "the", "database", "to", "a", "zipped", "GTFS", "file", "in", "the", "specified", "export", "directory", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/GTFS.java#L48-L52", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/GTFS.java", "func_name": "GTFS.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load the GTFS data in the specified file into the given JDBC DataSource.\n\nAbout loading from an object on S3:\nWe've got a problem with keeping the identifier on S3 the same as the identifier in the database.\nQuestion: do we really want to load the feed from S3 or do we just want to move the local file to S3 when done?\ni.e. user uploads to the datatools back end,\nThe advantage of having the end users upload to s3, then is that only the files currently being processed need\nto be held on our backend server, not the whole queue waiting to be processed.\nBut I think currently we have some hack where the end user gets a token to upload to S3, which seems bad.\nProbably we should have end users upload directly to the backend server, which then loads the feed into RDBMS,\nuploads the file to S3 with the unique name supplied by gtfs-lib, and deletes the local file.\n\n@return a unique identifier for the newly loaded feed in the database", "docstring_tokens": ["Load", "the", "GTFS", "data", "in", "the", "specified", "file", "into", "the", "given", "JDBC", "DataSource", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/GTFS.java#L69-L73", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/GTFS.java", "func_name": "GTFS.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Once a feed has been loaded into the database, examine its contents looking for various problems and errors.", "docstring_tokens": ["Once", "a", "feed", "has", "been", "loaded", "into", "the", "database", "examine", "its", "contents", "looking", "for", "various", "problems", "and", "errors", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/GTFS.java#L96-L100", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/GTFS.java", "func_name": "GTFS.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes all tables for the specified feed. Simply put, this is a \"drop schema\" SQL statement called on the feed's\nnamespace.", "docstring_tokens": ["Deletes", "all", "tables", "for", "the", "specified", "feed", ".", "Simply", "put", "this", "is", "a", "drop", "schema", "SQL", "statement", "called", "on", "the", "feed", "s", "namespace", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/GTFS.java#L106-L130", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/GTFS.java", "func_name": "GTFS.createDataSource", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an automatically managed pool of database connections to the supplied JDBC database URL.\n\nCreating new database connections is usually an expensive operation,\ntaking up to seconds to prepare for a transaction that only lasts milliseconds.\nThe JDBC in Java 7 and 8 support connection pooling, which is critical for performance.\nWe are using the standard JDBC DataSource interface, with the Apache commons-dbcp implementation.\nThis should be roughly the same connection pooling used in the Tomcat application server.\n\nHere are some sample database URLs to serve as patterns:\nH2_FILE_URL = \"jdbc:h2:file:~/test-db\"; // H2 memory does not seem faster than H2 file\nSQLITE_FILE_URL = \"jdbc:sqlite:/Users/abyrd/test-db\";\nPOSTGRES_LOCAL_URL = \"jdbc:postgresql://localhost/catalogue\";\n\nFor local Postgres connections, you can supply a null username and password to use host-based authentication.", "docstring_tokens": ["Create", "an", "automatically", "managed", "pool", "of", "database", "connections", "to", "the", "supplied", "JDBC", "database", "URL", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/GTFS.java#L148-L176", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/error/NewGTFSError.java", "func_name": "NewGTFSError.addInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a single key-value pair of supplemental info to this error.\n@return the modified object (builder pattern that allows adding info to newly created error object without assigning to a variable).", "docstring_tokens": ["Add", "a", "single", "key", "-", "value", "pair", "of", "supplemental", "info", "to", "this", "error", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/error/NewGTFSError.java#L59-L62", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/error/NewGTFSError.java", "func_name": "NewGTFSError.forLine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory Builder for cases where an entity has not yet been constructed, but we know the line number.", "docstring_tokens": ["Factory", "Builder", "for", "cases", "where", "an", "entity", "has", "not", "yet", "been", "constructed", "but", "we", "know", "the", "line", "number", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/error/NewGTFSError.java#L76-L81", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/error/NewGTFSError.java", "func_name": "NewGTFSError.forEntity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory Builder for cases where the entity has already been decoded and an error is discovered during validation", "docstring_tokens": ["Factory", "Builder", "for", "cases", "where", "the", "entity", "has", "already", "been", "decoded", "and", "an", "error", "is", "discovered", "during", "validation"], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/error/NewGTFSError.java#L84-L90", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/error/NewGTFSError.java", "func_name": "NewGTFSError.forFeed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Factory Builder for feed-wide error", "docstring_tokens": ["Factory", "Builder", "for", "feed", "-", "wide", "error"], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/error/NewGTFSError.java#L98-L100", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/stats/PatternStats.java", "func_name": "PatternStats.getPatternSpeed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the pattern speed for a given pattern for a specified date and time window.\n@param pattern_id pattern ID\n@param date service date\n@param from beginning of time window\n@param to end of time window\n@return", "docstring_tokens": ["Gets", "the", "pattern", "speed", "for", "a", "given", "pattern", "for", "a", "specified", "date", "and", "time", "window", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/stats/PatternStats.java#L42-L47", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/stats/PatternStats.java", "func_name": "PatternStats.getAverageSpeedForTrips", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get average speed for set of trips that begin within the time window in meters per second.\n@param trips\n@param from\n@param to\n@return avg. speed (meters per second)", "docstring_tokens": ["Get", "average", "speed", "for", "set", "of", "trips", "that", "begin", "within", "the", "time", "window", "in", "meters", "per", "second", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/stats/PatternStats.java#L56-L78", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/stats/PatternStats.java", "func_name": "PatternStats.getStartTimeForTrips", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get earliest departure time for a set of trips.\n@param trips\n@return earliest departure time", "docstring_tokens": ["Get", "earliest", "departure", "time", "for", "a", "set", "of", "trips", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/stats/PatternStats.java#L85-L102", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/stats/PatternStats.java", "func_name": "PatternStats.getEndTimeForTrips", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get last arrival time for a set of trips.\n@param trips\n@return last arrival time (if arrival occurs after midnight, time is expressed in terms of following day, e.g., 2:00 AM)", "docstring_tokens": ["Get", "last", "arrival", "time", "for", "a", "set", "of", "trips", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/stats/PatternStats.java#L109-L122", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/stats/PatternStats.java", "func_name": "PatternStats.getPatternDistance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get distance for a pattern. Uses the first trip associated with the pattern.\n@param pattern_id\n@return distance (in meters)", "docstring_tokens": ["Get", "distance", "for", "a", "pattern", ".", "Uses", "the", "first", "trip", "associated", "with", "the", "pattern", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/stats/PatternStats.java#L174-L178", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/stats/PatternStats.java", "func_name": "PatternStats.getAverageStopSpacing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get average stop spacing for a pattern.\n@param pattern_id\n@return avg. stop spacing (in meters)", "docstring_tokens": ["Get", "average", "stop", "spacing", "for", "a", "pattern", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/stats/PatternStats.java#L185-L188", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcGTFSFeedConverter.java", "func_name": "JdbcGTFSFeedConverter.copyEntityToSql", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates table for the specified Table, inserts all entities for the iterable in batches, and, finally, creates\nindexes on the table.", "docstring_tokens": ["Creates", "table", "for", "the", "specified", "Table", "inserts", "all", "entities", "for", "the", "iterable", "in", "batches", "and", "finally", "creates", "indexes", "on", "the", "table", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcGTFSFeedConverter.java#L211-L234", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/ValidateFieldResult.java", "func_name": "ValidateFieldResult.from", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builder method that constructs a ValidateFieldResult with type String from the input result.", "docstring_tokens": ["Builder", "method", "that", "constructs", "a", "ValidateFieldResult", "with", "type", "String", "from", "the", "input", "result", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/ValidateFieldResult.java#L28-L33", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/error/SQLErrorStorage.java", "func_name": "SQLErrorStorage.getErrorCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Commits any outstanding error inserts and returns the error count via a SQL query.", "docstring_tokens": ["Commits", "any", "outstanding", "error", "inserts", "and", "returns", "the", "error", "count", "via", "a", "SQL", "query", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/error/SQLErrorStorage.java#L99-L112", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/error/SQLErrorStorage.java", "func_name": "SQLErrorStorage.commit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This executes any remaining inserts and commits the transaction.", "docstring_tokens": ["This", "executes", "any", "remaining", "inserts", "and", "commits", "the", "transaction", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/error/SQLErrorStorage.java#L117-L126", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/TimeField.java", "func_name": "TimeField.validateAndConvert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Actually this is converting the string. Can we use some JDBC existing functions for this?", "docstring_tokens": ["Actually", "this", "is", "converting", "the", "string", ".", "Can", "we", "use", "some", "JDBC", "existing", "functions", "for", "this?"], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/TimeField.java#L34-L37", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/error/ReferentialIntegrityError.java", "func_name": "ReferentialIntegrityError.compareTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "must be comparable to put into mapdb", "docstring_tokens": ["must", "be", "comparable", "to", "put", "into", "mapdb"], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/error/ReferentialIntegrityError.java#L18-L23", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/validator/service/GeoUtils.java", "func_name": "GeoUtils.getDistance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the length of a linestring in meters", "docstring_tokens": ["Get", "the", "length", "of", "a", "linestring", "in", "meters"], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/validator/service/GeoUtils.java#L202-L213", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/graphql/fetchers/RowCountFetcher.java", "func_name": "RowCountFetcher.field", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience method to create a field in a GraphQL schema that fetches the number of rows in a table.\nMust be on a type that has a \"namespace\" field for context.", "docstring_tokens": ["Convenience", "method", "to", "create", "a", "field", "in", "a", "GraphQL", "schema", "that", "fetches", "the", "number", "of", "rows", "in", "a", "table", ".", "Must", "be", "on", "a", "type", "that", "has", "a", "namespace", "field", "for", "context", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/graphql/fetchers/RowCountFetcher.java#L149-L155", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/graphql/fetchers/RowCountFetcher.java", "func_name": "RowCountFetcher.groupedField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A GraphQL field used to deliver lists of group counts. Currently the primary use of this field is for delivering\ntrip counts grouped by either service_id, pattern_id, or route_id. These quantities can also be filtered by\nproviding a string value for pattern_id", "docstring_tokens": ["A", "GraphQL", "field", "used", "to", "deliver", "lists", "of", "group", "counts", ".", "Currently", "the", "primary", "use", "of", "this", "field", "is", "for", "delivering", "trip", "counts", "grouped", "by", "either", "service_id", "pattern_id", "or", "route_id", ".", "These", "quantities", "can", "also", "be", "filtered", "by", "providing", "a", "string", "value", "for", "pattern_id"], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/graphql/fetchers/RowCountFetcher.java#L208-L216", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/util/Deduplicator.java", "func_name": "Deduplicator.deduplicateIntArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used to deduplicate time and stop sequence arrays. The same times may occur in many trips.", "docstring_tokens": ["Used", "to", "deduplicate", "time", "and", "stop", "sequence", "arrays", ".", "The", "same", "times", "may", "occur", "in", "many", "trips", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/util/Deduplicator.java#L31-L40", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/stats/StopStats.java", "func_name": "StopStats.getTripsForDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get list of trips that visit a stop for a specified date of service.\n@param stop_id\n@param date\n@return list of trips for date", "docstring_tokens": ["Get", "list", "of", "trips", "that", "visit", "a", "stop", "for", "a", "specified", "date", "of", "service", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/stats/StopStats.java#L73-L81", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/stats/StopStats.java", "func_name": "StopStats.getAverageHeadwayForStop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the average headway, in seconds, for all trips at a stop over a time window.\n@param stop_id\n@param date\n@param from\n@param to\n@return avg. headway (in seconds)", "docstring_tokens": ["Get", "the", "average", "headway", "in", "seconds", "for", "all", "trips", "at", "a", "stop", "over", "a", "time", "window", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/stats/StopStats.java#L91-L95", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/stats/StopStats.java", "func_name": "StopStats.getRouteHeadwaysForStop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the route headway for a given service date at a stop over a time window, in seconds", "docstring_tokens": ["Get", "the", "route", "headway", "for", "a", "given", "service", "date", "at", "a", "stop", "over", "a", "time", "window", "in", "seconds"], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/stats/StopStats.java#L98-L109", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/stats/StopStats.java", "func_name": "StopStats.getHeadwayForStopByRoute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the average headway, in seconds, for a route at a stop over a time window.\n@param stop_id\n@param route_id\n@param date\n@param from\n@param to\n@return avg. headway (in seconds)", "docstring_tokens": ["Get", "the", "average", "headway", "in", "seconds", "for", "a", "route", "at", "a", "stop", "over", "a", "time", "window", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/stats/StopStats.java#L169-L177", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java", "func_name": "JdbcTableWriter.getJsonNode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wrapper method to call Jackson to deserialize a JSON string into JsonNode.", "docstring_tokens": ["Wrapper", "method", "to", "call", "Jackson", "to", "deserialize", "a", "JSON", "string", "into", "JsonNode", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java#L100-L107", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java", "func_name": "JdbcTableWriter.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new entity in the database from the provided JSON string. Note, any call to create or update must provide\na JSON string with the full set of fields matching the definition of the GTFS table in the Table class.", "docstring_tokens": ["Create", "a", "new", "entity", "in", "the", "database", "from", "the", "provided", "JSON", "string", ".", "Note", "any", "call", "to", "create", "or", "update", "must", "provide", "a", "JSON", "string", "with", "the", "full", "set", "of", "fields", "matching", "the", "definition", "of", "the", "GTFS", "table", "in", "the", "Table", "class", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java#L113-L116", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java", "func_name": "JdbcTableWriter.updateStopTimesForPatternStop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the stop times that reference the specified pattern stop.\n@param patternStop the pattern stop for which to update stop times\n@param previousTravelTime the travel time accumulated up to the previous stop_time's departure time (or the\nprevious pattern stop's dwell time)\n@return the travel and dwell time added by this pattern stop\n@throws SQLException", "docstring_tokens": ["Updates", "the", "stop", "times", "that", "reference", "the", "specified", "pattern", "stop", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java#L682-L707", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java", "func_name": "JdbcTableWriter.verifyReferencesExist", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks that a set of string references to a set of reference tables are all valid. For each set of references\nmapped to a reference table, the method queries for all of the references. If there are any references that were\nnot returned in the query, one of the original references was invalid and an exception is thrown.\n@param referringTableName name of the table which contains references for logging/exception message only\n@param referencesPerTable string references mapped to the tables to which they refer\n@throws SQLException", "docstring_tokens": ["Checks", "that", "a", "set", "of", "string", "references", "to", "a", "set", "of", "reference", "tables", "are", "all", "valid", ".", "For", "each", "set", "of", "references", "mapped", "to", "a", "reference", "table", "the", "method", "queries", "for", "all", "of", "the", "references", ".", "If", "there", "are", "any", "references", "that", "were", "not", "returned", "in", "the", "query", "one", "of", "the", "original", "references", "was", "invalid", "and", "an", "exception", "is", "thrown", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java#L779-L817", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java", "func_name": "JdbcTableWriter.verifyInteriorStopsAreUnchanged", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check the stops in the changed region to ensure they remain in the same order. If not, throw an exception to\ncancel the transaction.", "docstring_tokens": ["Check", "the", "stops", "in", "the", "changed", "region", "to", "ensure", "they", "remain", "in", "the", "same", "order", ".", "If", "not", "throw", "an", "exception", "to", "cancel", "the", "transaction", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java#L1065-L1090", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java", "func_name": "JdbcTableWriter.insertBlankStopTimes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "You must call this method after updating sequences for any stop times following the starting stop sequence to\navoid overwriting these other stop times.", "docstring_tokens": ["You", "must", "call", "this", "method", "after", "updating", "sequences", "for", "any", "stop", "times", "following", "the", "starting", "stop", "sequence", "to", "avoid", "overwriting", "these", "other", "stop", "times", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java#L1096-L1135", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java", "func_name": "JdbcTableWriter.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes an entity for the specified ID.", "docstring_tokens": ["Deletes", "an", "entity", "for", "the", "specified", "ID", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java#L1181-L1211", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java", "func_name": "JdbcTableWriter.handleStatementExecution", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle executing a prepared statement and return the ID for the newly-generated or updated entity.", "docstring_tokens": ["Handle", "executing", "a", "prepared", "statement", "and", "return", "the", "ID", "for", "the", "newly", "-", "generated", "or", "updated", "entity", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java#L1239-L1262", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java", "func_name": "JdbcTableWriter.getRowCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get number of rows for a table. This is currently just used to check the number of entities for the agency table.", "docstring_tokens": ["Get", "number", "of", "rows", "for", "a", "table", ".", "This", "is", "currently", "just", "used", "to", "check", "the", "number", "of", "entities", "for", "the", "agency", "table", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java#L1343-L1351", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java", "func_name": "JdbcTableWriter.getReferencingTables", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the set of tables that reference the parent entity being updated.", "docstring_tokens": ["Finds", "the", "set", "of", "tables", "that", "reference", "the", "parent", "entity", "being", "updated", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java#L1381-L1394", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java", "func_name": "JdbcTableWriter.getValueForId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For a given integer ID, return the value for the specified field name for that entity.", "docstring_tokens": ["For", "a", "given", "integer", "ID", "return", "the", "value", "for", "the", "specified", "field", "name", "for", "that", "entity", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/JdbcTableWriter.java#L1399-L1410", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/BaseGTFSCache.java", "func_name": "BaseGTFSCache.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a GTFS feed to this cache with the given ID. NB this is not the feed ID, because feed IDs are not\nunique when you load multiple versions of the same feed.", "docstring_tokens": ["Add", "a", "GTFS", "feed", "to", "this", "cache", "with", "the", "given", "ID", ".", "NB", "this", "is", "not", "the", "feed", "ID", "because", "feed", "IDs", "are", "not", "unique", "when", "you", "load", "multiple", "versions", "of", "the", "same", "feed", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/BaseGTFSCache.java#L102-L104", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/BaseGTFSCache.java", "func_name": "BaseGTFSCache.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a GTFS feed to this cache where the ID is calculated from the feed itself", "docstring_tokens": ["Add", "a", "GTFS", "feed", "to", "this", "cache", "where", "the", "ID", "is", "calculated", "from", "the", "feed", "itself"], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/BaseGTFSCache.java#L107-L109", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/model/Service.java", "func_name": "Service.activeOn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Is this service active on the specified date?", "docstring_tokens": ["Is", "this", "service", "active", "on", "the", "specified", "date?"], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/model/Service.java#L90-L122", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/graphql/GTFSGraphQL.java", "func_name": "GTFSGraphQL.initialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Username and password can be null if connecting to a local instance with host-based authentication.", "docstring_tokens": ["Username", "and", "password", "can", "be", "null", "if", "connecting", "to", "a", "local", "instance", "with", "host", "-", "based", "authentication", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/graphql/GTFSGraphQL.java#L23-L27", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Table.java", "func_name": "Table.editorFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get only those fields included in the official GTFS specification for this table or used by the editor.", "docstring_tokens": ["Get", "only", "those", "fields", "included", "in", "the", "official", "GTFS", "specification", "for", "this", "table", "or", "used", "by", "the", "editor", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Table.java#L388-L394", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Table.java", "func_name": "Table.requiredFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get only those fields marked as required in the official GTFS specification for this table.", "docstring_tokens": ["Get", "only", "those", "fields", "marked", "as", "required", "in", "the", "official", "GTFS", "specification", "for", "this", "table", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Table.java#L399-L404", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Table.java", "func_name": "Table.specFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get only those fields included in the official GTFS specification for this table, i.e., filter out fields used\nin the editor or extensions.", "docstring_tokens": ["Get", "only", "those", "fields", "included", "in", "the", "official", "GTFS", "specification", "for", "this", "table", "i", ".", "e", ".", "filter", "out", "fields", "used", "in", "the", "editor", "or", "extensions", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Table.java#L410-L414", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Table.java", "func_name": "Table.createSqlTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an SQL table with all the fields specified by this table object,\nplus an integer CSV line number field in the first position.", "docstring_tokens": ["Create", "an", "SQL", "table", "with", "all", "the", "fields", "specified", "by", "this", "table", "object", "plus", "an", "integer", "CSV", "line", "number", "field", "in", "the", "first", "position", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Table.java#L437-L460", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Table.java", "func_name": "Table.generateInsertSql", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create SQL string for use in insert statement. Note, this filters table's fields to only those used in editor.", "docstring_tokens": ["Create", "SQL", "string", "for", "use", "in", "insert", "statement", ".", "Note", "this", "filters", "table", "s", "fields", "to", "only", "those", "used", "in", "editor", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Table.java#L477-L490", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Table.java", "func_name": "Table.commaSeparatedNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prepend a prefix string to each field and join them with a comma + space separator.\nAlso, if an export to GTFS is being performed, certain fields need a translation from the database format to the\nGTFS format. Otherwise, the fields are assumed to be asked in order to do a database-to-database export and so\nthe verbatim values of the fields are needed.", "docstring_tokens": ["Prepend", "a", "prefix", "string", "to", "each", "field", "and", "join", "them", "with", "a", "comma", "+", "space", "separator", ".", "Also", "if", "an", "export", "to", "GTFS", "is", "being", "performed", "certain", "fields", "need", "a", "translation", "from", "the", "database", "format", "to", "the", "GTFS", "format", ".", "Otherwise", "the", "fields", "are", "assumed", "to", "be", "asked", "in", "order", "to", "do", "a", "database", "-", "to", "-", "database", "export", "and", "so", "the", "verbatim", "values", "of", "the", "fields", "are", "needed", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Table.java#L542-L549", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Table.java", "func_name": "Table.generateUpdateSql", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create SQL string for use in update statement. Note, this filters table's fields to only those used in editor.", "docstring_tokens": ["Create", "SQL", "string", "for", "use", "in", "update", "statement", ".", "Note", "this", "filters", "table", "s", "fields", "to", "only", "those", "used", "in", "editor", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Table.java#L561-L570", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Table.java", "func_name": "Table.generateSelectSql", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate select all SQL string. The minimum requirement parameter is used to determine which fields ought to be\nincluded in the select statement. For example, if \"OPTIONAL\" is passed in, both optional and required fields\nare included in the select. If \"EDITOR\" is the minimum requirement, editor, optional, and required fields will\nall be included.", "docstring_tokens": ["Generate", "select", "all", "SQL", "string", ".", "The", "minimum", "requirement", "parameter", "is", "used", "to", "determine", "which", "fields", "ought", "to", "be", "included", "in", "the", "select", "statement", ".", "For", "example", "if", "OPTIONAL", "is", "passed", "in", "both", "optional", "and", "required", "fields", "are", "included", "in", "the", "select", ".", "If", "EDITOR", "is", "the", "minimum", "requirement", "editor", "optional", "and", "required", "fields", "will", "all", "be", "included", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Table.java#L578-L590", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Table.java", "func_name": "Table.generateSelectAllExistingFieldsSql", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate a select statement from the columns that actually exist in the database table. This method is intended\nto be used when exporting to a GTFS and eventually generates the select all with each individual field and\napplicable transformations listed out.", "docstring_tokens": ["Generate", "a", "select", "statement", "from", "the", "columns", "that", "actually", "exist", "in", "the", "database", "table", ".", "This", "method", "is", "intended", "to", "be", "used", "when", "exporting", "to", "a", "GTFS", "and", "eventually", "generates", "the", "select", "all", "with", "each", "individual", "field", "and", "applicable", "transformations", "listed", "out", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Table.java#L597-L619", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Table.java", "func_name": "Table.generateDeleteSql", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate delete SQL string.", "docstring_tokens": ["Generate", "delete", "SQL", "string", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Table.java#L686-L689", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Table.java", "func_name": "Table.createSqlTableFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a SQL table from the table to clone. This uses the SQL syntax \"create table x as y\" not only copies the\ntable structure, but also the data from the original table. Creating table indexes is not handled by this method.", "docstring_tokens": ["Creates", "a", "SQL", "table", "from", "the", "table", "to", "clone", ".", "This", "uses", "the", "SQL", "syntax", "create", "table", "x", "as", "y", "not", "only", "copies", "the", "table", "structure", "but", "also", "the", "data", "from", "the", "original", "table", ".", "Creating", "table", "indexes", "is", "not", "handled", "by", "this", "method", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Table.java#L824-L868", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Table.java", "func_name": "Table.normalizeAndCloneStopTimes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Normalize stop sequences for stop times table so that sequences are all zero-based and increment\nby one. This ensures that sequence values for stop_times and pattern_stops are not initially out\nof sync for feeds imported into the editor.\n\nNOTE: This happens here instead of as part of post-processing because it's much faster overall to perform\nthis as an INSERT vs. an UPDATE. It also needs to be done before creating table indexes. There may be some\nmessiness here as far as using the column metadata to perform the SELECT query with the correct column names, but\nit is about an order of magnitude faster than the UPDATE approach.\n\nFor example, with the Bronx bus feed, the UPDATE approach took 53 seconds on an un-normalized table (i.e., snapshotting\na table from a direct GTFS load), but it only takes about 8 seconds with the INSERT approach. Additionally, this\nINSERT approach seems to dramatically cut down on the time needed for indexing large tables.", "docstring_tokens": ["Normalize", "stop", "sequences", "for", "stop", "times", "table", "so", "that", "sequences", "are", "all", "zero", "-", "based", "and", "increment", "by", "one", ".", "This", "ensures", "that", "sequence", "values", "for", "stop_times", "and", "pattern_stops", "are", "not", "initially", "out", "of", "sync", "for", "feeds", "imported", "into", "the", "editor", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Table.java#L884-L908", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Table.java", "func_name": "Table.getKeyFieldIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the index of the key field within the array of fields provided for a given table.\n@param fields array of fields (intended to be derived from the headers of a csv text file)", "docstring_tokens": ["Returns", "the", "index", "of", "the", "key", "field", "within", "the", "array", "of", "fields", "provided", "for", "a", "given", "table", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Table.java#L973-L976", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/util/Util.java", "func_name": "Util.ensureValidNamespace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensures namespace is valid by ensuring it only has alphanumeric characters or the underscore\nfor all characters in the string\n@param namespace", "docstring_tokens": ["Ensures", "namespace", "is", "valid", "by", "ensuring", "it", "only", "has", "alphanumeric", "characters", "or", "the", "underscore", "for", "all", "characters", "in", "the", "string"], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/util/Util.java#L93-L99", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/loader/Field.java", "func_name": "Field.getFieldIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the index of the field given a string name.\n@return the index of the field or -1 if no match is found", "docstring_tokens": ["Finds", "the", "index", "of", "the", "field", "given", "a", "string", "name", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/loader/Field.java#L76-L80", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/model/ShapeMap.java", "func_name": "ShapeMap.keySet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "We currently just expose them as immutable sets in RAM, since all of the modification operations are optional.", "docstring_tokens": ["We", "currently", "just", "expose", "them", "as", "immutable", "sets", "in", "RAM", "since", "all", "of", "the", "modification", "operations", "are", "optional", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/model/ShapeMap.java#L82-L93", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/GTFSFeed.java", "func_name": "GTFSFeed.fromFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Static factory method returning a new instance of GTFSFeed containing the contents of\nthe GTFS file at the supplied filesystem path. Forces the feedId to the\nsupplied value if the parameter is non-null.", "docstring_tokens": ["Static", "factory", "method", "returning", "a", "new", "instance", "of", "GTFSFeed", "containing", "the", "contents", "of", "the", "GTFS", "file", "at", "the", "supplied", "filesystem", "path", ".", "Forces", "the", "feedId", "to", "the", "supplied", "value", "if", "the", "parameter", "is", "non", "-", "null", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/GTFSFeed.java#L319-L336", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/GTFSFeed.java", "func_name": "GTFSFeed.findPatterns", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "MapDB-based implementation to find patterns.\n\nFIXME: Remove and make pattern finding happen during validation? We want to share the pattern finder between the\ntwo implementations (MapDB and RDBMS), apply the same validation process to both kinds of storage, and produce\nPatterns in the same way in both cases, during validation. This prevents us from iterating over every stopTime\ntwice, since we're already iterating over all of them in validation. However, in this case it might not be costly\nto simply retrieve the stop times from the stop_times map.", "docstring_tokens": ["MapDB", "-", "based", "implementation", "to", "find", "patterns", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/GTFSFeed.java#L407-L417", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/GTFSFeed.java", "func_name": "GTFSFeed.getTripDistance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the length of a trip in meters.", "docstring_tokens": ["Get", "the", "length", "of", "a", "trip", "in", "meters", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/GTFSFeed.java#L577-L581", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/GTFSFeed.java", "func_name": "GTFSFeed.getTripSpeed", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get trip speed in meters per second.", "docstring_tokens": ["Get", "trip", "speed", "in", "meters", "per", "second", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/GTFSFeed.java#L589-L605", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/GTFSFeed.java", "func_name": "GTFSFeed.getStopTimesForStop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get list of stop_times for a given stop_id.", "docstring_tokens": ["Get", "list", "of", "stop_times", "for", "a", "given", "stop_id", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/GTFSFeed.java#L608-L615", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/GTFSFeed.java", "func_name": "GTFSFeed.getServicesForDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get list of services for each date of service.", "docstring_tokens": ["Get", "list", "of", "services", "for", "each", "date", "of", "service", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/GTFSFeed.java#L627-L635", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/GTFSFeed.java", "func_name": "GTFSFeed.getAgencyTimeZoneForStop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the likely time zone for a stop using the agency of the first stop time encountered for the stop.", "docstring_tokens": ["Get", "the", "likely", "time", "zone", "for", "a", "stop", "using", "the", "agency", "of", "the", "first", "stop", "time", "encountered", "for", "the", "stop", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/GTFSFeed.java#L652-L660", "partition": "valid"}
+{"repo": "conveyal/gtfs-lib", "path": "src/main/java/com/conveyal/gtfs/PatternFinder.java", "func_name": "PatternFinder.createPatternObjects", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Once all trips have been processed, call this method to produce the final Pattern objects representing all the\nunique sequences of stops encountered. Returns map of patterns to their keys so that downstream functions can\nmake use of trip pattern keys for constructing pattern stops or other derivative objects.", "docstring_tokens": ["Once", "all", "trips", "have", "been", "processed", "call", "this", "method", "to", "produce", "the", "final", "Pattern", "objects", "representing", "all", "the", "unique", "sequences", "of", "stops", "encountered", ".", "Returns", "map", "of", "patterns", "to", "their", "keys", "so", "that", "downstream", "functions", "can", "make", "use", "of", "trip", "pattern", "keys", "for", "constructing", "pattern", "stops", "or", "other", "derivative", "objects", "."], "sha": "ba9e19563af9f52d4eb0eac60327d9f39ebd19f7", "url": "https://github.com/conveyal/gtfs-lib/blob/ba9e19563af9f52d4eb0eac60327d9f39ebd19f7/src/main/java/com/conveyal/gtfs/PatternFinder.java#L85-L114", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "jobscheduler/src/main/java/me/tatarka/support/internal/receivers/IdleReceiver.java", "func_name": "IdleReceiver.setAnywayTimer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "We can't get idle broadcasts while the app is not running. Since our app will probably be\nkilled before the device becomes idle, let's set an alarm sometime in the future that will\nforce an idle check.", "docstring_tokens": ["We", "can", "t", "get", "idle", "broadcasts", "while", "the", "app", "is", "not", "running", ".", "Since", "our", "app", "will", "probably", "be", "killed", "before", "the", "device", "becomes", "idle", "let", "s", "set", "an", "alarm", "sometime", "in", "the", "future", "that", "will", "force", "an", "idle", "check", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/jobscheduler/src/main/java/me/tatarka/support/internal/receivers/IdleReceiver.java#L102-L110", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "jobscheduler/src/main/java/me/tatarka/support/internal/receivers/IdleReceiver.java", "func_name": "IdleReceiver.enableReceiver", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Call this as soon as we get a chance, it will be unregistered whenever our app is killed.", "docstring_tokens": ["Call", "this", "as", "soon", "as", "we", "get", "a", "chance", "it", "will", "be", "unregistered", "whenever", "our", "app", "is", "killed", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/jobscheduler/src/main/java/me/tatarka/support/internal/receivers/IdleReceiver.java#L126-L130", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "jobscheduler/src/main/java/me/tatarka/support/internal/receivers/IdleReceiver.java", "func_name": "IdleReceiver.reportNewIdleState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Interaction with the task manager service", "docstring_tokens": ["Interaction", "with", "the", "task", "manager", "service"], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/jobscheduler/src/main/java/me/tatarka/support/internal/receivers/IdleReceiver.java#L152-L162", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "jobscheduler/src/main/java/me/tatarka/support/internal/job/JobStore.java", "func_name": "JobStore.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a job to the master list, persisting it if necessary. If the JobStatus already exists,\nit will be replaced.\n\n@param jobStatus Job to add.\n@return Whether or not an equivalent JobStatus was replaced by this operation.", "docstring_tokens": ["Add", "a", "job", "to", "the", "master", "list", "persisting", "it", "if", "necessary", ".", "If", "the", "JobStatus", "already", "exists", "it", "will", "be", "replaced", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/jobscheduler/src/main/java/me/tatarka/support/internal/job/JobStore.java#L118-L126", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "jobscheduler/src/main/java/me/tatarka/support/internal/job/JobStore.java", "func_name": "JobStore.containsJobId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Whether this jobStatus object already exists in the JobStore.", "docstring_tokens": ["Whether", "this", "jobStatus", "object", "already", "exists", "in", "the", "JobStore", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/jobscheduler/src/main/java/me/tatarka/support/internal/job/JobStore.java#L131-L139", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "jobscheduler/src/main/java/me/tatarka/support/internal/job/JobStore.java", "func_name": "JobStore.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the provided job. Will also delete the job if it was persisted.\n\n@return Whether or not the job existed to be removed.", "docstring_tokens": ["Remove", "the", "provided", "job", ".", "Will", "also", "delete", "the", "job", "if", "it", "was", "persisted", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/jobscheduler/src/main/java/me/tatarka/support/internal/job/JobStore.java#L154-L164", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "jobscheduler/src/main/java/me/tatarka/support/internal/job/JobSchedulerService.java", "func_name": "JobSchedulerService.rescheduleFailedJob", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A job is rescheduled with exponential back-off if the client requests this from their\nexecution logic.\nA caveat is for idle-mode jobs, for which the idle-mode constraint will usurp the\ntimeliness of the reschedule. For an idle-mode job, no deadline is given.\n@return A newly instantiated JobStatus with the same constraints as the last job except\nwith adjusted timing constraints.", "docstring_tokens": ["A", "job", "is", "rescheduled", "with", "exponential", "back", "-", "off", "if", "the", "client", "requests", "this", "from", "their", "execution", "logic", ".", "A", "caveat", "is", "for", "idle", "-", "mode", "jobs", "for", "which", "the", "idle", "-", "mode", "constraint", "will", "usurp", "the", "timeliness", "of", "the", "reschedule", ".", "For", "an", "idle", "-", "mode", "job", "no", "deadline", "is", "given", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/jobscheduler/src/main/java/me/tatarka/support/internal/job/JobSchedulerService.java#L249-L273", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "jobscheduler/src/main/java/me/tatarka/support/internal/util/ArraySet.java", "func_name": "ArraySet.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make the array map empty. All storage is released.", "docstring_tokens": ["Make", "the", "array", "map", "empty", ".", "All", "storage", "is", "released", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/jobscheduler/src/main/java/me/tatarka/support/internal/util/ArraySet.java#L238-L246", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "app/src/main/java/me/tatarka/support/job/sample/MainActivity.java", "func_name": "MainActivity.onReceivedStartJob", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Receives callback from the service when a job has landed on the app. Colours the UI and post\na message to uncolour it after a second.", "docstring_tokens": ["Receives", "callback", "from", "the", "service", "when", "a", "job", "has", "landed", "on", "the", "app", ".", "Colours", "the", "UI", "and", "post", "a", "message", "to", "uncolour", "it", "after", "a", "second", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/app/src/main/java/me/tatarka/support/job/sample/MainActivity.java#L219-L224", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "app/src/main/java/me/tatarka/support/job/sample/MainActivity.java", "func_name": "MainActivity.onReceivedStopJob", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Receives callback from the service when a job that previously landed on the app must stop\nexecuting. Colours the UI and post a message to uncolour it after a second.", "docstring_tokens": ["Receives", "callback", "from", "the", "service", "when", "a", "job", "that", "previously", "landed", "on", "the", "app", "must", "stop", "executing", ".", "Colours", "the", "UI", "and", "post", "a", "message", "to", "uncolour", "it", "after", "a", "second", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/app/src/main/java/me/tatarka/support/job/sample/MainActivity.java#L230-L235", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "jobscheduler/src/main/java/me/tatarka/support/internal/receivers/TimeReceiver.java", "func_name": "TimeReceiver.canStopTrackingJob", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines whether this controller can stop tracking the given job.\nThe controller is no longer interested in a job once its time constraint is satisfied, and\nthe job's deadline is fulfilled - unlike other controllers a time constraint can't toggle\nback and forth.", "docstring_tokens": ["Determines", "whether", "this", "controller", "can", "stop", "tracking", "the", "given", "job", ".", "The", "controller", "is", "no", "longer", "interested", "in", "a", "job", "once", "its", "time", "constraint", "is", "satisfied", "and", "the", "job", "s", "deadline", "is", "fulfilled", "-", "unlike", "other", "controllers", "a", "time", "constraint", "can", "t", "toggle", "back", "and", "forth", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/jobscheduler/src/main/java/me/tatarka/support/internal/receivers/TimeReceiver.java#L199-L204", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "jobscheduler/src/main/java/me/tatarka/support/os/PersistableBundle.java", "func_name": "PersistableBundle.putString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts a String value into the mapping of this Bundle, replacing any existing value for the\ngiven key. Either key or value may be null.\n\n@param key a String, or null\n@param value a String, or null", "docstring_tokens": ["Inserts", "a", "String", "value", "into", "the", "mapping", "of", "this", "Bundle", "replacing", "any", "existing", "value", "for", "the", "given", "key", ".", "Either", "key", "or", "value", "may", "be", "null", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/jobscheduler/src/main/java/me/tatarka/support/os/PersistableBundle.java#L177-L179", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "jobscheduler/src/main/java/me/tatarka/support/os/PersistableBundle.java", "func_name": "PersistableBundle.putStringArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts a String array value into the mapping of this Bundle, replacing any existing value\nfor the given key. Either key or value may be null.\n\n@param key a String, or null\n@param value a String array object, or null", "docstring_tokens": ["Inserts", "a", "String", "array", "value", "into", "the", "mapping", "of", "this", "Bundle", "replacing", "any", "existing", "value", "for", "the", "given", "key", ".", "Either", "key", "or", "value", "may", "be", "null", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/jobscheduler/src/main/java/me/tatarka/support/os/PersistableBundle.java#L221-L223", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "jobscheduler/src/main/java/me/tatarka/support/os/PersistableBundle.java", "func_name": "PersistableBundle.getString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value associated with the given key, or defaultValue if no mapping of the desired\ntype exists for the given key or if a null value is explicitly associated with the given\nkey.\n\n@param key a String, or null\n@param defaultValue Value to return if key does not exist or if a null value is associated\nwith the given key.\n@return the String value associated with the given key, or defaultValue if no valid String\nobject is currently mapped to that key.", "docstring_tokens": ["Returns", "the", "value", "associated", "with", "the", "given", "key", "or", "defaultValue", "if", "no", "mapping", "of", "the", "desired", "type", "exists", "for", "the", "given", "key", "or", "if", "a", "null", "value", "is", "explicitly", "associated", "with", "the", "given", "key", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/jobscheduler/src/main/java/me/tatarka/support/os/PersistableBundle.java#L316-L318", "partition": "valid"}
+{"repo": "evant/JobSchedulerCompat", "path": "jobscheduler/src/main/java/me/tatarka/support/os/PersistableBundle.java", "func_name": "PersistableBundle.putPersistableBundle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts a PersistableBundle value into the mapping of this Bundle, replacing any existing\nvalue for the given key. Either key or value may be null.\n\n@param key a String, or null\n@param value a Bundle object, or null", "docstring_tokens": ["Inserts", "a", "PersistableBundle", "value", "into", "the", "mapping", "of", "this", "Bundle", "replacing", "any", "existing", "value", "for", "the", "given", "key", ".", "Either", "key", "or", "value", "may", "be", "null", "."], "sha": "afa59227b33824700f11bc575ca535b0e78babec", "url": "https://github.com/evant/JobSchedulerCompat/blob/afa59227b33824700f11bc575ca535b0e78babec/jobscheduler/src/main/java/me/tatarka/support/os/PersistableBundle.java#L371-L373", "partition": "valid"}
+{"repo": "MrEngineer13/SnackBar", "path": "snackbar/src/main/java/com/github/mrengineer13/snackbar/Snack.java", "func_name": "Snack.writeToParcel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "writes data to parcel", "docstring_tokens": ["writes", "data", "to", "parcel"], "sha": "a0a6b599cd6b3a9779ada199c138d143514f8d77", "url": "https://github.com/MrEngineer13/SnackBar/blob/a0a6b599cd6b3a9779ada199c138d143514f8d77/snackbar/src/main/java/com/github/mrengineer13/snackbar/Snack.java#L56-L66", "partition": "valid"}
+{"repo": "MrEngineer13/SnackBar", "path": "snackbar/src/main/java/com/github/mrengineer13/snackbar/SnackBar.java", "func_name": "SnackBar.getHeight", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the height of the SnackBar\n\n@return the height of the SnackBar", "docstring_tokens": ["Calculates", "the", "height", "of", "the", "SnackBar"], "sha": "a0a6b599cd6b3a9779ada199c138d143514f8d77", "url": "https://github.com/MrEngineer13/SnackBar/blob/a0a6b599cd6b3a9779ada199c138d143514f8d77/snackbar/src/main/java/com/github/mrengineer13/snackbar/SnackBar.java#L361-L365", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti/BasicLTIUtil.java", "func_name": "BasicLTIUtil.dPrint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Simple Debug Print Mechanism", "docstring_tokens": ["Simple", "Debug", "Print", "Mechanism"], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti/BasicLTIUtil.java#L114-L119", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti/BasicLTIUtil.java", "func_name": "BasicLTIUtil.checkProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the properties are properly signed\n\n@deprecated See:\n{@link BasicLTIUtil#checkProperties(Map, String, String, String, String)}\n\n@param postProp\n@param url\n@param method\n@param oauth_consumer_key\n@param oauth_consumer_secret\n@return", "docstring_tokens": ["Check", "if", "the", "properties", "are", "properly", "signed"], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti/BasicLTIUtil.java#L449-L454", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti/BasicLTIUtil.java", "func_name": "BasicLTIUtil.checkProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the fields are properly signed\n\n@param postProp\n@param url\n@param method\n@param oauth_consumer_key\n@param oauth_consumer_secret\n\n@return", "docstring_tokens": ["Check", "if", "the", "fields", "are", "properly", "signed"], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti/BasicLTIUtil.java#L467-L498", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti/BasicLTIUtil.java", "func_name": "BasicLTIUtil.prepareForExport", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove fields that should not be exported", "docstring_tokens": ["Remove", "fields", "that", "should", "not", "be", "exported"], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti/BasicLTIUtil.java#L735-L751", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti/BasicLTIUtil.java", "func_name": "BasicLTIUtil.setProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Mutates the passed Properties props variable. Puts the key,value into the\nMap if the value is not null and is not empty.\n\n@deprecated See: {@link #setProperty(Map, String, String)}\n@param props Variable is mutated by this method.\n@param key\n@param value", "docstring_tokens": ["Mutates", "the", "passed", "Properties", "props", "variable", ".", "Puts", "the", "key", "value", "into", "the", "Map", "if", "the", "value", "is", "not", "null", "and", "is", "not", "empty", "."], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti/BasicLTIUtil.java#L806-L814", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti/BasicLTIUtil.java", "func_name": "BasicLTIUtil.htmlspecialchars", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Basic utility to encode form text - handle the \"safe cases\"", "docstring_tokens": ["Basic", "utility", "to", "encode", "form", "text", "-", "handle", "the", "safe", "cases"], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti/BasicLTIUtil.java#L817-L828", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti/BasicLTIUtil.java", "func_name": "BasicLTIUtil.getRealPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Simple utility method deal with a request that has the wrong URL when\nbehind a proxy.\n\n@param extUrl The url that the external world sees us as responding to.\nThis needs to be up to but not including the last slash like and not\ninclude any path information http://www.sakaiproject.org - although we do\ncompensate for extra stuff at the end.\n@return The full path of the request with extUrl in place of whatever the\nrequest thinks is the current URL.", "docstring_tokens": ["Simple", "utility", "method", "deal", "with", "a", "request", "that", "has", "the", "wrong", "URL", "when", "behind", "a", "proxy", "."], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti/BasicLTIUtil.java#L841-L851", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti/launch/LtiOauthVerifier.java", "func_name": "LtiOauthVerifier.verify", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method verifies the signed HttpServletRequest\n@param request the HttpServletRequest that will be verified\n@param secret the secret to verify the properties with\n@return the result of the verification, along with contextual\ninformation\n@throws LtiVerificationException", "docstring_tokens": ["This", "method", "verifies", "the", "signed", "HttpServletRequest"], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti/launch/LtiOauthVerifier.java#L30-L50", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti/launch/LtiOauthVerifier.java", "func_name": "LtiOauthVerifier.verifyParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method will verify a collection of parameters\n@param parameters the parameters that will be verified. mapped by key & value\n@param url the url this request was made at\n@param method the method this url was requested with\n@param secret the secret to verify the propertihes with\n@return\n@throws LtiVerificationException", "docstring_tokens": ["This", "method", "will", "verify", "a", "collection", "of", "parameters"], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti/launch/LtiOauthVerifier.java#L61-L74", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/pox/IMSPOXRequest.java", "func_name": "IMSPOXRequest.validateRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Assumes data is all loaded", "docstring_tokens": ["Assumes", "data", "is", "all", "loaded"], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/pox/IMSPOXRequest.java#L308-L311", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti2/LTI2Servlet.java", "func_name": "LTI2Servlet.doLaunch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the profile and do a launch.", "docstring_tokens": ["the", "profile", "and", "do", "a", "launch", "."], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti2/LTI2Servlet.java#L230-L294", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti2/LTI2Servlet.java", "func_name": "LTI2Servlet.buildToolConsumerProfile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "it is always null and we allow everything", "docstring_tokens": ["it", "is", "always", "null", "and", "we", "allow", "everything"], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti2/LTI2Servlet.java#L323-L350", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti2/LTI2Util.java", "func_name": "LTI2Util.validateServices", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate the incoming tool_services against a tool consumer", "docstring_tokens": ["Validate", "the", "incoming", "tool_services", "against", "a", "tool", "consumer"], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti2/LTI2Util.java#L52-L83", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti2/LTI2Util.java", "func_name": "LTI2Util.validateCapabilities", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate incoming capabilities requested against out ToolConsumer", "docstring_tokens": ["Validate", "incoming", "capabilities", "requested", "against", "out", "ToolConsumer"], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti2/LTI2Util.java#L86-L114", "partition": "valid"}
+{"repo": "IMSGlobal/basiclti-util-java", "path": "src/main/java/org/imsglobal/lti2/LTI2Util.java", "func_name": "LTI2Util.addCustomToLaunch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Place the custom values into the launch", "docstring_tokens": ["Place", "the", "custom", "values", "into", "the", "launch"], "sha": "903343b38dfe15cfcb46ced13d34148cabfaabc1", "url": "https://github.com/IMSGlobal/basiclti-util-java/blob/903343b38dfe15cfcb46ced13d34148cabfaabc1/src/main/java/org/imsglobal/lti2/LTI2Util.java#L577-L585", "partition": "valid"}
+{"repo": "jpardogo/ListBuddies", "path": "library/src/main/java/com/jpardogo/listbuddies/lib/views/ListBuddiesLayout.java", "func_name": "ListBuddiesLayout.toogleListView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Each time we touch the opposite ListView than the last one we have selected\nwe need to activate it as the enable one", "docstring_tokens": ["Each", "time", "we", "touch", "the", "opposite", "ListView", "than", "the", "last", "one", "we", "have", "selected", "we", "need", "to", "activate", "it", "as", "the", "enable", "one"], "sha": "86c8510f9f923e1b11c16785e8b1ae6b2be4754b", "url": "https://github.com/jpardogo/ListBuddies/blob/86c8510f9f923e1b11c16785e8b1ae6b2be4754b/library/src/main/java/com/jpardogo/listbuddies/lib/views/ListBuddiesLayout.java#L323-L333", "partition": "valid"}
+{"repo": "jpardogo/ListBuddies", "path": "library/src/main/java/com/jpardogo/listbuddies/lib/views/ListBuddiesLayout.java", "func_name": "ListBuddiesLayout.onListScroll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Receives the distance scroll on listView.", "docstring_tokens": ["Receives", "the", "distance", "scroll", "on", "listView", "."], "sha": "86c8510f9f923e1b11c16785e8b1ae6b2be4754b", "url": "https://github.com/jpardogo/ListBuddies/blob/86c8510f9f923e1b11c16785e8b1ae6b2be4754b/library/src/main/java/com/jpardogo/listbuddies/lib/views/ListBuddiesLayout.java#L419-L430", "partition": "valid"}
+{"repo": "google/safe-html-types", "path": "types/src/main/java/com/google/common/html/types/SafeUrls.java", "func_name": "SafeUrls.toProto", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serializes a SafeUrl into its opaque protocol message representation.\n\n
Protocol message forms of this type are intended to be opaque. The fields of the returned\nprotocol message should be considered encapsulated and are not intended for direct inspection\nor manipulation. Protocol messages can be converted back into a SafeUrl using\n{@link #fromProto(SafeUrlProto)}.", "docstring_tokens": ["Serializes", "a", "SafeUrl", "into", "its", "opaque", "protocol", "message", "representation", "."], "sha": "8507735457ea41a37dfa027fb176d49d5783c4ba", "url": "https://github.com/google/safe-html-types/blob/8507735457ea41a37dfa027fb176d49d5783c4ba/types/src/main/java/com/google/common/html/types/SafeUrls.java#L81-L85", "partition": "valid"}
+{"repo": "google/safe-html-types", "path": "types/src/main/java/com/google/common/html/types/SafeStyles.java", "func_name": "SafeStyles.toProto", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serializes a SafeStyle into its opaque protocol message representation.\n\n
Protocol message forms of this type are intended to be opaque. The fields of the returned\nprotocol message should be considered encapsulated and are not intended for direct inspection\nor manipulation. Protocol messages can be converted back into a SafeStyle using\n{@link #fromProto(SafeStyleProto)}.", "docstring_tokens": ["Serializes", "a", "SafeStyle", "into", "its", "opaque", "protocol", "message", "representation", "."], "sha": "8507735457ea41a37dfa027fb176d49d5783c4ba", "url": "https://github.com/google/safe-html-types/blob/8507735457ea41a37dfa027fb176d49d5783c4ba/types/src/main/java/com/google/common/html/types/SafeStyles.java#L94-L97", "partition": "valid"}
+{"repo": "google/safe-html-types", "path": "types/src/main/java/com/google/common/html/types/SafeScripts.java", "func_name": "SafeScripts.toProto", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serializes a SafeScript into its opaque protocol message representation.\n\n
Protocol message forms of this type are intended to be opaque. The fields of the returned\nprotocol message should be considered encapsulated and are not intended for direct inspection\nor manipulation. Protocol messages can be converted back into a SafeScript using\n{@link #fromProto(SafeScriptProto)}.", "docstring_tokens": ["Serializes", "a", "SafeScript", "into", "its", "opaque", "protocol", "message", "representation", "."], "sha": "8507735457ea41a37dfa027fb176d49d5783c4ba", "url": "https://github.com/google/safe-html-types/blob/8507735457ea41a37dfa027fb176d49d5783c4ba/types/src/main/java/com/google/common/html/types/SafeScripts.java#L91-L94", "partition": "valid"}
+{"repo": "google/safe-html-types", "path": "types/src/main/java/com/google/common/html/types/SafeStyleSheets.java", "func_name": "SafeStyleSheets.toProto", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serializes a SafeStyleSheet into its opaque protocol message representation.\n\n
Protocol message forms of this type are intended to be opaque. The fields of the returned\nprotocol message should be considered encapsulated and are not intended for direct inspection\nor manipulation. Protocol messages can be converted back into a SafeStyleSheet using\n{@link #fromProto(SafeStyleSheetProto)}.", "docstring_tokens": ["Serializes", "a", "SafeStyleSheet", "into", "its", "opaque", "protocol", "message", "representation", "."], "sha": "8507735457ea41a37dfa027fb176d49d5783c4ba", "url": "https://github.com/google/safe-html-types/blob/8507735457ea41a37dfa027fb176d49d5783c4ba/types/src/main/java/com/google/common/html/types/SafeStyleSheets.java#L104-L109", "partition": "valid"}
+{"repo": "google/safe-html-types", "path": "types/src/main/java/com/google/common/html/types/TrustedResourceUrls.java", "func_name": "TrustedResourceUrls.toProto", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serializes a TrustedResourceUrl into its opaque protocol message representation.\n\n
Protocol message forms of this type are intended to be opaque. The fields of the returned\nprotocol message should be considered encapsulated and are not intended for direct inspection\nor manipulation. Protocol messages can be converted back into a TrustedResourceUrl using\n{@link #fromProto(TrustedResourceUrlProto)}.", "docstring_tokens": ["Serializes", "a", "TrustedResourceUrl", "into", "its", "opaque", "protocol", "message", "representation", "."], "sha": "8507735457ea41a37dfa027fb176d49d5783c4ba", "url": "https://github.com/google/safe-html-types/blob/8507735457ea41a37dfa027fb176d49d5783c4ba/types/src/main/java/com/google/common/html/types/TrustedResourceUrls.java#L63-L68", "partition": "valid"}
+{"repo": "google/safe-html-types", "path": "types/src/main/java/com/google/common/html/types/SafeHtmls.java", "func_name": "SafeHtmls.toProto", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serializes a SafeHtml into its opaque protocol message representation.\n\n
Protocol message forms of this type are intended to be opaque. The fields of the returned\nprotocol message should be considered encapsulated and are not intended for direct inspection\nor manipulation. Protocol messages can be converted back into a SafeHtml using\n{@link #fromProto(SafeHtmlProto)}.", "docstring_tokens": ["Serializes", "a", "SafeHtml", "into", "its", "opaque", "protocol", "message", "representation", "."], "sha": "8507735457ea41a37dfa027fb176d49d5783c4ba", "url": "https://github.com/google/safe-html-types/blob/8507735457ea41a37dfa027fb176d49d5783c4ba/types/src/main/java/com/google/common/html/types/SafeHtmls.java#L138-L141", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.wrapAngleRad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wraps the radian between -PI and PI\n\n@param angle to wrap\n@return -PI < radian <= PI", "docstring_tokens": ["Wraps", "the", "radian", "between", "-", "PI", "and", "PI"], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L81-L90", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.round", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rounds a number to the amount of decimals specified\n\n@param input to round\n@param decimals to round to\n@return the rounded number", "docstring_tokens": ["Rounds", "a", "number", "to", "the", "amount", "of", "decimals", "specified"], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L130-L133", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.lerp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the value at x using linear interpolation\n\n@param x the X coord of the value to interpolate\n@param x1 the X coord of q0\n@param x2 the X coord of q1\n@param q0 the first known value (x1)\n@param q1 the second known value (x2)\n@return the interpolated value", "docstring_tokens": ["Calculates", "the", "value", "at", "x", "using", "linear", "interpolation"], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L229-L231", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.slerp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Interpolates a quaternion between two others using spherical linear interpolation.\n\n@param a The first quaternion\n@param b The second quaternion\n@param percent The percent for the interpolation, between 0 and 1 inclusively\n@return The interpolated quaternion", "docstring_tokens": ["Interpolates", "a", "quaternion", "between", "two", "others", "using", "spherical", "linear", "interpolation", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L257-L274", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.biLerp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the value at x,y using bilinear interpolation\n\n@param x the X coord of the value to interpolate\n@param y the Y coord of the value to interpolate\n@param q00 the first known value (x1, y1)\n@param q01 the second known value (x1, y2)\n@param q10 the third known value (x2, y1)\n@param q11 the fourth known value (x2, y2)\n@param x1 the X coord of q00 and q01\n@param x2 the X coord of q10 and q11\n@param y1 the Y coord of q00 and q10\n@param y2 the Y coord of q01 and q11\n@return the interpolated value", "docstring_tokens": ["Calculates", "the", "value", "at", "x", "y", "using", "bilinear", "interpolation"], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L342-L347", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.triLerp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the value at x,y,z using trilinear interpolation\n\n@param x the X coord of the value to interpolate\n@param y the Y coord of the value to interpolate\n@param z the Z coord of the value to interpolate\n@param q000 the first known value (x1, y1, z1)\n@param q001 the second known value (x1, y2, z1)\n@param q010 the third known value (x1, y1, z2)\n@param q011 the fourth known value (x1, y2, z2)\n@param q100 the fifth known value (x2, y1, z1)\n@param q101 the sixth known value (x2, y2, z1)\n@param q110 the seventh known value (x2, y1, z2)\n@param q111 the eighth known value (x2, y2, z2)\n@param x1 the X coord of q000, q001, q010 and q011\n@param x2 the X coord of q100, q101, q110 and q111\n@param y1 the Y coord of q000, q010, q100 and q110\n@param y2 the Y coord of q001, q011, q101 and q111\n@param z1 the Z coord of q000, q001, q100 and q101\n@param z2 the Z coord of q010, q011, q110 and q111\n@return the interpolated value", "docstring_tokens": ["Calculates", "the", "value", "at", "x", "y", "z", "using", "trilinear", "interpolation"], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L371-L381", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.blend", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Blends two colors into one.\n\n@param a The first color\n@param b The second color\n@return The blended color", "docstring_tokens": ["Blends", "two", "colors", "into", "one", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L390-L392", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.clamp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clamps the value between the low and high boundaries\n\n@param value The value to clamp\n@param low The low bound of the clamp\n@param high The high bound of the clamp\n@return the clamped value", "docstring_tokens": ["Clamps", "the", "value", "between", "the", "low", "and", "high", "boundaries"], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L402-L410", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.inverseSqrt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a fast estimate of the inverse square root of the value\n\n@param a The value\n@return The estimate of the inverse square root", "docstring_tokens": ["Returns", "a", "fast", "estimate", "of", "the", "inverse", "square", "root", "of", "the", "value"], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L436-L440", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.castFloat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Casts a value to a float. May return null.\n\n@param o The object to attempt to cast\n@return The object as a float", "docstring_tokens": ["Casts", "a", "value", "to", "a", "float", ".", "May", "return", "null", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L572-L584", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.castByte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Casts a value to a byte. May return null.\n\n@param o The object to attempt to cast\n@return The object as a byte", "docstring_tokens": ["Casts", "a", "value", "to", "a", "byte", ".", "May", "return", "null", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L592-L604", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.castShort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Casts a value to a short. May return null.\n\n@param o The object to attempt to cast\n@return The object as a short", "docstring_tokens": ["Casts", "a", "value", "to", "a", "short", ".", "May", "return", "null", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L612-L624", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.castInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Casts a value to an integer. May return null.\n\n@param o The object to attempt to cast\n@return The object as an int", "docstring_tokens": ["Casts", "a", "value", "to", "an", "integer", ".", "May", "return", "null", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L632-L644", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.castDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Casts a value to a double. May return null.\n\n@param o The object to attempt to cast\n@return The object as a double", "docstring_tokens": ["Casts", "a", "value", "to", "a", "double", ".", "May", "return", "null", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L652-L664", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.castLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Casts a value to a long. May return null.\n\n@param o The object to attempt to cast\n@return The object as a long", "docstring_tokens": ["Casts", "a", "value", "to", "a", "long", ".", "May", "return", "null", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L672-L684", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.castBoolean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Casts a value to a boolean. May return null.\n\n@param o The object to attempt to cast\n@return The object as a boolean", "docstring_tokens": ["Casts", "a", "value", "to", "a", "boolean", ".", "May", "return", "null", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L692-L707", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.mean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the mean of a set of values\n\n@param values to calculate the mean of\n@return the mean of the values", "docstring_tokens": ["Calculates", "the", "mean", "of", "a", "set", "of", "values"], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L715-L721", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.mod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the modulo of 'a' by 'div' with corrections for negative numbers.\n\n@param a The dividend\n@param div The divider\n@return The corrected modulo", "docstring_tokens": ["Returns", "the", "modulo", "of", "a", "by", "div", "with", "corrections", "for", "negative", "numbers", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L783-L786", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/GenericMath.java", "func_name": "GenericMath.multiplyToShift", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts a multiplication into a shift.\n\n@param a the multiplicand\n@return the left shift required to multiply by the multiplicand", "docstring_tokens": ["Converts", "a", "multiplication", "into", "a", "shift", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/GenericMath.java#L812-L821", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java", "func_name": "Quaterniond.mul", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Multiplies the components of this quaternion by a double scalar.\n\n@param a The multiplication scalar\n@return A new quaternion, which has each component multiplied by the scalar", "docstring_tokens": ["Multiplies", "the", "components", "of", "this", "quaternion", "by", "a", "double", "scalar", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java#L198-L201", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java", "func_name": "Quaterniond.div", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Divides the components of this quaternion by a double scalar.\n\n@param a The division scalar\n@return A new quaternion, which has each component divided by the scalar", "docstring_tokens": ["Divides", "the", "components", "of", "this", "quaternion", "by", "a", "double", "scalar", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java#L259-L262", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java", "func_name": "Quaterniond.rotate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rotates the double components of a vector by this quaternion.\n\n@param x The x component of the vector\n@param y The y component of the vector\n@param z The z component of the vector\n@return The rotated vector", "docstring_tokens": ["Rotates", "the", "double", "components", "of", "a", "vector", "by", "this", "quaternion", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java#L371-L388", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java", "func_name": "Quaterniond.lengthSquared", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the square of the length of this quaternion.\n\n@return The square of the length", "docstring_tokens": ["Returns", "the", "square", "of", "the", "length", "of", "this", "quaternion", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java#L473-L476", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java", "func_name": "Quaterniond.normalize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Normalizes this quaternion.\n\n@return A new quaternion of unit length", "docstring_tokens": ["Normalizes", "this", "quaternion", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java#L493-L500", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java", "func_name": "Quaterniond.fromImaginary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new quaternion from the double imaginary components.\n\n
The {@link #ZERO} constant is re-used when {@code x}, {@code y}, and {@code z} are 0.
\n\n@param x The x (imaginary) component\n@param y The y (imaginary) component\n@param z The z (imaginary) component\n@return The quaternion created from the double imaginary components", "docstring_tokens": ["Creates", "a", "new", "quaternion", "from", "the", "double", "imaginary", "components", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java#L597-L599", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java", "func_name": "Quaterniond.from", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new quaternion from the double components.\n\n
The {@link #ZERO} constant is re-used when {@code x}, {@code y}, {@code z}, and {@code w} are 0.
\n\n@param x The x (imaginary) component\n@param y The y (imaginary) component\n@param z The z (imaginary) component\n@param w The w (real) component\n@return The quaternion created from the double components", "docstring_tokens": ["Creates", "a", "new", "quaternion", "from", "the", "double", "components", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java#L612-L614", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java", "func_name": "Quaterniond.fromAxesAnglesDeg", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new quaternion from the double angles in degrees around the x, y and z axes.\n\n@param pitch The rotation around x\n@param yaw The rotation around y\n@param roll The rotation around z\n@return The quaternion defined by the rotations around the axes", "docstring_tokens": ["Creates", "a", "new", "quaternion", "from", "the", "double", "angles", "in", "degrees", "around", "the", "x", "y", "and", "z", "axes", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java#L648-L652", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java", "func_name": "Quaterniond.fromAxesAnglesRad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new quaternion from the double angles in radians around the x, y and z axes.\n\n@param pitch The rotation around x\n@param yaw The rotation around y\n@param roll The rotation around z\n@return The quaternion defined by the rotations around the axes", "docstring_tokens": ["Creates", "a", "new", "quaternion", "from", "the", "double", "angles", "in", "radians", "around", "the", "x", "y", "and", "z", "axes", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java#L662-L666", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java", "func_name": "Quaterniond.fromAngleRadAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new quaternion from the rotation double angle in radians around the axis vector.\n\n@param angle The rotation angle in radians\n@param axis The axis of rotation\n@return The quaternion defined by the rotation around the axis", "docstring_tokens": ["Creates", "a", "new", "quaternion", "from", "the", "rotation", "double", "angle", "in", "radians", "around", "the", "axis", "vector", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java#L719-L721", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java", "func_name": "Quaterniond.fromAngleDegAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new quaternion from the rotation float angle in degrees around the axis vector float components.\n\n@param angle The rotation angle in degrees\n@param x The x component of the axis vector\n@param y The y component of the axis vector\n@param z The z component of the axis vector\n@return The quaternion defined by the rotation around the axis", "docstring_tokens": ["Creates", "a", "new", "quaternion", "from", "the", "rotation", "float", "angle", "in", "degrees", "around", "the", "axis", "vector", "float", "components", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaterniond.java#L732-L734", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/vector/Vector4i.java", "func_name": "Vector4i.getMinAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the axis with the minimal value.\n\n@return {@link int} axis with minimal value", "docstring_tokens": ["Return", "the", "axis", "with", "the", "minimal", "value", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/vector/Vector4i.java#L267-L283", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java", "func_name": "Complexf.mul", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Multiplies the float components of another complex with this one.\n\n@param x The x (real) component of the complex to multiply with\n@param y The y (imaginary) component of the complex to multiply with\n@return A new complex, which is the product of both", "docstring_tokens": ["Multiplies", "the", "float", "components", "of", "another", "complex", "with", "this", "one", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java#L199-L203", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java", "func_name": "Complexf.div", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Divides this complex by the float components of another one.\n\n@param x The x (real) component of the complex to divide with\n@param y The y (imaginary) component of the complex to divide with\n@return The quotient of the two complexes", "docstring_tokens": ["Divides", "this", "complex", "by", "the", "float", "components", "of", "another", "one", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java#L254-L259", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java", "func_name": "Complexf.rotate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rotates the float components of a vector by this complex.\n\n@param x The x component of the vector\n@param y The y component of the vector\n@return The rotated vector", "docstring_tokens": ["Rotates", "the", "float", "components", "of", "a", "vector", "by", "this", "complex", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java#L321-L329", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java", "func_name": "Complexf.normalize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Normalizes this complex.\n\n@return A new complex of unit length", "docstring_tokens": ["Normalizes", "this", "complex", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java#L410-L417", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java", "func_name": "Complexf.toQuaternion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts this complex to a quaternion by\nusing the provided float components vector\nas a rotation axis.\n\n@param x The x component of the axis vector\n@param y The y component of the axis vector\n@param z The z component of the axis vector\n@return A quaternion of this rotation around the given axis", "docstring_tokens": ["Converts", "this", "complex", "to", "a", "quaternion", "by", "using", "the", "provided", "float", "components", "vector", "as", "a", "rotation", "axis", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java#L464-L466", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java", "func_name": "Complexf.from", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new complex from the float components.\n\n
The {@link #ZERO} constant is re-used when both {@code x} and {@code z} are 0.
\n\n@param x The x (real) component\n@param y The y (imaginary) component\n@return The complex created from the float components", "docstring_tokens": ["Creates", "a", "new", "complex", "from", "the", "float", "components", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java#L554-L556", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java", "func_name": "Complexf.fromAngleRad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new complex from the float angle in radians.\n\n@param angle The angle in radians\n@return The complex defined by the angle", "docstring_tokens": ["Creates", "a", "new", "complex", "from", "the", "float", "angle", "in", "radians", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Complexf.java#L616-L618", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/vector/Vector4l.java", "func_name": "Vector4l.getMaxAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the axis with the maximum value.\n\n@return {@link int} axis with maximum value", "docstring_tokens": ["Return", "the", "axis", "with", "the", "maximum", "value", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/vector/Vector4l.java#L290-L306", "partition": "valid"}
+{"repo": "flow/math", "path": "src/main/java/com/flowpowered/math/HashFunctions.java", "func_name": "HashFunctions.hash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a hashcode for the specified value.\n\n@return a hash code value for the specified value.", "docstring_tokens": ["Returns", "a", "hashcode", "for", "the", "specified", "value", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/src/main/java/com/flowpowered/math/HashFunctions.java#L48-L55", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java", "func_name": "Quaternionf.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the float components of another quaternion to this one.\n\n@param x The x (imaginary) component of the quaternion to add\n@param y The y (imaginary) component of the quaternion to add\n@param z The z (imaginary) component of the quaternion to add\n@param w The w (real) component of the quaternion to add\n@return A new quaternion, which is the sum of both", "docstring_tokens": ["Adds", "the", "float", "components", "of", "another", "quaternion", "to", "this", "one", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java#L142-L144", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java", "func_name": "Quaternionf.mul", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Multiplies the components of this quaternion by a float scalar.\n\n@param a The multiplication scalar\n@return A new quaternion, which has each component multiplied by the scalar", "docstring_tokens": ["Multiplies", "the", "components", "of", "this", "quaternion", "by", "a", "float", "scalar", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java#L198-L201", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java", "func_name": "Quaternionf.div", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Divides the components of this quaternion by a float scalar.\n\n@param a The division scalar\n@return A new quaternion, which has each component divided by the scalar", "docstring_tokens": ["Divides", "the", "components", "of", "this", "quaternion", "by", "a", "float", "scalar", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java#L259-L262", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java", "func_name": "Quaternionf.getAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the axis of rotation for this quaternion.\n\n@return The axis of rotation", "docstring_tokens": ["Returns", "the", "axis", "of", "rotation", "for", "this", "quaternion", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java#L404-L407", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java", "func_name": "Quaternionf.getAxesAnglesRad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the angles in radians around the x, y and z axes that correspond to the rotation represented by this quaternion.\n\n@return The angle in radians for each axis, stored in a vector, in the corresponding component", "docstring_tokens": ["Returns", "the", "angles", "in", "radians", "around", "the", "x", "y", "and", "z", "axes", "that", "correspond", "to", "the", "rotation", "represented", "by", "this", "quaternion", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java#L423-L439", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java", "func_name": "Quaternionf.fromImaginary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new quaternion from the float imaginary components.\n\n
The {@link #ZERO} constant is re-used when {@code x}, {@code y}, and {@code z} are 0.
\n\n@param x The x (imaginary) component\n@param y The y (imaginary) component\n@param z The z (imaginary) component\n@return The quaternion created from the float imaginary components", "docstring_tokens": ["Creates", "a", "new", "quaternion", "from", "the", "float", "imaginary", "components", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java#L597-L599", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java", "func_name": "Quaternionf.from", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new quaternion from the float components.\n\n
The {@link #ZERO} constant is re-used when {@code x}, {@code y}, {@code z}, and {@code w} are 0.
\n\n@param x The x (imaginary) component\n@param y The y (imaginary) component\n@param z The z (imaginary) component\n@param w The w (real) component\n@return The quaternion created from the float components", "docstring_tokens": ["Creates", "a", "new", "quaternion", "from", "the", "float", "components", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java#L612-L614", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java", "func_name": "Quaternionf.fromAxesAnglesDeg", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new quaternion from the float angles in degrees around the x, y and z axes.\n\n@param pitch The rotation around x\n@param yaw The rotation around y\n@param roll The rotation around z\n@return The quaternion defined by the rotations around the axes", "docstring_tokens": ["Creates", "a", "new", "quaternion", "from", "the", "float", "angles", "in", "degrees", "around", "the", "x", "y", "and", "z", "axes", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java#L648-L652", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java", "func_name": "Quaternionf.fromAxesAnglesRad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new quaternion from the float angles in radians around the x, y and z axes.\n\n@param pitch The rotation around x\n@param yaw The rotation around y\n@param roll The rotation around z\n@return The quaternion defined by the rotations around the axes", "docstring_tokens": ["Creates", "a", "new", "quaternion", "from", "the", "float", "angles", "in", "radians", "around", "the", "x", "y", "and", "z", "axes", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java#L662-L666", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java", "func_name": "Quaternionf.fromAngleRadAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new quaternion from the rotation float angle in radians around the axis vector.\n\n@param angle The rotation angle in radians\n@param axis The axis of rotation\n@return The quaternion defined by the rotation around the axis", "docstring_tokens": ["Creates", "a", "new", "quaternion", "from", "the", "rotation", "float", "angle", "in", "radians", "around", "the", "axis", "vector", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java#L719-L721", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java", "func_name": "Quaternionf.fromAngleRadAxis", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new quaternion from the rotation double angle in radians around the axis vector double components.\n\n@param angle The rotation angle in radians\n@param x The x component of the axis vector\n@param y The y component of the axis vector\n@param z The z component of the axis vector\n@return The quaternion defined by the rotation around the axis", "docstring_tokens": ["Creates", "a", "new", "quaternion", "from", "the", "rotation", "double", "angle", "in", "radians", "around", "the", "axis", "vector", "double", "components", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Quaternionf.java#L745-L747", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Complexd.java", "func_name": "Complexd.mul", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Multiplies the double components of another complex with this one.\n\n@param x The x (real) component of the complex to multiply with\n@param y The y (imaginary) component of the complex to multiply with\n@return A new complex, which is the product of both", "docstring_tokens": ["Multiplies", "the", "double", "components", "of", "another", "complex", "with", "this", "one", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Complexd.java#L199-L203", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Complexd.java", "func_name": "Complexd.div", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Divides this complex by the double components of another one.\n\n@param x The x (real) component of the complex to divide with\n@param y The y (imaginary) component of the complex to divide with\n@return The quotient of the two complexes", "docstring_tokens": ["Divides", "this", "complex", "by", "the", "double", "components", "of", "another", "one", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Complexd.java#L254-L259", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Complexd.java", "func_name": "Complexd.rotate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rotates the double components of a vector by this complex.\n\n@param x The x component of the vector\n@param y The y component of the vector\n@return The rotated vector", "docstring_tokens": ["Rotates", "the", "double", "components", "of", "a", "vector", "by", "this", "complex", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Complexd.java#L321-L329", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Complexd.java", "func_name": "Complexd.toQuaternion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts this complex to a quaternion by\nusing the provided double components vector\nas a rotation axis.\n\n@param x The x component of the axis vector\n@param y The y component of the axis vector\n@param z The z component of the axis vector\n@return A quaternion of this rotation around the given axis", "docstring_tokens": ["Converts", "this", "complex", "to", "a", "quaternion", "by", "using", "the", "provided", "double", "components", "vector", "as", "a", "rotation", "axis", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Complexd.java#L464-L466", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Complexd.java", "func_name": "Complexd.from", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new complex from the double components.\n\n
The {@link #ZERO} constant is re-used when both {@code x} and {@code z} are 0.
\n\n@param x The x (real) component\n@param y The y (imaginary) component\n@return The complex created from the double components", "docstring_tokens": ["Creates", "a", "new", "complex", "from", "the", "double", "components", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Complexd.java#L554-L556", "partition": "valid"}
+{"repo": "flow/math", "path": "target/generated-sources/template/com/flowpowered/math/imaginary/Complexd.java", "func_name": "Complexd.fromAngleRad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new complex from the double angle in radians.\n\n@param angle The angle in radians\n@return The complex defined by the angle", "docstring_tokens": ["Creates", "a", "new", "complex", "from", "the", "double", "angle", "in", "radians", "."], "sha": "12c1a809720aced976ed22de34fb1457d8eda78f", "url": "https://github.com/flow/math/blob/12c1a809720aced976ed22de34fb1457d8eda78f/target/generated-sources/template/com/flowpowered/math/imaginary/Complexd.java#L616-L618", "partition": "valid"}
+{"repo": "ssomai/ScalableLayout", "path": "library_scalablelayout/src/main/java/com/ssomai/android/scalablelayout/ScalableLayout.java", "func_name": "ScalableLayout.moveChildView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "move childView inside ScalableLayout\n@param pChildView view to move. should be child of ScaleLayout\n@param pScale_Left\n@param pScale_Top", "docstring_tokens": ["move", "childView", "inside", "ScalableLayout"], "sha": "b4517b832efb20f8c8308a696839f8237bcea871", "url": "https://github.com/ssomai/ScalableLayout/blob/b4517b832efb20f8c8308a696839f8237bcea871/library_scalablelayout/src/main/java/com/ssomai/android/scalablelayout/ScalableLayout.java#L243-L248", "partition": "valid"}
+{"repo": "ssomai/ScalableLayout", "path": "library_scalablelayout/src/main/java/com/ssomai/android/scalablelayout/ScalableLayout.java", "func_name": "ScalableLayout.moveChildView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "move and resize childView inside ScalableLayout\n@param pChildView view to move. should be child of ScaleLayout\n@param pScale_Left\n@param pScale_Top\n@param pScale_Width\n@param pScale_Height", "docstring_tokens": ["move", "and", "resize", "childView", "inside", "ScalableLayout"], "sha": "b4517b832efb20f8c8308a696839f8237bcea871", "url": "https://github.com/ssomai/ScalableLayout/blob/b4517b832efb20f8c8308a696839f8237bcea871/library_scalablelayout/src/main/java/com/ssomai/android/scalablelayout/ScalableLayout.java#L258-L265", "partition": "valid"}
+{"repo": "Uncodin/bypass", "path": "platform/android/library/src/in/uncod/android/bypass/Bypass.java", "func_name": "Bypass.setBlockSpan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "These have trailing newlines that we want to avoid spanning", "docstring_tokens": ["These", "have", "trailing", "newlines", "that", "we", "want", "to", "avoid", "spanning"], "sha": "271e067d09c64eed8c72f1093d398dc2b9d69fc1", "url": "https://github.com/Uncodin/bypass/blob/271e067d09c64eed8c72f1093d398dc2b9d69fc1/platform/android/library/src/in/uncod/android/bypass/Bypass.java#L295-L298", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ConstraintFormulaSet.java", "func_name": "ConstraintFormulaSet.reduce", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Takes a compatibility assertion about an expression or type, called a constraint formula, and reduces it to a\nset of bounds on inference variables. Often, a constraint formula reduces to other constraint formulas,\nwhich must be recursively reduced. A procedure is followed to identify these additional constraint formulas and,\nultimately, to express via a bound set the conditions under which the choices for inferred types would render\neach constraint formula true.", "docstring_tokens": ["Takes", "a", "compatibility", "assertion", "about", "an", "expression", "or", "type", "called", "a", "constraint", "formula", "and", "reduces", "it", "to", "a", "set", "of", "bounds", "on", "inference", "variables", ".", "Often", "a", "constraint", "formula", "reduces", "to", "other", "constraint", "formulas", "which", "must", "be", "recursively", "reduced", ".", "A", "procedure", "is", "followed", "to", "identify", "these", "additional", "constraint", "formulas", "and", "ultimately", "to", "express", "via", "a", "bound", "set", "the", "conditions", "under", "which", "the", "choices", "for", "inferred", "types", "would", "render", "each", "constraint", "formula", "true", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ConstraintFormulaSet.java#L38-L48", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/ReferenceTypeImpl.java", "func_name": "ReferenceTypeImpl.transformTypeParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute a transformation on all the type parameters of this element.", "docstring_tokens": ["Execute", "a", "transformation", "on", "all", "the", "type", "parameters", "of", "this", "element", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/ReferenceTypeImpl.java#L173-L188", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-model/src/main/java/com/github/javaparser/symbolsolver/model/resolution/SymbolReference.java", "func_name": "SymbolReference.solved", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a solve reference to the given symbol.", "docstring_tokens": ["Create", "a", "solve", "reference", "to", "the", "given", "symbol", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-model/src/main/java/com/github/javaparser/symbolsolver/model/resolution/SymbolReference.java#L40-L42", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-model/src/main/java/com/github/javaparser/symbolsolver/model/resolution/SymbolReference.java", "func_name": "SymbolReference.unsolved", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an unsolved reference specifying the type of the value expected.", "docstring_tokens": ["Create", "an", "unsolved", "reference", "specifying", "the", "type", "of", "the", "value", "expected", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-model/src/main/java/com/github/javaparser/symbolsolver/model/resolution/SymbolReference.java#L47-L49", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeHelper.java", "func_name": "TypeHelper.isProperType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The term proper type excludes such \"types\" that mention inference variables.", "docstring_tokens": ["The", "term", "proper", "type", "excludes", "such", "types", "that", "mention", "inference", "variables", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeHelper.java#L30-L57", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeHelper.java", "func_name": "TypeHelper.leastUpperBound", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "See JLS 4.10.4. Least Upper Bound.", "docstring_tokens": ["See", "JLS", "4", ".", "10", ".", "4", ".", "Least", "Upper", "Bound", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeHelper.java#L188-L286", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeHelper.java", "func_name": "TypeHelper.groundTargetTypeOfLambda", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "See JLS 15.27.3. Type of a Lambda Expression\n@return", "docstring_tokens": ["See", "JLS", "15", ".", "27", ".", "3", ".", "Type", "of", "a", "Lambda", "Expression"], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeHelper.java#L292-L318", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeHelper.java", "func_name": "TypeHelper.nonWildcardParameterizationOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "See JLS 9.9", "docstring_tokens": ["See", "JLS", "9", ".", "9"], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeHelper.java#L323-L382", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeHelper.java", "func_name": "TypeHelper.glb", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "See JLS 5.1.10. Capture Conversion.", "docstring_tokens": ["See", "JLS", "5", ".", "1", ".", "10", ".", "Capture", "Conversion", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeHelper.java#L396-L404", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/TypeExtractor.java", "func_name": "TypeExtractor.solveDotExpressionType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Java Parser can't differentiate between packages, internal types, and fields.\nAll three are lumped together into FieldAccessExpr. We need to differentiate them.", "docstring_tokens": ["Java", "Parser", "can", "t", "differentiate", "between", "packages", "internal", "types", "and", "fields", ".", "All", "three", "are", "lumped", "together", "into", "FieldAccessExpr", ".", "We", "need", "to", "differentiate", "them", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/TypeExtractor.java#L170-L180", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacade.java", "func_name": "JavaParserFacade.solve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a constructor call find out to which constructor declaration it corresponds.", "docstring_tokens": ["Given", "a", "constructor", "call", "find", "out", "to", "which", "constructor", "declaration", "it", "corresponds", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacade.java#L208-L223", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacade.java", "func_name": "JavaParserFacade.solve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a method call find out to which method declaration it corresponds.", "docstring_tokens": ["Given", "a", "method", "call", "find", "out", "to", "which", "method", "declaration", "it", "corresponds", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacade.java#L250-L261", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacade.java", "func_name": "JavaParserFacade.find", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For some reasons LambdaExprs are duplicate and the equals method is not implemented correctly.\n\n@param map\n@return", "docstring_tokens": ["For", "some", "reasons", "LambdaExprs", "are", "duplicate", "and", "the", "equals", "method", "is", "not", "implemented", "correctly", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacade.java#L339-L349", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacade.java", "func_name": "JavaParserFacade.qName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is an hack around an issue in JavaParser", "docstring_tokens": ["This", "is", "an", "hack", "around", "an", "issue", "in", "JavaParser"], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacade.java#L439-L446", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacade.java", "func_name": "JavaParserFacade.getTypeOfThisIn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "\"this\" inserted in the given point, which type would have?", "docstring_tokens": ["this", "inserted", "in", "the", "given", "point", "which", "type", "would", "have?"], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/JavaParserFacade.java#L548-L561", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ControlFlowLogic.java", "func_name": "ControlFlowLogic.exitTheStatement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A reachable break statement exits a statement if, within the break target, either there are no try statements\nwhose try blocks contain the break statement, or there are try statements whose try blocks contain the break\nstatement and all finally clauses of those try statements can complete normally.", "docstring_tokens": ["A", "reachable", "break", "statement", "exits", "a", "statement", "if", "within", "the", "break", "target", "either", "there", "are", "no", "try", "statements", "whose", "try", "blocks", "contain", "the", "break", "statement", "or", "there", "are", "try", "statements", "whose", "try", "blocks", "contain", "the", "break", "statement", "and", "all", "finally", "clauses", "of", "those", "try", "statements", "can", "complete", "normally", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ControlFlowLogic.java#L55-L68", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ControlFlowLogic.java", "func_name": "ControlFlowLogic.canCompleteNormally", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "See JLS 14.21", "docstring_tokens": ["See", "JLS", "14", ".", "21"], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ControlFlowLogic.java#L98-L167", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/SymbolSolver.java", "func_name": "SymbolSolver.solveTypeInType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Try to solve a symbol just in the declaration, it does not delegate to the container.", "docstring_tokens": ["Try", "to", "solve", "a", "symbol", "just", "in", "the", "declaration", "it", "does", "not", "delegate", "to", "the", "container", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/SymbolSolver.java#L162-L171", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/MethodResolutionLogic.java", "func_name": "MethodResolutionLogic.solveMethodInType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replace TypeDeclaration.solveMethod\n\n@param typeDeclaration\n@param name\n@param argumentsTypes\n@param staticOnly\n@return", "docstring_tokens": ["Replace", "TypeDeclaration", ".", "solveMethod"], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/MethodResolutionLogic.java#L596-L637", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-model/src/main/java/com/github/javaparser/symbolsolver/model/resolution/Value.java", "func_name": "Value.from", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a Value from a ValueDeclaration.", "docstring_tokens": ["Create", "a", "Value", "from", "a", "ValueDeclaration", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-model/src/main/java/com/github/javaparser/symbolsolver/model/resolution/Value.java#L39-L42", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeInference.java", "func_name": "TypeInference.invocationApplicabilityInference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine whether a potentially applicable generic method m is applicable for a method invocation that\nprovides no explicit type arguments.", "docstring_tokens": ["Determine", "whether", "a", "potentially", "applicable", "generic", "method", "m", "is", "applicable", "for", "a", "method", "invocation", "that", "provides", "no", "explicit", "type", "arguments", "."], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeInference.java#L148-L177", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeInference.java", "func_name": "TypeInference.moreSpecificMethodInference", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return if m2 is more specific than m1\n@param methodCall\n@param m1\n@param m2", "docstring_tokens": ["Return", "if", "m2", "is", "more", "specific", "than", "m1"], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeInference.java#L387-L474", "partition": "valid"}
+{"repo": "javaparser/javasymbolsolver", "path": "java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ExpressionHelper.java", "func_name": "ExpressionHelper.appearsInAssignmentContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Not sure if should look if the parent is an assignment context", "docstring_tokens": ["Not", "sure", "if", "should", "look", "if", "the", "parent", "is", "an", "assignment", "context"], "sha": "e264a20a8c434363a8f224ab259a6baf48d1265a", "url": "https://github.com/javaparser/javasymbolsolver/blob/e264a20a8c434363a8f224ab259a6baf48d1265a/java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ExpressionHelper.java#L95-L110", "partition": "valid"}
+{"repo": "h2oai/xgboost-predictor", "path": "xgboost-predictor/src/main/java/biz/k11i/xgboost/Predictor.java", "func_name": "Predictor.predict", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates predictions for given feature vector.\n\n@param feat feature vector\n@param output_margin whether to only predict margin value instead of transformed prediction\n@param ntree_limit limit the number of trees used in prediction\n@return prediction values", "docstring_tokens": ["Generates", "predictions", "for", "given", "feature", "vector", "."], "sha": "5db857786c7d07f6d2b050166522e50594b37ee1", "url": "https://github.com/h2oai/xgboost-predictor/blob/5db857786c7d07f6d2b050166522e50594b37ee1/xgboost-predictor/src/main/java/biz/k11i/xgboost/Predictor.java#L155-L161", "partition": "valid"}
+{"repo": "h2oai/xgboost-predictor", "path": "xgboost-predictor/src/main/java/biz/k11i/xgboost/tree/RegTreeImpl.java", "func_name": "RegTreeImpl.loadModel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads model from stream.\n\n@param reader input stream\n@throws IOException If an I/O error occurs", "docstring_tokens": ["Loads", "model", "from", "stream", "."], "sha": "5db857786c7d07f6d2b050166522e50594b37ee1", "url": "https://github.com/h2oai/xgboost-predictor/blob/5db857786c7d07f6d2b050166522e50594b37ee1/xgboost-predictor/src/main/java/biz/k11i/xgboost/tree/RegTreeImpl.java#L24-L36", "partition": "valid"}
+{"repo": "h2oai/xgboost-predictor", "path": "xgboost-predictor/src/main/java/biz/k11i/xgboost/tree/RegTreeImpl.java", "func_name": "RegTreeImpl.getLeafIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves nodes from root to leaf and returns leaf index.\n\n@param feat feature vector\n@param root_id starting root index\n@return leaf index", "docstring_tokens": ["Retrieves", "nodes", "from", "root", "to", "leaf", "and", "returns", "leaf", "index", "."], "sha": "5db857786c7d07f6d2b050166522e50594b37ee1", "url": "https://github.com/h2oai/xgboost-predictor/blob/5db857786c7d07f6d2b050166522e50594b37ee1/xgboost-predictor/src/main/java/biz/k11i/xgboost/tree/RegTreeImpl.java#L45-L55", "partition": "valid"}
+{"repo": "h2oai/xgboost-predictor", "path": "xgboost-predictor/src/main/java/biz/k11i/xgboost/tree/RegTreeImpl.java", "func_name": "RegTreeImpl.getLeafValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves nodes from root to leaf and returns leaf value.\n\n@param feat feature vector\n@param root_id starting root index\n@return leaf value", "docstring_tokens": ["Retrieves", "nodes", "from", "root", "to", "leaf", "and", "returns", "leaf", "value", "."], "sha": "5db857786c7d07f6d2b050166522e50594b37ee1", "url": "https://github.com/h2oai/xgboost-predictor/blob/5db857786c7d07f6d2b050166522e50594b37ee1/xgboost-predictor/src/main/java/biz/k11i/xgboost/tree/RegTreeImpl.java#L64-L72", "partition": "valid"}
+{"repo": "wnameless/json-flattener", "path": "src/main/java/com/github/wnameless/json/unflattener/JsonUnflattener.java", "func_name": "JsonUnflattener.unflatten", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a JSON string of nested objects by the given flattened JSON string.\n\n@return a JSON string of nested objects", "docstring_tokens": ["Returns", "a", "JSON", "string", "of", "nested", "objects", "by", "the", "given", "flattened", "JSON", "string", "."], "sha": "86dbe3a5711ca7804fecfbbefbc7ea24df7e3ace", "url": "https://github.com/wnameless/json-flattener/blob/86dbe3a5711ca7804fecfbbefbc7ea24df7e3ace/src/main/java/com/github/wnameless/json/unflattener/JsonUnflattener.java#L220-L279", "partition": "valid"}
+{"repo": "wnameless/json-flattener", "path": "src/main/java/com/github/wnameless/json/flattener/JsonFlattener.java", "func_name": "JsonFlattener.flatten", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a flattened JSON string.\n\n@return a flattened JSON string", "docstring_tokens": ["Returns", "a", "flattened", "JSON", "string", "."], "sha": "86dbe3a5711ca7804fecfbbefbc7ea24df7e3ace", "url": "https://github.com/wnameless/json-flattener/blob/86dbe3a5711ca7804fecfbbefbc7ea24df7e3ace/src/main/java/com/github/wnameless/json/flattener/JsonFlattener.java#L249-L256", "partition": "valid"}
+{"repo": "wnameless/json-flattener", "path": "src/main/java/com/github/wnameless/json/flattener/JsonFlattener.java", "func_name": "JsonFlattener.flattenAsMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a flattened JSON as Map.\n\n@return a flattened JSON as Map", "docstring_tokens": ["Returns", "a", "flattened", "JSON", "as", "Map", "."], "sha": "86dbe3a5711ca7804fecfbbefbc7ea24df7e3ace", "url": "https://github.com/wnameless/json-flattener/blob/86dbe3a5711ca7804fecfbbefbc7ea24df7e3ace/src/main/java/com/github/wnameless/json/flattener/JsonFlattener.java#L285-L305", "partition": "valid"}
+{"repo": "TomasMikula/ReactFX", "path": "reactfx/src/main/java/org/reactfx/util/Lists.java", "func_name": "Lists.concatView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a list that is a concatenation of the given lists. The returned\nlist is a view of the underlying lists, without copying the elements.\nThe returned list is unmodifiable. Modifications to underlying lists\nwill be visible through the concatenation view.", "docstring_tokens": ["Returns", "a", "list", "that", "is", "a", "concatenation", "of", "the", "given", "lists", ".", "The", "returned", "list", "is", "a", "view", "of", "the", "underlying", "lists", "without", "copying", "the", "elements", ".", "The", "returned", "list", "is", "unmodifiable", ".", "Modifications", "to", "underlying", "lists", "will", "be", "visible", "through", "the", "concatenation", "view", "."], "sha": "537fffdbb2958a77dfbca08b712bb2192862e960", "url": "https://github.com/TomasMikula/ReactFX/blob/537fffdbb2958a77dfbca08b712bb2192862e960/reactfx/src/main/java/org/reactfx/util/Lists.java#L202-L208", "partition": "valid"}
+{"repo": "TomasMikula/ReactFX", "path": "reactfx/src/main/java/org/reactfx/EventStreams.java", "func_name": "EventStreams.invalidationsOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an event stream that emits an impulse on every invalidation\nof the given observable.", "docstring_tokens": ["Creates", "an", "event", "stream", "that", "emits", "an", "impulse", "on", "every", "invalidation", "of", "the", "given", "observable", "."], "sha": "537fffdbb2958a77dfbca08b712bb2192862e960", "url": "https://github.com/TomasMikula/ReactFX/blob/537fffdbb2958a77dfbca08b712bb2192862e960/reactfx/src/main/java/org/reactfx/EventStreams.java#L63-L72", "partition": "valid"}
+{"repo": "TomasMikula/ReactFX", "path": "reactfx/src/main/java/org/reactfx/EventStreams.java", "func_name": "EventStreams.repeatOnInvalidation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an event stream that emits the given observable immediately for\nevery subscriber and re-emits it on every subsequent invalidation of the\nobservable.", "docstring_tokens": ["Creates", "an", "event", "stream", "that", "emits", "the", "given", "observable", "immediately", "for", "every", "subscriber", "and", "re", "-", "emits", "it", "on", "every", "subsequent", "invalidation", "of", "the", "observable", "."], "sha": "537fffdbb2958a77dfbca08b712bb2192862e960", "url": "https://github.com/TomasMikula/ReactFX/blob/537fffdbb2958a77dfbca08b712bb2192862e960/reactfx/src/main/java/org/reactfx/EventStreams.java#L79-L94", "partition": "valid"}
+{"repo": "TomasMikula/ReactFX", "path": "reactfx/src/main/java/org/reactfx/EventStreams.java", "func_name": "EventStreams.animationFrames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a stream that, on each animation frame, emits the duration\nelapsed since the previous animation frame, in nanoseconds.", "docstring_tokens": ["Returns", "a", "stream", "that", "on", "each", "animation", "frame", "emits", "the", "duration", "elapsed", "since", "the", "previous", "animation", "frame", "in", "nanoseconds", "."], "sha": "537fffdbb2958a77dfbca08b712bb2192862e960", "url": "https://github.com/TomasMikula/ReactFX/blob/537fffdbb2958a77dfbca08b712bb2192862e960/reactfx/src/main/java/org/reactfx/EventStreams.java#L437-L443", "partition": "valid"}
+{"repo": "TomasMikula/ReactFX", "path": "reactfx/src/main/java/org/reactfx/EventStreams.java", "func_name": "EventStreams.merge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an event stream that emits all the events emitted from any of\nthe event streams in the given observable set. When an event stream is\nadded to the set, the returned stream will start emitting its events.\nWhen an event stream is removed from the set, its events will no longer\nbe emitted from the returned stream.", "docstring_tokens": ["Returns", "an", "event", "stream", "that", "emits", "all", "the", "events", "emitted", "from", "any", "of", "the", "event", "streams", "in", "the", "given", "observable", "set", ".", "When", "an", "event", "stream", "is", "added", "to", "the", "set", "the", "returned", "stream", "will", "start", "emitting", "its", "events", ".", "When", "an", "event", "stream", "is", "removed", "from", "the", "set", "its", "events", "will", "no", "longer", "be", "emitted", "from", "the", "returned", "stream", "."], "sha": "537fffdbb2958a77dfbca08b712bb2192862e960", "url": "https://github.com/TomasMikula/ReactFX/blob/537fffdbb2958a77dfbca08b712bb2192862e960/reactfx/src/main/java/org/reactfx/EventStreams.java#L469-L477", "partition": "valid"}
+{"repo": "TomasMikula/ReactFX", "path": "reactfx/src/main/java/org/reactfx/inhibeans/collection/Collections.java", "func_name": "Collections.wrap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates an ObservableList wrapper that is able to temporarily block\nlist change notifications.\n@param delegate the underlying observable list.\n@deprecated Use {@link LiveList#suspendable(javafx.collections.ObservableList)} instead.", "docstring_tokens": ["Creates", "an", "ObservableList", "wrapper", "that", "is", "able", "to", "temporarily", "block", "list", "change", "notifications", "."], "sha": "537fffdbb2958a77dfbca08b712bb2192862e960", "url": "https://github.com/TomasMikula/ReactFX/blob/537fffdbb2958a77dfbca08b712bb2192862e960/reactfx/src/main/java/org/reactfx/inhibeans/collection/Collections.java#L17-L20", "partition": "valid"}
+{"repo": "TomasMikula/ReactFX", "path": "reactfx/src/main/java/org/reactfx/Indicator.java", "func_name": "Indicator.onWhile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Runs the given computation, making sure this indicator is on.\nWhen done, this indicator is reset to the previous state.\n\n
\nT t = indicator.onWhile(f);\n
\n\nis equivalent to\n\n
\nT t;\ntry(Guard g = on()) {\nt = f.get();\n}\n
", "docstring_tokens": ["Runs", "the", "given", "computation", "making", "sure", "this", "indicator", "is", "on", ".", "When", "done", "this", "indicator", "is", "reset", "to", "the", "previous", "state", "."], "sha": "537fffdbb2958a77dfbca08b712bb2192862e960", "url": "https://github.com/TomasMikula/ReactFX/blob/537fffdbb2958a77dfbca08b712bb2192862e960/reactfx/src/main/java/org/reactfx/Indicator.java#L85-L89", "partition": "valid"}
+{"repo": "TomasMikula/ReactFX", "path": "reactfx/src/main/java/org/reactfx/ProxyObservable.java", "func_name": "ProxyObservable.observe", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Overridden to avoid second transformation on removeObserver", "docstring_tokens": ["Overridden", "to", "avoid", "second", "transformation", "on", "removeObserver"], "sha": "537fffdbb2958a77dfbca08b712bb2192862e960", "url": "https://github.com/TomasMikula/ReactFX/blob/537fffdbb2958a77dfbca08b712bb2192862e960/reactfx/src/main/java/org/reactfx/ProxyObservable.java#L56-L61", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "api-servlet/src/main/java/org/ocpsoft/rewrite/servlet/util/Metadata.java", "func_name": "Metadata.copy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a copy of this Metadata", "docstring_tokens": ["Return", "a", "copy", "of", "this", "Metadata"], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/api-servlet/src/main/java/org/ocpsoft/rewrite/servlet/util/Metadata.java#L36-L43", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "annotations-impl/src/main/java/org/ocpsoft/rewrite/annotation/scan/AbstractClassFinder.java", "func_name": "AbstractClassFinder.stripKnownPrefix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Strip everything up to and including a given prefix from a string.\n\n@param str The string to process\n@param prefix The prefix\n@return the stripped string or null if the prefix has not been found", "docstring_tokens": ["Strip", "everything", "up", "to", "and", "including", "a", "given", "prefix", "from", "a", "string", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/annotations-impl/src/main/java/org/ocpsoft/rewrite/annotation/scan/AbstractClassFinder.java#L82-L92", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/DigesterPrettyConfigParser.java", "func_name": "DigesterPrettyConfigParser.configureDigester", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure the digester. Assume that the builder object will be pushed\nafter this method is called.", "docstring_tokens": ["Configure", "the", "digester", ".", "Assume", "that", "the", "builder", "object", "will", "be", "pushed", "after", "this", "method", "is", "called", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/DigesterPrettyConfigParser.java#L76-L136", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/annotation/PrettyAnnotationHandler.java", "func_name": "PrettyAnnotationHandler.processClassMappingAnnotations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks for PrettyFaces mapping annotations on a single class\n\n@param clazz Class to scan\n@return The IDs of the mappings found on the class", "docstring_tokens": ["Checks", "for", "PrettyFaces", "mapping", "annotations", "on", "a", "single", "class"], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/annotation/PrettyAnnotationHandler.java#L141-L175", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/annotation/PrettyAnnotationHandler.java", "func_name": "PrettyAnnotationHandler.join", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Joins the list of values.\n\n@param values values to join\n@param separator the separator to use\n@return joined list of values", "docstring_tokens": ["Joins", "the", "list", "of", "values", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/annotation/PrettyAnnotationHandler.java#L591-L606", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java", "func_name": "UserAgentUtil.initDeviceScan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initialize Key Stored Values.", "docstring_tokens": ["Initialize", "Key", "Stored", "Values", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java#L272-L290", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java", "func_name": "UserAgentUtil.detectIphone", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects if the current device is an iPhone.\n\n@return detection of an iPhone", "docstring_tokens": ["Detects", "if", "the", "current", "device", "is", "an", "iPhone", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java#L297-L310", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java", "func_name": "UserAgentUtil.detectWebkit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects if the current browser is based on WebKit.\n\n@return detection of a WebKit browser", "docstring_tokens": ["Detects", "if", "the", "current", "browser", "is", "based", "on", "WebKit", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java#L468-L478", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java", "func_name": "UserAgentUtil.detectWindowsMobile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects if the current browser is a Windows Mobile device. Excludes Windows Phone 7.x and 8 devices. Focuses on\nWindows Mobile 6.xx and earlier.\n\n@return detection of Windows Mobile", "docstring_tokens": ["Detects", "if", "the", "current", "browser", "is", "a", "Windows", "Mobile", "device", ".", "Excludes", "Windows", "Phone", "7", ".", "x", "and", "8", "devices", ".", "Focuses", "on", "Windows", "Mobile", "6", ".", "xx", "and", "earlier", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java#L525-L548", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java", "func_name": "UserAgentUtil.detectBlackBerry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects if the current browser is any BlackBerry. Includes BB10 OS, but excludes the PlayBook.\n\n@return detection of Blackberry", "docstring_tokens": ["Detects", "if", "the", "current", "browser", "is", "any", "BlackBerry", ".", "Includes", "BB10", "OS", "but", "excludes", "the", "PlayBook", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java#L555-L565", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java", "func_name": "UserAgentUtil.detectS60OssBrowser", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects if the current browser is the Symbian S60 Open Source Browser.\n\n@return detection of Symbian S60 Browser", "docstring_tokens": ["Detects", "if", "the", "current", "browser", "is", "the", "Symbian", "S60", "Open", "Source", "Browser", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java#L680-L689", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java", "func_name": "UserAgentUtil.detectPalmOS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects if the current browser is on a PalmOS device.\n\n@return detection of a PalmOS device", "docstring_tokens": ["Detects", "if", "the", "current", "browser", "is", "on", "a", "PalmOS", "device", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java#L715-L728", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java", "func_name": "UserAgentUtil.detectOperaAndroidPhone", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects Opera Mobile on an Android phone.\n\n@return detection of an Opera browser on an Android phone", "docstring_tokens": ["Detects", "Opera", "Mobile", "on", "an", "Android", "phone", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java#L777-L785", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java", "func_name": "UserAgentUtil.detectOperaAndroidTablet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects Opera Mobile on an Android tablet.\n\n@return detection of an Opera browser on an Android tablet", "docstring_tokens": ["Detects", "Opera", "Mobile", "on", "an", "Android", "tablet", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java#L792-L800", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java", "func_name": "UserAgentUtil.detectMaemoTablet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects if the current device is on one of the Maemo-based Nokia Internet Tablets.\n\n@return detection of a Maemo OS tablet", "docstring_tokens": ["Detects", "if", "the", "current", "device", "is", "on", "one", "of", "the", "Maemo", "-", "based", "Nokia", "Internet", "Tablets", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java#L916-L928", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java", "func_name": "UserAgentUtil.detectMobileQuick", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Detects if the current device is a mobile device. This method catches most of the popular modern devices. Excludes\nApple iPads and other modern tablets.\n\n@return detection of any mobile device using the quicker method", "docstring_tokens": ["Detects", "if", "the", "current", "device", "is", "a", "mobile", "device", ".", "This", "method", "catches", "most", "of", "the", "popular", "modern", "devices", ".", "Excludes", "Apple", "iPads", "and", "other", "modern", "tablets", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java#L1081-L1125", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java", "func_name": "UserAgentUtil.detectTierIphone", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The quick way to detect for a tier of devices. This method detects for devices which can display iPhone-optimized\nweb content. Includes iPhone, iPod Touch, Android, Windows Phone 7 and 8, BB10, WebOS, Playstation Vita, etc.\n\n@return detection of any device in the iPhone/Android/Windows Phone/BlackBerry/WebOS Tier", "docstring_tokens": ["The", "quick", "way", "to", "detect", "for", "a", "tier", "of", "devices", ".", "This", "method", "detects", "for", "devices", "which", "can", "display", "iPhone", "-", "optimized", "web", "content", ".", "Includes", "iPhone", "iPod", "Touch", "Android", "Windows", "Phone", "7", "and", "8", "BB10", "WebOS", "Playstation", "Vita", "etc", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java#L1193-L1212", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java", "func_name": "UserAgentUtil.detectTierOtherPhones", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The quick way to detect for a tier of devices. This method detects for all other types of phones, but excludes the\niPhone and RichCSS Tier devices.\n\n@return detection of a mobile device in the less capable tier", "docstring_tokens": ["The", "quick", "way", "to", "detect", "for", "a", "tier", "of", "devices", ".", "This", "method", "detects", "for", "all", "other", "types", "of", "phones", "but", "excludes", "the", "iPhone", "and", "RichCSS", "Tier", "devices", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/UserAgentUtil.java#L1257-L1270", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/el/Expressions.java", "func_name": "Expressions.isEL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if the value is an EL expression.", "docstring_tokens": ["Return", "true", "if", "the", "value", "is", "an", "EL", "expression", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/el/Expressions.java#L61-L68", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/el/Expressions.java", "func_name": "Expressions.containsEL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return true if the value contains an EL expression.", "docstring_tokens": ["Return", "true", "if", "the", "value", "contains", "an", "EL", "expression", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/el/Expressions.java#L73-L81", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces2/component/LocationBehavior.java", "func_name": "LocationBehavior.buildScriptInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the required script for the supplied URL\n\n@param url The URL\n@return The script", "docstring_tokens": ["Creates", "the", "required", "script", "for", "the", "supplied", "URL"], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces2/component/LocationBehavior.java#L101-L108", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "api-el/src/main/java/org/ocpsoft/rewrite/el/El.java", "func_name": "El.method", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new EL Method binding using distinct expressions to submit and retrieve values. The method intended for\nuse in submission must accept a single parameter of the expected type.", "docstring_tokens": ["Create", "a", "new", "EL", "Method", "binding", "using", "distinct", "expressions", "to", "submit", "and", "retrieve", "values", ".", "The", "method", "intended", "for", "use", "in", "submission", "must", "accept", "a", "single", "parameter", "of", "the", "expected", "type", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/api-el/src/main/java/org/ocpsoft/rewrite/el/El.java#L49-L52", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "annotations-impl/src/main/java/org/ocpsoft/rewrite/annotation/scan/ByteCodeFilter.java", "func_name": "ByteCodeFilter.containsFieldDescriptor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns true if the given string contains a field descriptor of one of the annotations we are looking for.", "docstring_tokens": ["Returns", "true", "if", "the", "given", "string", "contains", "a", "field", "descriptor", "of", "one", "of", "the", "annotations", "we", "are", "looking", "for", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/annotations-impl/src/main/java/org/ocpsoft/rewrite/annotation/scan/ByteCodeFilter.java#L299-L307", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-proxy/src/main/java/org/ocpsoft/rewrite/servlet/config/proxy/ProxyServlet.java", "func_name": "ProxyServlet.copyResponseHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copy proxied response headers back to the servlet client.", "docstring_tokens": ["Copy", "proxied", "response", "headers", "back", "to", "the", "servlet", "client", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-proxy/src/main/java/org/ocpsoft/rewrite/servlet/config/proxy/ProxyServlet.java#L370-L378", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-proxy/src/main/java/org/ocpsoft/rewrite/servlet/config/proxy/ProxyServlet.java", "func_name": "ProxyServlet.encodeUriQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes characters in the query or fragment part of the URI.\n\n
\nUnfortunately, an incoming URI sometimes has characters disallowed by the spec. HttpClient insists that the\noutgoing proxied request has a valid URI because it uses Java's {@link URI}. To be more forgiving, we must escape\nthe problematic characters. See the URI class for the spec.\n\n@param in example: name=value&foo=bar#fragment", "docstring_tokens": ["Encodes", "characters", "in", "the", "query", "or", "fragment", "part", "of", "the", "URI", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-proxy/src/main/java/org/ocpsoft/rewrite/servlet/config/proxy/ProxyServlet.java#L434-L483", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "api-servlet/src/main/java/org/ocpsoft/rewrite/servlet/util/URLBuilder.java", "func_name": "URLBuilder.toURI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a URI representation of this URL including path and query string", "docstring_tokens": ["Return", "a", "URI", "representation", "of", "this", "URL", "including", "path", "and", "query", "string"], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/api-servlet/src/main/java/org/ocpsoft/rewrite/servlet/util/URLBuilder.java#L313-L322", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/url/QueryString.java", "func_name": "QueryString.build", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build a query string from the given URL. If a '?' character is encountered in the URL, the any characters up to\nand including the first '?' will be ignored.", "docstring_tokens": ["Build", "a", "query", "string", "from", "the", "given", "URL", ".", "If", "a", "?", "character", "is", "encountered", "in", "the", "URL", "the", "any", "characters", "up", "to", "and", "including", "the", "first", "?", "will", "be", "ignored", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/url/QueryString.java#L74-L79", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/url/QueryString.java", "func_name": "QueryString.getParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the first value of given parameter name.\n\n@return The value of the parameter, null if the parameter does not exist, or \"\" if the parameter exists but has no\nvalues.", "docstring_tokens": ["Get", "the", "first", "value", "of", "given", "parameter", "name", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/url/QueryString.java#L101-L115", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/url/QueryString.java", "func_name": "QueryString.getParameterValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the array of values for a given parameter name.\n\n@return The values of the parameter, null if the parameter does not exist.", "docstring_tokens": ["Get", "the", "array", "of", "values", "for", "a", "given", "parameter", "name", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/url/QueryString.java#L122-L131", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/url/QueryString.java", "func_name": "QueryString.addParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add parameters from the given URL. If a '?' character is encountered in the URL, the any characters up to and\nincluding the first '?' will be ignored. If a parameter already exists, append new values to the existing list of\nvalues for that parameter.", "docstring_tokens": ["Add", "parameters", "from", "the", "given", "URL", ".", "If", "a", "?", "character", "is", "encountered", "in", "the", "URL", "the", "any", "characters", "up", "to", "and", "including", "the", "first", "?", "will", "be", "ignored", ".", "If", "a", "parameter", "already", "exists", "append", "new", "values", "to", "the", "existing", "list", "of", "values", "for", "that", "parameter", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/url/QueryString.java#L221-L276", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "integration-faces/src/main/java/org/ocpsoft/rewrite/faces/RewriteViewHandler.java", "func_name": "RewriteViewHandler.deriveViewId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Canonicalize the given viewId, then pass that viewId to the next ViewHandler in the chain.", "docstring_tokens": ["Canonicalize", "the", "given", "viewId", "then", "pass", "that", "viewId", "to", "the", "next", "ViewHandler", "in", "the", "chain", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/integration-faces/src/main/java/org/ocpsoft/rewrite/faces/RewriteViewHandler.java#L208-L213", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/mapping/UrlMapping.java", "func_name": "UrlMapping.getPatternParser", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get this patterns pattern parser instance.", "docstring_tokens": ["Get", "this", "patterns", "pattern", "parser", "instance", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/mapping/UrlMapping.java#L54-L61", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/mapping/UrlMapping.java", "func_name": "UrlMapping.getValidatorsForPathParam", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a list of validators that belong to the given parameter.", "docstring_tokens": ["Return", "a", "list", "of", "validators", "that", "belong", "to", "the", "given", "parameter", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/mapping/UrlMapping.java#L66-L77", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "api-servlet/src/main/java/org/ocpsoft/rewrite/servlet/util/QueryStringBuilder.java", "func_name": "QueryStringBuilder.createFromEncoded", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build a query string from the given URL. If a '?' character is encountered in the URL, the any characters up to\nand including the first '?' will be ignored. This method assumes that the given parameters have already been URL\nencoded.", "docstring_tokens": ["Build", "a", "query", "string", "from", "the", "given", "URL", ".", "If", "a", "?", "character", "is", "encountered", "in", "the", "URL", "the", "any", "characters", "up", "to", "and", "including", "the", "first", "?", "will", "be", "ignored", ".", "This", "method", "assumes", "that", "the", "given", "parameters", "have", "already", "been", "URL", "encoded", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/api-servlet/src/main/java/org/ocpsoft/rewrite/servlet/util/QueryStringBuilder.java#L62-L67", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "api-servlet/src/main/java/org/ocpsoft/rewrite/servlet/util/QueryStringBuilder.java", "func_name": "QueryStringBuilder.extractQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the query string portion of the given URL. If no query string separator character '?' can be found, return the\nstring unchanged.", "docstring_tokens": ["Get", "the", "query", "string", "portion", "of", "the", "given", "URL", ".", "If", "no", "query", "string", "separator", "character", "?", "can", "be", "found", "return", "the", "string", "unchanged", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/api-servlet/src/main/java/org/ocpsoft/rewrite/servlet/util/QueryStringBuilder.java#L91-L102", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "api-servlet/src/main/java/org/ocpsoft/rewrite/servlet/util/QueryStringBuilder.java", "func_name": "QueryStringBuilder.addParameter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a single parameter with the given values.", "docstring_tokens": ["Add", "a", "single", "parameter", "with", "the", "given", "values", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/api-servlet/src/main/java/org/ocpsoft/rewrite/servlet/util/QueryStringBuilder.java#L174-L179", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/DispatchType.java", "func_name": "DispatchType.getDispatcherTypeProviders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Simple caching mechanism for the providers on a per request basis", "docstring_tokens": ["Simple", "caching", "mechanism", "for", "the", "providers", "on", "a", "per", "request", "basis"], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/DispatchType.java#L76-L87", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "api/src/main/java/org/ocpsoft/rewrite/config/Conditions.java", "func_name": "Conditions.getNegationCount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the number of \"Not\"s that have been evaluated in the current evaluation process.\n\nFor example, when(Not.any(MyCondition)) would have a \"NotCount\" of \"1\" during the evaluation of \"MyCondition\".\n\nwhen(Not.any(Not.any(MyCondition))) would have a \"NotCount\" of \"2\" during the evaluation of \"MyCondition\".\n\nThis is useful for conditions that may have side effects, as they will know whether or not their condition is being\nnegated.", "docstring_tokens": ["Returns", "the", "number", "of", "Not", "s", "that", "have", "been", "evaluated", "in", "the", "current", "evaluation", "process", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/api/src/main/java/org/ocpsoft/rewrite/config/Conditions.java#L67-L74", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "integration-faces/src/main/java/org/ocpsoft/rewrite/faces/navigate/Navigate.java", "func_name": "Navigate.with", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a query parameter to be passed to the specified View Id.\n\n@param The query parameter name.\n@param The query parameter value.", "docstring_tokens": ["Set", "a", "query", "parameter", "to", "be", "passed", "to", "the", "specified", "View", "Id", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/integration-faces/src/main/java/org/ocpsoft/rewrite/faces/navigate/Navigate.java#L93-L100", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "integration-faces/src/main/java/org/ocpsoft/rewrite/faces/navigate/Navigate.java", "func_name": "Navigate.buildStandardOutcome", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds a standard JSF 2.0 implicit navigation outcome", "docstring_tokens": ["Builds", "a", "standard", "JSF", "2", ".", "0", "implicit", "navigation", "outcome"], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/integration-faces/src/main/java/org/ocpsoft/rewrite/faces/navigate/Navigate.java#L141-L164", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "annotations-impl/src/main/java/org/ocpsoft/rewrite/annotation/scan/WebClassesFinder.java", "func_name": "WebClassesFinder.handleClassEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handles class entry in a WEB-INF.", "docstring_tokens": ["Handles", "class", "entry", "in", "a", "WEB", "-", "INF", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/annotations-impl/src/main/java/org/ocpsoft/rewrite/annotation/scan/WebClassesFinder.java#L151-L207", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "addressbuilder/src/main/java/org/ocpsoft/urlbuilder/AddressBuilder.java", "func_name": "AddressBuilder.queryLiteral", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set a literal query string without additional encoding or decoding. A leading '?' character is optional; the\nbuilder will add one if necessary.", "docstring_tokens": ["Set", "a", "literal", "query", "string", "without", "additional", "encoding", "or", "decoding", ".", "A", "leading", "?", "character", "is", "optional", ";", "the", "builder", "will", "add", "one", "if", "necessary", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/addressbuilder/src/main/java/org/ocpsoft/urlbuilder/AddressBuilder.java#L236-L292", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/EncodeQuery.java", "func_name": "EncodeQuery.excluding", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Exclude the given query-parameter names from encoding.", "docstring_tokens": ["Exclude", "the", "given", "query", "-", "parameter", "names", "from", "encoding", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/EncodeQuery.java#L86-L91", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/beans/ExtractedValuesURLBuilder.java", "func_name": "ExtractedValuesURLBuilder.buildURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For all required values of the given PrettyUrlMapping, extract values from their mapped backing beans and create a\nURL based on the url-pattern.\n\n@param mapping Mapping for which to extract values and generate URL\n@return The fully constructed URL", "docstring_tokens": ["For", "all", "required", "values", "of", "the", "given", "PrettyUrlMapping", "extract", "values", "from", "their", "mapped", "backing", "beans", "and", "create", "a", "URL", "based", "on", "the", "url", "-", "pattern", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/beans/ExtractedValuesURLBuilder.java#L49-L99", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/PrettyContext.java", "func_name": "PrettyContext.sendError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends an error response to the client using the specified HTTP status\ncode.\n\n@param code the error status code\n@param message the descriptive message\n@param response\n@see HttpServletResponse#sendError(int, String)", "docstring_tokens": ["Sends", "an", "error", "response", "to", "the", "client", "using", "the", "specified", "HTTP", "status", "code", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/PrettyContext.java#L400-L418", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "annotations-impl/src/main/java/org/ocpsoft/rewrite/annotation/ClassVisitorImpl.java", "func_name": "ClassVisitorImpl.visit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Processes the annotation on the supplied class.", "docstring_tokens": ["Processes", "the", "annotation", "on", "the", "supplied", "class", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/annotations-impl/src/main/java/org/ocpsoft/rewrite/annotation/ClassVisitorImpl.java#L75-L123", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "integration-faces/src/main/java/org/ocpsoft/rewrite/faces/RewriteNavigationHandler.java", "func_name": "RewriteNavigationHandler.prependContextPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the context path to the given context-relative URL.", "docstring_tokens": ["Adds", "the", "context", "path", "to", "the", "given", "context", "-", "relative", "URL", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/integration-faces/src/main/java/org/ocpsoft/rewrite/faces/RewriteNavigationHandler.java#L168-L175", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/org/ocpsoft/rewrite/prettyfaces/OutboundRewriteRuleAdaptor.java", "func_name": "OutboundRewriteRuleAdaptor.stripContextPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If the given URL is prefixed with this request's context-path, return the URI without the context path. Otherwise\nreturn the URI unchanged.", "docstring_tokens": ["If", "the", "given", "URL", "is", "prefixed", "with", "this", "request", "s", "context", "-", "path", "return", "the", "URI", "without", "the", "context", "path", ".", "Otherwise", "return", "the", "URI", "unchanged", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/org/ocpsoft/rewrite/prettyfaces/OutboundRewriteRuleAdaptor.java#L53-L60", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "api/src/main/java/org/ocpsoft/rewrite/transposition/LocaleTransposition.java", "func_name": "LocaleTransposition.translate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Translate a value into the matching one from a resource bundle in specified language.\n\n@param lang\n@param value\n@return translated value or null if no bundle can be found for the specified language or no entries in the bundle\nmatch the given value.", "docstring_tokens": ["Translate", "a", "value", "into", "the", "matching", "one", "from", "a", "resource", "bundle", "in", "specified", "language", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/api/src/main/java/org/ocpsoft/rewrite/transposition/LocaleTransposition.java#L77-L109", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/dynaview/DynaviewEngine.java", "func_name": "DynaviewEngine.buildDynaViewId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given the string value of the Faces Servlet mapping, return a string that is guaranteed to match when a servlet\nforward is issued. It doesn't matter which FacesServlet we get to, as long as we get to one.", "docstring_tokens": ["Given", "the", "string", "value", "of", "the", "Faces", "Servlet", "mapping", "return", "a", "string", "that", "is", "guaranteed", "to", "match", "when", "a", "servlet", "forward", "is", "issued", ".", "It", "doesn", "t", "matter", "which", "FacesServlet", "we", "get", "to", "as", "long", "as", "we", "get", "to", "one", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/dynaview/DynaviewEngine.java#L47-L82", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/dynaview/DynaviewEngine.java", "func_name": "DynaviewEngine.processDynaView", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle DynaView processing. This method will end the Faces life-cycle.", "docstring_tokens": ["Handle", "DynaView", "processing", ".", "This", "method", "will", "end", "the", "Faces", "life", "-", "cycle", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/config-prettyfaces/src/main/java/com/ocpsoft/pretty/faces/config/dynaview/DynaviewEngine.java#L87-L112", "partition": "valid"}
+{"repo": "ocpsoft/rewrite", "path": "integration-cdi/src/main/java/org/ocpsoft/rewrite/cdi/CdiServiceLocator.java", "func_name": "CdiServiceLocator.getRequiredType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds the correct \"required type\" including actual type arguments in case of parameterized types.\n\n@see https://github.com/ocpsoft/rewrite/issues/137", "docstring_tokens": ["Builds", "the", "correct", "required", "type", "including", "actual", "type", "arguments", "in", "case", "of", "parameterized", "types", "."], "sha": "eded0bad0101d119a3a1e67ed3f97a3bc9a8222e", "url": "https://github.com/ocpsoft/rewrite/blob/eded0bad0101d119a3a1e67ed3f97a3bc9a8222e/integration-cdi/src/main/java/org/ocpsoft/rewrite/cdi/CdiServiceLocator.java#L73-L90", "partition": "valid"}
+{"repo": "ehcache/sizeof", "path": "src/main/java/org/ehcache/sizeof/annotations/AnnotationProxyFactory.java", "func_name": "AnnotationProxyFactory.getAnnotationProxy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a proxy on the customAnnotation, having the same type than the referenceAnnotation\n\n@param customAnnotation annotation proxied\n@param referenceAnnotation type of the returned annotation\n@return proxied customAnnotation with the type of referenceAnnotation", "docstring_tokens": ["Returns", "a", "proxy", "on", "the", "customAnnotation", "having", "the", "same", "type", "than", "the", "referenceAnnotation"], "sha": "481bf8f991caa62771d4e04c864cdcc775cf41e0", "url": "https://github.com/ehcache/sizeof/blob/481bf8f991caa62771d4e04c864cdcc775cf41e0/src/main/java/org/ehcache/sizeof/annotations/AnnotationProxyFactory.java#L57-L61", "partition": "valid"}
+{"repo": "ehcache/sizeof", "path": "src/main/java/org/ehcache/sizeof/ObjectGraphWalker.java", "func_name": "ObjectGraphWalker.getFilteredFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the filtered fields for a particular type\n\n@param refClass the type\n@return A collection of fields to be visited", "docstring_tokens": ["Returns", "the", "filtered", "fields", "for", "a", "particular", "type"], "sha": "481bf8f991caa62771d4e04c864cdcc775cf41e0", "url": "https://github.com/ehcache/sizeof/blob/481bf8f991caa62771d4e04c864cdcc775cf41e0/src/main/java/org/ehcache/sizeof/ObjectGraphWalker.java#L213-L231", "partition": "valid"}
+{"repo": "ehcache/sizeof", "path": "src/main/java/org/ehcache/sizeof/ObjectGraphWalker.java", "func_name": "ObjectGraphWalker.getAllFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all non-primitive fields for the entire class hierarchy of a type\n\n@param refClass the type\n@return all fields for that type", "docstring_tokens": ["Returns", "all", "non", "-", "primitive", "fields", "for", "the", "entire", "class", "hierarchy", "of", "a", "type"], "sha": "481bf8f991caa62771d4e04c864cdcc775cf41e0", "url": "https://github.com/ehcache/sizeof/blob/481bf8f991caa62771d4e04c864cdcc775cf41e0/src/main/java/org/ehcache/sizeof/ObjectGraphWalker.java#L254-L272", "partition": "valid"}
+{"repo": "ehcache/sizeof", "path": "src/main/java/org/ehcache/sizeof/util/WeakIdentityConcurrentMap.java", "func_name": "WeakIdentityConcurrentMap.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Puts into the underlying\n\n@param key key with which the specified value is to be associated\n@param value value to be associated with the specified key\n@return the previous value associated with key, or\nnull if there was no mapping for key.\n(A null return can also indicate that the map\npreviously associated null with key,\nif the implementation supports null values.)", "docstring_tokens": ["Puts", "into", "the", "underlying"], "sha": "481bf8f991caa62771d4e04c864cdcc775cf41e0", "url": "https://github.com/ehcache/sizeof/blob/481bf8f991caa62771d4e04c864cdcc775cf41e0/src/main/java/org/ehcache/sizeof/util/WeakIdentityConcurrentMap.java#L67-L70", "partition": "valid"}
+{"repo": "ehcache/sizeof", "path": "src/main/java/org/ehcache/sizeof/util/WeakIdentityConcurrentMap.java", "func_name": "WeakIdentityConcurrentMap.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove from the underlying\n\n@param key key whose mapping is to be removed from the map\n@return the previous value associated with key, or\nnull if there was no mapping for key.", "docstring_tokens": ["Remove", "from", "the", "underlying"], "sha": "481bf8f991caa62771d4e04c864cdcc775cf41e0", "url": "https://github.com/ehcache/sizeof/blob/481bf8f991caa62771d4e04c864cdcc775cf41e0/src/main/java/org/ehcache/sizeof/util/WeakIdentityConcurrentMap.java#L79-L82", "partition": "valid"}
+{"repo": "ehcache/sizeof", "path": "src/main/java/org/ehcache/sizeof/impl/AgentLoader.java", "func_name": "AgentLoader.loadAgent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempts to load the agent through the Attach API\n\n@return true if agent was loaded (which could have happened thought the -javaagent switch)", "docstring_tokens": ["Attempts", "to", "load", "the", "agent", "through", "the", "Attach", "API"], "sha": "481bf8f991caa62771d4e04c864cdcc775cf41e0", "url": "https://github.com/ehcache/sizeof/blob/481bf8f991caa62771d4e04c864cdcc775cf41e0/src/main/java/org/ehcache/sizeof/impl/AgentLoader.java#L126-L156", "partition": "valid"}
+{"repo": "ehcache/sizeof", "path": "src/main/java/org/ehcache/sizeof/impl/AgentLoader.java", "func_name": "AgentLoader.agentIsAvailable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether the agent is available\n\n@return true if available", "docstring_tokens": ["Checks", "whether", "the", "agent", "is", "available"], "sha": "481bf8f991caa62771d4e04c864cdcc775cf41e0", "url": "https://github.com/ehcache/sizeof/blob/481bf8f991caa62771d4e04c864cdcc775cf41e0/src/main/java/org/ehcache/sizeof/impl/AgentLoader.java#L199-L220", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/util/ResourceUtils.java", "func_name": "ResourceUtils.copyFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies the sources contents to the given destination file.", "docstring_tokens": ["Copies", "the", "sources", "contents", "to", "the", "given", "destination", "file", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/util/ResourceUtils.java#L77-L93", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/util/ResourceUtils.java", "func_name": "ResourceUtils.isSame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks, whether the resource and the file are identical.", "docstring_tokens": ["Checks", "whether", "the", "resource", "and", "the", "file", "are", "identical", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/util/ResourceUtils.java#L117-L125", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/war/WarArchiver.java", "func_name": "WarArchiver.addWebinf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "files to add under WEB-INF;", "docstring_tokens": ["files", "to", "add", "under", "WEB", "-", "INF", ";"], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/war/WarArchiver.java#L146-L150", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/war/WarArchiver.java", "func_name": "WarArchiver.initZipOutputStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "override of parent; validates configuration\nbefore initializing the output stream.", "docstring_tokens": ["override", "of", "parent", ";", "validates", "configuration", "before", "initializing", "the", "output", "stream", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/war/WarArchiver.java#L156-L165", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/war/WarArchiver.java", "func_name": "WarArchiver.zipFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Overridden from ZipArchiver class to deal with web.xml", "docstring_tokens": ["Overridden", "from", "ZipArchiver", "class", "to", "deal", "with", "web", ".", "xml"], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/war/WarArchiver.java#L170-L198", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/jar/Manifest.java", "func_name": "Manifest.getDefaultManifest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Construct a manifest from Ant's default manifest file.\n\n@return the default manifest.\n@throws ArchiverException if there is a problem loading the\ndefault manifest", "docstring_tokens": ["Construct", "a", "manifest", "from", "Ant", "s", "default", "manifest", "file", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/jar/Manifest.java#L739-L774", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/jar/Manifest.java", "func_name": "Manifest.addConfiguredSection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a section to the manifest\n\n@param section the manifest section to be added\n@throws ManifestException if the secti0on is not valid.", "docstring_tokens": ["Add", "a", "section", "to", "the", "manifest"], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/jar/Manifest.java#L817-L832", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/jar/Manifest.java", "func_name": "Manifest.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the manifest out to a print writer.\n\n@param writer the Writer to which the manifest is written\n@throws IOException if the manifest cannot be written", "docstring_tokens": ["Write", "the", "manifest", "out", "to", "a", "print", "writer", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/jar/Manifest.java#L863-L872", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/jar/Manifest.java", "func_name": "Manifest.getWarnings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the warnings for this manifest.\n\n@return an enumeration of warning strings", "docstring_tokens": ["Get", "the", "warnings", "for", "this", "manifest", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/jar/Manifest.java#L899-L910", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/jar/Manifest.java", "func_name": "Manifest.getSection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a particular section from the manifest\n\n@param name the name of the section desired.\n@return the specified section or null if that section\ndoes not exist in the manifest", "docstring_tokens": ["Get", "a", "particular", "section", "from", "the", "manifest"], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/jar/Manifest.java#L942-L950", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/dir/DirectoryArchiver.java", "func_name": "DirectoryArchiver.copyFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies the specified file to the specified path, creating any ancestor directory structure as necessary.\n\n@param file\nThe file to copy (IOException will be thrown if this does not exist)\n@param vPath\nThe fully qualified path to copy the file to.\n@throws ArchiverException\nIf there is a problem creating the directory structure\n@throws IOException\nIf there is a problem copying the file", "docstring_tokens": ["Copies", "the", "specified", "file", "to", "the", "specified", "path", "creating", "any", "ancestor", "directory", "structure", "as", "necessary", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/dir/DirectoryArchiver.java#L104-L162", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java", "func_name": "JarArchiver.addConfiguredManifest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Allows the manifest for the archive file to be provided inline\nin the build file rather than in an external file.\n\n@param newManifest The new manifest\n@throws ManifestException .", "docstring_tokens": ["Allows", "the", "manifest", "for", "the", "archive", "file", "to", "be", "provided", "inline", "in", "the", "build", "file", "rather", "than", "in", "an", "external", "file", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java#L182-L194", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java", "func_name": "JarArchiver.zipFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Overridden from Zip class to deal with manifests and index lists.", "docstring_tokens": ["Overridden", "from", "Zip", "class", "to", "deal", "with", "manifests", "and", "index", "lists", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java#L458-L482", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java", "func_name": "JarArchiver.cleanUp", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make sure we don't think we already have a MANIFEST next time this task\ngets executed.\n\n@see ZipArchiver#cleanUp", "docstring_tokens": ["Make", "sure", "we", "don", "t", "think", "we", "already", "have", "a", "MANIFEST", "next", "time", "this", "task", "gets", "executed", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java#L574-L588", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java", "func_name": "JarArchiver.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "reset to default values.\n\n@see ZipArchiver#reset", "docstring_tokens": ["reset", "to", "default", "values", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java#L595-L603", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java", "func_name": "JarArchiver.writeIndexLikeList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the directory entries from the first and the filenames\nfrom the second list to the given writer, one entry per line.\n\n@param dirs The directories\n@param files The files\n@param writer The printwriter ;)", "docstring_tokens": ["Writes", "the", "directory", "entries", "from", "the", "first", "and", "the", "filenames", "from", "the", "second", "list", "to", "the", "given", "writer", "one", "entry", "per", "line", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java#L618-L655", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java", "func_name": "JarArchiver.grabFilesAndDirs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Grab lists of all root-level files and all directories\ncontained in the given archive.\n\n@param file .\n@param files .\n@param dirs .\n@throws java.io.IOException .", "docstring_tokens": ["Grab", "lists", "of", "all", "root", "-", "level", "files", "and", "all", "directories", "contained", "in", "the", "given", "archive", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/jar/JarArchiver.java#L731-L789", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/tar/TarUnArchiver.java", "func_name": "TarUnArchiver.decompress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method wraps the input stream with the\ncorresponding decompression method\n\n@param file provides location information for BuildException\n@param istream input stream\n@return input stream with on-the-fly decompression\n@throws IOException thrown by GZIPInputStream constructor", "docstring_tokens": ["This", "method", "wraps", "the", "input", "stream", "with", "the", "corresponding", "decompression", "method"], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/tar/TarUnArchiver.java#L137-L153", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/gzip/GZipCompressor.java", "func_name": "GZipCompressor.compress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "perform the GZip compression operation.", "docstring_tokens": ["perform", "the", "GZip", "compression", "operation", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/gzip/GZipCompressor.java#L40-L53", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/jar/JdkManifestFactory.java", "func_name": "JdkManifestFactory.mergeAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Merge in another section\n\n@param target The target manifest of the merge\n@param section the section to be merged with this one.", "docstring_tokens": ["Merge", "in", "another", "section"], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/jar/JdkManifestFactory.java#L103-L112", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/ear/EarArchiver.java", "func_name": "EarArchiver.setAppxml", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "File to incorporate as application.xml.", "docstring_tokens": ["File", "to", "incorporate", "as", "application", ".", "xml", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/ear/EarArchiver.java#L52-L62", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/ear/EarArchiver.java", "func_name": "EarArchiver.addArchive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds archive.", "docstring_tokens": ["Adds", "archive", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/ear/EarArchiver.java#L67-L71", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/ear/EarArchiver.java", "func_name": "EarArchiver.addArchives", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds archives.", "docstring_tokens": ["Adds", "archives", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/ear/EarArchiver.java#L76-L80", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/snappy/SnappyCompressor.java", "func_name": "SnappyCompressor.compress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "perform the Snappy compression operation.", "docstring_tokens": ["perform", "the", "Snappy", "compression", "operation", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/snappy/SnappyCompressor.java#L41-L54", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java", "func_name": "AbstractZipArchiver.addResources", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the given resources.\n\n@param resources the resources to add\n@param zOut the stream to write to", "docstring_tokens": ["Add", "the", "given", "resources", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java#L361-L394", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java", "func_name": "AbstractZipArchiver.addParentDirs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensure all parent dirs of a given entry have been added.\n\nThis method is computed in terms of the potentially remapped entry (that may be disconnected from the file system)\nwe do not *relly* know the entry's connection to the file system so establishing the attributes of the parents can\nbe impossible and is not really supported.", "docstring_tokens": ["Ensure", "all", "parent", "dirs", "of", "a", "given", "entry", "have", "been", "added", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java#L404-L447", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java", "func_name": "AbstractZipArchiver.zipFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new entry to the archive, takes care of duplicates as well.\n\n@param in the stream to read data for the entry from.\n@param zOut the stream to write to.\n@param vPath the name this entry shall have in the archive.\n@param lastModified last modification time for the entry.\n@param fromArchive the original archive we are copying this\n@param symlinkDestination", "docstring_tokens": ["Adds", "a", "new", "entry", "to", "the", "archive", "takes", "care", "of", "duplicates", "as", "well", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java#L504-L570", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java", "func_name": "AbstractZipArchiver.createEmptyZip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an empty zip file\n\n@param zipFile The file\n@return true for historic reasons", "docstring_tokens": ["Create", "an", "empty", "zip", "file"], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java#L703-L733", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java", "func_name": "AbstractZipArchiver.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes this instance reset all attributes to their default\nvalues and forget all children.\n\n@see #cleanUp", "docstring_tokens": ["Makes", "this", "instance", "reset", "all", "attributes", "to", "their", "default", "values", "and", "forget", "all", "children", "."], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java#L769-L778", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/util/Compressor.java", "func_name": "Compressor.compressFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "compress a stream to an output stream\n\n@param in\n@param zOut\n@throws IOException", "docstring_tokens": ["compress", "a", "stream", "to", "an", "output", "stream"], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/util/Compressor.java#L82-L93", "partition": "valid"}
+{"repo": "sonatype/plexus-archiver", "path": "src/main/java/org/codehaus/plexus/archiver/util/Compressor.java", "func_name": "Compressor.compress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "compress a resource to an output stream", "docstring_tokens": ["compress", "a", "resource", "to", "an", "output", "stream"], "sha": "b174ef5d935c94fe58da2b48913fde1f2b972a97", "url": "https://github.com/sonatype/plexus-archiver/blob/b174ef5d935c94fe58da2b48913fde1f2b972a97/src/main/java/org/codehaus/plexus/archiver/util/Compressor.java#L98-L110", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/Decoder.java", "func_name": "Decoder.setMaxHeaderTableSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the maximum table size.\nIf this is below the maximum size of the dynamic table used by the encoder,\nthe beginning of the next header block MUST signal this change.", "docstring_tokens": ["Set", "the", "maximum", "table", "size", ".", "If", "this", "is", "below", "the", "maximum", "size", "of", "the", "dynamic", "table", "used", "by", "the", "encoder", "the", "beginning", "of", "the", "next", "header", "block", "MUST", "signal", "this", "change", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/Decoder.java#L400-L408", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/Decoder.java", "func_name": "Decoder.decodeULE128", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Unsigned Little Endian Base 128 Variable-Length Integer Encoding", "docstring_tokens": ["Unsigned", "Little", "Endian", "Base", "128", "Variable", "-", "Length", "Integer", "Encoding"], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/Decoder.java#L531-L555", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/StaticTable.java", "func_name": "StaticTable.getIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the lowest index value for the given header field name in the static table.\nReturns -1 if the header field name is not in the static table.", "docstring_tokens": ["Returns", "the", "lowest", "index", "value", "for", "the", "given", "header", "field", "name", "in", "the", "static", "table", ".", "Returns", "-", "1", "if", "the", "header", "field", "name", "is", "not", "in", "the", "static", "table", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/StaticTable.java#L113-L120", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/StaticTable.java", "func_name": "StaticTable.getIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the index value for the given header field in the static table.\nReturns -1 if the header field is not in the static table.", "docstring_tokens": ["Returns", "the", "index", "value", "for", "the", "given", "header", "field", "in", "the", "static", "table", ".", "Returns", "-", "1", "if", "the", "header", "field", "is", "not", "in", "the", "static", "table", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/StaticTable.java#L126-L145", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/StaticTable.java", "func_name": "StaticTable.createMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "create a map of header name to index value to allow quick lookup", "docstring_tokens": ["create", "a", "map", "of", "header", "name", "to", "index", "value", "to", "allow", "quick", "lookup"], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/StaticTable.java#L148-L159", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/HuffmanEncoder.java", "func_name": "HuffmanEncoder.getEncodedLength", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the number of bytes required to Huffman encode the input string literal.\n@param data the string literal to be Huffman encoded\n@return the number of bytes required to Huffman encode data", "docstring_tokens": ["Returns", "the", "number", "of", "bytes", "required", "to", "Huffman", "encode", "the", "input", "string", "literal", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/HuffmanEncoder.java#L98-L107", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/DynamicTable.java", "func_name": "DynamicTable.length", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the number of header fields in the dynamic table.", "docstring_tokens": ["Return", "the", "number", "of", "header", "fields", "in", "the", "dynamic", "table", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/DynamicTable.java#L39-L47", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/DynamicTable.java", "func_name": "DynamicTable.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the header field to the dynamic table.\nEntries are evicted from the dynamic table until the size of the table\nand the new header field is less than or equal to the table's capacity.\nIf the size of the new entry is larger than the table's capacity,\nthe dynamic table will be cleared.", "docstring_tokens": ["Add", "the", "header", "field", "to", "the", "dynamic", "table", ".", "Entries", "are", "evicted", "from", "the", "dynamic", "table", "until", "the", "size", "of", "the", "table", "and", "the", "new", "header", "field", "is", "less", "than", "or", "equal", "to", "the", "table", "s", "capacity", ".", "If", "the", "size", "of", "the", "new", "entry", "is", "larger", "than", "the", "table", "s", "capacity", "the", "dynamic", "table", "will", "be", "cleared", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/DynamicTable.java#L88-L102", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/DynamicTable.java", "func_name": "DynamicTable.setCapacity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the maximum size of the dynamic table.\nEntries are evicted from the dynamic table until the size of the table\nis less than or equal to the maximum size.", "docstring_tokens": ["Set", "the", "maximum", "size", "of", "the", "dynamic", "table", ".", "Entries", "are", "evicted", "from", "the", "dynamic", "table", "until", "the", "size", "of", "the", "table", "is", "less", "than", "or", "equal", "to", "the", "maximum", "size", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/DynamicTable.java#L140-L186", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/Encoder.java", "func_name": "Encoder.encodeHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encode the header field into the header block.", "docstring_tokens": ["Encode", "the", "header", "field", "into", "the", "header", "block", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/Encoder.java#L69-L121", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/Encoder.java", "func_name": "Encoder.setMaxHeaderTableSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the maximum table size.", "docstring_tokens": ["Set", "the", "maximum", "table", "size", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/Encoder.java#L126-L136", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/Encoder.java", "func_name": "Encoder.encodeInteger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encode integer according to Section 5.1.", "docstring_tokens": ["Encode", "integer", "according", "to", "Section", "5", ".", "1", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/Encoder.java#L148-L168", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/Encoder.java", "func_name": "Encoder.encodeStringLiteral", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encode string literal according to Section 5.2.", "docstring_tokens": ["Encode", "string", "literal", "according", "to", "Section", "5", ".", "2", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/Encoder.java#L173-L182", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/Encoder.java", "func_name": "Encoder.encodeLiteral", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encode literal header field according to Section 6.2.", "docstring_tokens": ["Encode", "literal", "header", "field", "according", "to", "Section", "6", ".", "2", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/Encoder.java#L187-L212", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/Encoder.java", "func_name": "Encoder.ensureCapacity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensure that the dynamic table has enough room to hold 'headerSize' more bytes.\nRemoves the oldest entry from the dynamic table until sufficient space is available.", "docstring_tokens": ["Ensure", "that", "the", "dynamic", "table", "has", "enough", "room", "to", "hold", "headerSize", "more", "bytes", ".", "Removes", "the", "oldest", "entry", "from", "the", "dynamic", "table", "until", "sufficient", "space", "is", "available", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/Encoder.java#L229-L237", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/Encoder.java", "func_name": "Encoder.getHeaderField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the header field at the given index.\nExposed for testing.", "docstring_tokens": ["Return", "the", "header", "field", "at", "the", "given", "index", ".", "Exposed", "for", "testing", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/Encoder.java#L259-L265", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/Encoder.java", "func_name": "Encoder.getEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the header entry with the lowest index value for the header field.\nReturns null if header field is not in the dynamic table.", "docstring_tokens": ["Returns", "the", "header", "entry", "with", "the", "lowest", "index", "value", "for", "the", "header", "field", ".", "Returns", "null", "if", "header", "field", "is", "not", "in", "the", "dynamic", "table", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/Encoder.java#L271-L285", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/Encoder.java", "func_name": "Encoder.getIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the lowest index value for the header field name in the dynamic table.\nReturns -1 if the header field name is not in the dynamic table.", "docstring_tokens": ["Returns", "the", "lowest", "index", "value", "for", "the", "header", "field", "name", "in", "the", "dynamic", "table", ".", "Returns", "-", "1", "if", "the", "header", "field", "name", "is", "not", "in", "the", "dynamic", "table", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/Encoder.java#L291-L305", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/Encoder.java", "func_name": "Encoder.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the header field to the dynamic table.\nEntries are evicted from the dynamic table until the size of the table\nand the new header field is less than the table's capacity.\nIf the size of the new entry is larger than the table's capacity,\nthe dynamic table will be cleared.", "docstring_tokens": ["Add", "the", "header", "field", "to", "the", "dynamic", "table", ".", "Entries", "are", "evicted", "from", "the", "dynamic", "table", "until", "the", "size", "of", "the", "table", "and", "the", "new", "header", "field", "is", "less", "than", "the", "table", "s", "capacity", ".", "If", "the", "size", "of", "the", "new", "entry", "is", "larger", "than", "the", "table", "s", "capacity", "the", "dynamic", "table", "will", "be", "cleared", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/Encoder.java#L324-L349", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/Encoder.java", "func_name": "Encoder.hash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the hash code for the given header field name.", "docstring_tokens": ["Returns", "the", "hash", "code", "for", "the", "given", "header", "field", "name", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/Encoder.java#L393-L405", "partition": "valid"}
+{"repo": "twitter/hpack", "path": "hpack/src/main/java/com/twitter/hpack/HuffmanDecoder.java", "func_name": "HuffmanDecoder.decode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decompresses the given Huffman coded string literal.\n@param buf the string literal to be decoded\n@return the output stream for the compressed data\n@throws IOException if an I/O error occurs. In particular,\nan IOException may be thrown if the\noutput stream has been closed.", "docstring_tokens": ["Decompresses", "the", "given", "Huffman", "coded", "string", "literal", "."], "sha": "d58ac0c4dff6a228c4f93a8b31587392918a7a8e", "url": "https://github.com/twitter/hpack/blob/d58ac0c4dff6a228c4f93a8b31587392918a7a8e/hpack/src/main/java/com/twitter/hpack/HuffmanDecoder.java#L48-L93", "partition": "valid"}
+{"repo": "bazhenov/groovy-shell-server", "path": "groovy-shell-server/src/main/java/me/bazhenov/groovysh/spring/GroovyShellServiceBean.java", "func_name": "GroovyShellServiceBean.setDefaultScriptNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the comma delimited list of default scripts\n\n@param scriptNames script names", "docstring_tokens": ["Set", "the", "comma", "delimited", "list", "of", "default", "scripts"], "sha": "678ebb8c6b2f8bd6583346321a4c250692fcd714", "url": "https://github.com/bazhenov/groovy-shell-server/blob/678ebb8c6b2f8bd6583346321a4c250692fcd714/groovy-shell-server/src/main/java/me/bazhenov/groovysh/spring/GroovyShellServiceBean.java#L75-L78", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Shorts.java", "func_name": "Shorts.assertEqualTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that two shorts are equal.\n\n@param description the description of the actual value.\n@param actual the actual value.\n@param expected the expected value.", "docstring_tokens": ["Verifies", "that", "two", "shorts", "are", "equal", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Shorts.java#L63-L68", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Shorts.java", "func_name": "Shorts.assertNotEqualTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that two integers are not equal.\n\n@param description the description of the actual value.\n@param actual the actual value.\n@param expected the expected value.", "docstring_tokens": ["Verifies", "that", "two", "integers", "are", "not", "equal", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Shorts.java#L77-L82", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Shorts.java", "func_name": "Shorts.assertGreaterThan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the actual value is greater than the expected one.\n\n@param description the description of the actual value.\n@param actual the actual value.\n@param expected the expected value.", "docstring_tokens": ["Verifies", "that", "the", "actual", "value", "is", "greater", "than", "the", "expected", "one", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Shorts.java#L91-L96", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Floats.java", "func_name": "Floats.assertGreaterThan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the actual value is great than the expected one.\n\n@param description the description of the actual value.\n@param actual the actual value.\n@param expected the expected value.", "docstring_tokens": ["Verifies", "that", "the", "actual", "value", "is", "great", "than", "the", "expected", "one", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Floats.java#L126-L131", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Characters.java", "func_name": "Characters.assertEqual", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that two characters are equal.\n\n@param description contains information about the assertion.\n@param actual the actual value.\n@param expected the expected value.\n@throws AssertionError if the actual value is {@code null}.\n@throws AssertionError if the actual value is not equal to the expected one. This method will throw a\n{@code org.junit.ComparisonFailure} instead if JUnit is in the classpath and the expected and actual\nvalues are not equal.", "docstring_tokens": ["Asserts", "that", "two", "characters", "are", "equal", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Characters.java#L69-L74", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Characters.java", "func_name": "Characters.assertNotEqual", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that two characters are not equal.\n\n@param description contains information about the assertion.\n@param actual the actual value.\n@param other the value to compare the actual value to.\n@throws AssertionError if the actual value is {@code null}.\n@throws AssertionError if the actual value is equal to the other one.", "docstring_tokens": ["Asserts", "that", "two", "characters", "are", "not", "equal", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Characters.java#L85-L90", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Characters.java", "func_name": "Characters.assertLessThan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the actual value is less than the other one.\n\n@param description contains information about the assertion.\n@param actual the actual value.\n@param other the value to compare the actual value to.\n@throws AssertionError if the actual value is {@code null}.\n@throws AssertionError if the actual value is not less than the other one: this assertion will fail if the actual\nvalue is equal to or greater than the other value.", "docstring_tokens": ["Asserts", "that", "the", "actual", "value", "is", "less", "than", "the", "other", "one", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Characters.java#L102-L107", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Characters.java", "func_name": "Characters.assertNotGreaterThan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the actual value is less than or equal to the other one.\n\n@param description contains information about the assertion.\n@param actual the actual value.\n@param other the value to compare the actual value to.\n@throws AssertionError if the actual value is {@code null}.\n@throws AssertionError if the actual value is greater than the other one.", "docstring_tokens": ["Asserts", "that", "the", "actual", "value", "is", "less", "than", "or", "equal", "to", "the", "other", "one", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Characters.java#L118-L123", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Characters.java", "func_name": "Characters.assertGreaterThan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the actual value is greater than the other one.\n\n@param description contains information about the assertion.\n@param actual the actual value.\n@param other the value to compare the actual value to.\n@throws AssertionError if the actual value is {@code null}.\n@throws AssertionError if the actual value is not greater than the other one: this assertion will fail if the\nactual value is equal to or less than the other value.", "docstring_tokens": ["Asserts", "that", "the", "actual", "value", "is", "greater", "than", "the", "other", "one", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Characters.java#L135-L140", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Characters.java", "func_name": "Characters.assertNotLessThan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the actual value is greater than or equal to the other one.\n\n@param description contains information about the assertion.\n@param actual the actual value.\n@param other the value to compare the actual value to.\n@throws AssertionError if the actual value is {@code null}.\n@throws AssertionError if the actual value is less than the other one.", "docstring_tokens": ["Asserts", "that", "the", "actual", "value", "is", "greater", "than", "or", "equal", "to", "the", "other", "one", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Characters.java#L151-L156", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Characters.java", "func_name": "Characters.assertLowerCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the actual value is a lowercase character.\n\n@param description contains information about the assertion.\n@param actual the actual value.\n@throws AssertionError if the actual value is {@code null}.\n@throws AssertionError if the actual value is not a lowercase character.", "docstring_tokens": ["Asserts", "that", "the", "actual", "value", "is", "a", "lowercase", "character", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Characters.java#L166-L171", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Characters.java", "func_name": "Characters.assertUpperCase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the actual value is a uppercase character.\n\n@param description contains information about the assertion.\n@param actual the actual value.\n@throws AssertionError if the actual value is {@code null}.\n@throws AssertionError if the actual value is not a uppercase character.", "docstring_tokens": ["Asserts", "that", "the", "actual", "value", "is", "a", "uppercase", "character", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Characters.java#L181-L186", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/IntArrays.java", "func_name": "IntArrays.assertHasSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the number of elements in the given array is equal to the expected one.\n\n@param description contains information about the assertion.\n@param actual the given array.\n@param expectedSize the expected size of {@code actual}.\n@throws AssertionError if the given array is {@code null}.\n@throws AssertionError if the number of elements in the given array is different than the expected one.", "docstring_tokens": ["Asserts", "that", "the", "number", "of", "elements", "in", "the", "given", "array", "is", "equal", "to", "the", "expected", "one", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/IntArrays.java#L93-L95", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/IntArrays.java", "func_name": "IntArrays.assertContains", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the given array contains the given values, in any order.\n\n@param description contains information about the assertion.\n@param actual the given array.\n@param values the values that are expected to be in the given array.\n@throws NullPointerException if the array of values is {@code null}.\n@throws IllegalArgumentException if the array of values is empty.\n@throws AssertionError if the given array is {@code null}.\n@throws AssertionError if the given array does not contain the given values.", "docstring_tokens": ["Asserts", "that", "the", "given", "array", "contains", "the", "given", "values", "in", "any", "order", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/IntArrays.java#L108-L110", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Maps.java", "func_name": "Maps.assertContainsKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the actual map contain the given key.\n\n@param description contains information about the assertion.\n@param actual the given {@code Map}.\n@param key the given key\n@throws AssertionError if the actual map is {@code null}.\n@throws AssertionError if the actual map not contains the given key.", "docstring_tokens": ["Asserts", "that", "the", "actual", "map", "contain", "the", "given", "key", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Maps.java#L211-L216", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Maps.java", "func_name": "Maps.assertDoesNotContainKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the actual map not contains the given key.\n\n@param description contains information about the assertion.\n@param actual the given {@code Map}.\n@param key the given key\n@throws AssertionError if the actual map is {@code null}.\n@throws AssertionError if the actual map contains the given key.", "docstring_tokens": ["Asserts", "that", "the", "actual", "map", "not", "contains", "the", "given", "key", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Maps.java#L227-L232", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Maps.java", "func_name": "Maps.assertContainsValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the actual map contain the given value.\n\n@param description contains information about the assertion.\n@param actual the given {@code Map}.\n@param value the given value\n@throws AssertionError if the actual map is {@code null}.\n@throws AssertionError if the actual map not contains the given value.", "docstring_tokens": ["Asserts", "that", "the", "actual", "map", "contain", "the", "given", "value", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Maps.java#L243-L248", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Maps.java", "func_name": "Maps.assertDoesNotContainValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the actual map does not contain the given value.\n\n@param description contains information about the assertion.\n@param actual the given {@code Map}.\n@param value the given value\n@throws AssertionError if the actual map is {@code null}.\n@throws AssertionError if the actual map contains the given value.", "docstring_tokens": ["Asserts", "that", "the", "actual", "map", "does", "not", "contain", "the", "given", "value", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Maps.java#L259-L264", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Maps.java", "func_name": "Maps.assertDoesNotContainDuplicateValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the actual map does not contain the duplicate values.\n\n@param description contains information about the assertion.\n@param actual the given {@code Map}.\n@throws AssertionError if the actual map is {@code null}.\n@throws AssertionError if the actual map contains the given value.", "docstring_tokens": ["Asserts", "that", "the", "actual", "map", "does", "not", "contain", "the", "duplicate", "values", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Maps.java#L274-L280", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/BigDecimals.java", "func_name": "BigDecimals.assertEqual", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that two BigDecimals are equal.\n\n@param description the description of the actual value.\n@param actual the actual value.\n@param expected the expected value.", "docstring_tokens": ["Verifies", "that", "two", "BigDecimals", "are", "equal", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/BigDecimals.java#L61-L65", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/BigDecimals.java", "func_name": "BigDecimals.assertIsZero", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the actual value is zero.\n\n@param description the description of the actual value.\n@param actual the actual value.", "docstring_tokens": ["Verifies", "that", "the", "actual", "value", "is", "zero", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/BigDecimals.java#L138-L140", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/BigDecimals.java", "func_name": "BigDecimals.assertIsNotZero", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the actual value is not zero.\n\n@param description the description of the actual value.\n@param actual the actual value.", "docstring_tokens": ["Verifies", "that", "the", "actual", "value", "is", "not", "zero", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/BigDecimals.java#L148-L150", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/BigDecimals.java", "func_name": "BigDecimals.assertIsPositive", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the actual value is positive.\n\n@param description the description of the actual value.\n@param actual the actual value.", "docstring_tokens": ["Verifies", "that", "the", "actual", "value", "is", "positive", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/BigDecimals.java#L158-L160", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/BigDecimals.java", "func_name": "BigDecimals.assertIsNegative", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the actual value is negative.\n\n@param description the description of the actual value.\n@param actual the actual value.", "docstring_tokens": ["Verifies", "that", "the", "actual", "value", "is", "negative", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/BigDecimals.java#L168-L170", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/api/FloatAssert.java", "func_name": "FloatAssert.isEqualTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the actual value is equal to the given one, within a positive offset.\n\n@param expected the given value to compare the actual value to.\n@param offset the given positive offset.\n@return {@code this} assertion object.\n@throws NullPointerException if the given offset is {@code null}.\n@throws AssertionError if the actual value is {@code null}.\n@throws AssertionError if the actual value is not equal to the given one.", "docstring_tokens": ["Verifies", "that", "the", "actual", "value", "is", "equal", "to", "the", "given", "one", "within", "a", "positive", "offset", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/api/FloatAssert.java#L98-L101", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/api/ByteArrayAssert.java", "func_name": "ByteArrayAssert.contains", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the given array contains the given value at the given index.\n\n@param value the value to look for.\n@param index the index where the value should be stored in the given array.\n@return {@code this} assertion object.\n@throws AssertionError if the given array is {@code null} or empty.\n@throws NullPointerException if the given {@code Index} is {@code null}.\n@throws IndexOutOfBoundsException if the value of the given {@code Index} is equal to or greater than the size of\nthe given array.\n@throws AssertionError if the given array does not contain the given value at the given index.", "docstring_tokens": ["Verifies", "that", "the", "given", "array", "contains", "the", "given", "value", "at", "the", "given", "index", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/api/ByteArrayAssert.java#L109-L112", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Doubles.java", "func_name": "Doubles.assertNotEqual", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that two doubles are not equal.\n\n@param description the description of the actual value.\n@param actual the actual value.\n@param expected the expected value.\n@param offset the given positive offset.", "docstring_tokens": ["Verifies", "that", "two", "doubles", "are", "not", "equal", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Doubles.java#L121-L128", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Doubles.java", "func_name": "Doubles.assertNotGreaterThan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the actual value is not greater than the expected.\n\n@param description the description of the actual value.\n@param actual the actual value.\n@param expected the expected value.", "docstring_tokens": ["Verifies", "that", "the", "actual", "value", "is", "not", "greater", "than", "the", "expected", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Doubles.java#L158-L163", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Doubles.java", "func_name": "Doubles.assertLessThan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the actual value is less than the expected.\n\n@param description the description of the actual value.\n@param actual the actual value.\n@param expected the expected value.", "docstring_tokens": ["Verifies", "that", "the", "actual", "value", "is", "less", "than", "the", "expected", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Doubles.java#L172-L177", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Doubles.java", "func_name": "Doubles.assertNotLessThan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the actual value is not less than the expected.\n\n@param description the description of the actual value.\n@param actual the actual value.\n@param expected the expected value.", "docstring_tokens": ["Verifies", "that", "the", "actual", "value", "is", "not", "less", "than", "the", "expected", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Doubles.java#L186-L191", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/ByteArrays.java", "func_name": "ByteArrays.assertContainsOnly", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the given array contains only the given values and nothing else, in any order.\n\n@param description contains information about the assertion.\n@param actual the given array.\n@param values the values that are expected to be in the given array.\n@throws NullPointerException if the array of values is {@code null}.\n@throws IllegalArgumentException if the array of values is empty.\n@throws AssertionError if the given array is {@code null}.\n@throws AssertionError if the given array does not contain the given values or if the given array contains values\nthat are not in the given array.", "docstring_tokens": ["Asserts", "that", "the", "given", "array", "contains", "only", "the", "given", "values", "and", "nothing", "else", "in", "any", "order", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/ByteArrays.java#L156-L158", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/ByteArrays.java", "func_name": "ByteArrays.assertContainsSequence", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the given array contains the given sequence of values, without any other values between them.\n\n@param description contains information about the assertion.\n@param actual the given array.\n@param sequence the sequence of values to look for.\n@throws AssertionError if the given array is {@code null}.\n@throws NullPointerException if the given sequence is {@code null}.\n@throws IllegalArgumentException if the given sequence is empty.\n@throws AssertionError if the given array does not contain the given sequence of values.", "docstring_tokens": ["Verifies", "that", "the", "given", "array", "contains", "the", "given", "sequence", "of", "values", "without", "any", "other", "values", "between", "them", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/ByteArrays.java#L171-L173", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Objects.java", "func_name": "Objects.assertEqual", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that two objects are equal.\n\n@param description the description of the actual object.\n@param actual the actual object.\n@param expected the expected object.\n@throws AssertionError if {@code actual} is not equal to {@code expected}. This method will throw a\n{@code org.junit.ComparisonFailure} instead if JUnit is in the classpath and the given objects are not\nequal.", "docstring_tokens": ["Asserts", "that", "two", "objects", "are", "equal", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Objects.java#L81-L85", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Objects.java", "func_name": "Objects.assertNotEqual", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that two objects are not equal.\n\n@param description the description of the actual object.\n@param actual the actual object.\n@param other the object to compare {@code actual} to.\n@throws AssertionError if {@code actual} is equal to {@code other}.", "docstring_tokens": ["Asserts", "that", "two", "objects", "are", "not", "equal", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Objects.java#L95-L99", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Objects.java", "func_name": "Objects.assertSame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that two objects refer to the same instance.\n\n@param description the description of the actual object.\n@param actual the actual object.\n@param expected the expected object.\n@throws AssertionError if the given objects do not refer to the same instance.", "docstring_tokens": ["Asserts", "that", "two", "objects", "refer", "to", "the", "same", "instance", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Objects.java#L109-L114", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/Objects.java", "func_name": "Objects.assertNotSame", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that two objects do not refer to the same instance.\n\n@param description the description of the actual object.\n@param actual the actual object.\n@param other the object to compare {@code actual} to.\n@throws AssertionError if the given objects refer to the same instance.", "docstring_tokens": ["Asserts", "that", "two", "objects", "do", "not", "refer", "to", "the", "same", "instance", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/Objects.java#L124-L129", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/CharArrays.java", "func_name": "CharArrays.assertDoesNotContain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the given array does not contain the given values.\n\n@param description contains information about the assertion.\n@param actual the given array.\n@param values the values that are expected not to be in the given array.\n@throws NullPointerException if the array of values is {@code null}.\n@throws IllegalArgumentException if the array of values is empty.\n@throws AssertionError if the given array is {@code null}.\n@throws AssertionError if the given array contains any of given values.", "docstring_tokens": ["Asserts", "that", "the", "given", "array", "does", "not", "contain", "the", "given", "values", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/CharArrays.java#L187-L189", "partition": "valid"}
+{"repo": "alexruiz/fest-assert-2.x", "path": "src/main/java/org/fest/assertions/internal/CharArrays.java", "func_name": "CharArrays.assertIsSorted", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Verifies that the actual is sorted into ascending order according to the natural ordering of its elements.\nEmpty arrays are considered sorted.\n\n@param description contains the information about the assertion.\n@param actual the given array.\n@throws AssertionError if the {@code actual} is {@code null}.", "docstring_tokens": ["Verifies", "that", "the", "actual", "is", "sorted", "into", "ascending", "order", "according", "to", "the", "natural", "ordering", "of", "its", "elements", ".", "Empty", "arrays", "are", "considered", "sorted", "."], "sha": "bff5925af00fc732ba3a0e85f6774acba77ec7c8", "url": "https://github.com/alexruiz/fest-assert-2.x/blob/bff5925af00fc732ba3a0e85f6774acba77ec7c8/src/main/java/org/fest/assertions/internal/CharArrays.java#L247-L259", "partition": "valid"}
+{"repo": "valid4j/valid4j", "path": "src/main/java/org/valid4j/matchers/ArgumentMatchers.java", "func_name": "ArgumentMatchers.named", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Wraps an existing matcher, decorating its description with the name specified. All other functions are\ndelegated to the decorated matcher, including its mismatch description.\n\nExample:\n
named(\"theNameOfMyArgument\", notNullValue())
\n\n@param \nthe type of object to match\n@param name\nthe given name of the wrapped matcher\n@param matcher\nthe matcher to decorate with a name\n@return\nthe decorated matcher", "docstring_tokens": ["Wraps", "an", "existing", "matcher", "decorating", "its", "description", "with", "the", "name", "specified", ".", "All", "other", "functions", "are", "delegated", "to", "the", "decorated", "matcher", "including", "its", "mismatch", "description", "."], "sha": "2f3dd5e5ed0cc61bfbd08106f081891dd6fc0d3a", "url": "https://github.com/valid4j/valid4j/blob/2f3dd5e5ed0cc61bfbd08106f081891dd6fc0d3a/src/main/java/org/valid4j/matchers/ArgumentMatchers.java#L35-L39", "partition": "valid"}
+{"repo": "valid4j/valid4j", "path": "src/main/java/org/valid4j/matchers/ArgumentMatchers.java", "func_name": "ArgumentMatchers.notEmptyString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A matcher matching non-null and non-empty strings\n\nExample:\n
assertThat(\"this is not an empty string\", notEmptyString())
\n\n@return\nmatcher for a not empty string", "docstring_tokens": ["A", "matcher", "matching", "non", "-", "null", "and", "non", "-", "empty", "strings"], "sha": "2f3dd5e5ed0cc61bfbd08106f081891dd6fc0d3a", "url": "https://github.com/valid4j/valid4j/blob/2f3dd5e5ed0cc61bfbd08106f081891dd6fc0d3a/src/main/java/org/valid4j/matchers/ArgumentMatchers.java#L50-L58", "partition": "valid"}
+{"repo": "resty-gwt/resty-gwt", "path": "restygwt/src/main/java/org/fusesource/restygwt/rebind/JsonEncoderDecoderClassCreator.java", "func_name": "JsonEncoderDecoderClassCreator.getMiddleNameForPrefixingAsAccessorMutatorJavaBeansSpecCompliance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the middle part of the method name in compliance with the naming convention in the JavaBeans API\nspecification.\n\n@param fieldName\n@return", "docstring_tokens": ["Get", "the", "middle", "part", "of", "the", "method", "name", "in", "compliance", "with", "the", "naming", "convention", "in", "the", "JavaBeans", "API", "specification", "."], "sha": "44b644aa1512afbc5d496a12f03579ad4ba730a1", "url": "https://github.com/resty-gwt/resty-gwt/blob/44b644aa1512afbc5d496a12f03579ad4ba730a1/restygwt/src/main/java/org/fusesource/restygwt/rebind/JsonEncoderDecoderClassCreator.java#L807-L812", "partition": "valid"}
+{"repo": "resty-gwt/resty-gwt", "path": "restygwt/src/main/java/org/fusesource/restygwt/rebind/JsonEncoderDecoderClassCreator.java", "func_name": "JsonEncoderDecoderClassCreator.exists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "checks whether a getter or setter exists on the specified type or any of\nits super classes excluding Object. respects JsonIgnore accordingly.\n\n@param type\n@param field\n@param fieldName\n@param isSetter\n@return", "docstring_tokens": ["checks", "whether", "a", "getter", "or", "setter", "exists", "on", "the", "specified", "type", "or", "any", "of", "its", "super", "classes", "excluding", "Object", ".", "respects", "JsonIgnore", "accordingly", "."], "sha": "44b644aa1512afbc5d496a12f03579ad4ba730a1", "url": "https://github.com/resty-gwt/resty-gwt/blob/44b644aa1512afbc5d496a12f03579ad4ba730a1/restygwt/src/main/java/org/fusesource/restygwt/rebind/JsonEncoderDecoderClassCreator.java#L869-L907", "partition": "valid"}
+{"repo": "resty-gwt/resty-gwt", "path": "restygwt/src/main/java/org/fusesource/restygwt/rebind/BindingDefaults.java", "func_name": "BindingDefaults.getAnnotationResolvers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "access all annotationresolvers that are registered\n\n@return a copy of all AnnotationResolvers", "docstring_tokens": ["access", "all", "annotationresolvers", "that", "are", "registered"], "sha": "44b644aa1512afbc5d496a12f03579ad4ba730a1", "url": "https://github.com/resty-gwt/resty-gwt/blob/44b644aa1512afbc5d496a12f03579ad4ba730a1/restygwt/src/main/java/org/fusesource/restygwt/rebind/BindingDefaults.java#L61-L108", "partition": "valid"}
+{"repo": "resty-gwt/resty-gwt", "path": "restygwt/src/main/java/org/fusesource/restygwt/client/Method.java", "func_name": "Method.expect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "sets the expected response status code. If the response status code does not match\nany of the values specified then the request is considered to have failed. Defaults to accepting\n200,201,204. If set to -1 then any status code is considered a success.", "docstring_tokens": ["sets", "the", "expected", "response", "status", "code", ".", "If", "the", "response", "status", "code", "does", "not", "match", "any", "of", "the", "values", "specified", "then", "the", "request", "is", "considered", "to", "have", "failed", ".", "Defaults", "to", "accepting", "200", "201", "204", ".", "If", "set", "to", "-", "1", "then", "any", "status", "code", "is", "considered", "a", "success", "."], "sha": "44b644aa1512afbc5d496a12f03579ad4ba730a1", "url": "https://github.com/resty-gwt/resty-gwt/blob/44b644aa1512afbc5d496a12f03579ad4ba730a1/restygwt/src/main/java/org/fusesource/restygwt/client/Method.java#L180-L191", "partition": "valid"}
+{"repo": "resty-gwt/resty-gwt", "path": "restygwt/src/main/java/org/fusesource/restygwt/rebind/BaseSourceCreator.java", "func_name": "BaseSourceCreator.reduceName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lets have class name less than 200 to allow new generators safelly to add more sufixes there if needed", "docstring_tokens": ["Lets", "have", "class", "name", "less", "than", "200", "to", "allow", "new", "generators", "safelly", "to", "add", "more", "sufixes", "there", "if", "needed"], "sha": "44b644aa1512afbc5d496a12f03579ad4ba730a1", "url": "https://github.com/resty-gwt/resty-gwt/blob/44b644aa1512afbc5d496a12f03579ad4ba730a1/restygwt/src/main/java/org/fusesource/restygwt/rebind/BaseSourceCreator.java#L107-L144", "partition": "valid"}
+{"repo": "resty-gwt/resty-gwt", "path": "restygwt/src/main/java/org/fusesource/restygwt/rebind/BaseSourceCreator.java", "func_name": "BaseSourceCreator.getBooleanProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the boolean value of the property or the default value.", "docstring_tokens": ["Returns", "the", "boolean", "value", "of", "the", "property", "or", "the", "default", "value", "."], "sha": "44b644aa1512afbc5d496a12f03579ad4ba730a1", "url": "https://github.com/resty-gwt/resty-gwt/blob/44b644aa1512afbc5d496a12f03579ad4ba730a1/restygwt/src/main/java/org/fusesource/restygwt/rebind/BaseSourceCreator.java#L288-L298", "partition": "valid"}
+{"repo": "resty-gwt/resty-gwt", "path": "restygwt/src/main/java/org/fusesource/restygwt/client/callback/CachingCallbackFilter.java", "func_name": "CachingCallbackFilter.filter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "the real filter method, called independent of the response code\n\nTODO method.getResponse() is not equal to response. unfortunately", "docstring_tokens": ["the", "real", "filter", "method", "called", "independent", "of", "the", "response", "code"], "sha": "44b644aa1512afbc5d496a12f03579ad4ba730a1", "url": "https://github.com/resty-gwt/resty-gwt/blob/44b644aa1512afbc5d496a12f03579ad4ba730a1/restygwt/src/main/java/org/fusesource/restygwt/client/callback/CachingCallbackFilter.java#L53-L111", "partition": "valid"}
+{"repo": "resty-gwt/resty-gwt", "path": "restygwt/src/main/java/org/fusesource/restygwt/rebind/ModelChangeAnnotationResolver.java", "func_name": "ModelChangeAnnotationResolver.getAnnotationsAsStringArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "convert an array of classes to an array of strings to be usable in js context.\n\n@param classes\n@return", "docstring_tokens": ["convert", "an", "array", "of", "classes", "to", "an", "array", "of", "strings", "to", "be", "usable", "in", "js", "context", "."], "sha": "44b644aa1512afbc5d496a12f03579ad4ba730a1", "url": "https://github.com/resty-gwt/resty-gwt/blob/44b644aa1512afbc5d496a12f03579ad4ba730a1/restygwt/src/main/java/org/fusesource/restygwt/rebind/ModelChangeAnnotationResolver.java#L123-L136", "partition": "valid"}
+{"repo": "resty-gwt/resty-gwt", "path": "restygwt/src/main/java/org/fusesource/restygwt/client/JsonpMethod.java", "func_name": "JsonpMethod.send", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "helper method to make RestServiceClassCreator easier to maintain\n@param callback", "docstring_tokens": ["helper", "method", "to", "make", "RestServiceClassCreator", "easier", "to", "maintain"], "sha": "44b644aa1512afbc5d496a12f03579ad4ba730a1", "url": "https://github.com/resty-gwt/resty-gwt/blob/44b644aa1512afbc5d496a12f03579ad4ba730a1/restygwt/src/main/java/org/fusesource/restygwt/client/JsonpMethod.java#L98-L100", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/TokenRequestHandler.java", "func_name": "TokenRequestHandler.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the parameters of the token request.", "docstring_tokens": ["Process", "the", "parameters", "of", "the", "token", "request", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/TokenRequestHandler.java#L172-L232", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/TokenRequestHandler.java", "func_name": "TokenRequestHandler.handlePassword", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the token request whose flow is \"Resource Owner Password Credentials\".", "docstring_tokens": ["Process", "the", "token", "request", "whose", "flow", "is", "Resource", "Owner", "Password", "Credentials", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/TokenRequestHandler.java#L238-L263", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/AuthorizationDecisionHandler.java", "func_name": "AuthorizationDecisionHandler.handle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle an end-user's decision on an authorization request.\n\n@param ticket\nA ticket that was issued by Authlete's {@code /api/auth/authorization} API.\n\n@param claimNames\nNames of requested claims. Use the value of the {@code claims}\nparameter in a response from Authlete's {@code /api/auth/authorization} API.\n\n@param claimLocales\nRequested claim locales. Use the value of the {@code claimsLocales}\nparameter in a response from Authlete's {@code /api/auth/authorization} API.\n\n@return\nA response to the client application. Basically, the response\nwill trigger redirection to the client's redirection endpoint.\n\n@throws WebApplicationException\nAn error occurred.", "docstring_tokens": ["Handle", "an", "end", "-", "user", "s", "decision", "on", "an", "authorization", "request", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/AuthorizationDecisionHandler.java#L95-L111", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/AuthorizationDecisionHandler.java", "func_name": "AuthorizationDecisionHandler.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the end-user's decision.", "docstring_tokens": ["Process", "the", "end", "-", "user", "s", "decision", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/AuthorizationDecisionHandler.java#L117-L158", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/AuthorizationDecisionHandler.java", "func_name": "AuthorizationDecisionHandler.collectClaims", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collect claims of the end-user.", "docstring_tokens": ["Collect", "claims", "of", "the", "end", "-", "user", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/AuthorizationDecisionHandler.java#L164-L225", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/BaseAuthorizationDecisionEndpoint.java", "func_name": "BaseAuthorizationDecisionEndpoint.handle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle an authorization decision request.\n\n
\nThis method internally creates a {@link AuthorizationDecisionHandler} instance and\ncalls its {@link AuthorizationDecisionHandler#handle(String, String[], String[])}\nmethod. Then, this method uses the value returned from the {@code handle()} method\nas a response from this method.\n
\n\n
\nWhen {@code AuthorizationDecisionHandler.handle()} method raises a {@link\nWebApplicationException}, this method calls {@link #onError(WebApplicationException)\nonError()} method with the exception. The default implementation of {@code onError()}\ncalls {@code printStackTrace()} of the exception and does nothing else. You\ncan override the method as necessary. After calling {@code onError()} method,\nthis method calls {@code getResponse()} method of the exception and uses the\nreturned value as a response from this method.\n
\n\n@param api\nAn implementation of {@link AuthleteApi}.\n\n@param spi\nAn implementation of {@link AuthorizationDecisionHandlerSpi}.\n\n@param ticket\nA ticket that was issued by Authlete's {@code /api/auth/authorization} API.\n\n@param claimNames\nNames of requested claims. Use the value of the {@code claims}\nparameter in a response from Authlete's {@code /api/auth/authorization} API.\n\n@param claimLocales\nRequested claim locales. Use the value of the {@code claimsLocales}\nparameter in a response from Authlete's {@code /api/auth/authorization} API.\n\n@return\nA response that should be returned to the client application.", "docstring_tokens": ["Handle", "an", "authorization", "decision", "request", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/BaseAuthorizationDecisionEndpoint.java#L75-L95", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/AuthleteApiCaller.java", "func_name": "AuthleteApiCaller.userInfoIssue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Issue a JSON or a JWT containing user information.", "docstring_tokens": ["Issue", "a", "JSON", "or", "a", "JWT", "containing", "user", "information", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/AuthleteApiCaller.java#L699-L743", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/AuthorizationPageModel.java", "func_name": "AuthorizationPageModel.computeLoginId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the initial value for the login ID field in the\nauthorization page.", "docstring_tokens": ["Compute", "the", "initial", "value", "for", "the", "login", "ID", "field", "in", "the", "authorization", "page", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/AuthorizationPageModel.java#L496-L504", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/BaseJwksEndpoint.java", "func_name": "BaseJwksEndpoint.handle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle a request for a JWK Set document.\n\n
\nThis method internally creates a {@link JwksRequestHandler} instance and\ncalls its {@link JwksRequestHandler#handle()} method. Then, this method\nuses the value returned from the {@code handle()} method as a response\nfrom this method.\n
\n\n
\nWhen {@code JwksRequestHandler.handle()} method raises a {@link\nWebApplicationException}, this method calls {@link #onError(WebApplicationException)\nonError()} method with the exception. The default implementation of {@code onError()}\ncalls {@code printStackTrace()} of the exception and does nothing else. You\ncan override the method as necessary. After calling {@code onError()} method,\nthis method calls {@code getResponse()} method of the exception and uses the\nreturned value as a response from this method.\n
\n\n@param api\nAn implementation of {@link AuthleteApi}.\n\n@return\nA response that should be returned to the client application.", "docstring_tokens": ["Handle", "a", "request", "for", "a", "JWK", "Set", "document", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/BaseJwksEndpoint.java#L80-L98", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/BaseIntrospectionEndpoint.java", "func_name": "BaseIntrospectionEndpoint.handle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle an introspection request.\n\n
\nThis method internally creates an {@link IntrospectionRequestHandler}\ninstance and calls its {@link IntrospectionRequestHandler#handle(MultivaluedMap)\nhandle()} method with the {@code parameters} argument. Then, this\nmethod uses the value returned from the {@code handle()} method as a\nresponse from this method.\n
\n\n
\nWhen {@code IntrospectionRequestHandler.handle()} method raises a\n{@link WebApplicationException}, this method calls {@link\n#onError(WebApplicationException) onError()} method with the exception.\nThe default implementation of {@code onError()} calls {@code\nprintStackTrace()} of the exception and does nothing else. You can\noverride the method as necessary. After calling {@code onError()}\nmethod, this method calls {@code getResponse()} method of the\nexception and uses the returned value as a response from this method.\n
\nThis method internally creates a {@link AuthorizationRequestHandler} instance and\ncalls its {@link AuthorizationRequestHandler#handle(MultivaluedMap)} method.\nThen, this method uses the value returned from the {@code handle()} method\nas a response from this method.\n
\n\n
\nWhen {@code AuthorizationRequestHandler.handle()} method raises a {@link\nWebApplicationException}, this method calls {@link #onError(WebApplicationException)\nonError()} method with the exception. The default implementation of {@code onError()}\ncalls {@code printStackTrace()} of the exception and does nothing else. You\ncan override the method as necessary. After calling {@code onError()} method,\nthis method calls {@code getResponse()} method of the exception and uses the\nreturned value as a response from this method.\n
\n\n@param api\nAn implementation of {@link AuthleteApi}.\n\n@param spi\nAn implementation of {@link AuthorizationRequestHandlerSpi}.\n\n@param parameters\nRequest parameters of the authorization request.\n\n@return\nA response that should be returned to the client application.", "docstring_tokens": ["Handle", "an", "authorization", "request", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/BaseAuthorizationEndpoint.java#L80-L100", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/IntrospectionRequestHandler.java", "func_name": "IntrospectionRequestHandler.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the parameters of the introspection request.", "docstring_tokens": ["Process", "the", "parameters", "of", "the", "introspection", "request", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/IntrospectionRequestHandler.java#L96-L127", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/UserInfoRequestHandler.java", "func_name": "UserInfoRequestHandler.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the userinfo request with the access token.", "docstring_tokens": ["Process", "the", "userinfo", "request", "with", "the", "access", "token", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/UserInfoRequestHandler.java#L128-L167", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/BaseUserInfoEndpoint.java", "func_name": "BaseUserInfoEndpoint.handle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Handle a userinfo request.\n\n
\nThis method internally creates a {@link UserInfoRequestHandler} instance\nand calls its {@link UserInfoRequestHandler#handle(String)} method.\nThen, this method uses the value returned from the {@code handle()} method\nas a response from this method.\n
\n\n
\nWhen {@code UserInfoRequestHandler.handle()} method raises a {@link\nWebApplicationException}, this method calls {@link #onError(WebApplicationException)\nonError()} method with the exception. The default implementation of {@code onError()}\ncalls {@code printStackTrace()} of the exception and does nothing else. You\ncan override the method as necessary. After calling {@code onError()} method,\nthis method calls {@code getResponse()} method of the exception and uses the\nreturned value as a response from this method.\n
\n\n@param api\nAn implementation of {@link AuthleteApi}.\n\n@param spi\nAn implementation of {@link UserInfoRequestHandlerSpi}.\n\n@param accessToken\nAn access token.\n\n@return\nA response that should be returned to the client application.", "docstring_tokens": ["Handle", "a", "userinfo", "request", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/BaseUserInfoEndpoint.java#L70-L89", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/AuthorizationRequestHandler.java", "func_name": "AuthorizationRequestHandler.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the authorization request.", "docstring_tokens": ["Process", "the", "authorization", "request", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/AuthorizationRequestHandler.java#L110-L156", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/AuthorizationRequestHandler.java", "func_name": "AuthorizationRequestHandler.noInteractionCheckAuthentication", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check whether an end-user has already logged in or not.", "docstring_tokens": ["Check", "whether", "an", "end", "-", "user", "has", "already", "logged", "in", "or", "not", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/AuthorizationRequestHandler.java#L216-L227", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/RevocationRequestHandler.java", "func_name": "RevocationRequestHandler.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process the parameters of the revocation request.", "docstring_tokens": ["Process", "the", "parameters", "of", "the", "revocation", "request", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/RevocationRequestHandler.java#L117-L152", "partition": "valid"}
+{"repo": "authlete/authlete-java-jaxrs", "path": "src/main/java/com/authlete/jaxrs/BaseEndpoint.java", "func_name": "BaseEndpoint.extractClientCertificate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Utility method for extracting a single client certificate from the default\ncertificate extractors. Calls extractClientCertificateChain and returns the\nfirst entry in the array, if any, null otherwise.\n\n@param request\nThe incoming HTTP request to search for the client's certificate.\n\n@return\nThe client's mutual TLS certificate.\n\n@since 2.8", "docstring_tokens": ["Utility", "method", "for", "extracting", "a", "single", "client", "certificate", "from", "the", "default", "certificate", "extractors", ".", "Calls", "extractClientCertificateChain", "and", "returns", "the", "first", "entry", "in", "the", "array", "if", "any", "null", "otherwise", "."], "sha": "9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad", "url": "https://github.com/authlete/authlete-java-jaxrs/blob/9b043732c57b5ad2aebb8ffebb5ab56b9c5d86ad/src/main/java/com/authlete/jaxrs/BaseEndpoint.java#L99-L111", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/implied-repos/common/src/main/java/org/commonjava/indy/implrepo/change/ImpliedRepoMaintainer.java", "func_name": "ImpliedRepoMaintainer.updateImpliedStores", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "We cannot currently remove formerly implied repos because we can't distinguish between the above states.", "docstring_tokens": ["We", "cannot", "currently", "remove", "formerly", "implied", "repos", "because", "we", "can", "t", "distinguish", "between", "the", "above", "states", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/implied-repos/common/src/main/java/org/commonjava/indy/implrepo/change/ImpliedRepoMaintainer.java#L104-L133", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/httprox/common/src/main/java/org/commonjava/indy/httprox/util/CertUtils.java", "func_name": "CertUtils.generateX509Certificate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a self-signed X.509 cert\n\n@param dn the X.509 Distinguished Name, eg \"CN=Test, L=London, C=GB\"\n@param days how many days from now the cert is valid for\n@param algorithm the signing algorithm, eg \"SHA256withRSA\"", "docstring_tokens": ["Create", "a", "self", "-", "signed", "X", ".", "509", "cert"], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/httprox/common/src/main/java/org/commonjava/indy/httprox/util/CertUtils.java#L80-L111", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "subsys/metrics/core/src/main/java/org/commonjava/indy/metrics/IndyMetricsConstants.java", "func_name": "IndyMetricsConstants.getName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the metric fullname.\n@param name user specified name\n@param defaultName 'class name + method name', not null.", "docstring_tokens": ["Get", "the", "metric", "fullname", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/subsys/metrics/core/src/main/java/org/commonjava/indy/metrics/IndyMetricsConstants.java#L69-L76", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/relate/common/src/main/java/org/commonjava/indy/relate/util/RelateGenerationManager.java", "func_name": "RelateGenerationManager.generateRelationshipFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate relationship file for pom transfer.\n@param transfer\n@param op\n@return transfer pointing to the generated rel file.", "docstring_tokens": ["Generate", "relationship", "file", "for", "pom", "transfer", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/relate/common/src/main/java/org/commonjava/indy/relate/util/RelateGenerationManager.java#L85-L162", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "subsys/git/src/main/java/org/commonjava/indy/subsys/git/GitManager.java", "func_name": "GitManager.commit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Commit the changelog entries\n@return size of changelog entries being committed", "docstring_tokens": ["Commit", "the", "changelog", "entries"], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/subsys/git/src/main/java/org/commonjava/indy/subsys/git/GitManager.java#L389-L419", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "subsys/metrics/reporter/src/main/java/org/commonjava/indy/metrics/zabbix/reporter/IndyZabbixReporter.java", "func_name": "IndyZabbixReporter.addSnapshotDataObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "for histograms.\n\n@param key\n@param snapshot\n@param dataObjectList", "docstring_tokens": ["for", "histograms", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/subsys/metrics/reporter/src/main/java/org/commonjava/indy/metrics/zabbix/reporter/IndyZabbixReporter.java#L223-L235", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/httprox/common/src/main/java/org/commonjava/indy/httprox/util/ProxyResponseHelper.java", "func_name": "ProxyResponseHelper.getRemoteRepositoryName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "if repo with this name already exists, we need to use a different name", "docstring_tokens": ["if", "repo", "with", "this", "name", "already", "exists", "we", "need", "to", "use", "a", "different", "name"], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/httprox/common/src/main/java/org/commonjava/indy/httprox/util/ProxyResponseHelper.java#L218-L248", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/httprox/common/src/main/java/org/commonjava/indy/httprox/handler/AbstractProxyRepositoryCreator.java", "func_name": "AbstractProxyRepositoryCreator.getNextName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the next distinct name based on the query result by filter of getNameFilter\n@param names\n@return", "docstring_tokens": ["Get", "the", "next", "distinct", "name", "based", "on", "the", "query", "result", "by", "filter", "of", "getNameFilter"], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/httprox/common/src/main/java/org/commonjava/indy/httprox/handler/AbstractProxyRepositoryCreator.java#L142-L157", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "subsys/kafka/src/main/java/org/commonjava/indy/subsys/kafka/IndyKafkaProducer.java", "func_name": "IndyKafkaProducer.send", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Non-blocking send with a logback formatter to format the message.", "docstring_tokens": ["Non", "-", "blocking", "send", "with", "a", "logback", "formatter", "to", "format", "the", "message", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/subsys/kafka/src/main/java/org/commonjava/indy/subsys/kafka/IndyKafkaProducer.java#L91-L94", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "subsys/kafka/src/main/java/org/commonjava/indy/subsys/kafka/IndyKafkaProducer.java", "func_name": "IndyKafkaProducer.send", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Blocking send. The message will be available to consumers immediately. Wait for at most the given time\nfor the operation to complete.", "docstring_tokens": ["Blocking", "send", ".", "The", "message", "will", "be", "available", "to", "consumers", "immediately", ".", "Wait", "for", "at", "most", "the", "given", "time", "for", "the", "operation", "to", "complete", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/subsys/kafka/src/main/java/org/commonjava/indy/subsys/kafka/IndyKafkaProducer.java#L100-L104", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "subsys/kafka/src/main/java/org/commonjava/indy/subsys/kafka/IndyKafkaProducer.java", "func_name": "IndyKafkaProducer.send", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Blocking send with a logback formatter to format the message.", "docstring_tokens": ["Blocking", "send", "with", "a", "logback", "formatter", "to", "format", "the", "message", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/subsys/kafka/src/main/java/org/commonjava/indy/subsys/kafka/IndyKafkaProducer.java#L109-L117", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/koji/common/src/main/java/org/commonjava/indy/koji/content/IndyKojiContentProvider.java", "func_name": "IndyKojiContentProvider.getCacheNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This is to register ISPN caches produced by this provider so that the Metrics knows them.", "docstring_tokens": ["This", "is", "to", "register", "ISPN", "caches", "produced", "by", "this", "provider", "so", "that", "the", "Metrics", "knows", "them", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/koji/common/src/main/java/org/commonjava/indy/koji/content/IndyKojiContentProvider.java#L64-L76", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/folo/common/src/main/java/org/commonjava/indy/folo/FoloUtils.java", "func_name": "FoloUtils.zipTrackedContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write sealed records to a zip file.", "docstring_tokens": ["Write", "sealed", "records", "to", "a", "zip", "file", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/folo/common/src/main/java/org/commonjava/indy/folo/FoloUtils.java#L46-L61", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/folo/common/src/main/java/org/commonjava/indy/folo/FoloUtils.java", "func_name": "FoloUtils.readZipInputStreamAnd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read records from input stream and execute consumer function.\n@param inputStream\n@param consumer\n@return count of records read from the stream", "docstring_tokens": ["Read", "records", "from", "input", "stream", "and", "execute", "consumer", "function", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/folo/common/src/main/java/org/commonjava/indy/folo/FoloUtils.java#L80-L106", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/promote/common/src/main/java/org/commonjava/indy/promote/data/PromotionManager.java", "func_name": "PromotionManager.getTargetKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Provides target group store key for a given group name. This is meant to provide the same instance of the key\nfor a name to be able to synchronize promotion requests based on this instance.\n\n@param targetName the target group name\n@return the group store key", "docstring_tokens": ["Provides", "target", "group", "store", "key", "for", "a", "given", "group", "name", ".", "This", "is", "meant", "to", "provide", "the", "same", "instance", "of", "the", "key", "for", "a", "name", "to", "be", "able", "to", "synchronize", "promotion", "requests", "based", "on", "this", "instance", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/promote/common/src/main/java/org/commonjava/indy/promote/data/PromotionManager.java#L338-L343", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "core/src/main/java/org/commonjava/indy/core/content/PathMaskChecker.java", "func_name": "PathMaskChecker.checkListingMask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "path mask checking", "docstring_tokens": ["path", "mask", "checking"], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/core/src/main/java/org/commonjava/indy/core/content/PathMaskChecker.java#L63-L99", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/pkg-maven/common/src/main/java/org/commonjava/indy/pkg/maven/content/MavenMetadataGenerator.java", "func_name": "MavenMetadataGenerator.clearObsoleteFiles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clear obsolete files after a meta is generated. This may be http download metadata, etc.\n@param item", "docstring_tokens": ["Clear", "obsolete", "files", "after", "a", "meta", "is", "generated", ".", "This", "may", "be", "http", "download", "metadata", "etc", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/pkg-maven/common/src/main/java/org/commonjava/indy/pkg/maven/content/MavenMetadataGenerator.java#L675-L687", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/koji/common/src/main/java/org/commonjava/indy/koji/data/DefaultKojiRepoNameParser.java", "func_name": "DefaultKojiRepoNameParser.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve what is behind koji- or koji-binary-\n@param repoName\n@return koji build nvr", "docstring_tokens": ["Retrieve", "what", "is", "behind", "koji", "-", "or", "koji", "-", "binary", "-"], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/koji/common/src/main/java/org/commonjava/indy/koji/data/DefaultKojiRepoNameParser.java#L33-L50", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "bindings/jaxrs/src/main/java/org/commonjava/indy/core/bind/jaxrs/admin/StoreAdminHandler.java", "func_name": "StoreAdminHandler.exists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "private HttpServletRequest request;", "docstring_tokens": ["private", "HttpServletRequest", "request", ";"], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/bindings/jaxrs/src/main/java/org/commonjava/indy/core/bind/jaxrs/admin/StoreAdminHandler.java#L106-L133", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "db/flat/src/main/java/org/commonjava/indy/flat/data/DataFileStoreUtils.java", "func_name": "DataFileStoreUtils.loadFromDiskAnd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load all store definitions from disk and apply consumer function.", "docstring_tokens": ["Load", "all", "store", "definitions", "from", "disk", "and", "apply", "consumer", "function", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/db/flat/src/main/java/org/commonjava/indy/flat/data/DataFileStoreUtils.java#L28-L32", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "db/flat/src/main/java/org/commonjava/indy/flat/data/DataFileStoreUtils.java", "func_name": "DataFileStoreUtils.loadFromDiskAnd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load store definitions from disk and apply consumer function.\n@param manager\n@param serializer\n@param key if null, load all.\n@param summary\n@param consumer", "docstring_tokens": ["Load", "store", "definitions", "from", "disk", "and", "apply", "consumer", "function", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/db/flat/src/main/java/org/commonjava/indy/flat/data/DataFileStoreUtils.java#L42-L108", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/hosted-by-archive/common/src/main/java/org/commonjava/indy/hostedbyarc/HostedByArchiveManager.java", "func_name": "HostedByArchiveManager.createStoreByArc", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "private ExecutorService executors;", "docstring_tokens": ["private", "ExecutorService", "executors", ";"], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/hosted-by-archive/common/src/main/java/org/commonjava/indy/hostedbyarc/HostedByArchiveManager.java#L62-L71", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "subsys/http/src/main/java/org/commonjava/indy/subsys/http/IndyHttpProvider.java", "func_name": "IndyHttpProvider.createContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create http request context and apply site config.\n@param siteId ID to represent the site. It is generally the hostname of target site.\n@return\n@throws IndyHttpException", "docstring_tokens": ["Create", "http", "request", "context", "and", "apply", "site", "config", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/subsys/http/src/main/java/org/commonjava/indy/subsys/http/IndyHttpProvider.java#L91-L101", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "subsys/http/src/main/java/org/commonjava/indy/subsys/http/IndyHttpProvider.java", "func_name": "IndyHttpProvider.createClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create http client and apply site config.\n@param siteId ID to represent the site. It is generally the hostname of target site.\n@return\n@throws IndyHttpException", "docstring_tokens": ["Create", "http", "client", "and", "apply", "site", "config", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/subsys/http/src/main/java/org/commonjava/indy/subsys/http/IndyHttpProvider.java#L109-L119", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/koji/common/src/main/java/org/commonjava/indy/koji/data/KojiRepairManager.java", "func_name": "KojiRepairManager.doRepair", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Repair one remote repository.\n@param packageType\n@param repository repository to be repaired. If null, the repository name will be retrieved according to\nthe buildInfo and the naming format in koji.conf.\n@param buildInfo koji build which this repository proxies\n@param user the user does the repair\n@param isDryRun\n@return\n@throws KojiRepairException", "docstring_tokens": ["Repair", "one", "remote", "repository", "."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/koji/common/src/main/java/org/commonjava/indy/koji/data/KojiRepairManager.java#L428-L492", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "addons/pkg-maven/common/src/main/java/org/commonjava/indy/pkg/maven/content/MetadataStoreListener.java", "func_name": "MetadataStoreListener.handleGroupMembersChanged", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "If group members changed, should clear the cascading groups metadata cache", "docstring_tokens": ["If", "group", "members", "changed", "should", "clear", "the", "cascading", "groups", "metadata", "cache"], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/addons/pkg-maven/common/src/main/java/org/commonjava/indy/pkg/maven/content/MetadataStoreListener.java#L172-L220", "partition": "valid"}
+{"repo": "Commonjava/indy", "path": "subsys/keycloak/src/main/java/org/commonjava/indy/subsys/keycloak/conf/KeycloakConfig.java", "func_name": "KeycloakConfig.setSystemProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set system properties for keycloak to use when filtering keycloak.json...", "docstring_tokens": ["Set", "system", "properties", "for", "keycloak", "to", "use", "when", "filtering", "keycloak", ".", "json", "..."], "sha": "38bf28dfce3bc25745ed239a5cd74efc56cf5c01", "url": "https://github.com/Commonjava/indy/blob/38bf28dfce3bc25745ed239a5cd74efc56cf5c01/subsys/keycloak/src/main/java/org/commonjava/indy/subsys/keycloak/conf/KeycloakConfig.java#L154-L183", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRangeHandler.java", "func_name": "FileRangeHandler.getFileRanges", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an ArrayList of File Ranges for the given stream.\n\n@return an ArrayList of File Ranges for the given stream.\n@throws SAXException\n@throws ParserConfigurationException\n@throws IOException", "docstring_tokens": ["Returns", "an", "ArrayList", "of", "File", "Ranges", "for", "the", "given", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRangeHandler.java#L54-L61", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueMessageHandler.java", "func_name": "QueueMessageHandler.readMessages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Populates CloudQueueMessage objects from the XMLStreamReader; the reader must be at the Start element of\nQueuesElement.\n\n@param stream\nThe InputStream object to deserialize from.\n@param shouldEncodeMessage\nA flag indicating whether messages should be base-64 encoded.\n\n@return An ArrayList of {@link CloudQueueMessage} from the\nstream.\n\n@throws IOException\n@throws SAXException\n@throws ParserConfigurationException", "docstring_tokens": ["Populates", "CloudQueueMessage", "objects", "from", "the", "XMLStreamReader", ";", "the", "reader", "must", "be", "at", "the", "Start", "element", "of", "QueuesElement", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueMessageHandler.java#L67-L74", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTable.java", "func_name": "CloudTable.createIfNotExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the table in the storage service with the specified request options and operation context, if it does not\nalready exist.\n\n@param options\nA {@link TableRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudTableClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return true if the table did not already exist and was created; otherwise false .\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Creates", "the", "table", "in", "the", "storage", "service", "with", "the", "specified", "request", "options", "and", "operation", "context", "if", "it", "does", "not", "already", "exist", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTable.java#L283-L306", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTable.java", "func_name": "CloudTable.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes the table from the storage service, using the specified request options and operation context.\n\n@param options\nA {@link TableRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudTableClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Deletes", "the", "table", "from", "the", "storage", "service", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTable.java#L334-L349", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTable.java", "func_name": "CloudTable.deleteIfExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes the table from the storage service using the specified request options and operation context, if it\nexists.\n\n@param options\nA {@link TableRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudTableClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return A value of true if the table existed in the storage service and has been deleted, otherwise\nfalse.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Deletes", "the", "table", "from", "the", "storage", "service", "using", "the", "specified", "request", "options", "and", "operation", "context", "if", "it", "exists", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTable.java#L384-L406", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTable.java", "func_name": "CloudTable.uploadPermissions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uploads the table's permissions using the specified request options and operation context.\n\n@param permissions\nA {@link TablePermissions} object that represents the permissions to upload.\n@param options\nA {@link TableRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudTableClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Uploads", "the", "table", "s", "permissions", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTable.java#L928-L940", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTable.java", "func_name": "CloudTable.downloadPermissions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Downloads the permissions settings for the table using the specified request options and operation context.\n\n@param options\nA {@link TableRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudTableClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return A {@link TablePermissions} object that represents the table's permissions.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Downloads", "the", "permissions", "settings", "for", "the", "table", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTable.java#L1034-L1046", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/RequestOptions.java", "func_name": "RequestOptions.applyBaseDefaultsInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Populates the default timeout, retry policy, and location mode from client if they are null.\n\n@param modifiedOptions\nThe input options to copy from when applying defaults", "docstring_tokens": ["Populates", "the", "default", "timeout", "retry", "policy", "and", "location", "mode", "from", "client", "if", "they", "are", "null", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/RequestOptions.java#L84-L93", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageErrorHandler.java", "func_name": "StorageErrorHandler.getExtendedErrorInformation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the Extended Error information from the response stream.\n\n@return the Extended Error information from the response stream\n@throws ParserConfigurationException\n@throws IOException\n@throws SAXException", "docstring_tokens": ["Gets", "the", "Extended", "Error", "information", "from", "the", "response", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageErrorHandler.java#L49-L56", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java", "func_name": "AccessCondition.generateIfSequenceNumberLessThanOrEqualCondition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an access condition such that an operation will be performed only if resource's current sequence\nnumber is less than or equal to the specified value. This condition only applies to page blobs.\n\n@param sequenceNumber\nThe value to compare to the current sequence number.\n\n@return An AccessCondition object that represents the If-Sequence-Number-LE condition.", "docstring_tokens": ["Returns", "an", "access", "condition", "such", "that", "an", "operation", "will", "be", "performed", "only", "if", "resource", "s", "current", "sequence", "number", "is", "less", "than", "or", "equal", "to", "the", "specified", "value", ".", "This", "condition", "only", "applies", "to", "page", "blobs", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java#L136-L140", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java", "func_name": "AccessCondition.generateIfSequenceNumberLessThanCondition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an access condition such that an operation will be performed only if resource's current sequence\nnumber is less than the specified value. This condition only applies to page blobs.\n\n@param sequenceNumber\nThe value to compare to the current sequence number.\n\n@return An AccessCondition object that represents the If-Sequence-Number-LT condition.", "docstring_tokens": ["Returns", "an", "access", "condition", "such", "that", "an", "operation", "will", "be", "performed", "only", "if", "resource", "s", "current", "sequence", "number", "is", "less", "than", "the", "specified", "value", ".", "This", "condition", "only", "applies", "to", "page", "blobs", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java#L151-L155", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java", "func_name": "AccessCondition.generateIfSequenceNumberEqualCondition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an access condition such that an operation will be performed only if resource's current sequence\nnumber is equal to the specified value. This condition only applies to page blobs.\n\n@param sequenceNumber\nThe value to compare to the current sequence number.\n\n@return An AccessCondition object that represents the If-Sequence-Number-EQ condition.", "docstring_tokens": ["Returns", "an", "access", "condition", "such", "that", "an", "operation", "will", "be", "performed", "only", "if", "resource", "s", "current", "sequence", "number", "is", "equal", "to", "the", "specified", "value", ".", "This", "condition", "only", "applies", "to", "page", "blobs", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java#L166-L170", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java", "func_name": "AccessCondition.applyConditionToRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "RESERVED FOR INTERNAL USE. Applies the access conditions to the request.\n\n@param request\nA java.net.HttpURLConnection object that represents the request\nto which the condition is being applied.", "docstring_tokens": ["RESERVED", "FOR", "INTERNAL", "USE", ".", "Applies", "the", "access", "conditions", "to", "the", "request", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java#L284-L304", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java", "func_name": "AccessCondition.applySourceConditionToRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "RESERVED FOR INTERNAL USE. Applies the source access conditions to the request.\n\n@param request\nA java.net.HttpURLConnection object that represents the request\nto which the condition is being applied.", "docstring_tokens": ["RESERVED", "FOR", "INTERNAL", "USE", ".", "Applies", "the", "source", "access", "conditions", "to", "the", "request", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java#L313-L341", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java", "func_name": "AccessCondition.applyAppendConditionToRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "RESERVED FOR INTERNAL USE. Applies the access condition to the request.\n\n@param request\nA java.net.HttpURLConnection object that represents the request to which the condition is\nbeing applied.\n\n@throws StorageException\nIf there is an error parsing the date value of the access condition.", "docstring_tokens": ["RESERVED", "FOR", "INTERNAL", "USE", ".", "Applies", "the", "access", "condition", "to", "the", "request", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java#L353-L363", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java", "func_name": "AccessCondition.applyLeaseConditionToRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "RESERVED FOR INTERNAL USE. Applies the lease access condition to the request.\n\n@param request\nA java.net.HttpURLConnection object that represents the request\nto which the condition is being applied.", "docstring_tokens": ["RESERVED", "FOR", "INTERNAL", "USE", ".", "Applies", "the", "lease", "access", "condition", "to", "the", "request", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java#L372-L376", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java", "func_name": "AccessCondition.applySequenceConditionToRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "RESERVED FOR INTERNAL USE. Applies the sequence number access conditions to the request.\n\n@param request\nA java.net.HttpURLConnection object that represents the request\nto which the condition is being applied.", "docstring_tokens": ["RESERVED", "FOR", "INTERNAL", "USE", ".", "Applies", "the", "sequence", "number", "access", "conditions", "to", "the", "request", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java#L385-L403", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java", "func_name": "AccessCondition.verifyConditional", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "RESERVED FOR INTERNAL USE. Verifies the condition is satisfied.\n\n@param etag\nA String that represents the ETag to check.\n@param lastModified\nA java.util.Date object that represents the last modified date/time.\n\n@return true if the condition is satisfied; otherwise, false.", "docstring_tokens": ["RESERVED", "FOR", "INTERNAL", "USE", ".", "Verifies", "the", "condition", "is", "satisfied", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/AccessCondition.java#L620-L648", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableQuery.java", "func_name": "TableQuery.combineFilters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a filter condition using the specified logical operator on two filter conditions.\n\n@param filterA\nA String which specifies the first formatted filter condition.\n@param operator\nA String which specifies Operators.AND or Operators.OR.\n@param filterB\nA String which specifies the first formatted filter condition.\n@return\nA String which represents the combined filter expression.", "docstring_tokens": ["Creates", "a", "filter", "condition", "using", "the", "specified", "logical", "operator", "on", "two", "filter", "conditions", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableQuery.java#L439-L441", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/ServiceClient.java", "func_name": "ServiceClient.setStorageUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the list of URIs for all locations.\n\n@param storageUri\nA {@link StorageUri} object which represents the list of URIs for all locations.", "docstring_tokens": ["Sets", "the", "list", "of", "URIs", "for", "all", "locations", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/ServiceClient.java#L214-L217", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/SharedAccessPolicySerializer.java", "func_name": "SharedAccessPolicySerializer.writeSharedAccessIdentifiersToStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "RESERVED FOR INTERNAL USE. Writes a collection of shared access policies to the specified stream in XML format.\n\n@param \n\n@param sharedAccessPolicies\nA collection of shared access policies\n@param outWriter\na sink to write the output to.\n@throws IOException\nif there is an error writing the shared access identifiers.\n@throws IllegalStateException\nif there is an error writing the shared access identifiers.\n@throws IllegalArgumentException\nif there is an error writing the shared access identifiers.", "docstring_tokens": ["RESERVED", "FOR", "INTERNAL", "USE", ".", "Writes", "a", "collection", "of", "shared", "access", "policies", "to", "the", "specified", "stream", "in", "XML", "format", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/SharedAccessPolicySerializer.java#L47-L96", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueMessageSerializer.java", "func_name": "QueueMessageSerializer.generateMessageRequestBody", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates the message request body from a string containing the message.\nThe message must be encodable as UTF-8. To be included in a web request,\nthis message request body must be written to the output stream of the web\nrequest.\n\n@param message\nA String containing the message to wrap in a message request body.\n\n@return An array of byte containing the message request body\nencoded as UTF-8.\n@throws IOException\nif there is an error writing the queue message.\n@throws IllegalStateException\nif there is an error writing the queue message.\n@throws IllegalArgumentException\nif there is an error writing the queue message.", "docstring_tokens": ["Generates", "the", "message", "request", "body", "from", "a", "string", "containing", "the", "message", ".", "The", "message", "must", "be", "encodable", "as", "UTF", "-", "8", ".", "To", "be", "included", "in", "a", "web", "request", "this", "message", "request", "body", "must", "be", "written", "to", "the", "output", "stream", "of", "the", "web", "request", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueMessageSerializer.java#L48-L66", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Canonicalizer.java", "func_name": "Canonicalizer.addCanonicalizedHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add x-ms- prefixed headers in a fixed order.\n\n@param conn\nthe HttpURLConnection for the operation\n@param canonicalizedString\nthe canonicalized string to add the canonicalized headerst to.", "docstring_tokens": ["Add", "x", "-", "ms", "-", "prefixed", "headers", "in", "a", "fixed", "order", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Canonicalizer.java#L60-L107", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Canonicalizer.java", "func_name": "Canonicalizer.appendCanonicalizedElement", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append a string to a string builder with a newline constant\n\n@param builder\nthe StringBuilder object\n@param element\nthe string to append.", "docstring_tokens": ["Append", "a", "string", "to", "a", "string", "builder", "with", "a", "newline", "constant"], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Canonicalizer.java#L117-L120", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Canonicalizer.java", "func_name": "Canonicalizer.canonicalizeHttpRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a canonicalized string from the request's headers that will be used to construct the signature string\nfor signing a Blob or Queue service request under the Shared Key Full authentication scheme.\n\n@param address\nthe request URI\n@param accountName\nthe account name associated with the request\n@param method\nthe verb to be used for the HTTP request.\n@param contentType\nthe content type of the HTTP request.\n@param contentLength\nthe length of the content written to the outputstream in bytes, -1 if unknown\n@param date\nthe date/time specification for the HTTP request\n@param conn\nthe HttpURLConnection for the operation.\n@return A canonicalized string.\n@throws StorageException", "docstring_tokens": ["Constructs", "a", "canonicalized", "string", "from", "the", "request", "s", "headers", "that", "will", "be", "used", "to", "construct", "the", "signature", "string", "for", "signing", "a", "Blob", "or", "Queue", "service", "request", "under", "the", "Shared", "Key", "Full", "authentication", "scheme", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Canonicalizer.java#L143-L185", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Canonicalizer.java", "func_name": "Canonicalizer.canonicalizeTableHttpRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a canonicalized string that will be used to construct the signature string\nfor signing a Table service request under the Shared Key authentication scheme.\n\n@param address\nthe request URI\n@param accountName\nthe account name associated with the request\n@param method\nthe verb to be used for the HTTP request.\n@param contentType\nthe content type of the HTTP request.\n@param contentLength\nthe length of the content written to the outputstream in bytes, -1 if unknown\n@param date\nthe date/time specification for the HTTP request\n@param conn\nthe HttpURLConnection for the operation.\n@return A canonicalized string.\n@throws StorageException", "docstring_tokens": ["Constructs", "a", "canonicalized", "string", "that", "will", "be", "used", "to", "construct", "the", "signature", "string", "for", "signing", "a", "Table", "service", "request", "under", "the", "Shared", "Key", "authentication", "scheme", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Canonicalizer.java#L208-L235", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageCredentialsHelper.java", "func_name": "StorageCredentialsHelper.computeHmac256", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes a signature for the specified string using the HMAC-SHA256 algorithm.\n\n@param value\nThe UTF-8-encoded string to sign.\n\n@return A String that contains the HMAC-SHA256-encoded signature.\n\n@throws InvalidKeyException\nIf the key is not a valid Base64-encoded string.", "docstring_tokens": ["Computes", "a", "signature", "for", "the", "specified", "string", "using", "the", "HMAC", "-", "SHA256", "algorithm", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageCredentialsHelper.java#L66-L80", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageCredentialsHelper.java", "func_name": "StorageCredentialsHelper.signTableRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Signs a request using the specified operation context under the Shared Key authentication scheme.\n\n@param request\nAn HttpURLConnection object that represents the request to sign.\n@param contentLength\nThe length of the content written to the output stream. If unknown, specify -1.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws InvalidKeyException\nIf the given key is invalid.\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Signs", "a", "request", "using", "the", "specified", "operation", "context", "under", "the", "Shared", "Key", "authentication", "scheme", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageCredentialsHelper.java#L136-L153", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.getFirstOrNull", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the first message from a list of queue messages, if any.\n\n@param messages\nThe Iterable collection of {@link CloudQueueMessage} objects to get the first message\nfrom.\n\n@return The first {@link CloudQueueMessage} from the list of queue messages, or null if the list is\nempty.", "docstring_tokens": ["Gets", "the", "first", "message", "from", "a", "list", "of", "queue", "messages", "if", "any", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L67-L73", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.addMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a message to the back of the queue with the specified options.\n\n@param message\nA {@link CloudQueueMessage} object that specifies the message to add.\nThe message object is modified to include the message ID and pop receipt,\nand can be used in subsequent calls to updateMessage and deleteMessage.\n\n@param timeToLiveInSeconds\nThe maximum time to allow the message to be in the queue. A value of zero will set the time-to-live to\nthe service default value of seven days.\n\n@param initialVisibilityDelayInSeconds\nThe length of time during which the message will be invisible, starting when it is added to the queue,\nor 0 to make the message visible immediately. This value must be greater than or equal to zero and\nless than or equal to the time-to-live value.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Adds", "a", "message", "to", "the", "back", "of", "the", "queue", "with", "the", "specified", "options", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L245-L269", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clears all messages from the queue, using the specified request options and operation context.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Clears", "all", "messages", "from", "the", "queue", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L365-L376", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the queue, using the specified request options and operation context.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Creates", "the", "queue", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L435-L446", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.createIfNotExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the queue if it does not already exist, using the specified request options and operation context.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return A value of true if the queue is created in the storage service, otherwise false\n.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Creates", "the", "queue", "if", "it", "does", "not", "already", "exist", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L518-L541", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes the queue, using the specified request options and operation context.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Deletes", "the", "queue", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L569-L580", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.deleteIfExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes the queue if it exists, using the specified request options and operation context.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return A value of true if the queue existed in the storage service and has been deleted, otherwise\nfalse.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Deletes", "the", "queue", "if", "it", "exists", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L645-L669", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.deleteMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes the specified message from the queue, using the specified request options and operation context.\n\n@param message\nA {@link CloudQueueMessage} object that specifies the message to delete.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Deletes", "the", "specified", "message", "from", "the", "queue", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L704-L720", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.downloadAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Downloads the queue's metadata and approximate message count value, using the specified request options and\noperation context.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueue}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Downloads", "the", "queue", "s", "metadata", "and", "approximate", "message", "count", "value", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L785-L796", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.exists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a value that indicates whether the queue existse, using the specified request options and operation\ncontext.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return true if the queue exists in the storage service, otherwise false.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Returns", "a", "value", "that", "indicates", "whether", "the", "queue", "existse", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L868-L871", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.peekMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Peeks a message from the queue, using the specified request options and operation context. A peek request\nretrieves a message from the front of the queue without changing its visibility.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return An {@link CloudQueueMessage} object that represents the requested message from the queue.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Peeks", "a", "message", "from", "the", "queue", "using", "the", "specified", "request", "options", "and", "operation", "context", ".", "A", "peek", "request", "retrieves", "a", "message", "from", "the", "front", "of", "the", "queue", "without", "changing", "its", "visibility", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L1062-L1066", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.peekMessages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Peeks a specified number of messages from the queue. A peek request retrieves messages from the front of the\nqueue without changing their visibility.\n\n@param numberOfMessages\nThe number of messages to retrieve.\n\n@return An enumerable collection of {@link CloudQueueMessage} objects that represents the requested messages from\nthe queue.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Peeks", "a", "specified", "number", "of", "messages", "from", "the", "queue", ".", "A", "peek", "request", "retrieves", "messages", "from", "the", "front", "of", "the", "queue", "without", "changing", "their", "visibility", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L1081-L1084", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.peekMessages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Peeks a set of messages from the queue, using the specified request options and operation context. A peek request\nretrieves messages from the front of the queue without changing their visibility.\n\n@param numberOfMessages\nThe number of messages to retrieve.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return An enumerable collection of {@link CloudQueueMessage} objects that represents the requested messages from\nthe queue.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Peeks", "a", "set", "of", "messages", "from", "the", "queue", "using", "the", "specified", "request", "options", "and", "operation", "context", ".", "A", "peek", "request", "retrieves", "messages", "from", "the", "front", "of", "the", "queue", "without", "changing", "their", "visibility", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L1108-L1122", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.retrieveMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves a message from the front of the queue, using the specified request options and operation context. This\noperation marks the retrieved message as invisible in the queue for the specified visibility timeout period.\n\n@param visibilityTimeoutInSeconds\nSpecifies the visibility timeout for the message, in seconds.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return An {@link CloudQueueMessage} object that represents a message in this queue.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Retrieves", "a", "message", "from", "the", "front", "of", "the", "queue", "using", "the", "specified", "request", "options", "and", "operation", "context", ".", "This", "operation", "marks", "the", "retrieved", "message", "as", "invisible", "in", "the", "queue", "for", "the", "specified", "visibility", "timeout", "period", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L1202-L1206", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.retrieveMessages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves the specified number of messages from the front of the queue using the default request options. This\noperation marks the retrieved messages as invisible in the queue for the default visibility timeout period.\n\n@param numberOfMessages\nThe number of messages to retrieve.\n\n@return An enumerable collection of {@link CloudQueueMessage} objects that represents the retrieved messages from\nthe queue.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Retrieves", "the", "specified", "number", "of", "messages", "from", "the", "front", "of", "the", "queue", "using", "the", "default", "request", "options", ".", "This", "operation", "marks", "the", "retrieved", "messages", "as", "invisible", "in", "the", "queue", "for", "the", "default", "visibility", "timeout", "period", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L1221-L1225", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.retrieveMessages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves the specified number of messages from the front of the queue using the specified request options and\noperation context. This operation marks the retrieved messages as invisible in the queue for the default\nvisibility timeout period.\n\n@param numberOfMessages\nThe number of messages to retrieve.\n\n@param visibilityTimeoutInSeconds\nSpecifies the visibility timeout for the retrieved messages, in seconds.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return An enumerable collection of {@link CloudQueueMessage} objects that represents the messages retrieved from\nthe queue.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Retrieves", "the", "specified", "number", "of", "messages", "from", "the", "front", "of", "the", "queue", "using", "the", "specified", "request", "options", "and", "operation", "context", ".", "This", "operation", "marks", "the", "retrieved", "messages", "as", "invisible", "in", "the", "queue", "for", "the", "default", "visibility", "timeout", "period", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L1253-L1271", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.updateMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the specified message in the queue with a new visibility timeout value in seconds.\n\n@param message\nThe {@link CloudQueueMessage} to update in the queue.\n\n@param visibilityTimeoutInSeconds\nSpecifies the new visibility timeout for the message, in seconds.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Updates", "the", "specified", "message", "in", "the", "queue", "with", "a", "new", "visibility", "timeout", "value", "in", "seconds", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L1343-L1347", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.updateMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates a message in the queue, using the specified request options and operation context.\n\n@param message\nThe {@link CloudQueueMessage} to update in the queue.\n\n@param visibilityTimeoutInSeconds\nSpecifies the new visibility timeout for the message, in seconds.\n\n@param messageUpdateFields\nAn EnumSet of {@link MessageUpdateFields} values that specifies which parts of the\nmessage are to be updated.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Updates", "a", "message", "in", "the", "queue", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L1375-L1396", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.uploadPermissions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uploads the queue's permissions using the specified request options and operation context.\n\n@param permissions\nA {@link QueuePermissions} object that represents the permissions to upload.\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Uploads", "the", "queue", "s", "permissions", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L1579-L1591", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.downloadPermissions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Downloads the permissions settings for the queue using the specified request options and operation context.\n\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudQueueClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return A {@link QueuePermissions} object that represents the container's permissions.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Downloads", "the", "permissions", "settings", "for", "the", "queue", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L1682-L1694", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java", "func_name": "CloudQueue.getTransformedAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the transformed URI for the resource if the given credentials require transformation.\n\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return A java.net.URI object that represents the transformed URI.\n\n@throws IllegalArgumentException\nIf the URI is not absolute.\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException\nIf the resource URI is invalid.", "docstring_tokens": ["Returns", "the", "transformed", "URI", "for", "the", "resource", "if", "the", "given", "credentials", "require", "transformation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueue.java#L1843-L1846", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/CloudAnalyticsClient.java", "func_name": "CloudAnalyticsClient.getHourMetricsTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the hour metrics table for a specific storage service.\n\n@param service\nA {@link StorageService} enumeration value that indicates which storage service to use.\n@param location\nA {@link StorageLocation} enumeration value that indicates which storage location to use.\n@return\nThe {@link CloudTable} object for the storage service.\n@throws URISyntaxException\n@throws StorageException", "docstring_tokens": ["Gets", "the", "hour", "metrics", "table", "for", "a", "specific", "storage", "service", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/CloudAnalyticsClient.java#L126-L177", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/CloudAnalyticsClient.java", "func_name": "CloudAnalyticsClient.getMinuteMetricsTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the minute metrics table for a specific storage service.\n\n@param service\nA {@link StorageService} enumeration value that indicates which storage service to use.\n@param location\nA {@link StorageLocation} enumeration value that indicates which storage location to use.\n@return\nThe CloudTable object for the storage service.\n@throws URISyntaxException\n@throws StorageException", "docstring_tokens": ["Gets", "the", "minute", "metrics", "table", "for", "a", "specific", "storage", "service", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/CloudAnalyticsClient.java#L205-L252", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueMessage.java", "func_name": "CloudQueueMessage.getMessageContentAsByte", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the content of the message as a byte array.\n\n@return A byte array which contains the content of the message.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Gets", "the", "content", "of", "the", "message", "as", "a", "byte", "array", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueMessage.java#L144-L160", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueMessage.java", "func_name": "CloudQueueMessage.getMessageContentAsString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the content of the message as a string.\n\n@return A String which contains the content of the message.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Gets", "the", "content", "of", "the", "message", "as", "a", "string", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueMessage.java#L170-L186", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileListHandler.java", "func_name": "FileListHandler.getFileAndDirectoryList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse and return the response.\n\n@param stream\n@param directory\n@return\n@throws ParserConfigurationException\n@throws SAXException\n@throws IOException", "docstring_tokens": ["Parse", "and", "return", "the", "response", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileListHandler.java#L66-L73", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableRequest.java", "func_name": "TableRequest.applyContinuationToQueryBuilder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Adds continuation token values to the specified query builder, if set.\n\n@param builder\nThe {@link UriQueryBuilder} object to apply the continuation token properties to.\n@param continuationToken\nThe {@link ResultContinuation} object containing the continuation token values to apply to the query\nbuilder. Specify null if no continuation token values are set.\n\n@throws StorageException\nif an error occurs in accessing the query builder or continuation token.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Adds", "continuation", "token", "values", "to", "the", "specified", "query", "builder", "if", "set", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableRequest.java#L48-L63", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableRequest.java", "func_name": "TableRequest.merge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Constructs an HttpURLConnection to perform a merge operation.\n\n@param rootUri\nA java.net.URI containing an absolute URI to the resource.\n@param tableOptions\nA {@link TableRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudTableClient}.\n@param queryBuilder\nThe {@link UriQueryBuilder} for the operation.\n@param opContext\nAn {@link OperationContext} object for tracking the current operation. Specify null to\nsafely ignore operation context.\n@param tableName\nThe name of the table.\n@param identity\nThe identity of the entity. The resulting request will be formatted as /tableName(identity) if not\nnull or empty.\n@param eTag\nThe etag of the entity.\n@return\nAn HttpURLConnection to use to perform the operation.\n\n@throws IOException\nif there is an error opening the connection.\n@throws URISyntaxException\nif the resource URI is invalid.\n@throws StorageException\nif a storage service error occurred during the operation.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Constructs", "an", "HttpURLConnection", "to", "perform", "a", "merge", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableRequest.java#L306-L314", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableRequest.java", "func_name": "TableRequest.query", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Constructs an HttpURLConnection to perform a single entity query operation.\n\n@param rootUri\nA java.net.URI containing an absolute URI to the resource.\n@param tableOptions\nA {@link TableRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudTableClient}.\n@param queryBuilder\nThe {@link UriQueryBuilder} for the operation.\n@param opContext\nAn {@link OperationContext} object for tracking the current operation. Specify null to\nsafely ignore operation context.\n@param tableName\nThe name of the table.\n@param identity\nThe identity of the entity. The resulting request will be formatted as /tableName(identity) if not\nnull or empty.\n@return\nAn HttpURLConnection to use to perform the operation.\n\n@throws IOException\nif there is an error opening the connection.\n@throws URISyntaxException\nif the resource URI is invalid.\n@throws StorageException\nif a storage service error occurred during the operation.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Constructs", "an", "HttpURLConnection", "to", "perform", "a", "single", "entity", "query", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableRequest.java#L345-L358", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableRequest.java", "func_name": "TableRequest.update", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Constructs an HttpURLConnection to perform an update operation.\n\n@param rootUri\nA java.net.URI containing an absolute URI to the resource.\n@param tableOptions\nA {@link TableRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudTableClient}.\n@param queryBuilder\nThe {@link UriQueryBuilder} for the operation.\n@param opContext\nAn {@link OperationContext} object for tracking the current operation. Specify null to\nsafely ignore operation context.\n@param tableName\nThe name of the table.\n@param identity\nA String representing the identity of the entity. The resulting request will be formatted\nusing /tableName(identity) if identity is not >code>null or empty.\n@param eTag\nThe etag of the entity.\n@return\nAn HttpURLConnection to use to perform the operation.\n\n@throws IOException\nif there is an error opening the connection.\n@throws URISyntaxException\nif the resource URI is invalid.\n@throws StorageException\nif a storage service error occurred during the operation.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Constructs", "an", "HttpURLConnection", "to", "perform", "an", "update", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableRequest.java#L391-L399", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableRequest.java", "func_name": "TableRequest.setAcl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the ACL for the table. Sign with length of aclBytes.\n\n@param rootUri\nA java.net.URI containing an absolute URI to the resource.\n@param tableOptions\nA {@link TableRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudTableClient}.\n@param opContext\nAn {@link OperationContext} object for tracking the current operation. Specify null to\nsafely ignore operation context.\n\n@return a HttpURLConnection configured for the operation.\n@throws StorageException", "docstring_tokens": ["Sets", "the", "ACL", "for", "the", "table", ".", "Sign", "with", "length", "of", "aclBytes", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableRequest.java#L417-L429", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesSerializer.java", "func_name": "ServicePropertiesSerializer.serializeToByteArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the contents of the ServiceProperties to the stream in xml format.\n\n@return a byte array of the content to write to the stream.\n@throws IOException\nif there is an error writing the service properties.\n@throws IllegalStateException\nif there is an error writing the service properties.\n@throws IllegalArgumentException\nif there is an error writing the service properties.", "docstring_tokens": ["Writes", "the", "contents", "of", "the", "ServiceProperties", "to", "the", "stream", "in", "xml", "format", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesSerializer.java#L42-L85", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesSerializer.java", "func_name": "ServicePropertiesSerializer.writeRetentionPolicy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the retention policy to the XMLStreamWriter.\n\n@param xmlw\nthe XMLStreamWriter to write to.\n@param val\nthe nullable Integer indicating if the retention policy is enabled, and how long\n@throws IOException\nif there is an error writing the service properties.\n@throws IllegalStateException\nif there is an error writing the service properties.\n@throws IllegalArgumentException\nif there is an error writing the service properties.", "docstring_tokens": ["Writes", "the", "retention", "policy", "to", "the", "XMLStreamWriter", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesSerializer.java#L101-L116", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesSerializer.java", "func_name": "ServicePropertiesSerializer.writeCorsProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the given CORS properties to the XMLStreamWriter.\n\n@param xmlw\nthe XMLStreamWriter to write to.\n@param cors\nthe CORS Properties to be written.\n@throws IOException\nif there is an error writing the service properties.\n@throws IllegalStateException\nif there is an error writing the service properties.\n@throws IllegalArgumentException\nif there is an error writing the service properties.", "docstring_tokens": ["Writes", "the", "given", "CORS", "properties", "to", "the", "XMLStreamWriter", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesSerializer.java#L132-L167", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesSerializer.java", "func_name": "ServicePropertiesSerializer.writeMetricsProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the given metrics properties to the XMLStreamWriter.\n\n@param xmlw\nthe XMLStreamWriter to write to.\n@param metrics\nthe metrics properties to be written.\n@param metricsName\nthe type of metrics properties to be written (Hour or Minute)\n@throws IOException\nif there is an error writing the service properties.\n@throws IllegalStateException\nif there is an error writing the service properties.\n@throws IllegalArgumentException\nif there is an error writing the service properties.", "docstring_tokens": ["Writes", "the", "given", "metrics", "properties", "to", "the", "XMLStreamWriter", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesSerializer.java#L185-L210", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesSerializer.java", "func_name": "ServicePropertiesSerializer.writeLoggingProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the given logging properties to the XMLStreamWriter.\n\n@param xmlw\nthe XMLStreamWriter to write to.\n@param cors\nthe logging properties to be written.\n@throws IOException\nif there is an error writing the service properties.\n@throws IllegalStateException\nif there is an error writing the service properties.\n@throws IllegalArgumentException\nif there is an error writing the service properties.", "docstring_tokens": ["Writes", "the", "given", "logging", "properties", "to", "the", "XMLStreamWriter", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesSerializer.java#L226-L253", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.abortCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a web request to abort a copy operation.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nThe access condition to apply to the request. Only lease conditions are supported for this operation.\n@param copyId\nA String object that identifying the copy operation.\n@return a HttpURLConnection configured for the operation.\n@throws StorageException\nAn exception representing any error which occurred during the operation.\n@throws IllegalArgumentException\n@throws IOException\n@throws URISyntaxException", "docstring_tokens": ["Generates", "a", "web", "request", "to", "abort", "a", "copy", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L68-L91", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.addShareSnapshot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the share snapshot if present.\nOnly for listing files and directories which requires a different query param.\n\n@param builder\na query builder.\n@param snapshotVersion\nthe share snapshot version to the query builder.\n@throws StorageException", "docstring_tokens": ["Adds", "the", "share", "snapshot", "if", "present", ".", "Only", "for", "listing", "files", "and", "directories", "which", "requires", "a", "different", "query", "param", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L134-L139", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.copyFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a request to copy a file, Sign with 0 length.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param source\nThe canonical path to the source file,\nin the form ////.\n@param sourceAccessConditionType\nA type of condition to check on the source file.\n@param sourceAccessConditionValue\nThe value of the condition to check on the source file\n@return a HttpURLConnection configured for the operation.\n@throws StorageException\nan exception representing any error which occurred during the operation.\n@throws IllegalArgumentException\n@throws IOException\n@throws URISyntaxException", "docstring_tokens": ["Creates", "a", "request", "to", "copy", "a", "file", "Sign", "with", "0", "length", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L168-L190", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.createShare", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to create a new share. Sign with 0 length.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param properties\nThe properties to set for the share.\n@return a HttpURLConnection configured for the operation.\n@throws StorageException\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "create", "a", "new", "share", ".", "Sign", "with", "0", "length", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L225-L232", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.deleteShare", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to delete the share and all of the directories and files within it. Sign with no length\nspecified.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the share.\n@return a HttpURLConnection configured for the operation.\n@throws StorageException\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "delete", "the", "share", "and", "all", "of", "the", "directories", "and", "files", "within", "it", ".", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L290-L313", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.getAcl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to return the ACL for this share. Sign with no length specified.\n\n@param uri\nThe absolute URI to the share.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the share.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@return a HttpURLConnection configured for the operation.\n@throws StorageException", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "return", "the", "ACL", "for", "this", "share", ".", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L333-L348", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.getFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a HttpURLConnection to download the file, Sign with no length specified.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the file.\n@param snapshotVersion\nThe snapshot version, if the share is a snapshot.\n@param offset\nThe offset at which to begin returning content.\n@param count\nThe number of bytes to return.\n@param requestRangeContentMD5\nIf set to true, request an MD5 header for the specified range.\n@return a HttpURLConnection to use to perform the operation.\n@throws IOException\nif there is an error opening the connection\n@throws URISyntaxException\nif the resource URI is invalid\n@throws StorageException\nan exception representing any error which occurred during the operation.\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "HttpURLConnection", "to", "download", "the", "file", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L382-L419", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.getFileProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a HttpURLConnection to return the file's system properties, Sign with no length specified.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the file.\n@return a HttpURLConnection to use to perform the operation.\n@param snapshotVersion\nthe snapshot version to the query builder.\n@throws IOException\nif there is an error opening the connection\n@throws URISyntaxException\nif the resource URI is invalid\n@throws StorageException\nan exception representing any error which occurred during the operation.\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "HttpURLConnection", "to", "return", "the", "file", "s", "system", "properties", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L447-L452", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.getFileRanges", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a HttpURLConnection to return a list of the file's file ranges. Sign with no length specified.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the file.\n@return a HttpURLConnection to use to perform the operation.\n@throws IOException\nif there is an error opening the connection\n@throws URISyntaxException\nif the resource URI is invalid\n@throws StorageException\nan exception representing any error which occurred during the operation.\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "HttpURLConnection", "to", "return", "a", "list", "of", "the", "file", "s", "file", "ranges", ".", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L478-L494", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.getShareProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to return the user-defined metadata for this share. Sign with no length specified.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the share.\n@param snapshotVersion\nthe snapshot version to the query builder.\n@return a HttpURLConnection configured for the operation.\n@throws StorageException", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "return", "the", "user", "-", "defined", "metadata", "for", "this", "share", ".", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L516-L522", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.getShareStats", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to return the stats, such as usage, for this share. Sign with no length specified.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param options\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return a HttpURLConnection configured for the operation.\n@throws StorageException", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "return", "the", "stats", "such", "as", "usage", "for", "this", "share", ".", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L541-L551", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.getShareUriQueryBuilder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the share Uri query builder.\n\nA UriQueryBuilder for the share.\n\n@throws StorageException", "docstring_tokens": ["Gets", "the", "share", "Uri", "query", "builder", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L560-L569", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.getProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to return the user-defined metadata. Sign with no length specified.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the share.\n@param snapshotVersion\nthe snapshot version to the query builder.\n@return a HttpURLConnection configured for the operation.\n@throws StorageException", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "return", "the", "user", "-", "defined", "metadata", ".", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L609-L621", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.listShares", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a request to return a listing of all shares in this storage account. Sign with no length\nspecified.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param listingContext\nA set of parameters for the listing operation.\n@param detailsIncluded\nA java.util.EnumSet object that contains {@link ShareListingDetails} values that indicate\nwhether share snapshots and/or metadata will be returned.\n@return a HttpURLConnection configured for the operation.\n@throws IOException\n@throws URISyntaxException\n@throws StorageException\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "request", "to", "return", "a", "listing", "of", "all", "shares", "in", "this", "storage", "account", ".", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L648-L679", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.setShareMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to set user-defined metadata for the share, Sign with 0 Length.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the share.\n@return a HttpURLConnection configured for the operation.\n@throws StorageException", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "set", "user", "-", "defined", "metadata", "for", "the", "share", "Sign", "with", "0", "Length", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L699-L704", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.setDirectoryMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to set user-defined metadata for the directory, Sign with 0 Length.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the directory.\n@return a HttpURLConnection configured for the operation.\n@throws IOException\nif there is an error opening the connection\n@throws URISyntaxException\nif the resource URI is invalid\n@throws StorageException\nan exception representing any error which occurred during the operation.", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "set", "user", "-", "defined", "metadata", "for", "the", "directory", "Sign", "with", "0", "Length", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L729-L734", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.createDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to create a new directory. Sign with 0 length.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@return a HttpURLConnection configured for the operation.\n@throws StorageException\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "create", "a", "new", "directory", ".", "Sign", "with", "0", "length", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L753-L757", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.deleteDirectory", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to delete the directory and all of the directories and files within it. Sign with no\nlength\nspecified.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the directory.\n@return a HttpURLConnection configured for the operation.\n@throws StorageException\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "delete", "the", "directory", "and", "all", "of", "the", "directories", "and", "files", "within", "it", ".", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L780-L790", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.getDirectoryProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to return the properties for this directory. Sign with no length specified.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the directory.\n@param snapshotVersion\nthe snapshot version to the query builder.\n@return a HttpURLConnection configured for the operation.\n@throws StorageException", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "return", "the", "properties", "for", "this", "directory", ".", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L812-L817", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.listFilesAndDirectories", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a request to return a listing of all files and directories in this storage account. Sign with no\nlength specified.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param listingContext\nA set of parameters for the listing operation.\n@param snapshotVersion\nthe snapshot version to the query builder.\n@return a HttpURLConnection configured for the operation.\n@throws IOException\n@throws URISyntaxException\n@throws StorageException\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "request", "to", "return", "a", "listing", "of", "all", "files", "and", "directories", "in", "this", "storage", "account", ".", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L843-L870", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.putFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a HttpURLConnection to upload a file.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the file.\n@param properties\nThe properties to set for the file.\n@param fileSize\nThe size of the file.\n@return a HttpURLConnection to use to perform the operation.\n@throws IOException\nif there is an error opening the connection\n@throws URISyntaxException\nif the resource URI is invalid\n@throws StorageException\nan exception representing any error which occurred during the operation.\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "HttpURLConnection", "to", "upload", "a", "file", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L900-L924", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.putRange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a HttpURLConnection to upload a file range. Sign with file size for update, or 0 for clear.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the file.\n@param range\na {link @FileRange} representing the file range\n@param operationType\na {link @FileRangeOperationType} enumeration value representing the file range operation type.\n\n@return a HttpURLConnection to use to perform the operation.\n@throws IOException\nif there is an error opening the connection\n@throws URISyntaxException\nif the resource URI is invalid\n@throws StorageException\nan exception representing any error which occurred during the operation.\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "HttpURLConnection", "to", "upload", "a", "file", "range", ".", "Sign", "with", "file", "size", "for", "update", "or", "0", "for", "clear", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L955-L979", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.resize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a HttpURLConnection to set the file's size, Sign with zero length specified.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the file.\n@param newFileSize\nThe new file size. Set this parameter to null to keep the existing file size.\n@return a HttpURLConnection to use to perform the operation.\n@throws IOException\nif there is an error opening the connection\n@throws URISyntaxException\nif the resource URI is invalid\n@throws StorageException\nan exception representing any error which occurred during the operation.\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "HttpURLConnection", "to", "set", "the", "file", "s", "size", "Sign", "with", "zero", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L1056-L1066", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.setMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a HttpURLConnection to set metadata, Sign with 0 length.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions.\n@return a HttpURLConnection to use to perform the operation.\n@throws IOException\nif there is an error opening the connection\n@throws URISyntaxException\nif the resource URI is invalid\n@throws StorageException\nan exception representing any error which occurred during the operation.\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "HttpURLConnection", "to", "set", "metadata", "Sign", "with", "0", "length", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L1128-L1138", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.setFileMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a HttpURLConnection to set the file's metadata, Sign with 0 length.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the file.\n@return a HttpURLConnection to use to perform the operation.\n@throws IOException\nif there is an error opening the connection\n@throws URISyntaxException\nif the resource URI is invalid\n@throws StorageException\nan exception representing any error which occurred during the operation.\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "HttpURLConnection", "to", "set", "the", "file", "s", "metadata", "Sign", "with", "0", "length", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L1164-L1168", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.snapshotShare", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a HttpURLConnection to create a snapshot of the share.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the share.\n@return a HttpURLConnection to use to perform the operation.\n@throws IOException\nif there is an error opening the connection\n@throws URISyntaxException\nif the resource URI is invalid\n@throws StorageException\nan exception representing any error which occurred during the operation.\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "HttpURLConnection", "to", "create", "a", "snapshot", "of", "the", "share", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L1194-L1211", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java", "func_name": "FileRequest.setFileProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a HttpURLConnection to set the file's properties, Sign with zero length specified.\n\n@param uri\nA java.net.URI object that specifies the absolute URI.\n@param fileOptions\nA {@link FileRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudFileClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the file.\n@param properties\nThe properties to upload.\n@return a HttpURLConnection to use to perform the operation.\n@throws IOException\nif there is an error opening the connection\n@throws URISyntaxException\nif the resource URI is invalid\n@throws StorageException\nan exception representing any error which occurred during the operation.\n@throws IllegalArgumentException", "docstring_tokens": ["Constructs", "a", "HttpURLConnection", "to", "set", "the", "file", "s", "properties", "Sign", "with", "zero", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileRequest.java#L1239-L1260", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileInputStream.java", "func_name": "FileInputStream.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes this input stream and releases any system resources associated with the stream.\n\n@throws IOException\nIf an I/O error occurs.", "docstring_tokens": ["Closes", "this", "input", "stream", "and", "releases", "any", "system", "resources", "associated", "with", "the", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileInputStream.java#L221-L226", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileInputStream.java", "func_name": "FileInputStream.dispatchRead", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dispatches a read operation of N bytes.\n\n@param readLength\nAn int which represents the number of bytes to read.\n\n@throws IOException\nIf an I/O error occurs.", "docstring_tokens": ["Dispatches", "a", "read", "operation", "of", "N", "bytes", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileInputStream.java#L237-L262", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileInputStream.java", "func_name": "FileInputStream.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads the next byte of data from the input stream. The value byte is returned as an int in the range 0 to 255. If\nno byte is available because the end of the stream has been reached, the value -1 is returned. This method blocks\nuntil input data is available, the end of the stream is detected, or an exception is thrown.\n\n@return An int which represents the total number of bytes read into the buffer, or -1 if\nthere is no more data because the end of the stream has been reached.\n\n@throws IOException\nIf an I/O error occurs.", "docstring_tokens": ["Reads", "the", "next", "byte", "of", "data", "from", "the", "input", "stream", ".", "The", "value", "byte", "is", "returned", "as", "an", "int", "in", "the", "range", "0", "to", "255", ".", "If", "no", "byte", "is", "available", "because", "the", "end", "of", "the", "stream", "has", "been", "reached", "the", "value", "-", "1", "is", "returned", ".", "This", "method", "blocks", "until", "input", "data", "is", "available", "the", "end", "of", "the", "stream", "is", "detected", "or", "an", "exception", "is", "thrown", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileInputStream.java#L302-L317", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileInputStream.java", "func_name": "FileInputStream.readInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Performs internal read to the given byte buffer.\n\n@param b\nA byte array which represents the buffer into which the data is read.\n@param off\nAn int which represents the start offset in the byte array b at\nwhich the data is written.\n@param len\nAn int which represents the maximum number of bytes to read.\n\n@return An int which represents the total number of bytes read into the buffer, or -1 if\nthere is no more data because the end of the stream has been reached.\n\n@throws IOException\nIf the first byte cannot be read for any reason other than end of file, or if the input stream has\nbeen closed, or if some other I/O error occurs.", "docstring_tokens": ["Performs", "internal", "read", "to", "the", "given", "byte", "buffer", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileInputStream.java#L426-L472", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileInputStream.java", "func_name": "FileInputStream.reset", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Repositions this stream to the position at the time the mark method was last called on this input stream. Note\nrepositioning the file read stream will disable file MD5 checking.\n\n@throws IOException\nIf this stream has not been marked or if the mark has been invalidated.", "docstring_tokens": ["Repositions", "this", "stream", "to", "the", "position", "at", "the", "time", "the", "mark", "method", "was", "last", "called", "on", "this", "input", "stream", ".", "Note", "repositioning", "the", "file", "read", "stream", "will", "disable", "file", "MD5", "checking", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileInputStream.java#L492-L501", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileInputStream.java", "func_name": "FileInputStream.skip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Skips over and discards n bytes of data from this input stream. The skip method may, for a variety of reasons,\nend up skipping over some smaller number of bytes, possibly 0. This may result from any of a number of\nconditions; reaching end of file before n bytes have been skipped is only one possibility. The actual number of\nbytes skipped is returned. If n is negative, no bytes are skipped.\n\nNote repositioning the file read stream will disable file MD5 checking.\n\n@param n\nA long which represents the number of bytes to skip.", "docstring_tokens": ["Skips", "over", "and", "discards", "n", "bytes", "of", "data", "from", "this", "input", "stream", ".", "The", "skip", "method", "may", "for", "a", "variety", "of", "reasons", "end", "up", "skipping", "over", "some", "smaller", "number", "of", "bytes", "possibly", "0", ".", "This", "may", "result", "from", "any", "of", "a", "number", "of", "conditions", ";", "reaching", "end", "of", "file", "before", "n", "bytes", "have", "been", "skipped", "is", "only", "one", "possibility", ".", "The", "actual", "number", "of", "bytes", "skipped", "is", "returned", ".", "If", "n", "is", "negative", "no", "bytes", "are", "skipped", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileInputStream.java#L514-L528", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java", "func_name": "MainActivity.runBlobGettingStartedSample", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Runs the blob getting started sample.", "docstring_tokens": ["Runs", "the", "blob", "getting", "started", "sample", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java#L72-L75", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java", "func_name": "MainActivity.runQueueGettingStartedSample", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Runs the queue getting started sample.", "docstring_tokens": ["Runs", "the", "queue", "getting", "started", "sample", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java#L80-L83", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java", "func_name": "MainActivity.runTableGettingStartedSample", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Runs the table getting started sample.", "docstring_tokens": ["Runs", "the", "table", "getting", "started", "sample", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java#L88-L91", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java", "func_name": "MainActivity.runTablePayloadFormatSample", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Runs the table payload format sample.", "docstring_tokens": ["Runs", "the", "table", "payload", "format", "sample", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java#L96-L99", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java", "func_name": "MainActivity.outputText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints the specified text value to the view and to LogCat.\n\n@param view\nThe view to print to.\n@param value\nThe value to print.", "docstring_tokens": ["Prints", "the", "specified", "text", "value", "to", "the", "view", "and", "to", "LogCat", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java#L126-L134", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java", "func_name": "MainActivity.printException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints out the exception information .", "docstring_tokens": ["Prints", "out", "the", "exception", "information", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java#L154-L163", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java", "func_name": "MainActivity.printSampleStartInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints out the sample start information .", "docstring_tokens": ["Prints", "out", "the", "sample", "start", "information", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java#L168-L174", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java", "func_name": "MainActivity.printSampleCompleteInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Prints out the sample complete information .", "docstring_tokens": ["Prints", "out", "the", "sample", "complete", "information", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/MainActivity.java#L179-L183", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/TableCanonicalizer.java", "func_name": "TableCanonicalizer.canonicalize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a canonicalized string for signing a request.\n\n@param conn\nthe HttpURLConnection to canonicalize\n@param accountName\nthe account name associated with the request\n@param contentLength\nthe length of the content written to the outputstream in bytes, -1 if unknown\n@return a canonicalized string.\n@throws StorageException", "docstring_tokens": ["Constructs", "a", "canonicalized", "string", "for", "signing", "a", "request", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/TableCanonicalizer.java#L41-L52", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/OperationContext.java", "func_name": "OperationContext.getLastResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the last request result encountered for the operation.\n\n@return A {@link RequestResult} object which represents the last request result.", "docstring_tokens": ["Gets", "the", "last", "request", "result", "encountered", "for", "the", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/OperationContext.java#L203-L210", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogBlobIterator.java", "func_name": "LogBlobIterator.isCorrectLogType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validates that the log given is of the correct log type.\n\n@param current\nthe current log\n@return whether or not the log is of the correct type.", "docstring_tokens": ["Validates", "that", "the", "log", "given", "is", "of", "the", "correct", "log", "type", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogBlobIterator.java#L241-L262", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogBlobIterator.java", "func_name": "LogBlobIterator.updateIterator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Makes the next listBlob call if necessary and updates the currentIterator.\n\n@throws StorageException\n@throws URISyntaxException", "docstring_tokens": ["Makes", "the", "next", "listBlob", "call", "if", "necessary", "and", "updates", "the", "currentIterator", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogBlobIterator.java#L270-L292", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.startCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Requests the service to start copying a blob's contents, properties, and metadata to a new file.\n\n@param sourceBlob\nA CloudBlob object that represents the source blob to copy.\n\n@return A String which represents the copy ID associated with the copy operation.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Requests", "the", "service", "to", "start", "copying", "a", "blob", "s", "contents", "properties", "and", "metadata", "to", "a", "new", "file", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L325-L329", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.startCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Requests the service to start copying a file's contents, properties, and metadata to a new file,\nusing the specified access conditions, lease ID, request options, and operation context.\n\n@param sourceBlob\nA CloudBlob object that represents the source blob to copy.\n@param sourceAccessCondition\nAn {@link AccessCondition} object that represents the access conditions for the source blob.\n@param destinationAccessCondition\nAn {@link AccessCondition} object that represents the access conditions for the destination file.\n@param options\nA {@link BlobRequestOptions} object that specifies any additional options for the request.\nSpecifying null will use the default request options from the associated\nservice client ({@link CloudBlobClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation.\nThis object is used to track requests to the storage service, and to provide additional\nruntime information about the operation.\n\n@return A String which represents the copy ID associated with the copy operation.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Requests", "the", "service", "to", "start", "copying", "a", "file", "s", "contents", "properties", "and", "metadata", "to", "a", "new", "file", "using", "the", "specified", "access", "conditions", "lease", "ID", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L357-L370", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.startCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Requests the service to start copying an Azure File's contents, properties, and metadata to a new Azure File.\n\n@param sourceFile\nA CloudFile object that represents the source Azure File to copy.\n\n@return A String which represents the copy ID associated with the copy operation.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Requests", "the", "service", "to", "start", "copying", "an", "Azure", "File", "s", "contents", "properties", "and", "metadata", "to", "a", "new", "Azure", "File", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L384-L388", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.startCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Requests the service to start copying an Azure File's contents, properties, and metadata to a new Azure File,\nusing the specified access conditions, lease ID, request options, and operation context.\n\n@param sourceFile\nA CloudFile object that represents the source file to copy.\n@param sourceAccessCondition\nAn {@link AccessCondition} object that represents the access conditions for the source.\n@param destinationAccessCondition\nAn {@link AccessCondition} object that represents the access conditions for the destination.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request.\nSpecifying null will use the default request options from the associated\nservice client ({@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation.\nThis object is used to track requests to the storage service, and to provide additional\nruntime information about the operation.\n\n@return A String which represents the copy ID associated with the copy operation.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Requests", "the", "service", "to", "start", "copying", "an", "Azure", "File", "s", "contents", "properties", "and", "metadata", "to", "a", "new", "Azure", "File", "using", "the", "specified", "access", "conditions", "lease", "ID", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L416-L424", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.startCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Requests the service to start copying a URI's contents, properties, and metadata to a new Azure File.\n\n@param source\nThe source's java.net.URI.\n\n@return A String which represents the copy ID associated with the copy operation.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Requests", "the", "service", "to", "start", "copying", "a", "URI", "s", "contents", "properties", "and", "metadata", "to", "a", "new", "Azure", "File", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L438-L442", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.startCopy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Requests the service to start copying a URI's contents, properties, and metadata to a new Azure File,\nusing the specified access conditions, lease ID, request options, and operation context.\n\n@param source\nThe source's java.net.URI.\n@param sourceAccessCondition\nAn {@link AccessCondition} object that represents the access conditions for the source.\n@param destinationAccessCondition\nAn {@link AccessCondition} object that represents the access conditions for the destination.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request.\nSpecifying null will use the default request options from the associated\nservice client ({@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation.\nThis object is used to track requests to the storage service, and to provide additional\nruntime information about the operation.\n\n@return A String which represents the copy ID associated with the copy operation.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Requests", "the", "service", "to", "start", "copying", "a", "URI", "s", "contents", "properties", "and", "metadata", "to", "a", "new", "Azure", "File", "using", "the", "specified", "access", "conditions", "lease", "ID", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L470-L486", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a file. If the file already exists, this will replace it.\n\n@param size\nA long which represents the size, in bytes, of the file.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Creates", "a", "file", ".", "If", "the", "file", "already", "exists", "this", "will", "replace", "it", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L607-L610", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a file using the specified access condition, request options and operation context. If the file already\nexists, this will replace it.\n\n@param size\nA long which represents the size, in bytes, of the file.\n@param accessCondition\nAn {@link AccessCondition} object which represents the access conditions for the file.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object which represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Creates", "a", "file", "using", "the", "specified", "access", "condition", "request", "options", "and", "operation", "context", ".", "If", "the", "file", "already", "exists", "this", "will", "replace", "it", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L633-L647", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.deleteEmptyFileOnException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper to delete an empty file in the case of an exception\n\n@param outputStream\n@param path\n@throws IOException", "docstring_tokens": ["Helper", "to", "delete", "an", "empty", "file", "in", "the", "case", "of", "an", "exception"], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L1174-L1183", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.downloadText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Downloads a file to a string using the specified encoding.\n\n@param charsetName\nA String which represents the name of the charset to use to encode the content.\nIf null, the platform's default encoding is used.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the file.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return A String which represents the file's contents.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws IOException", "docstring_tokens": ["Downloads", "a", "file", "to", "a", "string", "using", "the", "specified", "encoding", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L1222-L1228", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.downloadFileRanges", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a collection of file ranges and their starting and ending byte offsets using the specified request\noptions and operation context.\n\n@param accessCondition\nAn {@link AccessCondition} object which represents the access conditions for the file.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object which represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return An ArrayList object which represents the set of file ranges and their starting\nand ending byte offsets.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Returns", "a", "collection", "of", "file", "ranges", "and", "their", "starting", "and", "ending", "byte", "offsets", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L1267-L1278", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.openWriteExisting", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens an output stream object to write data to the file. The file must already exist and any existing data may\nbe overwritten.\n\n@return A {@link FileOutputStream} object used to write data to the file.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Opens", "an", "output", "stream", "object", "to", "write", "data", "to", "the", "file", ".", "The", "file", "must", "already", "exist", "and", "any", "existing", "data", "may", "be", "overwritten", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L1857-L1861", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.openWriteExisting", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens an output stream object to write data to the file, using specified request options and\noperation context. The file must already exist and any existing data may be overwritten.\n\n@param accessCondition\nAn {@link AccessCondition} object which represents the access conditions for the file.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object which represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return A {@link FileOutputStream} object used to write data to the file.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Opens", "an", "output", "stream", "object", "to", "write", "data", "to", "the", "file", "using", "specified", "request", "options", "and", "operation", "context", ".", "The", "file", "must", "already", "exist", "and", "any", "existing", "data", "may", "be", "overwritten", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L1884-L1888", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.openOutputStreamInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Opens an output stream object to write data to the file, using the specified lease ID, request options and\noperation context. If the length is specified, a new file will be created with the length specified.\nOtherwise, the file must already exist and a stream of its current length will be opened.\n\n@param length\nA long which represents the length, in bytes, of the stream to create. This value must be\nnull if the file already exists.\n@param accessCondition\nAn {@link AccessCondition} object which represents the access conditions for the file.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object which represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return A {@link FileOutputStream} object used to write data to the file.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Opens", "an", "output", "stream", "object", "to", "write", "data", "to", "the", "file", "using", "the", "specified", "lease", "ID", "request", "options", "and", "operation", "context", ".", "If", "the", "length", "is", "specified", "a", "new", "file", "will", "be", "created", "with", "the", "length", "specified", ".", "Otherwise", "the", "file", "must", "already", "exist", "and", "a", "stream", "of", "its", "current", "length", "will", "be", "opened", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L1971-L1998", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.uploadFromFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uploads a local file. If the file already exists on the service, it will be overwritten.\n\n@param path\nA String which represents the path to the file to be uploaded.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws IOException\n@throws URISyntaxException", "docstring_tokens": ["Uploads", "a", "local", "file", ".", "If", "the", "file", "already", "exists", "on", "the", "service", "it", "will", "be", "overwritten", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L2064-L2066", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.uploadFromFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uploads a file from a local file. If the file already exists on the service, it will be overwritten.\n\n@param path\nA String which represents the path to the file to be uploaded.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the file.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws IOException\n@throws URISyntaxException", "docstring_tokens": ["Uploads", "a", "file", "from", "a", "local", "file", ".", "If", "the", "file", "already", "exists", "on", "the", "service", "it", "will", "be", "overwritten", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L2089-L2096", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.uploadText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uploads a file from a string using the platform's default encoding. If the file already exists on the service, it\nwill be overwritten.\n\n@param content\nA String which represents the content that will be uploaded to the file.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws IOException\n@throws URISyntaxException", "docstring_tokens": ["Uploads", "a", "file", "from", "a", "string", "using", "the", "platform", "s", "default", "encoding", ".", "If", "the", "file", "already", "exists", "on", "the", "service", "it", "will", "be", "overwritten", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L2110-L2112", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.uploadText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uploads a file from a string using the specified encoding. If the file already exists on the service, it will be\noverwritten.\n\n@param content\nA String which represents the content that will be uploaded to the file.\n@param charsetName\nA String which represents the name of the charset to use to encode the content.\nIf null, the platform's default encoding is used.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the file.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws IOException\n@throws URISyntaxException", "docstring_tokens": ["Uploads", "a", "file", "from", "a", "string", "using", "the", "specified", "encoding", ".", "If", "the", "file", "already", "exists", "on", "the", "service", "it", "will", "be", "overwritten", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L2139-L2143", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.uploadRange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uploads a range to a file.\n\n@param sourceStream\nAn {@link InputStream} object which represents the input stream to write to the file.\n@param offset\nA long which represents the offset, in number of bytes, at which to begin writing the\ndata.\n@param length\nA long which represents the length, in bytes, of the data to write.\n\n@throws IOException\nIf an I/O exception occurred.\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Uploads", "a", "range", "to", "a", "file", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L2162-L2166", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.uploadRange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uploads a range to a file using the specified lease ID, request options, and operation context.\n\n@param sourceStream\nAn {@link InputStream} object which represents the input stream to write to the file.\n@param offset\nA long which represents the offset, in number of bytes, at which to begin writing the\ndata.\n@param length\nA long which represents the length, in bytes, of the data to write.\n@param accessCondition\nAn {@link AccessCondition} object which represents the access conditions for the file.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object which represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws IOException\nIf an I/O exception occurred.\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Uploads", "a", "range", "to", "a", "file", "using", "the", "specified", "lease", "ID", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L2195-L2232", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.putRangeInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used for both uploadRange and clearRange.\n\n@param range\nA {@link FileRange} object that specifies the file range.\n@param operationType\nA {@link FileRangeOperationType} enumeration value that specifies the operation type.\n@param data\nA byte array which represents the data to write.\n@param length\nA long which represents the number of bytes to write.\n@param md5\nA String which represents the MD5 hash for the data.\n@param accessCondition\nAn {@link AccessCondition} object which represents the access conditions for the file.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object which represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Used", "for", "both", "uploadRange", "and", "clearRange", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L2261-L2268", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.resize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resizes the file to the specified size.\n\n@param size\nA long which represents the size of the file, in bytes.\n@param accessCondition\nAn {@link AccessCondition} object which represents the access conditions for the file.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object which represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Resizes", "the", "file", "to", "the", "specified", "size", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L2543-L2556", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.upload", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uploads the source stream data to the file. If the file already exists on the service, it will be overwritten.\n\n@param sourceStream\nAn {@link InputStream} object to read from.\n@param length\nA long which represents the length, in bytes, of the stream data. Must be non zero.\n\n@throws IOException\nIf an I/O exception occurred.\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Uploads", "the", "source", "stream", "data", "to", "the", "file", ".", "If", "the", "file", "already", "exists", "on", "the", "service", "it", "will", "be", "overwritten", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L2608-L2611", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.upload", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uploads the source stream data to the file using the specified access condition, request options, and operation\ncontext. If the file already exists on the service, it will be overwritten.\n\n@param sourceStream\nAn {@link InputStream} object to read from.\n@param length\nA long which represents the length, in bytes, of the stream data. This must be greater than\nor equal to zero.\n@param accessCondition\nAn {@link AccessCondition} object which represents the access conditions for the file.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object which represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws IOException\nIf an I/O exception occurred.\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Uploads", "the", "source", "stream", "data", "to", "the", "file", "using", "the", "specified", "access", "condition", "request", "options", "and", "operation", "context", ".", "If", "the", "file", "already", "exists", "on", "the", "service", "it", "will", "be", "overwritten", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L2639-L2666", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.getParentNameFromURI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieves the parent name for a file URI.\n\n@param resourceAddress\nA {@link StorageUri} object which represents the resource URI.\n@param delimiter\nA String which specifies the directory delimiter to use.\n@param usePathStyleUris\nA Boolean which specifies whether path style URIs are used.\n@param share\nA {@link CloudFileShare} object which represents the file share.\n\n@return A String which represents the parent address for a file URI.\n\n@throws URISyntaxException", "docstring_tokens": ["Retrieves", "the", "parent", "name", "for", "a", "file", "URI", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L2684-L2725", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java", "func_name": "CloudFile.getShare", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the file's share.\n\n@return A {@link CloudFileShare} object that represents the share of the file.\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException\nIf the resource URI is invalid.", "docstring_tokens": ["Returns", "the", "file", "s", "share", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFile.java#L2802-L2811", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java", "func_name": "PathUtility.appendPathToSingleUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends a path to a URI correctly using the given separator.\n\n@param uri\nThe base Uri.\n@param relativeUri\nThe relative URI.\n@param separator\nthe separator to use.\n@return The appended Uri.\n@throws URISyntaxException\na valid Uri cannot be constructed", "docstring_tokens": ["Appends", "a", "path", "to", "a", "URI", "correctly", "using", "the", "given", "separator", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java#L155-L180", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java", "func_name": "PathUtility.getBlobNameFromURI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the blob name from the URI.\n\n@param inURI\nthe resource address\n@param usePathStyleUris\na value indicating if the address is a path style uri.\n@return the blobs name\n@throws URISyntaxException", "docstring_tokens": ["Gets", "the", "blob", "name", "from", "the", "URI", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java#L192-L195", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java", "func_name": "PathUtility.getCanonicalPathFromCredentials", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the canonical path for an object from the credentials.\n\n@param credentials\nthe credentials to use.\n@param absolutePath\nthe Absolute path of the object.\n@return the canonical path for an object from the credentials", "docstring_tokens": ["Gets", "the", "canonical", "path", "for", "an", "object", "from", "the", "credentials", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java#L206-L217", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java", "func_name": "PathUtility.getContainerNameFromUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the container name from address from the URI.\n\n@param resourceAddress\nThe container Uri.\n@param usePathStyleUris\na value indicating if the address is a path style uri.\n@return container name from address from the URI.\n@throws IllegalArgumentException", "docstring_tokens": ["Get", "the", "container", "name", "from", "address", "from", "the", "URI", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java#L229-L232", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java", "func_name": "PathUtility.getFileNameFromURI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the file name from the URI.\n\n@param resourceAddress\nthe file URI\n@param usePathStyleUris\na value indicating if the address is a path style URI\n@return the file's name", "docstring_tokens": ["Gets", "the", "file", "name", "from", "the", "URI", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java#L243-L258", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java", "func_name": "PathUtility.getShareNameFromUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the share name from address from the URI.\n\n@param resourceAddress\nThe share Uri.\n@param usePathStyleUris\na value indicating if the address is a path style uri.\n@return share name from address from the URI.\n@throws IllegalArgumentException", "docstring_tokens": ["Get", "the", "share", "name", "from", "address", "from", "the", "URI", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java#L300-L303", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java", "func_name": "PathUtility.getTableNameFromUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the table name from address from the URI.\n\n@param resourceAddress\nThe table Uri.\n@param usePathStyleUris\na value indicating if the address is a path style uri.\n@return table name from address from the URI.\n@throws IllegalArgumentException", "docstring_tokens": ["Get", "the", "table", "name", "from", "address", "from", "the", "URI", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java#L315-L318", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java", "func_name": "PathUtility.getResourceNameFromUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the container, queue or table name from address from the URI.\n\n@param resourceAddress\nThe queue Uri.\n@param usePathStyleUris\na value indicating if the address is a path style uri.\n@return container name from address from the URI.\n@throws IllegalArgumentException", "docstring_tokens": ["Get", "the", "container", "queue", "or", "table", "name", "from", "address", "from", "the", "URI", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java#L330-L345", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java", "func_name": "PathUtility.getContainerURI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the container URI from a blob address\n\n@param blobAddress\nthe blob address\n@param usePathStyleUris\na value indicating if the address is a path style uri.\n@return the container URI from a blob address\n@throws URISyntaxException", "docstring_tokens": ["Gets", "the", "container", "URI", "from", "a", "blob", "address"], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java#L357-L364", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java", "func_name": "PathUtility.getShareURI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the share URI from a file address\n\n@param fileAddress\nthe file address\n@param usePathStyleUris\na value indicating if the address is a path style uri.\n@return the share URI from a file address\n@throws URISyntaxException", "docstring_tokens": ["Gets", "the", "share", "URI", "from", "a", "file", "address"], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java#L376-L383", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java", "func_name": "PathUtility.parseQueryString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses a query string into a one to many hashmap.\n\n@param parseString\nthe string to parse\n@return a HashMap of the key values.\n@throws StorageException", "docstring_tokens": ["Parses", "a", "query", "string", "into", "a", "one", "to", "many", "hashmap", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/PathUtility.java#L446-L495", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/SharedAccessSignatureHelper.java", "func_name": "SharedAccessSignatureHelper.generateSharedAccessSignatureHashForBlobAndFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the signature hash embedded inside the Shared Access Signature for the blob or file service.\n\n@param policy\nThe shared access policy to hash.\n@param headers\nThe optional header values to set for a blob or file accessed with this shared access signature.\n@param accessPolicyIdentifier\nAn optional identifier for the policy.\n@param resourceName\nThe resource name.\n@param ipRange\nThe range of IP addresses to hash.\n@param protocols\nThe Internet protocols to hash.\n@param client\nThe ServiceClient associated with the object.\n\n@return The signature hash embedded inside the Shared Access Signature.\n@throws InvalidKeyException\n@throws StorageException", "docstring_tokens": ["Get", "the", "signature", "hash", "embedded", "inside", "the", "Shared", "Access", "Signature", "for", "the", "blob", "or", "file", "service", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/SharedAccessSignatureHelper.java#L285-L314", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/SharedAccessSignatureHelper.java", "func_name": "SharedAccessSignatureHelper.generateSharedAccessSignatureHashForQueue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the signature hash embedded inside the Shared Access Signature for queue service.\n\n@param policy\nThe shared access policy to hash.\n@param accessPolicyIdentifier\nAn optional identifier for the policy.\n@param resourceName\nThe resource name.\n@param ipRange\nThe range of IP addresses to hash.\n@param protocols\nThe Internet protocols to hash.\n@param client\nThe ServiceClient associated with the object.\n\n@return The signature hash embedded inside the Shared Access Signature.\n@throws InvalidKeyException\n@throws StorageException", "docstring_tokens": ["Get", "the", "signature", "hash", "embedded", "inside", "the", "Shared", "Access", "Signature", "for", "queue", "service", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/SharedAccessSignatureHelper.java#L337-L346", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/SharedAccessSignatureHelper.java", "func_name": "SharedAccessSignatureHelper.generateSharedAccessSignatureHashForTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the signature hash embedded inside the Shared Access Signature for the table service.\n\n@param policy\nThe shared access policy to hash.\n@param accessPolicyIdentifier\nAn optional identifier for the policy.\n@param resourceName\nThe resource name.\n@param ipRange\nThe range of IP addresses to hash.\n@param protocols\nThe Internet protocols to hash.\n@param startPartitionKey\nAn optional restriction of the beginning of the range of partition keys to hash.\n@param startRowKey\nAn optional restriction of the beginning of the range of row keys to hash.\n@param endPartitionKey\nAn optional restriction of the end of the range of partition keys to hash.\n@param endRowKey\nAn optional restriction of the end of the range of row keys to hash.\n@param client\nThe ServiceClient associated with the object.\n\n@return The signature hash embedded inside the Shared Access Signature.\n@throws InvalidKeyException\n@throws StorageException", "docstring_tokens": ["Get", "the", "signature", "hash", "embedded", "inside", "the", "Shared", "Access", "Signature", "for", "the", "table", "service", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/SharedAccessSignatureHelper.java#L376-L392", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileDirectory.java", "func_name": "CloudFileDirectory.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the directory using the specified options and operation context.\n\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Creates", "the", "directory", "using", "the", "specified", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileDirectory.java#L198-L211", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileDirectory.java", "func_name": "CloudFileDirectory.createIfNotExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the directory if it does not exist, using the specified request options and operation context.\n\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request.\nSpecifying null will use the default request options from the associated service client\n({@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return true if the directory did not already exist and was created; otherwise, false.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Creates", "the", "directory", "if", "it", "does", "not", "exist", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileDirectory.java#L288-L313", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileDirectory.java", "func_name": "CloudFileDirectory.deleteIfExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes the directory if it exists using the specified request options and operation context.\n\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the directory.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return true if the directory existed and was deleted; otherwise, false.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException", "docstring_tokens": ["Deletes", "the", "directory", "if", "it", "exists", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileDirectory.java#L426-L450", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileDirectory.java", "func_name": "CloudFileDirectory.exists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a value that indicates whether the directory exists, using the specified request options and operation\ncontext.\n\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the share.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return true if the directory exists, otherwise false.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Returns", "a", "value", "that", "indicates", "whether", "the", "directory", "exists", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileDirectory.java#L485-L489", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileDirectory.java", "func_name": "CloudFileDirectory.listFilesAndDirectoriesSegmented", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a result segment of an enumerable collection of files and directories for this File service client.\n\n@return A {@link ResultSegment} object that contains a segment of the enumerable collection of\n{@link ListFileItem} objects that represent the files and directories.\n@throws StorageException", "docstring_tokens": ["Returns", "a", "result", "segment", "of", "an", "enumerable", "collection", "of", "files", "and", "directories", "for", "this", "File", "service", "client", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileDirectory.java#L826-L830", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileDirectory.java", "func_name": "CloudFileDirectory.getShare", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the share for this directory.\n\n@return A {@link CloudFileShare} that represents the share for this directory.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException\nIf the resource URI is invalid.", "docstring_tokens": ["Returns", "the", "share", "for", "this", "directory", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileDirectory.java#L1109-L1116", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java", "func_name": "QueueRequest.clearMessages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to clear all the messages in the queue. Sign the\nweb request with a length of -1L.\n\n@param uri\nA URI object that specifies the absolute URI to\nthe queue.\n@param queueOptions\nA {@link QueueRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudQueueClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context\nfor the current operation. This object is used to track\nrequests to the storage service, and to provide additional\nruntime information about the operation.\n\n@return An HttpURLConnection configured for the specified\noperation.\n\n@throws IOException\n@throws URISyntaxException\nIf the URI is not valid.\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "clear", "all", "the", "messages", "in", "the", "queue", ".", "Sign", "the", "web", "request", "with", "a", "length", "of", "-", "1L", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java#L96-L99", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java", "func_name": "QueueRequest.deleteMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to delete a message from the queue. Sign the web\nrequest with a length of -1L.\n\n@param uri\nA URI object that specifies the absolute URI to\nthe queue.\n@param queueOptions\nA {@link QueueRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudQueueClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context\nfor the current operation. This object is used to track\nrequests to the storage service, and to provide additional\nruntime information about the operation.\n@param popReceipt\nA String that contains the pop receipt value\nreturned from an earlier call to {@link CloudQueueMessage#getPopReceipt} for the message to\ndelete.\n@return An HttpURLConnection configured for the specified\noperation.\n\n@throws URISyntaxException\nIf the URI is not valid.\n@throws IOException\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "delete", "a", "message", "from", "the", "queue", ".", "Sign", "the", "web", "request", "with", "a", "length", "of", "-", "1L", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java#L192-L202", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java", "func_name": "QueueRequest.downloadAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to download user-defined metadata and the\napproximate message count for the queue. Sign the web request with a\nlength of -1L.\n\n@param uri\nA URI object that specifies the absolute URI to\nthe queue.\n@param queueOptions\nA {@link QueueRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudQueueClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context\nfor the current operation. This object is used to track\nrequests to the storage service, and to provide additional\nruntime information about the operation.\n\n@return An HttpURLConnection configured for the specified\noperation.\n\n@throws IOException\n@throws URISyntaxException\nIf the URI is not valid.\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "download", "user", "-", "defined", "metadata", "and", "the", "approximate", "message", "count", "for", "the", "queue", ".", "Sign", "the", "web", "request", "with", "a", "length", "of", "-", "1L", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java#L231-L241", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java", "func_name": "QueueRequest.list", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to return a listing of all queues in this\nstorage account. Sign the web request with a length of -1L.\n\n@param uri\nA URI object that specifies the absolute URI to\nthe storage account.\n@param queueOptions\nA {@link QueueRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudQueueClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context\nfor the current operation. This object is used to track\nrequests to the storage service, and to provide additional\nruntime information about the operation.\n@param listingContext\nA {@link ListingContext} object that specifies parameters for\nthe listing operation, if any. May be null.\n@param detailsIncluded\nA {@link QueueListingDetails} object that specifies additional\ndetails to return with the listing, if any. May be null.\n@return An HttpURLConnection configured for the specified\noperation.\n\n@throws IOException\n@throws URISyntaxException\nIf the URI is not valid.\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "return", "a", "listing", "of", "all", "queues", "in", "this", "storage", "account", ".", "Sign", "the", "web", "request", "with", "a", "length", "of", "-", "1L", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java#L274-L288", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java", "func_name": "QueueRequest.peekMessages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to retrieve a specified number of messages from\nthe front of the queue without changing their visibility. Sign the web\nrequest with a length of -1L.\n\n@param uri\nA URI object that specifies the absolute URI to\nthe queue.\n@param queueOptions\nA {@link QueueRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudQueueClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context\nfor the current operation. This object is used to track\nrequests to the storage service, and to provide additional\nruntime information about the operation.\n@param numberOfMessages\nA nonzero value that specifies the number of messages to\nretrieve from the queue, up to a maximum of 32.\n@return An HttpURLConnection configured for the specified\noperation.\n\n@throws IOException\n@throws URISyntaxException\nIf the URI is not valid.\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "retrieve", "a", "specified", "number", "of", "messages", "from", "the", "front", "of", "the", "queue", "without", "changing", "their", "visibility", ".", "Sign", "the", "web", "request", "with", "a", "length", "of", "-", "1L", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java#L319-L335", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java", "func_name": "QueueRequest.retrieveMessages", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to retrieve messages from the front of the\nqueue. Sign the web request with a length of -1L.\n\n@param uri\nA URI object that specifies the absolute URI to\nthe queue.\n@param queueOptions\nA {@link QueueRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudQueueClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context\nfor the current operation. This object is used to track\nrequests to the storage service, and to provide additional\nruntime information about the operation.\n@param numberOfMessages\nA nonzero value that specifies the number of messages to\nretrieve from the queue, up to a maximum of 32.\n@param visibilityTimeoutInSeconds\nSpecifies the visibility timeout value in seconds, relative to\nserver time, to make the retrieved messages invisible until\nthe visibility timeout expires. The value must be larger than\nor equal to 0, and cannot be larger than 7 days. The\nvisibility timeout of a message can be set to a value later\nthan the expiry time, which will prevent the message from\nbeing retrieved again whether it is processed or not.\n@return An HttpURLConnection configured for the specified\noperation.\n\n@throws IOException\n@throws URISyntaxException\nIf the URI is not valid.\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "retrieve", "messages", "from", "the", "front", "of", "the", "queue", ".", "Sign", "the", "web", "request", "with", "a", "length", "of", "-", "1L", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java#L432-L449", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java", "func_name": "QueueRequest.updateMessage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to update the visibility timeout of a message in\nthe queue. Optionally updates the message content if a message request\nbody is written to the output stream of the web request. The web request\nshould be signed with the length of the encoded message request body if\none is included, or a length of 0 if no message request body is included.\n\n@param uri\nA URI object that specifies the absolute URI to\nthe queue.\n@param queueOptions\nA {@link QueueRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudQueueClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context\nfor the current operation. This object is used to track\nrequests to the storage service, and to provide additional\nruntime information about the operation.\n@param popReceipt\nA String that contains the pop receipt value\nreturned from an earlier call to {@link CloudQueueMessage#getPopReceipt} for the message to\nupdate.\n@param visibilityTimeoutInSeconds\nSpecifies the new visibility timeout value in seconds,\nrelative to server time, to make the retrieved messages\ninvisible until the visibility timeout expires. The value must\nbe larger than or equal to 0, and cannot be larger than 7\ndays. The visibility timeout of a message can be set to a\nvalue later than the expiry time, which will prevent the\nmessage from being retrieved again whether it is processed or\nnot.\n@return An HttpURLConnection configured for the specified\noperation.\n\n@throws IOException\n@throws URISyntaxException\nIf the URI is not valid.\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "update", "the", "visibility", "timeout", "of", "a", "message", "in", "the", "queue", ".", "Optionally", "updates", "the", "message", "content", "if", "a", "message", "request", "body", "is", "written", "to", "the", "output", "stream", "of", "the", "web", "request", ".", "The", "web", "request", "should", "be", "signed", "with", "the", "length", "of", "the", "encoded", "message", "request", "body", "if", "one", "is", "included", "or", "a", "length", "of", "0", "if", "no", "message", "request", "body", "is", "included", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java#L526-L542", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java", "func_name": "QueueRequest.setAcl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the ACL for the queue. Sign with length of aclBytes.\n\n@param uri\nThe absolute URI to the queue.\n@param queueOptions\nA {@link QueueRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudQueueClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@return a HttpURLConnection configured for the operation.\n@throws StorageException", "docstring_tokens": ["Sets", "the", "ACL", "for", "the", "queue", ".", "Sign", "with", "length", "of", "aclBytes", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java#L560-L571", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java", "func_name": "QueueRequest.getAcl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Constructs a web request to return the ACL for this queue. Sign with no length specified.\n\n@param uri\nThe absolute URI to the container.\n@param queueOptions\nA {@link QueueRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudQueueClient}.\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n@return a HttpURLConnection configured for the operation.\n@throws StorageException", "docstring_tokens": ["Constructs", "a", "web", "request", "to", "return", "the", "ACL", "for", "this", "queue", ".", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequest.java#L589-L599", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesHandler.java", "func_name": "ServicePropertiesHandler.splitToList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Split a delimiter separated string into an ArrayList\n\n@param str\nthe string to split\n@param delimiter\nthe character to split on\n@return the list of strings", "docstring_tokens": ["Split", "a", "delimiter", "separated", "string", "into", "an", "ArrayList"], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesHandler.java#L232-L239", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesHandler.java", "func_name": "ServicePropertiesHandler.splitToEnumSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Split a delimiter separated string into a EnumSet of CorsHttpMethods\n\n@param str\nthe string to split\n@param delimiter\nthe character to split on\n@return the set of CorsHttpMethods", "docstring_tokens": ["Split", "a", "delimiter", "separated", "string", "into", "a", "EnumSet", "of", "CorsHttpMethods"], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/ServicePropertiesHandler.java#L250-L257", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/StorageCredentialsAccountAndKey.java", "func_name": "StorageCredentialsAccountAndKey.updateKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the name of the access key to be used when signing the request.\n\n@param key\nA String that represents the name of the access key to be used when signing the request.", "docstring_tokens": ["Sets", "the", "name", "of", "the", "access", "key", "to", "be", "used", "when", "signing", "the", "request", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/StorageCredentialsAccountAndKey.java#L139-L146", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/StorageCredentialsAccountAndKey.java", "func_name": "StorageCredentialsAccountAndKey.getHmac256", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the HmacSha256 associated with the account key.\n\n@return A MAC created with the account key.\n\n@throws InvalidKeyException\nIf the key is not a valid storage key.", "docstring_tokens": ["Gets", "the", "HmacSha256", "associated", "with", "the", "account", "key", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/StorageCredentialsAccountAndKey.java#L181-L193", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/IPRange.java", "func_name": "IPRange.validateIPAddress", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate that the IP address is IPv4.\n\n@param ipAddress\nthe IP address to validate", "docstring_tokens": ["Validate", "that", "the", "IP", "address", "is", "IPv4", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/IPRange.java#L104-L112", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Base64.java", "func_name": "Base64.decode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decodes a given Base64 string into its corresponding byte array.\n\n@param data\nthe Base64 string, as a String object, to decode\n\n@return the corresponding decoded byte array\n@throws IllegalArgumentException\nIf the string is not a valid base64 encoded string", "docstring_tokens": ["Decodes", "a", "given", "Base64", "string", "into", "its", "corresponding", "byte", "array", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Base64.java#L61-L116", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Base64.java", "func_name": "Base64.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes a byte array as a Base64 string.\n\n@param data\nthe byte array to encode\n@return the Base64-encoded string, as a String object", "docstring_tokens": ["Encodes", "a", "byte", "array", "as", "a", "Base64", "string", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Base64.java#L239-L281", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Base64.java", "func_name": "Base64.validateIsBase64String", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines whether the given string contains only Base64 characters.\n\n@param data\nthe string, as a String object, to validate\n@return true if data is a valid Base64 string, otherwise false", "docstring_tokens": ["Determines", "whether", "the", "given", "string", "contains", "only", "Base64", "characters", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Base64.java#L290-L315", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/NameValidator.java", "func_name": "NameValidator.validateContainerName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if a container name is valid.\n\n@param containerName\nA String representing the container name to validate.", "docstring_tokens": ["Checks", "if", "a", "container", "name", "is", "valid", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/NameValidator.java#L47-L51", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/NameValidator.java", "func_name": "NameValidator.validateBlobName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if a blob name is valid.\n\n@param blobName\nA String representing the blob name to validate.", "docstring_tokens": ["Checks", "if", "a", "blob", "name", "is", "valid", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/NameValidator.java#L95-L117", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/NameValidator.java", "func_name": "NameValidator.validateFileName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if a file name is valid.\n\n@param fileName\nA String representing the file name to validate.", "docstring_tokens": ["Checks", "if", "a", "file", "name", "is", "valid", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/NameValidator.java#L125-L137", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/NameValidator.java", "func_name": "NameValidator.validateTableName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if a table name is valid.\n\n@param tableName\nA String representing the table name to validate.", "docstring_tokens": ["Checks", "if", "a", "table", "name", "is", "valid", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/NameValidator.java#L169-L183", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileClient.java", "func_name": "CloudFileClient.listShares", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an enumerable collection of shares whose names begin with the specified prefix for this File service\nclient.\n\n@param prefix\nA String that represents the share name prefix.\n\n@return An enumerable collection of {@link CloudFileShare} objects retrieved lazily that represent the\nshares for this client whose names begin with the specified prefix.", "docstring_tokens": ["Returns", "an", "enumerable", "collection", "of", "shares", "whose", "names", "begin", "with", "the", "specified", "prefix", "for", "this", "File", "service", "client", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileClient.java#L150-L153", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileClient.java", "func_name": "CloudFileClient.listShares", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an enumerable collection of shares whose names begin with the specified prefix for this File\nservice client, using the specified details settings, request options, and operation context.\n\n@param prefix\nA String that represents the share name prefix.\n@param detailsIncluded\nA java.util.EnumSet object that contains {@link ShareListingDetails} values that indicate\nwhether share snapshots and/or metadata will be returned.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return An enumerable collection of {@link CloudFileShare} objects retrieved lazily that represents the\nshares for this client.", "docstring_tokens": ["Returns", "an", "enumerable", "collection", "of", "shares", "whose", "names", "begin", "with", "the", "specified", "prefix", "for", "this", "File", "service", "client", "using", "the", "specified", "details", "settings", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileClient.java#L176-L180", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileClient.java", "func_name": "CloudFileClient.listSharesSegmented", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a result segment of an enumerable collection of shares for this File service client.\n\n@return A {@link ResultSegment} object that contains a segment of the enumerable collection of\n{@link CloudFileShare} objects that represent the shares for this client.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Returns", "a", "result", "segment", "of", "an", "enumerable", "collection", "of", "shares", "for", "this", "File", "service", "client", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileClient.java#L191-L195", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileClient.java", "func_name": "CloudFileClient.listSharesSegmented", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a result segment of an enumerable collection of shares whose names begin with the specified\nprefix for this File service client.\n\n@param prefix\nA String that represents the prefix of the share name.\n\n@return A {@link ResultSegment} object that contains a segment of the enumerable collection of\n{@link CloudFileShare} objects that represent the shares whose names begin with the specified\nprefix.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Returns", "a", "result", "segment", "of", "an", "enumerable", "collection", "of", "shares", "whose", "names", "begin", "with", "the", "specified", "prefix", "for", "this", "File", "service", "client", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileClient.java#L211-L215", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileClient.java", "func_name": "CloudFileClient.listSharesWithPrefix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an enumerable collection of shares whose names begin with the specified prefix, using the\nspecified details settings, request options, and operation context.\n\n@param prefix\nA String that represents the prefix of the share name.\n@param detailsIncluded\nA java.util.EnumSet object that contains {@link ShareListingDetails} values that indicate\nwhether share snapshots and/or metadata will be returned.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return An enumerable collection of {@link CloudFileShare} objects retrieved lazily that represent the\nshares whose names begin with the specified prefix.", "docstring_tokens": ["Returns", "an", "enumerable", "collection", "of", "shares", "whose", "names", "begin", "with", "the", "specified", "prefix", "using", "the", "specified", "details", "settings", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileClient.java#L277-L291", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableServiceEntity.java", "func_name": "TableServiceEntity.setReflectedEntityCacheDisabled", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a boolean representing whether or not the reflected entity cache is disabled. For most scenarios, disabling\nthe reflected entity cache is not recommended due to its effect on performance.\n\nThe reflected entity cache stores known entity types and their respective reflected entity dictionaries. Rather\nthan using reflection on a known entity type, the values from the dictionary are used instead.\n\n@param disableReflectedEntityCache\ntrue to disable the reflected entity cache; otherwise, false.", "docstring_tokens": ["Sets", "a", "boolean", "representing", "whether", "or", "not", "the", "reflected", "entity", "cache", "is", "disabled", ".", "For", "most", "scenarios", "disabling", "the", "reflected", "entity", "cache", "is", "not", "recommended", "due", "to", "its", "effect", "on", "performance", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableServiceEntity.java#L350-L356", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseResponse.java", "func_name": "BaseResponse.getDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the Date\n\n@param request\nThe response from server.\n@return The Date.", "docstring_tokens": ["Gets", "the", "Date"], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseResponse.java#L47-L50", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseResponse.java", "func_name": "BaseResponse.getMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the metadata from the request The response from server.\n\n@return the metadata from the request", "docstring_tokens": ["Gets", "the", "metadata", "from", "the", "request", "The", "response", "from", "server", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseResponse.java#L68-L70", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseResponse.java", "func_name": "BaseResponse.isServerRequestEncrypted", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets if the request was encrypted by the server.\n@param request\nThe response from the server.\n@return A boolean indicating if the request was encrypted by the server.", "docstring_tokens": ["Gets", "if", "the", "request", "was", "encrypted", "by", "the", "server", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseResponse.java#L89-L91", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableStorageErrorDeserializer.java", "func_name": "TableStorageErrorDeserializer.getExtendedErrorInformation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the Extended Error information.\n\n@return the Extended Error information.\n\n@param reader\nthe input stream to read error details from.\n@param format\nThe {@link TablePayloadFormat} to use for parsing\n@throws IOException\nif an error occurs while accessing the stream with Json.", "docstring_tokens": ["Gets", "the", "Extended", "Error", "information", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableStorageErrorDeserializer.java#L49-L115", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableStorageErrorDeserializer.java", "func_name": "TableStorageErrorDeserializer.parseErrorDetails", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the table extended error information from the response body.\n\n@param request\nthe request whose body to examine for the error information.\n@return The {@link StorageExtendedErrorInformation} parsed from the body or null if parsing fails or the request\ncontains no body.", "docstring_tokens": ["Parse", "the", "table", "extended", "error", "information", "from", "the", "response", "body", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableStorageErrorDeserializer.java#L125-L137", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableStorageErrorDeserializer.java", "func_name": "TableStorageErrorDeserializer.parseJsonErrorException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the error exception details from the Json-formatted response.\n\n@param parser\nthe {@link JsonParser} to use for parsing\n@throws IOException\nif an error occurs while accessing the stream with Json.\n@throws JsonParseException\nif an error occurs while parsing the stream.", "docstring_tokens": ["Parses", "the", "error", "exception", "details", "from", "the", "Json", "-", "formatted", "response", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableStorageErrorDeserializer.java#L149-L179", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/SharedAccessPolicyHandler.java", "func_name": "SharedAccessPolicyHandler.getAccessIdentifiers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "RESERVED FOR INTERNAL USE. Gets the HashMap of SharedAccessPolicies from the response.\n\n@param stream\nthe stream to read from\n@param cls\nthe SharedAccessPolicy class type\n@return the HashMap of SharedAccessPolicies from the response\n@throws SAXException\n@throws ParserConfigurationException\n@throws ParseException\nif a date is incorrectly encoded in the stream\n@throws IOException", "docstring_tokens": ["RESERVED", "FOR", "INTERNAL", "USE", ".", "Gets", "the", "HashMap", "of", "SharedAccessPolicies", "from", "the", "response", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/SharedAccessPolicyHandler.java#L65-L72", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileResponse.java", "func_name": "FileResponse.getCopyState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the copyState\n\n@param request\nThe response from server.\n@return The CopyState.\n@throws URISyntaxException\n@throws ParseException", "docstring_tokens": ["Gets", "the", "copyState"], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileResponse.java#L44-L76", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileResponse.java", "func_name": "FileResponse.getFileShareAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the FileShareAttributes from the given request.\n\n@param request\nthe request to get attributes from\n@param usePathStyleUris\na value indicating if the account is using pathSytleUris\n@return the FileShareAttributes from the given request.\n@throws StorageException", "docstring_tokens": ["Gets", "the", "FileShareAttributes", "from", "the", "given", "request", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileResponse.java#L88-L98", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileResponse.java", "func_name": "FileResponse.getFileDirectoryAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the FileDirectoryAttributes from the given request.\n\n@param request\nthe request to get attributes from.\n@param usePathStyleUris\na value indicating if the account is using pathSytleUris.\n@return the FileDirectoryAttributes from the given request.\n@throws StorageException", "docstring_tokens": ["Gets", "the", "FileDirectoryAttributes", "from", "the", "given", "request", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileResponse.java#L110-L132", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileResponse.java", "func_name": "FileResponse.getFileAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the CloudFileAttributes from the given request\n\n@param request\nThe response from server.\n@param resourceURI\nThe file uri to set.\n@return the CloudFileAttributes from the given request\n@throws ParseException\n@throws URISyntaxException", "docstring_tokens": ["Gets", "the", "CloudFileAttributes", "from", "the", "given", "request"], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileResponse.java#L145-L198", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/MimePart.java", "func_name": "MimePart.getHttpVerbForOperation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Returns the HTTP verb for a table operation.\n\n@param operationType\nThe {@link TableOperation} instance to get the HTTP verb for.\n@return\nA String containing the HTTP verb to use with the operation.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Returns", "the", "HTTP", "verb", "for", "a", "table", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/MimePart.java#L70-L89", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/StorageEventMultiCaster.java", "func_name": "StorageEventMultiCaster.fireEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fires the event to all subscribed event listeners.\n\n@param event\nAn EVENTTYPEobject that represents the event being multi-casted.", "docstring_tokens": ["Fires", "the", "event", "to", "all", "subscribed", "event", "listeners", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/StorageEventMultiCaster.java#L50-L54", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/ExecutionEngine.java", "func_name": "ExecutionEngine.fireSendingRequestEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fires events representing that a request will be sent.", "docstring_tokens": ["Fires", "events", "representing", "that", "a", "request", "will", "be", "sent", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/ExecutionEngine.java#L362-L370", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/ExecutionEngine.java", "func_name": "ExecutionEngine.fireResponseReceivedEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fires events representing that a response has been received.", "docstring_tokens": ["Fires", "events", "representing", "that", "a", "response", "has", "been", "received", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/ExecutionEngine.java#L375-L383", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/ExecutionEngine.java", "func_name": "ExecutionEngine.fireErrorReceivingResponseEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fires events representing that an error occurred when receiving the response.", "docstring_tokens": ["Fires", "events", "representing", "that", "an", "error", "occurred", "when", "receiving", "the", "response", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/ExecutionEngine.java#L388-L396", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/ExecutionEngine.java", "func_name": "ExecutionEngine.fireRequestCompletedEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fires events representing that a response received from the service is fully processed.", "docstring_tokens": ["Fires", "events", "representing", "that", "a", "response", "received", "from", "the", "service", "is", "fully", "processed", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/ExecutionEngine.java#L401-L409", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/ExecutionEngine.java", "func_name": "ExecutionEngine.fireRetryingEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fires events representing that a request will be retried.", "docstring_tokens": ["Fires", "events", "representing", "that", "a", "request", "will", "be", "retried", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/ExecutionEngine.java#L414-L422", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.assertContinuationType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts a continuation token is of the specified type.\n\n@param continuationToken\nA {@link ResultContinuation} object that represents the continuation token whose type is being\nexamined.\n@param continuationType\nA {@link ResultContinuationType} value that represents the continuation token type being asserted with\nthe specified continuation token.", "docstring_tokens": ["Asserts", "a", "continuation", "token", "is", "of", "the", "specified", "type", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L228-L238", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.assertInBounds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the specified integer is in the valid range.\n\n@param param\nA String that represents the name of the parameter, which becomes the exception message\ntext if the value parameter is out of bounds.\n@param value\nThe value of the specified parameter.\n@param min\nThe minimum value for the specified parameter.\n@param max\nThe maximum value for the specified parameter.", "docstring_tokens": ["Asserts", "that", "the", "specified", "integer", "is", "in", "the", "valid", "range", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L287-L291", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.assertGreaterThanOrEqual", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Asserts that the specified value is greater than or equal to the min value.\n\n@param param\nA String that represents the name of the parameter, which becomes the exception message\ntext if the value parameter is out of bounds.\n@param value\nThe value of the specified parameter.\n@param min\nThe minimum value for the specified parameter.", "docstring_tokens": ["Asserts", "that", "the", "specified", "value", "is", "greater", "than", "or", "equal", "to", "the", "min", "value", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L304-L308", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.validateMaxExecutionTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a value representing whether the maximum execution time would be surpassed.\n\n@param operationExpiryTimeInMs\nthe time the request expires\n@param additionalInterval\nany additional time required from now\n@return true if the maximum execution time would be surpassed; otherwise, false.", "docstring_tokens": ["Returns", "a", "value", "representing", "whether", "the", "maximum", "execution", "time", "would", "be", "surpassed", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L330-L336", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.getRemainingTimeout", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a value representing the remaining time before the operation expires.\n\n@param operationExpiryTimeInMs\nthe time the request expires\n@param timeoutIntervalInMs\nthe server side timeout interval\n@return the remaining time before the operation expires\n@throws StorageException\nwraps a TimeoutException if there is no more time remaining", "docstring_tokens": ["Returns", "a", "value", "representing", "the", "remaining", "time", "before", "the", "operation", "expires", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L349-L372", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.determinePathStyleFromUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a value that indicates whether a specified URI is a path-style URI.\n\n@param baseURI\nA java.net.URI value that represents the URI being checked.\n@return true if the specified URI is path-style; otherwise, false.", "docstring_tokens": ["Returns", "a", "value", "that", "indicates", "whether", "a", "specified", "URI", "is", "a", "path", "-", "style", "URI", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L381-L394", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.isHostDnsName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a boolean indicating whether the host of the specified URI is DNS.\n\n@param uri\nThe URI whose host to evaluate.\n@return true if the host is DNS; otherwise, false.", "docstring_tokens": ["Returns", "a", "boolean", "indicating", "whether", "the", "host", "of", "the", "specified", "URI", "is", "DNS", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L403-L412", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.formatETag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads character data for the Etag element from an XML stream reader.\n\n@param xmlr\nAn XMLStreamReader object that represents the source XML stream reader.\n\n@return A String that represents the character data for the Etag element.", "docstring_tokens": ["Reads", "character", "data", "for", "the", "Etag", "element", "from", "an", "XML", "stream", "reader", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L422-L429", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.generateNewUnexpectedStorageException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an unexpected storage exception.\n\n@param cause\nAn Exception object that represents the initial exception that caused the unexpected\nerror.\n\n@return A {@link StorageException} object that represents the unexpected storage exception being thrown.", "docstring_tokens": ["Returns", "an", "unexpected", "storage", "exception", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L440-L446", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.getStandardHeaderValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the standard header value from the specified connection request, or an empty string if no header value\nhas been specified for the request.\n\n@param conn\nAn HttpURLConnection object that represents the request.\n@param headerName\nA String that represents the name of the header being requested.\n\n@return A String that represents the header value, or null if there is no corresponding\nheader value for headerName.", "docstring_tokens": ["Returns", "the", "standard", "header", "value", "from", "the", "specified", "connection", "request", "or", "an", "empty", "string", "if", "no", "header", "value", "has", "been", "specified", "for", "the", "request", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L533-L538", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.parseDateFromString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a GMT date in the specified format\n\n@param value\nthe string to parse\n@return the GMT date, as a Date\n@throws ParseException\nIf the specified string is invalid", "docstring_tokens": ["Returns", "a", "GMT", "date", "in", "the", "specified", "format"], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L673-L678", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.parseRFC1123DateFromStringInGMT", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a GMT date for the specified string in the RFC1123 pattern.\n\n@param value\nA String that represents the string to parse.\n\n@return A Date object that represents the GMT date in the RFC1123 pattern.\n\n@throws ParseException\nIf the specified string is invalid.", "docstring_tokens": ["Returns", "a", "GMT", "date", "for", "the", "specified", "string", "in", "the", "RFC1123", "pattern", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L691-L695", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.safeRelativize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines the relative difference between the two specified URIs.\n\n@param baseURI\nA java.net.URI object that represents the base URI for which toUri will be\nmade relative.\n@param toUri\nA java.net.URI object that represents the URI to make relative to baseURI.\n\n@return A String that either represents the relative URI of toUri to\nbaseURI, or the URI of toUri itself, depending on whether the hostname and\nscheme are identical for toUri and baseURI. If the hostname and scheme of\nbaseURI and toUri are identical, this method returns an unencoded relative URI\nsuch that if appended to baseURI, it will yield toUri. If the hostname or\nscheme of baseURI and toUri are not identical, this method returns an unencoded\nfull URI specified by toUri.\n\n@throws URISyntaxException\nIf baseURI or toUri is invalid.", "docstring_tokens": ["Determines", "the", "relative", "difference", "between", "the", "two", "specified", "URIs", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L827-L898", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.logHttpError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serializes the parsed StorageException. If an exception is encountered, returns empty string.\n\n@param ex\nThe StorageException to serialize.\n@param opContext\nThe operation context which provides the logger.", "docstring_tokens": ["Serializes", "the", "parsed", "StorageException", ".", "If", "an", "exception", "is", "encountered", "returns", "empty", "string", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L908-L950", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.logHttpResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Logs the HttpURLConnection response. If an exception is encountered, logs nothing.\n\n@param conn\nThe HttpURLConnection to serialize.\n@param opContext\nThe operation context which provides the logger.", "docstring_tokens": ["Logs", "the", "HttpURLConnection", "response", ".", "If", "an", "exception", "is", "encountered", "logs", "nothing", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L1001-L1027", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.trimEnd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Trims the specified character from the end of a string.\n\n@param value\nA String that represents the string to trim.\n@param trimChar\nThe character to trim from the end of the string.\n\n@return The string with the specified character trimmed from the end.", "docstring_tokens": ["Trims", "the", "specified", "character", "from", "the", "end", "of", "a", "string", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L1039-L1046", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.trimStart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Trims whitespace from the beginning of a string.\n\n@param value\nA String that represents the string to trim.\n\n@return The string with whitespace trimmed from the beginning.", "docstring_tokens": ["Trims", "whitespace", "from", "the", "beginning", "of", "a", "string", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L1056-L1063", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.parseDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a String representing a date in a form of the ISO8601 pattern, generates a Date representing it\nwith up to millisecond precision.\n\n@param dateString\nthe String to be interpreted as a Date\n\n@return the corresponding Date object", "docstring_tokens": ["Given", "a", "String", "representing", "a", "date", "in", "a", "form", "of", "the", "ISO8601", "pattern", "generates", "a", "Date", "representing", "it", "with", "up", "to", "millisecond", "precision", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L1272-L1308", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java", "func_name": "Utility.getListingLocationMode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines which location can the listing command target by looking at the\ncontinuation token.\n\n@param token\nContinuation token\n@return\nLocation mode", "docstring_tokens": ["Determines", "which", "location", "can", "the", "listing", "command", "target", "by", "looking", "at", "the", "continuation", "token", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/Utility.java#L1353-L1369", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequestOptions.java", "func_name": "QueueRequestOptions.populateAndApplyDefaults", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Populates the default timeout and retry policy from client if they are not set.\n\n@param options\nThe input options to copy from when applying defaults\n@param client\nThe {@link CloudQueueClient} service client to populate the\ndefault values from.", "docstring_tokens": ["Populates", "the", "default", "timeout", "and", "retry", "policy", "from", "client", "if", "they", "are", "not", "set", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueRequestOptions.java#L53-L58", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java", "func_name": "LogRecordStreamReader.readString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a String from the stream.\n\n@return\nthe String read.\n@throws IOException", "docstring_tokens": ["Read", "a", "String", "from", "the", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java#L103-L112", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java", "func_name": "LogRecordStreamReader.readQuotedString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a quoted String from the stream.\n\n@return\nthe String read.\n@throws IOException", "docstring_tokens": ["Read", "a", "quoted", "String", "from", "the", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java#L121-L130", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java", "func_name": "LogRecordStreamReader.readBoolean", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Boolean from the stream.\n\n@return\nthe Boolean read.\n@throws IOException", "docstring_tokens": ["Read", "a", "Boolean", "from", "the", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java#L139-L148", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java", "func_name": "LogRecordStreamReader.readDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Date from the stream.\n\n@param format\nthe format in which the date is stored, for parsing purposes.\n@return\nthe Date read.\n@throws IOException\n@throws ParseException", "docstring_tokens": ["Read", "a", "Date", "from", "the", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java#L160-L169", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java", "func_name": "LogRecordStreamReader.readDouble", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Double from the stream.\n\n@return\nthe Double read.\n@throws IOException", "docstring_tokens": ["Read", "a", "Double", "from", "the", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java#L178-L187", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java", "func_name": "LogRecordStreamReader.readUuid", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a UUID from the stream.\n\n@return\nthe UUID read.\n@throws IOException", "docstring_tokens": ["Read", "a", "UUID", "from", "the", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java#L196-L205", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java", "func_name": "LogRecordStreamReader.readInteger", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an Integer from the stream.\n\n@return\nthe Integer read.\n@throws IOException", "docstring_tokens": ["Read", "an", "Integer", "from", "the", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java#L214-L223", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java", "func_name": "LogRecordStreamReader.readLong", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Long from the stream.\n\n@return\nthe Long read.\n@throws IOException", "docstring_tokens": ["Read", "a", "Long", "from", "the", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java#L232-L241", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java", "func_name": "LogRecordStreamReader.readUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a URI from the stream.\n\n@return\nthe URI read.\n@throws URISyntaxException\n@throws IOException", "docstring_tokens": ["Read", "a", "URI", "from", "the", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java#L251-L260", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java", "func_name": "LogRecordStreamReader.readDelimiter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a delimiter from the stream.\n\n@param delimiter\nthe delimiter to read.\n@throws IOException", "docstring_tokens": ["Read", "a", "delimiter", "from", "the", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java#L279-L289", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java", "func_name": "LogRecordStreamReader.tryPeekDelimiter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks to see if the next character is the delimiter expected.\n\n@param delimiter\nthe delimiter to try to peek.\n@return\n@throws IOException", "docstring_tokens": ["Checks", "to", "see", "if", "the", "next", "character", "is", "the", "delimiter", "expected", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java#L299-L311", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java", "func_name": "LogRecordStreamReader.readField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a field from the stream.\n\n@param isQuotedString\nwhether the field is encased in quotes and escaped.\n@return\nthe field read.\n@throws IOException", "docstring_tokens": ["Read", "a", "field", "from", "the", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecordStreamReader.java#L322-L408", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/RetryExponentialRetry.java", "func_name": "RetryExponentialRetry.createInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generates a new retry policy for the current request attempt.\n\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return A {@link RetryPolicy} object that represents the retry policy for the current request attempt.", "docstring_tokens": ["Generates", "a", "new", "retry", "policy", "for", "the", "current", "request", "attempt", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/RetryExponentialRetry.java#L94-L98", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/LazySegmentedIterator.java", "func_name": "LazySegmentedIterator.hasNext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Indicates if the iterator has another element.", "docstring_tokens": ["Indicates", "if", "the", "iterator", "has", "another", "element", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/LazySegmentedIterator.java#L102-L125", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/QueryTableOperation.java", "func_name": "QueryTableOperation.setClazzType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Sets the class type of the entity returned by the query.\n\n@param clazzType\nThe java.lang.Class implementing {@link TableEntity} that represents the entity type for\nthe query.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Sets", "the", "class", "type", "of", "the", "entity", "returned", "by", "the", "query", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/QueryTableOperation.java#L257-L261", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/QueryTableOperation.java", "func_name": "QueryTableOperation.setResolver", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Sets the resolver to project the entity retrieved as a particular type.\n\n@param resolver\nThe {@link EntityResolver} instance to use.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Sets", "the", "resolver", "to", "project", "the", "entity", "retrieved", "as", "a", "particular", "type", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/QueryTableOperation.java#L279-L282", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/MimeHelper.java", "func_name": "MimeHelper.writeMIMEBoundary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Writes a MIME part boundary to the output stream.\n\n@param outWriter\nThe {@link OutputStreamWriter} to write the MIME part boundary to.\n@param boundaryID\nThe String containing the MIME part boundary string.\n@throws IOException\nif an error occurs writing to the output stream.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Writes", "a", "MIME", "part", "boundary", "to", "the", "output", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/MimeHelper.java#L402-L405", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/MimeHelper.java", "func_name": "MimeHelper.writeMIMEBoundaryClosure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Writes a MIME part boundary closure to the output stream.\n\n@param outWriter\nThe {@link OutputStreamWriter} to write the MIME part boundary closure to.\n@param boundaryID\nThe String containing the MIME part boundary string.\n@throws IOException\nif an error occurs writing to the output stream.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Writes", "a", "MIME", "part", "boundary", "closure", "to", "the", "output", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/MimeHelper.java#L417-L420", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/MimeHelper.java", "func_name": "MimeHelper.writeMIMEContentType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Writes a MIME content type string to the output stream.\n\n@param outWriter\nThe {@link OutputStreamWriter} to write the MIME content type string to.\n@param boundaryID\nThe String containing the MIME part boundary string.\n@throws IOException\nif an error occurs writing to the output stream.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Writes", "a", "MIME", "content", "type", "string", "to", "the", "output", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/MimeHelper.java#L432-L435", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/UriQueryBuilder.java", "func_name": "UriQueryBuilder.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a value to the URI with escaping.\n\n@param name\nthe query key name.\n@param value\nthe query value.\n@throws StorageException", "docstring_tokens": ["Adds", "a", "value", "to", "the", "URI", "with", "escaping", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/UriQueryBuilder.java#L43-L49", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/UriQueryBuilder.java", "func_name": "UriQueryBuilder.addToURI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add query parameter to an existing Uri. This takes care of any existing query parameters in the Uri.\n\n@param uri\nthe original uri.\n@return the appended uri\n@throws URISyntaxException\nif the resulting uri is invalid.\n@throws StorageException", "docstring_tokens": ["Add", "query", "parameter", "to", "an", "existing", "Uri", ".", "This", "takes", "care", "of", "any", "existing", "query", "parameters", "in", "the", "Uri", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/UriQueryBuilder.java#L61-L109", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java", "func_name": "BaseRequest.addOptionalHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the optional header.\n\n@param request\na HttpURLConnection for the operation.\n@param name\nthe metadata name.\n@param value\nthe metadata value.", "docstring_tokens": ["Adds", "the", "optional", "header", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java#L100-L104", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java", "func_name": "BaseRequest.createURLConnection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the web request.\n\n@param uri\nthe request Uri.\n@param options\nA {@link RequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. This parameter is unused.\n@param builder\nthe UriQueryBuilder for the request\n@param opContext\nan object used to track the execution of the operation\n@return a HttpURLConnection to perform the operation.\n@throws IOException\nif there is an error opening the connection\n@throws URISyntaxException\nif there is an improperly formated URI\n@throws StorageException", "docstring_tokens": ["Creates", "the", "web", "request", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java#L160-L217", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java", "func_name": "BaseRequest.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes the specified resource. Sign with no length specified.\n\n@param uri\nthe request Uri.\n@param timeout\nthe timeout for the request\n@param builder\nthe UriQueryBuilder for the request\n@param opContext\nan object used to track the execution of the operation\n@return a HttpURLConnection to perform the operation.\n@throws IOException\nif there is an error opening the connection\n@throws URISyntaxException\nif there is an improperly formated URI\n@throws StorageException", "docstring_tokens": ["Deletes", "the", "specified", "resource", ".", "Sign", "with", "no", "length", "specified", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java#L237-L247", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java", "func_name": "BaseRequest.getServiceProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a HttpURLConnection used to retrieve the Analytics service properties from the storage service.\n\n@param uri\nThe service endpoint.\n@param timeout\nThe timeout.\n@param builder\nThe builder.\n@param opContext\nan object used to track the execution of the operation\n@return a web request for performing the operation.\n@throws IOException\n@throws URISyntaxException\n@throws StorageException", "docstring_tokens": ["Creates", "a", "HttpURLConnection", "used", "to", "retrieve", "the", "Analytics", "service", "properties", "from", "the", "storage", "service", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java#L324-L338", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java", "func_name": "BaseRequest.getUserAgent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the user agent to send over the wire to identify the client.\n\n@return the user agent to send over the wire to identify the client.", "docstring_tokens": ["Gets", "the", "user", "agent", "to", "send", "over", "the", "wire", "to", "identify", "the", "client", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java#L377-L386", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java", "func_name": "BaseRequest.setMetadata", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the metadata. Sign with 0 length.\n\n@param uri\nThe blob Uri.\n@param timeout\nThe timeout.\n@param builder\nThe builder.\n@param opContext\nan object used to track the execution of the operation\n@return a web request for performing the operation.\n@throws StorageException\n@throws URISyntaxException\n@throws IOException", "docstring_tokens": ["Sets", "the", "metadata", ".", "Sign", "with", "0", "length", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java#L404-L419", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java", "func_name": "BaseRequest.setServiceProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a HttpURLConnection used to set the Analytics service properties on the storage service.\n\n@param uri\nThe service endpoint.\n@param timeout\nThe timeout.\n@param builder\nThe builder.\n@param opContext\nan object used to track the execution of the operation\n@return a web request for performing the operation.\n@throws IOException\n@throws URISyntaxException\n@throws StorageException", "docstring_tokens": ["Creates", "a", "HttpURLConnection", "used", "to", "set", "the", "Analytics", "service", "properties", "on", "the", "storage", "service", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/BaseRequest.java#L437-L453", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java", "func_name": "FileOutputStream.close", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Closes this output stream and releases any system resources associated with this stream. If any data remains in\nthe buffer it is committed to the service.\n\n@throws IOException\nIf an I/O error occurs.", "docstring_tokens": ["Closes", "this", "output", "stream", "and", "releases", "any", "system", "resources", "associated", "with", "this", "stream", ".", "If", "any", "data", "remains", "in", "the", "buffer", "it", "is", "committed", "to", "the", "service", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java#L189-L226", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java", "func_name": "FileOutputStream.commit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Commits the file.\n\n@throws StorageException\nAn exception representing any error which occurred during the operation.\n@throws URISyntaxException", "docstring_tokens": ["Commits", "the", "file", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java#L235-L242", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java", "func_name": "FileOutputStream.dispatchWrite", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dispatches a write operation for a given length.\n\n@param writeLength\nAn int which represents the length of the data to write, this is the write threshold that\ntriggered the write.\n\n@throws IOException\nIf an I/O error occurs. In particular, an IOException may be thrown if the output stream has been\nclosed.", "docstring_tokens": ["Dispatches", "a", "write", "operation", "for", "a", "given", "length", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java#L255-L310", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java", "func_name": "FileOutputStream.flush", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Flushes this output stream and forces any buffered output bytes to be written out. If any data remains in the\nbuffer it is committed to the service.\n\n@throws IOException\nIf an I/O error occurs.", "docstring_tokens": ["Flushes", "this", "output", "stream", "and", "forces", "any", "buffered", "output", "bytes", "to", "be", "written", "out", ".", "If", "any", "data", "remains", "in", "the", "buffer", "it", "is", "committed", "to", "the", "service", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java#L319-L335", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java", "func_name": "FileOutputStream.waitForTaskToComplete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Waits for one task to complete\n\n@throws IOException\nIf an I/O error occurs. In particular, an IOException may be thrown if the output stream has been\nclosed.", "docstring_tokens": ["Waits", "for", "one", "task", "to", "complete"], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java#L344-L357", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java", "func_name": "FileOutputStream.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes length bytes from the specified byte array starting at offset to this output stream.\n\n@param data\nA byte array which represents the data to write.\n@param offset\nAn int which represents the start offset in the data.\n@param length\nAn int which represents the number of bytes to write.\n\n@throws IOException\nIf an I/O error occurs. In particular, an IOException may be thrown if the output stream has been\nclosed.", "docstring_tokens": ["Writes", "length", "bytes", "from", "the", "specified", "byte", "array", "starting", "at", "offset", "to", "this", "output", "stream", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java#L389-L397", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java", "func_name": "FileOutputStream.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes all data from the InputStream to the File.\n\n@param sourceStream\nAn {@link InputStream} object which species the data to write to the File.\n\n@throws IOException\nIf an I/O error occurs. In particular, an IOException may be thrown if the output stream has been\nclosed.\n@throws StorageException\nAn exception representing any error which occurred during the operation.", "docstring_tokens": ["Writes", "all", "data", "from", "the", "InputStream", "to", "the", "File", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java#L411-L414", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java", "func_name": "FileOutputStream.writeInternal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes the data to the buffer and triggers writes to the service as needed.\n\n@param data\nA byte array which represents the data to write.\n@param offset\nAn int which represents the start offset in the data.\n@param length\nAn int which represents the number of bytes to write.\n\n@throws IOException\nIf an I/O error occurs. In particular, an IOException may be thrown if the output stream has been\nclosed.", "docstring_tokens": ["Writes", "the", "data", "to", "the", "buffer", "and", "triggers", "writes", "to", "the", "service", "as", "needed", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/FileOutputStream.java#L449-L471", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java", "func_name": "CloudStorageAccount.getDNS", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This generates a domain name for the given service.\n\n@param service\nthe service to connect to\n@param base\nthe suffix to use\n@return the domain name", "docstring_tokens": ["This", "generates", "a", "domain", "name", "for", "the", "given", "service", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java#L361-L367", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java", "func_name": "CloudStorageAccount.tryConfigureDevStore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluates connection settings and returns a CloudStorageAccount representing Development Storage.\n\n@param settings\nA java.util.Map of key/value pairs which represents the connection settings.\n@return A {@link CloudStorageAccount} object constructed from the values provided in the connection settings, or\nnull if\none cannot be constructed.\n@throws URISyntaxException\nif the connection settings contains an invalid URI", "docstring_tokens": ["Evaluates", "connection", "settings", "and", "returns", "a", "CloudStorageAccount", "representing", "Development", "Storage", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java#L380-L400", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java", "func_name": "CloudStorageAccount.tryConfigureServiceAccount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Evaluates connection settings and configures a CloudStorageAccount accordingly.\n\n@param settings\nA java.util.Map of key/value pairs which represents\nthe connection settings.\n@return A {@link CloudStorageAccount} represented by the settings.\n@throws URISyntaxException\nif the connectionString specifies an invalid URI.\n@throws InvalidKeyException\nif credentials in the connection settings contain an invalid key.", "docstring_tokens": ["Evaluates", "connection", "settings", "and", "configures", "a", "CloudStorageAccount", "accordingly", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java#L587-L680", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java", "func_name": "CloudStorageAccount.createCloudAnalyticsClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new Analytics service client.\n\n@return An analytics client object that uses the Blob and Table service endpoints.", "docstring_tokens": ["Creates", "a", "new", "Analytics", "service", "client", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java#L1025-L1039", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java", "func_name": "CloudStorageAccount.createCloudBlobClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new Blob service client.\n\n@return A {@link CloudBlobClient} that represents the cloud Blob client.", "docstring_tokens": ["Creates", "a", "new", "Blob", "service", "client", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java#L1047-L1057", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java", "func_name": "CloudStorageAccount.createCloudFileClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new File service client.\n\n@return A {@link CloudFileClient} that represents the cloud File client.", "docstring_tokens": ["Creates", "a", "new", "File", "service", "client", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java#L1065-L1080", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java", "func_name": "CloudStorageAccount.createCloudQueueClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new Queue service client.\n\n@return A client object that uses the Queue service endpoint.", "docstring_tokens": ["Creates", "a", "new", "Queue", "service", "client", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java#L1087-L1102", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java", "func_name": "CloudStorageAccount.createCloudTableClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new Table service client.\n\n@return A client object that uses the Table service endpoint.", "docstring_tokens": ["Creates", "a", "new", "Table", "service", "client", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java#L1109-L1124", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java", "func_name": "CloudStorageAccount.generateSharedAccessSignature", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a shared access signature for the account.\n\n@param policy\nA {@link SharedAccessAccountPolicy} specifying the access policy for the shared access signature.\n\n@return The query string returned includes the leading question mark.\n@throws StorageException\nIf a storage service error occurred.\n@throws InvalidKeyException\nIf the key is invalid.", "docstring_tokens": ["Returns", "a", "shared", "access", "signature", "for", "the", "account", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/CloudStorageAccount.java#L1247-L1258", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableOperation.java", "func_name": "TableOperation.generateRequestIdentity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Generates the request identity, consisting of the specified entry name, or the\nPartitionKey and RowKey pair from the operation, to identify the operation target.\n\n@param isSingleIndexEntry\nPass true to use the specified entryName parameter, or false to\nuse PartitionKey and RowKey values from the operation as the request identity.\n@param entryName\nThe entry name to use as the request identity if the isSingleIndexEntry parameter is\ntrue.\n@return\nA String which represents the formatted request identity string.\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Generates", "the", "request", "identity", "consisting", "of", "the", "specified", "entry", "name", "or", "the", "PartitionKey", "and", "RowKey", "pair", "from", "the", "operation", "to", "identify", "the", "operation", "target", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableOperation.java#L718-L745", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableOperation.java", "func_name": "TableOperation.generateRequestIdentityWithTable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Generates the request identity string for the specified table. The request identity\nstring combines the table name with the PartitionKey and RowKey from the operation to identify specific table\nentities. This request identity is already UrlEncoded.\n\n@param tableName\nA String which specifies the name of the table.\n@return\nA String which represents the formatted request identity string for the specified table.\n@throws StorageException", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Generates", "the", "request", "identity", "string", "for", "the", "specified", "table", ".", "The", "request", "identity", "string", "combines", "the", "table", "name", "with", "the", "PartitionKey", "and", "RowKey", "from", "the", "operation", "to", "identify", "specific", "table", "entities", ".", "This", "request", "identity", "is", "already", "UrlEncoded", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableOperation.java#L758-L760", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageRequest.java", "func_name": "StorageRequest.initialize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resets the operation status flags between operations.", "docstring_tokens": ["Resets", "the", "operation", "status", "flags", "between", "operations", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageRequest.java#L284-L292", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageRequest.java", "func_name": "StorageRequest.materializeException", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns either the held exception from the operation if it is set, otherwise the translated exception.\n\n@param request\nthe reference to the HttpURLConnection for the operation.\n@param opContext\nan object used to track the execution of the operation\n@return the exception to throw.", "docstring_tokens": ["Returns", "either", "the", "held", "exception", "from", "the", "operation", "if", "it", "is", "set", "otherwise", "the", "translated", "exception", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageRequest.java#L310-L316", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageRequest.java", "func_name": "StorageRequest.postProcessResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Post-Stream Retrieval function.\n\n@param connection\nHttpURLConnection configured for the operation.\n@param storageObject\nAn object of the expected result's type.\n@return the expected result of the operation.\n@throws Exception", "docstring_tokens": ["Post", "-", "Stream", "Retrieval", "function", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageRequest.java#L618-L621", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageRequest.java", "func_name": "StorageRequest.parseErrorDetails", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns extended error information for this request.\n\n@return A {@link StorageExtendedErrorInformation} object that represents the error details for the specified\nrequest.", "docstring_tokens": ["Returns", "extended", "error", "information", "for", "this", "request", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/core/StorageRequest.java#L647-L657", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java", "func_name": "TableBatchOperation.delete", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a table operation to delete the specified entity to the batch operation.\n\n@param entity\nThe {@link TableEntity} to delete.", "docstring_tokens": ["Adds", "a", "table", "operation", "to", "delete", "the", "specified", "entity", "to", "the", "batch", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java#L182-L185", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java", "func_name": "TableBatchOperation.insert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a table operation to insert the specified entity to the batch operation.\n\n@param entity\nThe {@link TableEntity} to insert.\n@param echoContent\nThe boolean representing whether the message payload should be returned in the response.", "docstring_tokens": ["Adds", "a", "table", "operation", "to", "insert", "the", "specified", "entity", "to", "the", "batch", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java#L205-L208", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java", "func_name": "TableBatchOperation.insertOrMerge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a table operation to insert or merge the specified entity to the batch operation.\n\n@param entity\nThe {@link TableEntity} to insert if not found or to merge if it exists.", "docstring_tokens": ["Adds", "a", "table", "operation", "to", "insert", "or", "merge", "the", "specified", "entity", "to", "the", "batch", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java#L216-L219", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java", "func_name": "TableBatchOperation.insertOrReplace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a table operation to insert or replace the specified entity to the batch operation.\n\n@param entity\nThe {@link TableEntity} to insert if not found or to replace if it exists.", "docstring_tokens": ["Adds", "a", "table", "operation", "to", "insert", "or", "replace", "the", "specified", "entity", "to", "the", "batch", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java#L227-L230", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java", "func_name": "TableBatchOperation.merge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a table operation to merge the specified entity to the batch operation.\n\n@param entity\nThe {@link TableEntity} to merge.", "docstring_tokens": ["Adds", "a", "table", "operation", "to", "merge", "the", "specified", "entity", "to", "the", "batch", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java#L238-L241", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java", "func_name": "TableBatchOperation.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the table operation at the specified index from the batch operation.\n\n@param index\nAn int which represents the index in the ArrayList of the table operation to\nremove from the batch operation.", "docstring_tokens": ["Removes", "the", "table", "operation", "at", "the", "specified", "index", "from", "the", "batch", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java#L283-L288", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java", "func_name": "TableBatchOperation.removeAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all elements of the specified collection from the batch operation.\n\n@param c\nThe collection of elements to remove from the batch operation.\n@return\ntrue if the objects in the collection were removed successfully.", "docstring_tokens": ["Removes", "all", "elements", "of", "the", "specified", "collection", "from", "the", "batch", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java#L313-L318", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java", "func_name": "TableBatchOperation.replace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a table operation to replace the specified entity to the batch operation.\n\n@param entity\nThe {@link TableEntity} to replace.", "docstring_tokens": ["Adds", "a", "table", "operation", "to", "replace", "the", "specified", "entity", "to", "the", "batch", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java#L326-L329", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java", "func_name": "TableBatchOperation.checkSingleQueryPerBatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Verifies that the batch operation either contains no retrieve operations, or contains\nonly a single retrieve operation.\n\n@param op\nThe {@link TableOperation} to be added if the verification succeeds.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Verifies", "that", "the", "batch", "operation", "either", "contains", "no", "retrieve", "operations", "or", "contains", "only", "a", "single", "retrieve", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java#L349-L365", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java", "func_name": "TableBatchOperation.lockToPartitionKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Verifies that the specified PartitionKey value matches the value in the batch\noperation.\n\n@param partitionKey\nThe String containing the PartitionKey value to check.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Verifies", "that", "the", "specified", "PartitionKey", "value", "matches", "the", "value", "in", "the", "batch", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableBatchOperation.java#L374-L383", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java", "func_name": "CloudFileShare.create", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates the share using the specified options and operation context.\n\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Creates", "the", "share", "using", "the", "specified", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java#L205-L221", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java", "func_name": "CloudFileShare.deleteIfExists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes the share if it exists using the specified request options and operation context.\n\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the share.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return true if the share existed and was deleted; otherwise, false.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Deletes", "the", "share", "if", "it", "exists", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java#L462-L467", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java", "func_name": "CloudFileShare.downloadPermissions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Downloads the permissions settings for the share using the specified request options and operation context.\n\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the share.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@return A {@link FileSharePermissions} object that represents the share's permissions.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Downloads", "the", "permissions", "settings", "for", "the", "share", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java#L639-L653", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java", "func_name": "CloudFileShare.generateSharedAccessSignature", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a shared access signature for the share. Note this does not contain the leading \"?\".\n\n@param policy\nAn {@link SharedAccessFilePolicy} object that represents the access policy for the\nshared access signature.\n@param groupPolicyIdentifier\nA String which represents the share-level access policy.\n@param ipRange\nA {@link IPRange} object containing the range of allowed IP addresses.\n@param protocols\nA {@link SharedAccessProtocols} representing the allowed Internet protocols.\n\n@return A String which represents a shared access signature for the share.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws InvalidKeyException\nIf the key is invalid.", "docstring_tokens": ["Returns", "a", "shared", "access", "signature", "for", "the", "share", ".", "Note", "this", "does", "not", "contain", "the", "leading", "?", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java#L1093-L1113", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java", "func_name": "CloudFileShare.uploadPermissions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uploads the share's permissions.\n\n@param permissions\nA {@link FileSharePermissions} object that represents the permissions to upload.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Uploads", "the", "share", "s", "permissions", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java#L1308-L1311", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java", "func_name": "CloudFileShare.uploadPermissions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Uploads the share's permissions using the specified request options and operation context.\n\n@param permissions\nA {@link FileSharePermissions} object that represents the permissions to upload.\n@param accessCondition\nAn {@link AccessCondition} object that represents the access conditions for the share.\n@param options\nA {@link FileRequestOptions} object that specifies any additional options for the request. Specifying\nnull will use the default request options from the associated service client (\n{@link CloudFileClient}).\n@param opContext\nAn {@link OperationContext} object that represents the context for the current operation. This object\nis used to track requests to the storage service, and to provide additional runtime information about\nthe operation.\n\n@throws StorageException\nIf a storage service error occurred.", "docstring_tokens": ["Uploads", "the", "share", "s", "permissions", "using", "the", "specified", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java#L1332-L1347", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java", "func_name": "CloudFileShare.getQualifiedUri", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the snapshot or shared access signature qualified URI for this share.\n\n@return A java.net.URI object that represents the snapshot or shared access signature.\n\n@throws StorageException\nIf a storage service error occurred.\n@throws URISyntaxException\nIf the resource URI is invalid.", "docstring_tokens": ["Returns", "the", "snapshot", "or", "shared", "access", "signature", "qualified", "URI", "for", "this", "share", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/file/CloudFileShare.java#L1520-L1526", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/table/TableGettingStartedTask.java", "func_name": "TableGettingStartedTask.BasicInsertEntity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Illustrates how to form and execute a single insert operation.\n\n@throws StorageException", "docstring_tokens": ["Illustrates", "how", "to", "form", "and", "execute", "a", "single", "insert", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/table/TableGettingStartedTask.java#L104-L121", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/table/TableGettingStartedTask.java", "func_name": "TableGettingStartedTask.BasicBatch", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Illustrates how to form and execute a batch operation.\n\n@throws StorageException", "docstring_tokens": ["Illustrates", "how", "to", "form", "and", "execute", "a", "batch", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/table/TableGettingStartedTask.java#L128-L158", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/table/TableGettingStartedTask.java", "func_name": "TableGettingStartedTask.BasicQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Illustrates how to form and execute a query operation.\n\n@throws StorageException", "docstring_tokens": ["Illustrates", "how", "to", "form", "and", "execute", "a", "query", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/table/TableGettingStartedTask.java#L165-L195", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/table/TableGettingStartedTask.java", "func_name": "TableGettingStartedTask.BasicUpsert", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Illustrates how to form and execute an upsert operation.\n\n@throws StorageException", "docstring_tokens": ["Illustrates", "how", "to", "form", "and", "execute", "an", "upsert", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/table/TableGettingStartedTask.java#L202-L221", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/table/TableGettingStartedTask.java", "func_name": "TableGettingStartedTask.BasicDeleteEntity", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Illustrates how to form and execute an entity delete operation.\n\n@throws StorageException", "docstring_tokens": ["Illustrates", "how", "to", "form", "and", "execute", "an", "entity", "delete", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/table/TableGettingStartedTask.java#L228-L244", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/table/TableGettingStartedTask.java", "func_name": "TableGettingStartedTask.BasicListing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Illustrates how to list the tables.", "docstring_tokens": ["Illustrates", "how", "to", "list", "the", "tables", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage-samples/src/com/microsoft/azure/storage/samples/table/TableGettingStartedTask.java#L249-L256", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTableClient.java", "func_name": "CloudTableClient.generateListTablesQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Generates a query to list table names with the given prefix.\n\n@param prefix\nA String containing the prefix to match on table names to return.\n@return\nA {@link TableQuery} instance for listing table names with the specified prefix.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Generates", "a", "query", "to", "list", "table", "names", "with", "the", "given", "prefix", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTableClient.java#L308-L321", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTableClient.java", "func_name": "CloudTableClient.executeQuerySegmentedImpl", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Executes a segmented query operation using the specified retry and timeout policies.\n\n@param queryToExecute\nThe {@link TableQuery} to execute.\n@param resolver\nAn {@link EntityResolver} instance which creates a projection of the table query result entities into\nthe specified type R. Pass null to return the results as the table entity\ntype.\n@param continuationToken\nThe {@link ResultContinuation} to pass with the operation to resume a query, if any. Pass\nnull for an initial query.\n@param options\nA {@link TableRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudTableClient}.\n@param opContext\nAn {@link OperationContext} object for tracking the current operation. Specify null to\nsafely ignore operation context.\n@return\nA {@link ResultSegment} containing a collection of the query results specialized for the\n{@link TableEntity} or {@link EntityResolver} type returned by the query.\n@throws StorageException\nif a Storage service error occurs.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Executes", "a", "segmented", "query", "operation", "using", "the", "specified", "retry", "and", "timeout", "policies", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTableClient.java#L348-L366", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTableClient.java", "func_name": "CloudTableClient.generateIteratorForQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reserved for internal use. Generates an iterator for a segmented query operation.\n\n@param queryRef\nThe {@link TableQuery} to execute.\n@param resolver\nAn {@link EntityResolver} instance which creates a projection of the table query result entities into\nthe specified type R. Pass null to return the results as the table entity\ntype.\n@param options\nA {@link TableRequestOptions} object that specifies execution options such as retry policy and timeout\nsettings for the operation. Specify null to use the request options specified on the\n{@link CloudTableClient}.\n@param opContext\nAn {@link OperationContext} object for tracking the current operation. Specify null to\nsafely ignore operation context.\n@return\nAn instance of Iterable specialized for the {@link TableEntity} or {@link EntityResolver}\ntype returned by the query.", "docstring_tokens": ["Reserved", "for", "internal", "use", ".", "Generates", "an", "iterator", "for", "a", "segmented", "query", "operation", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/table/CloudTableClient.java#L544-L566", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecord.java", "func_name": "LogRecord.populateVersion1Log", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Populates a LogRecord using the Version 1.0 schema and the given LogRecordStreamReader.\n\n@param reader\nthe LogRecordStreamReader to use to populate the LogRecord.\n@throws IOException\n@throws ParseException\n@throws URISyntaxException", "docstring_tokens": ["Populates", "a", "LogRecord", "using", "the", "Version", "1", ".", "0", "schema", "and", "the", "given", "LogRecordStreamReader", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/analytics/LogRecord.java#L146-L179", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueListHandler.java", "func_name": "QueueListHandler.getQueues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the input stream containing the response body of the list queues request result and populates the class\ndata.\n\n@param stream\nThe InputStream object to deserialize from.\n@param serviceClient\nA {@link CloudQueueClient} object associated with the storage\nservice.\n\n@throws IOException\n@throws SAXException\n@throws ParserConfigurationException", "docstring_tokens": ["Parses", "the", "input", "stream", "containing", "the", "response", "body", "of", "the", "list", "queues", "request", "result", "and", "populates", "the", "class", "data", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/QueueListHandler.java#L69-L76", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/StorageException.java", "func_name": "StorageException.translateFromHttpStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Translates the specified HTTP status code into a storage exception.\n\n@param statusCode\nThe HTTP status code returned by the operation.\n@param statusDescription\nA String that represents the status description.\n@param inner\nAn Exception object that represents a reference to the initial exception, if one exists.\n\n@return A StorageException object that represents translated exception.", "docstring_tokens": ["Translates", "the", "specified", "HTTP", "status", "code", "into", "a", "storage", "exception", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/StorageException.java#L119-L177", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueClient.java", "func_name": "CloudQueueClient.listQueues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets an iterable collection of queues for this queue service client.\n\n@return An iterable collection of {@link CloudQueue} objects retrieved lazily that\nrepresent the queues in this client.", "docstring_tokens": ["Gets", "an", "iterable", "collection", "of", "queues", "for", "this", "queue", "service", "client", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueClient.java#L112-L115", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueClient.java", "func_name": "CloudQueueClient.listQueues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an iterable collection of queues whose names begin with the\nspecified prefix in this Queue service client.\n\n@param prefix\nA String that represents the queue name prefix.\n\n@return An iterable collection of {@link CloudQueue} objects retrieved lazily that\nrepresent the queues in this client whose names begin with the\nspecified prefix.", "docstring_tokens": ["Returns", "an", "iterable", "collection", "of", "queues", "whose", "names", "begin", "with", "the", "specified", "prefix", "in", "this", "Queue", "service", "client", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueClient.java#L128-L131", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueClient.java", "func_name": "CloudQueueClient.listQueues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an iterable collection of queues whose names begin with the\nspecified prefix for this Queue service client, using the specified\ndetails setting, request options, and operation context.\n\n@param prefix\nA String that represents the queue name prefix.\n@param detailsIncluded\nA {@link QueueListingDetails} value that indicates whether\nqueue metadata will be returned.\n@param options\nA {@link QueueRequestOptions} object that specifies any\nadditional options for the request. Specifying null will use the default request options\nfrom\nthe associated service client ( {@link CloudQueue}).\n@param opContext\nAn {@link OperationContext} object that represents the context\nfor the current operation. This object is used to track\nrequests to the storage service, and to provide additional\nruntime information about the operation.\n\n@return An iterable collection of {@link CloudQueue} objects retrieved lazily that\nrepresents the specified queues for this client.", "docstring_tokens": ["Returns", "an", "iterable", "collection", "of", "queues", "whose", "names", "begin", "with", "the", "specified", "prefix", "for", "this", "Queue", "service", "client", "using", "the", "specified", "details", "setting", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueClient.java#L157-L170", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueClient.java", "func_name": "CloudQueueClient.listQueuesSegmented", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a result segment of an iterable collection of queues for this Queue\nservice client.\n\n@return A {@link ResultSegment} of {@link CloudQueue} objects that\ncontains a segment of the iterable collection of {@link CloudQueue} objects that represent the requested\nqueues in\nthe storage service.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Gets", "a", "result", "segment", "of", "an", "iterable", "collection", "of", "queues", "for", "this", "Queue", "service", "client", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueClient.java#L184-L187", "partition": "valid"}
+{"repo": "Azure/azure-storage-android", "path": "microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueClient.java", "func_name": "CloudQueueClient.listQueuesSegmented", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets a result segment of an iterable collection of queues whose names\nbegin with the specified prefix for this queue, using the specified\nlisting details options, request options, and operation context.\n\n@param prefix\nA String that represents the prefix of the queue\nname to match.\n@param detailsIncluded\nA {@link QueueListingDetails} value that indicates whether\nqueue metadata will be returned.\n@param maxResults\nThe maximum number of results to retrieve. If null or greater\nthan 5000, the server will return up to 5,000 items. Must be at least 1.\n@param continuationToken\nA {@link ResultContinuation} object that represents a\ncontinuation token returned by a previous listing operation.\n@param options\nA {@link QueueRequestOptions} object that specifies any additional options for\nthe request. Specifying null will use the default request options\nfrom the associated service client ( {@link CloudQueue}).\n@param opContext\nAn {@link OperationContext} object that represents the context\nfor the current operation. This object is used to track\nrequests to the storage service, and to provide additional\nruntime information about the operation.\n\n@return A {@link ResultSegment} of {@link CloudQueue} objects that contains a segment of\nthe iterable collection of {@link CloudQueue} objects that represent the requested\nqueues in the storage service.\n\n@throws StorageException\nIf a storage service error occurred during the operation.", "docstring_tokens": ["Gets", "a", "result", "segment", "of", "an", "iterable", "collection", "of", "queues", "whose", "names", "begin", "with", "the", "specified", "prefix", "for", "this", "queue", "using", "the", "specified", "listing", "details", "options", "request", "options", "and", "operation", "context", "."], "sha": "2c643c37c6b8c9081058add284c601a2393afc93", "url": "https://github.com/Azure/azure-storage-android/blob/2c643c37c6b8c9081058add284c601a2393afc93/microsoft-azure-storage/src/com/microsoft/azure/storage/queue/CloudQueueClient.java#L240-L258", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron-ant-task/src/main/java/com/helger/schematron/ant/Schematron.java", "func_name": "Schematron.addConfiguredXMLCatalog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the catalog to our internal catalog\n\n@param aXmlCatalog\nthe XMLCatalog instance to use to look up DTDs", "docstring_tokens": ["Add", "the", "catalog", "to", "our", "internal", "catalog"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron-ant-task/src/main/java/com/helger/schematron/ant/Schematron.java#L318-L322", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/preprocess/PreprocessorIDPool.java", "func_name": "PreprocessorIDPool.getUniqueID", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a unique ID based on the passed one. If the passed ID is not yet\ncontained, than a numeric index is appended until the ID is unique.\n\n@param sID\nThe source ID. May be null.\n@return null if the passed ID is null indicating\nthat no ID is present. Otherwise a unique ID is returned.", "docstring_tokens": ["Create", "a", "unique", "ID", "based", "on", "the", "passed", "one", ".", "If", "the", "passed", "ID", "is", "not", "yet", "contained", "than", "a", "numeric", "index", "is", "appended", "until", "the", "ID", "is", "unique", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/preprocess/PreprocessorIDPool.java#L48-L73", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java", "func_name": "SchematronResourcePure.setPhase", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the Schematron phase to be evaluated. Changing the phase will result in\na newly bound schema!\n\n@param sPhase\nThe name of the phase to use. May be null which means\nall phases.\n@return this", "docstring_tokens": ["Set", "the", "Schematron", "phase", "to", "be", "evaluated", ".", "Changing", "the", "phase", "will", "result", "in", "a", "newly", "bound", "schema!"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java#L118-L125", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java", "func_name": "SchematronResourcePure.setErrorHandler", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the error handler to be used during binding.\n\n@param aErrorHandler\nThe error handler. May be null.\n@return this", "docstring_tokens": ["Set", "the", "error", "handler", "to", "be", "used", "during", "binding", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java#L144-L151", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java", "func_name": "SchematronResourcePure.setVariableResolver", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the variable resolver to be used in the XPath statements. This can only\nbe set before the Schematron is bound. If it is already bound an exception\nis thrown to indicate the unnecessity of the call.\n\n@param aVariableResolver\nThe variable resolver to set. May be null.\n@return this", "docstring_tokens": ["Set", "the", "variable", "resolver", "to", "be", "used", "in", "the", "XPath", "statements", ".", "This", "can", "only", "be", "set", "before", "the", "Schematron", "is", "bound", ".", "If", "it", "is", "already", "bound", "an", "exception", "is", "thrown", "to", "indicate", "the", "unnecessity", "of", "the", "call", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java#L171-L178", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java", "func_name": "SchematronResourcePure.setFunctionResolver", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the function resolver to be used in the XPath statements. This can only\nbe set before the Schematron is bound. If it is already bound an exception\nis thrown to indicate the unnecessity of the call.\n\n@param aFunctionResolver\nThe function resolver to set. May be null.\n@return this", "docstring_tokens": ["Set", "the", "function", "resolver", "to", "be", "used", "in", "the", "XPath", "statements", ".", "This", "can", "only", "be", "set", "before", "the", "Schematron", "is", "bound", ".", "If", "it", "is", "already", "bound", "an", "exception", "is", "thrown", "to", "indicate", "the", "unnecessity", "of", "the", "call", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java#L198-L205", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java", "func_name": "SchematronResourcePure.setEntityResolver", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the XML entity resolver to be used when reading the Schematron or the\nXML to be validated. This can only be set before the Schematron is bound.\nIf it is already bound an exception is thrown to indicate the unnecessity\nof the call.\n\n@param aEntityResolver\nThe entity resolver to set. May be null.\n@return this\n@since 4.1.1", "docstring_tokens": ["Set", "the", "XML", "entity", "resolver", "to", "be", "used", "when", "reading", "the", "Schematron", "or", "the", "XML", "to", "be", "validated", ".", "This", "can", "only", "be", "set", "before", "the", "Schematron", "is", "bound", ".", "If", "it", "is", "already", "bound", "an", "exception", "is", "thrown", "to", "indicate", "the", "unnecessity", "of", "the", "call", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java#L218-L225", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java", "func_name": "SchematronResourcePure.getOrCreateBoundSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the cached bound schema or create a new one.\n\n@return The bound schema. Never null.", "docstring_tokens": ["Get", "the", "cached", "bound", "schema", "or", "create", "a", "new", "one", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java#L262-L278", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java", "func_name": "SchematronResourcePure.validateCompletely", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Use the provided error handler to validate all elements in the schematron.\nIt tries to catch as many errors as possible.\n\n@param aErrorHandler\nThe error handler to use. May not be null.", "docstring_tokens": ["Use", "the", "provided", "error", "handler", "to", "validate", "all", "elements", "in", "the", "schematron", ".", "It", "tries", "to", "catch", "as", "many", "errors", "as", "possible", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java#L313-L325", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java", "func_name": "SchematronResourcePure.applySchematronValidationToSVRL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The main method to convert a node to an SVRL document.\n\n@param aXMLNode\nThe source node to be validated. May not be null.\n@param sBaseURI\nBase URI of the XML document to be validated. May be\nnull.\n@return The SVRL document. Never null.\n@throws SchematronException\nin case of a sever error validating the schema", "docstring_tokens": ["The", "main", "method", "to", "convert", "a", "node", "to", "an", "SVRL", "document", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/SchematronResourcePure.java#L351-L364", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/preprocess/PSPreprocessor.java", "func_name": "PSPreprocessor._resolveRuleContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolve all <extends> elements. This method calls itself recursively\nuntil all extends elements are resolved.\n\n@param aRuleContent\nA list consisting of {@link PSAssertReport} and {@link PSExtends}\nobjects. Never null.\n@param aLookup\nThe rule lookup object\n@throws SchematronPreprocessException\nIf the base rule of an extends object could not be resolved.", "docstring_tokens": ["Resolve", "all", "<", ";", "extends>", ";", "elements", ".", "This", "method", "calls", "itself", "recursively", "until", "all", "extends", "elements", "are", "resolved", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/preprocess/PSPreprocessor.java#L293-L325", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/preprocess/PSPreprocessor.java", "func_name": "PSPreprocessor.getAsMinimalSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the passed schema to a minimal schema.\n\n@param aSchema\nThe schema to be made minimal. May not be null\n@return The original schema object, if it is already minimal - a minimal\ncopy otherwise! May be null if the original schema is\nnot yet minimal and {@link #isKeepEmptySchema()} is set to\nfalse.\n@throws SchematronPreprocessException\nIn case a preprocessing error occurs", "docstring_tokens": ["Convert", "the", "passed", "schema", "to", "a", "minimal", "schema", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/preprocess/PSPreprocessor.java#L454-L464", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/preprocess/PSPreprocessor.java", "func_name": "PSPreprocessor.getAsPreprocessedSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the passed schema to a pre-processed schema.\n\n@param aSchema\nThe schema to pre-process. May not be null\n@return The original schema object, if it is already pre-processed - a\npre-processed copy otherwise! May be null if the\noriginal schema is not yet pre-processed and\n{@link #isKeepEmptySchema()} is set to false.\n@throws SchematronPreprocessException\nIn case a preprocessing error occurs", "docstring_tokens": ["Convert", "the", "passed", "schema", "to", "a", "pre", "-", "processed", "schema", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/preprocess/PSPreprocessor.java#L478-L488", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/preprocess/PSPreprocessor.java", "func_name": "PSPreprocessor.getForcedPreprocessedSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert the passed schema to a pre-processed schema independent if it is\nalready minimal or not.\n\n@param aSchema\nThe schema to be made minimal. May not be null\n@return A minimal copy of the schema. May be null if the\noriginal schema is not yet minimal and {@link #isKeepEmptySchema()}\nis set to false.\n@throws SchematronPreprocessException\nIn case a preprocessing error occurs", "docstring_tokens": ["Convert", "the", "passed", "schema", "to", "a", "pre", "-", "processed", "schema", "independent", "if", "it", "is", "already", "minimal", "or", "not", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/preprocess/PSPreprocessor.java#L502-L548", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/bound/PSBoundSchemaCacheKey.java", "func_name": "PSBoundSchemaCacheKey.readSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the specified schema from the passed resource.\n\n@param aResource\nThe resource to read from. Never null.\n@param aErrorHandler\nThe error handler to use. May be null.\n@param aEntityResolver\nThe XML entity resolver to be used. May be null.\n@return The read schema. May not be null.\n@throws SchematronException\nIn case there is an error reading.", "docstring_tokens": ["Read", "the", "specified", "schema", "from", "the", "passed", "resource", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/bound/PSBoundSchemaCacheKey.java#L153-L160", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/bound/PSBoundSchemaCacheKey.java", "func_name": "PSBoundSchemaCacheKey.getQueryBinding", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine the query binding for the read schema.\n\n@param aSchema\nThe read schema. Never null.\n@return The query binding to use. Never null.\n@throws SchematronException\nIn case the determination fails.", "docstring_tokens": ["Determine", "the", "query", "binding", "for", "the", "read", "schema", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/bound/PSBoundSchemaCacheKey.java#L171-L176", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/bound/PSBoundSchemaCacheKey.java", "func_name": "PSBoundSchemaCacheKey.createPreprocessedSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Pre-process the read schema, using the determined query binding.\n\n@param aSchema\nThe read schema. Never null.\n@param aQueryBinding\nThe determined query binding. Never null.\n@return The pre-processed schema and never null.\n@throws SchematronException\nIn case pre-processing fails", "docstring_tokens": ["Pre", "-", "process", "the", "read", "schema", "using", "the", "determined", "query", "binding", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/bound/PSBoundSchemaCacheKey.java#L206-L222", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSWriter.java", "func_name": "PSWriter.writeToFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the passed Schematron element to the passed file.\n\n@param aPSElement\nThe schematron element to write. May not be null.\n@param aFile\nThe file to write things to. May not be null.\n@return {@link ESuccess}.", "docstring_tokens": ["Write", "the", "passed", "Schematron", "element", "to", "the", "passed", "file", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSWriter.java#L93-L99", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSWriter.java", "func_name": "PSWriter.writeToStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the passed Schematron element to the passed output stream.\n\n@param aPSElement\nThe schematron element to write. May not be null.\n@param aOS\nThe output stream to write things to. May not be null.\nThe stream is automatically closed.\n@return {@link ESuccess}.", "docstring_tokens": ["Write", "the", "passed", "Schematron", "element", "to", "the", "passed", "output", "stream", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSWriter.java#L111-L117", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSWriter.java", "func_name": "PSWriter.writeToWriter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the passed Schematron element to the passed writer.\n\n@param aPSElement\nThe schematron element to write. May not be null.\n@param aWriter\nThe writer to write things to. May not be null. The\nwriter is automatically closed.\n@return {@link ESuccess}.", "docstring_tokens": ["Write", "the", "passed", "Schematron", "element", "to", "the", "passed", "writer", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSWriter.java#L129-L135", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/SchematronHelper.java", "func_name": "SchematronHelper.applySchematron", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Apply the passed schematron on the passed XML resource using a custom error\nhandler.\n\n@param aSchematron\nThe Schematron resource. May not be null.\n@param aXML\nThe XML resource. May not be null.\n@return null if either the Schematron or the XML could not be\nread.\n@throws IllegalStateException\nif the processing throws an unexpected exception.", "docstring_tokens": ["Apply", "the", "passed", "schematron", "on", "the", "passed", "XML", "resource", "using", "a", "custom", "error", "handler", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/SchematronHelper.java#L88-L108", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/SchematronHelper.java", "func_name": "SchematronHelper.applySchematron", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Apply the passed schematron on the passed XML node.\n\n@param aSchematron\nThe Schematron resource. May not be null.\n@param aNode\nThe XML node. May not be null.\n@return null if either the Schematron or the XML could not be\nread.\n@throws IllegalStateException\nif the processing throws an unexpected exception.", "docstring_tokens": ["Apply", "the", "passed", "schematron", "on", "the", "passed", "XML", "node", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/SchematronHelper.java#L156-L164", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/binding/xpath/PSXPathVariables.java", "func_name": "PSXPathVariables.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the variable with the specified name\n\n@param sVarName\nThe name of the variable to be removed. May be null.\n@return {@link EChange#CHANGED} if the variable was removed successfully.\nNever null.", "docstring_tokens": ["Remove", "the", "variable", "with", "the", "specified", "name"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/binding/xpath/PSXPathVariables.java#L124-L131", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/binding/xpath/PSXPathVariables.java", "func_name": "PSXPathVariables.removeAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove all variables with the specified names\n\n@param aVars\nA list of variable names to be removed. May be null.\n@return {@link EChange#CHANGED} if at least one variable was removed\nsuccessfully. Never null.", "docstring_tokens": ["Remove", "all", "variables", "with", "the", "specified", "names"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/binding/xpath/PSXPathVariables.java#L141-L163", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLHelper.java", "func_name": "SVRLHelper.getAllFailedAssertions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a list of all failed assertions in a given schematron output.\n\n@param aSchematronOutput\nThe schematron output to be used. May be null.\n@return A non-null list with all failed assertions.", "docstring_tokens": ["Get", "a", "list", "of", "all", "failed", "assertions", "in", "a", "given", "schematron", "output", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLHelper.java#L64-L74", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLHelper.java", "func_name": "SVRLHelper.getAllFailedAssertionsMoreOrEqualSevereThan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a list of all failed assertions in a given schematron output, with an\nerror level equally or more severe than the passed error level.\n\n@param aSchematronOutput\nThe schematron output to be used. May be null.\n@param aErrorLevel\nMinimum error level to be queried\n@return A non-null list with all failed assertions.", "docstring_tokens": ["Get", "a", "list", "of", "all", "failed", "assertions", "in", "a", "given", "schematron", "output", "with", "an", "error", "level", "equally", "or", "more", "severe", "than", "the", "passed", "error", "level", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLHelper.java#L86-L101", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLHelper.java", "func_name": "SVRLHelper.getAllSuccessfulReports", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a list of all successful reports in a given schematron output.\n\n@param aSchematronOutput\nThe schematron output to be used. May be null.\n@return A non-null list with all successful reports.", "docstring_tokens": ["Get", "a", "list", "of", "all", "successful", "reports", "in", "a", "given", "schematron", "output", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLHelper.java#L110-L120", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLHelper.java", "func_name": "SVRLHelper.getAllSuccessfulReportsMoreOrEqualSevereThan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a list of all successful reports in a given schematron output, with an\nerror level equally or more severe than the passed error level.\n\n@param aSchematronOutput\nThe schematron output to be used. May be null.\n@param aErrorLevel\nMinimum error level to be queried\n@return A non-null list with all successful reports.", "docstring_tokens": ["Get", "a", "list", "of", "all", "successful", "reports", "in", "a", "given", "schematron", "output", "with", "an", "error", "level", "equally", "or", "more", "severe", "than", "the", "passed", "error", "level", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLHelper.java#L132-L147", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLHelper.java", "func_name": "SVRLHelper.getAllFailedAssertionsAndSuccessfulReports", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get a list of all failed assertions and successful reports in a given\nschematron output.\n\n@param aSchematronOutput\nThe schematron output to be used. May be null.\n@return A non-null list with all failed assertions and\nsuccessful reports. Maybe an empty list if the input is\nnull.", "docstring_tokens": ["Get", "a", "list", "of", "all", "failed", "assertions", "and", "successful", "reports", "in", "a", "given", "schematron", "output", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLHelper.java#L159-L172", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLHelper.java", "func_name": "SVRLHelper.setErrorLevelDeterminator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set the global error level determinator.\n\n@param aELD\nThe determinator to use. May not be null.", "docstring_tokens": ["Set", "the", "global", "error", "level", "determinator", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLHelper.java#L215-L220", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/binding/PSQueryBindingRegistry.java", "func_name": "PSQueryBindingRegistry.getQueryBindingOfName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the query binding with the specified name.\n\n@param sName\nThe name to the query binding to retrieve. May be null.\nIf it is null than the {@link #DEFAULT_QUERY_BINDING}\nobject is returned.\n@return null if no such query binding was found.", "docstring_tokens": ["Get", "the", "query", "binding", "with", "the", "specified", "name", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/binding/PSQueryBindingRegistry.java#L101-L108", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/binding/PSQueryBindingRegistry.java", "func_name": "PSQueryBindingRegistry.getQueryBindingOfNameOrThrow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the query binding with the specified name\n\n@param sName\nThe name of the query binding to look up. May be null.\n@return Never null.\n@throws SchematronBindException\nIn case the query binding could not be resolved!", "docstring_tokens": ["Get", "the", "query", "binding", "with", "the", "specified", "name"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/binding/PSQueryBindingRegistry.java#L119-L126", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/xpath/XQueryAsXPathFunctionConverter.java", "func_name": "XQueryAsXPathFunctionConverter.loadXQuery", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Load XQuery functions from an input stream. As this function is supposed to\nwork with Saxon HE, this method allows only for loading full XQuery modules\nand not for XQuery libraries.\n\n@param aXQueryIS\nThe Input Stream to read from. May not be null. Will be\nclosed automatically in this method.\n@return A non-null {@link MapBasedXPathFunctionResolver}\ncontaining all loaded functions.\n@throws XPathException\nif the syntax of the expression is wrong, or if it references\nnamespaces, variables, or functions that have not been declared, or\nany other static error is reported.\n@throws IOException\nif a failure occurs reading the supplied input.", "docstring_tokens": ["Load", "XQuery", "functions", "from", "an", "input", "stream", ".", "As", "this", "function", "is", "supposed", "to", "work", "with", "Saxon", "HE", "this", "method", "allows", "only", "for", "loading", "full", "XQuery", "modules", "and", "not", "for", "XQuery", "libraries", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/xpath/XQueryAsXPathFunctionConverter.java#L125-L197", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-sch2xslt-maven-plugin/src/main/java/org/slf4j/impl/Slf4jAdapter.java", "func_name": "Slf4jAdapter._format", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Format with one object.\n\n@param format\nFormat to use\n@param arg\nOne argument\n@return The message", "docstring_tokens": ["Format", "with", "one", "object", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-sch2xslt-maven-plugin/src/main/java/org/slf4j/impl/Slf4jAdapter.java#L367-L371", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-sch2xslt-maven-plugin/src/main/java/org/slf4j/impl/Slf4jAdapter.java", "func_name": "Slf4jAdapter._format", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Format with two objects.\n\n@param format\nFormat to use\n@param first\nFirst argument\n@param second\nSecond argument\n@return The message", "docstring_tokens": ["Format", "with", "two", "objects", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-sch2xslt-maven-plugin/src/main/java/org/slf4j/impl/Slf4jAdapter.java#L384-L388", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron-validator/src/main/java/com/helger/schematron/validator/SchematronValidator.java", "func_name": "SchematronValidator.isValidSchematron", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the passed micro node is a valid schematron instance.\n\n@param aNode\nThe micro node to check. May be null.\n@return true if the schematron is valid, false\notherwise.", "docstring_tokens": ["Check", "if", "the", "passed", "micro", "node", "is", "a", "valid", "schematron", "instance", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron-validator/src/main/java/com/helger/schematron/validator/SchematronValidator.java#L74-L80", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron-validator/src/main/java/com/helger/schematron/validator/SchematronValidator.java", "func_name": "SchematronValidator.isValidSchematron", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the passed DOM node is a valid schematron instance.\n\n@param aNode\nThe DOM node to check. May be null.\n@return true if the schematron is valid, false\notherwise.", "docstring_tokens": ["Check", "if", "the", "passed", "DOM", "node", "is", "a", "valid", "schematron", "instance", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron-validator/src/main/java/com/helger/schematron/validator/SchematronValidator.java#L90-L96", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron-validator/src/main/java/com/helger/schematron/validator/SchematronValidator.java", "func_name": "SchematronValidator.isValidSchematron", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the passed resource is a valid schematron instance.\n\n@param aRes\nThe resource to check. May be null.\n@return true if the schematron is valid, false\notherwise.", "docstring_tokens": ["Check", "if", "the", "passed", "resource", "is", "a", "valid", "schematron", "instance", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron-validator/src/main/java/com/helger/schematron/validator/SchematronValidator.java#L106-L112", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron-validator/src/main/java/com/helger/schematron/validator/SchematronValidator.java", "func_name": "SchematronValidator.isValidSchematron", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the passed source is a valid schematron instance.\n\n@param aSource\nThe source to check. May be null.\n@return true if the schematron is valid, false\notherwise.", "docstring_tokens": ["Check", "if", "the", "passed", "source", "is", "a", "valid", "schematron", "instance", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron-validator/src/main/java/com/helger/schematron/validator/SchematronValidator.java#L122-L158", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/xslt/SchematronResourceSCHCache.java", "func_name": "SchematronResourceSCHCache.createSchematronXSLTProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new Schematron validator for the passed resource.\n\n@param aSchematronResource\nThe resource of the Schematron rules. May not be null.\n@param aTransformerCustomizer\nThe XSLT transformer customizer to be used. May not be\nnull.\n@return null if the passed Schematron resource does not exist\nor is invalid.", "docstring_tokens": ["Create", "a", "new", "Schematron", "validator", "for", "the", "passed", "resource", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/xslt/SchematronResourceSCHCache.java#L62-L95", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/xslt/SchematronResourceSCHCache.java", "func_name": "SchematronResourceSCHCache.getSchematronXSLTProvider", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the Schematron validator for the passed resource. If no custom\nparameter are present, the result is cached. The respective cache key is a\ncombination of the Schematron resource path, the phase and the language\ncode.\n\n@param aSchematronResource\nThe resource of the Schematron rules. May not be null.\n@param aTransformerCustomizer\nThe XSLT transformer customizer to be used. May not be\nnull.\n@return null if the passed Schematron resource does not exist\nor is invalid.", "docstring_tokens": ["Get", "the", "Schematron", "validator", "for", "the", "passed", "resource", ".", "If", "no", "custom", "parameter", "are", "present", "the", "result", "is", "cached", ".", "The", "respective", "cache", "key", "is", "a", "combination", "of", "the", "Schematron", "resource", "path", "the", "phase", "and", "the", "language", "code", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/xslt/SchematronResourceSCHCache.java#L111-L155", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/validation/xpath/PSXPathValidationHandlerSVRL.java", "func_name": "PSXPathValidationHandlerSVRL._getErrorText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the error text from an assert or report element.\n\n@param aBoundContentElements\nThe list of bound elements to be evaluated.\n@param aSourceNode\nThe XML node of the document currently validated.\n@return A non-null String\n@throws SchematronValidationException\nIn case evaluating an XPath expression fails.", "docstring_tokens": ["Get", "the", "error", "text", "from", "an", "assert", "or", "report", "element", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/validation/xpath/PSXPathValidationHandlerSVRL.java#L187-L260", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLLocationBeautifierRegistry.java", "func_name": "SVRLLocationBeautifierRegistry.getBeautifiedLocation", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the beautified location for the given namespace and local name.\n\n@param sNamespaceURI\nThe namespace URI\n@param sLocalName\nThe element local name\n@return null if no beautification is available", "docstring_tokens": ["Get", "the", "beautified", "location", "for", "the", "given", "namespace", "and", "local", "name", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/svrl/SVRLLocationBeautifierRegistry.java#L56-L68", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader._warn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Emit a warning with the registered error handler.\n\n@param aSourceElement\nThe source element where the error occurred.\n@param sMessage\nThe main warning message.", "docstring_tokens": ["Emit", "a", "warning", "with", "the", "registered", "error", "handler", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L158-L164", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readActiveFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an <active> element\n\n@param eActive\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "an", "<", ";", "active>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L173-L219", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readAssertReportFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an <assert> or a <report> element\n\n@param eAssertReport\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "an", "<", ";", "assert>", ";", "or", "a", "<", ";", "report>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L259-L332", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readDiagnosticFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <diagnostic> element\n\n@param eDiagnostic\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "diagnostic>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L341-L396", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readDiagnosticsFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <diagnostics> element\n\n@param eDiagnostics\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "diagnostics>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L405-L430", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readDirFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <dir> element\n\n@param eDir\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "dir>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L439-L476", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readEmphFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an <emph> element\n\n@param eEmph\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "an", "<", ";", "emph>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L485-L519", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readExtendsFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an <extends> element\n\n@param eExtends\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "an", "<", ";", "extends>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L528-L550", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readIncludeFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read an <include> element\n\n@param eInclude\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "an", "<", ";", "include>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L559-L581", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readLetFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <let> element\n\n@param eLet\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "let>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L590-L615", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readNameFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <name> element\n\n@param eName\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "name>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L624-L646", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readNSFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <ns> element\n\n@param eNS\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "ns>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L655-L680", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readPFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <p> element\n\n@param eP\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "p>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L689-L741", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readParamFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <param> element\n\n@param eParam\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "param>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L750-L775", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readPatternFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <pattern> element\n\n@param ePattern\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "pattern>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L784-L839", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readPhaseFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <phase> element\n\n@param ePhase\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "phase>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L848-L887", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readRuleFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <rule> element\n\n@param eRule\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "rule>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L896-L950", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readSchemaFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse the Schematron into a pure Java object. This method makes no\nassumptions on the validity of the document!\n\n@param eSchema\nThe XML element to use. May not be null.\n@return The created {@link PSSchema} object or null in case of\nnull document or a fatal error.\n@throws SchematronReadException\nIf reading fails", "docstring_tokens": ["Parse", "the", "Schematron", "into", "a", "pure", "Java", "object", ".", "This", "method", "makes", "no", "assumptions", "on", "the", "validity", "of", "the", "document!"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L963-L1032", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readSpanFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <span> element\n\n@param eSpan\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "span>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L1041-L1078", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readTitleFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <title> element\n\n@param eTitle\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "title>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L1087-L1125", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java", "func_name": "PSReader.readValueOfFromXML", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a <value-of> element\n\n@param eValueOf\nThe source micro element. Never null.\n@return The created domain object. May not be null.", "docstring_tokens": ["Read", "a", "<", ";", "value", "-", "of>", ";", "element"], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSReader.java#L1134-L1156", "partition": "valid"}
+{"repo": "phax/ph-schematron", "path": "ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSWriterSettings.java", "func_name": "PSWriterSettings.createNamespaceMapping", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method to extract the namespace mapping from the provided\nSchematron.\n\n@param aSchema\nThe schema to extract the namespace context from. May not be\nnull.\n@return A non-null but maybe empty namespace context", "docstring_tokens": ["Helper", "method", "to", "extract", "the", "namespace", "mapping", "from", "the", "provided", "Schematron", "."], "sha": "7475956eed408fb42face4b84684f8d751db0e43", "url": "https://github.com/phax/ph-schematron/blob/7475956eed408fb42face4b84684f8d751db0e43/ph-schematron/src/main/java/com/helger/schematron/pure/exchange/PSWriterSettings.java#L82-L91", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/ConstraintLogic.java", "func_name": "ConstraintLogic.regex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks access to the resource based on the regex\n\n@param requestHeader the HTTP request header\n@param deadboltHandler the Deadbolt handler\n@param invert if true, invert the application of the constraint\n@return the necessary result", "docstring_tokens": ["Checks", "access", "to", "the", "resource", "based", "on", "the", "regex"], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/ConstraintLogic.java#L397-L444", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/actions/AbstractDeadboltAction.java", "func_name": "AbstractDeadboltAction.markAsAuthorised", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Marks the current action as authorised. This allows method-level annotations to override controller-level annotations.\n\n@param request the request", "docstring_tokens": ["Marks", "the", "current", "action", "as", "authorised", ".", "This", "allows", "method", "-", "level", "annotations", "to", "override", "controller", "-", "level", "annotations", "."], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/actions/AbstractDeadboltAction.java#L192-L197", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/actions/AbstractDeadboltAction.java", "func_name": "AbstractDeadboltAction.isAuthorised", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if an action is authorised. This allows controller-level annotations to cede control to method-level annotations.\n\n@param request the request\n@return true if a more-specific annotation has authorised access, otherwise false", "docstring_tokens": ["Checks", "if", "an", "action", "is", "authorised", ".", "This", "allows", "controller", "-", "level", "annotations", "to", "cede", "control", "to", "method", "-", "level", "annotations", "."], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/actions/AbstractDeadboltAction.java#L209-L212", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/actions/AbstractDeadboltAction.java", "func_name": "AbstractDeadboltAction.defer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Defer execution until a later point.\n\n@param request the request\n@param action the action to defer", "docstring_tokens": ["Defer", "execution", "until", "a", "later", "point", "."], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/actions/AbstractDeadboltAction.java#L220-L231", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/actions/AbstractDeadboltAction.java", "func_name": "AbstractDeadboltAction.getDeferredAction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the deferred action from the request.\n\n@param request the request\n@return a tuple containing the deferred action (or null if it doesn't exist) and the cleaned up request you should pass on", "docstring_tokens": ["Get", "the", "deferred", "action", "from", "the", "request", "."], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/actions/AbstractDeadboltAction.java#L250-L257", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/actions/AbstractDeadboltAction.java", "func_name": "AbstractDeadboltAction.authorizeAndExecute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a flag to the request to indicate the action has passed the constraint\nand call the delegate.\n\n@param request the request\n@return the result", "docstring_tokens": ["Add", "a", "flag", "to", "the", "request", "to", "indicate", "the", "action", "has", "passed", "the", "constraint", "and", "call", "the", "delegate", "."], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/actions/AbstractDeadboltAction.java#L275-L283", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/actions/AbstractDeadboltAction.java", "func_name": "AbstractDeadboltAction.deadboltActionLeftInActionChain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Recursive method to determine if there is another deadbolt action further down the action chain", "docstring_tokens": ["Recursive", "method", "to", "determine", "if", "there", "is", "another", "deadbolt", "action", "further", "down", "the", "action", "chain"], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/actions/AbstractDeadboltAction.java#L321-L330", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/DeadboltAnalyzer.java", "func_name": "DeadboltAnalyzer.getRoleNames", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the role name of each role held.\n\n@param subjectOption an option for the subject\n@return a non-null list containing all role names", "docstring_tokens": ["Gets", "the", "role", "name", "of", "each", "role", "held", "."], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/DeadboltAnalyzer.java#L61-L77", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/DeadboltAnalyzer.java", "func_name": "DeadboltAnalyzer.hasRole", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the subject has the given role.\n\n@param subjectOption an option for the subject\n@param roleName the name of the role\n@return true iff the subject has the role represented by the role name", "docstring_tokens": ["Check", "if", "the", "subject", "has", "the", "given", "role", "."], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/DeadboltAnalyzer.java#L86-L90", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/filters/FilterConstraints.java", "func_name": "FilterConstraints.subjectPresent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A constraint that requires a subject to be present.\n\n@param content is passed to {@link DeadboltHandler#onAuthFailure(Http.RequestHeader, Optional)} if the authorization fails\n@return a function that wraps the constraint\n@see ConstraintLogic#subjectPresent(Http.RequestHeader, DeadboltHandler, Optional, TriFunction, TriFunction, ConstraintPoint)", "docstring_tokens": ["A", "constraint", "that", "requires", "a", "subject", "to", "be", "present", "."], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/filters/FilterConstraints.java#L77-L91", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/utils/TemplateUtils.java", "func_name": "TemplateUtils.roles", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the roles into a String array.\n\n@param roles the roles\n@return the roles as an array of strings", "docstring_tokens": ["Converts", "the", "roles", "into", "a", "String", "array", "."], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/utils/TemplateUtils.java#L39-L47", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/utils/TemplateUtils.java", "func_name": "TemplateUtils.permissions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the permissions into a String array.\n\n@param permissions the permissions\n@return the permissions as an array of strings", "docstring_tokens": ["Converts", "the", "permissions", "into", "a", "String", "array", "."], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/utils/TemplateUtils.java#L55-L63", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/utils/TemplateUtils.java", "func_name": "TemplateUtils.allOfGroup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Converts the arguments into a String array wrapped in a list.\n\n@param args the arguments\n@return the arguments as an array within a list", "docstring_tokens": ["Converts", "the", "arguments", "into", "a", "String", "array", "wrapped", "in", "a", "list", "."], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/utils/TemplateUtils.java#L82-L85", "partition": "valid"}
+{"repo": "schaloner/deadbolt-2-java", "path": "code/app/be/objectify/deadbolt/java/ViewSupport.java", "func_name": "ViewSupport.viewRestrict", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used for restrict tags in the template.\n\n@param roles a list of String arrays. Within an array, the roles are ANDed. The arrays in the list are OR'd.\n@return true if the view can be accessed, otherwise false", "docstring_tokens": ["Used", "for", "restrict", "tags", "in", "the", "template", "."], "sha": "84890eb4565fb6172b7d8e824f64d547ddacfcc7", "url": "https://github.com/schaloner/deadbolt-2-java/blob/84890eb4565fb6172b7d8e824f64d547ddacfcc7/code/app/be/objectify/deadbolt/java/ViewSupport.java#L83-L110", "partition": "valid"}
+{"repo": "OWASP/owasp-java-encoder", "path": "core/src/main/java/org/owasp/encoder/Encoder.java", "func_name": "Encoder.overflow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal helper method to properly position buffers after encoding up\nuntil an overflow.\n\n@param input the input buffer\n@param i the array offset in the input buffer (translated to position)\n@param output the output buffer\n@param j the array offset in the output buffer (translated to position)\n@return CoderResult.OVERFLOW", "docstring_tokens": ["Internal", "helper", "method", "to", "properly", "position", "buffers", "after", "encoding", "up", "until", "an", "overflow", "."], "sha": "bc9a85723f3c1b4819d9aa8aa1b539787128e4ea", "url": "https://github.com/OWASP/owasp-java-encoder/blob/bc9a85723f3c1b4819d9aa8aa1b539787128e4ea/core/src/main/java/org/owasp/encoder/Encoder.java#L243-L247", "partition": "valid"}
+{"repo": "OWASP/owasp-java-encoder", "path": "core/src/main/java/org/owasp/encoder/Encoder.java", "func_name": "Encoder.underflow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal helper method to properly position buffers after encoding up\nuntil an underflow.\n\n@param input the input buffer\n@param i the array offset in the input buffer (translated to position)\n@param output the output buffer\n@param j the array offset in the output buffer (translated to position)\n@return CoderResult.UNDERFLOW", "docstring_tokens": ["Internal", "helper", "method", "to", "properly", "position", "buffers", "after", "encoding", "up", "until", "an", "underflow", "."], "sha": "bc9a85723f3c1b4819d9aa8aa1b539787128e4ea", "url": "https://github.com/OWASP/owasp-java-encoder/blob/bc9a85723f3c1b4819d9aa8aa1b539787128e4ea/core/src/main/java/org/owasp/encoder/Encoder.java#L259-L263", "partition": "valid"}
+{"repo": "OWASP/owasp-java-encoder", "path": "core/src/main/java/org/owasp/encoder/ASCIIBits.java", "func_name": "ASCIIBits.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets a range of characters to 1s in the masks.\n\n@param min the minimum (inclusive).\n@param max the maximum (inclusive).\n@return {@code this}", "docstring_tokens": ["Sets", "a", "range", "of", "characters", "to", "1s", "in", "the", "masks", "."], "sha": "bc9a85723f3c1b4819d9aa8aa1b539787128e4ea", "url": "https://github.com/OWASP/owasp-java-encoder/blob/bc9a85723f3c1b4819d9aa8aa1b539787128e4ea/core/src/main/java/org/owasp/encoder/ASCIIBits.java#L92-L103", "partition": "valid"}
+{"repo": "OWASP/owasp-java-encoder", "path": "core/src/main/java/org/owasp/encoder/Encode.java", "func_name": "Encode.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Core encoding loop shared by public methods. It first uses the\nencoder to scan the input for characters that need encoding. If\nno characters require encoding, the input string is returned.\nOtherwise a buffer is used to encode the remainder\nof the input.\n\n@param encoder the encoder to use\n@param str the string to encode\n@return the input string encoded with the provided encoder.", "docstring_tokens": ["Core", "encoding", "loop", "shared", "by", "public", "methods", ".", "It", "first", "uses", "the", "encoder", "to", "scan", "the", "input", "for", "characters", "that", "need", "encoding", ".", "If", "no", "characters", "require", "encoding", "the", "input", "string", "is", "returned", ".", "Otherwise", "a", "buffer", "is", "used", "to", "encode", "the", "remainder", "of", "the", "input", "."], "sha": "bc9a85723f3c1b4819d9aa8aa1b539787128e4ea", "url": "https://github.com/OWASP/owasp-java-encoder/blob/bc9a85723f3c1b4819d9aa8aa1b539787128e4ea/core/src/main/java/org/owasp/encoder/Encode.java#L1212-L1231", "partition": "valid"}
+{"repo": "OWASP/owasp-java-encoder", "path": "core/src/main/java/org/owasp/encoder/Encode.java", "func_name": "Encode.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Core encoding loop shared by public methods. It first uses the\nencoder to scan the input for characters that need encoding. If no\ncharacters require encoding, the input string is written directly to\nthe writer. Otherwise a buffer is used to encode the\nremainder of the input to the buffers. This version saves a wrapping\nin an String.\n\n@param encoder the encoder to use\n@param out the writer for the encoded output\n@param str the string to encode\n@throws IOException if thrown by the writer", "docstring_tokens": ["Core", "encoding", "loop", "shared", "by", "public", "methods", ".", "It", "first", "uses", "the", "encoder", "to", "scan", "the", "input", "for", "characters", "that", "need", "encoding", ".", "If", "no", "characters", "require", "encoding", "the", "input", "string", "is", "written", "directly", "to", "the", "writer", ".", "Otherwise", "a", "buffer", "is", "used", "to", "encode", "the", "remainder", "of", "the", "input", "to", "the", "buffers", ".", "This", "version", "saves", "a", "wrapping", "in", "an", "String", "."], "sha": "bc9a85723f3c1b4819d9aa8aa1b539787128e4ea", "url": "https://github.com/OWASP/owasp-java-encoder/blob/bc9a85723f3c1b4819d9aa8aa1b539787128e4ea/core/src/main/java/org/owasp/encoder/Encode.java#L1246-L1268", "partition": "valid"}
+{"repo": "OWASP/owasp-java-encoder", "path": "core/src/main/java/org/owasp/encoder/Encoders.java", "func_name": "Encoders.map", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Internal method to setup and map encoder singletons.\n\n@param name -- name of the encoder (one of the constants above)\n@param encoder -- the encoder singleton instance\n@param the encoder type\n@return the encoder argument.", "docstring_tokens": ["Internal", "method", "to", "setup", "and", "map", "encoder", "singletons", "."], "sha": "bc9a85723f3c1b4819d9aa8aa1b539787128e4ea", "url": "https://github.com/OWASP/owasp-java-encoder/blob/bc9a85723f3c1b4819d9aa8aa1b539787128e4ea/core/src/main/java/org/owasp/encoder/Encoders.java#L227-L231", "partition": "valid"}
+{"repo": "OWASP/owasp-java-encoder", "path": "core/src/main/java/org/owasp/encoder/Encoders.java", "func_name": "Encoders.forName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a new instance of an Encoder for the specified context. The\nreturned instance is thread-safe.\n\n@param contextName the context name (one of the String constants defined\nin this class)\n@return an encoder for the specified context.\n@throws NullPointerException if {@code contextName} is null\n@throws UnsupportedContextException if {@code contextName} is not\nrecognized.", "docstring_tokens": ["Returns", "a", "new", "instance", "of", "an", "Encoder", "for", "the", "specified", "context", ".", "The", "returned", "instance", "is", "thread", "-", "safe", "."], "sha": "bc9a85723f3c1b4819d9aa8aa1b539787128e4ea", "url": "https://github.com/OWASP/owasp-java-encoder/blob/bc9a85723f3c1b4819d9aa8aa1b539787128e4ea/core/src/main/java/org/owasp/encoder/Encoders.java#L244-L253", "partition": "valid"}
+{"repo": "OWASP/owasp-java-encoder", "path": "core/src/main/java/org/owasp/encoder/HTMLEncoder.java", "func_name": "HTMLEncoder.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends a source array verbatim to the output array. Caller must insure\nthere is enough space in the array for the output.\n\n@param src the characters to copy\n@param out the output buffer\n@param j the offset where to write in the output buffer\n@return {@code j + src.length}", "docstring_tokens": ["Appends", "a", "source", "array", "verbatim", "to", "the", "output", "array", ".", "Caller", "must", "insure", "there", "is", "enough", "space", "in", "the", "array", "for", "the", "output", "."], "sha": "bc9a85723f3c1b4819d9aa8aa1b539787128e4ea", "url": "https://github.com/OWASP/owasp-java-encoder/blob/bc9a85723f3c1b4819d9aa8aa1b539787128e4ea/core/src/main/java/org/owasp/encoder/HTMLEncoder.java#L250-L253", "partition": "valid"}
+{"repo": "OWASP/owasp-java-encoder", "path": "core/src/main/java/org/owasp/encoder/ChainedEncoder.java", "func_name": "ChainedEncoder.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encodes an input string to an output string.\n\n@param str the string to encode\n@return the encoded string.", "docstring_tokens": ["Encodes", "an", "input", "string", "to", "an", "output", "string", "."], "sha": "bc9a85723f3c1b4819d9aa8aa1b539787128e4ea", "url": "https://github.com/OWASP/owasp-java-encoder/blob/bc9a85723f3c1b4819d9aa8aa1b539787128e4ea/core/src/main/java/org/owasp/encoder/ChainedEncoder.java#L82-L114", "partition": "valid"}
+{"repo": "OWASP/owasp-java-encoder", "path": "core/src/main/java/org/owasp/encoder/EncodedWriter.java", "func_name": "EncodedWriter.flushBufferToWriter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Flushes the contents of the buffer to the writer and resets the buffer to make room for more input.\n\n@throws IOException thrown by the wrapped output.", "docstring_tokens": ["Flushes", "the", "contents", "of", "the", "buffer", "to", "the", "writer", "and", "resets", "the", "buffer", "to", "make", "room", "for", "more", "input", "."], "sha": "bc9a85723f3c1b4819d9aa8aa1b539787128e4ea", "url": "https://github.com/OWASP/owasp-java-encoder/blob/bc9a85723f3c1b4819d9aa8aa1b539787128e4ea/core/src/main/java/org/owasp/encoder/EncodedWriter.java#L158-L161", "partition": "valid"}
+{"repo": "OWASP/owasp-java-encoder", "path": "core/src/main/java/org/owasp/encoder/EncodedWriter.java", "func_name": "EncodedWriter.flushLeftOver", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Flushes the left-over buffer. Characters from the input buffer are used to add more data to the _leftOverBuffer in order to\nmake the flush happen.\n\n@param input the next input to encode, or null if at end of file.\n@throws IOException from the underlying writer.", "docstring_tokens": ["Flushes", "the", "left", "-", "over", "buffer", ".", "Characters", "from", "the", "input", "buffer", "are", "used", "to", "add", "more", "data", "to", "the", "_leftOverBuffer", "in", "order", "to", "make", "the", "flush", "happen", "."], "sha": "bc9a85723f3c1b4819d9aa8aa1b539787128e4ea", "url": "https://github.com/OWASP/owasp-java-encoder/blob/bc9a85723f3c1b4819d9aa8aa1b539787128e4ea/core/src/main/java/org/owasp/encoder/EncodedWriter.java#L170-L197", "partition": "valid"}
+{"repo": "pwittchen/ReactiveSensors", "path": "library/src/main/java/com/github/pwittchen/reactivesensors/library/ReactiveSensors.java", "func_name": "ReactiveSensors.observeSensor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns RxJava Observable, which allows to monitor hardware sensors\nas a stream of ReactiveSensorEvent object with defined sampling period\n\n@param sensorType sensor type from Sensor class from Android SDK\n@param samplingPeriodInUs sampling period in microseconds,\n@param handler the Handler the sensor events will be delivered to, use default if it is null\nyou can use predefined values from SensorManager class with prefix SENSOR_DELAY\n@param strategy BackpressureStrategy for RxJava 2 Flowable type\n@return RxJava Observable with ReactiveSensorEvent", "docstring_tokens": ["Returns", "RxJava", "Observable", "which", "allows", "to", "monitor", "hardware", "sensors", "as", "a", "stream", "of", "ReactiveSensorEvent", "object", "with", "defined", "sampling", "period"], "sha": "49dd6e68baa30658ff1df3f7bb6b0c9f50414a8e", "url": "https://github.com/pwittchen/ReactiveSensors/blob/49dd6e68baa30658ff1df3f7bb6b0c9f50414a8e/library/src/main/java/com/github/pwittchen/reactivesensors/library/ReactiveSensors.java#L111-L141", "partition": "valid"}
+{"repo": "sgoertzen/sonar-break-maven-plugin", "path": "src/main/java/com/sgoertzen/sonarbreak/qualitygate/ResultDeserializer.java", "func_name": "ResultDeserializer.getText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the text from child node with the given name. Returns null if child node does not exist.\n\n@param node Node to search\n@param propertyName Name of the child node\n@return The text value of the child node", "docstring_tokens": ["Get", "the", "text", "from", "child", "node", "with", "the", "given", "name", ".", "Returns", "null", "if", "child", "node", "does", "not", "exist", "."], "sha": "65bec98dd163bc5f97302431b7f40fa658766bd7", "url": "https://github.com/sgoertzen/sonar-break-maven-plugin/blob/65bec98dd163bc5f97302431b7f40fa658766bd7/src/main/java/com/sgoertzen/sonarbreak/qualitygate/ResultDeserializer.java#L69-L75", "partition": "valid"}
+{"repo": "sgoertzen/sonar-break-maven-plugin", "path": "src/main/java/com/sgoertzen/sonarbreak/QueryExecutor.java", "func_name": "QueryExecutor.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the given query on the specified sonar server.\n\n@param query The query specifying the project and version of the build\n@return Result fetched from sonar\n@throws SonarBreakException If there is an issues communicating with sonar\n@throws IOException If the url is invalid", "docstring_tokens": ["Execute", "the", "given", "query", "on", "the", "specified", "sonar", "server", "."], "sha": "65bec98dd163bc5f97302431b7f40fa658766bd7", "url": "https://github.com/sgoertzen/sonar-break-maven-plugin/blob/65bec98dd163bc5f97302431b7f40fa658766bd7/src/main/java/com/sgoertzen/sonarbreak/QueryExecutor.java#L61-L70", "partition": "valid"}
+{"repo": "sgoertzen/sonar-break-maven-plugin", "path": "src/main/java/com/sgoertzen/sonarbreak/QueryExecutor.java", "func_name": "QueryExecutor.buildURL", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a url for the specified quality gate query\n\n@param sonarURL The sonar server we will be querying\n@param query Holds details on the query we want to make\n@return A URL object representing the query\n@throws MalformedURLException If the sonar url is not valid\n@throws IllegalArgumentException If the sonar key is not valid", "docstring_tokens": ["Creates", "a", "url", "for", "the", "specified", "quality", "gate", "query"], "sha": "65bec98dd163bc5f97302431b7f40fa658766bd7", "url": "https://github.com/sgoertzen/sonar-break-maven-plugin/blob/65bec98dd163bc5f97302431b7f40fa658766bd7/src/main/java/com/sgoertzen/sonarbreak/QueryExecutor.java#L81-L87", "partition": "valid"}
+{"repo": "sgoertzen/sonar-break-maven-plugin", "path": "src/main/java/com/sgoertzen/sonarbreak/QueryExecutor.java", "func_name": "QueryExecutor.fetchSonarStatusWithRetries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the status from sonar for the currently executing build. This waits for sonar to complete its processing\nbefore returning the results.\n\n@param queryURL The sonar URL to get the results from\n@param version The current project version number\n@return Matching result object for this build\n@throws IOException\n@throws SonarBreakException", "docstring_tokens": ["Get", "the", "status", "from", "sonar", "for", "the", "currently", "executing", "build", ".", "This", "waits", "for", "sonar", "to", "complete", "its", "processing", "before", "returning", "the", "results", "."], "sha": "65bec98dd163bc5f97302431b7f40fa658766bd7", "url": "https://github.com/sgoertzen/sonar-break-maven-plugin/blob/65bec98dd163bc5f97302431b7f40fa658766bd7/src/main/java/com/sgoertzen/sonarbreak/QueryExecutor.java#L99-L127", "partition": "valid"}
+{"repo": "sgoertzen/sonar-break-maven-plugin", "path": "src/main/java/com/sgoertzen/sonarbreak/QueryExecutor.java", "func_name": "QueryExecutor.fetchSonarStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the status of a build project from sonar. This returns the current status that sonar has and does not\ndo any checking to ensure it matches the current project\n\n@param queryURL The sonar URL to hit to get the status\n@return The sonar response include quality gate status\n@throws IOException\n@throws SonarBreakException", "docstring_tokens": ["Get", "the", "status", "of", "a", "build", "project", "from", "sonar", ".", "This", "returns", "the", "current", "status", "that", "sonar", "has", "and", "does", "not", "do", "any", "checking", "to", "ensure", "it", "matches", "the", "current", "project"], "sha": "65bec98dd163bc5f97302431b7f40fa658766bd7", "url": "https://github.com/sgoertzen/sonar-break-maven-plugin/blob/65bec98dd163bc5f97302431b7f40fa658766bd7/src/main/java/com/sgoertzen/sonarbreak/QueryExecutor.java#L138-L150", "partition": "valid"}
+{"repo": "sgoertzen/sonar-break-maven-plugin", "path": "src/main/java/com/sgoertzen/sonarbreak/QueryExecutor.java", "func_name": "QueryExecutor.parseResponse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the string response from sonar into POJOs.\n\n@param response The json response from the sonar server.\n@return Object representing the Sonar response\n@throws SonarBreakException Thrown if the response is not JSON or it does not contain quality gate data.", "docstring_tokens": ["Parses", "the", "string", "response", "from", "sonar", "into", "POJOs", "."], "sha": "65bec98dd163bc5f97302431b7f40fa658766bd7", "url": "https://github.com/sgoertzen/sonar-break-maven-plugin/blob/65bec98dd163bc5f97302431b7f40fa658766bd7/src/main/java/com/sgoertzen/sonarbreak/QueryExecutor.java#L191-L206", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRepositorySession.java", "func_name": "IndyRepositorySession.extractBuildArtifacts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve tracking report from repository manager. Add each tracked download to the dependencies of the build result. Add\neach tracked upload to the built artifacts of the build result. Promote uploaded artifacts to the product-level storage.\nFinally, clear the tracking report, and delete the hosted repository + group associated with the completed build.", "docstring_tokens": ["Retrieve", "tracking", "report", "from", "repository", "manager", ".", "Add", "each", "tracked", "download", "to", "the", "dependencies", "of", "the", "build", "result", ".", "Add", "each", "tracked", "upload", "to", "the", "built", "artifacts", "of", "the", "build", "result", ".", "Promote", "uploaded", "artifacts", "to", "the", "product", "-", "level", "storage", ".", "Finally", "clear", "the", "tracking", "report", "and", "delete", "the", "hosted", "repository", "+", "group", "associated", "with", "the", "completed", "build", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRepositorySession.java#L151-L204", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRepositorySession.java", "func_name": "IndyRepositorySession.processUploads", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return output artifacts metadata.\n\n@param report The tracking report that contains info about artifacts uploaded (output) from the build\n@return List of output artifacts meta data\n@throws RepositoryManagerException In case of a client API transport error or an error during promotion of artifacts", "docstring_tokens": ["Return", "output", "artifacts", "metadata", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRepositorySession.java#L441-L490", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRepositorySession.java", "func_name": "IndyRepositorySession.computeIdentifier", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Computes identifier string for an artifact. If the download path is valid for a package-type specific artifact it\ncreates the identifier accordingly.\n\n@param transfer the download or upload that we want to generate identifier for\n@return generated identifier", "docstring_tokens": ["Computes", "identifier", "string", "for", "an", "artifact", ".", "If", "the", "download", "path", "is", "valid", "for", "a", "package", "-", "type", "specific", "artifact", "it", "creates", "the", "identifier", "accordingly", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRepositorySession.java#L499-L534", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRepositorySession.java", "func_name": "IndyRepositorySession.computeGenericIdentifier", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the identifier string for a generic download, that does not match package type specific files structure.\nIt prefers to use the origin URL if it is not empty. In case it is then it uses local URL, which can never be\nempty, it is the local file mirror in Indy. After that it attaches the sha256 separated by a pipe.\n\n@param originUrl the origin URL of the transfer, it can be null\n@param localUrl url where the artifact was backed up in Indy\n@param sha256 the SHA-256 of the transfer\n@return the generated identifier", "docstring_tokens": ["Compute", "the", "identifier", "string", "for", "a", "generic", "download", "that", "does", "not", "match", "package", "type", "specific", "files", "structure", ".", "It", "prefers", "to", "use", "the", "origin", "URL", "if", "it", "is", "not", "empty", ".", "In", "case", "it", "is", "then", "it", "uses", "local", "URL", "which", "can", "never", "be", "empty", "it", "is", "the", "local", "file", "mirror", "in", "Indy", ".", "After", "that", "it", "attaches", "the", "sha256", "separated", "by", "a", "pipe", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRepositorySession.java#L546-L554", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRepositorySession.java", "func_name": "IndyRepositorySession.validateArtifact", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check artifact for any validation errors. If there are constraint violations, then a RepositoryManagerException is thrown.\nOtherwise the artifact is returned.\n\n@param artifact to validate\n@return the same artifact\n@throws RepositoryManagerException if there are constraint violations", "docstring_tokens": ["Check", "artifact", "for", "any", "validation", "errors", ".", "If", "there", "are", "constraint", "violations", "then", "a", "RepositoryManagerException", "is", "thrown", ".", "Otherwise", "the", "artifact", "is", "returned", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRepositorySession.java#L564-L570", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "spi/src/main/java/org/jboss/pnc/spi/coordinator/BuildTask.java", "func_name": "BuildTask.hasConfigDependencyOn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if this build task has a build configuration dependency on the given build task.\nThe search include transitive dependencies.\n\n@param buildTask The buildTask with the config to check\n@return true if this task's build config has a dependency (including transitive) on the build config of the given task, otherwise false", "docstring_tokens": ["Check", "if", "this", "build", "task", "has", "a", "build", "configuration", "dependency", "on", "the", "given", "build", "task", ".", "The", "search", "include", "transitive", "dependencies", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/spi/src/main/java/org/jboss/pnc/spi/coordinator/BuildTask.java#L151-L162", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "spi/src/main/java/org/jboss/pnc/spi/coordinator/BuildTask.java", "func_name": "BuildTask.hasDirectConfigDependencyOn", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if this build task has a direct build configuration dependency on the given build task\n\n@param buildTask The buildTask with the config to check\n@return true if this task's build config has a direct dependency on the build config of the given task, otherwise false", "docstring_tokens": ["Check", "if", "this", "build", "task", "has", "a", "direct", "build", "configuration", "dependency", "on", "the", "given", "build", "task"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/spi/src/main/java/org/jboss/pnc/spi/coordinator/BuildTask.java#L170-L181", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "common/src/main/java/org/jboss/pnc/common/json/ConfigurationJSONParser.java", "func_name": "ConfigurationJSONParser.parseJSONPNCConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads JSON configuration to the module configuration object\n\n@param module config\n@param configContent Configuration in JSON\n@param provider configuration provider of given module config type\n@return Loaded configuration\n@throws ConfigurationParseException Thrown if configuration string is malformed", "docstring_tokens": ["Loads", "JSON", "configuration", "to", "the", "module", "configuration", "object"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/common/src/main/java/org/jboss/pnc/common/json/ConfigurationJSONParser.java#L45-L64", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRunningDeletion.java", "func_name": "IndyRunningDeletion.monitor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Trigger the repository deletion configured for this instance, and send the result to the appropriate consumer.\n\n@param onComplete The consumer which will handle non-error results\n@param onError Handles errors", "docstring_tokens": ["Trigger", "the", "repository", "deletion", "configured", "for", "this", "instance", "and", "send", "the", "result", "to", "the", "appropriate", "consumer", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRunningDeletion.java#L49-L62", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "spi/src/main/java/org/jboss/pnc/spi/coordinator/BuildSetTask.java", "func_name": "BuildSetTask.taskStatusUpdatedToFinalState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Notify the set that the state of one of it's tasks has changed.", "docstring_tokens": ["Notify", "the", "set", "that", "the", "state", "of", "one", "of", "it", "s", "tasks", "has", "changed", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/spi/src/main/java/org/jboss/pnc/spi/coordinator/BuildSetTask.java#L79-L109", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "spi/src/main/java/org/jboss/pnc/spi/coordinator/BuildSetTask.java", "func_name": "BuildSetTask.getBuildTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the build task which contains the given audited build configuration\n\n@param buildConfigurationAudited A BuildConfigurationAudited entity\n@return The build task with the matching configuration, or null if there is none", "docstring_tokens": ["Get", "the", "build", "task", "which", "contains", "the", "given", "audited", "build", "configuration"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/spi/src/main/java/org/jboss/pnc/spi/coordinator/BuildSetTask.java#L150-L152", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRunningPromotion.java", "func_name": "IndyRunningPromotion.monitor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Trigger the repository promotion configured for this instance, and send the result to the appropriate consumer.\n\n@param onComplete The consumer which will handle non-error results\n@param onError Handles errors", "docstring_tokens": ["Trigger", "the", "repository", "promotion", "configured", "for", "this", "instance", "and", "send", "the", "result", "to", "the", "appropriate", "consumer", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/IndyRunningPromotion.java#L53-L77", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "common/src/main/java/org/jboss/pnc/common/graph/GraphUtils.java", "func_name": "GraphUtils.merge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds all elements from toMerge to target.", "docstring_tokens": ["Adds", "all", "elements", "from", "toMerge", "to", "target", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/common/src/main/java/org/jboss/pnc/common/graph/GraphUtils.java#L39-L56", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "common/src/main/java/org/jboss/pnc/common/util/IoUtils.java", "func_name": "IoUtils.readFileAsString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads whole content of file to String\n\n@param fileName Existing file\n@return File content\n@throws IOException Thrown if data couldn't be loaded", "docstring_tokens": ["Reads", "whole", "content", "of", "file", "to", "String"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/common/src/main/java/org/jboss/pnc/common/util/IoUtils.java#L66-L71", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "common/src/main/java/org/jboss/pnc/common/util/IoUtils.java", "func_name": "IoUtils.readStreamAsString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads whole content of input stream to String\n\n@param stream Opened stream\n@return Stream content\n@throws IOException Thrown if data couldn't be loaded", "docstring_tokens": ["Reads", "whole", "content", "of", "input", "stream", "to", "String"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/common/src/main/java/org/jboss/pnc/common/util/IoUtils.java#L80-L85", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "process-managers/src/main/java/org/jboss/pnc/managers/ProductMilestoneReleaseManager.java", "func_name": "ProductMilestoneReleaseManager.startRelease", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Starts milestone release process\n\n@param milestone product milestone to start the release for\n@param accessToken", "docstring_tokens": ["Starts", "milestone", "release", "process"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/process-managers/src/main/java/org/jboss/pnc/managers/ProductMilestoneReleaseManager.java#L111-L114", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "bpm/src/main/java/org/jboss/pnc/bpm/BpmManager.java", "func_name": "BpmManager.cleanup", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Regularly cleans finished BPM tasks asynchronously\nImmediate cleanup is not usable because of NCL-2300", "docstring_tokens": ["Regularly", "cleans", "finished", "BPM", "tasks", "asynchronously", "Immediate", "cleanup", "is", "not", "usable", "because", "of", "NCL", "-", "2300"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/bpm/src/main/java/org/jboss/pnc/bpm/BpmManager.java#L237-L273", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "bpm/src/main/java/org/jboss/pnc/bpm/BpmManager.java", "func_name": "BpmManager.getTaskIdByBuildId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method solves backwards compatibility problem.\nIt will be removed soon.", "docstring_tokens": ["This", "method", "solves", "backwards", "compatibility", "problem", ".", "It", "will", "be", "removed", "soon", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/bpm/src/main/java/org/jboss/pnc/bpm/BpmManager.java#L279-L289", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "common/src/main/java/org/jboss/pnc/common/util/StreamCollectors.java", "func_name": "StreamCollectors.toFlatList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Flattening collector.\nLook at StreamCollectorsTest for example usage\n\n\n@param type of elements in the collections\n@return flattened list of elements from all of the collections", "docstring_tokens": ["Flattening", "collector", ".", "Look", "at", "StreamCollectorsTest", "for", "example", "usage"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/common/src/main/java/org/jboss/pnc/common/util/StreamCollectors.java#L64-L72", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/maintenance/TemporaryBuildsCleanupScheduler.java", "func_name": "TemporaryBuildsCleanupScheduler.cleanupExpiredTemporaryBuilds", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Cleanup old temporary builds every midnight", "docstring_tokens": ["Cleanup", "old", "temporary", "builds", "every", "midnight"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/maintenance/TemporaryBuildsCleanupScheduler.java#L93-L105", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/RepositoryManagerDriver.java", "func_name": "RepositoryManagerDriver.setupBuildRepos", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the hosted repository and group necessary to support a single build. The hosted repository holds artifacts\nuploaded from the build, and the group coordinates access to this hosted repository, along with content from the\nproduct-level content group with which this build is associated. The group also provides a tracking target, so the\nrepository manager can keep track of downloads and uploads for the build.\n\n@param execution The execution object, which contains the content id for creating the repo, and the build id.\n@param packageType the package type key used by Indy\n@throws IndyClientException", "docstring_tokens": ["Create", "the", "hosted", "repository", "and", "group", "necessary", "to", "support", "a", "single", "build", ".", "The", "hosted", "repository", "holds", "artifacts", "uploaded", "from", "the", "build", "and", "the", "group", "coordinates", "access", "to", "this", "hosted", "repository", "along", "with", "content", "from", "the", "product", "-", "level", "content", "group", "with", "which", "this", "build", "is", "associated", ".", "The", "group", "also", "provides", "a", "tracking", "target", "so", "the", "repository", "manager", "can", "keep", "track", "of", "downloads", "and", "uploads", "for", "the", "build", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/indy-repository-manager/src/main/java/org/jboss/pnc/indyrepositorymanager/RepositoryManagerDriver.java#L270-L313", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "rest/src/main/java/org/jboss/pnc/rest/endpoint/BpmEndpoint.java", "func_name": "BpmEndpoint.onRCCreationSuccess", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given the successful BC creation, add the BC into the BC sets. This solution has been\nselected because if this was done in BPM process there would have to be a foreach cycle and\nat least two REST requests for each BC Set ID. The process would become too complicated.\nNotification listeners are ideal for these kind of operations.", "docstring_tokens": ["Given", "the", "successful", "BC", "creation", "add", "the", "BC", "into", "the", "BC", "sets", ".", "This", "solution", "has", "been", "selected", "because", "if", "this", "was", "done", "in", "BPM", "process", "there", "would", "have", "to", "be", "a", "foreach", "cycle", "and", "at", "least", "two", "REST", "requests", "for", "each", "BC", "Set", "ID", ".", "The", "process", "would", "become", "too", "complicated", ".", "Notification", "listeners", "are", "ideal", "for", "these", "kind", "of", "operations", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/rest/src/main/java/org/jboss/pnc/rest/endpoint/BpmEndpoint.java#L194-L249", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "rest/src/main/java/org/jboss/pnc/rest/endpoint/BpmEndpoint.java", "func_name": "BpmEndpoint.addWebsocketForwardingListeners", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method will add listeners to all important RCC event types\nand forward the event to WS clients.", "docstring_tokens": ["This", "method", "will", "add", "listeners", "to", "all", "important", "RCC", "event", "types", "and", "forward", "the", "event", "to", "WS", "clients", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/rest/src/main/java/org/jboss/pnc/rest/endpoint/BpmEndpoint.java#L381-L390", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "pnc-mock/src/main/java/org/jboss/pnc/mock/model/builders/ArtifactBuilder.java", "func_name": "ArtifactBuilder.mockImportedArtifact", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create an artifact with an import date and origin url", "docstring_tokens": ["Create", "an", "artifact", "with", "an", "import", "date", "and", "origin", "url"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/pnc-mock/src/main/java/org/jboss/pnc/mock/model/builders/ArtifactBuilder.java#L59-L64", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "auth/src/main/java/org/jboss/pnc/auth/keycloakutil/util/HttpUtil.java", "func_name": "HttpUtil.setSslRequired", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets flag telling if SSL hostname validation should be done which also clears the cached httpClient. This method\nis not thread-safe and could cause race conditions if the class is used with different settings at the same\ntime, but that is not expected.\n\n@param sslRequired the desired value", "docstring_tokens": ["Sets", "flag", "telling", "if", "SSL", "hostname", "validation", "should", "be", "done", "which", "also", "clears", "the", "cached", "httpClient", ".", "This", "method", "is", "not", "thread", "-", "safe", "and", "could", "cause", "race", "conditions", "if", "the", "class", "is", "used", "with", "different", "settings", "at", "the", "same", "time", "but", "that", "is", "not", "expected", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/auth/src/main/java/org/jboss/pnc/auth/keycloakutil/util/HttpUtil.java#L300-L305", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/maintenance/TemporaryBuildsCleaner.java", "func_name": "TemporaryBuildsCleaner.deleteTemporaryBuild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes a temporary build and artifacts created during the build or orphan dependencies used\n\n@param buildRecordId BuildRecord to be deleted\n@param authToken\n@return true if success", "docstring_tokens": ["Deletes", "a", "temporary", "build", "and", "artifacts", "created", "during", "the", "build", "or", "orphan", "dependencies", "used"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/maintenance/TemporaryBuildsCleaner.java#L79-L108", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/maintenance/TemporaryBuildsCleaner.java", "func_name": "TemporaryBuildsCleaner.deleteTemporaryBuildConfigSetRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes a BuildConfigSetRecord and BuildRecords produced in the build\n@param buildConfigSetRecordId BuildConfigSetRecord to be deleted\n@param authToken", "docstring_tokens": ["Deletes", "a", "BuildConfigSetRecord", "and", "BuildRecords", "produced", "in", "the", "build"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/maintenance/TemporaryBuildsCleaner.java#L139-L158", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/DefaultBuildCoordinator.java", "func_name": "DefaultBuildCoordinator.build", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Run a single build. Uses the settings from the specific revision of a BuildConfiguration.\nThe dependencies are resolved by the BuildConfiguration relations and are used in the latest revisions\n\n@param buildConfigurationAudited A revision of a BuildConfiguration which will be used.\n@param user The user who triggered the build.\n@param buildOptions Customization of a build specified by user\n\n@return The new build task\n@throws BuildConflictException If there is already a build running with the same build configuration Id and revision", "docstring_tokens": ["Run", "a", "single", "build", ".", "Uses", "the", "settings", "from", "the", "specific", "revision", "of", "a", "BuildConfiguration", ".", "The", "dependencies", "are", "resolved", "by", "the", "BuildConfiguration", "relations", "and", "are", "used", "in", "the", "latest", "revisions"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/DefaultBuildCoordinator.java#L180-L185", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/DefaultBuildCoordinator.java", "func_name": "DefaultBuildCoordinator.checkForEmptyBuildSetTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if the given build set task is empty and update the status message appropriately", "docstring_tokens": ["Check", "if", "the", "given", "build", "set", "task", "is", "empty", "and", "update", "the", "status", "message", "appropriately"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/DefaultBuildCoordinator.java#L443-L447", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-executor/src/main/java/org/jboss/pnc/executor/servicefactories/EnvironmentDriverFactory.java", "func_name": "EnvironmentDriverFactory.getDriver", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets environment driver, which can manage requested environment\n@return Available driver for given systemImageType\n@throws ExecutorException Throw if no suitable driver for selected environment was found", "docstring_tokens": ["Gets", "environment", "driver", "which", "can", "manage", "requested", "environment"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-executor/src/main/java/org/jboss/pnc/executor/servicefactories/EnvironmentDriverFactory.java#L45-L52", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "spi/src/main/java/org/jboss/pnc/spi/datastore/predicates/BuildConfigurationPredicates.java", "func_name": "BuildConfigurationPredicates.isNotArchived", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a predicate which excludes all archived build configurations\n@return", "docstring_tokens": ["Return", "a", "predicate", "which", "excludes", "all", "archived", "build", "configurations"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/spi/src/main/java/org/jboss/pnc/spi/datastore/predicates/BuildConfigurationPredicates.java#L62-L64", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/datastore/DatastoreAdapter.java", "func_name": "DatastoreAdapter.loadBuildConfigurations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Fetch build configurations of project to be able access it outside transaction\n@param buildConfigAudited build config for which the build configurations are to be fetched", "docstring_tokens": ["Fetch", "build", "configurations", "of", "project", "to", "be", "able", "access", "it", "outside", "transaction"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/datastore/DatastoreAdapter.java#L116-L119", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/datastore/DatastoreAdapter.java", "func_name": "DatastoreAdapter.storeResult", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Store build result along with error information appended to the build log\n\n@param buildTask task\n@param buildResult result of running the task\n@param e The error that occurred during the build process\n@throws DatastoreException on failure to store data", "docstring_tokens": ["Store", "build", "result", "along", "with", "error", "information", "appended", "to", "the", "build", "log"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/datastore/DatastoreAdapter.java#L233-L277", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/datastore/DatastoreAdapter.java", "func_name": "DatastoreAdapter.initBuildRecordBuilder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initialize a new BuildRecord.Builder based on the data contained in the BuildTask.\nNote, this must be done inside a transaction because it fetches the BuildRecordSet entities from\nthe database.\n\n@return The initialized build record builder", "docstring_tokens": ["Initialize", "a", "new", "BuildRecord", ".", "Builder", "based", "on", "the", "data", "contained", "in", "the", "BuildTask", ".", "Note", "this", "must", "be", "done", "inside", "a", "transaction", "because", "it", "fetches", "the", "BuildRecordSet", "entities", "from", "the", "database", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/datastore/DatastoreAdapter.java#L306-L335", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "spi/src/main/java/org/jboss/pnc/spi/datastore/predicates/ProductVersionPredicates.java", "func_name": "ProductVersionPredicates.withBuildConfigurationId", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This predicate returns all the ProductVersions linked to a specified BuildConfiguration", "docstring_tokens": ["This", "predicate", "returns", "all", "the", "ProductVersions", "linked", "to", "a", "specified", "BuildConfiguration"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/spi/src/main/java/org/jboss/pnc/spi/datastore/predicates/ProductVersionPredicates.java#L57-L62", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "jenkins-build-driver/src/main/java/org/jboss/pnc/jenkinsbuilddriver/JenkinsServerFactory.java", "func_name": "JenkinsServerFactory.isJenkinsServerSecuredWithCSRF", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This checks if jenkins does not use option Prevent Cross Site Request Forgery exploits\n\nmnovotny: TODO: see NCL-669 this method should be placed in producing JenkinsServer, but as CSRF is not propagated\nout from JenkinsServer instance, we need to figure out the setting by special API call through JenkinsHttpClient\n\n@param url Jenkins instance URL with port\n@return\n@throws BuildDriverException", "docstring_tokens": ["This", "checks", "if", "jenkins", "does", "not", "use", "option", "Prevent", "Cross", "Site", "Request", "Forgery", "exploits"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/jenkins-build-driver/src/main/java/org/jboss/pnc/jenkinsbuilddriver/JenkinsServerFactory.java#L73-L97", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "datastore/src/main/java/org/jboss/pnc/datastore/DefaultDatastore.java", "func_name": "DefaultDatastore.saveArtifacts", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks the given list against the existing database and creates a new list containing\nartifacts which have been saved to or loaded from the database.\n\n@param artifacts of in-memory artifacts to either insert to the database or find the matching record in the db\n@param artifactCache\n@return Set of up to date JPA artifact entities", "docstring_tokens": ["Checks", "the", "given", "list", "against", "the", "existing", "database", "and", "creates", "a", "new", "list", "containing", "artifacts", "which", "have", "been", "saved", "to", "or", "loaded", "from", "the", "database", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/datastore/src/main/java/org/jboss/pnc/datastore/DefaultDatastore.java#L175-L216", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "datastore/src/main/java/org/jboss/pnc/datastore/DefaultDatastore.java", "func_name": "DefaultDatastore.saveBuildConfigSetRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Save a build config set record to the db. This requires a new transaction to ensure that\nthe record is immediately committed to the database so that it's available to use by the\nforeign keys set in the individual build records.", "docstring_tokens": ["Save", "a", "build", "config", "set", "record", "to", "the", "db", ".", "This", "requires", "a", "new", "transaction", "to", "ensure", "that", "the", "record", "is", "immediately", "committed", "to", "the", "database", "so", "that", "it", "s", "available", "to", "use", "by", "the", "foreign", "keys", "set", "in", "the", "individual", "build", "records", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/datastore/src/main/java/org/jboss/pnc/datastore/DefaultDatastore.java#L305-L309", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "datastore/src/main/java/org/jboss/pnc/datastore/DefaultDatastore.java", "func_name": "DefaultDatastore.getBuildConfigurations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Rebuild is required if Build Configuration has been modified or a dependency has been rebuilt since last successful build.", "docstring_tokens": ["Rebuild", "is", "required", "if", "Build", "Configuration", "has", "been", "modified", "or", "a", "dependency", "has", "been", "rebuilt", "since", "last", "successful", "build", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/datastore/src/main/java/org/jboss/pnc/datastore/DefaultDatastore.java#L346-L349", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "datastore/src/main/java/org/jboss/pnc/datastore/DefaultDatastore.java", "func_name": "DefaultDatastore.hasARebuiltImplicitDependency", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check is some of the dependencies from the previous build were rebuild.\nChecking is done based on captured dependencies which are stored in the Build Record.", "docstring_tokens": ["Check", "is", "some", "of", "the", "dependencies", "from", "the", "previous", "build", "were", "rebuild", ".", "Checking", "is", "done", "based", "on", "captured", "dependencies", "which", "are", "stored", "in", "the", "Build", "Record", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/datastore/src/main/java/org/jboss/pnc/datastore/DefaultDatastore.java#L409-L413", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "datastore/src/main/java/org/jboss/pnc/datastore/DefaultDatastore.java", "func_name": "DefaultDatastore.hasARebuiltExplicitDependency", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check is some of the dependencies defined on BuildConfiguration has newer version.", "docstring_tokens": ["Check", "is", "some", "of", "the", "dependencies", "defined", "on", "BuildConfiguration", "has", "newer", "version", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/datastore/src/main/java/org/jboss/pnc/datastore/DefaultDatastore.java#L418-L430", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "bpm/src/main/java/org/jboss/pnc/bpm/BpmTask.java", "func_name": "BpmTask.addListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Listen to notifications from BPM process for this task.\n\n@param eventType event to follow", "docstring_tokens": ["Listen", "to", "notifications", "from", "BPM", "process", "for", "this", "task", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/bpm/src/main/java/org/jboss/pnc/bpm/BpmTask.java#L138-L141", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "bpm/src/main/java/org/jboss/pnc/bpm/BpmTask.java", "func_name": "BpmTask.getExtendedProcessParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extend process parameters from the task with additional useful information,\nsuch as pncBaseUrl and taskId, needed for notifications.\nBefore use, taskId MUST be assigned.\n\n@throws CoreException", "docstring_tokens": ["Extend", "process", "parameters", "from", "the", "task", "with", "additional", "useful", "information", "such", "as", "pncBaseUrl", "and", "taskId", "needed", "for", "notifications", ".", "Before", "use", "taskId", "MUST", "be", "assigned", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/bpm/src/main/java/org/jboss/pnc/bpm/BpmTask.java#L161-L177", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildTasksInitializer.java", "func_name": "BuildTasksInitializer.collectDependentConfigurations", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Collects all BuildConfigurationAudited entities, that needs to be built.\n\n@param buildConfiguration Current BuildConfiguration used to resolve dependencies.\n@param buildConfigurationAudited Specific revision of a BuildConfiguration (passed as first parameter) to be potentially built\n@param toBuild Set of BuildConfigurationAudited entities planned to be built\n@param visited Set of BuildConfigurations, which were already evaluated, if should be built\n@param checkImplicitDependencies\n@return Returns true, if the buildConfiguration should be rebuilt, otherwise returns false.", "docstring_tokens": ["Collects", "all", "BuildConfigurationAudited", "entities", "that", "needs", "to", "be", "built", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildTasksInitializer.java#L121-L152", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildTasksInitializer.java", "func_name": "BuildTasksInitializer.createBuildSetTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a BuildSetTask of latest revisions of BuildConfigurations contained in the BuildConfigurationSet\n\n@param buildConfigurationSet BuildConfigurationSet to be built\n@param user A user, who triggered the build\n@param buildOptions Build options\n@param buildTaskIdProvider Provider to get build task ID\n@param submittedBuildTasks Already submitted build tasks\n@return Prepared BuildSetTask\n@throws CoreException Thrown if the BuildConfigSetRecord cannot be stored", "docstring_tokens": ["Create", "a", "BuildSetTask", "of", "latest", "revisions", "of", "BuildConfigurations", "contained", "in", "the", "BuildConfigurationSet"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildTasksInitializer.java#L165-L174", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildTasksInitializer.java", "func_name": "BuildTasksInitializer.createBuildSetTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a BuildSetTask of BuildConfigurations contained in the BuildConfigurationSet.\n\nA specific revision of the BuildConfigurations contained in the set is used,\nif it's available in the buildConfigurationAuditedsMap parameter.\nIf it's not available, latest revision of the BuildConfiguration is used.\n\n@param buildConfigurationSet BuildConfigurationSet to be built\n@param buildConfigurationAuditedsMap A map BuildConfiguration::id:BuildConfigurationAudited of specific revisions of BuildConfigurations contained in the buildConfigurationSet\n@param user A user, who triggered the build\n@param buildOptions Build options\n@param buildTaskIdProvider Provider to get build task ID\n@param submittedBuildTasks Already submitted build tasks\n@return Prepared BuildSetTask\n@throws CoreException Thrown if the BuildConfigSetRecord cannot be stored", "docstring_tokens": ["Create", "a", "BuildSetTask", "of", "BuildConfigurations", "contained", "in", "the", "BuildConfigurationSet", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildTasksInitializer.java#L192-L222", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildTasksInitializer.java", "func_name": "BuildTasksInitializer.fillBuildTaskSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates build tasks and sets up the appropriate dependency relations\n\n@param buildSetTask The build set task which will contain the build tasks. This must already have\ninitialized the BuildConfigSet, BuildConfigSetRecord, Milestone, etc.", "docstring_tokens": ["Creates", "build", "tasks", "and", "sets", "up", "the", "appropriate", "dependency", "relations"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildTasksInitializer.java#L252-L297", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "rest/src/main/java/org/jboss/pnc/rest/provider/ArtifactProvider.java", "func_name": "ArtifactProvider.getBuiltArtifactsForBuildRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Lookups built artifacts for the specified BuildRecord\n\n@return Returns requested artifacts or empty collection if BuildRecord with the specified ID doesn't exists", "docstring_tokens": ["Lookups", "built", "artifacts", "for", "the", "specified", "BuildRecord"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/rest/src/main/java/org/jboss/pnc/rest/provider/ArtifactProvider.java#L112-L115", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "common/src/main/java/org/jboss/pnc/common/util/StringUtils.java", "func_name": "StringUtils.addEndingSlash", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds ending slash if it is not present.\n\n@param string\n@return", "docstring_tokens": ["Adds", "ending", "slash", "if", "it", "is", "not", "present", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/common/src/main/java/org/jboss/pnc/common/util/StringUtils.java#L118-L126", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "common/src/main/java/org/jboss/pnc/common/util/StringUtils.java", "func_name": "StringUtils.deserializeInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse comma separated string to Integer array.\n@return An empty array when the string parameter is empty or null.", "docstring_tokens": ["Parse", "comma", "separated", "string", "to", "Integer", "array", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/common/src/main/java/org/jboss/pnc/common/util/StringUtils.java#L197-L204", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "common/src/main/java/org/jboss/pnc/common/util/StringUtils.java", "func_name": "StringUtils.serializeInt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serialize Integer array to comma separated string.\n@return An empty string when the Integer array parameter is empty or null.", "docstring_tokens": ["Serialize", "Integer", "array", "to", "comma", "separated", "string", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/common/src/main/java/org/jboss/pnc/common/util/StringUtils.java#L210-L216", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildQueue.java", "func_name": "BuildQueue.addReadyTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a new, ready to build task to queue\n\n@param task task to be enqueued", "docstring_tokens": ["Add", "a", "new", "ready", "to", "build", "task", "to", "queue"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildQueue.java#L103-L111", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildQueue.java", "func_name": "BuildQueue.addWaitingTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a task that is waiting for dependencies\n@param task task that is not ready to build\n@param taskReadyCallback a callback to be invoked when the task becomes ready", "docstring_tokens": ["Add", "a", "task", "that", "is", "waiting", "for", "dependencies"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildQueue.java#L118-L122", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildQueue.java", "func_name": "BuildQueue.executeNewReadyTasks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Trigger searching for ready tasks in the waiting queue.\nThis method should be invoked if one task has finished and there's a possibility that other tasks became ready to be built.", "docstring_tokens": ["Trigger", "searching", "for", "ready", "tasks", "in", "the", "waiting", "queue", ".", "This", "method", "should", "be", "invoked", "if", "one", "task", "has", "finished", "and", "there", "s", "a", "possibility", "that", "other", "tasks", "became", "ready", "to", "be", "built", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildQueue.java#L172-L176", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildQueue.java", "func_name": "BuildQueue.getTask", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get build task for given build configuration from the queue.\n\n@param buildConfigAudited build configuration\n@return Optional.of(build task for the configuration) if build task is enqueued/in progress, Optional.empty() otherwise", "docstring_tokens": ["Get", "build", "task", "for", "given", "build", "configuration", "from", "the", "queue", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/builder/BuildQueue.java#L184-L189", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "model/src/main/java/org/jboss/pnc/model/TargetRepository.java", "func_name": "TargetRepository.isTrusted", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check if a given artifact originates from a trusted source. Compares the given artifactOriginUrl\nto the list of trusted repositories.\n\n@param artifactOriginUrl The URL from which the artifact was downloaded\n@param targetRepository\n@return true if the artifact url came from a trusted repo, false otherwise", "docstring_tokens": ["Check", "if", "a", "given", "artifact", "originates", "from", "a", "trusted", "source", ".", "Compares", "the", "given", "artifactOriginUrl", "to", "the", "list", "of", "trusted", "repositories", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/model/src/main/java/org/jboss/pnc/model/TargetRepository.java#L187-L200", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "model/src/main/java/org/jboss/pnc/model/User.java", "func_name": "User.addBuildRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds the project build record.\n\n@param buildRecord the project build record\n@return the project build record", "docstring_tokens": ["Adds", "the", "project", "build", "record", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/model/src/main/java/org/jboss/pnc/model/User.java#L206-L212", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "model/src/main/java/org/jboss/pnc/model/User.java", "func_name": "User.removeBuildRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the project build record.\n\n@param buildRecord the project build record\n@return the project build record", "docstring_tokens": ["Removes", "the", "project", "build", "record", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/model/src/main/java/org/jboss/pnc/model/User.java#L220-L224", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "build-coordinator/src/main/java/org/jboss/pnc/coordinator/maintenance/TemporaryBuildsCleanerAsyncInvoker.java", "func_name": "TemporaryBuildsCleanerAsyncInvoker.deleteTemporaryBuild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deletes a single temporary build.\n\n@param buildRecordId ID of the build to be deleted\n@param authToken Bearer token\n@param onComplete Operation to be executed after deletion operation\n@return True if the build exists and deletion started otherwise, false is build doesn't exist\n@throws ValidationException Thrown when build cannot be deleted", "docstring_tokens": ["Deletes", "a", "single", "temporary", "build", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/build-coordinator/src/main/java/org/jboss/pnc/coordinator/maintenance/TemporaryBuildsCleanerAsyncInvoker.java#L75-L96", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "model/src/main/java/org/jboss/pnc/model/BuildConfiguration.java", "func_name": "BuildConfiguration.getAllDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the full set of both the direct and indirect dependencies.\n\n@return A set containing both direct and indirect dependencies", "docstring_tokens": ["Get", "the", "full", "set", "of", "both", "the", "direct", "and", "indirect", "dependencies", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/model/src/main/java/org/jboss/pnc/model/BuildConfiguration.java#L432-L437", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "model/src/main/java/org/jboss/pnc/model/BuildConfiguration.java", "func_name": "BuildConfiguration.addDependant", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is private because a dependant should never be added externally. Instead the dependency relation should be\nset up using the addDependency method\n\n@param dependant\n@return", "docstring_tokens": ["This", "method", "is", "private", "because", "a", "dependant", "should", "never", "be", "added", "externally", ".", "Instead", "the", "dependency", "relation", "should", "be", "set", "up", "using", "the", "addDependency", "method"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/model/src/main/java/org/jboss/pnc/model/BuildConfiguration.java#L457-L463", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "model/src/main/java/org/jboss/pnc/model/BuildConfiguration.java", "func_name": "BuildConfiguration.removeDependant", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is private because a dependant should never be removed externally. Instead the dependency relation should be\nset up using the removeDependency method\n\n@param dependant\n@return", "docstring_tokens": ["This", "method", "is", "private", "because", "a", "dependant", "should", "never", "be", "removed", "externally", ".", "Instead", "the", "dependency", "relation", "should", "be", "set", "up", "using", "the", "removeDependency", "method"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/model/src/main/java/org/jboss/pnc/model/BuildConfiguration.java#L472-L478", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "model/src/main/java/org/jboss/pnc/model/BuildConfiguration.java", "func_name": "BuildConfiguration.retrieveCloneName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Change the BC clone name into date_original-BC-name where date will be for every clone updated and for original BC names\nwill be added.\n\nExample: clone1 of pslegr-BC on Wednesday October,21st, 2015: 20151021095415_pslegr-BC\n\nclone2 of 20151021095415_pslegr-BC on Thursday October,22nd, 2015: 20151022nnnnnn_pslegr-BC\n\nclone3 of pslegr-BC on Friday October,23rd, 2015: 20151023nnnnnn_pslegr-BC\n\n@param bcName\n@param now\n@return A correct name for the cloned BuildConfiguration", "docstring_tokens": ["Change", "the", "BC", "clone", "name", "into", "date_original", "-", "BC", "-", "name", "where", "date", "will", "be", "for", "every", "clone", "updated", "and", "for", "original", "BC", "names", "will", "be", "added", "."], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/model/src/main/java/org/jboss/pnc/model/BuildConfiguration.java#L635-L670", "partition": "valid"}
+{"repo": "project-ncl/pnc", "path": "common/src/main/java/org/jboss/pnc/common/Configuration.java", "func_name": "Configuration.getModuleConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads configuration for module\n\n@param provider configuration provider of given module config type\n@param module config\n@return Loaded configuration\n@throws ConfigurationParseException Thrown if configuration file couldn't be loaded or parsed", "docstring_tokens": ["Reads", "configuration", "for", "module"], "sha": "85743ca59d14cdf750d6daa8bd0a0a8be390a796", "url": "https://github.com/project-ncl/pnc/blob/85743ca59d14cdf750d6daa8bd0a0a8be390a796/common/src/main/java/org/jboss/pnc/common/Configuration.java#L83-L98", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-tomcat/src/main/java/com/github/mjeanroy/junit/servers/tomcat/junit4/TomcatServerJunit4Runner.java", "func_name": "TomcatServerJunit4Runner.instantiate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Instantiate embedded tomcat to be used in tests.\n\n@param klass The tested class.\n@return The embedded tomcat.", "docstring_tokens": ["Instantiate", "embedded", "tomcat", "to", "be", "used", "in", "tests", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-tomcat/src/main/java/com/github/mjeanroy/junit/servers/tomcat/junit4/TomcatServerJunit4Runner.java#L57-L60", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/jupiter/JunitServerExtension.java", "func_name": "JunitServerExtension.registerEmbeddedServer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start and register the embedded server.\n\nThe embedded server may be used in two modes:\n\n
\n
Started before all tests, and stopped after all tests, this is the static mode (the extension has been used as a static extension).
\n
Started before each tests, and stopped after eacg tests, this is the non static mode (the extension has not been used as a static extension).
\n
\n\n@param context The test context.\n@param staticMode {@code true} if the extension has been registered as a static extension, {@code false} otherwise.\n@return The registered adapter.", "docstring_tokens": ["Start", "and", "register", "the", "embedded", "server", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/jupiter/JunitServerExtension.java#L312-L322", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/jupiter/JunitServerExtension.java", "func_name": "JunitServerExtension.unregisterEmbeddedServer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stop and remove from the store the started embedded server.\n\n@param context The test context.\n@param staticMode {@code true} if the extension has been registered as a static extension, {@code false} otherwise.\n@see #registerEmbeddedServer(ExtensionContext, boolean)", "docstring_tokens": ["Stop", "and", "remove", "from", "the", "store", "the", "started", "embedded", "server", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/jupiter/JunitServerExtension.java#L331-L342", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/jupiter/JunitServerExtension.java", "func_name": "JunitServerExtension.putInStore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Put value in the internal store.\n\n@param context The Junit-Jupiter test context.\n@param name The name of the value to look for.\n@param value The value to store.\n@param The type of the value to look for.", "docstring_tokens": ["Put", "value", "in", "the", "internal", "store", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/jupiter/JunitServerExtension.java#L412-L415", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/jupiter/JunitServerExtension.java", "func_name": "JunitServerExtension.findInStore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find value in the internal store.\n\n@param context The Junit-Jupiter test context.\n@param name The name of the value to look for.\n@param The type of the value to look for.\n@return The value currently stored.", "docstring_tokens": ["Find", "value", "in", "the", "internal", "store", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/jupiter/JunitServerExtension.java#L425-L428", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/UrlUtils.java", "func_name": "UrlUtils.concatenatePath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Concatenate two path value.\n\n@param path Path prefix.\n@param endpoint Path suffix.\n@return Final path.", "docstring_tokens": ["Concatenate", "two", "path", "value", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/UrlUtils.java#L93-L112", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-tomcat/src/main/java/com/github/mjeanroy/junit/servers/tomcat/EmbeddedTomcat.java", "func_name": "EmbeddedTomcat.createContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create tomcat context.\nMay be override by subclasses.\n\n@return Tomcat context.\n@throws Exception Exception May be thrown by web app context initialization (will be wrapped later).\n@deprecated Protected visibility may be removed in a next release, please submit an issue here to discuss it.", "docstring_tokens": ["Create", "tomcat", "context", ".", "May", "be", "override", "by", "subclasses", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-tomcat/src/main/java/com/github/mjeanroy/junit/servers/tomcat/EmbeddedTomcat.java#L109-L193", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/Cookies.java", "func_name": "Cookies.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a cookie from header value.\n\n@param rawValue Header value.\n@return Cookie.", "docstring_tokens": ["Create", "a", "cookie", "from", "header", "value", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/Cookies.java#L156-L210", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/HttpHeader.java", "func_name": "HttpHeader.header", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a header with a single value.\n\n@param name Header name, must not be blank.\n@param value Header value.\n@return Header.\n@throws NullPointerException If {@code name} or {@code value} are {@code null}.\n@throws IllegalArgumentException If {@code name} is blank.", "docstring_tokens": ["Create", "a", "header", "with", "a", "single", "value", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/HttpHeader.java#L68-L70", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/HttpHeader.java", "func_name": "HttpHeader.header", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a header with multiple values.\n\n@param name Header name.\n@param values Header values, must not be empty.\n@return Header.\n@throws NullPointerException If {@code name} or one of {@code values} are {@code null}.\n@throws IllegalArgumentException If {@code name} is blank.", "docstring_tokens": ["Create", "a", "header", "with", "multiple", "values", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/HttpHeader.java#L81-L83", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-jetty/src/main/java/com/github/mjeanroy/junit/servers/jetty/EmbeddedJetty.java", "func_name": "EmbeddedJetty.createdWebAppContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build web app context used to launch server.\nMay be override by subclasses.\n\n@throws Exception May be thrown by web app context initialization (will be wrapped later).", "docstring_tokens": ["Build", "web", "app", "context", "used", "to", "launch", "server", ".", "May", "be", "override", "by", "subclasses", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-jetty/src/main/java/com/github/mjeanroy/junit/servers/jetty/EmbeddedJetty.java#L130-L206", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/servers/AbstractEmbeddedServer.java", "func_name": "AbstractEmbeddedServer.execHooks", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Exec hooks phase.\n\n@param pre Phase to execute (true => pre ; false => post).", "docstring_tokens": ["Exec", "hooks", "phase", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/servers/AbstractEmbeddedServer.java#L189-L198", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/engine/AnnotationsHandlerRunner.java", "func_name": "AnnotationsHandlerRunner.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process handlers.\n\n@param target Target class (i.e tested class).\n@param before Flag to know if handler has to run \"before\" phase or \"after\" phase.", "docstring_tokens": ["Process", "handlers", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/engine/AnnotationsHandlerRunner.java#L92-L99", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/engine/AnnotationsHandlerRunner.java", "func_name": "AnnotationsHandlerRunner.processField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Process field for given handler.\n\n@param target Target class (i.e tested class).\n@param handler Handler.\n@param field Field.\n@param before Flag to know if handler has to run \"before\" phase or \"after\" phase.", "docstring_tokens": ["Process", "field", "for", "given", "handler", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/engine/AnnotationsHandlerRunner.java#L109-L120", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpClient.java", "func_name": "ApacheHttpClient.newApacheHttpClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create new http client using internal with custom internal client.\n\n@param server Embedded server.\n@param client Internal http client\n@return Http client.\n@throws NullPointerException If {@code server} of {@code client} are {@code null}.\n@deprecated Use {@link ApacheHttpClient#newApacheHttpClient(HttpClientConfiguration, EmbeddedServer)}", "docstring_tokens": ["Create", "new", "http", "client", "using", "internal", "with", "custom", "internal", "client", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpClient.java#L61-L64", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpClient.java", "func_name": "ApacheHttpClient.defaultApacheHttpClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create new http client using default internal client.\n\n@param server Embedded server.\n@return Http client.\n@throws NullPointerException If {@code server} is {@code null}.", "docstring_tokens": ["Create", "new", "http", "client", "using", "default", "internal", "client", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpClient.java#L73-L76", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpRequest.java", "func_name": "ApacheHttpRequest.handleBody", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add request body.\n\n@param httpRequest The HTTP request.", "docstring_tokens": ["Add", "request", "body", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpRequest.java#L114-L124", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpRequest.java", "func_name": "ApacheHttpRequest.createRequestURI", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create request URI.\nEach additional query parameters will be appended to final URI.\n\n@return Created URI.\n@throws URISyntaxException If an error occurred while building URI.\n@see URIBuilder", "docstring_tokens": ["Create", "request", "URI", ".", "Each", "additional", "query", "parameters", "will", "be", "appended", "to", "final", "URI", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpRequest.java#L134-L142", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpRequest.java", "func_name": "ApacheHttpRequest.handleHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add headers to http request.\n\n@param httpRequest Http request in creation.\n@see org.apache.http.HttpRequest#addHeader(Header)", "docstring_tokens": ["Add", "headers", "to", "http", "request", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpRequest.java#L150-L154", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpRequest.java", "func_name": "ApacheHttpRequest.handleFormParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add parameters as form url encoded content.\nEach parameter is set as a key value entry to request\nbody.\n\n@param httpRequest Http request in creation.", "docstring_tokens": ["Add", "parameters", "as", "form", "url", "encoded", "content", ".", "Each", "parameter", "is", "set", "as", "a", "key", "value", "entry", "to", "request", "body", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpRequest.java#L163-L167", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpRequest.java", "func_name": "ApacheHttpRequest.handleRequestBody", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set request body value to http request.\n\n@param httpRequest Http request in creation.", "docstring_tokens": ["Set", "request", "body", "value", "to", "http", "request", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpRequest.java#L174-L177", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpRequest.java", "func_name": "ApacheHttpRequest.handleCookies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add cookies to http request.\n\n@param httpRequest Http request in creation.", "docstring_tokens": ["Add", "cookies", "to", "http", "request", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/apache/ApacheHttpRequest.java#L184-L188", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/async/AsyncHttpClient.java", "func_name": "AsyncHttpClient.defaultAsyncHttpClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create new http client using default internal http client.\n\n@param server Embedded server.\n@return Http client.\n@throws NullPointerException If {@code server} is {@code null}.", "docstring_tokens": ["Create", "new", "http", "client", "using", "default", "internal", "http", "client", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/async/AsyncHttpClient.java#L73-L76", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/JavaUtils.java", "func_name": "JavaUtils.parseJavaVersion", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse java version.\n\n@return The JAVA Version.", "docstring_tokens": ["Parse", "java", "version", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/JavaUtils.java#L68-L73", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/CollectionUtils.java", "func_name": "CollectionUtils.map", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Map input values to output values.\n\n@param inputs Input values.\n@param mapper Mapper function.\n@param Type of input values.\n@param Type of output values.\n@return Output values.", "docstring_tokens": ["Map", "input", "values", "to", "output", "values", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/CollectionUtils.java#L97-L108", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/CollectionUtils.java", "func_name": "CollectionUtils.concat", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Concat new value to existing inputs and returns new outputs.\nNote that input is not modified.\n\n@param inputs Input list.\n@param newValue The new value to add.\n@param The type of object.\n@return The outputs.", "docstring_tokens": ["Concat", "new", "value", "to", "existing", "inputs", "and", "returns", "new", "outputs", ".", "Note", "that", "input", "is", "not", "modified", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/CollectionUtils.java#L119-L124", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/CollectionUtils.java", "func_name": "CollectionUtils.filter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Filter input by using given predicate and return\nfiltered outputs.\n\n@param list List input.\n@param predicate Predicate.\n@param Type of elements.\n@return Filtered outputs.", "docstring_tokens": ["Filter", "input", "by", "using", "given", "predicate", "and", "return", "filtered", "outputs", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/CollectionUtils.java#L135-L143", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/DefaultHttpResponse.java", "func_name": "DefaultHttpResponse.of", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a default HTTP Response from given values.\n\n@param duration Request-Response duration.\n@param status The response status code.\n@param body The response body.\n@param headers The response headers.\n@return The HTTP response.", "docstring_tokens": ["Create", "a", "default", "HTTP", "Response", "from", "given", "values", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/DefaultHttpResponse.java#L50-L52", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-jetty/src/main/java/com/github/mjeanroy/junit/servers/jetty/junit4/JettyServerJunit4Runner.java", "func_name": "JettyServerJunit4Runner.instantiate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Instantiate embedded jetty to be used in tests.\n\n@param klass The tested class.\n@return The embedded jetty.", "docstring_tokens": ["Instantiate", "embedded", "jetty", "to", "be", "used", "in", "tests", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-jetty/src/main/java/com/github/mjeanroy/junit/servers/jetty/junit4/JettyServerJunit4Runner.java#L57-L60", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/okhttp3/OkHttpClient.java", "func_name": "OkHttpClient.defaultOkHttpClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create new http client using internal\nhttp client from ok-http library.\n\n@param server Embedded server.\n@return Http client.\n@throws NullPointerException If {@code server} is {@code null}.", "docstring_tokens": ["Create", "new", "http", "client", "using", "internal", "http", "client", "from", "ok", "-", "http", "library", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/okhttp3/OkHttpClient.java#L53-L56", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/okhttp3/OkHttpClient.java", "func_name": "OkHttpClient.newOkHttpClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create new http client using custom internal\nhttp client from ok-http library.\n\n@param server Embedded server.\n@param client The custom client.\n@return Http client.\n@throws NullPointerException If {@code server} or {@code client} are {@code null}.\n@deprecated Use {@link OkHttpClient#newOkHttpClient(HttpClientConfiguration, EmbeddedServer)}", "docstring_tokens": ["Create", "new", "http", "client", "using", "custom", "internal", "http", "client", "from", "ok", "-", "http", "library", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/okhttp3/OkHttpClient.java#L84-L87", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java", "func_name": "ReflectionUtils.findAllFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all fields on given object and look for fields of\nsuper classes.\n\n@param type Class to inspect.\n@return Fields.", "docstring_tokens": ["Get", "all", "fields", "on", "given", "object", "and", "look", "for", "fields", "of", "super", "classes", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java#L62-L72", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java", "func_name": "ReflectionUtils.findStaticFields", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all static fields on given class object.\n\n@param type Class to inspect.\n@return Fields.", "docstring_tokens": ["Get", "all", "static", "fields", "on", "given", "class", "object", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java#L80-L82", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java", "func_name": "ReflectionUtils.findStaticMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all static methods on given class object.\n\n@param type Class to inspect.\n@return Fields.", "docstring_tokens": ["Get", "all", "static", "methods", "on", "given", "class", "object", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java#L90-L92", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java", "func_name": "ReflectionUtils.findStaticFieldsAnnotatedWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all static fields on given class object\nannotated with given annotation.\n\n@param type Class to inspect.\n@param klass Annotation class.\n@return Fields.", "docstring_tokens": ["Get", "all", "static", "fields", "on", "given", "class", "object", "annotated", "with", "given", "annotation", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java#L102-L105", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java", "func_name": "ReflectionUtils.findStaticMethodsAnnotatedWith", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all static methods on given class object\nannotated with given annotation.\n\n@param type Class to inspect.\n@param klass Annotation class.\n@return Fields.", "docstring_tokens": ["Get", "all", "static", "methods", "on", "given", "class", "object", "annotated", "with", "given", "annotation", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java#L115-L118", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java", "func_name": "ReflectionUtils.setter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Set value of given field on given instance.\n\n@param instance Instance.\n@param field Field.\n@param value Field value.\n@throws ReflectionException if set operation is not permitted.", "docstring_tokens": ["Set", "value", "of", "given", "field", "on", "given", "instance", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java#L128-L147", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java", "func_name": "ReflectionUtils.getter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get value of field on target object.\nIf target is null, it means that field is static and do not\nneed any target instance.\n\n@param target Target object.\n@param field Field.\n@param Type of expected value.\n@return Field value.", "docstring_tokens": ["Get", "value", "of", "field", "on", "target", "object", ".", "If", "target", "is", "null", "it", "means", "that", "field", "is", "static", "and", "do", "not", "need", "any", "target", "instance", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java#L170-L190", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java", "func_name": "ReflectionUtils.invoke", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invoke the static method without any arguments.\n\n@param method The method to invoke.\n@param Return type.\n@return The result of the method invocation.", "docstring_tokens": ["Invoke", "the", "static", "method", "without", "any", "arguments", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ReflectionUtils.java#L199-L219", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/Dates.java", "func_name": "Dates.format", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Format date according to given pattern.\n\n@param date Date.\n@param pattern Pattern.\n@return Formatted date.", "docstring_tokens": ["Format", "date", "according", "to", "given", "pattern", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/Dates.java#L102-L104", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/Dates.java", "func_name": "Dates.formatTime", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Format timestamp according to given pattern.\n\n@param time Timestamp.\n@param pattern Pattern.\n@return Formatted date.", "docstring_tokens": ["Format", "timestamp", "according", "to", "given", "pattern", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/Dates.java#L113-L117", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/okhttp3/OkHttpRequest.java", "func_name": "OkHttpRequest.handleHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add all HTTP headers to the final request.\n\n@param builder The OkHttp request builder.\n@see Request.Builder#addHeader(String, String)", "docstring_tokens": ["Add", "all", "HTTP", "headers", "to", "the", "final", "request", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/okhttp3/OkHttpRequest.java#L104-L108", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/Strings.java", "func_name": "Strings.isBlank", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check that given string is blank.\n\n@param value String to check.\n@return {@code true} if string is blank, {@code false} otherwise.", "docstring_tokens": ["Check", "that", "given", "string", "is", "blank", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/Strings.java#L48-L60", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/Strings.java", "func_name": "Strings.removePrefix", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove string prefix if and only if string value starts with\nthe prefix, otherwise original string is returned.\n\n@param value String value.\n@param prefix String prefix.\n@return New string.", "docstring_tokens": ["Remove", "string", "prefix", "if", "and", "only", "if", "string", "value", "starts", "with", "the", "prefix", "otherwise", "original", "string", "is", "returned", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/Strings.java#L80-L86", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/Strings.java", "func_name": "Strings.join", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Join all strings to a single one using given separator.\n\n@param separator String separator.\n@param values All string to join.\n@return The final string.", "docstring_tokens": ["Join", "all", "strings", "to", "a", "single", "one", "using", "given", "separator", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/Strings.java#L109-L123", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/async/AsyncHttpRequest.java", "func_name": "AsyncHttpRequest.handleQueryParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add query parameter to the final HTTP request.\n\n@param builder The pending HTTP request.\n@see RequestBuilder#addQueryParam(String, String)", "docstring_tokens": ["Add", "query", "parameter", "to", "the", "final", "HTTP", "request", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/async/AsyncHttpRequest.java#L108-L112", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/async/AsyncHttpRequest.java", "func_name": "AsyncHttpRequest.handleBody", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add body entity to the final HTTP request.\n\n@param builder The pending HTTP request.\n@see RequestBuilder#addFormParam(String, String)\n@see RequestBuilder#setBody(String)", "docstring_tokens": ["Add", "body", "entity", "to", "the", "final", "HTTP", "request", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/async/AsyncHttpRequest.java#L121-L132", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/async/AsyncHttpRequest.java", "func_name": "AsyncHttpRequest.handleFormParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Serialize form parameters to the request body.\n\n@param builder The pending HTTP request.\n@see RequestBuilder#addFormParam(String, String)", "docstring_tokens": ["Serialize", "form", "parameters", "to", "the", "request", "body", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/async/AsyncHttpRequest.java#L140-L144", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/async/AsyncHttpRequest.java", "func_name": "AsyncHttpRequest.handleCookies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add cookies to the final HTTP request.\n\n@param builder The pending HTTP request.\n@see RequestBuilder#addCookie(Cookie)", "docstring_tokens": ["Add", "cookies", "to", "the", "final", "HTTP", "request", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/async/AsyncHttpRequest.java#L174-L178", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/ning/NingAsyncHttpRequest.java", "func_name": "NingAsyncHttpRequest.handleHeaders", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add request headers.\n\n@param builder The pending HTTP request.\n@see RequestBuilder#addHeader(String, String)", "docstring_tokens": ["Add", "request", "headers", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/client/impl/ning/NingAsyncHttpRequest.java#L175-L179", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ToStringBuilder.java", "func_name": "ToStringBuilder.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append new map value.\n\n@param name The name of the field.\n@param map The map.\n@return The current builder (for chaining).", "docstring_tokens": ["Append", "new", "map", "value", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ToStringBuilder.java#L146-L155", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ToStringBuilder.java", "func_name": "ToStringBuilder.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append new boolean value.\n\n@param name The name of the field.\n@param values The collection of values.\n@param Type of elements in collection.\n@return The current builder (for chaining).", "docstring_tokens": ["Append", "new", "boolean", "value", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ToStringBuilder.java#L176-L190", "partition": "valid"}
+{"repo": "mjeanroy/junit-servers", "path": "junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ToStringBuilder.java", "func_name": "ToStringBuilder.appendFormattedValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append formatted value to the final output.\n@param name Field name.\n@param value Field value.\n@return The current builder.", "docstring_tokens": ["Append", "formatted", "value", "to", "the", "final", "output", "."], "sha": "e5628ac13414da9ab0110491c011e2b02239155c", "url": "https://github.com/mjeanroy/junit-servers/blob/e5628ac13414da9ab0110491c011e2b02239155c/junit-servers-core/src/main/java/com/github/mjeanroy/junit/servers/commons/ToStringBuilder.java#L210-L218", "partition": "valid"}
+{"repo": "RestComm/jain-sip.ha", "path": "core/src/main/java/org/mobicents/ha/javax/sip/ClusteredSipStackImpl.java", "func_name": "ClusteredSipStackImpl.getDialogFromDistributedCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrieve the dialog from the distributed cache\n@param dialogId the id of the dialog to fetch\n@return the SIPDialog from the distributed cache, null if nothing has been found in the cache", "docstring_tokens": ["Retrieve", "the", "dialog", "from", "the", "distributed", "cache"], "sha": "25bd4b4391800aa3f6019fb0ce03d012e54c15b5", "url": "https://github.com/RestComm/jain-sip.ha/blob/25bd4b4391800aa3f6019fb0ce03d012e54c15b5/core/src/main/java/org/mobicents/ha/javax/sip/ClusteredSipStackImpl.java#L351-L369", "partition": "valid"}
+{"repo": "RestComm/jain-sip.ha", "path": "core/src/main/java/org/mobicents/ha/javax/sip/ClusteredSipStackImpl.java", "func_name": "ClusteredSipStackImpl.putDialogIntoDistributedCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Store the dialog into the distributed cache\n@param dialog the dialog to store", "docstring_tokens": ["Store", "the", "dialog", "into", "the", "distributed", "cache"], "sha": "25bd4b4391800aa3f6019fb0ce03d012e54c15b5", "url": "https://github.com/RestComm/jain-sip.ha/blob/25bd4b4391800aa3f6019fb0ce03d012e54c15b5/core/src/main/java/org/mobicents/ha/javax/sip/ClusteredSipStackImpl.java#L374-L385", "partition": "valid"}
+{"repo": "RestComm/jain-sip.ha", "path": "core/src/main/java/org/mobicents/ha/javax/sip/ClusteredSipStackImpl.java", "func_name": "ClusteredSipStackImpl.removeDialogFromDistributedCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Remove the dialog from the distributed cache\n@param dialogId the id of the dialog to remove", "docstring_tokens": ["Remove", "the", "dialog", "from", "the", "distributed", "cache"], "sha": "25bd4b4391800aa3f6019fb0ce03d012e54c15b5", "url": "https://github.com/RestComm/jain-sip.ha/blob/25bd4b4391800aa3f6019fb0ce03d012e54c15b5/core/src/main/java/org/mobicents/ha/javax/sip/ClusteredSipStackImpl.java#L391-L402", "partition": "valid"}
+{"repo": "RestComm/jain-sip.ha", "path": "core/src/main/java/gov/nist/javax/sip/stack/AbstractHASipDialog.java", "func_name": "AbstractHASipDialog.initAfterLoad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Updates the local dialog transient attributes that were not serialized during the replication\n@param sipStackImpl the sip Stack Impl that reloaded this dialog from the distributed cache", "docstring_tokens": ["Updates", "the", "local", "dialog", "transient", "attributes", "that", "were", "not", "serialized", "during", "the", "replication"], "sha": "25bd4b4391800aa3f6019fb0ce03d012e54c15b5", "url": "https://github.com/RestComm/jain-sip.ha/blob/25bd4b4391800aa3f6019fb0ce03d012e54c15b5/core/src/main/java/gov/nist/javax/sip/stack/AbstractHASipDialog.java#L129-L149", "partition": "valid"}
+{"repo": "RestComm/jain-sip.ha", "path": "core/src/main/java/gov/nist/javax/sip/stack/AbstractHASipDialog.java", "func_name": "AbstractHASipDialog.addTransaction", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "From and To Uris switch places in certain conditions", "docstring_tokens": ["From", "and", "To", "Uris", "switch", "places", "in", "certain", "conditions"], "sha": "25bd4b4391800aa3f6019fb0ce03d012e54c15b5", "url": "https://github.com/RestComm/jain-sip.ha/blob/25bd4b4391800aa3f6019fb0ce03d012e54c15b5/core/src/main/java/gov/nist/javax/sip/stack/AbstractHASipDialog.java#L645-L653", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "format-ldif/src/main/java/com/btmatthews/maven/plugins/ldap/ldif/LDIFFormatWriter.java", "func_name": "LDIFFormatWriter.printEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write the LDAP entry to the underlying output stream in LDIF format.\n\n@param entry The directory entry.\n@throws IOException If there was a problem writing to the underlying output stream.", "docstring_tokens": ["Write", "the", "LDAP", "entry", "to", "the", "underlying", "output", "stream", "in", "LDIF", "format", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/format-ldif/src/main/java/com/btmatthews/maven/plugins/ldap/ldif/LDIFFormatWriter.java#L65-L76", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "format-api/src/main/java/com/btmatthews/maven/plugins/ldap/AbstractFormatHandler.java", "func_name": "AbstractFormatHandler.load", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads directory entries from the input stream and loads them in the LDAP directory server.\n\n@param connection The connection to the LDAP directory server.\n@param inputStream The input stream from which directory entries will be read.\n@param ignoreErrors If {@code true} then loading will continue if an error occurs.\n@param logger Used to log information or error messages.", "docstring_tokens": ["Reads", "directory", "entries", "from", "the", "input", "stream", "and", "loads", "them", "in", "the", "LDAP", "directory", "server", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/format-api/src/main/java/com/btmatthews/maven/plugins/ldap/AbstractFormatHandler.java#L45-L83", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "format-api/src/main/java/com/btmatthews/maven/plugins/ldap/AbstractFormatHandler.java", "func_name": "AbstractFormatHandler.dump", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Dump the results of a search against the LDAP directory server to an output stream.\n\n@param connection The connection to the LDAP directory server.\n@param base The base DN from which to start the search.\n@param filter Query used to filter the directory entries.\n@param outputStream The output stream to which the directory entries are to be written.\n@param logger Used to log information or error messages.", "docstring_tokens": ["Dump", "the", "results", "of", "a", "search", "against", "the", "LDAP", "directory", "server", "to", "an", "output", "stream", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/format-api/src/main/java/com/btmatthews/maven/plugins/ldap/AbstractFormatHandler.java#L94-L128", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/DumpMojo.java", "func_name": "DumpMojo.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the plugin goal by dumping the matching directory entries to a file in the specified format.\n\n@throws MojoExecutionException If something unexpected happens.", "docstring_tokens": ["Execute", "the", "plugin", "goal", "by", "dumping", "the", "matching", "directory", "entries", "to", "a", "file", "in", "the", "specified", "format", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/DumpMojo.java#L83-L107", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/IncludeServerDependenciesComponentConfigurator.java", "func_name": "IncludeServerDependenciesComponentConfigurator.configureComponent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure the Mojo by adding the dependencies for the LDAP server type to the class loader.\n\n@param component The Mojo being configured.\n@param configuration The plugin configuration.\n@param expressionEvaluator Used to evaluate expressions.\n@param containerRealm Used to build the class loader.\n@param listener Receives notification when configuration is changed.\n@throws ComponentConfigurationException If there was a problem resolving or locating any of the dependencies.", "docstring_tokens": ["Configure", "the", "Mojo", "by", "adding", "the", "dependencies", "for", "the", "LDAP", "server", "type", "to", "the", "class", "loader", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/IncludeServerDependenciesComponentConfigurator.java#L85-L105", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/IncludeServerDependenciesComponentConfigurator.java", "func_name": "IncludeServerDependenciesComponentConfigurator.addServerDependenciesToClassRealm", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolve the dependencies for an LDAP server type and add them to the class loader.\n\n@param serverType The LDAP server type.\n@param expressionEvaluator Used to evaluate expressions.\n@param containerRealm The class loader.\n@throws ComponentConfigurationException If there was a problem resolving or locating any of the dependencies.", "docstring_tokens": ["Resolve", "the", "dependencies", "for", "an", "LDAP", "server", "type", "and", "add", "them", "to", "the", "class", "loader", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/IncludeServerDependenciesComponentConfigurator.java#L115-L125", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/IncludeServerDependenciesComponentConfigurator.java", "func_name": "IncludeServerDependenciesComponentConfigurator.buildURLs", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Retrive the URLs used to locate the JAR files for a list of artifacts.\n\n@param classpathElements The list of artifacts.\n@return The list of URLs.\n@throws ComponentConfigurationException If any JAR files could not be located.", "docstring_tokens": ["Retrive", "the", "URLs", "used", "to", "locate", "the", "JAR", "files", "for", "a", "list", "of", "artifacts", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/IncludeServerDependenciesComponentConfigurator.java#L134-L146", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/IncludeServerDependenciesComponentConfigurator.java", "func_name": "IncludeServerDependenciesComponentConfigurator.getServerDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Resolve the LDAP server type artifact and its dependencies.\n\n@param serverType The LDAP server type.\n@param expressionEvaluator Used to get the Maven project model and repository session objects.\n@return A list of dependencies required for the LDAP server type.\n@throws ComponentConfigurationException If the was a problem resolving the dependencies for\nthe LDAP server type.", "docstring_tokens": ["Resolve", "the", "LDAP", "server", "type", "artifact", "and", "its", "dependencies", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/IncludeServerDependenciesComponentConfigurator.java#L157-L195", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/IncludeServerDependenciesComponentConfigurator.java", "func_name": "IncludeServerDependenciesComponentConfigurator.getServerArtifact", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the artifact descriptor for the JAR file that implements support for the LDAP server type.\n\n@param serverType The LDAP server type.\n@return The JAR file artifact descriptor.", "docstring_tokens": ["Get", "the", "artifact", "descriptor", "for", "the", "JAR", "file", "that", "implements", "support", "for", "the", "LDAP", "server", "type", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/IncludeServerDependenciesComponentConfigurator.java#L203-L228", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/IncludeServerDependenciesComponentConfigurator.java", "func_name": "IncludeServerDependenciesComponentConfigurator.getServerType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine the configured LDAP server type. If one has not been configured then\nreturn the default.\n\n@param configuration The plugin configuration.\n@return The LDAP server type.", "docstring_tokens": ["Determine", "the", "configured", "LDAP", "server", "type", ".", "If", "one", "has", "not", "been", "configured", "then", "return", "the", "default", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/IncludeServerDependenciesComponentConfigurator.java#L237-L249", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "format-dsml/src/main/java/com/btmatthews/maven/plugins/ldap/dsml/DSMLFormatHandler.java", "func_name": "DSMLFormatHandler.createWriter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the LDAP writer that will dump LDAP entries to a DSML file.\n\n@param outputStream The target output stream.\n@param logger Used to log information or error messages.\n@return A {@link DSMLFormatWriter} object.", "docstring_tokens": ["Create", "the", "LDAP", "writer", "that", "will", "dump", "LDAP", "entries", "to", "a", "DSML", "file", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/format-dsml/src/main/java/com/btmatthews/maven/plugins/ldap/dsml/DSMLFormatHandler.java#L45-L54", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "format-dsml/src/main/java/com/btmatthews/maven/plugins/ldap/dsml/DSMLFormatHandler.java", "func_name": "DSMLFormatHandler.openReader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the LDAP reader that will load LDAP entries from a DSML file.\n\n@param inputStream The file input stream.\n@param logger Used to log information or error messages.\n@return A {@link DSMLFormatReader} object.", "docstring_tokens": ["Create", "the", "LDAP", "reader", "that", "will", "load", "LDAP", "entries", "from", "a", "DSML", "file", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/format-dsml/src/main/java/com/btmatthews/maven/plugins/ldap/dsml/DSMLFormatHandler.java#L63-L76", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "server-api/src/main/java/com/btmatthews/maven/plugins/ldap/AbstractLDAPServer.java", "func_name": "AbstractLDAPServer.configure", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Used to configure the root DN of the LDAP directory, the working directory used by the directory service to\nstore the directory data, the LDIF file used to seed the directory or the TCP port number on which the server\nwill listening for LDAP traffic.\n\n@param name The name of the property to configure.\n@param value The value of the property being configured.\n@param logger Used to log error and information messages.", "docstring_tokens": ["Used", "to", "configure", "the", "root", "DN", "of", "the", "LDAP", "directory", "the", "working", "directory", "used", "by", "the", "directory", "service", "to", "store", "the", "directory", "data", "the", "LDIF", "file", "used", "to", "seed", "the", "directory", "or", "the", "TCP", "port", "number", "on", "which", "the", "server", "will", "listening", "for", "LDAP", "traffic", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/server-api/src/main/java/com/btmatthews/maven/plugins/ldap/AbstractLDAPServer.java#L70-L108", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "server-unboundid/src/main/java/com/btmatthews/maven/plugins/ldap/unboundid/UnboundIDServer.java", "func_name": "UnboundIDServer.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure and start the embedded UnboundID server creating the root DN and loading the LDIF seed data.\n\n@param logger Used to log informational and error messages.", "docstring_tokens": ["Configure", "and", "start", "the", "embedded", "UnboundID", "server", "creating", "the", "root", "DN", "and", "loading", "the", "LDIF", "seed", "data", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/server-unboundid/src/main/java/com/btmatthews/maven/plugins/ldap/unboundid/UnboundIDServer.java#L58-L92", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "server-unboundid/src/main/java/com/btmatthews/maven/plugins/ldap/unboundid/UnboundIDServer.java", "func_name": "UnboundIDServer.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shutdown the the embedded UnboundID server.\n\n@param logger Used to log informational and error messages.", "docstring_tokens": ["Shutdown", "the", "the", "embedded", "UnboundID", "server", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/server-unboundid/src/main/java/com/btmatthews/maven/plugins/ldap/unboundid/UnboundIDServer.java#L99-L104", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "format-dsml/src/main/java/com/btmatthews/maven/plugins/ldap/dsml/DSMLFormatReader.java", "func_name": "DSMLFormatReader.nextRecord", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the next change record from the underlying input stream.\n\n@return The next change record or {@code null} if the end of the input stream has been reached.", "docstring_tokens": ["Read", "the", "next", "change", "record", "from", "the", "underlying", "input", "stream", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/format-dsml/src/main/java/com/btmatthews/maven/plugins/ldap/dsml/DSMLFormatReader.java#L93-L134", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/LoadMojo.java", "func_name": "LoadMojo.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Execute the plugin goal iterating over the list of source files and loading the LDAP directory entries from\neach file using the appropriate handler.\n\n@throws MojoExecutionException If there was an error executing the plugin goal.", "docstring_tokens": ["Execute", "the", "plugin", "goal", "iterating", "over", "the", "list", "of", "source", "files", "and", "loading", "the", "LDAP", "directory", "entries", "from", "each", "file", "using", "the", "appropriate", "handler", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/LoadMojo.java#L66-L104", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "server-apacheds/src/main/java/com/btmatthews/maven/plugins/ldap/apache/ApacheDSServer.java", "func_name": "ApacheDSServer.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Configure and start the embedded ApacheDS server creating the root DN and loading the LDIF seed data.\n\n@param logger Used to log informational and error messages.", "docstring_tokens": ["Configure", "and", "start", "the", "embedded", "ApacheDS", "server", "creating", "the", "root", "DN", "and", "loading", "the", "LDIF", "seed", "data", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/server-apacheds/src/main/java/com/btmatthews/maven/plugins/ldap/apache/ApacheDSServer.java#L64-L114", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "server-apacheds/src/main/java/com/btmatthews/maven/plugins/ldap/apache/ApacheDSServer.java", "func_name": "ApacheDSServer.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shutdown the the embedded ApacheDS server.\n\n@param logger Used to log informational and error messages.", "docstring_tokens": ["Shutdown", "the", "the", "embedded", "ApacheDS", "server", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/server-apacheds/src/main/java/com/btmatthews/maven/plugins/ldap/apache/ApacheDSServer.java#L121-L131", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "server-apacheds/src/main/java/com/btmatthews/maven/plugins/ldap/apache/ApacheDSServer.java", "func_name": "ApacheDSServer.createRoot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the root DN.\n\n@param partition The partition in which to create the root DN.\n@throws Exception If there was an error creating the root DN.", "docstring_tokens": ["Create", "the", "root", "DN", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/server-apacheds/src/main/java/com/btmatthews/maven/plugins/ldap/apache/ApacheDSServer.java#L150-L161", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "server-opendj/src/main/java/com/btmatthews/maven/plugins/ldap/opendj/OpenDJServer.java", "func_name": "OpenDJServer.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Start the OpenDJ in-memory directory server.\n\n@param logger Used for logging.", "docstring_tokens": ["Start", "the", "OpenDJ", "in", "-", "memory", "directory", "server", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/server-opendj/src/main/java/com/btmatthews/maven/plugins/ldap/opendj/OpenDJServer.java#L48-L67", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "server-opendj/src/main/java/com/btmatthews/maven/plugins/ldap/opendj/OpenDJServer.java", "func_name": "OpenDJServer.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stop the OpenDJ in-memory directory server.\n\n@param logger User for logging.", "docstring_tokens": ["Stop", "the", "OpenDJ", "in", "-", "memory", "directory", "server", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/server-opendj/src/main/java/com/btmatthews/maven/plugins/ldap/opendj/OpenDJServer.java#L74-L81", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "format-dsml/src/main/java/com/btmatthews/maven/plugins/ldap/dsml/DSMLFormatWriter.java", "func_name": "DSMLFormatWriter.printEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes an individual LDAP directory entry to the DSML file.\n\n@param entry The directory entry.\n@throws IOException If there was a problem writing to the underlying output stream.", "docstring_tokens": ["Writes", "an", "individual", "LDAP", "directory", "entry", "to", "the", "DSML", "file", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/format-dsml/src/main/java/com/btmatthews/maven/plugins/ldap/dsml/DSMLFormatWriter.java#L71-L110", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/RunLDAPMojo.java", "func_name": "RunLDAPMojo.getServerType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the server type.\n\n@return The server type.", "docstring_tokens": ["Get", "the", "server", "type", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/RunLDAPMojo.java#L96-L108", "partition": "valid"}
+{"repo": "bmatthews68/ldap-maven-plugin", "path": "ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/RunLDAPMojo.java", "func_name": "RunLDAPMojo.getServerConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the embedded LDAP directory server configuration.\n\n@return A {@link Map} containing the server configuration.", "docstring_tokens": ["Get", "the", "embedded", "LDAP", "directory", "server", "configuration", "."], "sha": "02d33503c4f602482972c06cdd960f04f490a6ed", "url": "https://github.com/bmatthews68/ldap-maven-plugin/blob/02d33503c4f602482972c06cdd960f04f490a6ed/ldap-maven-plugin/src/main/java/com/btmatthews/maven/plugins/ldap/mojo/RunLDAPMojo.java#L115-L130", "partition": "valid"}
+{"repo": "cloudiator/visor", "path": "visor-reporting-kairos/src/main/java/de/uniulm/omi/cloudiator/visor/reporting/kairos/KairosDb.java", "func_name": "KairosDb.sendMetric", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sends a metric to the kairos server.\n\n@param metricBuilder the metricbuilder containing the metrics.\n@throws de.uniulm.omi.cloudiator.visor.reporting.ReportingException If the kairos server could\nnot be reached.", "docstring_tokens": ["Sends", "a", "metric", "to", "the", "kairos", "server", "."], "sha": "bd163783ff5c8076e6856aa88d621462b98e39fc", "url": "https://github.com/cloudiator/visor/blob/bd163783ff5c8076e6856aa88d621462b98e39fc/visor-reporting-kairos/src/main/java/de/uniulm/omi/cloudiator/visor/reporting/kairos/KairosDb.java#L75-L95", "partition": "valid"}
+{"repo": "cloudiator/visor", "path": "visor-reporting-kairos/src/main/java/de/uniulm/omi/cloudiator/visor/reporting/kairos/KairosDb.java", "func_name": "KairosDb.report", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Report method. Converts the given metric to a metric kairos understands and sends them.\n\n@param metric the metric to report.\n@throws ReportingException of the metric could not be converted. or sent to kairos.", "docstring_tokens": ["Report", "method", ".", "Converts", "the", "given", "metric", "to", "a", "metric", "kairos", "understands", "and", "sends", "them", "."], "sha": "bd163783ff5c8076e6856aa88d621462b98e39fc", "url": "https://github.com/cloudiator/visor/blob/bd163783ff5c8076e6856aa88d621462b98e39fc/visor-reporting-kairos/src/main/java/de/uniulm/omi/cloudiator/visor/reporting/kairos/KairosDb.java#L103-L113", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readGeometryType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the geometry type info\n\n@param reader\nbyte reader\n@return geometry type info", "docstring_tokens": ["Read", "the", "geometry", "type", "info"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L149-L184", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Point\n\n@param reader\n@param hasZ\n@param hasM\n@return point", "docstring_tokens": ["Read", "a", "Point"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L194-L212", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readLineString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Line String\n\n@param reader\n@param hasZ\n@param hasM\n@return line string", "docstring_tokens": ["Read", "a", "Line", "String"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L222-L236", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readPolygon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Polygon\n\n@param reader\n@param hasZ\n@param hasM\n@return polygon", "docstring_tokens": ["Read", "a", "Polygon"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L246-L260", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readMultiPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Multi Point\n\n@param reader\n@param hasZ\n@param hasM\n@return multi point", "docstring_tokens": ["Read", "a", "Multi", "Point"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L270-L284", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readMultiLineString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Multi Line String\n\n@param reader\n@param hasZ\n@param hasM\n@return multi line string", "docstring_tokens": ["Read", "a", "Multi", "Line", "String"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L294-L307", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readMultiPolygon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Multi Polygon\n\n@param reader\n@param hasZ\n@param hasM\n@return multi polygon", "docstring_tokens": ["Read", "a", "Multi", "Polygon"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L317-L331", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readGeometryCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Geometry Collection\n\n@param reader\n@param hasZ\n@param hasM\n@return geometry collection", "docstring_tokens": ["Read", "a", "Geometry", "Collection"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L341-L356", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readCircularString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Circular String\n\n@param reader\n@param hasZ\n@param hasM\n@return circular string", "docstring_tokens": ["Read", "a", "Circular", "String"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L366-L380", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readCompoundCurve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Compound Curve\n\n@param reader\n@param hasZ\n@param hasM\n@return compound curve", "docstring_tokens": ["Read", "a", "Compound", "Curve"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L390-L404", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readCurvePolygon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Curve Polygon\n\n@param reader\n@param hasZ\n@param hasM\n@return curve polygon", "docstring_tokens": ["Read", "a", "Curve", "Polygon"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L414-L428", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readPolyhedralSurface", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Polyhedral Surface\n\n@param reader\n@param hasZ\n@param hasM\n@return polyhedral surface", "docstring_tokens": ["Read", "a", "Polyhedral", "Surface"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L438-L452", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readTIN", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a TIN\n\n@param reader\n@param hasZ\n@param hasM\n@return TIN", "docstring_tokens": ["Read", "a", "TIN"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L462-L475", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryReader.java", "func_name": "GeometryReader.readTriangle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read a Triangle\n\n@param reader\n@param hasZ\n@param hasM\n@return triangle", "docstring_tokens": ["Read", "a", "Triangle"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryReader.java#L485-L499", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writeGeometry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a geometry to the byte writer\n\n@param writer\n@param geometry\n@throws IOException", "docstring_tokens": ["Write", "a", "geometry", "to", "the", "byte", "writer"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L39-L109", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writePoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a Point\n\n@param writer\n@param point\n@throws IOException", "docstring_tokens": ["Write", "a", "Point"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L118-L131", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writeLineString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a Line String\n\n@param writer\n@param lineString\n@throws IOException", "docstring_tokens": ["Write", "a", "Line", "String"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L140-L148", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writePolygon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a Polygon\n\n@param writer\n@param polygon\n@throws IOException", "docstring_tokens": ["Write", "a", "Polygon"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L157-L165", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writeMultiPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a Multi Point\n\n@param writer\n@param multiPoint\n@throws IOException", "docstring_tokens": ["Write", "a", "Multi", "Point"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L174-L182", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writeMultiLineString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a Multi Line String\n\n@param writer\n@param multiLineString\n@throws IOException", "docstring_tokens": ["Write", "a", "Multi", "Line", "String"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L191-L199", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writeMultiPolygon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a Multi Polygon\n\n@param writer\n@param multiPolygon\n@throws IOException", "docstring_tokens": ["Write", "a", "Multi", "Polygon"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L208-L216", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writeGeometryCollection", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a Geometry Collection\n\n@param writer\n@param geometryCollection\n@throws IOException", "docstring_tokens": ["Write", "a", "Geometry", "Collection"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L225-L233", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writeCircularString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a Circular String\n\n@param writer\n@param circularString\n@throws IOException", "docstring_tokens": ["Write", "a", "Circular", "String"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L242-L250", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writeCompoundCurve", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a Compound Curve\n\n@param writer\n@param compoundCurve\n@throws IOException", "docstring_tokens": ["Write", "a", "Compound", "Curve"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L259-L267", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writeCurvePolygon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a Curve Polygon\n\n@param writer\n@param curvePolygon\n@throws IOException", "docstring_tokens": ["Write", "a", "Curve", "Polygon"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L276-L284", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writePolyhedralSurface", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a Polyhedral Surface\n\n@param writer\n@param polyhedralSurface\n@throws IOException", "docstring_tokens": ["Write", "a", "Polyhedral", "Surface"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L293-L301", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writeTIN", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a TIN\n\n@param writer\n@param tin\n@throws IOException", "docstring_tokens": ["Write", "a", "TIN"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L310-L317", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryWriter.java", "func_name": "GeometryWriter.writeTriangle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write a Triangle\n\n@param writer\n@param triangle\n@throws IOException", "docstring_tokens": ["Write", "a", "Triangle"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryWriter.java#L326-L334", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryCodes.java", "func_name": "GeometryCodes.getCode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the geometry code from the geometry\n\n@param geometry\ngeometry\n@return geometry code", "docstring_tokens": ["Get", "the", "geometry", "code", "from", "the", "geometry"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryCodes.java#L22-L31", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryCodes.java", "func_name": "GeometryCodes.getCode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the geometry code from the geometry type\n\n@param geometryType\ngeometry type\n@return geometry code", "docstring_tokens": ["Get", "the", "geometry", "code", "from", "the", "geometry", "type"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryCodes.java#L40-L106", "partition": "valid"}
+{"repo": "ngageoint/simple-features-wkb-java", "path": "src/main/java/mil/nga/sf/wkb/GeometryCodes.java", "func_name": "GeometryCodes.getGeometryType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the Geometry Type from the code\n\n@param code\ngeometry type code\n@return geometry type", "docstring_tokens": ["Get", "the", "Geometry", "Type", "from", "the", "code"], "sha": "7197c4cd455a6ed6d5a9f66a600572c09efc432b", "url": "https://github.com/ngageoint/simple-features-wkb-java/blob/7197c4cd455a6ed6d5a9f66a600572c09efc432b/src/main/java/mil/nga/sf/wkb/GeometryCodes.java#L115-L183", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/io/AbstractResource.java", "func_name": "AbstractResource.exists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This implementation checks whether a File can be opened,\nfalling back to whether an InputStream can be opened.\nThis will cover both directories and content resources.", "docstring_tokens": ["This", "implementation", "checks", "whether", "a", "File", "can", "be", "opened", "falling", "back", "to", "whether", "an", "InputStream", "can", "be", "opened", ".", "This", "will", "cover", "both", "directories", "and", "content", "resources", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/io/AbstractResource.java#L80-L97", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/GcdCalculator.java", "func_name": "GcdCalculator.gcd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds the greatest common divisor of all numbers in the list.\n\n@return the GCD or Long.MAX_VALUE if the list is empty.", "docstring_tokens": ["Finds", "the", "greatest", "common", "divisor", "of", "all", "numbers", "in", "the", "list", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/GcdCalculator.java#L39-L49", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/StringUtils2.java", "func_name": "StringUtils2.abbreviate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Abbreviates a String using ellipses. This will turn \"Now is the time for all good men\" into \"Now is the time for...\"\n\n@param str the String to abbreviate\n@param max the max number of chars of the abbreviated String\n@return the abbreviated string", "docstring_tokens": ["Abbreviates", "a", "String", "using", "ellipses", ".", "This", "will", "turn", "Now", "is", "the", "time", "for", "all", "good", "men", "into", "Now", "is", "the", "time", "for", "..."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/StringUtils2.java#L166-L175", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/json/Json.java", "func_name": "Json.value", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a JsonValue instance that represents the given string.\n\n@param string\nthe string to get a JSON representation for\n@return a JSON value that represents the given string", "docstring_tokens": ["Returns", "a", "JsonValue", "instance", "that", "represents", "the", "given", "string", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/json/Json.java#L132-L134", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/json/Json.java", "func_name": "Json.object", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates a new empty JsonObject. This is equivalent to creating a new JsonObject using the\nconstructor.\n\n@return a new empty JSON object", "docstring_tokens": ["Creates", "a", "new", "empty", "JsonObject", ".", "This", "is", "equivalent", "to", "creating", "a", "new", "JsonObject", "using", "the", "constructor", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/json/Json.java#L276-L278", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/json/Json.java", "func_name": "Json.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the given input string as JSON. The input must contain a valid JSON value, optionally\npadded with whitespace.\n\n@param string\nthe input string, must be valid JSON\n@return a value that represents the parsed JSON\n@throws ParseException\nif the input is not valid JSON", "docstring_tokens": ["Parses", "the", "given", "input", "string", "as", "JSON", ".", "The", "input", "must", "contain", "a", "valid", "JSON", "value", "optionally", "padded", "with", "whitespace", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/json/Json.java#L290-L297", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/ConfigurationUtils.java", "func_name": "ConfigurationUtils.getString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the value of the given property.\n\nIf the property is not found, the defaultValue is returned.\n\n@param name name of the property\n@param defaultValue default value if the property is not defined.\n@return value of the property or defaultValue if the property is not defined.", "docstring_tokens": ["Return", "the", "value", "of", "the", "given", "property", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/ConfigurationUtils.java#L147-L153", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/json/JsonObject.java", "func_name": "JsonObject.readFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a JSON object from the given string.\n\n@param string\nthe string that contains the JSON object\n@return the JSON object that has been read\n@throws ParseException\nif the input is not valid JSON\n@throws UnsupportedOperationException\nif the input does not contain a JSON object\n@deprecated Use {@link Json#parse(String)}{@link org.jmxtrans.agent.util.json.JsonValue#asObject() .asObject()} instead", "docstring_tokens": ["Reads", "a", "JSON", "object", "from", "the", "given", "string", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/json/JsonObject.java#L150-L153", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/json/JsonObject.java", "func_name": "JsonObject.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value of the member with the specified name in this object. If this object contains\nmultiple members with the given name, this method will return the last one.\n\n@param name\nthe name of the member whose value is to be returned\n@return the value of the last member with the specified name, or null if this\nobject does not contain a member with that name", "docstring_tokens": ["Returns", "the", "value", "of", "the", "member", "with", "the", "specified", "name", "in", "this", "object", ".", "If", "this", "object", "contains", "multiple", "members", "with", "the", "given", "name", "this", "method", "will", "return", "the", "last", "one", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/json/JsonObject.java#L557-L563", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/json/JsonObject.java", "func_name": "JsonObject.iterator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an iterator over the members of this object in document order. The returned iterator\ncannot be used to modify this object.\n\n@return an iterator over the members of this object", "docstring_tokens": ["Returns", "an", "iterator", "over", "the", "members", "of", "this", "object", "in", "document", "order", ".", "The", "returned", "iterator", "cannot", "be", "used", "to", "modify", "this", "object", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/json/JsonObject.java#L713-L733", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/PropertyPlaceholderResolver.java", "func_name": "PropertyPlaceholderResolver.resolvePlaceholder", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Search for the given placeholder in system properties then in environment variables.\n\n@param property property to resolve\n@param defaultValue Default value if the placeholder is not found. null means not default value is\ndefined and the placeholder must exist\n@return the resolved property or the default value if the placeholder is not found and the default value is defined. Non null.\n@throws IllegalStateException if the placeholder is not found and the given defaultValue is not\ndefined (null)", "docstring_tokens": ["Search", "for", "the", "given", "placeholder", "in", "system", "properties", "then", "in", "environment", "variables", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/PropertyPlaceholderResolver.java#L118-L140", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/JmxTransAgent.java", "func_name": "JmxTransAgent.getVersionInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Human readable name and version.\n\n@return project name and version or \"{@code jmxtrans-agent}\" if package information not found", "docstring_tokens": ["Human", "readable", "name", "and", "version", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/JmxTransAgent.java#L124-L132", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/json/JsonArray.java", "func_name": "JsonArray.readFrom", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads a JSON array from the given string.\n\n@param string\nthe string that contains the JSON array\n@return the JSON array that has been read\n@throws ParseException\nif the input is not valid JSON\n@throws UnsupportedOperationException\nif the input does not contain a JSON array\n@deprecated Use {@link Json#parse(String)}{@link org.jmxtrans.agent.util.json.JsonValue#asArray() .asArray()} instead", "docstring_tokens": ["Reads", "a", "JSON", "array", "from", "the", "given", "string", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/json/JsonArray.java#L131-L134", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/json/JsonArray.java", "func_name": "JsonArray.add", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Appends the specified JSON value to the end of this array.\n\n@param value\nthe JsonValue to add to the array, must not be null\n@return the array itself, to enable method chaining", "docstring_tokens": ["Appends", "the", "specified", "JSON", "value", "to", "the", "end", "of", "this", "array", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/json/JsonArray.java#L236-L242", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/json/JsonArray.java", "func_name": "JsonArray.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Replaces the element at the specified position in this array with the specified JSON value.\n\n@param index\nthe index of the array element to replace\n@param value\nthe value to be stored at the specified array position, must not be null\n@return the array itself, to enable method chaining\n@throws IndexOutOfBoundsException\nif the index is out of range, i.e. index < 0 or\nindex >= size", "docstring_tokens": ["Replaces", "the", "element", "at", "the", "specified", "position", "in", "this", "array", "with", "the", "specified", "JSON", "value", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/json/JsonArray.java#L364-L370", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/json/JsonArray.java", "func_name": "JsonArray.get", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the value of the element at the specified position in this array.\n\n@param index\nthe index of the array element to return\n@return the value of the element at the specified position\n@throws IndexOutOfBoundsException\nif the index is out of range, i.e. index < 0 or\nindex >= size", "docstring_tokens": ["Returns", "the", "value", "of", "the", "element", "at", "the", "specified", "position", "in", "this", "array", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/json/JsonArray.java#L415-L417", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/json/JsonArray.java", "func_name": "JsonArray.values", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a list of the values in this array in document order. The returned list is backed by\nthis array and will reflect subsequent changes. It cannot be used to modify this array.\nAttempts to modify the returned list will result in an exception.\n\n@return a list of the values in this array", "docstring_tokens": ["Returns", "a", "list", "of", "the", "values", "in", "this", "array", "in", "document", "order", ".", "The", "returned", "list", "is", "backed", "by", "this", "array", "and", "will", "reflect", "subsequent", "changes", ".", "It", "cannot", "be", "used", "to", "modify", "this", "array", ".", "Attempts", "to", "modify", "the", "returned", "list", "will", "result", "in", "an", "exception", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/json/JsonArray.java#L426-L428", "partition": "valid"}
+{"repo": "jmxtrans/jmxtrans-agent", "path": "src/main/java/org/jmxtrans/agent/util/json/JsonArray.java", "func_name": "JsonArray.iterator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns an iterator over the values of this array in document order. The returned iterator\ncannot be used to modify this array.\n\n@return an iterator over the values of this array", "docstring_tokens": ["Returns", "an", "iterator", "over", "the", "values", "of", "this", "array", "in", "document", "order", ".", "The", "returned", "iterator", "cannot", "be", "used", "to", "modify", "this", "array", "."], "sha": "4529593c4c8c86a8ea74146d8a645061144928f6", "url": "https://github.com/jmxtrans/jmxtrans-agent/blob/4529593c4c8c86a8ea74146d8a645061144928f6/src/main/java/org/jmxtrans/agent/util/json/JsonArray.java#L436-L452", "partition": "valid"}
+{"repo": "tfredrich/Domain-Eventing", "path": "core/src/java/com/strategicgains/eventing/local/EventMonitor.java", "func_name": "EventMonitor.processEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Runs each appropriate EventHandler in an Executor.\n\n@param event", "docstring_tokens": ["Runs", "each", "appropriate", "EventHandler", "in", "an", "Executor", "."], "sha": "c97151a2244e3bbcdc0bb0192475adffa9fdefb0", "url": "https://github.com/tfredrich/Domain-Eventing/blob/c97151a2244e3bbcdc0bb0192475adffa9fdefb0/core/src/java/com/strategicgains/eventing/local/EventMonitor.java#L148-L174", "partition": "valid"}
+{"repo": "tfredrich/Domain-Eventing", "path": "core/src/java/com/strategicgains/eventing/DomainEvents.java", "func_name": "DomainEvents.publishEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Raise an event on all event busses, passing it to applicable consumers asynchronously.\n\n@param event", "docstring_tokens": ["Raise", "an", "event", "on", "all", "event", "busses", "passing", "it", "to", "applicable", "consumers", "asynchronously", "."], "sha": "c97151a2244e3bbcdc0bb0192475adffa9fdefb0", "url": "https://github.com/tfredrich/Domain-Eventing/blob/c97151a2244e3bbcdc0bb0192475adffa9fdefb0/core/src/java/com/strategicgains/eventing/DomainEvents.java#L156-L164", "partition": "valid"}
+{"repo": "tfredrich/Domain-Eventing", "path": "core/src/java/com/strategicgains/eventing/DomainEvents.java", "func_name": "DomainEvents.publishEvent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Raise an event on a named event bus, passing it to applicable consumers asynchronously.\n\n@param name the name of an event bus, assigned during calls to addEventBus(String, EventBus).\n@param event the event to publish.", "docstring_tokens": ["Raise", "an", "event", "on", "a", "named", "event", "bus", "passing", "it", "to", "applicable", "consumers", "asynchronously", "."], "sha": "c97151a2244e3bbcdc0bb0192475adffa9fdefb0", "url": "https://github.com/tfredrich/Domain-Eventing/blob/c97151a2244e3bbcdc0bb0192475adffa9fdefb0/core/src/java/com/strategicgains/eventing/DomainEvents.java#L172-L183", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/htmlwff/NoTag.java", "func_name": "NoTag.removeChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "removes the the child content.\n\n@param child\n@since 1.0.0\n@author WFF", "docstring_tokens": ["removes", "the", "the", "child", "content", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/htmlwff/NoTag.java#L160-L167", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/server/page/InnerHtmlAddListenerImpl.java", "func_name": "InnerHtmlAddListenerImpl.addInWffIdMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "adds to wffid map\n\n@param tag\n@since 2.0.0\n@author WFF", "docstring_tokens": ["adds", "to", "wffid", "map"], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/server/page/InnerHtmlAddListenerImpl.java#L70-L97", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java", "func_name": "AbstractAttribute.addToAttributeValueMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "adds the given key value.\n\n@param key\n@param value\n@return true if it is modified\n@since 1.0.0\n@author WFF", "docstring_tokens": ["adds", "the", "given", "key", "value", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java#L523-L549", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java", "func_name": "AbstractAttribute.invokeValueChangeListeners", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "this method should be called after changing of attribute value not before\nchanging value", "docstring_tokens": ["this", "method", "should", "be", "called", "after", "changing", "of", "attribute", "value", "not", "before", "changing", "value"], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java#L555-L581", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java", "func_name": "AbstractAttribute.addAllToAttributeValueMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "adds all to the attribute value map.\n\n@param map\n@since 1.0.0\n@author WFF\n@return true if it is modified", "docstring_tokens": ["adds", "all", "to", "the", "attribute", "value", "map", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java#L606-L633", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java", "func_name": "AbstractAttribute.removeFromAttributeValueMapByKeys", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "removes the key value for the input key.\n\n@param keys\n@since 3.0.1\n@author WFF\n@return true if any of the given keys (as well as value contained\ncorresponding to it) has been removed.", "docstring_tokens": ["removes", "the", "key", "value", "for", "the", "input", "key", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java#L657-L696", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java", "func_name": "AbstractAttribute.pushQueues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "pushes PushQueue from all shared object of parent tags.\n\n@param sharedObjects\n@param listenerInvoked", "docstring_tokens": ["pushes", "PushQueue", "from", "all", "shared", "object", "of", "parent", "tags", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java#L704-L716", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java", "func_name": "AbstractAttribute.removeFromAttributeValueMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "removes only if the key and value matches in the map for any particular\nentry.\n\n@param key\n@param value\n@since 1.0.0\n@author WFF\n@return true if it is modified", "docstring_tokens": ["removes", "only", "if", "the", "key", "and", "value", "matches", "in", "the", "map", "for", "any", "particular", "entry", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java#L728-L752", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java", "func_name": "AbstractAttribute.addToAttributeValueSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "adds to the attribute value set.\n\n@param value\n@since 1.0.0\n@author WFF\n@return", "docstring_tokens": ["adds", "to", "the", "attribute", "value", "set", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java#L965-L988", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java", "func_name": "AbstractAttribute.addAllToAttributeValueSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "adds all to the attribute value set.\n\n@param values\n@since 1.0.0\n@author WFF", "docstring_tokens": ["adds", "all", "to", "the", "attribute", "value", "set", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java#L997-L1020", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java", "func_name": "AbstractAttribute.removeAllFromAttributeValueSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "removes the value from the the attribute set.\n\n@param values\n@since 1.0.0\n@author WFF", "docstring_tokens": ["removes", "the", "value", "from", "the", "the", "attribute", "set", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java#L1148-L1170", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java", "func_name": "AbstractAttribute.removeAllFromAttributeValueSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "clears all values from the value set.\n\n@since 1.0.0\n@author WFF", "docstring_tokens": ["clears", "all", "values", "from", "the", "value", "set", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java#L1178-L1196", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java", "func_name": "AbstractAttribute.addValueChangeListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "adds value change lister which will be invoked when the value changed\n\n@param valueChangeListener\n@since 2.0.0\n@author WFF", "docstring_tokens": ["adds", "value", "change", "lister", "which", "will", "be", "invoked", "when", "the", "value", "changed"], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java#L1244-L1255", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/html5/attribute/Pattern.java", "func_name": "Pattern.containsValidRegEx", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "checks the value in this attribute contains a valid regex.\n\n@return true if this attribute contains a valid regex\n@since 3.0.1\n@author WFF", "docstring_tokens": ["checks", "the", "value", "in", "this", "attribute", "contains", "a", "valid", "regex", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/html5/attribute/Pattern.java#L117-L127", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/css/RgbaCssValue.java", "func_name": "RgbaCssValue.setR", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "to set the red value which is in between 0 to 255.\n\n@param r\nrepresents red\n@author WFF\n@since 1.0.0", "docstring_tokens": ["to", "set", "the", "red", "value", "which", "is", "in", "between", "0", "to", "255", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/css/RgbaCssValue.java#L170-L180", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/css/RgbaCssValue.java", "func_name": "RgbaCssValue.setG", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "to set the green value which is in between 0 to 255.\n\n@param g\nrepresents green\n@author WFF\n@since 1.0.0", "docstring_tokens": ["to", "set", "the", "green", "value", "which", "is", "in", "between", "0", "to", "255", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/css/RgbaCssValue.java#L199-L209", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/css/RgbaCssValue.java", "func_name": "RgbaCssValue.setB", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "to set the blue value which is in between 0 to 255.\n\n@param b\n@author WFF\n@since 1.0.0", "docstring_tokens": ["to", "set", "the", "blue", "value", "which", "is", "in", "between", "0", "to", "255", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/css/RgbaCssValue.java#L236-L246", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/css/RgbaCssValue.java", "func_name": "RgbaCssValue.setA", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "to set alpha. The default value is 0.\n\n@param a\n@author WFF\n@since 1.0.0", "docstring_tokens": ["to", "set", "alpha", ".", "The", "default", "value", "is", "0", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/css/RgbaCssValue.java#L255-L265", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/core/TagRegistry.java", "func_name": "TagRegistry.loadAllTagClasses", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Loads all tag classes.\n\n@since 2.1.13\n@author WFF", "docstring_tokens": ["Loads", "all", "tag", "classes", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/core/TagRegistry.java#L418-L443", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/util/StringUtil.java", "func_name": "StringUtil.getFirstSubstring", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "gets the first substring which starts and ends with the given values.\n\n@param inputString\nthe string from which the substring will be\nextracted.\n@param startingWith\nto match the starting substring\n@param endingWith\nto match the ending substring\n@return the substring which starts and ends with the given\n{@code startingWith} and {@code endingWith} values. Or returns\nnull if it doesn't contain.\n@author WFF\n@since 1.0.0", "docstring_tokens": ["gets", "the", "first", "substring", "which", "starts", "and", "ends", "with", "the", "given", "values", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/util/StringUtil.java#L65-L83", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/util/StringUtil.java", "func_name": "StringUtil.cloneArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "To make the clone copy of the given String array. This method is faster\nthan the clone method of String array.\n\n@param inputArray\n@return the cloned array of the given string array.\n@author WFF\n@since 1.0.0", "docstring_tokens": ["To", "make", "the", "clone", "copy", "of", "the", "given", "String", "array", ".", "This", "method", "is", "faster", "than", "the", "clone", "method", "of", "String", "array", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/util/StringUtil.java#L562-L566", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/util/StringUtil.java", "func_name": "StringUtil.containsWhitespace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if the given string contains whitespace.\n\n@param string\n@return true if the given string contains space char.\n@since 3.0.1\n@author WFF", "docstring_tokens": ["Checks", "if", "the", "given", "string", "contains", "whitespace", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/util/StringUtil.java#L768-L777", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/util/StringUtil.java", "func_name": "StringUtil.strip", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the trailing and leading whitespaces\n\n@param s\n@return the striped string\n@since 3.0.1", "docstring_tokens": ["Removes", "the", "trailing", "and", "leading", "whitespaces"], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/util/StringUtil.java#L938-L956", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.removeAllChildren", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all children from this tag.\n\n@author WFF", "docstring_tokens": ["Removes", "all", "children", "from", "this", "tag", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L493-L526", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.addInnerHtmls", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all children and adds the given tags as children.\n\n@param updateClient\ntrue to update client browser page if it is\navailable. The default value is true but it will\nbe ignored if there is no client browser page.\n@param innerHtmls\nthe inner html tags to add\n\n@since 2.1.15\n@author WFF", "docstring_tokens": ["Removes", "all", "children", "and", "adds", "the", "given", "tags", "as", "children", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L564-L626", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.removeChildren", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the given tags from its children tags.\n\n@param children\nthe tags to remove from its children.\n@return true given given children tags have been removed.\n@author WFF", "docstring_tokens": ["Removes", "the", "given", "tags", "from", "its", "children", "tags", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L636-L650", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.removeChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the given tag from its children only if the given tag is a child\nof this tag.\n\n@param child\nthe tag to remove from its children\n@return true if removed\n@author WFF", "docstring_tokens": ["Removes", "the", "given", "tag", "from", "its", "children", "only", "if", "the", "given", "tag", "is", "a", "child", "of", "this", "tag", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L689-L726", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.appendChildren", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "adds the given children to the last position of the current children of\nthis object.\n\n@param children\nchildren to append in this object's existing\nchildren.\n@author WFF", "docstring_tokens": ["adds", "the", "given", "children", "to", "the", "last", "position", "of", "the", "current", "children", "of", "this", "object", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L884-L921", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.initAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "initializes attributes in this.attributes and also in attributesMap. this\nshould be called only once per object.\n\n@param attributes\n@since 2.0.0\n@author WFF", "docstring_tokens": ["initializes", "attributes", "in", "this", ".", "attributes", "and", "also", "in", "attributesMap", ".", "this", "should", "be", "called", "only", "once", "per", "object", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L1134-L1152", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.getAttributeByName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "gets the attribute by attribute name\n\n@return the attribute object for the given attribute name if exists\notherwise returns null.\n@since 2.0.0\n@author WFF", "docstring_tokens": ["gets", "the", "attribute", "by", "attribute", "name"], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L1294-L1307", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.markOwnerTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "marks the owner tag in the attributes\n\n@param attributes\n@since 1.0.0\n@author WFF", "docstring_tokens": ["marks", "the", "owner", "tag", "in", "the", "attributes"], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L1596-L1603", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.initInConstructor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "to initialize objects in the constructor\n\n@since 1.0.0\n@author WFF", "docstring_tokens": ["to", "initialize", "objects", "in", "the", "constructor"], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L1611-L1618", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.getChildrenAsArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the children of this tag as an array. An efficient way to get the\nchildren as an array.\n\n@return the array of children of this tag.\n@since 3.0.1\n@author WFF", "docstring_tokens": ["Gets", "the", "children", "of", "this", "tag", "as", "an", "array", ".", "An", "efficient", "way", "to", "get", "the", "children", "as", "an", "array", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L1701-L1711", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.getFirstChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the first child of this tag. The efficient way to get the first\nchild.\n\n@return the first child of this tag or null if there is no child.\n\n@since 3.0.1\n@author WFF", "docstring_tokens": ["Gets", "the", "first", "child", "of", "this", "tag", ".", "The", "efficient", "way", "to", "get", "the", "first", "child", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L1722-L1753", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.getChildrenSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the number of children in this tag. An efficient way to find the\nsize of children.\n\n@return the size of children.\n@since 3.0.1\n@author WFF", "docstring_tokens": ["Gets", "the", "number", "of", "children", "in", "this", "tag", ".", "An", "efficient", "way", "to", "find", "the", "size", "of", "children", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L1763-L1772", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.containsChild", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether a tag is contained in its direct children. An efficient\nway to check if the given tag is a direct child of this tag.\n\n@param childTag\n@return true if the given tag is a child of this tags.\n@since 3.0.1\n@author WFF", "docstring_tokens": ["Checks", "whether", "a", "tag", "is", "contained", "in", "its", "direct", "children", ".", "An", "efficient", "way", "to", "check", "if", "the", "given", "tag", "is", "a", "direct", "child", "of", "this", "tag", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L1807-L1817", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.getOpeningTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "For internal purpose. Not recommended for external purpose.\n\n@return the opening tag of this object\n@author WFF", "docstring_tokens": ["For", "internal", "purpose", ".", "Not", "recommended", "for", "external", "purpose", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L1825-L1838", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java", "func_name": "AbstractHtml.insertBefore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts the given tags before this tag. There must be a parent for this\nmethod tag.\n\n@param abstractHtmls\nto insert before this tag\n@return true if inserted otherwise false.\n@since 2.1.1\n@author WFF", "docstring_tokens": ["Inserts", "the", "given", "tags", "before", "this", "tag", ".", "There", "must", "be", "a", "parent", "for", "this", "method", "tag", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java#L3924-L3947", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractValueSetAttribute.java", "func_name": "AbstractValueSetAttribute.setAttributeValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "sets the value for this attribute\n\n@param updateClient\ntrue to update client browser page if it is\navailable. The default value is true but it will\nbe ignored if there is no client browser page.\n@param value\nthe value for the attribute.\n@since 2.1.15\n@author WFF", "docstring_tokens": ["sets", "the", "value", "for", "this", "attribute"], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractValueSetAttribute.java#L44-L51", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractValueSetAttribute.java", "func_name": "AbstractValueSetAttribute.replaceAllInAttributeValueSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all values from the attributeValueSet and adds the given\nattribute values.\n\n@param updateClient\n@param attrValues\n@since 3.0.1", "docstring_tokens": ["Removes", "all", "values", "from", "the", "attributeValueSet", "and", "adds", "the", "given", "attribute", "values", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractValueSetAttribute.java#L160-L173", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/server/page/BrowserPage.java", "func_name": "BrowserPage.addWebSocketPushListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "adds the WebSocket listener for the given WebSocket session\n\n@param sessionId\nthe unique id of WebSocket session\n@param wsListener\n@since 2.1.0\n@author WFF", "docstring_tokens": ["adds", "the", "WebSocket", "listener", "for", "the", "given", "WebSocket", "session"], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/server/page/BrowserPage.java#L219-L231", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/server/page/BrowserPage.java", "func_name": "BrowserPage.removeWebSocketPushListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "removes the WebSocket listener added for this WebSocket session\n\n@param sessionId\nthe unique id of WebSocket session\n@since 2.1.0\n@author WFF", "docstring_tokens": ["removes", "the", "WebSocket", "listener", "added", "for", "this", "WebSocket", "session"], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/server/page/BrowserPage.java#L241-L247", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/server/page/BrowserPage.java", "func_name": "BrowserPage.removeFromContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "By default On.TAB_CLOSE and On.INIT_REMOVE_PREVIOUS are enabled.\n\n@param enable\n@param ons\nthe instance of On to represent on which browser event\nthe browser page needs to be removed.\n@since 2.1.4\n@author WFF", "docstring_tokens": ["By", "default", "On", ".", "TAB_CLOSE", "and", "On", ".", "INIT_REMOVE_PREVIOUS", "are", "enabled", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/server/page/BrowserPage.java#L1567-L1575", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/server/page/BrowserPage.java", "func_name": "BrowserPage.getTagRepository", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the TagRepository to do different tag operations. This tag\nrepository is specific to this BrowserPage instance.\n\n@return the TagRepository object to do different tag operations. Or null\nif any one of the BrowserPage#toString or\nBrowserPage#toOutputStream methods is not called.\n@since 2.1.8\n@author WFF", "docstring_tokens": ["Gets", "the", "TagRepository", "to", "do", "different", "tag", "operations", ".", "This", "tag", "repository", "is", "specific", "to", "this", "BrowserPage", "instance", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/server/page/BrowserPage.java#L1766-L1778", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/server/page/BrowserPage.java", "func_name": "BrowserPage.setNonceForWffScript", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets nonce attribute value for wff script.\n\n@param value\npass value to set nonce value or pass null to remove\nnonce attribute\n@since 3.0.1", "docstring_tokens": ["Sets", "nonce", "attribute", "value", "for", "wff", "script", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/server/page/BrowserPage.java#L1788-L1820", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/css/Border.java", "func_name": "Border.setBorderStyle", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "to set the border style.\n\n@param borderStyle\n@return the current object.\n@author WFF\n@since 1.0.0", "docstring_tokens": ["to", "set", "the", "border", "style", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/css/Border.java#L373-L405", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/global/Id.java", "func_name": "Id.setValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "value for the id attribute.\n\n@param uuid\n@since 1.0.0\n@author WFF", "docstring_tokens": ["value", "for", "the", "id", "attribute", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/global/Id.java#L196-L201", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/util/ByteBufferUtil.java", "func_name": "ByteBufferUtil.merge", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Merges and returns ByteBuffer from the given dataArray. The ByteBuffer\nwill be returned after flip.\n\n@param dataArray\nthe ByteByffers to merge\n@return a single ByteBuffer after flip merged from all ByteBuffer objects\nfrom dataArray.\n\n@since 3.0.2", "docstring_tokens": ["Merges", "and", "returns", "ByteBuffer", "from", "the", "given", "dataArray", ".", "The", "ByteBuffer", "will", "be", "returned", "after", "flip", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/util/ByteBufferUtil.java#L196-L208", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/global/Style.java", "func_name": "Style.removeAllCssProperties", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all css properties\n\n@since 3.0.1", "docstring_tokens": ["Removes", "all", "css", "properties"], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/global/Style.java#L1404-L1414", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/global/Style.java", "func_name": "Style.contains", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if the given cssProperty object exists in this style object.\n\n@return\n\n@since 3.0.1", "docstring_tokens": ["Checks", "if", "the", "given", "cssProperty", "object", "exists", "in", "this", "style", "object", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/global/Style.java#L1423-L1430", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/css/file/AbstractCssFileBlock.java", "func_name": "AbstractCssFileBlock.getCssPropertiesAsMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "rebuild true to rebuild, the load method will be invoked again.\n\n@return the cssProperties as map with key as the cssName and value as\n{@code CssProperty}.\n@since 1.0.0\n@author WFF", "docstring_tokens": ["rebuild", "true", "to", "rebuild", "the", "load", "method", "will", "be", "invoked", "again", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/css/file/AbstractCssFileBlock.java#L266-L278", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java", "func_name": "TagRepository.findTagsByAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds tags by attribute instance.\n\n@param attribute\n@return all tags which are consuming the given attribute instance. It\nreturns the only tags consuming the given attribute object which\nare available in browserPage.\n@throws NullValueException\nif the {@code attribute} is null\n@since 2.1.8\n@author WFF", "docstring_tokens": ["Finds", "tags", "by", "attribute", "instance", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java#L2277-L2293", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java", "func_name": "TagRepository.findOneTagByAttribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds one tag by attribute instance.\n\n@param attribute\n@return the first matching tag consuming the given attribute instance.\nThere must be a consuming tag which is available in the\nbrowserPage instance otherwise returns null.\n@throws NullValueException\nif the {@code attribute } is null\n@since 2.1.8\n@author WFF", "docstring_tokens": ["Finds", "one", "tag", "by", "attribute", "instance", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java#L2307-L2321", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java", "func_name": "TagRepository.findAllAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds all attributes from all tags.\n\n@param parallel\ntrue to internally use parallel stream. If true it\nwill split the finding task to different batches and\nwill execute the batches in different threads in\nparallel consuming all CPUs. It will perform faster\nin finding from extremely large number of tags but at\nthe same time it will less efficient in finding from\nsmall number of tags.\n@return the collection of all attributes\n@since 3.0.0\n@author WFF", "docstring_tokens": ["Finds", "all", "attributes", "from", "all", "tags", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java#L2631-L2645", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java", "func_name": "TagRepository.buildAllAttributesStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds all attributes as stream from all tags.\n\n@param parallel\ntrue to internally use parallel stream. If true it\nwill split the finding task to different batches and\nwill execute the batches in different threads in\nparallel consuming all CPUs. It will perform faster\nin finding from extremely large number of tags but at\nthe same time it will less efficient in finding from\nsmall number of tags.\n@return the stream of all attributes\n@since 3.0.0\n@author WFF", "docstring_tokens": ["Finds", "all", "attributes", "as", "stream", "from", "all", "tags", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java#L2662-L2670", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java", "func_name": "TagRepository.findAllAttributes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds all attributes from the given tags\n\n@param parallel\ntrue to internally use parallel stream. If true it\nwill split the finding task to different batches and\nwill execute the batches in different threads in\nparallel consuming all CPUs. It will perform faster\nin finding from extremely large number of tags but at\nthe same time it will less efficient in finding from\nsmall number of tags.\n@param fromTags\nthe tags to find the attributes from.\n@return the all attributes from the given tags including the nested tags.\n@throws NullValueException\nif {@code fromTags} is null\n@since 3.0.0\n@author WFF", "docstring_tokens": ["Finds", "all", "attributes", "from", "the", "given", "tags"], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java#L2707-L2730", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java", "func_name": "TagRepository.exists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks the existence of a tag instance.\n\n@param tag\n@return true if the given tag instance exists anywhere in the browser\npage.\n@throws NullValueException\nif the tag is null\n@throws InvalidTagException\nif the given tag is {@code NoTag}.\n@since 2.1.8\n@author WFF", "docstring_tokens": ["Checks", "the", "existence", "of", "a", "tag", "instance", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java#L2745-L2755", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java", "func_name": "TagRepository.exists", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks the existence of an attribute instance.\n\n@param attribute\n@return true if the given attribute instance exists anywhere in the\nbrowser page.\n@throws NullValueException\nif the {@code attribute} is null\n@since 2.1.8\n@author WFF", "docstring_tokens": ["Checks", "the", "existence", "of", "an", "attribute", "instance", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java#L2768-L2782", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java", "func_name": "TagRepository.buildAllAttributesStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds all attributes stream from the given tags.\n\n@param parallel\ntrue to internally use parallel stream. If true it\nwill split the finding task to different batches and\nwill execute the batches in different threads in\nparallel consuming all CPUs. It will perform faster\nin finding from extremely large number of tags but at\nthe same time it will less efficient in finding from\nsmall number of tags.\n@param fromTags\nthe tags to build stream of nested children's\nattributes from.\n@return {@code Stream}\n@since 3.0.0\n@author WFF", "docstring_tokens": ["Builds", "all", "attributes", "stream", "from", "the", "given", "tags", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/repository/TagRepository.java#L3029-L3037", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/formsandinputs/TextArea.java", "func_name": "TextArea.getChildText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "gets the child text set for this tag.\n\n@return the child text set for this tag in string format. If there is no\nchildren/child text then will return empty string.\n@since 2.1.4", "docstring_tokens": ["gets", "the", "child", "text", "set", "for", "this", "tag", "."], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/formsandinputs/TextArea.java#L128-L138", "partition": "valid"}
+{"repo": "webfirmframework/wff", "path": "wffweb/src/main/java/com/webfirmframework/wffweb/streamer/WffBinaryMessageOutputStreamer.java", "func_name": "WffBinaryMessageOutputStreamer.writeByChunk", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "writes maximum bytes at chuckSize\n\n@param bytes\n@throws IOException\n@since 1.1.2\n@author WFF", "docstring_tokens": ["writes", "maximum", "bytes", "at", "chuckSize"], "sha": "e59def3a20d44f91e112b113448d951d7514af2e", "url": "https://github.com/webfirmframework/wff/blob/e59def3a20d44f91e112b113448d951d7514af2e/wffweb/src/main/java/com/webfirmframework/wffweb/streamer/WffBinaryMessageOutputStreamer.java#L76-L104", "partition": "valid"}
+{"repo": "ralscha/embeddedtc", "path": "src/main/java/ch/rasc/embeddedtc/EmbeddedTomcat.java", "func_name": "EmbeddedTomcat.setContextPath", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the contextPath for the webapplication\n\n@param contextPath The new contextPath. Has to start with / or is the empty \"\"\nstring\n@return The embedded Tomcat", "docstring_tokens": ["Sets", "the", "contextPath", "for", "the", "webapplication"], "sha": "1dbd2c1db7c4fbfea27970b3619f24d763b275a4", "url": "https://github.com/ralscha/embeddedtc/blob/1dbd2c1db7c4fbfea27970b3619f24d763b275a4/src/main/java/ch/rasc/embeddedtc/EmbeddedTomcat.java#L315-L325", "partition": "valid"}
+{"repo": "ralscha/embeddedtc", "path": "src/main/java/ch/rasc/embeddedtc/EmbeddedTomcat.java", "func_name": "EmbeddedTomcat.setContextFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the location of the context file that configures this web application\n\n@param contextFile Location of the context file\n@return The embedded Tomcat instance", "docstring_tokens": ["Sets", "the", "location", "of", "the", "context", "file", "that", "configures", "this", "web", "application"], "sha": "1dbd2c1db7c4fbfea27970b3619f24d763b275a4", "url": "https://github.com/ralscha/embeddedtc/blob/1dbd2c1db7c4fbfea27970b3619f24d763b275a4/src/main/java/ch/rasc/embeddedtc/EmbeddedTomcat.java#L717-L725", "partition": "valid"}
+{"repo": "ralscha/embeddedtc", "path": "src/main/java/ch/rasc/embeddedtc/EmbeddedTomcat.java", "func_name": "EmbeddedTomcat.addContextEnvironmentAndResourceFromFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read ContextEnvironment and ContextResource definition from a text file.\n\n@param contextFile Location to a context file\n@return The embedded Tomcat\n@deprecated use {@link #setContextFile(String)}", "docstring_tokens": ["Read", "ContextEnvironment", "and", "ContextResource", "definition", "from", "a", "text", "file", "."], "sha": "1dbd2c1db7c4fbfea27970b3619f24d763b275a4", "url": "https://github.com/ralscha/embeddedtc/blob/1dbd2c1db7c4fbfea27970b3619f24d763b275a4/src/main/java/ch/rasc/embeddedtc/EmbeddedTomcat.java#L734-L743", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wyfs/lang/Content.java", "func_name": "Content.filter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Construct a content filter from a path filter and a content type.\n\n@param filter --- path filter\n@param contentType\n@return", "docstring_tokens": ["Construct", "a", "content", "filter", "from", "a", "path", "filter", "and", "a", "content", "type", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wyfs/lang/Content.java#L151-L166", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wyfs/lang/Content.java", "func_name": "Content.or", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Combine two filters together produce one filter whose items must be\nmatched by at least one of the original filters.\n\n@param f1\n@param f2\n@return", "docstring_tokens": ["Combine", "two", "filters", "together", "produce", "one", "filter", "whose", "items", "must", "be", "matched", "by", "at", "least", "one", "of", "the", "original", "filters", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wyfs/lang/Content.java#L200-L215", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/cfg/ConfigFileParser.java", "func_name": "ConfigFileParser.checkNotEof", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check that the End-Of-File has not been reached. This method should be\ncalled from contexts where we are expecting something to follow.", "docstring_tokens": ["Check", "that", "the", "End", "-", "Of", "-", "File", "has", "not", "been", "reached", ".", "This", "method", "should", "be", "called", "from", "contexts", "where", "we", "are", "expecting", "something", "to", "follow", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/cfg/ConfigFileParser.java#L368-L379", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/cfg/ConfigFileParser.java", "func_name": "ConfigFileParser.isLineSpace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Define what is considered to be linespace.\n\n@param token\n@return", "docstring_tokens": ["Define", "what", "is", "considered", "to", "be", "linespace", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/cfg/ConfigFileParser.java#L448-L450", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/cfg/ConfigFileParser.java", "func_name": "ConfigFileParser.parseString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse a string constant whilst interpreting all escape characters.\n\n@param v\n@return", "docstring_tokens": ["Parse", "a", "string", "constant", "whilst", "interpreting", "all", "escape", "characters", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/cfg/ConfigFileParser.java#L501-L560", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wybs/io/AbstractLexer.java", "func_name": "AbstractLexer.scan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scan the given input stream and produce a list of tokens, or an error.\n\n@return", "docstring_tokens": ["Scan", "the", "given", "input", "stream", "and", "produce", "a", "list", "of", "tokens", "or", "an", "error", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wybs/io/AbstractLexer.java#L107-L129", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/CommandParser.java", "func_name": "CommandParser.parse", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse a given set of command-line arguments starting from a given index\nposition to produce an appropriate command template.\n\n@param args\n@param index", "docstring_tokens": ["Parse", "a", "given", "set", "of", "command", "-", "line", "arguments", "starting", "from", "a", "given", "index", "position", "to", "produce", "an", "appropriate", "command", "template", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/CommandParser.java#L70-L93", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/CommandParser.java", "func_name": "CommandParser.parseData", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse a given string representing a data value into an instance of Data.\n\n@param str\nThe string to be parsed.\n@return", "docstring_tokens": ["Parse", "a", "given", "string", "representing", "a", "data", "value", "into", "an", "instance", "of", "Data", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/CommandParser.java#L167-L178", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/commands/Help.java", "func_name": "Help.printUsage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print usage information to the console.", "docstring_tokens": ["Print", "usage", "information", "to", "the", "console", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/commands/Help.java#L164-L178", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/commands/Help.java", "func_name": "Help.determineCommandNameWidth", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine the maximum width of any configured command name\n\n@param descriptors\n@return", "docstring_tokens": ["Determine", "the", "maximum", "width", "of", "any", "configured", "command", "name"], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/commands/Help.java#L216-L222", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/commands/Install.java", "func_name": "Install.createZipFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Given a list of files construct a corresponding ZipFile containing them.\n\n@param files\n@return\n@throws IOException", "docstring_tokens": ["Given", "a", "list", "of", "files", "construct", "a", "corresponding", "ZipFile", "containing", "them", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/commands/Install.java#L174-L192", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/commands/Install.java", "func_name": "Install.readFileContents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read the contents of a given file into a byte array.\n\n@param file\n@return\n@throws IOException", "docstring_tokens": ["Read", "the", "contents", "of", "a", "given", "file", "into", "a", "byte", "array", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/commands/Install.java#L222-L235", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/commands/Install.java", "func_name": "Install.createFilter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a content filter from the string representation.\n\n@param filter\n@return", "docstring_tokens": ["Create", "a", "content", "filter", "from", "the", "string", "representation", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/commands/Install.java#L260-L266", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wyfs/io/BinaryOutputStream.java", "func_name": "BinaryOutputStream.write", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write an unsigned integer value using 8bits using a big-endian encoding.\n\n@param w\n@throws IOException", "docstring_tokens": ["Write", "an", "unsigned", "integer", "value", "using", "8bits", "using", "a", "big", "-", "endian", "encoding", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wyfs/io/BinaryOutputStream.java#L37-L44", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wyfs/io/BinaryOutputStream.java", "func_name": "BinaryOutputStream.write_u32", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write an unsigned integer value using 32bits using a big-endian encoding.\n\n@param w\n@throws IOException", "docstring_tokens": ["Write", "an", "unsigned", "integer", "value", "using", "32bits", "using", "a", "big", "-", "endian", "encoding", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wyfs/io/BinaryOutputStream.java#L91-L96", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wyfs/io/BinaryOutputStream.java", "func_name": "BinaryOutputStream.write_un", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Write an unsigned integer value using n bits using a big-endian encoding.\n\n@param w\n@throws IOException", "docstring_tokens": ["Write", "an", "unsigned", "integer", "value", "using", "n", "bits", "using", "a", "big", "-", "endian", "encoding", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wyfs/io/BinaryOutputStream.java#L130-L137", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/commands/Build.java", "func_name": "Build.printSyntacticMarkers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print out syntactic markers for all entries in the build graph. This requires\ngoing through all entries, extracting the markers and then printing them.\n\n@param executor\n@throws IOException", "docstring_tokens": ["Print", "out", "syntactic", "markers", "for", "all", "entries", "in", "the", "build", "graph", ".", "This", "requires", "going", "through", "all", "entries", "extracting", "the", "markers", "and", "then", "printing", "them", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/commands/Build.java#L146-L154", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/commands/Build.java", "func_name": "Build.printSyntacticMarkers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print out an individual syntactic markers.\n\n@param marker", "docstring_tokens": ["Print", "out", "an", "individual", "syntactic", "markers", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/commands/Build.java#L161-L177", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/commands/Build.java", "func_name": "Build.extractSyntacticMarkers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Traverse the various binaries which have been generated looking for error\nmessages.\n\n@param binaries\n@return\n@throws IOException", "docstring_tokens": ["Traverse", "the", "various", "binaries", "which", "have", "been", "generated", "looking", "for", "error", "messages", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/commands/Build.java#L187-L201", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wybs/util/AbstractSyntacticItem.java", "func_name": "AbstractSyntacticItem.getParent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the first syntactic item of a given kind which refers to this item.\n\n@param kind\n@return", "docstring_tokens": ["Get", "the", "first", "syntactic", "item", "of", "a", "given", "kind", "which", "refers", "to", "this", "item", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wybs/util/AbstractSyntacticItem.java#L74-L77", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wybs/util/AbstractSyntacticItem.java", "func_name": "AbstractSyntacticItem.getParents", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get all syntactic items of a given kind which refer to this item.\n\n@param kind\n@return", "docstring_tokens": ["Get", "all", "syntactic", "items", "of", "a", "given", "kind", "which", "refer", "to", "this", "item", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wybs/util/AbstractSyntacticItem.java#L85-L88", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wybs/util/AbstractSyntacticItem.java", "func_name": "AbstractSyntacticItem.getAncestor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the first syntactic item of a given kind which refers to this item either\nindirectly or directly.\n\n@param kind\n@return", "docstring_tokens": ["Get", "the", "first", "syntactic", "item", "of", "a", "given", "kind", "which", "refers", "to", "this", "item", "either", "indirectly", "or", "directly", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wybs/util/AbstractSyntacticItem.java#L96-L99", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/ArrayUtils.java", "func_name": "ArrayUtils.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append an integer item to the front of an array of integer type together,\nproducing a fresh array whose length equals that the second plus one.\n\n@param lhs\nThe left-hand side. Elements of this array will be copied\nfirst into the resulting array.\n@param rhs\nThe right-hand side. Elements of this array will be copied\nlast into the resulting array.\n@return", "docstring_tokens": ["Append", "an", "integer", "item", "to", "the", "front", "of", "an", "array", "of", "integer", "type", "together", "producing", "a", "fresh", "array", "whose", "length", "equals", "that", "the", "second", "plus", "one", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/ArrayUtils.java#L79-L84", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/ArrayUtils.java", "func_name": "ArrayUtils.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append two integer items to the front of an array of integer type\ntogether, producing a fresh array whose length equals that of the third\nplus two.\n\n@param lhs\nThe left-hand side. Elements of this array will be copied\nfirst into the resulting array.\n@param rhs\nThe right-hand side. Elements of this array will be copied\nlast into the resulting array.\n@return", "docstring_tokens": ["Append", "two", "integer", "items", "to", "the", "front", "of", "an", "array", "of", "integer", "type", "together", "producing", "a", "fresh", "array", "whose", "length", "equals", "that", "of", "the", "third", "plus", "two", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/ArrayUtils.java#L99-L105", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/ArrayUtils.java", "func_name": "ArrayUtils.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append two arrays of integer type together, producing a fresh array whose\nlength equals that of the first and second added together.\n\n@param lhs\nThe left-hand side. Elements of this array will be copied\nfirst into the resulting array.\n@param rhs\nThe right-hand side. Elements of this array will be copied\nlast into the resulting array.\n@return", "docstring_tokens": ["Append", "two", "arrays", "of", "integer", "type", "together", "producing", "a", "fresh", "array", "whose", "length", "equals", "that", "of", "the", "first", "and", "second", "added", "together", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/ArrayUtils.java#L119-L123", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/ArrayUtils.java", "func_name": "ArrayUtils.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append an element onto an array of unknown type together, producing a\nfresh array whose length equals that of the second plus one.\n\n@param lhs\nThe left-hand side. This element will be copied\nfirst into the resulting array.\n@param rhs\nThe right-hand side. Elements of this array will be copied\nlast into the resulting array.\n@return", "docstring_tokens": ["Append", "an", "element", "onto", "an", "array", "of", "unknown", "type", "together", "producing", "a", "fresh", "array", "whose", "length", "equals", "that", "of", "the", "second", "plus", "one", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/ArrayUtils.java#L174-L179", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/ArrayUtils.java", "func_name": "ArrayUtils.addAll", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add all elements from an array into a given collection of the same type.\n\n@param lhs\nThe left-hand side. Elements of this array will be added to\nthe collection.\n@param rhs\nThe right-hand side. Elements from the left-hand side will be\nadded to this collection.", "docstring_tokens": ["Add", "all", "elements", "from", "an", "array", "into", "a", "given", "collection", "of", "the", "same", "type", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/ArrayUtils.java#L210-L214", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/ArrayUtils.java", "func_name": "ArrayUtils.toStringArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a collection of strings into a string array.\n\n@param items\n@return", "docstring_tokens": ["Convert", "a", "collection", "of", "strings", "into", "a", "string", "array", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/ArrayUtils.java#L222-L229", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/ArrayUtils.java", "func_name": "ArrayUtils.toIntArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a collection of Integers into an int array.\n\n@param items\n@return", "docstring_tokens": ["Convert", "a", "collection", "of", "Integers", "into", "an", "int", "array", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/ArrayUtils.java#L237-L244", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/ArrayUtils.java", "func_name": "ArrayUtils.sortAndRemoveDuplicates", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sort and remove duplicate items from a given array.\n\n@param children\n@return", "docstring_tokens": ["Sort", "and", "remove", "duplicate", "items", "from", "a", "given", "array", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/ArrayUtils.java#L378-L396", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/ArrayUtils.java", "func_name": "ArrayUtils.isSortedAndUnique", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check whether or not the children of this array are sorted according to\ntheir underlying order. And, if so, whether or not there are any\nduplicate elements encountered.\n\n@param children\n@return", "docstring_tokens": ["Check", "whether", "or", "not", "the", "children", "of", "this", "array", "are", "sorted", "according", "to", "their", "underlying", "order", ".", "And", "if", "so", "whether", "or", "not", "there", "are", "any", "duplicate", "elements", "encountered", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/ArrayUtils.java#L406-L420", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/ArrayUtils.java", "func_name": "ArrayUtils.compareTo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A default operator for comparing arrays\n\n@param lhs\n@param rhs\n@return", "docstring_tokens": ["A", "default", "operator", "for", "comparing", "arrays"], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/ArrayUtils.java#L467-L479", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/WyMain.java", "func_name": "WyMain.getBuildSchema", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the appropriate configuration schema for a project. This defines what\nkeys are permitted.\n\n@return", "docstring_tokens": ["Get", "the", "appropriate", "configuration", "schema", "for", "a", "project", ".", "This", "defines", "what", "keys", "are", "permitted", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/WyMain.java#L283-L291", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/WyMain.java", "func_name": "WyMain.createTemplateExtensionPoint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create the Build.Template extension point. This is where plugins register\ntheir primary functionality for constructing a specific build project.\n\n@param context\n@param templates", "docstring_tokens": ["Create", "the", "Build", ".", "Template", "extension", "point", ".", "This", "is", "where", "plugins", "register", "their", "primary", "functionality", "for", "constructing", "a", "specific", "build", "project", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/WyMain.java#L338-L345", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/WyMain.java", "func_name": "WyMain.activateDefaultPlugins", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Activate the default set of plugins which the tool uses. Currently this list\nis statically determined, but eventually it will be possible to dynamically\nadd plugins to the system.\n\n@param verbose\n@param locations\n@return", "docstring_tokens": ["Activate", "the", "default", "set", "of", "plugins", "which", "the", "tool", "uses", ".", "Currently", "this", "list", "is", "statically", "determined", "but", "eventually", "it", "will", "be", "possible", "to", "dynamically", "add", "plugins", "to", "the", "system", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/WyMain.java#L386-L404", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/WyMain.java", "func_name": "WyMain.determineSystemRoot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine the system root. That is, the installation directory for the\ncompiler itself.\n\n@param tool\n@return\n@throws IOException", "docstring_tokens": ["Determine", "the", "system", "root", ".", "That", "is", "the", "installation", "directory", "for", "the", "compiler", "itself", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/WyMain.java#L452-L459", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/WyMain.java", "func_name": "WyMain.determineLocalRoot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine where the root of this project is. This is the nearest enclosing\ndirectory containing a \"wy.toml\" file. The point is that we may be operating\nin some subdirectory of the project and want the tool to automatically search\nout the real root for us.\n\n@return\n@throws IOException", "docstring_tokens": ["Determine", "where", "the", "root", "of", "this", "project", "is", ".", "This", "is", "the", "nearest", "enclosing", "directory", "containing", "a", "wy", ".", "toml", "file", ".", "The", "point", "is", "that", "we", "may", "be", "operating", "in", "some", "subdirectory", "of", "the", "project", "and", "want", "the", "tool", "to", "automatically", "search", "out", "the", "real", "root", "for", "us", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/WyMain.java#L484-L499", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/WyMain.java", "func_name": "WyMain.readConfigFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Attempt to read a configuration file from a given root.\n\n@param name\n@param root\n@return\n@throws IOException", "docstring_tokens": ["Attempt", "to", "read", "a", "configuration", "file", "from", "a", "given", "root", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/WyMain.java#L528-L544", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/StdModuleManager.java", "func_name": "StdModuleManager.getInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get instance of given module within this context, or null if no\ninstance available.\n\n@param module\n@return", "docstring_tokens": ["Get", "instance", "of", "given", "module", "within", "this", "context", "or", "null", "if", "no", "instance", "available", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/StdModuleManager.java#L76-L78", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/StdModuleManager.java", "func_name": "StdModuleManager.start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scan and activate all modules on the search path. As part of this, all\nmodule dependencies will be checked.", "docstring_tokens": ["Scan", "and", "activate", "all", "modules", "on", "the", "search", "path", ".", "As", "part", "of", "this", "all", "module", "dependencies", "will", "be", "checked", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/StdModuleManager.java#L84-L97", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/StdModuleManager.java", "func_name": "StdModuleManager.activateModules", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Activate all modules in the order of occurrence in the given list. It is\nassumed that all dependencies are already resolved prior to this and all\nmodules are topologically sorted.", "docstring_tokens": ["Activate", "all", "modules", "in", "the", "order", "of", "occurrence", "in", "the", "given", "list", ".", "It", "is", "assumed", "that", "all", "dependencies", "are", "already", "resolved", "prior", "to", "this", "and", "all", "modules", "are", "topologically", "sorted", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/StdModuleManager.java#L111-L124", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wybs/lang/SyntacticException.java", "func_name": "SyntacticException.outputSourceError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Output the syntax error to a given output stream in either full or brief\nform. Brief form is intended to be used by 3rd party tools and is easier\nto parse. In full form, contextual information from the originating\nsource file is included.", "docstring_tokens": ["Output", "the", "syntax", "error", "to", "a", "given", "output", "stream", "in", "either", "full", "or", "brief", "form", ".", "Brief", "form", "is", "intended", "to", "be", "used", "by", "3rd", "party", "tools", "and", "is", "easier", "to", "parse", ".", "In", "full", "form", "contextual", "information", "from", "the", "originating", "source", "file", "is", "included", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wybs/lang/SyntacticException.java#L108-L128", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wybs/util/SequentialBuildExecutor.java", "func_name": "SequentialBuildExecutor.ready", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check whether a given task is ready to be built. This is currently determined\nby having at least one source whose timestamp is in front of the target.\n\n@param task\n@return", "docstring_tokens": ["Check", "whether", "a", "given", "task", "is", "ready", "to", "be", "built", ".", "This", "is", "currently", "determined", "by", "having", "at", "least", "one", "source", "whose", "timestamp", "is", "in", "front", "of", "the", "target", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wybs/util/SequentialBuildExecutor.java#L49-L60", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/OptArg.java", "func_name": "OptArg.parseOptions", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parse options from the list of arguments, removing those which are\nrecognised. Anything which is not recognised is left as is.\n\n@param args\n--- the list of argument strings. This is modified by removing\nthose which are processed.\n@param options\n--- the list of OptArg defining which options should be\nprocessed\n@throws --- a RuntimeException if an unrecognised option is\nencountered (that is, a token starting with '-')..", "docstring_tokens": ["Parse", "options", "from", "the", "list", "of", "arguments", "removing", "those", "which", "are", "recognised", ".", "Anything", "which", "is", "not", "recognised", "is", "left", "as", "is", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/OptArg.java#L279-L315", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/util/OptArg.java", "func_name": "OptArg.splitConfig", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This splits strings of the form \"x=y,v=w\" into distinct components and\nputs them into a map. In the case of a string like \"x,y=z\" then x is\nloaded with the empty string.\n\n@param str\n@return", "docstring_tokens": ["This", "splits", "strings", "of", "the", "form", "x", "=", "y", "v", "=", "w", "into", "distinct", "components", "and", "puts", "them", "into", "a", "map", ".", "In", "the", "case", "of", "a", "string", "like", "x", "y", "=", "z", "then", "x", "is", "loaded", "with", "the", "empty", "string", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/util/OptArg.java#L361-L369", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wybs/util/AbstractSyntacticHeap.java", "func_name": "AbstractSyntacticHeap.getParent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get first parent of a syntactic item matching the given kind. If no item\nwas found, then null is returned.\n\n@param child\n@param kind\n@return", "docstring_tokens": ["Get", "first", "parent", "of", "a", "syntactic", "item", "matching", "the", "given", "kind", ".", "If", "no", "item", "was", "found", "then", "null", "is", "returned", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wybs/util/AbstractSyntacticHeap.java#L103-L118", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wybs/util/AbstractSyntacticHeap.java", "func_name": "AbstractSyntacticHeap.getAncestor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get first ancestor of a syntactic item matching the given kind. If no item\nwas found, then null is returned.\n\n@param child\n@param kind\n@return", "docstring_tokens": ["Get", "first", "ancestor", "of", "a", "syntactic", "item", "matching", "the", "given", "kind", ".", "If", "no", "item", "was", "found", "then", "null", "is", "returned", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wybs/util/AbstractSyntacticHeap.java#L144-L168", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wybs/util/AbstractSyntacticHeap.java", "func_name": "AbstractSyntacticHeap.substitute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper method for above.\n\n@param mapping\nA mapping from the original syntactic items to the cloned\nsyntactic items. This is necessary to preserve the aliasing\nstructure in the resulting cloned item.", "docstring_tokens": ["Helper", "method", "for", "above", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wybs/util/AbstractSyntacticHeap.java#L319-L375", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/commands/Inspect.java", "func_name": "Inspect.getContentType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determine the content type for this file.\n\n@param file\n@return", "docstring_tokens": ["Determine", "the", "content", "type", "for", "this", "file", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/commands/Inspect.java#L141-L152", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/commands/Inspect.java", "func_name": "Inspect.getEntry", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the entry associated with this file.\n\n@param file\n@param ct\n@return\n@throws IOException", "docstring_tokens": ["Get", "the", "entry", "associated", "with", "this", "file", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/commands/Inspect.java#L162-L169", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/commands/Inspect.java", "func_name": "Inspect.inspect", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inspect a given path entry.\n\n@param entry\n@param ct\n@throws IOException", "docstring_tokens": ["Inspect", "a", "given", "path", "entry", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/commands/Inspect.java#L178-L185", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/commands/Inspect.java", "func_name": "Inspect.inspectBinaryFile", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inspect a given binary file. That is a file for which we don't have a better\ninspector.\n\n@param bytes", "docstring_tokens": ["Inspect", "a", "given", "binary", "file", ".", "That", "is", "a", "file", "for", "which", "we", "don", "t", "have", "a", "better", "inspector", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/commands/Inspect.java#L193-L218", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wybs/io/SyntacticHeapReader.java", "func_name": "SyntacticHeapReader.readItems", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read all the items in this heap, returning the identified root item and an\narray of all items contained therein.\n\n@return\n@throws IOException", "docstring_tokens": ["Read", "all", "the", "items", "in", "this", "heap", "returning", "the", "identified", "root", "item", "and", "an", "array", "of", "all", "items", "contained", "therein", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wybs/io/SyntacticHeapReader.java#L57-L72", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wyfs/util/Trie.java", "func_name": "Trie.fromString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Construct a Trie from a Path ID.\n\n@param str\n@return", "docstring_tokens": ["Construct", "a", "Trie", "from", "a", "Path", "ID", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wyfs/util/Trie.java#L263-L272", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/WyProject.java", "func_name": "WyProject.DESCRIPTOR", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "The descriptor for this command.\n\n@author David J. Pearce", "docstring_tokens": ["The", "descriptor", "for", "this", "command", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/WyProject.java#L51-L87", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/WyProject.java", "func_name": "WyProject.getRepositoryRoot", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the root of the package repository. This is the global directory in which\nall installed packages are found.\n\n@return\n@throws IOException", "docstring_tokens": ["Get", "the", "root", "of", "the", "package", "repository", ".", "This", "is", "the", "global", "directory", "in", "which", "all", "installed", "packages", "are", "found", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/WyProject.java#L195-L199", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/WyProject.java", "func_name": "WyProject.resolvePackageDependencies", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add any declared dependencies to the set of project roots. The challenge here\nis that we may need to download, install and compile these dependencies if\nthey are not currently installed.\n\n@throws IOException", "docstring_tokens": ["Add", "any", "declared", "dependencies", "to", "the", "set", "of", "project", "roots", ".", "The", "challenge", "here", "is", "that", "we", "may", "need", "to", "download", "install", "and", "compile", "these", "dependencies", "if", "they", "are", "not", "currently", "installed", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/WyProject.java#L299-L338", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/cfg/ConfigFileLexer.java", "func_name": "ConfigFileLexer.scan", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Scan all characters from the input stream and generate a corresponding\nlist of tokens, whilst discarding all whitespace and comments.\n\n@return", "docstring_tokens": ["Scan", "all", "characters", "from", "the", "input", "stream", "and", "generate", "a", "corresponding", "list", "of", "tokens", "whilst", "discarding", "all", "whitespace", "and", "comments", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/cfg/ConfigFileLexer.java#L58-L83", "partition": "valid"}
+{"repo": "Whiley/WhileyCompilerCollection", "path": "src/main/java/wycc/cfg/ConfigFileLexer.java", "func_name": "ConfigFileLexer.syntaxError", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Raise a syntax error with a given message at given index.\n\n@param msg\n--- message to raise.\n@param index\n--- index position to associate the error with.", "docstring_tokens": ["Raise", "a", "syntax", "error", "with", "a", "given", "message", "at", "given", "index", "."], "sha": "18f08b7826eb42ce9e3605c6b242cab87cae25b7", "url": "https://github.com/Whiley/WhileyCompilerCollection/blob/18f08b7826eb42ce9e3605c6b242cab87cae25b7/src/main/java/wycc/cfg/ConfigFileLexer.java#L251-L255", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/SimpleLog.java", "func_name": "SimpleLog.logStackTrace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print a stack trace to System.out.", "docstring_tokens": ["Print", "a", "stack", "trace", "to", "System", ".", "out", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/SimpleLog.java#L77-L87", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/SimpleLog.java", "func_name": "SimpleLog.getIndentString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the current indentation string.", "docstring_tokens": ["Return", "the", "current", "indentation", "string", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/SimpleLog.java#L90-L99", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackVer.java", "func_name": "StackVer.execute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Like InstructionContext.execute, but also sets stack_types.", "docstring_tokens": ["Like", "InstructionContext", ".", "execute", "but", "also", "sets", "stack_types", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackVer.java#L499-L507", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.add_string", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a String array with new_string added to the end of arr.\n\n@param arr original string array\n@param new_string string to be added\n@return the new string array", "docstring_tokens": ["Returns", "a", "String", "array", "with", "new_string", "added", "to", "the", "end", "of", "arr", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L131-L138", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.get_attribute_name", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the attribute name for the specified attribute.\n\n@param a the attribute\n@return the attribute name for the specified attribute", "docstring_tokens": ["Return", "the", "attribute", "name", "for", "the", "specified", "attribute", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L146-L152", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.get_stack_map_table_attribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the StackMapTable attribute for a method. Return null if there isn't one.\n\n@param mgen the method\n@return the StackMapTable attribute for the method (or null if not present)", "docstring_tokens": ["Find", "the", "StackMapTable", "attribute", "for", "a", "method", ".", "Return", "null", "if", "there", "isn", "t", "one", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L182-L190", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.get_local_variable_type_table_attribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the LocalVariableTypeTable attribute for a method. Return null if there isn't one.\n\n@param mgen the method\n@return the LocalVariableTypeTable attribute for the method (or null if not present)", "docstring_tokens": ["Find", "the", "LocalVariableTypeTable", "attribute", "for", "a", "method", ".", "Return", "null", "if", "there", "isn", "t", "one", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L198-L206", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.find_stack_map_equal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the StackMap entry whose offset matches the input argument. Also sets running_offset.\n\n@param offset byte code offset\n@return the corresponding StackMapEntry", "docstring_tokens": ["Find", "the", "StackMap", "entry", "whose", "offset", "matches", "the", "input", "argument", ".", "Also", "sets", "running_offset", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L247-L265", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.find_stack_map_index_before", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the index of the StackMap entry whose offset is the last one before the input argument.\nReturn -1 if there isn't one. Also sets running_offset and number_active_locals.\n\n@param offset byte code offset\n@return the corresponding StackMapEntry index", "docstring_tokens": ["Find", "the", "index", "of", "the", "StackMap", "entry", "whose", "offset", "is", "the", "last", "one", "before", "the", "input", "argument", ".", "Return", "-", "1", "if", "there", "isn", "t", "one", ".", "Also", "sets", "running_offset", "and", "number_active_locals", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L274-L310", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.find_stack_map_index_after", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Find the index of the StackMap entry whose offset is the first one after the input argument.\nReturn -1 if there isn't one. Also sets running_offset.\n\n@param offset byte code offset\n@return the corresponding StackMapEntry index", "docstring_tokens": ["Find", "the", "index", "of", "the", "StackMap", "entry", "whose", "offset", "is", "the", "first", "one", "after", "the", "input", "argument", ".", "Return", "-", "1", "if", "there", "isn", "t", "one", ".", "Also", "sets", "running_offset", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L319-L332", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.build_unitialized_NEW_map", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "We need to locate and remember any NEW instructions that create uninitialized objects. Their\noffset may be contained in a StackMap entry and will probably need to be updated as we add\ninstrumentation code. Note that these instructions are fairly rare.\n\n@param il instruction list to search", "docstring_tokens": ["We", "need", "to", "locate", "and", "remember", "any", "NEW", "instructions", "that", "create", "uninitialized", "objects", ".", "Their", "offset", "may", "be", "contained", "in", "a", "StackMap", "entry", "and", "will", "probably", "need", "to", "be", "updated", "as", "we", "add", "instrumentation", "code", ".", "Note", "that", "these", "instructions", "are", "fairly", "rare", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L536-L567", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.update_NEW_object_stack_map_entries", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "One of uninitialized NEW instructions has moved. Update its offset in StackMap entries. Note\nthat more than one entry could refer to the same instruction. This is a helper routine used by\nupdate_uninitialized_NEW_offsets.\n\n@param old_offset original location of NEW instruction\n@param new_offset new location of NEW instruction", "docstring_tokens": ["One", "of", "uninitialized", "NEW", "instructions", "has", "moved", ".", "Update", "its", "offset", "in", "StackMap", "entries", ".", "Note", "that", "more", "than", "one", "entry", "could", "refer", "to", "the", "same", "instruction", ".", "This", "is", "a", "helper", "routine", "used", "by", "update_uninitialized_NEW_offsets", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L577-L607", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.update_uninitialized_NEW_offsets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check to see if any of the uninitialized NEW instructions have moved. Again, these are rare, so\na linear pass is fine.\n\n@param il instruction list to search", "docstring_tokens": ["Check", "to", "see", "if", "any", "of", "the", "uninitialized", "NEW", "instructions", "have", "moved", ".", "Again", "these", "are", "rare", "so", "a", "linear", "pass", "is", "fine", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L615-L628", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.set_current_stack_map_table", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get existing StackMapTable from the MethodGen argument. If there is none, create a new empty\none. Sets both smta and stack_map_table. Must be called prior to any other methods that\nmanipulate the stack_map_table!\n\n@param mgen MethodGen to search\n@param java_class_version Java version for the classfile; stack_map_table is optional before\nJava 1.7 (= classfile version 51)", "docstring_tokens": ["Get", "existing", "StackMapTable", "from", "the", "MethodGen", "argument", ".", "If", "there", "is", "none", "create", "a", "new", "empty", "one", ".", "Sets", "both", "smta", "and", "stack_map_table", ".", "Must", "be", "called", "prior", "to", "any", "other", "methods", "that", "manipulate", "the", "stack_map_table!"], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L696-L717", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.print_stack_map_table", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print the contents of the StackMapTable to the debug_instrument.log.\n\n@param prefix label to display with table", "docstring_tokens": ["Print", "the", "contents", "of", "the", "StackMapTable", "to", "the", "debug_instrument", ".", "log", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L724-L732", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.create_new_stack_map_attribute", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new StackMap code attribute from stack_map_table.\n\n@param mgen MethodGen to add attribute to\n@throws IOException if cannot create the attribute", "docstring_tokens": ["Create", "a", "new", "StackMap", "code", "attribute", "from", "stack_map_table", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L740-L755", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.typeToClassGetName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a Type name to a Class name.\n\n@param t type whose name is to be converted\n@return a String containing the class name", "docstring_tokens": ["Convert", "a", "Type", "name", "to", "a", "Class", "name", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L763-L776", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.generate_StackMapType_from_Type", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a Type to a StackMapType.\n\n@param t Type to be converted\n@return result StackMapType", "docstring_tokens": ["Convert", "a", "Type", "to", "a", "StackMapType", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L784-L811", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.generate_Type_from_StackMapType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convert a StackMapType to a Type.\n\n@param smt StackMapType to be converted\n@return result Type", "docstring_tokens": ["Convert", "a", "StackMapType", "to", "a", "Type", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L819-L838", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.create_method_scope_local", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new local with a scope of the full method. This means we need to search the existing\nlocals to find the proper index for our new local. This might have the side effect of causing\nus to rewrite the method byte codes to adjust the offsets for the existing local variables -\nsee below for details.\n\n
Must call fix_local_variable_table (just once per method) before calling this routine.\n\n@param mgen MethodGen to be modified\n@param local_name name of new local\n@param local_type type of new local\n@return a LocalVariableGen for the new local", "docstring_tokens": ["Create", "a", "new", "local", "with", "a", "scope", "of", "the", "full", "method", ".", "This", "means", "we", "need", "to", "search", "the", "existing", "locals", "to", "find", "the", "proper", "index", "for", "our", "new", "local", ".", "This", "might", "have", "the", "side", "effect", "of", "causing", "us", "to", "rewrite", "the", "method", "byte", "codes", "to", "adjust", "the", "offsets", "for", "the", "existing", "local", "variables", "-", "see", "below", "for", "details", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L1019-L1125", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackMapUtils.java", "func_name": "StackMapUtils.bcel_calc_stack_types", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculates the types on the stack for each instruction using the BCEL stack verification\nroutines.\n\n@param mg MethodGen for the method to be analyzed\n@return a StackTypes object for the method", "docstring_tokens": ["Calculates", "the", "types", "on", "the", "stack", "for", "each", "instruction", "using", "the", "BCEL", "stack", "verification", "routines", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackMapUtils.java#L1276-L1296", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/BcelUtil.java", "func_name": "BcelUtil.accessFlagsToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a string representation of the access flags of method m. In the string, the flags are\nspace-separated and in a canonical order.\n\n@param m the method whose access flags to retrieve\n@return a string representation of the access flags of method m", "docstring_tokens": ["Return", "a", "string", "representation", "of", "the", "access", "flags", "of", "method", "m", ".", "In", "the", "string", "the", "flags", "are", "space", "-", "separated", "and", "in", "a", "canonical", "order", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/BcelUtil.java#L89-L110", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/BcelUtil.java", "func_name": "BcelUtil.instructionListToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return a printed description of the given instructions.\n\n@param il the instructions to describe\n@param pool the constant pool the instructions refer to\n@return a printed representation of the instructions in {@code il}", "docstring_tokens": ["Return", "a", "printed", "description", "of", "the", "given", "instructions", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/BcelUtil.java#L119-L127", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/BcelUtil.java", "func_name": "BcelUtil.attributeNameToString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return the attribute name for the specified attribute, looked up in the original class file\nConstantPool.\n\n@param a the attribute\n@return the attribute name for the specified attribute", "docstring_tokens": ["Return", "the", "attribute", "name", "for", "the", "specified", "attribute", "looked", "up", "in", "the", "original", "class", "file", "ConstantPool", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/BcelUtil.java#L155-L162", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/BcelUtil.java", "func_name": "BcelUtil.checkMgen", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks the specified method for consistency.\n\n
Does nothing if {@link #skipChecks} is false.\n\n@param mgen the class to check", "docstring_tokens": ["Checks", "the", "specified", "method", "for", "consistency", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/BcelUtil.java#L316-L351", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/BcelUtil.java", "func_name": "BcelUtil.checkMgens", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks all of the methods in gen for consistency.\n\n@param gen the class to check", "docstring_tokens": ["Checks", "all", "of", "the", "methods", "in", "gen", "for", "consistency", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/BcelUtil.java#L358-L377", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/BcelUtil.java", "func_name": "BcelUtil.dumpStackTrace", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print the current java call stack.", "docstring_tokens": ["Print", "the", "current", "java", "call", "stack", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/BcelUtil.java#L382-L402", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/BcelUtil.java", "func_name": "BcelUtil.dumpMethods", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print the methods in the class, to standard output.\n\n@param gen the class whose methods to print", "docstring_tokens": ["Print", "the", "methods", "in", "the", "class", "to", "standard", "output", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/BcelUtil.java#L409-L415", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/BcelUtil.java", "func_name": "BcelUtil.addToStart", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds instructions to the start of a method.\n\n@param mg method to be augmented\n@param newList instructions to prepend to the method", "docstring_tokens": ["Adds", "instructions", "to", "the", "start", "of", "a", "method", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/BcelUtil.java#L505-L525", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/BcelUtil.java", "func_name": "BcelUtil.getConstantString", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the constant string at the specified offset.\n\n@param pool the constant pool\n@param index the index in the constant pool\n@return the constant string at the specified offset in the constant pool", "docstring_tokens": ["Returns", "the", "constant", "string", "at", "the", "specified", "offset", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/BcelUtil.java#L534-L546", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/BcelUtil.java", "func_name": "BcelUtil.resetLocalsToFormals", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the locals to be the formal parameters. Any other locals are removed. An instruction list\nwith at least one instruction must exist.\n\n@param mg the method whose locals to set", "docstring_tokens": ["Sets", "the", "locals", "to", "be", "the", "formal", "parameters", ".", "Any", "other", "locals", "are", "removed", ".", "An", "instruction", "list", "with", "at", "least", "one", "instruction", "must", "exist", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/BcelUtil.java#L554-L586", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/BcelUtil.java", "func_name": "BcelUtil.typeToClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the class that corresponds to type.\n\n@param type the type\n@return the Java class that corresponds to type", "docstring_tokens": ["Returns", "the", "class", "that", "corresponds", "to", "type", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/BcelUtil.java#L637-L645", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/BcelUtil.java", "func_name": "BcelUtil.postpendToArray", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a copy of the given type array, with newType added to the end.\n\n@param types the array to extend\n@param newType the element to add to the end of the array\n@return a new array, with newType at the end", "docstring_tokens": ["Returns", "a", "copy", "of", "the", "given", "type", "array", "with", "newType", "added", "to", "the", "end", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/BcelUtil.java#L654-L662", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/StackTypes.java", "func_name": "StackTypes.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the stack for the instruction at the specified offset to a copy of the information in the\ngiven frame.\n\n@param offset the offset at which the instruction appears\n@param f the stack frame to use for the instruction", "docstring_tokens": ["Sets", "the", "stack", "for", "the", "instruction", "at", "the", "specified", "offset", "to", "a", "copy", "of", "the", "information", "in", "the", "given", "frame", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/StackTypes.java#L52-L59", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/InstructionListUtils.java", "func_name": "InstructionListUtils.insert_at_method_start", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Inserts an instruction list at the beginning of a method.\n\n@param mg MethodGen of method to be modified\n@param new_il InstructionList holding the new code", "docstring_tokens": ["Inserts", "an", "instruction", "list", "at", "the", "beginning", "of", "a", "method", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/InstructionListUtils.java#L144-L152", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/InstructionListUtils.java", "func_name": "InstructionListUtils.print_il", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Print a BCEL instruction list to the debug_instrument log.\n\n@param start start of the instruction list\n@param label a descriptive string for the instruction list", "docstring_tokens": ["Print", "a", "BCEL", "instruction", "list", "to", "the", "debug_instrument", "log", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/InstructionListUtils.java#L247-L261", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/InstructionListUtils.java", "func_name": "InstructionListUtils.build_il", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Convenience function to build an instruction list.\n\n@param instructions a variable number of BCEL instructions\n@return an InstructionList", "docstring_tokens": ["Convenience", "function", "to", "build", "an", "instruction", "list", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/InstructionListUtils.java#L269-L275", "partition": "valid"}
+{"repo": "plume-lib/bcel-util", "path": "src/main/java/org/plumelib/bcelutil/InstructionListUtils.java", "func_name": "InstructionListUtils.calculate_live_stack_types", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Compute the StackMapTypes of the items on the execution stack as described by the OperandStack\nargument.\n\n@param stack an OperandStack object\n@return an array of StackMapType describing the stack contents", "docstring_tokens": ["Compute", "the", "StackMapTypes", "of", "the", "items", "on", "the", "execution", "stack", "as", "described", "by", "the", "OperandStack", "argument", "."], "sha": "29adb7dd273398df7d0a7abbcd85b1c85e207a0e", "url": "https://github.com/plume-lib/bcel-util/blob/29adb7dd273398df7d0a7abbcd85b1c85e207a0e/src/main/java/org/plumelib/bcelutil/InstructionListUtils.java#L371-L378", "partition": "valid"}
+{"repo": "davidfauthoux/ninio", "path": "ninio-string/src/main/java/com/davfx/ninio/string/StringHandler.java", "func_name": "StringHandler.find", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Beware, with the current algorithm, this function cannot find '\\'", "docstring_tokens": ["Beware", "with", "the", "current", "algorithm", "this", "function", "cannot", "find", "\\"], "sha": "a8a1b708b569231925940c829d4fef862c18f31b", "url": "https://github.com/davidfauthoux/ninio/blob/a8a1b708b569231925940c829d4fef862c18f31b/ninio-string/src/main/java/com/davfx/ninio/string/StringHandler.java#L10-L32", "partition": "valid"}
+{"repo": "cgbystrom/netty-tools", "path": "src/main/java/se/cgbystrom/netty/thrift/TNettyTransport.java", "func_name": "TNettyTransport.read", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Reads from the shared input queue, blocking if there is not enough input\nin the buffer. It's the only way we can emulate the synchronous nature of\nTTransport using netty.", "docstring_tokens": ["Reads", "from", "the", "shared", "input", "queue", "blocking", "if", "there", "is", "not", "enough", "input", "in", "the", "buffer", ".", "It", "s", "the", "only", "way", "we", "can", "emulate", "the", "synchronous", "nature", "of", "TTransport", "using", "netty", "."], "sha": "7711880b6f2a77c274e9002705286efdd4e0b86a", "url": "https://github.com/cgbystrom/netty-tools/blob/7711880b6f2a77c274e9002705286efdd4e0b86a/src/main/java/se/cgbystrom/netty/thrift/TNettyTransport.java#L89-L102", "partition": "valid"}
+{"repo": "cgbystrom/netty-tools", "path": "src/main/java/se/cgbystrom/netty/thrift/TNettyTransport.java", "func_name": "TNettyTransport.flush", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "We need data to be written and flushed at once.", "docstring_tokens": ["We", "need", "data", "to", "be", "written", "and", "flushed", "at", "once", "."], "sha": "7711880b6f2a77c274e9002705286efdd4e0b86a", "url": "https://github.com/cgbystrom/netty-tools/blob/7711880b6f2a77c274e9002705286efdd4e0b86a/src/main/java/se/cgbystrom/netty/thrift/TNettyTransport.java#L120-L125", "partition": "valid"}
+{"repo": "cgbystrom/netty-tools", "path": "src/main/java/se/cgbystrom/netty/http/websocket/WebSocketClientFactory.java", "func_name": "WebSocketClientFactory.newClient", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a new WebSocket client\n@param url URL to connect to.\n@param callback Callback interface to receive events\n@return A WebSocket client. Call {@link WebSocketClient#connect()} to connect.", "docstring_tokens": ["Create", "a", "new", "WebSocket", "client"], "sha": "7711880b6f2a77c274e9002705286efdd4e0b86a", "url": "https://github.com/cgbystrom/netty-tools/blob/7711880b6f2a77c274e9002705286efdd4e0b86a/src/main/java/se/cgbystrom/netty/http/websocket/WebSocketClientFactory.java#L33-L54", "partition": "valid"}
+{"repo": "clockbyte/admobadapter", "path": "admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobFetcher.java", "func_name": "AdmobFetcher.canUseThisAd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Determines if the native ad can be used.\n\n@param adNative the native ad object\n@return true if the ad object can be used, false otherwise", "docstring_tokens": ["Determines", "if", "the", "native", "ad", "can", "be", "used", "."], "sha": "ea5407dbc3c2a00f5608f410469bfb34737f3c07", "url": "https://github.com/clockbyte/admobadapter/blob/ea5407dbc3c2a00f5608f410469bfb34737f3c07/admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobFetcher.java#L170-L192", "partition": "valid"}
+{"repo": "clockbyte/admobadapter", "path": "admobadapter/src/main/java/com/clockbyte/admobadapter/bannerads/AdmobFetcherBanner.java", "func_name": "AdmobFetcherBanner.getAdForIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets banner ad at a particular index in the fetched ads list.\n\n@param adPos the index of ad in the fetched ads list\n@return the banner ad in the list\n@see #getFetchedAdsCount()", "docstring_tokens": ["Gets", "banner", "ad", "at", "a", "particular", "index", "in", "the", "fetched", "ads", "list", "."], "sha": "ea5407dbc3c2a00f5608f410469bfb34737f3c07", "url": "https://github.com/clockbyte/admobadapter/blob/ea5407dbc3c2a00f5608f410469bfb34737f3c07/admobadapter/src/main/java/com/clockbyte/admobadapter/bannerads/AdmobFetcherBanner.java#L97-L101", "partition": "valid"}
+{"repo": "clockbyte/admobadapter", "path": "admobadapter/src/main/java/com/clockbyte/admobadapter/bannerads/AdmobFetcherBanner.java", "func_name": "AdmobFetcherBanner.onFailedToLoad", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "A handler for failed banner ads\n@param adView", "docstring_tokens": ["A", "handler", "for", "failed", "banner", "ads"], "sha": "ea5407dbc3c2a00f5608f410469bfb34737f3c07", "url": "https://github.com/clockbyte/admobadapter/blob/ea5407dbc3c2a00f5608f410469bfb34737f3c07/admobadapter/src/main/java/com/clockbyte/admobadapter/bannerads/AdmobFetcherBanner.java#L166-L174", "partition": "valid"}
+{"repo": "clockbyte/admobadapter", "path": "admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobFetcherBase.java", "func_name": "AdmobFetcherBase.getAdRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Setup and get an ads request", "docstring_tokens": ["Setup", "and", "get", "an", "ads", "request"], "sha": "ea5407dbc3c2a00f5608f410469bfb34737f3c07", "url": "https://github.com/clockbyte/admobadapter/blob/ea5407dbc3c2a00f5608f410469bfb34737f3c07/admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobFetcherBase.java#L162-L168", "partition": "valid"}
+{"repo": "clockbyte/admobadapter", "path": "admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobAdapterCalculator.java", "func_name": "AdmobAdapterCalculator.getAdsCountToPublish", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the count of ads that could be published\n\n@param fetchedAdsCount the count of completely fetched ads that are ready to be published\n@param sourceItemsCount the count of items in the source collection\n@return the original position that the adapter position would have been without ads", "docstring_tokens": ["Gets", "the", "count", "of", "ads", "that", "could", "be", "published"], "sha": "ea5407dbc3c2a00f5608f410469bfb34737f3c07", "url": "https://github.com/clockbyte/admobadapter/blob/ea5407dbc3c2a00f5608f410469bfb34737f3c07/admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobAdapterCalculator.java#L77-L85", "partition": "valid"}
+{"repo": "clockbyte/admobadapter", "path": "admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobAdapterCalculator.java", "func_name": "AdmobAdapterCalculator.getOriginalContentPosition", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Translates an adapter position to an actual position within the underlying dataset.\n\n@param position the adapter position\n@param fetchedAdsCount the count of completely fetched ads that are ready to be published\n@param sourceItemsCount the count of items in the source collection\n@return the original position that the adapter position would have been without ads", "docstring_tokens": ["Translates", "an", "adapter", "position", "to", "an", "actual", "position", "within", "the", "underlying", "dataset", "."], "sha": "ea5407dbc3c2a00f5608f410469bfb34737f3c07", "url": "https://github.com/clockbyte/admobadapter/blob/ea5407dbc3c2a00f5608f410469bfb34737f3c07/admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobAdapterCalculator.java#L95-L102", "partition": "valid"}
+{"repo": "clockbyte/admobadapter", "path": "admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobAdapterCalculator.java", "func_name": "AdmobAdapterCalculator.getAdIndex", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the ad index for this adapter position within the list of currently fetched ads.\n\n@param position the adapter position\n@return the index of the ad within the list of fetched ads", "docstring_tokens": ["Gets", "the", "ad", "index", "for", "this", "adapter", "position", "within", "the", "list", "of", "currently", "fetched", "ads", "."], "sha": "ea5407dbc3c2a00f5608f410469bfb34737f3c07", "url": "https://github.com/clockbyte/admobadapter/blob/ea5407dbc3c2a00f5608f410469bfb34737f3c07/admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobAdapterCalculator.java#L155-L161", "partition": "valid"}
+{"repo": "clockbyte/admobadapter", "path": "admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobAdapterCalculator.java", "func_name": "AdmobAdapterCalculator.isAdAvailable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if an ad is available for this position.\n\n@param position the adapter position\n@param fetchedAdsCount the count of completely fetched ads that are ready to be published\n@return {@code true} if an ad is available, {@code false} otherwise", "docstring_tokens": ["Checks", "if", "an", "ad", "is", "available", "for", "this", "position", "."], "sha": "ea5407dbc3c2a00f5608f410469bfb34737f3c07", "url": "https://github.com/clockbyte/admobadapter/blob/ea5407dbc3c2a00f5608f410469bfb34737f3c07/admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobAdapterCalculator.java#L185-L191", "partition": "valid"}
+{"repo": "clockbyte/admobadapter", "path": "admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobAdapterCalculator.java", "func_name": "AdmobAdapterCalculator.hasToFetchAd", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if we have to request the next ad block for this position.\n\n@param position the adapter position\n@param fetchingAdsCount the count of fetched and currently fetching ads\n@return {@code true} if an ad is not available to publish and we should fetch one, {@code false} otherwise", "docstring_tokens": ["Checks", "if", "we", "have", "to", "request", "the", "next", "ad", "block", "for", "this", "position", "."], "sha": "ea5407dbc3c2a00f5608f410469bfb34737f3c07", "url": "https://github.com/clockbyte/admobadapter/blob/ea5407dbc3c2a00f5608f410469bfb34737f3c07/admobadapter/src/main/java/com/clockbyte/admobadapter/AdmobAdapterCalculator.java#L200-L204", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/codegenerator/SupportedTypes.java", "func_name": "SupportedTypes.getWildcardType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the wildcardType", "docstring_tokens": ["Get", "the", "wildcardType"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/codegenerator/SupportedTypes.java#L237-L242", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/codegenerator/SupportedTypes.java", "func_name": "SupportedTypes.hasGenericsTypeArgumentOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if the variabel element has generics arguments that matches the expected type", "docstring_tokens": ["Checks", "if", "the", "variabel", "element", "has", "generics", "arguments", "that", "matches", "the", "expected", "type"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/codegenerator/SupportedTypes.java#L262-L297", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java", "func_name": "JavaWriter.emitPackage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Emit a package declaration and empty line.", "docstring_tokens": ["Emit", "a", "package", "declaration", "and", "empty", "line", "."], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java#L68-L81", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java", "func_name": "JavaWriter.compressType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Try to compress a fully-qualified class name to only the class name.", "docstring_tokens": ["Try", "to", "compress", "a", "fully", "-", "qualified", "class", "name", "to", "only", "the", "class", "name", "."], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java#L166-L205", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java", "func_name": "JavaWriter.beginInitializer", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Emits an initializer declaration.\n\n@param isStatic true if it should be an static initializer, false for an instance initializer.", "docstring_tokens": ["Emits", "an", "initializer", "declaration", "."], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java#L234-L244", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java", "func_name": "JavaWriter.endType", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Completes the current type declaration.", "docstring_tokens": ["Completes", "the", "current", "type", "declaration", "."], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java#L308-L314", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java", "func_name": "JavaWriter.emitSingleLineComment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Emits a single line comment.", "docstring_tokens": ["Emits", "a", "single", "line", "comment", "."], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java#L462-L468", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java", "func_name": "JavaWriter.emitAnnotationValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Writes a single annotation value. If the value is an array, each element in the array will be\nwritten to its own line.", "docstring_tokens": ["Writes", "a", "single", "annotation", "value", ".", "If", "the", "value", "is", "an", "array", "each", "element", "in", "the", "array", "will", "be", "written", "to", "its", "own", "line", "."], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java#L626-L649", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java", "func_name": "JavaWriter.endMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Completes the current method declaration.", "docstring_tokens": ["Completes", "the", "current", "method", "declaration", "."], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java#L718-L728", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java", "func_name": "JavaWriter.type", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Build a string representation of a type and optionally its generic type arguments.", "docstring_tokens": ["Build", "a", "string", "representation", "of", "a", "type", "and", "optionally", "its", "generic", "type", "arguments", "."], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java#L779-L796", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java", "func_name": "JavaWriter.emitModifiers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Emits the modifiers to the writer.", "docstring_tokens": ["Emits", "the", "modifiers", "to", "the", "writer", "."], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/repacked/com/squareup/javawriter/JavaWriter.java#L812-L823", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "ParcelablePlease-intellij-plugin/src/com/hannesdorfmann/parcelableplease/plugin/ParcelablePleaseAction.java", "func_name": "ParcelablePleaseAction.getPsiClassFromContext", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the class where currently the curser is", "docstring_tokens": ["Get", "the", "class", "where", "currently", "the", "curser", "is"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/ParcelablePlease-intellij-plugin/src/com/hannesdorfmann/parcelableplease/plugin/ParcelablePleaseAction.java#L42-L55", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "ParcelablePlease-intellij-plugin/src/com/hannesdorfmann/parcelableplease/plugin/CodeGenerator.java", "func_name": "CodeGenerator.findAndRemoveMethod", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Finds and removes a given method\n@param methodName\n@param arguments", "docstring_tokens": ["Finds", "and", "removes", "a", "given", "method"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/ParcelablePlease-intellij-plugin/src/com/hannesdorfmann/parcelableplease/plugin/CodeGenerator.java#L154-L177", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "ParcelablePlease-intellij-plugin/src/com/hannesdorfmann/parcelableplease/plugin/CodeGenerator.java", "func_name": "CodeGenerator.generate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate and insert the Parcel and ParcelablePlease code", "docstring_tokens": ["Generate", "and", "insert", "the", "Parcel", "and", "ParcelablePlease", "code"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/ParcelablePlease-intellij-plugin/src/com/hannesdorfmann/parcelableplease/plugin/CodeGenerator.java#L182-L214", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "ParcelablePlease-intellij-plugin/src/com/hannesdorfmann/parcelableplease/plugin/CodeGenerator.java", "func_name": "CodeGenerator.makeClassImplementParcelable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Make the class implementing Parcelable", "docstring_tokens": ["Make", "the", "class", "implementing", "Parcelable"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/ParcelablePlease-intellij-plugin/src/com/hannesdorfmann/parcelableplease/plugin/CodeGenerator.java#L232-L252", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/ParcelablePleaseProcessor.java", "func_name": "ParcelablePleaseProcessor.isClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if the element is a class", "docstring_tokens": ["Checks", "if", "the", "element", "is", "a", "class"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/ParcelablePleaseProcessor.java#L152-L179", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/util/TypeUtils.java", "func_name": "TypeUtils.isTypeOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if a TypeMirror equals a class", "docstring_tokens": ["Checks", "if", "a", "TypeMirror", "equals", "a", "class"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/util/TypeUtils.java#L26-L28", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/util/TypeUtils.java", "func_name": "TypeUtils.isTypeOf", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the class this element is part of", "docstring_tokens": ["Returns", "the", "class", "this", "element", "is", "part", "of"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/util/TypeUtils.java#L33-L42", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/util/TypeUtils.java", "func_name": "TypeUtils.getPackageName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the Package name\n\n@throws IOException", "docstring_tokens": ["Get", "the", "Package", "name"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/util/TypeUtils.java#L49-L56", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/util/TypeUtils.java", "func_name": "TypeUtils.getBinaryName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get the qualified name of a class. Also respects innner classes\n\n@param elementUtils Elements\n@param type TypeElement\n@return The qualified name of the class represented by the passed type element\n@throws IOException", "docstring_tokens": ["Get", "the", "qualified", "name", "of", "a", "class", ".", "Also", "respects", "innner", "classes"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/util/TypeUtils.java#L66-L74", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/codegenerator/CodeGenerator.java", "func_name": "CodeGenerator.generateWriteToParcel", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Generate the writeToParcel method\n\n@throws IOException", "docstring_tokens": ["Generate", "the", "writeToParcel", "method"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/codegenerator/CodeGenerator.java#L88-L111", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/ParcelableField.java", "func_name": "ParcelableField.isPublicClass", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if a class is public", "docstring_tokens": ["Checks", "if", "a", "class", "is", "public"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/ParcelableField.java#L110-L114", "partition": "valid"}
+{"repo": "sockeqwe/ParcelablePlease", "path": "processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/ParcelableField.java", "func_name": "ParcelableField.hasPublicEmptyConstructor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if an public empty constructor is available", "docstring_tokens": ["Checks", "if", "an", "public", "empty", "constructor", "is", "available"], "sha": "4bcb6695ade8cb0ec60af5b137b60f751262086c", "url": "https://github.com/sockeqwe/ParcelablePlease/blob/4bcb6695ade8cb0ec60af5b137b60f751262086c/processor/src/main/java/com/hannesdorfmann/parcelableplease/processor/ParcelableField.java#L119-L136", "partition": "valid"}
+{"repo": "io7m/jtensors", "path": "com.io7m.jtensors.core/src/main/java/com/io7m/jtensors/core/determinants/Determinants.java", "func_name": "Determinants.determinant3x3", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Calculate the determinant of the given 3x3 matrix values.\n\n@param r0c0 The value at row 0 column 0\n@param r0c1 The value at row 0 column 1\n@param r0c2 The value at row 0 column 2\n@param r1c0 The value at row 1 column 0\n@param r1c1 The value at row 1 column 1\n@param r1c2 The value at row 1 column 2\n@param r2c0 The value at row 2 column 0\n@param r2c1 The value at row 2 column 1\n@param r2c2 The value at row 2 column 2\n\n@return The determinant", "docstring_tokens": ["Calculate", "the", "determinant", "of", "the", "given", "3x3", "matrix", "values", "."], "sha": "c760a2ded2f329c2a3e28bf76df5571c32b595aa", "url": "https://github.com/io7m/jtensors/blob/c760a2ded2f329c2a3e28bf76df5571c32b595aa/com.io7m.jtensors.core/src/main/java/com/io7m/jtensors/core/determinants/Determinants.java#L68-L84", "partition": "valid"}
+{"repo": "burningwave/bw-core", "path": "src/main/java/com/github/burningwave/core/classes/hunter/Hunter.java", "func_name": "Hunter.findBy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Not cached search", "docstring_tokens": ["Not", "cached", "search"], "sha": "2c8166a6149c717b7e16e6bc1683720806c3935f", "url": "https://github.com/burningwave/bw-core/blob/2c8166a6149c717b7e16e6bc1683720806c3935f/src/main/java/com/github/burningwave/core/classes/hunter/Hunter.java#L75-L89", "partition": "valid"}
+{"repo": "io7m/jtensors", "path": "com.io7m.jtensors.generators/src/main/java/com/io7m/jtensors/generators/Matrix4x4DGenerator.java", "func_name": "Matrix4x4DGenerator.createOrthogonal", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a generator initialized with a default component generator that only\nproduces orthogonal matrices.\n\n@return A generator", "docstring_tokens": ["Create", "a", "generator", "initialized", "with", "a", "default", "component", "generator", "that", "only", "produces", "orthogonal", "matrices", "."], "sha": "c760a2ded2f329c2a3e28bf76df5571c32b595aa", "url": "https://github.com/io7m/jtensors/blob/c760a2ded2f329c2a3e28bf76df5571c32b595aa/com.io7m.jtensors.generators/src/main/java/com/io7m/jtensors/generators/Matrix4x4DGenerator.java#L81-L112", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/connection/RedisConnectionAsync.java", "func_name": "RedisConnectionAsync.getBinaryMultiBulkReply", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the binary multi bulk reply.\n\n@return the binary multi bulk reply", "docstring_tokens": ["Gets", "the", "binary", "multi", "bulk", "reply", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/connection/RedisConnectionAsync.java#L462-L466", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisCluster.java", "func_name": "BinaryRedisCluster.getBinaryTupledSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the binary tupled set.\n\n@return the binary tupled set", "docstring_tokens": ["Gets", "the", "binary", "tupled", "set", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisCluster.java#L915-L931", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java", "func_name": "AbstractOperations.rawKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Raw key.\n\n@param key the key\n@return the byte[]", "docstring_tokens": ["Raw", "key", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java#L170-L174", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java", "func_name": "AbstractOperations.rawHashKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Raw hash key.\n\n@param the generic type\n@param hashKey the hash key\n@return the byte[]", "docstring_tokens": ["Raw", "hash", "key", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java#L204-L208", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java", "func_name": "AbstractOperations.deserializeTupleValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deserialize tuple values.\n\n@param rawValues the raw values\n@return the sets the", "docstring_tokens": ["Deserialize", "tuple", "values", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java#L287-L294", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java", "func_name": "AbstractOperations.deserializeHashKeys", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deserialize hash keys.\n\n@param the generic type\n@param rawKeys the raw keys\n@return the sets the", "docstring_tokens": ["Deserialize", "hash", "keys", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java#L314-L317", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java", "func_name": "AbstractOperations.deserializeHashValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deserialize hash values.\n\n@param the generic type\n@param rawValues the raw values\n@return the list", "docstring_tokens": ["Deserialize", "hash", "values", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java#L326-L329", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java", "func_name": "AbstractOperations.deserializeHashMap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deserialize hash map.\n\n@param the generic type\n@param the generic type\n@param entries the entries\n@return the map", "docstring_tokens": ["Deserialize", "hash", "map", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java#L339-L353", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java", "func_name": "AbstractOperations.deserializeHashList", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deserialize hash list.\n\n@param the generic type\n@param the generic type\n@param entries the entries\n@return the map", "docstring_tokens": ["Deserialize", "hash", "list", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java#L363-L376", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java", "func_name": "AbstractOperations.deserializeHashSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Deserialize hash set.\n\n@param the generic type\n@param the generic type\n@param entries the entries\n@return the map", "docstring_tokens": ["Deserialize", "hash", "set", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/spring/AbstractOperations.java#L386-L399", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/gateway/GatewayAddress.java", "func_name": "GatewayAddress.asListFromDomain", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "As list from domain.\n\n@param domainAddress the domain address\n@return the list", "docstring_tokens": ["As", "list", "from", "domain", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/gateway/GatewayAddress.java#L98-L118", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/gateway/GatewayAddress.java", "func_name": "GatewayAddress.parseHost", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the host.\n\n@param address the address\n@return the string", "docstring_tokens": ["Parses", "the", "host", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/gateway/GatewayAddress.java#L153-L159", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/gateway/GatewayAddress.java", "func_name": "GatewayAddress.parsePort", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Parses the port.\n\n@param address the address\n@return the int", "docstring_tokens": ["Parses", "the", "port", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/gateway/GatewayAddress.java#L167-L178", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/RedisClusterClient.java", "func_name": "RedisClusterClient.set", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the.\n\n@param key the key\n@param value the value", "docstring_tokens": ["Sets", "the", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/RedisClusterClient.java#L83-L85", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/pipeline/RedisClusterPipeline.java", "func_name": "RedisClusterPipeline.sync", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Synchronize pipeline by reading all responses. This operation close the\npipeline. In order to get return values from pipelined commands, capture\nthe different Response<?> of the commands you execute.", "docstring_tokens": ["Synchronize", "pipeline", "by", "reading", "all", "responses", ".", "This", "operation", "close", "the", "pipeline", ".", "In", "order", "to", "get", "return", "values", "from", "pipelined", "commands", "capture", "the", "different", "Response<", ";", "?>", ";", "of", "the", "commands", "you", "execute", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/pipeline/RedisClusterPipeline.java#L100-L123", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/RedisCluster.java", "func_name": "RedisCluster.getTupledSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the tupled set.\n\n@return the tupled set", "docstring_tokens": ["Gets", "the", "tupled", "set", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/RedisCluster.java#L986-L994", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "confmaster/src/main/java/com/navercorp/nbasearc/confmaster/server/leaderelection/LeaderElectionSupport.java", "func_name": "LeaderElectionSupport.stop", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Stops all election services, revokes any outstanding leader offers, and\ndisconnects from ZooKeeper.", "docstring_tokens": ["Stops", "all", "election", "services", "revokes", "any", "outstanding", "leader", "offers", "and", "disconnects", "from", "ZooKeeper", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/confmaster/src/main/java/com/navercorp/nbasearc/confmaster/server/leaderelection/LeaderElectionSupport.java#L184-L203", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/gateway/GatewayClient.java", "func_name": "GatewayClient.toExecuteInfo", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "time, retry, gateway server information.", "docstring_tokens": ["time", "retry", "gateway", "server", "information", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/gateway/GatewayClient.java#L219-L231", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "confmaster/src/main/java/com/navercorp/nbasearc/confmaster/server/workflow/MGSetquorum.java", "func_name": "MGSetquorum.setquorum", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Since it is a singleton instance and represents a part of workflow logic running in multiple threads.", "docstring_tokens": ["Since", "it", "is", "a", "singleton", "instance", "and", "represents", "a", "part", "of", "workflow", "logic", "running", "in", "multiple", "threads", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/confmaster/src/main/java/com/navercorp/nbasearc/confmaster/server/workflow/MGSetquorum.java#L31-L35", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "confmaster/src/main/java/com/navercorp/nbasearc/confmaster/ThreadLocalVariableHolder.java", "func_name": "ThreadLocalVariableHolder.checkPermission", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clear ZNodePermission of current-thread to null.\n\nIf znodePermission.get() returns null, this method skip permission-check. Otherwise, do permission-check.\n
There are two different scenarios.\n1. workflows, commands, watch-event for clusters do permission-check.\n2. leader-election, confmaster-init/release skip permission-check.
\nIt is not deterministic that what thread will allocated to the scenarios.\nCall this method not to affect a next thread, after calling addPermission() method.", "docstring_tokens": ["Clear", "ZNodePermission", "of", "current", "-", "thread", "to", "null", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/confmaster/src/main/java/com/navercorp/nbasearc/confmaster/ThreadLocalVariableHolder.java#L89-L93", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java", "func_name": "BinaryRedisClusterClient.joinParameters", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Join parameters.\n\n@param first the first\n@param rest the rest\n@return the byte[][]", "docstring_tokens": ["Join", "parameters", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java#L78-L85", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java", "func_name": "BinaryRedisClusterClient.expireAt", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Expire at.\n\n@param key the key\n@param millisecondsTimestamp the unix time", "docstring_tokens": ["Expire", "at", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java#L194-L196", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java", "func_name": "BinaryRedisClusterClient.decrBy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Decr by.\n\n@param key the key\n@param integer the integer", "docstring_tokens": ["Decr", "by", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java#L258-L260", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java", "func_name": "BinaryRedisClusterClient.incrBy", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Incr by.\n\n@param key the key\n@param integer the integer", "docstring_tokens": ["Incr", "by", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java#L277-L279", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java", "func_name": "BinaryRedisClusterClient.zaddBinary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Zadd binary.\n\n@param key the key\n@param scoreMembers the score members", "docstring_tokens": ["Zadd", "binary", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java#L691-L705", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java", "func_name": "BinaryRedisClusterClient.zrangeByScore", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Zrange by score.\n\n@param key the key\n@param min the min\n@param max the max", "docstring_tokens": ["Zrange", "by", "score", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java#L869-L871", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java", "func_name": "BinaryRedisClusterClient.zrangeByScoreWithScores", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Zrange by score with scores.\n\n@param key the key\n@param min the min\n@param max the max\n@param offset the offset\n@param count the count", "docstring_tokens": ["Zrange", "by", "score", "with", "scores", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java#L941-L944", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java", "func_name": "BinaryRedisClusterClient.slaveofNoOne", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Slaveof no one.", "docstring_tokens": ["Slaveof", "no", "one", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java#L993-L995", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java", "func_name": "BinaryRedisClusterClient.configSet", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Config set.\n\n@param parameter the parameter\n@param value the value", "docstring_tokens": ["Config", "set", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java#L1012-L1014", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java", "func_name": "BinaryRedisClusterClient.getbit", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the bit.\n\n@param key the key\n@param offset the offset", "docstring_tokens": ["Gets", "the", "bit", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java#L1083-L1085", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java", "func_name": "BinaryRedisClusterClient.getrange", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets the range.\n\n@param key the key\n@param startOffset the start offset\n@param endOffset the end offset", "docstring_tokens": ["Gets", "the", "range", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/api/java/src/main/java/com/navercorp/redis/cluster/BinaryRedisClusterClient.java#L1105-L1107", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "confmaster/src/main/java/com/navercorp/nbasearc/confmaster/io/EventSelector.java", "func_name": "EventSelector.shutdown", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Shutdown a selector\n@throws IOException", "docstring_tokens": ["Shutdown", "a", "selector"], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/confmaster/src/main/java/com/navercorp/nbasearc/confmaster/io/EventSelector.java#L54-L61", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "confmaster/src/main/java/com/navercorp/nbasearc/confmaster/io/EventSelector.java", "func_name": "EventSelector.process", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Main loop of nio\n\n@return elapsed time", "docstring_tokens": ["Main", "loop", "of", "nio"], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/confmaster/src/main/java/com/navercorp/nbasearc/confmaster/io/EventSelector.java#L100-L114", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "confmaster/src/main/java/com/navercorp/nbasearc/confmaster/io/EventSelector.java", "func_name": "EventSelector.ioProcess", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Demultiplex IO events", "docstring_tokens": ["Demultiplex", "IO", "events"], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/confmaster/src/main/java/com/navercorp/nbasearc/confmaster/io/EventSelector.java#L119-L174", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "confmaster/src/main/java/com/navercorp/nbasearc/confmaster/io/EventSelector.java", "func_name": "EventSelector.loopProcess", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "to be called on each loop to process idle routines.", "docstring_tokens": ["to", "be", "called", "on", "each", "loop", "to", "process", "idle", "routines", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/confmaster/src/main/java/com/navercorp/nbasearc/confmaster/io/EventSelector.java#L179-L190", "partition": "valid"}
+{"repo": "naver/nbase-arc", "path": "confmaster/src/main/java/com/navercorp/nbasearc/confmaster/io/EventSelector.java", "func_name": "EventSelector.register", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "register session to Selector in order to detect IO events.\n@param session\n@param ops interest IO operations, such as SelectionKey.OP_ACCEPT, SelectionKey.OP_CONNECT, SelectionKey.OP_READ, SelectionKey.OP_WRITE\n@throws ClosedChannelException", "docstring_tokens": ["register", "session", "to", "Selector", "in", "order", "to", "detect", "IO", "events", "."], "sha": "d4ce8a258527160c09b55e34acc1542651a8bbb3", "url": "https://github.com/naver/nbase-arc/blob/d4ce8a258527160c09b55e34acc1542651a8bbb3/confmaster/src/main/java/com/navercorp/nbasearc/confmaster/io/EventSelector.java#L198-L211", "partition": "valid"}
+{"repo": "jadler-mocking/jadler", "path": "jadler-core/src/main/java/net/jadler/JadlerMocker.java", "func_name": "JadlerMocker.addDefaultHeader", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a default header to be added to every stub http response.\n@param name header name (cannot be empty)\n@param value header value (cannot be null)", "docstring_tokens": ["Adds", "a", "default", "header", "to", "be", "added", "to", "every", "stub", "http", "response", "."], "sha": "973006503619b77b204b0eaf73ea940823445813", "url": "https://github.com/jadler-mocking/jadler/blob/973006503619b77b204b0eaf73ea940823445813/jadler-core/src/main/java/net/jadler/JadlerMocker.java#L182-L187", "partition": "valid"}
+{"repo": "jadler-mocking/jadler", "path": "jadler-core/src/main/java/net/jadler/mocking/Verifying.java", "func_name": "Verifying.receivedTimes", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks whether the number of requests described in this verifying object received so far matches the given predicate.\n@param nrRequestsPredicate to be applied on the number of requests\n@throws VerificationException if the number of requests described by this verifying is not matched by the given\npredicate", "docstring_tokens": ["Checks", "whether", "the", "number", "of", "requests", "described", "in", "this", "verifying", "object", "received", "so", "far", "matches", "the", "given", "predicate", "."], "sha": "973006503619b77b204b0eaf73ea940823445813", "url": "https://github.com/jadler-mocking/jadler/blob/973006503619b77b204b0eaf73ea940823445813/jadler-core/src/main/java/net/jadler/mocking/Verifying.java#L41-L45", "partition": "valid"}
+{"repo": "jadler-mocking/jadler", "path": "jadler-core/src/main/java/net/jadler/KeyValues.java", "func_name": "KeyValues.getValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the first value for the given key\n@param key key (case insensitive)\n@return single (first) value for the given key or {@code null}, if there is no such a key in this instance", "docstring_tokens": ["Returns", "the", "first", "value", "for", "the", "given", "key"], "sha": "973006503619b77b204b0eaf73ea940823445813", "url": "https://github.com/jadler-mocking/jadler/blob/973006503619b77b204b0eaf73ea940823445813/jadler-core/src/main/java/net/jadler/KeyValues.java#L100-L105", "partition": "valid"}
+{"repo": "jadler-mocking/jadler", "path": "jadler-core/src/main/java/net/jadler/KeyValues.java", "func_name": "KeyValues.getValues", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns all values for the given key\n@param key key (case insensitive)\n@return all values of the given header or {@code null}, if there is no such a key in this instance", "docstring_tokens": ["Returns", "all", "values", "for", "the", "given", "key"], "sha": "973006503619b77b204b0eaf73ea940823445813", "url": "https://github.com/jadler-mocking/jadler/blob/973006503619b77b204b0eaf73ea940823445813/jadler-core/src/main/java/net/jadler/KeyValues.java#L113-L119", "partition": "valid"}
+{"repo": "jadler-mocking/jadler", "path": "jadler-jdk/src/main/java/net/jadler/stubbing/server/jdk/RequestUtils.java", "func_name": "RequestUtils.addEncoding", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "package protected for testing purposes", "docstring_tokens": ["package", "protected", "for", "testing", "purposes"], "sha": "973006503619b77b204b0eaf73ea940823445813", "url": "https://github.com/jadler-mocking/jadler/blob/973006503619b77b204b0eaf73ea940823445813/jadler-jdk/src/main/java/net/jadler/stubbing/server/jdk/RequestUtils.java#L34-L47", "partition": "valid"}
+{"repo": "jadler-mocking/jadler", "path": "jadler-core/src/main/java/net/jadler/stubbing/StubbingFactory.java", "func_name": "StubbingFactory.createStubbing", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates new stubbing instance.\n@param defaultEncoding default encoding of every stub response body\n@param defaultStatus default http status of every stub response\n@param defaultHeaders default response headers of every stub response\n@return new {@link Stubbing} instance", "docstring_tokens": ["Creates", "new", "stubbing", "instance", "."], "sha": "973006503619b77b204b0eaf73ea940823445813", "url": "https://github.com/jadler-mocking/jadler/blob/973006503619b77b204b0eaf73ea940823445813/jadler-core/src/main/java/net/jadler/stubbing/StubbingFactory.java#L23-L27", "partition": "valid"}
+{"repo": "googlearchive/firebase-token-generator-java", "path": "src/main/java/com/firebase/security/token/JWTEncoder.java", "func_name": "JWTEncoder.encode", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Encode and sign a set of claims.\n\n@param claims\n@param secret\n@return", "docstring_tokens": ["Encode", "and", "sign", "a", "set", "of", "claims", "."], "sha": "2c77674d276fc1bf622228af721b0b77031fed2e", "url": "https://github.com/googlearchive/firebase-token-generator-java/blob/2c77674d276fc1bf622228af721b0b77031fed2e/src/main/java/com/firebase/security/token/JWTEncoder.java#L29-L38", "partition": "valid"}
+{"repo": "googlearchive/firebase-token-generator-java", "path": "src/main/java/com/firebase/security/token/TokenOptions.java", "func_name": "TokenOptions.copyDate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Copies the date, since Date objects are mutable.", "docstring_tokens": ["Copies", "the", "date", "since", "Date", "objects", "are", "mutable", "."], "sha": "2c77674d276fc1bf622228af721b0b77031fed2e", "url": "https://github.com/googlearchive/firebase-token-generator-java/blob/2c77674d276fc1bf622228af721b0b77031fed2e/src/main/java/com/firebase/security/token/TokenOptions.java#L20-L22", "partition": "valid"}
+{"repo": "googlearchive/firebase-token-generator-java", "path": "src/main/java/com/firebase/security/token/TokenGenerator.java", "func_name": "TokenGenerator.createToken", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Create a token for the given object and options.\n\n@param data\n@param options\n@return", "docstring_tokens": ["Create", "a", "token", "for", "the", "given", "object", "and", "options", "."], "sha": "2c77674d276fc1bf622228af721b0b77031fed2e", "url": "https://github.com/googlearchive/firebase-token-generator-java/blob/2c77674d276fc1bf622228af721b0b77031fed2e/src/main/java/com/firebase/security/token/TokenGenerator.java#L47-L93", "partition": "valid"}
+{"repo": "auth0/Lock-Google.Android", "path": "lock-google/src/main/java/com/auth0/android/google/GoogleAPI.java", "func_name": "GoogleAPI.getErrorDialog", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Helper to create a new dialog from an error code.\n\n@param errorCode the code int to explain\n@param requestCode the request code to use when you expect the result.\n@return a new dialog instance ready to show", "docstring_tokens": ["Helper", "to", "create", "a", "new", "dialog", "from", "an", "error", "code", "."], "sha": "9beef3203d292c435d205fb2128a20c07dc7701b", "url": "https://github.com/auth0/Lock-Google.Android/blob/9beef3203d292c435d205fb2128a20c07dc7701b/lock-google/src/main/java/com/auth0/android/google/GoogleAPI.java#L106-L115", "partition": "valid"}
+{"repo": "auth0/Lock-Google.Android", "path": "lock-google/src/main/java/com/auth0/android/google/GoogleAPI.java", "func_name": "GoogleAPI.connectAndRequestGoogleAccount", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Checks if the Google API Client is connected and tries to request the user Account.\n\n@param signInRequestCode the request code to use when you expect the sign in result.\n@param errorResolutionRequestCode the request code to use when you expect the erorr resolution result.", "docstring_tokens": ["Checks", "if", "the", "Google", "API", "Client", "is", "connected", "and", "tries", "to", "request", "the", "user", "Account", "."], "sha": "9beef3203d292c435d205fb2128a20c07dc7701b", "url": "https://github.com/auth0/Lock-Google.Android/blob/9beef3203d292c435d205fb2128a20c07dc7701b/lock-google/src/main/java/com/auth0/android/google/GoogleAPI.java#L123-L131", "partition": "valid"}
+{"repo": "auth0/Lock-Google.Android", "path": "lock-google/src/main/java/com/auth0/android/google/GoogleAPI.java", "func_name": "GoogleAPI.logoutAndClearState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Clears this helper state. After this method is called the provider should not be used.", "docstring_tokens": ["Clears", "this", "helper", "state", ".", "After", "this", "method", "is", "called", "the", "provider", "should", "not", "be", "used", "."], "sha": "9beef3203d292c435d205fb2128a20c07dc7701b", "url": "https://github.com/auth0/Lock-Google.Android/blob/9beef3203d292c435d205fb2128a20c07dc7701b/lock-google/src/main/java/com/auth0/android/google/GoogleAPI.java#L167-L174", "partition": "valid"}
+{"repo": "HubSpot/Baragon", "path": "BaragonService/src/main/java/com/hubspot/baragon/service/edgecache/cloudflare/CloudflareEdgeCache.java", "func_name": "CloudflareEdgeCache.invalidateIfNecessary", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invalidation will eventually occur when the TTL expires, so it's not a showstopper if this fails.", "docstring_tokens": ["Invalidation", "will", "eventually", "occur", "when", "the", "TTL", "expires", "so", "it", "s", "not", "a", "showstopper", "if", "this", "fails", "."], "sha": "e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb", "url": "https://github.com/HubSpot/Baragon/blob/e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb/BaragonService/src/main/java/com/hubspot/baragon/service/edgecache/cloudflare/CloudflareEdgeCache.java#L49-L95", "partition": "valid"}
+{"repo": "HubSpot/Baragon", "path": "BaragonClient/src/main/java/com/hubspot/baragon/client/BaragonServiceClient.java", "func_name": "BaragonServiceClient.getBaragonServiceStatus", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "BaragonService overall status", "docstring_tokens": ["BaragonService", "overall", "status"], "sha": "e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb", "url": "https://github.com/HubSpot/Baragon/blob/e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb/BaragonClient/src/main/java/com/hubspot/baragon/client/BaragonServiceClient.java#L267-L270", "partition": "valid"}
+{"repo": "HubSpot/Baragon", "path": "BaragonClient/src/main/java/com/hubspot/baragon/client/BaragonServiceClient.java", "func_name": "BaragonServiceClient.getGlobalState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "BaragonService service states", "docstring_tokens": ["BaragonService", "service", "states"], "sha": "e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb", "url": "https://github.com/HubSpot/Baragon/blob/e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb/BaragonClient/src/main/java/com/hubspot/baragon/client/BaragonServiceClient.java#L279-L282", "partition": "valid"}
+{"repo": "HubSpot/Baragon", "path": "BaragonClient/src/main/java/com/hubspot/baragon/client/BaragonServiceClient.java", "func_name": "BaragonServiceClient.getLoadBalancerGroups", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "BaragonService load balancer group actions", "docstring_tokens": ["BaragonService", "load", "balancer", "group", "actions"], "sha": "e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb", "url": "https://github.com/HubSpot/Baragon/blob/e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb/BaragonClient/src/main/java/com/hubspot/baragon/client/BaragonServiceClient.java#L310-L313", "partition": "valid"}
+{"repo": "HubSpot/Baragon", "path": "BaragonClient/src/main/java/com/hubspot/baragon/client/BaragonServiceClient.java", "func_name": "BaragonServiceClient.getOccupiedBasePaths", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "BaragonService base path actions", "docstring_tokens": ["BaragonService", "base", "path", "actions"], "sha": "e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb", "url": "https://github.com/HubSpot/Baragon/blob/e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb/BaragonClient/src/main/java/com/hubspot/baragon/client/BaragonServiceClient.java#L352-L355", "partition": "valid"}
+{"repo": "HubSpot/Baragon", "path": "BaragonClient/src/main/java/com/hubspot/baragon/client/BaragonServiceClient.java", "func_name": "BaragonServiceClient.getRequest", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "BaragonService request actions", "docstring_tokens": ["BaragonService", "request", "actions"], "sha": "e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb", "url": "https://github.com/HubSpot/Baragon/blob/e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb/BaragonClient/src/main/java/com/hubspot/baragon/client/BaragonServiceClient.java#L370-L373", "partition": "valid"}
+{"repo": "HubSpot/Baragon", "path": "BaragonClient/src/main/java/com/hubspot/baragon/client/BaragonServiceClient.java", "func_name": "BaragonServiceClient.getQueuedRequests", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "BaragonService queued request actions", "docstring_tokens": ["BaragonService", "queued", "request", "actions"], "sha": "e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb", "url": "https://github.com/HubSpot/Baragon/blob/e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb/BaragonClient/src/main/java/com/hubspot/baragon/client/BaragonServiceClient.java#L402-L405", "partition": "valid"}
+{"repo": "HubSpot/Baragon", "path": "BaragonService/src/main/java/com/hubspot/baragon/service/elb/ApplicationLoadBalancer.java", "func_name": "ApplicationLoadBalancer.guaranteeRegistered", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Ensure that the given baragon agent is attached to the given target group. When this function\ncompletes, the baragon agent will be attached to the load balancer, whether or not it originally\nwas.\n\n@param baragonAgents BaragonAgent to register with given load balancer\n@param loadBalancers Load balancer to register with", "docstring_tokens": ["Ensure", "that", "the", "given", "baragon", "agent", "is", "attached", "to", "the", "given", "target", "group", ".", "When", "this", "function", "completes", "the", "baragon", "agent", "will", "be", "attached", "to", "the", "load", "balancer", "whether", "or", "not", "it", "originally", "was", "."], "sha": "e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb", "url": "https://github.com/HubSpot/Baragon/blob/e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb/BaragonService/src/main/java/com/hubspot/baragon/service/elb/ApplicationLoadBalancer.java#L604-L623", "partition": "valid"}
+{"repo": "HubSpot/Baragon", "path": "BaragonService/src/main/java/com/hubspot/baragon/service/elb/ApplicationLoadBalancer.java", "func_name": "ApplicationLoadBalancer.deregisterRemovableTargets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "De-register any targets representing agents that are not known to the BaragonService,\nor which otherwise need to be removed.\n\n@param targetGroup TargetGroup to check for old agents\n@param agents Known agents, to be used as a reference sheet", "docstring_tokens": ["De", "-", "register", "any", "targets", "representing", "agents", "that", "are", "not", "known", "to", "the", "BaragonService", "or", "which", "otherwise", "need", "to", "be", "removed", "."], "sha": "e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb", "url": "https://github.com/HubSpot/Baragon/blob/e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb/BaragonService/src/main/java/com/hubspot/baragon/service/elb/ApplicationLoadBalancer.java#L632-L658", "partition": "valid"}
+{"repo": "HubSpot/Baragon", "path": "BaragonService/src/main/java/com/hubspot/baragon/service/elb/ApplicationLoadBalancer.java", "func_name": "ApplicationLoadBalancer.guaranteeSameVPC", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "When this method completes, the target group, the agents, and the loadBalancers are\nall on the same VPC.\nThe target group, each of the agents, and each of the load balancers should think\nthat they are on the same VPC, otherwise they won't be able to talk to each other.\n\n\n@param targetGroup Group - and consequently all targets - to check\n@param agents Agents to check\n@param loadBalancers Load balances to check", "docstring_tokens": ["When", "this", "method", "completes", "the", "target", "group", "the", "agents", "and", "the", "loadBalancers", "are", "all", "on", "the", "same", "VPC", ".", "The", "target", "group", "each", "of", "the", "agents", "and", "each", "of", "the", "load", "balancers", "should", "think", "that", "they", "are", "on", "the", "same", "VPC", "otherwise", "they", "won", "t", "be", "able", "to", "talk", "to", "each", "other", "."], "sha": "e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb", "url": "https://github.com/HubSpot/Baragon/blob/e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb/BaragonService/src/main/java/com/hubspot/baragon/service/elb/ApplicationLoadBalancer.java#L671-L694", "partition": "valid"}
+{"repo": "HubSpot/Baragon", "path": "BaragonService/src/main/java/com/hubspot/baragon/service/elb/ApplicationLoadBalancer.java", "func_name": "ApplicationLoadBalancer.guaranteeHasAllTargets", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "After this method completes, every agent in baragonAgents should be associated with\na target in the given target group.\n\n@param targetGroup group to register in\n@param baragonAgents agents to be registered", "docstring_tokens": ["After", "this", "method", "completes", "every", "agent", "in", "baragonAgents", "should", "be", "associated", "with", "a", "target", "in", "the", "given", "target", "group", "."], "sha": "e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb", "url": "https://github.com/HubSpot/Baragon/blob/e02e1c960a2b93e146ee5cafaa6eb0853ec9bacb/BaragonService/src/main/java/com/hubspot/baragon/service/elb/ApplicationLoadBalancer.java#L776-L816", "partition": "valid"}
+{"repo": "Mercateo/rest-hateoas-client", "path": "src/main/java/com/mercateo/rest/hateoas/client/schema/SchemaLink.java", "func_name": "SchemaLink.setHref", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "backwards compatibility, would be canged in next version", "docstring_tokens": ["backwards", "compatibility", "would", "be", "canged", "in", "next", "version"], "sha": "0171dac11c1ce6d47c4f6b8215465b77293d1efd", "url": "https://github.com/Mercateo/rest-hateoas-client/blob/0171dac11c1ce6d47c4f6b8215465b77293d1efd/src/main/java/com/mercateo/rest/hateoas/client/schema/SchemaLink.java#L57-L66", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/resolver/MemberKey.java", "func_name": "MemberKey.newInstance", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Simple factory method to obtain a new instance for the given context\nobject and name.\n\n@param contextObject\n@param name\n@return a new instance", "docstring_tokens": ["Simple", "factory", "method", "to", "obtain", "a", "new", "instance", "for", "the", "given", "context", "object", "and", "name", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/resolver/MemberKey.java#L87-L96", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/parser/DefaultParser.java", "func_name": "DefaultParser.lineSeparatorFound", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Line separator end - flush.\n\n@param lineSeparator", "docstring_tokens": ["Line", "separator", "end", "-", "flush", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/parser/DefaultParser.java#L271-L277", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/parser/DefaultParser.java", "func_name": "DefaultParser.flushTag", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Real tag end - flush.", "docstring_tokens": ["Real", "tag", "end", "-", "flush", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/parser/DefaultParser.java#L298-L303", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/parser/DefaultParser.java", "func_name": "DefaultParser.extractContent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extract the tag content.\n\n@param buffer\n@return", "docstring_tokens": ["Extract", "the", "tag", "content", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/parser/DefaultParser.java#L358-L381", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/parser/SegmentBases.java", "func_name": "SegmentBases.readSegmentLines", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read segment lines recursively.\n\n@param container\n@return", "docstring_tokens": ["Read", "segment", "lines", "recursively", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/parser/SegmentBases.java#L203-L210", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/util/Patterns.java", "func_name": "Patterns.newMustacheTagPattern", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Delimiters are quoted to avoid regexp reserved characters conflict.\n\n@param configuration\n@return the new delimiters pattern", "docstring_tokens": ["Delimiters", "are", "quoted", "to", "avoid", "regexp", "reserved", "characters", "conflict", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/util/Patterns.java#L38-L46", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/resolver/Decorator.java", "func_name": "Decorator.decorate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a decorator instance for the specified delegate and mappings.\n\n@param delegate\n@param mappings\n@param delegateKey\nMay be null\n@param configuration\n@return a new decorator instance", "docstring_tokens": ["Returns", "a", "decorator", "instance", "for", "the", "specified", "delegate", "and", "mappings", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/resolver/Decorator.java#L80-L85", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/resolver/Decorator.java", "func_name": "Decorator.unwrap", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "This method is recursive.\n\n@return the underlying delegate instance", "docstring_tokens": ["This", "method", "is", "recursive", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/resolver/Decorator.java#L92-L95", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/MustacheEngineBuilder.java", "func_name": "MustacheEngineBuilder.build", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Builds the engine instance.\n\n@return the built engine", "docstring_tokens": ["Builds", "the", "engine", "instance", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/MustacheEngineBuilder.java#L134-L145", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/MustacheEngineBuilder.java", "func_name": "MustacheEngineBuilder.addTemplateLocator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a template locator.\n\n@param locator\n@return self", "docstring_tokens": ["Adds", "a", "template", "locator", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/MustacheEngineBuilder.java#L170-L175", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/MustacheEngineBuilder.java", "func_name": "MustacheEngineBuilder.addResolver", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a value resolver.\n\n@param resolver\n@return self", "docstring_tokens": ["Adds", "a", "value", "resolver", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/MustacheEngineBuilder.java#L183-L188", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/MustacheEngineBuilder.java", "func_name": "MustacheEngineBuilder.registerCallback", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Callback is useful to configure a component instantiated before the\nengine is built.\n\n@param callback\n@return self", "docstring_tokens": ["Callback", "is", "useful", "to", "configure", "a", "component", "instantiated", "before", "the", "engine", "is", "built", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/MustacheEngineBuilder.java#L254-L260", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/MustacheEngineBuilder.java", "func_name": "MustacheEngineBuilder.addValueConverter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a value converter.\n\n@param converter\n@return self", "docstring_tokens": ["Add", "a", "value", "converter", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/MustacheEngineBuilder.java#L460-L465", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/MustacheEngineBuilder.java", "func_name": "MustacheEngineBuilder.addContextConverter", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add a context converter.\n\n@param converter\n@return self", "docstring_tokens": ["Add", "a", "context", "converter", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/MustacheEngineBuilder.java#L473-L478", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/util/Strings.java", "func_name": "Strings.capitalizeFully", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Capitalizes all the delimiter separated words.\n\n@param text\n@param delimiter\n@return the capitalized input", "docstring_tokens": ["Capitalizes", "all", "the", "delimiter", "separated", "words", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/util/Strings.java#L117-L137", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/handlebars/AbstractHelper.java", "func_name": "AbstractHelper.append", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Escape appended sequence if needed.\n\n@param options\n@param sequence\n@see TextSupport", "docstring_tokens": ["Escape", "appended", "sequence", "if", "needed", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/handlebars/AbstractHelper.java#L64-L76", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/DefaultMustacheEngine.java", "func_name": "DefaultMustacheEngine.buildSourceCache", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Properties of the source cache are dependent on that of the template\ncache.", "docstring_tokens": ["Properties", "of", "the", "source", "cache", "are", "dependent", "on", "that", "of", "the", "template", "cache", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/DefaultMustacheEngine.java#L184-L190", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/parser/DefaultParsingHandler.java", "func_name": "DefaultParsingHandler.push", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Push the container wrapper on the stack.\n\n@param container", "docstring_tokens": ["Push", "the", "container", "wrapper", "on", "the", "stack", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/parser/DefaultParsingHandler.java#L328-L332", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/parser/DefaultParsingHandler.java", "func_name": "DefaultParsingHandler.addSegment", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add the segment to the container on the stack.\n\n@param segment", "docstring_tokens": ["Add", "the", "segment", "to", "the", "container", "on", "the", "stack", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/parser/DefaultParsingHandler.java#L350-L353", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/parser/DefaultParsingHandler.java", "func_name": "DefaultParsingHandler.validate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Validate the compiled template.", "docstring_tokens": ["Validate", "the", "compiled", "template", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/parser/DefaultParsingHandler.java#L358-L369", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/segment/HelperExecutionHandler.java", "func_name": "HelperExecutionHandler.splitHelperName", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Extracts parts from an input string. This implementation is quite naive\nand should be possibly rewritten. Note that we can't use a simple\nsplitter because of string literals may contain whitespace chars.\n\n@param name\n@param segment\n@return the parts of the helper name\n@throws MustacheException\nIf a compilation problem occurs", "docstring_tokens": ["Extracts", "parts", "from", "an", "input", "string", ".", "This", "implementation", "is", "quite", "naive", "and", "should", "be", "possibly", "rewritten", ".", "Note", "that", "we", "can", "t", "use", "a", "simple", "splitter", "because", "of", "string", "literals", "may", "contain", "whitespace", "chars", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/segment/HelperExecutionHandler.java#L167-L214", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/convert/DecoratorConverter.java", "func_name": "DecoratorConverter.decorate", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a decorator converter builder for the specified delegate type.\n\n@param delegateType\n@return a new builder instance", "docstring_tokens": ["Returns", "a", "decorator", "converter", "builder", "for", "the", "specified", "delegate", "type", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/convert/DecoratorConverter.java#L63-L65", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/segment/AsyncAppendable.java", "func_name": "AsyncAppendable.flush", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Append the result to the parent.", "docstring_tokens": ["Append", "the", "result", "to", "the", "parent", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/segment/AsyncAppendable.java#L71-L82", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/resolver/ReflectionResolver.java", "func_name": "ReflectionResolver.findField", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Tries to find a public field with the given name on the given class.\n\n@param clazz\n@param name\n@return the found field or null", "docstring_tokens": ["Tries", "to", "find", "a", "public", "field", "with", "the", "given", "name", "on", "the", "given", "class", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/resolver/ReflectionResolver.java#L312-L326", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/config/ConfigurationExtensions.java", "func_name": "ConfigurationExtensions.registerHelpers", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register helper and do nothing if a helper with the same name is already registered.\n\n@param builder\n@param helpers", "docstring_tokens": ["Register", "helper", "and", "do", "nothing", "if", "a", "helper", "with", "the", "same", "name", "is", "already", "registered", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/config/ConfigurationExtensions.java#L40-L45", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/config/ConfigurationExtensions.java", "func_name": "ConfigurationExtensions.registerHelper", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Register helpers and do nothing if a helper with the same name is already registered.\n\n@param builder\n@param name\n@param helper", "docstring_tokens": ["Register", "helpers", "and", "do", "nothing", "if", "a", "helper", "with", "the", "same", "name", "is", "already", "registered", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/config/ConfigurationExtensions.java#L54-L60", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/engine/segment/Segments.java", "func_name": "Segments.readSegmentLinesBeforeRendering", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Read segment lines before rendering.\n\n@param container\n@return", "docstring_tokens": ["Read", "segment", "lines", "before", "rendering", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/engine/segment/Segments.java#L116-L137", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/handlebars/CacheHelper.java", "func_name": "CacheHelper.invalidateFragments", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Invalidate the cache fragments whose key contains the given part of the\nkey.\n\n@param keyPart", "docstring_tokens": ["Invalidate", "the", "cache", "fragments", "whose", "key", "contains", "the", "given", "part", "of", "the", "key", "."], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/handlebars/CacheHelper.java#L210-L215", "partition": "valid"}
+{"repo": "trimou/trimou", "path": "core/src/main/java/org/trimou/handlebars/i18n/TimeFormatHelper.java", "func_name": "TimeFormatHelper.getFormattableObject", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "should be safe", "docstring_tokens": ["should", "be", "safe"], "sha": "ae45d77d4bd8b2c71b41006908b8a0a784ad9058", "url": "https://github.com/trimou/trimou/blob/ae45d77d4bd8b2c71b41006908b8a0a784ad9058/core/src/main/java/org/trimou/handlebars/i18n/TimeFormatHelper.java#L91-L109", "partition": "valid"}
+{"repo": "seanchenxi/gwt-storage", "path": "src/main/java/com/seanchenxi/gwt/storage/client/StorageExt.java", "func_name": "StorageExt.getLocalStorage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a Local Storage.\n\n@return the localStorage instance, or null if Web Storage is NOT supported.", "docstring_tokens": ["Returns", "a", "Local", "Storage", "."], "sha": "fb2f97991af14d60a7693e0cf8f277fc34e90f7f", "url": "https://github.com/seanchenxi/gwt-storage/blob/fb2f97991af14d60a7693e0cf8f277fc34e90f7f/src/main/java/com/seanchenxi/gwt/storage/client/StorageExt.java#L76-L81", "partition": "valid"}
+{"repo": "seanchenxi/gwt-storage", "path": "src/main/java/com/seanchenxi/gwt/storage/client/StorageExt.java", "func_name": "StorageExt.getSessionStorage", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns a Session Storage.\n\n@return the sessionStorage instance, or null if Web Storage is NOT supported.", "docstring_tokens": ["Returns", "a", "Session", "Storage", "."], "sha": "fb2f97991af14d60a7693e0cf8f277fc34e90f7f", "url": "https://github.com/seanchenxi/gwt-storage/blob/fb2f97991af14d60a7693e0cf8f277fc34e90f7f/src/main/java/com/seanchenxi/gwt/storage/client/StorageExt.java#L88-L93", "partition": "valid"}
+{"repo": "seanchenxi/gwt-storage", "path": "src/main/java/com/seanchenxi/gwt/storage/client/StorageExt.java", "func_name": "StorageExt.clear", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes all items in the Storage, and its cache if activated\n\n@see W3C Web\nStorage - Storage.clear()", "docstring_tokens": ["Removes", "all", "items", "in", "the", "Storage", "and", "its", "cache", "if", "activated"], "sha": "fb2f97991af14d60a7693e0cf8f277fc34e90f7f", "url": "https://github.com/seanchenxi/gwt-storage/blob/fb2f97991af14d60a7693e0cf8f277fc34e90f7f/src/main/java/com/seanchenxi/gwt/storage/client/StorageExt.java#L141-L145", "partition": "valid"}
+{"repo": "seanchenxi/gwt-storage", "path": "src/main/java/com/seanchenxi/gwt/storage/client/StorageExt.java", "func_name": "StorageExt.containsKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Test if this storage contains a value for the specified key.\n\n
\n{@link StorageKeyFactory} is preferred to get a {@link StorageKey} instance for primitive types.\n
\n\n@param key the key whose presence in this storage is to be tested\n@param the type of stored value\n@return true if this storage contains a value for the specified key.", "docstring_tokens": ["Test", "if", "this", "storage", "contains", "a", "value", "for", "the", "specified", "key", "."], "sha": "fb2f97991af14d60a7693e0cf8f277fc34e90f7f", "url": "https://github.com/seanchenxi/gwt-storage/blob/fb2f97991af14d60a7693e0cf8f277fc34e90f7f/src/main/java/com/seanchenxi/gwt/storage/client/StorageExt.java#L165-L167", "partition": "valid"}
+{"repo": "seanchenxi/gwt-storage", "path": "src/main/java/com/seanchenxi/gwt/storage/client/StorageExt.java", "func_name": "StorageExt.put", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Store the specified value with the specified key in this storage.\n\n
\nNote: null value is not allowed. \nIf the storage previously contained a mapping for the key, the old\nvalue is replaced. \n{@link StorageKeyFactory} is preferred to get a {@link StorageKey} instance for primitive types.\n
\n\n@param key key with which the specified value is to be associated\n@param value value to be associated with the specified key\n@throws SerializationException\n@throws StorageQuotaExceededException", "docstring_tokens": ["Store", "the", "specified", "value", "with", "the", "specified", "key", "in", "this", "storage", "."], "sha": "fb2f97991af14d60a7693e0cf8f277fc34e90f7f", "url": "https://github.com/seanchenxi/gwt-storage/blob/fb2f97991af14d60a7693e0cf8f277fc34e90f7f/src/main/java/com/seanchenxi/gwt/storage/client/StorageExt.java#L236-L254", "partition": "valid"}
+{"repo": "seanchenxi/gwt-storage", "path": "src/main/java/com/seanchenxi/gwt/storage/client/StorageExt.java", "func_name": "StorageExt.remove", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes the record for the specified key from this storage if present.\n\n
\n{@link StorageKeyFactory} is preferred to get a {@link StorageKey} instance for primitive types\n
\n\n@param key key whose mapping is to be removed from the map\n@param the type of stored value", "docstring_tokens": ["Removes", "the", "record", "for", "the", "specified", "key", "from", "this", "storage", "if", "present", "."], "sha": "fb2f97991af14d60a7693e0cf8f277fc34e90f7f", "url": "https://github.com/seanchenxi/gwt-storage/blob/fb2f97991af14d60a7693e0cf8f277fc34e90f7f/src/main/java/com/seanchenxi/gwt/storage/client/StorageExt.java#L266-L271", "partition": "valid"}
+{"repo": "seanchenxi/gwt-storage", "path": "src/main/java/com/seanchenxi/gwt/storage/client/StorageKeyFactory.java", "func_name": "StorageKeyFactory.objectKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns non-primitive type value's storage key.\n\n@param keyName name of storage key\n@param type of value\n@return non-primitive type value's storage key\n@deprecated use {@link #isSerializableKey(String)} or {@link #serializableKey(String)} instead", "docstring_tokens": ["Returns", "non", "-", "primitive", "type", "value", "s", "storage", "key", "."], "sha": "fb2f97991af14d60a7693e0cf8f277fc34e90f7f", "url": "https://github.com/seanchenxi/gwt-storage/blob/fb2f97991af14d60a7693e0cf8f277fc34e90f7f/src/main/java/com/seanchenxi/gwt/storage/client/StorageKeyFactory.java#L44-L47", "partition": "valid"}
+{"repo": "seanchenxi/gwt-storage", "path": "src/main/java/com/seanchenxi/gwt/storage/client/StorageKeyFactory.java", "func_name": "StorageKeyFactory.isSerializableKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns IsSerializable type value's storage key.\n\n@param keyName name of storage key\n@param type of value\n@return IsSerializable type value's storage key", "docstring_tokens": ["Returns", "IsSerializable", "type", "value", "s", "storage", "key", "."], "sha": "fb2f97991af14d60a7693e0cf8f277fc34e90f7f", "url": "https://github.com/seanchenxi/gwt-storage/blob/fb2f97991af14d60a7693e0cf8f277fc34e90f7f/src/main/java/com/seanchenxi/gwt/storage/client/StorageKeyFactory.java#L56-L58", "partition": "valid"}
+{"repo": "seanchenxi/gwt-storage", "path": "src/main/java/com/seanchenxi/gwt/storage/client/StorageKeyFactory.java", "func_name": "StorageKeyFactory.serializableKey", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns Serializable type value's storage key.\n\n@param keyName name of storage key\n@param type of value\n@return Serializable type value's storage key", "docstring_tokens": ["Returns", "Serializable", "type", "value", "s", "storage", "key", "."], "sha": "fb2f97991af14d60a7693e0cf8f277fc34e90f7f", "url": "https://github.com/seanchenxi/gwt-storage/blob/fb2f97991af14d60a7693e0cf8f277fc34e90f7f/src/main/java/com/seanchenxi/gwt/storage/client/StorageKeyFactory.java#L67-L69", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.obtainSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the floating action button's size from a specific typed array.\n\n@param typedArray\nThe typed array, the color should be obtained from, as an instance of the class\n{@link TypedArray}. The typed array may not be null", "docstring_tokens": ["Obtains", "the", "floating", "action", "button", "s", "size", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L224-L228", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.obtainColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the floating action button's color from a specific typed array.\n\n@param typedArray\nThe typed array, the color should be obtained from, as an instance of the class\n{@link TypedArray}. The typed array may not be null", "docstring_tokens": ["Obtains", "the", "floating", "action", "button", "s", "color", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L237-L240", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.obtainActivatedColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the floating action button's activated color from a specific typed array.\n\n@param typedArray\nThe typed array, the activated color should be obtained from, as an instance of the\nclass {@link TypedArray}. The typed array may not be null", "docstring_tokens": ["Obtains", "the", "floating", "action", "button", "s", "activated", "color", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L249-L253", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.obtainPressedColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the floating action button's pressed color from a specific typed array.\n\n@param typedArray\nThe typed array, the pressed color should be obtained from, as an instance of the\nclass {@link TypedArray}. The typed array may not be null", "docstring_tokens": ["Obtains", "the", "floating", "action", "button", "s", "pressed", "color", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L262-L266", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.obtainDisabledColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the floating action button's disabled color from a specific typed array.\n\n@param typedArray\nThe typed array, the disabled color should be obtained from, as an instance of the\nclass {@link TypedArray}. The typed array may not be null", "docstring_tokens": ["Obtains", "the", "floating", "action", "button", "s", "disabled", "color", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L275-L280", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.obtainIcon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the floating action button's icon from a specific typed array.\n\n@param typedArray\nThe typed array, the ripple color should be obtained from, as an instance of the\nclass {@link TypedArray}. The typed array may not be null", "docstring_tokens": ["Obtains", "the", "floating", "action", "button", "s", "icon", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L289-L292", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.obtainVisibilityAnimationDuration", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the duration of the animation, which may be used to changed the visibility of the\nfloating action button, from a specific typed array.\n\n@param typedArray\nThe typed array, the animation duration should be obtained from, as an instance of\nthe class {@link TypedArray}. The typed array may not be null", "docstring_tokens": ["Obtains", "the", "duration", "of", "the", "animation", "which", "may", "be", "used", "to", "changed", "the", "visibility", "of", "the", "floating", "action", "button", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L302-L309", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.adaptShadow", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adapts the shadow of the floating action button, depending on its size.", "docstring_tokens": ["Adapts", "the", "shadow", "of", "the", "floating", "action", "button", "depending", "on", "its", "size", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L314-L322", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.adaptImageButtonSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adapts the size of the image button, which is used to show the floating image button's\nbackground and icon, depending on the floating button's size.", "docstring_tokens": ["Adapts", "the", "size", "of", "the", "image", "button", "which", "is", "used", "to", "show", "the", "floating", "image", "button", "s", "background", "and", "icon", "depending", "on", "the", "floating", "button", "s", "size", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L328-L335", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.adaptImageButtonBackground", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adapts the background of the image button, which is used to show the floating image button's\nbackground and icon, depending on the floating button's colors.", "docstring_tokens": ["Adapts", "the", "background", "of", "the", "image", "button", "which", "is", "used", "to", "show", "the", "floating", "image", "button", "s", "background", "and", "icon", "depending", "on", "the", "floating", "button", "s", "colors", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L341-L353", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.createStateListBackgroundDrawable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and returns a state list drawable, which can be used as the floating action button\nbackground and adapts the background color depending on the button's current state.\n\n@return The drawable, which has been created, as an instance of the class {@link Drawable}", "docstring_tokens": ["Creates", "and", "returns", "a", "state", "list", "drawable", "which", "can", "be", "used", "as", "the", "floating", "action", "button", "background", "and", "adapts", "the", "background", "color", "depending", "on", "the", "button", "s", "current", "state", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L361-L375", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.createActivatedBackgroundDrawable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and returns a drawable, which can be used as the floating action button's background,\nwhen it is activated.\n\n@return The drawable, which has been created, as an instance of the class {@link Drawable}", "docstring_tokens": ["Creates", "and", "returns", "a", "drawable", "which", "can", "be", "used", "as", "the", "floating", "action", "button", "s", "background", "when", "it", "is", "activated", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L383-L387", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.createPressedBackgroundDrawable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and returns a drawable, which can be used as the floating action button's background,\nwhen it is pressed.\n\n@return The drawable, which has been created, as an instance of the class {@link Drawable}", "docstring_tokens": ["Creates", "and", "returns", "a", "drawable", "which", "can", "be", "used", "as", "the", "floating", "action", "button", "s", "background", "when", "it", "is", "pressed", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L395-L399", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.createDisabledBackgroundDrawable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and returns a drawable, which can be used as the floating action button's background,\nwhen it is disabled.\n\n@return The drawable, which has been created, as an instance of the class {@link Drawable}", "docstring_tokens": ["Creates", "and", "returns", "a", "drawable", "which", "can", "be", "used", "as", "the", "floating", "action", "button", "s", "background", "when", "it", "is", "disabled", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L407-L411", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.createBackgroundDrawable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and returns a drawable with a specific color, which can be used as the floating\naction button's background.\n\n@param color\nThe color of the background as an {@link Integer} value\n@return The drawable, which has been created, as an instance of the class {@link Drawable}", "docstring_tokens": ["Creates", "and", "returns", "a", "drawable", "with", "a", "specific", "color", "which", "can", "be", "used", "as", "the", "floating", "action", "button", "s", "background", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L421-L426", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.getPixelSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Returns the size of the floating action button in pixels, depending on its current size.\n\n@return The size of the floating action button in pixels as an {@link Integer} value", "docstring_tokens": ["Returns", "the", "size", "of", "the", "floating", "action", "button", "in", "pixels", "depending", "on", "its", "current", "size", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L433-L441", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.animateVisibility", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Animates changing the visibility of the floating action button.\n\n@param visibility\nThe visibility, which should be set, as an {@link Integer} value. The visibility may\nbe View.VISIBLE, View.INVISIBLE or View.GONE\n@param duration\nThe duration of the animation in milliseconds as a {@link Long} value", "docstring_tokens": ["Animates", "changing", "the", "visibility", "of", "the", "floating", "action", "button", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L476-L488", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.createVisibilityAnimatorListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and returns a listener, which allows to adapt the visibility of the floating action\nbutton, depending on the progress of an animation, which is used to change the visibility.\n\n@param visibility\nThe visibility, which is set by the observed animation, as an {@link Integer} value.\nThe visibility may be View.VISIBLE, View.INVISIBLE or\nView.GONE\n@return The listener, which has been created, as an instance of the type {@link\nAnimatorListener}", "docstring_tokens": ["Creates", "and", "returns", "a", "listener", "which", "allows", "to", "adapt", "the", "visibility", "of", "the", "floating", "action", "button", "depending", "on", "the", "progress", "of", "an", "animation", "which", "is", "used", "to", "change", "the", "visibility", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L501-L528", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/FloatingActionButton.java", "func_name": "FloatingActionButton.setSize", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the floating action button's size.\n\n@param size\nThe size, which should be set, as a value of the enum {@link Size}. The size must\neither be NORMAL or SMALL", "docstring_tokens": ["Sets", "the", "floating", "action", "button", "s", "size", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/FloatingActionButton.java#L625-L631", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/CircularProgressBar.java", "func_name": "CircularProgressBar.obtainThickness", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the progress bar's thickness from a specific typed array.\n\n@param typedArray\nThe typed array, the thickness should be obtained from, as an instance of the class\n{@link TypedArray}. The typed array may not be null", "docstring_tokens": ["Obtains", "the", "progress", "bar", "s", "thickness", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/CircularProgressBar.java#L108-L114", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/drawable/CircularProgressDrawable.java", "func_name": "CircularProgressDrawable.initializePaint", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes the paint, which is used for drawing.", "docstring_tokens": ["Initializes", "the", "paint", "which", "is", "used", "for", "drawing", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/drawable/CircularProgressDrawable.java#L119-L125", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/drawable/CircularProgressDrawable.java", "func_name": "CircularProgressDrawable.initializeAngleAnimator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes the angle animator.", "docstring_tokens": ["Initializes", "the", "angle", "animator", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/drawable/CircularProgressDrawable.java#L138-L144", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/drawable/CircularProgressDrawable.java", "func_name": "CircularProgressDrawable.createAngleProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and returns a property, which allows to animate the global angle of the progress\ndrawable.\n\n@return The property, which has been created, as an instance of the class {@link Property}", "docstring_tokens": ["Creates", "and", "returns", "a", "property", "which", "allows", "to", "animate", "the", "global", "angle", "of", "the", "progress", "drawable", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/drawable/CircularProgressDrawable.java#L152-L167", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/drawable/CircularProgressDrawable.java", "func_name": "CircularProgressDrawable.initializeSweepAnimator", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes the sweep animator.", "docstring_tokens": ["Initializes", "the", "sweep", "animator", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/drawable/CircularProgressDrawable.java#L172-L180", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/drawable/CircularProgressDrawable.java", "func_name": "CircularProgressDrawable.createSweepProperty", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and returns a property, which allows to animate the sweep angle of the progress\ndrawable.\n\n@return The property, which has been created, as an instance of the class {@link Property}", "docstring_tokens": ["Creates", "and", "returns", "a", "property", "which", "allows", "to", "animate", "the", "sweep", "angle", "of", "the", "progress", "drawable", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/drawable/CircularProgressDrawable.java#L188-L203", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/drawable/CircularProgressDrawable.java", "func_name": "CircularProgressDrawable.createSweepAnimatorListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and returns a listener, which allows to restart the progress drawable's animation,\nwhen it has been finished.\n\n@return The listener, which has been created, as an instance of the type {@link\nAnimatorListener}", "docstring_tokens": ["Creates", "and", "returns", "a", "listener", "which", "allows", "to", "restart", "the", "progress", "drawable", "s", "animation", "when", "it", "has", "been", "finished", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/drawable/CircularProgressDrawable.java#L212-L241", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "example/src/main/java/de/mrapp/android/view/example/MainActivity.java", "func_name": "MainActivity.initializeFloatingActionButtons", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes the floating action buttons.", "docstring_tokens": ["Initializes", "the", "floating", "action", "buttons", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/example/src/main/java/de/mrapp/android/view/example/MainActivity.java#L65-L72", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "example/src/main/java/de/mrapp/android/view/example/MainActivity.java", "func_name": "MainActivity.createFloatingActionButtonListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and returns a listener, which allows to show a toast when a floating action button\nhas been clicked.\n\n@return The listener, which has been created, as an instance of the type {@link\nOnClickListener}", "docstring_tokens": ["Creates", "and", "returns", "a", "listener", "which", "allows", "to", "show", "a", "toast", "when", "a", "floating", "action", "button", "has", "been", "clicked", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/example/src/main/java/de/mrapp/android/view/example/MainActivity.java#L81-L93", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "example/src/main/java/de/mrapp/android/view/example/MainActivity.java", "func_name": "MainActivity.initializeHideFloatingActionButtonsButton", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes the button, which allows to show or hide the floating action buttons.", "docstring_tokens": ["Initializes", "the", "button", "which", "allows", "to", "show", "or", "hide", "the", "floating", "action", "buttons", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/example/src/main/java/de/mrapp/android/view/example/MainActivity.java#L98-L101", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "example/src/main/java/de/mrapp/android/view/example/MainActivity.java", "func_name": "MainActivity.createHideFloatingActionButtonsListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and returns a listener, which allows to show or hide the floating action buttons.\n\n@return The listener, which has been created, as an instance of the type {@link\nOnClickListener}", "docstring_tokens": ["Creates", "and", "returns", "a", "listener", "which", "allows", "to", "show", "or", "hide", "the", "floating", "action", "buttons", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/example/src/main/java/de/mrapp/android/view/example/MainActivity.java#L109-L122", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "example/src/main/java/de/mrapp/android/view/example/MainActivity.java", "func_name": "MainActivity.initializeChips", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Initializes all closable chips.", "docstring_tokens": ["Initializes", "all", "closable", "chips", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/example/src/main/java/de/mrapp/android/view/example/MainActivity.java#L127-L136", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "example/src/main/java/de/mrapp/android/view/example/MainActivity.java", "func_name": "MainActivity.createChipCloseListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Creates and returns a listener, which allows to show a toast, when a chip has been closed.\n\n@return The listener, which has been created, as an instance of the type {@link\nChip.CloseListener}", "docstring_tokens": ["Creates", "and", "returns", "a", "listener", "which", "allows", "to", "show", "a", "toast", "when", "a", "chip", "has", "been", "closed", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/example/src/main/java/de/mrapp/android/view/example/MainActivity.java#L144-L155", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "example/src/main/java/de/mrapp/android/view/example/MainActivity.java", "func_name": "MainActivity.handleSavedInstanceState", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adapts the activity's views depending on the saved instance state, which has been passed to\nthe activity.\n\n@param savedInstanceState\nThe saved instance state as an instance of the class {@link Bundle} or null, if no\nsaved instance state is available", "docstring_tokens": ["Adapts", "the", "activity", "s", "views", "depending", "on", "the", "saved", "instance", "state", "which", "has", "been", "passed", "to", "the", "activity", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/example/src/main/java/de/mrapp/android/view/example/MainActivity.java#L165-L174", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/Chip.java", "func_name": "Chip.obtainText", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the chip's text from a specific typed array.\n\n@param typedArray\nThe typed array, the text should be obtained from, as an instance of the class {@link\nTypedArray}. The typed array may not be null", "docstring_tokens": ["Obtains", "the", "chip", "s", "text", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/Chip.java#L181-L183", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/Chip.java", "func_name": "Chip.obtainTextColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the chip's text color from a specific typed array.\n\n@param typedArray\nThe typed array, the text color should be obtained from, as an instance of the class\n{@link TypedArray}. The typed array may not be null", "docstring_tokens": ["Obtains", "the", "chip", "s", "text", "color", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/Chip.java#L192-L195", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/Chip.java", "func_name": "Chip.obtainColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the chip's color from a specific typed array.\n\n@param typedArray\nThe typed array, the color should be obtained from, as an instance of the class\n{@link TypedArray}. The typed array may not be null", "docstring_tokens": ["Obtains", "the", "chip", "s", "color", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/Chip.java#L204-L207", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/Chip.java", "func_name": "Chip.obtainIcon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the chip's icon from a specific typed array.\n\n@param typedArray\nThe typed array, the icon should be obtained from, as an instance of the class {@link\nTypedArray}. The typed array may not be null", "docstring_tokens": ["Obtains", "the", "chip", "s", "icon", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/Chip.java#L216-L218", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/Chip.java", "func_name": "Chip.obtainClosable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains, whether the chip should be closable, or not, from a specific typed array.\n\n@param typedArray\nThe typed array, which should be used to obtain, whether the chip should be closable,\nor not, as an instance of the class {@link TypedArray}. The typed array may not be\nnull", "docstring_tokens": ["Obtains", "whether", "the", "chip", "should", "be", "closable", "or", "not", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/Chip.java#L228-L230", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/Chip.java", "func_name": "Chip.obtainCloseIcon", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Obtains the icon of the button, which allows to close the chip, from a specific typed array.\n\n@param typedArray\nThe typed array, which should be used to obtain the icon of the button, which allows\nto close the chip, as an instance of the class {@link TypedArray}. The typed array\nmay not be null", "docstring_tokens": ["Obtains", "the", "icon", "of", "the", "button", "which", "allows", "to", "close", "the", "chip", "from", "a", "specific", "typed", "array", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/Chip.java#L240-L246", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/Chip.java", "func_name": "Chip.addCloseListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Adds a new listener, which should be notified, when the chip has been closed.\n\n@param listener\nThe listener, which should be added, as an instance of the type {@link\nCloseListener}. The listener may not be null", "docstring_tokens": ["Adds", "a", "new", "listener", "which", "should", "be", "notified", "when", "the", "chip", "has", "been", "closed", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/Chip.java#L336-L339", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/Chip.java", "func_name": "Chip.removeCloseListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Removes a specific listener, which should not be notified, when the chip has been closed,\nanymore.\n\n@param listener\nThe listener, which should be removed, as an instance of the type {@link\nCloseListener}. The listener may not be null", "docstring_tokens": ["Removes", "a", "specific", "listener", "which", "should", "not", "be", "notified", "when", "the", "chip", "has", "been", "closed", "anymore", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/Chip.java#L349-L352", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/Chip.java", "func_name": "Chip.setColor", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets the chip's color.\n\n@param color\nThe color, which should be set, as an {@link Integer} value", "docstring_tokens": ["Sets", "the", "chip", "s", "color", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/Chip.java#L422-L425", "partition": "valid"}
+{"repo": "michael-rapp/AndroidMaterialViews", "path": "library/src/main/java/de/mrapp/android/view/Chip.java", "func_name": "Chip.setClosable", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Sets, whether the chip is closable, or not.\n\n@param closable\nTrue, if the chip should be closable, false otherwise", "docstring_tokens": ["Sets", "whether", "the", "chip", "is", "closable", "or", "not", "."], "sha": "398421be462fe5793c7e3a9212949e06236a7c2f", "url": "https://github.com/michael-rapp/AndroidMaterialViews/blob/398421be462fe5793c7e3a9212949e06236a7c2f/library/src/main/java/de/mrapp/android/view/Chip.java#L507-L520", "partition": "valid"}
+{"repo": "mjeanroy/springmvc-mustache", "path": "src/main/java/com/github/mjeanroy/springmvc/view/mustache/core/ModelAndMustacheView.java", "func_name": "ModelAndMustacheView.getPartials", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get current partials stored in view.\n\n@return Current partials.", "docstring_tokens": ["Get", "current", "partials", "stored", "in", "view", "."], "sha": "367004e7a99082984bfefb85c1b9c32e6392d3ed", "url": "https://github.com/mjeanroy/springmvc-mustache/blob/367004e7a99082984bfefb85c1b9c32e6392d3ed/src/main/java/com/github/mjeanroy/springmvc/view/mustache/core/ModelAndMustacheView.java#L129-L152", "partition": "valid"}
+{"repo": "mjeanroy/springmvc-mustache", "path": "src/main/java/com/github/mjeanroy/springmvc/view/mustache/commons/NashornUtils.java", "func_name": "NashornUtils.getEngine", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get new nashorn engine.\n\n@param scripts List of scripts to evaluate.\n@return Nashorn Engine.", "docstring_tokens": ["Get", "new", "nashorn", "engine", "."], "sha": "367004e7a99082984bfefb85c1b9c32e6392d3ed", "url": "https://github.com/mjeanroy/springmvc-mustache/blob/367004e7a99082984bfefb85c1b9c32e6392d3ed/src/main/java/com/github/mjeanroy/springmvc/view/mustache/commons/NashornUtils.java#L59-L67", "partition": "valid"}
+{"repo": "mjeanroy/springmvc-mustache", "path": "src/main/java/com/github/mjeanroy/springmvc/view/mustache/configuration/MustacheWebConfiguration.java", "func_name": "MustacheWebConfiguration.getLayoutMappings", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get mappings to use with resolvers.\n\n@return Layouts mappings", "docstring_tokens": ["Get", "mappings", "to", "use", "with", "resolvers", "."], "sha": "367004e7a99082984bfefb85c1b9c32e6392d3ed", "url": "https://github.com/mjeanroy/springmvc-mustache/blob/367004e7a99082984bfefb85c1b9c32e6392d3ed/src/main/java/com/github/mjeanroy/springmvc/view/mustache/configuration/MustacheWebConfiguration.java#L195-L221", "partition": "valid"}
+{"repo": "mjeanroy/springmvc-mustache", "path": "src/main/java/com/github/mjeanroy/springmvc/view/mustache/commons/ClassUtils.java", "func_name": "ClassUtils.isPresent", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Check that a given class is available on\nclasspath.\n\n@param klass Class name.\n@return True if class is available, false otherwise.", "docstring_tokens": ["Check", "that", "a", "given", "class", "is", "available", "on", "classpath", "."], "sha": "367004e7a99082984bfefb85c1b9c32e6392d3ed", "url": "https://github.com/mjeanroy/springmvc-mustache/blob/367004e7a99082984bfefb85c1b9c32e6392d3ed/src/main/java/com/github/mjeanroy/springmvc/view/mustache/commons/ClassUtils.java#L48-L57", "partition": "valid"}
+{"repo": "mjeanroy/springmvc-mustache", "path": "src/main/java/com/github/mjeanroy/springmvc/view/mustache/commons/ClassUtils.java", "func_name": "ClassUtils.getAnnotationValue", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Get annotation method value.\n\n@param importingClassMetadata Metadata.\n@param annotationClass Annotation class to look for.\n@param name Name of method.\n@param defaultValue Default value if original value is null.\n@param Type of returned value.\n@return Annotation value, or default value if original value is null.", "docstring_tokens": ["Get", "annotation", "method", "value", "."], "sha": "367004e7a99082984bfefb85c1b9c32e6392d3ed", "url": "https://github.com/mjeanroy/springmvc-mustache/blob/367004e7a99082984bfefb85c1b9c32e6392d3ed/src/main/java/com/github/mjeanroy/springmvc/view/mustache/commons/ClassUtils.java#L69-L73", "partition": "valid"}
+{"repo": "mjeanroy/springmvc-mustache", "path": "src/main/java/com/github/mjeanroy/springmvc/view/mustache/commons/IOUtils.java", "func_name": "IOUtils.getStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return an input stream from given name.\nName is searched into the classpath.\nName can contains ant style pattern.\n\n@param name Name.\n@return Input Stream.", "docstring_tokens": ["Return", "an", "input", "stream", "from", "given", "name", ".", "Name", "is", "searched", "into", "the", "classpath", ".", "Name", "can", "contains", "ant", "style", "pattern", "."], "sha": "367004e7a99082984bfefb85c1b9c32e6392d3ed", "url": "https://github.com/mjeanroy/springmvc-mustache/blob/367004e7a99082984bfefb85c1b9c32e6392d3ed/src/main/java/com/github/mjeanroy/springmvc/view/mustache/commons/IOUtils.java#L108-L118", "partition": "valid"}
+{"repo": "mjeanroy/springmvc-mustache", "path": "src/main/java/com/github/mjeanroy/springmvc/view/mustache/commons/IOUtils.java", "func_name": "IOUtils.getFirstAvailableStream", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Return an input stream from given names.\nFirst result returning a valid stream is returned.\nNames are searched into the classpath.\nNames can contains ant style pattern.\n\n@param names Names collection.\n@return Input Stream.\n@throws MustacheIOException If everything fail.", "docstring_tokens": ["Return", "an", "input", "stream", "from", "given", "names", ".", "First", "result", "returning", "a", "valid", "stream", "is", "returned", ".", "Names", "are", "searched", "into", "the", "classpath", ".", "Names", "can", "contains", "ant", "style", "pattern", "."], "sha": "367004e7a99082984bfefb85c1b9c32e6392d3ed", "url": "https://github.com/mjeanroy/springmvc-mustache/blob/367004e7a99082984bfefb85c1b9c32e6392d3ed/src/main/java/com/github/mjeanroy/springmvc/view/mustache/commons/IOUtils.java#L130-L145", "partition": "valid"}
+{"repo": "mjeanroy/springmvc-mustache", "path": "src/main/java/com/github/mjeanroy/springmvc/view/mustache/nashorn/MustacheEngine.java", "func_name": "MustacheEngine.render", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Render template with given model object.\n\n@param template Template.\n@param model Model object.\n@return Rendered template.", "docstring_tokens": ["Render", "template", "with", "given", "model", "object", "."], "sha": "367004e7a99082984bfefb85c1b9c32e6392d3ed", "url": "https://github.com/mjeanroy/springmvc-mustache/blob/367004e7a99082984bfefb85c1b9c32e6392d3ed/src/main/java/com/github/mjeanroy/springmvc/view/mustache/nashorn/MustacheEngine.java#L128-L139", "partition": "valid"}
+{"repo": "mjeanroy/springmvc-mustache", "path": "src/main/java/com/github/mjeanroy/springmvc/view/mustache/MustacheView.java", "func_name": "MustacheView.addAliases", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add partials mapping.\n\n@param aliases New aliases.", "docstring_tokens": ["Add", "partials", "mapping", "."], "sha": "367004e7a99082984bfefb85c1b9c32e6392d3ed", "url": "https://github.com/mjeanroy/springmvc-mustache/blob/367004e7a99082984bfefb85c1b9c32e6392d3ed/src/main/java/com/github/mjeanroy/springmvc/view/mustache/MustacheView.java#L90-L95", "partition": "valid"}
+{"repo": "mjeanroy/springmvc-mustache", "path": "src/main/java/com/github/mjeanroy/springmvc/view/mustache/MustacheView.java", "func_name": "MustacheView.addAlias", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Add alias mapping.\n\n@param key Partial key.\n@param value Partial name.", "docstring_tokens": ["Add", "alias", "mapping", "."], "sha": "367004e7a99082984bfefb85c1b9c32e6392d3ed", "url": "https://github.com/mjeanroy/springmvc-mustache/blob/367004e7a99082984bfefb85c1b9c32e6392d3ed/src/main/java/com/github/mjeanroy/springmvc/view/mustache/MustacheView.java#L103-L108", "partition": "valid"}
+{"repo": "RedMadRobot/Chronos", "path": "chronos/src/main/java/com/redmadrobot/chronos/ChronosListenerManager.java", "func_name": "ChronosListenerManager.getListener", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Gets previously created ServiceConnector by its id.\n\n@param id an id of the saved ServiceConnector\n@return a restored ServiceConnector, or a new one, if there is no saved instance with a given\nid\n@see {@link ChronosListener#getId()}\n@see #createListener()", "docstring_tokens": ["Gets", "previously", "created", "ServiceConnector", "by", "its", "id", "."], "sha": "cf7fbcf6072b3508c45b253b79f19ed81304a76e", "url": "https://github.com/RedMadRobot/Chronos/blob/cf7fbcf6072b3508c45b253b79f19ed81304a76e/chronos/src/main/java/com/redmadrobot/chronos/ChronosListenerManager.java#L60-L68", "partition": "valid"}
+{"repo": "RedMadRobot/Chronos", "path": "chronos/src/main/java/com/redmadrobot/chronos/Chronos.java", "func_name": "Chronos.run", "original_string": "", "language": "java", "code": "", "code_tokens": [], "docstring": "Runs operation synchronously.\n\n@param operation Operation to be executed.\n@param